I have never thought that police work is easy.
But my experience at the Frank DeAngelis Center for Community Safety, nestled in a former elementary school in Wheat Ridge, confirmed how difficult it is.
Golden Police Chief Joe Harvey allowed me to sit in on his Community Engagement Group’s simulation testing at the center on Aug. 14. It involved traffic stops, a school-shooter scenario and simulated police responses.
I expected to be a fly on the wall, but Harvey joked he couldn’t wait to see how I did.
Minutes later, I was rushing down the hallway of the old school with a close-to-real handgun in tow, carrying within it paintball rounds.
My team and I shot a cardboard principal before eventually arresting the school shooter.
Oops.
Hearing the screams of the actors and the gunshots was truly indescribable. I could only imagine having to face down the barrel of a gun in the midst of real action.
Having to communicate with a person trespassing in a warehouse was equally exhilarating. Despite my self-proclaimed gift of gab, I had no clue what to ask. When the suspect’s arm remained hidden behind a shelf, I had to wrap my mind around the split-second possibility that a weapon was coming my way.
While I did not participate in the seemingly routine traffic stop, several members of the Community Engagement Group said it was the most stressful of all of the scenarios due to the helplessness of being alone outside of someone else’s vehicle.
That’s what police officers do every day.
let pathVariable;
let pathVariable2;
function handleUrlPathSegment() {
const fullPath = window.location.pathname.toLowerCase();
if (fullPath.includes(‘/business/’)) {
pathVariable = ‘business’;
pathVariable2 = ‘Business Newsletter’;
} else if (fullPath.includes(‘/outdoors/’) || fullPath.includes(‘/outdoor/’)) {
pathVariable = ‘outdoors’;
pathVariable2 = ‘Outdoors Newsletter’;
} else if (fullPath.includes(‘/opinion/’)) {
pathVariable = ‘opinion’;
pathVariable2 = ‘Opinion Newsletter’;
} else if (fullPath.includes(‘politics’)) {
pathVariable = ‘politics’;
pathVariable2 = ‘Politics Newsletter’;
} else if (fullPath.includes(‘outtherecolorado’)) {
pathVariable = ‘outtherecolorado’;
pathVariable2 = ‘Out There Colorado Newsletter’;
} else {
pathVariable = ‘am-update’;
pathVariable2 = ‘AM Update Newsletter’;
}
console.log(`Current path: ${fullPath}`);
console.log(`Path variable set to: ${pathVariable}`);
console.log(`Path variable 2 set to: ${pathVariable2}`);
applyNewsletterName(pathVariable2);
return { pathVariable, pathVariable2 };
}
function applyNewsletterName(newsletterName) {
if (document.readyState === ‘loading’) {
document.addEventListener(‘DOMContentLoaded’, function() {
updateNewsletterElement(newsletterName);
});
} else {
updateNewsletterElement(newsletterName);
}
}
function updateNewsletterElement(newsletterName) {
const newsletterElement = document.getElementById(‘newsletterName’);
if (newsletterElement) {
newsletterElement.textContent = newsletterName;
console.log(`Updated #newsletterName element with: ${newsletterName}`);
} else {
console.warn(‘Element with ID #newsletterName not found in the DOM’);
}
}
function setupFormSubmitListener() {
function getFormattedDate() {
const now = new Date();
const timestamp = now.getTime();
console.log(‘chris: Using Unix timestamp’);
console.log(‘chris: Current time:’, now);
console.log(‘chris: Unix timestamp (ms):’, timestamp);
return timestamp;
}
const formattedDate = getFormattedDate();
var profile = window.blueConicClient.profile.getProfile();
profile.setValues(‘newsletter_category’, pathVariable);
profile.setValue(‘newsletter_signup_date’, formattedDate);
window.blueConicClient.profile.updateProfile(this, function() {
});
}
handleUrlPathSegment();
setupFormSubmitListener();
Success! Thank you for subscribing to our newsletter.
function subscribeSuccess() {
var nsltrform = document.querySelector(“#nsltr”);
var nsltrSuccess = document.querySelector(“#successnsltr”);
nsltrform.classList.add(“hideblock”);
nsltrSuccess.classList.remove(“hideblock”);
}
function validateEmail(email) {
return String(email)
.toLowerCase()
.match(
/^(([^()[].,;: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,}))$/
);
}
function validateEmailAddress() {
const result = document.querySelector(“#result”);
const email = document.querySelector(“#email”).value;
result.innerText = “”;
if(validateEmail(email)) {
newsletterSubscribe(email);
} else {
result.innerText = ‘The email entered: ‘ + email + ‘ is not valid :(‘;
result.style.color = “red”;
}
return false;
}
function newsletterSubscribe(email) {
fetch(“https://services.gazette.com/mg2-newsletters.php?action=subscribe&site=denvergazette.com&emailPreferenceId=69&email=” + email, {
method: “POST”
}).then(res => {
console.log(“SUCCESSFUL POST”);
subscribeSuccess();
});
}
#nsltr {
min-width: 100%;
margin: 10px 0;
padding: 10px 20px;
background-color: #2076b3;
background-image: url(https://static.gazette.com/emails/circ/Audience%20Images/dg%20weekly%207.png);
background-size: cover;
}
#nsltr-header {
color: #fff4f4;
}
#nsltr-body {
text-align: center;
color: #ffffff;
}
#nsltr-button {
margin-top: 5px;
}
#successnsltr {
min-width: 100%;
margin: 10px 0;
padding: 10px 20px;
background-color: green;
text-align: center;
color: white;
}
#successnsltr a {
color: white;
}
.hideblock {
display:none;
}
h6 a {
color: black;
text-decoration: none;
padding: 5px;
background-color: #bbccdd;
font-weight: 600;
}
@media only screen and (min-width: 768px) {
#nsltr {
background-image: url(https://static.gazette.com/emails/circ/Audience%20Images/dg%20weekly%207.png);
background-size: cover;
}
}