PageSourceSearch

https://www.doctoranytime.be/dist/vite/ts-public-common.MUDdmNoM.js

js doctoranytime.be collected 2026-09-24 10:25:20 UTC 10,724 bytes, 2 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["index.BvYSe8vB.js","dom.Bd7vMslA.js","index.D05egbDt.js","index.BNbfGqHq.js","random.VyRJav-e.js","get.Bb_EoKQZ.js","url.CjUT5m8i.js","dat.DYt1eiG5.js","url.Du5z6NUU.js","localizerHelper.BapUfS6Z.js","tokens.CC2qV2Bh.js","index.DjaJVItH.js","index.B4cG00Rf.js","post.DOgaW2Jh.js","types.BWdXMtgP.js","index.raJ2yjgu.js","svg-icons.CididQa3.js","elementInDOM.B9xo19b1.js","elementInViewport.xe4FPB9B.js","methods.Ckh_6cCE.js","index.DsH8gfJS.js","universalAnalyticsEvents.DGAMAEsm.js","cookies-policy.BurIhckF.js","index.B8noKkWb.js","store.CM86NZKo.js","preload-helper.IyW7p0WB.js","login-register-tracking.Cxi7f-Hj.js","enum.CVymPXFx.js","ds-button.C8g02yD5.js","ds-button.classes.BiU6Mfsx.js","ds-helper-text.CiGlhLkE.js","ds-social-button.classes.CeTBaTWB.js","ds-helper-text.classes.D46Sl4Hi.js","ds-icon.classes.Dmaag0lT.js","ds-icon.Ck8fejf9.js","ds-modal.BTk5WjTL.js","index.BS5f3NM8.js","dat-button.B-0hLQA3.js","index.Pn0dorr7.js","helpers.GQ2h_mzj.js","customEventStore.Di2snKOi.js","index.DPRVHdaE.js"])))=>i.map(i=>d[i]);
2var r=(t,o,e)=>new Promise((n,i)=>{var s=c=>{try{d(e.next(c))}catch(u){i(u)}},a=c=>{try{d(e.throw(c))}catch(u){i(u)}},d=c=>c.done?n(c.value):Promise.resolve(c.value).then(s,a);d((e=e.apply(t,o)).next())});import{d as l}from"./dom.Bd7vMslA.js";import{g as $,l as v}from"./dat.DYt1eiG5.js";import{a as w}from"./index.BNbfGqHq.js";import{e as y}from"./url.CjUT5m8i.js";import{d as k}from"./post.DOgaW2Jh.js";import{c as x}from"./localizerHelper.BapUfS6Z.js";import{f as T}from"./index.raJ2yjgu.js";import{a as N}from"./methods.Ckh_6cCE.js";import{i as W,u as V}from"./index.DsH8gfJS.js";import{g as q}from"./universalAnalyticsEvents.DGAMAEsm.js";import{c as j}from"./cookies-policy.BurIhckF.js";import{g as F}from"./index.B8noKkWb.js";import{c as J}from"./store.CM86NZKo.js";import{_ as p}from"./preload-helper.IyW7p0WB.js";import{o as g,i as U}from"./svg-icons.CididQa3.js";import{c as G}from"./login-register-tracking.Cxi7f-Hj.js";import"./ds-button.C8g02yD5.js";import"./ds-helper-text.CiGlhLkE.js";import{i as z}from"./ds-icon.Ck8fejf9.js";import{i as B}from"./ds-modal.BTk5WjTL.js";import"./random.VyRJav-e.js";import"./url.Du5z6NUU.js";import"./tokens.CC2qV2Bh.js";import"./types.BWdXMtgP.js";import"./elementInDOM.B9xo19b1.js";import"./elementInViewport.xe4FPB9B.js";import"./enum.CVymPXFx.js";import"./ds-button.classes.BiU6Mfsx.js";import"./ds-social-button.classes.CeTBaTWB.js";import"./ds-helper-text.classes.D46Sl4Hi.js";import"./ds-icon.classes.Dmaag0lT.js";const H=()=>{var n,i;const t=l("html")[0],o=l("body")[0],e=l(".page-wrapper")[0];(n=l("#mobile-menu")[0])==null||n.addEventListener("click",s=>{s.preventDefault(),t==null||t.classList.add("offcanvas-block"),o==null||o.classList.add("offcanvas-open","offcanvas-block"),e&&(e.style.height=window.innerHeight+"px")}),(i=l(".offcanvas-overlay")[0])==null||i.addEventListener("click",()=>{t==null||t.classList.remove("offcanvas-block"),o==null||o.classList.remove("offcanvas-open","offcanvas-block"),e&&(e.style.height="auto")})},Y={init:H},Z=$.get("ApplicationVersionCode"),L=`DA.UserPreferences.${Z}`,D=location.protocol==="https:",K=D?"none":"lax",Q=(t,o)=>{if(!o)return;const e=w.get(L);let n={};e&&(n=C(e)),(t==="cookiesAccepted"||t==="homepageCalloutHidden")&&typeof o=="number"&&(n[t]=o),t==="language"&&typeof o=="string"&&(n[t]=o);const i=ot(n);tt(i)},X=()=>{const t=w.get(L);let o={};return t&&(o=C(t)),o},tt=t=>{w.set(L,t,{secure:D,sameSite:K,expires:365})},C=t=>JSON.parse(t),ot=t=>JSON.stringify(t),h={set:Q,get:X},nt=()=>{const t=v.getCurrent()||v.getDefault();A(t)},A=t=>{const o=h.get();o.language?t!==o.language&&h.set("language",t):h.set("language",t)},O={init:nt,saveLanguage:A},f=[],S=t=>{q(t,"expand_click")},et=()=>{const t=l(".lang-switcher__list a");t.length&&window.addEventListener("da:urlchange",()=>{const o=window.location.search;t.forEach(e=>{const n=new URL(e.href);n.search=o,e.href=n.toString()})})},it=()=>{l(".lang-switcher__current").forEach(n=>{const i=n==null?void 0:n.parentElement;n&&i&&(n.addEventListener("click",function(s){var d,c;s.preventDefault();const a=(d=this==null?void 0:this.parentElement)==null?void 0:d.classList.contains("lang-switcher--open");e(),a||(c=this==null?void 0:this.parentElement)==null||c.classList.add("lang-switcher--open")}
2),f.push(i))}),l(".lang-switcher__list a").forEach(n=>{n.addEventListener("click",function(s){var c;s.preventDefault();const a=this.href,d=(c=this.querySelector(".languageCode"))==null?void 0:c.textContent;d&&O.saveLanguage(d),window.location.href=a})}),l(".btn-user-dd").forEach(n=>{var a;const i=n,s=(a=n==null?void 0:n.nextElementSibling)==null?void 0:a.querySelector(".dropdown");i.addEventListener("click",function(d){var u,E;d.preventDefault();const c=this==null?void 0:this.classList.contains("is-active");if(e(),!c&&(this==null||this.classList.add("is-active"),(E=(u=this.nextElementSibling)==null?void 0:u.querySelector(".dropdown"))==null||E.classList.add("is-active"),this.hasAttribute("data-menu-section"))){const M=this.getAttribute("data-menu-section");S(`${M}_expand`)}}),f.push(i),f.push(s)}),l(".js-general-menu-item-dropdown__action").forEach(n=>{const i=n,s=n==null?void 0:n.nextElementSibling;i.addEventListener("click",function(a){var c;a.preventDefault();const d=this==null?void 0:this.classList.contains("is-active");
2if(e(),!d&&(this==null||this.classList.add("is-active"),(c=this.nextElementSibling)==null||c.classList.add("is-active"),this.hasAttribute("data-menu-section"))){const u=this.getAttribute("data-menu-section");S(`${u}_expand`)}}),f.push(i),f.push(s)});const e=()=>{f.forEach(n=>{var i,s,a;n.classList.remove("is-active","lang-switcher--open"),(i=n.nextElementSibling)==null||i.classList.remove("is-active"),(a=(s=n.nextElementSibling)==null?void 0:s.querySelector(".dropdown"))==null||a.classList.remove("is-active")})};document.addEventListener("click",function(n){let i=!1;f.forEach(s=>{const a=n.target;s.contains(a)&&(i=!0)}),i||e()}),l('[data-js-login-as="doctor"]').forEach(n=>{n.addEventListener("click",function(i){return r(this,null,function*(){var a,d;i.preventDefault();const s=yield k({url:"/account/GetOneTimePassword",body:{}});if(s.Success===y.Success){const c=x("/RoutedAccount/LoginWithCode");let u="";s.Data&&s.Data.LockoutEnd&&(u=(a=s.Data.LockoutEnd)!=null?a:""),window.localStorage.setItem("loginWithCode.LockoutEnd",u),window.location.href=c}else T.error({title:(d=s.Message)!=null?d:"An error occurred"})})})}),at(),st(),et()},st=()=>{l(".da-btn-logout").forEach(t=>{t.addEventListener("click",function(o){return r(this,null,function*(){o.preventDefault();const e=yield k({url:"/account/LogOutAjax",body:{}});if(e.Success===y.Success){const n=e.Data;N(),n!=null&&n.RedirectTo?window.location.href=n.RedirectTo:window.location.reload()}})})})},at=()=>{if(!W())return;const t=V(),o=t.getItem("new-menu-dropdown-item")==="clicked";l("[data-menu-item-new]").forEach(e=>{const n=e.querySelector(".new-badge");o&&n&&n.classList.add("hidden"),e.addEventListener("click",()=>{n&&(t.setItem("new-menu-dropdown-item","clicked"),n.classList.add("hidden"))})})},ct={init:it},rt=()=>{Y.init(),ct.init()},dt=()=>{j(),O.init()},lt=()=>r(null,null,function*(){g('[data-js="footer"]',t=>r(null,null,function*(){const{init:o}=yield p(()=>r(null,null,function*(){const{init:e}=yield import("./index.BvYSe8vB.js");return{init:e}}),__vite__mapDeps([0,1]));o()}))}),ut=()=>r(null,null,function*(){g("[data-availability-doctorpractice-ids]",t=>r(null,null,function*(){const{doctorPreviewCardsInit:o}=yield p(()=>r(null,null,function*(){const{doctorPreviewCardsInit:e}=yield import("./index.D05egbDt.js");return{doctorPreviewCardsInit:e}}),__vite__mapDeps([2,3,1,4,5,6,7,8,9,10]));o()}))}),ft=()=>r(null,null,function*(){g("[data-psw-wrapper]",t=>r(null,null,function*(){(yield p(()=>import("./index.DjaJVItH.js"),__vite__mapDeps([11,1]))).default.init()}))});var R=(t=>(t.ACCORDION="data-accordion",t.ACCORDION_TRIGGER="data-accordion-trigger",t.ACCORDION_BODY="data-accordion-body",t))(R||{});const mt=()=>r(null,null,function*(){g(`[${R.ACCORDION}]`,t=>r(null,null,function*(){const{init:o}=yield p(()=>r(null,null,function*(){const{init:e}=yield import("./index.B4cG00Rf.js");return{init:e}}),__vite__mapDeps([12,1,7,3,4,6,8,9,10,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35]));o()}))}),pt=()=>{window.EventBus.on("AvailabilitiesSlider::NoAvailabilities",t=>r(null,null,function*(){if(!t.doctorId||!t.container)return;const{initWaitingList:o,enJoinWLfromSource:e}=yield p(()=>r(null,null,function*(){const{initWaitingList:n,enJoinWLfromSource:i}=yield import("./index.BS5f3NM8.js");return{initWaitingList:n,enJoinWLfromSource:i}}),__vite__mapDeps([36,1,6,7,8,9,10,3,4,13,14,37,38,39,16,17,18,15,20,40]));o({doctorId:t.doctorId,appointmentGuid:"",doctorPracticeId:t.doctorPracticeId,container:t.container,joinedwlFromSource:e.CRMWeb})})),window.EventBus.on("WaitingList::ModalOpening",()=>{var o;const t=window.$;typeof((o=t==null?void 0:t.magnificPopup)==null?void 0:o.close)=="function"&&t.magnificPopup.close()})},P="promoRibbonDismissed",gt="[data-promo-ribbon]",ht="[data-promo-dismiss]",wt="[data-promo-countdown]",_="hidden",b=1440*60*1e3;function Lt(){try{return window.sessionStorage.getItem(P)==="1"}catch(t){return!1}}function Et(){try{window.sessionStorage.setItem(P,"1")}catch(t){}}function m(t){return t<10?`0${t}`:`${t}`}function vt(t,o){if(t>o)return t;const e=Math.floor((o-t)/b)+1;return t+e*b}function St(t){const o=Math.max(0,Math.floor(t/1e3)),e=Math.floor(o/86400),n=Math.floor(o%86400/3600),i=Math.floor(o%3600/60),s=o%60;return e>0?`${e}d ${m(n)}h ${m(i)}m ${m(s)}s`:`${m(n)}h ${m(i)}m ${m(s)}s`}function _t(t){const o=t.getAttribute("data-promo-countdown");if(!o)return;const e=/Z$|[+-]\d{2}:\d{2}$/.test(o)?o:o+"Z",n=Date.parse(e);if(Number.isNaN(n))return;const i=()=>{const s=Date.now(),a=vt(n,s);t.textContent=St(a-s)};i(),window.setInterval(i,1e3)}function I(){const t=document.querySelector(gt);if(!t)return;if(Lt()){t.classList.add(_);return}const o=t.querySelector(ht);o==null||o.addEventListener("click",e=>{e.preventDefault(),e.stopPropagation(),Et(),t.classList.add(_)}
2),t.querySelectorAll(wt).forEach(e=>_t(e))}function bt(){document.readyState==="loading"?document.addEventListener("DOMContentLoaded",I,{once:!0}):I()}const It=()=>{g("[data-doplus-chat-menu-wrapper]",()=>r(null,null,function*(){const{doPlusChatMenuInit:t}=yield p(()=>r(null,null,function*(){const{doPlusChatMenuInit:o}=yield import("./index.DPRVHdaE.js");return{doPlusChatMenuInit:o}}),__vite__mapDeps([41,1]));t()}))};F();J();rt();dt();lt();ut();ft();mt();G();pt();U();z();B();bt();It();export{R as 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.