{"ScriptPreparationCode":"listPathExclusionsA = [\r\n // Static JS components and scripts\r\n /^\\/advancedsetup\\/(jsbundles|ckeditor)\\/.\u002B\\.js$/i,\r\n\r\n // Not a static asset per se, but we don\u0027t parse the integ event or\r\n // search for it in the logs, and it can as much as 20% of our CE event\r\n // volume (across all integrations) during peak CE activity. This is\r\n // loaded each time the schedule window is opened.\r\n /^\\/aspx\\/appointments\\/appttrial\\.aspx$/i,\r\n\r\n // Additional events that we do not parse but each constitute\r\n // 0.6-1.5% of data volume so we might as well not waste customer,\r\n // logging, and NexHealth API bandwidth on these.\r\n /^\\/advancedsetup\\/progressnotes\\/index$/i,\r\n /^\\/advancedsetup\\/patientdetail\\/getpatinetheaderdetailsv3$/i,\r\n /^\\/aspx\\/patients\\/advancednotes\\.aspx$/i,\r\n /^\\/aspx\\/home\\/advancedsearchpatients\\.aspx$/i,\r\n /^\\/aspx\\/appointments\\/quickschedule\\.aspx$/i,\r\n /^\\/aspx\\/transactions\\/advancedtreatplanquickentry\\.aspx$/i,\r\n /^\\/aspx\\/charting\\/advancedcharting\\.aspx$/i,\r\n /^\\/aspx\\/charting\\/restchart2\\.aspx$/i,\r\n\r\n // The following are small yet frequent requests that we do not\r\n // need or parse.\r\n /^\\/ASPX\\/Appointments\\/timer\\.html$/i,\r\n /^\\/ASPX\\/GetProviderOperatories\\.aspx$/i,\r\n /^\\/ASPX\\/xhr\\.aspx$/i, // Used to look up CDN URLs for static assets\r\n /^\\/token\\/getToken$/i,\r\n /^\\/ASPX\\/Reports\\/GetOfficeHippaLetters\\.aspx$/i,\r\n /^\\/ASPX\\/Appointments\\/GetProdValues\\.aspx$/i,\r\n /^\\/ASPX\\/Home\\/SetTicklerCounter\\.aspx$/i,\r\n];\r\n\r\nlistPathExclusionsB = [];\r\n\r\nlistPathExclusionsC = [\r\n // Static JS components and scripts\r\n /^\\/advancedsetup\\/(jsbundles|ckeditor)\\/.\u002B\\.js$/,\r\n\r\n // Not a static asset per se, but we don\u0027t parse the integ event or\r\n // search for it in the logs, and it can as much as 20% of our CE event\r\n // volume (across all integrations) during peak CE activity. This is\r\n // loaded each time the schedule window is opened.\r\n /^\\/aspx\\/appointments\\/appttrial\\.aspx$/,\r\n\r\n // Additional events that we do not parse but each constitute\r\n // 0.6-1.5% of data volume so we might as well not waste customer,\r\n // logging, and NexHealth API bandwidth on these.\r\n /^\\/advancedsetup\\/progressnotes\\/index$/,\r\n /^\\/advancedsetup\\/patientdetail\\/getpatinetheaderdetailsv3$/,\r\n /^\\/aspx\\/patients\\/advancednotes\\.aspx$/,\r\n /^\\/aspx\\/home\\/advancedsearchpatients\\.aspx$/,\r\n /^\\/aspx\\/appointments\\/quickschedule\\.aspx$/,\r\n /^\\/aspx\\/transactions\\/advancedtreatplanquickentry\\.aspx$/,\r\n /^\\/aspx\\/charting\\/advancedcharting\\.aspx$/,\r\n /^\\/aspx\\/charting\\/restchart2\\.aspx$/,\r\n\r\n // The following are small yet frequent requests that we do not\r\n // need or parse.\r\n /^\\/ASPX\\/Appointments\\/timer\\.html$/,\r\n /^\\/ASPX\\/GetProviderOperatories\\.aspx$/,\r\n /^\\/ASPX\\/xhr\\.aspx$/, // Used to look up CDN URLs for static assets\r\n /^\\/token\\/getToken$/,\r\n /^\\/ASPX\\/Reports\\/GetOfficeHippaLetters\\.aspx$/,\r\n /^\\/ASPX\\/Appointments\\/GetProdValues\\.aspx$/,\r\n /^\\/ASPX\\/Home\\/SetTicklerCounter\\.aspx$/,\r\n];\r\n\r\nfunction findResource(path, listPathExclusions) {\r\n for (const exclusion of listPathExclusions) {\r\n if (exclusion.test(path)) {\r\n return true;\r\n }\r\n }\r\n\r\n return false;\r\n};","TestCases":[{"Name":"Insensitive","Code":"findResource(\u0027/aspx/cats/dogs\u0027, listPathExclusionsA);","IsDeferred":false},{"Name":"Sensitive","Code":"findResource(\u0027/aspx/cats/dogs\u0027, listPathExclusionsC);","IsDeferred":false},{"Name":"Empty","Code":"findResource(\u0027/aspx/cats/dogs\u0027, listPathExclusionsB);","IsDeferred":false}]}