1 <!DOCTYPE html> 2<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> 3<head> 4 <!-- Tag 125.44 --> 5 6 <title> 7 8 Halaxy - Signup to practice management software </title> 9 10 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
10<script type="text/javascript">(window.NREUM||(NREUM={})).init={privacy:{cookies_enabled:true},ajax:{deny_list:["bam.nr-data.net"]},distributed_tracing:{enabled:true}};(window.NREUM||(NREUM={})).loader_config={agentID:"339211635",accountID:"1896768",trustKey:"1896768",xpid:"VQ4OV1FVABADV1lXAQcEV1w=",licenseKey:"e514366ee1",applicationID:"338566318",browserID:"339211635"};;/*! For license information please see nr-loader-spa-1.323.0.min.js.LICENSE.txt */ 11(()=>{var e={8122(e,t,r){"use strict";r.d(t,{a:()=>i});var n=r(944);function i(e,t){try{if(!e||"object"!=typeof e)return(0,n.R)(3);if(!t||"object"!=typeof t)return(0,n.R)(4);const r=Object.create(Object.getPrototypeOf(t),Object.getOwnPropertyDescriptors(t)),s=0===Object.keys(r).length?e:r;for(let a in s)if(void 0!==e[a])try{if(null===e[a]){r[a]=null;continue}Array.isArray(e[a])&&Array.isArray(t[a])?r[a]=Array.from(new Set([...e[a],...t[a]])):e[a]instanceof Map||e[a]instanceof Set||e[a]instanceof Date||e[a]instanceof RegExp?r[a]=e[a]:"object"==typeof e[a]&&null!==t[a]&&"object"==typeof t[a]?r[a]=i(e[a],t[a]):r[a]=e[a]}catch(e){r[a]||(0,n.R)(1,e)}return r}catch(e){(0,n.R)(2,e)}}},2555(e,t,r){"use strict";r.d(t,{f:()=>a});var n=r(384),i=r(8122);const s={beacon:n.NT.beacon,errorBeacon:n.NT.errorBeacon,licenseKey:void 0,applicationID:void 0,sa:void 0,queueTime:void 0,applicationTime:void 0,ttGuid:void 0,user:void 0,account:void 0,product:void 0,extra:void 0,jsAttributes:{},userAttributes:void 0,atts:void 0,transactionName:void 0,tNamePlain:void 0};function a(e){try{return!!e.licenseKey&&!!e.errorBeacon&&!!e.applicationID}catch(e){return!1}}r.d(t,["D",0,e=>(0,i.a)(e,s)])},7699(e,t,r){"use strict";var n=r(860);const i={[n.K7.logging]:!0,[n.K7.genericEvents]:!0,[n.K7.jserrors]:!0,[n.K7.ajax]:!0};r.d(t,["It",0,1e6,"KC",0,i,"qh",0,"SESSION_ERROR"])},9324(e,t,r){"use strict";r.d(t,["A",0,"@newrelic/rrweb","x",0,"1.323.0"])},981(e,t,r){"use strict";r.d(t,["R",0,{AJAX:"AjaxRequest",PA:"PageAction",UA:"UserAction",BP:"BrowserPerformance",WS:"WebSocket",SPV:"SecurityPolicyViolation",JSE:"JavaScriptError",LOG:"Log",PVE:"PageView",PVT:"PageViewTiming",SR:"SessionReplay",ST:"SessionTrace",BI:"BrowserInteraction"}])},9752(e,t,r){"use strict";const n="newrelic-iframe-",i=n+"timing-update",s=n+"api",a=n+"api-response",o=n+"vitals-update",c=n+"ajax";r.d(t,["$8",0,o,"Gi",0,a,"KU",0,c,"Pl",0,n,"cS",0,s,"cr",0,i])},6154(e,t,r){"use strict";var n=r(1863);const i="undefined"!=typeof window&&!!window.document,s="undefined"!=typeof WorkerGlobalScope&&("undefined"!=typeof self&&self instanceof WorkerGlobalScope&&self.navigator instanceof WorkerNavigator||"undefined"!=typeof globalThis&&globalThis instanceof WorkerGlobalScope&&globalThis.navigator instanceof WorkerNavigator),a=i?window:"undefined"!=typeof WorkerGlobalScope&&("undefined"!=typeof self&&self instanceof WorkerGlobalScope&&self||"undefined"!=typeof globalThis&&globalThis instanceof WorkerGlobalScope&&globalThis),o=Boolean("hidden"===a?.document?.visibilityState),c=""+a?.location,d=/iPad|iPhone|iPod/.test(a.navigator?.userAgent),u=d&&"undefined"==typeof SharedWorker,l=(()=>{const e=a.navigator?.userAgent?.match(/Firefox[/\s](\d+\.\d+)/);return Array.isArray(e)&&e.length>=2?+e[1]:0})(),f=Date.now()-(0,n.t)();r.d(t,["OF",0,d,"RI",0,i,"WN",0,f,"bv",0,s,"gm",0,a,"lR",0,l,"m",0,c,"mw",0,o,"sb",0,u,"zk",0,()=>{const e=a?.performance?.getEntriesByType?.("navigation")?.[0];if(e&&e.responseStart>0&&e.responseStart<a.performance.now())return e}])},7295(e,t,r){"use strict";r.d(t,{Xv:()=>a,gX:()=>i,iW:()=>s});var n=[];function i(e){if(!e||s(e))return!1;if(0===n.length)return!0;if("*"===n[0].hostname)return!1;for(var t=0;t<n.length;t++){var r=n[t];if(r.hostname.test(e.hostname)&&r.pathname.test(e.pathname))return!1}return!0}function s(e){return void 0===e.hostname}function a(e){if(n=[],e&&e.length)for(var t=0;t<e.length;t++){let r=e[t];if(!r)continue;if("*"===r)return void(n=[{hostname:"*"}]);0===r.indexOf("http://")?r=r.substring(7):0===r.indexOf("https://")&&(r=r.substring(8));const i=r.indexOf("/");let s,a;i>0?(s=r.substring(0,i),a=r.substring(i)):(s=r,a="*");let[c]=s.split(":");n.push({hostname:o(c),pathname:o(a,!0)})}}function o(e,t=!1){const r=e.replace(/[.+?^${}()|[\]\\]/g,e=>"\\"+e).replace(/\*/g,".*?");return new RegExp((t?"^":"")+r+"$")}},3241(e,t,r){"use strict";r.d(t,{W:()=>i});var n=r(6154);function i(e={}){try{n.gm.dispatchEvent(new CustomEvent("newrelic",{detail:e}))}catch(e){}}},1687(e,t,r){"use strict";r.d(t,{Ak:()=>o,Ze:()=>d,x3:()=>c});var n=r(3241),i=r(3606),s=r(860),a=r(2646);function o(e,t){if(!e)return;const r={staged:!1,priority:s.P3[t]||0};
11e.runtime.drainRegistry.get(t)||e.runtime.drainRegistry.set(t,r)}function c(e,t){if(!e)return;const r=e.runtime.drainRegistry;r&&(r.get(t)&&r.delete(t),l(e,t,!1),r.size&&u(e))}function d(e,t="feature",r=!1){if(e){if(!e.runtime.drainRegistry.get(t)||r)return l(e,t);e.runtime.drainRegistry.get(t).staged=!0,u(e)}}function u(e){if(!e)return;const t=Array.from(e.runtime.drainRegistry);t.every(([e,t])=>t.staged)&&(t.sort((e,t)=>e[1].priority-t[1].priority),t.forEach(([t])=>{e.runtime.drainRegistry.delete(t),l(e,t)}))}function l(e,t,r=!0){if(!e)return;const s=e.ee,o=i.i.handlers;if(s&&!s.aborted&&s.backlog&&o){if((0,n.W)({type:"lifecycle",name:"drain",feature:t}),r){const e=s.backlog[t],r=o[t];if(r){for(let t=0;e&&t<e.length;++t)f(e[t],r);Object.entries(r).forEach(([e,t])=>{Object.values(t||{}).forEach(t=>{t[0]?.on&&t[0].context()instanceof a.y&&!t[0].listeners(e).includes(t[1])&&t[0].on(e,t[1])})})}}s.isolatedBacklog||delete o[t],s.backlog[t]=null,s.emit("drain-"+t,[])}}function f(e,t){var r=e[1];Object.values(t[r]||{}).forEach(t=>{var r=e[0];if(t[0]===r){var n=t[1],i=e[3],s=e[2];n.apply(i,s)}})}},7836(e,t,r){"use strict";var n=r(384),i=r(8990),s=r(2646),a=r(5607);const o="nr@context:".concat(a.W),c=function e(t,r){var n={},a={},u={},l=!1;try{l=16===r.length&&d.initializedAgents?.[r]?.runtime.isolatedBacklog}catch(e){}var f={on:p,addEventListener:p,removeEventListener:function(e,t){var r=n[e];if(!r)return;for(var i=0;i<r.length;i++)r[i]===t&&r.splice(i,1)},emit:function(e,r,n,i,s){!1!==s&&(s=!0);if(c.aborted&&!i)return;t&&s&&t.emit(e,r,n);var o=h(n);g(e).forEach(e=>{e.apply(o,r)});var d=v()[a[e]];d&&d.push([f,e,r,o]);return o},get:m,listeners:g,context:h,buffer:function(e,t){const r=v();if(t=t||"feature",f.aborted)return;Object.entries(e||{}).forEach(([e,n])=>{a[n]=t,t in r||(r[t]=[])})},abort:function(){f._aborted=!0,Object.keys(f.backlog).forEach(e=>{delete f.backlog[e]})},isBuffering:function(e){return!!v()[a[e]]},debugId:r,backlog:l?{}:t&&"object"==typeof t.backlog?t.backlog:{},isolatedBacklog:l};return Object.defineProperty(f,"aborted",{get:()=>{let e=f._aborted||!1;return e||(t&&(e=t.aborted),e)}}),f;function h(e){return e&&e instanceof s.y?e:e?(0,i.I)(e,o,()=>new s.y(o)):new s.y(o)}function p(e,t){n[e]=g(e).concat(t)}function g(e){return n[e]||[]}function m(t){return u[t]=u[t]||e(f,t)}function v(){return f.backlog}}(void 0,"globalEE"),d=(0,n.Zm)();d.ee||(d.ee=c),r.d(t,["P",0,o,"ee",0,c])},2646(e,t,r){"use strict";r.d(t,{y:()=>n});class n{constructor(e){this.contextId=e}}},9908(e,t,r){"use strict";r.d(t,{d:()=>n,p:()=>i});var n=r(7836).ee.get("handle");function i(e,t,r,i,s){s?(s.buffer([e],i),s.emit(e,t,r)):(n.buffer([e],i),n.emit(e,t,r))}},3606(e,t,r){"use strict";r.d(t,{i:()=>s});var n=r(9908);s.on=a;var i=s.handlers={};function s(e,t,r,s){a(s||n.d,i,e,t,r)}function a(e,t,r,i,s){s||(s="feature"),e||(e=n.d);var a=t[s]=t[s]||{};(a[r]=a[r]||[]).push([e,i])}},3878(e,t,r){"use strict";function n(e,t){return{capture:e,passive:!1,signal:t}}function i(e,t,r=!1,i){window.addEventListener(e,t,n(r,i))}function s(e,t,r=!1,i){document.addEventListener(e,t,n(r,i))}r.d(t,{DD:()=>s,jT:()=>n,sp:()=>i})},5607(e,t,r){"use strict";const n=(0,r(9566).bz)();r.d(t,["W",0,n])},9566(e,t,r){"use strict";r.d(t,{LA:()=>a,ZF:()=>o,bz:()=>s,el:()=>c});var n=r(6154);function i(e,t){return e?15&e[t]:16*Math.random()|0}function s(){const e=n.gm?.crypto||n.gm?.msCrypto;let t,r=0;return e&&e.getRandomValues&&(t=e.getRandomValues(new Uint8Array(30))),"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".split("").map(e=>"x"===e?i(t,r++).toString(16):"y"===e?(3&i()|8).toString(16):e).join("")}function a(e){const t=n.gm?.crypto||n.gm?.msCrypto;let r,s=0;t&&t.getRandomValues&&(r=t.getRandomValues(new Uint8Array(e)));const a=[];for(var o=0;o<e;o++)a.push(i(r,s++).toString(16));return a.join("")}function o(){return a(16)}function c(){return a(32)}},2614(e,t,r){"use strict";r.d(t,["BB",0,18e5,"Wt",0,"NRBA_SESSION::","g",0,{OFF:0,FULL:1,ERROR:2},"iL",0,{SAME_TAB:"same-tab",CROSS_TAB:"cross-tab"},"tS",0,{STARTED:"session-started",PAUSE:"session-pause",RESET:"session-reset",RESUME:"session-resume",UPDATE:"session-update"},"wk",0,144e5])},733(e,t,r){"use strict";function n(e,t){return function(e){let t=2166136261;for(let r=0;r<e.length;r++)t^=e.charCodeAt(r),t=Math.imul(t,16777619);return(t>>>0).toString(16).padStart(8,"0")}("".concat(String(e),":").concat(String(t)))}r.d(t,{Y:()=>n})},1863(e,t,r){"use strict";function n(){return Math.floor(performance.now())}r.d(t,{t:()=>n})},9119(e,t,r){"use strict";r.d(t,{L:()=>s});var n=/([^?#]*)[^#]*(#[^?]*|$).*/,i=/([^?#]*)().*/;function s(e,t){return e?e.replace(t?n:i,"$1$2"):e}},7485(e,t,r){"use strict";r.d(t,{D:()=>i});var n=r(6154);function i(e){if(0===(e||"").indexOf("data:"))return{protocol:"data"};try{const t=new URL(e,location.href),r={port:t.port,hostname:t.hostname,pathname:t.pathname,search:t.search,protocol:t.protocol.slice(0,t.protocol.indexOf(":")),sameOrigin:t.protocol===n.gm?.location?.protocol&&t.host===n.gm?.location?.host};return r.port&&""!==r.port||("http:"===t.protocol&&(r.port="80"),"https:"===t.protocol&&(r.port="443")),r.pathname&&""!==r.pathname?r.pathname.startsWith("/")||(r.pathname="/".concat(r.pathname)):r.pathname="/",r}catch(e){return{}}}},7866(e,t,r){"use strict";r.d(t,["Nc",0,/^\s*at Function code \(Function code:\d+:\d+\)\s*/i,"cn",0,/^\s*(?:([^@]*)(?:\(.*?\))?@)?((?:file|http|https|chrome|safari-extension).*?):(\d+)(?::(\d+))?\s*$/i,"fL",0,/^\s*at .+ \(eval at \S+ \((?:(?:file|http|https):[^)]+)?\)(?:, [^:]*:\d+:\d+)?\)$/i,"h3",0,/function (.+?)\s*\(/,"hB",0,/^\s*at (?:((?:\[object object\])?(?:[^(]*\([^)]*\))*[^()]*(?: \[as \S+\])?) )?\(?((?:file|http|https|chrome-extension):.*?)?:(\d+)(?::(\d+))?\)?\s*$/i])},944(e,t,r){"use strict";r.d(t,{R:()=>i});var n=r(3241);function i(e,t){"function"==typeof console.debug&&(console.debug("New Relic Warning: https://github.com/newrelic/newrelic-browser-agent/blob/main/docs/warning-codes.md#".concat(e),t),(0,n.W)({drained:null,type:"data",name:"warn",feature:"warn",data:{code:e,secondary:t}}))}},8990(e,t,r){"use strict";r.d(t,{I:()=>i});var n=Object.prototype.hasOwnProperty;function i(e,t,r){if(n.call(e,t))return e[t];var i=r();if(Object.defineProperty&&Object.keys)try{return Object.defineProperty(e,t,{value:i,writable:!0,enumerable:!1}),i}catch(e){}return e[t]=i,i}},6389(e,t,r){"use strict";function n(e,t=500,r={}){const n=r?.leading||!1;let i;return(...r)=>{n&&void 0===i&&(e.apply(this,r),i=setTimeout(()=>{i=clearTimeout(i)},t)),n||(clearTimeout(i),i=setTimeout(()=>{e.apply(this,r)},t))}}function i(e){let t=!1;return(...r)=>{t||(t=!0,e.apply(this,r))}}r.d(t,{J:()=>i,s:()=>n})},1910(e,t,r){"use strict";r.d(t,{i:()=>s});var n=r(944);const i=new Map;function s(...e){return e.every(e=>{if(i.has(e))return i.get(e);const t="function"==typeof e?e.toString():"",r=t.includes("[native code]"),s=t.includes("nrWrapper");return r||s||(0,n.R)(64,e?.name||t),i.set(e,r),r})}},3304(e,t,r){"use strict";r.d(t,{A:()=>i});var n=r(7836);function i(e){try{return JSON.stringify(e,(()=>{const e=new WeakSet;return(t,r)=>{if("object"==typeof r&&null!==r){if(e.has(r))return;e.add(r)}return r}})())??""}catch(e){try{n.ee.emit("internal-error",[e])}catch(e){}return""}}},9232(e,t,r){"use strict";r.d(t,["f",0,{MFE:"MFE",BA:"BA"}])},7560(e,t,r){"use strict";r.d(t,{N:()=>a,j:()=>c});var n=r(9119),i=r(944);const s=(0,r(6389).J)(e=>(0,i.R)(80,e));function a(e){if(!Array.isArray(e?.assets)||!e.assets.length)return;
11const t=e.assets.map(o).filter(Boolean);return t.length?{assets:t,scripts:t.filter(e=>e.isScript)}:void 0}function o(e){if(!e||"object"!=typeof e)return;const{matcher:t,type:r}=e;let i="string"==typeof t&&t.endsWith(".js");return void 0!==r&&(!function(e){return"script"===e||"asset"===e}(r)?s(r):i=function(e){return"script"===e}(r)),a=t,"[object RegExp]"===Object.prototype.toString.call(a)?{pattern:t,test:e=>(t.lastIndex=0,t.test((0,n.L)(e))),isScript:i}:"string"==typeof t&&t.length>0?{pattern:t,test:e=>(0,n.L)(e).includes(t),isScript:i}:void s(t);var a}function c(e,t,{scriptsOnly:r=!1}={}){if(!e||!t)return!1;return(r?e.scripts:e.assets).some(e=>e.test(t))}},5718(e,t,r){"use strict";r.d(t,{xo:()=>T,AZ:()=>v,cI:()=>g,Qr:()=>A,QL:()=>y});var n=r(6154),i=r(1863),s=r(9119),a=r(7866);class o{dom=new c;performance=new c;constructor(e){this.url=e,this.claimedBy=new Set}get script(){const e=Math.max(this.dom.start,this.performance.end);return{start:e,end:Math.max(this.dom.end,this.performance.end,e)}}}class c{start=0;end=0;value=void 0}function d(e=()=>{},t){return{get:()=>void 0!==t?t:e(),set:e=>{t=e}}}let u;try{u=v(y())[0]}catch(e){u=v(e)[0]}const l=new Map;let f=[];const h=new WeakMap;function p(e){let t=h.get(e);return t||(t={weighedAssetUrls:new Set,recordManifestScriptWindow:(t,r)=>{t&&(e.scriptStart=e.scriptStart>0?Math.min(e.scriptStart,t):t),r&&(e.scriptEnd=e.scriptEnd>0?Math.max(e.scriptEnd,r):r)}},h.set(e,t)),t}function g(e){return l.get(e)}function m(e){const t=g(e);
11if(t)return t;const r=new o(e);if(l.set(e,r),l.size>1e3){const e=l.keys().next().value;l.delete(e)}return r}if(n.gm.MutationObserver&&n.gm.document){new MutationObserver(e=>{e.forEach(e=>{e.addedNodes.forEach(e=>{if("SCRIPT"===e.nodeName&&e.src){const t=m((0,s.L)(e.src));t.dom.start=(0,i.t)(),t.dom.value=e;const r=()=>{t.dom.end=(0,i.t)()};["load","error"].forEach(t=>e.addEventListener(t,r,{once:!0}))}})})}).observe(n.gm.document,{childList:!0,subtree:!0})}if(n.gm.PerformanceObserver?.supportedEntryTypes.includes("resource")){new PerformanceObserver(e=>{e.getEntries().forEach(e=>{if((e=>"script"===e.initiatorType||["link","fetch"].includes(e.initiatorType)&&(0,s.L)(e.name).endsWith(".js"))(e)){const t=m((0,s.L)(e.name));t.performance.start=Math.floor(e.startTime),t.performance.end=Math.floor(e.responseEnd),t.performance.value=e}if(!f.length)return;const t=[];f.forEach(({test:r,addedAt:n},s)=>{(r(e)||(0,i.t)()-n>1e4)&&t.push(s)}),f=f.filter((e,r)=>!t.includes(r))})}).observe({type:"resource",buffered:!0})}function v(e){if(!e||"string"!=typeof e)return[];const t=new Set,r=e.split("\n");for(const e of r){const r=e.match(a.cn)||e.match(a.hB)||e.match(a.fL);if(r&&r[2])t.add((0,s.L)(r[2]));else{const r=e.match(/\(([^)]+\.js):\d+:\d+\)/)||e.match(/^\s+at\s+([^\s(]+\.js):\d+:\d+/);r&&r[1]&&t.add((0,s.L)(r[1]))}}return[...t]}function y(){let e;try{const t=Error.stackTraceLimit;Error.stackTraceLimit=50,e=(new Error).stack,Error.stackTraceLimit=t}catch(t){e=(new Error).stack}return e}function b(e,t){return(0,s.L)(e.name)===t}function E(e,t){e.fetchStart=Math.floor(t.startTime),e.fetchEnd=Math.floor(t.responseEnd),e.asset=t.name,e.type=t.initiatorType,w(e,t)}function w(e,t){const r=(0,s.L)(t.name),{weighedAssetUrls:n}=p(e);n.has(r)||(n.add(r),e.totalWeight=(e.totalWeight||0)+(t.transferSize||0),"blocking"===t.renderBlockingStatus?e.renderBlocking=!0:"non-blocking"===t.renderBlockingStatus&&!0!==e.renderBlocking&&(e.renderBlocking=!1))}function R(e,t,r,n,i){if(w(e,t),"scripts"!==i&&"all"!==i)return;if("all"===i||r.isScript){const r=Math.floor(t.startTime),n=Math.floor(t.responseEnd);e.fetchStart=e.fetchStart>0?Math.min(e.fetchStart,r):r,e.fetchEnd=e.fetchEnd>0?Math.max(e.fetchEnd,n):n}if(r.isScript){const r=g((0,s.L)(t.name));if(r){const t=()=>{const{start:t,end:n}=r.script;p(e).recordManifestScriptWindow(t,n)};t(),!r.dom.end&&r.dom.value&&["load","error"].forEach(e=>r.dom.value.addEventListener(e,t,{once:!0}))}n.resolved||(e.asset=t.name,e.type=t.initiatorType,n.resolved=!0)}}function T(e,t){const r=t?.manifest;if(!r||!r.assets.length)return;const s={resolved:!1},a=new Set(r.assets);(n.gm.performance?.getEntriesByType("resource")||[]).forEach(r=>{const n=[...a].find(e=>e.test(r.name));n&&(R(e,r,n,s,t.timingMethod),a.delete(n))}),a.size&&function(e,t,r,s){n.gm.PerformanceObserver?.supportedEntryTypes?.includes("resource")&&f.push({addedAt:(0,i.t)(),test:n=>{const i=[...t].find(e=>e.test(n.name));return i&&(R(e,n,i,r,s),t.delete(i)),0===t.size}})}(e,a,s,t.timingMethod)}function A(e){const t=e?.id,r={registeredAt:(0,i.t)(),reportedAt:void 0,fetchStart:0,fetchEnd:0,scriptStart:0,scriptEnd:0,asset:void 0,type:"unknown",totalWeight:0,renderBlocking:void 0},a=y();if(!a)return r;const o=n.gm.performance?.getEntriesByType("navigation")?.[0]?.name||"";try{const e=v(a),c=(e.length>1?e.filter(e=>u!==e):e)[0];if(!c)return r;if(o.includes(c))return r.asset=(0,s.L)(o),r.type="inline",r;r.correlation=g(c);const l=r.correlation?.performance.value||n.gm.performance?.getEntriesByType("resource")?.find(e=>b(e,c));if(l)E(r,l);else{(function(e){if(!e||!n.gm.document)return!1;try{const t=n.gm.document.querySelectorAll('link[rel="preload"][as="script"]');for(const r of t)if((0,s.L)(r.href)===e)return!0}catch(e){}return!1})(c)&&(r.asset=c,r.type="preload"),function(e,t){n.gm.PerformanceObserver?.supportedEntryTypes?.includes("resource")&&f.push({addedAt:(0,i.t)(),test:r=>!!b(r,t)&&(E(e,r),!0)})}(r,c)}const h=r.correlation,m=!!t&&!!h?.claimedBy.has(t);h&&t&&h.claimedBy.add(t);const y=()=>{const e=h?.script.start;if(!m||!e)return!1;return r.registeredAt-e>1e4};let w=0,R=0;p(r).recordManifestScriptWindow=(e,t)=>{e&&(w=w>0?Math.min(w,e):e),t&&(R=R>0?Math.max(R,t):t)},Object.defineProperty(r,"scriptStart",d(()=>{const e=y()?r.registeredAt:h?.script.start??r.fetchEnd;return w>0?Math.min(e,w):e})),Object.defineProperty(r,"scriptEnd",d(()=>{const e=y()?r.registeredAt:h?.script.end??r.registeredAt;return R>0?Math.max(e,R):e}))}catch(e){}return r}},5732(e,t,r){"use strict";r.d(t,{$5:()=>m,B5:()=>g,K6:()=>u,M$:()=>
11o,Ms:()=>d,NG:()=>c,Ux:()=>h,YA:()=>p,yx:()=>l});var n=r(5718),i=r(7560),s=r(9119),a=r(9232);function o(e){return e?.type===a.f.MFE}function c(e,t){if(!y(e,t))return;const r=t.runtime.registeredEntities;return r?.find(t=>t.metadata.target.iframeInterfaceId===e)}function d(e,t){if(!y(e,t))return[];const r=t.runtime.registeredEntities;return r?.filter(t=>String(t.metadata.target.id)===String(e)).map(e=>e.metadata.target)||[]}function u(e,t){if(!y(e,t))return[];const r=t.runtime.registeredEntities,n=(0,s.L)(e),a=r?.filter(t=>{const r=t.metadata.target?.manifest;return r?(0,i.j)(r,e,{scriptsOnly:!1}):!!t.metadata.timings?.asset&&(0,s.L)(t.metadata.timings.asset)===n});return f(a).map(e=>e.metadata.target)}function l(e,t){if(!y(e,t))return[];const r=t.runtime.registeredEntities,n=r?.filter(t=>{const r=t.metadata.target?.manifest;return r?(0,i.j)(r,e,{scriptsOnly:!0}):!!t.metadata.timings?.asset?.endsWith(e)});return f(n).map(e=>e.metadata.target)}function f(e){if(!e?.length)return e||[];const t=new Map,r=[];for(const n of e){const e=n.metadata?.timings?.asset;if(!e){r.push(n);continue}const i="".concat(e,"::").concat(n.metadata?.target?.id),s=t.get(i);if(s){if(s.metadata.target?.blocked&&!n.metadata.target?.blocked){const e=r.indexOf(s);-1!==e&&(r[e]=n),t.set(i,n)}}else t.set(i,n),r.push(n)}return r}function h(e,t){return v(t)?o(e)?e.attributes:t.agentRef.runtime.v2Target.attributes:{}}function p(e,t){return g(e,t)?{"child.id":e.id,"child.type":e.type,...h(void 0,t)}:{}}function g(e,t){return o(e)&&!!v(t)&&t.agentRef.init.api.register.duplicate_data_to_container}function m(e){if(!e?.runtime)return[];if(!y(!0,e)||!e.runtime.registeredEntities?.length)return[e.runtime.v2Target];const t=[];try{var r=(0,n.AZ)((0,n.QL)());let i=r.length-1;for(;r[i];)t.push(...l(r[i--],e))}catch(e){}const i=function(e){const t=new Set,r=[];for(const n of e){const e=n?.instance;t.has(e)||(t.add(e),r.push(n))}return r}(t);return i.length||i.push(e.runtime.v2Target),i}function v(e){return 2===e?.harvestEndpointVersion}function y(e,t){return!!e&&!!t?.init.api.register.enabled}},5289(e,t,r){"use strict";r.d(t,{GG:()=>a,Qr:()=>c,sB:()=>o});var n=r(3878),i=r(6389);function s(){return"undefined"==typeof document||"complete"===document.readyState}function a(e,t){if(s())return e();const r=(0,i.J)(e),a=setInterval(()=>{s()&&(clearInterval(a),r())},500);(0,n.sp)("load",r,t)}function o(e){if(s())return e();(0,n.DD)("DOMContentLoaded",e)}function c(e){if(s())return e();(0,n.sp)("popstate",e)}},384(e,t,r){"use strict";r.d(t,{Zm:()=>c,bQ:()=>u,dV:()=>d,pV:()=>l});var n=r(6154),i=r(1863),s=r(944),a=r(1910);const o={beacon:"bam.nr-data.net",errorBeacon:"bam.nr-data.net"};function c(){return n.gm.NREUM||(n.gm.NREUM={}),void 0===n.gm.newrelic&&(n.gm.newrelic=n.gm.NREUM),n.gm.NREUM}function d(){let e=c();return e.o||(e.o={ST:n.gm.setTimeout,SI:n.gm.setImmediate||n.gm.setInterval,CT:n.gm.clearTimeout,XHR:n.gm.XMLHttpRequest,REQ:n.gm.Request,EV:n.gm.Event,PR:n.gm.Promise,MO:n.gm.MutationObserver,FETCH:n.gm.fetch,WS:n.gm.WebSocket},(0,a.i)(...Object.values(e.o))),e}function u(e,t){let r=c();r.initializedAgents??={},t.initializedAt={ms:(0,i.t)(),date:new Date},r.initializedAgents[e]=t,2===Object.keys(r.initializedAgents).length&&(0,s.R)(69)}function l(){return function(){let e=c();const t=e.info||{};e.info={beacon:o.beacon,errorBeacon:o.errorBeacon,...t}}(),function(){let e=c();const t=e.init||{};e.init={...t}}(),d(),function(){let e=c();const t=e.loader_config||{};e.loader_config={...t}}(),c()}r.d(t,["NT",0,o])},2843(e,t,r){"use strict";r.d(t,{G:()=>s,u:()=>i});var n=r(3878);function i(e,t=!1,r,i){(0,n.DD)("visibilitychange",function(){if(t)return void("hidden"===document.visibilityState&&e());e(document.visibilityState)},r,i)}function s(e,t,r){(0,n.sp)("pagehide",e,t,r)}},8139(e,t,r){"use strict";r.d(t,{u:()=>f});var n=r(7836),i=r(3434),s=r(8990),a=r(6154);const o={},c=a.gm.XMLHttpRequest,d="addEventListener",u="removeEventListener",l="nr@wrapped:".concat(n.P);function f(e,t){var r=function(e){return(e||n.ee).get("events")}(e);if(o[r.debugId]++)return r;o[r.debugId]=1;var f=(0,i.YM)(r,!0,t);function p(e){f.inPlace(e,[d,u],"-",g)}function g(e,t){return e[1]}return"getPrototypeOf"in Object&&(a.RI&&h(document,p),c&&h(c.prototype,p),h(a.gm,p)),r.on(d+"-start",function(e,t){var r=e[1];if(null!==r&&("function"==typeof r||"object"==typeof r)&&"newrelic"!==e[0]){var n=(0,s.I)(r,l,function(){var e={object:function(){if("function"!=typeof r.handleEvent)return;return r.handleEvent.apply(r,arguments)},function:r}[typeof r];return e?f(e,"fn-",null,e.name||"anonymous"):r});this.wrapped=e[1]=n}}),r.on(u+"-start",function(e){e[1]=this.wrapped||e[1]}),r}function h(e,t,...r){let n=e;for(;"object"==typeof n&&!Object.prototype.hasOwnProperty.call(n,d);)n=Object.getPrototypeOf(n);n&&t(n,...r)}},3434(e,t,r){"use strict";r.d(t,{YM:()=>d});var n=r(7836),i=r(5607),s=r(5732);const a="nr@original:".concat(i.W);var o=Object.prototype.hasOwnProperty,c=!1;function d(e,t,r){return e||(e=n.ee),i.inPlace=function(e,t,r,n,s,a){r||(r="");const o="-"===r.charAt(0);for(let c=0;c<t.length;c++){const d=t[c],u=e[d];l(u)||(e[d]=i(u,o?d+r:r,n,d,s,a))}},i.flag=a,i;function i(t,n,i,c,f,h){return l(t)?t:(n||(n=""),nrWrapper[a]=t,function(e,t,r){if(Object.defineProperty&&Object.keys)try{return Object.keys(e).forEach(function(r){Object.defineProperty(t,r,{get:function(){return e[r]},set:function(t){return e[r]=t,t}})}),t}catch(e){u([e],r)}for(var n in e)o.call(e,n)&&(t[n]=e[n])}
11(t,nrWrapper,e),nrWrapper);function nrWrapper(){var a,o,l,p;let g,m;try{o=this,a=[...arguments],m=h?(0,s.$5)(r):[r?.runtime?.v2Target],l="function"==typeof i?i(a,o):i||{}}catch(t){u([t,"",[a,o,c],l],e)}d(n+"start",[a,o,c,m],l,f);const v=performance.now();let y;try{return p=t.apply(o,a),y=performance.now(),p}catch(e){throw y=performance.now(),d(n+"err",[a,o,e,m],l,f),g=e,g}finally{const e=y-v,t={start:v,end:y,duration:e,isLongTask:e>=50,methodName:c,thrownError:g};t.isLongTask&&d("long-task",[t,o,m],l,f),d(n+"end",[a,o,p,m],l,f)}}}function d(r,n,i,s){if(!c||t){var a=c;c=!0;try{e.emit(r,n,i,t,s)}catch(t){u([t,r,n,i],e)}c=a}}}function u(e,t){t||(t=n.ee);try{t.emit("internal-error",e)}catch(e){}}function l(e){return!(e&&"function"==typeof e&&e.apply&&!e[a])}r.d(t,["Jt",0,a])},9300(e,t,r){"use strict";const n=r(860).K7.ajax;r.d(t,["TZ",0,n,"f5",0,"ajaxRequest.id","mo",0,{NONE:"none",FAILURES:"failures",ALL:"all"}])},3333(e,t,r){"use strict";var n=r(981);const i=r(860).K7.genericEvents,s=[n.R.PA,n.R.UA,n.R.BP];r.d(t,["$v",0,{RESOURCES:"experimental.resources",REGISTER:"register"},"TZ",0,i,"Zp",0,["auxclick","click","copy","keydown","paste","scrollend"],"kd",0,s,"qN",0,["focus","blur"]])},6774(e,t,r){"use strict";const n=r(860).K7.jserrors;r.d(t,["T",0,n])},993(e,t,r){"use strict";const n=r(860).K7.logging;r.d(t,["A$",0,{OFF:0,ERROR:1,WARN:2,INFO:3,DEBUG:4,TRACE:5},"TZ",0,n,"p_",0,{ERROR:"ERROR",WARN:"WARN",INFO:"INFO",DEBUG:"DEBUG",TRACE:"TRACE"}])},3785(e,t,r){"use strict";r.d(t,{R:()=>c,b:()=>d});var n=r(9908),i=r(1863),s=r(860),a=r(3969),o=r(993);function c(e,t,r={},c=o.p_.INFO,d=!0,u,l=(0,i.t)()){(0,n.p)(a.xV,["API/logging/".concat(c.toLowerCase(),"/called")],void 0,s.K7.metrics,e),(0,n.p)("log",[l,t,r,c,d,u],void 0,s.K7.logging,e)}function d(e){return"string"==typeof e&&Object.values(o.p_).some(t=>t===e.toUpperCase().trim())}},3969(e,t,r){"use strict";const n=r(860).K7.metrics;r.d(t,["TZ",0,n,"XG",0,"storeEventMetrics","xV",0,"storeSupportabilityMetrics"])},6630(e,t,r){"use strict";const n=r(860).K7.pageViewEvent;r.d(t,["T",0,n])},782(e,t,r){"use strict";const n=r(860).K7.pageViewTiming;r.d(t,["T",0,n])},6344(e,t,r){"use strict";var n=r(2614);const i=r(860).K7.sessionReplay,s={[n.g.ERROR]:15e3,[n.g.FULL]:3e5,[n.g.OFF]:0}
11;r.d(t,["Qb",0,{API:"api",RESUME:"resume",SWITCH_TO_FULL:"switchToFull",INITIALIZE:"initialize",PRELOAD:"preload"},"TZ",0,i,"Vh",0,"errorDuringReplay","_s",0,{DomContentLoaded:0,Load:1,FullSnapshot:2,IncrementalSnapshot:3,Meta:4,Custom:5},"bc",0,{RESET:{message:"Session was reset",sm:"Reset"},IMPORT:{message:"Recorder failed to import",sm:"Import"},TOO_MANY:{message:"429: Too Many Requests",sm:"Too-Many"},TOO_BIG:{message:"Payload was too large",sm:"Too-Big"},CROSS_TAB:{message:"Session Entity was set to OFF on another tab",sm:"Cross-Tab"},ENTITLEMENTS:{message:"Session Replay is not allowed and will not be started",sm:"Entitlement"}},"yP",0,s])},5270(e,t,r){"use strict";r.d(t,{Aw:()=>a,SR:()=>s,rF:()=>o});var n=r(384),i=r(7767);function s(e){return!!(0,n.dV)().o.MO&&(0,i.V)(e)&&!0===e?.session_trace.enabled}function a(e){return!0===e?.session_replay.preload&&s(e)}function o(e,t){try{if("string"==typeof t?.type&&"password"===t.type.toLowerCase())return"*".repeat(e?.length||0);if(void 0!==t?.dataset?.nrUnmask||t?.classList?.contains("nr-unmask"))return e}catch(e){}return"string"==typeof e?e.replace(/[\S]/g,"*"):"*".repeat(e?.length||0)}},3738(e,t,r){"use strict";const n=r(860).K7.sessionTrace,i="-start",s="-end",a="fn"+i,o="fn"+s;r.d(t,["He",0,"bstResource","Kp",0,s,"Lc",0,o,"Rz",0,"pushState","TZ",0,n,"bD",0,"resource","bc",0,{CROSS_TAB:{message:"Session Entity was set to OFF on another tab"},ENTITLEMENTS:{message:"Session Trace is not allowed and will not be started"},RESET:{message:"Session was reset"},SESSION_CHANGED:{message:"Session identifier changed unexpectedly"}},"d3",0,i,"uP",0,a])},3962(e,t,r){"use strict";const n=r(860).K7.softNav;r.d(t,["O2",0,{INITIAL_PAGE_LOAD:"",ROUTE_CHANGE:1,UNSPECIFIED:2},"OV",0,"popstate","Qu",0,{INTERACTION:1,AJAX:2,CUSTOM_END:3,CUSTOM_TRACER:4},"TZ",0,n,"ih",0,{IP:"in progress",PF:"pending finish",FIN:"finished",CAN:"cancelled"},"pP",0,"initialPageLoad","tC",0,["click","keydown","submit"]])},4234(e,t,r){"use strict";r.d(t,{W:()=>i});var n=r(1687);class i{constructor(e,t){this.agentRef=e,this.ee=e?.ee,this.featureName=t,this.blocked=!1}deregisterDrain(){(0,n.x3)(this.agentRef,this.featureName)}}},7767(e,t,r){"use strict";var n=r(6154);r.d(t,["V",0,e=>n.RI&&!0===e?.privacy.cookies_enabled])},8362(e,t,r){"use strict";r.d(t,{d:()=>s});var n=r(9566),i=r(1741);class s extends i.W{agentIdentifier=(0,n.LA)(16)}},1741(e,t,r){"use strict";r.d(t,{W:()=>s});var n=r(944),i=r(4261);class s{#e(e,...t){if(this[e]!==s.prototype[e])return this[e](...t);(0,n.R)(35,e)}addPageAction(e,t){return this.#e(i.hG,e,t)}register(e){return this.#e(i.eY,e)}recordCustomEvent(e,t){return this.#e(i.fF,e,t)}setPageViewName(e,t){return this.#e(i.Fw,e,t)}setCustomAttribute(e,t,r){return this.#e(i.cD,e,t,r)}noticeError(e,t){return this.#e(i.o5,e,t)}setUserId(e,t=!1){return this.#e(i.Dl,e,t)}setApplicationVersion(e){return this.#e(i.nb,e)}setErrorHandler(e){return this.#e(i.bt,e)}addRelease(e,t){return this.#e(i.k6,e,t)}log(e,t){return this.#e("log",e,t)}start(){return this.#e("start")}finished(e){return this.#e(i.BL,e)}recordReplay(){return this.#e(i.CH)}pauseReplay(){return this.#e(i.Tb)}addToTrace(e){return this.#e(i.U2,e)}setCurrentRouteName(e){return this.#e(i.PA,e)}interaction(e){return this.#e(i.dT,e)}wrapLogger(e,t,r){return this.#e(i.Wb,e,t,r)}measure(e,t){return this.#e(i.V1,e,t)}consent(e){return this.#e(i.Pv,e)}}},4261(e,t,r){"use strict";r.d(t,["BL",0,"finished","CH",0,"recordReplay","Dl",0,"setUserId","Fw",0,"setPageViewName","PA",0,"setCurrentRouteName","Pv",0,"consent","Tb",0,"pauseReplay","U2",0,"addToTrace","V1",0,"measure","Wb",0,"wrapLogger","bt",0,"setErrorHandler","cD",0,"setCustomAttribute","dT",0,"interaction","eY",0,"register","fF",0,"recordCustomEvent","hG",0,"addPageAction","hw",0,"api-ixn-","k6",0,"addRelease","nb",0,"setApplicationVersion","o5",0,"noticeError"])},1738(e,t,r){"use strict";r.d(t,{U:()=>l,Y:()=>u});var n=r(3241),i=r(9908),s=r(1863),a=r(944),o=r(3969),c=r(8362),d=r(860);function u(e,t,r,s){const u=s||r;!u||u[e]&&u[e]!==c.d.prototype[e]||(u[e]=function(){(0,i.p)(o.xV,["API/"+e+"/called"],void 0,d.K7.metrics,r.ee),(0,n.W)({drained:!!r.runtime?.activatedFeatures,type:"data",name:"api",feature:"api-"+e,data:{}});try{return t.apply(this,arguments)}catch(e){(0,a.R)(23,e)}})}function l(e,t,r,n,a){const o=e.info;null===r?delete o.jsAttributes[t]:o.jsAttributes[t]=r,(a||null===r)&&(0,i.p)("api-"+n,[(0,s.t)(),t,r],void 0,"session",e.ee)}},8374(e,t,r){r.nc=(()=>{try{return document?.currentScript?.nonce}catch(e){}return""})()},860(e,t,r){"use strict";const n="events",i="jserrors",s="browser/blobs",a="browser/logs",o={ajax:"ajax",genericEvents:"generic_events",jserrors:i,logging:"logging",metrics:"metrics",pageAction:"page_action",pageViewEvent:"page_view_event",pageViewTiming:"page_view_timing",sessionReplay:"session_replay",sessionTrace:"session_trace",softNav:"soft_navigations"},c={[o.pageViewEvent]:1,[o.pageViewTiming]:2,[o.metrics]:3,[o.jserrors]:4,[o.softNav]:5,[o.ajax]:6,[o.sessionTrace]:7,[o.sessionReplay]:8,[o.logging]:9,[o.genericEvents]:10},d={[o.pageViewEvent]:"rum",[o.pageViewTiming]:n,[o.ajax]:n,[o.softNav]:n,[o.metrics]:i,[o.jserrors]:i,[o.sessionTrace]:s,[o.sessionReplay]:s,[o.logging]:a,[o.genericEvents]:"ins"};r.d(t,["$J",0,d,"K7",0,o,"P3",0,c,"XX",0,i,"Yy",0,a,"df",0,s,"hg",0,"connect"])}};const t={};function r(n){const i=t[n];if(void 0!==i)return i.exports;const s=t[n]={exports:{}};return e[n](s,s.exports,r),s.exports}r.m=e,r.d=(e,t)=>{if(Array.isArray(t))for(var n=0;n<t.length;){var i=t[n++],s=t[n++];r.o(e,i)?0===s&&n++:0===s?Object.defineProperty(e,i,{enumerable:!0,value:t[n++]}):Object.defineProperty(e,i,{enumerable:!0,get:s})}else for(var i in t)r.o(t,i)&&!r.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce((t,n)=>(r.f[n](e,t),t),[])),r.u=e=>({212:"nr-spa-compressor",238:"nr-spa-iframe-message-handler",249:"nr-spa-recorder",478:"nr-spa"}[e]+"-1.323.0.min.js"),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{const e={},t="NRBA-1.323.0.PROD:";r.l=(n,i,s,a)=>
11{if(e[n])return void e[n].push(i);let o,c;if(void 0!==s){const e=document.getElementsByTagName("script");for(var d=0;d<e.length;d++){const r=e[d];if(r.getAttribute("src")==n||r.getAttribute("data-webpack")==t+s){o=r;break}}}if(!o){c=!0;var u={478:"sha512-ORjtmy+nQMgxbu0os8+oTRa5sPzbinyuWSvpZrrstVLIaHofRRlfODdH+oUmkIgeQpM+vPf3vG/4RzvCsFVh1A==",249:"sha512-o7+K6xC0z3TqynjVxpd+jgiSgqy8rrPeRcUSqt5J0Rqg5Su5CycLMYfpwiM3WBCHiNDrG5aZoXJQ6HRc335XYQ==",212:"sha512-kRvBt1IYQDBnClTEWNaE8sDFqbXXM3Vdyf972Uf4MFbJxl7u3KmdO+jdB1H4achPEoT9YtNXHswaESey6sCH0A==",238:"sha512-U5EGmyYbFVR2UMNAuZJ7fTgVVtPa5b8RPMySDwXo7z3frRdkUJ2x1VAQTLQCeBab8VlGVGRV8FiSHIn/pwN72A=="};o=document.createElement("script"),o.charset="utf-8",r.nc&&o.setAttribute("nonce",r.nc),o.setAttribute("data-webpack",t+s),o.src=n,0!==o.src.indexOf(window.location.origin+"/")&&(o.crossOrigin="anonymous"),u[a]&&(o.integrity=u[a])}e[n]=[i];const l=(t,r)=>{o.onerror=o.onload=null,clearTimeout(f);const i=e[n];if(delete e[n],o.parentNode?.removeChild(o),i?.forEach(e=>e(r)),t)return t(r)},f=setTimeout(l.bind(null,void 0,{type:"timeout",target:o}),12e4);o.onerror=l.bind(null,o.onerror),o.onload=l.bind(null,o.onload),c&&document.head.appendChild(o)}})(),r.r=e=>{Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.p="https://js-agent.newrelic.com/",(()=>{const e={38:0,788:0};r.f.j=(t,n)=>{let i=r.o(e,t)?e[t]:void 0;if(0!==i)if(i)n.push(i[2]);else{const s=new Promise((r,n)=>i=e[t]=[r,n]);n.push(i[2]=s);const a=r.p+r.u(t),o=new Error,c=n=>{if(r.o(e,t)&&(i=e[t],0!==i&&(e[t]=void 0),i)){const e=n&&("load"===n.type?"missing":n.type),r=n&&n.target&&n.target.src;o.message="Loading chunk "+t+" failed: ("+e+": "+r+")",o.name="ChunkLoadError",o.type=e,o.request=r,i[1](o)}};r.l(a,c,"chunk-"+t,t)}};const t=(t,n)=>{let[i,s,a]=n;var o,c,d=0;if(i.some(t=>0!==e[t])){for(o in s)r.o(s,o)&&(r.m[o]=s[o]);if(a)a(r)}for(t&&t(n);d<i.length;d++)c=i[d],r.o(e,c)&&e[c]&&e[c][0](),e[c]=0},n=self["webpackChunk:NRBA-1.323.0.PROD"]=self["webpackChunk:NRBA-1.323.0.PROD"]||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})(),(()=>{"use strict";r(8374);var e=r(8362),t=r(860);const n=Object.values(t.K7);var i=r(384),s=r(1741);var a=r(2555),o=r(3333),c=r(9300);const d=e=>{if(!e||"string"!=typeof e)return!1;try{document.createDocumentFragment().querySelector(e)}catch{return!1}return!0};var u=r(2614),l=r(944),f=r(8122);const h="[data-nr-mask]",p=e=>(0,f.a)(e,(()=>{const e={feature_flags:[],experimental:{register:!1,resources:!1,iframe_bridge:!1,iframe_domains:[]},mask_selector:"*",block_selector:"[data-nr-block]",mask_input_options:{color:!1,date:!1,"datetime-local":!1,email:!1,month:!1,number:!1,range:!1,search:!1,tel:!1,text:!1,time:!1,url:!1,week:!1,textarea:!1,select:!1,password:!0}};return{ajax:{deny_list:void 0,block_internal:!0,enabled:!0,autoStart:!0,capture_payloads:c.mo.NONE},api:{register:{get enabled(){return e.feature_flags.includes(o.$v.REGISTER)||e.experimental.register},set enabled(t){e.experimental.register=t},duplicate_data_to_container:!1,get allow_iframe_bridge(){return e.feature_flags.includes(o.$v.IFRAME_BRIDGE)||e.experimental.iframe_bridge},set allow_iframe_bridge(t){e.experimental.iframe_bridge=t},get iframe_domains(){return e.experimental.iframe_domains},set iframe_domains(t){Array.isArray(t)?e.experimental.iframe_domains=t:(0,l.R)(1,t)}}},browser_consent_mode:{enabled:!1},distributed_tracing:{enabled:void 0,exclude_newrelic_header:void 0,cors_use_newrelic_header:void 0,cors_use_tracecontext_headers:void 0,allowed_origins:void 0},get feature_flags(){return e.feature_flags},set feature_flags(t){e.feature_flags=t},generic_events:{enabled:!0,autoStart:!0},harvest:{interval:30},jserrors:{enabled:!0,autoStart:!0},logging:{enabled:!0,autoStart:!0},metrics:{enabled:!0,autoStart:!0},obfuscate:void 0,page_action:{enabled:!0},page_view_event:{enabled:!0,autoStart:!0},page_view_timing:{enabled:!0,autoStart:!0},performance:{capture_marks:!1,capture_measures:!1,capture_detail:!0,resources:{get enabled(){return e.feature_flags.includes(o.$v.RESOURCES)||e.experimental.resources},set enabled(t){e.experimental.resources=t},asset_types:[],first_party_domains:[],ignore_newrelic:!0}},privacy:{cookies_enabled:!0},proxy:{assets:void 0,beacon:void 0},session:{expiresMs:u.wk,inactiveMs:u.BB},session_replay:{autoStart:!0,enabled:!1,preload:!1,sampling_rate:10,error_sampling_rate:100,collect_fonts:!1,inl
11ine_images:!1,fix_stylesheets:!0,mask_all_inputs:!0,get mask_text_selector(){return e.mask_selector},set mask_text_selector(t){d(t)?e.mask_selector="".concat(t,",").concat(h):""===t||null===t?e.mask_selector=h:(0,l.R)(5,t)},get block_class(){return"nr-block"},get ignore_class(){return"nr-ignore"},get mask_text_class(){return"nr-mask"},get block_selector(){return e.block_selector},set block_selector(t){d(t)?e.block_selector+=",".concat(t):""!==t&&(0,l.R)(6,t)},get mask_input_options(){return e.mask_input_options},set mask_input_options(t){t&&"object"==typeof t?e.mask_input_options={...t,password:!0}:(0,l.R)(7,t)}},session_trace:{enabled:!0,autoStart:!0},soft_navigations:{enabled:!0,autoStart:!0},ssl:void 0,user_actions:{enabled:!0,elementAttributes:["id","className","tagName","type"]},web_sockets:{enabled:!1}}})());var g=r(6154),m=r(9324);let v=0;const y={buildEnv:"PROD",distMethod:"CDN",version:m.x,originTime:g.WN},b={consented:!1},E={activatedFeatures:void 0,appMetadata:{},configured:!1,get consented(){return this.session?.state?.consent||b.consented},set consented(e){b.consented=e},customTransaction:void 0,denyList:[],disabled:!1,drainRegistry:new Map,connector:void 0,harvester:void 0,v2Target:void 0,isolatedBacklog:!1,isRecording:!1,loaderType:void 0,maxBytes:3e4,obfuscator:void 0,onerror:void 0,ptid:void 0,releaseIds:{},session:void 0,timeKeeper:void 0,registeredEntities:[],jsAttributesMetadata:{bytes:0},get harvestCount(){return++v},listeningForIframeMessages:!1};var w=r(9232);var R=r(7836),T=r(3241);const A={accountID:void 0,trustKey:void 0,agentID:void 0,licenseKey:void 0,applicationID:void 0,xpid:void 0};var S=r(9908),x=r(9752);function O(e,t={},n,o){let{init:c,info:d,loader_config:u,runtime:l={},exposed:h=!0}=t;if(!d){const e=(0,i.pV)();c=e.init,d=e.info,u=e.loader_config}var m;e.init=p(c||{}),e.loader_config=(m=u||{},(0,f.a)(m,A)),d.jsAttributes??={},g.bv&&(d.jsAttributes.isWorker=!0),e.info=(0,a.D)(d);const v=e.init;e.runtime??=(e=>{const t=(0,f.a)(e,E),r=Object.keys(y).reduce((e,t)=>(e[t]={value:y[t],writable:!1,configurable:!0,enumerable:!0},e),{});return Object.defineProperties(t,r)})(l),e.runtime.v2Target??={type:w.f.BA,instance:e.agentIdentifier,get id(){return e.runtime.appMetadata?.agents?.[0]?.entityGuid},get attributes(){return{"entity.guid":this.id,appId:e.info.applicationID}}},v.proxy.assets&&(e=>{const t=e.startsWith("http");e+="/",r.p=t?e:"https://"+e})(v.proxy.assets),e.runtime.configured||(Object.defineProperty(e,"beacons",{get:()=>[e.info.beacon,e.info.errorBeacon,e.init.proxy.assets,e.init.proxy.beacon].filter(Boolean)}),Object.defineProperty(e.runtime,"denyList",{get:()=>[...e.init.ajax.deny_list||[],...e.init.ajax.block_internal?e.beacons:[]]}),e.runtime.ptid=e.agentIdentifier,function(e){const t=(0,i.pV)();Object.getOwnPropertyNames(s.W.prototype).forEach(r=>{const n=s.W.prototype[r];if("function"!=typeof n||"constructor"===n)return;let i=t[r];e[r]&&!1!==e.exposed&&"micro-agent"!==e.runtime?.loaderType&&(t[r]=(...t)=>{const n=e[r](...t);return i?i(...t):n})})}(e),e.runtime.loaderType=n,e.ee=R.ee.get(e.agentIdentifier),e.exposed=h,(0,T.W)({drained:!!e.runtime.activatedFeatures,type:"lifecycle",name:"initialize",feature:void 0,data:e.config}),e.init.api.register.allow_iframe_bridge&&g.gm.addEventListener("message",t=>{"string"==typeof t.data?.type&&t.data.type.startsWith(x.Pl)&&(0,S.p)("iframe-message",[t],void 0,"IFRAME",e.ee)}),e.runtime.configured=!0)}var _=r(1863),k=r(4261),N=r(1738);var L=r(1687),M=r(4234),P=r(5289),I=r(5270),j=r(7767),C=r(6389),D=r(7699);const B=new WeakSet,H=new WeakMap;class W extends M.W{constructor(e,t){super(e,t),this.abortHandler=void 0,this.featAggregate=void 0,this.loadedSuccessfully=void 0,this.onAggregateImported=new Promise(e=>{this.loadedSuccessfully=e}),this.deferred=Promise.resolve(),!1===e.init[this.featureName].autoStart?this.deferred=new Promise((t,r)=>{this.ee.on("manual-start-all",(0,C.J)(()=>{(0,L.Ak)(e,this.featureName),t()}))}):(0,L.Ak)(e,t)}importAggregator(e,t,n={}){if(this.featAggregate)return;const i=async()=>{if(await this.deferred,this.#t(e),!(0,a.f)(e.info))return(0,l.R)(43),e.ee.abort(),void this.loadedSuccessfully(!1);try{await async function(e,t,n){if(H.has(e))return H.get(e);const i=(async()=>
11{if((0,j.V)(e.init))try{const{setupAgentSession:t}=await r.e(478).then(r.bind(r,8766));t(e)}catch(e){(0,l.R)(20,e),t.emit("internal-error",[e]),(0,S.p)(D.qh,[e],void 0,n,t)}if(e.init.api.register.allow_iframe_bridge)try{const{setupIframeMFEMessageListener:t}=await r.e(238).then(r.bind(r,6417));t(e)}catch(e){(0,l.R)(23,e)}const[{Connector:i},{Harvester:s}]=await Promise.all([r.e(478).then(r.bind(r,6589)),r.e(478).then(r.bind(r,5237))]);e.runtime.connector=new i(e),e.runtime.harvester=new s(e);const a=Object.values(e.features).filter(t=>e.runtime.drainRegistry.has(t.featureName));Promise.all(a.map(e=>e.onAggregateImported)).then(()=>e.runtime.harvester.startTimer())})();H.set(e,i),await i}(e,this.ee,this.featureName)}catch(e){return(0,l.R)(79,e),this.ee.abort(),void this.loadedSuccessfully(!1)}try{if(!this.#r(this.featureName,e.runtime.session,e.init))return this.abortHandler?.(),(0,L.Ze)(this.agentRef,this.featureName),void this.loadedSuccessfully(!1);const{Aggregate:r}=await t();this.featAggregate=new r(e,n),e.runtime.harvester.initializedAggregates.push(this.featAggregate),this.loadedSuccessfully(!0)}catch(e){(0,l.R)(34,e),this.abortHandler?.(),(0,L.Ze)(this.agentRef,this.featureName,!0),this.loadedSuccessfully(!1)}};g.RI?(0,P.GG)(()=>i(),!0):i()}#r(e,r,n){if(this.blocked)return!1;switch(e){case t.K7.sessionReplay:return(0,I.SR)(n)&&!!r;case t.K7.sessionTrace:return!!r;default:return!0}}#t(e){if(!B.has(e)&&(B.add(e),!(0,a.f)(e.info))){const t=(0,i.pV)();let r={...t.info?.jsAttributes};try{r={...r,...e.info?.jsAttributes}}catch(e){}O(e,{...t,info:{...t.info,jsAttributes:r},runtime:e.runtime},e.runtime.loaderType)}}}var U=r(6630);class K extends W{static featureName=U.T;constructor(e){var t;super(e,U.T),this.setupInspectionEvents(),t=e,(0,N.Y)(k.Fw,function(e,r){"string"==typeof e&&("/"!==e.charAt(0)&&(e="/"+e),t.runtime.customTransaction=(r||"http://custom.transaction")+e,(0,S.p)("api-"+k.Fw,[(0,_.t)()],void 0,void 0,t.ee))},t),this.importAggregator(e,()=>e.init.feature_flags.includes("rum_v2")?r.e(478).then(r.bind(r,908)):r.e(478).then(r.bind(r,7927)))}setupInspectionEvents(){const e=(e,t)=>{e&&(0,T.W)({timeStamp:e.timeStamp,loaded:"complete"===e.target.readyState,type:"window",name:t,data:e.target.location+""})};(0,P.sB)(t=>{e(t,"DOMContentLoaded")}),(0,P.GG)(t=>{e(t,"load")}),(0,P.Qr)(t=>{e(t,"navigate")}),this.ee.on(u.tS.UPDATE,(e,t)=>{(0,T.W)({type:"lifecycle",name:"session",data:t})})}}class F extends e.d{constructor(e){var t;(super(),g.gm)?(this.features={},(0,i.bQ)(this.agentIdentifier,this),this.desiredFeatures=new Set(e.features||[]),this.desiredFeatures.add(K),O(this,e,e.loaderType||"agent"),t=this,(0,N.Y)(k.cD,function(e,r,n=!1){if("string"==typeof e){if(["string","number","boolean"].includes(typeof r)||null===r)return(0,N.U)(t,e,r,k.cD,n);(0,l.R)(40,typeof r)}else(0,l.R)(39,typeof e)},t),function(e){(0,N.Y)(k.Dl,function(t,r=!1){if("string"!=typeof t&&null!==t)return void(0,l.R)(41,typeof t);const n=e.info.jsAttributes["enduser.id"];r&&null!=n&&n!==t?(0,S.p)("api-setUserIdAndResetSession",[t],void 0,"session",e.ee):(0,N.U)(e,"enduser.id",t,k.Dl,!0)},e)}(this),function(e){(0,N.Y)(k.nb,function(t){if("string"==typeof t||null===t)return(0,N.U)(e,"application.version",t,k.nb,!1);(0,l.R)(42,typeof t)},e)}(this),function(e){(0,N.Y)("start",function(){e.ee.emit("manual-start-all")},e)}(this),function(e){(0,N.Y)(k.Pv,function(t=!0){if("boolean"==typeof t){if((0,S.p)("api-"+k.Pv,[t],void 0,"session",e.ee),e.runtime.consented=t,t){const t=e.features.page_view_event;t.onAggregateImported.then(e=>{const r=t.featAggregate;e&&!r.sentRum&&r.sendRum?.()})}}else(0,l.R)(65,typeof t)},e)}(this),this.run()):(0,l.R)(21)}get config(){return{info:this.info,init:this.init,loader_config:this.loader_config,runtime:this.runtime}}get api(){return this}run(){try{const e=function(e){const t={};return n.forEach(r=>{t[r]=!!e[r]?.enabled}),t}(this.init),r=[...this.desiredFeatures],i=this.init.feature_flags.includes("rum_v2");r.sort((e,r)=>t.P3[e.featureName]-t.P3[r.featureName]),r.forEach(r=>{if(!e[r.featureName]&&(i||r.featureName!==t.K7.pageViewEvent))return;const n=function(e){switch(e){case t.K7.ajax:return[t.K7.jserrors];case t.K7.sessionTrace:return[t.K7.ajax,t.K7.pageViewEvent];case t.K7.sessionReplay:return[t.K7.sessionTrace];case t.K7.pageViewTiming:return[t.K7.pageViewEvent];default:return[]}}(r.featureName).filter(e=>!(e in this.features));n.length>0&&(0,l.R)(36,{targetFeature:r.featureName,missingDependencies:n}),this.features[r.featureName]=new r(this)})}catch(e){(0,l.R)(22,e);for(const e in this.features)this.features[e].abortHandler?.();const t=(0,i.Zm)();delete t.initializedAgents[this.agentIdentifier]?.features,delete this.sharedAggregator;return t.ee.get(this.agentIdentifier).abort(),!1}}}var V=r(2843),z=r(782);class G extends W{static featureName=z.T;constructor(e){super(e,z.T),g.RI&&((0,V.u)(()=>(0,S.p)("docHidden",[(0,_.t)()],void 0,z.T,this.ee),!0),(0,V.G)(()=>(0,S.p)("winPagehide",[(0,_.t)()],void 0,z.T,this.ee)),this.importAggregator(e,()=>r.e(478).then(r.bind(r,9917))))}}var q=r(3969);class Y extends W{static featureName=q.TZ;constructor(e){super(e,q.TZ),this.importAggregator(e,()=>r.e(478).then(r.bind(r,6555)))}}var Z=r(6774),J=r(3878),X=r(3304);class Q{constructor(e,t,r,n,i){this.name="UncaughtError",this.message="string"==typeof e?e:(0,X.A)(e),this.sourceURL=t,this.line=r,this.column=n,this.__newrelic=i}}function ee(e){return ne(e)?e:new Q(void 0!==e?.message?e.message:e,e?.filename||e?.sourceURL,e?.lineno||e?.line,e?.colno||e?.col,e?.__newrelic,e?.cause)}function te(e){const t="Unhandled Promise Rejection: ";if(!e?.reason)return;if(ne(e.reason)){try{e.reason.message.startsWith(t)||(e.reason.message=t+e.reason.message)}catch(e){}return ee(e.reason)}const r=ee(e.reason);return(r.message||"").startsWith(t)||(r.message=t+r.message),r}function re(e){if(e.error instanceof SyntaxError&&!/:\d+$/.test(e.error.stack?.trim())){const t=new Q(e.message,e.filename,e.lineno,e.colno,e.error.__newrelic,e.cause);return t.name=SyntaxError.name,t}return ne(e.error)?e.error:ee(e)}function ne(e){return e instanceof Error&&!!e.stack}function ie(e,r,n,i,s=(0,_.t)()){"string"==typeof e&&(e=new Error(e)),(0,S.p)("err",[e,s,!1,r,n.runtime.isRecording,void 0,i],void 0,t.K7.jserrors,n.ee),(0,S.p)("uaErr",[],void 0,t.K7.genericEvents,n.ee)}var se=r(993),ae=r(3785);function oe(e,{customAttributes:t={},level:r=se.p_.INFO}={},n,i,s=(0,_.t)()){(0,ae.R)(n.ee,e,t,r,!1,i,s)}function ce(e,r,n,i,s=(0,_.t)()){(0,S.p)("api-"+k.hG,[s,e,r,i],void 0,t.K7.genericEvents,n.ee)}function de(e,r,n,i,s=(0,_.t)()){const{start:a,end:o,customAttributes:c}=r||{},d={customAttributes:c||{}};if("object"!=typeof d.customAttributes||"string"!=typeof e||0===e.length)return void(0,l.R)(57);const u=(e,t)=>
11null==e?t:"number"==typeof e?e:e instanceof PerformanceMark?e.startTime:Number.NaN;if(d.start=u(a,0),d.end=u(o,s),Number.isNaN(d.start)||Number.isNaN(d.end))(0,l.R)(57);else{if(d.duration=d.end-d.start,!(d.duration<0))return(0,S.p)("api-"+k.V1,[d,e,i],void 0,t.K7.genericEvents,n.ee),d;(0,l.R)(58)}}function ue(e,r={},n,i,s=(0,_.t)()){(0,S.p)("api-"+k.fF,[s,e,r,i],void 0,t.K7.genericEvents,n.ee)}var le=r(5718);const fe=(e,t)=>e?.nrMfeId===t.id&&(!e?.nrMfeObserved||e?.nrMfeObserved===t.instance),he=e=>{try{return g.gm.CSS.escape(e)}catch(t){return e}},pe=(e,t={})=>{const r=t.id,n=t.instance;if(!e||!r||!n)return!1;try{let r=1===e.nodeType?e:e.parentElement;for(;r?.tagName;){if(fe(r.dataset,t))return r.dataset.nrMfeObserved=n,!0;r=r.parentNode}}catch(e){}return!1},ge=(e,t)=>{const r=g.gm.document?.querySelectorAll('[data-nr-mfe-id="'.concat(he(e.id),'"]')),n=(Array.from(r)||[]).find(t=>fe(t.dataset,e));let i=!!n;i&&(n.dataset.nrMfeObserved??=e.instance);const s=new g.gm.MutationObserver(r=>{r.forEach(r=>{r.addedNodes.forEach(r=>{const n=1===r.nodeType?r:null;!i&&fe(n?.dataset,e)&&(s.disconnect(),s.observe(n,{childList:!0,subtree:!0}),i=!0,n.dataset.nrMfeObserved=e.instance),(e=>{try{return e?.textContent?.trim()||["img","video","canvas","svg"].includes(e?.nodeName?.toLowerCase())}catch(e){return!1}})(r)&&(i||pe(r,e))&&t(r,s)})})});return s.observe(n||g.gm.document,{childList:!0,subtree:!0}),s},me=(e,t,r)=>{try{const n=new g.gm.PerformanceObserver(e=>{e.getEntries().forEach(r)});return n.observe(t),e.push(n),n}catch(e){return null}};function ve(e,t){let r,n,i=!1;const s=e=>null==e?e:e-(t?.scriptStart||t?.registeredAt||0),a={fcp:{get value(){const e=s(r);return e>1e4?void 0:e},set value(e){i||(r=e)}},lcp:{get value(){if(void 0!==a.fcp.value)return s(n)},set value(e){i||(n=e)}},cls:{value:void 0},inp:{value:void 0},disconnect:()=>{}};if(!(e&&g.RI&&g.gm.MutationObserver&&g.gm.PerformanceObserver))return a;const o=[];setTimeout(()=>{r||a.disconnect()},1e4);const c=()=>{if(!i){if(null==r){const e=(0,_.t)();if(s(e)>1e4)return void a.disconnect();r=e}n??=(0,_.t)(),a.cls.value??=0}},d=ge(e,(e,t)=>{c(),t.disconnect()});o.push(d);let u=0,l=null;const f=new Set;try{l=new g.gm.ResizeObserver(e=>{i||e.forEach(e=>{try{const t=e.contentRect.width*e.contentRect.height;t>u&&(u=t,a.lcp.value=(0,_.t)()),l.unobserve(e.target)}catch(e){}})})}catch(e){}const h=ge(e,e=>{if(c(),l)try{const t=1===e.nodeType?e:e.parentElement;t&&!f.has(t)&&(f.add(t),"IMG"===t.tagName?t.complete?l.observe(t):t.addEventListener("load",()=>{l.observe(t)},{once:!0}):"VIDEO"===t.tagName?t.readyState>=2?l.observe(t):t.addEventListener("loadeddata",()=>{l.observe(t)},{once:!0}):l.observe(t))}catch(e){}});l&&o.push(l),o.push(h),me(o,{type:"layout-shift",buffered:!0},t=>{i||t.hadRecentInput||(t.sources||[]).some(r=>!!pe(r.node,e)&&(c(),a.cls.value+=t.value,!0))}),me(o,{type:"event",buffered:!0,durationThreshold:40},t=>{!i&&t.interactionId&&pe(t.target,e)&&(void 0===a.inp.value||t.duration>a.inp.value)&&(c(),a.inp.value=t.duration)});const p=["pointerdown","keydown"],m=()=>{p.forEach(e=>{g.gm.removeEventListener(e,v,{passive:!0})})};a.disconnect=()=>{i=!0,o.forEach(e=>{try{e?.disconnect()}catch(e){}}),m(),["visibilitychange","pagehide"].forEach(e=>{g.gm.removeEventListener(e,a.disconnect,{once:!0,passive:!0})})};const v=t=>{pe(t?.target,e)&&((()=>{try{h?.disconnect(),l?.disconnect()}catch(e){}})(),m())};p.forEach(e=>{g.gm.addEventListener(e,v,{passive:!0})}),["visibilitychange","pagehide"].forEach(e=>{g.gm.addEventListener(e,a.disconnect,{once:!0,passive:!0})});const y=g.gm.document?.querySelectorAll('[data-nr-mfe-id="'.concat(he(e.id),'"]'));return Array.from(y||[]).some(t=>fe(t.dataset,e))&&c(),a}var ye=r(9566),be=r(7560),Ee=r(9119);const we=["entry","scripts","all"],Re=["name","id","type"],Te=new Map([[ce,"addPageAction"],[oe,"log"],[de,"measure"],[ie,"noticeError"],[ue,"recordCustomEvent"]]),Ae={experimental:(0,C.J)(()=>(0,l.R)(54,"newrelic.register")),disabled:(0,C.J)(()=>(0,l.R)(55)),invalidTarget:(0,C.J)(e=>(0,l.R)(48,e)),deregistered:(0,C.J)(()=>(0,l.R)(68)),invalidTimingMethod:(0,C.J)(e=>(0,l.R)(80,e)),duplicateName:(0,C.J)(e=>(0,l.R)(81,e)),duplicateId:(0,C.J)(e=>(0,l.R)(82,e))};function Se(e){(0,N.Y)(k.eY,function(t){return xe(e,t)},e)}function xe(e,r){Ae.experimental(),r||={},r.instance=(0,ye.LA)(8),r.type=w.f.MFE,r.licenseKey||=e.info.licenseKey,r.blocked=!1,("object"!=typeof r.tags||null===r.tags||Array.isArray(r.tags))&&(r.tags={}),r.parent??={get id(){return e.runtime.appMetadata.agents?.[0].entityGuid},type:w.f.BA},r.manifest=(0,be.N)(r.manifest),void 0===r.timingMethod||we.includes(r.timingMethod)||(Ae.invali
11dTimingMethod(r.timingMethod),r.timingMethod=void 0);const n=(0,le.Qr)(r);r.manifest&&(0,le.xo)(n,r);const i=ve(r,n),s=(0,Ee.L)(""+location),a={};Object.prototype.hasOwnProperty.call(r,"attributes")||Object.defineProperty(r,"attributes",{get:()=>({...a,"source.id":r.id,"source.name":r.name,"source.type":r.type,"parent.type":r.parent?.type||w.f.BA,"parent.id":r.parent?.id})}),Object.entries(r.tags).forEach(([e,t])=>{Re.includes(e)||(a["source.".concat(e)]=t)});let o=()=>{};const c=e.runtime.registeredEntities,d=e=>{r.blocked=!0,o=e};function u(e){return"string"==typeof e&&!!e.trim()&&e.trim().length<501}e.init.api.register.enabled||d(Ae.disabled),u(r.id)&&u(r.name)||d(()=>Ae.invalidTarget(r)),c.forEach(e=>{try{const{name:t,id:n}=e.metadata.target;t===r.name&&n!==r.id&&Ae.duplicateName(r),n===r.id&&t!==r.name&&Ae.duplicateId(r)}catch(e){}});const f={addPageAction:(t,n={})=>m(ce,[t,{...a,...n},e],r),deregister:()=>{p(),d(Ae.deregistered)},log:(t,n={})=>m(oe,[t,{...n,customAttributes:{...a,...n.customAttributes||{}}},e],r),measure:(t,n={})=>m(de,[t,{...n,customAttributes:{...a,...n.customAttributes||{}}},e],r),noticeError:(t,n={})=>m(ie,[t,{...a,...n},e],r),recordCustomEvent:(t,n={})=>m(ue,[t,{...a,...n},e],r),setApplicationVersion:e=>g("application.version",e),setCustomAttribute:(e,t)=>g(e,t),setUserId:e=>g("enduser.id",e),metadata:{get customAttributes(){return a},target:r,timings:n,vitals:i,events:{latestTimestamp:void 0}}},h=()=>(r.blocked&&o(),r.blocked);function p(){if(n.reportedAt)return;n.reportedAt=(0,_.t)(),i.disconnect(),n.fcp=i.fcp,n.lcp=i.lcp,n.cls=i.cls,n.inp=i.inp;const e=n.fetchEnd-n.fetchStart,t=n.scriptEnd-n.scriptStart,r={assetUrl:n.asset,assetType:n.type,registerUrl:s,deregisterUrl:(0,Ee.L)(""+location),pageUrl:void 0,currentUrl:void 0,timeAlive:n.reportedAt-n.registeredAt,timeToBeRequested:n.fetchStart,timeToExecute:t,timeToFetch:e,timeToLoad:e+t,t
11imeToRegister:n.registeredAt,totalWeight:n.totalWeight,...void 0!==n.renderBlocking&&{renderBlocking:n.renderBlocking},...i.fcp.value>=0&&{"vitals.fcp.value":i.fcp.value},...i.lcp.value>=0&&{"vitals.lcp.value":i.lcp.value},...i.cls.value>=0&&{"vitals.cls.value":i.cls.value},...i.inp.value>=0&&{"vitals.inp.value":i.inp.value}};f.recordCustomEvent("MicroFrontEndTiming",r)}h()||(c.push(f),(0,V.G)(p));const g=(e,t)=>{h()||(a[e]=t)},m=(r,n,i)=>{if(h()&&r!==xe)return;const s=f.metadata.events.latestTimestamp??(0,_.t)();f.metadata.events.latestTimestamp=void 0;const a=Te.get(r)||"unknown";(0,S.p)(q.xV,["API/register/".concat(a,"/called")],void 0,t.K7.metrics,e.ee);try{return r(...n,i,s)}catch(e){(0,l.R)(50,e)}};return f}class Oe extends W{static featureName=Z.T;constructor(e){var t;super(e,Z.T),t=e,(0,N.Y)(k.o5,(e,r)=>ie(e,r,t),t),function(e){(0,N.Y)(k.bt,function(t){e.runtime.onerror=t},e)}(e),function(e){let t=0;(0,N.Y)(k.k6,function(e,r){++t>10||(this.runtime.releaseIds[e.slice(-200)]=(""+r).slice(-200))},e)}(e),Se(e);try{this.removeOnAbort=new AbortController}catch(e){}this.ee.on("internal-error",(t,r)=>{this.abortHandler&&(0,S.p)("ierr",[ee(t),(0,_.t)(),!0,{},e.runtime.isRecording,r],void 0,this.featureName,this.ee)}),g.gm.addEventListener("unhandledrejection",t=>{this.abortHandler&&(0,S.p)("err",[te(t),(0,_.t)(),!1,{unhandledPromiseRejection:1},e.runtime.isRecording],void 0,this.featureName,this.ee)},(0,J.jT)(!1,this.removeOnAbort?.signal)),g.gm.addEventListener("error",t=>{this.abortHandler&&(0,S.p)("err",[re(t),(0,_.t)(),!1,{},e.runtime.isRecording],void 0,this.featureName,this.ee)},(0,J.jT)(!1,this.removeOnAbort?.signal)),this.abortHandler=this.#n,this.importAggregator(e,()=>r.e(478).then(r.bind(r,9377)))}#n(){this.removeOnAbort?.abort(),this.abortHandler=void 0}}var _e=r(8990);let ke=1;function Ne(e){const t=typeof e;return!e||"object"!==t&&"function"!==t?-1:e===g.gm?0:(0,_e.I)(e,"nr@id",function(){return ke++})}function Le(e){if("string"==typeof e)return e.length;if("object"==typeof e){if("undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer&&e.byteLength)return e.byteLength;if("undefined"!=typeof Blob&&e instanceof Blob&&e.size)return e.size;if(!("undefined"!=typeof FormData&&e instanceof FormData))try{return(0,X.A)(e).length}catch(e){return}}}var Me=r(8139),Pe=r(3434),Ie=r(5732);const je={},Ce=["open","send","setRequestHeader"];function De(e,t){var r=e||R.ee;const n=function(e){return(e||R.ee).get("xhr")}(r);if(void 0===g.gm.XMLHttpRequest)return n;if(je[n.debugId]++)return n;je[n.debugId]=1,(0,Me.u)(r,t);var i=(0,Pe.YM)(n,void 0,t),s=g.gm.XMLHttpRequest,a=g.gm.MutationObserver,o=g.gm.Promise,c=g.gm.setInterval,d="readystatechange",u=["onload","onerror","onabort","onloadstart","onloadend","onprogress","ontimeout"],f=[],h=g.gm.XMLHttpRequest=function(e){const r=new s(e),a=n.context(r);a.targets=(0,Ie.$5)(t);try{n.emit("new-xhr",[r],a),r.addEventListener(d,(o=a,function(){var e=this;e.readyState>3&&!o.resolved&&(o.resolved=!0,n.emit("xhr-resolved",[],e)),i.inPlace(e,u,"fn-",E)}),(0,J.jT)(!1))}catch(e){(0,l.R)(15,e);try{n.emit("internal-error",[e])}catch(e){}}var o;return r};function p(e,t){i.inPlace(t,["onreadystatechange"],"fn-",E)}if(function(e,t){for(var r in e)t[r]=e[r]}(s,h),h.prototype=s.prototype,i.inPlace(h.prototype,Ce,"-xhr-",E),n.on("send-xhr-start",function(e,t){p(e,t),function(e){f.push(e),a&&(m?m.then(b):c?c(b):(v=-v,y.data=v))}(t)}),n.on("open-xhr-start",p),a){var m=o&&o.resolve();if(!c&&!o){var v=1,y=document.createTextNode(v);new a(b).observe(y,{characterData:!0})}}else r.on("fn-end",function(e){e[0]&&e[0].type===d||b()});function b(){for(var e=0;e<f.length;e++)p(0,f[e]);f.length&&(f=[])}function E(e,t){return t}return n}var Be="fetch-",He=Be+"body-",We=["arrayBuffer","blob","json","text","formData"],Ue=g.gm.Request,Ke=g.gm.Response,Fe="prototype";const Ve={};function ze(e,t){const r=function(e){return(e||R.ee).get("fetch")}(e);if(!(Ue&&Ke&&g.gm.fetch))return r;if(Ve[r.debugId]++)return r;function n(e,n,i){var s=e[n];"function"==typeof s&&(e[n]=function(){var e=[...arguments];const n={},a=(0,Ie.$5)(t);var o;r.emit(i+"before-start",[e],n),n[R.P]&&n[R.P].dt&&(o=n[R.P].dt);var c=s.apply(this,e);return r.emit(i+"start",[e,o],c),c.then(function(e){return r.emit(i+"end",[null,e,a],c),e},function(e){throw r.emit(i+"end",[e,void 0,a],c),e})})}
11return Ve[r.debugId]=1,We.forEach(e=>{n(Ue[Fe],e,He),n(Ke[Fe],e,He)}),n(g.gm,"fetch",Be),r.on(Be+"end",function(e,n,i){var s=this;if(s.targets=i||[t.runtime.v2Target],n){var a=n.headers.get("content-length");null!==a&&(s.rxSize=a),r.emit(Be+"done",[null,n],s)}else r.emit(Be+"done",[e],s)}),r}var Ge=r(7485);class qe{constructor(e){this.agentRef=e}generateTracePayload(e){const t=this.agentRef.loader_config;if(!this.shouldGenerateTrace(e)||!t)return null;var r=(t.accountID||"").toString()||null,n=(t.agentID||"").toString()||null,i=(t.trustKey||"").toString()||null;if(!r||!n)return null;var s,a=(0,ye.ZF)(),o=(0,ye.el)(),c=Date.now();this.agentRef.runtime?.timeKeeper?.ready&&(s=Math.floor(this.agentRef.runtime.timeKeeper.correctAbsoluteTimestamp(c)));var d={spanId:a,traceId:o,timestamp:c,timestampCorrected:s};return(e.sameOrigin||this.isAllowedOrigin(e)&&this.useTraceContextHeadersForCors())&&(d.traceContextParentHeader=this.generateTraceContextParentHeader(a,o),d.traceContextStateHeader=this.generateTraceContextStateHeader(a,s??c,r,n,i)),(e.sameOrigin&&!this.excludeNewrelicHeader()||!e.sameOrigin&&this.isAllowedOrigin(e)&&this.useNewrelicHeaderForCors())&&(d.newrelicHeader=this.generateTraceHeader(a,o,s??c,r,n,i)),d}generateTraceContextParentHeader(e,t){return"00-"+t+"-"+e+"-01"}generateTraceContextStateHeader(e,t,r,n,i){return i+"@nr=0-1-"+r+"-"+n+"-"+e+"----"+t}generateTraceHeader(e,t,r,n,i,s){if(!("function"==typeof g.gm?.btoa))return null;var a={v:[0,1],d:{ty:"Browser",ac:n,ap:i,id:e,tr:t,ti:r}};return s&&n!==s&&(a.d.tk=s),btoa((0,X.A)(a))}shouldGenerateTrace(e){return this.agentRef.init?.distributed_tracing?.enabled&&this.isAllowedOrigin(e)}isAllowedOrigin(e){var t=!1;const r=this.agentRef.init?.distributed_tracing;if(e.sameOrigin)t=!0;else if(r?.allowed_origins instanceof Array)for(var n=0;n<r.allowed_origins.length;n++){var i=(0,Ge.D)(r.allowed_origins[n]);if(e.hostname===i.hostname&&e.protocol===i.protocol&&e.port===i.port){t=!0;break}}return t}excludeNewrelicHeader(){var e=this.agentRef.init?.distributed_tracing;return!!e&&!!e.exclude_newrelic_header}useNewrelicHeaderForCors(){var e=this.agentRef.init?.distributed_tracing;return!!e&&!1!==e.cors_use_newrelic_header}useTraceContextHeadersForCors(){var e=this.agentRef.init?.distributed_tracing;return!!e&&!!e.cors_use_tracecontext_headers}}var Ye=r(7295);function Ze(e){return"string"==typeof e?e:e instanceof(0,i.dV)().o.REQ?e.url:g.gm?.URL&&e instanceof URL?e.href:void 0}function $e(e,t){var r=(0,Ge.D)(t),n=e.params||e;n.hostname=r.hostname,n.port=r.port,n.protocol=r.protocol,n.host=r.hostname+":"+r.port,n.pathname=r.pathname,e.parsedOrigin=r,e.sameOrigin=r.sameOrigin}var Je=["load","error","abort","timeout"],Xe=Je.length,Qe=(0,i.dV)().o.REQ,et=(0,i.dV)().o.XHR;const tt="X-NewRelic-App-Data",rt="internal-error";class nt extends W{static featureName=c.TZ;constructor(e){super(e,c.TZ),this.dt=new qe(e),this.handler=(e,t,r,n)=>(0,S.p)(e,t,r,n,this.ee);try{const e={xmlhttprequest:"xhr",fetch:"fetch",beacon:"beacon"};g.gm?.performance?.getEntriesByType("resource").forEach(r=>{if(r.initiatorType in e&&0!==r.responseStatus){const n={status:r.responseStatus},i={rxSize:r.transferSize,duration:Math.floor(r.duration),cbTime:0};$e(n,r.name),this.handler("xhr",[n,i,r.startTime,r.responseEnd,e[r.initiatorType]],void 0,t.K7.ajax)}})}catch(e){}ze(this.ee,e),De(this.ee,e),function(e,r,n,i){const s=[c.mo.ALL,c.mo.FAILURES].includes(e.init.ajax?.capture_payloads);function a(e){var t=this;t.totalCbs=0,t.called=0,t.cbTime=0,t.end=A,t.ended=!1,t.xhrGuids={},t.lastSize=null,t.loadCaptureCalled=!1,t.params=this.params||{},t.metrics=this.metrics||{},t.latestLongtaskEnd=0,e.addEventListener("load",function(r){O(t,e)},(0,J.jT)(!1)),g.lR||e.addEventListener("progress",function(e){t.lastSize=e.loaded},(0,J.jT)(!1))}function o(e){this.params={method:e[0]},$e(this,e[1]),this.metrics={}}function d(t,r){e.loader_config.xpid&&this.sameOrigin&&r.setRequestHeader("X-NewRelic-ID",e.loader_config.xpid);var n=i.generateTracePayload(this.parsedOrigin);if(n){var s=!1;n.newrelicHeader&&(r.setRequestHeader("newrelic",n.newrelicHeader),s=!0),n.traceContextParentHeader&&(r.setRequestHeader("traceparent",n.traceContextParentHeader),n.traceContextStateHeader&&r.setRequestHeader("tracestate",n.traceContextStateHeader),s=!0),s&&(this.dt=n)}}function u(e,t){s&&e.length>=2&&(this.requestHeaders??={},this.requestHeaders[e[0].toLowerCase()]=e[1])}function l(e,t){var n=this.metrics,i=e[0],s=this;if(n&&i){var a=Le(i);a&&(n.txSize=a)}this.startTime=(0,_.t)(),this.requestBody=i,this.listener=function(e){try{"abort"!==e.type||s.loadCaptureCalled||(s.params.aborted=!0),("load"
11!==e.type||s.called===s.totalCbs&&(s.onloadCalled||"function"!=typeof t.onload)&&"function"==typeof s.end)&&s.end(t)}catch(e){try{r.emit(rt,[e])}catch(e){}}};for(var o=0;o<Xe;o++)t.addEventListener(Je[o],this.listener,(0,J.jT)(!1))}function f(e,t,r){this.cbTime+=e,t?this.onloadCalled=!0:this.called+=1,this.called!==this.totalCbs||!this.onloadCalled&&"function"==typeof r.onload||"function"!=typeof this.end||this.end(r)}function h(e,t){var r=""+Ne(e)+!!t;this.xhrGuids&&!this.xhrGuids[r]&&(this.xhrGuids[r]=!0,this.totalCbs+=1)}function p(e,t){var r=""+Ne(e)+!!t;this.xhrGuids&&this.xhrGuids[r]&&(delete this.xhrGuids[r],this.totalCbs-=1)}function m(){this.endTime=(0,_.t)()}function v(e,t){t instanceof et&&"load"===e[0]&&r.emit("xhr-load-added",[e[1],e[2]],t)}function y(e,t){t instanceof et&&"load"===e[0]&&r.emit("xhr-load-removed",[e[1],e[2]],t)}function b(e,t,r){t instanceof et&&("onload"===r&&(this.onload=!0),("load"===(e[0]&&e[0].type)||this.onload)&&(this.xhrCbStart=(0,_.t)()))}function E(e,t){this.xhrCbStart&&r.emit("xhr-cb-time",[(0,_.t)()-this.xhrCbStart,this.onload,t],t)}function w(e){var t,r=e[1]||{};if("string"==typeof e[0]?0===(t=e[0]).length&&g.RI&&(t=""+g.gm.location.href):e[0]&&e[0].url?t=e[0].url:g.gm?.URL&&e[0]&&e[0]instanceof URL?t=e[0].href:"function"==typeof e[0].toString&&(t=e[0].toString()),"string"==typeof t&&0!==t.length){t&&(this.parsedOrigin=(0,Ge.D)(t),this.sameOrigin=this.parsedOrigin.sameOrigin);var n=i.generateTracePayload(this.parsedOrigin);if(n&&(n.newrelicHeader||n.traceContextParentHeader))if(e[0]&&e[0].headers)o(e[0].headers,n)&&(this.dt=n);else{var s={};for(var a in r)s[a]=r[a];s.headers=new Headers(r.headers||{}),o(s.headers,n)&&(this.dt=n),e.length>1?e[1]=s:e.push(s)}}function o(e,t){var r=!1;return t.newrelicHeader&&(e.set("newrelic",t.newrelicHeader),r=!0),t.traceContextParentHeader&&(e.set("traceparent",t.traceContextParentHeader),t.traceContextStateHeader&&e.set("tracestate",t.traceContextStateHeader),r=!0),r}}function R(e,t){this.params={},this.metrics={},this.startTime=(0,_.t)(),this.dt=t;let[r,n={}]=e;$e(this,Ze(r));const i=(""+(r&&r instanceof Qe&&r.method||n.method||"GET")).toUpperCase();this.params.method=i,this.txSize=Le(n.body||r?.body)||0;try{var a=n.headers||r?.headers;if(s&&a)if(this.requestHeaders??={},a instanceof Headers)a.forEach(function(e,t){this.requestHeaders[t.toLowerCase()]=e}.bind(this));else if("object"==typeof a)for(var o in a)this.requestHeaders[o.toLowerCase()]=a[o]}catch(e){}this.requestBody=n.body||r?.body}function T(e,t){if(this.endTime=(0,_.t)(),this.params||(this.params={}),(0,Ye.iW)(this.params))return;this.params.status=t?t.status:0;const n=()=>{const e=+this.rxSize,t=null==this.rxSize||isNaN(e)?void 0:e,r={txSize:this.txSize,rxSize:t,duration:this.endTime-this.startTime},n=[this.params,r,this.startTime,this.endTime,"fetch"];this.targets.forEach(e=>x(n,this,e))};t&&s?t.clone().text().then(e=>{this.responseBody=e,this.rxSize&&"0"!==this.rxSize&&0!==this.rxSize||void 0===e||0===this.params.status||(this.rxSize=Le(e)),t?.headers&&(this.responseHeaders={},t.headers.forEach(function(e,t){this.responseHeaders[t.toLowerCase()]=e}.bind(this)))}).catch(e=>{r.emit(rt,[e])}).finally(()=>{n()}):n()}function A(e){const t=this.params,n=this.metrics;if(this.ended)return;this.ended=!0;for(let t=0;t<Xe;t++)e.removeEventListener(Je[t],this.listener,!1);if(t.aborted)return;if((0,Ye.iW)(t))return;if(n.duration=this.endTime-this.startTime,this.loadCaptureCalled||4!==e.readyState?null==t.status&&(t.status=0):O(this,e),n.cbTime=this.cbTime,s){try{this.responseBody=e.responseText}catch(t){this.responseBody=e.response}if((!n.rxSize||0===n.rxSize)&&void 0!==this.responseBody&&0!==t.status){const e=Le(this.responseBody);void 0!==e&&(n.rxSize=e)}try{this.responseHeaders=function(e){const t={};return e?(e.split("\r\n").forEach(function(e){const r=e.indexOf(": ");if(r>0){const n=e.substring(0,r),i=e.substring(r+2);t[n.toLowerCase()]=i}}),t):t}(e.getAllResponseHeaders())}catch(e){r.emit(rt,[e])}}const i=[t,n,this.startTime,this.endTime,"xhr"];this.targets.forEach(e=>x(i,this,e))}function x(e,r,i){n("xhr",[...e,i],r,t.K7.ajax)}function O(e,n){e.params.status=n.status;var i=function(e,t){var r=e.responseType;return"json"===r&&null!==t?t:"arraybuffer"===r||"blob"===r||"json"===r?Le(e.response):"text"===r||""===r||void 0===r?Le(e.responseText):void 0}(n,e.lastSize);if(void 0!==i&&0!==n.status&&(e.metrics.rxSize=i),e.sameOrigin&&n.getAllResponseHeaders().indexOf(tt)>=0){var s=n.getResponseHeader(tt);s&&((0,S.p)("sm",["Ajax/CrossApplicationTracing/Header/Seen"],void 0,t.K7.metrics,r),e.params.cat=s.split(", ").pop())}e.loadCaptureCalled=!0}r.on("new-xhr",a),r.on("open-xhr-start",o),r.on("open-xhr-end",d),r.on("send-xhr-start",l),r.on("setRequestHeader-xhr-start",u),r.on("xhr-cb-time",f),r.on("xhr-load-added",h),r.on("xhr-load-removed",p),r.on("xhr-resolved",m),r.on("addEventListener-end",v),r.on("removeEventListener-end",y),r.on("fn-end",E),r.on("fetch-before-start",w),r.on("fetch-start",R),r.on("fn-start",b),r.on("fetch-done",T)}(e,this.ee,this.handler,this.dt),this.importAggregator(e,()=>r.e(478).then(r.bind(r,3845)))}}const it={},st=["pushState","replaceState"];function at(e,t){const r=function(e){return(e||R.ee).get("history")}(e);return!g.RI||it[r.debugId]++||(it[r.debugId]=1,(0,Pe.YM)(r,void 0,t).inPlace(window.history,st,"-")),r}var ot=r(3738);function ct(e){(0,N.Y)(k.BL,function(r=Date.now()){const n=r-g.WN;n<0&&(0,l.R)(62,r),(0,S.p)(q.XG,[k.BL,{time:n}],void 0,t.K7.metrics,e.ee),e.addToTrace({name:k.BL,start:r,origin:"nr"}),(0,S.p)("api-"+k.hG,[n,k.BL],void 0,t.K7.genericEvents,e.ee)},e)}const{He:dt,bD:ut,d3:lt,Kp:ft,TZ:ht,Lc:pt,uP:gt,Rz:mt}=ot;class vt extends W{static featureName=ht;constructor(e){var n;super(e,ht),n=e,(0,N.Y)(k.U2,function(e){if(!(e&&"object"==typeof e&&e.name&&e.start))return;const r={n:e.name,s:e.start-g.WN,e:(e.end||e.start)-g.WN,o:e.origin||"",t:"api"};r.s<0||r.e<0||r.e<r.s?(0,l.R)(61,{start:r.s,end:r.e}):(0,S.p)("bstApi",[r],void 0,t.K7.sessionTrace,n.ee)},n),ct(e);
11if(!(0,j.V)(e.init))return void this.deregisterDrain();const i=this.ee;let s;at(i,e),this.eventsEE=(0,Me.u)(i,e),this.eventsEE.on(gt,function(e,t){this.bstStart=(0,_.t)()}),this.eventsEE.on(pt,function(e,r){(0,S.p)("bst",[e[0],r,this.bstStart,(0,_.t)()],void 0,t.K7.sessionTrace,i)}),i.on(mt+lt,function(e){this.time=(0,_.t)(),this.startPath=location.pathname+location.hash}),i.on(mt+ft,function(e){(0,S.p)("bstHist",[location.pathname+location.hash,this.startPath,this.time],void 0,t.K7.sessionTrace,i)});try{s=new PerformanceObserver(e=>{const r=e.getEntries();(0,S.p)(dt,[r],void 0,t.K7.sessionTrace,i)}),s.observe({type:ut,buffered:!0})}catch(e){}this.importAggregator(e,()=>r.e(478).then(r.bind(r,6974)),{resourceObserver:s})}}var yt=r(733),bt=r(6344);class Et extends W{static featureName=bt.TZ;#i;recorder;constructor(e){var n;let i;super(e,bt.TZ),n=e,(0,N.Y)(k.CH,function(){(0,S.p)(k.CH,[],void 0,t.K7.sessionReplay,n.ee)},n),function(e){(0,N.Y)(k.Tb,function(){(0,S.p)(k.Tb,[],void 0,t.K7.sessionReplay,e.ee)},e)}(e);const s="".concat(u.Wt).concat((0,yt.Y)(e.info.licenseKey,e.info.applicationID));try{i=JSON.parse(localStorage.getItem(s))}catch(e){}(0,I.SR)(e.init)&&this.ee.on(k.CH,()=>this.#s()),this.#a(i)&&this.importRecorder().then(e=>{e.startRecording(bt.Qb.PRELOAD,i?.sessionReplayMode)}),this.abortHandler=this.#n,this.importAggregator(this.agentRef,()=>r.e(478).then(r.bind(r,6167)),this),this.ee.on("err",e=>{this.blocked||this.agentRef.runtime.isRecording&&(this.errorNoticed=!0,(0,S.p)(bt.Vh,[e],void 0,this.featureName,this.ee))})}#a(e){return e&&(e.sessionReplayMode===u.g.FULL||e.sessionReplayMode===u.g.ERROR)||(0,I.Aw)(this.agentRef.init)}importRecorder(){return this.recorder?Promise.resolve(this.recorder):(this.#i??=Promise.all([r.e(478),r.e(249)]).then(r.bind(r,4866)).then(({Recorder:e})=>(this.recorder=new e(this),this.recorder)).catch(e=>{throw this.ee.emit("internal-error",[e]),this.blocked=!0,e}),this.#i)}#s(){this.blocked||(this.featAggregate?this.featAggregate.mode!==u.g.FULL&&this.featAggregate.initializeRecording(u.g.FULL,!0,bt.Qb.API):this.importRecorder().then(()=>{this.recorder.startRecording(bt.Qb.API,u.g.FULL)}))}#n(){this.recorder?.stopRecording()}}var wt=r(3962);class Rt extends W{static featureName=wt.TZ;constructor(e){if(super(e,wt.TZ),function(e){const r=e.ee.get("tracer");function n(){}(0,N.Y)(k.dT,function(e){return(new n).get("object"==typeof e?e:{})},e);const i=n.prototype={createTracer:function(n,i){var s={},a=this,o="function"==typeof i;return(0,S.p)(q.xV,["API/createTracer/called"],void 0,t.K7.metrics,e.ee),function(){if(r.emit((o?"":"no-")+"fn-start",[(0,_.t)(),a,o],s),o)try{return i.apply(this,arguments)}catch(e){const t="string"==typeof e?new Error(e):e;throw r.emit("fn-err",[arguments,this,t],s),t}finally{r.emit("fn-end",[(0,_.t)()],s)}}}};["actionText","setName","setAttribute","save","ignore","onEnd","getContext","end","get"].forEach(r=>{N.Y.apply(this,[r,function(){return(0,S.p)(k.hw+r,[performance.now(),...arguments],this,t.K7.softNav,e.ee),this},e,i])}),(0,N.Y)(k.PA,function(){(0,S.p)(k.hw+"routeName",[performance.now(),...arguments],void 0,t.K7.softNav,e.ee)},e)}(e),!g.RI||!(0,i.dV)().o.MO)return;const n=at(this.ee,e);try{this.removeOnAbort=new AbortController}catch(e){}wt.tC.forEach(e=>{(0,J.sp)(e,e=>{c(e)},!0,this.removeOnAbort?.signal)}
11);const s=()=>(0,S.p)("newURL",[(0,_.t)(),""+window.location],void 0,this.featureName,this.ee);n.on("pushState-end",s),n.on("replaceState-end",s),(0,J.sp)(wt.OV,e=>{c(e),(0,S.p)("newURL",[e.timeStamp,""+window.location],void 0,this.featureName,this.ee)},!0,this.removeOnAbort?.signal);let a=!1;const o=new((0,i.dV)().o.MO)((e,t)=>{a||(a=!0,requestAnimationFrame(()=>{(0,S.p)("newDom",[(0,_.t)()],void 0,this.featureName,this.ee),a=!1}))}),c=(0,C.s)(e=>{"loading"!==document.readyState&&((0,S.p)("newUIEvent",[e],void 0,this.featureName,this.ee),o.observe(document.body,{attributes:!0,childList:!0,subtree:!0,characterData:!0}))},100,{leading:!0});this.abortHandler=function(){this.removeOnAbort?.abort(),o.disconnect(),this.abortHandler=void 0},this.importAggregator(e,()=>r.e(478).then(r.bind(r,4393)),{domObserver:o})}}var Tt=r(981);const At={},St=new Set;function xt(e){return"string"==typeof e?{type:"string",size:(new TextEncoder).encode(e).length}:e instanceof ArrayBuffer?{type:"ArrayBuffer",size:e.byteLength}:e instanceof Blob?{type:"Blob",size:e.size}:e instanceof DataView?{type:"DataView",size:e.byteLength}:ArrayBuffer.isView(e)?{type:"TypedArray",size:e.byteLength}:{type:"unknown",size:0}}class Ot{constructor(e,t){this.timestamp=(0,_.t)(),this.currentUrl=(0,Ee.L)(window.location.href),this.socketId=(0,ye.LA)(8),this.requestedUrl=(0,Ee.L)(e),this.requestedProtocols=Array.isArray(t)?t.join(","):t||"",this.openedAt=void 0,this.protocol=void 0,this.extensions=void 0,this.binaryType=void 0,this.messageOrigin=void 0,this.messageCount=0,this.messageBytes=0,this.messageBytesMin=0,this.messageBytesMax=0,this.messageTypes=void 0,this.sendCount=0,this.sendBytes=0,this.sendBytesMin=0,this.sendBytesMax=0,this.sendTypes=void 0,this.closedAt=void 0,this.closeCode=void 0,this.closeReason="unknown",this.closeWasClean=void 0,this.connectedDuration=0,this.hasErrors=void 0}}class _t extends W{static featureName=o.TZ;constructor(e){super(e,o.TZ);const n=e.init.feature_flags.includes("websockets")||e.init.web_sockets?.enabled,s=!e.init.feature_flags.includes("no_spv"),a=[e.init.page_action.enabled,e.init.performance.capture_marks,e.init.performance.capture_measures,e.init.performance.resources.enabled,e.init.user_actions.enabled,n,s];var c;let d;if(c=e,(0,N.Y)(k.hG,(e,t)=>ce(e,t,c),c),function(e){(0,N.Y)(k.fF,(t,r)=>ue(t,r,e),e)}(e),ct(e),Se(e),function(e){(0,N.Y)(k.V1,(t,r)=>de(t,r,e),e)}(e),this.removeOnAbort=new AbortController,this.abortHandler=()=>{this.removeOnAbort.abort(),this.abortHandler=void 0},n){const u=function(e,t){if(!(0,i.dV)().o.WS)return e;const r=e.get("websockets");if(At[r.debugId]++)return r;At[r.debugId]=1,(0,V.G)(()=>{const e=(0,_.t)();St.forEach(t=>{t.nrData.closedAt=e,t.nrData.closeCode=1001,t.nrData.closeReason="Page navigating away",t.nrData.closeWasClean=!1,t.nrData.openedAt&&(t.nrData.connectedDuration=e-t.nrData.openedAt),r.emit("ws",[t.nrData,t.targets],t)})});
11class n extends WebSocket{static name=Tt.R.WS;static toString(){return"function WebSocket() { [native code] }"}toString(){return"[object WebSocket]"}get[Symbol.toStringTag](){return n.name}#o(e){(e.__newrelic??={}).socketId=this.nrData.socketId,this.nrData.hasErrors??=!0}constructor(...e){super(...e),this.nrData=new Ot(e[0],e[1]),this.targets=(0,Ie.$5)(t),this.addEventListener("open",()=>{this.nrData.openedAt=(0,_.t)(),["protocol","extensions","binaryType"].forEach(e=>{this.nrData[e]=this[e]}),St.add(this)}),this.addEventListener("message",e=>{const{type:t,size:r}=xt(e.data);this.nrData.messageOrigin??=(0,Ee.L)(e.origin),this.nrData.messageCount++,this.nrData.messageBytes+=r,this.nrData.messageBytesMin=Math.min(this.nrData.messageBytesMin||1/0,r),this.nrData.messageBytesMax=Math.max(this.nrData.messageBytesMax,r),(this.nrData.messageTypes??"").includes(t)||(this.nrData.messageTypes=this.nrData.messageTypes?"".concat(this.nrData.messageTypes,",").concat(t):t)}),this.addEventListener("close",e=>{this.nrData.closedAt=(0,_.t)(),this.nrData.closeCode=e.code,e.reason&&(this.nrData.closeReason=e.reason),this.nrData.closeWasClean=e.wasClean,this.nrData.connectedDuration=this.nrData.closedAt-this.nrData.openedAt,St.delete(this),r.emit("ws",[this.nrData,this.targets],this)})}addEventListener(e,t,...r){const n=this,i="function"==typeof t?function(...e){try{return t.apply(this,e)}catch(e){throw n.#o(e),e}}:t?.handleEvent?{handleEvent:function(...e){try{return t.handleEvent.apply(t,e)}catch(e){throw n.#o(e),e}}}:t;return super.addEventListener(e,i,...r)}send(e){if(this.readyState===WebSocket.OPEN){const{type:t,size:r}=xt(e);this.nrData.sendCount++,this.nrData.sendBytes+=r,this.nrData.sendBytesMin=Math.min(this.nrData.sendBytesMin||1/0,r),this.nrData.sendBytesMax=Math.max(this.nrData.sendBytesMax,r),(this.nrData.sendTypes??"").includes(t)||(this.nrData.sendTypes=this.nrData.sendTypes?"".concat(this.nrData.sendTypes,",").concat(t):t)}try{return super.send(e)}catch(e){throw this.#o(e),e}}close(...e){try{super.close(...e)}catch(e){throw this.#o(e),e}}}return g.gm.WebSocket=n,r}(this.ee,e);u.on("ws",(e,t)=>{(0,S.p)("ws-complete",[e,t],void 0,this.featureName,this.ee)})}if(s){if("function"==typeof g.gm.ReportingObserver){const l=new g.gm.ReportingObserver(e=>{e.forEach(e=>{(0,S.p)("spv",[kt(e),(0,_.t)()],void 0,t.K7.genericEvents,this.ee)}),l.disconnect()},{types:["csp-violation"],buffered:!0});l.observe()}g.gm.addEventListener("securitypolicyviolation",e=>{(0,S.p)("spv",[kt(e),e.timeStamp],void 0,t.K7.genericEvents,this.ee)},(0,J.jT)(!1,this.removeOnAbort.signal))}if(g.RI){if(ze(this.ee,e),De(this.ee,e),d=at(this.ee,e),e.init.user_actions.enabled){function f(t){const r=(0,Ge.D)(t);return e.beacons.includes(r.hostname+":"+r.port)}function h(){d.emit("navChange")}o.Zp.forEach(e=>(0,J.sp)(e,e=>(0,S.p)("ua",[e],void 0,this.featureName,this.ee),!0)),o.qN.forEac
11h(e=>{const t=(0,C.s)(e=>{(0,S.p)("ua",[e],void 0,this.featureName,this.ee)},500,{leading:!0});(0,J.sp)(e,t)}),g.gm.addEventListener("error",()=>{(0,S.p)("uaErr",[],void 0,t.K7.genericEvents,this.ee)},(0,J.jT)(!1,this.removeOnAbort.signal)),this.ee.on("open-xhr-start",(e,r)=>{f(e[1])||r.addEventListener("readystatechange",()=>{2===r.readyState&&(0,S.p)("uaXhr",[],void 0,t.K7.genericEvents,this.ee)},(0,J.jT)(void 0,this.removeOnAbort.signal))}),this.ee.on("fetch-start",e=>{e.length>=1&&!f(Ze(e[0]))&&(0,S.p)("uaXhr",[],void 0,t.K7.genericEvents,this.ee)}),d.on("pushState-end",h),d.on("replaceState-end",h),window.addEventListener("hashchange",h,(0,J.jT)(!0,this.removeOnAbort.signal)),window.addEventListener("popstate",h,(0,J.jT)(!0,this.removeOnAbort.signal))}if(e.init.performance.resources.enabled&&g.gm.PerformanceObserver?.supportedEntryTypes.includes("resource")){new PerformanceObserver(e=>{e.getEntries().forEach(e=>{(0,S.p)("browserPerformance.resource",[e],void 0,this.featureName,this.ee)})}).observe({type:"resource",buffered:!0})}}a.some(e=>e)?this.importAggregator(e,()=>r.e(478).then(r.bind(r,8019))):this.deregisterDrain()}}function kt(e){const t=e.body??e;return{blockedUrl:t.blockedURL??e.blockedURI,documentUrl:t.documentURL??e.documentURI,effectiveDirective:t.effectiveDirective,originalPolicy:t.originalPolicy,sourceFile:t.sourceFile,statusCode:t.statusCode,lineNumber:t.lineNumber,columnNumber:t.columnNumber,disposition:"reporting"===t.disposition?"report":t.disposition,sample:t.sample,referrer:t.referrer}}var Nt=r(2646);const Lt=new Map;function Mt(e,t,r,n,i=!0,s){if("object"!=typeof t||!t||"string"!=typeof r||!r||"function"!=typeof t[r])return(0,l.R)(29);const a=function(e){return(e||R.ee).get("logger")}(e),o=(0,Pe.YM)(a,void 0,s),c=new Nt.y(R.P);c.level=n.level,c.customAttributes=n.customAttributes,c.autoCaptured=i;const d=t[r]?.[Pe.Jt]||t[r];return Lt.set(d,c),o.inPlace(t,[r],"wrap-logger-",()=>Lt.get(d),void 0,!0),a}var Pt=r(1910);class It extends W{static featureName=se.TZ;constructor(e){var t;super(e,se.TZ),t=e,(0,N.Y)("log",(e,r)=>oe(e,r,t),t),function(e){(0,N.Y)(k.Wb,(t,r,{customAttributes:n={},level:i=se.p_.INFO}={})=>{Mt(e.ee,t,r,{customAttributes:n,level:i},!1,e)},e)}(e),Se(e);const n=this.ee;["log","error","warn","info","debug","trace"].forEach(t=>{(0,Pt.i)(g.gm.console[t]),Mt(n,g.gm.console,t,{level:"log"===t?"info":t},void 0,e)}),this.ee.on("wrap-logger-end",function([t],r,i,s=[e.runtime.v2Target]){const{level:a,customAttributes:o,autoCaptured:c}=this;s.forEach(e=>{(0,ae.R)(n,t,o,a,c,e)})}),this.importAggregator(e,()=>r.e(478).then(r.bind(r,5288)))}}new F({features:[nt,K,G,vt,Et,Y,Oe,_t,It,Rt],loaderType:"spa"})})()})();</script>
11 12 <meta name="pinterest" content="nopin"/> 13 <link rel="apple-touch-icon" sizes="180x180" 14 href="https://cdn.halaxy.com/h/images/logos/halaxy/apple-touch-icon.png"> 15 <link rel="icon" type="image/png" sizes="32x32" 16 href="https://cdn.halaxy.com/h/images/logos/halaxy/favicon-32x32.png"> 17 <link rel="icon" type="image/png" sizes="16x16" 18 href="https://cdn.halaxy.com/h/images/logos/halaxy/favicon-16x16.png"> 19 <link rel="manifest" href="https://cdn.halaxy.com/h/images/logos/halaxy/site.webmanifest"> 20 <link rel="mask-icon" href="https://cdn.halaxy.com/h/images/logos/halaxy/safari-pinned-tab.svg" color="#0e0793"> 21 <link rel="shortcut icon" href="https://cdn.halaxy.com/h/images/logos/halaxy/favicon.ico"> 22 <meta name="msapplication-TileColor" content="#da532c"> 23 <meta name="msapplication-config" content="https://cdn.halaxy.com/h/images/logos/halaxy/browserconfig.xml"> 24 <meta name="theme-color" content="#ffffff"> 25 <meta name="sentry-trace" content="1340120b2e4844c7aff49267920bbdc2" />
25<script type="text/javascript"> 26 27 window.stat_google_map_api_key = 'AIzaSyB1OdJTlnu8IhF7N2Fy_HeMMIIXo48v3eU'; 28 29 console.log = function () { 30 }; 31 console.info = function () { 32 }; 33 console.group = function () { 34 }; 35 console.warn = function () { 36 }; 37 console.error = function () { 38 }; 39 console.log('env:', 'prod'); 40 var multiGroup = 'en'; 41 console.log('group in focus (en means single user):', multiGroup); 42 var multiGroups = []; 43 console.log('availablehk_patient_form_online groups:', multiGroups); 44 console.log('cdn:', 'https://cdn.halaxy.com/'); 45 Hk = {}; 46 </script>
46 47
47<script 48 src="https://browser.sentry-cdn.com/7.88.0/bundle.tracing.min.js" 49 integrity="sha384-z/aQww1Fr6Mes0MO/2wlzQd2nXBCdDcKPXDTsMDMNPgTGRPqii3a4bzH79I+Vo8l" 50 crossorigin="anonymous" 51 ></script>
51 52 53
53<script> 54 Sentry.init({ 55 dsn: 'https://[email protected]/3094646', 56 release: '125.40', 57 allowUrls: [ 58 /https?:\/\/((cdn|www|eu)\.)?halaxy\.com/ 59 ], 60 ignoreErrors: [ 61 'Non-Error exception captured', 62 'Non-Error promise rejection captured', 63 'ResizeObserver loop completed with undelivered notifications.' 64 ], 65 integrations: [new Sentry.BrowserTracing()], 66 // 20% is the recommended amount for production environments 67 // We are using 0.5% of request to keep within our quotas 68 tracesSampleRate: 0.005 69 }); 70 Sentry.configureScope(function (scope) { 71 scope.setTransactionName('signup'); 72 }) 73 Sentry.setUser({ 74 id: '' 75 }) 76 </script>
76 77 78 79 80
80<script> 81 window.MSInputMethodContext && 82 document.documentMode && 83 document.write('<!-- IE11 only stylesheet - no CSS variables --><link href="/z/static/css/ie11-milky-way.css"" rel="stylesheet"><\x2flink>'); 84 </script>
84 85 86 87 88 89 90 <link rel="stylesheet" href="https://cdn.halaxy.com/z/version/125.40/build/css/grid-table.css" crossorigin="anonymous"> 91 92 93 <link rel="stylesheet" href="https://cdn.halaxy.com/z/version/125.40/build/css/vendor-base.css" crossorigin="anonymous"> 94 95 96 97 98 99 100</head> 101 102 103 104 105<body class=" vs-theme vs-theme-milky-way vs-font-size vs-font-size-regular viewMode-browser page-login ">
106<script type="text/template" id="tpl-alert"> 107 <div class='alert alert-<%= type %>'> 108 <button class="close" data-dismiss="alert">×</button> 109 <%= message %> 110 </div> 111</script>
111 112 113 <div id='loginWrapper' class="row justify-content-center align-items-baseline vh-100 m-0"> 114 <div class="col-12 p-0 m-0"> 115 <div class="row w-100 p-0 m-0 justify-content-center"> 116 <div class="col-12 col-md-8 col-lg-3 left-container bg-primary login-start px-0"> 117 <div class="px-2 px-md-4 pt-3 pb-4"> 118 <div class="text-center mt-5 mb-auto"> 119 <div class="heading text-white mb-3">Welcome Back!</div> 120 <div class="sub-text text-white">Log in to your existing Halaxy account.</div> 121 <div class="form-actions signup-form-actions"> 122 <button type="submit" class="btn btn-outline-light mt-4 mb-4 login-btn w-75" name="login" id="btn-login"> 123 Login 124 </button> 125 </div> 126 </div> 127 </div> 128 <img alt="Blue Stethoscope Illustration" class="d-none d-lg-block mx-3 my-3" 129 src="https://cdn.halaxy.com/h/images/Halaxy_Illustration_Textural-1_RGB_Monotone.svg"> 130</div> 131 132 133 <div class="col-12 col-md-8 col-lg-3 right-container bg-white signup-step1"> 134 <div class="px-2 px-md-4 pt-3 pb-4"> 135 <div class="text-center mt-5"> 136 <div class="heading text-midnight-blue mb-3">Get Started</div> 137 <img alt="Timeline first step" class="pb-4" 138 src="https://cdn.halaxy.com/h/images/timeline/Timeline-First-Step.svg"> 139 <div class="form-row pb-4"> 140 <div class="col-12"> 141 142 143 <div id="row-form_email" class="form-group"> 144 145 146 <div class="inline"> 147 148 149 150 151 </div> 152 153 <div> <input 154 type="email" 155 156 157 id="form_email" name="form[email]" 158 required="required" 159 placeholder="Email Address" 160 class="form-control" 161 162 163 164 /> </div> 165 </div> 166 167 </div> 168 </div> 169 170 <div class="form-row"> 171 <div class="col-12"> 172 <input 173 type="hidden" 174 175 176 id="form_signupLeadId" name="form[signupLeadId]" 177 required="required" 178 class="form-control" 179 180 181 182 /> 183 </div> 184 </div> 185 <div class="form-row pb-4"> 186 <div class="col-12"> 187 188 189 <div id="row-form_country" class="form-group"> 190 191 192 <div class="inline"> 193 194 195 196 197 </div> 198 199 <div> <div class="d-flex"><select class="form-control form-control" 200 201 id="form_country" name="form[country]" 202 203 class="form-control" 204 205 ><option value="">Select country</option><option 206 value="1" data-code="AF">Afghanistan</option><option 207 value="3" data-code="AL">Albania</option><option 208 value="4" data-code="DZ">Algeria</option><option 209 value="5" data-code="AS">American Samoa</option><option 210 value="6" data-code="AD">Andorra</option><option 211 value="7" data-code="AO">Angola</option><option 212 value="10" data-code="AG">Antigua and Barbuda</option><option 213 value="11" data-code="AR">Argentina</option><option 214 value="12" data-code="AM">Armenia</option><option 215 value="14" data-code="AU">Australia</option><option 216 value="16" data-code="AZ">Azerbaijan</option><option 217 value="17" data-code="BS">Bahamas</option><option 218 value="18" data-code="BH">Bahrain</option><option 219 value="19" data-code="BD">Bangladesh</option><option 220 value="20" data-code="BB">Barbados</option><option 221 value="21" data-code="BY">Belarus</option><option 222 value="23" data-code="BZ">Belize</option><option 223 value="24" data-code="BJ">Benin</option><option 224 value="25" data-code="BM">Bermuda</option><option 225 value="26" data-code="BT">Bhutan</option><option 226 value="27" data-code="BO">Bolivia</option><option 227 value="28" data-code="BA">Bosnia and Herzegovina</option><option 228 value="29" data-code="BW">Botswana</option><option 229 value="31" data-code="BR">Brazil</option><option 230 value="33" data-code="BN">Brunei</option><option 231 value="35" data-code="BF">Burkina Faso</option><option 232 value="36" data-code="BI">Burundi</option><option 233 value="37" data-code="KH">Cambodia</option><option 234 value="38" data-code="CM">Cameroon</option><option 235 value="39" data-code="CA">Canada</option><option 236 value="40" data-code="CV">Cape Verde</option><option 237 value="41" data-code="KY">Cayman Islands</option><option 238 value="42" data-code="CF">Central African Republic</option><option 239 value="43" data-code="TD">
239Chad</option><option 240 value="44" data-code="CL">Chile</option><option 241 value="45" data-code="CN">China</option><option 242 value="48" data-code="CO">Colombia</option><option 243 value="49" data-code="KM">Comoros</option><option 244 value="51" data-code="CD">Congo (Democratic Republic)</option><option 245 value="50" data-code="CG">Congo (Republic)</option><option 246 value="52" data-code="CK">Cook Islands</option><option 247 value="53" data-code="CR">Costa Rica</option><option 248 value="54" data-code="CI">Cote D'Ivoire</option><option 249 value="56" data-code="CU">Cuba</option><option 250 value="60" data-code="DJ">Djibouti</option><option 251 value="61" data-code="DM">Dominica</option><option 252 value="62" data-code="DO">Dominican Republic</option><option 253 value="63" data-code="EC">Ecuador</option><option 254 value="64" data-code="EG">Egypt</option><option 255 value="65" data-code="SV">El Salvador</option><option 256 value="66" data-code="GQ">Equatorial Guinea</option><option 257 value="67" data-code="ER">Eritrea</option><option 258 value="69" data-code="ET">Ethiopia</option><option 259 value="70" data-code="FK">Falkland Islands (Malvinas)</option><option 260 value="72" data-code="FJ">Fiji</option><option 261 value="75" data-code="GF">French Guiana</option><option 262 value="76" data-code="PF">French Polynesia</option><option 263 value="78" data-code="GA">Gabon</option><option 264 value="79" data-code="GM">Gambia</option><option 265 value="80" data-code="GE">Georgia</option><option 266 value="82" data-code="GH">Ghana</option><option 267 value="83" data-code="GI">Gibraltar</option><option 268 value="86" data-code="GD">Grenada</option><option 269 value="87" data-code="GP">Guadeloupe</option><option 270 value="88" data-code="GU">Guam</option><option 271 value="89" data-code="GT">Guatemala</option><option 272 value="91" data-code="GN">Guinea</option><option 273 value="92" data-code="GW">Guinea-Bissau</option><option 274 value="93" data-code="GY">Guyana</option><option 275 value="94" data-code="HT">Haiti</option><option 276 value="97" data-code="HN">Honduras</option><option 277 value="98" data-code="HK">Hong Kong</option><option 278 value="100" data-code="IS">Iceland</option><option 279 value="101" data-code="IN">India</option><option 280 value="102" data-code="ID">Indonesia</option><option 281 value="103" data-code="IR">Iran</option><option 282 value="104" data-code="IQ">Iraq</option><option 283 value="107" data-code="IL">Israel</option><option 284 value="109" data-code="JM">Jamaica</option><option 285 value="110" data-code="JP">Japan</option><option 286 value="112" data-code="JO">Jordan</option><option 287 value="113" data-code="KZ">Kazakhstan</option><option 288 value="114" data-code="KE">Kenya</option><option 289 value="115" data-code="KI">Kiribati</option><option 290 value="118" data-code="KW">Kuwait</option><option 291 value="119" data-code="KG">Kyrgyzstan</option><option 292 value="120" data-code="LA">Laos</option><option 293 value="122" data-code="LB">Lebanon</option><option 294 value="123" data-code="LS">Lesotho</option><option 295 value="124" data-code="LR">Liberia</option><option 296 value="125" data-code="LY">Libya</option><option 297 value="126" data-code="LI">Liechtenstein</option><option 298 value="129" data-code="MO">Macao</option><option 299 value="130" data-code="MK">Macedonia</option><option 300 value="131" data-code="MG">Madagascar</option><option 301 value="132" data-code="MW">Malawi</option><option 302 value="133" data-code="MY">Malaysia</option><option 303 value="134" data-code="MV">Maldives</option><option 304 value="135" data-code="ML">Mali</option><option 305 value="137" data-code="MH">Marshall Islands</option><option 306 value="138" data-code="MQ">Martinique</option><option 307 value="139" data-code="MR">Mauritania</option><option 308 value="140" data-code="MU">Mauritius</option><option 309 value="142" data-code="MX">Mexico</option><option 310 value="143" data-code="FM">Micronesia</option><option 311 value="144" data-code="MD">Moldova</option><option 312 value="145" data-code="MC">Monaco</option><option 313 value="146" data-code="MN">Mongolia</option><option 314 value="147" data-code="ME">Montenegro</option><option 315 value="148" data-code="MS">Montserrat</option><option 316 value="149" data-code="MA">Morocco</option><option 317 value="150" data-code="MZ">Mozambique</option><option 318 value="151" data-code="MM">Myanmar</option><option 319 value="152" data-code="NA">Namibia</option><option 320 value="153" data-code="NR">Nauru</option><option 321 value="154" data-code="NP">Nepal</option><option 322 value="157" data-code="NC">New Caledonia</option><option 323 value="158" data-code="NZ">New Zealand</option><option 324 value="159" data-code="NI">Nicaragua</option><option 325 value="160" data-code="NE">Niger</option><option 326 value="161" data-code="NG">Nigeria</option><option 327 value="162" data-code="NU">Niue</option><option 328 value="165" data-code="NO">Norway</option><option 329 value="166" data-code="OM">Oman</option><option 330 value="167" data-code="PK">Pakistan</option><option 331 value="168" data-code="PW">Palau</option><option 332 value="169" data-code="PS">Palestine</option><option 333 value="170" data-code="PA">Panama</option><option 334 value="171" data-code="PG">Papua New Guinea</option><option 335 value="172" data-code="PY">Paraguay</option><option 336 value="173" data-code="PE">
336Peru</option><option 337 value="174" data-code="PH">Philippines</option><option 338 value="175" data-code="PN">Pitcairn</option><option 339 value="178" data-code="PR">Puerto Rico</option><option 340 value="179" data-code="QA">Qatar</option><option 341 value="180" data-code="RE">Reunion</option><option 342 value="182" data-code="RU">Russia</option><option 343 value="183" data-code="RW">Rwanda</option><option 344 value="186" data-code="KN">Saint Kitts and Nevis</option><option 345 value="187" data-code="LC">Saint Lucia</option><option 346 value="190" data-code="VC">Saint Vincent and the Grenadines</option><option 347 value="191" data-code="WS">Samoa</option><option 348 value="192" data-code="SM">San Marino</option><option 349 value="193" data-code="ST">Sao Tome and Principe</option><option 350 value="194" data-code="SA">Saudi Arabia</option><option 351 value="195" data-code="SN">Senegal</option><option 352 value="196" data-code="RS">Serbia</option><option 353 value="197" data-code="SC">Seychelles</option><option 354 value="198" data-code="SL">Sierra Leone</option><option 355 value="199" data-code="SG">Singapore</option><option 356 value="202" data-code="SB">Solomon Islands</option><option 357 value="203" data-code="SO">Somalia</option><option 358 value="204" data-code="ZA">South Africa</option><option 359 value="117" data-code="KR">South Korea</option><option 360 value="207" data-code="LK">Sri Lanka</option><option 361 value="208" data-code="SD">Sudan</option><option 362 value="209" data-code="SR">Suriname</option><option 363 value="211" data-code="SZ">Swaziland</option><option 364 value="213" data-code="CH">Switzerland</option><option 365 value="214" data-code="SY">Syria</option><option 366 value="215" data-code="TW">Taiwan</option><option 367 value="216" data-code="TJ">Tajikistan</option><option 368 value="217" data-code="TZ">Tanzania</option><option 369 value="218" data-code="TH">Thailand</option><option 370 value="219" data-code="TL">Timor-Leste</option><option 371 value="220" data-code="TG">Togo</option><option 372 value="221" data-code="TK">Tokelau</option><option 373 value="222" data-code="TO">Tonga</option><option 374 value="223" data-code="TT">Trinidad and Tobago</option><option 375 value="224" data-code="TN">Tunisia</option><option 376 value="225" data-code="TR">Turkey</option><option 377 value="226" data-code="TM">Turkmenistan</option><option 378 value="227" data-code="TC">Turks and Caicos Islands</option><option 379 value="228" data-code="TV">Tuvalu</option><option 380 value="229" data-code="UG">Uganda</option><option 381 value="230" data-code="UA">Ukraine</option><option 382 value="231" data-code="AE">United Arab Emirates</option><option 383 value="233" data-code="US" selected="selected">United States of America (USA)</option><option 384 value="235" data-code="UY">Uruguay</option><option 385 value="236" data-code="UZ">Uzbekistan</option><option 386 value="237" data-code="VU">Vanuatu</option><option 387 value="238" data-code="VE">Venezuela</option><option 388 value="239" data-code="VN">Vietnam</option><option 389 value="240" data-code="VG">Virgin Islands (British)</option><option 390 value="241" data-code="VI">Virgin Islands (U.S.)</option><option 391 value="242" data-code="WF">Wallis And Futuna</option><option 392 value="243" data-code="EH">Western Sahara</option><option 393 value="244" data-code="YE">Yemen</option><option 394 value="245" data-code="ZM">Zambia</option><option 395 value="246" data-code="ZW">Zimbabwe</option></select></div> 396 </div> 397 </div> 398 399 </div> 400 </div> 401 402 <div class="form-row"> 403 <div class="col-12"> 404 405 406 <div id="row-form_timezone" class="form-group"> 407 408 409 <div class="inline"> 410 411 412 413 414 </div> 415 416 <div><select 417 class="w-100 form-control form-control" id="form_timezone" name="form[timezone]" 418 419 class="form-control" 420 ><option 421 value="Pacific/Midway">(GMT-11:00) Midway Island, Samoa</option><option 422 value="Pacific/Honolulu">(GMT-10:00) Hawaii</option><option 423 value="Pacific/Marquesas">(GMT-09:30) Marquesas Islands</option><option 424 value="America/Adak">(GMT-09:00) Aleutian Islands</option><option 425 value="Pacific/Gambier">(GMT-09:00) Gambier Islands</option><option 426 value="America/Anchorage">(GMT-08:00) Alaska</option><option 427 value="Pacific/Pitcairn">(GMT-08:00) Pitcairn Islands</option><option 428 value="America/Phoenix">
428(GMT-07:00) Arizona</option><option 429 value="America/Tijuana">(GMT-07:00) Pacific Time (US and Canada); Tijuana, Baja California</option><option 430 value="America/Managua">(GMT-06:00) Central America</option><option 431 value="America/Chihuahua">(GMT-06:00) Chihuahua, La Paz, Mazatlan</option><option 432 value="Pacific/Galapagos">(GMT-06:00) Galapagos Islands</option><option 433 value="America/Mexico_City">(GMT-06:00) Guadalajara, Mexico City, Monterrey</option><option 434 value="America/Edmonton">(GMT-06:00) Mountain Time (US and Canada)</option><option 435 value="America/Regina">(GMT-06:00) Saskatchewan</option><option 436 value="America/Bogota">(GMT-05:00) Bogota, Lima, Quito</option><option 437 value="America/Chicago">(GMT-05:00) Central Time (US and Canada)</option><option 438 value="Pacific/Easter">(GMT-05:00) Easter Island</option><option 439 value="America/Caracas">(GMT-04:00) Caracas</option><option 440 value="America/New_York">(GMT-04:00) Eastern Time (US and Canada)</option><option 441 value="America/Indiana/Indianapolis">(GMT-04:00) Indiana (East)</option><option 442 value="America/Manaus">(GMT-04:00) Manaus</option><option 443 value="America/Asuncion">(GMT-03:00) Asuncion</option><option 444 value="America/Halifax">(GMT-03:00) Atlantic Time (Canada)</option><option 445 value="America/Sao_Paulo">(GMT-03:00) Brasilia</option><option 446 value="America/Argentina/Buenos_Aires">(GMT-03:00) Buenos Aires, Georgetown</option><option 447 value="America/Argentina/San_Juan">(GMT-03:00) Georgetown, La Paz, San Juan</option><option 448 value="America/Montevideo">(GMT-03:00) Montevideo</option><option 449 value="America/Santiago">(GMT-03:00) Santiago</option><option 450 value="America/St_Johns">(GMT-02:30) Newfoundland</option><option 451 value="America/Noronha">(GMT-02:00) Fernando de Noronha</option><option 452 value="Atlantic/South_Georgia">(GMT-02:00) Mid-Atlantic</option><option 453 value="America/Miquelon">(GMT-02:00) Saint Pierre and Miquelon</option><option 454 value="Atlantic/Cape_Verde">(GMT-01:00) Cape Verde Islands</option><option 455 value="America/Godthab">(GMT-01:00) Greenland</option><option 456 value="Atlantic/Azores">(GMT) Azores</option><option 457 value="Africa/Casablanca">(GMT) Casablanca</option><option 458 value="UTC">(GMT) Coordinated Universal Time</option><option 459 value="Atlantic/Reykjavik">(GMT) Monrovia, Reykjavik</option><option 460 value="Europe/London">(GMT+01:00) Greenwich Mean Time: Dublin, Edinburgh, Lisbon, London</option><option 461 value="Africa/Lagos">(GMT+01:00) West Central Africa</option><option 462 value="Europe/Berlin">(GMT+02:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna</option><option 463 value="Europe/Belgrade">(GMT+02:00) Belgrade, Bratislava, Budapest, Ljubljana, Prague</option><option 464 value="Europe/Paris">(GMT+02:00) Brussels, Copenhagen, Madrid, Paris</option><option 465 value="Africa/Harare">(GMT+02:00) Harare, Pretoria</option><option 466 value="Europe/Sarajevo">(GMT+02:00) Sarajevo, Skopje, Warsaw, Zagreb</option><option 467 value="Antarctica/Troll">(GMT+02:00) Troll Station, Antarctica</option><option 468 value="Africa/Windhoek">(GMT+02:00) Windhoek</option><option 469 value="Asia/Amman">(GMT+03:00) Amman</option><option 470 value="Europe/Athens">(GMT+03:00) Athens, Bucharest, Istanbul</option><option 471 value="Asia/Baghdad">(GMT+03:00) Baghdad</option><option 472 value="Asia/Beirut">(GMT+03:00) Beirut</option><option 473 value="Africa/Cairo">(GMT+03:00) Cairo</option><option 474 value="Europe/Helsinki">(GMT+03:00) Helsinki, Kiev, Riga, Sofia, Tallinn, Vilnius</option><option 475 value="Asia/Jerusalem">(GMT+03:00) Jerusalem</option><option 476 value="Asia/Kuwait">(GMT+03:00) Kuwait, Riyadh</option><option 477 value="Europe/Minsk">(GMT+03:00) Minsk</option><option 478 value="Europe/Moscow">(GMT+03:00) Moscow, St. Petersburg, Volgograd</option><option 479 value="Africa/Nairobi">(GMT+03:00) Nairobi</option><option 480 value="Asia/Tehran">(GMT+03:30) Tehran</option><option 481 value="Asia/Muscat">(GMT+04:00) Abu Dhabi, Muscat</option><option 482 value="Asia/Baku">(GMT+04:00) Baku, Tbilisi, Yerevan</option><option 483 value="Indian/Mauritius">(GMT+04:00) Port Louis</option><option 484 value="Asia/Tbilisi">(GMT+04:00) Tbilisi</option><option 485 value="Asia/Yerevan">(GMT+04:00) Yerevan</option><option 486 value="Asia/Kabul">(GMT+04:30) Kabul</option><option 487 value="Asia/Almaty">(GMT+05:00) Almaty, Novosibirsk</option><option 488 value="Asia/Yekaterinburg">(GMT+05:00) Ekaterinburg</option><option 489 value="Asia/Karachi">(GMT+05:00) Islamabad, Karachi</option><option 490 value="Asia/Tashkent">
490(GMT+05:00) Tashkent</option><option 491 value="Asia/Kolkata">(GMT+05:30) Chennai, Kolkata, Mumbai, New Delhi</option><option 492 value="Asia/Colombo">(GMT+05:30) Sri Jayawardenepura</option><option 493 value="Asia/Kathmandu">(GMT+05:45) Kathmandu</option><option 494 value="Asia/Dhaka">(GMT+06:00) Astana, Dhaka</option><option 495 value="Asia/Rangoon">(GMT+06:30) Yangon (Rangoon)</option><option 496 value="Asia/Bangkok">(GMT+07:00) Bangkok, Hanoi, Jakarta</option><option 497 value="Asia/Krasnoyarsk">(GMT+07:00) Krasnoyarsk</option><option 498 value="Asia/Hong_Kong">(GMT+08:00) Beijing, Chongqing, Hong Kong, Urumqi</option><option 499 value="Asia/Irkutsk">(GMT+08:00) Irkutsk, Ulaanbaatar</option><option 500 value="Asia/Kuala_Lumpur">(GMT+08:00) Kuala Lumpur, Singapore</option><option 501 value="Australia/Perth">(GMT+08:00) Perth</option><option 502 value="Asia/Taipei">(GMT+08:00) Taipei</option><option 503 value="Australia/Eucla">(GMT+08:45) Eucla</option><option 504 value="Asia/Tokyo">(GMT+09:00) Osaka, Sapporo, Tokyo</option><option 505 value="Asia/Seoul">(GMT+09:00) Seoul</option><option 506 value="Asia/Yakutsk">(GMT+09:00) Yakutsk</option><option 507 value="Australia/Darwin">(GMT+09:30) Darwin</option><option 508 value="Australia/Brisbane">(GMT+10:00) Brisbane</option><option 509 value="Pacific/Guam">(GMT+10:00) Guam, Port Moresby</option><option 510 value="Asia/Vladivostok">(GMT+10:00) Vladivostok</option><option 511 value="Australia/Adelaide">(GMT+10:30) Adelaide</option><option 512 value="Pacific/Bougainville">(GMT+11:00) Bougainville</option><option 513 value="Australia/Sydney">(GMT+11:00) Canberra, Melbourne, Sydney</option><option 514 value="Australia/Hobart">(GMT+11:00) Hobart</option><option 515 value="Pacific/Kosrae">(GMT+11:00) Kosrae, Micronesia</option><option 516 value="Australia/Lord_Howe">(GMT+11:00) Lord Howe Island</option><option 517 value="Asia/Magadan">(GMT+11:00) Magadan, Solomon Islands, New Caledonia</option><option 518 value="Pacific/Noumea">(GMT+11:00) New Caledonia</option><option 519 value="Pacific/Pohnpei">(GMT+11:00) Pohnpei, Micronesia</option><option 520 value="Pacific/Efate">(GMT+11:00) Port Vila, Vanuatu</option><option 521 value="Pacific/Guadalcanal">(GMT+11:00) Solomon Islands</option><option 522 value="Pacific/Fiji">(GMT+12:00) Fiji, Kamchatka, Marshall Is.</option><option 523 value="Pacific/Norfolk">(GMT+12:00) Norfolk Island</option><option 524 value="Asia/Kamchatka">(GMT+12:00) Petropavlovsk-Kamchatsky</option><option 525 value="Pacific/Auckland">(GMT+13:00) Auckland, Wellington</option><option 526 value="Pacific/Tongatapu">(GMT+13:00) Nuku'alofa</option><option 527 value="Pacific/Chatham">(GMT+13:45) Chatham Islands</option><option 528 value="Pacific/Kiritimati">(GMT+14:00) Kiritimati</option></select> 529 </div> 530 </div> 531 532 </div> 533 </div> 534 535 <div class="alert alert-danger d-none"> 536 <div id="error-text"></div> 537 </div> 538 539 <div class="form-actions form-actions-center"> 540 <div class="form-actions get-started mb-4"> 541 <button class="btn btn-grey btn-processing w-75 d-none" name="processing" id="processing"> 542 Processing 543 </button> 544 <button type="submit" class="btn btn-primary w-75 go-to-step2-btn main-action-btn" name="step1"> 545 Get Started 546 </button> 547 </div> 548 </div> 549 </div> 550 </div> 551</div> 552 553<div class="col-12 col-md-8 col-lg-3 right-container bg-white signup-step2 d-none"> 554 555 <div class="px-2 pt-sm-0 pb-sm-0 px-lg-4 pt-lg-3 pb-lg-4"> 556 <div class="text-center mt-5"> 557 <div class="heading text-midnight-blue mb-3">Access Details</div> 558 559 <img alt="Timeline second step" class="pb-4 second-step-timeline" 560 src="https://cdn.halaxy.com/h/images/timeline/Timeline-Second-Step.svg"> 561 562 <div class="form-row pb-4"> 563 <div class="col-6"> 564 565 566 <div id="row-form_firstname" class="form-group"> 567 568 569 <div class="inline"> 570 571 572 573 574 </div> 575 576 <div> <input 577 type="text" 578 579 580 id="form_firstname" name="form[firstname]" 581 required="required" 582 placeholder="First Name" 583 class="form-control" 584 585 586 587 /> </div> 588 </div> 589 590 </div> 591 <div class="col-6"> 592 593 594 <div id="row-form_lastname" class="form-group"> 595 596 597 <div class="inline"> 598 599 600 601 602 </div> 603 604 <div> <input 605 type="text" 606 607 608 id="form_lastname" name="form[lastname]" 609 required="required" 610 placeholder="Last Name" 611 class="form-control" 612 613 614 615 /> </div> 616 </div> 617 618 </div> 619 </div> 620 621 <div class="form-row pb-2"> 622 <div class="col-11"> 623 624 625 <div id="row-form_password" class="form-group"> 626 627 628 <div class="inline"> 629 630 631 632 633 </div> 634 635 <div> <input 636 type="password" 637 638 639 id="form_password" name="form[password]" 640 required="required" 641 class="name form-control" 642 placeholder="Password" 643 644 645 646 /> </div> 647 </div> 648 649 </div> 650 <div class="col-1"> 651 <i class="icon icon-eye-crossed toggle-pwd-visibility stardust-color"></i> 652 </div> 653 </div> 654 655 656 <div class="form-row pb-4"> 657 <div class="alert alert-secondary"> 658 659<div> 660 <strong>Password Requirements:</strong> 661 <ul class="mb-0"> 662 <li> 663 At least 12 characters 664 </li> 665 <li> 666 Contains a number 667 </li> 668 <li> 669 Contains a lowercase letter 670 </li> 671 <li> 672 Contains an uppercase letter 673 </li> 674 <li> 675 Contains a symbol - e.g. #?!@$%^&*- 676 </li> 677 </ul> 678</div> 679 </div> 680 </div> 681 682 <div class="form-row"> 683 <div class="col-12 radio-button-q"> 684 685 686 <div id="row-form_isPractitioner" class="form-group"> 687 688 689 <div class="inline"> 690 <label class="control-label cl required"> 691 Select your role:</label> 692 693 694 695 </div> 696 697 <div><div id="form_isPractitioner" > 698 699 700 701 <div class="custom-control custom-radio"><input type="radio" 702 class="custom-control-input mt-0" id="form_isPractitioner_0" name="form[isPractitioner]" 703 required="required" 704 value="1" checked="checked" /><label class="custom-control-label required custom-control-label" for="form_isPractitioner_0">Practitioner / Administrator</label></div><div class="custom-control custom-radio"><input type="radio" 705 class="custom-control-input mt-0" id="form_isPractitioner_1" name="form[isPractitioner]" 706 required="required"
707 value="0" /><label class="custom-control-label required custom-control-label" for="form_isPractitioner_1">Patient</label></div> </div></div> 708 </div> 709 710 </div> 711 </div> 712 713 <div class="alert alert-danger d-none"> 714 <div id="error-text"></div> 715 </div> 716 717 <div class="patient-block d-none"> 718 <div class="form-row pb-4 terms-row"> 719 <div class="col-12"> 720 <div class="mb-2 custom-control custom-checkbox"><input type="checkbox" 721 class="custom-control-input " id="form_isAgreeTermsPatient" name="form[isAgreeTermsPatient]" 722 required="required" 723 value="1" /> <label class="custom-control-label " 724 for="form_isAgreeTermsPatient"></label></div> 725 <label class="terms-text font-weight-light" for="form_isAgreeTermsPatient">I agree to the <a 726 href="/article/terms" target="_blank" class="term-conditions-link ">Terms of Use</a> and 727 <a href="/article/privacy" target="_blank" class="term-conditions-link">Privacy Policy</a> 728 </label> 729 </div> 730 </div> 731 732 <div class="form-actions signup-form-actions"> 733 <div class="form-actions create-account mb-4"> 734 <button class="btn btn-grey btn-processing d-none" name="processing" id="processing"> 735 Processing 736 </button> 737 <button type="submit" class="btn btn-primary w-75 create-account-btn main-action-btn" name="login"> 738 Create Account 739 </button> 740 </div> 741 </div> 742 </div> 743 744 <div class="practitioner-block"> 745 <div class="form-actions form-actions-center"> 746 <div class="form-actions continue mb-4"> 747 <button class="btn btn-grey btn-processing d-none" name="processing" id="processing"> 748 Processing 749 </button> 750 <button type="submit" class="btn btn-primary go-to-step3-btn w-75 main-action-btn" name="login"> 751 Continue 752 </button> 753 </div> 754 </div> 755 </div> 756 </div> 757 </div> 758</div> 759 760 761<div class="col-12 col-md-8 col-lg-3 right-container bg-white signup-step3 d-none"> 762 763 <div class="px-2 pt-sm-0 pb-sm-0 px-lg-4 pt-lg-3 pb-lg-4"> 764 <div class="text-center mt-5"> 765 <div class="heading text-midnight-blue mb-3">Customise account</div> 766 767 <img alt="Timeline - Third Step" class="pb-4" 768 src="https://cdn.halaxy.com/h/images/timeline/Timeline-Third-Step.svg"> 769 770 771 <div id="mainProfessionList" class="form-row pb-4"> 772 <div class="col-11"> 773 774 775 <div id="row-form_profession" class="form-group"> 776 777 778 <div class="inline"> 779 780 781 782 783 </div> 784 785 <div> <div class="d-flex"><select class="form-control form-control" 786 787 id="form_profession" name="form[profession]" 788 required="required" 789 class="form-control" 790 791 ><option value="">select profession</option><optgroup 792 label="practitioner"><option 793 value="24">Acupuncturist</option><option 794 value="47">Anaesthetist</option><option 795 value="11">Audiologist</option><option 796 value="271">Breast and Endocrine Surgeon</option><option 797 value="67">Cardiologist</option><option 798 value="36">Cardiothoracic Surgeon</option><option
799 value="57">Chiropodist</option><option 800 value="12">Chiropractor</option><option 801 value="116">Colorectal Surgeon</option><option 802 value="46">Counsellor</option><option 803 value="293">Dental Hygienist</option><option 804 value="151">Dental Prosthetist</option><option 805 value="44">Dentist</option><option 806 value="231">Dermal Clinician</option><option 807 value="25">Dermatologist</option><option 808 value="13">Diabetes Educator</option><option 809 value="14">Dietitian</option><option 810 value="112">Emergency Medicine Physician</option><option 811 value="48">Endocrinologist</option><option 812 value="37">Ear Nose and Throat Surgeon / Otolaryngologist</option><option 813 value="53">Exercise Physiologist</option><option 814 value="27">Gastroenterologist</option><option 815 value="35">General Surgeon</option><option 816 value="128">Geriatrician</option><option 817 value="69">GP (General Practitioner)</option><option 818 value="28">Gynaecologist</option><option 819 value="121">Haematologist</option><option 820 value="55">Homeopath</option><option 821 value="58">Hypnotherapist</option><option 822 value="141">Immunologist</option><option 823 value="201">Infectious Diseases Physician</option><option 824 value="119">Lactation consultant</option><option 825 value="113">Midwife</option><option 826 value="49">Nephrologist</option><option 827 value="120">Neurologist</option><option 828 value="38">Neurosurgeon</option><option 829 value="100">Nurse</option><option 830 value="123">Nurse Practitioner</option><option 831 value="59">Nutritionist</option><option 832 value="16">Occupational Therapist</option><option 833 value="29">Oncologist</option><option 834 value="41">Ophthalmologist</option><option 835 value="30">Optometrist</option><option 836 value="181">Oral & Maxillofacial Surgeon</option><option 837 value="31">Orthodontist</option><option 838 value="32">Orthopaedic Surgeon</option><option 839 value="104">Orthoptist</option><option 840 value="108">Orthotist / Prosthetist</option><option 841 value="17">Osteopath</option><option 842 value="88">Other</option><option 843 value="40">Paediatrician</option><option 844 value="80">Pain Management Specialist</option><option 845 value="76">Pain Management Specialist (Anaesthetics)</option><option 846 value="281">Paramedic</option><option 847 value="171">Pathologist</option><option 848 value="117">Pharmacist</option><option 849 value="18">Physiotherapist</option><option 850 value="39">Plastic & Reconstructive Surgeon</option><option 851 value="19">Podiatrist</option><option 852 value="51">Psychiatrist</option><option 853 value="20">Psychologist</option><option 854 value="114">Psychotherapist</option><option 855 value="191">Radiologist</option><option 856 value="115">Remedial massage therapist</option><option 857 value="129">Respiratory and Sleep Medicine Physician</option><option 858 value="131">Rheumatologist</option><option 859 value="15">Social Worker</option><option 860 value="124">Sonographer</option><option 861 value="241">Specialist Physician (General Medicine)</option><option 862 value="21">Speech Pathologist</option><option 863 value="221">Sports and Exercise Medicine Physician</option><option 864 value="66">Traditional Chinese Medicine Practitioner</option><option 865 value="34">Urologist</option><option 866 value="42">Vascular Surgeon</option><option 867 value="161">Veterinarian</option></optgroup><optgroup 868 label="Admin staff"><option 869 value="84">Administrator</option><option 870 value="125">Bookkeeper</option><option 871 value="126">Practice Manager</option><option 872 value="92">Receptionist</option></optgroup></select></div> 873 </div> 874 </div> 875 876 </div> 877 878 <div class="col-1">
879 <span 880 rel="popover" 881 data-placement="top" 882 data-title="" 883 data-content="Required to customise your Halaxy account to your profession." 884 class="add-on popoverTarget input-append" 885 data-original-title="" 886 title="" 887 > 888 <i class="icon-question-circle"></i> 889 </span> 890 </div> 891 </div> 892 893 <div id="secondaryProfessionList" class="form-row pb-4 d-none"> 894 <div class="col-11"> 895 896 897 <div id="row-form_secondaryProfession" class="form-group"> 898 899 900 <div class="inline"> 901 902 903 904 905 </div> 906 907 <div> <div class="d-flex"><select class="form-control form-control" 908 909 id="form_secondaryProfession" name="form[secondaryProfession]" 910 911 class="form-control" 912 913 ><option value="">select profession</option><optgroup 914 label="practitioner"><option 915 value="122">Aboriginal Health Worker</option><option 916 value="60">Alexander Technique Practitioner</option><option 917 value="291">Allied Health Assistant</option><option 918 value="65">Antenatal Teacher</option><option 919 value="43">Aromatherapist</option><option 920 value="261">Art Therapist</option><option 921 value="311">Behaviour Support Practitioner</option><option 922 value="61">Bowen Therapist</option><option 923 value="319">Genetic Counsellor</option><option 924 value="118">Kinesiologist</option><option 925 value="72">Local Medical Officer</option><option 926 value="96">Massage Therapist</option><option 927 value="251">Music Therapist</option><option 928 value="68">Myotherapist</option><option 929 value="45">Naturopath</option><option 930 value="211">Other Medical Practitioner</option><option 931 value="22">Personal Trainer</option><option 932 value="315">Phlebologist</option><option 933 value="313">Phlebotomist</option><option 934 value="321">Pilates Practitioner</option><option 935 value="295">Play Therapist</option><option 936 value="52">Reflexologist</option><option 937 value="323">Registered Massage Therapist</option><option 938 value="64">Shiatsu</option><option 939 value="297">Support Worker</option></optgroup></select></div> 940 </div> 941 </div> 942 943 </div> 944 945 <div class="col-1"> 946 <span 947 rel="popover" 948 data-placement="top" 949 data-title="" 950 data-content="Required to customise your Halaxy account to your profession." 951 class="add-on popoverTarget input-append" 952 data-original-title="" 953 title="" 954 > 955 <i class="icon-question-circle"></i> 956 </span> 957 </div> 958 </div> 959 960 961 962 <div class="form-row pb-4"> 963 <div class="col-11"> 964 965 966 <div id="row-form_registrationNumber" class="form-group"> 967 968 969 <div class="inline"> 970 971 972 973 974 </div> 975 976 <div> <input 977 type="text" 978 979 980 id="form_registrationNumber" name="form[registrationNumber]" 981 982 placeholder="Registration Number (optional)" 983 class="form-control" 984 985 986 987 /> </div> 988 </div> 989 990 </div> 991 <div class="col-1">
992 <span 993 rel="popover" 994 data-placement="top" 995 data-title="" 996 data-content="The number that you use to identify yourself as a member of your profession in your country." 997 class="add-on popoverTarget input-append" 998 data-original-title="" 999 title="" 1000 > 1001 <i class="icon-question-circle"></i> 1002 </span> 1003 </div> 1004 </div> 1005 1006 <div class="form-row pb-4"> 1007 <div class="col-12"> 1008 <div class="mb-2 custom-control custom-checkbox"><input type="checkbox" 1009 class="custom-control-input " id="form_isAgreeTermsPract" name="form[isAgreeTermsPract]" 1010 required="required" 1011 value="1" /> <label class="custom-control-label " 1012 for="form_isAgreeTermsPract"></label></div> 1013 <label class="terms-text font-weight-light" for="form_isAgreeTermsPract">I agree to the <a 1014 href="/article/terms" target="_blank" class="term-conditions-link ">Terms of Use</a> and 1015 <a href="/article/privacy" target="_blank" class="term-conditions-link">Privacy Policy</a> 1016 </label> 1017 </div> 1018 </div> 1019 1020 <div class="alert alert-danger d-none"> 1021 <div id="error-text"></div> 1022 </div> 1023 1024 <div class="form-actions form-actions-center"> 1025 <div class="form-actions create-account mb-4"> 1026 <button class="btn btn-grey btn-processing d-none" name="processing" id="processing"> 1027 Processing 1028 </button> 1029 <button type="submit" class="btn btn-primary w-75 create-account-btn main-action-btn" name="login"> 1030 Create Account 1031 </div> 1032 </div> 1033 </div> 1034 </div> 1035</div>
1036<script type="text/javascript"> 1037 const termConditionsLinks = document.querySelectorAll('.term-conditions-link'); 1038 1039 const otherProfession = 88; 1040 1041 //if you a have a link inside a checkbox label it won`t check it when clicking the link. 1042 termConditionsLinks.forEach(link => link.addEventListener('click', (e) => { 1043 e.preventDefault(); 1044 e.target.parentElement.click(); 1045 window.open(e.target.href, '_blank'); 1046 })); 1047 1048 var timezonesToFixMap = []; 1049 1050 1051 document.addEventListener('DOMContentLoaded', function () { 1052 1053 var timezoneGuesser = null; 1054 var formTimezone = $('#form_timezone'); 1055 1056 1057 formTimezone.find('option').each(function () { 1058 if ($(this).text().includes(',')) { 1059 var timezoneToReturn = $(this).val(); 1060 var searchString = $(this).text().split(') ')[1].split(', '); 1061 1062 timezonesToFixMap.push({'timezoneToReturn': timezoneToReturn, 'searchString': searchString}); 1063 } 1064 }); 1065 1066 try { 1067 timezoneGuesser = new Intl.DateTimeFormat().resolvedOptions().timeZone; 1068 timezoneGuesser = timezoneFix(timezoneGuesser); 1069 1070 formTimezone.val(timezoneGuesser); 1071 1072 formTimezone.trigger('change'); 1073 formTimezone.trigger('chosen:updated'); 1074 1075 } catch (e) { 1076 timezoneGuesser = null; 1077 console.log('Unable to get timezone', e); 1078 } 1079 1080 var fallbackOption = 'America/Detroit'; 1081 fallbackOption = timezoneFix(fallbackOption); 1082 if (timezoneGuesser === null) { 1083 formTimezone.val(fallbackOption); 1084 } 1085 1086 // This is the fallback version of the main guesser above. It's not as accurate and is only used if the country timezone doesn't work as a backup 1087 if (formTimezone.val() === '' || timezoneGuesser === null) { 1088 var country = $('#form_country option:selected').text(); 1089 1090 timezoneGuesser = getTimezoneOffsetString(); 1091 formTimezone.find('option').each(function () { 1092 var obj = $(this); 1093 if (obj.text().includes(timezoneGuesser) && obj.val().includes(country)) { 1094 formTimezone.val($(this).val()); 1095 1096 formTimezone.trigger('change'); 1097 formTimezone.trigger('chosen:updated'); 1098 return false; 1099 } 1100 }); 1101 } 1102 1103 cloneOtherOptionToSecondaryProfession() 1104 1105 $('#form_profession').on('change', function () { 1106 toggleProfessionList($(this)) 1107 }) 1108 }); 1109 1110 1111 function getTimezoneOffsetString() { 1112 const offsetInMinutes = new Date().getTimezoneOffset(); 1113 const sign = offsetInMinutes > 0 ? '-' : '+'; 1114 const hours = Math.floor(Math.abs(offsetInMinutes) / 60); 1115 const minutes = Math.abs(offsetInMinutes) % 60; 1116 return `GMT${sign}${hours.toString().padStart(2, '0')}:${minutes 1117 .toString() 1118 .padStart(2, '0')}`; 1119 } 1120 1121 function timezoneFix(tz) { 1122 var timezoneCity = tz.split('/')[1]; 1123 1124 timezonesToFixMap.forEach(item => { 1125 if (item.searchString.includes(timezoneCity)) { 1126 tz = item.timezoneToReturn; 1127 } 1128 }); 1129 1130 return tz; 1131 } 1132 1133 function cloneOtherOptionToSecondaryProfession() { 1134 $('#form_secondaryProfession').append(`<option value="${otherProfession}">Other / Unlisted</option>`); 1135 $('#form_secondaryProfession').trigger("chosen:updated"); 1136 } 1137 1138 function toggleProfessionList($ele){ 1139 const selectedOption = $($ele).val() 1140 // id of 'other' in dropdown 1141 1142 if(selectedOption === otherProfession.toString()) { 1143 $('#secondaryProfessionList').removeClass('d-none') 1144 }else{ 1145 $('#form_secondaryProfession').val('') 1146 $('#secondaryProfessionList').addClass('d-none') 1147 } 1148 } 1149 1150</script>
1150 1151 </div> 1152 </div> 1153 </div> 1154 1155 1156
1156<script type="text/javascript"> 1157 hk_glob = { 1158 paths: { 1159 BaseURL: "/" 1160 }, 1161 variables: { 1162 loggedIn: false 1163 } 1164 } 1165 </script>
1165 1166 1167 1168 1169 1170
1170<script src="https://cdn.halaxy.com/z/version/125.40/build/runtime.js" crossorigin="anonymous"></script>
1170<script src="https://cdn.halaxy.com/z/version/125.40/build/app.js" crossorigin="anonymous"></script>
1170 1171 1172
1172<script src="https://cdn.halaxy.com/z/version/125.40/build/component/ckeditor.js" crossorigin="anonymous"></script>
1172 1173 1174 1175
1176<script> 1177 1178 document.addEventListener('DOMContentLoaded', function () { 1179 HkCurrency.currency.symbol = 'A$'; 1180 HkCurrency.currency.format = '%s %v'; 1181 HkCurrency.currency.decimal = '.'; 1182 HkCurrency.currency.groupingSeparator = ','; 1183 HkCurrency.currency.precision = '2'; 1184 HkCurrency.currency.grouping = '3'; 1185 1186 // Expand the menu items if specified in the visual settings 1187 }); 1188 1189 // Keep this outside DOMContentLoaded as its sometimes needed before the dom has loaded 1190 Hk.jwt = ''; 1191</script>
vendor: 1 bytes, line 1191
1191
1192<script src="https://cdn.halaxy.com/z/static/vendor/highcharts/highcharts.min.js" crossorigin="anonymous"></script>
1192 1193 1194 1195 1196 1197
1197<script src="https://cdn.halaxy.com/z/version/125.40/build/component/payment.js" crossorigin="anonymous"></script>
vendor: 91 bytes, lines 1197-1201
1197 1198 1199 1200 <script src="https://www.google.com/recaptcha/api.js" async defer></script> 1201
1201<div id="recaptcha-signup" class="g-recaptcha" 1202 data-sitekey="6LefyrssAAAAAPsEzMShTMsL8ADwXY5qYP0MRss8" 1203 data-callback="onSignupRecaptchaSuccess" 1204 data-size="invisible"> 1205 </div> 1206 1207 1208 <!-- Facebook Pixel Code --> 1209
1209<script>
vendor: 495 bytes, lines 1209-1218
1209 1210 !function(f,b,e,v,n,t,s) 1211 {if(f.fbq)return;n=f.fbq=function(){n.callMethod? 1212 n.callMethod.apply(n,arguments):n.queue.push(arguments)}; 1213 if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0'; 1214 n.queue=[];t=b.createElement(e);t.async=!0; 1215 t.src=v;s=b.getElementsByTagName(e)[0]; 1216 s.parentNode.insertBefore(t,s)}(window, document,'script', 1217 'https://connect.facebook.net/en_US/fbevents.js'); 1218 fbq('init', '
12182396505863998736
vendor: 42 bytes, lines 1218-1220
1218'); 1219 fbq('track', 'PageView'); 1220
1220</script>
1220 1221 <noscript> 1222 <img height="1" width="1" style="display:none" 1223 src="https://www.facebook.com/tr?id=2396505863998736&ev=PageView&noscript=1"/> 1224 </noscript> 1225 <!-- End Facebook Pixel Code --> 1226 <!-- Google Tag Manager --> 1227
1227<script>
vendor: 437 bytes, lines 1227-1231
1227(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': 1228 new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], 1229 j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 1230 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); 1231 })(window,document,'script','dataLayer','
1231GTM-T29Q5RM
vendor: 3 bytes, line 1231
1231');
1231</script>
1231 1232 1233 <!-- Google Tag Manager (noscript) -->
vendor: 76 bytes, lines 1233-1234
1233 1234 <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=
1234GTM-T29Q5RM
vendor: 117 bytes, lines 1234-1236
1234" 1235 height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> 1236
1236<!-- End Google Tag Manager (noscript) --> 1237 <!-- End Google Tag ManageFr --> 1238
1238<script type="text/javascript"> 1239 1240 var countryId = null; 1241 var timezone = null; 1242 1243 $(function () { 1244 if ($('#form_email').val() !== '') { 1245 validateStep1(); 1246 } 1247 1248 // This is required to ensure responsiveness 1249 HkUI.injectViewportMeta(); 1250 1251 // Load processing icon - not critical to functionality 1252 try { 1253 Hk.Loader.startInsideButton('.btn-processing'); 1254 } catch (e) { 1255 console.log('couldn\'t show spinner because ', e); 1256 } 1257 // Display processing button during ajax request 1258 var $loading = $('button.btn-processing'); 1259 var $actionBtn = $('.main-action-btn'); 1260 $loading.addClass('d-none'); 1261 $actionBtn.removeClass('d-none'); 1262 $(document) 1263 .ajaxStart(function () { 1264 $loading.removeClass('d-none'); 1265 $actionBtn.addClass('d-none'); 1266 1267 }) 1268 .ajaxStop(function () { 1269 $loading.addClass('d-none'); 1270 $actionBtn.removeClass('d-none'); 1271 }); 1272 1273 // Clicking on login button will redirect to login controller action 1274 $('.login-btn').click(function () { 1275 // Redirect to Login page 1276 location.href = "/a/login"; 1277 }); 1278 1279 // Hide/Display the password entered on clicking eye icon 1280 $('.toggle-pwd-visibility').click(function () { 1281 var type = $('#form_password').attr('type'); 1282 var crossedEyeClass = 'icon-eye-crossed stardust-color'; 1283 var eyeClass = 'icon-eye electric-sky-color'; 1284 if (type === 'password') { 1285 // Make it visible 1286 $('#form_password').attr('type', 'text'); 1287 $('.toggle-pwd-visibility').removeClass(crossedEyeClass); 1288 $('.toggle-pwd-visibility').addClass(eyeClass); 1289 } else { 1290 // Make it hidden 1291 $('#form_password').attr('type', 'password'); 1292 $('.toggle-pwd-visibility').addClass(crossedEyeClass); 1293 $('.toggle-pwd-visibility').removeClass(eyeClass); 1294 } 1295 }); 1296 1297 $(window).on('keydown', (e) => { 1298 if(e.key === 'Enter') { 1299 if(!$('.signup-step1').hasClass('d-none')) { 1300 validateStep1() 1301 } else if (!$('.signup-step2').hasClass('d-none')) { 1302 validateStep2(!$('.signup-step2').hasClass('d-none')) 1303 } else if (!$('.signup-step3').hasClass('d-none')) { 1304 validateStep3() 1305 } 1306 } 1307 }) 1308 1309 // The Continue button in Step 1 1310 $('.go-to-step2-btn').click(function () { 1311 validateStep1(); 1312 }); 1313 1314 // The Continue button in Step 2 - only used by practitioners 1315 $('.go-to-step3-btn').click(function () { 1316 validateStep2(); 1317 }); 1318 1319 1320 // Click on create account button 1321 $('.create-account-btn').click(function () { 1322 if (isPractitioner() == true) { 1323 validateStep3(); 1324 } else { 1325 validateStep2(); 1326 } 1327 }); 1328 1329 function createAccount() { 1330 // Execute reCAPTCHA — the callback onSignupRecaptchaSuccess will submit the form 1331 grecaptcha.execute(); 1332 } 1333 1334 // Called by onSignupRecaptchaSuccess callback after grecaptcha.execute() validates the user 1335 function submitSignupForm(recaptchaToken) { 1336 data = { 1337 'form[name][forename]': $('#form_firstname').val(), 1338 'form[name][surname]': $('#form_lastname').val(), 1339 'form[email][first]': $('#form_email').val(), 1340 'form[email][second]': $('#form_email').val(), 1341 'form[passwordRaw][first]': $('#form_password').val(), 1342 'form[passwordRaw][second]': $('#form_password').val(), 1343 'form[country]': countryId, 1344 'form[timezone]': timezone, 1345 'signupLeadId': $('#form_signupLeadId').val(), 1346 'g-recaptcha-response': recaptchaToken 1347 }; 1348 1349 //Check whether country is in EU or NOT and set the action url accordingly 1350 // set list of EU country ids as array 1351 var euCountryIds = [15,22,34,55,57,58,59,68,73,74,81,84,99,105,108,121,127,128,136,155,176,177,181,200,201,206,212,232]; 1352 1353 // check if selected country id is in array of eu country ids 1354 var isCountryInEu = euCountryIds.indexOf(countryId) !== -1; 1355 1356 if (isCountryInEu === true) { 1357 urlDomain = '//eu.halaxy.com'; 1358 } else { 1359 urlDomain = '//www.halaxy.com'; 1360 } 1361 1362 1363 //Submit form 1364 if (isPractitioner() == true) { 1365 // @see routes signup & signup_practitioner 1366 url = urlDomain + '/a/signup/practitioner'; 1367 data['form[profession]'] = handleProfessionData(); 1368 data['form[registration]'] = $('#form_registrationNumber').val(); 1369 } else { 1370 url = urlDomain + '/a/signup/patient'; 1371 } 1372 1373 console.log(url); 1374 console.log(data); 1375 1376 $.ajax({ 1377 url: url, 1378 data: data, 1379 method: 'POST', 1380 success: function (result) { 1381 console.log('Success'); 1382 // Redirect to Patient homepage if is not practitioner 1383 if (isPractitioner() == false) { 1384 location.replace('/a/pa/0/'); 1385 } else if (result && result.status == 'ERROR') { 1386 // if form has error, display error message 1387 displayError('Cannot process signup. Please contact Halaxy on [email protected] for assistance.'); 1388 } else { 1389 // otherwise redirect user to the profile edit page 1390 if (result && result.status == 'OK') { 1391 pracId = result.message; 1392 } else { 1393 pracId = 0; 1394 } 1395 // This will load the calendar as the first page on which they land 1396 // @see route pr_calendar 1397 location.replace(urlDomain + '/a/pr/') 1398 } 1399 }, 1400 error: function (error) { 1401 // Display server error message (e.g. reCAPTCHA failed) or generic fallback 1402 if (error.responseJSON && error.responseJSON.message) { 1403 // e.g. "reCAPTCHA verification failed." from JsonResponse 1404 displayError(error.responseJSON.message); 1405 } else { 1406 displayError('Cannot process signup. Please contact Halaxy on [email protected] for assistance.'); 1407 } 1408 // Reset reCAPTCHA so the user can retry without reloading the page 1409 grecaptcha.reset(); 1410 } 1411 }); 1412 } 1413 1414 // Settings action url to either patient / practitioner 1415 $('#row-form_isPractitioner input').click(function () { 1416 // This is a practitioner - set the actionURL 1417 if (isPractitioner() == true) { 1418 displayPractitionerBlock(); 1419 $('img.second-step-timeline').attr('src', 'https://cdn.halaxy.com/h/images/timeline/Timeline-Second-Step.svg'); 1420 } else { 1421 displayPatientBlock(); 1422 $('img.second-step-timeline').attr('src', 'https://cdn.halaxy.com/h/images/timeline/Timeline-Second-Step-Patient.svg'); 1423 } 1424 }); 1425 1426 // Test to see if this user is a practitioner 1427 function isPractitioner() { 1428 var isPrac = $('#row-form_isPractitioner input[type=radio]:checked').val(); 1429 if (isPrac == 1) { 1430 return true; 1431 } 1432 return false;
1433 } 1434 1435 function handleProfessionData() { 1436 const profession = $('#form_profession').val(); 1437 const secondaryProfession = $('#form_secondaryProfession').val(); 1438 1439 if(!!secondaryProfession) { 1440 return secondaryProfession 1441 } 1442 return profession 1443 } 1444 1445 // Call API and check Step 1 values 1446 function validateStep1() { 1447 // Hide alert 1448 $('.alert-danger').addClass('d-none'); 1449 1450 var email = $('#form_email').val(); 1451 countryId = Number.parseInt($('#form_country').val()); 1452 timezone = $('#form_timezone').val(); 1453 1454 if (email == '') { 1455 displayError('Please enter email.'); 1456 return; 1457 } 1458 if (countryId == '') { 1459 displayError('Please select a country.'); 1460 return; 1461 } 1462 if (timezone == '' || timezone == null) { 1463 displayError('Please select a timezone.'); 1464 return; 1465 } 1466 // If not valid email format then error 1467 if (isValidateEmailFormat($('#form_email').val()) == false) { 1468 displayError('Please enter a valid email.'); 1469 return; 1470 } 1471 1472 var url = '/api/v2/open/signup/leads'; 1473 $.ajax({ 1474 url: url, 1475 data: { 1476 email: email, 1477 country: countryId, 1478 timezone: timezone, 1479 httpReferer: "", 1480 }, 1481 method: 'POST', 1482 suppressErrors: true, 1483 success: function (result) { 1484 //Successfully received a response 1485 var signupLeadId; 1486 if (result.metadata.status == 'already created') { 1487 signupLeadId = result.metadata.signupLeadId; 1488 } else { 1489 signupLeadId = result.metadata.created.signupLeadId; 1490 } 1491 1492 if (Number.isInteger(signupLeadId)) { 1493 $('input[name="form[signupLeadId]"]').val(signupLeadId); 1494 fbq('track', 'Signup Step 1'); 1495 if (typeof dataLayer !== 'undefined') { 1496 // dataLayer is undefined for sites that are not setup for google tag manager 1497 dataLayer.push({'event': 'formSubmitted', 'formName': 'Signup Step 1'}); 1498 } 1499 goToStep2(); 1500 } 1501 }, 1502 error: function (error) { 1503 console.log('Error'); 1504 console.log(error); 1505 var allErrors = error.responseJSON.errors; 1506 var key; 1507 for (key in allErrors) { 1508 var message = allErrors[key].message; 1509 1510 switch (message) { 1511 case 'email has account already': 1512 displayError('This email is already registered. Log in to access your account.'); 1513 return; 1514 case 'email is empty': 1515 displayError('Please enter email.'); 1516 return; 1517 case 'invalid email format': 1518 displayError('Please enter a valid email.'); 1519 return; 1520 case 'Email addresses using @halaxy.com domain cannot be used.': 1521 displayError('Email addresses using @halaxy.com domain cannot be used.'); 1522 return; 1523 case 'missing country': 1524 case 'empty country': 1525 case 'invalid country': 1526 displayError('Please select a country.'); 1527 return; 1528 default: 1529 displayError('Cannot process signup. Please contact Halaxy on [email protected] for assistance.'); 1530 return; 1531 } 1532 } 1533 } 1534 }); 1535 1536 } 1537 1538 /** 1539 * @todo consider moving to email.js 1540 * @duplicate assets/js/email.js 1541 */ 1542 function isValidateEmailFormat(email) { 1543 var re = /^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/; 1544 return re.test(email); 1545 } 1546 1547 /** 1548 * @todo consider moving to assets/js/* 1549 */ 1550 function hasNumber(myString) { 1551 return /\d/.test(myString); 1552 } 1553 1554 /** 1555 * @todo consider moving to assets/js/* 1556 */ 1557 function hasSpecialCharacters(myString) { 1558 var re = /[.~{}$&+:;=?@#|<>^*%!_\/\\`]/; 1559 return re.test(myString); 1560 } 1561 1562 /** 1563 * @todo consider moving to assets/js/* 1564 */ 1565 function validatePasswordFormat(passwordText) { 1566 // At least 12 characters long 1567 if (passwordText.length < 12) { 1568 return "Password should be min 12 characters"; 1569 } 1570 1571 // Must have at least one uppercase letter 1572 if (!/\d/.test(passwordText)) { 1573 return "Password should contain at least one digit"; 1574 } 1575 1576 // Must have at least one lowercase letter 1577 if (!/[A-Z]/.test(passwordText)) { 1578 return "Password should contain at least one Capital Letter"; 1579 } 1580 1581 // Must have a number 1582 if (!/[a-z]/.test(passwordText)) { 1583 return "Password should contain at least one small Letter"; 1584 } 1585 1586 // Must have a special character 1587 if (!/[#?!@$%^&*-]/.test(passwordText)) { 1588 return "Password should contain at least one special character"; 1589 } 1590 1591 return null; 1592 } 1593 1594 // Call API and check Step 2 values 1595 function validateStep2() { 1596 1597 var firstName = $('#form_firstname').val(); 1598 var lastName = $('#form_lastname').val(); 1599 var password = $('#form_password').val(); 1600 1601 1602 // Hide alert 1603 $('.alert-danger').addClass('d-none'); 1604 1605 if (firstName == '' && lastName == '') { 1606 displayError('Please enter first and last name'); 1607 return; 1608 } 1609 1610 if (firstName == '') { 1611 displayError('Please enter first name'); 1612 return; 1613 } 1614 1615 1616 // Most special characters are rejected except for , - " ' ( ) 1617 if (hasSpecialCharacters(firstName) == true) { 1618 displayError('Invalid first name. Punctuation marks other than hyphens and apostrophes are not allowed.'); 1619 return; 1620 } 1621 1622 if (lastName == '') { 1623 displayError('Please enter last name'); 1624 return; 1625 } 1626 1627 // Most special characters are rejected except for , - " ' ( ) 1628 if (hasSpecialCharacters(lastName) == true) { 1629 displayError('Invalid last name. Punctuation marks other than hyphens and apostrophes are not allowed.'); 1630 return; 1631 } 1632 1633 if (password == '') { 1634 displayError('Please enter password'); 1635 return; 1636 } 1637 1638 var signupStepPasswordError = validatePasswordFormat(password); 1639 if (!!signupStepPasswordError) { 1640 displayError(signupStepPasswordError); 1641 return; 1642 } 1643 1644 if (isPractitioner() == false && $('#form_isAgreeTermsPatient').is(':checked') == false) { 1645 displayError('You must agree with our Terms of Use and Privacy Policy.'); 1646 return; 1647 } 1648 1649 var url = "/api/v2/open/signup/leads/" + $('#form_signupLeadId').val(); 1650 var data = { 1651 forename: firstName, 1652 surname: lastName, 1653 type: isPractitioner() ? 'practitioner' : 'patient', 1654 country: countryId, 1655 profession: '', 1656 registrationNumber: '', 1657 numberPractitioners: '', 1658 }; 1659 $.ajax({ 1660 url: url, 1661 data: data, 1662 method: 'PUT', 1663 suppressErrors: true, 1664 success: function (result) { 1665 console.log('Success - step 2'); 1666 if (isPractitioner() == true) {
1667 fbq('track', 'Signup Step 2'); 1668 if (typeof dataLayer !== 'undefined') { 1669 // dataLayer is undefined for sites that are not setup for google tag manager 1670 dataLayer.push({'event': 'formSubmitted', 'formName': 'Signup Step 2'}); 1671 } 1672 goToStep3(); 1673 } else { 1674 createAccount(); 1675 fbq('track', 'Patient account created'); 1676 if (typeof dataLayer !== 'undefined') { 1677 // dataLayer is undefined for sites that are not setup for google tag manager 1678 dataLayer.push({'event': 'formSubmitted', 'formName': 'Patient Account created'}); 1679 } 1680 } 1681 }, 1682 error: function (error) { 1683 console.log(error); 1684 var allErrors = error.responseJSON.errors; 1685 var key; 1686 for (key in allErrors) { 1687 var message = allErrors[key].message; 1688 switch (message) { 1689 case 'missing forename': 1690 case 'empty forename': 1691 displayError('Please enter first name'); 1692 return; 1693 case 'invalid forename': 1694 displayError('Invalid first name. Punctuation marks other than hyphens and apostrophes are not allowed.'); 1695 return; 1696 case 'missing surname': 1697 case 'empty surname': 1698 displayError('Please enter last name'); 1699 return; 1700 case 'invalid surname': 1701 displayError('Invalid last name. Punctuation marks other than hyphens and apostrophes are not allowed.'); 1702 return; 1703 case 'missing type': 1704 case 'empty type': 1705 case 'invalid signup lead': 1706 case 'user type is patient but profession is submitted': 1707 case 'user type is patient but registration number is specified': 1708 case 'user type is patient but number of practitioners is specified': 1709 default: 1710 console.error('Cannot process signup.', message, data) 1711 displayError('Cannot process signup. Please contact Halaxy on [email protected] for assistance.') 1712 return; 1713 } 1714 } 1715 } 1716 }); 1717 1718 } 1719 1720 // Call API and check Step 3 values 1721 function validateStep3() { 1722 // Hide alert 1723 $('.alert-danger').addClass('d-none'); 1724 1725 1726 if ($('#form_profession').val() == '') { 1727 displayError('Please select profession.'); 1728 return; 1729 } 1730 1731 if (isPractitioner() == true && $('#form_isAgreeTermsPract').is(':checked') == false) { 1732 displayError('You must agree with our Terms of Use and Privacy Policy.'); 1733 return; 1734 } 1735 1736 var url = "/api/v2/open/signup/leads/" + $('#form_signupLeadId').val(); 1737 let data = { 1738 forename: $('#form_firstname').val(), 1739 surname: $('#form_lastname').val(), 1740 type: isPractitioner() ? 'practitioner' : 'patient', 1741 country: countryId, 1742 profession: $('#form_profession').val(), 1743 registrationNumber: $('#form_registrationNumber').val(), 1744 agreedTnC: $('#form_isAgreeTermsPract').is(':checked') == true ? 1 : 0, 1745 }; 1746 $.ajax({ 1747 url: url, 1748 data: data, 1749 method: 'PUT', 1750 suppressErrors: true, 1751 success: function (result) { 1752 1753 if (isPractitioner() == true) { 1754 createAccount(); 1755 fbq('track', 'Practitioner account created'); 1756 if (typeof dataLayer !== 'undefined') { 1757 // dataLayer is undefined for sites that are not setup for google tag manager 1758 dataLayer.push({'event': 'formSubmitted', 'formName': 'Practitioner account created'}); 1759 } 1760 } 1761 1762 }, 1763 error: function (error) {console.log(error); 1764 var allErrors = error.responseJSON.errors; 1765 var key; 1766 for (key in allErrors) { 1767 var message = allErrors[key].message; 1768 switch (message) { 1769 case 'missing profession': 1770 case 'invalid profession': 1771 displayError('Please select a profession.'); 1772 return; 1773 case 'missing registration number': 1774 case 'invalid registration number': 1775 displayError('Please enter a registration number.'); 1776 return; 1777 case 'missing type': 1778 case 'empty type': 1779 case 'invalid signup lead': 1780 case 'user type is patient but profession is submitted': 1781 case 'user type is patient but registration number is specified': 1782 case 'user type is patient but number of practitioners is specified': 1783 default: 1784 console.error('Cannot process signup.', message, data) 1785 displayError('Cannot process signup. Please contact Halaxy on [email protected] for assistance.') 1786 return; 1787 } 1788 } 1789 } 1790 }); 1791 1792 } 1793 1794 function displayError(message) { 1795 $('.alert-danger').removeClass('d-none'); 1796 $('div#error-text').html(message); 1797 } 1798 1799 // Using window to expose reCAPTCHA callback globally so the Google reCAPTCHA API can invoke it 1800 window.onSignupRecaptchaSuccess = function (token) { 1801 submitSignupForm(token); 1802 }; 1803 1804 function displayPatientBlock() { 1805 $('.patient-block').removeClass('d-none'); 1806 $('.practitioner-block').addClass('d-none') 1807 } 1808 1809 function displayPractitionerBlock() { 1810 $('.practitioner-block').removeClass('d-none'); 1811 $('.patient-block').addClass('d-none') 1812 } 1813 1814 function goToStep2() { 1815 $('.signup-step1').addClass('d-none'); 1816 $('.signup-step2').removeClass('d-none'); 1817 1818 } 1819 1820 function goToStep3() { 1821 $('.signup-step2').addClass('d-none'); 1822 $('.signup-step3').removeClass('d-none'); 1823 } 1824 1825 1826 }); 1827 </script>
1827 1828 1829 1830 1831 1832 1833 1834
1834<script type="text/javascript">window.NREUM||(NREUM={});NREUM.info={"beacon":"bam.nr-data.net","licenseKey":"e514366ee1","applicationID":"338566318","transactionName":"YQBWY0MHCxEFUBFdW1hKdVRFDwoMS0AMU1pDFQ==","queueTime":0,"applicationTime":195,"atts":"TUdVFQsdGB8=","errorBeacon":"bam.nr-data.net","agent":""}</script>
1834</body> 1835</html>
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.