kcc-gem-theme-original 2.1.0 → 2.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/hash/theme_hash.yml +1 -1
  3. data/assets/js/dist/{453.9601cb159250d0a4fcbe.bundle.js → 453.533d042497a7290d6f28.bundle.js} +2 -2
  4. data/assets/js/dist/453.533d042497a7290d6f28.bundle.js.LICENSE.txt +5 -0
  5. data/assets/js/dist/{484.9601cb159250d0a4fcbe.bundle.js → 484.533d042497a7290d6f28.bundle.js} +1 -1
  6. data/assets/js/dist/{484.9601cb159250d0a4fcbe.bundle.js.LICENSE.txt → 484.533d042497a7290d6f28.bundle.js.LICENSE.txt} +4 -4
  7. data/assets/js/dist/586.533d042497a7290d6f28.bundle.js +1 -0
  8. data/assets/js/dist/{635.9601cb159250d0a4fcbe.bundle.js → 635.533d042497a7290d6f28.bundle.js} +1 -1
  9. data/assets/js/dist/{635.9601cb159250d0a4fcbe.bundle.js.LICENSE.txt → 635.533d042497a7290d6f28.bundle.js.LICENSE.txt} +10 -10
  10. data/assets/js/dist/{695.9601cb159250d0a4fcbe.bundle.js → 695.533d042497a7290d6f28.bundle.js} +1 -1
  11. data/assets/js/dist/{695.9601cb159250d0a4fcbe.bundle.js.LICENSE.txt → 695.533d042497a7290d6f28.bundle.js.LICENSE.txt} +2 -2
  12. data/assets/js/dist/719.533d042497a7290d6f28.bundle.js +1 -0
  13. data/assets/js/dist/{766.9601cb159250d0a4fcbe.bundle.js → 766.533d042497a7290d6f28.bundle.js} +1 -1
  14. data/assets/js/dist/bootstrap.533d042497a7290d6f28.css +1 -0
  15. data/assets/js/dist/{theme.9601cb159250d0a4fcbe.bundle.js → theme.533d042497a7290d6f28.bundle.js} +2 -2
  16. data/assets/js/dist/{theme.9601cb159250d0a4fcbe.bundle.js.LICENSE.txt → theme.533d042497a7290d6f28.bundle.js.LICENSE.txt} +16 -16
  17. data/assets/js/src/accessibleExternalLinks.js +12 -8
  18. metadata +33 -33
  19. data/assets/js/dist/453.9601cb159250d0a4fcbe.bundle.js.LICENSE.txt +0 -5
  20. data/assets/js/dist/586.9601cb159250d0a4fcbe.bundle.js +0 -1
  21. data/assets/js/dist/719.9601cb159250d0a4fcbe.bundle.js +0 -1
  22. data/assets/js/dist/bootstrap.9601cb159250d0a4fcbe.css +0 -1
  23. /data/assets/js/dist/{102.9601cb159250d0a4fcbe.bundle.js → 102.533d042497a7290d6f28.bundle.js} +0 -0
  24. /data/assets/js/dist/{123.9601cb159250d0a4fcbe.bundle.js → 123.533d042497a7290d6f28.bundle.js} +0 -0
  25. /data/assets/js/dist/{124.9601cb159250d0a4fcbe.bundle.js → 124.533d042497a7290d6f28.bundle.js} +0 -0
  26. /data/assets/js/dist/{124.9601cb159250d0a4fcbe.css → 124.533d042497a7290d6f28.css} +0 -0
  27. /data/assets/js/dist/{143.9601cb159250d0a4fcbe.bundle.js → 143.533d042497a7290d6f28.bundle.js} +0 -0
  28. /data/assets/js/dist/{183.9601cb159250d0a4fcbe.bundle.js → 183.533d042497a7290d6f28.bundle.js} +0 -0
  29. /data/assets/js/dist/{3.9601cb159250d0a4fcbe.bundle.js → 3.533d042497a7290d6f28.bundle.js} +0 -0
  30. /data/assets/js/dist/{303.9601cb159250d0a4fcbe.bundle.js → 303.533d042497a7290d6f28.bundle.js} +0 -0
  31. /data/assets/js/dist/{354.9601cb159250d0a4fcbe.bundle.js → 354.533d042497a7290d6f28.bundle.js} +0 -0
  32. /data/assets/js/dist/{522.9601cb159250d0a4fcbe.bundle.js → 522.533d042497a7290d6f28.bundle.js} +0 -0
  33. /data/assets/js/dist/{522.9601cb159250d0a4fcbe.css → 522.533d042497a7290d6f28.css} +0 -0
  34. /data/assets/js/dist/{602.9601cb159250d0a4fcbe.bundle.js → 602.533d042497a7290d6f28.bundle.js} +0 -0
  35. /data/assets/js/dist/{723.9601cb159250d0a4fcbe.bundle.js → 723.533d042497a7290d6f28.bundle.js} +0 -0
  36. /data/assets/js/dist/{780.9601cb159250d0a4fcbe.bundle.js → 780.533d042497a7290d6f28.bundle.js} +0 -0
  37. /data/assets/js/dist/{965.9601cb159250d0a4fcbe.bundle.js → 965.533d042497a7290d6f28.bundle.js} +0 -0
  38. /data/assets/js/dist/{977.9601cb159250d0a4fcbe.bundle.js → 977.533d042497a7290d6f28.bundle.js} +0 -0
  39. /data/assets/js/dist/{bootstrap.9601cb159250d0a4fcbe.bundle.js → bootstrap.533d042497a7290d6f28.bundle.js} +0 -0
  40. /data/assets/js/dist/{theme.9601cb159250d0a4fcbe.css → theme.533d042497a7290d6f28.css} +0 -0
@@ -1,47 +1,47 @@
1
1
  /*!
2
- * Bootstrap base-component.js v5.3.8 (https://getbootstrap.com/)
3
- * Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
2
+ * Bootstrap base-component.js v5.3.9 (https://getbootstrap.com/)
3
+ * Copyright 2011-2026 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
4
4
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
5
5
  */
6
6
 
7
7
  /*!
8
- * Bootstrap collapse.js v5.3.8 (https://getbootstrap.com/)
9
- * Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
8
+ * Bootstrap collapse.js v5.3.9 (https://getbootstrap.com/)
9
+ * Copyright 2011-2026 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
10
10
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
11
11
  */
12
12
 
13
13
  /*!
14
- * Bootstrap config.js v5.3.8 (https://getbootstrap.com/)
15
- * Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
14
+ * Bootstrap config.js v5.3.9 (https://getbootstrap.com/)
15
+ * Copyright 2011-2026 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
16
16
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
17
17
  */
18
18
 
19
19
  /*!
20
- * Bootstrap data.js v5.3.8 (https://getbootstrap.com/)
21
- * Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
20
+ * Bootstrap data.js v5.3.9 (https://getbootstrap.com/)
21
+ * Copyright 2011-2026 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
22
22
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
23
23
  */
24
24
 
25
25
  /*!
26
- * Bootstrap event-handler.js v5.3.8 (https://getbootstrap.com/)
27
- * Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
26
+ * Bootstrap event-handler.js v5.3.9 (https://getbootstrap.com/)
27
+ * Copyright 2011-2026 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
28
28
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
29
29
  */
30
30
 
31
31
  /*!
32
- * Bootstrap index.js v5.3.8 (https://getbootstrap.com/)
33
- * Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
32
+ * Bootstrap index.js v5.3.9 (https://getbootstrap.com/)
33
+ * Copyright 2011-2026 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
34
34
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
35
35
  */
36
36
 
37
37
  /*!
38
- * Bootstrap manipulator.js v5.3.8 (https://getbootstrap.com/)
39
- * Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
38
+ * Bootstrap manipulator.js v5.3.9 (https://getbootstrap.com/)
39
+ * Copyright 2011-2026 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
40
40
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
41
41
  */
42
42
 
43
43
  /*!
44
- * Bootstrap selector-engine.js v5.3.8 (https://getbootstrap.com/)
45
- * Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
44
+ * Bootstrap selector-engine.js v5.3.9 (https://getbootstrap.com/)
45
+ * Copyright 2011-2026 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
46
46
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
47
47
  */
@@ -7,14 +7,18 @@
7
7
  */
8
8
  const currentHost = window.location.hostname.toLowerCase();
9
9
  // Define hostnames/domains that should always be treated as internal
10
- const internalDomains = [
11
- 'kcc.edu',
12
- 'jotform.com',
13
- 'libcal.com', // Needed for library libcal links
14
- 'libguides.com', // Needed for library libguide links
15
- 'cloudvent.net', // Ensure the CloudCannon previews look the same as the live website
16
- 'localhost', // Ensure local dev look the same as the live website
17
- '127.0.0.1' // Ensure local dev look the same as the live website
10
+ const internalDomains = [ // Use domains without the subdomain here (no "www")
11
+ 'kcc.edu', // Make sure any subdomain is treated as internal
12
+ 'elluciancloud.com', // The portal's domain
13
+ 'jotform.com', // Our digital form provider
14
+ 'maxient.com', // Form provider (used for misconduct and other forms)
15
+ 'enrole.com', // "Enrole" system used by Continuing Ed.
16
+ 'libcal.com', // Needed for library libcal links
17
+ 'libguides.com', // Needed for library libguide links
18
+ 'apta.org', // Used for CAPTE (health careers) accreditation badge
19
+ 'cloudvent.net', // Ensure the CloudCannon previews look the same as the live website
20
+ 'localhost', // Ensure local dev look the same as the live website
21
+ '127.0.0.1' // Ensure local dev look the same as the live website
18
22
  ];
19
23
 
20
24
  function accessibleExternalLinks() {
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kcc-gem-theme-original
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - wdzajicek
@@ -173,38 +173,38 @@ files:
173
173
  - assets/js/alerts/contentHashLink.js
174
174
  - assets/js/alerts/createAlertsHtml.js
175
175
  - assets/js/alerts/parseMarkdownToHTML.js
176
- - assets/js/dist/102.9601cb159250d0a4fcbe.bundle.js
177
- - assets/js/dist/123.9601cb159250d0a4fcbe.bundle.js
178
- - assets/js/dist/124.9601cb159250d0a4fcbe.bundle.js
179
- - assets/js/dist/124.9601cb159250d0a4fcbe.css
180
- - assets/js/dist/143.9601cb159250d0a4fcbe.bundle.js
181
- - assets/js/dist/183.9601cb159250d0a4fcbe.bundle.js
182
- - assets/js/dist/3.9601cb159250d0a4fcbe.bundle.js
183
- - assets/js/dist/303.9601cb159250d0a4fcbe.bundle.js
184
- - assets/js/dist/354.9601cb159250d0a4fcbe.bundle.js
185
- - assets/js/dist/453.9601cb159250d0a4fcbe.bundle.js
186
- - assets/js/dist/453.9601cb159250d0a4fcbe.bundle.js.LICENSE.txt
187
- - assets/js/dist/484.9601cb159250d0a4fcbe.bundle.js
188
- - assets/js/dist/484.9601cb159250d0a4fcbe.bundle.js.LICENSE.txt
189
- - assets/js/dist/522.9601cb159250d0a4fcbe.bundle.js
190
- - assets/js/dist/522.9601cb159250d0a4fcbe.css
191
- - assets/js/dist/586.9601cb159250d0a4fcbe.bundle.js
192
- - assets/js/dist/602.9601cb159250d0a4fcbe.bundle.js
193
- - assets/js/dist/635.9601cb159250d0a4fcbe.bundle.js
194
- - assets/js/dist/635.9601cb159250d0a4fcbe.bundle.js.LICENSE.txt
195
- - assets/js/dist/695.9601cb159250d0a4fcbe.bundle.js
196
- - assets/js/dist/695.9601cb159250d0a4fcbe.bundle.js.LICENSE.txt
197
- - assets/js/dist/719.9601cb159250d0a4fcbe.bundle.js
198
- - assets/js/dist/723.9601cb159250d0a4fcbe.bundle.js
199
- - assets/js/dist/766.9601cb159250d0a4fcbe.bundle.js
200
- - assets/js/dist/780.9601cb159250d0a4fcbe.bundle.js
201
- - assets/js/dist/965.9601cb159250d0a4fcbe.bundle.js
202
- - assets/js/dist/977.9601cb159250d0a4fcbe.bundle.js
203
- - assets/js/dist/bootstrap.9601cb159250d0a4fcbe.bundle.js
204
- - assets/js/dist/bootstrap.9601cb159250d0a4fcbe.css
205
- - assets/js/dist/theme.9601cb159250d0a4fcbe.bundle.js
206
- - assets/js/dist/theme.9601cb159250d0a4fcbe.bundle.js.LICENSE.txt
207
- - assets/js/dist/theme.9601cb159250d0a4fcbe.css
176
+ - assets/js/dist/102.533d042497a7290d6f28.bundle.js
177
+ - assets/js/dist/123.533d042497a7290d6f28.bundle.js
178
+ - assets/js/dist/124.533d042497a7290d6f28.bundle.js
179
+ - assets/js/dist/124.533d042497a7290d6f28.css
180
+ - assets/js/dist/143.533d042497a7290d6f28.bundle.js
181
+ - assets/js/dist/183.533d042497a7290d6f28.bundle.js
182
+ - assets/js/dist/3.533d042497a7290d6f28.bundle.js
183
+ - assets/js/dist/303.533d042497a7290d6f28.bundle.js
184
+ - assets/js/dist/354.533d042497a7290d6f28.bundle.js
185
+ - assets/js/dist/453.533d042497a7290d6f28.bundle.js
186
+ - assets/js/dist/453.533d042497a7290d6f28.bundle.js.LICENSE.txt
187
+ - assets/js/dist/484.533d042497a7290d6f28.bundle.js
188
+ - assets/js/dist/484.533d042497a7290d6f28.bundle.js.LICENSE.txt
189
+ - assets/js/dist/522.533d042497a7290d6f28.bundle.js
190
+ - assets/js/dist/522.533d042497a7290d6f28.css
191
+ - assets/js/dist/586.533d042497a7290d6f28.bundle.js
192
+ - assets/js/dist/602.533d042497a7290d6f28.bundle.js
193
+ - assets/js/dist/635.533d042497a7290d6f28.bundle.js
194
+ - assets/js/dist/635.533d042497a7290d6f28.bundle.js.LICENSE.txt
195
+ - assets/js/dist/695.533d042497a7290d6f28.bundle.js
196
+ - assets/js/dist/695.533d042497a7290d6f28.bundle.js.LICENSE.txt
197
+ - assets/js/dist/719.533d042497a7290d6f28.bundle.js
198
+ - assets/js/dist/723.533d042497a7290d6f28.bundle.js
199
+ - assets/js/dist/766.533d042497a7290d6f28.bundle.js
200
+ - assets/js/dist/780.533d042497a7290d6f28.bundle.js
201
+ - assets/js/dist/965.533d042497a7290d6f28.bundle.js
202
+ - assets/js/dist/977.533d042497a7290d6f28.bundle.js
203
+ - assets/js/dist/bootstrap.533d042497a7290d6f28.bundle.js
204
+ - assets/js/dist/bootstrap.533d042497a7290d6f28.css
205
+ - assets/js/dist/theme.533d042497a7290d6f28.bundle.js
206
+ - assets/js/dist/theme.533d042497a7290d6f28.bundle.js.LICENSE.txt
207
+ - assets/js/dist/theme.533d042497a7290d6f28.css
208
208
  - assets/js/nav/closeNavOnClick.js
209
209
  - assets/js/nav/highlightCurrentNav.js
210
210
  - assets/js/nav/moveSearchIcon.js
@@ -1,5 +0,0 @@
1
- /*!
2
- * Bootstrap dropdown.js v5.3.8 (https://getbootstrap.com/)
3
- * Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
4
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
5
- */
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkkcc_gem_theme=self.webpackChunkkcc_gem_theme||[]).push([[586],{6586:function(t,e,r){r.d(e,{default:function(){return b}});var n=function(){return r(6518)},i=function(){return r(9565)},o=r.cw(function(t,e){var o=n(),a=i(),u=r(9306),s=r(8551),c=r(1767),f=r(9462),l=r(6319),h=r(6395),d=r(9539),p=r(684),v=r(4549),g=!h&&!p("filter",function(){}),w=!h&&!g&&v("filter",TypeError),y=h||g||w,m=f(function(){for(var t,e,r=this.iterator,n=this.predicate,i=this.next;;){if(t=s(a(i,r)),this.done=!!t.done)return;if(e=t.value,l(r,n,[e,this.counter++],!0))return e}});o({target:"Iterator",proto:!0,real:!0,forced:y},{filter:function(t){s(this);try{u(t)}catch(t){d(this,"throw",t)}return w?a(w,this,t):new m(c(this),{predicate:t})}})}),a=r.cw(function(t,e){var o=n(),a=r(7751),u=i(),s=r(9504),c=r(9039),f=r(4376),l=r(4901),h=r(34),d=r(2360),p=r(5810),v=r(757),g=r(2195),w=r(1240),y=r(9617).m,m=r(9297),b=r(655),S=r(8235),x=r(3392),O=r(4495),_=r(7819),k=String,A=TypeError,N=a("JSON","stringify"),E=a("BigInt"),I=s("".valueOf),F=s((!0).valueOf),$=E&&s(E.prototype.valueOf),C=s(/./.exec),J=s("".charAt),j=s("".charCodeAt),H=s("".replace),T=s("".slice),D=s([].push),B=s([].pop),R=s(1.1.toString),U=/[\uD800-\uDFFF]/g,L=/^[\uD800-\uDBFF]$/,P=/^[\uDC00-\uDFFF]$/,q=/^\d+$/,M=x(),G=x(),z=x(),W=M.length,K=G.length,V=!O||c(function(){var t=a("Symbol")("stringify detection");return"[null]"!==N([t])||"{}"!==N({a:t})||"{}"!==N(Object(t))}),Y=c(function(){return'"\\udf06\\ud834"'!==N("\udf06\ud834")||'"\\udead"'!==N("\udead")}),X=_?a("JSON","isRawJSON"):p,Z=V?function(t,e,r){return N(t,function(t,r){var n=u(e,this,t,r);if(!v(n))return n},r)}:N,Q=function(t,e,r){var n=J(r,e-1),i=J(r,e+1);return C(L,t)&&!C(P,i)||C(P,t)&&!C(L,n)?"\\u"+R(j(t,0),16):t},tt=function(t,e){try{return t(e),!0}catch(t){return!1}},et=function(t,e){return{toJSON:function(){var r=t[e];if(h(r)||"bigint"==typeof r){var n=r.toJSON;l(n)&&(r=u(n,r,e))}return r}}};N&&o({target:"JSON",stat:!0,arity:3,forced:V||Y||!_},{stringify:function(t,e,r){var n,i=l(e)?e:void 0,o=i?void 0:function(t){if(f(t)){for(var e=t.length,r=[],n=d(null),i=0;i<e;i++){var o,a=t[i];if("string"==typeof a)o=a;else{if("number"!=typeof a&&"Number"!==g(a)&&"String"!==g(a))continue;o=b(a)}m(n,o)||(n[o]=!0,D(r,o))}return r}}(e),a=o&&function(t){for(var e=0,r=t.length;e<r;e++)if(C(q,t[e]))return G;return""}(o),s=[],c=[],p=[],v=!1,x=!0,O=Z(t,function(t,e){if(t=k(t),o){if(t===z)return B(c),void(n=B(p));if(x)x=!1;else if(this!==n&&!f(this)&&!y(o,t))return}else i&&(e=u(i,this,t,e));if(X(e))return _?e:(v=!0,M+(D(s,e.rawJSON)-1));if(o&&function(t){if(!h(t)||l(t)||f(t))return!1;try{return!function(t){var e=g(t);return"Number"===e&&tt(w,t)||"String"===e&&tt(I,t)||"Boolean"===e&&tt(F,t)||!!$&&"BigInt"===e&&tt($,t)}(t)}catch(t){return!0}}(e)){if(y(c,e))throw new A("Converting circular structure to JSON");var r=function(t,e,r){for(var n=d(null),i=0,o=e.length;i<o;i++){var a=e[i];n[r+a]=et(t,a)}return n[z]=null,n}(e,o,a);return D(c,e),D(p,n),n=r,a&&(v=!0),r}return e},r);if("string"!=typeof O)return O;if(Y&&(O=H(O,U,Q)),!v)return O;for(var N="",E=O.length,j=0;j<E;j++){var R=J(O,j);if('"'===R){var L=S(O,++j).end-1,P=T(O,j,L);T(P,0,W)===M?N+=s[T(P,W)]:T(P,0,K)===G?N+='"'+T(P,K)+'"':N+='"'+P+'"',j=L}else N+=R}return N}})}),u=r.cw(function(t,e){o()});a(),r(8992),u(),r(8335);const s={strong:/\*\*([^\*]*)\*\*/g,em:/_([^_]*)_/g};function c(t,e,r){return t.replace(e,r)}function f(t,e){const r={"\\*":"__asterisk__","\\_":"__underscore__","\\[":"__openBracket__","\\]":"__closeBracket__","\\(":"__openParenthesis__","\\)":"__closeParenthesis__"};for(let n in r)r.hasOwnProperty(n)&&(!0===e?t=c(t,n,r[n]):!1===e&&(t=c(t,r[n],n.replace(/^\\/g,""))));return t}function l(t,e){if(""===e)return t;for(var r in s)s.hasOwnProperty(r)&&(t=t.replace(s[r],"<"+r+">$1</"+r+">"));return t}function h(t,e){return""===e?t:t.replace(/^(.*)$/gm,'<p class="typography__alert">$1</p>')}const d=document.getElementById("emergencyAlerts");function p(t){const[e,r,n,i,o,a,u,c]=t;if("FALSE"===e)return!1;const d=function(t){let e=0;for(let r=0;r<t.length;r++)e=(e<<5)-e+t.charCodeAt(r),e|=0;return`college_alert_${Math.abs(e)}`}(n);if(d in JSON.parse(localStorage.getItem("alert_history")||"{}"))return!1;const p=new Date(c),v=new Date(o),g=new Date(a);[p,v,g].forEach(t=>t.setHours(0,0,0,0));const w=function(t){return"SCHOOL EMERGENCY/CLOSURE - red"==t?"danger":"SCHOOL WARNING - yellow"==t?"warning":"SCHOOL INFO - blue"==t?"primary":"SCHOOL INFO - cyan"==t?"info":"warning"}(u),y=v.getTime()<=p.getTime()&&g.getTime()>=p.getTime(),m="FALSE"===i||"TRUE"===i&&y,b="TRUE"===r||"FALSE"===r&&"/"==window.location.pathname;let S=`\n<div data-alert-id="${d}" class="jsDismissibleAlert alert alert-${w} alert-dismissible fade show">\n <div class="typography__last-p--mb0">\n ${function(t){const e=function(t){return t.replace(/\[(?<linkText>[^\]]*)\]\((?<linkHref>[^\)]*)\)/g,'<a href="$<linkHref>" target="_blank" rel="noopener noreferrer">$<linkText></a>')}(function(t){for(var e in s)s.hasOwnProperty(e)&&(t=t.replace(s[e],l));return t}(f(t,!0)));return f(function(t){return t.replace(/^(.*)$/gm,h)}(e),!1)}(n)}\n </div>\n <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>\n</div>`;return!(!m||!b)&&S}var v=function(t){const e=[t[2],t[3],t[4]].map(p).filter(Boolean).join("");if(!e)return;d.insertAdjacentHTML("beforeend",e),d.removeAttribute("aria-hidden");const n=document.querySelectorAll(".jsDismissibleAlert");0!==n.length&&(r.e(484).then(r.t.bind(r,6484,23)),[...n].forEach((t,e)=>{t.addEventListener("close.bs.alert",t=>{const e=t.target;!function(t){const e=Date.now(),r=JSON.parse(localStorage.getItem("alert_history")||"{}");r[t]=e;for(const t in r)e-r[t]>2592e6&&delete r[t];localStorage.setItem("alert_history",JSON.stringify(r))}(e.dataset.alertId);const r=e.nextElementSibling,n=r&&r.classList.contains("jsDismissibleAlert")?r:document.getElementById("content");n&&(n.hasAttribute("tabindex")||n.setAttribute("tabindex","-1"),setTimeout(()=>{n.focus()},150))})}))};const g="AIzaSyCEBsbXfFcdbkASlg-PodD1rT_Fe3Nw62A",w={spreadsheetId:"1pqYRAhZvOHB52KqttV_d5P8qWvh9j8pPR15MCoGjMK0",range:"Alerts"},y=document.querySelector("#accordion")||document.querySelector(".navTabs");function m(t){r.e(695).then(r.bind(r,3695)).then(({default:e})=>e(t))}function b(t){!document.getElementById("emergencyAlerts")&&y?m(t):async function(t,e,r){const n=`https://sheets.googleapis.com/v4/spreadsheets/${t}/values/${encodeURIComponent(e)}?key=${r}`;try{const t=await fetch(n);if(!t.ok){const e=await t.json();throw new Error(`Google Sheets API Error: ${e.error.message}`)}return(await t.json()).values||[]}catch(t){throw console.error("Failed to fetch sheet data:",t),t}}(w.spreadsheetId,w.range,g).then(e=>{v(e),y&&m(t)}).catch(e=>{console.error("Error received:",e.message),y&&m(t)})}},6319:function(t,e,r){var n=r(8551),i=r(9539);t.exports=function(t,e,r,o){try{return o?e(n(r)[0],r[1]):e(r)}catch(e){i(t,"throw",e)}}},6955:function(t,e,r){var n=r(2140),i=r(4901),o=r(2195),a=r(8227)("toStringTag"),u=Object,s="Arguments"===o(function(){return arguments}());t.exports=n?o:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=u(t),a))?r:s?o(e):"Object"===(n=o(e))&&i(e.callee)?"Arguments":n}},2529:function(t){t.exports=function(t,e){return{value:t,done:e}}},6279:function(t,e,r){var n=r(6840);t.exports=function(t,e,r){for(var i in e)n(t,i,e[i],r);return t}},4376:function(t,e,r){var n=r(2195);t.exports=Array.isArray||function(t){return"Array"===n(t)}},5810:function(t,e,r){var n=r(34),i=r(1181).get;t.exports=function(t){if(!n(t))return!1;var e=i(t);return!!e&&"RawJSON"===e.type}},6859:function(t){t.exports=function(t){t.iterator=t.next=t.nextHandler=t.mapper=t.predicate=t.inner=t.iterables=t.iters=t.openIters=t.padding=t.finishResults=t.buffer=null}},1385:function(t,e,r){var n=r(9539);t.exports=function(t,e,r){for(var i=t.length-1;i>=0;i--)if(void 0!==t[i])try{r=n(t[i].iterator,e,r)}catch(t){e="throw",r=t}if("throw"===e)throw r;return r}},9462:function(t,e,r){var n=r(9565),i=r(2360),o=r(6699),a=r(6279),u=r(8227),s=r(1181),c=r(5966),f=r(7657).H,l=r(2529),h=r(9539),d=r(1385),p=r(6859),v=u("toStringTag"),g="IteratorHelper",w="WrapForValidIterator",y="normal",m="throw",b=s.set,S=function(t){var e=s.getterFor(t?w:g);return a(i(f),{next:function(){var r=e(this);if(t)return r.nextHandler();if(r.done)return l(void 0,!0);try{var n=r.nextHandler();return r.done&&p(r),r.returnHandlerResult?n:l(n,r.done)}catch(t){throw r.done=!0,p(r),t}},return:function(){var r=e(this),i=r.iterator,o=r.inner,a=r.openIters,u=r.done;if(r.done=!0,t){var s=c(i,"return");return s?n(s,i):l(void 0,!0)}if(p(r),u)return l(void 0,!0);if(o)try{h(o.iterator,y)}catch(t){return h(i,m,t)}if(a)try{d(a,y)}catch(t){if(i)return h(i,m,t);throw t}return i&&h(i,y),l(void 0,!0)}})},x=S(!0),O=S(!1);o(O,v,"Iterator Helper"),t.exports=function(t,e,r){var n=function(n,i){i?(i.iterator=n.iterator,i.next=n.next):i=n,i.type=e?w:g,i.returnHandlerResult=!!r,i.nextHandler=t,i.counter=0,i.done=!1,b(this,i)};return n.prototype=e?x:O,n}},684:function(t){t.exports=function(t,e){var r="function"==typeof Iterator&&Iterator.prototype[t];if(r)try{r.call({next:null},e).next()}catch(t){return!0}}},7819:function(t,e,r){var n=r(9039);t.exports=!n(function(){var t="9007199254740993",e=JSON.rawJSON(t);return!JSON.isRawJSON(e)||JSON.stringify(e)!==t})},8235:function(t,e,r){var n=r(9504),i=r(9297),o=SyntaxError,a=parseInt,u=String.fromCharCode,s=n("".charAt),c=n("".slice),f=n(/./.exec),l={'\\"':'"',"\\\\":"\\","\\/":"/","\\b":"\b","\\f":"\f","\\n":"\n","\\r":"\r","\\t":"\t"},h=/^[\da-f]{4}$/i,d=/^[\u0000-\u001F]$/;t.exports=function(t,e){for(var r=!0,n="";e<t.length;){var p=s(t,e);if("\\"===p){var v=c(t,e,e+2);if(i(l,v))n+=l[v],e+=2;else{if("\\u"!==v)throw new o('Unknown escape sequence: "'+v+'"');var g=c(t,e+=2,e+4);if(!f(h,g))throw new o("Bad Unicode escape at: "+e);n+=u(a(g,16)),e+=4}}else{if('"'===p){r=!1,e++;break}if(f(d,p))throw new o("Bad control character in string literal at: "+e);n+=p,e++}}if(r)throw new o("Unterminated string at: "+e);return{value:n,end:e}}},1240:function(t,e,r){var n=r(9504);t.exports=n(1.1.valueOf)},2140:function(t,e,r){var n={};n[r(8227)("toStringTag")]="z",t.exports="[object z]"===String(n)},655:function(t,e,r){var n=r(6955),i=String;t.exports=function(t){if("Symbol"===n(t))throw new TypeError("Cannot convert a Symbol value to a string");return i(t)}},9112:function(t,e,r){var n=r(6518),i=r(3724),o=r(4576),a=r(7751),u=r(9504),s=r(9565),c=r(4901),f=r(34),l=r(4376),h=r(9297),d=r(655),p=r(6198),v=r(4659),g=r(9039),w=r(8235),y=r(4495),m=o.JSON,b=o.Number,S=o.SyntaxError,x=m&&m.parse,O=a("Object","keys"),_=Object.getOwnPropertyDescriptor,k=u("".charAt),A=u("".slice),N=u(/./.exec),E=u([].push),I=/^\d$/,F=/^[1-9]$/,$=/^[\d-]$/,C=/^[\t\n\r ]$/,J=function(t,e,r,n){var i,o,a,u,c,d=t[e],v=n&&d===n.value,g=v&&"string"==typeof n.source?{source:n.source}:{};if(f(d)){var w=l(d),y=v?n.nodes:w?[]:{};if(w)for(i=y.length,a=p(d),u=0;u<a;u++)j(d,u,J(d,""+u,r,u<i?y[u]:void 0));else for(o=O(d),a=p(o),u=0;u<a;u++)c=o[u],j(d,c,J(d,c,r,h(y,c)?y[c]:void 0))}return s(r,t,e,d,g)},j=function(t,e,r){if(i){var n=_(t,e);if(n&&!n.configurable)return}void 0===r?delete t[e]:v(t,e,r)},H=function(t,e,r,n){this.value=t,this.end=e,this.source=r,this.nodes=n},T=function(t,e){this.source=t,this.index=e};T.prototype={fork:function(t){return new T(this.source,t)},parse:function(){var t=this.source,e=this.skip(C,this.index),r=this.fork(e),n=k(t,e);if(N($,n))return r.number();switch(n){case"{":return r.object();case"[":return r.array();case'"':return r.string();case"t":return r.keyword(!0);case"f":return r.keyword(!1);case"n":return r.keyword(null)}throw new S('Unexpected character: "'+n+'" at: '+e)},node:function(t,e,r,n,i){return new H(e,n,t?null:A(this.source,r,n),i)},object:function(){for(var t=this.source,e=this.index+1,r=!1,n={},i={},o=!1;e<t.length;){if(e=this.until(['"',"}"],e),"}"===k(t,e)&&!r){e++,o=!0;break}var a=this.fork(e).string(),u=a.value;e=a.end,e=this.until([":"],e)+1,e=this.skip(C,e),a=this.fork(e).parse(),v(i,u,a),v(n,u,a.value),e=this.until([",","}"],a.end);var s=k(t,e);if(","===s)r=!0,e++;else if("}"===s){e++,o=!0;break}}if(!o)throw new S("Unterminated object at: "+e);return this.node(1,n,this.index,e,i)},array:function(){for(var t=this.source,e=this.index+1,r=!1,n=[],i=[],o=!1;e<t.length;){if(e=this.skip(C,e),"]"===k(t,e)&&!r){e++,o=!0;break}var a=this.fork(e).parse();if(E(i,a),E(n,a.value),e=this.until([",","]"],a.end),","===k(t,e))r=!0,e++;else if("]"===k(t,e)){e++,o=!0;break}}if(!o)throw new S("Unterminated array at: "+e);return this.node(1,n,this.index,e,i)},string:function(){var t=this.index,e=w(this.source,this.index+1);return this.node(0,e.value,t,e.end)},number:function(){var t=this.source,e=this.index,r=e;if("-"===k(t,r)&&r++,"0"===k(t,r))r++;else{if(!N(F,k(t,r)))throw new S("Failed to parse number at: "+r);r=this.skip(I,r+1)}if("."===k(t,r)){var n=r+1;if(n===(r=this.skip(I,n)))throw new S("Failed to parse number's fraction at: "+r)}if(("e"===k(t,r)||"E"===k(t,r))&&(r++,"+"!==k(t,r)&&"-"!==k(t,r)||r++,r===(r=this.skip(I,r))))throw new S("Failed to parse number's exponent value at: "+r);return this.node(0,b(A(t,e,r)),e,r)},keyword:function(t){var e=""+t,r=this.index,n=r+e.length;if(A(this.source,r,n)!==e)throw new S("Failed to parse value at: "+r);return this.node(0,t,r,n)},skip:function(t,e){for(var r=this.source;e<r.length&&N(t,k(r,e));e++);return e},until:function(t,e){e=this.skip(C,e);for(var r=k(this.source,e),n=0;n<t.length;n++)if(t[n]===r)return e;throw new S('Unexpected character: "'+r+'" at: '+e)}};var D=g(function(){var t,e="9007199254740993";return x(e,function(e,r,n){t=n.source}),t!==e}),B=y&&!g(function(){return 1/x("-0 \t")!=-1/0});n({target:"JSON",stat:!0,forced:D},{parse:function(t,e){return B&&!c(e)?x(t):function(t,e){t=d(t);var r=new T(t,0),n=r.parse(),i=n.value,o=r.skip(C,n.end);if(o<t.length)throw new S('Unexpected extra character: "'+k(t,o)+'" after the parsed data at: '+o);return c(e)?J({"":i},"",e,n):i}(t,e)}})},8335:function(t,e,r){r(9112)}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkkcc_gem_theme=self.webpackChunkkcc_gem_theme||[]).push([[719],{1719:function(t,e,n){n(8992),n(3949);const r=window.location.hostname.toLowerCase(),o=["kcc.edu","jotform.com","libcal.com","libguides.com","cloudvent.net","localhost","127.0.0.1"];e.default=function(){document.querySelectorAll("main a:not(.social-icons__links)").forEach(t=>{if(!t.hostname)return;const e=t.hostname.toLowerCase(),n=!(o.some(t=>e===t||e.endsWith("."+t))||e===r),i="_blank"===t.target;if(!n&&!i)return;const c=n&&i?" (external site, opens in new tab)":n?" (external link)":i?" (opens in new tab)":"";if(n&&t.classList.add("links__external"),c&&!t.querySelector(".visually-hidden")){const e=document.createElement("span");e.className="visually-hidden",e.textContent=c,t.appendChild(e)}})}},6080:function(t,e,n){var r=n(7476),o=n(9306),i=n(616),c=r(r.bind);t.exports=function(t,e){return o(t),void 0===e?t:i?c(t,e):function(){return t.apply(e,arguments)}}},7476:function(t,e,n){var r=n(2195),o=n(9504);t.exports=function(t){if("Function"===r(t))return o(t)}},8563:function(t,e,n){var r=n(9565),o=n(4901),i=n(8551),c=n(6823),a=n(3085),u=TypeError;t.exports=function(t,e){var n=arguments.length<2?a(t):e;if(o(n))return i(r(n,t));throw new u(c(t)+" is not iterable")}},3085:function(t,e,n){var r=n(2195),o=n(4117),i=n(5966),c=n(8227)("iterator"),a=Array.prototype;t.exports=function(t){if(!o(t))return i(t,c)||i(t,"@@iterator")||("Arguments"===r(t)?a[c]:void 0)}},4209:function(t,e,n){var r=n(8227),o=n(6269),i=r("iterator"),c=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||c[i]===t)}},2652:function(t,e,n){var r=n(6080),o=n(9565),i=n(8551),c=n(6823),a=n(4209),u=n(6198),s=n(1625),f=n(8563),l=n(3085),h=n(9539),p=TypeError,d=function(t,e){this.stopped=t,this.result=e},v=d.prototype;t.exports=function(t,e,n){var m,w,y,E,b,x,_,k=n&&n.that,R=!(!n||!n.AS_ENTRIES),C=!(!n||!n.IS_RECORD),T=!(!n||!n.IS_ITERATOR),g=!(!n||!n.INTERRUPTED),A=r(e,k),I=function(t){var e=m;return m=void 0,e&&h(e,"normal"),new d(!0,t)},S=function(t){return R?(i(t),g?A(t[0],t[1],I):A(t[0],t[1])):g?A(t,I):A(t)};if(C)m=t.iterator;else if(T)m=t;else{if(!(w=l(t)))throw new p(c(t)+" is not iterable");if(a(w)){for(y=0,E=u(t);E>y;y++)if((b=S(t[y]))&&s(v,b))return b;return new d(!1)}m=f(t,w)}for(x=C?t.next:m.next;!(_=o(x,m)).done;){var O=_.value;try{b=S(O)}catch(t){if(!m)throw t;h(m,"throw",t)}if("object"==typeof b&&b&&s(v,b))return b}return new d(!1)}},6269:function(t){t.exports=Object.create?Object.create(null):{}},7588:function(t,e,n){var r=n(6518),o=n(9565),i=n(2652),c=n(9306),a=n(8551),u=n(1767),s=n(9539),f=n(4549)("forEach",TypeError);r({target:"Iterator",proto:!0,real:!0,forced:f},{forEach:function(t){a(this);try{c(t)}catch(t){s(this,"throw",t)}if(f)return o(f,this,t);var e=u(this),n=0;i(e,function(e){t(e,n++)},{IS_RECORD:!0})}})},3949:function(t,e,n){n(7588)}}]);