@meetelise/chat 1.20.11 → 1.20.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/public/dist/index.js +48 -48
- package/src/WebComponent/me-chat.ts +13 -1
package/public/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*! For license information please see index.js.LICENSE.txt */
|
|
2
|
-
var e={8005:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.ActionConsumerApiControllerApi=void 0;var s=n(296),u=n(4584),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.cancelRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.cancelActionDto||void 0===e.cancelActionDto)throw new s.RequiredError("cancelActionDto","Required parameter requestParameters.cancelActionDto was null or undefined when calling cancel.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/actions/cancel",method:"POST",headers:i,query:n,body:u.CancelActionDtoToJSON(e.cancelActionDto)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.cancel=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.cancelRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.createNoShowActionRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.noShowActionDto||void 0===e.noShowActionDto)throw new s.RequiredError("noShowActionDto","Required parameter requestParameters.noShowActionDto was null or undefined when calling createNoShowAction.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/actions/noShow",method:"POST",headers:i,query:n,body:u.NoShowActionDtoToJSON(e.noShowActionDto)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.createNoShowAction=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.createNoShowActionRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.createRescheduleConfirmedActionRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.rescheduleConfirmedDto||void 0===e.rescheduleConfirmedDto)throw new s.RequiredError("rescheduleConfirmedDto","Required parameter requestParameters.rescheduleConfirmedDto was null or undefined when calling createRescheduleConfirmedAction.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/actions/rescheduleConfirmed",method:"POST",headers:i,query:n,body:u.RescheduleConfirmedDtoToJSON(e.rescheduleConfirmedDto)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.createRescheduleConfirmedAction=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.createRescheduleConfirmedActionRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.createRescheduleProposedActionRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.rescheduleProposedDto||void 0===e.rescheduleProposedDto)throw new s.RequiredError("rescheduleProposedDto","Required parameter requestParameters.rescheduleProposedDto was null or undefined when calling createRescheduleProposedAction.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/actions/rescheduleProposed",method:"POST",headers:i,query:n,body:u.RescheduleProposedDtoToJSON(e.rescheduleProposedDto)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.createRescheduleProposedAction=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.createRescheduleProposedActionRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.createShowActionRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.showActionDto||void 0===e.showActionDto)throw new s.RequiredError("showActionDto","Required parameter requestParameters.showActionDto was null or undefined when calling createShowAction.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/actions/show",method:"POST",headers:i,query:n,body:u.ShowActionDtoToJSON(e.showActionDto)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.createShowAction=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.createShowActionRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.scheduleActionRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.scheduleDto||void 0===e.scheduleDto)throw new s.RequiredError("scheduleDto","Required parameter requestParameters.scheduleDto was null or undefined when calling scheduleAction.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/actions/schedule",method:"POST",headers:i,query:n,body:u.ScheduleDtoToJSON(e.scheduleDto)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.scheduleAction=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.scheduleActionRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.sendAgentMessageRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.sendAgentMessageDto||void 0===e.sendAgentMessageDto)throw new s.RequiredError("sendAgentMessageDto","Required parameter requestParameters.sendAgentMessageDto was null or undefined when calling sendAgentMessage.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/actions/sendAgentMessage",method:"POST",headers:i,query:n,body:u.SendAgentMessageDtoToJSON(e.sendAgentMessageDto)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.sendAgentMessage=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.sendAgentMessageRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.updateAgentOnContextRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.contextId||void 0===e.contextId)throw new s.RequiredError("contextId","Required parameter requestParameters.contextId was null or undefined when calling updateAgentOnContext.");if(null===e.leasingAgentId||void 0===e.leasingAgentId)throw new s.RequiredError("leasingAgentId","Required parameter requestParameters.leasingAgentId was null or undefined when calling updateAgentOnContext.");return n={},i={},[4,this.request({path:"/api/v1/actions/updateAgentOnContext/{contextId}/{leasingAgentId}".replace("{contextId}",encodeURIComponent(String(e.contextId))).replace("{leasingAgentId}",encodeURIComponent(String(e.leasingAgentId))),method:"POST",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.updateAgentOnContext=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.updateAgentOnContextRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.walkInAndShowCreateRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.walkInAndShowActionDto||void 0===e.walkInAndShowActionDto)throw new s.RequiredError("walkInAndShowActionDto","Required parameter requestParameters.walkInAndShowActionDto was null or undefined when calling walkInAndShowCreate.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/actions/walkInAndShow",method:"POST",headers:i,query:n,body:u.WalkInAndShowActionDtoToJSON(e.walkInAndShowActionDto)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.walkInAndShowCreate=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.walkInAndShowCreateRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.walkInOrCallCreateRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.walkInOrCallActionDto||void 0===e.walkInOrCallActionDto)throw new s.RequiredError("walkInOrCallActionDto","Required parameter requestParameters.walkInOrCallActionDto was null or undefined when calling walkInOrCallCreate.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/actions/walkInOrCall",method:"POST",headers:i,query:n,body:u.WalkInOrCallActionDtoToJSON(e.walkInOrCallActionDto)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.walkInOrCallCreate=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.walkInOrCallCreateRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t}(s.BaseAPI);t.ActionConsumerApiControllerApi=l},2497:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.AlertQueueControllerApi=void 0;var s=n(296),u=n(4584),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.allForBuildingRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.buildingId||void 0===e.buildingId)throw new s.RequiredError("buildingId","Required parameter requestParameters.buildingId was null or undefined when calling allForBuilding.");return n={},i={},[4,this.request({path:"/api/v1/alerts/{buildingId}".replace("{buildingId}",encodeURIComponent(String(e.buildingId))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return e.map(u.AlertQueueInfoFromJSON)}))]}}))}))},t.prototype.allForBuilding=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.allForBuildingRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.emailsForContextRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.contextId||void 0===e.contextId)throw new s.RequiredError("contextId","Required parameter requestParameters.contextId was null or undefined when calling emailsForContext.");return n={},i={},[4,this.request({path:"/api/v1/alerts/{contextId}/emails/".replace("{contextId}",encodeURIComponent(String(e.contextId))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return e.map(u.AlertQueueMessageFromJSON)}))]}}))}))},t.prototype.emailsForContext=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.emailsForContextRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.textsForContextRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.contextId||void 0===e.contextId)throw new s.RequiredError("contextId","Required parameter requestParameters.contextId was null or undefined when calling textsForContext.");return n={},i={},[4,this.request({path:"/api/v1/alerts/{contextId}/texts/".replace("{contextId}",encodeURIComponent(String(e.contextId))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return e.map(u.AlertQueueMessageFromJSON)}))]}}))}))},t.prototype.textsForContext=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.textsForContextRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t}(s.BaseAPI);t.AlertQueueControllerApi=l},8730:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.BuildingControllerApi=void 0;var s=n(296),u=n(4584),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.create2Raw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.communityFormView||void 0===e.communityFormView)throw new s.RequiredError("communityFormView","Required parameter requestParameters.communityFormView was null or undefined when calling create2.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/building/",method:"POST",headers:i,query:n,body:u.CommunityFormViewToJSON(e.communityFormView)},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.UiBuildingDetailsFromJSON(e)}))]}}))}))},t.prototype.create2=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.create2Raw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.deleteAvatarRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling deleteAvatar.");return n={},i={},[4,this.request({path:"/api/v1/building/{id}/avatar".replace("{id}",encodeURIComponent(String(e.id))),method:"DELETE",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.VoidApiResponse(r)]}}))}))},t.prototype.deleteAvatar=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.deleteAvatarRaw(e,t)];case 1:return n.sent(),[2]}}))}))},t.prototype.deleteLogoRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling deleteLogo.");return n={},i={},[4,this.request({path:"/api/v1/building/{id}/logo".replace("{id}",encodeURIComponent(String(e.id))),method:"DELETE",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.VoidApiResponse(r)]}}))}))},t.prototype.deleteLogo=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.deleteLogoRaw(e,t)];case 1:return n.sent(),[2]}}))}))},t.prototype.get4Raw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling get4.");return n={},i={},[4,this.request({path:"/api/v1/building/{id}".replace("{id}",encodeURIComponent(String(e.id))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.UiBuildingDetailsFromJSON(e)}))]}}))}))},t.prototype.get4=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.get4Raw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getActiveBuildingsMapRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.requestBody||void 0===e.requestBody)throw new s.RequiredError("requestBody","Required parameter requestParameters.requestBody was null or undefined when calling getActiveBuildingsMap.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/building/buildingStatuses",method:"POST",headers:i,query:n,body:e.requestBody},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r)]}}))}))},t.prototype.getActiveBuildingsMap=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getActiveBuildingsMapRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getAll1Raw=function(e){return o(this,void 0,void 0,(function(){var t,n,i;return a(this,(function(r){switch(r.label){case 0:return t={},n={},[4,this.request({path:"/api/v1/building/",method:"GET",headers:n,query:t},e)];case 1:return i=r.sent(),[2,new s.JSONApiResponse(i,(function(e){return e.map(u.CommunityPageBuildingFromJSON)}))]}}))}))},t.prototype.getAll1=function(e){return o(this,void 0,void 0,(function(){return a(this,(function(t){switch(t.label){case 0:return[4,this.getAll1Raw(e)];case 1:return[4,t.sent().value()];case 2:return[2,t.sent()]}}))}))},t.prototype.getBuildingAiAgentNameMapRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.requestBody||void 0===e.requestBody)throw new s.RequiredError("requestBody","Required parameter requestParameters.requestBody was null or undefined when calling getBuildingAiAgentNameMap.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/building/buildingAiAgents",method:"POST",headers:i,query:n,body:e.requestBody},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r)]}}))}))},t.prototype.getBuildingAiAgentNameMap=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getBuildingAiAgentNameMapRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getBuildingNameMapRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.requestBody||void 0===e.requestBody)throw new s.RequiredError("requestBody","Required parameter requestParameters.requestBody was null or undefined when calling getBuildingNameMap.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/building/buildingNames",method:"POST",headers:i,query:n,body:e.requestBody},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r)]}}))}))},t.prototype.getBuildingNameMap=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getBuildingNameMapRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getBuildingTimezoneMapRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.requestBody||void 0===e.requestBody)throw new s.RequiredError("requestBody","Required parameter requestParameters.requestBody was null or undefined when calling getBuildingTimezoneMap.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/building/buildingTimeZones",method:"POST",headers:i,query:n,body:e.requestBody},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r)]}}))}))},t.prototype.getBuildingTimezoneMap=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getBuildingTimezoneMapRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.putChatThemeRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r,o,u,l;return a(this,(function(a){switch(a.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling putChatTheme.");if(null===e.title||void 0===e.title)throw new s.RequiredError("title","Required parameter requestParameters.title was null or undefined when calling putChatTheme.");if(null===e.subtitle||void 0===e.subtitle)throw new s.RequiredError("subtitle","Required parameter requestParameters.subtitle was null or undefined when calling putChatTheme.");if(null===e.bannerColor||void 0===e.bannerColor)throw new s.RequiredError("bannerColor","Required parameter requestParameters.bannerColor was null or undefined when calling putChatTheme.");if(null===e.bannerTextColor||void 0===e.bannerTextColor)throw new s.RequiredError("bannerTextColor","Required parameter requestParameters.bannerTextColor was null or undefined when calling putChatTheme.");if(null===e.messageColor||void 0===e.messageColor)throw new s.RequiredError("messageColor","Required parameter requestParameters.messageColor was null or undefined when calling putChatTheme.");if(null===e.messageTextColor||void 0===e.messageTextColor)throw new s.RequiredError("messageTextColor","Required parameter requestParameters.messageTextColor was null or undefined when calling putChatTheme.");if(null===e.launchButtonColor||void 0===e.launchButtonColor)throw new s.RequiredError("launchButtonColor","Required parameter requestParameters.launchButtonColor was null or undefined when calling putChatTheme.");if(null===e.launchButtonIconColor||void 0===e.launchButtonIconColor)throw new s.RequiredError("launchButtonIconColor","Required parameter requestParameters.launchButtonIconColor was null or undefined when calling putChatTheme.");if(null===e.launchButtonSize||void 0===e.launchButtonSize)throw new s.RequiredError("launchButtonSize","Required parameter requestParameters.launchButtonSize was null or undefined when calling putChatTheme.");if(null===e.avatarType||void 0===e.avatarType)throw new s.RequiredError("avatarType","Required parameter requestParameters.avatarType was null or undefined when calling putChatTheme.");if(null===e.avatarInitials||void 0===e.avatarInitials)throw new s.RequiredError("avatarInitials","Required parameter requestParameters.avatarInitials was null or undefined when calling putChatTheme.");return n={},void 0!==e.title&&(n.title=e.title),void 0!==e.subtitle&&(n.subtitle=e.subtitle),void 0!==e.bannerColor&&(n.bannerColor=e.bannerColor),void 0!==e.bannerTextColor&&(n.bannerTextColor=e.bannerTextColor),void 0!==e.messageColor&&(n.messageColor=e.messageColor),void 0!==e.messageTextColor&&(n.messageTextColor=e.messageTextColor),void 0!==e.launchButtonColor&&(n.launchButtonColor=e.launchButtonColor),void 0!==e.launchButtonIconColor&&(n.launchButtonIconColor=e.launchButtonIconColor),void 0!==e.launchButtonSize&&(n.launchButtonSize=e.launchButtonSize),void 0!==e.avatarType&&(n.avatarType=e.avatarType),void 0!==e.avatarInitials&&(n.avatarInitials=e.avatarInitials),i={},r=[{contentType:"multipart/form-data"}],o=s.canConsumeForm(r),u=o?new FormData:new URLSearchParams,void 0!==e.avatarSrc&&u.append("avatarSrc",e.avatarSrc),[4,this.request({path:"/api/v1/building/{id}/chat-theme".replace("{id}",encodeURIComponent(String(e.id))),method:"PUT",headers:i,query:n,body:u},t)];case 1:return l=a.sent(),[2,new s.VoidApiResponse(l)]}}))}))},t.prototype.putChatTheme=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.putChatThemeRaw(e,t)];case 1:return n.sent(),[2]}}))}))},t.prototype.putSSTThemeRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r,o,u,l;return a(this,(function(a){switch(a.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling putSSTTheme.");if(null===e.primaryColor||void 0===e.primaryColor)throw new s.RequiredError("primaryColor","Required parameter requestParameters.primaryColor was null or undefined when calling putSSTTheme.");if(null===e.backgroundColor||void 0===e.backgroundColor)throw new s.RequiredError("backgroundColor","Required parameter requestParameters.backgroundColor was null or undefined when calling putSSTTheme.");return n={},void 0!==e.primaryColor&&(n.primaryColor=e.primaryColor),void 0!==e.backgroundColor&&(n.backgroundColor=e.backgroundColor),i={},r=[{contentType:"multipart/form-data"}],o=s.canConsumeForm(r),u=o?new FormData:new URLSearchParams,void 0!==e.logoSrc&&u.append("logoSrc",e.logoSrc),[4,this.request({path:"/api/v1/building/{id}/sst-theme".replace("{id}",encodeURIComponent(String(e.id))),method:"PUT",headers:i,query:n,body:u},t)];case 1:return l=a.sent(),[2,new s.VoidApiResponse(l)]}}))}))},t.prototype.putSSTTheme=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.putSSTThemeRaw(e,t)];case 1:return n.sent(),[2]}}))}))},t.prototype.update5Raw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling update5.");if(null===e.communityFormView||void 0===e.communityFormView)throw new s.RequiredError("communityFormView","Required parameter requestParameters.communityFormView was null or undefined when calling update5.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/building/{id}".replace("{id}",encodeURIComponent(String(e.id))),method:"PUT",headers:i,query:n,body:u.CommunityFormViewToJSON(e.communityFormView)},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.UiBuildingDetailsFromJSON(e)}))]}}))}))},t.prototype.update5=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.update5Raw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.updateDailyReportEmailsRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling updateDailyReportEmails.");if(null===e.updateEmailsRequest||void 0===e.updateEmailsRequest)throw new s.RequiredError("updateEmailsRequest","Required parameter requestParameters.updateEmailsRequest was null or undefined when calling updateDailyReportEmails.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/building/dailyReportEmails/{id}".replace("{id}",encodeURIComponent(String(e.id))),method:"PUT",headers:i,query:n,body:u.UpdateEmailsRequestToJSON(e.updateEmailsRequest)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.updateDailyReportEmails=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.updateDailyReportEmailsRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.updateHandoffForwardEmailsRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling updateHandoffForwardEmails.");if(null===e.updateEmailsRequest||void 0===e.updateEmailsRequest)throw new s.RequiredError("updateEmailsRequest","Required parameter requestParameters.updateEmailsRequest was null or undefined when calling updateHandoffForwardEmails.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/building/handoffForwardEmails/{id}".replace("{id}",encodeURIComponent(String(e.id))),method:"PUT",headers:i,query:n,body:u.UpdateEmailsRequestToJSON(e.updateEmailsRequest)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.updateHandoffForwardEmails=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.updateHandoffForwardEmailsRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.updateWeeklyReportEmailsRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling updateWeeklyReportEmails.");if(null===e.updateEmailsRequest||void 0===e.updateEmailsRequest)throw new s.RequiredError("updateEmailsRequest","Required parameter requestParameters.updateEmailsRequest was null or undefined when calling updateWeeklyReportEmails.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/building/weeklyReportEmails/{id}".replace("{id}",encodeURIComponent(String(e.id))),method:"PUT",headers:i,query:n,body:u.UpdateEmailsRequestToJSON(e.updateEmailsRequest)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.updateWeeklyReportEmails=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.updateWeeklyReportEmailsRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t}(s.BaseAPI);t.BuildingControllerApi=l},9530:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.BuildingSchedulingControllerApi=void 0;var s=n(296),u=n(4584),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.getTourAvailabilityRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.buildingId||void 0===e.buildingId)throw new s.RequiredError("buildingId","Required parameter requestParameters.buildingId was null or undefined when calling getTourAvailability.");if(null===e.startTime||void 0===e.startTime)throw new s.RequiredError("startTime","Required parameter requestParameters.startTime was null or undefined when calling getTourAvailability.");if(null===e.endTime||void 0===e.endTime)throw new s.RequiredError("endTime","Required parameter requestParameters.endTime was null or undefined when calling getTourAvailability.");return n={},void 0!==e.startTime&&(n.startTime=e.startTime),void 0!==e.endTime&&(n.endTime=e.endTime),i={},[4,this.request({path:"/api/pub/v1/buildings/{buildingId}/tour/availabilities".replace("{buildingId}",encodeURIComponent(String(e.buildingId))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.TourAvailabilityResponseFromJSON(e)}))]}}))}))},t.prototype.getTourAvailability=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getTourAvailabilityRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t}(s.BaseAPI);t.BuildingSchedulingControllerApi=l},8823:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.BuildingsControllerApi=void 0;var s=n(296),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.listUnitsRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.buildingId||void 0===e.buildingId)throw new s.RequiredError("buildingId","Required parameter requestParameters.buildingId was null or undefined when calling listUnits.");return n={},i={},[4,this.request({path:"/api/buildings/{buildingId}/units".replace("{buildingId}",encodeURIComponent(String(e.buildingId))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r)]}}))}))},t.prototype.listUnits=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.listUnitsRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t}(s.BaseAPI);t.BuildingsControllerApi=u},4100:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.CalendarEventTourHandlerControllerApi=void 0;var s=n(296),u=n(4584),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.createCalendarEventTourHandlerRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.createCalendarEventTourHandlerDto||void 0===e.createCalendarEventTourHandlerDto)throw new s.RequiredError("createCalendarEventTourHandlerDto","Required parameter requestParameters.createCalendarEventTourHandlerDto was null or undefined when calling createCalendarEventTourHandler.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/tourHandler/assign",method:"POST",headers:i,query:n,body:u.CreateCalendarEventTourHandlerDtoToJSON(e.createCalendarEventTourHandlerDto)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.createCalendarEventTourHandler=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.createCalendarEventTourHandlerRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getCurrentTourHandlersForBuildingRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.buildingId||void 0===e.buildingId)throw new s.RequiredError("buildingId","Required parameter requestParameters.buildingId was null or undefined when calling getCurrentTourHandlersForBuilding.");return n={},i={},[4,this.request({path:"/api/v1/tourHandler/getForBuilding/{buildingId}".replace("{buildingId}",encodeURIComponent(String(e.buildingId))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return s.mapValues(e,u.CalendarEventTourHandlerFromJSON)}))]}}))}))},t.prototype.getCurrentTourHandlersForBuilding=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getCurrentTourHandlersForBuildingRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t}(s.BaseAPI);t.CalendarEventTourHandlerControllerApi=l},1210:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.ChatTelemetryControllerApi=void 0;var s=n(296),u=n(4584),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.postChatEventRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.chatTelemetryDto||void 0===e.chatTelemetryDto)throw new s.RequiredError("chatTelemetryDto","Required parameter requestParameters.chatTelemetryDto was null or undefined when calling postChatEvent.");return n={},(i={})["Content-Type"]="application/json",void 0!==e.userAgent&&null!==e.userAgent&&(i["user-agent"]=String(e.userAgent)),[4,this.request({path:"/api/pub/chat-stats",method:"POST",headers:i,query:n,body:u.ChatTelemetryDtoToJSON(e.chatTelemetryDto)},t)];case 1:return r=o.sent(),[2,new s.VoidApiResponse(r)]}}))}))},t.prototype.postChatEvent=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.postChatEventRaw(e,t)];case 1:return n.sent(),[2]}}))}))},t}(s.BaseAPI);t.ChatTelemetryControllerApi=l},3515:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.ContextControllerApi=void 0;var s=n(296),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.getAgentIdFromContextRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.contextId||void 0===e.contextId)throw new s.RequiredError("contextId","Required parameter requestParameters.contextId was null or undefined when calling getAgentIdFromContext.");return n={},i={},[4,this.request({path:"/api/pub/context/{contextId}/getAgentId".replace("{contextId}",encodeURIComponent(String(e.contextId))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.getAgentIdFromContext=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getAgentIdFromContextRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t}(s.BaseAPI);t.ContextControllerApi=u},5855:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.ConversationControllerApi=void 0;var s=n(296),u=n(4584),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.getConversationRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.conversationKey||void 0===e.conversationKey)throw new s.RequiredError("conversationKey","Required parameter requestParameters.conversationKey was null or undefined when calling getConversation.");return n={},i={},[4,this.request({path:"/api/pub/conversation/{conversationKey}".replace("{conversationKey}",encodeURIComponent(String(e.conversationKey))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.ConversationFromJSON(e)}))]}}))}))},t.prototype.getConversation=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getConversationRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getConversation1Raw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.contextId||void 0===e.contextId)throw new s.RequiredError("contextId","Required parameter requestParameters.contextId was null or undefined when calling getConversation1.");return n={},i={},[4,this.request({path:"/api/pub/conversation/contextId/{contextId}/text".replace("{contextId}",encodeURIComponent(String(e.contextId))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.ConversationFromJSON(e)}))]}}))}))},t.prototype.getConversation1=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getConversation1Raw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getConversationV2Raw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.conversationKey||void 0===e.conversationKey)throw new s.RequiredError("conversationKey","Required parameter requestParameters.conversationKey was null or undefined when calling getConversationV2.");return n={},i={},[4,this.request({path:"/api/pub/conversation/v2/{conversationKey}".replace("{conversationKey}",encodeURIComponent(String(e.conversationKey))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.ConversationV2FromJSON(e)}))]}}))}))},t.prototype.getConversationV2=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getConversationV2Raw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t}(s.BaseAPI);t.ConversationControllerApi=l},4345:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.DialogueScriptControllerApi=void 0;var s=n(296),u=n(4584),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.deleteScriptByIdRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling deleteScriptById.");return n={},i={},[4,this.request({path:"/renterApi/v1/dialogueScripts/{id}".replace("{id}",encodeURIComponent(String(e.id))),method:"DELETE",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.VoidApiResponse(r)]}}))}))},t.prototype.deleteScriptById=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.deleteScriptByIdRaw(e,t)];case 1:return n.sent(),[2]}}))}))},t.prototype.getDefaultScriptsRaw=function(e){return o(this,void 0,void 0,(function(){var t,n,i;return a(this,(function(r){switch(r.label){case 0:return t={},n={},[4,this.request({path:"/renterApi/v1/dialogueScripts/default",method:"GET",headers:n,query:t},e)];case 1:return i=r.sent(),[2,new s.JSONApiResponse(i,(function(e){return e.map(u.DialogueScriptFromJSON)}))]}}))}))},t.prototype.getDefaultScripts=function(e){return o(this,void 0,void 0,(function(){return a(this,(function(t){switch(t.label){case 0:return[4,this.getDefaultScriptsRaw(e)];case 1:return[4,t.sent().value()];case 2:return[2,t.sent()]}}))}))},t.prototype.getScriptRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.intent||void 0===e.intent)throw new s.RequiredError("intent","Required parameter requestParameters.intent was null or undefined when calling getScript.");if(null===e.organizationId||void 0===e.organizationId)throw new s.RequiredError("organizationId","Required parameter requestParameters.organizationId was null or undefined when calling getScript.");if(null===e.buildingId||void 0===e.buildingId)throw new s.RequiredError("buildingId","Required parameter requestParameters.buildingId was null or undefined when calling getScript.");return n={},void 0!==e.organizationId&&(n.organizationId=e.organizationId),void 0!==e.buildingId&&(n.buildingId=e.buildingId),i={},[4,this.request({path:"/renterApi/v1/dialogueScripts/{intent}".replace("{intent}",encodeURIComponent(String(e.intent))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.DialogueScriptFromJSON(e)}))]}}))}))},t.prototype.getScript=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getScriptRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getScriptBySubintentRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.intent||void 0===e.intent)throw new s.RequiredError("intent","Required parameter requestParameters.intent was null or undefined when calling getScriptBySubintent.");if(null===e.subintent||void 0===e.subintent)throw new s.RequiredError("subintent","Required parameter requestParameters.subintent was null or undefined when calling getScriptBySubintent.");if(null===e.organizationId||void 0===e.organizationId)throw new s.RequiredError("organizationId","Required parameter requestParameters.organizationId was null or undefined when calling getScriptBySubintent.");if(null===e.buildingId||void 0===e.buildingId)throw new s.RequiredError("buildingId","Required parameter requestParameters.buildingId was null or undefined when calling getScriptBySubintent.");return n={},void 0!==e.organizationId&&(n.organizationId=e.organizationId),void 0!==e.buildingId&&(n.buildingId=e.buildingId),i={},[4,this.request({path:"/renterApi/v1/dialogueScripts/{intent}/{subintent}".replace("{intent}",encodeURIComponent(String(e.intent))).replace("{subintent}",encodeURIComponent(String(e.subintent))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.DialogueScriptFromJSON(e)}))]}}))}))},t.prototype.getScriptBySubintent=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getScriptBySubintentRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getScriptsForBuildingRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.organizationId||void 0===e.organizationId)throw new s.RequiredError("organizationId","Required parameter requestParameters.organizationId was null or undefined when calling getScriptsForBuilding.");if(null===e.buildingId||void 0===e.buildingId)throw new s.RequiredError("buildingId","Required parameter requestParameters.buildingId was null or undefined when calling getScriptsForBuilding.");return n={},void 0!==e.organizationId&&(n.organizationId=e.organizationId),void 0!==e.buildingId&&(n.buildingId=e.buildingId),i={},[4,this.request({path:"/renterApi/v1/dialogueScripts",method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return e.map(u.DialogueScriptFromJSON)}))]}}))}))},t.prototype.getScriptsForBuilding=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getScriptsForBuildingRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.putScriptRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.upsertDialogueScriptRequest||void 0===e.upsertDialogueScriptRequest)throw new s.RequiredError("upsertDialogueScriptRequest","Required parameter requestParameters.upsertDialogueScriptRequest was null or undefined when calling putScript.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/renterApi/v1/dialogueScripts",method:"PUT",headers:i,query:n,body:u.UpsertDialogueScriptRequestToJSON(e.upsertDialogueScriptRequest)},t)];case 1:return r=o.sent(),[2,new s.VoidApiResponse(r)]}}))}))},t.prototype.putScript=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.putScriptRaw(e,t)];case 1:return n.sent(),[2]}}))}))},t.prototype.putScriptsRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.upsertDialogueScriptRequest||void 0===e.upsertDialogueScriptRequest)throw new s.RequiredError("upsertDialogueScriptRequest","Required parameter requestParameters.upsertDialogueScriptRequest was null or undefined when calling putScripts.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/renterApi/v1/dialogueScripts/upsertMany",method:"PUT",headers:i,query:n,body:e.upsertDialogueScriptRequest.map(u.UpsertDialogueScriptRequestToJSON)},t)];case 1:return r=o.sent(),[2,new s.VoidApiResponse(r)]}}))}))},t.prototype.putScripts=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.putScriptsRaw(e,t)];case 1:return n.sent(),[2]}}))}))},t}(s.BaseAPI);t.DialogueScriptControllerApi=l},2938:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.EntrataProxyControllerApi=void 0;var s=n(296),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.getLeadPickListsRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.securityKey||void 0===e.securityKey)throw new s.RequiredError("securityKey","Required parameter requestParameters.securityKey was null or undefined when calling getLeadPickLists.");if(null===e.userId||void 0===e.userId)throw new s.RequiredError("userId","Required parameter requestParameters.userId was null or undefined when calling getLeadPickLists.");if(null===e.propertyId||void 0===e.propertyId)throw new s.RequiredError("propertyId","Required parameter requestParameters.propertyId was null or undefined when calling getLeadPickLists.");return n={},void 0!==e.securityKey&&(n.securityKey=e.securityKey),void 0!==e.userId&&(n.userId=e.userId),void 0!==e.propertyId&&(n.propertyId=e.propertyId),i={},[4,this.request({path:"/api/pub/entrata/getleadpicklists",method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.getLeadPickLists=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getLeadPickListsRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getMitsLeadsRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.securityKey||void 0===e.securityKey)throw new s.RequiredError("securityKey","Required parameter requestParameters.securityKey was null or undefined when calling getMitsLeads.");if(null===e.leadId||void 0===e.leadId)throw new s.RequiredError("leadId","Required parameter requestParameters.leadId was null or undefined when calling getMitsLeads.");if(null===e.buildingId||void 0===e.buildingId)throw new s.RequiredError("buildingId","Required parameter requestParameters.buildingId was null or undefined when calling getMitsLeads.");return n={},void 0!==e.securityKey&&(n.securityKey=e.securityKey),void 0!==e.leadId&&(n.leadId=e.leadId),void 0!==e.buildingId&&(n.buildingId=e.buildingId),i={},[4,this.request({path:"/api/pub/entrata/getmitsleads",method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.getMitsLeads=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getMitsLeadsRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t}(s.BaseAPI);t.EntrataProxyControllerApi=u},5021:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.EscalationsControllerApi=void 0;var s=n(296),u=n(4584),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.escalationsForBuildingIdRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.buildingId||void 0===e.buildingId)throw new s.RequiredError("buildingId","Required parameter requestParameters.buildingId was null or undefined when calling escalationsForBuildingId.");return n={},i={},[4,this.request({path:"/api/v1/escalations/getByBuildingId/{buildingId}".replace("{buildingId}",encodeURIComponent(String(e.buildingId))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return e.map(u.AlertQueueInfoFromJSON)}))]}}))}))},t.prototype.escalationsForBuildingId=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.escalationsForBuildingIdRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.ignoreMCConversationRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.mcId||void 0===e.mcId)throw new s.RequiredError("mcId","Required parameter requestParameters.mcId was null or undefined when calling ignoreMCConversation.");return n={},i={},[4,this.request({path:"/api/v1/escalations/mc/escalation/ignore/{mcId}".replace("{mcId}",encodeURIComponent(String(e.mcId))),method:"POST",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.ignoreMCConversation=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.ignoreMCConversationRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.resolveEscalationRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.resolveEscalationDto||void 0===e.resolveEscalationDto)throw new s.RequiredError("resolveEscalationDto","Required parameter requestParameters.resolveEscalationDto was null or undefined when calling resolveEscalation.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/escalations/resolve",method:"POST",headers:i,query:n,body:u.ResolveEscalationDtoToJSON(e.resolveEscalationDto)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.resolveEscalation=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.resolveEscalationRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.respondToMCConversationRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.respondToMCConversationDTO||void 0===e.respondToMCConversationDTO)throw new s.RequiredError("respondToMCConversationDTO","Required parameter requestParameters.respondToMCConversationDTO was null or undefined when calling respondToMCConversation.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/escalations/mc/escalation/respond",method:"POST",headers:i,query:n,body:u.RespondToMCConversationDTOToJSON(e.respondToMCConversationDTO)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.respondToMCConversation=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.respondToMCConversationRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t}(s.BaseAPI);t.EscalationsControllerApi=l},9962:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.EventsControllerApi=void 0;var s=n(296),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.getAssignedLeasingAgentIdForEventRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.eventId||void 0===e.eventId)throw new s.RequiredError("eventId","Required parameter requestParameters.eventId was null or undefined when calling getAssignedLeasingAgentIdForEvent.");return n={},i={},[4,this.request({path:"/api/v1/calendar/events/{eventId}/assignedLeasingAgentId".replace("{eventId}",encodeURIComponent(String(e.eventId))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.getAssignedLeasingAgentIdForEvent=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getAssignedLeasingAgentIdForEventRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t}(s.BaseAPI);t.EventsControllerApi=u},8196:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.FeatureFlagControllerApi=void 0;var s=n(296),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.getBoolFeatureFlagRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.featureKey||void 0===e.featureKey)throw new s.RequiredError("featureKey","Required parameter requestParameters.featureKey was null or undefined when calling getBoolFeatureFlag.");if(null===e.requestDto||void 0===e.requestDto)throw new s.RequiredError("requestDto","Required parameter requestParameters.requestDto was null or undefined when calling getBoolFeatureFlag.");return n={},void 0!==e.requestDto&&(n.requestDto=e.requestDto),i={},[4,this.request({path:"/api/v1/features/bool/{featureKey}".replace("{featureKey}",encodeURIComponent(String(e.featureKey))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.getBoolFeatureFlag=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getBoolFeatureFlagRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getIntFeatureFlagRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.featureKey||void 0===e.featureKey)throw new s.RequiredError("featureKey","Required parameter requestParameters.featureKey was null or undefined when calling getIntFeatureFlag.");if(null===e.requestDto||void 0===e.requestDto)throw new s.RequiredError("requestDto","Required parameter requestParameters.requestDto was null or undefined when calling getIntFeatureFlag.");return n={},void 0!==e.requestDto&&(n.requestDto=e.requestDto),i={},[4,this.request({path:"/api/v1/features/int/{featureKey}".replace("{featureKey}",encodeURIComponent(String(e.featureKey))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.getIntFeatureFlag=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getIntFeatureFlagRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getStringFeatureFlagRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.featureKey||void 0===e.featureKey)throw new s.RequiredError("featureKey","Required parameter requestParameters.featureKey was null or undefined when calling getStringFeatureFlag.");if(null===e.requestDto||void 0===e.requestDto)throw new s.RequiredError("requestDto","Required parameter requestParameters.requestDto was null or undefined when calling getStringFeatureFlag.");return n={},void 0!==e.requestDto&&(n.requestDto=e.requestDto),i={},[4,this.request({path:"/api/v1/features/string/{featureKey}".replace("{featureKey}",encodeURIComponent(String(e.featureKey))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.getStringFeatureFlag=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getStringFeatureFlagRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t}(s.BaseAPI);t.FeatureFlagControllerApi=u},5282:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.FirstContactControllerApi=void 0;var s=n(296),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.getFirstContactTypeForUserRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.userId||void 0===e.userId)throw new s.RequiredError("userId","Required parameter requestParameters.userId was null or undefined when calling getFirstContactTypeForUser.");return n={},i={},[4,this.request({path:"/api/v1/firstcontact/user_id/{userId}".replace("{userId}",encodeURIComponent(String(e.userId))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r)]}}))}))},t.prototype.getFirstContactTypeForUser=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getFirstContactTypeForUserRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t}(s.BaseAPI);t.FirstContactControllerApi=u},4702:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.FollowUpControllerApi=void 0;var s=n(296),u=n(4584),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.setFollowupFromCalendarRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.followUpParams||void 0===e.followUpParams)throw new s.RequiredError("followUpParams","Required parameter requestParameters.followUpParams was null or undefined when calling setFollowupFromCalendar.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/followup/",method:"POST",headers:i,query:n,body:u.FollowUpParamsToJSON(e.followUpParams)},t)];case 1:return r=o.sent(),[2,new s.VoidApiResponse(r)]}}))}))},t.prototype.setFollowupFromCalendar=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.setFollowupFromCalendarRaw(e,t)];case 1:return n.sent(),[2]}}))}))},t}(s.BaseAPI);t.FollowUpControllerApi=l},683:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.FunnelIntegrationsControllerApi=void 0;var s=n(296),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.knockAppointmentEventsWebhook1Raw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.body||void 0===e.body)throw new s.RequiredError("body","Required parameter requestParameters.body was null or undefined when calling knockAppointmentEventsWebhook1.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/integrations/funnel/events",method:"POST",headers:i,query:n,body:e.body},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.knockAppointmentEventsWebhook1=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.knockAppointmentEventsWebhook1Raw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t}(s.BaseAPI);t.FunnelIntegrationsControllerApi=u},5977:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.KnockIntegrationsControllerApi=void 0;var s=n(296),u=n(4584),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.getAllKnockAgentsRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.communityId||void 0===e.communityId)throw new s.RequiredError("communityId","Required parameter requestParameters.communityId was null or undefined when calling getAllKnockAgents.");return n={},i={},[4,this.request({path:"/api/v1/integrations/knock/{communityId}/agents".replace("{communityId}",encodeURIComponent(String(e.communityId))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return e.map(u.KnockAgentsNodeFromJSON)}))]}}))}))},t.prototype.getAllKnockAgents=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getAllKnockAgentsRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getEliseAgentRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.communityId||void 0===e.communityId)throw new s.RequiredError("communityId","Required parameter requestParameters.communityId was null or undefined when calling getEliseAgent.");return n={},i={},[4,this.request({path:"/api/v1/integrations/knock/{communityId}/eliseAgent".replace("{communityId}",encodeURIComponent(String(e.communityId))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.KnockAgentsNodeFromJSON(e)}))]}}))}))},t.prototype.getEliseAgent=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getEliseAgentRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getKnockCommunitiesRaw=function(e){return o(this,void 0,void 0,(function(){var t,n,i;return a(this,(function(r){switch(r.label){case 0:return t={},n={},[4,this.request({path:"/api/v1/integrations/knock/communities",method:"GET",headers:n,query:t},e)];case 1:return i=r.sent(),[2,new s.JSONApiResponse(i,(function(e){return e.map(u.CommunitiesEdgeFromJSON)}))]}}))}))},t.prototype.getKnockCommunities=function(e){return o(this,void 0,void 0,(function(){return a(this,(function(t){switch(t.label){case 0:return[4,this.getKnockCommunitiesRaw(e)];case 1:return[4,t.sent().value()];case 2:return[2,t.sent()]}}))}))},t.prototype.getKnockCommunityIdRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.buildingName||void 0===e.buildingName)throw new s.RequiredError("buildingName","Required parameter requestParameters.buildingName was null or undefined when calling getKnockCommunityId.");if(null===e.streetAddress||void 0===e.streetAddress)throw new s.RequiredError("streetAddress","Required parameter requestParameters.streetAddress was null or undefined when calling getKnockCommunityId.");return n={},void 0!==e.buildingName&&(n.buildingName=e.buildingName),void 0!==e.streetAddress&&(n.streetAddress=e.streetAddress),i={},[4,this.request({path:"/api/v1/integrations/knock/community/id",method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.getKnockCommunityId=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getKnockCommunityIdRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.knockAppointmentEventsWebhookRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.body||void 0===e.body)throw new s.RequiredError("body","Required parameter requestParameters.body was null or undefined when calling knockAppointmentEventsWebhook.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/integrations/knock/appointment_events",method:"POST",headers:i,query:n,body:e.body},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.knockAppointmentEventsWebhook=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.knockAppointmentEventsWebhookRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t}(s.BaseAPI);t.KnockIntegrationsControllerApi=l},8242:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.LeadSourcesControllerApi=void 0;var s=n(296),u=n(4584),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.getLeadSourcesRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.buildingId||void 0===e.buildingId)throw new s.RequiredError("buildingId","Required parameter requestParameters.buildingId was null or undefined when calling getLeadSources.");return n={},i={},[4,this.request({path:"/api/pub/lead-sources/v1/building/{buildingId}".replace("{buildingId}",encodeURIComponent(String(e.buildingId))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.LeadSourceResponseFromJSON(e)}))]}}))}))},t.prototype.getLeadSources=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getLeadSourcesRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getLeadSourcesIntegration1Raw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.buildingId||void 0===e.buildingId)throw new s.RequiredError("buildingId","Required parameter requestParameters.buildingId was null or undefined when calling getLeadSourcesIntegration1.");return n={},i={},[4,this.request({path:"/api/pub/lead-sources/v1/crm/building/{buildingId}".replace("{buildingId}",encodeURIComponent(String(e.buildingId))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.LeadSourceResponseFromJSON(e)}))]}}))}))},t.prototype.getLeadSourcesIntegration1=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getLeadSourcesIntegration1Raw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t}(s.BaseAPI);t.LeadSourcesControllerApi=l},9714:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.LeadsControllerApi=void 0;var s=n(296),u=n(4584),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.getLeadThreadViewModelsRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:return n={},void 0!==e.leadEmail&&(n.leadEmail=e.leadEmail),void 0!==e.leadPhoneNumber&&(n.leadPhoneNumber=e.leadPhoneNumber),void 0!==e.leadName&&(n.leadName=e.leadName),void 0!==e.buildingId&&(n.buildingId=e.buildingId),i={},[4,this.request({path:"/api/v1/leads",method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return e.map(u.LeadThreadViewModelFromJSON)}))]}}))}))},t.prototype.getLeadThreadViewModels=function(e,t){return void 0===e&&(e={}),o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getLeadThreadViewModelsRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getLeadsWithSourceRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.leadEmail||void 0===e.leadEmail)throw new s.RequiredError("leadEmail","Required parameter requestParameters.leadEmail was null or undefined when calling getLeadsWithSource.");if(null===e.buildingId||void 0===e.buildingId)throw new s.RequiredError("buildingId","Required parameter requestParameters.buildingId was null or undefined when calling getLeadsWithSource.");return n={},void 0!==e.leadEmail&&(n.leadEmail=e.leadEmail),void 0!==e.buildingId&&(n.buildingId=e.buildingId),i={},[4,this.request({path:"/api/v1/leads/leadsWithSource",method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return e.map(u.LeadWithSourceFromJSON)}))]}}))}))},t.prototype.getLeadsWithSource=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getLeadsWithSourceRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t}(s.BaseAPI);t.LeadsControllerApi=l},7659:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.LeasingAgentsControllerApi=void 0;var s=n(296),u=n(4584),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.getLeasingAgentsForBuildingRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.buildingId||void 0===e.buildingId)throw new s.RequiredError("buildingId","Required parameter requestParameters.buildingId was null or undefined when calling getLeasingAgentsForBuilding.");return n={},i={},[4,this.request({path:"/api/v1/leasingagents/building/{buildingId}".replace("{buildingId}",encodeURIComponent(String(e.buildingId))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return e.map(u.LeasingAgentFromJSON)}))]}}))}))},t.prototype.getLeasingAgentsForBuilding=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getLeasingAgentsForBuildingRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getLeasingAgentsForUserRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.userId||void 0===e.userId)throw new s.RequiredError("userId","Required parameter requestParameters.userId was null or undefined when calling getLeasingAgentsForUser.");return n={},i={},[4,this.request({path:"/api/v1/leasingagents/{userId}".replace("{userId}",encodeURIComponent(String(e.userId))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return e.map(u.LeasingAgentFromJSON)}))]}}))}))},t.prototype.getLeasingAgentsForUser=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getLeasingAgentsForUserRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t}(s.BaseAPI);t.LeasingAgentsControllerApi=l},2311:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.MarketingSourcesControllerApi=void 0;var s=n(296),u=n(4584),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.initializeWhitelisting1Raw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.buildingId||void 0===e.buildingId)throw new s.RequiredError("buildingId","Required parameter requestParameters.buildingId was null or undefined when calling initializeWhitelisting1.");return n={},i={},[4,this.request({path:"/api/v1/marketingSources/{buildingId}".replace("{buildingId}",encodeURIComponent(String(e.buildingId))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return e.map(u.ExternalBuildingSourceFromJSON)}))]}}))}))},t.prototype.initializeWhitelisting1=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.initializeWhitelisting1Raw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t}(s.BaseAPI);t.MarketingSourcesControllerApi=l},5827:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.MeHomeControllerApi=void 0;var s=n(296),u=n(4584),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.getDashboardInfoRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.getMEHomeDashboardInfoDto||void 0===e.getMEHomeDashboardInfoDto)throw new s.RequiredError("getMEHomeDashboardInfoDto","Required parameter requestParameters.getMEHomeDashboardInfoDto was null or undefined when calling getDashboardInfo.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/mehome/dashboardInfo",method:"POST",headers:i,query:n,body:u.GetMEHomeDashboardInfoDtoToJSON(e.getMEHomeDashboardInfoDto)},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.MEHomeDashboardInfoFromJSON(e)}))]}}))}))},t.prototype.getDashboardInfo=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getDashboardInfoRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t}(s.BaseAPI);t.MeHomeControllerApi=l},5334:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.OfficeHoursControllerApi=void 0;var s=n(296),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.refreshAnyoneHomeOfficeHoursRaw=function(e){return o(this,void 0,void 0,(function(){var t,n,i;return a(this,(function(r){switch(r.label){case 0:return t={},n={},[4,this.request({path:"/api/v1/officehours/refreshAnyoneHomeOfficeHours",method:"GET",headers:n,query:t},e)];case 1:return i=r.sent(),[2,new s.VoidApiResponse(i)]}}))}))},t.prototype.refreshAnyoneHomeOfficeHours=function(e){return o(this,void 0,void 0,(function(){return a(this,(function(t){switch(t.label){case 0:return[4,this.refreshAnyoneHomeOfficeHoursRaw(e)];case 1:return t.sent(),[2]}}))}))},t}(s.BaseAPI);t.OfficeHoursControllerApi=u},7043:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.OrganizationApiControllerApi=void 0;var s=n(296),u=n(4584),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.create1Raw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.organization||void 0===e.organization)throw new s.RequiredError("organization","Required parameter requestParameters.organization was null or undefined when calling create1.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/company/",method:"POST",headers:i,query:n,body:u.OrganizationToJSON(e.organization)},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.OrganizationFromJSON(e)}))]}}))}))},t.prototype.create1=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.create1Raw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.get3Raw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling get3.");return n={},i={},[4,this.request({path:"/api/v1/company/{id}".replace("{id}",encodeURIComponent(String(e.id))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.OrganizationFromJSON(e)}))]}}))}))},t.prototype.get3=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.get3Raw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getActiveBuildingNamesRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.requestBody||void 0===e.requestBody)throw new s.RequiredError("requestBody","Required parameter requestParameters.requestBody was null or undefined when calling getActiveBuildingNames.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/company/activeBuildingNames",method:"POST",headers:i,query:n,body:e.requestBody},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r)]}}))}))},t.prototype.getActiveBuildingNames=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getActiveBuildingNamesRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getOrgsRaw=function(e){return o(this,void 0,void 0,(function(){var t,n,i;return a(this,(function(r){switch(r.label){case 0:return t={},n={},[4,this.request({path:"/api/v1/company/",method:"GET",headers:n,query:t},e)];case 1:return i=r.sent(),[2,new s.JSONApiResponse(i,(function(e){return u.ListWrapperOrganizationFromJSON(e)}))]}}))}))},t.prototype.getOrgs=function(e){return o(this,void 0,void 0,(function(){return a(this,(function(t){switch(t.label){case 0:return[4,this.getOrgsRaw(e)];case 1:return[4,t.sent().value()];case 2:return[2,t.sent()]}}))}))},t.prototype.getUsersRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.orgId||void 0===e.orgId)throw new s.RequiredError("orgId","Required parameter requestParameters.orgId was null or undefined when calling getUsers.");return n={},i={},[4,this.request({path:"/api/v1/company/users/{orgId}".replace("{orgId}",encodeURIComponent(String(e.orgId))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return e.map(u.XagacityUserFromJSON)}))]}}))}))},t.prototype.getUsers=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getUsersRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.update4Raw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling update4.");if(null===e.organization||void 0===e.organization)throw new s.RequiredError("organization","Required parameter requestParameters.organization was null or undefined when calling update4.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/company/{id}".replace("{id}",encodeURIComponent(String(e.id))),method:"PUT",headers:i,query:n,body:u.OrganizationToJSON(e.organization)},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.OrganizationFromJSON(e)}))]}}))}))},t.prototype.update4=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.update4Raw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t}(s.BaseAPI);t.OrganizationApiControllerApi=l},1092:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.PublicBuildingControllerApi=void 0;var s=n(296),u=n(4584),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.getOrgIdFromUUIDRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.uuid||void 0===e.uuid)throw new s.RequiredError("uuid","Required parameter requestParameters.uuid was null or undefined when calling getOrgIdFromUUID.");return n={},i={},[4,this.request({path:"/api/pub/v1/organization/{uuid}".replace("{uuid}",encodeURIComponent(String(e.uuid))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.getOrgIdFromUUID=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getOrgIdFromUUIDRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getPublicBuildingInfoRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.organizationSlug||void 0===e.organizationSlug)throw new s.RequiredError("organizationSlug","Required parameter requestParameters.organizationSlug was null or undefined when calling getPublicBuildingInfo.");if(null===e.buildingSlug||void 0===e.buildingSlug)throw new s.RequiredError("buildingSlug","Required parameter requestParameters.buildingSlug was null or undefined when calling getPublicBuildingInfo.");return n={},i={},[4,this.request({path:"/api/pub/v1/organization/{organizationSlug}/building/{buildingSlug}".replace("{organizationSlug}",encodeURIComponent(String(e.organizationSlug))).replace("{buildingSlug}",encodeURIComponent(String(e.buildingSlug))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.BuildingPublicViewModelFromJSON(e)}))]}}))}))},t.prototype.getPublicBuildingInfo=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getPublicBuildingInfoRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t}(s.BaseAPI);t.PublicBuildingControllerApi=l},535:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.PublicUnsubscribeControllerApi=void 0;var s=n(296),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.unsubscribeFromStateRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.stateId||void 0===e.stateId)throw new s.RequiredError("stateId","Required parameter requestParameters.stateId was null or undefined when calling unsubscribeFromState.");return n={},i={},[4,this.request({path:"/api/unsubscribe/{stateId}".replace("{stateId}",encodeURIComponent(String(e.stateId))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.unsubscribeFromState=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.unsubscribeFromStateRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t}(s.BaseAPI);t.PublicUnsubscribeControllerApi=u},4071:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.RecurringEventsControllerApi=void 0;var s=n(296),u=n(4584),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.delete1Raw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling delete1.");return n={},i={},[4,this.request({path:"/api/v1/recurring_events/{id}".replace("{id}",encodeURIComponent(String(e.id))),method:"DELETE",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.delete1=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.delete1Raw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.get2Raw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling get2.");return n={},i={},[4,this.request({path:"/api/v1/recurring_events/{id}".replace("{id}",encodeURIComponent(String(e.id))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.RecurringEventDtoFromJSON(e)}))]}}))}))},t.prototype.get2=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.get2Raw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.saveRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.recurringEventCreateRequestDto||void 0===e.recurringEventCreateRequestDto)throw new s.RequiredError("recurringEventCreateRequestDto","Required parameter requestParameters.recurringEventCreateRequestDto was null or undefined when calling save.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/recurring_events",method:"POST",headers:i,query:n,body:u.RecurringEventCreateRequestDtoToJSON(e.recurringEventCreateRequestDto)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.save=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.saveRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.update3Raw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling update3.");if(null===e.recurringEventUpdateRequestDto||void 0===e.recurringEventUpdateRequestDto)throw new s.RequiredError("recurringEventUpdateRequestDto","Required parameter requestParameters.recurringEventUpdateRequestDto was null or undefined when calling update3.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/recurring_events/{id}".replace("{id}",encodeURIComponent(String(e.id))),method:"PUT",headers:i,query:n,body:u.RecurringEventUpdateRequestDtoToJSON(e.recurringEventUpdateRequestDto)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.update3=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.update3Raw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t}(s.BaseAPI);t.RecurringEventsControllerApi=l},5834:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.RenterBuildingControllerApi=void 0;var s=n(296),u=n(4584),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.findRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.name||void 0===e.name)throw new s.RequiredError("name","Required parameter requestParameters.name was null or undefined when calling find.");if(null===e.address||void 0===e.address)throw new s.RequiredError("address","Required parameter requestParameters.address was null or undefined when calling find.");if(null===e.zip||void 0===e.zip)throw new s.RequiredError("zip","Required parameter requestParameters.zip was null or undefined when calling find.");return n={},void 0!==e.name&&(n.name=e.name),void 0!==e.address&&(n.address=e.address),void 0!==e.zip&&(n.zip=e.zip),i={},[4,this.request({path:"/renterApi/v1/building/find",method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.BuildingDetailsFromJSON(e)}))]}}))}))},t.prototype.find=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.findRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.findBuildingsManagedByRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.email||void 0===e.email)throw new s.RequiredError("email","Required parameter requestParameters.email was null or undefined when calling findBuildingsManagedBy.");return n={},void 0!==e.email&&(n.email=e.email),i={},[4,this.request({path:"/renterApi/v1/building/managedBy",method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return e.map(u.BuildingDetailsFromJSON)}))]}}))}))},t.prototype.findBuildingsManagedBy=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.findBuildingsManagedByRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.findByNameRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling findByName.");return n={},i={},[4,this.request({path:"/renterApi/v1/building/{id}".replace("{id}",encodeURIComponent(String(e.id))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.BuildingDetailsFromJSON(e)}))]}}))}))},t.prototype.findByName=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.findByNameRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.geocodeLocationRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.address||void 0===e.address)throw new s.RequiredError("address","Required parameter requestParameters.address was null or undefined when calling geocodeLocation.");return n={},void 0!==e.address&&(n.address=e.address),i={},[4,this.request({path:"/renterApi/v1/building/location/geocode",method:"PATCH",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.LocationFromJSON(e)}))]}}))}))},t.prototype.geocodeLocation=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.geocodeLocationRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.geocodeLocation1Raw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.address||void 0===e.address)throw new s.RequiredError("address","Required parameter requestParameters.address was null or undefined when calling geocodeLocation1.");return n={},void 0!==e.address&&(n.address=e.address),i={},[4,this.request({path:"/renterApi/v1/building/location/geocode",method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.LocationFromJSON(e)}))]}}))}))},t.prototype.geocodeLocation1=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.geocodeLocation1Raw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.geocodeLocation2Raw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.address||void 0===e.address)throw new s.RequiredError("address","Required parameter requestParameters.address was null or undefined when calling geocodeLocation2.");return n={},void 0!==e.address&&(n.address=e.address),i={},[4,this.request({path:"/renterApi/v1/building/location/geocode",method:"PUT",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.LocationFromJSON(e)}))]}}))}))},t.prototype.geocodeLocation2=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.geocodeLocation2Raw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.geocodeLocation3Raw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.address||void 0===e.address)throw new s.RequiredError("address","Required parameter requestParameters.address was null or undefined when calling geocodeLocation3.");return n={},void 0!==e.address&&(n.address=e.address),i={},[4,this.request({path:"/renterApi/v1/building/location/geocode",method:"OPTIONS",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.LocationFromJSON(e)}))]}}))}))},t.prototype.geocodeLocation3=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.geocodeLocation3Raw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.geocodeLocation4Raw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.address||void 0===e.address)throw new s.RequiredError("address","Required parameter requestParameters.address was null or undefined when calling geocodeLocation4.");return n={},void 0!==e.address&&(n.address=e.address),i={},[4,this.request({path:"/renterApi/v1/building/location/geocode",method:"POST",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.LocationFromJSON(e)}))]}}))}))},t.prototype.geocodeLocation4=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.geocodeLocation4Raw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.geocodeLocation5Raw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.address||void 0===e.address)throw new s.RequiredError("address","Required parameter requestParameters.address was null or undefined when calling geocodeLocation5.");return n={},void 0!==e.address&&(n.address=e.address),i={},[4,this.request({path:"/renterApi/v1/building/location/geocode",method:"DELETE",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.LocationFromJSON(e)}))]}}))}))},t.prototype.geocodeLocation5=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.geocodeLocation5Raw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.geocodeLocation6Raw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.address||void 0===e.address)throw new s.RequiredError("address","Required parameter requestParameters.address was null or undefined when calling geocodeLocation6.");return n={},void 0!==e.address&&(n.address=e.address),i={},[4,this.request({path:"/renterApi/v1/building/location/geocode",method:"HEAD",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.LocationFromJSON(e)}))]}}))}))},t.prototype.geocodeLocation6=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.geocodeLocation6Raw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getAllBuildingPreferencesRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling getAllBuildingPreferences.");return n={},i={},[4,this.request({path:"/renterApi/v1/building/{id}/buildingPreferences".replace("{id}",encodeURIComponent(String(e.id))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r)]}}))}))},t.prototype.getAllBuildingPreferences=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getAllBuildingPreferencesRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getAllBuildingUnitsRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling getAllBuildingUnits.");return n={},i={},[4,this.request({path:"/renterApi/v1/building/{id}/allUnits".replace("{id}",encodeURIComponent(String(e.id))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return e.map(u.UnitDetailsFromJSON)}))]}}))}))},t.prototype.getAllBuildingUnits=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getAllBuildingUnitsRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getBuildingNameByIdRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling getBuildingNameById.");return n={},i={},[4,this.request({path:"/renterApi/v1/building/{id}/name".replace("{id}",encodeURIComponent(String(e.id))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.getBuildingNameById=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getBuildingNameByIdRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getBuildingOverridesRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling getBuildingOverrides.");return n={},i={},[4,this.request({path:"/renterApi/v1/building/{id}/handoffOverrides".replace("{id}",encodeURIComponent(String(e.id))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.BuildingOverrideFromJSON(e)}))]}}))}))},t.prototype.getBuildingOverrides=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getBuildingOverridesRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getBuildingUnitsRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling getBuildingUnits.");return n={},i={},[4,this.request({path:"/renterApi/v1/building/{id}/units".replace("{id}",encodeURIComponent(String(e.id))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return e.map(u.UnitDetailsFromJSON)}))]}}))}))},t.prototype.getBuildingUnits=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getBuildingUnitsRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getBuildingUnitsWithDefaultsRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling getBuildingUnitsWithDefaults.");return n={},i={},[4,this.request({path:"/renterApi/v1/building/{id}/allActiveUnitsWithDefaults".replace("{id}",encodeURIComponent(String(e.id))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return e.map(u.UnitDetailsFromJSON)}))]}}))}))},t.prototype.getBuildingUnitsWithDefaults=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getBuildingUnitsWithDefaultsRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getBuildingUnitsWithDefaults1Raw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.name||void 0===e.name)throw new s.RequiredError("name","Required parameter requestParameters.name was null or undefined when calling getBuildingUnitsWithDefaults1.");if(null===e.address||void 0===e.address)throw new s.RequiredError("address","Required parameter requestParameters.address was null or undefined when calling getBuildingUnitsWithDefaults1.");if(null===e.zip||void 0===e.zip)throw new s.RequiredError("zip","Required parameter requestParameters.zip was null or undefined when calling getBuildingUnitsWithDefaults1.");return n={},void 0!==e.name&&(n.name=e.name),void 0!==e.address&&(n.address=e.address),void 0!==e.zip&&(n.zip=e.zip),i={},[4,this.request({path:"/renterApi/v1/building/allActiveUnitsWithDefaults",method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return e.map(u.UnitDetailsFromJSON)}))]}}))}))},t.prototype.getBuildingUnitsWithDefaults1=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getBuildingUnitsWithDefaults1Raw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getByIdRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling getById.");return n={},i={},[4,this.request({path:"/renterApi/v1/building/byId/{id}".replace("{id}",encodeURIComponent(String(e.id))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.UiBuildingDetailsFromJSON(e)}))]}}))}))},t.prototype.getById=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getByIdRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getEntities1Raw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.entityConfig||void 0===e.entityConfig)throw new s.RequiredError("entityConfig","Required parameter requestParameters.entityConfig was null or undefined when calling getEntities1.");return n={},void 0!==e.entityConfig&&(n.entityConfig=e.entityConfig),i={},[4,this.request({path:"/renterApi/v1/building/entities",method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return e.map(u.BuildingEntityFromJSON)}))]}}))}))},t.prototype.getEntities1=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getEntities1Raw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getFollowUpSettingsRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.name||void 0===e.name)throw new s.RequiredError("name","Required parameter requestParameters.name was null or undefined when calling getFollowUpSettings.");if(null===e.address||void 0===e.address)throw new s.RequiredError("address","Required parameter requestParameters.address was null or undefined when calling getFollowUpSettings.");if(null===e.zip||void 0===e.zip)throw new s.RequiredError("zip","Required parameter requestParameters.zip was null or undefined when calling getFollowUpSettings.");return n={},void 0!==e.name&&(n.name=e.name),void 0!==e.address&&(n.address=e.address),void 0!==e.zip&&(n.zip=e.zip),i={},[4,this.request({path:"/renterApi/v1/building/followUpSettings",method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.FollowUpSettingsFromJSON(e)}))]}}))}))},t.prototype.getFollowUpSettings=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getFollowUpSettingsRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getIncentivesRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling getIncentives.");return n={},void 0!==e.layout&&(n.layout=e.layout),i={},[4,this.request({path:"/renterApi/v1/building/{id}/incentives".replace("{id}",encodeURIComponent(String(e.id))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.UnitIncentiveResultFromJSON(e)}))]}}))}))},t.prototype.getIncentives=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getIncentivesRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getRentcafePropertyIdRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.userId||void 0===e.userId)throw new s.RequiredError("userId","Required parameter requestParameters.userId was null or undefined when calling getRentcafePropertyId.");if(null===e.voyagerPropertyCode||void 0===e.voyagerPropertyCode)throw new s.RequiredError("voyagerPropertyCode","Required parameter requestParameters.voyagerPropertyCode was null or undefined when calling getRentcafePropertyId.");return n={},void 0!==e.userId&&(n.userId=e.userId),void 0!==e.voyagerPropertyCode&&(n.voyagerPropertyCode=e.voyagerPropertyCode),i={},[4,this.request({path:"/renterApi/v1/building/rentcafe/propertyId",method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.getRentcafePropertyId=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getRentcafePropertyIdRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getTourPriorityByIdRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling getTourPriorityById.");return n={},i={},[4,this.request({path:"/renterApi/v1/building/{id}/tourPriority".replace("{id}",encodeURIComponent(String(e.id))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r)]}}))}))},t.prototype.getTourPriorityById=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getTourPriorityByIdRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getV2ConfigurationForBuildingRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.buildingId||void 0===e.buildingId)throw new s.RequiredError("buildingId","Required parameter requestParameters.buildingId was null or undefined when calling getV2ConfigurationForBuilding.");return n={},i={},[4,this.request({path:"/renterApi/v1/building/{buildingId}/v2Configuration".replace("{buildingId}",encodeURIComponent(String(e.buildingId))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.V2BuildingMigrationStatusFromJSON(e)}))]}}))}))},t.prototype.getV2ConfigurationForBuilding=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getV2ConfigurationForBuildingRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getVirtualTourPlatformInfoRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling getVirtualTourPlatformInfo.");return n={},i={},[4,this.request({path:"/renterApi/v1/building/{id}/preferences".replace("{id}",encodeURIComponent(String(e.id))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.BuildingTourTypePreferencesFromJSON(e)}))]}}))}))},t.prototype.getVirtualTourPlatformInfo=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getVirtualTourPlatformInfoRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.searchBuildingRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.name||void 0===e.name)throw new s.RequiredError("name","Required parameter requestParameters.name was null or undefined when calling searchBuilding.");if(null===e.address||void 0===e.address)throw new s.RequiredError("address","Required parameter requestParameters.address was null or undefined when calling searchBuilding.");if(null===e.zip||void 0===e.zip)throw new s.RequiredError("zip","Required parameter requestParameters.zip was null or undefined when calling searchBuilding.");if(null===e.startTime||void 0===e.startTime)throw new s.RequiredError("startTime","Required parameter requestParameters.startTime was null or undefined when calling searchBuilding.");if(null===e.endTime||void 0===e.endTime)throw new s.RequiredError("endTime","Required parameter requestParameters.endTime was null or undefined when calling searchBuilding.");return n={},void 0!==e.name&&(n.name=e.name),void 0!==e.address&&(n.address=e.address),void 0!==e.zip&&(n.zip=e.zip),void 0!==e.startTime&&(n.startTime=e.startTime),void 0!==e.endTime&&(n.endTime=e.endTime),i={},[4,this.request({path:"/renterApi/v1/building/search/tour/availabilities",method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.TourAvailabilityResponseFromJSON(e)}))]}}))}))},t.prototype.searchBuilding=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.searchBuildingRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.searchBuilding1Raw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.calendarId||void 0===e.calendarId)throw new s.RequiredError("calendarId","Required parameter requestParameters.calendarId was null or undefined when calling searchBuilding1.");if(null===e.startTime||void 0===e.startTime)throw new s.RequiredError("startTime","Required parameter requestParameters.startTime was null or undefined when calling searchBuilding1.");if(null===e.endTime||void 0===e.endTime)throw new s.RequiredError("endTime","Required parameter requestParameters.endTime was null or undefined when calling searchBuilding1.");if(null===e.tourTypes||void 0===e.tourTypes)throw new s.RequiredError("tourTypes","Required parameter requestParameters.tourTypes was null or undefined when calling searchBuilding1.");return n={},void 0!==e.calendarId&&(n.calendarId=e.calendarId),void 0!==e.startTime&&(n.startTime=e.startTime),void 0!==e.endTime&&(n.endTime=e.endTime),void 0!==e.tourTypes&&(n.tourTypes=e.tourTypes),i={},[4,this.request({path:"/renterApi/v1/building/search/tour/availabilities/calendar",method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.TourAvailabilityResponseFromJSON(e)}))]}}))}))},t.prototype.searchBuilding1=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.searchBuilding1Raw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t}(s.BaseAPI);t.RenterBuildingControllerApi=l},4797:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.RenterContextControllerApi=void 0;var s=n(296),u=n(4584),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.associateLeadRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.contextId||void 0===e.contextId)throw new s.RequiredError("contextId","Required parameter requestParameters.contextId was null or undefined when calling associateLead.");if(null===e.associateLeadRequestDto||void 0===e.associateLeadRequestDto)throw new s.RequiredError("associateLeadRequestDto","Required parameter requestParameters.associateLeadRequestDto was null or undefined when calling associateLead.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/renterApi/v1/context/associateLead/{contextId}".replace("{contextId}",encodeURIComponent(String(e.contextId))),method:"POST",headers:i,query:n,body:u.AssociateLeadRequestDtoToJSON(e.associateLeadRequestDto)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.associateLead=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.associateLeadRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.associateLeadByStateIdRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.stateId||void 0===e.stateId)throw new s.RequiredError("stateId","Required parameter requestParameters.stateId was null or undefined when calling associateLeadByStateId.");if(null===e.associateLeadRequestDto||void 0===e.associateLeadRequestDto)throw new s.RequiredError("associateLeadRequestDto","Required parameter requestParameters.associateLeadRequestDto was null or undefined when calling associateLeadByStateId.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/renterApi/v1/context/associateLeadByStateId/{stateId}".replace("{stateId}",encodeURIComponent(String(e.stateId))),method:"POST",headers:i,query:n,body:u.AssociateLeadRequestDtoToJSON(e.associateLeadRequestDto)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.associateLeadByStateId=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.associateLeadByStateIdRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getContextByPartyIdRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.partyId||void 0===e.partyId)throw new s.RequiredError("partyId","Required parameter requestParameters.partyId was null or undefined when calling getContextByPartyId.");return n={},i={},[4,this.request({path:"/renterApi/v1/context/partyId/{partyId}".replace("{partyId}",encodeURIComponent(String(e.partyId))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.ContextDtoFromJSON(e)}))]}}))}))},t.prototype.getContextByPartyId=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getContextByPartyIdRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getOrCreateContextFromChatRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling getOrCreateContextFromChat.");if(null===e.getOrCreateContextDto||void 0===e.getOrCreateContextDto)throw new s.RequiredError("getOrCreateContextDto","Required parameter requestParameters.getOrCreateContextDto was null or undefined when calling getOrCreateContextFromChat.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/renterApi/v1/context/chat/getOrCreate/{id}".replace("{id}",encodeURIComponent(String(e.id))),method:"POST",headers:i,query:n,body:u.GetOrCreateContextDtoToJSON(e.getOrCreateContextDto)},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.ContextDtoFromJSON(e)}))]}}))}))},t.prototype.getOrCreateContextFromChat=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getOrCreateContextFromChatRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t}(s.BaseAPI);t.RenterContextControllerApi=l},9925:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.RenterLeadSourcesControllerApi=void 0;var s=n(296),u=n(4584),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.getLeadSourcesIntegrationRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.buildingId||void 0===e.buildingId)throw new s.RequiredError("buildingId","Required parameter requestParameters.buildingId was null or undefined when calling getLeadSourcesIntegration.");return n={},i={},[4,this.request({path:"/renterApi/v1/leadSources/crm/building/{buildingId}".replace("{buildingId}",encodeURIComponent(String(e.buildingId))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.LeadSourceResponseFromJSON(e)}))]}}))}))},t.prototype.getLeadSourcesIntegration=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getLeadSourcesIntegrationRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t}(s.BaseAPI);t.RenterLeadSourcesControllerApi=l},9412:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.RenterPartyControllerApi=void 0;var s=n(296),u=n(4584),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.updatePartyLeadRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling updatePartyLead.");if(null===e.leadInfoUpdateDto||void 0===e.leadInfoUpdateDto)throw new s.RequiredError("leadInfoUpdateDto","Required parameter requestParameters.leadInfoUpdateDto was null or undefined when calling updatePartyLead.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/renterApi/v1/party/{id}/lead".replace("{id}",encodeURIComponent(String(e.id))),method:"PUT",headers:i,query:n,body:u.LeadInfoUpdateDtoToJSON(e.leadInfoUpdateDto)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.updatePartyLead=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.updatePartyLeadRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t}(s.BaseAPI);t.RenterPartyControllerApi=l},7411:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.RetrieveQuestionAnswersAcceptEnum=t.RenterQaControllerApi=void 0;var s=n(296),u=n(4584),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.retrieveQuestionAnswersRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.requestBody||void 0===e.requestBody)throw new s.RequiredError("requestBody","Required parameter requestParameters.requestBody was null or undefined when calling retrieveQuestionAnswers.");return n={},void 0!==e.requestBody&&(n.requestBody=e.requestBody),i={},void 0!==e.accept&&null!==e.accept&&(i.Accept=String(e.accept)),[4,this.request({path:"/renterApi/v1/qa",method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.ElisePredictedResponseFromJSON(e)}))]}}))}))},t.prototype.retrieveQuestionAnswers=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.retrieveQuestionAnswersRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t}(s.BaseAPI);t.RenterQaControllerApi=l,(t.RetrieveQuestionAnswersAcceptEnum||(t.RetrieveQuestionAnswersAcceptEnum={})).ApplicationJson="application/json"},1562:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.RenterTourControllerApi=void 0;var s=n(296),u=n(4584),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.bookRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.bookTourDto||void 0===e.bookTourDto)throw new s.RequiredError("bookTourDto","Required parameter requestParameters.bookTourDto was null or undefined when calling book.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/renterApi/v1/tour/book",method:"POST",headers:i,query:n,body:u.BookTourDtoToJSON(e.bookTourDto)},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.EliseCalendarEventFromJSON(e)}))]}}))}))},t.prototype.book=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.bookRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.bookByStateIdRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.bookTourByStateIdDto||void 0===e.bookTourByStateIdDto)throw new s.RequiredError("bookTourByStateIdDto","Required parameter requestParameters.bookTourByStateIdDto was null or undefined when calling bookByStateId.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/renterApi/v1/tour/bookByStateId",method:"POST",headers:i,query:n,body:u.BookTourByStateIdDtoToJSON(e.bookTourByStateIdDto)},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.EliseCalendarEventFromJSON(e)}))]}}))}))},t.prototype.bookByStateId=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.bookByStateIdRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.cancelAllRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.cancelTourDto||void 0===e.cancelTourDto)throw new s.RequiredError("cancelTourDto","Required parameter requestParameters.cancelTourDto was null or undefined when calling cancelAll.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/renterApi/v1/tour/cancelAll",method:"POST",headers:i,query:n,body:u.CancelTourDtoToJSON(e.cancelTourDto)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.cancelAll=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.cancelAllRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.cancelAllByStateIdRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.cancelTourByStateIdDto||void 0===e.cancelTourByStateIdDto)throw new s.RequiredError("cancelTourByStateIdDto","Required parameter requestParameters.cancelTourByStateIdDto was null or undefined when calling cancelAllByStateId.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/renterApi/v1/tour/cancelAllByStateId",method:"POST",headers:i,query:n,body:u.CancelTourByStateIdDtoToJSON(e.cancelTourByStateIdDto)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.cancelAllByStateId=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.cancelAllByStateIdRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t}(s.BaseAPI);t.RenterTourControllerApi=l},3195:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.RenterUnitControllerApi=void 0;var s=n(296),u=n(4584),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.getAvailableUnitsRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.buildingId||void 0===e.buildingId)throw new s.RequiredError("buildingId","Required parameter requestParameters.buildingId was null or undefined when calling getAvailableUnits.");if(null===e.layouts||void 0===e.layouts)throw new s.RequiredError("layouts","Required parameter requestParameters.layouts was null or undefined when calling getAvailableUnits.");if(null===e.startDate||void 0===e.startDate)throw new s.RequiredError("startDate","Required parameter requestParameters.startDate was null or undefined when calling getAvailableUnits.");if(null===e.endDate||void 0===e.endDate)throw new s.RequiredError("endDate","Required parameter requestParameters.endDate was null or undefined when calling getAvailableUnits.");return n={},void 0!==e.buildingId&&(n.buildingId=e.buildingId),e.layouts&&(n.layouts=e.layouts),void 0!==e.startDate&&(n.startDate=e.startDate.toISOString().substr(0,10)),void 0!==e.endDate&&(n.endDate=e.endDate.toISOString().substr(0,10)),i={},[4,this.request({path:"/renterApi/v1/unit/availability",method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return e.map(u.UnitDetailsFromJSON)}))]}}))}))},t.prototype.getAvailableUnits=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getAvailableUnitsRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t}(s.BaseAPI);t.RenterUnitControllerApi=l},3978:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.RenterUserControllerApi=void 0;var s=n(296),u=n(4584),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.findByEmailRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.email||void 0===e.email)throw new s.RequiredError("email","Required parameter requestParameters.email was null or undefined when calling findByEmail.");return n={},i={},[4,this.request({path:"/renterApi/v1/user/email/{email}".replace("{email}",encodeURIComponent(String(e.email))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.XagacityUserFromJSON(e)}))]}}))}))},t.prototype.findByEmail=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.findByEmailRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.findByIdRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling findById.");return n={},i={},[4,this.request({path:"/renterApi/v1/user/{id}".replace("{id}",encodeURIComponent(String(e.id))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.XagacityUserFromJSON(e)}))]}}))}))},t.prototype.findById=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.findByIdRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getEntitiesRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.entityConfig||void 0===e.entityConfig)throw new s.RequiredError("entityConfig","Required parameter requestParameters.entityConfig was null or undefined when calling getEntities.");return n={},void 0!==e.entityConfig&&(n.entityConfig=e.entityConfig),i={},[4,this.request({path:"/renterApi/v1/user/entities",method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return e.map(u.InboxEntityFromJSON)}))]}}))}))},t.prototype.getEntities=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getEntitiesRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t}(s.BaseAPI);t.RenterUserControllerApi=l},7282:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.ReportingServiceControllerApi=void 0;var s=n(296),u=n(4584),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.generateAndDownloadExcelReportRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.buildingId||void 0===e.buildingId)throw new s.RequiredError("buildingId","Required parameter requestParameters.buildingId was null or undefined when calling generateAndDownloadExcelReport.");if(null===e.startDate||void 0===e.startDate)throw new s.RequiredError("startDate","Required parameter requestParameters.startDate was null or undefined when calling generateAndDownloadExcelReport.");if(null===e.endDate||void 0===e.endDate)throw new s.RequiredError("endDate","Required parameter requestParameters.endDate was null or undefined when calling generateAndDownloadExcelReport.");return n={},void 0!==e.buildingId&&(n.buildingId=e.buildingId),void 0!==e.startDate&&(n.startDate=e.startDate.toISOString().substr(0,10)),void 0!==e.endDate&&(n.endDate=e.endDate.toISOString().substr(0,10)),i={},[4,this.request({path:"/api/v1/report/excel/generateAndDownload",method:"POST",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r)]}}))}))},t.prototype.generateAndDownloadExcelReport=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.generateAndDownloadExcelReportRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.generateAndSendExcelReportsRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.generateAndSendExcelReportsOverrideSettings||void 0===e.generateAndSendExcelReportsOverrideSettings)throw new s.RequiredError("generateAndSendExcelReportsOverrideSettings","Required parameter requestParameters.generateAndSendExcelReportsOverrideSettings was null or undefined when calling generateAndSendExcelReports.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/report/excel/generateAndSend",method:"POST",headers:i,query:n,body:u.GenerateAndSendExcelReportsOverrideSettingsToJSON(e.generateAndSendExcelReportsOverrideSettings)},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r)]}}))}))},t.prototype.generateAndSendExcelReports=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.generateAndSendExcelReportsRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getBuildingsToReceiveReportsRaw=function(e){return o(this,void 0,void 0,(function(){var t,n,i;return a(this,(function(r){switch(r.label){case 0:return t={},n={},[4,this.request({path:"/api/v1/report/buildingsToReceiveReports",method:"GET",headers:n,query:t},e)];case 1:return i=r.sent(),[2,new s.JSONApiResponse(i)]}}))}))},t.prototype.getBuildingsToReceiveReports=function(e){return o(this,void 0,void 0,(function(){return a(this,(function(t){switch(t.label){case 0:return[4,this.getBuildingsToReceiveReportsRaw(e)];case 1:return[4,t.sent().value()];case 2:return[2,t.sent()]}}))}))},t.prototype.getByBuildingAndDateRangeRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.getReportsForBuildingAndDateRangeDto||void 0===e.getReportsForBuildingAndDateRangeDto)throw new s.RequiredError("getReportsForBuildingAndDateRangeDto","Required parameter requestParameters.getReportsForBuildingAndDateRangeDto was null or undefined when calling getByBuildingAndDateRange.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/report",method:"POST",headers:i,query:n,body:u.GetReportsForBuildingAndDateRangeDtoToJSON(e.getReportsForBuildingAndDateRangeDto)},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return e.map(u.HourlyReportDtoFromJSON)}))]}}))}))},t.prototype.getByBuildingAndDateRange=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getByBuildingAndDateRangeRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getByBuildingsAndDateRangeRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.getReportsForBuildingsAndDateRangeDto||void 0===e.getReportsForBuildingsAndDateRangeDto)throw new s.RequiredError("getReportsForBuildingsAndDateRangeDto","Required parameter requestParameters.getReportsForBuildingsAndDateRangeDto was null or undefined when calling getByBuildingsAndDateRange.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/report/getForBuildings",method:"POST",headers:i,query:n,body:u.GetReportsForBuildingsAndDateRangeDtoToJSON(e.getReportsForBuildingsAndDateRangeDto)},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.WebReportingDashboardResponseFromJSON(e)}))]}}))}))},t.prototype.getByBuildingsAndDateRange=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getByBuildingsAndDateRangeRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getExcelReportSettingsRaw=function(e){return o(this,void 0,void 0,(function(){var t,n,i;return a(this,(function(r){switch(r.label){case 0:return t={},n={},[4,this.request({path:"/api/v1/report/excel/settings",method:"GET",headers:n,query:t},e)];case 1:return i=r.sent(),[2,new s.JSONApiResponse(i,(function(e){return e.map(u.ReportSettingFromJSON)}))]}}))}))},t.prototype.getExcelReportSettings=function(e){return o(this,void 0,void 0,(function(){return a(this,(function(t){switch(t.label){case 0:return[4,this.getExcelReportSettingsRaw(e)];case 1:return[4,t.sent().value()];case 2:return[2,t.sent()]}}))}))},t.prototype.getRecipientsRaw=function(e){return o(this,void 0,void 0,(function(){var t,n,i;return a(this,(function(r){switch(r.label){case 0:return t={},n={},[4,this.request({path:"/api/v1/report/recipients",method:"GET",headers:n,query:t},e)];case 1:return i=r.sent(),[2,new s.JSONApiResponse(i,(function(e){return e.map(u.WeeklyReportEmailFromJSON)}))]}}))}))},t.prototype.getRecipients=function(e){return o(this,void 0,void 0,(function(){return a(this,(function(t){switch(t.label){case 0:return[4,this.getRecipientsRaw(e)];case 1:return[4,t.sent().value()];case 2:return[2,t.sent()]}}))}))},t.prototype.upsertReportSettingRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.reportSetting||void 0===e.reportSetting)throw new s.RequiredError("reportSetting","Required parameter requestParameters.reportSetting was null or undefined when calling upsertReportSetting.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/report/excel/reportSettings",method:"POST",headers:i,query:n,body:u.ReportSettingToJSON(e.reportSetting)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.upsertReportSetting=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.upsertReportSettingRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t}(s.BaseAPI);t.ReportingServiceControllerApi=l},307:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.ResponseTemplateControllerApi=void 0;var s=n(296),u=n(4584),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.resolveBatchRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.resolveScriptsRequest||void 0===e.resolveScriptsRequest)throw new s.RequiredError("resolveScriptsRequest","Required parameter requestParameters.resolveScriptsRequest was null or undefined when calling resolveBatch.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/renterApi/v1/responseTemplates/resolve",method:"POST",headers:i,query:n,body:u.ResolveScriptsRequestToJSON(e.resolveScriptsRequest)},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return e.map(u.ScriptFromJSON)}))]}}))}))},t.prototype.resolveBatch=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.resolveBatchRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t}(s.BaseAPI);t.ResponseTemplateControllerApi=l},4968:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.Update2ScriptTypeEnum=t.GetScriptTypeEnum=t.DeleteScriptTypeEnum=t.ScriptsApiControllerApi=void 0;var s,u,l,d=n(296),c=n(4584),p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype._deleteRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new d.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling _delete.");if(null===e.scriptType||void 0===e.scriptType)throw new d.RequiredError("scriptType","Required parameter requestParameters.scriptType was null or undefined when calling _delete.");return n={},i={},[4,this.request({path:"/api/v1/scripts/{id}/type/{scriptType}".replace("{id}",encodeURIComponent(String(e.id))).replace("{scriptType}",encodeURIComponent(String(e.scriptType))),method:"DELETE",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new d.JSONApiResponse(r,(function(e){return c.ScriptFromJSON(e)}))]}}))}))},t.prototype._delete=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this._deleteRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.createRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.createScriptRequest||void 0===e.createScriptRequest)throw new d.RequiredError("createScriptRequest","Required parameter requestParameters.createScriptRequest was null or undefined when calling create.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/scripts/",method:"POST",headers:i,query:n,body:c.CreateScriptRequestToJSON(e.createScriptRequest)},t)];case 1:return r=o.sent(),[2,new d.JSONApiResponse(r,(function(e){return c.ScriptFromJSON(e)}))]}}))}))},t.prototype.create=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.createRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new d.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling get.");if(null===e.scriptType||void 0===e.scriptType)throw new d.RequiredError("scriptType","Required parameter requestParameters.scriptType was null or undefined when calling get.");return n={},i={},[4,this.request({path:"/api/v1/scripts/{id}/type/{scriptType}".replace("{id}",encodeURIComponent(String(e.id))).replace("{scriptType}",encodeURIComponent(String(e.scriptType))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new d.JSONApiResponse(r,(function(e){return c.ScriptFromJSON(e)}))]}}))}))},t.prototype.get=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.get1Raw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.query||void 0===e.query)throw new d.RequiredError("query","Required parameter requestParameters.query was null or undefined when calling get1.");return n={},void 0!==e.query&&(n.query=e.query),i={},[4,this.request({path:"/api/v1/scripts/search",method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new d.JSONApiResponse(r,(function(e){return c.ScriptSearchResultFromJSON(e)}))]}}))}))},t.prototype.get1=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.get1Raw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.update2Raw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new d.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling update2.");if(null===e.scriptType||void 0===e.scriptType)throw new d.RequiredError("scriptType","Required parameter requestParameters.scriptType was null or undefined when calling update2.");if(null===e.updateScriptRequest||void 0===e.updateScriptRequest)throw new d.RequiredError("updateScriptRequest","Required parameter requestParameters.updateScriptRequest was null or undefined when calling update2.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/scripts/{id}/type/{scriptType}".replace("{id}",encodeURIComponent(String(e.id))).replace("{scriptType}",encodeURIComponent(String(e.scriptType))),method:"PUT",headers:i,query:n,body:c.UpdateScriptRequestToJSON(e.updateScriptRequest)},t)];case 1:return r=o.sent(),[2,new d.JSONApiResponse(r,(function(e){return c.ScriptFromJSON(e)}))]}}))}))},t.prototype.update2=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.update2Raw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t}(d.BaseAPI);t.ScriptsApiControllerApi=p,(l=t.DeleteScriptTypeEnum||(t.DeleteScriptTypeEnum={})).All="ALL",l.Template="TEMPLATE",l.TemplateItem="TEMPLATE_ITEM",(u=t.GetScriptTypeEnum||(t.GetScriptTypeEnum={})).All="ALL",u.Template="TEMPLATE",u.TemplateItem="TEMPLATE_ITEM",(s=t.Update2ScriptTypeEnum||(t.Update2ScriptTypeEnum={})).All="ALL",s.Template="TEMPLATE",s.TemplateItem="TEMPLATE_ITEM"},2760:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.TaggingControllerApi=void 0;var s=n(296),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.getAttributesRaw=function(e){return o(this,void 0,void 0,(function(){var t,n,i;return a(this,(function(r){switch(r.label){case 0:return t={},n={},[4,this.request({path:"/api/v1/tagging/attributes",method:"GET",headers:n,query:t},e)];case 1:return i=r.sent(),[2,new s.TextApiResponse(i)]}}))}))},t.prototype.getAttributes=function(e){return o(this,void 0,void 0,(function(){return a(this,(function(t){switch(t.label){case 0:return[4,this.getAttributesRaw(e)];case 1:return[4,t.sent().value()];case 2:return[2,t.sent()]}}))}))},t.prototype.getIntentsRaw=function(e){return o(this,void 0,void 0,(function(){var t,n,i;return a(this,(function(r){switch(r.label){case 0:return t={},n={},[4,this.request({path:"/api/v1/tagging/intents",method:"GET",headers:n,query:t},e)];case 1:return i=r.sent(),[2,new s.TextApiResponse(i)]}}))}))},t.prototype.getIntents=function(e){return o(this,void 0,void 0,(function(){return a(this,(function(t){switch(t.label){case 0:return[4,this.getIntentsRaw(e)];case 1:return[4,t.sent().value()];case 2:return[2,t.sent()]}}))}))},t.prototype.getNextStateRaw=function(e){return o(this,void 0,void 0,(function(){var t,n,i;return a(this,(function(r){switch(r.label){case 0:return t={},n={},[4,this.request({path:"/api/v1/tagging",method:"GET",headers:n,query:t},e)];case 1:return i=r.sent(),[2,new s.TextApiResponse(i)]}}))}))},t.prototype.getNextState=function(e){return o(this,void 0,void 0,(function(){return a(this,(function(t){switch(t.label){case 0:return[4,this.getNextStateRaw(e)];case 1:return[4,t.sent().value()];case 2:return[2,t.sent()]}}))}))},t.prototype.replaceRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/tagging",method:"POST",headers:i,query:n,body:e.body},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.replace=function(e,t){return void 0===e&&(e={}),o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.replaceRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t}(s.BaseAPI);t.TaggingControllerApi=u},8497:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.TaggingS3ControllerApi=void 0;var s=n(296),u=n(4584),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.uploadRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.tagId||void 0===e.tagId)throw new s.RequiredError("tagId","Required parameter requestParameters.tagId was null or undefined when calling upload.");if(null===e.aitId||void 0===e.aitId)throw new s.RequiredError("aitId","Required parameter requestParameters.aitId was null or undefined when calling upload.");if(null===e.env||void 0===e.env)throw new s.RequiredError("env","Required parameter requestParameters.env was null or undefined when calling upload.");return n={},void 0!==e.tagId&&(n.tag_id=e.tagId),void 0!==e.aitId&&(n.ait_id=e.aitId),void 0!==e.env&&(n.env=e.env),(i={})["Content-Type"]="application/json",[4,this.request({path:"/api/taggingS3/uploadState",method:"POST",headers:i,query:n,body:u.InlineObject3ToJSON(e.inlineObject3)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.upload=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.uploadRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t}(s.BaseAPI);t.TaggingS3ControllerApi=l},1270:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.UnsubscribeControllerApi=void 0;var s=n(296),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.unsubscribeFromThreadRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.msgId||void 0===e.msgId)throw new s.RequiredError("msgId","Required parameter requestParameters.msgId was null or undefined when calling unsubscribeFromThread.");if(null===e.agtId||void 0===e.agtId)throw new s.RequiredError("agtId","Required parameter requestParameters.agtId was null or undefined when calling unsubscribeFromThread.");return n={},void 0!==e.msgId&&(n.msgId=e.msgId),void 0!==e.agtId&&(n.agtId=e.agtId),i={},[4,this.request({path:"/api/pub/unsubscribe",method:"POST",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.VoidApiResponse(r)]}}))}))},t.prototype.unsubscribeFromThread=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.unsubscribeFromThreadRaw(e,t)];case 1:return n.sent(),[2]}}))}))},t}(s.BaseAPI);t.UnsubscribeControllerApi=u},6324:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.UserApiControllerApi=void 0;var s=n(296),u=n(4584),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.getAllRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:return n={},void 0!==e.active&&(n.active=e.active),i={},[4,this.request({path:"/api/v1/user/",method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return e.map(u.XagacityUserFromJSON)}))]}}))}))},t.prototype.getAll=function(e,t){return void 0===e&&(e={}),o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getAllRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getOne1Raw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling getOne1.");return n={},i={},[4,this.request({path:"/api/v1/user/{id}".replace("{id}",encodeURIComponent(String(e.id))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.XagacityUserFromJSON(e)}))]}}))}))},t.prototype.getOne1=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getOne1Raw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.update1Raw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling update1.");if(null===e.xagacityUser||void 0===e.xagacityUser)throw new s.RequiredError("xagacityUser","Required parameter requestParameters.xagacityUser was null or undefined when calling update1.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/user/{id}".replace("{id}",encodeURIComponent(String(e.id))),method:"PUT",headers:i,query:n,body:u.XagacityUserToJSON(e.xagacityUser)},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.XagacityUserFromJSON(e)}))]}}))}))},t.prototype.update1=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.update1Raw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t}(s.BaseAPI);t.UserApiControllerApi=l},8878:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.V2BuildingControllerApi=void 0;var s=n(296),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.putChatThemeV2Raw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r,o,u,l;return a(this,(function(a){switch(a.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling putChatThemeV2.");if(null===e.themeId||void 0===e.themeId)throw new s.RequiredError("themeId","Required parameter requestParameters.themeId was null or undefined when calling putChatThemeV2.");if(null===e.subtitle||void 0===e.subtitle)throw new s.RequiredError("subtitle","Required parameter requestParameters.subtitle was null or undefined when calling putChatThemeV2.");if(null===e.avatarType||void 0===e.avatarType)throw new s.RequiredError("avatarType","Required parameter requestParameters.avatarType was null or undefined when calling putChatThemeV2.");return n={},void 0!==e.themeId&&(n.themeId=e.themeId),void 0!==e.subtitle&&(n.subtitle=e.subtitle),void 0!==e.avatarType&&(n.avatarType=e.avatarType),i={},r=[{contentType:"multipart/form-data"}],o=s.canConsumeForm(r),u=o?new FormData:new URLSearchParams,void 0!==e.avatarSrc&&u.append("avatarSrc",e.avatarSrc),[4,this.request({path:"/api/v2/building/{id}/chat-theme".replace("{id}",encodeURIComponent(String(e.id))),method:"POST",headers:i,query:n,body:u},t)];case 1:return l=a.sent(),[2,new s.VoidApiResponse(l)]}}))}))},t.prototype.putChatThemeV2=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.putChatThemeV2Raw(e,t)];case 1:return n.sent(),[2]}}))}))},t}(s.BaseAPI);t.V2BuildingControllerApi=u},5438:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.V2OracleControllerApi=void 0;var s=n(296),u=n(4584),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.getUnitAvailabilitiesRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.getUnitAvailabilitiesRequest||void 0===e.getUnitAvailabilitiesRequest)throw new s.RequiredError("getUnitAvailabilitiesRequest","Required parameter requestParameters.getUnitAvailabilitiesRequest was null or undefined when calling getUnitAvailabilities.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/renterApi/v1/oracleHelper/getUnitAvailabilityDialogue",method:"POST",headers:i,query:n,body:u.GetUnitAvailabilitiesRequestToJSON(e.getUnitAvailabilitiesRequest)},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.GetUnitAvailabilitiesResponseFromJSON(e)}))]}}))}))},t.prototype.getUnitAvailabilities=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getUnitAvailabilitiesRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getUnitAvailabilitiesForEntityRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.getUnitAvailabilitiesRequest2||void 0===e.getUnitAvailabilitiesRequest2)throw new s.RequiredError("getUnitAvailabilitiesRequest2","Required parameter requestParameters.getUnitAvailabilitiesRequest2 was null or undefined when calling getUnitAvailabilitiesForEntity.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/renterApi/v1/oracleHelper/getUnitAvailabilityDialogueForEntity",method:"POST",headers:i,query:n,body:u.GetUnitAvailabilitiesRequest2ToJSON(e.getUnitAvailabilitiesRequest2)},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.GetUnitAvailabilitiesResponseFromJSON(e)}))]}}))}))},t.prototype.getUnitAvailabilitiesForEntity=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getUnitAvailabilitiesForEntityRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t}(s.BaseAPI);t.V2OracleControllerApi=l},917:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.ValidateCredentialsControllerApi=void 0;var s=n(296),u=n(4584),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.getBuildingExpansionResultRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.buildingName||void 0===e.buildingName)throw new s.RequiredError("buildingName","Required parameter requestParameters.buildingName was null or undefined when calling getBuildingExpansionResult.");if(null===e.userId||void 0===e.userId)throw new s.RequiredError("userId","Required parameter requestParameters.userId was null or undefined when calling getBuildingExpansionResult.");if(null===e.streetAddress||void 0===e.streetAddress)throw new s.RequiredError("streetAddress","Required parameter requestParameters.streetAddress was null or undefined when calling getBuildingExpansionResult.");return n={},void 0!==e.buildingName&&(n.buildingName=e.buildingName),void 0!==e.userId&&(n.userId=e.userId),void 0!==e.streetAddress&&(n.streetAddress=e.streetAddress),i={},[4,this.request({path:"/api/v1/validatecredentials/getBuildingExpansionResult",method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.BuildingExpansionValidationResultFromJSON(e)}))]}}))}))},t.prototype.getBuildingExpansionResult=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getBuildingExpansionResultRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.validateCredentialsRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.validateCredentialsRequest||void 0===e.validateCredentialsRequest)throw new s.RequiredError("validateCredentialsRequest","Required parameter requestParameters.validateCredentialsRequest was null or undefined when calling validateCredentials.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/validatecredentials",method:"POST",headers:i,query:n,body:u.ValidateCredentialsRequestToJSON(e.validateCredentialsRequest)},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.ValidateCredentialsResponseFromJSON(e)}))]}}))}))},t.prototype.validateCredentials=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.validateCredentialsRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t}(s.BaseAPI);t.ValidateCredentialsControllerApi=l},656:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.GetAdditionalInfoForConfigStepNameEnum=t.WhiteListingControllerApi=void 0;var s,u=n(296),l=n(4584),d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.continueConfigWithIdRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.configId||void 0===e.configId)throw new u.RequiredError("configId","Required parameter requestParameters.configId was null or undefined when calling continueConfigWithId.");return n={},i={},[4,this.request({path:"/api/v1/whitelisting/continueConfigWithId/{configId}".replace("{configId}",encodeURIComponent(String(e.configId))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new u.JSONApiResponse(r,(function(e){return l.WhiteListingExecutionResultFromJSON(e)}))]}}))}))},t.prototype.continueConfigWithId=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.continueConfigWithIdRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.continueInProgressRaw=function(e){return o(this,void 0,void 0,(function(){var t,n,i;return a(this,(function(r){switch(r.label){case 0:return t={},n={},[4,this.request({path:"/api/v1/whitelisting/continueInProgress",method:"GET",headers:n,query:t},e)];case 1:return i=r.sent(),[2,new u.TextApiResponse(i)]}}))}))},t.prototype.continueInProgress=function(e){return o(this,void 0,void 0,(function(){return a(this,(function(t){switch(t.label){case 0:return[4,this.continueInProgressRaw(e)];case 1:return[4,t.sent().value()];case 2:return[2,t.sent()]}}))}))},t.prototype.getAdditionalInfoForConfigRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.configId||void 0===e.configId)throw new u.RequiredError("configId","Required parameter requestParameters.configId was null or undefined when calling getAdditionalInfoForConfig.");if(null===e.stepName||void 0===e.stepName)throw new u.RequiredError("stepName","Required parameter requestParameters.stepName was null or undefined when calling getAdditionalInfoForConfig.");return n={},i={},[4,this.request({path:"/api/v1/whitelisting/run_step/{configId}/{stepName}".replace("{configId}",encodeURIComponent(String(e.configId))).replace("{stepName}",encodeURIComponent(String(e.stepName))),method:"POST",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new u.TextApiResponse(r)]}}))}))},t.prototype.getAdditionalInfoForConfig=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getAdditionalInfoForConfigRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getAdditionalInfoForConfig1Raw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.createWhitelistConfigRequest||void 0===e.createWhitelistConfigRequest)throw new u.RequiredError("createWhitelistConfigRequest","Required parameter requestParameters.createWhitelistConfigRequest was null or undefined when calling getAdditionalInfoForConfig1.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/whitelisting/createConfig",method:"POST",headers:i,query:n,body:l.CreateWhitelistConfigRequestToJSON(e.createWhitelistConfigRequest)},t)];case 1:return r=o.sent(),[2,new u.JSONApiResponse(r,(function(e){return l.WhiteListConfigFromJSON(e)}))]}}))}))},t.prototype.getAdditionalInfoForConfig1=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getAdditionalInfoForConfig1Raw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getAdditionalInfoForConfig2Raw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.configId||void 0===e.configId)throw new u.RequiredError("configId","Required parameter requestParameters.configId was null or undefined when calling getAdditionalInfoForConfig2.");return n={},i={},[4,this.request({path:"/api/v1/whitelisting/additionalInfo/{configId}".replace("{configId}",encodeURIComponent(String(e.configId))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new u.JSONApiResponse(r,(function(e){return l.WhiteListingAdditionalInfoFromJSON(e)}))]}}))}))},t.prototype.getAdditionalInfoForConfig2=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getAdditionalInfoForConfig2Raw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getViewModelsForBuildingsRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.getWhiteListTestsForBuildingsRequest||void 0===e.getWhiteListTestsForBuildingsRequest)throw new u.RequiredError("getWhiteListTestsForBuildingsRequest","Required parameter requestParameters.getWhiteListTestsForBuildingsRequest was null or undefined when calling getViewModelsForBuildings.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/whitelisting/getViewModelsForBuildings",method:"POST",headers:i,query:n,body:l.GetWhiteListTestsForBuildingsRequestToJSON(e.getWhiteListTestsForBuildingsRequest)},t)];case 1:return r=o.sent(),[2,new u.JSONApiResponse(r,(function(e){return e.map(l.WhiteListTestDtoFromJSON)}))]}}))}))},t.prototype.getViewModelsForBuildings=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getViewModelsForBuildingsRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.initializeWhitelistingRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.initializeWhiteListingConfigRequest||void 0===e.initializeWhiteListingConfigRequest)throw new u.RequiredError("initializeWhiteListingConfigRequest","Required parameter requestParameters.initializeWhiteListingConfigRequest was null or undefined when calling initializeWhitelisting.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/whitelisting/initialize",method:"POST",headers:i,query:n,body:l.InitializeWhiteListingConfigRequestToJSON(e.initializeWhiteListingConfigRequest)},t)];case 1:return r=o.sent(),[2,new u.JSONApiResponse(r,(function(e){return l.WhiteListingExecutionResultFromJSON(e)}))]}}))}))},t.prototype.initializeWhitelisting=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.initializeWhitelistingRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t}(u.BaseAPI);t.WhiteListingControllerApi=d,(s=t.GetAdditionalInfoForConfigStepNameEnum||(t.GetAdditionalInfoForConfigStepNameEnum={})).Initiated="INITIATED",s.ConfigureSettings="CONFIGURE_SETTINGS",s.TimeZoneVerification="TIME_ZONE_VERIFICATION",s.ConfirmAndOrFixApiVersion="CONFIRM_AND_OR_FIX_API_VERSION",s.ActivateBuildingAutoSend="ACTIVATE_BUILDING_AUTO_SEND",s.AddAitsToBuilding="ADD_AITS_TO_BUILDING",s.RerunAvailabilities="RERUN_AVAILABILITIES",s.InsertGuestCard="INSERT_GUEST_CARD",s.InitialEmailReceived="INITIAL_EMAIL_RECEIVED",s.RequestTourDayEmailSent="REQUEST_TOUR_DAY_EMAIL_SENT",s.AiSentTimeSuggestion="AI_SENT_TIME_SUGGESTION",s.AcceptTourTimeEmailSent="ACCEPT_TOUR_TIME_EMAIL_SENT",s.AppointmentScheduled="APPOINTMENT_SCHEDULED",s.AppointmentOnGuestCard="APPOINTMENT_ON_GUEST_CARD",s.RequestCancelTour="REQUEST_CANCEL_TOUR",s.AppointmentCanceled="APPOINTMENT_CANCELED",s.AppointmentRemovedFromGuestCard="APPOINTMENT_REMOVED_FROM_GUEST_CARD"},1827:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.XagacityUserControllerApi=void 0;var s=n(296),u=n(4584),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.getOneRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling getOne.");return n={},i={},[4,this.request({path:"/api/v2/user/{id}".replace("{id}",encodeURIComponent(String(e.id))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.XagacityUserWithCredentialsFromJSON(e)}))]}}))}))},t.prototype.getOne=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getOneRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.updateRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling update.");if(null===e.xagacityUserWithCredentials||void 0===e.xagacityUserWithCredentials)throw new s.RequiredError("xagacityUserWithCredentials","Required parameter requestParameters.xagacityUserWithCredentials was null or undefined when calling update.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/api/v2/user/{id}".replace("{id}",encodeURIComponent(String(e.id))),method:"PUT",headers:i,query:n,body:u.XagacityUserWithCredentialsToJSON(e.xagacityUserWithCredentials)},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.XagacityUserWithCredentialsFromJSON(e)}))]}}))}))},t.prototype.update=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.updateRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t}(s.BaseAPI);t.XagacityUserControllerApi=l},8887:function(e,t,n){var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(8005),t),r(n(2497),t),r(n(8730),t),r(n(9530),t),r(n(8823),t),r(n(4100),t),r(n(1210),t),r(n(3515),t),r(n(5855),t),r(n(4345),t),r(n(2938),t),r(n(5021),t),r(n(9962),t),r(n(8196),t),r(n(5282),t),r(n(4702),t),r(n(683),t),r(n(5977),t),r(n(8242),t),r(n(9714),t),r(n(7659),t),r(n(2311),t),r(n(5827),t),r(n(5334),t),r(n(7043),t),r(n(1092),t),r(n(535),t),r(n(4071),t),r(n(5834),t),r(n(4797),t),r(n(9925),t),r(n(9412),t),r(n(7411),t),r(n(1562),t),r(n(3195),t),r(n(3978),t),r(n(7282),t),r(n(307),t),r(n(4968),t),r(n(2760),t),r(n(8497),t),r(n(1270),t),r(n(6324),t),r(n(8878),t),r(n(5438),t),r(n(917),t),r(n(656),t),r(n(1827),t)},9991:function(e,t,n){var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(296),t),r(n(8887),t),r(n(4584),t)},6662:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AdditionalSourceConfiguarionsToJSON=t.AdditionalSourceConfiguarionsFromJSONTyped=t.AdditionalSourceConfiguarionsFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{availabilitiesType:i.exists(e,"availabilitiesType")?e.availabilitiesType:void 0,fieldsToBeEnriched:i.exists(e,"fieldsToBeEnriched")?e.fieldsToBeEnriched:void 0}}t.AdditionalSourceConfiguarionsFromJSON=function(e){return r(e)},t.AdditionalSourceConfiguarionsFromJSONTyped=r,t.AdditionalSourceConfiguarionsToJSON=function(e){if(void 0!==e)return null===e?null:{availabilitiesType:e.availabilitiesType,fieldsToBeEnriched:e.fieldsToBeEnriched}}},2322:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AddressToJSON=t.AddressFromJSONTyped=t.AddressFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{city:i.exists(e,"city")?e.city:void 0,house:i.exists(e,"house")?e.house:void 0,neighborhood:i.exists(e,"neighborhood")?e.neighborhood:void 0,raw:i.exists(e,"raw")?e.raw:void 0,state:i.exists(e,"state")?e.state:void 0,street:i.exists(e,"street")?e.street:void 0,zip:i.exists(e,"zip")?e.zip:void 0}}t.AddressFromJSON=function(e){return r(e)},t.AddressFromJSONTyped=r,t.AddressToJSON=function(e){if(void 0!==e)return null===e?null:{city:e.city,house:e.house,neighborhood:e.neighborhood,raw:e.raw,state:e.state,street:e.street,zip:e.zip}}},1961:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AiAssistantStubInfoToJSON=t.AiAssistantStubInfoFromJSONTyped=t.AiAssistantStubInfoFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{id:e.id,buildingId:e.buildingId,crmType:e.crmType,email:i.exists(e,"email")?e.email:void 0,firstName:i.exists(e,"firstName")?e.firstName:void 0,lastName:i.exists(e,"lastName")?e.lastName:void 0}}t.AiAssistantStubInfoFromJSON=function(e){return r(e)},t.AiAssistantStubInfoFromJSONTyped=r,t.AiAssistantStubInfoToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,buildingId:e.buildingId,crmType:e.crmType,email:e.email,firstName:e.firstName,lastName:e.lastName}}},818:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AlertQueueInfoToJSON=t.AlertQueueInfoFromJSONTyped=t.AlertQueueInfoFromJSON=t.AlertQueueInfoConversationTypeEnum=void 0;var i,r=n(296);function o(e,t){return null==e?e:{firstName:r.exists(e,"firstName")?e.firstName:void 0,lastName:r.exists(e,"lastName")?e.lastName:void 0,email:r.exists(e,"email")?e.email:void 0,phoneNumber:r.exists(e,"phoneNumber")?e.phoneNumber:void 0,handoffStatus:r.exists(e,"handoffStatus")?e.handoffStatus:void 0,dateUpdated:r.exists(e,"dateUpdated")?new Date(e.dateUpdated):void 0,conversationType:r.exists(e,"conversationType")?e.conversationType:void 0,alertType:r.exists(e,"alertType")?e.alertType:void 0,contextId:r.exists(e,"contextId")?e.contextId:void 0,conversationKey:r.exists(e,"conversationKey")?e.conversationKey:void 0,failureReason:r.exists(e,"failureReason")?e.failureReason:void 0}}(i=t.AlertQueueInfoConversationTypeEnum||(t.AlertQueueInfoConversationTypeEnum={})).Email="EMAIL",i.Phone="PHONE",t.AlertQueueInfoFromJSON=function(e){return o(e)},t.AlertQueueInfoFromJSONTyped=o,t.AlertQueueInfoToJSON=function(e){if(void 0!==e)return null===e?null:{firstName:e.firstName,lastName:e.lastName,email:e.email,phoneNumber:e.phoneNumber,handoffStatus:e.handoffStatus,dateUpdated:void 0===e.dateUpdated?void 0:e.dateUpdated.toISOString(),conversationType:e.conversationType,alertType:e.alertType,contextId:e.contextId,conversationKey:e.conversationKey,failureReason:e.failureReason}}},6140:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AlertQueueMessageToJSON=t.AlertQueueMessageFromJSONTyped=t.AlertQueueMessageFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{sender:i.exists(e,"sender")?e.sender:void 0,message:i.exists(e,"message")?e.message:void 0,timeSent:i.exists(e,"timeSent")?new Date(e.timeSent):void 0,sentByElise:i.exists(e,"sentByElise")?e.sentByElise:void 0}}t.AlertQueueMessageFromJSON=function(e){return r(e)},t.AlertQueueMessageFromJSONTyped=r,t.AlertQueueMessageToJSON=function(e){if(void 0!==e)return null===e?null:{sender:e.sender,message:e.message,timeSent:void 0===e.timeSent?void 0:e.timeSent.toISOString(),sentByElise:e.sentByElise}}},5246:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AlternativeGeoAddressToJSON=t.AlternativeGeoAddressFromJSONTyped=t.AlternativeGeoAddressFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{alternativeIlsAdress:i.exists(e,"alternativeIlsAdress")?e.alternativeIlsAdress:void 0,alternativeIlsAddressGeoFormat:i.exists(e,"alternativeIlsAddressGeoFormat")?e.alternativeIlsAddressGeoFormat:void 0}}t.AlternativeGeoAddressFromJSON=function(e){return r(e)},t.AlternativeGeoAddressFromJSONTyped=r,t.AlternativeGeoAddressToJSON=function(e){if(void 0!==e)return null===e?null:{alternativeIlsAdress:e.alternativeIlsAdress,alternativeIlsAddressGeoFormat:e.alternativeIlsAddressGeoFormat}}},5556:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AlternativeILSAddressGeoFormatToJSON=t.AlternativeILSAddressGeoFormatFromJSONTyped=t.AlternativeILSAddressGeoFormatFromJSON=void 0;var i=n(296),r=n(5246);function o(e,t){return null==e?e:{alternativeGeoAdresses:i.exists(e,"alternativeGeoAdresses")?e.alternativeGeoAdresses.map(r.AlternativeGeoAddressFromJSON):void 0}}t.AlternativeILSAddressGeoFormatFromJSON=function(e){return o(e)},t.AlternativeILSAddressGeoFormatFromJSONTyped=o,t.AlternativeILSAddressGeoFormatToJSON=function(e){if(void 0!==e)return null===e?null:{alternativeGeoAdresses:void 0===e.alternativeGeoAdresses?void 0:e.alternativeGeoAdresses.map(r.AlternativeGeoAddressToJSON)}}},7455:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AnyoneHomeCredentialsToJSON=t.AnyoneHomeCredentialsFromJSONTyped=t.AnyoneHomeCredentialsFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{id:i.exists(e,"id")?e.id:void 0,userId:i.exists(e,"userId")?e.userId:void 0,domain:i.exists(e,"domain")?e.domain:void 0,userName:i.exists(e,"userName")?e.userName:void 0,password:i.exists(e,"password")?e.password:void 0,apiKey:i.exists(e,"apiKey")?e.apiKey:void 0,leasingAgentId:i.exists(e,"leasingAgentId")?e.leasingAgentId:void 0}}t.AnyoneHomeCredentialsFromJSON=function(e){return r(e)},t.AnyoneHomeCredentialsFromJSONTyped=r,t.AnyoneHomeCredentialsToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,userId:e.userId,domain:e.domain,userName:e.userName,password:e.password,apiKey:e.apiKey,leasingAgentId:e.leasingAgentId}}},3617:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AppointmentHoursToJSON=t.AppointmentHoursFromJSONTyped=t.AppointmentHoursFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{daysOfWeek:i.exists(e,"daysOfWeek")?e.daysOfWeek:void 0,startTime:i.exists(e,"startTime")?e.startTime:void 0,endTime:i.exists(e,"endTime")?e.endTime:void 0,lastAppointmentStartTime:i.exists(e,"lastAppointmentStartTime")?e.lastAppointmentStartTime:void 0,lastStartTimeForTheSameDay:i.exists(e,"lastStartTimeForTheSameDay")?e.lastStartTimeForTheSameDay:void 0,daysOfWeekString:i.exists(e,"daysOfWeekString")?e.daysOfWeekString:void 0,specialAppointmentDuration:i.exists(e,"specialAppointmentDuration")?e.specialAppointmentDuration:void 0,maxNumberOfAppointments:i.exists(e,"maxNumberOfAppointments")?e.maxNumberOfAppointments:void 0,openHouseSpecific:i.exists(e,"openHouseSpecific")?e.openHouseSpecific:void 0,specificDate:i.exists(e,"specificDate")?new Date(e.specificDate):void 0}}t.AppointmentHoursFromJSON=function(e){return r(e)},t.AppointmentHoursFromJSONTyped=r,t.AppointmentHoursToJSON=function(e){if(void 0!==e)return null===e?null:{daysOfWeek:e.daysOfWeek,startTime:e.startTime,endTime:e.endTime,lastAppointmentStartTime:e.lastAppointmentStartTime,lastStartTimeForTheSameDay:e.lastStartTimeForTheSameDay,daysOfWeekString:e.daysOfWeekString,specialAppointmentDuration:e.specialAppointmentDuration,maxNumberOfAppointments:e.maxNumberOfAppointments,openHouseSpecific:e.openHouseSpecific,specificDate:void 0===e.specificDate?void 0:e.specificDate.toISOString().substr(0,10)}}},67:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AssociateLeadRequestDtoToJSON=t.AssociateLeadRequestDtoFromJSONTyped=t.AssociateLeadRequestDtoFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{buildingId:i.exists(e,"buildingId")?e.buildingId:void 0,email:i.exists(e,"email")?e.email:void 0}}t.AssociateLeadRequestDtoFromJSON=function(e){return r(e)},t.AssociateLeadRequestDtoFromJSONTyped=r,t.AssociateLeadRequestDtoToJSON=function(e){if(void 0!==e)return null===e?null:{buildingId:e.buildingId,email:e.email}}},1234:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AttachmentToJSON=t.AttachmentFromJSONTyped=t.AttachmentFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{emailClientName:i.exists(e,"emailClientName")?e.emailClientName:void 0,rawData:i.exists(e,"rawData")?e.rawData:void 0,tempFile:i.exists(e,"tempFile")?e.tempFile:void 0,amazonKeyName:i.exists(e,"amazonKeyName")?e.amazonKeyName:void 0,fileType:i.exists(e,"fileType")?e.fileType:void 0,fileName:i.exists(e,"fileName")?e.fileName:void 0,fileUrl:i.exists(e,"fileUrl")?e.fileUrl:void 0,attachmentName:i.exists(e,"attachmentName")?e.attachmentName:void 0}}t.AttachmentFromJSON=function(e){return r(e)},t.AttachmentFromJSONTyped=r,t.AttachmentToJSON=function(e){if(void 0!==e)return null===e?null:{emailClientName:e.emailClientName,rawData:e.rawData,tempFile:e.tempFile,amazonKeyName:e.amazonKeyName,fileType:e.fileType,fileName:e.fileName,fileUrl:e.fileUrl,attachmentName:e.attachmentName}}},1995:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AvailabilitiesPreferencesToJSON=t.AvailabilitiesPreferencesFromJSONTyped=t.AvailabilitiesPreferencesFromJSON=void 0;var i=n(296),r=n(6662);function o(e,t){return null==e?e:{timesToRunInCronFormat:i.exists(e,"timesToRunInCronFormat")?e.timesToRunInCronFormat:void 0,additionalSourceConfigurations:i.exists(e,"additionalSourceConfigurations")?e.additionalSourceConfigurations.map(r.AdditionalSourceConfiguarionsFromJSON):void 0}}t.AvailabilitiesPreferencesFromJSON=function(e){return o(e)},t.AvailabilitiesPreferencesFromJSONTyped=o,t.AvailabilitiesPreferencesToJSON=function(e){if(void 0!==e)return null===e?null:{timesToRunInCronFormat:e.timesToRunInCronFormat,additionalSourceConfigurations:void 0===e.additionalSourceConfigurations?void 0:e.additionalSourceConfigurations.map(r.AdditionalSourceConfiguarionsToJSON)}}},3618:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BookTourByStateIdDtoToJSON=t.BookTourByStateIdDtoFromJSONTyped=t.BookTourByStateIdDtoFromJSON=t.BookTourByStateIdDtoTourTypeEnum=void 0;var i,r=n(296);function o(e,t){return null==e?e:{mcId:r.exists(e,"mcId")?e.mcId:void 0,stateId:r.exists(e,"stateId")?e.stateId:void 0,buildingId:r.exists(e,"buildingId")?e.buildingId:void 0,tourType:r.exists(e,"tourType")?e.tourType:void 0,startTime:r.exists(e,"startTime")?new Date(e.startTime):void 0,endTime:r.exists(e,"endTime")?new Date(e.endTime):void 0,useLegacyContext:r.exists(e,"useLegacyContext")?e.useLegacyContext:void 0,sms:r.exists(e,"sms")?e.sms:void 0}}(i=t.BookTourByStateIdDtoTourTypeEnum||(t.BookTourByStateIdDtoTourTypeEnum={})).Unknown="UNKNOWN",i.SelfGuided="SELF_GUIDED",i.VirtualShowing="VIRTUAL_SHOWING",i.WithAgent="WITH_AGENT",i.MediaTour="MEDIA_TOUR",t.BookTourByStateIdDtoFromJSON=function(e){return o(e)},t.BookTourByStateIdDtoFromJSONTyped=o,t.BookTourByStateIdDtoToJSON=function(e){if(void 0!==e)return null===e?null:{mcId:e.mcId,stateId:e.stateId,buildingId:e.buildingId,tourType:e.tourType,startTime:void 0===e.startTime?void 0:e.startTime.toISOString(),endTime:void 0===e.endTime?void 0:e.endTime.toISOString(),useLegacyContext:e.useLegacyContext,sms:e.sms}}},2160:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BookTourDtoToJSON=t.BookTourDtoFromJSONTyped=t.BookTourDtoFromJSON=t.BookTourDtoTourTypeEnum=void 0;var i,r=n(296);function o(e,t){return null==e?e:{contextId:r.exists(e,"contextId")?e.contextId:void 0,buildingId:r.exists(e,"buildingId")?e.buildingId:void 0,tourType:r.exists(e,"tourType")?e.tourType:void 0,startTime:r.exists(e,"startTime")?new Date(e.startTime):void 0,endTime:r.exists(e,"endTime")?new Date(e.endTime):void 0}}(i=t.BookTourDtoTourTypeEnum||(t.BookTourDtoTourTypeEnum={})).Unknown="UNKNOWN",i.SelfGuided="SELF_GUIDED",i.VirtualShowing="VIRTUAL_SHOWING",i.WithAgent="WITH_AGENT",i.MediaTour="MEDIA_TOUR",t.BookTourDtoFromJSON=function(e){return o(e)},t.BookTourDtoFromJSONTyped=o,t.BookTourDtoToJSON=function(e){if(void 0!==e)return null===e?null:{contextId:e.contextId,buildingId:e.buildingId,tourType:e.tourType,startTime:void 0===e.startTime?void 0:e.startTime.toISOString(),endTime:void 0===e.endTime?void 0:e.endTime.toISOString()}}},5604:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BuildingDetailsToJSON=t.BuildingDetailsFromJSONTyped=t.BuildingDetailsFromJSON=t.BuildingDetailsTourNotificationEmailsModeEnum=t.BuildingDetailsTourTypePriorityEnum=t.BuildingDetailsVirtualTourTypeEnum=t.BuildingDetailsLeasingOfficeSetupTypeEnum=void 0;var i,r,o,a,s=n(296),u=n(5556);function l(e,t){return null==e?e:{id:s.exists(e,"id")?e.id:void 0,managementCompanyId:s.exists(e,"managementCompanyId")?e.managementCompanyId:void 0,organizationId:s.exists(e,"organizationId")?e.organizationId:void 0,active:s.exists(e,"active")?e.active:void 0,handoffForwardToEmails:s.exists(e,"handoffForwardToEmails")?e.handoffForwardToEmails:void 0,responseCcEmails:s.exists(e,"responseCcEmails")?e.responseCcEmails:void 0,responseBccEmails:s.exists(e,"responseBccEmails")?e.responseBccEmails:void 0,associateCalendarId:s.exists(e,"associateCalendarId")?e.associateCalendarId:void 0,buildingName:s.exists(e,"buildingName")?e.buildingName:void 0,address1:s.exists(e,"address1")?e.address1:void 0,address2:s.exists(e,"address2")?e.address2:void 0,address3:s.exists(e,"address3")?e.address3:void 0,alternativeILSAddresses:s.exists(e,"alternativeILSAddresses")?e.alternativeILSAddresses:void 0,city:s.exists(e,"city")?e.city:void 0,state:s.exists(e,"state")?e.state:void 0,postalCode:s.exists(e,"postalCode")?e.postalCode:void 0,crossStreets:s.exists(e,"crossStreets")?e.crossStreets:void 0,neighborhood:s.exists(e,"neighborhood")?e.neighborhood:void 0,nearbyTransportation:s.exists(e,"nearbyTransportation")?e.nearbyTransportation:void 0,buildingOwnership:s.exists(e,"buildingOwnership")?e.buildingOwnership:void 0,buildingType:s.exists(e,"buildingType")?e.buildingType:void 0,totalUnits:s.exists(e,"totalUnits")?e.totalUnits:void 0,totalFloors:s.exists(e,"totalFloors")?e.totalFloors:void 0,yearBuilt:s.exists(e,"yearBuilt")?e.yearBuilt:void 0,block:s.exists(e,"block")?e.block:void 0,lot:s.exists(e,"lot")?e.lot:void 0,schoolDistrict:s.exists(e,"schoolDistrict")?e.schoolDistrict:void 0,communityDistrict:s.exists(e,"communityDistrict")?e.communityDistrict:void 0,newConstruction:s.exists(e,"newConstruction")?e.newConstruction:void 0,preWarBuilding:s.exists(e,"preWarBuilding")?e.preWarBuilding:void 0,brownstone:s.exists(e,"brownstone")?e.brownstone:void 0,greenBuilding:s.exists(e,"greenBuilding")?e.greenBuilding:void 0,elevator:s.exists(e,"elevator")?e.elevator:void 0,freightElevator:s.exists(e,"freightElevator")?e.freightElevator:void 0,parking:s.exists(e,"parking")?e.parking:void 0,petPolicy:s.exists(e,"petPolicy")?e.petPolicy:void 0,petNumberLimit:s.exists(e,"petNumberLimit")?e.petNumberLimit:void 0,petWeightLimit:s.exists(e,"petWeightLimit")?e.petWeightLimit:void 0,petFeeOrDeposit:s.exists(e,"petFeeOrDeposit")?e.petFeeOrDeposit:void 0,utilitiesIncluded:s.exists(e,"utilitiesIncluded")?e.utilitiesIncluded:void 0,utilitiesNotIncluded:s.exists(e,"utilitiesNotIncluded")?e.utilitiesNotIncluded:void 0,leaseTermsAccepted:s.exists(e,"leaseTermsAccepted")?e.leaseTermsAccepted:void 0,minLeaseTermAccepted:s.exists(e,"minLeaseTermAccepted")?e.minLeaseTermAccepted:void 0,furnishedOffered:s.exists(e,"furnishedOffered")?e.furnishedOffered:void 0,furnishedUnitsPolicy:s.exists(e,"furnishedUnitsPolicy")?e.furnishedUnitsPolicy:void 0,internationalStudentRequirements:s.exists(e,"internationalStudentRequirements")?e.internationalStudentRequirements:void 0,amenitiesFee:s.exists(e,"amenitiesFee")?e.amenitiesFee:void 0,nonSmoking:s.exists(e,"nonSmoking")?e.nonSmoking:void 0,piedATerreAllowed:s.exists(e,"piedATerreAllowed")?e.piedATerreAllowed:void 0,diplomatsOk:s.exists(e,"diplomatsOk")?e.diplomatsOk:void 0,corporateLeasesAccepted:s.exists(e,"corporateLeasesAccepted")?e.corporateLeasesAccepted:void 0,shortTermAllowed:s.exists(e,"shortTermAllowed")?e.shortTermAllowed:void 0,doorman:s.exists(e,"doorman")?e.doorman:void 0,intercom:s.exists(e,"intercom")?e.intercom:void 0,liveInSuper:s.exists(e,"liveInSuper")?e.liveInSuper:void 0,concierge:s.exists(e,"concierge")?e.concierge:void 0,laundryInBuilding:s.exists(e,"laundryInBuilding")?e.laundryInBuilding:void 0,packageReceiving:s.exists(e,"packageReceiving")?e.packageReceiving:void 0,gym:s.exists(e,"gym")?e.gym:void 0,storage:s.exists(e,"storage")?e.storage:void 0,bicycleRoom:s.exists(e,"bicycleRoom")?e.bicycleRoom:void 0,lounge:s.exists(e,"lounge")?e.lounge:void 0,clubHouse:s.exists(e,"clubHouse")?e.clubHouse:void 0,businessCenter:s.exists(e,"businessCenter")?e.businessCenter:void 0,outdoorSpace:s.exists(e,"outdoorSpace")?e.outdoorSpace:void 0,roofDeck:s.exists(e,"roofDeck")?e.roofDeck:void 0,courtyard:s.exists(e,"courtyard")?e.courtyard:void 0,childrenPlayroom:s.exists(e,"childrenPlayroom")?e.childrenPlayroom:void 0,nursery:s.exists(e,"nursery")?e.nursery:void 0,maidService:s.exists(e,"maidService")?e.maidService:void 0,pool:s.exists(e,"pool")?e.pool:void 0,wheelchairAccess:s.exists(e,"wheelchairAccess")?e.wheelchairAccess:void 0,guarantorTypesAccepted:s.exists(e,"guarantorTypesAccepted")?e.guarantorTypesAccepted:void 0,thirdPartyGuarantorTypesAccepted:s.exists(e,"thirdPartyGuarantorTypesAccepted")?e.thirdPartyGuarantorTypesAccepted:void 0,noCreditQualificationAlternative:s.exists(e,"noCreditQualificationAlternative")?e.noCreditQualificationAlternative:void 0,flexWallPolicy:s.exists(e,"flexWallPolicy")?e.flexWallPolicy:void 0,leaseholderApplicationFee:s.exists(e,"leaseholderApplicationFee")?e.leaseholderApplicationFee:void 0,occupantApplicationFee:s.exists(e,"occupantApplicationFee")?e.occupantApplicationFee:void 0,guarantorApplicationFee:s.exists(e,"guarantorApplicationFee")?e.guarantorApplicationFee:void 0,tenantIncomeRequirementRentMultiplier:s.exists(e,"tenantIncomeRequirementRentMultiplier")?e.tenantIncomeRequirementRentMultiplier:void 0,guarantorIncomeRequirementRentMultiplier:s.exists(e,"guarantorIncomeRequirementRentMultiplier")?e.guarantorIncomeRequirementRentMultiplier:void 0,incomeRequirementRentMultiplierTimePeriod:s.exists(e,"incomeRequirementRentMultiplierTimePeriod")?e.incomeRequirementRentMultiplierTimePeriod:void 0,leaseholderMinimumCreditScoreRequirement:s.exists(e,"leaseholderMinimumCreditScoreRequirement")?e.leaseholderMinimumCreditScoreRequirement:void 0,guarantorMinimumCreditScoreRequirement:s.exists(e,"guarantorMinimumCreditScoreRequirement")?e.guarantorMinimumCreditScoreRequirement:void 0,leaseholderApplicationDocumentsRequired:s.exists(e,"leaseholderApplicationDocumentsRequired")?e.leaseholderApplicationDocumentsRequired:void 0,selfEmployedApplicationDocumentsRequired:s.exists(e,"selfEmployedApplicationDocumentsRequired")?e.selfEmployedApplicationDocumentsRequired:void 0,guarantorApplicationDocumentsRequired:s.exists(e,"guarantorApplicationDocumentsRequired")?e.guarantorApplicationDocumentsRequired:void 0,guarantorsAccepted:s.exists(e,"guarantorsAccepted")?e.guarantorsAccepted:void 0,financialsInsufficientAlternative:s.exists(e,"financialsInsufficientAlternative")?e.financialsInsufficientAlternative:void 0,prepaymentPolicy:s.exists(e,"prepaymentPolicy")?e.prepaymentPolicy:void 0,rentRequiredOnLeaseSigning:s.exists(e,"rentRequiredOnLeaseSigning")?e.rentRequiredOnLeaseSigning:void 0,securityDepositRentMultiplier:s.exists(e,"securityDepositRentMultiplier")?e.securityDepositRentMultiplier:void 0,paymentFormsAccepted:s.exists(e,"paymentFormsAccepted")?e.paymentFormsAccepted:void 0,clientEmail:s.exists(e,"clientEmail")?e.clientEmail:void 0,description:s.exists(e,"description")?e.description:void 0,notes:s.exists(e,"notes")?e.notes:void 0,leasingOfficeHours:s.exists(e,"leasingOfficeHours")?e.leasingOfficeHours:void 0,occupiedUnitsShowingHours:s.exists(e,"occupiedUnitsShowingHours")?e.occupiedUnitsShowingHours:void 0,internalNotes:s.exists(e,"internalNotes")?e.internalNotes:void 0,leasingPhoneNumber:s.exists(e,"leasingPhoneNumber")?e.leasingPhoneNumber:void 0,callCenterNumber:s.exists(e,"callCenterNumber")?e.callCenterNumber:void 0,buildingWebsiteUrl:s.exists(e,"buildingWebsiteUrl")?e.buildingWebsiteUrl:void 0,applicationLink:s.exists(e,"applicationLink")?e.applicationLink:void 0,geoAddress:s.exists(e,"geoAddress")?e.geoAddress:void 0,googleMapsUrl:s.exists(e,"googleMapsUrl")?e.googleMapsUrl:void 0,alerts:s.exists(e,"alerts")?e.alerts:void 0,rentComputeType:s.exists(e,"rentComputeType")?e.rentComputeType:void 0,autosendActive:s.exists(e,"autosendActive")?e.autosendActive:void 0,advancedMoveInAllowenceInDays:s.exists(e,"advancedMoveInAllowenceInDays")?e.advancedMoveInAllowenceInDays:void 0,alternativeBuildingNames:s.exists(e,"alternativeBuildingNames")?e.alternativeBuildingNames:void 0,externalIds:s.exists(e,"externalIds")?e.externalIds:void 0,externalCrmId:s.exists(e,"externalCrmId")?e.externalCrmId:void 0,defaultAvailabilityQuoteMatchMoveInDate:s.exists(e,"defaultAvailabilityQuoteMatchMoveInDate")?e.defaultAvailabilityQuoteMatchMoveInDate:void 0,leaseRenewalNoticeInDays:s.exists(e,"leaseRenewalNoticeInDays")?e.leaseRenewalNoticeInDays:void 0,rentQuoteFormat:s.exists(e,"rentQuoteFormat")?e.rentQuoteFormat:void 0,rentWithIncentivesQuoteFormat:s.exists(e,"rentWithIncentivesQuoteFormat")?e.rentWithIncentivesQuoteFormat:void 0,isPartOfComplex:s.exists(e,"isPartOfComplex")?e.isPartOfComplex:void 0,alternativeILSAddressGeoFormat:s.exists(e,"alternativeILSAddressGeoFormat")?u.AlternativeILSAddressGeoFormatFromJSON(e.alternativeILSAddressGeoFormat):void 0,effectiveRentComputeType:s.exists(e,"effectiveRentComputeType")?e.effectiveRentComputeType:void 0,maxLeaseTermAccepted:s.exists(e,"maxLeaseTermAccepted")?e.maxLeaseTermAccepted:void 0,parkingInformation:s.exists(e,"parkingInformation")?e.parkingInformation:void 0,storageFee:s.exists(e,"storageFee")?e.storageFee:void 0,incentivesProperlyConnected:s.exists(e,"incentivesProperlyConnected")?e.incentivesProperlyConnected:void 0,electricCompany:s.exists(e,"electricCompany")?e.electricCompany:void 0,gasCompany:s.exists(e,"gasCompany")?e.gasCompany:void 0,telephoneCompany:s.exists(e,"telephoneCompany")?e.telephoneCompany:void 0,televisionCompany:s.exists(e,"televisionCompany")?e.televisionCompany:void 0,waterCompany:s.exists(e,"waterCompany")?e.waterCompany:void 0,internetCompany:s.exists(e,"internetCompany")?e.internetCompany:void 0,localHospital:s.exists(e,"localHospital")?e.localHospital:void 0,localSchoolDistrict:s.exists(e,"localSchoolDistrict")?e.localSchoolDistrict:void 0,localElementarySchool:s.exists(e,"localElementarySchool")?e.localElementarySchool:void 0,localMiddleSchool:s.exists(e,"localMiddleSchool")?e.localMiddleSchool:void 0,localHighSchool:s.exists(e,"localHighSchool")?e.localHighSchool:void 0,localShoppingCenter:s.exists(e,"localShoppingCenter")?e.localShoppingCenter:void 0,localGroceryStore:s.exists(e,"localGroceryStore")?e.localGroceryStore:void 0,closestInterstates:s.exists(e,"closestInterstates")?e.closestInterstates:void 0,buildingPicturesUrl:s.exists(e,"buildingPicturesUrl")?e.buildingPicturesUrl:void 0,buildingFloorPlansUrl:s.exists(e,"buildingFloorPlansUrl")?e.buildingFloorPlansUrl:void 0,nonexistentLayouts:s.exists(e,"nonexistentLayouts")?e.nonexistentLayouts:void 0,offeredLayouts:s.exists(e,"offeredLayouts")?e.offeredLayouts:void 0,avoidQuotingPrices:s.exists(e,"avoidQuotingPrices")?e.avoidQuotingPrices:void 0,excludeNotRentReadyUnit:s.exists(e,"excludeNotRentReadyUnit")?e.excludeNotRentReadyUnit:void 0,flexWallsAllowed:s.exists(e,"flexWallsAllowed")?e.flexWallsAllowed:void 0,petsAccepted:s.exists(e,"petsAccepted")?e.petsAccepted:void 0,guarantorsAcceptedSwitch:s.exists(e,"guarantorsAcceptedSwitch")?e.guarantorsAcceptedSwitch:void 0,thirdPartyGuarantorsAccepted:s.exists(e,"thirdPartyGuarantorsAccepted")?e.thirdPartyGuarantorsAccepted:void 0,alwaysScheduleAppointments:s.exists(e,"alwaysScheduleAppointments")?e.alwaysScheduleAppointments:void 0,leasingOfficeOnsite:s.exists(e,"leasingOfficeOnsite")?e.leasingOfficeOnsite:void 0,building3dMediaUrl:s.exists(e,"building3dMediaUrl")?e.building3dMediaUrl:void 0,dailyreport:s.exists(e,"dailyreport")?e.dailyreport:void 0,dailyReportEmails:s.exists(e,"dailyReportEmails")?e.dailyReportEmails:void 0,nearbySubways:s.exists(e,"nearbySubways")?e.nearbySubways:void 0,bedroomTypes:s.exists(e,"bedroomTypes")?e.bedroomTypes:void 0,leasingBrochureUrl:s.exists(e,"leasingBrochureUrl")?e.leasingBrochureUrl:void 0,confidenceVariable:s.exists(e,"confidenceVariable")?e.confidenceVariable:void 0,textForwardToEmails:s.exists(e,"textForwardToEmails")?e.textForwardToEmails:void 0,synchronizationStatus:s.exists(e,"synchronizationStatus")?e.synchronizationStatus:void 0,omitDesiredFloorPlan:s.exists(e,"omitDesiredFloorPlan")?e.omitDesiredFloorPlan:void 0,pickingNewGuestCards:s.exists(e,"pickingNewGuestCards")?e.pickingNewGuestCards:void 0,showNotRespondingLeadsInReport:s.exists(e,"showNotRespondingLeadsInReport")?e.showNotRespondingLeadsInReport:void 0,leasingOfficeSetupType:s.exists(e,"leasingOfficeSetupType")?e.leasingOfficeSetupType:void 0,firstContactReasonRequired:s.exists(e,"firstContactReasonRequired")?e.firstContactReasonRequired:void 0,firstContactReason:s.exists(e,"firstContactReason")?e.firstContactReason:void 0,emailSignature:s.exists(e,"emailSignature")?e.emailSignature:void 0,tourDuration:s.exists(e,"tourDuration")?e.tourDuration:void 0,inPersonToursAllowed:s.exists(e,"inPersonToursAllowed")?e.inPersonToursAllowed:void 0,selfGuidedToursEnabled:s.exists(e,"selfGuidedToursEnabled")?e.selfGuidedToursEnabled:void 0,virtualTourType:s.exists(e,"virtualTourType")?e.virtualTourType:void 0,virtualTourPlatforms:s.exists(e,"virtualTourPlatforms")?e.virtualTourPlatforms:void 0,noUnitSelfGuidedTourAllowed:s.exists(e,"noUnitSelfGuidedTourAllowed")?e.noUnitSelfGuidedTourAllowed:void 0,sgSchedulingBasedOnNormalAppointments:s.exists(e,"sgSchedulingBasedOnNormalAppointments")?e.sgSchedulingBasedOnNormalAppointments:void 0,tourTypePriority:s.exists(e,"tourTypePriority")?e.tourTypePriority:void 0,tourNotificationEmailsMode:s.exists(e,"tourNotificationEmailsMode")?e.tourNotificationEmailsMode:void 0,showByOpenHouseOnly:s.exists(e,"showByOpenHouseOnly")?e.showByOpenHouseOnly:void 0,showUnitsWithPendingApplication:s.exists(e,"showUnitsWithPendingApplication")?e.showUnitsWithPendingApplication:void 0,showOccupiedUnitsWithPendingApplication:s.exists(e,"showOccupiedUnitsWithPendingApplication")?e.showOccupiedUnitsWithPendingApplication:void 0,confirmAppointmentsOccupiedUnits:s.exists(e,"confirmAppointmentsOccupiedUnits")?e.confirmAppointmentsOccupiedUnits:void 0,confirmAppointmentsRenovatingUnits:s.exists(e,"confirmAppointmentsRenovatingUnits")?e.confirmAppointmentsRenovatingUnits:void 0,occupiedUnitsAdvancedNoticeInHours:s.exists(e,"occupiedUnitsAdvancedNoticeInHours")?e.occupiedUnitsAdvancedNoticeInHours:void 0,prioritizeShowingVacantUnits:s.exists(e,"prioritizeShowingVacantUnits")?e.prioritizeShowingVacantUnits:void 0,showOccupiedUnits:s.exists(e,"showOccupiedUnits")?e.showOccupiedUnits:void 0,whiteListActivated:s.exists(e,"whiteListActivated")?e.whiteListActivated:void 0,appointmentMeetingLocation:s.exists(e,"appointmentMeetingLocation")?e.appointmentMeetingLocation:void 0,appointmentMeetingPointSpecific:s.exists(e,"appointmentMeetingPointSpecific")?e.appointmentMeetingPointSpecific:void 0,appointmentDirections:s.exists(e,"appointmentDirections")?e.appointmentDirections:void 0,appointmentAdditionalDirections:s.exists(e,"appointmentAdditionalDirections")?e.appointmentAdditionalDirections:void 0,launchDateTime:s.exists(e,"launchDateTime")?new Date(e.launchDateTime):void 0,clientRequiresShowEvent:s.exists(e,"clientRequiresShowEvent")?e.clientRequiresShowEvent:void 0,tempLeasingOfficeHoursAsJson:s.exists(e,"tempLeasingOfficeHoursAsJson")?e.tempLeasingOfficeHoursAsJson:void 0,calendarId:s.exists(e,"calendarId")?e.calendarId:void 0,effectiveHandoffForwardToEmails:s.exists(e,"effectiveHandoffForwardToEmails")?e.effectiveHandoffForwardToEmails:void 0}}(a=t.BuildingDetailsLeasingOfficeSetupTypeEnum||(t.BuildingDetailsLeasingOfficeSetupTypeEnum={})).SingleBuilding="SINGLE_BUILDING",a.CentralLeasingOfficeAsSingleBuilding="CENTRAL_LEASING_OFFICE_AS_SINGLE_BUILDING",(o=t.BuildingDetailsVirtualTourTypeEnum||(t.BuildingDetailsVirtualTourTypeEnum={})).NotEnabled="NOT_ENABLED",o.SelfManaged="SELF_MANAGED",o.Whereby="WHEREBY",(r=t.BuildingDetailsTourTypePriorityEnum||(t.BuildingDetailsTourTypePriorityEnum={})).Unknown="UNKNOWN",r.SelfGuided="SELF_GUIDED",r.VirtualShowing="VIRTUAL_SHOWING",r.WithAgent="WITH_AGENT",r.MediaTour="MEDIA_TOUR",(i=t.BuildingDetailsTourNotificationEmailsModeEnum||(t.BuildingDetailsTourNotificationEmailsModeEnum={})).NoNotification="NO_NOTIFICATION",i.AllViewings="ALL_VIEWINGS",i.SameDayViewings="SAME_DAY_VIEWINGS",t.BuildingDetailsFromJSON=function(e){return l(e)},t.BuildingDetailsFromJSONTyped=l,t.BuildingDetailsToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,managementCompanyId:e.managementCompanyId,organizationId:e.organizationId,active:e.active,handoffForwardToEmails:e.handoffForwardToEmails,responseCcEmails:e.responseCcEmails,responseBccEmails:e.responseBccEmails,associateCalendarId:e.associateCalendarId,buildingName:e.buildingName,address1:e.address1,address2:e.address2,address3:e.address3,alternativeILSAddresses:e.alternativeILSAddresses,city:e.city,state:e.state,postalCode:e.postalCode,crossStreets:e.crossStreets,neighborhood:e.neighborhood,nearbyTransportation:e.nearbyTransportation,buildingOwnership:e.buildingOwnership,buildingType:e.buildingType,totalUnits:e.totalUnits,totalFloors:e.totalFloors,yearBuilt:e.yearBuilt,block:e.block,lot:e.lot,schoolDistrict:e.schoolDistrict,communityDistrict:e.communityDistrict,newConstruction:e.newConstruction,preWarBuilding:e.preWarBuilding,brownstone:e.brownstone,greenBuilding:e.greenBuilding,elevator:e.elevator,freightElevator:e.freightElevator,parking:e.parking,petPolicy:e.petPolicy,petNumberLimit:e.petNumberLimit,petWeightLimit:e.petWeightLimit,petFeeOrDeposit:e.petFeeOrDeposit,utilitiesIncluded:e.utilitiesIncluded,utilitiesNotIncluded:e.utilitiesNotIncluded,leaseTermsAccepted:e.leaseTermsAccepted,minLeaseTermAccepted:e.minLeaseTermAccepted,furnishedOffered:e.furnishedOffered,furnishedUnitsPolicy:e.furnishedUnitsPolicy,internationalStudentRequirements:e.internationalStudentRequirements,amenitiesFee:e.amenitiesFee,nonSmoking:e.nonSmoking,piedATerreAllowed:e.piedATerreAllowed,diplomatsOk:e.diplomatsOk,corporateLeasesAccepted:e.corporateLeasesAccepted,shortTermAllowed:e.shortTermAllowed,doorman:e.doorman,intercom:e.intercom,liveInSuper:e.liveInSuper,concierge:e.concierge,laundryInBuilding:e.laundryInBuilding,packageReceiving:e.packageReceiving,gym:e.gym,storage:e.storage,bicycleRoom:e.bicycleRoom,lounge:e.lounge,clubHouse:e.clubHouse,businessCenter:e.businessCenter,outdoorSpace:e.outdoorSpace,roofDeck:e.roofDeck,courtyard:e.courtyard,childrenPlayroom:e.childrenPlayroom,nursery:e.nursery,maidService:e.maidService,pool:e.pool,wheelchairAccess:e.wheelchairAccess,guarantorTypesAccepted:e.guarantorTypesAccepted,thirdPartyGuarantorTypesAccepted:e.thirdPartyGuarantorTypesAccepted,noCreditQualificationAlternative:e.noCreditQualificationAlternative,flexWallPolicy:e.flexWallPolicy,leaseholderApplicationFee:e.leaseholderApplicationFee,occupantApplicationFee:e.occupantApplicationFee,guarantorApplicationFee:e.guarantorApplicationFee,tenantIncomeRequirementRentMultiplier:e.tenantIncomeRequirementRentMultiplier,guarantorIncomeRequirementRentMultiplier:e.guarantorIncomeRequirementRentMultiplier,incomeRequirementRentMultiplierTimePeriod:e.incomeRequirementRentMultiplierTimePeriod,leaseholderMinimumCreditScoreRequirement:e.leaseholderMinimumCreditScoreRequirement,guarantorMinimumCreditScoreRequirement:e.guarantorMinimumCreditScoreRequirement,leaseholderApplicationDocumentsRequired:e.leaseholderApplicationDocumentsRequired,selfEmployedApplicationDocumentsRequired:e.selfEmployedApplicationDocumentsRequired,guarantorApplicationDocumentsRequired:e.guarantorApplicationDocumentsRequired,guarantorsAccepted:e.guarantorsAccepted,financialsInsufficientAlternative:e.financialsInsufficientAlternative,prepaymentPolicy:e.prepaymentPolicy,rentRequiredOnLeaseSigning:e.rentRequiredOnLeaseSigning,securityDepositRentMultiplier:e.securityDepositRentMultiplier,paymentFormsAccepted:e.paymentFormsAccepted,clientEmail:e.clientEmail,description:e.description,notes:e.notes,leasingOfficeHours:e.leasingOfficeHours,occupiedUnitsShowingHours:e.occupiedUnitsShowingHours,internalNotes:e.internalNotes,leasingPhoneNumber:e.leasingPhoneNumber,callCenterNumber:e.callCenterNumber,buildingWebsiteUrl:e.buildingWebsiteUrl,applicationLink:e.applicationLink,geoAddress:e.geoAddress,googleMapsUrl:e.googleMapsUrl,alerts:e.alerts,rentComputeType:e.rentComputeType,autosendActive:e.autosendActive,advancedMoveInAllowenceInDays:e.advancedMoveInAllowenceInDays,alternativeBuildingNames:e.alternativeBuildingNames,externalIds:e.externalIds,externalCrmId:e.externalCrmId,defaultAvailabilityQuoteMatchMoveInDate:e.defaultAvailabilityQuoteMatchMoveInDate,leaseRenewalNoticeInDays:e.leaseRenewalNoticeInDays,rentQuoteFormat:e.rentQuoteFormat,rentWithIncentivesQuoteFormat:e.rentWithIncentivesQuoteFormat,isPartOfComplex:e.isPartOfComplex,alternativeILSAddressGeoFormat:u.AlternativeILSAddressGeoFormatToJSON(e.alternativeILSAddressGeoFormat),effectiveRentComputeType:e.effectiveRentComputeType,maxLeaseTermAccepted:e.maxLeaseTermAccepted,parkingInformation:e.parkingInformation,storageFee:e.storageFee,incentivesProperlyConnected:e.incentivesProperlyConnected,electricCompany:e.electricCompany,gasCompany:e.gasCompany,telephoneCompany:e.telephoneCompany,televisionCompany:e.televisionCompany,waterCompany:e.waterCompany,internetCompany:e.internetCompany,localHospital:e.localHospital,localSchoolDistrict:e.localSchoolDistrict,localElementarySchool:e.localElementarySchool,localMiddleSchool:e.localMiddleSchool,localHighSchool:e.localHighSchool,localShoppingCenter:e.localShoppingCenter,localGroceryStore:e.localGroceryStore,closestInterstates:e.closestInterstates,buildingPicturesUrl:e.buildingPicturesUrl,buildingFloorPlansUrl:e.buildingFloorPlansUrl,nonexistentLayouts:e.nonexistentLayouts,offeredLayouts:e.offeredLayouts,avoidQuotingPrices:e.avoidQuotingPrices,excludeNotRentReadyUnit:e.excludeNotRentReadyUnit,flexWallsAllowed:e.flexWallsAllowed,petsAccepted:e.petsAccepted,guarantorsAcceptedSwitch:e.guarantorsAcceptedSwitch,thirdPartyGuarantorsAccepted:e.thirdPartyGuarantorsAccepted,alwaysScheduleAppointments:e.alwaysScheduleAppointments,leasingOfficeOnsite:e.leasingOfficeOnsite,building3dMediaUrl:e.building3dMediaUrl,dailyreport:e.dailyreport,dailyReportEmails:e.dailyReportEmails,nearbySubways:e.nearbySubways,bedroomTypes:e.bedroomTypes,leasingBrochureUrl:e.leasingBrochureUrl,confidenceVariable:e.confidenceVariable,textForwardToEmails:e.textForwardToEmails,synchronizationStatus:e.synchronizationStatus,omitDesiredFloorPlan:e.omitDesiredFloorPlan,pickingNewGuestCards:e.pickingNewGuestCards,showNotRespondingLeadsInReport:e.showNotRespondingLeadsInReport,leasingOfficeSetupType:e.leasingOfficeSetupType,firstContactReasonRequired:e.firstContactReasonRequired,firstContactReason:e.firstContactReason,emailSignature:e.emailSignature,tourDuration:e.tourDuration,inPersonToursAllowed:e.inPersonToursAllowed,selfGuidedToursEnabled:e.selfGuidedToursEnabled,virtualTourType:e.virtualTourType,virtualTourPlatforms:e.virtualTourPlatforms,noUnitSelfGuidedTourAllowed:e.noUnitSelfGuidedTourAllowed,sgSchedulingBasedOnNormalAppointments:e.sgSchedulingBasedOnNormalAppointments,tourTypePriority:e.tourTypePriority,tourNotificationEmailsMode:e.tourNotificationEmailsMode,showByOpenHouseOnly:e.showByOpenHouseOnly,showUnitsWithPendingApplication:e.showUnitsWithPendingApplication,showOccupiedUnitsWithPendingApplication:e.showOccupiedUnitsWithPendingApplication,confirmAppointmentsOccupiedUnits:e.confirmAppointmentsOccupiedUnits,confirmAppointmentsRenovatingUnits:e.confirmAppointmentsRenovatingUnits,occupiedUnitsAdvancedNoticeInHours:e.occupiedUnitsAdvancedNoticeInHours,prioritizeShowingVacantUnits:e.prioritizeShowingVacantUnits,showOccupiedUnits:e.showOccupiedUnits,whiteListActivated:e.whiteListActivated,appointmentMeetingLocation:e.appointmentMeetingLocation,appointmentMeetingPointSpecific:e.appointmentMeetingPointSpecific,appointmentDirections:e.appointmentDirections,appointmentAdditionalDirections:e.appointmentAdditionalDirections,launchDateTime:void 0===e.launchDateTime?void 0:e.launchDateTime.toISOString(),clientRequiresShowEvent:e.clientRequiresShowEvent,tempLeasingOfficeHoursAsJson:e.tempLeasingOfficeHoursAsJson,calendarId:e.calendarId,effectiveHandoffForwardToEmails:e.effectiveHandoffForwardToEmails}}},3477:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BuildingEntityToJSON=t.BuildingEntityFromJSONTyped=t.BuildingEntityFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{id:i.exists(e,"id")?e.id:void 0}}t.BuildingEntityFromJSON=function(e){return r(e)},t.BuildingEntityFromJSONTyped=r,t.BuildingEntityToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id}}},8536:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BuildingExpansionValidationResultToJSON=t.BuildingExpansionValidationResultFromJSONTyped=t.BuildingExpansionValidationResultFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{apiCallToSuccessMap:i.exists(e,"apiCallToSuccessMap")?e.apiCallToSuccessMap:void 0,apiCallToMessageMap:i.exists(e,"apiCallToMessageMap")?e.apiCallToMessageMap:void 0}}t.BuildingExpansionValidationResultFromJSON=function(e){return r(e)},t.BuildingExpansionValidationResultFromJSONTyped=r,t.BuildingExpansionValidationResultToJSON=function(e){if(void 0!==e)return null===e?null:{apiCallToSuccessMap:e.apiCallToSuccessMap,apiCallToMessageMap:e.apiCallToMessageMap}}},4597:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BuildingFeatureFlagRequestDtoToJSON=t.BuildingFeatureFlagRequestDtoFromJSONTyped=t.BuildingFeatureFlagRequestDtoFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{defaultBoolValue:i.exists(e,"defaultBoolValue")?e.defaultBoolValue:void 0,defaultIntValue:i.exists(e,"defaultIntValue")?e.defaultIntValue:void 0,defaultStringValue:i.exists(e,"defaultStringValue")?e.defaultStringValue:void 0,clientEmail:i.exists(e,"clientEmail")?e.clientEmail:void 0,orgId:i.exists(e,"orgId")?e.orgId:void 0,buildingId:i.exists(e,"buildingId")?e.buildingId:void 0,crmType:i.exists(e,"crmType")?e.crmType:void 0}}t.BuildingFeatureFlagRequestDtoFromJSON=function(e){return r(e)},t.BuildingFeatureFlagRequestDtoFromJSONTyped=r,t.BuildingFeatureFlagRequestDtoToJSON=function(e){if(void 0!==e)return null===e?null:{defaultBoolValue:e.defaultBoolValue,defaultIntValue:e.defaultIntValue,defaultStringValue:e.defaultStringValue,clientEmail:e.clientEmail,orgId:e.orgId,buildingId:e.buildingId,crmType:e.crmType}}},553:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BuildingOverrideToJSON=t.BuildingOverrideFromJSONTyped=t.BuildingOverrideFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{redIntents:i.exists(e,"redIntents")?e.redIntents:void 0,yellowIntents:i.exists(e,"yellowIntents")?e.yellowIntents:void 0}}t.BuildingOverrideFromJSON=function(e){return r(e)},t.BuildingOverrideFromJSONTyped=r,t.BuildingOverrideToJSON=function(e){if(void 0!==e)return null===e?null:{redIntents:e.redIntents,yellowIntents:e.yellowIntents}}},6673:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BuildingPublicViewModelToJSON=t.BuildingPublicViewModelFromJSONTyped=t.BuildingPublicViewModelFromJSON=void 0;var i=n(296),r=n(746),o=n(6330);function a(e,t){return null==e?e:{id:i.exists(e,"id")?e.id:void 0,orgId:i.exists(e,"orgId")?e.orgId:void 0,name:i.exists(e,"name")?e.name:void 0,userId:i.exists(e,"userId")?e.userId:void 0,userFirstName:i.exists(e,"userFirstName")?e.userFirstName:void 0,userLastName:i.exists(e,"userLastName")?e.userLastName:void 0,primaryColor:i.exists(e,"primaryColor")?e.primaryColor:void 0,backgroundColor:i.exists(e,"backgroundColor")?e.backgroundColor:void 0,logoSrc:i.exists(e,"logoSrc")?e.logoSrc:void 0,welcomeMessage:i.exists(e,"welcomeMessage")?e.welcomeMessage:void 0,chatTitle:i.exists(e,"chatTitle")?e.chatTitle:void 0,chatSubtitle:i.exists(e,"chatSubtitle")?e.chatSubtitle:void 0,bannerColor:i.exists(e,"bannerColor")?e.bannerColor:void 0,bannerTextColor:i.exists(e,"bannerTextColor")?e.bannerTextColor:void 0,messageColor:i.exists(e,"messageColor")?e.messageColor:void 0,messageTextColor:i.exists(e,"messageTextColor")?e.messageTextColor:void 0,launchButtonColor:i.exists(e,"launchButtonColor")?e.launchButtonColor:void 0,launchButtonIconColor:i.exists(e,"launchButtonIconColor")?e.launchButtonIconColor:void 0,launchButtonSize:i.exists(e,"launchButtonSize")?e.launchButtonSize:void 0,avatarType:i.exists(e,"avatarType")?e.avatarType:void 0,avatarSrc:i.exists(e,"avatarSrc")?e.avatarSrc:void 0,avatarInitials:i.exists(e,"avatarInitials")?e.avatarInitials:void 0,themeId:i.exists(e,"themeId")?e.themeId:void 0,streetAddress:i.exists(e,"streetAddress")?e.streetAddress:void 0,postalCode:i.exists(e,"postalCode")?e.postalCode:void 0,state:i.exists(e,"state")?e.state:void 0,phoneNumber:i.exists(e,"phoneNumber")?e.phoneNumber:void 0,layoutOptions:i.exists(e,"layoutOptions")?e.layoutOptions.map(r.LayoutOptionFromJSON):void 0,tourTypeOptions:i.exists(e,"tourTypeOptions")?e.tourTypeOptions.map(o.TourTypeOptionFromJSON):void 0,conversationMaintenanceMode:i.exists(e,"conversationMaintenanceMode")?e.conversationMaintenanceMode:void 0}}t.BuildingPublicViewModelFromJSON=function(e){return a(e)},t.BuildingPublicViewModelFromJSONTyped=a,t.BuildingPublicViewModelToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,orgId:e.orgId,name:e.name,userId:e.userId,userFirstName:e.userFirstName,userLastName:e.userLastName,primaryColor:e.primaryColor,backgroundColor:e.backgroundColor,logoSrc:e.logoSrc,welcomeMessage:e.welcomeMessage,chatTitle:e.chatTitle,chatSubtitle:e.chatSubtitle,bannerColor:e.bannerColor,bannerTextColor:e.bannerTextColor,messageColor:e.messageColor,messageTextColor:e.messageTextColor,launchButtonColor:e.launchButtonColor,launchButtonIconColor:e.launchButtonIconColor,launchButtonSize:e.launchButtonSize,avatarType:e.avatarType,avatarSrc:e.avatarSrc,avatarInitials:e.avatarInitials,themeId:e.themeId,streetAddress:e.streetAddress,postalCode:e.postalCode,state:e.state,phoneNumber:e.phoneNumber,layoutOptions:void 0===e.layoutOptions?void 0:e.layoutOptions.map(r.LayoutOptionToJSON),tourTypeOptions:void 0===e.tourTypeOptions?void 0:e.tourTypeOptions.map(o.TourTypeOptionToJSON),conversationMaintenanceMode:e.conversationMaintenanceMode}}},6597:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BuildingRefreshInfoToJSON=t.BuildingRefreshInfoFromJSONTyped=t.BuildingRefreshInfoFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{timesToRunInCronFormat:i.exists(e,"timesToRunInCronFormat")?e.timesToRunInCronFormat:void 0}}t.BuildingRefreshInfoFromJSON=function(e){return r(e)},t.BuildingRefreshInfoFromJSONTyped=r,t.BuildingRefreshInfoToJSON=function(e){if(void 0!==e)return null===e?null:{timesToRunInCronFormat:e.timesToRunInCronFormat}}},7949:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BuildingTourTypePreferencesToJSON=t.BuildingTourTypePreferencesFromJSONTyped=t.BuildingTourTypePreferencesFromJSON=t.BuildingTourTypePreferencesSelfGuidedToursTypeOfferedEnum=t.BuildingTourTypePreferencesLiveVirtualToursTypeOfferedEnum=t.BuildingTourTypePreferencesMediaToursTypeOfferedEnum=t.BuildingTourTypePreferencesEscortedToursTypeOfferedEnum=void 0;var i,r,o,a,s=n(296);function u(e,t){return null==e?e:{id:s.exists(e,"id")?e.id:void 0,buildingId:s.exists(e,"buildingId")?e.buildingId:void 0,escortedToursAllowed:s.exists(e,"escortedToursAllowed")?e.escortedToursAllowed:void 0,escortedToursTypeOffered:s.exists(e,"escortedToursTypeOffered")?e.escortedToursTypeOffered:void 0,escortedTourClientName:s.exists(e,"escortedTourClientName")?e.escortedTourClientName:void 0,escortedToursLink:s.exists(e,"escortedToursLink")?e.escortedToursLink:void 0,mediaToursAllowed:s.exists(e,"mediaToursAllowed")?e.mediaToursAllowed:void 0,mediaToursTypeOffered:s.exists(e,"mediaToursTypeOffered")?e.mediaToursTypeOffered:void 0,mediaTourClientName:s.exists(e,"mediaTourClientName")?e.mediaTourClientName:void 0,mediaToursLink:s.exists(e,"mediaToursLink")?e.mediaToursLink:void 0,liveVirtualToursAllowed:s.exists(e,"liveVirtualToursAllowed")?e.liveVirtualToursAllowed:void 0,liveVirtualToursTypeOffered:s.exists(e,"liveVirtualToursTypeOffered")?e.liveVirtualToursTypeOffered:void 0,liveVirtualTourClientName:s.exists(e,"liveVirtualTourClientName")?e.liveVirtualTourClientName:void 0,liveVirtualToursLink:s.exists(e,"liveVirtualToursLink")?e.liveVirtualToursLink:void 0,selfGuidedToursAllowed:s.exists(e,"selfGuidedToursAllowed")?e.selfGuidedToursAllowed:void 0,selfGuidedToursTypeOffered:s.exists(e,"selfGuidedToursTypeOffered")?e.selfGuidedToursTypeOffered:void 0,selfGuidedTourClientName:s.exists(e,"selfGuidedTourClientName")?e.selfGuidedTourClientName:void 0,selfGuidedToursLink:s.exists(e,"selfGuidedToursLink")?e.selfGuidedToursLink:void 0}}(a=t.BuildingTourTypePreferencesEscortedToursTypeOfferedEnum||(t.BuildingTourTypePreferencesEscortedToursTypeOfferedEnum={})).Link="LINK",a.ClientScheduled="CLIENT_SCHEDULED",a.ScheduledByMeManagedByMe="SCHEDULED_BY_ME_MANAGED_BY_ME",a.ScheduledByMeManagedByClient="SCHEDULED_BY_ME_MANAGED_BY_CLIENT",a.ScheduledByMeManagedByConcierge="SCHEDULED_BY_ME_MANAGED_BY_CONCIERGE",(o=t.BuildingTourTypePreferencesMediaToursTypeOfferedEnum||(t.BuildingTourTypePreferencesMediaToursTypeOfferedEnum={})).Link="LINK",o.ClientScheduled="CLIENT_SCHEDULED",o.ScheduledByMeManagedByMe="SCHEDULED_BY_ME_MANAGED_BY_ME",o.ScheduledByMeManagedByClient="SCHEDULED_BY_ME_MANAGED_BY_CLIENT",o.ScheduledByMeManagedByConcierge="SCHEDULED_BY_ME_MANAGED_BY_CONCIERGE",(r=t.BuildingTourTypePreferencesLiveVirtualToursTypeOfferedEnum||(t.BuildingTourTypePreferencesLiveVirtualToursTypeOfferedEnum={})).Link="LINK",r.ClientScheduled="CLIENT_SCHEDULED",r.ScheduledByMeManagedByMe="SCHEDULED_BY_ME_MANAGED_BY_ME",r.ScheduledByMeManagedByClient="SCHEDULED_BY_ME_MANAGED_BY_CLIENT",r.ScheduledByMeManagedByConcierge="SCHEDULED_BY_ME_MANAGED_BY_CONCIERGE",(i=t.BuildingTourTypePreferencesSelfGuidedToursTypeOfferedEnum||(t.BuildingTourTypePreferencesSelfGuidedToursTypeOfferedEnum={})).Link="LINK",i.ClientScheduled="CLIENT_SCHEDULED",i.ScheduledByMeManagedByMe="SCHEDULED_BY_ME_MANAGED_BY_ME",i.ScheduledByMeManagedByClient="SCHEDULED_BY_ME_MANAGED_BY_CLIENT",i.ScheduledByMeManagedByConcierge="SCHEDULED_BY_ME_MANAGED_BY_CONCIERGE",t.BuildingTourTypePreferencesFromJSON=function(e){return u(e)},t.BuildingTourTypePreferencesFromJSONTyped=u,t.BuildingTourTypePreferencesToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,buildingId:e.buildingId,escortedToursAllowed:e.escortedToursAllowed,escortedToursTypeOffered:e.escortedToursTypeOffered,escortedTourClientName:e.escortedTourClientName,escortedToursLink:e.escortedToursLink,mediaToursAllowed:e.mediaToursAllowed,mediaToursTypeOffered:e.mediaToursTypeOffered,mediaTourClientName:e.mediaTourClientName,mediaToursLink:e.mediaToursLink,liveVirtualToursAllowed:e.liveVirtualToursAllowed,liveVirtualToursTypeOffered:e.liveVirtualToursTypeOffered,liveVirtualTourClientName:e.liveVirtualTourClientName,liveVirtualToursLink:e.liveVirtualToursLink,selfGuidedToursAllowed:e.selfGuidedToursAllowed,selfGuidedToursTypeOffered:e.selfGuidedToursTypeOffered,selfGuidedTourClientName:e.selfGuidedTourClientName,selfGuidedToursLink:e.selfGuidedToursLink}}},2386:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CalendarEventTourHandlerToJSON=t.CalendarEventTourHandlerFromJSONTyped=t.CalendarEventTourHandlerFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{id:e.id,timeCreated:new Date(e.timeCreated),buildingId:i.exists(e,"buildingId")?e.buildingId:void 0,calendarEventId:e.calendarEventId,leasingAgentId:e.leasingAgentId}}t.CalendarEventTourHandlerFromJSON=function(e){return r(e)},t.CalendarEventTourHandlerFromJSONTyped=r,t.CalendarEventTourHandlerToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,timeCreated:e.timeCreated.toISOString(),buildingId:e.buildingId,calendarEventId:e.calendarEventId,leasingAgentId:e.leasingAgentId}}},4853:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CancelActionDtoToJSON=t.CancelActionDtoFromJSONTyped=t.CancelActionDtoFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{contextId:i.exists(e,"contextId")?e.contextId:void 0,calendarEventId:i.exists(e,"calendarEventId")?e.calendarEventId:void 0,buildingId:i.exists(e,"buildingId")?e.buildingId:void 0}}t.CancelActionDtoFromJSON=function(e){return r(e)},t.CancelActionDtoFromJSONTyped=r,t.CancelActionDtoToJSON=function(e){if(void 0!==e)return null===e?null:{contextId:e.contextId,calendarEventId:e.calendarEventId,buildingId:e.buildingId}}},9260:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CancelTourByStateIdDtoToJSON=t.CancelTourByStateIdDtoFromJSONTyped=t.CancelTourByStateIdDtoFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{mcId:i.exists(e,"mcId")?e.mcId:void 0,stateId:i.exists(e,"stateId")?e.stateId:void 0,buildingId:i.exists(e,"buildingId")?e.buildingId:void 0,useLegacyContext:i.exists(e,"useLegacyContext")?e.useLegacyContext:void 0,sms:i.exists(e,"sms")?e.sms:void 0}}t.CancelTourByStateIdDtoFromJSON=function(e){return r(e)},t.CancelTourByStateIdDtoFromJSONTyped=r,t.CancelTourByStateIdDtoToJSON=function(e){if(void 0!==e)return null===e?null:{mcId:e.mcId,stateId:e.stateId,buildingId:e.buildingId,useLegacyContext:e.useLegacyContext,sms:e.sms}}},3777:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CancelTourDtoToJSON=t.CancelTourDtoFromJSONTyped=t.CancelTourDtoFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{contextId:i.exists(e,"contextId")?e.contextId:void 0,buildingId:i.exists(e,"buildingId")?e.buildingId:void 0}}t.CancelTourDtoFromJSON=function(e){return r(e)},t.CancelTourDtoFromJSONTyped=r,t.CancelTourDtoToJSON=function(e){if(void 0!==e)return null===e?null:{contextId:e.contextId,buildingId:e.buildingId}}},713:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ChatTelemetryDtoToJSON=t.ChatTelemetryDtoFromJSONTyped=t.ChatTelemetryDtoFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{eventType:i.exists(e,"eventType")?e.eventType:void 0,chatId:i.exists(e,"chatId")?e.chatId:void 0,url:i.exists(e,"url")?e.url:void 0,org:i.exists(e,"org")?e.org:void 0,building:i.exists(e,"building")?e.building:void 0,referrer:i.exists(e,"referrer")?e.referrer:void 0,featureFlags:i.exists(e,"featureFlags")?e.featureFlags:void 0}}t.ChatTelemetryDtoFromJSON=function(e){return r(e)},t.ChatTelemetryDtoFromJSONTyped=r,t.ChatTelemetryDtoToJSON=function(e){if(void 0!==e)return null===e?null:{eventType:e.eventType,chatId:e.chatId,url:e.url,org:e.org,building:e.building,referrer:e.referrer,featureFlags:e.featureFlags}}},1172:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CommunitiesDefaultsToJSON=t.CommunitiesDefaultsFromJSONTyped=t.CommunitiesDefaultsFromJSON=void 0;var i=n(296),r=n(6448),o=n(6161),a=n(6069),s=n(6122);function u(e,t){return null==e?e:{virtualTourType:i.exists(e,"virtualTourType")?s.SettingVirtualTourTypeFromJSON(e.virtualTourType):void 0,virtualTourPlatforms:i.exists(e,"virtualTourPlatforms")?a.SettingStringFromJSON(e.virtualTourPlatforms):void 0,furnishedOffered:i.exists(e,"furnishedOffered")?o.SettingIntegerFromJSON(e.furnishedOffered):void 0,furnishedUnitsPolicy:i.exists(e,"furnishedUnitsPolicy")?a.SettingStringFromJSON(e.furnishedUnitsPolicy):void 0,utilitiesIncluded:i.exists(e,"utilitiesIncluded")?a.SettingStringFromJSON(e.utilitiesIncluded):void 0,utilitiesNotIncluded:i.exists(e,"utilitiesNotIncluded")?a.SettingStringFromJSON(e.utilitiesNotIncluded):void 0,advancedMoveInAllowenceInDays:i.exists(e,"advancedMoveInAllowenceInDays")?o.SettingIntegerFromJSON(e.advancedMoveInAllowenceInDays):void 0,occupiedUnits:i.exists(e,"occupiedUnits")?o.SettingIntegerFromJSON(e.occupiedUnits):void 0,showUnitsWithPendingApplication:i.exists(e,"showUnitsWithPendingApplication")?r.SettingBooleanFromJSON(e.showUnitsWithPendingApplication):void 0,confirmAppointmentsRenovatingUnits:i.exists(e,"confirmAppointmentsRenovatingUnits")?r.SettingBooleanFromJSON(e.confirmAppointmentsRenovatingUnits):void 0,occupiedUnitsAdvancedNoticeInHours:i.exists(e,"occupiedUnitsAdvancedNoticeInHours")?o.SettingIntegerFromJSON(e.occupiedUnitsAdvancedNoticeInHours):void 0,confirmAppointmentsOccupiedUnits:i.exists(e,"confirmAppointmentsOccupiedUnits")?r.SettingBooleanFromJSON(e.confirmAppointmentsOccupiedUnits):void 0,showOccupiedUnitsWithPendingApplication:i.exists(e,"showOccupiedUnitsWithPendingApplication")?r.SettingBooleanFromJSON(e.showOccupiedUnitsWithPendingApplication):void 0,leaseholderApplicationDocumentsRequired:i.exists(e,"leaseholderApplicationDocumentsRequired")?a.SettingStringFromJSON(e.leaseholderApplicationDocumentsRequired):void 0,leaseholderMinimumCreditScoreRequirement:i.exists(e,"leaseholderMinimumCreditScoreRequirement")?a.SettingStringFromJSON(e.leaseholderMinimumCreditScoreRequirement):void 0,noCreditQualificationAlternative:i.exists(e,"noCreditQualificationAlternative")?a.SettingStringFromJSON(e.noCreditQualificationAlternative):void 0,incomeRequirementRentMultiplierTimePeriod:i.exists(e,"incomeRequirementRentMultiplierTimePeriod")?r.SettingBooleanFromJSON(e.incomeRequirementRentMultiplierTimePeriod):void 0,rentRequiredOnLeaseSigning:i.exists(e,"rentRequiredOnLeaseSigning")?a.SettingStringFromJSON(e.rentRequiredOnLeaseSigning):void 0,paymentFormsAccepted:i.exists(e,"paymentFormsAccepted")?a.SettingStringFromJSON(e.paymentFormsAccepted):void 0,internationalStudentRequirements:i.exists(e,"internationalStudentRequirements")?a.SettingStringFromJSON(e.internationalStudentRequirements):void 0,guarantorMinimumCreditScoreRequirement:i.exists(e,"guarantorMinimumCreditScoreRequirement")?a.SettingStringFromJSON(e.guarantorMinimumCreditScoreRequirement):void 0,effectiveRentComputeType:i.exists(e,"effectiveRentComputeType")?o.SettingIntegerFromJSON(e.effectiveRentComputeType):void 0,avoidQuotingPrices:i.exists(e,"avoidQuotingPrices")?r.SettingBooleanFromJSON(e.avoidQuotingPrices):void 0,defaultAvailabilityQuoteMatchMoveInDate:i.exists(e,"defaultAvailabilityQuoteMatchMoveInDate")?r.SettingBooleanFromJSON(e.defaultAvailabilityQuoteMatchMoveInDate):void 0,rentComputeType:i.exists(e,"rentComputeType")?o.SettingIntegerFromJSON(e.rentComputeType):void 0,rentWithIncentivesQuoteFormat:i.exists(e,"rentWithIncentivesQuoteFormat")?a.SettingStringFromJSON(e.rentWithIncentivesQuoteFormat):void 0,rentQuoteFormat:i.exists(e,"rentQuoteFormat")?a.SettingStringFromJSON(e.rentQuoteFormat):void 0}}t.CommunitiesDefaultsFromJSON=function(e){return u(e)},t.CommunitiesDefaultsFromJSONTyped=u,t.CommunitiesDefaultsToJSON=function(e){if(void 0!==e)return null===e?null:{virtualTourType:s.SettingVirtualTourTypeToJSON(e.virtualTourType),virtualTourPlatforms:a.SettingStringToJSON(e.virtualTourPlatforms),furnishedOffered:o.SettingIntegerToJSON(e.furnishedOffered),furnishedUnitsPolicy:a.SettingStringToJSON(e.furnishedUnitsPolicy),utilitiesIncluded:a.SettingStringToJSON(e.utilitiesIncluded),utilitiesNotIncluded:a.SettingStringToJSON(e.utilitiesNotIncluded),advancedMoveInAllowenceInDays:o.SettingIntegerToJSON(e.advancedMoveInAllowenceInDays),occupiedUnits:o.SettingIntegerToJSON(e.occupiedUnits),showUnitsWithPendingApplication:r.SettingBooleanToJSON(e.showUnitsWithPendingApplication),confirmAppointmentsRenovatingUnits:r.SettingBooleanToJSON(e.confirmAppointmentsRenovatingUnits),occupiedUnitsAdvancedNoticeInHours:o.SettingIntegerToJSON(e.occupiedUnitsAdvancedNoticeInHours),confirmAppointmentsOccupiedUnits:r.SettingBooleanToJSON(e.confirmAppointmentsOccupiedUnits),showOccupiedUnitsWithPendingApplication:r.SettingBooleanToJSON(e.showOccupiedUnitsWithPendingApplication),leaseholderApplicationDocumentsRequired:a.SettingStringToJSON(e.leaseholderApplicationDocumentsRequired),leaseholderMinimumCreditScoreRequirement:a.SettingStringToJSON(e.leaseholderMinimumCreditScoreRequirement),noCreditQualificationAlternative:a.SettingStringToJSON(e.noCreditQualificationAlternative),incomeRequirementRentMultiplierTimePeriod:r.SettingBooleanToJSON(e.incomeRequirementRentMultiplierTimePeriod),rentRequiredOnLeaseSigning:a.SettingStringToJSON(e.rentRequiredOnLeaseSigning),paymentFormsAccepted:a.SettingStringToJSON(e.paymentFormsAccepted),internationalStudentRequirements:a.SettingStringToJSON(e.internationalStudentRequirements),guarantorMinimumCreditScoreRequirement:a.SettingStringToJSON(e.guarantorMinimumCreditScoreRequirement),effectiveRentComputeType:o.SettingIntegerToJSON(e.effectiveRentComputeType),avoidQuotingPrices:r.SettingBooleanToJSON(e.avoidQuotingPrices),defaultAvailabilityQuoteMatchMoveInDate:r.SettingBooleanToJSON(e.defaultAvailabilityQuoteMatchMoveInDate),rentComputeType:o.SettingIntegerToJSON(e.rentComputeType),rentWithIncentivesQuoteFormat:a.SettingStringToJSON(e.rentWithIncentivesQuoteFormat),rentQuoteFormat:a.SettingStringToJSON(e.rentQuoteFormat)}}},5384:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CommunitiesEdgeToJSON=t.CommunitiesEdgeFromJSONTyped=t.CommunitiesEdgeFromJSON=void 0;var i=n(296),r=n(2414);function o(e,t){return null==e?e:{node:i.exists(e,"node")?r.CommunitiesNodeFromJSON(e.node):void 0}}t.CommunitiesEdgeFromJSON=function(e){return o(e)},t.CommunitiesEdgeFromJSONTyped=o,t.CommunitiesEdgeToJSON=function(e){if(void 0!==e)return null===e?null:{node:r.CommunitiesNodeToJSON(e.node)}}},2414:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CommunitiesNodeToJSON=t.CommunitiesNodeFromJSONTyped=t.CommunitiesNodeFromJSON=void 0;var i=n(296),r=n(2322),o=n(1204);function a(e,t){return null==e?e:{communityId:i.exists(e,"communityId")?e.communityId:void 0,communityName:i.exists(e,"communityName")?e.communityName:void 0,companyName:i.exists(e,"companyName")?e.companyName:void 0,trackingEmailUsername:i.exists(e,"trackingEmailUsername")?e.trackingEmailUsername:void 0,inPersonToursEnabled:i.exists(e,"inPersonToursEnabled")?e.inPersonToursEnabled:void 0,liveVideoToursEnabled:i.exists(e,"liveVideoToursEnabled")?e.liveVideoToursEnabled:void 0,selfGuidedToursEnabled:i.exists(e,"selfGuidedToursEnabled")?e.selfGuidedToursEnabled:void 0,address:i.exists(e,"address")?r.AddressFromJSON(e.address):void 0,geolocation:i.exists(e,"geolocation")?o.GeolocationFromJSON(e.geolocation):void 0}}t.CommunitiesNodeFromJSON=function(e){return a(e)},t.CommunitiesNodeFromJSONTyped=a,t.CommunitiesNodeToJSON=function(e){if(void 0!==e)return null===e?null:{communityId:e.communityId,communityName:e.communityName,companyName:e.companyName,trackingEmailUsername:e.trackingEmailUsername,inPersonToursEnabled:e.inPersonToursEnabled,liveVideoToursEnabled:e.liveVideoToursEnabled,selfGuidedToursEnabled:e.selfGuidedToursEnabled,address:r.AddressToJSON(e.address),geolocation:o.GeolocationToJSON(e.geolocation)}}},3077:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CommunityFormViewToJSON=t.CommunityFormViewFromJSONTyped=t.CommunityFormViewFromJSON=t.CommunityFormViewVirtualTourTypeEnum=t.CommunityFormViewTourNotificationEmailsModeEnum=void 0;var i,r,o=n(296),a=n(3617);function s(e,t){return null==e?e:{id:o.exists(e,"id")?e.id:void 0,managementCompanyId:o.exists(e,"managementCompanyId")?e.managementCompanyId:void 0,organizationId:o.exists(e,"organizationId")?e.organizationId:void 0,active:o.exists(e,"active")?e.active:void 0,handoffForwardToEmails:o.exists(e,"handoffForwardToEmails")?e.handoffForwardToEmails:void 0,responseCcEmails:o.exists(e,"responseCcEmails")?e.responseCcEmails:void 0,responseBccEmails:o.exists(e,"responseBccEmails")?e.responseBccEmails:void 0,buildingName:o.exists(e,"buildingName")?e.buildingName:void 0,address1:o.exists(e,"address1")?e.address1:void 0,address2:o.exists(e,"address2")?e.address2:void 0,address3:o.exists(e,"address3")?e.address3:void 0,city:o.exists(e,"city")?e.city:void 0,state:o.exists(e,"state")?e.state:void 0,postalCode:o.exists(e,"postalCode")?e.postalCode:void 0,crossStreets:o.exists(e,"crossStreets")?e.crossStreets:void 0,neighborhood:o.exists(e,"neighborhood")?e.neighborhood:void 0,nearbyTransportation:o.exists(e,"nearbyTransportation")?e.nearbyTransportation:void 0,totalUnits:o.exists(e,"totalUnits")?e.totalUnits:void 0,totalFloors:o.exists(e,"totalFloors")?e.totalFloors:void 0,greenBuilding:o.exists(e,"greenBuilding")?e.greenBuilding:void 0,elevator:o.exists(e,"elevator")?e.elevator:void 0,freightElevator:o.exists(e,"freightElevator")?e.freightElevator:void 0,petPolicy:o.exists(e,"petPolicy")?e.petPolicy:void 0,petFeeOrDeposit:o.exists(e,"petFeeOrDeposit")?e.petFeeOrDeposit:void 0,utilitiesIncluded:o.exists(e,"utilitiesIncluded")?e.utilitiesIncluded:void 0,utilitiesNotIncluded:o.exists(e,"utilitiesNotIncluded")?e.utilitiesNotIncluded:void 0,minLeaseTermAccepted:o.exists(e,"minLeaseTermAccepted")?e.minLeaseTermAccepted:void 0,furnishedOffered:o.exists(e,"furnishedOffered")?e.furnishedOffered:void 0,furnishedUnitsPolicy:o.exists(e,"furnishedUnitsPolicy")?e.furnishedUnitsPolicy:void 0,internationalStudentRequirements:o.exists(e,"internationalStudentRequirements")?e.internationalStudentRequirements:void 0,amenitiesFee:o.exists(e,"amenitiesFee")?e.amenitiesFee:void 0,corporateLeasesAccepted:o.exists(e,"corporateLeasesAccepted")?e.corporateLeasesAccepted:void 0,doorman:o.exists(e,"doorman")?e.doorman:void 0,intercom:o.exists(e,"intercom")?e.intercom:void 0,liveInSuper:o.exists(e,"liveInSuper")?e.liveInSuper:void 0,concierge:o.exists(e,"concierge")?e.concierge:void 0,laundryInBuilding:o.exists(e,"laundryInBuilding")?e.laundryInBuilding:void 0,packageReceiving:o.exists(e,"packageReceiving")?e.packageReceiving:void 0,gym:o.exists(e,"gym")?e.gym:void 0,storage:o.exists(e,"storage")?e.storage:void 0,bicycleRoom:o.exists(e,"bicycleRoom")?e.bicycleRoom:void 0,lounge:o.exists(e,"lounge")?e.lounge:void 0,clubHouse:o.exists(e,"clubHouse")?e.clubHouse:void 0,businessCenter:o.exists(e,"businessCenter")?e.businessCenter:void 0,outdoorSpace:o.exists(e,"outdoorSpace")?e.outdoorSpace:void 0,roofDeck:o.exists(e,"roofDeck")?e.roofDeck:void 0,courtyard:o.exists(e,"courtyard")?e.courtyard:void 0,childrenPlayroom:o.exists(e,"childrenPlayroom")?e.childrenPlayroom:void 0,nursery:o.exists(e,"nursery")?e.nursery:void 0,maidService:o.exists(e,"maidService")?e.maidService:void 0,pool:o.exists(e,"pool")?e.pool:void 0,wheelchairAccess:o.exists(e,"wheelchairAccess")?e.wheelchairAccess:void 0,thirdPartyGuarantorTypesAccepted:o.exists(e,"thirdPartyGuarantorTypesAccepted")?e.thirdPartyGuarantorTypesAccepted:void 0,noCreditQualificationAlternative:o.exists(e,"noCreditQualificationAlternative")?e.noCreditQualificationAlternative:void 0,virtualTourPlatforms:o.exists(e,"virtualTourPlatforms")?e.virtualTourPlatforms:void 0,flexWallPolicy:o.exists(e,"flexWallPolicy")?e.flexWallPolicy:void 0,leaseholderApplicationFee:o.exists(e,"leaseholderApplicationFee")?e.leaseholderApplicationFee:void 0,guarantorApplicationFee:o.exists(e,"guarantorApplicationFee")?e.guarantorApplicationFee:void 0,tenantIncomeRequirementRentMultiplier:o.exists(e,"tenantIncomeRequirementRentMultiplier")?e.tenantIncomeRequirementRentMultiplier:void 0,guarantorIncomeRequirementRentMultiplier:o.exists(e,"guarantorIncomeRequirementRentMultiplier")?e.guarantorIncomeRequirementRentMultiplier:void 0,leaseholderMinimumCreditScoreRequirement:o.exists(e,"leaseholderMinimumCreditScoreRequirement")?e.leaseholderMinimumCreditScoreRequirement:void 0,guarantorMinimumCreditScoreRequirement:o.exists(e,"guarantorMinimumCreditScoreRequirement")?e.guarantorMinimumCreditScoreRequirement:void 0,leaseholderApplicationDocumentsRequired:o.exists(e,"leaseholderApplicationDocumentsRequired")?e.leaseholderApplicationDocumentsRequired:void 0,guarantorsAccepted:o.exists(e,"guarantorsAccepted")?e.guarantorsAccepted:void 0,prepaymentPolicy:o.exists(e,"prepaymentPolicy")?e.prepaymentPolicy:void 0,rentRequiredOnLeaseSigning:o.exists(e,"rentRequiredOnLeaseSigning")?e.rentRequiredOnLeaseSigning:void 0,paymentFormsAccepted:o.exists(e,"paymentFormsAccepted")?e.paymentFormsAccepted:void 0,leasingBrochureUrl:o.exists(e,"leasingBrochureUrl")?e.leasingBrochureUrl:void 0,leasingOfficeHours:o.exists(e,"leasingOfficeHours")?e.leasingOfficeHours:void 0,appointmentHours:o.exists(e,"appointmentHours")?e.appointmentHours.map(a.AppointmentHoursFromJSON):void 0,occupiedUnitsShowingHours:o.exists(e,"occupiedUnitsShowingHours")?e.occupiedUnitsShowingHours:void 0,tourDuration:o.exists(e,"tourDuration")?e.tourDuration:void 0,leasingPhoneNumber:o.exists(e,"leasingPhoneNumber")?e.leasingPhoneNumber:void 0,callCenterNumber:o.exists(e,"callCenterNumber")?e.callCenterNumber:void 0,buildingWebsiteUrl:o.exists(e,"buildingWebsiteUrl")?e.buildingWebsiteUrl:void 0,applicationLink:o.exists(e,"applicationLink")?e.applicationLink:void 0,geoAddress:o.exists(e,"geoAddress")?e.geoAddress:void 0,googleMapsUrl:o.exists(e,"googleMapsUrl")?e.googleMapsUrl:void 0,appointmentMeetingLocation:o.exists(e,"appointmentMeetingLocation")?e.appointmentMeetingLocation:void 0,appointmentDirections:o.exists(e,"appointmentDirections")?e.appointmentDirections:void 0,appointmentAdditionalDirections:o.exists(e,"appointmentAdditionalDirections")?e.appointmentAdditionalDirections:void 0,rentComputeType:o.exists(e,"rentComputeType")?e.rentComputeType:void 0,autosendActive:o.exists(e,"autosendActive")?e.autosendActive:void 0,advancedMoveInAllowenceInDays:o.exists(e,"advancedMoveInAllowenceInDays")?e.advancedMoveInAllowenceInDays:void 0,showByOpenHouseOnly:o.exists(e,"showByOpenHouseOnly")?e.showByOpenHouseOnly:void 0,showUnitsWithPendingApplication:o.exists(e,"showUnitsWithPendingApplication")?e.showUnitsWithPendingApplication:void 0,showOccupiedUnitsWithPendingApplication:o.exists(e,"showOccupiedUnitsWithPendingApplication")?e.showOccupiedUnitsWithPendingApplication:void 0,confirmAppointmentsOccupiedUnits:o.exists(e,"confirmAppointmentsOccupiedUnits")?e.confirmAppointmentsOccupiedUnits:void 0,confirmAppointmentsRenovatingUnits:o.exists(e,"confirmAppointmentsRenovatingUnits")?e.confirmAppointmentsRenovatingUnits:void 0,occupiedUnitsAdvancedNoticeInHours:o.exists(e,"occupiedUnitsAdvancedNoticeInHours")?e.occupiedUnitsAdvancedNoticeInHours:void 0,alternativeBuildingNames:o.exists(e,"alternativeBuildingNames")?e.alternativeBuildingNames:void 0,externalIds:o.exists(e,"externalIds")?e.externalIds:void 0,externalCrmId:o.exists(e,"externalCrmId")?e.externalCrmId:void 0,defaultAvailabilityQuoteMatchMoveInDate:o.exists(e,"defaultAvailabilityQuoteMatchMoveInDate")?e.defaultAvailabilityQuoteMatchMoveInDate:void 0,leaseRenewalNoticeInDays:o.exists(e,"leaseRenewalNoticeInDays")?e.leaseRenewalNoticeInDays:void 0,rentQuoteFormat:o.exists(e,"rentQuoteFormat")?e.rentQuoteFormat:void 0,rentWithIncentivesQuoteFormat:o.exists(e,"rentWithIncentivesQuoteFormat")?e.rentWithIncentivesQuoteFormat:void 0,effectiveRentComputeType:o.exists(e,"effectiveRentComputeType")?e.effectiveRentComputeType:void 0,maxLeaseTermAccepted:o.exists(e,"maxLeaseTermAccepted")?e.maxLeaseTermAccepted:void 0,parkingInformation:o.exists(e,"parkingInformation")?e.parkingInformation:void 0,storageFee:o.exists(e,"storageFee")?e.storageFee:void 0,incentivesProperlyConnected:o.exists(e,"incentivesProperlyConnected")?e.incentivesProperlyConnected:void 0,prioritizeShowingVacantUnits:o.exists(e,"prioritizeShowingVacantUnits")?e.prioritizeShowingVacantUnits:void 0,electricCompany:o.exists(e,"electricCompany")?e.electricCompany:void 0,gasCompany:o.exists(e,"gasCompany")?e.gasCompany:void 0,telephoneCompany:o.exists(e,"telephoneCompany")?e.telephoneCompany:void 0,televisionCompany:o.exists(e,"televisionCompany")?e.televisionCompany:void 0,waterCompany:o.exists(e,"waterCompany")?e.waterCompany:void 0,internetCompany:o.exists(e,"internetCompany")?e.internetCompany:void 0,localHospital:o.exists(e,"localHospital")?e.localHospital:void 0,localSchoolDistrict:o.exists(e,"localSchoolDistrict")?e.localSchoolDistrict:void 0,localElementarySchool:o.exists(e,"localElementarySchool")?e.localElementarySchool:void 0,localMiddleSchool:o.exists(e,"localMiddleSchool")?e.localMiddleSchool:void 0,localHighSchool:o.exists(e,"localHighSchool")?e.localHighSchool:void 0,localShoppingCenter:o.exists(e,"localShoppingCenter")?e.localShoppingCenter:void 0,localGroceryStore:o.exists(e,"localGroceryStore")?e.localGroceryStore:void 0,closestInterstates:o.exists(e,"closestInterstates")?e.closestInterstates:void 0,buildingPicturesUrl:o.exists(e,"buildingPicturesUrl")?e.buildingPicturesUrl:void 0,buildingFloorPlansUrl:o.exists(e,"buildingFloorPlansUrl")?e.buildingFloorPlansUrl:void 0,nonexistentLayouts:o.exists(e,"nonexistentLayouts")?e.nonexistentLayouts:void 0,avoidQuotingPrices:o.exists(e,"avoidQuotingPrices")?e.avoidQuotingPrices:void 0,excludeNotRentReadyUnit:o.exists(e,"excludeNotRentReadyUnit")?e.excludeNotRentReadyUnit:void 0,flexWallsAllowed:o.exists(e,"flexWallsAllowed")?e.flexWallsAllowed:void 0,petsAccepted:o.exists(e,"petsAccepted")?e.petsAccepted:void 0,showOccupiedUnits:o.exists(e,"showOccupiedUnits")?e.showOccupiedUnits:void 0,guarantorsAcceptedSwitch:o.exists(e,"guarantorsAcceptedSwitch")?e.guarantorsAcceptedSwitch:void 0,thirdPartyGuarantorsAccepted:o.exists(e,"thirdPartyGuarantorsAccepted")?e.thirdPartyGuarantorsAccepted:void 0,leasingOfficeOnsite:o.exists(e,"leasingOfficeOnsite")?e.leasingOfficeOnsite:void 0,building3dMediaUrl:o.exists(e,"building3dMediaUrl")?e.building3dMediaUrl:void 0,inPersonToursAllowed:o.exists(e,"inPersonToursAllowed")?e.inPersonToursAllowed:void 0,selfGuidedToursEnabled:o.exists(e,"selfGuidedToursEnabled")?e.selfGuidedToursEnabled:void 0,noUnitSelfGuidedTourAllowed:o.exists(e,"noUnitSelfGuidedTourAllowed")?e.noUnitSelfGuidedTourAllowed:void 0,textForwardToEmails:o.exists(e,"textForwardToEmails")?e.textForwardToEmails:void 0,omitDesiredFloorPlan:o.exists(e,"omitDesiredFloorPlan")?e.omitDesiredFloorPlan:void 0,tourNotificationEmailsMode:o.exists(e,"tourNotificationEmailsMode")?e.tourNotificationEmailsMode:void 0,virtualTourType:o.exists(e,"virtualTourType")?e.virtualTourType:void 0,offeredLayouts:o.exists(e,"offeredLayouts")?e.offeredLayouts:void 0,weeklyReportEmails:o.exists(e,"weeklyReportEmails")?e.weeklyReportEmails:void 0,dailyReportEmails:o.exists(e,"dailyReportEmails")?e.dailyReportEmails:void 0,sgtUrl:o.exists(e,"sgtUrl")?e.sgtUrl:void 0,preRecordedVirtualTourUrl:o.exists(e,"preRecordedVirtualTourUrl")?e.preRecordedVirtualTourUrl:void 0,liveVirtualToursLink:o.exists(e,"liveVirtualToursLink")?e.liveVirtualToursLink:void 0,selfGuidedToursLink:o.exists(e,"selfGuidedToursLink")?e.selfGuidedToursLink:void 0}}(r=t.CommunityFormViewTourNotificationEmailsModeEnum||(t.CommunityFormViewTourNotificationEmailsModeEnum={})).NoNotification="NO_NOTIFICATION",r.AllViewings="ALL_VIEWINGS",r.SameDayViewings="SAME_DAY_VIEWINGS",(i=t.CommunityFormViewVirtualTourTypeEnum||(t.CommunityFormViewVirtualTourTypeEnum={})).NotEnabled="NOT_ENABLED",i.SelfManaged="SELF_MANAGED",i.Whereby="WHEREBY",t.CommunityFormViewFromJSON=function(e){return s(e)},t.CommunityFormViewFromJSONTyped=s,t.CommunityFormViewToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,managementCompanyId:e.managementCompanyId,organizationId:e.organizationId,active:e.active,handoffForwardToEmails:e.handoffForwardToEmails,responseCcEmails:e.responseCcEmails,responseBccEmails:e.responseBccEmails,buildingName:e.buildingName,address1:e.address1,address2:e.address2,address3:e.address3,city:e.city,state:e.state,postalCode:e.postalCode,crossStreets:e.crossStreets,neighborhood:e.neighborhood,nearbyTransportation:e.nearbyTransportation,totalUnits:e.totalUnits,totalFloors:e.totalFloors,greenBuilding:e.greenBuilding,elevator:e.elevator,freightElevator:e.freightElevator,petPolicy:e.petPolicy,petFeeOrDeposit:e.petFeeOrDeposit,utilitiesIncluded:e.utilitiesIncluded,utilitiesNotIncluded:e.utilitiesNotIncluded,minLeaseTermAccepted:e.minLeaseTermAccepted,furnishedOffered:e.furnishedOffered,furnishedUnitsPolicy:e.furnishedUnitsPolicy,internationalStudentRequirements:e.internationalStudentRequirements,amenitiesFee:e.amenitiesFee,corporateLeasesAccepted:e.corporateLeasesAccepted,doorman:e.doorman,intercom:e.intercom,liveInSuper:e.liveInSuper,concierge:e.concierge,laundryInBuilding:e.laundryInBuilding,packageReceiving:e.packageReceiving,gym:e.gym,storage:e.storage,bicycleRoom:e.bicycleRoom,lounge:e.lounge,clubHouse:e.clubHouse,businessCenter:e.businessCenter,outdoorSpace:e.outdoorSpace,roofDeck:e.roofDeck,courtyard:e.courtyard,childrenPlayroom:e.childrenPlayroom,nursery:e.nursery,maidService:e.maidService,pool:e.pool,wheelchairAccess:e.wheelchairAccess,thirdPartyGuarantorTypesAccepted:e.thirdPartyGuarantorTypesAccepted,noCreditQualificationAlternative:e.noCreditQualificationAlternative,virtualTourPlatforms:e.virtualTourPlatforms,flexWallPolicy:e.flexWallPolicy,leaseholderApplicationFee:e.leaseholderApplicationFee,guarantorApplicationFee:e.guarantorApplicationFee,tenantIncomeRequirementRentMultiplier:e.tenantIncomeRequirementRentMultiplier,guarantorIncomeRequirementRentMultiplier:e.guarantorIncomeRequirementRentMultiplier,leaseholderMinimumCreditScoreRequirement:e.leaseholderMinimumCreditScoreRequirement,guarantorMinimumCreditScoreRequirement:e.guarantorMinimumCreditScoreRequirement,leaseholderApplicationDocumentsRequired:e.leaseholderApplicationDocumentsRequired,guarantorsAccepted:e.guarantorsAccepted,prepaymentPolicy:e.prepaymentPolicy,rentRequiredOnLeaseSigning:e.rentRequiredOnLeaseSigning,paymentFormsAccepted:e.paymentFormsAccepted,leasingBrochureUrl:e.leasingBrochureUrl,leasingOfficeHours:e.leasingOfficeHours,appointmentHours:void 0===e.appointmentHours?void 0:e.appointmentHours.map(a.AppointmentHoursToJSON),occupiedUnitsShowingHours:e.occupiedUnitsShowingHours,tourDuration:e.tourDuration,leasingPhoneNumber:e.leasingPhoneNumber,callCenterNumber:e.callCenterNumber,buildingWebsiteUrl:e.buildingWebsiteUrl,applicationLink:e.applicationLink,geoAddress:e.geoAddress,googleMapsUrl:e.googleMapsUrl,appointmentMeetingLocation:e.appointmentMeetingLocation,appointmentDirections:e.appointmentDirections,appointmentAdditionalDirections:e.appointmentAdditionalDirections,rentComputeType:e.rentComputeType,autosendActive:e.autosendActive,advancedMoveInAllowenceInDays:e.advancedMoveInAllowenceInDays,showByOpenHouseOnly:e.showByOpenHouseOnly,showUnitsWithPendingApplication:e.showUnitsWithPendingApplication,showOccupiedUnitsWithPendingApplication:e.showOccupiedUnitsWithPendingApplication,confirmAppointmentsOccupiedUnits:e.confirmAppointmentsOccupiedUnits,confirmAppointmentsRenovatingUnits:e.confirmAppointmentsRenovatingUnits,occupiedUnitsAdvancedNoticeInHours:e.occupiedUnitsAdvancedNoticeInHours,alternativeBuildingNames:e.alternativeBuildingNames,externalIds:e.externalIds,externalCrmId:e.externalCrmId,defaultAvailabilityQuoteMatchMoveInDate:e.defaultAvailabilityQuoteMatchMoveInDate,leaseRenewalNoticeInDays:e.leaseRenewalNoticeInDays,rentQuoteFormat:e.rentQuoteFormat,rentWithIncentivesQuoteFormat:e.rentWithIncentivesQuoteFormat,effectiveRentComputeType:e.effectiveRentComputeType,maxLeaseTermAccepted:e.maxLeaseTermAccepted,parkingInformation:e.parkingInformation,storageFee:e.storageFee,incentivesProperlyConnected:e.incentivesProperlyConnected,prioritizeShowingVacantUnits:e.prioritizeShowingVacantUnits,electricCompany:e.electricCompany,gasCompany:e.gasCompany,telephoneCompany:e.telephoneCompany,televisionCompany:e.televisionCompany,waterCompany:e.waterCompany,internetCompany:e.internetCompany,localHospital:e.localHospital,localSchoolDistrict:e.localSchoolDistrict,localElementarySchool:e.localElementarySchool,localMiddleSchool:e.localMiddleSchool,localHighSchool:e.localHighSchool,localShoppingCenter:e.localShoppingCenter,localGroceryStore:e.localGroceryStore,closestInterstates:e.closestInterstates,buildingPicturesUrl:e.buildingPicturesUrl,buildingFloorPlansUrl:e.buildingFloorPlansUrl,nonexistentLayouts:e.nonexistentLayouts,avoidQuotingPrices:e.avoidQuotingPrices,excludeNotRentReadyUnit:e.excludeNotRentReadyUnit,flexWallsAllowed:e.flexWallsAllowed,petsAccepted:e.petsAccepted,showOccupiedUnits:e.showOccupiedUnits,guarantorsAcceptedSwitch:e.guarantorsAcceptedSwitch,thirdPartyGuarantorsAccepted:e.thirdPartyGuarantorsAccepted,leasingOfficeOnsite:e.leasingOfficeOnsite,building3dMediaUrl:e.building3dMediaUrl,inPersonToursAllowed:e.inPersonToursAllowed,selfGuidedToursEnabled:e.selfGuidedToursEnabled,noUnitSelfGuidedTourAllowed:e.noUnitSelfGuidedTourAllowed,textForwardToEmails:e.textForwardToEmails,omitDesiredFloorPlan:e.omitDesiredFloorPlan,tourNotificationEmailsMode:e.tourNotificationEmailsMode,virtualTourType:e.virtualTourType,offeredLayouts:e.offeredLayouts,weeklyReportEmails:e.weeklyReportEmails,dailyReportEmails:e.dailyReportEmails,sgtUrl:e.sgtUrl,preRecordedVirtualTourUrl:e.preRecordedVirtualTourUrl,liveVirtualToursLink:e.liveVirtualToursLink,selfGuidedToursLink:e.selfGuidedToursLink}}},2817:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CommunityPageBuildingToJSON=t.CommunityPageBuildingFromJSONTyped=t.CommunityPageBuildingFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{buildingName:i.exists(e,"buildingName")?e.buildingName:void 0,launchDate:i.exists(e,"launchDate")?new Date(e.launchDate):void 0,organizationId:i.exists(e,"organizationId")?e.organizationId:void 0,organizationName:i.exists(e,"organizationName")?e.organizationName:void 0,assistantId:i.exists(e,"assistantId")?e.assistantId:void 0,assistantEmail:i.exists(e,"assistantEmail")?e.assistantEmail:void 0,externalIds:i.exists(e,"externalIds")?e.externalIds:void 0,externalCrmId:i.exists(e,"externalCrmId")?e.externalCrmId:void 0,id:i.exists(e,"id")?e.id:void 0,totalUnits:i.exists(e,"totalUnits")?e.totalUnits:void 0,address1:i.exists(e,"address1")?e.address1:void 0,city:i.exists(e,"city")?e.city:void 0,state:i.exists(e,"state")?e.state:void 0,postalCode:i.exists(e,"postalCode")?e.postalCode:void 0,active:i.exists(e,"active")?e.active:void 0,calendarId:i.exists(e,"calendarId")?e.calendarId:void 0}}t.CommunityPageBuildingFromJSON=function(e){return r(e)},t.CommunityPageBuildingFromJSONTyped=r,t.CommunityPageBuildingToJSON=function(e){if(void 0!==e)return null===e?null:{buildingName:e.buildingName,launchDate:void 0===e.launchDate?void 0:e.launchDate.toISOString(),organizationId:e.organizationId,organizationName:e.organizationName,assistantId:e.assistantId,assistantEmail:e.assistantEmail,externalIds:e.externalIds,externalCrmId:e.externalCrmId,id:e.id,totalUnits:e.totalUnits,address1:e.address1,city:e.city,state:e.state,postalCode:e.postalCode,active:e.active,calendarId:e.calendarId}}},9407:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ContextDtoToJSON=t.ContextDtoFromJSONTyped=t.ContextDtoFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{id:i.exists(e,"id")?e.id:void 0,leadId:i.exists(e,"leadId")?e.leadId:void 0,partyId:i.exists(e,"partyId")?e.partyId:void 0}}t.ContextDtoFromJSON=function(e){return r(e)},t.ContextDtoFromJSONTyped=r,t.ContextDtoToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,leadId:e.leadId,partyId:e.partyId}}},7058:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ConversationToJSON=t.ConversationFromJSONTyped=t.ConversationFromJSON=void 0;var i=n(296),r=n(3531);function o(e,t){return null==e?e:{leadContact:i.exists(e,"leadContact")?e.leadContact:void 0,conversations:i.exists(e,"conversations")?e.conversations.map(r.ConversationMessageFromJSON):void 0}}t.ConversationFromJSON=function(e){return o(e)},t.ConversationFromJSONTyped=o,t.ConversationToJSON=function(e){if(void 0!==e)return null===e?null:{leadContact:e.leadContact,conversations:void 0===e.conversations?void 0:e.conversations.map(r.ConversationMessageToJSON)}}},3531:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ConversationMessageToJSON=t.ConversationMessageFromJSONTyped=t.ConversationMessageFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{sender:i.exists(e,"sender")?e.sender:void 0,body:i.exists(e,"body")?e.body:void 0,timeSent:i.exists(e,"timeSent")?e.timeSent:void 0}}t.ConversationMessageFromJSON=function(e){return r(e)},t.ConversationMessageFromJSONTyped=r,t.ConversationMessageToJSON=function(e){if(void 0!==e)return null===e?null:{sender:e.sender,body:e.body,timeSent:e.timeSent}}},6613:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ConversationMessageV2ToJSON=t.ConversationMessageV2FromJSONTyped=t.ConversationMessageV2FromJSON=t.ConversationMessageV2TypeEnum=void 0;var i,r=n(296);function o(e,t){return null==e?e:{type:r.exists(e,"type")?e.type:void 0,id:r.exists(e,"id")?e.id:void 0,timeSent:r.exists(e,"timeSent")?new Date(e.timeSent):void 0,body:r.exists(e,"body")?e.body:void 0,sender:r.exists(e,"sender")?e.sender:void 0,subject:r.exists(e,"subject")?e.subject:void 0,threadId:r.exists(e,"threadId")?e.threadId:void 0}}(i=t.ConversationMessageV2TypeEnum||(t.ConversationMessageV2TypeEnum={})).WebChat="WebChat",i.Email="Email",i.Text="Text",t.ConversationMessageV2FromJSON=function(e){return o(e)},t.ConversationMessageV2FromJSONTyped=o,t.ConversationMessageV2ToJSON=function(e){if(void 0!==e)return null===e?null:{type:e.type,id:e.id,timeSent:void 0===e.timeSent?void 0:e.timeSent.toISOString(),body:e.body,sender:e.sender,subject:e.subject,threadId:e.threadId}}},5040:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ConversationV2ToJSON=t.ConversationV2FromJSONTyped=t.ConversationV2FromJSON=void 0;var i=n(296),r=n(6613),o=n(7662);function a(e,t){return null==e?e:{lead:i.exists(e,"lead")?o.LeadInfoFromJSON(e.lead):void 0,conversations:i.exists(e,"conversations")?e.conversations.map(r.ConversationMessageV2FromJSON):void 0}}t.ConversationV2FromJSON=function(e){return a(e)},t.ConversationV2FromJSONTyped=a,t.ConversationV2ToJSON=function(e){if(void 0!==e)return null===e?null:{lead:o.LeadInfoToJSON(e.lead),conversations:void 0===e.conversations?void 0:e.conversations.map(r.ConversationMessageV2ToJSON)}}},5111:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CreateCalendarEventTourHandlerDtoToJSON=t.CreateCalendarEventTourHandlerDtoFromJSONTyped=t.CreateCalendarEventTourHandlerDtoFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{buildingId:i.exists(e,"buildingId")?e.buildingId:void 0,calendarEventId:e.calendarEventId,leasingAgentId:e.leasingAgentId}}t.CreateCalendarEventTourHandlerDtoFromJSON=function(e){return r(e)},t.CreateCalendarEventTourHandlerDtoFromJSONTyped=r,t.CreateCalendarEventTourHandlerDtoToJSON=function(e){if(void 0!==e)return null===e?null:{buildingId:e.buildingId,calendarEventId:e.calendarEventId,leasingAgentId:e.leasingAgentId}}},3202:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CreateScriptRequestToJSON=t.CreateScriptRequestFromJSONTyped=t.CreateScriptRequestFromJSON=t.CreateScriptRequestHandoffIntentStateEnum=t.CreateScriptRequestTypeEnum=t.CreateScriptRequestMediaEnum=void 0;var i,r,o,a=n(296);function s(e,t){return null==e?e:{organizationId:a.exists(e,"organizationId")?e.organizationId:void 0,media:e.media,type:e.type,category:e.category,subIntent:a.exists(e,"subIntent")?e.subIntent:void 0,text:e.text,handoffIntentState:a.exists(e,"handoffIntentState")?e.handoffIntentState:void 0,communityId:a.exists(e,"communityId")?e.communityId:void 0}}(o=t.CreateScriptRequestMediaEnum||(t.CreateScriptRequestMediaEnum={})).Both="BOTH",o.Email="EMAIL",o.Sms="SMS",(r=t.CreateScriptRequestTypeEnum||(t.CreateScriptRequestTypeEnum={})).All="ALL",r.Template="TEMPLATE",r.TemplateItem="TEMPLATE_ITEM",(i=t.CreateScriptRequestHandoffIntentStateEnum||(t.CreateScriptRequestHandoffIntentStateEnum={})).None="NONE",i.YellowStatus="YELLOW_STATUS",i.RedAlertSend="RED_ALERT_SEND",i.RedAlertDoNotSend="RED_ALERT_DO_NOT_SEND",t.CreateScriptRequestFromJSON=function(e){return s(e)},t.CreateScriptRequestFromJSONTyped=s,t.CreateScriptRequestToJSON=function(e){if(void 0!==e)return null===e?null:{organizationId:e.organizationId,media:e.media,type:e.type,category:e.category,subIntent:e.subIntent,text:e.text,handoffIntentState:e.handoffIntentState,communityId:e.communityId}}},6058:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CreateWhitelistConfigRequestToJSON=t.CreateWhitelistConfigRequestFromJSONTyped=t.CreateWhitelistConfigRequestFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{buildingId:i.exists(e,"buildingId")?e.buildingId:void 0,testName:i.exists(e,"testName")?e.testName:void 0,whitelistingEmail:i.exists(e,"whitelistingEmail")?e.whitelistingEmail:void 0}}t.CreateWhitelistConfigRequestFromJSON=function(e){return r(e)},t.CreateWhitelistConfigRequestFromJSONTyped=r,t.CreateWhitelistConfigRequestToJSON=function(e){if(void 0!==e)return null===e?null:{buildingId:e.buildingId,testName:e.testName,whitelistingEmail:e.whitelistingEmail}}},3817:(e,t)=>{function n(e,t){return null==e?e:{startOfRange:new Date(e.startOfRange),endOfRange:new Date(e.endOfRange),buildingId:e.buildingId,numAiMessagesSent:e.numAiMessagesSent,numAiSentEmailFollowup:e.numAiSentEmailFollowup,numAiSentTextFollowup:e.numAiSentTextFollowup,averageMessagesPerProspect:e.averageMessagesPerProspect,prospectToTourConversion:e.prospectToTourConversion,numTours:e.numTours,tourBookedByMENoncancelled:e.tourBookedByMENoncancelled,tourAttended:e.tourAttended,aiBookedTourAttended:e.aiBookedTourAttended,newProspectsHandled:e.newProspectsHandled,hoursSavedByAi:e.hoursSavedByAi,numEarlyAgentTakeover:e.numEarlyAgentTakeover,numPassToAgent:e.numPassToAgent,numActionRequiredFromAgent:e.numActionRequiredFromAgent,numberLeadsApplied:e.numberLeadsApplied}}Object.defineProperty(t,"__esModule",{value:!0}),t.DateRangeReportToJSON=t.DateRangeReportFromJSONTyped=t.DateRangeReportFromJSON=void 0,t.DateRangeReportFromJSON=function(e){return n(e)},t.DateRangeReportFromJSONTyped=n,t.DateRangeReportToJSON=function(e){if(void 0!==e)return null===e?null:{startOfRange:e.startOfRange.toISOString(),endOfRange:e.endOfRange.toISOString(),buildingId:e.buildingId,numAiMessagesSent:e.numAiMessagesSent,numAiSentEmailFollowup:e.numAiSentEmailFollowup,numAiSentTextFollowup:e.numAiSentTextFollowup,averageMessagesPerProspect:e.averageMessagesPerProspect,prospectToTourConversion:e.prospectToTourConversion,numTours:e.numTours,tourBookedByMENoncancelled:e.tourBookedByMENoncancelled,tourAttended:e.tourAttended,aiBookedTourAttended:e.aiBookedTourAttended,newProspectsHandled:e.newProspectsHandled,hoursSavedByAi:e.hoursSavedByAi,numEarlyAgentTakeover:e.numEarlyAgentTakeover,numPassToAgent:e.numPassToAgent,numActionRequiredFromAgent:e.numActionRequiredFromAgent,numberLeadsApplied:e.numberLeadsApplied}}},8668:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.DialogueScriptToJSON=t.DialogueScriptFromJSONTyped=t.DialogueScriptFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{id:i.exists(e,"id")?e.id:void 0,deleted:i.exists(e,"deleted")?e.deleted:void 0,buildingId:i.exists(e,"buildingId")?e.buildingId:void 0,organizationId:i.exists(e,"organizationId")?e.organizationId:void 0,name:i.exists(e,"name")?e.name:void 0,subintent:i.exists(e,"subintent")?e.subintent:void 0,text:i.exists(e,"text")?e.text:void 0}}t.DialogueScriptFromJSON=function(e){return r(e)},t.DialogueScriptFromJSONTyped=r,t.DialogueScriptToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,deleted:e.deleted,buildingId:e.buildingId,organizationId:e.organizationId,name:e.name,subintent:e.subintent,text:e.text}}},6607:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.EliseCalendarEventToJSON=t.EliseCalendarEventFromJSONTyped=t.EliseCalendarEventFromJSON=t.EliseCalendarEventTourTypeEnum=t.EliseCalendarEventSmartLockAccessTypeEnum=void 0;var i,r,o=n(296);function a(e,t){return null==e?e:{id:o.exists(e,"id")?e.id:void 0,leadId:o.exists(e,"leadId")?e.leadId:void 0,userId:o.exists(e,"userId")?e.userId:void 0,calendarId:o.exists(e,"calendarId")?e.calendarId:void 0,contextId:o.exists(e,"contextId")?e.contextId:void 0,recurringEventId:o.exists(e,"recurringEventId")?e.recurringEventId:void 0,timeCreated:o.exists(e,"timeCreated")?new Date(e.timeCreated):void 0,description:o.exists(e,"description")?e.description:void 0,status:o.exists(e,"status")?e.status:void 0,summary:o.exists(e,"summary")?e.summary:void 0,eventLocation:o.exists(e,"eventLocation")?e.eventLocation:void 0,startTime:o.exists(e,"startTime")?new Date(e.startTime):void 0,endTime:o.exists(e,"endTime")?new Date(e.endTime):void 0,startTimeString:o.exists(e,"startTimeString")?e.startTimeString:void 0,endTimeString:o.exists(e,"endTimeString")?e.endTimeString:void 0,startTimeInUtc:o.exists(e,"startTimeInUtc")?e.startTimeInUtc:void 0,endTimeInUtc:o.exists(e,"endTimeInUtc")?e.endTimeInUtc:void 0,lastTimeUpdated:o.exists(e,"lastTimeUpdated")?new Date(e.lastTimeUpdated):void 0,recurringEvent:o.exists(e,"recurringEvent")?e.recurringEvent:void 0,recurringEventLatestTimestampStoredUntil:o.exists(e,"recurringEventLatestTimestampStoredUntil")?new Date(e.recurringEventLatestTimestampStoredUntil):void 0,preserveOnReset:o.exists(e,"preserveOnReset")?e.preserveOnReset:void 0,internalEvent:o.exists(e,"internalEvent")?e.internalEvent:void 0,skipExternalBooking:o.exists(e,"skipExternalBooking")?e.skipExternalBooking:void 0,ignoreOtherEvents:o.exists(e,"ignoreOtherEvents")?e.ignoreOtherEvents:void 0,htmlLink:o.exists(e,"htmlLink")?e.htmlLink:void 0,geteTag:o.exists(e,"geteTag")?e.geteTag:void 0,getiCalUID:o.exists(e,"getiCalUID")?e.getiCalUID:void 0,eventId:o.exists(e,"eventId")?e.eventId:void 0,creatorName:o.exists(e,"creatorName")?e.creatorName:void 0,creatorEmail:o.exists(e,"creatorEmail")?e.creatorEmail:void 0,organizerName:o.exists(e,"organizerName")?e.organizerName:void 0,organizerEmail:o.exists(e,"organizerEmail")?e.organizerEmail:void 0,transparency:o.exists(e,"transparency")?e.transparency:void 0,visibility:o.exists(e,"visibility")?e.visibility:void 0,colorId:o.exists(e,"colorId")?e.colorId:void 0,availabilityStatus:o.exists(e,"availabilityStatus")?e.availabilityStatus:void 0,relevantMessageId:o.exists(e,"relevantMessageId")?e.relevantMessageId:void 0,isPredicted:o.exists(e,"isPredicted")?e.isPredicted:void 0,isArchived:o.exists(e,"isArchived")?e.isArchived:void 0,smartLockAccessType:o.exists(e,"smartLockAccessType")?e.smartLockAccessType:void 0,traineeEmail:o.exists(e,"traineeEmail")?e.traineeEmail:void 0,notes:o.exists(e,"notes")?e.notes:void 0,tourType:o.exists(e,"tourType")?e.tourType:void 0,busy:o.exists(e,"busy")?e.busy:void 0,cancelled:o.exists(e,"cancelled")?e.cancelled:void 0,_new:o.exists(e,"new")?e.new:void 0}}(r=t.EliseCalendarEventSmartLockAccessTypeEnum||(t.EliseCalendarEventSmartLockAccessTypeEnum={})).WithAgent="WITH_AGENT",r.ExternallyManaged="EXTERNALLY_MANAGED",r.SmartKeyAccessManaged="SMART_KEY_ACCESS_MANAGED",(i=t.EliseCalendarEventTourTypeEnum||(t.EliseCalendarEventTourTypeEnum={})).Unknown="UNKNOWN",i.None="NONE",i.Any="ANY",i.NotEscorted="NOT_ESCORTED",i.Escorted="ESCORTED",i.NotSelfGuided="NOT_SELF_GUIDED",i.SelfGuided="SELF_GUIDED",i.NotVirtualTour="NOT_VIRTUAL_TOUR",i.VirtualTour="VIRTUAL_TOUR",i.NotMediaTour="NOT_MEDIA_TOUR",i.MediaTour="MEDIA_TOUR",t.EliseCalendarEventFromJSON=function(e){return a(e)},t.EliseCalendarEventFromJSONTyped=a,t.EliseCalendarEventToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,leadId:e.leadId,userId:e.userId,calendarId:e.calendarId,contextId:e.contextId,recurringEventId:e.recurringEventId,timeCreated:void 0===e.timeCreated?void 0:e.timeCreated.toISOString(),description:e.description,status:e.status,summary:e.summary,eventLocation:e.eventLocation,startTime:void 0===e.startTime?void 0:e.startTime.toISOString(),endTime:void 0===e.endTime?void 0:e.endTime.toISOString(),startTimeString:e.startTimeString,endTimeString:e.endTimeString,startTimeInUtc:e.startTimeInUtc,endTimeInUtc:e.endTimeInUtc,lastTimeUpdated:void 0===e.lastTimeUpdated?void 0:e.lastTimeUpdated.toISOString(),recurringEvent:e.recurringEvent,recurringEventLatestTimestampStoredUntil:void 0===e.recurringEventLatestTimestampStoredUntil?void 0:e.recurringEventLatestTimestampStoredUntil.toISOString(),preserveOnReset:e.preserveOnReset,internalEvent:e.internalEvent,skipExternalBooking:e.skipExternalBooking,ignoreOtherEvents:e.ignoreOtherEvents,htmlLink:e.htmlLink,geteTag:e.geteTag,getiCalUID:e.getiCalUID,eventId:e.eventId,creatorName:e.creatorName,creatorEmail:e.creatorEmail,organizerName:e.organizerName,organizerEmail:e.organizerEmail,transparency:e.transparency,visibility:e.visibility,colorId:e.colorId,availabilityStatus:e.availabilityStatus,relevantMessageId:e.relevantMessageId,isPredicted:e.isPredicted,isArchived:e.isArchived,smartLockAccessType:e.smartLockAccessType,traineeEmail:e.traineeEmail,notes:e.notes,tourType:e.tourType,busy:e.busy,cancelled:e.cancelled,new:e._new}}},5007:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.EliseGuestCardDtoToJSON=t.EliseGuestCardDtoFromJSONTyped=t.EliseGuestCardDtoFromJSON=t.EliseGuestCardDtoInitialLeadChannelEnum=t.EliseGuestCardDtoIntegrationSourceEnum=void 0;var i,r,o=n(296);function a(e,t){return null==e?e:{id:o.exists(e,"id")?e.id:void 0,firstName:o.exists(e,"firstName")?e.firstName:void 0,lastName:o.exists(e,"lastName")?e.lastName:void 0,phoneNumber:o.exists(e,"phoneNumber")?e.phoneNumber:void 0,email:o.exists(e,"email")?e.email:void 0,source:o.exists(e,"source")?e.source:void 0,externalClientMarketingSource:o.exists(e,"externalClientMarketingSource")?e.externalClientMarketingSource:void 0,desiredMoveInDate:o.exists(e,"desiredMoveInDate")?e.desiredMoveInDate:void 0,comments:o.exists(e,"comments")?e.comments:void 0,integrationSource:o.exists(e,"integrationSource")?e.integrationSource:void 0,initialLeadChannel:o.exists(e,"initialLeadChannel")?e.initialLeadChannel:void 0,layout:o.exists(e,"layout")?e.layout:void 0,desiredLeaseTerm:o.exists(e,"desiredLeaseTerm")?e.desiredLeaseTerm:void 0}}(r=t.EliseGuestCardDtoIntegrationSourceEnum||(t.EliseGuestCardDtoIntegrationSourceEnum={})).MeCalendar="ME-Calendar",r.Sst="sst",r.EqrApi="eqr-api",r.Elise="Elise",r.Avb="avb",r.Yardi="yardi",r.Entrata="entrata",r.Anyonehome="anyonehome",r.Realpage="realpage",(i=t.EliseGuestCardDtoInitialLeadChannelEnum||(t.EliseGuestCardDtoInitialLeadChannelEnum={})).WalkIn="WALK_IN",i.CallToProspect="CALL_TO_PROSPECT",i.CallFromProspect="CALL_FROM_PROSPECT",i.Other="OTHER",i.Text="TEXT",i.Email="EMAIL",i.WebService="WEB_SERVICE",i.Chat="CHAT",t.EliseGuestCardDtoFromJSON=function(e){return a(e)},t.EliseGuestCardDtoFromJSONTyped=a,t.EliseGuestCardDtoToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,firstName:e.firstName,lastName:e.lastName,phoneNumber:e.phoneNumber,email:e.email,source:e.source,externalClientMarketingSource:e.externalClientMarketingSource,desiredMoveInDate:e.desiredMoveInDate,comments:e.comments,integrationSource:e.integrationSource,initialLeadChannel:e.initialLeadChannel,layout:e.layout,desiredLeaseTerm:e.desiredLeaseTerm}}},1057:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.EliseMessageIntentToJSON=t.EliseMessageIntentFromJSONTyped=t.EliseMessageIntentFromJSON=t.EliseMessageIntentMessageTypeEnum=void 0;var i,r=n(296);function o(e,t){return null==e?e:{id:r.exists(e,"id")?e.id:void 0,clientEmail:r.exists(e,"clientEmail")?e.clientEmail:void 0,leadEmail:r.exists(e,"leadEmail")?e.leadEmail:void 0,leadId:r.exists(e,"leadId")?e.leadId:void 0,hotMailId:r.exists(e,"hotMailId")?e.hotMailId:void 0,intentNameClassifiedAuto:r.exists(e,"intentNameClassifiedAuto")?e.intentNameClassifiedAuto:void 0,intentValue:r.exists(e,"intentValue")?e.intentValue:void 0,intentClassifer:r.exists(e,"intentClassifer")?e.intentClassifer:void 0,type:r.exists(e,"type")?e.type:void 0,verifiedHuman:r.exists(e,"verifiedHuman")?e.verifiedHuman:void 0,intentNameClassifiedManual:r.exists(e,"intentNameClassifiedManual")?e.intentNameClassifiedManual:void 0,intentNameSubintentClassifiedManual:r.exists(e,"intentNameSubintentClassifiedManual")?e.intentNameSubintentClassifiedManual:void 0,responseRequiringApprovalId:r.exists(e,"responseRequiringApprovalId")?e.responseRequiringApprovalId:void 0,pendingApproval:r.exists(e,"pendingApproval")?e.pendingApproval:void 0,strippedText:r.exists(e,"strippedText")?e.strippedText:void 0,isDeleted:r.exists(e,"isDeleted")?e.isDeleted:void 0,hotMailGmailMessageId:r.exists(e,"hotMailGmailMessageId")?e.hotMailGmailMessageId:void 0,processed:r.exists(e,"processed")?e.processed:void 0,getzIndex:r.exists(e,"getzIndex")?e.getzIndex:void 0,descriptiveNounForUnknownIntent:r.exists(e,"descriptiveNounForUnknownIntent")?e.descriptiveNounForUnknownIntent:void 0,aiTrainerInstructions:r.exists(e,"aiTrainerInstructions")?e.aiTrainerInstructions:void 0,messageType:r.exists(e,"messageType")?e.messageType:void 0,tag:r.exists(e,"tag")?e.tag:void 0}}(i=t.EliseMessageIntentMessageTypeEnum||(t.EliseMessageIntentMessageTypeEnum={})).EmailIntent="EMAIL_INTENT",i.TextIntent="TEXT_INTENT",t.EliseMessageIntentFromJSON=function(e){return o(e)},t.EliseMessageIntentFromJSONTyped=o,t.EliseMessageIntentToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,clientEmail:e.clientEmail,leadEmail:e.leadEmail,leadId:e.leadId,hotMailId:e.hotMailId,intentNameClassifiedAuto:e.intentNameClassifiedAuto,intentValue:e.intentValue,intentClassifer:e.intentClassifer,type:e.type,verifiedHuman:e.verifiedHuman,intentNameClassifiedManual:e.intentNameClassifiedManual,intentNameSubintentClassifiedManual:e.intentNameSubintentClassifiedManual,responseRequiringApprovalId:e.responseRequiringApprovalId,pendingApproval:e.pendingApproval,strippedText:e.strippedText,isDeleted:e.isDeleted,hotMailGmailMessageId:e.hotMailGmailMessageId,processed:e.processed,getzIndex:e.getzIndex,descriptiveNounForUnknownIntent:e.descriptiveNounForUnknownIntent,aiTrainerInstructions:e.aiTrainerInstructions,messageType:e.messageType,tag:e.tag}}},7009:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ElisePredictedResponseToJSON=t.ElisePredictedResponseFromJSONTyped=t.ElisePredictedResponseFromJSON=void 0;var i=n(296),r=n(1234),o=n(1057),a=n(6045),s=n(8385);function u(e,t){return null==e?e:{responseMessageBody:i.exists(e,"responseMessageBody")?e.responseMessageBody:void 0,responseTemplate:i.exists(e,"responseTemplate")?e.responseTemplate:void 0,intents:i.exists(e,"intents")?e.intents.map(o.EliseMessageIntentFromJSON):void 0,attachments:i.exists(e,"attachments")?e.attachments.map(r.AttachmentFromJSON):void 0,workInProgressMessageBody:i.exists(e,"workInProgressMessageBody")?e.workInProgressMessageBody:void 0,forcedIntents:i.exists(e,"forcedIntents")?e.forcedIntents.map(a.ForcedIntentFromJSON):void 0,atomicTemplateIntentMapWithSubIntent:i.exists(e,"atomicTemplateIntentMapWithSubIntent")?i.mapValues(e.atomicTemplateIntentMapWithSubIntent,s.ResponseAtomicTemplateFromJSON):void 0}}t.ElisePredictedResponseFromJSON=function(e){return u(e)},t.ElisePredictedResponseFromJSONTyped=u,t.ElisePredictedResponseToJSON=function(e){if(void 0!==e)return null===e?null:{responseMessageBody:e.responseMessageBody,responseTemplate:e.responseTemplate,intents:void 0===e.intents?void 0:e.intents.map(o.EliseMessageIntentToJSON),attachments:void 0===e.attachments?void 0:e.attachments.map(r.AttachmentToJSON),workInProgressMessageBody:e.workInProgressMessageBody,forcedIntents:void 0===e.forcedIntents?void 0:e.forcedIntents.map(a.ForcedIntentToJSON),atomicTemplateIntentMapWithSubIntent:void 0===e.atomicTemplateIntentMapWithSubIntent?void 0:i.mapValues(e.atomicTemplateIntentMapWithSubIntent,s.ResponseAtomicTemplateToJSON)}}},3694:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.EntityConfigToJSON=t.EntityConfigFromJSONTyped=t.EntityConfigFromJSON=void 0;var i=n(296),r=n(4105);function o(e,t){return null==e?e:{options:i.exists(e,"options")?r.EntityOptionsFromJSON(e.options):void 0,entityIds:i.exists(e,"entity_ids")?e.entity_ids:void 0}}t.EntityConfigFromJSON=function(e){return o(e)},t.EntityConfigFromJSONTyped=o,t.EntityConfigToJSON=function(e){if(void 0!==e)return null===e?null:{options:r.EntityOptionsToJSON(e.options),entity_ids:e.entityIds}}},4105:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.EntityOptionsToJSON=t.EntityOptionsFromJSONTyped=t.EntityOptionsFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{active:i.exists(e,"active")?e.active:void 0,test:i.exists(e,"test")?e.test:void 0}}t.EntityOptionsFromJSON=function(e){return r(e)},t.EntityOptionsFromJSONTyped=r,t.EntityOptionsToJSON=function(e){if(void 0!==e)return null===e?null:{active:e.active,test:e.test}}},9861:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.EntrataCredentialsToJSON=t.EntrataCredentialsFromJSONTyped=t.EntrataCredentialsFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{id:i.exists(e,"id")?e.id:void 0,userId:i.exists(e,"userId")?e.userId:void 0,domain:i.exists(e,"domain")?e.domain:void 0,userName:i.exists(e,"userName")?e.userName:void 0,password:i.exists(e,"password")?e.password:void 0}}t.EntrataCredentialsFromJSON=function(e){return r(e)},t.EntrataCredentialsFromJSONTyped=r,t.EntrataCredentialsToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,userId:e.userId,domain:e.domain,userName:e.userName,password:e.password}}},8442:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ExternalBuildingAgentToJSON=t.ExternalBuildingAgentFromJSONTyped=t.ExternalBuildingAgentFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{id:i.exists(e,"id")?e.id:void 0,buildingId:i.exists(e,"buildingId")?e.buildingId:void 0,externalId:i.exists(e,"externalId")?e.externalId:void 0,agentFirstName:i.exists(e,"agentFirstName")?e.agentFirstName:void 0,agentLastName:i.exists(e,"agentLastName")?e.agentLastName:void 0,isDefaultAgent:i.exists(e,"isDefaultAgent")?e.isDefaultAgent:void 0,active:i.exists(e,"active")?e.active:void 0}}t.ExternalBuildingAgentFromJSON=function(e){return r(e)},t.ExternalBuildingAgentFromJSONTyped=r,t.ExternalBuildingAgentToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,buildingId:e.buildingId,externalId:e.externalId,agentFirstName:e.agentFirstName,agentLastName:e.agentLastName,isDefaultAgent:e.isDefaultAgent,active:e.active}}},6885:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ExternalBuildingSourceToJSON=t.ExternalBuildingSourceFromJSONTyped=t.ExternalBuildingSourceFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{id:i.exists(e,"id")?e.id:void 0,buildingId:i.exists(e,"buildingId")?e.buildingId:void 0,source:i.exists(e,"source")?e.source:void 0,eliseSource:i.exists(e,"eliseSource")?e.eliseSource:void 0,isDefaultCatchall:i.exists(e,"isDefaultCatchall")?e.isDefaultCatchall:void 0}}t.ExternalBuildingSourceFromJSON=function(e){return r(e)},t.ExternalBuildingSourceFromJSONTyped=r,t.ExternalBuildingSourceToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,buildingId:e.buildingId,source:e.source,eliseSource:e.eliseSource,isDefaultCatchall:e.isDefaultCatchall}}},7934:(e,t)=>{function n(e,t){return null==e?e:{value:e.value,label:e.label}}var i;Object.defineProperty(t,"__esModule",{value:!0}),t.FirstContactOptionToJSON=t.FirstContactOptionFromJSONTyped=t.FirstContactOptionFromJSON=t.FirstContactOptionValueEnum=void 0,(i=t.FirstContactOptionValueEnum||(t.FirstContactOptionValueEnum={})).CallFromProspect="CALL_FROM_PROSPECT",i.CallToProspect="CALL_TO_PROSPECT",i.Email="EMAIL",i.WalkIn="WALK_IN",i.Text="TEXT",i.WebService="WEB_SERVICE",i.Chat="CHAT",i.Other="OTHER",t.FirstContactOptionFromJSON=function(e){return n(e)},t.FirstContactOptionFromJSONTyped=n,t.FirstContactOptionToJSON=function(e){if(void 0!==e)return null===e?null:{value:e.value,label:e.label}}},3905:(e,t)=>{function n(e,t){return null==e?e:{contextId:e.contextId,leadStatus:e.leadStatus}}Object.defineProperty(t,"__esModule",{value:!0}),t.FollowUpParamsToJSON=t.FollowUpParamsFromJSONTyped=t.FollowUpParamsFromJSON=void 0,t.FollowUpParamsFromJSON=function(e){return n(e)},t.FollowUpParamsFromJSONTyped=n,t.FollowUpParamsToJSON=function(e){if(void 0!==e)return null===e?null:{contextId:e.contextId,leadStatus:e.leadStatus}}},3958:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.FollowUpSettingsToJSON=t.FollowUpSettingsFromJSONTyped=t.FollowUpSettingsFromJSON=void 0;var i=n(296),r=n(4401),o=n(3832),a=n(1431),s=n(908),u=n(3231);function l(e,t){return null==e?e:{longTermPostTourFollowUpSettings:i.exists(e,"longTermPostTourFollowUpSettings")?e.longTermPostTourFollowUpSettings.map(o.LongTermPostTourFollowUpSettingFromJSON):void 0,longTermFollowUpSettings:i.exists(e,"longTermFollowUpSettings")?e.longTermFollowUpSettings.map(r.LongTermFollowUpSettingFromJSON):void 0,postTourFollowUpSettings:i.exists(e,"postTourFollowUpSettings")?e.postTourFollowUpSettings.map(s.PostTourFollowUpSettingFromJSON):void 0,preTourFollowUpSettings:i.exists(e,"preTourFollowUpSettings")?e.preTourFollowUpSettings.map(u.PreTourFollowUpSettingFromJSON):void 0,noShowFollowUpSettings:i.exists(e,"noShowFollowUpSettings")?e.noShowFollowUpSettings.map(a.NoShowFollowUpSettingFromJSON):void 0}}t.FollowUpSettingsFromJSON=function(e){return l(e)},t.FollowUpSettingsFromJSONTyped=l,t.FollowUpSettingsToJSON=function(e){if(void 0!==e)return null===e?null:{longTermPostTourFollowUpSettings:void 0===e.longTermPostTourFollowUpSettings?void 0:e.longTermPostTourFollowUpSettings.map(o.LongTermPostTourFollowUpSettingToJSON),longTermFollowUpSettings:void 0===e.longTermFollowUpSettings?void 0:e.longTermFollowUpSettings.map(r.LongTermFollowUpSettingToJSON),postTourFollowUpSettings:void 0===e.postTourFollowUpSettings?void 0:e.postTourFollowUpSettings.map(s.PostTourFollowUpSettingToJSON),preTourFollowUpSettings:void 0===e.preTourFollowUpSettings?void 0:e.preTourFollowUpSettings.map(u.PreTourFollowUpSettingToJSON),noShowFollowUpSettings:void 0===e.noShowFollowUpSettings?void 0:e.noShowFollowUpSettings.map(a.NoShowFollowUpSettingToJSON)}}},6045:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ForcedIntentToJSON=t.ForcedIntentFromJSONTyped=t.ForcedIntentFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{id:i.exists(e,"id")?e.id:void 0,gmailMessageId:i.exists(e,"gmailMessageId")?e.gmailMessageId:void 0,intentName:i.exists(e,"intentName")?e.intentName:void 0,timeCreated:i.exists(e,"timeCreated")?new Date(e.timeCreated):void 0}}t.ForcedIntentFromJSON=function(e){return r(e)},t.ForcedIntentFromJSONTyped=r,t.ForcedIntentToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,gmailMessageId:e.gmailMessageId,intentName:e.intentName,timeCreated:void 0===e.timeCreated?void 0:e.timeCreated.toISOString()}}},6465:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.GenerateAndSendExcelReportsOverrideSettingsToJSON=t.GenerateAndSendExcelReportsOverrideSettingsFromJSONTyped=t.GenerateAndSendExcelReportsOverrideSettingsFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{reportIds:i.exists(e,"reportIds")?e.reportIds:void 0,recipients:i.exists(e,"recipients")?e.recipients:void 0,dontSend:i.exists(e,"dontSend")?e.dontSend:void 0}}t.GenerateAndSendExcelReportsOverrideSettingsFromJSON=function(e){return r(e)},t.GenerateAndSendExcelReportsOverrideSettingsFromJSONTyped=r,t.GenerateAndSendExcelReportsOverrideSettingsToJSON=function(e){if(void 0!==e)return null===e?null:{reportIds:e.reportIds,recipients:e.recipients,dontSend:e.dontSend}}},1204:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.GeolocationToJSON=t.GeolocationFromJSONTyped=t.GeolocationFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{latitude:i.exists(e,"latitude")?e.latitude:void 0,longitude:i.exists(e,"longitude")?e.longitude:void 0}}t.GeolocationFromJSON=function(e){return r(e)},t.GeolocationFromJSONTyped=r,t.GeolocationToJSON=function(e){if(void 0!==e)return null===e?null:{latitude:e.latitude,longitude:e.longitude}}},7895:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.GetMEHomeDashboardInfoDtoToJSON=t.GetMEHomeDashboardInfoDtoFromJSONTyped=t.GetMEHomeDashboardInfoDtoFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{buildingId:i.exists(e,"buildingId")?e.buildingId:void 0,startOfReportRange:i.exists(e,"startOfReportRange")?e.startOfReportRange:void 0,endOfReportRange:i.exists(e,"endOfReportRange")?e.endOfReportRange:void 0,startOfCalendarEventRange:i.exists(e,"startOfCalendarEventRange")?e.startOfCalendarEventRange:void 0,endOfCalendarEventRange:i.exists(e,"endOfCalendarEventRange")?e.endOfCalendarEventRange:void 0}}t.GetMEHomeDashboardInfoDtoFromJSON=function(e){return r(e)},t.GetMEHomeDashboardInfoDtoFromJSONTyped=r,t.GetMEHomeDashboardInfoDtoToJSON=function(e){if(void 0!==e)return null===e?null:{buildingId:e.buildingId,startOfReportRange:e.startOfReportRange,endOfReportRange:e.endOfReportRange,startOfCalendarEventRange:e.startOfCalendarEventRange,endOfCalendarEventRange:e.endOfCalendarEventRange}}},4326:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.GetOrCreateContextDtoToJSON=t.GetOrCreateContextDtoFromJSONTyped=t.GetOrCreateContextDtoFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{userId:i.exists(e,"userId")?e.userId:void 0,buildingId:i.exists(e,"buildingId")?e.buildingId:void 0}}t.GetOrCreateContextDtoFromJSON=function(e){return r(e)},t.GetOrCreateContextDtoFromJSONTyped=r,t.GetOrCreateContextDtoToJSON=function(e){if(void 0!==e)return null===e?null:{userId:e.userId,buildingId:e.buildingId}}},2610:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.GetReportsForBuildingAndDateRangeDtoToJSON=t.GetReportsForBuildingAndDateRangeDtoFromJSONTyped=t.GetReportsForBuildingAndDateRangeDtoFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{buildingId:i.exists(e,"buildingId")?e.buildingId:void 0,startTime:i.exists(e,"startTime")?e.startTime:void 0,endTime:i.exists(e,"endTime")?e.endTime:void 0}}t.GetReportsForBuildingAndDateRangeDtoFromJSON=function(e){return r(e)},t.GetReportsForBuildingAndDateRangeDtoFromJSONTyped=r,t.GetReportsForBuildingAndDateRangeDtoToJSON=function(e){if(void 0!==e)return null===e?null:{buildingId:e.buildingId,startTime:e.startTime,endTime:e.endTime}}},1960:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.GetReportsForBuildingsAndDateRangeDtoToJSON=t.GetReportsForBuildingsAndDateRangeDtoFromJSONTyped=t.GetReportsForBuildingsAndDateRangeDtoFromJSON=t.GetReportsForBuildingsAndDateRangeDtoTimeFrequencyEnum=void 0;var i,r=n(296);function o(e,t){return null==e?e:{buildingIds:r.exists(e,"buildingIds")?e.buildingIds:void 0,startTime:r.exists(e,"startTime")?e.startTime:void 0,endTime:r.exists(e,"endTime")?e.endTime:void 0,timeFrequency:r.exists(e,"timeFrequency")?e.timeFrequency:void 0}}(i=t.GetReportsForBuildingsAndDateRangeDtoTimeFrequencyEnum||(t.GetReportsForBuildingsAndDateRangeDtoTimeFrequencyEnum={})).None="NONE",i.Hourly="HOURLY",i.Daily="DAILY",i.Weekly="WEEKLY",i.Monthly="MONTHLY",i.Yearly="YEARLY",t.GetReportsForBuildingsAndDateRangeDtoFromJSON=function(e){return o(e)},t.GetReportsForBuildingsAndDateRangeDtoFromJSONTyped=o,t.GetReportsForBuildingsAndDateRangeDtoToJSON=function(e){if(void 0!==e)return null===e?null:{buildingIds:e.buildingIds,startTime:e.startTime,endTime:e.endTime,timeFrequency:e.timeFrequency}}},9233:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.GetUnitAvailabilitiesRequestToJSON=t.GetUnitAvailabilitiesRequestFromJSONTyped=t.GetUnitAvailabilitiesRequestFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{moveInStart:i.exists(e,"moveInStart")?e.moveInStart:void 0,moveInEnd:i.exists(e,"moveInEnd")?e.moveInEnd:void 0,buildingName:i.exists(e,"buildingName")?e.buildingName:void 0,buildingAddress:i.exists(e,"buildingAddress")?e.buildingAddress:void 0,buildingZip:i.exists(e,"buildingZip")?e.buildingZip:void 0,preferredUnitNumbers:i.exists(e,"preferredUnitNumbers")?e.preferredUnitNumbers:void 0,preferredLayoutIds:i.exists(e,"preferredLayoutIds")?e.preferredLayoutIds:void 0}}t.GetUnitAvailabilitiesRequestFromJSON=function(e){return r(e)},t.GetUnitAvailabilitiesRequestFromJSONTyped=r,t.GetUnitAvailabilitiesRequestToJSON=function(e){if(void 0!==e)return null===e?null:{moveInStart:e.moveInStart,moveInEnd:e.moveInEnd,buildingName:e.buildingName,buildingAddress:e.buildingAddress,buildingZip:e.buildingZip,preferredUnitNumbers:e.preferredUnitNumbers,preferredLayoutIds:e.preferredLayoutIds}}},8055:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.GetUnitAvailabilitiesRequest2ToJSON=t.GetUnitAvailabilitiesRequest2FromJSONTyped=t.GetUnitAvailabilitiesRequest2FromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{id:i.exists(e,"id")?e.id:void 0,moveInStart:i.exists(e,"moveInStart")?e.moveInStart:void 0,moveInEnd:i.exists(e,"moveInEnd")?e.moveInEnd:void 0,preferredUnitNumbers:i.exists(e,"preferredUnitNumbers")?e.preferredUnitNumbers:void 0,preferredLayoutIds:i.exists(e,"preferredLayoutIds")?e.preferredLayoutIds:void 0}}t.GetUnitAvailabilitiesRequest2FromJSON=function(e){return r(e)},t.GetUnitAvailabilitiesRequest2FromJSONTyped=r,t.GetUnitAvailabilitiesRequest2ToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,moveInStart:e.moveInStart,moveInEnd:e.moveInEnd,preferredUnitNumbers:e.preferredUnitNumbers,preferredLayoutIds:e.preferredLayoutIds}}},2406:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.GetUnitAvailabilitiesResponseToJSON=t.GetUnitAvailabilitiesResponseFromJSONTyped=t.GetUnitAvailabilitiesResponseFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{subIntentMetadataMap:i.exists(e,"subIntentMetadataMap")?e.subIntentMetadataMap:void 0,dialogue:i.exists(e,"dialogue")?e.dialogue:void 0}}t.GetUnitAvailabilitiesResponseFromJSON=function(e){return r(e)},t.GetUnitAvailabilitiesResponseFromJSONTyped=r,t.GetUnitAvailabilitiesResponseToJSON=function(e){if(void 0!==e)return null===e?null:{subIntentMetadataMap:e.subIntentMetadataMap,dialogue:e.dialogue}}},1880:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.GetWhiteListTestsForBuildingsRequestToJSON=t.GetWhiteListTestsForBuildingsRequestFromJSONTyped=t.GetWhiteListTestsForBuildingsRequestFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{buildingIds:i.exists(e,"buildingIds")?e.buildingIds:void 0}}t.GetWhiteListTestsForBuildingsRequestFromJSON=function(e){return r(e)},t.GetWhiteListTestsForBuildingsRequestFromJSONTyped=r,t.GetWhiteListTestsForBuildingsRequestToJSON=function(e){if(void 0!==e)return null===e?null:{buildingIds:e.buildingIds}}},7989:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.HourlyReportDtoToJSON=t.HourlyReportDtoFromJSONTyped=t.HourlyReportDtoFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{buildingId:i.exists(e,"buildingId")?e.buildingId:void 0,marketingSource:i.exists(e,"marketingSource")?e.marketingSource:void 0,hourOfAggregation:i.exists(e,"hourOfAggregation")?new Date(e.hourOfAggregation):void 0,numMessagesSentByElise:i.exists(e,"numMessagesSentByElise")?e.numMessagesSentByElise:void 0,numUniqueProspectsInTimePeriod:i.exists(e,"numUniqueProspectsInTimePeriod")?e.numUniqueProspectsInTimePeriod:void 0,numRepliesPerContext:i.exists(e,"numRepliesPerContext")?e.numRepliesPerContext:void 0,newUniqueProspectsInTimePeriod:i.exists(e,"newUniqueProspectsInTimePeriod")?e.newUniqueProspectsInTimePeriod:void 0,hoursSaved:i.exists(e,"hoursSaved")?e.hoursSaved:void 0,numTours:i.exists(e,"numTours")?e.numTours:void 0}}t.HourlyReportDtoFromJSON=function(e){return r(e)},t.HourlyReportDtoFromJSONTyped=r,t.HourlyReportDtoToJSON=function(e){if(void 0!==e)return null===e?null:{buildingId:e.buildingId,marketingSource:e.marketingSource,hourOfAggregation:void 0===e.hourOfAggregation?void 0:e.hourOfAggregation.toISOString(),numMessagesSentByElise:e.numMessagesSentByElise,numUniqueProspectsInTimePeriod:e.numUniqueProspectsInTimePeriod,numRepliesPerContext:e.numRepliesPerContext,newUniqueProspectsInTimePeriod:e.newUniqueProspectsInTimePeriod,hoursSaved:e.hoursSaved,numTours:e.numTours}}},4036:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.InboxEntityToJSON=t.InboxEntityFromJSONTyped=t.InboxEntityFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{id:i.exists(e,"id")?e.id:void 0}}t.InboxEntityFromJSON=function(e){return r(e)},t.InboxEntityFromJSONTyped=r,t.InboxEntityToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id}}},5728:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.InitializeWhiteListingConfigRequestToJSON=t.InitializeWhiteListingConfigRequestFromJSONTyped=t.InitializeWhiteListingConfigRequestFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{buildingId:i.exists(e,"buildingId")?e.buildingId:void 0,emails:i.exists(e,"emails")?e.emails:void 0}}t.InitializeWhiteListingConfigRequestFromJSON=function(e){return r(e)},t.InitializeWhiteListingConfigRequestFromJSONTyped=r,t.InitializeWhiteListingConfigRequestToJSON=function(e){if(void 0!==e)return null===e?null:{buildingId:e.buildingId,emails:e.emails}}},5131:(e,t)=>{function n(e,t){return null==e?e:{state:e.state}}Object.defineProperty(t,"__esModule",{value:!0}),t.InlineObject3ToJSON=t.InlineObject3FromJSONTyped=t.InlineObject3FromJSON=void 0,t.InlineObject3FromJSON=function(e){return n(e)},t.InlineObject3FromJSONTyped=n,t.InlineObject3ToJSON=function(e){if(void 0!==e)return null===e?null:{state:e.state}}},7708:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.KnockAgentsNodeToJSON=t.KnockAgentsNodeFromJSONTyped=t.KnockAgentsNodeFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{email:e.email,externalId:i.exists(e,"externalId")?e.externalId:void 0,leasingTeamIds:i.exists(e,"leasingTeamIds")?e.leasingTeamIds:void 0,phone:i.exists(e,"phone")?e.phone:void 0,firstName:e.firstName,lastName:e.lastName,username:e.username,preferredUsername:e.preferredUsername,enabled:i.exists(e,"enabled")?e.enabled:void 0}}t.KnockAgentsNodeFromJSON=function(e){return r(e)},t.KnockAgentsNodeFromJSONTyped=r,t.KnockAgentsNodeToJSON=function(e){if(void 0!==e)return null===e?null:{email:e.email,externalId:e.externalId,leasingTeamIds:e.leasingTeamIds,phone:e.phone,firstName:e.firstName,lastName:e.lastName,username:e.username,preferredUsername:e.preferredUsername,enabled:e.enabled}}},746:(e,t)=>{function n(e,t){return null==e?e:{value:e.value,label:e.label}}Object.defineProperty(t,"__esModule",{value:!0}),t.LayoutOptionToJSON=t.LayoutOptionFromJSONTyped=t.LayoutOptionFromJSON=void 0,t.LayoutOptionFromJSON=function(e){return n(e)},t.LayoutOptionFromJSONTyped=n,t.LayoutOptionToJSON=function(e){if(void 0!==e)return null===e?null:{value:e.value,label:e.label}}},7662:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.LeadInfoToJSON=t.LeadInfoFromJSONTyped=t.LeadInfoFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{contextId:i.exists(e,"contextId")?e.contextId:void 0,firstName:i.exists(e,"firstName")?e.firstName:void 0,lastName:i.exists(e,"lastName")?e.lastName:void 0,email:i.exists(e,"email")?e.email:void 0,phoneNumber:i.exists(e,"phoneNumber")?e.phoneNumber:void 0}}t.LeadInfoFromJSON=function(e){return r(e)},t.LeadInfoFromJSONTyped=r,t.LeadInfoToJSON=function(e){if(void 0!==e)return null===e?null:{contextId:e.contextId,firstName:e.firstName,lastName:e.lastName,email:e.email,phoneNumber:e.phoneNumber}}},9132:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.LeadInfoUpdateDtoToJSON=t.LeadInfoUpdateDtoFromJSONTyped=t.LeadInfoUpdateDtoFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{buildingId:i.exists(e,"buildingId")?e.buildingId:void 0,firstName:i.exists(e,"firstName")?e.firstName:void 0,lastName:i.exists(e,"lastName")?e.lastName:void 0,email:i.exists(e,"email")?e.email:void 0,moveIn:i.exists(e,"moveIn")?new Date(e.moveIn):void 0,moveInRangeEnd:i.exists(e,"moveInRangeEnd")?new Date(e.moveInRangeEnd):void 0}}t.LeadInfoUpdateDtoFromJSON=function(e){return r(e)},t.LeadInfoUpdateDtoFromJSONTyped=r,t.LeadInfoUpdateDtoToJSON=function(e){if(void 0!==e)return null===e?null:{buildingId:e.buildingId,firstName:e.firstName,lastName:e.lastName,email:e.email,moveIn:void 0===e.moveIn?void 0:e.moveIn.toISOString().substr(0,10),moveInRangeEnd:void 0===e.moveInRangeEnd?void 0:e.moveInRangeEnd.toISOString().substr(0,10)}}},7530:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.LeadSourceResponseToJSON=t.LeadSourceResponseFromJSONTyped=t.LeadSourceResponseFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{sources:i.exists(e,"sources")?e.sources:void 0}}t.LeadSourceResponseFromJSON=function(e){return r(e)},t.LeadSourceResponseFromJSONTyped=r,t.LeadSourceResponseToJSON=function(e){if(void 0!==e)return null===e?null:{sources:e.sources}}},194:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.LeadThreadViewModelToJSON=t.LeadThreadViewModelFromJSONTyped=t.LeadThreadViewModelFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{leadName:i.exists(e,"leadName")?e.leadName:void 0,leadEmail:i.exists(e,"leadEmail")?e.leadEmail:void 0,contextCreationDate:i.exists(e,"contextCreationDate")?new Date(e.contextCreationDate):void 0,leadThreadLink:i.exists(e,"leadThreadLink")?e.leadThreadLink:void 0,buildingName:i.exists(e,"buildingName")?e.buildingName:void 0,buildingExternalId:i.exists(e,"buildingExternalId")?e.buildingExternalId:void 0,contextId:i.exists(e,"contextId")?e.contextId:void 0,buildingIds:i.exists(e,"buildingIds")?e.buildingIds:void 0,conversationKey:i.exists(e,"conversationKey")?e.conversationKey:void 0}}t.LeadThreadViewModelFromJSON=function(e){return r(e)},t.LeadThreadViewModelFromJSONTyped=r,t.LeadThreadViewModelToJSON=function(e){if(void 0!==e)return null===e?null:{leadName:e.leadName,leadEmail:e.leadEmail,contextCreationDate:void 0===e.contextCreationDate?void 0:e.contextCreationDate.toISOString(),leadThreadLink:e.leadThreadLink,buildingName:e.buildingName,buildingExternalId:e.buildingExternalId,contextId:e.contextId,buildingIds:e.buildingIds,conversationKey:e.conversationKey}}},1312:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.LeadWithSourceToJSON=t.LeadWithSourceFromJSONTyped=t.LeadWithSourceFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{id:i.exists(e,"id")?e.id:void 0,email:i.exists(e,"email")?e.email:void 0,marketingSource:i.exists(e,"marketingSource")?e.marketingSource:void 0}}t.LeadWithSourceFromJSON=function(e){return r(e)},t.LeadWithSourceFromJSONTyped=r,t.LeadWithSourceToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,email:e.email,marketingSource:e.marketingSource}}},4549:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.LeasingAgentToJSON=t.LeasingAgentFromJSONTyped=t.LeasingAgentFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{id:i.exists(e,"id")?e.id:void 0,userId:i.exists(e,"userId")?e.userId:void 0,externalId:i.exists(e,"externalId")?e.externalId:void 0,agentFirstName:i.exists(e,"agentFirstName")?e.agentFirstName:void 0,agentLastName:i.exists(e,"agentLastName")?e.agentLastName:void 0,internal:i.exists(e,"internal")?e.internal:void 0}}t.LeasingAgentFromJSON=function(e){return r(e)},t.LeasingAgentFromJSONTyped=r,t.LeasingAgentToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,userId:e.userId,externalId:e.externalId,agentFirstName:e.agentFirstName,agentLastName:e.agentLastName,internal:e.internal}}},8636:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ListWrapperOrganizationToJSON=t.ListWrapperOrganizationFromJSONTyped=t.ListWrapperOrganizationFromJSON=void 0;var i=n(296),r=n(8792);function o(e,t){return null==e?e:{data:i.exists(e,"data")?e.data.map(r.OrganizationFromJSON):void 0}}t.ListWrapperOrganizationFromJSON=function(e){return o(e)},t.ListWrapperOrganizationFromJSONTyped=o,t.ListWrapperOrganizationToJSON=function(e){if(void 0!==e)return null===e?null:{data:void 0===e.data?void 0:e.data.map(r.OrganizationToJSON)}}},7399:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.LocalTimeToJSON=t.LocalTimeFromJSONTyped=t.LocalTimeFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{hour:i.exists(e,"hour")?e.hour:void 0,minute:i.exists(e,"minute")?e.minute:void 0,second:i.exists(e,"second")?e.second:void 0,nano:i.exists(e,"nano")?e.nano:void 0}}t.LocalTimeFromJSON=function(e){return r(e)},t.LocalTimeFromJSONTyped=r,t.LocalTimeToJSON=function(e){if(void 0!==e)return null===e?null:{hour:e.hour,minute:e.minute,second:e.second,nano:e.nano}}},8328:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.LocationToJSON=t.LocationFromJSONTyped=t.LocationFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{label:i.exists(e,"label")?e.label:void 0,street:i.exists(e,"street")?e.street:void 0,addressNumber:i.exists(e,"addressNumber")?e.addressNumber:void 0,neighborhood:i.exists(e,"neighborhood")?e.neighborhood:void 0,postalCode:i.exists(e,"postalCode")?e.postalCode:void 0,municipality:i.exists(e,"municipality")?e.municipality:void 0,city:i.exists(e,"city")?e.city:void 0,region:i.exists(e,"region")?e.region:void 0,subRegion:i.exists(e,"subRegion")?e.subRegion:void 0,country:i.exists(e,"country")?e.country:void 0,latitude:i.exists(e,"latitude")?e.latitude:void 0,longitude:i.exists(e,"longitude")?e.longitude:void 0,timeZone:i.exists(e,"timeZone")?e.timeZone:void 0}}t.LocationFromJSON=function(e){return r(e)},t.LocationFromJSONTyped=r,t.LocationToJSON=function(e){if(void 0!==e)return null===e?null:{label:e.label,street:e.street,addressNumber:e.addressNumber,neighborhood:e.neighborhood,postalCode:e.postalCode,municipality:e.municipality,city:e.city,region:e.region,subRegion:e.subRegion,country:e.country,latitude:e.latitude,longitude:e.longitude,timeZone:e.timeZone}}},4401:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.LongTermFollowUpSettingToJSON=t.LongTermFollowUpSettingFromJSONTyped=t.LongTermFollowUpSettingFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{id:i.exists(e,"id")?e.id:void 0,userId:i.exists(e,"userId")?e.userId:void 0,followUpNumber:i.exists(e,"followUpNumber")?e.followUpNumber:void 0,clientType:i.exists(e,"clientType")?e.clientType:void 0,intervalNumber:i.exists(e,"intervalNumber")?e.intervalNumber:void 0,intervalUnit:i.exists(e,"intervalUnit")?e.intervalUnit:void 0,intervalNumberOlderThan:i.exists(e,"intervalNumberOlderThan")?e.intervalNumberOlderThan:void 0,intervalUnitOlderThan:i.exists(e,"intervalUnitOlderThan")?e.intervalUnitOlderThan:void 0,buildingId:i.exists(e,"buildingId")?e.buildingId:void 0}}t.LongTermFollowUpSettingFromJSON=function(e){return r(e)},t.LongTermFollowUpSettingFromJSONTyped=r,t.LongTermFollowUpSettingToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,userId:e.userId,followUpNumber:e.followUpNumber,clientType:e.clientType,intervalNumber:e.intervalNumber,intervalUnit:e.intervalUnit,intervalNumberOlderThan:e.intervalNumberOlderThan,intervalUnitOlderThan:e.intervalUnitOlderThan,buildingId:e.buildingId}}},3832:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.LongTermPostTourFollowUpSettingToJSON=t.LongTermPostTourFollowUpSettingFromJSONTyped=t.LongTermPostTourFollowUpSettingFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{id:i.exists(e,"id")?e.id:void 0,userId:i.exists(e,"userId")?e.userId:void 0,followUpNumber:i.exists(e,"followUpNumber")?e.followUpNumber:void 0,clientType:i.exists(e,"clientType")?e.clientType:void 0,intervalNumber:i.exists(e,"intervalNumber")?e.intervalNumber:void 0,intervalUnit:i.exists(e,"intervalUnit")?e.intervalUnit:void 0,intervalNumberOlderThan:i.exists(e,"intervalNumberOlderThan")?e.intervalNumberOlderThan:void 0,intervalUnitOlderThan:i.exists(e,"intervalUnitOlderThan")?e.intervalUnitOlderThan:void 0,buildingId:i.exists(e,"buildingId")?e.buildingId:void 0}}t.LongTermPostTourFollowUpSettingFromJSON=function(e){return r(e)},t.LongTermPostTourFollowUpSettingFromJSONTyped=r,t.LongTermPostTourFollowUpSettingToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,userId:e.userId,followUpNumber:e.followUpNumber,clientType:e.clientType,intervalNumber:e.intervalNumber,intervalUnit:e.intervalUnit,intervalNumberOlderThan:e.intervalNumberOlderThan,intervalUnitOlderThan:e.intervalUnitOlderThan,buildingId:e.buildingId}}},4883:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.MEHomeCalendarEventToJSON=t.MEHomeCalendarEventFromJSONTyped=t.MEHomeCalendarEventFromJSON=t.MEHomeCalendarEventEventTypeEnum=void 0;var i,r=n(296),o=n(9718);function a(e,t){return null==e?e:{id:e.id,aiAssistantId:e.aiAssistantId,startTimeISO:e.startTimeISO,endTimeISO:e.endTimeISO,eventType:e.eventType,tourInfo:r.exists(e,"tourInfo")?o.MEHomeTourInfoFromJSON(e.tourInfo):void 0,title:r.exists(e,"title")?e.title:void 0,conversationKey:r.exists(e,"conversationKey")?e.conversationKey:void 0,recurringEventId:r.exists(e,"recurringEventId")?e.recurringEventId:void 0,assignedAgentId:r.exists(e,"assignedAgentId")?e.assignedAgentId:void 0,canceled:r.exists(e,"canceled")?e.canceled:void 0}}(i=t.MEHomeCalendarEventEventTypeEnum||(t.MEHomeCalendarEventEventTypeEnum={})).NonBlockingInternal="NON_BLOCKING_INTERNAL",i.Blackout="BLACKOUT",i.Appointment="APPOINTMENT",i.Other="OTHER",t.MEHomeCalendarEventFromJSON=function(e){return a(e)},t.MEHomeCalendarEventFromJSONTyped=a,t.MEHomeCalendarEventToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,aiAssistantId:e.aiAssistantId,startTimeISO:e.startTimeISO,endTimeISO:e.endTimeISO,eventType:e.eventType,tourInfo:o.MEHomeTourInfoToJSON(e.tourInfo),title:e.title,conversationKey:e.conversationKey,recurringEventId:e.recurringEventId,assignedAgentId:e.assignedAgentId,canceled:e.canceled}}},6705:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.MEHomeDashboardInfoToJSON=t.MEHomeDashboardInfoFromJSONTyped=t.MEHomeDashboardInfoFromJSON=void 0;var i=n(296),r=n(3817),o=n(7934),a=n(746),s=n(4549),u=n(4883),l=n(1004),d=n(6330);function c(e,t){return null==e?e:{numEscalations:e.numEscalations,calendarEvents:e.calendarEvents.map(u.MEHomeCalendarEventFromJSON),buildingIds:e.buildingIds,dateRangeReport:i.exists(e,"dateRangeReport")?r.DateRangeReportFromJSON(e.dateRangeReport):void 0,leasingAgents:e.leasingAgents.map(s.LeasingAgentFromJSON),units:e.units.map(l.MEHomeUnitFromJSON),tourTypeOptions:e.tourTypeOptions.map(d.TourTypeOptionFromJSON),layoutOptions:e.layoutOptions.map(a.LayoutOptionFromJSON),leadSources:e.leadSources,firstContactOptions:e.firstContactOptions.map(o.FirstContactOptionFromJSON)}}t.MEHomeDashboardInfoFromJSON=function(e){return c(e)},t.MEHomeDashboardInfoFromJSONTyped=c,t.MEHomeDashboardInfoToJSON=function(e){if(void 0!==e)return null===e?null:{numEscalations:e.numEscalations,calendarEvents:e.calendarEvents.map(u.MEHomeCalendarEventToJSON),buildingIds:e.buildingIds,dateRangeReport:r.DateRangeReportToJSON(e.dateRangeReport),leasingAgents:e.leasingAgents.map(s.LeasingAgentToJSON),units:e.units.map(l.MEHomeUnitToJSON),tourTypeOptions:e.tourTypeOptions.map(d.TourTypeOptionToJSON),layoutOptions:e.layoutOptions.map(a.LayoutOptionToJSON),leadSources:e.leadSources,firstContactOptions:e.firstContactOptions.map(o.FirstContactOptionToJSON)}}},1427:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.MEHomeLeadToJSON=t.MEHomeLeadFromJSONTyped=t.MEHomeLeadFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{id:e.id,email:i.exists(e,"email")?e.email:void 0,firstName:i.exists(e,"firstName")?e.firstName:void 0,lastName:i.exists(e,"lastName")?e.lastName:void 0,layouts:i.exists(e,"layouts")?e.layouts:void 0,leadCreationDateISO:i.exists(e,"leadCreationDateISO")?e.leadCreationDateISO:void 0,leaseLengthMax:i.exists(e,"leaseLengthMax")?e.leaseLengthMax:void 0,leaseLengthMin:i.exists(e,"leaseLengthMin")?e.leaseLengthMin:void 0,marketPlace:i.exists(e,"marketPlace")?e.marketPlace:void 0,moveInDateISO:i.exists(e,"moveInDateISO")?e.moveInDateISO:void 0,phoneNumber:i.exists(e,"phoneNumber")?e.phoneNumber:void 0,preferredSize:i.exists(e,"preferredSize")?e.preferredSize:void 0,recommendedUnits:i.exists(e,"recommendedUnits")?e.recommendedUnits:void 0}}t.MEHomeLeadFromJSON=function(e){return r(e)},t.MEHomeLeadFromJSONTyped=r,t.MEHomeLeadToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,email:e.email,firstName:e.firstName,lastName:e.lastName,layouts:e.layouts,leadCreationDateISO:e.leadCreationDateISO,leaseLengthMax:e.leaseLengthMax,leaseLengthMin:e.leaseLengthMin,marketPlace:e.marketPlace,moveInDateISO:e.moveInDateISO,phoneNumber:e.phoneNumber,preferredSize:e.preferredSize,recommendedUnits:e.recommendedUnits}}},9718:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.MEHomeTourInfoToJSON=t.MEHomeTourInfoFromJSONTyped=t.MEHomeTourInfoFromJSON=t.MEHomeTourInfoConversationTypeEnum=t.MEHomeTourInfoTourTypeEnum=void 0;var i,r,o=n(296),a=n(1427);function s(e,t){return null==e?e:{lead:a.MEHomeLeadFromJSON(e.lead),hostVirtualTourUrl:o.exists(e,"hostVirtualTourUrl")?e.hostVirtualTourUrl:void 0,publicVirtualTourUrl:o.exists(e,"publicVirtualTourUrl")?e.publicVirtualTourUrl:void 0,tourType:o.exists(e,"tourType")?e.tourType:void 0,leadStatusForContext:o.exists(e,"leadStatusForContext")?e.leadStatusForContext:void 0,notes:o.exists(e,"notes")?e.notes:void 0,conversationType:o.exists(e,"conversationType")?e.conversationType:void 0}}(r=t.MEHomeTourInfoTourTypeEnum||(t.MEHomeTourInfoTourTypeEnum={})).Unknown="UNKNOWN",r.SelfGuided="SELF_GUIDED",r.VirtualShowing="VIRTUAL_SHOWING",r.WithAgent="WITH_AGENT",r.MediaTour="MEDIA_TOUR",(i=t.MEHomeTourInfoConversationTypeEnum||(t.MEHomeTourInfoConversationTypeEnum={})).Email="EMAIL",i.Phone="PHONE",t.MEHomeTourInfoFromJSON=function(e){return s(e)},t.MEHomeTourInfoFromJSONTyped=s,t.MEHomeTourInfoToJSON=function(e){if(void 0!==e)return null===e?null:{lead:a.MEHomeLeadToJSON(e.lead),hostVirtualTourUrl:e.hostVirtualTourUrl,publicVirtualTourUrl:e.publicVirtualTourUrl,tourType:e.tourType,leadStatusForContext:e.leadStatusForContext,notes:e.notes,conversationType:e.conversationType}}},1004:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.MEHomeUnitToJSON=t.MEHomeUnitFromJSONTyped=t.MEHomeUnitFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{id:e.id,layoutDescription:e.layoutDescription,label:e.label,layout:e.layout,_default:i.exists(e,"default")?e.default:void 0}}t.MEHomeUnitFromJSON=function(e){return r(e)},t.MEHomeUnitFromJSONTyped=r,t.MEHomeUnitToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,layoutDescription:e.layoutDescription,label:e.label,layout:e.layout,default:e._default}}},4240:(e,t)=>{function n(e,t){return null==e?e:{marketingSource:e.marketingSource,startOfRange:new Date(e.startOfRange),endOfRange:new Date(e.endOfRange),buildingId:e.buildingId,numAiMessagesSent:e.numAiMessagesSent,numAiSentEmailFollowup:e.numAiSentEmailFollowup,numAiSentTextFollowup:e.numAiSentTextFollowup,averageMessagesPerProspect:e.averageMessagesPerProspect,prospectToTourConversion:e.prospectToTourConversion,numTours:e.numTours,tourBookedByMENoncancelled:e.tourBookedByMENoncancelled,newProspectsHandled:e.newProspectsHandled,hoursSavedByAi:e.hoursSavedByAi,numEarlyAgentTakeover:e.numEarlyAgentTakeover,numberLeadsApplied:e.numberLeadsApplied,tourAttended:e.tourAttended,numActionRequiredFromAgent:e.numActionRequiredFromAgent,numPassToAgent:e.numPassToAgent,aiBookedTourAttended:e.aiBookedTourAttended}}Object.defineProperty(t,"__esModule",{value:!0}),t.MarketingSourceDateRangeReportToJSON=t.MarketingSourceDateRangeReportFromJSONTyped=t.MarketingSourceDateRangeReportFromJSON=void 0,t.MarketingSourceDateRangeReportFromJSON=function(e){return n(e)},t.MarketingSourceDateRangeReportFromJSONTyped=n,t.MarketingSourceDateRangeReportToJSON=function(e){if(void 0!==e)return null===e?null:{marketingSource:e.marketingSource,startOfRange:e.startOfRange.toISOString(),endOfRange:e.endOfRange.toISOString(),buildingId:e.buildingId,numAiMessagesSent:e.numAiMessagesSent,numAiSentEmailFollowup:e.numAiSentEmailFollowup,numAiSentTextFollowup:e.numAiSentTextFollowup,averageMessagesPerProspect:e.averageMessagesPerProspect,prospectToTourConversion:e.prospectToTourConversion,numTours:e.numTours,tourBookedByMENoncancelled:e.tourBookedByMENoncancelled,newProspectsHandled:e.newProspectsHandled,hoursSavedByAi:e.hoursSavedByAi,numEarlyAgentTakeover:e.numEarlyAgentTakeover,numberLeadsApplied:e.numberLeadsApplied,tourAttended:e.tourAttended,numActionRequiredFromAgent:e.numActionRequiredFromAgent,numPassToAgent:e.numPassToAgent,aiBookedTourAttended:e.aiBookedTourAttended}}},2960:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.NoShowActionDtoToJSON=t.NoShowActionDtoFromJSONTyped=t.NoShowActionDtoFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{contextId:i.exists(e,"contextId")?e.contextId:void 0}}t.NoShowActionDtoFromJSON=function(e){return r(e)},t.NoShowActionDtoFromJSONTyped=r,t.NoShowActionDtoToJSON=function(e){if(void 0!==e)return null===e?null:{contextId:e.contextId}}},1431:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.NoShowFollowUpSettingToJSON=t.NoShowFollowUpSettingFromJSONTyped=t.NoShowFollowUpSettingFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{id:i.exists(e,"id")?e.id:void 0,userId:i.exists(e,"userId")?e.userId:void 0,followUpNumber:i.exists(e,"followUpNumber")?e.followUpNumber:void 0,clientType:i.exists(e,"clientType")?e.clientType:void 0,intervalNumber:i.exists(e,"intervalNumber")?e.intervalNumber:void 0,intervalUnit:i.exists(e,"intervalUnit")?e.intervalUnit:void 0,intervalNumberOlderThan:i.exists(e,"intervalNumberOlderThan")?e.intervalNumberOlderThan:void 0,intervalUnitOlderThan:i.exists(e,"intervalUnitOlderThan")?e.intervalUnitOlderThan:void 0,buildingId:i.exists(e,"buildingId")?e.buildingId:void 0}}t.NoShowFollowUpSettingFromJSON=function(e){return r(e)},t.NoShowFollowUpSettingFromJSONTyped=r,t.NoShowFollowUpSettingToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,userId:e.userId,followUpNumber:e.followUpNumber,clientType:e.clientType,intervalNumber:e.intervalNumber,intervalUnit:e.intervalUnit,intervalNumberOlderThan:e.intervalNumberOlderThan,intervalUnitOlderThan:e.intervalUnitOlderThan,buildingId:e.buildingId}}},8792:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.OrganizationToJSON=t.OrganizationFromJSONTyped=t.OrganizationFromJSON=void 0;var i=n(296),r=n(1172);function o(e,t){return null==e?e:{id:i.exists(e,"id")?e.id:void 0,name:i.exists(e,"name")?e.name:void 0,address1:i.exists(e,"address1")?e.address1:void 0,address2:i.exists(e,"address2")?e.address2:void 0,city:i.exists(e,"city")?e.city:void 0,state:i.exists(e,"state")?e.state:void 0,zipCode:i.exists(e,"zipCode")?e.zipCode:void 0,url:i.exists(e,"url")?e.url:void 0,associatedDomains:i.exists(e,"associatedDomains")?e.associatedDomains:void 0,communitiesDefaults:i.exists(e,"communitiesDefaults")?r.CommunitiesDefaultsFromJSON(e.communitiesDefaults):void 0,organizationId:i.exists(e,"organizationId")?e.organizationId:void 0}}t.OrganizationFromJSON=function(e){return o(e)},t.OrganizationFromJSONTyped=o,t.OrganizationToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,name:e.name,address1:e.address1,address2:e.address2,city:e.city,state:e.state,zipCode:e.zipCode,url:e.url,associatedDomains:e.associatedDomains,communitiesDefaults:r.CommunitiesDefaultsToJSON(e.communitiesDefaults),organizationId:e.organizationId}}},908:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.PostTourFollowUpSettingToJSON=t.PostTourFollowUpSettingFromJSONTyped=t.PostTourFollowUpSettingFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{id:i.exists(e,"id")?e.id:void 0,userId:i.exists(e,"userId")?e.userId:void 0,followUpNumber:i.exists(e,"followUpNumber")?e.followUpNumber:void 0,clientType:i.exists(e,"clientType")?e.clientType:void 0,intervalNumber:i.exists(e,"intervalNumber")?e.intervalNumber:void 0,intervalUnit:i.exists(e,"intervalUnit")?e.intervalUnit:void 0,intervalNumberOlderThan:i.exists(e,"intervalNumberOlderThan")?e.intervalNumberOlderThan:void 0,intervalUnitOlderThan:i.exists(e,"intervalUnitOlderThan")?e.intervalUnitOlderThan:void 0,buildingId:i.exists(e,"buildingId")?e.buildingId:void 0}}t.PostTourFollowUpSettingFromJSON=function(e){return r(e)},t.PostTourFollowUpSettingFromJSONTyped=r,t.PostTourFollowUpSettingToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,userId:e.userId,followUpNumber:e.followUpNumber,clientType:e.clientType,intervalNumber:e.intervalNumber,intervalUnit:e.intervalUnit,intervalNumberOlderThan:e.intervalNumberOlderThan,intervalUnitOlderThan:e.intervalUnitOlderThan,buildingId:e.buildingId}}},3231:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.PreTourFollowUpSettingToJSON=t.PreTourFollowUpSettingFromJSONTyped=t.PreTourFollowUpSettingFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{id:i.exists(e,"id")?e.id:void 0,followUpNumber:i.exists(e,"followUpNumber")?e.followUpNumber:void 0,clientType:i.exists(e,"clientType")?e.clientType:void 0,intervalNumber:i.exists(e,"intervalNumber")?e.intervalNumber:void 0,intervalUnit:i.exists(e,"intervalUnit")?e.intervalUnit:void 0,intervalNumberOlderThan:i.exists(e,"intervalNumberOlderThan")?e.intervalNumberOlderThan:void 0,intervalUnitOlderThan:i.exists(e,"intervalUnitOlderThan")?e.intervalUnitOlderThan:void 0,buildingId:i.exists(e,"buildingId")?e.buildingId:void 0,userId:i.exists(e,"userId")?e.userId:void 0}}t.PreTourFollowUpSettingFromJSON=function(e){return r(e)},t.PreTourFollowUpSettingFromJSONTyped=r,t.PreTourFollowUpSettingToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,followUpNumber:e.followUpNumber,clientType:e.clientType,intervalNumber:e.intervalNumber,intervalUnit:e.intervalUnit,intervalNumberOlderThan:e.intervalNumberOlderThan,intervalUnitOlderThan:e.intervalUnitOlderThan,buildingId:e.buildingId,userId:e.userId}}},8496:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.QaDtoToJSON=t.QaDtoFromJSONTyped=t.QaDtoFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{buildingId:i.exists(e,"buildingId")?e.buildingId:void 0,intentNames:i.exists(e,"intentNames")?e.intentNames:void 0,unitId:i.exists(e,"unitId")?e.unitId:void 0,email:i.exists(e,"email")?e.email:void 0}}t.QaDtoFromJSON=function(e){return r(e)},t.QaDtoFromJSONTyped=r,t.QaDtoToJSON=function(e){if(void 0!==e)return null===e?null:{buildingId:e.buildingId,intentNames:e.intentNames,unitId:e.unitId,email:e.email}}},3538:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.RealPageCredentialsToJSON=t.RealPageCredentialsFromJSONTyped=t.RealPageCredentialsFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{id:i.exists(e,"id")?e.id:void 0,userId:i.exists(e,"userId")?e.userId:void 0,userName:i.exists(e,"userName")?e.userName:void 0,password:i.exists(e,"password")?e.password:void 0,uniqueCompanyIdentifier:i.exists(e,"uniqueCompanyIdentifier")?e.uniqueCompanyIdentifier:void 0,uniquePropertyIdentifier:i.exists(e,"uniquePropertyIdentifier")?e.uniquePropertyIdentifier:void 0,hostUrl:i.exists(e,"hostUrl")?e.hostUrl:void 0,l2LApiKey:i.exists(e,"l2LApiKey")?e.l2LApiKey:void 0,leasingAgentId:i.exists(e,"leasingAgentId")?e.leasingAgentId:void 0,handoffAgentId:i.exists(e,"handoffAgentId")?e.handoffAgentId:void 0}}t.RealPageCredentialsFromJSON=function(e){return r(e)},t.RealPageCredentialsFromJSONTyped=r,t.RealPageCredentialsToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,userId:e.userId,userName:e.userName,password:e.password,uniqueCompanyIdentifier:e.uniqueCompanyIdentifier,uniquePropertyIdentifier:e.uniquePropertyIdentifier,hostUrl:e.hostUrl,l2LApiKey:e.l2LApiKey,leasingAgentId:e.leasingAgentId,handoffAgentId:e.handoffAgentId}}},9353:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.RecurringEventCreateRequestDtoToJSON=t.RecurringEventCreateRequestDtoFromJSONTyped=t.RecurringEventCreateRequestDtoFromJSON=t.RecurringEventCreateRequestDtoFrequencyEnum=void 0;var i,r=n(296);function o(e,t){return null==e?e:{calendarId:r.exists(e,"calendarId")?e.calendarId:void 0,startTime:r.exists(e,"startTime")?e.startTime:void 0,endTime:r.exists(e,"endTime")?e.endTime:void 0,daysOfWeek:r.exists(e,"daysOfWeek")?e.daysOfWeek:void 0,daysOfMonth:r.exists(e,"daysOfMonth")?e.daysOfMonth:void 0,startOfRecurrence:r.exists(e,"startOfRecurrence")?e.startOfRecurrence:void 0,endOfRecurrence:r.exists(e,"endOfRecurrence")?e.endOfRecurrence:void 0,frequency:r.exists(e,"frequency")?e.frequency:void 0,frequencyMultiplier:r.exists(e,"frequencyMultiplier")?e.frequencyMultiplier:void 0,createdBy:r.exists(e,"createdBy")?e.createdBy:void 0,summary:r.exists(e,"summary")?e.summary:void 0}}(i=t.RecurringEventCreateRequestDtoFrequencyEnum||(t.RecurringEventCreateRequestDtoFrequencyEnum={})).Weekly="WEEKLY",i.Monthly="MONTHLY",t.RecurringEventCreateRequestDtoFromJSON=function(e){return o(e)},t.RecurringEventCreateRequestDtoFromJSONTyped=o,t.RecurringEventCreateRequestDtoToJSON=function(e){if(void 0!==e)return null===e?null:{calendarId:e.calendarId,startTime:e.startTime,endTime:e.endTime,daysOfWeek:e.daysOfWeek,daysOfMonth:e.daysOfMonth,startOfRecurrence:e.startOfRecurrence,endOfRecurrence:e.endOfRecurrence,frequency:e.frequency,frequencyMultiplier:e.frequencyMultiplier,createdBy:e.createdBy,summary:e.summary}}},6343:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.RecurringEventDtoToJSON=t.RecurringEventDtoFromJSONTyped=t.RecurringEventDtoFromJSON=t.RecurringEventDtoFrequencyEnum=void 0;var i,r=n(296);function o(e,t){return null==e?e:{id:r.exists(e,"id")?e.id:void 0,calendarId:r.exists(e,"calendarId")?e.calendarId:void 0,startTime:r.exists(e,"startTime")?e.startTime:void 0,endTime:r.exists(e,"endTime")?e.endTime:void 0,daysOfWeek:r.exists(e,"daysOfWeek")?e.daysOfWeek:void 0,daysOfMonth:r.exists(e,"daysOfMonth")?e.daysOfMonth:void 0,startOfRecurrence:r.exists(e,"startOfRecurrence")?e.startOfRecurrence:void 0,endOfRecurrence:r.exists(e,"endOfRecurrence")?e.endOfRecurrence:void 0,frequency:r.exists(e,"frequency")?e.frequency:void 0,frequencyMultiplier:r.exists(e,"frequencyMultiplier")?e.frequencyMultiplier:void 0,timeCreated:r.exists(e,"timeCreated")?e.timeCreated:void 0,timeMostRecentlyUpdated:r.exists(e,"timeMostRecentlyUpdated")?e.timeMostRecentlyUpdated:void 0,lastEventGeneratedTimestamp:r.exists(e,"lastEventGeneratedTimestamp")?e.lastEventGeneratedTimestamp:void 0,createdBy:r.exists(e,"createdBy")?e.createdBy:void 0,summary:r.exists(e,"summary")?e.summary:void 0,deleted:r.exists(e,"deleted")?e.deleted:void 0}}(i=t.RecurringEventDtoFrequencyEnum||(t.RecurringEventDtoFrequencyEnum={})).Weekly="WEEKLY",i.Monthly="MONTHLY",t.RecurringEventDtoFromJSON=function(e){return o(e)},t.RecurringEventDtoFromJSONTyped=o,t.RecurringEventDtoToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,calendarId:e.calendarId,startTime:e.startTime,endTime:e.endTime,daysOfWeek:e.daysOfWeek,daysOfMonth:e.daysOfMonth,startOfRecurrence:e.startOfRecurrence,endOfRecurrence:e.endOfRecurrence,frequency:e.frequency,frequencyMultiplier:e.frequencyMultiplier,timeCreated:e.timeCreated,timeMostRecentlyUpdated:e.timeMostRecentlyUpdated,lastEventGeneratedTimestamp:e.lastEventGeneratedTimestamp,createdBy:e.createdBy,summary:e.summary,deleted:e.deleted}}},7564:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.RecurringEventUpdateRequestDtoToJSON=t.RecurringEventUpdateRequestDtoFromJSONTyped=t.RecurringEventUpdateRequestDtoFromJSON=t.RecurringEventUpdateRequestDtoFrequencyEnum=void 0;var i,r=n(296);function o(e,t){return null==e?e:{startTime:r.exists(e,"startTime")?e.startTime:void 0,endTime:r.exists(e,"endTime")?e.endTime:void 0,daysOfWeek:r.exists(e,"daysOfWeek")?e.daysOfWeek:void 0,daysOfMonth:r.exists(e,"daysOfMonth")?e.daysOfMonth:void 0,startOfRecurrence:r.exists(e,"startOfRecurrence")?e.startOfRecurrence:void 0,endOfRecurrence:r.exists(e,"endOfRecurrence")?e.endOfRecurrence:void 0,frequency:r.exists(e,"frequency")?e.frequency:void 0,frequencyMultiplier:r.exists(e,"frequencyMultiplier")?e.frequencyMultiplier:void 0,summary:r.exists(e,"summary")?e.summary:void 0}}(i=t.RecurringEventUpdateRequestDtoFrequencyEnum||(t.RecurringEventUpdateRequestDtoFrequencyEnum={})).Weekly="WEEKLY",i.Monthly="MONTHLY",t.RecurringEventUpdateRequestDtoFromJSON=function(e){return o(e)},t.RecurringEventUpdateRequestDtoFromJSONTyped=o,t.RecurringEventUpdateRequestDtoToJSON=function(e){if(void 0!==e)return null===e?null:{startTime:e.startTime,endTime:e.endTime,daysOfWeek:e.daysOfWeek,daysOfMonth:e.daysOfMonth,startOfRecurrence:e.startOfRecurrence,endOfRecurrence:e.endOfRecurrence,frequency:e.frequency,frequencyMultiplier:e.frequencyMultiplier,summary:e.summary}}},4748:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ReportSettingToJSON=t.ReportSettingFromJSONTyped=t.ReportSettingFromJSON=t.ReportSettingSendingMediumEnum=t.ReportSettingTypeEnum=t.ReportSettingSheetIdsEnum=void 0;var i,r,o,a=n(296);function s(e,t){return null==e?e:{active:a.exists(e,"active")?e.active:void 0,id:a.exists(e,"id")?e.id:void 0,name:a.exists(e,"name")?e.name:void 0,reportNamePart1:a.exists(e,"reportNamePart1")?e.reportNamePart1:void 0,reportNamePart2:a.exists(e,"reportNamePart2")?e.reportNamePart2:void 0,startDate:a.exists(e,"startDate")?e.startDate:void 0,endDate:a.exists(e,"endDate")?e.endDate:void 0,initialReportDate:a.exists(e,"initialReportDate")?e.initialReportDate:void 0,isOrgLevel:a.exists(e,"isOrgLevel")?e.isOrgLevel:void 0,organizationIds:a.exists(e,"organizationIds")?e.organizationIds:void 0,buildingIds:a.exists(e,"buildingIds")?e.buildingIds:void 0,recipients:a.exists(e,"recipients")?e.recipients:void 0,sheetIds:a.exists(e,"sheetIds")?e.sheetIds:void 0,type:a.exists(e,"type")?e.type:void 0,sendingMedium:a.exists(e,"sendingMedium")?e.sendingMedium:void 0,htmlEmailMessage:a.exists(e,"htmlEmailMessage")?e.htmlEmailMessage:void 0,orgLevel:a.exists(e,"orgLevel")?e.orgLevel:void 0}}(o=t.ReportSettingSheetIdsEnum||(t.ReportSettingSheetIdsEnum={})).A1="A1",o.A1unsub="A1unsub",o.A1ytd="A1ytd",o.A2="A2",o.A3="A3",o.A3wk="A3wk",o.A3ytd="A3ytd",o.A4="A4",o.Bell2="BELL2",o.Bell4="BELL4",o.Boz1="BOZ1",o.Boz2="BOZ2",o.S1="S1",o.S1shows="S1shows",o.S1unsub="S1unsub",o.S1wk="S1wk",o.S2="S2",o.S2org="S2org",o.S2wk="S2wk",o.S3="S3",o.S3org="S3org",o.S3wk="S3wk",o.S4="S4",o.S4org="S4org",o.S5="S5",o.S5org="S5org",o.Sr1ytd="SR1ytd",o.Ivr1="IVR1",o.Ivr2="IVR2",(r=t.ReportSettingTypeEnum||(t.ReportSettingTypeEnum={})).ProspectReport="PROSPECT_REPORT",r.AutomaticReport="AUTOMATIC_REPORT",r.OwnerReport="OWNER_REPORT",r.InternalReport="INTERNAL_REPORT",(i=t.ReportSettingSendingMediumEnum||(t.ReportSettingSendingMediumEnum={})).Sftp="SFTP",i.AutomatedEmail="AUTOMATED_EMAIL",i.ManualEmail="MANUAL_EMAIL",t.ReportSettingFromJSON=function(e){return s(e)},t.ReportSettingFromJSONTyped=s,t.ReportSettingToJSON=function(e){if(void 0!==e)return null===e?null:{active:e.active,id:e.id,name:e.name,reportNamePart1:e.reportNamePart1,reportNamePart2:e.reportNamePart2,startDate:e.startDate,endDate:e.endDate,initialReportDate:e.initialReportDate,isOrgLevel:e.isOrgLevel,organizationIds:e.organizationIds,buildingIds:e.buildingIds,recipients:e.recipients,sheetIds:e.sheetIds,type:e.type,sendingMedium:e.sendingMedium,htmlEmailMessage:e.htmlEmailMessage,orgLevel:e.orgLevel}}},170:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.RescheduleConfirmedDtoToJSON=t.RescheduleConfirmedDtoFromJSONTyped=t.RescheduleConfirmedDtoFromJSON=t.RescheduleConfirmedDtoTourTypeEnum=void 0;var i,r=n(296);function o(e,t){return null==e?e:{contextId:r.exists(e,"contextId")?e.contextId:void 0,buildingId:r.exists(e,"buildingId")?e.buildingId:void 0,unitId:r.exists(e,"unitId")?e.unitId:void 0,tourType:r.exists(e,"tourType")?e.tourType:void 0,calendarEventId:r.exists(e,"calendarEventId")?e.calendarEventId:void 0,leasingAgentId:r.exists(e,"leasingAgentId")?e.leasingAgentId:void 0,newStartTime:r.exists(e,"newStartTime")?e.newStartTime:void 0,newEndTime:r.exists(e,"newEndTime")?e.newEndTime:void 0}}(i=t.RescheduleConfirmedDtoTourTypeEnum||(t.RescheduleConfirmedDtoTourTypeEnum={})).Unknown="UNKNOWN",i.SelfGuided="SELF_GUIDED",i.VirtualShowing="VIRTUAL_SHOWING",i.WithAgent="WITH_AGENT",i.MediaTour="MEDIA_TOUR",t.RescheduleConfirmedDtoFromJSON=function(e){return o(e)},t.RescheduleConfirmedDtoFromJSONTyped=o,t.RescheduleConfirmedDtoToJSON=function(e){if(void 0!==e)return null===e?null:{contextId:e.contextId,buildingId:e.buildingId,unitId:e.unitId,tourType:e.tourType,calendarEventId:e.calendarEventId,leasingAgentId:e.leasingAgentId,newStartTime:e.newStartTime,newEndTime:e.newEndTime}}},2298:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.RescheduleProposedDtoToJSON=t.RescheduleProposedDtoFromJSONTyped=t.RescheduleProposedDtoFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{contextId:i.exists(e,"contextId")?e.contextId:void 0,buildingId:i.exists(e,"buildingId")?e.buildingId:void 0,calendarEventId:i.exists(e,"calendarEventId")?e.calendarEventId:void 0,suggestedStartTime:i.exists(e,"suggestedStartTime")?e.suggestedStartTime:void 0}}t.RescheduleProposedDtoFromJSON=function(e){return r(e)},t.RescheduleProposedDtoFromJSONTyped=r,t.RescheduleProposedDtoToJSON=function(e){if(void 0!==e)return null===e?null:{contextId:e.contextId,buildingId:e.buildingId,calendarEventId:e.calendarEventId,suggestedStartTime:e.suggestedStartTime}}},445:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ResolveEscalationDtoToJSON=t.ResolveEscalationDtoFromJSONTyped=t.ResolveEscalationDtoFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{contextId:i.exists(e,"contextId")?e.contextId:void 0,resolutionStatus:i.exists(e,"resolutionStatus")?e.resolutionStatus:void 0,resolverEmail:i.exists(e,"resolverEmail")?e.resolverEmail:void 0,resolvedWithMessage:i.exists(e,"resolvedWithMessage")?e.resolvedWithMessage:void 0}}t.ResolveEscalationDtoFromJSON=function(e){return r(e)},t.ResolveEscalationDtoFromJSONTyped=r,t.ResolveEscalationDtoToJSON=function(e){if(void 0!==e)return null===e?null:{contextId:e.contextId,resolutionStatus:e.resolutionStatus,resolverEmail:e.resolverEmail,resolvedWithMessage:e.resolvedWithMessage}}},1222:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ResolveScriptRequestToJSON=t.ResolveScriptRequestFromJSONTyped=t.ResolveScriptRequestFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{intent:i.exists(e,"intent")?e.intent:void 0,subintent:i.exists(e,"subintent")?e.subintent:void 0}}t.ResolveScriptRequestFromJSON=function(e){return r(e)},t.ResolveScriptRequestFromJSONTyped=r,t.ResolveScriptRequestToJSON=function(e){if(void 0!==e)return null===e?null:{intent:e.intent,subintent:e.subintent}}},7444:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ResolveScriptsRequestToJSON=t.ResolveScriptsRequestFromJSONTyped=t.ResolveScriptsRequestFromJSON=void 0;var i=n(296),r=n(1222);function o(e,t){return null==e?e:{buildingId:i.exists(e,"buildingId")?e.buildingId:void 0,organizationId:i.exists(e,"organizationId")?e.organizationId:void 0,scripts:i.exists(e,"scripts")?e.scripts.map(r.ResolveScriptRequestFromJSON):void 0}}t.ResolveScriptsRequestFromJSON=function(e){return o(e)},t.ResolveScriptsRequestFromJSONTyped=o,t.ResolveScriptsRequestToJSON=function(e){if(void 0!==e)return null===e?null:{buildingId:e.buildingId,organizationId:e.organizationId,scripts:void 0===e.scripts?void 0:e.scripts.map(r.ResolveScriptRequestToJSON)}}},3815:(e,t)=>{function n(e,t){return null==e?e:{mcId:e.mcId,response:e.response}}Object.defineProperty(t,"__esModule",{value:!0}),t.RespondToMCConversationDTOToJSON=t.RespondToMCConversationDTOFromJSONTyped=t.RespondToMCConversationDTOFromJSON=void 0,t.RespondToMCConversationDTOFromJSON=function(e){return n(e)},t.RespondToMCConversationDTOFromJSONTyped=n,t.RespondToMCConversationDTOToJSON=function(e){if(void 0!==e)return null===e?null:{mcId:e.mcId,response:e.response}}},8385:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ResponseAtomicTemplateToJSON=t.ResponseAtomicTemplateFromJSONTyped=t.ResponseAtomicTemplateFromJSON=t.ResponseAtomicTemplateHandoffIntentStateEnum=void 0;var i,r=n(296),o=n(1234);function a(e){return s(e)}function s(e,t){return null==e?e:{id:r.exists(e,"id")?e.id:void 0,scriptType:r.exists(e,"scriptType")?e.scriptType:void 0,organizationId:r.exists(e,"organizationId")?e.organizationId:void 0,category:r.exists(e,"category")?e.category:void 0,subIntent:r.exists(e,"subIntent")?e.subIntent:void 0,categoryReadableName:r.exists(e,"categoryReadableName")?e.categoryReadableName:void 0,responseText:r.exists(e,"responseText")?e.responseText:void 0,entity:r.exists(e,"entity")?e.entity:void 0,parent:r.exists(e,"parent")?e.parent:void 0,children:r.exists(e,"children")?e.children.map(a):void 0,attachments:r.exists(e,"attachments")?e.attachments.map(o.AttachmentFromJSON):void 0,aiTrainerInstructions:r.exists(e,"aiTrainerInstructions")?e.aiTrainerInstructions:void 0,handoffIntentState:r.exists(e,"handoffIntentState")?e.handoffIntentState:void 0,attachmentsFromDatabase:r.exists(e,"attachmentsFromDatabase")?e.attachmentsFromDatabase:void 0,superCategory:r.exists(e,"superCategory")?e.superCategory:void 0}}(i=t.ResponseAtomicTemplateHandoffIntentStateEnum||(t.ResponseAtomicTemplateHandoffIntentStateEnum={})).None="NONE",i.YellowStatus="YELLOW_STATUS",i.RedAlertSend="RED_ALERT_SEND",i.RedAlertDoNotSend="RED_ALERT_DO_NOT_SEND",t.ResponseAtomicTemplateFromJSON=a,t.ResponseAtomicTemplateFromJSONTyped=s,t.ResponseAtomicTemplateToJSON=function e(t){if(void 0!==t)return null===t?null:{id:t.id,scriptType:t.scriptType,organizationId:t.organizationId,category:t.category,subIntent:t.subIntent,categoryReadableName:t.categoryReadableName,responseText:t.responseText,entity:t.entity,parent:t.parent,children:void 0===t.children?void 0:t.children.map(e),attachments:void 0===t.attachments?void 0:t.attachments.map(o.AttachmentToJSON),aiTrainerInstructions:t.aiTrainerInstructions,handoffIntentState:t.handoffIntentState,attachmentsFromDatabase:t.attachmentsFromDatabase,superCategory:t.superCategory}}},6956:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ScheduleDtoToJSON=t.ScheduleDtoFromJSONTyped=t.ScheduleDtoFromJSON=t.ScheduleDtoTourTypeEnum=void 0;var i,r=n(296),o=n(5007);function a(e,t){return null==e?e:{guestCard:r.exists(e,"guestCard")?o.EliseGuestCardDtoFromJSON(e.guestCard):void 0,buildingId:r.exists(e,"buildingId")?e.buildingId:void 0,tourType:r.exists(e,"tourType")?e.tourType:void 0,unitId:r.exists(e,"unitId")?e.unitId:void 0,startTime:r.exists(e,"startTime")?e.startTime:void 0,endTime:r.exists(e,"endTime")?e.endTime:void 0,leasingAgentId:r.exists(e,"leasingAgentId")?e.leasingAgentId:void 0}}(i=t.ScheduleDtoTourTypeEnum||(t.ScheduleDtoTourTypeEnum={})).Unknown="UNKNOWN",i.SelfGuided="SELF_GUIDED",i.VirtualShowing="VIRTUAL_SHOWING",i.WithAgent="WITH_AGENT",i.MediaTour="MEDIA_TOUR",t.ScheduleDtoFromJSON=function(e){return a(e)},t.ScheduleDtoFromJSONTyped=a,t.ScheduleDtoToJSON=function(e){if(void 0!==e)return null===e?null:{guestCard:o.EliseGuestCardDtoToJSON(e.guestCard),buildingId:e.buildingId,tourType:e.tourType,unitId:e.unitId,startTime:e.startTime,endTime:e.endTime,leasingAgentId:e.leasingAgentId}}},2644:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ScriptToJSON=t.ScriptFromJSONTyped=t.ScriptFromJSON=t.ScriptHandoffIntentStateEnum=t.ScriptTypeEnum=t.ScriptMediaEnum=void 0;var i,r,o,a=n(296);function s(e,t){return null==e?e:{id:a.exists(e,"id")?e.id:void 0,organizationId:a.exists(e,"organizationId")?e.organizationId:void 0,media:a.exists(e,"media")?e.media:void 0,type:a.exists(e,"type")?e.type:void 0,category:a.exists(e,"category")?e.category:void 0,subIntent:a.exists(e,"subIntent")?e.subIntent:void 0,text:a.exists(e,"text")?e.text:void 0,handoffIntentState:a.exists(e,"handoffIntentState")?e.handoffIntentState:void 0,communityId:a.exists(e,"communityId")?e.communityId:void 0}}(o=t.ScriptMediaEnum||(t.ScriptMediaEnum={})).Both="BOTH",o.Email="EMAIL",o.Sms="SMS",(r=t.ScriptTypeEnum||(t.ScriptTypeEnum={})).All="ALL",r.Template="TEMPLATE",r.TemplateItem="TEMPLATE_ITEM",(i=t.ScriptHandoffIntentStateEnum||(t.ScriptHandoffIntentStateEnum={})).None="NONE",i.YellowStatus="YELLOW_STATUS",i.RedAlertSend="RED_ALERT_SEND",i.RedAlertDoNotSend="RED_ALERT_DO_NOT_SEND",t.ScriptFromJSON=function(e){return s(e)},t.ScriptFromJSONTyped=s,t.ScriptToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,organizationId:e.organizationId,media:e.media,type:e.type,category:e.category,subIntent:e.subIntent,text:e.text,handoffIntentState:e.handoffIntentState,communityId:e.communityId}}},4192:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ScriptSearchQueryToJSON=t.ScriptSearchQueryFromJSONTyped=t.ScriptSearchQueryFromJSON=t.ScriptSearchQueryMediaEnum=t.ScriptSearchQueryTypeEnum=void 0;var i,r,o=n(296);function a(e,t){return null==e?e:{organizationId:o.exists(e,"organizationId")?e.organizationId:void 0,communityId:o.exists(e,"communityId")?e.communityId:void 0,type:e.type,media:e.media,category:o.exists(e,"category")?e.category:void 0,subIntent:o.exists(e,"subIntent")?e.subIntent:void 0,searchText:o.exists(e,"searchText")?e.searchText:void 0}}(r=t.ScriptSearchQueryTypeEnum||(t.ScriptSearchQueryTypeEnum={})).All="ALL",r.Template="TEMPLATE",r.TemplateItem="TEMPLATE_ITEM",(i=t.ScriptSearchQueryMediaEnum||(t.ScriptSearchQueryMediaEnum={})).Both="BOTH",i.Email="EMAIL",i.Sms="SMS",t.ScriptSearchQueryFromJSON=function(e){return a(e)},t.ScriptSearchQueryFromJSONTyped=a,t.ScriptSearchQueryToJSON=function(e){if(void 0!==e)return null===e?null:{organizationId:e.organizationId,communityId:e.communityId,type:e.type,media:e.media,category:e.category,subIntent:e.subIntent,searchText:e.searchText}}},6832:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ScriptSearchResultToJSON=t.ScriptSearchResultFromJSONTyped=t.ScriptSearchResultFromJSON=void 0;var i=n(296),r=n(2644);function o(e,t){return null==e?e:{scripts:i.exists(e,"scripts")?e.scripts.map(r.ScriptFromJSON):void 0,truncated:i.exists(e,"truncated")?e.truncated:void 0}}t.ScriptSearchResultFromJSON=function(e){return o(e)},t.ScriptSearchResultFromJSONTyped=o,t.ScriptSearchResultToJSON=function(e){if(void 0!==e)return null===e?null:{scripts:void 0===e.scripts?void 0:e.scripts.map(r.ScriptToJSON),truncated:e.truncated}}},6865:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.SendAgentMessageDtoToJSON=t.SendAgentMessageDtoFromJSONTyped=t.SendAgentMessageDtoFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{message:i.exists(e,"message")?e.message:void 0,contextId:i.exists(e,"contextId")?e.contextId:void 0}}t.SendAgentMessageDtoFromJSON=function(e){return r(e)},t.SendAgentMessageDtoFromJSONTyped=r,t.SendAgentMessageDtoToJSON=function(e){if(void 0!==e)return null===e?null:{message:e.message,contextId:e.contextId}}},6448:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.SettingBooleanToJSON=t.SettingBooleanFromJSONTyped=t.SettingBooleanFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{value:i.exists(e,"value")?e.value:void 0,enabled:i.exists(e,"enabled")?e.enabled:void 0,locked:i.exists(e,"locked")?e.locked:void 0}}t.SettingBooleanFromJSON=function(e){return r(e)},t.SettingBooleanFromJSONTyped=r,t.SettingBooleanToJSON=function(e){if(void 0!==e)return null===e?null:{value:e.value,enabled:e.enabled,locked:e.locked}}},6161:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.SettingIntegerToJSON=t.SettingIntegerFromJSONTyped=t.SettingIntegerFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{value:i.exists(e,"value")?e.value:void 0,enabled:i.exists(e,"enabled")?e.enabled:void 0,locked:i.exists(e,"locked")?e.locked:void 0}}t.SettingIntegerFromJSON=function(e){return r(e)},t.SettingIntegerFromJSONTyped=r,t.SettingIntegerToJSON=function(e){if(void 0!==e)return null===e?null:{value:e.value,enabled:e.enabled,locked:e.locked}}},6069:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.SettingStringToJSON=t.SettingStringFromJSONTyped=t.SettingStringFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{value:i.exists(e,"value")?e.value:void 0,enabled:i.exists(e,"enabled")?e.enabled:void 0,locked:i.exists(e,"locked")?e.locked:void 0}}t.SettingStringFromJSON=function(e){return r(e)},t.SettingStringFromJSONTyped=r,t.SettingStringToJSON=function(e){if(void 0!==e)return null===e?null:{value:e.value,enabled:e.enabled,locked:e.locked}}},6122:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.SettingVirtualTourTypeToJSON=t.SettingVirtualTourTypeFromJSONTyped=t.SettingVirtualTourTypeFromJSON=t.SettingVirtualTourTypeValueEnum=void 0;var i,r=n(296);function o(e,t){return null==e?e:{value:r.exists(e,"value")?e.value:void 0,enabled:r.exists(e,"enabled")?e.enabled:void 0,locked:r.exists(e,"locked")?e.locked:void 0}}(i=t.SettingVirtualTourTypeValueEnum||(t.SettingVirtualTourTypeValueEnum={})).NotEnabled="NOT_ENABLED",i.SelfManaged="SELF_MANAGED",i.Whereby="WHEREBY",t.SettingVirtualTourTypeFromJSON=function(e){return o(e)},t.SettingVirtualTourTypeFromJSONTyped=o,t.SettingVirtualTourTypeToJSON=function(e){if(void 0!==e)return null===e?null:{value:e.value,enabled:e.enabled,locked:e.locked}}},5687:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ShowActionDtoToJSON=t.ShowActionDtoFromJSONTyped=t.ShowActionDtoFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{contextId:i.exists(e,"contextId")?e.contextId:void 0,buildingId:i.exists(e,"buildingId")?e.buildingId:void 0}}t.ShowActionDtoFromJSON=function(e){return r(e)},t.ShowActionDtoFromJSONTyped=r,t.ShowActionDtoToJSON=function(e){if(void 0!==e)return null===e?null:{contextId:e.contextId,buildingId:e.buildingId}}},2558:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.SubIntentMetadataToJSON=t.SubIntentMetadataFromJSONTyped=t.SubIntentMetadataFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{template:i.exists(e,"template")?e.template:void 0,filled:i.exists(e,"filled")?e.filled:void 0}}t.SubIntentMetadataFromJSON=function(e){return r(e)},t.SubIntentMetadataFromJSONTyped=r,t.SubIntentMetadataToJSON=function(e){if(void 0!==e)return null===e?null:{template:e.template,filled:e.filled}}},904:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.TourAvailabilityResponseToJSON=t.TourAvailabilityResponseFromJSONTyped=t.TourAvailabilityResponseFromJSON=t.TourAvailabilityResponseRankOrderedSupportedTourTypesEnum=void 0;var i,r=n(296),o=n(7346),a=n(9374);function s(e,t){return null==e?e:{availability:r.exists(e,"availability")?r.mapValues(e.availability,a.TourTypeAvailabilityFromJSON):void 0,calendarTimeZone:r.exists(e,"calendarTimeZone")?o.TourAvailabilityResponseCalendarTimeZoneFromJSON(e.calendarTimeZone):void 0,rankOrderedSupportedTourTypes:r.exists(e,"rankOrderedSupportedTourTypes")?e.rankOrderedSupportedTourTypes:void 0}}(i=t.TourAvailabilityResponseRankOrderedSupportedTourTypesEnum||(t.TourAvailabilityResponseRankOrderedSupportedTourTypesEnum={})).Unknown="UNKNOWN",i.SelfGuided="SELF_GUIDED",i.VirtualShowing="VIRTUAL_SHOWING",i.WithAgent="WITH_AGENT",i.MediaTour="MEDIA_TOUR",t.TourAvailabilityResponseFromJSON=function(e){return s(e)},t.TourAvailabilityResponseFromJSONTyped=s,t.TourAvailabilityResponseToJSON=function(e){if(void 0!==e)return null===e?null:{availability:void 0===e.availability?void 0:r.mapValues(e.availability,a.TourTypeAvailabilityToJSON),calendarTimeZone:o.TourAvailabilityResponseCalendarTimeZoneToJSON(e.calendarTimeZone),rankOrderedSupportedTourTypes:e.rankOrderedSupportedTourTypes}}},7346:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.TourAvailabilityResponseCalendarTimeZoneToJSON=t.TourAvailabilityResponseCalendarTimeZoneFromJSONTyped=t.TourAvailabilityResponseCalendarTimeZoneFromJSON=void 0;var i=n(296),r=n(6306);function o(e,t){return null==e?e:{rules:i.exists(e,"rules")?r.TourAvailabilityResponseCalendarTimeZoneRulesFromJSON(e.rules):void 0,id:i.exists(e,"id")?e.id:void 0}}t.TourAvailabilityResponseCalendarTimeZoneFromJSON=function(e){return o(e)},t.TourAvailabilityResponseCalendarTimeZoneFromJSONTyped=o,t.TourAvailabilityResponseCalendarTimeZoneToJSON=function(e){if(void 0!==e)return null===e?null:{rules:r.TourAvailabilityResponseCalendarTimeZoneRulesToJSON(e.rules),id:e.id}}},6306:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.TourAvailabilityResponseCalendarTimeZoneRulesToJSON=t.TourAvailabilityResponseCalendarTimeZoneRulesFromJSONTyped=t.TourAvailabilityResponseCalendarTimeZoneRulesFromJSON=void 0;var i=n(296),r=n(1155),o=n(8911);function a(e,t){return null==e?e:{transitions:i.exists(e,"transitions")?e.transitions.map(o.TourAvailabilityResponseCalendarTimeZoneRulesTransitionsFromJSON):void 0,fixedOffset:i.exists(e,"fixedOffset")?e.fixedOffset:void 0,transitionRules:i.exists(e,"transitionRules")?e.transitionRules.map(r.TourAvailabilityResponseCalendarTimeZoneRulesTransitionRulesFromJSON):void 0}}t.TourAvailabilityResponseCalendarTimeZoneRulesFromJSON=function(e){return a(e)},t.TourAvailabilityResponseCalendarTimeZoneRulesFromJSONTyped=a,t.TourAvailabilityResponseCalendarTimeZoneRulesToJSON=function(e){if(void 0!==e)return null===e?null:{transitions:void 0===e.transitions?void 0:e.transitions.map(o.TourAvailabilityResponseCalendarTimeZoneRulesTransitionsToJSON),fixedOffset:e.fixedOffset,transitionRules:void 0===e.transitionRules?void 0:e.transitionRules.map(r.TourAvailabilityResponseCalendarTimeZoneRulesTransitionRulesToJSON)}}},2977:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.TourAvailabilityResponseCalendarTimeZoneRulesDurationToJSON=t.TourAvailabilityResponseCalendarTimeZoneRulesDurationFromJSONTyped=t.TourAvailabilityResponseCalendarTimeZoneRulesDurationFromJSON=void 0;var i=n(296),r=n(1124);function o(e,t){return null==e?e:{seconds:i.exists(e,"seconds")?e.seconds:void 0,nano:i.exists(e,"nano")?e.nano:void 0,negative:i.exists(e,"negative")?e.negative:void 0,units:i.exists(e,"units")?e.units.map(r.TourAvailabilityResponseCalendarTimeZoneRulesDurationUnitsFromJSON):void 0,zero:i.exists(e,"zero")?e.zero:void 0}}t.TourAvailabilityResponseCalendarTimeZoneRulesDurationFromJSON=function(e){return o(e)},t.TourAvailabilityResponseCalendarTimeZoneRulesDurationFromJSONTyped=o,t.TourAvailabilityResponseCalendarTimeZoneRulesDurationToJSON=function(e){if(void 0!==e)return null===e?null:{seconds:e.seconds,nano:e.nano,negative:e.negative,units:void 0===e.units?void 0:e.units.map(r.TourAvailabilityResponseCalendarTimeZoneRulesDurationUnitsToJSON),zero:e.zero}}},1124:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.TourAvailabilityResponseCalendarTimeZoneRulesDurationUnitsToJSON=t.TourAvailabilityResponseCalendarTimeZoneRulesDurationUnitsFromJSONTyped=t.TourAvailabilityResponseCalendarTimeZoneRulesDurationUnitsFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{dateBased:i.exists(e,"dateBased")?e.dateBased:void 0,timeBased:i.exists(e,"timeBased")?e.timeBased:void 0,durationEstimated:i.exists(e,"durationEstimated")?e.durationEstimated:void 0}}t.TourAvailabilityResponseCalendarTimeZoneRulesDurationUnitsFromJSON=function(e){return r(e)},t.TourAvailabilityResponseCalendarTimeZoneRulesDurationUnitsFromJSONTyped=r,t.TourAvailabilityResponseCalendarTimeZoneRulesDurationUnitsToJSON=function(e){if(void 0!==e)return null===e?null:{dateBased:e.dateBased,timeBased:e.timeBased,durationEstimated:e.durationEstimated}}},827:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.TourAvailabilityResponseCalendarTimeZoneRulesOffsetBeforeToJSON=t.TourAvailabilityResponseCalendarTimeZoneRulesOffsetBeforeFromJSONTyped=t.TourAvailabilityResponseCalendarTimeZoneRulesOffsetBeforeFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{totalSeconds:i.exists(e,"totalSeconds")?e.totalSeconds:void 0,id:i.exists(e,"id")?e.id:void 0}}t.TourAvailabilityResponseCalendarTimeZoneRulesOffsetBeforeFromJSON=function(e){return r(e)},t.TourAvailabilityResponseCalendarTimeZoneRulesOffsetBeforeFromJSONTyped=r,t.TourAvailabilityResponseCalendarTimeZoneRulesOffsetBeforeToJSON=function(e){if(void 0!==e)return null===e?null:{totalSeconds:e.totalSeconds,id:e.id}}},1155:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.TourAvailabilityResponseCalendarTimeZoneRulesTransitionRulesToJSON=t.TourAvailabilityResponseCalendarTimeZoneRulesTransitionRulesFromJSONTyped=t.TourAvailabilityResponseCalendarTimeZoneRulesTransitionRulesFromJSON=t.TourAvailabilityResponseCalendarTimeZoneRulesTransitionRulesDayOfWeekEnum=t.TourAvailabilityResponseCalendarTimeZoneRulesTransitionRulesTimeDefinitionEnum=t.TourAvailabilityResponseCalendarTimeZoneRulesTransitionRulesMonthEnum=void 0;var i,r,o,a=n(296),s=n(7399),u=n(827);function l(e,t){return null==e?e:{month:a.exists(e,"month")?e.month:void 0,timeDefinition:a.exists(e,"timeDefinition")?e.timeDefinition:void 0,standardOffset:a.exists(e,"standardOffset")?u.TourAvailabilityResponseCalendarTimeZoneRulesOffsetBeforeFromJSON(e.standardOffset):void 0,offsetBefore:a.exists(e,"offsetBefore")?u.TourAvailabilityResponseCalendarTimeZoneRulesOffsetBeforeFromJSON(e.offsetBefore):void 0,offsetAfter:a.exists(e,"offsetAfter")?u.TourAvailabilityResponseCalendarTimeZoneRulesOffsetBeforeFromJSON(e.offsetAfter):void 0,dayOfWeek:a.exists(e,"dayOfWeek")?e.dayOfWeek:void 0,dayOfMonthIndicator:a.exists(e,"dayOfMonthIndicator")?e.dayOfMonthIndicator:void 0,localTime:a.exists(e,"localTime")?s.LocalTimeFromJSON(e.localTime):void 0,midnightEndOfDay:a.exists(e,"midnightEndOfDay")?e.midnightEndOfDay:void 0}}(o=t.TourAvailabilityResponseCalendarTimeZoneRulesTransitionRulesMonthEnum||(t.TourAvailabilityResponseCalendarTimeZoneRulesTransitionRulesMonthEnum={})).January="JANUARY",o.February="FEBRUARY",o.March="MARCH",o.April="APRIL",o.May="MAY",o.June="JUNE",o.July="JULY",o.August="AUGUST",o.September="SEPTEMBER",o.October="OCTOBER",o.November="NOVEMBER",o.December="DECEMBER",(r=t.TourAvailabilityResponseCalendarTimeZoneRulesTransitionRulesTimeDefinitionEnum||(t.TourAvailabilityResponseCalendarTimeZoneRulesTransitionRulesTimeDefinitionEnum={})).Utc="UTC",r.Wall="WALL",r.Standard="STANDARD",(i=t.TourAvailabilityResponseCalendarTimeZoneRulesTransitionRulesDayOfWeekEnum||(t.TourAvailabilityResponseCalendarTimeZoneRulesTransitionRulesDayOfWeekEnum={})).Monday="MONDAY",i.Tuesday="TUESDAY",i.Wednesday="WEDNESDAY",i.Thursday="THURSDAY",i.Friday="FRIDAY",i.Saturday="SATURDAY",i.Sunday="SUNDAY",t.TourAvailabilityResponseCalendarTimeZoneRulesTransitionRulesFromJSON=function(e){return l(e)},t.TourAvailabilityResponseCalendarTimeZoneRulesTransitionRulesFromJSONTyped=l,t.TourAvailabilityResponseCalendarTimeZoneRulesTransitionRulesToJSON=function(e){if(void 0!==e)return null===e?null:{month:e.month,timeDefinition:e.timeDefinition,standardOffset:u.TourAvailabilityResponseCalendarTimeZoneRulesOffsetBeforeToJSON(e.standardOffset),offsetBefore:u.TourAvailabilityResponseCalendarTimeZoneRulesOffsetBeforeToJSON(e.offsetBefore),offsetAfter:u.TourAvailabilityResponseCalendarTimeZoneRulesOffsetBeforeToJSON(e.offsetAfter),dayOfWeek:e.dayOfWeek,dayOfMonthIndicator:e.dayOfMonthIndicator,localTime:s.LocalTimeToJSON(e.localTime),midnightEndOfDay:e.midnightEndOfDay}}},8911:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.TourAvailabilityResponseCalendarTimeZoneRulesTransitionsToJSON=t.TourAvailabilityResponseCalendarTimeZoneRulesTransitionsFromJSONTyped=t.TourAvailabilityResponseCalendarTimeZoneRulesTransitionsFromJSON=void 0;var i=n(296),r=n(2977),o=n(827);function a(e,t){return null==e?e:{offsetBefore:i.exists(e,"offsetBefore")?o.TourAvailabilityResponseCalendarTimeZoneRulesOffsetBeforeFromJSON(e.offsetBefore):void 0,offsetAfter:i.exists(e,"offsetAfter")?o.TourAvailabilityResponseCalendarTimeZoneRulesOffsetBeforeFromJSON(e.offsetAfter):void 0,duration:i.exists(e,"duration")?r.TourAvailabilityResponseCalendarTimeZoneRulesDurationFromJSON(e.duration):void 0,dateTimeAfter:i.exists(e,"dateTimeAfter")?new Date(e.dateTimeAfter):void 0,gap:i.exists(e,"gap")?e.gap:void 0,overlap:i.exists(e,"overlap")?e.overlap:void 0,instant:i.exists(e,"instant")?new Date(e.instant):void 0,dateTimeBefore:i.exists(e,"dateTimeBefore")?new Date(e.dateTimeBefore):void 0}}t.TourAvailabilityResponseCalendarTimeZoneRulesTransitionsFromJSON=function(e){return a(e)},t.TourAvailabilityResponseCalendarTimeZoneRulesTransitionsFromJSONTyped=a,t.TourAvailabilityResponseCalendarTimeZoneRulesTransitionsToJSON=function(e){if(void 0!==e)return null===e?null:{offsetBefore:o.TourAvailabilityResponseCalendarTimeZoneRulesOffsetBeforeToJSON(e.offsetBefore),offsetAfter:o.TourAvailabilityResponseCalendarTimeZoneRulesOffsetBeforeToJSON(e.offsetAfter),duration:r.TourAvailabilityResponseCalendarTimeZoneRulesDurationToJSON(e.duration),dateTimeAfter:void 0===e.dateTimeAfter?void 0:e.dateTimeAfter.toISOString(),gap:e.gap,overlap:e.overlap,instant:void 0===e.instant?void 0:e.instant.toISOString(),dateTimeBefore:void 0===e.dateTimeBefore?void 0:e.dateTimeBefore.toISOString()}}},9374:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.TourTypeAvailabilityToJSON=t.TourTypeAvailabilityFromJSONTyped=t.TourTypeAvailabilityFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{tourDurationInMinutes:i.exists(e,"tourDurationInMinutes")?e.tourDurationInMinutes:void 0,availableTourStartTimes:i.exists(e,"availableTourStartTimes")?e.availableTourStartTimes:void 0}}t.TourTypeAvailabilityFromJSON=function(e){return r(e)},t.TourTypeAvailabilityFromJSONTyped=r,t.TourTypeAvailabilityToJSON=function(e){if(void 0!==e)return null===e?null:{tourDurationInMinutes:e.tourDurationInMinutes,availableTourStartTimes:e.availableTourStartTimes}}},6330:(e,t)=>{function n(e,t){return null==e?e:{value:e.value,label:e.label}}var i;Object.defineProperty(t,"__esModule",{value:!0}),t.TourTypeOptionToJSON=t.TourTypeOptionFromJSONTyped=t.TourTypeOptionFromJSON=t.TourTypeOptionValueEnum=void 0,(i=t.TourTypeOptionValueEnum||(t.TourTypeOptionValueEnum={})).Unknown="UNKNOWN",i.SelfGuided="SELF_GUIDED",i.VirtualShowing="VIRTUAL_SHOWING",i.WithAgent="WITH_AGENT",i.MediaTour="MEDIA_TOUR",t.TourTypeOptionFromJSON=function(e){return n(e)},t.TourTypeOptionFromJSONTyped=n,t.TourTypeOptionToJSON=function(e){if(void 0!==e)return null===e?null:{value:e.value,label:e.label}}},9275:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.UiBuildingDetailsToJSON=t.UiBuildingDetailsFromJSONTyped=t.UiBuildingDetailsFromJSON=t.UiBuildingDetailsVirtualTourTypeEnum=t.UiBuildingDetailsTourNotificationEmailsModeEnum=void 0;var i,r,o=n(296),a=n(3617);function s(e,t){return null==e?e:{id:o.exists(e,"id")?e.id:void 0,launchedDate:o.exists(e,"launchedDate")?new Date(e.launchedDate):void 0,managementCompanyId:o.exists(e,"managementCompanyId")?e.managementCompanyId:void 0,organizationId:o.exists(e,"organizationId")?e.organizationId:void 0,active:o.exists(e,"active")?e.active:void 0,handoffForwardToEmails:o.exists(e,"handoffForwardToEmails")?e.handoffForwardToEmails:void 0,responseCcEmails:o.exists(e,"responseCcEmails")?e.responseCcEmails:void 0,responseBccEmails:o.exists(e,"responseBccEmails")?e.responseBccEmails:void 0,associateCalendarId:o.exists(e,"associateCalendarId")?e.associateCalendarId:void 0,buildingName:o.exists(e,"buildingName")?e.buildingName:void 0,address1:o.exists(e,"address1")?e.address1:void 0,address2:o.exists(e,"address2")?e.address2:void 0,address3:o.exists(e,"address3")?e.address3:void 0,alternativeILSAddresses:o.exists(e,"alternativeILSAddresses")?e.alternativeILSAddresses:void 0,city:o.exists(e,"city")?e.city:void 0,state:o.exists(e,"state")?e.state:void 0,postalCode:o.exists(e,"postalCode")?e.postalCode:void 0,crossStreets:o.exists(e,"crossStreets")?e.crossStreets:void 0,neighborhood:o.exists(e,"neighborhood")?e.neighborhood:void 0,nearbyTransportation:o.exists(e,"nearbyTransportation")?e.nearbyTransportation:void 0,buildingOwnership:o.exists(e,"buildingOwnership")?e.buildingOwnership:void 0,buildingType:o.exists(e,"buildingType")?e.buildingType:void 0,totalUnits:o.exists(e,"totalUnits")?e.totalUnits:void 0,totalFloors:o.exists(e,"totalFloors")?e.totalFloors:void 0,yearBuilt:o.exists(e,"yearBuilt")?e.yearBuilt:void 0,block:o.exists(e,"block")?e.block:void 0,lot:o.exists(e,"lot")?e.lot:void 0,schoolDistrict:o.exists(e,"schoolDistrict")?e.schoolDistrict:void 0,communityDistrict:o.exists(e,"communityDistrict")?e.communityDistrict:void 0,newConstruction:o.exists(e,"newConstruction")?e.newConstruction:void 0,preWarBuilding:o.exists(e,"preWarBuilding")?e.preWarBuilding:void 0,brownstone:o.exists(e,"brownstone")?e.brownstone:void 0,greenBuilding:o.exists(e,"greenBuilding")?e.greenBuilding:void 0,elevator:o.exists(e,"elevator")?e.elevator:void 0,freightElevator:o.exists(e,"freightElevator")?e.freightElevator:void 0,parking:o.exists(e,"parking")?e.parking:void 0,petPolicy:o.exists(e,"petPolicy")?e.petPolicy:void 0,petNumberLimit:o.exists(e,"petNumberLimit")?e.petNumberLimit:void 0,petWeightLimit:o.exists(e,"petWeightLimit")?e.petWeightLimit:void 0,petFeeOrDeposit:o.exists(e,"petFeeOrDeposit")?e.petFeeOrDeposit:void 0,utilitiesIncluded:o.exists(e,"utilitiesIncluded")?e.utilitiesIncluded:void 0,utilitiesNotIncluded:o.exists(e,"utilitiesNotIncluded")?e.utilitiesNotIncluded:void 0,leaseTermsAccepted:o.exists(e,"leaseTermsAccepted")?e.leaseTermsAccepted:void 0,minLeaseTermAccepted:o.exists(e,"minLeaseTermAccepted")?e.minLeaseTermAccepted:void 0,furnishedOffered:o.exists(e,"furnishedOffered")?e.furnishedOffered:void 0,furnishedUnitsPolicy:o.exists(e,"furnishedUnitsPolicy")?e.furnishedUnitsPolicy:void 0,internationalStudentRequirements:o.exists(e,"internationalStudentRequirements")?e.internationalStudentRequirements:void 0,amenitiesFee:o.exists(e,"amenitiesFee")?e.amenitiesFee:void 0,nonSmoking:o.exists(e,"nonSmoking")?e.nonSmoking:void 0,piedATerreAllowed:o.exists(e,"piedATerreAllowed")?e.piedATerreAllowed:void 0,diplomatsOk:o.exists(e,"diplomatsOk")?e.diplomatsOk:void 0,corporateLeasesAccepted:o.exists(e,"corporateLeasesAccepted")?e.corporateLeasesAccepted:void 0,shortTermAllowed:o.exists(e,"shortTermAllowed")?e.shortTermAllowed:void 0,doorman:o.exists(e,"doorman")?e.doorman:void 0,intercom:o.exists(e,"intercom")?e.intercom:void 0,liveInSuper:o.exists(e,"liveInSuper")?e.liveInSuper:void 0,concierge:o.exists(e,"concierge")?e.concierge:void 0,laundryInBuilding:o.exists(e,"laundryInBuilding")?e.laundryInBuilding:void 0,packageReceiving:o.exists(e,"packageReceiving")?e.packageReceiving:void 0,gym:o.exists(e,"gym")?e.gym:void 0,storage:o.exists(e,"storage")?e.storage:void 0,bicycleRoom:o.exists(e,"bicycleRoom")?e.bicycleRoom:void 0,lounge:o.exists(e,"lounge")?e.lounge:void 0,clubHouse:o.exists(e,"clubHouse")?e.clubHouse:void 0,businessCenter:o.exists(e,"businessCenter")?e.businessCenter:void 0,outdoorSpace:o.exists(e,"outdoorSpace")?e.outdoorSpace:void 0,roofDeck:o.exists(e,"roofDeck")?e.roofDeck:void 0,courtyard:o.exists(e,"courtyard")?e.courtyard:void 0,childrenPlayroom:o.exists(e,"childrenPlayroom")?e.childrenPlayroom:void 0,nursery:o.exists(e,"nursery")?e.nursery:void 0,maidService:o.exists(e,"maidService")?e.maidService:void 0,pool:o.exists(e,"pool")?e.pool:void 0,wheelchairAccess:o.exists(e,"wheelchairAccess")?e.wheelchairAccess:void 0,guarantorTypesAccepted:o.exists(e,"guarantorTypesAccepted")?e.guarantorTypesAccepted:void 0,thirdPartyGuarantorTypesAccepted:o.exists(e,"thirdPartyGuarantorTypesAccepted")?e.thirdPartyGuarantorTypesAccepted:void 0,noCreditQualificationAlternative:o.exists(e,"noCreditQualificationAlternative")?e.noCreditQualificationAlternative:void 0,virtualTourPlatforms:o.exists(e,"virtualTourPlatforms")?e.virtualTourPlatforms:void 0,flexWallPolicy:o.exists(e,"flexWallPolicy")?e.flexWallPolicy:void 0,leaseholderApplicationFee:o.exists(e,"leaseholderApplicationFee")?e.leaseholderApplicationFee:void 0,occupantApplicationFee:o.exists(e,"occupantApplicationFee")?e.occupantApplicationFee:void 0,guarantorApplicationFee:o.exists(e,"guarantorApplicationFee")?e.guarantorApplicationFee:void 0,tenantIncomeRequirementRentMultiplier:o.exists(e,"tenantIncomeRequirementRentMultiplier")?e.tenantIncomeRequirementRentMultiplier:void 0,guarantorIncomeRequirementRentMultiplier:o.exists(e,"guarantorIncomeRequirementRentMultiplier")?e.guarantorIncomeRequirementRentMultiplier:void 0,incomeRequirementRentMultiplierTimePeriod:o.exists(e,"incomeRequirementRentMultiplierTimePeriod")?e.incomeRequirementRentMultiplierTimePeriod:void 0,leaseholderMinimumCreditScoreRequirement:o.exists(e,"leaseholderMinimumCreditScoreRequirement")?e.leaseholderMinimumCreditScoreRequirement:void 0,guarantorMinimumCreditScoreRequirement:o.exists(e,"guarantorMinimumCreditScoreRequirement")?e.guarantorMinimumCreditScoreRequirement:void 0,leaseholderApplicationDocumentsRequired:o.exists(e,"leaseholderApplicationDocumentsRequired")?e.leaseholderApplicationDocumentsRequired:void 0,selfEmployedApplicationDocumentsRequired:o.exists(e,"selfEmployedApplicationDocumentsRequired")?e.selfEmployedApplicationDocumentsRequired:void 0,guarantorApplicationDocumentsRequired:o.exists(e,"guarantorApplicationDocumentsRequired")?e.guarantorApplicationDocumentsRequired:void 0,guarantorsAccepted:o.exists(e,"guarantorsAccepted")?e.guarantorsAccepted:void 0,financialsInsufficientAlternative:o.exists(e,"financialsInsufficientAlternative")?e.financialsInsufficientAlternative:void 0,prepaymentPolicy:o.exists(e,"prepaymentPolicy")?e.prepaymentPolicy:void 0,rentRequiredOnLeaseSigning:o.exists(e,"rentRequiredOnLeaseSigning")?e.rentRequiredOnLeaseSigning:void 0,securityDepositRentMultiplier:o.exists(e,"securityDepositRentMultiplier")?e.securityDepositRentMultiplier:void 0,paymentFormsAccepted:o.exists(e,"paymentFormsAccepted")?e.paymentFormsAccepted:void 0,clientEmail:o.exists(e,"clientEmail")?e.clientEmail:void 0,description:o.exists(e,"description")?e.description:void 0,notes:o.exists(e,"notes")?e.notes:void 0,occupiedUnitsShowingHours:o.exists(e,"occupiedUnitsShowingHours")?e.occupiedUnitsShowingHours:void 0,leasingOfficeHours:o.exists(e,"leasingOfficeHours")?e.leasingOfficeHours:void 0,appointmentHours:o.exists(e,"appointmentHours")?e.appointmentHours.map(a.AppointmentHoursFromJSON):void 0,tourDuration:o.exists(e,"tourDuration")?e.tourDuration:void 0,internalNotes:o.exists(e,"internalNotes")?e.internalNotes:void 0,leasingPhoneNumber:o.exists(e,"leasingPhoneNumber")?e.leasingPhoneNumber:void 0,callCenterNumber:o.exists(e,"callCenterNumber")?e.callCenterNumber:void 0,buildingWebsiteUrl:o.exists(e,"buildingWebsiteUrl")?e.buildingWebsiteUrl:void 0,applicationLink:o.exists(e,"applicationLink")?e.applicationLink:void 0,geoAddress:o.exists(e,"geoAddress")?e.geoAddress:void 0,googleMapsUrl:o.exists(e,"googleMapsUrl")?e.googleMapsUrl:void 0,appointmentMeetingLocation:o.exists(e,"appointmentMeetingLocation")?e.appointmentMeetingLocation:void 0,appointmentMeetingPointSpecific:o.exists(e,"appointmentMeetingPointSpecific")?e.appointmentMeetingPointSpecific:void 0,appointmentDirections:o.exists(e,"appointmentDirections")?e.appointmentDirections:void 0,appointmentAdditionalDirections:o.exists(e,"appointmentAdditionalDirections")?e.appointmentAdditionalDirections:void 0,alerts:o.exists(e,"alerts")?e.alerts:void 0,rentComputeType:o.exists(e,"rentComputeType")?e.rentComputeType:void 0,autosendActive:o.exists(e,"autosendActive")?e.autosendActive:void 0,advancedMoveInAllowenceInDays:o.exists(e,"advancedMoveInAllowenceInDays")?e.advancedMoveInAllowenceInDays:void 0,showByOpenHouseOnly:o.exists(e,"showByOpenHouseOnly")?e.showByOpenHouseOnly:void 0,showUnitsWithPendingApplication:o.exists(e,"showUnitsWithPendingApplication")?e.showUnitsWithPendingApplication:void 0,showOccupiedUnitsWithPendingApplication:o.exists(e,"showOccupiedUnitsWithPendingApplication")?e.showOccupiedUnitsWithPendingApplication:void 0,confirmAppointmentsOccupiedUnits:o.exists(e,"confirmAppointmentsOccupiedUnits")?e.confirmAppointmentsOccupiedUnits:void 0,confirmAppointmentsRenovatingUnits:o.exists(e,"confirmAppointmentsRenovatingUnits")?e.confirmAppointmentsRenovatingUnits:void 0,occupiedUnitsAdvancedNoticeInHours:o.exists(e,"occupiedUnitsAdvancedNoticeInHours")?e.occupiedUnitsAdvancedNoticeInHours:void 0,alternativeBuildingNames:o.exists(e,"alternativeBuildingNames")?e.alternativeBuildingNames:void 0,externalIds:o.exists(e,"externalIds")?e.externalIds:void 0,externalCrmId:o.exists(e,"externalCrmId")?e.externalCrmId:void 0,defaultAvailabilityQuoteMatchMoveInDate:o.exists(e,"defaultAvailabilityQuoteMatchMoveInDate")?e.defaultAvailabilityQuoteMatchMoveInDate:void 0,leaseRenewalNoticeInDays:o.exists(e,"leaseRenewalNoticeInDays")?e.leaseRenewalNoticeInDays:void 0,rentQuoteFormat:o.exists(e,"rentQuoteFormat")?e.rentQuoteFormat:void 0,rentWithIncentivesQuoteFormat:o.exists(e,"rentWithIncentivesQuoteFormat")?e.rentWithIncentivesQuoteFormat:void 0,isPartOfComplex:o.exists(e,"isPartOfComplex")?e.isPartOfComplex:void 0,effectiveRentComputeType:o.exists(e,"effectiveRentComputeType")?e.effectiveRentComputeType:void 0,maxLeaseTermAccepted:o.exists(e,"maxLeaseTermAccepted")?e.maxLeaseTermAccepted:void 0,parkingInformation:o.exists(e,"parkingInformation")?e.parkingInformation:void 0,storageFee:o.exists(e,"storageFee")?e.storageFee:void 0,incentivesProperlyConnected:o.exists(e,"incentivesProperlyConnected")?e.incentivesProperlyConnected:void 0,prioritizeShowingVacantUnits:o.exists(e,"prioritizeShowingVacantUnits")?e.prioritizeShowingVacantUnits:void 0,electricCompany:o.exists(e,"electricCompany")?e.electricCompany:void 0,gasCompany:o.exists(e,"gasCompany")?e.gasCompany:void 0,telephoneCompany:o.exists(e,"telephoneCompany")?e.telephoneCompany:void 0,televisionCompany:o.exists(e,"televisionCompany")?e.televisionCompany:void 0,waterCompany:o.exists(e,"waterCompany")?e.waterCompany:void 0,internetCompany:o.exists(e,"internetCompany")?e.internetCompany:void 0,localHospital:o.exists(e,"localHospital")?e.localHospital:void 0,localSchoolDistrict:o.exists(e,"localSchoolDistrict")?e.localSchoolDistrict:void 0,localElementarySchool:o.exists(e,"localElementarySchool")?e.localElementarySchool:void 0,localMiddleSchool:o.exists(e,"localMiddleSchool")?e.localMiddleSchool:void 0,localHighSchool:o.exists(e,"localHighSchool")?e.localHighSchool:void 0,localShoppingCenter:o.exists(e,"localShoppingCenter")?e.localShoppingCenter:void 0,localGroceryStore:o.exists(e,"localGroceryStore")?e.localGroceryStore:void 0,closestInterstates:o.exists(e,"closestInterstates")?e.closestInterstates:void 0,buildingPicturesUrl:o.exists(e,"buildingPicturesUrl")?e.buildingPicturesUrl:void 0,buildingFloorPlansUrl:o.exists(e,"buildingFloorPlansUrl")?e.buildingFloorPlansUrl:void 0,nonexistentLayouts:o.exists(e,"nonexistentLayouts")?e.nonexistentLayouts:void 0,offeredLayouts:o.exists(e,"offeredLayouts")?e.offeredLayouts:void 0,avoidQuotingPrices:o.exists(e,"avoidQuotingPrices")?e.avoidQuotingPrices:void 0,excludeNotRentReadyUnit:o.exists(e,"excludeNotRentReadyUnit")?e.excludeNotRentReadyUnit:void 0,flexWallsAllowed:o.exists(e,"flexWallsAllowed")?e.flexWallsAllowed:void 0,petsAccepted:o.exists(e,"petsAccepted")?e.petsAccepted:void 0,showOccupiedUnits:o.exists(e,"showOccupiedUnits")?e.showOccupiedUnits:void 0,guarantorsAcceptedSwitch:o.exists(e,"guarantorsAcceptedSwitch")?e.guarantorsAcceptedSwitch:void 0,thirdPartyGuarantorsAccepted:o.exists(e,"thirdPartyGuarantorsAccepted")?e.thirdPartyGuarantorsAccepted:void 0,alwaysScheduleAppointments:o.exists(e,"alwaysScheduleAppointments")?e.alwaysScheduleAppointments:void 0,leasingOfficeOnsite:o.exists(e,"leasingOfficeOnsite")?e.leasingOfficeOnsite:void 0,building3dMediaUrl:o.exists(e,"building3dMediaUrl")?e.building3dMediaUrl:void 0,dailyReportEmails:o.exists(e,"dailyReportEmails")?e.dailyReportEmails:void 0,weeklyReportEmails:o.exists(e,"weeklyReportEmails")?e.weeklyReportEmails:void 0,nearbySubways:o.exists(e,"nearbySubways")?e.nearbySubways:void 0,bedroomTypes:o.exists(e,"bedroomTypes")?e.bedroomTypes:void 0,inPersonToursAllowed:o.exists(e,"inPersonToursAllowed")?e.inPersonToursAllowed:void 0,selfGuidedToursEnabled:o.exists(e,"selfGuidedToursEnabled")?e.selfGuidedToursEnabled:void 0,liveVirtualToursAllowed:o.exists(e,"liveVirtualToursAllowed")?e.liveVirtualToursAllowed:void 0,noUnitSelfGuidedTourAllowed:o.exists(e,"noUnitSelfGuidedTourAllowed")?e.noUnitSelfGuidedTourAllowed:void 0,sgSchedulingBasedOnNormalAppointments:o.exists(e,"sgSchedulingBasedOnNormalAppointments")?e.sgSchedulingBasedOnNormalAppointments:void 0,leasingBrochureUrl:o.exists(e,"leasingBrochureUrl")?e.leasingBrochureUrl:void 0,textForwardToEmails:o.exists(e,"textForwardToEmails")?e.textForwardToEmails:void 0,omitDesiredFloorPlan:o.exists(e,"omitDesiredFloorPlan")?e.omitDesiredFloorPlan:void 0,tourNotificationEmailsMode:o.exists(e,"tourNotificationEmailsMode")?e.tourNotificationEmailsMode:void 0,virtualTourType:o.exists(e,"virtualTourType")?e.virtualTourType:void 0,showNotRespondingLeadsInReport:o.exists(e,"showNotRespondingLeadsInReport")?e.showNotRespondingLeadsInReport:void 0,emailSignature:o.exists(e,"emailSignature")?e.emailSignature:void 0,sgtUrl:o.exists(e,"sgtUrl")?e.sgtUrl:void 0,preRecordedVirtualTourUrl:o.exists(e,"preRecordedVirtualTourUrl")?e.preRecordedVirtualTourUrl:void 0,liveVirtualToursLink:o.exists(e,"liveVirtualToursLink")?e.liveVirtualToursLink:void 0,selfGuidedToursLink:o.exists(e,"selfGuidedToursLink")?e.selfGuidedToursLink:void 0}}(r=t.UiBuildingDetailsTourNotificationEmailsModeEnum||(t.UiBuildingDetailsTourNotificationEmailsModeEnum={})).NoNotification="NO_NOTIFICATION",r.AllViewings="ALL_VIEWINGS",r.SameDayViewings="SAME_DAY_VIEWINGS",(i=t.UiBuildingDetailsVirtualTourTypeEnum||(t.UiBuildingDetailsVirtualTourTypeEnum={})).NotEnabled="NOT_ENABLED",i.SelfManaged="SELF_MANAGED",i.Whereby="WHEREBY",t.UiBuildingDetailsFromJSON=function(e){return s(e)},t.UiBuildingDetailsFromJSONTyped=s,t.UiBuildingDetailsToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,launchedDate:void 0===e.launchedDate?void 0:e.launchedDate.toISOString(),managementCompanyId:e.managementCompanyId,organizationId:e.organizationId,active:e.active,handoffForwardToEmails:e.handoffForwardToEmails,responseCcEmails:e.responseCcEmails,responseBccEmails:e.responseBccEmails,associateCalendarId:e.associateCalendarId,buildingName:e.buildingName,address1:e.address1,address2:e.address2,address3:e.address3,alternativeILSAddresses:e.alternativeILSAddresses,city:e.city,state:e.state,postalCode:e.postalCode,crossStreets:e.crossStreets,neighborhood:e.neighborhood,nearbyTransportation:e.nearbyTransportation,buildingOwnership:e.buildingOwnership,buildingType:e.buildingType,totalUnits:e.totalUnits,totalFloors:e.totalFloors,yearBuilt:e.yearBuilt,block:e.block,lot:e.lot,schoolDistrict:e.schoolDistrict,communityDistrict:e.communityDistrict,newConstruction:e.newConstruction,preWarBuilding:e.preWarBuilding,brownstone:e.brownstone,greenBuilding:e.greenBuilding,elevator:e.elevator,freightElevator:e.freightElevator,parking:e.parking,petPolicy:e.petPolicy,petNumberLimit:e.petNumberLimit,petWeightLimit:e.petWeightLimit,petFeeOrDeposit:e.petFeeOrDeposit,utilitiesIncluded:e.utilitiesIncluded,utilitiesNotIncluded:e.utilitiesNotIncluded,leaseTermsAccepted:e.leaseTermsAccepted,minLeaseTermAccepted:e.minLeaseTermAccepted,furnishedOffered:e.furnishedOffered,furnishedUnitsPolicy:e.furnishedUnitsPolicy,internationalStudentRequirements:e.internationalStudentRequirements,amenitiesFee:e.amenitiesFee,nonSmoking:e.nonSmoking,piedATerreAllowed:e.piedATerreAllowed,diplomatsOk:e.diplomatsOk,corporateLeasesAccepted:e.corporateLeasesAccepted,shortTermAllowed:e.shortTermAllowed,doorman:e.doorman,intercom:e.intercom,liveInSuper:e.liveInSuper,concierge:e.concierge,laundryInBuilding:e.laundryInBuilding,packageReceiving:e.packageReceiving,gym:e.gym,storage:e.storage,bicycleRoom:e.bicycleRoom,lounge:e.lounge,clubHouse:e.clubHouse,businessCenter:e.businessCenter,outdoorSpace:e.outdoorSpace,roofDeck:e.roofDeck,courtyard:e.courtyard,childrenPlayroom:e.childrenPlayroom,nursery:e.nursery,maidService:e.maidService,pool:e.pool,wheelchairAccess:e.wheelchairAccess,guarantorTypesAccepted:e.guarantorTypesAccepted,thirdPartyGuarantorTypesAccepted:e.thirdPartyGuarantorTypesAccepted,noCreditQualificationAlternative:e.noCreditQualificationAlternative,virtualTourPlatforms:e.virtualTourPlatforms,flexWallPolicy:e.flexWallPolicy,leaseholderApplicationFee:e.leaseholderApplicationFee,occupantApplicationFee:e.occupantApplicationFee,guarantorApplicationFee:e.guarantorApplicationFee,tenantIncomeRequirementRentMultiplier:e.tenantIncomeRequirementRentMultiplier,guarantorIncomeRequirementRentMultiplier:e.guarantorIncomeRequirementRentMultiplier,incomeRequirementRentMultiplierTimePeriod:e.incomeRequirementRentMultiplierTimePeriod,leaseholderMinimumCreditScoreRequirement:e.leaseholderMinimumCreditScoreRequirement,guarantorMinimumCreditScoreRequirement:e.guarantorMinimumCreditScoreRequirement,leaseholderApplicationDocumentsRequired:e.leaseholderApplicationDocumentsRequired,selfEmployedApplicationDocumentsRequired:e.selfEmployedApplicationDocumentsRequired,guarantorApplicationDocumentsRequired:e.guarantorApplicationDocumentsRequired,guarantorsAccepted:e.guarantorsAccepted,financialsInsufficientAlternative:e.financialsInsufficientAlternative,prepaymentPolicy:e.prepaymentPolicy,rentRequiredOnLeaseSigning:e.rentRequiredOnLeaseSigning,securityDepositRentMultiplier:e.securityDepositRentMultiplier,paymentFormsAccepted:e.paymentFormsAccepted,clientEmail:e.clientEmail,description:e.description,notes:e.notes,occupiedUnitsShowingHours:e.occupiedUnitsShowingHours,leasingOfficeHours:e.leasingOfficeHours,appointmentHours:void 0===e.appointmentHours?void 0:e.appointmentHours.map(a.AppointmentHoursToJSON),tourDuration:e.tourDuration,internalNotes:e.internalNotes,leasingPhoneNumber:e.leasingPhoneNumber,callCenterNumber:e.callCenterNumber,buildingWebsiteUrl:e.buildingWebsiteUrl,applicationLink:e.applicationLink,geoAddress:e.geoAddress,googleMapsUrl:e.googleMapsUrl,appointmentMeetingLocation:e.appointmentMeetingLocation,appointmentMeetingPointSpecific:e.appointmentMeetingPointSpecific,appointmentDirections:e.appointmentDirections,appointmentAdditionalDirections:e.appointmentAdditionalDirections,alerts:e.alerts,rentComputeType:e.rentComputeType,autosendActive:e.autosendActive,advancedMoveInAllowenceInDays:e.advancedMoveInAllowenceInDays,showByOpenHouseOnly:e.showByOpenHouseOnly,showUnitsWithPendingApplication:e.showUnitsWithPendingApplication,showOccupiedUnitsWithPendingApplication:e.showOccupiedUnitsWithPendingApplication,confirmAppointmentsOccupiedUnits:e.confirmAppointmentsOccupiedUnits,confirmAppointmentsRenovatingUnits:e.confirmAppointmentsRenovatingUnits,occupiedUnitsAdvancedNoticeInHours:e.occupiedUnitsAdvancedNoticeInHours,alternativeBuildingNames:e.alternativeBuildingNames,externalIds:e.externalIds,externalCrmId:e.externalCrmId,defaultAvailabilityQuoteMatchMoveInDate:e.defaultAvailabilityQuoteMatchMoveInDate,leaseRenewalNoticeInDays:e.leaseRenewalNoticeInDays,rentQuoteFormat:e.rentQuoteFormat,rentWithIncentivesQuoteFormat:e.rentWithIncentivesQuoteFormat,isPartOfComplex:e.isPartOfComplex,effectiveRentComputeType:e.effectiveRentComputeType,maxLeaseTermAccepted:e.maxLeaseTermAccepted,parkingInformation:e.parkingInformation,storageFee:e.storageFee,incentivesProperlyConnected:e.incentivesProperlyConnected,prioritizeShowingVacantUnits:e.prioritizeShowingVacantUnits,electricCompany:e.electricCompany,gasCompany:e.gasCompany,telephoneCompany:e.telephoneCompany,televisionCompany:e.televisionCompany,waterCompany:e.waterCompany,internetCompany:e.internetCompany,localHospital:e.localHospital,localSchoolDistrict:e.localSchoolDistrict,localElementarySchool:e.localElementarySchool,localMiddleSchool:e.localMiddleSchool,localHighSchool:e.localHighSchool,localShoppingCenter:e.localShoppingCenter,localGroceryStore:e.localGroceryStore,closestInterstates:e.closestInterstates,buildingPicturesUrl:e.buildingPicturesUrl,buildingFloorPlansUrl:e.buildingFloorPlansUrl,nonexistentLayouts:e.nonexistentLayouts,offeredLayouts:e.offeredLayouts,avoidQuotingPrices:e.avoidQuotingPrices,excludeNotRentReadyUnit:e.excludeNotRentReadyUnit,flexWallsAllowed:e.flexWallsAllowed,petsAccepted:e.petsAccepted,showOccupiedUnits:e.showOccupiedUnits,guarantorsAcceptedSwitch:e.guarantorsAcceptedSwitch,thirdPartyGuarantorsAccepted:e.thirdPartyGuarantorsAccepted,alwaysScheduleAppointments:e.alwaysScheduleAppointments,leasingOfficeOnsite:e.leasingOfficeOnsite,building3dMediaUrl:e.building3dMediaUrl,dailyReportEmails:e.dailyReportEmails,weeklyReportEmails:e.weeklyReportEmails,nearbySubways:e.nearbySubways,bedroomTypes:e.bedroomTypes,inPersonToursAllowed:e.inPersonToursAllowed,selfGuidedToursEnabled:e.selfGuidedToursEnabled,liveVirtualToursAllowed:e.liveVirtualToursAllowed,noUnitSelfGuidedTourAllowed:e.noUnitSelfGuidedTourAllowed,sgSchedulingBasedOnNormalAppointments:e.sgSchedulingBasedOnNormalAppointments,leasingBrochureUrl:e.leasingBrochureUrl,textForwardToEmails:e.textForwardToEmails,omitDesiredFloorPlan:e.omitDesiredFloorPlan,tourNotificationEmailsMode:e.tourNotificationEmailsMode,virtualTourType:e.virtualTourType,showNotRespondingLeadsInReport:e.showNotRespondingLeadsInReport,emailSignature:e.emailSignature,sgtUrl:e.sgtUrl,preRecordedVirtualTourUrl:e.preRecordedVirtualTourUrl,liveVirtualToursLink:e.liveVirtualToursLink,selfGuidedToursLink:e.selfGuidedToursLink}}},260:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.UnitDetailsToJSON=t.UnitDetailsFromJSONTyped=t.UnitDetailsFromJSON=void 0;var i=n(296),r=n(3617),o=n(5604);function a(e,t){return null==e?e:{id:i.exists(e,"id")?e.id:void 0,buildingId:i.exists(e,"buildingId")?e.buildingId:void 0,timeCreated:i.exists(e,"timeCreated")?new Date(e.timeCreated):void 0,active:i.exists(e,"active")?e.active:void 0,unitNumber:i.exists(e,"unitNumber")?e.unitNumber:void 0,description:i.exists(e,"description")?e.description:void 0,dateAvailable:i.exists(e,"dateAvailable")?new Date(e.dateAvailable):void 0,firstShowingDate:i.exists(e,"firstShowingDate")?new Date(e.firstShowingDate):void 0,applicationStatus:i.exists(e,"applicationStatus")?e.applicationStatus:void 0,availabilityStage:i.exists(e,"availabilityStage")?e.availabilityStage:void 0,viewingTimes:i.exists(e,"viewingTimes")?e.viewingTimes:void 0,tenantOccupied:i.exists(e,"tenantOccupied")?e.tenantOccupied:void 0,openHouse:i.exists(e,"openHouse")?e.openHouse.map(r.AppointmentHoursFromJSON):void 0,minLeaseTerm:i.exists(e,"minLeaseTerm")?e.minLeaseTerm:void 0,maxLeaseTerm:i.exists(e,"maxLeaseTerm")?e.maxLeaseTerm:void 0,floorplanLink:i.exists(e,"floorplanLink")?e.floorplanLink:void 0,floorplanFileType:i.exists(e,"floorplanFileType")?e.floorplanFileType:void 0,applicationUrl:i.exists(e,"applicationUrl")?e.applicationUrl:void 0,numberOfBedrooms:i.exists(e,"numberOfBedrooms")?e.numberOfBedrooms:void 0,numberOfBathrooms:i.exists(e,"numberOfBathrooms")?e.numberOfBathrooms:void 0,totalRooms:i.exists(e,"totalRooms")?e.totalRooms:void 0,layout:i.exists(e,"layout")?e.layout:void 0,layoutDescription:i.exists(e,"layoutDescription")?e.layoutDescription:void 0,convertible:i.exists(e,"convertible")?e.convertible:void 0,partitionTypesAllowed:i.exists(e,"partitionTypesAllowed")?e.partitionTypesAllowed:void 0,furnished:i.exists(e,"furnished")?e.furnished:void 0,furnishedAddedPrice:i.exists(e,"furnishedAddedPrice")?e.furnishedAddedPrice:void 0,laundryInUnit:i.exists(e,"laundryInUnit")?e.laundryInUnit:void 0,windowAirConditioning:i.exists(e,"windowAirConditioning")?e.windowAirConditioning:void 0,centralAirConditioning:i.exists(e,"centralAirConditioning")?e.centralAirConditioning:void 0,ceilingFan:i.exists(e,"ceilingFan")?e.ceilingFan:void 0,centralHeating:i.exists(e,"centralHeating")?e.centralHeating:void 0,dishwasher:i.exists(e,"dishwasher")?e.dishwasher:void 0,walkInCloset:i.exists(e,"walkInCloset")?e.walkInCloset:void 0,microwave:i.exists(e,"microwave")?e.microwave:void 0,hardwoodFloors:i.exists(e,"hardwoodFloors")?e.hardwoodFloors:void 0,carpet:i.exists(e,"carpet")?e.carpet:void 0,highCeilings:i.exists(e,"highCeilings")?e.highCeilings:void 0,floorToCeilingWindows:i.exists(e,"floorToCeilingWindows")?e.floorToCeilingWindows:void 0,fireplace:i.exists(e,"fireplace")?e.fireplace:void 0,exposure:i.exists(e,"exposure")?e.exposure:void 0,view:i.exists(e,"view")?e.view:void 0,viewDescription:i.exists(e,"viewDescription")?e.viewDescription:void 0,assignedParking:i.exists(e,"assignedParking")?e.assignedParking:void 0,privateOutDoorSpace:i.exists(e,"privateOutDoorSpace")?e.privateOutDoorSpace:void 0,incentive:i.exists(e,"incentive")?e.incentive:void 0,notes:i.exists(e,"notes")?e.notes:void 0,brokerUnitDescription:i.exists(e,"brokerUnitDescription")?e.brokerUnitDescription:void 0,brokerFeeStructure:i.exists(e,"brokerFeeStructure")?e.brokerFeeStructure:void 0,defaultUnitCurrentAvailabilities:i.exists(e,"defaultUnitCurrentAvailabilities")?e.defaultUnitCurrentAvailabilities:void 0,building:i.exists(e,"building")?o.BuildingDetailsFromJSON(e.building):void 0,numberOfAvailableUnits:i.exists(e,"numberOfAvailableUnits")?e.numberOfAvailableUnits:void 0,rent:i.exists(e,"rent")?e.rent:void 0,grossRent:i.exists(e,"grossRent")?e.grossRent:void 0,brokerNetRent:i.exists(e,"brokerNetRent")?e.brokerNetRent:void 0,squareFootage:i.exists(e,"squareFootage")?e.squareFootage:void 0,floor:i.exists(e,"floor")?e.floor:void 0,maxRent:i.exists(e,"maxRent")?e.maxRent:void 0,maxGrossRent:i.exists(e,"maxGrossRent")?e.maxGrossRent:void 0,maxBrokerNetRent:i.exists(e,"maxBrokerNetRent")?e.maxBrokerNetRent:void 0,maxSquareFootage:i.exists(e,"maxSquareFootage")?e.maxSquareFootage:void 0,maxFloor:i.exists(e,"maxFloor")?e.maxFloor:void 0,complexId:i.exists(e,"complexId")?e.complexId:void 0,alternativeUnitNumbers:i.exists(e,"alternativeUnitNumbers")?e.alternativeUnitNumbers:void 0,externalId:i.exists(e,"externalId")?e.externalId:void 0,alternativeBuildingCrmId:i.exists(e,"alternativeBuildingCrmId")?e.alternativeBuildingCrmId:void 0,externalFloorPlanDescriptionId:i.exists(e,"externalFloorPlanDescriptionId")?e.externalFloorPlanDescriptionId:void 0,walkinUrl:i.exists(e,"walkinUrl")?e.walkinUrl:void 0,marketRateUnit:i.exists(e,"marketRateUnit")?e.marketRateUnit:void 0,_new:i.exists(e,"new")?e.new:void 0}}t.UnitDetailsFromJSON=function(e){return a(e)},t.UnitDetailsFromJSONTyped=a,t.UnitDetailsToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,buildingId:e.buildingId,timeCreated:void 0===e.timeCreated?void 0:e.timeCreated.toISOString(),active:e.active,unitNumber:e.unitNumber,description:e.description,dateAvailable:void 0===e.dateAvailable?void 0:e.dateAvailable.toISOString(),firstShowingDate:void 0===e.firstShowingDate?void 0:e.firstShowingDate.toISOString(),applicationStatus:e.applicationStatus,availabilityStage:e.availabilityStage,viewingTimes:e.viewingTimes,tenantOccupied:e.tenantOccupied,openHouse:void 0===e.openHouse?void 0:e.openHouse.map(r.AppointmentHoursToJSON),minLeaseTerm:e.minLeaseTerm,maxLeaseTerm:e.maxLeaseTerm,floorplanLink:e.floorplanLink,floorplanFileType:e.floorplanFileType,applicationUrl:e.applicationUrl,numberOfBedrooms:e.numberOfBedrooms,numberOfBathrooms:e.numberOfBathrooms,totalRooms:e.totalRooms,layout:e.layout,layoutDescription:e.layoutDescription,convertible:e.convertible,partitionTypesAllowed:e.partitionTypesAllowed,furnished:e.furnished,furnishedAddedPrice:e.furnishedAddedPrice,laundryInUnit:e.laundryInUnit,windowAirConditioning:e.windowAirConditioning,centralAirConditioning:e.centralAirConditioning,ceilingFan:e.ceilingFan,centralHeating:e.centralHeating,dishwasher:e.dishwasher,walkInCloset:e.walkInCloset,microwave:e.microwave,hardwoodFloors:e.hardwoodFloors,carpet:e.carpet,highCeilings:e.highCeilings,floorToCeilingWindows:e.floorToCeilingWindows,fireplace:e.fireplace,exposure:e.exposure,view:e.view,viewDescription:e.viewDescription,assignedParking:e.assignedParking,privateOutDoorSpace:e.privateOutDoorSpace,incentive:e.incentive,notes:e.notes,brokerUnitDescription:e.brokerUnitDescription,brokerFeeStructure:e.brokerFeeStructure,defaultUnitCurrentAvailabilities:e.defaultUnitCurrentAvailabilities,building:o.BuildingDetailsToJSON(e.building),numberOfAvailableUnits:e.numberOfAvailableUnits,rent:e.rent,grossRent:e.grossRent,brokerNetRent:e.brokerNetRent,squareFootage:e.squareFootage,floor:e.floor,maxRent:e.maxRent,maxGrossRent:e.maxGrossRent,maxBrokerNetRent:e.maxBrokerNetRent,maxSquareFootage:e.maxSquareFootage,maxFloor:e.maxFloor,complexId:e.complexId,alternativeUnitNumbers:e.alternativeUnitNumbers,externalId:e.externalId,alternativeBuildingCrmId:e.alternativeBuildingCrmId,externalFloorPlanDescriptionId:e.externalFloorPlanDescriptionId,walkinUrl:e.walkinUrl,marketRateUnit:e.marketRateUnit,new:e._new}}},1161:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.UnitIncentiveToJSON=t.UnitIncentiveFromJSONTyped=t.UnitIncentiveFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{id:i.exists(e,"id")?e.id:void 0,unitId:i.exists(e,"unitId")?e.unitId:void 0,typeOfIncentive:i.exists(e,"typeOfIncentive")?e.typeOfIncentive:void 0,noFee:i.exists(e,"noFee")?e.noFee:void 0,numberFreeMonths:i.exists(e,"numberFreeMonths")?e.numberFreeMonths:void 0,leaseLength:i.exists(e,"leaseLength")?e.leaseLength:void 0,typeOfCustomerItAppliesTo:i.exists(e,"typeOfCustomerItAppliesTo")?e.typeOfCustomerItAppliesTo:void 0,numberOfMonthsOwnerPays:i.exists(e,"numberOfMonthsOwnerPays")?e.numberOfMonthsOwnerPays:void 0,originalIncentiveString:i.exists(e,"originalIncentiveString")?e.originalIncentiveString:void 0,active:i.exists(e,"active")?e.active:void 0,incentiveInformationString:i.exists(e,"incentiveInformationString")?e.incentiveInformationString:void 0,asJson:i.exists(e,"asJson")?e.asJson:void 0,valid:i.exists(e,"valid")?e.valid:void 0}}t.UnitIncentiveFromJSON=function(e){return r(e)},t.UnitIncentiveFromJSONTyped=r,t.UnitIncentiveToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,unitId:e.unitId,typeOfIncentive:e.typeOfIncentive,noFee:e.noFee,numberFreeMonths:e.numberFreeMonths,leaseLength:e.leaseLength,typeOfCustomerItAppliesTo:e.typeOfCustomerItAppliesTo,numberOfMonthsOwnerPays:e.numberOfMonthsOwnerPays,originalIncentiveString:e.originalIncentiveString,active:e.active,incentiveInformationString:e.incentiveInformationString,asJson:e.asJson,valid:e.valid}}},5239:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.UnitIncentiveResultToJSON=t.UnitIncentiveResultFromJSONTyped=t.UnitIncentiveResultFromJSON=void 0;var i=n(296),r=n(1161);function o(e,t){return null==e?e:{tenantUnitIncentives:i.exists(e,"tenantUnitIncentives")?e.tenantUnitIncentives.map(r.UnitIncentiveFromJSON):void 0,brokerUnitIncentives:i.exists(e,"brokerUnitIncentives")?e.brokerUnitIncentives.map(r.UnitIncentiveFromJSON):void 0}}t.UnitIncentiveResultFromJSON=function(e){return o(e)},t.UnitIncentiveResultFromJSONTyped=o,t.UnitIncentiveResultToJSON=function(e){if(void 0!==e)return null===e?null:{tenantUnitIncentives:void 0===e.tenantUnitIncentives?void 0:e.tenantUnitIncentives.map(r.UnitIncentiveToJSON),brokerUnitIncentives:void 0===e.brokerUnitIncentives?void 0:e.brokerUnitIncentives.map(r.UnitIncentiveToJSON)}}},3842:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.UpdateEmailsRequestToJSON=t.UpdateEmailsRequestFromJSONTyped=t.UpdateEmailsRequestFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{emails:i.exists(e,"emails")?e.emails:void 0}}t.UpdateEmailsRequestFromJSON=function(e){return r(e)},t.UpdateEmailsRequestFromJSONTyped=r,t.UpdateEmailsRequestToJSON=function(e){if(void 0!==e)return null===e?null:{emails:e.emails}}},9908:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.UpdateScriptRequestToJSON=t.UpdateScriptRequestFromJSONTyped=t.UpdateScriptRequestFromJSON=t.UpdateScriptRequestHandoffIntentStateEnum=t.UpdateScriptRequestMediaEnum=void 0;var i,r,o=n(296);function a(e,t){return null==e?e:{organizationId:o.exists(e,"organizationId")?e.organizationId:void 0,media:e.media,category:e.category,subIntent:o.exists(e,"subIntent")?e.subIntent:void 0,text:e.text,handoffIntentState:o.exists(e,"handoffIntentState")?e.handoffIntentState:void 0,communityId:o.exists(e,"communityId")?e.communityId:void 0}}(r=t.UpdateScriptRequestMediaEnum||(t.UpdateScriptRequestMediaEnum={})).Both="BOTH",r.Email="EMAIL",r.Sms="SMS",(i=t.UpdateScriptRequestHandoffIntentStateEnum||(t.UpdateScriptRequestHandoffIntentStateEnum={})).None="NONE",i.YellowStatus="YELLOW_STATUS",i.RedAlertSend="RED_ALERT_SEND",i.RedAlertDoNotSend="RED_ALERT_DO_NOT_SEND",t.UpdateScriptRequestFromJSON=function(e){return a(e)},t.UpdateScriptRequestFromJSONTyped=a,t.UpdateScriptRequestToJSON=function(e){if(void 0!==e)return null===e?null:{organizationId:e.organizationId,media:e.media,category:e.category,subIntent:e.subIntent,text:e.text,handoffIntentState:e.handoffIntentState,communityId:e.communityId}}},5530:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.UpsertDialogueScriptRequestToJSON=t.UpsertDialogueScriptRequestFromJSONTyped=t.UpsertDialogueScriptRequestFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{buildingId:i.exists(e,"buildingId")?e.buildingId:void 0,organizationId:i.exists(e,"organizationId")?e.organizationId:void 0,name:i.exists(e,"name")?e.name:void 0,subintent:i.exists(e,"subintent")?e.subintent:void 0,text:i.exists(e,"text")?e.text:void 0}}t.UpsertDialogueScriptRequestFromJSON=function(e){return r(e)},t.UpsertDialogueScriptRequestFromJSONTyped=r,t.UpsertDialogueScriptRequestToJSON=function(e){if(void 0!==e)return null===e?null:{buildingId:e.buildingId,organizationId:e.organizationId,name:e.name,subintent:e.subintent,text:e.text}}},9256:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.V2BuildingMigrationStatusToJSON=t.V2BuildingMigrationStatusFromJSONTyped=t.V2BuildingMigrationStatusFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{id:i.exists(e,"id")?e.id:void 0,buildingId:i.exists(e,"buildingId")?e.buildingId:void 0,buildingName:i.exists(e,"buildingName")?e.buildingName:void 0,userId:i.exists(e,"userId")?e.userId:void 0,organizationId:i.exists(e,"organizationId")?e.organizationId:void 0,organizationName:i.exists(e,"organizationName")?e.organizationName:void 0,scope:i.exists(e,"scope")?e.scope:void 0,timeSeeded:i.exists(e,"timeSeeded")?new Date(e.timeSeeded):void 0,timeReadyToConfigure:i.exists(e,"timeReadyToConfigure")?new Date(e.timeReadyToConfigure):void 0,timeConfigured:i.exists(e,"timeConfigured")?new Date(e.timeConfigured):void 0,timeWentLive:i.exists(e,"timeWentLive")?new Date(e.timeWentLive):void 0}}t.V2BuildingMigrationStatusFromJSON=function(e){return r(e)},t.V2BuildingMigrationStatusFromJSONTyped=r,t.V2BuildingMigrationStatusToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,buildingId:e.buildingId,buildingName:e.buildingName,userId:e.userId,organizationId:e.organizationId,organizationName:e.organizationName,scope:e.scope,timeSeeded:void 0===e.timeSeeded?void 0:e.timeSeeded.toISOString(),timeReadyToConfigure:void 0===e.timeReadyToConfigure?void 0:e.timeReadyToConfigure.toISOString(),timeConfigured:void 0===e.timeConfigured?void 0:e.timeConfigured.toISOString(),timeWentLive:void 0===e.timeWentLive?void 0:e.timeWentLive.toISOString()}}},2288:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ValidateCredentialsRequestToJSON=t.ValidateCredentialsRequestFromJSONTyped=t.ValidateCredentialsRequestFromJSON=t.ValidateCredentialsRequestIntegrationValidationTypeEnum=void 0;var i,r=n(296);function o(e,t){return null==e?e:{validationName:e.validationName,integrationValidationType:e.integrationValidationType,buildingName:e.buildingName,streetAddress:e.streetAddress,username:r.exists(e,"username")?e.username:void 0,password:r.exists(e,"password")?e.password:void 0,submitterEmail:e.submitterEmail,submitterOrgId:e.submitterOrgId,marketingApiKey:r.exists(e,"marketingApiKey")?e.marketingApiKey:void 0,databaseName:r.exists(e,"databaseName")?e.databaseName:void 0,serverName:r.exists(e,"serverName")?e.serverName:void 0,voyagerUrl:r.exists(e,"voyagerUrl")?e.voyagerUrl:void 0,companyCode:r.exists(e,"companyCode")?e.companyCode:void 0,connectionUrl:r.exists(e,"connectionUrl")?e.connectionUrl:void 0,vendorApiToken:r.exists(e,"vendorApiToken")?e.vendorApiToken:void 0,entrataDomain:r.exists(e,"entrataDomain")?e.entrataDomain:void 0}}(i=t.ValidateCredentialsRequestIntegrationValidationTypeEnum||(t.ValidateCredentialsRequestIntegrationValidationTypeEnum={})).Voyager="VOYAGER",i.VoyagerPlusRentcafeMarketingApiKeyAndVendorApiToken="VOYAGER_PLUS_RENTCAFE_MARKETING_API_KEY_AND_VENDOR_API_TOKEN",i.VoyagerPlusRentcafeVendorApiToken="VOYAGER_PLUS_RENTCAFE_VENDOR_API_TOKEN",i.Entrata="ENTRATA",t.ValidateCredentialsRequestFromJSON=function(e){return o(e)},t.ValidateCredentialsRequestFromJSONTyped=o,t.ValidateCredentialsRequestToJSON=function(e){if(void 0!==e)return null===e?null:{validationName:e.validationName,integrationValidationType:e.integrationValidationType,buildingName:e.buildingName,streetAddress:e.streetAddress,username:e.username,password:e.password,submitterEmail:e.submitterEmail,submitterOrgId:e.submitterOrgId,marketingApiKey:e.marketingApiKey,databaseName:e.databaseName,serverName:e.serverName,voyagerUrl:e.voyagerUrl,companyCode:e.companyCode,connectionUrl:e.connectionUrl,vendorApiToken:e.vendorApiToken,entrataDomain:e.entrataDomain}}},3029:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ValidateCredentialsResponseToJSON=t.ValidateCredentialsResponseFromJSONTyped=t.ValidateCredentialsResponseFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{message:e.message,failed:e.failed,errorMessages:i.exists(e,"errorMessages")?e.errorMessages:void 0}}t.ValidateCredentialsResponseFromJSON=function(e){return r(e)},t.ValidateCredentialsResponseFromJSONTyped=r,t.ValidateCredentialsResponseToJSON=function(e){if(void 0!==e)return null===e?null:{message:e.message,failed:e.failed,errorMessages:e.errorMessages}}},5454:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.WalkInAndShowActionDtoToJSON=t.WalkInAndShowActionDtoFromJSONTyped=t.WalkInAndShowActionDtoFromJSON=void 0;var i=n(296),r=n(5007);function o(e,t){return null==e?e:{userId:i.exists(e,"userId")?e.userId:void 0,buildingId:i.exists(e,"buildingId")?e.buildingId:void 0,unitId:i.exists(e,"unitId")?e.unitId:void 0,guestCard:i.exists(e,"guestCard")?r.EliseGuestCardDtoFromJSON(e.guestCard):void 0}}t.WalkInAndShowActionDtoFromJSON=function(e){return o(e)},t.WalkInAndShowActionDtoFromJSONTyped=o,t.WalkInAndShowActionDtoToJSON=function(e){if(void 0!==e)return null===e?null:{userId:e.userId,buildingId:e.buildingId,unitId:e.unitId,guestCard:r.EliseGuestCardDtoToJSON(e.guestCard)}}},2449:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.WalkInOrCallActionDtoToJSON=t.WalkInOrCallActionDtoFromJSONTyped=t.WalkInOrCallActionDtoFromJSON=void 0;var i=n(296),r=n(5007);function o(e,t){return null==e?e:{userId:i.exists(e,"userId")?e.userId:void 0,buildingId:i.exists(e,"buildingId")?e.buildingId:void 0,unitId:i.exists(e,"unitId")?e.unitId:void 0,guestCard:i.exists(e,"guestCard")?r.EliseGuestCardDtoFromJSON(e.guestCard):void 0}}t.WalkInOrCallActionDtoFromJSON=function(e){return o(e)},t.WalkInOrCallActionDtoFromJSONTyped=o,t.WalkInOrCallActionDtoToJSON=function(e){if(void 0!==e)return null===e?null:{userId:e.userId,buildingId:e.buildingId,unitId:e.unitId,guestCard:r.EliseGuestCardDtoToJSON(e.guestCard)}}},2242:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.WebReportingDashboardResponseToJSON=t.WebReportingDashboardResponseFromJSONTyped=t.WebReportingDashboardResponseFromJSON=void 0;var i=n(296),r=n(1961);function o(e,t){return null==e?e:{dataGroupedByTimePeriod:e.dataGroupedByTimePeriod,afterHoursDataGroupedByTimePeriod:e.afterHoursDataGroupedByTimePeriod,marketingSourceDataGroupedByTimePeriod:e.marketingSourceDataGroupedByTimePeriod,afterHoursMarketingSourceDataGroupedByTimePeriod:e.afterHoursMarketingSourceDataGroupedByTimePeriod,buildingNameMap:e.buildingNameMap,aiNameMap:e.aiNameMap,buildingToAiMap:i.mapValues(e.buildingToAiMap,r.AiAssistantStubInfoFromJSON)}}t.WebReportingDashboardResponseFromJSON=function(e){return o(e)},t.WebReportingDashboardResponseFromJSONTyped=o,t.WebReportingDashboardResponseToJSON=function(e){if(void 0!==e)return null===e?null:{dataGroupedByTimePeriod:e.dataGroupedByTimePeriod,afterHoursDataGroupedByTimePeriod:e.afterHoursDataGroupedByTimePeriod,marketingSourceDataGroupedByTimePeriod:e.marketingSourceDataGroupedByTimePeriod,afterHoursMarketingSourceDataGroupedByTimePeriod:e.afterHoursMarketingSourceDataGroupedByTimePeriod,buildingNameMap:e.buildingNameMap,aiNameMap:e.aiNameMap,buildingToAiMap:i.mapValues(e.buildingToAiMap,r.AiAssistantStubInfoToJSON)}}},6570:(e,t)=>{function n(e,t){return null==e?e:{id:e.id,buildingId:e.buildingId,email:e.email}}Object.defineProperty(t,"__esModule",{value:!0}),t.WeeklyReportEmailToJSON=t.WeeklyReportEmailFromJSONTyped=t.WeeklyReportEmailFromJSON=void 0,t.WeeklyReportEmailFromJSON=function(e){return n(e)},t.WeeklyReportEmailFromJSONTyped=n,t.WeeklyReportEmailToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,buildingId:e.buildingId,email:e.email}}},4675:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.WhiteListConfigToJSON=t.WhiteListConfigFromJSONTyped=t.WhiteListConfigFromJSON=t.WhiteListConfigStatusEnum=t.WhiteListConfigCurrentWhiteListStepEnum=void 0;var i,r,o=n(296);function a(e,t){return null==e?e:{id:o.exists(e,"id")?e.id:void 0,testingName:o.exists(e,"testingName")?e.testingName:void 0,buildingId:o.exists(e,"buildingId")?e.buildingId:void 0,whiteListingEmail:o.exists(e,"whiteListingEmail")?e.whiteListingEmail:void 0,timeInitiated:o.exists(e,"timeInitiated")?new Date(e.timeInitiated):void 0,lastUpdated:o.exists(e,"lastUpdated")?new Date(e.lastUpdated):void 0,currentWhiteListStep:o.exists(e,"currentWhiteListStep")?e.currentWhiteListStep:void 0,contextId:o.exists(e,"contextId")?e.contextId:void 0,mcId:o.exists(e,"mcId")?e.mcId:void 0,status:o.exists(e,"status")?e.status:void 0,requestedTime:o.exists(e,"requestedTime")?e.requestedTime:void 0,confirmedTime:o.exists(e,"confirmedTime")?e.confirmedTime:void 0,eventId:o.exists(e,"eventId")?e.eventId:void 0,failureReason:o.exists(e,"failureReason")?e.failureReason:void 0}}(r=t.WhiteListConfigCurrentWhiteListStepEnum||(t.WhiteListConfigCurrentWhiteListStepEnum={})).Initiated="INITIATED",r.ConfigureSettings="CONFIGURE_SETTINGS",r.TimeZoneVerification="TIME_ZONE_VERIFICATION",r.ConfirmAndOrFixApiVersion="CONFIRM_AND_OR_FIX_API_VERSION",r.ActivateBuildingAutoSend="ACTIVATE_BUILDING_AUTO_SEND",r.AddAitsToBuilding="ADD_AITS_TO_BUILDING",r.RerunAvailabilities="RERUN_AVAILABILITIES",r.InsertGuestCard="INSERT_GUEST_CARD",r.InitialEmailReceived="INITIAL_EMAIL_RECEIVED",r.RequestTourDayEmailSent="REQUEST_TOUR_DAY_EMAIL_SENT",r.AiSentTimeSuggestion="AI_SENT_TIME_SUGGESTION",r.AcceptTourTimeEmailSent="ACCEPT_TOUR_TIME_EMAIL_SENT",r.AppointmentScheduled="APPOINTMENT_SCHEDULED",r.AppointmentOnGuestCard="APPOINTMENT_ON_GUEST_CARD",r.RequestCancelTour="REQUEST_CANCEL_TOUR",r.AppointmentCanceled="APPOINTMENT_CANCELED",r.AppointmentRemovedFromGuestCard="APPOINTMENT_REMOVED_FROM_GUEST_CARD",(i=t.WhiteListConfigStatusEnum||(t.WhiteListConfigStatusEnum={})).InProgress="IN_PROGRESS",i.Complete="COMPLETE",i.Error="ERROR",i.Cancelled="CANCELLED",t.WhiteListConfigFromJSON=function(e){return a(e)},t.WhiteListConfigFromJSONTyped=a,t.WhiteListConfigToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,testingName:e.testingName,buildingId:e.buildingId,whiteListingEmail:e.whiteListingEmail,timeInitiated:void 0===e.timeInitiated?void 0:e.timeInitiated.toISOString(),lastUpdated:void 0===e.lastUpdated?void 0:e.lastUpdated.toISOString(),currentWhiteListStep:e.currentWhiteListStep,contextId:e.contextId,mcId:e.mcId,status:e.status,requestedTime:e.requestedTime,confirmedTime:e.confirmedTime,eventId:e.eventId,failureReason:e.failureReason}}},3163:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.WhiteListTestDtoToJSON=t.WhiteListTestDtoFromJSONTyped=t.WhiteListTestDtoFromJSON=t.WhiteListTestDtoLastFinishedStepEnum=t.WhiteListTestDtoStatusEnum=void 0;var i,r,o=n(296),a=n(8937);function s(e,t){return null==e?e:{configId:e.configId,buildingId:e.buildingId,buildingName:e.buildingName,timeInitiatedISO:new Date(e.timeInitiatedISO),lastUpdatedISO:new Date(e.lastUpdatedISO),status:e.status,lastFinishedStep:e.lastFinishedStep,whiteListTestStepDtos:e.whiteListTestStepDtos.map(a.WhiteListTestStepDtoFromJSON),emailUsedForTesting:o.exists(e,"emailUsedForTesting")?e.emailUsedForTesting:void 0,contextId:o.exists(e,"contextId")?e.contextId:void 0,mcId:o.exists(e,"mcId")?e.mcId:void 0}}(r=t.WhiteListTestDtoStatusEnum||(t.WhiteListTestDtoStatusEnum={})).InProgress="IN_PROGRESS",r.Complete="COMPLETE",r.Error="ERROR",r.Cancelled="CANCELLED",(i=t.WhiteListTestDtoLastFinishedStepEnum||(t.WhiteListTestDtoLastFinishedStepEnum={})).Initiated="INITIATED",i.ConfigureSettings="CONFIGURE_SETTINGS",i.TimeZoneVerification="TIME_ZONE_VERIFICATION",i.ConfirmAndOrFixApiVersion="CONFIRM_AND_OR_FIX_API_VERSION",i.ActivateBuildingAutoSend="ACTIVATE_BUILDING_AUTO_SEND",i.AddAitsToBuilding="ADD_AITS_TO_BUILDING",i.RerunAvailabilities="RERUN_AVAILABILITIES",i.InsertGuestCard="INSERT_GUEST_CARD",i.InitialEmailReceived="INITIAL_EMAIL_RECEIVED",i.RequestTourDayEmailSent="REQUEST_TOUR_DAY_EMAIL_SENT",i.AiSentTimeSuggestion="AI_SENT_TIME_SUGGESTION",i.AcceptTourTimeEmailSent="ACCEPT_TOUR_TIME_EMAIL_SENT",i.AppointmentScheduled="APPOINTMENT_SCHEDULED",i.AppointmentOnGuestCard="APPOINTMENT_ON_GUEST_CARD",i.RequestCancelTour="REQUEST_CANCEL_TOUR",i.AppointmentCanceled="APPOINTMENT_CANCELED",i.AppointmentRemovedFromGuestCard="APPOINTMENT_REMOVED_FROM_GUEST_CARD",t.WhiteListTestDtoFromJSON=function(e){return s(e)},t.WhiteListTestDtoFromJSONTyped=s,t.WhiteListTestDtoToJSON=function(e){if(void 0!==e)return null===e?null:{configId:e.configId,buildingId:e.buildingId,buildingName:e.buildingName,timeInitiatedISO:e.timeInitiatedISO.toISOString(),lastUpdatedISO:e.lastUpdatedISO.toISOString(),status:e.status,lastFinishedStep:e.lastFinishedStep,whiteListTestStepDtos:e.whiteListTestStepDtos.map(a.WhiteListTestStepDtoToJSON),emailUsedForTesting:e.emailUsedForTesting,contextId:e.contextId,mcId:e.mcId}}},8937:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.WhiteListTestStepDtoToJSON=t.WhiteListTestStepDtoFromJSONTyped=t.WhiteListTestStepDtoFromJSON=t.WhiteListTestStepDtoStepEnum=void 0;var i,r=n(296);function o(e,t){return null==e?e:{displayText:e.displayText,step:e.step,orderInTest:e.orderInTest,failureReason:r.exists(e,"failureReason")?e.failureReason:void 0,warnings:r.exists(e,"warnings")?e.warnings:void 0,nextStep:r.exists(e,"nextStep")?e.nextStep:void 0,complete:r.exists(e,"complete")?e.complete:void 0}}(i=t.WhiteListTestStepDtoStepEnum||(t.WhiteListTestStepDtoStepEnum={})).Initiated="INITIATED",i.ConfigureSettings="CONFIGURE_SETTINGS",i.TimeZoneVerification="TIME_ZONE_VERIFICATION",i.ConfirmAndOrFixApiVersion="CONFIRM_AND_OR_FIX_API_VERSION",i.ActivateBuildingAutoSend="ACTIVATE_BUILDING_AUTO_SEND",i.AddAitsToBuilding="ADD_AITS_TO_BUILDING",i.RerunAvailabilities="RERUN_AVAILABILITIES",i.InsertGuestCard="INSERT_GUEST_CARD",i.InitialEmailReceived="INITIAL_EMAIL_RECEIVED",i.RequestTourDayEmailSent="REQUEST_TOUR_DAY_EMAIL_SENT",i.AiSentTimeSuggestion="AI_SENT_TIME_SUGGESTION",i.AcceptTourTimeEmailSent="ACCEPT_TOUR_TIME_EMAIL_SENT",i.AppointmentScheduled="APPOINTMENT_SCHEDULED",i.AppointmentOnGuestCard="APPOINTMENT_ON_GUEST_CARD",i.RequestCancelTour="REQUEST_CANCEL_TOUR",i.AppointmentCanceled="APPOINTMENT_CANCELED",i.AppointmentRemovedFromGuestCard="APPOINTMENT_REMOVED_FROM_GUEST_CARD",t.WhiteListTestStepDtoFromJSON=function(e){return o(e)},t.WhiteListTestStepDtoFromJSONTyped=o,t.WhiteListTestStepDtoToJSON=function(e){if(void 0!==e)return null===e?null:{displayText:e.displayText,step:e.step,orderInTest:e.orderInTest,failureReason:e.failureReason,warnings:e.warnings,nextStep:e.nextStep,complete:e.complete}}},2683:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.WhiteListingAdditionalInfoToJSON=t.WhiteListingAdditionalInfoFromJSONTyped=t.WhiteListingAdditionalInfoFromJSON=void 0;var i=n(296),r=n(8442),o=n(7571);function a(e,t){return null==e?e:{leasingAgents:e.leasingAgents.map(r.ExternalBuildingAgentFromJSON),sources:e.sources,rawGuestCard:i.exists(e,"rawGuestCard")?e.rawGuestCard:void 0,messages:e.messages.map(o.XagacityEmailFromJSON)}}t.WhiteListingAdditionalInfoFromJSON=function(e){return a(e)},t.WhiteListingAdditionalInfoFromJSONTyped=a,t.WhiteListingAdditionalInfoToJSON=function(e){if(void 0!==e)return null===e?null:{leasingAgents:e.leasingAgents.map(r.ExternalBuildingAgentToJSON),sources:e.sources,rawGuestCard:e.rawGuestCard,messages:e.messages.map(o.XagacityEmailToJSON)}}},4145:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.WhiteListingExecutionResultToJSON=t.WhiteListingExecutionResultFromJSONTyped=t.WhiteListingExecutionResultFromJSON=t.WhiteListingExecutionResultStatusAfterStepEnum=t.WhiteListingExecutionResultLastStepCompletedEnum=void 0;var i,r,o=n(296);function a(e,t){return null==e?e:{didFail:e.didFail,failureReason:o.exists(e,"failureReason")?e.failureReason:void 0,lastStepCompleted:e.lastStepCompleted,statusAfterStep:e.statusAfterStep,configId:e.configId}}(r=t.WhiteListingExecutionResultLastStepCompletedEnum||(t.WhiteListingExecutionResultLastStepCompletedEnum={})).Initiated="INITIATED",r.ConfigureSettings="CONFIGURE_SETTINGS",r.TimeZoneVerification="TIME_ZONE_VERIFICATION",r.ConfirmAndOrFixApiVersion="CONFIRM_AND_OR_FIX_API_VERSION",r.ActivateBuildingAutoSend="ACTIVATE_BUILDING_AUTO_SEND",r.AddAitsToBuilding="ADD_AITS_TO_BUILDING",r.RerunAvailabilities="RERUN_AVAILABILITIES",r.InsertGuestCard="INSERT_GUEST_CARD",r.InitialEmailReceived="INITIAL_EMAIL_RECEIVED",r.RequestTourDayEmailSent="REQUEST_TOUR_DAY_EMAIL_SENT",r.AiSentTimeSuggestion="AI_SENT_TIME_SUGGESTION",r.AcceptTourTimeEmailSent="ACCEPT_TOUR_TIME_EMAIL_SENT",r.AppointmentScheduled="APPOINTMENT_SCHEDULED",r.AppointmentOnGuestCard="APPOINTMENT_ON_GUEST_CARD",r.RequestCancelTour="REQUEST_CANCEL_TOUR",r.AppointmentCanceled="APPOINTMENT_CANCELED",r.AppointmentRemovedFromGuestCard="APPOINTMENT_REMOVED_FROM_GUEST_CARD",(i=t.WhiteListingExecutionResultStatusAfterStepEnum||(t.WhiteListingExecutionResultStatusAfterStepEnum={})).InProgress="IN_PROGRESS",i.Complete="COMPLETE",i.Error="ERROR",i.Cancelled="CANCELLED",t.WhiteListingExecutionResultFromJSON=function(e){return a(e)},t.WhiteListingExecutionResultFromJSONTyped=a,t.WhiteListingExecutionResultToJSON=function(e){if(void 0!==e)return null===e?null:{didFail:e.didFail,failureReason:e.failureReason,lastStepCompleted:e.lastStepCompleted,statusAfterStep:e.statusAfterStep,configId:e.configId}}},7571:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.XagacityEmailToJSON=t.XagacityEmailFromJSONTyped=t.XagacityEmailFromJSON=void 0;var i=n(296),r=n(1234),o=n(1057),a=n(4891);function s(e,t){return null==e?e:{id:i.exists(e,"id")?e.id:void 0,clientEmail:i.exists(e,"clientEmail")?e.clientEmail:void 0,leadEmail:i.exists(e,"leadEmail")?e.leadEmail:void 0,sender:i.exists(e,"sender")?e.sender:void 0,recipient:i.exists(e,"recipient")?e.recipient:void 0,marketplace:i.exists(e,"marketplace")?e.marketplace:void 0,timeSent:i.exists(e,"timeSent")?new Date(e.timeSent):void 0,leadId:i.exists(e,"leadId")?e.leadId:void 0,subject:i.exists(e,"subject")?e.subject:void 0,messageBody:i.exists(e,"messageBody")?e.messageBody:void 0,messageId:i.exists(e,"messageId")?e.messageId:void 0,replyTo:i.exists(e,"replyTo")?e.replyTo:void 0,senderClean:i.exists(e,"senderClean")?e.senderClean:void 0,recipientClean:i.exists(e,"recipientClean")?e.recipientClean:void 0,replyToClean:i.exists(e,"replyToClean")?e.replyToClean:void 0,ccRecipient:i.exists(e,"ccRecipient")?e.ccRecipient:void 0,bccRecipient:i.exists(e,"bccRecipient")?e.bccRecipient:void 0,toRecipients:i.exists(e,"toRecipients")?e.toRecipients:void 0,labels:i.exists(e,"labels")?e.labels:void 0,unread:i.exists(e,"unread")?e.unread:void 0,gmailMessageId:i.exists(e,"gmailMessageId")?e.gmailMessageId:void 0,gmailThreadId:i.exists(e,"gmailThreadId")?e.gmailThreadId:void 0,isItProcessed:i.exists(e,"isItProcessed")?e.isItProcessed:void 0,isFalsePositive:i.exists(e,"isFalsePositive")?e.isFalsePositive:void 0,htmlEmail:i.exists(e,"htmlEmail")?e.htmlEmail:void 0,strippedMessage:i.exists(e,"strippedMessage")?e.strippedMessage:void 0,isForward:i.exists(e,"isForward")?e.isForward:void 0,isFirstContact:i.exists(e,"isFirstContact")?e.isFirstContact:void 0,followUpCount:i.exists(e,"followUpCount")?e.followUpCount:void 0,emailPulled:i.exists(e,"emailPulled")?e.emailPulled:void 0,automatedResponseStatus:i.exists(e,"automatedResponseStatus")?e.automatedResponseStatus:void 0,attachments:i.exists(e,"attachments")?e.attachments.map(r.AttachmentFromJSON):void 0,manuallyTagged:i.exists(e,"manuallyTagged")?e.manuallyTagged:void 0,requestsSpecificViewingTime:i.exists(e,"requestsSpecificViewingTime")?e.requestsSpecificViewingTime:void 0,mentionsSpecificAddress:i.exists(e,"mentionsSpecificAddress")?e.mentionsSpecificAddress:void 0,isAddressEntityTagged:i.exists(e,"isAddressEntityTagged")?e.isAddressEntityTagged:void 0,addressPulledFromComments:i.exists(e,"addressPulledFromComments")?e.addressPulledFromComments:void 0,mentionsHousingVoucher:i.exists(e,"mentionsHousingVoucher")?e.mentionsHousingVoucher:void 0,isBrokerLead:i.exists(e,"isBrokerLead")?e.isBrokerLead:void 0,snippet:i.exists(e,"snippet")?e.snippet:void 0,newThread:i.exists(e,"newThread")?e.newThread:void 0,emailHeader:i.exists(e,"emailHeader")?e.emailHeader:void 0,inReplyToHeader:i.exists(e,"inReplyToHeader")?e.inReplyToHeader:void 0,intents:i.exists(e,"intents")?e.intents.map(o.EliseMessageIntentFromJSON):void 0,attachFloorPlan:i.exists(e,"attachFloorPlan")?e.attachFloorPlan:void 0,attachFiles:i.exists(e,"attachFiles")?e.attachFiles:void 0,unitId:i.exists(e,"unitId")?e.unitId:void 0,responseTemplate:i.exists(e,"responseTemplate")?e.responseTemplate:void 0,shouldCollapseThread:i.exists(e,"shouldCollapseThread")?e.shouldCollapseThread:void 0,references:i.exists(e,"references")?e.references:void 0,actualSenderType:i.exists(e,"actualSenderType")?e.actualSenderType:void 0,tempField:i.exists(e,"tempField")?e.tempField:void 0,requiresComposingAReply:i.exists(e,"requiresComposingAReply")?e.requiresComposingAReply:void 0,messageIdWeRespondedTo:i.exists(e,"messageIdWeRespondedTo")?e.messageIdWeRespondedTo:void 0,externalIdRelatedToEmail:i.exists(e,"externalIdRelatedToEmail")?e.externalIdRelatedToEmail:void 0,aitWhoReviewed:i.exists(e,"aitWhoReviewed")?e.aitWhoReviewed:void 0,aitWhoDrafted:i.exists(e,"aitWhoDrafted")?e.aitWhoDrafted:void 0,draftSubmissionIsIncorrect:i.exists(e,"draftSubmissionIsIncorrect")?e.draftSubmissionIsIncorrect:void 0,draftedResponseId:i.exists(e,"draftedResponseId")?e.draftedResponseId:void 0,draftedResponseIncorrectReason:i.exists(e,"draftedResponseIncorrectReason")?e.draftedResponseIncorrectReason:void 0,aitSelectedIntents:i.exists(e,"aitSelectedIntents")?e.aitSelectedIntents:void 0,noNeedForNotificationFlag:i.exists(e,"noNeedForNotificationFlag")?e.noNeedForNotificationFlag:void 0,traineeEmail:i.exists(e,"traineeEmail")?e.traineeEmail:void 0,mimeMessage:i.exists(e,"mimeMessage")?a.XagacityEmailMimeMessageFromJSON(e.mimeMessage):void 0,stopForwarding:i.exists(e,"stopForwarding")?e.stopForwarding:void 0,cleanMessage:i.exists(e,"cleanMessage")?e.cleanMessage:void 0,trackExternalId:i.exists(e,"trackExternalId")?e.trackExternalId:void 0,externalMarketingSource:i.exists(e,"externalMarketingSource")?e.externalMarketingSource:void 0,contextId:i.exists(e,"contextId")?e.contextId:void 0,bccrecipientAsString:i.exists(e,"bccrecipientAsString")?e.bccrecipientAsString:void 0,toRecipientsFromString:i.exists(e,"toRecipientsFromString")?e.toRecipientsFromString:void 0,ccRecipientsFromString:i.exists(e,"ccRecipientsFromString")?e.ccRecipientsFromString:void 0,bccRecipientsFromString:i.exists(e,"bccRecipientsFromString")?e.bccRecipientsFromString:void 0,labelsFromDatabase:i.exists(e,"labelsFromDatabase")?e.labelsFromDatabase:void 0,recipientsList:i.exists(e,"recipientsList")?e.recipientsList:void 0,trashed:i.exists(e,"trashed")?e.trashed:void 0,draft:i.exists(e,"draft")?e.draft:void 0,torecipientAsString:i.exists(e,"torecipientAsString")?e.torecipientAsString:void 0,ccrecipientAsString:i.exists(e,"ccrecipientAsString")?e.ccrecipientAsString:void 0}}t.XagacityEmailFromJSON=function(e){return s(e)},t.XagacityEmailFromJSONTyped=s,t.XagacityEmailToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,clientEmail:e.clientEmail,leadEmail:e.leadEmail,sender:e.sender,recipient:e.recipient,marketplace:e.marketplace,timeSent:void 0===e.timeSent?void 0:e.timeSent.toISOString(),leadId:e.leadId,subject:e.subject,messageBody:e.messageBody,messageId:e.messageId,replyTo:e.replyTo,senderClean:e.senderClean,recipientClean:e.recipientClean,replyToClean:e.replyToClean,ccRecipient:e.ccRecipient,bccRecipient:e.bccRecipient,toRecipients:e.toRecipients,labels:e.labels,unread:e.unread,gmailMessageId:e.gmailMessageId,gmailThreadId:e.gmailThreadId,isItProcessed:e.isItProcessed,isFalsePositive:e.isFalsePositive,htmlEmail:e.htmlEmail,strippedMessage:e.strippedMessage,isForward:e.isForward,isFirstContact:e.isFirstContact,followUpCount:e.followUpCount,emailPulled:e.emailPulled,automatedResponseStatus:e.automatedResponseStatus,attachments:void 0===e.attachments?void 0:e.attachments.map(r.AttachmentToJSON),manuallyTagged:e.manuallyTagged,requestsSpecificViewingTime:e.requestsSpecificViewingTime,mentionsSpecificAddress:e.mentionsSpecificAddress,isAddressEntityTagged:e.isAddressEntityTagged,addressPulledFromComments:e.addressPulledFromComments,mentionsHousingVoucher:e.mentionsHousingVoucher,isBrokerLead:e.isBrokerLead,snippet:e.snippet,newThread:e.newThread,emailHeader:e.emailHeader,inReplyToHeader:e.inReplyToHeader,intents:void 0===e.intents?void 0:e.intents.map(o.EliseMessageIntentToJSON),attachFloorPlan:e.attachFloorPlan,attachFiles:e.attachFiles,unitId:e.unitId,responseTemplate:e.responseTemplate,shouldCollapseThread:e.shouldCollapseThread,references:e.references,actualSenderType:e.actualSenderType,tempField:e.tempField,requiresComposingAReply:e.requiresComposingAReply,messageIdWeRespondedTo:e.messageIdWeRespondedTo,externalIdRelatedToEmail:e.externalIdRelatedToEmail,aitWhoReviewed:e.aitWhoReviewed,aitWhoDrafted:e.aitWhoDrafted,draftSubmissionIsIncorrect:e.draftSubmissionIsIncorrect,draftedResponseId:e.draftedResponseId,draftedResponseIncorrectReason:e.draftedResponseIncorrectReason,aitSelectedIntents:e.aitSelectedIntents,noNeedForNotificationFlag:e.noNeedForNotificationFlag,traineeEmail:e.traineeEmail,mimeMessage:a.XagacityEmailMimeMessageToJSON(e.mimeMessage),stopForwarding:e.stopForwarding,cleanMessage:e.cleanMessage,trackExternalId:e.trackExternalId,externalMarketingSource:e.externalMarketingSource,contextId:e.contextId,bccrecipientAsString:e.bccrecipientAsString,toRecipientsFromString:e.toRecipientsFromString,ccRecipientsFromString:e.ccRecipientsFromString,bccRecipientsFromString:e.bccRecipientsFromString,labelsFromDatabase:e.labelsFromDatabase,recipientsList:e.recipientsList,trashed:e.trashed,draft:e.draft,torecipientAsString:e.torecipientAsString,ccrecipientAsString:e.ccrecipientAsString}}},4891:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.XagacityEmailMimeMessageToJSON=t.XagacityEmailMimeMessageFromJSONTyped=t.XagacityEmailMimeMessageFromJSON=void 0;var i=n(296),r=n(2294),o=n(8644),a=n(2653),s=n(7052),u=n(3645);function l(e,t){return null==e?e:{expunged:i.exists(e,"expunged")?e.expunged:void 0,folder:i.exists(e,"folder")?r.XagacityEmailMimeMessageFolderFromJSON(e.folder):void 0,session:i.exists(e,"session")?u.XagacityEmailMimeMessageFolderStoreSessionFromJSON(e.session):void 0,content:i.exists(e,"content")?e.content:void 0,flags:i.exists(e,"flags")?s.XagacityEmailMimeMessageFolderStoreFlagsFromJSON(e.flags):void 0,contentType:i.exists(e,"contentType")?e.contentType:void 0,fileName:i.exists(e,"fileName")?e.fileName:void 0,description:i.exists(e,"description")?e.description:void 0,subject:i.exists(e,"subject")?e.subject:void 0,size:i.exists(e,"size")?e.size:void 0,inputStream:i.exists(e,"inputStream")?e.inputStream:void 0,encoding:i.exists(e,"encoding")?e.encoding:void 0,sentDate:i.exists(e,"sentDate")?new Date(e.sentDate):void 0,messageID:i.exists(e,"messageID")?e.messageID:void 0,allRecipients:i.exists(e,"allRecipients")?e.allRecipients.map(o.XagacityEmailMimeMessageFolderStoreAllRecipientsFromJSON):void 0,from:i.exists(e,"from")?e.from.map(o.XagacityEmailMimeMessageFolderStoreAllRecipientsFromJSON):void 0,sender:i.exists(e,"sender")?o.XagacityEmailMimeMessageFolderStoreAllRecipientsFromJSON(e.sender):void 0,replyTo:i.exists(e,"replyTo")?e.replyTo.map(o.XagacityEmailMimeMessageFolderStoreAllRecipientsFromJSON):void 0,receivedDate:i.exists(e,"receivedDate")?new Date(e.receivedDate):void 0,lineCount:i.exists(e,"lineCount")?e.lineCount:void 0,disposition:i.exists(e,"disposition")?e.disposition:void 0,contentID:i.exists(e,"contentID")?e.contentID:void 0,contentMD5:i.exists(e,"contentMD5")?e.contentMD5:void 0,contentLanguage:i.exists(e,"contentLanguage")?e.contentLanguage:void 0,rawInputStream:i.exists(e,"rawInputStream")?e.rawInputStream:void 0,dataHandler:i.exists(e,"dataHandler")?a.XagacityEmailMimeMessageFolderStoreDataHandlerFromJSON(e.dataHandler):void 0,allHeaders:i.exists(e,"allHeaders")?e.allHeaders:void 0,allHeaderLines:i.exists(e,"allHeaderLines")?e.allHeaderLines:void 0,text:i.exists(e,"text")?e.text:void 0,messageNumber:i.exists(e,"messageNumber")?e.messageNumber:void 0}}t.XagacityEmailMimeMessageFromJSON=function(e){return l(e)},t.XagacityEmailMimeMessageFromJSONTyped=l,t.XagacityEmailMimeMessageToJSON=function(e){if(void 0!==e)return null===e?null:{expunged:e.expunged,folder:r.XagacityEmailMimeMessageFolderToJSON(e.folder),session:u.XagacityEmailMimeMessageFolderStoreSessionToJSON(e.session),content:e.content,flags:s.XagacityEmailMimeMessageFolderStoreFlagsToJSON(e.flags),contentType:e.contentType,fileName:e.fileName,description:e.description,subject:e.subject,size:e.size,inputStream:e.inputStream,encoding:e.encoding,sentDate:void 0===e.sentDate?void 0:e.sentDate.toISOString(),messageID:e.messageID,allRecipients:void 0===e.allRecipients?void 0:e.allRecipients.map(o.XagacityEmailMimeMessageFolderStoreAllRecipientsToJSON),from:void 0===e.from?void 0:e.from.map(o.XagacityEmailMimeMessageFolderStoreAllRecipientsToJSON),sender:o.XagacityEmailMimeMessageFolderStoreAllRecipientsToJSON(e.sender),replyTo:void 0===e.replyTo?void 0:e.replyTo.map(o.XagacityEmailMimeMessageFolderStoreAllRecipientsToJSON),receivedDate:void 0===e.receivedDate?void 0:e.receivedDate.toISOString(),lineCount:e.lineCount,disposition:e.disposition,contentID:e.contentID,contentMD5:e.contentMD5,contentLanguage:e.contentLanguage,rawInputStream:e.rawInputStream,dataHandler:a.XagacityEmailMimeMessageFolderStoreDataHandlerToJSON(e.dataHandler),allHeaders:e.allHeaders,allHeaderLines:e.allHeaderLines,text:e.text,messageNumber:e.messageNumber}}},2294:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.XagacityEmailMimeMessageFolderToJSON=t.XagacityEmailMimeMessageFolderFromJSONTyped=t.XagacityEmailMimeMessageFolderFromJSON=void 0;var i=n(296),r=n(2394),o=n(7052),a=n(6826),s=n(3053);function u(e,t){return null==e?e:{store:i.exists(e,"store")?r.XagacityEmailMimeMessageFolderStoreFromJSON(e.store):void 0,mode:i.exists(e,"mode")?e.mode:void 0,messages:i.exists(e,"messages")?e.messages.map(a.XagacityEmailMimeMessageFolderStoreMessagesFromJSON):void 0,urlname:i.exists(e,"urlname")?s.XagacityEmailMimeMessageFolderStoreSessionTransportUrlnameFromJSON(e.urlname):void 0,subscribed:i.exists(e,"subscribed")?e.subscribed:void 0,permanentFlags:i.exists(e,"permanentFlags")?o.XagacityEmailMimeMessageFolderStoreFlagsFromJSON(e.permanentFlags):void 0,messageCount:i.exists(e,"messageCount")?e.messageCount:void 0,newMessageCount:i.exists(e,"newMessageCount")?e.newMessageCount:void 0,unreadMessageCount:i.exists(e,"unreadMessageCount")?e.unreadMessageCount:void 0,deletedMessageCount:i.exists(e,"deletedMessageCount")?e.deletedMessageCount:void 0,fullName:i.exists(e,"fullName")?e.fullName:void 0,name:i.exists(e,"name")?e.name:void 0,open:i.exists(e,"open")?e.open:void 0,type:i.exists(e,"type")?e.type:void 0,separator:i.exists(e,"separator")?e.separator:void 0}}t.XagacityEmailMimeMessageFolderFromJSON=function(e){return u(e)},t.XagacityEmailMimeMessageFolderFromJSONTyped=u,t.XagacityEmailMimeMessageFolderToJSON=function(e){if(void 0!==e)return null===e?null:{store:r.XagacityEmailMimeMessageFolderStoreToJSON(e.store),mode:e.mode,messages:void 0===e.messages?void 0:e.messages.map(a.XagacityEmailMimeMessageFolderStoreMessagesToJSON),urlname:s.XagacityEmailMimeMessageFolderStoreSessionTransportUrlnameToJSON(e.urlname),subscribed:e.subscribed,permanentFlags:o.XagacityEmailMimeMessageFolderStoreFlagsToJSON(e.permanentFlags),messageCount:e.messageCount,newMessageCount:e.newMessageCount,unreadMessageCount:e.unreadMessageCount,deletedMessageCount:e.deletedMessageCount,fullName:e.fullName,name:e.name,open:e.open,type:e.type,separator:e.separator}}},2394:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.XagacityEmailMimeMessageFolderStoreToJSON=t.XagacityEmailMimeMessageFolderStoreFromJSONTyped=t.XagacityEmailMimeMessageFolderStoreFromJSON=void 0;var i=n(296),r=n(403),o=n(3053);function a(e,t){return null==e?e:{connected:i.exists(e,"connected")?e.connected:void 0,personalNamespaces:i.exists(e,"personalNamespaces")?e.personalNamespaces.map(r.XagacityEmailMimeMessageFolderStorePersonalNamespacesFromJSON):void 0,sharedNamespaces:i.exists(e,"sharedNamespaces")?e.sharedNamespaces.map(r.XagacityEmailMimeMessageFolderStorePersonalNamespacesFromJSON):void 0,urlname:i.exists(e,"urlname")?o.XagacityEmailMimeMessageFolderStoreSessionTransportUrlnameFromJSON(e.urlname):void 0}}t.XagacityEmailMimeMessageFolderStoreFromJSON=function(e){return a(e)},t.XagacityEmailMimeMessageFolderStoreFromJSONTyped=a,t.XagacityEmailMimeMessageFolderStoreToJSON=function(e){if(void 0!==e)return null===e?null:{connected:e.connected,personalNamespaces:void 0===e.personalNamespaces?void 0:e.personalNamespaces.map(r.XagacityEmailMimeMessageFolderStorePersonalNamespacesToJSON),sharedNamespaces:void 0===e.sharedNamespaces?void 0:e.sharedNamespaces.map(r.XagacityEmailMimeMessageFolderStorePersonalNamespacesToJSON),urlname:o.XagacityEmailMimeMessageFolderStoreSessionTransportUrlnameToJSON(e.urlname)}}},8644:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.XagacityEmailMimeMessageFolderStoreAllRecipientsToJSON=t.XagacityEmailMimeMessageFolderStoreAllRecipientsFromJSONTyped=t.XagacityEmailMimeMessageFolderStoreAllRecipientsFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{type:i.exists(e,"type")?e.type:void 0}}t.XagacityEmailMimeMessageFolderStoreAllRecipientsFromJSON=function(e){return r(e)},t.XagacityEmailMimeMessageFolderStoreAllRecipientsFromJSONTyped=r,t.XagacityEmailMimeMessageFolderStoreAllRecipientsToJSON=function(e){if(void 0!==e)return null===e?null:{type:e.type}}},2653:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.XagacityEmailMimeMessageFolderStoreDataHandlerToJSON=t.XagacityEmailMimeMessageFolderStoreDataHandlerFromJSONTyped=t.XagacityEmailMimeMessageFolderStoreDataHandlerFromJSON=void 0;var i=n(296),r=n(9046),o=n(8819),a=n(6799),s=n(7786);function u(e,t){return null==e?e:{dataSource:i.exists(e,"dataSource")?o.XagacityEmailMimeMessageFolderStoreDataHandlerDataSourceFromJSON(e.dataSource):void 0,commandMap:i.exists(e,"commandMap")?r.XagacityEmailMimeMessageFolderStoreDataHandlerCommandMapFromJSON(e.commandMap):void 0,transferDataFlavors:i.exists(e,"transferDataFlavors")?e.transferDataFlavors.map(s.XagacityEmailMimeMessageFolderStoreDataHandlerTransferDataFlavorsFromJSON):void 0,preferredCommands:i.exists(e,"preferredCommands")?e.preferredCommands.map(a.XagacityEmailMimeMessageFolderStoreDataHandlerPreferredCommandsFromJSON):void 0,allCommands:i.exists(e,"allCommands")?e.allCommands.map(a.XagacityEmailMimeMessageFolderStoreDataHandlerPreferredCommandsFromJSON):void 0,contentType:i.exists(e,"contentType")?e.contentType:void 0,name:i.exists(e,"name")?e.name:void 0,content:i.exists(e,"content")?e.content:void 0,inputStream:i.exists(e,"inputStream")?e.inputStream:void 0,outputStream:i.exists(e,"outputStream")?e.outputStream:void 0}}t.XagacityEmailMimeMessageFolderStoreDataHandlerFromJSON=function(e){return u(e)},t.XagacityEmailMimeMessageFolderStoreDataHandlerFromJSONTyped=u,t.XagacityEmailMimeMessageFolderStoreDataHandlerToJSON=function(e){if(void 0!==e)return null===e?null:{dataSource:o.XagacityEmailMimeMessageFolderStoreDataHandlerDataSourceToJSON(e.dataSource),commandMap:r.XagacityEmailMimeMessageFolderStoreDataHandlerCommandMapToJSON(e.commandMap),transferDataFlavors:void 0===e.transferDataFlavors?void 0:e.transferDataFlavors.map(s.XagacityEmailMimeMessageFolderStoreDataHandlerTransferDataFlavorsToJSON),preferredCommands:void 0===e.preferredCommands?void 0:e.preferredCommands.map(a.XagacityEmailMimeMessageFolderStoreDataHandlerPreferredCommandsToJSON),allCommands:void 0===e.allCommands?void 0:e.allCommands.map(a.XagacityEmailMimeMessageFolderStoreDataHandlerPreferredCommandsToJSON),contentType:e.contentType,name:e.name,content:e.content,inputStream:e.inputStream,outputStream:e.outputStream}}},9046:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.XagacityEmailMimeMessageFolderStoreDataHandlerCommandMapToJSON=t.XagacityEmailMimeMessageFolderStoreDataHandlerCommandMapFromJSONTyped=t.XagacityEmailMimeMessageFolderStoreDataHandlerCommandMapFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{mimeTypes:i.exists(e,"mimeTypes")?e.mimeTypes:void 0}}t.XagacityEmailMimeMessageFolderStoreDataHandlerCommandMapFromJSON=function(e){return r(e)},t.XagacityEmailMimeMessageFolderStoreDataHandlerCommandMapFromJSONTyped=r,t.XagacityEmailMimeMessageFolderStoreDataHandlerCommandMapToJSON=function(e){if(void 0!==e)return null===e?null:{mimeTypes:e.mimeTypes}}},8819:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.XagacityEmailMimeMessageFolderStoreDataHandlerDataSourceToJSON=t.XagacityEmailMimeMessageFolderStoreDataHandlerDataSourceFromJSONTyped=t.XagacityEmailMimeMessageFolderStoreDataHandlerDataSourceFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{contentType:i.exists(e,"contentType")?e.contentType:void 0,name:i.exists(e,"name")?e.name:void 0,inputStream:i.exists(e,"inputStream")?e.inputStream:void 0,outputStream:i.exists(e,"outputStream")?e.outputStream:void 0}}t.XagacityEmailMimeMessageFolderStoreDataHandlerDataSourceFromJSON=function(e){return r(e)},t.XagacityEmailMimeMessageFolderStoreDataHandlerDataSourceFromJSONTyped=r,t.XagacityEmailMimeMessageFolderStoreDataHandlerDataSourceToJSON=function(e){if(void 0!==e)return null===e?null:{contentType:e.contentType,name:e.name,inputStream:e.inputStream,outputStream:e.outputStream}}},6799:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.XagacityEmailMimeMessageFolderStoreDataHandlerPreferredCommandsToJSON=t.XagacityEmailMimeMessageFolderStoreDataHandlerPreferredCommandsFromJSONTyped=t.XagacityEmailMimeMessageFolderStoreDataHandlerPreferredCommandsFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{commandName:i.exists(e,"commandName")?e.commandName:void 0,commandClass:i.exists(e,"commandClass")?e.commandClass:void 0}}t.XagacityEmailMimeMessageFolderStoreDataHandlerPreferredCommandsFromJSON=function(e){return r(e)},t.XagacityEmailMimeMessageFolderStoreDataHandlerPreferredCommandsFromJSONTyped=r,t.XagacityEmailMimeMessageFolderStoreDataHandlerPreferredCommandsToJSON=function(e){if(void 0!==e)return null===e?null:{commandName:e.commandName,commandClass:e.commandClass}}},7786:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.XagacityEmailMimeMessageFolderStoreDataHandlerTransferDataFlavorsToJSON=t.XagacityEmailMimeMessageFolderStoreDataHandlerTransferDataFlavorsFromJSONTyped=t.XagacityEmailMimeMessageFolderStoreDataHandlerTransferDataFlavorsFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{mimeType:i.exists(e,"mimeType")?e.mimeType:void 0,humanPresentableName:i.exists(e,"humanPresentableName")?e.humanPresentableName:void 0,mimeTypeSerializedObject:i.exists(e,"mimeTypeSerializedObject")?e.mimeTypeSerializedObject:void 0,defaultRepresentationClassAsString:i.exists(e,"defaultRepresentationClassAsString")?e.defaultRepresentationClassAsString:void 0,representationClassInputStream:i.exists(e,"representationClassInputStream")?e.representationClassInputStream:void 0,representationClassReader:i.exists(e,"representationClassReader")?e.representationClassReader:void 0,representationClassCharBuffer:i.exists(e,"representationClassCharBuffer")?e.representationClassCharBuffer:void 0,representationClassByteBuffer:i.exists(e,"representationClassByteBuffer")?e.representationClassByteBuffer:void 0,representationClassSerializable:i.exists(e,"representationClassSerializable")?e.representationClassSerializable:void 0,representationClassRemote:i.exists(e,"representationClassRemote")?e.representationClassRemote:void 0,flavorSerializedObjectType:i.exists(e,"flavorSerializedObjectType")?e.flavorSerializedObjectType:void 0,flavorRemoteObjectType:i.exists(e,"flavorRemoteObjectType")?e.flavorRemoteObjectType:void 0,flavorJavaFileListType:i.exists(e,"flavorJavaFileListType")?e.flavorJavaFileListType:void 0,flavorTextType:i.exists(e,"flavorTextType")?e.flavorTextType:void 0,subType:i.exists(e,"subType")?e.subType:void 0,primaryType:i.exists(e,"primaryType")?e.primaryType:void 0}}t.XagacityEmailMimeMessageFolderStoreDataHandlerTransferDataFlavorsFromJSON=function(e){return r(e)},t.XagacityEmailMimeMessageFolderStoreDataHandlerTransferDataFlavorsFromJSONTyped=r,t.XagacityEmailMimeMessageFolderStoreDataHandlerTransferDataFlavorsToJSON=function(e){if(void 0!==e)return null===e?null:{mimeType:e.mimeType,humanPresentableName:e.humanPresentableName,mimeTypeSerializedObject:e.mimeTypeSerializedObject,defaultRepresentationClassAsString:e.defaultRepresentationClassAsString,representationClassInputStream:e.representationClassInputStream,representationClassReader:e.representationClassReader,representationClassCharBuffer:e.representationClassCharBuffer,representationClassByteBuffer:e.representationClassByteBuffer,representationClassSerializable:e.representationClassSerializable,representationClassRemote:e.representationClassRemote,flavorSerializedObjectType:e.flavorSerializedObjectType,flavorRemoteObjectType:e.flavorRemoteObjectType,flavorJavaFileListType:e.flavorJavaFileListType,flavorTextType:e.flavorTextType,subType:e.subType,primaryType:e.primaryType}}},7052:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.XagacityEmailMimeMessageFolderStoreFlagsToJSON=t.XagacityEmailMimeMessageFolderStoreFlagsFromJSONTyped=t.XagacityEmailMimeMessageFolderStoreFlagsFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{systemFlags:i.exists(e,"systemFlags")?e.systemFlags:void 0,userFlags:i.exists(e,"userFlags")?e.userFlags:void 0}}t.XagacityEmailMimeMessageFolderStoreFlagsFromJSON=function(e){return r(e)},t.XagacityEmailMimeMessageFolderStoreFlagsFromJSONTyped=r,t.XagacityEmailMimeMessageFolderStoreFlagsToJSON=function(e){if(void 0!==e)return null===e?null:{systemFlags:e.systemFlags,userFlags:e.userFlags}}},6826:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.XagacityEmailMimeMessageFolderStoreMessagesToJSON=t.XagacityEmailMimeMessageFolderStoreMessagesFromJSONTyped=t.XagacityEmailMimeMessageFolderStoreMessagesFromJSON=void 0;var i=n(296),r=n(8644),o=n(2653),a=n(7052),s=n(3645);function u(e,t){return null==e?e:{expunged:i.exists(e,"expunged")?e.expunged:void 0,session:i.exists(e,"session")?s.XagacityEmailMimeMessageFolderStoreSessionFromJSON(e.session):void 0,flags:i.exists(e,"flags")?a.XagacityEmailMimeMessageFolderStoreFlagsFromJSON(e.flags):void 0,subject:i.exists(e,"subject")?e.subject:void 0,sentDate:i.exists(e,"sentDate")?new Date(e.sentDate):void 0,allRecipients:i.exists(e,"allRecipients")?e.allRecipients.map(r.XagacityEmailMimeMessageFolderStoreAllRecipientsFromJSON):void 0,from:i.exists(e,"from")?e.from.map(r.XagacityEmailMimeMessageFolderStoreAllRecipientsFromJSON):void 0,replyTo:i.exists(e,"replyTo")?e.replyTo.map(r.XagacityEmailMimeMessageFolderStoreAllRecipientsFromJSON):void 0,receivedDate:i.exists(e,"receivedDate")?new Date(e.receivedDate):void 0,messageNumber:i.exists(e,"messageNumber")?e.messageNumber:void 0,contentType:i.exists(e,"contentType")?e.contentType:void 0,fileName:i.exists(e,"fileName")?e.fileName:void 0,description:i.exists(e,"description")?e.description:void 0,size:i.exists(e,"size")?e.size:void 0,content:i.exists(e,"content")?e.content:void 0,inputStream:i.exists(e,"inputStream")?e.inputStream:void 0,lineCount:i.exists(e,"lineCount")?e.lineCount:void 0,disposition:i.exists(e,"disposition")?e.disposition:void 0,dataHandler:i.exists(e,"dataHandler")?o.XagacityEmailMimeMessageFolderStoreDataHandlerFromJSON(e.dataHandler):void 0,allHeaders:i.exists(e,"allHeaders")?e.allHeaders:void 0,text:i.exists(e,"text")?e.text:void 0}}t.XagacityEmailMimeMessageFolderStoreMessagesFromJSON=function(e){return u(e)},t.XagacityEmailMimeMessageFolderStoreMessagesFromJSONTyped=u,t.XagacityEmailMimeMessageFolderStoreMessagesToJSON=function(e){if(void 0!==e)return null===e?null:{expunged:e.expunged,session:s.XagacityEmailMimeMessageFolderStoreSessionToJSON(e.session),flags:a.XagacityEmailMimeMessageFolderStoreFlagsToJSON(e.flags),subject:e.subject,sentDate:void 0===e.sentDate?void 0:e.sentDate.toISOString(),allRecipients:void 0===e.allRecipients?void 0:e.allRecipients.map(r.XagacityEmailMimeMessageFolderStoreAllRecipientsToJSON),from:void 0===e.from?void 0:e.from.map(r.XagacityEmailMimeMessageFolderStoreAllRecipientsToJSON),replyTo:void 0===e.replyTo?void 0:e.replyTo.map(r.XagacityEmailMimeMessageFolderStoreAllRecipientsToJSON),receivedDate:void 0===e.receivedDate?void 0:e.receivedDate.toISOString(),messageNumber:e.messageNumber,contentType:e.contentType,fileName:e.fileName,description:e.description,size:e.size,content:e.content,inputStream:e.inputStream,lineCount:e.lineCount,disposition:e.disposition,dataHandler:o.XagacityEmailMimeMessageFolderStoreDataHandlerToJSON(e.dataHandler),allHeaders:e.allHeaders,text:e.text}}},403:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.XagacityEmailMimeMessageFolderStorePersonalNamespacesToJSON=t.XagacityEmailMimeMessageFolderStorePersonalNamespacesFromJSONTyped=t.XagacityEmailMimeMessageFolderStorePersonalNamespacesFromJSON=void 0;var i=n(296),r=n(7052),o=n(6826),a=n(3053);function s(e,t){return null==e?e:{mode:i.exists(e,"mode")?e.mode:void 0,messages:i.exists(e,"messages")?e.messages.map(o.XagacityEmailMimeMessageFolderStoreMessagesFromJSON):void 0,urlname:i.exists(e,"urlname")?a.XagacityEmailMimeMessageFolderStoreSessionTransportUrlnameFromJSON(e.urlname):void 0,subscribed:i.exists(e,"subscribed")?e.subscribed:void 0,permanentFlags:i.exists(e,"permanentFlags")?r.XagacityEmailMimeMessageFolderStoreFlagsFromJSON(e.permanentFlags):void 0,messageCount:i.exists(e,"messageCount")?e.messageCount:void 0,newMessageCount:i.exists(e,"newMessageCount")?e.newMessageCount:void 0,unreadMessageCount:i.exists(e,"unreadMessageCount")?e.unreadMessageCount:void 0,deletedMessageCount:i.exists(e,"deletedMessageCount")?e.deletedMessageCount:void 0,fullName:i.exists(e,"fullName")?e.fullName:void 0,name:i.exists(e,"name")?e.name:void 0,open:i.exists(e,"open")?e.open:void 0,type:i.exists(e,"type")?e.type:void 0,separator:i.exists(e,"separator")?e.separator:void 0}}t.XagacityEmailMimeMessageFolderStorePersonalNamespacesFromJSON=function(e){return s(e)},t.XagacityEmailMimeMessageFolderStorePersonalNamespacesFromJSONTyped=s,t.XagacityEmailMimeMessageFolderStorePersonalNamespacesToJSON=function(e){if(void 0!==e)return null===e?null:{mode:e.mode,messages:void 0===e.messages?void 0:e.messages.map(o.XagacityEmailMimeMessageFolderStoreMessagesToJSON),urlname:a.XagacityEmailMimeMessageFolderStoreSessionTransportUrlnameToJSON(e.urlname),subscribed:e.subscribed,permanentFlags:r.XagacityEmailMimeMessageFolderStoreFlagsToJSON(e.permanentFlags),messageCount:e.messageCount,newMessageCount:e.newMessageCount,unreadMessageCount:e.unreadMessageCount,deletedMessageCount:e.deletedMessageCount,fullName:e.fullName,name:e.name,open:e.open,type:e.type,separator:e.separator}}},3645:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.XagacityEmailMimeMessageFolderStoreSessionToJSON=t.XagacityEmailMimeMessageFolderStoreSessionFromJSONTyped=t.XagacityEmailMimeMessageFolderStoreSessionFromJSON=void 0;var i=n(296),r=n(4586),o=n(560),a=n(5108);function s(e,t){return null==e?e:{debug:i.exists(e,"debug")?e.debug:void 0,providers:i.exists(e,"providers")?e.providers.map(o.XagacityEmailMimeMessageFolderStoreSessionProvidersFromJSON):void 0,debugOut:i.exists(e,"debugOut")?e.debugOut:void 0,properties:i.exists(e,"properties")?e.properties:void 0,transport:i.exists(e,"transport")?a.XagacityEmailMimeMessageFolderStoreSessionTransportFromJSON(e.transport):void 0,provider:i.exists(e,"provider")?r.XagacityEmailMimeMessageFolderStoreSessionProviderFromJSON(e.provider):void 0}}t.XagacityEmailMimeMessageFolderStoreSessionFromJSON=function(e){return s(e)},t.XagacityEmailMimeMessageFolderStoreSessionFromJSONTyped=s,t.XagacityEmailMimeMessageFolderStoreSessionToJSON=function(e){if(void 0!==e)return null===e?null:{debug:e.debug,providers:void 0===e.providers?void 0:e.providers.map(o.XagacityEmailMimeMessageFolderStoreSessionProvidersToJSON),debugOut:e.debugOut,properties:e.properties,transport:a.XagacityEmailMimeMessageFolderStoreSessionTransportToJSON(e.transport),provider:r.XagacityEmailMimeMessageFolderStoreSessionProviderToJSON(e.provider)}}},4586:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.XagacityEmailMimeMessageFolderStoreSessionProviderToJSON=t.XagacityEmailMimeMessageFolderStoreSessionProviderFromJSONTyped=t.XagacityEmailMimeMessageFolderStoreSessionProviderFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{type:i.exists(e,"type")?e.type:void 0,protocol:i.exists(e,"protocol")?e.protocol:void 0,className:i.exists(e,"className")?e.className:void 0,vendor:i.exists(e,"vendor")?e.vendor:void 0,version:i.exists(e,"version")?e.version:void 0}}t.XagacityEmailMimeMessageFolderStoreSessionProviderFromJSON=function(e){return r(e)},t.XagacityEmailMimeMessageFolderStoreSessionProviderFromJSONTyped=r,t.XagacityEmailMimeMessageFolderStoreSessionProviderToJSON=function(e){if(void 0!==e)return null===e?null:{type:e.type,protocol:e.protocol,className:e.className,vendor:e.vendor,version:e.version}}},560:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.XagacityEmailMimeMessageFolderStoreSessionProvidersToJSON=t.XagacityEmailMimeMessageFolderStoreSessionProvidersFromJSONTyped=t.XagacityEmailMimeMessageFolderStoreSessionProvidersFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{type:i.exists(e,"type")?e.type:void 0,protocol:i.exists(e,"protocol")?e.protocol:void 0,className:i.exists(e,"className")?e.className:void 0,vendor:i.exists(e,"vendor")?e.vendor:void 0,version:i.exists(e,"version")?e.version:void 0}}t.XagacityEmailMimeMessageFolderStoreSessionProvidersFromJSON=function(e){return r(e)},t.XagacityEmailMimeMessageFolderStoreSessionProvidersFromJSONTyped=r,t.XagacityEmailMimeMessageFolderStoreSessionProvidersToJSON=function(e){if(void 0!==e)return null===e?null:{type:e.type,protocol:e.protocol,className:e.className,vendor:e.vendor,version:e.version}}},5108:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.XagacityEmailMimeMessageFolderStoreSessionTransportToJSON=t.XagacityEmailMimeMessageFolderStoreSessionTransportFromJSONTyped=t.XagacityEmailMimeMessageFolderStoreSessionTransportFromJSON=void 0;var i=n(296),r=n(3053);function o(e,t){return null==e?e:{connected:i.exists(e,"connected")?e.connected:void 0,urlname:i.exists(e,"urlname")?r.XagacityEmailMimeMessageFolderStoreSessionTransportUrlnameFromJSON(e.urlname):void 0}}t.XagacityEmailMimeMessageFolderStoreSessionTransportFromJSON=function(e){return o(e)},t.XagacityEmailMimeMessageFolderStoreSessionTransportFromJSONTyped=o,t.XagacityEmailMimeMessageFolderStoreSessionTransportToJSON=function(e){if(void 0!==e)return null===e?null:{connected:e.connected,urlname:r.XagacityEmailMimeMessageFolderStoreSessionTransportUrlnameToJSON(e.urlname)}}},3053:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.XagacityEmailMimeMessageFolderStoreSessionTransportUrlnameToJSON=t.XagacityEmailMimeMessageFolderStoreSessionTransportUrlnameFromJSONTyped=t.XagacityEmailMimeMessageFolderStoreSessionTransportUrlnameFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{protocol:i.exists(e,"protocol")?e.protocol:void 0,username:i.exists(e,"username")?e.username:void 0,password:i.exists(e,"password")?e.password:void 0,host:i.exists(e,"host")?e.host:void 0,port:i.exists(e,"port")?e.port:void 0,file:i.exists(e,"file")?e.file:void 0,ref:i.exists(e,"ref")?e.ref:void 0,url:i.exists(e,"url")?e.url:void 0}}t.XagacityEmailMimeMessageFolderStoreSessionTransportUrlnameFromJSON=function(e){return r(e)},t.XagacityEmailMimeMessageFolderStoreSessionTransportUrlnameFromJSONTyped=r,t.XagacityEmailMimeMessageFolderStoreSessionTransportUrlnameToJSON=function(e){if(void 0!==e)return null===e?null:{protocol:e.protocol,username:e.username,password:e.password,host:e.host,port:e.port,file:e.file,ref:e.ref,url:e.url}}},1283:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.XagacityUserToJSON=t.XagacityUserFromJSONTyped=t.XagacityUserFromJSON=t.XagacityUserIdVerificationProviderEnum=void 0;var i,r=n(296),o=n(1995),a=n(6597);function s(e,t){return null==e?e:{id:r.exists(e,"id")?e.id:void 0,organizationId:r.exists(e,"organizationId")?e.organizationId:void 0,clientEmail:r.exists(e,"clientEmail")?e.clientEmail:void 0,priority:r.exists(e,"priority")?e.priority:void 0,firstName:r.exists(e,"firstName")?e.firstName:void 0,active:r.exists(e,"active")?e.active:void 0,eliseUser:r.exists(e,"eliseUser")?e.eliseUser:void 0,payingOrTrial:r.exists(e,"payingOrTrial")?e.payingOrTrial:void 0,emailPushNotificationsActive:r.exists(e,"emailPushNotificationsActive")?e.emailPushNotificationsActive:void 0,emailPushNotificationsExpiration:r.exists(e,"emailPushNotificationsExpiration")?e.emailPushNotificationsExpiration:void 0,emailClientType:r.exists(e,"emailClientType")?e.emailClientType:void 0,textApi:r.exists(e,"textApi")?e.textApi:void 0,timezone:r.exists(e,"timezone")?e.timezone:void 0,outlookTimeOfLastSyncedMessage:r.exists(e,"outlookTimeOfLastSyncedMessage")?e.outlookTimeOfLastSyncedMessage:void 0,outlookIdOfLastSyncedMessage:r.exists(e,"outlookIdOfLastSyncedMessage")?e.outlookIdOfLastSyncedMessage:void 0,xagacityLabel:r.exists(e,"xagacityLabel")?e.xagacityLabel:void 0,unreadState:r.exists(e,"unreadState")?e.unreadState:void 0,agentSignature:r.exists(e,"agentSignature")?e.agentSignature:void 0,specificGuidlines:r.exists(e,"specificGuidlines")?e.specificGuidlines:void 0,templates:r.exists(e,"templates")?e.templates:void 0,agentPhoneNumber:r.exists(e,"agentPhoneNumber")?e.agentPhoneNumber:void 0,isItProcessed:r.exists(e,"isItProcessed")?e.isItProcessed:void 0,removeFromInbox:r.exists(e,"removeFromInbox")?e.removeFromInbox:void 0,draftReply:r.exists(e,"draftReply")?e.draftReply:void 0,forwardToTeamAgent:r.exists(e,"forwardToTeamAgent")?e.forwardToTeamAgent:void 0,gmailHistoryId:r.exists(e,"gmailHistoryId")?e.gmailHistoryId:void 0,collectDataOn:r.exists(e,"collectDataOn")?e.collectDataOn:void 0,actualAssistant:r.exists(e,"actualAssistant")?e.actualAssistant:void 0,lastName:r.exists(e,"lastName")?e.lastName:void 0,subjectPreference:r.exists(e,"subjectPreference")?e.subjectPreference:void 0,getgSheetId:r.exists(e,"getgSheetId")?e.getgSheetId:void 0,autoDrafting:r.exists(e,"autoDrafting")?e.autoDrafting:void 0,followUpsRequired:r.exists(e,"followUpsRequired")?e.followUpsRequired:void 0,followUpsTemplates:r.exists(e,"followUpsTemplates")?e.followUpsTemplates:void 0,lockedSheet:r.exists(e,"lockedSheet")?e.lockedSheet:void 0,smartResponding:r.exists(e,"smartResponding")?e.smartResponding:void 0,pendingFollowUps:r.exists(e,"pendingFollowUps")?e.pendingFollowUps:void 0,xagacityNumber:r.exists(e,"xagacityNumber")?e.xagacityNumber:void 0,password:r.exists(e,"password")?e.password:void 0,calendarHistoryId:r.exists(e,"calendarHistoryId")?e.calendarHistoryId:void 0,calendarName:r.exists(e,"calendarName")?e.calendarName:void 0,hasSalesforce:r.exists(e,"hasSalesforce")?e.hasSalesforce:void 0,dateActive:r.exists(e,"dateActive")?new Date(e.dateActive):void 0,leadTrackingEmailForwardingActive:r.exists(e,"leadTrackingEmailForwardingActive")?e.leadTrackingEmailForwardingActive:void 0,receivesForwardedEmails:r.exists(e,"receivesForwardedEmails")?e.receivesForwardedEmails:void 0,messageDelayInSeconds:r.exists(e,"messageDelayInSeconds")?e.messageDelayInSeconds:void 0,crmUsedType:r.exists(e,"crmUsedType")?e.crmUsedType:void 0,relatedEmailIds:r.exists(e,"relatedEmailIds")?e.relatedEmailIds:void 0,callsStartingHours:r.exists(e,"callsStartingHours")?e.callsStartingHours:void 0,callsClosingHours:r.exists(e,"callsClosingHours")?e.callsClosingHours:void 0,availabilitiesSoftwareType:r.exists(e,"availabilitiesSoftwareType")?e.availabilitiesSoftwareType:void 0,associatedDomains:r.exists(e,"associatedDomains")?e.associatedDomains:void 0,lastCrmSyncId:r.exists(e,"lastCrmSyncId")?e.lastCrmSyncId:void 0,crmSyncType:r.exists(e,"crmSyncType")?e.crmSyncType:void 0,importingNewLeadsFromCrmActive:r.exists(e,"importingNewLeadsFromCrmActive")?e.importingNewLeadsFromCrmActive:void 0,followUpDataSource:r.exists(e,"followUpDataSource")?e.followUpDataSource:void 0,prefersTextsConfirmations:r.exists(e,"prefersTextsConfirmations")?e.prefersTextsConfirmations:void 0,smsAppointmentReminderEnabled:r.exists(e,"smsAppointmentReminderEnabled")?e.smsAppointmentReminderEnabled:void 0,smsPreTourFollowUpEnabled:r.exists(e,"smsPreTourFollowUpEnabled")?e.smsPreTourFollowUpEnabled:void 0,smsPostTourFollowUpEnabled:r.exists(e,"smsPostTourFollowUpEnabled")?e.smsPostTourFollowUpEnabled:void 0,smsNoShowFollowUpEnabled:r.exists(e,"smsNoShowFollowUpEnabled")?e.smsNoShowFollowUpEnabled:void 0,eventsLastCrmSyncId:r.exists(e,"eventsLastCrmSyncId")?e.eventsLastCrmSyncId:void 0,whiteListActivated:r.exists(e,"whiteListActivated")?e.whiteListActivated:void 0,blackListActivated:r.exists(e,"blackListActivated")?e.blackListActivated:void 0,availabilitiesPreferences:r.exists(e,"availabilitiesPreferences")?o.AvailabilitiesPreferencesFromJSON(e.availabilitiesPreferences):void 0,qaAlertPriority:r.exists(e,"qaAlertPriority")?e.qaAlertPriority:void 0,useSmtpRelay:r.exists(e,"useSmtpRelay")?e.useSmtpRelay:void 0,needParseSignature:r.exists(e,"needParseSignature")?e.needParseSignature:void 0,signaturePattern:r.exists(e,"signaturePattern")?e.signaturePattern:void 0,spamHistoryId:r.exists(e,"spamHistoryId")?e.spamHistoryId:void 0,receivesUnsubscribeReport:r.exists(e,"receivesUnsubscribeReport")?e.receivesUnsubscribeReport:void 0,emailSyncState:r.exists(e,"emailSyncState")?e.emailSyncState:void 0,buildingRefreshInfo:r.exists(e,"buildingRefreshInfo")?a.BuildingRefreshInfoFromJSON(e.buildingRefreshInfo):void 0,idVerificationProvider:r.exists(e,"idVerificationProvider")?e.idVerificationProvider:void 0}}(i=t.XagacityUserIdVerificationProviderEnum||(t.XagacityUserIdVerificationProviderEnum={})).Unknown="UNKNOWN",i.CognitoHq="COGNITO_HQ",i.AvbScreeningApi="AVB_SCREENING_API",t.XagacityUserFromJSON=function(e){return s(e)},t.XagacityUserFromJSONTyped=s,t.XagacityUserToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,organizationId:e.organizationId,clientEmail:e.clientEmail,priority:e.priority,firstName:e.firstName,active:e.active,eliseUser:e.eliseUser,payingOrTrial:e.payingOrTrial,emailPushNotificationsActive:e.emailPushNotificationsActive,emailPushNotificationsExpiration:e.emailPushNotificationsExpiration,emailClientType:e.emailClientType,textApi:e.textApi,timezone:e.timezone,outlookTimeOfLastSyncedMessage:e.outlookTimeOfLastSyncedMessage,outlookIdOfLastSyncedMessage:e.outlookIdOfLastSyncedMessage,xagacityLabel:e.xagacityLabel,unreadState:e.unreadState,agentSignature:e.agentSignature,specificGuidlines:e.specificGuidlines,templates:e.templates,agentPhoneNumber:e.agentPhoneNumber,isItProcessed:e.isItProcessed,removeFromInbox:e.removeFromInbox,draftReply:e.draftReply,forwardToTeamAgent:e.forwardToTeamAgent,gmailHistoryId:e.gmailHistoryId,collectDataOn:e.collectDataOn,actualAssistant:e.actualAssistant,lastName:e.lastName,subjectPreference:e.subjectPreference,getgSheetId:e.getgSheetId,autoDrafting:e.autoDrafting,followUpsRequired:e.followUpsRequired,followUpsTemplates:e.followUpsTemplates,lockedSheet:e.lockedSheet,smartResponding:e.smartResponding,pendingFollowUps:e.pendingFollowUps,xagacityNumber:e.xagacityNumber,password:e.password,calendarHistoryId:e.calendarHistoryId,calendarName:e.calendarName,hasSalesforce:e.hasSalesforce,dateActive:void 0===e.dateActive?void 0:e.dateActive.toISOString(),leadTrackingEmailForwardingActive:e.leadTrackingEmailForwardingActive,receivesForwardedEmails:e.receivesForwardedEmails,messageDelayInSeconds:e.messageDelayInSeconds,crmUsedType:e.crmUsedType,relatedEmailIds:e.relatedEmailIds,callsStartingHours:e.callsStartingHours,callsClosingHours:e.callsClosingHours,availabilitiesSoftwareType:e.availabilitiesSoftwareType,associatedDomains:e.associatedDomains,lastCrmSyncId:e.lastCrmSyncId,crmSyncType:e.crmSyncType,importingNewLeadsFromCrmActive:e.importingNewLeadsFromCrmActive,followUpDataSource:e.followUpDataSource,prefersTextsConfirmations:e.prefersTextsConfirmations,smsAppointmentReminderEnabled:e.smsAppointmentReminderEnabled,smsPreTourFollowUpEnabled:e.smsPreTourFollowUpEnabled,smsPostTourFollowUpEnabled:e.smsPostTourFollowUpEnabled,smsNoShowFollowUpEnabled:e.smsNoShowFollowUpEnabled,eventsLastCrmSyncId:e.eventsLastCrmSyncId,whiteListActivated:e.whiteListActivated,blackListActivated:e.blackListActivated,availabilitiesPreferences:o.AvailabilitiesPreferencesToJSON(e.availabilitiesPreferences),qaAlertPriority:e.qaAlertPriority,useSmtpRelay:e.useSmtpRelay,needParseSignature:e.needParseSignature,signaturePattern:e.signaturePattern,spamHistoryId:e.spamHistoryId,receivesUnsubscribeReport:e.receivesUnsubscribeReport,emailSyncState:e.emailSyncState,buildingRefreshInfo:a.BuildingRefreshInfoToJSON(e.buildingRefreshInfo),idVerificationProvider:e.idVerificationProvider}}},1889:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.XagacityUserWithCredentialsToJSON=t.XagacityUserWithCredentialsFromJSONTyped=t.XagacityUserWithCredentialsFromJSON=void 0;var i=n(296),r=n(7455),o=n(9861),a=n(3538),s=n(1283),u=n(3450);function l(e,t){return null==e?e:{user:i.exists(e,"user")?s.XagacityUserFromJSON(e.user):void 0,entrataCredentials:i.exists(e,"entrataCredentials")?o.EntrataCredentialsFromJSON(e.entrataCredentials):void 0,realPageCredentials:i.exists(e,"realPageCredentials")?a.RealPageCredentialsFromJSON(e.realPageCredentials):void 0,yardiCredentials:i.exists(e,"yardiCredentials")?u.YardiCredentialsFromJSON(e.yardiCredentials):void 0,anyoneHomeCredentials:i.exists(e,"anyoneHomeCredentials")?r.AnyoneHomeCredentialsFromJSON(e.anyoneHomeCredentials):void 0}}t.XagacityUserWithCredentialsFromJSON=function(e){return l(e)},t.XagacityUserWithCredentialsFromJSONTyped=l,t.XagacityUserWithCredentialsToJSON=function(e){if(void 0!==e)return null===e?null:{user:s.XagacityUserToJSON(e.user),entrataCredentials:o.EntrataCredentialsToJSON(e.entrataCredentials),realPageCredentials:a.RealPageCredentialsToJSON(e.realPageCredentials),yardiCredentials:u.YardiCredentialsToJSON(e.yardiCredentials),anyoneHomeCredentials:r.AnyoneHomeCredentialsToJSON(e.anyoneHomeCredentials)}}},3450:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.YardiCredentialsToJSON=t.YardiCredentialsFromJSONTyped=t.YardiCredentialsFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{id:i.exists(e,"id")?e.id:void 0,userId:i.exists(e,"userId")?e.userId:void 0,userName:i.exists(e,"userName")?e.userName:void 0,password:i.exists(e,"password")?e.password:void 0,serverName:i.exists(e,"serverName")?e.serverName:void 0,database:i.exists(e,"database")?e.database:void 0,platform:i.exists(e,"platform")?e.platform:void 0,webserviceHost:i.exists(e,"webserviceHost")?e.webserviceHost:void 0}}t.YardiCredentialsFromJSON=function(e){return r(e)},t.YardiCredentialsFromJSONTyped=r,t.YardiCredentialsToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,userId:e.userId,userName:e.userName,password:e.password,serverName:e.serverName,database:e.database,platform:e.platform,webserviceHost:e.webserviceHost}}},4584:function(e,t,n){var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(6662),t),r(n(2322),t),r(n(1961),t),r(n(818),t),r(n(6140),t),r(n(5246),t),r(n(5556),t),r(n(7455),t),r(n(3617),t),r(n(67),t),r(n(1234),t),r(n(1995),t),r(n(3618),t),r(n(2160),t),r(n(5604),t),r(n(3477),t),r(n(8536),t),r(n(4597),t),r(n(553),t),r(n(6673),t),r(n(6597),t),r(n(7949),t),r(n(2386),t),r(n(4853),t),r(n(9260),t),r(n(3777),t),r(n(713),t),r(n(1172),t),r(n(5384),t),r(n(2414),t),r(n(3077),t),r(n(2817),t),r(n(9407),t),r(n(7058),t),r(n(3531),t),r(n(6613),t),r(n(5040),t),r(n(5111),t),r(n(3202),t),r(n(6058),t),r(n(3817),t),r(n(8668),t),r(n(6607),t),r(n(5007),t),r(n(1057),t),r(n(7009),t),r(n(3694),t),r(n(4105),t),r(n(9861),t),r(n(8442),t),r(n(6885),t),r(n(7934),t),r(n(3905),t),r(n(3958),t),r(n(6045),t),r(n(6465),t),r(n(1204),t),r(n(7895),t),r(n(4326),t),r(n(2610),t),r(n(1960),t),r(n(9233),t),r(n(8055),t),r(n(2406),t),r(n(1880),t),r(n(7989),t),r(n(4036),t),r(n(5728),t),r(n(5131),t),r(n(7708),t),r(n(746),t),r(n(7662),t),r(n(9132),t),r(n(7530),t),r(n(194),t),r(n(1312),t),r(n(4549),t),r(n(8636),t),r(n(7399),t),r(n(8328),t),r(n(4401),t),r(n(3832),t),r(n(4883),t),r(n(6705),t),r(n(1427),t),r(n(9718),t),r(n(1004),t),r(n(4240),t),r(n(2960),t),r(n(1431),t),r(n(8792),t),r(n(908),t),r(n(3231),t),r(n(8496),t),r(n(3538),t),r(n(9353),t),r(n(6343),t),r(n(7564),t),r(n(4748),t),r(n(170),t),r(n(2298),t),r(n(445),t),r(n(1222),t),r(n(7444),t),r(n(3815),t),r(n(8385),t),r(n(6956),t),r(n(2644),t),r(n(4192),t),r(n(6832),t),r(n(6865),t),r(n(6448),t),r(n(6161),t),r(n(6069),t),r(n(6122),t),r(n(5687),t),r(n(2558),t),r(n(904),t),r(n(7346),t),r(n(6306),t),r(n(2977),t),r(n(1124),t),r(n(827),t),r(n(1155),t),r(n(8911),t),r(n(9374),t),r(n(6330),t),r(n(9275),t),r(n(260),t),r(n(1161),t),r(n(5239),t),r(n(3842),t),r(n(9908),t),r(n(5530),t),r(n(9256),t),r(n(2288),t),r(n(3029),t),r(n(5454),t),r(n(2449),t),r(n(2242),t),r(n(6570),t),r(n(4675),t),r(n(3163),t),r(n(8937),t),r(n(2683),t),r(n(4145),t),r(n(7571),t),r(n(4891),t),r(n(2294),t),r(n(2394),t),r(n(8644),t),r(n(2653),t),r(n(9046),t),r(n(8819),t),r(n(6799),t),r(n(7786),t),r(n(7052),t),r(n(6826),t),r(n(403),t),r(n(3645),t),r(n(4586),t),r(n(560),t),r(n(5108),t),r(n(3053),t),r(n(1283),t),r(n(1889),t),r(n(3450),t)},296:function(e,t){var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},n(e,t)},function(e,t){function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},r.apply(this,arguments)},o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.TextApiResponse=t.BlobApiResponse=t.VoidApiResponse=t.JSONApiResponse=t.canConsumeForm=t.mapValues=t.querystring=t.exists=t.Configuration=t.COLLECTION_FORMATS=t.RequiredError=t.BaseAPI=t.BASE_PATH=void 0,t.BASE_PATH="http://localhost:8080".replace(/\/+$/,"");var s=function(){function e(e){var t=this;void 0===e&&(e=new l),this.configuration=e,this.fetchApi=function(e,n){return o(t,void 0,void 0,(function(){var t,i,o,s,u,l,d;return a(this,(function(a){switch(a.label){case 0:t={url:e,init:n},i=0,o=this.middleware,a.label=1;case 1:return i<o.length?(d=o[i]).pre?[4,d.pre(r({fetch:this.fetchApi},t))]:[3,3]:[3,4];case 2:t=a.sent()||t,a.label=3;case 3:return i++,[3,1];case 4:return[4,(this.configuration.fetchApi||fetch)(t.url,t.init)];case 5:s=a.sent(),u=0,l=this.middleware,a.label=6;case 6:return u<l.length?(d=l[u]).post?[4,d.post({fetch:this.fetchApi,url:t.url,init:t.init,response:s.clone()})]:[3,8]:[3,9];case 7:s=a.sent()||s,a.label=8;case 8:return u++,[3,6];case 9:return[2,s]}}))}))},this.middleware=e.middleware}return e.prototype.withMiddleware=function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var i=this.clone();return i.middleware=(e=i.middleware).concat.apply(e,t),i},e.prototype.withPreMiddleware=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=e.map((function(e){return{pre:e}}));return this.withMiddleware.apply(this,n)},e.prototype.withPostMiddleware=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=e.map((function(e){return{post:e}}));return this.withMiddleware.apply(this,n)},e.prototype.request=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r,o;return a(this,(function(a){switch(a.label){case 0:return n=this.createFetchParams(e,t),i=n.url,r=n.init,[4,this.fetchApi(i,r)];case 1:if((o=a.sent()).status>=200&&o.status<300)return[2,o];throw o}}))}))},e.prototype.createFetchParams=function(e,t){var n=this.configuration.basePath+e.path;void 0!==e.query&&0!==Object.keys(e.query).length&&(n+="?"+this.configuration.queryParamsStringify(e.query));var i,o="undefined"!=typeof FormData&&e.body instanceof FormData||e.body instanceof URLSearchParams||(i=e.body,"undefined"!=typeof Blob&&i instanceof Blob)?e.body:JSON.stringify(e.body),a=Object.assign({},this.configuration.headers,e.headers);return{url:n,init:r({method:e.method,headers:a,body:o,credentials:this.configuration.credentials},t)}},e.prototype.clone=function(){var e=new(0,this.constructor)(this.configuration);return e.middleware=this.middleware.slice(),e},e}();t.BaseAPI=s;var u=function(e){function t(t,n){var i=e.call(this,n)||this;return i.field=t,i.name="RequiredError",i}return i(t,e),t}(Error);t.RequiredError=u,t.COLLECTION_FORMATS={csv:",",ssv:" ",tsv:"\t",pipes:"|"};var l=function(){function e(e){void 0===e&&(e={}),this.configuration=e}return Object.defineProperty(e.prototype,"basePath",{get:function(){return null!=this.configuration.basePath?this.configuration.basePath:t.BASE_PATH},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"fetchApi",{get:function(){return this.configuration.fetchApi},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"middleware",{get:function(){return this.configuration.middleware||[]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"queryParamsStringify",{get:function(){return this.configuration.queryParamsStringify||d},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"username",{get:function(){return this.configuration.username},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"password",{get:function(){return this.configuration.password},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"apiKey",{get:function(){var e=this.configuration.apiKey;if(e)return"function"==typeof e?e:function(){return e}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"accessToken",{get:function(){var e=this,t=this.configuration.accessToken;if(t)return"function"==typeof t?t:function(){return o(e,void 0,void 0,(function(){return a(this,(function(e){return[2,t]}))}))}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"headers",{get:function(){return this.configuration.headers},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"credentials",{get:function(){return this.configuration.credentials},enumerable:!1,configurable:!0}),e}();function d(e,t){return void 0===t&&(t=""),Object.keys(e).map((function(n){var i=t+(t.length?"["+n+"]":n),r=e[n];if(r instanceof Array){var o=r.map((function(e){return encodeURIComponent(String(e))})).join("&"+encodeURIComponent(i)+"=");return encodeURIComponent(i)+"="+o}return r instanceof Date?encodeURIComponent(i)+"="+encodeURIComponent(r.toISOString()):r instanceof Object?d(r,i):encodeURIComponent(i)+"="+encodeURIComponent(String(r))})).filter((function(e){return e.length>0})).join("&")}t.Configuration=l,t.exists=function(e,t){return null!=e[t]},t.querystring=d,t.mapValues=function(e,t){return Object.keys(e).reduce((function(n,i){var o;return r(r({},n),((o={})[i]=t(e[i]),o))}),{})},t.canConsumeForm=function(e){for(var t=0,n=e;t<n.length;t++)if("multipart/form-data"===n[t].contentType)return!0;return!1};var c=function(){function e(e,t){void 0===t&&(t=function(e){return e}),this.raw=e,this.transformer=t}return e.prototype.value=function(){return o(this,void 0,void 0,(function(){var e;return a(this,(function(t){switch(t.label){case 0:return e=this.transformer,[4,this.raw.json()];case 1:return[2,e.apply(this,[t.sent()])]}}))}))},e}();t.JSONApiResponse=c;var p=function(){function e(e){this.raw=e}return e.prototype.value=function(){return o(this,void 0,void 0,(function(){return a(this,(function(e){return[2,void 0]}))}))},e}();t.VoidApiResponse=p;var f=function(){function e(e){this.raw=e}return e.prototype.value=function(){return o(this,void 0,void 0,(function(){return a(this,(function(e){switch(e.label){case 0:return[4,this.raw.blob()];case 1:return[2,e.sent()]}}))}))},e}();t.BlobApiResponse=f;var h=function(){function e(e){this.raw=e}return e.prototype.value=function(){return o(this,void 0,void 0,(function(){return a(this,(function(e){switch(e.label){case 0:return[4,this.raw.text()];case 1:return[2,e.sent()]}}))}))},e}();t.TextApiResponse=h},9669:(e,t,n)=>{e.exports=n(1609)},5448:(e,t,n)=>{var i=n(4867),r=n(6026),o=n(4372),a=n(5327),s=n(4097),u=n(4109),l=n(7985),d=n(7874),c=n(2648),p=n(644),f=n(205);e.exports=function(e){return new Promise((function(t,n){var h,m=e.data,v=e.headers,g=e.responseType;function y(){e.cancelToken&&e.cancelToken.unsubscribe(h),e.signal&&e.signal.removeEventListener("abort",h)}i.isFormData(m)&&i.isStandardBrowserEnv()&&delete v["Content-Type"];var b=new XMLHttpRequest;if(e.auth){var w=e.auth.username||"",S=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";v.Authorization="Basic "+btoa(w+":"+S)}var T=s(e.baseURL,e.url);function x(){if(b){var i="getAllResponseHeaders"in b?u(b.getAllResponseHeaders()):null,o={data:g&&"text"!==g&&"json"!==g?b.response:b.responseText,status:b.status,statusText:b.statusText,headers:i,config:e,request:b};r((function(e){t(e),y()}),(function(e){n(e),y()}),o),b=null}}if(b.open(e.method.toUpperCase(),a(T,e.params,e.paramsSerializer),!0),b.timeout=e.timeout,"onloadend"in b?b.onloadend=x:b.onreadystatechange=function(){b&&4===b.readyState&&(0!==b.status||b.responseURL&&0===b.responseURL.indexOf("file:"))&&setTimeout(x)},b.onabort=function(){b&&(n(new c("Request aborted",c.ECONNABORTED,e,b)),b=null)},b.onerror=function(){n(new c("Network Error",c.ERR_NETWORK,e,b,b)),b=null},b.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",i=e.transitional||d;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(new c(t,i.clarifyTimeoutError?c.ETIMEDOUT:c.ECONNABORTED,e,b)),b=null},i.isStandardBrowserEnv()){var O=(e.withCredentials||l(T))&&e.xsrfCookieName?o.read(e.xsrfCookieName):void 0;O&&(v[e.xsrfHeaderName]=O)}"setRequestHeader"in b&&i.forEach(v,(function(e,t){void 0===m&&"content-type"===t.toLowerCase()?delete v[t]:b.setRequestHeader(t,e)})),i.isUndefined(e.withCredentials)||(b.withCredentials=!!e.withCredentials),g&&"json"!==g&&(b.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&b.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&b.upload&&b.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(h=function(e){b&&(n(!e||e&&e.type?new p:e),b.abort(),b=null)},e.cancelToken&&e.cancelToken.subscribe(h),e.signal&&(e.signal.aborted?h():e.signal.addEventListener("abort",h))),m||(m=null);var I=f(T);I&&-1===["http","https","file"].indexOf(I)?n(new c("Unsupported protocol "+I+":",c.ERR_BAD_REQUEST,e)):b.send(m)}))}},1609:(e,t,n)=>{var i=n(4867),r=n(1849),o=n(321),a=n(7185),s=function e(t){var n=new o(t),s=r(o.prototype.request,n);return i.extend(s,o.prototype,n),i.extend(s,n),s.create=function(n){return e(a(t,n))},s}(n(5546));s.Axios=o,s.CanceledError=n(644),s.CancelToken=n(4972),s.isCancel=n(6502),s.VERSION=n(7288).version,s.toFormData=n(7675),s.AxiosError=n(2648),s.Cancel=s.CanceledError,s.all=function(e){return Promise.all(e)},s.spread=n(8713),s.isAxiosError=n(6268),e.exports=s,e.exports.default=s},4972:(e,t,n)=>{var i=n(644);function r(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;this.promise.then((function(e){if(n._listeners){var t,i=n._listeners.length;for(t=0;t<i;t++)n._listeners[t](e);n._listeners=null}})),this.promise.then=function(e){var t,i=new Promise((function(e){n.subscribe(e),t=e})).then(e);return i.cancel=function(){n.unsubscribe(t)},i},e((function(e){n.reason||(n.reason=new i(e),t(n.reason))}))}r.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},r.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},r.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},r.source=function(){var e;return{token:new r((function(t){e=t})),cancel:e}},e.exports=r},644:(e,t,n)=>{var i=n(2648);function r(e){i.call(this,null==e?"canceled":e,i.ERR_CANCELED),this.name="CanceledError"}n(4867).inherits(r,i,{__CANCEL__:!0}),e.exports=r},6502:e=>{e.exports=function(e){return!(!e||!e.__CANCEL__)}},321:(e,t,n)=>{var i=n(4867),r=n(5327),o=n(782),a=n(3572),s=n(7185),u=n(4097),l=n(4875),d=l.validators;function c(e){this.defaults=e,this.interceptors={request:new o,response:new o}}c.prototype.request=function(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},(t=s(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var n=t.transitional;void 0!==n&&l.assertOptions(n,{silentJSONParsing:d.transitional(d.boolean),forcedJSONParsing:d.transitional(d.boolean),clarifyTimeoutError:d.transitional(d.boolean)},!1);var i=[],r=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(r=r&&e.synchronous,i.unshift(e.fulfilled,e.rejected))}));var o,u=[];if(this.interceptors.response.forEach((function(e){u.push(e.fulfilled,e.rejected)})),!r){var c=[a,void 0];for(Array.prototype.unshift.apply(c,i),c=c.concat(u),o=Promise.resolve(t);c.length;)o=o.then(c.shift(),c.shift());return o}for(var p=t;i.length;){var f=i.shift(),h=i.shift();try{p=f(p)}catch(e){h(e);break}}try{o=a(p)}catch(e){return Promise.reject(e)}for(;u.length;)o=o.then(u.shift(),u.shift());return o},c.prototype.getUri=function(e){e=s(this.defaults,e);var t=u(e.baseURL,e.url);return r(t,e.params,e.paramsSerializer)},i.forEach(["delete","get","head","options"],(function(e){c.prototype[e]=function(t,n){return this.request(s(n||{},{method:e,url:t,data:(n||{}).data}))}})),i.forEach(["post","put","patch"],(function(e){function t(t){return function(n,i,r){return this.request(s(r||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:i}))}}c.prototype[e]=t(),c.prototype[e+"Form"]=t(!0)})),e.exports=c},2648:(e,t,n)=>{var i=n(4867);function r(e,t,n,i,r){Error.call(this),this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),i&&(this.request=i),r&&(this.response=r)}i.inherits(r,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var o=r.prototype,a={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED"].forEach((function(e){a[e]={value:e}})),Object.defineProperties(r,a),Object.defineProperty(o,"isAxiosError",{value:!0}),r.from=function(e,t,n,a,s,u){var l=Object.create(o);return i.toFlatObject(e,l,(function(e){return e!==Error.prototype})),r.call(l,e.message,t,n,a,s),l.name=e.name,u&&Object.assign(l,u),l},e.exports=r},782:(e,t,n)=>{var i=n(4867);function r(){this.handlers=[]}r.prototype.use=function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},r.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},r.prototype.forEach=function(e){i.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=r},4097:(e,t,n)=>{var i=n(1793),r=n(7303);e.exports=function(e,t){return e&&!i(t)?r(e,t):t}},3572:(e,t,n)=>{var i=n(4867),r=n(8527),o=n(6502),a=n(5546),s=n(644);function u(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new s}e.exports=function(e){return u(e),e.headers=e.headers||{},e.data=r.call(e,e.data,e.headers,e.transformRequest),e.headers=i.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),i.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||a.adapter)(e).then((function(t){return u(e),t.data=r.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return o(t)||(u(e),t&&t.response&&(t.response.data=r.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},7185:(e,t,n)=>{var i=n(4867);e.exports=function(e,t){t=t||{};var n={};function r(e,t){return i.isPlainObject(e)&&i.isPlainObject(t)?i.merge(e,t):i.isPlainObject(t)?i.merge({},t):i.isArray(t)?t.slice():t}function o(n){return i.isUndefined(t[n])?i.isUndefined(e[n])?void 0:r(void 0,e[n]):r(e[n],t[n])}function a(e){if(!i.isUndefined(t[e]))return r(void 0,t[e])}function s(n){return i.isUndefined(t[n])?i.isUndefined(e[n])?void 0:r(void 0,e[n]):r(void 0,t[n])}function u(n){return n in t?r(e[n],t[n]):n in e?r(void 0,e[n]):void 0}var l={url:a,method:a,data:a,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:u};return i.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=l[e]||o,r=t(e);i.isUndefined(r)&&t!==u||(n[e]=r)})),n}},6026:(e,t,n)=>{var i=n(2648);e.exports=function(e,t,n){var r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new i("Request failed with status code "+n.status,[i.ERR_BAD_REQUEST,i.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}},8527:(e,t,n)=>{var i=n(4867),r=n(5546);e.exports=function(e,t,n){var o=this||r;return i.forEach(n,(function(n){e=n.call(o,e,t)})),e}},5546:(e,t,n)=>{var i=n(4867),r=n(6016),o=n(2648),a=n(7874),s=n(7675),u={"Content-Type":"application/x-www-form-urlencoded"};function l(e,t){!i.isUndefined(e)&&i.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var d,c={transitional:a,adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(d=n(5448)),d),transformRequest:[function(e,t){if(r(t,"Accept"),r(t,"Content-Type"),i.isFormData(e)||i.isArrayBuffer(e)||i.isBuffer(e)||i.isStream(e)||i.isFile(e)||i.isBlob(e))return e;if(i.isArrayBufferView(e))return e.buffer;if(i.isURLSearchParams(e))return l(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString();var n,o=i.isObject(e),a=t&&t["Content-Type"];if((n=i.isFileList(e))||o&&"multipart/form-data"===a){var u=this.env&&this.env.FormData;return s(n?{"files[]":e}:e,u&&new u)}return o||"application/json"===a?(l(t,"application/json"),function(e,t,n){if(i.isString(e))try{return(0,JSON.parse)(e),i.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||c.transitional,n=t&&t.silentJSONParsing,r=t&&t.forcedJSONParsing,a=!n&&"json"===this.responseType;if(a||r&&i.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(a){if("SyntaxError"===e.name)throw o.from(e,o.ERR_BAD_RESPONSE,this,null,this.response);throw e}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:n(1623)},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};i.forEach(["delete","get","head"],(function(e){c.headers[e]={}})),i.forEach(["post","put","patch"],(function(e){c.headers[e]=i.merge(u)})),e.exports=c},7874:e=>{e.exports={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}},7288:e=>{e.exports={version:"0.27.2"}},1849:e=>{e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),i=0;i<n.length;i++)n[i]=arguments[i];return e.apply(t,n)}}},5327:(e,t,n)=>{var i=n(4867);function r(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var o;if(n)o=n(t);else if(i.isURLSearchParams(t))o=t.toString();else{var a=[];i.forEach(t,(function(e,t){null!=e&&(i.isArray(e)?t+="[]":e=[e],i.forEach(e,(function(e){i.isDate(e)?e=e.toISOString():i.isObject(e)&&(e=JSON.stringify(e)),a.push(r(t)+"="+r(e))})))})),o=a.join("&")}if(o){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}},7303:e=>{e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},4372:(e,t,n)=>{var i=n(4867);e.exports=i.isStandardBrowserEnv()?{write:function(e,t,n,r,o,a){var s=[];s.push(e+"="+encodeURIComponent(t)),i.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),i.isString(r)&&s.push("path="+r),i.isString(o)&&s.push("domain="+o),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},1793:e=>{e.exports=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}},6268:(e,t,n)=>{var i=n(4867);e.exports=function(e){return i.isObject(e)&&!0===e.isAxiosError}},7985:(e,t,n)=>{var i=n(4867);e.exports=i.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function r(e){var i=e;return t&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=r(window.location.href),function(t){var n=i.isString(t)?r(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},6016:(e,t,n)=>{var i=n(4867);e.exports=function(e,t){i.forEach(e,(function(n,i){i!==t&&i.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[i])}))}},1623:e=>{e.exports=null},4109:(e,t,n)=>{var i=n(4867),r=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,o,a={};return e?(i.forEach(e.split("\n"),(function(e){if(o=e.indexOf(":"),t=i.trim(e.substr(0,o)).toLowerCase(),n=i.trim(e.substr(o+1)),t){if(a[t]&&r.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([n]):a[t]?a[t]+", "+n:n}})),a):a}},205:e=>{e.exports=function(e){var t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}},8713:e=>{e.exports=function(e){return function(t){return e.apply(null,t)}}},7675:(e,t,n)=>{var i=n(4867);e.exports=function(e,t){t=t||new FormData;var n=[];function r(e){return null===e?"":i.isDate(e)?e.toISOString():i.isArrayBuffer(e)||i.isTypedArray(e)?"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}return function e(o,a){if(i.isPlainObject(o)||i.isArray(o)){if(-1!==n.indexOf(o))throw Error("Circular reference detected in "+a);n.push(o),i.forEach(o,(function(n,o){if(!i.isUndefined(n)){var s,u=a?a+"."+o:o;if(n&&!a&&"object"==typeof n)if(i.endsWith(o,"{}"))n=JSON.stringify(n);else if(i.endsWith(o,"[]")&&(s=i.toArray(n)))return void s.forEach((function(e){!i.isUndefined(e)&&t.append(u,r(e))}));e(n,u)}})),n.pop()}else t.append(a,r(o))}(e),t}},4875:(e,t,n)=>{var i=n(7288).version,r=n(2648),o={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){o[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));var a={};o.transitional=function(e,t,n){function o(e,t){return"[Axios v"+i+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,i,s){if(!1===e)throw new r(o(i," has been removed"+(t?" in "+t:"")),r.ERR_DEPRECATED);return t&&!a[i]&&(a[i]=!0,console.warn(o(i," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,i,s)}},e.exports={assertOptions:function(e,t,n){if("object"!=typeof e)throw new r("options must be an object",r.ERR_BAD_OPTION_VALUE);for(var i=Object.keys(e),o=i.length;o-- >0;){var a=i[o],s=t[a];if(s){var u=e[a],l=void 0===u||s(u,a,e);if(!0!==l)throw new r("option "+a+" must be "+l,r.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new r("Unknown option "+a,r.ERR_BAD_OPTION)}},validators:o}},4867:(e,t,n)=>{var i,r=n(1849),o=Object.prototype.toString,a=(i=Object.create(null),function(e){var t=o.call(e);return i[t]||(i[t]=t.slice(8,-1).toLowerCase())});function s(e){return e=e.toLowerCase(),function(t){return a(t)===e}}function u(e){return Array.isArray(e)}function l(e){return void 0===e}var d=s("ArrayBuffer");function c(e){return null!==e&&"object"==typeof e}function p(e){if("object"!==a(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}var f=s("Date"),h=s("File"),m=s("Blob"),v=s("FileList");function g(e){return"[object Function]"===o.call(e)}var y=s("URLSearchParams");function b(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),u(e))for(var n=0,i=e.length;n<i;n++)t.call(null,e[n],n,e);else for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.call(null,e[r],r,e)}var w,S=(w="undefined"!=typeof Uint8Array&&Object.getPrototypeOf(Uint8Array),function(e){return w&&e instanceof w});e.exports={isArray:u,isArrayBuffer:d,isBuffer:function(e){return null!==e&&!l(e)&&null!==e.constructor&&!l(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){var t="[object FormData]";return e&&("function"==typeof FormData&&e instanceof FormData||o.call(e)===t||g(e.toString)&&e.toString()===t)},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&d(e.buffer)},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:c,isPlainObject:p,isUndefined:l,isDate:f,isFile:h,isBlob:m,isFunction:g,isStream:function(e){return c(e)&&g(e.pipe)},isURLSearchParams:y,isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach:b,merge:function e(){var t={};function n(n,i){p(t[i])&&p(n)?t[i]=e(t[i],n):p(n)?t[i]=e({},n):u(n)?t[i]=n.slice():t[i]=n}for(var i=0,r=arguments.length;i<r;i++)b(arguments[i],n);return t},extend:function(e,t,n){return b(t,(function(t,i){e[i]=n&&"function"==typeof t?r(t,n):t})),e},trim:function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e},inherits:function(e,t,n,i){e.prototype=Object.create(t.prototype,i),e.prototype.constructor=e,n&&Object.assign(e.prototype,n)},toFlatObject:function(e,t,n){var i,r,o,a={};t=t||{};do{for(r=(i=Object.getOwnPropertyNames(e)).length;r-- >0;)a[o=i[r]]||(t[o]=e[o],a[o]=!0);e=Object.getPrototypeOf(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:a,kindOfTest:s,endsWith:function(e,t,n){e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;var i=e.indexOf(t,n);return-1!==i&&i===n},toArray:function(e){if(!e)return null;var t=e.length;if(l(t))return null;for(var n=new Array(t);t-- >0;)n[t]=e[t];return n},isTypedArray:S,isFileList:v}},4184:(e,t)=>{var n;!function(){var i={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var o=typeof n;if("string"===o||"number"===o)e.push(n);else if(Array.isArray(n)){if(n.length){var a=r.apply(null,n);a&&e.push(a)}}else if("object"===o)if(n.toString===Object.prototype.toString)for(var s in n)i.call(n,s)&&n[s]&&e.push(s);else e.push(n.toString())}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(n=function(){return r}.apply(t,[]))||(e.exports=n)}()},3631:(e,t,n)=>{n.d(t,{Z:()=>s});var i=n(8081),r=n.n(i),o=n(5879),a=n.n(o)()(r());a.push([e.id,"@media screen and (min-width: 767px) {\n .meetelise-chat.pane.launcher__desktop {\n right: -32px;\n }\n}\n",""]);const s=a},5879:e=>{e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",i=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),i&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),i&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,i,r,o){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(i)for(var s=0;s<this.length;s++){var u=this[s][0];null!=u&&(a[u]=!0)}for(var l=0;l<e.length;l++){var d=[].concat(e[l]);i&&a[d[0]]||(void 0!==o&&(void 0===d[5]||(d[1]="@layer".concat(d[5].length>0?" ".concat(d[5]):""," {").concat(d[1],"}")),d[5]=o),n&&(d[2]?(d[1]="@media ".concat(d[2]," {").concat(d[1],"}"),d[2]=n):d[2]=n),r&&(d[4]?(d[1]="@supports (".concat(d[4],") {").concat(d[1],"}"),d[4]=r):d[4]="".concat(r)),t.push(d))}},t}},8081:e=>{e.exports=function(e){return e[1]}},8552:(e,t,n)=>{var i=n(852)(n(5639),"DataView");e.exports=i},1989:(e,t,n)=>{var i=n(1789),r=n(401),o=n(7667),a=n(1327),s=n(1866);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}u.prototype.clear=i,u.prototype.delete=r,u.prototype.get=o,u.prototype.has=a,u.prototype.set=s,e.exports=u},8407:(e,t,n)=>{var i=n(7040),r=n(4125),o=n(2117),a=n(7529),s=n(4705);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}u.prototype.clear=i,u.prototype.delete=r,u.prototype.get=o,u.prototype.has=a,u.prototype.set=s,e.exports=u},7071:(e,t,n)=>{var i=n(852)(n(5639),"Map");e.exports=i},3369:(e,t,n)=>{var i=n(4785),r=n(1285),o=n(6e3),a=n(9916),s=n(5265);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}u.prototype.clear=i,u.prototype.delete=r,u.prototype.get=o,u.prototype.has=a,u.prototype.set=s,e.exports=u},3818:(e,t,n)=>{var i=n(852)(n(5639),"Promise");e.exports=i},8525:(e,t,n)=>{var i=n(852)(n(5639),"Set");e.exports=i},1258:(e,t,n)=>{var i=n(3369),r=n(619),o=n(2385);function a(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new i;++t<n;)this.add(e[t])}a.prototype.add=a.prototype.push=r,a.prototype.has=o,e.exports=a},6384:(e,t,n)=>{var i=n(8407),r=n(7465),o=n(3779),a=n(7599),s=n(4758),u=n(4309);function l(e){var t=this.__data__=new i(e);this.size=t.size}l.prototype.clear=r,l.prototype.delete=o,l.prototype.get=a,l.prototype.has=s,l.prototype.set=u,e.exports=l},2705:(e,t,n)=>{var i=n(5639).Symbol;e.exports=i},1149:(e,t,n)=>{var i=n(5639).Uint8Array;e.exports=i},577:(e,t,n)=>{var i=n(852)(n(5639),"WeakMap");e.exports=i},4174:e=>{e.exports=function(e,t,n,i){for(var r=-1,o=null==e?0:e.length;++r<o;){var a=e[r];t(i,a,n(a),e)}return i}},4963:e=>{e.exports=function(e,t){for(var n=-1,i=null==e?0:e.length,r=0,o=[];++n<i;){var a=e[n];t(a,n,e)&&(o[r++]=a)}return o}},4636:(e,t,n)=>{var i=n(2545),r=n(5694),o=n(1469),a=n(4144),s=n(5776),u=n(6719),l=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=o(e),d=!n&&r(e),c=!n&&!d&&a(e),p=!n&&!d&&!c&&u(e),f=n||d||c||p,h=f?i(e.length,String):[],m=h.length;for(var v in e)!t&&!l.call(e,v)||f&&("length"==v||c&&("offset"==v||"parent"==v)||p&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||s(v,m))||h.push(v);return h}},9932:e=>{e.exports=function(e,t){for(var n=-1,i=null==e?0:e.length,r=Array(i);++n<i;)r[n]=t(e[n],n,e);return r}},2488:e=>{e.exports=function(e,t){for(var n=-1,i=t.length,r=e.length;++n<i;)e[r+n]=t[n];return e}},2908:e=>{e.exports=function(e,t){for(var n=-1,i=null==e?0:e.length;++n<i;)if(t(e[n],n,e))return!0;return!1}},8470:(e,t,n)=>{var i=n(7813);e.exports=function(e,t){for(var n=e.length;n--;)if(i(e[n][0],t))return n;return-1}},1119:(e,t,n)=>{var i=n(9881);e.exports=function(e,t,n,r){return i(e,(function(e,i,o){t(r,e,n(e),o)})),r}},9465:(e,t,n)=>{var i=n(8777);e.exports=function(e,t,n){"__proto__"==t&&i?i(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},9881:(e,t,n)=>{var i=n(7816),r=n(9291)(i);e.exports=r},8483:(e,t,n)=>{var i=n(5063)();e.exports=i},7816:(e,t,n)=>{var i=n(8483),r=n(3674);e.exports=function(e,t){return e&&i(e,t,r)}},2325:(e,t,n)=>{var i=n(1811),r=n(327);e.exports=function(e,t){for(var n=0,o=(t=i(t,e)).length;null!=e&&n<o;)e=e[r(t[n++])];return n&&n==o?e:void 0}},8866:(e,t,n)=>{var i=n(2488),r=n(1469);e.exports=function(e,t,n){var o=t(e);return r(e)?o:i(o,n(e))}},4239:(e,t,n)=>{var i=n(2705),r=n(9607),o=n(2333),a=i?i.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?r(e):o(e)}},13:e=>{e.exports=function(e,t){return null!=e&&t in Object(e)}},9454:(e,t,n)=>{var i=n(4239),r=n(7005);e.exports=function(e){return r(e)&&"[object Arguments]"==i(e)}},939:(e,t,n)=>{var i=n(2492),r=n(7005);e.exports=function e(t,n,o,a,s){return t===n||(null==t||null==n||!r(t)&&!r(n)?t!=t&&n!=n:i(t,n,o,a,e,s))}},2492:(e,t,n)=>{var i=n(6384),r=n(7114),o=n(8351),a=n(6096),s=n(4160),u=n(1469),l=n(4144),d=n(6719),c="[object Arguments]",p="[object Array]",f="[object Object]",h=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,m,v,g){var y=u(e),b=u(t),w=y?p:s(e),S=b?p:s(t),T=(w=w==c?f:w)==f,x=(S=S==c?f:S)==f,O=w==S;if(O&&l(e)){if(!l(t))return!1;y=!0,T=!1}if(O&&!T)return g||(g=new i),y||d(e)?r(e,t,n,m,v,g):o(e,t,w,n,m,v,g);if(!(1&n)){var I=T&&h.call(e,"__wrapped__"),R=x&&h.call(t,"__wrapped__");if(I||R){var N=I?e.value():e,A=R?t.value():t;return g||(g=new i),v(N,A,n,m,g)}}return!!O&&(g||(g=new i),a(e,t,n,m,v,g))}},2958:(e,t,n)=>{var i=n(6384),r=n(939);e.exports=function(e,t,n,o){var a=n.length,s=a,u=!o;if(null==e)return!s;for(e=Object(e);a--;){var l=n[a];if(u&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++a<s;){var d=(l=n[a])[0],c=e[d],p=l[1];if(u&&l[2]){if(void 0===c&&!(d in e))return!1}else{var f=new i;if(o)var h=o(c,p,d,e,t,f);if(!(void 0===h?r(p,c,3,o,f):h))return!1}}return!0}},8458:(e,t,n)=>{var i=n(3560),r=n(5346),o=n(3218),a=n(346),s=/^\[object .+?Constructor\]$/,u=Function.prototype,l=Object.prototype,d=u.toString,c=l.hasOwnProperty,p=RegExp("^"+d.call(c).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!o(e)||r(e))&&(i(e)?p:s).test(a(e))}},8749:(e,t,n)=>{var i=n(4239),r=n(1780),o=n(7005),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return o(e)&&r(e.length)&&!!a[i(e)]}},7206:(e,t,n)=>{var i=n(1573),r=n(6432),o=n(6557),a=n(1469),s=n(9601);e.exports=function(e){return"function"==typeof e?e:null==e?o:"object"==typeof e?a(e)?r(e[0],e[1]):i(e):s(e)}},280:(e,t,n)=>{var i=n(5726),r=n(6916),o=Object.prototype.hasOwnProperty;e.exports=function(e){if(!i(e))return r(e);var t=[];for(var n in Object(e))o.call(e,n)&&"constructor"!=n&&t.push(n);return t}},1573:(e,t,n)=>{var i=n(2958),r=n(1499),o=n(2634);e.exports=function(e){var t=r(e);return 1==t.length&&t[0][2]?o(t[0][0],t[0][1]):function(n){return n===e||i(n,e,t)}}},6432:(e,t,n)=>{var i=n(939),r=n(7361),o=n(9095),a=n(5403),s=n(9162),u=n(2634),l=n(327);e.exports=function(e,t){return a(e)&&s(t)?u(l(e),t):function(n){var a=r(n,e);return void 0===a&&a===t?o(n,e):i(t,a,3)}}},371:e=>{e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},9152:(e,t,n)=>{var i=n(2325);e.exports=function(e){return function(t){return i(t,e)}}},2545:e=>{e.exports=function(e,t){for(var n=-1,i=Array(e);++n<e;)i[n]=t(n);return i}},531:(e,t,n)=>{var i=n(2705),r=n(9932),o=n(1469),a=n(3448),s=i?i.prototype:void 0,u=s?s.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(o(t))return r(t,e)+"";if(a(t))return u?u.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}},7518:e=>{e.exports=function(e){return function(t){return e(t)}}},4757:e=>{e.exports=function(e,t){return e.has(t)}},1811:(e,t,n)=>{var i=n(1469),r=n(5403),o=n(5514),a=n(9833);e.exports=function(e,t){return i(e)?e:r(e,t)?[e]:o(a(e))}},4429:(e,t,n)=>{var i=n(5639)["__core-js_shared__"];e.exports=i},5189:(e,t,n)=>{var i=n(4174),r=n(1119),o=n(7206),a=n(1469);e.exports=function(e,t){return function(n,s){var u=a(n)?i:r,l=t?t():{};return u(n,e,o(s,2),l)}}},9291:(e,t,n)=>{var i=n(8612);e.exports=function(e,t){return function(n,r){if(null==n)return n;if(!i(n))return e(n,r);for(var o=n.length,a=t?o:-1,s=Object(n);(t?a--:++a<o)&&!1!==r(s[a],a,s););return n}}},5063:e=>{e.exports=function(e){return function(t,n,i){for(var r=-1,o=Object(t),a=i(t),s=a.length;s--;){var u=a[e?s:++r];if(!1===n(o[u],u,o))break}return t}}},8777:(e,t,n)=>{var i=n(852),r=function(){try{var e=i(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=r},7114:(e,t,n)=>{var i=n(1258),r=n(2908),o=n(4757);e.exports=function(e,t,n,a,s,u){var l=1&n,d=e.length,c=t.length;if(d!=c&&!(l&&c>d))return!1;var p=u.get(e),f=u.get(t);if(p&&f)return p==t&&f==e;var h=-1,m=!0,v=2&n?new i:void 0;for(u.set(e,t),u.set(t,e);++h<d;){var g=e[h],y=t[h];if(a)var b=l?a(y,g,h,t,e,u):a(g,y,h,e,t,u);if(void 0!==b){if(b)continue;m=!1;break}if(v){if(!r(t,(function(e,t){if(!o(v,t)&&(g===e||s(g,e,n,a,u)))return v.push(t)}))){m=!1;break}}else if(g!==y&&!s(g,y,n,a,u)){m=!1;break}}return u.delete(e),u.delete(t),m}},8351:(e,t,n)=>{var i=n(2705),r=n(1149),o=n(7813),a=n(7114),s=n(8776),u=n(1814),l=i?i.prototype:void 0,d=l?l.valueOf:void 0;e.exports=function(e,t,n,i,l,c,p){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!c(new r(e),new r(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return o(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var f=s;case"[object Set]":var h=1&i;if(f||(f=u),e.size!=t.size&&!h)return!1;var m=p.get(e);if(m)return m==t;i|=2,p.set(e,t);var v=a(f(e),f(t),i,l,c,p);return p.delete(e),v;case"[object Symbol]":if(d)return d.call(e)==d.call(t)}return!1}},6096:(e,t,n)=>{var i=n(8234),r=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,o,a,s){var u=1&n,l=i(e),d=l.length;if(d!=i(t).length&&!u)return!1;for(var c=d;c--;){var p=l[c];if(!(u?p in t:r.call(t,p)))return!1}var f=s.get(e),h=s.get(t);if(f&&h)return f==t&&h==e;var m=!0;s.set(e,t),s.set(t,e);for(var v=u;++c<d;){var g=e[p=l[c]],y=t[p];if(o)var b=u?o(y,g,p,t,e,s):o(g,y,p,e,t,s);if(!(void 0===b?g===y||a(g,y,n,o,s):b)){m=!1;break}v||(v="constructor"==p)}if(m&&!v){var w=e.constructor,S=t.constructor;w==S||!("constructor"in e)||!("constructor"in t)||"function"==typeof w&&w instanceof w&&"function"==typeof S&&S instanceof S||(m=!1)}return s.delete(e),s.delete(t),m}},1957:(e,t,n)=>{var i="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=i},8234:(e,t,n)=>{var i=n(8866),r=n(9551),o=n(3674);e.exports=function(e){return i(e,o,r)}},5050:(e,t,n)=>{var i=n(7019);e.exports=function(e,t){var n=e.__data__;return i(t)?n["string"==typeof t?"string":"hash"]:n.map}},1499:(e,t,n)=>{var i=n(9162),r=n(3674);e.exports=function(e){for(var t=r(e),n=t.length;n--;){var o=t[n],a=e[o];t[n]=[o,a,i(a)]}return t}},852:(e,t,n)=>{var i=n(8458),r=n(7801);e.exports=function(e,t){var n=r(e,t);return i(n)?n:void 0}},9607:(e,t,n)=>{var i=n(2705),r=Object.prototype,o=r.hasOwnProperty,a=r.toString,s=i?i.toStringTag:void 0;e.exports=function(e){var t=o.call(e,s),n=e[s];try{e[s]=void 0;var i=!0}catch(e){}var r=a.call(e);return i&&(t?e[s]=n:delete e[s]),r}},9551:(e,t,n)=>{var i=n(4963),r=n(479),o=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(e){return null==e?[]:(e=Object(e),i(a(e),(function(t){return o.call(e,t)})))}:r;e.exports=s},4160:(e,t,n)=>{var i=n(8552),r=n(7071),o=n(3818),a=n(8525),s=n(577),u=n(4239),l=n(346),d="[object Map]",c="[object Promise]",p="[object Set]",f="[object WeakMap]",h="[object DataView]",m=l(i),v=l(r),g=l(o),y=l(a),b=l(s),w=u;(i&&w(new i(new ArrayBuffer(1)))!=h||r&&w(new r)!=d||o&&w(o.resolve())!=c||a&&w(new a)!=p||s&&w(new s)!=f)&&(w=function(e){var t=u(e),n="[object Object]"==t?e.constructor:void 0,i=n?l(n):"";if(i)switch(i){case m:return h;case v:return d;case g:return c;case y:return p;case b:return f}return t}),e.exports=w},7801:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},222:(e,t,n)=>{var i=n(1811),r=n(5694),o=n(1469),a=n(5776),s=n(1780),u=n(327);e.exports=function(e,t,n){for(var l=-1,d=(t=i(t,e)).length,c=!1;++l<d;){var p=u(t[l]);if(!(c=null!=e&&n(e,p)))break;e=e[p]}return c||++l!=d?c:!!(d=null==e?0:e.length)&&s(d)&&a(p,d)&&(o(e)||r(e))}},1789:(e,t,n)=>{var i=n(4536);e.exports=function(){this.__data__=i?i(null):{},this.size=0}},401:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},7667:(e,t,n)=>{var i=n(4536),r=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(i){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return r.call(t,e)?t[e]:void 0}},1327:(e,t,n)=>{var i=n(4536),r=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return i?void 0!==t[e]:r.call(t,e)}},1866:(e,t,n)=>{var i=n(4536);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=i&&void 0===t?"__lodash_hash_undefined__":t,this}},5776:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var i=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==i||"symbol"!=i&&t.test(e))&&e>-1&&e%1==0&&e<n}},5403:(e,t,n)=>{var i=n(1469),r=n(3448),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(i(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!r(e))||a.test(e)||!o.test(e)||null!=t&&e in Object(t)}},7019:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},5346:(e,t,n)=>{var i,r=n(4429),o=(i=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||""))?"Symbol(src)_1."+i:"";e.exports=function(e){return!!o&&o in e}},5726:e=>{var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},9162:(e,t,n)=>{var i=n(3218);e.exports=function(e){return e==e&&!i(e)}},7040:e=>{e.exports=function(){this.__data__=[],this.size=0}},4125:(e,t,n)=>{var i=n(8470),r=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=i(t,e);return!(n<0||(n==t.length-1?t.pop():r.call(t,n,1),--this.size,0))}},2117:(e,t,n)=>{var i=n(8470);e.exports=function(e){var t=this.__data__,n=i(t,e);return n<0?void 0:t[n][1]}},7529:(e,t,n)=>{var i=n(8470);e.exports=function(e){return i(this.__data__,e)>-1}},4705:(e,t,n)=>{var i=n(8470);e.exports=function(e,t){var n=this.__data__,r=i(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}},4785:(e,t,n)=>{var i=n(1989),r=n(8407),o=n(7071);e.exports=function(){this.size=0,this.__data__={hash:new i,map:new(o||r),string:new i}}},1285:(e,t,n)=>{var i=n(5050);e.exports=function(e){var t=i(this,e).delete(e);return this.size-=t?1:0,t}},6e3:(e,t,n)=>{var i=n(5050);e.exports=function(e){return i(this,e).get(e)}},9916:(e,t,n)=>{var i=n(5050);e.exports=function(e){return i(this,e).has(e)}},5265:(e,t,n)=>{var i=n(5050);e.exports=function(e,t){var n=i(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}},8776:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,i){n[++t]=[i,e]})),n}},2634:e=>{e.exports=function(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}}},4523:(e,t,n)=>{var i=n(8306);e.exports=function(e){var t=i(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}},4536:(e,t,n)=>{var i=n(852)(Object,"create");e.exports=i},6916:(e,t,n)=>{var i=n(5569)(Object.keys,Object);e.exports=i},1167:(e,t,n)=>{e=n.nmd(e);var i=n(1957),r=t&&!t.nodeType&&t,o=r&&e&&!e.nodeType&&e,a=o&&o.exports===r&&i.process,s=function(){try{return o&&o.require&&o.require("util").types||a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=s},2333:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},5569:e=>{e.exports=function(e,t){return function(n){return e(t(n))}}},5639:(e,t,n)=>{var i=n(1957),r="object"==typeof self&&self&&self.Object===Object&&self,o=i||r||Function("return this")();e.exports=o},619:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},2385:e=>{e.exports=function(e){return this.__data__.has(e)}},1814:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},7465:(e,t,n)=>{var i=n(8407);e.exports=function(){this.__data__=new i,this.size=0}},3779:e=>{e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},7599:e=>{e.exports=function(e){return this.__data__.get(e)}},4758:e=>{e.exports=function(e){return this.__data__.has(e)}},4309:(e,t,n)=>{var i=n(8407),r=n(7071),o=n(3369);e.exports=function(e,t){var n=this.__data__;if(n instanceof i){var a=n.__data__;if(!r||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new o(a)}return n.set(e,t),this.size=n.size,this}},5514:(e,t,n)=>{var i=n(4523),r=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,a=i((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(r,(function(e,n,i,r){t.push(i?r.replace(o,"$1"):n||e)})),t}));e.exports=a},327:(e,t,n)=>{var i=n(3448);e.exports=function(e){if("string"==typeof e||i(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},346:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},7813:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},7361:(e,t,n)=>{var i=n(2325);e.exports=function(e,t,n){var r=null==e?void 0:i(e,t);return void 0===r?n:r}},7739:(e,t,n)=>{var i=n(9465),r=n(5189),o=Object.prototype.hasOwnProperty,a=r((function(e,t,n){o.call(e,n)?e[n].push(t):i(e,n,[t])}));e.exports=a},9095:(e,t,n)=>{var i=n(13),r=n(222);e.exports=function(e,t){return null!=e&&r(e,t,i)}},6557:e=>{e.exports=function(e){return e}},5694:(e,t,n)=>{var i=n(9454),r=n(7005),o=Object.prototype,a=o.hasOwnProperty,s=o.propertyIsEnumerable,u=i(function(){return arguments}())?i:function(e){return r(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=u},1469:e=>{var t=Array.isArray;e.exports=t},8612:(e,t,n)=>{var i=n(3560),r=n(1780);e.exports=function(e){return null!=e&&r(e.length)&&!i(e)}},4144:(e,t,n)=>{e=n.nmd(e);var i=n(5639),r=n(5062),o=t&&!t.nodeType&&t,a=o&&e&&!e.nodeType&&e,s=a&&a.exports===o?i.Buffer:void 0,u=(s?s.isBuffer:void 0)||r;e.exports=u},3560:(e,t,n)=>{var i=n(4239),r=n(3218);e.exports=function(e){if(!r(e))return!1;var t=i(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},1780:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},3218:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},7005:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},3448:(e,t,n)=>{var i=n(4239),r=n(7005);e.exports=function(e){return"symbol"==typeof e||r(e)&&"[object Symbol]"==i(e)}},6719:(e,t,n)=>{var i=n(8749),r=n(7518),o=n(1167),a=o&&o.isTypedArray,s=a?r(a):i;e.exports=s},3674:(e,t,n)=>{var i=n(4636),r=n(280),o=n(8612);e.exports=function(e){return o(e)?i(e):r(e)}},6486:function(e,t,n){var i;e=n.nmd(e),function(){var r,o="Expected a function",a="__lodash_hash_undefined__",s="__lodash_placeholder__",u=32,l=128,d=1/0,c=9007199254740991,p=NaN,f=4294967295,h=[["ary",l],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",u],["partialRight",64],["rearg",256]],m="[object Arguments]",v="[object Array]",g="[object Boolean]",y="[object Date]",b="[object Error]",w="[object Function]",S="[object GeneratorFunction]",T="[object Map]",x="[object Number]",O="[object Object]",I="[object Promise]",R="[object RegExp]",N="[object Set]",A="[object String]",C="[object Symbol]",_="[object WeakMap]",E="[object ArrayBuffer]",F="[object DataView]",M="[object Float32Array]",P="[object Float64Array]",D="[object Int8Array]",q="[object Int16Array]",U="[object Int32Array]",J="[object Uint8Array]",k="[object Uint8ClampedArray]",L="[object Uint16Array]",B="[object Uint32Array]",j=/\b__p \+= '';/g,H=/\b(__p \+=) '' \+/g,W=/(__e\(.*?\)|\b__t\)) \+\n'';/g,G=/&(?:amp|lt|gt|quot|#39);/g,$=/[&<>"']/g,z=RegExp(G.source),V=RegExp($.source),X=/<%-([\s\S]+?)%>/g,Z=/<%([\s\S]+?)%>/g,Q=/<%=([\s\S]+?)%>/g,K=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Y=/^\w*$/,ee=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,te=/[\\^$.*+?()[\]{}|]/g,ne=RegExp(te.source),ie=/^\s+/,re=/\s/,oe=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ae=/\{\n\/\* \[wrapped with (.+)\] \*/,se=/,? & /,ue=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,le=/[()=,{}\[\]\/\s]/,de=/\\(\\)?/g,ce=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,pe=/\w*$/,fe=/^[-+]0x[0-9a-f]+$/i,he=/^0b[01]+$/i,me=/^\[object .+?Constructor\]$/,ve=/^0o[0-7]+$/i,ge=/^(?:0|[1-9]\d*)$/,ye=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,be=/($^)/,we=/['\n\r\u2028\u2029\\]/g,Se="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Te="a-z\\xdf-\\xf6\\xf8-\\xff",xe="A-Z\\xc0-\\xd6\\xd8-\\xde",Oe="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Ie="["+Oe+"]",Re="["+Se+"]",Ne="\\d+",Ae="["+Te+"]",Ce="[^\\ud800-\\udfff"+Oe+Ne+"\\u2700-\\u27bf"+Te+xe+"]",_e="\\ud83c[\\udffb-\\udfff]",Ee="[^\\ud800-\\udfff]",Fe="(?:\\ud83c[\\udde6-\\uddff]){2}",Me="[\\ud800-\\udbff][\\udc00-\\udfff]",Pe="["+xe+"]",De="(?:"+Ae+"|"+Ce+")",qe="(?:"+Pe+"|"+Ce+")",Ue="(?:['’](?:d|ll|m|re|s|t|ve))?",Je="(?:['’](?:D|LL|M|RE|S|T|VE))?",ke="(?:"+Re+"|"+_e+")?",Le="[\\ufe0e\\ufe0f]?",Be=Le+ke+"(?:\\u200d(?:"+[Ee,Fe,Me].join("|")+")"+Le+ke+")*",je="(?:"+["[\\u2700-\\u27bf]",Fe,Me].join("|")+")"+Be,He="(?:"+[Ee+Re+"?",Re,Fe,Me,"[\\ud800-\\udfff]"].join("|")+")",We=RegExp("['’]","g"),Ge=RegExp(Re,"g"),$e=RegExp(_e+"(?="+_e+")|"+He+Be,"g"),ze=RegExp([Pe+"?"+Ae+"+"+Ue+"(?="+[Ie,Pe,"$"].join("|")+")",qe+"+"+Je+"(?="+[Ie,Pe+De,"$"].join("|")+")",Pe+"?"+De+"+"+Ue,Pe+"+"+Je,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Ne,je].join("|"),"g"),Ve=RegExp("[\\u200d\\ud800-\\udfff"+Se+"\\ufe0e\\ufe0f]"),Xe=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Ze=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Qe=-1,Ke={};Ke[M]=Ke[P]=Ke[D]=Ke[q]=Ke[U]=Ke[J]=Ke[k]=Ke[L]=Ke[B]=!0,Ke[m]=Ke[v]=Ke[E]=Ke[g]=Ke[F]=Ke[y]=Ke[b]=Ke[w]=Ke[T]=Ke[x]=Ke[O]=Ke[R]=Ke[N]=Ke[A]=Ke[_]=!1;var Ye={};Ye[m]=Ye[v]=Ye[E]=Ye[F]=Ye[g]=Ye[y]=Ye[M]=Ye[P]=Ye[D]=Ye[q]=Ye[U]=Ye[T]=Ye[x]=Ye[O]=Ye[R]=Ye[N]=Ye[A]=Ye[C]=Ye[J]=Ye[k]=Ye[L]=Ye[B]=!0,Ye[b]=Ye[w]=Ye[_]=!1;var et={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},tt=parseFloat,nt=parseInt,it="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,rt="object"==typeof self&&self&&self.Object===Object&&self,ot=it||rt||Function("return this")(),at=t&&!t.nodeType&&t,st=at&&e&&!e.nodeType&&e,ut=st&&st.exports===at,lt=ut&&it.process,dt=function(){try{return st&&st.require&&st.require("util").types||lt&<.binding&<.binding("util")}catch(e){}}(),ct=dt&&dt.isArrayBuffer,pt=dt&&dt.isDate,ft=dt&&dt.isMap,ht=dt&&dt.isRegExp,mt=dt&&dt.isSet,vt=dt&&dt.isTypedArray;function gt(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function yt(e,t,n,i){for(var r=-1,o=null==e?0:e.length;++r<o;){var a=e[r];t(i,a,n(a),e)}return i}function bt(e,t){for(var n=-1,i=null==e?0:e.length;++n<i&&!1!==t(e[n],n,e););return e}function wt(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function St(e,t){for(var n=-1,i=null==e?0:e.length;++n<i;)if(!t(e[n],n,e))return!1;return!0}function Tt(e,t){for(var n=-1,i=null==e?0:e.length,r=0,o=[];++n<i;){var a=e[n];t(a,n,e)&&(o[r++]=a)}return o}function xt(e,t){return!(null==e||!e.length)&&Mt(e,t,0)>-1}function Ot(e,t,n){for(var i=-1,r=null==e?0:e.length;++i<r;)if(n(t,e[i]))return!0;return!1}function It(e,t){for(var n=-1,i=null==e?0:e.length,r=Array(i);++n<i;)r[n]=t(e[n],n,e);return r}function Rt(e,t){for(var n=-1,i=t.length,r=e.length;++n<i;)e[r+n]=t[n];return e}function Nt(e,t,n,i){var r=-1,o=null==e?0:e.length;for(i&&o&&(n=e[++r]);++r<o;)n=t(n,e[r],r,e);return n}function At(e,t,n,i){var r=null==e?0:e.length;for(i&&r&&(n=e[--r]);r--;)n=t(n,e[r],r,e);return n}function Ct(e,t){for(var n=-1,i=null==e?0:e.length;++n<i;)if(t(e[n],n,e))return!0;return!1}var _t=Ut("length");function Et(e,t,n){var i;return n(e,(function(e,n,r){if(t(e,n,r))return i=n,!1})),i}function Ft(e,t,n,i){for(var r=e.length,o=n+(i?1:-1);i?o--:++o<r;)if(t(e[o],o,e))return o;return-1}function Mt(e,t,n){return t==t?function(e,t,n){for(var i=n-1,r=e.length;++i<r;)if(e[i]===t)return i;return-1}(e,t,n):Ft(e,Dt,n)}function Pt(e,t,n,i){for(var r=n-1,o=e.length;++r<o;)if(i(e[r],t))return r;return-1}function Dt(e){return e!=e}function qt(e,t){var n=null==e?0:e.length;return n?Lt(e,t)/n:p}function Ut(e){return function(t){return null==t?r:t[e]}}function Jt(e){return function(t){return null==e?r:e[t]}}function kt(e,t,n,i,r){return r(e,(function(e,r,o){n=i?(i=!1,e):t(n,e,r,o)})),n}function Lt(e,t){for(var n,i=-1,o=e.length;++i<o;){var a=t(e[i]);a!==r&&(n=n===r?a:n+a)}return n}function Bt(e,t){for(var n=-1,i=Array(e);++n<e;)i[n]=t(n);return i}function jt(e){return e?e.slice(0,sn(e)+1).replace(ie,""):e}function Ht(e){return function(t){return e(t)}}function Wt(e,t){return It(t,(function(t){return e[t]}))}function Gt(e,t){return e.has(t)}function $t(e,t){for(var n=-1,i=e.length;++n<i&&Mt(t,e[n],0)>-1;);return n}function zt(e,t){for(var n=e.length;n--&&Mt(t,e[n],0)>-1;);return n}function Vt(e,t){for(var n=e.length,i=0;n--;)e[n]===t&&++i;return i}var Xt=Jt({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"}),Zt=Jt({"&":"&","<":"<",">":">",'"':""","'":"'"});function Qt(e){return"\\"+et[e]}function Kt(e){return Ve.test(e)}function Yt(e){var t=-1,n=Array(e.size);return e.forEach((function(e,i){n[++t]=[i,e]})),n}function en(e,t){return function(n){return e(t(n))}}function tn(e,t){for(var n=-1,i=e.length,r=0,o=[];++n<i;){var a=e[n];a!==t&&a!==s||(e[n]=s,o[r++]=n)}return o}function nn(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}function rn(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}function on(e){return Kt(e)?function(e){for(var t=$e.lastIndex=0;$e.test(e);)++t;return t}(e):_t(e)}function an(e){return Kt(e)?function(e){return e.match($e)||[]}(e):function(e){return e.split("")}(e)}function sn(e){for(var t=e.length;t--&&re.test(e.charAt(t)););return t}var un=Jt({"&":"&","<":"<",">":">",""":'"',"'":"'"}),ln=function e(t){var n,i=(t=null==t?ot:ln.defaults(ot.Object(),t,ln.pick(ot,Ze))).Array,re=t.Date,Se=t.Error,Te=t.Function,xe=t.Math,Oe=t.Object,Ie=t.RegExp,Re=t.String,Ne=t.TypeError,Ae=i.prototype,Ce=Te.prototype,_e=Oe.prototype,Ee=t["__core-js_shared__"],Fe=Ce.toString,Me=_e.hasOwnProperty,Pe=0,De=(n=/[^.]+$/.exec(Ee&&Ee.keys&&Ee.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",qe=_e.toString,Ue=Fe.call(Oe),Je=ot._,ke=Ie("^"+Fe.call(Me).replace(te,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Le=ut?t.Buffer:r,Be=t.Symbol,je=t.Uint8Array,He=Le?Le.allocUnsafe:r,$e=en(Oe.getPrototypeOf,Oe),Ve=Oe.create,et=_e.propertyIsEnumerable,it=Ae.splice,rt=Be?Be.isConcatSpreadable:r,at=Be?Be.iterator:r,st=Be?Be.toStringTag:r,lt=function(){try{var e=lo(Oe,"defineProperty");return e({},"",{}),e}catch(e){}}(),dt=t.clearTimeout!==ot.clearTimeout&&t.clearTimeout,_t=re&&re.now!==ot.Date.now&&re.now,Jt=t.setTimeout!==ot.setTimeout&&t.setTimeout,dn=xe.ceil,cn=xe.floor,pn=Oe.getOwnPropertySymbols,fn=Le?Le.isBuffer:r,hn=t.isFinite,mn=Ae.join,vn=en(Oe.keys,Oe),gn=xe.max,yn=xe.min,bn=re.now,wn=t.parseInt,Sn=xe.random,Tn=Ae.reverse,xn=lo(t,"DataView"),On=lo(t,"Map"),In=lo(t,"Promise"),Rn=lo(t,"Set"),Nn=lo(t,"WeakMap"),An=lo(Oe,"create"),Cn=Nn&&new Nn,_n={},En=ko(xn),Fn=ko(On),Mn=ko(In),Pn=ko(Rn),Dn=ko(Nn),qn=Be?Be.prototype:r,Un=qn?qn.valueOf:r,Jn=qn?qn.toString:r;function kn(e){if(ns(e)&&!Ga(e)&&!(e instanceof Hn)){if(e instanceof jn)return e;if(Me.call(e,"__wrapped__"))return Lo(e)}return new jn(e)}var Ln=function(){function e(){}return function(t){if(!ts(t))return{};if(Ve)return Ve(t);e.prototype=t;var n=new e;return e.prototype=r,n}}();function Bn(){}function jn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=r}function Hn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=f,this.__views__=[]}function Wn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}function Gn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}function $n(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}function zn(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new $n;++t<n;)this.add(e[t])}function Vn(e){var t=this.__data__=new Gn(e);this.size=t.size}function Xn(e,t){var n=Ga(e),i=!n&&Wa(e),r=!n&&!i&&Xa(e),o=!n&&!i&&!r&&ds(e),a=n||i||r||o,s=a?Bt(e.length,Re):[],u=s.length;for(var l in e)!t&&!Me.call(e,l)||a&&("length"==l||r&&("offset"==l||"parent"==l)||o&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||go(l,u))||s.push(l);return s}function Zn(e){var t=e.length;return t?e[$i(0,t-1)]:r}function Qn(e,t){return Po(Nr(e),ai(t,0,e.length))}function Kn(e){return Po(Nr(e))}function Yn(e,t,n){(n!==r&&!Ba(e[t],n)||n===r&&!(t in e))&&ri(e,t,n)}function ei(e,t,n){var i=e[t];Me.call(e,t)&&Ba(i,n)&&(n!==r||t in e)||ri(e,t,n)}function ti(e,t){for(var n=e.length;n--;)if(Ba(e[n][0],t))return n;return-1}function ni(e,t,n,i){return ci(e,(function(e,r,o){t(i,e,n(e),o)})),i}function ii(e,t){return e&&Ar(t,Fs(t),e)}function ri(e,t,n){"__proto__"==t&<?lt(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function oi(e,t){for(var n=-1,o=t.length,a=i(o),s=null==e;++n<o;)a[n]=s?r:Ns(e,t[n]);return a}function ai(e,t,n){return e==e&&(n!==r&&(e=e<=n?e:n),t!==r&&(e=e>=t?e:t)),e}function si(e,t,n,i,o,a){var s,u=1&t,l=2&t,d=4&t;if(n&&(s=o?n(e,i,o,a):n(e)),s!==r)return s;if(!ts(e))return e;var c=Ga(e);if(c){if(s=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&Me.call(e,"index")&&(n.index=e.index,n.input=e.input),n}(e),!u)return Nr(e,s)}else{var p=fo(e),f=p==w||p==S;if(Xa(e))return Sr(e,u);if(p==O||p==m||f&&!o){if(s=l||f?{}:mo(e),!u)return l?function(e,t){return Ar(e,po(e),t)}(e,function(e,t){return e&&Ar(t,Ms(t),e)}(s,e)):function(e,t){return Ar(e,co(e),t)}(e,ii(s,e))}else{if(!Ye[p])return o?e:{};s=function(e,t,n){var i,r=e.constructor;switch(t){case E:return Tr(e);case g:case y:return new r(+e);case F:return function(e,t){var n=t?Tr(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case M:case P:case D:case q:case U:case J:case k:case L:case B:return xr(e,n);case T:return new r;case x:case A:return new r(e);case R:return function(e){var t=new e.constructor(e.source,pe.exec(e));return t.lastIndex=e.lastIndex,t}(e);case N:return new r;case C:return i=e,Un?Oe(Un.call(i)):{}}}(e,p,u)}}a||(a=new Vn);var h=a.get(e);if(h)return h;a.set(e,s),ss(e)?e.forEach((function(i){s.add(si(i,t,n,i,e,a))})):is(e)&&e.forEach((function(i,r){s.set(r,si(i,t,n,r,e,a))}));var v=c?r:(d?l?no:to:l?Ms:Fs)(e);return bt(v||e,(function(i,r){v&&(i=e[r=i]),ei(s,r,si(i,t,n,r,e,a))})),s}function ui(e,t,n){var i=n.length;if(null==e)return!i;for(e=Oe(e);i--;){var o=n[i],a=t[o],s=e[o];if(s===r&&!(o in e)||!a(s))return!1}return!0}function li(e,t,n){if("function"!=typeof e)throw new Ne(o);return _o((function(){e.apply(r,n)}),t)}function di(e,t,n,i){var r=-1,o=xt,a=!0,s=e.length,u=[],l=t.length;if(!s)return u;n&&(t=It(t,Ht(n))),i?(o=Ot,a=!1):t.length>=200&&(o=Gt,a=!1,t=new zn(t));e:for(;++r<s;){var d=e[r],c=null==n?d:n(d);if(d=i||0!==d?d:0,a&&c==c){for(var p=l;p--;)if(t[p]===c)continue e;u.push(d)}else o(t,c,i)||u.push(d)}return u}kn.templateSettings={escape:X,evaluate:Z,interpolate:Q,variable:"",imports:{_:kn}},kn.prototype=Bn.prototype,kn.prototype.constructor=kn,jn.prototype=Ln(Bn.prototype),jn.prototype.constructor=jn,Hn.prototype=Ln(Bn.prototype),Hn.prototype.constructor=Hn,Wn.prototype.clear=function(){this.__data__=An?An(null):{},this.size=0},Wn.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Wn.prototype.get=function(e){var t=this.__data__;if(An){var n=t[e];return n===a?r:n}return Me.call(t,e)?t[e]:r},Wn.prototype.has=function(e){var t=this.__data__;return An?t[e]!==r:Me.call(t,e)},Wn.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=An&&t===r?a:t,this},Gn.prototype.clear=function(){this.__data__=[],this.size=0},Gn.prototype.delete=function(e){var t=this.__data__,n=ti(t,e);return!(n<0||(n==t.length-1?t.pop():it.call(t,n,1),--this.size,0))},Gn.prototype.get=function(e){var t=this.__data__,n=ti(t,e);return n<0?r:t[n][1]},Gn.prototype.has=function(e){return ti(this.__data__,e)>-1},Gn.prototype.set=function(e,t){var n=this.__data__,i=ti(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this},$n.prototype.clear=function(){this.size=0,this.__data__={hash:new Wn,map:new(On||Gn),string:new Wn}},$n.prototype.delete=function(e){var t=so(this,e).delete(e);return this.size-=t?1:0,t},$n.prototype.get=function(e){return so(this,e).get(e)},$n.prototype.has=function(e){return so(this,e).has(e)},$n.prototype.set=function(e,t){var n=so(this,e),i=n.size;return n.set(e,t),this.size+=n.size==i?0:1,this},zn.prototype.add=zn.prototype.push=function(e){return this.__data__.set(e,a),this},zn.prototype.has=function(e){return this.__data__.has(e)},Vn.prototype.clear=function(){this.__data__=new Gn,this.size=0},Vn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Vn.prototype.get=function(e){return this.__data__.get(e)},Vn.prototype.has=function(e){return this.__data__.has(e)},Vn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Gn){var i=n.__data__;if(!On||i.length<199)return i.push([e,t]),this.size=++n.size,this;n=this.__data__=new $n(i)}return n.set(e,t),this.size=n.size,this};var ci=Er(bi),pi=Er(wi,!0);function fi(e,t){var n=!0;return ci(e,(function(e,i,r){return n=!!t(e,i,r)})),n}function hi(e,t,n){for(var i=-1,o=e.length;++i<o;){var a=e[i],s=t(a);if(null!=s&&(u===r?s==s&&!ls(s):n(s,u)))var u=s,l=a}return l}function mi(e,t){var n=[];return ci(e,(function(e,i,r){t(e,i,r)&&n.push(e)})),n}function vi(e,t,n,i,r){var o=-1,a=e.length;for(n||(n=vo),r||(r=[]);++o<a;){var s=e[o];t>0&&n(s)?t>1?vi(s,t-1,n,i,r):Rt(r,s):i||(r[r.length]=s)}return r}var gi=Fr(),yi=Fr(!0);function bi(e,t){return e&&gi(e,t,Fs)}function wi(e,t){return e&&yi(e,t,Fs)}function Si(e,t){return Tt(t,(function(t){return Ka(e[t])}))}function Ti(e,t){for(var n=0,i=(t=gr(t,e)).length;null!=e&&n<i;)e=e[Jo(t[n++])];return n&&n==i?e:r}function xi(e,t,n){var i=t(e);return Ga(e)?i:Rt(i,n(e))}function Oi(e){return null==e?e===r?"[object Undefined]":"[object Null]":st&&st in Oe(e)?function(e){var t=Me.call(e,st),n=e[st];try{e[st]=r;var i=!0}catch(e){}var o=qe.call(e);return i&&(t?e[st]=n:delete e[st]),o}(e):function(e){return qe.call(e)}(e)}function Ii(e,t){return e>t}function Ri(e,t){return null!=e&&Me.call(e,t)}function Ni(e,t){return null!=e&&t in Oe(e)}function Ai(e,t,n){for(var o=n?Ot:xt,a=e[0].length,s=e.length,u=s,l=i(s),d=1/0,c=[];u--;){var p=e[u];u&&t&&(p=It(p,Ht(t))),d=yn(p.length,d),l[u]=!n&&(t||a>=120&&p.length>=120)?new zn(u&&p):r}p=e[0];var f=-1,h=l[0];e:for(;++f<a&&c.length<d;){var m=p[f],v=t?t(m):m;if(m=n||0!==m?m:0,!(h?Gt(h,v):o(c,v,n))){for(u=s;--u;){var g=l[u];if(!(g?Gt(g,v):o(e[u],v,n)))continue e}h&&h.push(v),c.push(m)}}return c}function Ci(e,t,n){var i=null==(e=Ro(e,t=gr(t,e)))?e:e[Jo(Qo(t))];return null==i?r:gt(i,e,n)}function _i(e){return ns(e)&&Oi(e)==m}function Ei(e,t,n,i,o){return e===t||(null==e||null==t||!ns(e)&&!ns(t)?e!=e&&t!=t:function(e,t,n,i,o,a){var s=Ga(e),u=Ga(t),l=s?v:fo(e),d=u?v:fo(t),c=(l=l==m?O:l)==O,p=(d=d==m?O:d)==O,f=l==d;if(f&&Xa(e)){if(!Xa(t))return!1;s=!0,c=!1}if(f&&!c)return a||(a=new Vn),s||ds(e)?Yr(e,t,n,i,o,a):function(e,t,n,i,r,o,a){switch(n){case F:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case E:return!(e.byteLength!=t.byteLength||!o(new je(e),new je(t)));case g:case y:case x:return Ba(+e,+t);case b:return e.name==t.name&&e.message==t.message;case R:case A:return e==t+"";case T:var s=Yt;case N:var u=1&i;if(s||(s=nn),e.size!=t.size&&!u)return!1;var l=a.get(e);if(l)return l==t;i|=2,a.set(e,t);var d=Yr(s(e),s(t),i,r,o,a);return a.delete(e),d;case C:if(Un)return Un.call(e)==Un.call(t)}return!1}(e,t,l,n,i,o,a);if(!(1&n)){var h=c&&Me.call(e,"__wrapped__"),w=p&&Me.call(t,"__wrapped__");if(h||w){var S=h?e.value():e,I=w?t.value():t;return a||(a=new Vn),o(S,I,n,i,a)}}return!!f&&(a||(a=new Vn),function(e,t,n,i,o,a){var s=1&n,u=to(e),l=u.length;if(l!=to(t).length&&!s)return!1;for(var d=l;d--;){var c=u[d];if(!(s?c in t:Me.call(t,c)))return!1}var p=a.get(e),f=a.get(t);if(p&&f)return p==t&&f==e;var h=!0;a.set(e,t),a.set(t,e);for(var m=s;++d<l;){var v=e[c=u[d]],g=t[c];if(i)var y=s?i(g,v,c,t,e,a):i(v,g,c,e,t,a);if(!(y===r?v===g||o(v,g,n,i,a):y)){h=!1;break}m||(m="constructor"==c)}if(h&&!m){var b=e.constructor,w=t.constructor;b==w||!("constructor"in e)||!("constructor"in t)||"function"==typeof b&&b instanceof b&&"function"==typeof w&&w instanceof w||(h=!1)}return a.delete(e),a.delete(t),h}(e,t,n,i,o,a))}(e,t,n,i,Ei,o))}function Fi(e,t,n,i){var o=n.length,a=o,s=!i;if(null==e)return!a;for(e=Oe(e);o--;){var u=n[o];if(s&&u[2]?u[1]!==e[u[0]]:!(u[0]in e))return!1}for(;++o<a;){var l=(u=n[o])[0],d=e[l],c=u[1];if(s&&u[2]){if(d===r&&!(l in e))return!1}else{var p=new Vn;if(i)var f=i(d,c,l,e,t,p);if(!(f===r?Ei(c,d,3,i,p):f))return!1}}return!0}function Mi(e){return!(!ts(e)||(t=e,De&&De in t))&&(Ka(e)?ke:me).test(ko(e));var t}function Pi(e){return"function"==typeof e?e:null==e?ru:"object"==typeof e?Ga(e)?ki(e[0],e[1]):Ji(e):fu(e)}function Di(e){if(!To(e))return vn(e);var t=[];for(var n in Oe(e))Me.call(e,n)&&"constructor"!=n&&t.push(n);return t}function qi(e,t){return e<t}function Ui(e,t){var n=-1,r=za(e)?i(e.length):[];return ci(e,(function(e,i,o){r[++n]=t(e,i,o)})),r}function Ji(e){var t=uo(e);return 1==t.length&&t[0][2]?Oo(t[0][0],t[0][1]):function(n){return n===e||Fi(n,e,t)}}function ki(e,t){return bo(e)&&xo(t)?Oo(Jo(e),t):function(n){var i=Ns(n,e);return i===r&&i===t?As(n,e):Ei(t,i,3)}}function Li(e,t,n,i,o){e!==t&&gi(t,(function(a,s){if(o||(o=new Vn),ts(a))!function(e,t,n,i,o,a,s){var u=Ao(e,n),l=Ao(t,n),d=s.get(l);if(d)Yn(e,n,d);else{var c=a?a(u,l,n+"",e,t,s):r,p=c===r;if(p){var f=Ga(l),h=!f&&Xa(l),m=!f&&!h&&ds(l);c=l,f||h||m?Ga(u)?c=u:Va(u)?c=Nr(u):h?(p=!1,c=Sr(l,!0)):m?(p=!1,c=xr(l,!0)):c=[]:os(l)||Wa(l)?(c=u,Wa(u)?c=ys(u):ts(u)&&!Ka(u)||(c=mo(l))):p=!1}p&&(s.set(l,c),o(c,l,i,a,s),s.delete(l)),Yn(e,n,c)}}(e,t,s,n,Li,i,o);else{var u=i?i(Ao(e,s),a,s+"",e,t,o):r;u===r&&(u=a),Yn(e,s,u)}}),Ms)}function Bi(e,t){var n=e.length;if(n)return go(t+=t<0?n:0,n)?e[t]:r}function ji(e,t,n){t=t.length?It(t,(function(e){return Ga(e)?function(t){return Ti(t,1===e.length?e[0]:e)}:e})):[ru];var i=-1;t=It(t,Ht(ao()));var r=Ui(e,(function(e,n,r){var o=It(t,(function(t){return t(e)}));return{criteria:o,index:++i,value:e}}));return function(e,t){var i=e.length;for(e.sort((function(e,t){return function(e,t,n){for(var i=-1,r=e.criteria,o=t.criteria,a=r.length,s=n.length;++i<a;){var u=Or(r[i],o[i]);if(u)return i>=s?u:u*("desc"==n[i]?-1:1)}return e.index-t.index}(e,t,n)}));i--;)e[i]=e[i].value;return e}(r)}function Hi(e,t,n){for(var i=-1,r=t.length,o={};++i<r;){var a=t[i],s=Ti(e,a);n(s,a)&&Qi(o,gr(a,e),s)}return o}function Wi(e,t,n,i){var r=i?Pt:Mt,o=-1,a=t.length,s=e;for(e===t&&(t=Nr(t)),n&&(s=It(e,Ht(n)));++o<a;)for(var u=0,l=t[o],d=n?n(l):l;(u=r(s,d,u,i))>-1;)s!==e&&it.call(s,u,1),it.call(e,u,1);return e}function Gi(e,t){for(var n=e?t.length:0,i=n-1;n--;){var r=t[n];if(n==i||r!==o){var o=r;go(r)?it.call(e,r,1):lr(e,r)}}return e}function $i(e,t){return e+cn(Sn()*(t-e+1))}function zi(e,t){var n="";if(!e||t<1||t>c)return n;do{t%2&&(n+=e),(t=cn(t/2))&&(e+=e)}while(t);return n}function Vi(e,t){return Eo(Io(e,t,ru),e+"")}function Xi(e){return Zn(Bs(e))}function Zi(e,t){var n=Bs(e);return Po(n,ai(t,0,n.length))}function Qi(e,t,n,i){if(!ts(e))return e;for(var o=-1,a=(t=gr(t,e)).length,s=a-1,u=e;null!=u&&++o<a;){var l=Jo(t[o]),d=n;if("__proto__"===l||"constructor"===l||"prototype"===l)return e;if(o!=s){var c=u[l];(d=i?i(c,l,u):r)===r&&(d=ts(c)?c:go(t[o+1])?[]:{})}ei(u,l,d),u=u[l]}return e}var Ki=Cn?function(e,t){return Cn.set(e,t),e}:ru,Yi=lt?function(e,t){return lt(e,"toString",{configurable:!0,enumerable:!1,value:tu(t),writable:!0})}:ru;function er(e){return Po(Bs(e))}function tr(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var a=i(o);++r<o;)a[r]=e[r+t];return a}function nr(e,t){var n;return ci(e,(function(e,i,r){return!(n=t(e,i,r))})),!!n}function ir(e,t,n){var i=0,r=null==e?i:e.length;if("number"==typeof t&&t==t&&r<=2147483647){for(;i<r;){var o=i+r>>>1,a=e[o];null!==a&&!ls(a)&&(n?a<=t:a<t)?i=o+1:r=o}return r}return rr(e,t,ru,n)}function rr(e,t,n,i){var o=0,a=null==e?0:e.length;if(0===a)return 0;for(var s=(t=n(t))!=t,u=null===t,l=ls(t),d=t===r;o<a;){var c=cn((o+a)/2),p=n(e[c]),f=p!==r,h=null===p,m=p==p,v=ls(p);if(s)var g=i||m;else g=d?m&&(i||f):u?m&&f&&(i||!h):l?m&&f&&!h&&(i||!v):!h&&!v&&(i?p<=t:p<t);g?o=c+1:a=c}return yn(a,4294967294)}function or(e,t){for(var n=-1,i=e.length,r=0,o=[];++n<i;){var a=e[n],s=t?t(a):a;if(!n||!Ba(s,u)){var u=s;o[r++]=0===a?0:a}}return o}function ar(e){return"number"==typeof e?e:ls(e)?p:+e}function sr(e){if("string"==typeof e)return e;if(Ga(e))return It(e,sr)+"";if(ls(e))return Jn?Jn.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function ur(e,t,n){var i=-1,r=xt,o=e.length,a=!0,s=[],u=s;if(n)a=!1,r=Ot;else if(o>=200){var l=t?null:zr(e);if(l)return nn(l);a=!1,r=Gt,u=new zn}else u=t?[]:s;e:for(;++i<o;){var d=e[i],c=t?t(d):d;if(d=n||0!==d?d:0,a&&c==c){for(var p=u.length;p--;)if(u[p]===c)continue e;t&&u.push(c),s.push(d)}else r(u,c,n)||(u!==s&&u.push(c),s.push(d))}return s}function lr(e,t){return null==(e=Ro(e,t=gr(t,e)))||delete e[Jo(Qo(t))]}function dr(e,t,n,i){return Qi(e,t,n(Ti(e,t)),i)}function cr(e,t,n,i){for(var r=e.length,o=i?r:-1;(i?o--:++o<r)&&t(e[o],o,e););return n?tr(e,i?0:o,i?o+1:r):tr(e,i?o+1:0,i?r:o)}function pr(e,t){var n=e;return n instanceof Hn&&(n=n.value()),Nt(t,(function(e,t){return t.func.apply(t.thisArg,Rt([e],t.args))}),n)}function fr(e,t,n){var r=e.length;if(r<2)return r?ur(e[0]):[];for(var o=-1,a=i(r);++o<r;)for(var s=e[o],u=-1;++u<r;)u!=o&&(a[o]=di(a[o]||s,e[u],t,n));return ur(vi(a,1),t,n)}function hr(e,t,n){for(var i=-1,o=e.length,a=t.length,s={};++i<o;){var u=i<a?t[i]:r;n(s,e[i],u)}return s}function mr(e){return Va(e)?e:[]}function vr(e){return"function"==typeof e?e:ru}function gr(e,t){return Ga(e)?e:bo(e,t)?[e]:Uo(bs(e))}var yr=Vi;function br(e,t,n){var i=e.length;return n=n===r?i:n,!t&&n>=i?e:tr(e,t,n)}var wr=dt||function(e){return ot.clearTimeout(e)};function Sr(e,t){if(t)return e.slice();var n=e.length,i=He?He(n):new e.constructor(n);return e.copy(i),i}function Tr(e){var t=new e.constructor(e.byteLength);return new je(t).set(new je(e)),t}function xr(e,t){var n=t?Tr(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Or(e,t){if(e!==t){var n=e!==r,i=null===e,o=e==e,a=ls(e),s=t!==r,u=null===t,l=t==t,d=ls(t);if(!u&&!d&&!a&&e>t||a&&s&&l&&!u&&!d||i&&s&&l||!n&&l||!o)return 1;if(!i&&!a&&!d&&e<t||d&&n&&o&&!i&&!a||u&&n&&o||!s&&o||!l)return-1}return 0}function Ir(e,t,n,r){for(var o=-1,a=e.length,s=n.length,u=-1,l=t.length,d=gn(a-s,0),c=i(l+d),p=!r;++u<l;)c[u]=t[u];for(;++o<s;)(p||o<a)&&(c[n[o]]=e[o]);for(;d--;)c[u++]=e[o++];return c}function Rr(e,t,n,r){for(var o=-1,a=e.length,s=-1,u=n.length,l=-1,d=t.length,c=gn(a-u,0),p=i(c+d),f=!r;++o<c;)p[o]=e[o];for(var h=o;++l<d;)p[h+l]=t[l];for(;++s<u;)(f||o<a)&&(p[h+n[s]]=e[o++]);return p}function Nr(e,t){var n=-1,r=e.length;for(t||(t=i(r));++n<r;)t[n]=e[n];return t}function Ar(e,t,n,i){var o=!n;n||(n={});for(var a=-1,s=t.length;++a<s;){var u=t[a],l=i?i(n[u],e[u],u,n,e):r;l===r&&(l=e[u]),o?ri(n,u,l):ei(n,u,l)}return n}function Cr(e,t){return function(n,i){var r=Ga(n)?yt:ni,o=t?t():{};return r(n,e,ao(i,2),o)}}function _r(e){return Vi((function(t,n){var i=-1,o=n.length,a=o>1?n[o-1]:r,s=o>2?n[2]:r;for(a=e.length>3&&"function"==typeof a?(o--,a):r,s&&yo(n[0],n[1],s)&&(a=o<3?r:a,o=1),t=Oe(t);++i<o;){var u=n[i];u&&e(t,u,i,a)}return t}))}function Er(e,t){return function(n,i){if(null==n)return n;if(!za(n))return e(n,i);for(var r=n.length,o=t?r:-1,a=Oe(n);(t?o--:++o<r)&&!1!==i(a[o],o,a););return n}}function Fr(e){return function(t,n,i){for(var r=-1,o=Oe(t),a=i(t),s=a.length;s--;){var u=a[e?s:++r];if(!1===n(o[u],u,o))break}return t}}function Mr(e){return function(t){var n=Kt(t=bs(t))?an(t):r,i=n?n[0]:t.charAt(0),o=n?br(n,1).join(""):t.slice(1);return i[e]()+o}}function Pr(e){return function(t){return Nt(Ks(Ws(t).replace(We,"")),e,"")}}function Dr(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=Ln(e.prototype),i=e.apply(n,t);return ts(i)?i:n}}function qr(e){return function(t,n,i){var o=Oe(t);if(!za(t)){var a=ao(n,3);t=Fs(t),n=function(e){return a(o[e],e,o)}}var s=e(t,n,i);return s>-1?o[a?t[s]:s]:r}}function Ur(e){return eo((function(t){var n=t.length,i=n,a=jn.prototype.thru;for(e&&t.reverse();i--;){var s=t[i];if("function"!=typeof s)throw new Ne(o);if(a&&!u&&"wrapper"==ro(s))var u=new jn([],!0)}for(i=u?i:n;++i<n;){var l=ro(s=t[i]),d="wrapper"==l?io(s):r;u=d&&wo(d[0])&&424==d[1]&&!d[4].length&&1==d[9]?u[ro(d[0])].apply(u,d[3]):1==s.length&&wo(s)?u[l]():u.thru(s)}return function(){var e=arguments,i=e[0];if(u&&1==e.length&&Ga(i))return u.plant(i).value();for(var r=0,o=n?t[r].apply(this,e):i;++r<n;)o=t[r].call(this,o);return o}}))}function Jr(e,t,n,o,a,s,u,d,c,p){var f=t&l,h=1&t,m=2&t,v=24&t,g=512&t,y=m?r:Dr(e);return function r(){for(var l=arguments.length,b=i(l),w=l;w--;)b[w]=arguments[w];if(v)var S=oo(r),T=Vt(b,S);if(o&&(b=Ir(b,o,a,v)),s&&(b=Rr(b,s,u,v)),l-=T,v&&l<p){var x=tn(b,S);return Gr(e,t,Jr,r.placeholder,n,b,x,d,c,p-l)}var O=h?n:this,I=m?O[e]:e;return l=b.length,d?b=No(b,d):g&&l>1&&b.reverse(),f&&c<l&&(b.length=c),this&&this!==ot&&this instanceof r&&(I=y||Dr(I)),I.apply(O,b)}}function kr(e,t){return function(n,i){return function(e,t,n,i){return bi(e,(function(e,r,o){t(i,n(e),r,o)})),i}(n,e,t(i),{})}}function Lr(e,t){return function(n,i){var o;if(n===r&&i===r)return t;if(n!==r&&(o=n),i!==r){if(o===r)return i;"string"==typeof n||"string"==typeof i?(n=sr(n),i=sr(i)):(n=ar(n),i=ar(i)),o=e(n,i)}return o}}function Br(e){return eo((function(t){return t=It(t,Ht(ao())),Vi((function(n){var i=this;return e(t,(function(e){return gt(e,i,n)}))}))}))}function jr(e,t){var n=(t=t===r?" ":sr(t)).length;if(n<2)return n?zi(t,e):t;var i=zi(t,dn(e/on(t)));return Kt(t)?br(an(i),0,e).join(""):i.slice(0,e)}function Hr(e){return function(t,n,o){return o&&"number"!=typeof o&&yo(t,n,o)&&(n=o=r),t=hs(t),n===r?(n=t,t=0):n=hs(n),function(e,t,n,r){for(var o=-1,a=gn(dn((t-e)/(n||1)),0),s=i(a);a--;)s[r?a:++o]=e,e+=n;return s}(t,n,o=o===r?t<n?1:-1:hs(o),e)}}function Wr(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=gs(t),n=gs(n)),e(t,n)}}function Gr(e,t,n,i,o,a,s,l,d,c){var p=8&t;t|=p?u:64,4&(t&=~(p?64:u))||(t&=-4);var f=[e,t,o,p?a:r,p?s:r,p?r:a,p?r:s,l,d,c],h=n.apply(r,f);return wo(e)&&Co(h,f),h.placeholder=i,Fo(h,e,t)}function $r(e){var t=xe[e];return function(e,n){if(e=gs(e),(n=null==n?0:yn(ms(n),292))&&hn(e)){var i=(bs(e)+"e").split("e");return+((i=(bs(t(i[0]+"e"+(+i[1]+n)))+"e").split("e"))[0]+"e"+(+i[1]-n))}return t(e)}}var zr=Rn&&1/nn(new Rn([,-0]))[1]==d?function(e){return new Rn(e)}:lu;function Vr(e){return function(t){var n=fo(t);return n==T?Yt(t):n==N?rn(t):function(e,t){return It(t,(function(t){return[t,e[t]]}))}(t,e(t))}}function Xr(e,t,n,a,d,c,p,f){var h=2&t;if(!h&&"function"!=typeof e)throw new Ne(o);var m=a?a.length:0;if(m||(t&=-97,a=d=r),p=p===r?p:gn(ms(p),0),f=f===r?f:ms(f),m-=d?d.length:0,64&t){var v=a,g=d;a=d=r}var y=h?r:io(e),b=[e,t,n,a,d,v,g,c,p,f];if(y&&function(e,t){var n=e[1],i=t[1],r=n|i,o=r<131,a=i==l&&8==n||i==l&&256==n&&e[7].length<=t[8]||384==i&&t[7].length<=t[8]&&8==n;if(!o&&!a)return e;1&i&&(e[2]=t[2],r|=1&n?0:4);var u=t[3];if(u){var d=e[3];e[3]=d?Ir(d,u,t[4]):u,e[4]=d?tn(e[3],s):t[4]}(u=t[5])&&(d=e[5],e[5]=d?Rr(d,u,t[6]):u,e[6]=d?tn(e[5],s):t[6]),(u=t[7])&&(e[7]=u),i&l&&(e[8]=null==e[8]?t[8]:yn(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=r}(b,y),e=b[0],t=b[1],n=b[2],a=b[3],d=b[4],!(f=b[9]=b[9]===r?h?0:e.length:gn(b[9]-m,0))&&24&t&&(t&=-25),t&&1!=t)w=8==t||16==t?function(e,t,n){var o=Dr(e);return function a(){for(var s=arguments.length,u=i(s),l=s,d=oo(a);l--;)u[l]=arguments[l];var c=s<3&&u[0]!==d&&u[s-1]!==d?[]:tn(u,d);return(s-=c.length)<n?Gr(e,t,Jr,a.placeholder,r,u,c,r,r,n-s):gt(this&&this!==ot&&this instanceof a?o:e,this,u)}}(e,t,f):t!=u&&33!=t||d.length?Jr.apply(r,b):function(e,t,n,r){var o=1&t,a=Dr(e);return function t(){for(var s=-1,u=arguments.length,l=-1,d=r.length,c=i(d+u),p=this&&this!==ot&&this instanceof t?a:e;++l<d;)c[l]=r[l];for(;u--;)c[l++]=arguments[++s];return gt(p,o?n:this,c)}}(e,t,n,a);else var w=function(e,t,n){var i=1&t,r=Dr(e);return function t(){return(this&&this!==ot&&this instanceof t?r:e).apply(i?n:this,arguments)}}(e,t,n);return Fo((y?Ki:Co)(w,b),e,t)}function Zr(e,t,n,i){return e===r||Ba(e,_e[n])&&!Me.call(i,n)?t:e}function Qr(e,t,n,i,o,a){return ts(e)&&ts(t)&&(a.set(t,e),Li(e,t,r,Qr,a),a.delete(t)),e}function Kr(e){return os(e)?r:e}function Yr(e,t,n,i,o,a){var s=1&n,u=e.length,l=t.length;if(u!=l&&!(s&&l>u))return!1;var d=a.get(e),c=a.get(t);if(d&&c)return d==t&&c==e;var p=-1,f=!0,h=2&n?new zn:r;for(a.set(e,t),a.set(t,e);++p<u;){var m=e[p],v=t[p];if(i)var g=s?i(v,m,p,t,e,a):i(m,v,p,e,t,a);if(g!==r){if(g)continue;f=!1;break}if(h){if(!Ct(t,(function(e,t){if(!Gt(h,t)&&(m===e||o(m,e,n,i,a)))return h.push(t)}))){f=!1;break}}else if(m!==v&&!o(m,v,n,i,a)){f=!1;break}}return a.delete(e),a.delete(t),f}function eo(e){return Eo(Io(e,r,$o),e+"")}function to(e){return xi(e,Fs,co)}function no(e){return xi(e,Ms,po)}var io=Cn?function(e){return Cn.get(e)}:lu;function ro(e){for(var t=e.name+"",n=_n[t],i=Me.call(_n,t)?n.length:0;i--;){var r=n[i],o=r.func;if(null==o||o==e)return r.name}return t}function oo(e){return(Me.call(kn,"placeholder")?kn:e).placeholder}function ao(){var e=kn.iteratee||ou;return e=e===ou?Pi:e,arguments.length?e(arguments[0],arguments[1]):e}function so(e,t){var n,i,r=e.__data__;return("string"==(i=typeof(n=t))||"number"==i||"symbol"==i||"boolean"==i?"__proto__"!==n:null===n)?r["string"==typeof t?"string":"hash"]:r.map}function uo(e){for(var t=Fs(e),n=t.length;n--;){var i=t[n],r=e[i];t[n]=[i,r,xo(r)]}return t}function lo(e,t){var n=function(e,t){return null==e?r:e[t]}(e,t);return Mi(n)?n:r}var co=pn?function(e){return null==e?[]:(e=Oe(e),Tt(pn(e),(function(t){return et.call(e,t)})))}:vu,po=pn?function(e){for(var t=[];e;)Rt(t,co(e)),e=$e(e);return t}:vu,fo=Oi;function ho(e,t,n){for(var i=-1,r=(t=gr(t,e)).length,o=!1;++i<r;){var a=Jo(t[i]);if(!(o=null!=e&&n(e,a)))break;e=e[a]}return o||++i!=r?o:!!(r=null==e?0:e.length)&&es(r)&&go(a,r)&&(Ga(e)||Wa(e))}function mo(e){return"function"!=typeof e.constructor||To(e)?{}:Ln($e(e))}function vo(e){return Ga(e)||Wa(e)||!!(rt&&e&&e[rt])}function go(e,t){var n=typeof e;return!!(t=null==t?c:t)&&("number"==n||"symbol"!=n&&ge.test(e))&&e>-1&&e%1==0&&e<t}function yo(e,t,n){if(!ts(n))return!1;var i=typeof t;return!!("number"==i?za(n)&&go(t,n.length):"string"==i&&t in n)&&Ba(n[t],e)}function bo(e,t){if(Ga(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!ls(e))||Y.test(e)||!K.test(e)||null!=t&&e in Oe(t)}function wo(e){var t=ro(e),n=kn[t];if("function"!=typeof n||!(t in Hn.prototype))return!1;if(e===n)return!0;var i=io(n);return!!i&&e===i[0]}(xn&&fo(new xn(new ArrayBuffer(1)))!=F||On&&fo(new On)!=T||In&&fo(In.resolve())!=I||Rn&&fo(new Rn)!=N||Nn&&fo(new Nn)!=_)&&(fo=function(e){var t=Oi(e),n=t==O?e.constructor:r,i=n?ko(n):"";if(i)switch(i){case En:return F;case Fn:return T;case Mn:return I;case Pn:return N;case Dn:return _}return t});var So=Ee?Ka:gu;function To(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||_e)}function xo(e){return e==e&&!ts(e)}function Oo(e,t){return function(n){return null!=n&&n[e]===t&&(t!==r||e in Oe(n))}}function Io(e,t,n){return t=gn(t===r?e.length-1:t,0),function(){for(var r=arguments,o=-1,a=gn(r.length-t,0),s=i(a);++o<a;)s[o]=r[t+o];o=-1;for(var u=i(t+1);++o<t;)u[o]=r[o];return u[t]=n(s),gt(e,this,u)}}function Ro(e,t){return t.length<2?e:Ti(e,tr(t,0,-1))}function No(e,t){for(var n=e.length,i=yn(t.length,n),o=Nr(e);i--;){var a=t[i];e[i]=go(a,n)?o[a]:r}return e}function Ao(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var Co=Mo(Ki),_o=Jt||function(e,t){return ot.setTimeout(e,t)},Eo=Mo(Yi);function Fo(e,t,n){var i=t+"";return Eo(e,function(e,t){var n=t.length;if(!n)return e;var i=n-1;return t[i]=(n>1?"& ":"")+t[i],t=t.join(n>2?", ":" "),e.replace(oe,"{\n/* [wrapped with "+t+"] */\n")}(i,function(e,t){return bt(h,(function(n){var i="_."+n[0];t&n[1]&&!xt(e,i)&&e.push(i)})),e.sort()}(function(e){var t=e.match(ae);return t?t[1].split(se):[]}(i),n)))}function Mo(e){var t=0,n=0;return function(){var i=bn(),o=16-(i-n);if(n=i,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(r,arguments)}}function Po(e,t){var n=-1,i=e.length,o=i-1;for(t=t===r?i:t;++n<t;){var a=$i(n,o),s=e[a];e[a]=e[n],e[n]=s}return e.length=t,e}var Do,qo,Uo=(Do=Da((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(ee,(function(e,n,i,r){t.push(i?r.replace(de,"$1"):n||e)})),t}),(function(e){return 500===qo.size&&qo.clear(),e})),qo=Do.cache,Do);function Jo(e){if("string"==typeof e||ls(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function ko(e){if(null!=e){try{return Fe.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function Lo(e){if(e instanceof Hn)return e.clone();var t=new jn(e.__wrapped__,e.__chain__);return t.__actions__=Nr(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var Bo=Vi((function(e,t){return Va(e)?di(e,vi(t,1,Va,!0)):[]})),jo=Vi((function(e,t){var n=Qo(t);return Va(n)&&(n=r),Va(e)?di(e,vi(t,1,Va,!0),ao(n,2)):[]})),Ho=Vi((function(e,t){var n=Qo(t);return Va(n)&&(n=r),Va(e)?di(e,vi(t,1,Va,!0),r,n):[]}));function Wo(e,t,n){var i=null==e?0:e.length;if(!i)return-1;var r=null==n?0:ms(n);return r<0&&(r=gn(i+r,0)),Ft(e,ao(t,3),r)}function Go(e,t,n){var i=null==e?0:e.length;if(!i)return-1;var o=i-1;return n!==r&&(o=ms(n),o=n<0?gn(i+o,0):yn(o,i-1)),Ft(e,ao(t,3),o,!0)}function $o(e){return null!=e&&e.length?vi(e,1):[]}function zo(e){return e&&e.length?e[0]:r}var Vo=Vi((function(e){var t=It(e,mr);return t.length&&t[0]===e[0]?Ai(t):[]})),Xo=Vi((function(e){var t=Qo(e),n=It(e,mr);return t===Qo(n)?t=r:n.pop(),n.length&&n[0]===e[0]?Ai(n,ao(t,2)):[]})),Zo=Vi((function(e){var t=Qo(e),n=It(e,mr);return(t="function"==typeof t?t:r)&&n.pop(),n.length&&n[0]===e[0]?Ai(n,r,t):[]}));function Qo(e){var t=null==e?0:e.length;return t?e[t-1]:r}var Ko=Vi(Yo);function Yo(e,t){return e&&e.length&&t&&t.length?Wi(e,t):e}var ea=eo((function(e,t){var n=null==e?0:e.length,i=oi(e,t);return Gi(e,It(t,(function(e){return go(e,n)?+e:e})).sort(Or)),i}));function ta(e){return null==e?e:Tn.call(e)}var na=Vi((function(e){return ur(vi(e,1,Va,!0))})),ia=Vi((function(e){var t=Qo(e);return Va(t)&&(t=r),ur(vi(e,1,Va,!0),ao(t,2))})),ra=Vi((function(e){var t=Qo(e);return t="function"==typeof t?t:r,ur(vi(e,1,Va,!0),r,t)}));function oa(e){if(!e||!e.length)return[];var t=0;return e=Tt(e,(function(e){if(Va(e))return t=gn(e.length,t),!0})),Bt(t,(function(t){return It(e,Ut(t))}))}function aa(e,t){if(!e||!e.length)return[];var n=oa(e);return null==t?n:It(n,(function(e){return gt(t,r,e)}))}var sa=Vi((function(e,t){return Va(e)?di(e,t):[]})),ua=Vi((function(e){return fr(Tt(e,Va))})),la=Vi((function(e){var t=Qo(e);return Va(t)&&(t=r),fr(Tt(e,Va),ao(t,2))})),da=Vi((function(e){var t=Qo(e);return t="function"==typeof t?t:r,fr(Tt(e,Va),r,t)})),ca=Vi(oa),pa=Vi((function(e){var t=e.length,n=t>1?e[t-1]:r;return n="function"==typeof n?(e.pop(),n):r,aa(e,n)}));function fa(e){var t=kn(e);return t.__chain__=!0,t}function ha(e,t){return t(e)}var ma=eo((function(e){var t=e.length,n=t?e[0]:0,i=this.__wrapped__,o=function(t){return oi(t,e)};return!(t>1||this.__actions__.length)&&i instanceof Hn&&go(n)?((i=i.slice(n,+n+(t?1:0))).__actions__.push({func:ha,args:[o],thisArg:r}),new jn(i,this.__chain__).thru((function(e){return t&&!e.length&&e.push(r),e}))):this.thru(o)})),va=Cr((function(e,t,n){Me.call(e,n)?++e[n]:ri(e,n,1)})),ga=qr(Wo),ya=qr(Go);function ba(e,t){return(Ga(e)?bt:ci)(e,ao(t,3))}function wa(e,t){return(Ga(e)?wt:pi)(e,ao(t,3))}var Sa=Cr((function(e,t,n){Me.call(e,n)?e[n].push(t):ri(e,n,[t])})),Ta=Vi((function(e,t,n){var r=-1,o="function"==typeof t,a=za(e)?i(e.length):[];return ci(e,(function(e){a[++r]=o?gt(t,e,n):Ci(e,t,n)})),a})),xa=Cr((function(e,t,n){ri(e,n,t)}));function Oa(e,t){return(Ga(e)?It:Ui)(e,ao(t,3))}var Ia=Cr((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]})),Ra=Vi((function(e,t){if(null==e)return[];var n=t.length;return n>1&&yo(e,t[0],t[1])?t=[]:n>2&&yo(t[0],t[1],t[2])&&(t=[t[0]]),ji(e,vi(t,1),[])})),Na=_t||function(){return ot.Date.now()};function Aa(e,t,n){return t=n?r:t,t=e&&null==t?e.length:t,Xr(e,l,r,r,r,r,t)}function Ca(e,t){var n;if("function"!=typeof t)throw new Ne(o);return e=ms(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=r),n}}var _a=Vi((function(e,t,n){var i=1;if(n.length){var r=tn(n,oo(_a));i|=u}return Xr(e,i,t,n,r)})),Ea=Vi((function(e,t,n){var i=3;if(n.length){var r=tn(n,oo(Ea));i|=u}return Xr(t,i,e,n,r)}));function Fa(e,t,n){var i,a,s,u,l,d,c=0,p=!1,f=!1,h=!0;if("function"!=typeof e)throw new Ne(o);function m(t){var n=i,o=a;return i=a=r,c=t,u=e.apply(o,n)}function v(e){return c=e,l=_o(y,t),p?m(e):u}function g(e){var n=e-d;return d===r||n>=t||n<0||f&&e-c>=s}function y(){var e=Na();if(g(e))return b(e);l=_o(y,function(e){var n=t-(e-d);return f?yn(n,s-(e-c)):n}(e))}function b(e){return l=r,h&&i?m(e):(i=a=r,u)}function w(){var e=Na(),n=g(e);if(i=arguments,a=this,d=e,n){if(l===r)return v(d);if(f)return wr(l),l=_o(y,t),m(d)}return l===r&&(l=_o(y,t)),u}return t=gs(t)||0,ts(n)&&(p=!!n.leading,s=(f="maxWait"in n)?gn(gs(n.maxWait)||0,t):s,h="trailing"in n?!!n.trailing:h),w.cancel=function(){l!==r&&wr(l),c=0,i=d=a=l=r},w.flush=function(){return l===r?u:b(Na())},w}var Ma=Vi((function(e,t){return li(e,1,t)})),Pa=Vi((function(e,t,n){return li(e,gs(t)||0,n)}));function Da(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new Ne(o);var n=function(){var i=arguments,r=t?t.apply(this,i):i[0],o=n.cache;if(o.has(r))return o.get(r);var a=e.apply(this,i);return n.cache=o.set(r,a)||o,a};return n.cache=new(Da.Cache||$n),n}function qa(e){if("function"!=typeof e)throw new Ne(o);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}Da.Cache=$n;var Ua=yr((function(e,t){var n=(t=1==t.length&&Ga(t[0])?It(t[0],Ht(ao())):It(vi(t,1),Ht(ao()))).length;return Vi((function(i){for(var r=-1,o=yn(i.length,n);++r<o;)i[r]=t[r].call(this,i[r]);return gt(e,this,i)}))})),Ja=Vi((function(e,t){var n=tn(t,oo(Ja));return Xr(e,u,r,t,n)})),ka=Vi((function(e,t){var n=tn(t,oo(ka));return Xr(e,64,r,t,n)})),La=eo((function(e,t){return Xr(e,256,r,r,r,t)}));function Ba(e,t){return e===t||e!=e&&t!=t}var ja=Wr(Ii),Ha=Wr((function(e,t){return e>=t})),Wa=_i(function(){return arguments}())?_i:function(e){return ns(e)&&Me.call(e,"callee")&&!et.call(e,"callee")},Ga=i.isArray,$a=ct?Ht(ct):function(e){return ns(e)&&Oi(e)==E};function za(e){return null!=e&&es(e.length)&&!Ka(e)}function Va(e){return ns(e)&&za(e)}var Xa=fn||gu,Za=pt?Ht(pt):function(e){return ns(e)&&Oi(e)==y};function Qa(e){if(!ns(e))return!1;var t=Oi(e);return t==b||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!os(e)}function Ka(e){if(!ts(e))return!1;var t=Oi(e);return t==w||t==S||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Ya(e){return"number"==typeof e&&e==ms(e)}function es(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=c}function ts(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function ns(e){return null!=e&&"object"==typeof e}var is=ft?Ht(ft):function(e){return ns(e)&&fo(e)==T};function rs(e){return"number"==typeof e||ns(e)&&Oi(e)==x}function os(e){if(!ns(e)||Oi(e)!=O)return!1;var t=$e(e);if(null===t)return!0;var n=Me.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Fe.call(n)==Ue}var as=ht?Ht(ht):function(e){return ns(e)&&Oi(e)==R},ss=mt?Ht(mt):function(e){return ns(e)&&fo(e)==N};function us(e){return"string"==typeof e||!Ga(e)&&ns(e)&&Oi(e)==A}function ls(e){return"symbol"==typeof e||ns(e)&&Oi(e)==C}var ds=vt?Ht(vt):function(e){return ns(e)&&es(e.length)&&!!Ke[Oi(e)]},cs=Wr(qi),ps=Wr((function(e,t){return e<=t}));function fs(e){if(!e)return[];if(za(e))return us(e)?an(e):Nr(e);if(at&&e[at])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[at]());var t=fo(e);return(t==T?Yt:t==N?nn:Bs)(e)}function hs(e){return e?(e=gs(e))===d||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function ms(e){var t=hs(e),n=t%1;return t==t?n?t-n:t:0}function vs(e){return e?ai(ms(e),0,f):0}function gs(e){if("number"==typeof e)return e;if(ls(e))return p;if(ts(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=ts(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=jt(e);var n=he.test(e);return n||ve.test(e)?nt(e.slice(2),n?2:8):fe.test(e)?p:+e}function ys(e){return Ar(e,Ms(e))}function bs(e){return null==e?"":sr(e)}var ws=_r((function(e,t){if(To(t)||za(t))Ar(t,Fs(t),e);else for(var n in t)Me.call(t,n)&&ei(e,n,t[n])})),Ss=_r((function(e,t){Ar(t,Ms(t),e)})),Ts=_r((function(e,t,n,i){Ar(t,Ms(t),e,i)})),xs=_r((function(e,t,n,i){Ar(t,Fs(t),e,i)})),Os=eo(oi),Is=Vi((function(e,t){e=Oe(e);var n=-1,i=t.length,o=i>2?t[2]:r;for(o&&yo(t[0],t[1],o)&&(i=1);++n<i;)for(var a=t[n],s=Ms(a),u=-1,l=s.length;++u<l;){var d=s[u],c=e[d];(c===r||Ba(c,_e[d])&&!Me.call(e,d))&&(e[d]=a[d])}return e})),Rs=Vi((function(e){return e.push(r,Qr),gt(Ds,r,e)}));function Ns(e,t,n){var i=null==e?r:Ti(e,t);return i===r?n:i}function As(e,t){return null!=e&&ho(e,t,Ni)}var Cs=kr((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=qe.call(t)),e[t]=n}),tu(ru)),_s=kr((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=qe.call(t)),Me.call(e,t)?e[t].push(n):e[t]=[n]}),ao),Es=Vi(Ci);function Fs(e){return za(e)?Xn(e):Di(e)}function Ms(e){return za(e)?Xn(e,!0):function(e){if(!ts(e))return function(e){var t=[];if(null!=e)for(var n in Oe(e))t.push(n);return t}(e);var t=To(e),n=[];for(var i in e)("constructor"!=i||!t&&Me.call(e,i))&&n.push(i);return n}(e)}var Ps=_r((function(e,t,n){Li(e,t,n)})),Ds=_r((function(e,t,n,i){Li(e,t,n,i)})),qs=eo((function(e,t){var n={};if(null==e)return n;var i=!1;t=It(t,(function(t){return t=gr(t,e),i||(i=t.length>1),t})),Ar(e,no(e),n),i&&(n=si(n,7,Kr));for(var r=t.length;r--;)lr(n,t[r]);return n})),Us=eo((function(e,t){return null==e?{}:function(e,t){return Hi(e,t,(function(t,n){return As(e,n)}))}(e,t)}));function Js(e,t){if(null==e)return{};var n=It(no(e),(function(e){return[e]}));return t=ao(t),Hi(e,n,(function(e,n){return t(e,n[0])}))}var ks=Vr(Fs),Ls=Vr(Ms);function Bs(e){return null==e?[]:Wt(e,Fs(e))}var js=Pr((function(e,t,n){return t=t.toLowerCase(),e+(n?Hs(t):t)}));function Hs(e){return Qs(bs(e).toLowerCase())}function Ws(e){return(e=bs(e))&&e.replace(ye,Xt).replace(Ge,"")}var Gs=Pr((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),$s=Pr((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),zs=Mr("toLowerCase"),Vs=Pr((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()})),Xs=Pr((function(e,t,n){return e+(n?" ":"")+Qs(t)})),Zs=Pr((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),Qs=Mr("toUpperCase");function Ks(e,t,n){return e=bs(e),(t=n?r:t)===r?function(e){return Xe.test(e)}(e)?function(e){return e.match(ze)||[]}(e):function(e){return e.match(ue)||[]}(e):e.match(t)||[]}var Ys=Vi((function(e,t){try{return gt(e,r,t)}catch(e){return Qa(e)?e:new Se(e)}})),eu=eo((function(e,t){return bt(t,(function(t){t=Jo(t),ri(e,t,_a(e[t],e))})),e}));function tu(e){return function(){return e}}var nu=Ur(),iu=Ur(!0);function ru(e){return e}function ou(e){return Pi("function"==typeof e?e:si(e,1))}var au=Vi((function(e,t){return function(n){return Ci(n,e,t)}})),su=Vi((function(e,t){return function(n){return Ci(e,n,t)}}));function uu(e,t,n){var i=Fs(t),r=Si(t,i);null!=n||ts(t)&&(r.length||!i.length)||(n=t,t=e,e=this,r=Si(t,Fs(t)));var o=!(ts(n)&&"chain"in n&&!n.chain),a=Ka(e);return bt(r,(function(n){var i=t[n];e[n]=i,a&&(e.prototype[n]=function(){var t=this.__chain__;if(o||t){var n=e(this.__wrapped__),r=n.__actions__=Nr(this.__actions__);return r.push({func:i,args:arguments,thisArg:e}),n.__chain__=t,n}return i.apply(e,Rt([this.value()],arguments))})})),e}function lu(){}var du=Br(It),cu=Br(St),pu=Br(Ct);function fu(e){return bo(e)?Ut(Jo(e)):function(e){return function(t){return Ti(t,e)}}(e)}var hu=Hr(),mu=Hr(!0);function vu(){return[]}function gu(){return!1}var yu,bu=Lr((function(e,t){return e+t}),0),wu=$r("ceil"),Su=Lr((function(e,t){return e/t}),1),Tu=$r("floor"),xu=Lr((function(e,t){return e*t}),1),Ou=$r("round"),Iu=Lr((function(e,t){return e-t}),0);return kn.after=function(e,t){if("function"!=typeof t)throw new Ne(o);return e=ms(e),function(){if(--e<1)return t.apply(this,arguments)}},kn.ary=Aa,kn.assign=ws,kn.assignIn=Ss,kn.assignInWith=Ts,kn.assignWith=xs,kn.at=Os,kn.before=Ca,kn.bind=_a,kn.bindAll=eu,kn.bindKey=Ea,kn.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Ga(e)?e:[e]},kn.chain=fa,kn.chunk=function(e,t,n){t=(n?yo(e,t,n):t===r)?1:gn(ms(t),0);var o=null==e?0:e.length;if(!o||t<1)return[];for(var a=0,s=0,u=i(dn(o/t));a<o;)u[s++]=tr(e,a,a+=t);return u},kn.compact=function(e){for(var t=-1,n=null==e?0:e.length,i=0,r=[];++t<n;){var o=e[t];o&&(r[i++]=o)}return r},kn.concat=function(){var e=arguments.length;if(!e)return[];for(var t=i(e-1),n=arguments[0],r=e;r--;)t[r-1]=arguments[r];return Rt(Ga(n)?Nr(n):[n],vi(t,1))},kn.cond=function(e){var t=null==e?0:e.length,n=ao();return e=t?It(e,(function(e){if("function"!=typeof e[1])throw new Ne(o);return[n(e[0]),e[1]]})):[],Vi((function(n){for(var i=-1;++i<t;){var r=e[i];if(gt(r[0],this,n))return gt(r[1],this,n)}}))},kn.conforms=function(e){return function(e){var t=Fs(e);return function(n){return ui(n,e,t)}}(si(e,1))},kn.constant=tu,kn.countBy=va,kn.create=function(e,t){var n=Ln(e);return null==t?n:ii(n,t)},kn.curry=function e(t,n,i){var o=Xr(t,8,r,r,r,r,r,n=i?r:n);return o.placeholder=e.placeholder,o},kn.curryRight=function e(t,n,i){var o=Xr(t,16,r,r,r,r,r,n=i?r:n);return o.placeholder=e.placeholder,o},kn.debounce=Fa,kn.defaults=Is,kn.defaultsDeep=Rs,kn.defer=Ma,kn.delay=Pa,kn.difference=Bo,kn.differenceBy=jo,kn.differenceWith=Ho,kn.drop=function(e,t,n){var i=null==e?0:e.length;return i?tr(e,(t=n||t===r?1:ms(t))<0?0:t,i):[]},kn.dropRight=function(e,t,n){var i=null==e?0:e.length;return i?tr(e,0,(t=i-(t=n||t===r?1:ms(t)))<0?0:t):[]},kn.dropRightWhile=function(e,t){return e&&e.length?cr(e,ao(t,3),!0,!0):[]},kn.dropWhile=function(e,t){return e&&e.length?cr(e,ao(t,3),!0):[]},kn.fill=function(e,t,n,i){var o=null==e?0:e.length;return o?(n&&"number"!=typeof n&&yo(e,t,n)&&(n=0,i=o),function(e,t,n,i){var o=e.length;for((n=ms(n))<0&&(n=-n>o?0:o+n),(i=i===r||i>o?o:ms(i))<0&&(i+=o),i=n>i?0:vs(i);n<i;)e[n++]=t;return e}(e,t,n,i)):[]},kn.filter=function(e,t){return(Ga(e)?Tt:mi)(e,ao(t,3))},kn.flatMap=function(e,t){return vi(Oa(e,t),1)},kn.flatMapDeep=function(e,t){return vi(Oa(e,t),d)},kn.flatMapDepth=function(e,t,n){return n=n===r?1:ms(n),vi(Oa(e,t),n)},kn.flatten=$o,kn.flattenDeep=function(e){return null!=e&&e.length?vi(e,d):[]},kn.flattenDepth=function(e,t){return null!=e&&e.length?vi(e,t=t===r?1:ms(t)):[]},kn.flip=function(e){return Xr(e,512)},kn.flow=nu,kn.flowRight=iu,kn.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,i={};++t<n;){var r=e[t];i[r[0]]=r[1]}return i},kn.functions=function(e){return null==e?[]:Si(e,Fs(e))},kn.functionsIn=function(e){return null==e?[]:Si(e,Ms(e))},kn.groupBy=Sa,kn.initial=function(e){return null!=e&&e.length?tr(e,0,-1):[]},kn.intersection=Vo,kn.intersectionBy=Xo,kn.intersectionWith=Zo,kn.invert=Cs,kn.invertBy=_s,kn.invokeMap=Ta,kn.iteratee=ou,kn.keyBy=xa,kn.keys=Fs,kn.keysIn=Ms,kn.map=Oa,kn.mapKeys=function(e,t){var n={};return t=ao(t,3),bi(e,(function(e,i,r){ri(n,t(e,i,r),e)})),n},kn.mapValues=function(e,t){var n={};return t=ao(t,3),bi(e,(function(e,i,r){ri(n,i,t(e,i,r))})),n},kn.matches=function(e){return Ji(si(e,1))},kn.matchesProperty=function(e,t){return ki(e,si(t,1))},kn.memoize=Da,kn.merge=Ps,kn.mergeWith=Ds,kn.method=au,kn.methodOf=su,kn.mixin=uu,kn.negate=qa,kn.nthArg=function(e){return e=ms(e),Vi((function(t){return Bi(t,e)}))},kn.omit=qs,kn.omitBy=function(e,t){return Js(e,qa(ao(t)))},kn.once=function(e){return Ca(2,e)},kn.orderBy=function(e,t,n,i){return null==e?[]:(Ga(t)||(t=null==t?[]:[t]),Ga(n=i?r:n)||(n=null==n?[]:[n]),ji(e,t,n))},kn.over=du,kn.overArgs=Ua,kn.overEvery=cu,kn.overSome=pu,kn.partial=Ja,kn.partialRight=ka,kn.partition=Ia,kn.pick=Us,kn.pickBy=Js,kn.property=fu,kn.propertyOf=function(e){return function(t){return null==e?r:Ti(e,t)}},kn.pull=Ko,kn.pullAll=Yo,kn.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?Wi(e,t,ao(n,2)):e},kn.pullAllWith=function(e,t,n){return e&&e.length&&t&&t.length?Wi(e,t,r,n):e},kn.pullAt=ea,kn.range=hu,kn.rangeRight=mu,kn.rearg=La,kn.reject=function(e,t){return(Ga(e)?Tt:mi)(e,qa(ao(t,3)))},kn.remove=function(e,t){var n=[];if(!e||!e.length)return n;var i=-1,r=[],o=e.length;for(t=ao(t,3);++i<o;){var a=e[i];t(a,i,e)&&(n.push(a),r.push(i))}return Gi(e,r),n},kn.rest=function(e,t){if("function"!=typeof e)throw new Ne(o);return Vi(e,t=t===r?t:ms(t))},kn.reverse=ta,kn.sampleSize=function(e,t,n){return t=(n?yo(e,t,n):t===r)?1:ms(t),(Ga(e)?Qn:Zi)(e,t)},kn.set=function(e,t,n){return null==e?e:Qi(e,t,n)},kn.setWith=function(e,t,n,i){return i="function"==typeof i?i:r,null==e?e:Qi(e,t,n,i)},kn.shuffle=function(e){return(Ga(e)?Kn:er)(e)},kn.slice=function(e,t,n){var i=null==e?0:e.length;return i?(n&&"number"!=typeof n&&yo(e,t,n)?(t=0,n=i):(t=null==t?0:ms(t),n=n===r?i:ms(n)),tr(e,t,n)):[]},kn.sortBy=Ra,kn.sortedUniq=function(e){return e&&e.length?or(e):[]},kn.sortedUniqBy=function(e,t){return e&&e.length?or(e,ao(t,2)):[]},kn.split=function(e,t,n){return n&&"number"!=typeof n&&yo(e,t,n)&&(t=n=r),(n=n===r?f:n>>>0)?(e=bs(e))&&("string"==typeof t||null!=t&&!as(t))&&!(t=sr(t))&&Kt(e)?br(an(e),0,n):e.split(t,n):[]},kn.spread=function(e,t){if("function"!=typeof e)throw new Ne(o);return t=null==t?0:gn(ms(t),0),Vi((function(n){var i=n[t],r=br(n,0,t);return i&&Rt(r,i),gt(e,this,r)}))},kn.tail=function(e){var t=null==e?0:e.length;return t?tr(e,1,t):[]},kn.take=function(e,t,n){return e&&e.length?tr(e,0,(t=n||t===r?1:ms(t))<0?0:t):[]},kn.takeRight=function(e,t,n){var i=null==e?0:e.length;return i?tr(e,(t=i-(t=n||t===r?1:ms(t)))<0?0:t,i):[]},kn.takeRightWhile=function(e,t){return e&&e.length?cr(e,ao(t,3),!1,!0):[]},kn.takeWhile=function(e,t){return e&&e.length?cr(e,ao(t,3)):[]},kn.tap=function(e,t){return t(e),e},kn.throttle=function(e,t,n){var i=!0,r=!0;if("function"!=typeof e)throw new Ne(o);return ts(n)&&(i="leading"in n?!!n.leading:i,r="trailing"in n?!!n.trailing:r),Fa(e,t,{leading:i,maxWait:t,trailing:r})},kn.thru=ha,kn.toArray=fs,kn.toPairs=ks,kn.toPairsIn=Ls,kn.toPath=function(e){return Ga(e)?It(e,Jo):ls(e)?[e]:Nr(Uo(bs(e)))},kn.toPlainObject=ys,kn.transform=function(e,t,n){var i=Ga(e),r=i||Xa(e)||ds(e);if(t=ao(t,4),null==n){var o=e&&e.constructor;n=r?i?new o:[]:ts(e)&&Ka(o)?Ln($e(e)):{}}return(r?bt:bi)(e,(function(e,i,r){return t(n,e,i,r)})),n},kn.unary=function(e){return Aa(e,1)},kn.union=na,kn.unionBy=ia,kn.unionWith=ra,kn.uniq=function(e){return e&&e.length?ur(e):[]},kn.uniqBy=function(e,t){return e&&e.length?ur(e,ao(t,2)):[]},kn.uniqWith=function(e,t){return t="function"==typeof t?t:r,e&&e.length?ur(e,r,t):[]},kn.unset=function(e,t){return null==e||lr(e,t)},kn.unzip=oa,kn.unzipWith=aa,kn.update=function(e,t,n){return null==e?e:dr(e,t,vr(n))},kn.updateWith=function(e,t,n,i){return i="function"==typeof i?i:r,null==e?e:dr(e,t,vr(n),i)},kn.values=Bs,kn.valuesIn=function(e){return null==e?[]:Wt(e,Ms(e))},kn.without=sa,kn.words=Ks,kn.wrap=function(e,t){return Ja(vr(t),e)},kn.xor=ua,kn.xorBy=la,kn.xorWith=da,kn.zip=ca,kn.zipObject=function(e,t){return hr(e||[],t||[],ei)},kn.zipObjectDeep=function(e,t){return hr(e||[],t||[],Qi)},kn.zipWith=pa,kn.entries=ks,kn.entriesIn=Ls,kn.extend=Ss,kn.extendWith=Ts,uu(kn,kn),kn.add=bu,kn.attempt=Ys,kn.camelCase=js,kn.capitalize=Hs,kn.ceil=wu,kn.clamp=function(e,t,n){return n===r&&(n=t,t=r),n!==r&&(n=(n=gs(n))==n?n:0),t!==r&&(t=(t=gs(t))==t?t:0),ai(gs(e),t,n)},kn.clone=function(e){return si(e,4)},kn.cloneDeep=function(e){return si(e,5)},kn.cloneDeepWith=function(e,t){return si(e,5,t="function"==typeof t?t:r)},kn.cloneWith=function(e,t){return si(e,4,t="function"==typeof t?t:r)},kn.conformsTo=function(e,t){return null==t||ui(e,t,Fs(t))},kn.deburr=Ws,kn.defaultTo=function(e,t){return null==e||e!=e?t:e},kn.divide=Su,kn.endsWith=function(e,t,n){e=bs(e),t=sr(t);var i=e.length,o=n=n===r?i:ai(ms(n),0,i);return(n-=t.length)>=0&&e.slice(n,o)==t},kn.eq=Ba,kn.escape=function(e){return(e=bs(e))&&V.test(e)?e.replace($,Zt):e},kn.escapeRegExp=function(e){return(e=bs(e))&&ne.test(e)?e.replace(te,"\\$&"):e},kn.every=function(e,t,n){var i=Ga(e)?St:fi;return n&&yo(e,t,n)&&(t=r),i(e,ao(t,3))},kn.find=ga,kn.findIndex=Wo,kn.findKey=function(e,t){return Et(e,ao(t,3),bi)},kn.findLast=ya,kn.findLastIndex=Go,kn.findLastKey=function(e,t){return Et(e,ao(t,3),wi)},kn.floor=Tu,kn.forEach=ba,kn.forEachRight=wa,kn.forIn=function(e,t){return null==e?e:gi(e,ao(t,3),Ms)},kn.forInRight=function(e,t){return null==e?e:yi(e,ao(t,3),Ms)},kn.forOwn=function(e,t){return e&&bi(e,ao(t,3))},kn.forOwnRight=function(e,t){return e&&wi(e,ao(t,3))},kn.get=Ns,kn.gt=ja,kn.gte=Ha,kn.has=function(e,t){return null!=e&&ho(e,t,Ri)},kn.hasIn=As,kn.head=zo,kn.identity=ru,kn.includes=function(e,t,n,i){e=za(e)?e:Bs(e),n=n&&!i?ms(n):0;var r=e.length;return n<0&&(n=gn(r+n,0)),us(e)?n<=r&&e.indexOf(t,n)>-1:!!r&&Mt(e,t,n)>-1},kn.indexOf=function(e,t,n){var i=null==e?0:e.length;if(!i)return-1;var r=null==n?0:ms(n);return r<0&&(r=gn(i+r,0)),Mt(e,t,r)},kn.inRange=function(e,t,n){return t=hs(t),n===r?(n=t,t=0):n=hs(n),function(e,t,n){return e>=yn(t,n)&&e<gn(t,n)}(e=gs(e),t,n)},kn.invoke=Es,kn.isArguments=Wa,kn.isArray=Ga,kn.isArrayBuffer=$a,kn.isArrayLike=za,kn.isArrayLikeObject=Va,kn.isBoolean=function(e){return!0===e||!1===e||ns(e)&&Oi(e)==g},kn.isBuffer=Xa,kn.isDate=Za,kn.isElement=function(e){return ns(e)&&1===e.nodeType&&!os(e)},kn.isEmpty=function(e){if(null==e)return!0;if(za(e)&&(Ga(e)||"string"==typeof e||"function"==typeof e.splice||Xa(e)||ds(e)||Wa(e)))return!e.length;var t=fo(e);if(t==T||t==N)return!e.size;if(To(e))return!Di(e).length;for(var n in e)if(Me.call(e,n))return!1;return!0},kn.isEqual=function(e,t){return Ei(e,t)},kn.isEqualWith=function(e,t,n){var i=(n="function"==typeof n?n:r)?n(e,t):r;return i===r?Ei(e,t,r,n):!!i},kn.isError=Qa,kn.isFinite=function(e){return"number"==typeof e&&hn(e)},kn.isFunction=Ka,kn.isInteger=Ya,kn.isLength=es,kn.isMap=is,kn.isMatch=function(e,t){return e===t||Fi(e,t,uo(t))},kn.isMatchWith=function(e,t,n){return n="function"==typeof n?n:r,Fi(e,t,uo(t),n)},kn.isNaN=function(e){return rs(e)&&e!=+e},kn.isNative=function(e){if(So(e))throw new Se("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Mi(e)},kn.isNil=function(e){return null==e},kn.isNull=function(e){return null===e},kn.isNumber=rs,kn.isObject=ts,kn.isObjectLike=ns,kn.isPlainObject=os,kn.isRegExp=as,kn.isSafeInteger=function(e){return Ya(e)&&e>=-9007199254740991&&e<=c},kn.isSet=ss,kn.isString=us,kn.isSymbol=ls,kn.isTypedArray=ds,kn.isUndefined=function(e){return e===r},kn.isWeakMap=function(e){return ns(e)&&fo(e)==_},kn.isWeakSet=function(e){return ns(e)&&"[object WeakSet]"==Oi(e)},kn.join=function(e,t){return null==e?"":mn.call(e,t)},kn.kebabCase=Gs,kn.last=Qo,kn.lastIndexOf=function(e,t,n){var i=null==e?0:e.length;if(!i)return-1;var o=i;return n!==r&&(o=(o=ms(n))<0?gn(i+o,0):yn(o,i-1)),t==t?function(e,t,n){for(var i=n+1;i--;)if(e[i]===t)return i;return i}(e,t,o):Ft(e,Dt,o,!0)},kn.lowerCase=$s,kn.lowerFirst=zs,kn.lt=cs,kn.lte=ps,kn.max=function(e){return e&&e.length?hi(e,ru,Ii):r},kn.maxBy=function(e,t){return e&&e.length?hi(e,ao(t,2),Ii):r},kn.mean=function(e){return qt(e,ru)},kn.meanBy=function(e,t){return qt(e,ao(t,2))},kn.min=function(e){return e&&e.length?hi(e,ru,qi):r},kn.minBy=function(e,t){return e&&e.length?hi(e,ao(t,2),qi):r},kn.stubArray=vu,kn.stubFalse=gu,kn.stubObject=function(){return{}},kn.stubString=function(){return""},kn.stubTrue=function(){return!0},kn.multiply=xu,kn.nth=function(e,t){return e&&e.length?Bi(e,ms(t)):r},kn.noConflict=function(){return ot._===this&&(ot._=Je),this},kn.noop=lu,kn.now=Na,kn.pad=function(e,t,n){e=bs(e);var i=(t=ms(t))?on(e):0;if(!t||i>=t)return e;var r=(t-i)/2;return jr(cn(r),n)+e+jr(dn(r),n)},kn.padEnd=function(e,t,n){e=bs(e);var i=(t=ms(t))?on(e):0;return t&&i<t?e+jr(t-i,n):e},kn.padStart=function(e,t,n){e=bs(e);var i=(t=ms(t))?on(e):0;return t&&i<t?jr(t-i,n)+e:e},kn.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),wn(bs(e).replace(ie,""),t||0)},kn.random=function(e,t,n){if(n&&"boolean"!=typeof n&&yo(e,t,n)&&(t=n=r),n===r&&("boolean"==typeof t?(n=t,t=r):"boolean"==typeof e&&(n=e,e=r)),e===r&&t===r?(e=0,t=1):(e=hs(e),t===r?(t=e,e=0):t=hs(t)),e>t){var i=e;e=t,t=i}if(n||e%1||t%1){var o=Sn();return yn(e+o*(t-e+tt("1e-"+((o+"").length-1))),t)}return $i(e,t)},kn.reduce=function(e,t,n){var i=Ga(e)?Nt:kt,r=arguments.length<3;return i(e,ao(t,4),n,r,ci)},kn.reduceRight=function(e,t,n){var i=Ga(e)?At:kt,r=arguments.length<3;return i(e,ao(t,4),n,r,pi)},kn.repeat=function(e,t,n){return t=(n?yo(e,t,n):t===r)?1:ms(t),zi(bs(e),t)},kn.replace=function(){var e=arguments,t=bs(e[0]);return e.length<3?t:t.replace(e[1],e[2])},kn.result=function(e,t,n){var i=-1,o=(t=gr(t,e)).length;for(o||(o=1,e=r);++i<o;){var a=null==e?r:e[Jo(t[i])];a===r&&(i=o,a=n),e=Ka(a)?a.call(e):a}return e},kn.round=Ou,kn.runInContext=e,kn.sample=function(e){return(Ga(e)?Zn:Xi)(e)},kn.size=function(e){if(null==e)return 0;if(za(e))return us(e)?on(e):e.length;var t=fo(e);return t==T||t==N?e.size:Di(e).length},kn.snakeCase=Vs,kn.some=function(e,t,n){var i=Ga(e)?Ct:nr;return n&&yo(e,t,n)&&(t=r),i(e,ao(t,3))},kn.sortedIndex=function(e,t){return ir(e,t)},kn.sortedIndexBy=function(e,t,n){return rr(e,t,ao(n,2))},kn.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var i=ir(e,t);if(i<n&&Ba(e[i],t))return i}return-1},kn.sortedLastIndex=function(e,t){return ir(e,t,!0)},kn.sortedLastIndexBy=function(e,t,n){return rr(e,t,ao(n,2),!0)},kn.sortedLastIndexOf=function(e,t){if(null!=e&&e.length){var n=ir(e,t,!0)-1;if(Ba(e[n],t))return n}return-1},kn.startCase=Xs,kn.startsWith=function(e,t,n){return e=bs(e),n=null==n?0:ai(ms(n),0,e.length),t=sr(t),e.slice(n,n+t.length)==t},kn.subtract=Iu,kn.sum=function(e){return e&&e.length?Lt(e,ru):0},kn.sumBy=function(e,t){return e&&e.length?Lt(e,ao(t,2)):0},kn.template=function(e,t,n){var i=kn.templateSettings;n&&yo(e,t,n)&&(t=r),e=bs(e),t=Ts({},t,i,Zr);var o,a,s=Ts({},t.imports,i.imports,Zr),u=Fs(s),l=Wt(s,u),d=0,c=t.interpolate||be,p="__p += '",f=Ie((t.escape||be).source+"|"+c.source+"|"+(c===Q?ce:be).source+"|"+(t.evaluate||be).source+"|$","g"),h="//# sourceURL="+(Me.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Qe+"]")+"\n";e.replace(f,(function(t,n,i,r,s,u){return i||(i=r),p+=e.slice(d,u).replace(we,Qt),n&&(o=!0,p+="' +\n__e("+n+") +\n'"),s&&(a=!0,p+="';\n"+s+";\n__p += '"),i&&(p+="' +\n((__t = ("+i+")) == null ? '' : __t) +\n'"),d=u+t.length,t})),p+="';\n";var m=Me.call(t,"variable")&&t.variable;if(m){if(le.test(m))throw new Se("Invalid `variable` option passed into `_.template`")}else p="with (obj) {\n"+p+"\n}\n";p=(a?p.replace(j,""):p).replace(H,"$1").replace(W,"$1;"),p="function("+(m||"obj")+") {\n"+(m?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+p+"return __p\n}";var v=Ys((function(){return Te(u,h+"return "+p).apply(r,l)}));if(v.source=p,Qa(v))throw v;return v},kn.times=function(e,t){if((e=ms(e))<1||e>c)return[];var n=f,i=yn(e,f);t=ao(t),e-=f;for(var r=Bt(i,t);++n<e;)t(n);return r},kn.toFinite=hs,kn.toInteger=ms,kn.toLength=vs,kn.toLower=function(e){return bs(e).toLowerCase()},kn.toNumber=gs,kn.toSafeInteger=function(e){return e?ai(ms(e),-9007199254740991,c):0===e?e:0},kn.toString=bs,kn.toUpper=function(e){return bs(e).toUpperCase()},kn.trim=function(e,t,n){if((e=bs(e))&&(n||t===r))return jt(e);if(!e||!(t=sr(t)))return e;var i=an(e),o=an(t);return br(i,$t(i,o),zt(i,o)+1).join("")},kn.trimEnd=function(e,t,n){if((e=bs(e))&&(n||t===r))return e.slice(0,sn(e)+1);if(!e||!(t=sr(t)))return e;var i=an(e);return br(i,0,zt(i,an(t))+1).join("")},kn.trimStart=function(e,t,n){if((e=bs(e))&&(n||t===r))return e.replace(ie,"");if(!e||!(t=sr(t)))return e;var i=an(e);return br(i,$t(i,an(t))).join("")},kn.truncate=function(e,t){var n=30,i="...";if(ts(t)){var o="separator"in t?t.separator:o;n="length"in t?ms(t.length):n,i="omission"in t?sr(t.omission):i}var a=(e=bs(e)).length;if(Kt(e)){var s=an(e);a=s.length}if(n>=a)return e;var u=n-on(i);if(u<1)return i;var l=s?br(s,0,u).join(""):e.slice(0,u);if(o===r)return l+i;if(s&&(u+=l.length-u),as(o)){if(e.slice(u).search(o)){var d,c=l;for(o.global||(o=Ie(o.source,bs(pe.exec(o))+"g")),o.lastIndex=0;d=o.exec(c);)var p=d.index;l=l.slice(0,p===r?u:p)}}else if(e.indexOf(sr(o),u)!=u){var f=l.lastIndexOf(o);f>-1&&(l=l.slice(0,f))}return l+i},kn.unescape=function(e){return(e=bs(e))&&z.test(e)?e.replace(G,un):e},kn.uniqueId=function(e){var t=++Pe;return bs(e)+t},kn.upperCase=Zs,kn.upperFirst=Qs,kn.each=ba,kn.eachRight=wa,kn.first=zo,uu(kn,(yu={},bi(kn,(function(e,t){Me.call(kn.prototype,t)||(yu[t]=e)})),yu),{chain:!1}),kn.VERSION="4.17.21",bt(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){kn[e].placeholder=kn})),bt(["drop","take"],(function(e,t){Hn.prototype[e]=function(n){n=n===r?1:gn(ms(n),0);var i=this.__filtered__&&!t?new Hn(this):this.clone();return i.__filtered__?i.__takeCount__=yn(n,i.__takeCount__):i.__views__.push({size:yn(n,f),type:e+(i.__dir__<0?"Right":"")}),i},Hn.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),bt(["filter","map","takeWhile"],(function(e,t){var n=t+1,i=1==n||3==n;Hn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:ao(e,3),type:n}),t.__filtered__=t.__filtered__||i,t}})),bt(["head","last"],(function(e,t){var n="take"+(t?"Right":"");Hn.prototype[e]=function(){return this[n](1).value()[0]}})),bt(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");Hn.prototype[e]=function(){return this.__filtered__?new Hn(this):this[n](1)}})),Hn.prototype.compact=function(){return this.filter(ru)},Hn.prototype.find=function(e){return this.filter(e).head()},Hn.prototype.findLast=function(e){return this.reverse().find(e)},Hn.prototype.invokeMap=Vi((function(e,t){return"function"==typeof e?new Hn(this):this.map((function(n){return Ci(n,e,t)}))})),Hn.prototype.reject=function(e){return this.filter(qa(ao(e)))},Hn.prototype.slice=function(e,t){e=ms(e);var n=this;return n.__filtered__&&(e>0||t<0)?new Hn(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==r&&(n=(t=ms(t))<0?n.dropRight(-t):n.take(t-e)),n)},Hn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Hn.prototype.toArray=function(){return this.take(f)},bi(Hn.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),i=/^(?:head|last)$/.test(t),o=kn[i?"take"+("last"==t?"Right":""):t],a=i||/^find/.test(t);o&&(kn.prototype[t]=function(){var t=this.__wrapped__,s=i?[1]:arguments,u=t instanceof Hn,l=s[0],d=u||Ga(t),c=function(e){var t=o.apply(kn,Rt([e],s));return i&&p?t[0]:t};d&&n&&"function"==typeof l&&1!=l.length&&(u=d=!1);var p=this.__chain__,f=!!this.__actions__.length,h=a&&!p,m=u&&!f;if(!a&&d){t=m?t:new Hn(this);var v=e.apply(t,s);return v.__actions__.push({func:ha,args:[c],thisArg:r}),new jn(v,p)}return h&&m?e.apply(this,s):(v=this.thru(c),h?i?v.value()[0]:v.value():v)})})),bt(["pop","push","shift","sort","splice","unshift"],(function(e){var t=Ae[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",i=/^(?:pop|shift)$/.test(e);kn.prototype[e]=function(){var e=arguments;if(i&&!this.__chain__){var r=this.value();return t.apply(Ga(r)?r:[],e)}return this[n]((function(n){return t.apply(Ga(n)?n:[],e)}))}})),bi(Hn.prototype,(function(e,t){var n=kn[t];if(n){var i=n.name+"";Me.call(_n,i)||(_n[i]=[]),_n[i].push({name:t,func:n})}})),_n[Jr(r,2).name]=[{name:"wrapper",func:r}],Hn.prototype.clone=function(){var e=new Hn(this.__wrapped__);return e.__actions__=Nr(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Nr(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Nr(this.__views__),e},Hn.prototype.reverse=function(){if(this.__filtered__){var e=new Hn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Hn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Ga(e),i=t<0,r=n?e.length:0,o=function(e,t,n){for(var i=-1,r=n.length;++i<r;){var o=n[i],a=o.size;switch(o.type){case"drop":e+=a;break;case"dropRight":t-=a;break;case"take":t=yn(t,e+a);break;case"takeRight":e=gn(e,t-a)}}return{start:e,end:t}}(0,r,this.__views__),a=o.start,s=o.end,u=s-a,l=i?s:a-1,d=this.__iteratees__,c=d.length,p=0,f=yn(u,this.__takeCount__);if(!n||!i&&r==u&&f==u)return pr(e,this.__actions__);var h=[];e:for(;u--&&p<f;){for(var m=-1,v=e[l+=t];++m<c;){var g=d[m],y=g.iteratee,b=g.type,w=y(v);if(2==b)v=w;else if(!w){if(1==b)continue e;break e}}h[p++]=v}return h},kn.prototype.at=ma,kn.prototype.chain=function(){return fa(this)},kn.prototype.commit=function(){return new jn(this.value(),this.__chain__)},kn.prototype.next=function(){this.__values__===r&&(this.__values__=fs(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?r:this.__values__[this.__index__++]}},kn.prototype.plant=function(e){for(var t,n=this;n instanceof Bn;){var i=Lo(n);i.__index__=0,i.__values__=r,t?o.__wrapped__=i:t=i;var o=i;n=n.__wrapped__}return o.__wrapped__=e,t},kn.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Hn){var t=e;return this.__actions__.length&&(t=new Hn(this)),(t=t.reverse()).__actions__.push({func:ha,args:[ta],thisArg:r}),new jn(t,this.__chain__)}return this.thru(ta)},kn.prototype.toJSON=kn.prototype.valueOf=kn.prototype.value=function(){return pr(this.__wrapped__,this.__actions__)},kn.prototype.first=kn.prototype.head,at&&(kn.prototype[at]=function(){return this}),kn}();ot._=ln,(i=function(){return ln}.call(t,n,t,e))===r||(e.exports=i)}.call(this)},8306:(e,t,n)=>{var i=n(3369);function r(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var i=arguments,r=t?t.apply(this,i):i[0],o=n.cache;if(o.has(r))return o.get(r);var a=e.apply(this,i);return n.cache=o.set(r,a)||o,a};return n.cache=new(r.Cache||i),n}r.Cache=i,e.exports=r},9601:(e,t,n)=>{var i=n(371),r=n(9152),o=n(5403),a=n(327);e.exports=function(e){return o(e)?i(a(e)):r(e)}},479:e=>{e.exports=function(){return[]}},5062:e=>{e.exports=function(){return!1}},9833:(e,t,n)=>{var i=n(531);e.exports=function(e){return null==e?"":i(e)}},7418:e=>{var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function r(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach((function(e){i[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},i)).join("")}catch(e){return!1}}()?Object.assign:function(e,o){for(var a,s,u=r(e),l=1;l<arguments.length;l++){for(var d in a=Object(arguments[l]))n.call(a,d)&&(u[d]=a[d]);if(t){s=t(a);for(var c=0;c<s.length;c++)i.call(a,s[c])&&(u[s[c]]=a[s[c]])}}return u}},2408:(e,t,n)=>{var i=n(7418);if("function"==typeof Symbol&&Symbol.for){var r=Symbol.for;r("react.element"),r("react.portal"),r("react.fragment"),r("react.strict_mode"),r("react.profiler"),r("react.provider"),r("react.context"),r("react.forward_ref"),r("react.suspense"),r("react.memo"),r("react.lazy")}"function"==typeof Symbol&&Symbol.iterator;function o(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var a={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},s={};function u(e,t,n){this.props=e,this.context=t,this.refs=s,this.updater=n||a}function l(){}function d(e,t,n){this.props=e,this.context=t,this.refs=s,this.updater=n||a}u.prototype.isReactComponent={},u.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(o(85));this.updater.enqueueSetState(this,e,t,"setState")},u.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},l.prototype=u.prototype;var c=d.prototype=new l;c.constructor=d,i(c,u.prototype),c.isPureReactComponent=!0;Object.prototype.hasOwnProperty},7294:(e,t,n)=>{n(2408)},3379:e=>{var t=[];function n(e){for(var n=-1,i=0;i<t.length;i++)if(t[i].identifier===e){n=i;break}return n}function i(e,i){for(var o={},a=[],s=0;s<e.length;s++){var u=e[s],l=i.base?u[0]+i.base:u[0],d=o[l]||0,c="".concat(l," ").concat(d);o[l]=d+1;var p=n(c),f={css:u[1],media:u[2],sourceMap:u[3],supports:u[4],layer:u[5]};if(-1!==p)t[p].references++,t[p].updater(f);else{var h=r(f,i);i.byIndex=s,t.splice(s,0,{identifier:c,updater:h,references:1})}a.push(c)}return a}function r(e,t){var n=t.domAPI(t);return n.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,r){var o=i(e=e||[],r=r||{});return function(e){e=e||[];for(var a=0;a<o.length;a++){var s=n(o[a]);t[s].references--}for(var u=i(e,r),l=0;l<o.length;l++){var d=n(o[l]);0===t[d].references&&(t[d].updater(),t.splice(d,1))}o=u}}},569:e=>{var t={};e.exports=function(e,n){var i=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(n)}},9216:e=>{e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},3565:(e,t,n)=>{e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},7795:e=>{e.exports=function(e){var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var i="";n.supports&&(i+="@supports (".concat(n.supports,") {")),n.media&&(i+="@media ".concat(n.media," {"));var r=void 0!==n.layer;r&&(i+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),i+=n.css,r&&(i+="}"),n.media&&(i+="}"),n.supports&&(i+="}");var o=n.sourceMap;o&&"undefined"!=typeof btoa&&(i+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),t.styleTagTransform(i,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},4589:e=>{e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}}},t={};function n(i){var r=t[i];if(void 0!==r)return r.exports;var o=t[i]={id:i,loaded:!1,exports:{}};return e[i].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var i={};(()=>{n.d(i,{Z:()=>qi});const e=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,t=Symbol(),r=new Map;class o{constructor(e,n){if(this._$cssResult$=!0,n!==t)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e}get styleSheet(){let t=r.get(this.cssText);return e&&void 0===t&&(r.set(this.cssText,t=new CSSStyleSheet),t.replaceSync(this.cssText)),t}toString(){return this.cssText}}const a=(e,...n)=>{const i=1===e.length?e[0]:n.reduce(((t,n,i)=>t+(e=>{if(!0===e._$cssResult$)return e.cssText;if("number"==typeof e)return e;throw Error("Value passed to 'css' function must be a 'css' function result: "+e+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(n)+e[i+1]),e[0]);return new o(i,t)},s=e?e=>e:e=>e instanceof CSSStyleSheet?(e=>{let n="";for(const t of e.cssRules)n+=t.cssText;return(e=>new o("string"==typeof e?e:e+"",t))(n)})(e):e;var u;const l=window.trustedTypes,d=l?l.emptyScript:"",c=window.reactiveElementPolyfillSupport,p={toAttribute(e,t){switch(t){case Boolean:e=e?d:null;break;case Object:case Array:e=null==e?e:JSON.stringify(e)}return e},fromAttribute(e,t){let n=e;switch(t){case Boolean:n=null!==e;break;case Number:n=null===e?null:Number(e);break;case Object:case Array:try{n=JSON.parse(e)}catch(e){n=null}}return n}},f=(e,t)=>t!==e&&(t==t||e==e),h={attribute:!0,type:String,converter:p,reflect:!1,hasChanged:f};class m extends HTMLElement{constructor(){super(),this._$Et=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Ei=null,this.o()}static addInitializer(e){var t;null!==(t=this.l)&&void 0!==t||(this.l=[]),this.l.push(e)}static get observedAttributes(){this.finalize();const e=[];return this.elementProperties.forEach(((t,n)=>{const i=this._$Eh(n,t);void 0!==i&&(this._$Eu.set(i,n),e.push(i))})),e}static createProperty(e,t=h){if(t.state&&(t.attribute=!1),this.finalize(),this.elementProperties.set(e,t),!t.noAccessor&&!this.prototype.hasOwnProperty(e)){const n="symbol"==typeof e?Symbol():"__"+e,i=this.getPropertyDescriptor(e,n,t);void 0!==i&&Object.defineProperty(this.prototype,e,i)}}static getPropertyDescriptor(e,t,n){return{get(){return this[t]},set(i){const r=this[e];this[t]=i,this.requestUpdate(e,r,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)||h}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const e=Object.getPrototypeOf(this);if(e.finalize(),this.elementProperties=new Map(e.elementProperties),this._$Eu=new Map,this.hasOwnProperty("properties")){const e=this.properties,t=[...Object.getOwnPropertyNames(e),...Object.getOwnPropertySymbols(e)];for(const n of t)this.createProperty(n,e[n])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(e){const t=[];if(Array.isArray(e)){const n=new Set(e.flat(1/0).reverse());for(const e of n)t.unshift(s(e))}else void 0!==e&&t.push(s(e));return t}static _$Eh(e,t){const n=t.attribute;return!1===n?void 0:"string"==typeof n?n:"string"==typeof e?e.toLowerCase():void 0}o(){var e;this._$Ep=new Promise((e=>this.enableUpdating=e)),this._$AL=new Map,this._$Em(),this.requestUpdate(),null===(e=this.constructor.l)||void 0===e||e.forEach((e=>e(this)))}addController(e){var t,n;(null!==(t=this._$Eg)&&void 0!==t?t:this._$Eg=[]).push(e),void 0!==this.renderRoot&&this.isConnected&&(null===(n=e.hostConnected)||void 0===n||n.call(e))}removeController(e){var t;null===(t=this._$Eg)||void 0===t||t.splice(this._$Eg.indexOf(e)>>>0,1)}_$Em(){this.constructor.elementProperties.forEach(((e,t)=>{this.hasOwnProperty(t)&&(this._$Et.set(t,this[t]),delete this[t])}))}createRenderRoot(){var t;const n=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return((t,n)=>{e?t.adoptedStyleSheets=n.map((e=>e instanceof CSSStyleSheet?e:e.styleSheet)):n.forEach((e=>{const n=document.createElement("style"),i=window.litNonce;void 0!==i&&n.setAttribute("nonce",i),n.textContent=e.cssText,t.appendChild(n)}))})(n,this.constructor.elementStyles),n}connectedCallback(){var e;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(e=this._$Eg)||void 0===e||e.forEach((e=>{var t;return null===(t=e.hostConnected)||void 0===t?void 0:t.call(e)}))}enableUpdating(e){}disconnectedCallback(){var e;null===(e=this._$Eg)||void 0===e||e.forEach((e=>{var t;return null===(t=e.hostDisconnected)||void 0===t?void 0:t.call(e)}))}attributeChangedCallback(e,t,n){this._$AK(e,n)}_$ES(e,t,n=h){var i,r;const o=this.constructor._$Eh(e,n);if(void 0!==o&&!0===n.reflect){const a=(null!==(r=null===(i=n.converter)||void 0===i?void 0:i.toAttribute)&&void 0!==r?r:p.toAttribute)(t,n.type);this._$Ei=e,null==a?this.removeAttribute(o):this.setAttribute(o,a),this._$Ei=null}}_$AK(e,t){var n,i,r;const o=this.constructor,a=o._$Eu.get(e);if(void 0!==a&&this._$Ei!==a){const e=o.getPropertyOptions(a),s=e.converter,u=null!==(r=null!==(i=null===(n=s)||void 0===n?void 0:n.fromAttribute)&&void 0!==i?i:"function"==typeof s?s:null)&&void 0!==r?r:p.fromAttribute;this._$Ei=a,this[a]=u(t,e.type),this._$Ei=null}}requestUpdate(e,t,n){let i=!0;void 0!==e&&(((n=n||this.constructor.getPropertyOptions(e)).hasChanged||f)(this[e],t)?(this._$AL.has(e)||this._$AL.set(e,t),!0===n.reflect&&this._$Ei!==e&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(e,n))):i=!1),!this.isUpdatePending&&i&&(this._$Ep=this._$E_())}async _$E_(){this.isUpdatePending=!0;try{await this._$Ep}catch(e){Promise.reject(e)}const e=this.scheduleUpdate();return null!=e&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var e;if(!this.isUpdatePending)return;this.hasUpdated,this._$Et&&(this._$Et.forEach(((e,t)=>this[t]=e)),this._$Et=void 0);let t=!1;const n=this._$AL;try{t=this.shouldUpdate(n),t?(this.willUpdate(n),null===(e=this._$Eg)||void 0===e||e.forEach((e=>{var t;return null===(t=e.hostUpdate)||void 0===t?void 0:t.call(e)})),this.update(n)):this._$EU()}catch(e){throw t=!1,this._$EU(),e}t&&this._$AE(n)}willUpdate(e){}_$AE(e){var t;null===(t=this._$Eg)||void 0===t||t.forEach((e=>{var t;return null===(t=e.hostUpdated)||void 0===t?void 0:t.call(e)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Ep}shouldUpdate(e){return!0}update(e){void 0!==this._$EC&&(this._$EC.forEach(((e,t)=>this._$ES(t,this[t],e))),this._$EC=void 0),this._$EU()}updated(e){}firstUpdated(e){}}var v;m.finalized=!0,m.elementProperties=new Map,m.elementStyles=[],m.shadowRootOptions={mode:"open"},null==c||c({ReactiveElement:m}),(null!==(u=globalThis.reactiveElementVersions)&&void 0!==u?u:globalThis.reactiveElementVersions=[]).push("1.3.1");const g=globalThis.trustedTypes,y=g?g.createPolicy("lit-html",{createHTML:e=>e}):void 0,b=`lit$${(Math.random()+"").slice(9)}$`,w="?"+b,S=`<${w}>`,T=document,x=(e="")=>T.createComment(e),O=e=>null===e||"object"!=typeof e&&"function"!=typeof e,I=Array.isArray,R=e=>{var t;return I(e)||"function"==typeof(null===(t=e)||void 0===t?void 0:t[Symbol.iterator])},N=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,A=/-->/g,C=/>/g,_=/>|[ \n\r](?:([^\s"'>=/]+)([ \n\r]*=[ \n\r]*(?:[^ \n\r"'`<>=]|("|')|))|$)/g,E=/'/g,F=/"/g,M=/^(?:script|style|textarea|title)$/i,P=e=>(t,...n)=>({_$litType$:e,strings:t,values:n}),D=P(1),q=(P(2),Symbol.for("lit-noChange")),U=Symbol.for("lit-nothing"),J=new WeakMap,k=T.createTreeWalker(T,129,null,!1),L=(e,t)=>{const n=e.length-1,i=[];let r,o=2===t?"<svg>":"",a=N;for(let t=0;t<n;t++){const n=e[t];let s,u,l=-1,d=0;for(;d<n.length&&(a.lastIndex=d,u=a.exec(n),null!==u);)d=a.lastIndex,a===N?"!--"===u[1]?a=A:void 0!==u[1]?a=C:void 0!==u[2]?(M.test(u[2])&&(r=RegExp("</"+u[2],"g")),a=_):void 0!==u[3]&&(a=_):a===_?">"===u[0]?(a=null!=r?r:N,l=-1):void 0===u[1]?l=-2:(l=a.lastIndex-u[2].length,s=u[1],a=void 0===u[3]?_:'"'===u[3]?F:E):a===F||a===E?a=_:a===A||a===C?a=N:(a=_,r=void 0);const c=a===_&&e[t+1].startsWith("/>")?" ":"";o+=a===N?n+S:l>=0?(i.push(s),n.slice(0,l)+"$lit$"+n.slice(l)+b+c):n+b+(-2===l?(i.push(void 0),t):c)}const s=o+(e[n]||"<?>")+(2===t?"</svg>":"");if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==y?y.createHTML(s):s,i]};class B{constructor({strings:e,_$litType$:t},n){let i;this.parts=[];let r=0,o=0;const a=e.length-1,s=this.parts,[u,l]=L(e,t);if(this.el=B.createElement(u,n),k.currentNode=this.el.content,2===t){const e=this.el.content,t=e.firstChild;t.remove(),e.append(...t.childNodes)}for(;null!==(i=k.nextNode())&&s.length<a;){if(1===i.nodeType){if(i.hasAttributes()){const e=[];for(const t of i.getAttributeNames())if(t.endsWith("$lit$")||t.startsWith(b)){const n=l[o++];if(e.push(t),void 0!==n){const e=i.getAttribute(n.toLowerCase()+"$lit$").split(b),t=/([.?@])?(.*)/.exec(n);s.push({type:1,index:r,name:t[2],strings:e,ctor:"."===t[1]?$:"?"===t[1]?V:"@"===t[1]?X:G})}else s.push({type:6,index:r})}for(const t of e)i.removeAttribute(t)}if(M.test(i.tagName)){const e=i.textContent.split(b),t=e.length-1;if(t>0){i.textContent=g?g.emptyScript:"";for(let n=0;n<t;n++)i.append(e[n],x()),k.nextNode(),s.push({type:2,index:++r});i.append(e[t],x())}}}else if(8===i.nodeType)if(i.data===w)s.push({type:2,index:r});else{let e=-1;for(;-1!==(e=i.data.indexOf(b,e+1));)s.push({type:7,index:r}),e+=b.length-1}r++}}static createElement(e,t){const n=T.createElement("template");return n.innerHTML=e,n}}function j(e,t,n=e,i){var r,o,a,s;if(t===q)return t;let u=void 0!==i?null===(r=n._$Cl)||void 0===r?void 0:r[i]:n._$Cu;const l=O(t)?void 0:t._$litDirective$;return(null==u?void 0:u.constructor)!==l&&(null===(o=null==u?void 0:u._$AO)||void 0===o||o.call(u,!1),void 0===l?u=void 0:(u=new l(e),u._$AT(e,n,i)),void 0!==i?(null!==(a=(s=n)._$Cl)&&void 0!==a?a:s._$Cl=[])[i]=u:n._$Cu=u),void 0!==u&&(t=j(e,u._$AS(e,t.values),u,i)),t}class H{constructor(e,t){this.v=[],this._$AN=void 0,this._$AD=e,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(e){var t;const{el:{content:n},parts:i}=this._$AD,r=(null!==(t=null==e?void 0:e.creationScope)&&void 0!==t?t:T).importNode(n,!0);k.currentNode=r;let o=k.nextNode(),a=0,s=0,u=i[0];for(;void 0!==u;){if(a===u.index){let t;2===u.type?t=new W(o,o.nextSibling,this,e):1===u.type?t=new u.ctor(o,u.name,u.strings,this,e):6===u.type&&(t=new Z(o,this,e)),this.v.push(t),u=i[++s]}a!==(null==u?void 0:u.index)&&(o=k.nextNode(),a++)}return r}m(e){let t=0;for(const n of this.v)void 0!==n&&(void 0!==n.strings?(n._$AI(e,n,t),t+=n.strings.length-2):n._$AI(e[t])),t++}}class W{constructor(e,t,n,i){var r;this.type=2,this._$AH=U,this._$AN=void 0,this._$AA=e,this._$AB=t,this._$AM=n,this.options=i,this._$Cg=null===(r=null==i?void 0:i.isConnected)||void 0===r||r}get _$AU(){var e,t;return null!==(t=null===(e=this._$AM)||void 0===e?void 0:e._$AU)&&void 0!==t?t:this._$Cg}get parentNode(){let e=this._$AA.parentNode;const t=this._$AM;return void 0!==t&&11===e.nodeType&&(e=t.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,t=this){e=j(this,e,t),O(e)?e===U||null==e||""===e?(this._$AH!==U&&this._$AR(),this._$AH=U):e!==this._$AH&&e!==q&&this.$(e):void 0!==e._$litType$?this.T(e):void 0!==e.nodeType?this.k(e):R(e)?this.S(e):this.$(e)}M(e,t=this._$AB){return this._$AA.parentNode.insertBefore(e,t)}k(e){this._$AH!==e&&(this._$AR(),this._$AH=this.M(e))}$(e){this._$AH!==U&&O(this._$AH)?this._$AA.nextSibling.data=e:this.k(T.createTextNode(e)),this._$AH=e}T(e){var t;const{values:n,_$litType$:i}=e,r="number"==typeof i?this._$AC(e):(void 0===i.el&&(i.el=B.createElement(i.h,this.options)),i);if((null===(t=this._$AH)||void 0===t?void 0:t._$AD)===r)this._$AH.m(n);else{const e=new H(r,this),t=e.p(this.options);e.m(n),this.k(t),this._$AH=e}}_$AC(e){let t=J.get(e.strings);return void 0===t&&J.set(e.strings,t=new B(e)),t}S(e){I(this._$AH)||(this._$AH=[],this._$AR());const t=this._$AH;let n,i=0;for(const r of e)i===t.length?t.push(n=new W(this.M(x()),this.M(x()),this,this.options)):n=t[i],n._$AI(r),i++;i<t.length&&(this._$AR(n&&n._$AB.nextSibling,i),t.length=i)}_$AR(e=this._$AA.nextSibling,t){var n;for(null===(n=this._$AP)||void 0===n||n.call(this,!1,!0,t);e&&e!==this._$AB;){const t=e.nextSibling;e.remove(),e=t}}setConnected(e){var t;void 0===this._$AM&&(this._$Cg=e,null===(t=this._$AP)||void 0===t||t.call(this,e))}}class G{constructor(e,t,n,i,r){this.type=1,this._$AH=U,this._$AN=void 0,this.element=e,this.name=t,this._$AM=i,this.options=r,n.length>2||""!==n[0]||""!==n[1]?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=U}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(e,t=this,n,i){const r=this.strings;let o=!1;if(void 0===r)e=j(this,e,t,0),o=!O(e)||e!==this._$AH&&e!==q,o&&(this._$AH=e);else{const i=e;let a,s;for(e=r[0],a=0;a<r.length-1;a++)s=j(this,i[n+a],t,a),s===q&&(s=this._$AH[a]),o||(o=!O(s)||s!==this._$AH[a]),s===U?e=U:e!==U&&(e+=(null!=s?s:"")+r[a+1]),this._$AH[a]=s}o&&!i&&this.C(e)}C(e){e===U?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=e?e:"")}}class $ extends G{constructor(){super(...arguments),this.type=3}C(e){this.element[this.name]=e===U?void 0:e}}const z=g?g.emptyScript:"";class V extends G{constructor(){super(...arguments),this.type=4}C(e){e&&e!==U?this.element.setAttribute(this.name,z):this.element.removeAttribute(this.name)}}class X extends G{constructor(e,t,n,i,r){super(e,t,n,i,r),this.type=5}_$AI(e,t=this){var n;if((e=null!==(n=j(this,e,t,0))&&void 0!==n?n:U)===q)return;const i=this._$AH,r=e===U&&i!==U||e.capture!==i.capture||e.once!==i.once||e.passive!==i.passive,o=e!==U&&(i===U||r);r&&this.element.removeEventListener(this.name,this,i),o&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){var t,n;"function"==typeof this._$AH?this._$AH.call(null!==(n=null===(t=this.options)||void 0===t?void 0:t.host)&&void 0!==n?n:this.element,e):this._$AH.handleEvent(e)}}class Z{constructor(e,t,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=t,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){j(this,e)}}const Q={L:"$lit$",P:b,V:w,I:1,N:L,R:H,j:R,D:j,H:W,F:G,O:V,W:X,B:$,Z},K=window.litHtmlPolyfillSupport;var Y,ee;null==K||K(B,W),(null!==(v=globalThis.litHtmlVersions)&&void 0!==v?v:globalThis.litHtmlVersions=[]).push("2.2.2");class te extends m{constructor(){super(...arguments),this.renderOptions={host:this},this._$Dt=void 0}createRenderRoot(){var e,t;const n=super.createRenderRoot();return null!==(e=(t=this.renderOptions).renderBefore)&&void 0!==e||(t.renderBefore=n.firstChild),n}update(e){const t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Dt=((e,t,n)=>{var i,r;const o=null!==(i=null==n?void 0:n.renderBefore)&&void 0!==i?i:t;let a=o._$litPart$;if(void 0===a){const e=null!==(r=null==n?void 0:n.renderBefore)&&void 0!==r?r:null;o._$litPart$=a=new W(t.insertBefore(x(),e),e,void 0,null!=n?n:{})}return a._$AI(e),a})(t,this.renderRoot,this.renderOptions)}connectedCallback(){var e;super.connectedCallback(),null===(e=this._$Dt)||void 0===e||e.setConnected(!0)}disconnectedCallback(){var e;super.disconnectedCallback(),null===(e=this._$Dt)||void 0===e||e.setConnected(!1)}render(){return q}}te.finalized=!0,te._$litElement$=!0,null===(Y=globalThis.litElementHydrateSupport)||void 0===Y||Y.call(globalThis,{LitElement:te});const ne=globalThis.litElementPolyfillSupport;null==ne||ne({LitElement:te}),(null!==(ee=globalThis.litElementVersions)&&void 0!==ee?ee:globalThis.litElementVersions=[]).push("3.2.0");const ie=e=>t=>"function"==typeof t?((e,t)=>(window.customElements.define(e,t),t))(e,t):((e,t)=>{const{kind:n,elements:i}=t;return{kind:n,elements:i,finisher(t){window.customElements.define(e,t)}}})(e,t),re=(e,t)=>"method"===t.kind&&t.descriptor&&!("value"in t.descriptor)?{...t,finisher(n){n.createProperty(t.key,e)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:t.key,initializer(){"function"==typeof t.initializer&&(this[t.key]=t.initializer.call(this))},finisher(n){n.createProperty(t.key,e)}};function oe(e){return(t,n)=>void 0!==n?((e,t,n)=>{t.constructor.createProperty(n,e)})(e,t,n):re(e,t)}function ae(e){return oe({...e,state:!0})}function se(e,t){return(({finisher:e,descriptor:t})=>(n,i)=>{var r;if(void 0===i){const i=null!==(r=n.originalKey)&&void 0!==r?r:n.key,o=null!=t?{kind:"method",placement:"prototype",key:i,descriptor:t(n.key)}:{...n,key:i};return null!=e&&(o.finisher=function(t){e(t,i)}),o}{const r=n.constructor;void 0!==t&&Object.defineProperty(n,i,t(i)),null==e||e(r,i)}})({descriptor:n=>{const i={get(){var t,n;return null!==(n=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(e))&&void 0!==n?n:null},enumerable:!0,configurable:!0};if(t){const t="symbol"==typeof n?Symbol():"__"+n;i.get=function(){var n,i;return void 0===this[t]&&(this[t]=null!==(i=null===(n=this.renderRoot)||void 0===n?void 0:n.querySelector(e))&&void 0!==i?i:null),this[t]}}return i}})}var ue;null===(ue=window.HTMLSlotElement)||void 0===ue||ue.prototype.assignedElements;const le=e=>(...t)=>({_$litDirective$:e,values:t});class de{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,t,n){this._$Ct=e,this._$AM=t,this._$Ci=n}_$AS(e,t){return this.update(e,t)}update(e,t){return this.render(...t)}}const ce=le(class extends de{constructor(e){var t;if(super(e),1!==e.type||"class"!==e.name||(null===(t=e.strings)||void 0===t?void 0:t.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(e){return" "+Object.keys(e).filter((t=>e[t])).join(" ")+" "}update(e,[t]){var n,i;if(void 0===this.et){this.et=new Set,void 0!==e.strings&&(this.st=new Set(e.strings.join(" ").split(/\s/).filter((e=>""!==e))));for(const e in t)t[e]&&!(null===(n=this.st)||void 0===n?void 0:n.has(e))&&this.et.add(e);return this.render(t)}const r=e.element.classList;this.et.forEach((e=>{e in t||(r.remove(e),this.et.delete(e))}));for(const e in t){const n=!!t[e];n===this.et.has(e)||(null===(i=this.st)||void 0===i?void 0:i.has(e))||(n?(r.add(e),this.et.add(e)):(r.remove(e),this.et.delete(e)))}return q}}),{H:pe}=Q,fe=(e,t)=>{var n,i;const r=e._$AN;if(void 0===r)return!1;for(const e of r)null===(i=(n=e)._$AO)||void 0===i||i.call(n,t,!1),fe(e,t);return!0},he=e=>{let t,n;do{if(void 0===(t=e._$AM))break;n=t._$AN,n.delete(e),e=t}while(0===(null==n?void 0:n.size))},me=e=>{for(let t;t=e._$AM;e=t){let n=t._$AN;if(void 0===n)t._$AN=n=new Set;else if(n.has(e))break;n.add(e),ye(t)}};function ve(e){void 0!==this._$AN?(he(this),this._$AM=e,me(this)):this._$AM=e}function ge(e,t=!1,n=0){const i=this._$AH,r=this._$AN;if(void 0!==r&&0!==r.size)if(t)if(Array.isArray(i))for(let e=n;e<i.length;e++)fe(i[e],!1),he(i[e]);else null!=i&&(fe(i,!1),he(i));else fe(this,e)}const ye=e=>{var t,n,i,r;2==e.type&&(null!==(t=(i=e)._$AP)&&void 0!==t||(i._$AP=ge),null!==(n=(r=e)._$AQ)&&void 0!==n||(r._$AQ=ve))};class be extends de{constructor(){super(...arguments),this._$AN=void 0}_$AT(e,t,n){super._$AT(e,t,n),me(this),this.isConnected=e._$AU}_$AO(e,t=!0){var n,i;e!==this.isConnected&&(this.isConnected=e,e?null===(n=this.reconnected)||void 0===n||n.call(this):null===(i=this.disconnected)||void 0===i||i.call(this)),t&&(fe(this,e),he(this))}setValue(e){if((e=>void 0===this._$Ct.strings)())this._$Ct._$AI(e,this);else{const t=[...this._$Ct._$AH];t[this._$Ci]=e,this._$Ct._$AI(t,this,0)}}disconnected(){}reconnected(){}}const we=()=>new Se;class Se{}const Te=new WeakMap,xe=le(class extends be{render(e){return U}update(e,[t]){var n;const i=t!==this.U;return i&&void 0!==this.U&&this.ot(void 0),(i||this.rt!==this.lt)&&(this.U=t,this.ht=null===(n=e.options)||void 0===n?void 0:n.host,this.ot(this.lt=e.element)),U}ot(e){var t;if("function"==typeof this.U){const n=null!==(t=this.ht)&&void 0!==t?t:globalThis;let i=Te.get(n);void 0===i&&(i=new WeakMap,Te.set(n,i)),void 0!==i.get(this.U)&&this.U.call(this.ht,void 0),i.set(this.U,e),void 0!==e&&this.U.call(this.ht,e)}else this.U.value=e}get rt(){var e,t,n;return"function"==typeof this.U?null===(t=Te.get(null!==(e=this.ht)&&void 0!==e?e:globalThis))||void 0===t?void 0:t.get(this.U):null===(n=this.U)||void 0===n?void 0:n.value}disconnected(){this.rt===this.lt&&this.ot(void 0)}reconnected(){this.ot(this.lt)}});if("undefined"==typeof window)throw new Error("[TalkJS] The TalkJS JavaScript SDK only works in browsers (and not, for example, in Node.js)");!function(e,t,n,i,r,o){(o=t.createElement("script")).async=1,o.src="https://cdn.talkjs.com/talk.js",t.head.appendChild(o),i=e.Promise,e.Talk={v:3,ready:{then:function(e){if(i)return new i((function(t,i){n.push([e,t,i])}));n.push([e])},catch:function(){return i&&new i},c:n}}}(window,document,[]);const Oe=window.Talk,Ie=e=>{const t=e.replace(/\D/g,"").substring(0,10),n=t.substring(0,3),i=t.substring(3,6),r=t.substring(6,10);return t.length>5?`(${n}) ${i}-${r}`:t.length>2?`(${n}) ${i}`:t.length>0?`(${n}`:""},Re=e=>{const t=e.keyCode;return t>=48&&t<=57||t>=96&&t<=105},Ne=e=>e.altKey||e.ctrlKey||e.metaKey,Ae=e=>{const t=e.keyCode;return e.shiftKey||35===t||36===t||8===t||9===t||13===t||46===t||t>36&&t<41||(e.ctrlKey||e.metaKey)&&(65===t||67===t||76===t||86===t||88===t||90===t)};var Ce=function(e,t,n,i){var r,o=arguments.length,a=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(a=(o<3?r(a):o>3?r(t,n,a):r(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a};let _e=class extends te{constructor(){super(...arguments),this.heading="",this.subtitle="",this.selected=!1}render(){return D`
|
|
2
|
+
var e={8005:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.ActionConsumerApiControllerApi=void 0;var s=n(296),u=n(4584),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.cancelRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.cancelActionDto||void 0===e.cancelActionDto)throw new s.RequiredError("cancelActionDto","Required parameter requestParameters.cancelActionDto was null or undefined when calling cancel.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/actions/cancel",method:"POST",headers:i,query:n,body:u.CancelActionDtoToJSON(e.cancelActionDto)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.cancel=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.cancelRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.createNoShowActionRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.noShowActionDto||void 0===e.noShowActionDto)throw new s.RequiredError("noShowActionDto","Required parameter requestParameters.noShowActionDto was null or undefined when calling createNoShowAction.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/actions/noShow",method:"POST",headers:i,query:n,body:u.NoShowActionDtoToJSON(e.noShowActionDto)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.createNoShowAction=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.createNoShowActionRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.createRescheduleConfirmedActionRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.rescheduleConfirmedDto||void 0===e.rescheduleConfirmedDto)throw new s.RequiredError("rescheduleConfirmedDto","Required parameter requestParameters.rescheduleConfirmedDto was null or undefined when calling createRescheduleConfirmedAction.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/actions/rescheduleConfirmed",method:"POST",headers:i,query:n,body:u.RescheduleConfirmedDtoToJSON(e.rescheduleConfirmedDto)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.createRescheduleConfirmedAction=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.createRescheduleConfirmedActionRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.createRescheduleProposedActionRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.rescheduleProposedDto||void 0===e.rescheduleProposedDto)throw new s.RequiredError("rescheduleProposedDto","Required parameter requestParameters.rescheduleProposedDto was null or undefined when calling createRescheduleProposedAction.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/actions/rescheduleProposed",method:"POST",headers:i,query:n,body:u.RescheduleProposedDtoToJSON(e.rescheduleProposedDto)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.createRescheduleProposedAction=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.createRescheduleProposedActionRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.createShowActionRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.showActionDto||void 0===e.showActionDto)throw new s.RequiredError("showActionDto","Required parameter requestParameters.showActionDto was null or undefined when calling createShowAction.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/actions/show",method:"POST",headers:i,query:n,body:u.ShowActionDtoToJSON(e.showActionDto)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.createShowAction=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.createShowActionRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.scheduleActionRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.scheduleDto||void 0===e.scheduleDto)throw new s.RequiredError("scheduleDto","Required parameter requestParameters.scheduleDto was null or undefined when calling scheduleAction.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/actions/schedule",method:"POST",headers:i,query:n,body:u.ScheduleDtoToJSON(e.scheduleDto)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.scheduleAction=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.scheduleActionRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.sendAgentMessageRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.sendAgentMessageDto||void 0===e.sendAgentMessageDto)throw new s.RequiredError("sendAgentMessageDto","Required parameter requestParameters.sendAgentMessageDto was null or undefined when calling sendAgentMessage.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/actions/sendAgentMessage",method:"POST",headers:i,query:n,body:u.SendAgentMessageDtoToJSON(e.sendAgentMessageDto)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.sendAgentMessage=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.sendAgentMessageRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.updateAgentOnContextRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.contextId||void 0===e.contextId)throw new s.RequiredError("contextId","Required parameter requestParameters.contextId was null or undefined when calling updateAgentOnContext.");if(null===e.leasingAgentId||void 0===e.leasingAgentId)throw new s.RequiredError("leasingAgentId","Required parameter requestParameters.leasingAgentId was null or undefined when calling updateAgentOnContext.");return n={},i={},[4,this.request({path:"/api/v1/actions/updateAgentOnContext/{contextId}/{leasingAgentId}".replace("{contextId}",encodeURIComponent(String(e.contextId))).replace("{leasingAgentId}",encodeURIComponent(String(e.leasingAgentId))),method:"POST",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.updateAgentOnContext=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.updateAgentOnContextRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.walkInAndShowCreateRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.walkInAndShowActionDto||void 0===e.walkInAndShowActionDto)throw new s.RequiredError("walkInAndShowActionDto","Required parameter requestParameters.walkInAndShowActionDto was null or undefined when calling walkInAndShowCreate.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/actions/walkInAndShow",method:"POST",headers:i,query:n,body:u.WalkInAndShowActionDtoToJSON(e.walkInAndShowActionDto)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.walkInAndShowCreate=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.walkInAndShowCreateRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.walkInOrCallCreateRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.walkInOrCallActionDto||void 0===e.walkInOrCallActionDto)throw new s.RequiredError("walkInOrCallActionDto","Required parameter requestParameters.walkInOrCallActionDto was null or undefined when calling walkInOrCallCreate.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/actions/walkInOrCall",method:"POST",headers:i,query:n,body:u.WalkInOrCallActionDtoToJSON(e.walkInOrCallActionDto)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.walkInOrCallCreate=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.walkInOrCallCreateRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t}(s.BaseAPI);t.ActionConsumerApiControllerApi=l},2497:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.AlertQueueControllerApi=void 0;var s=n(296),u=n(4584),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.allForBuildingRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.buildingId||void 0===e.buildingId)throw new s.RequiredError("buildingId","Required parameter requestParameters.buildingId was null or undefined when calling allForBuilding.");return n={},i={},[4,this.request({path:"/api/v1/alerts/{buildingId}".replace("{buildingId}",encodeURIComponent(String(e.buildingId))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return e.map(u.AlertQueueInfoFromJSON)}))]}}))}))},t.prototype.allForBuilding=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.allForBuildingRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.emailsForContextRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.contextId||void 0===e.contextId)throw new s.RequiredError("contextId","Required parameter requestParameters.contextId was null or undefined when calling emailsForContext.");return n={},i={},[4,this.request({path:"/api/v1/alerts/{contextId}/emails/".replace("{contextId}",encodeURIComponent(String(e.contextId))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return e.map(u.AlertQueueMessageFromJSON)}))]}}))}))},t.prototype.emailsForContext=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.emailsForContextRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.textsForContextRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.contextId||void 0===e.contextId)throw new s.RequiredError("contextId","Required parameter requestParameters.contextId was null or undefined when calling textsForContext.");return n={},i={},[4,this.request({path:"/api/v1/alerts/{contextId}/texts/".replace("{contextId}",encodeURIComponent(String(e.contextId))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return e.map(u.AlertQueueMessageFromJSON)}))]}}))}))},t.prototype.textsForContext=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.textsForContextRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t}(s.BaseAPI);t.AlertQueueControllerApi=l},8730:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.BuildingControllerApi=void 0;var s=n(296),u=n(4584),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.create2Raw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.communityFormView||void 0===e.communityFormView)throw new s.RequiredError("communityFormView","Required parameter requestParameters.communityFormView was null or undefined when calling create2.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/building/",method:"POST",headers:i,query:n,body:u.CommunityFormViewToJSON(e.communityFormView)},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.UiBuildingDetailsFromJSON(e)}))]}}))}))},t.prototype.create2=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.create2Raw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.deleteAvatarRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling deleteAvatar.");return n={},i={},[4,this.request({path:"/api/v1/building/{id}/avatar".replace("{id}",encodeURIComponent(String(e.id))),method:"DELETE",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.VoidApiResponse(r)]}}))}))},t.prototype.deleteAvatar=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.deleteAvatarRaw(e,t)];case 1:return n.sent(),[2]}}))}))},t.prototype.deleteLogoRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling deleteLogo.");return n={},i={},[4,this.request({path:"/api/v1/building/{id}/logo".replace("{id}",encodeURIComponent(String(e.id))),method:"DELETE",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.VoidApiResponse(r)]}}))}))},t.prototype.deleteLogo=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.deleteLogoRaw(e,t)];case 1:return n.sent(),[2]}}))}))},t.prototype.get4Raw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling get4.");return n={},i={},[4,this.request({path:"/api/v1/building/{id}".replace("{id}",encodeURIComponent(String(e.id))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.UiBuildingDetailsFromJSON(e)}))]}}))}))},t.prototype.get4=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.get4Raw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getActiveBuildingsMapRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.requestBody||void 0===e.requestBody)throw new s.RequiredError("requestBody","Required parameter requestParameters.requestBody was null or undefined when calling getActiveBuildingsMap.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/building/buildingStatuses",method:"POST",headers:i,query:n,body:e.requestBody},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r)]}}))}))},t.prototype.getActiveBuildingsMap=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getActiveBuildingsMapRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getAll1Raw=function(e){return o(this,void 0,void 0,(function(){var t,n,i;return a(this,(function(r){switch(r.label){case 0:return t={},n={},[4,this.request({path:"/api/v1/building/",method:"GET",headers:n,query:t},e)];case 1:return i=r.sent(),[2,new s.JSONApiResponse(i,(function(e){return e.map(u.CommunityPageBuildingFromJSON)}))]}}))}))},t.prototype.getAll1=function(e){return o(this,void 0,void 0,(function(){return a(this,(function(t){switch(t.label){case 0:return[4,this.getAll1Raw(e)];case 1:return[4,t.sent().value()];case 2:return[2,t.sent()]}}))}))},t.prototype.getBuildingAiAgentNameMapRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.requestBody||void 0===e.requestBody)throw new s.RequiredError("requestBody","Required parameter requestParameters.requestBody was null or undefined when calling getBuildingAiAgentNameMap.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/building/buildingAiAgents",method:"POST",headers:i,query:n,body:e.requestBody},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r)]}}))}))},t.prototype.getBuildingAiAgentNameMap=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getBuildingAiAgentNameMapRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getBuildingNameMapRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.requestBody||void 0===e.requestBody)throw new s.RequiredError("requestBody","Required parameter requestParameters.requestBody was null or undefined when calling getBuildingNameMap.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/building/buildingNames",method:"POST",headers:i,query:n,body:e.requestBody},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r)]}}))}))},t.prototype.getBuildingNameMap=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getBuildingNameMapRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getBuildingTimezoneMapRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.requestBody||void 0===e.requestBody)throw new s.RequiredError("requestBody","Required parameter requestParameters.requestBody was null or undefined when calling getBuildingTimezoneMap.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/building/buildingTimeZones",method:"POST",headers:i,query:n,body:e.requestBody},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r)]}}))}))},t.prototype.getBuildingTimezoneMap=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getBuildingTimezoneMapRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.putChatThemeRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r,o,u,l;return a(this,(function(a){switch(a.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling putChatTheme.");if(null===e.title||void 0===e.title)throw new s.RequiredError("title","Required parameter requestParameters.title was null or undefined when calling putChatTheme.");if(null===e.subtitle||void 0===e.subtitle)throw new s.RequiredError("subtitle","Required parameter requestParameters.subtitle was null or undefined when calling putChatTheme.");if(null===e.bannerColor||void 0===e.bannerColor)throw new s.RequiredError("bannerColor","Required parameter requestParameters.bannerColor was null or undefined when calling putChatTheme.");if(null===e.bannerTextColor||void 0===e.bannerTextColor)throw new s.RequiredError("bannerTextColor","Required parameter requestParameters.bannerTextColor was null or undefined when calling putChatTheme.");if(null===e.messageColor||void 0===e.messageColor)throw new s.RequiredError("messageColor","Required parameter requestParameters.messageColor was null or undefined when calling putChatTheme.");if(null===e.messageTextColor||void 0===e.messageTextColor)throw new s.RequiredError("messageTextColor","Required parameter requestParameters.messageTextColor was null or undefined when calling putChatTheme.");if(null===e.launchButtonColor||void 0===e.launchButtonColor)throw new s.RequiredError("launchButtonColor","Required parameter requestParameters.launchButtonColor was null or undefined when calling putChatTheme.");if(null===e.launchButtonIconColor||void 0===e.launchButtonIconColor)throw new s.RequiredError("launchButtonIconColor","Required parameter requestParameters.launchButtonIconColor was null or undefined when calling putChatTheme.");if(null===e.launchButtonSize||void 0===e.launchButtonSize)throw new s.RequiredError("launchButtonSize","Required parameter requestParameters.launchButtonSize was null or undefined when calling putChatTheme.");if(null===e.avatarType||void 0===e.avatarType)throw new s.RequiredError("avatarType","Required parameter requestParameters.avatarType was null or undefined when calling putChatTheme.");if(null===e.avatarInitials||void 0===e.avatarInitials)throw new s.RequiredError("avatarInitials","Required parameter requestParameters.avatarInitials was null or undefined when calling putChatTheme.");return n={},void 0!==e.title&&(n.title=e.title),void 0!==e.subtitle&&(n.subtitle=e.subtitle),void 0!==e.bannerColor&&(n.bannerColor=e.bannerColor),void 0!==e.bannerTextColor&&(n.bannerTextColor=e.bannerTextColor),void 0!==e.messageColor&&(n.messageColor=e.messageColor),void 0!==e.messageTextColor&&(n.messageTextColor=e.messageTextColor),void 0!==e.launchButtonColor&&(n.launchButtonColor=e.launchButtonColor),void 0!==e.launchButtonIconColor&&(n.launchButtonIconColor=e.launchButtonIconColor),void 0!==e.launchButtonSize&&(n.launchButtonSize=e.launchButtonSize),void 0!==e.avatarType&&(n.avatarType=e.avatarType),void 0!==e.avatarInitials&&(n.avatarInitials=e.avatarInitials),i={},r=[{contentType:"multipart/form-data"}],o=s.canConsumeForm(r),u=o?new FormData:new URLSearchParams,void 0!==e.avatarSrc&&u.append("avatarSrc",e.avatarSrc),[4,this.request({path:"/api/v1/building/{id}/chat-theme".replace("{id}",encodeURIComponent(String(e.id))),method:"PUT",headers:i,query:n,body:u},t)];case 1:return l=a.sent(),[2,new s.VoidApiResponse(l)]}}))}))},t.prototype.putChatTheme=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.putChatThemeRaw(e,t)];case 1:return n.sent(),[2]}}))}))},t.prototype.putSSTThemeRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r,o,u,l;return a(this,(function(a){switch(a.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling putSSTTheme.");if(null===e.primaryColor||void 0===e.primaryColor)throw new s.RequiredError("primaryColor","Required parameter requestParameters.primaryColor was null or undefined when calling putSSTTheme.");if(null===e.backgroundColor||void 0===e.backgroundColor)throw new s.RequiredError("backgroundColor","Required parameter requestParameters.backgroundColor was null or undefined when calling putSSTTheme.");return n={},void 0!==e.primaryColor&&(n.primaryColor=e.primaryColor),void 0!==e.backgroundColor&&(n.backgroundColor=e.backgroundColor),i={},r=[{contentType:"multipart/form-data"}],o=s.canConsumeForm(r),u=o?new FormData:new URLSearchParams,void 0!==e.logoSrc&&u.append("logoSrc",e.logoSrc),[4,this.request({path:"/api/v1/building/{id}/sst-theme".replace("{id}",encodeURIComponent(String(e.id))),method:"PUT",headers:i,query:n,body:u},t)];case 1:return l=a.sent(),[2,new s.VoidApiResponse(l)]}}))}))},t.prototype.putSSTTheme=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.putSSTThemeRaw(e,t)];case 1:return n.sent(),[2]}}))}))},t.prototype.update5Raw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling update5.");if(null===e.communityFormView||void 0===e.communityFormView)throw new s.RequiredError("communityFormView","Required parameter requestParameters.communityFormView was null or undefined when calling update5.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/building/{id}".replace("{id}",encodeURIComponent(String(e.id))),method:"PUT",headers:i,query:n,body:u.CommunityFormViewToJSON(e.communityFormView)},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.UiBuildingDetailsFromJSON(e)}))]}}))}))},t.prototype.update5=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.update5Raw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.updateDailyReportEmailsRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling updateDailyReportEmails.");if(null===e.updateEmailsRequest||void 0===e.updateEmailsRequest)throw new s.RequiredError("updateEmailsRequest","Required parameter requestParameters.updateEmailsRequest was null or undefined when calling updateDailyReportEmails.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/building/dailyReportEmails/{id}".replace("{id}",encodeURIComponent(String(e.id))),method:"PUT",headers:i,query:n,body:u.UpdateEmailsRequestToJSON(e.updateEmailsRequest)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.updateDailyReportEmails=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.updateDailyReportEmailsRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.updateHandoffForwardEmailsRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling updateHandoffForwardEmails.");if(null===e.updateEmailsRequest||void 0===e.updateEmailsRequest)throw new s.RequiredError("updateEmailsRequest","Required parameter requestParameters.updateEmailsRequest was null or undefined when calling updateHandoffForwardEmails.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/building/handoffForwardEmails/{id}".replace("{id}",encodeURIComponent(String(e.id))),method:"PUT",headers:i,query:n,body:u.UpdateEmailsRequestToJSON(e.updateEmailsRequest)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.updateHandoffForwardEmails=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.updateHandoffForwardEmailsRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.updateWeeklyReportEmailsRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling updateWeeklyReportEmails.");if(null===e.updateEmailsRequest||void 0===e.updateEmailsRequest)throw new s.RequiredError("updateEmailsRequest","Required parameter requestParameters.updateEmailsRequest was null or undefined when calling updateWeeklyReportEmails.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/building/weeklyReportEmails/{id}".replace("{id}",encodeURIComponent(String(e.id))),method:"PUT",headers:i,query:n,body:u.UpdateEmailsRequestToJSON(e.updateEmailsRequest)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.updateWeeklyReportEmails=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.updateWeeklyReportEmailsRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t}(s.BaseAPI);t.BuildingControllerApi=l},9530:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.BuildingSchedulingControllerApi=void 0;var s=n(296),u=n(4584),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.getTourAvailabilityRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.buildingId||void 0===e.buildingId)throw new s.RequiredError("buildingId","Required parameter requestParameters.buildingId was null or undefined when calling getTourAvailability.");if(null===e.startTime||void 0===e.startTime)throw new s.RequiredError("startTime","Required parameter requestParameters.startTime was null or undefined when calling getTourAvailability.");if(null===e.endTime||void 0===e.endTime)throw new s.RequiredError("endTime","Required parameter requestParameters.endTime was null or undefined when calling getTourAvailability.");return n={},void 0!==e.startTime&&(n.startTime=e.startTime),void 0!==e.endTime&&(n.endTime=e.endTime),i={},[4,this.request({path:"/api/pub/v1/buildings/{buildingId}/tour/availabilities".replace("{buildingId}",encodeURIComponent(String(e.buildingId))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.TourAvailabilityResponseFromJSON(e)}))]}}))}))},t.prototype.getTourAvailability=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getTourAvailabilityRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t}(s.BaseAPI);t.BuildingSchedulingControllerApi=l},8823:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.BuildingsControllerApi=void 0;var s=n(296),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.listUnitsRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.buildingId||void 0===e.buildingId)throw new s.RequiredError("buildingId","Required parameter requestParameters.buildingId was null or undefined when calling listUnits.");return n={},i={},[4,this.request({path:"/api/buildings/{buildingId}/units".replace("{buildingId}",encodeURIComponent(String(e.buildingId))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r)]}}))}))},t.prototype.listUnits=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.listUnitsRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t}(s.BaseAPI);t.BuildingsControllerApi=u},4100:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.CalendarEventTourHandlerControllerApi=void 0;var s=n(296),u=n(4584),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.createCalendarEventTourHandlerRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.createCalendarEventTourHandlerDto||void 0===e.createCalendarEventTourHandlerDto)throw new s.RequiredError("createCalendarEventTourHandlerDto","Required parameter requestParameters.createCalendarEventTourHandlerDto was null or undefined when calling createCalendarEventTourHandler.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/tourHandler/assign",method:"POST",headers:i,query:n,body:u.CreateCalendarEventTourHandlerDtoToJSON(e.createCalendarEventTourHandlerDto)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.createCalendarEventTourHandler=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.createCalendarEventTourHandlerRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getCurrentTourHandlersForBuildingRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.buildingId||void 0===e.buildingId)throw new s.RequiredError("buildingId","Required parameter requestParameters.buildingId was null or undefined when calling getCurrentTourHandlersForBuilding.");return n={},i={},[4,this.request({path:"/api/v1/tourHandler/getForBuilding/{buildingId}".replace("{buildingId}",encodeURIComponent(String(e.buildingId))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return s.mapValues(e,u.CalendarEventTourHandlerFromJSON)}))]}}))}))},t.prototype.getCurrentTourHandlersForBuilding=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getCurrentTourHandlersForBuildingRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t}(s.BaseAPI);t.CalendarEventTourHandlerControllerApi=l},1210:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.ChatTelemetryControllerApi=void 0;var s=n(296),u=n(4584),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.postChatEventRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.chatTelemetryDto||void 0===e.chatTelemetryDto)throw new s.RequiredError("chatTelemetryDto","Required parameter requestParameters.chatTelemetryDto was null or undefined when calling postChatEvent.");return n={},(i={})["Content-Type"]="application/json",void 0!==e.userAgent&&null!==e.userAgent&&(i["user-agent"]=String(e.userAgent)),[4,this.request({path:"/api/pub/chat-stats",method:"POST",headers:i,query:n,body:u.ChatTelemetryDtoToJSON(e.chatTelemetryDto)},t)];case 1:return r=o.sent(),[2,new s.VoidApiResponse(r)]}}))}))},t.prototype.postChatEvent=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.postChatEventRaw(e,t)];case 1:return n.sent(),[2]}}))}))},t}(s.BaseAPI);t.ChatTelemetryControllerApi=l},3515:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.ContextControllerApi=void 0;var s=n(296),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.getAgentIdFromContextRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.contextId||void 0===e.contextId)throw new s.RequiredError("contextId","Required parameter requestParameters.contextId was null or undefined when calling getAgentIdFromContext.");return n={},i={},[4,this.request({path:"/api/pub/context/{contextId}/getAgentId".replace("{contextId}",encodeURIComponent(String(e.contextId))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.getAgentIdFromContext=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getAgentIdFromContextRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t}(s.BaseAPI);t.ContextControllerApi=u},5855:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.ConversationControllerApi=void 0;var s=n(296),u=n(4584),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.getConversationRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.conversationKey||void 0===e.conversationKey)throw new s.RequiredError("conversationKey","Required parameter requestParameters.conversationKey was null or undefined when calling getConversation.");return n={},i={},[4,this.request({path:"/api/pub/conversation/{conversationKey}".replace("{conversationKey}",encodeURIComponent(String(e.conversationKey))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.ConversationFromJSON(e)}))]}}))}))},t.prototype.getConversation=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getConversationRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getConversation1Raw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.contextId||void 0===e.contextId)throw new s.RequiredError("contextId","Required parameter requestParameters.contextId was null or undefined when calling getConversation1.");return n={},i={},[4,this.request({path:"/api/pub/conversation/contextId/{contextId}/text".replace("{contextId}",encodeURIComponent(String(e.contextId))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.ConversationFromJSON(e)}))]}}))}))},t.prototype.getConversation1=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getConversation1Raw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getConversationV2Raw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.conversationKey||void 0===e.conversationKey)throw new s.RequiredError("conversationKey","Required parameter requestParameters.conversationKey was null or undefined when calling getConversationV2.");return n={},i={},[4,this.request({path:"/api/pub/conversation/v2/{conversationKey}".replace("{conversationKey}",encodeURIComponent(String(e.conversationKey))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.ConversationV2FromJSON(e)}))]}}))}))},t.prototype.getConversationV2=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getConversationV2Raw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t}(s.BaseAPI);t.ConversationControllerApi=l},4345:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.DialogueScriptControllerApi=void 0;var s=n(296),u=n(4584),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.deleteScriptByIdRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling deleteScriptById.");return n={},i={},[4,this.request({path:"/renterApi/v1/dialogueScripts/{id}".replace("{id}",encodeURIComponent(String(e.id))),method:"DELETE",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.VoidApiResponse(r)]}}))}))},t.prototype.deleteScriptById=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.deleteScriptByIdRaw(e,t)];case 1:return n.sent(),[2]}}))}))},t.prototype.getDefaultScriptsRaw=function(e){return o(this,void 0,void 0,(function(){var t,n,i;return a(this,(function(r){switch(r.label){case 0:return t={},n={},[4,this.request({path:"/renterApi/v1/dialogueScripts/default",method:"GET",headers:n,query:t},e)];case 1:return i=r.sent(),[2,new s.JSONApiResponse(i,(function(e){return e.map(u.DialogueScriptFromJSON)}))]}}))}))},t.prototype.getDefaultScripts=function(e){return o(this,void 0,void 0,(function(){return a(this,(function(t){switch(t.label){case 0:return[4,this.getDefaultScriptsRaw(e)];case 1:return[4,t.sent().value()];case 2:return[2,t.sent()]}}))}))},t.prototype.getScriptRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.intent||void 0===e.intent)throw new s.RequiredError("intent","Required parameter requestParameters.intent was null or undefined when calling getScript.");if(null===e.organizationId||void 0===e.organizationId)throw new s.RequiredError("organizationId","Required parameter requestParameters.organizationId was null or undefined when calling getScript.");if(null===e.buildingId||void 0===e.buildingId)throw new s.RequiredError("buildingId","Required parameter requestParameters.buildingId was null or undefined when calling getScript.");return n={},void 0!==e.organizationId&&(n.organizationId=e.organizationId),void 0!==e.buildingId&&(n.buildingId=e.buildingId),i={},[4,this.request({path:"/renterApi/v1/dialogueScripts/{intent}".replace("{intent}",encodeURIComponent(String(e.intent))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.DialogueScriptFromJSON(e)}))]}}))}))},t.prototype.getScript=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getScriptRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getScriptBySubintentRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.intent||void 0===e.intent)throw new s.RequiredError("intent","Required parameter requestParameters.intent was null or undefined when calling getScriptBySubintent.");if(null===e.subintent||void 0===e.subintent)throw new s.RequiredError("subintent","Required parameter requestParameters.subintent was null or undefined when calling getScriptBySubintent.");if(null===e.organizationId||void 0===e.organizationId)throw new s.RequiredError("organizationId","Required parameter requestParameters.organizationId was null or undefined when calling getScriptBySubintent.");if(null===e.buildingId||void 0===e.buildingId)throw new s.RequiredError("buildingId","Required parameter requestParameters.buildingId was null or undefined when calling getScriptBySubintent.");return n={},void 0!==e.organizationId&&(n.organizationId=e.organizationId),void 0!==e.buildingId&&(n.buildingId=e.buildingId),i={},[4,this.request({path:"/renterApi/v1/dialogueScripts/{intent}/{subintent}".replace("{intent}",encodeURIComponent(String(e.intent))).replace("{subintent}",encodeURIComponent(String(e.subintent))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.DialogueScriptFromJSON(e)}))]}}))}))},t.prototype.getScriptBySubintent=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getScriptBySubintentRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getScriptsForBuildingRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.organizationId||void 0===e.organizationId)throw new s.RequiredError("organizationId","Required parameter requestParameters.organizationId was null or undefined when calling getScriptsForBuilding.");if(null===e.buildingId||void 0===e.buildingId)throw new s.RequiredError("buildingId","Required parameter requestParameters.buildingId was null or undefined when calling getScriptsForBuilding.");return n={},void 0!==e.organizationId&&(n.organizationId=e.organizationId),void 0!==e.buildingId&&(n.buildingId=e.buildingId),i={},[4,this.request({path:"/renterApi/v1/dialogueScripts",method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return e.map(u.DialogueScriptFromJSON)}))]}}))}))},t.prototype.getScriptsForBuilding=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getScriptsForBuildingRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.putScriptRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.upsertDialogueScriptRequest||void 0===e.upsertDialogueScriptRequest)throw new s.RequiredError("upsertDialogueScriptRequest","Required parameter requestParameters.upsertDialogueScriptRequest was null or undefined when calling putScript.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/renterApi/v1/dialogueScripts",method:"PUT",headers:i,query:n,body:u.UpsertDialogueScriptRequestToJSON(e.upsertDialogueScriptRequest)},t)];case 1:return r=o.sent(),[2,new s.VoidApiResponse(r)]}}))}))},t.prototype.putScript=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.putScriptRaw(e,t)];case 1:return n.sent(),[2]}}))}))},t.prototype.putScriptsRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.upsertDialogueScriptRequest||void 0===e.upsertDialogueScriptRequest)throw new s.RequiredError("upsertDialogueScriptRequest","Required parameter requestParameters.upsertDialogueScriptRequest was null or undefined when calling putScripts.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/renterApi/v1/dialogueScripts/upsertMany",method:"PUT",headers:i,query:n,body:e.upsertDialogueScriptRequest.map(u.UpsertDialogueScriptRequestToJSON)},t)];case 1:return r=o.sent(),[2,new s.VoidApiResponse(r)]}}))}))},t.prototype.putScripts=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.putScriptsRaw(e,t)];case 1:return n.sent(),[2]}}))}))},t}(s.BaseAPI);t.DialogueScriptControllerApi=l},2938:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.EntrataProxyControllerApi=void 0;var s=n(296),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.getLeadPickListsRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.securityKey||void 0===e.securityKey)throw new s.RequiredError("securityKey","Required parameter requestParameters.securityKey was null or undefined when calling getLeadPickLists.");if(null===e.userId||void 0===e.userId)throw new s.RequiredError("userId","Required parameter requestParameters.userId was null or undefined when calling getLeadPickLists.");if(null===e.propertyId||void 0===e.propertyId)throw new s.RequiredError("propertyId","Required parameter requestParameters.propertyId was null or undefined when calling getLeadPickLists.");return n={},void 0!==e.securityKey&&(n.securityKey=e.securityKey),void 0!==e.userId&&(n.userId=e.userId),void 0!==e.propertyId&&(n.propertyId=e.propertyId),i={},[4,this.request({path:"/api/pub/entrata/getleadpicklists",method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.getLeadPickLists=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getLeadPickListsRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getMitsLeadsRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.securityKey||void 0===e.securityKey)throw new s.RequiredError("securityKey","Required parameter requestParameters.securityKey was null or undefined when calling getMitsLeads.");if(null===e.leadId||void 0===e.leadId)throw new s.RequiredError("leadId","Required parameter requestParameters.leadId was null or undefined when calling getMitsLeads.");if(null===e.buildingId||void 0===e.buildingId)throw new s.RequiredError("buildingId","Required parameter requestParameters.buildingId was null or undefined when calling getMitsLeads.");return n={},void 0!==e.securityKey&&(n.securityKey=e.securityKey),void 0!==e.leadId&&(n.leadId=e.leadId),void 0!==e.buildingId&&(n.buildingId=e.buildingId),i={},[4,this.request({path:"/api/pub/entrata/getmitsleads",method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.getMitsLeads=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getMitsLeadsRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t}(s.BaseAPI);t.EntrataProxyControllerApi=u},5021:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.EscalationsControllerApi=void 0;var s=n(296),u=n(4584),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.escalationsForBuildingIdRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.buildingId||void 0===e.buildingId)throw new s.RequiredError("buildingId","Required parameter requestParameters.buildingId was null or undefined when calling escalationsForBuildingId.");return n={},i={},[4,this.request({path:"/api/v1/escalations/getByBuildingId/{buildingId}".replace("{buildingId}",encodeURIComponent(String(e.buildingId))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return e.map(u.AlertQueueInfoFromJSON)}))]}}))}))},t.prototype.escalationsForBuildingId=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.escalationsForBuildingIdRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.ignoreMCConversationRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.mcId||void 0===e.mcId)throw new s.RequiredError("mcId","Required parameter requestParameters.mcId was null or undefined when calling ignoreMCConversation.");return n={},i={},[4,this.request({path:"/api/v1/escalations/mc/escalation/ignore/{mcId}".replace("{mcId}",encodeURIComponent(String(e.mcId))),method:"POST",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.ignoreMCConversation=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.ignoreMCConversationRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.resolveEscalationRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.resolveEscalationDto||void 0===e.resolveEscalationDto)throw new s.RequiredError("resolveEscalationDto","Required parameter requestParameters.resolveEscalationDto was null or undefined when calling resolveEscalation.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/escalations/resolve",method:"POST",headers:i,query:n,body:u.ResolveEscalationDtoToJSON(e.resolveEscalationDto)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.resolveEscalation=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.resolveEscalationRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.respondToMCConversationRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.respondToMCConversationDTO||void 0===e.respondToMCConversationDTO)throw new s.RequiredError("respondToMCConversationDTO","Required parameter requestParameters.respondToMCConversationDTO was null or undefined when calling respondToMCConversation.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/escalations/mc/escalation/respond",method:"POST",headers:i,query:n,body:u.RespondToMCConversationDTOToJSON(e.respondToMCConversationDTO)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.respondToMCConversation=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.respondToMCConversationRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t}(s.BaseAPI);t.EscalationsControllerApi=l},9962:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.EventsControllerApi=void 0;var s=n(296),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.getAssignedLeasingAgentIdForEventRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.eventId||void 0===e.eventId)throw new s.RequiredError("eventId","Required parameter requestParameters.eventId was null or undefined when calling getAssignedLeasingAgentIdForEvent.");return n={},i={},[4,this.request({path:"/api/v1/calendar/events/{eventId}/assignedLeasingAgentId".replace("{eventId}",encodeURIComponent(String(e.eventId))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.getAssignedLeasingAgentIdForEvent=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getAssignedLeasingAgentIdForEventRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t}(s.BaseAPI);t.EventsControllerApi=u},8196:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.FeatureFlagControllerApi=void 0;var s=n(296),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.getBoolFeatureFlagRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.featureKey||void 0===e.featureKey)throw new s.RequiredError("featureKey","Required parameter requestParameters.featureKey was null or undefined when calling getBoolFeatureFlag.");if(null===e.requestDto||void 0===e.requestDto)throw new s.RequiredError("requestDto","Required parameter requestParameters.requestDto was null or undefined when calling getBoolFeatureFlag.");return n={},void 0!==e.requestDto&&(n.requestDto=e.requestDto),i={},[4,this.request({path:"/api/v1/features/bool/{featureKey}".replace("{featureKey}",encodeURIComponent(String(e.featureKey))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.getBoolFeatureFlag=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getBoolFeatureFlagRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getIntFeatureFlagRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.featureKey||void 0===e.featureKey)throw new s.RequiredError("featureKey","Required parameter requestParameters.featureKey was null or undefined when calling getIntFeatureFlag.");if(null===e.requestDto||void 0===e.requestDto)throw new s.RequiredError("requestDto","Required parameter requestParameters.requestDto was null or undefined when calling getIntFeatureFlag.");return n={},void 0!==e.requestDto&&(n.requestDto=e.requestDto),i={},[4,this.request({path:"/api/v1/features/int/{featureKey}".replace("{featureKey}",encodeURIComponent(String(e.featureKey))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.getIntFeatureFlag=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getIntFeatureFlagRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getStringFeatureFlagRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.featureKey||void 0===e.featureKey)throw new s.RequiredError("featureKey","Required parameter requestParameters.featureKey was null or undefined when calling getStringFeatureFlag.");if(null===e.requestDto||void 0===e.requestDto)throw new s.RequiredError("requestDto","Required parameter requestParameters.requestDto was null or undefined when calling getStringFeatureFlag.");return n={},void 0!==e.requestDto&&(n.requestDto=e.requestDto),i={},[4,this.request({path:"/api/v1/features/string/{featureKey}".replace("{featureKey}",encodeURIComponent(String(e.featureKey))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.getStringFeatureFlag=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getStringFeatureFlagRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t}(s.BaseAPI);t.FeatureFlagControllerApi=u},5282:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.FirstContactControllerApi=void 0;var s=n(296),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.getFirstContactTypeForUserRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.userId||void 0===e.userId)throw new s.RequiredError("userId","Required parameter requestParameters.userId was null or undefined when calling getFirstContactTypeForUser.");return n={},i={},[4,this.request({path:"/api/v1/firstcontact/user_id/{userId}".replace("{userId}",encodeURIComponent(String(e.userId))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r)]}}))}))},t.prototype.getFirstContactTypeForUser=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getFirstContactTypeForUserRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t}(s.BaseAPI);t.FirstContactControllerApi=u},4702:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.FollowUpControllerApi=void 0;var s=n(296),u=n(4584),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.setFollowupFromCalendarRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.followUpParams||void 0===e.followUpParams)throw new s.RequiredError("followUpParams","Required parameter requestParameters.followUpParams was null or undefined when calling setFollowupFromCalendar.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/followup/",method:"POST",headers:i,query:n,body:u.FollowUpParamsToJSON(e.followUpParams)},t)];case 1:return r=o.sent(),[2,new s.VoidApiResponse(r)]}}))}))},t.prototype.setFollowupFromCalendar=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.setFollowupFromCalendarRaw(e,t)];case 1:return n.sent(),[2]}}))}))},t}(s.BaseAPI);t.FollowUpControllerApi=l},683:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.FunnelIntegrationsControllerApi=void 0;var s=n(296),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.knockAppointmentEventsWebhook1Raw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.body||void 0===e.body)throw new s.RequiredError("body","Required parameter requestParameters.body was null or undefined when calling knockAppointmentEventsWebhook1.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/integrations/funnel/events",method:"POST",headers:i,query:n,body:e.body},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.knockAppointmentEventsWebhook1=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.knockAppointmentEventsWebhook1Raw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t}(s.BaseAPI);t.FunnelIntegrationsControllerApi=u},5977:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.KnockIntegrationsControllerApi=void 0;var s=n(296),u=n(4584),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.getAllKnockAgentsRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.communityId||void 0===e.communityId)throw new s.RequiredError("communityId","Required parameter requestParameters.communityId was null or undefined when calling getAllKnockAgents.");return n={},i={},[4,this.request({path:"/api/v1/integrations/knock/{communityId}/agents".replace("{communityId}",encodeURIComponent(String(e.communityId))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return e.map(u.KnockAgentsNodeFromJSON)}))]}}))}))},t.prototype.getAllKnockAgents=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getAllKnockAgentsRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getEliseAgentRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.communityId||void 0===e.communityId)throw new s.RequiredError("communityId","Required parameter requestParameters.communityId was null or undefined when calling getEliseAgent.");return n={},i={},[4,this.request({path:"/api/v1/integrations/knock/{communityId}/eliseAgent".replace("{communityId}",encodeURIComponent(String(e.communityId))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.KnockAgentsNodeFromJSON(e)}))]}}))}))},t.prototype.getEliseAgent=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getEliseAgentRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getKnockCommunitiesRaw=function(e){return o(this,void 0,void 0,(function(){var t,n,i;return a(this,(function(r){switch(r.label){case 0:return t={},n={},[4,this.request({path:"/api/v1/integrations/knock/communities",method:"GET",headers:n,query:t},e)];case 1:return i=r.sent(),[2,new s.JSONApiResponse(i,(function(e){return e.map(u.CommunitiesEdgeFromJSON)}))]}}))}))},t.prototype.getKnockCommunities=function(e){return o(this,void 0,void 0,(function(){return a(this,(function(t){switch(t.label){case 0:return[4,this.getKnockCommunitiesRaw(e)];case 1:return[4,t.sent().value()];case 2:return[2,t.sent()]}}))}))},t.prototype.getKnockCommunityIdRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.buildingName||void 0===e.buildingName)throw new s.RequiredError("buildingName","Required parameter requestParameters.buildingName was null or undefined when calling getKnockCommunityId.");if(null===e.streetAddress||void 0===e.streetAddress)throw new s.RequiredError("streetAddress","Required parameter requestParameters.streetAddress was null or undefined when calling getKnockCommunityId.");return n={},void 0!==e.buildingName&&(n.buildingName=e.buildingName),void 0!==e.streetAddress&&(n.streetAddress=e.streetAddress),i={},[4,this.request({path:"/api/v1/integrations/knock/community/id",method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.getKnockCommunityId=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getKnockCommunityIdRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.knockAppointmentEventsWebhookRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.body||void 0===e.body)throw new s.RequiredError("body","Required parameter requestParameters.body was null or undefined when calling knockAppointmentEventsWebhook.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/integrations/knock/appointment_events",method:"POST",headers:i,query:n,body:e.body},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.knockAppointmentEventsWebhook=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.knockAppointmentEventsWebhookRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t}(s.BaseAPI);t.KnockIntegrationsControllerApi=l},8242:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.LeadSourcesControllerApi=void 0;var s=n(296),u=n(4584),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.getLeadSourcesRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.buildingId||void 0===e.buildingId)throw new s.RequiredError("buildingId","Required parameter requestParameters.buildingId was null or undefined when calling getLeadSources.");return n={},i={},[4,this.request({path:"/api/pub/lead-sources/v1/building/{buildingId}".replace("{buildingId}",encodeURIComponent(String(e.buildingId))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.LeadSourceResponseFromJSON(e)}))]}}))}))},t.prototype.getLeadSources=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getLeadSourcesRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getLeadSourcesIntegration1Raw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.buildingId||void 0===e.buildingId)throw new s.RequiredError("buildingId","Required parameter requestParameters.buildingId was null or undefined when calling getLeadSourcesIntegration1.");return n={},i={},[4,this.request({path:"/api/pub/lead-sources/v1/crm/building/{buildingId}".replace("{buildingId}",encodeURIComponent(String(e.buildingId))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.LeadSourceResponseFromJSON(e)}))]}}))}))},t.prototype.getLeadSourcesIntegration1=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getLeadSourcesIntegration1Raw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t}(s.BaseAPI);t.LeadSourcesControllerApi=l},9714:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.LeadsControllerApi=void 0;var s=n(296),u=n(4584),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.getLeadThreadViewModelsRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:return n={},void 0!==e.leadEmail&&(n.leadEmail=e.leadEmail),void 0!==e.leadPhoneNumber&&(n.leadPhoneNumber=e.leadPhoneNumber),void 0!==e.leadName&&(n.leadName=e.leadName),void 0!==e.buildingId&&(n.buildingId=e.buildingId),i={},[4,this.request({path:"/api/v1/leads",method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return e.map(u.LeadThreadViewModelFromJSON)}))]}}))}))},t.prototype.getLeadThreadViewModels=function(e,t){return void 0===e&&(e={}),o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getLeadThreadViewModelsRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getLeadsWithSourceRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.leadEmail||void 0===e.leadEmail)throw new s.RequiredError("leadEmail","Required parameter requestParameters.leadEmail was null or undefined when calling getLeadsWithSource.");if(null===e.buildingId||void 0===e.buildingId)throw new s.RequiredError("buildingId","Required parameter requestParameters.buildingId was null or undefined when calling getLeadsWithSource.");return n={},void 0!==e.leadEmail&&(n.leadEmail=e.leadEmail),void 0!==e.buildingId&&(n.buildingId=e.buildingId),i={},[4,this.request({path:"/api/v1/leads/leadsWithSource",method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return e.map(u.LeadWithSourceFromJSON)}))]}}))}))},t.prototype.getLeadsWithSource=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getLeadsWithSourceRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t}(s.BaseAPI);t.LeadsControllerApi=l},7659:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.LeasingAgentsControllerApi=void 0;var s=n(296),u=n(4584),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.getLeasingAgentsForBuildingRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.buildingId||void 0===e.buildingId)throw new s.RequiredError("buildingId","Required parameter requestParameters.buildingId was null or undefined when calling getLeasingAgentsForBuilding.");return n={},i={},[4,this.request({path:"/api/v1/leasingagents/building/{buildingId}".replace("{buildingId}",encodeURIComponent(String(e.buildingId))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return e.map(u.LeasingAgentFromJSON)}))]}}))}))},t.prototype.getLeasingAgentsForBuilding=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getLeasingAgentsForBuildingRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getLeasingAgentsForUserRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.userId||void 0===e.userId)throw new s.RequiredError("userId","Required parameter requestParameters.userId was null or undefined when calling getLeasingAgentsForUser.");return n={},i={},[4,this.request({path:"/api/v1/leasingagents/{userId}".replace("{userId}",encodeURIComponent(String(e.userId))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return e.map(u.LeasingAgentFromJSON)}))]}}))}))},t.prototype.getLeasingAgentsForUser=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getLeasingAgentsForUserRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t}(s.BaseAPI);t.LeasingAgentsControllerApi=l},2311:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.MarketingSourcesControllerApi=void 0;var s=n(296),u=n(4584),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.initializeWhitelisting1Raw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.buildingId||void 0===e.buildingId)throw new s.RequiredError("buildingId","Required parameter requestParameters.buildingId was null or undefined when calling initializeWhitelisting1.");return n={},i={},[4,this.request({path:"/api/v1/marketingSources/{buildingId}".replace("{buildingId}",encodeURIComponent(String(e.buildingId))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return e.map(u.ExternalBuildingSourceFromJSON)}))]}}))}))},t.prototype.initializeWhitelisting1=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.initializeWhitelisting1Raw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t}(s.BaseAPI);t.MarketingSourcesControllerApi=l},5827:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.MeHomeControllerApi=void 0;var s=n(296),u=n(4584),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.getDashboardInfoRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.getMEHomeDashboardInfoDto||void 0===e.getMEHomeDashboardInfoDto)throw new s.RequiredError("getMEHomeDashboardInfoDto","Required parameter requestParameters.getMEHomeDashboardInfoDto was null or undefined when calling getDashboardInfo.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/mehome/dashboardInfo",method:"POST",headers:i,query:n,body:u.GetMEHomeDashboardInfoDtoToJSON(e.getMEHomeDashboardInfoDto)},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.MEHomeDashboardInfoFromJSON(e)}))]}}))}))},t.prototype.getDashboardInfo=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getDashboardInfoRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t}(s.BaseAPI);t.MeHomeControllerApi=l},5334:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.OfficeHoursControllerApi=void 0;var s=n(296),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.refreshAnyoneHomeOfficeHoursRaw=function(e){return o(this,void 0,void 0,(function(){var t,n,i;return a(this,(function(r){switch(r.label){case 0:return t={},n={},[4,this.request({path:"/api/v1/officehours/refreshAnyoneHomeOfficeHours",method:"GET",headers:n,query:t},e)];case 1:return i=r.sent(),[2,new s.VoidApiResponse(i)]}}))}))},t.prototype.refreshAnyoneHomeOfficeHours=function(e){return o(this,void 0,void 0,(function(){return a(this,(function(t){switch(t.label){case 0:return[4,this.refreshAnyoneHomeOfficeHoursRaw(e)];case 1:return t.sent(),[2]}}))}))},t}(s.BaseAPI);t.OfficeHoursControllerApi=u},7043:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.OrganizationApiControllerApi=void 0;var s=n(296),u=n(4584),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.create1Raw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.organization||void 0===e.organization)throw new s.RequiredError("organization","Required parameter requestParameters.organization was null or undefined when calling create1.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/company/",method:"POST",headers:i,query:n,body:u.OrganizationToJSON(e.organization)},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.OrganizationFromJSON(e)}))]}}))}))},t.prototype.create1=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.create1Raw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.get3Raw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling get3.");return n={},i={},[4,this.request({path:"/api/v1/company/{id}".replace("{id}",encodeURIComponent(String(e.id))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.OrganizationFromJSON(e)}))]}}))}))},t.prototype.get3=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.get3Raw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getActiveBuildingNamesRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.requestBody||void 0===e.requestBody)throw new s.RequiredError("requestBody","Required parameter requestParameters.requestBody was null or undefined when calling getActiveBuildingNames.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/company/activeBuildingNames",method:"POST",headers:i,query:n,body:e.requestBody},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r)]}}))}))},t.prototype.getActiveBuildingNames=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getActiveBuildingNamesRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getOrgsRaw=function(e){return o(this,void 0,void 0,(function(){var t,n,i;return a(this,(function(r){switch(r.label){case 0:return t={},n={},[4,this.request({path:"/api/v1/company/",method:"GET",headers:n,query:t},e)];case 1:return i=r.sent(),[2,new s.JSONApiResponse(i,(function(e){return u.ListWrapperOrganizationFromJSON(e)}))]}}))}))},t.prototype.getOrgs=function(e){return o(this,void 0,void 0,(function(){return a(this,(function(t){switch(t.label){case 0:return[4,this.getOrgsRaw(e)];case 1:return[4,t.sent().value()];case 2:return[2,t.sent()]}}))}))},t.prototype.getUsersRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.orgId||void 0===e.orgId)throw new s.RequiredError("orgId","Required parameter requestParameters.orgId was null or undefined when calling getUsers.");return n={},i={},[4,this.request({path:"/api/v1/company/users/{orgId}".replace("{orgId}",encodeURIComponent(String(e.orgId))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return e.map(u.XagacityUserFromJSON)}))]}}))}))},t.prototype.getUsers=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getUsersRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.update4Raw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling update4.");if(null===e.organization||void 0===e.organization)throw new s.RequiredError("organization","Required parameter requestParameters.organization was null or undefined when calling update4.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/company/{id}".replace("{id}",encodeURIComponent(String(e.id))),method:"PUT",headers:i,query:n,body:u.OrganizationToJSON(e.organization)},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.OrganizationFromJSON(e)}))]}}))}))},t.prototype.update4=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.update4Raw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t}(s.BaseAPI);t.OrganizationApiControllerApi=l},1092:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.PublicBuildingControllerApi=void 0;var s=n(296),u=n(4584),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.getOrgIdFromUUIDRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.uuid||void 0===e.uuid)throw new s.RequiredError("uuid","Required parameter requestParameters.uuid was null or undefined when calling getOrgIdFromUUID.");return n={},i={},[4,this.request({path:"/api/pub/v1/organization/{uuid}".replace("{uuid}",encodeURIComponent(String(e.uuid))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.getOrgIdFromUUID=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getOrgIdFromUUIDRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getPublicBuildingInfoRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.organizationSlug||void 0===e.organizationSlug)throw new s.RequiredError("organizationSlug","Required parameter requestParameters.organizationSlug was null or undefined when calling getPublicBuildingInfo.");if(null===e.buildingSlug||void 0===e.buildingSlug)throw new s.RequiredError("buildingSlug","Required parameter requestParameters.buildingSlug was null or undefined when calling getPublicBuildingInfo.");return n={},i={},[4,this.request({path:"/api/pub/v1/organization/{organizationSlug}/building/{buildingSlug}".replace("{organizationSlug}",encodeURIComponent(String(e.organizationSlug))).replace("{buildingSlug}",encodeURIComponent(String(e.buildingSlug))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.BuildingPublicViewModelFromJSON(e)}))]}}))}))},t.prototype.getPublicBuildingInfo=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getPublicBuildingInfoRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t}(s.BaseAPI);t.PublicBuildingControllerApi=l},535:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.PublicUnsubscribeControllerApi=void 0;var s=n(296),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.unsubscribeFromStateRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.stateId||void 0===e.stateId)throw new s.RequiredError("stateId","Required parameter requestParameters.stateId was null or undefined when calling unsubscribeFromState.");return n={},i={},[4,this.request({path:"/api/unsubscribe/{stateId}".replace("{stateId}",encodeURIComponent(String(e.stateId))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.unsubscribeFromState=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.unsubscribeFromStateRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t}(s.BaseAPI);t.PublicUnsubscribeControllerApi=u},4071:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.RecurringEventsControllerApi=void 0;var s=n(296),u=n(4584),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.delete1Raw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling delete1.");return n={},i={},[4,this.request({path:"/api/v1/recurring_events/{id}".replace("{id}",encodeURIComponent(String(e.id))),method:"DELETE",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.delete1=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.delete1Raw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.get2Raw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling get2.");return n={},i={},[4,this.request({path:"/api/v1/recurring_events/{id}".replace("{id}",encodeURIComponent(String(e.id))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.RecurringEventDtoFromJSON(e)}))]}}))}))},t.prototype.get2=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.get2Raw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.saveRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.recurringEventCreateRequestDto||void 0===e.recurringEventCreateRequestDto)throw new s.RequiredError("recurringEventCreateRequestDto","Required parameter requestParameters.recurringEventCreateRequestDto was null or undefined when calling save.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/recurring_events",method:"POST",headers:i,query:n,body:u.RecurringEventCreateRequestDtoToJSON(e.recurringEventCreateRequestDto)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.save=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.saveRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.update3Raw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling update3.");if(null===e.recurringEventUpdateRequestDto||void 0===e.recurringEventUpdateRequestDto)throw new s.RequiredError("recurringEventUpdateRequestDto","Required parameter requestParameters.recurringEventUpdateRequestDto was null or undefined when calling update3.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/recurring_events/{id}".replace("{id}",encodeURIComponent(String(e.id))),method:"PUT",headers:i,query:n,body:u.RecurringEventUpdateRequestDtoToJSON(e.recurringEventUpdateRequestDto)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.update3=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.update3Raw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t}(s.BaseAPI);t.RecurringEventsControllerApi=l},5834:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.RenterBuildingControllerApi=void 0;var s=n(296),u=n(4584),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.findRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.name||void 0===e.name)throw new s.RequiredError("name","Required parameter requestParameters.name was null or undefined when calling find.");if(null===e.address||void 0===e.address)throw new s.RequiredError("address","Required parameter requestParameters.address was null or undefined when calling find.");if(null===e.zip||void 0===e.zip)throw new s.RequiredError("zip","Required parameter requestParameters.zip was null or undefined when calling find.");return n={},void 0!==e.name&&(n.name=e.name),void 0!==e.address&&(n.address=e.address),void 0!==e.zip&&(n.zip=e.zip),i={},[4,this.request({path:"/renterApi/v1/building/find",method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.BuildingDetailsFromJSON(e)}))]}}))}))},t.prototype.find=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.findRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.findBuildingsManagedByRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.email||void 0===e.email)throw new s.RequiredError("email","Required parameter requestParameters.email was null or undefined when calling findBuildingsManagedBy.");return n={},void 0!==e.email&&(n.email=e.email),i={},[4,this.request({path:"/renterApi/v1/building/managedBy",method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return e.map(u.BuildingDetailsFromJSON)}))]}}))}))},t.prototype.findBuildingsManagedBy=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.findBuildingsManagedByRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.findByNameRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling findByName.");return n={},i={},[4,this.request({path:"/renterApi/v1/building/{id}".replace("{id}",encodeURIComponent(String(e.id))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.BuildingDetailsFromJSON(e)}))]}}))}))},t.prototype.findByName=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.findByNameRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.geocodeLocationRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.address||void 0===e.address)throw new s.RequiredError("address","Required parameter requestParameters.address was null or undefined when calling geocodeLocation.");return n={},void 0!==e.address&&(n.address=e.address),i={},[4,this.request({path:"/renterApi/v1/building/location/geocode",method:"PATCH",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.LocationFromJSON(e)}))]}}))}))},t.prototype.geocodeLocation=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.geocodeLocationRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.geocodeLocation1Raw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.address||void 0===e.address)throw new s.RequiredError("address","Required parameter requestParameters.address was null or undefined when calling geocodeLocation1.");return n={},void 0!==e.address&&(n.address=e.address),i={},[4,this.request({path:"/renterApi/v1/building/location/geocode",method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.LocationFromJSON(e)}))]}}))}))},t.prototype.geocodeLocation1=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.geocodeLocation1Raw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.geocodeLocation2Raw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.address||void 0===e.address)throw new s.RequiredError("address","Required parameter requestParameters.address was null or undefined when calling geocodeLocation2.");return n={},void 0!==e.address&&(n.address=e.address),i={},[4,this.request({path:"/renterApi/v1/building/location/geocode",method:"PUT",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.LocationFromJSON(e)}))]}}))}))},t.prototype.geocodeLocation2=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.geocodeLocation2Raw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.geocodeLocation3Raw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.address||void 0===e.address)throw new s.RequiredError("address","Required parameter requestParameters.address was null or undefined when calling geocodeLocation3.");return n={},void 0!==e.address&&(n.address=e.address),i={},[4,this.request({path:"/renterApi/v1/building/location/geocode",method:"OPTIONS",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.LocationFromJSON(e)}))]}}))}))},t.prototype.geocodeLocation3=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.geocodeLocation3Raw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.geocodeLocation4Raw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.address||void 0===e.address)throw new s.RequiredError("address","Required parameter requestParameters.address was null or undefined when calling geocodeLocation4.");return n={},void 0!==e.address&&(n.address=e.address),i={},[4,this.request({path:"/renterApi/v1/building/location/geocode",method:"POST",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.LocationFromJSON(e)}))]}}))}))},t.prototype.geocodeLocation4=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.geocodeLocation4Raw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.geocodeLocation5Raw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.address||void 0===e.address)throw new s.RequiredError("address","Required parameter requestParameters.address was null or undefined when calling geocodeLocation5.");return n={},void 0!==e.address&&(n.address=e.address),i={},[4,this.request({path:"/renterApi/v1/building/location/geocode",method:"DELETE",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.LocationFromJSON(e)}))]}}))}))},t.prototype.geocodeLocation5=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.geocodeLocation5Raw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.geocodeLocation6Raw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.address||void 0===e.address)throw new s.RequiredError("address","Required parameter requestParameters.address was null or undefined when calling geocodeLocation6.");return n={},void 0!==e.address&&(n.address=e.address),i={},[4,this.request({path:"/renterApi/v1/building/location/geocode",method:"HEAD",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.LocationFromJSON(e)}))]}}))}))},t.prototype.geocodeLocation6=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.geocodeLocation6Raw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getAllBuildingPreferencesRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling getAllBuildingPreferences.");return n={},i={},[4,this.request({path:"/renterApi/v1/building/{id}/buildingPreferences".replace("{id}",encodeURIComponent(String(e.id))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r)]}}))}))},t.prototype.getAllBuildingPreferences=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getAllBuildingPreferencesRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getAllBuildingUnitsRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling getAllBuildingUnits.");return n={},i={},[4,this.request({path:"/renterApi/v1/building/{id}/allUnits".replace("{id}",encodeURIComponent(String(e.id))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return e.map(u.UnitDetailsFromJSON)}))]}}))}))},t.prototype.getAllBuildingUnits=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getAllBuildingUnitsRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getBuildingNameByIdRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling getBuildingNameById.");return n={},i={},[4,this.request({path:"/renterApi/v1/building/{id}/name".replace("{id}",encodeURIComponent(String(e.id))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.getBuildingNameById=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getBuildingNameByIdRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getBuildingOverridesRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling getBuildingOverrides.");return n={},i={},[4,this.request({path:"/renterApi/v1/building/{id}/handoffOverrides".replace("{id}",encodeURIComponent(String(e.id))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.BuildingOverrideFromJSON(e)}))]}}))}))},t.prototype.getBuildingOverrides=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getBuildingOverridesRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getBuildingUnitsRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling getBuildingUnits.");return n={},i={},[4,this.request({path:"/renterApi/v1/building/{id}/units".replace("{id}",encodeURIComponent(String(e.id))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return e.map(u.UnitDetailsFromJSON)}))]}}))}))},t.prototype.getBuildingUnits=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getBuildingUnitsRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getBuildingUnitsWithDefaultsRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling getBuildingUnitsWithDefaults.");return n={},i={},[4,this.request({path:"/renterApi/v1/building/{id}/allActiveUnitsWithDefaults".replace("{id}",encodeURIComponent(String(e.id))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return e.map(u.UnitDetailsFromJSON)}))]}}))}))},t.prototype.getBuildingUnitsWithDefaults=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getBuildingUnitsWithDefaultsRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getBuildingUnitsWithDefaults1Raw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.name||void 0===e.name)throw new s.RequiredError("name","Required parameter requestParameters.name was null or undefined when calling getBuildingUnitsWithDefaults1.");if(null===e.address||void 0===e.address)throw new s.RequiredError("address","Required parameter requestParameters.address was null or undefined when calling getBuildingUnitsWithDefaults1.");if(null===e.zip||void 0===e.zip)throw new s.RequiredError("zip","Required parameter requestParameters.zip was null or undefined when calling getBuildingUnitsWithDefaults1.");return n={},void 0!==e.name&&(n.name=e.name),void 0!==e.address&&(n.address=e.address),void 0!==e.zip&&(n.zip=e.zip),i={},[4,this.request({path:"/renterApi/v1/building/allActiveUnitsWithDefaults",method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return e.map(u.UnitDetailsFromJSON)}))]}}))}))},t.prototype.getBuildingUnitsWithDefaults1=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getBuildingUnitsWithDefaults1Raw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getByIdRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling getById.");return n={},i={},[4,this.request({path:"/renterApi/v1/building/byId/{id}".replace("{id}",encodeURIComponent(String(e.id))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.UiBuildingDetailsFromJSON(e)}))]}}))}))},t.prototype.getById=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getByIdRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getEntities1Raw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.entityConfig||void 0===e.entityConfig)throw new s.RequiredError("entityConfig","Required parameter requestParameters.entityConfig was null or undefined when calling getEntities1.");return n={},void 0!==e.entityConfig&&(n.entityConfig=e.entityConfig),i={},[4,this.request({path:"/renterApi/v1/building/entities",method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return e.map(u.BuildingEntityFromJSON)}))]}}))}))},t.prototype.getEntities1=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getEntities1Raw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getFollowUpSettingsRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.name||void 0===e.name)throw new s.RequiredError("name","Required parameter requestParameters.name was null or undefined when calling getFollowUpSettings.");if(null===e.address||void 0===e.address)throw new s.RequiredError("address","Required parameter requestParameters.address was null or undefined when calling getFollowUpSettings.");if(null===e.zip||void 0===e.zip)throw new s.RequiredError("zip","Required parameter requestParameters.zip was null or undefined when calling getFollowUpSettings.");return n={},void 0!==e.name&&(n.name=e.name),void 0!==e.address&&(n.address=e.address),void 0!==e.zip&&(n.zip=e.zip),i={},[4,this.request({path:"/renterApi/v1/building/followUpSettings",method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.FollowUpSettingsFromJSON(e)}))]}}))}))},t.prototype.getFollowUpSettings=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getFollowUpSettingsRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getIncentivesRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling getIncentives.");return n={},void 0!==e.layout&&(n.layout=e.layout),i={},[4,this.request({path:"/renterApi/v1/building/{id}/incentives".replace("{id}",encodeURIComponent(String(e.id))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.UnitIncentiveResultFromJSON(e)}))]}}))}))},t.prototype.getIncentives=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getIncentivesRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getRentcafePropertyIdRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.userId||void 0===e.userId)throw new s.RequiredError("userId","Required parameter requestParameters.userId was null or undefined when calling getRentcafePropertyId.");if(null===e.voyagerPropertyCode||void 0===e.voyagerPropertyCode)throw new s.RequiredError("voyagerPropertyCode","Required parameter requestParameters.voyagerPropertyCode was null or undefined when calling getRentcafePropertyId.");return n={},void 0!==e.userId&&(n.userId=e.userId),void 0!==e.voyagerPropertyCode&&(n.voyagerPropertyCode=e.voyagerPropertyCode),i={},[4,this.request({path:"/renterApi/v1/building/rentcafe/propertyId",method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.getRentcafePropertyId=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getRentcafePropertyIdRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getTourPriorityByIdRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling getTourPriorityById.");return n={},i={},[4,this.request({path:"/renterApi/v1/building/{id}/tourPriority".replace("{id}",encodeURIComponent(String(e.id))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r)]}}))}))},t.prototype.getTourPriorityById=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getTourPriorityByIdRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getV2ConfigurationForBuildingRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.buildingId||void 0===e.buildingId)throw new s.RequiredError("buildingId","Required parameter requestParameters.buildingId was null or undefined when calling getV2ConfigurationForBuilding.");return n={},i={},[4,this.request({path:"/renterApi/v1/building/{buildingId}/v2Configuration".replace("{buildingId}",encodeURIComponent(String(e.buildingId))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.V2BuildingMigrationStatusFromJSON(e)}))]}}))}))},t.prototype.getV2ConfigurationForBuilding=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getV2ConfigurationForBuildingRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getVirtualTourPlatformInfoRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling getVirtualTourPlatformInfo.");return n={},i={},[4,this.request({path:"/renterApi/v1/building/{id}/preferences".replace("{id}",encodeURIComponent(String(e.id))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.BuildingTourTypePreferencesFromJSON(e)}))]}}))}))},t.prototype.getVirtualTourPlatformInfo=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getVirtualTourPlatformInfoRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.searchBuildingRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.name||void 0===e.name)throw new s.RequiredError("name","Required parameter requestParameters.name was null or undefined when calling searchBuilding.");if(null===e.address||void 0===e.address)throw new s.RequiredError("address","Required parameter requestParameters.address was null or undefined when calling searchBuilding.");if(null===e.zip||void 0===e.zip)throw new s.RequiredError("zip","Required parameter requestParameters.zip was null or undefined when calling searchBuilding.");if(null===e.startTime||void 0===e.startTime)throw new s.RequiredError("startTime","Required parameter requestParameters.startTime was null or undefined when calling searchBuilding.");if(null===e.endTime||void 0===e.endTime)throw new s.RequiredError("endTime","Required parameter requestParameters.endTime was null or undefined when calling searchBuilding.");return n={},void 0!==e.name&&(n.name=e.name),void 0!==e.address&&(n.address=e.address),void 0!==e.zip&&(n.zip=e.zip),void 0!==e.startTime&&(n.startTime=e.startTime),void 0!==e.endTime&&(n.endTime=e.endTime),i={},[4,this.request({path:"/renterApi/v1/building/search/tour/availabilities",method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.TourAvailabilityResponseFromJSON(e)}))]}}))}))},t.prototype.searchBuilding=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.searchBuildingRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.searchBuilding1Raw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.calendarId||void 0===e.calendarId)throw new s.RequiredError("calendarId","Required parameter requestParameters.calendarId was null or undefined when calling searchBuilding1.");if(null===e.startTime||void 0===e.startTime)throw new s.RequiredError("startTime","Required parameter requestParameters.startTime was null or undefined when calling searchBuilding1.");if(null===e.endTime||void 0===e.endTime)throw new s.RequiredError("endTime","Required parameter requestParameters.endTime was null or undefined when calling searchBuilding1.");if(null===e.tourTypes||void 0===e.tourTypes)throw new s.RequiredError("tourTypes","Required parameter requestParameters.tourTypes was null or undefined when calling searchBuilding1.");return n={},void 0!==e.calendarId&&(n.calendarId=e.calendarId),void 0!==e.startTime&&(n.startTime=e.startTime),void 0!==e.endTime&&(n.endTime=e.endTime),void 0!==e.tourTypes&&(n.tourTypes=e.tourTypes),i={},[4,this.request({path:"/renterApi/v1/building/search/tour/availabilities/calendar",method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.TourAvailabilityResponseFromJSON(e)}))]}}))}))},t.prototype.searchBuilding1=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.searchBuilding1Raw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t}(s.BaseAPI);t.RenterBuildingControllerApi=l},4797:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.RenterContextControllerApi=void 0;var s=n(296),u=n(4584),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.associateLeadRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.contextId||void 0===e.contextId)throw new s.RequiredError("contextId","Required parameter requestParameters.contextId was null or undefined when calling associateLead.");if(null===e.associateLeadRequestDto||void 0===e.associateLeadRequestDto)throw new s.RequiredError("associateLeadRequestDto","Required parameter requestParameters.associateLeadRequestDto was null or undefined when calling associateLead.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/renterApi/v1/context/associateLead/{contextId}".replace("{contextId}",encodeURIComponent(String(e.contextId))),method:"POST",headers:i,query:n,body:u.AssociateLeadRequestDtoToJSON(e.associateLeadRequestDto)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.associateLead=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.associateLeadRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.associateLeadByStateIdRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.stateId||void 0===e.stateId)throw new s.RequiredError("stateId","Required parameter requestParameters.stateId was null or undefined when calling associateLeadByStateId.");if(null===e.associateLeadRequestDto||void 0===e.associateLeadRequestDto)throw new s.RequiredError("associateLeadRequestDto","Required parameter requestParameters.associateLeadRequestDto was null or undefined when calling associateLeadByStateId.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/renterApi/v1/context/associateLeadByStateId/{stateId}".replace("{stateId}",encodeURIComponent(String(e.stateId))),method:"POST",headers:i,query:n,body:u.AssociateLeadRequestDtoToJSON(e.associateLeadRequestDto)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.associateLeadByStateId=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.associateLeadByStateIdRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getContextByPartyIdRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.partyId||void 0===e.partyId)throw new s.RequiredError("partyId","Required parameter requestParameters.partyId was null or undefined when calling getContextByPartyId.");return n={},i={},[4,this.request({path:"/renterApi/v1/context/partyId/{partyId}".replace("{partyId}",encodeURIComponent(String(e.partyId))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.ContextDtoFromJSON(e)}))]}}))}))},t.prototype.getContextByPartyId=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getContextByPartyIdRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getOrCreateContextFromChatRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling getOrCreateContextFromChat.");if(null===e.getOrCreateContextDto||void 0===e.getOrCreateContextDto)throw new s.RequiredError("getOrCreateContextDto","Required parameter requestParameters.getOrCreateContextDto was null or undefined when calling getOrCreateContextFromChat.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/renterApi/v1/context/chat/getOrCreate/{id}".replace("{id}",encodeURIComponent(String(e.id))),method:"POST",headers:i,query:n,body:u.GetOrCreateContextDtoToJSON(e.getOrCreateContextDto)},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.ContextDtoFromJSON(e)}))]}}))}))},t.prototype.getOrCreateContextFromChat=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getOrCreateContextFromChatRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t}(s.BaseAPI);t.RenterContextControllerApi=l},9925:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.RenterLeadSourcesControllerApi=void 0;var s=n(296),u=n(4584),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.getLeadSourcesIntegrationRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.buildingId||void 0===e.buildingId)throw new s.RequiredError("buildingId","Required parameter requestParameters.buildingId was null or undefined when calling getLeadSourcesIntegration.");return n={},i={},[4,this.request({path:"/renterApi/v1/leadSources/crm/building/{buildingId}".replace("{buildingId}",encodeURIComponent(String(e.buildingId))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.LeadSourceResponseFromJSON(e)}))]}}))}))},t.prototype.getLeadSourcesIntegration=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getLeadSourcesIntegrationRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t}(s.BaseAPI);t.RenterLeadSourcesControllerApi=l},9412:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.RenterPartyControllerApi=void 0;var s=n(296),u=n(4584),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.updatePartyLeadRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling updatePartyLead.");if(null===e.leadInfoUpdateDto||void 0===e.leadInfoUpdateDto)throw new s.RequiredError("leadInfoUpdateDto","Required parameter requestParameters.leadInfoUpdateDto was null or undefined when calling updatePartyLead.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/renterApi/v1/party/{id}/lead".replace("{id}",encodeURIComponent(String(e.id))),method:"PUT",headers:i,query:n,body:u.LeadInfoUpdateDtoToJSON(e.leadInfoUpdateDto)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.updatePartyLead=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.updatePartyLeadRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t}(s.BaseAPI);t.RenterPartyControllerApi=l},7411:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.RetrieveQuestionAnswersAcceptEnum=t.RenterQaControllerApi=void 0;var s=n(296),u=n(4584),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.retrieveQuestionAnswersRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.requestBody||void 0===e.requestBody)throw new s.RequiredError("requestBody","Required parameter requestParameters.requestBody was null or undefined when calling retrieveQuestionAnswers.");return n={},void 0!==e.requestBody&&(n.requestBody=e.requestBody),i={},void 0!==e.accept&&null!==e.accept&&(i.Accept=String(e.accept)),[4,this.request({path:"/renterApi/v1/qa",method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.ElisePredictedResponseFromJSON(e)}))]}}))}))},t.prototype.retrieveQuestionAnswers=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.retrieveQuestionAnswersRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t}(s.BaseAPI);t.RenterQaControllerApi=l,(t.RetrieveQuestionAnswersAcceptEnum||(t.RetrieveQuestionAnswersAcceptEnum={})).ApplicationJson="application/json"},1562:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.RenterTourControllerApi=void 0;var s=n(296),u=n(4584),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.bookRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.bookTourDto||void 0===e.bookTourDto)throw new s.RequiredError("bookTourDto","Required parameter requestParameters.bookTourDto was null or undefined when calling book.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/renterApi/v1/tour/book",method:"POST",headers:i,query:n,body:u.BookTourDtoToJSON(e.bookTourDto)},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.EliseCalendarEventFromJSON(e)}))]}}))}))},t.prototype.book=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.bookRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.bookByStateIdRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.bookTourByStateIdDto||void 0===e.bookTourByStateIdDto)throw new s.RequiredError("bookTourByStateIdDto","Required parameter requestParameters.bookTourByStateIdDto was null or undefined when calling bookByStateId.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/renterApi/v1/tour/bookByStateId",method:"POST",headers:i,query:n,body:u.BookTourByStateIdDtoToJSON(e.bookTourByStateIdDto)},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.EliseCalendarEventFromJSON(e)}))]}}))}))},t.prototype.bookByStateId=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.bookByStateIdRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.cancelAllRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.cancelTourDto||void 0===e.cancelTourDto)throw new s.RequiredError("cancelTourDto","Required parameter requestParameters.cancelTourDto was null or undefined when calling cancelAll.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/renterApi/v1/tour/cancelAll",method:"POST",headers:i,query:n,body:u.CancelTourDtoToJSON(e.cancelTourDto)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.cancelAll=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.cancelAllRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.cancelAllByStateIdRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.cancelTourByStateIdDto||void 0===e.cancelTourByStateIdDto)throw new s.RequiredError("cancelTourByStateIdDto","Required parameter requestParameters.cancelTourByStateIdDto was null or undefined when calling cancelAllByStateId.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/renterApi/v1/tour/cancelAllByStateId",method:"POST",headers:i,query:n,body:u.CancelTourByStateIdDtoToJSON(e.cancelTourByStateIdDto)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.cancelAllByStateId=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.cancelAllByStateIdRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t}(s.BaseAPI);t.RenterTourControllerApi=l},3195:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.RenterUnitControllerApi=void 0;var s=n(296),u=n(4584),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.getAvailableUnitsRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.buildingId||void 0===e.buildingId)throw new s.RequiredError("buildingId","Required parameter requestParameters.buildingId was null or undefined when calling getAvailableUnits.");if(null===e.layouts||void 0===e.layouts)throw new s.RequiredError("layouts","Required parameter requestParameters.layouts was null or undefined when calling getAvailableUnits.");if(null===e.startDate||void 0===e.startDate)throw new s.RequiredError("startDate","Required parameter requestParameters.startDate was null or undefined when calling getAvailableUnits.");if(null===e.endDate||void 0===e.endDate)throw new s.RequiredError("endDate","Required parameter requestParameters.endDate was null or undefined when calling getAvailableUnits.");return n={},void 0!==e.buildingId&&(n.buildingId=e.buildingId),e.layouts&&(n.layouts=e.layouts),void 0!==e.startDate&&(n.startDate=e.startDate.toISOString().substr(0,10)),void 0!==e.endDate&&(n.endDate=e.endDate.toISOString().substr(0,10)),i={},[4,this.request({path:"/renterApi/v1/unit/availability",method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return e.map(u.UnitDetailsFromJSON)}))]}}))}))},t.prototype.getAvailableUnits=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getAvailableUnitsRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t}(s.BaseAPI);t.RenterUnitControllerApi=l},3978:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.RenterUserControllerApi=void 0;var s=n(296),u=n(4584),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.findByEmailRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.email||void 0===e.email)throw new s.RequiredError("email","Required parameter requestParameters.email was null or undefined when calling findByEmail.");return n={},i={},[4,this.request({path:"/renterApi/v1/user/email/{email}".replace("{email}",encodeURIComponent(String(e.email))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.XagacityUserFromJSON(e)}))]}}))}))},t.prototype.findByEmail=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.findByEmailRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.findByIdRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling findById.");return n={},i={},[4,this.request({path:"/renterApi/v1/user/{id}".replace("{id}",encodeURIComponent(String(e.id))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.XagacityUserFromJSON(e)}))]}}))}))},t.prototype.findById=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.findByIdRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getEntitiesRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.entityConfig||void 0===e.entityConfig)throw new s.RequiredError("entityConfig","Required parameter requestParameters.entityConfig was null or undefined when calling getEntities.");return n={},void 0!==e.entityConfig&&(n.entityConfig=e.entityConfig),i={},[4,this.request({path:"/renterApi/v1/user/entities",method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return e.map(u.InboxEntityFromJSON)}))]}}))}))},t.prototype.getEntities=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getEntitiesRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t}(s.BaseAPI);t.RenterUserControllerApi=l},7282:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.ReportingServiceControllerApi=void 0;var s=n(296),u=n(4584),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.generateAndDownloadExcelReportRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.buildingId||void 0===e.buildingId)throw new s.RequiredError("buildingId","Required parameter requestParameters.buildingId was null or undefined when calling generateAndDownloadExcelReport.");if(null===e.startDate||void 0===e.startDate)throw new s.RequiredError("startDate","Required parameter requestParameters.startDate was null or undefined when calling generateAndDownloadExcelReport.");if(null===e.endDate||void 0===e.endDate)throw new s.RequiredError("endDate","Required parameter requestParameters.endDate was null or undefined when calling generateAndDownloadExcelReport.");return n={},void 0!==e.buildingId&&(n.buildingId=e.buildingId),void 0!==e.startDate&&(n.startDate=e.startDate.toISOString().substr(0,10)),void 0!==e.endDate&&(n.endDate=e.endDate.toISOString().substr(0,10)),i={},[4,this.request({path:"/api/v1/report/excel/generateAndDownload",method:"POST",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r)]}}))}))},t.prototype.generateAndDownloadExcelReport=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.generateAndDownloadExcelReportRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.generateAndSendExcelReportsRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.generateAndSendExcelReportsOverrideSettings||void 0===e.generateAndSendExcelReportsOverrideSettings)throw new s.RequiredError("generateAndSendExcelReportsOverrideSettings","Required parameter requestParameters.generateAndSendExcelReportsOverrideSettings was null or undefined when calling generateAndSendExcelReports.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/report/excel/generateAndSend",method:"POST",headers:i,query:n,body:u.GenerateAndSendExcelReportsOverrideSettingsToJSON(e.generateAndSendExcelReportsOverrideSettings)},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r)]}}))}))},t.prototype.generateAndSendExcelReports=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.generateAndSendExcelReportsRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getBuildingsToReceiveReportsRaw=function(e){return o(this,void 0,void 0,(function(){var t,n,i;return a(this,(function(r){switch(r.label){case 0:return t={},n={},[4,this.request({path:"/api/v1/report/buildingsToReceiveReports",method:"GET",headers:n,query:t},e)];case 1:return i=r.sent(),[2,new s.JSONApiResponse(i)]}}))}))},t.prototype.getBuildingsToReceiveReports=function(e){return o(this,void 0,void 0,(function(){return a(this,(function(t){switch(t.label){case 0:return[4,this.getBuildingsToReceiveReportsRaw(e)];case 1:return[4,t.sent().value()];case 2:return[2,t.sent()]}}))}))},t.prototype.getByBuildingAndDateRangeRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.getReportsForBuildingAndDateRangeDto||void 0===e.getReportsForBuildingAndDateRangeDto)throw new s.RequiredError("getReportsForBuildingAndDateRangeDto","Required parameter requestParameters.getReportsForBuildingAndDateRangeDto was null or undefined when calling getByBuildingAndDateRange.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/report",method:"POST",headers:i,query:n,body:u.GetReportsForBuildingAndDateRangeDtoToJSON(e.getReportsForBuildingAndDateRangeDto)},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return e.map(u.HourlyReportDtoFromJSON)}))]}}))}))},t.prototype.getByBuildingAndDateRange=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getByBuildingAndDateRangeRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getByBuildingsAndDateRangeRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.getReportsForBuildingsAndDateRangeDto||void 0===e.getReportsForBuildingsAndDateRangeDto)throw new s.RequiredError("getReportsForBuildingsAndDateRangeDto","Required parameter requestParameters.getReportsForBuildingsAndDateRangeDto was null or undefined when calling getByBuildingsAndDateRange.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/report/getForBuildings",method:"POST",headers:i,query:n,body:u.GetReportsForBuildingsAndDateRangeDtoToJSON(e.getReportsForBuildingsAndDateRangeDto)},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.WebReportingDashboardResponseFromJSON(e)}))]}}))}))},t.prototype.getByBuildingsAndDateRange=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getByBuildingsAndDateRangeRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getExcelReportSettingsRaw=function(e){return o(this,void 0,void 0,(function(){var t,n,i;return a(this,(function(r){switch(r.label){case 0:return t={},n={},[4,this.request({path:"/api/v1/report/excel/settings",method:"GET",headers:n,query:t},e)];case 1:return i=r.sent(),[2,new s.JSONApiResponse(i,(function(e){return e.map(u.ReportSettingFromJSON)}))]}}))}))},t.prototype.getExcelReportSettings=function(e){return o(this,void 0,void 0,(function(){return a(this,(function(t){switch(t.label){case 0:return[4,this.getExcelReportSettingsRaw(e)];case 1:return[4,t.sent().value()];case 2:return[2,t.sent()]}}))}))},t.prototype.getRecipientsRaw=function(e){return o(this,void 0,void 0,(function(){var t,n,i;return a(this,(function(r){switch(r.label){case 0:return t={},n={},[4,this.request({path:"/api/v1/report/recipients",method:"GET",headers:n,query:t},e)];case 1:return i=r.sent(),[2,new s.JSONApiResponse(i,(function(e){return e.map(u.WeeklyReportEmailFromJSON)}))]}}))}))},t.prototype.getRecipients=function(e){return o(this,void 0,void 0,(function(){return a(this,(function(t){switch(t.label){case 0:return[4,this.getRecipientsRaw(e)];case 1:return[4,t.sent().value()];case 2:return[2,t.sent()]}}))}))},t.prototype.upsertReportSettingRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.reportSetting||void 0===e.reportSetting)throw new s.RequiredError("reportSetting","Required parameter requestParameters.reportSetting was null or undefined when calling upsertReportSetting.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/report/excel/reportSettings",method:"POST",headers:i,query:n,body:u.ReportSettingToJSON(e.reportSetting)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.upsertReportSetting=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.upsertReportSettingRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t}(s.BaseAPI);t.ReportingServiceControllerApi=l},307:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.ResponseTemplateControllerApi=void 0;var s=n(296),u=n(4584),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.resolveBatchRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.resolveScriptsRequest||void 0===e.resolveScriptsRequest)throw new s.RequiredError("resolveScriptsRequest","Required parameter requestParameters.resolveScriptsRequest was null or undefined when calling resolveBatch.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/renterApi/v1/responseTemplates/resolve",method:"POST",headers:i,query:n,body:u.ResolveScriptsRequestToJSON(e.resolveScriptsRequest)},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return e.map(u.ScriptFromJSON)}))]}}))}))},t.prototype.resolveBatch=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.resolveBatchRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t}(s.BaseAPI);t.ResponseTemplateControllerApi=l},4968:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.Update2ScriptTypeEnum=t.GetScriptTypeEnum=t.DeleteScriptTypeEnum=t.ScriptsApiControllerApi=void 0;var s,u,l,d=n(296),c=n(4584),p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype._deleteRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new d.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling _delete.");if(null===e.scriptType||void 0===e.scriptType)throw new d.RequiredError("scriptType","Required parameter requestParameters.scriptType was null or undefined when calling _delete.");return n={},i={},[4,this.request({path:"/api/v1/scripts/{id}/type/{scriptType}".replace("{id}",encodeURIComponent(String(e.id))).replace("{scriptType}",encodeURIComponent(String(e.scriptType))),method:"DELETE",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new d.JSONApiResponse(r,(function(e){return c.ScriptFromJSON(e)}))]}}))}))},t.prototype._delete=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this._deleteRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.createRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.createScriptRequest||void 0===e.createScriptRequest)throw new d.RequiredError("createScriptRequest","Required parameter requestParameters.createScriptRequest was null or undefined when calling create.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/scripts/",method:"POST",headers:i,query:n,body:c.CreateScriptRequestToJSON(e.createScriptRequest)},t)];case 1:return r=o.sent(),[2,new d.JSONApiResponse(r,(function(e){return c.ScriptFromJSON(e)}))]}}))}))},t.prototype.create=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.createRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new d.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling get.");if(null===e.scriptType||void 0===e.scriptType)throw new d.RequiredError("scriptType","Required parameter requestParameters.scriptType was null or undefined when calling get.");return n={},i={},[4,this.request({path:"/api/v1/scripts/{id}/type/{scriptType}".replace("{id}",encodeURIComponent(String(e.id))).replace("{scriptType}",encodeURIComponent(String(e.scriptType))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new d.JSONApiResponse(r,(function(e){return c.ScriptFromJSON(e)}))]}}))}))},t.prototype.get=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.get1Raw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.query||void 0===e.query)throw new d.RequiredError("query","Required parameter requestParameters.query was null or undefined when calling get1.");return n={},void 0!==e.query&&(n.query=e.query),i={},[4,this.request({path:"/api/v1/scripts/search",method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new d.JSONApiResponse(r,(function(e){return c.ScriptSearchResultFromJSON(e)}))]}}))}))},t.prototype.get1=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.get1Raw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.update2Raw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new d.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling update2.");if(null===e.scriptType||void 0===e.scriptType)throw new d.RequiredError("scriptType","Required parameter requestParameters.scriptType was null or undefined when calling update2.");if(null===e.updateScriptRequest||void 0===e.updateScriptRequest)throw new d.RequiredError("updateScriptRequest","Required parameter requestParameters.updateScriptRequest was null or undefined when calling update2.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/scripts/{id}/type/{scriptType}".replace("{id}",encodeURIComponent(String(e.id))).replace("{scriptType}",encodeURIComponent(String(e.scriptType))),method:"PUT",headers:i,query:n,body:c.UpdateScriptRequestToJSON(e.updateScriptRequest)},t)];case 1:return r=o.sent(),[2,new d.JSONApiResponse(r,(function(e){return c.ScriptFromJSON(e)}))]}}))}))},t.prototype.update2=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.update2Raw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t}(d.BaseAPI);t.ScriptsApiControllerApi=p,(l=t.DeleteScriptTypeEnum||(t.DeleteScriptTypeEnum={})).All="ALL",l.Template="TEMPLATE",l.TemplateItem="TEMPLATE_ITEM",(u=t.GetScriptTypeEnum||(t.GetScriptTypeEnum={})).All="ALL",u.Template="TEMPLATE",u.TemplateItem="TEMPLATE_ITEM",(s=t.Update2ScriptTypeEnum||(t.Update2ScriptTypeEnum={})).All="ALL",s.Template="TEMPLATE",s.TemplateItem="TEMPLATE_ITEM"},2760:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.TaggingControllerApi=void 0;var s=n(296),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.getAttributesRaw=function(e){return o(this,void 0,void 0,(function(){var t,n,i;return a(this,(function(r){switch(r.label){case 0:return t={},n={},[4,this.request({path:"/api/v1/tagging/attributes",method:"GET",headers:n,query:t},e)];case 1:return i=r.sent(),[2,new s.TextApiResponse(i)]}}))}))},t.prototype.getAttributes=function(e){return o(this,void 0,void 0,(function(){return a(this,(function(t){switch(t.label){case 0:return[4,this.getAttributesRaw(e)];case 1:return[4,t.sent().value()];case 2:return[2,t.sent()]}}))}))},t.prototype.getIntentsRaw=function(e){return o(this,void 0,void 0,(function(){var t,n,i;return a(this,(function(r){switch(r.label){case 0:return t={},n={},[4,this.request({path:"/api/v1/tagging/intents",method:"GET",headers:n,query:t},e)];case 1:return i=r.sent(),[2,new s.TextApiResponse(i)]}}))}))},t.prototype.getIntents=function(e){return o(this,void 0,void 0,(function(){return a(this,(function(t){switch(t.label){case 0:return[4,this.getIntentsRaw(e)];case 1:return[4,t.sent().value()];case 2:return[2,t.sent()]}}))}))},t.prototype.getNextStateRaw=function(e){return o(this,void 0,void 0,(function(){var t,n,i;return a(this,(function(r){switch(r.label){case 0:return t={},n={},[4,this.request({path:"/api/v1/tagging",method:"GET",headers:n,query:t},e)];case 1:return i=r.sent(),[2,new s.TextApiResponse(i)]}}))}))},t.prototype.getNextState=function(e){return o(this,void 0,void 0,(function(){return a(this,(function(t){switch(t.label){case 0:return[4,this.getNextStateRaw(e)];case 1:return[4,t.sent().value()];case 2:return[2,t.sent()]}}))}))},t.prototype.replaceRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/tagging",method:"POST",headers:i,query:n,body:e.body},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.replace=function(e,t){return void 0===e&&(e={}),o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.replaceRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t}(s.BaseAPI);t.TaggingControllerApi=u},8497:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.TaggingS3ControllerApi=void 0;var s=n(296),u=n(4584),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.uploadRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.tagId||void 0===e.tagId)throw new s.RequiredError("tagId","Required parameter requestParameters.tagId was null or undefined when calling upload.");if(null===e.aitId||void 0===e.aitId)throw new s.RequiredError("aitId","Required parameter requestParameters.aitId was null or undefined when calling upload.");if(null===e.env||void 0===e.env)throw new s.RequiredError("env","Required parameter requestParameters.env was null or undefined when calling upload.");return n={},void 0!==e.tagId&&(n.tag_id=e.tagId),void 0!==e.aitId&&(n.ait_id=e.aitId),void 0!==e.env&&(n.env=e.env),(i={})["Content-Type"]="application/json",[4,this.request({path:"/api/taggingS3/uploadState",method:"POST",headers:i,query:n,body:u.InlineObject3ToJSON(e.inlineObject3)},t)];case 1:return r=o.sent(),[2,new s.TextApiResponse(r)]}}))}))},t.prototype.upload=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.uploadRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t}(s.BaseAPI);t.TaggingS3ControllerApi=l},1270:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.UnsubscribeControllerApi=void 0;var s=n(296),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.unsubscribeFromThreadRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.msgId||void 0===e.msgId)throw new s.RequiredError("msgId","Required parameter requestParameters.msgId was null or undefined when calling unsubscribeFromThread.");if(null===e.agtId||void 0===e.agtId)throw new s.RequiredError("agtId","Required parameter requestParameters.agtId was null or undefined when calling unsubscribeFromThread.");return n={},void 0!==e.msgId&&(n.msgId=e.msgId),void 0!==e.agtId&&(n.agtId=e.agtId),i={},[4,this.request({path:"/api/pub/unsubscribe",method:"POST",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.VoidApiResponse(r)]}}))}))},t.prototype.unsubscribeFromThread=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.unsubscribeFromThreadRaw(e,t)];case 1:return n.sent(),[2]}}))}))},t}(s.BaseAPI);t.UnsubscribeControllerApi=u},6324:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.UserApiControllerApi=void 0;var s=n(296),u=n(4584),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.getAllRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:return n={},void 0!==e.active&&(n.active=e.active),i={},[4,this.request({path:"/api/v1/user/",method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return e.map(u.XagacityUserFromJSON)}))]}}))}))},t.prototype.getAll=function(e,t){return void 0===e&&(e={}),o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getAllRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getOne1Raw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling getOne1.");return n={},i={},[4,this.request({path:"/api/v1/user/{id}".replace("{id}",encodeURIComponent(String(e.id))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.XagacityUserFromJSON(e)}))]}}))}))},t.prototype.getOne1=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getOne1Raw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.update1Raw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling update1.");if(null===e.xagacityUser||void 0===e.xagacityUser)throw new s.RequiredError("xagacityUser","Required parameter requestParameters.xagacityUser was null or undefined when calling update1.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/user/{id}".replace("{id}",encodeURIComponent(String(e.id))),method:"PUT",headers:i,query:n,body:u.XagacityUserToJSON(e.xagacityUser)},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.XagacityUserFromJSON(e)}))]}}))}))},t.prototype.update1=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.update1Raw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t}(s.BaseAPI);t.UserApiControllerApi=l},8878:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.V2BuildingControllerApi=void 0;var s=n(296),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.putChatThemeV2Raw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r,o,u,l;return a(this,(function(a){switch(a.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling putChatThemeV2.");if(null===e.themeId||void 0===e.themeId)throw new s.RequiredError("themeId","Required parameter requestParameters.themeId was null or undefined when calling putChatThemeV2.");if(null===e.subtitle||void 0===e.subtitle)throw new s.RequiredError("subtitle","Required parameter requestParameters.subtitle was null or undefined when calling putChatThemeV2.");if(null===e.avatarType||void 0===e.avatarType)throw new s.RequiredError("avatarType","Required parameter requestParameters.avatarType was null or undefined when calling putChatThemeV2.");return n={},void 0!==e.themeId&&(n.themeId=e.themeId),void 0!==e.subtitle&&(n.subtitle=e.subtitle),void 0!==e.avatarType&&(n.avatarType=e.avatarType),i={},r=[{contentType:"multipart/form-data"}],o=s.canConsumeForm(r),u=o?new FormData:new URLSearchParams,void 0!==e.avatarSrc&&u.append("avatarSrc",e.avatarSrc),[4,this.request({path:"/api/v2/building/{id}/chat-theme".replace("{id}",encodeURIComponent(String(e.id))),method:"POST",headers:i,query:n,body:u},t)];case 1:return l=a.sent(),[2,new s.VoidApiResponse(l)]}}))}))},t.prototype.putChatThemeV2=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.putChatThemeV2Raw(e,t)];case 1:return n.sent(),[2]}}))}))},t}(s.BaseAPI);t.V2BuildingControllerApi=u},5438:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.V2OracleControllerApi=void 0;var s=n(296),u=n(4584),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.getUnitAvailabilitiesRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.getUnitAvailabilitiesRequest||void 0===e.getUnitAvailabilitiesRequest)throw new s.RequiredError("getUnitAvailabilitiesRequest","Required parameter requestParameters.getUnitAvailabilitiesRequest was null or undefined when calling getUnitAvailabilities.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/renterApi/v1/oracleHelper/getUnitAvailabilityDialogue",method:"POST",headers:i,query:n,body:u.GetUnitAvailabilitiesRequestToJSON(e.getUnitAvailabilitiesRequest)},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.GetUnitAvailabilitiesResponseFromJSON(e)}))]}}))}))},t.prototype.getUnitAvailabilities=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getUnitAvailabilitiesRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getUnitAvailabilitiesForEntityRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.getUnitAvailabilitiesRequest2||void 0===e.getUnitAvailabilitiesRequest2)throw new s.RequiredError("getUnitAvailabilitiesRequest2","Required parameter requestParameters.getUnitAvailabilitiesRequest2 was null or undefined when calling getUnitAvailabilitiesForEntity.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/renterApi/v1/oracleHelper/getUnitAvailabilityDialogueForEntity",method:"POST",headers:i,query:n,body:u.GetUnitAvailabilitiesRequest2ToJSON(e.getUnitAvailabilitiesRequest2)},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.GetUnitAvailabilitiesResponseFromJSON(e)}))]}}))}))},t.prototype.getUnitAvailabilitiesForEntity=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getUnitAvailabilitiesForEntityRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t}(s.BaseAPI);t.V2OracleControllerApi=l},917:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.ValidateCredentialsControllerApi=void 0;var s=n(296),u=n(4584),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.getBuildingExpansionResultRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.buildingName||void 0===e.buildingName)throw new s.RequiredError("buildingName","Required parameter requestParameters.buildingName was null or undefined when calling getBuildingExpansionResult.");if(null===e.userId||void 0===e.userId)throw new s.RequiredError("userId","Required parameter requestParameters.userId was null or undefined when calling getBuildingExpansionResult.");if(null===e.streetAddress||void 0===e.streetAddress)throw new s.RequiredError("streetAddress","Required parameter requestParameters.streetAddress was null or undefined when calling getBuildingExpansionResult.");return n={},void 0!==e.buildingName&&(n.buildingName=e.buildingName),void 0!==e.userId&&(n.userId=e.userId),void 0!==e.streetAddress&&(n.streetAddress=e.streetAddress),i={},[4,this.request({path:"/api/v1/validatecredentials/getBuildingExpansionResult",method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.BuildingExpansionValidationResultFromJSON(e)}))]}}))}))},t.prototype.getBuildingExpansionResult=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getBuildingExpansionResultRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.validateCredentialsRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.validateCredentialsRequest||void 0===e.validateCredentialsRequest)throw new s.RequiredError("validateCredentialsRequest","Required parameter requestParameters.validateCredentialsRequest was null or undefined when calling validateCredentials.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/validatecredentials",method:"POST",headers:i,query:n,body:u.ValidateCredentialsRequestToJSON(e.validateCredentialsRequest)},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.ValidateCredentialsResponseFromJSON(e)}))]}}))}))},t.prototype.validateCredentials=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.validateCredentialsRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t}(s.BaseAPI);t.ValidateCredentialsControllerApi=l},656:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.GetAdditionalInfoForConfigStepNameEnum=t.WhiteListingControllerApi=void 0;var s,u=n(296),l=n(4584),d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.continueConfigWithIdRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.configId||void 0===e.configId)throw new u.RequiredError("configId","Required parameter requestParameters.configId was null or undefined when calling continueConfigWithId.");return n={},i={},[4,this.request({path:"/api/v1/whitelisting/continueConfigWithId/{configId}".replace("{configId}",encodeURIComponent(String(e.configId))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new u.JSONApiResponse(r,(function(e){return l.WhiteListingExecutionResultFromJSON(e)}))]}}))}))},t.prototype.continueConfigWithId=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.continueConfigWithIdRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.continueInProgressRaw=function(e){return o(this,void 0,void 0,(function(){var t,n,i;return a(this,(function(r){switch(r.label){case 0:return t={},n={},[4,this.request({path:"/api/v1/whitelisting/continueInProgress",method:"GET",headers:n,query:t},e)];case 1:return i=r.sent(),[2,new u.TextApiResponse(i)]}}))}))},t.prototype.continueInProgress=function(e){return o(this,void 0,void 0,(function(){return a(this,(function(t){switch(t.label){case 0:return[4,this.continueInProgressRaw(e)];case 1:return[4,t.sent().value()];case 2:return[2,t.sent()]}}))}))},t.prototype.getAdditionalInfoForConfigRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.configId||void 0===e.configId)throw new u.RequiredError("configId","Required parameter requestParameters.configId was null or undefined when calling getAdditionalInfoForConfig.");if(null===e.stepName||void 0===e.stepName)throw new u.RequiredError("stepName","Required parameter requestParameters.stepName was null or undefined when calling getAdditionalInfoForConfig.");return n={},i={},[4,this.request({path:"/api/v1/whitelisting/run_step/{configId}/{stepName}".replace("{configId}",encodeURIComponent(String(e.configId))).replace("{stepName}",encodeURIComponent(String(e.stepName))),method:"POST",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new u.TextApiResponse(r)]}}))}))},t.prototype.getAdditionalInfoForConfig=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getAdditionalInfoForConfigRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getAdditionalInfoForConfig1Raw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.createWhitelistConfigRequest||void 0===e.createWhitelistConfigRequest)throw new u.RequiredError("createWhitelistConfigRequest","Required parameter requestParameters.createWhitelistConfigRequest was null or undefined when calling getAdditionalInfoForConfig1.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/whitelisting/createConfig",method:"POST",headers:i,query:n,body:l.CreateWhitelistConfigRequestToJSON(e.createWhitelistConfigRequest)},t)];case 1:return r=o.sent(),[2,new u.JSONApiResponse(r,(function(e){return l.WhiteListConfigFromJSON(e)}))]}}))}))},t.prototype.getAdditionalInfoForConfig1=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getAdditionalInfoForConfig1Raw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getAdditionalInfoForConfig2Raw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.configId||void 0===e.configId)throw new u.RequiredError("configId","Required parameter requestParameters.configId was null or undefined when calling getAdditionalInfoForConfig2.");return n={},i={},[4,this.request({path:"/api/v1/whitelisting/additionalInfo/{configId}".replace("{configId}",encodeURIComponent(String(e.configId))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new u.JSONApiResponse(r,(function(e){return l.WhiteListingAdditionalInfoFromJSON(e)}))]}}))}))},t.prototype.getAdditionalInfoForConfig2=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getAdditionalInfoForConfig2Raw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.getViewModelsForBuildingsRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.getWhiteListTestsForBuildingsRequest||void 0===e.getWhiteListTestsForBuildingsRequest)throw new u.RequiredError("getWhiteListTestsForBuildingsRequest","Required parameter requestParameters.getWhiteListTestsForBuildingsRequest was null or undefined when calling getViewModelsForBuildings.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/whitelisting/getViewModelsForBuildings",method:"POST",headers:i,query:n,body:l.GetWhiteListTestsForBuildingsRequestToJSON(e.getWhiteListTestsForBuildingsRequest)},t)];case 1:return r=o.sent(),[2,new u.JSONApiResponse(r,(function(e){return e.map(l.WhiteListTestDtoFromJSON)}))]}}))}))},t.prototype.getViewModelsForBuildings=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getViewModelsForBuildingsRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.initializeWhitelistingRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.initializeWhiteListingConfigRequest||void 0===e.initializeWhiteListingConfigRequest)throw new u.RequiredError("initializeWhiteListingConfigRequest","Required parameter requestParameters.initializeWhiteListingConfigRequest was null or undefined when calling initializeWhitelisting.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/api/v1/whitelisting/initialize",method:"POST",headers:i,query:n,body:l.InitializeWhiteListingConfigRequestToJSON(e.initializeWhiteListingConfigRequest)},t)];case 1:return r=o.sent(),[2,new u.JSONApiResponse(r,(function(e){return l.WhiteListingExecutionResultFromJSON(e)}))]}}))}))},t.prototype.initializeWhitelisting=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.initializeWhitelistingRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t}(u.BaseAPI);t.WhiteListingControllerApi=d,(s=t.GetAdditionalInfoForConfigStepNameEnum||(t.GetAdditionalInfoForConfigStepNameEnum={})).Initiated="INITIATED",s.ConfigureSettings="CONFIGURE_SETTINGS",s.TimeZoneVerification="TIME_ZONE_VERIFICATION",s.ConfirmAndOrFixApiVersion="CONFIRM_AND_OR_FIX_API_VERSION",s.ActivateBuildingAutoSend="ACTIVATE_BUILDING_AUTO_SEND",s.AddAitsToBuilding="ADD_AITS_TO_BUILDING",s.RerunAvailabilities="RERUN_AVAILABILITIES",s.InsertGuestCard="INSERT_GUEST_CARD",s.InitialEmailReceived="INITIAL_EMAIL_RECEIVED",s.RequestTourDayEmailSent="REQUEST_TOUR_DAY_EMAIL_SENT",s.AiSentTimeSuggestion="AI_SENT_TIME_SUGGESTION",s.AcceptTourTimeEmailSent="ACCEPT_TOUR_TIME_EMAIL_SENT",s.AppointmentScheduled="APPOINTMENT_SCHEDULED",s.AppointmentOnGuestCard="APPOINTMENT_ON_GUEST_CARD",s.RequestCancelTour="REQUEST_CANCEL_TOUR",s.AppointmentCanceled="APPOINTMENT_CANCELED",s.AppointmentRemovedFromGuestCard="APPOINTMENT_REMOVED_FROM_GUEST_CARD"},1827:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.XagacityUserControllerApi=void 0;var s=n(296),u=n(4584),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.getOneRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling getOne.");return n={},i={},[4,this.request({path:"/api/v2/user/{id}".replace("{id}",encodeURIComponent(String(e.id))),method:"GET",headers:i,query:n},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.XagacityUserWithCredentialsFromJSON(e)}))]}}))}))},t.prototype.getOne=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.getOneRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t.prototype.updateRaw=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:if(null===e.id||void 0===e.id)throw new s.RequiredError("id","Required parameter requestParameters.id was null or undefined when calling update.");if(null===e.xagacityUserWithCredentials||void 0===e.xagacityUserWithCredentials)throw new s.RequiredError("xagacityUserWithCredentials","Required parameter requestParameters.xagacityUserWithCredentials was null or undefined when calling update.");return n={},(i={})["Content-Type"]="application/json",[4,this.request({path:"/api/v2/user/{id}".replace("{id}",encodeURIComponent(String(e.id))),method:"PUT",headers:i,query:n,body:u.XagacityUserWithCredentialsToJSON(e.xagacityUserWithCredentials)},t)];case 1:return r=o.sent(),[2,new s.JSONApiResponse(r,(function(e){return u.XagacityUserWithCredentialsFromJSON(e)}))]}}))}))},t.prototype.update=function(e,t){return o(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.updateRaw(e,t)];case 1:return[4,n.sent().value()];case 2:return[2,n.sent()]}}))}))},t}(s.BaseAPI);t.XagacityUserControllerApi=l},8887:function(e,t,n){var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(8005),t),r(n(2497),t),r(n(8730),t),r(n(9530),t),r(n(8823),t),r(n(4100),t),r(n(1210),t),r(n(3515),t),r(n(5855),t),r(n(4345),t),r(n(2938),t),r(n(5021),t),r(n(9962),t),r(n(8196),t),r(n(5282),t),r(n(4702),t),r(n(683),t),r(n(5977),t),r(n(8242),t),r(n(9714),t),r(n(7659),t),r(n(2311),t),r(n(5827),t),r(n(5334),t),r(n(7043),t),r(n(1092),t),r(n(535),t),r(n(4071),t),r(n(5834),t),r(n(4797),t),r(n(9925),t),r(n(9412),t),r(n(7411),t),r(n(1562),t),r(n(3195),t),r(n(3978),t),r(n(7282),t),r(n(307),t),r(n(4968),t),r(n(2760),t),r(n(8497),t),r(n(1270),t),r(n(6324),t),r(n(8878),t),r(n(5438),t),r(n(917),t),r(n(656),t),r(n(1827),t)},9991:function(e,t,n){var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(296),t),r(n(8887),t),r(n(4584),t)},6662:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AdditionalSourceConfiguarionsToJSON=t.AdditionalSourceConfiguarionsFromJSONTyped=t.AdditionalSourceConfiguarionsFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{availabilitiesType:i.exists(e,"availabilitiesType")?e.availabilitiesType:void 0,fieldsToBeEnriched:i.exists(e,"fieldsToBeEnriched")?e.fieldsToBeEnriched:void 0}}t.AdditionalSourceConfiguarionsFromJSON=function(e){return r(e)},t.AdditionalSourceConfiguarionsFromJSONTyped=r,t.AdditionalSourceConfiguarionsToJSON=function(e){if(void 0!==e)return null===e?null:{availabilitiesType:e.availabilitiesType,fieldsToBeEnriched:e.fieldsToBeEnriched}}},2322:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AddressToJSON=t.AddressFromJSONTyped=t.AddressFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{city:i.exists(e,"city")?e.city:void 0,house:i.exists(e,"house")?e.house:void 0,neighborhood:i.exists(e,"neighborhood")?e.neighborhood:void 0,raw:i.exists(e,"raw")?e.raw:void 0,state:i.exists(e,"state")?e.state:void 0,street:i.exists(e,"street")?e.street:void 0,zip:i.exists(e,"zip")?e.zip:void 0}}t.AddressFromJSON=function(e){return r(e)},t.AddressFromJSONTyped=r,t.AddressToJSON=function(e){if(void 0!==e)return null===e?null:{city:e.city,house:e.house,neighborhood:e.neighborhood,raw:e.raw,state:e.state,street:e.street,zip:e.zip}}},1961:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AiAssistantStubInfoToJSON=t.AiAssistantStubInfoFromJSONTyped=t.AiAssistantStubInfoFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{id:e.id,buildingId:e.buildingId,crmType:e.crmType,email:i.exists(e,"email")?e.email:void 0,firstName:i.exists(e,"firstName")?e.firstName:void 0,lastName:i.exists(e,"lastName")?e.lastName:void 0}}t.AiAssistantStubInfoFromJSON=function(e){return r(e)},t.AiAssistantStubInfoFromJSONTyped=r,t.AiAssistantStubInfoToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,buildingId:e.buildingId,crmType:e.crmType,email:e.email,firstName:e.firstName,lastName:e.lastName}}},818:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AlertQueueInfoToJSON=t.AlertQueueInfoFromJSONTyped=t.AlertQueueInfoFromJSON=t.AlertQueueInfoConversationTypeEnum=void 0;var i,r=n(296);function o(e,t){return null==e?e:{firstName:r.exists(e,"firstName")?e.firstName:void 0,lastName:r.exists(e,"lastName")?e.lastName:void 0,email:r.exists(e,"email")?e.email:void 0,phoneNumber:r.exists(e,"phoneNumber")?e.phoneNumber:void 0,handoffStatus:r.exists(e,"handoffStatus")?e.handoffStatus:void 0,dateUpdated:r.exists(e,"dateUpdated")?new Date(e.dateUpdated):void 0,conversationType:r.exists(e,"conversationType")?e.conversationType:void 0,alertType:r.exists(e,"alertType")?e.alertType:void 0,contextId:r.exists(e,"contextId")?e.contextId:void 0,conversationKey:r.exists(e,"conversationKey")?e.conversationKey:void 0,failureReason:r.exists(e,"failureReason")?e.failureReason:void 0}}(i=t.AlertQueueInfoConversationTypeEnum||(t.AlertQueueInfoConversationTypeEnum={})).Email="EMAIL",i.Phone="PHONE",t.AlertQueueInfoFromJSON=function(e){return o(e)},t.AlertQueueInfoFromJSONTyped=o,t.AlertQueueInfoToJSON=function(e){if(void 0!==e)return null===e?null:{firstName:e.firstName,lastName:e.lastName,email:e.email,phoneNumber:e.phoneNumber,handoffStatus:e.handoffStatus,dateUpdated:void 0===e.dateUpdated?void 0:e.dateUpdated.toISOString(),conversationType:e.conversationType,alertType:e.alertType,contextId:e.contextId,conversationKey:e.conversationKey,failureReason:e.failureReason}}},6140:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AlertQueueMessageToJSON=t.AlertQueueMessageFromJSONTyped=t.AlertQueueMessageFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{sender:i.exists(e,"sender")?e.sender:void 0,message:i.exists(e,"message")?e.message:void 0,timeSent:i.exists(e,"timeSent")?new Date(e.timeSent):void 0,sentByElise:i.exists(e,"sentByElise")?e.sentByElise:void 0}}t.AlertQueueMessageFromJSON=function(e){return r(e)},t.AlertQueueMessageFromJSONTyped=r,t.AlertQueueMessageToJSON=function(e){if(void 0!==e)return null===e?null:{sender:e.sender,message:e.message,timeSent:void 0===e.timeSent?void 0:e.timeSent.toISOString(),sentByElise:e.sentByElise}}},5246:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AlternativeGeoAddressToJSON=t.AlternativeGeoAddressFromJSONTyped=t.AlternativeGeoAddressFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{alternativeIlsAdress:i.exists(e,"alternativeIlsAdress")?e.alternativeIlsAdress:void 0,alternativeIlsAddressGeoFormat:i.exists(e,"alternativeIlsAddressGeoFormat")?e.alternativeIlsAddressGeoFormat:void 0}}t.AlternativeGeoAddressFromJSON=function(e){return r(e)},t.AlternativeGeoAddressFromJSONTyped=r,t.AlternativeGeoAddressToJSON=function(e){if(void 0!==e)return null===e?null:{alternativeIlsAdress:e.alternativeIlsAdress,alternativeIlsAddressGeoFormat:e.alternativeIlsAddressGeoFormat}}},5556:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AlternativeILSAddressGeoFormatToJSON=t.AlternativeILSAddressGeoFormatFromJSONTyped=t.AlternativeILSAddressGeoFormatFromJSON=void 0;var i=n(296),r=n(5246);function o(e,t){return null==e?e:{alternativeGeoAdresses:i.exists(e,"alternativeGeoAdresses")?e.alternativeGeoAdresses.map(r.AlternativeGeoAddressFromJSON):void 0}}t.AlternativeILSAddressGeoFormatFromJSON=function(e){return o(e)},t.AlternativeILSAddressGeoFormatFromJSONTyped=o,t.AlternativeILSAddressGeoFormatToJSON=function(e){if(void 0!==e)return null===e?null:{alternativeGeoAdresses:void 0===e.alternativeGeoAdresses?void 0:e.alternativeGeoAdresses.map(r.AlternativeGeoAddressToJSON)}}},7455:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AnyoneHomeCredentialsToJSON=t.AnyoneHomeCredentialsFromJSONTyped=t.AnyoneHomeCredentialsFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{id:i.exists(e,"id")?e.id:void 0,userId:i.exists(e,"userId")?e.userId:void 0,domain:i.exists(e,"domain")?e.domain:void 0,userName:i.exists(e,"userName")?e.userName:void 0,password:i.exists(e,"password")?e.password:void 0,apiKey:i.exists(e,"apiKey")?e.apiKey:void 0,leasingAgentId:i.exists(e,"leasingAgentId")?e.leasingAgentId:void 0}}t.AnyoneHomeCredentialsFromJSON=function(e){return r(e)},t.AnyoneHomeCredentialsFromJSONTyped=r,t.AnyoneHomeCredentialsToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,userId:e.userId,domain:e.domain,userName:e.userName,password:e.password,apiKey:e.apiKey,leasingAgentId:e.leasingAgentId}}},3617:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AppointmentHoursToJSON=t.AppointmentHoursFromJSONTyped=t.AppointmentHoursFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{daysOfWeek:i.exists(e,"daysOfWeek")?e.daysOfWeek:void 0,startTime:i.exists(e,"startTime")?e.startTime:void 0,endTime:i.exists(e,"endTime")?e.endTime:void 0,lastAppointmentStartTime:i.exists(e,"lastAppointmentStartTime")?e.lastAppointmentStartTime:void 0,lastStartTimeForTheSameDay:i.exists(e,"lastStartTimeForTheSameDay")?e.lastStartTimeForTheSameDay:void 0,daysOfWeekString:i.exists(e,"daysOfWeekString")?e.daysOfWeekString:void 0,specialAppointmentDuration:i.exists(e,"specialAppointmentDuration")?e.specialAppointmentDuration:void 0,maxNumberOfAppointments:i.exists(e,"maxNumberOfAppointments")?e.maxNumberOfAppointments:void 0,openHouseSpecific:i.exists(e,"openHouseSpecific")?e.openHouseSpecific:void 0,specificDate:i.exists(e,"specificDate")?new Date(e.specificDate):void 0}}t.AppointmentHoursFromJSON=function(e){return r(e)},t.AppointmentHoursFromJSONTyped=r,t.AppointmentHoursToJSON=function(e){if(void 0!==e)return null===e?null:{daysOfWeek:e.daysOfWeek,startTime:e.startTime,endTime:e.endTime,lastAppointmentStartTime:e.lastAppointmentStartTime,lastStartTimeForTheSameDay:e.lastStartTimeForTheSameDay,daysOfWeekString:e.daysOfWeekString,specialAppointmentDuration:e.specialAppointmentDuration,maxNumberOfAppointments:e.maxNumberOfAppointments,openHouseSpecific:e.openHouseSpecific,specificDate:void 0===e.specificDate?void 0:e.specificDate.toISOString().substr(0,10)}}},67:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AssociateLeadRequestDtoToJSON=t.AssociateLeadRequestDtoFromJSONTyped=t.AssociateLeadRequestDtoFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{buildingId:i.exists(e,"buildingId")?e.buildingId:void 0,email:i.exists(e,"email")?e.email:void 0}}t.AssociateLeadRequestDtoFromJSON=function(e){return r(e)},t.AssociateLeadRequestDtoFromJSONTyped=r,t.AssociateLeadRequestDtoToJSON=function(e){if(void 0!==e)return null===e?null:{buildingId:e.buildingId,email:e.email}}},1234:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AttachmentToJSON=t.AttachmentFromJSONTyped=t.AttachmentFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{emailClientName:i.exists(e,"emailClientName")?e.emailClientName:void 0,rawData:i.exists(e,"rawData")?e.rawData:void 0,tempFile:i.exists(e,"tempFile")?e.tempFile:void 0,amazonKeyName:i.exists(e,"amazonKeyName")?e.amazonKeyName:void 0,fileType:i.exists(e,"fileType")?e.fileType:void 0,fileName:i.exists(e,"fileName")?e.fileName:void 0,fileUrl:i.exists(e,"fileUrl")?e.fileUrl:void 0,attachmentName:i.exists(e,"attachmentName")?e.attachmentName:void 0}}t.AttachmentFromJSON=function(e){return r(e)},t.AttachmentFromJSONTyped=r,t.AttachmentToJSON=function(e){if(void 0!==e)return null===e?null:{emailClientName:e.emailClientName,rawData:e.rawData,tempFile:e.tempFile,amazonKeyName:e.amazonKeyName,fileType:e.fileType,fileName:e.fileName,fileUrl:e.fileUrl,attachmentName:e.attachmentName}}},1995:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AvailabilitiesPreferencesToJSON=t.AvailabilitiesPreferencesFromJSONTyped=t.AvailabilitiesPreferencesFromJSON=void 0;var i=n(296),r=n(6662);function o(e,t){return null==e?e:{timesToRunInCronFormat:i.exists(e,"timesToRunInCronFormat")?e.timesToRunInCronFormat:void 0,additionalSourceConfigurations:i.exists(e,"additionalSourceConfigurations")?e.additionalSourceConfigurations.map(r.AdditionalSourceConfiguarionsFromJSON):void 0}}t.AvailabilitiesPreferencesFromJSON=function(e){return o(e)},t.AvailabilitiesPreferencesFromJSONTyped=o,t.AvailabilitiesPreferencesToJSON=function(e){if(void 0!==e)return null===e?null:{timesToRunInCronFormat:e.timesToRunInCronFormat,additionalSourceConfigurations:void 0===e.additionalSourceConfigurations?void 0:e.additionalSourceConfigurations.map(r.AdditionalSourceConfiguarionsToJSON)}}},3618:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BookTourByStateIdDtoToJSON=t.BookTourByStateIdDtoFromJSONTyped=t.BookTourByStateIdDtoFromJSON=t.BookTourByStateIdDtoTourTypeEnum=void 0;var i,r=n(296);function o(e,t){return null==e?e:{mcId:r.exists(e,"mcId")?e.mcId:void 0,stateId:r.exists(e,"stateId")?e.stateId:void 0,buildingId:r.exists(e,"buildingId")?e.buildingId:void 0,tourType:r.exists(e,"tourType")?e.tourType:void 0,startTime:r.exists(e,"startTime")?new Date(e.startTime):void 0,endTime:r.exists(e,"endTime")?new Date(e.endTime):void 0,useLegacyContext:r.exists(e,"useLegacyContext")?e.useLegacyContext:void 0,sms:r.exists(e,"sms")?e.sms:void 0}}(i=t.BookTourByStateIdDtoTourTypeEnum||(t.BookTourByStateIdDtoTourTypeEnum={})).Unknown="UNKNOWN",i.SelfGuided="SELF_GUIDED",i.VirtualShowing="VIRTUAL_SHOWING",i.WithAgent="WITH_AGENT",i.MediaTour="MEDIA_TOUR",t.BookTourByStateIdDtoFromJSON=function(e){return o(e)},t.BookTourByStateIdDtoFromJSONTyped=o,t.BookTourByStateIdDtoToJSON=function(e){if(void 0!==e)return null===e?null:{mcId:e.mcId,stateId:e.stateId,buildingId:e.buildingId,tourType:e.tourType,startTime:void 0===e.startTime?void 0:e.startTime.toISOString(),endTime:void 0===e.endTime?void 0:e.endTime.toISOString(),useLegacyContext:e.useLegacyContext,sms:e.sms}}},2160:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BookTourDtoToJSON=t.BookTourDtoFromJSONTyped=t.BookTourDtoFromJSON=t.BookTourDtoTourTypeEnum=void 0;var i,r=n(296);function o(e,t){return null==e?e:{contextId:r.exists(e,"contextId")?e.contextId:void 0,buildingId:r.exists(e,"buildingId")?e.buildingId:void 0,tourType:r.exists(e,"tourType")?e.tourType:void 0,startTime:r.exists(e,"startTime")?new Date(e.startTime):void 0,endTime:r.exists(e,"endTime")?new Date(e.endTime):void 0}}(i=t.BookTourDtoTourTypeEnum||(t.BookTourDtoTourTypeEnum={})).Unknown="UNKNOWN",i.SelfGuided="SELF_GUIDED",i.VirtualShowing="VIRTUAL_SHOWING",i.WithAgent="WITH_AGENT",i.MediaTour="MEDIA_TOUR",t.BookTourDtoFromJSON=function(e){return o(e)},t.BookTourDtoFromJSONTyped=o,t.BookTourDtoToJSON=function(e){if(void 0!==e)return null===e?null:{contextId:e.contextId,buildingId:e.buildingId,tourType:e.tourType,startTime:void 0===e.startTime?void 0:e.startTime.toISOString(),endTime:void 0===e.endTime?void 0:e.endTime.toISOString()}}},5604:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BuildingDetailsToJSON=t.BuildingDetailsFromJSONTyped=t.BuildingDetailsFromJSON=t.BuildingDetailsTourNotificationEmailsModeEnum=t.BuildingDetailsTourTypePriorityEnum=t.BuildingDetailsVirtualTourTypeEnum=t.BuildingDetailsLeasingOfficeSetupTypeEnum=void 0;var i,r,o,a,s=n(296),u=n(5556);function l(e,t){return null==e?e:{id:s.exists(e,"id")?e.id:void 0,managementCompanyId:s.exists(e,"managementCompanyId")?e.managementCompanyId:void 0,organizationId:s.exists(e,"organizationId")?e.organizationId:void 0,active:s.exists(e,"active")?e.active:void 0,handoffForwardToEmails:s.exists(e,"handoffForwardToEmails")?e.handoffForwardToEmails:void 0,responseCcEmails:s.exists(e,"responseCcEmails")?e.responseCcEmails:void 0,responseBccEmails:s.exists(e,"responseBccEmails")?e.responseBccEmails:void 0,associateCalendarId:s.exists(e,"associateCalendarId")?e.associateCalendarId:void 0,buildingName:s.exists(e,"buildingName")?e.buildingName:void 0,address1:s.exists(e,"address1")?e.address1:void 0,address2:s.exists(e,"address2")?e.address2:void 0,address3:s.exists(e,"address3")?e.address3:void 0,alternativeILSAddresses:s.exists(e,"alternativeILSAddresses")?e.alternativeILSAddresses:void 0,city:s.exists(e,"city")?e.city:void 0,state:s.exists(e,"state")?e.state:void 0,postalCode:s.exists(e,"postalCode")?e.postalCode:void 0,crossStreets:s.exists(e,"crossStreets")?e.crossStreets:void 0,neighborhood:s.exists(e,"neighborhood")?e.neighborhood:void 0,nearbyTransportation:s.exists(e,"nearbyTransportation")?e.nearbyTransportation:void 0,buildingOwnership:s.exists(e,"buildingOwnership")?e.buildingOwnership:void 0,buildingType:s.exists(e,"buildingType")?e.buildingType:void 0,totalUnits:s.exists(e,"totalUnits")?e.totalUnits:void 0,totalFloors:s.exists(e,"totalFloors")?e.totalFloors:void 0,yearBuilt:s.exists(e,"yearBuilt")?e.yearBuilt:void 0,block:s.exists(e,"block")?e.block:void 0,lot:s.exists(e,"lot")?e.lot:void 0,schoolDistrict:s.exists(e,"schoolDistrict")?e.schoolDistrict:void 0,communityDistrict:s.exists(e,"communityDistrict")?e.communityDistrict:void 0,newConstruction:s.exists(e,"newConstruction")?e.newConstruction:void 0,preWarBuilding:s.exists(e,"preWarBuilding")?e.preWarBuilding:void 0,brownstone:s.exists(e,"brownstone")?e.brownstone:void 0,greenBuilding:s.exists(e,"greenBuilding")?e.greenBuilding:void 0,elevator:s.exists(e,"elevator")?e.elevator:void 0,freightElevator:s.exists(e,"freightElevator")?e.freightElevator:void 0,parking:s.exists(e,"parking")?e.parking:void 0,petPolicy:s.exists(e,"petPolicy")?e.petPolicy:void 0,petNumberLimit:s.exists(e,"petNumberLimit")?e.petNumberLimit:void 0,petWeightLimit:s.exists(e,"petWeightLimit")?e.petWeightLimit:void 0,petFeeOrDeposit:s.exists(e,"petFeeOrDeposit")?e.petFeeOrDeposit:void 0,utilitiesIncluded:s.exists(e,"utilitiesIncluded")?e.utilitiesIncluded:void 0,utilitiesNotIncluded:s.exists(e,"utilitiesNotIncluded")?e.utilitiesNotIncluded:void 0,leaseTermsAccepted:s.exists(e,"leaseTermsAccepted")?e.leaseTermsAccepted:void 0,minLeaseTermAccepted:s.exists(e,"minLeaseTermAccepted")?e.minLeaseTermAccepted:void 0,furnishedOffered:s.exists(e,"furnishedOffered")?e.furnishedOffered:void 0,furnishedUnitsPolicy:s.exists(e,"furnishedUnitsPolicy")?e.furnishedUnitsPolicy:void 0,internationalStudentRequirements:s.exists(e,"internationalStudentRequirements")?e.internationalStudentRequirements:void 0,amenitiesFee:s.exists(e,"amenitiesFee")?e.amenitiesFee:void 0,nonSmoking:s.exists(e,"nonSmoking")?e.nonSmoking:void 0,piedATerreAllowed:s.exists(e,"piedATerreAllowed")?e.piedATerreAllowed:void 0,diplomatsOk:s.exists(e,"diplomatsOk")?e.diplomatsOk:void 0,corporateLeasesAccepted:s.exists(e,"corporateLeasesAccepted")?e.corporateLeasesAccepted:void 0,shortTermAllowed:s.exists(e,"shortTermAllowed")?e.shortTermAllowed:void 0,doorman:s.exists(e,"doorman")?e.doorman:void 0,intercom:s.exists(e,"intercom")?e.intercom:void 0,liveInSuper:s.exists(e,"liveInSuper")?e.liveInSuper:void 0,concierge:s.exists(e,"concierge")?e.concierge:void 0,laundryInBuilding:s.exists(e,"laundryInBuilding")?e.laundryInBuilding:void 0,packageReceiving:s.exists(e,"packageReceiving")?e.packageReceiving:void 0,gym:s.exists(e,"gym")?e.gym:void 0,storage:s.exists(e,"storage")?e.storage:void 0,bicycleRoom:s.exists(e,"bicycleRoom")?e.bicycleRoom:void 0,lounge:s.exists(e,"lounge")?e.lounge:void 0,clubHouse:s.exists(e,"clubHouse")?e.clubHouse:void 0,businessCenter:s.exists(e,"businessCenter")?e.businessCenter:void 0,outdoorSpace:s.exists(e,"outdoorSpace")?e.outdoorSpace:void 0,roofDeck:s.exists(e,"roofDeck")?e.roofDeck:void 0,courtyard:s.exists(e,"courtyard")?e.courtyard:void 0,childrenPlayroom:s.exists(e,"childrenPlayroom")?e.childrenPlayroom:void 0,nursery:s.exists(e,"nursery")?e.nursery:void 0,maidService:s.exists(e,"maidService")?e.maidService:void 0,pool:s.exists(e,"pool")?e.pool:void 0,wheelchairAccess:s.exists(e,"wheelchairAccess")?e.wheelchairAccess:void 0,guarantorTypesAccepted:s.exists(e,"guarantorTypesAccepted")?e.guarantorTypesAccepted:void 0,thirdPartyGuarantorTypesAccepted:s.exists(e,"thirdPartyGuarantorTypesAccepted")?e.thirdPartyGuarantorTypesAccepted:void 0,noCreditQualificationAlternative:s.exists(e,"noCreditQualificationAlternative")?e.noCreditQualificationAlternative:void 0,flexWallPolicy:s.exists(e,"flexWallPolicy")?e.flexWallPolicy:void 0,leaseholderApplicationFee:s.exists(e,"leaseholderApplicationFee")?e.leaseholderApplicationFee:void 0,occupantApplicationFee:s.exists(e,"occupantApplicationFee")?e.occupantApplicationFee:void 0,guarantorApplicationFee:s.exists(e,"guarantorApplicationFee")?e.guarantorApplicationFee:void 0,tenantIncomeRequirementRentMultiplier:s.exists(e,"tenantIncomeRequirementRentMultiplier")?e.tenantIncomeRequirementRentMultiplier:void 0,guarantorIncomeRequirementRentMultiplier:s.exists(e,"guarantorIncomeRequirementRentMultiplier")?e.guarantorIncomeRequirementRentMultiplier:void 0,incomeRequirementRentMultiplierTimePeriod:s.exists(e,"incomeRequirementRentMultiplierTimePeriod")?e.incomeRequirementRentMultiplierTimePeriod:void 0,leaseholderMinimumCreditScoreRequirement:s.exists(e,"leaseholderMinimumCreditScoreRequirement")?e.leaseholderMinimumCreditScoreRequirement:void 0,guarantorMinimumCreditScoreRequirement:s.exists(e,"guarantorMinimumCreditScoreRequirement")?e.guarantorMinimumCreditScoreRequirement:void 0,leaseholderApplicationDocumentsRequired:s.exists(e,"leaseholderApplicationDocumentsRequired")?e.leaseholderApplicationDocumentsRequired:void 0,selfEmployedApplicationDocumentsRequired:s.exists(e,"selfEmployedApplicationDocumentsRequired")?e.selfEmployedApplicationDocumentsRequired:void 0,guarantorApplicationDocumentsRequired:s.exists(e,"guarantorApplicationDocumentsRequired")?e.guarantorApplicationDocumentsRequired:void 0,guarantorsAccepted:s.exists(e,"guarantorsAccepted")?e.guarantorsAccepted:void 0,financialsInsufficientAlternative:s.exists(e,"financialsInsufficientAlternative")?e.financialsInsufficientAlternative:void 0,prepaymentPolicy:s.exists(e,"prepaymentPolicy")?e.prepaymentPolicy:void 0,rentRequiredOnLeaseSigning:s.exists(e,"rentRequiredOnLeaseSigning")?e.rentRequiredOnLeaseSigning:void 0,securityDepositRentMultiplier:s.exists(e,"securityDepositRentMultiplier")?e.securityDepositRentMultiplier:void 0,paymentFormsAccepted:s.exists(e,"paymentFormsAccepted")?e.paymentFormsAccepted:void 0,clientEmail:s.exists(e,"clientEmail")?e.clientEmail:void 0,description:s.exists(e,"description")?e.description:void 0,notes:s.exists(e,"notes")?e.notes:void 0,leasingOfficeHours:s.exists(e,"leasingOfficeHours")?e.leasingOfficeHours:void 0,occupiedUnitsShowingHours:s.exists(e,"occupiedUnitsShowingHours")?e.occupiedUnitsShowingHours:void 0,internalNotes:s.exists(e,"internalNotes")?e.internalNotes:void 0,leasingPhoneNumber:s.exists(e,"leasingPhoneNumber")?e.leasingPhoneNumber:void 0,callCenterNumber:s.exists(e,"callCenterNumber")?e.callCenterNumber:void 0,buildingWebsiteUrl:s.exists(e,"buildingWebsiteUrl")?e.buildingWebsiteUrl:void 0,applicationLink:s.exists(e,"applicationLink")?e.applicationLink:void 0,geoAddress:s.exists(e,"geoAddress")?e.geoAddress:void 0,googleMapsUrl:s.exists(e,"googleMapsUrl")?e.googleMapsUrl:void 0,alerts:s.exists(e,"alerts")?e.alerts:void 0,rentComputeType:s.exists(e,"rentComputeType")?e.rentComputeType:void 0,autosendActive:s.exists(e,"autosendActive")?e.autosendActive:void 0,advancedMoveInAllowenceInDays:s.exists(e,"advancedMoveInAllowenceInDays")?e.advancedMoveInAllowenceInDays:void 0,alternativeBuildingNames:s.exists(e,"alternativeBuildingNames")?e.alternativeBuildingNames:void 0,externalIds:s.exists(e,"externalIds")?e.externalIds:void 0,externalCrmId:s.exists(e,"externalCrmId")?e.externalCrmId:void 0,defaultAvailabilityQuoteMatchMoveInDate:s.exists(e,"defaultAvailabilityQuoteMatchMoveInDate")?e.defaultAvailabilityQuoteMatchMoveInDate:void 0,leaseRenewalNoticeInDays:s.exists(e,"leaseRenewalNoticeInDays")?e.leaseRenewalNoticeInDays:void 0,rentQuoteFormat:s.exists(e,"rentQuoteFormat")?e.rentQuoteFormat:void 0,rentWithIncentivesQuoteFormat:s.exists(e,"rentWithIncentivesQuoteFormat")?e.rentWithIncentivesQuoteFormat:void 0,isPartOfComplex:s.exists(e,"isPartOfComplex")?e.isPartOfComplex:void 0,alternativeILSAddressGeoFormat:s.exists(e,"alternativeILSAddressGeoFormat")?u.AlternativeILSAddressGeoFormatFromJSON(e.alternativeILSAddressGeoFormat):void 0,effectiveRentComputeType:s.exists(e,"effectiveRentComputeType")?e.effectiveRentComputeType:void 0,maxLeaseTermAccepted:s.exists(e,"maxLeaseTermAccepted")?e.maxLeaseTermAccepted:void 0,parkingInformation:s.exists(e,"parkingInformation")?e.parkingInformation:void 0,storageFee:s.exists(e,"storageFee")?e.storageFee:void 0,incentivesProperlyConnected:s.exists(e,"incentivesProperlyConnected")?e.incentivesProperlyConnected:void 0,electricCompany:s.exists(e,"electricCompany")?e.electricCompany:void 0,gasCompany:s.exists(e,"gasCompany")?e.gasCompany:void 0,telephoneCompany:s.exists(e,"telephoneCompany")?e.telephoneCompany:void 0,televisionCompany:s.exists(e,"televisionCompany")?e.televisionCompany:void 0,waterCompany:s.exists(e,"waterCompany")?e.waterCompany:void 0,internetCompany:s.exists(e,"internetCompany")?e.internetCompany:void 0,localHospital:s.exists(e,"localHospital")?e.localHospital:void 0,localSchoolDistrict:s.exists(e,"localSchoolDistrict")?e.localSchoolDistrict:void 0,localElementarySchool:s.exists(e,"localElementarySchool")?e.localElementarySchool:void 0,localMiddleSchool:s.exists(e,"localMiddleSchool")?e.localMiddleSchool:void 0,localHighSchool:s.exists(e,"localHighSchool")?e.localHighSchool:void 0,localShoppingCenter:s.exists(e,"localShoppingCenter")?e.localShoppingCenter:void 0,localGroceryStore:s.exists(e,"localGroceryStore")?e.localGroceryStore:void 0,closestInterstates:s.exists(e,"closestInterstates")?e.closestInterstates:void 0,buildingPicturesUrl:s.exists(e,"buildingPicturesUrl")?e.buildingPicturesUrl:void 0,buildingFloorPlansUrl:s.exists(e,"buildingFloorPlansUrl")?e.buildingFloorPlansUrl:void 0,nonexistentLayouts:s.exists(e,"nonexistentLayouts")?e.nonexistentLayouts:void 0,offeredLayouts:s.exists(e,"offeredLayouts")?e.offeredLayouts:void 0,avoidQuotingPrices:s.exists(e,"avoidQuotingPrices")?e.avoidQuotingPrices:void 0,excludeNotRentReadyUnit:s.exists(e,"excludeNotRentReadyUnit")?e.excludeNotRentReadyUnit:void 0,flexWallsAllowed:s.exists(e,"flexWallsAllowed")?e.flexWallsAllowed:void 0,petsAccepted:s.exists(e,"petsAccepted")?e.petsAccepted:void 0,guarantorsAcceptedSwitch:s.exists(e,"guarantorsAcceptedSwitch")?e.guarantorsAcceptedSwitch:void 0,thirdPartyGuarantorsAccepted:s.exists(e,"thirdPartyGuarantorsAccepted")?e.thirdPartyGuarantorsAccepted:void 0,alwaysScheduleAppointments:s.exists(e,"alwaysScheduleAppointments")?e.alwaysScheduleAppointments:void 0,leasingOfficeOnsite:s.exists(e,"leasingOfficeOnsite")?e.leasingOfficeOnsite:void 0,building3dMediaUrl:s.exists(e,"building3dMediaUrl")?e.building3dMediaUrl:void 0,dailyreport:s.exists(e,"dailyreport")?e.dailyreport:void 0,dailyReportEmails:s.exists(e,"dailyReportEmails")?e.dailyReportEmails:void 0,nearbySubways:s.exists(e,"nearbySubways")?e.nearbySubways:void 0,bedroomTypes:s.exists(e,"bedroomTypes")?e.bedroomTypes:void 0,leasingBrochureUrl:s.exists(e,"leasingBrochureUrl")?e.leasingBrochureUrl:void 0,confidenceVariable:s.exists(e,"confidenceVariable")?e.confidenceVariable:void 0,textForwardToEmails:s.exists(e,"textForwardToEmails")?e.textForwardToEmails:void 0,synchronizationStatus:s.exists(e,"synchronizationStatus")?e.synchronizationStatus:void 0,omitDesiredFloorPlan:s.exists(e,"omitDesiredFloorPlan")?e.omitDesiredFloorPlan:void 0,pickingNewGuestCards:s.exists(e,"pickingNewGuestCards")?e.pickingNewGuestCards:void 0,showNotRespondingLeadsInReport:s.exists(e,"showNotRespondingLeadsInReport")?e.showNotRespondingLeadsInReport:void 0,leasingOfficeSetupType:s.exists(e,"leasingOfficeSetupType")?e.leasingOfficeSetupType:void 0,firstContactReasonRequired:s.exists(e,"firstContactReasonRequired")?e.firstContactReasonRequired:void 0,firstContactReason:s.exists(e,"firstContactReason")?e.firstContactReason:void 0,emailSignature:s.exists(e,"emailSignature")?e.emailSignature:void 0,tourDuration:s.exists(e,"tourDuration")?e.tourDuration:void 0,inPersonToursAllowed:s.exists(e,"inPersonToursAllowed")?e.inPersonToursAllowed:void 0,selfGuidedToursEnabled:s.exists(e,"selfGuidedToursEnabled")?e.selfGuidedToursEnabled:void 0,virtualTourType:s.exists(e,"virtualTourType")?e.virtualTourType:void 0,virtualTourPlatforms:s.exists(e,"virtualTourPlatforms")?e.virtualTourPlatforms:void 0,noUnitSelfGuidedTourAllowed:s.exists(e,"noUnitSelfGuidedTourAllowed")?e.noUnitSelfGuidedTourAllowed:void 0,sgSchedulingBasedOnNormalAppointments:s.exists(e,"sgSchedulingBasedOnNormalAppointments")?e.sgSchedulingBasedOnNormalAppointments:void 0,tourTypePriority:s.exists(e,"tourTypePriority")?e.tourTypePriority:void 0,tourNotificationEmailsMode:s.exists(e,"tourNotificationEmailsMode")?e.tourNotificationEmailsMode:void 0,showByOpenHouseOnly:s.exists(e,"showByOpenHouseOnly")?e.showByOpenHouseOnly:void 0,showUnitsWithPendingApplication:s.exists(e,"showUnitsWithPendingApplication")?e.showUnitsWithPendingApplication:void 0,showOccupiedUnitsWithPendingApplication:s.exists(e,"showOccupiedUnitsWithPendingApplication")?e.showOccupiedUnitsWithPendingApplication:void 0,confirmAppointmentsOccupiedUnits:s.exists(e,"confirmAppointmentsOccupiedUnits")?e.confirmAppointmentsOccupiedUnits:void 0,confirmAppointmentsRenovatingUnits:s.exists(e,"confirmAppointmentsRenovatingUnits")?e.confirmAppointmentsRenovatingUnits:void 0,occupiedUnitsAdvancedNoticeInHours:s.exists(e,"occupiedUnitsAdvancedNoticeInHours")?e.occupiedUnitsAdvancedNoticeInHours:void 0,prioritizeShowingVacantUnits:s.exists(e,"prioritizeShowingVacantUnits")?e.prioritizeShowingVacantUnits:void 0,showOccupiedUnits:s.exists(e,"showOccupiedUnits")?e.showOccupiedUnits:void 0,whiteListActivated:s.exists(e,"whiteListActivated")?e.whiteListActivated:void 0,appointmentMeetingLocation:s.exists(e,"appointmentMeetingLocation")?e.appointmentMeetingLocation:void 0,appointmentMeetingPointSpecific:s.exists(e,"appointmentMeetingPointSpecific")?e.appointmentMeetingPointSpecific:void 0,appointmentDirections:s.exists(e,"appointmentDirections")?e.appointmentDirections:void 0,appointmentAdditionalDirections:s.exists(e,"appointmentAdditionalDirections")?e.appointmentAdditionalDirections:void 0,launchDateTime:s.exists(e,"launchDateTime")?new Date(e.launchDateTime):void 0,clientRequiresShowEvent:s.exists(e,"clientRequiresShowEvent")?e.clientRequiresShowEvent:void 0,tempLeasingOfficeHoursAsJson:s.exists(e,"tempLeasingOfficeHoursAsJson")?e.tempLeasingOfficeHoursAsJson:void 0,calendarId:s.exists(e,"calendarId")?e.calendarId:void 0,effectiveHandoffForwardToEmails:s.exists(e,"effectiveHandoffForwardToEmails")?e.effectiveHandoffForwardToEmails:void 0}}(a=t.BuildingDetailsLeasingOfficeSetupTypeEnum||(t.BuildingDetailsLeasingOfficeSetupTypeEnum={})).SingleBuilding="SINGLE_BUILDING",a.CentralLeasingOfficeAsSingleBuilding="CENTRAL_LEASING_OFFICE_AS_SINGLE_BUILDING",(o=t.BuildingDetailsVirtualTourTypeEnum||(t.BuildingDetailsVirtualTourTypeEnum={})).NotEnabled="NOT_ENABLED",o.SelfManaged="SELF_MANAGED",o.Whereby="WHEREBY",(r=t.BuildingDetailsTourTypePriorityEnum||(t.BuildingDetailsTourTypePriorityEnum={})).Unknown="UNKNOWN",r.SelfGuided="SELF_GUIDED",r.VirtualShowing="VIRTUAL_SHOWING",r.WithAgent="WITH_AGENT",r.MediaTour="MEDIA_TOUR",(i=t.BuildingDetailsTourNotificationEmailsModeEnum||(t.BuildingDetailsTourNotificationEmailsModeEnum={})).NoNotification="NO_NOTIFICATION",i.AllViewings="ALL_VIEWINGS",i.SameDayViewings="SAME_DAY_VIEWINGS",t.BuildingDetailsFromJSON=function(e){return l(e)},t.BuildingDetailsFromJSONTyped=l,t.BuildingDetailsToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,managementCompanyId:e.managementCompanyId,organizationId:e.organizationId,active:e.active,handoffForwardToEmails:e.handoffForwardToEmails,responseCcEmails:e.responseCcEmails,responseBccEmails:e.responseBccEmails,associateCalendarId:e.associateCalendarId,buildingName:e.buildingName,address1:e.address1,address2:e.address2,address3:e.address3,alternativeILSAddresses:e.alternativeILSAddresses,city:e.city,state:e.state,postalCode:e.postalCode,crossStreets:e.crossStreets,neighborhood:e.neighborhood,nearbyTransportation:e.nearbyTransportation,buildingOwnership:e.buildingOwnership,buildingType:e.buildingType,totalUnits:e.totalUnits,totalFloors:e.totalFloors,yearBuilt:e.yearBuilt,block:e.block,lot:e.lot,schoolDistrict:e.schoolDistrict,communityDistrict:e.communityDistrict,newConstruction:e.newConstruction,preWarBuilding:e.preWarBuilding,brownstone:e.brownstone,greenBuilding:e.greenBuilding,elevator:e.elevator,freightElevator:e.freightElevator,parking:e.parking,petPolicy:e.petPolicy,petNumberLimit:e.petNumberLimit,petWeightLimit:e.petWeightLimit,petFeeOrDeposit:e.petFeeOrDeposit,utilitiesIncluded:e.utilitiesIncluded,utilitiesNotIncluded:e.utilitiesNotIncluded,leaseTermsAccepted:e.leaseTermsAccepted,minLeaseTermAccepted:e.minLeaseTermAccepted,furnishedOffered:e.furnishedOffered,furnishedUnitsPolicy:e.furnishedUnitsPolicy,internationalStudentRequirements:e.internationalStudentRequirements,amenitiesFee:e.amenitiesFee,nonSmoking:e.nonSmoking,piedATerreAllowed:e.piedATerreAllowed,diplomatsOk:e.diplomatsOk,corporateLeasesAccepted:e.corporateLeasesAccepted,shortTermAllowed:e.shortTermAllowed,doorman:e.doorman,intercom:e.intercom,liveInSuper:e.liveInSuper,concierge:e.concierge,laundryInBuilding:e.laundryInBuilding,packageReceiving:e.packageReceiving,gym:e.gym,storage:e.storage,bicycleRoom:e.bicycleRoom,lounge:e.lounge,clubHouse:e.clubHouse,businessCenter:e.businessCenter,outdoorSpace:e.outdoorSpace,roofDeck:e.roofDeck,courtyard:e.courtyard,childrenPlayroom:e.childrenPlayroom,nursery:e.nursery,maidService:e.maidService,pool:e.pool,wheelchairAccess:e.wheelchairAccess,guarantorTypesAccepted:e.guarantorTypesAccepted,thirdPartyGuarantorTypesAccepted:e.thirdPartyGuarantorTypesAccepted,noCreditQualificationAlternative:e.noCreditQualificationAlternative,flexWallPolicy:e.flexWallPolicy,leaseholderApplicationFee:e.leaseholderApplicationFee,occupantApplicationFee:e.occupantApplicationFee,guarantorApplicationFee:e.guarantorApplicationFee,tenantIncomeRequirementRentMultiplier:e.tenantIncomeRequirementRentMultiplier,guarantorIncomeRequirementRentMultiplier:e.guarantorIncomeRequirementRentMultiplier,incomeRequirementRentMultiplierTimePeriod:e.incomeRequirementRentMultiplierTimePeriod,leaseholderMinimumCreditScoreRequirement:e.leaseholderMinimumCreditScoreRequirement,guarantorMinimumCreditScoreRequirement:e.guarantorMinimumCreditScoreRequirement,leaseholderApplicationDocumentsRequired:e.leaseholderApplicationDocumentsRequired,selfEmployedApplicationDocumentsRequired:e.selfEmployedApplicationDocumentsRequired,guarantorApplicationDocumentsRequired:e.guarantorApplicationDocumentsRequired,guarantorsAccepted:e.guarantorsAccepted,financialsInsufficientAlternative:e.financialsInsufficientAlternative,prepaymentPolicy:e.prepaymentPolicy,rentRequiredOnLeaseSigning:e.rentRequiredOnLeaseSigning,securityDepositRentMultiplier:e.securityDepositRentMultiplier,paymentFormsAccepted:e.paymentFormsAccepted,clientEmail:e.clientEmail,description:e.description,notes:e.notes,leasingOfficeHours:e.leasingOfficeHours,occupiedUnitsShowingHours:e.occupiedUnitsShowingHours,internalNotes:e.internalNotes,leasingPhoneNumber:e.leasingPhoneNumber,callCenterNumber:e.callCenterNumber,buildingWebsiteUrl:e.buildingWebsiteUrl,applicationLink:e.applicationLink,geoAddress:e.geoAddress,googleMapsUrl:e.googleMapsUrl,alerts:e.alerts,rentComputeType:e.rentComputeType,autosendActive:e.autosendActive,advancedMoveInAllowenceInDays:e.advancedMoveInAllowenceInDays,alternativeBuildingNames:e.alternativeBuildingNames,externalIds:e.externalIds,externalCrmId:e.externalCrmId,defaultAvailabilityQuoteMatchMoveInDate:e.defaultAvailabilityQuoteMatchMoveInDate,leaseRenewalNoticeInDays:e.leaseRenewalNoticeInDays,rentQuoteFormat:e.rentQuoteFormat,rentWithIncentivesQuoteFormat:e.rentWithIncentivesQuoteFormat,isPartOfComplex:e.isPartOfComplex,alternativeILSAddressGeoFormat:u.AlternativeILSAddressGeoFormatToJSON(e.alternativeILSAddressGeoFormat),effectiveRentComputeType:e.effectiveRentComputeType,maxLeaseTermAccepted:e.maxLeaseTermAccepted,parkingInformation:e.parkingInformation,storageFee:e.storageFee,incentivesProperlyConnected:e.incentivesProperlyConnected,electricCompany:e.electricCompany,gasCompany:e.gasCompany,telephoneCompany:e.telephoneCompany,televisionCompany:e.televisionCompany,waterCompany:e.waterCompany,internetCompany:e.internetCompany,localHospital:e.localHospital,localSchoolDistrict:e.localSchoolDistrict,localElementarySchool:e.localElementarySchool,localMiddleSchool:e.localMiddleSchool,localHighSchool:e.localHighSchool,localShoppingCenter:e.localShoppingCenter,localGroceryStore:e.localGroceryStore,closestInterstates:e.closestInterstates,buildingPicturesUrl:e.buildingPicturesUrl,buildingFloorPlansUrl:e.buildingFloorPlansUrl,nonexistentLayouts:e.nonexistentLayouts,offeredLayouts:e.offeredLayouts,avoidQuotingPrices:e.avoidQuotingPrices,excludeNotRentReadyUnit:e.excludeNotRentReadyUnit,flexWallsAllowed:e.flexWallsAllowed,petsAccepted:e.petsAccepted,guarantorsAcceptedSwitch:e.guarantorsAcceptedSwitch,thirdPartyGuarantorsAccepted:e.thirdPartyGuarantorsAccepted,alwaysScheduleAppointments:e.alwaysScheduleAppointments,leasingOfficeOnsite:e.leasingOfficeOnsite,building3dMediaUrl:e.building3dMediaUrl,dailyreport:e.dailyreport,dailyReportEmails:e.dailyReportEmails,nearbySubways:e.nearbySubways,bedroomTypes:e.bedroomTypes,leasingBrochureUrl:e.leasingBrochureUrl,confidenceVariable:e.confidenceVariable,textForwardToEmails:e.textForwardToEmails,synchronizationStatus:e.synchronizationStatus,omitDesiredFloorPlan:e.omitDesiredFloorPlan,pickingNewGuestCards:e.pickingNewGuestCards,showNotRespondingLeadsInReport:e.showNotRespondingLeadsInReport,leasingOfficeSetupType:e.leasingOfficeSetupType,firstContactReasonRequired:e.firstContactReasonRequired,firstContactReason:e.firstContactReason,emailSignature:e.emailSignature,tourDuration:e.tourDuration,inPersonToursAllowed:e.inPersonToursAllowed,selfGuidedToursEnabled:e.selfGuidedToursEnabled,virtualTourType:e.virtualTourType,virtualTourPlatforms:e.virtualTourPlatforms,noUnitSelfGuidedTourAllowed:e.noUnitSelfGuidedTourAllowed,sgSchedulingBasedOnNormalAppointments:e.sgSchedulingBasedOnNormalAppointments,tourTypePriority:e.tourTypePriority,tourNotificationEmailsMode:e.tourNotificationEmailsMode,showByOpenHouseOnly:e.showByOpenHouseOnly,showUnitsWithPendingApplication:e.showUnitsWithPendingApplication,showOccupiedUnitsWithPendingApplication:e.showOccupiedUnitsWithPendingApplication,confirmAppointmentsOccupiedUnits:e.confirmAppointmentsOccupiedUnits,confirmAppointmentsRenovatingUnits:e.confirmAppointmentsRenovatingUnits,occupiedUnitsAdvancedNoticeInHours:e.occupiedUnitsAdvancedNoticeInHours,prioritizeShowingVacantUnits:e.prioritizeShowingVacantUnits,showOccupiedUnits:e.showOccupiedUnits,whiteListActivated:e.whiteListActivated,appointmentMeetingLocation:e.appointmentMeetingLocation,appointmentMeetingPointSpecific:e.appointmentMeetingPointSpecific,appointmentDirections:e.appointmentDirections,appointmentAdditionalDirections:e.appointmentAdditionalDirections,launchDateTime:void 0===e.launchDateTime?void 0:e.launchDateTime.toISOString(),clientRequiresShowEvent:e.clientRequiresShowEvent,tempLeasingOfficeHoursAsJson:e.tempLeasingOfficeHoursAsJson,calendarId:e.calendarId,effectiveHandoffForwardToEmails:e.effectiveHandoffForwardToEmails}}},3477:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BuildingEntityToJSON=t.BuildingEntityFromJSONTyped=t.BuildingEntityFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{id:i.exists(e,"id")?e.id:void 0}}t.BuildingEntityFromJSON=function(e){return r(e)},t.BuildingEntityFromJSONTyped=r,t.BuildingEntityToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id}}},8536:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BuildingExpansionValidationResultToJSON=t.BuildingExpansionValidationResultFromJSONTyped=t.BuildingExpansionValidationResultFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{apiCallToSuccessMap:i.exists(e,"apiCallToSuccessMap")?e.apiCallToSuccessMap:void 0,apiCallToMessageMap:i.exists(e,"apiCallToMessageMap")?e.apiCallToMessageMap:void 0}}t.BuildingExpansionValidationResultFromJSON=function(e){return r(e)},t.BuildingExpansionValidationResultFromJSONTyped=r,t.BuildingExpansionValidationResultToJSON=function(e){if(void 0!==e)return null===e?null:{apiCallToSuccessMap:e.apiCallToSuccessMap,apiCallToMessageMap:e.apiCallToMessageMap}}},4597:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BuildingFeatureFlagRequestDtoToJSON=t.BuildingFeatureFlagRequestDtoFromJSONTyped=t.BuildingFeatureFlagRequestDtoFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{defaultBoolValue:i.exists(e,"defaultBoolValue")?e.defaultBoolValue:void 0,defaultIntValue:i.exists(e,"defaultIntValue")?e.defaultIntValue:void 0,defaultStringValue:i.exists(e,"defaultStringValue")?e.defaultStringValue:void 0,clientEmail:i.exists(e,"clientEmail")?e.clientEmail:void 0,orgId:i.exists(e,"orgId")?e.orgId:void 0,buildingId:i.exists(e,"buildingId")?e.buildingId:void 0,crmType:i.exists(e,"crmType")?e.crmType:void 0}}t.BuildingFeatureFlagRequestDtoFromJSON=function(e){return r(e)},t.BuildingFeatureFlagRequestDtoFromJSONTyped=r,t.BuildingFeatureFlagRequestDtoToJSON=function(e){if(void 0!==e)return null===e?null:{defaultBoolValue:e.defaultBoolValue,defaultIntValue:e.defaultIntValue,defaultStringValue:e.defaultStringValue,clientEmail:e.clientEmail,orgId:e.orgId,buildingId:e.buildingId,crmType:e.crmType}}},553:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BuildingOverrideToJSON=t.BuildingOverrideFromJSONTyped=t.BuildingOverrideFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{redIntents:i.exists(e,"redIntents")?e.redIntents:void 0,yellowIntents:i.exists(e,"yellowIntents")?e.yellowIntents:void 0}}t.BuildingOverrideFromJSON=function(e){return r(e)},t.BuildingOverrideFromJSONTyped=r,t.BuildingOverrideToJSON=function(e){if(void 0!==e)return null===e?null:{redIntents:e.redIntents,yellowIntents:e.yellowIntents}}},6673:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BuildingPublicViewModelToJSON=t.BuildingPublicViewModelFromJSONTyped=t.BuildingPublicViewModelFromJSON=void 0;var i=n(296),r=n(746),o=n(6330);function a(e,t){return null==e?e:{id:i.exists(e,"id")?e.id:void 0,orgId:i.exists(e,"orgId")?e.orgId:void 0,name:i.exists(e,"name")?e.name:void 0,userId:i.exists(e,"userId")?e.userId:void 0,userFirstName:i.exists(e,"userFirstName")?e.userFirstName:void 0,userLastName:i.exists(e,"userLastName")?e.userLastName:void 0,primaryColor:i.exists(e,"primaryColor")?e.primaryColor:void 0,backgroundColor:i.exists(e,"backgroundColor")?e.backgroundColor:void 0,logoSrc:i.exists(e,"logoSrc")?e.logoSrc:void 0,welcomeMessage:i.exists(e,"welcomeMessage")?e.welcomeMessage:void 0,chatTitle:i.exists(e,"chatTitle")?e.chatTitle:void 0,chatSubtitle:i.exists(e,"chatSubtitle")?e.chatSubtitle:void 0,bannerColor:i.exists(e,"bannerColor")?e.bannerColor:void 0,bannerTextColor:i.exists(e,"bannerTextColor")?e.bannerTextColor:void 0,messageColor:i.exists(e,"messageColor")?e.messageColor:void 0,messageTextColor:i.exists(e,"messageTextColor")?e.messageTextColor:void 0,launchButtonColor:i.exists(e,"launchButtonColor")?e.launchButtonColor:void 0,launchButtonIconColor:i.exists(e,"launchButtonIconColor")?e.launchButtonIconColor:void 0,launchButtonSize:i.exists(e,"launchButtonSize")?e.launchButtonSize:void 0,avatarType:i.exists(e,"avatarType")?e.avatarType:void 0,avatarSrc:i.exists(e,"avatarSrc")?e.avatarSrc:void 0,avatarInitials:i.exists(e,"avatarInitials")?e.avatarInitials:void 0,themeId:i.exists(e,"themeId")?e.themeId:void 0,streetAddress:i.exists(e,"streetAddress")?e.streetAddress:void 0,postalCode:i.exists(e,"postalCode")?e.postalCode:void 0,state:i.exists(e,"state")?e.state:void 0,phoneNumber:i.exists(e,"phoneNumber")?e.phoneNumber:void 0,layoutOptions:i.exists(e,"layoutOptions")?e.layoutOptions.map(r.LayoutOptionFromJSON):void 0,tourTypeOptions:i.exists(e,"tourTypeOptions")?e.tourTypeOptions.map(o.TourTypeOptionFromJSON):void 0,conversationMaintenanceMode:i.exists(e,"conversationMaintenanceMode")?e.conversationMaintenanceMode:void 0}}t.BuildingPublicViewModelFromJSON=function(e){return a(e)},t.BuildingPublicViewModelFromJSONTyped=a,t.BuildingPublicViewModelToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,orgId:e.orgId,name:e.name,userId:e.userId,userFirstName:e.userFirstName,userLastName:e.userLastName,primaryColor:e.primaryColor,backgroundColor:e.backgroundColor,logoSrc:e.logoSrc,welcomeMessage:e.welcomeMessage,chatTitle:e.chatTitle,chatSubtitle:e.chatSubtitle,bannerColor:e.bannerColor,bannerTextColor:e.bannerTextColor,messageColor:e.messageColor,messageTextColor:e.messageTextColor,launchButtonColor:e.launchButtonColor,launchButtonIconColor:e.launchButtonIconColor,launchButtonSize:e.launchButtonSize,avatarType:e.avatarType,avatarSrc:e.avatarSrc,avatarInitials:e.avatarInitials,themeId:e.themeId,streetAddress:e.streetAddress,postalCode:e.postalCode,state:e.state,phoneNumber:e.phoneNumber,layoutOptions:void 0===e.layoutOptions?void 0:e.layoutOptions.map(r.LayoutOptionToJSON),tourTypeOptions:void 0===e.tourTypeOptions?void 0:e.tourTypeOptions.map(o.TourTypeOptionToJSON),conversationMaintenanceMode:e.conversationMaintenanceMode}}},6597:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BuildingRefreshInfoToJSON=t.BuildingRefreshInfoFromJSONTyped=t.BuildingRefreshInfoFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{timesToRunInCronFormat:i.exists(e,"timesToRunInCronFormat")?e.timesToRunInCronFormat:void 0}}t.BuildingRefreshInfoFromJSON=function(e){return r(e)},t.BuildingRefreshInfoFromJSONTyped=r,t.BuildingRefreshInfoToJSON=function(e){if(void 0!==e)return null===e?null:{timesToRunInCronFormat:e.timesToRunInCronFormat}}},7949:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BuildingTourTypePreferencesToJSON=t.BuildingTourTypePreferencesFromJSONTyped=t.BuildingTourTypePreferencesFromJSON=t.BuildingTourTypePreferencesSelfGuidedToursTypeOfferedEnum=t.BuildingTourTypePreferencesLiveVirtualToursTypeOfferedEnum=t.BuildingTourTypePreferencesMediaToursTypeOfferedEnum=t.BuildingTourTypePreferencesEscortedToursTypeOfferedEnum=void 0;var i,r,o,a,s=n(296);function u(e,t){return null==e?e:{id:s.exists(e,"id")?e.id:void 0,buildingId:s.exists(e,"buildingId")?e.buildingId:void 0,escortedToursAllowed:s.exists(e,"escortedToursAllowed")?e.escortedToursAllowed:void 0,escortedToursTypeOffered:s.exists(e,"escortedToursTypeOffered")?e.escortedToursTypeOffered:void 0,escortedTourClientName:s.exists(e,"escortedTourClientName")?e.escortedTourClientName:void 0,escortedToursLink:s.exists(e,"escortedToursLink")?e.escortedToursLink:void 0,mediaToursAllowed:s.exists(e,"mediaToursAllowed")?e.mediaToursAllowed:void 0,mediaToursTypeOffered:s.exists(e,"mediaToursTypeOffered")?e.mediaToursTypeOffered:void 0,mediaTourClientName:s.exists(e,"mediaTourClientName")?e.mediaTourClientName:void 0,mediaToursLink:s.exists(e,"mediaToursLink")?e.mediaToursLink:void 0,liveVirtualToursAllowed:s.exists(e,"liveVirtualToursAllowed")?e.liveVirtualToursAllowed:void 0,liveVirtualToursTypeOffered:s.exists(e,"liveVirtualToursTypeOffered")?e.liveVirtualToursTypeOffered:void 0,liveVirtualTourClientName:s.exists(e,"liveVirtualTourClientName")?e.liveVirtualTourClientName:void 0,liveVirtualToursLink:s.exists(e,"liveVirtualToursLink")?e.liveVirtualToursLink:void 0,selfGuidedToursAllowed:s.exists(e,"selfGuidedToursAllowed")?e.selfGuidedToursAllowed:void 0,selfGuidedToursTypeOffered:s.exists(e,"selfGuidedToursTypeOffered")?e.selfGuidedToursTypeOffered:void 0,selfGuidedTourClientName:s.exists(e,"selfGuidedTourClientName")?e.selfGuidedTourClientName:void 0,selfGuidedToursLink:s.exists(e,"selfGuidedToursLink")?e.selfGuidedToursLink:void 0}}(a=t.BuildingTourTypePreferencesEscortedToursTypeOfferedEnum||(t.BuildingTourTypePreferencesEscortedToursTypeOfferedEnum={})).Link="LINK",a.ClientScheduled="CLIENT_SCHEDULED",a.ScheduledByMeManagedByMe="SCHEDULED_BY_ME_MANAGED_BY_ME",a.ScheduledByMeManagedByClient="SCHEDULED_BY_ME_MANAGED_BY_CLIENT",a.ScheduledByMeManagedByConcierge="SCHEDULED_BY_ME_MANAGED_BY_CONCIERGE",(o=t.BuildingTourTypePreferencesMediaToursTypeOfferedEnum||(t.BuildingTourTypePreferencesMediaToursTypeOfferedEnum={})).Link="LINK",o.ClientScheduled="CLIENT_SCHEDULED",o.ScheduledByMeManagedByMe="SCHEDULED_BY_ME_MANAGED_BY_ME",o.ScheduledByMeManagedByClient="SCHEDULED_BY_ME_MANAGED_BY_CLIENT",o.ScheduledByMeManagedByConcierge="SCHEDULED_BY_ME_MANAGED_BY_CONCIERGE",(r=t.BuildingTourTypePreferencesLiveVirtualToursTypeOfferedEnum||(t.BuildingTourTypePreferencesLiveVirtualToursTypeOfferedEnum={})).Link="LINK",r.ClientScheduled="CLIENT_SCHEDULED",r.ScheduledByMeManagedByMe="SCHEDULED_BY_ME_MANAGED_BY_ME",r.ScheduledByMeManagedByClient="SCHEDULED_BY_ME_MANAGED_BY_CLIENT",r.ScheduledByMeManagedByConcierge="SCHEDULED_BY_ME_MANAGED_BY_CONCIERGE",(i=t.BuildingTourTypePreferencesSelfGuidedToursTypeOfferedEnum||(t.BuildingTourTypePreferencesSelfGuidedToursTypeOfferedEnum={})).Link="LINK",i.ClientScheduled="CLIENT_SCHEDULED",i.ScheduledByMeManagedByMe="SCHEDULED_BY_ME_MANAGED_BY_ME",i.ScheduledByMeManagedByClient="SCHEDULED_BY_ME_MANAGED_BY_CLIENT",i.ScheduledByMeManagedByConcierge="SCHEDULED_BY_ME_MANAGED_BY_CONCIERGE",t.BuildingTourTypePreferencesFromJSON=function(e){return u(e)},t.BuildingTourTypePreferencesFromJSONTyped=u,t.BuildingTourTypePreferencesToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,buildingId:e.buildingId,escortedToursAllowed:e.escortedToursAllowed,escortedToursTypeOffered:e.escortedToursTypeOffered,escortedTourClientName:e.escortedTourClientName,escortedToursLink:e.escortedToursLink,mediaToursAllowed:e.mediaToursAllowed,mediaToursTypeOffered:e.mediaToursTypeOffered,mediaTourClientName:e.mediaTourClientName,mediaToursLink:e.mediaToursLink,liveVirtualToursAllowed:e.liveVirtualToursAllowed,liveVirtualToursTypeOffered:e.liveVirtualToursTypeOffered,liveVirtualTourClientName:e.liveVirtualTourClientName,liveVirtualToursLink:e.liveVirtualToursLink,selfGuidedToursAllowed:e.selfGuidedToursAllowed,selfGuidedToursTypeOffered:e.selfGuidedToursTypeOffered,selfGuidedTourClientName:e.selfGuidedTourClientName,selfGuidedToursLink:e.selfGuidedToursLink}}},2386:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CalendarEventTourHandlerToJSON=t.CalendarEventTourHandlerFromJSONTyped=t.CalendarEventTourHandlerFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{id:e.id,timeCreated:new Date(e.timeCreated),buildingId:i.exists(e,"buildingId")?e.buildingId:void 0,calendarEventId:e.calendarEventId,leasingAgentId:e.leasingAgentId}}t.CalendarEventTourHandlerFromJSON=function(e){return r(e)},t.CalendarEventTourHandlerFromJSONTyped=r,t.CalendarEventTourHandlerToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,timeCreated:e.timeCreated.toISOString(),buildingId:e.buildingId,calendarEventId:e.calendarEventId,leasingAgentId:e.leasingAgentId}}},4853:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CancelActionDtoToJSON=t.CancelActionDtoFromJSONTyped=t.CancelActionDtoFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{contextId:i.exists(e,"contextId")?e.contextId:void 0,calendarEventId:i.exists(e,"calendarEventId")?e.calendarEventId:void 0,buildingId:i.exists(e,"buildingId")?e.buildingId:void 0}}t.CancelActionDtoFromJSON=function(e){return r(e)},t.CancelActionDtoFromJSONTyped=r,t.CancelActionDtoToJSON=function(e){if(void 0!==e)return null===e?null:{contextId:e.contextId,calendarEventId:e.calendarEventId,buildingId:e.buildingId}}},9260:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CancelTourByStateIdDtoToJSON=t.CancelTourByStateIdDtoFromJSONTyped=t.CancelTourByStateIdDtoFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{mcId:i.exists(e,"mcId")?e.mcId:void 0,stateId:i.exists(e,"stateId")?e.stateId:void 0,buildingId:i.exists(e,"buildingId")?e.buildingId:void 0,useLegacyContext:i.exists(e,"useLegacyContext")?e.useLegacyContext:void 0,sms:i.exists(e,"sms")?e.sms:void 0}}t.CancelTourByStateIdDtoFromJSON=function(e){return r(e)},t.CancelTourByStateIdDtoFromJSONTyped=r,t.CancelTourByStateIdDtoToJSON=function(e){if(void 0!==e)return null===e?null:{mcId:e.mcId,stateId:e.stateId,buildingId:e.buildingId,useLegacyContext:e.useLegacyContext,sms:e.sms}}},3777:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CancelTourDtoToJSON=t.CancelTourDtoFromJSONTyped=t.CancelTourDtoFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{contextId:i.exists(e,"contextId")?e.contextId:void 0,buildingId:i.exists(e,"buildingId")?e.buildingId:void 0}}t.CancelTourDtoFromJSON=function(e){return r(e)},t.CancelTourDtoFromJSONTyped=r,t.CancelTourDtoToJSON=function(e){if(void 0!==e)return null===e?null:{contextId:e.contextId,buildingId:e.buildingId}}},713:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ChatTelemetryDtoToJSON=t.ChatTelemetryDtoFromJSONTyped=t.ChatTelemetryDtoFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{eventType:i.exists(e,"eventType")?e.eventType:void 0,chatId:i.exists(e,"chatId")?e.chatId:void 0,url:i.exists(e,"url")?e.url:void 0,org:i.exists(e,"org")?e.org:void 0,building:i.exists(e,"building")?e.building:void 0,referrer:i.exists(e,"referrer")?e.referrer:void 0,featureFlags:i.exists(e,"featureFlags")?e.featureFlags:void 0}}t.ChatTelemetryDtoFromJSON=function(e){return r(e)},t.ChatTelemetryDtoFromJSONTyped=r,t.ChatTelemetryDtoToJSON=function(e){if(void 0!==e)return null===e?null:{eventType:e.eventType,chatId:e.chatId,url:e.url,org:e.org,building:e.building,referrer:e.referrer,featureFlags:e.featureFlags}}},1172:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CommunitiesDefaultsToJSON=t.CommunitiesDefaultsFromJSONTyped=t.CommunitiesDefaultsFromJSON=void 0;var i=n(296),r=n(6448),o=n(6161),a=n(6069),s=n(6122);function u(e,t){return null==e?e:{virtualTourType:i.exists(e,"virtualTourType")?s.SettingVirtualTourTypeFromJSON(e.virtualTourType):void 0,virtualTourPlatforms:i.exists(e,"virtualTourPlatforms")?a.SettingStringFromJSON(e.virtualTourPlatforms):void 0,furnishedOffered:i.exists(e,"furnishedOffered")?o.SettingIntegerFromJSON(e.furnishedOffered):void 0,furnishedUnitsPolicy:i.exists(e,"furnishedUnitsPolicy")?a.SettingStringFromJSON(e.furnishedUnitsPolicy):void 0,utilitiesIncluded:i.exists(e,"utilitiesIncluded")?a.SettingStringFromJSON(e.utilitiesIncluded):void 0,utilitiesNotIncluded:i.exists(e,"utilitiesNotIncluded")?a.SettingStringFromJSON(e.utilitiesNotIncluded):void 0,advancedMoveInAllowenceInDays:i.exists(e,"advancedMoveInAllowenceInDays")?o.SettingIntegerFromJSON(e.advancedMoveInAllowenceInDays):void 0,occupiedUnits:i.exists(e,"occupiedUnits")?o.SettingIntegerFromJSON(e.occupiedUnits):void 0,showUnitsWithPendingApplication:i.exists(e,"showUnitsWithPendingApplication")?r.SettingBooleanFromJSON(e.showUnitsWithPendingApplication):void 0,confirmAppointmentsRenovatingUnits:i.exists(e,"confirmAppointmentsRenovatingUnits")?r.SettingBooleanFromJSON(e.confirmAppointmentsRenovatingUnits):void 0,occupiedUnitsAdvancedNoticeInHours:i.exists(e,"occupiedUnitsAdvancedNoticeInHours")?o.SettingIntegerFromJSON(e.occupiedUnitsAdvancedNoticeInHours):void 0,confirmAppointmentsOccupiedUnits:i.exists(e,"confirmAppointmentsOccupiedUnits")?r.SettingBooleanFromJSON(e.confirmAppointmentsOccupiedUnits):void 0,showOccupiedUnitsWithPendingApplication:i.exists(e,"showOccupiedUnitsWithPendingApplication")?r.SettingBooleanFromJSON(e.showOccupiedUnitsWithPendingApplication):void 0,leaseholderApplicationDocumentsRequired:i.exists(e,"leaseholderApplicationDocumentsRequired")?a.SettingStringFromJSON(e.leaseholderApplicationDocumentsRequired):void 0,leaseholderMinimumCreditScoreRequirement:i.exists(e,"leaseholderMinimumCreditScoreRequirement")?a.SettingStringFromJSON(e.leaseholderMinimumCreditScoreRequirement):void 0,noCreditQualificationAlternative:i.exists(e,"noCreditQualificationAlternative")?a.SettingStringFromJSON(e.noCreditQualificationAlternative):void 0,incomeRequirementRentMultiplierTimePeriod:i.exists(e,"incomeRequirementRentMultiplierTimePeriod")?r.SettingBooleanFromJSON(e.incomeRequirementRentMultiplierTimePeriod):void 0,rentRequiredOnLeaseSigning:i.exists(e,"rentRequiredOnLeaseSigning")?a.SettingStringFromJSON(e.rentRequiredOnLeaseSigning):void 0,paymentFormsAccepted:i.exists(e,"paymentFormsAccepted")?a.SettingStringFromJSON(e.paymentFormsAccepted):void 0,internationalStudentRequirements:i.exists(e,"internationalStudentRequirements")?a.SettingStringFromJSON(e.internationalStudentRequirements):void 0,guarantorMinimumCreditScoreRequirement:i.exists(e,"guarantorMinimumCreditScoreRequirement")?a.SettingStringFromJSON(e.guarantorMinimumCreditScoreRequirement):void 0,effectiveRentComputeType:i.exists(e,"effectiveRentComputeType")?o.SettingIntegerFromJSON(e.effectiveRentComputeType):void 0,avoidQuotingPrices:i.exists(e,"avoidQuotingPrices")?r.SettingBooleanFromJSON(e.avoidQuotingPrices):void 0,defaultAvailabilityQuoteMatchMoveInDate:i.exists(e,"defaultAvailabilityQuoteMatchMoveInDate")?r.SettingBooleanFromJSON(e.defaultAvailabilityQuoteMatchMoveInDate):void 0,rentComputeType:i.exists(e,"rentComputeType")?o.SettingIntegerFromJSON(e.rentComputeType):void 0,rentWithIncentivesQuoteFormat:i.exists(e,"rentWithIncentivesQuoteFormat")?a.SettingStringFromJSON(e.rentWithIncentivesQuoteFormat):void 0,rentQuoteFormat:i.exists(e,"rentQuoteFormat")?a.SettingStringFromJSON(e.rentQuoteFormat):void 0}}t.CommunitiesDefaultsFromJSON=function(e){return u(e)},t.CommunitiesDefaultsFromJSONTyped=u,t.CommunitiesDefaultsToJSON=function(e){if(void 0!==e)return null===e?null:{virtualTourType:s.SettingVirtualTourTypeToJSON(e.virtualTourType),virtualTourPlatforms:a.SettingStringToJSON(e.virtualTourPlatforms),furnishedOffered:o.SettingIntegerToJSON(e.furnishedOffered),furnishedUnitsPolicy:a.SettingStringToJSON(e.furnishedUnitsPolicy),utilitiesIncluded:a.SettingStringToJSON(e.utilitiesIncluded),utilitiesNotIncluded:a.SettingStringToJSON(e.utilitiesNotIncluded),advancedMoveInAllowenceInDays:o.SettingIntegerToJSON(e.advancedMoveInAllowenceInDays),occupiedUnits:o.SettingIntegerToJSON(e.occupiedUnits),showUnitsWithPendingApplication:r.SettingBooleanToJSON(e.showUnitsWithPendingApplication),confirmAppointmentsRenovatingUnits:r.SettingBooleanToJSON(e.confirmAppointmentsRenovatingUnits),occupiedUnitsAdvancedNoticeInHours:o.SettingIntegerToJSON(e.occupiedUnitsAdvancedNoticeInHours),confirmAppointmentsOccupiedUnits:r.SettingBooleanToJSON(e.confirmAppointmentsOccupiedUnits),showOccupiedUnitsWithPendingApplication:r.SettingBooleanToJSON(e.showOccupiedUnitsWithPendingApplication),leaseholderApplicationDocumentsRequired:a.SettingStringToJSON(e.leaseholderApplicationDocumentsRequired),leaseholderMinimumCreditScoreRequirement:a.SettingStringToJSON(e.leaseholderMinimumCreditScoreRequirement),noCreditQualificationAlternative:a.SettingStringToJSON(e.noCreditQualificationAlternative),incomeRequirementRentMultiplierTimePeriod:r.SettingBooleanToJSON(e.incomeRequirementRentMultiplierTimePeriod),rentRequiredOnLeaseSigning:a.SettingStringToJSON(e.rentRequiredOnLeaseSigning),paymentFormsAccepted:a.SettingStringToJSON(e.paymentFormsAccepted),internationalStudentRequirements:a.SettingStringToJSON(e.internationalStudentRequirements),guarantorMinimumCreditScoreRequirement:a.SettingStringToJSON(e.guarantorMinimumCreditScoreRequirement),effectiveRentComputeType:o.SettingIntegerToJSON(e.effectiveRentComputeType),avoidQuotingPrices:r.SettingBooleanToJSON(e.avoidQuotingPrices),defaultAvailabilityQuoteMatchMoveInDate:r.SettingBooleanToJSON(e.defaultAvailabilityQuoteMatchMoveInDate),rentComputeType:o.SettingIntegerToJSON(e.rentComputeType),rentWithIncentivesQuoteFormat:a.SettingStringToJSON(e.rentWithIncentivesQuoteFormat),rentQuoteFormat:a.SettingStringToJSON(e.rentQuoteFormat)}}},5384:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CommunitiesEdgeToJSON=t.CommunitiesEdgeFromJSONTyped=t.CommunitiesEdgeFromJSON=void 0;var i=n(296),r=n(2414);function o(e,t){return null==e?e:{node:i.exists(e,"node")?r.CommunitiesNodeFromJSON(e.node):void 0}}t.CommunitiesEdgeFromJSON=function(e){return o(e)},t.CommunitiesEdgeFromJSONTyped=o,t.CommunitiesEdgeToJSON=function(e){if(void 0!==e)return null===e?null:{node:r.CommunitiesNodeToJSON(e.node)}}},2414:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CommunitiesNodeToJSON=t.CommunitiesNodeFromJSONTyped=t.CommunitiesNodeFromJSON=void 0;var i=n(296),r=n(2322),o=n(1204);function a(e,t){return null==e?e:{communityId:i.exists(e,"communityId")?e.communityId:void 0,communityName:i.exists(e,"communityName")?e.communityName:void 0,companyName:i.exists(e,"companyName")?e.companyName:void 0,trackingEmailUsername:i.exists(e,"trackingEmailUsername")?e.trackingEmailUsername:void 0,inPersonToursEnabled:i.exists(e,"inPersonToursEnabled")?e.inPersonToursEnabled:void 0,liveVideoToursEnabled:i.exists(e,"liveVideoToursEnabled")?e.liveVideoToursEnabled:void 0,selfGuidedToursEnabled:i.exists(e,"selfGuidedToursEnabled")?e.selfGuidedToursEnabled:void 0,address:i.exists(e,"address")?r.AddressFromJSON(e.address):void 0,geolocation:i.exists(e,"geolocation")?o.GeolocationFromJSON(e.geolocation):void 0}}t.CommunitiesNodeFromJSON=function(e){return a(e)},t.CommunitiesNodeFromJSONTyped=a,t.CommunitiesNodeToJSON=function(e){if(void 0!==e)return null===e?null:{communityId:e.communityId,communityName:e.communityName,companyName:e.companyName,trackingEmailUsername:e.trackingEmailUsername,inPersonToursEnabled:e.inPersonToursEnabled,liveVideoToursEnabled:e.liveVideoToursEnabled,selfGuidedToursEnabled:e.selfGuidedToursEnabled,address:r.AddressToJSON(e.address),geolocation:o.GeolocationToJSON(e.geolocation)}}},3077:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CommunityFormViewToJSON=t.CommunityFormViewFromJSONTyped=t.CommunityFormViewFromJSON=t.CommunityFormViewVirtualTourTypeEnum=t.CommunityFormViewTourNotificationEmailsModeEnum=void 0;var i,r,o=n(296),a=n(3617);function s(e,t){return null==e?e:{id:o.exists(e,"id")?e.id:void 0,managementCompanyId:o.exists(e,"managementCompanyId")?e.managementCompanyId:void 0,organizationId:o.exists(e,"organizationId")?e.organizationId:void 0,active:o.exists(e,"active")?e.active:void 0,handoffForwardToEmails:o.exists(e,"handoffForwardToEmails")?e.handoffForwardToEmails:void 0,responseCcEmails:o.exists(e,"responseCcEmails")?e.responseCcEmails:void 0,responseBccEmails:o.exists(e,"responseBccEmails")?e.responseBccEmails:void 0,buildingName:o.exists(e,"buildingName")?e.buildingName:void 0,address1:o.exists(e,"address1")?e.address1:void 0,address2:o.exists(e,"address2")?e.address2:void 0,address3:o.exists(e,"address3")?e.address3:void 0,city:o.exists(e,"city")?e.city:void 0,state:o.exists(e,"state")?e.state:void 0,postalCode:o.exists(e,"postalCode")?e.postalCode:void 0,crossStreets:o.exists(e,"crossStreets")?e.crossStreets:void 0,neighborhood:o.exists(e,"neighborhood")?e.neighborhood:void 0,nearbyTransportation:o.exists(e,"nearbyTransportation")?e.nearbyTransportation:void 0,totalUnits:o.exists(e,"totalUnits")?e.totalUnits:void 0,totalFloors:o.exists(e,"totalFloors")?e.totalFloors:void 0,greenBuilding:o.exists(e,"greenBuilding")?e.greenBuilding:void 0,elevator:o.exists(e,"elevator")?e.elevator:void 0,freightElevator:o.exists(e,"freightElevator")?e.freightElevator:void 0,petPolicy:o.exists(e,"petPolicy")?e.petPolicy:void 0,petFeeOrDeposit:o.exists(e,"petFeeOrDeposit")?e.petFeeOrDeposit:void 0,utilitiesIncluded:o.exists(e,"utilitiesIncluded")?e.utilitiesIncluded:void 0,utilitiesNotIncluded:o.exists(e,"utilitiesNotIncluded")?e.utilitiesNotIncluded:void 0,minLeaseTermAccepted:o.exists(e,"minLeaseTermAccepted")?e.minLeaseTermAccepted:void 0,furnishedOffered:o.exists(e,"furnishedOffered")?e.furnishedOffered:void 0,furnishedUnitsPolicy:o.exists(e,"furnishedUnitsPolicy")?e.furnishedUnitsPolicy:void 0,internationalStudentRequirements:o.exists(e,"internationalStudentRequirements")?e.internationalStudentRequirements:void 0,amenitiesFee:o.exists(e,"amenitiesFee")?e.amenitiesFee:void 0,corporateLeasesAccepted:o.exists(e,"corporateLeasesAccepted")?e.corporateLeasesAccepted:void 0,doorman:o.exists(e,"doorman")?e.doorman:void 0,intercom:o.exists(e,"intercom")?e.intercom:void 0,liveInSuper:o.exists(e,"liveInSuper")?e.liveInSuper:void 0,concierge:o.exists(e,"concierge")?e.concierge:void 0,laundryInBuilding:o.exists(e,"laundryInBuilding")?e.laundryInBuilding:void 0,packageReceiving:o.exists(e,"packageReceiving")?e.packageReceiving:void 0,gym:o.exists(e,"gym")?e.gym:void 0,storage:o.exists(e,"storage")?e.storage:void 0,bicycleRoom:o.exists(e,"bicycleRoom")?e.bicycleRoom:void 0,lounge:o.exists(e,"lounge")?e.lounge:void 0,clubHouse:o.exists(e,"clubHouse")?e.clubHouse:void 0,businessCenter:o.exists(e,"businessCenter")?e.businessCenter:void 0,outdoorSpace:o.exists(e,"outdoorSpace")?e.outdoorSpace:void 0,roofDeck:o.exists(e,"roofDeck")?e.roofDeck:void 0,courtyard:o.exists(e,"courtyard")?e.courtyard:void 0,childrenPlayroom:o.exists(e,"childrenPlayroom")?e.childrenPlayroom:void 0,nursery:o.exists(e,"nursery")?e.nursery:void 0,maidService:o.exists(e,"maidService")?e.maidService:void 0,pool:o.exists(e,"pool")?e.pool:void 0,wheelchairAccess:o.exists(e,"wheelchairAccess")?e.wheelchairAccess:void 0,thirdPartyGuarantorTypesAccepted:o.exists(e,"thirdPartyGuarantorTypesAccepted")?e.thirdPartyGuarantorTypesAccepted:void 0,noCreditQualificationAlternative:o.exists(e,"noCreditQualificationAlternative")?e.noCreditQualificationAlternative:void 0,virtualTourPlatforms:o.exists(e,"virtualTourPlatforms")?e.virtualTourPlatforms:void 0,flexWallPolicy:o.exists(e,"flexWallPolicy")?e.flexWallPolicy:void 0,leaseholderApplicationFee:o.exists(e,"leaseholderApplicationFee")?e.leaseholderApplicationFee:void 0,guarantorApplicationFee:o.exists(e,"guarantorApplicationFee")?e.guarantorApplicationFee:void 0,tenantIncomeRequirementRentMultiplier:o.exists(e,"tenantIncomeRequirementRentMultiplier")?e.tenantIncomeRequirementRentMultiplier:void 0,guarantorIncomeRequirementRentMultiplier:o.exists(e,"guarantorIncomeRequirementRentMultiplier")?e.guarantorIncomeRequirementRentMultiplier:void 0,leaseholderMinimumCreditScoreRequirement:o.exists(e,"leaseholderMinimumCreditScoreRequirement")?e.leaseholderMinimumCreditScoreRequirement:void 0,guarantorMinimumCreditScoreRequirement:o.exists(e,"guarantorMinimumCreditScoreRequirement")?e.guarantorMinimumCreditScoreRequirement:void 0,leaseholderApplicationDocumentsRequired:o.exists(e,"leaseholderApplicationDocumentsRequired")?e.leaseholderApplicationDocumentsRequired:void 0,guarantorsAccepted:o.exists(e,"guarantorsAccepted")?e.guarantorsAccepted:void 0,prepaymentPolicy:o.exists(e,"prepaymentPolicy")?e.prepaymentPolicy:void 0,rentRequiredOnLeaseSigning:o.exists(e,"rentRequiredOnLeaseSigning")?e.rentRequiredOnLeaseSigning:void 0,paymentFormsAccepted:o.exists(e,"paymentFormsAccepted")?e.paymentFormsAccepted:void 0,leasingBrochureUrl:o.exists(e,"leasingBrochureUrl")?e.leasingBrochureUrl:void 0,leasingOfficeHours:o.exists(e,"leasingOfficeHours")?e.leasingOfficeHours:void 0,appointmentHours:o.exists(e,"appointmentHours")?e.appointmentHours.map(a.AppointmentHoursFromJSON):void 0,occupiedUnitsShowingHours:o.exists(e,"occupiedUnitsShowingHours")?e.occupiedUnitsShowingHours:void 0,tourDuration:o.exists(e,"tourDuration")?e.tourDuration:void 0,leasingPhoneNumber:o.exists(e,"leasingPhoneNumber")?e.leasingPhoneNumber:void 0,callCenterNumber:o.exists(e,"callCenterNumber")?e.callCenterNumber:void 0,buildingWebsiteUrl:o.exists(e,"buildingWebsiteUrl")?e.buildingWebsiteUrl:void 0,applicationLink:o.exists(e,"applicationLink")?e.applicationLink:void 0,geoAddress:o.exists(e,"geoAddress")?e.geoAddress:void 0,googleMapsUrl:o.exists(e,"googleMapsUrl")?e.googleMapsUrl:void 0,appointmentMeetingLocation:o.exists(e,"appointmentMeetingLocation")?e.appointmentMeetingLocation:void 0,appointmentDirections:o.exists(e,"appointmentDirections")?e.appointmentDirections:void 0,appointmentAdditionalDirections:o.exists(e,"appointmentAdditionalDirections")?e.appointmentAdditionalDirections:void 0,rentComputeType:o.exists(e,"rentComputeType")?e.rentComputeType:void 0,autosendActive:o.exists(e,"autosendActive")?e.autosendActive:void 0,advancedMoveInAllowenceInDays:o.exists(e,"advancedMoveInAllowenceInDays")?e.advancedMoveInAllowenceInDays:void 0,showByOpenHouseOnly:o.exists(e,"showByOpenHouseOnly")?e.showByOpenHouseOnly:void 0,showUnitsWithPendingApplication:o.exists(e,"showUnitsWithPendingApplication")?e.showUnitsWithPendingApplication:void 0,showOccupiedUnitsWithPendingApplication:o.exists(e,"showOccupiedUnitsWithPendingApplication")?e.showOccupiedUnitsWithPendingApplication:void 0,confirmAppointmentsOccupiedUnits:o.exists(e,"confirmAppointmentsOccupiedUnits")?e.confirmAppointmentsOccupiedUnits:void 0,confirmAppointmentsRenovatingUnits:o.exists(e,"confirmAppointmentsRenovatingUnits")?e.confirmAppointmentsRenovatingUnits:void 0,occupiedUnitsAdvancedNoticeInHours:o.exists(e,"occupiedUnitsAdvancedNoticeInHours")?e.occupiedUnitsAdvancedNoticeInHours:void 0,alternativeBuildingNames:o.exists(e,"alternativeBuildingNames")?e.alternativeBuildingNames:void 0,externalIds:o.exists(e,"externalIds")?e.externalIds:void 0,externalCrmId:o.exists(e,"externalCrmId")?e.externalCrmId:void 0,defaultAvailabilityQuoteMatchMoveInDate:o.exists(e,"defaultAvailabilityQuoteMatchMoveInDate")?e.defaultAvailabilityQuoteMatchMoveInDate:void 0,leaseRenewalNoticeInDays:o.exists(e,"leaseRenewalNoticeInDays")?e.leaseRenewalNoticeInDays:void 0,rentQuoteFormat:o.exists(e,"rentQuoteFormat")?e.rentQuoteFormat:void 0,rentWithIncentivesQuoteFormat:o.exists(e,"rentWithIncentivesQuoteFormat")?e.rentWithIncentivesQuoteFormat:void 0,effectiveRentComputeType:o.exists(e,"effectiveRentComputeType")?e.effectiveRentComputeType:void 0,maxLeaseTermAccepted:o.exists(e,"maxLeaseTermAccepted")?e.maxLeaseTermAccepted:void 0,parkingInformation:o.exists(e,"parkingInformation")?e.parkingInformation:void 0,storageFee:o.exists(e,"storageFee")?e.storageFee:void 0,incentivesProperlyConnected:o.exists(e,"incentivesProperlyConnected")?e.incentivesProperlyConnected:void 0,prioritizeShowingVacantUnits:o.exists(e,"prioritizeShowingVacantUnits")?e.prioritizeShowingVacantUnits:void 0,electricCompany:o.exists(e,"electricCompany")?e.electricCompany:void 0,gasCompany:o.exists(e,"gasCompany")?e.gasCompany:void 0,telephoneCompany:o.exists(e,"telephoneCompany")?e.telephoneCompany:void 0,televisionCompany:o.exists(e,"televisionCompany")?e.televisionCompany:void 0,waterCompany:o.exists(e,"waterCompany")?e.waterCompany:void 0,internetCompany:o.exists(e,"internetCompany")?e.internetCompany:void 0,localHospital:o.exists(e,"localHospital")?e.localHospital:void 0,localSchoolDistrict:o.exists(e,"localSchoolDistrict")?e.localSchoolDistrict:void 0,localElementarySchool:o.exists(e,"localElementarySchool")?e.localElementarySchool:void 0,localMiddleSchool:o.exists(e,"localMiddleSchool")?e.localMiddleSchool:void 0,localHighSchool:o.exists(e,"localHighSchool")?e.localHighSchool:void 0,localShoppingCenter:o.exists(e,"localShoppingCenter")?e.localShoppingCenter:void 0,localGroceryStore:o.exists(e,"localGroceryStore")?e.localGroceryStore:void 0,closestInterstates:o.exists(e,"closestInterstates")?e.closestInterstates:void 0,buildingPicturesUrl:o.exists(e,"buildingPicturesUrl")?e.buildingPicturesUrl:void 0,buildingFloorPlansUrl:o.exists(e,"buildingFloorPlansUrl")?e.buildingFloorPlansUrl:void 0,nonexistentLayouts:o.exists(e,"nonexistentLayouts")?e.nonexistentLayouts:void 0,avoidQuotingPrices:o.exists(e,"avoidQuotingPrices")?e.avoidQuotingPrices:void 0,excludeNotRentReadyUnit:o.exists(e,"excludeNotRentReadyUnit")?e.excludeNotRentReadyUnit:void 0,flexWallsAllowed:o.exists(e,"flexWallsAllowed")?e.flexWallsAllowed:void 0,petsAccepted:o.exists(e,"petsAccepted")?e.petsAccepted:void 0,showOccupiedUnits:o.exists(e,"showOccupiedUnits")?e.showOccupiedUnits:void 0,guarantorsAcceptedSwitch:o.exists(e,"guarantorsAcceptedSwitch")?e.guarantorsAcceptedSwitch:void 0,thirdPartyGuarantorsAccepted:o.exists(e,"thirdPartyGuarantorsAccepted")?e.thirdPartyGuarantorsAccepted:void 0,leasingOfficeOnsite:o.exists(e,"leasingOfficeOnsite")?e.leasingOfficeOnsite:void 0,building3dMediaUrl:o.exists(e,"building3dMediaUrl")?e.building3dMediaUrl:void 0,inPersonToursAllowed:o.exists(e,"inPersonToursAllowed")?e.inPersonToursAllowed:void 0,selfGuidedToursEnabled:o.exists(e,"selfGuidedToursEnabled")?e.selfGuidedToursEnabled:void 0,noUnitSelfGuidedTourAllowed:o.exists(e,"noUnitSelfGuidedTourAllowed")?e.noUnitSelfGuidedTourAllowed:void 0,textForwardToEmails:o.exists(e,"textForwardToEmails")?e.textForwardToEmails:void 0,omitDesiredFloorPlan:o.exists(e,"omitDesiredFloorPlan")?e.omitDesiredFloorPlan:void 0,tourNotificationEmailsMode:o.exists(e,"tourNotificationEmailsMode")?e.tourNotificationEmailsMode:void 0,virtualTourType:o.exists(e,"virtualTourType")?e.virtualTourType:void 0,offeredLayouts:o.exists(e,"offeredLayouts")?e.offeredLayouts:void 0,weeklyReportEmails:o.exists(e,"weeklyReportEmails")?e.weeklyReportEmails:void 0,dailyReportEmails:o.exists(e,"dailyReportEmails")?e.dailyReportEmails:void 0,sgtUrl:o.exists(e,"sgtUrl")?e.sgtUrl:void 0,preRecordedVirtualTourUrl:o.exists(e,"preRecordedVirtualTourUrl")?e.preRecordedVirtualTourUrl:void 0,liveVirtualToursLink:o.exists(e,"liveVirtualToursLink")?e.liveVirtualToursLink:void 0,selfGuidedToursLink:o.exists(e,"selfGuidedToursLink")?e.selfGuidedToursLink:void 0}}(r=t.CommunityFormViewTourNotificationEmailsModeEnum||(t.CommunityFormViewTourNotificationEmailsModeEnum={})).NoNotification="NO_NOTIFICATION",r.AllViewings="ALL_VIEWINGS",r.SameDayViewings="SAME_DAY_VIEWINGS",(i=t.CommunityFormViewVirtualTourTypeEnum||(t.CommunityFormViewVirtualTourTypeEnum={})).NotEnabled="NOT_ENABLED",i.SelfManaged="SELF_MANAGED",i.Whereby="WHEREBY",t.CommunityFormViewFromJSON=function(e){return s(e)},t.CommunityFormViewFromJSONTyped=s,t.CommunityFormViewToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,managementCompanyId:e.managementCompanyId,organizationId:e.organizationId,active:e.active,handoffForwardToEmails:e.handoffForwardToEmails,responseCcEmails:e.responseCcEmails,responseBccEmails:e.responseBccEmails,buildingName:e.buildingName,address1:e.address1,address2:e.address2,address3:e.address3,city:e.city,state:e.state,postalCode:e.postalCode,crossStreets:e.crossStreets,neighborhood:e.neighborhood,nearbyTransportation:e.nearbyTransportation,totalUnits:e.totalUnits,totalFloors:e.totalFloors,greenBuilding:e.greenBuilding,elevator:e.elevator,freightElevator:e.freightElevator,petPolicy:e.petPolicy,petFeeOrDeposit:e.petFeeOrDeposit,utilitiesIncluded:e.utilitiesIncluded,utilitiesNotIncluded:e.utilitiesNotIncluded,minLeaseTermAccepted:e.minLeaseTermAccepted,furnishedOffered:e.furnishedOffered,furnishedUnitsPolicy:e.furnishedUnitsPolicy,internationalStudentRequirements:e.internationalStudentRequirements,amenitiesFee:e.amenitiesFee,corporateLeasesAccepted:e.corporateLeasesAccepted,doorman:e.doorman,intercom:e.intercom,liveInSuper:e.liveInSuper,concierge:e.concierge,laundryInBuilding:e.laundryInBuilding,packageReceiving:e.packageReceiving,gym:e.gym,storage:e.storage,bicycleRoom:e.bicycleRoom,lounge:e.lounge,clubHouse:e.clubHouse,businessCenter:e.businessCenter,outdoorSpace:e.outdoorSpace,roofDeck:e.roofDeck,courtyard:e.courtyard,childrenPlayroom:e.childrenPlayroom,nursery:e.nursery,maidService:e.maidService,pool:e.pool,wheelchairAccess:e.wheelchairAccess,thirdPartyGuarantorTypesAccepted:e.thirdPartyGuarantorTypesAccepted,noCreditQualificationAlternative:e.noCreditQualificationAlternative,virtualTourPlatforms:e.virtualTourPlatforms,flexWallPolicy:e.flexWallPolicy,leaseholderApplicationFee:e.leaseholderApplicationFee,guarantorApplicationFee:e.guarantorApplicationFee,tenantIncomeRequirementRentMultiplier:e.tenantIncomeRequirementRentMultiplier,guarantorIncomeRequirementRentMultiplier:e.guarantorIncomeRequirementRentMultiplier,leaseholderMinimumCreditScoreRequirement:e.leaseholderMinimumCreditScoreRequirement,guarantorMinimumCreditScoreRequirement:e.guarantorMinimumCreditScoreRequirement,leaseholderApplicationDocumentsRequired:e.leaseholderApplicationDocumentsRequired,guarantorsAccepted:e.guarantorsAccepted,prepaymentPolicy:e.prepaymentPolicy,rentRequiredOnLeaseSigning:e.rentRequiredOnLeaseSigning,paymentFormsAccepted:e.paymentFormsAccepted,leasingBrochureUrl:e.leasingBrochureUrl,leasingOfficeHours:e.leasingOfficeHours,appointmentHours:void 0===e.appointmentHours?void 0:e.appointmentHours.map(a.AppointmentHoursToJSON),occupiedUnitsShowingHours:e.occupiedUnitsShowingHours,tourDuration:e.tourDuration,leasingPhoneNumber:e.leasingPhoneNumber,callCenterNumber:e.callCenterNumber,buildingWebsiteUrl:e.buildingWebsiteUrl,applicationLink:e.applicationLink,geoAddress:e.geoAddress,googleMapsUrl:e.googleMapsUrl,appointmentMeetingLocation:e.appointmentMeetingLocation,appointmentDirections:e.appointmentDirections,appointmentAdditionalDirections:e.appointmentAdditionalDirections,rentComputeType:e.rentComputeType,autosendActive:e.autosendActive,advancedMoveInAllowenceInDays:e.advancedMoveInAllowenceInDays,showByOpenHouseOnly:e.showByOpenHouseOnly,showUnitsWithPendingApplication:e.showUnitsWithPendingApplication,showOccupiedUnitsWithPendingApplication:e.showOccupiedUnitsWithPendingApplication,confirmAppointmentsOccupiedUnits:e.confirmAppointmentsOccupiedUnits,confirmAppointmentsRenovatingUnits:e.confirmAppointmentsRenovatingUnits,occupiedUnitsAdvancedNoticeInHours:e.occupiedUnitsAdvancedNoticeInHours,alternativeBuildingNames:e.alternativeBuildingNames,externalIds:e.externalIds,externalCrmId:e.externalCrmId,defaultAvailabilityQuoteMatchMoveInDate:e.defaultAvailabilityQuoteMatchMoveInDate,leaseRenewalNoticeInDays:e.leaseRenewalNoticeInDays,rentQuoteFormat:e.rentQuoteFormat,rentWithIncentivesQuoteFormat:e.rentWithIncentivesQuoteFormat,effectiveRentComputeType:e.effectiveRentComputeType,maxLeaseTermAccepted:e.maxLeaseTermAccepted,parkingInformation:e.parkingInformation,storageFee:e.storageFee,incentivesProperlyConnected:e.incentivesProperlyConnected,prioritizeShowingVacantUnits:e.prioritizeShowingVacantUnits,electricCompany:e.electricCompany,gasCompany:e.gasCompany,telephoneCompany:e.telephoneCompany,televisionCompany:e.televisionCompany,waterCompany:e.waterCompany,internetCompany:e.internetCompany,localHospital:e.localHospital,localSchoolDistrict:e.localSchoolDistrict,localElementarySchool:e.localElementarySchool,localMiddleSchool:e.localMiddleSchool,localHighSchool:e.localHighSchool,localShoppingCenter:e.localShoppingCenter,localGroceryStore:e.localGroceryStore,closestInterstates:e.closestInterstates,buildingPicturesUrl:e.buildingPicturesUrl,buildingFloorPlansUrl:e.buildingFloorPlansUrl,nonexistentLayouts:e.nonexistentLayouts,avoidQuotingPrices:e.avoidQuotingPrices,excludeNotRentReadyUnit:e.excludeNotRentReadyUnit,flexWallsAllowed:e.flexWallsAllowed,petsAccepted:e.petsAccepted,showOccupiedUnits:e.showOccupiedUnits,guarantorsAcceptedSwitch:e.guarantorsAcceptedSwitch,thirdPartyGuarantorsAccepted:e.thirdPartyGuarantorsAccepted,leasingOfficeOnsite:e.leasingOfficeOnsite,building3dMediaUrl:e.building3dMediaUrl,inPersonToursAllowed:e.inPersonToursAllowed,selfGuidedToursEnabled:e.selfGuidedToursEnabled,noUnitSelfGuidedTourAllowed:e.noUnitSelfGuidedTourAllowed,textForwardToEmails:e.textForwardToEmails,omitDesiredFloorPlan:e.omitDesiredFloorPlan,tourNotificationEmailsMode:e.tourNotificationEmailsMode,virtualTourType:e.virtualTourType,offeredLayouts:e.offeredLayouts,weeklyReportEmails:e.weeklyReportEmails,dailyReportEmails:e.dailyReportEmails,sgtUrl:e.sgtUrl,preRecordedVirtualTourUrl:e.preRecordedVirtualTourUrl,liveVirtualToursLink:e.liveVirtualToursLink,selfGuidedToursLink:e.selfGuidedToursLink}}},2817:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CommunityPageBuildingToJSON=t.CommunityPageBuildingFromJSONTyped=t.CommunityPageBuildingFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{buildingName:i.exists(e,"buildingName")?e.buildingName:void 0,launchDate:i.exists(e,"launchDate")?new Date(e.launchDate):void 0,organizationId:i.exists(e,"organizationId")?e.organizationId:void 0,organizationName:i.exists(e,"organizationName")?e.organizationName:void 0,assistantId:i.exists(e,"assistantId")?e.assistantId:void 0,assistantEmail:i.exists(e,"assistantEmail")?e.assistantEmail:void 0,externalIds:i.exists(e,"externalIds")?e.externalIds:void 0,externalCrmId:i.exists(e,"externalCrmId")?e.externalCrmId:void 0,id:i.exists(e,"id")?e.id:void 0,totalUnits:i.exists(e,"totalUnits")?e.totalUnits:void 0,address1:i.exists(e,"address1")?e.address1:void 0,city:i.exists(e,"city")?e.city:void 0,state:i.exists(e,"state")?e.state:void 0,postalCode:i.exists(e,"postalCode")?e.postalCode:void 0,active:i.exists(e,"active")?e.active:void 0,calendarId:i.exists(e,"calendarId")?e.calendarId:void 0}}t.CommunityPageBuildingFromJSON=function(e){return r(e)},t.CommunityPageBuildingFromJSONTyped=r,t.CommunityPageBuildingToJSON=function(e){if(void 0!==e)return null===e?null:{buildingName:e.buildingName,launchDate:void 0===e.launchDate?void 0:e.launchDate.toISOString(),organizationId:e.organizationId,organizationName:e.organizationName,assistantId:e.assistantId,assistantEmail:e.assistantEmail,externalIds:e.externalIds,externalCrmId:e.externalCrmId,id:e.id,totalUnits:e.totalUnits,address1:e.address1,city:e.city,state:e.state,postalCode:e.postalCode,active:e.active,calendarId:e.calendarId}}},9407:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ContextDtoToJSON=t.ContextDtoFromJSONTyped=t.ContextDtoFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{id:i.exists(e,"id")?e.id:void 0,leadId:i.exists(e,"leadId")?e.leadId:void 0,partyId:i.exists(e,"partyId")?e.partyId:void 0}}t.ContextDtoFromJSON=function(e){return r(e)},t.ContextDtoFromJSONTyped=r,t.ContextDtoToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,leadId:e.leadId,partyId:e.partyId}}},7058:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ConversationToJSON=t.ConversationFromJSONTyped=t.ConversationFromJSON=void 0;var i=n(296),r=n(3531);function o(e,t){return null==e?e:{leadContact:i.exists(e,"leadContact")?e.leadContact:void 0,conversations:i.exists(e,"conversations")?e.conversations.map(r.ConversationMessageFromJSON):void 0}}t.ConversationFromJSON=function(e){return o(e)},t.ConversationFromJSONTyped=o,t.ConversationToJSON=function(e){if(void 0!==e)return null===e?null:{leadContact:e.leadContact,conversations:void 0===e.conversations?void 0:e.conversations.map(r.ConversationMessageToJSON)}}},3531:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ConversationMessageToJSON=t.ConversationMessageFromJSONTyped=t.ConversationMessageFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{sender:i.exists(e,"sender")?e.sender:void 0,body:i.exists(e,"body")?e.body:void 0,timeSent:i.exists(e,"timeSent")?e.timeSent:void 0}}t.ConversationMessageFromJSON=function(e){return r(e)},t.ConversationMessageFromJSONTyped=r,t.ConversationMessageToJSON=function(e){if(void 0!==e)return null===e?null:{sender:e.sender,body:e.body,timeSent:e.timeSent}}},6613:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ConversationMessageV2ToJSON=t.ConversationMessageV2FromJSONTyped=t.ConversationMessageV2FromJSON=t.ConversationMessageV2TypeEnum=void 0;var i,r=n(296);function o(e,t){return null==e?e:{type:r.exists(e,"type")?e.type:void 0,id:r.exists(e,"id")?e.id:void 0,timeSent:r.exists(e,"timeSent")?new Date(e.timeSent):void 0,body:r.exists(e,"body")?e.body:void 0,sender:r.exists(e,"sender")?e.sender:void 0,subject:r.exists(e,"subject")?e.subject:void 0,threadId:r.exists(e,"threadId")?e.threadId:void 0}}(i=t.ConversationMessageV2TypeEnum||(t.ConversationMessageV2TypeEnum={})).WebChat="WebChat",i.Email="Email",i.Text="Text",t.ConversationMessageV2FromJSON=function(e){return o(e)},t.ConversationMessageV2FromJSONTyped=o,t.ConversationMessageV2ToJSON=function(e){if(void 0!==e)return null===e?null:{type:e.type,id:e.id,timeSent:void 0===e.timeSent?void 0:e.timeSent.toISOString(),body:e.body,sender:e.sender,subject:e.subject,threadId:e.threadId}}},5040:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ConversationV2ToJSON=t.ConversationV2FromJSONTyped=t.ConversationV2FromJSON=void 0;var i=n(296),r=n(6613),o=n(7662);function a(e,t){return null==e?e:{lead:i.exists(e,"lead")?o.LeadInfoFromJSON(e.lead):void 0,conversations:i.exists(e,"conversations")?e.conversations.map(r.ConversationMessageV2FromJSON):void 0}}t.ConversationV2FromJSON=function(e){return a(e)},t.ConversationV2FromJSONTyped=a,t.ConversationV2ToJSON=function(e){if(void 0!==e)return null===e?null:{lead:o.LeadInfoToJSON(e.lead),conversations:void 0===e.conversations?void 0:e.conversations.map(r.ConversationMessageV2ToJSON)}}},5111:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CreateCalendarEventTourHandlerDtoToJSON=t.CreateCalendarEventTourHandlerDtoFromJSONTyped=t.CreateCalendarEventTourHandlerDtoFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{buildingId:i.exists(e,"buildingId")?e.buildingId:void 0,calendarEventId:e.calendarEventId,leasingAgentId:e.leasingAgentId}}t.CreateCalendarEventTourHandlerDtoFromJSON=function(e){return r(e)},t.CreateCalendarEventTourHandlerDtoFromJSONTyped=r,t.CreateCalendarEventTourHandlerDtoToJSON=function(e){if(void 0!==e)return null===e?null:{buildingId:e.buildingId,calendarEventId:e.calendarEventId,leasingAgentId:e.leasingAgentId}}},3202:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CreateScriptRequestToJSON=t.CreateScriptRequestFromJSONTyped=t.CreateScriptRequestFromJSON=t.CreateScriptRequestHandoffIntentStateEnum=t.CreateScriptRequestTypeEnum=t.CreateScriptRequestMediaEnum=void 0;var i,r,o,a=n(296);function s(e,t){return null==e?e:{organizationId:a.exists(e,"organizationId")?e.organizationId:void 0,media:e.media,type:e.type,category:e.category,subIntent:a.exists(e,"subIntent")?e.subIntent:void 0,text:e.text,handoffIntentState:a.exists(e,"handoffIntentState")?e.handoffIntentState:void 0,communityId:a.exists(e,"communityId")?e.communityId:void 0}}(o=t.CreateScriptRequestMediaEnum||(t.CreateScriptRequestMediaEnum={})).Both="BOTH",o.Email="EMAIL",o.Sms="SMS",(r=t.CreateScriptRequestTypeEnum||(t.CreateScriptRequestTypeEnum={})).All="ALL",r.Template="TEMPLATE",r.TemplateItem="TEMPLATE_ITEM",(i=t.CreateScriptRequestHandoffIntentStateEnum||(t.CreateScriptRequestHandoffIntentStateEnum={})).None="NONE",i.YellowStatus="YELLOW_STATUS",i.RedAlertSend="RED_ALERT_SEND",i.RedAlertDoNotSend="RED_ALERT_DO_NOT_SEND",t.CreateScriptRequestFromJSON=function(e){return s(e)},t.CreateScriptRequestFromJSONTyped=s,t.CreateScriptRequestToJSON=function(e){if(void 0!==e)return null===e?null:{organizationId:e.organizationId,media:e.media,type:e.type,category:e.category,subIntent:e.subIntent,text:e.text,handoffIntentState:e.handoffIntentState,communityId:e.communityId}}},6058:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CreateWhitelistConfigRequestToJSON=t.CreateWhitelistConfigRequestFromJSONTyped=t.CreateWhitelistConfigRequestFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{buildingId:i.exists(e,"buildingId")?e.buildingId:void 0,testName:i.exists(e,"testName")?e.testName:void 0,whitelistingEmail:i.exists(e,"whitelistingEmail")?e.whitelistingEmail:void 0}}t.CreateWhitelistConfigRequestFromJSON=function(e){return r(e)},t.CreateWhitelistConfigRequestFromJSONTyped=r,t.CreateWhitelistConfigRequestToJSON=function(e){if(void 0!==e)return null===e?null:{buildingId:e.buildingId,testName:e.testName,whitelistingEmail:e.whitelistingEmail}}},3817:(e,t)=>{function n(e,t){return null==e?e:{startOfRange:new Date(e.startOfRange),endOfRange:new Date(e.endOfRange),buildingId:e.buildingId,numAiMessagesSent:e.numAiMessagesSent,numAiSentEmailFollowup:e.numAiSentEmailFollowup,numAiSentTextFollowup:e.numAiSentTextFollowup,averageMessagesPerProspect:e.averageMessagesPerProspect,prospectToTourConversion:e.prospectToTourConversion,numTours:e.numTours,tourBookedByMENoncancelled:e.tourBookedByMENoncancelled,tourAttended:e.tourAttended,aiBookedTourAttended:e.aiBookedTourAttended,newProspectsHandled:e.newProspectsHandled,hoursSavedByAi:e.hoursSavedByAi,numEarlyAgentTakeover:e.numEarlyAgentTakeover,numPassToAgent:e.numPassToAgent,numActionRequiredFromAgent:e.numActionRequiredFromAgent,numberLeadsApplied:e.numberLeadsApplied}}Object.defineProperty(t,"__esModule",{value:!0}),t.DateRangeReportToJSON=t.DateRangeReportFromJSONTyped=t.DateRangeReportFromJSON=void 0,t.DateRangeReportFromJSON=function(e){return n(e)},t.DateRangeReportFromJSONTyped=n,t.DateRangeReportToJSON=function(e){if(void 0!==e)return null===e?null:{startOfRange:e.startOfRange.toISOString(),endOfRange:e.endOfRange.toISOString(),buildingId:e.buildingId,numAiMessagesSent:e.numAiMessagesSent,numAiSentEmailFollowup:e.numAiSentEmailFollowup,numAiSentTextFollowup:e.numAiSentTextFollowup,averageMessagesPerProspect:e.averageMessagesPerProspect,prospectToTourConversion:e.prospectToTourConversion,numTours:e.numTours,tourBookedByMENoncancelled:e.tourBookedByMENoncancelled,tourAttended:e.tourAttended,aiBookedTourAttended:e.aiBookedTourAttended,newProspectsHandled:e.newProspectsHandled,hoursSavedByAi:e.hoursSavedByAi,numEarlyAgentTakeover:e.numEarlyAgentTakeover,numPassToAgent:e.numPassToAgent,numActionRequiredFromAgent:e.numActionRequiredFromAgent,numberLeadsApplied:e.numberLeadsApplied}}},8668:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.DialogueScriptToJSON=t.DialogueScriptFromJSONTyped=t.DialogueScriptFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{id:i.exists(e,"id")?e.id:void 0,deleted:i.exists(e,"deleted")?e.deleted:void 0,buildingId:i.exists(e,"buildingId")?e.buildingId:void 0,organizationId:i.exists(e,"organizationId")?e.organizationId:void 0,name:i.exists(e,"name")?e.name:void 0,subintent:i.exists(e,"subintent")?e.subintent:void 0,text:i.exists(e,"text")?e.text:void 0}}t.DialogueScriptFromJSON=function(e){return r(e)},t.DialogueScriptFromJSONTyped=r,t.DialogueScriptToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,deleted:e.deleted,buildingId:e.buildingId,organizationId:e.organizationId,name:e.name,subintent:e.subintent,text:e.text}}},6607:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.EliseCalendarEventToJSON=t.EliseCalendarEventFromJSONTyped=t.EliseCalendarEventFromJSON=t.EliseCalendarEventTourTypeEnum=t.EliseCalendarEventSmartLockAccessTypeEnum=void 0;var i,r,o=n(296);function a(e,t){return null==e?e:{id:o.exists(e,"id")?e.id:void 0,leadId:o.exists(e,"leadId")?e.leadId:void 0,userId:o.exists(e,"userId")?e.userId:void 0,calendarId:o.exists(e,"calendarId")?e.calendarId:void 0,contextId:o.exists(e,"contextId")?e.contextId:void 0,recurringEventId:o.exists(e,"recurringEventId")?e.recurringEventId:void 0,timeCreated:o.exists(e,"timeCreated")?new Date(e.timeCreated):void 0,description:o.exists(e,"description")?e.description:void 0,status:o.exists(e,"status")?e.status:void 0,summary:o.exists(e,"summary")?e.summary:void 0,eventLocation:o.exists(e,"eventLocation")?e.eventLocation:void 0,startTime:o.exists(e,"startTime")?new Date(e.startTime):void 0,endTime:o.exists(e,"endTime")?new Date(e.endTime):void 0,startTimeString:o.exists(e,"startTimeString")?e.startTimeString:void 0,endTimeString:o.exists(e,"endTimeString")?e.endTimeString:void 0,startTimeInUtc:o.exists(e,"startTimeInUtc")?e.startTimeInUtc:void 0,endTimeInUtc:o.exists(e,"endTimeInUtc")?e.endTimeInUtc:void 0,lastTimeUpdated:o.exists(e,"lastTimeUpdated")?new Date(e.lastTimeUpdated):void 0,recurringEvent:o.exists(e,"recurringEvent")?e.recurringEvent:void 0,recurringEventLatestTimestampStoredUntil:o.exists(e,"recurringEventLatestTimestampStoredUntil")?new Date(e.recurringEventLatestTimestampStoredUntil):void 0,preserveOnReset:o.exists(e,"preserveOnReset")?e.preserveOnReset:void 0,internalEvent:o.exists(e,"internalEvent")?e.internalEvent:void 0,skipExternalBooking:o.exists(e,"skipExternalBooking")?e.skipExternalBooking:void 0,ignoreOtherEvents:o.exists(e,"ignoreOtherEvents")?e.ignoreOtherEvents:void 0,htmlLink:o.exists(e,"htmlLink")?e.htmlLink:void 0,geteTag:o.exists(e,"geteTag")?e.geteTag:void 0,getiCalUID:o.exists(e,"getiCalUID")?e.getiCalUID:void 0,eventId:o.exists(e,"eventId")?e.eventId:void 0,creatorName:o.exists(e,"creatorName")?e.creatorName:void 0,creatorEmail:o.exists(e,"creatorEmail")?e.creatorEmail:void 0,organizerName:o.exists(e,"organizerName")?e.organizerName:void 0,organizerEmail:o.exists(e,"organizerEmail")?e.organizerEmail:void 0,transparency:o.exists(e,"transparency")?e.transparency:void 0,visibility:o.exists(e,"visibility")?e.visibility:void 0,colorId:o.exists(e,"colorId")?e.colorId:void 0,availabilityStatus:o.exists(e,"availabilityStatus")?e.availabilityStatus:void 0,relevantMessageId:o.exists(e,"relevantMessageId")?e.relevantMessageId:void 0,isPredicted:o.exists(e,"isPredicted")?e.isPredicted:void 0,isArchived:o.exists(e,"isArchived")?e.isArchived:void 0,smartLockAccessType:o.exists(e,"smartLockAccessType")?e.smartLockAccessType:void 0,traineeEmail:o.exists(e,"traineeEmail")?e.traineeEmail:void 0,notes:o.exists(e,"notes")?e.notes:void 0,tourType:o.exists(e,"tourType")?e.tourType:void 0,busy:o.exists(e,"busy")?e.busy:void 0,cancelled:o.exists(e,"cancelled")?e.cancelled:void 0,_new:o.exists(e,"new")?e.new:void 0}}(r=t.EliseCalendarEventSmartLockAccessTypeEnum||(t.EliseCalendarEventSmartLockAccessTypeEnum={})).WithAgent="WITH_AGENT",r.ExternallyManaged="EXTERNALLY_MANAGED",r.SmartKeyAccessManaged="SMART_KEY_ACCESS_MANAGED",(i=t.EliseCalendarEventTourTypeEnum||(t.EliseCalendarEventTourTypeEnum={})).Unknown="UNKNOWN",i.None="NONE",i.Any="ANY",i.NotEscorted="NOT_ESCORTED",i.Escorted="ESCORTED",i.NotSelfGuided="NOT_SELF_GUIDED",i.SelfGuided="SELF_GUIDED",i.NotVirtualTour="NOT_VIRTUAL_TOUR",i.VirtualTour="VIRTUAL_TOUR",i.NotMediaTour="NOT_MEDIA_TOUR",i.MediaTour="MEDIA_TOUR",t.EliseCalendarEventFromJSON=function(e){return a(e)},t.EliseCalendarEventFromJSONTyped=a,t.EliseCalendarEventToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,leadId:e.leadId,userId:e.userId,calendarId:e.calendarId,contextId:e.contextId,recurringEventId:e.recurringEventId,timeCreated:void 0===e.timeCreated?void 0:e.timeCreated.toISOString(),description:e.description,status:e.status,summary:e.summary,eventLocation:e.eventLocation,startTime:void 0===e.startTime?void 0:e.startTime.toISOString(),endTime:void 0===e.endTime?void 0:e.endTime.toISOString(),startTimeString:e.startTimeString,endTimeString:e.endTimeString,startTimeInUtc:e.startTimeInUtc,endTimeInUtc:e.endTimeInUtc,lastTimeUpdated:void 0===e.lastTimeUpdated?void 0:e.lastTimeUpdated.toISOString(),recurringEvent:e.recurringEvent,recurringEventLatestTimestampStoredUntil:void 0===e.recurringEventLatestTimestampStoredUntil?void 0:e.recurringEventLatestTimestampStoredUntil.toISOString(),preserveOnReset:e.preserveOnReset,internalEvent:e.internalEvent,skipExternalBooking:e.skipExternalBooking,ignoreOtherEvents:e.ignoreOtherEvents,htmlLink:e.htmlLink,geteTag:e.geteTag,getiCalUID:e.getiCalUID,eventId:e.eventId,creatorName:e.creatorName,creatorEmail:e.creatorEmail,organizerName:e.organizerName,organizerEmail:e.organizerEmail,transparency:e.transparency,visibility:e.visibility,colorId:e.colorId,availabilityStatus:e.availabilityStatus,relevantMessageId:e.relevantMessageId,isPredicted:e.isPredicted,isArchived:e.isArchived,smartLockAccessType:e.smartLockAccessType,traineeEmail:e.traineeEmail,notes:e.notes,tourType:e.tourType,busy:e.busy,cancelled:e.cancelled,new:e._new}}},5007:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.EliseGuestCardDtoToJSON=t.EliseGuestCardDtoFromJSONTyped=t.EliseGuestCardDtoFromJSON=t.EliseGuestCardDtoInitialLeadChannelEnum=t.EliseGuestCardDtoIntegrationSourceEnum=void 0;var i,r,o=n(296);function a(e,t){return null==e?e:{id:o.exists(e,"id")?e.id:void 0,firstName:o.exists(e,"firstName")?e.firstName:void 0,lastName:o.exists(e,"lastName")?e.lastName:void 0,phoneNumber:o.exists(e,"phoneNumber")?e.phoneNumber:void 0,email:o.exists(e,"email")?e.email:void 0,source:o.exists(e,"source")?e.source:void 0,externalClientMarketingSource:o.exists(e,"externalClientMarketingSource")?e.externalClientMarketingSource:void 0,desiredMoveInDate:o.exists(e,"desiredMoveInDate")?e.desiredMoveInDate:void 0,comments:o.exists(e,"comments")?e.comments:void 0,integrationSource:o.exists(e,"integrationSource")?e.integrationSource:void 0,initialLeadChannel:o.exists(e,"initialLeadChannel")?e.initialLeadChannel:void 0,layout:o.exists(e,"layout")?e.layout:void 0,desiredLeaseTerm:o.exists(e,"desiredLeaseTerm")?e.desiredLeaseTerm:void 0}}(r=t.EliseGuestCardDtoIntegrationSourceEnum||(t.EliseGuestCardDtoIntegrationSourceEnum={})).MeCalendar="ME-Calendar",r.Sst="sst",r.EqrApi="eqr-api",r.Elise="Elise",r.Avb="avb",r.Yardi="yardi",r.Entrata="entrata",r.Anyonehome="anyonehome",r.Realpage="realpage",(i=t.EliseGuestCardDtoInitialLeadChannelEnum||(t.EliseGuestCardDtoInitialLeadChannelEnum={})).WalkIn="WALK_IN",i.CallToProspect="CALL_TO_PROSPECT",i.CallFromProspect="CALL_FROM_PROSPECT",i.Other="OTHER",i.Text="TEXT",i.Email="EMAIL",i.WebService="WEB_SERVICE",i.Chat="CHAT",t.EliseGuestCardDtoFromJSON=function(e){return a(e)},t.EliseGuestCardDtoFromJSONTyped=a,t.EliseGuestCardDtoToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,firstName:e.firstName,lastName:e.lastName,phoneNumber:e.phoneNumber,email:e.email,source:e.source,externalClientMarketingSource:e.externalClientMarketingSource,desiredMoveInDate:e.desiredMoveInDate,comments:e.comments,integrationSource:e.integrationSource,initialLeadChannel:e.initialLeadChannel,layout:e.layout,desiredLeaseTerm:e.desiredLeaseTerm}}},1057:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.EliseMessageIntentToJSON=t.EliseMessageIntentFromJSONTyped=t.EliseMessageIntentFromJSON=t.EliseMessageIntentMessageTypeEnum=void 0;var i,r=n(296);function o(e,t){return null==e?e:{id:r.exists(e,"id")?e.id:void 0,clientEmail:r.exists(e,"clientEmail")?e.clientEmail:void 0,leadEmail:r.exists(e,"leadEmail")?e.leadEmail:void 0,leadId:r.exists(e,"leadId")?e.leadId:void 0,hotMailId:r.exists(e,"hotMailId")?e.hotMailId:void 0,intentNameClassifiedAuto:r.exists(e,"intentNameClassifiedAuto")?e.intentNameClassifiedAuto:void 0,intentValue:r.exists(e,"intentValue")?e.intentValue:void 0,intentClassifer:r.exists(e,"intentClassifer")?e.intentClassifer:void 0,type:r.exists(e,"type")?e.type:void 0,verifiedHuman:r.exists(e,"verifiedHuman")?e.verifiedHuman:void 0,intentNameClassifiedManual:r.exists(e,"intentNameClassifiedManual")?e.intentNameClassifiedManual:void 0,intentNameSubintentClassifiedManual:r.exists(e,"intentNameSubintentClassifiedManual")?e.intentNameSubintentClassifiedManual:void 0,responseRequiringApprovalId:r.exists(e,"responseRequiringApprovalId")?e.responseRequiringApprovalId:void 0,pendingApproval:r.exists(e,"pendingApproval")?e.pendingApproval:void 0,strippedText:r.exists(e,"strippedText")?e.strippedText:void 0,isDeleted:r.exists(e,"isDeleted")?e.isDeleted:void 0,hotMailGmailMessageId:r.exists(e,"hotMailGmailMessageId")?e.hotMailGmailMessageId:void 0,processed:r.exists(e,"processed")?e.processed:void 0,getzIndex:r.exists(e,"getzIndex")?e.getzIndex:void 0,descriptiveNounForUnknownIntent:r.exists(e,"descriptiveNounForUnknownIntent")?e.descriptiveNounForUnknownIntent:void 0,aiTrainerInstructions:r.exists(e,"aiTrainerInstructions")?e.aiTrainerInstructions:void 0,messageType:r.exists(e,"messageType")?e.messageType:void 0,tag:r.exists(e,"tag")?e.tag:void 0}}(i=t.EliseMessageIntentMessageTypeEnum||(t.EliseMessageIntentMessageTypeEnum={})).EmailIntent="EMAIL_INTENT",i.TextIntent="TEXT_INTENT",t.EliseMessageIntentFromJSON=function(e){return o(e)},t.EliseMessageIntentFromJSONTyped=o,t.EliseMessageIntentToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,clientEmail:e.clientEmail,leadEmail:e.leadEmail,leadId:e.leadId,hotMailId:e.hotMailId,intentNameClassifiedAuto:e.intentNameClassifiedAuto,intentValue:e.intentValue,intentClassifer:e.intentClassifer,type:e.type,verifiedHuman:e.verifiedHuman,intentNameClassifiedManual:e.intentNameClassifiedManual,intentNameSubintentClassifiedManual:e.intentNameSubintentClassifiedManual,responseRequiringApprovalId:e.responseRequiringApprovalId,pendingApproval:e.pendingApproval,strippedText:e.strippedText,isDeleted:e.isDeleted,hotMailGmailMessageId:e.hotMailGmailMessageId,processed:e.processed,getzIndex:e.getzIndex,descriptiveNounForUnknownIntent:e.descriptiveNounForUnknownIntent,aiTrainerInstructions:e.aiTrainerInstructions,messageType:e.messageType,tag:e.tag}}},7009:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ElisePredictedResponseToJSON=t.ElisePredictedResponseFromJSONTyped=t.ElisePredictedResponseFromJSON=void 0;var i=n(296),r=n(1234),o=n(1057),a=n(6045),s=n(8385);function u(e,t){return null==e?e:{responseMessageBody:i.exists(e,"responseMessageBody")?e.responseMessageBody:void 0,responseTemplate:i.exists(e,"responseTemplate")?e.responseTemplate:void 0,intents:i.exists(e,"intents")?e.intents.map(o.EliseMessageIntentFromJSON):void 0,attachments:i.exists(e,"attachments")?e.attachments.map(r.AttachmentFromJSON):void 0,workInProgressMessageBody:i.exists(e,"workInProgressMessageBody")?e.workInProgressMessageBody:void 0,forcedIntents:i.exists(e,"forcedIntents")?e.forcedIntents.map(a.ForcedIntentFromJSON):void 0,atomicTemplateIntentMapWithSubIntent:i.exists(e,"atomicTemplateIntentMapWithSubIntent")?i.mapValues(e.atomicTemplateIntentMapWithSubIntent,s.ResponseAtomicTemplateFromJSON):void 0}}t.ElisePredictedResponseFromJSON=function(e){return u(e)},t.ElisePredictedResponseFromJSONTyped=u,t.ElisePredictedResponseToJSON=function(e){if(void 0!==e)return null===e?null:{responseMessageBody:e.responseMessageBody,responseTemplate:e.responseTemplate,intents:void 0===e.intents?void 0:e.intents.map(o.EliseMessageIntentToJSON),attachments:void 0===e.attachments?void 0:e.attachments.map(r.AttachmentToJSON),workInProgressMessageBody:e.workInProgressMessageBody,forcedIntents:void 0===e.forcedIntents?void 0:e.forcedIntents.map(a.ForcedIntentToJSON),atomicTemplateIntentMapWithSubIntent:void 0===e.atomicTemplateIntentMapWithSubIntent?void 0:i.mapValues(e.atomicTemplateIntentMapWithSubIntent,s.ResponseAtomicTemplateToJSON)}}},3694:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.EntityConfigToJSON=t.EntityConfigFromJSONTyped=t.EntityConfigFromJSON=void 0;var i=n(296),r=n(4105);function o(e,t){return null==e?e:{options:i.exists(e,"options")?r.EntityOptionsFromJSON(e.options):void 0,entityIds:i.exists(e,"entity_ids")?e.entity_ids:void 0}}t.EntityConfigFromJSON=function(e){return o(e)},t.EntityConfigFromJSONTyped=o,t.EntityConfigToJSON=function(e){if(void 0!==e)return null===e?null:{options:r.EntityOptionsToJSON(e.options),entity_ids:e.entityIds}}},4105:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.EntityOptionsToJSON=t.EntityOptionsFromJSONTyped=t.EntityOptionsFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{active:i.exists(e,"active")?e.active:void 0,test:i.exists(e,"test")?e.test:void 0}}t.EntityOptionsFromJSON=function(e){return r(e)},t.EntityOptionsFromJSONTyped=r,t.EntityOptionsToJSON=function(e){if(void 0!==e)return null===e?null:{active:e.active,test:e.test}}},9861:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.EntrataCredentialsToJSON=t.EntrataCredentialsFromJSONTyped=t.EntrataCredentialsFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{id:i.exists(e,"id")?e.id:void 0,userId:i.exists(e,"userId")?e.userId:void 0,domain:i.exists(e,"domain")?e.domain:void 0,userName:i.exists(e,"userName")?e.userName:void 0,password:i.exists(e,"password")?e.password:void 0}}t.EntrataCredentialsFromJSON=function(e){return r(e)},t.EntrataCredentialsFromJSONTyped=r,t.EntrataCredentialsToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,userId:e.userId,domain:e.domain,userName:e.userName,password:e.password}}},8442:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ExternalBuildingAgentToJSON=t.ExternalBuildingAgentFromJSONTyped=t.ExternalBuildingAgentFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{id:i.exists(e,"id")?e.id:void 0,buildingId:i.exists(e,"buildingId")?e.buildingId:void 0,externalId:i.exists(e,"externalId")?e.externalId:void 0,agentFirstName:i.exists(e,"agentFirstName")?e.agentFirstName:void 0,agentLastName:i.exists(e,"agentLastName")?e.agentLastName:void 0,isDefaultAgent:i.exists(e,"isDefaultAgent")?e.isDefaultAgent:void 0,active:i.exists(e,"active")?e.active:void 0}}t.ExternalBuildingAgentFromJSON=function(e){return r(e)},t.ExternalBuildingAgentFromJSONTyped=r,t.ExternalBuildingAgentToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,buildingId:e.buildingId,externalId:e.externalId,agentFirstName:e.agentFirstName,agentLastName:e.agentLastName,isDefaultAgent:e.isDefaultAgent,active:e.active}}},6885:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ExternalBuildingSourceToJSON=t.ExternalBuildingSourceFromJSONTyped=t.ExternalBuildingSourceFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{id:i.exists(e,"id")?e.id:void 0,buildingId:i.exists(e,"buildingId")?e.buildingId:void 0,source:i.exists(e,"source")?e.source:void 0,eliseSource:i.exists(e,"eliseSource")?e.eliseSource:void 0,isDefaultCatchall:i.exists(e,"isDefaultCatchall")?e.isDefaultCatchall:void 0}}t.ExternalBuildingSourceFromJSON=function(e){return r(e)},t.ExternalBuildingSourceFromJSONTyped=r,t.ExternalBuildingSourceToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,buildingId:e.buildingId,source:e.source,eliseSource:e.eliseSource,isDefaultCatchall:e.isDefaultCatchall}}},7934:(e,t)=>{function n(e,t){return null==e?e:{value:e.value,label:e.label}}var i;Object.defineProperty(t,"__esModule",{value:!0}),t.FirstContactOptionToJSON=t.FirstContactOptionFromJSONTyped=t.FirstContactOptionFromJSON=t.FirstContactOptionValueEnum=void 0,(i=t.FirstContactOptionValueEnum||(t.FirstContactOptionValueEnum={})).CallFromProspect="CALL_FROM_PROSPECT",i.CallToProspect="CALL_TO_PROSPECT",i.Email="EMAIL",i.WalkIn="WALK_IN",i.Text="TEXT",i.WebService="WEB_SERVICE",i.Chat="CHAT",i.Other="OTHER",t.FirstContactOptionFromJSON=function(e){return n(e)},t.FirstContactOptionFromJSONTyped=n,t.FirstContactOptionToJSON=function(e){if(void 0!==e)return null===e?null:{value:e.value,label:e.label}}},3905:(e,t)=>{function n(e,t){return null==e?e:{contextId:e.contextId,leadStatus:e.leadStatus}}Object.defineProperty(t,"__esModule",{value:!0}),t.FollowUpParamsToJSON=t.FollowUpParamsFromJSONTyped=t.FollowUpParamsFromJSON=void 0,t.FollowUpParamsFromJSON=function(e){return n(e)},t.FollowUpParamsFromJSONTyped=n,t.FollowUpParamsToJSON=function(e){if(void 0!==e)return null===e?null:{contextId:e.contextId,leadStatus:e.leadStatus}}},3958:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.FollowUpSettingsToJSON=t.FollowUpSettingsFromJSONTyped=t.FollowUpSettingsFromJSON=void 0;var i=n(296),r=n(4401),o=n(3832),a=n(1431),s=n(908),u=n(3231);function l(e,t){return null==e?e:{longTermPostTourFollowUpSettings:i.exists(e,"longTermPostTourFollowUpSettings")?e.longTermPostTourFollowUpSettings.map(o.LongTermPostTourFollowUpSettingFromJSON):void 0,longTermFollowUpSettings:i.exists(e,"longTermFollowUpSettings")?e.longTermFollowUpSettings.map(r.LongTermFollowUpSettingFromJSON):void 0,postTourFollowUpSettings:i.exists(e,"postTourFollowUpSettings")?e.postTourFollowUpSettings.map(s.PostTourFollowUpSettingFromJSON):void 0,preTourFollowUpSettings:i.exists(e,"preTourFollowUpSettings")?e.preTourFollowUpSettings.map(u.PreTourFollowUpSettingFromJSON):void 0,noShowFollowUpSettings:i.exists(e,"noShowFollowUpSettings")?e.noShowFollowUpSettings.map(a.NoShowFollowUpSettingFromJSON):void 0}}t.FollowUpSettingsFromJSON=function(e){return l(e)},t.FollowUpSettingsFromJSONTyped=l,t.FollowUpSettingsToJSON=function(e){if(void 0!==e)return null===e?null:{longTermPostTourFollowUpSettings:void 0===e.longTermPostTourFollowUpSettings?void 0:e.longTermPostTourFollowUpSettings.map(o.LongTermPostTourFollowUpSettingToJSON),longTermFollowUpSettings:void 0===e.longTermFollowUpSettings?void 0:e.longTermFollowUpSettings.map(r.LongTermFollowUpSettingToJSON),postTourFollowUpSettings:void 0===e.postTourFollowUpSettings?void 0:e.postTourFollowUpSettings.map(s.PostTourFollowUpSettingToJSON),preTourFollowUpSettings:void 0===e.preTourFollowUpSettings?void 0:e.preTourFollowUpSettings.map(u.PreTourFollowUpSettingToJSON),noShowFollowUpSettings:void 0===e.noShowFollowUpSettings?void 0:e.noShowFollowUpSettings.map(a.NoShowFollowUpSettingToJSON)}}},6045:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ForcedIntentToJSON=t.ForcedIntentFromJSONTyped=t.ForcedIntentFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{id:i.exists(e,"id")?e.id:void 0,gmailMessageId:i.exists(e,"gmailMessageId")?e.gmailMessageId:void 0,intentName:i.exists(e,"intentName")?e.intentName:void 0,timeCreated:i.exists(e,"timeCreated")?new Date(e.timeCreated):void 0}}t.ForcedIntentFromJSON=function(e){return r(e)},t.ForcedIntentFromJSONTyped=r,t.ForcedIntentToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,gmailMessageId:e.gmailMessageId,intentName:e.intentName,timeCreated:void 0===e.timeCreated?void 0:e.timeCreated.toISOString()}}},6465:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.GenerateAndSendExcelReportsOverrideSettingsToJSON=t.GenerateAndSendExcelReportsOverrideSettingsFromJSONTyped=t.GenerateAndSendExcelReportsOverrideSettingsFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{reportIds:i.exists(e,"reportIds")?e.reportIds:void 0,recipients:i.exists(e,"recipients")?e.recipients:void 0,dontSend:i.exists(e,"dontSend")?e.dontSend:void 0}}t.GenerateAndSendExcelReportsOverrideSettingsFromJSON=function(e){return r(e)},t.GenerateAndSendExcelReportsOverrideSettingsFromJSONTyped=r,t.GenerateAndSendExcelReportsOverrideSettingsToJSON=function(e){if(void 0!==e)return null===e?null:{reportIds:e.reportIds,recipients:e.recipients,dontSend:e.dontSend}}},1204:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.GeolocationToJSON=t.GeolocationFromJSONTyped=t.GeolocationFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{latitude:i.exists(e,"latitude")?e.latitude:void 0,longitude:i.exists(e,"longitude")?e.longitude:void 0}}t.GeolocationFromJSON=function(e){return r(e)},t.GeolocationFromJSONTyped=r,t.GeolocationToJSON=function(e){if(void 0!==e)return null===e?null:{latitude:e.latitude,longitude:e.longitude}}},7895:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.GetMEHomeDashboardInfoDtoToJSON=t.GetMEHomeDashboardInfoDtoFromJSONTyped=t.GetMEHomeDashboardInfoDtoFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{buildingId:i.exists(e,"buildingId")?e.buildingId:void 0,startOfReportRange:i.exists(e,"startOfReportRange")?e.startOfReportRange:void 0,endOfReportRange:i.exists(e,"endOfReportRange")?e.endOfReportRange:void 0,startOfCalendarEventRange:i.exists(e,"startOfCalendarEventRange")?e.startOfCalendarEventRange:void 0,endOfCalendarEventRange:i.exists(e,"endOfCalendarEventRange")?e.endOfCalendarEventRange:void 0}}t.GetMEHomeDashboardInfoDtoFromJSON=function(e){return r(e)},t.GetMEHomeDashboardInfoDtoFromJSONTyped=r,t.GetMEHomeDashboardInfoDtoToJSON=function(e){if(void 0!==e)return null===e?null:{buildingId:e.buildingId,startOfReportRange:e.startOfReportRange,endOfReportRange:e.endOfReportRange,startOfCalendarEventRange:e.startOfCalendarEventRange,endOfCalendarEventRange:e.endOfCalendarEventRange}}},4326:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.GetOrCreateContextDtoToJSON=t.GetOrCreateContextDtoFromJSONTyped=t.GetOrCreateContextDtoFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{userId:i.exists(e,"userId")?e.userId:void 0,buildingId:i.exists(e,"buildingId")?e.buildingId:void 0}}t.GetOrCreateContextDtoFromJSON=function(e){return r(e)},t.GetOrCreateContextDtoFromJSONTyped=r,t.GetOrCreateContextDtoToJSON=function(e){if(void 0!==e)return null===e?null:{userId:e.userId,buildingId:e.buildingId}}},2610:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.GetReportsForBuildingAndDateRangeDtoToJSON=t.GetReportsForBuildingAndDateRangeDtoFromJSONTyped=t.GetReportsForBuildingAndDateRangeDtoFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{buildingId:i.exists(e,"buildingId")?e.buildingId:void 0,startTime:i.exists(e,"startTime")?e.startTime:void 0,endTime:i.exists(e,"endTime")?e.endTime:void 0}}t.GetReportsForBuildingAndDateRangeDtoFromJSON=function(e){return r(e)},t.GetReportsForBuildingAndDateRangeDtoFromJSONTyped=r,t.GetReportsForBuildingAndDateRangeDtoToJSON=function(e){if(void 0!==e)return null===e?null:{buildingId:e.buildingId,startTime:e.startTime,endTime:e.endTime}}},1960:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.GetReportsForBuildingsAndDateRangeDtoToJSON=t.GetReportsForBuildingsAndDateRangeDtoFromJSONTyped=t.GetReportsForBuildingsAndDateRangeDtoFromJSON=t.GetReportsForBuildingsAndDateRangeDtoTimeFrequencyEnum=void 0;var i,r=n(296);function o(e,t){return null==e?e:{buildingIds:r.exists(e,"buildingIds")?e.buildingIds:void 0,startTime:r.exists(e,"startTime")?e.startTime:void 0,endTime:r.exists(e,"endTime")?e.endTime:void 0,timeFrequency:r.exists(e,"timeFrequency")?e.timeFrequency:void 0}}(i=t.GetReportsForBuildingsAndDateRangeDtoTimeFrequencyEnum||(t.GetReportsForBuildingsAndDateRangeDtoTimeFrequencyEnum={})).None="NONE",i.Hourly="HOURLY",i.Daily="DAILY",i.Weekly="WEEKLY",i.Monthly="MONTHLY",i.Yearly="YEARLY",t.GetReportsForBuildingsAndDateRangeDtoFromJSON=function(e){return o(e)},t.GetReportsForBuildingsAndDateRangeDtoFromJSONTyped=o,t.GetReportsForBuildingsAndDateRangeDtoToJSON=function(e){if(void 0!==e)return null===e?null:{buildingIds:e.buildingIds,startTime:e.startTime,endTime:e.endTime,timeFrequency:e.timeFrequency}}},9233:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.GetUnitAvailabilitiesRequestToJSON=t.GetUnitAvailabilitiesRequestFromJSONTyped=t.GetUnitAvailabilitiesRequestFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{moveInStart:i.exists(e,"moveInStart")?e.moveInStart:void 0,moveInEnd:i.exists(e,"moveInEnd")?e.moveInEnd:void 0,buildingName:i.exists(e,"buildingName")?e.buildingName:void 0,buildingAddress:i.exists(e,"buildingAddress")?e.buildingAddress:void 0,buildingZip:i.exists(e,"buildingZip")?e.buildingZip:void 0,preferredUnitNumbers:i.exists(e,"preferredUnitNumbers")?e.preferredUnitNumbers:void 0,preferredLayoutIds:i.exists(e,"preferredLayoutIds")?e.preferredLayoutIds:void 0}}t.GetUnitAvailabilitiesRequestFromJSON=function(e){return r(e)},t.GetUnitAvailabilitiesRequestFromJSONTyped=r,t.GetUnitAvailabilitiesRequestToJSON=function(e){if(void 0!==e)return null===e?null:{moveInStart:e.moveInStart,moveInEnd:e.moveInEnd,buildingName:e.buildingName,buildingAddress:e.buildingAddress,buildingZip:e.buildingZip,preferredUnitNumbers:e.preferredUnitNumbers,preferredLayoutIds:e.preferredLayoutIds}}},8055:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.GetUnitAvailabilitiesRequest2ToJSON=t.GetUnitAvailabilitiesRequest2FromJSONTyped=t.GetUnitAvailabilitiesRequest2FromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{id:i.exists(e,"id")?e.id:void 0,moveInStart:i.exists(e,"moveInStart")?e.moveInStart:void 0,moveInEnd:i.exists(e,"moveInEnd")?e.moveInEnd:void 0,preferredUnitNumbers:i.exists(e,"preferredUnitNumbers")?e.preferredUnitNumbers:void 0,preferredLayoutIds:i.exists(e,"preferredLayoutIds")?e.preferredLayoutIds:void 0}}t.GetUnitAvailabilitiesRequest2FromJSON=function(e){return r(e)},t.GetUnitAvailabilitiesRequest2FromJSONTyped=r,t.GetUnitAvailabilitiesRequest2ToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,moveInStart:e.moveInStart,moveInEnd:e.moveInEnd,preferredUnitNumbers:e.preferredUnitNumbers,preferredLayoutIds:e.preferredLayoutIds}}},2406:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.GetUnitAvailabilitiesResponseToJSON=t.GetUnitAvailabilitiesResponseFromJSONTyped=t.GetUnitAvailabilitiesResponseFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{subIntentMetadataMap:i.exists(e,"subIntentMetadataMap")?e.subIntentMetadataMap:void 0,dialogue:i.exists(e,"dialogue")?e.dialogue:void 0}}t.GetUnitAvailabilitiesResponseFromJSON=function(e){return r(e)},t.GetUnitAvailabilitiesResponseFromJSONTyped=r,t.GetUnitAvailabilitiesResponseToJSON=function(e){if(void 0!==e)return null===e?null:{subIntentMetadataMap:e.subIntentMetadataMap,dialogue:e.dialogue}}},1880:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.GetWhiteListTestsForBuildingsRequestToJSON=t.GetWhiteListTestsForBuildingsRequestFromJSONTyped=t.GetWhiteListTestsForBuildingsRequestFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{buildingIds:i.exists(e,"buildingIds")?e.buildingIds:void 0}}t.GetWhiteListTestsForBuildingsRequestFromJSON=function(e){return r(e)},t.GetWhiteListTestsForBuildingsRequestFromJSONTyped=r,t.GetWhiteListTestsForBuildingsRequestToJSON=function(e){if(void 0!==e)return null===e?null:{buildingIds:e.buildingIds}}},7989:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.HourlyReportDtoToJSON=t.HourlyReportDtoFromJSONTyped=t.HourlyReportDtoFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{buildingId:i.exists(e,"buildingId")?e.buildingId:void 0,marketingSource:i.exists(e,"marketingSource")?e.marketingSource:void 0,hourOfAggregation:i.exists(e,"hourOfAggregation")?new Date(e.hourOfAggregation):void 0,numMessagesSentByElise:i.exists(e,"numMessagesSentByElise")?e.numMessagesSentByElise:void 0,numUniqueProspectsInTimePeriod:i.exists(e,"numUniqueProspectsInTimePeriod")?e.numUniqueProspectsInTimePeriod:void 0,numRepliesPerContext:i.exists(e,"numRepliesPerContext")?e.numRepliesPerContext:void 0,newUniqueProspectsInTimePeriod:i.exists(e,"newUniqueProspectsInTimePeriod")?e.newUniqueProspectsInTimePeriod:void 0,hoursSaved:i.exists(e,"hoursSaved")?e.hoursSaved:void 0,numTours:i.exists(e,"numTours")?e.numTours:void 0}}t.HourlyReportDtoFromJSON=function(e){return r(e)},t.HourlyReportDtoFromJSONTyped=r,t.HourlyReportDtoToJSON=function(e){if(void 0!==e)return null===e?null:{buildingId:e.buildingId,marketingSource:e.marketingSource,hourOfAggregation:void 0===e.hourOfAggregation?void 0:e.hourOfAggregation.toISOString(),numMessagesSentByElise:e.numMessagesSentByElise,numUniqueProspectsInTimePeriod:e.numUniqueProspectsInTimePeriod,numRepliesPerContext:e.numRepliesPerContext,newUniqueProspectsInTimePeriod:e.newUniqueProspectsInTimePeriod,hoursSaved:e.hoursSaved,numTours:e.numTours}}},4036:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.InboxEntityToJSON=t.InboxEntityFromJSONTyped=t.InboxEntityFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{id:i.exists(e,"id")?e.id:void 0}}t.InboxEntityFromJSON=function(e){return r(e)},t.InboxEntityFromJSONTyped=r,t.InboxEntityToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id}}},5728:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.InitializeWhiteListingConfigRequestToJSON=t.InitializeWhiteListingConfigRequestFromJSONTyped=t.InitializeWhiteListingConfigRequestFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{buildingId:i.exists(e,"buildingId")?e.buildingId:void 0,emails:i.exists(e,"emails")?e.emails:void 0}}t.InitializeWhiteListingConfigRequestFromJSON=function(e){return r(e)},t.InitializeWhiteListingConfigRequestFromJSONTyped=r,t.InitializeWhiteListingConfigRequestToJSON=function(e){if(void 0!==e)return null===e?null:{buildingId:e.buildingId,emails:e.emails}}},5131:(e,t)=>{function n(e,t){return null==e?e:{state:e.state}}Object.defineProperty(t,"__esModule",{value:!0}),t.InlineObject3ToJSON=t.InlineObject3FromJSONTyped=t.InlineObject3FromJSON=void 0,t.InlineObject3FromJSON=function(e){return n(e)},t.InlineObject3FromJSONTyped=n,t.InlineObject3ToJSON=function(e){if(void 0!==e)return null===e?null:{state:e.state}}},7708:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.KnockAgentsNodeToJSON=t.KnockAgentsNodeFromJSONTyped=t.KnockAgentsNodeFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{email:e.email,externalId:i.exists(e,"externalId")?e.externalId:void 0,leasingTeamIds:i.exists(e,"leasingTeamIds")?e.leasingTeamIds:void 0,phone:i.exists(e,"phone")?e.phone:void 0,firstName:e.firstName,lastName:e.lastName,username:e.username,preferredUsername:e.preferredUsername,enabled:i.exists(e,"enabled")?e.enabled:void 0}}t.KnockAgentsNodeFromJSON=function(e){return r(e)},t.KnockAgentsNodeFromJSONTyped=r,t.KnockAgentsNodeToJSON=function(e){if(void 0!==e)return null===e?null:{email:e.email,externalId:e.externalId,leasingTeamIds:e.leasingTeamIds,phone:e.phone,firstName:e.firstName,lastName:e.lastName,username:e.username,preferredUsername:e.preferredUsername,enabled:e.enabled}}},746:(e,t)=>{function n(e,t){return null==e?e:{value:e.value,label:e.label}}Object.defineProperty(t,"__esModule",{value:!0}),t.LayoutOptionToJSON=t.LayoutOptionFromJSONTyped=t.LayoutOptionFromJSON=void 0,t.LayoutOptionFromJSON=function(e){return n(e)},t.LayoutOptionFromJSONTyped=n,t.LayoutOptionToJSON=function(e){if(void 0!==e)return null===e?null:{value:e.value,label:e.label}}},7662:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.LeadInfoToJSON=t.LeadInfoFromJSONTyped=t.LeadInfoFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{contextId:i.exists(e,"contextId")?e.contextId:void 0,firstName:i.exists(e,"firstName")?e.firstName:void 0,lastName:i.exists(e,"lastName")?e.lastName:void 0,email:i.exists(e,"email")?e.email:void 0,phoneNumber:i.exists(e,"phoneNumber")?e.phoneNumber:void 0}}t.LeadInfoFromJSON=function(e){return r(e)},t.LeadInfoFromJSONTyped=r,t.LeadInfoToJSON=function(e){if(void 0!==e)return null===e?null:{contextId:e.contextId,firstName:e.firstName,lastName:e.lastName,email:e.email,phoneNumber:e.phoneNumber}}},9132:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.LeadInfoUpdateDtoToJSON=t.LeadInfoUpdateDtoFromJSONTyped=t.LeadInfoUpdateDtoFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{buildingId:i.exists(e,"buildingId")?e.buildingId:void 0,firstName:i.exists(e,"firstName")?e.firstName:void 0,lastName:i.exists(e,"lastName")?e.lastName:void 0,email:i.exists(e,"email")?e.email:void 0,moveIn:i.exists(e,"moveIn")?new Date(e.moveIn):void 0,moveInRangeEnd:i.exists(e,"moveInRangeEnd")?new Date(e.moveInRangeEnd):void 0}}t.LeadInfoUpdateDtoFromJSON=function(e){return r(e)},t.LeadInfoUpdateDtoFromJSONTyped=r,t.LeadInfoUpdateDtoToJSON=function(e){if(void 0!==e)return null===e?null:{buildingId:e.buildingId,firstName:e.firstName,lastName:e.lastName,email:e.email,moveIn:void 0===e.moveIn?void 0:e.moveIn.toISOString().substr(0,10),moveInRangeEnd:void 0===e.moveInRangeEnd?void 0:e.moveInRangeEnd.toISOString().substr(0,10)}}},7530:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.LeadSourceResponseToJSON=t.LeadSourceResponseFromJSONTyped=t.LeadSourceResponseFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{sources:i.exists(e,"sources")?e.sources:void 0}}t.LeadSourceResponseFromJSON=function(e){return r(e)},t.LeadSourceResponseFromJSONTyped=r,t.LeadSourceResponseToJSON=function(e){if(void 0!==e)return null===e?null:{sources:e.sources}}},194:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.LeadThreadViewModelToJSON=t.LeadThreadViewModelFromJSONTyped=t.LeadThreadViewModelFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{leadName:i.exists(e,"leadName")?e.leadName:void 0,leadEmail:i.exists(e,"leadEmail")?e.leadEmail:void 0,contextCreationDate:i.exists(e,"contextCreationDate")?new Date(e.contextCreationDate):void 0,leadThreadLink:i.exists(e,"leadThreadLink")?e.leadThreadLink:void 0,buildingName:i.exists(e,"buildingName")?e.buildingName:void 0,buildingExternalId:i.exists(e,"buildingExternalId")?e.buildingExternalId:void 0,contextId:i.exists(e,"contextId")?e.contextId:void 0,buildingIds:i.exists(e,"buildingIds")?e.buildingIds:void 0,conversationKey:i.exists(e,"conversationKey")?e.conversationKey:void 0}}t.LeadThreadViewModelFromJSON=function(e){return r(e)},t.LeadThreadViewModelFromJSONTyped=r,t.LeadThreadViewModelToJSON=function(e){if(void 0!==e)return null===e?null:{leadName:e.leadName,leadEmail:e.leadEmail,contextCreationDate:void 0===e.contextCreationDate?void 0:e.contextCreationDate.toISOString(),leadThreadLink:e.leadThreadLink,buildingName:e.buildingName,buildingExternalId:e.buildingExternalId,contextId:e.contextId,buildingIds:e.buildingIds,conversationKey:e.conversationKey}}},1312:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.LeadWithSourceToJSON=t.LeadWithSourceFromJSONTyped=t.LeadWithSourceFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{id:i.exists(e,"id")?e.id:void 0,email:i.exists(e,"email")?e.email:void 0,marketingSource:i.exists(e,"marketingSource")?e.marketingSource:void 0}}t.LeadWithSourceFromJSON=function(e){return r(e)},t.LeadWithSourceFromJSONTyped=r,t.LeadWithSourceToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,email:e.email,marketingSource:e.marketingSource}}},4549:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.LeasingAgentToJSON=t.LeasingAgentFromJSONTyped=t.LeasingAgentFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{id:i.exists(e,"id")?e.id:void 0,userId:i.exists(e,"userId")?e.userId:void 0,externalId:i.exists(e,"externalId")?e.externalId:void 0,agentFirstName:i.exists(e,"agentFirstName")?e.agentFirstName:void 0,agentLastName:i.exists(e,"agentLastName")?e.agentLastName:void 0,internal:i.exists(e,"internal")?e.internal:void 0}}t.LeasingAgentFromJSON=function(e){return r(e)},t.LeasingAgentFromJSONTyped=r,t.LeasingAgentToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,userId:e.userId,externalId:e.externalId,agentFirstName:e.agentFirstName,agentLastName:e.agentLastName,internal:e.internal}}},8636:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ListWrapperOrganizationToJSON=t.ListWrapperOrganizationFromJSONTyped=t.ListWrapperOrganizationFromJSON=void 0;var i=n(296),r=n(8792);function o(e,t){return null==e?e:{data:i.exists(e,"data")?e.data.map(r.OrganizationFromJSON):void 0}}t.ListWrapperOrganizationFromJSON=function(e){return o(e)},t.ListWrapperOrganizationFromJSONTyped=o,t.ListWrapperOrganizationToJSON=function(e){if(void 0!==e)return null===e?null:{data:void 0===e.data?void 0:e.data.map(r.OrganizationToJSON)}}},7399:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.LocalTimeToJSON=t.LocalTimeFromJSONTyped=t.LocalTimeFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{hour:i.exists(e,"hour")?e.hour:void 0,minute:i.exists(e,"minute")?e.minute:void 0,second:i.exists(e,"second")?e.second:void 0,nano:i.exists(e,"nano")?e.nano:void 0}}t.LocalTimeFromJSON=function(e){return r(e)},t.LocalTimeFromJSONTyped=r,t.LocalTimeToJSON=function(e){if(void 0!==e)return null===e?null:{hour:e.hour,minute:e.minute,second:e.second,nano:e.nano}}},8328:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.LocationToJSON=t.LocationFromJSONTyped=t.LocationFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{label:i.exists(e,"label")?e.label:void 0,street:i.exists(e,"street")?e.street:void 0,addressNumber:i.exists(e,"addressNumber")?e.addressNumber:void 0,neighborhood:i.exists(e,"neighborhood")?e.neighborhood:void 0,postalCode:i.exists(e,"postalCode")?e.postalCode:void 0,municipality:i.exists(e,"municipality")?e.municipality:void 0,city:i.exists(e,"city")?e.city:void 0,region:i.exists(e,"region")?e.region:void 0,subRegion:i.exists(e,"subRegion")?e.subRegion:void 0,country:i.exists(e,"country")?e.country:void 0,latitude:i.exists(e,"latitude")?e.latitude:void 0,longitude:i.exists(e,"longitude")?e.longitude:void 0,timeZone:i.exists(e,"timeZone")?e.timeZone:void 0}}t.LocationFromJSON=function(e){return r(e)},t.LocationFromJSONTyped=r,t.LocationToJSON=function(e){if(void 0!==e)return null===e?null:{label:e.label,street:e.street,addressNumber:e.addressNumber,neighborhood:e.neighborhood,postalCode:e.postalCode,municipality:e.municipality,city:e.city,region:e.region,subRegion:e.subRegion,country:e.country,latitude:e.latitude,longitude:e.longitude,timeZone:e.timeZone}}},4401:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.LongTermFollowUpSettingToJSON=t.LongTermFollowUpSettingFromJSONTyped=t.LongTermFollowUpSettingFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{id:i.exists(e,"id")?e.id:void 0,userId:i.exists(e,"userId")?e.userId:void 0,followUpNumber:i.exists(e,"followUpNumber")?e.followUpNumber:void 0,clientType:i.exists(e,"clientType")?e.clientType:void 0,intervalNumber:i.exists(e,"intervalNumber")?e.intervalNumber:void 0,intervalUnit:i.exists(e,"intervalUnit")?e.intervalUnit:void 0,intervalNumberOlderThan:i.exists(e,"intervalNumberOlderThan")?e.intervalNumberOlderThan:void 0,intervalUnitOlderThan:i.exists(e,"intervalUnitOlderThan")?e.intervalUnitOlderThan:void 0,buildingId:i.exists(e,"buildingId")?e.buildingId:void 0}}t.LongTermFollowUpSettingFromJSON=function(e){return r(e)},t.LongTermFollowUpSettingFromJSONTyped=r,t.LongTermFollowUpSettingToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,userId:e.userId,followUpNumber:e.followUpNumber,clientType:e.clientType,intervalNumber:e.intervalNumber,intervalUnit:e.intervalUnit,intervalNumberOlderThan:e.intervalNumberOlderThan,intervalUnitOlderThan:e.intervalUnitOlderThan,buildingId:e.buildingId}}},3832:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.LongTermPostTourFollowUpSettingToJSON=t.LongTermPostTourFollowUpSettingFromJSONTyped=t.LongTermPostTourFollowUpSettingFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{id:i.exists(e,"id")?e.id:void 0,userId:i.exists(e,"userId")?e.userId:void 0,followUpNumber:i.exists(e,"followUpNumber")?e.followUpNumber:void 0,clientType:i.exists(e,"clientType")?e.clientType:void 0,intervalNumber:i.exists(e,"intervalNumber")?e.intervalNumber:void 0,intervalUnit:i.exists(e,"intervalUnit")?e.intervalUnit:void 0,intervalNumberOlderThan:i.exists(e,"intervalNumberOlderThan")?e.intervalNumberOlderThan:void 0,intervalUnitOlderThan:i.exists(e,"intervalUnitOlderThan")?e.intervalUnitOlderThan:void 0,buildingId:i.exists(e,"buildingId")?e.buildingId:void 0}}t.LongTermPostTourFollowUpSettingFromJSON=function(e){return r(e)},t.LongTermPostTourFollowUpSettingFromJSONTyped=r,t.LongTermPostTourFollowUpSettingToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,userId:e.userId,followUpNumber:e.followUpNumber,clientType:e.clientType,intervalNumber:e.intervalNumber,intervalUnit:e.intervalUnit,intervalNumberOlderThan:e.intervalNumberOlderThan,intervalUnitOlderThan:e.intervalUnitOlderThan,buildingId:e.buildingId}}},4883:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.MEHomeCalendarEventToJSON=t.MEHomeCalendarEventFromJSONTyped=t.MEHomeCalendarEventFromJSON=t.MEHomeCalendarEventEventTypeEnum=void 0;var i,r=n(296),o=n(9718);function a(e,t){return null==e?e:{id:e.id,aiAssistantId:e.aiAssistantId,startTimeISO:e.startTimeISO,endTimeISO:e.endTimeISO,eventType:e.eventType,tourInfo:r.exists(e,"tourInfo")?o.MEHomeTourInfoFromJSON(e.tourInfo):void 0,title:r.exists(e,"title")?e.title:void 0,conversationKey:r.exists(e,"conversationKey")?e.conversationKey:void 0,recurringEventId:r.exists(e,"recurringEventId")?e.recurringEventId:void 0,assignedAgentId:r.exists(e,"assignedAgentId")?e.assignedAgentId:void 0,canceled:r.exists(e,"canceled")?e.canceled:void 0}}(i=t.MEHomeCalendarEventEventTypeEnum||(t.MEHomeCalendarEventEventTypeEnum={})).NonBlockingInternal="NON_BLOCKING_INTERNAL",i.Blackout="BLACKOUT",i.Appointment="APPOINTMENT",i.Other="OTHER",t.MEHomeCalendarEventFromJSON=function(e){return a(e)},t.MEHomeCalendarEventFromJSONTyped=a,t.MEHomeCalendarEventToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,aiAssistantId:e.aiAssistantId,startTimeISO:e.startTimeISO,endTimeISO:e.endTimeISO,eventType:e.eventType,tourInfo:o.MEHomeTourInfoToJSON(e.tourInfo),title:e.title,conversationKey:e.conversationKey,recurringEventId:e.recurringEventId,assignedAgentId:e.assignedAgentId,canceled:e.canceled}}},6705:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.MEHomeDashboardInfoToJSON=t.MEHomeDashboardInfoFromJSONTyped=t.MEHomeDashboardInfoFromJSON=void 0;var i=n(296),r=n(3817),o=n(7934),a=n(746),s=n(4549),u=n(4883),l=n(1004),d=n(6330);function c(e,t){return null==e?e:{numEscalations:e.numEscalations,calendarEvents:e.calendarEvents.map(u.MEHomeCalendarEventFromJSON),buildingIds:e.buildingIds,dateRangeReport:i.exists(e,"dateRangeReport")?r.DateRangeReportFromJSON(e.dateRangeReport):void 0,leasingAgents:e.leasingAgents.map(s.LeasingAgentFromJSON),units:e.units.map(l.MEHomeUnitFromJSON),tourTypeOptions:e.tourTypeOptions.map(d.TourTypeOptionFromJSON),layoutOptions:e.layoutOptions.map(a.LayoutOptionFromJSON),leadSources:e.leadSources,firstContactOptions:e.firstContactOptions.map(o.FirstContactOptionFromJSON)}}t.MEHomeDashboardInfoFromJSON=function(e){return c(e)},t.MEHomeDashboardInfoFromJSONTyped=c,t.MEHomeDashboardInfoToJSON=function(e){if(void 0!==e)return null===e?null:{numEscalations:e.numEscalations,calendarEvents:e.calendarEvents.map(u.MEHomeCalendarEventToJSON),buildingIds:e.buildingIds,dateRangeReport:r.DateRangeReportToJSON(e.dateRangeReport),leasingAgents:e.leasingAgents.map(s.LeasingAgentToJSON),units:e.units.map(l.MEHomeUnitToJSON),tourTypeOptions:e.tourTypeOptions.map(d.TourTypeOptionToJSON),layoutOptions:e.layoutOptions.map(a.LayoutOptionToJSON),leadSources:e.leadSources,firstContactOptions:e.firstContactOptions.map(o.FirstContactOptionToJSON)}}},1427:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.MEHomeLeadToJSON=t.MEHomeLeadFromJSONTyped=t.MEHomeLeadFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{id:e.id,email:i.exists(e,"email")?e.email:void 0,firstName:i.exists(e,"firstName")?e.firstName:void 0,lastName:i.exists(e,"lastName")?e.lastName:void 0,layouts:i.exists(e,"layouts")?e.layouts:void 0,leadCreationDateISO:i.exists(e,"leadCreationDateISO")?e.leadCreationDateISO:void 0,leaseLengthMax:i.exists(e,"leaseLengthMax")?e.leaseLengthMax:void 0,leaseLengthMin:i.exists(e,"leaseLengthMin")?e.leaseLengthMin:void 0,marketPlace:i.exists(e,"marketPlace")?e.marketPlace:void 0,moveInDateISO:i.exists(e,"moveInDateISO")?e.moveInDateISO:void 0,phoneNumber:i.exists(e,"phoneNumber")?e.phoneNumber:void 0,preferredSize:i.exists(e,"preferredSize")?e.preferredSize:void 0,recommendedUnits:i.exists(e,"recommendedUnits")?e.recommendedUnits:void 0}}t.MEHomeLeadFromJSON=function(e){return r(e)},t.MEHomeLeadFromJSONTyped=r,t.MEHomeLeadToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,email:e.email,firstName:e.firstName,lastName:e.lastName,layouts:e.layouts,leadCreationDateISO:e.leadCreationDateISO,leaseLengthMax:e.leaseLengthMax,leaseLengthMin:e.leaseLengthMin,marketPlace:e.marketPlace,moveInDateISO:e.moveInDateISO,phoneNumber:e.phoneNumber,preferredSize:e.preferredSize,recommendedUnits:e.recommendedUnits}}},9718:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.MEHomeTourInfoToJSON=t.MEHomeTourInfoFromJSONTyped=t.MEHomeTourInfoFromJSON=t.MEHomeTourInfoConversationTypeEnum=t.MEHomeTourInfoTourTypeEnum=void 0;var i,r,o=n(296),a=n(1427);function s(e,t){return null==e?e:{lead:a.MEHomeLeadFromJSON(e.lead),hostVirtualTourUrl:o.exists(e,"hostVirtualTourUrl")?e.hostVirtualTourUrl:void 0,publicVirtualTourUrl:o.exists(e,"publicVirtualTourUrl")?e.publicVirtualTourUrl:void 0,tourType:o.exists(e,"tourType")?e.tourType:void 0,leadStatusForContext:o.exists(e,"leadStatusForContext")?e.leadStatusForContext:void 0,notes:o.exists(e,"notes")?e.notes:void 0,conversationType:o.exists(e,"conversationType")?e.conversationType:void 0}}(r=t.MEHomeTourInfoTourTypeEnum||(t.MEHomeTourInfoTourTypeEnum={})).Unknown="UNKNOWN",r.SelfGuided="SELF_GUIDED",r.VirtualShowing="VIRTUAL_SHOWING",r.WithAgent="WITH_AGENT",r.MediaTour="MEDIA_TOUR",(i=t.MEHomeTourInfoConversationTypeEnum||(t.MEHomeTourInfoConversationTypeEnum={})).Email="EMAIL",i.Phone="PHONE",t.MEHomeTourInfoFromJSON=function(e){return s(e)},t.MEHomeTourInfoFromJSONTyped=s,t.MEHomeTourInfoToJSON=function(e){if(void 0!==e)return null===e?null:{lead:a.MEHomeLeadToJSON(e.lead),hostVirtualTourUrl:e.hostVirtualTourUrl,publicVirtualTourUrl:e.publicVirtualTourUrl,tourType:e.tourType,leadStatusForContext:e.leadStatusForContext,notes:e.notes,conversationType:e.conversationType}}},1004:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.MEHomeUnitToJSON=t.MEHomeUnitFromJSONTyped=t.MEHomeUnitFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{id:e.id,layoutDescription:e.layoutDescription,label:e.label,layout:e.layout,_default:i.exists(e,"default")?e.default:void 0}}t.MEHomeUnitFromJSON=function(e){return r(e)},t.MEHomeUnitFromJSONTyped=r,t.MEHomeUnitToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,layoutDescription:e.layoutDescription,label:e.label,layout:e.layout,default:e._default}}},4240:(e,t)=>{function n(e,t){return null==e?e:{marketingSource:e.marketingSource,startOfRange:new Date(e.startOfRange),endOfRange:new Date(e.endOfRange),buildingId:e.buildingId,numAiMessagesSent:e.numAiMessagesSent,numAiSentEmailFollowup:e.numAiSentEmailFollowup,numAiSentTextFollowup:e.numAiSentTextFollowup,averageMessagesPerProspect:e.averageMessagesPerProspect,prospectToTourConversion:e.prospectToTourConversion,numTours:e.numTours,tourBookedByMENoncancelled:e.tourBookedByMENoncancelled,newProspectsHandled:e.newProspectsHandled,hoursSavedByAi:e.hoursSavedByAi,numEarlyAgentTakeover:e.numEarlyAgentTakeover,numberLeadsApplied:e.numberLeadsApplied,tourAttended:e.tourAttended,numActionRequiredFromAgent:e.numActionRequiredFromAgent,numPassToAgent:e.numPassToAgent,aiBookedTourAttended:e.aiBookedTourAttended}}Object.defineProperty(t,"__esModule",{value:!0}),t.MarketingSourceDateRangeReportToJSON=t.MarketingSourceDateRangeReportFromJSONTyped=t.MarketingSourceDateRangeReportFromJSON=void 0,t.MarketingSourceDateRangeReportFromJSON=function(e){return n(e)},t.MarketingSourceDateRangeReportFromJSONTyped=n,t.MarketingSourceDateRangeReportToJSON=function(e){if(void 0!==e)return null===e?null:{marketingSource:e.marketingSource,startOfRange:e.startOfRange.toISOString(),endOfRange:e.endOfRange.toISOString(),buildingId:e.buildingId,numAiMessagesSent:e.numAiMessagesSent,numAiSentEmailFollowup:e.numAiSentEmailFollowup,numAiSentTextFollowup:e.numAiSentTextFollowup,averageMessagesPerProspect:e.averageMessagesPerProspect,prospectToTourConversion:e.prospectToTourConversion,numTours:e.numTours,tourBookedByMENoncancelled:e.tourBookedByMENoncancelled,newProspectsHandled:e.newProspectsHandled,hoursSavedByAi:e.hoursSavedByAi,numEarlyAgentTakeover:e.numEarlyAgentTakeover,numberLeadsApplied:e.numberLeadsApplied,tourAttended:e.tourAttended,numActionRequiredFromAgent:e.numActionRequiredFromAgent,numPassToAgent:e.numPassToAgent,aiBookedTourAttended:e.aiBookedTourAttended}}},2960:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.NoShowActionDtoToJSON=t.NoShowActionDtoFromJSONTyped=t.NoShowActionDtoFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{contextId:i.exists(e,"contextId")?e.contextId:void 0}}t.NoShowActionDtoFromJSON=function(e){return r(e)},t.NoShowActionDtoFromJSONTyped=r,t.NoShowActionDtoToJSON=function(e){if(void 0!==e)return null===e?null:{contextId:e.contextId}}},1431:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.NoShowFollowUpSettingToJSON=t.NoShowFollowUpSettingFromJSONTyped=t.NoShowFollowUpSettingFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{id:i.exists(e,"id")?e.id:void 0,userId:i.exists(e,"userId")?e.userId:void 0,followUpNumber:i.exists(e,"followUpNumber")?e.followUpNumber:void 0,clientType:i.exists(e,"clientType")?e.clientType:void 0,intervalNumber:i.exists(e,"intervalNumber")?e.intervalNumber:void 0,intervalUnit:i.exists(e,"intervalUnit")?e.intervalUnit:void 0,intervalNumberOlderThan:i.exists(e,"intervalNumberOlderThan")?e.intervalNumberOlderThan:void 0,intervalUnitOlderThan:i.exists(e,"intervalUnitOlderThan")?e.intervalUnitOlderThan:void 0,buildingId:i.exists(e,"buildingId")?e.buildingId:void 0}}t.NoShowFollowUpSettingFromJSON=function(e){return r(e)},t.NoShowFollowUpSettingFromJSONTyped=r,t.NoShowFollowUpSettingToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,userId:e.userId,followUpNumber:e.followUpNumber,clientType:e.clientType,intervalNumber:e.intervalNumber,intervalUnit:e.intervalUnit,intervalNumberOlderThan:e.intervalNumberOlderThan,intervalUnitOlderThan:e.intervalUnitOlderThan,buildingId:e.buildingId}}},8792:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.OrganizationToJSON=t.OrganizationFromJSONTyped=t.OrganizationFromJSON=void 0;var i=n(296),r=n(1172);function o(e,t){return null==e?e:{id:i.exists(e,"id")?e.id:void 0,name:i.exists(e,"name")?e.name:void 0,address1:i.exists(e,"address1")?e.address1:void 0,address2:i.exists(e,"address2")?e.address2:void 0,city:i.exists(e,"city")?e.city:void 0,state:i.exists(e,"state")?e.state:void 0,zipCode:i.exists(e,"zipCode")?e.zipCode:void 0,url:i.exists(e,"url")?e.url:void 0,associatedDomains:i.exists(e,"associatedDomains")?e.associatedDomains:void 0,communitiesDefaults:i.exists(e,"communitiesDefaults")?r.CommunitiesDefaultsFromJSON(e.communitiesDefaults):void 0,organizationId:i.exists(e,"organizationId")?e.organizationId:void 0}}t.OrganizationFromJSON=function(e){return o(e)},t.OrganizationFromJSONTyped=o,t.OrganizationToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,name:e.name,address1:e.address1,address2:e.address2,city:e.city,state:e.state,zipCode:e.zipCode,url:e.url,associatedDomains:e.associatedDomains,communitiesDefaults:r.CommunitiesDefaultsToJSON(e.communitiesDefaults),organizationId:e.organizationId}}},908:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.PostTourFollowUpSettingToJSON=t.PostTourFollowUpSettingFromJSONTyped=t.PostTourFollowUpSettingFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{id:i.exists(e,"id")?e.id:void 0,userId:i.exists(e,"userId")?e.userId:void 0,followUpNumber:i.exists(e,"followUpNumber")?e.followUpNumber:void 0,clientType:i.exists(e,"clientType")?e.clientType:void 0,intervalNumber:i.exists(e,"intervalNumber")?e.intervalNumber:void 0,intervalUnit:i.exists(e,"intervalUnit")?e.intervalUnit:void 0,intervalNumberOlderThan:i.exists(e,"intervalNumberOlderThan")?e.intervalNumberOlderThan:void 0,intervalUnitOlderThan:i.exists(e,"intervalUnitOlderThan")?e.intervalUnitOlderThan:void 0,buildingId:i.exists(e,"buildingId")?e.buildingId:void 0}}t.PostTourFollowUpSettingFromJSON=function(e){return r(e)},t.PostTourFollowUpSettingFromJSONTyped=r,t.PostTourFollowUpSettingToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,userId:e.userId,followUpNumber:e.followUpNumber,clientType:e.clientType,intervalNumber:e.intervalNumber,intervalUnit:e.intervalUnit,intervalNumberOlderThan:e.intervalNumberOlderThan,intervalUnitOlderThan:e.intervalUnitOlderThan,buildingId:e.buildingId}}},3231:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.PreTourFollowUpSettingToJSON=t.PreTourFollowUpSettingFromJSONTyped=t.PreTourFollowUpSettingFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{id:i.exists(e,"id")?e.id:void 0,followUpNumber:i.exists(e,"followUpNumber")?e.followUpNumber:void 0,clientType:i.exists(e,"clientType")?e.clientType:void 0,intervalNumber:i.exists(e,"intervalNumber")?e.intervalNumber:void 0,intervalUnit:i.exists(e,"intervalUnit")?e.intervalUnit:void 0,intervalNumberOlderThan:i.exists(e,"intervalNumberOlderThan")?e.intervalNumberOlderThan:void 0,intervalUnitOlderThan:i.exists(e,"intervalUnitOlderThan")?e.intervalUnitOlderThan:void 0,buildingId:i.exists(e,"buildingId")?e.buildingId:void 0,userId:i.exists(e,"userId")?e.userId:void 0}}t.PreTourFollowUpSettingFromJSON=function(e){return r(e)},t.PreTourFollowUpSettingFromJSONTyped=r,t.PreTourFollowUpSettingToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,followUpNumber:e.followUpNumber,clientType:e.clientType,intervalNumber:e.intervalNumber,intervalUnit:e.intervalUnit,intervalNumberOlderThan:e.intervalNumberOlderThan,intervalUnitOlderThan:e.intervalUnitOlderThan,buildingId:e.buildingId,userId:e.userId}}},8496:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.QaDtoToJSON=t.QaDtoFromJSONTyped=t.QaDtoFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{buildingId:i.exists(e,"buildingId")?e.buildingId:void 0,intentNames:i.exists(e,"intentNames")?e.intentNames:void 0,unitId:i.exists(e,"unitId")?e.unitId:void 0,email:i.exists(e,"email")?e.email:void 0}}t.QaDtoFromJSON=function(e){return r(e)},t.QaDtoFromJSONTyped=r,t.QaDtoToJSON=function(e){if(void 0!==e)return null===e?null:{buildingId:e.buildingId,intentNames:e.intentNames,unitId:e.unitId,email:e.email}}},3538:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.RealPageCredentialsToJSON=t.RealPageCredentialsFromJSONTyped=t.RealPageCredentialsFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{id:i.exists(e,"id")?e.id:void 0,userId:i.exists(e,"userId")?e.userId:void 0,userName:i.exists(e,"userName")?e.userName:void 0,password:i.exists(e,"password")?e.password:void 0,uniqueCompanyIdentifier:i.exists(e,"uniqueCompanyIdentifier")?e.uniqueCompanyIdentifier:void 0,uniquePropertyIdentifier:i.exists(e,"uniquePropertyIdentifier")?e.uniquePropertyIdentifier:void 0,hostUrl:i.exists(e,"hostUrl")?e.hostUrl:void 0,l2LApiKey:i.exists(e,"l2LApiKey")?e.l2LApiKey:void 0,leasingAgentId:i.exists(e,"leasingAgentId")?e.leasingAgentId:void 0,handoffAgentId:i.exists(e,"handoffAgentId")?e.handoffAgentId:void 0}}t.RealPageCredentialsFromJSON=function(e){return r(e)},t.RealPageCredentialsFromJSONTyped=r,t.RealPageCredentialsToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,userId:e.userId,userName:e.userName,password:e.password,uniqueCompanyIdentifier:e.uniqueCompanyIdentifier,uniquePropertyIdentifier:e.uniquePropertyIdentifier,hostUrl:e.hostUrl,l2LApiKey:e.l2LApiKey,leasingAgentId:e.leasingAgentId,handoffAgentId:e.handoffAgentId}}},9353:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.RecurringEventCreateRequestDtoToJSON=t.RecurringEventCreateRequestDtoFromJSONTyped=t.RecurringEventCreateRequestDtoFromJSON=t.RecurringEventCreateRequestDtoFrequencyEnum=void 0;var i,r=n(296);function o(e,t){return null==e?e:{calendarId:r.exists(e,"calendarId")?e.calendarId:void 0,startTime:r.exists(e,"startTime")?e.startTime:void 0,endTime:r.exists(e,"endTime")?e.endTime:void 0,daysOfWeek:r.exists(e,"daysOfWeek")?e.daysOfWeek:void 0,daysOfMonth:r.exists(e,"daysOfMonth")?e.daysOfMonth:void 0,startOfRecurrence:r.exists(e,"startOfRecurrence")?e.startOfRecurrence:void 0,endOfRecurrence:r.exists(e,"endOfRecurrence")?e.endOfRecurrence:void 0,frequency:r.exists(e,"frequency")?e.frequency:void 0,frequencyMultiplier:r.exists(e,"frequencyMultiplier")?e.frequencyMultiplier:void 0,createdBy:r.exists(e,"createdBy")?e.createdBy:void 0,summary:r.exists(e,"summary")?e.summary:void 0}}(i=t.RecurringEventCreateRequestDtoFrequencyEnum||(t.RecurringEventCreateRequestDtoFrequencyEnum={})).Weekly="WEEKLY",i.Monthly="MONTHLY",t.RecurringEventCreateRequestDtoFromJSON=function(e){return o(e)},t.RecurringEventCreateRequestDtoFromJSONTyped=o,t.RecurringEventCreateRequestDtoToJSON=function(e){if(void 0!==e)return null===e?null:{calendarId:e.calendarId,startTime:e.startTime,endTime:e.endTime,daysOfWeek:e.daysOfWeek,daysOfMonth:e.daysOfMonth,startOfRecurrence:e.startOfRecurrence,endOfRecurrence:e.endOfRecurrence,frequency:e.frequency,frequencyMultiplier:e.frequencyMultiplier,createdBy:e.createdBy,summary:e.summary}}},6343:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.RecurringEventDtoToJSON=t.RecurringEventDtoFromJSONTyped=t.RecurringEventDtoFromJSON=t.RecurringEventDtoFrequencyEnum=void 0;var i,r=n(296);function o(e,t){return null==e?e:{id:r.exists(e,"id")?e.id:void 0,calendarId:r.exists(e,"calendarId")?e.calendarId:void 0,startTime:r.exists(e,"startTime")?e.startTime:void 0,endTime:r.exists(e,"endTime")?e.endTime:void 0,daysOfWeek:r.exists(e,"daysOfWeek")?e.daysOfWeek:void 0,daysOfMonth:r.exists(e,"daysOfMonth")?e.daysOfMonth:void 0,startOfRecurrence:r.exists(e,"startOfRecurrence")?e.startOfRecurrence:void 0,endOfRecurrence:r.exists(e,"endOfRecurrence")?e.endOfRecurrence:void 0,frequency:r.exists(e,"frequency")?e.frequency:void 0,frequencyMultiplier:r.exists(e,"frequencyMultiplier")?e.frequencyMultiplier:void 0,timeCreated:r.exists(e,"timeCreated")?e.timeCreated:void 0,timeMostRecentlyUpdated:r.exists(e,"timeMostRecentlyUpdated")?e.timeMostRecentlyUpdated:void 0,lastEventGeneratedTimestamp:r.exists(e,"lastEventGeneratedTimestamp")?e.lastEventGeneratedTimestamp:void 0,createdBy:r.exists(e,"createdBy")?e.createdBy:void 0,summary:r.exists(e,"summary")?e.summary:void 0,deleted:r.exists(e,"deleted")?e.deleted:void 0}}(i=t.RecurringEventDtoFrequencyEnum||(t.RecurringEventDtoFrequencyEnum={})).Weekly="WEEKLY",i.Monthly="MONTHLY",t.RecurringEventDtoFromJSON=function(e){return o(e)},t.RecurringEventDtoFromJSONTyped=o,t.RecurringEventDtoToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,calendarId:e.calendarId,startTime:e.startTime,endTime:e.endTime,daysOfWeek:e.daysOfWeek,daysOfMonth:e.daysOfMonth,startOfRecurrence:e.startOfRecurrence,endOfRecurrence:e.endOfRecurrence,frequency:e.frequency,frequencyMultiplier:e.frequencyMultiplier,timeCreated:e.timeCreated,timeMostRecentlyUpdated:e.timeMostRecentlyUpdated,lastEventGeneratedTimestamp:e.lastEventGeneratedTimestamp,createdBy:e.createdBy,summary:e.summary,deleted:e.deleted}}},7564:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.RecurringEventUpdateRequestDtoToJSON=t.RecurringEventUpdateRequestDtoFromJSONTyped=t.RecurringEventUpdateRequestDtoFromJSON=t.RecurringEventUpdateRequestDtoFrequencyEnum=void 0;var i,r=n(296);function o(e,t){return null==e?e:{startTime:r.exists(e,"startTime")?e.startTime:void 0,endTime:r.exists(e,"endTime")?e.endTime:void 0,daysOfWeek:r.exists(e,"daysOfWeek")?e.daysOfWeek:void 0,daysOfMonth:r.exists(e,"daysOfMonth")?e.daysOfMonth:void 0,startOfRecurrence:r.exists(e,"startOfRecurrence")?e.startOfRecurrence:void 0,endOfRecurrence:r.exists(e,"endOfRecurrence")?e.endOfRecurrence:void 0,frequency:r.exists(e,"frequency")?e.frequency:void 0,frequencyMultiplier:r.exists(e,"frequencyMultiplier")?e.frequencyMultiplier:void 0,summary:r.exists(e,"summary")?e.summary:void 0}}(i=t.RecurringEventUpdateRequestDtoFrequencyEnum||(t.RecurringEventUpdateRequestDtoFrequencyEnum={})).Weekly="WEEKLY",i.Monthly="MONTHLY",t.RecurringEventUpdateRequestDtoFromJSON=function(e){return o(e)},t.RecurringEventUpdateRequestDtoFromJSONTyped=o,t.RecurringEventUpdateRequestDtoToJSON=function(e){if(void 0!==e)return null===e?null:{startTime:e.startTime,endTime:e.endTime,daysOfWeek:e.daysOfWeek,daysOfMonth:e.daysOfMonth,startOfRecurrence:e.startOfRecurrence,endOfRecurrence:e.endOfRecurrence,frequency:e.frequency,frequencyMultiplier:e.frequencyMultiplier,summary:e.summary}}},4748:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ReportSettingToJSON=t.ReportSettingFromJSONTyped=t.ReportSettingFromJSON=t.ReportSettingSendingMediumEnum=t.ReportSettingTypeEnum=t.ReportSettingSheetIdsEnum=void 0;var i,r,o,a=n(296);function s(e,t){return null==e?e:{active:a.exists(e,"active")?e.active:void 0,id:a.exists(e,"id")?e.id:void 0,name:a.exists(e,"name")?e.name:void 0,reportNamePart1:a.exists(e,"reportNamePart1")?e.reportNamePart1:void 0,reportNamePart2:a.exists(e,"reportNamePart2")?e.reportNamePart2:void 0,startDate:a.exists(e,"startDate")?e.startDate:void 0,endDate:a.exists(e,"endDate")?e.endDate:void 0,initialReportDate:a.exists(e,"initialReportDate")?e.initialReportDate:void 0,isOrgLevel:a.exists(e,"isOrgLevel")?e.isOrgLevel:void 0,organizationIds:a.exists(e,"organizationIds")?e.organizationIds:void 0,buildingIds:a.exists(e,"buildingIds")?e.buildingIds:void 0,recipients:a.exists(e,"recipients")?e.recipients:void 0,sheetIds:a.exists(e,"sheetIds")?e.sheetIds:void 0,type:a.exists(e,"type")?e.type:void 0,sendingMedium:a.exists(e,"sendingMedium")?e.sendingMedium:void 0,htmlEmailMessage:a.exists(e,"htmlEmailMessage")?e.htmlEmailMessage:void 0,orgLevel:a.exists(e,"orgLevel")?e.orgLevel:void 0}}(o=t.ReportSettingSheetIdsEnum||(t.ReportSettingSheetIdsEnum={})).A1="A1",o.A1unsub="A1unsub",o.A1ytd="A1ytd",o.A2="A2",o.A3="A3",o.A3wk="A3wk",o.A3ytd="A3ytd",o.A4="A4",o.Bell2="BELL2",o.Bell4="BELL4",o.Boz1="BOZ1",o.Boz2="BOZ2",o.S1="S1",o.S1shows="S1shows",o.S1unsub="S1unsub",o.S1wk="S1wk",o.S2="S2",o.S2org="S2org",o.S2wk="S2wk",o.S3="S3",o.S3org="S3org",o.S3wk="S3wk",o.S4="S4",o.S4org="S4org",o.S5="S5",o.S5org="S5org",o.Sr1ytd="SR1ytd",o.Ivr1="IVR1",o.Ivr2="IVR2",(r=t.ReportSettingTypeEnum||(t.ReportSettingTypeEnum={})).ProspectReport="PROSPECT_REPORT",r.AutomaticReport="AUTOMATIC_REPORT",r.OwnerReport="OWNER_REPORT",r.InternalReport="INTERNAL_REPORT",(i=t.ReportSettingSendingMediumEnum||(t.ReportSettingSendingMediumEnum={})).Sftp="SFTP",i.AutomatedEmail="AUTOMATED_EMAIL",i.ManualEmail="MANUAL_EMAIL",t.ReportSettingFromJSON=function(e){return s(e)},t.ReportSettingFromJSONTyped=s,t.ReportSettingToJSON=function(e){if(void 0!==e)return null===e?null:{active:e.active,id:e.id,name:e.name,reportNamePart1:e.reportNamePart1,reportNamePart2:e.reportNamePart2,startDate:e.startDate,endDate:e.endDate,initialReportDate:e.initialReportDate,isOrgLevel:e.isOrgLevel,organizationIds:e.organizationIds,buildingIds:e.buildingIds,recipients:e.recipients,sheetIds:e.sheetIds,type:e.type,sendingMedium:e.sendingMedium,htmlEmailMessage:e.htmlEmailMessage,orgLevel:e.orgLevel}}},170:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.RescheduleConfirmedDtoToJSON=t.RescheduleConfirmedDtoFromJSONTyped=t.RescheduleConfirmedDtoFromJSON=t.RescheduleConfirmedDtoTourTypeEnum=void 0;var i,r=n(296);function o(e,t){return null==e?e:{contextId:r.exists(e,"contextId")?e.contextId:void 0,buildingId:r.exists(e,"buildingId")?e.buildingId:void 0,unitId:r.exists(e,"unitId")?e.unitId:void 0,tourType:r.exists(e,"tourType")?e.tourType:void 0,calendarEventId:r.exists(e,"calendarEventId")?e.calendarEventId:void 0,leasingAgentId:r.exists(e,"leasingAgentId")?e.leasingAgentId:void 0,newStartTime:r.exists(e,"newStartTime")?e.newStartTime:void 0,newEndTime:r.exists(e,"newEndTime")?e.newEndTime:void 0}}(i=t.RescheduleConfirmedDtoTourTypeEnum||(t.RescheduleConfirmedDtoTourTypeEnum={})).Unknown="UNKNOWN",i.SelfGuided="SELF_GUIDED",i.VirtualShowing="VIRTUAL_SHOWING",i.WithAgent="WITH_AGENT",i.MediaTour="MEDIA_TOUR",t.RescheduleConfirmedDtoFromJSON=function(e){return o(e)},t.RescheduleConfirmedDtoFromJSONTyped=o,t.RescheduleConfirmedDtoToJSON=function(e){if(void 0!==e)return null===e?null:{contextId:e.contextId,buildingId:e.buildingId,unitId:e.unitId,tourType:e.tourType,calendarEventId:e.calendarEventId,leasingAgentId:e.leasingAgentId,newStartTime:e.newStartTime,newEndTime:e.newEndTime}}},2298:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.RescheduleProposedDtoToJSON=t.RescheduleProposedDtoFromJSONTyped=t.RescheduleProposedDtoFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{contextId:i.exists(e,"contextId")?e.contextId:void 0,buildingId:i.exists(e,"buildingId")?e.buildingId:void 0,calendarEventId:i.exists(e,"calendarEventId")?e.calendarEventId:void 0,suggestedStartTime:i.exists(e,"suggestedStartTime")?e.suggestedStartTime:void 0}}t.RescheduleProposedDtoFromJSON=function(e){return r(e)},t.RescheduleProposedDtoFromJSONTyped=r,t.RescheduleProposedDtoToJSON=function(e){if(void 0!==e)return null===e?null:{contextId:e.contextId,buildingId:e.buildingId,calendarEventId:e.calendarEventId,suggestedStartTime:e.suggestedStartTime}}},445:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ResolveEscalationDtoToJSON=t.ResolveEscalationDtoFromJSONTyped=t.ResolveEscalationDtoFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{contextId:i.exists(e,"contextId")?e.contextId:void 0,resolutionStatus:i.exists(e,"resolutionStatus")?e.resolutionStatus:void 0,resolverEmail:i.exists(e,"resolverEmail")?e.resolverEmail:void 0,resolvedWithMessage:i.exists(e,"resolvedWithMessage")?e.resolvedWithMessage:void 0}}t.ResolveEscalationDtoFromJSON=function(e){return r(e)},t.ResolveEscalationDtoFromJSONTyped=r,t.ResolveEscalationDtoToJSON=function(e){if(void 0!==e)return null===e?null:{contextId:e.contextId,resolutionStatus:e.resolutionStatus,resolverEmail:e.resolverEmail,resolvedWithMessage:e.resolvedWithMessage}}},1222:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ResolveScriptRequestToJSON=t.ResolveScriptRequestFromJSONTyped=t.ResolveScriptRequestFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{intent:i.exists(e,"intent")?e.intent:void 0,subintent:i.exists(e,"subintent")?e.subintent:void 0}}t.ResolveScriptRequestFromJSON=function(e){return r(e)},t.ResolveScriptRequestFromJSONTyped=r,t.ResolveScriptRequestToJSON=function(e){if(void 0!==e)return null===e?null:{intent:e.intent,subintent:e.subintent}}},7444:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ResolveScriptsRequestToJSON=t.ResolveScriptsRequestFromJSONTyped=t.ResolveScriptsRequestFromJSON=void 0;var i=n(296),r=n(1222);function o(e,t){return null==e?e:{buildingId:i.exists(e,"buildingId")?e.buildingId:void 0,organizationId:i.exists(e,"organizationId")?e.organizationId:void 0,scripts:i.exists(e,"scripts")?e.scripts.map(r.ResolveScriptRequestFromJSON):void 0}}t.ResolveScriptsRequestFromJSON=function(e){return o(e)},t.ResolveScriptsRequestFromJSONTyped=o,t.ResolveScriptsRequestToJSON=function(e){if(void 0!==e)return null===e?null:{buildingId:e.buildingId,organizationId:e.organizationId,scripts:void 0===e.scripts?void 0:e.scripts.map(r.ResolveScriptRequestToJSON)}}},3815:(e,t)=>{function n(e,t){return null==e?e:{mcId:e.mcId,response:e.response}}Object.defineProperty(t,"__esModule",{value:!0}),t.RespondToMCConversationDTOToJSON=t.RespondToMCConversationDTOFromJSONTyped=t.RespondToMCConversationDTOFromJSON=void 0,t.RespondToMCConversationDTOFromJSON=function(e){return n(e)},t.RespondToMCConversationDTOFromJSONTyped=n,t.RespondToMCConversationDTOToJSON=function(e){if(void 0!==e)return null===e?null:{mcId:e.mcId,response:e.response}}},8385:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ResponseAtomicTemplateToJSON=t.ResponseAtomicTemplateFromJSONTyped=t.ResponseAtomicTemplateFromJSON=t.ResponseAtomicTemplateHandoffIntentStateEnum=void 0;var i,r=n(296),o=n(1234);function a(e){return s(e)}function s(e,t){return null==e?e:{id:r.exists(e,"id")?e.id:void 0,scriptType:r.exists(e,"scriptType")?e.scriptType:void 0,organizationId:r.exists(e,"organizationId")?e.organizationId:void 0,category:r.exists(e,"category")?e.category:void 0,subIntent:r.exists(e,"subIntent")?e.subIntent:void 0,categoryReadableName:r.exists(e,"categoryReadableName")?e.categoryReadableName:void 0,responseText:r.exists(e,"responseText")?e.responseText:void 0,entity:r.exists(e,"entity")?e.entity:void 0,parent:r.exists(e,"parent")?e.parent:void 0,children:r.exists(e,"children")?e.children.map(a):void 0,attachments:r.exists(e,"attachments")?e.attachments.map(o.AttachmentFromJSON):void 0,aiTrainerInstructions:r.exists(e,"aiTrainerInstructions")?e.aiTrainerInstructions:void 0,handoffIntentState:r.exists(e,"handoffIntentState")?e.handoffIntentState:void 0,attachmentsFromDatabase:r.exists(e,"attachmentsFromDatabase")?e.attachmentsFromDatabase:void 0,superCategory:r.exists(e,"superCategory")?e.superCategory:void 0}}(i=t.ResponseAtomicTemplateHandoffIntentStateEnum||(t.ResponseAtomicTemplateHandoffIntentStateEnum={})).None="NONE",i.YellowStatus="YELLOW_STATUS",i.RedAlertSend="RED_ALERT_SEND",i.RedAlertDoNotSend="RED_ALERT_DO_NOT_SEND",t.ResponseAtomicTemplateFromJSON=a,t.ResponseAtomicTemplateFromJSONTyped=s,t.ResponseAtomicTemplateToJSON=function e(t){if(void 0!==t)return null===t?null:{id:t.id,scriptType:t.scriptType,organizationId:t.organizationId,category:t.category,subIntent:t.subIntent,categoryReadableName:t.categoryReadableName,responseText:t.responseText,entity:t.entity,parent:t.parent,children:void 0===t.children?void 0:t.children.map(e),attachments:void 0===t.attachments?void 0:t.attachments.map(o.AttachmentToJSON),aiTrainerInstructions:t.aiTrainerInstructions,handoffIntentState:t.handoffIntentState,attachmentsFromDatabase:t.attachmentsFromDatabase,superCategory:t.superCategory}}},6956:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ScheduleDtoToJSON=t.ScheduleDtoFromJSONTyped=t.ScheduleDtoFromJSON=t.ScheduleDtoTourTypeEnum=void 0;var i,r=n(296),o=n(5007);function a(e,t){return null==e?e:{guestCard:r.exists(e,"guestCard")?o.EliseGuestCardDtoFromJSON(e.guestCard):void 0,buildingId:r.exists(e,"buildingId")?e.buildingId:void 0,tourType:r.exists(e,"tourType")?e.tourType:void 0,unitId:r.exists(e,"unitId")?e.unitId:void 0,startTime:r.exists(e,"startTime")?e.startTime:void 0,endTime:r.exists(e,"endTime")?e.endTime:void 0,leasingAgentId:r.exists(e,"leasingAgentId")?e.leasingAgentId:void 0}}(i=t.ScheduleDtoTourTypeEnum||(t.ScheduleDtoTourTypeEnum={})).Unknown="UNKNOWN",i.SelfGuided="SELF_GUIDED",i.VirtualShowing="VIRTUAL_SHOWING",i.WithAgent="WITH_AGENT",i.MediaTour="MEDIA_TOUR",t.ScheduleDtoFromJSON=function(e){return a(e)},t.ScheduleDtoFromJSONTyped=a,t.ScheduleDtoToJSON=function(e){if(void 0!==e)return null===e?null:{guestCard:o.EliseGuestCardDtoToJSON(e.guestCard),buildingId:e.buildingId,tourType:e.tourType,unitId:e.unitId,startTime:e.startTime,endTime:e.endTime,leasingAgentId:e.leasingAgentId}}},2644:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ScriptToJSON=t.ScriptFromJSONTyped=t.ScriptFromJSON=t.ScriptHandoffIntentStateEnum=t.ScriptTypeEnum=t.ScriptMediaEnum=void 0;var i,r,o,a=n(296);function s(e,t){return null==e?e:{id:a.exists(e,"id")?e.id:void 0,organizationId:a.exists(e,"organizationId")?e.organizationId:void 0,media:a.exists(e,"media")?e.media:void 0,type:a.exists(e,"type")?e.type:void 0,category:a.exists(e,"category")?e.category:void 0,subIntent:a.exists(e,"subIntent")?e.subIntent:void 0,text:a.exists(e,"text")?e.text:void 0,handoffIntentState:a.exists(e,"handoffIntentState")?e.handoffIntentState:void 0,communityId:a.exists(e,"communityId")?e.communityId:void 0}}(o=t.ScriptMediaEnum||(t.ScriptMediaEnum={})).Both="BOTH",o.Email="EMAIL",o.Sms="SMS",(r=t.ScriptTypeEnum||(t.ScriptTypeEnum={})).All="ALL",r.Template="TEMPLATE",r.TemplateItem="TEMPLATE_ITEM",(i=t.ScriptHandoffIntentStateEnum||(t.ScriptHandoffIntentStateEnum={})).None="NONE",i.YellowStatus="YELLOW_STATUS",i.RedAlertSend="RED_ALERT_SEND",i.RedAlertDoNotSend="RED_ALERT_DO_NOT_SEND",t.ScriptFromJSON=function(e){return s(e)},t.ScriptFromJSONTyped=s,t.ScriptToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,organizationId:e.organizationId,media:e.media,type:e.type,category:e.category,subIntent:e.subIntent,text:e.text,handoffIntentState:e.handoffIntentState,communityId:e.communityId}}},4192:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ScriptSearchQueryToJSON=t.ScriptSearchQueryFromJSONTyped=t.ScriptSearchQueryFromJSON=t.ScriptSearchQueryMediaEnum=t.ScriptSearchQueryTypeEnum=void 0;var i,r,o=n(296);function a(e,t){return null==e?e:{organizationId:o.exists(e,"organizationId")?e.organizationId:void 0,communityId:o.exists(e,"communityId")?e.communityId:void 0,type:e.type,media:e.media,category:o.exists(e,"category")?e.category:void 0,subIntent:o.exists(e,"subIntent")?e.subIntent:void 0,searchText:o.exists(e,"searchText")?e.searchText:void 0}}(r=t.ScriptSearchQueryTypeEnum||(t.ScriptSearchQueryTypeEnum={})).All="ALL",r.Template="TEMPLATE",r.TemplateItem="TEMPLATE_ITEM",(i=t.ScriptSearchQueryMediaEnum||(t.ScriptSearchQueryMediaEnum={})).Both="BOTH",i.Email="EMAIL",i.Sms="SMS",t.ScriptSearchQueryFromJSON=function(e){return a(e)},t.ScriptSearchQueryFromJSONTyped=a,t.ScriptSearchQueryToJSON=function(e){if(void 0!==e)return null===e?null:{organizationId:e.organizationId,communityId:e.communityId,type:e.type,media:e.media,category:e.category,subIntent:e.subIntent,searchText:e.searchText}}},6832:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ScriptSearchResultToJSON=t.ScriptSearchResultFromJSONTyped=t.ScriptSearchResultFromJSON=void 0;var i=n(296),r=n(2644);function o(e,t){return null==e?e:{scripts:i.exists(e,"scripts")?e.scripts.map(r.ScriptFromJSON):void 0,truncated:i.exists(e,"truncated")?e.truncated:void 0}}t.ScriptSearchResultFromJSON=function(e){return o(e)},t.ScriptSearchResultFromJSONTyped=o,t.ScriptSearchResultToJSON=function(e){if(void 0!==e)return null===e?null:{scripts:void 0===e.scripts?void 0:e.scripts.map(r.ScriptToJSON),truncated:e.truncated}}},6865:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.SendAgentMessageDtoToJSON=t.SendAgentMessageDtoFromJSONTyped=t.SendAgentMessageDtoFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{message:i.exists(e,"message")?e.message:void 0,contextId:i.exists(e,"contextId")?e.contextId:void 0}}t.SendAgentMessageDtoFromJSON=function(e){return r(e)},t.SendAgentMessageDtoFromJSONTyped=r,t.SendAgentMessageDtoToJSON=function(e){if(void 0!==e)return null===e?null:{message:e.message,contextId:e.contextId}}},6448:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.SettingBooleanToJSON=t.SettingBooleanFromJSONTyped=t.SettingBooleanFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{value:i.exists(e,"value")?e.value:void 0,enabled:i.exists(e,"enabled")?e.enabled:void 0,locked:i.exists(e,"locked")?e.locked:void 0}}t.SettingBooleanFromJSON=function(e){return r(e)},t.SettingBooleanFromJSONTyped=r,t.SettingBooleanToJSON=function(e){if(void 0!==e)return null===e?null:{value:e.value,enabled:e.enabled,locked:e.locked}}},6161:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.SettingIntegerToJSON=t.SettingIntegerFromJSONTyped=t.SettingIntegerFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{value:i.exists(e,"value")?e.value:void 0,enabled:i.exists(e,"enabled")?e.enabled:void 0,locked:i.exists(e,"locked")?e.locked:void 0}}t.SettingIntegerFromJSON=function(e){return r(e)},t.SettingIntegerFromJSONTyped=r,t.SettingIntegerToJSON=function(e){if(void 0!==e)return null===e?null:{value:e.value,enabled:e.enabled,locked:e.locked}}},6069:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.SettingStringToJSON=t.SettingStringFromJSONTyped=t.SettingStringFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{value:i.exists(e,"value")?e.value:void 0,enabled:i.exists(e,"enabled")?e.enabled:void 0,locked:i.exists(e,"locked")?e.locked:void 0}}t.SettingStringFromJSON=function(e){return r(e)},t.SettingStringFromJSONTyped=r,t.SettingStringToJSON=function(e){if(void 0!==e)return null===e?null:{value:e.value,enabled:e.enabled,locked:e.locked}}},6122:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.SettingVirtualTourTypeToJSON=t.SettingVirtualTourTypeFromJSONTyped=t.SettingVirtualTourTypeFromJSON=t.SettingVirtualTourTypeValueEnum=void 0;var i,r=n(296);function o(e,t){return null==e?e:{value:r.exists(e,"value")?e.value:void 0,enabled:r.exists(e,"enabled")?e.enabled:void 0,locked:r.exists(e,"locked")?e.locked:void 0}}(i=t.SettingVirtualTourTypeValueEnum||(t.SettingVirtualTourTypeValueEnum={})).NotEnabled="NOT_ENABLED",i.SelfManaged="SELF_MANAGED",i.Whereby="WHEREBY",t.SettingVirtualTourTypeFromJSON=function(e){return o(e)},t.SettingVirtualTourTypeFromJSONTyped=o,t.SettingVirtualTourTypeToJSON=function(e){if(void 0!==e)return null===e?null:{value:e.value,enabled:e.enabled,locked:e.locked}}},5687:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ShowActionDtoToJSON=t.ShowActionDtoFromJSONTyped=t.ShowActionDtoFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{contextId:i.exists(e,"contextId")?e.contextId:void 0,buildingId:i.exists(e,"buildingId")?e.buildingId:void 0}}t.ShowActionDtoFromJSON=function(e){return r(e)},t.ShowActionDtoFromJSONTyped=r,t.ShowActionDtoToJSON=function(e){if(void 0!==e)return null===e?null:{contextId:e.contextId,buildingId:e.buildingId}}},2558:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.SubIntentMetadataToJSON=t.SubIntentMetadataFromJSONTyped=t.SubIntentMetadataFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{template:i.exists(e,"template")?e.template:void 0,filled:i.exists(e,"filled")?e.filled:void 0}}t.SubIntentMetadataFromJSON=function(e){return r(e)},t.SubIntentMetadataFromJSONTyped=r,t.SubIntentMetadataToJSON=function(e){if(void 0!==e)return null===e?null:{template:e.template,filled:e.filled}}},904:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.TourAvailabilityResponseToJSON=t.TourAvailabilityResponseFromJSONTyped=t.TourAvailabilityResponseFromJSON=t.TourAvailabilityResponseRankOrderedSupportedTourTypesEnum=void 0;var i,r=n(296),o=n(7346),a=n(9374);function s(e,t){return null==e?e:{availability:r.exists(e,"availability")?r.mapValues(e.availability,a.TourTypeAvailabilityFromJSON):void 0,calendarTimeZone:r.exists(e,"calendarTimeZone")?o.TourAvailabilityResponseCalendarTimeZoneFromJSON(e.calendarTimeZone):void 0,rankOrderedSupportedTourTypes:r.exists(e,"rankOrderedSupportedTourTypes")?e.rankOrderedSupportedTourTypes:void 0}}(i=t.TourAvailabilityResponseRankOrderedSupportedTourTypesEnum||(t.TourAvailabilityResponseRankOrderedSupportedTourTypesEnum={})).Unknown="UNKNOWN",i.SelfGuided="SELF_GUIDED",i.VirtualShowing="VIRTUAL_SHOWING",i.WithAgent="WITH_AGENT",i.MediaTour="MEDIA_TOUR",t.TourAvailabilityResponseFromJSON=function(e){return s(e)},t.TourAvailabilityResponseFromJSONTyped=s,t.TourAvailabilityResponseToJSON=function(e){if(void 0!==e)return null===e?null:{availability:void 0===e.availability?void 0:r.mapValues(e.availability,a.TourTypeAvailabilityToJSON),calendarTimeZone:o.TourAvailabilityResponseCalendarTimeZoneToJSON(e.calendarTimeZone),rankOrderedSupportedTourTypes:e.rankOrderedSupportedTourTypes}}},7346:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.TourAvailabilityResponseCalendarTimeZoneToJSON=t.TourAvailabilityResponseCalendarTimeZoneFromJSONTyped=t.TourAvailabilityResponseCalendarTimeZoneFromJSON=void 0;var i=n(296),r=n(6306);function o(e,t){return null==e?e:{rules:i.exists(e,"rules")?r.TourAvailabilityResponseCalendarTimeZoneRulesFromJSON(e.rules):void 0,id:i.exists(e,"id")?e.id:void 0}}t.TourAvailabilityResponseCalendarTimeZoneFromJSON=function(e){return o(e)},t.TourAvailabilityResponseCalendarTimeZoneFromJSONTyped=o,t.TourAvailabilityResponseCalendarTimeZoneToJSON=function(e){if(void 0!==e)return null===e?null:{rules:r.TourAvailabilityResponseCalendarTimeZoneRulesToJSON(e.rules),id:e.id}}},6306:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.TourAvailabilityResponseCalendarTimeZoneRulesToJSON=t.TourAvailabilityResponseCalendarTimeZoneRulesFromJSONTyped=t.TourAvailabilityResponseCalendarTimeZoneRulesFromJSON=void 0;var i=n(296),r=n(1155),o=n(8911);function a(e,t){return null==e?e:{transitions:i.exists(e,"transitions")?e.transitions.map(o.TourAvailabilityResponseCalendarTimeZoneRulesTransitionsFromJSON):void 0,fixedOffset:i.exists(e,"fixedOffset")?e.fixedOffset:void 0,transitionRules:i.exists(e,"transitionRules")?e.transitionRules.map(r.TourAvailabilityResponseCalendarTimeZoneRulesTransitionRulesFromJSON):void 0}}t.TourAvailabilityResponseCalendarTimeZoneRulesFromJSON=function(e){return a(e)},t.TourAvailabilityResponseCalendarTimeZoneRulesFromJSONTyped=a,t.TourAvailabilityResponseCalendarTimeZoneRulesToJSON=function(e){if(void 0!==e)return null===e?null:{transitions:void 0===e.transitions?void 0:e.transitions.map(o.TourAvailabilityResponseCalendarTimeZoneRulesTransitionsToJSON),fixedOffset:e.fixedOffset,transitionRules:void 0===e.transitionRules?void 0:e.transitionRules.map(r.TourAvailabilityResponseCalendarTimeZoneRulesTransitionRulesToJSON)}}},2977:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.TourAvailabilityResponseCalendarTimeZoneRulesDurationToJSON=t.TourAvailabilityResponseCalendarTimeZoneRulesDurationFromJSONTyped=t.TourAvailabilityResponseCalendarTimeZoneRulesDurationFromJSON=void 0;var i=n(296),r=n(1124);function o(e,t){return null==e?e:{seconds:i.exists(e,"seconds")?e.seconds:void 0,nano:i.exists(e,"nano")?e.nano:void 0,negative:i.exists(e,"negative")?e.negative:void 0,units:i.exists(e,"units")?e.units.map(r.TourAvailabilityResponseCalendarTimeZoneRulesDurationUnitsFromJSON):void 0,zero:i.exists(e,"zero")?e.zero:void 0}}t.TourAvailabilityResponseCalendarTimeZoneRulesDurationFromJSON=function(e){return o(e)},t.TourAvailabilityResponseCalendarTimeZoneRulesDurationFromJSONTyped=o,t.TourAvailabilityResponseCalendarTimeZoneRulesDurationToJSON=function(e){if(void 0!==e)return null===e?null:{seconds:e.seconds,nano:e.nano,negative:e.negative,units:void 0===e.units?void 0:e.units.map(r.TourAvailabilityResponseCalendarTimeZoneRulesDurationUnitsToJSON),zero:e.zero}}},1124:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.TourAvailabilityResponseCalendarTimeZoneRulesDurationUnitsToJSON=t.TourAvailabilityResponseCalendarTimeZoneRulesDurationUnitsFromJSONTyped=t.TourAvailabilityResponseCalendarTimeZoneRulesDurationUnitsFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{dateBased:i.exists(e,"dateBased")?e.dateBased:void 0,timeBased:i.exists(e,"timeBased")?e.timeBased:void 0,durationEstimated:i.exists(e,"durationEstimated")?e.durationEstimated:void 0}}t.TourAvailabilityResponseCalendarTimeZoneRulesDurationUnitsFromJSON=function(e){return r(e)},t.TourAvailabilityResponseCalendarTimeZoneRulesDurationUnitsFromJSONTyped=r,t.TourAvailabilityResponseCalendarTimeZoneRulesDurationUnitsToJSON=function(e){if(void 0!==e)return null===e?null:{dateBased:e.dateBased,timeBased:e.timeBased,durationEstimated:e.durationEstimated}}},827:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.TourAvailabilityResponseCalendarTimeZoneRulesOffsetBeforeToJSON=t.TourAvailabilityResponseCalendarTimeZoneRulesOffsetBeforeFromJSONTyped=t.TourAvailabilityResponseCalendarTimeZoneRulesOffsetBeforeFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{totalSeconds:i.exists(e,"totalSeconds")?e.totalSeconds:void 0,id:i.exists(e,"id")?e.id:void 0}}t.TourAvailabilityResponseCalendarTimeZoneRulesOffsetBeforeFromJSON=function(e){return r(e)},t.TourAvailabilityResponseCalendarTimeZoneRulesOffsetBeforeFromJSONTyped=r,t.TourAvailabilityResponseCalendarTimeZoneRulesOffsetBeforeToJSON=function(e){if(void 0!==e)return null===e?null:{totalSeconds:e.totalSeconds,id:e.id}}},1155:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.TourAvailabilityResponseCalendarTimeZoneRulesTransitionRulesToJSON=t.TourAvailabilityResponseCalendarTimeZoneRulesTransitionRulesFromJSONTyped=t.TourAvailabilityResponseCalendarTimeZoneRulesTransitionRulesFromJSON=t.TourAvailabilityResponseCalendarTimeZoneRulesTransitionRulesDayOfWeekEnum=t.TourAvailabilityResponseCalendarTimeZoneRulesTransitionRulesTimeDefinitionEnum=t.TourAvailabilityResponseCalendarTimeZoneRulesTransitionRulesMonthEnum=void 0;var i,r,o,a=n(296),s=n(7399),u=n(827);function l(e,t){return null==e?e:{month:a.exists(e,"month")?e.month:void 0,timeDefinition:a.exists(e,"timeDefinition")?e.timeDefinition:void 0,standardOffset:a.exists(e,"standardOffset")?u.TourAvailabilityResponseCalendarTimeZoneRulesOffsetBeforeFromJSON(e.standardOffset):void 0,offsetBefore:a.exists(e,"offsetBefore")?u.TourAvailabilityResponseCalendarTimeZoneRulesOffsetBeforeFromJSON(e.offsetBefore):void 0,offsetAfter:a.exists(e,"offsetAfter")?u.TourAvailabilityResponseCalendarTimeZoneRulesOffsetBeforeFromJSON(e.offsetAfter):void 0,dayOfWeek:a.exists(e,"dayOfWeek")?e.dayOfWeek:void 0,dayOfMonthIndicator:a.exists(e,"dayOfMonthIndicator")?e.dayOfMonthIndicator:void 0,localTime:a.exists(e,"localTime")?s.LocalTimeFromJSON(e.localTime):void 0,midnightEndOfDay:a.exists(e,"midnightEndOfDay")?e.midnightEndOfDay:void 0}}(o=t.TourAvailabilityResponseCalendarTimeZoneRulesTransitionRulesMonthEnum||(t.TourAvailabilityResponseCalendarTimeZoneRulesTransitionRulesMonthEnum={})).January="JANUARY",o.February="FEBRUARY",o.March="MARCH",o.April="APRIL",o.May="MAY",o.June="JUNE",o.July="JULY",o.August="AUGUST",o.September="SEPTEMBER",o.October="OCTOBER",o.November="NOVEMBER",o.December="DECEMBER",(r=t.TourAvailabilityResponseCalendarTimeZoneRulesTransitionRulesTimeDefinitionEnum||(t.TourAvailabilityResponseCalendarTimeZoneRulesTransitionRulesTimeDefinitionEnum={})).Utc="UTC",r.Wall="WALL",r.Standard="STANDARD",(i=t.TourAvailabilityResponseCalendarTimeZoneRulesTransitionRulesDayOfWeekEnum||(t.TourAvailabilityResponseCalendarTimeZoneRulesTransitionRulesDayOfWeekEnum={})).Monday="MONDAY",i.Tuesday="TUESDAY",i.Wednesday="WEDNESDAY",i.Thursday="THURSDAY",i.Friday="FRIDAY",i.Saturday="SATURDAY",i.Sunday="SUNDAY",t.TourAvailabilityResponseCalendarTimeZoneRulesTransitionRulesFromJSON=function(e){return l(e)},t.TourAvailabilityResponseCalendarTimeZoneRulesTransitionRulesFromJSONTyped=l,t.TourAvailabilityResponseCalendarTimeZoneRulesTransitionRulesToJSON=function(e){if(void 0!==e)return null===e?null:{month:e.month,timeDefinition:e.timeDefinition,standardOffset:u.TourAvailabilityResponseCalendarTimeZoneRulesOffsetBeforeToJSON(e.standardOffset),offsetBefore:u.TourAvailabilityResponseCalendarTimeZoneRulesOffsetBeforeToJSON(e.offsetBefore),offsetAfter:u.TourAvailabilityResponseCalendarTimeZoneRulesOffsetBeforeToJSON(e.offsetAfter),dayOfWeek:e.dayOfWeek,dayOfMonthIndicator:e.dayOfMonthIndicator,localTime:s.LocalTimeToJSON(e.localTime),midnightEndOfDay:e.midnightEndOfDay}}},8911:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.TourAvailabilityResponseCalendarTimeZoneRulesTransitionsToJSON=t.TourAvailabilityResponseCalendarTimeZoneRulesTransitionsFromJSONTyped=t.TourAvailabilityResponseCalendarTimeZoneRulesTransitionsFromJSON=void 0;var i=n(296),r=n(2977),o=n(827);function a(e,t){return null==e?e:{offsetBefore:i.exists(e,"offsetBefore")?o.TourAvailabilityResponseCalendarTimeZoneRulesOffsetBeforeFromJSON(e.offsetBefore):void 0,offsetAfter:i.exists(e,"offsetAfter")?o.TourAvailabilityResponseCalendarTimeZoneRulesOffsetBeforeFromJSON(e.offsetAfter):void 0,duration:i.exists(e,"duration")?r.TourAvailabilityResponseCalendarTimeZoneRulesDurationFromJSON(e.duration):void 0,dateTimeAfter:i.exists(e,"dateTimeAfter")?new Date(e.dateTimeAfter):void 0,gap:i.exists(e,"gap")?e.gap:void 0,overlap:i.exists(e,"overlap")?e.overlap:void 0,instant:i.exists(e,"instant")?new Date(e.instant):void 0,dateTimeBefore:i.exists(e,"dateTimeBefore")?new Date(e.dateTimeBefore):void 0}}t.TourAvailabilityResponseCalendarTimeZoneRulesTransitionsFromJSON=function(e){return a(e)},t.TourAvailabilityResponseCalendarTimeZoneRulesTransitionsFromJSONTyped=a,t.TourAvailabilityResponseCalendarTimeZoneRulesTransitionsToJSON=function(e){if(void 0!==e)return null===e?null:{offsetBefore:o.TourAvailabilityResponseCalendarTimeZoneRulesOffsetBeforeToJSON(e.offsetBefore),offsetAfter:o.TourAvailabilityResponseCalendarTimeZoneRulesOffsetBeforeToJSON(e.offsetAfter),duration:r.TourAvailabilityResponseCalendarTimeZoneRulesDurationToJSON(e.duration),dateTimeAfter:void 0===e.dateTimeAfter?void 0:e.dateTimeAfter.toISOString(),gap:e.gap,overlap:e.overlap,instant:void 0===e.instant?void 0:e.instant.toISOString(),dateTimeBefore:void 0===e.dateTimeBefore?void 0:e.dateTimeBefore.toISOString()}}},9374:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.TourTypeAvailabilityToJSON=t.TourTypeAvailabilityFromJSONTyped=t.TourTypeAvailabilityFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{tourDurationInMinutes:i.exists(e,"tourDurationInMinutes")?e.tourDurationInMinutes:void 0,availableTourStartTimes:i.exists(e,"availableTourStartTimes")?e.availableTourStartTimes:void 0}}t.TourTypeAvailabilityFromJSON=function(e){return r(e)},t.TourTypeAvailabilityFromJSONTyped=r,t.TourTypeAvailabilityToJSON=function(e){if(void 0!==e)return null===e?null:{tourDurationInMinutes:e.tourDurationInMinutes,availableTourStartTimes:e.availableTourStartTimes}}},6330:(e,t)=>{function n(e,t){return null==e?e:{value:e.value,label:e.label}}var i;Object.defineProperty(t,"__esModule",{value:!0}),t.TourTypeOptionToJSON=t.TourTypeOptionFromJSONTyped=t.TourTypeOptionFromJSON=t.TourTypeOptionValueEnum=void 0,(i=t.TourTypeOptionValueEnum||(t.TourTypeOptionValueEnum={})).Unknown="UNKNOWN",i.SelfGuided="SELF_GUIDED",i.VirtualShowing="VIRTUAL_SHOWING",i.WithAgent="WITH_AGENT",i.MediaTour="MEDIA_TOUR",t.TourTypeOptionFromJSON=function(e){return n(e)},t.TourTypeOptionFromJSONTyped=n,t.TourTypeOptionToJSON=function(e){if(void 0!==e)return null===e?null:{value:e.value,label:e.label}}},9275:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.UiBuildingDetailsToJSON=t.UiBuildingDetailsFromJSONTyped=t.UiBuildingDetailsFromJSON=t.UiBuildingDetailsVirtualTourTypeEnum=t.UiBuildingDetailsTourNotificationEmailsModeEnum=void 0;var i,r,o=n(296),a=n(3617);function s(e,t){return null==e?e:{id:o.exists(e,"id")?e.id:void 0,launchedDate:o.exists(e,"launchedDate")?new Date(e.launchedDate):void 0,managementCompanyId:o.exists(e,"managementCompanyId")?e.managementCompanyId:void 0,organizationId:o.exists(e,"organizationId")?e.organizationId:void 0,active:o.exists(e,"active")?e.active:void 0,handoffForwardToEmails:o.exists(e,"handoffForwardToEmails")?e.handoffForwardToEmails:void 0,responseCcEmails:o.exists(e,"responseCcEmails")?e.responseCcEmails:void 0,responseBccEmails:o.exists(e,"responseBccEmails")?e.responseBccEmails:void 0,associateCalendarId:o.exists(e,"associateCalendarId")?e.associateCalendarId:void 0,buildingName:o.exists(e,"buildingName")?e.buildingName:void 0,address1:o.exists(e,"address1")?e.address1:void 0,address2:o.exists(e,"address2")?e.address2:void 0,address3:o.exists(e,"address3")?e.address3:void 0,alternativeILSAddresses:o.exists(e,"alternativeILSAddresses")?e.alternativeILSAddresses:void 0,city:o.exists(e,"city")?e.city:void 0,state:o.exists(e,"state")?e.state:void 0,postalCode:o.exists(e,"postalCode")?e.postalCode:void 0,crossStreets:o.exists(e,"crossStreets")?e.crossStreets:void 0,neighborhood:o.exists(e,"neighborhood")?e.neighborhood:void 0,nearbyTransportation:o.exists(e,"nearbyTransportation")?e.nearbyTransportation:void 0,buildingOwnership:o.exists(e,"buildingOwnership")?e.buildingOwnership:void 0,buildingType:o.exists(e,"buildingType")?e.buildingType:void 0,totalUnits:o.exists(e,"totalUnits")?e.totalUnits:void 0,totalFloors:o.exists(e,"totalFloors")?e.totalFloors:void 0,yearBuilt:o.exists(e,"yearBuilt")?e.yearBuilt:void 0,block:o.exists(e,"block")?e.block:void 0,lot:o.exists(e,"lot")?e.lot:void 0,schoolDistrict:o.exists(e,"schoolDistrict")?e.schoolDistrict:void 0,communityDistrict:o.exists(e,"communityDistrict")?e.communityDistrict:void 0,newConstruction:o.exists(e,"newConstruction")?e.newConstruction:void 0,preWarBuilding:o.exists(e,"preWarBuilding")?e.preWarBuilding:void 0,brownstone:o.exists(e,"brownstone")?e.brownstone:void 0,greenBuilding:o.exists(e,"greenBuilding")?e.greenBuilding:void 0,elevator:o.exists(e,"elevator")?e.elevator:void 0,freightElevator:o.exists(e,"freightElevator")?e.freightElevator:void 0,parking:o.exists(e,"parking")?e.parking:void 0,petPolicy:o.exists(e,"petPolicy")?e.petPolicy:void 0,petNumberLimit:o.exists(e,"petNumberLimit")?e.petNumberLimit:void 0,petWeightLimit:o.exists(e,"petWeightLimit")?e.petWeightLimit:void 0,petFeeOrDeposit:o.exists(e,"petFeeOrDeposit")?e.petFeeOrDeposit:void 0,utilitiesIncluded:o.exists(e,"utilitiesIncluded")?e.utilitiesIncluded:void 0,utilitiesNotIncluded:o.exists(e,"utilitiesNotIncluded")?e.utilitiesNotIncluded:void 0,leaseTermsAccepted:o.exists(e,"leaseTermsAccepted")?e.leaseTermsAccepted:void 0,minLeaseTermAccepted:o.exists(e,"minLeaseTermAccepted")?e.minLeaseTermAccepted:void 0,furnishedOffered:o.exists(e,"furnishedOffered")?e.furnishedOffered:void 0,furnishedUnitsPolicy:o.exists(e,"furnishedUnitsPolicy")?e.furnishedUnitsPolicy:void 0,internationalStudentRequirements:o.exists(e,"internationalStudentRequirements")?e.internationalStudentRequirements:void 0,amenitiesFee:o.exists(e,"amenitiesFee")?e.amenitiesFee:void 0,nonSmoking:o.exists(e,"nonSmoking")?e.nonSmoking:void 0,piedATerreAllowed:o.exists(e,"piedATerreAllowed")?e.piedATerreAllowed:void 0,diplomatsOk:o.exists(e,"diplomatsOk")?e.diplomatsOk:void 0,corporateLeasesAccepted:o.exists(e,"corporateLeasesAccepted")?e.corporateLeasesAccepted:void 0,shortTermAllowed:o.exists(e,"shortTermAllowed")?e.shortTermAllowed:void 0,doorman:o.exists(e,"doorman")?e.doorman:void 0,intercom:o.exists(e,"intercom")?e.intercom:void 0,liveInSuper:o.exists(e,"liveInSuper")?e.liveInSuper:void 0,concierge:o.exists(e,"concierge")?e.concierge:void 0,laundryInBuilding:o.exists(e,"laundryInBuilding")?e.laundryInBuilding:void 0,packageReceiving:o.exists(e,"packageReceiving")?e.packageReceiving:void 0,gym:o.exists(e,"gym")?e.gym:void 0,storage:o.exists(e,"storage")?e.storage:void 0,bicycleRoom:o.exists(e,"bicycleRoom")?e.bicycleRoom:void 0,lounge:o.exists(e,"lounge")?e.lounge:void 0,clubHouse:o.exists(e,"clubHouse")?e.clubHouse:void 0,businessCenter:o.exists(e,"businessCenter")?e.businessCenter:void 0,outdoorSpace:o.exists(e,"outdoorSpace")?e.outdoorSpace:void 0,roofDeck:o.exists(e,"roofDeck")?e.roofDeck:void 0,courtyard:o.exists(e,"courtyard")?e.courtyard:void 0,childrenPlayroom:o.exists(e,"childrenPlayroom")?e.childrenPlayroom:void 0,nursery:o.exists(e,"nursery")?e.nursery:void 0,maidService:o.exists(e,"maidService")?e.maidService:void 0,pool:o.exists(e,"pool")?e.pool:void 0,wheelchairAccess:o.exists(e,"wheelchairAccess")?e.wheelchairAccess:void 0,guarantorTypesAccepted:o.exists(e,"guarantorTypesAccepted")?e.guarantorTypesAccepted:void 0,thirdPartyGuarantorTypesAccepted:o.exists(e,"thirdPartyGuarantorTypesAccepted")?e.thirdPartyGuarantorTypesAccepted:void 0,noCreditQualificationAlternative:o.exists(e,"noCreditQualificationAlternative")?e.noCreditQualificationAlternative:void 0,virtualTourPlatforms:o.exists(e,"virtualTourPlatforms")?e.virtualTourPlatforms:void 0,flexWallPolicy:o.exists(e,"flexWallPolicy")?e.flexWallPolicy:void 0,leaseholderApplicationFee:o.exists(e,"leaseholderApplicationFee")?e.leaseholderApplicationFee:void 0,occupantApplicationFee:o.exists(e,"occupantApplicationFee")?e.occupantApplicationFee:void 0,guarantorApplicationFee:o.exists(e,"guarantorApplicationFee")?e.guarantorApplicationFee:void 0,tenantIncomeRequirementRentMultiplier:o.exists(e,"tenantIncomeRequirementRentMultiplier")?e.tenantIncomeRequirementRentMultiplier:void 0,guarantorIncomeRequirementRentMultiplier:o.exists(e,"guarantorIncomeRequirementRentMultiplier")?e.guarantorIncomeRequirementRentMultiplier:void 0,incomeRequirementRentMultiplierTimePeriod:o.exists(e,"incomeRequirementRentMultiplierTimePeriod")?e.incomeRequirementRentMultiplierTimePeriod:void 0,leaseholderMinimumCreditScoreRequirement:o.exists(e,"leaseholderMinimumCreditScoreRequirement")?e.leaseholderMinimumCreditScoreRequirement:void 0,guarantorMinimumCreditScoreRequirement:o.exists(e,"guarantorMinimumCreditScoreRequirement")?e.guarantorMinimumCreditScoreRequirement:void 0,leaseholderApplicationDocumentsRequired:o.exists(e,"leaseholderApplicationDocumentsRequired")?e.leaseholderApplicationDocumentsRequired:void 0,selfEmployedApplicationDocumentsRequired:o.exists(e,"selfEmployedApplicationDocumentsRequired")?e.selfEmployedApplicationDocumentsRequired:void 0,guarantorApplicationDocumentsRequired:o.exists(e,"guarantorApplicationDocumentsRequired")?e.guarantorApplicationDocumentsRequired:void 0,guarantorsAccepted:o.exists(e,"guarantorsAccepted")?e.guarantorsAccepted:void 0,financialsInsufficientAlternative:o.exists(e,"financialsInsufficientAlternative")?e.financialsInsufficientAlternative:void 0,prepaymentPolicy:o.exists(e,"prepaymentPolicy")?e.prepaymentPolicy:void 0,rentRequiredOnLeaseSigning:o.exists(e,"rentRequiredOnLeaseSigning")?e.rentRequiredOnLeaseSigning:void 0,securityDepositRentMultiplier:o.exists(e,"securityDepositRentMultiplier")?e.securityDepositRentMultiplier:void 0,paymentFormsAccepted:o.exists(e,"paymentFormsAccepted")?e.paymentFormsAccepted:void 0,clientEmail:o.exists(e,"clientEmail")?e.clientEmail:void 0,description:o.exists(e,"description")?e.description:void 0,notes:o.exists(e,"notes")?e.notes:void 0,occupiedUnitsShowingHours:o.exists(e,"occupiedUnitsShowingHours")?e.occupiedUnitsShowingHours:void 0,leasingOfficeHours:o.exists(e,"leasingOfficeHours")?e.leasingOfficeHours:void 0,appointmentHours:o.exists(e,"appointmentHours")?e.appointmentHours.map(a.AppointmentHoursFromJSON):void 0,tourDuration:o.exists(e,"tourDuration")?e.tourDuration:void 0,internalNotes:o.exists(e,"internalNotes")?e.internalNotes:void 0,leasingPhoneNumber:o.exists(e,"leasingPhoneNumber")?e.leasingPhoneNumber:void 0,callCenterNumber:o.exists(e,"callCenterNumber")?e.callCenterNumber:void 0,buildingWebsiteUrl:o.exists(e,"buildingWebsiteUrl")?e.buildingWebsiteUrl:void 0,applicationLink:o.exists(e,"applicationLink")?e.applicationLink:void 0,geoAddress:o.exists(e,"geoAddress")?e.geoAddress:void 0,googleMapsUrl:o.exists(e,"googleMapsUrl")?e.googleMapsUrl:void 0,appointmentMeetingLocation:o.exists(e,"appointmentMeetingLocation")?e.appointmentMeetingLocation:void 0,appointmentMeetingPointSpecific:o.exists(e,"appointmentMeetingPointSpecific")?e.appointmentMeetingPointSpecific:void 0,appointmentDirections:o.exists(e,"appointmentDirections")?e.appointmentDirections:void 0,appointmentAdditionalDirections:o.exists(e,"appointmentAdditionalDirections")?e.appointmentAdditionalDirections:void 0,alerts:o.exists(e,"alerts")?e.alerts:void 0,rentComputeType:o.exists(e,"rentComputeType")?e.rentComputeType:void 0,autosendActive:o.exists(e,"autosendActive")?e.autosendActive:void 0,advancedMoveInAllowenceInDays:o.exists(e,"advancedMoveInAllowenceInDays")?e.advancedMoveInAllowenceInDays:void 0,showByOpenHouseOnly:o.exists(e,"showByOpenHouseOnly")?e.showByOpenHouseOnly:void 0,showUnitsWithPendingApplication:o.exists(e,"showUnitsWithPendingApplication")?e.showUnitsWithPendingApplication:void 0,showOccupiedUnitsWithPendingApplication:o.exists(e,"showOccupiedUnitsWithPendingApplication")?e.showOccupiedUnitsWithPendingApplication:void 0,confirmAppointmentsOccupiedUnits:o.exists(e,"confirmAppointmentsOccupiedUnits")?e.confirmAppointmentsOccupiedUnits:void 0,confirmAppointmentsRenovatingUnits:o.exists(e,"confirmAppointmentsRenovatingUnits")?e.confirmAppointmentsRenovatingUnits:void 0,occupiedUnitsAdvancedNoticeInHours:o.exists(e,"occupiedUnitsAdvancedNoticeInHours")?e.occupiedUnitsAdvancedNoticeInHours:void 0,alternativeBuildingNames:o.exists(e,"alternativeBuildingNames")?e.alternativeBuildingNames:void 0,externalIds:o.exists(e,"externalIds")?e.externalIds:void 0,externalCrmId:o.exists(e,"externalCrmId")?e.externalCrmId:void 0,defaultAvailabilityQuoteMatchMoveInDate:o.exists(e,"defaultAvailabilityQuoteMatchMoveInDate")?e.defaultAvailabilityQuoteMatchMoveInDate:void 0,leaseRenewalNoticeInDays:o.exists(e,"leaseRenewalNoticeInDays")?e.leaseRenewalNoticeInDays:void 0,rentQuoteFormat:o.exists(e,"rentQuoteFormat")?e.rentQuoteFormat:void 0,rentWithIncentivesQuoteFormat:o.exists(e,"rentWithIncentivesQuoteFormat")?e.rentWithIncentivesQuoteFormat:void 0,isPartOfComplex:o.exists(e,"isPartOfComplex")?e.isPartOfComplex:void 0,effectiveRentComputeType:o.exists(e,"effectiveRentComputeType")?e.effectiveRentComputeType:void 0,maxLeaseTermAccepted:o.exists(e,"maxLeaseTermAccepted")?e.maxLeaseTermAccepted:void 0,parkingInformation:o.exists(e,"parkingInformation")?e.parkingInformation:void 0,storageFee:o.exists(e,"storageFee")?e.storageFee:void 0,incentivesProperlyConnected:o.exists(e,"incentivesProperlyConnected")?e.incentivesProperlyConnected:void 0,prioritizeShowingVacantUnits:o.exists(e,"prioritizeShowingVacantUnits")?e.prioritizeShowingVacantUnits:void 0,electricCompany:o.exists(e,"electricCompany")?e.electricCompany:void 0,gasCompany:o.exists(e,"gasCompany")?e.gasCompany:void 0,telephoneCompany:o.exists(e,"telephoneCompany")?e.telephoneCompany:void 0,televisionCompany:o.exists(e,"televisionCompany")?e.televisionCompany:void 0,waterCompany:o.exists(e,"waterCompany")?e.waterCompany:void 0,internetCompany:o.exists(e,"internetCompany")?e.internetCompany:void 0,localHospital:o.exists(e,"localHospital")?e.localHospital:void 0,localSchoolDistrict:o.exists(e,"localSchoolDistrict")?e.localSchoolDistrict:void 0,localElementarySchool:o.exists(e,"localElementarySchool")?e.localElementarySchool:void 0,localMiddleSchool:o.exists(e,"localMiddleSchool")?e.localMiddleSchool:void 0,localHighSchool:o.exists(e,"localHighSchool")?e.localHighSchool:void 0,localShoppingCenter:o.exists(e,"localShoppingCenter")?e.localShoppingCenter:void 0,localGroceryStore:o.exists(e,"localGroceryStore")?e.localGroceryStore:void 0,closestInterstates:o.exists(e,"closestInterstates")?e.closestInterstates:void 0,buildingPicturesUrl:o.exists(e,"buildingPicturesUrl")?e.buildingPicturesUrl:void 0,buildingFloorPlansUrl:o.exists(e,"buildingFloorPlansUrl")?e.buildingFloorPlansUrl:void 0,nonexistentLayouts:o.exists(e,"nonexistentLayouts")?e.nonexistentLayouts:void 0,offeredLayouts:o.exists(e,"offeredLayouts")?e.offeredLayouts:void 0,avoidQuotingPrices:o.exists(e,"avoidQuotingPrices")?e.avoidQuotingPrices:void 0,excludeNotRentReadyUnit:o.exists(e,"excludeNotRentReadyUnit")?e.excludeNotRentReadyUnit:void 0,flexWallsAllowed:o.exists(e,"flexWallsAllowed")?e.flexWallsAllowed:void 0,petsAccepted:o.exists(e,"petsAccepted")?e.petsAccepted:void 0,showOccupiedUnits:o.exists(e,"showOccupiedUnits")?e.showOccupiedUnits:void 0,guarantorsAcceptedSwitch:o.exists(e,"guarantorsAcceptedSwitch")?e.guarantorsAcceptedSwitch:void 0,thirdPartyGuarantorsAccepted:o.exists(e,"thirdPartyGuarantorsAccepted")?e.thirdPartyGuarantorsAccepted:void 0,alwaysScheduleAppointments:o.exists(e,"alwaysScheduleAppointments")?e.alwaysScheduleAppointments:void 0,leasingOfficeOnsite:o.exists(e,"leasingOfficeOnsite")?e.leasingOfficeOnsite:void 0,building3dMediaUrl:o.exists(e,"building3dMediaUrl")?e.building3dMediaUrl:void 0,dailyReportEmails:o.exists(e,"dailyReportEmails")?e.dailyReportEmails:void 0,weeklyReportEmails:o.exists(e,"weeklyReportEmails")?e.weeklyReportEmails:void 0,nearbySubways:o.exists(e,"nearbySubways")?e.nearbySubways:void 0,bedroomTypes:o.exists(e,"bedroomTypes")?e.bedroomTypes:void 0,inPersonToursAllowed:o.exists(e,"inPersonToursAllowed")?e.inPersonToursAllowed:void 0,selfGuidedToursEnabled:o.exists(e,"selfGuidedToursEnabled")?e.selfGuidedToursEnabled:void 0,liveVirtualToursAllowed:o.exists(e,"liveVirtualToursAllowed")?e.liveVirtualToursAllowed:void 0,noUnitSelfGuidedTourAllowed:o.exists(e,"noUnitSelfGuidedTourAllowed")?e.noUnitSelfGuidedTourAllowed:void 0,sgSchedulingBasedOnNormalAppointments:o.exists(e,"sgSchedulingBasedOnNormalAppointments")?e.sgSchedulingBasedOnNormalAppointments:void 0,leasingBrochureUrl:o.exists(e,"leasingBrochureUrl")?e.leasingBrochureUrl:void 0,textForwardToEmails:o.exists(e,"textForwardToEmails")?e.textForwardToEmails:void 0,omitDesiredFloorPlan:o.exists(e,"omitDesiredFloorPlan")?e.omitDesiredFloorPlan:void 0,tourNotificationEmailsMode:o.exists(e,"tourNotificationEmailsMode")?e.tourNotificationEmailsMode:void 0,virtualTourType:o.exists(e,"virtualTourType")?e.virtualTourType:void 0,showNotRespondingLeadsInReport:o.exists(e,"showNotRespondingLeadsInReport")?e.showNotRespondingLeadsInReport:void 0,emailSignature:o.exists(e,"emailSignature")?e.emailSignature:void 0,sgtUrl:o.exists(e,"sgtUrl")?e.sgtUrl:void 0,preRecordedVirtualTourUrl:o.exists(e,"preRecordedVirtualTourUrl")?e.preRecordedVirtualTourUrl:void 0,liveVirtualToursLink:o.exists(e,"liveVirtualToursLink")?e.liveVirtualToursLink:void 0,selfGuidedToursLink:o.exists(e,"selfGuidedToursLink")?e.selfGuidedToursLink:void 0}}(r=t.UiBuildingDetailsTourNotificationEmailsModeEnum||(t.UiBuildingDetailsTourNotificationEmailsModeEnum={})).NoNotification="NO_NOTIFICATION",r.AllViewings="ALL_VIEWINGS",r.SameDayViewings="SAME_DAY_VIEWINGS",(i=t.UiBuildingDetailsVirtualTourTypeEnum||(t.UiBuildingDetailsVirtualTourTypeEnum={})).NotEnabled="NOT_ENABLED",i.SelfManaged="SELF_MANAGED",i.Whereby="WHEREBY",t.UiBuildingDetailsFromJSON=function(e){return s(e)},t.UiBuildingDetailsFromJSONTyped=s,t.UiBuildingDetailsToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,launchedDate:void 0===e.launchedDate?void 0:e.launchedDate.toISOString(),managementCompanyId:e.managementCompanyId,organizationId:e.organizationId,active:e.active,handoffForwardToEmails:e.handoffForwardToEmails,responseCcEmails:e.responseCcEmails,responseBccEmails:e.responseBccEmails,associateCalendarId:e.associateCalendarId,buildingName:e.buildingName,address1:e.address1,address2:e.address2,address3:e.address3,alternativeILSAddresses:e.alternativeILSAddresses,city:e.city,state:e.state,postalCode:e.postalCode,crossStreets:e.crossStreets,neighborhood:e.neighborhood,nearbyTransportation:e.nearbyTransportation,buildingOwnership:e.buildingOwnership,buildingType:e.buildingType,totalUnits:e.totalUnits,totalFloors:e.totalFloors,yearBuilt:e.yearBuilt,block:e.block,lot:e.lot,schoolDistrict:e.schoolDistrict,communityDistrict:e.communityDistrict,newConstruction:e.newConstruction,preWarBuilding:e.preWarBuilding,brownstone:e.brownstone,greenBuilding:e.greenBuilding,elevator:e.elevator,freightElevator:e.freightElevator,parking:e.parking,petPolicy:e.petPolicy,petNumberLimit:e.petNumberLimit,petWeightLimit:e.petWeightLimit,petFeeOrDeposit:e.petFeeOrDeposit,utilitiesIncluded:e.utilitiesIncluded,utilitiesNotIncluded:e.utilitiesNotIncluded,leaseTermsAccepted:e.leaseTermsAccepted,minLeaseTermAccepted:e.minLeaseTermAccepted,furnishedOffered:e.furnishedOffered,furnishedUnitsPolicy:e.furnishedUnitsPolicy,internationalStudentRequirements:e.internationalStudentRequirements,amenitiesFee:e.amenitiesFee,nonSmoking:e.nonSmoking,piedATerreAllowed:e.piedATerreAllowed,diplomatsOk:e.diplomatsOk,corporateLeasesAccepted:e.corporateLeasesAccepted,shortTermAllowed:e.shortTermAllowed,doorman:e.doorman,intercom:e.intercom,liveInSuper:e.liveInSuper,concierge:e.concierge,laundryInBuilding:e.laundryInBuilding,packageReceiving:e.packageReceiving,gym:e.gym,storage:e.storage,bicycleRoom:e.bicycleRoom,lounge:e.lounge,clubHouse:e.clubHouse,businessCenter:e.businessCenter,outdoorSpace:e.outdoorSpace,roofDeck:e.roofDeck,courtyard:e.courtyard,childrenPlayroom:e.childrenPlayroom,nursery:e.nursery,maidService:e.maidService,pool:e.pool,wheelchairAccess:e.wheelchairAccess,guarantorTypesAccepted:e.guarantorTypesAccepted,thirdPartyGuarantorTypesAccepted:e.thirdPartyGuarantorTypesAccepted,noCreditQualificationAlternative:e.noCreditQualificationAlternative,virtualTourPlatforms:e.virtualTourPlatforms,flexWallPolicy:e.flexWallPolicy,leaseholderApplicationFee:e.leaseholderApplicationFee,occupantApplicationFee:e.occupantApplicationFee,guarantorApplicationFee:e.guarantorApplicationFee,tenantIncomeRequirementRentMultiplier:e.tenantIncomeRequirementRentMultiplier,guarantorIncomeRequirementRentMultiplier:e.guarantorIncomeRequirementRentMultiplier,incomeRequirementRentMultiplierTimePeriod:e.incomeRequirementRentMultiplierTimePeriod,leaseholderMinimumCreditScoreRequirement:e.leaseholderMinimumCreditScoreRequirement,guarantorMinimumCreditScoreRequirement:e.guarantorMinimumCreditScoreRequirement,leaseholderApplicationDocumentsRequired:e.leaseholderApplicationDocumentsRequired,selfEmployedApplicationDocumentsRequired:e.selfEmployedApplicationDocumentsRequired,guarantorApplicationDocumentsRequired:e.guarantorApplicationDocumentsRequired,guarantorsAccepted:e.guarantorsAccepted,financialsInsufficientAlternative:e.financialsInsufficientAlternative,prepaymentPolicy:e.prepaymentPolicy,rentRequiredOnLeaseSigning:e.rentRequiredOnLeaseSigning,securityDepositRentMultiplier:e.securityDepositRentMultiplier,paymentFormsAccepted:e.paymentFormsAccepted,clientEmail:e.clientEmail,description:e.description,notes:e.notes,occupiedUnitsShowingHours:e.occupiedUnitsShowingHours,leasingOfficeHours:e.leasingOfficeHours,appointmentHours:void 0===e.appointmentHours?void 0:e.appointmentHours.map(a.AppointmentHoursToJSON),tourDuration:e.tourDuration,internalNotes:e.internalNotes,leasingPhoneNumber:e.leasingPhoneNumber,callCenterNumber:e.callCenterNumber,buildingWebsiteUrl:e.buildingWebsiteUrl,applicationLink:e.applicationLink,geoAddress:e.geoAddress,googleMapsUrl:e.googleMapsUrl,appointmentMeetingLocation:e.appointmentMeetingLocation,appointmentMeetingPointSpecific:e.appointmentMeetingPointSpecific,appointmentDirections:e.appointmentDirections,appointmentAdditionalDirections:e.appointmentAdditionalDirections,alerts:e.alerts,rentComputeType:e.rentComputeType,autosendActive:e.autosendActive,advancedMoveInAllowenceInDays:e.advancedMoveInAllowenceInDays,showByOpenHouseOnly:e.showByOpenHouseOnly,showUnitsWithPendingApplication:e.showUnitsWithPendingApplication,showOccupiedUnitsWithPendingApplication:e.showOccupiedUnitsWithPendingApplication,confirmAppointmentsOccupiedUnits:e.confirmAppointmentsOccupiedUnits,confirmAppointmentsRenovatingUnits:e.confirmAppointmentsRenovatingUnits,occupiedUnitsAdvancedNoticeInHours:e.occupiedUnitsAdvancedNoticeInHours,alternativeBuildingNames:e.alternativeBuildingNames,externalIds:e.externalIds,externalCrmId:e.externalCrmId,defaultAvailabilityQuoteMatchMoveInDate:e.defaultAvailabilityQuoteMatchMoveInDate,leaseRenewalNoticeInDays:e.leaseRenewalNoticeInDays,rentQuoteFormat:e.rentQuoteFormat,rentWithIncentivesQuoteFormat:e.rentWithIncentivesQuoteFormat,isPartOfComplex:e.isPartOfComplex,effectiveRentComputeType:e.effectiveRentComputeType,maxLeaseTermAccepted:e.maxLeaseTermAccepted,parkingInformation:e.parkingInformation,storageFee:e.storageFee,incentivesProperlyConnected:e.incentivesProperlyConnected,prioritizeShowingVacantUnits:e.prioritizeShowingVacantUnits,electricCompany:e.electricCompany,gasCompany:e.gasCompany,telephoneCompany:e.telephoneCompany,televisionCompany:e.televisionCompany,waterCompany:e.waterCompany,internetCompany:e.internetCompany,localHospital:e.localHospital,localSchoolDistrict:e.localSchoolDistrict,localElementarySchool:e.localElementarySchool,localMiddleSchool:e.localMiddleSchool,localHighSchool:e.localHighSchool,localShoppingCenter:e.localShoppingCenter,localGroceryStore:e.localGroceryStore,closestInterstates:e.closestInterstates,buildingPicturesUrl:e.buildingPicturesUrl,buildingFloorPlansUrl:e.buildingFloorPlansUrl,nonexistentLayouts:e.nonexistentLayouts,offeredLayouts:e.offeredLayouts,avoidQuotingPrices:e.avoidQuotingPrices,excludeNotRentReadyUnit:e.excludeNotRentReadyUnit,flexWallsAllowed:e.flexWallsAllowed,petsAccepted:e.petsAccepted,showOccupiedUnits:e.showOccupiedUnits,guarantorsAcceptedSwitch:e.guarantorsAcceptedSwitch,thirdPartyGuarantorsAccepted:e.thirdPartyGuarantorsAccepted,alwaysScheduleAppointments:e.alwaysScheduleAppointments,leasingOfficeOnsite:e.leasingOfficeOnsite,building3dMediaUrl:e.building3dMediaUrl,dailyReportEmails:e.dailyReportEmails,weeklyReportEmails:e.weeklyReportEmails,nearbySubways:e.nearbySubways,bedroomTypes:e.bedroomTypes,inPersonToursAllowed:e.inPersonToursAllowed,selfGuidedToursEnabled:e.selfGuidedToursEnabled,liveVirtualToursAllowed:e.liveVirtualToursAllowed,noUnitSelfGuidedTourAllowed:e.noUnitSelfGuidedTourAllowed,sgSchedulingBasedOnNormalAppointments:e.sgSchedulingBasedOnNormalAppointments,leasingBrochureUrl:e.leasingBrochureUrl,textForwardToEmails:e.textForwardToEmails,omitDesiredFloorPlan:e.omitDesiredFloorPlan,tourNotificationEmailsMode:e.tourNotificationEmailsMode,virtualTourType:e.virtualTourType,showNotRespondingLeadsInReport:e.showNotRespondingLeadsInReport,emailSignature:e.emailSignature,sgtUrl:e.sgtUrl,preRecordedVirtualTourUrl:e.preRecordedVirtualTourUrl,liveVirtualToursLink:e.liveVirtualToursLink,selfGuidedToursLink:e.selfGuidedToursLink}}},260:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.UnitDetailsToJSON=t.UnitDetailsFromJSONTyped=t.UnitDetailsFromJSON=void 0;var i=n(296),r=n(3617),o=n(5604);function a(e,t){return null==e?e:{id:i.exists(e,"id")?e.id:void 0,buildingId:i.exists(e,"buildingId")?e.buildingId:void 0,timeCreated:i.exists(e,"timeCreated")?new Date(e.timeCreated):void 0,active:i.exists(e,"active")?e.active:void 0,unitNumber:i.exists(e,"unitNumber")?e.unitNumber:void 0,description:i.exists(e,"description")?e.description:void 0,dateAvailable:i.exists(e,"dateAvailable")?new Date(e.dateAvailable):void 0,firstShowingDate:i.exists(e,"firstShowingDate")?new Date(e.firstShowingDate):void 0,applicationStatus:i.exists(e,"applicationStatus")?e.applicationStatus:void 0,availabilityStage:i.exists(e,"availabilityStage")?e.availabilityStage:void 0,viewingTimes:i.exists(e,"viewingTimes")?e.viewingTimes:void 0,tenantOccupied:i.exists(e,"tenantOccupied")?e.tenantOccupied:void 0,openHouse:i.exists(e,"openHouse")?e.openHouse.map(r.AppointmentHoursFromJSON):void 0,minLeaseTerm:i.exists(e,"minLeaseTerm")?e.minLeaseTerm:void 0,maxLeaseTerm:i.exists(e,"maxLeaseTerm")?e.maxLeaseTerm:void 0,floorplanLink:i.exists(e,"floorplanLink")?e.floorplanLink:void 0,floorplanFileType:i.exists(e,"floorplanFileType")?e.floorplanFileType:void 0,applicationUrl:i.exists(e,"applicationUrl")?e.applicationUrl:void 0,numberOfBedrooms:i.exists(e,"numberOfBedrooms")?e.numberOfBedrooms:void 0,numberOfBathrooms:i.exists(e,"numberOfBathrooms")?e.numberOfBathrooms:void 0,totalRooms:i.exists(e,"totalRooms")?e.totalRooms:void 0,layout:i.exists(e,"layout")?e.layout:void 0,layoutDescription:i.exists(e,"layoutDescription")?e.layoutDescription:void 0,convertible:i.exists(e,"convertible")?e.convertible:void 0,partitionTypesAllowed:i.exists(e,"partitionTypesAllowed")?e.partitionTypesAllowed:void 0,furnished:i.exists(e,"furnished")?e.furnished:void 0,furnishedAddedPrice:i.exists(e,"furnishedAddedPrice")?e.furnishedAddedPrice:void 0,laundryInUnit:i.exists(e,"laundryInUnit")?e.laundryInUnit:void 0,windowAirConditioning:i.exists(e,"windowAirConditioning")?e.windowAirConditioning:void 0,centralAirConditioning:i.exists(e,"centralAirConditioning")?e.centralAirConditioning:void 0,ceilingFan:i.exists(e,"ceilingFan")?e.ceilingFan:void 0,centralHeating:i.exists(e,"centralHeating")?e.centralHeating:void 0,dishwasher:i.exists(e,"dishwasher")?e.dishwasher:void 0,walkInCloset:i.exists(e,"walkInCloset")?e.walkInCloset:void 0,microwave:i.exists(e,"microwave")?e.microwave:void 0,hardwoodFloors:i.exists(e,"hardwoodFloors")?e.hardwoodFloors:void 0,carpet:i.exists(e,"carpet")?e.carpet:void 0,highCeilings:i.exists(e,"highCeilings")?e.highCeilings:void 0,floorToCeilingWindows:i.exists(e,"floorToCeilingWindows")?e.floorToCeilingWindows:void 0,fireplace:i.exists(e,"fireplace")?e.fireplace:void 0,exposure:i.exists(e,"exposure")?e.exposure:void 0,view:i.exists(e,"view")?e.view:void 0,viewDescription:i.exists(e,"viewDescription")?e.viewDescription:void 0,assignedParking:i.exists(e,"assignedParking")?e.assignedParking:void 0,privateOutDoorSpace:i.exists(e,"privateOutDoorSpace")?e.privateOutDoorSpace:void 0,incentive:i.exists(e,"incentive")?e.incentive:void 0,notes:i.exists(e,"notes")?e.notes:void 0,brokerUnitDescription:i.exists(e,"brokerUnitDescription")?e.brokerUnitDescription:void 0,brokerFeeStructure:i.exists(e,"brokerFeeStructure")?e.brokerFeeStructure:void 0,defaultUnitCurrentAvailabilities:i.exists(e,"defaultUnitCurrentAvailabilities")?e.defaultUnitCurrentAvailabilities:void 0,building:i.exists(e,"building")?o.BuildingDetailsFromJSON(e.building):void 0,numberOfAvailableUnits:i.exists(e,"numberOfAvailableUnits")?e.numberOfAvailableUnits:void 0,rent:i.exists(e,"rent")?e.rent:void 0,grossRent:i.exists(e,"grossRent")?e.grossRent:void 0,brokerNetRent:i.exists(e,"brokerNetRent")?e.brokerNetRent:void 0,squareFootage:i.exists(e,"squareFootage")?e.squareFootage:void 0,floor:i.exists(e,"floor")?e.floor:void 0,maxRent:i.exists(e,"maxRent")?e.maxRent:void 0,maxGrossRent:i.exists(e,"maxGrossRent")?e.maxGrossRent:void 0,maxBrokerNetRent:i.exists(e,"maxBrokerNetRent")?e.maxBrokerNetRent:void 0,maxSquareFootage:i.exists(e,"maxSquareFootage")?e.maxSquareFootage:void 0,maxFloor:i.exists(e,"maxFloor")?e.maxFloor:void 0,complexId:i.exists(e,"complexId")?e.complexId:void 0,alternativeUnitNumbers:i.exists(e,"alternativeUnitNumbers")?e.alternativeUnitNumbers:void 0,externalId:i.exists(e,"externalId")?e.externalId:void 0,alternativeBuildingCrmId:i.exists(e,"alternativeBuildingCrmId")?e.alternativeBuildingCrmId:void 0,externalFloorPlanDescriptionId:i.exists(e,"externalFloorPlanDescriptionId")?e.externalFloorPlanDescriptionId:void 0,walkinUrl:i.exists(e,"walkinUrl")?e.walkinUrl:void 0,marketRateUnit:i.exists(e,"marketRateUnit")?e.marketRateUnit:void 0,_new:i.exists(e,"new")?e.new:void 0}}t.UnitDetailsFromJSON=function(e){return a(e)},t.UnitDetailsFromJSONTyped=a,t.UnitDetailsToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,buildingId:e.buildingId,timeCreated:void 0===e.timeCreated?void 0:e.timeCreated.toISOString(),active:e.active,unitNumber:e.unitNumber,description:e.description,dateAvailable:void 0===e.dateAvailable?void 0:e.dateAvailable.toISOString(),firstShowingDate:void 0===e.firstShowingDate?void 0:e.firstShowingDate.toISOString(),applicationStatus:e.applicationStatus,availabilityStage:e.availabilityStage,viewingTimes:e.viewingTimes,tenantOccupied:e.tenantOccupied,openHouse:void 0===e.openHouse?void 0:e.openHouse.map(r.AppointmentHoursToJSON),minLeaseTerm:e.minLeaseTerm,maxLeaseTerm:e.maxLeaseTerm,floorplanLink:e.floorplanLink,floorplanFileType:e.floorplanFileType,applicationUrl:e.applicationUrl,numberOfBedrooms:e.numberOfBedrooms,numberOfBathrooms:e.numberOfBathrooms,totalRooms:e.totalRooms,layout:e.layout,layoutDescription:e.layoutDescription,convertible:e.convertible,partitionTypesAllowed:e.partitionTypesAllowed,furnished:e.furnished,furnishedAddedPrice:e.furnishedAddedPrice,laundryInUnit:e.laundryInUnit,windowAirConditioning:e.windowAirConditioning,centralAirConditioning:e.centralAirConditioning,ceilingFan:e.ceilingFan,centralHeating:e.centralHeating,dishwasher:e.dishwasher,walkInCloset:e.walkInCloset,microwave:e.microwave,hardwoodFloors:e.hardwoodFloors,carpet:e.carpet,highCeilings:e.highCeilings,floorToCeilingWindows:e.floorToCeilingWindows,fireplace:e.fireplace,exposure:e.exposure,view:e.view,viewDescription:e.viewDescription,assignedParking:e.assignedParking,privateOutDoorSpace:e.privateOutDoorSpace,incentive:e.incentive,notes:e.notes,brokerUnitDescription:e.brokerUnitDescription,brokerFeeStructure:e.brokerFeeStructure,defaultUnitCurrentAvailabilities:e.defaultUnitCurrentAvailabilities,building:o.BuildingDetailsToJSON(e.building),numberOfAvailableUnits:e.numberOfAvailableUnits,rent:e.rent,grossRent:e.grossRent,brokerNetRent:e.brokerNetRent,squareFootage:e.squareFootage,floor:e.floor,maxRent:e.maxRent,maxGrossRent:e.maxGrossRent,maxBrokerNetRent:e.maxBrokerNetRent,maxSquareFootage:e.maxSquareFootage,maxFloor:e.maxFloor,complexId:e.complexId,alternativeUnitNumbers:e.alternativeUnitNumbers,externalId:e.externalId,alternativeBuildingCrmId:e.alternativeBuildingCrmId,externalFloorPlanDescriptionId:e.externalFloorPlanDescriptionId,walkinUrl:e.walkinUrl,marketRateUnit:e.marketRateUnit,new:e._new}}},1161:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.UnitIncentiveToJSON=t.UnitIncentiveFromJSONTyped=t.UnitIncentiveFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{id:i.exists(e,"id")?e.id:void 0,unitId:i.exists(e,"unitId")?e.unitId:void 0,typeOfIncentive:i.exists(e,"typeOfIncentive")?e.typeOfIncentive:void 0,noFee:i.exists(e,"noFee")?e.noFee:void 0,numberFreeMonths:i.exists(e,"numberFreeMonths")?e.numberFreeMonths:void 0,leaseLength:i.exists(e,"leaseLength")?e.leaseLength:void 0,typeOfCustomerItAppliesTo:i.exists(e,"typeOfCustomerItAppliesTo")?e.typeOfCustomerItAppliesTo:void 0,numberOfMonthsOwnerPays:i.exists(e,"numberOfMonthsOwnerPays")?e.numberOfMonthsOwnerPays:void 0,originalIncentiveString:i.exists(e,"originalIncentiveString")?e.originalIncentiveString:void 0,active:i.exists(e,"active")?e.active:void 0,incentiveInformationString:i.exists(e,"incentiveInformationString")?e.incentiveInformationString:void 0,asJson:i.exists(e,"asJson")?e.asJson:void 0,valid:i.exists(e,"valid")?e.valid:void 0}}t.UnitIncentiveFromJSON=function(e){return r(e)},t.UnitIncentiveFromJSONTyped=r,t.UnitIncentiveToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,unitId:e.unitId,typeOfIncentive:e.typeOfIncentive,noFee:e.noFee,numberFreeMonths:e.numberFreeMonths,leaseLength:e.leaseLength,typeOfCustomerItAppliesTo:e.typeOfCustomerItAppliesTo,numberOfMonthsOwnerPays:e.numberOfMonthsOwnerPays,originalIncentiveString:e.originalIncentiveString,active:e.active,incentiveInformationString:e.incentiveInformationString,asJson:e.asJson,valid:e.valid}}},5239:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.UnitIncentiveResultToJSON=t.UnitIncentiveResultFromJSONTyped=t.UnitIncentiveResultFromJSON=void 0;var i=n(296),r=n(1161);function o(e,t){return null==e?e:{tenantUnitIncentives:i.exists(e,"tenantUnitIncentives")?e.tenantUnitIncentives.map(r.UnitIncentiveFromJSON):void 0,brokerUnitIncentives:i.exists(e,"brokerUnitIncentives")?e.brokerUnitIncentives.map(r.UnitIncentiveFromJSON):void 0}}t.UnitIncentiveResultFromJSON=function(e){return o(e)},t.UnitIncentiveResultFromJSONTyped=o,t.UnitIncentiveResultToJSON=function(e){if(void 0!==e)return null===e?null:{tenantUnitIncentives:void 0===e.tenantUnitIncentives?void 0:e.tenantUnitIncentives.map(r.UnitIncentiveToJSON),brokerUnitIncentives:void 0===e.brokerUnitIncentives?void 0:e.brokerUnitIncentives.map(r.UnitIncentiveToJSON)}}},3842:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.UpdateEmailsRequestToJSON=t.UpdateEmailsRequestFromJSONTyped=t.UpdateEmailsRequestFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{emails:i.exists(e,"emails")?e.emails:void 0}}t.UpdateEmailsRequestFromJSON=function(e){return r(e)},t.UpdateEmailsRequestFromJSONTyped=r,t.UpdateEmailsRequestToJSON=function(e){if(void 0!==e)return null===e?null:{emails:e.emails}}},9908:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.UpdateScriptRequestToJSON=t.UpdateScriptRequestFromJSONTyped=t.UpdateScriptRequestFromJSON=t.UpdateScriptRequestHandoffIntentStateEnum=t.UpdateScriptRequestMediaEnum=void 0;var i,r,o=n(296);function a(e,t){return null==e?e:{organizationId:o.exists(e,"organizationId")?e.organizationId:void 0,media:e.media,category:e.category,subIntent:o.exists(e,"subIntent")?e.subIntent:void 0,text:e.text,handoffIntentState:o.exists(e,"handoffIntentState")?e.handoffIntentState:void 0,communityId:o.exists(e,"communityId")?e.communityId:void 0}}(r=t.UpdateScriptRequestMediaEnum||(t.UpdateScriptRequestMediaEnum={})).Both="BOTH",r.Email="EMAIL",r.Sms="SMS",(i=t.UpdateScriptRequestHandoffIntentStateEnum||(t.UpdateScriptRequestHandoffIntentStateEnum={})).None="NONE",i.YellowStatus="YELLOW_STATUS",i.RedAlertSend="RED_ALERT_SEND",i.RedAlertDoNotSend="RED_ALERT_DO_NOT_SEND",t.UpdateScriptRequestFromJSON=function(e){return a(e)},t.UpdateScriptRequestFromJSONTyped=a,t.UpdateScriptRequestToJSON=function(e){if(void 0!==e)return null===e?null:{organizationId:e.organizationId,media:e.media,category:e.category,subIntent:e.subIntent,text:e.text,handoffIntentState:e.handoffIntentState,communityId:e.communityId}}},5530:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.UpsertDialogueScriptRequestToJSON=t.UpsertDialogueScriptRequestFromJSONTyped=t.UpsertDialogueScriptRequestFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{buildingId:i.exists(e,"buildingId")?e.buildingId:void 0,organizationId:i.exists(e,"organizationId")?e.organizationId:void 0,name:i.exists(e,"name")?e.name:void 0,subintent:i.exists(e,"subintent")?e.subintent:void 0,text:i.exists(e,"text")?e.text:void 0}}t.UpsertDialogueScriptRequestFromJSON=function(e){return r(e)},t.UpsertDialogueScriptRequestFromJSONTyped=r,t.UpsertDialogueScriptRequestToJSON=function(e){if(void 0!==e)return null===e?null:{buildingId:e.buildingId,organizationId:e.organizationId,name:e.name,subintent:e.subintent,text:e.text}}},9256:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.V2BuildingMigrationStatusToJSON=t.V2BuildingMigrationStatusFromJSONTyped=t.V2BuildingMigrationStatusFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{id:i.exists(e,"id")?e.id:void 0,buildingId:i.exists(e,"buildingId")?e.buildingId:void 0,buildingName:i.exists(e,"buildingName")?e.buildingName:void 0,userId:i.exists(e,"userId")?e.userId:void 0,organizationId:i.exists(e,"organizationId")?e.organizationId:void 0,organizationName:i.exists(e,"organizationName")?e.organizationName:void 0,scope:i.exists(e,"scope")?e.scope:void 0,timeSeeded:i.exists(e,"timeSeeded")?new Date(e.timeSeeded):void 0,timeReadyToConfigure:i.exists(e,"timeReadyToConfigure")?new Date(e.timeReadyToConfigure):void 0,timeConfigured:i.exists(e,"timeConfigured")?new Date(e.timeConfigured):void 0,timeWentLive:i.exists(e,"timeWentLive")?new Date(e.timeWentLive):void 0}}t.V2BuildingMigrationStatusFromJSON=function(e){return r(e)},t.V2BuildingMigrationStatusFromJSONTyped=r,t.V2BuildingMigrationStatusToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,buildingId:e.buildingId,buildingName:e.buildingName,userId:e.userId,organizationId:e.organizationId,organizationName:e.organizationName,scope:e.scope,timeSeeded:void 0===e.timeSeeded?void 0:e.timeSeeded.toISOString(),timeReadyToConfigure:void 0===e.timeReadyToConfigure?void 0:e.timeReadyToConfigure.toISOString(),timeConfigured:void 0===e.timeConfigured?void 0:e.timeConfigured.toISOString(),timeWentLive:void 0===e.timeWentLive?void 0:e.timeWentLive.toISOString()}}},2288:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ValidateCredentialsRequestToJSON=t.ValidateCredentialsRequestFromJSONTyped=t.ValidateCredentialsRequestFromJSON=t.ValidateCredentialsRequestIntegrationValidationTypeEnum=void 0;var i,r=n(296);function o(e,t){return null==e?e:{validationName:e.validationName,integrationValidationType:e.integrationValidationType,buildingName:e.buildingName,streetAddress:e.streetAddress,username:r.exists(e,"username")?e.username:void 0,password:r.exists(e,"password")?e.password:void 0,submitterEmail:e.submitterEmail,submitterOrgId:e.submitterOrgId,marketingApiKey:r.exists(e,"marketingApiKey")?e.marketingApiKey:void 0,databaseName:r.exists(e,"databaseName")?e.databaseName:void 0,serverName:r.exists(e,"serverName")?e.serverName:void 0,voyagerUrl:r.exists(e,"voyagerUrl")?e.voyagerUrl:void 0,companyCode:r.exists(e,"companyCode")?e.companyCode:void 0,connectionUrl:r.exists(e,"connectionUrl")?e.connectionUrl:void 0,vendorApiToken:r.exists(e,"vendorApiToken")?e.vendorApiToken:void 0,entrataDomain:r.exists(e,"entrataDomain")?e.entrataDomain:void 0}}(i=t.ValidateCredentialsRequestIntegrationValidationTypeEnum||(t.ValidateCredentialsRequestIntegrationValidationTypeEnum={})).Voyager="VOYAGER",i.VoyagerPlusRentcafeMarketingApiKeyAndVendorApiToken="VOYAGER_PLUS_RENTCAFE_MARKETING_API_KEY_AND_VENDOR_API_TOKEN",i.VoyagerPlusRentcafeVendorApiToken="VOYAGER_PLUS_RENTCAFE_VENDOR_API_TOKEN",i.Entrata="ENTRATA",t.ValidateCredentialsRequestFromJSON=function(e){return o(e)},t.ValidateCredentialsRequestFromJSONTyped=o,t.ValidateCredentialsRequestToJSON=function(e){if(void 0!==e)return null===e?null:{validationName:e.validationName,integrationValidationType:e.integrationValidationType,buildingName:e.buildingName,streetAddress:e.streetAddress,username:e.username,password:e.password,submitterEmail:e.submitterEmail,submitterOrgId:e.submitterOrgId,marketingApiKey:e.marketingApiKey,databaseName:e.databaseName,serverName:e.serverName,voyagerUrl:e.voyagerUrl,companyCode:e.companyCode,connectionUrl:e.connectionUrl,vendorApiToken:e.vendorApiToken,entrataDomain:e.entrataDomain}}},3029:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ValidateCredentialsResponseToJSON=t.ValidateCredentialsResponseFromJSONTyped=t.ValidateCredentialsResponseFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{message:e.message,failed:e.failed,errorMessages:i.exists(e,"errorMessages")?e.errorMessages:void 0}}t.ValidateCredentialsResponseFromJSON=function(e){return r(e)},t.ValidateCredentialsResponseFromJSONTyped=r,t.ValidateCredentialsResponseToJSON=function(e){if(void 0!==e)return null===e?null:{message:e.message,failed:e.failed,errorMessages:e.errorMessages}}},5454:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.WalkInAndShowActionDtoToJSON=t.WalkInAndShowActionDtoFromJSONTyped=t.WalkInAndShowActionDtoFromJSON=void 0;var i=n(296),r=n(5007);function o(e,t){return null==e?e:{userId:i.exists(e,"userId")?e.userId:void 0,buildingId:i.exists(e,"buildingId")?e.buildingId:void 0,unitId:i.exists(e,"unitId")?e.unitId:void 0,guestCard:i.exists(e,"guestCard")?r.EliseGuestCardDtoFromJSON(e.guestCard):void 0}}t.WalkInAndShowActionDtoFromJSON=function(e){return o(e)},t.WalkInAndShowActionDtoFromJSONTyped=o,t.WalkInAndShowActionDtoToJSON=function(e){if(void 0!==e)return null===e?null:{userId:e.userId,buildingId:e.buildingId,unitId:e.unitId,guestCard:r.EliseGuestCardDtoToJSON(e.guestCard)}}},2449:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.WalkInOrCallActionDtoToJSON=t.WalkInOrCallActionDtoFromJSONTyped=t.WalkInOrCallActionDtoFromJSON=void 0;var i=n(296),r=n(5007);function o(e,t){return null==e?e:{userId:i.exists(e,"userId")?e.userId:void 0,buildingId:i.exists(e,"buildingId")?e.buildingId:void 0,unitId:i.exists(e,"unitId")?e.unitId:void 0,guestCard:i.exists(e,"guestCard")?r.EliseGuestCardDtoFromJSON(e.guestCard):void 0}}t.WalkInOrCallActionDtoFromJSON=function(e){return o(e)},t.WalkInOrCallActionDtoFromJSONTyped=o,t.WalkInOrCallActionDtoToJSON=function(e){if(void 0!==e)return null===e?null:{userId:e.userId,buildingId:e.buildingId,unitId:e.unitId,guestCard:r.EliseGuestCardDtoToJSON(e.guestCard)}}},2242:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.WebReportingDashboardResponseToJSON=t.WebReportingDashboardResponseFromJSONTyped=t.WebReportingDashboardResponseFromJSON=void 0;var i=n(296),r=n(1961);function o(e,t){return null==e?e:{dataGroupedByTimePeriod:e.dataGroupedByTimePeriod,afterHoursDataGroupedByTimePeriod:e.afterHoursDataGroupedByTimePeriod,marketingSourceDataGroupedByTimePeriod:e.marketingSourceDataGroupedByTimePeriod,afterHoursMarketingSourceDataGroupedByTimePeriod:e.afterHoursMarketingSourceDataGroupedByTimePeriod,buildingNameMap:e.buildingNameMap,aiNameMap:e.aiNameMap,buildingToAiMap:i.mapValues(e.buildingToAiMap,r.AiAssistantStubInfoFromJSON)}}t.WebReportingDashboardResponseFromJSON=function(e){return o(e)},t.WebReportingDashboardResponseFromJSONTyped=o,t.WebReportingDashboardResponseToJSON=function(e){if(void 0!==e)return null===e?null:{dataGroupedByTimePeriod:e.dataGroupedByTimePeriod,afterHoursDataGroupedByTimePeriod:e.afterHoursDataGroupedByTimePeriod,marketingSourceDataGroupedByTimePeriod:e.marketingSourceDataGroupedByTimePeriod,afterHoursMarketingSourceDataGroupedByTimePeriod:e.afterHoursMarketingSourceDataGroupedByTimePeriod,buildingNameMap:e.buildingNameMap,aiNameMap:e.aiNameMap,buildingToAiMap:i.mapValues(e.buildingToAiMap,r.AiAssistantStubInfoToJSON)}}},6570:(e,t)=>{function n(e,t){return null==e?e:{id:e.id,buildingId:e.buildingId,email:e.email}}Object.defineProperty(t,"__esModule",{value:!0}),t.WeeklyReportEmailToJSON=t.WeeklyReportEmailFromJSONTyped=t.WeeklyReportEmailFromJSON=void 0,t.WeeklyReportEmailFromJSON=function(e){return n(e)},t.WeeklyReportEmailFromJSONTyped=n,t.WeeklyReportEmailToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,buildingId:e.buildingId,email:e.email}}},4675:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.WhiteListConfigToJSON=t.WhiteListConfigFromJSONTyped=t.WhiteListConfigFromJSON=t.WhiteListConfigStatusEnum=t.WhiteListConfigCurrentWhiteListStepEnum=void 0;var i,r,o=n(296);function a(e,t){return null==e?e:{id:o.exists(e,"id")?e.id:void 0,testingName:o.exists(e,"testingName")?e.testingName:void 0,buildingId:o.exists(e,"buildingId")?e.buildingId:void 0,whiteListingEmail:o.exists(e,"whiteListingEmail")?e.whiteListingEmail:void 0,timeInitiated:o.exists(e,"timeInitiated")?new Date(e.timeInitiated):void 0,lastUpdated:o.exists(e,"lastUpdated")?new Date(e.lastUpdated):void 0,currentWhiteListStep:o.exists(e,"currentWhiteListStep")?e.currentWhiteListStep:void 0,contextId:o.exists(e,"contextId")?e.contextId:void 0,mcId:o.exists(e,"mcId")?e.mcId:void 0,status:o.exists(e,"status")?e.status:void 0,requestedTime:o.exists(e,"requestedTime")?e.requestedTime:void 0,confirmedTime:o.exists(e,"confirmedTime")?e.confirmedTime:void 0,eventId:o.exists(e,"eventId")?e.eventId:void 0,failureReason:o.exists(e,"failureReason")?e.failureReason:void 0}}(r=t.WhiteListConfigCurrentWhiteListStepEnum||(t.WhiteListConfigCurrentWhiteListStepEnum={})).Initiated="INITIATED",r.ConfigureSettings="CONFIGURE_SETTINGS",r.TimeZoneVerification="TIME_ZONE_VERIFICATION",r.ConfirmAndOrFixApiVersion="CONFIRM_AND_OR_FIX_API_VERSION",r.ActivateBuildingAutoSend="ACTIVATE_BUILDING_AUTO_SEND",r.AddAitsToBuilding="ADD_AITS_TO_BUILDING",r.RerunAvailabilities="RERUN_AVAILABILITIES",r.InsertGuestCard="INSERT_GUEST_CARD",r.InitialEmailReceived="INITIAL_EMAIL_RECEIVED",r.RequestTourDayEmailSent="REQUEST_TOUR_DAY_EMAIL_SENT",r.AiSentTimeSuggestion="AI_SENT_TIME_SUGGESTION",r.AcceptTourTimeEmailSent="ACCEPT_TOUR_TIME_EMAIL_SENT",r.AppointmentScheduled="APPOINTMENT_SCHEDULED",r.AppointmentOnGuestCard="APPOINTMENT_ON_GUEST_CARD",r.RequestCancelTour="REQUEST_CANCEL_TOUR",r.AppointmentCanceled="APPOINTMENT_CANCELED",r.AppointmentRemovedFromGuestCard="APPOINTMENT_REMOVED_FROM_GUEST_CARD",(i=t.WhiteListConfigStatusEnum||(t.WhiteListConfigStatusEnum={})).InProgress="IN_PROGRESS",i.Complete="COMPLETE",i.Error="ERROR",i.Cancelled="CANCELLED",t.WhiteListConfigFromJSON=function(e){return a(e)},t.WhiteListConfigFromJSONTyped=a,t.WhiteListConfigToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,testingName:e.testingName,buildingId:e.buildingId,whiteListingEmail:e.whiteListingEmail,timeInitiated:void 0===e.timeInitiated?void 0:e.timeInitiated.toISOString(),lastUpdated:void 0===e.lastUpdated?void 0:e.lastUpdated.toISOString(),currentWhiteListStep:e.currentWhiteListStep,contextId:e.contextId,mcId:e.mcId,status:e.status,requestedTime:e.requestedTime,confirmedTime:e.confirmedTime,eventId:e.eventId,failureReason:e.failureReason}}},3163:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.WhiteListTestDtoToJSON=t.WhiteListTestDtoFromJSONTyped=t.WhiteListTestDtoFromJSON=t.WhiteListTestDtoLastFinishedStepEnum=t.WhiteListTestDtoStatusEnum=void 0;var i,r,o=n(296),a=n(8937);function s(e,t){return null==e?e:{configId:e.configId,buildingId:e.buildingId,buildingName:e.buildingName,timeInitiatedISO:new Date(e.timeInitiatedISO),lastUpdatedISO:new Date(e.lastUpdatedISO),status:e.status,lastFinishedStep:e.lastFinishedStep,whiteListTestStepDtos:e.whiteListTestStepDtos.map(a.WhiteListTestStepDtoFromJSON),emailUsedForTesting:o.exists(e,"emailUsedForTesting")?e.emailUsedForTesting:void 0,contextId:o.exists(e,"contextId")?e.contextId:void 0,mcId:o.exists(e,"mcId")?e.mcId:void 0}}(r=t.WhiteListTestDtoStatusEnum||(t.WhiteListTestDtoStatusEnum={})).InProgress="IN_PROGRESS",r.Complete="COMPLETE",r.Error="ERROR",r.Cancelled="CANCELLED",(i=t.WhiteListTestDtoLastFinishedStepEnum||(t.WhiteListTestDtoLastFinishedStepEnum={})).Initiated="INITIATED",i.ConfigureSettings="CONFIGURE_SETTINGS",i.TimeZoneVerification="TIME_ZONE_VERIFICATION",i.ConfirmAndOrFixApiVersion="CONFIRM_AND_OR_FIX_API_VERSION",i.ActivateBuildingAutoSend="ACTIVATE_BUILDING_AUTO_SEND",i.AddAitsToBuilding="ADD_AITS_TO_BUILDING",i.RerunAvailabilities="RERUN_AVAILABILITIES",i.InsertGuestCard="INSERT_GUEST_CARD",i.InitialEmailReceived="INITIAL_EMAIL_RECEIVED",i.RequestTourDayEmailSent="REQUEST_TOUR_DAY_EMAIL_SENT",i.AiSentTimeSuggestion="AI_SENT_TIME_SUGGESTION",i.AcceptTourTimeEmailSent="ACCEPT_TOUR_TIME_EMAIL_SENT",i.AppointmentScheduled="APPOINTMENT_SCHEDULED",i.AppointmentOnGuestCard="APPOINTMENT_ON_GUEST_CARD",i.RequestCancelTour="REQUEST_CANCEL_TOUR",i.AppointmentCanceled="APPOINTMENT_CANCELED",i.AppointmentRemovedFromGuestCard="APPOINTMENT_REMOVED_FROM_GUEST_CARD",t.WhiteListTestDtoFromJSON=function(e){return s(e)},t.WhiteListTestDtoFromJSONTyped=s,t.WhiteListTestDtoToJSON=function(e){if(void 0!==e)return null===e?null:{configId:e.configId,buildingId:e.buildingId,buildingName:e.buildingName,timeInitiatedISO:e.timeInitiatedISO.toISOString(),lastUpdatedISO:e.lastUpdatedISO.toISOString(),status:e.status,lastFinishedStep:e.lastFinishedStep,whiteListTestStepDtos:e.whiteListTestStepDtos.map(a.WhiteListTestStepDtoToJSON),emailUsedForTesting:e.emailUsedForTesting,contextId:e.contextId,mcId:e.mcId}}},8937:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.WhiteListTestStepDtoToJSON=t.WhiteListTestStepDtoFromJSONTyped=t.WhiteListTestStepDtoFromJSON=t.WhiteListTestStepDtoStepEnum=void 0;var i,r=n(296);function o(e,t){return null==e?e:{displayText:e.displayText,step:e.step,orderInTest:e.orderInTest,failureReason:r.exists(e,"failureReason")?e.failureReason:void 0,warnings:r.exists(e,"warnings")?e.warnings:void 0,nextStep:r.exists(e,"nextStep")?e.nextStep:void 0,complete:r.exists(e,"complete")?e.complete:void 0}}(i=t.WhiteListTestStepDtoStepEnum||(t.WhiteListTestStepDtoStepEnum={})).Initiated="INITIATED",i.ConfigureSettings="CONFIGURE_SETTINGS",i.TimeZoneVerification="TIME_ZONE_VERIFICATION",i.ConfirmAndOrFixApiVersion="CONFIRM_AND_OR_FIX_API_VERSION",i.ActivateBuildingAutoSend="ACTIVATE_BUILDING_AUTO_SEND",i.AddAitsToBuilding="ADD_AITS_TO_BUILDING",i.RerunAvailabilities="RERUN_AVAILABILITIES",i.InsertGuestCard="INSERT_GUEST_CARD",i.InitialEmailReceived="INITIAL_EMAIL_RECEIVED",i.RequestTourDayEmailSent="REQUEST_TOUR_DAY_EMAIL_SENT",i.AiSentTimeSuggestion="AI_SENT_TIME_SUGGESTION",i.AcceptTourTimeEmailSent="ACCEPT_TOUR_TIME_EMAIL_SENT",i.AppointmentScheduled="APPOINTMENT_SCHEDULED",i.AppointmentOnGuestCard="APPOINTMENT_ON_GUEST_CARD",i.RequestCancelTour="REQUEST_CANCEL_TOUR",i.AppointmentCanceled="APPOINTMENT_CANCELED",i.AppointmentRemovedFromGuestCard="APPOINTMENT_REMOVED_FROM_GUEST_CARD",t.WhiteListTestStepDtoFromJSON=function(e){return o(e)},t.WhiteListTestStepDtoFromJSONTyped=o,t.WhiteListTestStepDtoToJSON=function(e){if(void 0!==e)return null===e?null:{displayText:e.displayText,step:e.step,orderInTest:e.orderInTest,failureReason:e.failureReason,warnings:e.warnings,nextStep:e.nextStep,complete:e.complete}}},2683:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.WhiteListingAdditionalInfoToJSON=t.WhiteListingAdditionalInfoFromJSONTyped=t.WhiteListingAdditionalInfoFromJSON=void 0;var i=n(296),r=n(8442),o=n(7571);function a(e,t){return null==e?e:{leasingAgents:e.leasingAgents.map(r.ExternalBuildingAgentFromJSON),sources:e.sources,rawGuestCard:i.exists(e,"rawGuestCard")?e.rawGuestCard:void 0,messages:e.messages.map(o.XagacityEmailFromJSON)}}t.WhiteListingAdditionalInfoFromJSON=function(e){return a(e)},t.WhiteListingAdditionalInfoFromJSONTyped=a,t.WhiteListingAdditionalInfoToJSON=function(e){if(void 0!==e)return null===e?null:{leasingAgents:e.leasingAgents.map(r.ExternalBuildingAgentToJSON),sources:e.sources,rawGuestCard:e.rawGuestCard,messages:e.messages.map(o.XagacityEmailToJSON)}}},4145:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.WhiteListingExecutionResultToJSON=t.WhiteListingExecutionResultFromJSONTyped=t.WhiteListingExecutionResultFromJSON=t.WhiteListingExecutionResultStatusAfterStepEnum=t.WhiteListingExecutionResultLastStepCompletedEnum=void 0;var i,r,o=n(296);function a(e,t){return null==e?e:{didFail:e.didFail,failureReason:o.exists(e,"failureReason")?e.failureReason:void 0,lastStepCompleted:e.lastStepCompleted,statusAfterStep:e.statusAfterStep,configId:e.configId}}(r=t.WhiteListingExecutionResultLastStepCompletedEnum||(t.WhiteListingExecutionResultLastStepCompletedEnum={})).Initiated="INITIATED",r.ConfigureSettings="CONFIGURE_SETTINGS",r.TimeZoneVerification="TIME_ZONE_VERIFICATION",r.ConfirmAndOrFixApiVersion="CONFIRM_AND_OR_FIX_API_VERSION",r.ActivateBuildingAutoSend="ACTIVATE_BUILDING_AUTO_SEND",r.AddAitsToBuilding="ADD_AITS_TO_BUILDING",r.RerunAvailabilities="RERUN_AVAILABILITIES",r.InsertGuestCard="INSERT_GUEST_CARD",r.InitialEmailReceived="INITIAL_EMAIL_RECEIVED",r.RequestTourDayEmailSent="REQUEST_TOUR_DAY_EMAIL_SENT",r.AiSentTimeSuggestion="AI_SENT_TIME_SUGGESTION",r.AcceptTourTimeEmailSent="ACCEPT_TOUR_TIME_EMAIL_SENT",r.AppointmentScheduled="APPOINTMENT_SCHEDULED",r.AppointmentOnGuestCard="APPOINTMENT_ON_GUEST_CARD",r.RequestCancelTour="REQUEST_CANCEL_TOUR",r.AppointmentCanceled="APPOINTMENT_CANCELED",r.AppointmentRemovedFromGuestCard="APPOINTMENT_REMOVED_FROM_GUEST_CARD",(i=t.WhiteListingExecutionResultStatusAfterStepEnum||(t.WhiteListingExecutionResultStatusAfterStepEnum={})).InProgress="IN_PROGRESS",i.Complete="COMPLETE",i.Error="ERROR",i.Cancelled="CANCELLED",t.WhiteListingExecutionResultFromJSON=function(e){return a(e)},t.WhiteListingExecutionResultFromJSONTyped=a,t.WhiteListingExecutionResultToJSON=function(e){if(void 0!==e)return null===e?null:{didFail:e.didFail,failureReason:e.failureReason,lastStepCompleted:e.lastStepCompleted,statusAfterStep:e.statusAfterStep,configId:e.configId}}},7571:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.XagacityEmailToJSON=t.XagacityEmailFromJSONTyped=t.XagacityEmailFromJSON=void 0;var i=n(296),r=n(1234),o=n(1057),a=n(4891);function s(e,t){return null==e?e:{id:i.exists(e,"id")?e.id:void 0,clientEmail:i.exists(e,"clientEmail")?e.clientEmail:void 0,leadEmail:i.exists(e,"leadEmail")?e.leadEmail:void 0,sender:i.exists(e,"sender")?e.sender:void 0,recipient:i.exists(e,"recipient")?e.recipient:void 0,marketplace:i.exists(e,"marketplace")?e.marketplace:void 0,timeSent:i.exists(e,"timeSent")?new Date(e.timeSent):void 0,leadId:i.exists(e,"leadId")?e.leadId:void 0,subject:i.exists(e,"subject")?e.subject:void 0,messageBody:i.exists(e,"messageBody")?e.messageBody:void 0,messageId:i.exists(e,"messageId")?e.messageId:void 0,replyTo:i.exists(e,"replyTo")?e.replyTo:void 0,senderClean:i.exists(e,"senderClean")?e.senderClean:void 0,recipientClean:i.exists(e,"recipientClean")?e.recipientClean:void 0,replyToClean:i.exists(e,"replyToClean")?e.replyToClean:void 0,ccRecipient:i.exists(e,"ccRecipient")?e.ccRecipient:void 0,bccRecipient:i.exists(e,"bccRecipient")?e.bccRecipient:void 0,toRecipients:i.exists(e,"toRecipients")?e.toRecipients:void 0,labels:i.exists(e,"labels")?e.labels:void 0,unread:i.exists(e,"unread")?e.unread:void 0,gmailMessageId:i.exists(e,"gmailMessageId")?e.gmailMessageId:void 0,gmailThreadId:i.exists(e,"gmailThreadId")?e.gmailThreadId:void 0,isItProcessed:i.exists(e,"isItProcessed")?e.isItProcessed:void 0,isFalsePositive:i.exists(e,"isFalsePositive")?e.isFalsePositive:void 0,htmlEmail:i.exists(e,"htmlEmail")?e.htmlEmail:void 0,strippedMessage:i.exists(e,"strippedMessage")?e.strippedMessage:void 0,isForward:i.exists(e,"isForward")?e.isForward:void 0,isFirstContact:i.exists(e,"isFirstContact")?e.isFirstContact:void 0,followUpCount:i.exists(e,"followUpCount")?e.followUpCount:void 0,emailPulled:i.exists(e,"emailPulled")?e.emailPulled:void 0,automatedResponseStatus:i.exists(e,"automatedResponseStatus")?e.automatedResponseStatus:void 0,attachments:i.exists(e,"attachments")?e.attachments.map(r.AttachmentFromJSON):void 0,manuallyTagged:i.exists(e,"manuallyTagged")?e.manuallyTagged:void 0,requestsSpecificViewingTime:i.exists(e,"requestsSpecificViewingTime")?e.requestsSpecificViewingTime:void 0,mentionsSpecificAddress:i.exists(e,"mentionsSpecificAddress")?e.mentionsSpecificAddress:void 0,isAddressEntityTagged:i.exists(e,"isAddressEntityTagged")?e.isAddressEntityTagged:void 0,addressPulledFromComments:i.exists(e,"addressPulledFromComments")?e.addressPulledFromComments:void 0,mentionsHousingVoucher:i.exists(e,"mentionsHousingVoucher")?e.mentionsHousingVoucher:void 0,isBrokerLead:i.exists(e,"isBrokerLead")?e.isBrokerLead:void 0,snippet:i.exists(e,"snippet")?e.snippet:void 0,newThread:i.exists(e,"newThread")?e.newThread:void 0,emailHeader:i.exists(e,"emailHeader")?e.emailHeader:void 0,inReplyToHeader:i.exists(e,"inReplyToHeader")?e.inReplyToHeader:void 0,intents:i.exists(e,"intents")?e.intents.map(o.EliseMessageIntentFromJSON):void 0,attachFloorPlan:i.exists(e,"attachFloorPlan")?e.attachFloorPlan:void 0,attachFiles:i.exists(e,"attachFiles")?e.attachFiles:void 0,unitId:i.exists(e,"unitId")?e.unitId:void 0,responseTemplate:i.exists(e,"responseTemplate")?e.responseTemplate:void 0,shouldCollapseThread:i.exists(e,"shouldCollapseThread")?e.shouldCollapseThread:void 0,references:i.exists(e,"references")?e.references:void 0,actualSenderType:i.exists(e,"actualSenderType")?e.actualSenderType:void 0,tempField:i.exists(e,"tempField")?e.tempField:void 0,requiresComposingAReply:i.exists(e,"requiresComposingAReply")?e.requiresComposingAReply:void 0,messageIdWeRespondedTo:i.exists(e,"messageIdWeRespondedTo")?e.messageIdWeRespondedTo:void 0,externalIdRelatedToEmail:i.exists(e,"externalIdRelatedToEmail")?e.externalIdRelatedToEmail:void 0,aitWhoReviewed:i.exists(e,"aitWhoReviewed")?e.aitWhoReviewed:void 0,aitWhoDrafted:i.exists(e,"aitWhoDrafted")?e.aitWhoDrafted:void 0,draftSubmissionIsIncorrect:i.exists(e,"draftSubmissionIsIncorrect")?e.draftSubmissionIsIncorrect:void 0,draftedResponseId:i.exists(e,"draftedResponseId")?e.draftedResponseId:void 0,draftedResponseIncorrectReason:i.exists(e,"draftedResponseIncorrectReason")?e.draftedResponseIncorrectReason:void 0,aitSelectedIntents:i.exists(e,"aitSelectedIntents")?e.aitSelectedIntents:void 0,noNeedForNotificationFlag:i.exists(e,"noNeedForNotificationFlag")?e.noNeedForNotificationFlag:void 0,traineeEmail:i.exists(e,"traineeEmail")?e.traineeEmail:void 0,mimeMessage:i.exists(e,"mimeMessage")?a.XagacityEmailMimeMessageFromJSON(e.mimeMessage):void 0,stopForwarding:i.exists(e,"stopForwarding")?e.stopForwarding:void 0,cleanMessage:i.exists(e,"cleanMessage")?e.cleanMessage:void 0,trackExternalId:i.exists(e,"trackExternalId")?e.trackExternalId:void 0,externalMarketingSource:i.exists(e,"externalMarketingSource")?e.externalMarketingSource:void 0,contextId:i.exists(e,"contextId")?e.contextId:void 0,bccrecipientAsString:i.exists(e,"bccrecipientAsString")?e.bccrecipientAsString:void 0,toRecipientsFromString:i.exists(e,"toRecipientsFromString")?e.toRecipientsFromString:void 0,ccRecipientsFromString:i.exists(e,"ccRecipientsFromString")?e.ccRecipientsFromString:void 0,bccRecipientsFromString:i.exists(e,"bccRecipientsFromString")?e.bccRecipientsFromString:void 0,labelsFromDatabase:i.exists(e,"labelsFromDatabase")?e.labelsFromDatabase:void 0,recipientsList:i.exists(e,"recipientsList")?e.recipientsList:void 0,trashed:i.exists(e,"trashed")?e.trashed:void 0,draft:i.exists(e,"draft")?e.draft:void 0,torecipientAsString:i.exists(e,"torecipientAsString")?e.torecipientAsString:void 0,ccrecipientAsString:i.exists(e,"ccrecipientAsString")?e.ccrecipientAsString:void 0}}t.XagacityEmailFromJSON=function(e){return s(e)},t.XagacityEmailFromJSONTyped=s,t.XagacityEmailToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,clientEmail:e.clientEmail,leadEmail:e.leadEmail,sender:e.sender,recipient:e.recipient,marketplace:e.marketplace,timeSent:void 0===e.timeSent?void 0:e.timeSent.toISOString(),leadId:e.leadId,subject:e.subject,messageBody:e.messageBody,messageId:e.messageId,replyTo:e.replyTo,senderClean:e.senderClean,recipientClean:e.recipientClean,replyToClean:e.replyToClean,ccRecipient:e.ccRecipient,bccRecipient:e.bccRecipient,toRecipients:e.toRecipients,labels:e.labels,unread:e.unread,gmailMessageId:e.gmailMessageId,gmailThreadId:e.gmailThreadId,isItProcessed:e.isItProcessed,isFalsePositive:e.isFalsePositive,htmlEmail:e.htmlEmail,strippedMessage:e.strippedMessage,isForward:e.isForward,isFirstContact:e.isFirstContact,followUpCount:e.followUpCount,emailPulled:e.emailPulled,automatedResponseStatus:e.automatedResponseStatus,attachments:void 0===e.attachments?void 0:e.attachments.map(r.AttachmentToJSON),manuallyTagged:e.manuallyTagged,requestsSpecificViewingTime:e.requestsSpecificViewingTime,mentionsSpecificAddress:e.mentionsSpecificAddress,isAddressEntityTagged:e.isAddressEntityTagged,addressPulledFromComments:e.addressPulledFromComments,mentionsHousingVoucher:e.mentionsHousingVoucher,isBrokerLead:e.isBrokerLead,snippet:e.snippet,newThread:e.newThread,emailHeader:e.emailHeader,inReplyToHeader:e.inReplyToHeader,intents:void 0===e.intents?void 0:e.intents.map(o.EliseMessageIntentToJSON),attachFloorPlan:e.attachFloorPlan,attachFiles:e.attachFiles,unitId:e.unitId,responseTemplate:e.responseTemplate,shouldCollapseThread:e.shouldCollapseThread,references:e.references,actualSenderType:e.actualSenderType,tempField:e.tempField,requiresComposingAReply:e.requiresComposingAReply,messageIdWeRespondedTo:e.messageIdWeRespondedTo,externalIdRelatedToEmail:e.externalIdRelatedToEmail,aitWhoReviewed:e.aitWhoReviewed,aitWhoDrafted:e.aitWhoDrafted,draftSubmissionIsIncorrect:e.draftSubmissionIsIncorrect,draftedResponseId:e.draftedResponseId,draftedResponseIncorrectReason:e.draftedResponseIncorrectReason,aitSelectedIntents:e.aitSelectedIntents,noNeedForNotificationFlag:e.noNeedForNotificationFlag,traineeEmail:e.traineeEmail,mimeMessage:a.XagacityEmailMimeMessageToJSON(e.mimeMessage),stopForwarding:e.stopForwarding,cleanMessage:e.cleanMessage,trackExternalId:e.trackExternalId,externalMarketingSource:e.externalMarketingSource,contextId:e.contextId,bccrecipientAsString:e.bccrecipientAsString,toRecipientsFromString:e.toRecipientsFromString,ccRecipientsFromString:e.ccRecipientsFromString,bccRecipientsFromString:e.bccRecipientsFromString,labelsFromDatabase:e.labelsFromDatabase,recipientsList:e.recipientsList,trashed:e.trashed,draft:e.draft,torecipientAsString:e.torecipientAsString,ccrecipientAsString:e.ccrecipientAsString}}},4891:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.XagacityEmailMimeMessageToJSON=t.XagacityEmailMimeMessageFromJSONTyped=t.XagacityEmailMimeMessageFromJSON=void 0;var i=n(296),r=n(2294),o=n(8644),a=n(2653),s=n(7052),u=n(3645);function l(e,t){return null==e?e:{expunged:i.exists(e,"expunged")?e.expunged:void 0,folder:i.exists(e,"folder")?r.XagacityEmailMimeMessageFolderFromJSON(e.folder):void 0,session:i.exists(e,"session")?u.XagacityEmailMimeMessageFolderStoreSessionFromJSON(e.session):void 0,content:i.exists(e,"content")?e.content:void 0,flags:i.exists(e,"flags")?s.XagacityEmailMimeMessageFolderStoreFlagsFromJSON(e.flags):void 0,contentType:i.exists(e,"contentType")?e.contentType:void 0,fileName:i.exists(e,"fileName")?e.fileName:void 0,description:i.exists(e,"description")?e.description:void 0,subject:i.exists(e,"subject")?e.subject:void 0,size:i.exists(e,"size")?e.size:void 0,inputStream:i.exists(e,"inputStream")?e.inputStream:void 0,encoding:i.exists(e,"encoding")?e.encoding:void 0,sentDate:i.exists(e,"sentDate")?new Date(e.sentDate):void 0,messageID:i.exists(e,"messageID")?e.messageID:void 0,allRecipients:i.exists(e,"allRecipients")?e.allRecipients.map(o.XagacityEmailMimeMessageFolderStoreAllRecipientsFromJSON):void 0,from:i.exists(e,"from")?e.from.map(o.XagacityEmailMimeMessageFolderStoreAllRecipientsFromJSON):void 0,sender:i.exists(e,"sender")?o.XagacityEmailMimeMessageFolderStoreAllRecipientsFromJSON(e.sender):void 0,replyTo:i.exists(e,"replyTo")?e.replyTo.map(o.XagacityEmailMimeMessageFolderStoreAllRecipientsFromJSON):void 0,receivedDate:i.exists(e,"receivedDate")?new Date(e.receivedDate):void 0,lineCount:i.exists(e,"lineCount")?e.lineCount:void 0,disposition:i.exists(e,"disposition")?e.disposition:void 0,contentID:i.exists(e,"contentID")?e.contentID:void 0,contentMD5:i.exists(e,"contentMD5")?e.contentMD5:void 0,contentLanguage:i.exists(e,"contentLanguage")?e.contentLanguage:void 0,rawInputStream:i.exists(e,"rawInputStream")?e.rawInputStream:void 0,dataHandler:i.exists(e,"dataHandler")?a.XagacityEmailMimeMessageFolderStoreDataHandlerFromJSON(e.dataHandler):void 0,allHeaders:i.exists(e,"allHeaders")?e.allHeaders:void 0,allHeaderLines:i.exists(e,"allHeaderLines")?e.allHeaderLines:void 0,text:i.exists(e,"text")?e.text:void 0,messageNumber:i.exists(e,"messageNumber")?e.messageNumber:void 0}}t.XagacityEmailMimeMessageFromJSON=function(e){return l(e)},t.XagacityEmailMimeMessageFromJSONTyped=l,t.XagacityEmailMimeMessageToJSON=function(e){if(void 0!==e)return null===e?null:{expunged:e.expunged,folder:r.XagacityEmailMimeMessageFolderToJSON(e.folder),session:u.XagacityEmailMimeMessageFolderStoreSessionToJSON(e.session),content:e.content,flags:s.XagacityEmailMimeMessageFolderStoreFlagsToJSON(e.flags),contentType:e.contentType,fileName:e.fileName,description:e.description,subject:e.subject,size:e.size,inputStream:e.inputStream,encoding:e.encoding,sentDate:void 0===e.sentDate?void 0:e.sentDate.toISOString(),messageID:e.messageID,allRecipients:void 0===e.allRecipients?void 0:e.allRecipients.map(o.XagacityEmailMimeMessageFolderStoreAllRecipientsToJSON),from:void 0===e.from?void 0:e.from.map(o.XagacityEmailMimeMessageFolderStoreAllRecipientsToJSON),sender:o.XagacityEmailMimeMessageFolderStoreAllRecipientsToJSON(e.sender),replyTo:void 0===e.replyTo?void 0:e.replyTo.map(o.XagacityEmailMimeMessageFolderStoreAllRecipientsToJSON),receivedDate:void 0===e.receivedDate?void 0:e.receivedDate.toISOString(),lineCount:e.lineCount,disposition:e.disposition,contentID:e.contentID,contentMD5:e.contentMD5,contentLanguage:e.contentLanguage,rawInputStream:e.rawInputStream,dataHandler:a.XagacityEmailMimeMessageFolderStoreDataHandlerToJSON(e.dataHandler),allHeaders:e.allHeaders,allHeaderLines:e.allHeaderLines,text:e.text,messageNumber:e.messageNumber}}},2294:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.XagacityEmailMimeMessageFolderToJSON=t.XagacityEmailMimeMessageFolderFromJSONTyped=t.XagacityEmailMimeMessageFolderFromJSON=void 0;var i=n(296),r=n(2394),o=n(7052),a=n(6826),s=n(3053);function u(e,t){return null==e?e:{store:i.exists(e,"store")?r.XagacityEmailMimeMessageFolderStoreFromJSON(e.store):void 0,mode:i.exists(e,"mode")?e.mode:void 0,messages:i.exists(e,"messages")?e.messages.map(a.XagacityEmailMimeMessageFolderStoreMessagesFromJSON):void 0,urlname:i.exists(e,"urlname")?s.XagacityEmailMimeMessageFolderStoreSessionTransportUrlnameFromJSON(e.urlname):void 0,subscribed:i.exists(e,"subscribed")?e.subscribed:void 0,permanentFlags:i.exists(e,"permanentFlags")?o.XagacityEmailMimeMessageFolderStoreFlagsFromJSON(e.permanentFlags):void 0,messageCount:i.exists(e,"messageCount")?e.messageCount:void 0,newMessageCount:i.exists(e,"newMessageCount")?e.newMessageCount:void 0,unreadMessageCount:i.exists(e,"unreadMessageCount")?e.unreadMessageCount:void 0,deletedMessageCount:i.exists(e,"deletedMessageCount")?e.deletedMessageCount:void 0,fullName:i.exists(e,"fullName")?e.fullName:void 0,name:i.exists(e,"name")?e.name:void 0,open:i.exists(e,"open")?e.open:void 0,type:i.exists(e,"type")?e.type:void 0,separator:i.exists(e,"separator")?e.separator:void 0}}t.XagacityEmailMimeMessageFolderFromJSON=function(e){return u(e)},t.XagacityEmailMimeMessageFolderFromJSONTyped=u,t.XagacityEmailMimeMessageFolderToJSON=function(e){if(void 0!==e)return null===e?null:{store:r.XagacityEmailMimeMessageFolderStoreToJSON(e.store),mode:e.mode,messages:void 0===e.messages?void 0:e.messages.map(a.XagacityEmailMimeMessageFolderStoreMessagesToJSON),urlname:s.XagacityEmailMimeMessageFolderStoreSessionTransportUrlnameToJSON(e.urlname),subscribed:e.subscribed,permanentFlags:o.XagacityEmailMimeMessageFolderStoreFlagsToJSON(e.permanentFlags),messageCount:e.messageCount,newMessageCount:e.newMessageCount,unreadMessageCount:e.unreadMessageCount,deletedMessageCount:e.deletedMessageCount,fullName:e.fullName,name:e.name,open:e.open,type:e.type,separator:e.separator}}},2394:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.XagacityEmailMimeMessageFolderStoreToJSON=t.XagacityEmailMimeMessageFolderStoreFromJSONTyped=t.XagacityEmailMimeMessageFolderStoreFromJSON=void 0;var i=n(296),r=n(403),o=n(3053);function a(e,t){return null==e?e:{connected:i.exists(e,"connected")?e.connected:void 0,personalNamespaces:i.exists(e,"personalNamespaces")?e.personalNamespaces.map(r.XagacityEmailMimeMessageFolderStorePersonalNamespacesFromJSON):void 0,sharedNamespaces:i.exists(e,"sharedNamespaces")?e.sharedNamespaces.map(r.XagacityEmailMimeMessageFolderStorePersonalNamespacesFromJSON):void 0,urlname:i.exists(e,"urlname")?o.XagacityEmailMimeMessageFolderStoreSessionTransportUrlnameFromJSON(e.urlname):void 0}}t.XagacityEmailMimeMessageFolderStoreFromJSON=function(e){return a(e)},t.XagacityEmailMimeMessageFolderStoreFromJSONTyped=a,t.XagacityEmailMimeMessageFolderStoreToJSON=function(e){if(void 0!==e)return null===e?null:{connected:e.connected,personalNamespaces:void 0===e.personalNamespaces?void 0:e.personalNamespaces.map(r.XagacityEmailMimeMessageFolderStorePersonalNamespacesToJSON),sharedNamespaces:void 0===e.sharedNamespaces?void 0:e.sharedNamespaces.map(r.XagacityEmailMimeMessageFolderStorePersonalNamespacesToJSON),urlname:o.XagacityEmailMimeMessageFolderStoreSessionTransportUrlnameToJSON(e.urlname)}}},8644:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.XagacityEmailMimeMessageFolderStoreAllRecipientsToJSON=t.XagacityEmailMimeMessageFolderStoreAllRecipientsFromJSONTyped=t.XagacityEmailMimeMessageFolderStoreAllRecipientsFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{type:i.exists(e,"type")?e.type:void 0}}t.XagacityEmailMimeMessageFolderStoreAllRecipientsFromJSON=function(e){return r(e)},t.XagacityEmailMimeMessageFolderStoreAllRecipientsFromJSONTyped=r,t.XagacityEmailMimeMessageFolderStoreAllRecipientsToJSON=function(e){if(void 0!==e)return null===e?null:{type:e.type}}},2653:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.XagacityEmailMimeMessageFolderStoreDataHandlerToJSON=t.XagacityEmailMimeMessageFolderStoreDataHandlerFromJSONTyped=t.XagacityEmailMimeMessageFolderStoreDataHandlerFromJSON=void 0;var i=n(296),r=n(9046),o=n(8819),a=n(6799),s=n(7786);function u(e,t){return null==e?e:{dataSource:i.exists(e,"dataSource")?o.XagacityEmailMimeMessageFolderStoreDataHandlerDataSourceFromJSON(e.dataSource):void 0,commandMap:i.exists(e,"commandMap")?r.XagacityEmailMimeMessageFolderStoreDataHandlerCommandMapFromJSON(e.commandMap):void 0,transferDataFlavors:i.exists(e,"transferDataFlavors")?e.transferDataFlavors.map(s.XagacityEmailMimeMessageFolderStoreDataHandlerTransferDataFlavorsFromJSON):void 0,preferredCommands:i.exists(e,"preferredCommands")?e.preferredCommands.map(a.XagacityEmailMimeMessageFolderStoreDataHandlerPreferredCommandsFromJSON):void 0,allCommands:i.exists(e,"allCommands")?e.allCommands.map(a.XagacityEmailMimeMessageFolderStoreDataHandlerPreferredCommandsFromJSON):void 0,contentType:i.exists(e,"contentType")?e.contentType:void 0,name:i.exists(e,"name")?e.name:void 0,content:i.exists(e,"content")?e.content:void 0,inputStream:i.exists(e,"inputStream")?e.inputStream:void 0,outputStream:i.exists(e,"outputStream")?e.outputStream:void 0}}t.XagacityEmailMimeMessageFolderStoreDataHandlerFromJSON=function(e){return u(e)},t.XagacityEmailMimeMessageFolderStoreDataHandlerFromJSONTyped=u,t.XagacityEmailMimeMessageFolderStoreDataHandlerToJSON=function(e){if(void 0!==e)return null===e?null:{dataSource:o.XagacityEmailMimeMessageFolderStoreDataHandlerDataSourceToJSON(e.dataSource),commandMap:r.XagacityEmailMimeMessageFolderStoreDataHandlerCommandMapToJSON(e.commandMap),transferDataFlavors:void 0===e.transferDataFlavors?void 0:e.transferDataFlavors.map(s.XagacityEmailMimeMessageFolderStoreDataHandlerTransferDataFlavorsToJSON),preferredCommands:void 0===e.preferredCommands?void 0:e.preferredCommands.map(a.XagacityEmailMimeMessageFolderStoreDataHandlerPreferredCommandsToJSON),allCommands:void 0===e.allCommands?void 0:e.allCommands.map(a.XagacityEmailMimeMessageFolderStoreDataHandlerPreferredCommandsToJSON),contentType:e.contentType,name:e.name,content:e.content,inputStream:e.inputStream,outputStream:e.outputStream}}},9046:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.XagacityEmailMimeMessageFolderStoreDataHandlerCommandMapToJSON=t.XagacityEmailMimeMessageFolderStoreDataHandlerCommandMapFromJSONTyped=t.XagacityEmailMimeMessageFolderStoreDataHandlerCommandMapFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{mimeTypes:i.exists(e,"mimeTypes")?e.mimeTypes:void 0}}t.XagacityEmailMimeMessageFolderStoreDataHandlerCommandMapFromJSON=function(e){return r(e)},t.XagacityEmailMimeMessageFolderStoreDataHandlerCommandMapFromJSONTyped=r,t.XagacityEmailMimeMessageFolderStoreDataHandlerCommandMapToJSON=function(e){if(void 0!==e)return null===e?null:{mimeTypes:e.mimeTypes}}},8819:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.XagacityEmailMimeMessageFolderStoreDataHandlerDataSourceToJSON=t.XagacityEmailMimeMessageFolderStoreDataHandlerDataSourceFromJSONTyped=t.XagacityEmailMimeMessageFolderStoreDataHandlerDataSourceFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{contentType:i.exists(e,"contentType")?e.contentType:void 0,name:i.exists(e,"name")?e.name:void 0,inputStream:i.exists(e,"inputStream")?e.inputStream:void 0,outputStream:i.exists(e,"outputStream")?e.outputStream:void 0}}t.XagacityEmailMimeMessageFolderStoreDataHandlerDataSourceFromJSON=function(e){return r(e)},t.XagacityEmailMimeMessageFolderStoreDataHandlerDataSourceFromJSONTyped=r,t.XagacityEmailMimeMessageFolderStoreDataHandlerDataSourceToJSON=function(e){if(void 0!==e)return null===e?null:{contentType:e.contentType,name:e.name,inputStream:e.inputStream,outputStream:e.outputStream}}},6799:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.XagacityEmailMimeMessageFolderStoreDataHandlerPreferredCommandsToJSON=t.XagacityEmailMimeMessageFolderStoreDataHandlerPreferredCommandsFromJSONTyped=t.XagacityEmailMimeMessageFolderStoreDataHandlerPreferredCommandsFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{commandName:i.exists(e,"commandName")?e.commandName:void 0,commandClass:i.exists(e,"commandClass")?e.commandClass:void 0}}t.XagacityEmailMimeMessageFolderStoreDataHandlerPreferredCommandsFromJSON=function(e){return r(e)},t.XagacityEmailMimeMessageFolderStoreDataHandlerPreferredCommandsFromJSONTyped=r,t.XagacityEmailMimeMessageFolderStoreDataHandlerPreferredCommandsToJSON=function(e){if(void 0!==e)return null===e?null:{commandName:e.commandName,commandClass:e.commandClass}}},7786:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.XagacityEmailMimeMessageFolderStoreDataHandlerTransferDataFlavorsToJSON=t.XagacityEmailMimeMessageFolderStoreDataHandlerTransferDataFlavorsFromJSONTyped=t.XagacityEmailMimeMessageFolderStoreDataHandlerTransferDataFlavorsFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{mimeType:i.exists(e,"mimeType")?e.mimeType:void 0,humanPresentableName:i.exists(e,"humanPresentableName")?e.humanPresentableName:void 0,mimeTypeSerializedObject:i.exists(e,"mimeTypeSerializedObject")?e.mimeTypeSerializedObject:void 0,defaultRepresentationClassAsString:i.exists(e,"defaultRepresentationClassAsString")?e.defaultRepresentationClassAsString:void 0,representationClassInputStream:i.exists(e,"representationClassInputStream")?e.representationClassInputStream:void 0,representationClassReader:i.exists(e,"representationClassReader")?e.representationClassReader:void 0,representationClassCharBuffer:i.exists(e,"representationClassCharBuffer")?e.representationClassCharBuffer:void 0,representationClassByteBuffer:i.exists(e,"representationClassByteBuffer")?e.representationClassByteBuffer:void 0,representationClassSerializable:i.exists(e,"representationClassSerializable")?e.representationClassSerializable:void 0,representationClassRemote:i.exists(e,"representationClassRemote")?e.representationClassRemote:void 0,flavorSerializedObjectType:i.exists(e,"flavorSerializedObjectType")?e.flavorSerializedObjectType:void 0,flavorRemoteObjectType:i.exists(e,"flavorRemoteObjectType")?e.flavorRemoteObjectType:void 0,flavorJavaFileListType:i.exists(e,"flavorJavaFileListType")?e.flavorJavaFileListType:void 0,flavorTextType:i.exists(e,"flavorTextType")?e.flavorTextType:void 0,subType:i.exists(e,"subType")?e.subType:void 0,primaryType:i.exists(e,"primaryType")?e.primaryType:void 0}}t.XagacityEmailMimeMessageFolderStoreDataHandlerTransferDataFlavorsFromJSON=function(e){return r(e)},t.XagacityEmailMimeMessageFolderStoreDataHandlerTransferDataFlavorsFromJSONTyped=r,t.XagacityEmailMimeMessageFolderStoreDataHandlerTransferDataFlavorsToJSON=function(e){if(void 0!==e)return null===e?null:{mimeType:e.mimeType,humanPresentableName:e.humanPresentableName,mimeTypeSerializedObject:e.mimeTypeSerializedObject,defaultRepresentationClassAsString:e.defaultRepresentationClassAsString,representationClassInputStream:e.representationClassInputStream,representationClassReader:e.representationClassReader,representationClassCharBuffer:e.representationClassCharBuffer,representationClassByteBuffer:e.representationClassByteBuffer,representationClassSerializable:e.representationClassSerializable,representationClassRemote:e.representationClassRemote,flavorSerializedObjectType:e.flavorSerializedObjectType,flavorRemoteObjectType:e.flavorRemoteObjectType,flavorJavaFileListType:e.flavorJavaFileListType,flavorTextType:e.flavorTextType,subType:e.subType,primaryType:e.primaryType}}},7052:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.XagacityEmailMimeMessageFolderStoreFlagsToJSON=t.XagacityEmailMimeMessageFolderStoreFlagsFromJSONTyped=t.XagacityEmailMimeMessageFolderStoreFlagsFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{systemFlags:i.exists(e,"systemFlags")?e.systemFlags:void 0,userFlags:i.exists(e,"userFlags")?e.userFlags:void 0}}t.XagacityEmailMimeMessageFolderStoreFlagsFromJSON=function(e){return r(e)},t.XagacityEmailMimeMessageFolderStoreFlagsFromJSONTyped=r,t.XagacityEmailMimeMessageFolderStoreFlagsToJSON=function(e){if(void 0!==e)return null===e?null:{systemFlags:e.systemFlags,userFlags:e.userFlags}}},6826:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.XagacityEmailMimeMessageFolderStoreMessagesToJSON=t.XagacityEmailMimeMessageFolderStoreMessagesFromJSONTyped=t.XagacityEmailMimeMessageFolderStoreMessagesFromJSON=void 0;var i=n(296),r=n(8644),o=n(2653),a=n(7052),s=n(3645);function u(e,t){return null==e?e:{expunged:i.exists(e,"expunged")?e.expunged:void 0,session:i.exists(e,"session")?s.XagacityEmailMimeMessageFolderStoreSessionFromJSON(e.session):void 0,flags:i.exists(e,"flags")?a.XagacityEmailMimeMessageFolderStoreFlagsFromJSON(e.flags):void 0,subject:i.exists(e,"subject")?e.subject:void 0,sentDate:i.exists(e,"sentDate")?new Date(e.sentDate):void 0,allRecipients:i.exists(e,"allRecipients")?e.allRecipients.map(r.XagacityEmailMimeMessageFolderStoreAllRecipientsFromJSON):void 0,from:i.exists(e,"from")?e.from.map(r.XagacityEmailMimeMessageFolderStoreAllRecipientsFromJSON):void 0,replyTo:i.exists(e,"replyTo")?e.replyTo.map(r.XagacityEmailMimeMessageFolderStoreAllRecipientsFromJSON):void 0,receivedDate:i.exists(e,"receivedDate")?new Date(e.receivedDate):void 0,messageNumber:i.exists(e,"messageNumber")?e.messageNumber:void 0,contentType:i.exists(e,"contentType")?e.contentType:void 0,fileName:i.exists(e,"fileName")?e.fileName:void 0,description:i.exists(e,"description")?e.description:void 0,size:i.exists(e,"size")?e.size:void 0,content:i.exists(e,"content")?e.content:void 0,inputStream:i.exists(e,"inputStream")?e.inputStream:void 0,lineCount:i.exists(e,"lineCount")?e.lineCount:void 0,disposition:i.exists(e,"disposition")?e.disposition:void 0,dataHandler:i.exists(e,"dataHandler")?o.XagacityEmailMimeMessageFolderStoreDataHandlerFromJSON(e.dataHandler):void 0,allHeaders:i.exists(e,"allHeaders")?e.allHeaders:void 0,text:i.exists(e,"text")?e.text:void 0}}t.XagacityEmailMimeMessageFolderStoreMessagesFromJSON=function(e){return u(e)},t.XagacityEmailMimeMessageFolderStoreMessagesFromJSONTyped=u,t.XagacityEmailMimeMessageFolderStoreMessagesToJSON=function(e){if(void 0!==e)return null===e?null:{expunged:e.expunged,session:s.XagacityEmailMimeMessageFolderStoreSessionToJSON(e.session),flags:a.XagacityEmailMimeMessageFolderStoreFlagsToJSON(e.flags),subject:e.subject,sentDate:void 0===e.sentDate?void 0:e.sentDate.toISOString(),allRecipients:void 0===e.allRecipients?void 0:e.allRecipients.map(r.XagacityEmailMimeMessageFolderStoreAllRecipientsToJSON),from:void 0===e.from?void 0:e.from.map(r.XagacityEmailMimeMessageFolderStoreAllRecipientsToJSON),replyTo:void 0===e.replyTo?void 0:e.replyTo.map(r.XagacityEmailMimeMessageFolderStoreAllRecipientsToJSON),receivedDate:void 0===e.receivedDate?void 0:e.receivedDate.toISOString(),messageNumber:e.messageNumber,contentType:e.contentType,fileName:e.fileName,description:e.description,size:e.size,content:e.content,inputStream:e.inputStream,lineCount:e.lineCount,disposition:e.disposition,dataHandler:o.XagacityEmailMimeMessageFolderStoreDataHandlerToJSON(e.dataHandler),allHeaders:e.allHeaders,text:e.text}}},403:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.XagacityEmailMimeMessageFolderStorePersonalNamespacesToJSON=t.XagacityEmailMimeMessageFolderStorePersonalNamespacesFromJSONTyped=t.XagacityEmailMimeMessageFolderStorePersonalNamespacesFromJSON=void 0;var i=n(296),r=n(7052),o=n(6826),a=n(3053);function s(e,t){return null==e?e:{mode:i.exists(e,"mode")?e.mode:void 0,messages:i.exists(e,"messages")?e.messages.map(o.XagacityEmailMimeMessageFolderStoreMessagesFromJSON):void 0,urlname:i.exists(e,"urlname")?a.XagacityEmailMimeMessageFolderStoreSessionTransportUrlnameFromJSON(e.urlname):void 0,subscribed:i.exists(e,"subscribed")?e.subscribed:void 0,permanentFlags:i.exists(e,"permanentFlags")?r.XagacityEmailMimeMessageFolderStoreFlagsFromJSON(e.permanentFlags):void 0,messageCount:i.exists(e,"messageCount")?e.messageCount:void 0,newMessageCount:i.exists(e,"newMessageCount")?e.newMessageCount:void 0,unreadMessageCount:i.exists(e,"unreadMessageCount")?e.unreadMessageCount:void 0,deletedMessageCount:i.exists(e,"deletedMessageCount")?e.deletedMessageCount:void 0,fullName:i.exists(e,"fullName")?e.fullName:void 0,name:i.exists(e,"name")?e.name:void 0,open:i.exists(e,"open")?e.open:void 0,type:i.exists(e,"type")?e.type:void 0,separator:i.exists(e,"separator")?e.separator:void 0}}t.XagacityEmailMimeMessageFolderStorePersonalNamespacesFromJSON=function(e){return s(e)},t.XagacityEmailMimeMessageFolderStorePersonalNamespacesFromJSONTyped=s,t.XagacityEmailMimeMessageFolderStorePersonalNamespacesToJSON=function(e){if(void 0!==e)return null===e?null:{mode:e.mode,messages:void 0===e.messages?void 0:e.messages.map(o.XagacityEmailMimeMessageFolderStoreMessagesToJSON),urlname:a.XagacityEmailMimeMessageFolderStoreSessionTransportUrlnameToJSON(e.urlname),subscribed:e.subscribed,permanentFlags:r.XagacityEmailMimeMessageFolderStoreFlagsToJSON(e.permanentFlags),messageCount:e.messageCount,newMessageCount:e.newMessageCount,unreadMessageCount:e.unreadMessageCount,deletedMessageCount:e.deletedMessageCount,fullName:e.fullName,name:e.name,open:e.open,type:e.type,separator:e.separator}}},3645:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.XagacityEmailMimeMessageFolderStoreSessionToJSON=t.XagacityEmailMimeMessageFolderStoreSessionFromJSONTyped=t.XagacityEmailMimeMessageFolderStoreSessionFromJSON=void 0;var i=n(296),r=n(4586),o=n(560),a=n(5108);function s(e,t){return null==e?e:{debug:i.exists(e,"debug")?e.debug:void 0,providers:i.exists(e,"providers")?e.providers.map(o.XagacityEmailMimeMessageFolderStoreSessionProvidersFromJSON):void 0,debugOut:i.exists(e,"debugOut")?e.debugOut:void 0,properties:i.exists(e,"properties")?e.properties:void 0,transport:i.exists(e,"transport")?a.XagacityEmailMimeMessageFolderStoreSessionTransportFromJSON(e.transport):void 0,provider:i.exists(e,"provider")?r.XagacityEmailMimeMessageFolderStoreSessionProviderFromJSON(e.provider):void 0}}t.XagacityEmailMimeMessageFolderStoreSessionFromJSON=function(e){return s(e)},t.XagacityEmailMimeMessageFolderStoreSessionFromJSONTyped=s,t.XagacityEmailMimeMessageFolderStoreSessionToJSON=function(e){if(void 0!==e)return null===e?null:{debug:e.debug,providers:void 0===e.providers?void 0:e.providers.map(o.XagacityEmailMimeMessageFolderStoreSessionProvidersToJSON),debugOut:e.debugOut,properties:e.properties,transport:a.XagacityEmailMimeMessageFolderStoreSessionTransportToJSON(e.transport),provider:r.XagacityEmailMimeMessageFolderStoreSessionProviderToJSON(e.provider)}}},4586:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.XagacityEmailMimeMessageFolderStoreSessionProviderToJSON=t.XagacityEmailMimeMessageFolderStoreSessionProviderFromJSONTyped=t.XagacityEmailMimeMessageFolderStoreSessionProviderFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{type:i.exists(e,"type")?e.type:void 0,protocol:i.exists(e,"protocol")?e.protocol:void 0,className:i.exists(e,"className")?e.className:void 0,vendor:i.exists(e,"vendor")?e.vendor:void 0,version:i.exists(e,"version")?e.version:void 0}}t.XagacityEmailMimeMessageFolderStoreSessionProviderFromJSON=function(e){return r(e)},t.XagacityEmailMimeMessageFolderStoreSessionProviderFromJSONTyped=r,t.XagacityEmailMimeMessageFolderStoreSessionProviderToJSON=function(e){if(void 0!==e)return null===e?null:{type:e.type,protocol:e.protocol,className:e.className,vendor:e.vendor,version:e.version}}},560:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.XagacityEmailMimeMessageFolderStoreSessionProvidersToJSON=t.XagacityEmailMimeMessageFolderStoreSessionProvidersFromJSONTyped=t.XagacityEmailMimeMessageFolderStoreSessionProvidersFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{type:i.exists(e,"type")?e.type:void 0,protocol:i.exists(e,"protocol")?e.protocol:void 0,className:i.exists(e,"className")?e.className:void 0,vendor:i.exists(e,"vendor")?e.vendor:void 0,version:i.exists(e,"version")?e.version:void 0}}t.XagacityEmailMimeMessageFolderStoreSessionProvidersFromJSON=function(e){return r(e)},t.XagacityEmailMimeMessageFolderStoreSessionProvidersFromJSONTyped=r,t.XagacityEmailMimeMessageFolderStoreSessionProvidersToJSON=function(e){if(void 0!==e)return null===e?null:{type:e.type,protocol:e.protocol,className:e.className,vendor:e.vendor,version:e.version}}},5108:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.XagacityEmailMimeMessageFolderStoreSessionTransportToJSON=t.XagacityEmailMimeMessageFolderStoreSessionTransportFromJSONTyped=t.XagacityEmailMimeMessageFolderStoreSessionTransportFromJSON=void 0;var i=n(296),r=n(3053);function o(e,t){return null==e?e:{connected:i.exists(e,"connected")?e.connected:void 0,urlname:i.exists(e,"urlname")?r.XagacityEmailMimeMessageFolderStoreSessionTransportUrlnameFromJSON(e.urlname):void 0}}t.XagacityEmailMimeMessageFolderStoreSessionTransportFromJSON=function(e){return o(e)},t.XagacityEmailMimeMessageFolderStoreSessionTransportFromJSONTyped=o,t.XagacityEmailMimeMessageFolderStoreSessionTransportToJSON=function(e){if(void 0!==e)return null===e?null:{connected:e.connected,urlname:r.XagacityEmailMimeMessageFolderStoreSessionTransportUrlnameToJSON(e.urlname)}}},3053:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.XagacityEmailMimeMessageFolderStoreSessionTransportUrlnameToJSON=t.XagacityEmailMimeMessageFolderStoreSessionTransportUrlnameFromJSONTyped=t.XagacityEmailMimeMessageFolderStoreSessionTransportUrlnameFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{protocol:i.exists(e,"protocol")?e.protocol:void 0,username:i.exists(e,"username")?e.username:void 0,password:i.exists(e,"password")?e.password:void 0,host:i.exists(e,"host")?e.host:void 0,port:i.exists(e,"port")?e.port:void 0,file:i.exists(e,"file")?e.file:void 0,ref:i.exists(e,"ref")?e.ref:void 0,url:i.exists(e,"url")?e.url:void 0}}t.XagacityEmailMimeMessageFolderStoreSessionTransportUrlnameFromJSON=function(e){return r(e)},t.XagacityEmailMimeMessageFolderStoreSessionTransportUrlnameFromJSONTyped=r,t.XagacityEmailMimeMessageFolderStoreSessionTransportUrlnameToJSON=function(e){if(void 0!==e)return null===e?null:{protocol:e.protocol,username:e.username,password:e.password,host:e.host,port:e.port,file:e.file,ref:e.ref,url:e.url}}},1283:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.XagacityUserToJSON=t.XagacityUserFromJSONTyped=t.XagacityUserFromJSON=t.XagacityUserIdVerificationProviderEnum=void 0;var i,r=n(296),o=n(1995),a=n(6597);function s(e,t){return null==e?e:{id:r.exists(e,"id")?e.id:void 0,organizationId:r.exists(e,"organizationId")?e.organizationId:void 0,clientEmail:r.exists(e,"clientEmail")?e.clientEmail:void 0,priority:r.exists(e,"priority")?e.priority:void 0,firstName:r.exists(e,"firstName")?e.firstName:void 0,active:r.exists(e,"active")?e.active:void 0,eliseUser:r.exists(e,"eliseUser")?e.eliseUser:void 0,payingOrTrial:r.exists(e,"payingOrTrial")?e.payingOrTrial:void 0,emailPushNotificationsActive:r.exists(e,"emailPushNotificationsActive")?e.emailPushNotificationsActive:void 0,emailPushNotificationsExpiration:r.exists(e,"emailPushNotificationsExpiration")?e.emailPushNotificationsExpiration:void 0,emailClientType:r.exists(e,"emailClientType")?e.emailClientType:void 0,textApi:r.exists(e,"textApi")?e.textApi:void 0,timezone:r.exists(e,"timezone")?e.timezone:void 0,outlookTimeOfLastSyncedMessage:r.exists(e,"outlookTimeOfLastSyncedMessage")?e.outlookTimeOfLastSyncedMessage:void 0,outlookIdOfLastSyncedMessage:r.exists(e,"outlookIdOfLastSyncedMessage")?e.outlookIdOfLastSyncedMessage:void 0,xagacityLabel:r.exists(e,"xagacityLabel")?e.xagacityLabel:void 0,unreadState:r.exists(e,"unreadState")?e.unreadState:void 0,agentSignature:r.exists(e,"agentSignature")?e.agentSignature:void 0,specificGuidlines:r.exists(e,"specificGuidlines")?e.specificGuidlines:void 0,templates:r.exists(e,"templates")?e.templates:void 0,agentPhoneNumber:r.exists(e,"agentPhoneNumber")?e.agentPhoneNumber:void 0,isItProcessed:r.exists(e,"isItProcessed")?e.isItProcessed:void 0,removeFromInbox:r.exists(e,"removeFromInbox")?e.removeFromInbox:void 0,draftReply:r.exists(e,"draftReply")?e.draftReply:void 0,forwardToTeamAgent:r.exists(e,"forwardToTeamAgent")?e.forwardToTeamAgent:void 0,gmailHistoryId:r.exists(e,"gmailHistoryId")?e.gmailHistoryId:void 0,collectDataOn:r.exists(e,"collectDataOn")?e.collectDataOn:void 0,actualAssistant:r.exists(e,"actualAssistant")?e.actualAssistant:void 0,lastName:r.exists(e,"lastName")?e.lastName:void 0,subjectPreference:r.exists(e,"subjectPreference")?e.subjectPreference:void 0,getgSheetId:r.exists(e,"getgSheetId")?e.getgSheetId:void 0,autoDrafting:r.exists(e,"autoDrafting")?e.autoDrafting:void 0,followUpsRequired:r.exists(e,"followUpsRequired")?e.followUpsRequired:void 0,followUpsTemplates:r.exists(e,"followUpsTemplates")?e.followUpsTemplates:void 0,lockedSheet:r.exists(e,"lockedSheet")?e.lockedSheet:void 0,smartResponding:r.exists(e,"smartResponding")?e.smartResponding:void 0,pendingFollowUps:r.exists(e,"pendingFollowUps")?e.pendingFollowUps:void 0,xagacityNumber:r.exists(e,"xagacityNumber")?e.xagacityNumber:void 0,password:r.exists(e,"password")?e.password:void 0,calendarHistoryId:r.exists(e,"calendarHistoryId")?e.calendarHistoryId:void 0,calendarName:r.exists(e,"calendarName")?e.calendarName:void 0,hasSalesforce:r.exists(e,"hasSalesforce")?e.hasSalesforce:void 0,dateActive:r.exists(e,"dateActive")?new Date(e.dateActive):void 0,leadTrackingEmailForwardingActive:r.exists(e,"leadTrackingEmailForwardingActive")?e.leadTrackingEmailForwardingActive:void 0,receivesForwardedEmails:r.exists(e,"receivesForwardedEmails")?e.receivesForwardedEmails:void 0,messageDelayInSeconds:r.exists(e,"messageDelayInSeconds")?e.messageDelayInSeconds:void 0,crmUsedType:r.exists(e,"crmUsedType")?e.crmUsedType:void 0,relatedEmailIds:r.exists(e,"relatedEmailIds")?e.relatedEmailIds:void 0,callsStartingHours:r.exists(e,"callsStartingHours")?e.callsStartingHours:void 0,callsClosingHours:r.exists(e,"callsClosingHours")?e.callsClosingHours:void 0,availabilitiesSoftwareType:r.exists(e,"availabilitiesSoftwareType")?e.availabilitiesSoftwareType:void 0,associatedDomains:r.exists(e,"associatedDomains")?e.associatedDomains:void 0,lastCrmSyncId:r.exists(e,"lastCrmSyncId")?e.lastCrmSyncId:void 0,crmSyncType:r.exists(e,"crmSyncType")?e.crmSyncType:void 0,importingNewLeadsFromCrmActive:r.exists(e,"importingNewLeadsFromCrmActive")?e.importingNewLeadsFromCrmActive:void 0,followUpDataSource:r.exists(e,"followUpDataSource")?e.followUpDataSource:void 0,prefersTextsConfirmations:r.exists(e,"prefersTextsConfirmations")?e.prefersTextsConfirmations:void 0,smsAppointmentReminderEnabled:r.exists(e,"smsAppointmentReminderEnabled")?e.smsAppointmentReminderEnabled:void 0,smsPreTourFollowUpEnabled:r.exists(e,"smsPreTourFollowUpEnabled")?e.smsPreTourFollowUpEnabled:void 0,smsPostTourFollowUpEnabled:r.exists(e,"smsPostTourFollowUpEnabled")?e.smsPostTourFollowUpEnabled:void 0,smsNoShowFollowUpEnabled:r.exists(e,"smsNoShowFollowUpEnabled")?e.smsNoShowFollowUpEnabled:void 0,eventsLastCrmSyncId:r.exists(e,"eventsLastCrmSyncId")?e.eventsLastCrmSyncId:void 0,whiteListActivated:r.exists(e,"whiteListActivated")?e.whiteListActivated:void 0,blackListActivated:r.exists(e,"blackListActivated")?e.blackListActivated:void 0,availabilitiesPreferences:r.exists(e,"availabilitiesPreferences")?o.AvailabilitiesPreferencesFromJSON(e.availabilitiesPreferences):void 0,qaAlertPriority:r.exists(e,"qaAlertPriority")?e.qaAlertPriority:void 0,useSmtpRelay:r.exists(e,"useSmtpRelay")?e.useSmtpRelay:void 0,needParseSignature:r.exists(e,"needParseSignature")?e.needParseSignature:void 0,signaturePattern:r.exists(e,"signaturePattern")?e.signaturePattern:void 0,spamHistoryId:r.exists(e,"spamHistoryId")?e.spamHistoryId:void 0,receivesUnsubscribeReport:r.exists(e,"receivesUnsubscribeReport")?e.receivesUnsubscribeReport:void 0,emailSyncState:r.exists(e,"emailSyncState")?e.emailSyncState:void 0,buildingRefreshInfo:r.exists(e,"buildingRefreshInfo")?a.BuildingRefreshInfoFromJSON(e.buildingRefreshInfo):void 0,idVerificationProvider:r.exists(e,"idVerificationProvider")?e.idVerificationProvider:void 0}}(i=t.XagacityUserIdVerificationProviderEnum||(t.XagacityUserIdVerificationProviderEnum={})).Unknown="UNKNOWN",i.CognitoHq="COGNITO_HQ",i.AvbScreeningApi="AVB_SCREENING_API",t.XagacityUserFromJSON=function(e){return s(e)},t.XagacityUserFromJSONTyped=s,t.XagacityUserToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,organizationId:e.organizationId,clientEmail:e.clientEmail,priority:e.priority,firstName:e.firstName,active:e.active,eliseUser:e.eliseUser,payingOrTrial:e.payingOrTrial,emailPushNotificationsActive:e.emailPushNotificationsActive,emailPushNotificationsExpiration:e.emailPushNotificationsExpiration,emailClientType:e.emailClientType,textApi:e.textApi,timezone:e.timezone,outlookTimeOfLastSyncedMessage:e.outlookTimeOfLastSyncedMessage,outlookIdOfLastSyncedMessage:e.outlookIdOfLastSyncedMessage,xagacityLabel:e.xagacityLabel,unreadState:e.unreadState,agentSignature:e.agentSignature,specificGuidlines:e.specificGuidlines,templates:e.templates,agentPhoneNumber:e.agentPhoneNumber,isItProcessed:e.isItProcessed,removeFromInbox:e.removeFromInbox,draftReply:e.draftReply,forwardToTeamAgent:e.forwardToTeamAgent,gmailHistoryId:e.gmailHistoryId,collectDataOn:e.collectDataOn,actualAssistant:e.actualAssistant,lastName:e.lastName,subjectPreference:e.subjectPreference,getgSheetId:e.getgSheetId,autoDrafting:e.autoDrafting,followUpsRequired:e.followUpsRequired,followUpsTemplates:e.followUpsTemplates,lockedSheet:e.lockedSheet,smartResponding:e.smartResponding,pendingFollowUps:e.pendingFollowUps,xagacityNumber:e.xagacityNumber,password:e.password,calendarHistoryId:e.calendarHistoryId,calendarName:e.calendarName,hasSalesforce:e.hasSalesforce,dateActive:void 0===e.dateActive?void 0:e.dateActive.toISOString(),leadTrackingEmailForwardingActive:e.leadTrackingEmailForwardingActive,receivesForwardedEmails:e.receivesForwardedEmails,messageDelayInSeconds:e.messageDelayInSeconds,crmUsedType:e.crmUsedType,relatedEmailIds:e.relatedEmailIds,callsStartingHours:e.callsStartingHours,callsClosingHours:e.callsClosingHours,availabilitiesSoftwareType:e.availabilitiesSoftwareType,associatedDomains:e.associatedDomains,lastCrmSyncId:e.lastCrmSyncId,crmSyncType:e.crmSyncType,importingNewLeadsFromCrmActive:e.importingNewLeadsFromCrmActive,followUpDataSource:e.followUpDataSource,prefersTextsConfirmations:e.prefersTextsConfirmations,smsAppointmentReminderEnabled:e.smsAppointmentReminderEnabled,smsPreTourFollowUpEnabled:e.smsPreTourFollowUpEnabled,smsPostTourFollowUpEnabled:e.smsPostTourFollowUpEnabled,smsNoShowFollowUpEnabled:e.smsNoShowFollowUpEnabled,eventsLastCrmSyncId:e.eventsLastCrmSyncId,whiteListActivated:e.whiteListActivated,blackListActivated:e.blackListActivated,availabilitiesPreferences:o.AvailabilitiesPreferencesToJSON(e.availabilitiesPreferences),qaAlertPriority:e.qaAlertPriority,useSmtpRelay:e.useSmtpRelay,needParseSignature:e.needParseSignature,signaturePattern:e.signaturePattern,spamHistoryId:e.spamHistoryId,receivesUnsubscribeReport:e.receivesUnsubscribeReport,emailSyncState:e.emailSyncState,buildingRefreshInfo:a.BuildingRefreshInfoToJSON(e.buildingRefreshInfo),idVerificationProvider:e.idVerificationProvider}}},1889:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.XagacityUserWithCredentialsToJSON=t.XagacityUserWithCredentialsFromJSONTyped=t.XagacityUserWithCredentialsFromJSON=void 0;var i=n(296),r=n(7455),o=n(9861),a=n(3538),s=n(1283),u=n(3450);function l(e,t){return null==e?e:{user:i.exists(e,"user")?s.XagacityUserFromJSON(e.user):void 0,entrataCredentials:i.exists(e,"entrataCredentials")?o.EntrataCredentialsFromJSON(e.entrataCredentials):void 0,realPageCredentials:i.exists(e,"realPageCredentials")?a.RealPageCredentialsFromJSON(e.realPageCredentials):void 0,yardiCredentials:i.exists(e,"yardiCredentials")?u.YardiCredentialsFromJSON(e.yardiCredentials):void 0,anyoneHomeCredentials:i.exists(e,"anyoneHomeCredentials")?r.AnyoneHomeCredentialsFromJSON(e.anyoneHomeCredentials):void 0}}t.XagacityUserWithCredentialsFromJSON=function(e){return l(e)},t.XagacityUserWithCredentialsFromJSONTyped=l,t.XagacityUserWithCredentialsToJSON=function(e){if(void 0!==e)return null===e?null:{user:s.XagacityUserToJSON(e.user),entrataCredentials:o.EntrataCredentialsToJSON(e.entrataCredentials),realPageCredentials:a.RealPageCredentialsToJSON(e.realPageCredentials),yardiCredentials:u.YardiCredentialsToJSON(e.yardiCredentials),anyoneHomeCredentials:r.AnyoneHomeCredentialsToJSON(e.anyoneHomeCredentials)}}},3450:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.YardiCredentialsToJSON=t.YardiCredentialsFromJSONTyped=t.YardiCredentialsFromJSON=void 0;var i=n(296);function r(e,t){return null==e?e:{id:i.exists(e,"id")?e.id:void 0,userId:i.exists(e,"userId")?e.userId:void 0,userName:i.exists(e,"userName")?e.userName:void 0,password:i.exists(e,"password")?e.password:void 0,serverName:i.exists(e,"serverName")?e.serverName:void 0,database:i.exists(e,"database")?e.database:void 0,platform:i.exists(e,"platform")?e.platform:void 0,webserviceHost:i.exists(e,"webserviceHost")?e.webserviceHost:void 0}}t.YardiCredentialsFromJSON=function(e){return r(e)},t.YardiCredentialsFromJSONTyped=r,t.YardiCredentialsToJSON=function(e){if(void 0!==e)return null===e?null:{id:e.id,userId:e.userId,userName:e.userName,password:e.password,serverName:e.serverName,database:e.database,platform:e.platform,webserviceHost:e.webserviceHost}}},4584:function(e,t,n){var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(6662),t),r(n(2322),t),r(n(1961),t),r(n(818),t),r(n(6140),t),r(n(5246),t),r(n(5556),t),r(n(7455),t),r(n(3617),t),r(n(67),t),r(n(1234),t),r(n(1995),t),r(n(3618),t),r(n(2160),t),r(n(5604),t),r(n(3477),t),r(n(8536),t),r(n(4597),t),r(n(553),t),r(n(6673),t),r(n(6597),t),r(n(7949),t),r(n(2386),t),r(n(4853),t),r(n(9260),t),r(n(3777),t),r(n(713),t),r(n(1172),t),r(n(5384),t),r(n(2414),t),r(n(3077),t),r(n(2817),t),r(n(9407),t),r(n(7058),t),r(n(3531),t),r(n(6613),t),r(n(5040),t),r(n(5111),t),r(n(3202),t),r(n(6058),t),r(n(3817),t),r(n(8668),t),r(n(6607),t),r(n(5007),t),r(n(1057),t),r(n(7009),t),r(n(3694),t),r(n(4105),t),r(n(9861),t),r(n(8442),t),r(n(6885),t),r(n(7934),t),r(n(3905),t),r(n(3958),t),r(n(6045),t),r(n(6465),t),r(n(1204),t),r(n(7895),t),r(n(4326),t),r(n(2610),t),r(n(1960),t),r(n(9233),t),r(n(8055),t),r(n(2406),t),r(n(1880),t),r(n(7989),t),r(n(4036),t),r(n(5728),t),r(n(5131),t),r(n(7708),t),r(n(746),t),r(n(7662),t),r(n(9132),t),r(n(7530),t),r(n(194),t),r(n(1312),t),r(n(4549),t),r(n(8636),t),r(n(7399),t),r(n(8328),t),r(n(4401),t),r(n(3832),t),r(n(4883),t),r(n(6705),t),r(n(1427),t),r(n(9718),t),r(n(1004),t),r(n(4240),t),r(n(2960),t),r(n(1431),t),r(n(8792),t),r(n(908),t),r(n(3231),t),r(n(8496),t),r(n(3538),t),r(n(9353),t),r(n(6343),t),r(n(7564),t),r(n(4748),t),r(n(170),t),r(n(2298),t),r(n(445),t),r(n(1222),t),r(n(7444),t),r(n(3815),t),r(n(8385),t),r(n(6956),t),r(n(2644),t),r(n(4192),t),r(n(6832),t),r(n(6865),t),r(n(6448),t),r(n(6161),t),r(n(6069),t),r(n(6122),t),r(n(5687),t),r(n(2558),t),r(n(904),t),r(n(7346),t),r(n(6306),t),r(n(2977),t),r(n(1124),t),r(n(827),t),r(n(1155),t),r(n(8911),t),r(n(9374),t),r(n(6330),t),r(n(9275),t),r(n(260),t),r(n(1161),t),r(n(5239),t),r(n(3842),t),r(n(9908),t),r(n(5530),t),r(n(9256),t),r(n(2288),t),r(n(3029),t),r(n(5454),t),r(n(2449),t),r(n(2242),t),r(n(6570),t),r(n(4675),t),r(n(3163),t),r(n(8937),t),r(n(2683),t),r(n(4145),t),r(n(7571),t),r(n(4891),t),r(n(2294),t),r(n(2394),t),r(n(8644),t),r(n(2653),t),r(n(9046),t),r(n(8819),t),r(n(6799),t),r(n(7786),t),r(n(7052),t),r(n(6826),t),r(n(403),t),r(n(3645),t),r(n(4586),t),r(n(560),t),r(n(5108),t),r(n(3053),t),r(n(1283),t),r(n(1889),t),r(n(3450),t)},296:function(e,t){var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},n(e,t)},function(e,t){function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},r.apply(this,arguments)},o=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{u(i.next(e))}catch(e){o(e)}}function s(e){try{u(i.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((i=i.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.TextApiResponse=t.BlobApiResponse=t.VoidApiResponse=t.JSONApiResponse=t.canConsumeForm=t.mapValues=t.querystring=t.exists=t.Configuration=t.COLLECTION_FORMATS=t.RequiredError=t.BaseAPI=t.BASE_PATH=void 0,t.BASE_PATH="http://localhost:8080".replace(/\/+$/,"");var s=function(){function e(e){var t=this;void 0===e&&(e=new l),this.configuration=e,this.fetchApi=function(e,n){return o(t,void 0,void 0,(function(){var t,i,o,s,u,l,d;return a(this,(function(a){switch(a.label){case 0:t={url:e,init:n},i=0,o=this.middleware,a.label=1;case 1:return i<o.length?(d=o[i]).pre?[4,d.pre(r({fetch:this.fetchApi},t))]:[3,3]:[3,4];case 2:t=a.sent()||t,a.label=3;case 3:return i++,[3,1];case 4:return[4,(this.configuration.fetchApi||fetch)(t.url,t.init)];case 5:s=a.sent(),u=0,l=this.middleware,a.label=6;case 6:return u<l.length?(d=l[u]).post?[4,d.post({fetch:this.fetchApi,url:t.url,init:t.init,response:s.clone()})]:[3,8]:[3,9];case 7:s=a.sent()||s,a.label=8;case 8:return u++,[3,6];case 9:return[2,s]}}))}))},this.middleware=e.middleware}return e.prototype.withMiddleware=function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var i=this.clone();return i.middleware=(e=i.middleware).concat.apply(e,t),i},e.prototype.withPreMiddleware=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=e.map((function(e){return{pre:e}}));return this.withMiddleware.apply(this,n)},e.prototype.withPostMiddleware=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=e.map((function(e){return{post:e}}));return this.withMiddleware.apply(this,n)},e.prototype.request=function(e,t){return o(this,void 0,void 0,(function(){var n,i,r,o;return a(this,(function(a){switch(a.label){case 0:return n=this.createFetchParams(e,t),i=n.url,r=n.init,[4,this.fetchApi(i,r)];case 1:if((o=a.sent()).status>=200&&o.status<300)return[2,o];throw o}}))}))},e.prototype.createFetchParams=function(e,t){var n=this.configuration.basePath+e.path;void 0!==e.query&&0!==Object.keys(e.query).length&&(n+="?"+this.configuration.queryParamsStringify(e.query));var i,o="undefined"!=typeof FormData&&e.body instanceof FormData||e.body instanceof URLSearchParams||(i=e.body,"undefined"!=typeof Blob&&i instanceof Blob)?e.body:JSON.stringify(e.body),a=Object.assign({},this.configuration.headers,e.headers);return{url:n,init:r({method:e.method,headers:a,body:o,credentials:this.configuration.credentials},t)}},e.prototype.clone=function(){var e=new(0,this.constructor)(this.configuration);return e.middleware=this.middleware.slice(),e},e}();t.BaseAPI=s;var u=function(e){function t(t,n){var i=e.call(this,n)||this;return i.field=t,i.name="RequiredError",i}return i(t,e),t}(Error);t.RequiredError=u,t.COLLECTION_FORMATS={csv:",",ssv:" ",tsv:"\t",pipes:"|"};var l=function(){function e(e){void 0===e&&(e={}),this.configuration=e}return Object.defineProperty(e.prototype,"basePath",{get:function(){return null!=this.configuration.basePath?this.configuration.basePath:t.BASE_PATH},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"fetchApi",{get:function(){return this.configuration.fetchApi},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"middleware",{get:function(){return this.configuration.middleware||[]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"queryParamsStringify",{get:function(){return this.configuration.queryParamsStringify||d},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"username",{get:function(){return this.configuration.username},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"password",{get:function(){return this.configuration.password},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"apiKey",{get:function(){var e=this.configuration.apiKey;if(e)return"function"==typeof e?e:function(){return e}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"accessToken",{get:function(){var e=this,t=this.configuration.accessToken;if(t)return"function"==typeof t?t:function(){return o(e,void 0,void 0,(function(){return a(this,(function(e){return[2,t]}))}))}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"headers",{get:function(){return this.configuration.headers},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"credentials",{get:function(){return this.configuration.credentials},enumerable:!1,configurable:!0}),e}();function d(e,t){return void 0===t&&(t=""),Object.keys(e).map((function(n){var i=t+(t.length?"["+n+"]":n),r=e[n];if(r instanceof Array){var o=r.map((function(e){return encodeURIComponent(String(e))})).join("&"+encodeURIComponent(i)+"=");return encodeURIComponent(i)+"="+o}return r instanceof Date?encodeURIComponent(i)+"="+encodeURIComponent(r.toISOString()):r instanceof Object?d(r,i):encodeURIComponent(i)+"="+encodeURIComponent(String(r))})).filter((function(e){return e.length>0})).join("&")}t.Configuration=l,t.exists=function(e,t){return null!=e[t]},t.querystring=d,t.mapValues=function(e,t){return Object.keys(e).reduce((function(n,i){var o;return r(r({},n),((o={})[i]=t(e[i]),o))}),{})},t.canConsumeForm=function(e){for(var t=0,n=e;t<n.length;t++)if("multipart/form-data"===n[t].contentType)return!0;return!1};var c=function(){function e(e,t){void 0===t&&(t=function(e){return e}),this.raw=e,this.transformer=t}return e.prototype.value=function(){return o(this,void 0,void 0,(function(){var e;return a(this,(function(t){switch(t.label){case 0:return e=this.transformer,[4,this.raw.json()];case 1:return[2,e.apply(this,[t.sent()])]}}))}))},e}();t.JSONApiResponse=c;var p=function(){function e(e){this.raw=e}return e.prototype.value=function(){return o(this,void 0,void 0,(function(){return a(this,(function(e){return[2,void 0]}))}))},e}();t.VoidApiResponse=p;var f=function(){function e(e){this.raw=e}return e.prototype.value=function(){return o(this,void 0,void 0,(function(){return a(this,(function(e){switch(e.label){case 0:return[4,this.raw.blob()];case 1:return[2,e.sent()]}}))}))},e}();t.BlobApiResponse=f;var h=function(){function e(e){this.raw=e}return e.prototype.value=function(){return o(this,void 0,void 0,(function(){return a(this,(function(e){switch(e.label){case 0:return[4,this.raw.text()];case 1:return[2,e.sent()]}}))}))},e}();t.TextApiResponse=h},9669:(e,t,n)=>{e.exports=n(1609)},5448:(e,t,n)=>{var i=n(4867),r=n(6026),o=n(4372),a=n(5327),s=n(4097),u=n(4109),l=n(7985),d=n(7874),c=n(2648),p=n(644),f=n(205);e.exports=function(e){return new Promise((function(t,n){var h,m=e.data,v=e.headers,g=e.responseType;function y(){e.cancelToken&&e.cancelToken.unsubscribe(h),e.signal&&e.signal.removeEventListener("abort",h)}i.isFormData(m)&&i.isStandardBrowserEnv()&&delete v["Content-Type"];var b=new XMLHttpRequest;if(e.auth){var w=e.auth.username||"",S=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";v.Authorization="Basic "+btoa(w+":"+S)}var T=s(e.baseURL,e.url);function x(){if(b){var i="getAllResponseHeaders"in b?u(b.getAllResponseHeaders()):null,o={data:g&&"text"!==g&&"json"!==g?b.response:b.responseText,status:b.status,statusText:b.statusText,headers:i,config:e,request:b};r((function(e){t(e),y()}),(function(e){n(e),y()}),o),b=null}}if(b.open(e.method.toUpperCase(),a(T,e.params,e.paramsSerializer),!0),b.timeout=e.timeout,"onloadend"in b?b.onloadend=x:b.onreadystatechange=function(){b&&4===b.readyState&&(0!==b.status||b.responseURL&&0===b.responseURL.indexOf("file:"))&&setTimeout(x)},b.onabort=function(){b&&(n(new c("Request aborted",c.ECONNABORTED,e,b)),b=null)},b.onerror=function(){n(new c("Network Error",c.ERR_NETWORK,e,b,b)),b=null},b.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",i=e.transitional||d;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(new c(t,i.clarifyTimeoutError?c.ETIMEDOUT:c.ECONNABORTED,e,b)),b=null},i.isStandardBrowserEnv()){var O=(e.withCredentials||l(T))&&e.xsrfCookieName?o.read(e.xsrfCookieName):void 0;O&&(v[e.xsrfHeaderName]=O)}"setRequestHeader"in b&&i.forEach(v,(function(e,t){void 0===m&&"content-type"===t.toLowerCase()?delete v[t]:b.setRequestHeader(t,e)})),i.isUndefined(e.withCredentials)||(b.withCredentials=!!e.withCredentials),g&&"json"!==g&&(b.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&b.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&b.upload&&b.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(h=function(e){b&&(n(!e||e&&e.type?new p:e),b.abort(),b=null)},e.cancelToken&&e.cancelToken.subscribe(h),e.signal&&(e.signal.aborted?h():e.signal.addEventListener("abort",h))),m||(m=null);var I=f(T);I&&-1===["http","https","file"].indexOf(I)?n(new c("Unsupported protocol "+I+":",c.ERR_BAD_REQUEST,e)):b.send(m)}))}},1609:(e,t,n)=>{var i=n(4867),r=n(1849),o=n(321),a=n(7185),s=function e(t){var n=new o(t),s=r(o.prototype.request,n);return i.extend(s,o.prototype,n),i.extend(s,n),s.create=function(n){return e(a(t,n))},s}(n(5546));s.Axios=o,s.CanceledError=n(644),s.CancelToken=n(4972),s.isCancel=n(6502),s.VERSION=n(7288).version,s.toFormData=n(7675),s.AxiosError=n(2648),s.Cancel=s.CanceledError,s.all=function(e){return Promise.all(e)},s.spread=n(8713),s.isAxiosError=n(6268),e.exports=s,e.exports.default=s},4972:(e,t,n)=>{var i=n(644);function r(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;this.promise.then((function(e){if(n._listeners){var t,i=n._listeners.length;for(t=0;t<i;t++)n._listeners[t](e);n._listeners=null}})),this.promise.then=function(e){var t,i=new Promise((function(e){n.subscribe(e),t=e})).then(e);return i.cancel=function(){n.unsubscribe(t)},i},e((function(e){n.reason||(n.reason=new i(e),t(n.reason))}))}r.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},r.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},r.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},r.source=function(){var e;return{token:new r((function(t){e=t})),cancel:e}},e.exports=r},644:(e,t,n)=>{var i=n(2648);function r(e){i.call(this,null==e?"canceled":e,i.ERR_CANCELED),this.name="CanceledError"}n(4867).inherits(r,i,{__CANCEL__:!0}),e.exports=r},6502:e=>{e.exports=function(e){return!(!e||!e.__CANCEL__)}},321:(e,t,n)=>{var i=n(4867),r=n(5327),o=n(782),a=n(3572),s=n(7185),u=n(4097),l=n(4875),d=l.validators;function c(e){this.defaults=e,this.interceptors={request:new o,response:new o}}c.prototype.request=function(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},(t=s(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var n=t.transitional;void 0!==n&&l.assertOptions(n,{silentJSONParsing:d.transitional(d.boolean),forcedJSONParsing:d.transitional(d.boolean),clarifyTimeoutError:d.transitional(d.boolean)},!1);var i=[],r=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(r=r&&e.synchronous,i.unshift(e.fulfilled,e.rejected))}));var o,u=[];if(this.interceptors.response.forEach((function(e){u.push(e.fulfilled,e.rejected)})),!r){var c=[a,void 0];for(Array.prototype.unshift.apply(c,i),c=c.concat(u),o=Promise.resolve(t);c.length;)o=o.then(c.shift(),c.shift());return o}for(var p=t;i.length;){var f=i.shift(),h=i.shift();try{p=f(p)}catch(e){h(e);break}}try{o=a(p)}catch(e){return Promise.reject(e)}for(;u.length;)o=o.then(u.shift(),u.shift());return o},c.prototype.getUri=function(e){e=s(this.defaults,e);var t=u(e.baseURL,e.url);return r(t,e.params,e.paramsSerializer)},i.forEach(["delete","get","head","options"],(function(e){c.prototype[e]=function(t,n){return this.request(s(n||{},{method:e,url:t,data:(n||{}).data}))}})),i.forEach(["post","put","patch"],(function(e){function t(t){return function(n,i,r){return this.request(s(r||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:i}))}}c.prototype[e]=t(),c.prototype[e+"Form"]=t(!0)})),e.exports=c},2648:(e,t,n)=>{var i=n(4867);function r(e,t,n,i,r){Error.call(this),this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),i&&(this.request=i),r&&(this.response=r)}i.inherits(r,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var o=r.prototype,a={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED"].forEach((function(e){a[e]={value:e}})),Object.defineProperties(r,a),Object.defineProperty(o,"isAxiosError",{value:!0}),r.from=function(e,t,n,a,s,u){var l=Object.create(o);return i.toFlatObject(e,l,(function(e){return e!==Error.prototype})),r.call(l,e.message,t,n,a,s),l.name=e.name,u&&Object.assign(l,u),l},e.exports=r},782:(e,t,n)=>{var i=n(4867);function r(){this.handlers=[]}r.prototype.use=function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},r.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},r.prototype.forEach=function(e){i.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=r},4097:(e,t,n)=>{var i=n(1793),r=n(7303);e.exports=function(e,t){return e&&!i(t)?r(e,t):t}},3572:(e,t,n)=>{var i=n(4867),r=n(8527),o=n(6502),a=n(5546),s=n(644);function u(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new s}e.exports=function(e){return u(e),e.headers=e.headers||{},e.data=r.call(e,e.data,e.headers,e.transformRequest),e.headers=i.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),i.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||a.adapter)(e).then((function(t){return u(e),t.data=r.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return o(t)||(u(e),t&&t.response&&(t.response.data=r.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},7185:(e,t,n)=>{var i=n(4867);e.exports=function(e,t){t=t||{};var n={};function r(e,t){return i.isPlainObject(e)&&i.isPlainObject(t)?i.merge(e,t):i.isPlainObject(t)?i.merge({},t):i.isArray(t)?t.slice():t}function o(n){return i.isUndefined(t[n])?i.isUndefined(e[n])?void 0:r(void 0,e[n]):r(e[n],t[n])}function a(e){if(!i.isUndefined(t[e]))return r(void 0,t[e])}function s(n){return i.isUndefined(t[n])?i.isUndefined(e[n])?void 0:r(void 0,e[n]):r(void 0,t[n])}function u(n){return n in t?r(e[n],t[n]):n in e?r(void 0,e[n]):void 0}var l={url:a,method:a,data:a,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:u};return i.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=l[e]||o,r=t(e);i.isUndefined(r)&&t!==u||(n[e]=r)})),n}},6026:(e,t,n)=>{var i=n(2648);e.exports=function(e,t,n){var r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new i("Request failed with status code "+n.status,[i.ERR_BAD_REQUEST,i.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}},8527:(e,t,n)=>{var i=n(4867),r=n(5546);e.exports=function(e,t,n){var o=this||r;return i.forEach(n,(function(n){e=n.call(o,e,t)})),e}},5546:(e,t,n)=>{var i=n(4867),r=n(6016),o=n(2648),a=n(7874),s=n(7675),u={"Content-Type":"application/x-www-form-urlencoded"};function l(e,t){!i.isUndefined(e)&&i.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var d,c={transitional:a,adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(d=n(5448)),d),transformRequest:[function(e,t){if(r(t,"Accept"),r(t,"Content-Type"),i.isFormData(e)||i.isArrayBuffer(e)||i.isBuffer(e)||i.isStream(e)||i.isFile(e)||i.isBlob(e))return e;if(i.isArrayBufferView(e))return e.buffer;if(i.isURLSearchParams(e))return l(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString();var n,o=i.isObject(e),a=t&&t["Content-Type"];if((n=i.isFileList(e))||o&&"multipart/form-data"===a){var u=this.env&&this.env.FormData;return s(n?{"files[]":e}:e,u&&new u)}return o||"application/json"===a?(l(t,"application/json"),function(e,t,n){if(i.isString(e))try{return(0,JSON.parse)(e),i.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||c.transitional,n=t&&t.silentJSONParsing,r=t&&t.forcedJSONParsing,a=!n&&"json"===this.responseType;if(a||r&&i.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(a){if("SyntaxError"===e.name)throw o.from(e,o.ERR_BAD_RESPONSE,this,null,this.response);throw e}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:n(1623)},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};i.forEach(["delete","get","head"],(function(e){c.headers[e]={}})),i.forEach(["post","put","patch"],(function(e){c.headers[e]=i.merge(u)})),e.exports=c},7874:e=>{e.exports={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}},7288:e=>{e.exports={version:"0.27.2"}},1849:e=>{e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),i=0;i<n.length;i++)n[i]=arguments[i];return e.apply(t,n)}}},5327:(e,t,n)=>{var i=n(4867);function r(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var o;if(n)o=n(t);else if(i.isURLSearchParams(t))o=t.toString();else{var a=[];i.forEach(t,(function(e,t){null!=e&&(i.isArray(e)?t+="[]":e=[e],i.forEach(e,(function(e){i.isDate(e)?e=e.toISOString():i.isObject(e)&&(e=JSON.stringify(e)),a.push(r(t)+"="+r(e))})))})),o=a.join("&")}if(o){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}},7303:e=>{e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},4372:(e,t,n)=>{var i=n(4867);e.exports=i.isStandardBrowserEnv()?{write:function(e,t,n,r,o,a){var s=[];s.push(e+"="+encodeURIComponent(t)),i.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),i.isString(r)&&s.push("path="+r),i.isString(o)&&s.push("domain="+o),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},1793:e=>{e.exports=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}},6268:(e,t,n)=>{var i=n(4867);e.exports=function(e){return i.isObject(e)&&!0===e.isAxiosError}},7985:(e,t,n)=>{var i=n(4867);e.exports=i.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function r(e){var i=e;return t&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=r(window.location.href),function(t){var n=i.isString(t)?r(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},6016:(e,t,n)=>{var i=n(4867);e.exports=function(e,t){i.forEach(e,(function(n,i){i!==t&&i.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[i])}))}},1623:e=>{e.exports=null},4109:(e,t,n)=>{var i=n(4867),r=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,o,a={};return e?(i.forEach(e.split("\n"),(function(e){if(o=e.indexOf(":"),t=i.trim(e.substr(0,o)).toLowerCase(),n=i.trim(e.substr(o+1)),t){if(a[t]&&r.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([n]):a[t]?a[t]+", "+n:n}})),a):a}},205:e=>{e.exports=function(e){var t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}},8713:e=>{e.exports=function(e){return function(t){return e.apply(null,t)}}},7675:(e,t,n)=>{var i=n(4867);e.exports=function(e,t){t=t||new FormData;var n=[];function r(e){return null===e?"":i.isDate(e)?e.toISOString():i.isArrayBuffer(e)||i.isTypedArray(e)?"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}return function e(o,a){if(i.isPlainObject(o)||i.isArray(o)){if(-1!==n.indexOf(o))throw Error("Circular reference detected in "+a);n.push(o),i.forEach(o,(function(n,o){if(!i.isUndefined(n)){var s,u=a?a+"."+o:o;if(n&&!a&&"object"==typeof n)if(i.endsWith(o,"{}"))n=JSON.stringify(n);else if(i.endsWith(o,"[]")&&(s=i.toArray(n)))return void s.forEach((function(e){!i.isUndefined(e)&&t.append(u,r(e))}));e(n,u)}})),n.pop()}else t.append(a,r(o))}(e),t}},4875:(e,t,n)=>{var i=n(7288).version,r=n(2648),o={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){o[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));var a={};o.transitional=function(e,t,n){function o(e,t){return"[Axios v"+i+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,i,s){if(!1===e)throw new r(o(i," has been removed"+(t?" in "+t:"")),r.ERR_DEPRECATED);return t&&!a[i]&&(a[i]=!0,console.warn(o(i," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,i,s)}},e.exports={assertOptions:function(e,t,n){if("object"!=typeof e)throw new r("options must be an object",r.ERR_BAD_OPTION_VALUE);for(var i=Object.keys(e),o=i.length;o-- >0;){var a=i[o],s=t[a];if(s){var u=e[a],l=void 0===u||s(u,a,e);if(!0!==l)throw new r("option "+a+" must be "+l,r.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new r("Unknown option "+a,r.ERR_BAD_OPTION)}},validators:o}},4867:(e,t,n)=>{var i,r=n(1849),o=Object.prototype.toString,a=(i=Object.create(null),function(e){var t=o.call(e);return i[t]||(i[t]=t.slice(8,-1).toLowerCase())});function s(e){return e=e.toLowerCase(),function(t){return a(t)===e}}function u(e){return Array.isArray(e)}function l(e){return void 0===e}var d=s("ArrayBuffer");function c(e){return null!==e&&"object"==typeof e}function p(e){if("object"!==a(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}var f=s("Date"),h=s("File"),m=s("Blob"),v=s("FileList");function g(e){return"[object Function]"===o.call(e)}var y=s("URLSearchParams");function b(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),u(e))for(var n=0,i=e.length;n<i;n++)t.call(null,e[n],n,e);else for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.call(null,e[r],r,e)}var w,S=(w="undefined"!=typeof Uint8Array&&Object.getPrototypeOf(Uint8Array),function(e){return w&&e instanceof w});e.exports={isArray:u,isArrayBuffer:d,isBuffer:function(e){return null!==e&&!l(e)&&null!==e.constructor&&!l(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){var t="[object FormData]";return e&&("function"==typeof FormData&&e instanceof FormData||o.call(e)===t||g(e.toString)&&e.toString()===t)},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&d(e.buffer)},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:c,isPlainObject:p,isUndefined:l,isDate:f,isFile:h,isBlob:m,isFunction:g,isStream:function(e){return c(e)&&g(e.pipe)},isURLSearchParams:y,isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach:b,merge:function e(){var t={};function n(n,i){p(t[i])&&p(n)?t[i]=e(t[i],n):p(n)?t[i]=e({},n):u(n)?t[i]=n.slice():t[i]=n}for(var i=0,r=arguments.length;i<r;i++)b(arguments[i],n);return t},extend:function(e,t,n){return b(t,(function(t,i){e[i]=n&&"function"==typeof t?r(t,n):t})),e},trim:function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e},inherits:function(e,t,n,i){e.prototype=Object.create(t.prototype,i),e.prototype.constructor=e,n&&Object.assign(e.prototype,n)},toFlatObject:function(e,t,n){var i,r,o,a={};t=t||{};do{for(r=(i=Object.getOwnPropertyNames(e)).length;r-- >0;)a[o=i[r]]||(t[o]=e[o],a[o]=!0);e=Object.getPrototypeOf(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:a,kindOfTest:s,endsWith:function(e,t,n){e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;var i=e.indexOf(t,n);return-1!==i&&i===n},toArray:function(e){if(!e)return null;var t=e.length;if(l(t))return null;for(var n=new Array(t);t-- >0;)n[t]=e[t];return n},isTypedArray:S,isFileList:v}},4184:(e,t)=>{var n;!function(){var i={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var o=typeof n;if("string"===o||"number"===o)e.push(n);else if(Array.isArray(n)){if(n.length){var a=r.apply(null,n);a&&e.push(a)}}else if("object"===o)if(n.toString===Object.prototype.toString)for(var s in n)i.call(n,s)&&n[s]&&e.push(s);else e.push(n.toString())}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(n=function(){return r}.apply(t,[]))||(e.exports=n)}()},3631:(e,t,n)=>{n.d(t,{Z:()=>s});var i=n(8081),r=n.n(i),o=n(5879),a=n.n(o)()(r());a.push([e.id,"@media screen and (min-width: 767px) {\n .meetelise-chat.pane.launcher__desktop {\n right: -32px;\n }\n}\n",""]);const s=a},5879:e=>{e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",i=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),i&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),i&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,i,r,o){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(i)for(var s=0;s<this.length;s++){var u=this[s][0];null!=u&&(a[u]=!0)}for(var l=0;l<e.length;l++){var d=[].concat(e[l]);i&&a[d[0]]||(void 0!==o&&(void 0===d[5]||(d[1]="@layer".concat(d[5].length>0?" ".concat(d[5]):""," {").concat(d[1],"}")),d[5]=o),n&&(d[2]?(d[1]="@media ".concat(d[2]," {").concat(d[1],"}"),d[2]=n):d[2]=n),r&&(d[4]?(d[1]="@supports (".concat(d[4],") {").concat(d[1],"}"),d[4]=r):d[4]="".concat(r)),t.push(d))}},t}},8081:e=>{e.exports=function(e){return e[1]}},8552:(e,t,n)=>{var i=n(852)(n(5639),"DataView");e.exports=i},1989:(e,t,n)=>{var i=n(1789),r=n(401),o=n(7667),a=n(1327),s=n(1866);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}u.prototype.clear=i,u.prototype.delete=r,u.prototype.get=o,u.prototype.has=a,u.prototype.set=s,e.exports=u},8407:(e,t,n)=>{var i=n(7040),r=n(4125),o=n(2117),a=n(7529),s=n(4705);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}u.prototype.clear=i,u.prototype.delete=r,u.prototype.get=o,u.prototype.has=a,u.prototype.set=s,e.exports=u},7071:(e,t,n)=>{var i=n(852)(n(5639),"Map");e.exports=i},3369:(e,t,n)=>{var i=n(4785),r=n(1285),o=n(6e3),a=n(9916),s=n(5265);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}u.prototype.clear=i,u.prototype.delete=r,u.prototype.get=o,u.prototype.has=a,u.prototype.set=s,e.exports=u},3818:(e,t,n)=>{var i=n(852)(n(5639),"Promise");e.exports=i},8525:(e,t,n)=>{var i=n(852)(n(5639),"Set");e.exports=i},1258:(e,t,n)=>{var i=n(3369),r=n(619),o=n(2385);function a(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new i;++t<n;)this.add(e[t])}a.prototype.add=a.prototype.push=r,a.prototype.has=o,e.exports=a},6384:(e,t,n)=>{var i=n(8407),r=n(7465),o=n(3779),a=n(7599),s=n(4758),u=n(4309);function l(e){var t=this.__data__=new i(e);this.size=t.size}l.prototype.clear=r,l.prototype.delete=o,l.prototype.get=a,l.prototype.has=s,l.prototype.set=u,e.exports=l},2705:(e,t,n)=>{var i=n(5639).Symbol;e.exports=i},1149:(e,t,n)=>{var i=n(5639).Uint8Array;e.exports=i},577:(e,t,n)=>{var i=n(852)(n(5639),"WeakMap");e.exports=i},4174:e=>{e.exports=function(e,t,n,i){for(var r=-1,o=null==e?0:e.length;++r<o;){var a=e[r];t(i,a,n(a),e)}return i}},4963:e=>{e.exports=function(e,t){for(var n=-1,i=null==e?0:e.length,r=0,o=[];++n<i;){var a=e[n];t(a,n,e)&&(o[r++]=a)}return o}},4636:(e,t,n)=>{var i=n(2545),r=n(5694),o=n(1469),a=n(4144),s=n(5776),u=n(6719),l=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=o(e),d=!n&&r(e),c=!n&&!d&&a(e),p=!n&&!d&&!c&&u(e),f=n||d||c||p,h=f?i(e.length,String):[],m=h.length;for(var v in e)!t&&!l.call(e,v)||f&&("length"==v||c&&("offset"==v||"parent"==v)||p&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||s(v,m))||h.push(v);return h}},9932:e=>{e.exports=function(e,t){for(var n=-1,i=null==e?0:e.length,r=Array(i);++n<i;)r[n]=t(e[n],n,e);return r}},2488:e=>{e.exports=function(e,t){for(var n=-1,i=t.length,r=e.length;++n<i;)e[r+n]=t[n];return e}},2908:e=>{e.exports=function(e,t){for(var n=-1,i=null==e?0:e.length;++n<i;)if(t(e[n],n,e))return!0;return!1}},8470:(e,t,n)=>{var i=n(7813);e.exports=function(e,t){for(var n=e.length;n--;)if(i(e[n][0],t))return n;return-1}},1119:(e,t,n)=>{var i=n(9881);e.exports=function(e,t,n,r){return i(e,(function(e,i,o){t(r,e,n(e),o)})),r}},9465:(e,t,n)=>{var i=n(8777);e.exports=function(e,t,n){"__proto__"==t&&i?i(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},9881:(e,t,n)=>{var i=n(7816),r=n(9291)(i);e.exports=r},8483:(e,t,n)=>{var i=n(5063)();e.exports=i},7816:(e,t,n)=>{var i=n(8483),r=n(3674);e.exports=function(e,t){return e&&i(e,t,r)}},2325:(e,t,n)=>{var i=n(1811),r=n(327);e.exports=function(e,t){for(var n=0,o=(t=i(t,e)).length;null!=e&&n<o;)e=e[r(t[n++])];return n&&n==o?e:void 0}},8866:(e,t,n)=>{var i=n(2488),r=n(1469);e.exports=function(e,t,n){var o=t(e);return r(e)?o:i(o,n(e))}},4239:(e,t,n)=>{var i=n(2705),r=n(9607),o=n(2333),a=i?i.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?r(e):o(e)}},13:e=>{e.exports=function(e,t){return null!=e&&t in Object(e)}},9454:(e,t,n)=>{var i=n(4239),r=n(7005);e.exports=function(e){return r(e)&&"[object Arguments]"==i(e)}},939:(e,t,n)=>{var i=n(2492),r=n(7005);e.exports=function e(t,n,o,a,s){return t===n||(null==t||null==n||!r(t)&&!r(n)?t!=t&&n!=n:i(t,n,o,a,e,s))}},2492:(e,t,n)=>{var i=n(6384),r=n(7114),o=n(8351),a=n(6096),s=n(4160),u=n(1469),l=n(4144),d=n(6719),c="[object Arguments]",p="[object Array]",f="[object Object]",h=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,m,v,g){var y=u(e),b=u(t),w=y?p:s(e),S=b?p:s(t),T=(w=w==c?f:w)==f,x=(S=S==c?f:S)==f,O=w==S;if(O&&l(e)){if(!l(t))return!1;y=!0,T=!1}if(O&&!T)return g||(g=new i),y||d(e)?r(e,t,n,m,v,g):o(e,t,w,n,m,v,g);if(!(1&n)){var I=T&&h.call(e,"__wrapped__"),R=x&&h.call(t,"__wrapped__");if(I||R){var N=I?e.value():e,A=R?t.value():t;return g||(g=new i),v(N,A,n,m,g)}}return!!O&&(g||(g=new i),a(e,t,n,m,v,g))}},2958:(e,t,n)=>{var i=n(6384),r=n(939);e.exports=function(e,t,n,o){var a=n.length,s=a,u=!o;if(null==e)return!s;for(e=Object(e);a--;){var l=n[a];if(u&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++a<s;){var d=(l=n[a])[0],c=e[d],p=l[1];if(u&&l[2]){if(void 0===c&&!(d in e))return!1}else{var f=new i;if(o)var h=o(c,p,d,e,t,f);if(!(void 0===h?r(p,c,3,o,f):h))return!1}}return!0}},8458:(e,t,n)=>{var i=n(3560),r=n(5346),o=n(3218),a=n(346),s=/^\[object .+?Constructor\]$/,u=Function.prototype,l=Object.prototype,d=u.toString,c=l.hasOwnProperty,p=RegExp("^"+d.call(c).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!o(e)||r(e))&&(i(e)?p:s).test(a(e))}},8749:(e,t,n)=>{var i=n(4239),r=n(1780),o=n(7005),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return o(e)&&r(e.length)&&!!a[i(e)]}},7206:(e,t,n)=>{var i=n(1573),r=n(6432),o=n(6557),a=n(1469),s=n(9601);e.exports=function(e){return"function"==typeof e?e:null==e?o:"object"==typeof e?a(e)?r(e[0],e[1]):i(e):s(e)}},280:(e,t,n)=>{var i=n(5726),r=n(6916),o=Object.prototype.hasOwnProperty;e.exports=function(e){if(!i(e))return r(e);var t=[];for(var n in Object(e))o.call(e,n)&&"constructor"!=n&&t.push(n);return t}},1573:(e,t,n)=>{var i=n(2958),r=n(1499),o=n(2634);e.exports=function(e){var t=r(e);return 1==t.length&&t[0][2]?o(t[0][0],t[0][1]):function(n){return n===e||i(n,e,t)}}},6432:(e,t,n)=>{var i=n(939),r=n(7361),o=n(9095),a=n(5403),s=n(9162),u=n(2634),l=n(327);e.exports=function(e,t){return a(e)&&s(t)?u(l(e),t):function(n){var a=r(n,e);return void 0===a&&a===t?o(n,e):i(t,a,3)}}},371:e=>{e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},9152:(e,t,n)=>{var i=n(2325);e.exports=function(e){return function(t){return i(t,e)}}},2545:e=>{e.exports=function(e,t){for(var n=-1,i=Array(e);++n<e;)i[n]=t(n);return i}},531:(e,t,n)=>{var i=n(2705),r=n(9932),o=n(1469),a=n(3448),s=i?i.prototype:void 0,u=s?s.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(o(t))return r(t,e)+"";if(a(t))return u?u.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}},7518:e=>{e.exports=function(e){return function(t){return e(t)}}},4757:e=>{e.exports=function(e,t){return e.has(t)}},1811:(e,t,n)=>{var i=n(1469),r=n(5403),o=n(5514),a=n(9833);e.exports=function(e,t){return i(e)?e:r(e,t)?[e]:o(a(e))}},4429:(e,t,n)=>{var i=n(5639)["__core-js_shared__"];e.exports=i},5189:(e,t,n)=>{var i=n(4174),r=n(1119),o=n(7206),a=n(1469);e.exports=function(e,t){return function(n,s){var u=a(n)?i:r,l=t?t():{};return u(n,e,o(s,2),l)}}},9291:(e,t,n)=>{var i=n(8612);e.exports=function(e,t){return function(n,r){if(null==n)return n;if(!i(n))return e(n,r);for(var o=n.length,a=t?o:-1,s=Object(n);(t?a--:++a<o)&&!1!==r(s[a],a,s););return n}}},5063:e=>{e.exports=function(e){return function(t,n,i){for(var r=-1,o=Object(t),a=i(t),s=a.length;s--;){var u=a[e?s:++r];if(!1===n(o[u],u,o))break}return t}}},8777:(e,t,n)=>{var i=n(852),r=function(){try{var e=i(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=r},7114:(e,t,n)=>{var i=n(1258),r=n(2908),o=n(4757);e.exports=function(e,t,n,a,s,u){var l=1&n,d=e.length,c=t.length;if(d!=c&&!(l&&c>d))return!1;var p=u.get(e),f=u.get(t);if(p&&f)return p==t&&f==e;var h=-1,m=!0,v=2&n?new i:void 0;for(u.set(e,t),u.set(t,e);++h<d;){var g=e[h],y=t[h];if(a)var b=l?a(y,g,h,t,e,u):a(g,y,h,e,t,u);if(void 0!==b){if(b)continue;m=!1;break}if(v){if(!r(t,(function(e,t){if(!o(v,t)&&(g===e||s(g,e,n,a,u)))return v.push(t)}))){m=!1;break}}else if(g!==y&&!s(g,y,n,a,u)){m=!1;break}}return u.delete(e),u.delete(t),m}},8351:(e,t,n)=>{var i=n(2705),r=n(1149),o=n(7813),a=n(7114),s=n(8776),u=n(1814),l=i?i.prototype:void 0,d=l?l.valueOf:void 0;e.exports=function(e,t,n,i,l,c,p){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!c(new r(e),new r(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return o(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var f=s;case"[object Set]":var h=1&i;if(f||(f=u),e.size!=t.size&&!h)return!1;var m=p.get(e);if(m)return m==t;i|=2,p.set(e,t);var v=a(f(e),f(t),i,l,c,p);return p.delete(e),v;case"[object Symbol]":if(d)return d.call(e)==d.call(t)}return!1}},6096:(e,t,n)=>{var i=n(8234),r=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,o,a,s){var u=1&n,l=i(e),d=l.length;if(d!=i(t).length&&!u)return!1;for(var c=d;c--;){var p=l[c];if(!(u?p in t:r.call(t,p)))return!1}var f=s.get(e),h=s.get(t);if(f&&h)return f==t&&h==e;var m=!0;s.set(e,t),s.set(t,e);for(var v=u;++c<d;){var g=e[p=l[c]],y=t[p];if(o)var b=u?o(y,g,p,t,e,s):o(g,y,p,e,t,s);if(!(void 0===b?g===y||a(g,y,n,o,s):b)){m=!1;break}v||(v="constructor"==p)}if(m&&!v){var w=e.constructor,S=t.constructor;w==S||!("constructor"in e)||!("constructor"in t)||"function"==typeof w&&w instanceof w&&"function"==typeof S&&S instanceof S||(m=!1)}return s.delete(e),s.delete(t),m}},1957:(e,t,n)=>{var i="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=i},8234:(e,t,n)=>{var i=n(8866),r=n(9551),o=n(3674);e.exports=function(e){return i(e,o,r)}},5050:(e,t,n)=>{var i=n(7019);e.exports=function(e,t){var n=e.__data__;return i(t)?n["string"==typeof t?"string":"hash"]:n.map}},1499:(e,t,n)=>{var i=n(9162),r=n(3674);e.exports=function(e){for(var t=r(e),n=t.length;n--;){var o=t[n],a=e[o];t[n]=[o,a,i(a)]}return t}},852:(e,t,n)=>{var i=n(8458),r=n(7801);e.exports=function(e,t){var n=r(e,t);return i(n)?n:void 0}},9607:(e,t,n)=>{var i=n(2705),r=Object.prototype,o=r.hasOwnProperty,a=r.toString,s=i?i.toStringTag:void 0;e.exports=function(e){var t=o.call(e,s),n=e[s];try{e[s]=void 0;var i=!0}catch(e){}var r=a.call(e);return i&&(t?e[s]=n:delete e[s]),r}},9551:(e,t,n)=>{var i=n(4963),r=n(479),o=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(e){return null==e?[]:(e=Object(e),i(a(e),(function(t){return o.call(e,t)})))}:r;e.exports=s},4160:(e,t,n)=>{var i=n(8552),r=n(7071),o=n(3818),a=n(8525),s=n(577),u=n(4239),l=n(346),d="[object Map]",c="[object Promise]",p="[object Set]",f="[object WeakMap]",h="[object DataView]",m=l(i),v=l(r),g=l(o),y=l(a),b=l(s),w=u;(i&&w(new i(new ArrayBuffer(1)))!=h||r&&w(new r)!=d||o&&w(o.resolve())!=c||a&&w(new a)!=p||s&&w(new s)!=f)&&(w=function(e){var t=u(e),n="[object Object]"==t?e.constructor:void 0,i=n?l(n):"";if(i)switch(i){case m:return h;case v:return d;case g:return c;case y:return p;case b:return f}return t}),e.exports=w},7801:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},222:(e,t,n)=>{var i=n(1811),r=n(5694),o=n(1469),a=n(5776),s=n(1780),u=n(327);e.exports=function(e,t,n){for(var l=-1,d=(t=i(t,e)).length,c=!1;++l<d;){var p=u(t[l]);if(!(c=null!=e&&n(e,p)))break;e=e[p]}return c||++l!=d?c:!!(d=null==e?0:e.length)&&s(d)&&a(p,d)&&(o(e)||r(e))}},1789:(e,t,n)=>{var i=n(4536);e.exports=function(){this.__data__=i?i(null):{},this.size=0}},401:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},7667:(e,t,n)=>{var i=n(4536),r=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(i){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return r.call(t,e)?t[e]:void 0}},1327:(e,t,n)=>{var i=n(4536),r=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return i?void 0!==t[e]:r.call(t,e)}},1866:(e,t,n)=>{var i=n(4536);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=i&&void 0===t?"__lodash_hash_undefined__":t,this}},5776:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var i=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==i||"symbol"!=i&&t.test(e))&&e>-1&&e%1==0&&e<n}},5403:(e,t,n)=>{var i=n(1469),r=n(3448),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(i(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!r(e))||a.test(e)||!o.test(e)||null!=t&&e in Object(t)}},7019:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},5346:(e,t,n)=>{var i,r=n(4429),o=(i=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||""))?"Symbol(src)_1."+i:"";e.exports=function(e){return!!o&&o in e}},5726:e=>{var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},9162:(e,t,n)=>{var i=n(3218);e.exports=function(e){return e==e&&!i(e)}},7040:e=>{e.exports=function(){this.__data__=[],this.size=0}},4125:(e,t,n)=>{var i=n(8470),r=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=i(t,e);return!(n<0||(n==t.length-1?t.pop():r.call(t,n,1),--this.size,0))}},2117:(e,t,n)=>{var i=n(8470);e.exports=function(e){var t=this.__data__,n=i(t,e);return n<0?void 0:t[n][1]}},7529:(e,t,n)=>{var i=n(8470);e.exports=function(e){return i(this.__data__,e)>-1}},4705:(e,t,n)=>{var i=n(8470);e.exports=function(e,t){var n=this.__data__,r=i(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}},4785:(e,t,n)=>{var i=n(1989),r=n(8407),o=n(7071);e.exports=function(){this.size=0,this.__data__={hash:new i,map:new(o||r),string:new i}}},1285:(e,t,n)=>{var i=n(5050);e.exports=function(e){var t=i(this,e).delete(e);return this.size-=t?1:0,t}},6e3:(e,t,n)=>{var i=n(5050);e.exports=function(e){return i(this,e).get(e)}},9916:(e,t,n)=>{var i=n(5050);e.exports=function(e){return i(this,e).has(e)}},5265:(e,t,n)=>{var i=n(5050);e.exports=function(e,t){var n=i(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}},8776:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,i){n[++t]=[i,e]})),n}},2634:e=>{e.exports=function(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}}},4523:(e,t,n)=>{var i=n(8306);e.exports=function(e){var t=i(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}},4536:(e,t,n)=>{var i=n(852)(Object,"create");e.exports=i},6916:(e,t,n)=>{var i=n(5569)(Object.keys,Object);e.exports=i},1167:(e,t,n)=>{e=n.nmd(e);var i=n(1957),r=t&&!t.nodeType&&t,o=r&&e&&!e.nodeType&&e,a=o&&o.exports===r&&i.process,s=function(){try{return o&&o.require&&o.require("util").types||a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=s},2333:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},5569:e=>{e.exports=function(e,t){return function(n){return e(t(n))}}},5639:(e,t,n)=>{var i=n(1957),r="object"==typeof self&&self&&self.Object===Object&&self,o=i||r||Function("return this")();e.exports=o},619:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},2385:e=>{e.exports=function(e){return this.__data__.has(e)}},1814:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},7465:(e,t,n)=>{var i=n(8407);e.exports=function(){this.__data__=new i,this.size=0}},3779:e=>{e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},7599:e=>{e.exports=function(e){return this.__data__.get(e)}},4758:e=>{e.exports=function(e){return this.__data__.has(e)}},4309:(e,t,n)=>{var i=n(8407),r=n(7071),o=n(3369);e.exports=function(e,t){var n=this.__data__;if(n instanceof i){var a=n.__data__;if(!r||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new o(a)}return n.set(e,t),this.size=n.size,this}},5514:(e,t,n)=>{var i=n(4523),r=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,a=i((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(r,(function(e,n,i,r){t.push(i?r.replace(o,"$1"):n||e)})),t}));e.exports=a},327:(e,t,n)=>{var i=n(3448);e.exports=function(e){if("string"==typeof e||i(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},346:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},7813:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},7361:(e,t,n)=>{var i=n(2325);e.exports=function(e,t,n){var r=null==e?void 0:i(e,t);return void 0===r?n:r}},7739:(e,t,n)=>{var i=n(9465),r=n(5189),o=Object.prototype.hasOwnProperty,a=r((function(e,t,n){o.call(e,n)?e[n].push(t):i(e,n,[t])}));e.exports=a},9095:(e,t,n)=>{var i=n(13),r=n(222);e.exports=function(e,t){return null!=e&&r(e,t,i)}},6557:e=>{e.exports=function(e){return e}},5694:(e,t,n)=>{var i=n(9454),r=n(7005),o=Object.prototype,a=o.hasOwnProperty,s=o.propertyIsEnumerable,u=i(function(){return arguments}())?i:function(e){return r(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=u},1469:e=>{var t=Array.isArray;e.exports=t},8612:(e,t,n)=>{var i=n(3560),r=n(1780);e.exports=function(e){return null!=e&&r(e.length)&&!i(e)}},4144:(e,t,n)=>{e=n.nmd(e);var i=n(5639),r=n(5062),o=t&&!t.nodeType&&t,a=o&&e&&!e.nodeType&&e,s=a&&a.exports===o?i.Buffer:void 0,u=(s?s.isBuffer:void 0)||r;e.exports=u},3560:(e,t,n)=>{var i=n(4239),r=n(3218);e.exports=function(e){if(!r(e))return!1;var t=i(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},1780:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},3218:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},7005:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},3448:(e,t,n)=>{var i=n(4239),r=n(7005);e.exports=function(e){return"symbol"==typeof e||r(e)&&"[object Symbol]"==i(e)}},6719:(e,t,n)=>{var i=n(8749),r=n(7518),o=n(1167),a=o&&o.isTypedArray,s=a?r(a):i;e.exports=s},3674:(e,t,n)=>{var i=n(4636),r=n(280),o=n(8612);e.exports=function(e){return o(e)?i(e):r(e)}},6486:function(e,t,n){var i;e=n.nmd(e),function(){var r,o="Expected a function",a="__lodash_hash_undefined__",s="__lodash_placeholder__",u=32,l=128,d=1/0,c=9007199254740991,p=NaN,f=4294967295,h=[["ary",l],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",u],["partialRight",64],["rearg",256]],m="[object Arguments]",v="[object Array]",g="[object Boolean]",y="[object Date]",b="[object Error]",w="[object Function]",S="[object GeneratorFunction]",T="[object Map]",x="[object Number]",O="[object Object]",I="[object Promise]",R="[object RegExp]",N="[object Set]",A="[object String]",C="[object Symbol]",_="[object WeakMap]",E="[object ArrayBuffer]",F="[object DataView]",M="[object Float32Array]",P="[object Float64Array]",D="[object Int8Array]",q="[object Int16Array]",U="[object Int32Array]",J="[object Uint8Array]",k="[object Uint8ClampedArray]",L="[object Uint16Array]",B="[object Uint32Array]",j=/\b__p \+= '';/g,H=/\b(__p \+=) '' \+/g,W=/(__e\(.*?\)|\b__t\)) \+\n'';/g,G=/&(?:amp|lt|gt|quot|#39);/g,$=/[&<>"']/g,z=RegExp(G.source),V=RegExp($.source),X=/<%-([\s\S]+?)%>/g,Z=/<%([\s\S]+?)%>/g,Q=/<%=([\s\S]+?)%>/g,K=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Y=/^\w*$/,ee=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,te=/[\\^$.*+?()[\]{}|]/g,ne=RegExp(te.source),ie=/^\s+/,re=/\s/,oe=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ae=/\{\n\/\* \[wrapped with (.+)\] \*/,se=/,? & /,ue=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,le=/[()=,{}\[\]\/\s]/,de=/\\(\\)?/g,ce=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,pe=/\w*$/,fe=/^[-+]0x[0-9a-f]+$/i,he=/^0b[01]+$/i,me=/^\[object .+?Constructor\]$/,ve=/^0o[0-7]+$/i,ge=/^(?:0|[1-9]\d*)$/,ye=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,be=/($^)/,we=/['\n\r\u2028\u2029\\]/g,Se="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Te="a-z\\xdf-\\xf6\\xf8-\\xff",xe="A-Z\\xc0-\\xd6\\xd8-\\xde",Oe="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Ie="["+Oe+"]",Re="["+Se+"]",Ne="\\d+",Ae="["+Te+"]",Ce="[^\\ud800-\\udfff"+Oe+Ne+"\\u2700-\\u27bf"+Te+xe+"]",_e="\\ud83c[\\udffb-\\udfff]",Ee="[^\\ud800-\\udfff]",Fe="(?:\\ud83c[\\udde6-\\uddff]){2}",Me="[\\ud800-\\udbff][\\udc00-\\udfff]",Pe="["+xe+"]",De="(?:"+Ae+"|"+Ce+")",qe="(?:"+Pe+"|"+Ce+")",Ue="(?:['’](?:d|ll|m|re|s|t|ve))?",Je="(?:['’](?:D|LL|M|RE|S|T|VE))?",ke="(?:"+Re+"|"+_e+")?",Le="[\\ufe0e\\ufe0f]?",Be=Le+ke+"(?:\\u200d(?:"+[Ee,Fe,Me].join("|")+")"+Le+ke+")*",je="(?:"+["[\\u2700-\\u27bf]",Fe,Me].join("|")+")"+Be,He="(?:"+[Ee+Re+"?",Re,Fe,Me,"[\\ud800-\\udfff]"].join("|")+")",We=RegExp("['’]","g"),Ge=RegExp(Re,"g"),$e=RegExp(_e+"(?="+_e+")|"+He+Be,"g"),ze=RegExp([Pe+"?"+Ae+"+"+Ue+"(?="+[Ie,Pe,"$"].join("|")+")",qe+"+"+Je+"(?="+[Ie,Pe+De,"$"].join("|")+")",Pe+"?"+De+"+"+Ue,Pe+"+"+Je,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Ne,je].join("|"),"g"),Ve=RegExp("[\\u200d\\ud800-\\udfff"+Se+"\\ufe0e\\ufe0f]"),Xe=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Ze=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Qe=-1,Ke={};Ke[M]=Ke[P]=Ke[D]=Ke[q]=Ke[U]=Ke[J]=Ke[k]=Ke[L]=Ke[B]=!0,Ke[m]=Ke[v]=Ke[E]=Ke[g]=Ke[F]=Ke[y]=Ke[b]=Ke[w]=Ke[T]=Ke[x]=Ke[O]=Ke[R]=Ke[N]=Ke[A]=Ke[_]=!1;var Ye={};Ye[m]=Ye[v]=Ye[E]=Ye[F]=Ye[g]=Ye[y]=Ye[M]=Ye[P]=Ye[D]=Ye[q]=Ye[U]=Ye[T]=Ye[x]=Ye[O]=Ye[R]=Ye[N]=Ye[A]=Ye[C]=Ye[J]=Ye[k]=Ye[L]=Ye[B]=!0,Ye[b]=Ye[w]=Ye[_]=!1;var et={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},tt=parseFloat,nt=parseInt,it="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,rt="object"==typeof self&&self&&self.Object===Object&&self,ot=it||rt||Function("return this")(),at=t&&!t.nodeType&&t,st=at&&e&&!e.nodeType&&e,ut=st&&st.exports===at,lt=ut&&it.process,dt=function(){try{return st&&st.require&&st.require("util").types||lt&<.binding&<.binding("util")}catch(e){}}(),ct=dt&&dt.isArrayBuffer,pt=dt&&dt.isDate,ft=dt&&dt.isMap,ht=dt&&dt.isRegExp,mt=dt&&dt.isSet,vt=dt&&dt.isTypedArray;function gt(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function yt(e,t,n,i){for(var r=-1,o=null==e?0:e.length;++r<o;){var a=e[r];t(i,a,n(a),e)}return i}function bt(e,t){for(var n=-1,i=null==e?0:e.length;++n<i&&!1!==t(e[n],n,e););return e}function wt(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function St(e,t){for(var n=-1,i=null==e?0:e.length;++n<i;)if(!t(e[n],n,e))return!1;return!0}function Tt(e,t){for(var n=-1,i=null==e?0:e.length,r=0,o=[];++n<i;){var a=e[n];t(a,n,e)&&(o[r++]=a)}return o}function xt(e,t){return!(null==e||!e.length)&&Mt(e,t,0)>-1}function Ot(e,t,n){for(var i=-1,r=null==e?0:e.length;++i<r;)if(n(t,e[i]))return!0;return!1}function It(e,t){for(var n=-1,i=null==e?0:e.length,r=Array(i);++n<i;)r[n]=t(e[n],n,e);return r}function Rt(e,t){for(var n=-1,i=t.length,r=e.length;++n<i;)e[r+n]=t[n];return e}function Nt(e,t,n,i){var r=-1,o=null==e?0:e.length;for(i&&o&&(n=e[++r]);++r<o;)n=t(n,e[r],r,e);return n}function At(e,t,n,i){var r=null==e?0:e.length;for(i&&r&&(n=e[--r]);r--;)n=t(n,e[r],r,e);return n}function Ct(e,t){for(var n=-1,i=null==e?0:e.length;++n<i;)if(t(e[n],n,e))return!0;return!1}var _t=Ut("length");function Et(e,t,n){var i;return n(e,(function(e,n,r){if(t(e,n,r))return i=n,!1})),i}function Ft(e,t,n,i){for(var r=e.length,o=n+(i?1:-1);i?o--:++o<r;)if(t(e[o],o,e))return o;return-1}function Mt(e,t,n){return t==t?function(e,t,n){for(var i=n-1,r=e.length;++i<r;)if(e[i]===t)return i;return-1}(e,t,n):Ft(e,Dt,n)}function Pt(e,t,n,i){for(var r=n-1,o=e.length;++r<o;)if(i(e[r],t))return r;return-1}function Dt(e){return e!=e}function qt(e,t){var n=null==e?0:e.length;return n?Lt(e,t)/n:p}function Ut(e){return function(t){return null==t?r:t[e]}}function Jt(e){return function(t){return null==e?r:e[t]}}function kt(e,t,n,i,r){return r(e,(function(e,r,o){n=i?(i=!1,e):t(n,e,r,o)})),n}function Lt(e,t){for(var n,i=-1,o=e.length;++i<o;){var a=t(e[i]);a!==r&&(n=n===r?a:n+a)}return n}function Bt(e,t){for(var n=-1,i=Array(e);++n<e;)i[n]=t(n);return i}function jt(e){return e?e.slice(0,sn(e)+1).replace(ie,""):e}function Ht(e){return function(t){return e(t)}}function Wt(e,t){return It(t,(function(t){return e[t]}))}function Gt(e,t){return e.has(t)}function $t(e,t){for(var n=-1,i=e.length;++n<i&&Mt(t,e[n],0)>-1;);return n}function zt(e,t){for(var n=e.length;n--&&Mt(t,e[n],0)>-1;);return n}function Vt(e,t){for(var n=e.length,i=0;n--;)e[n]===t&&++i;return i}var Xt=Jt({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"}),Zt=Jt({"&":"&","<":"<",">":">",'"':""","'":"'"});function Qt(e){return"\\"+et[e]}function Kt(e){return Ve.test(e)}function Yt(e){var t=-1,n=Array(e.size);return e.forEach((function(e,i){n[++t]=[i,e]})),n}function en(e,t){return function(n){return e(t(n))}}function tn(e,t){for(var n=-1,i=e.length,r=0,o=[];++n<i;){var a=e[n];a!==t&&a!==s||(e[n]=s,o[r++]=n)}return o}function nn(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}function rn(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}function on(e){return Kt(e)?function(e){for(var t=$e.lastIndex=0;$e.test(e);)++t;return t}(e):_t(e)}function an(e){return Kt(e)?function(e){return e.match($e)||[]}(e):function(e){return e.split("")}(e)}function sn(e){for(var t=e.length;t--&&re.test(e.charAt(t)););return t}var un=Jt({"&":"&","<":"<",">":">",""":'"',"'":"'"}),ln=function e(t){var n,i=(t=null==t?ot:ln.defaults(ot.Object(),t,ln.pick(ot,Ze))).Array,re=t.Date,Se=t.Error,Te=t.Function,xe=t.Math,Oe=t.Object,Ie=t.RegExp,Re=t.String,Ne=t.TypeError,Ae=i.prototype,Ce=Te.prototype,_e=Oe.prototype,Ee=t["__core-js_shared__"],Fe=Ce.toString,Me=_e.hasOwnProperty,Pe=0,De=(n=/[^.]+$/.exec(Ee&&Ee.keys&&Ee.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",qe=_e.toString,Ue=Fe.call(Oe),Je=ot._,ke=Ie("^"+Fe.call(Me).replace(te,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Le=ut?t.Buffer:r,Be=t.Symbol,je=t.Uint8Array,He=Le?Le.allocUnsafe:r,$e=en(Oe.getPrototypeOf,Oe),Ve=Oe.create,et=_e.propertyIsEnumerable,it=Ae.splice,rt=Be?Be.isConcatSpreadable:r,at=Be?Be.iterator:r,st=Be?Be.toStringTag:r,lt=function(){try{var e=lo(Oe,"defineProperty");return e({},"",{}),e}catch(e){}}(),dt=t.clearTimeout!==ot.clearTimeout&&t.clearTimeout,_t=re&&re.now!==ot.Date.now&&re.now,Jt=t.setTimeout!==ot.setTimeout&&t.setTimeout,dn=xe.ceil,cn=xe.floor,pn=Oe.getOwnPropertySymbols,fn=Le?Le.isBuffer:r,hn=t.isFinite,mn=Ae.join,vn=en(Oe.keys,Oe),gn=xe.max,yn=xe.min,bn=re.now,wn=t.parseInt,Sn=xe.random,Tn=Ae.reverse,xn=lo(t,"DataView"),On=lo(t,"Map"),In=lo(t,"Promise"),Rn=lo(t,"Set"),Nn=lo(t,"WeakMap"),An=lo(Oe,"create"),Cn=Nn&&new Nn,_n={},En=ko(xn),Fn=ko(On),Mn=ko(In),Pn=ko(Rn),Dn=ko(Nn),qn=Be?Be.prototype:r,Un=qn?qn.valueOf:r,Jn=qn?qn.toString:r;function kn(e){if(ns(e)&&!Ga(e)&&!(e instanceof Hn)){if(e instanceof jn)return e;if(Me.call(e,"__wrapped__"))return Lo(e)}return new jn(e)}var Ln=function(){function e(){}return function(t){if(!ts(t))return{};if(Ve)return Ve(t);e.prototype=t;var n=new e;return e.prototype=r,n}}();function Bn(){}function jn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=r}function Hn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=f,this.__views__=[]}function Wn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}function Gn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}function $n(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}function zn(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new $n;++t<n;)this.add(e[t])}function Vn(e){var t=this.__data__=new Gn(e);this.size=t.size}function Xn(e,t){var n=Ga(e),i=!n&&Wa(e),r=!n&&!i&&Xa(e),o=!n&&!i&&!r&&ds(e),a=n||i||r||o,s=a?Bt(e.length,Re):[],u=s.length;for(var l in e)!t&&!Me.call(e,l)||a&&("length"==l||r&&("offset"==l||"parent"==l)||o&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||go(l,u))||s.push(l);return s}function Zn(e){var t=e.length;return t?e[$i(0,t-1)]:r}function Qn(e,t){return Po(Nr(e),ai(t,0,e.length))}function Kn(e){return Po(Nr(e))}function Yn(e,t,n){(n!==r&&!Ba(e[t],n)||n===r&&!(t in e))&&ri(e,t,n)}function ei(e,t,n){var i=e[t];Me.call(e,t)&&Ba(i,n)&&(n!==r||t in e)||ri(e,t,n)}function ti(e,t){for(var n=e.length;n--;)if(Ba(e[n][0],t))return n;return-1}function ni(e,t,n,i){return ci(e,(function(e,r,o){t(i,e,n(e),o)})),i}function ii(e,t){return e&&Ar(t,Fs(t),e)}function ri(e,t,n){"__proto__"==t&<?lt(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function oi(e,t){for(var n=-1,o=t.length,a=i(o),s=null==e;++n<o;)a[n]=s?r:Ns(e,t[n]);return a}function ai(e,t,n){return e==e&&(n!==r&&(e=e<=n?e:n),t!==r&&(e=e>=t?e:t)),e}function si(e,t,n,i,o,a){var s,u=1&t,l=2&t,d=4&t;if(n&&(s=o?n(e,i,o,a):n(e)),s!==r)return s;if(!ts(e))return e;var c=Ga(e);if(c){if(s=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&Me.call(e,"index")&&(n.index=e.index,n.input=e.input),n}(e),!u)return Nr(e,s)}else{var p=fo(e),f=p==w||p==S;if(Xa(e))return Sr(e,u);if(p==O||p==m||f&&!o){if(s=l||f?{}:mo(e),!u)return l?function(e,t){return Ar(e,po(e),t)}(e,function(e,t){return e&&Ar(t,Ms(t),e)}(s,e)):function(e,t){return Ar(e,co(e),t)}(e,ii(s,e))}else{if(!Ye[p])return o?e:{};s=function(e,t,n){var i,r=e.constructor;switch(t){case E:return Tr(e);case g:case y:return new r(+e);case F:return function(e,t){var n=t?Tr(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case M:case P:case D:case q:case U:case J:case k:case L:case B:return xr(e,n);case T:return new r;case x:case A:return new r(e);case R:return function(e){var t=new e.constructor(e.source,pe.exec(e));return t.lastIndex=e.lastIndex,t}(e);case N:return new r;case C:return i=e,Un?Oe(Un.call(i)):{}}}(e,p,u)}}a||(a=new Vn);var h=a.get(e);if(h)return h;a.set(e,s),ss(e)?e.forEach((function(i){s.add(si(i,t,n,i,e,a))})):is(e)&&e.forEach((function(i,r){s.set(r,si(i,t,n,r,e,a))}));var v=c?r:(d?l?no:to:l?Ms:Fs)(e);return bt(v||e,(function(i,r){v&&(i=e[r=i]),ei(s,r,si(i,t,n,r,e,a))})),s}function ui(e,t,n){var i=n.length;if(null==e)return!i;for(e=Oe(e);i--;){var o=n[i],a=t[o],s=e[o];if(s===r&&!(o in e)||!a(s))return!1}return!0}function li(e,t,n){if("function"!=typeof e)throw new Ne(o);return _o((function(){e.apply(r,n)}),t)}function di(e,t,n,i){var r=-1,o=xt,a=!0,s=e.length,u=[],l=t.length;if(!s)return u;n&&(t=It(t,Ht(n))),i?(o=Ot,a=!1):t.length>=200&&(o=Gt,a=!1,t=new zn(t));e:for(;++r<s;){var d=e[r],c=null==n?d:n(d);if(d=i||0!==d?d:0,a&&c==c){for(var p=l;p--;)if(t[p]===c)continue e;u.push(d)}else o(t,c,i)||u.push(d)}return u}kn.templateSettings={escape:X,evaluate:Z,interpolate:Q,variable:"",imports:{_:kn}},kn.prototype=Bn.prototype,kn.prototype.constructor=kn,jn.prototype=Ln(Bn.prototype),jn.prototype.constructor=jn,Hn.prototype=Ln(Bn.prototype),Hn.prototype.constructor=Hn,Wn.prototype.clear=function(){this.__data__=An?An(null):{},this.size=0},Wn.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Wn.prototype.get=function(e){var t=this.__data__;if(An){var n=t[e];return n===a?r:n}return Me.call(t,e)?t[e]:r},Wn.prototype.has=function(e){var t=this.__data__;return An?t[e]!==r:Me.call(t,e)},Wn.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=An&&t===r?a:t,this},Gn.prototype.clear=function(){this.__data__=[],this.size=0},Gn.prototype.delete=function(e){var t=this.__data__,n=ti(t,e);return!(n<0||(n==t.length-1?t.pop():it.call(t,n,1),--this.size,0))},Gn.prototype.get=function(e){var t=this.__data__,n=ti(t,e);return n<0?r:t[n][1]},Gn.prototype.has=function(e){return ti(this.__data__,e)>-1},Gn.prototype.set=function(e,t){var n=this.__data__,i=ti(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this},$n.prototype.clear=function(){this.size=0,this.__data__={hash:new Wn,map:new(On||Gn),string:new Wn}},$n.prototype.delete=function(e){var t=so(this,e).delete(e);return this.size-=t?1:0,t},$n.prototype.get=function(e){return so(this,e).get(e)},$n.prototype.has=function(e){return so(this,e).has(e)},$n.prototype.set=function(e,t){var n=so(this,e),i=n.size;return n.set(e,t),this.size+=n.size==i?0:1,this},zn.prototype.add=zn.prototype.push=function(e){return this.__data__.set(e,a),this},zn.prototype.has=function(e){return this.__data__.has(e)},Vn.prototype.clear=function(){this.__data__=new Gn,this.size=0},Vn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Vn.prototype.get=function(e){return this.__data__.get(e)},Vn.prototype.has=function(e){return this.__data__.has(e)},Vn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Gn){var i=n.__data__;if(!On||i.length<199)return i.push([e,t]),this.size=++n.size,this;n=this.__data__=new $n(i)}return n.set(e,t),this.size=n.size,this};var ci=Er(bi),pi=Er(wi,!0);function fi(e,t){var n=!0;return ci(e,(function(e,i,r){return n=!!t(e,i,r)})),n}function hi(e,t,n){for(var i=-1,o=e.length;++i<o;){var a=e[i],s=t(a);if(null!=s&&(u===r?s==s&&!ls(s):n(s,u)))var u=s,l=a}return l}function mi(e,t){var n=[];return ci(e,(function(e,i,r){t(e,i,r)&&n.push(e)})),n}function vi(e,t,n,i,r){var o=-1,a=e.length;for(n||(n=vo),r||(r=[]);++o<a;){var s=e[o];t>0&&n(s)?t>1?vi(s,t-1,n,i,r):Rt(r,s):i||(r[r.length]=s)}return r}var gi=Fr(),yi=Fr(!0);function bi(e,t){return e&&gi(e,t,Fs)}function wi(e,t){return e&&yi(e,t,Fs)}function Si(e,t){return Tt(t,(function(t){return Ka(e[t])}))}function Ti(e,t){for(var n=0,i=(t=gr(t,e)).length;null!=e&&n<i;)e=e[Jo(t[n++])];return n&&n==i?e:r}function xi(e,t,n){var i=t(e);return Ga(e)?i:Rt(i,n(e))}function Oi(e){return null==e?e===r?"[object Undefined]":"[object Null]":st&&st in Oe(e)?function(e){var t=Me.call(e,st),n=e[st];try{e[st]=r;var i=!0}catch(e){}var o=qe.call(e);return i&&(t?e[st]=n:delete e[st]),o}(e):function(e){return qe.call(e)}(e)}function Ii(e,t){return e>t}function Ri(e,t){return null!=e&&Me.call(e,t)}function Ni(e,t){return null!=e&&t in Oe(e)}function Ai(e,t,n){for(var o=n?Ot:xt,a=e[0].length,s=e.length,u=s,l=i(s),d=1/0,c=[];u--;){var p=e[u];u&&t&&(p=It(p,Ht(t))),d=yn(p.length,d),l[u]=!n&&(t||a>=120&&p.length>=120)?new zn(u&&p):r}p=e[0];var f=-1,h=l[0];e:for(;++f<a&&c.length<d;){var m=p[f],v=t?t(m):m;if(m=n||0!==m?m:0,!(h?Gt(h,v):o(c,v,n))){for(u=s;--u;){var g=l[u];if(!(g?Gt(g,v):o(e[u],v,n)))continue e}h&&h.push(v),c.push(m)}}return c}function Ci(e,t,n){var i=null==(e=Ro(e,t=gr(t,e)))?e:e[Jo(Qo(t))];return null==i?r:gt(i,e,n)}function _i(e){return ns(e)&&Oi(e)==m}function Ei(e,t,n,i,o){return e===t||(null==e||null==t||!ns(e)&&!ns(t)?e!=e&&t!=t:function(e,t,n,i,o,a){var s=Ga(e),u=Ga(t),l=s?v:fo(e),d=u?v:fo(t),c=(l=l==m?O:l)==O,p=(d=d==m?O:d)==O,f=l==d;if(f&&Xa(e)){if(!Xa(t))return!1;s=!0,c=!1}if(f&&!c)return a||(a=new Vn),s||ds(e)?Yr(e,t,n,i,o,a):function(e,t,n,i,r,o,a){switch(n){case F:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case E:return!(e.byteLength!=t.byteLength||!o(new je(e),new je(t)));case g:case y:case x:return Ba(+e,+t);case b:return e.name==t.name&&e.message==t.message;case R:case A:return e==t+"";case T:var s=Yt;case N:var u=1&i;if(s||(s=nn),e.size!=t.size&&!u)return!1;var l=a.get(e);if(l)return l==t;i|=2,a.set(e,t);var d=Yr(s(e),s(t),i,r,o,a);return a.delete(e),d;case C:if(Un)return Un.call(e)==Un.call(t)}return!1}(e,t,l,n,i,o,a);if(!(1&n)){var h=c&&Me.call(e,"__wrapped__"),w=p&&Me.call(t,"__wrapped__");if(h||w){var S=h?e.value():e,I=w?t.value():t;return a||(a=new Vn),o(S,I,n,i,a)}}return!!f&&(a||(a=new Vn),function(e,t,n,i,o,a){var s=1&n,u=to(e),l=u.length;if(l!=to(t).length&&!s)return!1;for(var d=l;d--;){var c=u[d];if(!(s?c in t:Me.call(t,c)))return!1}var p=a.get(e),f=a.get(t);if(p&&f)return p==t&&f==e;var h=!0;a.set(e,t),a.set(t,e);for(var m=s;++d<l;){var v=e[c=u[d]],g=t[c];if(i)var y=s?i(g,v,c,t,e,a):i(v,g,c,e,t,a);if(!(y===r?v===g||o(v,g,n,i,a):y)){h=!1;break}m||(m="constructor"==c)}if(h&&!m){var b=e.constructor,w=t.constructor;b==w||!("constructor"in e)||!("constructor"in t)||"function"==typeof b&&b instanceof b&&"function"==typeof w&&w instanceof w||(h=!1)}return a.delete(e),a.delete(t),h}(e,t,n,i,o,a))}(e,t,n,i,Ei,o))}function Fi(e,t,n,i){var o=n.length,a=o,s=!i;if(null==e)return!a;for(e=Oe(e);o--;){var u=n[o];if(s&&u[2]?u[1]!==e[u[0]]:!(u[0]in e))return!1}for(;++o<a;){var l=(u=n[o])[0],d=e[l],c=u[1];if(s&&u[2]){if(d===r&&!(l in e))return!1}else{var p=new Vn;if(i)var f=i(d,c,l,e,t,p);if(!(f===r?Ei(c,d,3,i,p):f))return!1}}return!0}function Mi(e){return!(!ts(e)||(t=e,De&&De in t))&&(Ka(e)?ke:me).test(ko(e));var t}function Pi(e){return"function"==typeof e?e:null==e?ru:"object"==typeof e?Ga(e)?ki(e[0],e[1]):Ji(e):fu(e)}function Di(e){if(!To(e))return vn(e);var t=[];for(var n in Oe(e))Me.call(e,n)&&"constructor"!=n&&t.push(n);return t}function qi(e,t){return e<t}function Ui(e,t){var n=-1,r=za(e)?i(e.length):[];return ci(e,(function(e,i,o){r[++n]=t(e,i,o)})),r}function Ji(e){var t=uo(e);return 1==t.length&&t[0][2]?Oo(t[0][0],t[0][1]):function(n){return n===e||Fi(n,e,t)}}function ki(e,t){return bo(e)&&xo(t)?Oo(Jo(e),t):function(n){var i=Ns(n,e);return i===r&&i===t?As(n,e):Ei(t,i,3)}}function Li(e,t,n,i,o){e!==t&&gi(t,(function(a,s){if(o||(o=new Vn),ts(a))!function(e,t,n,i,o,a,s){var u=Ao(e,n),l=Ao(t,n),d=s.get(l);if(d)Yn(e,n,d);else{var c=a?a(u,l,n+"",e,t,s):r,p=c===r;if(p){var f=Ga(l),h=!f&&Xa(l),m=!f&&!h&&ds(l);c=l,f||h||m?Ga(u)?c=u:Va(u)?c=Nr(u):h?(p=!1,c=Sr(l,!0)):m?(p=!1,c=xr(l,!0)):c=[]:os(l)||Wa(l)?(c=u,Wa(u)?c=ys(u):ts(u)&&!Ka(u)||(c=mo(l))):p=!1}p&&(s.set(l,c),o(c,l,i,a,s),s.delete(l)),Yn(e,n,c)}}(e,t,s,n,Li,i,o);else{var u=i?i(Ao(e,s),a,s+"",e,t,o):r;u===r&&(u=a),Yn(e,s,u)}}),Ms)}function Bi(e,t){var n=e.length;if(n)return go(t+=t<0?n:0,n)?e[t]:r}function ji(e,t,n){t=t.length?It(t,(function(e){return Ga(e)?function(t){return Ti(t,1===e.length?e[0]:e)}:e})):[ru];var i=-1;t=It(t,Ht(ao()));var r=Ui(e,(function(e,n,r){var o=It(t,(function(t){return t(e)}));return{criteria:o,index:++i,value:e}}));return function(e,t){var i=e.length;for(e.sort((function(e,t){return function(e,t,n){for(var i=-1,r=e.criteria,o=t.criteria,a=r.length,s=n.length;++i<a;){var u=Or(r[i],o[i]);if(u)return i>=s?u:u*("desc"==n[i]?-1:1)}return e.index-t.index}(e,t,n)}));i--;)e[i]=e[i].value;return e}(r)}function Hi(e,t,n){for(var i=-1,r=t.length,o={};++i<r;){var a=t[i],s=Ti(e,a);n(s,a)&&Qi(o,gr(a,e),s)}return o}function Wi(e,t,n,i){var r=i?Pt:Mt,o=-1,a=t.length,s=e;for(e===t&&(t=Nr(t)),n&&(s=It(e,Ht(n)));++o<a;)for(var u=0,l=t[o],d=n?n(l):l;(u=r(s,d,u,i))>-1;)s!==e&&it.call(s,u,1),it.call(e,u,1);return e}function Gi(e,t){for(var n=e?t.length:0,i=n-1;n--;){var r=t[n];if(n==i||r!==o){var o=r;go(r)?it.call(e,r,1):lr(e,r)}}return e}function $i(e,t){return e+cn(Sn()*(t-e+1))}function zi(e,t){var n="";if(!e||t<1||t>c)return n;do{t%2&&(n+=e),(t=cn(t/2))&&(e+=e)}while(t);return n}function Vi(e,t){return Eo(Io(e,t,ru),e+"")}function Xi(e){return Zn(Bs(e))}function Zi(e,t){var n=Bs(e);return Po(n,ai(t,0,n.length))}function Qi(e,t,n,i){if(!ts(e))return e;for(var o=-1,a=(t=gr(t,e)).length,s=a-1,u=e;null!=u&&++o<a;){var l=Jo(t[o]),d=n;if("__proto__"===l||"constructor"===l||"prototype"===l)return e;if(o!=s){var c=u[l];(d=i?i(c,l,u):r)===r&&(d=ts(c)?c:go(t[o+1])?[]:{})}ei(u,l,d),u=u[l]}return e}var Ki=Cn?function(e,t){return Cn.set(e,t),e}:ru,Yi=lt?function(e,t){return lt(e,"toString",{configurable:!0,enumerable:!1,value:tu(t),writable:!0})}:ru;function er(e){return Po(Bs(e))}function tr(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var a=i(o);++r<o;)a[r]=e[r+t];return a}function nr(e,t){var n;return ci(e,(function(e,i,r){return!(n=t(e,i,r))})),!!n}function ir(e,t,n){var i=0,r=null==e?i:e.length;if("number"==typeof t&&t==t&&r<=2147483647){for(;i<r;){var o=i+r>>>1,a=e[o];null!==a&&!ls(a)&&(n?a<=t:a<t)?i=o+1:r=o}return r}return rr(e,t,ru,n)}function rr(e,t,n,i){var o=0,a=null==e?0:e.length;if(0===a)return 0;for(var s=(t=n(t))!=t,u=null===t,l=ls(t),d=t===r;o<a;){var c=cn((o+a)/2),p=n(e[c]),f=p!==r,h=null===p,m=p==p,v=ls(p);if(s)var g=i||m;else g=d?m&&(i||f):u?m&&f&&(i||!h):l?m&&f&&!h&&(i||!v):!h&&!v&&(i?p<=t:p<t);g?o=c+1:a=c}return yn(a,4294967294)}function or(e,t){for(var n=-1,i=e.length,r=0,o=[];++n<i;){var a=e[n],s=t?t(a):a;if(!n||!Ba(s,u)){var u=s;o[r++]=0===a?0:a}}return o}function ar(e){return"number"==typeof e?e:ls(e)?p:+e}function sr(e){if("string"==typeof e)return e;if(Ga(e))return It(e,sr)+"";if(ls(e))return Jn?Jn.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function ur(e,t,n){var i=-1,r=xt,o=e.length,a=!0,s=[],u=s;if(n)a=!1,r=Ot;else if(o>=200){var l=t?null:zr(e);if(l)return nn(l);a=!1,r=Gt,u=new zn}else u=t?[]:s;e:for(;++i<o;){var d=e[i],c=t?t(d):d;if(d=n||0!==d?d:0,a&&c==c){for(var p=u.length;p--;)if(u[p]===c)continue e;t&&u.push(c),s.push(d)}else r(u,c,n)||(u!==s&&u.push(c),s.push(d))}return s}function lr(e,t){return null==(e=Ro(e,t=gr(t,e)))||delete e[Jo(Qo(t))]}function dr(e,t,n,i){return Qi(e,t,n(Ti(e,t)),i)}function cr(e,t,n,i){for(var r=e.length,o=i?r:-1;(i?o--:++o<r)&&t(e[o],o,e););return n?tr(e,i?0:o,i?o+1:r):tr(e,i?o+1:0,i?r:o)}function pr(e,t){var n=e;return n instanceof Hn&&(n=n.value()),Nt(t,(function(e,t){return t.func.apply(t.thisArg,Rt([e],t.args))}),n)}function fr(e,t,n){var r=e.length;if(r<2)return r?ur(e[0]):[];for(var o=-1,a=i(r);++o<r;)for(var s=e[o],u=-1;++u<r;)u!=o&&(a[o]=di(a[o]||s,e[u],t,n));return ur(vi(a,1),t,n)}function hr(e,t,n){for(var i=-1,o=e.length,a=t.length,s={};++i<o;){var u=i<a?t[i]:r;n(s,e[i],u)}return s}function mr(e){return Va(e)?e:[]}function vr(e){return"function"==typeof e?e:ru}function gr(e,t){return Ga(e)?e:bo(e,t)?[e]:Uo(bs(e))}var yr=Vi;function br(e,t,n){var i=e.length;return n=n===r?i:n,!t&&n>=i?e:tr(e,t,n)}var wr=dt||function(e){return ot.clearTimeout(e)};function Sr(e,t){if(t)return e.slice();var n=e.length,i=He?He(n):new e.constructor(n);return e.copy(i),i}function Tr(e){var t=new e.constructor(e.byteLength);return new je(t).set(new je(e)),t}function xr(e,t){var n=t?Tr(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Or(e,t){if(e!==t){var n=e!==r,i=null===e,o=e==e,a=ls(e),s=t!==r,u=null===t,l=t==t,d=ls(t);if(!u&&!d&&!a&&e>t||a&&s&&l&&!u&&!d||i&&s&&l||!n&&l||!o)return 1;if(!i&&!a&&!d&&e<t||d&&n&&o&&!i&&!a||u&&n&&o||!s&&o||!l)return-1}return 0}function Ir(e,t,n,r){for(var o=-1,a=e.length,s=n.length,u=-1,l=t.length,d=gn(a-s,0),c=i(l+d),p=!r;++u<l;)c[u]=t[u];for(;++o<s;)(p||o<a)&&(c[n[o]]=e[o]);for(;d--;)c[u++]=e[o++];return c}function Rr(e,t,n,r){for(var o=-1,a=e.length,s=-1,u=n.length,l=-1,d=t.length,c=gn(a-u,0),p=i(c+d),f=!r;++o<c;)p[o]=e[o];for(var h=o;++l<d;)p[h+l]=t[l];for(;++s<u;)(f||o<a)&&(p[h+n[s]]=e[o++]);return p}function Nr(e,t){var n=-1,r=e.length;for(t||(t=i(r));++n<r;)t[n]=e[n];return t}function Ar(e,t,n,i){var o=!n;n||(n={});for(var a=-1,s=t.length;++a<s;){var u=t[a],l=i?i(n[u],e[u],u,n,e):r;l===r&&(l=e[u]),o?ri(n,u,l):ei(n,u,l)}return n}function Cr(e,t){return function(n,i){var r=Ga(n)?yt:ni,o=t?t():{};return r(n,e,ao(i,2),o)}}function _r(e){return Vi((function(t,n){var i=-1,o=n.length,a=o>1?n[o-1]:r,s=o>2?n[2]:r;for(a=e.length>3&&"function"==typeof a?(o--,a):r,s&&yo(n[0],n[1],s)&&(a=o<3?r:a,o=1),t=Oe(t);++i<o;){var u=n[i];u&&e(t,u,i,a)}return t}))}function Er(e,t){return function(n,i){if(null==n)return n;if(!za(n))return e(n,i);for(var r=n.length,o=t?r:-1,a=Oe(n);(t?o--:++o<r)&&!1!==i(a[o],o,a););return n}}function Fr(e){return function(t,n,i){for(var r=-1,o=Oe(t),a=i(t),s=a.length;s--;){var u=a[e?s:++r];if(!1===n(o[u],u,o))break}return t}}function Mr(e){return function(t){var n=Kt(t=bs(t))?an(t):r,i=n?n[0]:t.charAt(0),o=n?br(n,1).join(""):t.slice(1);return i[e]()+o}}function Pr(e){return function(t){return Nt(Ks(Ws(t).replace(We,"")),e,"")}}function Dr(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=Ln(e.prototype),i=e.apply(n,t);return ts(i)?i:n}}function qr(e){return function(t,n,i){var o=Oe(t);if(!za(t)){var a=ao(n,3);t=Fs(t),n=function(e){return a(o[e],e,o)}}var s=e(t,n,i);return s>-1?o[a?t[s]:s]:r}}function Ur(e){return eo((function(t){var n=t.length,i=n,a=jn.prototype.thru;for(e&&t.reverse();i--;){var s=t[i];if("function"!=typeof s)throw new Ne(o);if(a&&!u&&"wrapper"==ro(s))var u=new jn([],!0)}for(i=u?i:n;++i<n;){var l=ro(s=t[i]),d="wrapper"==l?io(s):r;u=d&&wo(d[0])&&424==d[1]&&!d[4].length&&1==d[9]?u[ro(d[0])].apply(u,d[3]):1==s.length&&wo(s)?u[l]():u.thru(s)}return function(){var e=arguments,i=e[0];if(u&&1==e.length&&Ga(i))return u.plant(i).value();for(var r=0,o=n?t[r].apply(this,e):i;++r<n;)o=t[r].call(this,o);return o}}))}function Jr(e,t,n,o,a,s,u,d,c,p){var f=t&l,h=1&t,m=2&t,v=24&t,g=512&t,y=m?r:Dr(e);return function r(){for(var l=arguments.length,b=i(l),w=l;w--;)b[w]=arguments[w];if(v)var S=oo(r),T=Vt(b,S);if(o&&(b=Ir(b,o,a,v)),s&&(b=Rr(b,s,u,v)),l-=T,v&&l<p){var x=tn(b,S);return Gr(e,t,Jr,r.placeholder,n,b,x,d,c,p-l)}var O=h?n:this,I=m?O[e]:e;return l=b.length,d?b=No(b,d):g&&l>1&&b.reverse(),f&&c<l&&(b.length=c),this&&this!==ot&&this instanceof r&&(I=y||Dr(I)),I.apply(O,b)}}function kr(e,t){return function(n,i){return function(e,t,n,i){return bi(e,(function(e,r,o){t(i,n(e),r,o)})),i}(n,e,t(i),{})}}function Lr(e,t){return function(n,i){var o;if(n===r&&i===r)return t;if(n!==r&&(o=n),i!==r){if(o===r)return i;"string"==typeof n||"string"==typeof i?(n=sr(n),i=sr(i)):(n=ar(n),i=ar(i)),o=e(n,i)}return o}}function Br(e){return eo((function(t){return t=It(t,Ht(ao())),Vi((function(n){var i=this;return e(t,(function(e){return gt(e,i,n)}))}))}))}function jr(e,t){var n=(t=t===r?" ":sr(t)).length;if(n<2)return n?zi(t,e):t;var i=zi(t,dn(e/on(t)));return Kt(t)?br(an(i),0,e).join(""):i.slice(0,e)}function Hr(e){return function(t,n,o){return o&&"number"!=typeof o&&yo(t,n,o)&&(n=o=r),t=hs(t),n===r?(n=t,t=0):n=hs(n),function(e,t,n,r){for(var o=-1,a=gn(dn((t-e)/(n||1)),0),s=i(a);a--;)s[r?a:++o]=e,e+=n;return s}(t,n,o=o===r?t<n?1:-1:hs(o),e)}}function Wr(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=gs(t),n=gs(n)),e(t,n)}}function Gr(e,t,n,i,o,a,s,l,d,c){var p=8&t;t|=p?u:64,4&(t&=~(p?64:u))||(t&=-4);var f=[e,t,o,p?a:r,p?s:r,p?r:a,p?r:s,l,d,c],h=n.apply(r,f);return wo(e)&&Co(h,f),h.placeholder=i,Fo(h,e,t)}function $r(e){var t=xe[e];return function(e,n){if(e=gs(e),(n=null==n?0:yn(ms(n),292))&&hn(e)){var i=(bs(e)+"e").split("e");return+((i=(bs(t(i[0]+"e"+(+i[1]+n)))+"e").split("e"))[0]+"e"+(+i[1]-n))}return t(e)}}var zr=Rn&&1/nn(new Rn([,-0]))[1]==d?function(e){return new Rn(e)}:lu;function Vr(e){return function(t){var n=fo(t);return n==T?Yt(t):n==N?rn(t):function(e,t){return It(t,(function(t){return[t,e[t]]}))}(t,e(t))}}function Xr(e,t,n,a,d,c,p,f){var h=2&t;if(!h&&"function"!=typeof e)throw new Ne(o);var m=a?a.length:0;if(m||(t&=-97,a=d=r),p=p===r?p:gn(ms(p),0),f=f===r?f:ms(f),m-=d?d.length:0,64&t){var v=a,g=d;a=d=r}var y=h?r:io(e),b=[e,t,n,a,d,v,g,c,p,f];if(y&&function(e,t){var n=e[1],i=t[1],r=n|i,o=r<131,a=i==l&&8==n||i==l&&256==n&&e[7].length<=t[8]||384==i&&t[7].length<=t[8]&&8==n;if(!o&&!a)return e;1&i&&(e[2]=t[2],r|=1&n?0:4);var u=t[3];if(u){var d=e[3];e[3]=d?Ir(d,u,t[4]):u,e[4]=d?tn(e[3],s):t[4]}(u=t[5])&&(d=e[5],e[5]=d?Rr(d,u,t[6]):u,e[6]=d?tn(e[5],s):t[6]),(u=t[7])&&(e[7]=u),i&l&&(e[8]=null==e[8]?t[8]:yn(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=r}(b,y),e=b[0],t=b[1],n=b[2],a=b[3],d=b[4],!(f=b[9]=b[9]===r?h?0:e.length:gn(b[9]-m,0))&&24&t&&(t&=-25),t&&1!=t)w=8==t||16==t?function(e,t,n){var o=Dr(e);return function a(){for(var s=arguments.length,u=i(s),l=s,d=oo(a);l--;)u[l]=arguments[l];var c=s<3&&u[0]!==d&&u[s-1]!==d?[]:tn(u,d);return(s-=c.length)<n?Gr(e,t,Jr,a.placeholder,r,u,c,r,r,n-s):gt(this&&this!==ot&&this instanceof a?o:e,this,u)}}(e,t,f):t!=u&&33!=t||d.length?Jr.apply(r,b):function(e,t,n,r){var o=1&t,a=Dr(e);return function t(){for(var s=-1,u=arguments.length,l=-1,d=r.length,c=i(d+u),p=this&&this!==ot&&this instanceof t?a:e;++l<d;)c[l]=r[l];for(;u--;)c[l++]=arguments[++s];return gt(p,o?n:this,c)}}(e,t,n,a);else var w=function(e,t,n){var i=1&t,r=Dr(e);return function t(){return(this&&this!==ot&&this instanceof t?r:e).apply(i?n:this,arguments)}}(e,t,n);return Fo((y?Ki:Co)(w,b),e,t)}function Zr(e,t,n,i){return e===r||Ba(e,_e[n])&&!Me.call(i,n)?t:e}function Qr(e,t,n,i,o,a){return ts(e)&&ts(t)&&(a.set(t,e),Li(e,t,r,Qr,a),a.delete(t)),e}function Kr(e){return os(e)?r:e}function Yr(e,t,n,i,o,a){var s=1&n,u=e.length,l=t.length;if(u!=l&&!(s&&l>u))return!1;var d=a.get(e),c=a.get(t);if(d&&c)return d==t&&c==e;var p=-1,f=!0,h=2&n?new zn:r;for(a.set(e,t),a.set(t,e);++p<u;){var m=e[p],v=t[p];if(i)var g=s?i(v,m,p,t,e,a):i(m,v,p,e,t,a);if(g!==r){if(g)continue;f=!1;break}if(h){if(!Ct(t,(function(e,t){if(!Gt(h,t)&&(m===e||o(m,e,n,i,a)))return h.push(t)}))){f=!1;break}}else if(m!==v&&!o(m,v,n,i,a)){f=!1;break}}return a.delete(e),a.delete(t),f}function eo(e){return Eo(Io(e,r,$o),e+"")}function to(e){return xi(e,Fs,co)}function no(e){return xi(e,Ms,po)}var io=Cn?function(e){return Cn.get(e)}:lu;function ro(e){for(var t=e.name+"",n=_n[t],i=Me.call(_n,t)?n.length:0;i--;){var r=n[i],o=r.func;if(null==o||o==e)return r.name}return t}function oo(e){return(Me.call(kn,"placeholder")?kn:e).placeholder}function ao(){var e=kn.iteratee||ou;return e=e===ou?Pi:e,arguments.length?e(arguments[0],arguments[1]):e}function so(e,t){var n,i,r=e.__data__;return("string"==(i=typeof(n=t))||"number"==i||"symbol"==i||"boolean"==i?"__proto__"!==n:null===n)?r["string"==typeof t?"string":"hash"]:r.map}function uo(e){for(var t=Fs(e),n=t.length;n--;){var i=t[n],r=e[i];t[n]=[i,r,xo(r)]}return t}function lo(e,t){var n=function(e,t){return null==e?r:e[t]}(e,t);return Mi(n)?n:r}var co=pn?function(e){return null==e?[]:(e=Oe(e),Tt(pn(e),(function(t){return et.call(e,t)})))}:vu,po=pn?function(e){for(var t=[];e;)Rt(t,co(e)),e=$e(e);return t}:vu,fo=Oi;function ho(e,t,n){for(var i=-1,r=(t=gr(t,e)).length,o=!1;++i<r;){var a=Jo(t[i]);if(!(o=null!=e&&n(e,a)))break;e=e[a]}return o||++i!=r?o:!!(r=null==e?0:e.length)&&es(r)&&go(a,r)&&(Ga(e)||Wa(e))}function mo(e){return"function"!=typeof e.constructor||To(e)?{}:Ln($e(e))}function vo(e){return Ga(e)||Wa(e)||!!(rt&&e&&e[rt])}function go(e,t){var n=typeof e;return!!(t=null==t?c:t)&&("number"==n||"symbol"!=n&&ge.test(e))&&e>-1&&e%1==0&&e<t}function yo(e,t,n){if(!ts(n))return!1;var i=typeof t;return!!("number"==i?za(n)&&go(t,n.length):"string"==i&&t in n)&&Ba(n[t],e)}function bo(e,t){if(Ga(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!ls(e))||Y.test(e)||!K.test(e)||null!=t&&e in Oe(t)}function wo(e){var t=ro(e),n=kn[t];if("function"!=typeof n||!(t in Hn.prototype))return!1;if(e===n)return!0;var i=io(n);return!!i&&e===i[0]}(xn&&fo(new xn(new ArrayBuffer(1)))!=F||On&&fo(new On)!=T||In&&fo(In.resolve())!=I||Rn&&fo(new Rn)!=N||Nn&&fo(new Nn)!=_)&&(fo=function(e){var t=Oi(e),n=t==O?e.constructor:r,i=n?ko(n):"";if(i)switch(i){case En:return F;case Fn:return T;case Mn:return I;case Pn:return N;case Dn:return _}return t});var So=Ee?Ka:gu;function To(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||_e)}function xo(e){return e==e&&!ts(e)}function Oo(e,t){return function(n){return null!=n&&n[e]===t&&(t!==r||e in Oe(n))}}function Io(e,t,n){return t=gn(t===r?e.length-1:t,0),function(){for(var r=arguments,o=-1,a=gn(r.length-t,0),s=i(a);++o<a;)s[o]=r[t+o];o=-1;for(var u=i(t+1);++o<t;)u[o]=r[o];return u[t]=n(s),gt(e,this,u)}}function Ro(e,t){return t.length<2?e:Ti(e,tr(t,0,-1))}function No(e,t){for(var n=e.length,i=yn(t.length,n),o=Nr(e);i--;){var a=t[i];e[i]=go(a,n)?o[a]:r}return e}function Ao(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var Co=Mo(Ki),_o=Jt||function(e,t){return ot.setTimeout(e,t)},Eo=Mo(Yi);function Fo(e,t,n){var i=t+"";return Eo(e,function(e,t){var n=t.length;if(!n)return e;var i=n-1;return t[i]=(n>1?"& ":"")+t[i],t=t.join(n>2?", ":" "),e.replace(oe,"{\n/* [wrapped with "+t+"] */\n")}(i,function(e,t){return bt(h,(function(n){var i="_."+n[0];t&n[1]&&!xt(e,i)&&e.push(i)})),e.sort()}(function(e){var t=e.match(ae);return t?t[1].split(se):[]}(i),n)))}function Mo(e){var t=0,n=0;return function(){var i=bn(),o=16-(i-n);if(n=i,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(r,arguments)}}function Po(e,t){var n=-1,i=e.length,o=i-1;for(t=t===r?i:t;++n<t;){var a=$i(n,o),s=e[a];e[a]=e[n],e[n]=s}return e.length=t,e}var Do,qo,Uo=(Do=Da((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(ee,(function(e,n,i,r){t.push(i?r.replace(de,"$1"):n||e)})),t}),(function(e){return 500===qo.size&&qo.clear(),e})),qo=Do.cache,Do);function Jo(e){if("string"==typeof e||ls(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function ko(e){if(null!=e){try{return Fe.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function Lo(e){if(e instanceof Hn)return e.clone();var t=new jn(e.__wrapped__,e.__chain__);return t.__actions__=Nr(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var Bo=Vi((function(e,t){return Va(e)?di(e,vi(t,1,Va,!0)):[]})),jo=Vi((function(e,t){var n=Qo(t);return Va(n)&&(n=r),Va(e)?di(e,vi(t,1,Va,!0),ao(n,2)):[]})),Ho=Vi((function(e,t){var n=Qo(t);return Va(n)&&(n=r),Va(e)?di(e,vi(t,1,Va,!0),r,n):[]}));function Wo(e,t,n){var i=null==e?0:e.length;if(!i)return-1;var r=null==n?0:ms(n);return r<0&&(r=gn(i+r,0)),Ft(e,ao(t,3),r)}function Go(e,t,n){var i=null==e?0:e.length;if(!i)return-1;var o=i-1;return n!==r&&(o=ms(n),o=n<0?gn(i+o,0):yn(o,i-1)),Ft(e,ao(t,3),o,!0)}function $o(e){return null!=e&&e.length?vi(e,1):[]}function zo(e){return e&&e.length?e[0]:r}var Vo=Vi((function(e){var t=It(e,mr);return t.length&&t[0]===e[0]?Ai(t):[]})),Xo=Vi((function(e){var t=Qo(e),n=It(e,mr);return t===Qo(n)?t=r:n.pop(),n.length&&n[0]===e[0]?Ai(n,ao(t,2)):[]})),Zo=Vi((function(e){var t=Qo(e),n=It(e,mr);return(t="function"==typeof t?t:r)&&n.pop(),n.length&&n[0]===e[0]?Ai(n,r,t):[]}));function Qo(e){var t=null==e?0:e.length;return t?e[t-1]:r}var Ko=Vi(Yo);function Yo(e,t){return e&&e.length&&t&&t.length?Wi(e,t):e}var ea=eo((function(e,t){var n=null==e?0:e.length,i=oi(e,t);return Gi(e,It(t,(function(e){return go(e,n)?+e:e})).sort(Or)),i}));function ta(e){return null==e?e:Tn.call(e)}var na=Vi((function(e){return ur(vi(e,1,Va,!0))})),ia=Vi((function(e){var t=Qo(e);return Va(t)&&(t=r),ur(vi(e,1,Va,!0),ao(t,2))})),ra=Vi((function(e){var t=Qo(e);return t="function"==typeof t?t:r,ur(vi(e,1,Va,!0),r,t)}));function oa(e){if(!e||!e.length)return[];var t=0;return e=Tt(e,(function(e){if(Va(e))return t=gn(e.length,t),!0})),Bt(t,(function(t){return It(e,Ut(t))}))}function aa(e,t){if(!e||!e.length)return[];var n=oa(e);return null==t?n:It(n,(function(e){return gt(t,r,e)}))}var sa=Vi((function(e,t){return Va(e)?di(e,t):[]})),ua=Vi((function(e){return fr(Tt(e,Va))})),la=Vi((function(e){var t=Qo(e);return Va(t)&&(t=r),fr(Tt(e,Va),ao(t,2))})),da=Vi((function(e){var t=Qo(e);return t="function"==typeof t?t:r,fr(Tt(e,Va),r,t)})),ca=Vi(oa),pa=Vi((function(e){var t=e.length,n=t>1?e[t-1]:r;return n="function"==typeof n?(e.pop(),n):r,aa(e,n)}));function fa(e){var t=kn(e);return t.__chain__=!0,t}function ha(e,t){return t(e)}var ma=eo((function(e){var t=e.length,n=t?e[0]:0,i=this.__wrapped__,o=function(t){return oi(t,e)};return!(t>1||this.__actions__.length)&&i instanceof Hn&&go(n)?((i=i.slice(n,+n+(t?1:0))).__actions__.push({func:ha,args:[o],thisArg:r}),new jn(i,this.__chain__).thru((function(e){return t&&!e.length&&e.push(r),e}))):this.thru(o)})),va=Cr((function(e,t,n){Me.call(e,n)?++e[n]:ri(e,n,1)})),ga=qr(Wo),ya=qr(Go);function ba(e,t){return(Ga(e)?bt:ci)(e,ao(t,3))}function wa(e,t){return(Ga(e)?wt:pi)(e,ao(t,3))}var Sa=Cr((function(e,t,n){Me.call(e,n)?e[n].push(t):ri(e,n,[t])})),Ta=Vi((function(e,t,n){var r=-1,o="function"==typeof t,a=za(e)?i(e.length):[];return ci(e,(function(e){a[++r]=o?gt(t,e,n):Ci(e,t,n)})),a})),xa=Cr((function(e,t,n){ri(e,n,t)}));function Oa(e,t){return(Ga(e)?It:Ui)(e,ao(t,3))}var Ia=Cr((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]})),Ra=Vi((function(e,t){if(null==e)return[];var n=t.length;return n>1&&yo(e,t[0],t[1])?t=[]:n>2&&yo(t[0],t[1],t[2])&&(t=[t[0]]),ji(e,vi(t,1),[])})),Na=_t||function(){return ot.Date.now()};function Aa(e,t,n){return t=n?r:t,t=e&&null==t?e.length:t,Xr(e,l,r,r,r,r,t)}function Ca(e,t){var n;if("function"!=typeof t)throw new Ne(o);return e=ms(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=r),n}}var _a=Vi((function(e,t,n){var i=1;if(n.length){var r=tn(n,oo(_a));i|=u}return Xr(e,i,t,n,r)})),Ea=Vi((function(e,t,n){var i=3;if(n.length){var r=tn(n,oo(Ea));i|=u}return Xr(t,i,e,n,r)}));function Fa(e,t,n){var i,a,s,u,l,d,c=0,p=!1,f=!1,h=!0;if("function"!=typeof e)throw new Ne(o);function m(t){var n=i,o=a;return i=a=r,c=t,u=e.apply(o,n)}function v(e){return c=e,l=_o(y,t),p?m(e):u}function g(e){var n=e-d;return d===r||n>=t||n<0||f&&e-c>=s}function y(){var e=Na();if(g(e))return b(e);l=_o(y,function(e){var n=t-(e-d);return f?yn(n,s-(e-c)):n}(e))}function b(e){return l=r,h&&i?m(e):(i=a=r,u)}function w(){var e=Na(),n=g(e);if(i=arguments,a=this,d=e,n){if(l===r)return v(d);if(f)return wr(l),l=_o(y,t),m(d)}return l===r&&(l=_o(y,t)),u}return t=gs(t)||0,ts(n)&&(p=!!n.leading,s=(f="maxWait"in n)?gn(gs(n.maxWait)||0,t):s,h="trailing"in n?!!n.trailing:h),w.cancel=function(){l!==r&&wr(l),c=0,i=d=a=l=r},w.flush=function(){return l===r?u:b(Na())},w}var Ma=Vi((function(e,t){return li(e,1,t)})),Pa=Vi((function(e,t,n){return li(e,gs(t)||0,n)}));function Da(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new Ne(o);var n=function(){var i=arguments,r=t?t.apply(this,i):i[0],o=n.cache;if(o.has(r))return o.get(r);var a=e.apply(this,i);return n.cache=o.set(r,a)||o,a};return n.cache=new(Da.Cache||$n),n}function qa(e){if("function"!=typeof e)throw new Ne(o);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}Da.Cache=$n;var Ua=yr((function(e,t){var n=(t=1==t.length&&Ga(t[0])?It(t[0],Ht(ao())):It(vi(t,1),Ht(ao()))).length;return Vi((function(i){for(var r=-1,o=yn(i.length,n);++r<o;)i[r]=t[r].call(this,i[r]);return gt(e,this,i)}))})),Ja=Vi((function(e,t){var n=tn(t,oo(Ja));return Xr(e,u,r,t,n)})),ka=Vi((function(e,t){var n=tn(t,oo(ka));return Xr(e,64,r,t,n)})),La=eo((function(e,t){return Xr(e,256,r,r,r,t)}));function Ba(e,t){return e===t||e!=e&&t!=t}var ja=Wr(Ii),Ha=Wr((function(e,t){return e>=t})),Wa=_i(function(){return arguments}())?_i:function(e){return ns(e)&&Me.call(e,"callee")&&!et.call(e,"callee")},Ga=i.isArray,$a=ct?Ht(ct):function(e){return ns(e)&&Oi(e)==E};function za(e){return null!=e&&es(e.length)&&!Ka(e)}function Va(e){return ns(e)&&za(e)}var Xa=fn||gu,Za=pt?Ht(pt):function(e){return ns(e)&&Oi(e)==y};function Qa(e){if(!ns(e))return!1;var t=Oi(e);return t==b||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!os(e)}function Ka(e){if(!ts(e))return!1;var t=Oi(e);return t==w||t==S||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Ya(e){return"number"==typeof e&&e==ms(e)}function es(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=c}function ts(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function ns(e){return null!=e&&"object"==typeof e}var is=ft?Ht(ft):function(e){return ns(e)&&fo(e)==T};function rs(e){return"number"==typeof e||ns(e)&&Oi(e)==x}function os(e){if(!ns(e)||Oi(e)!=O)return!1;var t=$e(e);if(null===t)return!0;var n=Me.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Fe.call(n)==Ue}var as=ht?Ht(ht):function(e){return ns(e)&&Oi(e)==R},ss=mt?Ht(mt):function(e){return ns(e)&&fo(e)==N};function us(e){return"string"==typeof e||!Ga(e)&&ns(e)&&Oi(e)==A}function ls(e){return"symbol"==typeof e||ns(e)&&Oi(e)==C}var ds=vt?Ht(vt):function(e){return ns(e)&&es(e.length)&&!!Ke[Oi(e)]},cs=Wr(qi),ps=Wr((function(e,t){return e<=t}));function fs(e){if(!e)return[];if(za(e))return us(e)?an(e):Nr(e);if(at&&e[at])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[at]());var t=fo(e);return(t==T?Yt:t==N?nn:Bs)(e)}function hs(e){return e?(e=gs(e))===d||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function ms(e){var t=hs(e),n=t%1;return t==t?n?t-n:t:0}function vs(e){return e?ai(ms(e),0,f):0}function gs(e){if("number"==typeof e)return e;if(ls(e))return p;if(ts(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=ts(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=jt(e);var n=he.test(e);return n||ve.test(e)?nt(e.slice(2),n?2:8):fe.test(e)?p:+e}function ys(e){return Ar(e,Ms(e))}function bs(e){return null==e?"":sr(e)}var ws=_r((function(e,t){if(To(t)||za(t))Ar(t,Fs(t),e);else for(var n in t)Me.call(t,n)&&ei(e,n,t[n])})),Ss=_r((function(e,t){Ar(t,Ms(t),e)})),Ts=_r((function(e,t,n,i){Ar(t,Ms(t),e,i)})),xs=_r((function(e,t,n,i){Ar(t,Fs(t),e,i)})),Os=eo(oi),Is=Vi((function(e,t){e=Oe(e);var n=-1,i=t.length,o=i>2?t[2]:r;for(o&&yo(t[0],t[1],o)&&(i=1);++n<i;)for(var a=t[n],s=Ms(a),u=-1,l=s.length;++u<l;){var d=s[u],c=e[d];(c===r||Ba(c,_e[d])&&!Me.call(e,d))&&(e[d]=a[d])}return e})),Rs=Vi((function(e){return e.push(r,Qr),gt(Ds,r,e)}));function Ns(e,t,n){var i=null==e?r:Ti(e,t);return i===r?n:i}function As(e,t){return null!=e&&ho(e,t,Ni)}var Cs=kr((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=qe.call(t)),e[t]=n}),tu(ru)),_s=kr((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=qe.call(t)),Me.call(e,t)?e[t].push(n):e[t]=[n]}),ao),Es=Vi(Ci);function Fs(e){return za(e)?Xn(e):Di(e)}function Ms(e){return za(e)?Xn(e,!0):function(e){if(!ts(e))return function(e){var t=[];if(null!=e)for(var n in Oe(e))t.push(n);return t}(e);var t=To(e),n=[];for(var i in e)("constructor"!=i||!t&&Me.call(e,i))&&n.push(i);return n}(e)}var Ps=_r((function(e,t,n){Li(e,t,n)})),Ds=_r((function(e,t,n,i){Li(e,t,n,i)})),qs=eo((function(e,t){var n={};if(null==e)return n;var i=!1;t=It(t,(function(t){return t=gr(t,e),i||(i=t.length>1),t})),Ar(e,no(e),n),i&&(n=si(n,7,Kr));for(var r=t.length;r--;)lr(n,t[r]);return n})),Us=eo((function(e,t){return null==e?{}:function(e,t){return Hi(e,t,(function(t,n){return As(e,n)}))}(e,t)}));function Js(e,t){if(null==e)return{};var n=It(no(e),(function(e){return[e]}));return t=ao(t),Hi(e,n,(function(e,n){return t(e,n[0])}))}var ks=Vr(Fs),Ls=Vr(Ms);function Bs(e){return null==e?[]:Wt(e,Fs(e))}var js=Pr((function(e,t,n){return t=t.toLowerCase(),e+(n?Hs(t):t)}));function Hs(e){return Qs(bs(e).toLowerCase())}function Ws(e){return(e=bs(e))&&e.replace(ye,Xt).replace(Ge,"")}var Gs=Pr((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),$s=Pr((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),zs=Mr("toLowerCase"),Vs=Pr((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()})),Xs=Pr((function(e,t,n){return e+(n?" ":"")+Qs(t)})),Zs=Pr((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),Qs=Mr("toUpperCase");function Ks(e,t,n){return e=bs(e),(t=n?r:t)===r?function(e){return Xe.test(e)}(e)?function(e){return e.match(ze)||[]}(e):function(e){return e.match(ue)||[]}(e):e.match(t)||[]}var Ys=Vi((function(e,t){try{return gt(e,r,t)}catch(e){return Qa(e)?e:new Se(e)}})),eu=eo((function(e,t){return bt(t,(function(t){t=Jo(t),ri(e,t,_a(e[t],e))})),e}));function tu(e){return function(){return e}}var nu=Ur(),iu=Ur(!0);function ru(e){return e}function ou(e){return Pi("function"==typeof e?e:si(e,1))}var au=Vi((function(e,t){return function(n){return Ci(n,e,t)}})),su=Vi((function(e,t){return function(n){return Ci(e,n,t)}}));function uu(e,t,n){var i=Fs(t),r=Si(t,i);null!=n||ts(t)&&(r.length||!i.length)||(n=t,t=e,e=this,r=Si(t,Fs(t)));var o=!(ts(n)&&"chain"in n&&!n.chain),a=Ka(e);return bt(r,(function(n){var i=t[n];e[n]=i,a&&(e.prototype[n]=function(){var t=this.__chain__;if(o||t){var n=e(this.__wrapped__),r=n.__actions__=Nr(this.__actions__);return r.push({func:i,args:arguments,thisArg:e}),n.__chain__=t,n}return i.apply(e,Rt([this.value()],arguments))})})),e}function lu(){}var du=Br(It),cu=Br(St),pu=Br(Ct);function fu(e){return bo(e)?Ut(Jo(e)):function(e){return function(t){return Ti(t,e)}}(e)}var hu=Hr(),mu=Hr(!0);function vu(){return[]}function gu(){return!1}var yu,bu=Lr((function(e,t){return e+t}),0),wu=$r("ceil"),Su=Lr((function(e,t){return e/t}),1),Tu=$r("floor"),xu=Lr((function(e,t){return e*t}),1),Ou=$r("round"),Iu=Lr((function(e,t){return e-t}),0);return kn.after=function(e,t){if("function"!=typeof t)throw new Ne(o);return e=ms(e),function(){if(--e<1)return t.apply(this,arguments)}},kn.ary=Aa,kn.assign=ws,kn.assignIn=Ss,kn.assignInWith=Ts,kn.assignWith=xs,kn.at=Os,kn.before=Ca,kn.bind=_a,kn.bindAll=eu,kn.bindKey=Ea,kn.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Ga(e)?e:[e]},kn.chain=fa,kn.chunk=function(e,t,n){t=(n?yo(e,t,n):t===r)?1:gn(ms(t),0);var o=null==e?0:e.length;if(!o||t<1)return[];for(var a=0,s=0,u=i(dn(o/t));a<o;)u[s++]=tr(e,a,a+=t);return u},kn.compact=function(e){for(var t=-1,n=null==e?0:e.length,i=0,r=[];++t<n;){var o=e[t];o&&(r[i++]=o)}return r},kn.concat=function(){var e=arguments.length;if(!e)return[];for(var t=i(e-1),n=arguments[0],r=e;r--;)t[r-1]=arguments[r];return Rt(Ga(n)?Nr(n):[n],vi(t,1))},kn.cond=function(e){var t=null==e?0:e.length,n=ao();return e=t?It(e,(function(e){if("function"!=typeof e[1])throw new Ne(o);return[n(e[0]),e[1]]})):[],Vi((function(n){for(var i=-1;++i<t;){var r=e[i];if(gt(r[0],this,n))return gt(r[1],this,n)}}))},kn.conforms=function(e){return function(e){var t=Fs(e);return function(n){return ui(n,e,t)}}(si(e,1))},kn.constant=tu,kn.countBy=va,kn.create=function(e,t){var n=Ln(e);return null==t?n:ii(n,t)},kn.curry=function e(t,n,i){var o=Xr(t,8,r,r,r,r,r,n=i?r:n);return o.placeholder=e.placeholder,o},kn.curryRight=function e(t,n,i){var o=Xr(t,16,r,r,r,r,r,n=i?r:n);return o.placeholder=e.placeholder,o},kn.debounce=Fa,kn.defaults=Is,kn.defaultsDeep=Rs,kn.defer=Ma,kn.delay=Pa,kn.difference=Bo,kn.differenceBy=jo,kn.differenceWith=Ho,kn.drop=function(e,t,n){var i=null==e?0:e.length;return i?tr(e,(t=n||t===r?1:ms(t))<0?0:t,i):[]},kn.dropRight=function(e,t,n){var i=null==e?0:e.length;return i?tr(e,0,(t=i-(t=n||t===r?1:ms(t)))<0?0:t):[]},kn.dropRightWhile=function(e,t){return e&&e.length?cr(e,ao(t,3),!0,!0):[]},kn.dropWhile=function(e,t){return e&&e.length?cr(e,ao(t,3),!0):[]},kn.fill=function(e,t,n,i){var o=null==e?0:e.length;return o?(n&&"number"!=typeof n&&yo(e,t,n)&&(n=0,i=o),function(e,t,n,i){var o=e.length;for((n=ms(n))<0&&(n=-n>o?0:o+n),(i=i===r||i>o?o:ms(i))<0&&(i+=o),i=n>i?0:vs(i);n<i;)e[n++]=t;return e}(e,t,n,i)):[]},kn.filter=function(e,t){return(Ga(e)?Tt:mi)(e,ao(t,3))},kn.flatMap=function(e,t){return vi(Oa(e,t),1)},kn.flatMapDeep=function(e,t){return vi(Oa(e,t),d)},kn.flatMapDepth=function(e,t,n){return n=n===r?1:ms(n),vi(Oa(e,t),n)},kn.flatten=$o,kn.flattenDeep=function(e){return null!=e&&e.length?vi(e,d):[]},kn.flattenDepth=function(e,t){return null!=e&&e.length?vi(e,t=t===r?1:ms(t)):[]},kn.flip=function(e){return Xr(e,512)},kn.flow=nu,kn.flowRight=iu,kn.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,i={};++t<n;){var r=e[t];i[r[0]]=r[1]}return i},kn.functions=function(e){return null==e?[]:Si(e,Fs(e))},kn.functionsIn=function(e){return null==e?[]:Si(e,Ms(e))},kn.groupBy=Sa,kn.initial=function(e){return null!=e&&e.length?tr(e,0,-1):[]},kn.intersection=Vo,kn.intersectionBy=Xo,kn.intersectionWith=Zo,kn.invert=Cs,kn.invertBy=_s,kn.invokeMap=Ta,kn.iteratee=ou,kn.keyBy=xa,kn.keys=Fs,kn.keysIn=Ms,kn.map=Oa,kn.mapKeys=function(e,t){var n={};return t=ao(t,3),bi(e,(function(e,i,r){ri(n,t(e,i,r),e)})),n},kn.mapValues=function(e,t){var n={};return t=ao(t,3),bi(e,(function(e,i,r){ri(n,i,t(e,i,r))})),n},kn.matches=function(e){return Ji(si(e,1))},kn.matchesProperty=function(e,t){return ki(e,si(t,1))},kn.memoize=Da,kn.merge=Ps,kn.mergeWith=Ds,kn.method=au,kn.methodOf=su,kn.mixin=uu,kn.negate=qa,kn.nthArg=function(e){return e=ms(e),Vi((function(t){return Bi(t,e)}))},kn.omit=qs,kn.omitBy=function(e,t){return Js(e,qa(ao(t)))},kn.once=function(e){return Ca(2,e)},kn.orderBy=function(e,t,n,i){return null==e?[]:(Ga(t)||(t=null==t?[]:[t]),Ga(n=i?r:n)||(n=null==n?[]:[n]),ji(e,t,n))},kn.over=du,kn.overArgs=Ua,kn.overEvery=cu,kn.overSome=pu,kn.partial=Ja,kn.partialRight=ka,kn.partition=Ia,kn.pick=Us,kn.pickBy=Js,kn.property=fu,kn.propertyOf=function(e){return function(t){return null==e?r:Ti(e,t)}},kn.pull=Ko,kn.pullAll=Yo,kn.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?Wi(e,t,ao(n,2)):e},kn.pullAllWith=function(e,t,n){return e&&e.length&&t&&t.length?Wi(e,t,r,n):e},kn.pullAt=ea,kn.range=hu,kn.rangeRight=mu,kn.rearg=La,kn.reject=function(e,t){return(Ga(e)?Tt:mi)(e,qa(ao(t,3)))},kn.remove=function(e,t){var n=[];if(!e||!e.length)return n;var i=-1,r=[],o=e.length;for(t=ao(t,3);++i<o;){var a=e[i];t(a,i,e)&&(n.push(a),r.push(i))}return Gi(e,r),n},kn.rest=function(e,t){if("function"!=typeof e)throw new Ne(o);return Vi(e,t=t===r?t:ms(t))},kn.reverse=ta,kn.sampleSize=function(e,t,n){return t=(n?yo(e,t,n):t===r)?1:ms(t),(Ga(e)?Qn:Zi)(e,t)},kn.set=function(e,t,n){return null==e?e:Qi(e,t,n)},kn.setWith=function(e,t,n,i){return i="function"==typeof i?i:r,null==e?e:Qi(e,t,n,i)},kn.shuffle=function(e){return(Ga(e)?Kn:er)(e)},kn.slice=function(e,t,n){var i=null==e?0:e.length;return i?(n&&"number"!=typeof n&&yo(e,t,n)?(t=0,n=i):(t=null==t?0:ms(t),n=n===r?i:ms(n)),tr(e,t,n)):[]},kn.sortBy=Ra,kn.sortedUniq=function(e){return e&&e.length?or(e):[]},kn.sortedUniqBy=function(e,t){return e&&e.length?or(e,ao(t,2)):[]},kn.split=function(e,t,n){return n&&"number"!=typeof n&&yo(e,t,n)&&(t=n=r),(n=n===r?f:n>>>0)?(e=bs(e))&&("string"==typeof t||null!=t&&!as(t))&&!(t=sr(t))&&Kt(e)?br(an(e),0,n):e.split(t,n):[]},kn.spread=function(e,t){if("function"!=typeof e)throw new Ne(o);return t=null==t?0:gn(ms(t),0),Vi((function(n){var i=n[t],r=br(n,0,t);return i&&Rt(r,i),gt(e,this,r)}))},kn.tail=function(e){var t=null==e?0:e.length;return t?tr(e,1,t):[]},kn.take=function(e,t,n){return e&&e.length?tr(e,0,(t=n||t===r?1:ms(t))<0?0:t):[]},kn.takeRight=function(e,t,n){var i=null==e?0:e.length;return i?tr(e,(t=i-(t=n||t===r?1:ms(t)))<0?0:t,i):[]},kn.takeRightWhile=function(e,t){return e&&e.length?cr(e,ao(t,3),!1,!0):[]},kn.takeWhile=function(e,t){return e&&e.length?cr(e,ao(t,3)):[]},kn.tap=function(e,t){return t(e),e},kn.throttle=function(e,t,n){var i=!0,r=!0;if("function"!=typeof e)throw new Ne(o);return ts(n)&&(i="leading"in n?!!n.leading:i,r="trailing"in n?!!n.trailing:r),Fa(e,t,{leading:i,maxWait:t,trailing:r})},kn.thru=ha,kn.toArray=fs,kn.toPairs=ks,kn.toPairsIn=Ls,kn.toPath=function(e){return Ga(e)?It(e,Jo):ls(e)?[e]:Nr(Uo(bs(e)))},kn.toPlainObject=ys,kn.transform=function(e,t,n){var i=Ga(e),r=i||Xa(e)||ds(e);if(t=ao(t,4),null==n){var o=e&&e.constructor;n=r?i?new o:[]:ts(e)&&Ka(o)?Ln($e(e)):{}}return(r?bt:bi)(e,(function(e,i,r){return t(n,e,i,r)})),n},kn.unary=function(e){return Aa(e,1)},kn.union=na,kn.unionBy=ia,kn.unionWith=ra,kn.uniq=function(e){return e&&e.length?ur(e):[]},kn.uniqBy=function(e,t){return e&&e.length?ur(e,ao(t,2)):[]},kn.uniqWith=function(e,t){return t="function"==typeof t?t:r,e&&e.length?ur(e,r,t):[]},kn.unset=function(e,t){return null==e||lr(e,t)},kn.unzip=oa,kn.unzipWith=aa,kn.update=function(e,t,n){return null==e?e:dr(e,t,vr(n))},kn.updateWith=function(e,t,n,i){return i="function"==typeof i?i:r,null==e?e:dr(e,t,vr(n),i)},kn.values=Bs,kn.valuesIn=function(e){return null==e?[]:Wt(e,Ms(e))},kn.without=sa,kn.words=Ks,kn.wrap=function(e,t){return Ja(vr(t),e)},kn.xor=ua,kn.xorBy=la,kn.xorWith=da,kn.zip=ca,kn.zipObject=function(e,t){return hr(e||[],t||[],ei)},kn.zipObjectDeep=function(e,t){return hr(e||[],t||[],Qi)},kn.zipWith=pa,kn.entries=ks,kn.entriesIn=Ls,kn.extend=Ss,kn.extendWith=Ts,uu(kn,kn),kn.add=bu,kn.attempt=Ys,kn.camelCase=js,kn.capitalize=Hs,kn.ceil=wu,kn.clamp=function(e,t,n){return n===r&&(n=t,t=r),n!==r&&(n=(n=gs(n))==n?n:0),t!==r&&(t=(t=gs(t))==t?t:0),ai(gs(e),t,n)},kn.clone=function(e){return si(e,4)},kn.cloneDeep=function(e){return si(e,5)},kn.cloneDeepWith=function(e,t){return si(e,5,t="function"==typeof t?t:r)},kn.cloneWith=function(e,t){return si(e,4,t="function"==typeof t?t:r)},kn.conformsTo=function(e,t){return null==t||ui(e,t,Fs(t))},kn.deburr=Ws,kn.defaultTo=function(e,t){return null==e||e!=e?t:e},kn.divide=Su,kn.endsWith=function(e,t,n){e=bs(e),t=sr(t);var i=e.length,o=n=n===r?i:ai(ms(n),0,i);return(n-=t.length)>=0&&e.slice(n,o)==t},kn.eq=Ba,kn.escape=function(e){return(e=bs(e))&&V.test(e)?e.replace($,Zt):e},kn.escapeRegExp=function(e){return(e=bs(e))&&ne.test(e)?e.replace(te,"\\$&"):e},kn.every=function(e,t,n){var i=Ga(e)?St:fi;return n&&yo(e,t,n)&&(t=r),i(e,ao(t,3))},kn.find=ga,kn.findIndex=Wo,kn.findKey=function(e,t){return Et(e,ao(t,3),bi)},kn.findLast=ya,kn.findLastIndex=Go,kn.findLastKey=function(e,t){return Et(e,ao(t,3),wi)},kn.floor=Tu,kn.forEach=ba,kn.forEachRight=wa,kn.forIn=function(e,t){return null==e?e:gi(e,ao(t,3),Ms)},kn.forInRight=function(e,t){return null==e?e:yi(e,ao(t,3),Ms)},kn.forOwn=function(e,t){return e&&bi(e,ao(t,3))},kn.forOwnRight=function(e,t){return e&&wi(e,ao(t,3))},kn.get=Ns,kn.gt=ja,kn.gte=Ha,kn.has=function(e,t){return null!=e&&ho(e,t,Ri)},kn.hasIn=As,kn.head=zo,kn.identity=ru,kn.includes=function(e,t,n,i){e=za(e)?e:Bs(e),n=n&&!i?ms(n):0;var r=e.length;return n<0&&(n=gn(r+n,0)),us(e)?n<=r&&e.indexOf(t,n)>-1:!!r&&Mt(e,t,n)>-1},kn.indexOf=function(e,t,n){var i=null==e?0:e.length;if(!i)return-1;var r=null==n?0:ms(n);return r<0&&(r=gn(i+r,0)),Mt(e,t,r)},kn.inRange=function(e,t,n){return t=hs(t),n===r?(n=t,t=0):n=hs(n),function(e,t,n){return e>=yn(t,n)&&e<gn(t,n)}(e=gs(e),t,n)},kn.invoke=Es,kn.isArguments=Wa,kn.isArray=Ga,kn.isArrayBuffer=$a,kn.isArrayLike=za,kn.isArrayLikeObject=Va,kn.isBoolean=function(e){return!0===e||!1===e||ns(e)&&Oi(e)==g},kn.isBuffer=Xa,kn.isDate=Za,kn.isElement=function(e){return ns(e)&&1===e.nodeType&&!os(e)},kn.isEmpty=function(e){if(null==e)return!0;if(za(e)&&(Ga(e)||"string"==typeof e||"function"==typeof e.splice||Xa(e)||ds(e)||Wa(e)))return!e.length;var t=fo(e);if(t==T||t==N)return!e.size;if(To(e))return!Di(e).length;for(var n in e)if(Me.call(e,n))return!1;return!0},kn.isEqual=function(e,t){return Ei(e,t)},kn.isEqualWith=function(e,t,n){var i=(n="function"==typeof n?n:r)?n(e,t):r;return i===r?Ei(e,t,r,n):!!i},kn.isError=Qa,kn.isFinite=function(e){return"number"==typeof e&&hn(e)},kn.isFunction=Ka,kn.isInteger=Ya,kn.isLength=es,kn.isMap=is,kn.isMatch=function(e,t){return e===t||Fi(e,t,uo(t))},kn.isMatchWith=function(e,t,n){return n="function"==typeof n?n:r,Fi(e,t,uo(t),n)},kn.isNaN=function(e){return rs(e)&&e!=+e},kn.isNative=function(e){if(So(e))throw new Se("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Mi(e)},kn.isNil=function(e){return null==e},kn.isNull=function(e){return null===e},kn.isNumber=rs,kn.isObject=ts,kn.isObjectLike=ns,kn.isPlainObject=os,kn.isRegExp=as,kn.isSafeInteger=function(e){return Ya(e)&&e>=-9007199254740991&&e<=c},kn.isSet=ss,kn.isString=us,kn.isSymbol=ls,kn.isTypedArray=ds,kn.isUndefined=function(e){return e===r},kn.isWeakMap=function(e){return ns(e)&&fo(e)==_},kn.isWeakSet=function(e){return ns(e)&&"[object WeakSet]"==Oi(e)},kn.join=function(e,t){return null==e?"":mn.call(e,t)},kn.kebabCase=Gs,kn.last=Qo,kn.lastIndexOf=function(e,t,n){var i=null==e?0:e.length;if(!i)return-1;var o=i;return n!==r&&(o=(o=ms(n))<0?gn(i+o,0):yn(o,i-1)),t==t?function(e,t,n){for(var i=n+1;i--;)if(e[i]===t)return i;return i}(e,t,o):Ft(e,Dt,o,!0)},kn.lowerCase=$s,kn.lowerFirst=zs,kn.lt=cs,kn.lte=ps,kn.max=function(e){return e&&e.length?hi(e,ru,Ii):r},kn.maxBy=function(e,t){return e&&e.length?hi(e,ao(t,2),Ii):r},kn.mean=function(e){return qt(e,ru)},kn.meanBy=function(e,t){return qt(e,ao(t,2))},kn.min=function(e){return e&&e.length?hi(e,ru,qi):r},kn.minBy=function(e,t){return e&&e.length?hi(e,ao(t,2),qi):r},kn.stubArray=vu,kn.stubFalse=gu,kn.stubObject=function(){return{}},kn.stubString=function(){return""},kn.stubTrue=function(){return!0},kn.multiply=xu,kn.nth=function(e,t){return e&&e.length?Bi(e,ms(t)):r},kn.noConflict=function(){return ot._===this&&(ot._=Je),this},kn.noop=lu,kn.now=Na,kn.pad=function(e,t,n){e=bs(e);var i=(t=ms(t))?on(e):0;if(!t||i>=t)return e;var r=(t-i)/2;return jr(cn(r),n)+e+jr(dn(r),n)},kn.padEnd=function(e,t,n){e=bs(e);var i=(t=ms(t))?on(e):0;return t&&i<t?e+jr(t-i,n):e},kn.padStart=function(e,t,n){e=bs(e);var i=(t=ms(t))?on(e):0;return t&&i<t?jr(t-i,n)+e:e},kn.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),wn(bs(e).replace(ie,""),t||0)},kn.random=function(e,t,n){if(n&&"boolean"!=typeof n&&yo(e,t,n)&&(t=n=r),n===r&&("boolean"==typeof t?(n=t,t=r):"boolean"==typeof e&&(n=e,e=r)),e===r&&t===r?(e=0,t=1):(e=hs(e),t===r?(t=e,e=0):t=hs(t)),e>t){var i=e;e=t,t=i}if(n||e%1||t%1){var o=Sn();return yn(e+o*(t-e+tt("1e-"+((o+"").length-1))),t)}return $i(e,t)},kn.reduce=function(e,t,n){var i=Ga(e)?Nt:kt,r=arguments.length<3;return i(e,ao(t,4),n,r,ci)},kn.reduceRight=function(e,t,n){var i=Ga(e)?At:kt,r=arguments.length<3;return i(e,ao(t,4),n,r,pi)},kn.repeat=function(e,t,n){return t=(n?yo(e,t,n):t===r)?1:ms(t),zi(bs(e),t)},kn.replace=function(){var e=arguments,t=bs(e[0]);return e.length<3?t:t.replace(e[1],e[2])},kn.result=function(e,t,n){var i=-1,o=(t=gr(t,e)).length;for(o||(o=1,e=r);++i<o;){var a=null==e?r:e[Jo(t[i])];a===r&&(i=o,a=n),e=Ka(a)?a.call(e):a}return e},kn.round=Ou,kn.runInContext=e,kn.sample=function(e){return(Ga(e)?Zn:Xi)(e)},kn.size=function(e){if(null==e)return 0;if(za(e))return us(e)?on(e):e.length;var t=fo(e);return t==T||t==N?e.size:Di(e).length},kn.snakeCase=Vs,kn.some=function(e,t,n){var i=Ga(e)?Ct:nr;return n&&yo(e,t,n)&&(t=r),i(e,ao(t,3))},kn.sortedIndex=function(e,t){return ir(e,t)},kn.sortedIndexBy=function(e,t,n){return rr(e,t,ao(n,2))},kn.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var i=ir(e,t);if(i<n&&Ba(e[i],t))return i}return-1},kn.sortedLastIndex=function(e,t){return ir(e,t,!0)},kn.sortedLastIndexBy=function(e,t,n){return rr(e,t,ao(n,2),!0)},kn.sortedLastIndexOf=function(e,t){if(null!=e&&e.length){var n=ir(e,t,!0)-1;if(Ba(e[n],t))return n}return-1},kn.startCase=Xs,kn.startsWith=function(e,t,n){return e=bs(e),n=null==n?0:ai(ms(n),0,e.length),t=sr(t),e.slice(n,n+t.length)==t},kn.subtract=Iu,kn.sum=function(e){return e&&e.length?Lt(e,ru):0},kn.sumBy=function(e,t){return e&&e.length?Lt(e,ao(t,2)):0},kn.template=function(e,t,n){var i=kn.templateSettings;n&&yo(e,t,n)&&(t=r),e=bs(e),t=Ts({},t,i,Zr);var o,a,s=Ts({},t.imports,i.imports,Zr),u=Fs(s),l=Wt(s,u),d=0,c=t.interpolate||be,p="__p += '",f=Ie((t.escape||be).source+"|"+c.source+"|"+(c===Q?ce:be).source+"|"+(t.evaluate||be).source+"|$","g"),h="//# sourceURL="+(Me.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Qe+"]")+"\n";e.replace(f,(function(t,n,i,r,s,u){return i||(i=r),p+=e.slice(d,u).replace(we,Qt),n&&(o=!0,p+="' +\n__e("+n+") +\n'"),s&&(a=!0,p+="';\n"+s+";\n__p += '"),i&&(p+="' +\n((__t = ("+i+")) == null ? '' : __t) +\n'"),d=u+t.length,t})),p+="';\n";var m=Me.call(t,"variable")&&t.variable;if(m){if(le.test(m))throw new Se("Invalid `variable` option passed into `_.template`")}else p="with (obj) {\n"+p+"\n}\n";p=(a?p.replace(j,""):p).replace(H,"$1").replace(W,"$1;"),p="function("+(m||"obj")+") {\n"+(m?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+p+"return __p\n}";var v=Ys((function(){return Te(u,h+"return "+p).apply(r,l)}));if(v.source=p,Qa(v))throw v;return v},kn.times=function(e,t){if((e=ms(e))<1||e>c)return[];var n=f,i=yn(e,f);t=ao(t),e-=f;for(var r=Bt(i,t);++n<e;)t(n);return r},kn.toFinite=hs,kn.toInteger=ms,kn.toLength=vs,kn.toLower=function(e){return bs(e).toLowerCase()},kn.toNumber=gs,kn.toSafeInteger=function(e){return e?ai(ms(e),-9007199254740991,c):0===e?e:0},kn.toString=bs,kn.toUpper=function(e){return bs(e).toUpperCase()},kn.trim=function(e,t,n){if((e=bs(e))&&(n||t===r))return jt(e);if(!e||!(t=sr(t)))return e;var i=an(e),o=an(t);return br(i,$t(i,o),zt(i,o)+1).join("")},kn.trimEnd=function(e,t,n){if((e=bs(e))&&(n||t===r))return e.slice(0,sn(e)+1);if(!e||!(t=sr(t)))return e;var i=an(e);return br(i,0,zt(i,an(t))+1).join("")},kn.trimStart=function(e,t,n){if((e=bs(e))&&(n||t===r))return e.replace(ie,"");if(!e||!(t=sr(t)))return e;var i=an(e);return br(i,$t(i,an(t))).join("")},kn.truncate=function(e,t){var n=30,i="...";if(ts(t)){var o="separator"in t?t.separator:o;n="length"in t?ms(t.length):n,i="omission"in t?sr(t.omission):i}var a=(e=bs(e)).length;if(Kt(e)){var s=an(e);a=s.length}if(n>=a)return e;var u=n-on(i);if(u<1)return i;var l=s?br(s,0,u).join(""):e.slice(0,u);if(o===r)return l+i;if(s&&(u+=l.length-u),as(o)){if(e.slice(u).search(o)){var d,c=l;for(o.global||(o=Ie(o.source,bs(pe.exec(o))+"g")),o.lastIndex=0;d=o.exec(c);)var p=d.index;l=l.slice(0,p===r?u:p)}}else if(e.indexOf(sr(o),u)!=u){var f=l.lastIndexOf(o);f>-1&&(l=l.slice(0,f))}return l+i},kn.unescape=function(e){return(e=bs(e))&&z.test(e)?e.replace(G,un):e},kn.uniqueId=function(e){var t=++Pe;return bs(e)+t},kn.upperCase=Zs,kn.upperFirst=Qs,kn.each=ba,kn.eachRight=wa,kn.first=zo,uu(kn,(yu={},bi(kn,(function(e,t){Me.call(kn.prototype,t)||(yu[t]=e)})),yu),{chain:!1}),kn.VERSION="4.17.21",bt(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){kn[e].placeholder=kn})),bt(["drop","take"],(function(e,t){Hn.prototype[e]=function(n){n=n===r?1:gn(ms(n),0);var i=this.__filtered__&&!t?new Hn(this):this.clone();return i.__filtered__?i.__takeCount__=yn(n,i.__takeCount__):i.__views__.push({size:yn(n,f),type:e+(i.__dir__<0?"Right":"")}),i},Hn.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),bt(["filter","map","takeWhile"],(function(e,t){var n=t+1,i=1==n||3==n;Hn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:ao(e,3),type:n}),t.__filtered__=t.__filtered__||i,t}})),bt(["head","last"],(function(e,t){var n="take"+(t?"Right":"");Hn.prototype[e]=function(){return this[n](1).value()[0]}})),bt(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");Hn.prototype[e]=function(){return this.__filtered__?new Hn(this):this[n](1)}})),Hn.prototype.compact=function(){return this.filter(ru)},Hn.prototype.find=function(e){return this.filter(e).head()},Hn.prototype.findLast=function(e){return this.reverse().find(e)},Hn.prototype.invokeMap=Vi((function(e,t){return"function"==typeof e?new Hn(this):this.map((function(n){return Ci(n,e,t)}))})),Hn.prototype.reject=function(e){return this.filter(qa(ao(e)))},Hn.prototype.slice=function(e,t){e=ms(e);var n=this;return n.__filtered__&&(e>0||t<0)?new Hn(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==r&&(n=(t=ms(t))<0?n.dropRight(-t):n.take(t-e)),n)},Hn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Hn.prototype.toArray=function(){return this.take(f)},bi(Hn.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),i=/^(?:head|last)$/.test(t),o=kn[i?"take"+("last"==t?"Right":""):t],a=i||/^find/.test(t);o&&(kn.prototype[t]=function(){var t=this.__wrapped__,s=i?[1]:arguments,u=t instanceof Hn,l=s[0],d=u||Ga(t),c=function(e){var t=o.apply(kn,Rt([e],s));return i&&p?t[0]:t};d&&n&&"function"==typeof l&&1!=l.length&&(u=d=!1);var p=this.__chain__,f=!!this.__actions__.length,h=a&&!p,m=u&&!f;if(!a&&d){t=m?t:new Hn(this);var v=e.apply(t,s);return v.__actions__.push({func:ha,args:[c],thisArg:r}),new jn(v,p)}return h&&m?e.apply(this,s):(v=this.thru(c),h?i?v.value()[0]:v.value():v)})})),bt(["pop","push","shift","sort","splice","unshift"],(function(e){var t=Ae[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",i=/^(?:pop|shift)$/.test(e);kn.prototype[e]=function(){var e=arguments;if(i&&!this.__chain__){var r=this.value();return t.apply(Ga(r)?r:[],e)}return this[n]((function(n){return t.apply(Ga(n)?n:[],e)}))}})),bi(Hn.prototype,(function(e,t){var n=kn[t];if(n){var i=n.name+"";Me.call(_n,i)||(_n[i]=[]),_n[i].push({name:t,func:n})}})),_n[Jr(r,2).name]=[{name:"wrapper",func:r}],Hn.prototype.clone=function(){var e=new Hn(this.__wrapped__);return e.__actions__=Nr(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Nr(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Nr(this.__views__),e},Hn.prototype.reverse=function(){if(this.__filtered__){var e=new Hn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Hn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Ga(e),i=t<0,r=n?e.length:0,o=function(e,t,n){for(var i=-1,r=n.length;++i<r;){var o=n[i],a=o.size;switch(o.type){case"drop":e+=a;break;case"dropRight":t-=a;break;case"take":t=yn(t,e+a);break;case"takeRight":e=gn(e,t-a)}}return{start:e,end:t}}(0,r,this.__views__),a=o.start,s=o.end,u=s-a,l=i?s:a-1,d=this.__iteratees__,c=d.length,p=0,f=yn(u,this.__takeCount__);if(!n||!i&&r==u&&f==u)return pr(e,this.__actions__);var h=[];e:for(;u--&&p<f;){for(var m=-1,v=e[l+=t];++m<c;){var g=d[m],y=g.iteratee,b=g.type,w=y(v);if(2==b)v=w;else if(!w){if(1==b)continue e;break e}}h[p++]=v}return h},kn.prototype.at=ma,kn.prototype.chain=function(){return fa(this)},kn.prototype.commit=function(){return new jn(this.value(),this.__chain__)},kn.prototype.next=function(){this.__values__===r&&(this.__values__=fs(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?r:this.__values__[this.__index__++]}},kn.prototype.plant=function(e){for(var t,n=this;n instanceof Bn;){var i=Lo(n);i.__index__=0,i.__values__=r,t?o.__wrapped__=i:t=i;var o=i;n=n.__wrapped__}return o.__wrapped__=e,t},kn.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Hn){var t=e;return this.__actions__.length&&(t=new Hn(this)),(t=t.reverse()).__actions__.push({func:ha,args:[ta],thisArg:r}),new jn(t,this.__chain__)}return this.thru(ta)},kn.prototype.toJSON=kn.prototype.valueOf=kn.prototype.value=function(){return pr(this.__wrapped__,this.__actions__)},kn.prototype.first=kn.prototype.head,at&&(kn.prototype[at]=function(){return this}),kn}();ot._=ln,(i=function(){return ln}.call(t,n,t,e))===r||(e.exports=i)}.call(this)},8306:(e,t,n)=>{var i=n(3369);function r(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var i=arguments,r=t?t.apply(this,i):i[0],o=n.cache;if(o.has(r))return o.get(r);var a=e.apply(this,i);return n.cache=o.set(r,a)||o,a};return n.cache=new(r.Cache||i),n}r.Cache=i,e.exports=r},9601:(e,t,n)=>{var i=n(371),r=n(9152),o=n(5403),a=n(327);e.exports=function(e){return o(e)?i(a(e)):r(e)}},479:e=>{e.exports=function(){return[]}},5062:e=>{e.exports=function(){return!1}},9833:(e,t,n)=>{var i=n(531);e.exports=function(e){return null==e?"":i(e)}},7418:e=>{var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function r(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach((function(e){i[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},i)).join("")}catch(e){return!1}}()?Object.assign:function(e,o){for(var a,s,u=r(e),l=1;l<arguments.length;l++){for(var d in a=Object(arguments[l]))n.call(a,d)&&(u[d]=a[d]);if(t){s=t(a);for(var c=0;c<s.length;c++)i.call(a,s[c])&&(u[s[c]]=a[s[c]])}}return u}},2408:(e,t,n)=>{var i=n(7418);if("function"==typeof Symbol&&Symbol.for){var r=Symbol.for;r("react.element"),r("react.portal"),r("react.fragment"),r("react.strict_mode"),r("react.profiler"),r("react.provider"),r("react.context"),r("react.forward_ref"),r("react.suspense"),r("react.memo"),r("react.lazy")}"function"==typeof Symbol&&Symbol.iterator;function o(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var a={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},s={};function u(e,t,n){this.props=e,this.context=t,this.refs=s,this.updater=n||a}function l(){}function d(e,t,n){this.props=e,this.context=t,this.refs=s,this.updater=n||a}u.prototype.isReactComponent={},u.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(o(85));this.updater.enqueueSetState(this,e,t,"setState")},u.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},l.prototype=u.prototype;var c=d.prototype=new l;c.constructor=d,i(c,u.prototype),c.isPureReactComponent=!0;Object.prototype.hasOwnProperty},7294:(e,t,n)=>{n(2408)},3379:e=>{var t=[];function n(e){for(var n=-1,i=0;i<t.length;i++)if(t[i].identifier===e){n=i;break}return n}function i(e,i){for(var o={},a=[],s=0;s<e.length;s++){var u=e[s],l=i.base?u[0]+i.base:u[0],d=o[l]||0,c="".concat(l," ").concat(d);o[l]=d+1;var p=n(c),f={css:u[1],media:u[2],sourceMap:u[3],supports:u[4],layer:u[5]};if(-1!==p)t[p].references++,t[p].updater(f);else{var h=r(f,i);i.byIndex=s,t.splice(s,0,{identifier:c,updater:h,references:1})}a.push(c)}return a}function r(e,t){var n=t.domAPI(t);return n.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,r){var o=i(e=e||[],r=r||{});return function(e){e=e||[];for(var a=0;a<o.length;a++){var s=n(o[a]);t[s].references--}for(var u=i(e,r),l=0;l<o.length;l++){var d=n(o[l]);0===t[d].references&&(t[d].updater(),t.splice(d,1))}o=u}}},569:e=>{var t={};e.exports=function(e,n){var i=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(n)}},9216:e=>{e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},3565:(e,t,n)=>{e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},7795:e=>{e.exports=function(e){var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var i="";n.supports&&(i+="@supports (".concat(n.supports,") {")),n.media&&(i+="@media ".concat(n.media," {"));var r=void 0!==n.layer;r&&(i+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),i+=n.css,r&&(i+="}"),n.media&&(i+="}"),n.supports&&(i+="}");var o=n.sourceMap;o&&"undefined"!=typeof btoa&&(i+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),t.styleTagTransform(i,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},4589:e=>{e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}}},t={};function n(i){var r=t[i];if(void 0!==r)return r.exports;var o=t[i]={id:i,loaded:!1,exports:{}};return e[i].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var i={};(()=>{n.d(i,{Z:()=>Ui});const e=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,t=Symbol(),r=new Map;class o{constructor(e,n){if(this._$cssResult$=!0,n!==t)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e}get styleSheet(){let t=r.get(this.cssText);return e&&void 0===t&&(r.set(this.cssText,t=new CSSStyleSheet),t.replaceSync(this.cssText)),t}toString(){return this.cssText}}const a=(e,...n)=>{const i=1===e.length?e[0]:n.reduce(((t,n,i)=>t+(e=>{if(!0===e._$cssResult$)return e.cssText;if("number"==typeof e)return e;throw Error("Value passed to 'css' function must be a 'css' function result: "+e+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(n)+e[i+1]),e[0]);return new o(i,t)},s=e?e=>e:e=>e instanceof CSSStyleSheet?(e=>{let n="";for(const t of e.cssRules)n+=t.cssText;return(e=>new o("string"==typeof e?e:e+"",t))(n)})(e):e;var u;const l=window.trustedTypes,d=l?l.emptyScript:"",c=window.reactiveElementPolyfillSupport,p={toAttribute(e,t){switch(t){case Boolean:e=e?d:null;break;case Object:case Array:e=null==e?e:JSON.stringify(e)}return e},fromAttribute(e,t){let n=e;switch(t){case Boolean:n=null!==e;break;case Number:n=null===e?null:Number(e);break;case Object:case Array:try{n=JSON.parse(e)}catch(e){n=null}}return n}},f=(e,t)=>t!==e&&(t==t||e==e),h={attribute:!0,type:String,converter:p,reflect:!1,hasChanged:f};class m extends HTMLElement{constructor(){super(),this._$Et=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Ei=null,this.o()}static addInitializer(e){var t;null!==(t=this.l)&&void 0!==t||(this.l=[]),this.l.push(e)}static get observedAttributes(){this.finalize();const e=[];return this.elementProperties.forEach(((t,n)=>{const i=this._$Eh(n,t);void 0!==i&&(this._$Eu.set(i,n),e.push(i))})),e}static createProperty(e,t=h){if(t.state&&(t.attribute=!1),this.finalize(),this.elementProperties.set(e,t),!t.noAccessor&&!this.prototype.hasOwnProperty(e)){const n="symbol"==typeof e?Symbol():"__"+e,i=this.getPropertyDescriptor(e,n,t);void 0!==i&&Object.defineProperty(this.prototype,e,i)}}static getPropertyDescriptor(e,t,n){return{get(){return this[t]},set(i){const r=this[e];this[t]=i,this.requestUpdate(e,r,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)||h}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const e=Object.getPrototypeOf(this);if(e.finalize(),this.elementProperties=new Map(e.elementProperties),this._$Eu=new Map,this.hasOwnProperty("properties")){const e=this.properties,t=[...Object.getOwnPropertyNames(e),...Object.getOwnPropertySymbols(e)];for(const n of t)this.createProperty(n,e[n])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(e){const t=[];if(Array.isArray(e)){const n=new Set(e.flat(1/0).reverse());for(const e of n)t.unshift(s(e))}else void 0!==e&&t.push(s(e));return t}static _$Eh(e,t){const n=t.attribute;return!1===n?void 0:"string"==typeof n?n:"string"==typeof e?e.toLowerCase():void 0}o(){var e;this._$Ep=new Promise((e=>this.enableUpdating=e)),this._$AL=new Map,this._$Em(),this.requestUpdate(),null===(e=this.constructor.l)||void 0===e||e.forEach((e=>e(this)))}addController(e){var t,n;(null!==(t=this._$Eg)&&void 0!==t?t:this._$Eg=[]).push(e),void 0!==this.renderRoot&&this.isConnected&&(null===(n=e.hostConnected)||void 0===n||n.call(e))}removeController(e){var t;null===(t=this._$Eg)||void 0===t||t.splice(this._$Eg.indexOf(e)>>>0,1)}_$Em(){this.constructor.elementProperties.forEach(((e,t)=>{this.hasOwnProperty(t)&&(this._$Et.set(t,this[t]),delete this[t])}))}createRenderRoot(){var t;const n=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return((t,n)=>{e?t.adoptedStyleSheets=n.map((e=>e instanceof CSSStyleSheet?e:e.styleSheet)):n.forEach((e=>{const n=document.createElement("style"),i=window.litNonce;void 0!==i&&n.setAttribute("nonce",i),n.textContent=e.cssText,t.appendChild(n)}))})(n,this.constructor.elementStyles),n}connectedCallback(){var e;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(e=this._$Eg)||void 0===e||e.forEach((e=>{var t;return null===(t=e.hostConnected)||void 0===t?void 0:t.call(e)}))}enableUpdating(e){}disconnectedCallback(){var e;null===(e=this._$Eg)||void 0===e||e.forEach((e=>{var t;return null===(t=e.hostDisconnected)||void 0===t?void 0:t.call(e)}))}attributeChangedCallback(e,t,n){this._$AK(e,n)}_$ES(e,t,n=h){var i,r;const o=this.constructor._$Eh(e,n);if(void 0!==o&&!0===n.reflect){const a=(null!==(r=null===(i=n.converter)||void 0===i?void 0:i.toAttribute)&&void 0!==r?r:p.toAttribute)(t,n.type);this._$Ei=e,null==a?this.removeAttribute(o):this.setAttribute(o,a),this._$Ei=null}}_$AK(e,t){var n,i,r;const o=this.constructor,a=o._$Eu.get(e);if(void 0!==a&&this._$Ei!==a){const e=o.getPropertyOptions(a),s=e.converter,u=null!==(r=null!==(i=null===(n=s)||void 0===n?void 0:n.fromAttribute)&&void 0!==i?i:"function"==typeof s?s:null)&&void 0!==r?r:p.fromAttribute;this._$Ei=a,this[a]=u(t,e.type),this._$Ei=null}}requestUpdate(e,t,n){let i=!0;void 0!==e&&(((n=n||this.constructor.getPropertyOptions(e)).hasChanged||f)(this[e],t)?(this._$AL.has(e)||this._$AL.set(e,t),!0===n.reflect&&this._$Ei!==e&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(e,n))):i=!1),!this.isUpdatePending&&i&&(this._$Ep=this._$E_())}async _$E_(){this.isUpdatePending=!0;try{await this._$Ep}catch(e){Promise.reject(e)}const e=this.scheduleUpdate();return null!=e&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var e;if(!this.isUpdatePending)return;this.hasUpdated,this._$Et&&(this._$Et.forEach(((e,t)=>this[t]=e)),this._$Et=void 0);let t=!1;const n=this._$AL;try{t=this.shouldUpdate(n),t?(this.willUpdate(n),null===(e=this._$Eg)||void 0===e||e.forEach((e=>{var t;return null===(t=e.hostUpdate)||void 0===t?void 0:t.call(e)})),this.update(n)):this._$EU()}catch(e){throw t=!1,this._$EU(),e}t&&this._$AE(n)}willUpdate(e){}_$AE(e){var t;null===(t=this._$Eg)||void 0===t||t.forEach((e=>{var t;return null===(t=e.hostUpdated)||void 0===t?void 0:t.call(e)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Ep}shouldUpdate(e){return!0}update(e){void 0!==this._$EC&&(this._$EC.forEach(((e,t)=>this._$ES(t,this[t],e))),this._$EC=void 0),this._$EU()}updated(e){}firstUpdated(e){}}var v;m.finalized=!0,m.elementProperties=new Map,m.elementStyles=[],m.shadowRootOptions={mode:"open"},null==c||c({ReactiveElement:m}),(null!==(u=globalThis.reactiveElementVersions)&&void 0!==u?u:globalThis.reactiveElementVersions=[]).push("1.3.1");const g=globalThis.trustedTypes,y=g?g.createPolicy("lit-html",{createHTML:e=>e}):void 0,b=`lit$${(Math.random()+"").slice(9)}$`,w="?"+b,S=`<${w}>`,T=document,x=(e="")=>T.createComment(e),O=e=>null===e||"object"!=typeof e&&"function"!=typeof e,I=Array.isArray,R=e=>{var t;return I(e)||"function"==typeof(null===(t=e)||void 0===t?void 0:t[Symbol.iterator])},N=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,A=/-->/g,C=/>/g,_=/>|[ \n\r](?:([^\s"'>=/]+)([ \n\r]*=[ \n\r]*(?:[^ \n\r"'`<>=]|("|')|))|$)/g,E=/'/g,F=/"/g,M=/^(?:script|style|textarea|title)$/i,P=e=>(t,...n)=>({_$litType$:e,strings:t,values:n}),D=P(1),q=(P(2),Symbol.for("lit-noChange")),U=Symbol.for("lit-nothing"),J=new WeakMap,k=T.createTreeWalker(T,129,null,!1),L=(e,t)=>{const n=e.length-1,i=[];let r,o=2===t?"<svg>":"",a=N;for(let t=0;t<n;t++){const n=e[t];let s,u,l=-1,d=0;for(;d<n.length&&(a.lastIndex=d,u=a.exec(n),null!==u);)d=a.lastIndex,a===N?"!--"===u[1]?a=A:void 0!==u[1]?a=C:void 0!==u[2]?(M.test(u[2])&&(r=RegExp("</"+u[2],"g")),a=_):void 0!==u[3]&&(a=_):a===_?">"===u[0]?(a=null!=r?r:N,l=-1):void 0===u[1]?l=-2:(l=a.lastIndex-u[2].length,s=u[1],a=void 0===u[3]?_:'"'===u[3]?F:E):a===F||a===E?a=_:a===A||a===C?a=N:(a=_,r=void 0);const c=a===_&&e[t+1].startsWith("/>")?" ":"";o+=a===N?n+S:l>=0?(i.push(s),n.slice(0,l)+"$lit$"+n.slice(l)+b+c):n+b+(-2===l?(i.push(void 0),t):c)}const s=o+(e[n]||"<?>")+(2===t?"</svg>":"");if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==y?y.createHTML(s):s,i]};class B{constructor({strings:e,_$litType$:t},n){let i;this.parts=[];let r=0,o=0;const a=e.length-1,s=this.parts,[u,l]=L(e,t);if(this.el=B.createElement(u,n),k.currentNode=this.el.content,2===t){const e=this.el.content,t=e.firstChild;t.remove(),e.append(...t.childNodes)}for(;null!==(i=k.nextNode())&&s.length<a;){if(1===i.nodeType){if(i.hasAttributes()){const e=[];for(const t of i.getAttributeNames())if(t.endsWith("$lit$")||t.startsWith(b)){const n=l[o++];if(e.push(t),void 0!==n){const e=i.getAttribute(n.toLowerCase()+"$lit$").split(b),t=/([.?@])?(.*)/.exec(n);s.push({type:1,index:r,name:t[2],strings:e,ctor:"."===t[1]?$:"?"===t[1]?V:"@"===t[1]?X:G})}else s.push({type:6,index:r})}for(const t of e)i.removeAttribute(t)}if(M.test(i.tagName)){const e=i.textContent.split(b),t=e.length-1;if(t>0){i.textContent=g?g.emptyScript:"";for(let n=0;n<t;n++)i.append(e[n],x()),k.nextNode(),s.push({type:2,index:++r});i.append(e[t],x())}}}else if(8===i.nodeType)if(i.data===w)s.push({type:2,index:r});else{let e=-1;for(;-1!==(e=i.data.indexOf(b,e+1));)s.push({type:7,index:r}),e+=b.length-1}r++}}static createElement(e,t){const n=T.createElement("template");return n.innerHTML=e,n}}function j(e,t,n=e,i){var r,o,a,s;if(t===q)return t;let u=void 0!==i?null===(r=n._$Cl)||void 0===r?void 0:r[i]:n._$Cu;const l=O(t)?void 0:t._$litDirective$;return(null==u?void 0:u.constructor)!==l&&(null===(o=null==u?void 0:u._$AO)||void 0===o||o.call(u,!1),void 0===l?u=void 0:(u=new l(e),u._$AT(e,n,i)),void 0!==i?(null!==(a=(s=n)._$Cl)&&void 0!==a?a:s._$Cl=[])[i]=u:n._$Cu=u),void 0!==u&&(t=j(e,u._$AS(e,t.values),u,i)),t}class H{constructor(e,t){this.v=[],this._$AN=void 0,this._$AD=e,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(e){var t;const{el:{content:n},parts:i}=this._$AD,r=(null!==(t=null==e?void 0:e.creationScope)&&void 0!==t?t:T).importNode(n,!0);k.currentNode=r;let o=k.nextNode(),a=0,s=0,u=i[0];for(;void 0!==u;){if(a===u.index){let t;2===u.type?t=new W(o,o.nextSibling,this,e):1===u.type?t=new u.ctor(o,u.name,u.strings,this,e):6===u.type&&(t=new Z(o,this,e)),this.v.push(t),u=i[++s]}a!==(null==u?void 0:u.index)&&(o=k.nextNode(),a++)}return r}m(e){let t=0;for(const n of this.v)void 0!==n&&(void 0!==n.strings?(n._$AI(e,n,t),t+=n.strings.length-2):n._$AI(e[t])),t++}}class W{constructor(e,t,n,i){var r;this.type=2,this._$AH=U,this._$AN=void 0,this._$AA=e,this._$AB=t,this._$AM=n,this.options=i,this._$Cg=null===(r=null==i?void 0:i.isConnected)||void 0===r||r}get _$AU(){var e,t;return null!==(t=null===(e=this._$AM)||void 0===e?void 0:e._$AU)&&void 0!==t?t:this._$Cg}get parentNode(){let e=this._$AA.parentNode;const t=this._$AM;return void 0!==t&&11===e.nodeType&&(e=t.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,t=this){e=j(this,e,t),O(e)?e===U||null==e||""===e?(this._$AH!==U&&this._$AR(),this._$AH=U):e!==this._$AH&&e!==q&&this.$(e):void 0!==e._$litType$?this.T(e):void 0!==e.nodeType?this.k(e):R(e)?this.S(e):this.$(e)}M(e,t=this._$AB){return this._$AA.parentNode.insertBefore(e,t)}k(e){this._$AH!==e&&(this._$AR(),this._$AH=this.M(e))}$(e){this._$AH!==U&&O(this._$AH)?this._$AA.nextSibling.data=e:this.k(T.createTextNode(e)),this._$AH=e}T(e){var t;const{values:n,_$litType$:i}=e,r="number"==typeof i?this._$AC(e):(void 0===i.el&&(i.el=B.createElement(i.h,this.options)),i);if((null===(t=this._$AH)||void 0===t?void 0:t._$AD)===r)this._$AH.m(n);else{const e=new H(r,this),t=e.p(this.options);e.m(n),this.k(t),this._$AH=e}}_$AC(e){let t=J.get(e.strings);return void 0===t&&J.set(e.strings,t=new B(e)),t}S(e){I(this._$AH)||(this._$AH=[],this._$AR());const t=this._$AH;let n,i=0;for(const r of e)i===t.length?t.push(n=new W(this.M(x()),this.M(x()),this,this.options)):n=t[i],n._$AI(r),i++;i<t.length&&(this._$AR(n&&n._$AB.nextSibling,i),t.length=i)}_$AR(e=this._$AA.nextSibling,t){var n;for(null===(n=this._$AP)||void 0===n||n.call(this,!1,!0,t);e&&e!==this._$AB;){const t=e.nextSibling;e.remove(),e=t}}setConnected(e){var t;void 0===this._$AM&&(this._$Cg=e,null===(t=this._$AP)||void 0===t||t.call(this,e))}}class G{constructor(e,t,n,i,r){this.type=1,this._$AH=U,this._$AN=void 0,this.element=e,this.name=t,this._$AM=i,this.options=r,n.length>2||""!==n[0]||""!==n[1]?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=U}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(e,t=this,n,i){const r=this.strings;let o=!1;if(void 0===r)e=j(this,e,t,0),o=!O(e)||e!==this._$AH&&e!==q,o&&(this._$AH=e);else{const i=e;let a,s;for(e=r[0],a=0;a<r.length-1;a++)s=j(this,i[n+a],t,a),s===q&&(s=this._$AH[a]),o||(o=!O(s)||s!==this._$AH[a]),s===U?e=U:e!==U&&(e+=(null!=s?s:"")+r[a+1]),this._$AH[a]=s}o&&!i&&this.C(e)}C(e){e===U?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=e?e:"")}}class $ extends G{constructor(){super(...arguments),this.type=3}C(e){this.element[this.name]=e===U?void 0:e}}const z=g?g.emptyScript:"";class V extends G{constructor(){super(...arguments),this.type=4}C(e){e&&e!==U?this.element.setAttribute(this.name,z):this.element.removeAttribute(this.name)}}class X extends G{constructor(e,t,n,i,r){super(e,t,n,i,r),this.type=5}_$AI(e,t=this){var n;if((e=null!==(n=j(this,e,t,0))&&void 0!==n?n:U)===q)return;const i=this._$AH,r=e===U&&i!==U||e.capture!==i.capture||e.once!==i.once||e.passive!==i.passive,o=e!==U&&(i===U||r);r&&this.element.removeEventListener(this.name,this,i),o&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){var t,n;"function"==typeof this._$AH?this._$AH.call(null!==(n=null===(t=this.options)||void 0===t?void 0:t.host)&&void 0!==n?n:this.element,e):this._$AH.handleEvent(e)}}class Z{constructor(e,t,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=t,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){j(this,e)}}const Q={L:"$lit$",P:b,V:w,I:1,N:L,R:H,j:R,D:j,H:W,F:G,O:V,W:X,B:$,Z},K=window.litHtmlPolyfillSupport;var Y,ee;null==K||K(B,W),(null!==(v=globalThis.litHtmlVersions)&&void 0!==v?v:globalThis.litHtmlVersions=[]).push("2.2.2");class te extends m{constructor(){super(...arguments),this.renderOptions={host:this},this._$Dt=void 0}createRenderRoot(){var e,t;const n=super.createRenderRoot();return null!==(e=(t=this.renderOptions).renderBefore)&&void 0!==e||(t.renderBefore=n.firstChild),n}update(e){const t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Dt=((e,t,n)=>{var i,r;const o=null!==(i=null==n?void 0:n.renderBefore)&&void 0!==i?i:t;let a=o._$litPart$;if(void 0===a){const e=null!==(r=null==n?void 0:n.renderBefore)&&void 0!==r?r:null;o._$litPart$=a=new W(t.insertBefore(x(),e),e,void 0,null!=n?n:{})}return a._$AI(e),a})(t,this.renderRoot,this.renderOptions)}connectedCallback(){var e;super.connectedCallback(),null===(e=this._$Dt)||void 0===e||e.setConnected(!0)}disconnectedCallback(){var e;super.disconnectedCallback(),null===(e=this._$Dt)||void 0===e||e.setConnected(!1)}render(){return q}}te.finalized=!0,te._$litElement$=!0,null===(Y=globalThis.litElementHydrateSupport)||void 0===Y||Y.call(globalThis,{LitElement:te});const ne=globalThis.litElementPolyfillSupport;null==ne||ne({LitElement:te}),(null!==(ee=globalThis.litElementVersions)&&void 0!==ee?ee:globalThis.litElementVersions=[]).push("3.2.0");const ie=e=>t=>"function"==typeof t?((e,t)=>(window.customElements.define(e,t),t))(e,t):((e,t)=>{const{kind:n,elements:i}=t;return{kind:n,elements:i,finisher(t){window.customElements.define(e,t)}}})(e,t),re=(e,t)=>"method"===t.kind&&t.descriptor&&!("value"in t.descriptor)?{...t,finisher(n){n.createProperty(t.key,e)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:t.key,initializer(){"function"==typeof t.initializer&&(this[t.key]=t.initializer.call(this))},finisher(n){n.createProperty(t.key,e)}};function oe(e){return(t,n)=>void 0!==n?((e,t,n)=>{t.constructor.createProperty(n,e)})(e,t,n):re(e,t)}function ae(e){return oe({...e,state:!0})}function se(e,t){return(({finisher:e,descriptor:t})=>(n,i)=>{var r;if(void 0===i){const i=null!==(r=n.originalKey)&&void 0!==r?r:n.key,o=null!=t?{kind:"method",placement:"prototype",key:i,descriptor:t(n.key)}:{...n,key:i};return null!=e&&(o.finisher=function(t){e(t,i)}),o}{const r=n.constructor;void 0!==t&&Object.defineProperty(n,i,t(i)),null==e||e(r,i)}})({descriptor:n=>{const i={get(){var t,n;return null!==(n=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(e))&&void 0!==n?n:null},enumerable:!0,configurable:!0};if(t){const t="symbol"==typeof n?Symbol():"__"+n;i.get=function(){var n,i;return void 0===this[t]&&(this[t]=null!==(i=null===(n=this.renderRoot)||void 0===n?void 0:n.querySelector(e))&&void 0!==i?i:null),this[t]}}return i}})}var ue;null===(ue=window.HTMLSlotElement)||void 0===ue||ue.prototype.assignedElements;const le=e=>(...t)=>({_$litDirective$:e,values:t});class de{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,t,n){this._$Ct=e,this._$AM=t,this._$Ci=n}_$AS(e,t){return this.update(e,t)}update(e,t){return this.render(...t)}}const ce=le(class extends de{constructor(e){var t;if(super(e),1!==e.type||"class"!==e.name||(null===(t=e.strings)||void 0===t?void 0:t.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(e){return" "+Object.keys(e).filter((t=>e[t])).join(" ")+" "}update(e,[t]){var n,i;if(void 0===this.et){this.et=new Set,void 0!==e.strings&&(this.st=new Set(e.strings.join(" ").split(/\s/).filter((e=>""!==e))));for(const e in t)t[e]&&!(null===(n=this.st)||void 0===n?void 0:n.has(e))&&this.et.add(e);return this.render(t)}const r=e.element.classList;this.et.forEach((e=>{e in t||(r.remove(e),this.et.delete(e))}));for(const e in t){const n=!!t[e];n===this.et.has(e)||(null===(i=this.st)||void 0===i?void 0:i.has(e))||(n?(r.add(e),this.et.add(e)):(r.remove(e),this.et.delete(e)))}return q}}),{H:pe}=Q,fe=(e,t)=>{var n,i;const r=e._$AN;if(void 0===r)return!1;for(const e of r)null===(i=(n=e)._$AO)||void 0===i||i.call(n,t,!1),fe(e,t);return!0},he=e=>{let t,n;do{if(void 0===(t=e._$AM))break;n=t._$AN,n.delete(e),e=t}while(0===(null==n?void 0:n.size))},me=e=>{for(let t;t=e._$AM;e=t){let n=t._$AN;if(void 0===n)t._$AN=n=new Set;else if(n.has(e))break;n.add(e),ye(t)}};function ve(e){void 0!==this._$AN?(he(this),this._$AM=e,me(this)):this._$AM=e}function ge(e,t=!1,n=0){const i=this._$AH,r=this._$AN;if(void 0!==r&&0!==r.size)if(t)if(Array.isArray(i))for(let e=n;e<i.length;e++)fe(i[e],!1),he(i[e]);else null!=i&&(fe(i,!1),he(i));else fe(this,e)}const ye=e=>{var t,n,i,r;2==e.type&&(null!==(t=(i=e)._$AP)&&void 0!==t||(i._$AP=ge),null!==(n=(r=e)._$AQ)&&void 0!==n||(r._$AQ=ve))};class be extends de{constructor(){super(...arguments),this._$AN=void 0}_$AT(e,t,n){super._$AT(e,t,n),me(this),this.isConnected=e._$AU}_$AO(e,t=!0){var n,i;e!==this.isConnected&&(this.isConnected=e,e?null===(n=this.reconnected)||void 0===n||n.call(this):null===(i=this.disconnected)||void 0===i||i.call(this)),t&&(fe(this,e),he(this))}setValue(e){if((e=>void 0===this._$Ct.strings)())this._$Ct._$AI(e,this);else{const t=[...this._$Ct._$AH];t[this._$Ci]=e,this._$Ct._$AI(t,this,0)}}disconnected(){}reconnected(){}}const we=()=>new Se;class Se{}const Te=new WeakMap,xe=le(class extends be{render(e){return U}update(e,[t]){var n;const i=t!==this.U;return i&&void 0!==this.U&&this.ot(void 0),(i||this.rt!==this.lt)&&(this.U=t,this.ht=null===(n=e.options)||void 0===n?void 0:n.host,this.ot(this.lt=e.element)),U}ot(e){var t;if("function"==typeof this.U){const n=null!==(t=this.ht)&&void 0!==t?t:globalThis;let i=Te.get(n);void 0===i&&(i=new WeakMap,Te.set(n,i)),void 0!==i.get(this.U)&&this.U.call(this.ht,void 0),i.set(this.U,e),void 0!==e&&this.U.call(this.ht,e)}else this.U.value=e}get rt(){var e,t,n;return"function"==typeof this.U?null===(t=Te.get(null!==(e=this.ht)&&void 0!==e?e:globalThis))||void 0===t?void 0:t.get(this.U):null===(n=this.U)||void 0===n?void 0:n.value}disconnected(){this.rt===this.lt&&this.ot(void 0)}reconnected(){this.ot(this.lt)}});if("undefined"==typeof window)throw new Error("[TalkJS] The TalkJS JavaScript SDK only works in browsers (and not, for example, in Node.js)");!function(e,t,n,i,r,o){(o=t.createElement("script")).async=1,o.src="https://cdn.talkjs.com/talk.js",t.head.appendChild(o),i=e.Promise,e.Talk={v:3,ready:{then:function(e){if(i)return new i((function(t,i){n.push([e,t,i])}));n.push([e])},catch:function(){return i&&new i},c:n}}}(window,document,[]);const Oe=window.Talk,Ie=e=>{const t=e.replace(/\D/g,"").substring(0,10),n=t.substring(0,3),i=t.substring(3,6),r=t.substring(6,10);return t.length>5?`(${n}) ${i}-${r}`:t.length>2?`(${n}) ${i}`:t.length>0?`(${n}`:""},Re=e=>{const t=e.keyCode;return t>=48&&t<=57||t>=96&&t<=105},Ne=e=>e.altKey||e.ctrlKey||e.metaKey,Ae=e=>{const t=e.keyCode;return e.shiftKey||35===t||36===t||8===t||9===t||13===t||46===t||t>36&&t<41||(e.ctrlKey||e.metaKey)&&(65===t||67===t||76===t||86===t||88===t||90===t)};var Ce=function(e,t,n,i){var r,o=arguments.length,a=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(a=(o<3?r(a):o>3?r(t,n,a):r(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a};let _e=class extends te{constructor(){super(...arguments),this.heading="",this.subtitle="",this.selected=!1}render(){return D`
|
|
3
3
|
<div class="tour-type-option" tabindex="0">
|
|
4
4
|
<div class="content">
|
|
5
5
|
<slot name="icon"></slot>
|
|
@@ -443,7 +443,7 @@ var e={8005:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){retur
|
|
|
443
443
|
.option.active {
|
|
444
444
|
background-color: var(--active-option-color);
|
|
445
445
|
}
|
|
446
|
-
`,$t([oe({attribute:!1})],zt.prototype,"options",void 0),$t([oe({type:String})],zt.prototype,"placeholder",void 0),$t([oe({type:String})],zt.prototype,"value",void 0),$t([ae()],zt.prototype,"activeOption",void 0),$t([ae()],zt.prototype,"isOpen",void 0),$t([se("#select",!0)],zt.prototype,"meSelect",void 0),zt=$t([ie("me-select")],zt);var Xt=n(9669),Zt=n.n(Xt),Qt=n(9991),Kt=n(7739),Yt=n.n(Kt);Math.pow(10,8);var en=36e5;function tn(e,t){Ee(1,arguments);var n=t||{},i=null==n.additionalDigits?2:Ve(n.additionalDigits);if(2!==i&&1!==i&&0!==i)throw new RangeError("additionalDigits must be 0, 1 or 2");if("string"!=typeof e&&"[object String]"!==Object.prototype.toString.call(e))return new Date(NaN);var r,o=sn(e);if(o.date){var a=un(o.date,i);r=ln(a.restDateString,a.year)}if(!r||isNaN(r.getTime()))return new Date(NaN);var s,u=r.getTime(),l=0;if(o.time&&(l=cn(o.time),isNaN(l)))return new Date(NaN);if(!o.timezone){var d=new Date(u+l),c=new Date(0);return c.setFullYear(d.getUTCFullYear(),d.getUTCMonth(),d.getUTCDate()),c.setHours(d.getUTCHours(),d.getUTCMinutes(),d.getUTCSeconds(),d.getUTCMilliseconds()),c}return s=fn(o.timezone),isNaN(s)?new Date(NaN):new Date(u+l+s)}var nn={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},rn=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,on=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,an=/^([+-])(\d{2})(?::?(\d{2}))?$/;function sn(e){var t,n={},i=e.split(nn.dateTimeDelimiter);if(i.length>2)return n;if(/:/.test(i[0])?t=i[0]:(n.date=i[0],t=i[1],nn.timeZoneDelimiter.test(n.date)&&(n.date=e.split(nn.timeZoneDelimiter)[0],t=e.substr(n.date.length,e.length))),t){var r=nn.timezone.exec(t);r?(n.time=t.replace(r[1],""),n.timezone=r[1]):n.time=t}return n}function un(e,t){var n=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),i=e.match(n);if(!i)return{year:NaN,restDateString:""};var r=i[1]?parseInt(i[1]):null,o=i[2]?parseInt(i[2]):null;return{year:null===o?r:100*o,restDateString:e.slice((i[1]||i[2]).length)}}function ln(e,t){if(null===t)return new Date(NaN);var n=e.match(rn);if(!n)return new Date(NaN);var i=!!n[4],r=dn(n[1]),o=dn(n[2])-1,a=dn(n[3]),s=dn(n[4]),u=dn(n[5])-1;if(i)return function(e,t,n){return t>=1&&t<=53&&n>=0&&n<=6}(0,s,u)?function(e,t,n){var i=new Date(0);i.setUTCFullYear(e,0,4);var r=7*(t-1)+n+1-(i.getUTCDay()||7);return i.setUTCDate(i.getUTCDate()+r),i}(t,s,u):new Date(NaN);var l=new Date(0);return function(e,t,n){return t>=0&&t<=11&&n>=1&&n<=(hn[t]||(mn(e)?29:28))}(t,o,a)&&function(e,t){return t>=1&&t<=(mn(e)?366:365)}(t,r)?(l.setUTCFullYear(t,o,Math.max(r,a)),l):new Date(NaN)}function dn(e){return e?parseInt(e):1}function cn(e){var t=e.match(on);if(!t)return NaN;var n=pn(t[1]),i=pn(t[2]),r=pn(t[3]);return function(e,t,n){return 24===e?0===t&&0===n:n>=0&&n<60&&t>=0&&t<60&&e>=0&&e<25}(n,i,r)?n*en+6e4*i+1e3*r:NaN}function pn(e){return e&&parseFloat(e.replace(",","."))||0}function fn(e){if("Z"===e)return 0;var t=e.match(an);if(!t)return 0;var n="+"===t[1]?-1:1,i=parseInt(t[2]),r=t[3]&&parseInt(t[3])||0;return function(e,t){return t>=0&&t<=59}(0,r)?n*(i*en+6e4*r):NaN}var hn=[31,null,31,30,31,30,31,31,30,31,30,31];function mn(e){return e%400==0||e%4==0&&e%100!=0}const vn={buildingId:null,availabilities:{}},gn=async e=>{e&&(vn.buildingId=e);const t=vn.buildingId;if(!t)throw new Error("No buildingId was provided to getRawAvailabilities and there is no buildingId cached.");const n=vn.availabilities;if(n[t])return n[t];const i=function(e){Ee(1,arguments);var t=Fe(e);return t.setHours(0,0,0,0),t}(Date.now()),r=Vt(function(e){Ee(1,arguments);var t=Fe(e);return t.setHours(23,59,59,999),t}(function(e,t){Ee(2,arguments);var n=Fe(e),i=Ve(t);return isNaN(i)?new Date(NaN):i?(n.setDate(n.getDate()+i),n):n}(i,30))),o=`https://app.meetelise.com/api/pub/v1/buildings/${t}/tour/availabilities?startTime=${Vt(i)}&endTime=${r}`,a=await Zt().get(o);return vn.availabilities[t]=a.data,a.data},yn=async(e,t)=>{var n,i;const r=await gn(t),o=(null===(n=r.availability)||void 0===n?void 0:n[e])?null===(i=r.availability)||void 0===i?void 0:i[e].availableTourStartTimes:[];return r.availability?{...r.availability[e],availableTourStartTimes:o}:null},bn=async(e,t)=>{var n,i;const r=await yn(e,t);if(!r)return{};const o={availableTourStartTimes:null===(n=r.availableTourStartTimes?r.availableTourStartTimes.filter((e=>De(tn(e))&&!function(e){return Ee(1,arguments),Fe(e).getTime()<Date.now()}(tn(e)))):[])||void 0===n?void 0:n.map((e=>wn(e)))};return Yt()(null!==(i=o.availableTourStartTimes)&&void 0!==i?i:[],(e=>Pt(new Date(e.datetime),"yyyy-MM-dd")))},wn=e=>({datetime:e.slice(0,19),offset:e.slice(19)});n(7294);const Sn=()=>window.matchMedia("(max-width: 767px)").matches;var Tn=n(6486),xn=n(4184),On=n.n(xn),In=function(e,t,n,i){var r,o=arguments.length,a=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(a=(o<3?r(a):o>3?r(t,n,a):r(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a};let Rn=class extends te{constructor(){super(...arguments),this.layoutOptions=[],this.unitOptions=[],this.tourTypeOptions=[],this.buildingId=0,this.buildingSlug="",this.orgSlug="",this.tourType=Nn.Guided,this.shouldShowTourType={[Nn.Guided]:!0,[Nn.Self]:!0,[Nn.Virtual]:!0},this.email="",this.phoneNumber="",this.availabilitiesGroupedByDay={},this.waitingForAvailabilities=!0,this.mobilePageIndex=0,this.isSubmitting=!1,this.tourIsBooked=!1,this.firstUpdated=async()=>{this.availabilitiesGroupedByDay=await bn(An[this.tourType]),this.waitingForAvailabilities=!1;const e=await(async()=>{var e,t,n,i,r,o;return{[Nn.Guided]:!!(null===(t=null===(e=await yn(Qt.TourAvailabilityResponseRankOrderedSupportedTourTypesEnum.WithAgent))||void 0===e?void 0:e.availableTourStartTimes)||void 0===t?void 0:t.length),[Nn.Self]:!!(null===(i=null===(n=await yn(Qt.TourAvailabilityResponseRankOrderedSupportedTourTypesEnum.SelfGuided))||void 0===n?void 0:n.availableTourStartTimes)||void 0===i?void 0:i.length),[Nn.Virtual]:!!(null===(o=null===(r=await yn(Qt.TourAvailabilityResponseRankOrderedSupportedTourTypesEnum.VirtualShowing))||void 0===r?void 0:r.availableTourStartTimes)||void 0===o?void 0:o.length)}})();this.shouldShowTourType={[Nn.Guided]:this.tourTypeOptions.map((e=>e.value)).includes("WITH_AGENT")&&e[Nn.Guided],[Nn.Self]:this.tourTypeOptions.map((e=>e.value)).includes("SELF_GUIDED")&&e[Nn.Self],[Nn.Virtual]:this.tourTypeOptions.map((e=>e.value)).includes("VIRTUAL_SHOWING")&&e[Nn.Virtual]}},this.willUpdate=async e=>{e.has("tourType")&&(this.availabilitiesGroupedByDay=await bn(An[this.tourType]))},this.handlePhoneKeydown=e=>{var t;if(!(e instanceof KeyboardEvent&&e.target instanceof HTMLInputElement&&null!==e.target.selectionStart))return;const n=e.target.selectionStart;if(1!==e.key.length||Ne(e)){if("Backspace"===e.key){if(Ne(e))return;if(this.phoneInput.selectionEnd&&this.phoneInput.selectionStart&&this.phoneInput.selectionEnd-this.phoneInput.selectionStart>0)return;const t=this.phoneNumber.length,i=this.phoneNumber.slice(0,n).replace(/\D/g,""),r=this.phoneNumber.slice(n).replace(/\D/g,""),o=`${i.slice(0,-1)}${r}`;this.phoneNumber=Ie(o),this.phoneInput.value=this.phoneNumber;const a=n-(t-this.phoneNumber.length);return this.phoneInput.setSelectionRange(a,a),e.preventDefault(),void e.stopPropagation()}if(!["ArrowLeft","ArrowRight"].includes(e.key)||Ne(e)||e.shiftKey)return;if("ArrowLeft"===e.key){const e=((null===(t=this.phoneNumber.slice(0,n).split(/\d+/).at(-1))||void 0===t?void 0:t.length)||0)+1,i=n-e>-1?n-e:0;this.phoneInput.setSelectionRange(i,i)}if("ArrowRight"===e.key){const e=(this.phoneNumber.slice(n).split(/\d+/)[0].length||0)+1,t=n+e<this.phoneNumber.length?n+e:this.phoneNumber.length;this.phoneInput.setSelectionRange(t,t)}e.preventDefault(),e.stopPropagation()}else{e.preventDefault(),e.stopPropagation();const t=this.phoneNumber.slice(0,n)+e.key+this.phoneNumber.slice(n);this.phoneNumber=Ie(t.replace(/\D/g,"")),this.phoneInput.value=this.phoneNumber}},this.handlePhoneKeyup=e=>{var t;if(!e.key)return;if(e.key.includes("Arrow")||["Meta","Shift","Control","Alt"].includes(e.key))return;const n=this.phoneInput.selectionStart,i=n?this.phoneInput.value.slice(n).replace(/\D/g,""):"";this.phoneNumber=Ie(this.phoneInput.value);let r=0,o=i.length;for(;o;)(null===(t=this.phoneNumber.at(r))||void 0===t?void 0:t.match(/\d/))&&o--,r++;const a=this.phoneInput.value.length-r+1;this.phoneInput.setSelectionRange(a,a)},this.onChangeEmail=e=>{e.target&&(this.email=e.target.value)},this.validators={tourType:()=>!isNaN(this.tourType),dateAndTime:()=>!!this.selectedDate&&!!this.selectedTime,leadInfo:()=>{var e,t,n;return(!!(null===(e=this.firstNameInput)||void 0===e?void 0:e.value)||!!(null===(t=this.lastNameInput)||void 0===t?void 0:t.value))&&(null===(n=this.emailInput)||void 0===n?void 0:n.value.includes("@"))&&!!this.phoneNumber&&14===this.phoneNumber.length}},this.formIsValidForSubmission=()=>this.validators.tourType()&&this.validators.dateAndTime()&&this.validators.leadInfo(),this.timeStringToHoursAndMinutes=e=>{const[t,n]=e.split(/\D/g);return[parseInt(t)+(e.toLowerCase().includes("pm")?12:0),parseInt(n)]},this.submit=async()=>{var e;if(!this.selectedDate||!this.selectedTime)return;const t={email_address:this.email,phone_number:`+1${null===(e=this.phoneNumber.match(/\d/g))||void 0===e?void 0:e.join("")}`,building_id:this.buildingId,first_name:this.firstNameInput.value,last_name:this.lastNameInput.value,tour_type:Cn[this.tourType],tour_time:`${this.selectedTime.datetime}${this.selectedTime.offset}`,layouts:this.layoutTypeSelect.value?[this.layoutTypeSelect.value]:null,unit_numbers:this.unitTypeSelect.value?[this.unitTypeSelect.value]:null};this.isSubmitting=!0;try{await Zt().post("https://app.meetelise.com/platformApi/state/create/scheduleMe",t,{headers:{"building-slug":this.buildingSlug,"X-SecurityKey":"JRL8jV4VcSCwOSir5gWkpgNLfKghmhBG","org-slug":this.orgSlug}}),this.isSubmitting=!1,this.tourIsBooked=!0}catch(e){const t=e.response.data.detail||"Failed to book tour";alert(t),this.isSubmitting=!1,this.tourIsBooked=!1}},this.mobilePages=[{validate:this.validators.tourType,nextButtonText:"Next",nextButtonAction:()=>{this.mobilePageIndex++},render:()=>D`${this.tourTypeMenu()}`},{validate:this.validators.dateAndTime,nextButtonText:"Next",nextButtonAction:()=>{this.mobilePageIndex++},render:()=>D`${this.dateAndTimeMenu(!0)}`},{validate:()=>this.validators.leadInfo(),nextButtonText:null,renderNextButton:()=>D`<action-confirm-button
|
|
446
|
+
`,$t([oe({attribute:!1})],zt.prototype,"options",void 0),$t([oe({type:String})],zt.prototype,"placeholder",void 0),$t([oe({type:String})],zt.prototype,"value",void 0),$t([ae()],zt.prototype,"activeOption",void 0),$t([ae()],zt.prototype,"isOpen",void 0),$t([se("#select",!0)],zt.prototype,"meSelect",void 0),zt=$t([ie("me-select")],zt);var Xt=n(9669),Zt=n.n(Xt),Qt=n(9991),Kt=n(7739),Yt=n.n(Kt);function en(e){return Ee(1,arguments),Fe(e).getTime()<Date.now()}Math.pow(10,8);var tn=36e5;function nn(e,t){Ee(1,arguments);var n=t||{},i=null==n.additionalDigits?2:Ve(n.additionalDigits);if(2!==i&&1!==i&&0!==i)throw new RangeError("additionalDigits must be 0, 1 or 2");if("string"!=typeof e&&"[object String]"!==Object.prototype.toString.call(e))return new Date(NaN);var r,o=un(e);if(o.date){var a=ln(o.date,i);r=dn(a.restDateString,a.year)}if(!r||isNaN(r.getTime()))return new Date(NaN);var s,u=r.getTime(),l=0;if(o.time&&(l=pn(o.time),isNaN(l)))return new Date(NaN);if(!o.timezone){var d=new Date(u+l),c=new Date(0);return c.setFullYear(d.getUTCFullYear(),d.getUTCMonth(),d.getUTCDate()),c.setHours(d.getUTCHours(),d.getUTCMinutes(),d.getUTCSeconds(),d.getUTCMilliseconds()),c}return s=hn(o.timezone),isNaN(s)?new Date(NaN):new Date(u+l+s)}var rn={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},on=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,an=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,sn=/^([+-])(\d{2})(?::?(\d{2}))?$/;function un(e){var t,n={},i=e.split(rn.dateTimeDelimiter);if(i.length>2)return n;if(/:/.test(i[0])?t=i[0]:(n.date=i[0],t=i[1],rn.timeZoneDelimiter.test(n.date)&&(n.date=e.split(rn.timeZoneDelimiter)[0],t=e.substr(n.date.length,e.length))),t){var r=rn.timezone.exec(t);r?(n.time=t.replace(r[1],""),n.timezone=r[1]):n.time=t}return n}function ln(e,t){var n=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),i=e.match(n);if(!i)return{year:NaN,restDateString:""};var r=i[1]?parseInt(i[1]):null,o=i[2]?parseInt(i[2]):null;return{year:null===o?r:100*o,restDateString:e.slice((i[1]||i[2]).length)}}function dn(e,t){if(null===t)return new Date(NaN);var n=e.match(on);if(!n)return new Date(NaN);var i=!!n[4],r=cn(n[1]),o=cn(n[2])-1,a=cn(n[3]),s=cn(n[4]),u=cn(n[5])-1;if(i)return function(e,t,n){return t>=1&&t<=53&&n>=0&&n<=6}(0,s,u)?function(e,t,n){var i=new Date(0);i.setUTCFullYear(e,0,4);var r=7*(t-1)+n+1-(i.getUTCDay()||7);return i.setUTCDate(i.getUTCDate()+r),i}(t,s,u):new Date(NaN);var l=new Date(0);return function(e,t,n){return t>=0&&t<=11&&n>=1&&n<=(mn[t]||(vn(e)?29:28))}(t,o,a)&&function(e,t){return t>=1&&t<=(vn(e)?366:365)}(t,r)?(l.setUTCFullYear(t,o,Math.max(r,a)),l):new Date(NaN)}function cn(e){return e?parseInt(e):1}function pn(e){var t=e.match(an);if(!t)return NaN;var n=fn(t[1]),i=fn(t[2]),r=fn(t[3]);return function(e,t,n){return 24===e?0===t&&0===n:n>=0&&n<60&&t>=0&&t<60&&e>=0&&e<25}(n,i,r)?n*tn+6e4*i+1e3*r:NaN}function fn(e){return e&&parseFloat(e.replace(",","."))||0}function hn(e){if("Z"===e)return 0;var t=e.match(sn);if(!t)return 0;var n="+"===t[1]?-1:1,i=parseInt(t[2]),r=t[3]&&parseInt(t[3])||0;return function(e,t){return t>=0&&t<=59}(0,r)?n*(i*tn+6e4*r):NaN}var mn=[31,null,31,30,31,30,31,31,30,31,30,31];function vn(e){return e%400==0||e%4==0&&e%100!=0}const gn={buildingId:null,availabilities:{}},yn=async e=>{e&&(gn.buildingId=e);const t=gn.buildingId;if(!t)throw new Error("No buildingId was provided to getRawAvailabilities and there is no buildingId cached.");const n=gn.availabilities;if(n[t])return n[t];const i=function(e){Ee(1,arguments);var t=Fe(e);return t.setHours(0,0,0,0),t}(Date.now()),r=Vt(function(e){Ee(1,arguments);var t=Fe(e);return t.setHours(23,59,59,999),t}(function(e,t){Ee(2,arguments);var n=Fe(e),i=Ve(t);return isNaN(i)?new Date(NaN):i?(n.setDate(n.getDate()+i),n):n}(i,30))),o=`https://app.meetelise.com/api/pub/v1/buildings/${t}/tour/availabilities?startTime=${Vt(i)}&endTime=${r}`,a=await Zt().get(o);return gn.availabilities[t]=a.data,a.data},bn=async(e,t)=>{var n,i;const r=await yn(t),o=(null===(n=r.availability)||void 0===n?void 0:n[e])?null===(i=r.availability)||void 0===i?void 0:i[e].availableTourStartTimes:[];return r.availability?{...r.availability[e],availableTourStartTimes:o}:null},wn=async(e,t)=>{var n,i;const r=await bn(e,t);if(!r)return{};const o={availableTourStartTimes:null===(n=r.availableTourStartTimes?r.availableTourStartTimes.filter((e=>De(nn(e))&&!en(nn(e)))):[])||void 0===n?void 0:n.map((e=>Sn(e)))};return Yt()(null!==(i=o.availableTourStartTimes)&&void 0!==i?i:[],(e=>Pt(new Date(e.datetime),"yyyy-MM-dd")))},Sn=e=>({datetime:e.slice(0,19),offset:e.slice(19)});n(7294);const Tn=()=>window.matchMedia("(max-width: 767px)").matches;var xn=n(6486),On=n(4184),In=n.n(On),Rn=function(e,t,n,i){var r,o=arguments.length,a=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(a=(o<3?r(a):o>3?r(t,n,a):r(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a};let Nn=class extends te{constructor(){super(...arguments),this.layoutOptions=[],this.unitOptions=[],this.tourTypeOptions=[],this.buildingId=0,this.buildingSlug="",this.orgSlug="",this.tourType=An.Guided,this.shouldShowTourType={[An.Guided]:!0,[An.Self]:!0,[An.Virtual]:!0},this.email="",this.phoneNumber="",this.availabilitiesGroupedByDay={},this.waitingForAvailabilities=!0,this.mobilePageIndex=0,this.isSubmitting=!1,this.tourIsBooked=!1,this.firstUpdated=async()=>{this.availabilitiesGroupedByDay=await wn(Cn[this.tourType]),this.waitingForAvailabilities=!1;const e=await(async()=>{var e,t,n,i,r,o;return{[An.Guided]:!!(null===(t=null===(e=await bn(Qt.TourAvailabilityResponseRankOrderedSupportedTourTypesEnum.WithAgent))||void 0===e?void 0:e.availableTourStartTimes)||void 0===t?void 0:t.length),[An.Self]:!!(null===(i=null===(n=await bn(Qt.TourAvailabilityResponseRankOrderedSupportedTourTypesEnum.SelfGuided))||void 0===n?void 0:n.availableTourStartTimes)||void 0===i?void 0:i.length),[An.Virtual]:!!(null===(o=null===(r=await bn(Qt.TourAvailabilityResponseRankOrderedSupportedTourTypesEnum.VirtualShowing))||void 0===r?void 0:r.availableTourStartTimes)||void 0===o?void 0:o.length)}})();this.shouldShowTourType={[An.Guided]:this.tourTypeOptions.map((e=>e.value)).includes("WITH_AGENT")&&e[An.Guided],[An.Self]:this.tourTypeOptions.map((e=>e.value)).includes("SELF_GUIDED")&&e[An.Self],[An.Virtual]:this.tourTypeOptions.map((e=>e.value)).includes("VIRTUAL_SHOWING")&&e[An.Virtual]}},this.willUpdate=async e=>{e.has("tourType")&&(this.availabilitiesGroupedByDay=await wn(Cn[this.tourType]))},this.handlePhoneKeydown=e=>{var t;if(!(e instanceof KeyboardEvent&&e.target instanceof HTMLInputElement&&null!==e.target.selectionStart))return;const n=e.target.selectionStart;if(1!==e.key.length||Ne(e)){if("Backspace"===e.key){if(Ne(e))return;if(this.phoneInput.selectionEnd&&this.phoneInput.selectionStart&&this.phoneInput.selectionEnd-this.phoneInput.selectionStart>0)return;const t=this.phoneNumber.length,i=this.phoneNumber.slice(0,n).replace(/\D/g,""),r=this.phoneNumber.slice(n).replace(/\D/g,""),o=`${i.slice(0,-1)}${r}`;this.phoneNumber=Ie(o),this.phoneInput.value=this.phoneNumber;const a=n-(t-this.phoneNumber.length);return this.phoneInput.setSelectionRange(a,a),e.preventDefault(),void e.stopPropagation()}if(!["ArrowLeft","ArrowRight"].includes(e.key)||Ne(e)||e.shiftKey)return;if("ArrowLeft"===e.key){const e=((null===(t=this.phoneNumber.slice(0,n).split(/\d+/).at(-1))||void 0===t?void 0:t.length)||0)+1,i=n-e>-1?n-e:0;this.phoneInput.setSelectionRange(i,i)}if("ArrowRight"===e.key){const e=(this.phoneNumber.slice(n).split(/\d+/)[0].length||0)+1,t=n+e<this.phoneNumber.length?n+e:this.phoneNumber.length;this.phoneInput.setSelectionRange(t,t)}e.preventDefault(),e.stopPropagation()}else{e.preventDefault(),e.stopPropagation();const t=this.phoneNumber.slice(0,n)+e.key+this.phoneNumber.slice(n);this.phoneNumber=Ie(t.replace(/\D/g,"")),this.phoneInput.value=this.phoneNumber}},this.handlePhoneKeyup=e=>{var t;if(!e.key)return;if(e.key.includes("Arrow")||["Meta","Shift","Control","Alt"].includes(e.key))return;const n=this.phoneInput.selectionStart,i=n?this.phoneInput.value.slice(n).replace(/\D/g,""):"";this.phoneNumber=Ie(this.phoneInput.value);let r=0,o=i.length;for(;o;)(null===(t=this.phoneNumber.at(r))||void 0===t?void 0:t.match(/\d/))&&o--,r++;const a=this.phoneInput.value.length-r+1;this.phoneInput.setSelectionRange(a,a)},this.onChangeEmail=e=>{e.target&&(this.email=e.target.value)},this.validators={tourType:()=>!isNaN(this.tourType),dateAndTime:()=>!!this.selectedDate&&!!this.selectedTime,leadInfo:()=>{var e,t,n;return(!!(null===(e=this.firstNameInput)||void 0===e?void 0:e.value)||!!(null===(t=this.lastNameInput)||void 0===t?void 0:t.value))&&(null===(n=this.emailInput)||void 0===n?void 0:n.value.includes("@"))&&!!this.phoneNumber&&14===this.phoneNumber.length}},this.formIsValidForSubmission=()=>this.validators.tourType()&&this.validators.dateAndTime()&&this.validators.leadInfo(),this.timeStringToHoursAndMinutes=e=>{const[t,n]=e.split(/\D/g);return[parseInt(t)+(e.toLowerCase().includes("pm")?12:0),parseInt(n)]},this.submit=async()=>{var e;if(!this.selectedDate||!this.selectedTime)return;const t={email_address:this.email,phone_number:`+1${null===(e=this.phoneNumber.match(/\d/g))||void 0===e?void 0:e.join("")}`,building_id:this.buildingId,first_name:this.firstNameInput.value,last_name:this.lastNameInput.value,tour_type:_n[this.tourType],tour_time:`${this.selectedTime.datetime}${this.selectedTime.offset}`,layouts:this.layoutTypeSelect.value?[this.layoutTypeSelect.value]:null,unit_numbers:this.unitTypeSelect.value?[this.unitTypeSelect.value]:null};this.isSubmitting=!0;try{await Zt().post("https://app.meetelise.com/platformApi/state/create/scheduleMe",t,{headers:{"building-slug":this.buildingSlug,"X-SecurityKey":"JRL8jV4VcSCwOSir5gWkpgNLfKghmhBG","org-slug":this.orgSlug}}),this.isSubmitting=!1,this.tourIsBooked=!0}catch(e){const t=e.response.data.detail||"Failed to book tour";alert(t),this.isSubmitting=!1,this.tourIsBooked=!1}},this.mobilePages=[{validate:this.validators.tourType,nextButtonText:"Next",nextButtonAction:()=>{this.mobilePageIndex++},render:()=>D`${this.tourTypeMenu()}`},{validate:this.validators.dateAndTime,nextButtonText:"Next",nextButtonAction:()=>{this.mobilePageIndex++},render:()=>D`${this.dateAndTimeMenu(!0)}`},{validate:()=>this.validators.leadInfo(),nextButtonText:null,renderNextButton:()=>D`<action-confirm-button
|
|
447
447
|
id="schedule"
|
|
448
448
|
.onClick=${this.submit}
|
|
449
449
|
.isLoading=${this.isSubmitting}
|
|
@@ -453,12 +453,12 @@ var e={8005:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){retur
|
|
|
453
453
|
?disabled=${!this.formIsValidForSubmission()}
|
|
454
454
|
></action-confirm-button>`,nextButtonAction:null,render:()=>D`${this.userInfoAndLayoutMenu()}`}]}tourTypeMenu(){return D`<h2 id="tourType">Tour Type</h2>
|
|
455
455
|
<div id="tourTypeMenu">
|
|
456
|
-
${this.shouldShowTourType[
|
|
456
|
+
${this.shouldShowTourType[An.Guided]?D` <tour-type-option
|
|
457
457
|
heading="Guided tour"
|
|
458
458
|
subtitle="with an agent"
|
|
459
|
-
@click="${()=>{this.tourType=
|
|
460
|
-
@keydown="${e=>{[" ","Enter"].includes(e.key)&&(e.preventDefault(),this.tourType=
|
|
461
|
-
?selected="${this.tourType===
|
|
459
|
+
@click="${()=>{this.tourType=An.Guided}}"
|
|
460
|
+
@keydown="${e=>{[" ","Enter"].includes(e.key)&&(e.preventDefault(),this.tourType=An.Guided)}}"
|
|
461
|
+
?selected="${this.tourType===An.Guided}"
|
|
462
462
|
>
|
|
463
463
|
<svg
|
|
464
464
|
slot="icon"
|
|
@@ -470,16 +470,16 @@ var e={8005:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){retur
|
|
|
470
470
|
>
|
|
471
471
|
<path
|
|
472
472
|
d="M0.833252 30.1666C0.833252 27.1608 2.0273 24.2782 4.15271 22.1527C6.27812 20.0273 9.1608 18.8333 12.1666 18.8333C15.1724 18.8333 18.0551 20.0273 20.1805 22.1527C22.3059 24.2782 23.4999 27.1608 23.4999 30.1666H0.833252ZM12.1666 17.4166C7.47034 17.4166 3.66659 13.6129 3.66659 8.91663C3.66659 4.22038 7.47034 0.416626 12.1666 0.416626C16.8628 0.416626 20.6666 4.22038 20.6666 8.91663C20.6666 13.6129 16.8628 17.4166 12.1666 17.4166ZM22.5975 20.58C24.7645 21.137 26.7006 22.3634 28.13 24.0846C29.5595 25.8059 30.4096 27.9342 30.5592 30.1666H26.3333C26.3333 26.4691 24.9166 23.1031 22.5975 20.58ZM19.7316 17.3557C20.9187 16.2939 21.8681 14.9932 22.5175 13.5388C23.167 12.0845 23.5017 10.5094 23.4999 8.91663C23.5029 6.9807 23.0078 5.07657 22.062 3.38738C23.6666 3.70979 25.11 4.5779 26.1469 5.84415C27.1838 7.1104 27.7502 8.69666 27.7499 10.3333C27.7503 11.3426 27.5349 12.3404 27.1182 13.2597C26.7016 14.179 26.0932 14.9986 25.3339 15.6636C24.5746 16.3285 23.6819 16.8236 22.7157 17.1154C21.7495 17.4072 20.7321 17.4892 19.7316 17.3557V17.3557Z"
|
|
473
|
-
fill="${this.tourType===
|
|
473
|
+
fill="${this.tourType===An.Guided?"#ffffff":"#202020"}"
|
|
474
474
|
/>
|
|
475
475
|
</svg>
|
|
476
476
|
</tour-type-option>`:""}
|
|
477
|
-
${this.shouldShowTourType[
|
|
477
|
+
${this.shouldShowTourType[An.Self]?D`<tour-type-option
|
|
478
478
|
heading="Take a tour"
|
|
479
479
|
subtitle="on your own"
|
|
480
|
-
@click="${()=>{this.tourType=
|
|
481
|
-
@keydown="${e=>{[" ","Enter"].includes(e.key)&&(e.preventDefault(),this.tourType=
|
|
482
|
-
?selected="${this.tourType===
|
|
480
|
+
@click="${()=>{this.tourType=An.Self}}"
|
|
481
|
+
@keydown="${e=>{[" ","Enter"].includes(e.key)&&(e.preventDefault(),this.tourType=An.Self)}}"
|
|
482
|
+
?selected="${this.tourType===An.Self}"
|
|
483
483
|
>
|
|
484
484
|
<svg
|
|
485
485
|
slot="icon"
|
|
@@ -491,16 +491,16 @@ var e={8005:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){retur
|
|
|
491
491
|
>
|
|
492
492
|
<path
|
|
493
493
|
d="M14.8334 19.1903V30.1667H0.666687C0.666248 28.4367 1.06183 26.7297 1.82311 25.1763C2.58439 23.6229 3.69118 22.2644 5.05866 21.2049C6.42614 20.1453 8.01802 19.4129 9.71232 19.0637C11.4066 18.7145 13.1584 18.7578 14.8334 19.1903ZM12 17.4167C7.30377 17.4167 3.50002 13.6129 3.50002 8.91666C3.50002 4.22041 7.30377 0.416656 12 0.416656C16.6963 0.416656 20.5 4.22041 20.5 8.91666C20.5 13.6129 16.6963 17.4167 12 17.4167ZM20.5 23.0833V18.125L27.5834 24.5L20.5 30.875V25.9167H16.25V23.0833H20.5Z"
|
|
494
|
-
fill="${this.tourType===
|
|
494
|
+
fill="${this.tourType===An.Self?"#ffffff":"#202020"}"
|
|
495
495
|
/>
|
|
496
496
|
</svg>
|
|
497
497
|
</tour-type-option>`:""}
|
|
498
|
-
${this.shouldShowTourType[
|
|
498
|
+
${this.shouldShowTourType[An.Virtual]?D`<tour-type-option
|
|
499
499
|
heading="Virtual tour"
|
|
500
500
|
subtitle="over video"
|
|
501
|
-
@click="${()=>{this.tourType=
|
|
502
|
-
@keydown="${e=>{[" ","Enter"].includes(e.key)&&(e.preventDefault(),this.tourType=
|
|
503
|
-
?selected="${this.tourType===
|
|
501
|
+
@click="${()=>{this.tourType=An.Virtual}}"
|
|
502
|
+
@keydown="${e=>{[" ","Enter"].includes(e.key)&&(e.preventDefault(),this.tourType=An.Virtual)}}"
|
|
503
|
+
?selected="${this.tourType===An.Virtual}"
|
|
504
504
|
>
|
|
505
505
|
<svg
|
|
506
506
|
slot="icon"
|
|
@@ -512,7 +512,7 @@ var e={8005:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){retur
|
|
|
512
512
|
>
|
|
513
513
|
<path
|
|
514
514
|
d="M15.6 19.5V22.1L18.2 23.4V24.7H7.80004L7.79484 23.4052L10.4 22.1V19.5H1.28965C1.11894 19.4989 0.950113 19.4642 0.792841 19.3979C0.635568 19.3315 0.492943 19.2347 0.373141 19.1131C0.253339 18.9915 0.158715 18.8474 0.0946936 18.6892C0.0306718 18.5309 -0.00148955 18.3616 5.29696e-05 18.1909V1.3091C5.29696e-05 0.586299 0.591552 0 1.28965 0H24.7104C25.4228 0 26 0.583699 26 1.3091V18.1909C26 18.9137 25.4085 19.5 24.7104 19.5H15.6ZM2.60005 14.3V16.9H23.4V14.3H2.60005Z"
|
|
515
|
-
fill="${this.tourType===
|
|
515
|
+
fill="${this.tourType===An.Virtual?"#ffffff":"#202020"}"
|
|
516
516
|
/>
|
|
517
517
|
</svg>
|
|
518
518
|
</tour-type-option>`:""}
|
|
@@ -520,13 +520,13 @@ var e={8005:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){retur
|
|
|
520
520
|
<div id="dateAndTimeMenu">
|
|
521
521
|
<div id="datePicker">
|
|
522
522
|
<date-picker
|
|
523
|
-
.availabilities=${(0,
|
|
523
|
+
.availabilities=${(0,xn.mapValues)(this.availabilitiesGroupedByDay,(e=>e.map((e=>new Date(e.offset)))))}
|
|
524
524
|
@change=${e=>{e.target instanceof Bt&&(this.selectedDate=e.target.selectedDate)}}
|
|
525
525
|
></date-picker>
|
|
526
526
|
<time-picker
|
|
527
527
|
?selecteddateexists=${!!this.selectedDate}
|
|
528
528
|
?horizontal=${e}
|
|
529
|
-
.options=${this.selectedDate?null===(t=this.availabilitiesGroupedByDay[Pt(this.selectedDate,"y-MM-dd")])||void 0===t?void 0:t.sort(((e,t)=>function(e,t){Ee(2,arguments);var n=Fe(e),i=Fe(t),r=n.getTime()-i.getTime();return r<0?-1:r>0?1:r}(
|
|
529
|
+
.options=${this.selectedDate?null===(t=this.availabilitiesGroupedByDay[Pt(this.selectedDate,"y-MM-dd")])||void 0===t?void 0:t.sort(((e,t)=>function(e,t){Ee(2,arguments);var n=Fe(e),i=Fe(t),r=n.getTime()-i.getTime();return r<0?-1:r>0?1:r}(nn(e.datetime),nn(t.datetime)))).map((e=>({dateWithTimeZoneOffset:e,displayTime:Pt(nn(`${e.datetime}${e.offset}`),"h:mmaaa")}))):[]}
|
|
530
530
|
@change=${e=>{if(e.target instanceof Gt){if(!this.selectedDate)return;const t=this.availabilitiesGroupedByDay[Pt(new Date(this.selectedDate),"y-MM-dd")],n=e.target.selectedTime?t.indexOf(e.target.selectedTime.dateWithTimeZoneOffset):null;this.selectedTime=null!==n?t[n]:null}}}
|
|
531
531
|
></time-picker>
|
|
532
532
|
</div>
|
|
@@ -610,7 +610,7 @@ var e={8005:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){retur
|
|
|
610
610
|
<me-select
|
|
611
611
|
id="layoutType"
|
|
612
612
|
placeholder="Select layout"
|
|
613
|
-
.options="${
|
|
613
|
+
.options="${En(this.layoutOptions).map((e=>{return{label:(t=e,"studio"==t?"Studio":{"1br":"1 bedroom","2br":"2 bedroom","3br":"3 bedroom","4br":"4 bedroom","5br":"5 bedroom","6br":"6 bedroom","7br":"7 bedroom","8br":"8 bedroom","9br":"9 bedroom","10br":"10 bedroom"}[t]),value:e};var t}))}"
|
|
614
614
|
defaultOption="Studio"
|
|
615
615
|
@change=${()=>{this.requestUpdate()}}
|
|
616
616
|
>Studio
|
|
@@ -629,7 +629,7 @@ var e={8005:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){retur
|
|
|
629
629
|
</me-select>
|
|
630
630
|
</div>
|
|
631
631
|
</div>`:""}
|
|
632
|
-
</div> `}confirmationMessage(){if(!this.selectedDate||!this.selectedTime)return D``;const e=Pt(
|
|
632
|
+
</div> `}confirmationMessage(){if(!this.selectedDate||!this.selectedTime)return D``;const e=Pt(nn(`${this.selectedTime.datetime}${this.selectedTime.offset}`),"h:mmaaa");return D`
|
|
633
633
|
<div id="confirmationMessage">
|
|
634
634
|
<svg
|
|
635
635
|
width="20"
|
|
@@ -647,7 +647,7 @@ var e={8005:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){retur
|
|
|
647
647
|
Thank you!
|
|
648
648
|
<br />
|
|
649
649
|
Your
|
|
650
|
-
${{[
|
|
650
|
+
${{[An.Guided]:"guided",[An.Self]:"self-guided",[An.Virtual]:"virtual"}[this.tourType]}
|
|
651
651
|
tour is scheduled for ${e}.
|
|
652
652
|
</p>
|
|
653
653
|
<p>
|
|
@@ -667,9 +667,9 @@ var e={8005:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){retur
|
|
|
667
667
|
d="M17.835 13.1045C18.4839 11.5628 18.6332 9.85647 18.2621 8.22548C17.8909 6.5945 17.018 5.12084 15.7659 4.0117C14.5139 2.90256 12.9457 2.21372 11.2818 2.04201C9.618 1.87031 7.94218 2.22438 6.49 3.05445L5.498 1.31745C7.01563 0.450066 8.73419 -0.00418222 10.4822 2.90165e-05C12.2302 0.00424025 13.9466 0.466764 15.46 1.34145C19.95 3.93345 21.67 9.48345 19.577 14.1115L20.919 14.8855L16.754 17.0995L16.589 12.3855L17.835 13.1045ZM3.085 6.89845C2.43614 8.44015 2.28678 10.1464 2.65792 11.7774C3.02905 13.4084 3.90201 14.8821 5.15407 15.9912C6.40613 17.1003 7.97432 17.7892 9.63816 17.9609C11.302 18.1326 12.9778 17.7785 14.43 16.9485L15.422 18.6855C13.9044 19.5528 12.1858 20.0071 10.4378 20.0029C8.68979 19.9987 6.97344 19.5361 5.46 18.6615C0.97 16.0695 -0.75 10.5195 1.343 5.89145L0 5.11845L4.165 2.90445L4.33 7.61845L3.084 6.89945L3.085 6.89845Z"
|
|
668
668
|
fill="#1E1E1E"
|
|
669
669
|
/>
|
|
670
|
-
</svg>`}render(){if(
|
|
670
|
+
</svg>`}render(){if(Tn()){const e=this.mobilePages[this.mobilePageIndex];return D`
|
|
671
671
|
<div
|
|
672
|
-
class="${
|
|
672
|
+
class="${In()("tour-scheduler",{loading:this.waitingForAvailabilities})}"
|
|
673
673
|
>
|
|
674
674
|
<div id="topControls">
|
|
675
675
|
<h1 id="scheduleATour">
|
|
@@ -688,7 +688,7 @@ var e={8005:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){retur
|
|
|
688
688
|
</div>
|
|
689
689
|
`}return D`
|
|
690
690
|
<div
|
|
691
|
-
class="${
|
|
691
|
+
class="${In()("tour-scheduler",{loading:this.waitingForAvailabilities})}"
|
|
692
692
|
>
|
|
693
693
|
<h1 id="scheduleATour">
|
|
694
694
|
${this.waitingForAvailabilities?D`${this.loadingIcon()} Searching availabilities...`:"Schedule a tour"}
|
|
@@ -713,7 +713,7 @@ var e={8005:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){retur
|
|
|
713
713
|
?disabled=${!this.formIsValidForSubmission()}
|
|
714
714
|
></action-confirm-button>`}
|
|
715
715
|
</div>
|
|
716
|
-
`}};var Nn
|
|
716
|
+
`}};var An;Nn.styles=a`
|
|
717
717
|
* {
|
|
718
718
|
box-sizing: border-box;
|
|
719
719
|
}
|
|
@@ -1106,7 +1106,7 @@ var e={8005:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){retur
|
|
|
1106
1106
|
margin-top: 37px;
|
|
1107
1107
|
}
|
|
1108
1108
|
}
|
|
1109
|
-
`,
|
|
1109
|
+
`,Rn([oe({attribute:!1})],Nn.prototype,"layoutOptions",void 0),Rn([oe({attribute:!1})],Nn.prototype,"unitOptions",void 0),Rn([oe({attribute:!1})],Nn.prototype,"tourTypeOptions",void 0),Rn([oe({type:Number})],Nn.prototype,"buildingId",void 0),Rn([oe({attribute:!0})],Nn.prototype,"buildingSlug",void 0),Rn([oe({attribute:!0})],Nn.prototype,"orgSlug",void 0),Rn([ae()],Nn.prototype,"tourType",void 0),Rn([ae()],Nn.prototype,"shouldShowTourType",void 0),Rn([ae()],Nn.prototype,"email",void 0),Rn([ae()],Nn.prototype,"phoneNumber",void 0),Rn([ae()],Nn.prototype,"availabilitiesGroupedByDay",void 0),Rn([ae()],Nn.prototype,"waitingForAvailabilities",void 0),Rn([ae()],Nn.prototype,"selectedDate",void 0),Rn([ae()],Nn.prototype,"selectedTime",void 0),Rn([ae()],Nn.prototype,"mobilePageIndex",void 0),Rn([ae()],Nn.prototype,"isSubmitting",void 0),Rn([ae()],Nn.prototype,"tourIsBooked",void 0),Rn([se(".nameContainer#firstName input")],Nn.prototype,"firstNameInput",void 0),Rn([se(".nameContainer#lastName input")],Nn.prototype,"lastNameInput",void 0),Rn([se(".inputContainer#email input")],Nn.prototype,"emailInput",void 0),Rn([se(".inputContainer#phone input")],Nn.prototype,"phoneInput",void 0),Rn([se("me-select#unitType")],Nn.prototype,"unitTypeSelect",void 0),Rn([se("me-select#layoutType")],Nn.prototype,"layoutTypeSelect",void 0),Nn=Rn([ie("tour-scheduler")],Nn),function(e){e[e.Guided=0]="Guided",e[e.Self=1]="Self",e[e.Virtual=2]="Virtual"}(An||(An={}));const Cn={[An.Guided]:Qt.TourAvailabilityResponseRankOrderedSupportedTourTypesEnum.WithAgent,[An.Self]:Qt.TourAvailabilityResponseRankOrderedSupportedTourTypesEnum.SelfGuided,[An.Virtual]:Qt.TourAvailabilityResponseRankOrderedSupportedTourTypesEnum.VirtualShowing},_n={[An.Guided]:"escorted-tour",[An.Self]:"self-guided-tour",[An.Virtual]:"live-virtual-tour"},En=e=>e.map((e=>(e=>({studio:0,"1br":1,"2br":2,"3br":3,"4br":4,"5br":5,"6br":6,"7br":7,"8br":8,"9br":9,"10br":10}[e]))(e))).filter(xn.isNumber).sort().map((e=>(e=>({0:"studio",1:"1br",2:"2br",3:"3br",4:"4br",5:"5br",6:"6br",7:"7br",8:"8br",9:"9br",10:"10br"}[e]))(e))).filter(xn.isString);class Fn{constructor(e,t,n){this.org=e,this.building=t,this.chatId=n,this.featureFlags={}}setFeatureFlags(e){this.featureFlags={...this.featureFlags,...e}}campaignSources(){var e,t,n;const i=new URL(window.location.href).searchParams,r=null!==(n=null===(t=null===(e=window.RCTPCampaign)||void 0===e?void 0:e.CampaignDetails)||void 0===t?void 0:t.Source)&&void 0!==n?n:null;return{entrataCampaignSource:i.get("switch_cls[id]"),realpageCampaignSource:i.get("ilm"),utmCampaignSource:i.get("utm_source"),yardiCampaignSource:r}}ping(e){fetch("https://app.meetelise.com/platformApi/connectors/talk_js/analytics",{method:"POST",credentials:"omit",keepalive:!0,headers:{"content-type":"application/json; charset=UTF-8"},body:JSON.stringify({eventType:e,chatId:this.chatId,url:location.href,org:this.org,building:this.building,referrer:document.referrer,featureFlags:this.featureFlags,campaignSources:this.campaignSources()})})}}var Mn,Pn=new Uint8Array(16);function Dn(){if(!Mn&&!(Mn="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Mn(Pn)}const qn=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,Un=function(e){return"string"==typeof e&&qn.test(e)};for(var Jn=[],kn=0;kn<256;++kn)Jn.push((kn+256).toString(16).substr(1));const Ln=function(e,t,n){var i=(e=e||{}).random||(e.rng||Dn)();if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,t){n=n||0;for(var r=0;r<16;++r)t[n+r]=i[r];return t}return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(Jn[e[t+0]]+Jn[e[t+1]]+Jn[e[t+2]]+Jn[e[t+3]]+"-"+Jn[e[t+4]]+Jn[e[t+5]]+"-"+Jn[e[t+6]]+Jn[e[t+7]]+"-"+Jn[e[t+8]]+Jn[e[t+9]]+"-"+Jn[e[t+10]]+Jn[e[t+11]]+Jn[e[t+12]]+Jn[e[t+13]]+Jn[e[t+14]]+Jn[e[t+15]]).toLowerCase();if(!Un(n))throw TypeError("Stringified UUID is invalid");return n}(i)};function Bn(e,t){const n=Hn(e,t),i=Ln();return localStorage.setItem(n,i),jn(e,t),i}function jn(e,t){const n=Wn(e,t),i=(new Date).toISOString();return localStorage.setItem(n,i),i}function Hn(e,t){return`com.meetelise.chatID-${e}-${t}`}function Wn(e,t){return`com.meetelise.chatIDIssueTime-${e}-${t}`}const Gn="#FFFFFF",$n="#202020",zn={user:{textColor:Gn,backgroundColor:"#1990FF"},agent:{textColor:Gn,backgroundColor:"#1E1E1E"}},Vn={user:{textColor:Gn,backgroundColor:"#83818E"},agent:{textColor:Gn,backgroundColor:$n}},Xn={Light:{chatHeader:{backgroundColor:Gn,textColor:$n},chatPaneBackgroundColor:"rgba(255, 255, 255, 0.9)",message:zn},Dark:{chatHeader:{backgroundColor:$n,textColor:Gn},chatPaneBackgroundColor:"rgba(32, 32, 32, 0.9)",message:zn},Purple:{chatHeader:{backgroundColor:"#550098",textColor:Gn},chatPaneBackgroundColor:"rgba(85, 0, 152, 0.6)",message:zn},Blue:{chatHeader:{backgroundColor:"#0814E5",textColor:Gn},chatPaneBackgroundColor:"rgba(4, 17, 245, 0.6)",message:zn},Teal:{chatHeader:{backgroundColor:"#6EE7ED",textColor:$n},chatPaneBackgroundColor:"rgba(115, 247, 253, 0.8)",message:Vn},Green:{chatHeader:{backgroundColor:"#147B0E",textColor:Gn},chatPaneBackgroundColor:"rgba(13, 141, 5, 0.6)",message:zn},Yellow:{chatHeader:{backgroundColor:"#F1E54F",textColor:$n},chatPaneBackgroundColor:"rgba(251, 239, 80, 0.9)",message:Vn},Orange:{chatHeader:{backgroundColor:"#C06C31",textColor:Gn},chatPaneBackgroundColor:"rgba(238, 126, 49, 0.7)",message:zn},Pink:{chatHeader:{backgroundColor:"#A24599",textColor:Gn},chatPaneBackgroundColor:"rgba(167, 70, 157, 0.8)",message:zn}},Zn=e=>Xn[e&&Object.keys(Xn).includes(e)?e:"Light"];function Qn(e,t,n,i,r,o){var a;const s=new Oe.User({id:`building_${t.id}`,name:t.userFirstName,email:null,role:"Default",welcomeMessage:t.welcomeMessage,availabilityText:t.systemWelcomeMessage}),u=e.getOrCreateConversation(r);return u.setParticipant(e.me),u.setParticipant(s),u.subject=16===t.orgId?"Leasing team":null!==(a=t.chatTitle)&&void 0!==a?a:t.userFirstName,u.custom={buildingId:t.id.toString(),userId:t.userId.toString(),orgId:t.orgId.toString(),subtitle:t.chatSubtitle,url:location.href,buildingName:t.name,isMobile:o.toString(),chatHeaderBackgroundColor:n.chatHeader.backgroundColor,chatHeaderTextColor:n.chatHeader.textColor,chatPaneBackgroundColor:n.chatPaneBackgroundColor,userMessageTextColor:n.message.user.textColor,userMessageBackgroundColor:n.message.user.backgroundColor,agentMessageTextColor:n.message.agent.textColor,agentMessageBackgroundColor:n.message.agent.backgroundColor,isLightTheme:(n.message===Vn).toString(),avatarUrl:"image"===t.avatarType&&t.avatarSrc?i:"https://eliseusercontent.meetelise.com/webchat/looping-gradient.gif"},u}const Kn=a`
|
|
1110
1110
|
:host {
|
|
1111
1111
|
--glowBarHeight: 11.2px;
|
|
1112
1112
|
--enterAnimationDuration: 0.5s;
|
|
@@ -1408,8 +1408,8 @@ var e={8005:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){retur
|
|
|
1408
1408
|
bottom: 0;
|
|
1409
1409
|
}
|
|
1410
1410
|
}
|
|
1411
|
-
`;var
|
|
1412
|
-
class=${
|
|
1411
|
+
`;var Yn=function(e,t,n,i){var r,o=arguments.length,a=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(a=(o<3?r(a):o>3?r(t,n,a):r(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a};let ei=class extends te{constructor(){super(...arguments),this.text="Submit",this.isLoading=!1,this.disabled=!1,this.height="initial",this.width="initial",this.render=()=>D`<button
|
|
1412
|
+
class=${In()("action-confirm-button",{loading:this.isLoading})}
|
|
1413
1413
|
@click=${this.isLoading?null:this.onClick}
|
|
1414
1414
|
?disabled=${this.disabled}
|
|
1415
1415
|
style=${`height: ${this.height}; width: ${this.width};`}
|
|
@@ -1420,7 +1420,7 @@ var e={8005:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){retur
|
|
|
1420
1420
|
<div></div>
|
|
1421
1421
|
<div></div>
|
|
1422
1422
|
</div>`:this.text}
|
|
1423
|
-
</button>`}};
|
|
1423
|
+
</button>`}};ei.styles=[a`
|
|
1424
1424
|
.action-confirm-button {
|
|
1425
1425
|
display: flex;
|
|
1426
1426
|
justify-content: center;
|
|
@@ -1495,10 +1495,10 @@ var e={8005:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){retur
|
|
|
1495
1495
|
transform: rotate(360deg);
|
|
1496
1496
|
}
|
|
1497
1497
|
}
|
|
1498
|
-
`],
|
|
1498
|
+
`],Yn([oe()],ei.prototype,"onClick",void 0),Yn([oe()],ei.prototype,"text",void 0),Yn([oe({attribute:!1})],ei.prototype,"isLoading",void 0),Yn([oe({type:Boolean})],ei.prototype,"disabled",void 0),Yn([oe({type:String})],ei.prototype,"height",void 0),Yn([oe({type:String})],ei.prototype,"width",void 0),ei=Yn([ie("action-confirm-button")],ei);const ti=()=>{window.customElements.get("action-confirm-button")||window.customElements.define("action-confirm-button",ei)},ni=le(class extends de{constructor(e){var t;if(super(e),1!==e.type||"style"!==e.name||(null===(t=e.strings)||void 0===t?void 0:t.length)>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(e){return Object.keys(e).reduce(((t,n)=>{const i=e[n];return null==i?t:t+`${n=n.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${i};`}),"")}update(e,[t]){const{style:n}=e.element;if(void 0===this.ct){this.ct=new Set;for(const e in t)this.ct.add(e);return this.render(t)}this.ct.forEach((e=>{null==t[e]&&(this.ct.delete(e),e.includes("-")?n.removeProperty(e):n[e]="")}));for(const e in t){const i=t[e];null!=i&&(this.ct.add(e),e.includes("-")?n.setProperty(e,i):n[e]=i)}return q}});var ii=function(e,t,n,i){var r,o=arguments.length,a=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(a=(o<3?r(a):o>3?r(t,n,a):r(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a};let ri=class extends te{constructor(){super(...arguments),this.height="425px",this.width="326px",this.useRoundedBorders=!0,this.headerText="",this.isMobileSized=!1}async firstUpdated(){await new Promise((e=>setTimeout(e,0))),this.isMobileSized=Tn(),window.addEventListener("resize",(()=>{this.isMobileSized=Tn()}))}render(){return D`
|
|
1499
1499
|
<div
|
|
1500
1500
|
class="details-window-wrapper"
|
|
1501
|
-
style=${
|
|
1501
|
+
style=${ni({height:this.height,width:this.isMobileSized?"-webkit-fill-available":this.width})}
|
|
1502
1502
|
>
|
|
1503
1503
|
<div class="details-window-header">
|
|
1504
1504
|
<div>${this.headerText}</div>
|
|
@@ -1528,7 +1528,7 @@ var e={8005:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){retur
|
|
|
1528
1528
|
</div>
|
|
1529
1529
|
<slot class="details-window__slot-content"></slot>
|
|
1530
1530
|
</div>
|
|
1531
|
-
`}};
|
|
1531
|
+
`}};ri.styles=a`
|
|
1532
1532
|
.details-window-wrapper {
|
|
1533
1533
|
background: rgba(255, 255, 255, 0.75);
|
|
1534
1534
|
box-shadow: 0px 0px 14px 5px rgba(0, 0, 0, 0.25);
|
|
@@ -1553,7 +1553,7 @@ var e={8005:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){retur
|
|
|
1553
1553
|
border-radius: 0px 0px 0px 0px;
|
|
1554
1554
|
}
|
|
1555
1555
|
}
|
|
1556
|
-
`,
|
|
1556
|
+
`,ii([oe({type:String})],ri.prototype,"height",void 0),ii([oe({type:String})],ri.prototype,"width",void 0),ii([oe({type:Boolean})],ri.prototype,"useRoundedBorders",void 0),ii([oe({type:String})],ri.prototype,"headerText",void 0),ii([oe({attribute:!1})],ri.prototype,"onCloseClick",void 0),ii([ae()],ri.prototype,"isMobileSized",void 0),ri=ii([ie("details-window")],ri);const oi=()=>{window.customElements.get("details-window")||window.customElements.define("details-window",ri)},ai=a`
|
|
1557
1557
|
.webchat-input {
|
|
1558
1558
|
border: 1px solid #83818e;
|
|
1559
1559
|
outline: none;
|
|
@@ -1579,7 +1579,7 @@ var e={8005:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){retur
|
|
|
1579
1579
|
font-family: "Poppins";
|
|
1580
1580
|
font-size: 16px;
|
|
1581
1581
|
}
|
|
1582
|
-
`;var
|
|
1582
|
+
`;var si=function(e,t,n,i){var r,o=arguments.length,a=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(a=(o<3?r(a):o>3?r(t,n,a):r(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a};let ui=class extends te{constructor(){super(...arguments),this.buildingId=0,this.buildingSlug="",this.orgSlug="",this.phoneNumberInputRef=we(),this.privatePolicyUrl="https://www.meetelise.com/privacy",this.termsOfServiceUrl="_blank",this.firstName="",this.lastName="",this.email="",this.phoneNumber="",this.message="",this.hasNameError=!1,this.hasEmailError=!1,this.hasPhoneNumberError=!1,this.hasMessageError=!1,this.hasSubmittedForm=!1,this.windowHeight=525,this.hasSubmissionError=!1,this.isSubmitting=!1,this.onChangeFirstName=e=>{e.target&&(this.firstName=e.target.value)},this.onChangeLastName=e=>{e.target&&(this.lastName=e.target.value)},this.onChangeEmail=e=>{e.target&&(this.email=e.target.value)},this.onChangePhoneNumber=e=>{if(!e.target||!this.phoneNumberInputRef.value)return;if(Ae(e))return;const t=e.target;this.phoneNumber=Ie(t.value),this.phoneNumberInputRef.value.value=this.phoneNumber},this.onChangeMessage=e=>{e.target&&(this.message=e.target.value)},this.enforceFormat=e=>{Re(e)||Ae(e)||e.preventDefault()},this.validateFormFields=()=>{this.hasNameError=!1,this.hasEmailError=!1,this.hasPhoneNumberError=!1,this.hasMessageError=!1,this.hasSubmissionError=!1,this.firstName&&this.lastName||(this.hasNameError=!0),this.email&&this.email.includes("@")||(this.hasEmailError=!0),this.phoneNumber&&14===this.phoneNumber.length||(this.hasPhoneNumberError=!0),this.message||(this.hasMessageError=!0),this.windowHeight=525+30*this.getNumErrors()},this.onClick=async()=>{if(!(this.isSubmitting||(this.validateFormFields(),this.hasNameError||this.hasEmailError||this.hasPhoneNumberError||this.hasMessageError)))try{this.isSubmitting=!0,this.windowHeight=585,await li(this.firstName,this.lastName,this.email,this.phoneNumber,this.message,this.buildingId,this.orgSlug,this.buildingSlug),this.hasSubmittedForm=!0,this.isSubmitting=!1,this.windowHeight=525}catch(e){this.hasSubmissionError=!0,this.isSubmitting=!1,this.windowHeight=525}},this.getNumErrors=()=>[this.hasNameError,this.hasEmailError,this.hasPhoneNumberError,this.hasMessageError,this.hasSubmissionError].filter((e=>e)).length,this.render=()=>(oi(),ti(),this.hasSubmittedForm?D`
|
|
1583
1583
|
<details-window
|
|
1584
1584
|
headerText="Email us"
|
|
1585
1585
|
.onCloseClick=${this.onCloseClicked}
|
|
@@ -1689,7 +1689,7 @@ var e={8005:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){retur
|
|
|
1689
1689
|
</div>
|
|
1690
1690
|
</div>
|
|
1691
1691
|
</details-window>
|
|
1692
|
-
`)}};
|
|
1692
|
+
`)}};ui.styles=[a`
|
|
1693
1693
|
.email-us__name-input {
|
|
1694
1694
|
width: 134px;
|
|
1695
1695
|
height: 49px;
|
|
@@ -1753,7 +1753,7 @@ var e={8005:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){retur
|
|
|
1753
1753
|
width: -webkit-fill-available;
|
|
1754
1754
|
}
|
|
1755
1755
|
}
|
|
1756
|
-
`,
|
|
1756
|
+
`,ai],si([oe({attribute:!1})],ui.prototype,"onCloseClicked",void 0),si([oe({attribute:!1})],ui.prototype,"buildingId",void 0),si([oe({attribute:!0})],ui.prototype,"buildingSlug",void 0),si([oe({attribute:!0})],ui.prototype,"orgSlug",void 0),si([oe()],ui.prototype,"privatePolicyUrl",void 0),si([oe()],ui.prototype,"termsOfServiceUrl",void 0),si([ae()],ui.prototype,"firstName",void 0),si([ae()],ui.prototype,"lastName",void 0),si([ae()],ui.prototype,"email",void 0),si([ae()],ui.prototype,"phoneNumber",void 0),si([ae()],ui.prototype,"message",void 0),si([ae()],ui.prototype,"hasNameError",void 0),si([ae()],ui.prototype,"hasEmailError",void 0),si([ae()],ui.prototype,"hasPhoneNumberError",void 0),si([ae()],ui.prototype,"hasMessageError",void 0),si([ae()],ui.prototype,"hasSubmittedForm",void 0),si([ae()],ui.prototype,"windowHeight",void 0),si([ae()],ui.prototype,"hasSubmissionError",void 0),si([ae()],ui.prototype,"isSubmitting",void 0),ui=si([ie("email-us-window")],ui);const li=async(e,t,n,i,r,o,a,s)=>{const u={email_address:n,building_id:o,lead_source:"property-website",first_message:r,first_name:e,last_name:t,phone_number:"+1"+i.replace("(","").replace(")","").replace(" ","").replace("-","")};await Zt().post("https://app.meetelise.com/platformApi/state/create/emailMe",u,{headers:{"building-slug":s,"org-slug":a,"X-SecurityKey":"JRL8jV4VcSCwOSir5gWkpgNLfKghmhBG"}})};var di=function(e,t,n,i){var r,o=arguments.length,a=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(a=(o<3?r(a):o>3?r(t,n,a):r(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a};let ci=class extends te{constructor(){super(...arguments),this.buildingId=0,this.buildingSlug="",this.orgSlug="",this.phoneNumberInputRef=we(),this.phoneNumber="",this.hasSubmittedForm=!1,this.hasPhoneNumberError=!1,this.hasSubmissionError=!1,this.isSubmitting=!1,this.onChangePhoneNumber=e=>{if(!e.target||!this.phoneNumberInputRef.value)return;if(Ae(e))return;const t=e.target;this.phoneNumber=Ie(t.value),this.phoneNumberInputRef.value.value=this.phoneNumber},this.enforceFormat=e=>{Re(e)||Ae(e)||e.preventDefault()},this.validateFormFields=()=>{this.hasPhoneNumberError=!1,this.hasSubmissionError=!1,this.phoneNumber&&14===this.phoneNumber.length||(this.hasPhoneNumberError=!0)},this.onClick=async()=>{if(this.validateFormFields(),!this.hasPhoneNumberError)try{this.isSubmitting=!0,await pi(this.phoneNumber,this.buildingId,this.orgSlug,this.buildingSlug),this.hasSubmittedForm=!0,this.isSubmitting=!1}catch(e){this.isSubmitting=!1,this.hasSubmissionError=!0}},this.render=()=>(oi(),ti(),this.hasSubmittedForm?D`
|
|
1757
1757
|
<details-window
|
|
1758
1758
|
headerText="Text us"
|
|
1759
1759
|
.onCloseClick=${this.onCloseClicked}
|
|
@@ -1821,7 +1821,7 @@ var e={8005:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){retur
|
|
|
1821
1821
|
</div>
|
|
1822
1822
|
</div>
|
|
1823
1823
|
</details-window>
|
|
1824
|
-
`)}};
|
|
1824
|
+
`)}};ci.styles=[a`
|
|
1825
1825
|
.text-us-wrapper {
|
|
1826
1826
|
font-family: "Poppins";
|
|
1827
1827
|
color: #202020;
|
|
@@ -1852,7 +1852,7 @@ var e={8005:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){retur
|
|
|
1852
1852
|
line-height: 22px;
|
|
1853
1853
|
margin-top: 8px;
|
|
1854
1854
|
}
|
|
1855
|
-
`,
|
|
1855
|
+
`,ai],di([oe({attribute:!1})],ci.prototype,"onCloseClicked",void 0),di([oe({attribute:!1})],ci.prototype,"buildingId",void 0),di([oe({attribute:!0})],ci.prototype,"buildingSlug",void 0),di([oe({attribute:!0})],ci.prototype,"orgSlug",void 0),di([ae()],ci.prototype,"phoneNumber",void 0),di([ae()],ci.prototype,"hasSubmittedForm",void 0),di([ae()],ci.prototype,"hasPhoneNumberError",void 0),di([ae()],ci.prototype,"hasSubmissionError",void 0),di([ae()],ci.prototype,"isSubmitting",void 0),ci=di([ie("text-us-window")],ci);const pi=async(e,t,n,i)=>{const r={building_id:t,lead_source:"property-website",phone_number:"+1"+e.replace("(","").replace(")","").replace(" ","").replace("-","")};await Zt().post("https://app.meetelise.com/platformApi/state/create/textMe",r,{headers:{"building-slug":i,"org-slug":n,"X-SecurityKey":"JRL8jV4VcSCwOSir5gWkpgNLfKghmhBG"}})},fi={},hi=["monday","tuesday","wednesday","thursday","friday","saturday","sunday"];var mi=function(e,t,n,i){var r,o=arguments.length,a=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(a=(o<3?r(a):o>3?r(t,n,a):r(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a};let vi=class extends te{constructor(){super(...arguments),this.phoneNumber="1-855-531-5131",this.buildingId=0,this.chatCallUsHeader="Call Us",this.firstUpdated=async()=>{this.buildingId&&(this.officeHoursTextInfo=await(async e=>{const t=await(async e=>{if(fi[e])return fi[e];const t=`https://app.meetelise.com/platformApi/connectors/talk_js/leasing_office_hours/${e}`,n=await Zt().get(t);return fi[e]=n.data,n.data})(e);return hi.map((e=>{const n=t[e];return n?{dayOfWeek:e,startTime:n.start,endTime:n.end}:e}))})(this.buildingId))},this.officeHoursTextInfo=[],this.getCallLink=e=>{const t=(e.match(/\d+/g)||[]).join(""),n=t.length<11?`1${t}`:t,i=`+${n[0]}-${n.slice(1,4)}-${n.slice(4,7)}-${n.slice(7)}`;return D`<a href="tel:${i}"
|
|
1856
1856
|
>${e}</a
|
|
1857
1857
|
>`},this.render=()=>D`
|
|
1858
1858
|
<details-window
|
|
@@ -1882,7 +1882,7 @@ var e={8005:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){retur
|
|
|
1882
1882
|
`))}
|
|
1883
1883
|
</div>
|
|
1884
1884
|
</details-window>
|
|
1885
|
-
`}};
|
|
1885
|
+
`}};vi.styles=[a`
|
|
1886
1886
|
.call-us-window__content-wrapper {
|
|
1887
1887
|
font-family: Poppins;
|
|
1888
1888
|
color: 11ee1e;
|
|
@@ -1922,7 +1922,7 @@ var e={8005:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){retur
|
|
|
1922
1922
|
.call-us-window__open-times {
|
|
1923
1923
|
text-transform: lowercase;
|
|
1924
1924
|
}
|
|
1925
|
-
`],
|
|
1925
|
+
`],mi([oe({attribute:!1})],vi.prototype,"onCloseClicked",void 0),mi([oe()],vi.prototype,"phoneNumber",void 0),mi([oe({attribute:!1})],vi.prototype,"buildingId",void 0),mi([oe({attribute:!0})],vi.prototype,"chatCallUsHeader",void 0),mi([oe({attribute:!1})],vi.prototype,"officeHoursTextInfo",void 0),vi=mi([ie("call-us-window")],vi);const gi={};var yi=function(e,t,n,i){var r,o=arguments.length,a=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(a=(o<3?r(a):o>3?r(t,n,a):r(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a};let bi=class extends te{constructor(){super(...arguments),this.isMobile=!1,this.isFirstMount=!1,this.backgroundColor="rgba(255, 255, 255, 0.75)",this.textColor="#202020",this.isMini=!0,this.autoOpenChatWidget=!1,this.phoneNumber="",this.chatCallUsHeader="Call us",this.buildingId=0,this.buildingSlug="",this.orgSlug="",this.hasCallUsEnabled=!1,this.hasChatEnabled=!1,this.hasEmailEnabled=!1,this.hasSSTEnabled=!1,this.hasTextUsEnabled=!1,this.layoutOptions=[],this.unitOptions=[],this.tourTypeOptions=[],this.onChatTapped=()=>{},this.launcherStyles={},this.isEmailWindowOpen=!1,this.isCallUsWindowOpen=!1,this.isSSTWindowOpen=!1,this.isTextUsWindowOpen=!1,this.getNumCallToActions=()=>[this.hasEmailEnabled,!!this.phoneNumber&&this.hasCallUsEnabled,this.hasSSTEnabled,this.hasTextUsEnabled].filter((e=>e)).length,this.emailUsWindowRef=we(),this.textUsWindowRef=we(),this.tourSchedulerRef=we(),this.updated=async()=>{if(this.attachOnClickToEmailUsWindow(),this.attachOnClickToTextUsWindow(),this.attachOnClickToSSTWindow(),this.buildingId){const e=await(async e=>{if(gi[e])return gi[e];const t=`https://app.meetelise.com/sms_management_numbers/webchat/building/${e}/numbers`,n=await Zt().get(t);return gi[e]=n.data,n.data})(this.buildingId);this.hasTextUsEnabled=e.length>0&&this.hasTextUsEnabled&&4895!==this.buildingId,await async function(e){return!!e}(this.buildingId)&&this.hasSSTEnabled&&(this.hasSSTEnabled=!0)}},this.attachOnClickToEmailUsWindow=()=>{const e=this.emailUsWindowRef.value;e&&(e.onCloseClicked=this.onCloseEmailWindow)},this.attachOnClickToTextUsWindow=()=>{const e=this.textUsWindowRef.value;e&&(e.onCloseClicked=this.onCloseTextUsWindow)},this.attachOnClickToSSTWindow=()=>{const e=this.tourSchedulerRef.value;e&&(e.onCloseClicked=this.onCloseSSTWindow)},this.onClickEmailOption=e=>{e.preventDefault(),e.stopPropagation(),this.isEmailWindowOpen=!0},this.onCloseEmailWindow=()=>{this.isEmailWindowOpen=!1},this.renderEmailOption=()=>{const e=this.getNumCallToActions()>2?"Email":"Email us";return D`
|
|
1926
1926
|
<div
|
|
1927
1927
|
@click=${this.onClickEmailOption}
|
|
1928
1928
|
class="launcher__call-to-action-option"
|
|
@@ -1962,7 +1962,7 @@ var e={8005:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){retur
|
|
|
1962
1962
|
`,this.renderMiniLauncher=()=>D`
|
|
1963
1963
|
<div
|
|
1964
1964
|
class="launcher__mini-launcher-wrapper"
|
|
1965
|
-
style=${
|
|
1965
|
+
style=${ni(this.launcherStyles)}
|
|
1966
1966
|
>
|
|
1967
1967
|
${this.isEmailWindowOpen?D`<div class="launcher__window-wrapper">
|
|
1968
1968
|
<email-us-window
|
|
@@ -2073,7 +2073,7 @@ var e={8005:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){retur
|
|
|
2073
2073
|
</svg>
|
|
2074
2074
|
`,this.onClickTextUsOption,!0):""}
|
|
2075
2075
|
</div>
|
|
2076
|
-
`}render(){return window.customElements.get("email-us-window")||window.customElements.define("email-us-window",
|
|
2076
|
+
`}render(){return window.customElements.get("email-us-window")||window.customElements.define("email-us-window",ui),window.customElements.get("text-us-window")||window.customElements.define("text-us-window",ci),window.customElements.get("call-us-window")||window.customElements.define("call-us-window",vi),this.isMini?this.renderMiniLauncher():D`
|
|
2077
2077
|
<div>
|
|
2078
2078
|
${this.isEmailWindowOpen?D`<div class="launcher__window-wrapper">
|
|
2079
2079
|
<email-us-window
|
|
@@ -2108,11 +2108,11 @@ var e={8005:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){retur
|
|
|
2108
2108
|
${this.isCallToActionWindowOpen()?"":D`
|
|
2109
2109
|
<div
|
|
2110
2110
|
@click=${this.onChatTapped}
|
|
2111
|
-
class="${
|
|
2111
|
+
class="${In()("launcher",this.isMobile?"launcher__mobile":"launcher__desktop",{firstMount:this.isFirstMount})}"
|
|
2112
2112
|
style="background-color: ${this.backgroundColor}; color: ${this.textColor};"
|
|
2113
2113
|
>
|
|
2114
2114
|
<div
|
|
2115
|
-
style=${
|
|
2115
|
+
style=${ni({position:"absolute"})}
|
|
2116
2116
|
></div>
|
|
2117
2117
|
<video class="glowBar" autoplay loop muted playsinline>
|
|
2118
2118
|
<source src="${"https://eliseusercontent.meetelise.com/webchat/HorizontalBar-Shadow.webm"}" type="video/webm" />
|
|
@@ -2146,7 +2146,7 @@ var e={8005:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){retur
|
|
|
2146
2146
|
</div>
|
|
2147
2147
|
`}
|
|
2148
2148
|
</div>
|
|
2149
|
-
`}};
|
|
2149
|
+
`}};bi.styles=Kn,yi([oe({type:Boolean})],bi.prototype,"isMobile",void 0),yi([oe({type:Boolean})],bi.prototype,"isFirstMount",void 0),yi([oe()],bi.prototype,"backgroundColor",void 0),yi([oe()],bi.prototype,"textColor",void 0),yi([oe({type:Boolean})],bi.prototype,"isMini",void 0),yi([oe({attribute:!1})],bi.prototype,"autoOpenChatWidget",void 0),yi([oe()],bi.prototype,"phoneNumber",void 0),yi([oe({attribute:!0})],bi.prototype,"chatCallUsHeader",void 0),yi([oe({attribute:!1})],bi.prototype,"buildingId",void 0),yi([oe({attribute:!0})],bi.prototype,"buildingSlug",void 0),yi([oe({attribute:!0})],bi.prototype,"orgSlug",void 0),yi([oe({type:Boolean})],bi.prototype,"hasCallUsEnabled",void 0),yi([oe({type:Boolean})],bi.prototype,"hasChatEnabled",void 0),yi([oe({type:Boolean})],bi.prototype,"hasEmailEnabled",void 0),yi([oe({type:Boolean})],bi.prototype,"hasSSTEnabled",void 0),yi([oe({type:Boolean})],bi.prototype,"hasTextUsEnabled",void 0),yi([oe({attribute:!1})],bi.prototype,"layoutOptions",void 0),yi([oe({attribute:!1})],bi.prototype,"unitOptions",void 0),yi([oe({attribute:!1})],bi.prototype,"tourTypeOptions",void 0),yi([oe({attribute:!1})],bi.prototype,"onChatTapped",void 0),yi([oe({attribute:!1})],bi.prototype,"launcherStyles",void 0),yi([ae()],bi.prototype,"isEmailWindowOpen",void 0),yi([ae()],bi.prototype,"isCallUsWindowOpen",void 0),yi([ae()],bi.prototype,"isSSTWindowOpen",void 0),yi([ae()],bi.prototype,"isTextUsWindowOpen",void 0),bi=yi([ie("meetelise-launcher")],bi);var wi=n(3379),Si=n.n(wi),Ti=n(7795),xi=n.n(Ti),Oi=n(569),Ii=n.n(Oi),Ri=n(3565),Ni=n.n(Ri),Ai=n(9216),Ci=n.n(Ai),_i=n(4589),Ei=n.n(_i),Fi=n(3631),Mi={};Mi.styleTagTransform=Ei(),Mi.setAttributes=Ni(),Mi.insert=Ii().bind(null,"head"),Mi.domAPI=xi(),Mi.insertStyleElement=Ci(),Si()(Fi.Z,Mi),Fi.Z&&Fi.Z.locals&&Fi.Z.locals;var Pi,Di=function(e,t,n,i){var r,o=arguments.length,a=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(a=(o<3?r(a):o>3?r(t,n,a):r(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a};let qi=Pi=class extends te{constructor(){super(...arguments),this.buildingSlug="",this.orgSlug="",this.useMiniWidget=!0,this.launcherStyles={},this.popup=null,this.theme=Zn(),this.chatId="",this.analytics=null,this.isMobile=Tn(),this.launcher=null,this.building=null,this.hasMounted=!1,this.hideLauncher=!1,this.yardiDNIScriptInterval=null,this.launcherRef=we(),this.initializeInstanceVariables=async()=>{await this.setBuildingDerivedInfo(),await this.initializeLaunchJS(),this.attachOnClickToLauncher()},this.setBuildingDerivedInfo=async()=>{var e;this.buildingSlug&&this.orgSlug&&(this.building=await async function(e,t){const n="https://app.meetelise.com",i=`${n}/api/pub/v1/organization/${e}/building/${t}`,r=await fetch(i),o=await r.json(),a=await fetch(`${n}/eliseCrmApi/pub/building/${t}/units`),s=await a.json(),u=await fetch(`${n}/eliseCrmApi/pub/building/${t}/layouts`),l=await u.json();return o.unitOptionsV2=s,o.layoutOptionsV2=l,o}(this.orgSlug,this.buildingSlug),yn(this.building.id),this.chatId=function(e,t){const n=Hn(e,t),i=localStorage.getItem(n);return i&&!function(e,t){const n=Wn(e,t),i=localStorage.getItem(n)||jn(e,t),r=new Date(new Date(i).getTime()+216e5);return new Date>r}(e,t)?i:Bn(e,t)}(this.orgSlug,this.buildingSlug),this.avatarSrc=this.avatarSrc||this.building.avatarSrc,this.theme=Zn(null!==(e=this.themeId)&&void 0!==e?e:this.building.themeId),this.analytics=new Fn(this.orgSlug,this.buildingSlug,this.chatId))},this.initializeLaunchJS=async()=>{var e;if(!this.building||!this.theme)return;if(this.popup&&this.launcher)return;const[t,n,i,r]=await Promise.all([this.building,this.theme,this.avatarSrc,Pi.session]);if(t.conversationMaintenanceMode)return new Promise((()=>{console.warn("MeetElise Chat is in maintenance mode. Chat icon will not appear.")}));await this.configureTalkJSPopup(t,n,r,i),this.configureLauncherElement(),null===(e=this.analytics)||void 0===e||e.ping("load"),this.yardiDNIScriptInterval=setInterval((()=>this.pollForYardiCampaignSource()),1e3),setTimeout(clearInterval,15e3,this.yardiDNIScriptInterval)},this.configureLauncherElement=()=>{this.popup&&this.launcherRef.value&&(this.launcher=this.launcherRef.value)},this.configureTalkJSPopup=async(e,t,n,i)=>{const r=n.createPopup(Qn(n,e,t,i||e.avatarSrc,this.chatId,this.isMobile),{launcher:"never",showCloseInHeader:!0,messageField:{placeholder:"Ask a question..."}});await r.mount({show:!1}),r.on("close",(()=>{this.hideLauncher=!1}));const o=document.querySelector(".__talkjs_popup");if(!o)throw new Error("Failed to find chat window");o.classList.add("meetelise-chat","pane"),this.isMobile||o.classList.add("launcher__desktop"),o.style.zIndex="99999999999",this.popup=r;const a=sessionStorage.getItem("autoOpenedTimestamp"),s=!a||a&&en(nn(a));e.autoOpenChatWidget&&s&&(this.popup.show(),this.hideLauncher=!0,this.hasMounted=!0,sessionStorage.setItem("autoOpenedTimestamp",Vt(function(e,t){Ee(2,arguments);var n=Ve(t);return Xe(e,6e4*n)}(new Date,15))))},this.firstUpdated=()=>{this.initializeInstanceVariables()},this.attachOnClickToLauncher=()=>{const e=this.launcherRef.value;e&&(e.onChatTapped=async()=>{var e;this.popup&&(this.popup.show(),null===(e=this.analytics)||void 0===e||e.ping("open"),this.hideLauncher=!0,this.hasMounted=!0)})}}pollForYardiCampaignSource(){var e,t,n;(null===(t=null===(e=window.RCTPCampaign)||void 0===e?void 0:e.CampaignDetails)||void 0===t?void 0:t.Source)&&(null===(n=this.analytics)||void 0===n||n.ping("yardi-DNI-init"),this.yardiDNIScriptInterval&&clearInterval(this.yardiDNIScriptInterval))}async restartConversation(){if(!(this.analytics&&this.analytics.chatId&&this.building&&this.popup&&Pi.session))return;this.chatId=Bn(this.orgSlug,this.buildingSlug);const e=await Pi.session;this.analytics.chatId=this.chatId,this.popup.select(Qn(e,this.building,this.theme,this.avatarSrc||this.building.avatarSrc,this.chatId,this.isMobile))}remove(){var e;null===(e=this.popup)||void 0===e||e.destroy()}open(){var e;null===(e=this.popup)||void 0===e||e.show()}close(){var e;null===(e=this.popup)||void 0===e||e.hide()}show(){this.launcher&&(this.launcher.style.display="")}hide(){this.launcher&&(this.launcher.style.display="none")}render(){var e,t,n,i,r,o,a,s,u,l,d,c,p,f,h,m,v,g,y,b,w,S,T;return window.customElements.get("meetelise-launcher")||window.customElements.define("meetelise-launcher",bi),D`
|
|
2150
2150
|
<div
|
|
2151
2151
|
class=${ce({launcherContainer:!0,launcher__mobile:this.isMobile,launcher__desktop:!this.isMobile,"meetelise-chat":!0,launcher:!0,shouldBeVisible:!0})}
|
|
2152
2152
|
>
|
|
@@ -2176,7 +2176,7 @@ var e={8005:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){retur
|
|
|
2176
2176
|
>
|
|
2177
2177
|
</meetelise-launcher>`:""}
|
|
2178
2178
|
</div>
|
|
2179
|
-
`}};
|
|
2179
|
+
`}};qi.styles=a`
|
|
2180
2180
|
:host {
|
|
2181
2181
|
all: initial;
|
|
2182
2182
|
}
|
|
@@ -2189,4 +2189,4 @@ var e={8005:function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){retur
|
|
|
2189
2189
|
width: 100%;
|
|
2190
2190
|
height: 100px;
|
|
2191
2191
|
}
|
|
2192
|
-
`,
|
|
2192
|
+
`,qi.session=Oe.ready.then((()=>{const e=new Oe.User({id:"anonymous",name:"Me",email:null,role:"Default"});return new Oe.Session({appId:"ogKIvCor",me:e})})),Di([oe({type:String})],qi.prototype,"buildingSlug",void 0),Di([oe({type:String})],qi.prototype,"orgSlug",void 0),Di([oe({type:String})],qi.prototype,"themeId",void 0),Di([oe({attribute:!1})],qi.prototype,"avatarSrc",void 0),Di([oe({type:Boolean})],qi.prototype,"useMiniWidget",void 0),Di([oe({type:Object})],qi.prototype,"launcherStyles",void 0),Di([ae()],qi.prototype,"popup",void 0),Di([ae()],qi.prototype,"theme",void 0),Di([ae()],qi.prototype,"chatId",void 0),Di([ae()],qi.prototype,"analytics",void 0),Di([ae()],qi.prototype,"isMobile",void 0),Di([ae()],qi.prototype,"launcher",void 0),Di([ae()],qi.prototype,"building",void 0),Di([ae()],qi.prototype,"hasMounted",void 0),Di([ae()],qi.prototype,"hideLauncher",void 0),qi=Pi=Di([ie("me-chat")],qi);class Ui{static start(e){Ji(),ki();const t=document.createElement("me-chat");t.setAttribute("orgSlug",e.organization),t.setAttribute("buildingSlug",e.building),t.setAttribute("class","meetelise-chat"),e.themeId&&t.setAttribute("themeId",e.themeId),e.avatarSrc&&t.setAttribute("avatarSrc",e.avatarSrc),void 0!==e.mini&&(t.useMiniWidget=e.mini),e.launcherStyles&&(t.launcherStyles=e.launcherStyles),document.body.appendChild(t),Ui.meChat=t}static async restartConversation(){this.meChat&&await this.meChat.restartConversation()}static async remove(){this.meChat&&(await this.meChat.remove(),document.body.removeChild(this.meChat),Ui.meChat=null)}}Ui.meChat=null;const Ji=()=>{const e=document.createElement("link");e.setAttribute("rel","stylesheet"),e.setAttribute("type","text/css"),e.setAttribute("href","https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700;900&display=swap"),document.head.appendChild(e)},ki=()=>{const e=document.createElement("meta");e.setAttribute("name","viewport"),e.setAttribute("content","width=device-width, initial-scale=1, maximum-scale=2"),document.head.appendChild(e)}})();var r=i.Z;export{r as default};
|