System.register(["./p-343b3b10.system.js","./p-e8fb2c75.system.js","./p-52bf2da7.system.js","./p-b195a819.system.js","./p-5f7bc72e.system.js","./p-a56cdd14.system.js","./p-da593370.system.js","./p-6e7162e6.system.js","./p-6e679e9d.system.js","./p-abcb59d4.system.js","./p-ebdd1444.system.js","./p-6c3e6bdc.system.js","./p-356c131c.system.js","./p-d65f6afe.system.js","./p-0aeb0fcc.system.js","./p-dd468f04.system.js","./p-97c19fd0.system.js","./p-5a92fdf2.system.js","./p-93d5c6db.system.js","./p-cb044807.system.js","./p-d309ff13.system.js","./p-ea3ce2c4.system.js","./p-90b7d919.system.js","./p-58d55c18.system.js","./p-26d154e9.system.js","./p-6865bfcd.system.js","./p-bbc2ae3f.system.js","./p-96d13b6e.system.js","./p-54a38b22.system.js","./p-be1abbe7.system.js","./p-cd60ed59.system.js"],(function(e){"use strict";var t,n,s,i,o,c,r;return{setters:[function(e){t=e.r;n=e.c;s=e.h;i=e.H;o=e.g},function(e){c=e.a},function(e){r=e.g},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){}],execute:function(){var a="mentornity-schedule-meeting-button-on-card{height:326px;background:var(--color-background-secondary);padding:calc(2 * var(--spacing-unit)) 0 0 calc(3 * var(--spacing-unit));border-bottom-left-radius:var(--card-corner-radius);border-bottom-right-radius:var(--card-corner-radius)}mentornity-schedule-meeting-button-on-card .title{font-size:var(--font-size-small);margin-left:calc(1 * var(--spacing-unit));color:var(--color-text-secondary)}mentornity-schedule-meeting-button-on-card takvim-available-time-picker>dvn-card{--color-elevated-item-background:var(--color-background-secondary)}mentornity-schedule-meeting-button-on-card takvim-available-time-picker>dvn-date-picker>.calendar-container{--color-elevated-item-background:var(--color-background-secondary)}mentornity-schedule-meeting-button-on-card takvim-available-time-picker-selected-day>dvn-card{--color-elevated-item-background:var(--color-background-secondary)}";var u=e("mentornity_schedule_meeting_button_on_card",function(){function e(e){t(this,e);this.action=n(this,"action",7);this.shouldShow=false}e.prototype.componentWillLoad=function(){var e=this;this.shouldShow=d(this.el);this.currentTimePositionUpdater=setInterval((function(){if(e.shouldShow){return}e.shouldShow=d(e.el)}),1e3)};e.prototype.disconnectedCallback=function(){clearInterval(this.currentTimePositionUpdater)};e.prototype.render=function(){var e;if(!this.shouldShow){return s(i,{class:"d-flex flex-grow-1 align-items-center justify-content-center"},s("dvn-progress",{indefinite:true,tint:"primary"}))}var t=this.item;var n=((e=this.meta)===null||e===void 0?void 0:e.language)||"en";var o=this.meta||{},a=o.mentornityBridgeApi,u=o.apiSozluk,d=o.guestToPassToAvailableTimePickerAsCurrentUser,m=o.userSettings,l=o.membership;return s(i,{class:"d-flex flex-column flex-grow-1"},s("div",{class:"title"},c(n,"getMeeting").toLocaleUpperCase()),s("dvn-app-view-takvim-available-time-picker-view",{apiData:a,apiSozluk:u,apiTakvim:a,apiUye:a,user:d,userSettings:m,membership:l,params:{viewedUserMembership:t},view:r(a.organisationConfig)}))};Object.defineProperty(e.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());function d(e){var t=e.getBoundingClientRect();return t.top>=0&&t.left>=0&&t.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&t.right<=(window.innerWidth||document.documentElement.clientWidth)}u.style=a}}}));