Commit 67d28fb4 by Hoang Phuc

Conver HTML to Slim

parent 781c16d3
Pipeline #638 failed with stages
in 0 seconds
...@@ -38,6 +38,8 @@ gem 'omniauth-facebook' ...@@ -38,6 +38,8 @@ gem 'omniauth-facebook'
gem 'settingslogic' gem 'settingslogic'
gem 'parallel', require: false gem 'parallel', require: false
gem 'slim'
# Use Active Storage variant # Use Active Storage variant
# gem 'image_processing', '~> 1.2' # gem 'image_processing', '~> 1.2'
......
...@@ -253,6 +253,9 @@ GEM ...@@ -253,6 +253,9 @@ GEM
childprocess (>= 0.5, < 4.0) childprocess (>= 0.5, < 4.0)
rubyzip (>= 1.2.2) rubyzip (>= 1.2.2)
settingslogic (2.0.9) settingslogic (2.0.9)
slim (4.1.0)
temple (>= 0.7.6, < 0.9)
tilt (>= 2.0.6, < 2.1)
spoon (0.0.6) spoon (0.0.6)
ffi ffi
spring (2.1.0) spring (2.1.0)
...@@ -266,6 +269,7 @@ GEM ...@@ -266,6 +269,7 @@ GEM
actionpack (>= 4.0) actionpack (>= 4.0)
activesupport (>= 4.0) activesupport (>= 4.0)
sprockets (>= 3.0.0) sprockets (>= 3.0.0)
temple (0.8.2)
thor (1.0.1) thor (1.0.1)
thread_safe (0.3.6) thread_safe (0.3.6)
thread_safe (0.3.6-java) thread_safe (0.3.6-java)
...@@ -331,6 +335,7 @@ DEPENDENCIES ...@@ -331,6 +335,7 @@ DEPENDENCIES
sass-rails (>= 6) sass-rails (>= 6)
selenium-webdriver selenium-webdriver
settingslogic settingslogic
slim
spring spring
spring-watcher-listen (~> 2.0.0) spring-watcher-listen (~> 2.0.0)
turbolinks (~> 5) turbolinks (~> 5)
......
function InfoBubble(a) {
this.extend(InfoBubble, google.maps.OverlayView), this.tabs_ = [], this.activeTab_ = null, this.baseZIndex_ = 100, this.isOpen_ = !1;
var b = a || {};
void 0 == b.backgroundColor && (b.backgroundColor = this.BACKGROUND_COLOR_), void 0 == b.borderColor && (b.borderColor = this.BORDER_COLOR_), void 0 == b.borderRadius && (b.borderRadius = this.BORDER_RADIUS_), void 0 == b.borderWidth && (b.borderWidth = this.BORDER_WIDTH_), void 0 == b.padding && (b.padding = this.PADDING_), void 0 == b.arrowPosition && (b.arrowPosition = this.ARROW_POSITION_), void 0 == b.disableAutoPan && (b.disableAutoPan = !1), void 0 == b.disableAnimation && (b.disableAnimation = !1), void 0 == b.minWidth && (b.minWidth = this.MIN_WIDTH_), void 0 == b.shadowStyle && (b.shadowStyle = this.SHADOW_STYLE_), void 0 == b.arrowSize && (b.arrowSize = this.ARROW_SIZE_), void 0 == b.arrowStyle && (b.arrowStyle = this.ARROW_STYLE_), this.buildDom_(), this.setValues(b)
}
function ClusterIcon(a, b) {
a.getMarkerClusterer().extend(ClusterIcon, google.maps.OverlayView), this.cluster_ = a, this.className_ = a.getMarkerClusterer().getClusterClass(), this.styles_ = b, this.center_ = null, this.div_ = null, this.sums_ = null, this.visible_ = !1, this.setMap(a.getMap())
}
function Cluster(a) {
this.markerClusterer_ = a, this.map_ = a.getMap(), this.gridSize_ = a.getGridSize(), this.minClusterSize_ = a.getMinimumClusterSize(), this.averageCenter_ = a.getAverageCenter(), this.markers_ = [], this.center_ = null, this.bounds_ = null, this.clusterIcon_ = new ClusterIcon(this, a.getStyles())
}
function MarkerClusterer(a, b, c) {
this.extend(MarkerClusterer, google.maps.OverlayView), b = b || [], c = c || {}, this.markers_ = [], this.clusters_ = [], this.listeners_ = [], this.activeMap_ = null, this.ready_ = !1, this.gridSize_ = c.gridSize || 60, this.minClusterSize_ = c.minimumClusterSize || 2, this.maxZoom_ = c.maxZoom || null, this.styles_ = c.styles || [], this.title_ = c.title || "", this.zoomOnClick_ = !0, void 0 !== c.zoomOnClick && (this.zoomOnClick_ = c.zoomOnClick), this.averageCenter_ = !1, void 0 !== c.averageCenter && (this.averageCenter_ = c.averageCenter), this.ignoreHidden_ = !1, void 0 !== c.ignoreHidden && (this.ignoreHidden_ = c.ignoreHidden), this.enableRetinaIcons_ = !1, void 0 !== c.enableRetinaIcons && (this.enableRetinaIcons_ = c.enableRetinaIcons), this.imagePath_ = c.imagePath || MarkerClusterer.IMAGE_PATH, this.imageExtension_ = c.imageExtension || MarkerClusterer.IMAGE_EXTENSION, this.imageSizes_ = c.imageSizes || MarkerClusterer.IMAGE_SIZES, this.calculator_ = c.calculator || MarkerClusterer.CALCULATOR, this.batchSize_ = c.batchSize || MarkerClusterer.BATCH_SIZE, this.batchSizeIE_ = c.batchSizeIE || MarkerClusterer.BATCH_SIZE_IE, this.clusterClass_ = c.clusterClass || "cluster", -1 !== navigator.userAgent.toLowerCase().indexOf("msie") && (this.batchSize_ = this.batchSizeIE_), this.setupStyles_(), this.addMarkers(b, !0), this.setMap(a)
}
function RichMarker(a) {
var b = a || {};
this.ready_ = !1, this.dragging_ = !1, void 0 == a.visible && (a.visible = !0), void 0 == a.shadow && (a.shadow = "7px -3px 5px rgba(88,88,88,0.7)"), void 0 == a.anchor && (a.anchor = RichMarkerPosition.BOTTOM), this.setValues(b)
}
window.InfoBubble = InfoBubble, InfoBubble.prototype.ARROW_SIZE_ = 15, InfoBubble.prototype.ARROW_STYLE_ = 0, InfoBubble.prototype.SHADOW_STYLE_ = 1, InfoBubble.prototype.MIN_WIDTH_ = 50, InfoBubble.prototype.ARROW_POSITION_ = 50, InfoBubble.prototype.PADDING_ = 10, InfoBubble.prototype.BORDER_WIDTH_ = 1, InfoBubble.prototype.BORDER_COLOR_ = "#ccc", InfoBubble.prototype.BORDER_RADIUS_ = 10, InfoBubble.prototype.BACKGROUND_COLOR_ = "#fff", InfoBubble.prototype.extend = function (a, b) {
return function (a) {
for (var b in a.prototype) this.prototype[b] = a.prototype[b];
return this
}.apply(a, [b])
}, InfoBubble.prototype.buildDom_ = function () {
var a = this.bubble_ = document.createElement("DIV");
a.style.position = "absolute", a.style.zIndex = this.baseZIndex_;
var b = this.tabsContainer_ = document.createElement("DIV");
b.style.position = "relative";
var c = this.close_ = document.createElement("IMG");
c.style.position = "absolute", c.style.width = this.px(12), c.style.height = this.px(12), c.style.border = 0, c.style.zIndex = this.baseZIndex_ + 1, c.style.cursor = "pointer", c.src = "https://maps.gstatic.com/intl/en_us/mapfiles/iw_close.gif";
var d = this;
google.maps.event.addDomListener(c, "click", function () {
d.close(), google.maps.event.trigger(d, "closeclick")
});
var e = this.contentContainer_ = document.createElement("DIV");
e.style.overflowX = "auto", e.style.overflowY = "auto", e.style.cursor = "default", e.style.clear = "both", e.style.position = "relative";
var f = this.content_ = document.createElement("DIV");
e.appendChild(f);
var g = this.arrow_ = document.createElement("DIV");
g.style.position = "relative";
var h = this.arrowOuter_ = document.createElement("DIV"),
i = this.arrowInner_ = document.createElement("DIV"),
j = this.getArrowSize_();
h.style.position = i.style.position = "absolute", h.style.left = i.style.left = "50%", h.style.height = i.style.height = "0", h.style.width = i.style.width = "0", h.style.marginLeft = this.px(-j), h.style.borderWidth = this.px(j), h.style.borderBottomWidth = 0;
var k = this.bubbleShadow_ = document.createElement("DIV");
k.style.position = "absolute", a.style.display = k.style.display = "none", a.appendChild(this.tabsContainer_), a.appendChild(c), a.appendChild(e), g.appendChild(h), g.appendChild(i), a.appendChild(g);
var l = document.createElement("style");
l.setAttribute("type", "text/css"), this.animationName_ = "_ibani_" + Math.round(1e4 * Math.random());
var m = "." + this.animationName_ + "{-webkit-animation-name:" + this.animationName_ + ";-webkit-animation-duration:0.5s;-webkit-animation-iteration-count:1;}@-webkit-keyframes " + this.animationName_ + " {from {-webkit-transform: scale(0)}50% {-webkit-transform: scale(1.2)}90% {-webkit-transform: scale(0.95)}to {-webkit-transform: scale(1)}}";
l.textContent = m, document.getElementsByTagName("head")[0].appendChild(l)
}, InfoBubble.prototype.setBackgroundClassName = function (a) {
this.set("backgroundClassName", a)
}, InfoBubble.prototype.setBackgroundClassName = InfoBubble.prototype.setBackgroundClassName, InfoBubble.prototype.backgroundClassName_changed = function () {
this.content_.className = this.get("backgroundClassName")
}, InfoBubble.prototype.backgroundClassName_changed = InfoBubble.prototype.backgroundClassName_changed, InfoBubble.prototype.setTabClassName = function (a) {
this.set("tabClassName", a)
}, InfoBubble.prototype.setTabClassName = InfoBubble.prototype.setTabClassName, InfoBubble.prototype.tabClassName_changed = function () {
this.updateTabStyles_()
}, InfoBubble.prototype.tabClassName_changed = InfoBubble.prototype.tabClassName_changed, InfoBubble.prototype.getArrowStyle_ = function () {
return parseInt(this.get("arrowStyle"), 10) || 0
}, InfoBubble.prototype.setArrowStyle = function (a) {
this.set("arrowStyle", a)
}, InfoBubble.prototype.setArrowStyle = InfoBubble.prototype.setArrowStyle, InfoBubble.prototype.arrowStyle_changed = function () {
this.arrowSize_changed()
}, InfoBubble.prototype.arrowStyle_changed = InfoBubble.prototype.arrowStyle_changed, InfoBubble.prototype.getArrowSize_ = function () {
return parseInt(this.get("arrowSize"), 10) || 0
}, InfoBubble.prototype.setArrowSize = function (a) {
this.set("arrowSize", a)
}, InfoBubble.prototype.setArrowSize = InfoBubble.prototype.setArrowSize, InfoBubble.prototype.arrowSize_changed = function () {
this.borderWidth_changed()
}, InfoBubble.prototype.arrowSize_changed = InfoBubble.prototype.arrowSize_changed, InfoBubble.prototype.setArrowPosition = function (a) {
this.set("arrowPosition", a)
}, InfoBubble.prototype.setArrowPosition = InfoBubble.prototype.setArrowPosition, InfoBubble.prototype.getArrowPosition_ = function () {
return parseInt(this.get("arrowPosition"), 10) || 0
}, InfoBubble.prototype.arrowPosition_changed = function () {
var a = this.getArrowPosition_();
this.arrowOuter_.style.left = this.arrowInner_.style.left = a + "%", this.redraw_()
}, InfoBubble.prototype.arrowPosition_changed = InfoBubble.prototype.arrowPosition_changed, InfoBubble.prototype.setZIndex = function (a) {
this.set("zIndex", a)
}, InfoBubble.prototype.setZIndex = InfoBubble.prototype.setZIndex, InfoBubble.prototype.getZIndex = function () {
return parseInt(this.get("zIndex"), 10) || this.baseZIndex_
}, InfoBubble.prototype.zIndex_changed = function () {
var a = this.getZIndex();
this.bubble_.style.zIndex = this.baseZIndex_ = a, this.close_.style.zIndex = a + 1
}, InfoBubble.prototype.zIndex_changed = InfoBubble.prototype.zIndex_changed, InfoBubble.prototype.setShadowStyle = function (a) {
this.set("shadowStyle", a)
}, InfoBubble.prototype.setShadowStyle = InfoBubble.prototype.setShadowStyle, InfoBubble.prototype.getShadowStyle_ = function () {
return parseInt(this.get("shadowStyle"), 10) || 0
}, InfoBubble.prototype.shadowStyle_changed = function () {
var a = this.getShadowStyle_(),
b = "",
c = "",
d = "";
switch (a) {
case 0:
b = "none";
break;
case 1:
c = "40px 15px 10px rgba(33,33,33,0.3)", d = "transparent";
break;
case 2:
c = "0 0 2px rgba(33,33,33,0.3)", d = "rgba(33,33,33,0.35)"
}
this.bubbleShadow_.style.boxShadow = this.bubbleShadow_.style.webkitBoxShadow = this.bubbleShadow_.style.MozBoxShadow = c, this.bubbleShadow_.style.backgroundColor = d, this.isOpen_ && (this.bubbleShadow_.style.display = b, this.draw())
}, InfoBubble.prototype.shadowStyle_changed = InfoBubble.prototype.shadowStyle_changed, InfoBubble.prototype.showCloseButton = function () {
this.set("hideCloseButton", !1)
}, InfoBubble.prototype.showCloseButton = InfoBubble.prototype.showCloseButton, InfoBubble.prototype.hideCloseButton = function () {
this.set("hideCloseButton", !0)
}, InfoBubble.prototype.hideCloseButton = InfoBubble.prototype.hideCloseButton, InfoBubble.prototype.hideCloseButton_changed = function () {
this.close_.style.display = this.get("hideCloseButton") ? "none" : ""
}, InfoBubble.prototype.hideCloseButton_changed = InfoBubble.prototype.hideCloseButton_changed, InfoBubble.prototype.setBackgroundColor = function (a) {
a && this.set("backgroundColor", a)
}, InfoBubble.prototype.setBackgroundColor = InfoBubble.prototype.setBackgroundColor, InfoBubble.prototype.backgroundColor_changed = function () {
var a = this.get("backgroundColor");
this.contentContainer_.style.backgroundColor = a, this.arrowInner_.style.borderColor = a + " transparent transparent", this.updateTabStyles_()
}, InfoBubble.prototype.backgroundColor_changed = InfoBubble.prototype.backgroundColor_changed, InfoBubble.prototype.setBorderColor = function (a) {
a && this.set("borderColor", a)
}, InfoBubble.prototype.setBorderColor = InfoBubble.prototype.setBorderColor, InfoBubble.prototype.borderColor_changed = function () {
var a = this.get("borderColor"),
b = this.contentContainer_,
c = this.arrowOuter_;
b.style.borderColor = a, c.style.borderColor = a + " transparent transparent", b.style.borderStyle = c.style.borderStyle = this.arrowInner_.style.borderStyle = "solid", this.updateTabStyles_()
}, InfoBubble.prototype.borderColor_changed = InfoBubble.prototype.borderColor_changed, InfoBubble.prototype.setBorderRadius = function (a) {
this.set("borderRadius", a)
}, InfoBubble.prototype.setBorderRadius = InfoBubble.prototype.setBorderRadius, InfoBubble.prototype.getBorderRadius_ = function () {
return parseInt(this.get("borderRadius"), 10) || 0
}, InfoBubble.prototype.borderRadius_changed = function () {
var a = this.getBorderRadius_(),
b = this.getBorderWidth_();
this.contentContainer_.style.borderRadius = this.contentContainer_.style.MozBorderRadius = this.contentContainer_.style.webkitBorderRadius = this.bubbleShadow_.style.borderRadius = this.bubbleShadow_.style.MozBorderRadius = this.bubbleShadow_.style.webkitBorderRadius = this.px(a), this.tabsContainer_.style.paddingLeft = this.tabsContainer_.style.paddingRight = this.px(a + b), this.redraw_()
}, InfoBubble.prototype.borderRadius_changed = InfoBubble.prototype.borderRadius_changed, InfoBubble.prototype.getBorderWidth_ = function () {
return parseInt(this.get("borderWidth"), 10) || 0
}, InfoBubble.prototype.setBorderWidth = function (a) {
this.set("borderWidth", a)
}, InfoBubble.prototype.setBorderWidth = InfoBubble.prototype.setBorderWidth, InfoBubble.prototype.borderWidth_changed = function () {
var a = this.getBorderWidth_();
this.contentContainer_.style.borderWidth = this.px(a), this.tabsContainer_.style.top = this.px(a), this.updateArrowStyle_(), this.updateTabStyles_(), this.borderRadius_changed(), this.redraw_()
}, InfoBubble.prototype.borderWidth_changed = InfoBubble.prototype.borderWidth_changed, InfoBubble.prototype.updateArrowStyle_ = function () {
var a = this.getBorderWidth_(),
b = this.getArrowSize_(),
c = this.getArrowStyle_(),
d = this.px(b),
e = this.px(Math.max(0, b - a)),
f = this.arrowOuter_,
g = this.arrowInner_;
this.arrow_.style.marginTop = this.px(-a), f.style.borderTopWidth = d, g.style.borderTopWidth = e, 0 == c || 1 == c ? (f.style.borderLeftWidth = d, g.style.borderLeftWidth = e) : f.style.borderLeftWidth = g.style.borderLeftWidth = 0, 0 == c || 2 == c ? (f.style.borderRightWidth = d, g.style.borderRightWidth = e) : f.style.borderRightWidth = g.style.borderRightWidth = 0, 2 > c ? (f.style.marginLeft = this.px(-b), g.style.marginLeft = this.px(-(b - a))) : f.style.marginLeft = g.style.marginLeft = 0, 0 == a ? f.style.display = "none" : f.style.display = ""
}, InfoBubble.prototype.setPadding = function (a) {
this.set("padding", a)
}, InfoBubble.prototype.setPadding = InfoBubble.prototype.setPadding, InfoBubble.prototype.getPadding_ = function () {
return parseInt(this.get("padding"), 10) || 0
}, InfoBubble.prototype.padding_changed = function () {
var a = this.getPadding_();
this.contentContainer_.style.padding = this.px(a), this.updateTabStyles_(), this.redraw_()
}, InfoBubble.prototype.padding_changed = InfoBubble.prototype.padding_changed, InfoBubble.prototype.px = function (a) {
return a ? a + "px" : a
}, InfoBubble.prototype.addEvents_ = function () {
var a = ["mousedown", "mousemove", "mouseover", "mouseout", "mouseup", "mousewheel", "DOMMouseScroll", "touchstart", "touchend", "touchmove", "dblclick", "contextmenu", "click"],
b = this.bubble_;
this.listeners_ = [];
for (var c, d = 0; c = a[d]; d++) this.listeners_.push(google.maps.event.addDomListener(b, c, function (a) {
a.cancelBubble = !0, a.stopPropagation && a.stopPropagation()
}))
}, InfoBubble.prototype.onAdd = function () {
this.bubble_ || this.buildDom_(), this.addEvents_();
var a = this.getPanes();
a && (a.floatPane.appendChild(this.bubble_), a.floatShadow.appendChild(this.bubbleShadow_))
}, InfoBubble.prototype.onAdd = InfoBubble.prototype.onAdd, InfoBubble.prototype.draw = function () {
var a = this.getProjection();
if (a) {
var b = this.get("position");
if (!b) return void this.close();
var c = 0;
this.activeTab_ && (c = this.activeTab_.offsetHeight);
var d = this.getAnchorHeight_(),
e = this.getArrowSize_(),
f = this.getArrowPosition_();
f /= 100;
var g = a.fromLatLngToDivPixel(b),
h = this.contentContainer_.offsetWidth,
i = this.bubble_.offsetHeight;
if (h) {
var j = g.y - (i + e);
d && (j -= d);
var k = g.x - h * f;
this.bubble_.style.top = this.px(j), this.bubble_.style.left = this.px(k);
var l = parseInt(this.get("shadowStyle"), 10);
switch (l) {
case 1:
this.bubbleShadow_.style.top = this.px(j + c - 1), this.bubbleShadow_.style.left = this.px(k), this.bubbleShadow_.style.width = this.px(h), this.bubbleShadow_.style.height = this.px(this.contentContainer_.offsetHeight - e);
break;
case 2:
h = .8 * h, d ? this.bubbleShadow_.style.top = this.px(g.y) : this.bubbleShadow_.style.top = this.px(g.y + e), this.bubbleShadow_.style.left = this.px(g.x - h * f), this.bubbleShadow_.style.width = this.px(h), this.bubbleShadow_.style.height = this.px(2)
}
}
}
}, InfoBubble.prototype.draw = InfoBubble.prototype.draw, InfoBubble.prototype.onRemove = function () {
this.bubble_ && this.bubble_.parentNode && this.bubble_.parentNode.removeChild(this.bubble_), this.bubbleShadow_ && this.bubbleShadow_.parentNode && this.bubbleShadow_.parentNode.removeChild(this.bubbleShadow_);
for (var a, b = 0; a = this.listeners_[b]; b++) google.maps.event.removeListener(a)
}, InfoBubble.prototype.onRemove = InfoBubble.prototype.onRemove, InfoBubble.prototype.isOpen = function () {
return this.isOpen_
}, InfoBubble.prototype.isOpen = InfoBubble.prototype.isOpen, InfoBubble.prototype.close = function () {
this.bubble_ && (this.bubble_.style.display = "none", this.bubble_.className = this.bubble_.className.replace(this.animationName_, "")), this.bubbleShadow_ && (this.bubbleShadow_.style.display = "none", this.bubbleShadow_.className = this.bubbleShadow_.className.replace(this.animationName_, "")), this.isOpen_ = !1
}, InfoBubble.prototype.close = InfoBubble.prototype.close, InfoBubble.prototype.open = function (a, b) {
var c = this;
window.setTimeout(function () {
c.open_(a, b)
}, 0)
}, InfoBubble.prototype.open_ = function (a, b) {
this.updateContent_(), a && this.setMap(a), b && (this.set("anchor", b), this.bindTo("anchorPoint", b), this.bindTo("position", b)), this.bubble_.style.display = this.bubbleShadow_.style.display = "";
var c = !this.get("disableAnimation");
c && (this.bubble_.className += " " + this.animationName_, this.bubbleShadow_.className += " " + this.animationName_), this.redraw_(), this.isOpen_ = !0;
var d = !this.get("disableAutoPan");
if (d) {
var e = this;
window.setTimeout(function () {
e.panToView()
}, 200)
}
}, InfoBubble.prototype.open = InfoBubble.prototype.open, InfoBubble.prototype.setPosition = function (a) {
a && this.set("position", a)
}, InfoBubble.prototype.setPosition = InfoBubble.prototype.setPosition, InfoBubble.prototype.getPosition = function () {
return this.get("position")
}, InfoBubble.prototype.getPosition = InfoBubble.prototype.getPosition, InfoBubble.prototype.position_changed = function () {
this.draw()
}, InfoBubble.prototype.position_changed = InfoBubble.prototype.position_changed, InfoBubble.prototype.panToView = function () {
var a = this.getProjection();
if (a && this.bubble_) {
var b = this.getAnchorHeight_(),
c = this.bubble_.offsetHeight + b,
d = this.get("map"),
e = d.getDiv(),
f = e.offsetHeight,
g = this.getPosition(),
h = a.fromLatLngToContainerPixel(d.getCenter()),
i = a.fromLatLngToContainerPixel(g),
j = h.y - c,
k = f - h.y,
l = 0 > j,
m = 0;
l && (j *= -1, m = (j + k) / 2), i.y -= m, g = a.fromContainerPixelToLatLng(i), d.getCenter() != g && d.panTo(g)
}
}, InfoBubble.prototype.panToView = InfoBubble.prototype.panToView, InfoBubble.prototype.htmlToDocumentFragment_ = function (a) {
a = a.replace(/^\s*([\S\s]*)\b\s*$/, "$1");
var b = document.createElement("DIV");
if (b.innerHTML = a, 1 == b.childNodes.length) return b.removeChild(b.firstChild);
for (var c = document.createDocumentFragment(); b.firstChild;) c.appendChild(b.firstChild);
return c
}, InfoBubble.prototype.removeChildren_ = function (a) {
if (a)
for (var b; b = a.firstChild;) a.removeChild(b)
}, InfoBubble.prototype.setContent = function (a) {
this.set("content", a)
}, InfoBubble.prototype.setContent = InfoBubble.prototype.setContent, InfoBubble.prototype.getContent = function () {
return this.get("content")
}, InfoBubble.prototype.getContent = InfoBubble.prototype.getContent, InfoBubble.prototype.updateContent_ = function () {
if (this.content_) {
this.removeChildren_(this.content_);
var a = this.getContent();
if (a) {
"string" == typeof a && (a = this.htmlToDocumentFragment_(a)), this.content_.appendChild(a);
for (var b, c = this, d = this.content_.getElementsByTagName("IMG"), e = 0; b = d[e]; e++) google.maps.event.addDomListener(b, "load", function () {
c.imageLoaded_()
});
google.maps.event.trigger(this, "domready")
}
this.redraw_()
}
}, InfoBubble.prototype.imageLoaded_ = function () {
var a = !this.get("disableAutoPan");
this.redraw_(), !a || 0 != this.tabs_.length && 0 != this.activeTab_.index || this.panToView()
}, InfoBubble.prototype.updateTabStyles_ = function () {
if (this.tabs_ && this.tabs_.length) {
for (var a, b = 0; a = this.tabs_[b]; b++) this.setTabStyle_(a.tab);
this.activeTab_.style.zIndex = this.baseZIndex_;
var c = this.getBorderWidth_(),
d = this.getPadding_() / 2;
this.activeTab_.style.borderBottomWidth = 0, this.activeTab_.style.paddingBottom = this.px(d + c)
}
}, InfoBubble.prototype.setTabStyle_ = function (a) {
var b = this.get("backgroundColor"),
c = this.get("borderColor"),
d = this.getBorderRadius_(),
e = this.getBorderWidth_(),
f = this.getPadding_(),
g = this.px(-Math.max(f, d)),
h = this.px(d),
i = this.baseZIndex_;
a.index && (i -= a.index);
var j = {
cssFloat: "left",
position: "relative",
cursor: "pointer",
backgroundColor: b,
border: this.px(e) + " solid " + c,
padding: this.px(f / 2) + " " + this.px(f),
marginRight: g,
whiteSpace: "nowrap",
borderRadiusTopLeft: h,
MozBorderRadiusTopleft: h,
webkitBorderTopLeftRadius: h,
borderRadiusTopRight: h,
MozBorderRadiusTopright: h,
webkitBorderTopRightRadius: h,
zIndex: i,
display: "inline"
};
for (var k in j) a.style[k] = j[k];
var l = this.get("tabClassName");
void 0 != l && (a.className += " " + l)
}, InfoBubble.prototype.addTabActions_ = function (a) {
var b = this;
a.listener_ = google.maps.event.addDomListener(a, "click", function () {
b.setTabActive_(this)
})
}, InfoBubble.prototype.setTabActive = function (a) {
var b = this.tabs_[a - 1];
b && this.setTabActive_(b.tab)
}, InfoBubble.prototype.setTabActive = InfoBubble.prototype.setTabActive, InfoBubble.prototype.setTabActive_ = function (a) {
if (!a) return this.setContent(""), void this.updateContent_();
var b = this.getPadding_() / 2,
c = this.getBorderWidth_();
if (this.activeTab_) {
var d = this.activeTab_;
d.style.zIndex = this.baseZIndex_ - d.index, d.style.paddingBottom = this.px(b), d.style.borderBottomWidth = this.px(c)
}
a.style.zIndex = this.baseZIndex_, a.style.borderBottomWidth = 0, a.style.marginBottomWidth = "-10px", a.style.paddingBottom = this.px(b + c), this.setContent(this.tabs_[a.index].content), this.updateContent_(), this.activeTab_ = a, this.redraw_()
}, InfoBubble.prototype.setMaxWidth = function (a) {
this.set("maxWidth", a)
}, InfoBubble.prototype.setMaxWidth = InfoBubble.prototype.setMaxWidth, InfoBubble.prototype.maxWidth_changed = function () {
this.redraw_()
}, InfoBubble.prototype.maxWidth_changed = InfoBubble.prototype.maxWidth_changed, InfoBubble.prototype.setMaxHeight = function (a) {
this.set("maxHeight", a)
}, InfoBubble.prototype.setMaxHeight = InfoBubble.prototype.setMaxHeight, InfoBubble.prototype.maxHeight_changed = function () {
this.redraw_()
}, InfoBubble.prototype.maxHeight_changed = InfoBubble.prototype.maxHeight_changed, InfoBubble.prototype.setMinWidth = function (a) {
this.set("minWidth", a)
}, InfoBubble.prototype.setMinWidth = InfoBubble.prototype.setMinWidth, InfoBubble.prototype.minWidth_changed = function () {
this.redraw_()
}, InfoBubble.prototype.minWidth_changed = InfoBubble.prototype.minWidth_changed, InfoBubble.prototype.setMinHeight = function (a) {
this.set("minHeight", a)
}, InfoBubble.prototype.setMinHeight = InfoBubble.prototype.setMinHeight, InfoBubble.prototype.minHeight_changed = function () {
this.redraw_()
}, InfoBubble.prototype.minHeight_changed = InfoBubble.prototype.minHeight_changed, InfoBubble.prototype.addTab = function (a, b) {
var c = document.createElement("DIV");
c.innerHTML = a, this.setTabStyle_(c), this.addTabActions_(c), this.tabsContainer_.appendChild(c), this.tabs_.push({
label: a,
content: b,
tab: c
}), c.index = this.tabs_.length - 1, c.style.zIndex = this.baseZIndex_ - c.index, this.activeTab_ || this.setTabActive_(c), c.className = c.className + " " + this.animationName_, this.redraw_()
}, InfoBubble.prototype.addTab = InfoBubble.prototype.addTab, InfoBubble.prototype.updateTab = function (a, b, c) {
if (!(!this.tabs_.length || 0 > a || a >= this.tabs_.length)) {
var d = this.tabs_[a];
void 0 != b && (d.tab.innerHTML = d.label = b), void 0 != c && (d.content = c), this.activeTab_ == d.tab && (this.setContent(d.content), this.updateContent_()), this.redraw_()
}
}, InfoBubble.prototype.updateTab = InfoBubble.prototype.updateTab, InfoBubble.prototype.removeTab = function (a) {
if (!(!this.tabs_.length || 0 > a || a >= this.tabs_.length)) {
var b = this.tabs_[a];
b.tab.parentNode.removeChild(b.tab), google.maps.event.removeListener(b.tab.listener_), this.tabs_.splice(a, 1), delete b;
for (var c, d = 0; c = this.tabs_[d]; d++) c.tab.index = d;
b.tab == this.activeTab_ && (this.tabs_[a] ? this.activeTab_ = this.tabs_[a].tab : this.tabs_[a - 1] ? this.activeTab_ = this.tabs_[a - 1].tab : this.activeTab_ = void 0, this.setTabActive_(this.activeTab_)), this.redraw_()
}
}, InfoBubble.prototype.removeTab = InfoBubble.prototype.removeTab, InfoBubble.prototype.getElementSize_ = function (a, b, c) {
var d = document.createElement("DIV");
d.style.display = "inline", d.style.position = "absolute", d.style.visibility = "hidden", "string" == typeof a ? d.innerHTML = a : d.appendChild(a.cloneNode(!0)), document.body.appendChild(d);
var e = new google.maps.Size(d.offsetWidth, d.offsetHeight);
return b && e.width > b && (d.style.width = this.px(b), e = new google.maps.Size(d.offsetWidth, d.offsetHeight)), c && e.height > c && (d.style.height = this.px(c), e = new google.maps.Size(d.offsetWidth, d.offsetHeight)), document.body.removeChild(d), delete d, e
}, InfoBubble.prototype.redraw_ = function () {
this.figureOutSize_(), this.positionCloseButton_(), this.draw()
}, InfoBubble.prototype.figureOutSize_ = function () {
var a = this.get("map");
if (a) {
var b = this.getPadding_(),
c = (this.getBorderWidth_(), this.getBorderRadius_(), this.getArrowSize_()),
d = a.getDiv(),
e = 2 * c,
f = d.offsetWidth - e,
g = d.offsetHeight - e - this.getAnchorHeight_(),
h = 0,
i = this.get("minWidth") || 0,
j = this.get("minHeight") || 0,
k = this.get("maxWidth") || 0,
l = this.get("maxHeight") || 0;
k = Math.min(f, k), l = Math.min(g, l);
var m = 0;
if (this.tabs_.length)
for (var n, o = 0; n = this.tabs_[o]; o++) {
var p = this.getElementSize_(n.tab, k, l),
q = this.getElementSize_(n.content, k, l);
i < p.width && (i = p.width), m += p.width, j < p.height && (j = p.height), p.height > h && (h = p.height), i < q.width && (i = q.width), j < q.height && (j = q.height)
} else {
var r = this.get("content");
if ("string" == typeof r && (r = this.htmlToDocumentFragment_(r)), r) {
var q = this.getElementSize_(r, k, l);
i < q.width && (i = q.width), j < q.height && (j = q.height)
}
}
k && (i = Math.min(i, k)), l && (j = Math.min(j, l)), i = Math.max(i, m), i == m && (i += 2 * b), c = 2 * c, i = Math.max(i, c), i > f && (i = f), j > g && (j = g - h), this.tabsContainer_ && (this.tabHeight_ = h, this.tabsContainer_.style.width = this.px(m)), this.contentContainer_.style.width = this.px(i), this.contentContainer_.style.height = this.px(j)
}
}, InfoBubble.prototype.getAnchorHeight_ = function () {
return 12
}, InfoBubble.prototype.anchorPoint_changed = function () {
this.draw()
}, InfoBubble.prototype.anchorPoint_changed = InfoBubble.prototype.anchorPoint_changed, InfoBubble.prototype.positionCloseButton_ = function () {
var a = (this.getBorderRadius_(), this.getBorderWidth_()),
b = 2,
c = 2;
this.tabs_.length && this.tabHeight_ && (c += this.tabHeight_), c += a, b += a;
var d = this.contentContainer_;
d && d.clientHeight < d.scrollHeight && (b += 15), this.close_.style.right = this.px(b), this.close_.style.top = this.px(c)
}, ClusterIcon.prototype.onAdd = function () {
var a, b, c = this;
this.div_ = document.createElement("div"), this.div_.className = this.className_, this.visible_ && this.show(), this.getPanes().overlayMouseTarget.appendChild(this.div_), this.boundsChangedListener_ = google.maps.event.addListener(this.getMap(), "bounds_changed", function () {
b = a
}), google.maps.event.addDomListener(this.div_, "mousedown", function () {
a = !0, b = !1
}), google.maps.event.addDomListener(this.div_, "click", function (d) {
if (a = !1, !b) {
var e, f, g = c.cluster_.getMarkerClusterer();
google.maps.event.trigger(g, "click", c.cluster_), google.maps.event.trigger(g, "clusterclick", c.cluster_), g.getZoomOnClick() && (f = g.getMaxZoom(), e = c.cluster_.getBounds(), g.getMap().fitBounds(e), setTimeout(function () {
g.getMap().fitBounds(e), null !== f && g.getMap().getZoom() > f && g.getMap().setZoom(f + 1);
var a = g.getMap().getMapTypeId(),
b = g.getMap().getZoom();
(21 == b && "roadmap" == a || 20 == b && "hybrid" == a) && g.repaint()
}, 100)), d.cancelBubble = !0, d.stopPropagation && d.stopPropagation()
}
}), google.maps.event.addDomListener(this.div_, "mouseover", function () {
var a = c.cluster_.getMarkerClusterer();
google.maps.event.trigger(a, "mouseover", c.cluster_)
}), google.maps.event.addDomListener(this.div_, "mouseout", function () {
var a = c.cluster_.getMarkerClusterer();
google.maps.event.trigger(a, "mouseout", c.cluster_)
})
}, ClusterIcon.prototype.onRemove = function () {
this.div_ && this.div_.parentNode && (this.hide(), google.maps.event.removeListener(this.boundsChangedListener_), google.maps.event.clearInstanceListeners(this.div_), this.div_.parentNode.removeChild(this.div_), this.div_ = null)
}, ClusterIcon.prototype.draw = function () {
if (this.visible_) {
var a = this.getPosFromLatLng_(this.center_);
this.div_.style.top = a.y + "px", this.div_.style.left = a.x + "px"
}
}, ClusterIcon.prototype.hide = function () {
this.div_ && (this.div_.style.display = "none"), this.visible_ = !1
}, ClusterIcon.prototype.show = function () {
if (this.div_) {
var a = "",
b = this.backgroundPosition_.split(" "),
c = parseInt(b[0].replace(/^\s+|\s+$/g, ""), 10),
d = parseInt(b[1].replace(/^\s+|\s+$/g, ""), 10),
e = this.getPosFromLatLng_(this.center_);
this.div_.style.cssText = this.createCss(e), a = "<img src='" + this.url_ + "' style='position: absolute; top: " + d + "px; left: " + c + "px; ", this.cluster_.getMarkerClusterer().enableRetinaIcons_ || (a += "clip: rect(" + -1 * d + "px, " + (-1 * c + this.width_) + "px, " + (-1 * d + this.height_) + "px, " + -1 * c + "px);"), a += "'>", this.div_.innerHTML = a + "<div style='position: absolute;top: " + this.anchorText_[0] + "px;left: " + this.anchorText_[1] + "px;color: " + this.textColor_ + ";font-size: " + this.textSize_ + "px;font-family: " + this.fontFamily_ + ";font-weight: " + this.fontWeight_ + ";font-style: " + this.fontStyle_ + ";text-decoration: " + this.textDecoration_ + ";text-align: center;width: " + this.width_ + "px;line-height:" + this.height_ + "px;'>" + this.sums_.text + "</div>", "undefined" == typeof this.sums_.title || "" === this.sums_.title ? this.div_.title = this.cluster_.getMarkerClusterer().getTitle() : this.div_.title = this.sums_.title, this.div_.style.display = ""
}
this.visible_ = !0
}, ClusterIcon.prototype.useStyle = function (a) {
this.sums_ = a;
var b = Math.max(0, a.index - 1);
b = Math.min(this.styles_.length - 1, b);
var c = this.styles_[b];
this.url_ = c.url, this.height_ = c.height, this.width_ = c.width, this.anchorText_ = c.anchorText || [0, 0], this.anchorIcon_ = c.anchorIcon || [parseInt(this.height_ / 2, 10), parseInt(this.width_ / 2, 10)], this.textColor_ = c.textColor || "black", this.textSize_ = c.textSize || 11, this.textDecoration_ = c.textDecoration || "none", this.fontWeight_ = c.fontWeight || "bold", this.fontStyle_ = c.fontStyle || "normal", this.fontFamily_ = c.fontFamily || "Arial,sans-serif", this.backgroundPosition_ = c.backgroundPosition || "0 0"
}, ClusterIcon.prototype.setCenter = function (a) {
this.center_ = a
}, ClusterIcon.prototype.createCss = function (a) {
var b = [];
return b.push("cursor: pointer;"), b.push("position: absolute; top: " + a.y + "px; left: " + a.x + "px;"), b.push("width: " + this.width_ + "px; height: " + this.height_ + "px;"), b.join("")
}, ClusterIcon.prototype.getPosFromLatLng_ = function (a) {
var b = this.getProjection().fromLatLngToDivPixel(a);
return b.x -= this.anchorIcon_[1], b.y -= this.anchorIcon_[0], b.x = parseInt(b.x, 10), b.y = parseInt(b.y, 10), b
}, Cluster.prototype.getSize = function () {
return this.markers_.length
}, Cluster.prototype.getMarkers = function () {
return this.markers_
}, Cluster.prototype.getCenter = function () {
return this.center_
}, Cluster.prototype.getMap = function () {
return this.map_
}, Cluster.prototype.getMarkerClusterer = function () {
return this.markerClusterer_
}, Cluster.prototype.getBounds = function () {
var a, b = new google.maps.LatLngBounds(this.center_, this.center_),
c = this.getMarkers();
for (a = 0; a < c.length; a++) b.extend(c[a].getPosition());
return b
}, Cluster.prototype.remove = function () {
this.clusterIcon_.setMap(null), this.markers_ = [], delete this.markers_
}, Cluster.prototype.addMarker = function (a) {
var b, c, d;
if (this.isMarkerAlreadyAdded_(a)) return !1;
if (this.center_) {
if (this.averageCenter_) {
var e = this.markers_.length + 1,
f = (this.center_.lat() * (e - 1) + a.getPosition().lat()) / e,
g = (this.center_.lng() * (e - 1) + a.getPosition().lng()) / e;
this.center_ = new google.maps.LatLng(f, g), this.calculateBounds_()
}
} else this.center_ = a.getPosition(), this.calculateBounds_();
if (a.isAdded = !0, this.markers_.push(a), c = this.markers_.length, d = this.markerClusterer_.getMaxZoom(), null !== d && this.map_.getZoom() > d) a.getMap() !== this.map_ && a.setMap(this.map_);
else if (c < this.minClusterSize_) a.getMap() !== this.map_ && a.setMap(this.map_);
else if (c === this.minClusterSize_)
for (b = 0; c > b; b++) this.markers_[b].setMap(null);
else a.setMap(null);
return this.updateIcon_(), !0
}, Cluster.prototype.isMarkerInClusterBounds = function (a) {
return this.bounds_.contains(a.getPosition())
}, Cluster.prototype.calculateBounds_ = function () {
var a = new google.maps.LatLngBounds(this.center_, this.center_);
this.bounds_ = this.markerClusterer_.getExtendedBounds(a)
}, Cluster.prototype.updateIcon_ = function () {
var a = this.markers_.length,
b = this.markerClusterer_.getMaxZoom();
if (null !== b && this.map_.getZoom() > b) return void this.clusterIcon_.hide();
if (a < this.minClusterSize_) return void this.clusterIcon_.hide();
var c = this.markerClusterer_.getStyles().length,
d = this.markerClusterer_.getCalculator()(this.markers_, c);
this.clusterIcon_.setCenter(this.center_), this.clusterIcon_.useStyle(d), this.clusterIcon_.show()
}, Cluster.prototype.isMarkerAlreadyAdded_ = function (a) {
var b;
if (this.markers_.indexOf) return -1 !== this.markers_.indexOf(a);
for (b = 0; b < this.markers_.length; b++)
if (a === this.markers_[b]) return !0;
return !1
}, MarkerClusterer.prototype.onAdd = function () {
var a = this;
this.activeMap_ = this.getMap(), this.ready_ = !0, this.repaint(), this.listeners_ = [google.maps.event.addListener(this.getMap(), "zoom_changed", function () {
a.resetViewport_(!1), (this.getZoom() === (this.get("minZoom") || 0) || this.getZoom() === this.get("maxZoom")) && google.maps.event.trigger(this, "idle")
}), google.maps.event.addListener(this.getMap(), "idle", function () {
a.redraw_()
})]
}, MarkerClusterer.prototype.onRemove = function () {
var a;
for (a = 0; a < this.markers_.length; a++) this.markers_[a].getMap() !== this.activeMap_ && this.markers_[a].setMap(this.activeMap_);
for (a = 0; a < this.clusters_.length; a++) this.clusters_[a].remove();
for (this.clusters_ = [], a = 0; a < this.listeners_.length; a++) google.maps.event.removeListener(this.listeners_[a]);
this.listeners_ = [], this.activeMap_ = null, this.ready_ = !1
}, MarkerClusterer.prototype.draw = function () {}, MarkerClusterer.prototype.setupStyles_ = function () {
var a, b;
if (!(this.styles_.length > 0))
for (a = 0; a < this.imageSizes_.length; a++) b = this.imageSizes_[a], this.styles_.push({
url: "",
height: b,
width: b
})
}, MarkerClusterer.prototype.fitMapToMarkers = function () {
var a, b = this.getMarkers(),
c = new google.maps.LatLngBounds;
for (a = 0; a < b.length; a++) c.extend(b[a].getPosition());
this.getMap().fitBounds(c)
}, MarkerClusterer.prototype.getGridSize = function () {
return this.gridSize_
}, MarkerClusterer.prototype.setGridSize = function (a) {
this.gridSize_ = a
}, MarkerClusterer.prototype.getMinimumClusterSize = function () {
return this.minClusterSize_
}, MarkerClusterer.prototype.setMinimumClusterSize = function (a) {
this.minClusterSize_ = a
}, MarkerClusterer.prototype.getMaxZoom = function () {
return this.maxZoom_
}, MarkerClusterer.prototype.setMaxZoom = function (a) {
this.maxZoom_ = a
}, MarkerClusterer.prototype.getStyles = function () {
return this.styles_
}, MarkerClusterer.prototype.setStyles = function (a) {
this.styles_ = a
}, MarkerClusterer.prototype.getTitle = function () {
return this.title_
}, MarkerClusterer.prototype.setTitle = function (a) {
this.title_ = a
}, MarkerClusterer.prototype.getZoomOnClick = function () {
return this.zoomOnClick_
}, MarkerClusterer.prototype.setZoomOnClick = function (a) {
this.zoomOnClick_ = a
}, MarkerClusterer.prototype.getAverageCenter = function () {
return this.averageCenter_
}, MarkerClusterer.prototype.setAverageCenter = function (a) {
this.averageCenter_ = a
}, MarkerClusterer.prototype.getIgnoreHidden = function () {
return this.ignoreHidden_
}, MarkerClusterer.prototype.setIgnoreHidden = function (a) {
this.ignoreHidden_ = a
}, MarkerClusterer.prototype.getEnableRetinaIcons = function () {
return this.enableRetinaIcons_
}, MarkerClusterer.prototype.setEnableRetinaIcons = function (a) {
this.enableRetinaIcons_ = a
}, MarkerClusterer.prototype.getImageExtension = function () {
return this.imageExtension_
}, MarkerClusterer.prototype.setImageExtension = function (a) {
this.imageExtension_ = a
}, MarkerClusterer.prototype.getImagePath = function () {
return this.imagePath_
}, MarkerClusterer.prototype.setImagePath = function (a) {
this.imagePath_ = a
}, MarkerClusterer.prototype.getImageSizes = function () {
return this.imageSizes_
}, MarkerClusterer.prototype.setImageSizes = function (a) {
this.imageSizes_ = a
}, MarkerClusterer.prototype.getCalculator = function () {
return this.calculator_
}, MarkerClusterer.prototype.setCalculator = function (a) {
this.calculator_ = a
}, MarkerClusterer.prototype.getBatchSizeIE = function () {
return this.batchSizeIE_
}, MarkerClusterer.prototype.setBatchSizeIE = function (a) {
this.batchSizeIE_ = a
}, MarkerClusterer.prototype.getClusterClass = function () {
return this.clusterClass_
}, MarkerClusterer.prototype.setClusterClass = function (a) {
this.clusterClass_ = a
}, MarkerClusterer.prototype.getMarkers = function () {
return this.markers_
}, MarkerClusterer.prototype.getTotalMarkers = function () {
return this.markers_.length
}, MarkerClusterer.prototype.getClusters = function () {
return this.clusters_
}, MarkerClusterer.prototype.getTotalClusters = function () {
return this.clusters_.length
}, MarkerClusterer.prototype.addMarker = function (a, b) {
this.pushMarkerTo_(a), b || this.redraw_()
}, MarkerClusterer.prototype.addMarkers = function (a, b) {
var c;
for (c in a) a.hasOwnProperty(c) && this.pushMarkerTo_(a[c]);
b || this.redraw_()
}, MarkerClusterer.prototype.pushMarkerTo_ = function (a) {
if (a.getDraggable()) {
var b = this;
google.maps.event.addListener(a, "dragend", function () {
b.ready_ && (this.isAdded = !1, b.repaint())
})
}
a.isAdded = !1, this.markers_.push(a)
}, MarkerClusterer.prototype.removeMarker = function (a, b) {
var c = this.removeMarker_(a);
return !b && c && this.repaint(), c
}, MarkerClusterer.prototype.removeMarkers = function (a, b) {
var c, d, e = !1;
for (c = 0; c < a.length; c++) d = this.removeMarker_(a[c]), e = e || d;
return !b && e && this.repaint(), e
}, MarkerClusterer.prototype.removeMarker_ = function (a) {
var b, c = -1;
if (this.markers_.indexOf) c = this.markers_.indexOf(a);
else
for (b = 0; b < this.markers_.length; b++)
if (a === this.markers_[b]) {
c = b;
break
} return -1 === c ? !1 : (a.setMap(null), this.markers_.splice(c, 1), !0)
}, MarkerClusterer.prototype.clearMarkers = function () {
this.resetViewport_(!0), this.markers_ = []
}, MarkerClusterer.prototype.repaint = function () {
var a = this.clusters_.slice();
this.clusters_ = [], this.resetViewport_(!1), this.redraw_(), setTimeout(function () {
var b;
for (b = 0; b < a.length; b++) a[b].remove()
}, 0)
}, MarkerClusterer.prototype.getExtendedBounds = function (a) {
var b = this.getProjection(),
c = new google.maps.LatLng(a.getNorthEast().lat(), a.getNorthEast().lng()),
d = new google.maps.LatLng(a.getSouthWest().lat(), a.getSouthWest().lng()),
e = b.fromLatLngToDivPixel(c);
e.x += this.gridSize_, e.y -= this.gridSize_;
var f = b.fromLatLngToDivPixel(d);
f.x -= this.gridSize_, f.y += this.gridSize_;
var g = b.fromDivPixelToLatLng(e),
h = b.fromDivPixelToLatLng(f);
return a.extend(g), a.extend(h), a
}, MarkerClusterer.prototype.redraw_ = function () {
this.createClusters_(0)
}, MarkerClusterer.prototype.resetViewport_ = function (a) {
var b, c;
for (b = 0; b < this.clusters_.length; b++) this.clusters_[b].remove();
for (this.clusters_ = [], b = 0; b < this.markers_.length; b++) c = this.markers_[b], c.isAdded = !1, a && c.setMap(null)
}, MarkerClusterer.prototype.distanceBetweenPoints_ = function (a, b) {
var c = 6371,
d = (b.lat() - a.lat()) * Math.PI / 180,
e = (b.lng() - a.lng()) * Math.PI / 180,
f = Math.sin(d / 2) * Math.sin(d / 2) + Math.cos(a.lat() * Math.PI / 180) * Math.cos(b.lat() * Math.PI / 180) * Math.sin(e / 2) * Math.sin(e / 2),
g = 2 * Math.atan2(Math.sqrt(f), Math.sqrt(1 - f)),
h = c * g;
return h
}, MarkerClusterer.prototype.isMarkerInBounds_ = function (a, b) {
return b.contains(a.getPosition())
}, MarkerClusterer.prototype.addToClosestCluster_ = function (a) {
var b, c, d, e, f = 4e4,
g = null;
for (b = 0; b < this.clusters_.length; b++) d = this.clusters_[b], e = d.getCenter(), e && (c = this.distanceBetweenPoints_(e, a.getPosition()), f > c && (f = c, g = d));
g && g.isMarkerInClusterBounds(a) ? g.addMarker(a) : (d = new Cluster(this), d.addMarker(a), this.clusters_.push(d))
}, MarkerClusterer.prototype.createClusters_ = function (a) {
var b, c, d, e = this;
if (this.ready_) {
0 === a && (google.maps.event.trigger(this, "clusteringbegin", this), "undefined" != typeof this.timerRefStatic && (clearTimeout(this.timerRefStatic), delete this.timerRefStatic)), d = this.getMap().getZoom() > 3 ? new google.maps.LatLngBounds(this.getMap().getBounds().getSouthWest(), this.getMap().getBounds().getNorthEast()) : new google.maps.LatLngBounds(new google.maps.LatLng(85.02070771743472, -178.48388434375), new google.maps.LatLng(-85.08136444384544, 178.00048865625));
var f = this.getExtendedBounds(d),
g = Math.min(a + this.batchSize_, this.markers_.length);
for (b = a; g > b; b++) c = this.markers_[b], !c.isAdded && this.isMarkerInBounds_(c, f) && (!this.ignoreHidden_ || this.ignoreHidden_ && c.getVisible()) && this.addToClosestCluster_(c);
g < this.markers_.length ? this.timerRefStatic = setTimeout(function () {
e.createClusters_(g)
}, 0) : (delete this.timerRefStatic, google.maps.event.trigger(this, "clusteringend", this))
}
}, MarkerClusterer.prototype.extend = function (a, b) {
return function (a) {
var b;
for (b in a.prototype) this.prototype[b] = a.prototype[b];
return this
}.apply(a, [b])
}, MarkerClusterer.CALCULATOR = function (a, b) {
for (var c = 0, d = "", e = a.length.toString(), f = e; 0 !== f;) f = parseInt(f / 10, 10), c++;
return c = Math.min(c, b), {
text: e,
index: c,
title: d
}
}, MarkerClusterer.BATCH_SIZE = 2e3, MarkerClusterer.BATCH_SIZE_IE = 500, MarkerClusterer.IMAGE_PATH = "https://google-maps-utility-library-v3.googlecode.com/svn/trunk/markerclustererplus/images/m", MarkerClusterer.IMAGE_EXTENSION = "png", MarkerClusterer.IMAGE_SIZES = [53, 56, 66, 78, 90], RichMarker.prototype = new google.maps.OverlayView, window.RichMarker = RichMarker, RichMarker.prototype.getVisible = function () {
return this.get("visible")
}, RichMarker.prototype.getVisible = RichMarker.prototype.getVisible, RichMarker.prototype.setVisible = function (a) {
this.set("visible", a)
}, RichMarker.prototype.setVisible = RichMarker.prototype.setVisible, RichMarker.prototype.visible_changed = function () {
this.ready_ && (this.markerWrapper_.style.display = this.getVisible() ? "" : "none", this.draw())
}, RichMarker.prototype.visible_changed = RichMarker.prototype.visible_changed, RichMarker.prototype.setFlat = function (a) {
this.set("flat", !!a)
}, RichMarker.prototype.setFlat = RichMarker.prototype.setFlat, RichMarker.prototype.getFlat = function () {
return this.get("flat")
}, RichMarker.prototype.getFlat = RichMarker.prototype.getFlat, RichMarker.prototype.getWidth = function () {
return this.get("width")
}, RichMarker.prototype.getWidth = RichMarker.prototype.getWidth, RichMarker.prototype.getHeight = function () {
return this.get("height")
}, RichMarker.prototype.getHeight = RichMarker.prototype.getHeight, RichMarker.prototype.setShadow = function (a) {
this.set("shadow", a), this.flat_changed()
}, RichMarker.prototype.setShadow = RichMarker.prototype.setShadow, RichMarker.prototype.getShadow = function () {
return this.get("shadow")
}, RichMarker.prototype.getShadow = RichMarker.prototype.getShadow, RichMarker.prototype.flat_changed = function () {
this.ready_ && (this.markerWrapper_.style.boxShadow = this.markerWrapper_.style.webkitBoxShadow = this.markerWrapper_.style.MozBoxShadow = this.getFlat() ? "" : this.getShadow())
}, RichMarker.prototype.flat_changed = RichMarker.prototype.flat_changed, RichMarker.prototype.setZIndex = function (a) {
this.set("zIndex", a)
}, RichMarker.prototype.setZIndex = RichMarker.prototype.setZIndex, RichMarker.prototype.getZIndex = function () {
return this.get("zIndex")
}, RichMarker.prototype.getZIndex = RichMarker.prototype.getZIndex, RichMarker.prototype.zIndex_changed = function () {
this.getZIndex() && this.ready_ && (this.markerWrapper_.style.zIndex = this.getZIndex())
}, RichMarker.prototype.zIndex_changed = RichMarker.prototype.zIndex_changed, RichMarker.prototype.getDraggable = function () {
return this.get("draggable")
}, RichMarker.prototype.getDraggable = RichMarker.prototype.getDraggable, RichMarker.prototype.setDraggable = function (a) {
this.set("draggable", !!a)
}, RichMarker.prototype.setDraggable = RichMarker.prototype.setDraggable, RichMarker.prototype.draggable_changed = function () {
this.ready_ && (this.getDraggable() ? this.addDragging_(this.markerWrapper_) : this.removeDragListeners_())
}, RichMarker.prototype.draggable_changed = RichMarker.prototype.draggable_changed, RichMarker.prototype.getPosition = function () {
return this.get("position")
}, RichMarker.prototype.getPosition = RichMarker.prototype.getPosition, RichMarker.prototype.setPosition = function (a) {
this.set("position", a)
}, RichMarker.prototype.setPosition = RichMarker.prototype.setPosition, RichMarker.prototype.position_changed = function () {
this.draw()
}, RichMarker.prototype.position_changed = RichMarker.prototype.position_changed, RichMarker.prototype.getAnchor = function () {
return this.get("anchor")
}, RichMarker.prototype.getAnchor = RichMarker.prototype.getAnchor, RichMarker.prototype.setAnchor = function (a) {
this.set("anchor", a)
}, RichMarker.prototype.setAnchor = RichMarker.prototype.setAnchor, RichMarker.prototype.anchor_changed = function () {
this.draw()
}, RichMarker.prototype.anchor_changed = RichMarker.prototype.anchor_changed, RichMarker.prototype.htmlToDocumentFragment_ = function (a) {
var b = document.createElement("DIV");
if (b.innerHTML = a, 1 == b.childNodes.length) return b.removeChild(b.firstChild);
for (var c = document.createDocumentFragment(); b.firstChild;) c.appendChild(b.firstChild);
return c
}, RichMarker.prototype.removeChildren_ = function (a) {
if (a)
for (var b; b = a.firstChild;) a.removeChild(b)
}, RichMarker.prototype.setContent = function (a) {
this.set("content", a)
}, RichMarker.prototype.setContent = RichMarker.prototype.setContent, RichMarker.prototype.getContent = function () {
return this.get("content")
}, RichMarker.prototype.getContent = RichMarker.prototype.getContent, RichMarker.prototype.content_changed = function () {
if (this.markerContent_) {
this.removeChildren_(this.markerContent_);
var a = this.getContent();
if (a) {
"string" == typeof a && (a = a.replace(/^\s*([\S\s]*)\b\s*$/, "$1"), a = this.htmlToDocumentFragment_(a)), this.markerContent_.appendChild(a);
for (var b, c = this, d = this.markerContent_.getElementsByTagName("IMG"), e = 0; b = d[e]; e++) google.maps.event.addDomListener(b, "mousedown", function (a) {
c.getDraggable() && (a.preventDefault && a.preventDefault(), a.returnValue = !1)
}), google.maps.event.addDomListener(b, "load", function () {
c.draw()
});
google.maps.event.trigger(this, "domready")
}
this.ready_ && this.draw()
}
}, RichMarker.prototype.content_changed = RichMarker.prototype.content_changed, RichMarker.prototype.setCursor_ = function (a) {
if (this.ready_) {
var b = ""; - 1 !== navigator.userAgent.indexOf("Gecko/") ? ("dragging" == a && (b = "-moz-grabbing"), "dragready" == a && (b = "-moz-grab"), "draggable" == a && (b = "pointer")) : (("dragging" == a || "dragready" == a) && (b = "move"), "draggable" == a && (b = "pointer")), this.markerWrapper_.style.cursor != b && (this.markerWrapper_.style.cursor = b)
}
}, RichMarker.prototype.startDrag = function (a) {
if (this.getDraggable() && !this.dragging_) {
this.dragging_ = !0;
var b = this.getMap();
this.mapDraggable_ = b.get("draggable"), b.set("draggable", !1), this.mouseX_ = a.clientX, this.mouseY_ = a.clientY, this.setCursor_("dragready"), this.markerWrapper_.style.MozUserSelect = "none", this.markerWrapper_.style.KhtmlUserSelect = "none", this.markerWrapper_.style.WebkitUserSelect = "none", this.markerWrapper_.unselectable = "on", this.markerWrapper_.onselectstart = function () {
return !1
}, this.addDraggingListeners_(), google.maps.event.trigger(this, "dragstart")
}
}, RichMarker.prototype.stopDrag = function () {
this.getDraggable() && this.dragging_ && (this.dragging_ = !1, this.getMap().set("draggable", this.mapDraggable_), this.mouseX_ = this.mouseY_ = this.mapDraggable_ = null, this.markerWrapper_.style.MozUserSelect = "", this.markerWrapper_.style.KhtmlUserSelect = "", this.markerWrapper_.style.WebkitUserSelect = "", this.markerWrapper_.unselectable = "off", this.markerWrapper_.onselectstart = function () {}, this.removeDraggingListeners_(), this.setCursor_("draggable"), google.maps.event.trigger(this, "dragend"), this.draw())
}, RichMarker.prototype.drag = function (a) {
if (!this.getDraggable() || !this.dragging_) return void this.stopDrag();
var b = this.mouseX_ - a.clientX,
c = this.mouseY_ - a.clientY;
this.mouseX_ = a.clientX, this.mouseY_ = a.clientY;
var d = parseInt(this.markerWrapper_.style.left, 10) - b,
e = parseInt(this.markerWrapper_.style.top, 10) - c;
this.markerWrapper_.style.left = d + "px", this.markerWrapper_.style.top = e + "px";
var f = this.getOffset_(),
g = new google.maps.Point(d - f.width, e - f.height),
h = this.getProjection();
this.setPosition(h.fromDivPixelToLatLng(g)), this.setCursor_("dragging"), google.maps.event.trigger(this, "drag")
}, RichMarker.prototype.removeDragListeners_ = function () {
this.draggableListener_ && (google.maps.event.removeListener(this.draggableListener_), delete this.draggableListener_), this.setCursor_("")
}, RichMarker.prototype.addDragging_ = function (a) {
if (a) {
var b = this;
this.draggableListener_ = google.maps.event.addDomListener(a, "mousedown", function (a) {
b.startDrag(a)
}), this.setCursor_("draggable")
}
}, RichMarker.prototype.addDraggingListeners_ = function () {
var a = this;
this.markerWrapper_.setCapture ? (this.markerWrapper_.setCapture(!0), this.draggingListeners_ = [google.maps.event.addDomListener(this.markerWrapper_, "mousemove", function (b) {
a.drag(b)
}, !0), google.maps.event.addDomListener(this.markerWrapper_, "mouseup", function () {
a.stopDrag(), a.markerWrapper_.releaseCapture()
}, !0)]) : this.draggingListeners_ = [google.maps.event.addDomListener(window, "mousemove", function (b) {
a.drag(b)
}, !0), google.maps.event.addDomListener(window, "mouseup", function () {
a.stopDrag()
}, !0)]
}, RichMarker.prototype.removeDraggingListeners_ = function () {
if (this.draggingListeners_) {
for (var a, b = 0; a = this.draggingListeners_[b]; b++) google.maps.event.removeListener(a);
this.draggingListeners_.length = 0
}
}, RichMarker.prototype.getOffset_ = function () {
var a = this.getAnchor();
if ("object" == typeof a) return a;
var b = new google.maps.Size(0, 0);
if (!this.markerContent_) return b;
var c = this.markerContent_.offsetWidth,
d = this.markerContent_.offsetHeight;
switch (a) {
case RichMarkerPosition.TOP_LEFT:
break;
case RichMarkerPosition.TOP:
b.width = -c / 2;
break;
case RichMarkerPosition.TOP_RIGHT:
b.width = -c;
break;
case RichMarkerPosition.LEFT:
b.height = -d / 2;
break;
case RichMarkerPosition.MIDDLE:
b.width = -c / 2, b.height = -d / 2;
break;
case RichMarkerPosition.RIGHT:
b.width = -c, b.height = -d / 2;
break;
case RichMarkerPosition.BOTTOM_LEFT:
b.height = -d;
break;
case RichMarkerPosition.BOTTOM:
b.width = -c / 2, b.height = -d;
break;
case RichMarkerPosition.BOTTOM_RIGHT:
b.width = -c, b.height = -d
}
return b
}, RichMarker.prototype.onAdd = function () {
if (this.markerWrapper_ || (this.markerWrapper_ = document.createElement("DIV"), this.markerWrapper_.style.position = "absolute"), this.getZIndex() && (this.markerWrapper_.style.zIndex = this.getZIndex()), this.markerWrapper_.style.display = this.getVisible() ? "" : "none", !this.markerContent_) {
this.markerContent_ = document.createElement("DIV"), this.markerWrapper_.appendChild(this.markerContent_);
var a = this;
google.maps.event.addDomListener(this.markerContent_, "click", function (b) {
google.maps.event.trigger(a, "click")
}), google.maps.event.addDomListener(this.markerContent_, "mouseover", function (b) {
google.maps.event.trigger(a, "mouseover")
}), google.maps.event.addDomListener(this.markerContent_, "mouseout", function (b) {
google.maps.event.trigger(a, "mouseout")
})
}
this.ready_ = !0, this.content_changed(), this.flat_changed(), this.draggable_changed();
var b = this.getPanes();
b && b.overlayMouseTarget.appendChild(this.markerWrapper_), google.maps.event.trigger(this, "ready")
}, RichMarker.prototype.onAdd = RichMarker.prototype.onAdd, RichMarker.prototype.draw = function () {
if (this.ready_ && !this.dragging_) {
var a = this.getProjection();
if (a) {
var b = this.get("position"),
c = a.fromLatLngToDivPixel(b),
d = this.getOffset_();
this.markerWrapper_.style.top = c.y + d.height + "px", this.markerWrapper_.style.left = c.x + d.width + "px";
var e = this.markerContent_.offsetHeight,
f = this.markerContent_.offsetWidth;
f != this.get("width") && this.set("width", f), e != this.get("height") && this.set("height", e)
}
}
}, RichMarker.prototype.draw = RichMarker.prototype.draw, RichMarker.prototype.onRemove = function () {
this.markerWrapper_ && this.markerWrapper_.parentNode && this.markerWrapper_.parentNode.removeChild(this.markerWrapper_), this.removeDragListeners_()
}, RichMarker.prototype.onRemove = RichMarker.prototype.onRemove;
var RichMarkerPosition = {
TOP_LEFT: 1,
TOP: 2,
TOP_RIGHT: 3,
LEFT: 4,
MIDDLE: 5,
RIGHT: 6,
BOTTOM_LEFT: 7,
BOTTOM: 8,
BOTTOM_RIGHT: 9
};
window.RichMarkerPosition = RichMarkerPosition,
function () {
var a = function (a, b) {
return function () {
return a.apply(b, arguments)
}
},
b = function (a, b) {
function d() {
this.constructor = a
}
for (var e in b) c.call(b, e) && (a[e] = b[e]);
return d.prototype = b.prototype, a.prototype = new d, a.__super__ = b.prototype, a
},
c = {}.hasOwnProperty;
jQuery(function (c) {
var d, e, f, g, h, i, j;
return d = function (d) {
function e() {
return this.showDefault = a(this.showDefault, this), this.hideBubble = a(this.hideBubble, this), this.fitbounds = a(this.fitbounds, this), this.clusterOverlay = a(this.clusterOverlay, this), this.createClusterer = a(this.createClusterer, this), this.resize = a(this.resize, this), this.mapHeight = a(this.mapHeight, this), this.canvas = a(this.canvas, this), e.__super__.constructor.apply(this, arguments)
}
return b(e, d), e.prototype.bounds = new google.maps.LatLngBounds, e.prototype.infobubble = new InfoBubble({
backgroundClassName: "map-marker-info",
borderRadius: 4,
padding: 15,
borderColor: "#ffffff",
shadowStyle: 0,
minHeight: 70,
minWidth: 225,
maxWidth: 275,
hideCloseButton: !0,
flat: !0
}), e.prototype.loaded = !1, e.prototype.initialize = function (a) {
return null == a && (a = {}), this.settings = _.defaults(a, jobifyMapSettings), google.maps.event.addDomListener(window, "load", this.canvas), this.markersCollectionView = new h({
map: this,
collection: new g
}), this.settings.target.on("updated_results", function (a) {
return function (b, c) {
return a.loaded = !0, a.markersCollectionView.load(b)
}
}(this))
}, e.prototype.canvas = function () {
var a, b;
return a = c.Deferred(), this.el = document.getElementById(this.settings.canvas), this.el ? (this.mapOptions = this.settings.mapOptions, this.opts = {
gestureHandling: "cooperative",
zoom: parseInt(this.mapOptions.zoom),
maxZoom: parseInt(this.mapOptions.maxZoom),
minZoom: parseInt(this.mapOptions.maxZoomOut),
scrollwheel: this.mapOptions.scrollwheel,
zoomControlOptions: {
position: google.maps.ControlPosition.RIGHT_TOP
},
streetViewControl: !0,
streetViewControlOptions: {
position: google.maps.ControlPosition.RIGHT_TOP
}
}, this.mapOptions.center ? this.defaultCenter = new google.maps.LatLng(this.mapOptions.center[0], this.mapOptions.center[1]) : this.defaultCenter = new google.maps.LatLng(41.850033, -87.6500523), this.opts.center = this.defaultCenter, this.obj = new google.maps.Map(this.el, this.opts), this.createClusterer(), google.maps.event.addListener(this.obj, "click", this.hideBubble), google.maps.event.addListener(this.obj, "zoom_changed", this.hideBubble), b = this.obj, google.maps.event.addListener(this.obj, "dragend", function () {
return google.maps.event.trigger(b, "resize")
}), google.maps.event.addListenerOnce(this.obj, "idle", function () {
return this.loaded = !0, a.resolve(this.obj)
}), c(window).on("resize", this.resize), this.mapHeight(), a.promise()) : a.reject()
}, e.prototype.mapHeight = function () {}, e.prototype.resize = function () {
return this.mapHeight(), google.maps.event.trigger(this.obj, "resize"), this.fitbounds()
}, e.prototype.createClusterer = function () {
return this.clusterer = new MarkerClusterer(null, [], {
ignoreHidden: !0
}), this.clusterer.setMap(this.obj), this.clusterer.setMaxZoom(this.opts.maxZoom), this.clusterer.setGridSize(parseInt(this.mapOptions.gridSize)), google.maps.event.addListener(this.clusterer, "click", this.clusterOverlay)
}, e.prototype.clusterOverlay = function (a) {
var b, d, e, f;
return d = a.getMarkers(), f = this.obj.getZoom(), f < this.opts.maxZoom ? void 0 : (b = _.map(d, function (a) {
var b;
return (b = wp.template("infoBubble"))(a.meta)
}), e = this.settings.overlayTitle.replace("%d", d.length), c.magnificPopup.open({
items: {
src: '<div class="modal"><h2 class="modal-title">' + e + '</h2><ul class="cluster-items"><li class="map-marker-info">' + b.join('</li><li class="map-marker-info">') + "</li></ul></div>",
type: "inline"
}
}))
}, e.prototype.fitbounds = function () {
return this.obj.fitBounds(this.bounds)
}, e.prototype.hideBubble = function () {
return this.infobubble.close()
}, e.prototype.showDefault = function () {
return _.isUndefined(this.obj) ? !0 : (this.obj.setCenter(this.opts.center), this.obj.setZoom(this.opts.zoom))
}, e
}(Backbone.View), h = function (d) {
function e() {
return this.resize = a(this.resize, this), this.setClusterer = a(this.setClusterer, this), this.clearClusterer = a(this.clearClusterer, this), this.clearBounds = a(this.clearBounds, this), this.fitBounds = a(this.fitBounds, this), this.removeOld = a(this.removeOld, this), this.render = a(this.render, this), this.parseResults = a(this.parseResults, this), this.load = a(this.load, this), this.listen = a(this.listen, this), e.__super__.constructor.apply(this, arguments)
}
return b(e, d), e.prototype.initialize = function (a) {
return null == a && (a = {}), this.map = a.map, google.maps.event.addDomListener(window, "load", this.listen)
}, e.prototype.listen = function () {
return _.isUndefined(this.map.obj) ? this : (this.listenTo(this.collection, "add", this.render), this.listenTo(this.collection, "reset", this.removeOld), "1" === this.map.settings.useClusters && (this.listenTo(this.collection, "markers-reset", this.clearClusterer), this.listenTo(this.collection, "markers-added", this.setClusterer)), this.listenTo(this.collection, "markers-reset", this.clearBounds), this.listenTo(this.collection, "markers-added", this.fitBounds), this.listenTo(this.collection, "markers-added", this.resize))
}, e.prototype.load = function (a) {
var b;
return b = this.parseResults(a), this.collection.reset(), _.isEmpty(b) ? this.map.showDefault() : (this.collection.set(b), this.collection.trigger("markers-added"))
}, e.prototype.parseResults = function (a) {
var b, d;
return d = _.isUndefined(a && !_.isUndefined(a.target)) ? c(this.map.settings.list).first().find("li") : c(a.target).find(this.map.settings.list).first().find("li"), b = _.map(d, function (a) {
return c(a).data()
}), b = _.filter(b, function (a) {
return _.has(a, "latitude") && "" !== a.latitude
})
}, e.prototype.render = function (a) {
var b;
return b = new f({
model: a,
map: this.map
}), this.map.bounds.extend(a.position()), b.add()
}, e.prototype.removeOld = function (a, b) {
return _.each(b.previousModels, function (a) {
return a.trigger("hide", a)
}), this.collection.trigger("markers-reset")
}, e.prototype.fitBounds = function () {
var a;
return a = parseInt(this.map.settings.autoFit), 1 === a && this.map.loaded === !0 ? this.map.fitbounds() : void 0
}, e.prototype.clearBounds = function () {
return this.map.bounds = new google.maps.LatLngBounds
}, e.prototype.clearClusterer = function () {
return this.map.clusterer.clearMarkers()
}, e.prototype.setClusterer = function () {
var a;
return a = this.collection.map(function (a) {
return a.get("obj")
}), this.map.clusterer.addMarkers(a), this.map.obj.setZoom(this.map.obj.getZoom() + 1)
}, e.prototype.resize = function () {
return google.maps.event.trigger(this.map.obj, "resize")
}, e
}(Backbone.View), f = function (d) {
function e() {
return this.remove = a(this.remove, this), this.add = a(this.add, this), this.renderInfoBubble = a(this.renderInfoBubble, this), e.__super__.constructor.apply(this, arguments)
}
return b(e, d), e.prototype.template = wp.template("infoBubble"), e.prototype.initialize = function (a) {
var b;
return null == a && (a = {}), this.map = a.map, this.defaults = {
flat: !0,
draggable: !1,
position: this.model.position(),
meta: this.model.toJSON()
}, this.marker = new google.maps.Marker(this.defaults), this.model.set("obj", this.marker), this.listenTo(this.model, "hide", this.remove), b = this.map.settings.trigger, c(window).outerWidth() <= 992 && (b = "click"), google.maps.event.addListener(this.model.get("obj"), b, this.renderInfoBubble)
}, e.prototype.renderInfoBubble = function () {
return this.map.infobubble.isOpen_ && this.map.infobubble.anchor === this.model.get("obj") ? void 0 : (this.map.infobubble.open(this.map.obj, this.model.get("obj")), this.map.infobubble.setContent(this.template(this.model.toJSON())))
}, e.prototype.add = function () {
return this.model.get("obj").setMap(this.map.obj)
}, e.prototype.remove = function () {
return this.model.get("obj").setMap(null)
}, e
}(Backbone.View), e = function (c) {
function d() {
return this.position = a(this.position, this), d.__super__.constructor.apply(this, arguments)
}
return b(d, c), d.prototype["default"] = {
id: "",
obj: "",
lat: "",
lng: "",
title: ""
}, d.prototype.position = function () {
return new google.maps.LatLng(this.get("latitude"), this.get("longitude"))
}, d
}(Backbone.Model), g = function (a) {
function c() {
return c.__super__.constructor.apply(this, arguments)
}
return b(c, a), c.prototype.model = e, c
}(Backbone.Collection), InfoBubble.prototype.getAnchorHeight_ = function () {
return 48
}, i = new d({
canvas: "job_listing-map-canvas",
target: c("div.job_listings"),
form: c(".job_filters"),
list: "ul.job_listings",
submit: c(".job_filters").find(".update_results")
}), j = new d({
canvas: "resume-map-canvas",
target: c("div.resumes"),
form: c(".resume_filters"),
list: "ul.resumes",
submit: c(".resume_filters").find(".update_results")
})
})
}.call(this);
\ No newline at end of file
!function(n){var s="object"==typeof self&&self.self===self&&self||"object"==typeof global&&global.global===global&&global;if("function"==typeof define&&define.amd)define(["underscore","jquery","exports"],function(t,e,i){s.Backbone=n(s,i,t,e)});else if("undefined"!=typeof exports){var t,e=require("underscore");try{t=require("jquery")}catch(t){}n(s,exports,e,t)}else s.Backbone=n(s,{},s._,s.jQuery||s.Zepto||s.ender||s.$)}(function(t,h,x,e){var i=t.Backbone,o=Array.prototype.slice;h.VERSION="1.4.0",h.$=e,h.noConflict=function(){return t.Backbone=i,this},h.emulateHTTP=!1,h.emulateJSON=!1;var a,n=h.Events={},u=/\s+/,l=function(t,e,i,n,s){var r,o=0;if(i&&"object"==typeof i){void 0!==n&&"context"in s&&void 0===s.context&&(s.context=n);for(r=x.keys(i);o<r.length;o++)e=l(t,e,r[o],i[r[o]],s)}else if(i&&u.test(i))for(r=i.split(u);o<r.length;o++)e=t(e,r[o],n,s);else e=t(e,i,n,s);return e};n.on=function(t,e,i){this._events=l(s,this._events||{},t,e,{context:i,ctx:this,listening:a}),a&&(((this._listeners||(this._listeners={}))[a.id]=a).interop=!1);return this},n.listenTo=function(t,e,i){if(!t)return this;var n=t._listenId||(t._listenId=x.uniqueId("l")),s=this._listeningTo||(this._listeningTo={}),r=a=s[n];r||(this._listenId||(this._listenId=x.uniqueId("l")),r=a=s[n]=new g(this,t));var o=c(t,e,i,this);if(a=void 0,o)throw o;return r.interop&&r.on(e,i),this};var s=function(t,e,i,n){if(i){var s=t[e]||(t[e]=[]),r=n.context,o=n.ctx,a=n.listening;a&&a.count++,s.push({callback:i,context:r,ctx:r||o,listening:a})}return t},c=function(t,e,i,n){try{t.on(e,i,n)}catch(t){return t}};n.off=function(t,e,i){return this._events&&(this._events=l(r,this._events,t,e,{context:i,listeners:this._listeners})),this},n.stopListening=function(t,e,i){var n=this._listeningTo;if(!n)return this;for(var s=t?[t._listenId]:x.keys(n),r=0;r<s.length;r++){var o=n[s[r]];if(!o)break;o.obj.off(e,i,this),o.interop&&o.off(e,i)}return x.isEmpty(n)&&(this._listeningTo=void 0),this};var r=function(t,e,i,n){if(t){var s,r=n.context,o=n.listeners,a=0;if(e||r||i){for(s=e?[e]:x.keys(t);a<s.length;a++){var h=t[e=s[a]];if(!h)break;for(var u=[],l=0;l<h.length;l++){var c=h[l];if(i&&i!==c.callback&&i!==c.callback._callback||r&&r!==c.context)u.push(c);else{var d=c.listening;d&&d.off(e,i)}}u.length?t[e]=u:delete t[e]}return t}for(s=x.keys(o);a<s.length;a++)o[s[a]].cleanup()}};n.once=function(t,e,i){var n=l(d,{},t,e,this.off.bind(this));return"string"==typeof t&&null==i&&(e=void 0),this.on(n,e,i)},n.listenToOnce=function(t,e,i){var n=l(d,{},e,i,this.stopListening.bind(this,t));return this.listenTo(t,n)};var d=function(t,e,i,n){if(i){var s=t[e]=x.once(function(){n(e,s),i.apply(this,arguments)});s._callback=i}return t};n.trigger=function(t){if(!this._events)return this;for(var e=Math.max(0,arguments.length-1),i=Array(e),n=0;n<e;n++)i[n]=arguments[n+1];return l(f,this._events,t,void 0,i),this};var f=function(t,e,i,n){if(t){var s=t[e],r=t.all;s&&r&&(r=r.slice()),s&&p(s,n),r&&p(r,[e].concat(n))}return t},p=function(t,e){var i,n=-1,s=t.length,r=e[0],o=e[1],a=e[2];switch(e.length){case 0:for(;++n<s;)(i=t[n]).callback.call(i.ctx);return;case 1:for(;++n<s;)(i=t[n]).callback.call(i.ctx,r);return;case 2:for(;++n<s;)(i=t[n]).callback.call(i.ctx,r,o);return;case 3:for(;++n<s;)(i=t[n]).callback.call(i.ctx,r,o,a);return;default:for(;++n<s;)(i=t[n]).callback.apply(i.ctx,e);return}},g=function(t,e){this.id=t._listenId,this.listener=t,this.obj=e,this.interop=!0,this.count=0,this._events=void 0};g.prototype.on=n.on,g.prototype.off=function(t,e){(this.interop?(this._events=l(r,this._events,t,e,{context:void 0,listeners:void 0}),this._events):(this.count--,0!==this.count))||this.cleanup()},g.prototype.cleanup=function(){delete this.listener._listeningTo[this.obj._listenId],this.interop||delete this.obj._listeners[this.id]},n.bind=n.on,n.unbind=n.off,x.extend(h,n);var v=h.Model=function(t,e){var i=t||{};e=e||{},this.preinitialize.apply(this,arguments),this.cid=x.uniqueId(this.cidPrefix),this.attributes={},e.collection&&(this.collection=e.collection),e.parse&&(i=this.parse(i,e)||{});var n=x.result(this,"defaults");i=x.defaults(x.extend({},n,i),n),this.set(i,e),this.changed={},this.initialize.apply(this,arguments)};x.extend(v.prototype,n,{changed:null,validationError:null,idAttribute:"id",cidPrefix:"c",preinitialize:function(){},initialize:function(){},toJSON:function(t){return x.clone(this.attributes)},sync:function(){return h.sync.apply(this,arguments)},get:function(t){return this.attributes[t]},escape:function(t){return x.escape(this.get(t))},has:function(t){return null!=this.get(t)},matches:function(t){return!!x.iteratee(t,this)(this.attributes)},set:function(t,e,i){if(null==t)return this;var n;if("object"==typeof t?(n=t,i=e):(n={})[t]=e,i=i||{},!this._validate(n,i))return!1;var s=i.unset,r=i.silent,o=[],a=this._changing;this._changing=!0,a||(this._previousAttributes=x.clone(this.attributes),this.changed={});var h=this.attributes,u=this.changed,l=this._previousAttributes;for(var c in n)e=n[c],x.isEqual(h[c],e)||o.push(c),x.isEqual(l[c],e)?delete u[c]:u[c]=e,s?delete h[c]:h[c]=e;if(this.idAttribute in n&&(this.id=this.get(this.idAttribute)),!r){o.length&&(this._pending=i);for(var d=0;d<o.length;d++)this.trigger("change:"+o[d],this,h[o[d]],i)}if(a)return this;if(!r)for(;this._pending;)i=this._pending,this._pending=!1,this.trigger("change",this,i);return this._pending=!1,this._changing=!1,this},unset:function(t,e){return this.set(t,void 0,x.extend({},e,{unset:!0}))},clear:function(t){var e={};for(var i in this.attributes)e[i]=void 0;return this.set(e,x.extend({},t,{unset:!0}))},hasChanged:function(t){return null==t?!x.isEmpty(this.changed):x.has(this.changed,t)},changedAttributes:function(t){if(!t)return!!this.hasChanged()&&x.clone(this.changed);var e,i=this._changing?this._previousAttributes:this.attributes,n={};for(var s in t){var r=t[s];x.isEqual(i[s],r)||(n[s]=r,e=!0)}return!!e&&n},previous:function(t){return null!=t&&this._previousAttributes?this._previousAttributes[t]:null},previousAttributes:function(){return x.clone(this._previousAttributes)},fetch:function(i){i=x.extend({parse:!0},i);var n=this,s=i.success;return i.success=function(t){var e=i.parse?n.parse(t,i):t;if(!n.set(e,i))return!1;s&&s.call(i.context,n,t,i),n.trigger("sync",n,t,i)},L(this,i),this.sync("read",this,i)},save:function(t,e,i){var n;null==t||"object"==typeof t?(n=t,i=e):(n={})[t]=e;var s=(i=x.extend({validate:!0,parse:!0},i)).wait;if(n&&!s){if(!this.set(n,i))return!1}else if(!this._validate(n,i))return!1;var r=this,o=i.success,a=this.attributes;i.success=function(t){r.attributes=a;var e=i.parse?r.parse(t,i):t;if(s&&(e=x.extend({},n,e)),e&&!r.set(e,i))return!1;o&&o.call(i.context,r,t,i),r.trigger("sync",r,t,i)},L(this,i),n&&s&&(this.attributes=x.extend({},a,n));var h=this.isNew()?"create":i.patch?"patch":"update";"patch"!=h||i.attrs||(i.attrs=n);var u=this.sync(h,this,i);return this.attributes=a,u},destroy:function(e){e=e?x.clone(e):{};function i(){n.stopListening(),n.trigger("destroy",n,n.collection,e)}var n=this,s=e.success,r=e.wait,t=!(e.success=function(t){r&&i(),s&&s.call(e.context,n,t,e),n.isNew()||n.trigger("sync",n,t,e)});return this.isNew()?x.defer(e.success):(L(this,e),t=this.sync("delete",this,e)),r||i(),t},url:function(){var t=x.result(this,"urlRoot")||x.result(this.collection,"url")||J();if(this.isNew())return t;var e=this.get(this.idAttribute);return t.replace(/[^\/]$/,"$&/")+encodeURIComponent(e)},parse:function(t,e){return t},clone:function(){return new this.constructor(this.attributes)},isNew:function(){return!this.has(this.idAttribute)},isValid:function(t){return this._validate({},x.extend({},t,{validate:!0}))},_validate:function(t,e){if(!e.validate||!this.validate)return!0;t=x.extend({},this.attributes,t);var i=this.validationError=this.validate(t,e)||null;return!i||(this.trigger("invalid",this,i,x.extend(e,{validationError:i})),!1)}});function w(t,e,i){i=Math.min(Math.max(i,0),t.length);var n,s=Array(t.length-i),r=e.length;for(n=0;n<s.length;n++)s[n]=t[n+i];for(n=0;n<r;n++)t[n+i]=e[n];for(n=0;n<s.length;n++)t[n+r+i]=s[n]}var m=h.Collection=function(t,e){e=e||{},this.preinitialize.apply(this,arguments),e.model&&(this.model=e.model),void 0!==e.comparator&&(this.comparator=e.comparator),this._reset(),this.initialize.apply(this,arguments),t&&this.reset(t,x.extend({silent:!0},e))},E={add:!0,remove:!0,merge:!0},_={add:!0,remove:!1};x.extend(m.prototype,n,{model:v,preinitialize:function(){},initialize:function(){},toJSON:function(e){return this.map(function(t){return t.toJSON(e)})},sync:function(){return h.sync.apply(this,arguments)},add:function(t,e){return this.set(t,x.extend({merge:!1},e,_))},remove:function(t,e){e=x.extend({},e);var i=!x.isArray(t);t=i?[t]:t.slice();var n=this._removeModels(t,e);return!e.silent&&n.length&&(e.changes={added:[],merged:[],removed:n},this.trigger("update",this,e)),i?n[0]:n},set:function(t,e){if(null!=t){(e=x.extend({},E,e)).parse&&!this._isModel(t)&&(t=this.parse(t,e)||[]);var i=!x.isArray(t);t=i?[t]:t.slice();var n=e.at;null!=n&&(n=+n),n>this.length&&(n=this.length),n<0&&(n+=this.length+1);var s,r,o=[],a=[],h=[],u=[],l={},c=e.add,d=e.merge,f=e.remove,p=!1,g=this.comparator&&null==n&&!1!==e.sort,v=x.isString(this.comparator)?this.comparator:null;for(r=0;r<t.length;r++){s=t[r];var m=this.get(s);if(m){if(d&&s!==m){var _=this._isModel(s)?s.attributes:s;e.parse&&(_=m.parse(_,e)),m.set(_,e),h.push(m),g&&!p&&(p=m.hasChanged(v))}l[m.cid]||(l[m.cid]=!0,o.push(m)),t[r]=m}else c&&(s=t[r]=this._prepareModel(s,e))&&(a.push(s),this._addReference(s,e),l[s.cid]=!0,o.push(s))}if(f){for(r=0;r<this.length;r++)l[(s=this.models[r]).cid]||u.push(s);u.length&&this._removeModels(u,e)}var y=!1,b=!g&&c&&f;if(o.length&&b?(y=this.length!==o.length||x.some(this.models,function(t,e){return t!==o[e]}),this.models.length=0,w(this.models,o,0),this.length=this.models.length):a.length&&(g&&(p=!0),w(this.models,a,null==n?this.length:n),this.length=this.models.length),p&&this.sort({silent:!0}),!e.silent){for(r=0;r<a.length;r++)null!=n&&(e.index=n+r),(s=a[r]).trigger("add",s,this,e);(p||y)&&this.trigger("sort",this,e),(a.length||u.length||h.length)&&(e.changes={added:a,removed:u,merged:h},this.trigger("update",this,e))}return i?t[0]:t}},reset:function(t,e){e=e?x.clone(e):{};for(var i=0;i<this.models.length;i++)this._removeReference(this.models[i],e);return e.previousModels=this.models,this._reset(),t=this.add(t,x.extend({silent:!0},e)),e.silent||this.trigger("reset",this,e),t},push:function(t,e){return this.add(t,x.extend({at:this.length},e))},pop:function(t){var e=this.at(this.length-1);return this.remove(e,t)},unshift:function(t,e){return this.add(t,x.extend({at:0},e))},shift:function(t){var e=this.at(0);return this.remove(e,t)},slice:function(){return o.apply(this.models,arguments)},get:function(t){if(null!=t)return this._byId[t]||this._byId[this.modelId(this._isModel(t)?t.attributes:t)]||t.cid&&this._byId[t.cid]},has:function(t){return null!=this.get(t)},at:function(t){return t<0&&(t+=this.length),this.models[t]},where:function(t,e){return this[e?"find":"filter"](t)},findWhere:function(t){return this.where(t,!0)},sort:function(t){var e=this.comparator;if(!e)throw new Error("Cannot sort a set without a comparator");t=t||{};var i=e.length;return x.isFunction(e)&&(e=e.bind(this)),1===i||x.isString(e)?this.models=this.sortBy(e):this.models.sort(e),t.silent||this.trigger("sort",this,t),this},pluck:function(t){return this.map(t+"")},fetch:function(i){var n=(i=x.extend({parse:!0},i)).success,s=this;return i.success=function(t){var e=i.reset?"reset":"set";s[e](t,i),n&&n.call(i.context,s,t,i),s.trigger("sync",s,t,i)},L(this,i),this.sync("read",this,i)},create:function(t,e){var n=(e=e?x.clone(e):{}).wait;if(!(t=this._prepareModel(t,e)))return!1;n||this.add(t,e);var s=this,r=e.success;return e.success=function(t,e,i){n&&s.add(t,i),r&&r.call(i.context,t,e,i)},t.save(null,e),t},parse:function(t,e){return t},clone:function(){return new this.constructor(this.models,{model:this.model,comparator:this.comparator})},modelId:function(t){return t[this.model.prototype.idAttribute||"id"]},values:function(){return new b(this,k)},keys:function(){return new b(this,I)},entries:function(){return new b(this,S)},_reset:function(){this.length=0,this.models=[],this._byId={}},_prepareModel:function(t,e){if(this._isModel(t))return t.collection||(t.collection=this),t;var i=new(((e=e?x.clone(e):{}).collection=this).model)(t,e);return i.validationError?(this.trigger("invalid",this,i.validationError,e),!1):i},_removeModels:function(t,e){for(var i=[],n=0;n<t.length;n++){var s=this.get(t[n]);if(s){var r=this.indexOf(s);this.models.splice(r,1),this.length--,delete this._byId[s.cid];var o=this.modelId(s.attributes);null!=o&&delete this._byId[o],e.silent||(e.index=r,s.trigger("remove",s,this,e)),i.push(s),this._removeReference(s,e)}}return i},_isModel:function(t){return t instanceof v},_addReference:function(t,e){this._byId[t.cid]=t;var i=this.modelId(t.attributes);null!=i&&(this._byId[i]=t),t.on("all",this._onModelEvent,this)},_removeReference:function(t,e){delete this._byId[t.cid];var i=this.modelId(t.attributes);null!=i&&delete this._byId[i],this===t.collection&&delete t.collection,t.off("all",this._onModelEvent,this)},_onModelEvent:function(t,e,i,n){if(e){if(("add"===t||"remove"===t)&&i!==this)return;if("destroy"===t&&this.remove(e,n),"change"===t){var s=this.modelId(e.previousAttributes()),r=this.modelId(e.attributes);s!==r&&(null!=s&&delete this._byId[s],null!=r&&(this._byId[r]=e))}}this.trigger.apply(this,arguments)}});var y="function"==typeof Symbol&&Symbol.iterator;y&&(m.prototype[y]=m.prototype.values);var b=function(t,e){this._collection=t,this._kind=e,this._index=0},k=1,I=2,S=3;y&&(b.prototype[y]=function(){return this}),b.prototype.next=function(){if(this._collection){if(this._index<this._collection.length){var t,e=this._collection.at(this._index);if(this._index++,this._kind===k)t=e;else{var i=this._collection.modelId(e.attributes);t=this._kind===I?i:[i,e]}return{value:t,done:!1}}this._collection=void 0}return{value:void 0,done:!0}};var T=h.View=function(t){this.cid=x.uniqueId("view"),this.preinitialize.apply(this,arguments),x.extend(this,x.pick(t,H)),this._ensureElement(),this.initialize.apply(this,arguments)},P=/^(\S+)\s*(.*)$/,H=["model","collection","el","id","attributes","className","tagName","events"];x.extend(T.prototype,n,{tagName:"div",$:function(t){return this.$el.find(t)},preinitialize:function(){},initialize:function(){},render:function(){return this},remove:function(){return this._removeElement(),this.stopListening(),this},_removeElement:function(){this.$el.remove()},setElement:function(t){return this.undelegateEvents(),this._setElement(t),this.delegateEvents(),this},_setElement:function(t){this.$el=t instanceof h.$?t:h.$(t),this.el=this.$el[0]},delegateEvents:function(t){if(!(t=t||x.result(this,"events")))return this;for(var e in this.undelegateEvents(),t){var i=t[e];if(x.isFunction(i)||(i=this[i]),i){var n=e.match(P);this.delegate(n[1],n[2],i.bind(this))}}return this},delegate:function(t,e,i){return this.$el.on(t+".delegateEvents"+this.cid,e,i),this},undelegateEvents:function(){return this.$el&&this.$el.off(".delegateEvents"+this.cid),this},undelegate:function(t,e,i){return this.$el.off(t+".delegateEvents"+this.cid,e,i),this},_createElement:function(t){return document.createElement(t)},_ensureElement:function(){if(this.el)this.setElement(x.result(this,"el"));else{var t=x.extend({},x.result(this,"attributes"));this.id&&(t.id=x.result(this,"id")),this.className&&(t.class=x.result(this,"className")),this.setElement(this._createElement(x.result(this,"tagName"))),this._setAttributes(t)}},_setAttributes:function(t){this.$el.attr(t)}});function $(i,n,t,s){x.each(t,function(t,e){n[e]&&(i.prototype[e]=function(n,t,s,r){switch(t){case 1:return function(){return n[s](this[r])};case 2:return function(t){return n[s](this[r],t)};case 3:return function(t,e){return n[s](this[r],A(t,this),e)};case 4:return function(t,e,i){return n[s](this[r],A(t,this),e,i)};default:return function(){var t=o.call(arguments);return t.unshift(this[r]),n[s].apply(n,t)}}}(n,t,e,s))})}var A=function(e,t){return x.isFunction(e)?e:x.isObject(e)&&!t._isModel(e)?C(e):x.isString(e)?function(t){return t.get(e)}:e},C=function(t){var e=x.matches(t);return function(t){return e(t.attributes)}};x.each([[m,{forEach:3,each:3,map:3,collect:3,reduce:0,foldl:0,inject:0,reduceRight:0,foldr:0,find:3,detect:3,filter:3,select:3,reject:3,every:3,all:3,some:3,any:3,include:3,includes:3,contains:3,invoke:0,max:3,min:3,toArray:1,size:1,first:3,head:3,take:3,initial:3,rest:3,tail:3,drop:3,last:3,without:0,difference:0,indexOf:3,shuffle:1,lastIndexOf:3,isEmpty:1,chain:1,sample:3,partition:3,groupBy:3,countBy:3,sortBy:3,indexBy:3,findIndex:3,findLastIndex:3},"models"],[v,{keys:1,values:1,pairs:1,invert:1,pick:0,omit:0,chain:1,isEmpty:1},"attributes"]],function(t){var i=t[0],e=t[1],n=t[2];i.mixin=function(t){var e=x.reduce(x.functions(t),function(t,e){return t[e]=0,t},{});$(i,t,e,n)},$(i,x,e,n)}),h.sync=function(t,e,n){var i=R[t];x.defaults(n=n||{},{emulateHTTP:h.emulateHTTP,emulateJSON:h.emulateJSON});var s={type:i,dataType:"json"};if(n.url||(s.url=x.result(e,"url")||J()),null!=n.data||!e||"create"!==t&&"update"!==t&&"patch"!==t||(s.contentType="application/json",s.data=JSON.stringify(n.attrs||e.toJSON(n))),n.emulateJSON&&(s.contentType="application/x-www-form-urlencoded",s.data=s.data?{model:s.data}:{}),n.emulateHTTP&&("PUT"===i||"DELETE"===i||"PATCH"===i)){s.type="POST",n.emulateJSON&&(s.data._method=i);var r=n.beforeSend;n.beforeSend=function(t){if(t.setRequestHeader("X-HTTP-Method-Override",i),r)return r.apply(this,arguments)}}"GET"===s.type||n.emulateJSON||(s.processData=!1);var o=n.error;n.error=function(t,e,i){n.textStatus=e,n.errorThrown=i,o&&o.call(n.context,t,e,i)};var a=n.xhr=h.ajax(x.extend(s,n));return e.trigger("request",e,a,n),a};var R={create:"POST",update:"PUT",patch:"PATCH",delete:"DELETE",read:"GET"};h.ajax=function(){return h.$.ajax.apply(h.$,arguments)};var M=h.Router=function(t){t=t||{},this.preinitialize.apply(this,arguments),t.routes&&(this.routes=t.routes),this._bindRoutes(),this.initialize.apply(this,arguments)},N=/\((.*?)\)/g,j=/(\(\?)?:\w+/g,O=/\*\w+/g,U=/[\-{}\[\]+?.,\\\^$|#\s]/g;x.extend(M.prototype,n,{preinitialize:function(){},initialize:function(){},route:function(i,n,s){x.isRegExp(i)||(i=this._routeToRegExp(i)),x.isFunction(n)&&(s=n,n=""),s=s||this[n];var r=this;return h.history.route(i,function(t){var e=r._extractParameters(i,t);!1!==r.execute(s,e,n)&&(r.trigger.apply(r,["route:"+n].concat(e)),r.trigger("route",n,e),h.history.trigger("route",r,n,e))}),this},execute:function(t,e,i){t&&t.apply(this,e)},navigate:function(t,e){return h.history.navigate(t,e),this},_bindRoutes:function(){if(this.routes){this.routes=x.result(this,"routes");for(var t,e=x.keys(this.routes);null!=(t=e.pop());)this.route(t,this.routes[t])}},_routeToRegExp:function(t){return t=t.replace(U,"\\$&").replace(N,"(?:$1)?").replace(j,function(t,e){return e?t:"([^/?]+)"}).replace(O,"([^?]*?)"),new RegExp("^"+t+"(?:\\?([\\s\\S]*))?$")},_extractParameters:function(t,e){var i=t.exec(e).slice(1);return x.map(i,function(t,e){return e===i.length-1?t||null:t?decodeURIComponent(t):null})}});var z=h.History=function(){this.handlers=[],this.checkUrl=this.checkUrl.bind(this),"undefined"!=typeof window&&(this.location=window.location,this.history=window.history)},q=/^[#\/]|\s+$/g,F=/^\/+|\/+$/g,B=/#.*$/;z.started=!1,x.extend(z.prototype,n,{interval:50,atRoot:function(){return this.location.pathname.replace(/[^\/]$/,"$&/")===this.root&&!this.getSearch()},matchRoot:function(){return this.decodeFragment(this.location.pathname).slice(0,this.root.length-1)+"/"===this.root},decodeFragment:function(t){return decodeURI(t.replace(/%25/g,"%2525"))},getSearch:function(){var t=this.location.href.replace(/#.*/,"").match(/\?.+/);return t?t[0]:""},getHash:function(t){var e=(t||this).location.href.match(/#(.*)$/);return e?e[1]:""},getPath:function(){var t=this.decodeFragment(this.location.pathname+this.getSearch()).slice(this.root.length-1);return"/"===t.charAt(0)?t.slice(1):t},getFragment:function(t){return null==t&&(t=this._usePushState||!this._wantsHashChange?this.getPath():this.getHash()),t.replace(q,"")},start:function(t){if(z.started)throw new Error("Backbone.history has already been started");if(z.started=!0,this.options=x.extend({root:"/"},this.options,t),this.root=this.options.root,this._wantsHashChange=!1!==this.options.hashChange,this._hasHashChange="onhashchange"in window&&(void 0===document.documentMode||7<document.documentMode),this._useHashChange=this._wantsHashChange&&this._hasHashChange,this._wantsPushState=!!this.options.pushState,this._hasPushState=!(!this.history||!this.history.pushState),this._usePushState=this._wantsPushState&&this._hasPushState,this.fragment=this.getFragment(),this.root=("/"+this.root+"/").replace(F,"/"),this._wantsHashChange&&this._wantsPushState){if(!this._hasPushState&&!this.atRoot()){var e=this.root.slice(0,-1)||"/";return this.location.replace(e+"#"+this.getPath()),!0}this._hasPushState&&this.atRoot()&&this.navigate(this.getHash(),{replace:!0})}if(!this._hasHashChange&&this._wantsHashChange&&!this._usePushState){this.iframe=document.createElement("iframe"),this.iframe.src="javascript:0",this.iframe.style.display="none",this.iframe.tabIndex=-1;var i=document.body,n=i.insertBefore(this.iframe,i.firstChild).contentWindow;n.document.open(),n.document.close(),n.location.hash="#"+this.fragment}var s=window.addEventListener||function(t,e){return attachEvent("on"+t,e)};if(this._usePushState?s("popstate",this.checkUrl,!1):this._useHashChange&&!this.iframe?s("hashchange",this.checkUrl,!1):this._wantsHashChange&&(this._checkUrlInterval=setInterval(this.checkUrl,this.interval)),!this.options.silent)return this.loadUrl()},stop:function(){var t=window.removeEventListener||function(t,e){return detachEvent("on"+t,e)};this._usePushState?t("popstate",this.checkUrl,!1):this._useHashChange&&!this.iframe&&t("hashchange",this.checkUrl,!1),this.iframe&&(document.body.removeChild(this.iframe),this.iframe=null),this._checkUrlInterval&&clearInterval(this._checkUrlInterval),z.started=!1},route:function(t,e){this.handlers.unshift({route:t,callback:e})},checkUrl:function(t){var e=this.getFragment();if(e===this.fragment&&this.iframe&&(e=this.getHash(this.iframe.contentWindow)),e===this.fragment)return!1;this.iframe&&this.navigate(e),this.loadUrl()},loadUrl:function(e){return!!this.matchRoot()&&(e=this.fragment=this.getFragment(e),x.some(this.handlers,function(t){if(t.route.test(e))return t.callback(e),!0}))},navigate:function(t,e){if(!z.started)return!1;e&&!0!==e||(e={trigger:!!e}),t=this.getFragment(t||"");var i=this.root;""!==t&&"?"!==t.charAt(0)||(i=i.slice(0,-1)||"/");var n=i+t;t=t.replace(B,"");var s=this.decodeFragment(t);if(this.fragment!==s){if(this.fragment=s,this._usePushState)this.history[e.replace?"replaceState":"pushState"]({},document.title,n);else{if(!this._wantsHashChange)return this.location.assign(n);if(this._updateHash(this.location,t,e.replace),this.iframe&&t!==this.getHash(this.iframe.contentWindow)){var r=this.iframe.contentWindow;e.replace||(r.document.open(),r.document.close()),this._updateHash(r.location,t,e.replace)}}return e.trigger?this.loadUrl(t):void 0}},_updateHash:function(t,e,i){if(i){var n=t.href.replace(/(javascript:|#).*$/,"");t.replace(n+"#"+e)}else t.hash="#"+e}}),h.history=new z;v.extend=m.extend=M.extend=T.extend=z.extend=function(t,e){var i,n=this;return i=t&&x.has(t,"constructor")?t.constructor:function(){return n.apply(this,arguments)},x.extend(i,n,e),i.prototype=x.create(n.prototype,t),(i.prototype.constructor=i).__super__=n.prototype,i};var J=function(){throw new Error('A "url" property or function must be specified')},L=function(e,i){var n=i.error;i.error=function(t){n&&n.call(i.context,e,t,i),e.trigger("error",e,t,i)}};return h});
\ No newline at end of file
!function(b){"function"==typeof define&&define.amd?define(["jquery"],b):b("object"==typeof exports?require("jquery"):window.jQuery||window.Zepto)}(function(aQ){var aP,aO,aN,aM,aL,aK,aJ="Close",aI="BeforeClose",aH="AfterClose",aG="BeforeAppend",aF="MarkupParse",aE="Open",aD="Change",aC="mfp",aB="."+aC,aA="mfp-ready",az="mfp-removing",ay="mfp-prevent-close",ax=function(){},aw=!!window.jQuery,av=aQ(window),au=function(b,d){aP.ev.on(aC+b+aB,d)},at=function(a,j,i,h){var g=document.createElement("div");return g.className="mfp-"+a,i&&(g.innerHTML=i),h?j&&j.appendChild(g):(g=aQ(g),j&&g.appendTo(j)),g},ar=function(b,a){aP.ev.triggerHandler(aC+b,a),aP.st.callbacks&&(b=b.charAt(0).toLowerCase()+b.slice(1),aP.st.callbacks[b]&&aP.st.callbacks[b].apply(aP,aQ.isArray(a)?a:[a]))},aq=function(a){return a===aK&&aP.currTemplate.closeBtn||(aP.currTemplate.closeBtn=aQ(aP.st.closeMarkup.replace("%title%",aP.st.tClose)),aK=a),aP.currTemplate.closeBtn},ap=function(){aQ.magnificPopup.instance||(aP=new ax,aP.init(),aQ.magnificPopup.instance=aP)},ao=function(){var d=document.createElement("p").style,c=["ms","O","Moz","Webkit"];if(void 0!==d.transition){return !0}for(;c.length;){if(c.pop()+"Transition" in d){return !0}}return !1};ax.prototype={constructor:ax,init:function(){var a=navigator.appVersion;aP.isLowIE=aP.isIE8=document.all&&!document.addEventListener,aP.isAndroid=/android/gi.test(a),aP.isIOS=/iphone|ipad|ipod/gi.test(a),aP.supportsTransition=ao(),aP.probablyMobile=aP.isAndroid||aP.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),aN=aQ(document),aP.popupsCache={}},open:function(t){var s;if(t.isObj===!1){aP.items=t.items.toArray(),aP.index=0;var q,p=t.items;for(s=0;s<p.length;s++){if(q=p[s],q.parsed&&(q=q.el[0]),q===t.el[0]){aP.index=s;break}}}else{aP.items=aQ.isArray(t.items)?t.items:[t.items],aP.index=t.index||0}if(aP.isOpen){return void aP.updateItemHTML()}aP.types=[],aL="",t.mainEl&&t.mainEl.length?aP.ev=t.mainEl.eq(0):aP.ev=aN,t.key?(aP.popupsCache[t.key]||(aP.popupsCache[t.key]={}),aP.currTemplate=aP.popupsCache[t.key]):aP.currTemplate={},aP.st=aQ.extend(!0,{},aQ.magnificPopup.defaults,t),aP.fixedContentPos="auto"===aP.st.fixedContentPos?!aP.probablyMobile:aP.st.fixedContentPos,aP.st.modal&&(aP.st.closeOnContentClick=!1,aP.st.closeOnBgClick=!1,aP.st.showCloseBtn=!1,aP.st.enableEscapeKey=!1),aP.bgOverlay||(aP.bgOverlay=at("bg").on("click"+aB,function(){aP.close()}),aP.wrap=at("wrap").attr("tabindex",-1).on("click"+aB,function(c){aP._checkIfClose(c.target)&&aP.close()}),aP.container=at("container",aP.wrap)),aP.contentContainer=at("content"),aP.st.preloader&&(aP.preloader=at("preloader",aP.container,aP.st.tLoading));var m=aQ.magnificPopup.modules;for(s=0;s<m.length;s++){var l=m[s];l=l.charAt(0).toUpperCase()+l.slice(1),aP["init"+l].call(aP)}ar("BeforeOpen"),aP.st.showCloseBtn&&(aP.st.closeBtnInside?(au(aF,function(g,e,i,h){i.close_replaceWith=aq(h.type)}),aL+=" mfp-close-btn-in"):aP.wrap.append(aq())),aP.st.alignTop&&(aL+=" mfp-align-top"),aP.fixedContentPos?aP.wrap.css({overflow:aP.st.overflowY,overflowX:"hidden",overflowY:aP.st.overflowY}):aP.wrap.css({top:av.scrollTop(),position:"absolute"}),(aP.st.fixedBgPos===!1||"auto"===aP.st.fixedBgPos&&!aP.fixedContentPos)&&aP.bgOverlay.css({height:aN.height(),position:"absolute"}),aP.st.enableEscapeKey&&aN.on("keyup"+aB,function(c){27===c.keyCode&&aP.close()}),av.on("resize"+aB,function(){aP.updateSize()}),aP.st.closeOnContentClick||(aL+=" mfp-auto-cursor"),aL&&aP.wrap.addClass(aL);var f=aP.wH=av.height(),d={};if(aP.fixedContentPos&&aP._hasScrollBar(f)){var b=aP._getScrollbarSize();b&&(d.marginRight=b)}aP.fixedContentPos&&(aP.isIE7?aQ("body, html").css("overflow","hidden"):d.overflow="hidden");var a=aP.st.mainClass;return aP.isIE7&&(a+=" mfp-ie7"),a&&aP._addClassToMFP(a),aP.updateItemHTML(),ar("BuildControls"),aQ("html").css(d),aP.bgOverlay.add(aP.wrap).prependTo(aP.st.prependTo||aQ(document.body)),aP._lastFocusedEl=document.activeElement,setTimeout(function(){aP.content?(aP._addClassToMFP(aA),aP._setFocus()):aP.bgOverlay.addClass(aA),aN.on("focusin"+aB,aP._onFocusIn)},16),aP.isOpen=!0,aP.updateSize(f),ar(aE),t},close:function(){aP.isOpen&&(ar(aI),aP.isOpen=!1,aP.st.removalDelay&&!aP.isLowIE&&aP.supportsTransition?(aP._addClassToMFP(az),setTimeout(function(){aP._close()},aP.st.removalDelay)):aP._close())},_close:function(){ar(aJ);var b=az+" "+aA+" ";if(aP.bgOverlay.detach(),aP.wrap.detach(),aP.container.empty(),aP.st.mainClass&&(b+=aP.st.mainClass+" "),aP._removeClassFromMFP(b),aP.fixedContentPos){var a={marginRight:""};aP.isIE7?aQ("body, html").css("overflow",""):a.overflow="",aQ("html").css(a)}aN.off("keyup"+aB+" focusin"+aB),aP.ev.off(aB),aP.wrap.attr("class","mfp-wrap").removeAttr("style"),aP.bgOverlay.attr("class","mfp-bg"),aP.container.attr("class","mfp-container"),!aP.st.showCloseBtn||aP.st.closeBtnInside&&aP.currTemplate[aP.currItem.type]!==!0||aP.currTemplate.closeBtn&&aP.currTemplate.closeBtn.detach(),aP.st.autoFocusLast&&aP._lastFocusedEl&&aQ(aP._lastFocusedEl).focus(),aP.currItem=null,aP.content=null,aP.currTemplate=null,aP.prevHeight=0,ar(aH)},updateSize:function(b){if(aP.isIOS){var f=document.documentElement.clientWidth/window.innerWidth,e=window.innerHeight*f;aP.wrap.css("height",e),aP.wH=e}else{aP.wH=b||av.height()}aP.fixedContentPos||aP.wrap.css("height",aP.wH),ar("Resize")},updateItemHTML:function(){var h=aP.items[aP.index];aP.contentContainer.detach(),aP.content&&aP.content.detach(),h.parsed||(h=aP.parseEl(aP.index));var e=h.type;if(ar("BeforeChange",[aP.currItem?aP.currItem.type:"",e]),aP.currItem=h,!aP.currTemplate[e]){var b=aP.st[e]?aP.st[e].markup:!1;ar("FirstMarkupParse",b),b?aP.currTemplate[e]=aQ(b):aP.currTemplate[e]=!0}aM&&aM!==h.type&&aP.container.removeClass("mfp-"+aM+"-holder");var a=aP["get"+e.charAt(0).toUpperCase()+e.slice(1)](h,aP.currTemplate[e]);aP.appendContent(a,e),h.preloaded=!0,ar(aD,h),aM=h.type,aP.container.prepend(aP.contentContainer),ar("AfterChange")},appendContent:function(b,d){aP.content=b,b?aP.st.showCloseBtn&&aP.st.closeBtnInside&&aP.currTemplate[d]===!0?aP.content.find(".mfp-close").length||aP.content.append(aq()):aP.content=b:aP.content="",ar(aG),aP.container.addClass("mfp-"+d+"-holder"),aP.contentContainer.append(aP.content)},parseEl:function(j){var i,h=aP.items[j];if(h.tagName?h={el:aQ(h)}:(i=h.type,h={data:h,src:h.src}),h.el){for(var b=aP.types,a=0;a<b.length;a++){if(h.el.hasClass("mfp-"+b[a])){i=b[a];break}}h.src=h.el.attr("data-mfp-src"),h.src||(h.src=h.el.attr("href"))}return h.type=i||aP.st.type||"inline",h.index=j,h.parsed=!0,aP.items[j]=h,ar("ElementParse",h),aP.items[j]},addGroup:function(b,h){var g=function(a){a.mfpEl=this,aP._openClick(a,b,h)};h||(h={});var f="click.magnificPopup";h.mainEl=b,h.items?(h.isObj=!0,b.off(f).on(f,g)):(h.isObj=!1,h.delegate?b.off(f).on(f,h.delegate,g):(h.items=b,b.off(f).on(f,g)))},_openClick:function(j,i,h){var b=void 0!==h.midClick?h.midClick:aQ.magnificPopup.defaults.midClick;if(b||!(2===j.which||j.ctrlKey||j.metaKey||j.altKey||j.shiftKey)){var a=void 0!==h.disableOn?h.disableOn:aQ.magnificPopup.defaults.disableOn;if(a){if(aQ.isFunction(a)){if(!a.call(aP)){return !0}}else{if(av.width()<a){return !0}}}j.type&&(j.preventDefault(),aP.isOpen&&j.stopPropagation()),h.el=aQ(j.mfpEl),h.delegate&&(h.items=i.find(h.delegate)),aP.open(h)}},updateStatus:function(b,f){if(aP.preloader){aO!==b&&aP.container.removeClass("mfp-s-"+aO),f||"loading"!==b||(f=aP.st.tLoading);var c={status:b,text:f};ar("UpdateStatus",c),b=c.status,f=c.text,aP.preloader.html(f),aP.preloader.find("a").on("click",function(d){d.stopImmediatePropagation()}),aP.container.addClass("mfp-s-"+b),aO=b}},_checkIfClose:function(f){if(!aQ(f).hasClass(ay)){var b=aP.st.closeOnContentClick,a=aP.st.closeOnBgClick;if(b&&a){return !0}if(!aP.content||aQ(f).hasClass("mfp-close")||aP.preloader&&f===aP.preloader[0]){return !0}if(f===aP.content[0]||aQ.contains(aP.content[0],f)){if(b){return !0}}else{if(a&&aQ.contains(document,f)){return !0}}return !1}},_addClassToMFP:function(b){aP.bgOverlay.addClass(b),aP.wrap.addClass(b)},_removeClassFromMFP:function(b){this.bgOverlay.removeClass(b),aP.wrap.removeClass(b)},_hasScrollBar:function(b){return(aP.isIE7?aN.height():document.body.scrollHeight)>(b||av.height())},_setFocus:function(){(aP.st.focus?aP.content.find(aP.st.focus).eq(0):aP.wrap).focus()},_onFocusIn:function(a){return a.target===aP.wrap[0]||aQ.contains(aP.wrap[0],a.target)?void 0:(aP._setFocus(),!1)},_parseMarkup:function(a,h,g){var f;g.data&&(h=aQ.extend(g.data,h)),ar(aF,[a,h,g]),aQ.each(h,function(j,i){if(void 0===i||i===!1){return !0}if(f=j.split("_"),f.length>1){var e=a.find(aB+"-"+f[0]);if(e.length>0){var b=f[1];"replaceWith"===b?e[0]!==i[0]&&e.replaceWith(i):"img"===b?e.is("img")?e.attr("src",i):e.replaceWith(aQ("<img>").attr("src",i).attr("class",e.attr("class"))):e.attr(f[1],i)}}else{a.find(aB+"-"+j).html(i)}})},_getScrollbarSize:function(){if(void 0===aP.scrollbarSize){var b=document.createElement("div");b.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(b),aP.scrollbarSize=b.offsetWidth-b.clientWidth,document.body.removeChild(b)}return aP.scrollbarSize}},aQ.magnificPopup={instance:null,proto:ax.prototype,modules:[],open:function(a,d){return ap(),a=a?aQ.extend(!0,{},a):{},a.isObj=!0,a.index=d||0,this.instance.open(a)},close:function(){return aQ.magnificPopup.instance&&aQ.magnificPopup.instance.close()},registerModule:function(a,d){d.options&&(aQ.magnificPopup.defaults[a]=d.options),aQ.extend(this.proto,d.proto),this.modules.push(a)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'<button title="%title%" type="button" class="mfp-close">×</button>',tClose:"Close (Esc)",tLoading:"Loading...",autoFocusLast:!0}},aQ.fn.magnificPopup=function(j){ap();var i=aQ(this);if("string"==typeof j){if("open"===j){var h,b=aw?i.data("magnificPopup"):i[0].magnificPopup,a=parseInt(arguments[1],10)||0;b.items?h=b.items[a]:(h=i,b.delegate&&(h=h.find(b.delegate)),h=h.eq(a)),aP._openClick({mfpEl:h},i,b)}else{aP.isOpen&&aP[j].apply(aP,Array.prototype.slice.call(arguments,1))}}else{j=aQ.extend(!0,{},j),aw?i.data("magnificPopup",j):i[0].magnificPopup=j,aP.addGroup(i,j)}return i};var an,am,al,ak="inline",aj=function(){al&&(am.after(al.addClass(an)).detach(),al=null)};aQ.magnificPopup.registerModule(ak,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){aP.types.push(ak),au(aJ+"."+ak,function(){aj()})},getInline:function(j,i){if(aj(),j.src){var h=aP.st.inline,b=aQ(j.src);if(b.length){var a=b[0].parentNode;a&&a.tagName&&(am||(an=h.hiddenClass,am=at(an),an="mfp-"+an),al=b.after(am).detach().removeClass(an)),aP.updateStatus("ready")}else{aP.updateStatus("error",h.tNotFound),b=aQ("<div>")}return j.inlineElement=b,b}return aP.updateStatus("ready"),aP._parseMarkup(i,{},j),i}}});var ai,ah="ajax",ag=function(){ai&&aQ(document.body).removeClass(ai)},af=function(){ag(),aP.req&&aP.req.abort()};aQ.magnificPopup.registerModule(ah,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content</a> could not be loaded.'},proto:{initAjax:function(){aP.types.push(ah),ai=aP.st.ajax.cursor,au(aJ+"."+ah,af),au("BeforeChange."+ah,af)},getAjax:function(b){ai&&aQ(document.body).addClass(ai),aP.updateStatus("loading");var a=aQ.extend({url:b.src,success:function(j,i,h){var c={data:j,xhr:h};ar("ParseAjax",c),aP.appendContent(aQ(c.data),ah),b.finished=!0,ag(),aP._setFocus(),setTimeout(function(){aP.wrap.addClass(aA)},16),aP.updateStatus("ready"),ar("AjaxContentAdded")},error:function(){ag(),b.finished=b.loadError=!0,aP.updateStatus("error",aP.st.ajax.tError.replace("%url%",b.src))}},aP.st.ajax.settings);return aP.req=aQ.ajax(a),""}}});var ae,ad=function(b){if(b.data&&void 0!==b.data.title){return b.data.title}var a=aP.st.image.titleSrc;if(a){if(aQ.isFunction(a)){return a.call(aP,b)}if(b.el){return b.el.attr(a)||""}}return""};aQ.magnificPopup.registerModule("image",{options:{markup:'<div class="mfp-figure"><div class="mfp-close"></div><figure><div class="mfp-img"></div><figcaption><div class="mfp-bottom-bar"><div class="mfp-title"></div><div class="mfp-counter"></div></div></figcaption></figure></div>',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'<a href="%url%">The image</a> could not be loaded.'},proto:{initImage:function(){var b=aP.st.image,a=".image";aP.types.push("image"),au(aE+a,function(){"image"===aP.currItem.type&&b.cursor&&aQ(document.body).addClass(b.cursor)}),au(aJ+a,function(){b.cursor&&aQ(document.body).removeClass(b.cursor),av.off("resize"+aB)}),au("Resize"+a,aP.resizeImage),aP.isLowIE&&au("AfterChange",aP.resizeImage)},resizeImage:function(){var b=aP.currItem;if(b&&b.img&&aP.st.image.verticalFit){var d=0;aP.isLowIE&&(d=parseInt(b.img.css("padding-top"),10)+parseInt(b.img.css("padding-bottom"),10)),b.img.css("max-height",aP.wH-d)}},_onImageHasSize:function(b){b.img&&(b.hasSize=!0,ae&&clearInterval(ae),b.isCheckingImgSize=!1,ar("ImageHasSize",b),b.imgHidden&&(aP.content&&aP.content.removeClass("mfp-loading"),b.imgHidden=!1))},findImageSize:function(b){var h=0,g=b.img[0],f=function(a){ae&&clearInterval(ae),ae=setInterval(function(){return g.naturalWidth>0?void aP._onImageHasSize(b):(h>200&&clearInterval(ae),h++,void (3===h?f(10):40===h?f(50):100===h&&f(500)))},a)};f(1)},getImage:function(p,o){var n=0,m=function(){p&&(p.img[0].complete?(p.img.off(".mfploader"),p===aP.currItem&&(aP._onImageHasSize(p),aP.updateStatus("ready")),p.hasSize=!0,p.loaded=!0,ar("ImageLoadComplete")):(n++,200>n?setTimeout(m,100):l()))},l=function(){p&&(p.img.off(".mfploader"),p===aP.currItem&&(aP._onImageHasSize(p),aP.updateStatus("error",k.tError.replace("%url%",p.src))),p.hasSize=!0,p.loaded=!0,p.loadError=!0)},k=aP.st.image,b=o.find(".mfp-img");if(b.length){var a=document.createElement("img");a.className="mfp-img",p.el&&p.el.find("img").length&&(a.alt=p.el.find("img").attr("alt")),p.img=aQ(a).on("load.mfploader",m).on("error.mfploader",l),a.src=p.src,b.is("img")&&(p.img=p.img.clone()),a=p.img[0],a.naturalWidth>0?p.hasSize=!0:a.width||(p.hasSize=!1)}return aP._parseMarkup(o,{title:ad(p),img_replaceWith:p.img},p),aP.resizeImage(),p.hasSize?(ae&&clearInterval(ae),p.loadError?(o.addClass("mfp-loading"),aP.updateStatus("error",k.tError.replace("%url%",p.src))):(o.removeClass("mfp-loading"),aP.updateStatus("ready")),o):(aP.updateStatus("loading"),p.loading=!0,p.hasSize||(p.imgHidden=!0,o.addClass("mfp-loading"),aP.findImageSize(p)),o)}}});var ac,ab=function(){return void 0===ac&&(ac=void 0!==document.createElement("p").style.MozTransform),ac};aQ.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(b){return b.is("img")?b:b.find("img")}},proto:{initZoom:function(){var b,p=aP.st.zoom,o=".zoom";if(p.enabled&&aP.supportsTransition){var n,m,l=p.duration,i=function(g){var c=g.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),q="all "+p.duration/1000+"s "+p.easing,k={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},j="transition";return k["-webkit-"+j]=k["-moz-"+j]=k["-o-"+j]=k[j]=q,c.css(k),c},h=function(){aP.content.css("visibility","visible")};au("BuildControls"+o,function(){if(aP._allowZoom()){if(clearTimeout(n),aP.content.css("visibility","hidden"),b=aP._getItemToZoom(),!b){return void h()}m=i(b),m.css(aP._getOffset()),aP.wrap.append(m),n=setTimeout(function(){m.css(aP._getOffset(!0)),n=setTimeout(function(){h(),setTimeout(function(){m.remove(),b=m=null,ar("ZoomAnimationEnded")},16)},l)},16)}}),au(aI+o,function(){if(aP._allowZoom()){if(clearTimeout(n),aP.st.removalDelay=l,!b){if(b=aP._getItemToZoom(),!b){return}m=i(b)}m.css(aP._getOffset(!0)),aP.wrap.append(m),aP.content.css("visibility","hidden"),setTimeout(function(){m.css(aP._getOffset())},16)}}),au(aJ+o,function(){aP._allowZoom()&&(h(),m&&m.remove(),b=null)})}},_allowZoom:function(){return"image"===aP.currItem.type},_getItemToZoom:function(){return aP.currItem.hasSize?aP.currItem.img:!1},_getOffset:function(l){var k;k=l?aP.currItem.img:aP.st.zoom.opener(aP.currItem.el||aP.currItem);var j=k.offset(),i=parseInt(k.css("padding-top"),10),b=parseInt(k.css("padding-bottom"),10);j.top-=aQ(window).scrollTop()-i;var a={width:k.width(),height:(aw?k.innerHeight():k[0].offsetHeight)-b-i};return ab()?a["-moz-transform"]=a.transform="translate("+j.left+"px,"+j.top+"px)":(a.left=j.left,a.top=j.top),a}}});var aa="iframe",Z="//about:blank",Y=function(b){if(aP.currTemplate[aa]){var d=aP.currTemplate[aa].find("iframe");d.length&&(b||(d[0].src=Z),aP.isIE8&&d.css("display",b?"block":"none"))}};aQ.magnificPopup.registerModule(aa,{options:{markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen></iframe></div>',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){aP.types.push(aa),au("BeforeChange",function(e,d,f){d!==f&&(d===aa?Y():f===aa&&Y(!0))}),au(aJ+"."+aa,function(){Y()})},getIframe:function(j,i){var h=j.src,b=aP.st.iframe;aQ.each(b.patterns,function(){return h.indexOf(this.index)>-1?(this.id&&(h="string"==typeof this.id?h.substr(h.lastIndexOf(this.id)+this.id.length,h.length):this.id.call(this,h)),h=this.src.replace("%id%",h),!1):void 0});var a={};return b.srcAction&&(a[b.srcAction]=h),aP._parseMarkup(i,a,j),aP.updateStatus("ready"),i}}});var X=function(b){var d=aP.items.length;return b>d-1?b-d:0>b?d+b:b},W=function(e,d,f){return e.replace(/%curr%/gi,d+1).replace(/%total%/gi,f)};aQ.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"></button>',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var b=aP.st.gallery,a=".mfp-gallery";return aP.direction=!0,b&&b.enabled?(aL+=" mfp-gallery",au(aE+a,function(){b.navigateByImgClick&&aP.wrap.on("click"+a,".mfp-img",function(){return aP.items.length>1?(aP.next(),!1):void 0}),aN.on("keydown"+a,function(c){37===c.keyCode?aP.prev():39===c.keyCode&&aP.next()})}),au("UpdateStatus"+a,function(d,e){e.text&&(e.text=W(e.text,aP.currItem.index,aP.items.length))}),au(aF+a,function(c,k,j,i){var h=aP.items.length;j.counter=h>1?W(b.tCounter,i.index,h):""}),au("BuildControls"+a,function(){if(aP.items.length>1&&b.arrows&&!aP.arrowLeft){var h=b.arrowMarkup,g=aP.arrowLeft=aQ(h.replace(/%title%/gi,b.tPrev).replace(/%dir%/gi,"left")).addClass(ay),c=aP.arrowRight=aQ(h.replace(/%title%/gi,b.tNext).replace(/%dir%/gi,"right")).addClass(ay);g.click(function(){aP.prev()}),c.click(function(){aP.next()}),aP.container.append(g.add(c))}}),au(aD+a,function(){aP._preloadTimeout&&clearTimeout(aP._preloadTimeout),aP._preloadTimeout=setTimeout(function(){aP.preloadNearbyImages(),aP._preloadTimeout=null},16)}),void au(aJ+a,function(){aN.off(a),aP.wrap.off("click"+a),aP.arrowRight=aP.arrowLeft=null})):!1},next:function(){aP.direction=!0,aP.index=X(aP.index+1),aP.updateItemHTML()},prev:function(){aP.direction=!1,aP.index=X(aP.index-1),aP.updateItemHTML()},goTo:function(b){aP.direction=b>=aP.index,aP.index=b,aP.updateItemHTML()},preloadNearbyImages:function(){var b,h=aP.st.gallery.preload,g=Math.min(h[0],aP.items.length),f=Math.min(h[1],aP.items.length);for(b=1;b<=(aP.direction?f:g);b++){aP._preloadItem(aP.index+b)}for(b=1;b<=(aP.direction?g:f);b++){aP._preloadItem(aP.index-b)}},_preloadItem:function(b){if(b=X(b),!aP.items[b].preloaded){var a=aP.items[b];a.parsed||(a=aP.parseEl(b)),ar("LazyLoad",a),"image"===a.type&&(a.img=aQ('<img class="mfp-img" />').on("load.mfploader",function(){a.hasSize=!0}).on("error.mfploader",function(){a.hasSize=!0,a.loadError=!0,ar("LazyLoadError",a)}).attr("src",a.src)),a.preloaded=!0}}}});var V="retina";aQ.magnificPopup.registerModule(V,{options:{replaceSrc:function(b){return b.src.replace(/\.\w+$/,function(c){return"@2x"+c})},ratio:1},proto:{initRetina:function(){if(window.devicePixelRatio>1){var b=aP.st.retina,d=b.ratio;d=isNaN(d)?d():d,d>1&&(au("ImageHasSize."+V,function(e,c){c.img.css({"max-width":c.img[0].naturalWidth/d,width:"100%"})}),au("ElementParse."+V,function(a,c){c.src=b.replaceSrc(c,d)}))}}}}),ap()}),function(b){"function"==typeof define&&define.amd?define(["jquery"],b):"undefined"!=typeof exports?module.exports=b(require("jquery")):b(jQuery)}(function(d){var c=window.Slick||{};c=function(){function a(g,j){var i,h=this;h.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:d(g),appendDots:d(g),arrows:!0,asNavFor:null,prevArrow:'<button type="button" data-role="none" class="slick-prev" aria-label="Previous" tabindex="0" role="button">Previous</button>',nextArrow:'<button type="button" data-role="none" class="slick-next" aria-label="Next" tabindex="0" role="button">Next</button>',autoplay:!1,autoplaySpeed:3000,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(f,k){return d('<button type="button" data-role="none" role="button" tabindex="0" />').text(k+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:0.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:"ondemand",mobileFirst:!1,pauseOnHover:!0,pauseOnFocus:!0,pauseOnDotsHover:!1,respondTo:"window",responsive:null,rows:1,rtl:!1,slide:"",slidesPerRow:1,slidesToShow:1,slidesToScroll:1,speed:500,swipe:!0,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,verticalSwiping:!1,waitForAnimate:!0,zIndex:1000},h.initials={animating:!1,dragging:!1,autoPlayTimer:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,$dots:null,listWidth:null,listHeight:null,loadIndex:0,$nextArrow:null,$prevArrow:null,slideCount:null,slideWidth:null,$slideTrack:null,$slides:null,sliding:!1,slideOffset:0,swipeLeft:null,$list:null,touchObject:{},transformsEnabled:!1,unslicked:!1},d.extend(h,h.initials),h.activeBreakpoint=null,h.animType=null,h.animProp=null,h.breakpoints=[],h.breakpointSettings=[],h.cssTransitions=!1,h.focussed=!1,h.interrupted=!1,h.hidden="hidden",h.paused=!0,h.positionProp=null,h.respondTo=null,h.rowCount=1,h.shouldClick=!0,h.$slider=d(g),h.$slidesCache=null,h.transformType=null,h.transitionType=null,h.visibilityChange="visibilitychange",h.windowWidth=0,h.windowTimer=null,i=d(g).data("slick")||{},h.options=d.extend({},h.defaults,j,i),h.currentSlide=h.options.initialSlide,h.originalSettings=h.options,"undefined"!=typeof document.mozHidden?(h.hidden="mozHidden",h.visibilityChange="mozvisibilitychange"):"undefined"!=typeof document.webkitHidden&&(h.hidden="webkitHidden",h.visibilityChange="webkitvisibilitychange"),h.autoPlay=d.proxy(h.autoPlay,h),h.autoPlayClear=d.proxy(h.autoPlayClear,h),h.autoPlayIterator=d.proxy(h.autoPlayIterator,h),h.changeSlide=d.proxy(h.changeSlide,h),h.clickHandler=d.proxy(h.clickHandler,h),h.selectHandler=d.proxy(h.selectHandler,h),h.setPosition=d.proxy(h.setPosition,h),h.swipeHandler=d.proxy(h.swipeHandler,h),h.dragHandler=d.proxy(h.dragHandler,h),h.keyHandler=d.proxy(h.keyHandler,h),h.instanceUid=e++,h.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/,h.registerBreakpoints(),h.init(!0)}var e=0;return a}(),c.prototype.activateADA=function(){var b=this;b.$slideTrack.find(".slick-active").attr({"aria-hidden":"false"}).find("a, input, button, select").attr({tabindex:"0"})},c.prototype.addSlide=c.prototype.slickAdd=function(a,h,g){var f=this;if("boolean"==typeof h){g=h,h=null}else{if(0>h||h>=f.slideCount){return !1}}f.unload(),"number"==typeof h?0===h&&0===f.$slides.length?d(a).appendTo(f.$slideTrack):g?d(a).insertBefore(f.$slides.eq(h)):d(a).insertAfter(f.$slides.eq(h)):g===!0?d(a).prependTo(f.$slideTrack):d(a).appendTo(f.$slideTrack),f.$slides=f.$slideTrack.children(this.options.slide),f.$slideTrack.children(this.options.slide).detach(),f.$slideTrack.append(f.$slides),f.$slides.each(function(e,i){d(i).attr("data-slick-index",e)}),f.$slidesCache=f.$slides,f.reinit()},c.prototype.animateHeight=function(){var f=this;if(1===f.options.slidesToShow&&f.options.adaptiveHeight===!0&&f.options.vertical===!1){var e=f.$slides.eq(f.currentSlide).outerHeight(!0);f.$list.animate({height:e},f.options.speed)}},c.prototype.animateSlide=function(a,h){var g={},f=this;f.animateHeight(),f.options.rtl===!0&&f.options.vertical===!1&&(a=-a),f.transformsEnabled===!1?f.options.vertical===!1?f.$slideTrack.animate({left:a},f.options.speed,f.options.easing,h):f.$slideTrack.animate({top:a},f.options.speed,f.options.easing,h):f.cssTransitions===!1?(f.options.rtl===!0&&(f.currentLeft=-f.currentLeft),d({animStart:f.currentLeft}).animate({animStart:a},{duration:f.options.speed,easing:f.options.easing,step:function(b){b=Math.ceil(b),f.options.vertical===!1?(g[f.animType]="translate("+b+"px, 0px)",f.$slideTrack.css(g)):(g[f.animType]="translate(0px,"+b+"px)",f.$slideTrack.css(g))},complete:function(){h&&h.call()}})):(f.applyTransition(),a=Math.ceil(a),f.options.vertical===!1?g[f.animType]="translate3d("+a+"px, 0px, 0px)":g[f.animType]="translate3d(0px,"+a+"px, 0px)",f.$slideTrack.css(g),h&&setTimeout(function(){f.disableTransition(),h.call()},f.options.speed))},c.prototype.getNavTarget=function(){var a=this,e=a.options.asNavFor;return e&&null!==e&&(e=d(e).not(a.$slider)),e},c.prototype.asNavFor=function(a){var f=this,e=f.getNavTarget();null!==e&&"object"==typeof e&&e.each(function(){var b=d(this).slick("getSlick");b.unslicked||b.slideHandler(a,!0)})},c.prototype.applyTransition=function(f){var e=this,g={};e.options.fade===!1?g[e.transitionType]=e.transformType+" "+e.options.speed+"ms "+e.options.cssEase:g[e.transitionType]="opacity "+e.options.speed+"ms "+e.options.cssEase,e.options.fade===!1?e.$slideTrack.css(g):e.$slides.eq(f).css(g)},c.prototype.autoPlay=function(){var b=this;b.autoPlayClear(),b.slideCount>b.options.slidesToShow&&(b.autoPlayTimer=setInterval(b.autoPlayIterator,b.options.autoplaySpeed))},c.prototype.autoPlayClear=function(){var b=this;b.autoPlayTimer&&clearInterval(b.autoPlayTimer)},c.prototype.autoPlayIterator=function(){var f=this,e=f.currentSlide+f.options.slidesToScroll;f.paused||f.interrupted||f.focussed||(f.options.infinite===!1&&(1===f.direction&&f.currentSlide+1===f.slideCount-1?f.direction=0:0===f.direction&&(e=f.currentSlide-f.options.slidesToScroll,f.currentSlide-1===0&&(f.direction=1))),f.slideHandler(e))},c.prototype.buildArrows=function(){var a=this;a.options.arrows===!0&&(a.$prevArrow=d(a.options.prevArrow).addClass("slick-arrow"),a.$nextArrow=d(a.options.nextArrow).addClass("slick-arrow"),a.slideCount>a.options.slidesToShow?(a.$prevArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),a.$nextArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),a.htmlExpr.test(a.options.prevArrow)&&a.$prevArrow.prependTo(a.options.appendArrows),a.htmlExpr.test(a.options.nextArrow)&&a.$nextArrow.appendTo(a.options.appendArrows),a.options.infinite!==!0&&a.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true")):a.$prevArrow.add(a.$nextArrow).addClass("slick-hidden").attr({"aria-disabled":"true",tabindex:"-1"}))},c.prototype.buildDots=function(){var a,f,e=this;if(e.options.dots===!0&&e.slideCount>e.options.slidesToShow){for(e.$slider.addClass("slick-dotted"),f=d("<ul />").addClass(e.options.dotsClass),a=0;a<=e.getDotCount();a+=1){f.append(d("<li />").append(e.options.customPaging.call(this,e,a)))}e.$dots=f.appendTo(e.options.appendDots),e.$dots.find("li").first().addClass("slick-active").attr("aria-hidden","false")}},c.prototype.buildOut=function(){var a=this;a.$slides=a.$slider.children(a.options.slide+":not(.slick-cloned)").addClass("slick-slide"),a.slideCount=a.$slides.length,a.$slides.each(function(e,f){d(f).attr("data-slick-index",e).data("originalStyling",d(f).attr("style")||"")}),a.$slider.addClass("slick-slider"),a.$slideTrack=0===a.slideCount?d('<div class="slick-track"/>').appendTo(a.$slider):a.$slides.wrapAll('<div class="slick-track"/>').parent(),a.$list=a.$slideTrack.wrap('<div aria-live="polite" class="slick-list"/>').parent(),a.$slideTrack.css("opacity",0),(a.options.centerMode===!0||a.options.swipeToSlide===!0)&&(a.options.slidesToScroll=1),d("img[data-lazy]",a.$slider).not("[src]").addClass("slick-loading"),a.setupInfinite(),a.buildArrows(),a.buildDots(),a.updateDots(),a.setSlideClasses("number"==typeof a.currentSlide?a.currentSlide:0),a.options.draggable===!0&&a.$list.addClass("draggable")},c.prototype.buildRows=function(){var v,u,t,s,r,q,p,o=this;if(s=document.createDocumentFragment(),q=o.$slider.children(),o.options.rows>1){for(p=o.options.slidesPerRow*o.options.rows,r=Math.ceil(q.length/p),v=0;r>v;v++){var n=document.createElement("div");for(u=0;u<o.options.rows;u++){var m=document.createElement("div");for(t=0;t<o.options.slidesPerRow;t++){var l=v*p+(u*o.options.slidesPerRow+t);q.get(l)&&m.appendChild(q.get(l))}n.appendChild(m)}s.appendChild(n)}o.$slider.empty().append(s),o.$slider.children().children().children().css({width:100/o.options.slidesPerRow+"%",display:"inline-block"})}},c.prototype.checkResponsive=function(r,q){var p,o,n,m=this,l=!1,k=m.$slider.width(),a=window.innerWidth||d(window).width();if("window"===m.respondTo?n=a:"slider"===m.respondTo?n=k:"min"===m.respondTo&&(n=Math.min(a,k)),m.options.responsive&&m.options.responsive.length&&null!==m.options.responsive){o=null;for(p in m.breakpoints){m.breakpoints.hasOwnProperty(p)&&(m.originalSettings.mobileFirst===!1?n<m.breakpoints[p]&&(o=m.breakpoints[p]):n>m.breakpoints[p]&&(o=m.breakpoints[p]))}null!==o?null!==m.activeBreakpoint?(o!==m.activeBreakpoint||q)&&(m.activeBreakpoint=o,"unslick"===m.breakpointSettings[o]?m.unslick(o):(m.options=d.extend({},m.originalSettings,m.breakpointSettings[o]),r===!0&&(m.currentSlide=m.options.initialSlide),m.refresh(r)),l=o):(m.activeBreakpoint=o,"unslick"===m.breakpointSettings[o]?m.unslick(o):(m.options=d.extend({},m.originalSettings,m.breakpointSettings[o]),r===!0&&(m.currentSlide=m.options.initialSlide),m.refresh(r)),l=o):null!==m.activeBreakpoint&&(m.activeBreakpoint=null,m.options=m.originalSettings,r===!0&&(m.currentSlide=m.options.initialSlide),m.refresh(r),l=o),r||l===!1||m.$slider.trigger("breakpoint",[m,l])}},c.prototype.changeSlide=function(a,p){var o,n,m,l=this,k=d(a.currentTarget);switch(k.is("a")&&a.preventDefault(),k.is("li")||(k=k.closest("li")),m=l.slideCount%l.options.slidesToScroll!==0,o=m?0:(l.slideCount-l.currentSlide)%l.options.slidesToScroll,a.data.message){case"previous":n=0===o?l.options.slidesToScroll:l.options.slidesToShow-o,l.slideCount>l.options.slidesToShow&&l.slideHandler(l.currentSlide-n,!1,p);break;case"next":n=0===o?l.options.slidesToScroll:o,l.slideCount>l.options.slidesToShow&&l.slideHandler(l.currentSlide+n,!1,p);break;case"index":var j=0===a.data.index?0:a.data.index||k.index()*l.options.slidesToScroll;l.slideHandler(l.checkNavigable(j),!1,p),k.children().trigger("focus");break;default:return}},c.prototype.checkNavigable=function(g){var f,j,i=this;if(f=i.getNavigableIndexes(),j=0,g>f[f.length-1]){g=f[f.length-1]}else{for(var h in f){if(g<f[h]){g=j;break}j=f[h]}}return g},c.prototype.cleanUpEvents=function(){var a=this;a.options.dots&&null!==a.$dots&&d("li",a.$dots).off("click.slick",a.changeSlide).off("mouseenter.slick",d.proxy(a.interrupt,a,!0)).off("mouseleave.slick",d.proxy(a.interrupt,a,!1)),a.$slider.off("focus.slick blur.slick"),a.options.arrows===!0&&a.slideCount>a.options.slidesToShow&&(a.$prevArrow&&a.$prevArrow.off("click.slick",a.changeSlide),a.$nextArrow&&a.$nextArrow.off("click.slick",a.changeSlide)),a.$list.off("touchstart.slick mousedown.slick",a.swipeHandler),a.$list.off("touchmove.slick mousemove.slick",a.swipeHandler),a.$list.off("touchend.slick mouseup.slick",a.swipeHandler),a.$list.off("touchcancel.slick mouseleave.slick",a.swipeHandler),a.$list.off("click.slick",a.clickHandler),d(document).off(a.visibilityChange,a.visibility),a.cleanUpSlideEvents(),a.options.accessibility===!0&&a.$list.off("keydown.slick",a.keyHandler),a.options.focusOnSelect===!0&&d(a.$slideTrack).children().off("click.slick",a.selectHandler),d(window).off("orientationchange.slick.slick-"+a.instanceUid,a.orientationChange),d(window).off("resize.slick.slick-"+a.instanceUid,a.resize),d("[draggable!=true]",a.$slideTrack).off("dragstart",a.preventDefault),d(window).off("load.slick.slick-"+a.instanceUid,a.setPosition),d(document).off("ready.slick.slick-"+a.instanceUid,a.setPosition)},c.prototype.cleanUpSlideEvents=function(){var a=this;a.$list.off("mouseenter.slick",d.proxy(a.interrupt,a,!0)),a.$list.off("mouseleave.slick",d.proxy(a.interrupt,a,!1))},c.prototype.cleanUpRows=function(){var f,e=this;e.options.rows>1&&(f=e.$slides.children().children(),f.removeAttr("style"),e.$slider.empty().append(f))},c.prototype.clickHandler=function(f){var e=this;e.shouldClick===!1&&(f.stopImmediatePropagation(),f.stopPropagation(),f.preventDefault())},c.prototype.destroy=function(a){var e=this;e.autoPlayClear(),e.touchObject={},e.cleanUpEvents(),d(".slick-cloned",e.$slider).detach(),e.$dots&&e.$dots.remove(),e.$prevArrow&&e.$prevArrow.length&&(e.$prevArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),e.htmlExpr.test(e.options.prevArrow)&&e.$prevArrow.remove()),e.$nextArrow&&e.$nextArrow.length&&(e.$nextArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),e.htmlExpr.test(e.options.nextArrow)&&e.$nextArrow.remove()),e.$slides&&(e.$slides.removeClass("slick-slide slick-active slick-center slick-visible slick-current").removeAttr("aria-hidden").removeAttr("data-slick-index").each(function(){d(this).attr("style",d(this).data("originalStyling"))}),e.$slideTrack.children(this.options.slide).detach(),e.$slideTrack.detach(),e.$list.detach(),e.$slider.append(e.$slides)),e.cleanUpRows(),e.$slider.removeClass("slick-slider"),e.$slider.removeClass("slick-initialized"),e.$slider.removeClass("slick-dotted"),e.unslicked=!0,a||e.$slider.trigger("destroy",[e])},c.prototype.disableTransition=function(f){var e=this,g={};g[e.transitionType]="",e.options.fade===!1?e.$slideTrack.css(g):e.$slides.eq(f).css(g)},c.prototype.fadeSlide=function(f,e){var g=this;g.cssTransitions===!1?(g.$slides.eq(f).css({zIndex:g.options.zIndex}),g.$slides.eq(f).animate({opacity:1},g.options.speed,g.options.easing,e)):(g.applyTransition(f),g.$slides.eq(f).css({opacity:1,zIndex:g.options.zIndex}),e&&setTimeout(function(){g.disableTransition(f),e.call()},g.options.speed))},c.prototype.fadeSlideOut=function(f){var e=this;e.cssTransitions===!1?e.$slides.eq(f).animate({opacity:0,zIndex:e.options.zIndex-2},e.options.speed,e.options.easing):(e.applyTransition(f),e.$slides.eq(f).css({opacity:0,zIndex:e.options.zIndex-2}))},c.prototype.filterSlides=c.prototype.slickFilter=function(f){var e=this;null!==f&&(e.$slidesCache=e.$slides,e.unload(),e.$slideTrack.children(this.options.slide).detach(),e.$slidesCache.filter(f).appendTo(e.$slideTrack),e.reinit())},c.prototype.focusHandler=function(){var a=this;a.$slider.off("focus.slick blur.slick").on("focus.slick blur.slick","*:not(.slick-arrow)",function(e){e.stopImmediatePropagation();var b=d(this);setTimeout(function(){a.options.pauseOnFocus&&(a.focussed=b.is(":focus"),a.autoPlay())},0)})},c.prototype.getCurrent=c.prototype.slickCurrentSlide=function(){var b=this;return b.currentSlide},c.prototype.getDotCount=function(){var f=this,e=0,h=0,g=0;if(f.options.infinite===!0){for(;e<f.slideCount;){++g,e=h+f.options.slidesToScroll,h+=f.options.slidesToScroll<=f.options.slidesToShow?f.options.slidesToScroll:f.options.slidesToShow}}else{if(f.options.centerMode===!0){g=f.slideCount}else{if(f.options.asNavFor){for(;e<f.slideCount;){++g,e=h+f.options.slidesToScroll,h+=f.options.slidesToScroll<=f.options.slidesToShow?f.options.slidesToScroll:f.options.slidesToShow}}else{g=1+Math.ceil((f.slideCount-f.options.slidesToShow)/f.options.slidesToScroll)}}}return g-1},c.prototype.getLeft=function(h){var g,l,k,j=this,i=0;return j.slideOffset=0,l=j.$slides.first().outerHeight(!0),j.options.infinite===!0?(j.slideCount>j.options.slidesToShow&&(j.slideOffset=j.slideWidth*j.options.slidesToShow*-1,i=l*j.options.slidesToShow*-1),j.slideCount%j.options.slidesToScroll!==0&&h+j.options.slidesToScroll>j.slideCount&&j.slideCount>j.options.slidesToShow&&(h>j.slideCount?(j.slideOffset=(j.options.slidesToShow-(h-j.slideCount))*j.slideWidth*-1,i=(j.options.slidesToShow-(h-j.slideCount))*l*-1):(j.slideOffset=j.slideCount%j.options.slidesToScroll*j.slideWidth*-1,i=j.slideCount%j.options.slidesToScroll*l*-1))):h+j.options.slidesToShow>j.slideCount&&(j.slideOffset=(h+j.options.slidesToShow-j.slideCount)*j.slideWidth,i=(h+j.options.slidesToShow-j.slideCount)*l),j.slideCount<=j.options.slidesToShow&&(j.slideOffset=0,i=0),j.options.centerMode===!0&&j.slideCount<=j.options.slidesToShow?j.slideOffset=j.slideWidth*Math.floor(j.options.slidesToShow)/2-j.slideWidth*j.slideCount/2:j.options.centerMode===!0&&j.options.infinite===!0?j.slideOffset+=j.slideWidth*Math.floor(j.options.slidesToShow/2)-j.slideWidth:j.options.centerMode===!0&&(j.slideOffset=0,j.slideOffset+=j.slideWidth*Math.floor(j.options.slidesToShow/2)),g=j.options.vertical===!1?h*j.slideWidth*-1+j.slideOffset:h*l*-1+i,j.options.variableWidth===!0&&(k=j.slideCount<=j.options.slidesToShow||j.options.infinite===!1?j.$slideTrack.children(".slick-slide").eq(h):j.$slideTrack.children(".slick-slide").eq(h+j.options.slidesToShow),g=j.options.rtl===!0?k[0]?-1*(j.$slideTrack.width()-k[0].offsetLeft-k.width()):0:k[0]?-1*k[0].offsetLeft:0,j.options.centerMode===!0&&(k=j.slideCount<=j.options.slidesToShow||j.options.infinite===!1?j.$slideTrack.children(".slick-slide").eq(h):j.$slideTrack.children(".slick-slide").eq(h+j.options.slidesToShow+1),g=j.options.rtl===!0?k[0]?-1*(j.$slideTrack.width()-k[0].offsetLeft-k.width()):0:k[0]?-1*k[0].offsetLeft:0,g+=(j.$list.width()-k.outerWidth())/2)),g},c.prototype.getOption=c.prototype.slickGetOption=function(f){var e=this;return e.options[f]},c.prototype.getNavigableIndexes=function(){var g,f=this,j=0,i=0,h=[];for(f.options.infinite===!1?g=f.slideCount:(j=-1*f.options.slidesToScroll,i=-1*f.options.slidesToScroll,g=2*f.slideCount);g>j;){h.push(j),j=i+f.options.slidesToScroll,i+=f.options.slidesToScroll<=f.options.slidesToShow?f.options.slidesToScroll:f.options.slidesToShow}return h},c.prototype.getSlick=function(){return this},c.prototype.getSlideCount=function(){var a,h,g,f=this;return g=f.options.centerMode===!0?f.slideWidth*Math.floor(f.options.slidesToShow/2):0,f.options.swipeToSlide===!0?(f.$slideTrack.find(".slick-slide").each(function(e,i){return i.offsetLeft-g+d(i).outerWidth()/2>-1*f.swipeLeft?(h=i,!1):void 0}),a=Math.abs(d(h).attr("data-slick-index")-f.currentSlide)||1):f.options.slidesToScroll},c.prototype.goTo=c.prototype.slickGoTo=function(f,e){var g=this;g.changeSlide({data:{message:"index",index:parseInt(f)}},e)},c.prototype.init=function(a){var e=this;d(e.$slider).hasClass("slick-initialized")||(d(e.$slider).addClass("slick-initialized"),e.buildRows(),e.buildOut(),e.setProps(),e.startLoad(),e.loadSlider(),e.initializeEvents(),e.updateArrows(),e.updateDots(),e.checkResponsive(!0),e.focusHandler()),a&&e.$slider.trigger("init",[e]),e.options.accessibility===!0&&e.initADA(),e.options.autoplay&&(e.paused=!1,e.autoPlay())},c.prototype.initADA=function(){var a=this;a.$slides.add(a.$slideTrack.find(".slick-cloned")).attr({"aria-hidden":"true",tabindex:"-1"}).find("a, input, button, select").attr({tabindex:"-1"}),a.$slideTrack.attr("role","listbox"),a.$slides.not(a.$slideTrack.find(".slick-cloned")).each(function(e){d(this).attr("role","option");var b=a.options.centerMode?e:Math.floor(e/a.options.slidesToShow);a.options.dots===!0&&d(this).attr("aria-describedby","slick-slide"+a.instanceUid+b)}),null!==a.$dots&&a.$dots.attr("role","tablist").find("li").each(function(b){d(this).attr({role:"presentation","aria-selected":"false","aria-controls":"navigation"+a.instanceUid+b,id:"slick-slide"+a.instanceUid+b})}).first().attr("aria-selected","true").end().find("button").attr("role","button").end().closest("div").attr("role","toolbar"),a.activateADA()},c.prototype.initArrowEvents=function(){var b=this;b.options.arrows===!0&&b.slideCount>b.options.slidesToShow&&(b.$prevArrow.off("click.slick").on("click.slick",{message:"previous"},b.changeSlide),b.$nextArrow.off("click.slick").on("click.slick",{message:"next"},b.changeSlide))},c.prototype.initDotEvents=function(){var a=this;a.options.dots===!0&&a.slideCount>a.options.slidesToShow&&d("li",a.$dots).on("click.slick",{message:"index"},a.changeSlide),a.options.dots===!0&&a.options.pauseOnDotsHover===!0&&d("li",a.$dots).on("mouseenter.slick",d.proxy(a.interrupt,a,!0)).on("mouseleave.slick",d.proxy(a.interrupt,a,!1))},c.prototype.initSlideEvents=function(){var a=this;a.options.pauseOnHover&&(a.$list.on("mouseenter.slick",d.proxy(a.interrupt,a,!0)),a.$list.on("mouseleave.slick",d.proxy(a.interrupt,a,!1)))},c.prototype.initializeEvents=function(){var a=this;a.initArrowEvents(),a.initDotEvents(),a.initSlideEvents(),a.$list.on("touchstart.slick mousedown.slick",{action:"start"},a.swipeHandler),a.$list.on("touchmove.slick mousemove.slick",{action:"move"},a.swipeHandler),a.$list.on("touchend.slick mouseup.slick",{action:"end"},a.swipeHandler),a.$list.on("touchcancel.slick mouseleave.slick",{action:"end"},a.swipeHandler),a.$list.on("click.slick",a.clickHandler),d(document).on(a.visibilityChange,d.proxy(a.visibility,a)),a.options.accessibility===!0&&a.$list.on("keydown.slick",a.keyHandler),a.options.focusOnSelect===!0&&d(a.$slideTrack).children().on("click.slick",a.selectHandler),d(window).on("orientationchange.slick.slick-"+a.instanceUid,d.proxy(a.orientationChange,a)),d(window).on("resize.slick.slick-"+a.instanceUid,d.proxy(a.resize,a)),d("[draggable!=true]",a.$slideTrack).on("dragstart",a.preventDefault),d(window).on("load.slick.slick-"+a.instanceUid,a.setPosition),d(document).on("ready.slick.slick-"+a.instanceUid,a.setPosition)},c.prototype.initUI=function(){var b=this;b.options.arrows===!0&&b.slideCount>b.options.slidesToShow&&(b.$prevArrow.show(),b.$nextArrow.show()),b.options.dots===!0&&b.slideCount>b.options.slidesToShow&&b.$dots.show()},c.prototype.keyHandler=function(f){var e=this;f.target.tagName.match("TEXTAREA|INPUT|SELECT")||(37===f.keyCode&&e.options.accessibility===!0?e.changeSlide({data:{message:e.options.rtl===!0?"next":"previous"}}):39===f.keyCode&&e.options.accessibility===!0&&e.changeSlide({data:{message:e.options.rtl===!0?"previous":"next"}}))},c.prototype.lazyLoad=function(){function a(e){d("img[data-lazy]",e).each(function(){var f=d(this),m=d(this).attr("data-lazy"),g=document.createElement("img");g.onload=function(){f.animate({opacity:0},100,function(){f.attr("src",m).animate({opacity:1},200,function(){f.removeAttr("data-lazy").removeClass("slick-loading")}),h.$slider.trigger("lazyLoaded",[h,f,m])})},g.onerror=function(){f.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),h.$slider.trigger("lazyLoadError",[h,f,m])},g.src=m})}var l,k,j,i,h=this;h.options.centerMode===!0?h.options.infinite===!0?(j=h.currentSlide+(h.options.slidesToShow/2+1),i=j+h.options.slidesToShow+2):(j=Math.max(0,h.currentSlide-(h.options.slidesToShow/2+1)),i=2+(h.options.slidesToShow/2+1)+h.currentSlide):(j=h.options.infinite?h.options.slidesToShow+h.currentSlide:h.currentSlide,i=Math.ceil(j+h.options.slidesToShow),h.options.fade===!0&&(j>0&&j--,i<=h.slideCount&&i++)),l=h.$slider.find(".slick-slide").slice(j,i),a(l),h.slideCount<=h.options.slidesToShow?(k=h.$slider.find(".slick-slide"),a(k)):h.currentSlide>=h.slideCount-h.options.slidesToShow?(k=h.$slider.find(".slick-cloned").slice(0,h.options.slidesToShow),a(k)):0===h.currentSlide&&(k=h.$slider.find(".slick-cloned").slice(-1*h.options.slidesToShow),a(k))},c.prototype.loadSlider=function(){var b=this;b.setPosition(),b.$slideTrack.css({opacity:1}),b.$slider.removeClass("slick-loading"),b.initUI(),"progressive"===b.options.lazyLoad&&b.progressiveLazyLoad()},c.prototype.next=c.prototype.slickNext=function(){var b=this;b.changeSlide({data:{message:"next"}})},c.prototype.orientationChange=function(){var b=this;b.checkResponsive(),b.setPosition()},c.prototype.pause=c.prototype.slickPause=function(){var b=this;b.autoPlayClear(),b.paused=!0},c.prototype.play=c.prototype.slickPlay=function(){var b=this;b.autoPlay(),b.options.autoplay=!0,b.paused=!1,b.focussed=!1,b.interrupted=!1},c.prototype.postSlide=function(f){var e=this;e.unslicked||(e.$slider.trigger("afterChange",[e,f]),e.animating=!1,e.setPosition(),e.swipeLeft=null,e.options.autoplay&&e.autoPlay(),e.options.accessibility===!0&&e.initADA())},c.prototype.prev=c.prototype.slickPrev=function(){var b=this;b.changeSlide({data:{message:"previous"}})},c.prototype.preventDefault=function(b){b.preventDefault()},c.prototype.progressiveLazyLoad=function(a){a=a||1;var l,k,j,i=this,h=d("img[data-lazy]",i.$slider);h.length?(l=h.first(),k=l.attr("data-lazy"),j=document.createElement("img"),j.onload=function(){l.attr("src",k).removeAttr("data-lazy").removeClass("slick-loading"),i.options.adaptiveHeight===!0&&i.setPosition(),i.$slider.trigger("lazyLoaded",[i,l,k]),i.progressiveLazyLoad()},j.onerror=function(){3>a?setTimeout(function(){i.progressiveLazyLoad(a+1)},500):(l.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),i.$slider.trigger("lazyLoadError",[i,l,k]),i.progressiveLazyLoad())},j.src=k):i.$slider.trigger("allImagesLoaded",[i])},c.prototype.refresh=function(a){var h,g,f=this;g=f.slideCount-f.options.slidesToShow,!f.options.infinite&&f.currentSlide>g&&(f.currentSlide=g),f.slideCount<=f.options.slidesToShow&&(f.currentSlide=0),h=f.currentSlide,f.destroy(!0),d.extend(f,f.initials,{currentSlide:h}),f.init(),a||f.changeSlide({data:{message:"index",index:h}},!1)},c.prototype.registerBreakpoints=function(){var a,j,i,h=this,g=h.options.responsive||null;if("array"===d.type(g)&&g.length){h.respondTo=h.options.respondTo||"window";for(a in g){if(i=h.breakpoints.length-1,j=g[a].breakpoint,g.hasOwnProperty(a)){for(;i>=0;){h.breakpoints[i]&&h.breakpoints[i]===j&&h.breakpoints.splice(i,1),i--}h.breakpoints.push(j),h.breakpointSettings[j]=g[a].settings}}h.breakpoints.sort(function(f,e){return h.options.mobileFirst?f-e:e-f})}},c.prototype.reinit=function(){var a=this;a.$slides=a.$slideTrack.children(a.options.slide).addClass("slick-slide"),a.slideCount=a.$slides.length,a.currentSlide>=a.slideCount&&0!==a.currentSlide&&(a.currentSlide=a.currentSlide-a.options.slidesToScroll),a.slideCount<=a.options.slidesToShow&&(a.currentSlide=0),a.registerBreakpoints(),a.setProps(),a.setupInfinite(),a.buildArrows(),a.updateArrows(),a.initArrowEvents(),a.buildDots(),a.updateDots(),a.initDotEvents(),a.cleanUpSlideEvents(),a.initSlideEvents(),a.checkResponsive(!1,!0),a.options.focusOnSelect===!0&&d(a.$slideTrack).children().on("click.slick",a.selectHandler),a.setSlideClasses("number"==typeof a.currentSlide?a.currentSlide:0),a.setPosition(),a.focusHandler(),a.paused=!a.options.autoplay,a.autoPlay(),a.$slider.trigger("reInit",[a])},c.prototype.resize=function(){var a=this;d(window).width()!==a.windowWidth&&(clearTimeout(a.windowDelay),a.windowDelay=window.setTimeout(function(){a.windowWidth=d(window).width(),a.checkResponsive(),a.unslicked||a.setPosition()},50))},c.prototype.removeSlide=c.prototype.slickRemove=function(f,e,h){var g=this;return"boolean"==typeof f?(e=f,f=e===!0?0:g.slideCount-1):f=e===!0?--f:f,g.slideCount<1||0>f||f>g.slideCount-1?!1:(g.unload(),h===!0?g.$slideTrack.children().remove():g.$slideTrack.children(this.options.slide).eq(f).remove(),g.$slides=g.$slideTrack.children(this.options.slide),g.$slideTrack.children(this.options.slide).detach(),g.$slideTrack.append(g.$slides),g.$slidesCache=g.$slides,void g.reinit())},c.prototype.setCSS=function(g){var f,j,i=this,h={};i.options.rtl===!0&&(g=-g),f="left"==i.positionProp?Math.ceil(g)+"px":"0px",j="top"==i.positionProp?Math.ceil(g)+"px":"0px",h[i.positionProp]=g,i.transformsEnabled===!1?i.$slideTrack.css(h):(h={},i.cssTransitions===!1?(h[i.animType]="translate("+f+", "+j+")",i.$slideTrack.css(h)):(h[i.animType]="translate3d("+f+", "+j+", 0px)",i.$slideTrack.css(h)))},c.prototype.setDimensions=function(){var f=this;f.options.vertical===!1?f.options.centerMode===!0&&f.$list.css({padding:"0px "+f.options.centerPadding}):(f.$list.height(f.$slides.first().outerHeight(!0)*f.options.slidesToShow),f.options.centerMode===!0&&f.$list.css({padding:f.options.centerPadding+" 0px"})),f.listWidth=f.$list.width(),f.listHeight=f.$list.height(),f.options.vertical===!1&&f.options.variableWidth===!1?(f.slideWidth=Math.ceil(f.listWidth/f.options.slidesToShow),f.$slideTrack.width(Math.ceil(f.slideWidth*f.$slideTrack.children(".slick-slide").length))):f.options.variableWidth===!0?f.$slideTrack.width(5000*f.slideCount):(f.slideWidth=Math.ceil(f.listWidth),f.$slideTrack.height(Math.ceil(f.$slides.first().outerHeight(!0)*f.$slideTrack.children(".slick-slide").length)));var e=f.$slides.first().outerWidth(!0)-f.$slides.first().width();f.options.variableWidth===!1&&f.$slideTrack.children(".slick-slide").width(f.slideWidth-e)},c.prototype.setFade=function(){var a,e=this;e.$slides.each(function(f,b){a=e.slideWidth*f*-1,e.options.rtl===!0?d(b).css({position:"relative",right:a,top:0,zIndex:e.options.zIndex-2,opacity:0}):d(b).css({position:"relative",left:a,top:0,zIndex:e.options.zIndex-2,opacity:0})}),e.$slides.eq(e.currentSlide).css({zIndex:e.options.zIndex-1,opacity:1})},c.prototype.setHeight=function(){var f=this;if(1===f.options.slidesToShow&&f.options.adaptiveHeight===!0&&f.options.vertical===!1){var e=f.$slides.eq(f.currentSlide).outerHeight(!0);f.$list.css("height",e)}},c.prototype.setOption=c.prototype.slickSetOption=function(){var a,n,m,l,k,j=this,i=!1;if("object"===d.type(arguments[0])?(m=arguments[0],i=arguments[1],k="multiple"):"string"===d.type(arguments[0])&&(m=arguments[0],l=arguments[1],i=arguments[2],"responsive"===arguments[0]&&"array"===d.type(arguments[1])?k="responsive":"undefined"!=typeof arguments[1]&&(k="single")),"single"===k){j.options[m]=l}else{if("multiple"===k){d.each(m,function(f,e){j.options[f]=e})}else{if("responsive"===k){for(n in l){if("array"!==d.type(j.options.responsive)){j.options.responsive=[l[n]]}else{for(a=j.options.responsive.length-1;a>=0;){j.options.responsive[a].breakpoint===l[n].breakpoint&&j.options.responsive.splice(a,1),a--}j.options.responsive.push(l[n])}}}}}i&&(j.unload(),j.reinit())},c.prototype.setPosition=function(){var b=this;b.setDimensions(),b.setHeight(),b.options.fade===!1?b.setCSS(b.getLeft(b.currentSlide)):b.setFade(),b.$slider.trigger("setPosition",[b])},c.prototype.setProps=function(){var f=this,e=document.body.style;f.positionProp=f.options.vertical===!0?"top":"left","top"===f.positionProp?f.$slider.addClass("slick-vertical"):f.$slider.removeClass("slick-vertical"),(void 0!==e.WebkitTransition||void 0!==e.MozTransition||void 0!==e.msTransition)&&f.options.useCSS===!0&&(f.cssTransitions=!0),f.options.fade&&("number"==typeof f.options.zIndex?f.options.zIndex<3&&(f.options.zIndex=3):f.options.zIndex=f.defaults.zIndex),void 0!==e.OTransform&&(f.animType="OTransform",f.transformType="-o-transform",f.transitionType="OTransition",void 0===e.perspectiveProperty&&void 0===e.webkitPerspective&&(f.animType=!1)),void 0!==e.MozTransform&&(f.animType="MozTransform",f.transformType="-moz-transform",f.transitionType="MozTransition",void 0===e.perspectiveProperty&&void 0===e.MozPerspective&&(f.animType=!1)),void 0!==e.webkitTransform&&(f.animType="webkitTransform",f.transformType="-webkit-transform",f.transitionType="webkitTransition",void 0===e.perspectiveProperty&&void 0===e.webkitPerspective&&(f.animType=!1)),void 0!==e.msTransform&&(f.animType="msTransform",f.transformType="-ms-transform",f.transitionType="msTransition",void 0===e.msTransform&&(f.animType=!1)),void 0!==e.transform&&f.animType!==!1&&(f.animType="transform",f.transformType="transform",f.transitionType="transition"),f.transformsEnabled=f.options.useTransform&&null!==f.animType&&f.animType!==!1},c.prototype.setSlideClasses=function(h){var g,l,k,j,i=this;l=i.$slider.find(".slick-slide").removeClass("slick-active slick-center slick-current").attr("aria-hidden","true"),i.$slides.eq(h).addClass("slick-current"),i.options.centerMode===!0?(g=Math.floor(i.options.slidesToShow/2),i.options.infinite===!0&&(h>=g&&h<=i.slideCount-1-g?i.$slides.slice(h-g,h+g+1).addClass("slick-active").attr("aria-hidden","false"):(k=i.options.slidesToShow+h,l.slice(k-g+1,k+g+2).addClass("slick-active").attr("aria-hidden","false")),0===h?l.eq(l.length-1-i.options.slidesToShow).addClass("slick-center"):h===i.slideCount-1&&l.eq(i.options.slidesToShow).addClass("slick-center")),i.$slides.eq(h).addClass("slick-center")):h>=0&&h<=i.slideCount-i.options.slidesToShow?i.$slides.slice(h,h+i.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"):l.length<=i.options.slidesToShow?l.addClass("slick-active").attr("aria-hidden","false"):(j=i.slideCount%i.options.slidesToShow,k=i.options.infinite===!0?i.options.slidesToShow+h:h,i.options.slidesToShow==i.options.slidesToScroll&&i.slideCount-h<i.options.slidesToShow?l.slice(k-(i.options.slidesToShow-j),k+j).addClass("slick-active").attr("aria-hidden","false"):l.slice(k,k+i.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false")),"ondemand"===i.options.lazyLoad&&i.lazyLoad()},c.prototype.setupInfinite=function(){var a,h,g,f=this;if(f.options.fade===!0&&(f.options.centerMode=!1),f.options.infinite===!0&&f.options.fade===!1&&(h=null,f.slideCount>f.options.slidesToShow)){for(g=f.options.centerMode===!0?f.options.slidesToShow+1:f.options.slidesToShow,a=f.slideCount;a>f.slideCount-g;a-=1){h=a-1,d(f.$slides[h]).clone(!0).attr("id","").attr("data-slick-index",h-f.slideCount).prependTo(f.$slideTrack).addClass("slick-cloned")}for(a=0;g>a;a+=1){h=a,d(f.$slides[h]).clone(!0).attr("id","").attr("data-slick-index",h+f.slideCount).appendTo(f.$slideTrack).addClass("slick-cloned")}f.$slideTrack.find(".slick-cloned").find("[id]").each(function(){d(this).attr("id","")})}},c.prototype.interrupt=function(f){var e=this;f||e.autoPlay(),e.interrupted=f},c.prototype.selectHandler=function(a){var h=this,g=d(a.target).is(".slick-slide")?d(a.target):d(a.target).parents(".slick-slide"),f=parseInt(g.attr("data-slick-index"));return f||(f=0),h.slideCount<=h.options.slidesToShow?(h.setSlideClasses(f),void h.asNavFor(f)):void h.slideHandler(f)},c.prototype.slideHandler=function(t,s,r){var q,p,o,n,m,l=null,k=this;return s=s||!1,k.animating===!0&&k.options.waitForAnimate===!0||k.options.fade===!0&&k.currentSlide===t||k.slideCount<=k.options.slidesToShow?void 0:(s===!1&&k.asNavFor(t),q=t,l=k.getLeft(q),n=k.getLeft(k.currentSlide),k.currentLeft=null===k.swipeLeft?n:k.swipeLeft,k.options.infinite===!1&&k.options.centerMode===!1&&(0>t||t>k.getDotCount()*k.options.slidesToScroll)?void (k.options.fade===!1&&(q=k.currentSlide,r!==!0?k.animateSlide(n,function(){k.postSlide(q)}):k.postSlide(q))):k.options.infinite===!1&&k.options.centerMode===!0&&(0>t||t>k.slideCount-k.options.slidesToScroll)?void (k.options.fade===!1&&(q=k.currentSlide,r!==!0?k.animateSlide(n,function(){k.postSlide(q)}):k.postSlide(q))):(k.options.autoplay&&clearInterval(k.autoPlayTimer),p=0>q?k.slideCount%k.options.slidesToScroll!==0?k.slideCount-k.slideCount%k.options.slidesToScroll:k.slideCount+q:q>=k.slideCount?k.slideCount%k.options.slidesToScroll!==0?0:q-k.slideCount:q,k.animating=!0,k.$slider.trigger("beforeChange",[k,k.currentSlide,p]),o=k.currentSlide,k.currentSlide=p,k.setSlideClasses(k.currentSlide),k.options.asNavFor&&(m=k.getNavTarget(),m=m.slick("getSlick"),m.slideCount<=m.options.slidesToShow&&m.setSlideClasses(k.currentSlide)),k.updateDots(),k.updateArrows(),k.options.fade===!0?(r!==!0?(k.fadeSlideOut(o),k.fadeSlide(p,function(){k.postSlide(p)})):k.postSlide(p),void k.animateHeight()):void (r!==!0?k.animateSlide(l,function(){k.postSlide(p)}):k.postSlide(p))))},c.prototype.startLoad=function(){var b=this;b.options.arrows===!0&&b.slideCount>b.options.slidesToShow&&(b.$prevArrow.hide(),b.$nextArrow.hide()),b.options.dots===!0&&b.slideCount>b.options.slidesToShow&&b.$dots.hide(),b.$slider.addClass("slick-loading")},c.prototype.swipeDirection=function(){var g,f,j,i,h=this;return g=h.touchObject.startX-h.touchObject.curX,f=h.touchObject.startY-h.touchObject.curY,j=Math.atan2(f,g),i=Math.round(180*j/Math.PI),0>i&&(i=360-Math.abs(i)),45>=i&&i>=0?h.options.rtl===!1?"left":"right":360>=i&&i>=315?h.options.rtl===!1?"left":"right":i>=135&&225>=i?h.options.rtl===!1?"right":"left":h.options.verticalSwiping===!0?i>=35&&135>=i?"down":"up":"vertical"},c.prototype.swipeEnd=function(f){var e,h,g=this;if(g.dragging=!1,g.interrupted=!1,g.shouldClick=g.touchObject.swipeLength>10?!1:!0,void 0===g.touchObject.curX){return !1}if(g.touchObject.edgeHit===!0&&g.$slider.trigger("edge",[g,g.swipeDirection()]),g.touchObject.swipeLength>=g.touchObject.minSwipe){switch(h=g.swipeDirection()){case"left":case"down":e=g.options.swipeToSlide?g.checkNavigable(g.currentSlide+g.getSlideCount()):g.currentSlide+g.getSlideCount(),g.currentDirection=0;break;case"right":case"up":e=g.options.swipeToSlide?g.checkNavigable(g.currentSlide-g.getSlideCount()):g.currentSlide-g.getSlideCount(),g.currentDirection=1}"vertical"!=h&&(g.slideHandler(e),g.touchObject={},g.$slider.trigger("swipe",[g,h]))}else{g.touchObject.startX!==g.touchObject.curX&&(g.slideHandler(g.currentSlide),g.touchObject={})}},c.prototype.swipeHandler=function(f){var e=this;if(!(e.options.swipe===!1||"ontouchend" in document&&e.options.swipe===!1||e.options.draggable===!1&&-1!==f.type.indexOf("mouse"))){switch(e.touchObject.fingerCount=f.originalEvent&&void 0!==f.originalEvent.touches?f.originalEvent.touches.length:1,e.touchObject.minSwipe=e.listWidth/e.options.touchThreshold,e.options.verticalSwiping===!0&&(e.touchObject.minSwipe=e.listHeight/e.options.touchThreshold),f.data.action){case"start":e.swipeStart(f);break;case"move":e.swipeMove(f);break;case"end":e.swipeEnd(f)}}},c.prototype.swipeMove=function(i){var h,n,m,l,k,j=this;return k=void 0!==i.originalEvent?i.originalEvent.touches:null,!j.dragging||k&&1!==k.length?!1:(h=j.getLeft(j.currentSlide),j.touchObject.curX=void 0!==k?k[0].pageX:i.clientX,j.touchObject.curY=void 0!==k?k[0].pageY:i.clientY,j.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(j.touchObject.curX-j.touchObject.startX,2))),j.options.verticalSwiping===!0&&(j.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(j.touchObject.curY-j.touchObject.startY,2)))),n=j.swipeDirection(),"vertical"!==n?(void 0!==i.originalEvent&&j.touchObject.swipeLength>4&&i.preventDefault(),l=(j.options.rtl===!1?1:-1)*(j.touchObject.curX>j.touchObject.startX?1:-1),j.options.verticalSwiping===!0&&(l=j.touchObject.curY>j.touchObject.startY?1:-1),m=j.touchObject.swipeLength,j.touchObject.edgeHit=!1,j.options.infinite===!1&&(0===j.currentSlide&&"right"===n||j.currentSlide>=j.getDotCount()&&"left"===n)&&(m=j.touchObject.swipeLength*j.options.edgeFriction,j.touchObject.edgeHit=!0),j.options.vertical===!1?j.swipeLeft=h+m*l:j.swipeLeft=h+m*(j.$list.height()/j.listWidth)*l,j.options.verticalSwiping===!0&&(j.swipeLeft=h+m*l),j.options.fade===!0||j.options.touchMove===!1?!1:j.animating===!0?(j.swipeLeft=null,!1):void j.setCSS(j.swipeLeft)):void 0)},c.prototype.swipeStart=function(f){var e,g=this;return g.interrupted=!0,1!==g.touchObject.fingerCount||g.slideCount<=g.options.slidesToShow?(g.touchObject={},!1):(void 0!==f.originalEvent&&void 0!==f.originalEvent.touches&&(e=f.originalEvent.touches[0]),g.touchObject.startX=g.touchObject.curX=void 0!==e?e.pageX:f.clientX,g.touchObject.startY=g.touchObject.curY=void 0!==e?e.pageY:f.clientY,void (g.dragging=!0))},c.prototype.unfilterSlides=c.prototype.slickUnfilter=function(){var b=this;null!==b.$slidesCache&&(b.unload(),b.$slideTrack.children(this.options.slide).detach(),b.$slidesCache.appendTo(b.$slideTrack),b.reinit())},c.prototype.unload=function(){var a=this;d(".slick-cloned",a.$slider).remove(),a.$dots&&a.$dots.remove(),a.$prevArrow&&a.htmlExpr.test(a.options.prevArrow)&&a.$prevArrow.remove(),a.$nextArrow&&a.htmlExpr.test(a.options.nextArrow)&&a.$nextArrow.remove(),a.$slides.removeClass("slick-slide slick-active slick-visible slick-current").attr("aria-hidden","true").css("width","")},c.prototype.unslick=function(f){var e=this;e.$slider.trigger("unslick",[e,f]),e.destroy()},c.prototype.updateArrows=function(){var f,e=this;f=Math.floor(e.options.slidesToShow/2),e.options.arrows===!0&&e.slideCount>e.options.slidesToShow&&!e.options.infinite&&(e.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false"),e.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false"),0===e.currentSlide?(e.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true"),e.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false")):e.currentSlide>=e.slideCount-e.options.slidesToShow&&e.options.centerMode===!1?(e.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),e.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")):e.currentSlide>=e.slideCount-1&&e.options.centerMode===!0&&(e.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),e.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")))},c.prototype.updateDots=function(){var b=this;null!==b.$dots&&(b.$dots.find("li").removeClass("slick-active").attr("aria-hidden","true"),b.$dots.find("li").eq(Math.floor(b.currentSlide/b.options.slidesToScroll)).addClass("slick-active").attr("aria-hidden","false"))},c.prototype.visibility=function(){var b=this;b.options.autoplay&&(document[b.hidden]?b.interrupted=!0:b.interrupted=!1)},d.fn.slick=function(){var b,l,k=this,j=arguments[0],i=Array.prototype.slice.call(arguments,1),h=k.length;for(b=0;h>b;b++){if("object"==typeof j||"undefined"==typeof j?k[b].slick=new c(k[b],j):l=k[b].slick[j].apply(k[b].slick,i),"undefined"!=typeof l){return l}}return k}}),!function(d){var c={cache:{$document:d(document),$window:d(window)},init:function(){this.bindEvents()},bindEvents:function(){var b=this;this.cache.$document.on("ready",function(){b.initApply(),b.initIndeed(),b.avoidSubmission(),b.initContact(),b.fileUploadButton(),b.initSelectedPackage()})},initApply:function(){var a=d(".application_details, .resume_contact_details"),e=d(".application_button, .resume_contact_button");a.length&&(e.unbind("click"),a.addClass("modal").attr("id","apply-overlay"),e.addClass("popup-trigger").attr("href","#apply-overlay"))},initIndeed:function(){d(".job_listings").on("update_results",function(){d(".indeed_job_listing").addClass("type-job_listing")})},initContact:function(){d(".resume_contact_button").click(function(a){return a.preventDefault(),Jobify.App.popup({items:{src:d(".resume_contact_details")}}),!1})},avoidSubmission:function(){d(".job_filters, .resume_filters").submit(function(b){return !1})},fileUploadButton:function(){var a=d(".listify-file-upload");a.each(function(f){var i=d(this),h=i.next(),g=h.text();i.on("change",function(j){console.log("wat"),console.log(this.files);var e="";e=this.files&&this.files.length>1?(i.data("multiple-caption")||"").replace("%d",this.files.length):j.target.value.split("\\").pop(),e?h.text(e):h.text(g)})})},initSelectedPackage:function(){var a=d("#jobify_selected_package");if(0!=a.length){var h=a.val(),g=d(".job_listing_packages, .resume_listing_packages"),f=d("#job_package_selection, #resume_package_selection");g.find("#package-"+h).attr("checked","checked"),f.submit()}}};c.init()}(jQuery),function(d){var c={cache:{$document:d(document),$window:d(window)},init:function(){this.bindEvents()},bindEvents:function(){var b=this;this.cache.$document.on("ready",function(){b.initApplyWith(),b.initApplications()})},initApplyWith:function(){d(".wp-job-manager-application-details").addClass("modal").on("wp-job-manager-application-details-show",function(a){Jobify.App.popup({items:{src:d(a.delegateTarget)}})})},initApplications:function(){if(d("#apply-overlay.application_details").is(":visible")){var a=d(".job-manager-applications-error").detach();d(".job-manager-application-form fieldset:first-of-type").before(a),Jobify.App.popup({items:{src:d("#apply-overlay.application_details")}})}}};c.init()}(jQuery),function(d){var c={cache:{$document:d(document),$window:d(window)},init:function(){this.bindEvents()},bindEvents:function(){var a=this;this.cache.$document.on("ready",function(){a.initSocialLogin(!1)})},initSocialLogin:function(a){a||(a=d("body"));var h=a.find(d(".woocommerce .wc-social-login"));if(h.length&&!h.hasClass("wc-social-login-link-account")){var g=h.clone(),f=h.parent();h.remove(),f.prepend(g)}}};c.init()}(jQuery),function(){jQuery(function(e){var d,f;return d=function(){var a,g;return e(".company-slider .testimonials-list").slick({autoplay:null!=(a=jobifySettings.widgets)&&null!=(g=a.jobify_widget_companies)?g.autoPlay:void 0,autoplaySpeed:3000,centerMode:!1,infinite:!0,slidesToShow:5,slidesToScroll:1,adaptiveHeight:!0,variableWidth:!0,responsive:[{breakpoint:1200,settings:{slidesToShow:3}},{breakpoint:992,settings:{slidesToShow:2}},{breakpoint:768,settings:{slidesToShow:1}}]})},f=function(){var a,g;return e(".testimonial-slider .testimonials-list").slick({infinite:!1,slidesToShow:null!=(a=jobifySettings.widgets)&&null!=(g=a.jobify_widget_testimonials)?g.slidesToShow:void 0,slidesToScroll:1,adaptiveHeight:!0,responsive:[{breakpoint:992,settings:{slidesToShow:2}},{breakpoint:768,settings:{slidesToShow:1}}]}),e(".testimonial-slider .testimonials-list").slick("setPosition")},d(),f()})}.call(this);var Jobify={};Jobify.App=function(j){function g(){$window=j(window);var a=function(){var f=j("body");if(f.hasClass("fixed-header")){var q=j("#masthead"),i=q.outerHeight(),h=0;if(f.hasClass("admin-bar")&&(h=j("#wpadminbar").outerHeight()),$window.outerWidth()<1200){return f.css("padding-top",0),void q.css("top",0)}q.css("top",h),f.css("padding-top",i)}};a(),$window.resize(function(){a()})}function p(){j(".js-primary-menu-toggle").click(function(c){c.preventDefault(),j(".js-primary-menu-toggle").toggleClass("primary-menu-toggle--opened"),j(".site-primary-navigation").toggleClass("site-primary-navigation--open")});var a=function(){j(".primary-menu-toggle").is(":visible")||j(".site-primary-navigation").removeClass("site-primary-navigation--open")};a(),j(window).resize(function(){a()})}function o(a){var d=0;j.each(a,function(c,e){j.each(e,function(){j(this).outerHeight()>d&&(d=j(this).outerHeight())}),j(e).css("height",d),j(window).width()<992&&j(e).css("height","auto"),d=0})}function n(){var a=[".country_select",".state_select",".feedFormField",".job-manager-category-dropdown[multiple]",".job-manager-multiselect","#search_categories",".search_region",".comment-form-rating #rating",".iti-mobile-select","#job_region"];j("select").each(function(){if(!j(this).parent().hasClass("select")&&!j(this).is(a.join(","))){var b=null;if(j(this).attr("class")){var b=j(this).attr("class").split(" ")[0]}j(this).wrap('<span class="select '+b+'-wrapper"></span>')}})}function m(){var a=[j(".footer-widget"),j(".jobify_widget_jobs_spotlight .single-job-spotlight")];o(a),j(window).resize(function(){o(a)})}function l(){n(),j(document).on("submit",".modal form.login, .modal form.register",function(a){var s=j(this),r=!1,q=j(this).serialize(),i=j(this).find("[type=submit]"),h=q+"&"+i.attr("name")+"="+i.val();j.ajax({url:jobifySettings.homeurl,data:h,type:"POST",cache:!1,async:!1}).done(function(d){s.find(j(".woocommerce-error")).remove();var c=j("#ajax-response"),b=j.parseHTML(d);c.append(b),r=c.find(j(".woocommerce-error")),r.length>0&&(s.prepend(r.clone()),c.html(""),a.preventDefault())})})}function k(){j(".chosen-container").each(function(){j(this).attr("style","width: 100%")})}return{init:function(){g(),p(),n(),m(),l(),j("div.job_listings").on("updated_results",function(){n()}),j(".bookmark-notice").on("click",function(a){a.preventDefault(),j.magnificPopup.open({type:"inline",fixedContentPos:!1,verticalFit:!1,fixedBgPos:!0,overflowY:"scroll",items:{src:'<div class="modal"><h2 class="modal-title">'+j(this).text()+"</h2>"+j(".wp-job-manager-bookmarks-form").prop("outerHTML")+"</div>"}})}),j(window).on("resize",k),k(),j(".search_jobs").each(function(){$gjm_use=j(this).find('input[name="gjm_use"]'),$gjm_use.length&&j(this).addClass("gjm_use")})},popup:function(a){return j.magnificPopup.open(j.extend(a,{type:"inline",fixedContentPos:!1,tClose:jobifySettings.i18n.magnific.tClose,tLoading:jobifySettings.i18n.magnific.tLoading,ajax:{tError:jobifySettings.i18n.magnific.tError},zoom:{enabled:!0}}))},isMobile:function(a){var d=!1,a=1180;return j(window).width()<=a&&(d=!0),d}}}(jQuery),jQuery(document).ready(function(b){Jobify.App.init()});
\ No newline at end of file
/*!
* JavaScript Cookie v2.1.4
* https://github.com/js-cookie/js-cookie
*
* Copyright 2006, 2015 Klaus Hartl & Fagner Brack
* Released under the MIT license
*/
!function(e){var n=!1;if("function"==typeof define&&define.amd&&(define(e),n=!0),"object"==typeof exports&&(module.exports=e(),n=!0),!n){var o=window.Cookies,t=window.Cookies=e();t.noConflict=function(){return window.Cookies=o,t}}}(function(){function e(){for(var e=0,n={};e<arguments.length;e++){var o=arguments[e];for(var t in o)n[t]=o[t]}return n}function n(o){function t(n,r,i){var c;if("undefined"!=typeof document){if(arguments.length>1){if("number"==typeof(i=e({path:"/"},t.defaults,i)).expires){var a=new Date;a.setMilliseconds(a.getMilliseconds()+864e5*i.expires),i.expires=a}i.expires=i.expires?i.expires.toUTCString():"";try{c=JSON.stringify(r),/^[\{\[]/.test(c)&&(r=c)}catch(m){}r=o.write?o.write(r,n):encodeURIComponent(String(r)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),n=(n=(n=encodeURIComponent(String(n))).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent)).replace(/[\(\)]/g,escape);var f="";for(var s in i)i[s]&&(f+="; "+s,!0!==i[s]&&(f+="="+i[s]));return document.cookie=n+"="+r+f}n||(c={});for(var p=document.cookie?document.cookie.split("; "):[],d=/(%[0-9A-Z]{2})+/g,u=0;u<p.length;u++){var l=p[u].split("="),C=l.slice(1).join("=");'"'===C.charAt(0)&&(C=C.slice(1,-1));try{var g=l[0].replace(d,decodeURIComponent);if(C=o.read?o.read(C,g):o(C,g)||C.replace(d,decodeURIComponent),this.json)try{C=JSON.parse(C)}catch(m){}if(n===g){c=C;break}n||(c[g]=C)}catch(m){}}return c}}return t.set=t,t.get=function(e){return t.call(t,e)},t.getJSON=function(){return t.apply({json:!0},[].slice.call(arguments))},t.defaults={},t.remove=function(n,o){t(n,"",e(o,{expires:-1}))},t.withConverter=n,t}return n(function(){})});
\ No newline at end of file
/*!
* jQuery UI Mouse 1.11.4
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*
* http://api.jqueryui.com/mouse/
*/
!function(e){"function"==typeof define&&define.amd?define(["jquery","./widget"],e):e(jQuery)}(function(o){var u=!1;return o(document).mouseup(function(){u=!1}),o.widget("ui.mouse",{version:"1.11.4",options:{cancel:"input,textarea,button,select,option",distance:1,delay:0},_mouseInit:function(){var t=this;this.element.bind("mousedown."+this.widgetName,function(e){return t._mouseDown(e)}).bind("click."+this.widgetName,function(e){if(!0===o.data(e.target,t.widgetName+".preventClickEvent"))return o.removeData(e.target,t.widgetName+".preventClickEvent"),e.stopImmediatePropagation(),!1}),this.started=!1},_mouseDestroy:function(){this.element.unbind("."+this.widgetName),this._mouseMoveDelegate&&this.document.unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(e){if(!u){this._mouseMoved=!1,this._mouseStarted&&this._mouseUp(e),this._mouseDownEvent=e;var t=this,s=1===e.which,i=!("string"!=typeof this.options.cancel||!e.target.nodeName)&&o(e.target).closest(this.options.cancel).length;return!(s&&!i&&this._mouseCapture(e))||(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){t.mouseDelayMet=!0},this.options.delay)),this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=!1!==this._mouseStart(e),!this._mouseStarted)?(e.preventDefault(),!0):(!0===o.data(e.target,this.widgetName+".preventClickEvent")&&o.removeData(e.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(e){return t._mouseMove(e)},this._mouseUpDelegate=function(e){return t._mouseUp(e)},this.document.bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate),e.preventDefault(),u=!0))}},_mouseMove:function(e){if(this._mouseMoved){if(o.ui.ie&&(!document.documentMode||document.documentMode<9)&&!e.button)return this._mouseUp(e);if(!e.which)return this._mouseUp(e)}return(e.which||e.button)&&(this._mouseMoved=!0),this._mouseStarted?(this._mouseDrag(e),e.preventDefault()):(this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=!1!==this._mouseStart(this._mouseDownEvent,e),this._mouseStarted?this._mouseDrag(e):this._mouseUp(e)),!this._mouseStarted)},_mouseUp:function(e){return this.document.unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,e.target===this._mouseDownEvent.target&&o.data(e.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(e)),u=!1},_mouseDistanceMet:function(e){return Math.max(Math.abs(this._mouseDownEvent.pageX-e.pageX),Math.abs(this._mouseDownEvent.pageY-e.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}})});
\ No newline at end of file
/*!
* jQuery UI Slider 1.11.4
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*
* http://api.jqueryui.com/slider/
*/
!function(e){"function"==typeof define&&define.amd?define(["jquery","./core","./mouse","./widget"],e):e(jQuery)}(function(r){return r.widget("ui.slider",r.ui.mouse,{version:"1.11.4",widgetEventPrefix:"slide",options:{animate:!1,distance:0,max:100,min:0,orientation:"horizontal",range:!1,step:1,value:0,values:null,change:null,slide:null,start:null,stop:null},numPages:5,_create:function(){this._keySliding=!1,this._mouseSliding=!1,this._animateOff=!0,this._handleIndex=null,this._detectOrientation(),this._mouseInit(),this._calculateNewMax(),this.element.addClass("ui-slider ui-slider-"+this.orientation+" ui-widget ui-widget-content ui-corner-all"),this._refresh(),this._setOption("disabled",this.options.disabled),this._animateOff=!1},_refresh:function(){this._createRange(),this._createHandles(),this._setupEvents(),this._refreshValue()},_createHandles:function(){var e,t,i=this.options,s=this.element.find(".ui-slider-handle").addClass("ui-state-default ui-corner-all"),a=[];for(t=i.values&&i.values.length||1,s.length>t&&(s.slice(t).remove(),s=s.slice(0,t)),e=s.length;e<t;e++)a.push("<span class='ui-slider-handle ui-state-default ui-corner-all' tabindex='0'></span>");this.handles=s.add(r(a.join("")).appendTo(this.element)),this.handle=this.handles.eq(0),this.handles.each(function(e){r(this).data("ui-slider-handle-index",e)})},_createRange:function(){var e=this.options,t="";e.range?(!0===e.range&&(e.values?e.values.length&&2!==e.values.length?e.values=[e.values[0],e.values[0]]:r.isArray(e.values)&&(e.values=e.values.slice(0)):e.values=[this._valueMin(),this._valueMin()]),this.range&&this.range.length?this.range.removeClass("ui-slider-range-min ui-slider-range-max").css({left:"",bottom:""}):(this.range=r("<div></div>").appendTo(this.element),t="ui-slider-range ui-widget-header ui-corner-all"),this.range.addClass(t+("min"===e.range||"max"===e.range?" ui-slider-range-"+e.range:""))):(this.range&&this.range.remove(),this.range=null)},_setupEvents:function(){this._off(this.handles),this._on(this.handles,this._handleEvents),this._hoverable(this.handles),this._focusable(this.handles)},_destroy:function(){this.handles.remove(),this.range&&this.range.remove(),this.element.removeClass("ui-slider ui-slider-horizontal ui-slider-vertical ui-widget ui-widget-content ui-corner-all"),this._mouseDestroy()},_mouseCapture:function(e){var t,i,s,a,n,h,l,o=this,u=this.options;return!u.disabled&&(this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()},this.elementOffset=this.element.offset(),t={x:e.pageX,y:e.pageY},i=this._normValueFromMouse(t),s=this._valueMax()-this._valueMin()+1,this.handles.each(function(e){var t=Math.abs(i-o.values(e));(t<s||s===t&&(e===o._lastChangedValue||o.values(e)===u.min))&&(s=t,a=r(this),n=e)}),!1!==this._start(e,n)&&(this._mouseSliding=!0,this._handleIndex=n,a.addClass("ui-state-active").focus(),h=a.offset(),l=!r(e.target).parents().addBack().is(".ui-slider-handle"),this._clickOffset=l?{left:0,top:0}:{left:e.pageX-h.left-a.width()/2,top:e.pageY-h.top-a.height()/2-(parseInt(a.css("borderTopWidth"),10)||0)-(parseInt(a.css("borderBottomWidth"),10)||0)+(parseInt(a.css("marginTop"),10)||0)},this.handles.hasClass("ui-state-hover")||this._slide(e,n,i),this._animateOff=!0))},_mouseStart:function(){return!0},_mouseDrag:function(e){var t={x:e.pageX,y:e.pageY},i=this._normValueFromMouse(t);return this._slide(e,this._handleIndex,i),!1},_mouseStop:function(e){return this.handles.removeClass("ui-state-active"),this._mouseSliding=!1,this._stop(e,this._handleIndex),this._change(e,this._handleIndex),this._handleIndex=null,this._clickOffset=null,this._animateOff=!1},_detectOrientation:function(){this.orientation="vertical"===this.options.orientation?"vertical":"horizontal"},_normValueFromMouse:function(e){var t,i,s,a;return 1<(i=("horizontal"===this.orientation?(t=this.elementSize.width,e.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)):(t=this.elementSize.height,e.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)))/t)&&(i=1),i<0&&(i=0),"vertical"===this.orientation&&(i=1-i),s=this._valueMax()-this._valueMin(),a=this._valueMin()+i*s,this._trimAlignValue(a)},_start:function(e,t){var i={handle:this.handles[t],value:this.value()};return this.options.values&&this.options.values.length&&(i.value=this.values(t),i.values=this.values()),this._trigger("start",e,i)},_slide:function(e,t,i){var s,a,n;this.options.values&&this.options.values.length?(s=this.values(t?0:1),2===this.options.values.length&&!0===this.options.range&&(0===t&&s<i||1===t&&i<s)&&(i=s),i!==this.values(t)&&((a=this.values())[t]=i,n=this._trigger("slide",e,{handle:this.handles[t],value:i,values:a}),s=this.values(t?0:1),!1!==n&&this.values(t,i))):i!==this.value()&&!1!==(n=this._trigger("slide",e,{handle:this.handles[t],value:i}))&&this.value(i)},_stop:function(e,t){var i={handle:this.handles[t],value:this.value()};this.options.values&&this.options.values.length&&(i.value=this.values(t),i.values=this.values()),this._trigger("stop",e,i)},_change:function(e,t){if(!this._keySliding&&!this._mouseSliding){var i={handle:this.handles[t],value:this.value()};this.options.values&&this.options.values.length&&(i.value=this.values(t),i.values=this.values()),this._lastChangedValue=t,this._trigger("change",e,i)}},value:function(e){return arguments.length?(this.options.value=this._trimAlignValue(e),this._refreshValue(),void this._change(null,0)):this._value()},values:function(e,t){var i,s,a;if(1<arguments.length)return this.options.values[e]=this._trimAlignValue(t),this._refreshValue(),void this._change(null,e);if(!arguments.length)return this._values();if(!r.isArray(e))return this.options.values&&this.options.values.length?this._values(e):this.value();for(i=this.options.values,s=e,a=0;a<i.length;a+=1)i[a]=this._trimAlignValue(s[a]),this._change(null,a);this._refreshValue()},_setOption:function(e,t){var i,s=0;switch("range"===e&&!0===this.options.range&&("min"===t?(this.options.value=this._values(0),this.options.values=null):"max"===t&&(this.options.value=this._values(this.options.values.length-1),this.options.values=null)),r.isArray(this.options.values)&&(s=this.options.values.length),"disabled"===e&&this.element.toggleClass("ui-state-disabled",!!t),this._super(e,t),e){case"orientation":this._detectOrientation(),this.element.removeClass("ui-slider-horizontal ui-slider-vertical").addClass("ui-slider-"+this.orientation),this._refreshValue(),this.handles.css("horizontal"===t?"bottom":"left","");break;case"value":this._animateOff=!0,this._refreshValue(),this._change(null,0),this._animateOff=!1;break;case"values":for(this._animateOff=!0,this._refreshValue(),i=0;i<s;i+=1)this._change(null,i);this._animateOff=!1;break;case"step":case"min":case"max":this._animateOff=!0,this._calculateNewMax(),this._refreshValue(),this._animateOff=!1;break;case"range":this._animateOff=!0,this._refresh(),this._animateOff=!1}},_value:function(){var e=this.options.value;return e=this._trimAlignValue(e)},_values:function(e){var t,i,s;if(arguments.length)return t=this.options.values[e],t=this._trimAlignValue(t);if(this.options.values&&this.options.values.length){for(i=this.options.values.slice(),s=0;s<i.length;s+=1)i[s]=this._trimAlignValue(i[s]);return i}return[]},_trimAlignValue:function(e){if(e<=this._valueMin())return this._valueMin();if(e>=this._valueMax())return this._valueMax();var t=0<this.options.step?this.options.step:1,i=(e-this._valueMin())%t,s=e-i;return 2*Math.abs(i)>=t&&(s+=0<i?t:-t),parseFloat(s.toFixed(5))},_calculateNewMax:function(){var e=this.options.max,t=this._valueMin(),i=this.options.step;e=Math.floor(+(e-t).toFixed(this._precision())/i)*i+t,this.max=parseFloat(e.toFixed(this._precision()))},_precision:function(){var e=this._precisionOf(this.options.step);return null!==this.options.min&&(e=Math.max(e,this._precisionOf(this.options.min))),e},_precisionOf:function(e){var t=e.toString(),i=t.indexOf(".");return-1===i?0:t.length-i-1},_valueMin:function(){return this.options.min},_valueMax:function(){return this.max},_refreshValue:function(){var t,i,e,s,a,n=this.options.range,h=this.options,l=this,o=!this._animateOff&&h.animate,u={};this.options.values&&this.options.values.length?this.handles.each(function(e){i=(l.values(e)-l._valueMin())/(l._valueMax()-l._valueMin())*100,u["horizontal"===l.orientation?"left":"bottom"]=i+"%",r(this).stop(1,1)[o?"animate":"css"](u,h.animate),!0===l.options.range&&("horizontal"===l.orientation?(0===e&&l.range.stop(1,1)[o?"animate":"css"]({left:i+"%"},h.animate),1===e&&l.range[o?"animate":"css"]({width:i-t+"%"},{queue:!1,duration:h.animate})):(0===e&&l.range.stop(1,1)[o?"animate":"css"]({bottom:i+"%"},h.animate),1===e&&l.range[o?"animate":"css"]({height:i-t+"%"},{queue:!1,duration:h.animate}))),t=i}):(e=this.value(),s=this._valueMin(),a=this._valueMax(),i=a!==s?(e-s)/(a-s)*100:0,u["horizontal"===this.orientation?"left":"bottom"]=i+"%",this.handle.stop(1,1)[o?"animate":"css"](u,h.animate),"min"===n&&"horizontal"===this.orientation&&this.range.stop(1,1)[o?"animate":"css"]({width:i+"%"},h.animate),"max"===n&&"horizontal"===this.orientation&&this.range[o?"animate":"css"]({width:100-i+"%"},{queue:!1,duration:h.animate}),"min"===n&&"vertical"===this.orientation&&this.range.stop(1,1)[o?"animate":"css"]({height:i+"%"},h.animate),"max"===n&&"vertical"===this.orientation&&this.range[o?"animate":"css"]({height:100-i+"%"},{queue:!1,duration:h.animate}))},_handleEvents:{keydown:function(e){var t,i,s,a=r(e.target).data("ui-slider-handle-index");switch(e.keyCode){case r.ui.keyCode.HOME:case r.ui.keyCode.END:case r.ui.keyCode.PAGE_UP:case r.ui.keyCode.PAGE_DOWN:case r.ui.keyCode.UP:case r.ui.keyCode.RIGHT:case r.ui.keyCode.DOWN:case r.ui.keyCode.LEFT:if(e.preventDefault(),!this._keySliding&&(this._keySliding=!0,r(e.target).addClass("ui-state-active"),!1===this._start(e,a)))return}switch(s=this.options.step,t=i=this.options.values&&this.options.values.length?this.values(a):this.value(),e.keyCode){case r.ui.keyCode.HOME:i=this._valueMin();break;case r.ui.keyCode.END:i=this._valueMax();break;case r.ui.keyCode.PAGE_UP:i=this._trimAlignValue(t+(this._valueMax()-this._valueMin())/this.numPages);break;case r.ui.keyCode.PAGE_DOWN:i=this._trimAlignValue(t-(this._valueMax()-this._valueMin())/this.numPages);break;case r.ui.keyCode.UP:case r.ui.keyCode.RIGHT:if(t===this._valueMax())return;i=this._trimAlignValue(t+s);break;case r.ui.keyCode.DOWN:case r.ui.keyCode.LEFT:if(t===this._valueMin())return;i=this._trimAlignValue(t-s)}this._slide(e,a,i)},keyup:function(e){var t=r(e.target).data("ui-slider-handle-index");this._keySliding&&(this._keySliding=!1,this._stop(e,t),this._change(e,t),r(e.target).removeClass("ui-state-active"))}}})});
\ No newline at end of file
(function(){function r(){}var n=this,t=n._,e=Array.prototype,o=Object.prototype,u=Function.prototype,i=e.push,c=e.slice,s=o.toString,a=o.hasOwnProperty,f=Array.isArray,l=Object.keys,p=u.bind,h=Object.create,v=function(n){return n instanceof v?n:this instanceof v?void(this._wrapped=n):new v(n)};"undefined"!=typeof exports?("undefined"!=typeof module&&module.exports&&(exports=module.exports=v),exports._=v):n._=v,v.VERSION="1.8.3";var y=function(u,i,n){if(void 0===i)return u;switch(null==n?3:n){case 1:return function(n){return u.call(i,n)};case 2:return function(n,t){return u.call(i,n,t)};case 3:return function(n,t,r){return u.call(i,n,t,r)};case 4:return function(n,t,r,e){return u.call(i,n,t,r,e)}}return function(){return u.apply(i,arguments)}},d=function(n,t,r){return null==n?v.identity:v.isFunction(n)?y(n,t,r):v.isObject(n)?v.matcher(n):v.property(n)};v.iteratee=function(n,t){return d(n,t,1/0)};function g(c,f){return function(n){var t=arguments.length;if(t<2||null==n)return n;for(var r=1;r<t;r++)for(var e=arguments[r],u=c(e),i=u.length,o=0;o<i;o++){var a=u[o];f&&void 0!==n[a]||(n[a]=e[a])}return n}}function m(n){if(!v.isObject(n))return{};if(h)return h(n);r.prototype=n;var t=new r;return r.prototype=null,t}function b(t){return function(n){return null==n?void 0:n[t]}}var x=Math.pow(2,53)-1,_=b("length"),j=function(n){var t=_(n);return"number"==typeof t&&0<=t&&t<=x};function w(a){return function(n,t,r,e){t=y(t,e,4);var u=!j(n)&&v.keys(n),i=(u||n).length,o=0<a?0:i-1;return arguments.length<3&&(r=n[u?u[o]:o],o+=a),function(n,t,r,e,u,i){for(;0<=u&&u<i;u+=a){var o=e?e[u]:u;r=t(r,n[o],o,n)}return r}(n,t,r,u,o,i)}}v.each=v.forEach=function(n,t,r){var e,u;if(t=y(t,r),j(n))for(e=0,u=n.length;e<u;e++)t(n[e],e,n);else{var i=v.keys(n);for(e=0,u=i.length;e<u;e++)t(n[i[e]],i[e],n)}return n},v.map=v.collect=function(n,t,r){t=d(t,r);for(var e=!j(n)&&v.keys(n),u=(e||n).length,i=Array(u),o=0;o<u;o++){var a=e?e[o]:o;i[o]=t(n[a],a,n)}return i},v.reduce=v.foldl=v.inject=w(1),v.reduceRight=v.foldr=w(-1),v.find=v.detect=function(n,t,r){var e;if(void 0!==(e=j(n)?v.findIndex(n,t,r):v.findKey(n,t,r))&&-1!==e)return n[e]},v.filter=v.select=function(n,e,t){var u=[];return e=d(e,t),v.each(n,function(n,t,r){e(n,t,r)&&u.push(n)}),u},v.reject=function(n,t,r){return v.filter(n,v.negate(d(t)),r)},v.every=v.all=function(n,t,r){t=d(t,r);for(var e=!j(n)&&v.keys(n),u=(e||n).length,i=0;i<u;i++){var o=e?e[i]:i;if(!t(n[o],o,n))return!1}return!0},v.some=v.any=function(n,t,r){t=d(t,r);for(var e=!j(n)&&v.keys(n),u=(e||n).length,i=0;i<u;i++){var o=e?e[i]:i;if(t(n[o],o,n))return!0}return!1},v.contains=v.includes=v.include=function(n,t,r,e){return j(n)||(n=v.values(n)),"number"==typeof r&&!e||(r=0),0<=v.indexOf(n,t,r)},v.invoke=function(n,r){var e=c.call(arguments,2),u=v.isFunction(r);return v.map(n,function(n){var t=u?r:n[r];return null==t?t:t.apply(n,e)})},v.pluck=function(n,t){return v.map(n,v.property(t))},v.where=function(n,t){return v.filter(n,v.matcher(t))},v.findWhere=function(n,t){return v.find(n,v.matcher(t))},v.max=function(n,e,t){var r,u,i=-1/0,o=-1/0;if(null==e&&null!=n)for(var a=0,c=(n=j(n)?n:v.values(n)).length;a<c;a++)r=n[a],i<r&&(i=r);else e=d(e,t),v.each(n,function(n,t,r){u=e(n,t,r),(o<u||u===-1/0&&i===-1/0)&&(i=n,o=u)});return i},v.min=function(n,e,t){var r,u,i=1/0,o=1/0;if(null==e&&null!=n)for(var a=0,c=(n=j(n)?n:v.values(n)).length;a<c;a++)(r=n[a])<i&&(i=r);else e=d(e,t),v.each(n,function(n,t,r){((u=e(n,t,r))<o||u===1/0&&i===1/0)&&(i=n,o=u)});return i},v.shuffle=function(n){for(var t,r=j(n)?n:v.values(n),e=r.length,u=Array(e),i=0;i<e;i++)(t=v.random(0,i))!==i&&(u[i]=u[t]),u[t]=r[i];return u},v.sample=function(n,t,r){return null==t||r?(j(n)||(n=v.values(n)),n[v.random(n.length-1)]):v.shuffle(n).slice(0,Math.max(0,t))},v.sortBy=function(n,e,t){return e=d(e,t),v.pluck(v.map(n,function(n,t,r){return{value:n,index:t,criteria:e(n,t,r)}}).sort(function(n,t){var r=n.criteria,e=t.criteria;if(r!==e){if(e<r||void 0===r)return 1;if(r<e||void 0===e)return-1}return n.index-t.index}),"value")};function A(o){return function(e,u,n){var i={};return u=d(u,n),v.each(e,function(n,t){var r=u(n,t,e);o(i,n,r)}),i}}v.groupBy=A(function(n,t,r){v.has(n,r)?n[r].push(t):n[r]=[t]}),v.indexBy=A(function(n,t,r){n[r]=t}),v.countBy=A(function(n,t,r){v.has(n,r)?n[r]++:n[r]=1}),v.toArray=function(n){return n?v.isArray(n)?c.call(n):j(n)?v.map(n,v.identity):v.values(n):[]},v.size=function(n){return null==n?0:j(n)?n.length:v.keys(n).length},v.partition=function(n,e,t){e=d(e,t);var u=[],i=[];return v.each(n,function(n,t,r){(e(n,t,r)?u:i).push(n)}),[u,i]},v.first=v.head=v.take=function(n,t,r){if(null!=n)return null==t||r?n[0]:v.initial(n,n.length-t)},v.initial=function(n,t,r){return c.call(n,0,Math.max(0,n.length-(null==t||r?1:t)))},v.last=function(n,t,r){if(null!=n)return null==t||r?n[n.length-1]:v.rest(n,Math.max(0,n.length-t))},v.rest=v.tail=v.drop=function(n,t,r){return c.call(n,null==t||r?1:t)},v.compact=function(n){return v.filter(n,v.identity)};var O=function(n,t,r,e){for(var u=[],i=0,o=e||0,a=_(n);o<a;o++){var c=n[o];if(j(c)&&(v.isArray(c)||v.isArguments(c))){t||(c=O(c,t,r));var f=0,l=c.length;for(u.length+=l;f<l;)u[i++]=c[f++]}else r||(u[i++]=c)}return u};function k(i){return function(n,t,r){t=d(t,r);for(var e=_(n),u=0<i?0:e-1;0<=u&&u<e;u+=i)if(t(n[u],u,n))return u;return-1}}function F(i,o,a){return function(n,t,r){var e=0,u=_(n);if("number"==typeof r)0<i?e=0<=r?r:Math.max(r+u,e):u=0<=r?Math.min(r+1,u):r+u+1;else if(a&&r&&u)return n[r=a(n,t)]===t?r:-1;if(t!=t)return 0<=(r=o(c.call(n,e,u),v.isNaN))?r+e:-1;for(r=0<i?e:u-1;0<=r&&r<u;r+=i)if(n[r]===t)return r;return-1}}v.flatten=function(n,t){return O(n,t,!1)},v.without=function(n){return v.difference(n,c.call(arguments,1))},v.uniq=v.unique=function(n,t,r,e){v.isBoolean(t)||(e=r,r=t,t=!1),null!=r&&(r=d(r,e));for(var u=[],i=[],o=0,a=_(n);o<a;o++){var c=n[o],f=r?r(c,o,n):c;t?(o&&i===f||u.push(c),i=f):r?v.contains(i,f)||(i.push(f),u.push(c)):v.contains(u,c)||u.push(c)}return u},v.union=function(){return v.uniq(O(arguments,!0,!0))},v.intersection=function(n){for(var t=[],r=arguments.length,e=0,u=_(n);e<u;e++){var i=n[e];if(!v.contains(t,i)){for(var o=1;o<r&&v.contains(arguments[o],i);o++);o===r&&t.push(i)}}return t},v.difference=function(n){var t=O(arguments,!0,!0,1);return v.filter(n,function(n){return!v.contains(t,n)})},v.zip=function(){return v.unzip(arguments)},v.unzip=function(n){for(var t=n&&v.max(n,_).length||0,r=Array(t),e=0;e<t;e++)r[e]=v.pluck(n,e);return r},v.object=function(n,t){for(var r={},e=0,u=_(n);e<u;e++)t?r[n[e]]=t[e]:r[n[e][0]]=n[e][1];return r},v.findIndex=k(1),v.findLastIndex=k(-1),v.sortedIndex=function(n,t,r,e){for(var u=(r=d(r,e,1))(t),i=0,o=_(n);i<o;){var a=Math.floor((i+o)/2);r(n[a])<u?i=a+1:o=a}return i},v.indexOf=F(1,v.findIndex,v.sortedIndex),v.lastIndexOf=F(-1,v.findLastIndex),v.range=function(n,t,r){null==t&&(t=n||0,n=0),r=r||1;for(var e=Math.max(Math.ceil((t-n)/r),0),u=Array(e),i=0;i<e;i++,n+=r)u[i]=n;return u};function S(n,t,r,e,u){if(!(e instanceof t))return n.apply(r,u);var i=m(n.prototype),o=n.apply(i,u);return v.isObject(o)?o:i}v.bind=function(n,t){if(p&&n.bind===p)return p.apply(n,c.call(arguments,1));if(!v.isFunction(n))throw new TypeError("Bind must be called on a function");var r=c.call(arguments,2),e=function(){return S(n,e,t,this,r.concat(c.call(arguments)))};return e},v.partial=function(u){var i=c.call(arguments,1),o=function(){for(var n=0,t=i.length,r=Array(t),e=0;e<t;e++)r[e]=i[e]===v?arguments[n++]:i[e];for(;n<arguments.length;)r.push(arguments[n++]);return S(u,o,this,this,r)};return o},v.bindAll=function(n){var t,r,e=arguments.length;if(e<=1)throw new Error("bindAll must be passed function names");for(t=1;t<e;t++)n[r=arguments[t]]=v.bind(n[r],n);return n},v.memoize=function(e,u){var i=function(n){var t=i.cache,r=""+(u?u.apply(this,arguments):n);return v.has(t,r)||(t[r]=e.apply(this,arguments)),t[r]};return i.cache={},i},v.delay=function(n,t){var r=c.call(arguments,2);return setTimeout(function(){return n.apply(null,r)},t)},v.defer=v.partial(v.delay,v,1),v.throttle=function(r,e,u){var i,o,a,c=null,f=0;u=u||{};function l(){f=!1===u.leading?0:v.now(),c=null,a=r.apply(i,o),c||(i=o=null)}return function(){var n=v.now();f||!1!==u.leading||(f=n);var t=e-(n-f);return i=this,o=arguments,t<=0||e<t?(c&&(clearTimeout(c),c=null),f=n,a=r.apply(i,o),c||(i=o=null)):c||!1===u.trailing||(c=setTimeout(l,t)),a}},v.debounce=function(t,r,e){var u,i,o,a,c,f=function(){var n=v.now()-a;n<r&&0<=n?u=setTimeout(f,r-n):(u=null,e||(c=t.apply(o,i),u||(o=i=null)))};return function(){o=this,i=arguments,a=v.now();var n=e&&!u;return u=u||setTimeout(f,r),n&&(c=t.apply(o,i),o=i=null),c}},v.wrap=function(n,t){return v.partial(t,n)},v.negate=function(n){return function(){return!n.apply(this,arguments)}},v.compose=function(){var r=arguments,e=r.length-1;return function(){for(var n=e,t=r[e].apply(this,arguments);n--;)t=r[n].call(this,t);return t}},v.after=function(n,t){return function(){if(--n<1)return t.apply(this,arguments)}},v.before=function(n,t){var r;return function(){return 0<--n&&(r=t.apply(this,arguments)),n<=1&&(t=null),r}},v.once=v.partial(v.before,2);var E=!{toString:null}.propertyIsEnumerable("toString"),M=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"];function I(n,t){var r=M.length,e=n.constructor,u=v.isFunction(e)&&e.prototype||o,i="constructor";for(v.has(n,i)&&!v.contains(t,i)&&t.push(i);r--;)(i=M[r])in n&&n[i]!==u[i]&&!v.contains(t,i)&&t.push(i)}v.keys=function(n){if(!v.isObject(n))return[];if(l)return l(n);var t=[];for(var r in n)v.has(n,r)&&t.push(r);return E&&I(n,t),t},v.allKeys=function(n){if(!v.isObject(n))return[];var t=[];for(var r in n)t.push(r);return E&&I(n,t),t},v.values=function(n){for(var t=v.keys(n),r=t.length,e=Array(r),u=0;u<r;u++)e[u]=n[t[u]];return e},v.mapObject=function(n,t,r){t=d(t,r);for(var e,u=v.keys(n),i=u.length,o={},a=0;a<i;a++)o[e=u[a]]=t(n[e],e,n);return o},v.pairs=function(n){for(var t=v.keys(n),r=t.length,e=Array(r),u=0;u<r;u++)e[u]=[t[u],n[t[u]]];return e},v.invert=function(n){for(var t={},r=v.keys(n),e=0,u=r.length;e<u;e++)t[n[r[e]]]=r[e];return t},v.functions=v.methods=function(n){var t=[];for(var r in n)v.isFunction(n[r])&&t.push(r);return t.sort()},v.extend=g(v.allKeys),v.extendOwn=v.assign=g(v.keys),v.findKey=function(n,t,r){t=d(t,r);for(var e,u=v.keys(n),i=0,o=u.length;i<o;i++)if(t(n[e=u[i]],e,n))return e},v.pick=function(n,t,r){var e,u,i={},o=n;if(null==o)return i;v.isFunction(t)?(u=v.allKeys(o),e=y(t,r)):(u=O(arguments,!1,!1,1),e=function(n,t,r){return t in r},o=Object(o));for(var a=0,c=u.length;a<c;a++){var f=u[a],l=o[f];e(l,f,o)&&(i[f]=l)}return i},v.omit=function(n,t,r){if(v.isFunction(t))t=v.negate(t);else{var e=v.map(O(arguments,!1,!1,1),String);t=function(n,t){return!v.contains(e,t)}}return v.pick(n,t,r)},v.defaults=g(v.allKeys,!0),v.create=function(n,t){var r=m(n);return t&&v.extendOwn(r,t),r},v.clone=function(n){return v.isObject(n)?v.isArray(n)?n.slice():v.extend({},n):n},v.tap=function(n,t){return t(n),n},v.isMatch=function(n,t){var r=v.keys(t),e=r.length;if(null==n)return!e;for(var u=Object(n),i=0;i<e;i++){var o=r[i];if(t[o]!==u[o]||!(o in u))return!1}return!0};var N=function(n,t,r,e){if(n===t)return 0!==n||1/n==1/t;if(null==n||null==t)return n===t;n instanceof v&&(n=n._wrapped),t instanceof v&&(t=t._wrapped);var u=s.call(n);if(u!==s.call(t))return!1;switch(u){case"[object RegExp]":case"[object String]":return""+n==""+t;case"[object Number]":return+n!=+n?+t!=+t:0==+n?1/+n==1/t:+n==+t;case"[object Date]":case"[object Boolean]":return+n==+t}var i="[object Array]"===u;if(!i){if("object"!=typeof n||"object"!=typeof t)return!1;var o=n.constructor,a=t.constructor;if(o!==a&&!(v.isFunction(o)&&o instanceof o&&v.isFunction(a)&&a instanceof a)&&"constructor"in n&&"constructor"in t)return!1}e=e||[];for(var c=(r=r||[]).length;c--;)if(r[c]===n)return e[c]===t;if(r.push(n),e.push(t),i){if((c=n.length)!==t.length)return!1;for(;c--;)if(!N(n[c],t[c],r,e))return!1}else{var f,l=v.keys(n);if(c=l.length,v.keys(t).length!==c)return!1;for(;c--;)if(f=l[c],!v.has(t,f)||!N(n[f],t[f],r,e))return!1}return r.pop(),e.pop(),!0};v.isEqual=function(n,t){return N(n,t)},v.isEmpty=function(n){return null==n||(j(n)&&(v.isArray(n)||v.isString(n)||v.isArguments(n))?0===n.length:0===v.keys(n).length)},v.isElement=function(n){return!(!n||1!==n.nodeType)},v.isArray=f||function(n){return"[object Array]"===s.call(n)},v.isObject=function(n){var t=typeof n;return"function"==t||"object"==t&&!!n},v.each(["Arguments","Function","String","Number","Date","RegExp","Error"],function(t){v["is"+t]=function(n){return s.call(n)==="[object "+t+"]"}}),v.isArguments(arguments)||(v.isArguments=function(n){return v.has(n,"callee")}),"function"!=typeof/./&&"object"!=typeof Int8Array&&(v.isFunction=function(n){return"function"==typeof n||!1}),v.isFinite=function(n){return isFinite(n)&&!isNaN(parseFloat(n))},v.isNaN=function(n){return v.isNumber(n)&&n!==+n},v.isBoolean=function(n){return!0===n||!1===n||"[object Boolean]"===s.call(n)},v.isNull=function(n){return null===n},v.isUndefined=function(n){return void 0===n},v.has=function(n,t){return null!=n&&a.call(n,t)},v.noConflict=function(){return n._=t,this},v.identity=function(n){return n},v.constant=function(n){return function(){return n}},v.noop=function(){},v.property=b,v.propertyOf=function(t){return null==t?function(){}:function(n){return t[n]}},v.matcher=v.matches=function(t){return t=v.extendOwn({},t),function(n){return v.isMatch(n,t)}},v.times=function(n,t,r){var e=Array(Math.max(0,n));t=y(t,r,1);for(var u=0;u<n;u++)e[u]=t(u);return e},v.random=function(n,t){return null==t&&(t=n,n=0),n+Math.floor(Math.random()*(t-n+1))},v.now=Date.now||function(){return(new Date).getTime()};function B(t){function r(n){return t[n]}var n="(?:"+v.keys(t).join("|")+")",e=RegExp(n),u=RegExp(n,"g");return function(n){return n=null==n?"":""+n,e.test(n)?n.replace(u,r):n}}var T={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},R=v.invert(T);v.escape=B(T),v.unescape=B(R),v.result=function(n,t,r){var e=null==n?void 0:n[t];return void 0===e&&(e=r),v.isFunction(e)?e.call(n):e};var q=0;v.uniqueId=function(n){var t=++q+"";return n?n+t:t},v.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};function K(n){return"\\"+D[n]}var z=/(.)^/,D={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},L=/\\|'|\r|\n|\u2028|\u2029/g;v.template=function(i,n,t){!n&&t&&(n=t),n=v.defaults({},n,v.templateSettings);var r=RegExp([(n.escape||z).source,(n.interpolate||z).source,(n.evaluate||z).source].join("|")+"|$","g"),o=0,a="__p+='";i.replace(r,function(n,t,r,e,u){return a+=i.slice(o,u).replace(L,K),o=u+n.length,t?a+="'+\n((__t=("+t+"))==null?'':_.escape(__t))+\n'":r?a+="'+\n((__t=("+r+"))==null?'':__t)+\n'":e&&(a+="';\n"+e+"\n__p+='"),n}),a+="';\n",n.variable||(a="with(obj||{}){\n"+a+"}\n"),a="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+a+"return __p;\n";try{var e=new Function(n.variable||"obj","_",a)}catch(n){throw n.source=a,n}function u(n){return e.call(this,n,v)}var c=n.variable||"obj";return u.source="function("+c+"){\n"+a+"}",u},v.chain=function(n){var t=v(n);return t._chain=!0,t};function P(n,t){return n._chain?v(t).chain():t}v.mixin=function(r){v.each(v.functions(r),function(n){var t=v[n]=r[n];v.prototype[n]=function(){var n=[this._wrapped];return i.apply(n,arguments),P(this,t.apply(v,n))}})},v.mixin(v),v.each(["pop","push","reverse","shift","sort","splice","unshift"],function(t){var r=e[t];v.prototype[t]=function(){var n=this._wrapped;return r.apply(n,arguments),"shift"!==t&&"splice"!==t||0!==n.length||delete n[0],P(this,n)}}),v.each(["concat","join","slice"],function(n){var t=e[n];v.prototype[n]=function(){return P(this,t.apply(this._wrapped,arguments))}}),v.prototype.value=function(){return this._wrapped},v.prototype.valueOf=v.prototype.toJSON=v.prototype.value,v.prototype.toString=function(){return""+this._wrapped},"function"==typeof define&&define.amd&&define("underscore",[],function(){return v})}).call(this);
\ No newline at end of file
/*!
* jQuery UI Widget 1.11.4
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*
* http://api.jqueryui.com/jQuery.widget/
*/
!function(t){"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)}(function(h){var s,i=0,a=Array.prototype.slice;return h.cleanData=(s=h.cleanData,function(t){var e,i,n;for(n=0;null!=(i=t[n]);n++)try{(e=h._data(i,"events"))&&e.remove&&h(i).triggerHandler("remove")}catch(t){}s(t)}),h.widget=function(t,i,e){var n,s,o,r,a={},u=t.split(".")[0];return t=t.split(".")[1],n=u+"-"+t,e||(e=i,i=h.Widget),h.expr[":"][n.toLowerCase()]=function(t){return!!h.data(t,n)},h[u]=h[u]||{},s=h[u][t],o=h[u][t]=function(t,e){if(!this._createWidget)return new o(t,e);arguments.length&&this._createWidget(t,e)},h.extend(o,s,{version:e.version,_proto:h.extend({},e),_childConstructors:[]}),(r=new i).options=h.widget.extend({},r.options),h.each(e,function(e,n){function s(){return i.prototype[e].apply(this,arguments)}function o(t){return i.prototype[e].apply(this,t)}h.isFunction(n)?a[e]=function(){var t,e=this._super,i=this._superApply;return this._super=s,this._superApply=o,t=n.apply(this,arguments),this._super=e,this._superApply=i,t}:a[e]=n}),o.prototype=h.widget.extend(r,{widgetEventPrefix:s&&r.widgetEventPrefix||t},a,{constructor:o,namespace:u,widgetName:t,widgetFullName:n}),s?(h.each(s._childConstructors,function(t,e){var i=e.prototype;h.widget(i.namespace+"."+i.widgetName,o,e._proto)}),delete s._childConstructors):i._childConstructors.push(o),h.widget.bridge(t,o),o},h.widget.extend=function(t){for(var e,i,n=a.call(arguments,1),s=0,o=n.length;s<o;s++)for(e in n[s])i=n[s][e],n[s].hasOwnProperty(e)&&void 0!==i&&(h.isPlainObject(i)?t[e]=h.isPlainObject(t[e])?h.widget.extend({},t[e],i):h.widget.extend({},i):t[e]=i);return t},h.widget.bridge=function(o,e){var r=e.prototype.widgetFullName||o;h.fn[o]=function(i){var t="string"==typeof i,n=a.call(arguments,1),s=this;return t?this.each(function(){var t,e=h.data(this,r);return"instance"===i?(s=e,!1):e?h.isFunction(e[i])&&"_"!==i.charAt(0)?(t=e[i].apply(e,n))!==e&&void 0!==t?(s=t&&t.jquery?s.pushStack(t.get()):t,!1):void 0:h.error("no such method '"+i+"' for "+o+" widget instance"):h.error("cannot call methods on "+o+" prior to initialization; attempted to call method '"+i+"'")}):(n.length&&(i=h.widget.extend.apply(null,[i].concat(n))),this.each(function(){var t=h.data(this,r);t?(t.option(i||{}),t._init&&t._init()):h.data(this,r,new e(i,this))})),s}},h.Widget=function(){},h.Widget._childConstructors=[],h.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{disabled:!1,create:null},_createWidget:function(t,e){e=h(e||this.defaultElement||this)[0],this.element=h(e),this.uuid=i++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=h(),this.hoverable=h(),this.focusable=h(),e!==this&&(h.data(e,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===e&&this.destroy()}}),this.document=h(e.style?e.ownerDocument:e.document||e),this.window=h(this.document[0].defaultView||this.document[0].parentWindow)),this.options=h.widget.extend({},this.options,this._getCreateOptions(),t),this._create(),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:h.noop,_getCreateEventData:h.noop,_create:h.noop,_init:h.noop,destroy:function(){this._destroy(),this.element.unbind(this.eventNamespace).removeData(this.widgetFullName).removeData(h.camelCase(this.widgetFullName)),this.widget().unbind(this.eventNamespace).removeAttr("aria-disabled").removeClass(this.widgetFullName+"-disabled ui-state-disabled"),this.bindings.unbind(this.eventNamespace),this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus")},_destroy:h.noop,widget:function(){return this.element},option:function(t,e){var i,n,s,o=t;if(0===arguments.length)return h.widget.extend({},this.options);if("string"==typeof t)if(o={},t=(i=t.split(".")).shift(),i.length){for(n=o[t]=h.widget.extend({},this.options[t]),s=0;s<i.length-1;s++)n[i[s]]=n[i[s]]||{},n=n[i[s]];if(t=i.pop(),1===arguments.length)return void 0===n[t]?null:n[t];n[t]=e}else{if(1===arguments.length)return void 0===this.options[t]?null:this.options[t];o[t]=e}return this._setOptions(o),this},_setOptions:function(t){var e;for(e in t)this._setOption(e,t[e]);return this},_setOption:function(t,e){return this.options[t]=e,"disabled"===t&&(this.widget().toggleClass(this.widgetFullName+"-disabled",!!e),e&&(this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus"))),this},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_on:function(r,a,t){var u,d=this;"boolean"!=typeof r&&(t=a,a=r,r=!1),t?(a=u=h(a),this.bindings=this.bindings.add(a)):(t=a,a=this.element,u=this.widget()),h.each(t,function(t,e){function i(){if(r||!0!==d.options.disabled&&!h(this).hasClass("ui-state-disabled"))return("string"==typeof e?d[e]:e).apply(d,arguments)}"string"!=typeof e&&(i.guid=e.guid=e.guid||i.guid||h.guid++);var n=t.match(/^([\w:-]*)\s*(.*)$/),s=n[1]+d.eventNamespace,o=n[2];o?u.delegate(o,s,i):a.bind(s,i)})},_off:function(t,e){e=(e||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,t.unbind(e).undelegate(e),this.bindings=h(this.bindings.not(t).get()),this.focusable=h(this.focusable.not(t).get()),this.hoverable=h(this.hoverable.not(t).get())},_delay:function(t,e){var i=this;return setTimeout(function(){return("string"==typeof t?i[t]:t).apply(i,arguments)},e||0)},_hoverable:function(t){this.hoverable=this.hoverable.add(t),this._on(t,{mouseenter:function(t){h(t.currentTarget).addClass("ui-state-hover")},mouseleave:function(t){h(t.currentTarget).removeClass("ui-state-hover")}})},_focusable:function(t){this.focusable=this.focusable.add(t),this._on(t,{focusin:function(t){h(t.currentTarget).addClass("ui-state-focus")},focusout:function(t){h(t.currentTarget).removeClass("ui-state-focus")}})},_trigger:function(t,e,i){var n,s,o=this.options[t];if(i=i||{},(e=h.Event(e)).type=(t===this.widgetEventPrefix?t:this.widgetEventPrefix+t).toLowerCase(),e.target=this.element[0],s=e.originalEvent)for(n in s)n in e||(e[n]=s[n]);return this.element.trigger(e,i),!(h.isFunction(o)&&!1===o.apply(this.element[0],[e].concat(i))||e.isDefaultPrevented())}},h.each({show:"fadeIn",hide:"fadeOut"},function(o,r){h.Widget.prototype["_"+o]=function(e,t,i){"string"==typeof t&&(t={effect:t});var n,s=t?!0===t||"number"==typeof t?r:t.effect||r:o;"number"==typeof(t=t||{})&&(t={duration:t}),n=!h.isEmptyObject(t),t.complete=i,t.delay&&e.delay(t.delay),n&&h.effects&&h.effects.effect[s]?e[o](t):s!==o&&e[s]?e[s](t.duration,t.easing,i):e.queue(function(t){h(this)[o](),i&&i.call(e[0]),t()})}}),h.widget});
\ No newline at end of file
window.wp=window.wp||{},function(i){var e="undefined"==typeof _wpUtilSettings?{}:_wpUtilSettings;wp.template=_.memoize(function(t){var n,s={evaluate:/<#([\s\S]+?)#>/g,interpolate:/\{\{\{([\s\S]+?)\}\}\}/g,escape:/\{\{([^\}]+?)\}\}(?!\})/g,variable:"data"};return function(e){return(n=n||_.template(i("#tmpl-"+t).html(),s))(e)}}),wp.ajax={settings:e.ajax||{},post:function(e,t){return wp.ajax.send({data:_.isObject(e)?e:_.extend(t||{},{action:e})})},send:function(e,n){var t,s;return _.isObject(e)?n=e:(n=n||{}).data=_.extend(n.data||{},{action:e}),n=_.defaults(n||{},{type:"POST",url:wp.ajax.settings.url,context:this}),(t=(s=i.Deferred(function(t){n.success&&t.done(n.success),n.error&&t.fail(n.error),delete n.success,delete n.error,t.jqXHR=i.ajax(n).done(function(e){"1"!==e&&1!==e||(e={success:!0}),_.isObject(e)&&!_.isUndefined(e.success)?t[e.success?"resolveWith":"rejectWith"](this,[e.data]):t.rejectWith(this,[e])}).fail(function(){t.rejectWith(this,arguments)})})).promise()).abort=function(){return s.jqXHR.abort(),this},t}}}(jQuery);
\ No newline at end of file
<% set_meta_tags title: "VenJob - Cities",
description: "VenJob - Cities",
keywords: "VenJob - Cities" %>
<header class="page-header">
<h2 class="page-title">Cities</h2>
</header>
<div id="primary" class="content-area container" role="main">
<article id="post-2064" class="post-2064 page type-page status-publish hentry">
<div class="entry-content">
<ul class="companies-overview">
<% @cities.each do |city| %>
<li class="company-group">
<%= link_to jobs_with_city_path(city_id: city.id) do %>
<%= city.title %> (<%= city.jobs.count %>)
<% end %>
</li>
<% end %>
</ul>
</div>
</article>
</div>
\ No newline at end of file
- set_meta_tags title: "VenJob - Cities",
description: "VenJob - Cities",
keywords: "VenJob - Cities"
header.page-header
h2.page-title
| Cities
#primary.content-area.container[role="main"]
article#post-2064.post-2064.page.type-page.status-publish.hentry
.entry-content
ul.companies-overview
- @cities.each do |city|
li.company-group
= link_to jobs_with_city_path(city_id: city.id) do
= city.title
| (
= city.jobs.count
| )
\ No newline at end of file
<% set_meta_tags title: "VenJob - Resend confirmation instructions",
description: "VenJob - Resend confirmation instructions",
keywords: "VenJob - Resend confirmation instructions" %>
<header class="page-header">
<h2 class="page-title">Resend confirmation instructions</h2>
</header>
<div id="primary" class="content-area container" role="main">
<article id="post-1673" class="post-1673 page type-page status-publish hentry">
<div class="entry-content">
<div class="registration-form woocommerce">
<%= form_for(resource, as: resource_name, url: user_confirmation_path(resource_name), html: { method: :post }) do |f| %>
<%= render "devise/shared/error_messages", resource: resource %>
<p class="field">
<%= f.label :email %><br />
<%= f.email_field :email, autofocus: true, autocomplete: "email", value: (resource.pending_reconfirmation? ? resource.unconfirmed_email : resource.email) %>
</p>
<p class="actions">
<%= f.submit "Resend confirmation instructions" %>
</p>
<% end %>
<%= render "devise/shared/links" %>
</div>
</div>
</div>
</div>
- set_meta_tags title: "VenJob - Resend confirmation instructions",
description: "VenJob - Resend confirmation instructions",
keywords: "VenJob - Resend confirmation instructions"
header.page-header
h2.page-title
| Resend confirmation instructions
#primary.content-area.container[role="main"]
article#post-1673.post-1673.page.type-page.status-publish.hentry
.entry-content
.registration-form.woocommerce
= form_for(resource, as: resource_name, url: user_confirmation_path(resource_name), html: { method: :post }) do |f|
= render "devise/shared/error_messages", resource: resource
p.field
= f.label :email
br
= f.email_field :email, autofocus: true, autocomplete: "email", value: (resource.pending_reconfirmation? ? resource.unconfirmed_email : resource.email)
p.actions
= f.submit "Resend confirmation instructions"
= render "devise/shared/links"
\ No newline at end of file
<p>Welcome <%= @email %>!</p>
<p>You can confirm your account email through the link below:</p>
<p><%= link_to 'Confirm my account', user_confirmation_url(confirmation_token: @token) %></p>
p
| Welcome
= @email
| !
p
| You can confirm your account email through the link below:
p
= link_to 'Confirm my account', user_confirmation_url(confirmation_token: @token)
\ No newline at end of file
<p>Hello <%= @email %>!</p>
<% if @resource.try(:unconfirmed_email?) %>
<p>We're contacting you to notify you that your email is being changed to <%= @resource.unconfirmed_email %>.</p>
<% else %>
<p>We're contacting you to notify you that your email has been changed to <%= @resource.email %>.</p>
<% end %>
p
| Hello
= @email
| !
- if @resource.try(:unconfirmed_email?)
p
| We're contacting you to notify you that your email is being changed to
= @resource.unconfirmed_email
| .
- else
p
| We're contacting you to notify you that your email has been changed to
= @resource.email
| .
\ No newline at end of file
<p>Hello <%= @resource.email %>!</p>
<p>We're contacting you to notify you that your password has been changed.</p>
p
| Hello
= @resource.email
| !
p
| We're contacting you to notify you that your password has been changed.
\ No newline at end of file
<p>Hello <%= @resource.email %>!</p>
<p>Someone has requested a link to change your password. You can do this through the link below.</p>
<p><%= link_to 'Change my password', edit_password_url(@resource, reset_password_token: @token) %></p>
<p>If you didn't request this, please ignore this email.</p>
<p>Your password won't change until you access the link above and create a new one.</p>
p
| Hello
= @resource.email
| !
p
| Someone has requested a link to change your password. You can do this through the link below.
p
= link_to 'Change my password', edit_password_url(@resource, reset_password_token: @token)
p
| If you didn't request this, please ignore this email.
p
| Your password won't change until you access the link above and create a new one.
\ No newline at end of file
<p>Hello <%= @resource.email %>!</p>
<p>Your account has been locked due to an excessive number of unsuccessful sign in attempts.</p>
<p>Click the link below to unlock your account:</p>
<p><%= link_to 'Unlock my account', unlock_url(@resource, unlock_token: @token) %></p>
p
| Hello
= @resource.email
| !
p
| Your account has been locked due to an excessive number of unsuccessful sign in attempts.
p
| Click the link below to unlock your account:
p
= link_to 'Unlock my account', unlock_url(@resource, unlock_token: @token)
\ No newline at end of file
<h2>Change your password</h2>
<%= form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :put }) do |f| %>
<%= render "devise/shared/error_messages", resource: resource %>
<%= f.hidden_field :reset_password_token %>
<div class="field">
<%= f.label :password, "New password" %><br />
<% if @minimum_password_length %>
<em>(<%= @minimum_password_length %> characters minimum)</em><br />
<% end %>
<%= f.password_field :password, autofocus: true, autocomplete: "new-password" %>
</div>
<div class="field">
<%= f.label :password_confirmation, "Confirm new password" %><br />
<%= f.password_field :password_confirmation, autocomplete: "new-password" %>
</div>
<div class="actions">
<%= f.submit "Change my password" %>
</div>
<% end %>
<%= render "devise/shared/links" %>
h2
| Change your password
= form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :put }) do |f|
= render "devise/shared/error_messages", resource: resource
= f.hidden_field :reset_password_token
.field
= f.label :password, "New password"
br
- if @minimum_password_length
em
| (
= @minimum_password_length
| characters minimum)
br
= f.password_field :password, autofocus: true, autocomplete: "new-password"
.field
= f.label :password_confirmation, "Confirm new password"
br
= f.password_field :password_confirmation, autocomplete: "new-password"
.actions
= f.submit "Change my password"
= render "devise/shared/links"
\ No newline at end of file
<% content_for :title, "VenJob - Forgot your password" %>
<header class="page-header">
<h2 class="page-title">Forgot your password</h2>
</header>
<div id="primary" class="content-area container" role="main">
<article id="post-1673" class="post-1673 page type-page status-publish hentry">
<div class="entry-content">
<div class="registration-form woocommerce">
<%= form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :post }) do |f| %>
<%= render "devise/shared/error_messages", resource: resource %>
<p class="field">
<%= f.label :email %><br />
<%= f.email_field :email, autofocus: true, autocomplete: "email", placeholder: "Email" %>
</p>
<p class="actions">
<%= f.submit "Send me reset password instructions", class: "button" %>
</p>
<% end %>
<p>
<%= render "devise/shared/links" %>
</p>
</div>
</div>
</article>
</div>
\ No newline at end of file
- set_meta_tags title: "VenJob - Forgot your password",
description: "VenJob - Forgot your password",
keywords: "VenJob - Forgot your password"
header.page-header
h2.page-title
| Forgot your password
#primary.content-area.container[role="main"]
article#post-1673.post-1673.page.type-page.status-publish.hentry
.entry-content
.registration-form.woocommerce
= form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :post }) do |f|
= render "devise/shared/error_messages", resource: resource
p.field
= f.label :email
br
= f.email_field :email, autofocus: true, autocomplete: "email", placeholder: "Email"
p.actions
= f.submit "Send me reset password instructions", class: "button"
p
= render "devise/shared/links"
\ No newline at end of file
<% set_meta_tags title: "VenJob - Sign Up",
description: "VenJob - Sign Up",
keywords: "VenJob - Sign Up" %>
<header class="page-header">
<h2 class="page-title">Sign Up</h2>
</header>
<div id="primary" class="content-area container" role="main">
<article id="post-1673" class="post-1673 page type-page status-publish hentry">
<div class="entry-content">
<div class="registration-form woocommerce">
<%= form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %>
<%= render "devise/shared/error_messages", resource: resource %>
<p class="field">
<%= f.label :full_name %><br />
<%= f.text_field :full_name, autofocus: true, autocomplete: "full_name" %>
</p>
<p class="field">
<%= f.label :email %><br />
<%= f.email_field :email, autocomplete: "email" %>
</p>
<p class="field">
<%= f.label :password %>
<% if @minimum_password_length %>
<em>(<%= @minimum_password_length %> characters minimum)</em>
<% end %><br />
<%= f.password_field :password, autocomplete: "new-password" %>
</p>
<p class="field">
<%= f.label :password_confirmation %><br />
<%= f.password_field :password_confirmation, autocomplete: "new-password" %>
</p>
<p class="actions">
<%= f.submit "Sign up", class: "button" %>
<%= link_to "Sign in with Facebook", user_facebook_omniauth_authorize_path, class: "button" %>
</p>
<% end %>
<p>
Do you have account? <%= render "devise/shared/links" %>
</p>
</div>
</div>
</article>
</div>
\ No newline at end of file
- set_meta_tags title: "VenJob - Sign Up",
description: "VenJob - Sign Up",
keywords: "VenJob - Sign Up"
header.page-header
h2.page-title
| Sign Up
#primary.content-area.container[role="main"]
article#post-1673.post-1673.page.type-page.status-publish.hentry
.entry-content
.registration-form.woocommerce
= form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f|
= render "devise/shared/error_messages", resource: resource
p.field
= f.label :full_name
br
= f.text_field :full_name, autofocus: true, autocomplete: "full_name"
p.field
= f.label :email
br
= f.email_field :email, autocomplete: "email"
p.field
= f.label :password
- if @minimum_password_length
em
| (
= @minimum_password_length
| characters minimum)
br
= f.password_field :password, autocomplete: "new-password"
p.field
= f.label :password_confirmation
br
= f.password_field :password_confirmation, autocomplete: "new-password"
p.actions
= f.submit "Sign up", class: "button"
= link_to "Sign in with Facebook", user_facebook_omniauth_authorize_path, class: "button"
p
| Do you have account?
= render "devise/shared/links"
\ No newline at end of file
<% set_meta_tags title: "VenJob - Sign In",
description: "VenJob - Sign In",
keywords: "VenJob - Sign In" %>
<header class="page-header">
<h2 class="page-title">Sign In</h2>
</header>
<div id="primary" class="content-area container" role="main">
<article id="post-1673" class="post-1673 page type-page status-publish hentry">
<div class="entry-content">
<div class="registration-form woocommerce">
<%= form_for(resource, as: resource_name, url: session_path(resource_name)) do |f| %>
<p class="field">
<%= f.label :email %><br />
<%= f.email_field :email, autofocus: true, autocomplete: "email" %>
</p>
<p class="field">
<%= f.label :password %><br />
<%= f.password_field :password, autocomplete: "current-password" %>
</p>
<% if devise_mapping.rememberable? %>
<p class="field">
<%= f.check_box :remember_me %>
<%= f.label :remember_me %>
</p>
<% end %>
<p class="actions">
<%= f.submit "Log in", class: "button" %>
<%= link_to "Sign in with Facebook", user_facebook_omniauth_authorize_path, class: "button" %>
</p>
<% end %>
<p>
<%= render "devise/shared/links" %>
</p>
</div>
</div>
</article>
</div>
\ No newline at end of file
- set_meta_tags title: "VenJob - Sign In",
description: "VenJob - Sign In",
keywords: "VenJob - Sign In"
header.page-header
h2.page-title
| Sign In
#primary.content-area.container[role="main"]
article#post-1673.post-1673.page.type-page.status-publish.hentry
.entry-content
.registration-form.woocommerce
= form_for(resource, as: resource_name, url: session_path(resource_name)) do |f|
p.field
= f.label :email
br
= f.email_field :email, autofocus: true, autocomplete: "email"
p.field
= f.label :password
br
= f.password_field :password, autocomplete: "current-password"
- if devise_mapping.rememberable?
p.field
= f.check_box :remember_me
= f.label :remember_me
p.actions
= f.submit "Log in", class: "button"
= link_to "Sign in with Facebook", user_facebook_omniauth_authorize_path, class: "button"
p
= render "devise/shared/links"
\ No newline at end of file
<% if resource.errors.any? %>
<div id="error_explanation">
<h2>
<%= I18n.t("errors.messages.not_saved",
count: resource.errors.count,
resource: resource.class.model_name.human.downcase)
%>
</h2>
<ul>
<% resource.errors.full_messages.each do |message| %>
<li><%= message %></li>
<% end %>
</ul>
</div>
<% end %>
- if resource.errors.any?
#error_explanation
h2
= I18n.t("errors.messages.not_saved", count: resource.errors.count, resource: resource.class.model_name.human.downcase)
ul
- resource.errors.full_messages.each do |message|
li
= message
\ No newline at end of file
<%- if controller_name != 'sessions' %>
<%= link_to "Log in", new_session_path(resource_name) %><br />
<% end %>
<%- if devise_mapping.registerable? && controller_name != 'registrations' %>
<%= link_to "Sign up", new_registration_path(resource_name) %><br />
<% end %>
<!-- <%- if devise_mapping.recoverable? && controller_name != 'passwords' && controller_name != 'registrations' %>
<%= link_to "Forgot your password?", new_password_path(resource_name) %><br />
<% end %> -->
<!-- <%- if devise_mapping.confirmable? && controller_name != 'confirmations' %>
<%= link_to "Didn't receive confirmation instructions?", new_user_confirmation_path(resource_name) %><br />
<% end %> -->
<!-- <%- if devise_mapping.lockable? && resource_class.unlock_strategy_enabled?(:email) && controller_name != 'unlocks' %>
<%= link_to "Didn't receive unlock instructions?", new_unlock_path(resource_name) %><br />
<% end %> -->
<!-- <%- if devise_mapping.omniauthable? %>
<%- resource_class.omniauth_providers.each do |provider| %>
<%= link_to "Sign in with #{OmniAuth::Utils.camelize(provider)}", omniauth_authorize_path(resource_name, provider) %><br />
<% end %>
<% end %> -->
- if controller_name != 'sessions'
= link_to "Log in", new_session_path(resource_name)
br
- if devise_mapping.registerable? && controller_name != 'registrations'
= link_to "Sign up", new_registration_path(resource_name)
br
/ <!-- <%- if devise_mapping.recoverable? && controller_name != 'passwords' && controller_name != 'registrations' %>
/ <%= link_to "Forgot your password?", new_password_path(resource_name) %><br />
/ <% end %> -->
/ <!-- <%- if devise_mapping.confirmable? && controller_name != 'confirmations' %>
/ <%= link_to "Didn't receive confirmation instructions?", new_user_confirmation_path(resource_name) %><br />
/ <% end %> -->
/ <!-- <%- if devise_mapping.lockable? && resource_class.unlock_strategy_enabled?(:email) && controller_name != 'unlocks' %>
/ <%= link_to "Didn't receive unlock instructions?", new_unlock_path(resource_name) %><br />
/ <% end %> -->
/ <!-- <%- if devise_mapping.omniauthable? %>
/ <%- resource_class.omniauth_providers.each do |provider| %>
/ <%= link_to "Sign in with #{OmniAuth::Utils.camelize(provider)}", omniauth_authorize_path(resource_name, provider) %><br />
/ <% end %>
/ <% end %> -->
<h2>Resend unlock instructions</h2>
<%= form_for(resource, as: resource_name, url: unlock_path(resource_name), html: { method: :post }) do |f| %>
<%= render "devise/shared/error_messages", resource: resource %>
<div class="field">
<%= f.label :email %><br />
<%= f.email_field :email, autofocus: true, autocomplete: "email" %>
</div>
<div class="actions">
<%= f.submit "Resend unlock instructions" %>
</div>
<% end %>
<%= render "devise/shared/links" %>
h2
| Resend unlock instructions
= form_for(resource, as: resource_name, url: unlock_path(resource_name), html: { method: :post }) do |f|
= render "devise/shared/error_messages", resource: resource
.field
= f.label :email
br
= f.email_field :email, autofocus: true, autocomplete: "email"
.actions
= f.submit "Resend unlock instructions"
= render "devise/shared/links"
\ No newline at end of file
<% set_meta_tags title: "VenJob - History",
description: "VenJob - History",
keywords: "VenJob - History" %>
<header class="page-header">
<h2 class="page-title">History</h2>
</header>
<div id="primary" class="content-area container" role="main">
<article id="post-2452" class="post-2452 page type-page status-publish hentry">
<div class="entry-content">
<div class="woocommerce">
<div class="woocommerce-notices-wrapper"></div>
<table class="shop_table shop_table_responsive cart woocommerce-cart-form__contents" cellspacing="0">
<thead>
<tr>
<th class="product-remove">No.</th>
<th class="product-thumbnail">&nbsp;</th>
<th class="product-name">Title</th>
<th class="product-price">City</th>
<th class="product-quantity">Salary</th>
</tr>
</thead>
<tbody>
<%= render partial: (user_signed_in? ? '/shared/history_item_has_user' : '/shared/history_item_has_not_user'), collection: @jobs_history, as: :history_item %>
<tr>
<td colspan="6" class="actions">
<a class="button apply-all-job" href="javascript:void(0)">Apply all</a>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</article>
</div>
- set_meta_tags title: "VenJob - History",
description: "VenJob - History",
keywords: "VenJob - History"
header.page-header
h2.page-title
| History
#primary.content-area.container[role="main"]
article#post-2452.post-2452.page.type-page.status-publish.hentry
.entry-content
.woocommerce
.woocommerce-notices-wrapper
- if @jobs_history.present?
table.shop_table.shop_table_responsive.cart.woocommerce-cart-form__contents[cellspacing="0"]
thead
tr
th.product-remove
| No.
th.product-thumbnail
|  
th.product-name
| Title
th.product-price
| City
th.product-quantity
| Salary
tbody
= render partial: (user_signed_in? ? '/shared/history_item_has_user' : '/shared/history_item_has_not_user'), collection: @jobs_history, as: :history_item
tr
td.actions[colspan="6"]
a.button.apply-all-job[href="javascript:void(0)"]
| Apply all
- else
| History jobs empty
\ No newline at end of file
<% set_meta_tags title: "VenJob - Homepage",
description: "VenJob - Homepage",
keywords: "VenJob - Homepage" %>
<div id="primary" role="main">
<section id="jobify_widget_search_hero-2" class="widget widget--home widget--home--no-margin widget--home-hero-search">
<div class="hero-search hero-search--no-overlay hero-search--height-medium">
<div class="container">
<div class="hero-search__content" style="color:#666666">
<h2 class="hero-search__title" style="color:#666666">The Easiest Way to Get Your New Job</h2>
<p>Find jobs, create trackable resumes and enrich your applications.</p>
</div>
<%= form_tag(search_jobs_path, :method => "get", :class => "job_search_form job_search_form--flat") do %>
<div class="search_jobs">
<div class="search_keywords">
<label for="keyword">Keywords</label>
<input type="text" name="keyword" id="keyword" placeholder="Keywords" />
</div>
<div class="search_submit">
<%= submit_tag "Search Jobs", name: nil %>
</div>
</div>
<% end %>
</div>
</div>
</section>
<section id="jobify_widget_jobs-1" class="widget widget--home jobify_widget_jobs">
<div class="container">
<div class="row">
<div class="recent-jobs col-xs-12">
<h3 class="widget-title widget-title--home">Total Jobs: <%= @amount_job %></h3>
<div class="job_listings">
<ul class="job_listings">
<% if @latest_jobs.present? %>
<%= render partial: '/shared/job_item', collection: @latest_jobs %>
<% end %>
</ul>
<%= link_to jobs_path, class: "load_more_jobs" do %>
<strong>Load more listings</strong>
<% end %>
</div>
</div>
</div>
</div>
</section>
<section id="jobify_widget_feature_callout-4" class="widget widget--home widget--home--no-margin jobify_widget_feature_callout widget--home-feature-callout">
<div class="feature-callout text-left image-cover">
<div class="feature-callout-cover feature-callout-cover--overlay-gradient-left">
<div class="container">
<div class="row">
<div class="col-xs-12 col-sm-8 col-md-6 ">
<div class="callout-feature-content callout-feature-content--height-medium">
<h2 class="callout-feature-title">Join Thousands of Companies That Rely on Jobify</h2>
<p>Jobify offers a way to completely optimize your entire recruiting process. Find better candidates, conduct more focused interviews, and make data-driven hiring decisions.</p>
<p><a href="https://jobify-demos.astoundify.com/classic/pricing/" class="button button--color-white button--size-medium">Get Started</a></p>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<section id="jobify_widget_stats-1" class="widget widget--home jobify_widget_stats widget--home-stats">
<div class="container">
<h3 class="widget-title widget-title--home">Top cities</h3>
<p class="widget-description widget-description--home">
Here we list our cities and how many people we’ve helped find a job and companies have found recruits. It's a pretty awesome stats area!
</p>
<ul class="job-stats row showing-4">
<%= render partial: '/shared/latest_industry', collection: @latest_cities %>
</ul>
<%= link_to cities_path, class: "load_more_jobs" do %>
<strong>Load more listings</strong>
<% end %>
</div>
</section>
<section id="jobify_widget_feature_callout-3" class="widget widget--home widget--home--no-margin jobify_widget_feature_callout widget--home-feature-callout">
<div class="feature-callout text-right image-cover">
<div class="feature-callout-cover feature-callout-cover--overlay-gradient-right">
<div class="container">
<div class="row">
<div class="col-xs-12 col-sm-8 col-md-6 col-sm-offset-4 col-md-offset-6">
<div class="callout-feature-content callout-feature-content--height-medium">
<h2 class="callout-feature-title">Make Recruiting Your Competitive Advantage</h2>
<p>Talent is a top priority for all startup founders and executives. Jobify offers a way to completely optimize your entire recruiting process. Find better candidates, conduct more focused interviews, and make data-driven hiring decisions.</p>
<p><a href="https://jobify-demos.astoundify.com/classic/pricing/" class="button button--color-white button--size-medium">Get Started</a></p>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<section id="jobify_widget_stats-1" class="widget widget--home jobify_widget_stats widget--home-stats">
<div class="container">
<h3 class="widget-title widget-title--home">Top Industries</h3>
<ul class="job-stats row showing-4">
<%= render partial: '/shared/latest_industry', collection: @latest_industries %>
</ul>
<%= link_to industries_path, class: "load_more_jobs" do %>
<strong>Load more listings</strong>
<% end %>
</div>
</section>
</div>
\ No newline at end of file
- set_meta_tags title: "VenJob - Homepage",
description: "VenJob - Homepage",
keywords: "VenJob - Homepage"
#primary[role="main"]
section#jobify_widget_search_hero-2.widget.widget--home.widget--home--no-margin.widget--home-hero-search
.hero-search.hero-search--no-overlay.hero-search--height-medium
.container
.hero-search__content[style="color:#666666"]
h2.hero-search__title[style="color:#666666"]
| The Easiest Way to Get Your New Job
p
| Find jobs, create trackable resumes and enrich your applications.
= form_tag(search_jobs_path, :method => "get", :class => "job_search_form job_search_form--flat") do
.search_jobs
.search_keywords
label[for="keyword"]
| Keywords
input#keyword[type="text" name="keyword" placeholder="Keywords"]
.search_submit
= submit_tag "Search Jobs", name: nil
section#jobify_widget_jobs-1.widget.widget--home.jobify_widget_jobs
.container
.row
.recent-jobs.col-xs-12
h3.widget-title.widget-title--home
| Total Jobs:
= @amount_job
.job_listings
ul.job_listings
- if @latest_jobs.present?
= render partial: '/shared/job_item', collection: @latest_jobs
= link_to jobs_path, class: "load_more_jobs" do
strong
| Load more listings
section#jobify_widget_feature_callout-4.widget.widget--home.widget--home--no-margin.jobify_widget_feature_callout.widget--home-feature-callout
.feature-callout.text-left.image-cover
.feature-callout-cover.feature-callout-cover--overlay-gradient-left
.container
.row
.col-xs-12.col-sm-8.col-md-6
.callout-feature-content.callout-feature-content--height-medium
h2.callout-feature-title
| Join Thousands of Companies That Rely on Jobify
p
| Jobify offers a way to completely optimize your entire recruiting process. Find better candidates, conduct more focused interviews, and make data-driven hiring decisions.
p
a.button.button--color-white.button--size-medium[href="https://jobify-demos.astoundify.com/classic/pricing/"]
| Get Started
section#jobify_widget_stats-1.widget.widget--home.jobify_widget_stats.widget--home-stats
.container
h3.widget-title.widget-title--home
| Top cities
p.widget-description.widget-description--home
| Here we list our cities and how many people we’ve helped find a job and companies have found recruits. It's a pretty awesome stats area!
ul.job-stats.row.showing-4
= render partial: '/shared/latest_industry', collection: @latest_cities
= link_to cities_path, class: "load_more_jobs" do
strong
| Load more listings
section#jobify_widget_feature_callout-3.widget.widget--home.widget--home--no-margin.jobify_widget_feature_callout.widget--home-feature-callout
.feature-callout.text-right.image-cover
.feature-callout-cover.feature-callout-cover--overlay-gradient-right
.container
.row
.col-xs-12.col-sm-8.col-md-6.col-sm-offset-4.col-md-offset-6
.callout-feature-content.callout-feature-content--height-medium
h2.callout-feature-title
| Make Recruiting Your Competitive Advantage
p
| Talent is a top priority for all startup founders and executives. Jobify offers a way to completely optimize your entire recruiting process. Find better candidates, conduct more focused interviews, and make data-driven hiring decisions.
p
a.button.button--color-white.button--size-medium[href="https://jobify-demos.astoundify.com/classic/pricing/"]
| Get Started
section#jobify_widget_stats-1.widget.widget--home.jobify_widget_stats.widget--home-stats
.container
h3.widget-title.widget-title--home
| Top Industries
ul.job-stats.row.showing-4
= render partial: '/shared/latest_industry', collection: @latest_industries
= link_to industries_path, class: "load_more_jobs" do
strong
| Load more listings
\ No newline at end of file
<% set_meta_tags title: "VenJob - Industries",
description: "VenJob - Industries",
keywords: "VenJob - Industries" %>
<header class="page-header">
<h2 class="page-title">Industries</h2>
</header>
<div id="primary" class="content-area container" role="main">
<article id="post-2064" class="post-2064 page type-page status-publish hentry">
<div class="entry-content">
<ul class="companies-overview">
<% @industries.each do |industry| %>
<li class="company-group">
<%= link_to jobs_with_industry_path(industry_id: industry.id) do %>
<%= industry.title %> (<%= industry.jobs.count %>)
<% end %>
</li>
<% end %>
</ul>
</div>
</article>
</div>
\ No newline at end of file
- set_meta_tags title: "VenJob - Industries",
description: "VenJob - Industries",
keywords: "VenJob - Industries"
header.page-header
h2.page-title
| Industries
#primary.content-area.container[role="main"]
article#post-2064.post-2064.page.type-page.status-publish.hentry
.entry-content
ul.companies-overview
- @industries.each do |industry|
li.company-group
= link_to jobs_with_industry_path(industry_id: industry.id) do
= industry.title
| (
= industry.jobs.count
| )
\ No newline at end of file
<% set_meta_tags title: "VenJob - Jobs",
description: "VenJob - Jobs",
keywords: "VenJob - Jobs" %>
<div id="primary" role="main">
<!-- <div class="job_listing-map-wrapper">
<div class="job_listing-map">
<div id="job_listing-map-canvas"></div>
</div>
</div> -->
<div class="container content-area">
<div class="entry-content">
<div class="job_listings">
<form class="job_filters">
<div class="search_jobs">
<div class="search_keywords">
<label for="search_keywords">Keywords</label>
<input type="text" name="search_keywords" id="search_keywords" placeholder="Keywords" value="" />
</div>
<div class="search_submit">
<input type="submit" name="submit" value="Search">
</div>
</div>
<div class="showing_jobs">
<span>Search completed. Found <%= @amount_job %> matching records.</span>
</div>
</form>
<noscript>Your browser does not support JavaScript, or it is disabled. JavaScript must be enabled in order to view listings.</noscript>
<% if @jobs.present? %>
<ul class="job_listings">
<%= render partial: '/shared/job_item', collection: @jobs %>
</ul>
<div class="job-manager-pagination">
<%= paginate @jobs %>
</div>
<% end %>
</div>
</div>
</div>
</div>
\ No newline at end of file
- set_meta_tags title: "VenJob - Jobs",
description: "VenJob - Jobs",
keywords: "VenJob - Jobs"
#primary[role="main"]
.container.content-area
.entry-content
.job_listings
form.job_filters
.search_jobs
.search_keywords
label[for="search_keywords"]
| Keywords
input#search_keywords[type="text" name="search_keywords" placeholder="Keywords" value=""]
.search_submit
input[type="submit" name="submit" value="Search"]
.showing_jobs
span
| Search completed. Found
= @amount_job
| matching records.
noscript
| Your browser does not support JavaScript, or it is disabled. JavaScript must be enabled in order to view listings.
- if @jobs.present?
ul.job_listings
= render partial: '/shared/job_item', collection: @jobs
.job-manager-pagination
= paginate @jobs
\ No newline at end of file
<% set_meta_tags title: "VenJob - Search",
description: "VenJob - Search",
keywords: "VenJob - Search" %>
<div id="primary" role="main">
<!-- <div class="job_listing-map-wrapper">
<div class="job_listing-map">
<div id="job_listing-map-canvas"></div>
</div>
</div> -->
<div class="container content-area">
<div class="entry-content">
<div class="job_listings">
<%= form_tag(search_jobs_path, :method => "get") do %>
<div class="search_jobs">
<div class="search_keywords">
<label for="keyword">Keywords</label>
<input type="search" name="keyword" id="keyword" placeholder="Keywords" value="<%= params[:keyword]%>" />
</div>
<div class="search_submit">
<%= submit_tag "Search Jobs", name: nil %>
</div>
</div>
<div class="showing_jobs">
<span>Search completed. Found <%= @amount_job %> matching records.</span>
</div>
<% end %>
<% if @jobs.present? %>
<ul class="job_listings">
<% @jobs.each do |job| %>
<li class="job_listing job-type-part-time post-3354 type-job_listing status-publish has-post-thumbnail hentry job_listing_category-design job_listing_type-part-time">
<div class="job_listing-logo">
<%= link_to job_path(id: job["job_id"]) do %>
<img class="company_logo" src="<%= job["company_logo"] != "" ? job["company_logo"] : "https://via.placeholder.com/66x38?text=Logo" %>" alt="<%= job["company_name"] %>">
<% end %>
</div>
<div class="job_listing-about">
<div class="job_listing-position job_listing__column">
<h3 class="job_listing-title">
<%= link_to job["job_title"], job_path(id: job["job_id"]) %>
</h3>
<div class="job_listing-company">
<strong>
<%= link_to job["company_name"], jobs_with_company_path(company_id: job["company_id"]) %>
</strong>
</div>
</div>
<div class="job_listing-location job_listing__column">
<% job["city_ids"].each_with_index do |city_id, index| %>
<%= link_to jobs_with_city_path(city_id: city_id), class: "google_map_link" do %>
<%= job["city_names"][index] %><%= ", " if index != job["city_ids"].size - 1 %>
<% end %>
<% end %>
</div>
<ul class="job_listing-meta job_listing__column">
<li class="job_listing-type job-type part-time"><%= job["salary"] == 0 ? "Thuương lượng" : job["salary"] %></li>
<li class="job_listing-date"><%= job["expiration_date"] > 0 ? Time.at(job["expiration_date"]).to_date.to_s : "" %></li>
</ul>
</div>
</li>
<% end %>
</ul>
<div class="job-manager-pagination">
<%= will_paginate @jobs %>
</div>
<% end %>
</div>
</div>
</div>
</div>
\ No newline at end of file
- set_meta_tags title: "VenJob - Search",
description: "VenJob - Search",
keywords: "VenJob - Search"
#primary[role="main"]
.container.content-area
.entry-content
.job_listings
= form_tag(search_jobs_path, :method => "get") do
.search_jobs
.search_keywords
label[for="keyword"]
| Keywords
input type="search" name="keyword" id="keyword" placeholder="Keywords" value="#{params[:keyword]}"
.search_submit
= submit_tag "Search Jobs", name: nil
.showing_jobs
span
| Search completed. Found
= @amount_job
| matching records.
- if @jobs.present?
ul.job_listings
- @jobs.each do |job|
li.job_listing.job-type-part-time.post-3354.type-job_listing.status-publish.has-post-thumbnail.hentry.job_listing_category-design.job_listing_type-part-time
.job_listing-logo
= link_to job_path(id: job["job_id"]) do
img class="company_logo" src="#{job["company_logo"] != "" ? job["company_logo"] : "https://via.placeholder.com/66x38?text=Logo"}" alt="#{job["company_name"]}"
.job_listing-about
.job_listing-position.job_listing__column
h3.job_listing-title
= link_to job["job_title"], job_path(id: job["job_id"])
.job_listing-company
strong
= link_to job["company_name"], jobs_with_company_path(company_id: job["company_id"])
.job_listing-location.job_listing__column
- job["city_ids"].each_with_index do |city_id, index|
= link_to jobs_with_city_path(city_id: city_id), class: "google_map_link" do
= job["city_names"][index]
= ", " if index != job["city_ids"].size - 1
ul.job_listing-meta.job_listing__column
li.job_listing-type.job-type.part-time
= job["salary"] == 0 ? "Thuương lượng" : job["salary"]
li.job_listing-date
= job["expiration_date"] > 0 ? Time.at(job["expiration_date"]).to_date.to_s : ""
.job-manager-pagination
= will_paginate @jobs
\ No newline at end of file
<% set_meta_tags title: @job.title,
description: @job.title,
keywords: @job.title %>
<div class="single_job_listing">
<% if @job.present? %>
<div class="page-header">
<h1 class="page-title">
<%= @job.title %>
</h1>
<h3 class="page-subtitle">
<ul class="job-listing-meta meta">
<li class="job-type part-time"><%= "Salary: " + @job.salary %></li>
<li class="location">
<% @job.cities.each_with_index do |city, index| %>
<%= link_to jobs_with_city_path(city_id: city.id), class: "google_map_link" do %>
<%= city.title %></a><%= "," if index != @job.cities.count - 1 %>
<% end %>
<% end %>
</li>
<li class="date-posted"><%= @job.expiration_date %></li>
<li class="job-company">
<%= link_to @job.company.title, jobs_with_city_path(city_id: @job.company_id) %>
</li>
</ul>
</h3>
</div>
<div id="content" class="container content-area" role="main">
<div class="job-overview-content row">
<div class="job_listing-description job-overview col-md-9 col-sm-12">
<h4>Benefit</h4>
<%= raw(@job.benefit) %>
<h4>Job requirements</h4>
<%= raw(@job.job_requirements) %>
<h4>Job description</h4>
<%= raw(@job.job_description) %>
<h4>Other information</h4>
<%= raw(@job.other_information) %>
</div>
<div class="job-meta col-md-3 col-sm-6 col-xs-12">
<aside class="widget widget--job_listing">
<img class="company_logo" src="<%= @job.company.logo != "" ? @job.company.logo : "https://via.placeholder.com/66x38?text=Logo" %>" alt="<%= @job.company.title %>" />
</aside>
<aside class="widget widget--job_listing">
<div class="job_application application" style="margin-bottom: 15px;">
<% if @apply.blank? %>
<input type="button" class="application_button button apply-or-favorite-jobs" value="Apply for job" data-id="<%= @job.id %>" data-type="apply"/>
<% else %>
<input type="button" class="application_button button" value="Apply for job" disabled/>
<% end %>
</div>
<div class="job_application application">
<% if @favorite.blank? %>
<input type="button" class="application_button button apply-or-favorite-jobs" value="Favorite" data-id="<%= @job.id %>" data-type="favorite"/>
<% else %>
<input type="button" class="application_button button" value="Favorite" disabled/>
<% end %>
</div>
</aside>
<aside class="widget widget--job_listing">
<h3 class="widget-title widget-title--job_listing">Company Information</h3>
<ul>
<li>Name: <%= @job.company.title %></li>
<li>Address: <%= @job.company.address %></li>
<%= raw(@job.company.description) %>
</ul>
</aside>
<aside class="widget widget--job_listing">
<h3 class="widget-title widget-title--job_listing">Industry</h3>
<div class="job_listing-categories">
<% @job.industries.each_with_index do |industry, index| %>
<%= link_to industry.title, jobs_with_industry_path(industry_id: industry.id), class: "job-category" %>
<% end %>
</div>
</aside>
</div>
</div>
</div>
<div class="related-jobs container">
<h3 class="widget-title widget--title-job_listing-top">Related Jobs</h3>
<ul class="job_listings related">
<% if @relate_jobs.present? %>
<%= render partial: '/shared/job_item', collection: @relate_jobs %>
<% end %>
</ul>
</div>
<% else %>
<div class="page-header">
<h1 class="page-title">
Job was not found
</h1>
<h3 class="page-subtitle">
<ul class="job-listing-meta meta">
<li class="job-company">
<%= link_to "Back to home", root_path %>
</li>
<li class="location">
<%= link_to "Find a job", jobs_path %>
</li>
</ul>
</h3>
</div>
<% end %>
</div>
\ No newline at end of file
- set_meta_tags title: @job.title,
description: @job.title,
keywords: @job.title
.single_job_listing
- if @job.present?
.page-header
h1.page-title
= @job.title
h3.page-subtitle
ul.job-listing-meta.meta
li.job-type.part-time
= "Salary: " + @job.salary
li.location
- @job.cities.each_with_index do |city, index|
= link_to jobs_with_city_path(city_id: city.id), class: "google_map_link" do
= city.title
= "," if index != @job.cities.count - 1
li.date-posted
= @job.expiration_date
li.job-company
= link_to @job.company.title, jobs_with_city_path(city_id: @job.company_id)
#content.container.content-area[role="main"]
.job-overview-content.row
.job_listing-description.job-overview.col-md-9.col-sm-12
h4
| Benefit
= raw(@job.benefit)
h4
| Job requirements
= raw(@job.job_requirements)
h4
| Job description
= raw(@job.job_description)
h4
| Other information
= raw(@job.other_information)
.job-meta.col-md-3.col-sm-6.col-xs-12
aside.widget.widget--job_listing
img class="company_logo" src="#{@job.company.logo != "" ? @job.company.logo : "https://via.placeholder.com/66x38?text=Logo"}" alt="#{@job.company.title}"
aside.widget.widget--job_listing
.job_application.application[style="margin-bottom: 15px;"]
- if @apply.blank?
input type="button" class="application_button button apply-or-favorite-jobs" value="Apply for job" data-id="#{@job.id}" data-type="apply"
- else
input.application_button.button[type="button" value="Apply for job" disabled]
.job_application.application
- if @favorite.blank?
input type="button" class="application_button button apply-or-favorite-jobs" value="Favorite" data-id="#{@job.id}" data-type="favorite"
- else
input.application_button.button[type="button" value="Favorite" disabled]
aside.widget.widget--job_listing
h3.widget-title.widget-title--job_listing
| Company Information
ul
li
| Name:
= @job.company.title
li
| Address:
= @job.company.address
= raw(@job.company.description)
aside.widget.widget--job_listing
h3.widget-title.widget-title--job_listing
| Industry
.job_listing-categories
- @job.industries.each_with_index do |industry, index|
= link_to industry.title, jobs_with_industry_path(industry_id: industry.id), class: "job-category"
.related-jobs.container
h3.widget-title.widget--title-job_listing-top
| Related Jobs
ul.job_listings.related
- if @relate_jobs.present?
= render partial: '/shared/job_item', collection: @relate_jobs
- else
.page-header
h1.page-title
| Job was not found
h3.page-subtitle
ul.job-listing-meta.meta
li.job-company
= link_to "Back to home", root_path
li.location
= link_to "Find a job", jobs_path
\ No newline at end of file
<p class="notice"><%= notice %></p>
<p class="alert"><%= alert %></p>
\ No newline at end of file
p.notice
= notice
p.alert
= alert
\ No newline at end of file
<!DOCTYPE html>
<html>
<head>
<%= display_meta_tags %>
<%= csrf_meta_tags %>
<%= csp_meta_tag %>
<link rel="shortcut icon" type="image/x-icon" href="/assets/images/favicon.ico" />
<link rel='stylesheet' href='//fonts.googleapis.com/css?family=Varela+Round%3Aregular%7CMontserrat%3Aregular%2C700&#038;subset=latin,hebrew' type='text/css' media='all' />
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
<%= javascript_include_tag "/assets/js/jquery.js" %>
<%= javascript_include_tag "/assets/js/jquery-migrate.min.js" %>
<%= javascript_include_tag "https://maps.googleapis.com/maps/api/js?v=3&#038;libraries=geometry%2Cplaces&#038;language=en&#038;key=AIzaSyDFtSmGkBIXtMX63-bZKn50-6p3vZ2-WHE&#038;ver=5.3.2" %>
<%= javascript_pack_tag 'application', 'data-turbolinks-track': 'reload' %>
</head>
<body class="home page-template page-template-page-templates page-template-jobify page-template-page-templatesjobify-php page page-id-25 woocommerce-no-js single-listing-style-side single-resume-style-side wp-job-manager-categories-enabled wp-job-manager wp-job-manager-bookmarks ninjaforms-contact-job-form wp-job-manager-contact-listing woocommerce testimonials ninja-forms jetpack custom-font nav-menu-break-large fixed-header jobify-child">
<div id="page" class="hfeed site">
<header id="masthead" class="site-header" role="banner">
<div class="container">
<div class="site-header__wrap">
<a href="/" title="VenJob" rel="home" class="site-branding">
<h1 class="site-title">
<img src="/assets/images/logo.png" width="" height="" alt="" />
</h1>
</a>
<nav id="site-navigation" class="site-primary-navigation">
<a href="#site-navigation" class="js-primary-menu-toggle primary-menu-toggle primary-menu-toggle--close">Close</a>
<form role="search" method="get" id="searchform" class="searchform searchform--header" action="https://jobify-demos.astoundify.com/classic/">
<label class="screen-reader-text" for="s">Search for:</label>
<input type="text" value="" name="s" id="s" class="searchform__input searchform--header__input" placeholder="Keywords..." />
<button type="submit" id="searchsubmit" class="searchform__submit searchform--header__submit"><span class="screen-reader-text">Search</button>
</form>
<div class="nav-menu nav-menu--primary">
<ul id="menu-main-menu" class="nav-menu nav-menu--primary">
<% if !current_admin %>
<li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-99991208">
<a href="/jobs">Find A Job</a>
</li>
<li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-99991220">
<a href="/cities">City</a>
</li>
<li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-99991220">
<a href="/industries">Industry</a>
</li>
<li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-99991220">
<a href="/history">History</a>
</li>
<% if current_user %>
<li class="register menu-item menu-item-type-post_type menu-item-object-page menu-item-99991219">
<%= link_to 'Favorite', users_favorite_jobs_path %>
</li>
<li class="register menu-item menu-item-type-post_type menu-item-object-page menu-item-99991219">
<%= link_to 'Hi, ' + current_user.full_name, users_info_path %>
</li>
<li class="login menu-item menu-item-type-post_type menu-item-object-page menu-item-99991213">
<%= link_to 'Sign out', destroy_user_session_path, method: :delete %>
</li>
<% else %>
<li class="register menu-item menu-item-type-post_type menu-item-object-page menu-item-99991219">
<%= link_to 'Sign up', new_user_registration_path %>
</li>
<li class="login menu-item menu-item-type-post_type menu-item-object-page menu-item-99991213">
<%= link_to 'Sign in', new_user_session_path %>
</li>
<% end %>
<% else %>
<% if current_admin %>
<li class="register menu-item menu-item-type-post_type menu-item-object-page menu-item-99991219">
<%= link_to 'Applies', admins_applies_path %>
</li>
<li class="login menu-item menu-item-type-post_type menu-item-object-page menu-item-99991213">
<%= link_to 'Admin sign out', destroy_admin_session_path, method: :delete %>
</li>
<% end %>
<% end %>
</ul>
</div>
</nav>
</div>
<a href="#site-navigation" class="js-primary-menu-toggle primary-menu-toggle primary-menu-toggle--open"><span class="screen-reader-text">Menu</span></a>
</div>
</header>
<div id="main" class="site-main">
<% render 'layouts/alerts'%>
<%= yield %>
</div>
<div class="footer-cta">
<div class="container">
<h2>Got a question?</h2>
<p>We're here to help. Check out our FAQs, send us an email or call us at 1 (800) 555-5555</p>
</div>
</div>
<footer id="colophon" class="site-footer" role="contentinfo">
<div class="footer-widgets">
<div class="container">
<div class="row">
<div class="col-xs-12 col-md-6 col-lg-3">
<aside id="text-1" class="widget widget--footer widget_text">
<div class="textwidget">
<img src="/assets/images/logo.png"/>
<br><br>
Job Searching Just Got Easy. Use Jobify to run a hiring site and earn money in the process!
</div>
</aside>
</div>
<div class="col-xs-12 col-md-6 col-lg-3">
<aside id="pages-1" class="widget widget--footer widget_pages">
<h3 class="widget-title widget-title--footer">Site Map</h3>
<ul>
<li class="page_item page-item-703"><a href="https://jobify-demos.astoundify.com/classic/blog/">Blog</a></li>
</ul>
</aside>
</div>
<div class="col-xs-12 col-md-6 col-lg-3">
<aside id="recent-posts-3" class="widget widget--footer widget_recent_entries">
<h3 class="widget-title widget-title--footer">Recent News Articles</h3>
<ul>
<li>
<a href="https://jobify-demos.astoundify.com/classic/2016/03/29/middle-class-jobs-are-being-replaced-by-burger-flipping-retail-sales-low-pay-jobs-4/">The Best (and Worst) Canadian Merchant Account Providers</a>
<span class="post-date">March 29, 2016</span>
</li>
</ul>
</aside>
</div>
<div class="col-xs-12 col-md-6 col-lg-3">
<aside id="text-2" class="widget widget--footer widget_text">
<h3 class="widget-title widget-title--footer">Jobify Offices</h3>
<div class="textwidget">Jobify Inc.
555 Madison Avenue, Suite F-2
Manhattan, New York 10282
<br></br>
Jobify Inc Canada.
545 Younge St, Suite 11
Toronto, Ontario M4K 6F4
</div>
</aside>
</div>
</div>
</div>
</div>
<div class="copyright">
<div class="container">
<div class="site-info">
&copy; 2020 VenJob &mdash; All Rights Reserved
</div>
<!-- .site-info -->
<div class="footer-social">
<a href="http://facebook.com"><span class="screen-reader-text">Facebook</span></a>
<a href="http://twitter.com"><span class="screen-reader-text">Twitter</span></a>
<a href="https://plus.google.com/"><span class="screen-reader-text">Google Plus</span></a>
<a href="http://instagram.com/"><span class="screen-reader-text">Instagram</span></a>
<a href="https://pinterest.com/"><span class="screen-reader-text">Pinterest</span></a>
<a href="https://vimeo.com"><span class="screen-reader-text">Vimeo</span></a>
<a href="http://www.linkedin.com"><span class="screen-reader-text">Linkedin</span></a>
</div>
</div>
</div>
<div class="back2top"><div class="b-icon"></div></div>
</footer>
</div>
<%= javascript_include_tag "/assets/js/js.cookie.min.js" %>
<%= javascript_include_tag "/assets/js/widget.min.js" %>
<%= javascript_include_tag "/assets/js/mouse.min.js" %>
<%= javascript_include_tag "/assets/js/slider.min.js" %>
<%= javascript_include_tag "/assets/js/underscore.min.js" %>
<%= javascript_include_tag "/assets/js/backbone.min.js" %>
<%= javascript_include_tag "/assets/js/wp-util.min.js" %>
<script type='text/javascript'>
var jobifySettings = {"ajaxurl":"https:\/\/jobify-demos.astoundify.com\/classic\/wp-admin\/admin-ajax.php","archiveurl":"https:\/\/jobify-demos.astoundify.com\/classic\/jobs\/","i18n":{"magnific":{"tClose":"Close","tLoading":"Loading...","tError":"The content could not be loaded."}},"pages":{"is_job":false,"is_resume":false,"is_testimonials":false},"widgets":{"jobify_widget_companies":{"autoPlay":false},"jobify_widget_testimonials":{"slidesToShow":4}}};
</script>
<%= javascript_include_tag "/assets/js/jobify.min.js" %>
<script>
var jobifyMapSettings = {"useClusters":"1","overlayTitle":"%d Found","autoFit":"","trigger":"click","mapOptions":{"zoom":"3","maxZoom":17,"maxZoomOut":"5","gridSize":60,"scrollwheel":true,"center":["43.6532","-79.3832"]}};
</script>
<%= javascript_include_tag "/assets/js/app.min.js" %>
<%= javascript_include_tag "/assets/js/custom.js" %>
</body>
</html>
doctype html
html
head
= display_meta_tags
= csrf_meta_tags
= csp_meta_tag
link[rel="shortcut icon" type="image/x-icon" href="/assets/images/favicon.ico"]
link[rel="stylesheet" href="//fonts.googleapis.com/css?family=Varela+Round%3Aregular%7CMontserrat%3Aregular%2C700&#038;subset=latin,hebrew" type="text/css" media="all"]
= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload'
= javascript_include_tag "/assets/js/jquery.js"
= javascript_include_tag "/assets/js/jquery-migrate.min.js"
= javascript_include_tag "https://maps.googleapis.com/maps/api/js?v=3&libraries=geometry%2Cplaces&language=en&key=AIzaSyDFtSmGkBIXtMX63-bZKn50-6p3vZ2-WHE&ver=5.3.2"
= javascript_pack_tag 'application', 'data-turbolinks-track': 'reload'
body.home.page-template.page-template-page-templates.page-template-jobify.page-template-page-templatesjobify-php.page.page-id-25.woocommerce-no-js.single-listing-style-side.single-resume-style-side.wp-job-manager-categories-enabled.wp-job-manager.wp-job-manager-bookmarks.ninjaforms-contact-job-form.wp-job-manager-contact-listing.woocommerce.testimonials.ninja-forms.jetpack.custom-font.nav-menu-break-large.fixed-header.jobify-child
#page.hfeed.site
header#masthead.site-header[role="banner"]
.container
.site-header__wrap
a.site-branding[href="/" title="VenJob" rel="home"]
h1.site-title
img[src="/assets/images/logo.png" width="" height="" alt=""]
nav#site-navigation.site-primary-navigation
a.js-primary-menu-toggle.primary-menu-toggle.primary-menu-toggle--close[href="#site-navigation"]
| Close
form#searchform.searchform.searchform--header[role="search" method="get" action="https://jobify-demos.astoundify.com/classic/"]
label.screen-reader-text[for="s"]
| Search for:
input#s.searchform__input.searchform--header__input[type="text" value="" name="s" placeholder="Keywords..."]
button#searchsubmit.searchform__submit.searchform--header__submit[type="submit"]
span.screen-reader-text
| Search
.nav-menu.nav-menu--primary
ul#menu-main-menu.nav-menu.nav-menu--primary
- if !current_admin
li.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-99991208
a[href="/jobs"]
| Find A Job
li.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-99991220
a[href="/cities"]
| City
li.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-99991220
a[href="/industries"]
| Industry
li.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-99991220
a[href="/history"]
| History
- if current_user
li.register.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-99991219
= link_to 'Favorite', users_favorite_jobs_path
li.register.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-99991219
= link_to 'Hi, ' + current_user.full_name, users_info_path
li.login.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-99991213
= link_to 'Sign out', destroy_user_session_path, method: :delete
- else
li.register.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-99991219
= link_to 'Sign up', new_user_registration_path
li.login.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-99991213
= link_to 'Sign in', new_user_session_path
- else
- if current_admin
li.register.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-99991219
= link_to 'Applies', admins_applies_path
li.login.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-99991213
= link_to 'Admin sign out', destroy_admin_session_path, method: :delete
a.js-primary-menu-toggle.primary-menu-toggle.primary-menu-toggle--open[href="#site-navigation"]
span.screen-reader-text
| Menu
#main.site-main
- render 'layouts/alerts'
= yield
.footer-cta
.container
h2
| Got a question?
p
| We're here to help. Check out our FAQs, send us an email or call us at 1 (800) 555-5555
footer#colophon.site-footer[role="contentinfo"]
.footer-widgets
.container
.row
.col-xs-12.col-md-6.col-lg-3
aside#text-1.widget.widget--footer.widget_text
.textwidget
img[src="/assets/images/logo.png"]
br
br
| Job Searching Just Got Easy. Use Jobify to run a hiring site and earn money in the process!
.col-xs-12.col-md-6.col-lg-3
aside#pages-1.widget.widget--footer.widget_pages
h3.widget-title.widget-title--footer
| Site Map
ul
li.page_item.page-item-703
a[href="https://jobify-demos.astoundify.com/classic/blog/"]
| Blog
.col-xs-12.col-md-6.col-lg-3
aside#recent-posts-3.widget.widget--footer.widget_recent_entries
h3.widget-title.widget-title--footer
| Recent News Articles
ul
li
a[href="https://jobify-demos.astoundify.com/classic/2016/03/29/middle-class-jobs-are-being-replaced-by-burger-flipping-retail-sales-low-pay-jobs-4/"]
| The Best (and Worst) Canadian Merchant Account Providers
span.post-date
| March 29, 2016
.col-xs-12.col-md-6.col-lg-3
aside#text-2.widget.widget--footer.widget_text
h3.widget-title.widget-title--footer
| Jobify Offices
.textwidget
| Jobify Inc. 555 Madison Avenue, Suite F-2 Manhattan, New York 10282
br
| Jobify Inc Canada. 545 Younge St, Suite 11 Toronto, Ontario M4K 6F4
.copyright
.container
.site-info
| © 2020 VenJob — All Rights Reserved
.footer-social
a[href="http://facebook.com"]
span.screen-reader-text
| Facebook
a[href="http://twitter.com"]
span.screen-reader-text
| Twitter
a[href="https://plus.google.com/"]
span.screen-reader-text
| Google Plus
a[href="http://instagram.com/"]
span.screen-reader-text
| Instagram
a[href="https://pinterest.com/"]
span.screen-reader-text
| Pinterest
a[href="https://vimeo.com"]
span.screen-reader-text
| Vimeo
a[href="http://www.linkedin.com"]
span.screen-reader-text
| Linkedin
.back2top
.b-icon
|
= javascript_include_tag "/assets/js/custom.js"
\ No newline at end of file
<% set_meta_tags title: "VenJob - 404",
description: "VenJob - 404",
keywords: "VenJob - 404" %>
<header class="page-header">
<h2 class="page-title">Page Not Found</h2>
</header>
<div id="primary" class="content-area container" role="main">
<div class="blog-archive">
<div class="content-none">
<p>It seems we can’t find what you’re looking for</p>
</div>
</div>
</div>
\ No newline at end of file
- set_meta_tags title: "VenJob - 404",
description: "VenJob - 404",
keywords: "VenJob - 404"
header.page-header
h2.page-title
| Page Not Found
#primary.content-area.container[role="main"]
.blog-archive
.content-none
p
| It seems we can’t find what you’re looking for
\ No newline at end of file
<tr class="woocommerce-cart-form__cart-item cart_item">
<td>
<%= history_item_counter + 1 %>
</td>
<td style="text-align: center;">
<input type="checkbox" class="checkbox-apply-job" data-id="<%= history_item.id %>">
</td>
<td>
<%= link_to history_item.title, history_item %>
</td>
<td>
<% history_item.cities.each_with_index do |city, index| %>
<%= city.title %><%= ", " if index != history_item.cities.size - 1 %>
<% end %>
</td>
<td class="product-price">
<%= history_item.salary %>
</td>
</tr>
\ No newline at end of file
tr.woocommerce-cart-form__cart-item.cart_item
td
= history_item_counter + 1
td[style="text-align: center;"]
input type="checkbox" class="checkbox-apply-job" data-id="#{history_item.id}"
td
= link_to history_item.title, history_item
td
- history_item.cities.each_with_index do |city, index|
= city.title
= ", " if index != history_item.cities.size - 1
td.product-price
= history_item.salary
\ No newline at end of file
<tr class="woocommerce-cart-form__cart-item cart_item">
<td>
<%= history_item_counter + 1 %>
</td>
<td style="text-align: center;">
<input type="checkbox" class="checkbox-apply-job" data-id="<%= history_item.job_id %>">
</td>
<td>
<%= link_to history_item.job.title, history_item.job %>
</td>
<td>
<% history_item.job.cities.each_with_index do |city, index| %>
<%= city.title %><%= ", " if index != history_item.job.cities.size - 1 %>
<% end %>
</td>
<td class="product-price">
<%= history_item.job.salary %>
</td>
</tr>
\ No newline at end of file
tr.woocommerce-cart-form__cart-item.cart_item
td
= history_item_counter + 1
td[style="text-align: center;"]
input type="checkbox" class="checkbox-apply-job" data-id="#{history_item.job_id}"
td
= link_to history_item.job.title, history_item.job
td
- history_item.job.cities.each_with_index do |city, index|
= city.title
= ", " if index != history_item.job.cities.size - 1
td.product-price
= history_item.job.salary
\ No newline at end of file
<li class="job_listing job-type-part-time post-3354 type-job_listing status-publish has-post-thumbnail hentry job_listing_category-design job_listing_type-part-time">
<div class="job_listing-logo">
<%= link_to(job_item) do %>
<img class="company_logo" src="<%= job_item.company.logo != "" ? job_item.company.logo : "https://via.placeholder.com/66x38?text=Logo" %>" alt="<%= job_item.company.title %>">
<% end %>
</div>
<div class="job_listing-about">
<div class="job_listing-position job_listing__column">
<h3 class="job_listing-title">
<%= link_to job_item.title, job_item %>
</h3>
<div class="job_listing-company">
<strong>
<%= link_to job_item.company.title, jobs_with_company_path(company_id: job_item.company.id) %>
</strong>
</div>
</div>
<div class="job_listing-location job_listing__column">
<% job_item.cities.each_with_index do |city, index| %>
<%= link_to jobs_with_city_path(city_id: city.id), class: "google_map_link" do %>
<%= city.title %><%= ", " if index != job_item.cities.size - 1 %>
<% end %>
<% end %>
</div>
<ul class="job_listing-meta job_listing__column">
<li class="job_listing-type job-type part-time"><%= job_item.salary %></li>
<li class="job_listing-date"><%= job_item.expiration_date %></li>
</ul>
</div>
</li>
\ No newline at end of file
li.job_listing.job-type-part-time.post-3354.type-job_listing.status-publish.has-post-thumbnail.hentry.job_listing_category-design.job_listing_type-part-time
.job_listing-logo
= link_to(job_item) do
img class="company_logo" src="#{job_item.company.logo != "" ? job_item.company.logo : "https://via.placeholder.com/66x38?text=Logo"}" alt="#{job_item.company.title}"
.job_listing-about
.job_listing-position.job_listing__column
h3.job_listing-title
= link_to job_item.title, job_item
.job_listing-company
strong
= link_to job_item.company.title, jobs_with_company_path(company_id: job_item.company.id)
.job_listing-location.job_listing__column
- job_item.cities.each_with_index do |city, index|
= link_to jobs_with_city_path(city_id: city.id), class: "google_map_link" do
= city.title
= ", " if index != job_item.cities.size - 1
ul.job_listing-meta.job_listing__column
li.job_listing-type.job-type.part-time
= job_item.salary
li.job_listing-date
= job_item.expiration_date
\ No newline at end of file
<li class="job-stat col-md-3 col-sm-6 col-xs-12">
<strong><%= latest_city.jobs_count %></strong>
<%= link_to latest_city.title, jobs_with_city_path(city_id: latest_city.id) %>
</li>
\ No newline at end of file
li.job-stat.col-md-3.col-sm-6.col-xs-12
strong
= latest_city.jobs_count
= link_to latest_city.title, jobs_with_city_path(city_id: latest_city.id)
\ No newline at end of file
<li class="job-stat col-md-3 col-sm-6 col-xs-12">
<strong><%= latest_industry.jobs_count %></strong>
<%= link_to latest_industry.title, jobs_with_industry_path(industry_id: latest_industry.id) %>
</li>
\ No newline at end of file
li.job-stat.col-md-3.col-sm-6.col-xs-12
strong
= latest_industry.jobs_count
= link_to latest_industry.title, jobs_with_industry_path(industry_id: latest_industry.id)
\ No newline at end of file
<% set_meta_tags title: "VenJob - Applied Jobs",
description: "VenJob - Applied Jobs",
keywords: "VenJob - Applied Jobs" %>
<header class="page-header">
<h2 class="page-title">Applied Jobs</h2>
</header>
<div id="primary" class="content-area container" role="main">
<article id="post-1673" class="post-1673 page type-page status-publish hentry">
<div class="entry-content">
<div class="woocommerce">
<div class="woocommerce-notices-wrapper"></div>
<% if @applied_jobs.present? %>
<table class="shop_table shop_table_responsive cart woocommerce-cart-form__contents" cellspacing="0">
<thead>
<tr>
<th class="product-remove">No.</th>
<th class="product-thumbnail">&nbsp;</th>
<th class="product-name">Title</th>
<th class="product-price">City</th>
<th class="product-quantity">Salary</th>
<th class="product-quantity">Applied at</th>
</tr>
</thead>
<tbody>
<% @applied_jobs.each_with_index do |apply, index| %>
<tr class="woocommerce-cart-form__cart-item cart_item">
<td>
<%= index + 1%>
</td>
<td>
</td>
<td>
<%= apply.job.title %>
</td>
<td>
<% apply.job.cities.each_with_index do |city, index| %>
<%= city.title %><%= ", " if index != apply.job.cities.size - 1 %>
<% end %>
</td>
<td class="product-price">
<%= apply.job.salary %>
</td>
<td class="product-quantity">
<%= apply.created_at.strftime("%F %T") %>
</td>
</tr>
<% end %>
</tbody>
</table>
<% else %>
Applied jobs empty
<% end %>
</div>
</div>
</article>
</div>
\ No newline at end of file
- set_meta_tags title: "VenJob - Applied Jobs",
description: "VenJob - Applied Jobs",
keywords: "VenJob - Applied Jobs"
header.page-header
h2.page-title
| Applied Jobs
#primary.content-area.container[role="main"]
article#post-1673.post-1673.page.type-page.status-publish.hentry
.entry-content
.woocommerce
.woocommerce-notices-wrapper
- if @applied_jobs.present?
table.shop_table.shop_table_responsive.cart.woocommerce-cart-form__contents[cellspacing="0"]
thead
tr
th.product-remove
| No.
th.product-thumbnail
|  
th.product-name
| Title
th.product-price
| City
th.product-quantity
| Salary
th.product-quantity
| Applied at
tbody
- @applied_jobs.each_with_index do |apply, index|
tr.woocommerce-cart-form__cart-item.cart_item
td
= index + 1
td
td
= apply.job.title
td
- apply.job.cities.each_with_index do |city, index|
= city.title
= ", " if index != apply.job.cities.size - 1
td.product-price
= apply.job.salary
td.product-quantity
= apply.created_at.strftime("%F %T")
- else
| Applied jobs empty
\ No newline at end of file
<% set_meta_tags title: "VenJob - Favorite Jobs",
description: "VenJob - Favorite Jobs",
keywords: "VenJob - Favorite Jobs" %>
<header class="page-header">
<h2 class="page-title">Favorite jobs</h2>
</header>
<div id="primary" class="content-area container" role="main">
<article id="post-2452" class="post-2452 page type-page status-publish hentry">
<div class="entry-content">
<div class="woocommerce">
<div class="woocommerce-notices-wrapper"></div>
<% if @favorite_jobs.present? %>
<table class="shop_table shop_table_responsive cart woocommerce-cart-form__contents" cellspacing="0">
<thead>
<tr>
<th class="product-remove">No.</th>
<th class="product-thumbnail">&nbsp;</th>
<th class="product-name">Title</th>
<th class="product-price">City</th>
<th class="product-quantity">Salary</th>
<th class="product-quantity">Remove</th>
</tr>
</thead>
<tbody>
<% @favorite_jobs.each_with_index do |favorite, index| %>
<tr class="woocommerce-cart-form__cart-item cart_item">
<td>
<%= index + 1%>
</td>
<td style="text-align: center;">
<input type="checkbox" class="checkbox-apply-job" data-id="<%= favorite.job_id %>">
</td>
<td>
<%= link_to favorite.job.title, favorite.job %>
</td>
<td>
<% favorite.job.cities.each_with_index do |city, index| %>
<%= city.title %><%= ", " if index != favorite.job.cities.size - 1 %>
<% end %>
</td>
<td class="product-price">
<%= favorite.job.salary %>
</td>
<td class="product-quantity">
<a href="javascript:void(0)" class="remove-favorite-job" data-favorite_id="<%= favorite.id %>">×</a>
</td>
</tr>
<% end %>
<tr>
<td colspan="6" class="actions">
<a class="button apply-all-job" href="javascript:void(0)">Apply all</a>
</td>
</tr>
</tbody>
</table>
<% else %>
Favorite jobs empty
<% end %>
</div>
</div>
</article>
</div>
- set_meta_tags title: "VenJob - Favorite Jobs",
description: "VenJob - Favorite Jobs",
keywords: "VenJob - Favorite Jobs"
header.page-header
h2.page-title
| Favorite jobs
#primary.content-area.container[role="main"]
article#post-2452.post-2452.page.type-page.status-publish.hentry
.entry-content
.woocommerce
.woocommerce-notices-wrapper
- if @favorite_jobs.present?
table.shop_table.shop_table_responsive.cart.woocommerce-cart-form__contents[cellspacing="0"]
thead
tr
th.product-remove
| No.
th.product-thumbnail
|  
th.product-name
| Title
th.product-price
| City
th.product-quantity
| Salary
th.product-quantity
| Remove
tbody
- @favorite_jobs.each_with_index do |favorite, index|
tr.woocommerce-cart-form__cart-item.cart_item
td
= index + 1
td[style="text-align: center;"]
input type="checkbox" class="checkbox-apply-job" data-id="#{favorite.job_id}"
td
= link_to favorite.job.title, favorite.job
td
- favorite.job.cities.each_with_index do |city, index|
= city.title
= ", " if index != favorite.job.cities.size - 1
td.product-price
= favorite.job.salary
td.product-quantity
a href="javascript:void(0)" class="remove-favorite-job" data-favorite_id="#{favorite.id} ×
tr
td.actions[colspan="6"]
a.button.apply-all-job[href="javascript:void(0)"]
| Apply all
- else
| Favorite jobs empty
\ No newline at end of file
<% set_meta_tags title: "VenJob - User information",
description: "VenJob - User information",
keywords: "VenJob - User information" %>
<header class="page-header">
<h2 class="page-title">User information</h2>
</header>
<div id="primary" class="content-area container" role="main">
<article id="post-1673" class="post-1673 page type-page status-publish hentry">
<div class="entry-content">
<form id="submit-job-form" class="job-manager-form">
<fieldset>
<label for="full_name">Fullname</label>
<div class="field required-field draft-required">
<input type="text" class="input-text" name="full_name" id="full_name" value="<%= current_user.full_name %>" disabled >
</div>
</fieldset>
<fieldset>
<label for="email">Email</label>
<div class="field required-field draft-required">
<input type="email" class="input-text" name="email" id="email" value="<%= current_user.email %>" disabled >
</div>
</fieldset>
<fieldset>
<label for="cv">CV</label>
<div class="field required-field draft-required">
<a href="<%= current_user.cv %>" target="_blank"><%= current_user.cv %></a>
</div>
</fieldset>
<p>
<%= link_to "Update", edit_user_registration_path, class: "button" %>
<%= link_to "My jobs", users_applied_jobs_path, class: "button" %>
</p>
</form>
</div>
</article>
</div>
\ No newline at end of file
- set_meta_tags title: "VenJob - User information",
description: "VenJob - User information",
keywords: "VenJob - User information"
header.page-header
h2.page-title
| User information
#primary.content-area.container[role="main"]
article#post-1673.post-1673.page.type-page.status-publish.hentry
.entry-content
form#submit-job-form.job-manager-form
fieldset
label[for="full_name"]
| Fullname
.field.required-field.draft-required
input type="text" class="input-text" name="full_name" id="full_name" value="#{current_user.full_name}" disabled="disabled"
fieldset
label[for="email"]
| Email
.field.required-field.draft-required
input type="email" class="input-text" name="email" id="email" value="#{current_user.email}" disabled="disabled"
fieldset
label[for="cv"]
| CV
.field.required-field.draft-required
a href="#{current_user.cv}" target="_blank"
= current_user.cv
p
= link_to "Update", edit_user_registration_path, class: "button"
= link_to "My jobs", users_applied_jobs_path, class: "button"
\ No newline at end of file
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
ActiveRecord::Schema.define(version: 2020_05_19_030913) do ActiveRecord::Schema.define(version: 2020_05_19_030913) do
create_table "admins", options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4", force: :cascade do |t| create_table "admins", options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci", force: :cascade do |t|
t.string "email", default: "", null: false t.string "email", default: "", null: false
t.string "encrypted_password", default: "", null: false t.string "encrypted_password", default: "", null: false
t.string "reset_password_token" t.string "reset_password_token"
...@@ -24,7 +24,7 @@ ActiveRecord::Schema.define(version: 2020_05_19_030913) do ...@@ -24,7 +24,7 @@ ActiveRecord::Schema.define(version: 2020_05_19_030913) do
t.index ["reset_password_token"], name: "index_admins_on_reset_password_token", unique: true t.index ["reset_password_token"], name: "index_admins_on_reset_password_token", unique: true
end end
create_table "applies", options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4", force: :cascade do |t| create_table "applies", options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci", force: :cascade do |t|
t.bigint "user_id", null: false t.bigint "user_id", null: false
t.bigint "job_id", null: false t.bigint "job_id", null: false
t.datetime "created_at", precision: 6, null: false t.datetime "created_at", precision: 6, null: false
...@@ -33,21 +33,21 @@ ActiveRecord::Schema.define(version: 2020_05_19_030913) do ...@@ -33,21 +33,21 @@ ActiveRecord::Schema.define(version: 2020_05_19_030913) do
t.index ["user_id"], name: "index_applies_on_user_id" t.index ["user_id"], name: "index_applies_on_user_id"
end end
create_table "cities", options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4", force: :cascade do |t| create_table "cities", options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci", force: :cascade do |t|
t.string "title" t.string "title"
t.datetime "created_at", precision: 6, null: false t.datetime "created_at", precision: 6, null: false
t.datetime "updated_at", precision: 6, null: false t.datetime "updated_at", precision: 6, null: false
t.boolean "foreign", default: false t.boolean "foreign", default: false
end end
create_table "cities_jobs", id: false, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4", force: :cascade do |t| create_table "cities_jobs", id: false, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci", force: :cascade do |t|
t.bigint "city_id", null: false t.bigint "city_id", null: false
t.bigint "job_id", null: false t.bigint "job_id", null: false
t.index ["city_id", "job_id"], name: "index_cities_jobs_on_city_id_and_job_id" t.index ["city_id", "job_id"], name: "index_cities_jobs_on_city_id_and_job_id"
t.index ["job_id", "city_id"], name: "index_cities_jobs_on_job_id_and_city_id" t.index ["job_id", "city_id"], name: "index_cities_jobs_on_job_id_and_city_id"
end end
create_table "companies", options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4", force: :cascade do |t| create_table "companies", options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci", force: :cascade do |t|
t.string "title" t.string "title"
t.string "address" t.string "address"
t.string "logo" t.string "logo"
...@@ -56,7 +56,7 @@ ActiveRecord::Schema.define(version: 2020_05_19_030913) do ...@@ -56,7 +56,7 @@ ActiveRecord::Schema.define(version: 2020_05_19_030913) do
t.datetime "updated_at", precision: 6, null: false t.datetime "updated_at", precision: 6, null: false
end end
create_table "favorites", options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4", force: :cascade do |t| create_table "favorites", options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci", force: :cascade do |t|
t.bigint "user_id", null: false t.bigint "user_id", null: false
t.bigint "job_id", null: false t.bigint "job_id", null: false
t.datetime "created_at", precision: 6, null: false t.datetime "created_at", precision: 6, null: false
...@@ -65,7 +65,7 @@ ActiveRecord::Schema.define(version: 2020_05_19_030913) do ...@@ -65,7 +65,7 @@ ActiveRecord::Schema.define(version: 2020_05_19_030913) do
t.index ["user_id"], name: "index_favorites_on_user_id" t.index ["user_id"], name: "index_favorites_on_user_id"
end end
create_table "histories", options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4", force: :cascade do |t| create_table "histories", options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci", force: :cascade do |t|
t.bigint "user_id", null: false t.bigint "user_id", null: false
t.bigint "job_id", null: false t.bigint "job_id", null: false
t.datetime "created_at", precision: 6, null: false t.datetime "created_at", precision: 6, null: false
...@@ -74,20 +74,20 @@ ActiveRecord::Schema.define(version: 2020_05_19_030913) do ...@@ -74,20 +74,20 @@ ActiveRecord::Schema.define(version: 2020_05_19_030913) do
t.index ["user_id"], name: "index_histories_on_user_id" t.index ["user_id"], name: "index_histories_on_user_id"
end end
create_table "industries", options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4", force: :cascade do |t| create_table "industries", options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci", force: :cascade do |t|
t.string "title" t.string "title"
t.datetime "created_at", precision: 6, null: false t.datetime "created_at", precision: 6, null: false
t.datetime "updated_at", precision: 6, null: false t.datetime "updated_at", precision: 6, null: false
end end
create_table "industries_jobs", id: false, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4", force: :cascade do |t| create_table "industries_jobs", id: false, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci", force: :cascade do |t|
t.bigint "industry_id", null: false t.bigint "industry_id", null: false
t.bigint "job_id", null: false t.bigint "job_id", null: false
t.index ["industry_id", "job_id"], name: "index_industries_jobs_on_industry_id_and_job_id" t.index ["industry_id", "job_id"], name: "index_industries_jobs_on_industry_id_and_job_id"
t.index ["job_id", "industry_id"], name: "index_industries_jobs_on_job_id_and_industry_id" t.index ["job_id", "industry_id"], name: "index_industries_jobs_on_job_id_and_industry_id"
end end
create_table "jobs", options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4", force: :cascade do |t| create_table "jobs", options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci", force: :cascade do |t|
t.string "title" t.string "title"
t.string "updated_date_job" t.string "updated_date_job"
t.string "level" t.string "level"
...@@ -106,7 +106,7 @@ ActiveRecord::Schema.define(version: 2020_05_19_030913) do ...@@ -106,7 +106,7 @@ ActiveRecord::Schema.define(version: 2020_05_19_030913) do
t.index ["company_id"], name: "index_jobs_on_company_id" t.index ["company_id"], name: "index_jobs_on_company_id"
end end
create_table "users", options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4", force: :cascade do |t| create_table "users", options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci", force: :cascade do |t|
t.string "email", default: "", null: false t.string "email", default: "", null: false
t.string "encrypted_password", default: "", null: false t.string "encrypted_password", default: "", null: false
t.string "reset_password_token" t.string "reset_password_token"
...@@ -119,6 +119,7 @@ ActiveRecord::Schema.define(version: 2020_05_19_030913) do ...@@ -119,6 +119,7 @@ ActiveRecord::Schema.define(version: 2020_05_19_030913) do
t.datetime "created_at", precision: 6, null: false t.datetime "created_at", precision: 6, null: false
t.datetime "updated_at", precision: 6, null: false t.datetime "updated_at", precision: 6, null: false
t.string "full_name" t.string "full_name"
t.string "image"
t.string "cv" t.string "cv"
t.string "provider" t.string "provider"
t.string "uid" t.string "uid"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment