PageSourceSearch

https://visit.gitexdigihealth.com/registration/162-es2015.1125d98b7ef0fe41b732.js

js gitexdigihealth.com collected 2026-10-02 18:00:36 UTC 90,305 bytes, 1 lines download raw bytes

1"use strict";var Pt=Object.defineProperty,kt=Object.defineProperties,$t=Object.getOwnPropertyDescriptors,Se=Object.getOwnPropertySymbols,xt=Object.prototype.hasOwnProperty,Tt=Object.prototype.propertyIsEnumerable,Ce=(e,t,n)=>t in e?Pt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,I=(e,t)=>{for(var n in t||(t={}))xt.call(t,n)&&Ce(e,n,t[n]);if(Se)for(var n of Se(t))Tt.call(t,n)&&Ce(e,n,t[n]);return e},Z=(e,t)=>kt(e,$t(t));(self.webpackChunkgradus=self.webpackChunkgradus||[]).push([[162],{49517:function(e,t,n){n.d(t,{c:function(){return g}});var r=n(76317),o=n(77393);function i(e=-1){return t=>t.lift(new s(e,t))}class s{constructor(e,t){this.count=e,this.source=t}call(e,t){return t.subscribe(new a(e,this.count,this.source))}}class a extends o.L{constructor(e,t,n){super(e),this.count=t,this.source=n}error(e){if(!this.isStopped){const{source:t,count:n}=this;if(0===n)return super.error(e);n>-1&&(this.count=n-1),t.subscribe(this._unsubscribeAndRecycle())}}}var c=n(5304),l=n(40205),d=n(37716),h=n(91841),u=n(51384);let g=(()=>{class e{constructor(e,t){this.http=e,this.authenticationService=t,this.apiServer=r._.settings.apiServer}GetDefaultRoute(){return this.http.get(`${this.apiServer.standardProgramUrl}/public/visitorroute-external-setting`)}GetDefaultInternalRoute(){return this.http.get(`${this.apiServer.standardProgramUrl}/registration-route`)}convertBase64(e){return this.http.post(`${this.apiServer.standardProgramUrl}/Public/convert64/`,e)}saveRegistrationForm(e){return this.http.post(`${this.apiServer.standardProgramUrl}/Registration/GenerateRegistration`,e)}getRegistrationForm(e){return this.http.get(`${this.apiServer.standardProgramUrl}/Form/`+e)}getByRegID(e){return this.http.get(`${this.apiServer.standardProgramUrl}/Registration/`+e)}getThemeSettingById(e){return this.http.get(`${this.apiServer.standardProgramUrl}/ManageThemeSetting/`+e)}getRegistraion(e){return this.http.get(`${this.apiServer.standardProgramUrl}/public/`+e)}GetRegNextStep(e,t){return this.http.get(`${this.apiServer.standardProgramUrl}/Flow/Flows/`+e+"/"+t)}GetPreviousStep(e){return this.http.get(`${this.apiServer.standardProgramUrl}/Flow/PreviousFlow/`+e)}GetRegistraionWithoutAuthByName(e){return this.http.post(`${this.apiServer.standardProgramUrl}/public-registration-route`,{routeName:e})}GetRegistraionByName(e,t){var n={routeName:e};return"Existing"==t?this.http.post(`${this.apiServer.standardProgramUrl}/public-registration-route`,n).pipe(i(2),(0,c.K)(this.handleError)):this.http.post(`${this.apiServer.standardProgramUrl}/registration-route`,n)}getCurrentPageConfigData(e,t){return this.http.get(`${this.apiServer.standardProgramUrl}/registration/`+e+"/configuration?"+t)}GetRegistrationByTransation(e,t,n){return this.http.get(`${this.apiServer.standardProgramUrl}/Transaction/`+e+"/"+t+"/"+n).pipe(i(2),(0,c.K)(this.handleError))}GetRegistrationData(e){return this.http.get(`${this.apiServer.standardProgramUrl}/Transaction/`+e)}getPreloadRegistrationData(e,t){return this.http.get(`${this.apiServer.standardProgramUrl}/registration/loadData/`+e+"?"+t)}deleteMember(e,t,n){return this.http.delete(`${this.apiServer.standardProgramUrl}/registration/`+e+"/Owner/"+t+"/Member/"+n)}deleteData(e){return this.http.delete(`${this.apiServer.standardProgramUrl}/FormBased/delete-invitee/${e}`)}deleteGuest(e,t,n){return this.http.delete(`${this.apiServer.standardProgramUrl}/registration/`+e+"/Owner/"+t+"/InvitedGuest/"+n)}guestNotiSend(e,t){return this.http.get(`${this.apiServer.standardProgramUrl}/FormBased/resendinvitation/${e}/${t}`)}sendConfirmEmail(e){return this.http.get(`${this.apiServer.standardProgramUrl}/formbased/resendNoti/${e}`)}reloginTemplate(e){return this.http.get(`${this.apiServer.standardProgramUrl}/FormBased/ReloginTemplateContent/${e}`)}removeData(e,t){return this.http.post(`${this.apiServer.standardProgramUrl}/registration/form/${e}/data`,t)}removeAdditionalData(e,t){return this.http.post(`${this.apiServer.standardProgramUrl}/registration/form/${e}/datalist`,t)}SaveRegistrationData(e,t,n,r){return this.http.post(`${this.apiServer.standardProgramUrl}/registration/`+t+"/route/"+n+"?"+r,e)}SaveFileUpload(e,t,n,r){return this.http.post(`${this.apiServer.standardProgramUrl}/File/folder/${t}/subfolder/${n}/file/${r}/`,e)}SaveTicketFileUpload(e,t,n){return this.http.post(`${this.apiServer.standardProgramUrl}/order/`+t+"/"+n+"/uploadOrderFiles",e)}GetRegistraionSteps(e,t){return this.http.get(`${this.apiServer.standardProgramUrl}/registration/${e}/steps/${t}`).pipe(i(2),(0,c.K)(this.handleError))}
1IsStepperStep(e){return["Welcome Page"].includes(e)}getTicketList(e,t,n,r){return this.http.get(`${this.apiServer.standardProgramUrl}/registration/`+e+"/TicketDisplaySet/"+t+"?userId="+n+"&referCode=&stepIndex="+r)}getTicketListDetail(e,t,n,r,o,i){return this.http.get(`${this.apiServer.standardProgramUrl}/registration/`+e+"/TicketDisplaySet/"+t+"/Detail/"+r+"?userId="+n+"&referCode=&isEdit="+o+"&stepIndex="+i)}getPriceListTicketType(e,t,n,r){return this.http.get(`${this.apiServer.standardProgramUrl}/registration/`+e+"/"+t+"/priceListTemp/?userId="+r+"&stepIndex="+n)}RetrievePortalUrl(e){return this.http.get(`${this.apiServer.standardProgramUrl}/PayNow?`+e)}RetrieveDataByPortalResult(e){return this.http.get(`${this.apiServer.standardProgramUrl}/PayNow/Result?`+e)}subFlowCheckValidMember(e){return this.http.post(`${this.apiServer.standardProgramUrl}/registration/groupmembervalidate`,e)}CheckValidMember(e,t,n,r,o){return this.http.get(`${this.apiServer.standardProgramUrl}/registration/${e}/Flow/${t}/Owner/${n}/${r}/Memeber/${o}`)}paymentClickEvent(e,t){return this.http.get(`${this.apiServer.standardProgramUrl}/registration/`+e+"/content?"+t)}paymentClickEventInSubflow(e,t){return this.http.get(`${this.apiServer.standardProgramUrl}/registration/subflow/`+e+"/content?"+t)}getAdditionalFormById(e,t){return this.http.get(`${this.apiServer.standardProgramUrl}/public/`+e+"/Form/"+t)}getslotsList(e,t){return this.http.get(`${this.apiServer.standardProgramUrl}/registration/`+e+"/TicketWithQutoa/"+t+"/List")}qandcProceed(e,t){return this.http.get(`${this.apiServer.standardProgramUrl}/registration/Terminate/${e}?${t}`)}rsvpFlow(e,t){return this.http.get(`${this.apiServer.standardProgramUrl}/registration/`+e+"/rsvp?"+t)}getTicketDetails(e,t){return this.http.post(`${this.apiServer.standardProgramUrl}/Order/Tickets?ownerId=${t}`,e)}deleteTicketFile(e){return this.http.post(`${this.apiServer.standardProgramUrl}/order/removeOrderFile/`+e,null)}deleteTicketVerificationFile(e){return this.http.delete(`${this.apiServer.standardProgramUrl}/TicketVerification/`+e)}IsDynamicForm(e){return["Personal Info","Contact Person","Contact Company Info","Delegate Info"].includes(e)}handleError(e){return(0,l._)(e)}get(e){return this.http.get("japan"==e?"assets/data/japan.json":"thailand"==e?"assets/data/thailand.json":"assets/data/english.json")}getRegistantDetailBySysId(e){return this.http.get(`${this.apiServer.standardProgramUrl}/Registration/getmember/${e} `)}getRegistantDetailById(e){return this.http.get(`${this.apiServer.standardProgramUrl}/FormBased/Registrant/${e} `)}validateForm(e,t){return this.http.post(`${this.apiServer.standardProgramUrl}/formbased/validate-form/${t}`,e)}regenerateInvite(e,t){return this.http.post(`${this.apiServer.standardProgramUrl}/formbased/regenerate-reinvite/${t}`,e)}saveCompleteRegistered(e,t,n){return this.http.post(`${this.apiServer.standardProgramUrl}/formbased/update-completedregistrant/${t}/${n}`,e)}getGuestDetailBySysId(e){return this.http.get(`${this.apiServer.standardProgramUrl}/registration/getinvitedguest/${e} `)}getEditOrderByOrderNo(e){return this.http.get(`${this.apiServer.standardProgramUrl}/registration/OrderDetail/${e}`)}getEditOwnerByOwnerId(e){return this.http.get(`${this.apiServer.standardProgramUrl}/formbased/UserDetail/${e}`)}changePaymentType(e,t,n){return this.http.post(`${this.apiServer.standardProgramUrl}/Order/${e}/ChangePaymentType/${t}`,n)}changePackage(e,t,n){return this.http.post(`${this.apiServer.standardProgramUrl}/Order/${e}/ChangePackage/${t}`,n)}getContactPersonToMemberData(e,t,n,r,o){return this.http.get(`${this.apiServer.standardProgramUrl}/registration/loadContactPersonData/`+e+"?transId="+t+"&showId="+n+"&ownerId="+r+"&memberId="+o)}getQADetailBySysId(e){return this.http.get(`${this.apiServer.standardProgramUrl}/Registration/QAForm/${e} `)}resetPasswordData(e,t){return this.http.get(`${this.apiServer.standardProgramUrl}/resetPassword/`+e+"/ForgotPassword/"+t)}resetPassword(e){return this.http.post(`${this.apiServer.standardProgramUrl}/ResetPassword/Reset`,e)}forgetPassword(e){return this.http.post(`${this.apiServer.standardProgramUrl}/ResetPassword/ForgotPassword`,e)}changePassword(e){return this.http.post(`${this.apiServer.standardProgramUrl}/Registration/ChangePassword`,e)}badgePrint(){return this.http.post(`${this.apiServer.standardProgramUrl}/registration/badgeprint`,{})}getEmailConfirmTemplate(e){return this.http.get(`${this.apiServer.standardProgramUrl}/Registration/DefaultEmailComfiration/`+e)}getReloginTemplae(e){return this.http.get(`${this.apiServer.standardProgramUrl}/public/ReloginTemplateContent/${e}`)}sendNotificationToMember(e){return this.http.post(`${this.apiServer.standardProgramUrl}/${e}`,[])}saveBillingUser(e,t,n){return this.http.post(`${this.apiServer.standardProgramUrl}/registration/${t}/billingContact?${n}`,e)}getBillingUser(e,t){return this.http.get(`${this.apiServer.standardProgramUrl}/Registration/loadBillingContactData/${e}?${t}`)}getBillingInfo(e,t){return this.http.get(`${this.apiServer.standardProgramUrl}/Registration/loadSummaryBillingContactData/${e}?${t}`)}GetCountryList(){return this.http.get(`${this.apiServer.standardProgramUrl}/Country`)}inviteGuest(e,t){return this.http.get(`${this.apiServer.standardProgramUrl}/registration/validate/invitationquota/`+e+"/"+t)}InviteGuestWithPromo(e,t,n){return this.http.get(`${this.apiServer.standardProgramUrl}/registration/validate/entitleBasedinvitationquota/${e}/${t}/${n}`)}memberResend(e){return this.http.get(`${this.apiServer.standardProgramUrl}/FormBased/SendConfirmation/`+e)}validTicketEntitlement(e,t,n){return this.http.get(`${this.apiServer.standardProgramUrl}
1/UserEntitlement/validate/tickets/${e}/${t}/${n}`)}regeneratePromo(e){return this.http.post(`${this.apiServer.standardProgramUrl}/FormBased/regenerate-promo/`+e,"")}resubmitChecking(e){return this.http.get(`${this.apiServer.standardProgramUrl}/visitor/resubmit/`+e)}getFormByOwnerId(e){return this.http.get(`${this.apiServer.standardProgramUrl}/registrant/flow-forms/${e} `)}}return e.\u0275fac=function(t){return new(t||e)(d.\u0275\u0275inject(h.HttpClient),d.\u0275\u0275inject(u.$))},e.\u0275prov=d.\u0275\u0275defineInjectable({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},6162:function(e,t,n){n.r(t),n.d(t,{ScheduleModule:function(){return Ye},routes:function(){return Ge}});var r=n(38583),o=n(83668),i=n(24612),s=n(15257),a=n(37716),c=n(88452),l=n(68423),d=n(15956),h=n(49517),u=n(39075),g=n(99226),p=n(91841),m=n(65619),v=n(76317);const f=[0,2e3,1e4,3e4,null];class _{constructor(e){this._retryDelays=void 0!==e?[...e,null]:f}nextRetryDelayInMilliseconds(e){return this._retryDelays[e.previousRetryCount]}}function b(e,t,n,r,o,i,s){try{var a=e[i](s),c=a.value}catch(l){return void n(l)}a.done?t(c):Promise.resolve(c).then(r,o)}function S(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function s(e){b(i,r,o,s,a,"next",e)}function a(e){b(i,r,o,s,a,"throw",e)}s(void 0)})}}let w=(()=>{class e{}return e.Authorization="Authorization",e.Cookie="Cookie",e})();class y{constructor(e,t,n){this.statusCode=e,this.statusText=t,this.content=n}}class C{get(e,t){return this.send(Z(I({},t),{method:"GET",url:e}))}post(e,t){return this.send(Z(I({},t),{method:"POST",url:e}))}delete(e,t){return this.send(Z(I({},t),{method:"DELETE",url:e}))}getCookieString(e){return""}}class E extends C{constructor(e,t){super(),this._innerClient=e,this._accessTokenFactory=t}send(e){var t=this;return S(function*(){let n=!0;t._accessTokenFactory&&(!t._accessToken||e.url&&e.url.indexOf("/negotiate?")>0)&&(n=!1,t._accessToken=yield t._accessTokenFactory()),t._setAuthorizationHeader(e);const r=yield t._innerClient.send(e);return n&&401===r.statusCode&&t._accessTokenFactory?(t._accessToken=yield t._accessTokenFactory(),t._setAuthorizationHeader(e),yield t._innerClient.send(e)):r})()}_setAuthorizationHeader(e){e.headers||(e.headers={}),this._accessToken?e.headers[w.Authorization]=`Bearer ${this._accessToken}`:this._accessTokenFactory&&e.headers[w.Authorization]&&delete e.headers[w.Authorization]}getCookieString(e){return this._innerClient.getCookieString(e)}}class k extends Error{constructor(e,t){const n=new.target.prototype;super(`${e}: Status code '${t}'`),this.statusCode=t,this.__proto__=n}}class P extends Error{constructor(e="A timeout occurred."){const t=new.target.prototype;super(e),this.__proto__=t}}class T extends Error{constructor(e="An abort occurred."){const t=new.target.prototype;super(e),this.__proto__=t}}class x extends Error{constructor(e,t){const n=new.target.prototype;super(e),this.transport=t,this.errorType="UnsupportedTransportError",this.__proto__=n}}class D extends Error{constructor(e,t){const n=new.target.prototype;super(e),this.transport=t,this.errorType="DisabledTransportError",this.__proto__=n}}class R extends Error{constructor(e,t){const n=new.target.prototype;super(e),this.transport=t,this.errorType="FailedToStartTransportError",this.__proto__=n}}class O extends Error{constructor(e){const t=new.target.prototype;super(e),this.errorType="FailedToNegotiateWithServerError",this.__proto__=t}}class U extends Error{constructor(e,t){const n=new.target.prototype;super(e),this.innerErrors=t,this.__proto__=n}}var M=(()=>{return(e=M||(M={}))[e.Trace=0]="Trace",e[e.Debug=1]="Debug",e[e.Information=2]="Information",e[e.Warning=3]="Warning",e[e.Error=4]="Error",e[e.Critical=5]="Critical",e[e.None=6]="None",M;var e})();class L{constructor(){}log(e,t){}}L.instance=new L;class j{static isRequired(e,t){if(null==e)throw new Error(`The '${t}' argument is required.`)}static isNotEmpty(e,t){if(!e||e.match(/^\s*$/))throw new Error(`The '${t}' argument should not be empty.`)}static isIn(e,t,n){if(!(e in t))throw new Error(`Unknown ${n} value: ${e}.`)}}class N{static get isBrowser(){return"object"==typeof window&&"object"==typeof window.document}static get isWebWorker(){return"object"==typeof self&&"importScripts"in self}static get isReactNative(){return"object"==typeof window&&void 0===window.document}static get isNode(){return!this.isBrowser&&!this.isWebWorker&&!this.isReactNative}}function H(e,t){let n="";return F(e)?(n=`Binary data of length ${e.byteLength}`,t&&(n+=`. Content: '${function(e){const t=new Uint8Array(e);let n="";
1return t.forEach(e=>{n+=`0x${e<16?"0":""}${e.toString(16)} `}),n.substr(0,n.length-1)}(e)}'`)):"string"==typeof e&&(n=`String data of length ${e.length}`,t&&(n+=`. Content: '${e}'`)),n}function F(e){return e&&"undefined"!=typeof ArrayBuffer&&(e instanceof ArrayBuffer||e.constructor&&"ArrayBuffer"===e.constructor.name)}function A(e,t,n,r,o,i){return B.apply(this,arguments)}function B(){return(B=S(function*(e,t,n,r,o,i){const s={},[a,c]=z();s[a]=c,e.log(M.Trace,`(${t} transport) sending data. ${H(o,i.logMessageContent)}.`);const l=F(o)?"arraybuffer":"text",d=yield n.post(r,{content:o,headers:I(I({},s),i.headers),responseType:l,timeout:i.timeout,withCredentials:i.withCredentials});e.log(M.Trace,`(${t} transport) request complete. Response status: ${d.statusCode}.`)})).apply(this,arguments)}class W{constructor(e,t){this._subject=e,this._observer=t}dispose(){const e=this._subject.observers.indexOf(this._observer);e>-1&&this._subject.observers.splice(e,1),0===this._subject.observers.length&&this._subject.cancelCallback&&this._subject.cancelCallback().catch(e=>{})}}class q{constructor(e){this._minLevel=e,this.out=console}log(e,t){if(e>=this._minLevel){const n=`[${(new Date).toISOString()}] ${M[e]}: ${t}`;switch(e){case M.Critical:case M.Error:this.out.error(n);break;case M.Warning:this.out.warn(n);break;case M.Information:this.out.info(n);break;default:this.out.log(n)}}}}function z(){let e="X-SignalR-User-Agent";return N.isNode&&(e="User-Agent"),[e,V("7.0.12",G(),N.isNode?"NodeJS":"Browser",Y())]}function V(e,t,n,r){let o="Microsoft SignalR/";const i=e.split(".");return o+=`${i[0]}.${i[1]}`,o+=` (${e}; `,o+=t&&""!==t?`${t}; `:"Unknown OS; ",o+=`${n}`,o+=r?`; ${r}`:"; Unknown Runtime Version",o+=")",o}function G(){if(!N.isNode)return"";switch(process.platform){case"win32":return"Windows NT";case"darwin":return"macOS";case"linux":return"Linux";default:return process.platform}}function Y(){if(N.isNode)return process.versions.node}function K(e){return e.stack?e.stack:e.message?e.message:`${e}`}class X extends C{constructor(e){if(super(),this._logger=e,"undefined"==typeof fetch){const e=require;this._jar=new(e("tough-cookie").CookieJar),this._fetchType=e("node-fetch"),this._fetchType=e("fetch-cookie")(this._fetchType,this._jar)}else this._fetchType=fetch.bind(function(){if("undefined"!=typeof globalThis)return globalThis;if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if("undefined"!=typeof global)return global;throw new Error("could not find global")}());if("undefined"==typeof AbortController){const e=require;this._abortControllerType=e("abort-controller")}else this._abortControllerType=AbortController}send(e){var t=this;return S(function*(){if(e.abortSignal&&e.abortSignal.aborted)throw new T;if(!e.method)throw new Error("No method defined.");if(!e.url)throw new Error("No url defined.");const n=new t._abortControllerType;let r;e.abortSignal&&(e.abortSignal.onabort=()=>{n.abort(),r=new T});let o,i=null;e.timeout&&(i=setTimeout(()=>{n.abort(),t._logger.log(M.Warning,"Timeout from HTTP request."),r=new P},e.timeout)),""===e.content&&(e.content=void 0),e.content&&(e.headers=e.headers||{},e.headers["Content-Type"]=F(e.content)?"application/octet-stream":"text/plain;charset=UTF-8");try{o=yield t._fetchType(e.url,{body:e.content,cache:"no-cache",credentials:!0===e.withCredentials?"include":"same-origin",headers:I({"X-Requested-With":"XMLHttpRequest"},e.headers),method:e.method,mode:"cors",redirect:"follow",signal:n.signal})}catch(a){throw r||(t._logger.log(M.Warning,`Error from HTTP request. ${a}.`),a)}finally{i&&clearTimeout(i),e.abortSignal&&(e.abortSignal.onabort=null)}if(!o.ok){const e=yield Q(o,"text");throw new k(e||o.statusText,o.status)}const s=yield Q(o,e.responseType);return new y(o.status,o.statusText,s)})()}getCookieString(e){let t="";return N.isNode&&this._jar&&this._jar.getCookies(e,(e,n)=>t=n.join("; ")),t}}function Q(e,t){let n;switch(t){case"arraybuffer":n=e.arrayBuffer();break;case"text":n=e.text();break;case"blob":case"document":case"json":throw new Error(`${t} is not supported.`);default:n=e.text()}return n}class J extends C{constructor(e){super(),this._logger=e}send(e){return e.abortSignal&&e.abortSignal.aborted?Promise.reject(new T):e.method?e.url?new Promise((t,n)=>{const r=new XMLHttpRequest;r.open(e.method,e.url,!0),r.withCredentials=void 0===e.withCredentials||e.withCredentials,r.setRequestHeader("X-Requested-With","XMLHttpRequest"),""===e.content&&(e.content=void 0),e.content&&(F(e.content)?r.setRequestHeader("Content-Type","application/octet-stream"):r.setRequestHeader("Content-Type","text/plain;charset=UTF-8"));const o=e.headers;
1o&&Object.keys(o).forEach(e=>{r.setRequestHeader(e,o[e])}),e.responseType&&(r.responseType=e.responseType),e.abortSignal&&(e.abortSignal.onabort=()=>{r.abort(),n(new T)}),e.timeout&&(r.timeout=e.timeout),r.onload=()=>{e.abortSignal&&(e.abortSignal.onabort=null),r.status>=200&&r.status<300?t(new y(r.status,r.statusText,r.response||r.responseText)):n(new k(r.response||r.responseText||r.statusText,r.status))},r.onerror=()=>{this._logger.log(M.Warning,`Error from HTTP request. ${r.status}: ${r.statusText}.`),n(new k(r.statusText,r.status))},r.ontimeout=()=>{this._logger.log(M.Warning,"Timeout from HTTP request."),n(new P)},r.send(e.content)}):Promise.reject(new Error("No url defined.")):Promise.reject(new Error("No method defined."))}}class ee extends C{constructor(e){if(super(),"undefined"!=typeof fetch||N.isNode)this._httpClient=new X(e);else{if("undefined"==typeof XMLHttpRequest)throw new Error("No usable HttpClient found.");this._httpClient=new J(e)}}send(e){return e.abortSignal&&e.abortSignal.aborted?Promise.reject(new T):e.method?e.url?this._httpClient.send(e):Promise.reject(new Error("No url defined.")):Promise.reject(new Error("No method defined."))}getCookieString(e){return this._httpClient.getCookieString(e)}}var te=(()=>{return(e=te||(te={}))[e.None=0]="None",e[e.WebSockets=1]="WebSockets",e[e.ServerSentEvents=2]="ServerSentEvents",e[e.LongPolling=4]="LongPolling",te;var e})(),ne=(()=>{return(e=ne||(ne={}))[e.Text=1]="Text",e[e.Binary=2]="Binary",ne;var e})();class re{constructor(){this._isAborted=!1,this.onabort=null}abort(){this._isAborted||(this._isAborted=!0,this.onabort&&this.onabort())}get signal(){return this}get aborted(){return this._isAborted}}class oe{constructor(e,t,n){this._httpClient=e,this._logger=t,this._pollAbort=new re,this._options=n,this._running=!1,this.onreceive=null,this.onclose=null}get pollAborted(){return this._pollAbort.aborted}connect(e,t){var n=this;return S(function*(){if(j.isRequired(e,"url"),j.isRequired(t,"transferFormat"),j.isIn(t,ne,"transferFormat"),n._url=e,n._logger.log(M.Trace,"(LongPolling transport) Connecting."),t===ne.Binary&&"undefined"!=typeof XMLHttpRequest&&"string"!=typeof(new XMLHttpRequest).responseType)throw new Error("Binary protocols over XmlHttpRequest not implementing advanced features are not supported.");const[r,o]=z(),i=I({[r]:o},n._options.headers),s={abortSignal:n._pollAbort.signal,headers:i,timeout:1e5,withCredentials:n._options.withCredentials};t===ne.Binary&&(s.responseType="arraybuffer");const a=`${e}&_=${Date.now()}`;n._logger.log(M.Trace,`(LongPolling transport) polling: ${a}.`);const c=yield n._httpClient.get(a,s);200!==c.statusCode?(n._logger.log(M.Error,`(LongPolling transport) Unexpected response code: ${c.statusCode}.`),n._closeError=new k(c.statusText||"",c.statusCode),n._running=!1):n._running=!0,n._receiving=n._poll(n._url,s)})()}_poll(e,t){var n=this;return S(function*(){try{for(;n._running;)try{const r=`${e}&_=${Date.now()}`;n._logger.log(M.Trace,`(LongPolling transport) polling: ${r}.`);const o=yield n._httpClient.get(r,t);204===o.statusCode?(n._logger.log(M.Information,"(LongPolling transport) Poll terminated by server."),n._running=!1):200!==o.statusCode?(n._logger.log(M.Error,`(LongPolling transport) Unexpected response code: ${o.statusCode}.`),n._closeError=new k(o.statusText||"",o.statusCode),n._running=!1):o.content?(n._logger.log(M.Trace,`(LongPolling transport) data received. ${H(o.content,n._options.logMessageContent)}.`),n.onreceive&&n.onreceive(o.content)):n._logger.log(M.Trace,"(LongPolling transport) Poll timed out, reissuing.")}catch(r){n._running?r instanceof P?n._logger.log(M.Trace,"(LongPolling transport) Poll timed out, reissuing."):(n._closeError=r,n._running=!1):n._logger.log(M.Trace,`(LongPolling transport) Poll errored after shutdown: ${r.message}`)}}finally{n._logger.log(M.Trace,"(LongPolling transport) Polling complete."),n.pollAborted||n._raiseOnClose()}})()}send(e){var t=this;return S(function*(){return t._running?A(t._logger,"LongPolling",t._httpClient,t._url,e,t._options):Promise.reject(new Error("Cannot send until the transport is connected"))})()}stop(){var e=this;return S(function*(){e._logger.log(M.Trace,"(LongPolling transport) Stopping polling."),e._running=!1,e._pollAbort.abort();try{yield e._receiving,e._logger.log(M.Trace,`(LongPolling transport) sending DELETE request to ${e._url}.`);const t={},[n,r]=z();t[n]=r;const o={headers:I(I({},t),e._options.headers),timeout:e._options.timeout,withCredentials:e._options.withCredentials};yield e._httpClient.delete(e._url,o),e._logger.log(M.Trace,"(LongPolling transport) DELETE request sent.")}finally{e._logger.log(M.Trace,"(LongPolling transport) Stop finished."),e._raiseOnClose()}})()}_raiseOnClose(){if(this.onclose){let e="(LongPolling transport) Firing onclose event.";this._closeError&&(e+=" Error: "+this._closeError),this._logger.log(M.Trace,e),this.onclose(this._closeError)}}}class ie{constructor(e,t,n,r){this._httpClient=e,this._accessToken=t,this._logger=n,this._options=r,this.onreceive=null,this.onclose
1=null}connect(e,t){var n=this;return S(function*(){return j.isRequired(e,"url"),j.isRequired(t,"transferFormat"),j.isIn(t,ne,"transferFormat"),n._logger.log(M.Trace,"(SSE transport) Connecting."),n._url=e,n._accessToken&&(e+=(e.indexOf("?")<0?"?":"&")+`access_token=${encodeURIComponent(n._accessToken)}`),new Promise((r,o)=>{let i,s=!1;if(t===ne.Text){if(N.isBrowser||N.isWebWorker)i=new n._options.EventSource(e,{withCredentials:n._options.withCredentials});else{const t=n._httpClient.getCookieString(e),r={};r.Cookie=t;const[o,s]=z();r[o]=s,i=new n._options.EventSource(e,{withCredentials:n._options.withCredentials,headers:I(I({},r),n._options.headers)})}try{i.onmessage=e=>{if(n.onreceive)try{n._logger.log(M.Trace,`(SSE transport) data received. ${H(e.data,n._options.logMessageContent)}.`),n.onreceive(e.data)}catch(t){return void n._close(t)}},i.onerror=e=>{s?n._close():o(new Error("EventSource failed to connect. The connection could not be found on the server, either the connection ID is not present on the server, or a proxy is refusing/buffering the connection. If you have multiple servers check that sticky sessions are enabled."))},i.onopen=()=>{n._logger.log(M.Information,`SSE connected to ${n._url}`),n._eventSource=i,s=!0,r()}}catch(a){return void o(a)}}else o(new Error("The Server-Sent Events transport only supports the 'Text' transfer format"))})})()}send(e){var t=this;return S(function*(){return t._eventSource?A(t._logger,"SSE",t._httpClient,t._url,e,t._options):Promise.reject(new Error("Cannot send until the transport is connected"))})()}stop(){return this._close(),Promise.resolve()}_close(e){this._eventSource&&(this._eventSource.close(),this._eventSource=void 0,this.onclose&&this.onclose(e))}}class se{constructor(e,t,n,r,o,i){this._logger=n,this._accessTokenFactory=t,this._logMessageContent=r,this._webSocketConstructor=o,this._httpClient=e,this.onreceive=null,this.onclose=null,this._headers=i}connect(e,t){var n=this;return S(function*(){let r;return j.isRequired(e,"url"),j.isRequired(t,"transferFormat"),j.isIn(t,ne,"transferFormat"),n._logger.log(M.Trace,"(WebSockets transport) Connecting."),n._accessTokenFactory&&(r=yield n._accessTokenFactory()),new Promise((o,i)=>{let s;e=e.replace(/^http/,"ws");const a=n._httpClient.getCookieString(e);let c=!1;if(N.isNode||N.isReactNative){const t={},[o,i]=z();t[o]=i,r&&(t[w.Authorization]=`Bearer ${r}`),a&&(t[w.Cookie]=a),s=new n._webSocketConstructor(e,void 0,{headers:I(I({},t),n._headers)})}else r&&(e+=(e.indexOf("?")<0?"?":"&")+`access_token=${encodeURIComponent(r)}`);s||(s=new n._webSocketConstructor(e)),t===ne.Binary&&(s.binaryType="arraybuffer"),s.onopen=t=>{n._logger.log(M.Information,`WebSocket connected to ${e}.`),n._webSocket=s,c=!0,o()},s.onerror=e=>{let t=null;t="undefined"!=typeof ErrorEvent&&e instanceof ErrorEvent?e.error:"There was an error with the transport",n._logger.log(M.Information,`(WebSockets transport) ${t}.`)},s.onmessage=e=>{if(n._logger.log(M.Trace,`(WebSockets transport) data received. ${H(e.data,n._logMessageContent)}.`),n.onreceive)try{n.onreceive(e.data)}catch(t){return void n._close(t)}},s.onclose=e=>{if(c)n._close(e);else{let t=null;t="undefined"!=typeof ErrorEvent&&e instanceof ErrorEvent?e.error:"WebSocket failed to connect. The connection could not be found on the server, either the endpoint may not be a SignalR endpoint, the connection ID is not present on the server, or there is a proxy blocking WebSockets. If you have multiple servers check that sticky sessions are enabled.",i(new Error(t))}}})})()}send(e){return this._webSocket&&this._webSocket.readyState===this._webSocketConstructor.OPEN?(this._logger.log(M.Trace,`(WebSockets transport) sending data. ${H(e,this._logMessageContent)}.`),this._webSocket.send(e),Promise.resolve()):Promise.reject("WebSocket is not in the OPEN state")}stop(){return this._webSocket&&this._close(void 0),Promise.resolve()}_close(e){this._webSocket&&(this._webSocket.onclose=()=>{},this._webSocket.onmessage=()=>{},this._webSocket.onerror=()=>{},this._webSocket.close(),this._webSocket=void 0),this._logger.log(M.Trace,"(WebSockets transport) socket closed."),this.onclose&&(!this._isCloseEvent(e)||!1!==e.wasClean&&1e3===e.code?e instanceof Error?this.onclose(e):this.onclose():this.onclose(new Error(`WebSocket closed with status code: ${e.code} (${e.reason||"no reason given"}).`)))}_isCloseEvent(e){return e&&"boolean"==typeof e.wasClean&&"number"==typeof e.code}}class ae{constructor(e,t={}){if(this._stopPromiseResolver=()=>{},this.features={},this._negotiateVersion=1,j.isRequired(e,"url"),this._logger=void 0===(n=t.logger)?new q(M.Information):null===n?L.instance:void 0!==n.log?n:new q(n),this.baseUrl=this._resolveUrl(e),(t=t||{}).logMessageContent=void 0!==t.logMessageContent&&t.logMessageContent,"boolean"!=typeof t.withCredentials&&void 0!==t.withCredentials)throw new Error("withCredentials option was not a 'boolean' or 'undefined' value");var n;t.withCredentials=void 0===t.withCredentials||t.withCredentials,t.timeout=void 0===t.timeout?1e5:t.timeout;let r=null,o=null;if(N.isNode){const e=require;r=e("ws"),o=e("eventsource")}N.isNode||"undefined"==typeof WebSocket||t.WebSocket?N.isNode&&!t.WebSocket&&r&&(t.WebSocket=r):t.WebSocket=WebSocket,N.isNode||"undefined"==typeof EventSource||t.EventSource?N.isNode&&!t.EventSource&&void 0!==o&&(t.EventSource=o):t.EventSource=EventSource,this._httpClient=new E(t.httpClient||new ee(this._logger),t.accessTokenFactory),this._connectionState="Disconnected",this._connectionStarted=!1,this._options=t,this.onreceive=null,this.onclose
1=null}start(e){var t=this;return S(function*(){if(j.isIn(e=e||ne.Binary,ne,"transferFormat"),t._logger.log(M.Debug,`Starting connection with transfer format '${ne[e]}'.`),"Disconnected"!==t._connectionState)return Promise.reject(new Error("Cannot start an HttpConnection that is not in the 'Disconnected' state."));if(t._connectionState="Connecting",t._startInternalPromise=t._startInternal(e),yield t._startInternalPromise,"Disconnecting"===t._connectionState){const e="Failed to start the HttpConnection before stop() was called.";return t._logger.log(M.Error,e),yield t._stopPromise,Promise.reject(new T(e))}if("Connected"!==t._connectionState){const e="HttpConnection.startInternal completed gracefully but didn't enter the connection into the connected state!";return t._logger.log(M.Error,e),Promise.reject(new T(e))}t._connectionStarted=!0})()}send(e){return"Connected"!==this._connectionState?Promise.reject(new Error("Cannot send data if the connection is not in the 'Connected' State.")):(this._sendQueue||(this._sendQueue=new ce(this.transport)),this._sendQueue.send(e))}stop(e){var t=this;return S(function*(){return"Disconnected"===t._connectionState?(t._logger.log(M.Debug,`Call to HttpConnection.stop(${e}) ignored because the connection is already in the disconnected state.`),Promise.resolve()):"Disconnecting"===t._connectionState?(t._logger.log(M.Debug,`Call to HttpConnection.stop(${e}) ignored because the connection is already in the disconnecting state.`),t._stopPromise):(t._connectionState="Disconnecting",t._stopPromise=new Promise(e=>{t._stopPromiseResolver=e}),yield t._stopInternal(e),void(yield t._stopPromise))})()}_stopInternal(e){var t=this;return S(function*(){t._stopError=e;try{yield t._startInternalPromise}catch(n){}if(t.transport){try{yield t.transport.stop()}catch(n){t._logger.log(M.Error,`HttpConnection.transport.stop() threw error '${n}'.`),t._stopConnection()}t.transport=void 0}else t._logger.log(M.Debug,"HttpConnection.transport is undefined in HttpConnection.stop() because start() failed.")})()}_startInternal(e){var t=this;return S(function*(){let n=t.baseUrl;t._accessTokenFactory=t._options.accessTokenFactory,t._httpClient._accessTokenFactory=t._accessTokenFactory;try{if(t._options.skipNegotiation){if(t._options.transport!==te.WebSockets)throw new Error("Negotiation can only be skipped when using the WebSocket transport directly.");t.transport=t._constructTransport(te.WebSockets),yield t._startTransport(n,e)}else{let r=null,o=0;do{if(r=yield t._getNegotiationResponse(n),"Disconnecting"===t._connectionState||"Disconnected"===t._connectionState)throw new T("The connection was stopped during negotiation.");if(r.error)throw new Error(r.error);if(r.ProtocolVersion)throw new Error("Detected a connection attempt to an ASP.NET SignalR Server. This client only supports connecting to an ASP.NET Core SignalR Server. See https://aka.ms/signalr-core-differences for details.");if(r.url&&(n=r.url),r.accessToken){const e=r.accessToken;t._accessTokenFactory=()=>e,t._httpClient._accessToken=e,t._httpClient._accessTokenFactory=void 0}o++}while(r.url&&o<100);if(100===o&&r.url)throw new Error("Negotiate redirection limit exceeded.");yield t._createTransport(n,t._options.transport,r,e)}t.transport instanceof oe&&(t.features.inherentKeepAlive=!0),"Connecting"===t._connectionState&&(t._logger.log(M.Debug,"The HttpConnection connected successfully."),t._connectionState="Connected")}catch(r){return t._logger.log(M.Error,"Failed to start the connection: "+r),t._connectionState="Disconnected",t.transport=void 0,t._stopPromiseResolver(),Promise.reject(r)}})()}_getNegotiationResponse(e){var t=this;return S(function*(){const n={},[r,o]=z();n[r]=o;const i=t._resolveNegotiateUrl(e);t._logger.log(M.Debug,`Sending negotiation request: ${i}.`);try{const e=yield t._httpClient.post(i,{content:"",headers:I(I({},n),t._options.headers),timeout:t._options.timeout,withCredentials:t._options.withCredentials});if(200!==e.statusCode)return Promise.reject(new Error(`Unexpected status code returned from negotiate '${e.statusCode}'`));const r=JSON.parse(e.content);return(!r.negotiateVersion||r.negotiateVersion<1)&&(r.connectionToken=r.connectionId),r}catch(s){let e="Failed to complete negotiation with the server: "+s;return s instanceof k&&404===s.statusCode&&(e+=" Either this is not a SignalR endpoint or there is a proxy blocking the connection."),t._logger.log(M.Error,e),Promise.reject(new O(e))}})()}_createConnectUrl(e,t){return t?e+(-1===e.indexOf("?")?"?":"&")+`id=${t}`:e}_createTransport(e,t,n,r){var o=this;return S(function*(){let i=o._createConnectUrl(e,n.connectionToken);if(o._isITransport(t))return o._logger.log(M.Debug,"Connection was provided an instance of ITransport, using that directly."),o.transport=t,yield o._startTransport(i,r),void(o.connectionId=n.connectionId);const s=[],a=n.availableTransports||[];let c=n;for(const n of a){const a=o._resolveTransportOrError(n,t,r);if(a instanceof Error)s.push(`${n.transport} failed:`),s.push(a);else if(o._isITransport(a)){if(o.transport=a,!c){try{c=yield o._getNegotiationResponse(e)}catch(l){return Promise.reject(l)}i=o._createConnectUrl(e,c.connectionToken)}try{return yield o._startTransport(i,r),void(o.connectionId=c.connectionId)}catch(l){if(o._logger.log(M.Error,`Failed to start the transport '${n.transport}': ${l}`),c=void 0,s.push(new R(`${n.transport} failed: ${l}`,te[n.transport])),"Connecting"!==o._connectionState){const e="Failed to select transport before stop() was called.";return o._logger.log(M.Debug,e),Promise.reject(new T(e))}}}}return Promise.reject(s.length>0?new U(`Unable to connect to the server with any of the available transports. ${s.join(" ")}`,s):new Error("None of the transports supported by the client are supported by the server."))})()}
1_constructTransport(e){switch(e){case te.WebSockets:if(!this._options.WebSocket)throw new Error("'WebSocket' is not supported in your environment.");return new se(this._httpClient,this._accessTokenFactory,this._logger,this._options.logMessageContent,this._options.WebSocket,this._options.headers||{});case te.ServerSentEvents:if(!this._options.EventSource)throw new Error("'EventSource' is not supported in your environment.");return new ie(this._httpClient,this._httpClient._accessToken,this._logger,this._options);case te.LongPolling:return new oe(this._httpClient,this._logger,this._options);default:throw new Error(`Unknown transport: ${e}.`)}}_startTransport(e,t){return this.transport.onreceive=this.onreceive,this.transport.onclose=e=>this._stopConnection(e),this.transport.connect(e,t)}_resolveTransportOrError(e,t,n){const r=te[e.transport];if(null==r)return this._logger.log(M.Debug,`Skipping transport '${e.transport}' because it is not supported by this client.`),new Error(`Skipping transport '${e.transport}' because it is not supported by this client.`);if(!function(e,t){return!e||0!=(t&e)}(t,r))return this._logger.log(M.Debug,`Skipping transport '${te[r]}' because it was disabled by the client.`),new D(`'${te[r]}' is disabled by the client.`,r);if(!(e.transferFormats.map(e=>ne[e]).indexOf(n)>=0))return this._logger.log(M.Debug,`Skipping transport '${te[r]}' because it does not support the requested transfer format '${ne[n]}'.`),new Error(`'${te[r]}' does not support ${ne[n]}.`);if(r===te.WebSockets&&!this._options.WebSocket||r===te.ServerSentEvents&&!this._options.EventSource)return this._logger.log(M.Debug,`Skipping transport '${te[r]}' because it is not supported in your environment.'`),new x(`'${te[r]}' is not supported in your environment.`,r);this._logger.log(M.Debug,`Selecting transport '${te[r]}'.`);try{return this._constructTransport(r)}catch(o){return o}}_isITransport(e){return e&&"object"==typeof e&&"connect"in e}_stopConnection(e){if(this._logger.log(M.Debug,`HttpConnection.stopConnection(${e}) called while in state ${this._connectionState}.`),this.transport=void 0,e=this._stopError||e,this._stopError=void 0,"Disconnected"!==this._connectionState){if("Connecting"===this._connectionState)throw this._logger.log(M.Warning,`Call to HttpConnection.stopConnection(${e}) was ignored because the connection is still in the connecting state.`),new Error(`HttpConnection.stopConnection(${e}) was called while the connection is still in the connecting state.`);if("Disconnecting"===this._connectionState&&this._stopPromiseResolver(),e?this._logger.log(M.Error,`Connection disconnected with error '${e}'.`):this._logger.log(M.Information,"Connection disconnected."),this._sendQueue&&(this._sendQueue.stop().catch(e=>{this._logger.log(M.Error,`TransportSendQueue.stop() threw error '${e}'.`)}),this._sendQueue=void 0),this.connectionId=void 0,this._connectionState="Disconnected",this._connectionStarted){this._connectionStarted=!1;try{this.onclose&&this.onclose(e)}catch(t){this._logger.log(M.Error,`HttpConnection.onclose(${e}) threw error '${t}'.`)}}}else this._logger.log(M.Debug,`Call to HttpConnection.stopConnection(${e}) was ignored because the connection is already in the disconnected state.`)}_resolveUrl(e){if(0===e.lastIndexOf("https://",0)||0===e.lastIndexOf("http://",0))return e;if(!N.isBrowser)throw new Error(`Cannot resolve '${e}'.`);const t=window.document.createElement("a");return t.href=e,this._logger.log(M.Information,`Normalizing '${e}' to '${t.href}'.`),t.href}_resolveNegotiateUrl(e){const t=e.indexOf("?");let n=e.substring(0,-1===t?e.length:t);return"/"!==n[n.length-1]&&(n+="/"),n+="negotiate",n+=-1===t?"":e.substring(t),-1===n.indexOf("negotiateVersion")&&(n+=-1===t?"?":"&",n+="negotiateVersion="+this._negotiateVersion),n}}class ce{constructor(e){this._transport=e,this._buffer=[],this._executing=!0,this._sendBufferedData=new le,this._transportResult=new le,this._sendLoopPromise=this._sendLoop()}send(e){return this._bufferData(e),this._transportResult||(this._transportResult=new le),this._transportResult.promise}stop(){return this._executing=!1,this._sendBufferedData.resolve(),this._sendLoopPromise}_bufferData(e){if(this._buffer.length&&typeof this._buffer[0]!=typeof e)throw new Error(`Expected data to be of type ${typeof this._buffer} but was of type ${typeof e}`);this._buffer.push(e),this._sendBufferedData.resolve()}_sendLoop(){var e=this;return S(function*(){for(;;){if(yield e._sendBufferedData.promise,!e._executing){e._transportResult&&e._transportResult.reject("Connection stopped.");break}e._sendBufferedData=new le;const n=e._transportResult;e._transportResult=void 0;const r="string"==typeof e._buffer[0]?e._buffer.join(""):ce._concatBuffers(e._buffer);e._buffer.length=0;try{yield e._transport.send(r),n.resolve()}catch(t){n.reject(t)}}})()}static _concatBuffers(e){const t=e.map(e=>e.byteLength).reduce((e,t)=>
1e+t),n=new Uint8Array(t);let r=0;for(const o of e)n.set(new Uint8Array(o),r),r+=o.byteLength;return n.buffer}}class le{constructor(){this.promise=new Promise((e,t)=>[this._resolver,this._rejecter]=[e,t])}resolve(){this._resolver()}reject(e){this._rejecter(e)}}class de{static write(e){return`${e}${de.RecordSeparator}`}static parse(e){if(e[e.length-1]!==de.RecordSeparator)throw new Error("Message is incomplete.");const t=e.split(de.RecordSeparator);return t.pop(),t}}de.RecordSeparatorCode=30,de.RecordSeparator=String.fromCharCode(de.RecordSeparatorCode);class he{writeHandshakeRequest(e){return de.write(JSON.stringify(e))}parseHandshakeResponse(e){let t,n;if(F(e)){const r=new Uint8Array(e),o=r.indexOf(de.RecordSeparatorCode);if(-1===o)throw new Error("Message is incomplete.");const i=o+1;t=String.fromCharCode.apply(null,Array.prototype.slice.call(r.slice(0,i))),n=r.byteLength>i?r.slice(i).buffer:null}else{const r=e,o=r.indexOf(de.RecordSeparator);if(-1===o)throw new Error("Message is incomplete.");const i=o+1;t=r.substring(0,i),n=r.length>i?r.substring(i):null}const r=de.parse(t),o=JSON.parse(r[0]);if(o.type)throw new Error("Expected a handshake response from the server.");return[n,o]}}var ue=(()=>{return(e=ue||(ue={}))[e.Invocation=1]="Invocation",e[e.StreamItem=2]="StreamItem",e[e.Completion=3]="Completion",e[e.StreamInvocation=4]="StreamInvocation",e[e.CancelInvocation=5]="CancelInvocation",e[e.Ping=6]="Ping",e[e.Close=7]="Close",ue;var e})();class ge{constructor(){this.observers=[]}next(e){for(const t of this.observers)t.next(e)}error(e){for(const t of this.observers)t.error&&t.error(e)}complete(){for(const e of this.observers)e.complete&&e.complete()}subscribe(e){return this.observers.push(e),new W(this,e)}}var pe=(()=>{return(e=pe||(pe={})).Disconnected="Disconnected",e.Connecting="Connecting",e.Connected="Connected",e.Disconnecting="Disconnecting",e.Reconnecting="Reconnecting",pe;var e})();class me{constructor(e,t,n,r){this._nextKeepAlive=0,this._freezeEventListener=()=>{this._logger.log(M.Warning,"The page is being frozen, this will likely lead to the connection being closed and messages being lost. For more information see the docs at https://docs.microsoft.com/aspnet/core/signalr/javascript-client#bsleep")},j.isRequired(e,"connection"),j.isRequired(t,"logger"),j.isRequired(n,"protocol"),this.serverTimeoutInMilliseconds=3e4,this.keepAliveIntervalInMilliseconds=15e3,this._logger=t,this._protocol=n,this.connection=e,this._reconnectPolicy=r,this._handshakeProtocol=new he,this.connection.onreceive=e=>this._processIncomingData(e),this.connection.onclose=e=>this._connectionClosed(e),this._callbacks={},this._methods={},this._closedCallbacks=[],this._reconnectingCallbacks=[],this._reconnectedCallbacks=[],this._invocationId=0,this._receivedHandshakeResponse=!1,this._connectionState=pe.Disconnected,this._connectionStarted=!1,this._cachedPingMessage=this._protocol.writeMessage({type:ue.Ping})}static create(e,t,n,r){return new me(e,t,n,r)}get state(){return this._connectionState}get connectionId(){return this.connection&&this.connection.connectionId||null}get baseUrl(){return this.connection.baseUrl||""}set baseUrl(e){if(this._connectionState!==pe.Disconnected&&this._connectionState!==pe.Reconnecting)throw new Error("The HubConnection must be in the Disconnected or Reconnecting state to change the url.");if(!e)throw new Error("The HubConnection url must be a valid url.");this.connection.baseUrl=e}start(){return this._startPromise=this._startWithStateTransitions(),this._startPromise}_startWithStateTransitions(){var e=this;return S(function*(){if(e._connectionState!==pe.Disconnected)return Promise.reject(new Error("Cannot start a HubConnection that is not in the 'Disconnected' state."));e._connectionState=pe.Connecting,e._logger.log(M.Debug,"Starting HubConnection.");try{yield e._startInternal(),N.isBrowser&&window.document.addEventListener("freeze",e._freezeEventListener),e._connectionState=pe.Connected,e._connectionStarted=!0,e._logger.log(M.Debug,"HubConnection connected successfully.")}catch(t){return e._connectionState=pe.Disconnected,e._logger.log(M.Debug,`HubConnection failed to start successfully because of error '${t}'.`),Promise.reject(t)}})()}_startInternal(){var e=this;return S(function*(){e._stopDuringStartError=void 0,e._receivedHandshakeResponse=!1;const t=new Promise((t,n)=>{e._handshakeResolver=t,e._handshakeRejecter=n});yield e.connection.start(e._protocol.transferFormat);try{const n={protocol:e._protocol.name,version:e._protocol.version};if(e._logger.log(M.Debug,"Sending handshake request."),yield e._sendMessage(e._handshakeProtocol.writeHandshakeRequest
1(n)),e._logger.log(M.Information,`Using HubProtocol '${e._protocol.name}'.`),e._cleanupTimeout(),e._resetTimeoutPeriod(),e._resetKeepAliveInterval(),yield t,e._stopDuringStartError)throw e._stopDuringStartError;e.connection.features.inherentKeepAlive||(yield e._sendMessage(e._cachedPingMessage))}catch(n){throw e._logger.log(M.Debug,`Hub handshake failed with error '${n}' during start(). Stopping HubConnection.`),e._cleanupTimeout(),e._cleanupPingTimer(),yield e.connection.stop(n),n}})()}stop(){var e=this;return S(function*(){const t=e._startPromise;e._stopPromise=e._stopInternal(),yield e._stopPromise;try{yield t}catch(n){}})()}_stopInternal(e){return this._connectionState===pe.Disconnected?(this._logger.log(M.Debug,`Call to HubConnection.stop(${e}) ignored because it is already in the disconnected state.`),Promise.resolve()):this._connectionState===pe.Disconnecting?(this._logger.log(M.Debug,`Call to HttpConnection.stop(${e}) ignored because the connection is already in the disconnecting state.`),this._stopPromise):(this._connectionState=pe.Disconnecting,this._logger.log(M.Debug,"Stopping HubConnection."),this._reconnectDelayHandle?(this._logger.log(M.Debug,"Connection stopped during reconnect delay. Done reconnecting."),clearTimeout(this._reconnectDelayHandle),this._reconnectDelayHandle=void 0,this._completeClose(),Promise.resolve()):(this._cleanupTimeout(),this._cleanupPingTimer(),this._stopDuringStartError=e||new T("The connection was stopped before the hub handshake could complete."),this.connection.stop(e)))}stream(e,...t){const[n,r]=this._replaceStreamingParams(t),o=this._createStreamInvocation(e,t,r);let i;const s=new ge;return s.cancelCallback=()=>{const e=this._createCancelInvocation(o.invocationId);return delete this._callbacks[o.invocationId],i.then(()=>this._sendWithProtocol(e))},this._callbacks[o.invocationId]=(e,t)=>{t?s.error(t):e&&(e.type===ue.Completion?e.error?s.error(new Error(e.error)):s.complete():s.next(e.item))},i=this._sendWithProtocol(o).catch(e=>{s.error(e),delete this._callbacks[o.invocationId]}),this._launchStreams(n,i),s}_sendMessage(e){return this._resetKeepAliveInterval(),this.connection.send(e)}_sendWithProtocol(e){return this._sendMessage(this._protocol.writeMessage(e))}send(e,...t){const[n,r]=this._replaceStreamingParams(t),o=this._sendWithProtocol(this._createInvocation(e,t,!0,r));return this._launchStreams(n,o),o}invoke(e,...t){const[n,r]=this._replaceStreamingParams(t),o=this._createInvocation(e,t,!1,r);return new Promise((e,t)=>{this._callbacks[o.invocationId]=(n,r)=>{r?t(r):n&&(n.type===ue.Completion?n.error?t(new Error(n.error)):e(n.result):t(new Error(`Unexpected message type: ${n.type}`)))};const r=this._sendWithProtocol(o).catch(e=>{t(e),delete this._callbacks[o.invocationId]});this._launchStreams(n,r)})}on(e,t){!e||!t||(e=e.toLowerCase(),this._methods[e]||(this._methods[e]=[]),-1===this._methods[e].indexOf(t)&&this._methods[e].push(t))}off(e,t){if(!e)return;e=e.toLowerCase();const n=this._methods[e];if(n)if(t){const r=n.indexOf(t);-1!==r&&(n.splice(r,1),0===n.length&&delete this._methods[e])}else delete this._methods[e]}onclose(e){e&&this._closedCallbacks.push(e)}onreconnecting(e){e&&this._reconnectingCallbacks.push(e)}onreconnected(e){e&&this._reconnectedCallbacks.push(e)}_processIncomingData(e){if(this._cleanupTimeout(),this._receivedHandshakeResponse||(e=this._processHandshakeResponse(e),this._receivedHandshakeResponse=!0),e){const n=this._protocol.parseMessages(e,this._logger);for(const e of n)switch(e.type){case ue.Invocation:this._invokeClientMethod(e);break;case ue.StreamItem:case ue.Completion:{const n=this._callbacks[e.invocationId];if(n){e.type===ue.Completion&&delete this._callbacks[e.invocationId];try{n(e)}catch(t){this._logger.log(M.Error,`Stream callback threw error: ${K(t)}`)}}break}case ue.Ping:break;case ue.Close:{this._logger.log(M.Information,"Close message received from server.");const t=e.error?new Error("Server returned an error on close: "+e.error):void 0;!0===e.allowReconnect?this.connection.stop(t):this._stopPromise=this._stopInternal(t);break}default:this._logger.log(M.Warning,`Invalid message type: ${e.type}.`)}}this._resetTimeoutPeriod()}_processHandshakeResponse(e){let t,n;try{[n,t]=this._handshakeProtocol.parseHandshakeResponse(e)}catch(r){const e="Error parsing handshake response: "+r;this._logger.log(M.Error,e);const t=new Error(e);throw this._handshakeRejecter(t),t}if(t.error){const e="Server returned handshake error: "+t.error;this._logger.log(M.Error,e);const n=new Error(e);throw this._handshakeRejecter(n),n}return this._logger.log(M.Debug,"Server handshake complete."),this._handshakeResolver(),n}_resetKeepAliveInterval(){this.connection.features.inherentKeepAlive||(this._nextKeepAlive=(new Date).getTime()+this.keepAliveIntervalInMilliseconds,this._cleanupPingTimer())}_resetTimeoutPeriod(){var e=this;if(!(this.connection.features&&this.connection.features.inherentKeepAlive||(this._timeoutHandle=setTimeout(()=>this.serverTimeout(),this.serverTimeoutInMilliseconds),void 0!==this._pingServerHandle))){let t=this._nextKeepAlive-(new Date).getTime();t<0&&(t=0),this._pingServerHandle=setTimeout(S(function*(){if(e._connectionState===pe.Connected)try{yield e._sendMessage(e._cachedPingMessage)}catch(t){e._cleanupPingTimer()}}),t)}}serverTimeout(){this.connection.stop(new Error("Server timeout elapsed without receiving a message from the server."))}_invokeClientMethod(e){var t=this;return S(function*(){const n=e.target.toLowerCase(),r=t._methods[n];if(!r)return t._logger.log(M.Warning,`No client method with the name '${n}' found.`),void(e.invocationId&&(t._logger.log(M.Warning,`No result given for '${n}' method and invocation ID '${e.invocationId}'.`),yield t._sendWithProtocol(t._createCompletionMessage(e.invocationId,"Client didn't provide a result.",null))));const o=r.slice(),i=!!e.invocationId;let s,a,c;for(const d of o)try{const r=s;s=yield d.apply(t,e.arguments),i&&s&&r&&(t._logger.log(M.Error,`Multiple results provided for '${n}'. Sending error to server.`),c=t._createCompletionMessage(e.invocationId,"Client provided multiple results.",null)),a=void 0}catch(l){a=l,t._logger.log(M.Error,`A callback for the method '${n}' threw error '${l}'.`)}c?yield t._sendWithProtocol(c):i?(a?c=t._createCompletionMessage(e.invocationId,`${a}`,null):void 0!==s?c=t._createCompletionMessage(e.invocationId,null,s):(t._logger.log(M.Warning,`No result given for '${n}' method and invocation ID '${e.invocationId}'.`),c=t._createCompletionMessage(e.invocationId,"Client didn't provide a result.",null)),yield t._sendWithProtocol(c)):s&&t._logger.log(M.Error,`Result given for '${n}' method but server is not expecting a result.`)})()}_connectionClosed(e){this._logger.log(M.Debug,`HubConnection.connectionClosed(${e}) called while in state ${this._connectionState}.`),this._stopDuringStartError=this._stopDuringStartError||e||new T("The underlying connection was closed before the hub handshake could complete."),this._handshakeResolver&&this._handshakeResolver(),this._cancelCallbacksWithError(e||new Error("Invocation canceled due to the underlying connection being closed.")),this._cleanupTimeout(),this._cleanupPingTimer(),this._connectionState===pe.Disconnecting?this._completeClose(e):this._connectionState===pe.Connected&&this._reconnectPolicy?this._reconnect(e):this._connectionState===pe.Connected&&this._completeClose(e)}_completeClose(e){if(this._connectionStarted){this._connectionState=pe.Disconnected,this._connectionStarted=!1,N.isBrowser&&window.document.removeEventListener("freeze",this._freezeEventListener);try{this._closedCallbacks.forEach(t=>t.apply(this,[e]))}catch(t){this._logger.log(M.Error,`An onclose callback called with error '${e}' threw error '${t}'.`)}}}_reconnect(e){var t=this;return S(function*(){const n=Date.now();
1let r=0,o=void 0!==e?e:new Error("Attempting to reconnect due to a unknown error."),i=t._getNextRetryDelay(r++,0,o);if(null===i)return t._logger.log(M.Debug,"Connection not reconnecting because the IRetryPolicy returned null on the first reconnect attempt."),void t._completeClose(e);if(t._connectionState=pe.Reconnecting,t._logger.log(M.Information,e?`Connection reconnecting because of error '${e}'.`:"Connection reconnecting."),0!==t._reconnectingCallbacks.length){try{t._reconnectingCallbacks.forEach(n=>n.apply(t,[e]))}catch(s){t._logger.log(M.Error,`An onreconnecting callback called with error '${e}' threw error '${s}'.`)}if(t._connectionState!==pe.Reconnecting)return void t._logger.log(M.Debug,"Connection left the reconnecting state in onreconnecting callback. Done reconnecting.")}for(;null!==i;){if(t._logger.log(M.Information,`Reconnect attempt number ${r} will start in ${i} ms.`),yield new Promise(e=>{t._reconnectDelayHandle=setTimeout(e,i)}),t._reconnectDelayHandle=void 0,t._connectionState!==pe.Reconnecting)return void t._logger.log(M.Debug,"Connection left the reconnecting state during reconnect delay. Done reconnecting.");try{if(yield t._startInternal(),t._connectionState=pe.Connected,t._logger.log(M.Information,"HubConnection reconnected successfully."),0!==t._reconnectedCallbacks.length)try{t._reconnectedCallbacks.forEach(e=>e.apply(t,[t.connection.connectionId]))}catch(s){t._logger.log(M.Error,`An onreconnected callback called with connectionId '${t.connection.connectionId}; threw error '${s}'.`)}return}catch(s){if(t._logger.log(M.Information,`Reconnect attempt failed because of error '${s}'.`),t._connectionState!==pe.Reconnecting)return t._logger.log(M.Debug,`Connection moved to the '${t._connectionState}' from the reconnecting state during reconnect attempt. Done reconnecting.`),void(t._connectionState===pe.Disconnecting&&t._completeClose());o=s instanceof Error?s:new Error(s.toString()),i=t._getNextRetryDelay(r++,Date.now()-n,o)}}t._logger.log(M.Information,`Reconnect retries have been exhausted after ${Date.now()-n} ms and ${r} failed attempts. Connection disconnecting.`),t._completeClose()})()}_getNextRetryDelay(e,t,n){try{return this._reconnectPolicy.nextRetryDelayInMilliseconds({elapsedMilliseconds:t,previousRetryCount:e,retryReason:n})}catch(r){return this._logger.log(M.Error,`IRetryPolicy.nextRetryDelayInMilliseconds(${e}, ${t}) threw error '${r}'.`),null}}_cancelCallbacksWithError(e){const t=this._callbacks;this._callbacks={},Object.keys(t).forEach(n=>{const r=t[n];try{r(null,e)}catch(o){this._logger.log(M.Error,`Stream 'error' callback called with '${e}' threw error: ${K(o)}`)}})}_cleanupPingTimer(){this._pingServerHandle&&(clearTimeout(this._pingServerHandle),this._pingServerHandle=void 0)}_cleanupTimeout(){this._timeoutHandle&&clearTimeout(this._timeoutHandle)}_createInvocation(e,t,n,r){if(n)return 0!==r.length?{arguments:t,streamIds:r,target:e,type:ue.Invocation}:{arguments:t,target:e,type:ue.Invocation};{const n=this._invocationId;return this._invocationId++,0!==r.length?{arguments:t,invocationId:n.toString(),streamIds:r,target:e,type:ue.Invocation}:{arguments:t,invocationId:n.toString(),target:e,type:ue.Invocation}}}_launchStreams(e,t){if(0!==e.length){t||(t=Promise.resolve());for(const n in e)e[n].subscribe({complete:()=>{t=t.then(()=>this._sendWithProtocol(this._createCompletionMessage(n)))},error:e=>{let r;r=e instanceof Error?e.message:e&&e.toString?e.toString():"Unknown error",t=t.then(()=>this._sendWithProtocol(this._createCompletionMessage(n,r)))},next:e=>{t=t.then(()=>this._sendWithProtocol(this._createStreamItemMessage(n,e)))}})}}_replaceStreamingParams(e){const t=[],n=[];for(let r=0;r<e.length;r++){const o=e[r];if(this._isObservable(o)){const i=this._invocationId;this._invocationId++,t[i]=o,n.push(i.toString()),e.splice(r,1)}}return[t,n]}_isObservable(e){return e&&e.subscribe&&"function"==typeof e.subscribe}_createStreamInvocation(e,t,n){const r=this._invocationId;return this._invocationId++,0!==n.length?{arguments:t,invocationId:r.toString(),streamIds:n,target:e,type:ue.StreamInvocation}:{arguments:t,invocationId:r.toString(),target:e,type:ue.StreamInvocation}}_createCancelInvocation(e){return{invocationId:e,type:ue.CancelInvocation}}_createStreamItemMessage(e,t){return{invocationId:e,item:t,type:ue.StreamItem}}_createCompletionMessage(e,t,n){return t?{error:t,invocationId:e,type:ue.Completion}:{invocationId:e,result:n,type:ue.Completion}}}class ve{constructor(){this.name="json",this.version=1,this.transferFormat=ne.Text}parseMessages(e,t){if("string"!=typeof e)throw new Error("Invalid input for JSON hub protocol. Expected a string.");if(!e)return[];null===t&&(t=L.instance);const n=de.parse(e),r=[];for(const o of n){const e=JSON.parse(o);if("number"!=typeof e.type)throw new Error("Invalid payload.");switch(e.type){case ue.Invocation:this._isInvocationMessage(e);break;case ue.StreamItem:this._isStreamItemMessage(e);break;case ue.Completion:this._isCompletionMessage(e);break;case ue.Ping:case ue.Close:break;default:t.log(M.Information,"Unknown message type '"+e.type+"' ignored.");continue}r.push(e)}return r}writeMessage(e){return de.write(JSON.stringify(e))}_isInvocationMessage(e){this._assertNotEmptyString(e.target,"Invalid payload for Invocation message."),void 0!==e.invocationId&&this._assertNotEmptyString(e.invocationId,"Invalid payload for Invocation message.")}_isStreamItemMessage(e){if(this._assertNotEmptyString(e.invocationId,"Invalid payload for StreamItem message."),void 0===e.item)throw new Error("Invalid payload for StreamItem message.")}_isCompletionMessage(e){if(e.result&&e.error)throw new Error("Invalid payload for Completion message.");!e.result&&e.error&&this._assertNotEmptyString(e.error,"Invalid payload for Completion message."),this._assertNotEmptyString(e.invocationId,"Invalid payload for Completion message.")}_assertNotEmptyString(e,t){if("string"!=typeof e||""===e)throw new Error(t)}}const fe={trace:M.Trace,debug:M.Debug,info:M.Information,information:M.Information,warn:M.Warning,warning:M.Warning,error:M.Error,critical:M.Critical,none:M.None};class _e{configureLogging(e){if(j.isRequired(e,"logging"),void 0!==e.log)this.logger=e;else if("string"==typeof e){const t=function(e){const t=fe[e.toLowerCase()];if(void 0!==t)return t;throw new Error(`Unknown log level: ${e}`)}(e);this.logger=new q(t)}else this.logger=new q(e);return this}withUrl(e,t){return j.isRequired(e,"url"),j.isNotEmpty(e,"url"),this.url=e,this.httpConnectionOptions="object"==typeof t?I(I({},this.httpConnectionOptions),t):Z(I({},this.httpConnectionOptions),{transport:t}),this}withHubProtocol(e){return j.isRequired(e,"protocol"),this.protocol=e,this}withAutomaticReconnect(e){if(this.reconnectPolicy)throw new Error("A reconnectPolicy has already been set.");return this.reconnectPolicy=e?Array.isArray(e)?new _(e):e:new _,this}build(){const e=this.httpConnectionOptions||{};if(void 0===e.logger&&(e.logger=this.logger),!this.url)throw new Error("The 'HubConnectionBuilder.withUrl' method must be called before building the connection.");const t=new ae(this.url,e);return me.create(t,this.logger||L.instance,this.protocol||new ve,this.reconnectPolicy)}}var be=n(79765);let Se=(()=>{class e{constructor(e){this.http=e,this.apiServer=v._.settings.apiServer,this.authorCheckInReceived$=new be.xQ}getScheduleList(e){return this.http.get(`${this.apiServer.mobileScanUrl}/schedule/scheduleList/${e}`)}getScheduleDateList(e){return this.http.get(`${this.apiServer.mobileScanUrl}/schedule/showdates/${e}`)}startConnection(){this.hubConnection=(new _e).withUrl(this.apiServer.standardProgramUrl+"/signalHub").withAutomaticReconnect().build(),this.hubConnection.start().then(()=>{console.log("SignalR connection started.")}).catch(e=>console.error("Error while starting SignalR connection: ",e)),this.hubConnection.on("AbstractCheckInData",e=>{this.authorCheckInReceived$.next(e)})}}return e.\u0275fac=function(t){return new(t||e)(a.\u0275\u0275inject(p.HttpClient))},e.\u0275prov=a.\u0275\u0275defineInjectable({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function we(e,t){1&e&&(a.\u0275\u0275elementStart(0,"div"),a.\u0275\u0275elementStart(1,"span",9),a.\u0275\u0275text(2,"PRESENT"),a.\u0275\u0275elementEnd(),a.\u
10275\u0275elementEnd())}function ye(e,t){1&e&&(a.\u0275\u0275elementStart(0,"div"),a.\u0275\u0275elementStart(1,"span",10),a.\u0275\u0275text(2,"ABSENT"),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementEnd())}function Ce(e,t){if(1&e&&(a.\u0275\u0275elementStart(0,"tr"),a.\u0275\u0275elementStart(1,"td",7),a.\u0275\u0275text(2),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(3,"td"),a.\u0275\u0275text(4),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(5,"td",8),a.\u0275\u0275text(6),a.\u0275\u0275template(7,we,3,0,"div",3),a.\u0275\u0275template(8,ye,3,0,"div",3),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementEnd()),2&e){const e=t.$implicit;a.\u0275\u0275advance(2),a.\u0275\u0275textInterpolate1(" ",e.abstractNo," "),a.\u0275\u0275advance(2),a.\u0275\u0275textInterpolate1(" ",e.title," "),a.\u0275\u0275advance(2),a.\u0275\u0275textInterpolate1(" ",e.author," "),a.\u0275\u0275advance(1),a.\u0275\u0275property("ngIf",e.checkinStatus),a.\u0275\u0275advance(1),a.\u0275\u0275property("ngIf",!e.checkinStatus)}}const Ie=function(e){return{"bottom-box":e}};function Ee(e,t){if(1&e&&(a.\u0275\u0275elementStart(0,"div",5),a.\u0275\u0275elementStart(1,"h5"),a.\u0275\u0275text(2),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(3,"div",6),a.\u0275\u0275elementStart(4,"table"),a.\u0275\u0275elementStart(5,"tr"),a.\u0275\u0275elementStart(6,"th"),a.\u0275\u0275text(7,"AbstractId"),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(8,"th"),a.\u0275\u0275text(9,"Title"),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(10,"th"),a.\u0275\u0275text(11,"Author"),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementEnd(),a.\u0275\u0275template(12,Ce,9,5,"tr",1),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementEnd()),2&e){const e=a.\u0275\u0275nextContext(),t=e.index,n=e.$implicit,r=a.\u0275\u0275nextContext(2).$implicit;a.\u0275\u0275property("ngClass",a.\u0275\u0275pureFunction1(3,Ie,(null==r||null==r.abstractCategories?null:r.abstractCategories.length)==t+1)),a.\u0275\u0275advance(2),a.\u0275\u0275textInterpolate(n.categoryName),a.\u0275\u0275advance(10),a.\u0275\u0275property("ngForOf",null==n?null:n.abstracts)}}function ke(e,t){if(1&e&&(a.\u0275\u0275elementContainerStart(0),a.\u0275\u0275template(1,Ee,13,5,"div",4),a.\u0275\u0275elementContainerEnd()),2&e){const e=t.$implicit;a.\u0275\u0275advance(1),a.\u0275\u0275property("ngIf",(null==e||null==e.abstracts?null:e.abstracts.length)>0)}}function Pe(e,t){if(1&e&&(a.\u0275\u0275elementContainerStart(0),a.\u0275\u0275template(1,ke,2,1,"ng-container",1),a.\u0275\u0275elementContainerEnd()),2&e){const e=a.\u0275\u0275nextContext().$implicit;a.\u0275\u0275advance(1),a.\u0275\u0275property("ngForOf",null==e?null:e.abstractCategories)}}function $e(e,t){1&e&&(a.\u0275\u0275elementContainerStart(0),a.\u0275\u0275elementStart(1,"div",11),a.\u0275\u0275elementStart(2,"h6"),a.\u0275\u0275text(3,"Break Time"),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementContainerEnd())}function Te(e,t){if(1&e&&(a.\u0275\u0275elementContainerStart(0),a.\u0275\u0275elementStart(1,"div",12),a.\u0275\u0275elementStart(2,"div",6),a.\u0275\u0275elementStart(3,"table"),a.\u0275\u0275elementStart(4,"tr"),a.\u0275\u0275elementStart(5,"th"),a.\u0275\u0275text(6,"Name"),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(7,"th"),a.\u0275\u0275text(8,"Company"),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(9,"th"),a.\u0275\u0275text(10,"Country"),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(11,"tr"),a.\u0275\u0275elementStart(12,"td"),a.\u0275\u0275text(13),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(14,"td"),a.\u0275\u0275text(15),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(16,"td"),a.\u0275\u0275text(17),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementContainerEnd()),2&e){const e=a.\u0275\u0275nextContext().$implicit;a.\u0275\u0275advance(13),a.\u0275\u0275textInterpolate1(" ",null==e||null==e.speakerInfo?null:e.speakerInfo.name," "),a.\u0275\u0275advance(2),a.\u0275\u0275textInterpolate1(" ",null==e||null==e.speakerInfo?null:e.speakerInfo.company," "),a.\u0275\u0275advance(2),a.\u0275\u0275textInterpolate(null==e||null==e.speakerInfo?null:e.speakerInfo.country)}}function xe(e,t){if(1&e&&(a.\u0275\u0275elementStart(0,"tr"),a.\u0275\u0275elementStart(1,"td"),a.\u0275\u0275text(2),a.\u0275\u0275elementEnd(),a.\u
10275\u0275elementStart(3,"td"),a.\u0275\u0275text(4),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(5,"td"),a.\u0275\u0275text(6),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementEnd()),2&e){const e=t.$implicit;a.\u0275\u0275advance(2),a.\u0275\u0275textInterpolate1(" ",e.name," "),a.\u0275\u0275advance(2),a.\u0275\u0275textInterpolate1(" ",e.company," "),a.\u0275\u0275advance(2),a.\u0275\u0275textInterpolate(e.country)}}function De(e,t){if(1&e&&(a.\u0275\u0275elementContainerStart(0),a.\u0275\u0275elementStart(1,"div",12),a.\u0275\u0275elementStart(2,"div",6),a.\u0275\u0275elementStart(3,"table"),a.\u0275\u0275elementStart(4,"tr"),a.\u0275\u0275elementStart(5,"th"),a.\u0275\u0275text(6,"Name"),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(7,"th"),a.\u0275\u0275text(8,"Company"),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(9,"th"),a.\u0275\u0275text(10,"Country"),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementEnd(),a.\u0275\u0275template(11,xe,7,3,"tr",1),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementContainerEnd()),2&e){const e=a.\u0275\u0275nextContext().$implicit;a.\u0275\u0275advance(11),a.\u0275\u0275property("ngForOf",null==e?null:e.panelist)}}function Re(e,t){if(1&e&&(a.\u0275\u0275elementContainerStart(0),a.\u0275\u0275elementStart(1,"h5",2),a.\u0275\u0275text(2),a.\u0275\u0275elementEnd(),a.\u0275\u0275template(3,Pe,2,1,"ng-container",3),a.\u0275\u0275template(4,$e,4,0,"ng-container",3),a.\u0275\u0275template(5,Te,18,3,"ng-container",3),a.\u0275\u0275template(6,De,12,1,"ng-container",3),a.\u0275\u0275elementContainerEnd()),2&e){const e=t.$implicit;a.\u0275\u0275advance(2),a.\u0275\u0275textInterpolate2(" ",e.time," -- ",e.sessionName," "),a.\u0275\u0275advance(1),a.\u0275\u0275property("ngIf","Abstract"==(null==e?null:e.sessionType)),a.\u0275\u0275advance(1),a.\u0275\u0275property("ngIf","Break"==(null==e?null:e.sessionType)),a.\u0275\u0275advance(1),a.\u0275\u0275property("ngIf","IndividualTalk"==(null==e?null:e.sessionType)),a.\u0275\u0275advance(1),a.\u0275\u0275property("ngIf","PanelDiscussion"==(null==e?null:e.sessionType))}}function Oe(e,t){if(1&e&&(a.\u0275\u0275elementContainerStart(0),a.\u0275\u0275elementStart(1,"h5",2),a.\u0275\u0275text(2),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(3,"h5",2),a.\u0275\u0275text(4),a.\u0275\u0275elementEnd(),a.\u0275\u0275template(5,Re,7,6,"ng-container",1),a.\u0275\u0275elementContainerEnd()),2&e){const e=t.$implicit;a.\u0275\u0275advance(2),a.\u0275\u0275textInterpolate(e.showDate),a.\u0275\u0275advance(2),a.\u0275\u0275textInterpolate2(" ",e.levelName," -- ",e.roomName," "),a.\u0275\u0275advance(1),a.\u0275\u0275property("ngForOf",null==e?null:e.sessions)}}let Ue=(()=>{class e{constructor(){this.scheduleList=[]}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=a.\u0275\u0275defineComponent({type:e,selectors:[["app-schedule-list"]],inputs:{scheduleList:"scheduleList"},decls:2,vars:1,consts:[[1,"schedule-content"],[4,"ngFor","ngForOf"],[1,"text-center"],[4,"ngIf"],["class","normal-box",3,"ngClass",4,"ngIf"],[1,"normal-box",3,"ngClass"],[1,"detail"],[1,"abstract-no-width"],[1,"author-width"],[1,"present"],[1,"absent"],[1,"normal-box","break-time"],[1,"normal-box"]],template:function(e,t){1&e&&(a.\u0275\u0275elementStart(0,"div",0),a.\u0275\u0275template(1,Oe,6,4,"ng-container",1),a.\u0275\u0275elementEnd()),2&e&&(a.\u0275\u0275advance(1),a.\u0275\u0275property("ngForOf",t.scheduleList))},directives:[r.sg,r.O5,r.mk],styles:[".normal-box[_ngcontent-%COMP%]{box-shadow:#091e4240 0 1px 1px,#091e4221 0 0 1px 1px;padding:4px 0;text-align:center;border-radius:10px;margin-bottom:10px}.schedule-content[_ngcontent-%COMP%]{margin-bottom:98px}@media screen and (max-width: 770px){.schedule-content[_ngcontent-%COMP%]{margin-bottom:225px}}.break-time[_ngcontent-%COMP%]{padding:15px 0}table[_ngcontent-%COMP%], td[_ngcontent-%COMP%], th[_ngcontent-%COMP%]{border:1px solid;padding:5px;text-align:left}table[_ngcontent-%COMP%]{width:100%;border-collapse:collapse}table[_ngcontent-%COMP%]   .abstract-no-width[_ngcontent-%COMP%]{width:5%}table[_ngcontent-%COMP%]   .author-width[_ngcontent-%COMP%]{width:12%}
1.seperator[_ngcontent-%COMP%]{background-color:#000}.detail[_ngcontent-%COMP%]{padding:20px;overflow-x:auto}.absent[_ngcontent-%COMP%]{color:#fff;padding:3px 8px;background-color:red;font-size:12px;border-radius:5px}.present[_ngcontent-%COMP%]{background-color:green;color:#fff;padding:3px 8px;font-size:12px;border-radius:5px}@-webkit-keyframes quiet{25%{transform:scaleY(.6)}50%{transform:scaleY(.4)}75%{transform:scaleY(.8)}}@keyframes quiet{25%{transform:scaleY(.6)}50%{transform:scaleY(.4)}75%{transform:scaleY(.8)}}@-webkit-keyframes normal{25%{transform:scaleY(1)}50%{transform:scaleY(.4)}75%{transform:scaleY(.6)}}@keyframes normal{25%{transform:scaleY(1)}50%{transform:scaleY(.4)}75%{transform:scaleY(.6)}}@-webkit-keyframes loud{25%{transform:scaleY(1)}50%{transform:scaleY(.4)}75%{transform:scaleY(1.2)}}@keyframes loud{25%{transform:scaleY(1)}50%{transform:scaleY(.4)}75%{transform:scaleY(1.2)}}.boxContainer[_ngcontent-%COMP%]{display:flex;justify-content:space-between;height:30px;padding:5px;--boxSize: 8px;--gutter: 4px;width:calc((var(--boxSize) + var(--gutter)) * 5)}.box[_ngcontent-%COMP%]{transform:scaleY(.4);height:100%;width:var(--boxSize);background:red;-webkit-animation-duration:1.2s;animation-duration:1.2s;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;border-radius:8px}.box1[_ngcontent-%COMP%]{-webkit-animation-name:quiet;animation-name:quiet}.box2[_ngcontent-%COMP%]{-webkit-animation-name:normal;animation-name:normal}.box3[_ngcontent-%COMP%]{-webkit-animation-name:quiet;animation-name:quiet}.box4[_ngcontent-%COMP%]{-webkit-animation-name:loud;animation-name:loud}.box5[_ngcontent-%COMP%]{-webkit-animation-name:quiet;animation-name:quiet}"]}),e})();var Me=n(98295),Le=n(67441),je=n(3679),Ne=n(72458),He=n(49983);function Fe(e,t){if(1&e&&(a.\u0275\u0275elementStart(0,"div",26),a.\u0275\u0275element(1,"img",27),a.\u0275\u0275elementEnd()),2&e){const e=a.\u0275\u0275nextContext();a.\u0275\u0275advance(1),a.\u0275\u0275property("src",e.bannerImageUrl,a.\u0275\u0275sanitizeUrl)}}function Ae(e,t){if(1&e&&(a.\u0275\u0275elementStart(0,"div",28),a.\u0275\u0275element(1,"div",29),a.\u0275\u0275elementEnd()),2&e){const e=a.\u0275\u0275nextContext();a.\u0275\u0275advance(1),a.\u0275\u0275property("innerHTML",e.bannerHtmlUrl,a.\u0275\u0275sanitizeHtml)}}function Be(e,t){if(1&e&&(a.\u0275\u0275elementStart(0,"div",28),a.\u0275\u0275element(1,"div",29),a.\u0275\u0275elementEnd()),2&e){const e=a.\u0275\u0275nextContext();a.\u0275\u0275advance(1),a.\u0275\u0275property("innerHTML",e.bannerText,a.\u0275\u0275sanitizeHtml)}}function We(e,t){if(1&e&&(a.\u0275\u0275elementStart(0,"div",30),a.\u0275\u0275element(1,"div",29),a.\u0275\u0275elementEnd()),2&e){const e=a.\u0275\u0275nextContext();a.\u0275\u0275advance(1),a.\u0275\u0275property("innerHTML",e.footerHtmlUrl,a.\u0275\u0275sanitizeHtml)}}function qe(e,t){if(1&e&&(a.\u0275\u0275elementStart(0,"div",30),a.\u0275\u0275element(1,"div",29),a.\u0275\u0275elementEnd()),2&e){const e=a.\u0275\u0275nextContext();a.\u0275\u0275advance(1),a.\u0275\u0275property("innerHTML",e.footerText,a.\u0275\u0275sanitizeHtml)}}function ze(e,t){if(1&e&&(a.\u0275\u0275elementStart(0,"div",31),a.\u0275\u0275element(1,"img",32),a.\u0275\u0275elementEnd()),2&e){const e=a.\u0275\u0275nextContext();a.\u0275\u0275advance(1),a.\u0275\u0275property("src",e.footerImageUrl,a.\u0275\u0275sanitizeUrl)}}function Ve(e,t){if(1&e&&(a.\u0275\u0275elementStart(0,"mat-option",33),a.\u0275\u0275text(1),a.\u0275\u0275elementEnd()),2&e){const e=t.$implicit;a.\u0275\u0275property("value",e),a.\u0275\u0275advance(1),a.\u0275\u0275textInterpolate1(" ",e," ")}}const Ge=[{path:"",component:(()=>{class e{constructor(e,t,n,r,o,i,s,a,c,l,d){this.activatedRoute=e,this.spinner=t,this.router=n,this.localStorageService=r,this.registrationService=o,this.titleService=i,this.themeService=s,this.http=a,this.idle=c,this.keepalive=l,this.scheduleService=d,this.showId="",this.scheduleList=[],this.fullScheduleList=[],this.dateList=[],this.searchDate="",this.searchValue="",this.timedOut=!1,this.lastPing=null,this.scheduleService.authorCheckInReceived$.subscribe(e=>{this.updateAuthorStatus(e)})}updateAuthorStatus(e){let t=this.localStorageService.getItem(o.M.STANDARD_PROGRAM_URL);this.localStorageService.removeItem(o.M.CURRENT_USER),this.localStorageService.removeItem(o.M.ORG_MESSAGE_TOKEN),this.localStorageService.clearAll(),this.localStorageService.setItemString(o.M.STANDARD_PROGRAM_URL,t);let{ownerId:n,checkinDate:r}=e;const i=this.fullScheduleList.map(e=>{var t;return Object.assign(Object.assign({},e),{sessions:null===(t=null==e?void 0:e.sessions)||void 0===t?void 0:t.map(t=>{var o;return Object.assign(Object.assign({},t),{abstractCategories:null===(o=null==t?void 0:t.abstractCategories)||void 0===o?void 0:o.map(t=>{var o;return Object.assign(Object.assign({},t),{abstracts:null===(o=null==t?void 0:t.abstracts)||void 0===o?void 0:o.map(t=>{var o;return Object.assign(Object.assign({},t),{checkinStatus:!((null==t?void 0:t.authorId)!=n||!(null===(o=null==e?void 0:e.showDate)||void 0===o?void 0:o.includes(r)))||(null==t?void 0:t.checkinStatus)})})})})})})})});this.fullScheduleList=i;const s=this.scheduleList.map(e=>{var t;return Object.assign(Object.assign({},e),{sessions:null===(t=null==e?void 0:e.sessions)||void 0===t?void 0:t.map(t=>{var o;return Object.assign(Object.assign({},t),{abstractCategories:null===(o=null==t?void 0:t.abstractCategories)||void 0===o?void 0:o.map(t=>{var o;return Object.assign(Object.assign({},t),{abstracts:null===(o=null==t?void 0:t.abstracts)||void 0===o?void 0:o.map(t=>{var o;return Object.assign(Object.assign({},t),{checkinStatus:!((null==t?void 0:t.authorId)!=n||!(null===(o=null==e?void 0:e.showDate)||void 0===o?void 0:o.includes(r)))||t.checkinStatus})})})})})})})});this.scheduleList=s}searchControl(){$(".search-container").click(()=>{$(".search-btn").hasClass("icon-invisible")?($(".bottom-container").removeClass("bottom-container-active"),$(".search-btn").removeClass("icon-invisible"),$(".clear-btn").addClass("icon-invisible"),this.clearFilter()):($(".bottom-container").addClass("bottom-container-active"),$(".search-btn").addClass("icon-invisible"),$(".clear-btn").removeClass("icon-invisible"),this.idleWatch())})}scrollControl(){var e;let t=null===(e=document.getElementById("content-container"))||void 0===e?void 0:e.clientHeight;document.body.scrollTop>t/2||document.documentElement.scrollTop>t/2?$(".back-to-top").addClass("back-to-top-active"):$(".back-to-top").removeClass("back-to-top-active"),$(".back-to-top").click(()=>{this.goToScrollTop()})}goToScrollTop(){document.body.scrollTop=0,document.documentElement.scrollTop=0}idleWatch(){this.idle.setIdle(30),this.idle.setTimeout(5),this.idle.setInterrupts(i.WO),this.idle.onIdleEnd.pipe((0,s.q)(1)).subscribe(()=>{this.reset()}),this.idle.onTimeout.pipe((0,s.q)(1)).subscribe(()=>{this.timedOut=!0,this.clearFilter()}),this.keepalive.interval(15),this.reset()}idleWatchCancelling(){this.idle.onIdleEnd.unsubscribe(),this.idle.onTimeout.unsubscribe(),this.idle.onIdleStart.unsubscribe(),this.idle.onTimeoutWarning.unsubscribe(),this.keepalive.onPing.unsubscribe()}ngOnDestroy(){this.idleWatchCancelling(),this.scheduleService.authorCheckInReceived$.unsubscribe()}reset(){this.idle.watch(),this.timedOut=!1}clearFilter(){this.idle.stop(),this.searchDate="",this.searchValue="",this.filterSchedule(),$(".search-btn").hasClass("icon-invisible")&&($(".bottom-container").removeClass("bottom-container-active"),$(".search-btn").removeClass("icon-invisible"),$(".clear-btn").addClass("icon-invisible"))}ngOnInit(){this.searchControl(),this.getById(),this.scheduleService.startConnection(),window.onscroll=()=>{this.scrollControl()}}search(){this.idleWatch()}getById(){this.spinner.show();let e=this.activatedRoute.snapshot.params.id;e?(this.localStorageService.setItemString(o.M.REG_NAME,e),this.get
1SiteFlowDataByName(e)):(this.spinner.hide(),this.router.navigate(["/404"]))}getSiteFlowDataByName(e){this.spinner.show(),this.registrationService.GetRegistraionWithoutAuthByName(e).subscribe(e=>{var t,n,r,i;this.spinner.hide(),(null==e?void 0:e.data)&&(null==e?void 0:e.success)&&"success"==(null===(t=e.data)||void 0===t?void 0:t.status)?((null===(n=e.data)||void 0===n?void 0:n.themeId)&&this.getThemeDetailById(e.data.themeId,e.data.showId),this.showId=null===(r=e.data)||void 0===r?void 0:r.showId,this.localStorageService.setItemString(o.M.SHOW_ID,this.showId),(null===(i=e.data)||void 0===i?void 0:i.title)&&this.titleService.setTitle(e.data.title),this.getDateList(),this.getScheduleList()):this.redirectToNotFound()},e=>{this.redirectToNotFound()})}redirectToNotFound(){this.spinner.hide(),this.router.navigate(["/404"])}getThemeDetailById(e,t){this.spinner.show(),this.themeService.getThemeDetailById(e,t).subscribe(e=>{if(this.themeService.loadSetting(e.data.themeConfigUrl),this.spinner.hide(),e.success&&e.data){let t=JSON.parse(e.data.themeConfig);this.bindThemeData(t)}})}bindThemeData(e){e.banner&&e.banner.forEach(e=>{"text"==e.key&&(this.bannerText=e.value.url),"image"==e.key&&(this.bannerImageUrl=e.value.url),"html"==e.key&&this.http.get(e.value.url,{responseType:"text"}).subscribe(e=>{this.bannerHtmlUrl=e})}),e.footer&&e.footer.forEach(e=>{"text"==e.key&&(this.footerText=e.value.url),"image"==e.key&&(this.footerImageUrl=e.value.url),"html"==e.key&&this.http.get(e.value.url,{responseType:"text"}).subscribe(e=>{this.footerHtmlUrl=e})})}getDateList(){this.spinner.show(),this.scheduleService.getScheduleDateList(this.showId).subscribe(e=>{this.spinner.hide(),(null==e?void 0:e.success)&&(this.dateList=e.data)})}searchFilter(){this.filterSchedule()}getScheduleList(){this.spinner.show(),this.scheduleService.getScheduleList(this.showId).subscribe(e=>{this.spinner.hide(),(null==e?void 0:e.success)&&(this.fullScheduleList=e.data,this.filterSchedule())})}filterSchedule(){this.spinner.show(),this.searchDate&&this.searchValue?this.filterByBoth():this.searchDate?this.filterByDate():this.searchValue?this.filterByName():this.scheduleList=this.fullScheduleList,this.goToScrollTop(),setTimeout(()=>{this.spinner.hide()},200)}filterByDate(){var e;this.scheduleList=null===(e=this.fullScheduleList)||void 0===e?void 0:e.filter(e=>{var t;return null===(t=e.showDate)||void 0===t?void 0:t.includes(this.searchDate)})}filterByName(){var e;const t=null===(e=this.fullScheduleList)||void 0===e?void 0:e.map(e=>{var t;return Object.assign(Object.assign({},e),{sessions:null===(t=null==e?void 0:e.sessions)||void 0===t?void 0:t.map(e=>{var t;return Object.assign(Object.assign({},e),{abstractCategories:null===(t=null==e?void 0:e.abstractCategories)||void 0===t?void 0:t.map(e=>{var t;return Object.assign(Object.assign({},e),{abstracts:null===(t=null==e?void 0:e.abstracts)||void 0===t?void 0:t.filter(e=>{var t,n,r,o,i,s;return(null===(t=null==e?void 0:e.author)||void 0===t?void 0:t.toLowerCase().includes(null===(n=this.searchValue)||void 0===n?void 0:n.trim().toLowerCase()))||(null===(r=null==e?void 0:e.title)||void 0===r?void 0:r.toLowerCase().includes(null===(o=this.searchValue)||void 0===o?void 0:o.trim().toLowerCase()))||(null===(i=null==e?void 0:e.abstractNo)||void 0===i?void 0:i.toLowerCase().includes(null===(s=this.searchValue)||void 0===s?void 0:s.trim().toLowerCase()))})})}).filter(e=>{var t;return(null===(t=null==e?void 0:e.abstracts)||void 0===t?void 0:t.length)>0})})}).filter(e=>{var t;return(null===(t=null==e?void 0:e.abstractCategories)||void 0===t?void 0:t.length)>0})})}).filter(e=>{var t;return(null===(t=null==e?void 0:e.sessions)||void 0===t?void 0:t.length)>0});this.scheduleList=t}filterByBoth(){var e;const t=null===(e=this.fullScheduleList)||void 0===e?void 0:e.map(e=>{var t;return Object.assign(Object.assign({},e),{sessions:null===(t=null==e?void 0:e.sessions)||void 0===t?void 0:t.map(e=>{var t;return Object.assign(Object.assign({},e),{abstractCategories:null===(t=null==e?void 0:e.abstractCategories)||void 0===t?void 0:t.map(e=>{var t;return Object.assign(Object.assign({},e),{abstracts:null===(t=null==e?void 0:e.abstracts)||void 0===t?void 0:t.filter(e=>{var t,n,r,o,i,s;return(null===(t=null==e?void 0:e.author)||void 0===t?void 0:t.toLowerCase().includes(null===(n=this.searchValue)||void 0===n?void 0:n.trim().toLowerCase()))||(null===(r=null==e?void 0:e.title)||void 0===r?void 0:r.toLowerCase().includes(null===(o=this.searchValue)||void 0===o?void 0:o.trim().toLowerCase()))||(null===(i=null==e?void 0:e.abstractNo)||void 0===i?void 0:i.toLowerCase().includes(null===(s=this.searchValue)||void 0===s?void 0:s.trim().toLowerCase()))})})}).filter(e=>{var t;return(null===(t=null==e?void 0:e.abstracts)||void 0===t?void 0:t.length)>0})})}).filter(e=>{var t;return(null===(t=null==e?void 0:e.abstractCategories)||void 0===t?void 0:t.length)>0})})}).filter(e=>{var t,n;return(null===(t=null==e?void 0:e.sessions)||void 0===t?void 0:t.length)>0&&(null===(n=null==e?void 0:e.showDate)||void 0===n?void 0:n.includes(this.searchDate))});this.scheduleList=t}}return e.\u0275fac=function(t){return new(t||e)(a.\u0275\u0275directiveInject(c.gz),a.\u0275\u0275directiveInject(l.t2),a.\u0275\u0275directiveInject(c.F0),a.\u0275\u0275directiveInject(d.n),a.\u0275\u0275directiveInject(h.c),a.\u0275\u0275directiveInject(u.Dx),a.\u0275\u0275directiveInject(g.f),a.\u0275\u0275directiveInject(p.HttpClient),a.\u0275\u0275directiveInject(i.hX),a.\u0275\u0275directiveInject(m.A),a.\u0275\u0275directiveInject(Se))},e.\u0275cmp=a.\u0275\u0275defineComponent({type:e,selectors:[["app-schedule"]],decls:36,vars:10,consts:[["id","content-container",1,"content-container"],[2,"height","100%","width","100%","overflow","hidden"],["class","row bannner-image",4,"ngIf"],["class","row bannner-text",4,"ngIf"],[1,"row","schedule-container"],[3,"scheduleList"],["class","row footer-text",4,"ngIf"],["class","col-12 footer-image",4,"ngIf"],[1,"bottom-container"],[1,"row",2,"margin","0 10px"],[1,"search-value","col-md-3"],["name","Date",3,"ngModel","ngModelChange"],["value",""],[3,"value",4,"ngFor","ngForOf"],["matInput","","type","text","placeholder","Search By Name/Abstract ID/Title",3,"ngModel","ngModelChange"],[1,"btn-theme","col-md-3",3,"click"],["aria-hidden","true",1,"fa","fa-search"],[1,"back-to-top"],["aria-hidden","true",1,"fa","fa-chevron-up","search-icon"],[1,"search-container"],[1,"search-btn"],["aria-hidden","true",1,"fa","fa-search","search-icon"],[1,"clear-btn","icon-invisible"],["aria-hidden","true",1,"fa","fa-times","search-icon"],["bdColor","rgba(51,51,51,0.8)","size","medium","color","#fff","type","ball-scale-multiple"],[2,"font-size","20px","color","white"],[1,"row","bannner-image"],[1,"col-md-12",3,"src"],[1,"row","bannner-text"],[1,"col-md-12",3,"innerHTML"],[1,"row","footer-text"],[1,"col-12","footer-image"],[1,"col-12",3,"src"],[3,"value"]],template:function(e,t){1&e&&(a.\u0275\u0275elementStart(0,"div",0),a.\u0275\u0275elementStart(1,"div",1),a.\u0275\u0275template(2,Fe,2,1,"div",2),a.\u0275\u0275template(3,Ae,2,1,"div",3),a.\u0275\u0275template(4,Be,2,1,"div",3),a.\u0275\u0275elementStart(5,"div",4),a.\u0275\u0275element(6,"app-schedule-list",5),a.\u0275\u0275elementEnd(),a.\u
10275\u0275template(7,We,2,1,"div",6),a.\u0275\u0275template(8,qe,2,1,"div",6),a.\u0275\u0275template(9,ze,2,1,"div",7),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(10,"div",8),a.\u0275\u0275elementStart(11,"div",9),a.\u0275\u0275elementStart(12,"mat-form-field",10),a.\u0275\u0275elementStart(13,"mat-label"),a.\u0275\u0275text(14,"Search By Date"),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(15,"mat-select",11),a.\u0275\u0275listener("ngModelChange",function(e){return t.searchDate=e}),a.\u0275\u0275elementStart(16,"mat-option",12),a.\u0275\u0275text(17,"All"),a.\u0275\u0275elementEnd(),a.\u0275\u0275template(18,Ve,2,2,"mat-option",13),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(19,"mat-form-field",10),a.\u0275\u0275elementStart(20,"mat-label"),a.\u0275\u0275text(21,"Search By Name/Abstract ID/Title"),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(22,"input",14),a.\u0275\u0275listener("ngModelChange",function(e){return t.searchValue=e}),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(23,"button",15),a.\u0275\u0275listener("click",function(){return t.searchFilter()}),a.\u0275\u0275element(24,"i",16),a.\u0275\u0275text(25," \xa0Search "),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(26,"div",17),a.\u0275\u0275element(27,"i",18),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(28,"div",19),a.\u0275\u0275elementStart(29,"div",20),a.\u0275\u0275element(30,"i",21),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(31,"div",22),a.\u0275\u0275element(32,"i",23),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(33,"ngx-spinner",24),a.\u0275\u0275elementStart(34,"p",25),a.\u0275\u0275text(35,"Loading..."),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementEnd()),2&e&&(a.\u0275\u0275advance(2),a.\u0275\u0275property("ngIf",t.bannerImageUrl),a.\u0275\u0275advance(1),a.\u0275\u0275property("ngIf",t.bannerHtmlUrl),a.\u0275\u0275advance(1),a.\u0275\u0275property("ngIf",t.bannerText),a.\u0275\u0275advance(2),a.\u0275\u0275property("scheduleList",t.scheduleList),a.\u0275\u0275advance(1),a.\u0275\u0275property("ngIf",t.footerHtmlUrl),a.\u0275\u0275advance(1),a.\u0275\u0275property("ngIf",t.footerText),a.\u0275\u0275advance(1),a.\u0275\u0275property("ngIf",t.footerImageUrl),a.\u0275\u0275advance(6),a.\u0275\u0275property("ngModel",t.searchDate),a.\u0275\u0275advance(3),a.\u0275\u0275property("ngForOf",t.dateList),a.\u0275\u0275advance(4),a.\u0275\u0275property("ngModel",t.searchValue))},directives:[r.O5,Ue,Me.KE,Me.hX,Le.gD,je.NgControlStatus,je.NgModel,Ne.ey,r.sg,He.Nt,je.DefaultValueAccessor,l.Ro],styles:[".content-container[_ngcontent-%COMP%]{background-color:#fff;min-height:100vh;margin:0 30px}@media screen and (max-width: 500px){.content-container[_ngcontent-%COMP%]{margin:0}}.search-container[_ngcontent-%COMP%]{position:absolute;bottom:0;right:0}.search-btn[_ngcontent-%COMP%], .clear-btn[_ngcontent-%COMP%]{position:fixed;bottom:10px;right:30px;height:60px;width:60px;background-color:var(--btn-color);border-radius:100%;cursor:pointer;outline:0;transform-origin:50%;transition:all .7s cubic-bezier(.4,0,.2,1)}.search-btn[_ngcontent-%COMP%]:hover, .clear-btn[_ngcontent-%COMP%]:hover{background:var(--btn-hover-color);box-shadow:0 5px 20px 5px #81a4f1}.back-to-top[_ngcontent-%COMP%]{opacity:0;position:fixed;bottom:77px;right:30px;height:60px;width:60px;background-color:var(--btn-color);border-radius:100%;cursor:pointer;outline:0;transform-origin:50%;transition:all .7s cubic-bezier(.4,0,.2,1);pointer-events:none}.back-to-top[_ngcontent-%COMP%]:hover{background:var(--btn-hover-color);box-shadow:0 5px 20px 5px #81a4f1}.back-to-top-active[_ngcontent-%COMP%]{opacity:1;pointer-events:all}.search-icon[_ngcontent-%COMP%]{font-size:20px;position:absolute;top:20px;color:var(--btn-text-color);left:20px}.bottom-container[_ngcontent-%COMP%]{position:fixed;bottom:0;opacity:0;transition:.9s opacity ease-in-out .1s;width:100%;background:white;padding:10px 0;pointer-events:none}.bottom-container-active[_ngcontent-%COMP%]{opacity:1;pointer-events:all}.search-value[_ngcontent-%COMP%]{margin:0 10px}.icon-visible[_ngcontent-%COMP%]{opacity:1}.icon-invisible[_ngcontent-%COMP%]{opacity:0}
1.btn-theme[_ngcontent-%COMP%]{width:130px;margin-left:20px}"]}),e})()}];let Ye=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.\u0275\u0275defineNgModule({type:e}),e.\u0275inj=a.\u0275\u0275defineInjector({imports:[[p.HttpClientModule,r.ez,c.Bz.forChild(Ge),je.FormsModule,je.ReactiveFormsModule,l.ef,Le.LD,He.c]]}),e})()}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.