1<!doctype html> 2<html class="no-js" lang="en-US"> 3 4<head> 5 6 <!-- Global site tag (gtag.js) - Google Analytics -->
vendor: 65 bytes, lines 6-7
6 7 <script async src="https://www.googletagmanager.com/gtag/js?id=
7UA-30740658-1
vendor: 13 bytes, lines 7-8
7"></script> 8
8<script> 9
vendor: 142 bytes, lines 9-15
9window.dataLayer = window.dataLayer || []; 10 11 function gtag() { 12 dataLayer.push(arguments); 13 } 14 gtag('js', new Date()); 15 gtag('config', '
15UA-30740658-1
vendor: 5 bytes, lines 15-16
15'); 16
16</script>
16 17 18 <meta charset="UTF-8" /> 19 <meta name="viewport" content="width=device-width, initial-scale=1.0" /> 20 21 <meta name="google-site-verification" content="nitHtTM9nOEgIeGdpb-bJwsuuH5ERHju3mqcWh0H05w" /> 22 <meta name="google-site-verification" content="etbnsYz2Mbn-FuflrPH-OvwJb0OValv3nVoOQ_nOo6Y" /> 23 24 <link rel="apple-touch-icon" sizes="180x180" href="https://gobybikebc.ca/wp-content/themes/gobybike/apple-touch-icon.png"> 25 <link rel="icon" type="image/png" sizes="32x32" href="https://gobybikebc.ca/wp-content/themes/gobybike/favicon-32x32.png"> 26 <link rel="icon" type="image/png" sizes="16x16" href="https://gobybikebc.ca/wp-content/themes/gobybike/favicon-16x16.png"> 27 <link rel="manifest" href="https://gobybikebc.ca/wp-content/themes/gobybike/site.webmanifest"> 28 29 <link rel="stylesheet" href="https://gobybikebc.ca/wp-content/themes/gobybike/owl-carousel/assets/owl.carousel.min.css"> 30 <link rel="stylesheet" href="https://gobybikebc.ca/wp-content/themes/gobybike/owl-carousel/assets/owl.theme.default.min.css"> 31 32 <!-- test1 --> 33
33<script src="https://kit.fontawesome.com/6d2fb19a2c.js" crossorigin="anonymous"></script>
33 34 <!-- test2 --> 35 36 <link rel="stylesheet" href="https://use.typekit.net/uqw5jol.css"> 37 <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"> 38 <link rel="stylesheet" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/themes/smoothness/jquery-ui.css"> 39 40 <title>GoByBike BC – Bike it. You'll Love it.</title> 41<meta name='robots' content='max-image-preview:large' /> 42 43
43<script data-no-defer="1" data-ezscrex="false" data-cfasync="false" data-pagespeed-no-defer data-cookieconsent="ignore"> 44 var ctPublicFunctions = {"_ajax_nonce":"7a3d207799","_rest_nonce":"fd467d6f4b","_ajax_url":"\/wp-admin\/admin-ajax.php","_rest_url":"https:\/\/gobybikebc.ca\/wp-json\/","data__cookies_type":"none","data__ajax_type":"rest","bot_detector_enabled":true,"data__frontend_data_log_enabled":1,"cookiePrefix":"","wprocket_detected":false,"host_url":"gobybikebc.ca","text__ee_click_to_select":"Click to select the whole data","text__ee_original_email":"The complete one is","text__ee_got_it":"Got it","text__ee_blocked":"Blocked","text__ee_cannot_connect":"Cannot connect","text__ee_cannot_decode":"Can not decode email. Unknown reason","text__ee_email_decoder":"CleanTalk email decoder","text__ee_wait_for_decoding":"The magic is on the way!","text__ee_decoding_process":"Please wait a few seconds while we decode the contact data."} 45 </script>
45 46 47
47<script data-no-defer="1" data-ezscrex="false" data-cfasync="false" data-pagespeed-no-defer data-cookieconsent="ignore"> 48 var ctPublic = {"_ajax_nonce":"7a3d207799","settings__forms__check_internal":0,"settings__forms__check_external":0,"settings__forms__force_protection":0,"settings__forms__search_test":1,"settings__forms__wc_add_to_cart":0,"bot_detector_enabled":true,"settings__sfw__anti_crawler":0,"blog_home":"https:\/\/gobybikebc.ca\/","pixel__setting":"3","pixel__enabled":false,"pixel__url":null,"data__email_check_before_post":1,"data__email_check_exist_post":1,"data__cookies_type":"none","data__key_is_ok":true,"data__visible_fields_required":true,"wl_brandname":"Anti-Spam by CleanTalk","wl_brandname_short":"CleanTalk","ct_checkjs_key":174962600,"emailEncoderPassKey":"dcf5b171c225abaeb10f8ceffee22330","bot_detector_forms_excluded":"W10=","advancedCacheExists":false,"varnishCacheExists":false,"wc_ajax_add_to_cart":false} 49 </script>
49 50 <link rel='dns-prefetch' href='//ajax.googleapis.com' /> 51<link rel='dns-prefetch' href='//fd.cleantalk.org' /> 52<link rel='dns-prefetch' href='//js.stripe.com' /> 53<link rel='dns-prefetch' href='//www.googletagmanager.com' /> 54<link rel='dns-prefetch' href='//use.fontawesome.com' /> 55<link rel="alternate" title="oEmbed (JSON)" type="application/json+oembed" href="https://gobybikebc.ca/wp-json/oembed/1.0/embed?url=https%3A%2F%2Fgobybikebc.ca%2F" /> 56<link rel="alternate" title="oEmbed (XML)" type="text/xml+oembed" href="https://gobybikebc.ca/wp-json/oembed/1.0/embed?url=https%3A%2F%2Fgobybikebc.ca%2F&format=xml" /> 57<style id="wp-img-auto-sizes-contain-inline-css"> 58img:is([sizes=auto i],[sizes^="auto," i]){contain-intrinsic-size:3000px 1500px} 59/*# sourceURL=wp-img-auto-sizes-contain-inline-css */ 60</style> 61<link rel='stylesheet' id='main-stylesheet-css' href='https://gobybikebc.ca/wp-content/themes/gobybike/dist/assets/css/app.css?ver=2.10.4' media='all' /> 62<style id="wp-block-library-inline-css"> 63:root{--wp-block-synced-color:#7a00df;--wp-block-synced-color--rgb:122,0,223;--wp-bound-block-color:var(--wp-block-synced-color);--wp-editor-canvas-background:#ddd;--wp-admin-theme-color:#007cba;--wp-admin-theme-color--rgb:0,124,186;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-10--rgb:0,107,160.5;--wp-admin-theme-color-darker-20:#005a87;--wp-admin-theme-color-darker-20--rgb:0,90,135;--wp-admin-border-width-focus:2px}@media (min-resolution:192dpi){:root{--wp-admin-border-width-focus:1.5px}}.wp-element-button{cursor:pointer}:root .has-very-light-gray-background-color{background-color:#eee}:root .has-very-dark-gray-background-color{background-color:#313131}:root .has-very-light-gray-color{color:#eee}:root .has-very-dark-gray-color{color:#313131}:root .has-vivid-green-cyan-to-vivid-cyan-blue-gradient-background{background:linear-gradient(135deg,#00d084,#0693e3)}:root .has-purple-crush-gradient-background{background:linear-gradient(135deg,#34e2e4,#4721fb 50%,#ab1dfe)}:root .has-hazy-dawn-gradient-background{background:linear-gradient(135deg,#faaca8,#dad0ec)}:root .has-subdued-olive-gradient-background{background:linear-gradient(135deg,#fafae1,#67a671)}:root .has-atomic-cream-gradient-background{background:linear-gradient(135deg,#fdd79a,#004a59)}:root .has-nightshade-gradient-background{background:linear-gradient(135deg,#330968,#31cdcf)}:root .has-midnight-gradient-background{background:linear-gradient(135deg,#020381,#2874fc)}:root{--wp--preset--font-size--normal:16px;
63--wp--preset--font-size--huge:42px}.has-regular-font-size{font-size:1em}.has-larger-font-size{font-size:2.625em}.has-normal-font-size{font-size:var(--wp--preset--font-size--normal)}.has-huge-font-size{font-size:var(--wp--preset--font-size--huge)}:root .has-text-align-center{text-align:center}:root .has-text-align-left{text-align:left}:root .has-text-align-right{text-align:right}.has-fit-text{white-space:nowrap!important}#end-resizable-editor-section{display:none}.aligncenter{clear:both}.items-justified-left{justify-content:flex-start}.items-justified-center{justify-content:center}.items-justified-right{justify-content:flex-end}.items-justified-space-between{justify-content:space-between}.screen-reader-text{word-wrap:normal!important;border:0;clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.screen-reader-text:focus{background-color:#ddd;clip-path:none;color:#444;display:block;font-size:1em;height:auto;left:5px;line-height:normal;padding:15px 23px 14px;text-decoration:none;top:5px;width:auto;z-index:100000}html :where(.has-border-color){border-style:solid}html :where([style*=border-color]){border-style:solid}html :where([style*=border-top-color]){border-top-style:solid}html :where([style*=border-right-color]){border-right-style:solid}html :where([style*=border-bottom-color]){border-bottom-style:solid}html :where([style*=border-left-color]){border-left-style:solid}html :where([style*=border-width]){border-style:solid}html :where([style*=border-top-width]){border-top-style:solid}html :where([style*=border-right-width]){border-right-style:solid}html :where([style*=border-bottom-width]){border-bottom-style:solid}html :where([style*=border-left-width]){border-left-style:solid}html :where(img[class*=wp-image-]){height:auto;max-width:100%}:where(figure){margin:0 0 1em}html :where(.is-position-sticky){--wp-admin--admin-bar--position-offset:var(--wp-admin--admin-bar--height,0px)}@media screen and (max-width:600px){html :where(.is-position-sticky){--wp-admin--admin-bar--position-offset:0px}} 64 65/*# sourceURL=/wp-includes/css/dist/block-library/common.min.css */ 66</style> 67<style id="wp-block-heading-inline-css"> 68h1:where(.wp-block-heading).has-background,h2:where(.wp-block-heading).has-background,h3:where(.wp-block-heading).has-background,h4:where(.wp-block-heading).has-background,h5:where(.wp-block-heading).has-background,h6:where(.wp-block-heading).has-background{padding:1.25em 2.375em}h1.has-text-align-left[style*=writing-mode]:where([style*=vertical-lr]),h1.has-text-align-right[style*=writing-mode]:where([style*=vertical-rl]),h2.has-text-align-left[style*=writing-mode]:where([style*=vertical-lr]),h2.has-text-align-right[style*=writing-mode]:where([style*=vertical-rl]),h3.has-text-align-left[style*=writing-mode]:where([style*=vertical-lr]),h3.has-text-align-right[style*=writing-mode]:where([style*=vertical-rl]),h4.has-text-align-left[style*=writing-mode]:where([style*=vertical-lr]),h4.has-text-align-right[style*=writing-mode]:where([style*=vertical-rl]),h5.has-text-align-left[style*=writing-mode]:where([style*=vertical-lr]),h5.has-text-align-right[style*=writing-mode]:where([style*=vertical-rl]),h6.has-text-align-left[style*=writing-mode]:where([style*=vertical-lr]),h6.has-text-align-right[style*=writing-mode]:where([style*=vertical-rl]){rotate:180deg} 69/*# sourceURL=https://gobybikebc.ca/wp-includes/blocks/heading/style.min.css */ 70</style> 71<style id="wp-block-paragraph-inline-css"> 72.is-small-text{font-size:.875em}.is-regular-text{font-size:1em}.is-large-text{font-size:2.25em}.is-larger-text{font-size:3em}.has-drop-cap:not(:focus):first-letter{float:left;font-size:8.4em;font-style:normal;font-weight:100;line-height:.68;margin:.05em .1em 0 0;text-transform:uppercase}body.rtl .has-drop-cap:not(:focus):first-letter{float:none;margin-left:.1em}p.has-drop-cap.has-background{overflow:hidden}:root :where(p.has-background){padding:1.25em 2.375em}:where(p.has-text-color:not(.has-link-color)) a{color:inherit}p.has-text-align-left[style*="writing-mode:vertical-lr"],p.has-text-align-right[style*="writing-mode:vertical-rl"]{rotate:180deg} 73/*# sourceURL=https://gobybikebc.ca/wp-includes/blocks/paragraph/style.min.css */ 74</style> 75 76<style id="classic-theme-styles-inline-css"> 77/*! This file is auto-generated */ 78.wp-block-button__link{color:#fff;background-color:#32373c;border-radius:9999px;box-shadow:none;text-decoration:none;
78padding:calc(.667em + 2px) calc(1.333em + 2px);font-size:1.125em}.wp-block-file__button{background:#32373c;color:#fff;text-decoration:none} 79/*# sourceURL=/wp-includes/css/classic-themes.min.css */ 80</style> 81 82<style id="global-styles-inline-css"> 83:root{--wp--preset--aspect-ratio--square: 1;--wp--preset--aspect-ratio--4-3: 4/3;--wp--preset--aspect-ratio--3-4: 3/4;--wp--preset--aspect-ratio--3-2: 3/2;--wp--preset--aspect-ratio--2-3: 2/3;--wp--preset--aspect-ratio--16-9: 16/9;--wp--preset--aspect-ratio--9-16: 9/16;--wp--preset--color--black: #000000;--wp--preset--color--cyan-bluish-gray: #abb8c3;--wp--preset--color--white: #ffffff;--wp--preset--color--pale-pink: #f78da7;--wp--preset--color--vivid-red: #cf2e2e;--wp--preset--color--luminous-vivid-orange: #ff6900;--wp--preset--color--luminous-vivid-amber: #fcb900;--wp--preset--color--light-green-cyan: #7bdcb5;--wp--preset--color--vivid-green-cyan: #00d084;--wp--preset--color--pale-cyan-blue: #8ed1fc;--wp--preset--color--vivid-cyan-blue: #0693e3;--wp--preset--color--vivid-purple: #9b51e0;--wp--preset--color--primary: #1779ba;--wp--preset--color--secondary: #767676;--wp--preset--color--success: #3adb76;--wp--preset--color--warning: #ffae00;--wp--preset--color--alert: #cc4b37;--wp--preset--gradient--vivid-cyan-blue-to-vivid-purple: linear-gradient(135deg,rgb(6,147,227) 0%,rgb(155,81,224) 100%);--wp--preset--gradient--light-green-cyan-to-vivid-green-cyan: linear-gradient(135deg,rgb(122,220,180) 0%,rgb(0,208,130) 100%);--wp--preset--gradient--luminous-vivid-amber-to-luminous-vivid-orange: linear-gradient(135deg,rgb(252,185,0) 0%,rgb(255,105,0) 100%);--wp--preset--gradient--luminous-vivid-orange-to-vivid-red: linear-gradient(135deg,rgb(255,105,0) 0%,rgb(207,46,46) 100%);--wp--preset--gradient--very-light-gray-to-cyan-bluish-gray: linear-gradient(135deg,rgb(238,238,238) 0%,rgb(169,184,195) 100%);
83--wp--preset--gradient--cool-to-warm-spectrum: linear-gradient(135deg,rgb(74,234,220) 0%,rgb(151,120,209) 20%,rgb(207,42,186) 40%,rgb(238,44,130) 60%,rgb(251,105,98) 80%,rgb(254,248,76) 100%);--wp--preset--gradient--blush-light-purple: linear-gradient(135deg,rgb(255,206,236) 0%,rgb(152,150,240) 100%);--wp--preset--gradient--blush-bordeaux: linear-gradient(135deg,rgb(254,205,165) 0%,rgb(254,45,45) 50%,rgb(107,0,62) 100%);--wp--preset--gradient--luminous-dusk: linear-gradient(135deg,rgb(255,203,112) 0%,rgb(199,81,192) 50%,rgb(65,88,208) 100%);--wp--preset--gradient--pale-ocean: linear-gradient(135deg,rgb(255,245,203) 0%,rgb(182,227,212) 50%,rgb(51,167,181) 100%);--wp--preset--gradient--electric-grass: linear-gradient(135deg,rgb(202,248,128) 0%,rgb(113,206,126) 100%);--wp--preset--gradient--midnight: linear-gradient(135deg,rgb(2,3,129) 0%,rgb(40,116,252) 100%);--wp--preset--font-size--small: 13px;--wp--preset--font-size--medium: 20px;--wp--preset--font-size--large: 36px;--wp--preset--font-size--x-large: 42px;--wp--preset--spacing--20: 0.44rem;--wp--preset--spacing--30: 0.67rem;--wp--preset--spacing--40: 1rem;--wp--preset--spacing--50: 1.5rem;--wp--preset--spacing--60: 2.25rem;--wp--preset--spacing--70: 3.38rem;--wp--preset--spacing--80: 5.06rem;--wp--preset--shadow--natural: 6px 6px 9px rgba(0, 0, 0, 0.2);--wp--preset--shadow--deep: 12px 12px 50px rgba(0, 0, 0, 0.4);--wp--preset--shadow--sharp: 6px 6px 0px rgba(0, 0, 0, 0.2);--wp--preset--shadow--outlined: 6px 6px 0px -3px rgb(255, 255, 255), 6px 6px rgb(0, 0, 0);--wp--preset--shadow--crisp: 6px 6px 0px rgb(0, 0, 0);}:where(body) { margin: 0; }:where(.is-layout-flex){gap: 0.5em;}:where(.is-layout-grid){gap: 0.5em;}body .is-layout-flex{display: flex;}.is-layout-flex{flex-wrap: wrap;align-items: center;}.is-layout-flex > :is(*, div){margin: 0;}body .is-layout-grid{display: grid;}.is-layout-grid > :is(*, div){margin: 0;}body{padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;}:root :where(.wp-element-button, .wp-block-button__link){background-color: #32373c;border-width: 0;color: #fff;font-family: inherit;font-size: inherit;font-style: inherit;font-weight: inherit;letter-spacing: inherit;line-height: inherit;padding-top: calc(0.667em + 2px);padding-right: calc(1.333em + 2px);padding-bottom: calc(0.667em + 2px);padding-left: calc(1.333em + 2px);text-decoration: none;text-transform: inherit;}.has-black-color{color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-color{color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-color{color: var(--wp--preset--color--white) !important;}.has-pale-pink-color{color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-color{color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-color{color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-color{color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-color{color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-color{color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-color{color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-color{color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-color{color: var(--wp--preset--color--vivid-purple) !important;}.has-primary-color{color: var(--wp--preset--color--primary) !important;}.has-secondary-color{color: var(--wp--preset--color--secondary) !important;}.has-success-color{color: var(--wp--preset--color--success) !important;}.has-warning-color{color: var(--wp--preset--color--warning) !important;}.has-alert-color{color: var(--wp--preset--color--alert) !important;}.has-black-background-color{background-color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-background-color{background-color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-background-color{background-color: var(--wp--preset--color--white) !important;}.has-pale-pink-background-color{background-color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-background-color{background-color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-background-color{background-color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-background-color{background-color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-background-color{background-color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-background-color{background-color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-background-color{background-color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-background-color{background-color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-background-color{background-color: var(--wp--preset--color--vivid-purple) !important;}.has-primary-background-color{background-color: var(--wp--preset--color--primary) !important;}.has-secondary-background-color{background-color: var(--wp--preset--color--secondary) !important;}.has-success-background-color{background-color: var(--wp--preset--color--success) !important;}.has-warning-background-color{background-color: var(--wp--preset--color--warning) !important;}.has-alert-background-color{background-color: var(--wp--preset--color--alert) !important;}.has-black-border-color{border-color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-border-color{border-color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-border-color{border-color: var(--wp--preset--color--white) !important;}.has-pale-pink-border-color{border-color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-border-color{border-color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-border-color{border-color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-border-color{border-color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-border-color{border-color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-border-color{border-color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-border-color{border-color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-border-color{border-color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-border-color{border-color: var(--wp--preset--color--vivid-purple) !important;}.has-primary-border-color{border-color: var(--wp--preset--color--primary) !important;}.has-secondary-border-color{border-color: var(--wp--preset--color--secondary) !important;}.has-success-border-color{border-color: var(--wp--preset--color--success) !important;}.has-warning-border-color{border-color: var(--wp--preset--color--warning) !important;}.has-alert-border-color{border-color: var(--wp--preset--color--alert) !important;}.has-vivid-cyan-blue-to-vivid-purple-gradient-background{background: var(--wp--preset--gradient--vivid-cyan-blue-to-vivid-purple) !important;}.has-light-green-cyan-to-vivid-green-cyan-gradient-background{background: var(--wp--preset--gradient--light-green-cyan-to-vivid-green-cyan) !important;}.has-luminous-vivid-amber-to-luminous-vivid-orange-gradient-background{background: var(--wp--preset--gradient--luminous-vivid-amber-to-luminous-vivid-orange) !important;}.has-luminous-vivid-orange-to-vivid-red-gradient-background{background: var(--wp--preset--gradient--luminous-vivid-orange-to-vivid-red) !important;}
83.has-very-light-gray-to-cyan-bluish-gray-gradient-background{background: var(--wp--preset--gradient--very-light-gray-to-cyan-bluish-gray) !important;}.has-cool-to-warm-spectrum-gradient-background{background: var(--wp--preset--gradient--cool-to-warm-spectrum) !important;}.has-blush-light-purple-gradient-background{background: var(--wp--preset--gradient--blush-light-purple) !important;}.has-blush-bordeaux-gradient-background{background: var(--wp--preset--gradient--blush-bordeaux) !important;}.has-luminous-dusk-gradient-background{background: var(--wp--preset--gradient--luminous-dusk) !important;}.has-pale-ocean-gradient-background{background: var(--wp--preset--gradient--pale-ocean) !important;}.has-electric-grass-gradient-background{background: var(--wp--preset--gradient--electric-grass) !important;}.has-midnight-gradient-background{background: var(--wp--preset--gradient--midnight) !important;}.has-small-font-size{font-size: var(--wp--preset--font-size--small) !important;}.has-medium-font-size{font-size: var(--wp--preset--font-size--medium) !important;}.has-large-font-size{font-size: var(--wp--preset--font-size--large) !important;}.has-x-large-font-size{font-size: var(--wp--preset--font-size--x-large) !important;} 84/*# sourceURL=global-styles-inline-css */ 85</style> 86 87<link rel='stylesheet' id='cleantalk-public-css-css' href='https://gobybikebc.ca/wp-content/plugins/cleantalk-spam-protect/css/cleantalk-public.min.css?ver=6.79.1_1779750156' media='all' /> 88<link rel='stylesheet' id='cleantalk-email-decoder-css-css' href='https://gobybikebc.ca/wp-content/plugins/cleantalk-spam-protect/css/cleantalk-email-decoder.min.css?ver=6.79.1_1779750156' media='all' /> 89<link rel='stylesheet' id='uwp-country-select-css' href='https://gobybikebc.ca/wp-content/plugins/userswp/assets/css/countryselect.css?ver=1.2.63' media='all' /> 90<link rel='stylesheet' id='ayecode-ui-css' href='https://gobybikebc.ca/wp-content/plugins/userswp/vendor/ayecode/wp-ayecode-ui/assets-v5/css/ayecode-ui-compatibility.css?ver=0.2.47' media='all' /> 91<style id="ayecode-ui-inline-css"> 92body.modal-open #wpadminbar{z-index:999}.embed-responsive-16by9 .fluid-width-video-wrapper{padding:0!important;position:initial} 93/*# sourceURL=ayecode-ui-inline-css */ 94</style> 95<link rel='stylesheet' id='font-awesome-css' href='https://use.fontawesome.com/releases/v6.7.2/css/all.css?wpfas=true' media='all' />
96<script id="jquery-js" src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js?ver=3.2.1"></script>
vendor: 1 bytes, line 96
96
97<script id="jquery-js-after"> 98jQuery.noConflict(); 99window.gdSetMap = window.gdSetMap || 'google';window.gdLoadMap = window.gdLoadMap || 'click'; 100//# sourceURL=jquery-js-after 101</script>
vendor: 1 bytes, line 101
101
102<script id="select2-js" src="https://gobybikebc.ca/wp-content/plugins/userswp/vendor/ayecode/wp-ayecode-ui/assets/js/select2.min.js?ver=4.0.11"></script>
vendor: 1 bytes, line 102
102
103<script id="bootstrap-js-bundle-js" src="https://gobybikebc.ca/wp-content/plugins/userswp/vendor/ayecode/wp-ayecode-ui/assets-v5/js/bootstrap.bundle.min.js?ver=0.2.47"></script>
vendor: 1 bytes, line 103
103
104<script id="bootstrap-js-bundle-js-after"> 105function aui_init_greedy_nav(){jQuery('nav.greedy').each(function(i,obj){if(jQuery(this).hasClass("being-greedy")){return true}jQuery(this).addClass('navbar-expand');jQuery(this).off('shown.bs.tab').on('shown.bs.tab',function(e){if(jQuery(e.target).closest('.dropdown-menu').hasClass('greedy-links')){jQuery(e.target).closest('.greedy').find('.greedy-btn.dropdown').attr('aria-expanded','false');jQuery(e.target).closest('.greedy-links').removeClass('show').addClass('d-none')}});jQuery(document).off('mousemove','.greedy-btn').on('mousemove','.greedy-btn',function(e){jQuery('.dropdown-menu.greedy-links').removeClass('d-none')});var $vlinks='';var $dDownClass='';var ddItemClass='greedy-nav-item';if(jQuery(this).find('.navbar-nav').length){if(jQuery(this).find('.navbar-nav').hasClass("being-greedy")){return true}$vlinks=jQuery(this).find('.navbar-nav').addClass("being-greedy w-100").removeClass('overflow-hidden')}else if(jQuery(this).find('.nav').length){if(jQuery(this).find('.nav').hasClass("being-greedy")){return true}$vlinks=jQuery(this).find('.nav').addClass("being-greedy w-100").removeClass('overflow-hidden');$dDownClass=' mt-0 p-0 zi-5 ';ddItemClass+=' mt-0 me-0'}else{return false}jQuery($vlinks).append('<li class="nav-item list-unstyled ml-auto greedy-btn d-none dropdown"><button data-bs-toggle="collapse" class="nav-link greedy-nav-link" role="button"><i class="fas fa-ellipsis-h"></i> <span class="greedy-count badge bg-dark rounded-pill"></span></button><ul class="greedy-links dropdown-menu dropdown-menu-end '+$dDownClass+'"></ul></li>');var $hlinks=jQuery(this).find('.greedy-links');var $btn=jQuery(this).find('.greedy-btn');var numOfItems=0;var totalSpace=0;var closingTime=1000;var breakWidths=[];$vlinks.children().outerWidth(function(i,w){totalSpace+=w;numOfItems+=1;breakWidths.push(totalSpace)});var availableSpace,numOfVisibleItems,requiredSpace,buttonSpace,timer;function check(){buttonSpace=$btn.width();availableSpace=$vlinks.width()-10;numOfVisibleItems=$vlinks.children().length;requiredSpace=breakWidths[numOfVisibleItems-1];if(numOfVisibleItems>1&&requiredSpace>availableSpace){var $li=$vlinks.children().last().prev();$li.removeClass('nav-item').addClass(ddItemClass);if(!jQuery($hlinks).children().length){$li.find('.nav-link').addClass('w-100 dropdown-item rounded-0 rounded-bottom')}else{jQuery($hlinks).find('.nav-link').removeClass('rounded-top');$li.find('.nav-link').addClass('w-100 dropdown-item rounded-0 rounded-top')}$li.prependTo($hlinks);numOfVisibleItems-=1;check()}else if(availableSpace>breakWidths[numOfVisibleItems]){$hlinks.children().first().insertBefore($btn);numOfVisibleItems+=1;check()}jQuery($btn).find(".greedy-count").html(numOfItems-numOfVisibleItems);if(numOfVisibleItems===numOfItems){$btn.addClass('d-none')}else $btn.removeClass('d-none')}jQuery(window).on("resize",function(){check()});check()})}function aui_select2_locale(){var aui_select2_params={"i18n_select_state_text":"Select an option\u2026","i18n_no_matches":"No matches found","i18n_ajax_error":"Loading failed","i18n_input_too_short_1":"Please enter 1 or more characters","i18n_input_too_short_n":"Please enter %item% or more characters","i18n_input_too_long_1":"Please delete 1 character","i18n_input_too_long_n":"Please delete %item% characters","i18n_selection_too_long_1":"You can only select 1 item","i18n_selection_too_long_n":"You can only select %item% items","i18n_load_more":"Loading more results\u2026","i18n_searching":"Searching\u2026"};return{theme:"bootstrap-5",width:jQuery(this).data('width')?jQuery(this).data('width'):jQuery(this).hasClass('w-100')?'100%':'style',placeholder:jQuery(this).data('placeholder'),language:{errorLoading:function(){return aui_select2_params.i18n_searching},inputTooLong:function(args){var overChars=args.input.length-args.maximum;if(1===overChars){return aui_select2_params.i18n_input_too_long_1}return aui_select2_params.i18n_input_too_long_n.replace('%item%',overChars)},inputTooShort:function(args){var remainingChars=args.minimum-args.input.length;if(1===remainingChars){return aui_select2_params.i18n_input_too_short_1}return aui_select2_params.i18n_input_too_short_n.replace('%item%',remainingChars)},loadingMore:function(){return aui_select2_params.i18n_load_more},maximumSelected:function(args){if(args.maximum===1){return aui_select2_params.i18n_selection_too_long_1}return aui_select2_params.i18n_selection_too_long_n.replace('%item%',args.maximum)},noResults:function(){return aui_select2_params.i18n_no_matches},searching:function(){return aui_select2_params.i18n_searching}}}}function aui_init_select2(){var select2_args=jQuery.extend({},aui_select2_locale());jQuery("select.aui-select2").each(function(){if(!jQuery(this).hasClass("select2-hidden-accessible")){jQuery(this).select2(select2_args)}})}function aui_time_ago(selector){var aui_timeago_params={"prefix_ago":"","suffix_ago":" ago","prefix_after":"after ","suffix_after":"","seconds":"less than a minute","minute":"about a minute","minutes":"%d minutes","hour":"about an hour","hours":"about %d hours","day":"a day","days":"%d days","month":"about a month","months":"%d months","year":"about a year","years":"%d years"};var templates={prefix:aui_timeago_params.prefix_ago,suffix:aui_timeago_params.suffix_ago,seconds:aui_timeago_params.seconds,minute:aui_timeago_params.minute,minutes:aui_timeago_params.minutes,hour:aui_timeago_params.hour,hours:aui_timeago_params.hours,day:aui_timeago_params.day,days:aui_timeago_params.days,month:aui_timeago_params.month,months:aui_timeago_params.months,year:aui_timeago_params.year,years:aui_timeago_params.years};var template=function(t,n){return templates[t]&&templates[t].replace(/%d/i,Math.abs(Math.round(n)))};var timer=function(time){if(!time)return;time=time.replace(/\.\d+/,"");time=time.replace(/-/,"/").replace(/-/,"/");time=time.replace(/T/," ").replace(/Z/," UTC");time=time.replace(/([\+\-]\d\d)\:?(\d\d)/," $1$2");time=new Date(time*1000||time);var now=new Date();var seconds=((now.getTime()-time)*.001)>>0;var minutes=seconds/60;var hours=minutes/60;var days=hours/24;var years=days/365;return templates.prefix+(seconds<45&&template('seconds',seconds)||seconds<90&&template('minute',1)||minutes<45&&template('minutes',minutes)||minutes<90&&template('hour',1)||hours<24&&template('hours',hours)||hours<42&&template('day',1)||days<30&&template('days',days)||days<45&&template('month',1)||days<365&&template('months',days/30)||years<1.5&&template('year',1)||template('years',years))+templates.suffix};var elements=document.getElementsByClassName(selector);if(selector&&elements&&elements.length){for(var i in elements){var $el=elements[i];if(typeof $el==='object'){$el.innerHTML='<i class="far fa-clock"></i> '+timer($el.getAttribute('title')||$el.getAttribute('datetime'))}}}setTimeout(function(){aui_time_ago(selector)},60000)}function aui_init_tooltips(){if(typeof jQuery.fn.tooltip==='function'){jQuery('[data-bs-toggle="tooltip"]').tooltip()}else{console.log('jQuery.fn.tooltip not found')}if(typeof jQuery.fn.popover==='function'){jQuery('[data-bs-toggle="popover"]').popover();jQuery('[data-bs-toggle="popover-html"]').popover({html:true,sanitize:false})}else{console.log('jQuery.fn.popover not found')}jQuery('[data-bs-toggle="popover"],[data-bs-toggle="popover-html"]').on('inserted.bs.popover',function(){jQuery('body > .popover').wrapAll("<div class='bsui' />")})}$aui_doing_init_flatpickr=false;function aui_init_flatpickr(){if(typeof jQuery.fn.flatpickr==="function"&&!$aui_doing_init_flatpickr){$aui_doing_init_flatpickr=true;try{flatpickr.localize({weekdays:{shorthand:['Sun','Mon','Tue','Wed','Thu','Fri','Sat'],longhand:['Sun','Mon','Tue','Wed','Thu','Fri','Sat'],},months:{shorthand:['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'],longhand:['January','February','March','April','May','June','July','August','September','October','November','December'],},daysInMonth:[31,28,31,30,31,30,31,31,30,31,30,31],firstDayOfWeek:1,ordinal:function(nth){var s=nth%100;if(s>3&&s<21)return"th";switch(s%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}},rangeSeparator:' to ',weekAbbreviation:'Wk',scrollTitle:'Scroll to increment',toggleTitle:'Click to toggle',amPM:['AM','PM'],yearAriaLabel:'Year',hourAriaLabel:'Hour',minuteAriaLabel:'Minute',time_24hr:false})}catch(err){console.log(err.message)}jQuery('input[data-aui-init="flatpickr"]:not(.flatpickr-input)').flatpickr()}$aui_doing_init_flatpickr=false}$aui_doing_init_iconpicker=false;function aui_init_iconpicker(){if(typeof jQuery.fn.iconpicker==="function"&&!$aui_doing_init_iconpicker){$aui_doing_init_iconpicker=true;jQuery('input[data-aui-init="iconpicker"]:not(.iconpicker-input)').iconpicker()}$aui_doing_init_iconpicker=false}function aui_modal_iframe($title,$url,$footer,$dismissible,$class,$dialog_class,$body_class,responsive){if(!$body_class){$body_class='p-0'}var wClass='text-center position-absolute w-100 text-dark overlay overlay-white p-0 m-0 d-flex justify-content-center align-items-center';var wStyle='';var sStyle='';var $body="",sClass="w-100 p-0 m-0";if(responsive){$body+='<div class="embed-responsive embed-responsive-16by9 ratio ratio-16x9">';wClass+=' h-100';sClass+=' embed-responsive-item'}else{wClass+=' vh-100';sClass+=' vh-100';wStyle+=' height: 90vh !important;';sStyle+=' height: 90vh !important;'}$body+='<div class="ac-preview-loading '+wClass+'" style="left:0;top:0;'+wStyle+'"><div class="spinner-border" role="status"></div></div>';$body+='<iframe id="embedModal-iframe" class="'+sClass+'" style="'+sStyle+'" src="" width="100%" height="100%" frameborder="0" allowtransparency="true"></iframe>';if(responsive){$body+='</div>'}$m=aui_modal($title,$body,$footer,$dismissible,$class,$dialog_class,$body_class);const auiModal=document.getElementById('aui-modal');auiModal.addEventListener('shown.bs.modal',function(e){iFrame=jQuery('#embedModal-iframe');jQuery('.ac-preview-loading').removeClass('d-none').addClass('d-flex');iFrame.attr({src:$url});iFrame.load(function(){jQuery('.ac-preview-loading').removeClass('d-flex').addClass('d-none')})});return $m}function aui_modal($title,$body,$footer,$dismissible,$class,$dialog_class,$body_class){if(!$class){$class=''}if(!$dialog_class){$dialog_class=''}if(!$body){$body='<div class="text-center"><div class="spinner-border" role="status"></div></div>'}jQuery('.aui-modal').remove();
105jQuery('.modal-backdrop').remove();jQuery('body').css({overflow:'','padding-right':''});var $modal='';$modal+='<div id="aui-modal" class="modal aui-modal fade shadow bsui '+$class+'" tabindex="-1">'+'<div class="modal-dialog modal-dialog-centered '+$dialog_class+'">'+'<div class="modal-content border-0 shadow">';if($title){$modal+='<div class="modal-header">'+'<h5 class="modal-title">'+$title+'</h5>';if($dismissible){$modal+='<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close">'+'</button>'}$modal+='</div>'}$modal+='<div class="modal-body '+$body_class+'">'+$body+'</div>';if($footer){$modal+='<div class="modal-footer">'+$footer+'</div>'}$modal+='</div>'+'</div>'+'</div>';jQuery('body').append($modal);const ayeModal=new bootstrap.Modal('.aui-modal',{});ayeModal.show()}function aui_conditional_fields(form){jQuery(form).find(".aui-conditional-field").each(function(){var $element_require=jQuery(this).data('element-require');if($element_require){$element_require=$element_require.replace("'","'");$element_require=$element_require.replace(""",'"');if(aui_check_form_condition($element_require,form)){jQuery(this).removeClass('d-none')}else{jQuery(this).addClass('d-none')}}})}function aui_check_form_condition(condition,form){if(form){condition=condition.replace(/\(form\)/g,"('"+form+"')")}return new Function("return "+condition+";")()}jQuery.fn.aui_isOnScreen=function(){var win=jQuery(window);var viewport={top:win.scrollTop(),left:win.scrollLeft()};viewport.right=viewport.left+win.width();viewport.bottom=viewport.top+win.height();var bounds=this.offset();bounds.right=bounds.left+this.outerWidth();bounds.bottom=bounds.top+this.outerHeight();return(!(viewport.right<bounds.left||viewport.left>bounds.right||viewport.bottom<bounds.top||viewport.top>bounds.bottom))};function aui_carousel_maybe_show_multiple_items($carousel){var $items={};var $item_count=0;if(!jQuery($carousel).find('.carousel-inner-original').length){jQuery($carousel).append('<div class="carousel-inner-original d-none">'+jQuery($carousel).find('.carousel-inner').html().replaceAll('carousel-item','not-carousel-item')+'</div>')}jQuery($carousel).find('.carousel-inner-original .not-carousel-item').each(function(){$items[$item_count]=jQuery(this).html();$item_count++});if(!$item_count){return}if(jQuery(window).width()<=576){if(jQuery($carousel).find('.carousel-inner').hasClass('aui-multiple-items')&&jQuery($carousel).find('.carousel-inner-original').length){jQuery($carousel).find('.carousel-inner').removeClass('aui-multiple-items').html(jQuery($carousel).find('.carousel-inner-original').html().replaceAll('not-carousel-item','carousel-item'));jQuery($carousel).find(".carousel-indicators li").removeClass("d-none")}}else{var $md_count=jQuery($carousel).data('limit_show');var $md_cols_count=jQuery($carousel).data('cols_show');var $new_items='';var $new_items_count=0;var $new_item_count=0;var $closed=true;
105Object.keys($items).forEach(function(key,index){if(index!=0&&Number.isInteger(index/$md_count)){$new_items+='</div></div>';$closed=true}if(index==0||Number.isInteger(index/$md_count)){$row_cols_class=$md_cols_count?' g-lg-4 g-3 row-cols-1 row-cols-lg-'+$md_cols_count:'';$active=index==0?'active':'';$new_items+='<div class="carousel-item '+$active+'"><div class="row'+$row_cols_class+' ">';$closed=false;$new_items_count++;$new_item_count=0}$new_items+='<div class="col ">'+$items[index]+'</div>';$new_item_count++});if(!$closed){if($md_count-$new_item_count>0){$placeholder_count=$md_count-$new_item_count;while($placeholder_count>0){$new_items+='<div class="col "></div>';$placeholder_count--}}$new_items+='</div></div>'}jQuery($carousel).find('.carousel-inner').addClass('aui-multiple-items').html($new_items);jQuery($carousel).find('.carousel-item.active img').each(function(){if(real_srcset=jQuery(this).attr("data-srcset")){if(!jQuery(this).attr("srcset"))jQuery(this).attr("srcset",real_srcset)}if(real_src=jQuery(this).attr("data-src")){if(!jQuery(this).attr("srcset"))jQuery(this).attr("src",real_src)}});$hide_count=$new_items_count-1;jQuery($carousel).find(".carousel-indicators li:gt("+$hide_count+")").addClass("d-none")}jQuery(window).trigger("aui_carousel_multiple")}function aui_init_carousel_multiple_items(){jQuery(window).on("resize",function(){jQuery('.carousel-multiple-items').each(function(){aui_carousel_maybe_show_multiple_items(this)})});jQuery('.carousel-multiple-items').each(function(){aui_carousel_maybe_show_multiple_items(this)})}function init_nav_sub_menus(){jQuery('.navbar-multi-sub-menus').each(function(i,obj){if(jQuery(this).hasClass("has-sub-sub-menus")){return true}jQuery(this).addClass('has-sub-sub-menus');jQuery(this).find('.dropdown-menu a.dropdown-toggle').on('click',function(e){var $el=jQuery(this);$el.toggleClass('active-dropdown');var $parent=jQuery(this).offsetParent(".dropdown-menu");if(!jQuery(this).next().hasClass('show')){jQuery(this).parents('.dropdown-menu').first().find('.show').removeClass("show")}var $subMenu=jQuery(this).next(".dropdown-menu");$subMenu.toggleClass('show');jQuery(this).parent("li").toggleClass('show');jQuery(this).parents('li.nav-item.dropdown.show').on('hidden.bs.dropdown',function(e){jQuery('.dropdown-menu .show').removeClass("show");$el.removeClass('active-dropdown')});if(!$parent.parent().hasClass('navbar-nav')){$el.next().addClass('position-relative border-top border-bottom')}return false})})}function aui_lightbox_embed($link,ele){ele.preventDefault();jQuery('.aui-carousel-modal').remove();var $modal='<div class="modal fade aui-carousel-modal bsui" id="aui-carousel-modal" tabindex="-1" role="dialog" aria-labelledby="aui-modal-title" aria-hidden="true"><div class="modal-dialog modal-dialog-centered modal-xl mw-100"><div class="modal-content bg-transparent border-0 shadow-none"><div class="modal-header"><h5 class="modal-title" id="aui-modal-title"></h5></div><div class="modal-body text-center"><i class="fas fa-circle-notch fa-spin fa-3x"></i></div></div></div></div>';jQuery('body').append($modal);const ayeModal=new bootstrap.Modal('.aui-carousel-modal',{});const myModalEl=document.getElementById('aui-carousel-modal');myModalEl.addEventListener('hidden.bs.modal',event=>{jQuery(".aui-carousel-modal iframe").attr('src','')});jQuery('.aui-carousel-modal').on('shown.bs.modal',function(e){jQuery('.aui-carousel-modal .carousel-item.active').find('iframe').each(function(){var $iframe=jQuery(this);$iframe.parent().find('.ac-preview-loading').removeClass('d-none').addClass('d-flex');if(!$iframe.attr('src')&&$iframe.data('src')){$iframe.attr('src',$iframe.data('src'))}$iframe.on('load',function(){setTimeout(function(){$iframe.parent().find('.ac-preview-loading').removeClass('d-flex').addClass('d-none')},1250)})})});$container=jQuery($link).closest('.aui-gallery');$clicked_href=jQuery($link).attr('href');$images=[];$container.find('.aui-lightbox-image, .aui-lightbox-iframe').each(function(){var a=this;var href=jQuery(a).attr('href');if(href){$images.push(href)}});
105if($images.length){var $carousel='<div id="aui-embed-slider-modal" class="carousel slide" >';if($images.length>1){$i=0;$carousel+='<ol class="carousel-indicators position-fixed">';$container.find('.aui-lightbox-image, .aui-lightbox-iframe').each(function(){$active=$clicked_href==jQuery(this).attr('href')?'active':'';$carousel+='<li data-bs-target="#aui-embed-slider-modal" data-bs-slide-to="'+$i+'" class="'+$active+'"></li>';$i++});$carousel+='</ol>'}$i=0;$rtl_class='justify-content-start';$carousel+='<div class="carousel-inner d-flex align-items-center '+$rtl_class+'">';$container.find('.aui-lightbox-image').each(function(){var a=this;var href=jQuery(a).attr('href');$active=$clicked_href==jQuery(this).attr('href')?'active':'';$carousel+='<div class="carousel-item '+$active+'"><div>';var css_height=window.innerWidth>window.innerHeight?'90vh':'auto';var srcset=jQuery(a).find('img').attr('srcset');var sizes='';if(srcset){var sources=srcset.split(',').map(s=>{var parts=s.trim().split(/\s+/).filter(Boolean);if(parts.length>=2){return{width:parseInt(parts[1].replace('w','')),descriptor:parts[1].replace('w','px')}}return null}).filter(item=>item!==null).sort((a,b)=>b.width-a.width);sizes=sources.map((source,index,array)=>{if(index===0){return `${source.descriptor}`}else{return `(max-width:${source.width-1}px)${array[index-1].descriptor}`}}).reverse().join(', ')}var img=href?jQuery(a).find('img').clone().attr('src',href).attr('sizes',sizes).removeClass().addClass('mx-auto d-block w-auto rounded').css({'max-height':css_height,'max-width':'98%'}).get(0).outerHTML:jQuery(a).find('img').clone().removeClass().addClass('mx-auto d-block w-auto rounded').css({'max-height':css_height,'max-width':'98%'}).get(0).outerHTML;$carousel+=img;if(jQuery(a).parent().find('.carousel-caption').length){$carousel+=jQuery(a).parent().find('.carousel-caption').clone().removeClass('sr-only visually-hidden').get(0).outerHTML}else if(jQuery(a).parent().find('.figure-caption').length){$carousel+=jQuery(a).parent().find('.figure-caption').clone().removeClass('sr-only visually-hidden').addClass('carousel-caption').get(0).outerHTML}$carousel+='</div></div>';$i++});$container.find('.aui-lightbox-iframe').each(function(){var a=this;var css_height=window.innerWidth>window.innerHeight?'90vh;':'auto;';var styleWidth=$images.length>1?'max-width:70%;':'';$active=$clicked_href==jQuery(this).attr('href')?'active':'';$carousel+='<div class="carousel-item '+$active+'"><div class="modal-xl mx-auto ratio ratio-16x9" style="max-height:'+css_height+styleWidth+'">';var url=jQuery(a).attr('href');var iframe='<div class="ac-preview-loading text-light d-none" style="left:0;top:0;height:'+css_height+'"><div class="spinner-border m-auto" role="status"></div></div>';iframe+='<iframe class="aui-carousel-iframe" style="height:'+css_height+'" src="" data-src="'+url+'?rel=0&showinfo=0&modestbranding=1&autoplay=1" allow="autoplay"></iframe>';var img=iframe;$carousel+=img;$carousel+='</div></div>';$i++});$carousel+='</div>';if($images.length>1){$carousel+='<a class="carousel-control-prev" href="#aui-embed-slider-modal" role="button" data-bs-slide="prev">';$carousel+='<span class="carousel-control-prev-icon" aria-hidden="true"></span>';$carousel+=' <a class="carousel-control-next" href="#aui-embed-slider-modal" role="button" data-bs-slide="next">';$carousel+='<span class="carousel-control-next-icon" aria-hidden="true"></span>';$carousel+='</a>'}$carousel+='</div>';var $close='<button type="button" class="btn-close btn-close-white text-end position-fixed" style="right: 20px;top: 10px; z-index: 1055;" data-bs-dismiss="modal" aria-label="Close"></button>';jQuery('.aui-carousel-modal .modal-content').html($carousel).prepend($close);ayeModal.show();try{if('ontouchstart'in document.documentElement||navigator.maxTouchPoints>0){let _bsC=new bootstrap.Carousel('#aui-embed-slider-modal')}}catch(err){}}}function aui_init_lightbox_embed(){jQuery('.aui-lightbox-image, .aui-lightbox-iframe').off('click').on("click",function(ele){aui_lightbox_embed(this,ele)})}function aui_init_modal_iframe(){jQuery('.aui-has-embed, [data-aui-embed="iframe"]').each(function(e){if(!jQuery(this).hasClass('aui-modal-iframed')&&jQuery(this).data('embed-url')){jQuery(this).addClass('aui-modal-iframed');jQuery(this).on("click",function(e1){aui_modal_iframe('',jQuery(this).data('embed-url'),'',true,'','modal-lg','aui-modal-iframe p-0',true);return false})}})}$aui_doing_toast=false;function aui_toast($id,$type,$title,$title_small,$body,$time,$can_close){if($aui_doing_toast){setTimeout(function(){aui_toast($id,$type,$title,$title_small,$body,$time,$can_close)},500);return}$aui_doing_toast=true;if($can_close==null){$can_close=false}if($time==''||$time==null){$time=3000}if(document.getElementById($id)){jQuery('#'+$id).toast('show');setTimeout(function(){$aui_doing_toast=false},500);return}var uniqid=Date.now();if($id){uniqid=$id}$op="";$tClass='';$thClass='';$icon="";if($type=='success'){$op="opacity:.92;";$tClass='alert bg-success w-auto';$thClass='bg-transparent border-0 text-white';$icon="<div class='h5 m-0 p-0'><i class='fas fa-check-circle me-2'></i></div>"}else if($type=='error'||$type=='danger'){$op="opacity:.92;";$tClass='alert bg-danger w-auto';$thClass='bg-transparent border-0 text-white';$icon="<div class='h5 m-0 p-0'><i class='far fa-times-circle me-2'></i></div>"}else if($type=='info'){$op="opacity:.92;";$tClass='alert bg-info w-auto';$thClass='bg-transparent border-0 text-white';$icon="<div class='h5 m-0 p-0'><i class='fas fa-info-circle me-2'></i></div>"}else if($type=='warning'){$op="opacity:.92;";$tClass='alert bg-warning w-auto';$thClass='bg-transparent border-0 text-dark';$icon="<div class='h5 m-0 p-0'><i class='fas fa-exclamation-triangle me-2'></i></div>"}if(!document.getElementById("aui-toasts")){jQuery('body').append('<div class="bsui" id="aui-toasts"><div class="position-fixed aui-toast-bottom-right pr-3 pe-3 mb-1" style="z-index: 500000;right: 0;bottom: 0;'+$op+'"></div></div>')}$toast='<div id="'+uniqid+'" class="toast fade hide shadow hover-shadow '+$tClass+'" style="" role="alert" aria-live="assertive" aria-atomic="true" data-bs-delay="'+$time+'">';if($type||$title||$title_small){$toast+='<div class="toast-header '+$thClass+'">';if($icon){$toast+=$icon}if($title){$toast+='<strong class="me-auto">'+$title+'</strong>'}if($title_small){$toast+='<small>'+$title_small+'</small>'}if($can_close){$toast+='<button type="button" class="ms-2 mb-1 btn-close" data-bs-dismiss="toast" aria-label="Close"></button>'}$toast+='</div>'}if($body){$toast+='<div class="toast-body">'+$body+'</div>'}$toast+='</div>';jQuery('.aui-toast-bottom-right').prepend($toast);jQuery('#'+uniqid).toast('show');setTimeout(function(){$aui_doing_toast=false},500)}function aui_init_counters(){const animNum=(EL)=>{if(EL._isAnimated)return;EL._isAnimated=true;let end=EL.dataset.auiend;let start=EL.dataset.auistart;let duration=EL.dataset.auiduration?EL.dataset.auiduration:2000;let seperator=EL.dataset.auisep?EL.dataset.auisep:'';jQuery(EL).prop('Counter',start).animate({Counter:end},{duration:Math.abs(duration),easing:'swing',step:function(now){const text=seperator?(Math.ceil(now)).toLocaleStr
105ing('en-US'):Math.ceil(now);const html=seperator?text.split(",").map(n=>`<span class="count">${n}</span>`).join(","):text;if(seperator&&seperator!=','){html.replace(',',seperator)}jQuery(this).html(html)}})};const inViewport=(entries,observer)=>{entries.forEach(entry=>{if(entry.isIntersecting)animNum(entry.target)})};jQuery("[data-auicounter]").each((i,EL)=>{const observer=new IntersectionObserver(inViewport);observer.observe(EL)})}function aui_init(){aui_init_counters();init_nav_sub_menus();aui_init_tooltips();aui_init_select2();aui_init_flatpickr();aui_init_iconpicker();aui_init_greedy_nav();aui_time_ago('timeago');aui_init_carousel_multiple_items();aui_init_lightbox_embed();aui_init_modal_iframe()}jQuery(window).on("load",function(){aui_init()});jQuery(function($){var ua=navigator.userAgent.toLowerCase();var isiOS=ua.match(/(iphone|ipod|ipad)/);if(isiOS){var pS=0;pM=parseFloat($('body').css('marginTop'));$(document).on('show.bs.modal',function(){pS=window.scrollY;$('body').css({marginTop:-pS,overflow:'hidden',position:'fixed',})}).on('hidden.bs.modal',function(){$('body').css({marginTop:pM,overflow:'visible',position:'inherit',});window.scrollTo(0,pS)})}$(document).on('slide.bs.carousel',function(el){var $_modal=$(el.relatedTarget).closest('.aui-carousel-modal:visible').length?$(el.relatedTarget).closest('.aui-carousel-modal:visible'):'';if($_modal&&$_modal.find('.carousel-item iframe.aui-carousel-iframe').length){$_modal.find('.carousel-item.active iframe.aui-carousel-iframe').each(function(){if($(this).attr('src')){$(this).data('src',$(this).attr('src'));$(this).attr('src','')}});if($(el.relatedTarget).find('iframe.aui-carousel-iframe').length){$(el.relatedTarget).find('.ac-preview-loading').removeClass('d-none').addClass('d-flex');var $cIframe=$(el.relatedTarget).find('iframe.aui-carousel-iframe');if(!$cIframe.attr('src')&&$cIframe.data('src')){$cIframe.attr('src',$cIframe.data('src'))}$cIframe.on('load',function(){setTimeout(function(){$_modal.find('.ac-preview-loading').removeClass('d-flex').addClass('d-none')},1250)})}}})});var aui_confirm=function(message,okButtonText,cancelButtonText,isDelete,large){okButtonText=okButtonText||'Yes';cancelButtonText=cancelButtonText||'Cancel';message=message||'Are you sure?';sizeClass=large?'':'modal-sm';btnClass=isDelete?'btn-danger':'btn-primary';deferred=jQuery.Deferred();var $body="";$body+="<h3 class='h4 py-3 text-center text-dark'>"+message+"</h3>";$body+="<div class='d-flex'>";$body+="<button class='btn btn-outline-secondary w-50 btn-round' data-bs-dismiss='modal' onclick='deferred.resolve(false);'>"+cancelButtonText+"</button>";$body+="<button class='btn "+btnClass+" ms-2 w-50 btn-round' data-bs-dismiss='modal' onclick='deferred.resolve(true);'>"+okButtonText+"</button>";$body+="</div>";$modal=aui_modal('',$body,'',false,'',sizeClass);return deferred.promise()};function aui_flip_color_scheme_on_scroll($value,$iframe){if(!$value)$value=window.scrollY;var navbar=$iframe?$iframe.querySelector('.color-scheme-flip-on-scroll'):document.querySelector('.color-scheme-flip-on-scroll');if(navbar==null)return;let cs_original=navbar.dataset.cso;let cs_scroll=navbar.dataset.css;if(!cs_scroll&&!cs_original){if(navbar.classList.contains('navbar-light')){cs_original='navbar-light';cs_scroll='navbar-dark'}else if(navbar.classList.contains('navbar-dark')){cs_original='navbar-dark';cs_scroll='navbar-light'}navbar.dataset.cso=cs_original;navbar.dataset.css=cs_scroll}if($value>0||navbar.classList.contains('nav-menu-open')){navbar.classList.remove(cs_original);navbar.classList.add(cs_scroll)}else{navbar.classList.remove(cs_scroll);navbar.classList.add(cs_original)}}window.onscroll=function(){aui_set_data_scroll();aui_flip_color_scheme_on_scroll()};function aui_set_data_scroll(){document.documentElement.dataset.scroll=window.scrollY}aui_set_data_scroll();aui_flip_color_scheme_on_scroll(); 106document.addEventListener("DOMContentLoaded",function(){geodir_search_setup_advance_search();jQuery("body").on("geodir_setup_search_form",function(){geodir_search_setup_advance_search()});if(jQuery('.geodir-search-container form').length){geodir_search_setup_searched_filters()}if(jQuery('.geodir-search-container select[name="sopen_now"]').length){setInterval(function(e){geodir_search_refresh_open_now_times()},60000);geodir_search_refresh_open_now_times()}if(!window.gdAsBtnText){window.gdAsBtnText=jQuery('.geodir_submit_search').html();window.gdAsBtnTitle=jQuery('.geodir_submit_search').data('title')}jQuery(document).on("click",".geodir-clear-filters",function(e){window.isClearFilters=true;jQuery('.gd-adv-search-labels .gd-adv-search-label').each(function(e){if(!jQuery(this).hasClass('geodir-clear-filters')){jQuery(this).trigger('click')}});window.isClearFilters=false;geodir_search_trigger_submit()});geodir_distance_popover_trigger();var bsDash='bs-';jQuery(document).on('change','.geodir-distance-trigger',function(){var $cont=jQuery(this).closest('.geodir-popover-content'),$_distance=jQuery('#'+$cont.attr('data-'+bsDash+'container'));if(jQuery(this).val()=='km'||jQuery(this).val()=='mi'){jQuery('.geodir-units-wrap .btn',$cont).removeClass('active');jQuery('.geodir-units-wrap .btn.geodir-unit-'+jQuery(this).val(),$cont).addClass('active')}if($_distance.length){var dist=parseInt($cont.find('[name="_gddist"]').val());var unit=$cont.find('[name="_gdunit"]:checked').val();if(!unit){unit='km';if(unit=='miles'){unit='mi'}}if($cont.find('[name="_gdunit"]:checked').parent().attr('title')){var title=dist+' '+$cont.find('[name="_gdunit"]:checked').parent().attr('title')}else{var title=dist+' '+unit}jQuery('[name="dist"]',$_distance).remove();jQuery('[name="_unit"]',$_distance).remove();var $btn=$_distance.find('.geodir-distance-show');$_distance.append('<input type="hidden" name="_unit" value="'+unit+'" data-ignore-rule>');if(dist>0){$_distance.append('<input type="hidden" name="dist" value="'+dist+'">');$btn.removeClass('btn-secondary').addClass('btn-primary');jQuery('.-gd-icon',$btn).addClass('d-none');jQuery('.-gd-range',$btn).removeClass('d-none').text(dist+' '+unit).attr('title',title)}else{$_distance.append('<input type="hidden" name="dist" value="">');$btn.removeClass('btn-primary').addClass('btn-secondary');jQuery('.-gd-icon',$btn).removeClass('d-none');jQuery('.-gd-range',$btn).addClass('d-none')}if($_distance.closest('form').find('[name="snear"]').val()){jQuery('[name="dist"]',$_distance).trigger('change')}geodir_popover_show_distance($_distance.closest('form'),dist,unit)}});jQuery(document).on('input','.geodir-distance-range',function(){var $cont=jQuery(this).closest('.geodir-popover-content'),$_distance=jQuery('#'+$cont.attr('data-'+bsDash+'container'));geodir_popover_show_distance($_distance.closest('form'),parseInt(j
106Query(this).val()))});jQuery('body').on('click',function(e){if(e&&!e.isTrigger&&jQuery('.geodir-distance-popover[aria-describedby]').length){jQuery('.geodir-distance-popover[aria-describedby]').each(function(){if(!jQuery(this).is(e.target)&&jQuery(this).has(e.target).length===0&&jQuery('.popover').has(e.target).length===0){jQuery(this).popover('hide')}})}});jQuery("body").on("geodir_setup_search_form",function($_form){if(typeof aui_cf_field_init_rules==="function"){setTimeout(function(){aui_cf_field_init_rules(jQuery),100})}})});function geodir_distance_popover_trigger(){if(!jQuery('.geodir-distance-popover').length){return}var bsDash='bs-';jQuery('.geodir-distance-popover').popover({html:true,placement:'top',sanitize:false,customClass:'geodir-popover',template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><div class="popover-body p-2"></div></div>'}).on('hidden.bs.popover',function(e){var dist=parseInt(jQuery(this).closest('.gd-search-field-distance').find('[name="dist"]').val());var unit=jQuery(this).closest('.gd-search-field-distance').find('[name="_unit"]').val();var content=jQuery(this).attr('data-'+bsDash+'content');content=content.replace(' geodir-unit-mi active"',' geodir-unit-mi"');content=content.replace(' geodir-unit-km active"',' geodir-unit-km"');content=content.replace("checked='checked'",'');content=content.replace('checked="checked"','');content=content.replace('geodir-drange-values','geodir-drange-values d-none');content=content.replace(' d-none d-none',' d-none');content=content.replace('value="'+unit+'"','value="'+unit+'" checked="checked"');content=content.replace(' geodir-unit-'+unit+'"',' geodir-unit-'+unit+' active"');content=content.replace(' value="'+jQuery(this).attr('data-value')+'" ',' value="'+dist+'" ');jQuery(this).attr('data-'+bsDash+'content',content);jQuery(this).attr('data-value',dist)}).on('shown.bs.popover',function(e){geodir_popover_show_distance(jQuery(this).closest('form'))})}function geodir_popover_show_distance($form,dist,unit){if(!$form){$form=jQuer('body')}if(typeof dist=='undefined'){dist=parseInt(jQuery('[name="dist"]',$form).val())}jQuery('.geodir-drange-dist').text(dist);if(typeof unit=='undefined'){unit=jQuery('[name="_unit"]',$form).val();if(unit&&jQuery('.btn.geodir-unit-'+unit,$form).length&&!jQuery('.btn.geodir-unit-'+unit,$form).hasClass('active')){jQuery('.geodir-units-wrap .geodir-distance-trigger',$form).removeAttr('checked');jQuery('.geodir-units-wrap .geodir-distance-trigger[value="'+unit+'"]',$form).attr('checked','checked');jQuery('.geodir-units-wrap .btn',$form).removeClass('active');jQuery('.btn.geodir-unit-'+unit,$form).addClass('active')}}if(unit){jQuery('.geodir-drange-unit').text(unit)}if(dist>0){if(jQuery('.geodir-drange-values').hasClass('d-none')){jQuery('.geodir-drange-values').removeClass('d-none')}}else{if(!jQuery('.geodir-drange-values').hasClass('d-none')){jQuery('.geodir-drange-values').addClass('d-none')}}}function geodir_search_setup_advance_search(){jQuery('.geodir-search-container.geodir-advance-search-searched').each(function(){var $el=this;if(jQuery($el).attr('data-show-adv')=='search'){jQuery('.geodir-show-filters',$el).trigger('click')}});jQuery('.geodir-more-filters','.geodir-filter-container').each(function(){var $cont=this;var $form=jQuery($cont).closest('form');var $adv_show=jQuery($form).closest('.geodir-search-container').attr('data-show-adv');if($adv_show=='always'&&typeof jQuery('.geodir-show-filters',$form).html()!='undefined'){jQuery('.geodir-show-filters',$form).remove();if(!jQuery('.geodir-more-filters',$form).is(":visible")){jQuery('.geodir-more-filters',$form).slideToggle(500)}}});geodir_distance_popover_trigger()}function geodir_search_setup_searched_filters(){jQuery(document).on('click','.gd-adv-search-labels .gd-adv-search-label',function(e){if(!jQuery(this).hasClass('geodir-clear-filters')){var $this=jQuery(this),$form,name,to_name;name=$this.data('name');to_name=$this.data('names');if((typeof name!='undefined'&&name)||$this.hasClass('gd-adv-search-near')){jQuery('.geodir-search-container form').each(function(){$form=jQuery(this);if($this.hasClass('gd-adv-search-near')){name='snear';jQuery('.sgeo_lat,.sgeo_lon,.geodir-location-search-type',$form).val('');jQuery('.geodir-location-search-type',$form).attr('name','')}if(jQuery('[name="'+name+'"]',$form).closest('.gd-search-has-date').length){jQuery('[name="'+name+'"]',$form).closest('.gd-search-has-date').find('input').each(function(){geodir_search_deselect(jQuery(this))})}else{geodir_search_deselect(jQuery('[name="'+name+'"]',$form));if(typeof to_name!='undefined'&&to_name){geodir_search_deselect(jQuery('[name="'+to_name+'"]',$form))}if((name=='snear'||name=='dist')&&jQuery('.geodir-distance-popover',$form).length){if(jQuery('[name="_unit"]',$form).length){jQuery('[name="dist"]',$form).remove();var $btn=jQuery('.geodir-distance-show',$form);$btn.removeClass('btn-primary').addClass('btn-secondary');jQuery('.-gd-icon',$btn).removeClass('d-none');jQuery('.-gd-range',$btn).addClass('d-none')}}}});if(!window.isClearFilters){$form=jQuery('.geodir-search-container form');if($form.length>1){$form=jQuery('.geodir-current-form:visible').length?jQuery('.geodir-current-form:visible:first'):jQuery('.geodir-search-container:visible:first form')}geodir_search_trigger_submit($form)}}$this.remove()}})}function geodir_search_refresh_open_now_times(){jQuery('.geodir-search-container select[name="sopen_now"]').each(function(){geodir_search_refresh_open_now_time(jQuery(this))})}function geodir_search_refresh_open_now_time($this){var $option=$this.find('option[value="now"]'),label,value,d,date_now,time,$label,open_now_format=geodir_search_params.open_now_format;if($option.length&&open_now_format){if($option.data('bkp-text')){label=$option.data('bkp-text')}else{label=$option.text();$option.attr('data-bkp-text',label)}d=new Date();date_now=d.getFullYear()+'-'+(("0"+(d.getMonth()+1)).slice(-2))+'-'+(("0"+(d.getDate())).slice(-2))+'T'+(("0"+(d.getHours())).slice(-2))+':'+(("0"+(d.getMinutes())).slice(-2))+':'+(("0"+(d.getSeconds())).slice(-2));time=geodir_search_format_time(d);open_now=geodir_search_params.open_now_format;open_now=open_now.replace("{label}",label);open_now=open_now.replace("{time}",time);$option.text(open_now);$option.closest('select').data('date-now',date_now);$label=jQuery('.gd-adv-search-open_now .gd-adv-search-label-t');if(jQuery('.gd-adv-search-open_now').length&&jQuery('.gd-adv-search-open_now').data('value')=='now'){if($label.data('bkp-text')){label=$label.data('bkp-text')}else{label=$label.text();$label.attr('data-bkp-text',label)}open_now=geodir_search_params.open_now_format;open_now=open_now.replace("{label}",label);open_now=open_now.replace("{time}",time);
106$label.text(open_now)}}}function geodir_search_format_time(d){var format=geodir_search_params.time_format,am_pm=eval(geodir_search_params.am_pm),hours,aL,aU;hours=d.getHours();if(hours<12){aL=0;aU=1}else{hours=hours>12?hours-12:hours;aL=2;aU=3}time=format.replace("g",hours);time=time.replace("G",(d.getHours()));time=time.replace("h",("0"+hours).slice(-2));time=time.replace("H",("0"+(d.getHours())).slice(-2));time=time.replace("i",("0"+(d.getMinutes())).slice(-2));time=time.replace("s",'');time=time.replace("a",am_pm[aL]);time=time.replace("A",am_pm[aU]);return time}function geodir_search_deselect(el){var fType=jQuery(el).prop('type');switch(fType){case'checkbox':case'radio':jQuery(el).prop('checked',false);jQuery(el).trigger('gdclear');break;default:jQuery(el).val('');jQuery(el).trigger('gdclear');break}}function geodir_search_trigger_submit($form){if(!$form){$form=jQuery('.geodir-current-form').length?jQuery('.geodir-current-form'):jQuery('form[name="geodir-listing-search"]')}if($form.data('show')=='advanced'){if(jQuery('form.geodir-search-show-all:visible').length){$form=jQuery('form.geodir-search-show-all')}else if(jQuery('form.geodir-search-show-main:visible').length){$form=jQuery('form.geodir-search-show-main')}else if(jQuery('[name="geodir_search"]').closest('form:visible').length){$form=jQuery('[name="geodir_search"]').closest('form')}}geodir_click_search($form.find('.geodir_submit_search'))}function geodir_search_update_button(){return'<i class=\"fas fa-sync\" aria-hidden=\"true\"></i><span class=\"sr-only visually-hidden\">Update Results</span>'}var aui_cf_field_rules=[],aui_cf_field_key_rules={},aui_cf_field_default_values={};jQuery(function($){aui_cf_field_init_rules($)});function aui_cf_field_init_rules($){if(!$('[data-has-rule]').length){return}$('input.select2-search__field,.aui-cf-ignore-rule').attr('data-ignore-rule','');$('[data-rule-key]').on('change keypress keyup gdclear','input, textarea',function(){if(!$(this).hasClass('select2-search__field')){aui_cf_field_apply_rules($(this))}});$('[data-rule-key]').on('change change.select2 gdclear','select',function(){aui_cf_field_apply_rules($(this))});aui_cf_field_setup_rules($)}function aui_cf_field_setup_rules($){var aui_cf_field_keys=[];$('[data-rule-key]').each(function(){var key=$(this).data('rule-key'),irule=parseInt($(this).data('has-rule'));if(key){aui_cf_field_keys.push(key)}var parse_conds={};if($(this).data('rule-fie-0')){$(this).find('input,select,textarea').each(function(){if($(this).attr('required')||$(this).attr('oninvalid')){$(this).addClass('aui-cf-req');if($(this).attr('required')){$(this).attr('data-rule-req',true)}if($(this).attr('oninvalid')){$(this).attr('data-rule-oninvalid',$(this).attr('oninvalid'))}}});for(var i=0;i<irule;i++){var field=$(this).data('rule-fie-'+i);if(typeof parse_conds[i]==='undefined'){parse_conds[i]={}}parse_conds[i].action=$(this).data('rule-act-'+i);parse_conds[i].field=$(this).data('rule-fie-'+i);parse_conds[i].condition=$(this).data('rule-con-'+i);parse_conds[i].value=$(this).data('rule-val-'+i)}$.each(parse_conds,function(j,data){var item={field:{key:key,action:data.action,field:data.field,condition:data.condition,value:data.value,rule:{key:key,action:data.action,condition:data.condition,value:data.value}}};aui_cf_field_rules.push(item)})}aui_cf_field_default_values[$(this).data('rule-key')]=aui_cf_field_get_default_value($(this))});$.each(aui_cf_field_keys,function(i,fkey){aui_cf_field_key_rules[fkey]=aui_cf_field_get_children(fkey)});$('[data-rule-key]:visible').each(function(){var conds=aui_cf_field_key_rules[$(this).data('rule-key')];if(conds&&conds.length){var $main_el=$(this),el=aui_cf_field_get_element($main_el);if($(el).length){aui_cf_field_apply_rules($(el))}}})}function aui_cf_field_apply_rules($el){if(!$el.parents('[data-rule-key]').length){return}if($el.data('no-rule')){return}var key=$el.parents('[data-rule-key]').data('rule-key');var conditions=aui_cf_field_key_rules[key];if(typeof conditions==='undefined'){return}var field_type=aui_cf_field_get_type($el.parents('[data-rule-key]')),current_value=aui_cf_field_get_value($el);var $keys={},$keys_values={},$key_rules={};jQuery.each(conditions,function(index,condition){if(typeof $keys_values[condition.key]=='undefined'){$keys_values[condition.key]=[];$key_rules[condition.key]={}}$keys_values[condition.key].push(condition.value);$key_rules[condition.key]=condition});jQuery.each(conditions,function(index,condition){if(typeof $keys[condition.key]=='undefined'){$keys[condition.key]={}}if(condition.condition==='empty'){var field_value=Array.isArray(current_value)?current_value.join(''):current_value;if(!field_value||field_value===''){$keys[condition.key][index]=true}else{$keys[condition.key][index]=false}}else if(condition.condition==='not empty'){var field_value=Array.isArray(current_value)?current_value.join(''):current_value;if(field_value&&field_value!==''){$keys[condition.key][index]=true}else{$keys[condition.key][index]=false}}else if(condition.condition==='equals to'){var field_value=(Array.isArray(current_value)&¤t_value.length===1)?current_value[0]:current_value;if(((condition.value&&condition.value==condition.value)||(condition.value===field_value))&&aui_cf_field_in_array(field_value,$keys_values[condition.key])){$keys[condition.key][index]=true}else{$keys[condition.key][index]=false}}else if(condition.condition==='not equals'){var field_value=(Array.isArray(current_value)&¤t_value.length===1)?current_value[0]:current_value;if(jQuery.isNumeric(condition.value)&&parseInt(field_value)!==parseInt(condition.value)&&field_value&&!aui_cf_field_in_array(field_value,$keys_values[condition.key])){$keys[condition.key][index]=true}else if(condition.value!=field_value&&!aui_cf_field_in_array(field_value,$keys_values[condition.key])){$keys[condition.key][index]=true}else{$keys[condition.key][index]=false}}else if(condition.condition==='greater than'){var field_value=(Array.isArray(current_value)&¤t_value.length===1)?current_value[0]:current_value;if(jQuery.isNumeric(condition.value)&&parseInt(field_value)>parseInt(condition.value)){$keys[condition.key][index]=true}else{$keys[condition.key][index]=false}}else if(condition.condition==='less than'){var field_value=(Array.isArray(current_value)&¤t_value.length===1)?current_value[0]:current_value;if(jQuery.isNumeric(condition.value)&&parseInt(field_value)<parseInt(condition.value)){$keys[condition.key][index]=true}else{$keys[condition.key][index]=false}}else if(condition.condition==='contains'){var avalues=condition.value;if(!Array.isArray(avalues)){if(jQuery.isNumeric(avalues)){avalues=[avalues]}else{avalues=avalues.split(",")}}switch(field_type){case'multiselect':var found=false;for(var key in avalues){var svalue=jQuery.isNumeric(avalues[key])?avalues[key]:(avalues[key]).trim();if(!found&¤t_value&&((!Array.isArray(current_value)&¤t_value.indexOf(svalue)>=0)||(Array.isArray(current_value)&&aui_cf_field_in_array(svalue,current_value)))){found=true}}if(found){$keys[condition.key][index]=true}else{$keys[condition.key][index]=false}break;case'checkbox':if(current_value&&((!Array.isArray(current_value)&¤t_value.indexOf(condition.value)>=0)||(Array.isArray(current_value)&&aui_cf_field_in_array(condition.value,current_value)))){$keys[condition.key][index]=true}else{$keys[condition.key][index]=false}break;default:if(typeof $keys[condition.key][index]==='undefined'){if(current_value&¤t_value.indexOf(condition.value)>=0&&aui_cf_field_in_array(current_value,$keys_values[condition.key],false,true)){$keys[condition.key][index]=true}else{$keys[condition.key][index]=false}}break}}});jQuery.each($keys,function(index,field){if(aui_cf_field_in_array(true,field)){aui_cf_field_apply_action($el,$key_rules[index],true)}else{aui_cf_field_apply_action($el,$key_rules[index],false)}});if($keys.length){$el.trigger('aui_cf_field_on_change')}}
106function aui_cf_field_get_element($el){var el=$el.find('input,textarea,select').not('[data-ignore-rule]'),type=aui_cf_field_get_type($el);if(type&&window._aui_cf_field_elements&&typeof window._aui_cf_field_elements=='object'&&typeof window._aui_cf_field_elements[type]!='undefined'){el=window._aui_cf_field_elements[type]}return el}function aui_cf_field_get_type($el){return $el.data('rule-type')}function aui_cf_field_get_value($el){var current_value=$el.val();if($el.is(':checkbox')){current_value='';if($el.parents('[data-rule-key]').find('input:checked').not('[data-ignore-rule]').length>1){$el.parents('[data-rule-key]').find('input:checked').not('[data-ignore-rule]').each(function(){current_value=current_value+jQuery(this).val()+' '})}else{if($el.parents('[data-rule-key]').find('input:checked').not('[data-ignore-rule]').length>=1){current_value=$el.parents('[data-rule-key]').find('input:checked').not('[data-ignore-rule]').val()}}}if($el.is(':radio')){current_value=$el.parents('[data-rule-key]').find('input[type=radio]:checked').not('[data-ignore-rule]').val()}return current_value}function aui_cf_field_get_default_value($el){var value='',type=aui_cf_field_get_type($el);switch(type){case'text':case'number':case'date':case'textarea':case'select':value=$el.find('input:text,input[type="number"],textarea,select').not('[data-ignore-rule]').val();break;case'phone':case'email':case'color':case'url':case'hidden':case'password':case'file':value=$el.find('input[type="'+type+'"]').not('[data-ignore-rule]').val();break;case'multiselect':value=$el.find('select').not('[data-ignore-rule]').val();break;case'radio':if($el.find('input[type="radio"]:checked').not('[data-ignore-rule]').length>=1){value=$el.find('input[type="radio"]:checked').not('[data-ignore-rule]').val()}break;case'checkbox':if($el.find('input[type="checkbox"]:checked').not('[data-ignore-rule]').length>=1){if($el.find('input[type="checkbox"]:checked').not('[data-ignore-rule]').length>1){var values=[];values.push(value);$el.find('input[type="checkbox"]:checked').not('[data-ignore-rule]').each(function(){values.push(jQuery(this).val())});value=values}else{value=$el.find('input[type="checkbox"]:checked').not('[data-ignore-rule]').val()}}break;default:if(window._aui_cf_field_default_values&&typeof window._aui_cf_field_default_values=='object'&&typeof window._aui_cf_field_default_values[type]!='undefined'){value=window._aui_cf_field_default_values[type]}break}return{type:type,value:value}}function aui_cf_field_reset_default_value($el,bHide,setVal){if(!($el&&$el.length)){return}var type=aui_cf_field_get_type($el),key=$el.data('rule-key'),field=aui_cf_field_default_values[key];if(typeof setVal==='undefined'||(typeof setVal!=='undefined'&&setVal===null)){setVal=field.value}switch(type){case'text':case'number':case'date':case'textarea':$el.find('input:text,input[type="number"],textarea').not('[data-ignore-rule]').val(setVal);break;case'phone':case'email':case'color':case'url':case'hidden':case'password':case'file':$el.find('input[type="'+type+'"]:not("[data-ignore-rule]")').val(setVal);break;case'select':var $elSelect=$el.find('select').not('[data-ignore-rule]');$elSelect.find('option').prop('selected',false);$elSelect.val(setVal);$elSelect.trigger('change');break;case'multiselect':var $elSelect=$el.find('select').not('[data-ignore-rule]');$elSelect.find('option').prop('selected',false);if((typeof setVal==='object'||typeof setVal==='array')&&!setVal.length&&$elSelect.find('option:first').text()==''){$elSelect.find('option:first').remove()}if(typeof setVal==='string'){$elSelect.val(setVal)}else{jQuery.each(setVal,function(i,v){$elSelect.find('option[value="'+v+'"]').prop('selected',true)})}$elSelect.trigger('change');break;case'checkbox':if($el.find('input[type="checkbox"]:checked').not('[data-ignore-rule]').length>=1){$el.find('input[type="checkbox"]:checked').not('[data-ignore-rule]').prop('checked',false).removeAttr('checked')}if(Array.isArray(setVal)){jQuery.each(setVal,function(i,v){$el.find('input[type="checkbox"][value="'+v+'"]').not('[data-ignore-rule]').prop('checked',true)})}else{$el.find('input[type="checkbox"][value="'+setVal+'"]').not('[data-ignore-rule]').prop('checked',true)}break;case'radio':setTimeout(function(){if($el.find('input[type="radio"]:checked').not('[data-ignore-rule]').length>=1){$el.find('input[type="radio"]:checked').not('[data-ignore-rule]').prop('checked',fal
106se).removeAttr('checked')}$el.find('input[type="radio"][value="'+setVal+'"]').not('[data-ignore-rule]').prop('checked',true)},100);break;default:jQuery(document.body).trigger('aui_cf_field_reset_default_value',type,$el,field);break}if(!$el.hasClass('aui-cf-field-has-changed')){var el=aui_cf_field_get_element($el);if(type==='radio'||type==='checkbox'){el=el.find(':checked')}if(el){el.trigger('change');$el.addClass('aui-cf-field-has-changed')}}}function aui_cf_field_get_children(field_key){var rules=[];jQuery.each(aui_cf_field_rules,function(j,rule){if(rule.field.field===field_key){rules.push(rule.field.rule)}});return rules}function aui_cf_field_in_array(find,item,exact,match){var found=false,key;exact=!!exact;for(key in item){if((exact&&item[key]===find)||(!exact&&item[key]==find)||(match&&(typeof find==='string'||typeof find==='number')&&(typeof item[key]==='string'||typeof item[key]==='number')&&find.length&&find.indexOf(item[key])>=0)){found=true;break}}return found}function aui_cf_field_apply_action($el,rule,isTrue){var $destEl=jQuery('[data-rule-key="'+rule.key+'"]'),$inputEl=(rule.key&&$destEl.find('[name="'+rule.key+'"]').length)?$destEl.find('[name="'+rule.key+'"]'):null;if(rule.action==='show'&&isTrue){if($destEl.is(':hidden')&&!($destEl.hasClass('aui-cf-skip-reset')||($inputEl&&$inputEl.hasClass('aui-cf-skip-reset')))){aui_cf_field_reset_default_value($destEl)}aui_cf_field_show_element($destEl)}else if(rule.action==='show'&&!isTrue){if((!$destEl.is(':hidden')||($destEl.is(':hidden')&&($destEl.hasClass('aui-cf-force-reset')||($inputEl&&$inputEl.hasClass('aui-cf-skip-reset'))||($destEl.closest('.aui-cf-use-parent').length&&$destEl.closest('.aui-cf-use-parent').is(':hidden')))))&&!($destEl.hasClass('aui-cf-skip-reset')||($inputEl&&$inputEl.hasClass('aui-cf-skip-reset')))){var _setVal=$destEl.hasClass('aui-cf-force-empty')||($inputEl&&$inputEl.hasClass('aui-cf-force-empty'))?'':null;aui_cf_field_reset_default_value($destEl,true,_setVal)}aui_cf_field_hide_element($destEl)}else if(rule.action==='hide'&&isTrue){if((!$destEl.is(':hidden')||($destEl.is(':hidden')&&($destEl.hasClass('aui-cf-force-reset')||($inputEl&&$inputEl.hasClass('aui-cf-skip-reset'))||($destEl.closest('.aui-cf-use-parent').length&&$destEl.closest('.aui-cf-use-parent').is(':hidden')))))&&!($destEl.hasClass('aui-cf-skip-reset')||($inputEl&&$inputEl.hasClass('aui-cf-skip-reset')))){var _setVal=$destEl.hasClass('aui-cf-force-empty')||($inputEl&&$inputEl.hasClass('aui-cf-force-empty'))?'':null;aui_cf_field_reset_default_value($destEl,true,_setVal)}aui_cf_field_hide_element($destEl)}else if(rule.action==='hide'&&!isTrue){if($destEl.is(':hidden')&&!($destEl.hasClass('aui-cf-skip-reset')||($inputEl&&$inputEl.hasClass('aui-cf-skip-reset')))){aui_cf_field_reset_default_value($destEl)}aui_cf_field_show_element($destEl)}return $el.removeClass('aui-cf-field-has-changed')}function aui_cf_field_show_element($el){$el.removeClass('d-none').show();$el.find('.aui-cf-req').each(function(){if(jQuery(this).data('rule-req')){jQuery(this).removeAttr('required').prop('required',true)}if(jQuery(this).data('rule-oninvalid')){jQuery(this).removeAttr('oninvalid').attr('oninvalid',jQuery(this).data('rule-oninvalid'))}});if(window&&window.navigator.userAgent.indexOf("MSIE")!==-1){$el.css({"visibility":"visible"})}}function aui_cf_field_hide_element($el){$el.addClass('d-none').hide();$el.find('.aui-cf-req').each(function(){if(jQuery(this).data('rule-req')){jQuery(this).removeAttr('required')}if(jQuery(this).data('rule-oninvalid')){jQuery(this).removeAttr('oninvalid')}});if(window&&window.navigator.userAgent.indexOf("MSIE")!==-1){$el.css({"visibility":"hidden"})}} 107//# sourceURL=bootstrap-js-bundle-js-after 108</script>
vendor: 1 bytes, line 108
108
109<script id="apbct-public-bundle.min-js-js" src="https://gobybikebc.ca/wp-content/plugins/cleantalk-spam-protect/js/apbct-public-bundle.min.js?ver=6.79.1_1779750157"></script>
vendor: 1 bytes, line 109
109
110<script async data-wp-strategy="async" id="ct_bot_detector-js" src="https://fd.cleantalk.org/ct-bot-detector-wrapper.js?ver=6.79.1"></script>
vendor: 1 bytes, line 110
110
111<script id="userswp-js-extra"> 112var uwp_localize_data = {"uwp_more_char_limit":"100","uwp_more_text":"more","uwp_less_text":"less","error":"Something went wrong.","error_retry":"Something went wrong, please retry.","uwp_more_ellipses_text":"...","ajaxurl":"https://gobybikebc.ca/wp-admin/admin-ajax.php","login_modal":"1","register_modal":"1","forgot_modal":"1","uwp_pass_strength":"4","uwp_strong_pass_msg":"Please enter valid strong password.","default_banner":"https://gobybikebc.ca/wp-content/plugins/userswp/assets/images/banner.png","basicNonce":"6e85e85bc6"}; 113//# sourceURL=userswp-js-extra 114</script>
vendor: 1 bytes, line 114
114
115<script id="userswp-js" src="https://gobybikebc.ca/wp-content/plugins/userswp/assets/js/users-wp.min.js?ver=1.2.63"></script>
vendor: 1 bytes, line 115
115
116<script id="country-select-js-extra"> 117var uwp_country_data = {"af":"Afghanistan (\u202b\u0627\u0641\u063a\u0627\u0646\u0633\u062a\u0627\u0646\u202c\u200e)","ax":"\u00c5land Islands (\u00c5land)","al":"Albania (Shqip\u00ebri)","dz":"Algeria (\u202b\u0627\u0644\u062c\u0632\u0627\u0626\u0631\u202c\u200e)","as":"American Samoa","ad":"Andorra","ao":"Angola","ai":"Anguilla","ag":"Antigua and Barbuda","ar":"Argentina","am":"Armenia (\u0540\u0561\u0575\u0561\u057d\u057f\u0561\u0576)","aw":"Aruba","au":"Australia","at":"Austria (\u00d6sterreich)","az":"Azerbaijan (Az\u0259rbaycan)","bs":"Bahamas","bh":"Bahrain (\u202b\u0627\u0644\u0628\u062d\u0631\u064a\u0646\u202c\u200e)","bd":"Bangladesh (\u09ac\u09be\u0982\u09b2\u09be\u09a6\u09c7\u09b6)","bb":"Barbados","by":"Belarus (\u0411\u0435\u043b\u0430\u0440\u0443\u0441\u044c)","be":"Belgium (Belgi\u00eb)","bz":"Belize","bj":"Benin (B\u00e9nin)","bm":"Bermuda","bt":"Bhutan (\u0f60\u0f56\u0fb2\u0f74\u0f42)","bo":"Bolivia","ba":"Bosnia and Herzegovina (\u0411\u043e\u0441\u043d\u0430 \u0438 \u0425\u0435\u0440\u0446\u0435\u0433\u043e\u0432\u0438\u043d\u0430)","bw":"Botswana","br":"Brazil (Brasil)","io":"British Indian Ocean Territory","vg":"British Virgin Islands","bn":"Brunei","bg":"Bulgaria (\u0411\u044a\u043b\u0433\u0430\u0440\u0438\u044f)","bf":"Burkina Faso","bi":"Burundi (Uburundi)","kh":"Cambodia (\u1780\u1798\u17d2\u1796\u17bb\u1787\u17b6)","cm":"Cameroon (Cameroun)","ca":"Canada","cv":"Cape Verde (Kabu Verdi)","bq":"Caribbean Netherlands","ky":"Cayman Islands","cf":"Central African Republic (R\u00e9publique Centrafricaine)","td":"Chad (Tchad)","cl":"Chile","cn":"China (\u4e2d\u56fd)","cx":"Christmas Island","cc":"Cocos (Keeling) Islands (Kepulauan Cocos (Keeling))","co":"Colombia","km":"Comoros (\u202b\u062c\u0632\u0631 \u0627\u0644\u0642\u0645\u0631\u202c\u200e)","cd":"Congo (DRC) (Jamhuri ya Kidemokrasia ya Kongo)","cg":"Congo (Republic) (Congo-Brazzaville)","ck":"Cook Islands","cr":"Costa Rica","ci":"C\u00f4te d\u2019Ivoire","hr":"Croatia (Hrvatska)","cu":"Cuba","cw":"Cura\u00e7ao","cy":"Cyprus (\u039a\u03cd\u03c0\u03c1\u03bf\u03c2)","cz":"Czech Republic (\u010cesk\u00e1 republika)","dk":"Denmark (Danmark)","dj":"Djibouti","dm":"Dominica","do":"Dominican Republic (Rep\u00fablica Dominicana)","ec":"Ecuador","eg":"Egypt (\u202b\u0645\u0635\u0631\u202c\u200e)","sv":"El Salvador","gq":"Equatorial Guinea (Guinea Ecuatorial)","er":"Eritrea","ee":"Estonia (Eesti)","et":"Ethiopia","fk":"Falkland Islands (Islas Malvinas)","fo":"Faroe Islands (F\u00f8royar)","fj":"Fiji","fi":"Finland (Suomi)","fr":"France","gf":"French Guiana (Guyane fran\u00e7aise)","pf":"French Polynesia (Polyn\u00e9sie fran\u00e7aise)","ga":"Gabon","gm":"Gambia","ge":"Georgia (\u10e1\u10d0\u10e5\u10d0\u10e0\u10d7\u10d5\u10d4\u10da\u10dd)","de":"Germany (Deutschland)","gh":"Ghana (Gaana)","gi":"Gibraltar","gr":"Greece (\u0395\u03bb\u03bb\u03ac\u03b4\u03b1)","gl":"Greenland (Kalaallit Nunaat)","gd":"Grenada","gp":"Guadeloupe","gu":"Guam","gt":"Guatemala","gg":"Guernsey","gn":"Guinea (Guin\u00e9e)","gw":"Guinea-Bissau (Guin\u00e9 Bissau)","gy":"Guyana","ht":"Haiti","hn":"Honduras","hk":"Hong Kong (\u9999\u6e2f)","hu":"Hungary (Magyarorsz\u00e1g)","is":"Iceland (\u00cdsland)","in":"India (\u092d\u093e\u0930\u0924)","id":"Indonesia","ir":"Iran (\u202b\u0627\u06cc\u0631\u0627\u0646\u202c\u200e)","iq":"Iraq (\u202b\u0627\u0644\u0639\u0631\u0627\u0642\u202c\u200e)","ie":"Ireland","im":"Isle of Man","il":"Israel (\u202b\u05d9\u05e9\u05e8\u05d0\u05dc\u202c\u200e)","it":"Italy (Italia)","jm":"Jamaica","jp":"Japan (\u65e5\u672c)","je":"Jersey","jo":"Jordan (\u202b\u0627\u0644\u0623\u0631\u062f\u0646\u202c\u200e)","kz":"Kazakhstan (\u041a\u0430\u0437\u0430\u0445\u0441\u0442\u0430\u043d)","ke":"Kenya","ki":"Kiribati","xk":"Kosovo (Kosov\u00eb)","kw":"Kuwait (\u202b\u0627\u0644\u0643\u0648\u064a\u062a\u202c\u200e)","kg":"Kyrgyzstan (\u041a\u044b\u0440\u0433\u044b\u0437\u0441\u0442\u0430\u043d)","la":"Laos (\u0ea5\u0eb2\u0ea7)","lv":"Latvia (Latvija)","lb":"Lebanon (\u202b\u0644\u0628\u0646\u0627\u0646\u202c\u200e)","ls":"Lesotho","lr":"Liberia","ly":"Libya (\u202b\u0644\u064a\u0628\u064a\u0627\u202c\u200e)","li":"Liechtenstein","lt":"Lithuania (Lietuva)","lu":"Luxembourg","mo":"Macau (\u6fb3\u9580)","mk":"Macedonia (FYROM) (\u041c\u0430\u043a\u0435\u0434\u043e\u043d\u0438\u0458\u0430)","mg":"Madagascar (Madagasikara)","mw":"Malawi","my":"Malaysia","mv":"Maldives","ml":"Mali","mt":"Malta","mh":"Marshall Islands","mq":"Martinique","mr":"Mauritania (\u202b\u0645\u0648\u0631\u064a\u062a\u0627\u0646\u064a\u0627\u202c\u200e)","mu":"Mauritius (Moris)","yt":"Mayotte","mx":"Mexico (M\u00e9xico)","fm":"Micronesia","md":"Moldova (Republica Moldova)","mc":"Monaco","mn":"Mongolia (\u041c\u043e\u043d\u0433\u043e\u043b)","me":"Montenegro (Crna Gora)","ms":"Montserrat","ma":"Morocco (\u202b\u0627\u0644\u0645\u063a\u0631\u0628\u202c\u200e)","mz":"Mozambique (Mo\u00e7ambique)","mm":"Myanmar (Burma) (\u1019\u103c\u1014\u103a\u1019\u102c)","na":"Namibia (Namibi\u00eb)","nr":"Nauru","np":"Nepal (\u0928\u0947\u092a\u093e\u0932)","nl":"Netherlands (Nederland)","nc":"New Caledonia (Nouvelle-Cal\u00e9donie)","nz":"New Zealand","ni":"Nicaragua","ne":"Niger (Nijar)","ng":"Nigeria","nu":"Niue","nf":"Norfolk Island","kp":"North Korea (\uc870\uc120 \ubbfc\uc8fc\uc8fc\uc758 \uc778\ubbfc \uacf5\ud654\uad6d)","mp":"Northern Mariana Islands","no":"Norway (Norge)","om":"Oman (\u202b\u0639\u064f\u0645\u0627\u0646\u202c\u200e)","pk":"Pakistan (\u202b\u067e\u0627\u06a9\u0633\u062a\u0627\u0646\u202c\u200e)","pw":"Palau","ps":"Palestine (\u202b\u0641\u0644\u0633\u0637\u064a\u0646\u202c\u200e)","pa":"Panama (Panam\u00e1)","pg":"Papua New Guinea","py":"Paraguay","pe":"Peru (Per\u00fa)","ph":"Philippines","pn":"Pitcairn Islands","pl":"Poland (Polska)","pt":"Portugal","pr":"Puerto Rico","qa":"Qatar (\u202b\u0642\u0637\u0631\u202c\u200e)","re":"R\u00e9union (La R\u00e9union)","ro":"Romania (Rom\u00e2nia)","ru":"Russia (\u0420\u043e\u0441\u0441\u0438\u044f)","rw":"Rwanda","bl":"Saint Barth\u00e9lemy (Saint-Barth\u00e9lemy)","sh":"Saint Helena","kn":"Saint Kitts and Nevis","lc":"Saint Lucia","mf":"Saint Martin (Saint-Martin (partie fran\u00e7aise))","pm":"Saint Pierre and Miquelon (Saint-Pierre-et-Miquelon)","vc":"Saint Vincent and the Grenadines","ws":"Samoa","sm":"San Marino","st":"S\u00e3o Tom\u00e9 and Pr\u00edncipe (S\u00e3o Tom\u00e9 e Pr\u00edncipe)","sa":"Saudi Arabia (\u202b\u0627\u0644\u0645\u0645\u0644\u0643\u0629 \u0627\u0644\u0639\u0631\u0628\u064a\u0629 \u0627\u0644\u0633\u0639\u0648\u062f\u064a\u0629\u202c\u200e)","xs":"Scotland","sn":"Senegal (S\u00e9n\u00e9gal)","rs":"Serbia (\u0421\u0440\u0431\u0438\u0458\u0430)","sc":"Seychelles","sl":"Sierra Leone","sg":"Singapore","sx":"Sint Maarten","sk":"Slovakia (Slovensko)","si":"Slovenia (Slovenija)","sb":"Solomon Islands","so":"Somalia (Soomaaliya)","za":"South Africa","gs":"South Georgia & South Sandwich Islands","kr":"South Korea (\ub3
11700\ud55c\ubbfc\uad6d)","ss":"South Sudan (\u202b\u062c\u0646\u0648\u0628 \u0627\u0644\u0633\u0648\u062f\u0627\u0646\u202c\u200e)","es":"Spain (Espa\u00f1a)","lk":"Sri Lanka (\u0dc1\u0dca\u200d\u0dbb\u0dd3 \u0dbd\u0d82\u0d9a\u0dcf\u0dc0)","sd":"Sudan (\u202b\u0627\u0644\u0633\u0648\u062f\u0627\u0646\u202c\u200e)","sr":"Suriname","sj":"Svalbard and Jan Mayen (Svalbard og Jan Mayen)","sz":"Swaziland","se":"Sweden (Sverige)","ch":"Switzerland (Schweiz)","sy":"Syria (\u202b\u0633\u0648\u0631\u064a\u0627\u202c\u200e)","tw":"Taiwan (\u53f0\u7063)","tj":"Tajikistan","tz":"Tanzania","th":"Thailand (\u0e44\u0e17\u0e22)","tl":"Timor-Leste","tg":"Togo","tk":"Tokelau","to":"Tonga","tt":"Trinidad and Tobago","tn":"Tunisia (\u202b\u062a\u0648\u0646\u0633\u202c\u200e)","tr":"Turkey (T\u00fcrkiye)","tm":"Turkmenistan","tc":"Turks and Caicos Islands","tv":"Tuvalu","ug":"Uganda","ua":"Ukraine (\u0423\u043a\u0440\u0430\u0457\u043d\u0430)","ae":"United Arab Emirates (\u202b\u0627\u0644\u0625\u0645\u0627\u0631\u0627\u062a \u0627\u0644\u0639\u0631\u0628\u064a\u0629 \u0627\u0644\u0645\u062a\u062d\u062f\u0629\u202c\u200e)","gb":"United Kingdom","us":"United States","um":"U.S. Minor Outlying Islands","vi":"U.S. Virgin Islands","uy":"Uruguay","uz":"Uzbekistan (O\u02bbzbekiston)","vu":"Vanuatu","va":"Vatican City (Citt\u00e0 del Vaticano)","ve":"Venezuela","vn":"Vietnam (Vi\u1ec7t Nam)","xw":"Wales","wf":"Wallis and Futuna","eh":"Western Sahara (\u202b\u0627\u0644\u0635\u062d\u0631\u0627\u0621 \u0627\u0644\u063a\u0631\u0628\u064a\u0629\u202c\u200e)","ye":"Yemen (\u202b\u0627\u0644\u064a\u0645\u0646\u202c\u200e)","zm":"Zambia","zw":"Zimbabwe"}; 118//# sourceURL=country-select-js-extra 119</script>
vendor: 1 bytes, line 119
119
120<script id="country-select-js" src="https://gobybikebc.ca/wp-content/plugins/userswp/assets/js/countrySelect.min.js?ver=1.2.63"></script>
vendor: 1 bytes, line 120
120
121<script id="community-autocomplete-js" src="https://gobybikebc.ca/wp-content/themes/gobybike/js/custom.js?ver=7.0.6"></script>
121 122 123<!-- Google tag (gtag.js) snippet added by Site Kit --> 124<!-- Google Analytics snippet added by Site Kit -->
vendor: 80 bytes, lines 124-125
124 125<script id="google_gtagjs-js" src="https://www.googletagmanager.com/gtag/js?id=
125GT-TQRJXXR8
vendor: 18 bytes, line 125
125" async></script>
126<script id="google_gtagjs-js-after"> 127window.dataLayer = window.dataLayer || [];function gtag(){dataLayer.push(arguments);} 128gtag("set","linker",{"domains":["gobybikebc.ca"]}); 129gtag("js", new Date()); 130gtag("set", "developer_id.dZTNiMT", true); 131gtag("config", "GT-TQRJXXR8"); 132 window._googlesitekit = window._googlesitekit || {}; window._googlesitekit.throttledEvents = []; window._googlesitekit.gtagEvent = (name, data) => { var key = JSON.stringify( { name, data } ); if ( !! window._googlesitekit.throttledEvents[ key ] ) { return; } window._googlesitekit.throttledEvents[ key ] = true; setTimeout( () => { delete window._googlesitekit.throttledEvents[ key ]; }, 5 ); gtag( "event", name, { ...data, event_source: "site-kit" } ); }; 133//# sourceURL=google_gtagjs-js-after 134</script>
134 135<link rel="https://api.w.org/" href="https://gobybikebc.ca/wp-json/" /><link rel="alternate" title="JSON" type="application/json" href="https://gobybikebc.ca/wp-json/wp/v2/pages/2" /><meta name="generator" content="Site Kit by Google 1.181.0" />
135<script type="text/javascript"> 136 var ajaxurl = "https://gobybikebc.ca/wp-admin/admin-ajax.php"; 137 </script>
137 138<style> 139 .getpaid-price-buttons label{ 140 transition: all .3s ease-out; 141 text-align: center; 142 padding: 10px 20px; 143 background-color: #eeeeee; 144 border: 1px solid #e0e0e0; 145 } 146 147 .getpaid-price-circles label { 148 padding: 0 4px; 149 -moz-border-radius:50%; 150 -webkit-border-radius: 50%; 151 border-radius: 50%; 152 } 153 154 .getpaid-price-circles label span{ 155 display: block; 156 padding: 50%; 157 margin: -3em -50% 0; 158 position: relative; 159 top: 1.5em; 160 border: 1em solid transparent; 161 white-space: nowrap; 162 } 163 164 .getpaid-price-buttons input[type="radio"]{ 165 visibility: hidden; 166 height: 0; 167 width: 0 !important; 168 } 169 170 .getpaid-price-buttons input[type="radio"]:checked + label, 171 .getpaid-price-buttons label:hover { 172 color: #fff; 173 background-color: #1e73be; 174 border-color: #1e73be; 175 } 176 177 .getpaid-public-items-archive-single-item .inner { 178 box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24); 179 } 180 181 .getpaid-public-items-archive-single-item:hover .inner{ 182 box-shadow: 0 1px 4px rgba(0,0,0,0.15), 0 1px 3px rgba(0,0,0,0.30); 183 } 184 185 .wp-block-getpaid-public-items-getpaid-public-items-loop .item-name { 186 font-size: 1.3rem; 187 } 188 189 .getpaid-subscription-item-actions { 190 color: #ddd; 191 font-size: 13px; 192 padding: 2px 0 0; 193 position: relative; 194 left: -9999em; 195 } 196 197 .getpaid-subscriptions-table-row:hover .getpaid-subscription-item-actions { 198 position: static; 199 } 200 201 .getpaid-subscriptions table { 202 font-size: 0.9em; 203 table-layout: fixed; 204 } 205 206 .getpaid-subscriptions-table-column-subscription { 207 font-weight: 500; 208 } 209 210 .getpaid-subscriptions-table-row span.label { 211 font-weight: 500; 212 } 213 214 .getpaid-subscriptions.bsui .table-bordered thead th { 215 border-bottom-width: 1px; 216 } 217 218 .getpaid-subscriptions.bsui .table-striped tbody tr:nth-of-type(odd) { 219 background-color: rgb(0 0 0 / 0.01); 220 } 221 222 .wpinv-page .bsui a.btn { 223 text-decoration: none; 224 margin-right: 2px; 225 margin-bottom: 2px; 226 } 227 228 .getpaid-cc-card-inner { 229 max-width: 460px; 230 } 231 232 .getpaid-payment-modal-close { 233 position: absolute; 234 top: 0; 235 right: 0; 236 z-index: 200; 237 } 238 239 .getpaid-form-cart-item-price { 240 min-width: 120px !important; 241 } 242 243 /* Fabulous Fluid theme fix */ 244 #primary .getpaid-payment-form p { 245 float: none !important; 246 } 247 248 .bsui .is-invalid ~ .invalid-feedback, .bsui .is-invalid ~ .invalid-tooltip { 249 display: block 250 } 251 252 .bsui .is-invalid { 253 border-color: #dc3545 !important; 254 } 255 256 .getpaid-file-upload-element{ 257 height: 200px; 258 border: 3px dashed #dee2e6; 259 cursor: pointer; 260 } 261 262 .getpaid-file-upload-element:hover{ 263 border: 3px dashed #424242; 264 } 265 266 .getpaid-file-upload-element.getpaid-trying-to-drop { 267 border: 3px dashed #8bc34a; 268 background: #f1f8e9; 269 } 270</style> 271<meta name="generator" content="WP Super Duper v1.2.31" data-sd-source="userswp" /><meta name="generator" content="WP Font Awesome Settings v1.1.11" data-ac-source="userswp" /> 272 </head> 273 274<body class="home wp-singular page-template page-template-page-templates page-template-front page-template-page-templatesfront-php page page-id-2 wp-theme-gobybike geodir_advance_search offcanvas aui_bs5 gd-map-google"> 275 <div id="fb-root"></div> 276
276<script async defer crossorigin="anonymous" src="https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v6.0&appId=105721746510184&autoLogAppEvents=1"></script>
276 277 278 279<nav class="mobile-off-canvas-menu off-canvas position-left" id="off-canvas-menu" data-off-canvas data-auto-focus="true" role="navigation"> 280 <button class="close-button" aria-label="Close menu" type="button" data-close> 281 <span aria-hidden="true">×</span> 282 </button> 283 284 <ul id="menu-main-navigation" class="dropdown menu desktop-menu" data-dropdown-menu><li id="menu-item-114" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-home current-menu-item page_item page-item-2 current_page_item menu-item-114 is-active"><a href="https://gobybikebc.ca/" aria-current="page">Home</a></li> 285<li id="menu-item-115" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-115"><a href="https://gobybikebc.ca/about/">About GoByBike BC</a> 286<ul class="dropdown menu vertical" data-toggle> 287 <li id="menu-item-251" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-251"><a href="https://gobybikebc.ca/about/board-of-directors/">Board of Directors & Staff</a></li> 288 <li id="menu-item-250" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-250"><a href="https://gobybikebc.ca/about/history/">History</a></li> 289 <li id="menu-item-1698" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1698"><a href="https://gobybikebc.ca/about/strategic-plan-2022-2027/">Strategic Plan 2022-2027</a></li> 290 <li id="menu-item-2947" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-2947"><a href="https://gobybikebc.ca/news-announcements/">News & Announcements</a></li> 291 <li id="menu-item-3179" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-3179"><a href="https://gobybikebc.ca/about/mode-shift/">Mode Shift</a></li> 292</ul> 293</li> 294<li id="menu-item-116" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-116"><a href="https://gobybikebc.ca/event-info/">Event Info & Resources</a> 295<ul class="dropdown menu vertical" data-toggle> 296 <li id="menu-item-3937" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-3937"><a href="https://gobybikebc.ca/bring-gobybike-to-your-community/">Inspire Change, One Pedal At A Time</a></li> 297 <li id="menu-item-118" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-118"><a href="https://gobybikebc.ca/resources-media/">Digital Resources</a></li> 298 <li id="menu-item-321" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-321"><a href="https://gobybikebc.ca/resources-media/gobybike-for-schools/">School Resources</a></li> 299 <li id="menu-item-281" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-281"><a href="https://gobybikebc.ca/event-info/provincial-prizes/">Provincial Prizes</a></li> 300 <li id="menu-item-349" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-349"><a href="https://gobybikebc.ca/resources-media/be-a-team-leader/">Be a Team Leader</a></li> 301 <li id="menu-item-120" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-120"><a href="https://gobybikebc.ca/faqs/">FAQ</a> 302 <ul class="dropdown menu vertical" data-toggle> 303 <li id="menu-item-409" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-409"><a href="https://gobybikebc.ca/resources-media/how-to-backlog-bike-rides/">How to Backlog Bike Rides</a></li> 304 <li id="menu-item-366" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-366"><a href="https://gobybikebc.ca/resources-media/create-a-team/">Create a Team</a></li> 305 </ul> 306</li> 307</ul> 308</li> 309<li id="menu-item-4133" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-4133"><a href="https://gobybikebc.ca/bc-bike-friendly-business-directory/">BC Bike-Friendly Business Directory</a> 310<ul class="dropdown menu vertical" data-toggle> 311 <li id="menu-item-4301" class="gd-menu-item menu-item menu-item-type-post_type menu-item-object-page menu-item-4301"><a href="https://gobybikebc.ca/search/">Explore the BC Bike-Friendly Directory</a></li> 312 <li id="menu-item-4300" class="gd-menu-item geodir-location-switcher menu-item menu-item-type-custom menu-item-object-custom menu-item-4300"><a href="https://gobybikebc.ca/add-listing/bikefriendlybusiness/">Join the Directory</a></li> 313</ul> 314</li> 315<li id="menu-item-4353" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-4353">
315<a href="https://gobybikebc.ca/become-a-link/">Become a Link</a> 316<ul class="dropdown menu vertical" data-toggle> 317 <li id="menu-item-4355" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-4355"><a href="https://gobybikebc.ca/register/">Register</a></li> 318 <li id="menu-item-4354" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-4354"><a href="https://gobybikebc.ca/login/">Login</a></li> 319</ul> 320</li> 321<li id="menu-item-1939" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-1939"><a href="https://gobybikebc.ca/cycling-education/">Cycling Education</a> 322<ul class="dropdown menu vertical" data-toggle> 323 <li id="menu-item-4371" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-4371"><a href="https://gobybikebc.ca/?page_id=527">Winter Riding Resources</a></li> 324 <li id="menu-item-1940" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1940"><a href="https://gobybikebc.ca/cycling-education/learn2ride-online/">Learn2Ride Online</a></li> 325 <li id="menu-item-1941" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1941"><a href="https://gobybikebc.ca/cycling-education/streetwise-online/">StreetWise Cycling Online</a></li> 326 <li id="menu-item-3013" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-3013"><a href="https://gobybikebc.ca/cycling-education/ebike-education/">Ebike Safety & Maintenance Education</a></li> 327 <li id="menu-item-3370" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-3370"><a href="https://gobybikebc.ca/cycling-education/bike-theft-prevention/">Bike Theft Prevention</a></li> 328 <li id="menu-item-160" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-160"><a href="https://gobybikebc.ca/resources-media/safety-tips/">Safety Tips</a></li> 329</ul> 330</li> 331<li id="menu-item-121" class="donation menu-item menu-item-type-post_type menu-item-object-page menu-item-121"><a href="https://gobybikebc.ca/donate/">Donations & Sponsorships</a></li> 332<li id="menu-item-122" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-122"><a href="https://gobybikebc.ca/contact/">Contact</a></li> 333</ul> 334 335 <div class="social-connection--mobile"> 336 <h4>Connect With Us:</h4> 337 <ul> 338 <li> 339 <a href="https://www.facebook.com/gobybikebc/ " title="Follow us on Facebook" target="_blank"> 340 <span class="fa fa-facebook"></span> 341 </a> 342 </li> 343 <li> 344 <a href="https://twitter.com/GoByBikeBC" title="Follow us on Twitter" target="_blank"> 345 <span class="fa fa-twitter"></span> 346 </a> 347 </li> 348 <li> 349 <a href="https://www.instagram.com/gobybikebc/" title="Follow us on Instagram" target="_blank"> 350 <span class="fa fa-instagram"></span> 351 </a> 352 </li> 353 <li> 354 <a href="https://www.youtube.com/channel/UCwHV3ZjJ8pj3neOy46dkOHg/videos" title="Watch us on YouTube" target="_blank"> 355 <span class="fa fa-youtube"></span> 356 </a> 357 </li> 358 </ul> 359 </div> 360 361</nav> 362 363<div class="off-canvas-content" id="offCanvasRightPush" data-off-canvas data-transition="push"> 364 <div id="gbb-header"> 365 <button aria-label="Main Menu" class="menu-icon mobile-toggle" type="button" data-toggle="off-canvas-menu"></button> 366 <div class="gbb-header--main"> 367 <div class="grid-container"> 368 <div class="flex-row"> 369 <div class="cell small-12 cell-gbb-header"> 370 <div class="logo-container"> 371 <a class="logo" href="/"><img src="https://gobybikebc.ca/wp-content/themes/gobybike/dist/assets/images/logo-reduced.svg" alt="Go By Bike" height="36" width="145" id="gbb-logo" /></a> 372 373 <nav id="main-menu"> 374 <div id="selection-container" class="communities-list community-selected--no"> 375 <input tabindex="2" spellcheck="false" id="s" class="right community-selector" placeholder="Find community" /> 376 </div> 377 </nav> 378 379 <div class="social-connection--desktop"> 380 <h4>Connect With Us:</h4> 381 <ul> 382 <li> 383 <a href="https://www.facebook.com/gobybikebc/ " title="Follow us on Facebook" target="_blank"> 384 <span class="fa fa-facebook"></span> 385 </a> 386 </li> 387 <li> 388 <a href="https://twitter.com/GoByBikeBC" title="Follow us on Twitter" target="_blank"> 389 <span class="fa fa-twitter"></span> 390 </a> 391 </li> 392 <li> 393 <a href="https://www.instagram.com/gobybikebc/" title="Follow us on Instagram" target="_blank"> 394 <span class="fa fa-instagram"></span> 395 </a> 396 </li> 397 <li> 398 <a href="https://www.youtube.com/channel/UCwHV3ZjJ8pj3neOy46dkOHg/videos" title="Watch us on YouTube" target="_blank"> 399 <span class="fa fa-youtube"></span> 400 </a> 401 </li> 402 </ul> 403 </div> 404 </div> 405 406 <div class="account-info"> 407 <a class="btn btn-signup" href="https://logmyride.gobybikebc.ca/register">Create an Account</a> 408 <a class="btn btn-login" href="https://logmyride.gobybikebc.ca">Login</a> 409 </div> 410 </div> 411 </div>
412 </div> 413 </div> 414 <div class="gbb-header--sub"> 415 <div class="grid-container"> 416 <div class="flex-row"> 417 <div class="cell small-12 cell-gbb-subheader"> 418 <nav class="site-navigation" role="navigation" id="off-canvas-menu"> 419 420 <ul id="menu-main-navigation-1" class="dropdown menu desktop-menu" data-dropdown-menu><li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-home current-menu-item page_item page-item-2 current_page_item menu-item-114 is-active"><a href="https://gobybikebc.ca/" aria-current="page">Home</a></li> 421<li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-115"><a href="https://gobybikebc.ca/about/">About GoByBike BC</a> 422<ul class="dropdown menu vertical" data-toggle> 423 <li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-251"><a href="https://gobybikebc.ca/about/board-of-directors/">Board of Directors & Staff</a></li> 424 <li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-250"><a href="https://gobybikebc.ca/about/history/">History</a></li> 425 <li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1698"><a href="https://gobybikebc.ca/about/strategic-plan-2022-2027/">Strategic Plan 2022-2027</a></li> 426 <li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-2947"><a href="https://gobybikebc.ca/news-announcements/">News & Announcements</a></li> 427 <li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-3179"><a href="https://gobybikebc.ca/about/mode-shift/">Mode Shift</a></li> 428</ul> 429</li> 430<li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-116"><a href="https://gobybikebc.ca/event-info/">Event Info & Resources</a> 431<ul class="dropdown menu vertical" data-toggle> 432 <li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-3937"><a href="https://gobybikebc.ca/bring-gobybike-to-your-community/">Inspire Change, One Pedal At A Time</a></li> 433 <li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-118"><a href="https://gobybikebc.ca/resources-media/">Digital Resources</a></li> 434 <li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-321"><a href="https://gobybikebc.ca/resources-media/gobybike-for-schools/">School Resources</a></li> 435 <li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-281"><a href="https://gobybikebc.ca/event-info/provincial-prizes/">Provincial Prizes</a></li> 436 <li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-349"><a href="https://gobybikebc.ca/resources-media/be-a-team-leader/">Be a Team Leader</a></li> 437 <li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-120"><a href="https://gobybikebc.ca/faqs/">FAQ</a> 438 <ul class="dropdown menu vertical" data-toggle> 439 <li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-409"><a href="https://gobybikebc.ca/resources-media/how-to-backlog-bike-rides/">How to Backlog Bike Rides</a></li> 440 <li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-366"><a href="https://gobybikebc.ca/resources-media/create-a-team/">Create a Team</a></li> 441 </ul> 442</li> 443</ul> 444</li> 445<li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-4133"><a href="https://gobybikebc.ca/bc-bike-friendly-business-directory/">BC Bike-Friendly Business Directory</a> 446<ul class="dropdown menu vertical" data-toggle> 447 <li class="gd-menu-item menu-item menu-item-type-post_type menu-item-object-page menu-item-4301"><a href="https://gobybikebc.ca/search/">Explore the BC Bike-Friendly Directory</a></li> 448 <li class="gd-menu-item geodir-location-switcher menu-item menu-item-type-custom menu-item-object-custom menu-item-4300"><a href="https://gobybikebc.ca/add-listing/bikefriendlybusiness/">Join the Directory</a></li> 449</ul> 450</li> 451<li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-4353">
451<a href="https://gobybikebc.ca/become-a-link/">Become a Link</a> 452<ul class="dropdown menu vertical" data-toggle> 453 <li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-4355"><a href="https://gobybikebc.ca/register/">Register</a></li> 454 <li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-4354"><a href="https://gobybikebc.ca/login/">Login</a></li> 455</ul> 456</li> 457<li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-1939"><a href="https://gobybikebc.ca/cycling-education/">Cycling Education</a> 458<ul class="dropdown menu vertical" data-toggle> 459 <li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-4371"><a href="https://gobybikebc.ca/?page_id=527">Winter Riding Resources</a></li> 460 <li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1940"><a href="https://gobybikebc.ca/cycling-education/learn2ride-online/">Learn2Ride Online</a></li> 461 <li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1941"><a href="https://gobybikebc.ca/cycling-education/streetwise-online/">StreetWise Cycling Online</a></li> 462 <li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-3013"><a href="https://gobybikebc.ca/cycling-education/ebike-education/">Ebike Safety & Maintenance Education</a></li> 463 <li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-3370"><a href="https://gobybikebc.ca/cycling-education/bike-theft-prevention/">Bike Theft Prevention</a></li> 464 <li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-160"><a href="https://gobybikebc.ca/resources-media/safety-tips/">Safety Tips</a></li> 465</ul> 466</li> 467<li class="donation menu-item menu-item-type-post_type menu-item-object-page menu-item-121"><a href="https://gobybikebc.ca/donate/">Donations & Sponsorships</a></li> 468<li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-122"><a href="https://gobybikebc.ca/contact/">Contact</a></li> 469</ul> 470 </nav> 471 </div> 472 </div> 473 </div> 474 </div> 475 </div> 476 477 478<section class="homepage-anonymous"> 479 480 <div class="main-banner" style="background-image: url('https://gobybikebc.ca/wp-content/uploads/2020/03/banner-home-1920x1196.jpg')" > 481 <div class="grid-container small"> 482 <div class="grid-x grid-margin-x"> 483 <div class="cell small-12"> 484 <div class="banner-content"> 485 <div class="banner-content--inside"> 486 487 <h1>GoByBike BC â Ride, Log, and Make an Impact!</h1> 488<p>Cycling in BC isnât just funâitâs a movement. Every ride reduces greenhouse gases, supports healthier communities, and shows the power of riders across the province.</p> 489<h2>2026 GoByBike Weeks</h2> 490<ul> 491<li><strong>Winter:</strong> February 14th â 20th, 2026 <em>~ Completed ~</em></li> 492<li><strong>Spring:</strong> May 30th â June 5th, 2026 <em>~ Completed ~</em></li> 493<li><strong>Fall:</strong> Sept 19th â Sept 25th, 2026</li> 494</ul> 495<h2>Cycling Across BC in 2025</h2> 496<p>In 2025*, BC riders:</p> 497<ul> 498<li>Logged <strong>790,252Â rides</strong> covering <strong>11,994,563Â km</strong></li> 499<li>Saved <strong>2,600,413<strong> kg of greenhouse gases</strong></strong></li> 500<li>Resulting in 2,600,413 kg of GHGs saved by cycling in 2025 is approximately equivalent to removing the annual emissions of about <strong>600 typical passenger cars</strong><span style="font-size: inherit;"> from the road for one year (based on average car emissions).</span><strong><strong><br /> 501</strong></strong><em>*January 1, 2025 to December 31, 2025</em></li> 502</ul> 503<h2>2025 GoByBike Weeks</h2> 504<p><strong>60,709 participants</strong> joined this year, logging <strong>375,813 rides</strong> over <strong>4,487,129 km</strong> and saving <strong>972,811 kg GHG</strong>.</p> 505<p><strong>Missed a GoByBike Week?</strong> You can <a href="#">log rides year-round on LogMyRide</a> to track your impact, support advocacy, and stay motivated.</p> 506<h2>BC Bike Friendly Directory</h2> 507<p>The directory is linked to your <strong>membership profile</strong> and helps you:</p> 508<ul> 509<li>Find bike-friendly shops, cafes, and workplaces</li> 510<li>Plan safer, more convenient rides</li> 511<li>Support businesses that care about cycling</li> 512</ul> 513<p><a href="https://gobybikebc.ca/search">Explore the directory</a></p> 514<h2>Become a Link in Your Community</h2> 515<p>Membership supports local cycling programs, events, and advocacy. Connect people, strengthen networks, and make a tangible impact.</p> 516<p><a href="https://gobybikebc.ca/account/">Sign up here</a></p> 517<h2>Partner with Us</h2> 518<p>Organizations interested in supporting cycling in BC can email <a href="/cdn-cgi/l/email-protection#0960676f66496e666b706b60626c6b6a276a68"><span class="__cf_email__" data-cfemail="ea83848c85aa8d8588938883818f8889c4898b">[email protected]</span></a>.</p> 519 </div> 520 521 <div class="user-auth-btns"> 522 <a href="https://logmyride.gobybikebc.ca/register" class="btn" color="primary">Create an Account</a> 523 <a href="https://logmyride.gobybikebc.ca" class="btn sign-in" color="primary">Login</a> 524 </div> 525 526 <div id="provincial-stats" class="cell small-12"> 527 528 529 <ul class="provincial-stats"> 530 <li> 531 <span>Riders</span> 532 <strong>8,752</strong> 533 </li> 534 <li> 535 <span>Teams</span> 536 <strong>2,334</strong> 537 </li> 538 <li> 539 <span>New Riders</span> 540 <strong>1,821</strong> 541 </li> 542 <li> 543 <span>km Biked</span> 544 <strong>354,339</strong> 545 </li> 546 <li> 547 <span>Total Trips</span> 548 <strong>31,505</strong> 549 </li> 550 <li> 551 <span>kg GHGs Saved</span> 552 <strong>
55276,819</strong> 553 </li> 554 </ul> 555 556 557 </div> 558 559 </div> 560 </div> 561 </div> 562 </div> 563 </div> 564 565 <div class="participation-content" style="display:none;"> 566 <div class="grid-container fluid"> 567 <div class="grid-x grid-margin-x"> 568 <div class="cell small-12 large-7"> 569 <div class="participate"> 570 <div class="partcipate--content"> 571 <h2>We <i>love</i> Participation!</h2> 572 </div> 573 <div class="registration-cta"> 574 <h5>New to GoByBike?</h5> 575 <p> 576 <a href="https://logmyride.gobybikebc.ca/register" class="btn registration" color="primary">Create an Account</a> 577 </p> 578 </div> 579 </div> 580 </div> 581 <div class="cell small-12 large-5"> 582 <div class="participate-sponsors"> 583 <ul> 584 <li><img src="https://gobybikebc.ca/wp-content/themes/gobybike/dist/assets/images/bc-logo-white.svg" width="324" alt="Province of British Columbia sponsor"></li> 585 <li><img src="https://gobybikebc.ca/wp-content/themes/gobybike/dist/assets/images/bch-logo.svg" width="210" alt="BC Hydro sponsor"></li> 586 <li><img src="https://gobybikebc.ca/wp-content/themes/gobybike/dist/assets/images/blackpress_hor_white.png" width="220" alt="Blackpress sponsor"></li> 587 <li><img src="https://gobybikebc.ca/wp-content/themes/gobybike/dist/assets/images/ex-exodus-logo-stacked-whiteout.png" width="220" alt="Exodus Travels sponsor"></li> 588 <li><img src="https://gobybikebc.ca/wp-content/themes/gobybike/dist/assets/images/pedego-logo-white.png" width="220" alt="Pedego Electric Bikes"></li> 589 <li><img src="https://gobybikebc.ca/wp-content/themes/gobybike/dist/assets/images/icbc.svg" width="75" alt="ICBC sponsor"></li> 590 </ul> 591 </div> 592 </div> 593 </div> 594 </div> 595 <span class="biker-vector"></span> 596 </div> 597</section> 598 599<section class="information"> 600 <div class="grid-container small"> 601 <div class="flex-row"> 602 <div class="cell small-12"> 603 <div class="information--content"> 604 <p>Members of GoByBike BC are grateful to live, work, and be in relation with people from across many traditional and unceded territories, covering all regions of British Columbia. <br> 605 606We are honoured to live on this land and are committed to reconciliation, decolonization, and building relationships in our communities.</p> 607 </div> 608 </div> 609 </div> 610 </div> 611</section> 612 613 614 <section class="tiles"> 615 <div class="grid-container fluid"> 616 <div class="grid-x grid-padding-x"> 617 618 619 620 <div class="feature-cell"> 621 <a class="feature-box" target="_self" href="https://gobybikebc.ca/event-info/"> 622 <span class="text-content"> 623 <h3>GoByBike Week Campaigns</h3> 624 </span> 625 <span class="img-content" style="background-image: url('https://gobybikebc.ca/wp-content/uploads/2020/02/father-helping-daughter-bicycle-helmet.jpg')" ></span> 626 </a> 627 </div> 628 629 630 631 <div class="feature-cell"> 632 <a class="feature-box" target="_self" href="https://gobybikebc.ca/bc-bike-friendly-business-directory/"> 633 <span class="text-content"> 634 <h3>BC Bike-Friendly Business Directory</h3> 635 </span> 636 <span class="img-content" style="background-image: url('https://gobybikebc.ca/wp-content/uploads/2020/02/biking-to-work.jpg')" ></span> 637 </a> 638 </div> 639 640 641 642 <div class="feature-cell"> 643 <a class="feature-box" target="_self" href="https://gobybikebc.ca/become-a-link/"> 644 <span class="text-content"> 645 <h3>GoByBike Membership</h3> 646 </span> 647 <span class="img-content" style="background-image: url('https://gobybikebc.ca/wp-content/uploads/2020/02/bg-teams-dashboard.jpg')" ></span> 648 </a> 649 </div> 650 651 652 </div> 653 </div> 654 </section> 655 656 657<div class="homepage-dashboard"> 658 <div class="grid-container"> 659 <div class="grid-x grid-margin-x" style="justify-content: center"> 660 <div class="dashboard-feed cell small-12 large-9p5"> 661 662 <h2 class="feed-title">GoByBikeBC News & Announcements</h2> 663 <div class="community-feed"> 664 <ul class="feed-items"> 665 666 667 668<!-- Default type --> 669<li id="post-4785" class="feed-item feed-item--inherent box-style"> 670 <span class="feed-item--date">Sep 23, 2026</span> 671 <h2 class="feed-item--title"><a href="https://gobybikebc.ca/blog/2026/09/23/%f0%9f%9a%b2-were-halfway-there-lets-finish-fall-gobybike-week-strong-%f0%9f%9a%b2/">ð² Weâre Halfway There! Letâs Finish Fall GoByBike Week Strong ð²</a></h2> 672 <a 673 href="https://gobybikebc.ca/blog/2026/09/23/%f0%9f%9a%b2-were-halfway-there-lets-finish-fall-gobybike-week-strong-%f0%9f%9a%b2/" 674 class="feed-item--photo" 675 style="background-image: url('https://gobybikebc.ca/wp-content/uploads/2026/09/Fall-BLOG--1280x400.png') 676 "> 677 </a> 678 <div class="feed-item--excerpt"> 679 <p>Weâve reached the midway point of Fall GoByBike Week, and BC cyclists are already making an incredible impact! With three days still to go, weâve already surpassed the 6th day participation from last yearâs Fall campaign. ð That means thereâs even more riding, logging and community connection still to come. Whether... <a href="https://gobybikebc.ca/blog/2026/09/23/%f0%9f%9a%b2-were-halfway-there-lets-finish-fall-gobybike-week-strong-%f0%9f%9a%b2/">[Read More...]</a></p> 680 </div> 681</li> 682 683 684 685<!-- Default type --> 686<li id="post-4761" class="feed-item feed-item--inherent box-style"> 687 <span class="feed-item--date">Aug 17, 2026</span> 688 <h2 class="feed-item--title"><a href="https://gobybikebc.ca/blog/2026/08/17/the-challenge-is-live-day-1-lets-get-moving/">The Challenge is Live! Day 1: Let’s Get Moving</a></h2> 689 <a 690 href="https://gobybikebc.ca/blog/2026/08/17/the-challenge-is-live-day-1-lets-get-moving/" 691 class="feed-item--photo" 692 style="background-image: url('https://gobybikebc.ca/wp-content/uploads/2026/08/GBBxDC26-HeroImage-text-121-1280x280.png') 693 "> 694 </a> 695 <div class="feed-item--excerpt"> 696 <p>The day is here: 14 Days to Ride Pain-Free: A GoByBike Mobility & Strength Challenge officially begins today! ð Weâre so excited to welcome everyone who registered and take on these next 14 days together. From August 17-30, youâll receive a new guided routine each day through the Dynamic Cyclist app,... <a href="https://gobybikebc.ca/blog/2026/08/17/the-challenge-is-live-day-1-lets-get-moving/">[Read More...]</a></p> 697 </div> 698</li> 699 700 701 702 </ul> 703 <p class="text-center"> 704 <a href="https://gobybikebc.ca/news-announcements" class="btn btn--all-posts">All Posts</a> 705 </p> 706 </div> 707 708 </div> 709 </div> 710 </div> 711</div> 712 713<div class="activity-social"> 714 <div class="grid-container wide"> 715 <div class="grid-x grid-margin-x" style="justify-content: center"> 716 <div class="cell small-12 large-6"> 717 <div class="activity-feed"> 718 <h3>Activity Feed</h3> 719 <ul class="activities"> 720 721 <li> 722 <div class="grid-x grid-margin-x"> 723 <div class="cell small-4"> 724 <h4 class="rider-name">Tyler</h4> 725 <h6 class="community-name">
725Prince George</h6> 726 </div> 727 <div class="cell small-8"> 728 <span class="km-track"> 729 <strong>3</strong> km on Oct 01, 2026 </span> 730 </div> 731 </div> 732 </li> 733 734 735 <li> 736 <div class="grid-x grid-margin-x"> 737 <div class="cell small-4"> 738 <h4 class="rider-name">Bernard</h4> 739 <h6 class="community-name">Vancouver</h6> 740 </div> 741 <div class="cell small-8"> 742 <span class="km-track"> 743 <strong>14</strong> km on Oct 01, 2026 </span> 744 </div> 745 </div> 746 </li> 747 748 749 <li> 750 <div class="grid-x grid-margin-x"> 751 <div class="cell small-4"> 752 <h4 class="rider-name">Anthony</h4> 753 <h6 class="community-name">Whistler </h6> 754 </div> 755 <div class="cell small-8"> 756 <span class="km-track"> 757 <strong>10</strong> km on Oct 01, 2026 </span> 758 </div> 759 </div> 760 </li> 761 762 763 <li> 764 <div class="grid-x grid-margin-x"> 765 <div class="cell small-4"> 766 <h4 class="rider-name">Tina</h4> 767 <h6 class="community-name">Kelowna</h6> 768 </div> 769 <div class="cell small-8"> 770 <span class="km-track"> 771 <strong>7</strong> km on Oct 01, 2026 </span> 772 </div> 773 </div> 774 </li> 775 776 777 <li> 778 <div class="grid-x grid-margin-x"> 779 <div class="cell small-4"> 780 <h4 class="rider-name">Doug</h4> 781 <h6 class="community-name">Comox Valley</h6> 782 </div> 783 <div class="cell small-8"> 784 <span class="km-track"> 785 <strong>4</strong> km on Oct 01, 2026 </span> 786 </div> 787 </div> 788 </li> 789 790 791 <li> 792 <div class="grid-x grid-margin-x"> 793 <div class="cell small-4"> 794 <h4 class="rider-name">Sarah</h4> 795 <h6 class="community-name">Nanaimo</h6> 796 </div> 797 <div class="cell small-8"> 798 <span class="km-track"> 799 <strong>9</strong> km on Oct 01, 2026 </span> 800 </div> 801 </div> 802 </li> 803 804 805 <li> 806 <div class="grid-x grid-margin-x"> 807 <div class="cell small-4"> 808 <h4 class="rider-name">Caspian</h4> 809 <h6 class="community-name">Nanaimo</h6> 810 </div> 811 <div class="cell small-8"> 812 <span class="km-track"> 813 <strong>7</strong> km on Oct 01, 2026 </span> 814 </div> 815 </div> 816 </li> 817 818 819 <li> 820 <div class="grid-x grid-margin-x"> 821 <div class="cell small-4"> 822 <h4 class="rider-name">Evan</h4> 823 <h6 class="community-name">Vancouver</h6> 824 </div> 825 <div class="cell small-8"> 826 <span class="km-track"> 827 <strong>2</strong> km on Oct 01, 2026 </span> 828 </div> 829 </div> 830 </li> 831 832 833 <li> 834 <div class="grid-x grid-margin-x"> 835 <div class="cell small-4"> 836 <h4 class="rider-name">Samuel</h4> 837 <h6 class="community-name">Burnaby</h6> 838 </div> 839 <div class="cell small-8"> 840 <span class="km-track"> 841 <strong>8</strong> km on Oct 01, 2026 </span> 842 </div> 843 </div> 844 </li> 845 846 847 <li> 848 <div class="grid-x grid-margin-x"> 849 <div class="cell small-4"> 850 <h4 class="rider-name">Lebon</h4> 851 <h6 class="community-name">Burnaby</h6> 852 </div> 853 <div class="cell small-8"> 854 <span class="km-track"> 855 <strong>11</strong> km on Oct 01, 2026 </span> 856 </div> 857 </div> 858 </li> 859 860 861 862 </ul>
863 </div> 864 </div> 865 <div class="cell small-12 large-6"> 866 <h3>Follow Us On Social Media</h3> 867 <div class="embed-block" style="display:flex;justify-content:center"> 868 <iframe src="https://www.facebook.com/plugins/page.php?href=https%3A%2F%2Fwww.facebook.com%2FGoByBikeBC%2F&tabs=timeline&width=474&height=1222&small_header=true&adapt_container_width=true&hide_cover=false&show_facepile=false&appId=105721746510184" width="474" height="980" style="border:none;overflow:hidden" scrolling="no" frameborder="0" allowTransparency="true" allow="encrypted-media"></iframe> 869 </div> 870 </div> 871 </div> 872 </div> 873</div> 874 875<div class="divider-nature"></div> 876 877 878 <section class="testimonials-homepage"> 879 <div class="grid-container"> 880 <div class="grid-x grid-margin-x"> 881 <div class="cell small-12"> 882 <div class="inner-wrap"> 883 884 <h1>Testimonials</h1> 885 886 <div class="owl-carousel owl-theme"> 887 888 889 <div class="item"> 890 <div class="testimonial"> 891 <blockquote> 892 <p><p>I like using a bicycle for transportation because on a beautiful day, itâs more enjoyable than driving a car. I get exercise, and I donât contribute car exhaust to the environment.</p> 893</p> 894 <cite>Nancy Lilienweiss, Quesnel </cite> 895 </blockquote> 896 </div> 897 </div> 898 899 900 <div class="item"> 901 <div class="testimonial"> 902 <blockquote> 903 <p><p>Biking to work helps me focus at work and it motivates me to keep healthy and active and keep exercising. It is a good boost on my workouts and on busy days when Iâm not able to find the time to go to the gym it doesnât make me feel guilty as I get to bike and still have a good workout.</p> 904</p> 905 <cite>Marissa, Fort St. John</cite> 906 </blockquote> 907 </div> 908 </div> 909 910 911 <div class="item"> 912 <div class="testimonial"> 913 <blockquote> 914 <p><p>Participating in GoByBike Week, for me, is about recognizing all the small every day places I can go on a bike without having to be an a to be an avid cyclist. It is the one inclusive cycling event for anyone, on any type of bike, with any ability who travels any distance at all.</p> 915</p> 916 <cite>Leise Reimer, Penticton</cite> 917 </blockquote> 918 </div> 919 </div> 920 921 922 <div class="item"> 923 <div class="testimonial"> 924 <blockquote> 925 <p><p>I joined this event thinking it would be fun to ride my bike to work for a week and participate in a group activity. Since the event however, I have been riding my bike to work, to the grocery store, to the gym, everywhere! This event (and the fuel prices) was the push I needed to change my mindset about getting around. I am looking forward to participating in more events in the future.</p> 926</p> 927 <cite>Janna (Community planner through the City), Merritt </cite> 928 </blockquote> 929 </div> 930 </div> 931 932 933 <div class="item"> 934 <div class="testimonial"> 935 <blockquote> 936 <p><p>Itâs almost #GoByBike week, and rain or shine Iâll be out and about, pedaling to meetings, to visit local businesses, and just because it feels good.</p> 937</p> 938 <cite>Christine Boyle, City of Vancouver Councillor, Metro Vancouver </cite> 939 </blockquote> 940 </div> 941 </div> 942 943 944 <div class="item"> 945 <div class="testimonial"> 946 <blockquote> 947 <p><p>As a new teacher, GoByBike Week has been an amazing way to build connections with students as well as motivate them to get out and be active all year round. When I was twelve (the age my students are now) my bike was my ticket to freedom and exploration. It enabled me to explore where I lived with a level of independence that felt like a revelation. </p> 948</p> 949 <cite>Chris Townsend (Teacher and Team Leader at Ballenas Secondary School), Oceanside </cite> 950 </blockquote> 951 </div> 952 </div> 953 954 955 <div class="item"> 956 <div class="testimonial"> 957 <blockquote> 958 <p><p>I used to ride a lot as I trained for various triathlons but had only had my bike out for a ride once in the past 3 years. GoByBike Week encouraged me to dig my bike out from storage and connect with a Cops for Cancer â Tour de Rock rider to go for a training ride together. I managed 41km on that ride and with the wind whizzing around me, it felt great to be back on my bike! I foresee a summer filled with lots of cycling now.</p> 959</p> 960 <cite>Janet Dorward, Port Hardy </cite> 961 </blockquote> 962 </div> 963 </div> 964 965 966 <div class="item"> 967 <div class="testimonial"> 968 <blockquote> 969 <p><p>Go By Bike Week 2022 was more than I could have ever expected! This is my fifth year participating and I have made many connections with fellow cyclists in my community through the and it was great to catch up with them at the stations. The pinnacle of happiness for me though is that this year during Go By Bike Week my Mom and I were able to hangout every morning, drink coffee and have some snacks. Both she and I lead very busy lives and we arenât always able to set aside so much time for each other. Go By Bike Week this year has opened my eyes to a need to make more time for my family and I can do this through cycling. Whether we meet up in the morning for a quick chat over hot drinks or go for a leisurely ride after work, Spring Go By Bike Week 2022 has shown that I can squeeze a little more time in
969with the people I love. Thanks to all the organizers and sponsors throughout the Province and in Prince George!</p> 970</p> 971 <cite>Dane Greenwell, Prince George </cite> 972 </blockquote> 973 </div> 974 </div> 975 976 977 <div class="item"> 978 <div class="testimonial"> 979 <blockquote> 980 <p><p>This year was the first time we were participating to GoByBike week as a family. We challenged ourself to do every single celebration station, regardless of the weather or distance. My son had the time of his life! He was motivated to get on the cargo bike every day, excited about the âbicycle partyâ. We loved the ambience, the music, the snacks, and above all; the great people that made this event possible. We were also part of my workplace team. The free bus helped get my parents to the city with their folding bikes effortlessly. I had a good time showing them the new infrastructures put in place the last few years. They were surprisingly comfortable going around the city despite having very little experience in busy settings. This GoByBike week made many great family memories. Thank you to GoByBikeBC, Capital Bike and the volunteers. Looking forward to the next event!â </p> 981</p> 982 <cite>S.B., Greater Victoria </cite> 983 </blockquote> 984 </div> 985 </div> 986 987 988 <div class="item"> 989 <div class="testimonial"> 990 <blockquote> 991 <p><p>Just wanted to thank you for promoting us a GoByBike BC this year. We have been partners with the RCMP, City of Nanaimo, and GoByBike since 2015 and itâs because of organizations like yourself that cycling is expanding across Nanaimo. We at Project 529 are in the business of reducing bike theft and in return increasing the number of cyclists, and without partnerships like yours we just wouldnât be able to have the reach needed.</p> 992</p> 993 <cite>Rob Brunt (Project 529 Garage), Nanaimo </cite> 994 </blockquote> 995 </div> 996 </div> 997 998 999 </div> 1000 1001 </div> 1002 </div> 1003 </div> 1004 </div> 1005 </section> 1006 1007 1008 1009<section id="sponsors"> 1010 <div class="sponsors-group sponsors-provincial"> 1011 <h2>Provincial Sponsors</h2> 1012 <div class="grid-container"> 1013 <div class="grid-x grid-padding-x"> 1014 <div class="small-12 cell cell-sponsors master-sponsors"> 1015 1016 <div class="sponsors-container"> 1017 <div class="sponsor-item"> 1018 <a target="_blank" href="https://www.swagman.ca/"> 1019 <img src="https://gobybikebc.ca/wp-content/uploads/2026/04/Swagman_stacked_black-170x90.png"> 1020 </a> 1021 </div> 1022 <div class="sponsor-item"> 1023 <a target="_blank" href="https://www.mec.ca/en"> 1024 <img src="https://gobybikebc.ca/wp-content/uploads/2025/05/1bfd4fb7-b68f-4844-91ca-1fa281d65c0f-177x90.png"> 1025 </a> 1026 </div> 1027 <div class="sponsor-item"> 1028 <a target="_blank" href="https://arkel.ca/"> 1029 <img src="https://gobybikebc.ca/wp-content/uploads/2025/05/ARKEL_noir-135x90.png"> 1030 </a> 1031 </div> 1032 <div class="sponsor-item"> 1033 <a target="_blank" href="https://icbc.com/"> 1034 <img src="https://gobybikebc.ca/wp-content/uploads/2020/02/icbc-logo-90x90.jpg"> 1035 </a> 1036 </div> 1037 <div class="sponsor-item"> 1038 <a target="_blank" href="https://pedegoelectricbikes.ca/"> 1039 <img src="https://gobybikebc.ca/wp-content/uploads/2023/05/Pedego-Logo-Black-Teal-200x84.png"> 1040 </a> 1041 </div> 1042 </div> 1043 1044 </div> 1045 </div> 1046 </div> 1047 </div> 1048 1049 </section> 1050 1051<footer class="globalFooter"> 1052 <div class="grid-container wide"> 1053 <div class="globalFooter--items"> 1054 <div class="footer-item footer-branding"> 1055 <img width="275" src="https://gobybikebc.ca/wp-content/themes/gobybike/dist/assets/images/gbb-logo-white.svg"> 1056 </div> 1057 <nav class="footer-item footer-nav"> 1058 1059 <ul id="menu-footer-navigation" class="dropdown menu desktop-menu"><li id="menu-item-130" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-130"><a href="https://gobybikebc.ca/about/">About GoByBike BC</a></li> 1060<li id="menu-item-132" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-132"><a href="https://gobybikebc.ca/event-info/">Event Info</a></li> 1061<li id="menu-item-133" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-133"><a href="https://gobybikebc.ca/resources-media/">Digital Resources</a></li> 1062<li id="menu-item-134" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-134"><a href="https://gobybikebc.ca/?page_id=107">Sponsor</a></li> 1063<li id="menu-item-135" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-135"><a href="https://gobybikebc.ca/faqs/">FAQ</a></li> 1064<li id="menu-item-131" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-131"><a href="https://gobybikebc.ca/contact/">Contact</a></li> 1065</ul> 1066 <div class="copyright"> 1067 <span>
1067Copyright © 2007-2026 GoByBikeBC. All rights reserved.</span><br /> 1068 <a target="_top" href="https://logmyride.gobybikebc.ca/privacy-policy">Privacy Policy</a> | <a target="_top" href="https://logmyride.gobybikebc.ca/terms">Usage Agreement</a> 1069 </div> 1070 </nav> 1071 <div class="footer-item footer-sponsors"> 1072 <img width="275" src="https://gobybikebc.ca/wp-content/themes/gobybike/dist/assets/images/bc-logo2-white.svg"> 1073 </div> 1074 </div> 1075 </div> 1076</footer> 1077 1078 </div><!-- Close off-canvas content -->
vendor: 110 bytes, lines 1078-1080
1078 1079 1080<script data-cfasync="false" src="/cdn-cgi/scripts/5c5dd728/cloudflare-static/email-decode.min.js"></script>
1080<script type="speculationrules"> 1081{"prefetch":[{"source":"document","where":{"and":[{"href_matches":"/*"},{"not":{"href_matches":["/wp-*.php","/wp-admin/*","/wp-content/uploads/*","/wp-content/*","/wp-content/plugins/*","/wp-content/themes/gobybike/*","/*\\?(.+)"]}},{"not":{"selector_matches":"a[rel~=\"nofollow\"]"}},{"not":{"selector_matches":".no-prefetch, .no-prefetch a"}}]},"eagerness":"conservative"}]} 1082</script>
1082 1083
1083<script type="text/javascript"> 1084 var default_location = 'Vancouver'; 1085 var latlng; 1086 var address; 1087 var dist = 0; 1088 var Sgeocoder = (typeof google!=='undefined' && typeof google.maps!=='undefined') ? new google.maps.Geocoder() : {}; 1089 1090 jQuery(function($) { 1091 if ($('.geodir-listing-search input[name="snear"]').length && !window.geodirMapAllScriptsLoaded) { 1092 $('.geodir-listing-search input[name="snear"]').each(function() { 1093 if (!window.geodirMapAllScriptsLoaded) { 1094 $(this).on('focus', function(e){ 1095 /* Load lazy load scripts */ 1096 if (!window.geodirMapAllScriptsLoaded && !window.geodirApiScriptLoading) { 1097 $(this).geodirLoadMap({loadJS: true}); 1098 jQuery(window).trigger('resize'); 1099 } 1100 }); 1101 } 1102 }); 1103 } 1104 }); 1105 1106 function geodir_setup_submit_search($form) { 1107 jQuery('.geodir_submit_search').off('click');// unbind any other click events 1108 jQuery('.geodir_submit_search').on("click",function(e) { 1109 e.preventDefault(); 1110 1111 var s = ' '; 1112 var $form = jQuery(this).closest('form'); 1113 1114 if (jQuery("#sdistance input[type='radio']:checked").length != 0) dist = jQuery("#sdistance input[type='radio']:checked").val(); 1115 if (jQuery('.search_text', $form).val() == '' || jQuery('.search_text', $form).val() == 'Search for') jQuery('.search_text', $form).val(s); 1116 1117 // Disable location based search for disabled location post type. 1118 if (jQuery('.search_by_post', $form).val() != '' && typeof gd_cpt_no_location == 'function') { 1119 if (gd_cpt_no_location(jQuery('.search_by_post', $form).val())) { 1120 jQuery('.snear', $form).remove(); 1121 jQuery('.sgeo_lat', $form).remove(); 1122 jQuery('.sgeo_lon', $form).remove(); 1123 jQuery('select[name="sort_by"]', $form).remove(); 1124 jQuery($form).trigger("submit"); 1125 return; 1126 } 1127 } 1128 1129 if ( 1130 dist > 0 1131 || (jQuery('select[name="sort_by"]').val() == 'nearest' 1132 || jQuery('select[name="sort_by"]', $form).val() == 'farthest') 1133 || (jQuery(".snear", $form).val() != '' && jQuery(".snear", $form).val() != 'Near' && !jQuery('.geodir-location-search-type', $form).val() ) 1134 ) { 1135 1136 var vNear = jQuery(".snear", $form).val(); 1137 /* OSM can't handle post code with no space so we test for it and add one if needed */ 1138 if(window.gdMaps === 'osm'){ 1139 var $near_val = vNear; 1140 var $is_post_code = $near_val.match("^([A-Za-z][A-Ha-hJ-Yj-y]?[0-9][A-Za-z0-9]??[0-9][A-Za-z]{2}|[Gg][Ii][Rr] ?0[Aa]{2})$"); 1141 if($is_post_code){ 1142 $near_val = $near_val.replace(/.{3}$/,' $&'); 1143 jQuery(".snear", $form).val($near_val); 1144 } 1145 } 1146 1147 geodir_setsearch($form); 1148 } else { 1149 jQuery(".snear", $form).val(''); 1150 jQuery($form).trigger("submit"); 1151 } 1152 }); 1153 // Clear near search GPS for core 1154 if (!jQuery('input.geodir-location-search-type').length && jQuery('[name="snear"]').length){ 1155 jQuery('[name="snear"]').off('keyup'); 1156 jQuery('[name="snear"]').on('keyup', function($){ 1157 jQuery('.sgeo_lat').val(''); 1158 jQuery('.sgeo_lon').val(''); 1159 }); 1160 } 1161 } 1162 1163 jQuery(document).ready(function() { 1164 geodir_setup_submit_search(); 1165 //setup advanced search form on form ajax load 1166 jQuery("body").on("geodir_setup_search_form", function($form){ 1167 geodir_setup_submit_search($form); 1168 }); 1169 }); 1170 1171 function geodir_setsearch($form) { 1172 if ((dist > 0 || (jQuery('select[name="sort_by"]', $form).val() == 'nearest' || jQuery('select[name="sort_by"]', $form).val() == 'farthest')) && (jQuery(".snear", $form).val() == '' || jQuery(".snear", $form).val() == 'Near')) jQuery(".snear", $form).val(default_location); 1173 geocodeAddress($form); 1174 } 1175 1176 function updateSearchPosition(latLng, $form) { 1177 if (window.gdMaps === 'google') { 1178 jQuery('.sgeo_lat').val(latLng.lat()); 1179 jQuery('.sgeo_lon').val(latLng.lng()); 1180 } else if (window.gdMaps === 'osm') { 1181 jQuery('.sgeo_lat').val(latLng.lat); 1182 jQuery('.sgeo_lon').val(latLng.lon); 1183 } 1184 jQuery($form).trigger("submit"); // submit form after inserting the lat long positions 1185 } 1186 1187 function geocodeAddress($form) { 1188 // Call the geocode function 1189 Sgeocoder = window.gdMaps == 'google' ? new google.maps.Geocoder() : null; 1190 1191 if (jQuery('.snear', $form).val() == '' || ( jQuery('.sgeo_lat').val() != '' && jQuery('.sgeo_lon').val() != '' ) || (jQuery('.snear', $form).val() && jQuery('.snear', $form).val().match("^In:"))) { 1192 if (jQuery('.snear', $form).val() && jQuery('.snear', $form).val().match("^In:")) { 1193 jQuery(".snear", $form).val(''); 1194 } 1195 jQuery($form).trigger("submit"); 1196 } else { 1197 var address = jQuery(".snear", $form).val(); 1198 1199 if (address && address.trim() == 'Near') { 1200 initialise2(); 1201 } else if(address && address.trim() == 'Near: My Location') { 1202 jQuery($form).trigger("submit"); 1203 } else { 1204 var search_address = address+", British Columbia"; 1205 if (window.gdMaps === 'google') { 1206 var geocodeQueryParams = {'address': search_address}; 1207 if (geodirIsZipCode(address)) { 1208 if (typeof geocodeQueryParams['componentRestrictions'] != 'undefined') { 1209 if (typeof geocodeQueryParams['componentRestrictions']['postalCode'] == 'undefined') { 1210 geocodeQueryParams['componentRestrictions']['postalCode'] = address; 1211 } 1212 } else { 1213 geocodeQueryParams['componentRestrictions'] = {'postalCode': address}; 1214 } 1215 } 1216 if (typeof geocodeQueryParams['componentRestrictions'] != 'undefined') { if (typeof geocodeQueryParams['componentRestrictions']['country'] == 'undefined') { geocodeQueryParams['componentRestrictions']['country'] = 'CA'; } } else { geocodeQueryParams['componentRestrictions'] = {'country': 'CA'}; } 1217 Sgeocoder.geocode(geocodeQueryParams, 1218 function (results, status) { 1219 if (status == google.maps.GeocoderStatus.OK) { 1220 updateSearchPosition(results[0].geometry.location, $form); 1221 } else { 1222 alert("Search was not successful for the following reason :" + status); 1223 } 1224 }); 1225 } else if (window.gdMaps === 'osm') { 1226 var osmCountryCodes = false;
1227 osmCountryCodes = 'ca'; geocodePositionOSM(false, search_address, osmCountryCodes, false, 1228 function(geo) { 1229 if (typeof geo !== 'undefined' && geo.lat && geo.lon) { 1230 updateSearchPosition(geo, $form); 1231 } else { 1232 alert("Search was not successful for the requested address."); 1233 } 1234 }); 1235 } else { 1236 jQuery($form).trigger("submit"); 1237 } 1238 } 1239 } 1240 } 1241 1242 function geodirIsZipCode(string) { 1243 if (/^\d+$/.test(string)) { 1244 if (string.length > 3 && string.length < 7) { 1245 return true; 1246 } 1247 } 1248 return false; 1249 } 1250 1251 function initialise2() { 1252 if (!window.gdMaps) { 1253 return; 1254 } 1255 1256 if (window.gdMaps === 'google') { 1257 var latlng = new google.maps.LatLng(56.494343, -4.205446); 1258 var myOptions = { 1259 zoom: 4, 1260 mapTypeId: google.maps.MapTypeId.TERRAIN, 1261 disableDefaultUI: true 1262 } 1263 } else if (window.gdMaps === 'osm') { 1264 var latlng = new L.LatLng(56.494343, -4.205446); 1265 var myOptions = { 1266 zoom: 4, 1267 mapTypeId: 'TERRAIN', 1268 disableDefaultUI: true 1269 } 1270 } 1271 try { prepareGeolocation(); } catch (e) {} 1272 doGeolocation(); 1273 } 1274 1275 function doGeolocation() { 1276 if (navigator.geolocation) { 1277 navigator.geolocation.getCurrentPosition(positionSuccess, positionError); 1278 } else { 1279 positionError(-1); 1280 } 1281 } 1282 1283 function positionError(err) { 1284 var msg; 1285 switch (err.code) { 1286 case err.UNKNOWN_ERROR: 1287 msg = "Unable to find your location"; 1288 break; 1289 case err.PERMISSION_DENINED: 1290 msg = "Permission denied in finding your location"; 1291 break; 1292 case err.POSITION_UNAVAILABLE: 1293 msg = "Your location is currently unknown"; 1294 break; 1295 case err.BREAK: 1296 msg = "Attempt to find location took too long"; 1297 break; 1298 default: 1299 msg = "Location detection not supported in browser"; 1300 } 1301 jQuery('#info').html(msg); 1302 } 1303 1304 function positionSuccess(position) { 1305 var coords = position.coords || position.coordinate || position; 1306 jQuery('.sgeo_lat').val(coords.latitude); 1307 jQuery('.sgeo_lon').val(coords.longitude); 1308 1309 jQuery('.geodir-listing-search').trigger("submit"); 1310 } 1311 1312 /** 1313 * On unload page do some cleaning so back button cache does not store these values. 1314 */ 1315 jQuery(window).on("beforeunload", function(e) { 1316 if(jQuery('.sgeo_lat').length ){ 1317 jQuery('.sgeo_lat').val(''); 1318 jQuery('.sgeo_lon').val(''); 1319 } 1320 }); 1321 </script>
1321 1322
1322<script type="text/javascript"> 1323var gdasac_selected = '', gdasac_li_type = '', gdasac_categories = [], gdasac_tags = [], gdasac_listings = [], gdasac_do_not_close = false, gdasac_doing_search = 0, gdasac_is_search = false, gdasac_keyup_timeout = null, gdasac_suggestions_with = '', gdasac_with_tags = true; 1324jQuery(function($) { 1325 /*Init*/ 1326 gdas_ac_init('.gd_search_text'); 1327 if ($('.gd_search_text').length){$('.gd_search_text').each(function(){if(!$(this).parent().find(".gdas-search-suggestions").length){jQuery(this).after("<div class='dropdown-menu dropdown-caret-0 w-100 scrollbars-ios overflow-auto p-0 m-0 gd-suggestions-dropdown gdas-search-suggestions gd-ios-scrollbars'><ul class='gdasac-listing list-unstyled p-0 m-0'></ul><ul class='gdasac-category list-unstyled p-0 m-0'></ul><ul class='gdasac-tag list-unstyled p-0 m-0'></ul></div>");}});} 1328 /*On CPT change*/ 1329 jQuery("body").on("geodir_setup_search_form",function(){gdas_ac_init('.gd_search_text');}); 1330}); 1331function gdas_ac_init($field){jQuery($field).on("focusin",function(){gdasac_selected=this;gdas_ac_focus_in(this)}).on("focusout",function(){gdasac_selected="";gdas_ac_focus_out(this)});jQuery(window).on("resize",function(){gdas_ac_resize_suggestions()})} 1332function gdas_ac_focus_in($input){ 1333 var $suggestions = jQuery($input).parent().find(".gdas-search-suggestions"), gdas_fire = false; 1334 if($suggestions.length){gdas_fire = true}else{jQuery($input).after("<div class='dropdown-menu dropdown-caret-0 w-100 scrollbars-ios overflow-auto p-0 m-0 gd-suggestions-dropdown gdas-search-suggestions gd-ios-scrollbars'><ul class='gdasac-listing list-unstyled p-0 m-0'></ul><ul class='gdasac-tag list-unstyled p-0 m-0'></ul></div>");gdas_fire = true;} 1335 /* Fire search */ 1336 if(gdas_fire&&!$suggestions.hasClass("gdasac-focused")){$suggestions.addClass("gdasac-focused");gdas_ac_init_suggestions($input);if(gdasac_suggestions_with!="posts"){gdas_ac_categories($input)}} 1337 /* Resize */ 1338 gdas_ac_resize_suggestions(); 1339 /* Set if is search near */ 1340 if(jQuery('.gdlm-location-suggestions:visible').prev().hasClass('snear')){gdasac_is_search = true;}else{gdasac_is_search = false;} 1341} 1342function gdas_ac_focus_out($input){setTimeout(function() {if (!gdasac_do_not_close) {}},200);} 1343/* Get the current post_type categories as suggestions. */ 1344function gdas_ac_categories(el){ 1345 $input=jQuery(gdasac_selected);var post_type=jQuery($input).parent().parent().find("input[name='stype']").val();var post_type_slug=jQuery($input).closest(".geodir-search").find("input[name='stype']").data("slug");if(!post_type_slug){post_type_slug=jQuery($input).closest(".geodir-search").find(".search_by_post").find(":selected").data("slug")}if(typeof post_type_slug=="undefined"){post_type_slug=jQuery(".search_by_post").find(":selected").data("slug")}var search=jQuery($input).val();if(typeof search=="undefined"){search=""}request_url=geodir_params.api_url+""+post_type_slug+"/categories/?orderby=count&order=desc&search="+search+"&per_page="+geodir_search_params.autocompleter_max_results;if(geodir_search_params.autocompleter_filter_location&&el&&jQuery(el).closest("form.geodir-listing-search").length){$form=jQuery(el).closest("form.geodir-listing-search");lname=jQuery(".geodir-location-search-type",$form).prop("name");lval=jQuery(".geodir-location-search-type",$form).val();if(lval&&(lname=="country"||lname=="region"||lname=="city"||lname=="neighbourhood")){request_url+="&"+lname+"="+lval}} 1346 jQuery.ajax({ 1347 type: "GET", 1348 url: request_url, 1349 dataType: 'json', 1350 success: function (data) { 1351 gdasac_categories = data;gdasac_doing_search--; 1352 html = ''; 1353 gdasac_li_type = 'category'; 1354 jQuery.each(gdasac_categories, function (index, value) {html = html + gdas_ac_create_li('category', value);}); 1355 var gdasCe = gdasac_selected ? gdasac_selected : el; 1356 jQuery(gdasCe).parent().find("ul.gdasac-category").empty().append(html); 1357 if(html && gdasac_selected && !jQuery(el).closest('form.geodir-listing-search').find('.gdas-search-suggestions').is(':visible')){try{jQuery(gdasCe).dropdown('show');}catch(err){console.log(err.message);}} }, 1358 error: function (xhr, textStatus, errorThrown) {console.log(errorThrown);} 1359 }); 1360} 1361function gdas_ac_tags(el){$input=jQuery(gdasac_selected);var post_type=jQuery($input).parent().parent().find("input[name='stype']").val();
1361var post_type_slug=jQuery($input).closest(".geodir-search").find("input[name='stype']").data("slug");if(!post_type_slug){post_type_slug=jQuery($input).closest(".geodir-search").find(".search_by_post").find(":selected").data("slug")}var search=jQuery($input).val(),gdasPe=gdasac_selected?gdasac_selected:el;if(search&&search.length>=geodir_search_params.autocomplete_min_chars){request_url=geodir_params.api_url+""+post_type_slug+"/tags/?orderby=count&order=desc&search="+search+"&per_page="+geodir_search_params.autocompleter_max_results;if(geodir_search_params.autocompleter_filter_location&&el&&jQuery(el).closest("form.geodir-listing-search").length){$form=jQuery(el).closest("form.geodir-listing-search");lname=jQuery(".geodir-location-search-type",$form).prop("name");lval=jQuery(".geodir-location-search-type",$form).val();if(lval&&(lname=="country"||lname=="region"||lname=="city"||lname=="neighbourhood")){request_url+="&"+lname+"="+lval}}jQuery.ajax({type:"GET",url:request_url,dataType:"json",success:function(data){gdasac_tags=data;gdasac_doing_search--;html="";gdasac_li_type="tag";jQuery.each(gdasac_tags,function(index,value){html=html+gdas_ac_create_li("tag",value)});jQuery(gdasPe).parent().find("ul.gdasac-tag").empty().append(html);if(html&&gdasac_selected&&!jQuery(el).closest("form.geodir-listing-search").find(".gdas-search-suggestions").is(":visible")){try{jQuery(gdasPe).dropdown("show")}catch(err){console.log(err.message)}}},error:function(xhr,textStatus,errorThrown){console.log(errorThrown)}})}else{jQuery(gdasPe).parent().find("ul.gdasac-tag").empty()}} 1362/* Get the current post_type categories as suggestions. */ 1363function gdas_ac_listings(el){ 1364 $input = jQuery(gdasac_selected); 1365 var post_type = jQuery($input).parent().parent().find("input[name='stype']").val(); 1366 var post_type_slug = jQuery($input).closest('.geodir-search').find("input[name='stype']").data("slug"); 1367 if(!post_type_slug) { 1368 post_type_slug = jQuery($input).closest('.geodir-search').find(".search_by_post").find(':selected').data("slug"); 1369 } 1370 var search = jQuery($input).val(), gdasLe = gdasac_selected ? gdasac_selected : el; 1371 if(search && search.length >= geodir_search_params.autocomplete_min_chars){ 1372 request_url = geodir_params.api_url + "" + post_type_slug+"/?search="+search+"&per_page="+geodir_search_params.autocompleter_max_results; 1373 if (geodir_search_params.autocompleter_filter_location && el && jQuery(el).closest('form.geodir-listing-search').length) { 1374 $form = jQuery(el).closest('form.geodir-listing-search'); 1375 lname = jQuery('.geodir-location-search-type', $form).prop('name'); 1376 lval = jQuery('.geodir-location-search-type', $form).val(); 1377 if (lval && (lname == 'country' || lname == 'region' || lname == 'city' || lname == 'neighbourhood')) { 1378 request_url += '&' + lname + '=' + lval; 1379 } 1380 } 1381 jQuery.ajax({ 1382 type: "GET", 1383 url: request_url, 1384 dataType: 'json', 1385 success: function (data) { 1386 gdasac_listings = data;gdasac_doing_search--; 1387 html = ''; 1388 gdasac_li_type = 'listing'; 1389 jQuery.each(gdasac_listings, function (index, value) { 1390 html = html + gdas_ac_create_li('listing', value); 1391 }); 1392 jQuery(gdasLe).parent().find("ul.gdasac-listing").empty().append(html); 1393 if(html && gdasac_selected && !jQuery(el).closest('form.geodir-listing-search').find('.gdas-search-suggestions').is(':visible')){try{jQuery(gdasLe).dropdown('show');}catch(err){console.log(err.message);}} }, 1394 error: function (xhr, textStatus, errorThrown) {console.log(errorThrown);} 1395 }); 1396 }else{jQuery(gdasLe).parent().find("ul.gdasac-listing").empty();} 1397} 1398/* Set the max height for the suggestion div so to never scroll past the bottom of the page. */ 1399function gdas_ac_resize_suggestions(){setTimeout(function(){if(jQuery(".gd-suggestions-dropdown:visible").length){var offset=jQuery(".gd-suggestions-dropdown:visible").offset().top;var windowHeight=jQuery(window).height();var maxHeight=windowHeight-(offset-jQuery(window).scrollTop());if(jQuery(".gd-suggestions-dropdown:visible").prev().hasClass("gd_search_text")){jQuery(".gd-suggestions-dropdown:visible").css("max-height",windowHeight-40)}else{jQuery(".gd-suggestions-dropdown:visible").css("max-height",maxHeight)}}},50)} 1400function gdas_ac_init_suggestions($input){setTimeout(function(){gdas_ac_resize_suggestions()},250);jQuery($input).on("keyup",function(e){gdasac_doing_search=3;/*city, region, country*/if(gdasac_keyup_timeout!=null)clearTimeout(gdasac_keyup_timeout);gdasac_keyup_timeout=setTimeout(function(){gdas_ac_maybe_fire_suggestions($input)},500)})} 1401function gdas_ac_maybe_fire_suggestions(el){gdasac_keyup_timeout=null;if(gdasac_suggestions_with!="terms"){gdas_ac_listings(el)}if(gdasac_suggestions_with!="posts"){gdas_ac_categories(el)}if(gdasac_with_tags){gdas_ac_tags(el)}} 1402function gdas_ac_create_li($type,$data){ 1403 var output = '', history = '', $delete = ''; 1404 var $common_class = 'list-group-item-action c-pointer p-0 m-0 d-flex justify-content-start align-items-center text-muted'; 1405 var $common_class_icon = ' d-flex align-items-center justify-content-center p-0 m-0 me-2'; 1406 var $common_class_title = 'dropdown-header h6 p-2 m-0 bg-light'; 1407 var $icon_size = 'height:38px;width:38px;';
1408 if(gdasac_li_type != ''){if($type=='category'){output += '<li class="gdas-section-title '+$common_class_title+'" onclick="var event = arguments[0] || window.event; geodir_cancelBubble(event);">Categories</li>';}else if($type=='tag'){output += '<li class="gdas-section-title '+$common_class_title+'" onclick="var event = arguments[0] || window.event; geodir_cancelBubble(event);">Tags</li>';}else if($type=='listing'){output += '<li class="gdas-section-title '+$common_class_title+'">Listings</li>';}else{output += '<li class="gdas-section-title '+$common_class_title+'">'+$type.charAt(0).toUpperCase() + $type.slice(1)+'</li>';}} 1409 gdasac_li_type = ''; 1410 if($data.history){ 1411 history = '<i class="far fa-clock" title="Search history"></i> '; 1412 $delete = '<i onclick="var event=arguments[0]||window.event;geodir_cancelBubble(event);gdas_ac_del_location_history(\''+$data.slug+'\');jQuery(this).parent().remove();" class="fas fa-times" title="Remove from history"></i> '; 1413 }else if($type == 'category' && $data.fa_icon){ 1414 var icon_color = $data.fa_icon_color ? '#fff' : ''; 1415 history = '<span class="gdasac-icon '+$common_class_icon+'" style="background-color:'+$data.fa_icon_color+';color:'+icon_color+';'+$icon_size+'"><i class="'+$data.fa_icon+' fa-fw"></i></span> '; 1416 }else if($type == 'category'){ 1417 history = '<span class="gdasac-icon '+$common_class_icon+'" style="'+$icon_size+'"><i class="fas fa-folder-open"></i></span> '; 1418 }else if($type == 'tag'){ 1419 history = '<span class="gdasac-icon '+$common_class_icon+' fs-base" style="'+$icon_size+'"><i class="fas fa-tag"></i></span>'; 1420 }else if($type == 'listing' && $data.featured_image.thumbnail){ 1421 history = '<span class="gdasac-icon '+$common_class_icon+'" style="'+$icon_size+'"><img src="'+$data.featured_image.thumbnail+'" class="w-100"></span> '; 1422 }else{ 1423 history = '<span class="gdasac-icon '+$common_class_icon+'" style="'+$icon_size+'"><i class="fas fa-map-marker-alt"></i></span> '; 1424 } 1425 if($type=='category' || $type=='tag'){ 1426 if($data.area){$data.city = $data.area;} 1427 output += '<li class="'+$common_class+'" data-type="'+$type+'" onclick="gdasac_click_action(\''+$type+'\',\''+$data.link+'\','+$data.id+',\''+geodirSearchEscapeQuote($data.name)+'\');">'+history+'<b>'+ $data.name + '</b>'+$delete+'</li>'; 1428 }else if($type=='listing'){ 1429 if($data.area){$data.region = $data.area;} 1430 output += '<li class="'+$common_class+'" data-type="'+$type+'" onclick="gdasac_click_action(\''+$type+'\',\''+$data.link+'\','+$data.id+',\'\');">'+history+'<b>'+ $data.title.rendered + '</b>'+$delete+'</li>'; 1431 } 1432 return output; 1433} 1434function geodirSearchEscapeQuote(str){if(str){str=str.replace(/"/g, """);str=str.replace(/'/g, "\\'");str=str.replace(/'/g, "\\'");}return str;} 1435function gdasac_click_action($type,$url,$id, $name){ 1436 if($type=='category'){ 1437 window.location = $url; }else if($type=='tag'){window.location = $url; }else if($type=='listing'){window.location = $url} 1438} 1439</script>
1439
1439<script type="text/javascript"> 1440 map_id_arr = []; 1441 gdUmarker = ''; 1442 my_location = ''; 1443 lat = ''; 1444 lon = ''; 1445 gdUmarker = ''; 1446 userMarkerActive = false; 1447 gdLocationOptions = { 1448 enableHighAccuracy: true, 1449 timeout: 5000, 1450 maximumAge: 0 1451 }; 1452 1453 1454 jQuery("body").on("map_show", function(event, map_id) { 1455 map_id_arr.push(map_id); 1456 if (lat && lon) { 1457 setTimeout(function(map_id) { 1458 geodir_search_setUserMarker(lat, lon, map_id); 1459 }, 1, map_id); 1460 } 1461 }); 1462 </script>
1462 1463 1464<div class="bsui"> 1465 <div id="getpaid-payment-modal" class="modal" tabindex="-1" role="dialog"> 1466 <div class="modal-dialog modal-dialog-centered modal-lg" role="checkout" style="max-width: 650px;"> 1467 <div class="modal-content"> 1468 <div class="modal-body"> 1469 <button type="button" class=" btn-close p-2 getpaid-payment-modal-close d-sm-none" data-bs-dismiss="modal" aria-label="Close"> 1470 </button> 1471 <div class="modal-body-wrapper"></div> 1472 </div> 1473 </div> 1474 </div> 1475 </div> 1476</div> 1477<!-- Modal --> 1478 <div class="modal fade bsui" id="gdlm-switcher" tabindex="-1" aria-labelledby="dlm-switcher-title" aria-hidden="true"> 1479 <div class="modal-dialog "> 1480 <div class="modal-content "> 1481 <div class="modal-header text-center"> 1482 <div class="modal-title text-center w-100"> 1483 <div class="w-100 h5" id="dlm-switcher-title">Change Location</div> 1484 <div class="w-100 h6 text-muted">Find awesome listings near you!</div> 1485 </div> 1486 <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button> 1487 </div> 1488 <div class="modal-body text-center"> 1489 <div class="dropdown"> 1490 <div class="mb-3" ><label class="sr-only visually-hidden form-label">Change Location</label><input type="text" placeholder="city, region, country" class="form-control geodir-location-search" data-bs-toggle="dropdown" aria-label="city, region, country" ></div> </div> 1491 </div> 1492 </div> 1493 </div> 1494 </div> 1495
1495<script> 1496var gdlmls_selected = ''; 1497var gdlmls_nearest = []; 1498var gdlmls_country = []; 1499var gdlmls_region = []; 1500var gdlmls_city = []; 1501var gdlmls_neighbourhood = []; 1502var gdlmls_google_sessionToken = '';// google session token 1503var gdlmls_google_service = '';// google service 1504var gdlmls_do_not_close = false; 1505var gdlmls_doing_search = 0; 1506var gdlmls_doing_nearest = false; 1507var gdlmls_is_search = false; 1508var gdlmls_keyup_timeout = null; 1509 1510jQuery(function() { 1511 // init 1512 gdlm_ls_init('.geodir-location-search'); 1513 gdlm_ls_init('.snear'); gdlm_is_search_input_location(); 1514 1515 // on CPT change 1516 jQuery("body").on("geodir_setup_search_form", function(){ 1517 gdlm_ls_init('.geodir-location-search'); 1518 gdlm_ls_init('.snear'); gdlm_is_search_input_location(); 1519 }); 1520}); 1521 1522function gdlm_is_search_input_location(){ 1523 /* Check for on change */ 1524 jQuery(".snear").on("change", function(){ 1525 setTimeout(function(){ 1526 if (typeof geodir_search_params !== 'undefined' && geodir_search_params.autocompleter_filter_location) { 1527 jQuery('.gd-search-field-search .gd-suggestions-dropdown').remove(); 1528 } 1529 var $type = jQuery('.geodir-location-search-type').attr('name'); 1530 if($type ){ 1531 jQuery('.gd-search-field-near').removeClass('in-location in-neighbourhood in-city in-region in-country').addClass('in-location in-'+$type); 1532 }else{ 1533 jQuery('.gd-search-field-near').removeClass('in-location in-neighbourhood in-city in-region in-country'); 1534 } 1535 }, 100); 1536 }).on("keyup", function () { 1537 if (!(jQuery(this).val().trim() == geodir_params.txt_near_my_location && jQuery(this).closest('form').find('.geodir-location-search-type').val()=='me')) { 1538 jQuery('.gd-search-field-near').removeClass('in-location in-neighbourhood in-city in-region in-country'); 1539 jQuery('.geodir-location-search-type').val('').attr('name',''); 1540 jQuery('.sgeo_lat').val(''); 1541 jQuery('.sgeo_lon').val(''); 1542 } 1543 }); 1544} 1545 1546function gdlm_ls_init($field){ 1547 jQuery($field).on("focusin", 1548 function(){ 1549 gdlmls_selected = this; 1550 gdlm_ls_focus_in(this); 1551 }).on("focusout", 1552 function(){ 1553 gdlmls_selected = ''; 1554 gdlm_ls_focus_out(this); 1555 }); 1556 1557 // window resize tasks 1558 jQuery(window).on("resize", function(){ 1559 gdls_ls_resize_suggestions(); 1560 }); 1561} 1562 1563function gdlm_ls_focus_in($input){ 1564 if(jQuery($input).parent().find(".gdlm-location-suggestions").length){ 1565 gdlm_ls_current_location_suggestion($input); 1566 1567 }else{ 1568 jQuery($input).after("<div class='dropdown-menu dropdown-caret-0 w-100 scrollbars-ios overflow-auto p-0 m-0 gd-suggestions-dropdown gdlm-location-suggestions gd-ios-scrollbars'>" + 1569 "<ul class='gdlmls-near list-unstyled p-0 m-0 '></ul>" + 1570 "<ul class='gdlmls-neighbourhood list-unstyled p-0 m-0'></ul>" + 1571 "<ul class='gdlmls-city list-unstyled p-0 m-0'></ul>" + 1572 "<ul class='gdlmls-region list-unstyled p-0 m-0'></ul>" + 1573 "<ul class='gdlmls-country list-unstyled p-0 m-0'></ul>" + 1574 "<ul class='gdlmls-more list-unstyled p-0 m-0'></ul>" + 1575 "</div>"); 1576 gdlm_ls_init_suggestions($input); 1577 gdlm_ls_current_location_suggestion($input); 1578 } 1579 1580 // resize 1581 gdls_ls_resize_suggestions(); 1582 1583 // set if is search near 1584 if(jQuery('.gdlm-location-suggestions:visible').prev().hasClass('snear') || jQuery($input).hasClass('snear')){ 1585 gdlmls_is_search = true; 1586 }else{ 1587 gdlmls_is_search = false; 1588 } 1589} 1590 1591function gdlm_ls_focus_out($input) { 1592 setTimeout(function() { 1593 _ua = navigator.userAgent.toLowerCase(); 1594 isChrome = /chrome/.test(_ua); 1595 isWin10 = /windows nt 10.0/.test(_ua); 1596 if (!gdlmls_do_not_close) { 1597 } 1598 }, 200); 1599} 1600 1601/** 1602 * Set the max height for the suggestion div so to never scroll past the bottom of the page. 1603 */ 1604function gdls_ls_resize_suggestions() { 1605 setTimeout(function() { 1606 if (jQuery('.gdlm-location-suggestions:visible').length) { 1607 var offset = jQuery('.gdlm-location-suggestions:visible').offset().top; 1608 var windowHeight = jQuery(window).height(); 1609 var maxHeight = windowHeight - (offset - jQuery(window).scrollTop()); 1610 1611 if (jQuery('.gdlm-location-suggestions:visible').prev().hasClass('snear')) { 1612 jQuery('.gdlm-location-suggestions:visible').css('max-height', windowHeight - 40); 1613 } else { 1614 jQuery('.gdlm-location-suggestions:visible').css('max-height', maxHeight); 1615 } 1616 } 1617 }, 50); 1618} 1619 1620function gdlm_ls_init_suggestions($input) { 1621 setTimeout(function() { 1622 gdls_ls_resize_suggestions(); 1623 }, 250); 1624 jQuery($input).off("keypress").on("keypress",function(e) { 1625 if(e.keyCode && e.keyCode == 13 && !gdlmls_is_search && !jQuery($input).parent().find(".gdlm-location-suggestions").hasClass('show')) { 1626 jQuery($input).attr('aria-expanded','true').addClass('show');jQuery($input).parent().find(".gdlm-location-suggestions").addClass('show'); 1627 } 1628 }); 1629 jQuery($input).on("keyup", function($input) { 1630 gdlmls_doing_search = 1; // city, neighbourhood, region, country
1631 if (gdlmls_keyup_timeout != null) clearTimeout(gdlmls_keyup_timeout); 1632 gdlmls_keyup_timeout = setTimeout(gdlm_ls_maybe_fire_suggestions, 500); 1633 }); 1634} 1635 1636function gdlm_ls_maybe_fire_suggestions(){ 1637 /* Reset timer */ 1638 gdlmls_keyup_timeout = null; 1639 /* Do suggestions */ 1640 gdlm_ls_current_location_suggestion(); 1641 _value = gdlmls_selected ? jQuery(gdlmls_selected).val().trim() : ''; 1642 _chars = parseInt( geodir_location_params.autocompleter_min_chars ); 1643 if ((!_value || _chars < 1 || _chars > 0 && _value && parseInt(_value.length) >= _chars) && !(_value == geodir_params.txt_near_my_location && jQuery(gdlmls_selected).closest("form").find(".geodir-location-search-type").val() == "me")) { 1644 gdlm_ls_city_suggestion(); } 1645} 1646 1647function gdlm_ls_maybe_suggest_more() { 1648 if ( 1649 gdlmls_doing_search == 0 && 1650 gdlmls_country.length == 0 && 1651 gdlmls_region.length == 0 && 1652 gdlmls_city.length == 0 && 1653 gdlmls_neighbourhood.length == 0 1654 ) { 1655 $input = jQuery(gdlmls_selected).val(); 1656 if ($input) { 1657 $input = $input+", British Columbia"; 1658 if ((typeof google !== 'undefined' && typeof google.maps !== 'undefined')) { 1659 gdlm_ls_google_suggestions($input); 1660 } 1661 } else { 1662 jQuery(gdlmls_selected).parent().find("ul.gdlmls-more").empty(); 1663 } 1664 } 1665} 1666function gdlm_ls_city_suggestion() { 1667 var $search = jQuery(gdlmls_selected).val(); 1668 if ($search) { 1669 jQuery.ajax({ 1670 type: "GET", 1671 url: geodir_params.api_url + "locations/cities/?search=" + $search, 1672 success: function(data) { 1673 gdlmls_city = data; 1674 gdlmls_doing_search--; 1675 gdlm_ls_maybe_suggest_more(); 1676 html = ''; 1677 jQuery.each(gdlmls_city, function(index, value) { 1678 html = html + gdlm_ls_create_li('city', value); 1679 }); 1680 jQuery(gdlmls_selected).parent().find("ul.gdlmls-city").empty().append(html); 1681 if (html && gdlmls_is_search){ 1682 geodirLMShowDropdown(gdlmls_selected); 1683 } 1684 }, 1685 error: function(xhr, textStatus, errorThrown) { 1686 console.log(errorThrown); 1687 } 1688 }); 1689 } else { 1690 gdlmls_city = []; 1691 gdlmls_doing_search--; 1692 gdlm_ls_maybe_suggest_more(); 1693 jQuery(gdlmls_selected).parent().find("ul.gdlmls-city").empty(); 1694 } 1695} 1696function gdlm_ls_current_location_suggestion() { 1697 jQuery(gdlmls_selected).parent().find("ul.gdlmls-near").empty(); 1698 1699 // Near me 1700 jQuery(gdlmls_selected).parent().find("ul.gdlmls-near").empty().append(gdlm_ls_create_li('near', { 1701 type: "near", 1702 slug: "me", 1703 title: geodir_params.txt_form_my_location 1704 })); 1705 1706 if (jQuery(gdlmls_selected).val() == '') { 1707 var $search_history = JSON.parse(gdlm_ls_get_location_history()); 1708 1709 if ($search_history) { 1710 jQuery.each($search_history, function(index, value) { 1711 jQuery(gdlmls_selected).parent().find("ul.gdlmls-near").append(gdlm_ls_create_li(value.type, value)); 1712 }); 1713 } 1714 1715 if ( ! geodir_location_params.disable_nearest_cities ) { 1716 // Add near cities from ip 1717 gdlm_ls_nearest_cities(); 1718 } 1719 } 1720 console.log(JSON.parse(gdlm_ls_get_location_history())); 1721} 1722 1723function gdlm_ls_nearest_cities() { 1724 if(!gdlmls_doing_nearest){ 1725 gdlmls_doing_nearest = true; 1726 jQuery.ajax({ 1727 type: "GET", 1728 url: geodir_params.api_url + "locations/cities/?orderby=ip", 1729 success: function(data) { 1730 if (data) { 1731 jQuery.each(data, function(index, value) { 1732 jQuery(gdlmls_selected).parent().find("ul.gdlmls-near").append(gdlm_ls_create_li('city', value)); 1733 }); 1734 } 1735 gdlmls_doing_nearest = false; 1736 }, 1737 error: function(xhr, textStatus, errorThrown) { 1738 console.log(errorThrown); 1739 gdlmls_doing_nearest = false; 1740 } 1741 }); 1742 } 1743} 1744 1745function gdlm_ls_create_li($type,$data){ 1746 var output; 1747 var history = ''; 1748 var $delete = ''; 1749 var $common_class = 'list-group-item-action c-pointer px-1 py-1 m-0 d-flex justify-content-between'; 1750 if($data.history){ 1751 history = '<i class="fas fa-history" title="Search history"></i> '; 1752 $delete = '<span><i onclick="var event = arguments[0] || window.event; geodir_cancelBubble(event);gdlm_ls_del_location_history(\''+$data.slug+'\');jQuery(this).parent().parent().remove();" class="fas fa-times" title="Remove from history"></i></span> '; 1753 }else if($type == 'neighbourhood' || $type == 'city' || $type == 'region' || $type == 'country'){ 1754 history = '<i class="fas fa-map-marker-alt"></i> '; 1755 } 1756 if($type=='neighbourhood'){ 1757 if($data.area){$data.city = $data.area;} 1758 output = '<li class="'+$common_class+'" data-type="'+$type+'" ontouchstart="this.click();return false;" onclick="gdlm_click_action(\''+$type+'\',\''+geodirLMEscapeQuote($data.title)+'\',\''+geodirLMEscapeQuote($data.city)+'\',\''+$data.country_slug+'\',\''+$data.region_slug+'\',\''+$data.city_slug+'\',\''+$data.slug+'\');"><span>'+history+'In: <b>'+ $data.title + '</b>
1758, '+ $data.city + ' (Neighbourhood)</span>'+$delete+'</li>'; 1759 }else if($type=='city'){ 1760 if($data.area){$data.region = $data.area;} 1761 output = '<li class="'+$common_class+'" data-type="'+$type+'" ontouchstart="this.click();return false;" onclick="gdlm_click_action(\''+$type+'\',\''+geodirLMEscapeQuote($data.title)+'\',\''+geodirLMEscapeQuote($data.region)+'\',\''+$data.country_slug+'\',\''+$data.region_slug+'\',\''+$data.slug+'\');"><span>'+history+'In: <b>'+ $data.title + '</b>, '+$data.region+' (City)</span>'+$delete+'</li>'; 1762 }else if($type=='region'){ 1763 if($data.area){$data.country = $data.area;} 1764 output = '<li class="'+$common_class+'" data-type="'+$type+'" ontouchstart="this.click();return false;" onclick="gdlm_click_action(\''+$type+'\',\''+geodirLMEscapeQuote($data.title)+'\',\''+geodirLMEscapeQuote($data.country)+'\',\''+$data.country_slug+'\',\''+$data.slug+'\');"><span>'+history+'In: <b>'+ $data.title + '</b>, '+$data.country_title+' (Region)</span>'+$delete+'</li>'; 1765 }else if($type=='country'){ 1766 output = '<li class="'+$common_class+'" data-type="'+$type+'" ontouchstart="this.click();return false;" onclick="gdlm_click_action(\''+$type+'\',\''+geodirLMEscapeQuote($data.title)+'\',\'\',\''+$data.slug+'\');"><span>'+history+'In: <b>'+ $data.title + '</b> (Country)</span>'+$delete+'</li>'; 1767 }else if($type=='near'){ 1768 output = '<li data-type="'+$type+'" class="gd-near-me text-primary '+$common_class+'" ontouchstart="this.click();return false;" onclick="gdlm_click_action(\''+$type+'\',\''+geodirLMEscapeQuote($data.title)+'\',\'\',\''+$data.slug+'\');"><span><i class="fas fa-location-arrow"></i> Near: '+ $data.title + '</span></li>'; 1769 }else if($type=='near-search'){ 1770 output = '<li class="'+$common_class+'" data-type="'+$type+'" ontouchstart="this.click();return false;" onclick="gdlm_click_action(\''+$type+'\',\''+geodirLMEscapeQuote($data.description)+'\');"><span><i class="fas fa-search"></i> Near: '+ $data.description + '</span></li>'; 1771 } 1772 1773 return output; 1774} 1775 1776function gdlm_click_action($type,$title,$area,$country_slug,$region_slug,$city_slug,$hood_slug){ 1777 if(gdlmls_is_search){ 1778 if($type=='neighbourhood' || $type=='city' || $type=='region' || $type=='country'){ 1779 $slug = ''; 1780 if($type=='neighbourhood'){$slug = $hood_slug;} 1781 else if($type=='city'){$slug = $city_slug;} 1782 else if($type=='region'){$slug = $region_slug;} 1783 else if($type=='country'){$slug = $country_slug;} 1784 gdlm_search_fill_location($type,$slug,$title); 1785 }else if($type=='near-search'){ 1786 gdlm_search_fill_location($type,'',$title); 1787 }else if($type=='near'){ 1788 gd_get_user_position(gdlm_search_near_me); 1789 } 1790 }else{ 1791 if($type=='neighbourhood' || $type=='city' || $type=='region' || $type=='country'){ 1792 gdlm_go_location($type,$title,$area,$country_slug,$region_slug,$city_slug,$hood_slug); 1793 }else if($type=='near-search'){ 1794 gdlm_go_search($title); 1795 }else if($type=='near'){ 1796 gd_get_user_position(gdlm_ls_near_me); 1797 } 1798 } 1799 setTimeout(function() { 1800 _ua = navigator.userAgent.toLowerCase(); 1801 isChrome = /chrome/.test(_ua); 1802 isWin10 = /windows nt 10.0/.test(_ua); 1803 if (isChrome && isWin10) { 1804 jQuery(".gdlm-location-suggestions").hide(); 1805 } 1806 },200); 1807} 1808 1809function gdlm_ls_near_me($lat,$lon){ 1810 window.location = geodir_params.location_base_url+"near/me/"+$lat+","+$lon+"/"; 1811} 1812 1813function gdlm_ls_near_gps($lat,$lon){ 1814 window.location = geodir_params.location_base_url+"near/gps/"+$lat+","+$lon+"/"; 1815} 1816 1817function gdlm_search_near_me($lat,$lon){ 1818 gdlm_search_fill_location('near','me',"Near: "+geodir_params.txt_form_my_location,$lat,$lon) 1819} 1820 1821function gdlm_search_fill_location($type,$slug,$title,$lat,$lon){ 1822 if($type=='near'){ 1823 1824 }else if($type=='near-search'){ 1825 $type=''; 1826 }else{ 1827 var txtType; 1828 if ($type == 'country') { 1829 txtType = '(Country)'; 1830 } else if ($type == 'region') { 1831 txtType = '(Region)'; 1832 } else if ($type == 'city') { 1833 txtType = '(City)'; 1834 } else if ($type == 'neighbourhood') { 1835 txtType = '(Neighbourhood)'; 1836 } else { 1837 txtType = "("+$type+")"; 1838 } 1839 $title = "In: "+$title+" "+txtType; 1840 } 1841 1842 jQuery('.geodir-location-search-type').val($slug).attr('name', $type); 1843 jQuery('.sgeo_lat').val($lat); 1844 jQuery('.sgeo_lon').val($lon); 1845 jQuery('.snear').val($title).trigger('change'); // fire change event so we can check if we need to add in-location class 1846} 1847 1848function gdlm_go_search($text){ 1849 if (window.gdMaps === 'google') { 1850 var geocoder = new google.maps.Geocoder(); 1851 geocoder.geocode({'address': $text}, 1852 function (results, status) { 1853 if (status == 'OK') { 1854 $lat = results[0].geometry.location.lat(); 1855 $lon = results[0].geometry.location.lng(); 1856 gdlm_ls_near_gps($lat,$lon); 1857 } else { 1858 alert("Search was not successful for the following reason :" + status); 1859 } 1860 }); 1861 } else if (window.gdMaps === 'osm') { 1862 geocodePositionOSM(false, $text, false, false, 1863 function(geo) { 1864 if (typeof geo !== 'undefined' && geo.lat && geo.lon) { 1865 console.log(results); 1866 } else { 1867 alert("Search was not successful for the requested address."); 1868 } 1869 }); 1870 } 1871} 1872 1873function gdlm_ls_search_location($type,$term){ 1874 jQuery.ajax({ 1875 type: "GET", 1876 url: geodir_params.api_url+$type+"/?search="+$term, 1877 success: function(data) { 1878 console.log(data); 1879 return data; 1880 }, 1881 error: function(xhr, textStatus, errorThrown) { 1882 console.log(errorThrown); 1883 } 1884 }); 1885} 1886 1887function gdlm_go_location($type,$title,$area,$country_slug,$region_slug,$city_slug,$hood_slug){ 1888 // save search history before redirect 1889 gdlm_ls_set_location_history($type,$title,$area,$country_slug,$region_slug,$city_slug,$hood_slug); 1890 window.location = gdlm_ls_location_url($country_slug,$region_slug,$city_slug,$hood_slug); 1891 //console.log( gdlm_ls_location_url($country_slug,$region_slug,$city_slug,$hood_slug)); 1892} 1893 1894function gdlm_ls_location_url($country_slug,$region_slug,$city_slug,$hood_slug){ 1895 //$url = geodir_params.location_url.slice(0, -1); // get location url without the ending slash 1896 $url = geodir_params.location_base_url; // get location url without the ending slash 1897 var show_country = 0; 1898 var show_region = 0; 1899 var show_city = 1; 1900 var show_hood = 0; 1901 1902 if(show_country && $country_slug){ 1903 $url += ""+$country_slug+"/"; 1904 } 1905 1906 if(show_region && $region_slug){ 1907 $url += ""+$region_slug+"/"; 1908 } 1909 1910 if(show_city && $city_slug){ 1911 $url += ""+$city_slug+"/"; 1912 } 1913 1914 if(show_hood && $hood_slug){ 1915 $url += ""+$hood_slug+"/"; 1916 } 1917 1918 return $url; 1919} 1920 1921function gdlm_ls_get_location_history(){ 1922 if (geodir_is_localstorage() === true) { 1923 return gdlm_ls_history = localStorage.getItem("gdlm_ls_history"); 1924 }else{ 1925 return ''; 1926 } 1927} 1928 1929function gdlm_ls_del_location_history($slug){ 1930 gdlmls_do_not_close = true; 1931 if (geodir_is_localstorage() === true) { 1932 gdlm_ls_history = JSON.parse(localStorage.getItem("gdlm_ls_history")); 1933 var found = ''; 1934 jQuery.each(gdlm_ls_history, function(index, value) { 1935 if($slug && $slug==value.slug){ 1936 // its already in the list so bail. 1937 //gdlm_ls_history.splice(index, 1); 1938 found = index; 1939 } 1940 }); 1941 1942 if(found!==''){ 1943 gdlm_ls_history.splice(found, 1); 1944 // store the user selection 1945 localStorage.setItem("gdlm_ls_history", JSON.stringify(gdlm_ls_history)); 1946 } 1947 } 1948 1949 setTimeout(function(){gdlmls_do_not_close = false;}, 200); 1950} 1951 1952function gdlm_ls_set_location_history($type,$title,$area,$country_slug,$region_slug,$city_slug,$hood_slug){ 1953 // set a searched location 1954 if (geodir_is_localstorage() === true) { 1955 var gdlm_ls_history = localStorage.getItem("gdlm_ls_history"); 1956 var $exists = false;
1957 1958 if (!gdlm_ls_history || gdlm_ls_history === undefined) { 1959 gdlm_ls_history = [] 1960 }else{ 1961 gdlm_ls_history = JSON.parse(gdlm_ls_history); 1962 jQuery.each(gdlm_ls_history, function(index, value) { 1963 if(value.type == $type && value.title==$title){ 1964 // its already in the list so bail. 1965 $exists = true; 1966 } 1967 }); 1968 } 1969 1970 if(!$exists){ 1971 $slug = $city_slug; 1972 if($type=='neighbourhood'){ 1973 $slug = $hood_slug; 1974 }if($type=='city'){ 1975 $slug = $city_slug; 1976 }else if($type=='region'){ 1977 $slug = $region_slug; 1978 }else if($type=='country'){ 1979 $slug = $country_slug; 1980 } 1981 1982 var $location = { 1983 history:true, // set it as historical 1984 type:$type, 1985 title:$title, 1986 country_slug:$country_slug, 1987 region_slug:$region_slug, 1988 city_slug:$city_slug, 1989 hood_slug:$hood_slug, 1990 slug:$slug, 1991 area:$area 1992 }; 1993 gdlm_ls_history.unshift($location); 1994 // only keep latest 5 searches 1995 if(gdlm_ls_history.length > 5){ 1996 gdlm_ls_history.pop(); 1997 } 1998 } 1999 2000 // store the user selection 2001 localStorage.setItem("gdlm_ls_history", JSON.stringify(gdlm_ls_history)); 2002 } 2003} 2004 2005function gdlm_ls_google_suggestions($search){ 2006 // Create a new session token. 2007 if(!gdlmls_google_sessionToken){ 2008 gdlmls_google_sessionToken = new google.maps.places.AutocompleteSessionToken(); 2009 } 2010 2011 // display function 2012 var displaySuggestions = function(predictions, status) { 2013 if (status != google.maps.places.PlacesServiceStatus.OK) { 2014 return; 2015 } 2016 console.log(predictions); 2017 html = ''; 2018 predictions.forEach(function(prediction) { 2019 html = html + gdlm_ls_create_li('near-search', prediction); 2020 }); 2021 jQuery(gdlmls_selected).parent().find("ul.gdlmls-more").empty().append(html); 2022 if (html && gdlmls_is_search){ 2023 geodirLMShowDropdown(gdlmls_selected); 2024 } 2025 }; 2026 2027 if(!gdlmls_google_service){ 2028 gdlmls_google_service = new google.maps.places.AutocompleteService(); 2029 } 2030 gdlmls_google_service.getPlacePredictions({input: $search, sessionToken: gdlmls_google_sessionToken, types: ['geocode']}, displaySuggestions); 2031} 2032 2033function geodirLMEscapeQuote(str) { 2034 if (str) { 2035 str = str.replace(/"/g, """); 2036 str = str.replace(/'/g, "\\'"); 2037 str = str.replace(/'/g, "\\'"); 2038 } 2039 return str; 2040} 2041 2042/** 2043 * Open the location switcher 2044 */ 2045function geodir_lm_setup_switcher_trigger() { 2046 var no_show = false; 2047 // Clear the location and redirect to the base location page 2048 jQuery(".gdlmls-menu-icon").on("click", function(event){ 2049 no_show = true; 2050 event.preventDefault(); 2051 window.location = geodir_params.location_base_url; 2052 }); 2053 2054 // detect the menu item location switcher click 2055 jQuery('a[href$="#location-switcher"]').on("click", function(event){ 2056 // prevent the hash being added to the url 2057 event.preventDefault(); 2058 // only fire if the click is not the clear location button. 2059 if(!no_show){ 2060 jQuery('#gdlm-switcher').modal('show').on('shown.bs.modal', function (e) { 2061 jQuery('.modal .geodir-location-search').trigger("focus").trigger("click"); 2062 // second open might not trigger dropdown so we check. 2063 setTimeout(function(){ 2064 if( jQuery('.modal .geodir-location-search').attr('aria-expanded')=='false' ){ 2065 jQuery('.modal .geodir-location-search').dropdown('show'); 2066 } 2067 }, 200); 2068 }); 2069 } 2070 }); 2071} 2072function geodirLMShowDropdown(el) { 2073 /* Windows 11 Edge/Chrome dropdown fix */ 2074 var uA = navigator.userAgent.toLowerCase(); 2075 if (navigator.platform.toLowerCase().indexOf('win') !== -1 && uA.indexOf("windows nt 10") !== -1 && (uA.match(/chrome/i) || uA.match(/edge/i))) { 2076 jQuery(el).dropdown('show'); 2077 setTimeout(function(){ 2078 jQuery('.gd-search-field-near .gdlm-location-suggestions').css('display',"").show(); 2079 }, 30); 2080 } else if (jQuery(el).attr('aria-expanded')=='false'){ 2081 jQuery(el).dropdown('show'); 2082 } 2083} 2084jQuery(document).ready(function() {geodir_lm_setup_switcher_trigger()}); 2085</script>
2085<style>html{font-size:16px;}</style>
2085<script id="foundation-js" src="https://gobybikebc.ca/wp-content/themes/gobybike/dist/assets/js/app.js?ver=2.10.4"></script>
vendor: 1 bytes, line 2085
2085
2086<script id="owlcarousel-js" src="https://gobybikebc.ca/wp-content/themes/gobybike/owl-carousel/owl.carousel.min.js?ver=2.3.4"></script>
vendor: 1 bytes, line 2086
2086
2087<script id="geodir-js-extra"> 2088var geodir_search_params = {"geodir_advanced_search_plugin_url":"https://gobybikebc.ca/wp-content/plugins/geodir_advance_search_filters","geodir_admin_ajax_url":"https://gobybikebc.ca/wp-admin/admin-ajax.php","request_param":"{\"geo_url\":\"is_location\"}","msg_Near":"Near:","default_Near":"Near","msg_Me":"Me","unom_dist":"km","autocomplete_field_name":"s","geodir_enable_autocompleter":"1","search_suggestions_with":"","geodir_location_manager_active":"1","msg_User_defined":"User defined","ask_for_share_location":"","geodir_autolocate_ask":"","geodir_autolocate_ask_msg":"Do you wish to be geolocated to listings near you?","UNKNOWN_ERROR":"Unable to find your location.","PERMISSION_DENINED":"Permission denied in finding your location.","POSITION_UNAVAILABLE":"Your location is currently unknown.","BREAK":"Attempt to find location took too long.","GEOLOCATION_NOT_SUPPORTED":"Geolocation is not supported by this browser.","DEFAUTL_ERROR":"Browser unable to find your location.","text_more":"More","text_less":"Less","msg_In":"In:","txt_in_country":"(Country)","txt_in_region":"(Region)","txt_in_city":"(City)","txt_in_hood":"(Neighbourhood)","compass_active_color":"#087CC9","onload_redirect":"no","onload_askRedirect":"","onload_redirectLocation":"","autocomplete_min_chars":"3","autocompleter_max_results":"10","autocompleter_filter_location":"1","time_format":"g:i a","am_pm":"[\"am\", \"AM\", \"pm\", \"PM\"]","open_now_format":"{label}, {time}","ajaxPagination":"","txt_loadMore":"Load More","txt_loading":"Loading..."}; 2089var geodir_location_params = {"select_merge_city_msg":"Please select merge city.","confirm_set_default":"Are sure you want to make this city default?","LISTING_URL_PREFIX":"Please enter listing url prefix","LISTING_URL_PREFIX_INVALID_CHAR":"Invalid character in listing url prefix","LOCATION_URL_PREFIX":"Please enter location url prefix","LOCATOIN_PREFIX_INVALID_CHAR":"Invalid character in location url prefix","LOCATION_CAT_URL_SEP":"Please enter location and category url separator","LOCATION_CAT_URL_SEP_INVALID_CHAR":"Invalid character in location and category url separator","LISTING_DETAIL_URL_SEP":"Please enter listing detail url separator","LISTING_DETAIL_URL_SEP_INVALID_CHAR":"Invalid character in listing detail url separator","LOCATION_PLEASE_WAIT":"Please wait...","LOCATION_CHOSEN_NO_RESULT_TEXT":"Sorry, nothing found!","LOCATION_CHOSEN_KEEP_TYPE_TEXT":"Please wait...","LOCATION_CHOSEN_LOOKING_FOR_TEXT":"We are searching for","select_location_translate_msg":"Please select country to update translation.","select_location_translate_confirm_msg":"Are you sure?","gd_text_search_city":"Search City","gd_text_search_region":"Search Region","gd_text_search_country":"Search Country","gd_text_search_location":"Search location","gd_base_location":"https://gobybikebc.ca/location/","UNKNOWN_ERROR":"Unable to find your location.","PERMISSION_DENINED":"Permission denied in finding your location.","POSITION_UNAVAILABLE":"Your location is currently unknown.","BREAK":"Attempt to find location took too long.","DEFAUTL_ERROR":"Browser unable to find your location.","msg_Near":"Near:","msg_Me":"Me","msg_User_defined":"User defined","confirm_delete_location":"Deleting location will also DELETE any LISTINGS in this location. Are you sure want to DELETE this location?","confirm_delete_neighbourhood":"Are you sure you want to delete this neighbourhood?","delete_bulk_location_select_msg":"Please select at least one location.","neighbourhood_is_active":"","text_In":"In:","autocompleter_min_chars":"0","disable_nearest_cities":""}; 2090var geodir_params = {"siteurl":"https://gobybikebc.ca","plugin_url":"https://gobybikebc.ca/wp-content/plugins/geodirectory","ajax_url":"https://gobybikebc.ca/wp-admin/admin-ajax.php","gd_ajax_url":"https://gobybikebc.ca/wp-admin/admin-ajax.php","has_gd_ajax":"0","gd_modal":"0","is_rtl":"","basic_nonce":"9deeee5a34","text_add_fav":"Add to Favorites","text_fav":"Favorite","text_remove_fav":"Remove from Favorites","text_unfav":"Unfavorite","icon_fav":"fas fa-heart","icon_unfav":"fas fa-heart","api_url":"https://gobybikebc.ca/wp-json/geodir/v2/","location_base_url":"https://gobybikebc.ca/location/","location_url":"https://gobybikebc.ca/location/","search_base_url":"https://gobybikebc.ca/search/","custom_field_not_blank_var":"Field label must not be blank","custom_field_not_special_char":"Please do not use special character and spaces in field key Variable Name.","custom_field_unique_name":"Field key must be unique.","custom_field_delete":"Are you sure you wish to delete this field?","custom_field_delete_children":"You must move or remove child elements first.","tax_meta_class_
2090succ_del_msg":"File has been successfully deleted.","tax_meta_class_not_permission_to_del_msg":"You do NOT have permission to delete this file.","tax_meta_class_order_save_msg":"Order saved!","tax_meta_class_not_permission_record_img_msg":"You do not have permission to reorder images.","address_not_found_on_map_msg":"Address not found for:","my_place_listing_del":"Are you sure you wish to delete this listing?","confirmPostAuthorAction":"Are you sure you wish to perform this action?","my_main_listing_del":"Deleting the main listing of a franchise will turn all franchises in regular listings. Are you sure wish to delete this main listing?","rating_error_msg":"Error : please retry","listing_url_prefix_msg":"Please enter listing url prefix","invalid_listing_prefix_msg":"Invalid character in listing url prefix","location_url_prefix_msg":"Please enter location url prefix","invalid_location_prefix_msg":"Invalid character in location url prefix","location_and_cat_url_separator_msg":"Please enter location and category url separator","invalid_char_and_cat_url_separator_msg":"Invalid character in location and category url separator","listing_det_url_separator_msg":"Please enter listing detail url separator","invalid_char_listing_det_url_separator_msg":"Invalid character in listing detail url separator","loading_listing_error_favorite":"Error loading listing.","field_id_required":"This field is required.","valid_email_address_msg":"Please enter valid email address.","default_marker_icon":"https://gobybikebc.ca/wp-content/plugins/geodirectory/assets/images/pin.png","default_marker_w":"50","default_marker_h":"50","latitude_error_msg":"A numeric value is required. Please make sure you have either dragged the marker or clicked the button: Set Address On Map","longgitude_error_msg":"A numeric value is required. Please make sure you have either dragged the marker or clicked the button: Set Address On Map","gd_cmt_btn_post_reply":"Post Reply","gd_cmt_btn_reply_text":"Reply text","gd_cmt_btn_post_review":"Post Review","gd_cmt_btn_review_text":"Review text","gd_cmt_err_no_rating":"Please select star rating, you can't leave a review without stars.","err_max_file_size":"File size error : You tried to upload a file over %s","err_file_upload_limit":"You have reached your upload limit of %s files.","err_pkg_upload_limit":"You may only upload %s files with this package, please try again.","action_remove":"Remove","txt_all_files":"Allowed files","err_file_type":"File type error. Allowed file types: %s","gd_allowed_img_types":"jpg,jpe,jpeg,gif,png,bmp,ico,webp,avif","txt_form_wait":"Wait...","txt_form_searching":"Searching...","txt_form_my_location":"My Location","txt_near_my_location":"Near: My Location","rating_type":"fa","reviewrating":"","multirating":"","map_name":"google","osmStart":"Start","osmVia":"Via {viaNumber}","osmEnd":"Enter Your Location","osmPressEnter":"Press Enter key to search","geoMyLocation":"My Location","geoErrUNKNOWN_ERROR":"Unable to find your location","geoErrPERMISSION_DENINED":"Permission denied in finding your location","geoErrPOSITION_UNAVAILABLE":"Your location is currently unknown","geoErrBREAK":"Attempt to find location took too long","geoErrDEFAULT":"Location detection not supported in browser","i18n_set_as_default":"Set as default","i18n_no_matches":"No matches found","i18n_ajax_error":"Loading failed","i18n_input_too_short_1":"Please enter 1 or more characters","i18n_input_too_short_n":"Please enter %item% or more characters","i18n_input_too_long_1":"Please delete 1 character","i18n_input_too_long_n":"Please delete %item% characters","i18n_selection_too_long_1":"You can only select 1 item","i18n_selection_too_long_n":"You can only select %item% items","i18n_load_more":"Loading more results\u2026","i18n_searching":"Searching\u2026","txt_choose_image":"Choose an image","txt_use_image":"Use image","img_spacer":"https://gobybikebc.ca/wp-content/plugins/geodirectory/assets/images/media-button-image.gif","txt_post_review":"Post Review","txt_post_reply":"Post reply","txt_leave_a_review":"Leave a Review","txt_leave_a_reply":"Leave a reply","txt_reply_text":"Reply text","txt_review_text":"Review text","txt_read_more":"Read more","txt_about_listing":"about this listing","txt_open_now":"Open now","txt_closed_now":"Closed
2090now","txt_closed_today":"Closed today","txt_closed":"Closed","txt_single_use":"This field is single use only and is already being used.","txt_page_settings":"Page selections should not be the same, please correct the issue to continue.","txt_save_other_setting":"Please save the current setting before adding a new one.","txt_previous":"Previous","txt_next":"Next","txt_lose_changes":"You may lose changes if you navigate away now!","txt_are_you_sure":"Are you sure?","txt_saving":"Saving...","txt_saved":"Saved","txt_order_saved":"Order saved","txt_preview":"Preview","txt_edit":"Edit","txt_delete":"Delete","txt_cancel":"Cancel","txt_confirm":"Confirm","txt_continue":"Continue","txt_yes":"Yes","txt_deleted":"Deleted","txt_google_key_error":"Google API key Error","txt_documentation":"Documentation","txt_google_key_verifying":"Verifying API Key","txt_google_key_enable_billing":"Enable Billing","txt_google_key_error_project":"Key invalid, you might have entered the project number instead of the API key","txt_google_key_error_invalid":"Key invalid, please double check you have entered it correctly","txt_google_key_error_referer":"This URL is not allowed for this API Key","txt_google_key_error_billing":"You must enable billing on your Google account.","txt_google_key_error_brave":"Brave browser shield will block this check and return a false positive","confirm_new_wp_template":"Are you sure want to create a new template to customize?","gmt_offset":"+1:00","timezone_string":"UTC","autosave":"10000","search_users_nonce":"f68ff3da36","google_api_key":"AIzaSyACvgHniaMyDzpP6o-I6lKb36ZBscV_m-8","mapLanguage":"en","osmRouteLanguage":"en","osmRouteUnits":"metric","markerAnimation":"bounce","confirm_set_location":"Would you like to manually set your location?","confirm_lbl_error":"ERROR:","label_title":"Title","label_caption":"Caption","button_set":"Set","BH_altTimeFormat":"h:i K","splitUK":"0","time_ago":{"prefix_ago":"","suffix_ago":" ago","prefix_after":"after ","suffix_after":"","seconds":"less than a minute","minute":"about a minute","minutes":"%d minutes","hour":"about an hour","hours":"about %d hours","day":"a day","days":"%d days","month":"about a month","months":"%d months","year":"about a year","years":"%d years"},"resize_marker":"","marker_max_width":"50","marker_max_height":"50","hasAjaxSearch":"","marker_cluster_size":"60","marker_cluster_zoom":"15","imagePath":"https://gobybikebc.ca/wp-content/plugins/geodir_marker_cluster/assets/images/m"}; 2091//# sourceURL=geodir-js-extra 2092</script>
vendor: 1 bytes, line 2092
2092
2093<script id="geodir-js" src="https://gobybikebc.ca/wp-content/plugins/geodirectory/assets/aui/js/geodirectory.min.js?ver=2.8.161"></script>
vendor: 1 bytes, line 2093
2093
2094<script id="geodir-js-after"> 2095 2096 2097//# sourceURL=geodir-js-after 2098</script>
vendor: 1 bytes, line 2098
2098
2099<script id="jquery-ui-core-js" src="https://gobybikebc.ca/wp-includes/js/jquery/ui/core.min.js?ver=1.13.3"></script>
vendor: 1 bytes, line 2099
2099
2100<script id="jquery-ui-menu-js" src="https://gobybikebc.ca/wp-includes/js/jquery/ui/menu.min.js?ver=1.13.3"></script>
vendor: 1 bytes, line 2100
2100
2101<script id="wp-dom-ready-js" src="https://gobybikebc.ca/wp-includes/js/dist/dom-ready.min.js?ver=a06281ae5cf5500e9317"></script>
vendor: 1 bytes, line 2101
2101
2102<script id="wp-hooks-js" src="https://gobybikebc.ca/wp-includes/js/dist/hooks.min.js?ver=7496969728ca0f95732d"></script>
vendor: 1 bytes, line 2102
2102
2103<script id="wp-i18n-js" src="https://gobybikebc.ca/wp-includes/js/dist/i18n.min.js?ver=781d11515ad3d91786ec"></script>
vendor: 1 bytes, line 2103
2103
2104<script id="wp-i18n-js-after"> 2105wp.i18n.setLocaleData( { 'text direction\u0004ltr': [ 'ltr' ] } ); 2106//# sourceURL=wp-i18n-js-after 2107</script>
vendor: 1 bytes, line 2107
2107
2108<script id="wp-a11y-js" src="https://gobybikebc.ca/wp-includes/js/dist/a11y.min.js?ver=af934e5259bc51b8718e"></script>
vendor: 1 bytes, line 2108
2108
2109<script id="jquery-ui-autocomplete-js" src="https://gobybikebc.ca/wp-includes/js/jquery/ui/autocomplete.min.js?ver=1.13.3"></script>
vendor: 1 bytes, line 2109
2109
2110<script id="stripe-js" src="https://js.stripe.com/v3/?ver=2.3.24"></script>
vendor: 1 bytes, line 2110
2110
2111<script id="wpinv-stripe-script-js-extra"> 2112var GetPaid_Stripe = {"stripePublishableKey":"pk_live_51SICNDPLQIeQmkoHyHV2iY1UhAbNfd2jsW30TJoqHShnLM1oKAaHk6L2Yz0dsamDbdg7fm38xzdgWFDfa2zjx4Ai00HWWp7cdo","elementStyle":"","locale":"auto","button_type":"default","button_theme":"dark","unknownError":"An unknown error occurred. Please try again."}; 2113//# sourceURL=wpinv-stripe-script-js-extra 2114</script>
vendor: 1 bytes, line 2114
2114
2115<script id="wpinv-stripe-script-js" src="https://gobybikebc.ca/wp-content/plugins/getpaid-stripe-payments/assets/js/wpinv-stripe.js?ver=1775063677"></script>
vendor: 1 bytes, line 2115
2115
2116<script id="wpinv-front-script-js-extra"> 2117var WPInv = {"ajax_url":"https://gobybikebc.ca/wp-admin/admin-ajax.php","thousands":",","decimals":".","nonce":"4a698b5afd","txtComplete":"Continue","UseTaxes":"","formNonce":"e38d7972c4","recaptchaSettings":{"enabled":false,"version":"v2"},"loading":"Loading...","connectionError":"Could not establish a connection to the server.","vatValidationError":"Unable to validate VAT number. Please try again.","vatFieldsRequired":"Please enter both VAT number and country.","maxFilesExceeded":"You have exceeded the number of files you can upload.","unsupportedFile":"Unsupported file type.","validating":"Validating...","valid":"Valid","invalid":"Invalid","error":"Error"}; 2118//# sourceURL=wpinv-front-script-js-extra 2119</script>
vendor: 1 bytes, line 2119
2119
2120<script id="wpinv-front-script-js" src="https://gobybikebc.ca/wp-content/plugins/invoicing/assets/js/payment-forms.min.js?ver=2.8.48"></script>
vendor: 1 bytes, line 2120
2120
2121<script id="googlesitekit-events-provider-wpforms-js" src="https://gobybikebc.ca/wp-content/plugins/google-site-kit/dist/assets/js/googlesitekit-events-provider-wpforms-063cb453c64ecfd3dafe.js" defer></script>
2121 2122
2122<script> 2123 ( function( $ ) { 2124 "use strict"; 2125 2126 var taxMap = []; 2127 var numberText = "Number"; 2128 var defaultTax = "Tax ID"; 2129 var selectors = [ 2130 "#wpinv-country", 2131 "#wpinv_country", 2132 "[name='wpinv_country']", 2133 "[name='billing[wpinv_country]']", 2134 "[name='getpaid_address[country]']" 2135 ]; 2136 2137 function updateLabel() { 2138 var country = null; 2139 2140 for ( var i = 0; i < selectors.length; i++ ) { 2141 var $field = $( selectors[ i ] ); 2142 if ( $field.length && $field.val() ) { 2143 country = $field.val(); 2144 break; 2145 } 2146 } 2147 2148 console.log( "Detected country:", country ); 2149 2150 var taxName = taxMap[ country ] || defaultTax; 2151 var label = taxName + " " + numberText; 2152 2153 $( "label[for*='vat_number']" ).text( label ); 2154 $( "input[name*='vat_number']" ).attr( "placeholder", label ); 2155 } 2156 2157 $( document ).on( "change", selectors.join( "," ), updateLabel ); 2158 2159 $( function() { 2160 setTimeout( updateLabel, 500 ); 2161 setTimeout( updateLabel, 1000 ); 2162 } ); 2163 } )( jQuery ); 2164 </script>
2164 2165
2166<script src="https://code.jquery.com/jquery-migrate-3.0.0.min.js"></script>
2166 2167 2168
2168<script type="text/javascript"> 2169 $(document).ready(function() { 2170 $('.owl-carousel').owlCarousel({ 2171 loop: true, 2172 margin: 10, 2173 autoplay: true, 2174 autoplayTimeout: 5000, 2175 autoplayHoverPause: true, 2176 responsive: { 2177 0: { 2178 items: 1 2179 } 2180 } 2181 }) 2182 }); 2183 </script>
2183 2184
2185<script type="module" src="https://static.cloudflareinsights.com/beacon.min.js/v31edd6df95cf4e85bb4c19e7a9bdbcba1788362987495" integrity="sha512-iIg7k2xntmwu6/uSb5tpc/hySgZc4eoL31yB29W6tJFo2akwjPWcEqnCEdJvGexCL0KEQwVYv5BlowfhVz26hg==" data-cf-beacon='{"version":"2024.11.0","token":"31d3e1accec74e9f8b13d88a4593a756","r":1,"spa":2}' crossorigin="anonymous"></script>
2185 2186</body> 2187 2188</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.