diff --git a/compiled/css/storymap.css b/compiled/css/storymap.css index 87d6a94e..3fa4888a 100644 --- a/compiled/css/storymap.css +++ b/compiled/css/storymap.css @@ -1 +1 @@ -.vco-storyjs div *{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.vco-storyjs h1,.vco-storyjs h2,.vco-storyjs h3,.vco-storyjs h4,.vco-storyjs h5,.vco-storyjs h6,.vco-storyjs p,.vco-storyjs blockquote,.vco-storyjs pre,.vco-storyjs a,.vco-storyjs abbr,.vco-storyjs acronym,.vco-storyjs address,.vco-storyjs cite,.vco-storyjs code,.vco-storyjs del,.vco-storyjs dfn,.vco-storyjs em,.vco-storyjs img,.vco-storyjs q,.vco-storyjs s,.vco-storyjs samp,.vco-storyjs small,.vco-storyjs strike,.vco-storyjs strong,.vco-storyjs sub,.vco-storyjs sup,.vco-storyjs tt,.vco-storyjs var,.vco-storyjs dd,.vco-storyjs dl,.vco-storyjs dt,.vco-storyjs li,.vco-storyjs ol,.vco-storyjs ul,.vco-storyjs fieldset,.vco-storyjs form,.vco-storyjs label,.vco-storyjs legend,.vco-storyjs button,.vco-storyjs table,.vco-storyjs caption,.vco-storyjs tbody,.vco-storyjs tfoot,.vco-storyjs thead,.vco-storyjs tr,.vco-storyjs th,.vco-storyjs td,.vco-storyjs .vco-container,.vco-storyjs .content-container,.vco-storyjs .media,.vco-storyjs .text,.vco-storyjs .vco-slider,.vco-storyjs .slider,.vco-storyjs .date,.vco-storyjs .title,.vco-storyjs .message,.vco-storyjs .map,.vco-storyjs .credit,.vco-storyjs .caption,.vco-storyjs .vco-feedback,.vco-storyjs .vco-feature,.vco-storyjs .toolbar,.vco-storyjs .marker,.vco-storyjs .dot,.vco-storyjs .line,.vco-storyjs .flag,.vco-storyjs .time,.vco-storyjs .era,.vco-storyjs .major,.vco-storyjs .minor,.vco-storyjs .vco-navigation,.vco-storyjs .start,.vco-storyjs .active{margin:0;padding:0;border:0;font-weight:400;font-style:normal;font-size:100%;line-height:1;font-family:inherit;width:auto;float:none}.vco-storyjs h1,.vco-storyjs h2,.vco-storyjs h3,.vco-storyjs h4,.vco-storyjs h5,.vco-storyjs h6{clear:none}.vco-storyjs table{border-collapse:collapse;border-spacing:0}.vco-storyjs ol,.vco-storyjs ul{list-style:none}.vco-storyjs q:before,.vco-storyjs q:after,.vco-storyjs blockquote:before,.vco-storyjs blockquote:after{content:""}.vco-storyjs a:focus{outline:thin dotted}.vco-storyjs a:hover,.vco-storyjs a:active{outline:0}.vco-storyjs article,.vco-storyjs aside,.vco-storyjs details,.vco-storyjs figcaption,.vco-storyjs figure,.vco-storyjs footer,.vco-storyjs header,.vco-storyjs hgroup,.vco-storyjs nav,.vco-storyjs section{display:block}.vco-storyjs audio,.vco-storyjs canvas,.vco-storyjs video{display:inline-block;*display:inline;*zoom:1}.vco-storyjs audio:not([controls]){display:none}.vco-storyjs div{max-width:none}.vco-storyjs sub,.vco-storyjs sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}.vco-storyjs sup{top:-.5em}.vco-storyjs sub{bottom:-.25em}.vco-storyjs img{border:0;-ms-interpolation-mode:bicubic}.vco-storyjs button,.vco-storyjs input,.vco-storyjs select,.vco-storyjs textarea{font-size:100%;margin:0;vertical-align:baseline;*vertical-align:middle}.vco-storyjs button,.vco-storyjs input{line-height:normal;*overflow:visible}.vco-storyjs button::-moz-focus-inner,.vco-storyjs input::-moz-focus-inner{border:0;padding:0}.vco-storyjs button,.vco-storyjs input[type=button],.vco-storyjs input[type=reset],.vco-storyjs input[type=submit]{cursor:pointer;-webkit-appearance:button}.vco-storyjs input[type=search]{-webkit-appearance:textfield;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.vco-storyjs input[type=search]::-webkit-search-decoration{-webkit-appearance:none}.vco-storyjs textarea{overflow:auto;vertical-align:top}.vco-storymap{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif}.vco-storymap h1,.vco-storymap h2,.vco-storymap h3{font-size:36px;line-height:36px}.vco-storymap h1 small,.vco-storymap h2 small,.vco-storymap h3 small{font-size:24px;line-height:24px}.vco-storymap h4,.vco-storymap h5,.vco-storymap h6{font-size:24px;line-height:24px;margin-bottom:0}.vco-storymap h4 small,.vco-storymap h5 small,.vco-storymap h6 small{font-size:15px;line-height:15px}.vco-storymap h2.vco-headline-title{font-size:46px;line-height:46px}.vco-storymap h2.vco-headline-title small{display:block;margin-top:5px;font-size:24px;line-height:24px}.vco-storymap h2{margin-top:20px;margin-bottom:5px}.vco-storymap p{margin-top:5px;margin-bottom:10px;font-size:15px;color:#666}.vco-storymap p a{color:#666;text-decoration:none;background-image:-moz-linear-gradient(top,rgba(102,102,102,0)50%,rgba(102,102,102,.6)50%);background-image:-webkit-linear-gradient(top,rgba(102,102,102,0)50%,rgba(102,102,102,.6)50%);background-image:-o-linear-gradient(top,rgba(102,102,102,0)50%,rgba(102,102,102,.6)50%);background-image:linear-gradient(to bottom,rgba(102,102,102,0)50%,rgba(102,102,102,.6)50%);background-repeat:repeat-x;background-size:2px 2px;background-position:0 17px;text-shadow:-2px -1px 0 #fff,2px -1px 0 #fff,-2px 1px 0 #fff,2px 1px 0 #fff}.vco-storymap p a:hover,.vco-storymap p a:focus{color:#c34528;text-decoration:none}@media (-webkit-min-device-pixel-ratio:1.5),(min-resolution:144dpi){.vco-storymap p a{text-decoration:underline;background-image:none;text-shadow:none}.vco-storymap p a:hover,.vco-storymap p a:focus{color:#c34528;text-decoration:underline}}.vco-storymap b,.vco-storymap strong{font-weight:700}.vco-storymap i,.vco-storymap em{font-style:italic}.vco-storymap a{text-decoration:none;color:#c34528}.vco-storymap a:hover{text-decoration:underline;color:#6e2717}.vco-storymap .vco-caption,.vco-storymap .vco-credit,.vco-storymap .vco-slidenav-next,.vco-storymap .vco-slidenav-previous{font-size:11px;line-height:11px}.vco-storymap .vco-caption a,.vco-storymap .vco-credit a,.vco-storymap .vco-slidenav-next a,.vco-storymap .vco-slidenav-previous a{color:#000}.vco-storymap blockquote,.vco-storymap blockquote p{font-family:Georgia,Times New Roman,Times,serif;color:#999;font-size:24px;line-height:24px;text-align:left;background:0 0;border:0;padding:0}.vco-storymap blockquote cite,.vco-storymap blockquote p cite{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:11px;color:#666;display:block;text-align:right;font-style:normal}.vco-storymap blockquote cite:before,.vco-storymap blockquote p cite:before{content:"\2014"}.vco-storymap blockquote p:before{content:open-quote;display:inline-block;font-size:36px;position:relative;top:8px;margin-right:5px}.vco-storymap blockquote p:after{content:close-quote;display:inline-block;font-size:36px;position:relative;top:8px;margin-left:3px}.vco-storymap blockquote{margin:10px}.vco-storymap blockquote p{margin:0}.vco-storymap .vcard{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:15px;line-height:15px}.vco-storymap .vco-text ul{padding:0;padding-left:30px;margin:0}.vco-storymap .vco-text ul li{margin-bottom:5px}.vco-storymap .vco-note{display:block;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-style:italic;background-color:#e6e6e6;font-size:15px;line-height:17px;padding:10px;-webkit-border-radius:7px;-moz-border-radius:7px;border-radius:7px;color:#8a6d3b;background-color:#fcf8e3;border:1px solid #faebcc}@media only screen and (max-width:800px),only screen and (max-device-width:800px){.vco-storymap h1,.vco-storymap h2,.vco-storymap h3{font-size:36px;line-height:36px}}@media only screen and (max-width:500px),only screen and (max-device-width:500px){.vco-storymap h1,.vco-storymap h2,.vco-storymap h3{font-size:32px;line-height:32px}}.vco-skinny h2{margin-top:0;padding-top:20px}@font-face{font-family:vco-icons;src:url(icons/vco-icons.eot);src:url(icons/vco-icons.eot?#iefix) format('embedded-opentype'),url(icons/vco-icons.ttf) format('truetype'),url(icons/vco-icons.woff) format('woff'),url(icons/vco-icons.svg#vco-icons) format('svg');font-weight:400;font-style:normal}[class^=vco-icon-],[class*=" vco-icon-"]{font-family:vco-icons;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.vco-icon-vine:after{content:"\e64d"}.vco-icon-wikipedia:after{content:"\e64e"}.vco-icon-chevron-right:after{content:"\e64f"}.vco-icon-chevron-left:after{content:"\e650"}.vco-icon-youtube-logo:after{content:"\e651"}.vco-icon-foursquare:after{content:"\e652"}.vco-icon-camera-retro:after{content:"\e653"}.vco-icon-doc:after{content:"\e654"}.vco-icon-weibo:after{content:"\e655"}.vco-icon-resize-horizontal:after{content:"\e656"}.vco-icon-resize-vertical:after{content:"\e657"}.vco-icon-resize-full:after{content:"\e658"}.vco-icon-resize-small:after{content:"\e659"}.vco-icon-twitter:after{content:"\e62b"}.vco-icon-google-plus:after{content:"\e62c"}.vco-icon-video:after{content:"\e62d"}.vco-icon-youtube:after{content:"\e62d"}.vco-icon-plaintext:after{content:"\e62e"}.vco-icon-storify:after{content:"\e62e"}.vco-icon-image-v2:after{content:"\e62f"}.vco-icon-quote-v2:after{content:"\e630"}.vco-icon-zoom-in:after{content:"\e631"}.vco-icon-zoom-out:after{content:"\e632"}.vco-icon-list:after{content:"\e633"}.vco-icon-music:after{content:"\e634"}.vco-icon-location:after{content:"\e635"}.vco-icon-web:after{content:"\e636"}.vco-icon-share-v2:after{content:"\e637"}.vco-icon-soundcloud:after{content:"\e639"}.vco-icon-video-v2:after{content:"\e63a"}.vco-icon-dailymotion:after{content:"\e63a"}.vco-icon-tumblr:after{content:"\e63b"}.vco-icon-lastfm:after{content:"\e63c"}.vco-icon-github:after{content:"\e63d"}.vco-icon-goback:after{content:"\e63e"}.vco-icon-doc-v2:after{content:"\e63f"}.vco-icon-googledrive:after{content:"\e640"}.vco-icon-facebook:after{content:"\e641"}.vco-icon-flickr:after{content:"\e642"}.vco-icon-dribbble:after{content:"\e643"}.vco-icon-image:after{content:"\e605"}.vco-icon-vimeo:after{content:"\e606"}.vco-icon-instagram:after{content:"\e644"}.vco-icon-pinterest:after{content:"\e645"}.vco-icon-arrow-left:after{content:"\e646"}.vco-icon-arrow-down:after{content:"\e647"}.vco-icon-arrow-up:after{content:"\e648"}.vco-icon-arrow-right:after{content:"\e649"}.vco-icon-share:after{content:"\e64a"}.vco-icon-blockquote:after{content:"\e64b"}.vco-icon-evernote:after{content:"\e64c"}.vco-icon-mappin:after{content:"\e600"}.vco-icon-swipe-right:after{content:"\e601"}.vco-icon-swipe-left:after{content:"\e602"}.vco-icon-touch-spread:after{content:"\e603"}.vco-icon-touch-pinch:after{content:"\e604"}.vco-dragging{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none}.vco-menubar{position:absolute;z-index:11;text-align:right;color:#333;overflow:hidden;border-bottom:1px solid #e6e6e6;right:0}@keyframes invertToBlack{from{background-color:#FFF}to{background-color:#000}}@-webkit-keyframes invertToBlack{from{background:#FFF}to{background:#000}}@keyframes invertToWhite{from{background-color:#000}to{background-color:#FFF}}@-webkit-keyframes invertToWhite{from{background:#000}to{background:#FFF}}.vco-menubar-button{border-left:1px solid #e6e6e6;font-size:14px;padding:6px 12px;background-color:#FFF;cursor:pointer;font-weight:700}.vco-menubar-button .vco-icon-arrow-up,.vco-menubar-button .vco-icon-arrow-down{display:inline-block;height:14px;overflow:hidden;font-size:20px;position:relative;top:-2px}.vco-menubar-button:hover{background:#c34528;color:#fff}.vco-mobile .vco-menubar-button:hover{background-color:#FFF;color:inherit}.vco-mobile .vco-menubar-button:active{background:#c34528;color:#fff}@keyframes invertToBlack{from{background-color:#FFF}to{background-color:#000}}@-webkit-keyframes invertToBlack{from{background:#FFF}to{background:#000}}@keyframes invertToWhite{from{background-color:#000}to{background-color:#FFF}}@-webkit-keyframes invertToWhite{from{background:#000}to{background:#FFF}}.vco-message,.vco-message-full{width:100%;height:100%;position:absolute;display:table;overflow:hidden;top:0;left:0;z-index:99;margin:auto;text-align:center}.vco-message .vco-message-container,.vco-message-full .vco-message-container{padding:20px;margin:20px;text-align:center;vertical-align:middle;display:table-cell}.vco-message .vco-message-container .vco-message-content,.vco-message-full .vco-message-container .vco-message-content{color:#666;text-align:center;font-size:11px;line-height:13px;text-transform:uppercase;margin-top:7.5px;margin-bottom:7.5px;text-shadow:1px 1px 1px #FFF}.vco-message .vco-message-container .vco-loading-icon,.vco-message-full .vco-message-container .vco-loading-icon{width:30px;height:30px;background-color:#666;vertical-align:middle;-webkit-box-shadow:inset 0 1px 2px rgba(255,255,255,.1);-moz-box-shadow:inset 0 1px 2px rgba(255,255,255,.1);box-shadow:inset 0 1px 2px rgba(255,255,255,.1);margin-left:auto;margin-right:auto;text-align:center;-webkit-animation:rotateplane 1.2s infinite ease-in-out;animation:rotateplane 1.2s infinite ease-in-out}@-webkit-keyframes rotateplane{0%{-webkit-transform:perspective(120px)}50%{-webkit-transform:perspective(120px) rotateY(180deg)}100%{-webkit-transform:perspective(120px) rotateY(180deg) rotateX(180deg)}}@keyframes rotateplane{0%{transform:perspective(120px) rotateX(0deg) rotateY(0deg)}50%{transform:perspective(120px) rotateX(-180.1deg) rotateY(0deg)}100%{transform:perspective(120px) rotateX(-180deg) rotateY(-179.9deg)}}.vco-message-full{background-color:rgba(51,51,51,.8)}.vco-message-full [class^=vco-icon-],.vco-message-full [class*=" vco-icon-"]{color:#FFF;font-size:72px}.vco-message-full .vco-message-container .vco-message-content{font-size:22px;line-height:22px;text-shadow:none;color:#FFF;text-transform:none;font-weight:700}.vco-message-full .vco-message-container .vco-message-content .vco-button{display:inline-block;cursor:pointer;background-color:#FFF;color:#333;padding:10px;margin-top:10px;-webkit-border-radius:7px;-moz-border-radius:7px;border-radius:7px}.vcoanimate{-webkit-transform:translateZ(0);-webkit-perspective:1000;-webkit-backface-visibility:hidden}.vco-slide{position:absolute;width:100%;height:100%;padding:0;margin:0;overflow-x:hidden;overflow-y:auto}.vco-slide .vco-slide-background{position:absolute;left:0;top:0;width:100%;height:100%;z-index:-1;overflow:hidden;display:none;filter:alpha(opacity=50);-khtml-opacity:.5;-moz-opacity:.5;opacity:.5;background:no-repeat center center;-webkit-background-size:cover;-moz-background-size:cover;-o-background-size:cover;background-size:cover}.vco-slide .vco-slide-scrollable-container{display:table;table-layout:fixed;height:100%;z-index:1}.vco-slide .vco-slide-content-container{display:table-cell;vertical-align:middle;position:relative;width:100%;height:100%;z-index:3}.vco-slide .vco-slide-content-container .vco-slide-content{display:table;vertical-align:middle;padding-left:100px;padding-right:100px;position:relative;max-width:100%}.vco-slide .vco-slide-content-container .vco-slide-content .vco-media{position:relative;width:100%;min-width:50%;float:left;margin-top:auto;margin-bottom:auto}.vco-slide .vco-slide-content-container .vco-slide-content .vco-text{width:50%;max-width:50%;min-width:120px;padding:0 20px;display:table-cell;vertical-align:middle;text-align:left}.vco-slide-media-only .vco-slide-content-container .vco-slide-content{text-align:center}.vco-slide-media-only .vco-slide-content-container .vco-slide-content .vco-media{text-align:center;position:relative;width:100%;min-width:50%;max-width:100%;float:none;margin-top:auto;margin-bottom:auto}.vco-slide-media-only .vco-slide-content-container .vco-slide-content .vco-text{width:100%;display:block;margin-left:auto;margin-right:auto;text-align:center}.vco-slide-media-only .vco-slide-content-container .vco-slide-content .vco-text h2{margin-top:20px;margin-bottom:20px}.vco-slide-text-only .vco-slide-content-container .vco-slide-content{text-align:center}.vco-slide-text-only .vco-slide-content-container .vco-slide-content .vco-text{max-width:80%;width:80%;display:block;margin-left:auto;margin-right:auto}.vco-slide.vco-full-image-background,.vco-slide.vco-full-color-background{color:#FFF!important;text-shadow:1px 1px 1px #000!important}.vco-slide.vco-full-image-background p,.vco-slide.vco-full-color-background p,.vco-slide.vco-full-image-background h1,.vco-slide.vco-full-color-background h1,.vco-slide.vco-full-image-background h2,.vco-slide.vco-full-color-background h2,.vco-slide.vco-full-image-background h3,.vco-slide.vco-full-color-background h3,.vco-slide.vco-full-image-background h4,.vco-slide.vco-full-color-background h4,.vco-slide.vco-full-image-background h5,.vco-slide.vco-full-color-background h5,.vco-slide.vco-full-image-background h6,.vco-slide.vco-full-color-background h6{color:#FFF!important;text-shadow:1px 1px 1px #000!important}.vco-slide.vco-full-image-background a,.vco-slide.vco-full-color-background a,.vco-slide.vco-full-image-background a:hover,.vco-slide.vco-full-color-background a:hover,.vco-slide.vco-full-image-background b,.vco-slide.vco-full-color-background b,.vco-slide.vco-full-image-background i,.vco-slide.vco-full-color-background i,.vco-slide.vco-full-image-background blockquote,.vco-slide.vco-full-color-background blockquote,.vco-slide.vco-full-image-background blockquote p,.vco-slide.vco-full-color-background blockquote p{color:#FFF!important;text-shadow:1px 1px 1px #000!important;color:#fff}.vco-slide.vco-full-image-background .vco-caption,.vco-slide.vco-full-color-background .vco-caption,.vco-slide.vco-full-image-background .vco-credit,.vco-slide.vco-full-color-background .vco-credit{color:#FFF!important;text-shadow:1px 1px 1px #000!important}.vco-slide.vco-full-image-background .vco-media-twitter blockquote,.vco-slide.vco-full-color-background .vco-media-twitter blockquote,.vco-slide.vco-full-image-background .vco-media-blockquote blockquote,.vco-slide.vco-full-color-background .vco-media-blockquote blockquote{color:#FFF!important;text-shadow:1px 1px 1px #000!important}.vco-slide.vco-full-image-background .vco-media-twitter blockquote p,.vco-slide.vco-full-color-background .vco-media-twitter blockquote p,.vco-slide.vco-full-image-background .vco-media-blockquote blockquote p,.vco-slide.vco-full-color-background .vco-media-blockquote blockquote p{color:#FFF!important;text-shadow:1px 1px 1px #000!important}.vco-slide.vco-full-image-background .vcard a,.vco-slide.vco-full-color-background .vcard a,.vco-slide.vco-full-image-background .vcard .nickname,.vco-slide.vco-full-color-background .vcard .nickname{color:#FFF!important;text-shadow:1px 1px 1px #000!important}.vco-slide.vco-full-image-background{background:no-repeat center center;-webkit-background-size:cover;-moz-background-size:cover;-o-background-size:cover;background-size:cover;background-position:center 25%;text-shadow:1px 1px 2px #000}.vco-slide.vco-full-image-background p,.vco-slide.vco-full-image-background h1,.vco-slide.vco-full-image-background h2,.vco-slide.vco-full-image-background h3,.vco-slide.vco-full-image-background h4,.vco-slide.vco-full-image-background h5,.vco-slide.vco-full-image-background h6{text-shadow:1px 1px 2px #000}.vco-slide.vco-full-image-background .vco-caption,.vco-slide.vco-full-image-background .vco-credit{text-shadow:1px 1px 2px #000}.vco-slide.vco-full-image-background .vco-media-twitter blockquote,.vco-slide.vco-full-image-background .vco-media-blockquote blockquote{text-shadow:1px 1px 2px #000!important}.vco-slide.vco-full-image-background .vco-media-twitter blockquote p,.vco-slide.vco-full-image-background .vco-media-blockquote blockquote p{text-shadow:1px 1px 2px #000!important}.vco-slide.vco-text-background .vco-text .vco-text-content-container{padding:20px;background:#000 transparent;background:rgba(0,0,0,.6);-webkit-border-radius:7px;-moz-border-radius:7px;border-radius:7px}.vco-slide.vco-text-background .vco-text .vco-text-content-container h2{margin-top:5px}.vco-layout-landscape .vco-slide .vco-slide-content-container .vco-slide-content .vco-media{display:block;position:static;vertical-align:baseline;height:auto;margin-bottom:20px;max-height:50%}.vco-layout-landscape .vco-slide .vco-slide-content-container .vco-slide-content .vco-text{display:block;height:auto;vertical-align:baseline;position:static;width:100%;max-width:100%;min-width:0;float:none;padding:0}.vco-skinny .vco-slide{display:block}.vco-skinny .vco-slide .vco-slide-content-container{display:block;position:static;height:auto;vertical-align:baseline}.vco-skinny .vco-slide .vco-slide-content-container .vco-slide-content{display:block;position:static;vertical-align:baseline;height:auto}.vco-skinny .vco-slide .vco-slide-content-container .vco-slide-content .vco-media{position:static;width:100%;height:auto;float:none;display:block}.vco-skinny .vco-slide .vco-slide-content-container .vco-slide-content .vco-text{display:block;height:auto;vertical-align:baseline;position:static;width:100%;max-width:100%;min-width:0;float:none;padding:0}.vco-skinny .vco-slide .vco-slide-content-container .vco-slide-content .vco-text .vco-text-content-container{padding-left:10px;padding-right:10px;padding-bottom:100px}.vco-mobile.vco-skinny .vco-slide-content-container .vco-slide-content .vco-media img,.vco-mobile.vco-skinny .vco-slide-content-container .vco-slide-content .vco-media embed,.vco-mobile.vco-skinny .vco-slide-content-container .vco-slide-content .vco-media object,.vco-mobile.vco-skinny .vco-slide-content-container .vco-slide-content .vco-media video,.vco-mobile.vco-skinny .vco-slide-content-container .vco-slide-content .vco-media iframe{max-height:175px}.vco-slidenav-previous,.vco-slidenav-next{position:absolute;top:45%;z-index:10;cursor:pointer}.vco-slidenav-previous .vco-slidenav-content-container,.vco-slidenav-next .vco-slidenav-content-container{height:200px;width:100px;position:absolute}.vco-slidenav-previous .vco-slidenav-title,.vco-slidenav-next .vco-slidenav-title,.vco-slidenav-previous .vco-slidenav-description,.vco-slidenav-next .vco-slidenav-description{width:100%;-ms-word-break:break-all;word-break:break-all;word-break:break-word;-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto;filter:alpha(opacity=15);-khtml-opacity:.15;-moz-opacity:.15;opacity:.15}.vco-slidenav-previous .vco-slidenav-title,.vco-slidenav-next .vco-slidenav-title{margin-top:10px;font-size:15px;line-height:15px;font-size:11px;line-height:11px}.vco-slidenav-previous .vco-slidenav-description,.vco-slidenav-next .vco-slidenav-description{font-size:11px}.vco-slidenav-previous .vco-slidenav-content-container .vco-slidenav-icon,.vco-slidenav-next .vco-slidenav-content-container .vco-slidenav-icon,.vco-slidenav-previous .vco-slidenav-content-container .vco-slidenav-title,.vco-slidenav-next .vco-slidenav-content-container .vco-slidenav-title,.vco-slidenav-previous .vco-slidenav-content-container .vco-slidenav-description,.vco-slidenav-next .vco-slidenav-content-container .vco-slidenav-description{text-shadow:1px 1px 1px #FFF;color:#333}.vco-slidenav-previous .vco-slidenav-content-container.vco-slidenav-inverted .vco-slidenav-icon,.vco-slidenav-next .vco-slidenav-content-container.vco-slidenav-inverted .vco-slidenav-icon,.vco-slidenav-previous .vco-slidenav-content-container.vco-slidenav-inverted .vco-slidenav-title,.vco-slidenav-next .vco-slidenav-content-container.vco-slidenav-inverted .vco-slidenav-title,.vco-slidenav-previous .vco-slidenav-content-container.vco-slidenav-inverted .vco-slidenav-description,.vco-slidenav-next .vco-slidenav-content-container.vco-slidenav-inverted .vco-slidenav-description{color:#FFF;text-shadow:1px 1px 1px #000}.vco-slidenav-next .vco-slidenav-icon,.vco-slidenav-previous .vco-slidenav-icon{font-family:vco-icons;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:32px;margin-bottom:5px}.vco-slidenav-next{text-align:right;margin-right:10px;right:100px}.vco-slidenav-next .vco-slidenav-icon{margin-left:76px}.vco-slidenav-next .vco-slidenav-icon:before{content:"\e64f"}.vco-slidenav-previous{text-align:left;margin-left:10px}.vco-slidenav-previous .vco-slidenav-icon{margin-left:0}.vco-slidenav-previous .vco-slidenav-icon:before{content:"\e650"}.vco-slidenav-previous:hover .vco-slidenav-title,.vco-slidenav-next:hover .vco-slidenav-title,.vco-slidenav-previous:hover .vco-slidenav-description,.vco-slidenav-next:hover .vco-slidenav-description{filter:alpha(opacity=100);-khtml-opacity:1;-moz-opacity:1;opacity:1}.vco-slidenav-next:hover .vco-slidenav-icon{margin-left:80px}.vco-slidenav-previous:hover .vco-slidenav-icon{margin-left:-4px}.vco-skinny .vco-slidenav-next{right:32px}.vco-skinny .vco-slidenav-next .vco-slidenav-icon{margin-left:8px}.vco-skinny .vco-slidenav-previous .vco-slidenav-content-container,.vco-skinny .vco-slidenav-next .vco-slidenav-content-container{width:32px;height:32px}.vco-skinny .vco-slidenav-previous .vco-slidenav-title,.vco-skinny .vco-slidenav-next .vco-slidenav-title,.vco-skinny .vco-slidenav-previous .vco-slidenav-description,.vco-skinny .vco-slidenav-next .vco-slidenav-description{display:none}.vco-skinny .vco-slidenav-previous .vco-slidenav-icon,.vco-skinny .vco-slidenav-next .vco-slidenav-icon{filter:alpha(opacity=33);-khtml-opacity:.33;-moz-opacity:.33;opacity:.33}.vco-skinny .vco-slidenav-next:hover .vco-slidenav-icon{margin-left:12px;filter:alpha(opacity=100);-khtml-opacity:1;-moz-opacity:1;opacity:1}.vco-skinny .vco-slidenav-previous:hover .vco-slidenav-icon{margin-left:-4px;filter:alpha(opacity=100);-khtml-opacity:1;-moz-opacity:1;opacity:1}.vco-layout-landscape.vco-mobile .vco-slidenav-next:hover{right:70px}.vco-layout-landscape.vco-mobile .vco-slidenav-next:hover .vco-slidenav-icon{margin-left:8px;filter:alpha(opacity=100);-khtml-opacity:1;-moz-opacity:1;opacity:1}.vco-layout-landscape.vco-mobile .vco-slidenav-next:active .vco-slidenav-icon{margin-left:0;filter:alpha(opacity=100);-khtml-opacity:1;-moz-opacity:1;opacity:1}.vco-layout-landscape.vco-mobile .vco-slidenav-previous:hover .vco-slidenav-icon{margin-left:80px;filter:alpha(opacity=100);-khtml-opacity:1;-moz-opacity:1;opacity:1}.vco-layout-landscape.vco-mobile .vco-slidenav-previous:active .vco-slidenav-icon{filter:alpha(opacity=100);-khtml-opacity:1;-moz-opacity:1;opacity:1;margin-left:-4px}.vco-layout-portrait.vco-mobile .vco-slidenav-next:hover .vco-slidenav-icon{filter:alpha(opacity=33);-khtml-opacity:.33;-moz-opacity:.33;opacity:.33}.vco-layout-portrait.vco-mobile .vco-slidenav-next:active .vco-slidenav-icon{filter:alpha(opacity=100);-khtml-opacity:1;-moz-opacity:1;opacity:1}.vco-layout-portrait.vco-mobile .vco-slidenav-previous:hover .vco-slidenav-icon{filter:alpha(opacity=33);-khtml-opacity:.33;-moz-opacity:.33;opacity:.33}.vco-layout-portrait.vco-mobile .vco-slidenav-previous:active .vco-slidenav-icon{filter:alpha(opacity=100);-khtml-opacity:1;-moz-opacity:1;opacity:1}.vco-mobile .vco-slidenav-previous,.vco-skinny.vco-mobile .vco-slidenav-previous,.vco-skinny.vco-layout-landscape.vco-mobile .vco-slidenav-previous,.vco-skinny.vco-layout-portrait.vco-mobile .vco-slidenav-previous,.vco-mobile .vco-slidenav-next,.vco-skinny.vco-mobile .vco-slidenav-next,.vco-skinny.vco-layout-landscape.vco-mobile .vco-slidenav-next,.vco-skinny.vco-layout-portrait.vco-mobile .vco-slidenav-next{display:none}.vco-storyslider{width:100%;height:100%;overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none;position:relative}.vco-storyslider img,.vco-storyslider embed,.vco-storyslider object,.vco-storyslider video,.vco-storyslider iframe{max-width:100%;position:relative}.vco-storyslider .vco-slider-background{position:absolute;top:0;left:0;width:100%;height:100%;z-index:1}.vco-storyslider .vco-slider-touch-mask{width:100%;height:100%;z-index:25;top:0;left:0;position:absolute}.vco-storyslider .vco-slider-container-mask{text-align:center;width:100%;height:100%;position:relative;z-index:5}.vco-storyslider .vco-slider-container-mask .vco-slider-container{position:absolute;top:0;left:0;width:100%;height:100%;text-align:center}.vco-storyslider .vco-slider-container-mask .vco-slider-container .vco-slider-item-container{width:100%;height:100%;display:table-cell;vertical-align:middle}.vco-media{width:100%;min-width:50%;height:100%;float:left;margin-top:auto;margin-bottom:auto;position:relative}.vco-media .vco-media-content-container .vco-media-content{position:relative;*zoom:1}.vco-media .vco-media-content-container .vco-media-content:before,.vco-media .vco-media-content-container .vco-media-content:after{display:table;content:""}.vco-media .vco-media-content-container .vco-media-content:after{clear:both}.vco-media .vco-media-content-container .vco-media-content .vco-media-loaderror{border:1px solid #333;padding:20px;padding-top:50px;padding-bottom:50px;color:gray}.vco-media .vco-media-content-container .vco-media-content .vco-media-loaderror [class^=vco-icon-],.vco-media .vco-media-content-container .vco-media-content .vco-media-loaderror [class*=" vco-icon-"]{font-size:36px}.vco-media .vco-media-content-container .vco-media-content img,.vco-media .vco-media-content-container .vco-media-content embed,.vco-media .vco-media-content-container .vco-media-content object,.vco-media .vco-media-content-container .vco-media-content video{max-width:100%;max-height:100%}.vco-media-shadow{position:relative;z-index:1;-webkit-box-shadow:1px 1px 7px rgba(0,0,0,.5);-moz-box-shadow:1px 1px 7px rgba(0,0,0,.5);box-shadow:1px 1px 7px rgba(0,0,0,.5)}.vcard{*zoom:1;margin-bottom:15px;margin-top:10px}.vcard:before,.vcard:after{display:table;content:""}.vcard:after{clear:both}.vcard .twitter-date{text-align:left;font-size:11px}.vcard .author{float:right}.vcard a{color:#333;text-decoration:none}.vcard a:hover{text-decoration:none}.vcard a:hover .fn,.vcard a:hover .nickname{color:#c34528}.vcard .fn,.vcard .nickname{padding-left:42px}.vcard .fn{display:block;font-weight:700}.vcard .nickname{margin-top:1px;display:block;color:#666}.vcard .avatar{float:left;display:block;width:32px;height:32px}.vcard .avatar img{-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}.vco-slide.vco-full-image-background a,.vco-slide.vco-full-color-background a,.vco-slide.vco-full-image-background .vcard a,.vco-slide.vco-full-color-background .vcard a{color:#FFF!important;text-shadow:1px 1px 1px #000!important;color:#fff}.vco-credit{color:#999;text-align:right;display:block;margin:0 auto;margin-top:6px;font-size:10px;line-height:13px}.vco-caption{text-align:left;margin-top:10px;color:#666;font-size:11px;line-height:14px;text-rendering:optimizeLegibility;word-wrap:break-word}.vco-full-image-background .vco-media-shadow:before,.vco-full-color-background .vco-media-shadow:before,.vco-full-image-background .vco-media-shadow:after,.vco-full-color-background .vco-media-shadow:after{background:0 0;-webkit-box-shadow:0 0 0 #000;-moz-box-shadow:0 0 0 #000;box-shadow:0 0 0 #000}@media only screen and (max-width:500px),only screen and (max-device-width:500px){.vco-media{width:100%;height:auto;float:none;display:block}}.vco-skinny .vco-media{width:100%;height:auto;float:none;display:block}.vco-skinny .vco-media .vco-media-content-container .vco-credit,.vco-skinny .vco-media .vco-media-content-container .vco-caption{margin-top:2px;padding-left:10px;padding-right:10px;font-size:8px}.vco-skinny .vco-media .vco-media-content-container .vco-credit{margin-top:0}.vco-text{width:50%;max-width:50%;min-width:120px;padding:0 20px;display:table-cell;vertical-align:middle;text-align:left;text-shadow:none}.vco-full-image-background .vco-text,.vco-full-image-background .vco-text p{color:#FFF;text-shadow:1px 1px 2px #000}@media only screen and (max-width:500px),only screen and (max-device-width:500px){.vco-text{width:100%;max-width:100%;min-width:auto;float:none}}.vco-media .vco-media-twitter{text-align:left;clear:both}.vco-media .vco-media-twitter blockquote{margin:0;margin-right:15px;font-size:15px;line-height:21px;color:#333}.vco-media .vco-media-twitter blockquote p{font-size:36px;line-height:39px;color:#000}.vco-media .vco-media-twitter blockquote p:before{display:none}.vco-media .vco-media-twitter blockquote p:after{display:none}.vco-media .vco-media-twitter .vco-icon-twitter{color:#55ACEE}.vco-media .vco-media-twitter .vcard a:hover,.vco-media .vco-media-twitter .vcard a.vco-date:hover{text-decoration:none;color:#55ACEE}.vco-media .vco-media-twitter .vcard a:hover .fn,.vco-media .vco-media-twitter .vcard a.vco-date:hover .fn,.vco-media .vco-media-twitter .vcard a:hover .nickname,.vco-media .vco-media-twitter .vcard a.vco-date:hover .nickname{color:#55ACEE}.vco-slide-media-only .vco-media .vco-media-twitter{width:80%;margin-left:auto;margin-right:auto}@media only screen and (max-width:800px),only screen and (max-device-width:800px){.vco-media .vco-media-twitter blockquote p{font-size:24px;line-height:26px}}@media only screen and (max-width:500px),only screen and (max-device-width:500px){.vco-media .vco-media-twitter blockquote p{font-size:15px;line-height:21px}}.vco-media .vco-media-blockquote{text-align:left;clear:both}.vco-media .vco-media-blockquote blockquote{margin:0;margin-right:15px;text-align:left}.vco-media .vco-media-blockquote blockquote p{font-size:36px;line-height:39px}.vco-media .vco-media-blockquote blockquote cite{font-size:15px;line-height:21px;color:#333;text-align:right}.vco-media .vco-media-blockquote blockquote p:before{content:open-quote;display:inline-block;margin-right:5px}.vco-media .vco-media-blockquote blockquote p:after{content:close-quote;display:inline-block;margin-left:3px}.vco-slide-media-only .vco-media .vco-media-blockquote{width:80%;margin-left:auto;margin-right:auto}@media only screen and (max-width:800px),only screen and (max-device-width:800px){.vco-media .vco-media-blockquote blockquote p{font-size:24px;line-height:26px}}@media only screen and (max-width:500px),only screen and (max-device-width:500px){.vco-media .vco-media-blockquote blockquote p{font-size:15px;line-height:21px}}.vco-media .vco-media-instagram-profile{border-radius:50%}.vco-media .vco-media-iframe{width:100%;height:100%}.vco-media .vco-media-iframe iframe{width:100%;height:100%}.vco-media .vco-media-wikipedia{text-align:left;margin-left:auto;margin-right:auto;clear:both}.vco-media .vco-media-wikipedia .wiki-source{font-size:13px;line-height:19px;font-style:italic}.vco-media .vco-media-wikipedia h4{margin-top:0;margin-bottom:0}.vco-media .vco-media-wikipedia h4 a{color:#000;text-decoration:none}.vco-media .vco-media-wikipedia h4 a:hover{text-decoration:underline}.vco-media .vco-media-wikipedia p{font-size:13px;line-height:19px}.vco-slide.vco-full-image-background .vco-media .vco-media-wikipedia,.vco-slide.vco-full-color-background .vco-media .vco-media-wikipedia{padding:20px;background:#000 transparent;background:rgba(0,0,0,.6);-webkit-border-radius:7px;-moz-border-radius:7px;border-radius:7px}.vco-slide.vco-full-image-background .vco-media .vco-media-wikipedia h4 a,.vco-slide.vco-full-color-background .vco-media .vco-media-wikipedia h4 a{color:#FFF!important;text-shadow:1px 1px 1px #000!important}.vco-mobile.vco-skinny .vco-media .vco-media-wikipedia{margin-left:10px;margin-right:10px}.leaflet-map-pane,.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-tile-pane,.leaflet-tile-container,.leaflet-overlay-pane,.leaflet-shadow-pane,.leaflet-marker-pane,.leaflet-popup-pane,.leaflet-overlay-pane svg,.leaflet-zoom-box,.leaflet-image-layer,.leaflet-layer{position:absolute;left:0;top:0}.leaflet-container{overflow:hidden;-ms-touch-action:none}.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow{-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-user-drag:none}.leaflet-marker-icon,.leaflet-marker-shadow{display:block}.leaflet-container img{max-width:none!important}.leaflet-container img.leaflet-image-layer{max-width:15000px!important}.leaflet-tile{filter:inherit;visibility:hidden}.leaflet-tile-loaded{visibility:inherit}.leaflet-zoom-box{width:0;height:0}.leaflet-overlay-pane svg{-moz-user-select:none}.leaflet-tile-pane{z-index:2}.leaflet-objects-pane{z-index:3}.leaflet-overlay-pane{z-index:4}.leaflet-shadow-pane{z-index:5}.leaflet-marker-pane{z-index:6}.leaflet-popup-pane{z-index:7}.leaflet-vml-shape{width:1px;height:1px}.lvml{behavior:url(#default#VML);display:inline-block;position:absolute}.leaflet-control{position:relative;z-index:7;pointer-events:auto}.leaflet-top,.leaflet-bottom{position:absolute;z-index:1000;pointer-events:none}.leaflet-top{top:0}.leaflet-right{right:0}.leaflet-bottom{bottom:0}.leaflet-left{left:0}.leaflet-control{float:left;clear:both}.leaflet-right .leaflet-control{float:right}.leaflet-top .leaflet-control{margin-top:10px}.leaflet-bottom .leaflet-control{margin-bottom:10px}.leaflet-left .leaflet-control{margin-left:10px}.leaflet-right .leaflet-control{margin-right:10px}.leaflet-fade-anim .leaflet-tile,.leaflet-fade-anim .leaflet-popup{opacity:0;-webkit-transition:opacity .2s linear;-moz-transition:opacity .2s linear;-o-transition:opacity .2s linear;transition:opacity .2s linear}.leaflet-fade-anim .leaflet-tile-loaded,.leaflet-fade-anim .leaflet-map-pane .leaflet-popup{opacity:1}.leaflet-zoom-anim .leaflet-zoom-animated{-webkit-transition:-webkit-transform .25s cubic-bezier(0,0,.25,1);-moz-transition:-moz-transform .25s cubic-bezier(0,0,.25,1);-o-transition:-o-transform .25s cubic-bezier(0,0,.25,1);transition:transform .25s cubic-bezier(0,0,.25,1)}.leaflet-zoom-anim .leaflet-tile,.leaflet-pan-anim .leaflet-tile,.leaflet-touching .leaflet-zoom-animated{-webkit-transition:none;-moz-transition:none;-o-transition:none;transition:none}.leaflet-zoom-anim .leaflet-zoom-hide{visibility:hidden}.leaflet-clickable{cursor:pointer}.leaflet-container{cursor:-webkit-grab;cursor:-moz-grab}.leaflet-popup-pane,.leaflet-control{cursor:auto}.leaflet-dragging .leaflet-container,.leaflet-dragging .leaflet-clickable{cursor:move;cursor:-webkit-grabbing;cursor:-moz-grabbing}.leaflet-container{background:#ddd;outline:0}.leaflet-container a{color:#0078A8}.leaflet-container a.leaflet-active{outline:2px solid orange}.leaflet-zoom-box{border:2px dotted #38f;background:rgba(255,255,255,.5)}.leaflet-container{font:12px/1.5 "Helvetica Neue",Arial,Helvetica,sans-serif}.leaflet-bar{box-shadow:0 1px 5px rgba(0,0,0,.65);border-radius:4px}.leaflet-bar a,.leaflet-bar a:hover{background-color:#fff;border-bottom:1px solid #ccc;width:26px;height:26px;line-height:26px;display:block;text-align:center;text-decoration:none;color:#000}.leaflet-bar a,.leaflet-control-layers-toggle{background-position:50% 50%;background-repeat:no-repeat;display:block}.leaflet-bar a:hover{background-color:#f4f4f4}.leaflet-bar a:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.leaflet-bar a:last-child{border-bottom-left-radius:4px;border-bottom-right-radius:4px;border-bottom:none}.leaflet-bar a.leaflet-disabled{cursor:default;background-color:#f4f4f4;color:#bbb}.leaflet-touch .leaflet-bar a{width:30px;height:30px;line-height:30px}.leaflet-control-zoom-in,.leaflet-control-zoom-out{font:700 18px 'Lucida Console',Monaco,monospace;text-indent:1px}.leaflet-control-zoom-out{font-size:20px}.leaflet-touch .leaflet-control-zoom-in{font-size:22px}.leaflet-touch .leaflet-control-zoom-out{font-size:24px}.leaflet-control-layers{box-shadow:0 1px 5px rgba(0,0,0,.4);background:#fff;border-radius:5px}.leaflet-control-layers-toggle{background-image:url(images/layers.png);width:36px;height:36px}.leaflet-retina .leaflet-control-layers-toggle{background-image:url(images/layers-2x.png);background-size:26px 26px}.leaflet-touch .leaflet-control-layers-toggle{width:44px;height:44px}.leaflet-control-layers .leaflet-control-layers-list,.leaflet-control-layers-expanded .leaflet-control-layers-toggle{display:none}.leaflet-control-layers-expanded .leaflet-control-layers-list{display:block;position:relative}.leaflet-control-layers-expanded{padding:6px 10px 6px 6px;color:#333;background:#fff}.leaflet-control-layers-selector{margin-top:2px;position:relative;top:1px}.leaflet-control-layers label{display:block}.leaflet-control-layers-separator{height:0;border-top:1px solid #ddd;margin:5px -10px 5px -6px}.leaflet-container .leaflet-control-attribution{background:#fff;background:rgba(255,255,255,.7);margin:0}.leaflet-control-attribution,.leaflet-control-scale-line{padding:0 5px;color:#333}.leaflet-control-attribution a{text-decoration:none}.leaflet-control-attribution a:hover{text-decoration:underline}.leaflet-container .leaflet-control-attribution,.leaflet-container .leaflet-control-scale{font-size:11px}.leaflet-left .leaflet-control-scale{margin-left:5px}.leaflet-bottom .leaflet-control-scale{margin-bottom:5px}.leaflet-control-scale-line{border:2px solid #777;border-top:none;line-height:1.1;padding:2px 5px 1px;font-size:11px;white-space:nowrap;overflow:hidden;-moz-box-sizing:content-box;box-sizing:content-box;background:#fff;background:rgba(255,255,255,.5)}.leaflet-control-scale-line:not(:first-child){border-top:2px solid #777;border-bottom:none;margin-top:-2px}.leaflet-control-scale-line:not(:first-child):not(:last-child){border-bottom:2px solid #777}.leaflet-touch .leaflet-control-attribution,.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{box-shadow:none}.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{border:2px solid rgba(0,0,0,.2);background-clip:padding-box}.leaflet-popup{position:absolute;text-align:center}.leaflet-popup-content-wrapper{padding:1px;text-align:left;border-radius:12px}.leaflet-popup-content{margin:13px 19px;line-height:1.4}.leaflet-popup-content p{margin:18px 0}.leaflet-popup-tip-container{margin:0 auto;width:40px;height:20px;position:relative;overflow:hidden}.leaflet-popup-tip{width:17px;height:17px;padding:1px;margin:-10px auto 0;-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);-o-transform:rotate(45deg);transform:rotate(45deg)}.leaflet-popup-content-wrapper,.leaflet-popup-tip{background:#fff;box-shadow:0 3px 14px rgba(0,0,0,.4)}.leaflet-container a.leaflet-popup-close-button{position:absolute;top:0;right:0;padding:4px 4px 0 0;text-align:center;width:18px;height:14px;font:16px/14px Tahoma,Verdana,sans-serif;color:#c3c3c3;text-decoration:none;font-weight:700;background:0 0}.leaflet-container a.leaflet-popup-close-button:hover{color:#999}.leaflet-popup-scrolled{overflow:auto;border-bottom:1px solid #ddd;border-top:1px solid #ddd}.leaflet-oldie .leaflet-popup-content-wrapper{zoom:1}.leaflet-oldie .leaflet-popup-tip{width:24px;margin:0 auto;-ms-filter:"progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";filter:progid:DXImageTransform.Microsoft.Matrix(M11=.70710678, M12=.70710678, M21=-.70710678, M22=.70710678)}.leaflet-oldie .leaflet-popup-tip-container{margin-top:-1px}.leaflet-oldie .leaflet-control-zoom,.leaflet-oldie .leaflet-control-layers,.leaflet-oldie .leaflet-popup-content-wrapper,.leaflet-oldie .leaflet-popup-tip{border:1px solid #999}.leaflet-div-icon{background:#fff;border:1px solid #666}.leaflet-vml-shape{width:1px;height:1px}.lvml{behavior:url(#default#VML);display:inline-block;position:absolute}.leaflet-control{display:inline}.leaflet-popup-tip{width:21px;_width:27px;margin:0 auto;_margin-top:-3px;filter:progid:DXImageTransform.Microsoft.Matrix(M11=.70710678, M12=.70710678, M21=-.70710678, M22=.70710678);-ms-filter:"progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)"}.leaflet-popup-tip-container{margin-top:-1px}.leaflet-popup-content-wrapper,.leaflet-popup-tip{border:1px solid #999}.leaflet-popup-content-wrapper{zoom:1}.leaflet-control-zoom,.leaflet-control-layers{border:3px solid #999}.leaflet-control-attribution,.leaflet-control-layers,.leaflet-control-scale-line{background:#fff}.leaflet-zoom-box{filter:alpha(opacity=50)}.leaflet-control-attribution{border-top:1px solid #bbb;border-left:1px solid #bbb}.vco-map .leaflet-container .leaflet-control-attribution{color:#999;margin-bottom:3px!important}.vco-map .leaflet-container .leaflet-control-attribution a{color:#666}.vco-map .leaflet-container .leaflet-control-attribution .vco-knightlab-brand,.vco-map .leaflet-container .leaflet-control-attribution a.vco-knightlab-brand{margin-left:5px;text-shadow:0 0 1px #FFF,0 0 1px #FFF,0 0 5px #FFF;font-size:14px;font-weight:700}.vco-map .leaflet-container .leaflet-control-attribution .vco-knightlab-brand span,.vco-map .leaflet-container .leaflet-control-attribution a.vco-knightlab-brand span{color:#c34528;display:inline-block;transform:rotate(45deg);-ms-transform:rotate(45deg);-webkit-transform:rotate(45deg)}.vco-map .leaflet-container .leaflet-control-attribution .vco-knightlab-brand:hover,.vco-map .leaflet-container .leaflet-control-attribution a.vco-knightlab-brand:hover{text-decoration:none;color:#dd735a}.vco-map .leaflet-container img.leaflet-image-layer{max-width:none!important}.vco-map .leaflet-overlay-pane{z-index:auto}.vco-map .leaflet-overlay-pane .leaflet-image-layer{z-index:-1}.vco-map .leaflet-overlay-pane svg{z-index:4}.vco-map .leaflet-fade-anim .leaflet-tile,.vco-map .leaflet-fade-anim .leaflet-popup{opacity:0;-webkit-transition:opacity .5s linear;-moz-transition:opacity .5s linear;-o-transition:opacity .5s linear;transition:opacity .5s linear}.vco-map .leaflet-fade-anim .leaflet-tile-loaded,.vco-map .leaflet-fade-anim .leaflet-map-pane .leaflet-popup{opacity:1}.vco-map .leaflet-zoom-anim .leaflet-zoom-animated{-webkit-transition:-webkit-transform 1s cubic-bezier(0.75,.1,.2,1);-moz-transition:-moz-transform 1s cubic-bezier(0.75,.1,.2,1);-o-transition:-o-transform 1s cubic-bezier(0.75,.1,.2,1);transition:transform 1s cubic-bezier(0.75,.1,.2,1);-webkit-transform:translateZ(0);-webkit-perspective:1000;-webkit-backface-visibility:hidden}.vco-map .leaflet-bottom{bottom:0}.vco-map .leaflet-right{left:0;right:auto}.vco-map .leaflet-container .leaflet-control-attribution{background-color:transparent;box-shadow:none;margin:0;border:none;font-size:10px}.vco-map .leaflet-container{background-color:transparent}.vco-map .leaflet-popup-content-wrapper{display:none;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;border:1px solid #b3b3b3;-webkit-box-shadow:1px 1px 7px rgba(0,0,0,.3);-moz-box-shadow:1px 1px 7px rgba(0,0,0,.3);box-shadow:1px 1px 7px rgba(0,0,0,.3);-webkit-box-shadow:1px 1px 2px rgba(0,0,0,.3);-moz-box-shadow:1px 1px 2px rgba(0,0,0,.3);box-shadow:1px 1px 2px rgba(0,0,0,.3)}.vco-map .leaflet-popup-content-wrapper .leaflet-popup-content{margin:7px}.vco-map .leaflet-popup-content-wrapper .leaflet-popup-content h4{margin:0;font-weight:400}.vco-map .leaflet-popup-tip-container{margin:0 auto;width:40px;height:20px;position:relative;overflow:hidden;display:none}.vco-map .leaflet-bar{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.vco-layout-landscape .vco-map .leaflet-bottom{bottom:0}.vco-layout-landscape .vco-map .leaflet-right{left:0;right:auto}.vco-layout-landscape .vco-map .leaflet-top{bottom:0;top:28px}.vco-layout-portrait .leaflet-bottom{bottom:0;top:auto}.vco-mobile.vco-skinny .leaflet-control-zoom,.vco-mobile.vco-skinny .leaflet-control-layers{display:none}.vco-skinny .leaflet-container .leaflet-control-attribution{background-color:transparent;box-shadow:none;margin:0;border:none}.vco-map .leaflet-container .leaflet-bottom .leaflet-control-minimap{margin-left:10px;margin-bottom:25px}.vco-map .leaflet-container .leaflet-top .leaflet-control-minimap{margin-left:10px;margin-top:10px}.vco-map .leaflet-container .leaflet-control-minimap{border:solid #FFF 2px;-webkit-box-shadow:1px 1px 7px rgba(0,0,0,.3);-moz-box-shadow:1px 1px 7px rgba(0,0,0,.3);box-shadow:1px 1px 7px rgba(0,0,0,.3);-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;background-color:#b3b3b3;transition:all .2s;border:2px solid #b3b3b3}.vco-map .leaflet-container .leaflet-control-minimap a{background-color:#b3b3b3;z-index:99999;transition:all .2s;border-radius:3px 0 0}.vco-map .leaflet-container .leaflet-control-minimap a.minimized{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.vco-map .leaflet-container .leaflet-control-minimap-toggle-display{height:19px;width:19px;position:absolute;bottom:0;right:0;border:1px solid #b3b3b3;background-color:gray}.vco-map .leaflet-container .leaflet-control-minimap-toggle-display:after{font-family:vco-icons;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#FFF;font-size:20px;content:"\e647"}.vco-map .leaflet-container .mapbox-maplogo{position:absolute;display:block;height:20px;width:65px;left:10px;bottom:10px;text-indent:-9999px;z-index:99999;overflow:hidden;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIIAAAAoCAMAAAAFWtJHAAAAwFBMVEUAAAAAAAAAAABtbW0AAAAAAAAAAAAAAAAAAAAAAAClpaUAAADp6ekAAAD5+fna2toAAAAMDAzv7+/Nzc0AAAA2Njb8/Pz9/f3T09MAAAAAAAD7+/sAAAArKyuxsbH39/fs7OwbGxuIiIjz8/N8fHyenp7u7u74+PgAAAC8vLxWVlbx8fF1dXXl5eVcXFyUlJTQ0NDFxcVCQkLAwMC4uLj19fXo6OjW1tarq6ve3t77+/vi4uL6+vrKysrNzc3///8w7gSSAAAAP3RSTlMAOQNdPSYBPywKexLLGPCxNEHXnzFL+v2nGwf1IEiE6dBFad9jd9PuLo1V2mDDV3Cjl06SiuXIq4C3973ym6BQMVUPAAAEXElEQVR4Ae2WCVP6OBiH05L0l1IqrVbkKHJ54I0oHn+PfP9vtUle0z/YdhbH2XVnd58ZnRJIeHiPJOx//mH4vQSAN+8FjAhFxgHIaPvJeZ99hxwEElon5iAQbj85Y98g8ODwjEOMAvGFyeE3FEKgodTBqj0BJGN9DhyNd5Ta3ean9QEopfaA+LsKhnEKRExqg4FSP6Og7oEkAjBWnxSCgBX4xF+kcLoPcOBQrSv0e5kH7s1j37jECQieCTPiFGxL5VHw2zQWCeeJiPt6kjRQw0XSkIdVChf67xGa4alSnZlT6HEQ8CK9ANbhvXUF9xlDkBfTuHDWScgC9+z5FQpPI12TlwC6+sV7ixR8CUMKiwjm2GQeOQWHMGuHGdbnObJAwCEqFJpNU5H6uaPUaEIKiQfg+PHk1+u4OwW9PlWW2ctbA4BHCtp+cNK+H8Jos4gDmC5ar4Nx9waaG/2B13NgDqS7+vm2RgEtEws82P+kwIHhs/pgkQKcFIhfd7CogtGNjYMHTLpurD0ERbYFw4JaD3GlQuNAL/JEsSAF4HqlCnaHACk4WhOn4OgCkMD5hSpYNYDJTD8Y46n+jsE1kPhVCuR6QBXhFK7MUOu9O6b1SWF3b+/9ZVWMGOlu93E8UDaAhgc7bfH+0DHqKXCkHzoNDFfU+zxiVQrUC9QXTuHYtKpN59OA3IxCG4b7jh6ZFuVockaNTW09mkJzOaPU49a6mE9cAchZpQJNpUWcwgV9r6FJswsFKrITp2B5pMBMdnS0z2HZNy2+BNKxSZxZfglkrFYBJxQnpzA5sN/HheR2aFQoZBLAi149dQoyAYYjW0hHlHguBAdMcR0DuDZ5omevX6+AI8qcU7ikKT3GBHCnXwydgmCC0tRwCnGQ2Wp6Be71yNIWfQSkOl9vAI1SBCNWrwC01RROgX7BuT2HI4r7tFAw086p/NwZEdOEa7R1uAFuNmQPuKAEAjYNQ0CyeoUEWHYBnpQVQgpvc0Ph+gsKlAnKg1+vEHsw5LKciLKCAJobiWBzYFGbCKpHqkZZrxBFHEASyFI59vJPCskcwNVGOWZAOqsrR+pKbaNeAMT1CixMEtlnsqopNxUMzVJT3tY35aXZm6a6Y9QhwMN6BUJWbE1lhbMO1WehkO7poO0sK7em9MJGxp1XSbC1gtugzzSLQmGsX7VntJGSwsPZ2d2z3bIPKzdoOp3Wzqt8G4XyMVUoFIxLx1S7+piaHtCvR3FeRVsq0GFdp9C5TbGpcNqsPqyHKxcfd14h21KhuLKUFU4f3osrC7F6uV3WXFnadL7wyAPeKDXw2RoJCO5GY4DouYvb/gepVXheLoewzPseQG9N/vzilrMIjoStE3++zvle4eSurw7XEe76ynI4aq+v7lEyt1x5awiFlFLQbHKIpabnM3eJLym4Szzzc/du7SU+zOXv9UNpECH7IoH/gecURPlN9vdQpeD47yhIFNX0U0QgvID9nENm+yxk/xb+AGAjNfRZuk9qAAAAAElFTkSuQmCC);background-repeat:no-repeat;background-position:0 0;background-size:65px 20px}.vco-map .vco-mapmarker,.vco-map .vco-mapmarker-active{font-family:vco-icons;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;width:38px!important;height:52px!important;top:-46px;left:-13px}.vco-map .vco-mapmarker:before,.vco-map .vco-mapmarker-active:before{content:"\e600";font-size:52px;text-shadow:rgba(0,0,0,.66)0 2px 5px}.vco-map .vco-mapmarker{color:#a5a5a5}.vco-map .vco-mapmarker-active{color:#c34528}.vco-map .vco-mapmarker-image-icon,.vco-map .vco-mapmarker-image-icon-active{border:2px solid #a5a5a5;box-shadow:2px 2px 2px #000;opacity:1}.vco-map .vco-mapmarker-image-icon{-webkit-filter:grayscale(100%);-moz-filter:grayscale(100%);filter:grayscale(100%)}.vco-map .vco-mapmarker-image-icon-active{opacity:1;border:4px solid #c34528;-webkit-filter:grayscale(0);-moz-filter:grayscale(0);filter:grayscale(0)}.vco-map .vco-mapmarker-icon:after{font-size:24px;color:#FFF;text-align:center;width:38px;height:24px;overflow:hidden;display:block;position:absolute;top:8px;left:0;filter:alpha(opacity=75);-khtml-opacity:.75;-moz-opacity:.75;opacity:.75}.vco-map .vco-mapmarker-active.vco-mapmarker-icon:after{filter:alpha(opacity=100);-khtml-opacity:1;-moz-opacity:1;opacity:1}.vco-map .vco-icon-wikipedia:after{font-size:16px;top:12px}.vco-map .vco-icon-image:after{top:6px}.vco-map .vco-icon-vine:after,.vco-map .vco-icon-vimeo:after,.vco-map .vco-icon-twitter:after{top:8px}.vco-map .vco-mapimage-display:hover .vco-mapmarker,.vco-map .vco-mapimage-display:hover .vco-mapmarker-active{display:block}.vco-map .vco-mapimage-display .vco-mapmarker,.vco-map .vco-mapimage-display .vco-mapmarker-active{display:none}.vco-map{height:100%;display:relative;overflow:hidden;top:0;background-color:#333}.vco-map .vco-map-mask{width:100%;height:100%;overflow:hidden}.vco-map .vco-map-mask .vco-map-display{width:100%;height:100%}.vco-storymap{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif}.vco-storymap h1,.vco-storymap h2,.vco-storymap h3{font-size:36px;line-height:36px}.vco-storymap h1 small,.vco-storymap h2 small,.vco-storymap h3 small{font-size:24px;line-height:24px}.vco-storymap h4,.vco-storymap h5,.vco-storymap h6{font-size:24px;line-height:24px;margin-bottom:0}.vco-storymap h4 small,.vco-storymap h5 small,.vco-storymap h6 small{font-size:15px;line-height:15px}.vco-storymap h2.vco-headline-title .vco-snapmap-instagram{text-align:center;display:block;text-transform:none!important}.vco-storymap h2.vco-headline-title .vco-snapmap-instagram a{color:#666}.vco-storymap h2{margin-top:20px;margin-bottom:5px}.vco-storymap p{margin-top:5px;margin-bottom:10px;font-size:15px;color:#666}.vco-storymap b,.vco-storymap strong{font-weight:700}.vco-storymap i,.vco-storymap em{font-style:italic}.vco-storymap a{text-decoration:none;color:#c34528}.vco-storymap a:hover{text-decoration:underline;color:#6e2717}.vco-storymap .vco-caption,.vco-storymap .vco-credit,.vco-storymap .vco-slidenav-next,.vco-storymap .vco-slidenav-previous{font-size:11px;line-height:11px}.vco-storymap .vco-caption a,.vco-storymap .vco-credit a,.vco-storymap .vco-slidenav-next a,.vco-storymap .vco-slidenav-previous a{color:#000}.vco-storymap blockquote,.vco-storymap blockquote p{font-family:Georgia,Times New Roman,Times,serif;color:#999;font-size:24px;line-height:24px;text-align:left;background:0 0;border:0;padding:0}.vco-storymap blockquote cite,.vco-storymap blockquote p cite{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:11px;color:#666;display:block;text-align:right;font-style:normal}.vco-storymap blockquote cite:before,.vco-storymap blockquote p cite:before{content:"\2014"}.vco-storymap blockquote p:before{content:open-quote;display:inline-block;font-size:36px;position:relative;top:8px;margin-right:5px}.vco-storymap blockquote p:after{content:close-quote;display:inline-block;font-size:36px;position:relative;top:8px;margin-left:3px}.vco-storymap blockquote{margin:10px}.vco-storymap blockquote p{margin:0}.vco-storymap .vcard{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:15px;line-height:15px}.vco-storymap .vco-text ul{padding:0;padding-left:30px;margin:0}.vco-storymap .vco-text ul li{margin-bottom:5px}.vco-storymap .vco-note{display:block;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-style:italic;background-color:#e6e6e6;font-size:15px;line-height:17px;padding:10px;-webkit-border-radius:7px;-moz-border-radius:7px;border-radius:7px;color:#8a6d3b;background-color:#fcf8e3;border:1px solid #faebcc}@media only screen and (max-width:800px),only screen and (max-device-width:800px){.vco-storymap h1,.vco-storymap h2,.vco-storymap h3{font-size:36px;line-height:36px}}@media only screen and (max-width:500px),only screen and (max-device-width:500px){.vco-storymap h1,.vco-storymap h2,.vco-storymap h3{font-size:32px;line-height:32px}}.vco-skinny h2{margin-top:0;padding-top:20px}.vco-storymap{width:100%;height:100%;font-size:16px;line-height:normal;overflow:hidden;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none}.vco-layout-portrait .vco-storyslider{padding-top:10px;-webkit-box-shadow:0 -3px 6px rgba(0,0,0,.2);-moz-box-shadow:0 -3px 6px rgba(0,0,0,.2);box-shadow:0 -3px 6px rgba(0,0,0,.2)}.vco-layout-landscape .vco-storyslider{padding-top:0;position:absolute;width:50%;left:50%;overflow:visible}.vco-layout-landscape .vco-storyslider .vco-slider-background{margin-left:-20%;width:120%;overflow:hidden;background-image:-webkit-linear-gradient(left,color-stop(rgba(255,255,255,.0001)0),color-stop(rgba(255,255,255,.85)15%));background-image:linear-gradient(to right,rgba(255,255,255,.0001)0,rgba(255,255,255,.85)15%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00ffffff', endColorstr='#d9ffffff', GradientType=1)}.vco-layout-landscape .vco-storyslider .vco-slider-container-mask{overflow:visible}.vco-layout-landscape .vco-storyslider .vco-slidenav-next .vco-slidenav-icon:before,.vco-layout-landscape .vco-storyslider .vco-slidenav-previous .vco-slidenav-icon:before{background-color:#fff;padding:20px;border:1px solid #b3b3b3}.vco-layout-landscape .vco-storyslider .vco-slidenav-next .vco-slidenav-icon,.vco-layout-landscape .vco-storyslider .vco-slidenav-previous .vco-slidenav-icon,.vco-layout-landscape .vco-storyslider .vco-slidenav-next .vco-slidenav-title,.vco-layout-landscape .vco-storyslider .vco-slidenav-previous .vco-slidenav-title,.vco-layout-landscape .vco-storyslider .vco-slidenav-next .vco-slidenav-description,.vco-layout-landscape .vco-storyslider .vco-slidenav-previous .vco-slidenav-description{text-shadow:none}.vco-layout-landscape .vco-storyslider .vco-slidenav-next .vco-slidenav-title,.vco-layout-landscape .vco-storyslider .vco-slidenav-previous .vco-slidenav-title,.vco-layout-landscape .vco-storyslider .vco-slidenav-next .vco-slidenav-description,.vco-layout-landscape .vco-storyslider .vco-slidenav-previous .vco-slidenav-description{display:none}.vco-layout-landscape .vco-storyslider .vco-slidenav-previous{left:-100%;margin-left:0}.vco-layout-landscape .vco-storyslider .vco-slidenav-previous .vco-slidenav-icon:before{border-bottom-right-radius:7px;border-top-right-radius:7px}.vco-layout-landscape .vco-storyslider .vco-slidenav-next{right:130px}.vco-layout-landscape .vco-storyslider .vco-slidenav-next .vco-slidenav-icon:before{border-bottom-left-radius:7px;border-top-left-radius:7px}.vco-layout-landscape .vco-storyslider .vco-slidenav-previous:hover .vco-slidenav-icon{margin-left:-4px} \ No newline at end of file +.vco-storyjs div *{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.vco-storyjs h1,.vco-storyjs h2,.vco-storyjs h3,.vco-storyjs h4,.vco-storyjs h5,.vco-storyjs h6,.vco-storyjs p,.vco-storyjs blockquote,.vco-storyjs pre,.vco-storyjs a,.vco-storyjs abbr,.vco-storyjs acronym,.vco-storyjs address,.vco-storyjs cite,.vco-storyjs code,.vco-storyjs del,.vco-storyjs dfn,.vco-storyjs em,.vco-storyjs img,.vco-storyjs q,.vco-storyjs s,.vco-storyjs samp,.vco-storyjs small,.vco-storyjs strike,.vco-storyjs strong,.vco-storyjs sub,.vco-storyjs sup,.vco-storyjs tt,.vco-storyjs var,.vco-storyjs dd,.vco-storyjs dl,.vco-storyjs dt,.vco-storyjs li,.vco-storyjs ol,.vco-storyjs ul,.vco-storyjs fieldset,.vco-storyjs form,.vco-storyjs label,.vco-storyjs legend,.vco-storyjs button,.vco-storyjs table,.vco-storyjs caption,.vco-storyjs tbody,.vco-storyjs tfoot,.vco-storyjs thead,.vco-storyjs tr,.vco-storyjs th,.vco-storyjs td,.vco-storyjs .vco-container,.vco-storyjs .content-container,.vco-storyjs .media,.vco-storyjs .text,.vco-storyjs .vco-slider,.vco-storyjs .slider,.vco-storyjs .date,.vco-storyjs .title,.vco-storyjs .message,.vco-storyjs .map,.vco-storyjs .credit,.vco-storyjs .caption,.vco-storyjs .vco-feedback,.vco-storyjs .vco-feature,.vco-storyjs .toolbar,.vco-storyjs .marker,.vco-storyjs .dot,.vco-storyjs .line,.vco-storyjs .flag,.vco-storyjs .time,.vco-storyjs .era,.vco-storyjs .major,.vco-storyjs .minor,.vco-storyjs .vco-navigation,.vco-storyjs .start,.vco-storyjs .active{margin:0;padding:0;border:0;font-weight:400;font-style:normal;font-size:100%;line-height:1;font-family:inherit;width:auto;float:none}.vco-storyjs h1,.vco-storyjs h2,.vco-storyjs h3,.vco-storyjs h4,.vco-storyjs h5,.vco-storyjs h6{clear:none}.vco-storyjs table{border-collapse:collapse;border-spacing:0}.vco-storyjs ol,.vco-storyjs ul{list-style:none}.vco-storyjs q:before,.vco-storyjs q:after,.vco-storyjs blockquote:before,.vco-storyjs blockquote:after{content:""}.vco-storyjs a:focus{outline:thin dotted}.vco-storyjs a:hover,.vco-storyjs a:active{outline:0}.vco-storyjs article,.vco-storyjs aside,.vco-storyjs details,.vco-storyjs figcaption,.vco-storyjs figure,.vco-storyjs footer,.vco-storyjs header,.vco-storyjs hgroup,.vco-storyjs nav,.vco-storyjs section{display:block}.vco-storyjs audio,.vco-storyjs canvas,.vco-storyjs video{display:inline-block;*display:inline;*zoom:1}.vco-storyjs audio:not([controls]){display:none}.vco-storyjs div{max-width:none}.vco-storyjs sub,.vco-storyjs sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}.vco-storyjs sup{top:-.5em}.vco-storyjs sub{bottom:-.25em}.vco-storyjs img{border:0;-ms-interpolation-mode:bicubic}.vco-storyjs button,.vco-storyjs input,.vco-storyjs select,.vco-storyjs textarea{font-size:100%;margin:0;vertical-align:baseline;*vertical-align:middle}.vco-storyjs button,.vco-storyjs input{line-height:normal;*overflow:visible}.vco-storyjs button::-moz-focus-inner,.vco-storyjs input::-moz-focus-inner{border:0;padding:0}.vco-storyjs button,.vco-storyjs input[type=button],.vco-storyjs input[type=reset],.vco-storyjs input[type=submit]{cursor:pointer;-webkit-appearance:button}.vco-storyjs input[type=search]{-webkit-appearance:textfield;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.vco-storyjs input[type=search]::-webkit-search-decoration{-webkit-appearance:none}.vco-storyjs textarea{overflow:auto;vertical-align:top}.vco-storymap{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif}.vco-storymap h1,.vco-storymap h2,.vco-storymap h3{font-size:36px;line-height:36px}.vco-storymap h1 small,.vco-storymap h2 small,.vco-storymap h3 small{font-size:24px;line-height:24px}.vco-storymap h4,.vco-storymap h5,.vco-storymap h6{font-size:24px;line-height:24px;margin-bottom:0}.vco-storymap h4 small,.vco-storymap h5 small,.vco-storymap h6 small{font-size:15px;line-height:15px}.vco-storymap h2.vco-headline-title{font-size:46px;line-height:46px}.vco-storymap h2.vco-headline-title small{display:block;margin-top:5px;font-size:24px;line-height:24px}.vco-storymap h2{margin-top:20px;margin-bottom:5px}.vco-storymap p{margin-top:5px;margin-bottom:10px;font-size:15px;color:#666}.vco-storymap p a{color:#666;text-decoration:none;background-image:-moz-linear-gradient(top,rgba(102,102,102,0)50%,rgba(102,102,102,.6)50%);background-image:-webkit-linear-gradient(top,rgba(102,102,102,0)50%,rgba(102,102,102,.6)50%);background-image:-o-linear-gradient(top,rgba(102,102,102,0)50%,rgba(102,102,102,.6)50%);background-image:linear-gradient(to bottom,rgba(102,102,102,0)50%,rgba(102,102,102,.6)50%);background-repeat:repeat-x;background-size:2px 2px;background-position:0 17px;text-shadow:-2px -1px 0 #fff,2px -1px 0 #fff,-2px 1px 0 #fff,2px 1px 0 #fff}.vco-storymap p a:hover,.vco-storymap p a:focus{color:#c34528;text-decoration:none}@media (-webkit-min-device-pixel-ratio:1.5),(min-resolution:144dpi){.vco-storymap p a{text-decoration:underline;background-image:none;text-shadow:none}.vco-storymap p a:hover,.vco-storymap p a:focus{color:#c34528;text-decoration:underline}}.vco-storymap b,.vco-storymap strong{font-weight:700}.vco-storymap i,.vco-storymap em{font-style:italic}.vco-storymap a{text-decoration:none;color:#c34528}.vco-storymap a:hover{text-decoration:underline;color:#6e2717}.vco-storymap .vco-caption,.vco-storymap .vco-credit,.vco-storymap .vco-slidenav-next,.vco-storymap .vco-slidenav-previous{font-size:11px;line-height:11px}.vco-storymap .vco-caption a,.vco-storymap .vco-credit a,.vco-storymap .vco-slidenav-next a,.vco-storymap .vco-slidenav-previous a{color:#000}.vco-storymap blockquote,.vco-storymap blockquote p{font-family:Georgia,Times New Roman,Times,serif;color:#999;font-size:24px;line-height:24px;text-align:left;background:0 0;border:0;padding:0}.vco-storymap blockquote cite,.vco-storymap blockquote p cite{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:11px;color:#666;display:block;text-align:right;font-style:normal}.vco-storymap blockquote cite:before,.vco-storymap blockquote p cite:before{content:"\2014"}.vco-storymap blockquote p:before{content:open-quote;display:inline-block;font-size:36px;position:relative;top:8px;margin-right:5px}.vco-storymap blockquote p:after{content:close-quote;display:inline-block;font-size:36px;position:relative;top:8px;margin-left:3px}.vco-storymap blockquote{margin:10px}.vco-storymap blockquote p{margin:0}.vco-storymap .vcard{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:15px;line-height:15px}.vco-storymap .vco-text ul{padding:0;padding-left:30px;margin:0}.vco-storymap .vco-text ul li{margin-bottom:5px}.vco-storymap .vco-note{display:block;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-style:italic;background-color:#e6e6e6;font-size:15px;line-height:17px;padding:10px;-webkit-border-radius:7px;-moz-border-radius:7px;border-radius:7px;color:#8a6d3b;background-color:#fcf8e3;border:1px solid #faebcc}@media only screen and (max-width:800px),only screen and (max-device-width:800px){.vco-storymap h1,.vco-storymap h2,.vco-storymap h3{font-size:36px;line-height:36px}}@media only screen and (max-width:500px),only screen and (max-device-width:500px){.vco-storymap h1,.vco-storymap h2,.vco-storymap h3{font-size:32px;line-height:32px}}.vco-skinny h2{margin-top:0;padding-top:20px}@font-face{font-family:vco-icons;src:url(icons/vco-icons.eot);src:url(icons/vco-icons.eot?#iefix) format('embedded-opentype'),url(icons/vco-icons.ttf) format('truetype'),url(icons/vco-icons.woff) format('woff'),url(icons/vco-icons.svg#vco-icons) format('svg');font-weight:400;font-style:normal}[class^=vco-icon-],[class*=" vco-icon-"]{font-family:vco-icons;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.vco-icon-vine:after{content:"\e64d"}.vco-icon-wikipedia:after{content:"\e64e"}.vco-icon-chevron-right:after{content:"\e64f"}.vco-icon-chevron-left:after{content:"\e650"}.vco-icon-youtube-logo:after{content:"\e651"}.vco-icon-foursquare:after{content:"\e652"}.vco-icon-camera-retro:after{content:"\e653"}.vco-icon-doc:after{content:"\e654"}.vco-icon-weibo:after{content:"\e655"}.vco-icon-resize-horizontal:after{content:"\e656"}.vco-icon-resize-vertical:after{content:"\e657"}.vco-icon-resize-full:after{content:"\e658"}.vco-icon-resize-small:after{content:"\e659"}.vco-icon-twitter:after{content:"\e62b"}.vco-icon-google-plus:after{content:"\e62c"}.vco-icon-video:after{content:"\e62d"}.vco-icon-youtube:after{content:"\e62d"}.vco-icon-plaintext:after{content:"\e62e"}.vco-icon-storify:after{content:"\e62e"}.vco-icon-image-v2:after{content:"\e62f"}.vco-icon-quote-v2:after{content:"\e630"}.vco-icon-zoom-in:after{content:"\e631"}.vco-icon-zoom-out:after{content:"\e632"}.vco-icon-list:after{content:"\e633"}.vco-icon-music:after{content:"\e634"}.vco-icon-location:after{content:"\e635"}.vco-icon-web:after{content:"\e636"}.vco-icon-share-v2:after{content:"\e637"}.vco-icon-soundcloud:after{content:"\e639"}.vco-icon-video-v2:after{content:"\e63a"}.vco-icon-dailymotion:after{content:"\e63a"}.vco-icon-tumblr:after{content:"\e63b"}.vco-icon-lastfm:after{content:"\e63c"}.vco-icon-github:after{content:"\e63d"}.vco-icon-goback:after{content:"\e63e"}.vco-icon-doc-v2:after{content:"\e63f"}.vco-icon-googledrive:after{content:"\e640"}.vco-icon-facebook:after{content:"\e641"}.vco-icon-flickr:after{content:"\e642"}.vco-icon-dribbble:after{content:"\e643"}.vco-icon-image:after{content:"\e605"}.vco-icon-vimeo:after{content:"\e606"}.vco-icon-instagram:after{content:"\e644"}.vco-icon-pinterest:after{content:"\e645"}.vco-icon-arrow-left:after{content:"\e646"}.vco-icon-arrow-down:after{content:"\e647"}.vco-icon-arrow-up:after{content:"\e648"}.vco-icon-arrow-right:after{content:"\e649"}.vco-icon-share:after{content:"\e64a"}.vco-icon-blockquote:after{content:"\e64b"}.vco-icon-evernote:after{content:"\e64c"}.vco-icon-mappin:after{content:"\e600"}.vco-icon-swipe-right:after{content:"\e601"}.vco-icon-swipe-left:after{content:"\e602"}.vco-icon-touch-spread:after{content:"\e603"}.vco-icon-touch-pinch:after{content:"\e604"}.vco-dragging{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none}.vco-menubar{position:absolute;z-index:11;text-align:right;color:#333;overflow:hidden;border-bottom:1px solid #e6e6e6;right:0}@keyframes invertToBlack{from{background-color:#FFF}to{background-color:#000}}@-webkit-keyframes invertToBlack{from{background:#FFF}to{background:#000}}@keyframes invertToWhite{from{background-color:#000}to{background-color:#FFF}}@-webkit-keyframes invertToWhite{from{background:#000}to{background:#FFF}}.vco-menubar-button{border-left:1px solid #e6e6e6;font-size:14px;padding:6px 12px;background-color:#FFF;cursor:pointer;font-weight:700}.vco-menubar-button .vco-icon-arrow-up,.vco-menubar-button .vco-icon-arrow-down{display:inline-block;height:14px;overflow:hidden;font-size:20px;position:relative;top:-2px}.vco-menubar-button:hover{background:#c34528;color:#fff}.vco-mobile .vco-menubar-button:hover{background-color:#FFF;color:inherit}.vco-mobile .vco-menubar-button:active{background:#c34528;color:#fff}@keyframes invertToBlack{from{background-color:#FFF}to{background-color:#000}}@-webkit-keyframes invertToBlack{from{background:#FFF}to{background:#000}}@keyframes invertToWhite{from{background-color:#000}to{background-color:#FFF}}@-webkit-keyframes invertToWhite{from{background:#000}to{background:#FFF}}.vco-message,.vco-message-full{width:100%;height:100%;position:absolute;display:table;overflow:hidden;top:0;left:0;z-index:99;margin:auto;text-align:center}.vco-message .vco-message-container,.vco-message-full .vco-message-container{padding:20px;margin:20px;text-align:center;vertical-align:middle;display:table-cell}.vco-message .vco-message-container .vco-message-content,.vco-message-full .vco-message-container .vco-message-content{color:#666;text-align:center;font-size:11px;line-height:13px;text-transform:uppercase;margin-top:7.5px;margin-bottom:7.5px;text-shadow:1px 1px 1px #FFF}.vco-message .vco-message-container .vco-loading-icon,.vco-message-full .vco-message-container .vco-loading-icon{width:30px;height:30px;background-color:#666;vertical-align:middle;-webkit-box-shadow:inset 0 1px 2px rgba(255,255,255,.1);-moz-box-shadow:inset 0 1px 2px rgba(255,255,255,.1);box-shadow:inset 0 1px 2px rgba(255,255,255,.1);margin-left:auto;margin-right:auto;text-align:center;-webkit-animation:rotateplane 1.2s infinite ease-in-out;animation:rotateplane 1.2s infinite ease-in-out}@-webkit-keyframes rotateplane{0%{-webkit-transform:perspective(120px)}50%{-webkit-transform:perspective(120px) rotateY(180deg)}100%{-webkit-transform:perspective(120px) rotateY(180deg) rotateX(180deg)}}@keyframes rotateplane{0%{transform:perspective(120px) rotateX(0deg) rotateY(0deg)}50%{transform:perspective(120px) rotateX(-180.1deg) rotateY(0deg)}100%{transform:perspective(120px) rotateX(-180deg) rotateY(-179.9deg)}}.vco-message-full{background-color:rgba(51,51,51,.8)}.vco-message-full [class^=vco-icon-],.vco-message-full [class*=" vco-icon-"]{color:#FFF;font-size:72px}.vco-message-full .vco-message-container .vco-message-content{font-size:22px;line-height:22px;text-shadow:none;color:#FFF;text-transform:none;font-weight:700}.vco-message-full .vco-message-container .vco-message-content .vco-button{display:inline-block;cursor:pointer;background-color:#FFF;color:#333;padding:10px;margin-top:10px;-webkit-border-radius:7px;-moz-border-radius:7px;border-radius:7px}.vcoanimate{-webkit-transform:translateZ(0);-webkit-perspective:1000;-webkit-backface-visibility:hidden}.vco-slide{position:absolute;width:100%;height:100%;padding:0;margin:0;overflow-x:hidden;overflow-y:auto}.vco-slide .vco-slide-background{position:absolute;left:0;top:0;width:100%;height:100%;z-index:-1;overflow:hidden;display:none;filter:alpha(opacity=50);-khtml-opacity:.5;-moz-opacity:.5;opacity:.5;background:no-repeat center center;-webkit-background-size:cover;-moz-background-size:cover;-o-background-size:cover;background-size:cover}.vco-slide .vco-slide-scrollable-container{display:table;table-layout:fixed;height:100%;z-index:1}.vco-slide .vco-slide-content-container{display:table-cell;vertical-align:middle;position:relative;width:100%;height:100%;z-index:3}.vco-slide .vco-slide-content-container .vco-slide-content{display:table;vertical-align:middle;padding-left:100px;padding-right:100px;position:relative;max-width:100%}.vco-slide .vco-slide-content-container .vco-slide-content .vco-media{position:relative;width:100%;min-width:50%;float:left;margin-top:auto;margin-bottom:auto}.vco-slide .vco-slide-content-container .vco-slide-content .vco-text{width:50%;max-width:50%;min-width:120px;padding:0 20px;display:table-cell;vertical-align:middle;text-align:left}.vco-slide-media-only .vco-slide-content-container .vco-slide-content{text-align:center}.vco-slide-media-only .vco-slide-content-container .vco-slide-content .vco-media{text-align:center;position:relative;width:100%;min-width:50%;max-width:100%;float:none;margin-top:auto;margin-bottom:auto}.vco-slide-media-only .vco-slide-content-container .vco-slide-content .vco-text{width:100%;display:block;margin-left:auto;margin-right:auto;text-align:center}.vco-slide-media-only .vco-slide-content-container .vco-slide-content .vco-text h2{margin-top:20px;margin-bottom:20px}.vco-slide-text-only .vco-slide-content-container .vco-slide-content{text-align:center}.vco-slide-text-only .vco-slide-content-container .vco-slide-content .vco-text{max-width:80%;width:80%;display:block;margin-left:auto;margin-right:auto}.vco-slide.vco-full-image-background,.vco-slide.vco-full-color-background{color:#FFF!important;text-shadow:1px 1px 1px #000!important}.vco-slide.vco-full-image-background p,.vco-slide.vco-full-color-background p,.vco-slide.vco-full-image-background h1,.vco-slide.vco-full-color-background h1,.vco-slide.vco-full-image-background h2,.vco-slide.vco-full-color-background h2,.vco-slide.vco-full-image-background h3,.vco-slide.vco-full-color-background h3,.vco-slide.vco-full-image-background h4,.vco-slide.vco-full-color-background h4,.vco-slide.vco-full-image-background h5,.vco-slide.vco-full-color-background h5,.vco-slide.vco-full-image-background h6,.vco-slide.vco-full-color-background h6{color:#FFF!important;text-shadow:1px 1px 1px #000!important}.vco-slide.vco-full-image-background a,.vco-slide.vco-full-color-background a,.vco-slide.vco-full-image-background a:hover,.vco-slide.vco-full-color-background a:hover,.vco-slide.vco-full-image-background b,.vco-slide.vco-full-color-background b,.vco-slide.vco-full-image-background i,.vco-slide.vco-full-color-background i,.vco-slide.vco-full-image-background blockquote,.vco-slide.vco-full-color-background blockquote,.vco-slide.vco-full-image-background blockquote p,.vco-slide.vco-full-color-background blockquote p{color:#FFF!important;text-shadow:1px 1px 1px #000!important;color:#fff}.vco-slide.vco-full-image-background .vco-caption,.vco-slide.vco-full-color-background .vco-caption,.vco-slide.vco-full-image-background .vco-credit,.vco-slide.vco-full-color-background .vco-credit{color:#FFF!important;text-shadow:1px 1px 1px #000!important}.vco-slide.vco-full-image-background .vco-media-twitter blockquote,.vco-slide.vco-full-color-background .vco-media-twitter blockquote,.vco-slide.vco-full-image-background .vco-media-blockquote blockquote,.vco-slide.vco-full-color-background .vco-media-blockquote blockquote{color:#FFF!important;text-shadow:1px 1px 1px #000!important}.vco-slide.vco-full-image-background .vco-media-twitter blockquote p,.vco-slide.vco-full-color-background .vco-media-twitter blockquote p,.vco-slide.vco-full-image-background .vco-media-blockquote blockquote p,.vco-slide.vco-full-color-background .vco-media-blockquote blockquote p{color:#FFF!important;text-shadow:1px 1px 1px #000!important}.vco-slide.vco-full-image-background .vcard a,.vco-slide.vco-full-color-background .vcard a,.vco-slide.vco-full-image-background .vcard .nickname,.vco-slide.vco-full-color-background .vcard .nickname{color:#FFF!important;text-shadow:1px 1px 1px #000!important}.vco-slide.vco-full-image-background{background:no-repeat center center;-webkit-background-size:cover;-moz-background-size:cover;-o-background-size:cover;background-size:cover;background-position:center 25%;text-shadow:1px 1px 2px #000}.vco-slide.vco-full-image-background p,.vco-slide.vco-full-image-background h1,.vco-slide.vco-full-image-background h2,.vco-slide.vco-full-image-background h3,.vco-slide.vco-full-image-background h4,.vco-slide.vco-full-image-background h5,.vco-slide.vco-full-image-background h6{text-shadow:1px 1px 2px #000}.vco-slide.vco-full-image-background .vco-caption,.vco-slide.vco-full-image-background .vco-credit{text-shadow:1px 1px 2px #000}.vco-slide.vco-full-image-background .vco-media-twitter blockquote,.vco-slide.vco-full-image-background .vco-media-blockquote blockquote{text-shadow:1px 1px 2px #000!important}.vco-slide.vco-full-image-background .vco-media-twitter blockquote p,.vco-slide.vco-full-image-background .vco-media-blockquote blockquote p{text-shadow:1px 1px 2px #000!important}.vco-slide.vco-text-background .vco-text .vco-text-content-container{padding:20px;background:#000 transparent;background:rgba(0,0,0,.6);-webkit-border-radius:7px;-moz-border-radius:7px;border-radius:7px}.vco-slide.vco-text-background .vco-text .vco-text-content-container h2{margin-top:5px}.vco-layout-landscape .vco-slide .vco-slide-content-container .vco-slide-content .vco-media{display:block;position:static;vertical-align:baseline;height:auto;margin-bottom:20px;max-height:50%}.vco-layout-landscape .vco-slide .vco-slide-content-container .vco-slide-content .vco-text{display:block;height:auto;vertical-align:baseline;position:static;width:100%;max-width:100%;min-width:0;float:none;padding:0}.vco-skinny .vco-slide{display:block}.vco-skinny .vco-slide .vco-slide-content-container{display:block;position:static;height:auto;vertical-align:baseline}.vco-skinny .vco-slide .vco-slide-content-container .vco-slide-content{display:block;position:static;vertical-align:baseline;height:auto}.vco-skinny .vco-slide .vco-slide-content-container .vco-slide-content .vco-media{position:static;width:100%;height:auto;float:none;display:block}.vco-skinny .vco-slide .vco-slide-content-container .vco-slide-content .vco-text{display:block;height:auto;vertical-align:baseline;position:static;width:100%;max-width:100%;min-width:0;float:none;padding:0}.vco-skinny .vco-slide .vco-slide-content-container .vco-slide-content .vco-text .vco-text-content-container{padding-left:10px;padding-right:10px;padding-bottom:100px}.vco-mobile.vco-skinny .vco-slide-content-container .vco-slide-content .vco-media img,.vco-mobile.vco-skinny .vco-slide-content-container .vco-slide-content .vco-media embed,.vco-mobile.vco-skinny .vco-slide-content-container .vco-slide-content .vco-media object,.vco-mobile.vco-skinny .vco-slide-content-container .vco-slide-content .vco-media video,.vco-mobile.vco-skinny .vco-slide-content-container .vco-slide-content .vco-media iframe{max-height:175px}.vco-slidenav-previous,.vco-slidenav-next{position:absolute;top:45%;z-index:10;cursor:pointer}.vco-slidenav-previous .vco-slidenav-content-container,.vco-slidenav-next .vco-slidenav-content-container{height:200px;width:100px;position:absolute}.vco-slidenav-previous .vco-slidenav-title,.vco-slidenav-next .vco-slidenav-title,.vco-slidenav-previous .vco-slidenav-description,.vco-slidenav-next .vco-slidenav-description{width:100%;-ms-word-break:break-all;word-break:break-all;word-break:break-word;-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto;filter:alpha(opacity=15);-khtml-opacity:.15;-moz-opacity:.15;opacity:.15}.vco-slidenav-previous .vco-slidenav-title,.vco-slidenav-next .vco-slidenav-title{margin-top:10px;font-size:15px;line-height:15px;font-size:11px;line-height:11px}.vco-slidenav-previous .vco-slidenav-description,.vco-slidenav-next .vco-slidenav-description{font-size:11px}.vco-slidenav-previous .vco-slidenav-content-container .vco-slidenav-icon,.vco-slidenav-next .vco-slidenav-content-container .vco-slidenav-icon,.vco-slidenav-previous .vco-slidenav-content-container .vco-slidenav-title,.vco-slidenav-next .vco-slidenav-content-container .vco-slidenav-title,.vco-slidenav-previous .vco-slidenav-content-container .vco-slidenav-description,.vco-slidenav-next .vco-slidenav-content-container .vco-slidenav-description{text-shadow:1px 1px 1px #FFF;color:#333}.vco-slidenav-previous .vco-slidenav-content-container.vco-slidenav-inverted .vco-slidenav-icon,.vco-slidenav-next .vco-slidenav-content-container.vco-slidenav-inverted .vco-slidenav-icon,.vco-slidenav-previous .vco-slidenav-content-container.vco-slidenav-inverted .vco-slidenav-title,.vco-slidenav-next .vco-slidenav-content-container.vco-slidenav-inverted .vco-slidenav-title,.vco-slidenav-previous .vco-slidenav-content-container.vco-slidenav-inverted .vco-slidenav-description,.vco-slidenav-next .vco-slidenav-content-container.vco-slidenav-inverted .vco-slidenav-description{color:#FFF;text-shadow:1px 1px 1px #000}.vco-slidenav-next .vco-slidenav-icon,.vco-slidenav-previous .vco-slidenav-icon{font-family:vco-icons;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:32px;margin-bottom:5px}.vco-slidenav-next{text-align:right;margin-right:10px;right:100px}.vco-slidenav-next .vco-slidenav-icon{margin-left:76px}.vco-slidenav-next .vco-slidenav-icon:before{content:"\e64f"}.vco-slidenav-previous{text-align:left;margin-left:10px}.vco-slidenav-previous .vco-slidenav-icon{margin-left:0}.vco-slidenav-previous .vco-slidenav-icon:before{content:"\e650"}.vco-slidenav-previous:hover .vco-slidenav-title,.vco-slidenav-next:hover .vco-slidenav-title,.vco-slidenav-previous:hover .vco-slidenav-description,.vco-slidenav-next:hover .vco-slidenav-description{filter:alpha(opacity=100);-khtml-opacity:1;-moz-opacity:1;opacity:1}.vco-slidenav-next:hover .vco-slidenav-icon{margin-left:80px}.vco-slidenav-previous:hover .vco-slidenav-icon{margin-left:-4px}.vco-skinny .vco-slidenav-next{right:32px}.vco-skinny .vco-slidenav-next .vco-slidenav-icon{margin-left:8px}.vco-skinny .vco-slidenav-previous .vco-slidenav-content-container,.vco-skinny .vco-slidenav-next .vco-slidenav-content-container{width:32px;height:32px}.vco-skinny .vco-slidenav-previous .vco-slidenav-title,.vco-skinny .vco-slidenav-next .vco-slidenav-title,.vco-skinny .vco-slidenav-previous .vco-slidenav-description,.vco-skinny .vco-slidenav-next .vco-slidenav-description{display:none}.vco-skinny .vco-slidenav-previous .vco-slidenav-icon,.vco-skinny .vco-slidenav-next .vco-slidenav-icon{filter:alpha(opacity=33);-khtml-opacity:.33;-moz-opacity:.33;opacity:.33}.vco-skinny .vco-slidenav-next:hover .vco-slidenav-icon{margin-left:12px;filter:alpha(opacity=100);-khtml-opacity:1;-moz-opacity:1;opacity:1}.vco-skinny .vco-slidenav-previous:hover .vco-slidenav-icon{margin-left:-4px;filter:alpha(opacity=100);-khtml-opacity:1;-moz-opacity:1;opacity:1}.vco-layout-landscape.vco-mobile .vco-slidenav-next:hover{right:70px}.vco-layout-landscape.vco-mobile .vco-slidenav-next:hover .vco-slidenav-icon{margin-left:8px;filter:alpha(opacity=100);-khtml-opacity:1;-moz-opacity:1;opacity:1}.vco-layout-landscape.vco-mobile .vco-slidenav-next:active .vco-slidenav-icon{margin-left:0;filter:alpha(opacity=100);-khtml-opacity:1;-moz-opacity:1;opacity:1}.vco-layout-landscape.vco-mobile .vco-slidenav-previous:hover .vco-slidenav-icon{margin-left:80px;filter:alpha(opacity=100);-khtml-opacity:1;-moz-opacity:1;opacity:1}.vco-layout-landscape.vco-mobile .vco-slidenav-previous:active .vco-slidenav-icon{filter:alpha(opacity=100);-khtml-opacity:1;-moz-opacity:1;opacity:1;margin-left:-4px}.vco-layout-portrait.vco-mobile .vco-slidenav-next:hover .vco-slidenav-icon{filter:alpha(opacity=33);-khtml-opacity:.33;-moz-opacity:.33;opacity:.33}.vco-layout-portrait.vco-mobile .vco-slidenav-next:active .vco-slidenav-icon{filter:alpha(opacity=100);-khtml-opacity:1;-moz-opacity:1;opacity:1}.vco-layout-portrait.vco-mobile .vco-slidenav-previous:hover .vco-slidenav-icon{filter:alpha(opacity=33);-khtml-opacity:.33;-moz-opacity:.33;opacity:.33}.vco-layout-portrait.vco-mobile .vco-slidenav-previous:active .vco-slidenav-icon{filter:alpha(opacity=100);-khtml-opacity:1;-moz-opacity:1;opacity:1}.vco-mobile .vco-slidenav-previous,.vco-skinny.vco-mobile .vco-slidenav-previous,.vco-skinny.vco-layout-landscape.vco-mobile .vco-slidenav-previous,.vco-skinny.vco-layout-portrait.vco-mobile .vco-slidenav-previous,.vco-mobile .vco-slidenav-next,.vco-skinny.vco-mobile .vco-slidenav-next,.vco-skinny.vco-layout-landscape.vco-mobile .vco-slidenav-next,.vco-skinny.vco-layout-portrait.vco-mobile .vco-slidenav-next{display:none}.vco-storyslider{width:100%;height:100%;overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none;position:relative}.vco-storyslider img,.vco-storyslider embed,.vco-storyslider object,.vco-storyslider video,.vco-storyslider iframe{max-width:100%;position:relative}.vco-storyslider .vco-slider-background{position:absolute;top:0;left:0;width:100%;height:100%;z-index:1}.vco-storyslider .vco-slider-touch-mask{width:100%;height:100%;z-index:25;top:0;left:0;position:absolute}.vco-storyslider .vco-slider-container-mask{text-align:center;width:100%;height:100%;position:relative;z-index:5}.vco-storyslider .vco-slider-container-mask .vco-slider-container{position:absolute;top:0;left:0;width:100%;height:100%;text-align:center}.vco-storyslider .vco-slider-container-mask .vco-slider-container .vco-slider-item-container{width:100%;height:100%;display:table-cell;vertical-align:middle}.vco-media{width:100%;min-width:50%;height:100%;float:left;margin-top:auto;margin-bottom:auto;position:relative}.vco-media .vco-media-content-container .vco-media-content{position:relative;*zoom:1}.vco-media .vco-media-content-container .vco-media-content:before,.vco-media .vco-media-content-container .vco-media-content:after{display:table;content:""}.vco-media .vco-media-content-container .vco-media-content:after{clear:both}.vco-media .vco-media-content-container .vco-media-content .vco-media-loaderror{border:1px solid #333;padding:20px;padding-top:50px;padding-bottom:50px;color:gray}.vco-media .vco-media-content-container .vco-media-content .vco-media-loaderror [class^=vco-icon-],.vco-media .vco-media-content-container .vco-media-content .vco-media-loaderror [class*=" vco-icon-"]{font-size:36px}.vco-media .vco-media-content-container .vco-media-content img,.vco-media .vco-media-content-container .vco-media-content embed,.vco-media .vco-media-content-container .vco-media-content object,.vco-media .vco-media-content-container .vco-media-content video{max-width:100%;max-height:100%}.vco-media-shadow{position:relative;z-index:1;-webkit-box-shadow:1px 1px 7px rgba(0,0,0,.5);-moz-box-shadow:1px 1px 7px rgba(0,0,0,.5);box-shadow:1px 1px 7px rgba(0,0,0,.5)}.vcard{*zoom:1;margin-bottom:15px;margin-top:10px}.vcard:before,.vcard:after{display:table;content:""}.vcard:after{clear:both}.vcard .twitter-date{text-align:left;font-size:11px}.vcard .author{float:right}.vcard a{color:#333;text-decoration:none}.vcard a:hover{text-decoration:none}.vcard a:hover .fn,.vcard a:hover .nickname{color:#c34528}.vcard .fn,.vcard .nickname{padding-left:42px}.vcard .fn{display:block;font-weight:700}.vcard .nickname{margin-top:1px;display:block;color:#666}.vcard .avatar{float:left;display:block;width:32px;height:32px}.vcard .avatar img{-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}.vco-slide.vco-full-image-background a,.vco-slide.vco-full-color-background a,.vco-slide.vco-full-image-background .vcard a,.vco-slide.vco-full-color-background .vcard a{color:#FFF!important;text-shadow:1px 1px 1px #000!important;color:#fff}.vco-credit{color:#999;text-align:right;display:block;margin:0 auto;margin-top:6px;font-size:10px;line-height:13px}.vco-caption{text-align:left;margin-top:10px;color:#666;font-size:11px;line-height:14px;text-rendering:optimizeLegibility;word-wrap:break-word}.vco-full-image-background .vco-media-shadow:before,.vco-full-color-background .vco-media-shadow:before,.vco-full-image-background .vco-media-shadow:after,.vco-full-color-background .vco-media-shadow:after{background:0 0;-webkit-box-shadow:0 0 0 #000;-moz-box-shadow:0 0 0 #000;box-shadow:0 0 0 #000}@media only screen and (max-width:500px),only screen and (max-device-width:500px){.vco-media{width:100%;height:auto;float:none;display:block}}.vco-skinny .vco-media{width:100%;height:auto;float:none;display:block}.vco-skinny .vco-media .vco-media-content-container .vco-credit,.vco-skinny .vco-media .vco-media-content-container .vco-caption{margin-top:2px;padding-left:10px;padding-right:10px;font-size:8px}.vco-skinny .vco-media .vco-media-content-container .vco-credit{margin-top:0}.vco-text{width:50%;max-width:50%;min-width:120px;padding:0 20px;display:table-cell;vertical-align:middle;text-align:left;text-shadow:none}.vco-full-image-background .vco-text,.vco-full-image-background .vco-text p{color:#FFF;text-shadow:1px 1px 2px #000}@media only screen and (max-width:500px),only screen and (max-device-width:500px){.vco-text{width:100%;max-width:100%;min-width:auto;float:none}}.vco-media .vco-media-twitter{text-align:left;clear:both}.vco-media .vco-media-twitter blockquote{margin:0;margin-right:15px;font-size:15px;line-height:21px;color:#333}.vco-media .vco-media-twitter blockquote p{font-size:36px;line-height:39px;color:#000}.vco-media .vco-media-twitter blockquote p:before{display:none}.vco-media .vco-media-twitter blockquote p:after{display:none}.vco-media .vco-media-twitter .vco-icon-twitter{color:#55ACEE}.vco-media .vco-media-twitter .vcard a:hover,.vco-media .vco-media-twitter .vcard a.vco-date:hover{text-decoration:none;color:#55ACEE}.vco-media .vco-media-twitter .vcard a:hover .fn,.vco-media .vco-media-twitter .vcard a.vco-date:hover .fn,.vco-media .vco-media-twitter .vcard a:hover .nickname,.vco-media .vco-media-twitter .vcard a.vco-date:hover .nickname{color:#55ACEE}.vco-slide-media-only .vco-media .vco-media-twitter{width:80%;margin-left:auto;margin-right:auto}@media only screen and (max-width:800px),only screen and (max-device-width:800px){.vco-media .vco-media-twitter blockquote p{font-size:24px;line-height:26px}}@media only screen and (max-width:500px),only screen and (max-device-width:500px){.vco-media .vco-media-twitter blockquote p{font-size:15px;line-height:21px}}.vco-media .vco-media-blockquote{text-align:left;clear:both}.vco-media .vco-media-blockquote blockquote{margin:0;margin-right:15px;text-align:left}.vco-media .vco-media-blockquote blockquote p{font-size:36px;line-height:39px}.vco-media .vco-media-blockquote blockquote cite{font-size:15px;line-height:21px;color:#333;text-align:right}.vco-media .vco-media-blockquote blockquote p:before{content:open-quote;display:inline-block;margin-right:5px}.vco-media .vco-media-blockquote blockquote p:after{content:close-quote;display:inline-block;margin-left:3px}.vco-slide-media-only .vco-media .vco-media-blockquote{width:80%;margin-left:auto;margin-right:auto}@media only screen and (max-width:800px),only screen and (max-device-width:800px){.vco-media .vco-media-blockquote blockquote p{font-size:24px;line-height:26px}}@media only screen and (max-width:500px),only screen and (max-device-width:500px){.vco-media .vco-media-blockquote blockquote p{font-size:15px;line-height:21px}}.vco-media .vco-media-instagram-profile{border-radius:50%}.vco-media .vco-media-iframe{width:100%;height:100%}.vco-media .vco-media-iframe iframe{width:100%;height:100%}.vco-media .vco-media-wikipedia{text-align:left;margin-left:auto;margin-right:auto;clear:both}.vco-media .vco-media-wikipedia .wiki-source{font-size:13px;line-height:19px;font-style:italic}.vco-media .vco-media-wikipedia h4{margin-top:0;margin-bottom:0}.vco-media .vco-media-wikipedia h4 a{color:#000;text-decoration:none}.vco-media .vco-media-wikipedia h4 a:hover{text-decoration:underline}.vco-media .vco-media-wikipedia p{font-size:13px;line-height:19px}.vco-slide.vco-full-image-background .vco-media .vco-media-wikipedia,.vco-slide.vco-full-color-background .vco-media .vco-media-wikipedia{padding:20px;background:#000 transparent;background:rgba(0,0,0,.6);-webkit-border-radius:7px;-moz-border-radius:7px;border-radius:7px}.vco-slide.vco-full-image-background .vco-media .vco-media-wikipedia h4 a,.vco-slide.vco-full-color-background .vco-media .vco-media-wikipedia h4 a{color:#FFF!important;text-shadow:1px 1px 1px #000!important}.vco-mobile.vco-skinny .vco-media .vco-media-wikipedia{margin-left:10px;margin-right:10px}.leaflet-map-pane,.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-tile-pane,.leaflet-tile-container,.leaflet-overlay-pane,.leaflet-shadow-pane,.leaflet-marker-pane,.leaflet-popup-pane,.leaflet-overlay-pane svg,.leaflet-zoom-box,.leaflet-image-layer,.leaflet-layer{position:absolute;left:0;top:0}.leaflet-container{overflow:hidden;-ms-touch-action:none}.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow{-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-user-drag:none}.leaflet-marker-icon,.leaflet-marker-shadow{display:block}.leaflet-container img{max-width:none!important}.leaflet-container img.leaflet-image-layer{max-width:15000px!important}.leaflet-tile{filter:inherit;visibility:hidden}.leaflet-tile-loaded{visibility:inherit}.leaflet-zoom-box{width:0;height:0}.leaflet-overlay-pane svg{-moz-user-select:none}.leaflet-tile-pane{z-index:2}.leaflet-objects-pane{z-index:3}.leaflet-overlay-pane{z-index:4}.leaflet-shadow-pane{z-index:5}.leaflet-marker-pane{z-index:6}.leaflet-popup-pane{z-index:7}.leaflet-vml-shape{width:1px;height:1px}.lvml{behavior:url(#default#VML);display:inline-block;position:absolute}.leaflet-control{position:relative;z-index:7;pointer-events:auto}.leaflet-top,.leaflet-bottom{position:absolute;z-index:1000;pointer-events:none}.leaflet-top{top:0}.leaflet-right{right:0}.leaflet-bottom{bottom:0}.leaflet-left{left:0}.leaflet-control{float:left;clear:both}.leaflet-right .leaflet-control{float:right}.leaflet-top .leaflet-control{margin-top:10px}.leaflet-bottom .leaflet-control{margin-bottom:10px}.leaflet-left .leaflet-control{margin-left:10px}.leaflet-right .leaflet-control{margin-right:10px}.leaflet-fade-anim .leaflet-tile,.leaflet-fade-anim .leaflet-popup{opacity:0;-webkit-transition:opacity .2s linear;-moz-transition:opacity .2s linear;-o-transition:opacity .2s linear;transition:opacity .2s linear}.leaflet-fade-anim .leaflet-tile-loaded,.leaflet-fade-anim .leaflet-map-pane .leaflet-popup{opacity:1}.leaflet-zoom-anim .leaflet-zoom-animated{-webkit-transition:-webkit-transform .25s cubic-bezier(0,0,.25,1);-moz-transition:-moz-transform .25s cubic-bezier(0,0,.25,1);-o-transition:-o-transform .25s cubic-bezier(0,0,.25,1);transition:transform .25s cubic-bezier(0,0,.25,1)}.leaflet-zoom-anim .leaflet-tile,.leaflet-pan-anim .leaflet-tile,.leaflet-touching .leaflet-zoom-animated{-webkit-transition:none;-moz-transition:none;-o-transition:none;transition:none}.leaflet-zoom-anim .leaflet-zoom-hide{visibility:hidden}.leaflet-clickable{cursor:pointer}.leaflet-container{cursor:-webkit-grab;cursor:-moz-grab}.leaflet-popup-pane,.leaflet-control{cursor:auto}.leaflet-dragging .leaflet-container,.leaflet-dragging .leaflet-clickable{cursor:move;cursor:-webkit-grabbing;cursor:-moz-grabbing}.leaflet-container{background:#ddd;outline:0}.leaflet-container a{color:#0078A8}.leaflet-container a.leaflet-active{outline:2px solid orange}.leaflet-zoom-box{border:2px dotted #38f;background:rgba(255,255,255,.5)}.leaflet-container{font:12px/1.5 "Helvetica Neue",Arial,Helvetica,sans-serif}.leaflet-bar{box-shadow:0 1px 5px rgba(0,0,0,.65);border-radius:4px}.leaflet-bar a,.leaflet-bar a:hover{background-color:#fff;border-bottom:1px solid #ccc;width:26px;height:26px;line-height:26px;display:block;text-align:center;text-decoration:none;color:#000}.leaflet-bar a,.leaflet-control-layers-toggle{background-position:50% 50%;background-repeat:no-repeat;display:block}.leaflet-bar a:hover{background-color:#f4f4f4}.leaflet-bar a:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.leaflet-bar a:last-child{border-bottom-left-radius:4px;border-bottom-right-radius:4px;border-bottom:none}.leaflet-bar a.leaflet-disabled{cursor:default;background-color:#f4f4f4;color:#bbb}.leaflet-touch .leaflet-bar a{width:30px;height:30px;line-height:30px}.leaflet-control-zoom-in,.leaflet-control-zoom-out{font:700 18px 'Lucida Console',Monaco,monospace;text-indent:1px}.leaflet-control-zoom-out{font-size:20px}.leaflet-touch .leaflet-control-zoom-in{font-size:22px}.leaflet-touch .leaflet-control-zoom-out{font-size:24px}.leaflet-control-layers{box-shadow:0 1px 5px rgba(0,0,0,.4);background:#fff;border-radius:5px}.leaflet-control-layers-toggle{background-image:url(images/layers.png);width:36px;height:36px}.leaflet-retina .leaflet-control-layers-toggle{background-image:url(images/layers-2x.png);background-size:26px 26px}.leaflet-touch .leaflet-control-layers-toggle{width:44px;height:44px}.leaflet-control-layers .leaflet-control-layers-list,.leaflet-control-layers-expanded .leaflet-control-layers-toggle{display:none}.leaflet-control-layers-expanded .leaflet-control-layers-list{display:block;position:relative}.leaflet-control-layers-expanded{padding:6px 10px 6px 6px;color:#333;background:#fff}.leaflet-control-layers-selector{margin-top:2px;position:relative;top:1px}.leaflet-control-layers label{display:block}.leaflet-control-layers-separator{height:0;border-top:1px solid #ddd;margin:5px -10px 5px -6px}.leaflet-container .leaflet-control-attribution{background:#fff;background:rgba(255,255,255,.7);margin:0}.leaflet-control-attribution,.leaflet-control-scale-line{padding:0 5px;color:#333}.leaflet-control-attribution a{text-decoration:none}.leaflet-control-attribution a:hover{text-decoration:underline}.leaflet-container .leaflet-control-attribution,.leaflet-container .leaflet-control-scale{font-size:11px}.leaflet-left .leaflet-control-scale{margin-left:5px}.leaflet-bottom .leaflet-control-scale{margin-bottom:5px}.leaflet-control-scale-line{border:2px solid #777;border-top:none;line-height:1.1;padding:2px 5px 1px;font-size:11px;white-space:nowrap;overflow:hidden;-moz-box-sizing:content-box;box-sizing:content-box;background:#fff;background:rgba(255,255,255,.5)}.leaflet-control-scale-line:not(:first-child){border-top:2px solid #777;border-bottom:none;margin-top:-2px}.leaflet-control-scale-line:not(:first-child):not(:last-child){border-bottom:2px solid #777}.leaflet-touch .leaflet-control-attribution,.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{box-shadow:none}.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{border:2px solid rgba(0,0,0,.2);background-clip:padding-box}.leaflet-popup{position:absolute;text-align:center}.leaflet-popup-content-wrapper{padding:1px;text-align:left;border-radius:12px}.leaflet-popup-content{margin:13px 19px;line-height:1.4}.leaflet-popup-content p{margin:18px 0}.leaflet-popup-tip-container{margin:0 auto;width:40px;height:20px;position:relative;overflow:hidden}.leaflet-popup-tip{width:17px;height:17px;padding:1px;margin:-10px auto 0;-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);-o-transform:rotate(45deg);transform:rotate(45deg)}.leaflet-popup-content-wrapper,.leaflet-popup-tip{background:#fff;box-shadow:0 3px 14px rgba(0,0,0,.4)}.leaflet-container a.leaflet-popup-close-button{position:absolute;top:0;right:0;padding:4px 4px 0 0;text-align:center;width:18px;height:14px;font:16px/14px Tahoma,Verdana,sans-serif;color:#c3c3c3;text-decoration:none;font-weight:700;background:0 0}.leaflet-container a.leaflet-popup-close-button:hover{color:#999}.leaflet-popup-scrolled{overflow:auto;border-bottom:1px solid #ddd;border-top:1px solid #ddd}.leaflet-oldie .leaflet-popup-content-wrapper{zoom:1}.leaflet-oldie .leaflet-popup-tip{width:24px;margin:0 auto;-ms-filter:"progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";filter:progid:DXImageTransform.Microsoft.Matrix(M11=.70710678, M12=.70710678, M21=-.70710678, M22=.70710678)}.leaflet-oldie .leaflet-popup-tip-container{margin-top:-1px}.leaflet-oldie .leaflet-control-zoom,.leaflet-oldie .leaflet-control-layers,.leaflet-oldie .leaflet-popup-content-wrapper,.leaflet-oldie .leaflet-popup-tip{border:1px solid #999}.leaflet-div-icon{background:#fff;border:1px solid #666}.leaflet-vml-shape{width:1px;height:1px}.lvml{behavior:url(#default#VML);display:inline-block;position:absolute}.leaflet-control{display:inline}.leaflet-popup-tip{width:21px;_width:27px;margin:0 auto;_margin-top:-3px;filter:progid:DXImageTransform.Microsoft.Matrix(M11=.70710678, M12=.70710678, M21=-.70710678, M22=.70710678);-ms-filter:"progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)"}.leaflet-popup-tip-container{margin-top:-1px}.leaflet-popup-content-wrapper,.leaflet-popup-tip{border:1px solid #999}.leaflet-popup-content-wrapper{zoom:1}.leaflet-control-zoom,.leaflet-control-layers{border:3px solid #999}.leaflet-control-attribution,.leaflet-control-layers,.leaflet-control-scale-line{background:#fff}.leaflet-zoom-box{filter:alpha(opacity=50)}.leaflet-control-attribution{border-top:1px solid #bbb;border-left:1px solid #bbb}.vco-map .leaflet-container .leaflet-control-attribution{color:#999;margin-bottom:3px!important}.vco-map .leaflet-container .leaflet-control-attribution a{color:#666}.vco-map .leaflet-container .leaflet-control-attribution .vco-knightlab-brand,.vco-map .leaflet-container .leaflet-control-attribution a.vco-knightlab-brand{margin-left:5px;text-shadow:0 0 1px #FFF,0 0 1px #FFF,0 0 5px #FFF;font-size:14px;font-weight:700}.vco-map .leaflet-container .leaflet-control-attribution .vco-knightlab-brand span,.vco-map .leaflet-container .leaflet-control-attribution a.vco-knightlab-brand span{color:#c34528;display:inline-block;transform:rotate(45deg);-ms-transform:rotate(45deg);-webkit-transform:rotate(45deg)}.vco-map .leaflet-container .leaflet-control-attribution .vco-knightlab-brand:hover,.vco-map .leaflet-container .leaflet-control-attribution a.vco-knightlab-brand:hover{text-decoration:none;color:#dd735a}.vco-map .leaflet-container img.leaflet-image-layer{max-width:none!important}.vco-map .leaflet-overlay-pane{z-index:auto}.vco-map .leaflet-overlay-pane .leaflet-image-layer{z-index:-1}.vco-map .leaflet-overlay-pane svg{z-index:4}.vco-map .leaflet-fade-anim .leaflet-tile,.vco-map .leaflet-fade-anim .leaflet-popup{opacity:0;-webkit-transition:opacity .5s linear;-moz-transition:opacity .5s linear;-o-transition:opacity .5s linear;transition:opacity .5s linear}.vco-map .leaflet-fade-anim .leaflet-tile-loaded,.vco-map .leaflet-fade-anim .leaflet-map-pane .leaflet-popup{opacity:1}.vco-map .leaflet-zoom-anim .leaflet-zoom-animated{-webkit-transition:-webkit-transform 1s cubic-bezier(0.75,.1,.2,1);-moz-transition:-moz-transform 1s cubic-bezier(0.75,.1,.2,1);-o-transition:-o-transform 1s cubic-bezier(0.75,.1,.2,1);transition:transform 1s cubic-bezier(0.75,.1,.2,1);-webkit-transform:translateZ(0);-webkit-perspective:1000;-webkit-backface-visibility:hidden}.vco-map .leaflet-bottom{bottom:0}.vco-map .leaflet-right{left:0;right:auto}.vco-map .leaflet-container .leaflet-control-attribution{background-color:transparent;box-shadow:none;margin:0;border:none;font-size:10px}.vco-map .leaflet-container{background-color:transparent}.vco-map .leaflet-popup-content-wrapper{display:none;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;border:1px solid #b3b3b3;-webkit-box-shadow:1px 1px 7px rgba(0,0,0,.3);-moz-box-shadow:1px 1px 7px rgba(0,0,0,.3);box-shadow:1px 1px 7px rgba(0,0,0,.3);-webkit-box-shadow:1px 1px 2px rgba(0,0,0,.3);-moz-box-shadow:1px 1px 2px rgba(0,0,0,.3);box-shadow:1px 1px 2px rgba(0,0,0,.3)}.vco-map .leaflet-popup-content-wrapper .leaflet-popup-content{margin:7px}.vco-map .leaflet-popup-content-wrapper .leaflet-popup-content h4{margin:0;font-weight:400}.vco-map .leaflet-popup-tip-container{margin:0 auto;width:40px;height:20px;position:relative;overflow:hidden;display:none}.vco-map .leaflet-bar{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.vco-layout-landscape .vco-map .leaflet-bottom{bottom:0}.vco-layout-landscape .vco-map .leaflet-right{left:0;right:auto}.vco-layout-landscape .vco-map .leaflet-top{bottom:0;top:28px}.vco-layout-portrait .leaflet-bottom{bottom:0;top:auto}.vco-mobile.vco-skinny .leaflet-control-zoom,.vco-mobile.vco-skinny .leaflet-control-layers{display:none}.vco-skinny .leaflet-container .leaflet-control-attribution{background-color:transparent;box-shadow:none;margin:0;border:none}.vco-map .leaflet-container .leaflet-bottom .leaflet-control-minimap{margin-left:10px;margin-bottom:25px}.vco-map .leaflet-container .leaflet-top .leaflet-control-minimap{margin-left:10px;margin-top:10px}.vco-map .leaflet-container .leaflet-control-minimap{border:solid #FFF 2px;-webkit-box-shadow:1px 1px 7px rgba(0,0,0,.3);-moz-box-shadow:1px 1px 7px rgba(0,0,0,.3);box-shadow:1px 1px 7px rgba(0,0,0,.3);-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;background-color:#b3b3b3;transition:all .2s;border:2px solid #b3b3b3}.vco-map .leaflet-container .leaflet-control-minimap a{background-color:#b3b3b3;z-index:99999;transition:all .2s;border-radius:3px 0 0}.vco-map .leaflet-container .leaflet-control-minimap a.minimized{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.vco-map .leaflet-container .leaflet-control-minimap-toggle-display{height:19px;width:19px;position:absolute;bottom:0;right:0;border:1px solid #b3b3b3;background-color:gray}.vco-map .leaflet-container .leaflet-control-minimap-toggle-display:after{font-family:vco-icons;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#FFF;font-size:20px;content:"\e647"}.vco-map .leaflet-container .mapbox-maplogo{position:absolute;display:block;height:20px;width:65px;left:10px;bottom:10px;text-indent:-9999px;z-index:99999;overflow:hidden;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIIAAAAoCAMAAAAFWtJHAAAAwFBMVEUAAAAAAAAAAABtbW0AAAAAAAAAAAAAAAAAAAAAAAClpaUAAADp6ekAAAD5+fna2toAAAAMDAzv7+/Nzc0AAAA2Njb8/Pz9/f3T09MAAAAAAAD7+/sAAAArKyuxsbH39/fs7OwbGxuIiIjz8/N8fHyenp7u7u74+PgAAAC8vLxWVlbx8fF1dXXl5eVcXFyUlJTQ0NDFxcVCQkLAwMC4uLj19fXo6OjW1tarq6ve3t77+/vi4uL6+vrKysrNzc3///8w7gSSAAAAP3RSTlMAOQNdPSYBPywKexLLGPCxNEHXnzFL+v2nGwf1IEiE6dBFad9jd9PuLo1V2mDDV3Cjl06SiuXIq4C3973ym6BQMVUPAAAEXElEQVR4Ae2WCVP6OBiH05L0l1IqrVbkKHJ54I0oHn+PfP9vtUle0z/YdhbH2XVnd58ZnRJIeHiPJOx//mH4vQSAN+8FjAhFxgHIaPvJeZ99hxwEElon5iAQbj85Y98g8ODwjEOMAvGFyeE3FEKgodTBqj0BJGN9DhyNd5Ta3ean9QEopfaA+LsKhnEKRExqg4FSP6Og7oEkAjBWnxSCgBX4xF+kcLoPcOBQrSv0e5kH7s1j37jECQieCTPiFGxL5VHw2zQWCeeJiPt6kjRQw0XSkIdVChf67xGa4alSnZlT6HEQ8CK9ANbhvXUF9xlDkBfTuHDWScgC9+z5FQpPI12TlwC6+sV7ixR8CUMKiwjm2GQeOQWHMGuHGdbnObJAwCEqFJpNU5H6uaPUaEIKiQfg+PHk1+u4OwW9PlWW2ctbA4BHCtp+cNK+H8Jos4gDmC5ar4Nx9waaG/2B13NgDqS7+vm2RgEtEws82P+kwIHhs/pgkQKcFIhfd7CogtGNjYMHTLpurD0ERbYFw4JaD3GlQuNAL/JEsSAF4HqlCnaHACk4WhOn4OgCkMD5hSpYNYDJTD8Y46n+jsE1kPhVCuR6QBXhFK7MUOu9O6b1SWF3b+/9ZVWMGOlu93E8UDaAhgc7bfH+0DHqKXCkHzoNDFfU+zxiVQrUC9QXTuHYtKpN59OA3IxCG4b7jh6ZFuVockaNTW09mkJzOaPU49a6mE9cAchZpQJNpUWcwgV9r6FJswsFKrITp2B5pMBMdnS0z2HZNy2+BNKxSZxZfglkrFYBJxQnpzA5sN/HheR2aFQoZBLAi149dQoyAYYjW0hHlHguBAdMcR0DuDZ5omevX6+AI8qcU7ikKT3GBHCnXwydgmCC0tRwCnGQ2Wp6Be71yNIWfQSkOl9vAI1SBCNWrwC01RROgX7BuT2HI4r7tFAw086p/NwZEdOEa7R1uAFuNmQPuKAEAjYNQ0CyeoUEWHYBnpQVQgpvc0Ph+gsKlAnKg1+vEHsw5LKciLKCAJobiWBzYFGbCKpHqkZZrxBFHEASyFI59vJPCskcwNVGOWZAOqsrR+pKbaNeAMT1CixMEtlnsqopNxUMzVJT3tY35aXZm6a6Y9QhwMN6BUJWbE1lhbMO1WehkO7poO0sK7em9MJGxp1XSbC1gtugzzSLQmGsX7VntJGSwsPZ2d2z3bIPKzdoOp3Wzqt8G4XyMVUoFIxLx1S7+piaHtCvR3FeRVsq0GFdp9C5TbGpcNqsPqyHKxcfd14h21KhuLKUFU4f3osrC7F6uV3WXFnadL7wyAPeKDXw2RoJCO5GY4DouYvb/gepVXheLoewzPseQG9N/vzilrMIjoStE3++zvle4eSurw7XEe76ynI4aq+v7lEyt1x5awiFlFLQbHKIpabnM3eJLym4Szzzc/du7SU+zOXv9UNpECH7IoH/gecURPlN9vdQpeD47yhIFNX0U0QgvID9nENm+yxk/xb+AGAjNfRZuk9qAAAAAElFTkSuQmCC);background-repeat:no-repeat;background-position:0 0;background-size:65px 20px}.vco-map .vco-mapmarker,.vco-map .vco-mapmarker-active{font-family:vco-icons;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;width:38px!important;height:52px!important;top:-46px;left:-13px}.vco-map .vco-mapmarker:before,.vco-map .vco-mapmarker-active:before{content:"\e600";font-size:52px;text-shadow:rgba(0,0,0,.66)0 2px 5px}.vco-map .vco-mapmarker{color:#a5a5a5}.vco-map .vco-mapmarker-active{color:#c34528}.vco-map .vco-mapmarker-image-icon,.vco-map .vco-mapmarker-image-icon-active{border:2px solid #a5a5a5;box-shadow:2px 2px 2px #000;opacity:1}.vco-map .vco-mapmarker-image-icon{-webkit-filter:grayscale(100%);-moz-filter:grayscale(100%);filter:grayscale(100%)}.vco-map .vco-mapmarker-image-icon-active{opacity:1;border:4px solid #c34528;-webkit-filter:grayscale(0);-moz-filter:grayscale(0);filter:grayscale(0)}.vco-map .vco-mapmarker-icon:after{font-size:24px;color:#FFF;text-align:center;width:38px;height:24px;overflow:hidden;display:block;position:absolute;top:8px;left:0;filter:alpha(opacity=75);-khtml-opacity:.75;-moz-opacity:.75;opacity:.75}.vco-map .vco-mapmarker-active.vco-mapmarker-icon:after{filter:alpha(opacity=100);-khtml-opacity:1;-moz-opacity:1;opacity:1}.vco-map .vco-icon-wikipedia:after{font-size:16px;top:12px}.vco-map .vco-icon-image:after{top:6px}.vco-map .vco-icon-vine:after,.vco-map .vco-icon-vimeo:after,.vco-map .vco-icon-twitter:after{top:8px}.vco-map .vco-mapimage-display:hover .vco-mapmarker,.vco-map .vco-mapimage-display:hover .vco-mapmarker-active{display:block}.vco-map .vco-mapimage-display .vco-mapmarker,.vco-map .vco-mapimage-display .vco-mapmarker-active{display:none}.vco-map{height:100%;display:relative;overflow:hidden;top:0;background-color:#333}.vco-map .vco-map-mask{width:100%;height:100%;overflow:hidden}.vco-map .vco-map-mask .vco-map-display{width:100%;height:100%}.vco-storymap h2.vco-headline-title .vco-snapmap-instagram{text-align:center;display:block;text-transform:none!important}.vco-storymap h2.vco-headline-title .vco-snapmap-instagram a{color:#666}.vco-storymap .vco-media-instagram-likes{display:block;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:700;margin-top:10px;font-size:12px}.vco-storymap .vco-media-instagram-likes:before{content:'\2665';margin-right:3px;font-weight:400;font-size:14px}.vco-storymap .vco-media-instagram-likes:after{content:'Likes';margin-left:3px;color:#999;font-weight:400}.vco-storymap{width:100%;height:100%;font-size:16px;line-height:normal;overflow:hidden;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none}.vco-layout-portrait .vco-storyslider{padding-top:10px;-webkit-box-shadow:0 -3px 6px rgba(0,0,0,.2);-moz-box-shadow:0 -3px 6px rgba(0,0,0,.2);box-shadow:0 -3px 6px rgba(0,0,0,.2)}.vco-layout-landscape .vco-storyslider{padding-top:0;position:absolute;width:50%;left:50%;overflow:visible}.vco-layout-landscape .vco-storyslider .vco-slider-background{margin-left:-20%;width:120%;overflow:hidden;background-image:-webkit-linear-gradient(left,color-stop(rgba(255,255,255,.0001)0),color-stop(rgba(255,255,255,.85)15%));background-image:linear-gradient(to right,rgba(255,255,255,.0001)0,rgba(255,255,255,.85)15%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00ffffff', endColorstr='#d9ffffff', GradientType=1)}.vco-layout-landscape .vco-storyslider .vco-slider-container-mask{overflow:visible}.vco-layout-landscape .vco-storyslider .vco-slidenav-next .vco-slidenav-icon:before,.vco-layout-landscape .vco-storyslider .vco-slidenav-previous .vco-slidenav-icon:before{background-color:#fff;padding:20px;border:1px solid #b3b3b3}.vco-layout-landscape .vco-storyslider .vco-slidenav-next .vco-slidenav-icon,.vco-layout-landscape .vco-storyslider .vco-slidenav-previous .vco-slidenav-icon,.vco-layout-landscape .vco-storyslider .vco-slidenav-next .vco-slidenav-title,.vco-layout-landscape .vco-storyslider .vco-slidenav-previous .vco-slidenav-title,.vco-layout-landscape .vco-storyslider .vco-slidenav-next .vco-slidenav-description,.vco-layout-landscape .vco-storyslider .vco-slidenav-previous .vco-slidenav-description{text-shadow:none}.vco-layout-landscape .vco-storyslider .vco-slidenav-next .vco-slidenav-title,.vco-layout-landscape .vco-storyslider .vco-slidenav-previous .vco-slidenav-title,.vco-layout-landscape .vco-storyslider .vco-slidenav-next .vco-slidenav-description,.vco-layout-landscape .vco-storyslider .vco-slidenav-previous .vco-slidenav-description{display:none}.vco-layout-landscape .vco-storyslider .vco-slidenav-previous{left:-100%;margin-left:0}.vco-layout-landscape .vco-storyslider .vco-slidenav-previous .vco-slidenav-icon:before{border-bottom-right-radius:7px;border-top-right-radius:7px}.vco-layout-landscape .vco-storyslider .vco-slidenav-next{right:130px}.vco-layout-landscape .vco-storyslider .vco-slidenav-next .vco-slidenav-icon:before{border-bottom-left-radius:7px;border-top-left-radius:7px}.vco-layout-landscape .vco-storyslider .vco-slidenav-previous:hover .vco-slidenav-icon{margin-left:-4px} \ No newline at end of file diff --git a/compiled/examples/instagram_brentfoster.json b/compiled/examples/instagram_brentfoster.json index a7cf6c8c..455c3e97 100644 --- a/compiled/examples/instagram_brentfoster.json +++ b/compiled/examples/instagram_brentfoster.json @@ -1 +1,565 @@ -{"width": 900, "storymap": {"slides": [{"text": {"headline": "Brent Foster brentfoster", "text": ""}, "type": "overview", "media": {"url": "http://photos-g.ak.instagram.com/hphotos-ak-xpf1/10432049_297937443715230_1890922830_a.jpg", "caption": "", "credit": ""}}, {"text": {"headline": "", "text": "Cohen attacking some pizza and veggies #vscocam #family #children #youngfoodie"}, "location": {"lat": 42.592854705, "image": "http://scontent-b.cdninstagram.com/hphotos-xpf1/outbound-distilleryimage4/t0.0-17/OBPTH/d6fee680103211e3b5f422000a9e5ad5_5.jpg", "lon": -82.38287257}, "media": {"url": "http://scontent-b.cdninstagram.com/hphotos-xpf1/outbound-distilleryimage4/t0.0-17/OBPTH/d6fee680103211e3b5f422000a9e5ad5_7.jpg", "caption": "", "credit": ""}}, {"text": {"headline": "", "text": "Daylia working hard on the mean streets of Wallaceburg. #youngentrepreneur #lemonaid"}, "location": {"lat": 42.594, "image": "http://scontent-a.cdninstagram.com/hphotos-xaf1/outbound-distilleryimage9/t0.0-17/OBPTH/9658152210d511e393e222000a1fc7f0_5.jpg", "lon": -82.384666667}, "media": {"url": "http://scontent-a.cdninstagram.com/hphotos-xaf1/outbound-distilleryimage9/t0.0-17/OBPTH/9658152210d511e393e222000a1fc7f0_7.jpg", "caption": "", "credit": ""}}, {"text": {"headline": "", "text": "Spaghetti night at the Fosters #dinnertime #yum"}, "location": {"lat": 42.6, "image": "http://scontent-a.cdninstagram.com/hphotos-xpa1/outbound-distilleryimage5/t0.0-17/OBPTH/0200e00e141111e3993f22000a9e0af5_5.jpg", "lon": -82.383333333}, "media": {"url": "http://scontent-a.cdninstagram.com/hphotos-xpa1/outbound-distilleryimage5/t0.0-17/OBPTH/0200e00e141111e3993f22000a9e0af5_7.jpg", "caption": "", "credit": ""}}, {"text": {"headline": "", "text": "Daylia's first day of grade one and Cohen's first day in the toddler room. #vscocam #firstdayofschool #school"}, "location": {"lat": 42.592885005, "image": "http://scontent-b.cdninstagram.com/hphotos-xpf1/outbound-distilleryimage7/t0.0-17/OBPTH/78748f32149411e3bfd922000ae90db3_5.jpg", "lon": -82.382910121}, "media": {"url": "http://scontent-b.cdninstagram.com/hphotos-xpf1/outbound-distilleryimage7/t0.0-17/OBPTH/78748f32149411e3bfd922000ae90db3_7.jpg", "caption": "", "credit": ""}}, {"text": {"headline": "", "text": "Great afternoon of flying. #octocopter #aerialcinema #aerialphotography"}, "location": {"lat": 42.499781968, "image": "http://scontent-b.cdninstagram.com/hphotos-xfp1/outbound-distilleryimage7/t0.0-17/OBPTH/d64b1f9a14d011e3a19522000a9f126b_5.jpg", "lon": -82.177959345}, "media": {"url": "http://scontent-b.cdninstagram.com/hphotos-xfp1/outbound-distilleryimage7/t0.0-17/OBPTH/d64b1f9a14d011e3a19522000a9f126b_7.jpg", "caption": "", "credit": ""}}, {"text": {"headline": "", "text": "Thanksgiving with GG #thanksgiving #thankful"}, "location": {"lat": 42.815953333, "image": "http://scontent-b.cdninstagram.com/hphotos-xap1/outbound-distilleryimage3/t0.0-17/OBPTH/abe85ee635de11e3a31b22000a1fbb63_5.jpg", "lon": -82.472838333}, "media": {"url": "http://scontent-b.cdninstagram.com/hphotos-xap1/outbound-distilleryimage3/t0.0-17/OBPTH/abe85ee635de11e3a31b22000a1fbb63_8.jpg", "caption": "", "credit": ""}}, {"text": {"headline": "", "text": "Best breakfast ever. Thanks @tammyfos"}, "location": {"lat": 43.666795, "image": "http://scontent-b.cdninstagram.com/hphotos-xfp1/outbound-distilleryimage8/t0.0-17/OBPTH/2a25c6ce39a211e3847022000aeb0b98_5.jpg", "lon": -79.446096667}, "media": {"url": "http://scontent-b.cdninstagram.com/hphotos-xfp1/outbound-distilleryimage8/t0.0-17/OBPTH/2a25c6ce39a211e3847022000aeb0b98_8.jpg", "caption": "", "credit": ""}}, {"text": {"headline": "", "text": "Packing up for a week long trip in Newfoundland for Maclean's magazine. Now to figure out how to pack it. #kesslercrane #C100 #djiphantom #canon #timelapse #aerialcinema"}, "location": {"lat": 42.592895, "image": "http://scontent-b.cdninstagram.com/hphotos-xap1/t51.2885-15/1172349_244413202379818_1127794539_s.jpg", "lon": -82.382933333}, "media": {"url": "http://scontent-b.cdninstagram.com/hphotos-xap1/t51.2885-15/1172349_244413202379818_1127794539_n.jpg", "caption": "", "credit": ""}}, {"text": {"headline": "", "text": "My creepy family #halloween"}, "location": {"lat": 42.59293, "image": "http://scontent-b.cdninstagram.com/hphotos-xap1/t51.2885-15/1389552_180932892098335_1685886716_s.jpg", "lon": -82.382753333}, "media": {"url": "http://scontent-b.cdninstagram.com/hphotos-xap1/t51.2885-15/1389552_180932892098335_1685886716_n.jpg", "caption": "", "credit": ""}}, {"text": {"headline": "", "text": "Timelapse on Fogo Island. #timelapse #newfoundland #macleansmagazine #kesslercrane"}, "location": {"lat": 49.706721667, "image": "http://scontent-b.cdninstagram.com/hphotos-xpa1/t51.2885-15/1209554_231642443668120_186288027_s.jpg", "lon": -54.063388833}, "media": {"url": "http://scontent-b.cdninstagram.com/hphotos-xpa1/t51.2885-15/1209554_231642443668120_186288027_n.jpg", "caption": "", "credit": ""}}, {"text": {"headline": "", "text": "Cohen all dressed up for Christmas Eve with a new haircut. #family #xmas"}, "location": {"lat": 42.59292, "image": "http://scontent-b.cdninstagram.com/hphotos-xfp1/outbound-distilleryimage7/t0.0-17/OBPTH/53238d606ce011e3ba8612765964d65f_5.jpg", "lon": -82.382828333}, "media": {"url": "http://scontent-b.cdninstagram.com/hphotos-xfp1/outbound-distilleryimage7/t0.0-17/OBPTH/53238d606ce011e3ba8612765964d65f_8.jpg", "caption": "", "credit": ""}}, {"text": {"headline": "", "text": "Cohen visiting grandpa Taylor's for Christmas. #hideout #cutekids #christmas"}, "location": {"lat": 42.816003333, "image": "http://scontent-b.cdninstagram.com/hphotos-xap1/outbound-distilleryimage6/t0.0-17/OBPTH/d4d4da3e6e7111e380a30e9a0402a7de_5.jpg", "lon": -82.473145}, "media": {"url": "http://scontent-b.cdninstagram.com/hphotos-xap1/outbound-distilleryimage6/t0.0-17/OBPTH/d4d4da3e6e7111e380a30e9a0402a7de_8.jpg", "caption": "", "credit": ""}}, {"text": {"headline": "", "text": "Gerty joins in on the holiday celebrations. #bulldog #christmas #dogs"}, "location": {"lat": 42.600313333, "image": "http://scontent-a.cdninstagram.com/hphotos-xaf1/outbound-distilleryimage10/t0.0-17/OBPTH/5608807c702711e3ab4012f602fa8bc2_5.jpg", "lon": -82.383408333}, "media": {"url": "http://scontent-a.cdninstagram.com/hphotos-xaf1/outbound-distilleryimage10/t0.0-17/OBPTH/5608807c702711e3ab4012f602fa8bc2_8.jpg", "caption": "", "credit": ""}}, {"text": {"headline": "", "text": "Bringing the airport back in after a very windy and chilly New Year's Day ice fishing experience with my dad. #fishing #icefishing #airboat"}, "location": {"lat": 42.468911667, "image": "http://scontent-b.cdninstagram.com/hphotos-xfp1/t51.2885-15/1516894_355407197937021_1596567017_s.jpg", "lon": -82.412466667}, "media": {"url": "http://scontent-b.cdninstagram.com/hphotos-xfp1/t51.2885-15/1516894_355407197937021_1596567017_n.jpg", "caption": "", "credit": ""}}, {"text": {"headline": "", "text": "Mojitos at the Hotel Nacional in Havana. #havana #cuba #yolo #travel"}, "location": {"lat": 23.124847167, "image": "http://scontent-a.cdninstagram.com/hphotos-xpf1/t51.2885-15/1515823_1454260421460305_724042684_s.jpg", "lon": -82.400208333}, "media": {"url": "http://scontent-a.cdninstagram.com/hphotos-xpf1/t51.2885-15/1515823_1454260421460305_724042684_n.jpg", "caption": "", "credit": ""}}, {"text": {"headline": "", "text": "The streets of old Havana. #cuba #travel #authenticacuba"}, "location": {"lat": 43.473121667, "image": "http://scontent-a.cdninstagram.com/hphotos-xap1/t51.2885-15/1527624_1412512122326078_148547489_s.jpg", "lon": -80.038175}, "media": {"url": "http://scontent-a.cdninstagram.com/hphotos-xap1/t51.2885-15/1527624_1412512122326078_148547489_n.jpg", "caption": "", "credit": ""}}, {"text": {"headline": "", "text": "Havana streets #travelphotography #instagramtravel #havana #travel #cuba"}, "location": {"lat": 23.139822167, "image": "http://scontent-a.cdninstagram.com/hphotos-xfa1/t51.2885-15/1169092_696345263729276_1380361903_s.jpg", "lon": -82.377945}, "media": {"url": "http://scontent-a.cdninstagram.com/hphotos-xfa1/t51.2885-15/1169092_696345263729276_1380361903_n.jpg", "caption": "", "credit": ""}}, {"text": {"headline": "", "text": "Doggie and puddle in Old Havana. #cubatravel #dogs #streetscene #cuba"}, "location": {"lat": 23.1330945, "image": "http://scontent-a.cdninstagram.com/hphotos-xpa1/t51.2885-15/1530649_1380194438909358_373922444_s.jpg", "lon": -82.348411667}, "media": {"url": "http://scontent-a.cdninstagram.com/hphotos-xpa1/t51.2885-15/1530649_1380194438909358_373922444_n.jpg", "caption": "", "credit": ""}}, {"text": {"headline": "", "text": "Dominos in Cuba #travel #streetphotography #cuba"}, "location": {"lat": 23.134252833, "image": "http://scontent-b.cdninstagram.com/hphotos-xfp1/t51.2885-15/1527682_687116191308478_1910102745_s.jpg", "lon": -82.348853333}, "media": {"url": "http://scontent-b.cdninstagram.com/hphotos-xfp1/t51.2885-15/1527682_687116191308478_1910102745_n.jpg", "caption": "", "credit": ""}}, {"text": {"headline": "", "text": "@prestonkanak playing dominos in the streets of Havana. #filmmakingfun"}, "location": {"lat": 23.134266667, "image": "http://scontent-b.cdninstagram.com/hphotos-xpa1/t51.2885-15/1168679_1414246825481685_578979506_s.jpg", "lon": -82.348541667}, "media": {"url": "http://scontent-b.cdninstagram.com/hphotos-xpa1/t51.2885-15/1168679_1414246825481685_578979506_n.jpg", "caption": "", "credit": ""}}, {"text": {"headline": "", "text": "Cohen decided to throw and brake a frame today, but this kind of made up for it. #cutekids"}, "location": {"lat": 42.592871667, "image": "http://scontent-a.cdninstagram.com/hphotos-xpa1/t51.2885-15/1739504_232906886882151_1047274749_s.jpg", "lon": -82.382691667}, "media": {"url": "http://scontent-a.cdninstagram.com/hphotos-xpa1/t51.2885-15/1739504_232906886882151_1047274749_n.jpg", "caption": "", "credit": ""}}, {"text": {"headline": "", "text": "Upgrading a motor and doing a little maintenance on the octocopter tonight. #multirotor #uav #aerialcinema"}, "location": {"lat": 42.59278, "image": "http://scontent-b.cdninstagram.com/hphotos-xpa1/t51.2885-15/1740866_608625579206474_1702064410_s.jpg", "lon": -82.382713333}, "media": {"url": "http://scontent-b.cdninstagram.com/hphotos-xpa1/t51.2885-15/1740866_608625579206474_1702064410_n.jpg", "caption": "", "credit": ""}}, {"text": {"headline": "", "text": "Celebrating our friend @geraldmp 30th bday in Michigan and we found this little gem. #onlythirtyonce #bubleforever"}, "location": {"lat": 42.631043745, "image": "http://scontent-a.cdninstagram.com/hphotos-xaf1/outbound-distilleryimage0/t0.0-17/OBPTH/025f2ee2a63e11e383940ee0962af0a0_5.jpg", "lon": -83.010021066}, "media": {"url": "http://scontent-a.cdninstagram.com/hphotos-xaf1/outbound-distilleryimage0/t0.0-17/OBPTH/025f2ee2a63e11e383940ee0962af0a0_8.jpg", "caption": "", "credit": ""}}, {"text": {"headline": "", "text": "Ice fishing with my little bro Manitoba #canadianwinter"}, "location": {"lat": 53.329545, "image": "http://scontent-b.cdninstagram.com/hphotos-xfp1/t51.2885-15/1515918_627260440687327_262793878_s.jpg", "lon": -99.48098}, "media": {"url": "http://scontent-b.cdninstagram.com/hphotos-xfp1/t51.2885-15/1515918_627260440687327_262793878_n.jpg", "caption": "", "credit": ""}}, {"text": {"headline": "", "text": "Shooting a few timelapses in T.O today. #timelapse #toronto"}, "location": {"lat": 43.641061667, "image": "http://scontent-a.cdninstagram.com/hphotos-xpa1/t51.2885-15/1172000_277129682454356_22869590_s.jpg", "lon": -79.355605}, "media": {"url": "http://scontent-a.cdninstagram.com/hphotos-xpa1/t51.2885-15/1172000_277129682454356_22869590_n.jpg", "caption": "", "credit": ""}}, {"text": {"headline": "", "text": "Shooting wedding photos from the ocean. #costarica #destinationwedding"}, "location": {"lat": 10.528556585, "image": "http://scontent-a.cdninstagram.com/hphotos-xap1/t51.2885-15/10299879_246506868869711_1639932805_s.jpg", "lon": -85.747198918}, "media": {"url": "http://scontent-a.cdninstagram.com/hphotos-xap1/t51.2885-15/10299879_246506868869711_1639932805_n.jpg", "caption": "", "credit": ""}}, {"text": {"headline": "", "text": "Like a kid at Christmas at the studio today. #moviM5 #freeflysystems #multirotor #movi #cinematography"}, "location": {"lat": 42.593076198, "image": "http://scontent-a.cdninstagram.com/hphotos-xfp1/t51.2885-15/10326523_634137619996430_433595486_s.jpg", "lon": -82.38290426}, "media": {"url": "http://scontent-a.cdninstagram.com/hphotos-xfp1/t51.2885-15/10326523_634137619996430_433595486_n.jpg", "caption": "", "credit": ""}}, {"text": {"headline": "", "text": "Setting up for a day of filming #djiphantom #freeflysystems"}, "location": {"lat": 44.077297167, "image": "http://scontent-a.cdninstagram.com/hphotos-xaf1/t51.2885-15/10362084_766317546735862_118229060_s.jpg", "lon": -79.38745}, "media": {"url": "http://scontent-a.cdninstagram.com/hphotos-xaf1/t51.2885-15/10362084_766317546735862_118229060_n.jpg", "caption": "", "credit": ""}}, {"text": {"headline": "", "text": "Happy Fathers Day! Nerd alert."}, "location": {"lat": 42.600045, "image": "http://scontent-a.cdninstagram.com/hphotos-xpf1/t51.2885-15/10413281_1488153714754373_851054565_s.jpg", "lon": -82.383361667}, "media": {"url": "http://scontent-a.cdninstagram.com/hphotos-xpf1/t51.2885-15/10413281_1488153714754373_851054565_n.jpg", "caption": "", "credit": ""}}, {"text": {"headline": "", "text": "Getting the Movi ready to head to the east coast for a project! #freeflysystems #movim5 #travel"}, "location": {"lat": 42.592877881, "image": "http://scontent-b.cdninstagram.com/hphotos-xaf1/t51.2885-15/915570_314169908749238_855405505_s.jpg", "lon": -82.382504856}, "media": {"url": "http://scontent-b.cdninstagram.com/hphotos-xaf1/t51.2885-15/915570_314169908749238_855405505_n.jpg", "caption": "", "credit": ""}}, {"text": {"headline": "", "text": "Almost lobster time! #eastcoastcanada #peggyscove"}, "location": {"lat": 44.492358333, "image": "http://scontent-b.cdninstagram.com/hphotos-xap1/t51.2885-15/923670_315114831984676_13342280_s.jpg", "lon": -63.91742}, "media": {"url": "http://scontent-b.cdninstagram.com/hphotos-xap1/t51.2885-15/923670_315114831984676_13342280_n.jpg", "caption": "", "credit": ""}}, {"text": {"headline": "", "text": "A foggy day at the Cove #halifax #easterncanada"}, "location": {"lat": 44.492483333, "image": "http://scontent-b.cdninstagram.com/hphotos-xpa1/t51.2885-15/10369386_315046651992211_2107368657_s.jpg", "lon": -63.918071667}, "media": {"url": "http://scontent-b.cdninstagram.com/hphotos-xpa1/t51.2885-15/10369386_315046651992211_2107368657_n.jpg", "caption": "", "credit": ""}}, {"text": {"headline": "", "text": "Sometimes you just have to be one of those people that instagrams their food. #novascotia"}, "location": {"lat": 44.515195, "image": "http://scontent-b.cdninstagram.com/hphotos-xpa1/t51.2885-15/10431874_327179514105607_749221344_s.jpg", "lon": -63.934803333}, "media": {"url": "http://scontent-b.cdninstagram.com/hphotos-xpa1/t51.2885-15/10431874_327179514105607_749221344_n.jpg", "caption": "", "credit": ""}}, {"text": {"headline": "", "text": "The copter going up for this mornings shoot. #ontag #aerialcinema #photography #s1000 #uav"}, "location": {"lat": 42.497261667, "image": "http://scontent-a.cdninstagram.com/hphotos-xpf1/t51.2885-15/10547311_837231402956657_389819957_s.jpg", "lon": -81.715233333}, "media": {"url": "http://scontent-a.cdninstagram.com/hphotos-xpf1/t51.2885-15/10547311_837231402956657_389819957_n.jpg", "caption": "", "credit": ""}}], "map_as_image": false}, "height": 650} \ No newline at end of file +{ + "height": 650, + "storymap": { + "map_as_image": false, + "slides": [ + { + "media": { + "caption": "", + "credit": "", + "url": "http://photos-g.ak.instagram.com/hphotos-ak-xpf1/10432049_297937443715230_1890922830_a.jpg?instagramprofile" + }, + "text": { + "headline": "Brent Foster brentfoster", + "text": "" + }, + "type": "overview" + }, + { + "location": { + "image": "http://scontent-b.cdninstagram.com/hphotos-xpf1/outbound-distilleryimage4/t0.0-17/OBPTH/d6fee680103211e3b5f422000a9e5ad5_5.jpg", + "lat": 42.592854705, + "lon": -82.38287257 + }, + "media": { + "caption": "", + "credit": "", + "url": "http://scontent-b.cdninstagram.com/hphotos-xpf1/outbound-distilleryimage4/t0.0-17/OBPTH/d6fee680103211e3b5f422000a9e5ad5_7.jpg" + }, + "text": { + "headline": "", + "text": "Cohen attacking some pizza and veggies #vscocam #family #children #youngfoodie15" + } + }, + { + "location": { + "image": "http://scontent-a.cdninstagram.com/hphotos-xaf1/outbound-distilleryimage9/t0.0-17/OBPTH/9658152210d511e393e222000a1fc7f0_5.jpg", + "lat": 42.594, + "lon": -82.384666667 + }, + "media": { + "caption": "", + "credit": "", + "url": "http://scontent-a.cdninstagram.com/hphotos-xaf1/outbound-distilleryimage9/t0.0-17/OBPTH/9658152210d511e393e222000a1fc7f0_7.jpg" + }, + "text": { + "headline": "", + "text": "Daylia working hard on the mean streets of Wallaceburg. #youngentrepreneur #lemonaid15" + } + }, + { + "location": { + "image": "http://scontent-a.cdninstagram.com/hphotos-xpa1/outbound-distilleryimage5/t0.0-17/OBPTH/0200e00e141111e3993f22000a9e0af5_5.jpg", + "lat": 42.6, + "lon": -82.383333333 + }, + "media": { + "caption": "", + "credit": "", + "url": "http://scontent-a.cdninstagram.com/hphotos-xpa1/outbound-distilleryimage5/t0.0-17/OBPTH/0200e00e141111e3993f22000a9e0af5_7.jpg" + }, + "text": { + "headline": "", + "text": "Spaghetti night at the Fosters #dinnertime #yum15" + } + }, + { + "location": { + "image": "http://scontent-b.cdninstagram.com/hphotos-xpf1/outbound-distilleryimage7/t0.0-17/OBPTH/78748f32149411e3bfd922000ae90db3_5.jpg", + "lat": 42.592885005, + "lon": -82.382910121 + }, + "media": { + "caption": "", + "credit": "", + "url": "http://scontent-b.cdninstagram.com/hphotos-xpf1/outbound-distilleryimage7/t0.0-17/OBPTH/78748f32149411e3bfd922000ae90db3_7.jpg" + }, + "text": { + "headline": "", + "text": "Daylia's first day of grade one and Cohen's first day in the toddler room. #vscocam #firstdayofschool #school15" + } + }, + { + "location": { + "image": "http://scontent-b.cdninstagram.com/hphotos-xfp1/outbound-distilleryimage7/t0.0-17/OBPTH/d64b1f9a14d011e3a19522000a9f126b_5.jpg", + "lat": 42.499781968, + "lon": -82.177959345 + }, + "media": { + "caption": "", + "credit": "", + "url": "http://scontent-b.cdninstagram.com/hphotos-xfp1/outbound-distilleryimage7/t0.0-17/OBPTH/d64b1f9a14d011e3a19522000a9f126b_7.jpg" + }, + "text": { + "headline": "", + "text": "Great afternoon of flying. #octocopter #aerialcinema #aerialphotography15" + } + }, + { + "location": { + "image": "http://scontent-b.cdninstagram.com/hphotos-xap1/outbound-distilleryimage3/t0.0-17/OBPTH/abe85ee635de11e3a31b22000a1fbb63_5.jpg", + "lat": 42.815953333, + "lon": -82.472838333 + }, + "media": { + "caption": "", + "credit": "", + "url": "http://scontent-b.cdninstagram.com/hphotos-xap1/outbound-distilleryimage3/t0.0-17/OBPTH/abe85ee635de11e3a31b22000a1fbb63_8.jpg" + }, + "text": { + "headline": "", + "text": "Thanksgiving with GG #thanksgiving #thankful" + } + }, + { + "location": { + "image": "http://scontent-b.cdninstagram.com/hphotos-xfp1/outbound-distilleryimage8/t0.0-17/OBPTH/2a25c6ce39a211e3847022000aeb0b98_5.jpg", + "lat": 43.666795, + "lon": -79.446096667 + }, + "media": { + "caption": "", + "credit": "", + "url": "http://scontent-b.cdninstagram.com/hphotos-xfp1/outbound-distilleryimage8/t0.0-17/OBPTH/2a25c6ce39a211e3847022000aeb0b98_8.jpg" + }, + "text": { + "headline": "", + "text": "Best breakfast ever. Thanks @tammyfos" + } + }, + { + "location": { + "image": "http://scontent-b.cdninstagram.com/hphotos-xap1/t51.2885-15/1172349_244413202379818_1127794539_s.jpg", + "lat": 42.592895, + "lon": -82.382933333 + }, + "media": { + "caption": "", + "credit": "", + "url": "http://scontent-b.cdninstagram.com/hphotos-xap1/t51.2885-15/1172349_244413202379818_1127794539_n.jpg" + }, + "text": { + "headline": "", + "text": "Packing up for a week long trip in Newfoundland for Maclean's magazine. Now to figure out how to pack it. #kesslercrane #C100 #djiphantom #canon #timelapse #aerialcinema" + } + }, + { + "location": { + "image": "http://scontent-b.cdninstagram.com/hphotos-xap1/t51.2885-15/1389552_180932892098335_1685886716_s.jpg", + "lat": 42.59293, + "lon": -82.382753333 + }, + "media": { + "caption": "", + "credit": "", + "url": "http://scontent-b.cdninstagram.com/hphotos-xap1/t51.2885-15/1389552_180932892098335_1685886716_n.jpg" + }, + "text": { + "headline": "", + "text": "My creepy family #halloween" + } + }, + { + "location": { + "image": "http://scontent-b.cdninstagram.com/hphotos-xpa1/t51.2885-15/1209554_231642443668120_186288027_s.jpg", + "lat": 49.706721667, + "lon": -54.063388833 + }, + "media": { + "caption": "", + "credit": "", + "url": "http://scontent-b.cdninstagram.com/hphotos-xpa1/t51.2885-15/1209554_231642443668120_186288027_n.jpg" + }, + "text": { + "headline": "", + "text": "Timelapse on Fogo Island. #timelapse #newfoundland #macleansmagazine #kesslercrane" + } + }, + { + "location": { + "image": "http://scontent-b.cdninstagram.com/hphotos-xfp1/outbound-distilleryimage7/t0.0-17/OBPTH/53238d606ce011e3ba8612765964d65f_5.jpg", + "lat": 42.59292, + "lon": -82.382828333 + }, + "media": { + "caption": "", + "credit": "", + "url": "http://scontent-b.cdninstagram.com/hphotos-xfp1/outbound-distilleryimage7/t0.0-17/OBPTH/53238d606ce011e3ba8612765964d65f_8.jpg" + }, + "text": { + "headline": "", + "text": "Cohen all dressed up for Christmas Eve with a new haircut. #family #xmas" + } + }, + { + "location": { + "image": "http://scontent-b.cdninstagram.com/hphotos-xap1/outbound-distilleryimage6/t0.0-17/OBPTH/d4d4da3e6e7111e380a30e9a0402a7de_5.jpg", + "lat": 42.816003333, + "lon": -82.473145 + }, + "media": { + "caption": "", + "credit": "", + "url": "http://scontent-b.cdninstagram.com/hphotos-xap1/outbound-distilleryimage6/t0.0-17/OBPTH/d4d4da3e6e7111e380a30e9a0402a7de_8.jpg" + }, + "text": { + "headline": "", + "text": "Cohen visiting grandpa Taylor's for Christmas. #hideout #cutekids #christmas" + } + }, + { + "location": { + "image": "http://scontent-a.cdninstagram.com/hphotos-xaf1/outbound-distilleryimage10/t0.0-17/OBPTH/5608807c702711e3ab4012f602fa8bc2_5.jpg", + "lat": 42.600313333, + "lon": -82.383408333 + }, + "media": { + "caption": "", + "credit": "", + "url": "http://scontent-a.cdninstagram.com/hphotos-xaf1/outbound-distilleryimage10/t0.0-17/OBPTH/5608807c702711e3ab4012f602fa8bc2_8.jpg" + }, + "text": { + "headline": "", + "text": "Gerty joins in on the holiday celebrations. #bulldog #christmas #dogs" + } + }, + { + "location": { + "image": "http://scontent-b.cdninstagram.com/hphotos-xfp1/t51.2885-15/1516894_355407197937021_1596567017_s.jpg", + "lat": 42.468911667, + "lon": -82.412466667 + }, + "media": { + "caption": "", + "credit": "", + "url": "http://scontent-b.cdninstagram.com/hphotos-xfp1/t51.2885-15/1516894_355407197937021_1596567017_n.jpg" + }, + "text": { + "headline": "", + "text": "Bringing the airport back in after a very windy and chilly New Year's Day ice fishing experience with my dad. #fishing #icefishing #airboat" + } + }, + { + "location": { + "image": "http://scontent-a.cdninstagram.com/hphotos-xpf1/t51.2885-15/1515823_1454260421460305_724042684_s.jpg", + "lat": 23.124847167, + "lon": -82.400208333 + }, + "media": { + "caption": "", + "credit": "", + "url": "http://scontent-a.cdninstagram.com/hphotos-xpf1/t51.2885-15/1515823_1454260421460305_724042684_n.jpg" + }, + "text": { + "headline": "", + "text": "Mojitos at the Hotel Nacional in Havana. #havana #cuba #yolo #travel" + } + }, + { + "location": { + "image": "http://scontent-a.cdninstagram.com/hphotos-xap1/t51.2885-15/1527624_1412512122326078_148547489_s.jpg", + "lat": 43.473121667, + "lon": -80.038175 + }, + "media": { + "caption": "", + "credit": "", + "url": "http://scontent-a.cdninstagram.com/hphotos-xap1/t51.2885-15/1527624_1412512122326078_148547489_n.jpg" + }, + "text": { + "headline": "", + "text": "The streets of old Havana. #cuba #travel #authenticacuba" + } + }, + { + "location": { + "image": "http://scontent-a.cdninstagram.com/hphotos-xfa1/t51.2885-15/1169092_696345263729276_1380361903_s.jpg", + "lat": 23.139822167, + "lon": -82.377945 + }, + "media": { + "caption": "", + "credit": "", + "url": "http://scontent-a.cdninstagram.com/hphotos-xfa1/t51.2885-15/1169092_696345263729276_1380361903_n.jpg" + }, + "text": { + "headline": "", + "text": "Havana streets #travelphotography #instagramtravel #havana #travel #cuba" + } + }, + { + "location": { + "image": "http://scontent-a.cdninstagram.com/hphotos-xpa1/t51.2885-15/1530649_1380194438909358_373922444_s.jpg", + "lat": 23.1330945, + "lon": -82.348411667 + }, + "media": { + "caption": "", + "credit": "", + "url": "http://scontent-a.cdninstagram.com/hphotos-xpa1/t51.2885-15/1530649_1380194438909358_373922444_n.jpg" + }, + "text": { + "headline": "", + "text": "Doggie and puddle in Old Havana. #cubatravel #dogs #streetscene #cuba" + } + }, + { + "location": { + "image": "http://scontent-b.cdninstagram.com/hphotos-xfp1/t51.2885-15/1527682_687116191308478_1910102745_s.jpg", + "lat": 23.134252833, + "lon": -82.348853333 + }, + "media": { + "caption": "", + "credit": "", + "url": "http://scontent-b.cdninstagram.com/hphotos-xfp1/t51.2885-15/1527682_687116191308478_1910102745_n.jpg" + }, + "text": { + "headline": "", + "text": "Dominos in Cuba #travel #streetphotography #cuba" + } + }, + { + "location": { + "image": "http://scontent-b.cdninstagram.com/hphotos-xpa1/t51.2885-15/1168679_1414246825481685_578979506_s.jpg", + "lat": 23.134266667, + "lon": -82.348541667 + }, + "media": { + "caption": "", + "credit": "", + "url": "http://scontent-b.cdninstagram.com/hphotos-xpa1/t51.2885-15/1168679_1414246825481685_578979506_n.jpg" + }, + "text": { + "headline": "", + "text": "@prestonkanak playing dominos in the streets of Havana. #filmmakingfun" + } + }, + { + "location": { + "image": "http://scontent-a.cdninstagram.com/hphotos-xpa1/t51.2885-15/1739504_232906886882151_1047274749_s.jpg", + "lat": 42.592871667, + "lon": -82.382691667 + }, + "media": { + "caption": "", + "credit": "", + "url": "http://scontent-a.cdninstagram.com/hphotos-xpa1/t51.2885-15/1739504_232906886882151_1047274749_n.jpg" + }, + "text": { + "headline": "", + "text": "Cohen decided to throw and brake a frame today, but this kind of made up for it. #cutekids" + } + }, + { + "location": { + "image": "http://scontent-b.cdninstagram.com/hphotos-xpa1/t51.2885-15/1740866_608625579206474_1702064410_s.jpg", + "lat": 42.59278, + "lon": -82.382713333 + }, + "media": { + "caption": "", + "credit": "", + "url": "http://scontent-b.cdninstagram.com/hphotos-xpa1/t51.2885-15/1740866_608625579206474_1702064410_n.jpg" + }, + "text": { + "headline": "", + "text": "Upgrading a motor and doing a little maintenance on the octocopter tonight. #multirotor #uav #aerialcinema" + } + }, + { + "location": { + "image": "http://scontent-a.cdninstagram.com/hphotos-xaf1/outbound-distilleryimage0/t0.0-17/OBPTH/025f2ee2a63e11e383940ee0962af0a0_5.jpg", + "lat": 42.631043745, + "lon": -83.010021066 + }, + "media": { + "caption": "", + "credit": "", + "url": "http://scontent-a.cdninstagram.com/hphotos-xaf1/outbound-distilleryimage0/t0.0-17/OBPTH/025f2ee2a63e11e383940ee0962af0a0_8.jpg" + }, + "text": { + "headline": "", + "text": "Celebrating our friend @geraldmp 30th bday in Michigan and we found this little gem. #onlythirtyonce #bubleforever" + } + }, + { + "location": { + "image": "http://scontent-b.cdninstagram.com/hphotos-xfp1/t51.2885-15/1515918_627260440687327_262793878_s.jpg", + "lat": 53.329545, + "lon": -99.48098 + }, + "media": { + "caption": "", + "credit": "", + "url": "http://scontent-b.cdninstagram.com/hphotos-xfp1/t51.2885-15/1515918_627260440687327_262793878_n.jpg" + }, + "text": { + "headline": "", + "text": "Ice fishing with my little bro Manitoba #canadianwinter" + } + }, + { + "location": { + "image": "http://scontent-a.cdninstagram.com/hphotos-xpa1/t51.2885-15/1172000_277129682454356_22869590_s.jpg", + "lat": 43.641061667, + "lon": -79.355605 + }, + "media": { + "caption": "", + "credit": "", + "url": "http://scontent-a.cdninstagram.com/hphotos-xpa1/t51.2885-15/1172000_277129682454356_22869590_n.jpg" + }, + "text": { + "headline": "", + "text": "Shooting a few timelapses in T.O today. #timelapse #toronto" + } + }, + { + "location": { + "image": "http://scontent-a.cdninstagram.com/hphotos-xap1/t51.2885-15/10299879_246506868869711_1639932805_s.jpg", + "lat": 10.528556585, + "lon": -85.747198918 + }, + "media": { + "caption": "", + "credit": "", + "url": "http://scontent-a.cdninstagram.com/hphotos-xap1/t51.2885-15/10299879_246506868869711_1639932805_n.jpg" + }, + "text": { + "headline": "", + "text": "Shooting wedding photos from the ocean. #costarica #destinationwedding" + } + }, + { + "location": { + "image": "http://scontent-a.cdninstagram.com/hphotos-xfp1/t51.2885-15/10326523_634137619996430_433595486_s.jpg", + "lat": 42.593076198, + "lon": -82.38290426 + }, + "media": { + "caption": "", + "credit": "", + "url": "http://scontent-a.cdninstagram.com/hphotos-xfp1/t51.2885-15/10326523_634137619996430_433595486_n.jpg" + }, + "text": { + "headline": "", + "text": "Like a kid at Christmas at the studio today. #moviM5 #freeflysystems #multirotor #movi #cinematography" + } + }, + { + "location": { + "image": "http://scontent-a.cdninstagram.com/hphotos-xaf1/t51.2885-15/10362084_766317546735862_118229060_s.jpg", + "lat": 44.077297167, + "lon": -79.38745 + }, + "media": { + "caption": "", + "credit": "", + "url": "http://scontent-a.cdninstagram.com/hphotos-xaf1/t51.2885-15/10362084_766317546735862_118229060_n.jpg" + }, + "text": { + "headline": "", + "text": "Setting up for a day of filming #djiphantom #freeflysystems" + } + }, + { + "location": { + "image": "http://scontent-a.cdninstagram.com/hphotos-xpf1/t51.2885-15/10413281_1488153714754373_851054565_s.jpg", + "lat": 42.600045, + "lon": -82.383361667 + }, + "media": { + "caption": "", + "credit": "", + "url": "http://scontent-a.cdninstagram.com/hphotos-xpf1/t51.2885-15/10413281_1488153714754373_851054565_n.jpg" + }, + "text": { + "headline": "", + "text": "Happy Fathers Day! Nerd alert." + } + }, + { + "location": { + "image": "http://scontent-b.cdninstagram.com/hphotos-xaf1/t51.2885-15/915570_314169908749238_855405505_s.jpg", + "lat": 42.592877881, + "lon": -82.382504856 + }, + "media": { + "caption": "", + "credit": "", + "url": "http://scontent-b.cdninstagram.com/hphotos-xaf1/t51.2885-15/915570_314169908749238_855405505_n.jpg" + }, + "text": { + "headline": "", + "text": "Getting the Movi ready to head to the east coast for a project! #freeflysystems #movim5 #travel" + } + }, + { + "location": { + "image": "http://scontent-b.cdninstagram.com/hphotos-xap1/t51.2885-15/923670_315114831984676_13342280_s.jpg", + "lat": 44.492358333, + "lon": -63.91742 + }, + "media": { + "caption": "", + "credit": "", + "url": "http://scontent-b.cdninstagram.com/hphotos-xap1/t51.2885-15/923670_315114831984676_13342280_n.jpg" + }, + "text": { + "headline": "", + "text": "Almost lobster time! #eastcoastcanada #peggyscove" + } + }, + { + "location": { + "image": "http://scontent-b.cdninstagram.com/hphotos-xpa1/t51.2885-15/10369386_315046651992211_2107368657_s.jpg", + "lat": 44.492483333, + "lon": -63.918071667 + }, + "media": { + "caption": "", + "credit": "", + "url": "http://scontent-b.cdninstagram.com/hphotos-xpa1/t51.2885-15/10369386_315046651992211_2107368657_n.jpg" + }, + "text": { + "headline": "", + "text": "A foggy day at the Cove #halifax #easterncanada" + } + }, + { + "location": { + "image": "http://scontent-b.cdninstagram.com/hphotos-xpa1/t51.2885-15/10431874_327179514105607_749221344_s.jpg", + "lat": 44.515195, + "lon": -63.934803333 + }, + "media": { + "caption": "", + "credit": "", + "url": "http://scontent-b.cdninstagram.com/hphotos-xpa1/t51.2885-15/10431874_327179514105607_749221344_n.jpg" + }, + "text": { + "headline": "", + "text": "Sometimes you just have to be one of those people that instagrams their food. #novascotia" + } + }, + { + "location": { + "image": "http://scontent-a.cdninstagram.com/hphotos-xpf1/t51.2885-15/10547311_837231402956657_389819957_s.jpg", + "lat": 42.497261667, + "lon": -81.715233333 + }, + "media": { + "caption": "", + "credit": "", + "url": "http://scontent-a.cdninstagram.com/hphotos-xpf1/t51.2885-15/10547311_837231402956657_389819957_n.jpg" + }, + "text": { + "headline": "", + "text": "The copter going up for this mornings shoot. #ontag #aerialcinema #photography #s1000 #uav" + } + } + ] + }, + "width": 900 +} diff --git a/compiled/examples/instagram_mirandamulligan.json b/compiled/examples/instagram_mirandamulligan.json index 7d0b8c9d..daed3c7b 100644 --- a/compiled/examples/instagram_mirandamulligan.json +++ b/compiled/examples/instagram_mirandamulligan.json @@ -1 +1,341 @@ -{"width": 900, "storymap": {"slides": [{"text": {"headline": "mirandamulligan mirandamulligan", "text": ""}, "type": "overview", "media": {"url": "http://photos-a.ak.instagram.com/hphotos-ak-xpa1/10522238_811507668881440_970537186_a.jpg", "caption": "", "credit": ""}}, {"text": {"headline": "Yerba Buena Waterfall", "text": ""}, "location": {"lat": 37.781017288, "image": "http://scontent-b.cdninstagram.com/hphotos-xpa1/t51.2885-15/10517989_497825043696493_1643487541_s.jpg", "lon": -122.400590253}, "media": {"url": "http://scontent-b.cdninstagram.com/hphotos-xpa1/t51.2885-15/10517989_497825043696493_1643487541_n.jpg", "caption": "", "credit": ""}}, {"text": {"headline": "222 octavia st", "text": "San Francisco 2014"}, "location": {"lat": 37.773873434, "image": "http://scontent-b.cdninstagram.com/hphotos-xap1/t51.2885-15/10520322_795270860503303_535983270_s.jpg", "lon": -122.424472673}, "media": {"url": "http://scontent-b.cdninstagram.com/hphotos-xap1/t51.2885-15/10520322_795270860503303_535983270_n.jpg", "caption": "", "credit": ""}}, {"text": {"headline": "", "text": ""}, "location": {"lat": 41.978576616, "image": "http://scontent-b.cdninstagram.com/hphotos-xap1/t51.2885-15/10508007_689510424417873_1015501336_s.jpg", "lon": -87.898976582}, "media": {"url": "http://scontent-b.cdninstagram.com/hphotos-xap1/t51.2885-15/10508007_689510424417873_1015501336_n.jpg", "caption": "", "credit": ""}}, {"text": {"headline": "", "text": "#leeloudallasthedog"}, "location": {"lat": 41.917161667, "image": "http://scontent-a.cdninstagram.com/hphotos-xpa1/t51.2885-15/10514101_1508022582749704_28368454_s.jpg", "lon": -87.649253333}, "media": {"url": "http://scontent-a.cdninstagram.com/hphotos-xpa1/t51.2885-15/10514101_1508022582749704_28368454_n.jpg", "caption": "", "credit": ""}}, {"text": {"headline": "Parson's Chicken & Fish", "text": "Happy Fourth y'all"}, "location": {"lat": 41.917807888, "image": "http://scontent-a.cdninstagram.com/hphotos-xap1/t51.2885-15/10508067_878178198877688_315074171_s.jpg", "lon": -87.701303006}, "media": {"url": "http://scontent-a.cdninstagram.com/hphotos-xap1/t51.2885-15/10508067_878178198877688_315074171_n.jpg", "caption": "", "credit": ""}}, {"text": {"headline": "", "text": ""}, "location": {"lat": 41.91757, "image": "http://scontent-a.cdninstagram.com/hphotos-xpf1/t51.2885-15/10488739_323950774448855_470767806_s.jpg", "lon": -87.700005}, "media": {"url": "http://scontent-a.cdninstagram.com/hphotos-xpf1/t51.2885-15/10488739_323950774448855_470767806_n.jpg", "caption": "", "credit": ""}}, {"text": {"headline": "", "text": "Is that @cmully34 or @mullimonster in the background?! #leeloudallasthedog"}, "location": {"lat": 41.917221598, "image": "http://scontent-b.cdninstagram.com/hphotos-xpa1/t51.2885-15/926218_412146218927905_1250766222_s.jpg", "lon": -87.649259455}, "media": {"url": "http://scontent-b.cdninstagram.com/hphotos-xpa1/t51.2885-15/926218_412146218927905_1250766222_n.jpg", "caption": "", "credit": ""}}, {"text": {"headline": "", "text": "#leeloudallasthedog is just a smidge cold after getting stuck in the rain"}, "location": {"lat": 41.917238333, "image": "http://scontent-b.cdninstagram.com/hphotos-xpa1/t51.2885-15/10514093_1443591972583628_1098068680_s.jpg", "lon": -87.649345}, "media": {"url": "http://scontent-b.cdninstagram.com/hphotos-xpa1/t51.2885-15/10514093_1443591972583628_1098068680_n.jpg", "caption": "", "credit": ""}}, {"text": {"headline": "Oz Park", "text": "Ya shoes are lookin\u2019 extra red this a.m., lady."}, "location": {"lat": 41.921600288, "image": "http://scontent-b.cdninstagram.com/hphotos-xap1/t51.2885-15/10483416_263480513860841_2007831758_s.jpg", "lon": -87.64570217}, "media": {"url": "http://scontent-b.cdninstagram.com/hphotos-xap1/t51.2885-15/10483416_263480513860841_2007831758_n.jpg", "caption": "", "credit": ""}}, {"text": {"headline": "Alfred Caldwell Lily Pool", "text": "lily pool"}, "location": {"lat": 41.925125445, "image": "http://scontent-a.cdninstagram.com/hphotos-xap1/t51.2885-15/924435_309573859205457_1352906932_s.jpg", "lon": -87.634189307}, "media": {"url": "http://scontent-a.cdninstagram.com/hphotos-xap1/t51.2885-15/924435_309573859205457_1352906932_n.jpg", "caption": "", "credit": ""}}, {"text": {"headline": "Lakefront Trail - Lincoln Park at Fullerton", "text": "Morning"}, "location": {"lat": 41.926320383, "image": "http://scontent-b.cdninstagram.com/hphotos-xaf1/t51.2885-15/10499298_410453862428707_962074942_s.jpg", "lon": -87.630208301}, "media": {"url": "http://scontent-b.cdninstagram.com/hphotos-xaf1/t51.2885-15/10499298_410453862428707_962074942_n.jpg", "caption": "", "credit": ""}}, {"text": {"headline": "Lake Front Running Path @ Belmont", "text": ""}, "location": {"lat": 41.941365806, "image": "http://scontent-b.cdninstagram.com/hphotos-xaf1/t51.2885-15/10483540_715755615149706_905565463_s.jpg", "lon": -87.650224483}, "media": {"url": "http://scontent-b.cdninstagram.com/hphotos-xaf1/t51.2885-15/10483540_715755615149706_905565463_n.jpg", "caption": "", "credit": ""}}, {"text": {"headline": "Belmont Harbor", "text": "Morning outtakes"}, "location": {"lat": 41.940057202, "image": "http://scontent-a.cdninstagram.com/hphotos-xfp1/t51.2885-15/10560925_294595430726124_1706110621_s.jpg", "lon": -87.63708904}, "media": {"url": "http://scontent-a.cdninstagram.com/hphotos-xfp1/t51.2885-15/10560925_294595430726124_1706110621_n.jpg", "caption": "", "credit": ""}}, {"text": {"headline": "Deer Park Trail", "text": "Short hike peak view"}, "location": {"lat": 37.97534154, "image": "http://scontent-b.cdninstagram.com/hphotos-xpa1/t51.2885-15/10514114_716075895126425_365340248_s.jpg", "lon": -122.589318406}, "media": {"url": "http://scontent-b.cdninstagram.com/hphotos-xpa1/t51.2885-15/10514114_716075895126425_365340248_n.jpg", "caption": "", "credit": ""}}, {"text": {"headline": "Sea Gull Inn Bed and Breakfast", "text": "So sweet, borderline saccharine"}, "location": {"lat": 39.306007403, "image": "http://scontent-b.cdninstagram.com/hphotos-xfp1/t51.2885-15/10514035_553067088149362_851487293_s.jpg", "lon": -123.797880375}, "media": {"url": "http://scontent-b.cdninstagram.com/hphotos-xfp1/t51.2885-15/10514035_553067088149362_851487293_n.jpg", "caption": "", "credit": ""}}, {"text": {"headline": "Spring Ranch", "text": "#karajessemendotime"}, "location": {"lat": 39.282959, "image": "http://scontent-b.cdninstagram.com/hphotos-xfp1/t51.2885-15/10561147_761889713861494_2003031265_s.jpg", "lon": -123.791603}, "media": {"url": "http://scontent-b.cdninstagram.com/hphotos-xfp1/t51.2885-15/10561147_761889713861494_2003031265_n.jpg", "caption": "", "credit": ""}}, {"text": {"headline": "Spring Ranch", "text": "#karajessemendotime"}, "location": {"lat": 39.282959, "image": "http://scontent-a.cdninstagram.com/hphotos-xap1/t51.2885-15/10507938_795075203860320_789793275_s.jpg", "lon": -123.791603}, "media": {"url": "http://scontent-a.cdninstagram.com/hphotos-xap1/t51.2885-15/10507938_795075203860320_789793275_n.jpg", "caption": "", "credit": ""}}, {"text": {"headline": "Big River Beach", "text": "Hike action"}, "location": {"lat": 39.302760107, "image": "http://scontent-b.cdninstagram.com/hphotos-xpf1/t51.2885-15/10537273_545706215535825_1036617790_s.jpg", "lon": -123.791339094}, "media": {"url": "http://scontent-b.cdninstagram.com/hphotos-xpf1/t51.2885-15/10537273_545706215535825_1036617790_n.jpg", "caption": "", "credit": ""}}, {"text": {"headline": "San Francisco Bay Area", "text": "Bye. See you."}, "location": {"lat": 37.671685901, "image": "http://scontent-b.cdninstagram.com/hphotos-xap1/t51.2885-15/10499040_1502063633339094_2032097703_s.jpg", "lon": -122.391132736}, "media": {"url": "http://scontent-b.cdninstagram.com/hphotos-xap1/t51.2885-15/10499040_1502063633339094_2032097703_n.jpg", "caption": "", "credit": ""}}, {"text": {"headline": "Holly's Ocean Bluff", "text": "Cool accidental outtake"}, "location": {"lat": 39.409918, "image": "http://scontent-b.cdninstagram.com/hphotos-xfa1/t51.2885-15/10560982_1454058114845693_158419081_s.jpg", "lon": -123.810356}, "media": {"url": "http://scontent-b.cdninstagram.com/hphotos-xfa1/t51.2885-15/10560982_1454058114845693_158419081_n.jpg", "caption": "", "credit": ""}}], "map_as_image": false}, "height": 650} \ No newline at end of file +{ + "height": 650, + "storymap": { + "map_as_image": false, + "slides": [ + { + "media": { + "caption": "", + "credit": "", + "url": "http://photos-a.ak.instagram.com/hphotos-ak-xpa1/10522238_811507668881440_970537186_a.jpg?instagramprofile" + }, + "text": { + "headline": "mirandamulligan mirandamulligan", + "text": "" + }, + "type": "overview" + }, + { + "location": { + "image": "http://scontent-b.cdninstagram.com/hphotos-xpa1/t51.2885-15/10517989_497825043696493_1643487541_s.jpg", + "lat": 37.781017288, + "lon": -122.400590253 + }, + "media": { + "caption": "", + "credit": "", + "url": "http://scontent-b.cdninstagram.com/hphotos-xpa1/t51.2885-15/10517989_497825043696493_1643487541_n.jpg" + }, + "text": { + "headline": "Yerba Buena Waterfall", + "text": "" + } + }, + { + "location": { + "image": "http://scontent-b.cdninstagram.com/hphotos-xap1/t51.2885-15/10520322_795270860503303_535983270_s.jpg", + "lat": 37.773873434, + "lon": -122.424472673 + }, + "media": { + "caption": "", + "credit": "", + "url": "http://scontent-b.cdninstagram.com/hphotos-xap1/t51.2885-15/10520322_795270860503303_535983270_n.jpg" + }, + "text": { + "headline": "222 octavia st", + "text": "San Francisco 2014" + } + }, + { + "location": { + "image": "http://scontent-b.cdninstagram.com/hphotos-xap1/t51.2885-15/10508007_689510424417873_1015501336_s.jpg", + "lat": 41.978576616, + "lon": -87.898976582 + }, + "media": { + "caption": "", + "credit": "", + "url": "http://scontent-b.cdninstagram.com/hphotos-xap1/t51.2885-15/10508007_689510424417873_1015501336_n.jpg" + }, + "text": { + "headline": "", + "text": "" + } + }, + { + "location": { + "image": "http://scontent-a.cdninstagram.com/hphotos-xpa1/t51.2885-15/10514101_1508022582749704_28368454_s.jpg", + "lat": 41.917161667, + "lon": -87.649253333 + }, + "media": { + "caption": "", + "credit": "", + "url": "http://scontent-a.cdninstagram.com/hphotos-xpa1/t51.2885-15/10514101_1508022582749704_28368454_n.jpg" + }, + "text": { + "headline": "", + "text": "#leeloudallasthedog" + } + }, + { + "location": { + "image": "http://scontent-a.cdninstagram.com/hphotos-xap1/t51.2885-15/10508067_878178198877688_315074171_s.jpg", + "lat": 41.917807888, + "lon": -87.701303006 + }, + "media": { + "caption": "", + "credit": "", + "url": "http://scontent-a.cdninstagram.com/hphotos-xap1/t51.2885-15/10508067_878178198877688_315074171_n.jpg" + }, + "text": { + "headline": "Parson's Chicken & Fish", + "text": "Happy Fourth y'all" + } + }, + { + "location": { + "image": "http://scontent-a.cdninstagram.com/hphotos-xpf1/t51.2885-15/10488739_323950774448855_470767806_s.jpg", + "lat": 41.91757, + "lon": -87.700005 + }, + "media": { + "caption": "", + "credit": "", + "url": "http://scontent-a.cdninstagram.com/hphotos-xpf1/t51.2885-15/10488739_323950774448855_470767806_n.jpg" + }, + "text": { + "headline": "", + "text": "" + } + }, + { + "location": { + "image": "http://scontent-b.cdninstagram.com/hphotos-xpa1/t51.2885-15/926218_412146218927905_1250766222_s.jpg", + "lat": 41.917221598, + "lon": -87.649259455 + }, + "media": { + "caption": "", + "credit": "", + "url": "http://scontent-b.cdninstagram.com/hphotos-xpa1/t51.2885-15/926218_412146218927905_1250766222_n.jpg" + }, + "text": { + "headline": "", + "text": "Is that @cmully34 or @mullimonster in the background?! #leeloudallasthedog" + } + }, + { + "location": { + "image": "http://scontent-b.cdninstagram.com/hphotos-xpa1/t51.2885-15/10514093_1443591972583628_1098068680_s.jpg", + "lat": 41.917238333, + "lon": -87.649345 + }, + "media": { + "caption": "", + "credit": "", + "url": "http://scontent-b.cdninstagram.com/hphotos-xpa1/t51.2885-15/10514093_1443591972583628_1098068680_n.jpg" + }, + "text": { + "headline": "", + "text": "#leeloudallasthedog is just a smidge cold after getting stuck in the rain" + } + }, + { + "location": { + "image": "http://scontent-b.cdninstagram.com/hphotos-xap1/t51.2885-15/10483416_263480513860841_2007831758_s.jpg", + "lat": 41.921600288, + "lon": -87.64570217 + }, + "media": { + "caption": "", + "credit": "", + "url": "http://scontent-b.cdninstagram.com/hphotos-xap1/t51.2885-15/10483416_263480513860841_2007831758_n.jpg" + }, + "text": { + "headline": "Oz Park", + "text": "Ya shoes are lookin\u2019 extra red this a.m., lady." + } + }, + { + "location": { + "image": "http://scontent-a.cdninstagram.com/hphotos-xap1/t51.2885-15/924435_309573859205457_1352906932_s.jpg", + "lat": 41.925125445, + "lon": -87.634189307 + }, + "media": { + "caption": "", + "credit": "", + "url": "http://scontent-a.cdninstagram.com/hphotos-xap1/t51.2885-15/924435_309573859205457_1352906932_n.jpg" + }, + "text": { + "headline": "Alfred Caldwell Lily Pool", + "text": "lily pool" + } + }, + { + "location": { + "image": "http://scontent-b.cdninstagram.com/hphotos-xaf1/t51.2885-15/10499298_410453862428707_962074942_s.jpg", + "lat": 41.926320383, + "lon": -87.630208301 + }, + "media": { + "caption": "", + "credit": "", + "url": "http://scontent-b.cdninstagram.com/hphotos-xaf1/t51.2885-15/10499298_410453862428707_962074942_n.jpg" + }, + "text": { + "headline": "Lakefront Trail - Lincoln Park at Fullerton", + "text": "Morning" + } + }, + { + "location": { + "image": "http://scontent-b.cdninstagram.com/hphotos-xaf1/t51.2885-15/10483540_715755615149706_905565463_s.jpg", + "lat": 41.941365806, + "lon": -87.650224483 + }, + "media": { + "caption": "", + "credit": "", + "url": "http://scontent-b.cdninstagram.com/hphotos-xaf1/t51.2885-15/10483540_715755615149706_905565463_n.jpg" + }, + "text": { + "headline": "Lake Front Running Path @ Belmont", + "text": "" + } + }, + { + "location": { + "image": "http://scontent-a.cdninstagram.com/hphotos-xfp1/t51.2885-15/10560925_294595430726124_1706110621_s.jpg", + "lat": 41.940057202, + "lon": -87.63708904 + }, + "media": { + "caption": "", + "credit": "", + "url": "http://scontent-a.cdninstagram.com/hphotos-xfp1/t51.2885-15/10560925_294595430726124_1706110621_n.jpg" + }, + "text": { + "headline": "Belmont Harbor", + "text": "Morning outtakes" + } + }, + { + "location": { + "image": "http://scontent-b.cdninstagram.com/hphotos-xpa1/t51.2885-15/10514114_716075895126425_365340248_s.jpg", + "lat": 37.97534154, + "lon": -122.589318406 + }, + "media": { + "caption": "", + "credit": "", + "url": "http://scontent-b.cdninstagram.com/hphotos-xpa1/t51.2885-15/10514114_716075895126425_365340248_n.jpg" + }, + "text": { + "headline": "Deer Park Trail", + "text": "Short hike peak view" + } + }, + { + "location": { + "image": "http://scontent-b.cdninstagram.com/hphotos-xfp1/t51.2885-15/10514035_553067088149362_851487293_s.jpg", + "lat": 39.306007403, + "lon": -123.797880375 + }, + "media": { + "caption": "", + "credit": "", + "url": "http://scontent-b.cdninstagram.com/hphotos-xfp1/t51.2885-15/10514035_553067088149362_851487293_n.jpg" + }, + "text": { + "headline": "Sea Gull Inn Bed and Breakfast", + "text": "So sweet, borderline saccharine" + } + }, + { + "location": { + "image": "http://scontent-b.cdninstagram.com/hphotos-xfp1/t51.2885-15/10561147_761889713861494_2003031265_s.jpg", + "lat": 39.282959, + "lon": -123.791603 + }, + "media": { + "caption": "", + "credit": "", + "url": "http://scontent-b.cdninstagram.com/hphotos-xfp1/t51.2885-15/10561147_761889713861494_2003031265_n.jpg" + }, + "text": { + "headline": "Spring Ranch", + "text": "#karajessemendotime" + } + }, + { + "location": { + "image": "http://scontent-a.cdninstagram.com/hphotos-xap1/t51.2885-15/10507938_795075203860320_789793275_s.jpg", + "lat": 39.282959, + "lon": -123.791603 + }, + "media": { + "caption": "", + "credit": "", + "url": "http://scontent-a.cdninstagram.com/hphotos-xap1/t51.2885-15/10507938_795075203860320_789793275_n.jpg" + }, + "text": { + "headline": "Spring Ranch", + "text": "#karajessemendotime" + } + }, + { + "location": { + "image": "http://scontent-b.cdninstagram.com/hphotos-xpf1/t51.2885-15/10537273_545706215535825_1036617790_s.jpg", + "lat": 39.302760107, + "lon": -123.791339094 + }, + "media": { + "caption": "", + "credit": "", + "url": "http://scontent-b.cdninstagram.com/hphotos-xpf1/t51.2885-15/10537273_545706215535825_1036617790_n.jpg" + }, + "text": { + "headline": "Big River Beach", + "text": "Hike action" + } + }, + { + "location": { + "image": "http://scontent-b.cdninstagram.com/hphotos-xap1/t51.2885-15/10499040_1502063633339094_2032097703_s.jpg", + "lat": 37.671685901, + "lon": -122.391132736 + }, + "media": { + "caption": "", + "credit": "", + "url": "http://scontent-b.cdninstagram.com/hphotos-xap1/t51.2885-15/10499040_1502063633339094_2032097703_n.jpg" + }, + "text": { + "headline": "San Francisco Bay Area", + "text": "Bye. See you." + } + }, + { + "location": { + "image": "http://scontent-b.cdninstagram.com/hphotos-xfa1/t51.2885-15/10560982_1454058114845693_158419081_s.jpg", + "lat": 39.409918, + "lon": -123.810356 + }, + "media": { + "caption": "", + "credit": "", + "url": "http://scontent-b.cdninstagram.com/hphotos-xfa1/t51.2885-15/10560982_1454058114845693_158419081_n.jpg" + }, + "text": { + "headline": "Holly's Ocean Bluff", + "text": "Cool accidental outtake" + } + } + ] + }, + "width": 900 +} diff --git a/compiled/js/storymap-min.js b/compiled/js/storymap-min.js index a55122ef..8ff34a09 100644 --- a/compiled/js/storymap-min.js +++ b/compiled/js/storymap-min.js @@ -1,8 +1,8 @@ !function(t){t.VCO={VERSION:"0.1",_originalL:t.VCO}}(this),VCO.debug=!0,VCO.Bind=function(t,e){return function(){return t.apply(e,arguments)}},trace=function(t){VCO.debug&&(window.console?console.log(t):"undefined"!=typeof jsTrace&&jsTrace.send(t))},VCO.Util={extend:function(t){for(var e=Array.prototype.slice.call(arguments,1),i=0,n=e.length,o;n>i;i++){o=e[i]||{};for(var s in o)o.hasOwnProperty(s)&&(t[s]=o[s])}return t},setOptions:function(t,e){t.options=VCO.Util.extend({},t.options,e),""===t.options.uniqueid&&(t.options.uniqueid=VCO.Util.unique_ID(6))},setData:function(t,e){t.data=VCO.Util.extend({},t.data,e),""===t.data.uniqueid&&(t.data.uniqueid=VCO.Util.unique_ID(6))},mergeData:function(t,e){var i;for(i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},stamp:function(){var t=0,e="_vco_id";return function(i){return i[e]=i[e]||++t,i[e]}}(),isArray:function(){if(Array.isArray)return Array.isArray;var t=Object.prototype.toString,e=t.call([]);return function(i){return t.call(i)===e}}(),unique_ID:function(t,e){var i=function(t){return Math.floor(Math.random()*t)},n=function(){var t="abcdefghijklmnopqurstuvwxyz";return t.substr(i(32),1)},o=function(t){for(var e="",i=0;t>i;i++)e+=n();return e};return e?e+"-"+o(t):"vco-"+o(t)},htmlify:function(t){return t.match(/<\s*p[^>]*>([^<]*)<\s*\/\s*p\s*>/)?t:"

"+t+"

"},getParamString:function(t){var e=[];for(var i in t)t.hasOwnProperty(i)&&e.push(i+"="+t[i]);return"?"+e.join("&")},formatNum:function(t,e){var i=Math.pow(10,e||5);return Math.round(t*i)/i},falseFn:function(){return!1},requestAnimFrame:function(){function t(t){window.setTimeout(t,1e3/60)}var e=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||t;return function(i,n,o,s){i=n?VCO.Util.bind(i,n):i,o&&e===t?i():e(i,s)}}(),bind:function(t,e){return function(){return t.apply(e,arguments)}},template:function(t,e){return t.replace(/\{ *([\w_]+) *\}/g,function(t,i){var n=e[i];if(!e.hasOwnProperty(i))throw new Error("No value provided for variable "+t);return n})},hexToRgb:function(t){var e=/^#?([a-f\d])([a-f\d])([a-f\d])$/i;t=t.replace(e,function(t,e,i,n){return e+e+i+i+n+n});var i=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);return i?{r:parseInt(i[1],16),g:parseInt(i[2],16),b:parseInt(i[3],16)}:null},ratio:{square:function(t){var e={w:0,h:0};return t.w>t.h&&t.h>0?(e.h=t.h,e.w=t.h):(e.w=t.w,e.h=t.w),e},r16_9:function(t){return null!==t.w&&""!==t.w?Math.round(t.w/16*9):null!==t.h&&""!==t.h?Math.round(t.h/9*16):0},r4_3:function(t){return null!==t.w&&""!==t.w?Math.round(t.w/4*3):null!==t.h&&""!==t.h?Math.round(t.h/3*4):void 0}},getObjectAttributeByIndex:function(t,e){if("undefined"!=typeof t){var i=0;for(var n in t){if(e===i)return t[n];i++}return""}return""},getUrlVars:function(t){var e,i=[],n,o;e=t.toString(),e.match("&")?e=e.replace("&","&"):e.match("&")?e=e.replace("&","&"):e.match("&")&&(e=e.replace("&","&")),o=e.slice(e.indexOf("?")+1).split("&");for(var s=0;s0?$.fn.concat.apply([],t):t}function l(t){return t.replace(/::/g,"/").replace(/([A-Z]+)([A-Z][a-z])/g,"$1_$2").replace(/([a-z\d])([A-Z])/g,"$1_$2").replace(/_/g,"-").toLowerCase()}function c(t){return t in k?k[t]:k[t]=new RegExp("(^|\\s)"+t+"(\\s|$)")}function u(t,e){return"number"!=typeof e||P[l(t)]?e:e+"px"}function d(t){var e,i;return D[t]||(e=T.createElement(t),T.body.appendChild(e),i=getComputedStyle(e,"").getPropertyValue("display"),e.parentNode.removeChild(e),"none"==i&&(i="block"),D[t]=i),D[t]}function m(t){return"children"in t?M.call(t.children):$.map(t.childNodes,function(t){return 1==t.nodeType?t:void 0})}function p(t,e,i){for(x in e)i&&(s(e[x])||Q(e[x]))?(s(e[x])&&!s(t[x])&&(t[x]={}),Q(e[x])&&!Q(t[x])&&(t[x]=[]),p(t[x],e[x],i)):e[x]!==w&&(t[x]=e[x])}function _(t,e){return null==e?$(t):$(t).filter(e)}function f(t,i,n,o){return e(i)?i.call(t,n,o):i}function g(t,e,i){null==i?t.removeAttribute(e):t.setAttribute(e,i)}function v(t,e){var i=t.className,n=i&&i.baseVal!==w;return e===w?n?i.baseVal:i:void(n?i.baseVal=e:t.className=e)}function y(t){var e;try{return t?"true"==t||("false"==t?!1:"null"==t?null:/^0/.test(t)||isNaN(e=Number(t))?/^[\[\{]/.test(t)?$.parseJSON(t):t:e):t}catch(i){return t}}function L(t,e){e(t);for(var i in t.childNodes)L(t.childNodes[i],e)}var w,x,$,b,C=[],M=C.slice,O=C.filter,T=window.document,D={},k={},P={"column-count":1,columns:1,"font-weight":1,"line-height":1,opacity:1,"z-index":1,zoom:1},E=/^\s*<(\w+|!)[^>]*>/,S=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,V=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,z=/^(?:body|html)$/i,A=/([A-Z])/g,B=["val","css","html","text","data","width","height","offset"],I=["after","prepend","before","append"],U=T.createElement("table"),N=T.createElement("tr"),Z={tr:T.createElement("tbody"),tbody:U,thead:U,tfoot:U,td:N,th:N,"*":T.createElement("div")},R=/complete|loaded|interactive/,j=/^\.([\w-]+)$/,F=/^#([\w-]*)$/,H=/^[\w-]*$/,W={},q=W.toString,G={},X,Y,J=T.createElement("div"),K={tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},Q=Array.isArray||function(t){return t instanceof Array};return G.matches=function(t,e){if(!e||!t||1!==t.nodeType)return!1;var i=t.webkitMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.matchesSelector;if(i)return i.call(t,e);var n,o=t.parentNode,s=!o;return s&&(o=J).appendChild(t),n=~G.qsa(o,e).indexOf(t),s&&J.removeChild(t),n},X=function(t){return t.replace(/-+(.)?/g,function(t,e){return e?e.toUpperCase():""})},Y=function(t){return O.call(t,function(e,i){return t.indexOf(e)==i})},G.fragment=function(t,e,i){var n,o,a;return S.test(t)&&(n=$(T.createElement(RegExp.$1))),n||(t.replace&&(t=t.replace(V,"<$1>")),e===w&&(e=E.test(t)&&RegExp.$1),e in Z||(e="*"),a=Z[e],a.innerHTML=""+t,n=$.each(M.call(a.childNodes),function(){a.removeChild(this)})),s(i)&&(o=$(n),$.each(i,function(t,e){B.indexOf(t)>-1?o[t](e):o.attr(t,e)})),n},G.Z=function(t,e){return t=t||[],t.__proto__=$.fn,t.selector=e||"",t},G.isZ=function(t){return t instanceof G.Z},G.init=function(t,i){var n;if(!t)return G.Z();if("string"==typeof t)if(t=t.trim(),"<"==t[0]&&E.test(t))n=G.fragment(t,RegExp.$1,i),t=null;else{if(i!==w)return $(i).find(t);n=G.qsa(T,t)}else{if(e(t))return $(T).ready(t);if(G.isZ(t))return t;if(Q(t))n=r(t);else if(o(t))n=[t],t=null;else if(E.test(t))n=G.fragment(t.trim(),RegExp.$1,i),t=null;else{if(i!==w)return $(i).find(t);n=G.qsa(T,t)}}return G.Z(n,t)},$=function(t,e){return G.init(t,e)},$.extend=function(t){var e,i=M.call(arguments,1);return"boolean"==typeof t&&(e=t,t=i.shift()),i.forEach(function(i){p(t,i,e)}),t},G.qsa=function(t,e){var i,o="#"==e[0],s=!o&&"."==e[0],a=o||s?e.slice(1):e,r=H.test(a);return n(t)&&r&&o?(i=t.getElementById(a))?[i]:[]:1!==t.nodeType&&9!==t.nodeType?[]:M.call(r&&!o?s?t.getElementsByClassName(a):t.getElementsByTagName(e):t.querySelectorAll(e))},$.contains=function(t,e){return t!==e&&t.contains(e)},$.type=t,$.isFunction=e,$.isWindow=i,$.isArray=Q,$.isPlainObject=s,$.isEmptyObject=function(t){var e;for(e in t)return!1;return!0},$.inArray=function(t,e,i){return C.indexOf.call(e,t,i)},$.camelCase=X,$.trim=function(t){return null==t?"":String.prototype.trim.call(t)},$.uuid=0,$.support={},$.expr={},$.map=function(t,e){var i,n=[],o,s;if(a(t))for(o=0;o=0?t:t+this.length]},toArray:function(){return this.get()},size:function(){return this.length},remove:function(){return this.each(function(){null!=this.parentNode&&this.parentNode.removeChild(this)})},each:function(t){return C.every.call(this,function(e,i){return t.call(e,i,e)!==!1}),this},filter:function(t){return e(t)?this.not(this.not(t)):$(O.call(this,function(e){return G.matches(e,t)}))},add:function(t,e){return $(Y(this.concat($(t,e))))},is:function(t){return this.length>0&&G.matches(this[0],t)},not:function(t){var i=[];if(e(t)&&t.call!==w)this.each(function(e){t.call(this,e)||i.push(this)});else{var n="string"==typeof t?this.filter(t):a(t)&&e(t.item)?M.call(t):$(t);this.forEach(function(t){n.indexOf(t)<0&&i.push(t)})}return $(i)},has:function(t){return this.filter(function(){return o(t)?$.contains(this,t):$(this).find(t).size()})},eq:function(t){return-1===t?this.slice(t):this.slice(t,+t+1)},first:function(){var t=this[0];return t&&!o(t)?t:$(t)},last:function(){var t=this[this.length-1];return t&&!o(t)?t:$(t)},find:function(t){var e,i=this;return e="object"==typeof t?$(t).filter(function(){var t=this;return C.some.call(i,function(e){return $.contains(e,t)})}):1==this.length?$(G.qsa(this[0],t)):this.map(function(){return G.qsa(this,t)})},closest:function(t,e){var i=this[0],o=!1;for("object"==typeof t&&(o=$(t));i&&!(o?o.indexOf(i)>=0:G.matches(i,t));)i=i!==e&&!n(i)&&i.parentNode;return $(i)},parents:function(t){for(var e=[],i=this;i.length>0;)i=$.map(i,function(t){return(t=t.parentNode)&&!n(t)&&e.indexOf(t)<0?(e.push(t),t):void 0});return _(e,t)},parent:function(t){return _(Y(this.pluck("parentNode")),t)},children:function(t){return _(this.map(function(){return m(this)}),t)},contents:function(){return this.map(function(){return M.call(this.childNodes)})},siblings:function(t){return _(this.map(function(t,e){return O.call(m(e.parentNode),function(t){return t!==e})}),t)},empty:function(){return this.each(function(){this.innerHTML=""})},pluck:function(t){return $.map(this,function(e){return e[t]})},show:function(){return this.each(function(){"none"==this.style.display&&(this.style.display=""),"none"==getComputedStyle(this,"").getPropertyValue("display")&&(this.style.display=d(this.nodeName))})},replaceWith:function(t){return this.before(t).remove()},wrap:function(t){var i=e(t);if(this[0]&&!i)var n=$(t).get(0),o=n.parentNode||this.length>1;return this.each(function(e){$(this).wrapAll(i?t.call(this,e):o?n.cloneNode(!0):n)})},wrapAll:function(t){if(this[0]){$(this[0]).before(t=$(t));for(var e;(e=t.children()).length;)t=e.first();$(t).append(this)}return this},wrapInner:function(t){var i=e(t);return this.each(function(e){var n=$(this),o=n.contents(),s=i?t.call(this,e):t;o.length?o.wrapAll(s):n.append(s)})},unwrap:function(){return this.parent().each(function(){$(this).replaceWith($(this).children())}),this},clone:function(){return this.map(function(){return this.cloneNode(!0)})},hide:function(){return this.css("display","none")},toggle:function(t){return this.each(function(){var e=$(this);(t===w?"none"==e.css("display"):t)?e.show():e.hide()})},prev:function(t){return $(this.pluck("previousElementSibling")).filter(t||"*")},next:function(t){return $(this.pluck("nextElementSibling")).filter(t||"*")},html:function(t){return 0===arguments.length?this.length>0?this[0].innerHTML:null:this.each(function(e){var i=this.innerHTML;$(this).empty().append(f(this,t,e,i))})},text:function(t){return 0===arguments.length?this.length>0?this[0].textContent:null:this.each(function(){this.textContent=t===w?"":""+t})},attr:function(t,e){var i;return"string"==typeof t&&e===w?0==this.length||1!==this[0].nodeType?w:"value"==t&&"INPUT"==this[0].nodeName?this.val():!(i=this[0].getAttribute(t))&&t in this[0]?this[0][t]:i:this.each(function(i){if(1===this.nodeType)if(o(t))for(x in t)g(this,x,t[x]);else g(this,t,f(this,e,i,this.getAttribute(t)))})},removeAttr:function(t){return this.each(function(){1===this.nodeType&&g(this,t)})},prop:function(t,e){return t=K[t]||t,e===w?this[0]&&this[0][t]:this.each(function(i){this[t]=f(this,e,i,this[t])})},data:function(t,e){var i=this.attr("data-"+t.replace(A,"-$1").toLowerCase(),e);return null!==i?y(i):w},val:function(t){return 0===arguments.length?this[0]&&(this[0].multiple?$(this[0]).find("option").filter(function(){return this.selected}).pluck("value"):this[0].value):this.each(function(e){this.value=f(this,t,e,this.value)})},offset:function(t){if(t)return this.each(function(e){var i=$(this),n=f(this,t,e,i.offset()),o=i.offsetParent().offset(),s={top:n.top-o.top,left:n.left-o.left};"static"==i.css("position")&&(s.position="relative"),i.css(s)});if(0==this.length)return null;var e=this[0].getBoundingClientRect();return{left:e.left+window.pageXOffset,top:e.top+window.pageYOffset,width:Math.round(e.width),height:Math.round(e.height)}},css:function(e,i){if(arguments.length<2){var n=this[0],o=getComputedStyle(n,"");if(!n)return;if("string"==typeof e)return n.style[X(e)]||o.getPropertyValue(e);if(Q(e)){var s={};return $.each(Q(e)?e:[e],function(t,e){s[e]=n.style[X(e)]||o.getPropertyValue(e)}),s}}var a="";if("string"==t(e))i||0===i?a=l(e)+":"+u(e,i):this.each(function(){this.style.removeProperty(l(e))});else for(x in e)e[x]||0===e[x]?a+=l(x)+":"+u(x,e[x])+";":this.each(function(){this.style.removeProperty(l(x))});return this.each(function(){this.style.cssText+=";"+a})},index:function(t){return t?this.indexOf($(t)[0]):this.parent().children().indexOf(this[0])},hasClass:function(t){return t?C.some.call(this,function(t){return this.test(v(t))},c(t)):!1},addClass:function(t){return t?this.each(function(e){b=[];var i=v(this),n=f(this,t,e,i);n.split(/\s+/g).forEach(function(t){$(this).hasClass(t)||b.push(t)},this),b.length&&v(this,i+(i?" ":"")+b.join(" "))}):this},removeClass:function(t){return this.each(function(e){return t===w?v(this,""):(b=v(this),f(this,t,e,b).split(/\s+/g).forEach(function(t){b=b.replace(c(t)," ")}),void v(this,b.trim()))})},toggleClass:function(t,e){return t?this.each(function(i){var n=$(this),o=f(this,t,i,v(this));o.split(/\s+/g).forEach(function(t){(e===w?!n.hasClass(t):e)?n.addClass(t):n.removeClass(t)})}):this},scrollTop:function(t){if(this.length){var e="scrollTop"in this[0];return t===w?e?this[0].scrollTop:this[0].pageYOffset:this.each(e?function(){this.scrollTop=t}:function(){this.scrollTo(this.scrollX,t)})}},scrollLeft:function(t){if(this.length){var e="scrollLeft"in this[0];return t===w?e?this[0].scrollLeft:this[0].pageXOffset:this.each(e?function(){this.scrollLeft=t}:function(){this.scrollTo(t,this.scrollY)})}},position:function(){if(this.length){var t=this[0],e=this.offsetParent(),i=this.offset(),n=z.test(e[0].nodeName)?{top:0,left:0}:e.offset();return i.top-=parseFloat($(t).css("margin-top"))||0,i.left-=parseFloat($(t).css("margin-left"))||0,n.top+=parseFloat($(e[0]).css("border-top-width"))||0,n.left+=parseFloat($(e[0]).css("border-left-width"))||0,{top:i.top-n.top,left:i.left-n.left}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent||T.body;t&&!z.test(t.nodeName)&&"static"==$(t).css("position");)t=t.offsetParent;return t})}},$.fn.detach=$.fn.remove,["width","height"].forEach(function(t){var e=t.replace(/./,function(t){return t[0].toUpperCase()});$.fn[t]=function(o){var s,a=this[0];return o===w?i(a)?a["inner"+e]:n(a)?a.documentElement["scroll"+e]:(s=this.offset())&&s[t]:this.each(function(e){a=$(this),a.css(t,f(this,o,e,a[t]()))})}}),I.forEach(function(e,i){var n=i%2;$.fn[e]=function(){var e,o=$.map(arguments,function(i){return e=t(i),"object"==e||"array"==e||null==i?i:G.fragment(i)}),s,a=this.length>1;return o.length<1?this:this.each(function(t,e){s=n?e:e.parentNode,e=0==i?e.nextSibling:1==i?e.firstChild:2==i?e:null,o.forEach(function(t){if(a)t=t.cloneNode(!0);else if(!s)return $(t).remove();L(s.insertBefore(t,e),function(t){null==t.nodeName||"SCRIPT"!==t.nodeName.toUpperCase()||t.type&&"text/javascript"!==t.type||t.src||window.eval.call(window,t.innerHTML)})})})},$.fn[n?e+"To":"insert"+(i?"Before":"After")]=function(t){return $(t)[e](this),this}}),G.Z.prototype=$.fn,G.uniq=Y,G.deserializeValue=y,$.zepto=G,$}();window.Zepto=e,void 0===window.$&&(window.$=e),function($){function t(t){return t._zid||(t._zid=u++)}function e(e,o,s,a){if(o=i(o),o.ns)var r=n(o.ns);return(f[t(e)]||[]).filter(function(e){return!(!e||o.e&&e.e!=o.e||o.ns&&!r.test(e.ns)||s&&t(e.fn)!==t(s)||a&&e.sel!=a)})}function i(t){var e=(""+t).split(".");return{e:e[0],ns:e.slice(1).sort().join(" ")}}function n(t){return new RegExp("(?:^| )"+t.replace(" "," .* ?")+"(?: |$)")}function o(t,e){return t.del&&!v&&t.e in y||!!e}function s(t){return L[t]||v&&y[t]||t}function a(e,n,a,r,l,c,u){var m=t(e),p=f[m]||(f[m]=[]);n.split(/\s/).forEach(function(t){if("ready"==t)return $(document).ready(a);var n=i(t);n.fn=a,n.sel=l,n.e in L&&(a=function(t){var e=t.relatedTarget;return!e||e!==this&&!$.contains(this,e)?n.fn.apply(this,arguments):void 0}),n.del=c;var m=c||a;n.proxy=function(t){if(t=h(t),!t.isImmediatePropagationStopped()){t.data=r;var i=m.apply(e,t._args==d?[t]:[t].concat(t._args));return i===!1&&(t.preventDefault(),t.stopPropagation()),i}},n.i=p.length,p.push(n),"addEventListener"in e&&e.addEventListener(s(n.e),n.proxy,o(n,u))})}function r(i,n,a,r,h){var l=t(i);(n||"").split(/\s/).forEach(function(t){e(i,t,a,r).forEach(function(t){delete f[l][t.i],"removeEventListener"in i&&i.removeEventListener(s(t.e),t.proxy,o(t,h))})})}function h(t,e){return(e||!t.isDefaultPrevented)&&(e||(e=t),$.each(C,function(i,n){var o=e[i];t[i]=function(){return this[n]=w,o&&o.apply(e,arguments)},t[n]=x}),(e.defaultPrevented!==d?e.defaultPrevented:"returnValue"in e?e.returnValue===!1:e.getPreventDefault&&e.getPreventDefault())&&(t.isDefaultPrevented=w)),t}function l(t){var e,i={originalEvent:t};for(e in t)b.test(e)||t[e]===d||(i[e]=t[e]);return h(i,t)}var c=$.zepto.qsa,u=1,d,m=Array.prototype.slice,p=$.isFunction,_=function(t){return"string"==typeof t},f={},g={},v="onfocusin"in window,y={focus:"focusin",blur:"focusout"},L={mouseenter:"mouseover",mouseleave:"mouseout"};g.click=g.mousedown=g.mouseup=g.mousemove="MouseEvents",$.event={add:a,remove:r},$.proxy=function(e,i){if(p(e)){var n=function(){return e.apply(i,arguments)};return n._zid=t(e),n}if(_(i))return $.proxy(e[i],e);throw new TypeError("expected function")},$.fn.bind=function(t,e,i){return this.on(t,e,i)},$.fn.unbind=function(t,e){return this.off(t,e)},$.fn.one=function(t,e,i,n){return this.on(t,e,i,n,1)};var w=function(){return!0},x=function(){return!1},b=/^([A-Z]|returnValue$|layer[XY]$)/,C={preventDefault:"isDefaultPrevented",stopImmediatePropagation:"isImmediatePropagationStopped",stopPropagation:"isPropagationStopped"};$.fn.delegate=function(t,e,i){return this.on(e,t,i)},$.fn.undelegate=function(t,e,i){return this.off(e,t,i)},$.fn.live=function(t,e){return $(document.body).delegate(this.selector,t,e),this},$.fn.die=function(t,e){return $(document.body).undelegate(this.selector,t,e),this},$.fn.on=function(t,e,i,n,o){var s,h,c=this;return t&&!_(t)?($.each(t,function(t,n){c.on(t,e,i,n,o)}),c):(_(e)||p(n)||n===!1||(n=i,i=e,e=d),(p(i)||i===!1)&&(n=i,i=d),n===!1&&(n=x),c.each(function(c,u){o&&(s=function(t){return r(u,t.type,n),n.apply(this,arguments)}),e&&(h=function(t){var i,o=$(t.target).closest(e,u).get(0);return o&&o!==u?(i=$.extend(l(t),{currentTarget:o,liveFired:u}),(s||n).apply(o,[i].concat(m.call(arguments,1)))):void 0}),a(u,t,n,i,e,h||s)}))},$.fn.off=function(t,e,i){var n=this;return t&&!_(t)?($.each(t,function(t,i){n.off(t,e,i)}),n):(_(e)||p(i)||i===!1||(i=e,e=d),i===!1&&(i=x),n.each(function(){r(this,t,i,e)}))},$.fn.trigger=function(t,e){return t=_(t)||$.isPlainObject(t)?$.Event(t):h(t),t._args=e,this.each(function(){"dispatchEvent"in this?this.dispatchEvent(t):$(this).triggerHandler(t,e)})},$.fn.triggerHandler=function(t,i){var n,o;return this.each(function(s,a){n=l(_(t)?$.Event(t):t),n._args=i,n.target=a,$.each(e(a,t.type||t),function(t,e){return o=e.proxy(n),n.isImmediatePropagationStopped()?!1:void 0})}),o},"focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select keydown keypress keyup error".split(" ").forEach(function(t){$.fn[t]=function(e){return e?this.bind(t,e):this.trigger(t)}}),["focus","blur"].forEach(function(t){$.fn[t]=function(e){return e?this.bind(t,e):this.each(function(){try{this[t]()}catch(e){}}),this}}),$.Event=function(t,e){_(t)||(e=t,t=e.type);var i=document.createEvent(g[t]||"Events"),n=!0;if(e)for(var o in e)"bubbles"==o?n=!!e[o]:i[o]=e[o];return i.initEvent(t,n,!0),h(i)}}(e),function($){function t(t,e,i){var n=$.Event(e);return $(t).trigger(n,i),!n.isDefaultPrevented()}function e(e,i,n,o){return e.global?t(i||_,n,o):void 0}function i(t){t.global&&0===$.active++&&e(t,null,"ajaxStart")}function n(t){t.global&&!--$.active&&e(t,null,"ajaxStop")}function o(t,i){var n=i.context;return i.beforeSend.call(n,t,i)===!1||e(i,n,"ajaxBeforeSend",[t,i])===!1?!1:void e(i,n,"ajaxSend",[t,i])}function s(t,i,n,o){var s=n.context,a="success";n.success.call(s,t,a,i),o&&o.resolveWith(s,[t,a,i]),e(n,s,"ajaxSuccess",[i,n,t]),r(a,i,n)}function a(t,i,n,o,s){var a=o.context;o.error.call(a,n,i,t),s&&s.rejectWith(a,[n,i,t]),e(o,a,"ajaxError",[n,o,t||i]),r(i,n,o)}function r(t,i,o){var s=o.context;o.complete.call(s,i,t),e(o,s,"ajaxComplete",[i,o]),n(o)}function h(){}function l(t){return t&&(t=t.split(";",2)[0]),t&&(t==x?"html":t==w?"json":y.test(t)?"script":L.test(t)&&"xml")||"text"}function c(t,e){return""==e?t:(t+"&"+e).replace(/[&?]{1,2}/,"?")}function u(t){t.processData&&t.data&&"string"!=$.type(t.data)&&(t.data=$.param(t.data,t.traditional)),!t.data||t.type&&"GET"!=t.type.toUpperCase()||(t.url=c(t.url,t.data),t.data=void 0)}function d(t,e,i,n){var o=!$.isFunction(e);return{url:t,data:o?e:void 0,success:o?$.isFunction(i)?i:void 0:e,dataType:o?n||i:i}}function m(t,e,i,n){var o,s=$.isArray(e),a=$.isPlainObject(e);$.each(e,function(e,r){o=$.type(r),n&&(e=i?n:n+"["+(a||"object"==o||"array"==o?e:"")+"]"),!n&&s?t.add(r.name,r.value):"array"==o||!i&&"object"==o?m(t,r,i,e):t.add(e,r)})}var p=0,_=window.document,f,g,v=/)<[^<]*)*<\/script>/gi,y=/^(?:text|application)\/javascript/i,L=/^(?:text|application)\/xml/i,w="application/json",x="text/html",b=/^\s*$/;$.active=0,$.ajaxJSONP=function(t,e){if(!("type"in t))return $.ajax(t);var i=t.jsonpCallback,n=($.isFunction(i)?i():i)||"jsonp"+ ++p,r=_.createElement("script"),h=window[n],l,c=function(t){$(r).triggerHandler("error",t||"abort")},u={abort:c},d;return e&&e.promise(u),$(r).on("load error",function(i,o){clearTimeout(d),$(r).off().remove(),"error"!=i.type&&l?s(l[0],u,t,e):a(null,o||"error",u,t,e),window[n]=h,l&&$.isFunction(h)&&h(l[0]),h=l=void 0}),o(u,t)===!1?(c("abort"),u):(window[n]=function(){l=arguments},r.src=t.url.replace(/\?(.+)=\?/,"?$1="+n),_.head.appendChild(r),t.timeout>0&&(d=setTimeout(function(){c("timeout")},t.timeout)),u)},$.ajaxSettings={type:"GET",beforeSend:h,success:h,error:h,complete:h,context:null,global:!0,xhr:function(){return new window.XMLHttpRequest},accepts:{script:"text/javascript, application/javascript, application/x-javascript",json:w,xml:"application/xml, text/xml",html:x,text:"text/plain"},crossDomain:!1,timeout:0,processData:!0,cache:!0},$.ajax=function(t){var e=$.extend({},t||{}),n=$.Deferred&&$.Deferred();for(f in $.ajaxSettings)void 0===e[f]&&(e[f]=$.ajaxSettings[f]);i(e),e.crossDomain||(e.crossDomain=/^([\w-]+:)?\/\/([^\/]+)/.test(e.url)&&RegExp.$2!=window.location.host),e.url||(e.url=window.location.toString()),u(e),e.cache===!1&&(e.url=c(e.url,"_="+Date.now()));var r=e.dataType,d=/\?.+=\?/.test(e.url);if("jsonp"==r||d)return d||(e.url=c(e.url,e.jsonp?e.jsonp+"=?":e.jsonp===!1?"":"callback=?")),$.ajaxJSONP(e,n);var m=e.accepts[r],p={},_=function(t,e){p[t.toLowerCase()]=[t,e]},v=/^([\w-]+:)\/\//.test(e.url)?RegExp.$1:window.location.protocol,y=e.xhr(),L=y.setRequestHeader,w;if(n&&n.promise(y),e.crossDomain||_("X-Requested-With","XMLHttpRequest"),_("Accept",m||"*/*"),(m=e.mimeType||m)&&(m.indexOf(",")>-1&&(m=m.split(",",2)[0]),y.overrideMimeType&&y.overrideMimeType(m)),(e.contentType||e.contentType!==!1&&e.data&&"GET"!=e.type.toUpperCase())&&_("Content-Type",e.contentType||"application/x-www-form-urlencoded"),e.headers)for(g in e.headers)_(g,e.headers[g]);if(y.setRequestHeader=_,y.onreadystatechange=function(){if(4==y.readyState){y.onreadystatechange=h,clearTimeout(w);var t,i=!1;if(y.status>=200&&y.status<300||304==y.status||0==y.status&&"file:"==v){r=r||l(e.mimeType||y.getResponseHeader("content-type")),t=y.responseText;try{"script"==r?(1,eval)(t):"xml"==r?t=y.responseXML:"json"==r&&(t=b.test(t)?null:$.parseJSON(t))}catch(o){i=o}i?a(i,"parsererror",y,e,n):s(t,y,e,n)}else a(y.statusText||null,y.status?"error":"abort",y,e,n)}},o(y,e)===!1)return y.abort(),a(null,"abort",y,e,n),y;if(e.xhrFields)for(g in e.xhrFields)y[g]=e.xhrFields[g];var x="async"in e?e.async:!0;y.open(e.type,e.url,x,e.username,e.password);for(g in p)L.apply(y,p[g]);return e.timeout>0&&(w=setTimeout(function(){y.onreadystatechange=h,y.abort(),a(null,"timeout",y,e,n)},e.timeout)),y.send(e.data?e.data:null),y},$.get=function(t,e,i,n){return $.ajax(d.apply(null,arguments))},$.post=function(t,e,i,n){var o=d.apply(null,arguments);return o.type="POST",$.ajax(o)},$.getJSON=function(t,e,i){var n=d.apply(null,arguments);return n.dataType="json",$.ajax(n)},$.fn.load=function(t,e,i){if(!this.length)return this;var n=this,o=t.split(/\s/),s,a=d(t,e,i),r=a.success;return o.length>1&&(a.url=o[0],s=o[1]),a.success=function(t){n.html(s?$("
").html(t.replace(v,"")).find(s):t),r&&r.apply(n,arguments)},$.ajax(a),this};var C=encodeURIComponent;$.param=function(t,e){var i=[];return i.add=function(t,e){this.push(C(t)+"="+C(e))},m(i,t,e),i.join("&").replace(/%20/g,"+")}}(e),function($){$.fn.serializeArray=function(){var t=[],e;return $([].slice.call(this.get(0).elements)).each(function(){e=$(this);var i=e.attr("type");"fieldset"!=this.nodeName.toLowerCase()&&!this.disabled&&"submit"!=i&&"reset"!=i&&"button"!=i&&("radio"!=i&&"checkbox"!=i||this.checked)&&t.push({name:e.attr("name"),value:e.val()})}),t},$.fn.serialize=function(){var t=[];return this.serializeArray().forEach(function(e){t.push(encodeURIComponent(e.name)+"="+encodeURIComponent(e.value))}),t.join("&")},$.fn.submit=function(t){if(t)this.bind("submit",t);else if(this.length){var e=$.Event("submit");this.eq(0).trigger(e),e.isDefaultPrevented()||this.get(0).submit()}return this}}(e),function($){"__proto__"in{}||$.extend($.zepto,{Z:function(t,e){return t=t||[],$.extend(t,$.fn),t.selector=e||"",t.__Z=!0,t},isZ:function(t){return"array"===$.type(t)&&"__Z"in t}});try{getComputedStyle(void 0)}catch(t){var e=getComputedStyle;window.getComputedStyle=function(t){try{return e(t)}catch(i){return null}}}}(e),t.getJSON=e.getJSON,t.ajax=e.ajax}(VCO),VCO.Class=function(){},VCO.Class.extend=function(t){var e=function(){this.initialize&&this.initialize.apply(this,arguments)},i=function(){};i.prototype=this.prototype;var n=new i;n.constructor=e,e.prototype=n,e.superclass=this.prototype;for(var o in this)this.hasOwnProperty(o)&&"prototype"!==o&&"superclass"!==o&&(e[o]=this[o]);return t.statics&&(VCO.Util.extend(e,t.statics),delete t.statics),t.includes&&(VCO.Util.extend.apply(null,[n].concat(t.includes)),delete t.includes),t.options&&n.options&&(t.options=VCO.Util.extend({},n.options,t.options)),VCO.Util.extend(n,t),e.extend=VCO.Class.extend,e.include=function(t){VCO.Util.extend(this.prototype,t)},e},VCO.Events={addEventListener:function(t,e,i){var n=this._vco_events=this._vco_events||{};return n[t]=n[t]||[],n[t].push({action:e,context:i||this}),this},hasEventListeners:function(t){var e="_vco_events";return e in this&&t in this[e]&&this[e][t].length>0},removeEventListener:function(t,e,i){if(!this.hasEventListeners(t))return this;for(var n=0,o=this._vco_events,s=o[t].length;s>n;n++)if(o[t][n].action===e&&(!i||o[t][n].context===i))return o[t].splice(n,1),this;return this},fireEvent:function(t,e){if(!this.hasEventListeners(t))return this;for(var i=VCO.Util.extend({type:t,target:this},e),n=this._vco_events[t].slice(),o=0,s=n.length;s>o;o++)n[o].action.call(n[o].context||this,i);return this}},VCO.Events.on=VCO.Events.addEventListener,VCO.Events.off=VCO.Events.removeEventListener,VCO.Events.fire=VCO.Events.fireEvent,function(){var t=navigator.userAgent.toLowerCase(),e=document.documentElement,i="ActiveXObject"in window,n=-1!==t.indexOf("webkit"),o=-1!==t.indexOf("phantom"),s=-1!==t.search("android [23]"),a="undefined"!=typeof orientation,r=navigator.msPointerEnabled&&navigator.msMaxTouchPoints&&!window.PointerEvent,h=window.PointerEvent&&navigator.pointerEnabled&&navigator.maxTouchPoints||r,l=i&&"transition"in e.style,c="WebKitCSSMatrix"in window&&"m11"in new window.WebKitCSSMatrix&&!s,u="MozPerspective"in e.style,d="OTransition"in e.style,m=window.opera,p="devicePixelRatio"in window&&window.devicePixelRatio>1;if(!p&&"matchMedia"in window){var _=window.matchMedia("(min-resolution:144dpi)");p=_&&_.matches}var f=!window.L_NO_TOUCH&&!o&&(h||"ontouchstart"in window||window.DocumentTouch&&document instanceof window.DocumentTouch);VCO.Browser={ie:i,ielt9:i&&!document.addEventListener,webkit:n,firefox:-1!==t.indexOf("gecko")&&!n&&!window.opera&&!i,android:-1!==t.indexOf("android"),android23:s,chrome:-1!==t.indexOf("chrome"),ie3d:l,webkit3d:c,gecko3d:u,opera3d:d,any3d:!window.L_DISABLE_3D&&(l||c||u||d)&&!o,mobile:a,mobileWebkit:a&&n,mobileWebkit3d:a&&c,mobileOpera:a&&window.opera,touch:!!f,msPointer:!!r,pointer:!!h,retina:!!p,orientation:function(){var t=window.innerWidth,e=window.innerHeight,i="portrait";return t>e&&(i="landscape"),90==Math.abs(window.orientation),trace(i),i}}}(),VCO.Load=function(t){function e(t){var e=0,n=!1;for(e=0;ev;++v)u[o].push({urls:[c[v]],callback:v===y-1?d:null,obj:m,context:p});if(!l[o]&&(w=l[o]=u[o].shift())){for(h||(h=t.head||t.getElementsByTagName("head")[0]),x=w.urls,v=0,y=x.length;y>v;++v)b=x[v],f?L=r.gecko?e("style"):e("link",{href:b,rel:"stylesheet"}):(L=e("script",{src:b}),L.async=!1),L.className="lazyload",L.setAttribute("charset","utf-8"),r.ie&&!f?L.onreadystatechange=function(){/loaded|complete/.test(L.readyState)&&(L.onreadystatechange=null,_()) -}:f&&(r.gecko||r.webkit)?r.webkit?(w.urls[v]=L.href,a()):(L.innerHTML='@import "'+b+'";',s(L)):L.onload=L.onerror=_,g.push(L);for(v=0,y=g.length;y>v;++v)h.appendChild(g[v])}}function s(t){var e;try{e=!!t.sheet.cssRules}catch(n){return c+=1,void(200>c?setTimeout(function(){s(t)},50):e&&i("css"))}i("css")}function a(){var t=l.css,e;if(t){for(e=d.length;--e>=0;)if(d[e].href===t.urls[0]){i("css");break}c+=1,t&&(200>c?setTimeout(a,50):i("css"))}}var r,h,l={},c=0,u={css:[],js:[]},d=t.styleSheets;return{css:function(t,e,i,n){o("css",t,e,i,n)},js:function(t,e,i,n){o("js",t,e,i,n)}}}(this.document),VCO.Language={name:"English",lang:"en",messages:{loading:"Loading",wikipedia:"From Wikipedia, the free encyclopedia"},buttons:{map_overview:"Map Overview",overview:"Overview",backtostart:"Back To Beginning",collapse_toggle:"Hide Map",uncollapse_toggle:"Show Map"}},VCO.Easings={ease:[.25,.1,.25,1],linear:[0,0,1,1],easein:[.42,0,1,1],easeout:[0,0,.58,1],easeinout:[.42,0,.58,1]},VCO.Ease={KeySpline:function(t){function e(t,e){return 1-3*e+3*t}function i(t,e){return 3*e-6*t}function n(t){return 3*t}function o(t,o,s){return((e(o,s)*t+i(o,s))*t+n(o))*t}function s(t,o,s){return 3*e(o,s)*t*t+2*i(o,s)*t+n(o)}function a(e){for(var i=e,n=0;4>n;++n){var a=s(i,t[0],t[2]);if(0==a)return i;var r=o(i,t[0],t[2])-e;i-=r/a}return i}this.get=function(e){return t[0]==t[1]&&t[2]==t[3]?e:o(a(e),t[1],t[3])}},easeInSpline:function(t){var e=new VCO.Ease.KeySpline(VCO.Easings.easein);return e.get(t)},easeInOutExpo:function(t){var e=new VCO.Ease.KeySpline(VCO.Easings.easein);return e.get(t)},easeOut:function(t){return Math.sin(t*Math.PI/2)},easeOutStrong:function(t){return 1==t?1:1-Math.pow(2,-10*t)},easeIn:function(t){return t*t},easeInStrong:function(t){return 0==t?0:Math.pow(2,10*(t-1))},easeOutBounce:function(t){return 1/2.75>t?7.5625*t*t:2/2.75>t?7.5625*(t-=1.5/2.75)*t+.75:2.5/2.75>t?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},easeInBack:function(t){var e=1.70158;return t*t*((e+1)*t-e)},easeOutBack:function(t){var e=1.70158;return(t-=1)*t*((e+1)*t+e)+1},bounce:function(t){return 1/2.75>t?7.5625*t*t:2/2.75>t?7.5625*(t-=1.5/2.75)*t+.75:2.5/2.75>t?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},bouncePast:function(t){return 1/2.75>t?7.5625*t*t:2/2.75>t?2-(7.5625*(t-=1.5/2.75)*t+.75):2.5/2.75>t?2-(7.5625*(t-=2.25/2.75)*t+.9375):2-(7.5625*(t-=2.625/2.75)*t+.984375)},swingTo:function(t){var e=1.70158;return(t-=1)*t*((e+1)*t+e)+1},swingFrom:function(t){var e=1.70158;return t*t*((e+1)*t-e)},elastic:function(t){return-1*Math.pow(4,-8*t)*Math.sin(2*(6*t-1)*Math.PI/2)+1},spring:function(t){return 1-Math.cos(4.5*t*Math.PI)*Math.exp(6*-t)},blink:function(t,e){return Math.round(t*(e||5))%2},pulse:function(t,e){return-Math.cos(t*((e||5)-.5)*2*Math.PI)/2+.5},wobble:function(t){return-Math.cos(t*Math.PI*9*t)/2+.5},sinusoidal:function(t){return-Math.cos(t*Math.PI)/2+.5},flicker:function(t){var t=t+(Math.random()-.5)/5;return easings.sinusoidal(0>t?0:t>1?1:t)},mirror:function(t){return easings.sinusoidal(.5>t?2*t:1-2*(t-.5))},easeInQuad:function(t){return t*t},easeOutQuad:function(t){return t*(2-t)},easeInOutQuad:function(t){return.5>t?2*t*t:-1+(4-2*t)*t},easeInCubic:function(t){return t*t*t},easeOutCubic:function(t){return--t*t*t+1},easeInOutCubic:function(t){return.5>t?4*t*t*t:(t-1)*(2*t-2)*(2*t-2)+1},easeInQuart:function(t){return t*t*t*t},easeOutQuart:function(t){return 1- --t*t*t*t},easeInOutQuart:function(t){return.5>t?8*t*t*t*t:1-8*--t*t*t*t},easeInQuint:function(t){return t*t*t*t*t},easeOutQuint:function(t){return 1+--t*t*t*t*t},easeInOutQuint:function(t){return.5>t?16*t*t*t*t*t:1+16*--t*t*t*t*t}},VCO.Animate=function(t,e){var i=new vcoanimate(t,e),n;return i},window.vcoanimate=function(){function t(t,e,i){if(Array.prototype.indexOf)return t.indexOf(e);for(i=0;i1e12&&(t=w()),b&&(t=w()),i=n;i--;)I[i](t);I.length&&B(e)}function i(t){1===I.push(t)&&B(e)}function n(e){var i,n=t(I,e);n>=0&&(i=I.slice(n+1),I.length=n,I=I.concat(i))}function o(t,e){var i={},n;return(n=t.match(D))&&(i.rotate=_(n[1],e?e.rotate:null)),(n=t.match(k))&&(i.scale=_(n[1],e?e.scale:null)),(n=t.match(P))&&(i.skewx=_(n[1],e?e.skewx:null),i.skewy=_(n[3],e?e.skewy:null)),(n=t.match(E))&&(i.translatex=_(n[1],e?e.translatex:null),i.translatey=_(n[3],e?e.translatey:null)),i}function s(t){var e="";return"rotate"in t&&(e+="rotate("+t.rotate+"deg) "),"scale"in t&&(e+="scale("+t.scale+") "),"translatex"in t&&(e+="translate("+t.translatex+"px,"+t.translatey+"px) "),"skewx"in t&&(e+="skew("+t.skewx+"deg,"+t.skewy+"deg)"),e}function a(t,e,i){return"#"+(1<<24|t<<16|e<<8|i).toString(16).slice(1)}function r(t){var e=t.match(/rgba?\((\d+),\s*(\d+),\s*(\d+)/);return(e?a(e[1],e[2],e[3]):t).replace(/#(\w)(\w)(\w)$/,"#$1$1$2$2$3$3")}function h(t){return t.replace(/-(.)/g,function(t,e){return e.toUpperCase()})}function l(t){return"function"==typeof t}function c(t){return Math.sin(t*Math.PI/2)}function u(t,e,o,s,a,r){function h(t){var i=t-p;return i>u||_?(r=isFinite(r)?r:1,_?g&&e(r):e(r),n(h),o&&o.apply(d)):void e(isFinite(r)?m*s(i/u)+a:s(i/u))}s=l(s)?s:f.easings[s]||c;var u=t||C,d=this,m=r-a,p=w(),_=0,g=0;return i(h),{stop:function(t){_=1,g=t,t||(o=null)}}}function d(t,e){var i=t.length,n=[],o,s;for(o=0;i>o;++o)n[o]=[t[o][0],t[o][1]];for(s=1;i>s;++s)for(o=0;i-s>o;++o)n[o][0]=(1-e)*n[o][0]+e*n[parseInt(o+1,10)][0],n[o][1]=(1-e)*n[o][1]+e*n[parseInt(o+1,10)][1];return[n[0][0],n[0][1]]}function m(t,e,i){var n=[],o,s,a,r;for(o=0;6>o;o++)a=Math.min(15,parseInt(e.charAt(o),16)),r=Math.min(15,parseInt(i.charAt(o),16)),s=Math.floor((r-a)*t+a),s=s>15?15:0>s?0:s,n[o]=s.toString(16);return"#"+n.join("")}function p(t,e,i,n,o,s,a){if("transform"==o){a={};for(var r in i[s][o])a[r]=r in n[s][o]?Math.round(((n[s][o][r]-i[s][o][r])*t+i[s][o][r])*C)/C:i[s][o][r];return a}return"string"==typeof i[s][o]?m(t,i[s][o],n[s][o]):(a=Math.round(((n[s][o]-i[s][o])*t+i[s][o])*C)/C,o in S||(a+=e[s][o]||"px"),a)}function _(t,e,i,n,o){return(i=O.exec(t))?(o=parseFloat(i[2]))&&e+("+"==i[1]?1:-1)*o:parseFloat(t)}function f(t,e){var i=t?i=isFinite(t.length)?t:[t]:[],n,a=e.complete,c=e.duration,m=e.easing,f=e.bezier,g=[],v=[],y=[],L=[],w,x;for(f&&(w=e.left,x=e.top,delete e.right,delete e.bottom,delete e.left,delete e.top),n=i.length;n--;){if(g[n]={},v[n]={},y[n]={},f){var b=A(i[n],"left"),C=A(i[n],"top"),O=[_(l(w)?w(i[n]):w||0,parseFloat(b)),_(l(x)?x(i[n]):x||0,parseFloat(C))];L[n]=l(f)?f(i[n],O):f,L[n].push(O),L[n].unshift([parseInt(b,10),parseInt(C,10)])}for(var D in e){switch(D){case"complete":case"duration":case"easing":case"bezier":continue}var k=A(i[n],D),P,E=l(e[D])?e[D](i[n]):e[D];"string"!=typeof E||!M.test(E)||M.test(k)?(g[n][D]="transform"==D?o(k):"string"==typeof E&&M.test(E)?r(k).slice(1):parseFloat(k),v[n][D]="transform"==D?o(E,g[n][D]):"string"==typeof E&&"#"==E.charAt(0)?r(E).slice(1):_(E,parseFloat(k)),"string"==typeof E&&(P=E.match(T))&&(y[n][D]=P[1])):delete e[D]}}return u.apply(i,[c,function(t,o,a){for(n=i.length;n--;){f&&(a=d(L[n],t),i[n].style.left=a[0]+"px",i[n].style.top=a[1]+"px");for(var r in e)o=p(t,y,g,v,r,n),"transform"==r?i[n].style[V]=s(o):"opacity"!=r||z?i[n].style[h(r)]=o:i[n].style.filter="alpha(opacity="+100*o+")"}},a,m])}var g=document,v=window,y=v.performance,L=y&&(y.now||y.webkitNow||y.msNow||y.mozNow),w=L?function(){return L.call(y)}:function(){return+new Date},x=g.documentElement,b=!1,C=1e3,M=/^rgb\(|#/,O=/^([+\-])=([\d\.]+)/,T=/^(?:[\+\-]=?)?\d+(?:\.\d+)?(%|in|cm|mm|em|ex|pt|pc|px)$/,D=/rotate\(((?:[+\-]=)?([\-\d\.]+))deg\)/,k=/scale\(((?:[+\-]=)?([\d\.]+))\)/,P=/skew\(((?:[+\-]=)?([\-\d\.]+))deg, ?((?:[+\-]=)?([\-\d\.]+))deg\)/,E=/translate\(((?:[+\-]=)?([\-\d\.]+))px, ?((?:[+\-]=)?([\-\d\.]+))px\)/,S={lineHeight:1,zoom:1,zIndex:1,opacity:1,transform:1},V=function(){var t=g.createElement("a").style,e=["webkitTransform","MozTransform","OTransform","msTransform","Transform"],i;for(i=0;i1e12!=w()>1e12}),f.tween=u,f.getStyle=A,f.bezier=d,f.transform=V,f.parseTransform=o,f.formatTransform=s,f.easings={},f}(),VCO.Point=function(t,e,i){this.x=i?Math.round(t):t,this.y=i?Math.round(e):e},VCO.Point.prototype={add:function(t){return this.clone()._add(t)},_add:function(t){return this.x+=t.x,this.y+=t.y,this},subtract:function(t){return this.clone()._subtract(t)},_subtract:function(t){return this.x-=t.x,this.y-=t.y,this},divideBy:function(t,e){return new VCO.Point(this.x/t,this.y/t,e)},multiplyBy:function(t){return new VCO.Point(this.x*t,this.y*t)},distanceTo:function(t){var e=t.x-this.x,i=t.y-this.y;return Math.sqrt(e*e+i*i)},round:function(){return this.clone()._round()},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this},clone:function(){return new VCO.Point(this.x,this.y)},toString:function(){return"Point("+VCO.Util.formatNum(this.x)+", "+VCO.Util.formatNum(this.y)+")"}},VCO.DomMixins={show:function(t){t||(this._el.container.style.display="block")},hide:function(t){this._el.container.style.display="none"},addTo:function(t){t.appendChild(this._el.container),this.onAdd()},removeFrom:function(t){t.removeChild(this._el.container),this.onRemove()},animatePosition:function(t,e){var i={duration:this.options.duration,easing:this.options.ease};for(var n in t)t.hasOwnProperty(n)&&(i[n]=t[n]+"px");this.animator&&this.animator.stop(),this.animator=VCO.Animate(e,i)},onLoaded:function(){this.fire("loaded",this.data)},onAdd:function(){this.fire("added",this.data)},onRemove:function(){this.fire("removed",this.data)},setPosition:function(t,e){for(var i in t)t.hasOwnProperty(i)&&(e?e.style[i]=t[i]+"px":this._el.container.style[i]=t[i]+"px")},getPosition:function(){return VCO.Dom.getPosition(this._el.container)}},VCO.Dom={get:function(t){return"string"==typeof t?document.getElementById(t):t},getByClass:function(t){return t?document.getElementsByClassName(t):void 0},create:function(t,e,i){var n=document.createElement(t);return n.className=e,i&&i.appendChild(n),n},createText:function(t,e){var i=document.createTextNode(t);return e&&e.appendChild(i),i},getTranslateString:function(t){return VCO.Dom.TRANSLATE_OPEN+t.x+"px,"+t.y+"px"+VCO.Dom.TRANSLATE_CLOSE},setPosition:function(t,e){t._vco_pos=e,VCO.Browser.webkit3d?(t.style[VCO.Dom.TRANSFORM]=VCO.Dom.getTranslateString(e),VCO.Browser.android&&(t.style["-webkit-perspective"]="1000",t.style["-webkit-backface-visibility"]="hidden")):(t.style.left=e.x+"px",t.style.top=e.y+"px")},getPosition:function(t){for(var e={x:0,y:0};t&&!isNaN(t.offsetLeft)&&!isNaN(t.offsetTop);)e.x+=t.offsetLeft,e.y+=t.offsetTop,t=t.offsetParent;return e},testProp:function(t){for(var e=document.documentElement.style,i=0;i0&&new RegExp("(^|\\s)"+e+"(\\s|$)").test(t.className)},addClass:function(t,e){VCO.DomUtil.hasClass(t,e)||(t.className+=(t.className?" ":"")+e)},removeClass:function(t,e){t.className=t.className.replace(/(\S+)\s*/g,function(t,i){return i===e?"":t}).replace(/^\s+/,"")},setOpacity:function(t,e){VCO.Browser.ie?t.style.filter="alpha(opacity="+Math.round(100*e)+")":t.style.opacity=e},testProp:function(t){for(var e=document.documentElement.style,i=0;i1e4&&(this.data.direction="left",e.x>0&&(this.data.direction="right")),Math.abs(e.y)>1e4&&(this.data.direction="up",e.y>0&&(this.data.direction="down")),this._animateMomentum(),i&&this.fire("swipe_"+this.data.direction,this.data)},_animateMomentum:function(){var t={x:this.data.new_pos.x,y:this.data.new_pos.y},e={duration:this.options.duration,easing:VCO.Ease.easeOutStrong};this.options.enable.y&&((this.options.constraint.top||this.options.constraint.bottom)&&(t.y>this.options.constraint.bottom?t.y=this.options.constraint.bottom:t.ythis.options.constraint.left?t.x=this.options.constraint.left:t.xMath.abs(e.y)&&(t.preventDefault(),this._el.move.style.left=this.data.new_pos.x+"px"),this.options.enable.y&&Math.abs(e.y)>Math.abs(e.y)&&(t.preventDefault(),this._el.move.style.top=this.data.new_pos.y+"px"),this.fire("dragmove",this.data)},_momentum:function(){var t={x:0,y:0,time:0},e={x:0,y:0,time:0},i={x:!1,y:!1},n=!1,o="";this.data.direction=null,t.time=10*((new Date).getTime()-this.data.time.start),e.time=10*((new Date).getTime()-this.data.time.start),e.x=this.options.momentum_multiplier*(Math.abs(this.data.pagex.end)-Math.abs(this.data.pagex.start)),e.y=this.options.momentum_multiplier*(Math.abs(this.data.pagey.end)-Math.abs(this.data.pagey.start)),t.x=Math.round(e.x/e.time),t.y=Math.round(e.y/e.time),this.data.new_pos.x=Math.min(this.data.pos.end.x+t.x),this.data.new_pos.y=Math.min(this.data.pos.end.y+t.y),this.options.enable.x?this.data.new_pos.x>0&&(this.data.new_pos.x=0):this.data.new_pos.x=this.data.pos.start.x,this.options.enable.y?this.data.new_pos.y<0&&(this.data.new_pos.y=0):this.data.new_pos.y=this.data.pos.start.y,e.time<2e3&&(n=!0),this.options.enable.x&&this.options.enable.y?Math.abs(e.x)>Math.abs(e.y)?i.x=!0:i.y=!0:this.options.enable.x?Math.abs(e.x)>Math.abs(e.y)&&(i.x=!0):Math.abs(e.y)>Math.abs(e.x)&&(i.y=!0),i.x&&(Math.abs(e.x)>this._el.drag.offsetWidth/2&&(n=!0),Math.abs(e.x)>1e4&&(this.data.direction="left",e.x>0&&(this.data.direction="right"))),i.y&&(Math.abs(e.y)>this._el.drag.offsetHeight/2&&(n=!0),Math.abs(e.y)>1e4&&(this.data.direction="up",e.y>0&&(this.data.direction="down"))),this._animateMomentum(),n&&this.data.direction?this.fire("swipe_"+this.data.direction,this.data):this.data.direction?this.fire("swipe_nodirection",this.data):this.options.snap&&(this.animator.stop(),this.animator=VCO.Animate(this._el.move,{top:this.data.pos.start.y,left:this.data.pos.start.x,duration:this.options.duration,easing:VCO.Ease.easeOutStrong}))},_animateMomentum:function(){var t={x:this.data.new_pos.x,y:this.data.new_pos.y},e={duration:this.options.duration,easing:VCO.Ease.easeOutStrong};this.options.enable.y&&((this.options.constraint.top||this.options.constraint.bottom)&&(t.y>this.options.constraint.bottom?t.y=this.options.constraint.bottom:t.y=this.options.constraint.left?t.x=this.options.constraint.left:t.x":VCO.Language.buttons.collapse_toggle+""):(this.collapsed=!0,this.hide(25),this._el.button_overview.style.display="none",this.fire("collapse",{y:1}),this._el.button_collapse_toggle.innerHTML=VCO.Browser.mobile?"":VCO.Language.buttons.uncollapse_toggle+"")},_initLayout:function(){this._el.button_overview=VCO.Dom.create("span","vco-menubar-button",this._el.container),VCO.DomEvent.addListener(this._el.button_overview,"click",this._onButtonOverview,this),this._el.button_backtostart=VCO.Dom.create("span","vco-menubar-button",this._el.container),VCO.DomEvent.addListener(this._el.button_backtostart,"click",this._onButtonBackToStart,this),this._el.button_collapse_toggle=VCO.Dom.create("span","vco-menubar-button",this._el.container),VCO.DomEvent.addListener(this._el.button_collapse_toggle,"click",this._onButtonCollapseMap,this),this._el.button_overview.innerHTML=this.options.map_as_image?VCO.Language.buttons.overview:VCO.Language.buttons.map_overview,VCO.Browser.mobile?(this._el.button_backtostart.innerHTML="",this._el.button_collapse_toggle.innerHTML="",this._el.container.setAttribute("ontouchstart"," ")):(this._el.button_backtostart.innerHTML=VCO.Language.buttons.backtostart+" ",this._el.button_collapse_toggle.innerHTML=VCO.Language.buttons.collapse_toggle+""),"landscape"==this.options.layout&&(this._el.button_collapse_toggle.style.display="none")},_initEvents:function(){},_updateDisplay:function(t,e,i){t&&(this.options.width=t),e&&(this.options.height=e)}}),VCO.Message=VCO.Class.extend({includes:[VCO.Events,VCO.DomMixins],_el:{},initialize:function(t,e,i){this._el={parent:{},container:{},message_container:{},loading_icon:{},message:{}},this.options={width:600,height:600,message_class:"vco-message",message_icon_class:"vco-loading-icon"},VCO.Util.mergeData(this.data,t),VCO.Util.mergeData(this.options,e),this._el.container=VCO.Dom.create("div",this.options.message_class),i&&(i.appendChild(this._el.container),this._el.parent=i),this.animator={},this._initLayout(),this._initEvents()},updateMessage:function(t){this._updateMessage(t)},updateDisplay:function(t,e){this._updateDisplay(t,e)},_updateMessage:function(t){this._el.message.innerHTML=t?t:VCO.Language?VCO.Language.messages.loading:"Loading"},_onMouseClick:function(){this.fire("clicked",this.options)},_initLayout:function(){this._el.message_container=VCO.Dom.create("div","vco-message-container",this._el.container),this._el.loading_icon=VCO.Dom.create("div",this.options.message_icon_class,this._el.message_container),this._el.message=VCO.Dom.create("div","vco-message-content",this._el.message_container),this._updateMessage()},_initEvents:function(){VCO.DomEvent.addListener(this._el.container,"click",this._onMouseClick,this)},_updateDisplay:function(t,e,i){}}),VCO.MediaType=function(t){for(var e={},i=[{type:"youtube",name:"YouTube",match_str:"(www.)?youtube|youtu.be",cls:VCO.Media.YouTube},{type:"vimeo",name:"Vimeo",match_str:"(player.)?vimeo.com",cls:VCO.Media.Vimeo},{type:"dailymotion",name:"DailyMotion",match_str:"(www.)?dailymotion.com",cls:VCO.Media.DailyMotion},{type:"vine",name:"Vine",match_str:"(www.)?vine.co",cls:VCO.Media.Vine},{type:"soundcloud",name:"SoundCloud",match_str:"(player.)?soundcloud.com",cls:VCO.Media.SoundCloud},{type:"twitter",name:"Twitter",match_str:"(www.)?twitter.com",cls:VCO.Media.Twitter},{type:"googlemaps",name:"Google Map",match_str:"maps.google",cls:VCO.Media.Map},{type:"googleplus",name:"Google+",match_str:"plus.google",cls:VCO.Media.GooglePlus},{type:"flickr",name:"Flickr",match_str:"flickr.com/photos",cls:VCO.Media.Flickr},{type:"instagram",name:"Instagram",match_str:/(instagr.am|instagram.com)\/p\//,cls:VCO.Media.Instagram},{type:"instagramprofile",name:"InstagramProfile",match_str:/(instagr.am|instagram.com)\/profiles\//,cls:VCO.Media.InstagramProfile},{type:"image",name:"Image",match_str:/jpg|jpeg|png|gif/i,cls:VCO.Media.Image},{type:"googledocs",name:"Google Doc",match_str:/\b.(doc|docx|xls|xlsx|ppt|pptx|pdf|pages|ai|psd|tiff|dxf|svg|eps|ps|ttf|xps|zip|tif)\b/,cls:VCO.Media.GoogleDoc},{type:"wikipedia",name:"Wikipedia",match_str:"(www.)?wikipedia.org",cls:VCO.Media.Wikipedia},{type:"iframe",name:"iFrame",match_str:"iframe",cls:VCO.Media.IFrame},{type:"storify",name:"Storify",match_str:"storify",cls:VCO.Media.Storify},{type:"blockquote",name:"Quote",match_str:"blockquote",cls:VCO.Media.Blockquote},{type:"website",name:"Website",match_str:"http://",cls:VCO.Media.Website},{type:"",name:"",match_str:"",cls:VCO.Media}],n=0;nv;++v)h.appendChild(g[v])}}function s(t){var e;try{e=!!t.sheet.cssRules}catch(n){return c+=1,void(200>c?setTimeout(function(){s(t)},50):e&&i("css"))}i("css")}function a(){var t=l.css,e;if(t){for(e=d.length;--e>=0;)if(d[e].href===t.urls[0]){i("css");break}c+=1,t&&(200>c?setTimeout(a,50):i("css"))}}var r,h,l={},c=0,u={css:[],js:[]},d=t.styleSheets;return{css:function(t,e,i,n){o("css",t,e,i,n)},js:function(t,e,i,n){o("js",t,e,i,n)}}}(this.document),VCO.Language={name:"English",lang:"en",messages:{loading:"Loading",wikipedia:"From Wikipedia, the free encyclopedia"},buttons:{map_overview:"Map Overview",overview:"Overview",backtostart:"Back To Beginning",collapse_toggle:"Hide Map",uncollapse_toggle:"Show Map"}},VCO.Easings={ease:[.25,.1,.25,1],linear:[0,0,1,1],easein:[.42,0,1,1],easeout:[0,0,.58,1],easeinout:[.42,0,.58,1]},VCO.Ease={KeySpline:function(t){function e(t,e){return 1-3*e+3*t}function i(t,e){return 3*e-6*t}function n(t){return 3*t}function o(t,o,s){return((e(o,s)*t+i(o,s))*t+n(o))*t}function s(t,o,s){return 3*e(o,s)*t*t+2*i(o,s)*t+n(o)}function a(e){for(var i=e,n=0;4>n;++n){var a=s(i,t[0],t[2]);if(0==a)return i;var r=o(i,t[0],t[2])-e;i-=r/a}return i}this.get=function(e){return t[0]==t[1]&&t[2]==t[3]?e:o(a(e),t[1],t[3])}},easeInSpline:function(t){var e=new VCO.Ease.KeySpline(VCO.Easings.easein);return e.get(t)},easeInOutExpo:function(t){var e=new VCO.Ease.KeySpline(VCO.Easings.easein);return e.get(t)},easeOut:function(t){return Math.sin(t*Math.PI/2)},easeOutStrong:function(t){return 1==t?1:1-Math.pow(2,-10*t)},easeIn:function(t){return t*t},easeInStrong:function(t){return 0==t?0:Math.pow(2,10*(t-1))},easeOutBounce:function(t){return 1/2.75>t?7.5625*t*t:2/2.75>t?7.5625*(t-=1.5/2.75)*t+.75:2.5/2.75>t?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},easeInBack:function(t){var e=1.70158;return t*t*((e+1)*t-e)},easeOutBack:function(t){var e=1.70158;return(t-=1)*t*((e+1)*t+e)+1},bounce:function(t){return 1/2.75>t?7.5625*t*t:2/2.75>t?7.5625*(t-=1.5/2.75)*t+.75:2.5/2.75>t?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},bouncePast:function(t){return 1/2.75>t?7.5625*t*t:2/2.75>t?2-(7.5625*(t-=1.5/2.75)*t+.75):2.5/2.75>t?2-(7.5625*(t-=2.25/2.75)*t+.9375):2-(7.5625*(t-=2.625/2.75)*t+.984375)},swingTo:function(t){var e=1.70158;return(t-=1)*t*((e+1)*t+e)+1},swingFrom:function(t){var e=1.70158;return t*t*((e+1)*t-e)},elastic:function(t){return-1*Math.pow(4,-8*t)*Math.sin(2*(6*t-1)*Math.PI/2)+1},spring:function(t){return 1-Math.cos(4.5*t*Math.PI)*Math.exp(6*-t)},blink:function(t,e){return Math.round(t*(e||5))%2},pulse:function(t,e){return-Math.cos(t*((e||5)-.5)*2*Math.PI)/2+.5},wobble:function(t){return-Math.cos(t*Math.PI*9*t)/2+.5},sinusoidal:function(t){return-Math.cos(t*Math.PI)/2+.5},flicker:function(t){var t=t+(Math.random()-.5)/5;return easings.sinusoidal(0>t?0:t>1?1:t)},mirror:function(t){return easings.sinusoidal(.5>t?2*t:1-2*(t-.5))},easeInQuad:function(t){return t*t},easeOutQuad:function(t){return t*(2-t)},easeInOutQuad:function(t){return.5>t?2*t*t:-1+(4-2*t)*t},easeInCubic:function(t){return t*t*t},easeOutCubic:function(t){return--t*t*t+1},easeInOutCubic:function(t){return.5>t?4*t*t*t:(t-1)*(2*t-2)*(2*t-2)+1},easeInQuart:function(t){return t*t*t*t},easeOutQuart:function(t){return 1- --t*t*t*t},easeInOutQuart:function(t){return.5>t?8*t*t*t*t:1-8*--t*t*t*t},easeInQuint:function(t){return t*t*t*t*t},easeOutQuint:function(t){return 1+--t*t*t*t*t},easeInOutQuint:function(t){return.5>t?16*t*t*t*t*t:1+16*--t*t*t*t*t}},VCO.Animate=function(t,e){var i=new vcoanimate(t,e),n;return i},window.vcoanimate=function(){function t(t,e,i){if(Array.prototype.indexOf)return t.indexOf(e);for(i=0;i1e12&&(t=w()),b&&(t=w()),i=n;i--;)I[i](t);I.length&&B(e)}function i(t){1===I.push(t)&&B(e)}function n(e){var i,n=t(I,e);n>=0&&(i=I.slice(n+1),I.length=n,I=I.concat(i))}function o(t,e){var i={},n;return(n=t.match(D))&&(i.rotate=_(n[1],e?e.rotate:null)),(n=t.match(k))&&(i.scale=_(n[1],e?e.scale:null)),(n=t.match(P))&&(i.skewx=_(n[1],e?e.skewx:null),i.skewy=_(n[3],e?e.skewy:null)),(n=t.match(E))&&(i.translatex=_(n[1],e?e.translatex:null),i.translatey=_(n[3],e?e.translatey:null)),i}function s(t){var e="";return"rotate"in t&&(e+="rotate("+t.rotate+"deg) "),"scale"in t&&(e+="scale("+t.scale+") "),"translatex"in t&&(e+="translate("+t.translatex+"px,"+t.translatey+"px) "),"skewx"in t&&(e+="skew("+t.skewx+"deg,"+t.skewy+"deg)"),e}function a(t,e,i){return"#"+(1<<24|t<<16|e<<8|i).toString(16).slice(1)}function r(t){var e=t.match(/rgba?\((\d+),\s*(\d+),\s*(\d+)/);return(e?a(e[1],e[2],e[3]):t).replace(/#(\w)(\w)(\w)$/,"#$1$1$2$2$3$3")}function h(t){return t.replace(/-(.)/g,function(t,e){return e.toUpperCase()})}function l(t){return"function"==typeof t}function c(t){return Math.sin(t*Math.PI/2)}function u(t,e,o,s,a,r){function h(t){var i=t-p;return i>u||_?(r=isFinite(r)?r:1,_?g&&e(r):e(r),n(h),o&&o.apply(d)):void e(isFinite(r)?m*s(i/u)+a:s(i/u))}s=l(s)?s:f.easings[s]||c;var u=t||C,d=this,m=r-a,p=w(),_=0,g=0;return i(h),{stop:function(t){_=1,g=t,t||(o=null)}}}function d(t,e){var i=t.length,n=[],o,s;for(o=0;i>o;++o)n[o]=[t[o][0],t[o][1]];for(s=1;i>s;++s)for(o=0;i-s>o;++o)n[o][0]=(1-e)*n[o][0]+e*n[parseInt(o+1,10)][0],n[o][1]=(1-e)*n[o][1]+e*n[parseInt(o+1,10)][1];return[n[0][0],n[0][1]]}function m(t,e,i){var n=[],o,s,a,r;for(o=0;6>o;o++)a=Math.min(15,parseInt(e.charAt(o),16)),r=Math.min(15,parseInt(i.charAt(o),16)),s=Math.floor((r-a)*t+a),s=s>15?15:0>s?0:s,n[o]=s.toString(16);return"#"+n.join("")}function p(t,e,i,n,o,s,a){if("transform"==o){a={};for(var r in i[s][o])a[r]=r in n[s][o]?Math.round(((n[s][o][r]-i[s][o][r])*t+i[s][o][r])*C)/C:i[s][o][r];return a}return"string"==typeof i[s][o]?m(t,i[s][o],n[s][o]):(a=Math.round(((n[s][o]-i[s][o])*t+i[s][o])*C)/C,o in S||(a+=e[s][o]||"px"),a)}function _(t,e,i,n,o){return(i=O.exec(t))?(o=parseFloat(i[2]))&&e+("+"==i[1]?1:-1)*o:parseFloat(t)}function f(t,e){var i=t?i=isFinite(t.length)?t:[t]:[],n,a=e.complete,c=e.duration,m=e.easing,f=e.bezier,g=[],v=[],y=[],L=[],w,x;for(f&&(w=e.left,x=e.top,delete e.right,delete e.bottom,delete e.left,delete e.top),n=i.length;n--;){if(g[n]={},v[n]={},y[n]={},f){var b=A(i[n],"left"),C=A(i[n],"top"),O=[_(l(w)?w(i[n]):w||0,parseFloat(b)),_(l(x)?x(i[n]):x||0,parseFloat(C))];L[n]=l(f)?f(i[n],O):f,L[n].push(O),L[n].unshift([parseInt(b,10),parseInt(C,10)])}for(var D in e){switch(D){case"complete":case"duration":case"easing":case"bezier":continue}var k=A(i[n],D),P,E=l(e[D])?e[D](i[n]):e[D];"string"!=typeof E||!M.test(E)||M.test(k)?(g[n][D]="transform"==D?o(k):"string"==typeof E&&M.test(E)?r(k).slice(1):parseFloat(k),v[n][D]="transform"==D?o(E,g[n][D]):"string"==typeof E&&"#"==E.charAt(0)?r(E).slice(1):_(E,parseFloat(k)),"string"==typeof E&&(P=E.match(T))&&(y[n][D]=P[1])):delete e[D]}}return u.apply(i,[c,function(t,o,a){for(n=i.length;n--;){f&&(a=d(L[n],t),i[n].style.left=a[0]+"px",i[n].style.top=a[1]+"px");for(var r in e)o=p(t,y,g,v,r,n),"transform"==r?i[n].style[V]=s(o):"opacity"!=r||z?i[n].style[h(r)]=o:i[n].style.filter="alpha(opacity="+100*o+")"}},a,m])}var g=document,v=window,y=v.performance,L=y&&(y.now||y.webkitNow||y.msNow||y.mozNow),w=L?function(){return L.call(y)}:function(){return+new Date},x=g.documentElement,b=!1,C=1e3,M=/^rgb\(|#/,O=/^([+\-])=([\d\.]+)/,T=/^(?:[\+\-]=?)?\d+(?:\.\d+)?(%|in|cm|mm|em|ex|pt|pc|px)$/,D=/rotate\(((?:[+\-]=)?([\-\d\.]+))deg\)/,k=/scale\(((?:[+\-]=)?([\d\.]+))\)/,P=/skew\(((?:[+\-]=)?([\-\d\.]+))deg, ?((?:[+\-]=)?([\-\d\.]+))deg\)/,E=/translate\(((?:[+\-]=)?([\-\d\.]+))px, ?((?:[+\-]=)?([\-\d\.]+))px\)/,S={lineHeight:1,zoom:1,zIndex:1,opacity:1,transform:1},V=function(){var t=g.createElement("a").style,e=["webkitTransform","MozTransform","OTransform","msTransform","Transform"],i;for(i=0;i1e12!=w()>1e12}),f.tween=u,f.getStyle=A,f.bezier=d,f.transform=V,f.parseTransform=o,f.formatTransform=s,f.easings={},f}(),VCO.Point=function(t,e,i){this.x=i?Math.round(t):t,this.y=i?Math.round(e):e},VCO.Point.prototype={add:function(t){return this.clone()._add(t)},_add:function(t){return this.x+=t.x,this.y+=t.y,this},subtract:function(t){return this.clone()._subtract(t)},_subtract:function(t){return this.x-=t.x,this.y-=t.y,this},divideBy:function(t,e){return new VCO.Point(this.x/t,this.y/t,e)},multiplyBy:function(t){return new VCO.Point(this.x*t,this.y*t)},distanceTo:function(t){var e=t.x-this.x,i=t.y-this.y;return Math.sqrt(e*e+i*i)},round:function(){return this.clone()._round()},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this},clone:function(){return new VCO.Point(this.x,this.y)},toString:function(){return"Point("+VCO.Util.formatNum(this.x)+", "+VCO.Util.formatNum(this.y)+")"}},VCO.DomMixins={show:function(t){t||(this._el.container.style.display="block")},hide:function(t){this._el.container.style.display="none"},addTo:function(t){t.appendChild(this._el.container),this.onAdd()},removeFrom:function(t){t.removeChild(this._el.container),this.onRemove()},animatePosition:function(t,e){var i={duration:this.options.duration,easing:this.options.ease};for(var n in t)t.hasOwnProperty(n)&&(i[n]=t[n]+"px");this.animator&&this.animator.stop(),this.animator=VCO.Animate(e,i)},onLoaded:function(){this.fire("loaded",this.data)},onAdd:function(){this.fire("added",this.data)},onRemove:function(){this.fire("removed",this.data)},setPosition:function(t,e){for(var i in t)t.hasOwnProperty(i)&&(e?e.style[i]=t[i]+"px":this._el.container.style[i]=t[i]+"px")},getPosition:function(){return VCO.Dom.getPosition(this._el.container)}},VCO.Dom={get:function(t){return"string"==typeof t?document.getElementById(t):t},getByClass:function(t){return t?document.getElementsByClassName(t):void 0},create:function(t,e,i){var n=document.createElement(t);return n.className=e,i&&i.appendChild(n),n},createText:function(t,e){var i=document.createTextNode(t);return e&&e.appendChild(i),i},getTranslateString:function(t){return VCO.Dom.TRANSLATE_OPEN+t.x+"px,"+t.y+"px"+VCO.Dom.TRANSLATE_CLOSE},setPosition:function(t,e){t._vco_pos=e,VCO.Browser.webkit3d?(t.style[VCO.Dom.TRANSFORM]=VCO.Dom.getTranslateString(e),VCO.Browser.android&&(t.style["-webkit-perspective"]="1000",t.style["-webkit-backface-visibility"]="hidden")):(t.style.left=e.x+"px",t.style.top=e.y+"px")},getPosition:function(t){for(var e={x:0,y:0};t&&!isNaN(t.offsetLeft)&&!isNaN(t.offsetTop);)e.x+=t.offsetLeft,e.y+=t.offsetTop,t=t.offsetParent;return e},testProp:function(t){for(var e=document.documentElement.style,i=0;i0&&new RegExp("(^|\\s)"+e+"(\\s|$)").test(t.className)},addClass:function(t,e){VCO.DomUtil.hasClass(t,e)||(t.className+=(t.className?" ":"")+e)},removeClass:function(t,e){t.className=t.className.replace(/(\S+)\s*/g,function(t,i){return i===e?"":t}).replace(/^\s+/,"")},setOpacity:function(t,e){VCO.Browser.ie?t.style.filter="alpha(opacity="+Math.round(100*e)+")":t.style.opacity=e},testProp:function(t){for(var e=document.documentElement.style,i=0;i1e4&&(this.data.direction="left",e.x>0&&(this.data.direction="right")),Math.abs(e.y)>1e4&&(this.data.direction="up",e.y>0&&(this.data.direction="down")),this._animateMomentum(),i&&this.fire("swipe_"+this.data.direction,this.data)},_animateMomentum:function(){var t={x:this.data.new_pos.x,y:this.data.new_pos.y},e={duration:this.options.duration,easing:VCO.Ease.easeOutStrong};this.options.enable.y&&((this.options.constraint.top||this.options.constraint.bottom)&&(t.y>this.options.constraint.bottom?t.y=this.options.constraint.bottom:t.ythis.options.constraint.left?t.x=this.options.constraint.left:t.xMath.abs(e.y)&&(t.preventDefault(),this._el.move.style.left=this.data.new_pos.x+"px"),this.options.enable.y&&Math.abs(e.y)>Math.abs(e.y)&&(t.preventDefault(),this._el.move.style.top=this.data.new_pos.y+"px"),this.fire("dragmove",this.data)},_momentum:function(){var t={x:0,y:0,time:0},e={x:0,y:0,time:0},i={x:!1,y:!1},n=!1,o="";this.data.direction=null,t.time=10*((new Date).getTime()-this.data.time.start),e.time=10*((new Date).getTime()-this.data.time.start),e.x=this.options.momentum_multiplier*(Math.abs(this.data.pagex.end)-Math.abs(this.data.pagex.start)),e.y=this.options.momentum_multiplier*(Math.abs(this.data.pagey.end)-Math.abs(this.data.pagey.start)),t.x=Math.round(e.x/e.time),t.y=Math.round(e.y/e.time),this.data.new_pos.x=Math.min(this.data.pos.end.x+t.x),this.data.new_pos.y=Math.min(this.data.pos.end.y+t.y),this.options.enable.x?this.data.new_pos.x>0&&(this.data.new_pos.x=0):this.data.new_pos.x=this.data.pos.start.x,this.options.enable.y?this.data.new_pos.y<0&&(this.data.new_pos.y=0):this.data.new_pos.y=this.data.pos.start.y,e.time<2e3&&(n=!0),this.options.enable.x&&this.options.enable.y?Math.abs(e.x)>Math.abs(e.y)?i.x=!0:i.y=!0:this.options.enable.x?Math.abs(e.x)>Math.abs(e.y)&&(i.x=!0):Math.abs(e.y)>Math.abs(e.x)&&(i.y=!0),i.x&&(Math.abs(e.x)>this._el.drag.offsetWidth/2&&(n=!0),Math.abs(e.x)>1e4&&(this.data.direction="left",e.x>0&&(this.data.direction="right"))),i.y&&(Math.abs(e.y)>this._el.drag.offsetHeight/2&&(n=!0),Math.abs(e.y)>1e4&&(this.data.direction="up",e.y>0&&(this.data.direction="down"))),this._animateMomentum(),n&&this.data.direction?this.fire("swipe_"+this.data.direction,this.data):this.data.direction?this.fire("swipe_nodirection",this.data):this.options.snap&&(this.animator.stop(),this.animator=VCO.Animate(this._el.move,{top:this.data.pos.start.y,left:this.data.pos.start.x,duration:this.options.duration,easing:VCO.Ease.easeOutStrong}))},_animateMomentum:function(){var t={x:this.data.new_pos.x,y:this.data.new_pos.y},e={duration:this.options.duration,easing:VCO.Ease.easeOutStrong};this.options.enable.y&&((this.options.constraint.top||this.options.constraint.bottom)&&(t.y>this.options.constraint.bottom?t.y=this.options.constraint.bottom:t.y=this.options.constraint.left?t.x=this.options.constraint.left:t.x":VCO.Language.buttons.collapse_toggle+""):(this.collapsed=!0,this.hide(25),this._el.button_overview.style.display="none",this.fire("collapse",{y:1}),this._el.button_collapse_toggle.innerHTML=VCO.Browser.mobile?"":VCO.Language.buttons.uncollapse_toggle+"")},_initLayout:function(){this._el.button_overview=VCO.Dom.create("span","vco-menubar-button",this._el.container),VCO.DomEvent.addListener(this._el.button_overview,"click",this._onButtonOverview,this),this._el.button_backtostart=VCO.Dom.create("span","vco-menubar-button",this._el.container),VCO.DomEvent.addListener(this._el.button_backtostart,"click",this._onButtonBackToStart,this),this._el.button_collapse_toggle=VCO.Dom.create("span","vco-menubar-button",this._el.container),VCO.DomEvent.addListener(this._el.button_collapse_toggle,"click",this._onButtonCollapseMap,this),this._el.button_overview.innerHTML=this.options.map_as_image?VCO.Language.buttons.overview:VCO.Language.buttons.map_overview,VCO.Browser.mobile?(this._el.button_backtostart.innerHTML="",this._el.button_collapse_toggle.innerHTML="",this._el.container.setAttribute("ontouchstart"," ")):(this._el.button_backtostart.innerHTML=VCO.Language.buttons.backtostart+" ",this._el.button_collapse_toggle.innerHTML=VCO.Language.buttons.collapse_toggle+""),"landscape"==this.options.layout&&(this._el.button_collapse_toggle.style.display="none")},_initEvents:function(){},_updateDisplay:function(t,e,i){t&&(this.options.width=t),e&&(this.options.height=e)}}),VCO.Message=VCO.Class.extend({includes:[VCO.Events,VCO.DomMixins],_el:{},initialize:function(t,e,i){this._el={parent:{},container:{},message_container:{},loading_icon:{},message:{}},this.options={width:600,height:600,message_class:"vco-message",message_icon_class:"vco-loading-icon"},VCO.Util.mergeData(this.data,t),VCO.Util.mergeData(this.options,e),this._el.container=VCO.Dom.create("div",this.options.message_class),i&&(i.appendChild(this._el.container),this._el.parent=i),this.animator={},this._initLayout(),this._initEvents()},updateMessage:function(t){this._updateMessage(t)},updateDisplay:function(t,e){this._updateDisplay(t,e)},_updateMessage:function(t){this._el.message.innerHTML=t?t:VCO.Language?VCO.Language.messages.loading:"Loading"},_onMouseClick:function(){this.fire("clicked",this.options)},_initLayout:function(){this._el.message_container=VCO.Dom.create("div","vco-message-container",this._el.container),this._el.loading_icon=VCO.Dom.create("div",this.options.message_icon_class,this._el.message_container),this._el.message=VCO.Dom.create("div","vco-message-content",this._el.message_container),this._updateMessage()},_initEvents:function(){VCO.DomEvent.addListener(this._el.container,"click",this._onMouseClick,this)},_updateDisplay:function(t,e,i){}}),VCO.MediaType=function(t){for(var e={},i=[{type:"youtube",name:"YouTube",match_str:"(www.)?youtube|youtu.be",cls:VCO.Media.YouTube},{type:"vimeo",name:"Vimeo",match_str:"(player.)?vimeo.com",cls:VCO.Media.Vimeo},{type:"dailymotion",name:"DailyMotion",match_str:"(www.)?dailymotion.com",cls:VCO.Media.DailyMotion},{type:"vine",name:"Vine",match_str:"(www.)?vine.co",cls:VCO.Media.Vine},{type:"soundcloud",name:"SoundCloud",match_str:"(player.)?soundcloud.com",cls:VCO.Media.SoundCloud},{type:"twitter",name:"Twitter",match_str:"(www.)?twitter.com",cls:VCO.Media.Twitter},{type:"googlemaps",name:"Google Map",match_str:"maps.google",cls:VCO.Media.Map},{type:"googleplus",name:"Google+",match_str:"plus.google",cls:VCO.Media.GooglePlus},{type:"flickr",name:"Flickr",match_str:"flickr.com/photos",cls:VCO.Media.Flickr},{type:"instagram",name:"Instagram",match_str:/(instagr.am|instagram.com)\/p\//,cls:VCO.Media.Instagram},{type:"instagramprofile",name:"InstagramProfile",match_str:/(instagr.am|instagram.com)(\/profiles\/|[-a-zA-Z0-9@:%_\+.~#?&//=]+instagramprofile)/,cls:VCO.Media.InstagramProfile},{type:"image",name:"Image",match_str:/jpg|jpeg|png|gif/i,cls:VCO.Media.Image},{type:"googledocs",name:"Google Doc",match_str:/\b.(doc|docx|xls|xlsx|ppt|pptx|pdf|pages|ai|psd|tiff|dxf|svg|eps|ps|ttf|xps|zip|tif)\b/,cls:VCO.Media.GoogleDoc},{type:"wikipedia",name:"Wikipedia",match_str:"(www.)?wikipedia.org",cls:VCO.Media.Wikipedia},{type:"iframe",name:"iFrame",match_str:"iframe",cls:VCO.Media.IFrame},{type:"storify",name:"Storify",match_str:"storify",cls:VCO.Media.Storify},{type:"blockquote",name:"Quote",match_str:"blockquote",cls:VCO.Media.Blockquote},{type:"website",name:"Website",match_str:"http://",cls:VCO.Media.Website},{type:"",name:"",match_str:"",cls:VCO.Media}],n=0;nthis._el.content_item.offsetHeight&&(this._el.content_item.style.width="100%"))},_loadMedia:function(){},_updateMediaDisplay:function(t){},show:function(){},hide:function(){},addTo:function(t){t.appendChild(this._el.container),this.onAdd()},removeFrom:function(t){t.removeChild(this._el.container),this.onRemove()},updateDisplay:function(t,e,i){this._updateDisplay(t,e,i)},stopMedia:function(){this._stopMedia()},loadErrorDisplay:function(t){this._el.content.removeChild(this._el.content_item),this._el.content_item=VCO.Dom.create("div","vco-media-item vco-media-loaderror",this._el.content),this._el.content_item.innerHTML=t+"
",this.message&&this.message.hide()},onLoaded:function(){this._state.loaded=!0,this.fire("loaded",this.data),this.message&&this.message.hide(),this.showMeta(),this.updateDisplay()},showMeta:function(){this.data.credit&&""!=this.data.credit&&(this._el.credit=VCO.Dom.create("div","vco-credit",this._el.content_container),this._el.credit.innerHTML=this.data.credit,this.options.credit_height=this._el.credit.offsetHeight),this.data.caption&&""!=this.data.caption&&(this._el.caption=VCO.Dom.create("div","vco-caption",this._el.content_container),this._el.caption.innerHTML=this.data.caption,this.options.caption_height=this._el.caption.offsetHeight)},onAdd:function(){this.fire("added",this.data)},onRemove:function(){this.fire("removed",this.data)},_initLayout:function(){this.message=new VCO.Message({},this.options),this.message.addTo(this._el.container),this._el.content_container=VCO.Dom.create("div","vco-media-content-container",this._el.container),this.data.link&&""!=this.data.link?(this._el.link=VCO.Dom.create("a","vco-media-link",this._el.content_container),this._el.link.href=this.data.link,this._el.link.target=this.data.link_target&&""!=this.data.link_target?this.data.link_target:"_blank",this._el.content=VCO.Dom.create("div","vco-media-content",this._el.link)):this._el.content=VCO.Dom.create("div","vco-media-content",this._el.content_container)},_updateDisplay:function(t,e,i){t&&(this.options.width=t),e&&(this.options.height=e),i&&(this.options.layout=i),this._el.credit&&(this.options.credit_height=this._el.credit.offsetHeight),this._el.caption&&(this.options.caption_height=this._el.caption.offsetHeight+5),this.updateMediaDisplay(this.options.layout)},_stopMedia:function(){}}),VCO.Media.Blockquote=VCO.Media.extend({includes:[VCO.Events],_loadMedia:function(){this.message.updateMessage(VCO.Language.messages.loading+" "+this.options.media_name),this._el.content_item=VCO.Dom.create("div","vco-media-item vco-media-blockquote",this._el.content),this.media_id=this.data.url,this._el.content_item.innerHTML=this.media_id,this.onLoaded()},updateMediaDisplay:function(){},_updateMediaDisplay:function(){}}),VCO.Media.Flickr=VCO.Media.extend({includes:[VCO.Events],_loadMedia:function(){var t,e=this;this.message.updateMessage(VCO.Language.messages.loading+" "+this.options.media_name),this._el.content_item=VCO.Dom.create("img","vco-media-item vco-media-image vco-media-flickr vco-media-shadow",this._el.content),this.establishMediaID(),t="http://api.flickr.com/services/rest/?method=flickr.photos.getSizes&api_key="+this.options.api_key_flickr+"&photo_id="+this.media_id+"&format=json&jsoncallback=?",VCO.getJSON(t,function(t){"ok"==t.stat?e.createMedia(t):e.loadErrorDisplay("Photo not found or private.")})},establishMediaID:function(){var t="flickr.com/photos/",e=this.data.url.indexOf(t);if(-1==e)throw"Invalid Flickr URL";var i=e+t.length;this.media_id=this.data.url.substr(i).split("/")[1]},createMedia:function(t){for(var e=this.sizes(this.options.height),i=t.sizes.size[t.sizes.size.length-2].source,n=0;n=t?0>=t?"Large":"Thumbnail":180>=t?"Small":240>=t?"Small 320":375>=t?"Medium":480>=t?"Medium 640":600>=t?"Large":"Large"}}),VCO.Media.Instagram=VCO.Media.extend({includes:[VCO.Events],_loadMedia:function(){var t,e=this;this.message.updateMessage(VCO.Language.messages.loading+" "+this.options.media_name),this.media_id=this.data.url.split("/p/")[1].split("/")[0],this._el.content_item=VCO.Dom.create("img","vco-media-item vco-media-image vco-media-instagram vco-media-shadow",this._el.content),this._el.content_item.src="http://instagr.am/p/"+this.media_id+"/media/?size="+this.sizes(this._el.content.offsetWidth),this.onLoaded()},sizes:function(t){var e="";return e=150>=t?"t":306>=t?"m":"l"}}),VCO.Media.InstagramProfile=VCO.Media.extend({includes:[VCO.Events],_loadMedia:function(){this.message.updateMessage(VCO.Language.messages.loading+" "+this.options.media_name),this._el.content_item=VCO.Dom.create("img","vco-media-item vco-media-image vco-media-instagram-profile vco-media-shadow",this._el.content),this._el.content_item.src=this.data.url,this.onLoaded()},_updateMediaDisplay:function(t){VCO.Browser.firefox&&(this._el.content_item.style.maxWidth=this.options.width/2-40+"px")}}),VCO.Media.GoogleDoc=VCO.Media.extend({includes:[VCO.Events],_loadMedia:function(){var t,e=this;this.message.updateMessage(VCO.Language.messages.loading+" "+this.options.media_name),this._el.content_item=VCO.Dom.create("div","vco-media-item vco-media-iframe",this._el.content),this.media_id=this.data.url,t=this.media_id,this._el.content_item.innerHTML=this.media_id.match(/docs.google.com/i)?"":"",this.onLoaded()},_updateMediaDisplay:function(){this._el.content_item.style.height=this.options.height+"px"}}),VCO.Media.GooglePlus=VCO.Media.extend({includes:[VCO.Events],_loadMedia:function(){var t,e=this;this.message.updateMessage(VCO.Language.messages.loading+" "+this.options.media_name),this._el.content_item=VCO.Dom.create("div","vco-media-item vco-media-googleplus",this._el.content),this.media_id=this.data.url,t=this.media_id,this._el.content_item.innerHTML="",this.onLoaded()},_updateMediaDisplay:function(){this._el.content_item.style.height=this.options.height+"px"}}),VCO.Media.IFrame=VCO.Media.extend({includes:[VCO.Events],_loadMedia:function(){var t,e=this;this.message.updateMessage(VCO.Language.messages.loading+" "+this.options.media_name),this._el.content_item=VCO.Dom.create("div","vco-media-item vco-media-iframe",this._el.content),this.media_id=this.data.url,t=this.media_id,this._el.content_item.innerHTML=t,this.onLoaded()},_updateMediaDisplay:function(){this._el.content_item.style.height=this.options.height+"px"}}),VCO.Media.Image=VCO.Media.extend({includes:[VCO.Events],_loadMedia:function(){this.message.updateMessage(VCO.Language.messages.loading+" "+this.options.media_name),this._el.content_item=VCO.Dom.create("img","vco-media-item vco-media-image vco-media-shadow",this._el.content),this._el.content_item.src=this.data.url,this.onLoaded()},_updateMediaDisplay:function(t){VCO.Browser.firefox&&(this._el.content_item.style.maxWidth=this.options.width/2-40+"px")}}),VCO.Media.SoundCloud=VCO.Media.extend({includes:[VCO.Events],_loadMedia:function(){var t,e=this;this.message.updateMessage(VCO.Language.messages.loading+" "+this.options.media_name),this._el.content_item=VCO.Dom.create("div","vco-media-item vco-media-iframe vco-media-soundcloud vco-media-shadow",this._el.content),this.media_id=this.data.url,t="http://soundcloud.com/oembed?url="+this.media_id+"&format=js&callback=?",VCO.getJSON(t,function(t){e.createMedia(t)})},createMedia:function(t){this._el.content_item.innerHTML=t.html,this.onLoaded()}}),VCO.Media.Storify=VCO.Media.extend({includes:[VCO.Events],_loadMedia:function(){var t;this.message.updateMessage(VCO.Language.messages.loading+" "+this.options.media_name),this._el.content_item=VCO.Dom.create("div","vco-media-item vco-media-iframe vco-media-storify",this._el.content),this.media_id=this.data.url,t="",t+="",this._el.content_item.innerHTML=t,this.onLoaded()},_updateMediaDisplay:function(){this._el.content_item.style.height=this.options.height+"px"}}),VCO.Media.Text=VCO.Class.extend({includes:[VCO.Events],_el:{container:{},content_container:{},content:{},headline:{}},data:{uniqueid:"",headline:"headline",text:"text"},options:{title:!1},initialize:function(t,e,i){VCO.Util.setData(this,t),VCO.Util.mergeData(this.options,e),this._el.container=VCO.Dom.create("div","vco-text"),this._el.container.id=this.data.uniqueid,this._initLayout(),i&&i.appendChild(this._el.container)},show:function(){},hide:function(){},addTo:function(t){t.appendChild(this._el.container)},removeFrom:function(t){t.removeChild(this._el.container)},headlineHeight:function(){return this._el.headline.offsetHeight+40},onLoaded:function(){this.fire("loaded",this.data)},onAdd:function(){this.fire("added",this.data)},onRemove:function(){this.fire("removed",this.data)},_initLayout:function(){if(this._el.content_container=VCO.Dom.create("div","vco-text-content-container",this._el.container),""!=this.data.headline){var t="vco-headline";this.options.title&&(t="vco-headline vco-headline-title"),this._el.headline=VCO.Dom.create("h2",t,this._el.content_container),this._el.headline.innerHTML=this.data.headline}""!=this.data.text&&(this._el.content=VCO.Dom.create("div","vco-text-content",this._el.content_container),this._el.content.innerHTML=VCO.Util.htmlify(this.data.text)),this.onLoaded()}}),VCO.Media.Twitter=VCO.Media.extend({includes:[VCO.Events],_loadMedia:function(){var t,e=this;this.message.updateMessage(VCO.Language.messages.loading+" "+this.options.media_name),this._el.content_item=VCO.Dom.create("div","vco-media-twitter",this._el.content),this.media_id=this.data.url.match("status/")?this.data.url.split("status/")[1]:url.match("statuses/")?this.data.url.split("statuses/")[1]:"",t="https://api.twitter.com/1/statuses/oembed.json?id="+this.media_id+"&omit_script=true&include_entities=true&callback=?",VCO.getJSON(t,function(t){e.createMedia(t)})},createMedia:function(t){var e="",i="",n="",o="",s="",a="";i=t.html.split("

—")[0]+"

",n=t.author_url.split("twitter.com/")[1],o=t.html.split("

—")[1].split('')[0],a=o.split('">')[1].split("")[0],e+=i,e+="",this._el.content_item.innerHTML=e,this.onLoaded()},updateMediaDisplay:function(){},_updateMediaDisplay:function(){}}),VCO.Media.Vimeo=VCO.Media.extend({includes:[VCO.Events],_loadMedia:function(){var t,e=this;this.message.updateMessage(VCO.Language.messages.loading+" "+this.options.media_name),this._el.content_item=VCO.Dom.create("div","vco-media-item vco-media-iframe vco-media-vimeo vco-media-shadow",this._el.content),this.media_id=this.data.url.split(/video\/|\/\/vimeo\.com\//)[1].split(/[?&]/)[0],t="http://player.vimeo.com/video/"+this.media_id+"?api=1&title=0&byline=0&portrait=0&color=ffffff",this.player=VCO.Dom.create("iframe","",this._el.content_item),this.player.width="100%",this.player.height="100%",this.player.frameBorder="0",this.player.src=t,this.onLoaded()},_updateMediaDisplay:function(){this._el.content_item.style.height=VCO.Util.ratio.r16_9({w:this._el.content_item.offsetWidth})+"px"},_stopMedia:function(){try{this.player.contentWindow.postMessage(JSON.stringify({method:"pause"}),"http://player.vimeo.com")}catch(t){trace(t)}}}),VCO.Media.DailyMotion=VCO.Media.extend({includes:[VCO.Events],_loadMedia:function(){var t,e=this;this.message.updateMessage(VCO.Language.messages.loading+" "+this.options.media_name),this._el.content_item=VCO.Dom.create("div","vco-media-item vco-media-iframe vco-media-dailymotion",this._el.content),this.media_id=this.data.url.match("video")?this.data.url.split("video/")[1].split(/[?&]/)[0]:this.data.url.split("embed/")[1].split(/[?&]/)[0],t="http://www.dailymotion.com/embed/video/"+this.media_id,this._el.content_item.innerHTML="",this.onLoaded()},_updateMediaDisplay:function(){this._el.content_item.style.height=VCO.Util.ratio.r16_9({w:this._el.content_item.offsetWidth})+"px"}}),VCO.Media.Vine=VCO.Media.extend({includes:[VCO.Events],_loadMedia:function(){var t,e=this;this.message.updateMessage(VCO.Language.messages.loading+" "+this.options.media_name),this._el.content_item=VCO.Dom.create("div","vco-media-item vco-media-iframe vco-media-vine vco-media-shadow",this._el.content),this.media_id=this.data.url.split("vine.co/v/")[1],t="https://vine.co/v/"+this.media_id+"/embed/simple",this._el.content_item.innerHTML="",this.onLoaded()},_updateMediaDisplay:function(){var t=VCO.Util.ratio.square({w:this._el.content_item.offsetWidth,h:this.options.height});this._el.content_item.style.height=t.h+"px"}}),VCO.Media.Website=VCO.Media.extend({includes:[VCO.Events],_loadMedia:function(){},createMedia:function(t){this.onLoaded()}}),VCO.Media.Wikipedia=VCO.Media.extend({includes:[VCO.Events],_loadMedia:function(){var t,e,i=this;this.message.updateMessage(VCO.Language.messages.loading+" "+this.options.media_name),this._el.content_item=VCO.Dom.create("div","vco-media-item vco-media-wikipedia",this._el.content),this.media_id=this.data.url.split("wiki/")[1].split("#")[0].replace("_"," "),this.media_id=this.media_id.replace(" ","%20"),e=this.data.url.split("//")[1].split(".wikipedia")[0],t="http://"+e+".wikipedia.org/w/api.php?action=query&prop=extracts&redirects=&titles="+this.media_id+"&exintro=1&format=json&callback=?",VCO.getJSON(t,function(t){i.createMedia(t)})},createMedia:function(t){var e="";if(t.query){var i,e={entry:{},title:"",text:"",extract:"",paragraphs:1,text_array:[]};e.entry=VCO.Util.getObjectAttributeByIndex(t.query.pages,0),e.extract=e.entry.extract,e.title=e.entry.title,e.extract.match("

")?e.text_array=e.extract.split("

"):e.text_array.push(e.extract);for(var n=0;n"+e.text_array[n+1]);i="

"+e.title+"

",i+=""+VCO.Language.messages.wikipedia+"",i+=e.text,e.extract.match("REDIRECT")||(this._el.content_item.innerHTML=i,this.onLoaded())}},updateMediaDisplay:function(){},_updateMediaDisplay:function(){}}),VCO.Media.YouTube=VCO.Media.extend({includes:[VCO.Events],_loadMedia:function(){var t=this,e;this.message.updateMessage(VCO.Language.messages.loading+" "+this.options.media_name),this.youtube_loaded=!1,this._el.content_item=VCO.Dom.create("div","vco-media-item vco-media-youtube vco-media-shadow",this._el.content),this._el.content_item.id=VCO.Util.unique_ID(7),e=VCO.Util.getUrlVars(this.data.url),this.media_id={},this.data.url.match("v=")?this.media_id.id=e.v:this.data.url.match("/embed/")?this.media_id.id=this.data.url.split("embed/")[1].split(/[?&]/)[0]:this.data.url.match(/v\/|v=|youtu\.be\//)?this.media_id.id=this.data.url.split(/v\/|v=|youtu\.be\//)[1].split(/[?&]/)[0]:trace("YOUTUBE IN URL BUT NOT A VALID VIDEO"),this.media_id.start=e.t,this.media_id.hd=e.hd,VCO.Load.js("https://www.youtube.com/player_api",function(){t.createMedia()})},_updateMediaDisplay:function(){this._el.content_item.style.height=VCO.Util.ratio.r16_9({w:this._el.content_item.offsetWidth})+"px"},_stopMedia:function(){if(this.youtube_loaded)try{this.player.pauseVideo()}catch(t){trace(t)}},createMedia:function(){var t=this;if("undefined"!=typeof this.media_id.start){var e=this.media_id.start.toString(),i=0,n=0;e.match("m")?(i=parseInt(e.split("m")[0],10),n=parseInt(e.split("m")[1].split("s")[0],10),this.media_id.start=60*i+n):this.media_id.start=0}else this.media_id.start=0;this.media_id.hd="undefined"!=typeof this.media_id.hd?!0:!1,this.createPlayer()},createPlayer:function(){var t=this;clearTimeout(this.timer),"undefined"!=typeof YT&&"undefined"!=typeof YT.Player?this.player=new YT.Player(this._el.content_item.id,{playerVars:{enablejsapi:1,color:"white",showinfo:0,theme:"light",start:this.media_id.start,rel:0},videoId:this.media_id.id,events:{onReady:function(){t.onPlayerReady(),t.onLoaded()},onStateChange:t.onStateChange}}):this.timer=setTimeout(function(){t.createPlayer()},1e3)},onPlayerReady:function(t){this.youtube_loaded=!0},onStateChange:function(t){}}),VCO.Media.Slider=VCO.Media.extend({includes:[VCO.Events],_loadMedia:function(){this._el.content_item=VCO.Dom.create("img","vco-media-item vco-media-image",this._el.content),this._el.content_item.src=this.data.url,this.onLoaded()}}),VCO.Slide=VCO.Class.extend({includes:[VCO.Events,VCO.DomMixins],_el:{},initialize:function(t,e,i){this._el={container:{},scroll_container:{},background:{},content_container:{},content:{}},this._media=null,this._mediaclass={},this._text={},this._state={loaded:!1},this.has={headline:!1,text:!1,media:!1,title:!1,background:{image:!1,color:!1,color_value:"#FFF"}},this.has.title=i,this.data={uniqueid:null,background:null,date:null,location:null,text:null,media:null},this.options={duration:1e3,slide_padding_lr:40,ease:VCO.Ease.easeInSpline,width:600,height:600,skinny_size:650,media_name:""},this.active=!1,this.animator={},VCO.Util.mergeData(this.options,e),VCO.Util.mergeData(this.data,t),this._initLayout(),this._initEvents()},show:function(){trace("show"),this.animator=VCO.Animate(this._el.slider_container,{left:-(this._el.container.offsetWidth*n)+"px",duration:this.options.duration,easing:this.options.ease})},hide:function(){},setActive:function(t){this.active=t,this.active?(this.data.background&&this.fire("background_change",this.has.background),this.loadMedia()):this.stopMedia()},addTo:function(t){t.appendChild(this._el.container)},removeFrom:function(t){t.removeChild(this._el.container)},updateDisplay:function(t,e,i){this._updateDisplay(t,e,i)},loadMedia:function(){this._media&&!this._state.loaded&&(this._media.loadMedia(),this._state.loaded=!0)},stopMedia:function(){this._media&&this._state.loaded&&this._media.stopMedia()},getBackground:function(){return this.has.background},scrollToTop:function(){this._el.container.scrollTop=0},_initLayout:function(){this._el.container=VCO.Dom.create("div","vco-slide"),this.data.uniqueid&&(this._el.container.id=this.data.uniqueid),this._el.scroll_container=VCO.Dom.create("div","vco-slide-scrollable-container",this._el.container),this._el.content_container=VCO.Dom.create("div","vco-slide-content-container",this._el.scroll_container),this._el.content=VCO.Dom.create("div","vco-slide-content",this._el.content_container),this._el.background=VCO.Dom.create("div","vco-slide-background",this._el.container),this.data.background&&(this.data.background.url&&(this.has.background.image=!0,this._el.container.className+=" vco-full-image-background",this.has.background.color_value="#000",this._el.background.style.backgroundImage="url('"+this.data.background.url+"')",this._el.background.style.display="block"),this.data.background.color&&(this.has.background.color=!0,this._el.container.className+=" vco-full-color-background",this.has.background.color_value=this.data.background.color),this.data.background.text_background&&(this._el.container.className+=" vco-text-background")),this.data.media&&this.data.media.url&&""!=this.data.media.url&&(this.has.media=!0),this.data.text&&this.data.text.text&&(this.has.text=!0),this.data.text&&this.data.text.headline&&(this.has.headline=!0),this.has.media&&(this.data.media.mediatype=VCO.MediaType(this.data.media),this.options.media_name=this.data.media.mediatype.name,this.options.media_type=this.data.media.mediatype.type,this._media=new this.data.media.mediatype.cls(this.data.media,this.options)),(this.has.text||this.has.headline)&&(this._text=new VCO.Media.Text(this.data.text,{title:this.has.title})),this.has.text||this.has.headline||!this.has.media?this.has.headline&&this.has.media&&!this.has.text?(this._el.container.className+=" vco-slide-media-only",this._text.addTo(this._el.content),this._media.addTo(this._el.content)):this.has.text&&this.has.media?(this._media.addTo(this._el.content),this._text.addTo(this._el.content)):(this.has.text||this.has.headline)&&(this._el.container.className+=" vco-slide-text-only",this._text.addTo(this._el.content)):(this._el.container.className+=" vco-slide-media-only",this._media.addTo(this._el.content)),this.onLoaded()},_initEvents:function(){},_updateDisplay:function(t,e,i){this.options.width=t?t:this._el.container.offsetWidth,VCO.Browser.mobile&&this.options.width<=this.options.skinny_size?(this._el.content.style.paddingLeft="0px",this._el.content.style.paddingRight="0px",this._el.content.style.width=this.options.width-0+"px"):"landscape"==i?(this._el.content.style.paddingLeft="40px",this._el.content.style.paddingRight="75px",this._el.content.style.width=this.options.width-115+"px"):this.options.width<=this.options.skinny_size?(this._el.content.style.paddingLeft=this.options.slide_padding_lr+"px",this._el.content.style.paddingRight=this.options.slide_padding_lr+"px",this._el.content.style.width=this.options.width-2*this.options.slide_padding_lr+"px"):(this._el.content.style.paddingLeft=this.options.slide_padding_lr+"px",this._el.content.style.paddingRight=this.options.slide_padding_lr+"px",this._el.content.style.width=this.options.width-2*this.options.slide_padding_lr+"px"),this.options.height=e?e:this._el.container.offsetHeight,this._media&&(!this.has.text&&this.has.headline?this._media.updateDisplay(this.options.width,this.options.height-this._text.headlineHeight(),i):this._media.updateDisplay(this.options.width,this.options.height,i))}}),VCO.SlideNav=VCO.Class.extend({includes:[VCO.Events,VCO.DomMixins],_el:{},initialize:function(t,e,i){this._el={container:{},content_container:{},icon:{},title:{},description:{}},this.mediatype={},this.data={title:"Navigation",description:"Description"},this.options={direction:"previous"},this.animator=null,VCO.Util.mergeData(this.options,e),VCO.Util.mergeData(this.data,t),this._el.container=VCO.Dom.create("div","vco-slidenav-"+this.options.direction),VCO.Browser.mobile&&this._el.container.setAttribute("ontouchstart"," "),this._initLayout(),this._initEvents(),i&&i.appendChild(this._el.container)},update:function(t){this._update(t)},setColor:function(t){this._el.content_container.className=t?"vco-slidenav-content-container vco-slidenav-inverted":"vco-slidenav-content-container"},_onMouseClick:function(){this.fire("clicked",this.options)},_update:function(t){this.data=VCO.Util.mergeData(this.data,t),""!=this.data.title&&(this._el.title.innerHTML=this.data.title),""!=this.data.date&&(this._el.description.innerHTML=this.data.description)},_initLayout:function(){this._el.content_container=VCO.Dom.create("div","vco-slidenav-content-container",this._el.container),this._el.icon=VCO.Dom.create("div","vco-slidenav-icon",this._el.content_container),this._el.title=VCO.Dom.create("div","vco-slidenav-title",this._el.content_container),this._el.description=VCO.Dom.create("div","vco-slidenav-description",this._el.content_container),this._el.icon.innerHTML=" ",this._update()},_initEvents:function(){VCO.DomEvent.addListener(this._el.container,"click",this._onMouseClick,this)}}),VCO.StorySlider=VCO.Class.extend({includes:VCO.Events,initialize:function(t,e,i,n){this._el={container:{},background:{},slider_container_mask:{},slider_container:{},slider_item_container:{}},this._nav={},this._nav.previous={},this._nav.next={},this.slide_spacing=0,this._slides=[],this._swipable,this.preloadTimer,this._message,this.current_slide=0,this.data={uniqueid:"",slides:[{uniqueid:"",background:{url:null,color:null,opacity:50},date:null,location:{lat:-9.143962,lon:38.731094,zoom:13,icon:"http://maps.gstatic.com/intl/en_us/mapfiles/ms/micons/blue-pushpin.png"},text:{headline:"Slideshow Example",text:"Example slideshow slide "},media:[{uniqueid:"",text:{headline:"Slideshow Example",text:""},media:{url:"http://2.bp.blogspot.com/-dxJbW0CG8Zs/TmkoMA5-cPI/AAAAAAAAAqw/fQpsz9GpFdo/s1600/voyage-dans-la-lune-1902-02-g.jpg",credit:"",caption:"",link:null,link_target:null}},{uniqueid:"",text:{headline:"Slideshow Example",text:""},media:{url:"http://2.bp.blogspot.com/-dxJbW0CG8Zs/TmkoMA5-cPI/AAAAAAAAAqw/fQpsz9GpFdo/s1600/voyage-dans-la-lune-1902-02-g.jpg",credit:"",caption:"",link:null,link_target:null}},{uniqueid:"",text:{headline:"Slideshow Example",text:""},media:{url:"http://2.bp.blogspot.com/-dxJbW0CG8Zs/TmkoMA5-cPI/AAAAAAAAAqw/fQpsz9GpFdo/s1600/voyage-dans-la-lune-1902-02-g.jpg",credit:"",caption:"",link:null,link_target:null}},{uniqueid:"",text:{headline:"Slideshow Example",text:""},media:{url:"http://2.bp.blogspot.com/-dxJbW0CG8Zs/TmkoMA5-cPI/AAAAAAAAAqw/fQpsz9GpFdo/s1600/voyage-dans-la-lune-1902-02-g.jpg",credit:"",caption:"",link:null,link_target:null}}]},{uniqueid:"",background:{url:null,color:null,opacity:50},date:null,location:{lat:-9.143962,lon:38.731094,zoom:13,icon:"http://maps.gstatic.com/intl/en_us/mapfiles/ms/micons/blue-pushpin.png"},text:{headline:"YouTube",text:"Just add a link to the video in the media field."},media:{url:"http://www.youtube.com/watch?v=lIvftGgps24",credit:"",caption:"",link:null,link_target:null}}]},this.options={id:"",layout:"portrait",width:600,height:600,slide_padding_lr:40,start_at_slide:1,slide_default_fade:"0%",duration:1e3,ease:VCO.Ease.easeInOutQuint,dragging:!0,trackResize:!0},"object"==typeof t?(this._el.container=t,this.options.id=VCO.Util.unique_ID(6,"vco")):(this.options.id=t,this._el.container=VCO.Dom.get(t)),this._el.container.id||(this._el.container.id=this.options.id),this.animator=null,VCO.Util.mergeData(this.options,i),VCO.Util.mergeData(this.data,e),n&&this.init()},init:function(){this._initLayout(),this._initEvents(),this._initData(),this._updateDisplay(),this.goTo(this.options.start_at_slide),this._onLoaded()},updateDisplay:function(t,e,i,n){this._updateDisplay(t,e,i,n)},createSlide:function(t){this._createSlide(t)},createSlides:function(t){this._createSlides(t)},_createSlides:function(t){for(var e=0;e=0&&(this.current_slide=t,this.animator&&this.animator.stop(),this._swipable&&this._swipable.stopMomentum(),e?(this._el.slider_container.style.left=-(this.slide_spacing*t)+"px",this._onSlideChange(i)):this.animator=VCO.Animate(this._el.slider_container,{left:-(this.slide_spacing*t)+"px",duration:this.options.duration,easing:this.options.ease,complete:this._onSlideChange(i)}),this._slides[this.current_slide].setActive(!0),this._slides[this.current_slide+1]?(this.showNav(this._nav.next,!0),this._nav.next.update(this.getNavInfo(this._slides[this.current_slide+1]))):this.showNav(this._nav.next,!1),this._slides[this.current_slide-1]?(this.showNav(this._nav.previous,!0),this._nav.previous.update(this.getNavInfo(this._slides[this.current_slide-1]))):this.showNav(this._nav.previous,!1),this.preloadTimer=setTimeout(function(){n.preloadSlides()},this.options.duration))},preloadSlides:function(){this._slides[this.current_slide+1]&&(this._slides[this.current_slide+1].loadMedia(),this._slides[this.current_slide+1].scrollToTop()),this._slides[this.current_slide+2]&&(this._slides[this.current_slide+2].loadMedia(),this._slides[this.current_slide+2].scrollToTop()),this._slides[this.current_slide-1]&&(this._slides[this.current_slide-1].loadMedia(),this._slides[this.current_slide-1].scrollToTop()),this._slides[this.current_slide-2]&&(this._slides[this.current_slide-2].loadMedia(),this._slides[this.current_slide-2].scrollToTop())},getNavInfo:function(t){var e={title:"",description:""};return t.data.text&&t.data.text.headline&&(e.title=t.data.text.headline),e},next:function(){this.goTo(this.current_slide+1=0?this.current_slide-1:this.current_slide)},showNav:function(t,e){this.options.width<=500&&VCO.Browser.mobile||(e?t.show():t.hide())},changeBackground:function(t){var e={r:256,g:256,b:256},i,n=this.options.slide_default_fade,o="15%",s="0.87",a="";t.color_value&&(e=VCO.Util.hexToRgb(t.color_value)),i=e.r+","+e.g+","+e.b,this._el.background.style.backgroundImage="none","landscape"==this.options.layout?(this._nav.next.setColor(!1),this._nav.previous.setColor(!1),e.r<255&&e.g<255&&e.b<255&&(n="0%"),t.image,a+="background-image: -webkit-linear-gradient(left, color-stop(rgba("+i+",0.0001 ) "+n+"), color-stop(rgba("+i+","+s+") "+o+"));",a+="background-image: linear-gradient(to right, rgba("+i+",0.0001 ) "+n+", rgba("+i+","+s+") "+o+");",a+="background-repeat: repeat-x;",a+="filter: e(%('progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=1)',argb("+i+", 0.0001),argb("+i+",0.80)));",this._el.background.setAttribute("style",a)):(this._el.background.style.backgroundColor=t.color_value?t.color_value:"#FFF",e.r<255&&e.g<255&&e.b<255||t.image?(this._nav.next.setColor(!0),this._nav.previous.setColor(!0)):(this._nav.next.setColor(!1),this._nav.previous.setColor(!1)))},_updateDisplay:function(t,e,i,n){var o,s;s="undefined"==typeof n?this.options.layout:n,this.options.layout=s,this.slide_spacing=2*this.options.width,this.options.width=t?t:this._el.container.offsetWidth,this.options.height=e?e:this._el.container.offsetHeight,o=this.options.height/2,this._nav.next.setPosition({top:o}),this._nav.previous.setPosition({top:o}); for(var a=0;aOK"),this._message.addTo(this._el.container))},_initEvents:function(){this._nav.next.on("clicked",this._onNavigation,this),this._nav.previous.on("clicked",this._onNavigation,this),this._message&&this._message.on("clicked",this._onMessageClick,this),this._swipable&&(this._swipable.on("swipe_left",this._onNavigation,this),this._swipable.on("swipe_right",this._onNavigation,this),this._swipable.on("swipe_nodirection",this._onSwipeNoDirection,this))},_initData:function(){this._createSlides(this.data.slides)},_onBackgroundChange:function(t){var e;e=this._slides[this.current_slide].getBackground(),this.changeBackground(t),this.fire("colorchange",e)},_onMessageClick:function(t){this._message.hide()},_onSwipeNoDirection:function(t){this.goTo(this.current_slide)},_onNavigation:function(t){"next"==t.direction||"left"==t.direction?this.next():("previous"==t.direction||"right"==t.direction)&&this.previous(),this.fire("nav_"+t.direction,this.data)},_onSlideAdded:function(t){trace("slideadded"),this.fire("slideAdded",this.data)},_onSlideRemoved:function(t){this.fire("slideAdded",this.data)},_onSlideChange:function(t){t||this.fire("change",{current_slide:this.current_slide})},_onMouseClick:function(t){},_fireMouseEvent:function(t){if(this._loaded){var e=t.type;e="mouseenter"===e?"mouseover":"mouseleave"===e?"mouseout":e,this.hasEventListeners(e)&&("contextmenu"===e&&VCO.DomEvent.preventDefault(t),this.fire(e,{latlng:"something",layerPoint:"something else"}))}},_onLoaded:function(){this.fire("loaded",this.data)}});var oldL=window.L,L={};L.version="0.7.2","object"==typeof module&&"object"==typeof module.exports?module.exports=L:"function"==typeof define&&define.amd&&define(L),L.noConflict=function(){return window.L=oldL,this},window.L=L,L.Util={extend:function(t){var e=Array.prototype.slice.call(arguments,1),i,n,o,s;for(n=0,o=e.length;o>n;n++){s=e[n]||{};for(i in s)s.hasOwnProperty(i)&&(t[i]=s[i])}return t},bind:function(t,e){var i=arguments.length>2?Array.prototype.slice.call(arguments,2):null;return function(){return t.apply(e,i||arguments)}},stamp:function(){var t=0,e="_leaflet_id";return function(i){return i[e]=i[e]||++t,i[e]}}(),invokeEach:function(t,e,i){var n,o;if("object"==typeof t){o=Array.prototype.slice.call(arguments,3);for(n in t)e.apply(i,[n,t[n]].concat(o));return!0}return!1},limitExecByInterval:function(t,e,i){var n,o;return function s(){var a=arguments;return n?void(o=!0):(n=!0,setTimeout(function(){n=!1,o&&(s.apply(i,a),o=!1)},e),void t.apply(i,a))}},falseFn:function(){return!1},formatNum:function(t,e){var i=Math.pow(10,e||5);return Math.round(t*i)/i},trim:function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")},splitWords:function(t){return L.Util.trim(t).split(/\s+/)},setOptions:function(t,e){return t.options=L.extend({},t.options,e),t.options},getParamString:function(t,e,i){var n=[];for(var o in t)n.push(encodeURIComponent(i?o.toUpperCase():o)+"="+encodeURIComponent(t[o]));return(e&&-1!==e.indexOf("?")?"&":"?")+n.join("&")},template:function(t,e){return t.replace(/\{ *([\w_]+) *\}/g,function(t,i){var n=e[i];if(void 0===n)throw new Error("No value provided for variable "+t);return"function"==typeof n&&(n=n(e)),n})},isArray:Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)},emptyImageUrl:"data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs="},function(){function t(t){var e,i,n=["webkit","moz","o","ms"];for(e=0;et;t++)n._initHooks[t].call(this)}},e},L.Class.include=function(t){L.extend(this.prototype,t)},L.Class.mergeOptions=function(t){L.extend(this.prototype.options,t)},L.Class.addInitHook=function(t){var e=Array.prototype.slice.call(arguments,1),i="function"==typeof t?t:function(){this[t].apply(this,e)};this.prototype._initHooks=this.prototype._initHooks||[],this.prototype._initHooks.push(i)};var eventsKey="_leaflet_events";L.Mixin={},L.Mixin.Events={addEventListener:function(t,e,i){if(L.Util.invokeEach(t,this.addEventListener,this,e,i))return this;var n=this[eventsKey]=this[eventsKey]||{},o=i&&i!==this&&L.stamp(i),s,a,r,h,l,c,u;for(t=L.Util.splitWords(t),s=0,a=t.length;a>s;s++)r={action:e,context:i||this},h=t[s],o?(l=h+"_idx",c=l+"_len",u=n[l]=n[l]||{},u[o]||(u[o]=[],n[c]=(n[c]||0)+1),u[o].push(r)):(n[h]=n[h]||[],n[h].push(r));return this},hasEventListeners:function(t){var e=this[eventsKey];return!!e&&(t in e&&e[t].length>0||t+"_idx"in e&&e[t+"_idx_len"]>0)},removeEventListener:function(t,e,i){if(!this[eventsKey])return this;if(!t)return this.clearAllEventListeners();if(L.Util.invokeEach(t,this.removeEventListener,this,e,i))return this;var n=this[eventsKey],o=i&&i!==this&&L.stamp(i),s,a,r,h,l,c,u,d,m;for(t=L.Util.splitWords(t),s=0,a=t.length;a>s;s++)if(r=t[s],c=r+"_idx",u=c+"_len",d=n[c],e){if(h=o&&d?d[o]:n[r]){for(l=h.length-1;l>=0;l--)h[l].action!==e||i&&h[l].context!==i||(m=h.splice(l,1),m[0].action=L.Util.falseFn);i&&d&&0===h.length&&(delete d[o],n[u]--)}}else delete n[r],delete n[c],delete n[u];return this},clearAllEventListeners:function(){return delete this[eventsKey],this},fireEvent:function(t,e){if(!this.hasEventListeners(t))return this;var i=L.Util.extend({},e,{type:t,target:this}),n=this[eventsKey],o,s,a,r,h;if(n[t])for(o=n[t].slice(),s=0,a=o.length;a>s;s++)o[s].action.call(o[s].context,i);r=n[t+"_idx"];for(h in r)if(o=r[h].slice())for(s=0,a=o.length;a>s;s++)o[s].action.call(o[s].context,i);return this},addOneTimeEventListener:function(t,e,i){if(L.Util.invokeEach(t,this.addOneTimeEventListener,this,e,i))return this;var n=L.bind(function(){this.removeEventListener(t,e,i).removeEventListener(t,n,i)},this);return this.addEventListener(t,e,i).addEventListener(t,n,i)}},L.Mixin.Events.on=L.Mixin.Events.addEventListener,L.Mixin.Events.off=L.Mixin.Events.removeEventListener,L.Mixin.Events.once=L.Mixin.Events.addOneTimeEventListener,L.Mixin.Events.fire=L.Mixin.Events.fireEvent,function(){var t="ActiveXObject"in window,e=t&&!document.addEventListener,i=navigator.userAgent.toLowerCase(),n=-1!==i.indexOf("webkit"),o=-1!==i.indexOf("chrome"),s=-1!==i.indexOf("phantom"),a=-1!==i.indexOf("android"),r=-1!==i.search("android [23]"),h=-1!==i.indexOf("gecko"),l=typeof orientation!=void 0+"",c=window.navigator&&window.navigator.msPointerEnabled&&window.navigator.msMaxTouchPoints&&!window.PointerEvent,u=window.PointerEvent&&window.navigator.pointerEnabled&&window.navigator.maxTouchPoints||c,d="devicePixelRatio"in window&&window.devicePixelRatio>1||"matchMedia"in window&&window.matchMedia("(min-resolution:144dpi)")&&window.matchMedia("(min-resolution:144dpi)").matches,m=document.documentElement,p=t&&"transition"in m.style,_="WebKitCSSMatrix"in window&&"m11"in new window.WebKitCSSMatrix&&!r,f="MozPerspective"in m.style,g="OTransition"in m.style,v=!window.L_DISABLE_3D&&(p||_||f||g)&&!s,y=!window.L_NO_TOUCH&&!s&&function(){var t="ontouchstart";if(u||t in m)return!0;var e=document.createElement("div"),i=!1;return e.setAttribute?(e.setAttribute(t,"return;"),"function"==typeof e[t]&&(i=!0),e.removeAttribute(t),e=null,i):!1}();L.Browser={ie:t,ielt9:e,webkit:n,gecko:h&&!n&&!window.opera&&!t,android:a,android23:r,chrome:o,ie3d:p,webkit3d:_,gecko3d:f,opera3d:g,any3d:v,mobile:l,mobileWebkit:l&&n,mobileWebkit3d:l&&_,mobileOpera:l&&window.opera,touch:y,msPointer:c,pointer:u,retina:d}}(),L.Point=function(t,e,i){this.x=i?Math.round(t):t,this.y=i?Math.round(e):e},L.Point.prototype={clone:function(){return new L.Point(this.x,this.y)},add:function(t){return this.clone()._add(L.point(t))},_add:function(t){return this.x+=t.x,this.y+=t.y,this},subtract:function(t){return this.clone()._subtract(L.point(t))},_subtract:function(t){return this.x-=t.x,this.y-=t.y,this},divideBy:function(t){return this.clone()._divideBy(t)},_divideBy:function(t){return this.x/=t,this.y/=t,this},multiplyBy:function(t){return this.clone()._multiplyBy(t)},_multiplyBy:function(t){return this.x*=t,this.y*=t,this},round:function(){return this.clone()._round()},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this},floor:function(){return this.clone()._floor()},_floor:function(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this},distanceTo:function(t){t=L.point(t);var e=t.x-this.x,i=t.y-this.y;return Math.sqrt(e*e+i*i)},equals:function(t){return t=L.point(t),t.x===this.x&&t.y===this.y},contains:function(t){return t=L.point(t),Math.abs(t.x)<=Math.abs(this.x)&&Math.abs(t.y)<=Math.abs(this.y)},toString:function(){return"Point("+L.Util.formatNum(this.x)+", "+L.Util.formatNum(this.y)+")"}},L.point=function(t,e,i){return t instanceof L.Point?t:L.Util.isArray(t)?new L.Point(t[0],t[1]):void 0===t||null===t?t:new L.Point(t,e,i)},L.Bounds=function(t,e){if(t)for(var i=e?[t,e]:t,n=0,o=i.length;o>n;n++)this.extend(i[n])},L.Bounds.prototype={extend:function(t){return t=L.point(t),this.min||this.max?(this.min.x=Math.min(t.x,this.min.x),this.max.x=Math.max(t.x,this.max.x),this.min.y=Math.min(t.y,this.min.y),this.max.y=Math.max(t.y,this.max.y)):(this.min=t.clone(),this.max=t.clone()),this},getCenter:function(t){return new L.Point((this.min.x+this.max.x)/2,(this.min.y+this.max.y)/2,t)},getBottomLeft:function(){return new L.Point(this.min.x,this.max.y)},getTopRight:function(){return new L.Point(this.max.x,this.min.y)},getSize:function(){return this.max.subtract(this.min)},contains:function(t){var e,i;return t="number"==typeof t[0]||t instanceof L.Point?L.point(t):L.bounds(t),t instanceof L.Bounds?(e=t.min,i=t.max):e=i=t,e.x>=this.min.x&&i.x<=this.max.x&&e.y>=this.min.y&&i.y<=this.max.y},intersects:function(t){t=L.bounds(t);var e=this.min,i=this.max,n=t.min,o=t.max,s=o.x>=e.x&&n.x<=i.x,a=o.y>=e.y&&n.y<=i.y;return s&&a},isValid:function(){return!(!this.min||!this.max)}},L.bounds=function(t,e){return!t||t instanceof L.Bounds?t:new L.Bounds(t,e)},L.Transformation=function(t,e,i,n){this._a=t,this._b=e,this._c=i,this._d=n},L.Transformation.prototype={transform:function(t,e){return this._transform(t.clone(),e)},_transform:function(t,e){return e=e||1,t.x=e*(this._a*t.x+this._b),t.y=e*(this._c*t.y+this._d),t},untransform:function(t,e){return e=e||1,new L.Point((t.x/e-this._b)/this._a,(t.y/e-this._d)/this._c)}},L.DomUtil={get:function(t){return"string"==typeof t?document.getElementById(t):t},getStyle:function(t,e){var i=t.style[e];if(!i&&t.currentStyle&&(i=t.currentStyle[e]),(!i||"auto"===i)&&document.defaultView){var n=document.defaultView.getComputedStyle(t,null);i=n?n[e]:null}return"auto"===i?null:i},getViewportOffset:function(t){var e=0,i=0,n=t,o=document.body,s=document.documentElement,a;do{if(e+=n.offsetTop||0,i+=n.offsetLeft||0,e+=parseInt(L.DomUtil.getStyle(n,"borderTopWidth"),10)||0,i+=parseInt(L.DomUtil.getStyle(n,"borderLeftWidth"),10)||0,a=L.DomUtil.getStyle(n,"position"),n.offsetParent===o&&"absolute"===a)break;if("fixed"===a){e+=o.scrollTop||s.scrollTop||0,i+=o.scrollLeft||s.scrollLeft||0;break}if("relative"===a&&!n.offsetLeft){var r=L.DomUtil.getStyle(n,"width"),h=L.DomUtil.getStyle(n,"max-width"),l=n.getBoundingClientRect();("none"!==r||"none"!==h)&&(i+=l.left+n.clientLeft),e+=l.top+(o.scrollTop||s.scrollTop||0);break}n=n.offsetParent}while(n);n=t;do{if(n===o)break;e-=n.scrollTop||0,i-=n.scrollLeft||0,n=n.parentNode}while(n);return new L.Point(i,e)},documentIsLtr:function(){return L.DomUtil._docIsLtrCached||(L.DomUtil._docIsLtrCached=!0,L.DomUtil._docIsLtr="ltr"===L.DomUtil.getStyle(document.body,"direction")),L.DomUtil._docIsLtr},create:function(t,e,i){var n=document.createElement(t);return n.className=e,i&&i.appendChild(n),n},hasClass:function(t,e){if(void 0!==t.classList)return t.classList.contains(e);var i=L.DomUtil._getClass(t);return i.length>0&&new RegExp("(^|\\s)"+e+"(\\s|$)").test(i)},addClass:function(t,e){if(void 0!==t.classList)for(var i=L.Util.splitWords(e),n=0,o=i.length;o>n;n++)t.classList.add(i[n]);else if(!L.DomUtil.hasClass(t,e)){var s=L.DomUtil._getClass(t);L.DomUtil._setClass(t,(s?s+" ":"")+e)}},removeClass:function(t,e){void 0!==t.classList?t.classList.remove(e):L.DomUtil._setClass(t,L.Util.trim((" "+L.DomUtil._getClass(t)+" ").replace(" "+e+" "," ")))},_setClass:function(t,e){void 0===t.className.baseVal?t.className=e:t.className.baseVal=e},_getClass:function(t){return void 0===t.className.baseVal?t.className:t.className.baseVal},setOpacity:function(t,e){if("opacity"in t.style)t.style.opacity=e;else if("filter"in t.style){var i=!1,n="DXImageTransform.Microsoft.Alpha";try{i=t.filters.item(n)}catch(o){if(1===e)return}e=Math.round(100*e),i?(i.Enabled=100!==e,i.Opacity=e):t.style.filter+=" progid:"+n+"(opacity="+e+")"}},testProp:function(t){for(var e=document.documentElement.style,i=0;ii||i===e?e:t),new L.LatLng(this.lat,i)}},L.latLng=function(t,e){return t instanceof L.LatLng?t:L.Util.isArray(t)?"number"==typeof t[0]||"string"==typeof t[0]?new L.LatLng(t[0],t[1],t[2]):null:void 0===t||null===t?t:"object"==typeof t&&"lat"in t?new L.LatLng(t.lat,"lng"in t?t.lng:t.lon):void 0===e?null:new L.LatLng(t,e)},L.LatLngBounds=function(t,e){if(t)for(var i=e?[t,e]:t,n=0,o=i.length;o>n;n++)this.extend(i[n])},L.LatLngBounds.prototype={extend:function(t){if(!t)return this;var e=L.latLng(t);return t=null!==e?e:L.latLngBounds(t),t instanceof L.LatLng?this._southWest||this._northEast?(this._southWest.lat=Math.min(t.lat,this._southWest.lat),this._southWest.lng=Math.min(t.lng,this._southWest.lng),this._northEast.lat=Math.max(t.lat,this._northEast.lat),this._northEast.lng=Math.max(t.lng,this._northEast.lng)):(this._southWest=new L.LatLng(t.lat,t.lng),this._northEast=new L.LatLng(t.lat,t.lng)):t instanceof L.LatLngBounds&&(this.extend(t._southWest),this.extend(t._northEast)),this},pad:function(t){var e=this._southWest,i=this._northEast,n=Math.abs(e.lat-i.lat)*t,o=Math.abs(e.lng-i.lng)*t;return new L.LatLngBounds(new L.LatLng(e.lat-n,e.lng-o),new L.LatLng(i.lat+n,i.lng+o))},getCenter:function(){return new L.LatLng((this._southWest.lat+this._northEast.lat)/2,(this._southWest.lng+this._northEast.lng)/2)},getSouthWest:function(){return this._southWest},getNorthEast:function(){return this._northEast},getNorthWest:function(){return new L.LatLng(this.getNorth(),this.getWest())},getSouthEast:function(){return new L.LatLng(this.getSouth(),this.getEast())},getWest:function(){return this._southWest.lng},getSouth:function(){return this._southWest.lat},getEast:function(){return this._northEast.lng},getNorth:function(){return this._northEast.lat},contains:function(t){t="number"==typeof t[0]||t instanceof L.LatLng?L.latLng(t):L.latLngBounds(t);var e=this._southWest,i=this._northEast,n,o;return t instanceof L.LatLngBounds?(n=t.getSouthWest(),o=t.getNorthEast()):n=o=t,n.lat>=e.lat&&o.lat<=i.lat&&n.lng>=e.lng&&o.lng<=i.lng},intersects:function(t){t=L.latLngBounds(t);var e=this._southWest,i=this._northEast,n=t.getSouthWest(),o=t.getNorthEast(),s=o.lat>=e.lat&&n.lat<=i.lat,a=o.lng>=e.lng&&n.lng<=i.lng;return s&&a},toBBoxString:function(){return[this.getWest(),this.getSouth(),this.getEast(),this.getNorth()].join(",")},equals:function(t){return t?(t=L.latLngBounds(t),this._southWest.equals(t.getSouthWest())&&this._northEast.equals(t.getNorthEast())):!1},isValid:function(){return!(!this._southWest||!this._northEast)}},L.latLngBounds=function(t,e){return!t||t instanceof L.LatLngBounds?t:new L.LatLngBounds(t,e)},L.Projection={},L.Projection.SphericalMercator={MAX_LATITUDE:85.0511287798,project:function(t){var e=L.LatLng.DEG_TO_RAD,i=this.MAX_LATITUDE,n=Math.max(Math.min(i,t.lat),-i),o=t.lng*e,s=n*e;return s=Math.log(Math.tan(Math.PI/4+s/2)),new L.Point(o,s)},unproject:function(t){var e=L.LatLng.RAD_TO_DEG,i=t.x*e,n=(2*Math.atan(Math.exp(t.y))-Math.PI/2)*e;return new L.LatLng(n,i)}},L.Projection.LonLat={project:function(t){return new L.Point(t.lng,t.lat)},unproject:function(t){return new L.LatLng(t.y,t.x)}},L.CRS={latLngToPoint:function(t,e){var i=this.projection.project(t),n=this.scale(e);return this.transformation._transform(i,n)},pointToLatLng:function(t,e){var i=this.scale(e),n=this.transformation.untransform(t,i);return this.projection.unproject(n)},project:function(t){return this.projection.project(t)},scale:function(t){return 256*Math.pow(2,t)},getSize:function(t){var e=this.scale(t);return L.point(e,e)}},L.CRS.Simple=L.extend({},L.CRS,{projection:L.Projection.LonLat,transformation:new L.Transformation(1,0,-1,0),scale:function(t){return Math.pow(2,t)}}),L.CRS.EPSG3857=L.extend({},L.CRS,{code:"EPSG:3857",projection:L.Projection.SphericalMercator,transformation:new L.Transformation(.5/Math.PI,.5,-.5/Math.PI,.5),project:function(t){var e=this.projection.project(t),i=6378137;return e.multiplyBy(i)}}),L.CRS.EPSG900913=L.extend({},L.CRS.EPSG3857,{code:"EPSG:900913"}),L.CRS.EPSG4326=L.extend({},L.CRS,{code:"EPSG:4326",projection:L.Projection.LonLat,transformation:new L.Transformation(1/360,.5,-1/360,.5)}),L.Map=L.Class.extend({includes:L.Mixin.Events,options:{crs:L.CRS.EPSG3857,fadeAnimation:L.DomUtil.TRANSITION&&!L.Browser.android23,trackResize:!0,markerZoomAnimation:L.DomUtil.TRANSITION&&L.Browser.any3d},initialize:function(t,e){e=L.setOptions(this,e),this._initContainer(t),this._initLayout(),this._onResize=L.bind(this._onResize,this),this._initEvents(),e.maxBounds&&this.setMaxBounds(e.maxBounds),e.center&&void 0!==e.zoom&&this.setView(L.latLng(e.center),e.zoom,{reset:!0}),this._handlers=[],this._layers={},this._zoomBoundLayers={},this._tileLayersNum=0,this.callInitHooks(),this._addLayers(e.layers)},setView:function(t,e){return e=void 0===e?this.getZoom():e,this._resetView(L.latLng(t),this._limitZoom(e)),this},setZoom:function(t,e){return this._loaded?this.setView(this.getCenter(),t,{zoom:e}):(this._zoom=this._limitZoom(t),this)},zoomIn:function(t,e){return this.setZoom(this._zoom+(t||1),e)},zoomOut:function(t,e){return this.setZoom(this._zoom-(t||1),e)},setZoomAround:function(t,e,i){var n=this.getZoomScale(e),o=this.getSize().divideBy(2),s=t instanceof L.Point?t:this.latLngToContainerPoint(t),a=s.subtract(o).multiplyBy(1-1/n),r=this.containerPointToLatLng(o.add(a));return this.setView(r,e,{zoom:i})},fitBounds:function(t,e){e=e||{},t=t.getBounds?t.getBounds():L.latLngBounds(t);var i=L.point(e.paddingTopLeft||e.padding||[0,0]),n=L.point(e.paddingBottomRight||e.padding||[0,0]),o=this.getBoundsZoom(t,!1,i.add(n)),s=n.subtract(i).divideBy(2),a=this.project(t.getSouthWest(),o),r=this.project(t.getNorthEast(),o),h=this.unproject(a.add(r).divideBy(2).add(s),o);return o=e&&e.maxZoom?Math.min(e.maxZoom,o):o,this.setView(h,o,e)},fitWorld:function(t){return this.fitBounds([[-90,-180],[90,180]],t)},panTo:function(t,e){return this.setView(t,this._zoom,{pan:e})},panBy:function(t){return this.fire("movestart"),this._rawPanBy(L.point(t)),this.fire("move"),this.fire("moveend")},setMaxBounds:function(t){return t=L.latLngBounds(t),this.options.maxBounds=t,t?(this._loaded&&this._panInsideMaxBounds(),this.on("moveend",this._panInsideMaxBounds,this)):this.off("moveend",this._panInsideMaxBounds,this)},panInsideBounds:function(t,e){var i=this.getCenter(),n=this._limitCenter(i,this._zoom,t);return i.equals(n)?this:this.panTo(n,e)},addLayer:function(t){var e=L.stamp(t);return this._layers[e]?this:(this._layers[e]=t,!t.options||isNaN(t.options.maxZoom)&&isNaN(t.options.minZoom)||(this._zoomBoundLayers[e]=t,this._updateZoomLevels()),this.options.zoomAnimation&&L.TileLayer&&t instanceof L.TileLayer&&(this._tileLayersNum++,this._tileLayersToLoad++,t.on("load",this._onTileLayerLoad,this)),this._loaded&&this._layerAdd(t),this)},removeLayer:function(t){var e=L.stamp(t);return this._layers[e]?(this._loaded&&t.onRemove(this),delete this._layers[e],this._loaded&&this.fire("layerremove",{layer:t}),this._zoomBoundLayers[e]&&(delete this._zoomBoundLayers[e],this._updateZoomLevels()),this.options.zoomAnimation&&L.TileLayer&&t instanceof L.TileLayer&&(this._tileLayersNum--,this._tileLayersToLoad--,t.off("load",this._onTileLayerLoad,this)),this):this},hasLayer:function(t){return t?L.stamp(t)in this._layers:!1},eachLayer:function(t,e){for(var i in this._layers)t.call(e,this._layers[i]);return this},invalidateSize:function(t){if(!this._loaded)return this;t=L.extend({animate:!1,pan:!0},t===!0?{animate:!0}:t);var e=this.getSize();this._sizeChanged=!0,this._initialCenter=null;var i=this.getSize(),n=e.divideBy(2).round(),o=i.divideBy(2).round(),s=n.subtract(o);return s.x||s.y?(t.animate&&t.pan?this.panBy(s):(t.pan&&this._rawPanBy(s),this.fire("move"),t.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(L.bind(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:e,newSize:i})):this},addHandler:function(t,e){if(!e)return this;var i=this[t]=new e(this);return this._handlers.push(i),this.options[t]&&i.enable(),this},remove:function(){this._loaded&&this.fire("unload"),this._initEvents("off");try{delete this._container._leaflet}catch(t){this._container._leaflet=void 0}return this._clearPanes(),this._clearControlPos&&this._clearControlPos(),this._clearHandlers(),this},getCenter:function(){return this._checkIfLoaded(),this._initialCenter&&!this._moved()?this._initialCenter:this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var t=this.getPixelBounds(),e=this.unproject(t.getBottomLeft()),i=this.unproject(t.getTopRight());return new L.LatLngBounds(e,i)},getMinZoom:function(){return void 0===this.options.minZoom?void 0===this._layersMinZoom?0:this._layersMinZoom:this.options.minZoom},getMaxZoom:function(){return void 0===this.options.maxZoom?void 0===this._layersMaxZoom?1/0:this._layersMaxZoom:this.options.maxZoom},getBoundsZoom:function(t,e,i){t=L.latLngBounds(t);var n=this.getMinZoom()-(e?1:0),o=this.getMaxZoom(),s=this.getSize(),a=t.getNorthWest(),r=t.getSouthEast(),h=!0,l;i=L.point(i||[0,0]);do n++,l=this.project(r,n).subtract(this.project(a,n)).add(i),h=e?l.x=n);return h&&e?null:e?n:n-1},getSize:function(){return(!this._size||this._sizeChanged)&&(this._size=new L.Point(this._container.clientWidth,this._container.clientHeight),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(){var t=this._getTopLeftPoint();return new L.Bounds(t,t.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._initialTopLeftPoint},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(t){var e=this.options.crs;return e.scale(t)/e.scale(this._zoom)},getScaleZoom:function(t){return this._zoom+Math.log(t)/Math.LN2},project:function(t,e){return e=void 0===e?this._zoom:e,this.options.crs.latLngToPoint(L.latLng(t),e)},unproject:function(t,e){return e=void 0===e?this._zoom:e,this.options.crs.pointToLatLng(L.point(t),e)},layerPointToLatLng:function(t){var e=L.point(t).add(this.getPixelOrigin());return this.unproject(e)},latLngToLayerPoint:function(t){var e=this.project(L.latLng(t))._round();return e._subtract(this.getPixelOrigin())},containerPointToLayerPoint:function(t){return L.point(t).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(t){return L.point(t).add(this._getMapPanePos())},containerPointToLatLng:function(t){var e=this.containerPointToLayerPoint(L.point(t));return this.layerPointToLatLng(e)},latLngToContainerPoint:function(t){return this.layerPointToContainerPoint(this.latLngToLayerPoint(L.latLng(t)))},mouseEventToContainerPoint:function(t){return L.DomEvent.getMousePosition(t,this._container)},mouseEventToLayerPoint:function(t){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(t))},mouseEventToLatLng:function(t){return this.layerPointToLatLng(this.mouseEventToLayerPoint(t))},_initContainer:function(t){var e=this._container=L.DomUtil.get(t);if(!e)throw new Error("Map container not found.");if(e._leaflet)throw new Error("Map container is already initialized.");e._leaflet=!0},_initLayout:function(){var t=this._container;L.DomUtil.addClass(t,"leaflet-container"+(L.Browser.touch?" leaflet-touch":"")+(L.Browser.retina?" leaflet-retina":"")+(L.Browser.ielt9?" leaflet-oldie":"")+(this.options.fadeAnimation?" leaflet-fade-anim":""));var e=L.DomUtil.getStyle(t,"position");"absolute"!==e&&"relative"!==e&&"fixed"!==e&&(t.style.position="relative"),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var t=this._panes={};this._mapPane=t.mapPane=this._createPane("leaflet-map-pane",this._container),this._tilePane=t.tilePane=this._createPane("leaflet-tile-pane",this._mapPane),t.objectsPane=this._createPane("leaflet-objects-pane",this._mapPane),t.shadowPane=this._createPane("leaflet-shadow-pane"),t.overlayPane=this._createPane("leaflet-overlay-pane"),t.markerPane=this._createPane("leaflet-marker-pane"),t.popupPane=this._createPane("leaflet-popup-pane");var e=" leaflet-zoom-hide";this.options.markerZoomAnimation||(L.DomUtil.addClass(t.markerPane,e),L.DomUtil.addClass(t.shadowPane,e),L.DomUtil.addClass(t.popupPane,e))},_createPane:function(t,e){return L.DomUtil.create("div",t,e||this._panes.objectsPane)},_clearPanes:function(){this._container.removeChild(this._mapPane)},_addLayers:function(t){t=t?L.Util.isArray(t)?t:[t]:[];for(var e=0,i=t.length;i>e;e++)this.addLayer(t[e])},_resetView:function(t,e,i,n){var o=this._zoom!==e;n||(this.fire("movestart"),o&&this.fire("zoomstart")),this._zoom=e,this._initialCenter=t,this._initialTopLeftPoint=this._getNewTopLeftPoint(t),i?this._initialTopLeftPoint._add(this._getMapPanePos()):L.DomUtil.setPosition(this._mapPane,new L.Point(0,0)),this._tileLayersToLoad=this._tileLayersNum;var s=!this._loaded;this._loaded=!0,s&&(this.fire("load"),this.eachLayer(this._layerAdd,this)),this.fire("viewreset",{hard:!i}),this.fire("move"),(o||n)&&this.fire("zoomend"),this.fire("moveend",{hard:!i})},_rawPanBy:function(t){L.DomUtil.setPosition(this._mapPane,this._getMapPanePos().subtract(t))},_getZoomSpan:function(){return this.getMaxZoom()-this.getMinZoom()},_updateZoomLevels:function(){var t,e=1/0,i=-1/0,n=this._getZoomSpan();for(t in this._zoomBoundLayers){var o=this._zoomBoundLayers[t];isNaN(o.options.minZoom)||(e=Math.min(e,o.options.minZoom)),isNaN(o.options.maxZoom)||(i=Math.max(i,o.options.maxZoom))}void 0===t?this._layersMaxZoom=this._layersMinZoom=void 0:(this._layersMaxZoom=i,this._layersMinZoom=e),n!==this._getZoomSpan()&&this.fire("zoomlevelschange")},_panInsideMaxBounds:function(){this.panInsideBounds(this.options.maxBounds)},_checkIfLoaded:function(){if(!this._loaded)throw new Error("Set map center and zoom first.")},_initEvents:function(t){if(L.DomEvent){t=t||"on",L.DomEvent[t](this._container,"click",this._onMouseClick,this);var e=["dblclick","mousedown","mouseup","mouseenter","mouseleave","mousemove","contextmenu"],i,n; for(i=0,n=e.length;n>i;i++)L.DomEvent[t](this._container,e[i],this._fireMouseEvent,this);this.options.trackResize&&L.DomEvent[t](window,"resize",this._onResize,this)}},_onResize:function(){L.Util.cancelAnimFrame(this._resizeRequest),this._resizeRequest=L.Util.requestAnimFrame(function(){this.invalidateSize({debounceMoveend:!0})},this,!1,this._container)},_onMouseClick:function(t){!this._loaded||!t._simulated&&(this.dragging&&this.dragging.moved()||this.boxZoom&&this.boxZoom.moved())||L.DomEvent._skipped(t)||(this.fire("preclick"),this._fireMouseEvent(t))},_fireMouseEvent:function(t){if(this._loaded&&!L.DomEvent._skipped(t)){var e=t.type;if(e="mouseenter"===e?"mouseover":"mouseleave"===e?"mouseout":e,this.hasEventListeners(e)){"contextmenu"===e&&L.DomEvent.preventDefault(t);var i=this.mouseEventToContainerPoint(t),n=this.containerPointToLayerPoint(i),o=this.layerPointToLatLng(n);this.fire(e,{latlng:o,layerPoint:n,containerPoint:i,originalEvent:t})}}},_onTileLayerLoad:function(){this._tileLayersToLoad--,this._tileLayersNum&&!this._tileLayersToLoad&&this.fire("tilelayersload")},_clearHandlers:function(){for(var t=0,e=this._handlers.length;e>t;t++)this._handlers[t].disable()},whenReady:function(t,e){return this._loaded?t.call(e||this,this):this.on("load",t,e),this},_layerAdd:function(t){t.onAdd(this),this.fire("layeradd",{layer:t})},_getMapPanePos:function(){return L.DomUtil.getPosition(this._mapPane)},_moved:function(){var t=this._getMapPanePos();return t&&!t.equals([0,0])},_getTopLeftPoint:function(){return this.getPixelOrigin().subtract(this._getMapPanePos())},_getNewTopLeftPoint:function(t,e){var i=this.getSize()._divideBy(2);return this.project(t,e)._subtract(i)._round()},_latLngToNewLayerPoint:function(t,e,i){var n=this._getNewTopLeftPoint(i,e).add(this._getMapPanePos());return this.project(t,e)._subtract(n)},_getCenterLayerPoint:function(){return this.containerPointToLayerPoint(this.getSize()._divideBy(2))},_getCenterOffset:function(t){return this.latLngToLayerPoint(t).subtract(this._getCenterLayerPoint())},_limitCenter:function(t,e,i){if(!i)return t;var n=this.project(t,e),o=this.getSize().divideBy(2),s=new L.Bounds(n.subtract(o),n.add(o)),a=this._getBoundsOffset(s,i,e);return this.unproject(n.add(a),e)},_limitOffset:function(t,e){if(!e)return t;var i=this.getPixelBounds(),n=new L.Bounds(i.min.add(t),i.max.add(t));return t.add(this._getBoundsOffset(n,e))},_getBoundsOffset:function(t,e,i){var n=this.project(e.getNorthWest(),i).subtract(t.min),o=this.project(e.getSouthEast(),i).subtract(t.max),s=this._rebound(n.x,-o.x),a=this._rebound(n.y,-o.y);return new L.Point(s,a)},_rebound:function(t,e){return t+e>0?Math.round(t-e)/2:Math.max(0,Math.ceil(t))-Math.max(0,Math.floor(e))},_limitZoom:function(t){var e=this.getMinZoom(),i=this.getMaxZoom();return Math.max(e,Math.min(i,t))}}),L.map=function(t,e){return new L.Map(t,e)},L.DomEvent={addListener:function(t,e,i,n){var o=L.stamp(i),s="_leaflet_"+e+o,a,r,h;return t[s]?this:(a=function(e){return i.call(n||t,e||L.DomEvent._getEvent())},L.Browser.pointer&&0===e.indexOf("touch")?this.addPointerListener(t,e,a,o):(L.Browser.touch&&"dblclick"===e&&this.addDoubleTapListener&&this.addDoubleTapListener(t,a,o),"addEventListener"in t?"mousewheel"===e?(t.addEventListener("DOMMouseScroll",a,!1),t.addEventListener(e,a,!1)):"mouseenter"===e||"mouseleave"===e?(r=a,h="mouseenter"===e?"mouseover":"mouseout",a=function(e){return L.DomEvent._checkMouse(t,e)?r(e):void 0},t.addEventListener(h,a,!1)):"click"===e&&L.Browser.android?(r=a,a=function(t){return L.DomEvent._filterClick(t,r)},t.addEventListener(e,a,!1)):t.addEventListener(e,a,!1):"attachEvent"in t&&t.attachEvent("on"+e,a),t[s]=a,this))},removeListener:function(t,e,i){var n=L.stamp(i),o="_leaflet_"+e+n,s=t[o];return s?(L.Browser.pointer&&0===e.indexOf("touch")?this.removePointerListener(t,e,n):L.Browser.touch&&"dblclick"===e&&this.removeDoubleTapListener?this.removeDoubleTapListener(t,n):"removeEventListener"in t?"mousewheel"===e?(t.removeEventListener("DOMMouseScroll",s,!1),t.removeEventListener(e,s,!1)):"mouseenter"===e||"mouseleave"===e?t.removeEventListener("mouseenter"===e?"mouseover":"mouseout",s,!1):t.removeEventListener(e,s,!1):"detachEvent"in t&&t.detachEvent("on"+e,s),t[o]=null,this):this},stopPropagation:function(t){return t.stopPropagation?t.stopPropagation():t.cancelBubble=!0,L.DomEvent._skipped(t),this},disableScrollPropagation:function(t){var e=L.DomEvent.stopPropagation;return L.DomEvent.on(t,"mousewheel",e).on(t,"MozMousePixelScroll",e)},disableClickPropagation:function(t){for(var e=L.DomEvent.stopPropagation,i=L.Draggable.START.length-1;i>=0;i--)L.DomEvent.on(t,L.Draggable.START[i],e);return L.DomEvent.on(t,"click",L.DomEvent._fakeStop).on(t,"dblclick",e)},preventDefault:function(t){return t.preventDefault?t.preventDefault():t.returnValue=!1,this},stop:function(t){return L.DomEvent.preventDefault(t).stopPropagation(t)},getMousePosition:function(t,e){if(!e)return new L.Point(t.clientX,t.clientY);var i=e.getBoundingClientRect();return new L.Point(t.clientX-i.left-e.clientLeft,t.clientY-i.top-e.clientTop)},getWheelDelta:function(t){var e=0;return t.wheelDelta&&(e=t.wheelDelta/120),t.detail&&(e=-t.detail/3),e},_skipEvents:{},_fakeStop:function(t){L.DomEvent._skipEvents[t.type]=!0},_skipped:function(t){var e=this._skipEvents[t.type];return this._skipEvents[t.type]=!1,e},_checkMouse:function(t,e){var i=e.relatedTarget;if(!i)return!0;try{for(;i&&i!==t;)i=i.parentNode}catch(n){return!1}return i!==t},_getEvent:function(){var t=window.event;if(!t)for(var e=arguments.callee.caller;e&&(t=e.arguments[0],!t||window.Event!==t.constructor);)e=e.caller;return t},_filterClick:function(t,e){var i=t.timeStamp||t.originalEvent.timeStamp,n=L.DomEvent._lastClick&&i-L.DomEvent._lastClick;return n&&n>100&&1e3>n||t.target._simulatedClick&&!t._simulated?void L.DomEvent.stop(t):(L.DomEvent._lastClick=i,e(t))}},L.DomEvent.on=L.DomEvent.addListener,L.DomEvent.off=L.DomEvent.removeListener,L.Draggable=L.Class.extend({includes:L.Mixin.Events,statics:{START:L.Browser.touch?["touchstart","mousedown"]:["mousedown"],END:{mousedown:"mouseup",touchstart:"touchend",pointerdown:"touchend",MSPointerDown:"touchend"},MOVE:{mousedown:"mousemove",touchstart:"touchmove",pointerdown:"touchmove",MSPointerDown:"touchmove"}},initialize:function(t,e){this._element=t,this._dragStartTarget=e||t},enable:function(){if(!this._enabled){for(var t=L.Draggable.START.length-1;t>=0;t--)L.DomEvent.on(this._dragStartTarget,L.Draggable.START[t],this._onDown,this);this._enabled=!0}},disable:function(){if(this._enabled){for(var t=L.Draggable.START.length-1;t>=0;t--)L.DomEvent.off(this._dragStartTarget,L.Draggable.START[t],this._onDown,this);this._enabled=!1,this._moved=!1}},_onDown:function(t){if(this._moved=!1,!(t.shiftKey||1!==t.which&&1!==t.button&&!t.touches||(L.DomEvent.stopPropagation(t),L.Draggable._disabled||(L.DomUtil.disableImageDrag(),L.DomUtil.disableTextSelection(),this._moving)))){var e=t.touches?t.touches[0]:t;this._startPoint=new L.Point(e.clientX,e.clientY),this._startPos=this._newPos=L.DomUtil.getPosition(this._element),L.DomEvent.on(document,L.Draggable.MOVE[t.type],this._onMove,this).on(document,L.Draggable.END[t.type],this._onUp,this)}},_onMove:function(t){if(t.touches&&t.touches.length>1)return void(this._moved=!0);var e=t.touches&&1===t.touches.length?t.touches[0]:t,i=new L.Point(e.clientX,e.clientY),n=i.subtract(this._startPoint);(n.x||n.y)&&(L.DomEvent.preventDefault(t),this._moved||(this.fire("dragstart"),this._moved=!0,this._startPos=L.DomUtil.getPosition(this._element).subtract(n),L.DomUtil.addClass(document.body,"leaflet-dragging"),L.DomUtil.addClass(t.target||t.srcElement,"leaflet-drag-target")),this._newPos=this._startPos.add(n),this._moving=!0,L.Util.cancelAnimFrame(this._animRequest),this._animRequest=L.Util.requestAnimFrame(this._updatePosition,this,!0,this._dragStartTarget))},_updatePosition:function(){this.fire("predrag"),L.DomUtil.setPosition(this._element,this._newPos),this.fire("drag")},_onUp:function(t){L.DomUtil.removeClass(document.body,"leaflet-dragging"),L.DomUtil.removeClass(t.target||t.srcElement,"leaflet-drag-target");for(var e in L.Draggable.MOVE)L.DomEvent.off(document,L.Draggable.MOVE[e],this._onMove).off(document,L.Draggable.END[e],this._onUp);L.DomUtil.enableImageDrag(),L.DomUtil.enableTextSelection(),this._moved&&this._moving&&(L.Util.cancelAnimFrame(this._animRequest),this.fire("dragend",{distance:this._newPos.distanceTo(this._startPos)})),this._moving=!1}}),L.Handler=L.Class.extend({initialize:function(t){this._map=t},enable:function(){this._enabled||(this._enabled=!0,this.addHooks())},disable:function(){this._enabled&&(this._enabled=!1,this.removeHooks())},enabled:function(){return!!this._enabled}}),L.Control=L.Class.extend({options:{position:"topright"},initialize:function(t){L.setOptions(this,t)},getPosition:function(){return this.options.position},setPosition:function(t){var e=this._map;return e&&e.removeControl(this),this.options.position=t,e&&e.addControl(this),this},getContainer:function(){return this._container},addTo:function(t){this._map=t;var e=this._container=this.onAdd(t),i=this.getPosition(),n=t._controlCorners[i];return L.DomUtil.addClass(e,"leaflet-control"),-1!==i.indexOf("bottom")?n.insertBefore(e,n.firstChild):n.appendChild(e),this},removeFrom:function(t){var e=this.getPosition(),i=t._controlCorners[e];return i.removeChild(this._container),this._map=null,this.onRemove&&this.onRemove(t),this},_refocusOnMap:function(){this._map&&this._map.getContainer().focus()}}),L.control=function(t){return new L.Control(t)},L.Map.include({addControl:function(t){return t.addTo(this),this},removeControl:function(t){return t.removeFrom(this),this},_initControlPos:function(){function t(t,o){var s=i+t+" "+i+o;e[t+o]=L.DomUtil.create("div",s,n)}var e=this._controlCorners={},i="leaflet-",n=this._controlContainer=L.DomUtil.create("div",i+"control-container",this._container);t("top","left"),t("top","right"),t("bottom","left"),t("bottom","right")},_clearControlPos:function(){this._container.removeChild(this._controlContainer)}}),L.TileLayer=L.Class.extend({includes:L.Mixin.Events,options:{minZoom:0,maxZoom:18,tileSize:256,subdomains:"abc",errorTileUrl:"",attribution:"",zoomOffset:0,opacity:1,unloadInvisibleTiles:L.Browser.mobile,updateWhenIdle:L.Browser.mobile},initialize:function(t,e){e=L.setOptions(this,e),e.detectRetina&&L.Browser.retina&&e.maxZoom>0&&(e.tileSize=Math.floor(e.tileSize/2),e.zoomOffset++,e.minZoom>0&&e.minZoom--,this.options.maxZoom--),e.bounds&&(e.bounds=L.latLngBounds(e.bounds)),this._url=t;var i=this.options.subdomains;"string"==typeof i&&(this.options.subdomains=i.split(""))},onAdd:function(t){this._map=t,this._animated=t._zoomAnimated,this._initContainer(),t.on({viewreset:this._reset,moveend:this._update},this),this._animated&&t.on({zoomanim:this._animateZoom,zoomend:this._endZoomAnim},this),this.options.updateWhenIdle||(this._limitedUpdate=L.Util.limitExecByInterval(this._update,150,this),t.on("move",this._limitedUpdate,this)),this._reset(),this._update()},addTo:function(t){return t.addLayer(this),this},onRemove:function(t){this._container.parentNode.removeChild(this._container),t.off({viewreset:this._reset,moveend:this._update},this),this._animated&&t.off({zoomanim:this._animateZoom,zoomend:this._endZoomAnim},this),this.options.updateWhenIdle||t.off("move",this._limitedUpdate,this),this._container=null,this._map=null},bringToFront:function(){var t=this._map._panes.tilePane;return this._container&&(t.appendChild(this._container),this._setAutoZIndex(t,Math.max)),this},bringToBack:function(){var t=this._map._panes.tilePane;return this._container&&(t.insertBefore(this._container,t.firstChild),this._setAutoZIndex(t,Math.min)),this},getAttribution:function(){return this.options.attribution},getContainer:function(){return this._container},setOpacity:function(t){return this.options.opacity=t,this._map&&this._updateOpacity(),this},setZIndex:function(t){return this.options.zIndex=t,this._updateZIndex(),this},setUrl:function(t,e){return this._url=t,e||this.redraw(),this},redraw:function(){return this._map&&(this._reset({hard:!0}),this._update()),this},_updateZIndex:function(){this._container&&void 0!==this.options.zIndex&&(this._container.style.zIndex=this.options.zIndex)},_setAutoZIndex:function(t,e){var i=t.children,n=-e(1/0,-1/0),o,s,a;for(s=0,a=i.length;a>s;s++)i[s]!==this._container&&(o=parseInt(i[s].style.zIndex,10),isNaN(o)||(n=e(n,o)));this.options.zIndex=this._container.style.zIndex=(isFinite(n)?n:0)+e(1,-1)},_updateOpacity:function(){var t,e=this._tiles;if(L.Browser.ielt9)for(t in e)L.DomUtil.setOpacity(e[t],this.options.opacity);else L.DomUtil.setOpacity(this._container,this.options.opacity)},_initContainer:function(){var t=this._map._panes.tilePane;if(!this._container){if(this._container=L.DomUtil.create("div","leaflet-layer"),this._updateZIndex(),this._animated){var e="leaflet-tile-container";this._bgBuffer=L.DomUtil.create("div",e,this._container),this._tileContainer=L.DomUtil.create("div",e,this._container)}else this._tileContainer=this._container;t.appendChild(this._container),this.options.opacity<1&&this._updateOpacity()}},_reset:function(t){for(var e in this._tiles)this.fire("tileunload",{tile:this._tiles[e]});this._tiles={},this._tilesToLoad=0,this.options.reuseTiles&&(this._unusedTiles=[]),this._tileContainer.innerHTML="",this._animated&&t&&t.hard&&this._clearBgBuffer(),this._initContainer()},_getTileSize:function(){var t=this._map,e=t.getZoom()+this.options.zoomOffset,i=this.options.maxNativeZoom,n=this.options.tileSize;return i&&e>i&&(n=Math.round(t.getZoomScale(e)/t.getZoomScale(i)*n)),n},_update:function(){if(this._map){var t=this._map,e=t.getPixelBounds(),i=t.getZoom(),n=this._getTileSize();if(!(i>this.options.maxZoom||io;o++)this._addTile(e[o],r);this._tileContainer.appendChild(r)}},_tileShouldBeLoaded:function(t){if(t.x+":"+t.y in this._tiles)return!1;var e=this.options;if(!e.continuousWorld){var i=this._getWrapTileNum();if(e.noWrap&&(t.x<0||t.x>=i.x)||t.y<0||t.y>=i.y)return!1}if(e.bounds){var n=e.tileSize,o=t.multiplyBy(n),s=o.add([n,n]),a=this._map.unproject(o),r=this._map.unproject(s);if(e.continuousWorld||e.noWrap||(a=a.wrap(),r=r.wrap()),!e.bounds.intersects([a,r]))return!1}return!0},_removeOtherTiles:function(t){var e,i,n,o;for(o in this._tiles)e=o.split(":"),i=parseInt(e[0],10),n=parseInt(e[1],10),(it.max.x||nt.max.y)&&this._removeTile(o)},_removeTile:function(t){var e=this._tiles[t];this.fire("tileunload",{tile:e,url:e.src}),this.options.reuseTiles?(L.DomUtil.removeClass(e,"leaflet-tile-loaded"),this._unusedTiles.push(e)):e.parentNode===this._tileContainer&&this._tileContainer.removeChild(e),L.Browser.android||(e.onload=null,e.src=L.Util.emptyImageUrl),delete this._tiles[t]},_addTile:function(t,e){var i=this._getTilePos(t),n=this._getTile();L.DomUtil.setPosition(n,i,L.Browser.chrome),this._tiles[t.x+":"+t.y]=n,this._loadTile(n,t),n.parentNode!==this._tileContainer&&e.appendChild(n)},_getZoomForUrl:function(){var t=this.options,e=this._map.getZoom();return t.zoomReverse&&(e=t.maxZoom-e),e+=t.zoomOffset,t.maxNativeZoom?Math.min(e,t.maxNativeZoom):e},_getTilePos:function(t){var e=this._map.getPixelOrigin(),i=this._getTileSize();return t.multiplyBy(i).subtract(e)},getTileUrl:function(t){return L.Util.template(this._url,L.extend({s:this._getSubdomain(t),z:t.z,x:t.x,y:t.y},this.options))},_getWrapTileNum:function(){var t=this._map.options.crs,e=t.getSize(this._map.getZoom());return e.divideBy(this._getTileSize())._floor()},_adjustTilePoint:function(t){var e=this._getWrapTileNum();this.options.continuousWorld||this.options.noWrap||(t.x=(t.x%e.x+e.x)%e.x),this.options.tms&&(t.y=e.y-t.y-1),t.z=this._getZoomForUrl()},_getSubdomain:function(t){var e=Math.abs(t.x+t.y)%this.options.subdomains.length;return this.options.subdomains[e]},_getTile:function(){if(this.options.reuseTiles&&this._unusedTiles.length>0){var t=this._unusedTiles.pop();return this._resetTile(t),t}return this._createTile()},_resetTile:function(){},_createTile:function(){var t=L.DomUtil.create("img","leaflet-tile");return t.style.width=t.style.height=this._getTileSize()+"px",t.galleryimg="no",t.onselectstart=t.onmousemove=L.Util.falseFn,L.Browser.ielt9&&void 0!==this.options.opacity&&L.DomUtil.setOpacity(t,this.options.opacity),L.Browser.mobileWebkit3d&&(t.style.WebkitBackfaceVisibility="hidden"),t},_loadTile:function(t,e){t._layer=this,t.onload=this._tileOnLoad,t.onerror=this._tileOnError,this._adjustTilePoint(e),t.src=this.getTileUrl(e),this.fire("tileloadstart",{tile:t,url:t.src})},_tileLoaded:function(){this._tilesToLoad--,this._animated&&L.DomUtil.addClass(this._tileContainer,"leaflet-zoom-animated"),this._tilesToLoad||(this.fire("load"),this._animated&&(clearTimeout(this._clearBgBufferTimer),this._clearBgBufferTimer=setTimeout(L.bind(this._clearBgBuffer,this),500)))},_tileOnLoad:function(){var t=this._layer;this.src!==L.Util.emptyImageUrl&&(L.DomUtil.addClass(this,"leaflet-tile-loaded"),t.fire("tileload",{tile:this,url:this.src})),t._tileLoaded()},_tileOnError:function(){var t=this._layer;t.fire("tileerror",{tile:this,url:this.src});var e=t.options.errorTileUrl;e&&(this.src=e),t._tileLoaded()}}),L.tileLayer=function(t,e){return new L.TileLayer(t,e)},L.TileLayer.Canvas=L.TileLayer.extend({options:{async:!1},initialize:function(t){L.setOptions(this,t)},redraw:function(){this._map&&(this._reset({hard:!0}),this._update());for(var t in this._tiles)this._redrawTile(this._tiles[t]);return this},_redrawTile:function(t){this.drawTile(t,t._tilePoint,this._map._zoom)},_createTile:function(){var t=L.DomUtil.create("canvas","leaflet-tile");return t.width=t.height=this.options.tileSize,t.onselectstart=t.onmousemove=L.Util.falseFn,t},_loadTile:function(t,e){t._layer=this,t._tilePoint=e,this._redrawTile(t),this.options.async||this.tileDrawn(t)},drawTile:function(){},tileDrawn:function(t){this._tileOnLoad.call(t)}}),L.tileLayer.canvas=function(t){return new L.TileLayer.Canvas(t)},L.ImageOverlay=L.Class.extend({includes:L.Mixin.Events,options:{opacity:1},initialize:function(t,e,i){this._url=t,this._bounds=L.latLngBounds(e),L.setOptions(this,i)},onAdd:function(t){this._map=t,this._image||this._initImage(),t._panes.overlayPane.appendChild(this._image),t.on("viewreset",this._reset,this),t.options.zoomAnimation&&L.Browser.any3d&&t.on("zoomanim",this._animateZoom,this),this._reset()},onRemove:function(t){t.getPanes().overlayPane.removeChild(this._image),t.off("viewreset",this._reset,this),t.options.zoomAnimation&&t.off("zoomanim",this._animateZoom,this)},addTo:function(t){return t.addLayer(this),this},setOpacity:function(t){return this.options.opacity=t,this._updateOpacity(),this},bringToFront:function(){return this._image&&this._map._panes.overlayPane.appendChild(this._image),this},bringToBack:function(){var t=this._map._panes.overlayPane;return this._image&&t.insertBefore(this._image,t.firstChild),this},setUrl:function(t){this._url=t,this._image.src=this._url},getAttribution:function(){return this.options.attribution},_initImage:function(){this._image=L.DomUtil.create("img","leaflet-image-layer"),this._map.options.zoomAnimation&&L.Browser.any3d?L.DomUtil.addClass(this._image,"leaflet-zoom-animated"):L.DomUtil.addClass(this._image,"leaflet-zoom-hide"),this._updateOpacity(),L.extend(this._image,{galleryimg:"no",onselectstart:L.Util.falseFn,onmousemove:L.Util.falseFn,onload:L.bind(this._onImageLoad,this),src:this._url})},_animateZoom:function(t){var e=this._map,i=this._image,n=e.getZoomScale(t.zoom),o=this._bounds.getNorthWest(),s=this._bounds.getSouthEast(),a=e._latLngToNewLayerPoint(o,t.zoom,t.center),r=e._latLngToNewLayerPoint(s,t.zoom,t.center)._subtract(a),h=a._add(r._multiplyBy(.5*(1-1/n)));i.style[L.DomUtil.TRANSFORM]=L.DomUtil.getTranslateString(h)+" scale("+n+") "},_reset:function(){var t=this._image,e=this._map.latLngToLayerPoint(this._bounds.getNorthWest()),i=this._map.latLngToLayerPoint(this._bounds.getSouthEast())._subtract(e);L.DomUtil.setPosition(t,e),t.style.width=i.x+"px",t.style.height=i.y+"px"},_onImageLoad:function(){this.fire("load")},_updateOpacity:function(){L.DomUtil.setOpacity(this._image,this.options.opacity)}}),L.imageOverlay=function(t,e,i){return new L.ImageOverlay(t,e,i)},L.Icon=L.Class.extend({options:{className:""},initialize:function(t){L.setOptions(this,t)},createIcon:function(t){return this._createIcon("icon",t)},createShadow:function(t){return this._createIcon("shadow",t)},_createIcon:function(t,e){var i=this._getIconUrl(t);if(!i){if("icon"===t)throw new Error("iconUrl not set in Icon options (see the docs).");return null}var n;return n=e&&"IMG"===e.tagName?this._createImg(i,e):this._createImg(i),this._setIconStyles(n,t),n},_setIconStyles:function(t,e){var i=this.options,n=L.point(i[e+"Size"]),o;o=L.point("shadow"===e?i.shadowAnchor||i.iconAnchor:i.iconAnchor),!o&&n&&(o=n.divideBy(2,!0)),t.className="leaflet-marker-"+e+" "+i.className,o&&(t.style.marginLeft=-o.x+"px",t.style.marginTop=-o.y+"px"),n&&(t.style.width=n.x+"px",t.style.height=n.y+"px")},_createImg:function(t,e){return e=e||document.createElement("img"),e.src=t,e},_getIconUrl:function(t){return L.Browser.retina&&this.options[t+"RetinaUrl"]?this.options[t+"RetinaUrl"]:this.options[t+"Url"]}}),L.icon=function(t){return new L.Icon(t)},L.Icon.Default=L.Icon.extend({options:{iconSize:[25,41],iconAnchor:[12,41],popupAnchor:[1,-34],shadowSize:[41,41]},_getIconUrl:function(t){var e=t+"Url";if(this.options[e])return this.options[e];L.Browser.retina&&"icon"===t&&(t+="-2x");var i=L.Icon.Default.imagePath;if(!i)throw new Error("Couldn't autodetect L.Icon.Default.imagePath, set it manually.");return i+"/marker-"+t+".png"}}),L.Icon.Default.imagePath=function(){var t=document.getElementsByTagName("script"),e=/[\/^]leaflet[\-\._]?([\w\-\._]*)\.js\??/,i,n,o,s,a;for(i=0,n=t.length;n>i;i++)if(o=t[i].src,s=o.match(e))return a=o.split(e)[0],(a?a+"/":"")+"images"}(),L.Marker=L.Class.extend({includes:L.Mixin.Events,options:{icon:new L.Icon.Default,title:"",alt:"",clickable:!0,draggable:!1,keyboard:!0,zIndexOffset:0,opacity:1,riseOnHover:!1,riseOffset:250},initialize:function(t,e){L.setOptions(this,e),this._latlng=L.latLng(t)},onAdd:function(t){this._map=t,t.on("viewreset",this.update,this),this._initIcon(),this.update(),this.fire("add"),t.options.zoomAnimation&&t.options.markerZoomAnimation&&t.on("zoomanim",this._animateZoom,this)},addTo:function(t){return t.addLayer(this),this},onRemove:function(t){this.dragging&&this.dragging.disable(),this._removeIcon(),this._removeShadow(),this.fire("remove"),t.off({viewreset:this.update,zoomanim:this._animateZoom},this),this._map=null},getLatLng:function(){return this._latlng},setLatLng:function(t){return this._latlng=L.latLng(t),this.update(),this.fire("move",{latlng:this._latlng})},setZIndexOffset:function(t){return this.options.zIndexOffset=t,this.update(),this},setIcon:function(t){return this.options.icon=t,this._map&&(this._initIcon(),this.update()),this._popup&&this.bindPopup(this._popup),this},update:function(){if(this._icon){var t=this._map.latLngToLayerPoint(this._latlng).round();this._setPos(t)}return this},_initIcon:function(){var t=this.options,e=this._map,i=e.options.zoomAnimation&&e.options.markerZoomAnimation,n=i?"leaflet-zoom-animated":"leaflet-zoom-hide",o=t.icon.createIcon(this._icon),s=!1;o!==this._icon&&(this._icon&&this._removeIcon(),s=!0,t.title&&(o.title=t.title),t.alt&&(o.alt=t.alt)),L.DomUtil.addClass(o,n),t.keyboard&&(o.tabIndex="0"),this._icon=o,this._initInteraction(),t.riseOnHover&&L.DomEvent.on(o,"mouseover",this._bringToFront,this).on(o,"mouseout",this._resetZIndex,this);var a=t.icon.createShadow(this._shadow),r=!1;a!==this._shadow&&(this._removeShadow(),r=!0),a&&L.DomUtil.addClass(a,n),this._shadow=a,t.opacity<1&&this._updateOpacity();var h=this._map._panes;s&&h.markerPane.appendChild(this._icon),a&&r&&h.shadowPane.appendChild(this._shadow)},_removeIcon:function(){this.options.riseOnHover&&L.DomEvent.off(this._icon,"mouseover",this._bringToFront).off(this._icon,"mouseout",this._resetZIndex),this._map._panes.markerPane.removeChild(this._icon),this._icon=null},_removeShadow:function(){this._shadow&&this._map._panes.shadowPane.removeChild(this._shadow),this._shadow=null},_setPos:function(t){L.DomUtil.setPosition(this._icon,t),this._shadow&&L.DomUtil.setPosition(this._shadow,t),this._zIndex=t.y+this.options.zIndexOffset,this._resetZIndex()},_updateZIndex:function(t){this._icon.style.zIndex=this._zIndex+t},_animateZoom:function(t){var e=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center).round();this._setPos(e)},_initInteraction:function(){if(this.options.clickable){var t=this._icon,e=["dblclick","mousedown","mouseover","mouseout","contextmenu"];L.DomUtil.addClass(t,"leaflet-clickable"),L.DomEvent.on(t,"click",this._onMouseClick,this),L.DomEvent.on(t,"keypress",this._onKeyPress,this);for(var i=0;ie;e++)this.addLayer(t[e])},addLayer:function(t){var e=this.getLayerId(t);return this._layers[e]=t,this._map&&this._map.addLayer(t),this},removeLayer:function(t){var e=t in this._layers?t:this.getLayerId(t);return this._map&&this._layers[e]&&this._map.removeLayer(this._layers[e]),delete this._layers[e],this},hasLayer:function(t){return t?t in this._layers||this.getLayerId(t)in this._layers:!1},clearLayers:function(){return this.eachLayer(this.removeLayer,this),this},invoke:function(t){var e=Array.prototype.slice.call(arguments,1),i,n;for(i in this._layers)n=this._layers[i],n[t]&&n[t].apply(n,e);return this},onAdd:function(t){this._map=t,this.eachLayer(t.addLayer,t)},onRemove:function(t){this.eachLayer(t.removeLayer,t),this._map=null},addTo:function(t){return t.addLayer(this),this},eachLayer:function(t,e){for(var i in this._layers)t.call(e,this._layers[i]);return this},getLayer:function(t){return this._layers[t]},getLayers:function(){var t=[];for(var e in this._layers)t.push(this._layers[e]);return t},setZIndex:function(t){return this.invoke("setZIndex",t)},getLayerId:function(t){return L.stamp(t)}}),L.layerGroup=function(t){return new L.LayerGroup(t)},L.FeatureGroup=L.LayerGroup.extend({includes:L.Mixin.Events,statics:{EVENTS:"click dblclick mouseover mouseout mousemove contextmenu popupopen popupclose"},addLayer:function(t){return this.hasLayer(t)?this:("on"in t&&t.on(L.FeatureGroup.EVENTS,this._propagateEvent,this),L.LayerGroup.prototype.addLayer.call(this,t),this._popupContent&&t.bindPopup&&t.bindPopup(this._popupContent,this._popupOptions),this.fire("layeradd",{layer:t}))},removeLayer:function(t){return this.hasLayer(t)?(t in this._layers&&(t=this._layers[t]),t.off(L.FeatureGroup.EVENTS,this._propagateEvent,this),L.LayerGroup.prototype.removeLayer.call(this,t),this._popupContent&&this.invoke("unbindPopup"),this.fire("layerremove",{layer:t})):this},bindPopup:function(t,e){return this._popupContent=t,this._popupOptions=e,this.invoke("bindPopup",t,e)},openPopup:function(t){for(var e in this._layers){this._layers[e].openPopup(t);break}return this},setStyle:function(t){return this.invoke("setStyle",t)},bringToFront:function(){return this.invoke("bringToFront")},bringToBack:function(){return this.invoke("bringToBack")},getBounds:function(){var t=new L.LatLngBounds;return this.eachLayer(function(e){t.extend(e instanceof L.Marker?e.getLatLng():e.getBounds())}),t},_propagateEvent:function(t){t=L.extend({layer:t.target,target:this},t),this.fire(t.type,t)}}),L.featureGroup=function(t){return new L.FeatureGroup(t)},L.Path=L.Class.extend({includes:[L.Mixin.Events],statics:{CLIP_PADDING:function(){var t=L.Browser.mobile?1280:2e3,e=(t/Math.max(window.outerWidth,window.outerHeight)-1)/2;return Math.max(0,Math.min(.5,e))}()},options:{stroke:!0,color:"#0033ff",dashArray:null,lineCap:null,lineJoin:null,weight:5,opacity:.5,fill:!1,fillColor:null,fillOpacity:.2,clickable:!0},initialize:function(t){L.setOptions(this,t)},onAdd:function(t){this._map=t,this._container||(this._initElements(),this._initEvents()),this.projectLatlngs(),this._updatePath(),this._container&&this._map._pathRoot.appendChild(this._container),this.fire("add"),t.on({viewreset:this.projectLatlngs,moveend:this._updatePath},this)},addTo:function(t){return t.addLayer(this),this},onRemove:function(t){t._pathRoot.removeChild(this._container),this.fire("remove"),this._map=null,L.Browser.vml&&(this._container=null,this._stroke=null,this._fill=null),t.off({viewreset:this.projectLatlngs,moveend:this._updatePath},this)},projectLatlngs:function(){},setStyle:function(t){return L.setOptions(this,t),this._container&&this._updateStyle(),this},redraw:function(){return this._map&&(this.projectLatlngs(),this._updatePath()),this}}),L.Map.include({_updatePathViewport:function(){var t=L.Path.CLIP_PADDING,e=this.getSize(),i=L.DomUtil.getPosition(this._mapPane),n=i.multiplyBy(-1)._subtract(e.multiplyBy(t)._round()),o=n.add(e.multiplyBy(1+2*t)._round());this._pathViewport=new L.Bounds(n,o)}}),L.Path.SVG_NS="http://www.w3.org/2000/svg",L.Browser.svg=!(!document.createElementNS||!document.createElementNS(L.Path.SVG_NS,"svg").createSVGRect),L.Path=L.Path.extend({statics:{SVG:L.Browser.svg},bringToFront:function(){var t=this._map._pathRoot,e=this._container;return e&&t.lastChild!==e&&t.appendChild(e),this},bringToBack:function(){var t=this._map._pathRoot,e=this._container,i=t.firstChild;return e&&i!==e&&t.insertBefore(e,i),this},getPathString:function(){},_createElement:function(t){return document.createElementNS(L.Path.SVG_NS,t)},_initElements:function(){this._map._initPathRoot(),this._initPath(),this._initStyle()},_initPath:function(){this._container=this._createElement("g"),this._path=this._createElement("path"),this.options.className&&L.DomUtil.addClass(this._path,this.options.className),this._container.appendChild(this._path) },_initStyle:function(){this.options.stroke&&(this._path.setAttribute("stroke-linejoin","round"),this._path.setAttribute("stroke-linecap","round")),this.options.fill&&this._path.setAttribute("fill-rule","evenodd"),this.options.pointerEvents&&this._path.setAttribute("pointer-events",this.options.pointerEvents),this.options.clickable||this.options.pointerEvents||this._path.setAttribute("pointer-events","none"),this._updateStyle()},_updateStyle:function(){this.options.stroke?(this._path.setAttribute("stroke",this.options.color),this._path.setAttribute("stroke-opacity",this.options.opacity),this._path.setAttribute("stroke-width",this.options.weight),this.options.dashArray?this._path.setAttribute("stroke-dasharray",this.options.dashArray):this._path.removeAttribute("stroke-dasharray"),this.options.lineCap&&this._path.setAttribute("stroke-linecap",this.options.lineCap),this.options.lineJoin&&this._path.setAttribute("stroke-linejoin",this.options.lineJoin)):this._path.setAttribute("stroke","none"),this.options.fill?(this._path.setAttribute("fill",this.options.fillColor||this.options.color),this._path.setAttribute("fill-opacity",this.options.fillOpacity)):this._path.setAttribute("fill","none")},_updatePath:function(){var t=this.getPathString();t||(t="M0 0"),this._path.setAttribute("d",t)},_initEvents:function(){if(this.options.clickable){(L.Browser.svg||!L.Browser.vml)&&L.DomUtil.addClass(this._path,"leaflet-clickable"),L.DomEvent.on(this._container,"click",this._onMouseClick,this);for(var t=["dblclick","mousedown","mouseover","mouseout","mousemove","contextmenu"],e=0;et;t++){for(e=0,n=this._parts[t].length;n>e;e++)o=this._parts[t][e],s=(0===e?"move":"line")+"To",this._ctx[s](o.x,o.y);this instanceof L.Polygon&&this._ctx.closePath()}},_checkIfEmpty:function(){return!this._parts.length},_updatePath:function(){if(!this._checkIfEmpty()){var t=this._ctx,e=this.options;this._drawPath(),t.save(),this._updateStyle(),e.fill&&(t.globalAlpha=e.fillOpacity,t.fill()),e.stroke&&(t.globalAlpha=e.opacity,t.stroke()),t.restore()}},_initEvents:function(){this.options.clickable&&(this._map.on("mousemove",this._onMouseMove,this),this._map.on("click",this._onClick,this))},_onClick:function(t){this._containsPoint(t.layerPoint)&&this.fire("click",t)},_onMouseMove:function(t){this._map&&!this._map._animatingZoom&&(this._containsPoint(t.layerPoint)?(this._ctx.canvas.style.cursor="pointer",this._mouseInside=!0,this.fire("mouseover",t)):this._mouseInside&&(this._ctx.canvas.style.cursor="",this._mouseInside=!1,this.fire("mouseout",t)))}}),L.Map.include(L.Path.SVG&&!window.L_PREFER_CANVAS||!L.Browser.canvas?{}:{_initPathRoot:function(){var t=this._pathRoot,e;t||(t=this._pathRoot=document.createElement("canvas"),t.style.position="absolute",e=this._canvasCtx=t.getContext("2d"),e.lineCap="round",e.lineJoin="round",this._panes.overlayPane.appendChild(t),this.options.zoomAnimation&&(this._pathRoot.className="leaflet-zoom-animated",this.on("zoomanim",this._animatePathZoom),this.on("zoomend",this._endPathZoom)),this.on("moveend",this._updateCanvasViewport),this._updateCanvasViewport())},_updateCanvasViewport:function(){if(!this._pathZooming){this._updatePathViewport();var t=this._pathViewport,e=t.min,i=t.max.subtract(e),n=this._pathRoot;L.DomUtil.setPosition(n,e),n.width=i.x,n.height=i.y,n.getContext("2d").translate(-e.x,-e.y)}}}),L.LineUtil={simplify:function(t,e){if(!e||!t.length)return t.slice();var i=e*e;return t=this._reducePoints(t,i),t=this._simplifyDP(t,i)},pointToSegmentDistance:function(t,e,i){return Math.sqrt(this._sqClosestPointOnSegment(t,e,i,!0))},closestPointOnSegment:function(t,e,i){return this._sqClosestPointOnSegment(t,e,i)},_simplifyDP:function(t,e){var i=t.length,n=typeof Uint8Array!=void 0+""?Uint8Array:Array,o=new n(i);o[0]=o[i-1]=1,this._simplifyDPStep(t,o,e,0,i-1);var s,a=[];for(s=0;i>s;s++)o[s]&&a.push(t[s]);return a},_simplifyDPStep:function(t,e,i,n,o){var s=0,a,r,h;for(r=n+1;o-1>=r;r++)h=this._sqClosestPointOnSegment(t[r],t[n],t[o],!0),h>s&&(a=r,s=h);s>i&&(e[a]=1,this._simplifyDPStep(t,e,i,n,a),this._simplifyDPStep(t,e,i,a,o))},_reducePoints:function(t,e){for(var i=[t[0]],n=1,o=0,s=t.length;s>n;n++)this._sqDist(t[n],t[o])>e&&(i.push(t[n]),o=n);return s-1>o&&i.push(t[s-1]),i},clipSegment:function(t,e,i,n){var o=n?this._lastCode:this._getBitCode(t,i),s=this._getBitCode(e,i),a,r,h;for(this._lastCode=s;;){if(!(o|s))return[t,e];if(o&s)return!1;a=o||s,r=this._getEdgeIntersection(t,e,a,i),h=this._getBitCode(r,i),a===o?(t=r,o=h):(e=r,s=h)}},_getEdgeIntersection:function(t,e,i,n){var o=e.x-t.x,s=e.y-t.y,a=n.min,r=n.max;return 8&i?new L.Point(t.x+o*(r.y-t.y)/s,r.y):4&i?new L.Point(t.x+o*(a.y-t.y)/s,a.y):2&i?new L.Point(r.x,t.y+s*(r.x-t.x)/o):1&i?new L.Point(a.x,t.y+s*(a.x-t.x)/o):void 0},_getBitCode:function(t,e){var i=0;return t.xe.max.x&&(i|=2),t.ye.max.y&&(i|=8),i},_sqDist:function(t,e){var i=e.x-t.x,n=e.y-t.y;return i*i+n*n},_sqClosestPointOnSegment:function(t,e,i,n){var o=e.x,s=e.y,a=i.x-o,r=i.y-s,h=a*a+r*r,l;return h>0&&(l=((t.x-o)*a+(t.y-s)*r)/h,l>1?(o=i.x,s=i.y):l>0&&(o+=a*l,s+=r*l)),a=t.x-o,r=t.y-s,n?a*a+r*r:new L.Point(o,s)}},L.Polyline=L.Path.extend({initialize:function(t,e){L.Path.prototype.initialize.call(this,e),this._latlngs=this._convertLatLngs(t)},options:{smoothFactor:1,noClip:!1},projectLatlngs:function(){this._originalPoints=[];for(var t=0,e=this._latlngs.length;e>t;t++)this._originalPoints[t]=this._map.latLngToLayerPoint(this._latlngs[t])},getPathString:function(){for(var t=0,e=this._parts.length,i="";e>t;t++)i+=this._getPathPartStr(this._parts[t]);return i},getLatLngs:function(){return this._latlngs},setLatLngs:function(t){return this._latlngs=this._convertLatLngs(t),this.redraw()},addLatLng:function(t){return this._latlngs.push(L.latLng(t)),this.redraw()},spliceLatLngs:function(){var t=[].splice.apply(this._latlngs,arguments);return this._convertLatLngs(this._latlngs,!0),this.redraw(),t},closestLayerPoint:function(t){for(var e=1/0,i=this._parts,n,o,s=null,a=0,r=i.length;r>a;a++)for(var h=i[a],l=1,c=h.length;c>l;l++){n=h[l-1],o=h[l];var u=L.LineUtil._sqClosestPointOnSegment(t,n,o,!0);e>u&&(e=u,s=L.LineUtil._sqClosestPointOnSegment(t,n,o))}return s&&(s.distance=Math.sqrt(e)),s},getBounds:function(){return new L.LatLngBounds(this.getLatLngs())},_convertLatLngs:function(t,e){var i,n,o=e?t:[];for(i=0,n=t.length;n>i;i++){if(L.Util.isArray(t[i])&&"number"!=typeof t[i][0])return;o[i]=L.latLng(t[i])}return o},_initEvents:function(){L.Path.prototype._initEvents.call(this)},_getPathPartStr:function(t){for(var e=L.Path.VML,i=0,n=t.length,o="",s;n>i;i++)s=t[i],e&&s._round(),o+=(i?"L":"M")+s.x+" "+s.y;return o},_clipPoints:function(){var t=this._originalPoints,e=t.length,i,n,o;if(this.options.noClip)return void(this._parts=[t]);this._parts=[];var s=this._parts,a=this._map._pathViewport,r=L.LineUtil;for(i=0,n=0;e-1>i;i++)o=r.clipSegment(t[i],t[i+1],a,i),o&&(s[n]=s[n]||[],s[n].push(o[0]),(o[1]!==t[i+1]||i===e-2)&&(s[n].push(o[1]),n++))},_simplifyPoints:function(){for(var t=this._parts,e=L.LineUtil,i=0,n=t.length;n>i;i++)t[i]=e.simplify(t[i],this.options.smoothFactor)},_updatePath:function(){this._map&&(this._clipPoints(),this._simplifyPoints(),L.Path.prototype._updatePath.call(this))}}),L.polyline=function(t,e){return new L.Polyline(t,e)},L.PolyUtil={},L.PolyUtil.clipPolygon=function(t,e){var i,n=[1,4,2,8],o,s,a,r,h,l,c,u,d=L.LineUtil;for(o=0,l=t.length;l>o;o++)t[o]._code=d._getBitCode(t[o],e);for(a=0;4>a;a++){for(c=n[a],i=[],o=0,l=t.length,s=l-1;l>o;s=o++)r=t[o],h=t[s],r._code&c?h._code&c||(u=d._getEdgeIntersection(h,r,c,e),u._code=d._getBitCode(u,e),i.push(u)):(h._code&c&&(u=d._getEdgeIntersection(h,r,c,e),u._code=d._getBitCode(u,e),i.push(u)),i.push(r));t=i}return t},L.Polygon=L.Polyline.extend({options:{fill:!0},initialize:function(t,e){L.Polyline.prototype.initialize.call(this,t,e),this._initWithHoles(t)},_initWithHoles:function(t){var e,i,n;if(t&&L.Util.isArray(t[0])&&"number"!=typeof t[0][0])for(this._latlngs=this._convertLatLngs(t[0]),this._holes=t.slice(1),e=0,i=this._holes.length;i>e;e++)n=this._holes[e]=this._convertLatLngs(this._holes[e]),n[0].equals(n[n.length-1])&&n.pop();t=this._latlngs,t.length>=2&&t[0].equals(t[t.length-1])&&t.pop()},projectLatlngs:function(){if(L.Polyline.prototype.projectLatlngs.call(this),this._holePoints=[],this._holes){var t,e,i,n;for(t=0,i=this._holes.length;i>t;t++)for(this._holePoints[t]=[],e=0,n=this._holes[t].length;n>e;e++)this._holePoints[t][e]=this._map.latLngToLayerPoint(this._holes[t][e])}},setLatLngs:function(t){return t&&L.Util.isArray(t[0])&&"number"!=typeof t[0][0]?(this._initWithHoles(t),this.redraw()):L.Polyline.prototype.setLatLngs.call(this,t)},_clipPoints:function(){var t=this._originalPoints,e=[];if(this._parts=[t].concat(this._holePoints),!this.options.noClip){for(var i=0,n=this._parts.length;n>i;i++){var o=L.PolyUtil.clipPolygon(this._parts[i],this._map._pathViewport);o.length&&e.push(o)}this._parts=e}},_getPathPartStr:function(t){var e=L.Polyline.prototype._getPathPartStr.call(this,t);return e+(L.Browser.svg?"z":"x")}}),L.polygon=function(t,e){return new L.Polygon(t,e)},function(){function t(t){return L.FeatureGroup.extend({initialize:function(t,e){this._layers={},this._options=e,this.setLatLngs(t)},setLatLngs:function(e){var i=0,n=e.length;for(this.eachLayer(function(t){n>i?t.setLatLngs(e[i++]):this.removeLayer(t)},this);n>i;)this.addLayer(new t(e[i++],this._options));return this},getLatLngs:function(){var t=[];return this.eachLayer(function(e){t.push(e.getLatLngs())}),t}})}L.MultiPolyline=t(L.Polyline),L.MultiPolygon=t(L.Polygon),L.multiPolyline=function(t,e){return new L.MultiPolyline(t,e)},L.multiPolygon=function(t,e){return new L.MultiPolygon(t,e)}}(),L.Rectangle=L.Polygon.extend({initialize:function(t,e){L.Polygon.prototype.initialize.call(this,this._boundsToLatLngs(t),e)},setBounds:function(t){this.setLatLngs(this._boundsToLatLngs(t))},_boundsToLatLngs:function(t){return t=L.latLngBounds(t),[t.getSouthWest(),t.getNorthWest(),t.getNorthEast(),t.getSouthEast()]}}),L.rectangle=function(t,e){return new L.Rectangle(t,e)},L.Circle=L.Path.extend({initialize:function(t,e,i){L.Path.prototype.initialize.call(this,i),this._latlng=L.latLng(t),this._mRadius=e},options:{fill:!0},setLatLng:function(t){return this._latlng=L.latLng(t),this.redraw()},setRadius:function(t){return this._mRadius=t,this.redraw()},projectLatlngs:function(){var t=this._getLngRadius(),e=this._latlng,i=this._map.latLngToLayerPoint([e.lat,e.lng-t]);this._point=this._map.latLngToLayerPoint(e),this._radius=Math.max(this._point.x-i.x,1)},getBounds:function(){var t=this._getLngRadius(),e=this._mRadius/40075017*360,i=this._latlng;return new L.LatLngBounds([i.lat-e,i.lng-t],[i.lat+e,i.lng+t])},getLatLng:function(){return this._latlng},getPathString:function(){var t=this._point,e=this._radius;return this._checkIfEmpty()?"":L.Browser.svg?"M"+t.x+","+(t.y-e)+"A"+e+","+e+",0,1,1,"+(t.x-.1)+","+(t.y-e)+" z":(t._round(),e=Math.round(e),"AL "+t.x+","+t.y+" "+e+","+e+" 0,23592600")},getRadius:function(){return this._mRadius},_getLatRadius:function(){return this._mRadius/40075017*360},_getLngRadius:function(){return this._getLatRadius()/Math.cos(L.LatLng.DEG_TO_RAD*this._latlng.lat)},_checkIfEmpty:function(){if(!this._map)return!1;var t=this._map._pathViewport,e=this._radius,i=this._point;return i.x-e>t.max.x||i.y-e>t.max.y||i.x+ei;i++)for(h=this._parts[i],n=0,a=h.length,o=a-1;a>n;o=n++)if((e||0!==n)&&(r=L.LineUtil.pointToSegmentDistance(t,h[o],h[n]),l>=r))return!0;return!1}}:{}),L.Map.mergeOptions({dragging:!0,inertia:!L.Browser.android23,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,inertiaThreshold:L.Browser.touch?32:18,easeLinearity:.25,worldCopyJump:!1}),L.Map.Drag=L.Handler.extend({addHooks:function(){if(!this._draggable){var t=this._map;this._draggable=new L.Draggable(t._mapPane,t._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),t.options.worldCopyJump&&(this._draggable.on("predrag",this._onPreDrag,this),t.on("viewreset",this._onViewReset,this),t.whenReady(this._onViewReset,this))}this._draggable.enable()},removeHooks:function(){this._draggable.disable()},moved:function(){return this._draggable&&this._draggable._moved},_onDragStart:function(){var t=this._map;t._panAnim&&t._panAnim.stop(),t.fire("movestart").fire("dragstart"),t.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(){if(this._map.options.inertia){var t=this._lastTime=+new Date,e=this._lastPos=this._draggable._newPos;this._positions.push(e),this._times.push(t),t-this._times[0]>200&&(this._positions.shift(),this._times.shift())}this._map.fire("move").fire("drag")},_onViewReset:function(){var t=this._map.getSize()._divideBy(2),e=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=e.subtract(t).x,this._worldWidth=this._map.project([0,180]).x},_onPreDrag:function(){var t=this._worldWidth,e=Math.round(t/2),i=this._initialWorldOffset,n=this._draggable._newPos.x,o=(n-e+i)%t+e-i,s=(n+e+i)%t-e-i,a=Math.abs(o+i)i.inertiaThreshold||!this._positions[0];if(e.fire("dragend",t),o)e.fire("moveend");else{var s=this._lastPos.subtract(this._positions[0]),a=(this._lastTime+n-this._times[0])/1e3,r=i.easeLinearity,h=s.multiplyBy(r/a),l=h.distanceTo([0,0]),c=Math.min(i.inertiaMaxSpeed,l),u=h.multiplyBy(c/l),d=c/(i.inertiaDeceleration*r),m=u.multiplyBy(-d/2).round();m.x&&m.y?(m=e._limitOffset(m,e.options.maxBounds),L.Util.requestAnimFrame(function(){e.panBy(m,{duration:d,easeLinearity:r,noMoveStart:!0})})):e.fire("moveend")}}}),L.Map.addInitHook("addHandler","dragging",L.Map.Drag),L.Map.mergeOptions({doubleClickZoom:!0}),L.Map.DoubleClickZoom=L.Handler.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(t){var e=this._map,i=e.getZoom()+(t.originalEvent.shiftKey?-1:1);"center"===e.options.doubleClickZoom?e.setZoom(i):e.setZoomAround(t.containerPoint,i)}}),L.Map.addInitHook("addHandler","doubleClickZoom",L.Map.DoubleClickZoom),L.Map.mergeOptions({scrollWheelZoom:!0}),L.Map.ScrollWheelZoom=L.Handler.extend({addHooks:function(){L.DomEvent.on(this._map._container,"mousewheel",this._onWheelScroll,this),L.DomEvent.on(this._map._container,"MozMousePixelScroll",L.DomEvent.preventDefault),this._delta=0},removeHooks:function(){L.DomEvent.off(this._map._container,"mousewheel",this._onWheelScroll),L.DomEvent.off(this._map._container,"MozMousePixelScroll",L.DomEvent.preventDefault)},_onWheelScroll:function(t){var e=L.DomEvent.getWheelDelta(t);this._delta+=e,this._lastMousePos=this._map.mouseEventToContainerPoint(t),this._startTime||(this._startTime=+new Date);var i=Math.max(40-(+new Date-this._startTime),0);clearTimeout(this._timer),this._timer=setTimeout(L.bind(this._performZoom,this),i),L.DomEvent.preventDefault(t),L.DomEvent.stopPropagation(t)},_performZoom:function(){var t=this._map,e=this._delta,i=t.getZoom();e=e>0?Math.ceil(e):Math.floor(e),e=Math.max(Math.min(e,4),-4),e=t._limitZoom(i+e)-i,this._delta=0,this._startTime=null,e&&("center"===t.options.scrollWheelZoom?t.setZoom(i+e):t.setZoomAround(this._lastMousePos,i+e))}}),L.Map.addInitHook("addHandler","scrollWheelZoom",L.Map.ScrollWheelZoom),L.extend(L.DomEvent,{_touchstart:L.Browser.msPointer?"MSPointerDown":L.Browser.pointer?"pointerdown":"touchstart",_touchend:L.Browser.msPointer?"MSPointerUp":L.Browser.pointer?"pointerup":"touchend",addDoubleTapListener:function(t,e,i){function n(t){var e;if(L.Browser.pointer?(d.push(t.pointerId),e=d.length):e=t.touches.length,!(e>1)){var i=Date.now(),n=i-(s||i);h=t.touches?t.touches[0]:t,a=n>0&&r>=n,s=i}}function o(t){if(L.Browser.pointer){var i=d.indexOf(t.pointerId);if(-1===i)return;d.splice(i,1)}if(a){if(L.Browser.pointer){var n={},o;for(var r in h)o=h[r],n[r]="function"==typeof o?o.bind(h):o;h=n}h.type="dblclick",e(h),s=null}}var s,a=!1,r=250,h,l="_leaflet_",c=this._touchstart,u=this._touchend,d=[];t[l+c+i]=n,t[l+u+i]=o;var m=L.Browser.pointer?document.documentElement:t;return t.addEventListener(c,n,!1),m.addEventListener(u,o,!1),L.Browser.pointer&&m.addEventListener(L.DomEvent.POINTER_CANCEL,o,!1),this},removeDoubleTapListener:function(t,e){var i="_leaflet_";return t.removeEventListener(this._touchstart,t[i+this._touchstart+e],!1),(L.Browser.pointer?document.documentElement:t).removeEventListener(this._touchend,t[i+this._touchend+e],!1),L.Browser.pointer&&document.documentElement.removeEventListener(L.DomEvent.POINTER_CANCEL,t[i+this._touchend+e],!1),this}}),L.extend(L.DomEvent,{POINTER_DOWN:L.Browser.msPointer?"MSPointerDown":"pointerdown",POINTER_MOVE:L.Browser.msPointer?"MSPointerMove":"pointermove",POINTER_UP:L.Browser.msPointer?"MSPointerUp":"pointerup",POINTER_CANCEL:L.Browser.msPointer?"MSPointerCancel":"pointercancel",_pointers:[],_pointerDocumentListener:!1,addPointerListener:function(t,e,i,n){switch(e){case"touchstart":return this.addPointerListenerStart(t,e,i,n);case"touchend":return this.addPointerListenerEnd(t,e,i,n);case"touchmove":return this.addPointerListenerMove(t,e,i,n);default:throw"Unknown touch event type"}},addPointerListenerStart:function(t,e,i,n){var o="_leaflet_",s=this._pointers,a=function(t){L.DomEvent.preventDefault(t);for(var e=!1,n=0;n1))&&(this._moved||(L.DomUtil.addClass(e._mapPane,"leaflet-touching"),e.fire("movestart").fire("zoomstart"),this._moved=!0),L.Util.cancelAnimFrame(this._animRequest),this._animRequest=L.Util.requestAnimFrame(this._updateOnMove,this,!0,this._map._container),L.DomEvent.preventDefault(t))}},_updateOnMove:function(){var t=this._map,e=this._getScaleOrigin(),i=t.layerPointToLatLng(e),n=t.getScaleZoom(this._scale);t._animateZoom(i,n,this._startCenter,this._scale,this._delta)},_onTouchEnd:function(){if(!this._moved||!this._zooming)return void(this._zooming=!1);var t=this._map;this._zooming=!1,L.DomUtil.removeClass(t._mapPane,"leaflet-touching"),L.Util.cancelAnimFrame(this._animRequest),L.DomEvent.off(document,"touchmove",this._onTouchMove).off(document,"touchend",this._onTouchEnd);var e=this._getScaleOrigin(),i=t.layerPointToLatLng(e),n=t.getZoom(),o=t.getScaleZoom(this._scale)-n,s=o>0?Math.ceil(o):Math.floor(o),a=t._limitZoom(n+s),r=t.getZoomScale(a)/this._scale;t._animateZoom(i,a,e,r)},_getScaleOrigin:function(){var t=this._centerOffset.subtract(this._delta).divideBy(this._scale);return this._startCenter.add(t)}}),L.Map.addInitHook("addHandler","touchZoom",L.Map.TouchZoom),L.Map.mergeOptions({tap:!0,tapTolerance:15}),L.Map.Tap=L.Handler.extend({addHooks:function(){L.DomEvent.on(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){L.DomEvent.off(this._map._container,"touchstart",this._onDown,this)},_onDown:function(t){if(t.touches){if(L.DomEvent.preventDefault(t),this._fireClick=!0,t.touches.length>1)return this._fireClick=!1,void clearTimeout(this._holdTimeout);var e=t.touches[0],i=e.target;this._startPos=this._newPos=new L.Point(e.clientX,e.clientY),i.tagName&&"a"===i.tagName.toLowerCase()&&L.DomUtil.addClass(i,"leaflet-active"),this._holdTimeout=setTimeout(L.bind(function(){this._isTapValid()&&(this._fireClick=!1,this._onUp(),this._simulateEvent("contextmenu",e))},this),1e3),L.DomEvent.on(document,"touchmove",this._onMove,this).on(document,"touchend",this._onUp,this)}},_onUp:function(t){if(clearTimeout(this._holdTimeout),L.DomEvent.off(document,"touchmove",this._onMove,this).off(document,"touchend",this._onUp,this),this._fireClick&&t&&t.changedTouches){var e=t.changedTouches[0],i=e.target;i&&i.tagName&&"a"===i.tagName.toLowerCase()&&L.DomUtil.removeClass(i,"leaflet-active"),this._isTapValid()&&this._simulateEvent("click",e)}},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_onMove:function(t){var e=t.touches[0];this._newPos=new L.Point(e.clientX,e.clientY)},_simulateEvent:function(t,e){var i=document.createEvent("MouseEvents");i._simulated=!0,e.target._simulatedClick=!0,i.initMouseEvent(t,!0,!0,window,1,e.screenX,e.screenY,e.clientX,e.clientY,!1,!1,!1,!1,0,null),e.target.dispatchEvent(i)}}),L.Browser.touch&&!L.Browser.pointer&&L.Map.addInitHook("addHandler","tap",L.Map.Tap),L.Control.Zoom=L.Control.extend({options:{position:"topleft",zoomInText:"+",zoomInTitle:"Zoom in",zoomOutText:"-",zoomOutTitle:"Zoom out"},onAdd:function(t){var e="leaflet-control-zoom",i=L.DomUtil.create("div",e+" leaflet-bar");return this._map=t,this._zoomInButton=this._createButton(this.options.zoomInText,this.options.zoomInTitle,e+"-in",i,this._zoomIn,this),this._zoomOutButton=this._createButton(this.options.zoomOutText,this.options.zoomOutTitle,e+"-out",i,this._zoomOut,this),this._updateDisabled(),t.on("zoomend zoomlevelschange",this._updateDisabled,this),i},onRemove:function(t){t.off("zoomend zoomlevelschange",this._updateDisabled,this)},_zoomIn:function(t){this._map.zoomIn(t.shiftKey?3:1)},_zoomOut:function(t){this._map.zoomOut(t.shiftKey?3:1)},_createButton:function(t,e,i,n,o,s){var a=L.DomUtil.create("a",i,n);a.innerHTML=t,a.href="#",a.title=e;var r=L.DomEvent.stopPropagation;return L.DomEvent.on(a,"click",r).on(a,"mousedown",r).on(a,"dblclick",r).on(a,"click",L.DomEvent.preventDefault).on(a,"click",o,s).on(a,"click",this._refocusOnMap,s),a},_updateDisabled:function(){var t=this._map,e="leaflet-disabled";L.DomUtil.removeClass(this._zoomInButton,e),L.DomUtil.removeClass(this._zoomOutButton,e),t._zoom===t.getMinZoom()&&L.DomUtil.addClass(this._zoomOutButton,e),t._zoom===t.getMaxZoom()&&L.DomUtil.addClass(this._zoomInButton,e)}}),L.Map.mergeOptions({zoomControl:!0}),L.Map.addInitHook(function(){this.options.zoomControl&&(this.zoomControl=new L.Control.Zoom,this.addControl(this.zoomControl))}),L.control.zoom=function(t){return new L.Control.Zoom(t)},L.Control.Attribution=L.Control.extend({options:{position:"bottomright",prefix:'Leaflet'},initialize:function(t){L.setOptions(this,t),this._attributions={}},onAdd:function(t){this._container=L.DomUtil.create("div","leaflet-control-attribution"),L.DomEvent.disableClickPropagation(this._container);for(var e in t._layers)t._layers[e].getAttribution&&this.addAttribution(t._layers[e].getAttribution());return t.on("layeradd",this._onLayerAdd,this).on("layerremove",this._onLayerRemove,this),this._update(),this._container},onRemove:function(t){t.off("layeradd",this._onLayerAdd).off("layerremove",this._onLayerRemove)},setPrefix:function(t){return this.options.prefix=t,this._update(),this},addAttribution:function(t){return t?(this._attributions[t]||(this._attributions[t]=0),this._attributions[t]++,this._update(),this):void 0},removeAttribution:function(t){return t?(this._attributions[t]&&(this._attributions[t]--,this._update()),this):void 0},_update:function(){if(this._map){var t=[];for(var e in this._attributions)this._attributions[e]&&t.push(e);var i=[];this.options.prefix&&i.push(this.options.prefix),t.length&&i.push(t.join(", ")),this._container.innerHTML=i.join(" | ")}},_onLayerAdd:function(t){t.layer.getAttribution&&this.addAttribution(t.layer.getAttribution())},_onLayerRemove:function(t){t.layer.getAttribution&&this.removeAttribution(t.layer.getAttribution())}}),L.Map.mergeOptions({attributionControl:!0}),L.Map.addInitHook(function(){this.options.attributionControl&&(this.attributionControl=(new L.Control.Attribution).addTo(this))}),L.control.attribution=function(t){return new L.Control.Attribution(t)},L.PosAnimation=L.Class.extend({includes:L.Mixin.Events,run:function(t,e,i,n){this.stop(),this._el=t,this._inProgress=!0,this._newPos=e,this.fire("start"),t.style[L.DomUtil.TRANSITION]="all "+(i||.25)+"s cubic-bezier(0,0,"+(n||.5)+",1)",L.DomEvent.on(t,L.DomUtil.TRANSITION_END,this._onTransitionEnd,this),L.DomUtil.setPosition(t,e),L.Util.falseFn(t.offsetWidth),this._stepTimer=setInterval(L.bind(this._onStep,this),50)},stop:function(){this._inProgress&&(L.DomUtil.setPosition(this._el,this._getPos()),this._onTransitionEnd(),L.Util.falseFn(this._el.offsetWidth))},_onStep:function(){var t=this._getPos();return t?(this._el._leaflet_pos=t,void this.fire("step")):void this._onTransitionEnd()},_transformRe:/([-+]?(?:\d*\.)?\d+)\D*, ([-+]?(?:\d*\.)?\d+)\D*\)/,_getPos:function(){var t,e,i,n=this._el,o=window.getComputedStyle(n);if(L.Browser.any3d){if(i=o[L.DomUtil.TRANSFORM].match(this._transformRe),!i)return;t=parseFloat(i[1]),e=parseFloat(i[2])}else t=parseFloat(o.left),e=parseFloat(o.top);return new L.Point(t,e,!0)},_onTransitionEnd:function(){L.DomEvent.off(this._el,L.DomUtil.TRANSITION_END,this._onTransitionEnd,this),this._inProgress&&(this._inProgress=!1,this._el.style[L.DomUtil.TRANSITION]="",this._el._leaflet_pos=this._newPos,clearInterval(this._stepTimer),this.fire("step").fire("end"))}}),L.Map.include({setView:function(t,e,i){if(e=void 0===e?this._zoom:this._limitZoom(e),t=this._limitCenter(L.latLng(t),e,this.options.maxBounds),i=i||{},this._panAnim&&this._panAnim.stop(),this._loaded&&!i.reset&&i!==!0){void 0!==i.animate&&(i.zoom=L.extend({animate:i.animate},i.zoom),i.pan=L.extend({animate:i.animate},i.pan));var n=this._zoom!==e?this._tryAnimatedZoom&&this._tryAnimatedZoom(t,e,i.zoom):this._tryAnimatedPan(t,i.pan);if(n)return clearTimeout(this._sizeTimer),this }return this._resetView(t,e),this},panBy:function(t,e){if(t=L.point(t).round(),e=e||{},!t.x&&!t.y)return this;if(this._panAnim||(this._panAnim=new L.PosAnimation,this._panAnim.on({step:this._onPanTransitionStep,end:this._onPanTransitionEnd},this)),e.noMoveStart||this.fire("movestart"),e.animate!==!1){L.DomUtil.addClass(this._mapPane,"leaflet-pan-anim");var i=this._getMapPanePos().subtract(t);this._panAnim.run(this._mapPane,i,e.duration||.25,e.easeLinearity)}else this._rawPanBy(t),this.fire("move").fire("moveend");return this},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){L.DomUtil.removeClass(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(t,e){var i=this._getCenterOffset(t)._floor();return(e&&e.animate)===!0||this.getSize().contains(i)?(this.panBy(i,e),!0):!1}}),L.PosAnimation=L.DomUtil.TRANSITION?L.PosAnimation:L.PosAnimation.extend({run:function(t,e,i,n){this.stop(),this._el=t,this._inProgress=!0,this._duration=i||.25,this._easeOutPower=1/Math.max(n||.5,.2),this._startPos=L.DomUtil.getPosition(t),this._offset=e.subtract(this._startPos),this._startTime=+new Date,this.fire("start"),this._animate()},stop:function(){this._inProgress&&(this._step(),this._complete())},_animate:function(){this._animId=L.Util.requestAnimFrame(this._animate,this),this._step()},_step:function(){var t=+new Date-this._startTime,e=1e3*this._duration;e>t?this._runFrame(this._easeOut(t/e)):(this._runFrame(1),this._complete())},_runFrame:function(t){var e=this._startPos.add(this._offset.multiplyBy(t));L.DomUtil.setPosition(this._el,e),this.fire("step")},_complete:function(){L.Util.cancelAnimFrame(this._animId),this._inProgress=!1,this.fire("end")},_easeOut:function(t){return 1-Math.pow(1-t,this._easeOutPower)}}),L.Map.mergeOptions({zoomAnimation:!0,zoomAnimationThreshold:4}),L.DomUtil.TRANSITION&&L.Map.addInitHook(function(){this._zoomAnimated=this.options.zoomAnimation&&L.DomUtil.TRANSITION&&L.Browser.any3d&&!L.Browser.android23&&!L.Browser.mobileOpera,this._zoomAnimated&&L.DomEvent.on(this._mapPane,L.DomUtil.TRANSITION_END,this._catchTransitionEnd,this)}),L.Map.include(L.DomUtil.TRANSITION?{_catchTransitionEnd:function(t){this._animatingZoom&&t.propertyName.indexOf("transform")>=0&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(t,e,i){if(this._animatingZoom)return!0;if(i=i||{},!this._zoomAnimated||i.animate===!1||this._nothingToAnimate()||Math.abs(e-this._zoom)>this.options.zoomAnimationThreshold)return!1;var n=this.getZoomScale(e),o=this._getCenterOffset(t)._divideBy(1-1/n),s=this._getCenterLayerPoint()._add(o);return i.animate===!0||this.getSize().contains(o)?(this.fire("movestart").fire("zoomstart"),this._animateZoom(t,e,s,n,null,!0),!0):!1},_animateZoom:function(t,e,i,n,o,s){this._animatingZoom=!0,L.DomUtil.addClass(this._mapPane,"leaflet-zoom-anim"),this._animateToCenter=t,this._animateToZoom=e,L.Draggable&&(L.Draggable._disabled=!0),this.fire("zoomanim",{center:t,zoom:e,origin:i,scale:n,delta:o,backwards:s})},_onZoomTransitionEnd:function(){this._animatingZoom=!1,L.DomUtil.removeClass(this._mapPane,"leaflet-zoom-anim"),this._resetView(this._animateToCenter,this._animateToZoom,!0,!0),L.Draggable&&(L.Draggable._disabled=!1)}}:{}),L.TileLayer.include({_animateZoom:function(t){this._animating||(this._animating=!0,this._prepareBgBuffer());var e=this._bgBuffer,i=L.DomUtil.TRANSFORM,n=t.delta?L.DomUtil.getTranslateString(t.delta):e.style[i],o=L.DomUtil.getScaleString(t.scale,t.origin);e.style[i]=t.backwards?o+" "+n:n+" "+o},_endZoomAnim:function(){var t=this._tileContainer,e=this._bgBuffer;t.style.visibility="",t.parentNode.appendChild(t),L.Util.falseFn(e.offsetWidth),this._animating=!1},_clearBgBuffer:function(){var t=this._map;!t||t._animatingZoom||t.touchZoom._zooming||(this._bgBuffer.innerHTML="",this._bgBuffer.style[L.DomUtil.TRANSFORM]="")},_prepareBgBuffer:function(){var t=this._tileContainer,e=this._bgBuffer,i=this._getLoadedTilesPercentage(e),n=this._getLoadedTilesPercentage(t);return e&&i>.5&&.5>n?(t.style.visibility="hidden",void this._stopLoadingImages(t)):(e.style.visibility="hidden",e.style[L.DomUtil.TRANSFORM]="",this._tileContainer=e,e=this._bgBuffer=t,this._stopLoadingImages(e),void clearTimeout(this._clearBgBufferTimer))},_getLoadedTilesPercentage:function(t){var e=t.getElementsByTagName("img"),i,n,o=0;for(i=0,n=e.length;n>i;i++)e[i].complete&&o++;return o/n},_stopLoadingImages:function(t){var e=Array.prototype.slice.call(t.getElementsByTagName("img")),i,n,o;for(i=0,n=e.length;n>i;i++)o=e[i],o.complete||(o.onload=L.Util.falseFn,o.onerror=L.Util.falseFn,o.src=L.Util.emptyImageUrl,o.parentNode.removeChild(o))}}),L.TileLayer.Zoomify=L.TileLayer.extend({options:{continuousWorld:!0,tolerance:.8},initialize:function(t,e){e=L.setOptions(this,e),this._url=t;var i=L.point(e.width,e.height),n=e.tileSize;for(this._imageSize=[i],this._gridSize=[this._getGridSize(i)];i.x>n||i.y>n;)i=i.divideBy(2).floor(),this._imageSize.push(i),this._gridSize.push(this._getGridSize(i));this._imageSize.reverse(),this._gridSize.reverse(),this.options.maxZoom=this._gridSize.length-1},onAdd:function(t){L.TileLayer.prototype.onAdd.call(this,t);var e=t.getSize(),i=this._getBestFitZoom(e),n=this._imageSize[i],o=t.options.crs.pointToLatLng(L.point(n.x/2,n.y/2),i)},getZoomifyBounds:function(t){var e=this._imageSize[0],i=t.options.crs.pointToLatLng(L.point(0,0),0),n=t.options.crs.pointToLatLng(L.point(e.x,e.y),0),o=L.latLngBounds(i,n);return o},getCenterZoom:function(t){var e=t.getSize(),i=this._getBestFitZoom(e),n=this._imageSize[i],o=t.options.crs.pointToLatLng(L.point(n.x/2,n.y/2),i);return{center:o,lat:o.lat,lon:o.lng,zoom:i}},_getGridSize:function(t){var e=this.options.tileSize;return L.point(Math.ceil(t.x/e),Math.ceil(t.y/e))},_getBestFitZoom:function(t){for(var e=this.options.tolerance,i=this._imageSize.length-1,n,i;i;){if(n=this._imageSize[i],n.x*e=0&&t.x=0&&t.yz;z++)n=this._gridSize[z],i+=n.x*n.y;return i+=t.y*this._gridSize[e].x+t.x,Math.floor(i/256)}}),L.tileLayer.zoomify=function(t,e){return new L.TileLayer.Zoomify(t,e)},L.Control.MiniMap=L.Control.extend({options:{position:"bottomright",toggleDisplay:!1,zoomLevelOffset:-5,zoomLevelFixed:!1,zoomAnimation:!1,autoToggleDisplay:!1,show_view:!0,width:150,height:150,aimingRectOptions:{color:"#c34528",weight:1,clickable:!1,stroke:!0},shadowRectOptions:{color:"#000000",weight:1,clickable:!1,opacity:0,fillOpacity:0}},hideText:"Hide MiniMap",showText:"Show MiniMap",initialize:function(t,e){L.Util.setOptions(this,e),this.options.aimingRectOptions.clickable=!1,this.options.shadowRectOptions.clickable=!1,this._layer=t},onAdd:function(t){return this._mainMap=t,this._container=L.DomUtil.create("div","leaflet-control-minimap"),this._container.style.width=this.options.width+"px",this._container.style.height=this.options.height+"px",L.DomEvent.disableClickPropagation(this._container),L.DomEvent.on(this._container,"mousewheel",L.DomEvent.stopPropagation),this._miniMap=new L.Map(this._container,{attributionControl:!1,zoomControl:!1,zoomAnimation:this.options.zoomAnimation,autoToggleDisplay:this.options.autoToggleDisplay,touchZoom:!1,scrollWheelZoom:!1,doubleClickZoom:!1,boxZoom:!1,dragging:!1,crs:t.options.crs}),this._miniMap.addLayer(this._layer),this._mainMapMoving=!1,this._miniMapMoving=!1,this._userToggledDisplay=!1,this._minimized=!1,this.options.toggleDisplay&&this._addToggleButton(),this._miniMap.whenReady(L.Util.bind(function(){this._aimingRect=L.rectangle(this._mainMap.getBounds(),this.options.aimingRectOptions).addTo(this._miniMap),this._shadowRect=L.rectangle(this._mainMap.getBounds(),this.options.shadowRectOptions).addTo(this._miniMap),this._locationCircle=L.circleMarker(this._mainMap.getCenter(),{fillColor:"#c34528",color:"#FFFFFF",weight:2,radius:10,fill:!0,fillOpacity:1,stroke:!0,clickable:!1}).addTo(this._miniMap),this._locationCircle.setRadius(5),this._mainMap.on("moveend",this._onMainMapMoved,this),this._mainMap.on("move",this._onMainMapMoving,this),this.options.bounds_array&&this._miniMap.fitBounds(this.options.bounds_array,{padding:[15,15]})},this)),this._container},minimize:function(t){this._minimized||this._minimize()},restore:function(){this._minimized&&(this._restore(),this._miniMap.fitBounds(this.options.bounds_array,{padding:[15,15]}))},addTo:function(t){return L.Control.prototype.addTo.call(this,t),this._miniMap.setView(this._mainMap.getCenter(),this._decideZoom(!0)),this._setDisplay(this._decideMinimized()),this},onRemove:function(t){this._mainMap.off("moveend",this._onMainMapMoved,this),this._mainMap.off("move",this._onMainMapMoving,this),this._miniMap.off("moveend",this._onMiniMapMoved,this),this._miniMap.removeLayer(this._layer)},_addToggleButton:function(){this._toggleDisplayButton=this.options.toggleDisplay?this._createButton("",this.hideText,"leaflet-control-minimap-toggle-display",this._container,this._toggleDisplayButtonClicked,this):void 0},_createButton:function(t,e,i,n,o,s){var a=L.DomUtil.create("a",i,n);a.innerHTML=t,a.href="#",a.title=e;var r=L.DomEvent.stopPropagation;return L.DomEvent.on(a,"click",r).on(a,"mousedown",r).on(a,"dblclick",r).on(a,"click",L.DomEvent.preventDefault).on(a,"click",o,s),a},_toggleDisplayButtonClicked:function(){this._userToggledDisplay=!0,this._minimized?(this._restore(),this._toggleDisplayButton.title=this.hideText):(this._minimize(),this._toggleDisplayButton.title=this.showText)},_setDisplay:function(t){t!=this._minimized&&(this._minimized?this._restore():this._minimize())},_minimize:function(){this._container.style.width="0px",this._container.style.height="0px",this._minimized=!0},_restore:function(){this._container.style.width=this.options.width+"px",this._container.style.height=this.options.height+"px",this._minimized=!1},_onMainMapMoved:function(t){if(this._miniMapMoving)this._miniMapMoving=!1;else{var e=this._decideZoom(!0);this._mainMapMoving=!0,this._setDisplay(this._decideMinimized())}this.options.show_view&&this._aimingRect.setBounds(this._mainMap.getBounds()),this._locationCircle.setLatLng(this._mainMap.getCenter())},_onMainMapMoving:function(t){this.options.show_view&&this._aimingRect.setBounds(this._mainMap.getBounds()),this._locationCircle.setLatLng(this._mainMap.getCenter())},_onMiniMapMoveStarted:function(t){var e=this._aimingRect.getBounds(),i=this._miniMap.latLngToContainerPoint(e.getSouthWest()),n=this._miniMap.latLngToContainerPoint(e.getNorthEast());this._lastAimingRectPosition={sw:i,ne:n}},_onMiniMapMoving:function(t){!this._mainMapMoving&&this._lastAimingRectPosition&&(this._shadowRect.setBounds(new L.LatLngBounds(this._miniMap.containerPointToLatLng(this._lastAimingRectPosition.sw),this._miniMap.containerPointToLatLng(this._lastAimingRectPosition.ne))),this._shadowRect.setStyle({opacity:1,fillOpacity:.3}))},_onMiniMapMoved:function(t){this._mainMapMoving?this._mainMapMoving=!1:(this._miniMapMoving=!0,this._mainMap.setView(this._miniMap.getCenter(),this._decideZoom(!1)),this._shadowRect.setStyle({opacity:0,fillOpacity:0}))},_decideZoom:function(t){if(this.options.zoomLevelFixed||0==this.options.zoomLevelFixed)return t?this.options.zoomLevelFixed:this._mainMap.getZoom();if(t)return this._mainMap.getZoom()+this.options.zoomLevelOffset;var e=this._miniMap.getZoom()-this._mainMap.getZoom(),i=this._miniMap.getZoom()-this.options.zoomLevelOffset,n;return e>this.options.zoomLevelOffset&&this._mainMap.getZoom()this._lastMiniMapZoom?(n=this._mainMap.getZoom()+1,this._miniMap.setZoom(this._miniMap.getZoom()-1)):n=this._mainMap.getZoom():n=i,this._lastMiniMapZoom=this._miniMap.getZoom(),n},_decideMinimized:function(){return this._userToggledDisplay?this._minimized:this.options.autoToggleDisplay?this._mainMap.getBounds().contains(this._miniMap.getBounds())?!0:!1:this._minimized}}),L.Map.mergeOptions({miniMapControl:!1}),L.Map.addInitHook(function(){this.options.miniMapControl&&(this.miniMapControl=(new L.Control.MiniMap).addTo(this))}),L.control.minimap=function(t){return new L.Control.MiniMap(t)},function(t){function e(t,e,n){for(var a=i(t),r=0;rLeaflet | ",'Map tiles by Stamen Design, ','under CC BY 3.0. ','Data by OpenStreetMap, ','under CC BY SA.'].join("")}},s={toner:o("toner","png",0,20),terrain:o("terrain","jpg",4,18),watercolor:o("watercolor","jpg",1,16),"trees-cabs-crime":{url:"http://{S}.tiles.mapbox.com/v3/stamen.trees-cabs-crime/{Z}/{X}/{Y}.png",type:"png",subdomains:"a b c d".split(" "),minZoom:11,maxZoom:18,extent:[{lat:37.853,lon:-122.577},{lat:37.684,lon:-122.313}],attribution:['Design by Shawn Allen at Stamen.','Data courtesy of FuF,','Yellow Cab','& SFPD.'].join(" ")}};if(e("toner",["hybrid","labels","lines","background","lite"]),e("toner",["2010"]),e("toner",["2011","2011-lines","2011-labels","2011-lite"]),e("terrain",["background"]),e("terrain",["labels","lines"],"png"),t.stamen=t.stamen||{},t.stamen.tile=t.stamen.tile||{},t.stamen.tile.providers=s,t.stamen.tile.getProvider=i,"object"==typeof MM){var a="function"==typeof MM.Template?MM.Template:MM.TemplatedMapProvider;MM.StamenTileLayer=function(t){var e=i(t);this._provider=e,MM.Layer.call(this,new a(e.url,e.subdomains)),this.provider.setZoomRange(e.minZoom,e.maxZoom),this.attribution=e.attribution},MM.StamenTileLayer.prototype={setCoordLimits:function(t){var e=this._provider;return e.extent?(t.coordLimits=[t.locationCoordinate(e.extent[0]).zoomTo(e.minZoom),t.locationCoordinate(e.extent[1]).zoomTo(e.maxZoom)],!0):!1}},MM.extend(MM.StamenTileLayer,MM.Layer)}"object"==typeof L&&(L.StamenTileLayer=L.TileLayer.extend({initialize:function(t,e){var n=i(t),o=n.url.replace(/({[A-Z]})/g,function(t){return t.toLowerCase()}),s={minZoom:n.minZoom,maxZoom:n.maxZoom,subdomains:n.subdomains,scheme:"xyz",attribution:n.attribution};e&&VCO.Util.mergeData(s,e),L.TileLayer.prototype.initialize.call(this,o,s)}})),"object"==typeof google&&"object"==typeof google.maps&&(google.maps.StamenMapType=function(t){var e=i(t),n=e.subdomains;return google.maps.ImageMapType.call(this,{getTileUrl:function(t,i){var o=1<s?s+o:s,r=t.y,h=(i+a+r)%n.length;return e.url.replace("{S}",n[h]).replace("{Z}",i).replace("{X}",a).replace("{Y}",r)},tileSize:new google.maps.Size(256,256),name:t,minZoom:e.minZoom,maxZoom:e.maxZoom})},google.maps.StamenMapType.prototype=new google.maps.ImageMapType("_"))}("undefined"==typeof exports?this:exports),VCO.MapMarker=VCO.Class.extend({includes:[VCO.Events],initialize:function(t,e){this._el={container:{},content_container:{},content:{}},this._marker={},this._icon={},this._custom_icon=!1,this._custom_icon_url="",this._custom_image_icon=!1,this.marker_number=0,this.media_icon_class="",this.timer={},this.data={},this.options={duration:1e3,ease:VCO.Ease.easeInSpline,width:600,height:600,map_popup:!1,use_custom_markers:!1},this.animator=null,VCO.Util.mergeData(this.options,e),VCO.Util.mergeData(this.data,t),this._initLayout()},show:function(){},hide:function(){},addTo:function(t){this._addTo(t)},removeFrom:function(t){this._removeFrom(t)},updateDisplay:function(t,e,i){this._updateDisplay(t,e,i)},createMarker:function(t,e){this._createMarker(t,e)},createPopup:function(t,e){this._createPopup(t,e)},active:function(t){this._active(t)},location:function(){return this._location()},_createMarker:function(t,e){},_addTo:function(t){},_removeFrom:function(t){},_createPopup:function(t,e){},_active:function(t){},_location:function(){return{lat:0,lng:0}},_onMarkerClick:function(t){this.fire("markerclick",{marker_number:this.marker_number})},_initLayout:function(){this._createMarker(this.data,this.options)},_updateDisplay:function(t,e,i){}}),VCO.Map=VCO.Class.extend({includes:[VCO.Events,VCO.DomMixins],_el:{},initialize:function(t,e,i){this._el={container:{},map:{},map_mask:{}},this._el.container="object"==typeof t?t:VCO.Dom.get(t),this._loaded={data:!1,map:!1},this._map=null,this._mini_map=null,this._markers=[],this.zoom_min_max={min:null,max:null},this._line=null,this._line_active=null,this.current_marker=0,this.bounds_array=null,this._tile_layer=null,this._tile_layer_mini=null,this._image_layer=null,this.data={uniqueid:"",slides:[{test:"yes"},{test:"yes"},{test:"yes"}]},this.options={map_type:"stamen:toner-lite",map_as_image:!1,map_mini:!1,map_background_color:"#d9d9d9",map_subdomains:"",zoomify:{path:"",width:"",height:"",tolerance:.8,attribution:""},skinny_size:650,less_bounce:!0,path_gfx:"gfx",start_at_slide:0,map_popup:!1,zoom_distance:100,calculate_zoom:!0,line_follows_path:!0,line_color:"#333",line_color_inactive:"#000",line_weight:5,line_opacity:.2,line_dash:"5,5",line_join:"miter",show_lines:!0,show_history_line:!0,use_custom_markers:!1,map_center_offset:null},this.animator=null,this.timer=null,VCO.Util.mergeData(this.options,i),VCO.Util.mergeData(this.data,e),this._initLayout(),this._initEvents(),this._createMap(),this._initData()},updateDisplay:function(t,e,i,n,o){this._updateDisplay(t,e,i,n,o)},goTo:function(t,e){if(t=0){var i=0,n=this.current_marker;this.current_marker=t;var o=this._markers[this.current_marker];if(this.animator&&this.animator.stop(),this._resetMarkersActive(),o.data.type&&"overview"==o.data.type)this._markerOverview(),e||this._onMarkerChange();else if(o.active(!0),e)o.data.location&&this._viewTo(o.data.location);else{if(o.data.location&&o.data.location.lat)if(i=this._calculateZoomChange(this._getMapCenter(!0),o.location()),this._viewTo(o.data.location,{calculate_zoom:this.options.calculate_zoom,zoom:i}),this.options.line_follows_path){if(this.options.show_history_line&&o.data.real_marker&&this._markers[n].data.real_marker){var s=[],a=n,r;if(athis.current_marker)for(;a>this.current_marker;)this._markers[a].data.location&&this._markers[a].data.location.lat&&(r={lat:this._markers[a].data.location.lat,lon:this._markers[a].data.location.lon},s.push(r)),a--;s.push({lat:o.data.location.lat,lon:o.data.location.lon}),this._replaceLines(this._line_active,s)}}else this.options.show_history_line&&o.data.real_marker&&this._markers[n].data.real_marker&&this._replaceLines(this._line_active,[{lat:o.data.location.lat,lon:o.data.location.lon},{lat:this._markers[n].data.location.lat,lon:this._markers[n].data.location.lon}]);else this._markerOverview(),e||this._onMarkerChange();this._onMarkerChange()}}},panTo:function(t,e){this._panTo(t,e)},zoomTo:function(t,e){this._zoomTo(t,e)},viewTo:function(t,e){this._viewTo(t,e)},getBoundsZoom:function(t,e,i,n){this.__getBoundsZoom(t,e,i,n)},markerOverview:function(){this._markerOverview()},calculateMarkerZooms:function(){this._calculateMarkerZooms()},createMiniMap:function(){this._createMiniMap()},setMapOffset:function(t,e){this.options.map_center_offset.left=t,this.options.map_center_offset.top=e},calculateMinMaxZoom:function(){for(var t=0;tt&&(this.zoom_min_max.min=t)},initialMapLocation:function(){this._loaded.data&&this._loaded.map&&(this.goTo(this.options.start_at_slide,!0),this._initialMapLocation())},show:function(){},hide:function(){},addTo:function(t){t.appendChild(this._el.container),this.onAdd()},removeFrom:function(t){t.removeChild(this._el.container),this.onRemove()},createMarkers:function(t){this._createMarkers(t)},createMarker:function(t){this._createMarker(t)},_destroyMarker:function(t){this._removeMarker(t);for(var e=0;e StoryMapJS");var t=this.options.map_type.split(":");this._tile_layer=this._createTileLayer(this.options.map_type),this._tile_layer.on("load",this._onTilesLoaded,this),this._map.addLayer(this._tile_layer),this._image_layer&&this._map.addLayer(this._image_layer),this._line=this._createLine(this._line),this._line.setStyle({color:this.options.line_color_inactive}),this._addLineToMap(this._line),this._line_active=this._createLine(this._line_active),this._line_active.setStyle({opacity:1}),this._addLineToMap(this._line_active),this.options.map_as_image&&(this._line_active.setStyle({opacity:0}),this._line.setStyle({opacity:0}))},_createMiniMap:function(){this.options.map_as_image&&(this.zoom_min_max.min=0),this.bounds_array||(this.bounds_array=this._getAllMarkersBounds(this._markers)),this._tile_layer_mini=this._createTileLayer(this.options.map_type),this._mini_map=new L.Control.MiniMap(this._tile_layer_mini,{width:150,height:100,position:"bottomleft",bounds_array:this.bounds_array,zoomLevelFixed:this.zoom_min_max.min,zoomAnimation:!0,aimingRectOptions:{fillColor:"#FFFFFF",color:"#FFFFFF",opacity:.4,weight:1,stroke:!0}}).addTo(this._map),this._mini_map.getContainer().style.backgroundColor=this.options.map_background_color},_createBackgroundMap:function(t){if(trace("CREATE BACKGROUND MAP"),this._image_layer?this._image_layer.clearLayers():(this._image_layer=new L.layerGroup,this._map.addLayer(this._image_layer)),t)for(x in t){var e=t[x],i={},n={x:0,y:0,url:e.src,height:parseInt(e.style.height.split("px")[0]),width:parseInt(e.style.width.split("px")[0]),pos:{start:0,end:0}};if(e.style.left||e.style.top)e.style.left&&(n.x=parseInt(e.style.left.split("px")[0])),e.style.top&&(n.y=parseInt(e.style.top.split("px")[0]));else if(e.style["-webkit-transform"]||e.style.transform||e.style["-ms-transform"]){var o;e.style["-webkit-transform"]?o=e.style["-webkit-transform"].split("3d(")[1].split(", 0)")[0].split(", "):e.style.transform?o=e.style.transform.split("3d(")[1].split(", 0)")[0].split(", "):e.style["-ms-transform"]&&(o=e.style["-ms-transform"].split("3d(")[1].split(", 0)")[0].split(", ")),n.x=parseInt(o[0].split("px")[0]),n.y=parseInt(o[1].split("px")[0])}n.url.match("toner")&&(n.url=n.url.replace("/toner-hybrid/","/toner-lines/"),n.url=n.url.replace("/toner/","/toner-background/")),n.pos.start=this._map.containerPointToLatLng([n.x,n.y]),n.pos.end=this._map.containerPointToLatLng([n.x+n.width,n.y+n.height]),i=new L.imageOverlay(n.url,[n.pos.start,n.pos.end]),this._image_layer.addLayer(i)}},_createTileLayer:function(t,e){var i=null,n=t.split(":"),o={},s="Leaflet | ";switch(e&&(o=e),n[0]){case"mapbox":var a=n[1]||"nuknightlab.hif6ioi4";o.subdomains="abcd",o.attribution=s+"© Mapbox © OpenStreetMap Improve this map",i=new L.TileLayer("https://{s}.tiles.mapbox.com/v2/"+a+"/{z}/{x}/{y}.png",o);break;case"stamen":i=new L.StamenTileLayer(n[1]||"toner-lite",o),this._map.getContainer().style.backgroundColor="#FFFFFF";break;case"zoomify":o.width=this.options.zoomify.width,o.height=this.options.zoomify.height,o.tolerance=this.options.zoomify.tolerance,o.attribution=s+this.options.zoomify.attribution,i=new L.tileLayer.zoomify(this.options.zoomify.path,o);break;case"osm":o.subdomains="ab",i=new L.TileLayer("http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",o);break;case"http":case"https":o.subdomains=this.options.map_subdomains,i=new L.TileLayer(this.options.map_type,o);break;default:i=new L.StamenTileLayer("toner",o)}return i},_onMapMoveEnd:function(t){},_onTilesLoaded:function(t){this._createBackgroundMap(t.target._tiles),this._tile_layer.off("load",this._onTilesLoaded,this)},_onMapZoomed:function(t){trace("FIRST ZOOM"),this._map.off("zoomend",this._onMapZoomed,this)},_onMapZoom:function(t){},_createMarker:function(t){var e=new VCO.MapMarker.Leaflet(t,this.options);e.on("markerclick",this._onMarkerClick,this),this._addMarker(e),this._markers.push(e),e.marker_number=this._markers.length-1,this.fire("markerAdded",e)},_addMarker:function(t){t.addTo(this._map)},_removeMarker:function(t){},_markerOverview:function(){var t,e;if(this._line_active.setStyle({opacity:0}),"zoomify"==this.options.map_type&&this.options.map_as_image){var i=this._tile_layer.getCenterZoom(this._map);t=i.center,(this.options.map_center_offset&&0!=this.options.map_center_offset.left||0!=this.options.map_center_offset.top)&&(i.zoom=i.zoom-1,t=this._getMapCenterOffset(t,i.zoom)),this._map.setView(t,i.zoom,{pan:{animate:!0,duration:this.options.duration/1e3,easeLinearity:.1},zoom:{animate:!0,duration:this.options.duration/1e3,easeLinearity:.1}})}else if(this.bounds_array=this._getAllMarkersBounds(this._markers),this.options.map_center_offset&&0!=this.options.map_center_offset.left||0!=this.options.map_center_offset.top){var n=new L.latLngBounds(this.bounds_array);t=n.getCenter(),e=this._map.getBoundsZoom(n),t=this._getMapCenterOffset(t,e-1),this._map.setView(t,e-1,{pan:{animate:!0,duration:this.options.duration/1e3,easeLinearity:.1},zoom:{animate:!0,duration:this.options.duration/1e3,easeLinearity:.1}})}else this._map.fitBounds(this.bounds_array,{padding:[15,15]});this._mini_map&&this._mini_map.minimize()},_getAllMarkersBounds:function(t){for(var e=[],i=0;i0?this._markers[t-1].location():this._getMapCenter(!0),s=this._calculateZoomChange(i,o),n=ts?s:a?a:s,(this.options.map_center_offset&&0!=this.options.map_center_offset.left||0!=this.options.map_center_offset.top)&&(r-=1),e.data.location.zoom=r}},_createLine:function(t){return new L.Polyline([],{clickable:!1,color:this.options.line_color,weight:this.options.line_weight,opacity:this.options.line_opacity,dashArray:this.options.line_dash,lineJoin:this.options.line_join,className:"vco-map-line"})},_addLineToMap:function(t){this._map.addLayer(t)},_addToLine:function(t,e){t.addLatLng({lon:e.location.lon,lat:e.location.lat})},_replaceLines:function(t,e){t.setLatLngs(e)},_panTo:function(t,e){this._map.panTo({lat:t.lat,lon:t.lon},{animate:!0,duration:this.options.duration/1e3,easeLinearity:.1})},_zoomTo:function(t,e){this._map.setZoom(t)},_viewTo:function(t,e){var i=!0,n=this.options.duration/1e3,o=this._getMapZoom(),s={lat:t.lat,lon:t.lon};this.options.map_as_image||this._line_active.setStyle({opacity:1}),t.zoom&&(o=t.zoom),e&&(e.duration&&(0==e.duration?i=!1:n=duration),e.zoom&&this.options.calculate_zoom&&(o=e.zoom)),this.options.map_center_offset&&(s=this._getMapCenterOffset(s,o)),this._map.setView(s,o,{pan:{animate:i,duration:n,easeLinearity:.1},zoom:{animate:i,duration:n,easeLinearity:.1}}),this._mini_map&&this.options.width>this.options.skinny_size&&(o-1<=this.zoom_min_max.min?this._mini_map.minimize():this._mini_map.restore())},_getMapLocation:function(t){return this._map.latLngToContainerPoint(t)},_getMapZoom:function(){return this._map.getZoom()},_getMapCenter:function(t){return this._map.getCenter()},_getMapCenterOffset:function(t,e){var i,n;return i=this._map.project(t,e).subtract([this.options.map_center_offset.left,this.options.map_center_offset.top]),n=this._map.unproject(i,e)},_getBoundsZoom:function(t,e,i){var n=t,o=[3*Math.abs(this.options.map_center_offset.left),3*Math.abs(this.options.map_center_offset.top)];if(trace("padding "+o),i){var s=n.lat+(n.lat-e.lat)/2,a=n.lng+(n.lng-e.lng)/2;n=new L.LatLng(s,a)}var r=new L.LatLngBounds([n,e]);return this.options.less_bounce?this._map.getBoundsZoom(r,!1,o):this._map.getBoundsZoom(r,!0,o)},_getZoomifyZoom:function(){},_initialMapLocation:function(){this._map.on("zoomend",this._onMapZoomed,this)},_updateMapDisplay:function(t,e){if(t){var i=this.options.duration,n=this;e&&(i=e),this.timer&&clearTimeout(this.timer),this.timer=setTimeout(function(){n._refreshMap()},i)}else this.timer||this._refreshMap();this._mini_map&&this._el.container.offsetWidth_;_++)n++,c=this.project(h,n).subtract(this.project(r,n)).add(i),u.push({x:Math.abs(a.x-c.x),y:Math.abs(a.y-c.y)});m=u[0];for(var f=0;f0?this._markers[t-1].location():this._getMapCenter(!0),s=this._calculateZoomChange(i,o),n=ts?s:a?a:s,(this.options.map_center_offset&&0!=this.options.map_center_offset.left||0!=this.options.map_center_offset.top)&&(r-=1),e.data.location.zoom=r}},_createLine:function(t){return new L.Polyline([],{clickable:!1,color:this.options.line_color,weight:this.options.line_weight,opacity:this.options.line_opacity,dashArray:this.options.line_dash,lineJoin:this.options.line_join,className:"vco-map-line"})},_addLineToMap:function(t){this._map.addLayer(t)},_addToLine:function(t,e){t.addLatLng({lon:e.location.lon,lat:e.location.lat})},_replaceLines:function(t,e){t.setLatLngs(e)},_panTo:function(t,e){this._map.panTo({lat:t.lat,lon:t.lon},{animate:!0,duration:this.options.duration/1e3,easeLinearity:.1})},_zoomTo:function(t,e){this._map.setZoom(t)},_viewTo:function(t,e){var i=!0,n=this.options.duration/1e3,o=this._getMapZoom(),s={lat:t.lat,lon:t.lon};this.options.map_as_image||this._line_active.setStyle({opacity:1}),t.zoom&&(o=t.zoom),e&&(e.duration&&(0==e.duration?i=!1:n=duration),e.zoom&&this.options.calculate_zoom&&(o=e.zoom)),this.options.map_center_offset&&(s=this._getMapCenterOffset(s,o)),this._map.setView(s,o,{pan:{animate:i,duration:n,easeLinearity:.1},zoom:{animate:i,duration:n,easeLinearity:.1}}),this._mini_map&&this.options.width>this.options.skinny_size&&(o-1<=this.zoom_min_max.min?this._mini_map.minimize():this._mini_map.restore())},_getMapLocation:function(t){return this._map.latLngToContainerPoint(t)},_getMapZoom:function(){return this._map.getZoom()},_getMapCenter:function(t){return this._map.getCenter()},_getMapCenterOffset:function(t,e){var i,n;return i=this._map.project(t,e).subtract([this.options.map_center_offset.left,this.options.map_center_offset.top]),n=this._map.unproject(i,e)},_getBoundsZoom:function(t,e,i){var n=t,o=[3*Math.abs(this.options.map_center_offset.left),3*Math.abs(this.options.map_center_offset.top)];if(i){var s=n.lat+(n.lat-e.lat)/2,a=n.lng+(n.lng-e.lng)/2;n=new L.LatLng(s,a)}var r=new L.LatLngBounds([n,e]);return this.options.less_bounce?this._map.getBoundsZoom(r,!1,o):this._map.getBoundsZoom(r,!0,o)},_getZoomifyZoom:function(){},_initialMapLocation:function(){this._map.on("zoomend",this._onMapZoomed,this)},_updateMapDisplay:function(t,e){if(t){var i=this.options.duration,n=this;e&&(i=e),this.timer&&clearTimeout(this.timer),this.timer=setTimeout(function(){n._refreshMap()},i)}else this.timer||this._refreshMap();this._mini_map&&this._el.container.offsetWidth_;_++)n++,c=this.project(h,n).subtract(this.project(r,n)).add(i),u.push({x:Math.abs(a.x-c.x),y:Math.abs(a.y-c.y)});m=u[0];for(var f=0;f