@bmlt-enabled/croutonjs 3.15.3 → 3.16.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/crouton.css +6 -13
- package/crouton.js +611 -171
- package/crouton.min.css +1 -1
- package/crouton.min.js +1 -1
- package/crouton.nojquery.js +611 -171
- package/crouton.nojquery.min.js +1 -1
- package/package.json +1 -1
- package/templates/themes/florida-nights.css +6 -2
- package/templates/themes/frog.css +6 -2
- package/templates/themes/none.css +0 -0
- package/templates/themes/none.json +3 -0
- package/templates/themes/one-nine.css +6 -2
- package/templates/themes/seattle-rain.css +6 -2
- package/templates/themes/truth.css +6 -2
package/crouton.js
CHANGED
|
@@ -12,6 +12,66 @@
|
|
|
12
12
|
* Config saved to config.json and https://gist.github.com/edd6285e54d5a7153208
|
|
13
13
|
*/
|
|
14
14
|
if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(t){"use strict";var e=t.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1==e[0]&&9==e[1]&&e[2]<1)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher")}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var i=t(this),n=i.data("bs.tooltip"),s="object"==typeof e&&e;(n||!/destroy|hide/.test(e))&&(n||i.data("bs.tooltip",n=new o(this,s)),"string"==typeof e&&n[e]())})}var o=function(t,e){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.inState=null,this.init("tooltip",t,e)};o.VERSION="3.3.5",o.TRANSITION_DURATION=150,o.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},o.prototype.init=function(e,o,i){if(this.enabled=!0,this.type=e,this.$element=t(o),this.options=this.getOptions(i),this.$viewport=this.options.viewport&&t(t.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var n=this.options.trigger.split(" "),s=n.length;s--;){var r=n[s];if("click"==r)this.$element.on("click."+this.type,this.options.selector,t.proxy(this.toggle,this));else if("manual"!=r){var a="hover"==r?"mouseenter":"focusin",p="hover"==r?"mouseleave":"focusout";this.$element.on(a+"."+this.type,this.options.selector,t.proxy(this.enter,this)),this.$element.on(p+"."+this.type,this.options.selector,t.proxy(this.leave,this))}}this.options.selector?this._options=t.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},o.prototype.getDefaults=function(){return o.DEFAULTS},o.prototype.getOptions=function(e){return e=t.extend({},this.getDefaults(),this.$element.data(),e),e.delay&&"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),e},o.prototype.getDelegateOptions=function(){var e={},o=this.getDefaults();return this._options&&t.each(this._options,function(t,i){o[t]!=i&&(e[t]=i)}),e},o.prototype.enter=function(e){var o=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);return o||(o=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,o)),e instanceof t.Event&&(o.inState["focusin"==e.type?"focus":"hover"]=!0),o.tip().hasClass("in")||"in"==o.hoverState?void(o.hoverState="in"):(clearTimeout(o.timeout),o.hoverState="in",o.options.delay&&o.options.delay.show?void(o.timeout=setTimeout(function(){"in"==o.hoverState&&o.show()},o.options.delay.show)):o.show())},o.prototype.isInStateTrue=function(){for(var t in this.inState)if(this.inState[t])return!0;return!1},o.prototype.leave=function(e){var o=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);return o||(o=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,o)),e instanceof t.Event&&(o.inState["focusout"==e.type?"focus":"hover"]=!1),o.isInStateTrue()?void 0:(clearTimeout(o.timeout),o.hoverState="out",o.options.delay&&o.options.delay.hide?void(o.timeout=setTimeout(function(){"out"==o.hoverState&&o.hide()},o.options.delay.hide)):o.hide())},o.prototype.show=function(){var e=t.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(e);var i=t.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(e.isDefaultPrevented()||!i)return;var n=this,s=this.tip(),r=this.getUID(this.type);this.setContent(),s.attr("id",r),this.$element.attr("aria-describedby",r),this.options.animation&&s.addClass("fade");var a="function"==typeof this.options.placement?this.options.placement.call(this,s[0],this.$element[0]):this.options.placement,p=/\s?auto?\s?/i,l=p.test(a);l&&(a=a.replace(p,"")||"top"),s.detach().css({top:0,left:0,display:"block"}).addClass(a).data("bs."+this.type,this),this.options.container?s.appendTo(this.options.container):s.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var h=this.getPosition(),f=s[0].offsetWidth,c=s[0].offsetHeight;if(l){var d=a,u=this.getPosition(this.$viewport);a="bottom"==a&&h.bottom+c>u.bottom?"top":"top"==a&&h.top-c<u.top?"bottom":"right"==a&&h.right+f>u.width?"left":"left"==a&&h.left-f<u.left?"right":a,s.removeClass(d).addClass(a)}var v=this.getCalculatedOffset(a,h,f,c);this.applyPlacement(v,a);var g=function(){var t=n.hoverState;n.$element.trigger("shown.bs."+n.type),n.hoverState=null,"out"==t&&n.leave(n)};t.support.transition&&this.$tip.hasClass("fade")?s.one("bsTransitionEnd",g).emulateTransitionEnd(o.TRANSITION_DURATION):g()}},o.prototype.applyPlacement=function(e,o){var i=this.tip(),n=i[0].offsetWidth,s=i[0].offsetHeight,r=parseInt(i.css("margin-top"),10),a=parseInt(i.css("margin-left"),10);isNaN(r)&&(r=0),isNaN(a)&&(a=0),e.top+=r,e.left+=a,t.offset.setOffset(i[0],t.extend({using:function(t){i.css({top:Math.round(t.top),left:Math.round(t.left)})}},e),0),i.addClass("in");var p=i[0].offsetWidth,l=i[0].offsetHeight;"top"==o&&l!=s&&(e.top=e.top+s-l);var h=this.getViewportAdjustedDelta(o,e,p,l);h.left?e.left+=h.left:e.top+=h.top;var f=/top|bottom/.test(o),c=f?2*h.left-n+p:2*h.top-s+l,d=f?"offsetWidth":"offsetHeight";i.offset(e),this.replaceArrow(c,i[0][d],f)},o.prototype.replaceArrow=function(t,e,o){this.arrow().css(o?"left":"top",50*(1-t/e)+"%").css(o?"top":"left","")},o.prototype.setContent=function(){var t=this.tip(),e=this.getTitle();t.find(".tooltip-inner")[this.options.html?"html":"text"](e),t.removeClass("fade in top bottom left right")},o.prototype.hide=function(e){function i(){"in"!=n.hoverState&&s.detach(),n.$element.removeAttr("aria-describedby").trigger("hidden.bs."+n.type),e&&e()}var n=this,s=t(this.$tip),r=t.Event("hide.bs."+this.type);return this.$element.trigger(r),r.isDefaultPrevented()?void 0:(s.removeClass("in"),t.support.transition&&s.hasClass("fade")?s.one("bsTransitionEnd",i).emulateTransitionEnd(o.TRANSITION_DURATION):i(),this.hoverState=null,this)},o.prototype.fixTitle=function(){var t=this.$element;(t.attr("title")||"string"!=typeof t.attr("data-original-title"))&&t.attr("data-original-title",t.attr("title")||"").attr("title","")},o.prototype.hasContent=function(){return this.getTitle()},o.prototype.getPosition=function(e){e=e||this.$element;var o=e[0],i="BODY"==o.tagName,n=o.getBoundingClientRect();null==n.width&&(n=t.extend({},n,{width:n.right-n.left,height:n.bottom-n.top}));var s=i?{top:0,left:0}:e.offset(),r={scroll:i?document.documentElement.scrollTop||document.body.scrollTop:e.scrollTop()},a=i?{width:t(window).width(),height:t(window).height()}:null;return t.extend({},n,r,a,s)},o.prototype.getCalculatedOffset=function(t,e,o,i){return"bottom"==t?{top:e.top+e.height,left:e.left+e.width/2-o/2}:"top"==t?{top:e.top-i,left:e.left+e.width/2-o/2}:"left"==t?{top:e.top+e.height/2-i/2,left:e.left-o}:{top:e.top+e.height/2-i/2,left:e.left+e.width}},o.prototype.getViewportAdjustedDelta=function(t,e,o,i){var n={top:0,left:0};if(!this.$viewport)return n;var s=this.options.viewport&&this.options.viewport.padding||0,r=this.getPosition(this.$viewport);if(/right|left/.test(t)){var a=e.top-s-r.scroll,p=e.top+s-r.scroll+i;a<r.top?n.top=r.top-a:p>r.top+r.height&&(n.top=r.top+r.height-p)}else{var l=e.left-s,h=e.left+s+o;l<r.left?n.left=r.left-l:h>r.right&&(n.left=r.left+r.width-h)}return n},o.prototype.getTitle=function(){var t,e=this.$element,o=this.options;return t=e.attr("data-original-title")||("function"==typeof o.title?o.title.call(e[0]):o.title)},o.prototype.getUID=function(t){do t+=~~(1e6*Math.random());while(document.getElementById(t));return t},o.prototype.tip=function(){if(!this.$tip&&(this.$tip=t(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},o.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},o.prototype.enable=function(){this.enabled=!0},o.prototype.disable=function(){this.enabled=!1},o.prototype.toggleEnabled=function(){this.enabled=!this.enabled},o.prototype.toggle=function(e){var o=this;e&&(o=t(e.currentTarget).data("bs."+this.type),o||(o=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,o))),e?(o.inState.click=!o.inState.click,o.isInStateTrue()?o.enter(o):o.leave(o)):o.tip().hasClass("in")?o.leave(o):o.enter(o)},o.prototype.destroy=function(){var t=this;clearTimeout(this.timeout),this.hide(function(){t.$element.off("."+t.type).removeData("bs."+t.type),t.$tip&&t.$tip.detach(),t.$tip=null,t.$arrow=null,t.$viewport=null})};var i=t.fn.tooltip;t.fn.tooltip=e,t.fn.tooltip.Constructor=o,t.fn.tooltip.noConflict=function(){return t.fn.tooltip=i,this}}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var i=t(this),n=i.data("bs.popover"),s="object"==typeof e&&e;(n||!/destroy|hide/.test(e))&&(n||i.data("bs.popover",n=new o(this,s)),"string"==typeof e&&n[e]())})}var o=function(t,e){this.init("popover",t,e)};if(!t.fn.tooltip)throw new Error("Popover requires tooltip.js");o.VERSION="3.3.5",o.DEFAULTS=t.extend({},t.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),o.prototype=t.extend({},t.fn.tooltip.Constructor.prototype),o.prototype.constructor=o,o.prototype.getDefaults=function(){return o.DEFAULTS},o.prototype.setContent=function(){var t=this.tip(),e=this.getTitle(),o=this.getContent();t.find(".popover-title")[this.options.html?"html":"text"](e),t.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof o?"html":"append":"text"](o),t.removeClass("fade top bottom left right in"),t.find(".popover-title").html()||t.find(".popover-title").hide()},o.prototype.hasContent=function(){return this.getTitle()||this.getContent()},o.prototype.getContent=function(){var t=this.$element,e=this.options;return t.attr("data-content")||("function"==typeof e.content?e.content.call(t[0]):e.content)},o.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var i=t.fn.popover;t.fn.popover=e,t.fn.popover.Constructor=o,t.fn.popover.noConflict=function(){return t.fn.popover=i,this}}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var i=t(this),n=i.data("bs.tab");n||i.data("bs.tab",n=new o(this)),"string"==typeof e&&n[e]()})}var o=function(e){this.element=t(e)};o.VERSION="3.3.5",o.TRANSITION_DURATION=150,o.prototype.show=function(){var e=this.element,o=e.closest("ul:not(.dropdown-menu)"),i=e.data("target");if(i||(i=e.attr("href"),i=i&&i.replace(/.*(?=#[^\s]*$)/,"")),!e.parent("li").hasClass("active")){var n=o.find(".active:last a"),s=t.Event("hide.bs.tab",{relatedTarget:e[0]}),r=t.Event("show.bs.tab",{relatedTarget:n[0]});if(n.trigger(s),e.trigger(r),!r.isDefaultPrevented()&&!s.isDefaultPrevented()){var a=t(i);this.activate(e.closest("li"),o),this.activate(a,a.parent(),function(){n.trigger({type:"hidden.bs.tab",relatedTarget:e[0]}),e.trigger({type:"shown.bs.tab",relatedTarget:n[0]})})}}},o.prototype.activate=function(e,i,n){function s(){r.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),e.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),a?(e[0].offsetWidth,e.addClass("in")):e.removeClass("fade"),e.parent(".dropdown-menu").length&&e.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),n&&n()}var r=i.find("> .active"),a=n&&t.support.transition&&(r.length&&r.hasClass("fade")||!!i.find("> .fade").length);r.length&&a?r.one("bsTransitionEnd",s).emulateTransitionEnd(o.TRANSITION_DURATION):s(),r.removeClass("in")};var i=t.fn.tab;t.fn.tab=e,t.fn.tab.Constructor=o,t.fn.tab.noConflict=function(){return t.fn.tab=i,this};var n=function(o){o.preventDefault(),e.call(t(this),"show")};t(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',n).on("click.bs.tab.data-api",'[data-toggle="pill"]',n)}(jQuery);
|
|
15
|
+
/* ========================================================================
|
|
16
|
+
* Bootstrap: transition.js v3.3.7
|
|
17
|
+
* http://getbootstrap.com/javascript/#transitions
|
|
18
|
+
* ========================================================================
|
|
19
|
+
* Copyright 2011-2016 Twitter, Inc.
|
|
20
|
+
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
|
21
|
+
* ======================================================================== */
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
+function ($) {
|
|
25
|
+
'use strict';
|
|
26
|
+
|
|
27
|
+
// CSS TRANSITION SUPPORT (Shoutout: http://www.modernizr.com/)
|
|
28
|
+
// ============================================================
|
|
29
|
+
|
|
30
|
+
function transitionEnd() {
|
|
31
|
+
var el = document.createElement('bootstrap')
|
|
32
|
+
|
|
33
|
+
var transEndEventNames = {
|
|
34
|
+
WebkitTransition : 'webkitTransitionEnd',
|
|
35
|
+
MozTransition : 'transitionend',
|
|
36
|
+
OTransition : 'oTransitionEnd otransitionend',
|
|
37
|
+
transition : 'transitionend'
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
for (var name in transEndEventNames) {
|
|
41
|
+
if (el.style[name] !== undefined) {
|
|
42
|
+
return { end: transEndEventNames[name] }
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
return false // explicit for ie8 ( ._.)
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
// http://blog.alexmaccaw.com/css-transitions
|
|
50
|
+
$.fn.emulateTransitionEnd = function (duration) {
|
|
51
|
+
var called = false
|
|
52
|
+
var $el = this
|
|
53
|
+
$(this).one('bsTransitionEnd', function () { called = true })
|
|
54
|
+
var callback = function () { if (!called) $($el).trigger($.support.transition.end) }
|
|
55
|
+
setTimeout(callback, duration)
|
|
56
|
+
return this
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
$(function () {
|
|
60
|
+
$.support.transition = transitionEnd()
|
|
61
|
+
|
|
62
|
+
if (!$.support.transition) return
|
|
63
|
+
|
|
64
|
+
$.event.special.bsTransitionEnd = {
|
|
65
|
+
bindType: $.support.transition.end,
|
|
66
|
+
delegateType: $.support.transition.end,
|
|
67
|
+
handle: function (e) {
|
|
68
|
+
if ($(e.target).is(this)) return e.handleObj.handler.apply(this, arguments)
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
})
|
|
72
|
+
|
|
73
|
+
}(jQuery);
|
|
74
|
+
|
|
15
75
|
/*! Select2 4.0.0 | https://github.com/select2/select2/blob/master/LICENSE.md */!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):a("object"==typeof exports?require("jquery"):jQuery)}(function(a){var b=function(){if(a&&a.fn&&a.fn.select2&&a.fn.select2.amd)var b=a.fn.select2.amd;var b;return function(){if(!b||!b.requirejs){b?c=b:b={};var a,c,d;!function(b){function e(a,b){return u.call(a,b)}function f(a,b){var c,d,e,f,g,h,i,j,k,l,m,n=b&&b.split("/"),o=s.map,p=o&&o["*"]||{};if(a&&"."===a.charAt(0))if(b){for(n=n.slice(0,n.length-1),a=a.split("/"),g=a.length-1,s.nodeIdCompat&&w.test(a[g])&&(a[g]=a[g].replace(w,"")),a=n.concat(a),k=0;k<a.length;k+=1)if(m=a[k],"."===m)a.splice(k,1),k-=1;else if(".."===m){if(1===k&&(".."===a[2]||".."===a[0]))break;k>0&&(a.splice(k-1,2),k-=2)}a=a.join("/")}else 0===a.indexOf("./")&&(a=a.substring(2));if((n||p)&&o){for(c=a.split("/"),k=c.length;k>0;k-=1){if(d=c.slice(0,k).join("/"),n)for(l=n.length;l>0;l-=1)if(e=o[n.slice(0,l).join("/")],e&&(e=e[d])){f=e,h=k;break}if(f)break;!i&&p&&p[d]&&(i=p[d],j=k)}!f&&i&&(f=i,h=j),f&&(c.splice(0,h,f),a=c.join("/"))}return a}function g(a,c){return function(){return n.apply(b,v.call(arguments,0).concat([a,c]))}}function h(a){return function(b){return f(b,a)}}function i(a){return function(b){q[a]=b}}function j(a){if(e(r,a)){var c=r[a];delete r[a],t[a]=!0,m.apply(b,c)}if(!e(q,a)&&!e(t,a))throw new Error("No "+a);return q[a]}function k(a){var b,c=a?a.indexOf("!"):-1;return c>-1&&(b=a.substring(0,c),a=a.substring(c+1,a.length)),[b,a]}function l(a){return function(){return s&&s.config&&s.config[a]||{}}}var m,n,o,p,q={},r={},s={},t={},u=Object.prototype.hasOwnProperty,v=[].slice,w=/\.js$/;o=function(a,b){var c,d=k(a),e=d[0];return a=d[1],e&&(e=f(e,b),c=j(e)),e?a=c&&c.normalize?c.normalize(a,h(b)):f(a,b):(a=f(a,b),d=k(a),e=d[0],a=d[1],e&&(c=j(e))),{f:e?e+"!"+a:a,n:a,pr:e,p:c}},p={require:function(a){return g(a)},exports:function(a){var b=q[a];return"undefined"!=typeof b?b:q[a]={}},module:function(a){return{id:a,uri:"",exports:q[a],config:l(a)}}},m=function(a,c,d,f){var h,k,l,m,n,s,u=[],v=typeof d;if(f=f||a,"undefined"===v||"function"===v){for(c=!c.length&&d.length?["require","exports","module"]:c,n=0;n<c.length;n+=1)if(m=o(c[n],f),k=m.f,"require"===k)u[n]=p.require(a);else if("exports"===k)u[n]=p.exports(a),s=!0;else if("module"===k)h=u[n]=p.module(a);else if(e(q,k)||e(r,k)||e(t,k))u[n]=j(k);else{if(!m.p)throw new Error(a+" missing "+k);m.p.load(m.n,g(f,!0),i(k),{}),u[n]=q[k]}l=d?d.apply(q[a],u):void 0,a&&(h&&h.exports!==b&&h.exports!==q[a]?q[a]=h.exports:l===b&&s||(q[a]=l))}else a&&(q[a]=d)},a=c=n=function(a,c,d,e,f){if("string"==typeof a)return p[a]?p[a](c):j(o(a,c).f);if(!a.splice){if(s=a,s.deps&&n(s.deps,s.callback),!c)return;c.splice?(a=c,c=d,d=null):a=b}return c=c||function(){},"function"==typeof d&&(d=e,e=f),e?m(b,a,c,d):setTimeout(function(){m(b,a,c,d)},4),n},n.config=function(a){return n(a)},a._defined=q,d=function(a,b,c){b.splice||(c=b,b=[]),e(q,a)||e(r,a)||(r[a]=[a,b,c])},d.amd={jQuery:!0}}(),b.requirejs=a,b.require=c,b.define=d}}(),b.define("almond",function(){}),b.define("jquery",[],function(){var b=a||$;return null==b&&console&&console.error&&console.error("Select2: An instance of jQuery or a jQuery-compatible library was not found. Make sure that you are including jQuery before Select2 on your web page."),b}),b.define("select2/utils",["jquery"],function(a){function b(a){var b=a.prototype,c=[];for(var d in b){var e=b[d];"function"==typeof e&&"constructor"!==d&&c.push(d)}return c}var c={};c.Extend=function(a,b){function c(){this.constructor=a}var d={}.hasOwnProperty;for(var e in b)d.call(b,e)&&(a[e]=b[e]);return c.prototype=b.prototype,a.prototype=new c,a.__super__=b.prototype,a},c.Decorate=function(a,c){function d(){var b=Array.prototype.unshift,d=c.prototype.constructor.length,e=a.prototype.constructor;d>0&&(b.call(arguments,a.prototype.constructor),e=c.prototype.constructor),e.apply(this,arguments)}function e(){this.constructor=d}var f=b(c),g=b(a);c.displayName=a.displayName,d.prototype=new e;for(var h=0;h<g.length;h++){var i=g[h];d.prototype[i]=a.prototype[i]}for(var j=(function(a){var b=function(){};a in d.prototype&&(b=d.prototype[a]);var e=c.prototype[a];return function(){var a=Array.prototype.unshift;return a.call(arguments,b),e.apply(this,arguments)}}),k=0;k<f.length;k++){var l=f[k];d.prototype[l]=j(l)}return d};var d=function(){this.listeners={}};return d.prototype.on=function(a,b){this.listeners=this.listeners||{},a in this.listeners?this.listeners[a].push(b):this.listeners[a]=[b]},d.prototype.trigger=function(a){var b=Array.prototype.slice;this.listeners=this.listeners||{},a in this.listeners&&this.invoke(this.listeners[a],b.call(arguments,1)),"*"in this.listeners&&this.invoke(this.listeners["*"],arguments)},d.prototype.invoke=function(a,b){for(var c=0,d=a.length;d>c;c++)a[c].apply(this,b)},c.Observable=d,c.generateChars=function(a){for(var b="",c=0;a>c;c++){var d=Math.floor(36*Math.random());b+=d.toString(36)}return b},c.bind=function(a,b){return function(){a.apply(b,arguments)}},c._convertData=function(a){for(var b in a){var c=b.split("-"),d=a;if(1!==c.length){for(var e=0;e<c.length;e++){var f=c[e];f=f.substring(0,1).toLowerCase()+f.substring(1),f in d||(d[f]={}),e==c.length-1&&(d[f]=a[b]),d=d[f]}delete a[b]}}return a},c.hasScroll=function(b,c){var d=a(c),e=c.style.overflowX,f=c.style.overflowY;return e!==f||"hidden"!==f&&"visible"!==f?"scroll"===e||"scroll"===f?!0:d.innerHeight()<c.scrollHeight||d.innerWidth()<c.scrollWidth:!1},c.escapeMarkup=function(a){var b={"\\":"\","&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};return"string"!=typeof a?a:String(a).replace(/[&<>"'\/\\]/g,function(a){return b[a]})},c.appendMany=function(b,c){if("1.7"===a.fn.jquery.substr(0,3)){var d=a();a.map(c,function(a){d=d.add(a)}),c=d}b.append(c)},c}),b.define("select2/results",["jquery","./utils"],function(a,b){function c(a,b,d){this.$element=a,this.data=d,this.options=b,c.__super__.constructor.call(this)}return b.Extend(c,b.Observable),c.prototype.render=function(){var b=a('<ul class="select2-results__options" role="tree"></ul>');return this.options.get("multiple")&&b.attr("aria-multiselectable","true"),this.$results=b,b},c.prototype.clear=function(){this.$results.empty()},c.prototype.displayMessage=function(b){var c=this.options.get("escapeMarkup");this.clear(),this.hideLoading();var d=a('<li role="treeitem" class="select2-results__option"></li>'),e=this.options.get("translations").get(b.message);d.append(c(e(b.args))),this.$results.append(d)},c.prototype.append=function(a){this.hideLoading();var b=[];if(null==a.results||0===a.results.length)return void(0===this.$results.children().length&&this.trigger("results:message",{message:"noResults"}));a.results=this.sort(a.results);for(var c=0;c<a.results.length;c++){var d=a.results[c],e=this.option(d);b.push(e)}this.$results.append(b)},c.prototype.position=function(a,b){var c=b.find(".select2-results");c.append(a)},c.prototype.sort=function(a){var b=this.options.get("sorter");return b(a)},c.prototype.setClasses=function(){var b=this;this.data.current(function(c){var d=a.map(c,function(a){return a.id.toString()}),e=b.$results.find(".select2-results__option[aria-selected]");e.each(function(){var b=a(this),c=a.data(this,"data"),e=""+c.id;null!=c.element&&c.element.selected||null==c.element&&a.inArray(e,d)>-1?b.attr("aria-selected","true"):b.attr("aria-selected","false")});var f=e.filter("[aria-selected=true]");f.length>0?f.first().trigger("mouseenter"):e.first().trigger("mouseenter")})},c.prototype.showLoading=function(a){this.hideLoading();var b=this.options.get("translations").get("searching"),c={disabled:!0,loading:!0,text:b(a)},d=this.option(c);d.className+=" loading-results",this.$results.prepend(d)},c.prototype.hideLoading=function(){this.$results.find(".loading-results").remove()},c.prototype.option=function(b){var c=document.createElement("li");c.className="select2-results__option";var d={role:"treeitem","aria-selected":"false"};b.disabled&&(delete d["aria-selected"],d["aria-disabled"]="true"),null==b.id&&delete d["aria-selected"],null!=b._resultId&&(c.id=b._resultId),b.title&&(c.title=b.title),b.children&&(d.role="group",d["aria-label"]=b.text,delete d["aria-selected"]);for(var e in d){var f=d[e];c.setAttribute(e,f)}if(b.children){var g=a(c),h=document.createElement("strong");h.className="select2-results__group";{a(h)}this.template(b,h);for(var i=[],j=0;j<b.children.length;j++){var k=b.children[j],l=this.option(k);i.push(l)}var m=a("<ul></ul>",{"class":"select2-results__options select2-results__options--nested"});m.append(i),g.append(h),g.append(m)}else this.template(b,c);return a.data(c,"data",b),c},c.prototype.bind=function(b){var c=this,d=b.id+"-results";this.$results.attr("id",d),b.on("results:all",function(a){c.clear(),c.append(a.data),b.isOpen()&&c.setClasses()}),b.on("results:append",function(a){c.append(a.data),b.isOpen()&&c.setClasses()}),b.on("query",function(a){c.showLoading(a)}),b.on("select",function(){b.isOpen()&&c.setClasses()}),b.on("unselect",function(){b.isOpen()&&c.setClasses()}),b.on("open",function(){c.$results.attr("aria-expanded","true"),c.$results.attr("aria-hidden","false"),c.setClasses(),c.ensureHighlightVisible()}),b.on("close",function(){c.$results.attr("aria-expanded","false"),c.$results.attr("aria-hidden","true"),c.$results.removeAttr("aria-activedescendant")}),b.on("results:toggle",function(){var a=c.getHighlightedResults();0!==a.length&&a.trigger("mouseup")}),b.on("results:select",function(){var a=c.getHighlightedResults();if(0!==a.length){var b=a.data("data");"true"==a.attr("aria-selected")?c.trigger("close"):c.trigger("select",{data:b})}}),b.on("results:previous",function(){var a=c.getHighlightedResults(),b=c.$results.find("[aria-selected]"),d=b.index(a);if(0!==d){var e=d-1;0===a.length&&(e=0);var f=b.eq(e);f.trigger("mouseenter");var g=c.$results.offset().top,h=f.offset().top,i=c.$results.scrollTop()+(h-g);0===e?c.$results.scrollTop(0):0>h-g&&c.$results.scrollTop(i)}}),b.on("results:next",function(){var a=c.getHighlightedResults(),b=c.$results.find("[aria-selected]"),d=b.index(a),e=d+1;if(!(e>=b.length)){var f=b.eq(e);f.trigger("mouseenter");var g=c.$results.offset().top+c.$results.outerHeight(!1),h=f.offset().top+f.outerHeight(!1),i=c.$results.scrollTop()+h-g;0===e?c.$results.scrollTop(0):h>g&&c.$results.scrollTop(i)}}),b.on("results:focus",function(a){a.element.addClass("select2-results__option--highlighted")}),b.on("results:message",function(a){c.displayMessage(a)}),a.fn.mousewheel&&this.$results.on("mousewheel",function(a){var b=c.$results.scrollTop(),d=c.$results.get(0).scrollHeight-c.$results.scrollTop()+a.deltaY,e=a.deltaY>0&&b-a.deltaY<=0,f=a.deltaY<0&&d<=c.$results.height();e?(c.$results.scrollTop(0),a.preventDefault(),a.stopPropagation()):f&&(c.$results.scrollTop(c.$results.get(0).scrollHeight-c.$results.height()),a.preventDefault(),a.stopPropagation())}),this.$results.on("mouseup",".select2-results__option[aria-selected]",function(b){var d=a(this),e=d.data("data");return"true"===d.attr("aria-selected")?void(c.options.get("multiple")?c.trigger("unselect",{originalEvent:b,data:e}):c.trigger("close")):void c.trigger("select",{originalEvent:b,data:e})}),this.$results.on("mouseenter",".select2-results__option[aria-selected]",function(){var b=a(this).data("data");c.getHighlightedResults().removeClass("select2-results__option--highlighted"),c.trigger("results:focus",{data:b,element:a(this)})})},c.prototype.getHighlightedResults=function(){var a=this.$results.find(".select2-results__option--highlighted");return a},c.prototype.destroy=function(){this.$results.remove()},c.prototype.ensureHighlightVisible=function(){var a=this.getHighlightedResults();if(0!==a.length){var b=this.$results.find("[aria-selected]"),c=b.index(a),d=this.$results.offset().top,e=a.offset().top,f=this.$results.scrollTop()+(e-d),g=e-d;f-=2*a.outerHeight(!1),2>=c?this.$results.scrollTop(0):(g>this.$results.outerHeight()||0>g)&&this.$results.scrollTop(f)}},c.prototype.template=function(b,c){var d=this.options.get("templateResult"),e=this.options.get("escapeMarkup"),f=d(b);null==f?c.style.display="none":"string"==typeof f?c.innerHTML=e(f):a(c).append(f)},c}),b.define("select2/keys",[],function(){var a={BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46};return a}),b.define("select2/selection/base",["jquery","../utils","../keys"],function(a,b,c){function d(a,b){this.$element=a,this.options=b,d.__super__.constructor.call(this)}return b.Extend(d,b.Observable),d.prototype.render=function(){var b=a('<span class="select2-selection" role="combobox" aria-autocomplete="list" aria-haspopup="true" aria-expanded="false"></span>');return this._tabindex=0,null!=this.$element.data("old-tabindex")?this._tabindex=this.$element.data("old-tabindex"):null!=this.$element.attr("tabindex")&&(this._tabindex=this.$element.attr("tabindex")),b.attr("title",this.$element.attr("title")),b.attr("tabindex",this._tabindex),this.$selection=b,b},d.prototype.bind=function(a){var b=this,d=(a.id+"-container",a.id+"-results");this.container=a,this.$selection.on("focus",function(a){b.trigger("focus",a)}),this.$selection.on("blur",function(a){b.trigger("blur",a)}),this.$selection.on("keydown",function(a){b.trigger("keypress",a),a.which===c.SPACE&&a.preventDefault()}),a.on("results:focus",function(a){b.$selection.attr("aria-activedescendant",a.data._resultId)}),a.on("selection:update",function(a){b.update(a.data)}),a.on("open",function(){b.$selection.attr("aria-expanded","true"),b.$selection.attr("aria-owns",d),b._attachCloseHandler(a)}),a.on("close",function(){b.$selection.attr("aria-expanded","false"),b.$selection.removeAttr("aria-activedescendant"),b.$selection.removeAttr("aria-owns"),b.$selection.focus(),b._detachCloseHandler(a)}),a.on("enable",function(){b.$selection.attr("tabindex",b._tabindex)}),a.on("disable",function(){b.$selection.attr("tabindex","-1")})},d.prototype._attachCloseHandler=function(b){a(document.body).on("mousedown.select2."+b.id,function(b){var c=a(b.target),d=c.closest(".select2"),e=a(".select2.select2-container--open");e.each(function(){var b=a(this);if(this!=d[0]){var c=b.data("element");c.select2("close")}})})},d.prototype._detachCloseHandler=function(b){a(document.body).off("mousedown.select2."+b.id)},d.prototype.position=function(a,b){var c=b.find(".selection");c.append(a)},d.prototype.destroy=function(){this._detachCloseHandler(this.container)},d.prototype.update=function(){throw new Error("The `update` method must be defined in child classes.")},d}),b.define("select2/selection/single",["jquery","./base","../utils","../keys"],function(a,b,c){function d(){d.__super__.constructor.apply(this,arguments)}return c.Extend(d,b),d.prototype.render=function(){var a=d.__super__.render.call(this);return a.addClass("select2-selection--single"),a.html('<span class="select2-selection__rendered"></span><span class="select2-selection__arrow" role="presentation"><b role="presentation"></b></span>'),a},d.prototype.bind=function(a){var b=this;d.__super__.bind.apply(this,arguments);var c=a.id+"-container";this.$selection.find(".select2-selection__rendered").attr("id",c),this.$selection.attr("aria-labelledby",c),this.$selection.on("mousedown",function(a){1===a.which&&b.trigger("toggle",{originalEvent:a})}),this.$selection.on("focus",function(){}),this.$selection.on("blur",function(){}),a.on("selection:update",function(a){b.update(a.data)})},d.prototype.clear=function(){this.$selection.find(".select2-selection__rendered").empty()},d.prototype.display=function(a){var b=this.options.get("templateSelection"),c=this.options.get("escapeMarkup");return c(b(a))},d.prototype.selectionContainer=function(){return a("<span></span>")},d.prototype.update=function(a){if(0===a.length)return void this.clear();var b=a[0],c=this.display(b),d=this.$selection.find(".select2-selection__rendered");d.empty().append(c),d.prop("title",b.title||b.text)},d}),b.define("select2/selection/multiple",["jquery","./base","../utils"],function(a,b,c){function d(){d.__super__.constructor.apply(this,arguments)}return c.Extend(d,b),d.prototype.render=function(){var a=d.__super__.render.call(this);return a.addClass("select2-selection--multiple"),a.html('<ul class="select2-selection__rendered"></ul>'),a},d.prototype.bind=function(){var b=this;d.__super__.bind.apply(this,arguments),this.$selection.on("click",function(a){b.trigger("toggle",{originalEvent:a})}),this.$selection.on("click",".select2-selection__choice__remove",function(c){var d=a(this),e=d.parent(),f=e.data("data");b.trigger("unselect",{originalEvent:c,data:f})})},d.prototype.clear=function(){this.$selection.find(".select2-selection__rendered").empty()},d.prototype.display=function(a){var b=this.options.get("templateSelection"),c=this.options.get("escapeMarkup");return c(b(a))},d.prototype.selectionContainer=function(){var b=a('<li class="select2-selection__choice"><span class="select2-selection__choice__remove" role="presentation">×</span></li>');return b},d.prototype.update=function(a){if(this.clear(),0!==a.length){for(var b=[],d=0;d<a.length;d++){var e=a[d],f=this.display(e),g=this.selectionContainer();g.append(f),g.prop("title",e.title||e.text),g.data("data",e),b.push(g)}var h=this.$selection.find(".select2-selection__rendered");c.appendMany(h,b)}},d}),b.define("select2/selection/placeholder",["../utils"],function(){function a(a,b,c){this.placeholder=this.normalizePlaceholder(c.get("placeholder")),a.call(this,b,c)}return a.prototype.normalizePlaceholder=function(a,b){return"string"==typeof b&&(b={id:"",text:b}),b},a.prototype.createPlaceholder=function(a,b){var c=this.selectionContainer();return c.html(this.display(b)),c.addClass("select2-selection__placeholder").removeClass("select2-selection__choice"),c},a.prototype.update=function(a,b){var c=1==b.length&&b[0].id!=this.placeholder.id,d=b.length>1;if(d||c)return a.call(this,b);this.clear();var e=this.createPlaceholder(this.placeholder);this.$selection.find(".select2-selection__rendered").append(e)},a}),b.define("select2/selection/allowClear",["jquery","../keys"],function(a,b){function c(){}return c.prototype.bind=function(a,b,c){var d=this;a.call(this,b,c),null==this.placeholder&&this.options.get("debug")&&window.console&&console.error&&console.error("Select2: The `allowClear` option should be used in combination with the `placeholder` option."),this.$selection.on("mousedown",".select2-selection__clear",function(a){d._handleClear(a)}),b.on("keypress",function(a){d._handleKeyboardClear(a,b)})},c.prototype._handleClear=function(a,b){if(!this.options.get("disabled")){var c=this.$selection.find(".select2-selection__clear");if(0!==c.length){b.stopPropagation();for(var d=c.data("data"),e=0;e<d.length;e++){var f={data:d[e]};if(this.trigger("unselect",f),f.prevented)return}this.$element.val(this.placeholder.id).trigger("change"),this.trigger("toggle")}}},c.prototype._handleKeyboardClear=function(a,c,d){d.isOpen()||(c.which==b.DELETE||c.which==b.BACKSPACE)&&this._handleClear(c)},c.prototype.update=function(b,c){if(b.call(this,c),!(this.$selection.find(".select2-selection__placeholder").length>0||0===c.length)){var d=a('<span class="select2-selection__clear">×</span>');d.data("data",c),this.$selection.find(".select2-selection__rendered").prepend(d)}},c}),b.define("select2/selection/search",["jquery","../utils","../keys"],function(a,b,c){function d(a,b,c){a.call(this,b,c)}return d.prototype.render=function(b){var c=a('<li class="select2-search select2-search--inline"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" role="textbox" /></li>');this.$searchContainer=c,this.$search=c.find("input");var d=b.call(this);return d},d.prototype.bind=function(a,b,d){var e=this;a.call(this,b,d),b.on("open",function(){e.$search.attr("tabindex",0),e.$search.focus()}),b.on("close",function(){e.$search.attr("tabindex",-1),e.$search.val(""),e.$search.focus()}),b.on("enable",function(){e.$search.prop("disabled",!1)}),b.on("disable",function(){e.$search.prop("disabled",!0)}),this.$selection.on("focusin",".select2-search--inline",function(a){e.trigger("focus",a)}),this.$selection.on("focusout",".select2-search--inline",function(a){e.trigger("blur",a)}),this.$selection.on("keydown",".select2-search--inline",function(a){a.stopPropagation(),e.trigger("keypress",a),e._keyUpPrevented=a.isDefaultPrevented();var b=a.which;if(b===c.BACKSPACE&&""===e.$search.val()){var d=e.$searchContainer.prev(".select2-selection__choice");if(d.length>0){var f=d.data("data");e.searchRemoveChoice(f),a.preventDefault()}}}),this.$selection.on("input",".select2-search--inline",function(){e.$selection.off("keyup.search")}),this.$selection.on("keyup.search input",".select2-search--inline",function(a){e.handleSearch(a)})},d.prototype.createPlaceholder=function(a,b){this.$search.attr("placeholder",b.text)},d.prototype.update=function(a,b){this.$search.attr("placeholder",""),a.call(this,b),this.$selection.find(".select2-selection__rendered").append(this.$searchContainer),this.resizeSearch()},d.prototype.handleSearch=function(){if(this.resizeSearch(),!this._keyUpPrevented){var a=this.$search.val();this.trigger("query",{term:a})}this._keyUpPrevented=!1},d.prototype.searchRemoveChoice=function(a,b){this.trigger("unselect",{data:b}),this.trigger("open"),this.$search.val(b.text+" ")},d.prototype.resizeSearch=function(){this.$search.css("width","25px");var a="";if(""!==this.$search.attr("placeholder"))a=this.$selection.find(".select2-selection__rendered").innerWidth();else{var b=this.$search.val().length+1;a=.75*b+"em"}this.$search.css("width",a)},d}),b.define("select2/selection/eventRelay",["jquery"],function(a){function b(){}return b.prototype.bind=function(b,c,d){var e=this,f=["open","opening","close","closing","select","selecting","unselect","unselecting"],g=["opening","closing","selecting","unselecting"];b.call(this,c,d),c.on("*",function(b,c){if(-1!==a.inArray(b,f)){c=c||{};var d=a.Event("select2:"+b,{params:c});e.$element.trigger(d),-1!==a.inArray(b,g)&&(c.prevented=d.isDefaultPrevented())}})},b}),b.define("select2/translation",["jquery","require"],function(a,b){function c(a){this.dict=a||{}}return c.prototype.all=function(){return this.dict},c.prototype.get=function(a){return this.dict[a]},c.prototype.extend=function(b){this.dict=a.extend({},b.all(),this.dict)},c._cache={},c.loadPath=function(a){if(!(a in c._cache)){var d=b(a);c._cache[a]=d}return new c(c._cache[a])},c}),b.define("select2/diacritics",[],function(){var a={"Ⓐ":"A","A":"A","À":"A","Á":"A","Â":"A","Ầ":"A","Ấ":"A","Ẫ":"A","Ẩ":"A","Ã":"A","Ā":"A","Ă":"A","Ằ":"A","Ắ":"A","Ẵ":"A","Ẳ":"A","Ȧ":"A","Ǡ":"A","Ä":"A","Ǟ":"A","Ả":"A","Å":"A","Ǻ":"A","Ǎ":"A","Ȁ":"A","Ȃ":"A","Ạ":"A","Ậ":"A","Ặ":"A","Ḁ":"A","Ą":"A","Ⱥ":"A","Ɐ":"A","Ꜳ":"AA","Æ":"AE","Ǽ":"AE","Ǣ":"AE","Ꜵ":"AO","Ꜷ":"AU","Ꜹ":"AV","Ꜻ":"AV","Ꜽ":"AY","Ⓑ":"B","B":"B","Ḃ":"B","Ḅ":"B","Ḇ":"B","Ƀ":"B","Ƃ":"B","Ɓ":"B","Ⓒ":"C","C":"C","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","Ç":"C","Ḉ":"C","Ƈ":"C","Ȼ":"C","Ꜿ":"C","Ⓓ":"D","D":"D","Ḋ":"D","Ď":"D","Ḍ":"D","Ḑ":"D","Ḓ":"D","Ḏ":"D","Đ":"D","Ƌ":"D","Ɗ":"D","Ɖ":"D","Ꝺ":"D","DZ":"DZ","DŽ":"DZ","Dz":"Dz","Dž":"Dz","Ⓔ":"E","E":"E","È":"E","É":"E","Ê":"E","Ề":"E","Ế":"E","Ễ":"E","Ể":"E","Ẽ":"E","Ē":"E","Ḕ":"E","Ḗ":"E","Ĕ":"E","Ė":"E","Ë":"E","Ẻ":"E","Ě":"E","Ȅ":"E","Ȇ":"E","Ẹ":"E","Ệ":"E","Ȩ":"E","Ḝ":"E","Ę":"E","Ḙ":"E","Ḛ":"E","Ɛ":"E","Ǝ":"E","Ⓕ":"F","F":"F","Ḟ":"F","Ƒ":"F","Ꝼ":"F","Ⓖ":"G","G":"G","Ǵ":"G","Ĝ":"G","Ḡ":"G","Ğ":"G","Ġ":"G","Ǧ":"G","Ģ":"G","Ǥ":"G","Ɠ":"G","Ꞡ":"G","Ᵹ":"G","Ꝿ":"G","Ⓗ":"H","H":"H","Ĥ":"H","Ḣ":"H","Ḧ":"H","Ȟ":"H","Ḥ":"H","Ḩ":"H","Ḫ":"H","Ħ":"H","Ⱨ":"H","Ⱶ":"H","Ɥ":"H","Ⓘ":"I","I":"I","Ì":"I","Í":"I","Î":"I","Ĩ":"I","Ī":"I","Ĭ":"I","İ":"I","Ï":"I","Ḯ":"I","Ỉ":"I","Ǐ":"I","Ȉ":"I","Ȋ":"I","Ị":"I","Į":"I","Ḭ":"I","Ɨ":"I","Ⓙ":"J","J":"J","Ĵ":"J","Ɉ":"J","Ⓚ":"K","K":"K","Ḱ":"K","Ǩ":"K","Ḳ":"K","Ķ":"K","Ḵ":"K","Ƙ":"K","Ⱪ":"K","Ꝁ":"K","Ꝃ":"K","Ꝅ":"K","Ꞣ":"K","Ⓛ":"L","L":"L","Ŀ":"L","Ĺ":"L","Ľ":"L","Ḷ":"L","Ḹ":"L","Ļ":"L","Ḽ":"L","Ḻ":"L","Ł":"L","Ƚ":"L","Ɫ":"L","Ⱡ":"L","Ꝉ":"L","Ꝇ":"L","Ꞁ":"L","LJ":"LJ","Lj":"Lj","Ⓜ":"M","M":"M","Ḿ":"M","Ṁ":"M","Ṃ":"M","Ɱ":"M","Ɯ":"M","Ⓝ":"N","N":"N","Ǹ":"N","Ń":"N","Ñ":"N","Ṅ":"N","Ň":"N","Ṇ":"N","Ņ":"N","Ṋ":"N","Ṉ":"N","Ƞ":"N","Ɲ":"N","Ꞑ":"N","Ꞥ":"N","NJ":"NJ","Nj":"Nj","Ⓞ":"O","O":"O","Ò":"O","Ó":"O","Ô":"O","Ồ":"O","Ố":"O","Ỗ":"O","Ổ":"O","Õ":"O","Ṍ":"O","Ȭ":"O","Ṏ":"O","Ō":"O","Ṑ":"O","Ṓ":"O","Ŏ":"O","Ȯ":"O","Ȱ":"O","Ö":"O","Ȫ":"O","Ỏ":"O","Ő":"O","Ǒ":"O","Ȍ":"O","Ȏ":"O","Ơ":"O","Ờ":"O","Ớ":"O","Ỡ":"O","Ở":"O","Ợ":"O","Ọ":"O","Ộ":"O","Ǫ":"O","Ǭ":"O","Ø":"O","Ǿ":"O","Ɔ":"O","Ɵ":"O","Ꝋ":"O","Ꝍ":"O","Ƣ":"OI","Ꝏ":"OO","Ȣ":"OU","Ⓟ":"P","P":"P","Ṕ":"P","Ṗ":"P","Ƥ":"P","Ᵽ":"P","Ꝑ":"P","Ꝓ":"P","Ꝕ":"P","Ⓠ":"Q","Q":"Q","Ꝗ":"Q","Ꝙ":"Q","Ɋ":"Q","Ⓡ":"R","R":"R","Ŕ":"R","Ṙ":"R","Ř":"R","Ȑ":"R","Ȓ":"R","Ṛ":"R","Ṝ":"R","Ŗ":"R","Ṟ":"R","Ɍ":"R","Ɽ":"R","Ꝛ":"R","Ꞧ":"R","Ꞃ":"R","Ⓢ":"S","S":"S","ẞ":"S","Ś":"S","Ṥ":"S","Ŝ":"S","Ṡ":"S","Š":"S","Ṧ":"S","Ṣ":"S","Ṩ":"S","Ș":"S","Ş":"S","Ȿ":"S","Ꞩ":"S","Ꞅ":"S","Ⓣ":"T","T":"T","Ṫ":"T","Ť":"T","Ṭ":"T","Ț":"T","Ţ":"T","Ṱ":"T","Ṯ":"T","Ŧ":"T","Ƭ":"T","Ʈ":"T","Ⱦ":"T","Ꞇ":"T","Ꜩ":"TZ","Ⓤ":"U","U":"U","Ù":"U","Ú":"U","Û":"U","Ũ":"U","Ṹ":"U","Ū":"U","Ṻ":"U","Ŭ":"U","Ü":"U","Ǜ":"U","Ǘ":"U","Ǖ":"U","Ǚ":"U","Ủ":"U","Ů":"U","Ű":"U","Ǔ":"U","Ȕ":"U","Ȗ":"U","Ư":"U","Ừ":"U","Ứ":"U","Ữ":"U","Ử":"U","Ự":"U","Ụ":"U","Ṳ":"U","Ų":"U","Ṷ":"U","Ṵ":"U","Ʉ":"U","Ⓥ":"V","V":"V","Ṽ":"V","Ṿ":"V","Ʋ":"V","Ꝟ":"V","Ʌ":"V","Ꝡ":"VY","Ⓦ":"W","W":"W","Ẁ":"W","Ẃ":"W","Ŵ":"W","Ẇ":"W","Ẅ":"W","Ẉ":"W","Ⱳ":"W","Ⓧ":"X","X":"X","Ẋ":"X","Ẍ":"X","Ⓨ":"Y","Y":"Y","Ỳ":"Y","Ý":"Y","Ŷ":"Y","Ỹ":"Y","Ȳ":"Y","Ẏ":"Y","Ÿ":"Y","Ỷ":"Y","Ỵ":"Y","Ƴ":"Y","Ɏ":"Y","Ỿ":"Y","Ⓩ":"Z","Z":"Z","Ź":"Z","Ẑ":"Z","Ż":"Z","Ž":"Z","Ẓ":"Z","Ẕ":"Z","Ƶ":"Z","Ȥ":"Z","Ɀ":"Z","Ⱬ":"Z","Ꝣ":"Z","ⓐ":"a","a":"a","ẚ":"a","à":"a","á":"a","â":"a","ầ":"a","ấ":"a","ẫ":"a","ẩ":"a","ã":"a","ā":"a","ă":"a","ằ":"a","ắ":"a","ẵ":"a","ẳ":"a","ȧ":"a","ǡ":"a","ä":"a","ǟ":"a","ả":"a","å":"a","ǻ":"a","ǎ":"a","ȁ":"a","ȃ":"a","ạ":"a","ậ":"a","ặ":"a","ḁ":"a","ą":"a","ⱥ":"a","ɐ":"a","ꜳ":"aa","æ":"ae","ǽ":"ae","ǣ":"ae","ꜵ":"ao","ꜷ":"au","ꜹ":"av","ꜻ":"av","ꜽ":"ay","ⓑ":"b","b":"b","ḃ":"b","ḅ":"b","ḇ":"b","ƀ":"b","ƃ":"b","ɓ":"b","ⓒ":"c","c":"c","ć":"c","ĉ":"c","ċ":"c","č":"c","ç":"c","ḉ":"c","ƈ":"c","ȼ":"c","ꜿ":"c","ↄ":"c","ⓓ":"d","d":"d","ḋ":"d","ď":"d","ḍ":"d","ḑ":"d","ḓ":"d","ḏ":"d","đ":"d","ƌ":"d","ɖ":"d","ɗ":"d","ꝺ":"d","dz":"dz","dž":"dz","ⓔ":"e","e":"e","è":"e","é":"e","ê":"e","ề":"e","ế":"e","ễ":"e","ể":"e","ẽ":"e","ē":"e","ḕ":"e","ḗ":"e","ĕ":"e","ė":"e","ë":"e","ẻ":"e","ě":"e","ȅ":"e","ȇ":"e","ẹ":"e","ệ":"e","ȩ":"e","ḝ":"e","ę":"e","ḙ":"e","ḛ":"e","ɇ":"e","ɛ":"e","ǝ":"e","ⓕ":"f","f":"f","ḟ":"f","ƒ":"f","ꝼ":"f","ⓖ":"g","g":"g","ǵ":"g","ĝ":"g","ḡ":"g","ğ":"g","ġ":"g","ǧ":"g","ģ":"g","ǥ":"g","ɠ":"g","ꞡ":"g","ᵹ":"g","ꝿ":"g","ⓗ":"h","h":"h","ĥ":"h","ḣ":"h","ḧ":"h","ȟ":"h","ḥ":"h","ḩ":"h","ḫ":"h","ẖ":"h","ħ":"h","ⱨ":"h","ⱶ":"h","ɥ":"h","ƕ":"hv","ⓘ":"i","i":"i","ì":"i","í":"i","î":"i","ĩ":"i","ī":"i","ĭ":"i","ï":"i","ḯ":"i","ỉ":"i","ǐ":"i","ȉ":"i","ȋ":"i","ị":"i","į":"i","ḭ":"i","ɨ":"i","ı":"i","ⓙ":"j","j":"j","ĵ":"j","ǰ":"j","ɉ":"j","ⓚ":"k","k":"k","ḱ":"k","ǩ":"k","ḳ":"k","ķ":"k","ḵ":"k","ƙ":"k","ⱪ":"k","ꝁ":"k","ꝃ":"k","ꝅ":"k","ꞣ":"k","ⓛ":"l","l":"l","ŀ":"l","ĺ":"l","ľ":"l","ḷ":"l","ḹ":"l","ļ":"l","ḽ":"l","ḻ":"l","ſ":"l","ł":"l","ƚ":"l","ɫ":"l","ⱡ":"l","ꝉ":"l","ꞁ":"l","ꝇ":"l","lj":"lj","ⓜ":"m","m":"m","ḿ":"m","ṁ":"m","ṃ":"m","ɱ":"m","ɯ":"m","ⓝ":"n","n":"n","ǹ":"n","ń":"n","ñ":"n","ṅ":"n","ň":"n","ṇ":"n","ņ":"n","ṋ":"n","ṉ":"n","ƞ":"n","ɲ":"n","ʼn":"n","ꞑ":"n","ꞥ":"n","nj":"nj","ⓞ":"o","o":"o","ò":"o","ó":"o","ô":"o","ồ":"o","ố":"o","ỗ":"o","ổ":"o","õ":"o","ṍ":"o","ȭ":"o","ṏ":"o","ō":"o","ṑ":"o","ṓ":"o","ŏ":"o","ȯ":"o","ȱ":"o","ö":"o","ȫ":"o","ỏ":"o","ő":"o","ǒ":"o","ȍ":"o","ȏ":"o","ơ":"o","ờ":"o","ớ":"o","ỡ":"o","ở":"o","ợ":"o","ọ":"o","ộ":"o","ǫ":"o","ǭ":"o","ø":"o","ǿ":"o","ɔ":"o","ꝋ":"o","ꝍ":"o","ɵ":"o","ƣ":"oi","ȣ":"ou","ꝏ":"oo","ⓟ":"p","p":"p","ṕ":"p","ṗ":"p","ƥ":"p","ᵽ":"p","ꝑ":"p","ꝓ":"p","ꝕ":"p","ⓠ":"q","q":"q","ɋ":"q","ꝗ":"q","ꝙ":"q","ⓡ":"r","r":"r","ŕ":"r","ṙ":"r","ř":"r","ȑ":"r","ȓ":"r","ṛ":"r","ṝ":"r","ŗ":"r","ṟ":"r","ɍ":"r","ɽ":"r","ꝛ":"r","ꞧ":"r","ꞃ":"r","ⓢ":"s","s":"s","ß":"s","ś":"s","ṥ":"s","ŝ":"s","ṡ":"s","š":"s","ṧ":"s","ṣ":"s","ṩ":"s","ș":"s","ş":"s","ȿ":"s","ꞩ":"s","ꞅ":"s","ẛ":"s","ⓣ":"t","t":"t","ṫ":"t","ẗ":"t","ť":"t","ṭ":"t","ț":"t","ţ":"t","ṱ":"t","ṯ":"t","ŧ":"t","ƭ":"t","ʈ":"t","ⱦ":"t","ꞇ":"t","ꜩ":"tz","ⓤ":"u","u":"u","ù":"u","ú":"u","û":"u","ũ":"u","ṹ":"u","ū":"u","ṻ":"u","ŭ":"u","ü":"u","ǜ":"u","ǘ":"u","ǖ":"u","ǚ":"u","ủ":"u","ů":"u","ű":"u","ǔ":"u","ȕ":"u","ȗ":"u","ư":"u","ừ":"u","ứ":"u","ữ":"u","ử":"u","ự":"u","ụ":"u","ṳ":"u","ų":"u","ṷ":"u","ṵ":"u","ʉ":"u","ⓥ":"v","v":"v","ṽ":"v","ṿ":"v","ʋ":"v","ꝟ":"v","ʌ":"v","ꝡ":"vy","ⓦ":"w","w":"w","ẁ":"w","ẃ":"w","ŵ":"w","ẇ":"w","ẅ":"w","ẘ":"w","ẉ":"w","ⱳ":"w","ⓧ":"x","x":"x","ẋ":"x","ẍ":"x","ⓨ":"y","y":"y","ỳ":"y","ý":"y","ŷ":"y","ỹ":"y","ȳ":"y","ẏ":"y","ÿ":"y","ỷ":"y","ẙ":"y","ỵ":"y","ƴ":"y","ɏ":"y","ỿ":"y","ⓩ":"z","z":"z","ź":"z","ẑ":"z","ż":"z","ž":"z","ẓ":"z","ẕ":"z","ƶ":"z","ȥ":"z","ɀ":"z","ⱬ":"z","ꝣ":"z","Ά":"Α","Έ":"Ε","Ή":"Η","Ί":"Ι","Ϊ":"Ι","Ό":"Ο","Ύ":"Υ","Ϋ":"Υ","Ώ":"Ω","ά":"α","έ":"ε","ή":"η","ί":"ι","ϊ":"ι","ΐ":"ι","ό":"ο","ύ":"υ","ϋ":"υ","ΰ":"υ","ω":"ω","ς":"σ"};return a}),b.define("select2/data/base",["../utils"],function(a){function b(){b.__super__.constructor.call(this)}return a.Extend(b,a.Observable),b.prototype.current=function(){throw new Error("The `current` method must be defined in child classes.")},b.prototype.query=function(){throw new Error("The `query` method must be defined in child classes.")},b.prototype.bind=function(){},b.prototype.destroy=function(){},b.prototype.generateResultId=function(b,c){var d=b.id+"-result-";return d+=a.generateChars(4),d+=null!=c.id?"-"+c.id.toString():"-"+a.generateChars(4)},b}),b.define("select2/data/select",["./base","../utils","jquery"],function(a,b,c){function d(a,b){this.$element=a,this.options=b,d.__super__.constructor.call(this)}return b.Extend(d,a),d.prototype.current=function(a){var b=[],d=this;this.$element.find(":selected").each(function(){var a=c(this),e=d.item(a);b.push(e)}),a(b)},d.prototype.select=function(a){var b=this;if(a.selected=!0,c(a.element).is("option"))return a.element.selected=!0,void this.$element.trigger("change");if(this.$element.prop("multiple"))this.current(function(d){var e=[];a=[a],a.push.apply(a,d);for(var f=0;f<a.length;f++){var g=a[f].id;-1===c.inArray(g,e)&&e.push(g)}b.$element.val(e),b.$element.trigger("change")});else{var d=a.id;this.$element.val(d),this.$element.trigger("change")}},d.prototype.unselect=function(a){var b=this;if(this.$element.prop("multiple"))return a.selected=!1,c(a.element).is("option")?(a.element.selected=!1,void this.$element.trigger("change")):void this.current(function(d){for(var e=[],f=0;f<d.length;f++){var g=d[f].id;g!==a.id&&-1===c.inArray(g,e)&&e.push(g)}b.$element.val(e),b.$element.trigger("change")})},d.prototype.bind=function(a){var b=this;this.container=a,a.on("select",function(a){b.select(a.data)}),a.on("unselect",function(a){b.unselect(a.data)})},d.prototype.destroy=function(){this.$element.find("*").each(function(){c.removeData(this,"data")})},d.prototype.query=function(a,b){var d=[],e=this,f=this.$element.children();f.each(function(){var b=c(this);if(b.is("option")||b.is("optgroup")){var f=e.item(b),g=e.matches(a,f);null!==g&&d.push(g)}}),b({results:d})},d.prototype.addOptions=function(a){b.appendMany(this.$element,a)},d.prototype.option=function(a){var b;a.children?(b=document.createElement("optgroup"),b.label=a.text):(b=document.createElement("option"),void 0!==b.textContent?b.textContent=a.text:b.innerText=a.text),a.id&&(b.value=a.id),a.disabled&&(b.disabled=!0),a.selected&&(b.selected=!0),a.title&&(b.title=a.title);var d=c(b),e=this._normalizeItem(a);return e.element=b,c.data(b,"data",e),d},d.prototype.item=function(a){var b={};
|
|
16
76
|
if(b=c.data(a[0],"data"),null!=b)return b;if(a.is("option"))b={id:a.val(),text:a.text(),disabled:a.prop("disabled"),selected:a.prop("selected"),title:a.prop("title")};else if(a.is("optgroup")){b={text:a.prop("label"),children:[],title:a.prop("title")};for(var d=a.children("option"),e=[],f=0;f<d.length;f++){var g=c(d[f]),h=this.item(g);e.push(h)}b.children=e}return b=this._normalizeItem(b),b.element=a[0],c.data(a[0],"data",b),b},d.prototype._normalizeItem=function(a){c.isPlainObject(a)||(a={id:a,text:a}),a=c.extend({},{text:""},a);var b={selected:!1,disabled:!1};return null!=a.id&&(a.id=a.id.toString()),null!=a.text&&(a.text=a.text.toString()),null==a._resultId&&a.id&&null!=this.container&&(a._resultId=this.generateResultId(this.container,a)),c.extend({},b,a)},d.prototype.matches=function(a,b){var c=this.options.get("matcher");return c(a,b)},d}),b.define("select2/data/array",["./select","../utils","jquery"],function(a,b,c){function d(a,b){var c=b.get("data")||[];d.__super__.constructor.call(this,a,b),this.addOptions(this.convertToOptions(c))}return b.Extend(d,a),d.prototype.select=function(a){var b=this.$element.find("option").filter(function(b,c){return c.value==a.id.toString()});0===b.length&&(b=this.option(a),this.addOptions(b)),d.__super__.select.call(this,a)},d.prototype.convertToOptions=function(a){function d(a){return function(){return c(this).val()==a.id}}for(var e=this,f=this.$element.find("option"),g=f.map(function(){return e.item(c(this)).id}).get(),h=[],i=0;i<a.length;i++){var j=this._normalizeItem(a[i]);if(c.inArray(j.id,g)>=0){var k=f.filter(d(j)),l=this.item(k),m=(c.extend(!0,{},l,j),this.option(l));k.replaceWith(m)}else{var n=this.option(j);if(j.children){var o=this.convertToOptions(j.children);b.appendMany(n,o)}h.push(n)}}return h},d}),b.define("select2/data/ajax",["./array","../utils","jquery"],function(a,b,c){function d(b,c){this.ajaxOptions=this._applyDefaults(c.get("ajax")),null!=this.ajaxOptions.processResults&&(this.processResults=this.ajaxOptions.processResults),a.__super__.constructor.call(this,b,c)}return b.Extend(d,a),d.prototype._applyDefaults=function(a){var b={data:function(a){return{q:a.term}},transport:function(a,b,d){var e=c.ajax(a);return e.then(b),e.fail(d),e}};return c.extend({},b,a,!0)},d.prototype.processResults=function(a){return a},d.prototype.query=function(a,b){function d(){var d=f.transport(f,function(d){var f=e.processResults(d,a);e.options.get("debug")&&window.console&&console.error&&(f&&f.results&&c.isArray(f.results)||console.error("Select2: The AJAX results did not return an array in the `results` key of the response.")),b(f)},function(){});e._request=d}var e=this;null!=this._request&&(c.isFunction(this._request.abort)&&this._request.abort(),this._request=null);var f=c.extend({type:"GET"},this.ajaxOptions);"function"==typeof f.url&&(f.url=f.url(a)),"function"==typeof f.data&&(f.data=f.data(a)),this.ajaxOptions.delay&&""!==a.term?(this._queryTimeout&&window.clearTimeout(this._queryTimeout),this._queryTimeout=window.setTimeout(d,this.ajaxOptions.delay)):d()},d}),b.define("select2/data/tags",["jquery"],function(a){function b(b,c,d){var e=d.get("tags"),f=d.get("createTag");if(void 0!==f&&(this.createTag=f),b.call(this,c,d),a.isArray(e))for(var g=0;g<e.length;g++){var h=e[g],i=this._normalizeItem(h),j=this.option(i);this.$element.append(j)}}return b.prototype.query=function(a,b,c){function d(a,f){for(var g=a.results,h=0;h<g.length;h++){var i=g[h],j=null!=i.children&&!d({results:i.children},!0),k=i.text===b.term;if(k||j)return f?!1:(a.data=g,void c(a))}if(f)return!0;var l=e.createTag(b);if(null!=l){var m=e.option(l);m.attr("data-select2-tag",!0),e.addOptions([m]),e.insertTag(g,l)}a.results=g,c(a)}var e=this;return this._removeOldTags(),null==b.term||null!=b.page?void a.call(this,b,c):void a.call(this,b,d)},b.prototype.createTag=function(b,c){var d=a.trim(c.term);return""===d?null:{id:d,text:d}},b.prototype.insertTag=function(a,b,c){b.unshift(c)},b.prototype._removeOldTags=function(){var b=(this._lastTag,this.$element.find("option[data-select2-tag]"));b.each(function(){this.selected||a(this).remove()})},b}),b.define("select2/data/tokenizer",["jquery"],function(a){function b(a,b,c){var d=c.get("tokenizer");void 0!==d&&(this.tokenizer=d),a.call(this,b,c)}return b.prototype.bind=function(a,b,c){a.call(this,b,c),this.$search=b.dropdown.$search||b.selection.$search||c.find(".select2-search__field")},b.prototype.query=function(a,b,c){function d(a){e.select(a)}var e=this;b.term=b.term||"";var f=this.tokenizer(b,this.options,d);f.term!==b.term&&(this.$search.length&&(this.$search.val(f.term),this.$search.focus()),b.term=f.term),a.call(this,b,c)},b.prototype.tokenizer=function(b,c,d,e){for(var f=d.get("tokenSeparators")||[],g=c.term,h=0,i=this.createTag||function(a){return{id:a.term,text:a.term}};h<g.length;){var j=g[h];if(-1!==a.inArray(j,f)){var k=g.substr(0,h),l=a.extend({},c,{term:k}),m=i(l);e(m),g=g.substr(h+1)||"",h=0}else h++}return{term:g}},b}),b.define("select2/data/minimumInputLength",[],function(){function a(a,b,c){this.minimumInputLength=c.get("minimumInputLength"),a.call(this,b,c)}return a.prototype.query=function(a,b,c){return b.term=b.term||"",b.term.length<this.minimumInputLength?void this.trigger("results:message",{message:"inputTooShort",args:{minimum:this.minimumInputLength,input:b.term,params:b}}):void a.call(this,b,c)},a}),b.define("select2/data/maximumInputLength",[],function(){function a(a,b,c){this.maximumInputLength=c.get("maximumInputLength"),a.call(this,b,c)}return a.prototype.query=function(a,b,c){return b.term=b.term||"",this.maximumInputLength>0&&b.term.length>this.maximumInputLength?void this.trigger("results:message",{message:"inputTooLong",args:{maximum:this.maximumInputLength,input:b.term,params:b}}):void a.call(this,b,c)},a}),b.define("select2/data/maximumSelectionLength",[],function(){function a(a,b,c){this.maximumSelectionLength=c.get("maximumSelectionLength"),a.call(this,b,c)}return a.prototype.query=function(a,b,c){var d=this;this.current(function(e){var f=null!=e?e.length:0;return d.maximumSelectionLength>0&&f>=d.maximumSelectionLength?void d.trigger("results:message",{message:"maximumSelected",args:{maximum:d.maximumSelectionLength}}):void a.call(d,b,c)})},a}),b.define("select2/dropdown",["jquery","./utils"],function(a,b){function c(a,b){this.$element=a,this.options=b,c.__super__.constructor.call(this)}return b.Extend(c,b.Observable),c.prototype.render=function(){var b=a('<span class="select2-dropdown"><span class="select2-results"></span></span>');return b.attr("dir",this.options.get("dir")),this.$dropdown=b,b},c.prototype.position=function(){},c.prototype.destroy=function(){this.$dropdown.remove()},c}),b.define("select2/dropdown/search",["jquery","../utils"],function(a){function b(){}return b.prototype.render=function(b){var c=b.call(this),d=a('<span class="select2-search select2-search--dropdown"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" role="textbox" /></span>');return this.$searchContainer=d,this.$search=d.find("input"),c.prepend(d),c},b.prototype.bind=function(b,c,d){var e=this;b.call(this,c,d),this.$search.on("keydown",function(a){e.trigger("keypress",a),e._keyUpPrevented=a.isDefaultPrevented()}),this.$search.on("input",function(){a(this).off("keyup")}),this.$search.on("keyup input",function(a){e.handleSearch(a)}),c.on("open",function(){e.$search.attr("tabindex",0),e.$search.focus(),window.setTimeout(function(){e.$search.focus()},0)}),c.on("close",function(){e.$search.attr("tabindex",-1),e.$search.val("")}),c.on("results:all",function(a){if(null==a.query.term||""===a.query.term){var b=e.showSearch(a);b?e.$searchContainer.removeClass("select2-search--hide"):e.$searchContainer.addClass("select2-search--hide")}})},b.prototype.handleSearch=function(){if(!this._keyUpPrevented){var a=this.$search.val();this.trigger("query",{term:a})}this._keyUpPrevented=!1},b.prototype.showSearch=function(){return!0},b}),b.define("select2/dropdown/hidePlaceholder",[],function(){function a(a,b,c,d){this.placeholder=this.normalizePlaceholder(c.get("placeholder")),a.call(this,b,c,d)}return a.prototype.append=function(a,b){b.results=this.removePlaceholder(b.results),a.call(this,b)},a.prototype.normalizePlaceholder=function(a,b){return"string"==typeof b&&(b={id:"",text:b}),b},a.prototype.removePlaceholder=function(a,b){for(var c=b.slice(0),d=b.length-1;d>=0;d--){var e=b[d];this.placeholder.id===e.id&&c.splice(d,1)}return c},a}),b.define("select2/dropdown/infiniteScroll",["jquery"],function(a){function b(a,b,c,d){this.lastParams={},a.call(this,b,c,d),this.$loadingMore=this.createLoadingMore(),this.loading=!1}return b.prototype.append=function(a,b){this.$loadingMore.remove(),this.loading=!1,a.call(this,b),this.showLoadingMore(b)&&this.$results.append(this.$loadingMore)},b.prototype.bind=function(b,c,d){var e=this;b.call(this,c,d),c.on("query",function(a){e.lastParams=a,e.loading=!0}),c.on("query:append",function(a){e.lastParams=a,e.loading=!0}),this.$results.on("scroll",function(){var b=a.contains(document.documentElement,e.$loadingMore[0]);if(!e.loading&&b){var c=e.$results.offset().top+e.$results.outerHeight(!1),d=e.$loadingMore.offset().top+e.$loadingMore.outerHeight(!1);c+50>=d&&e.loadMore()}})},b.prototype.loadMore=function(){this.loading=!0;var b=a.extend({},{page:1},this.lastParams);b.page++,this.trigger("query:append",b)},b.prototype.showLoadingMore=function(a,b){return b.pagination&&b.pagination.more},b.prototype.createLoadingMore=function(){var b=a('<li class="option load-more" role="treeitem"></li>'),c=this.options.get("translations").get("loadingMore");return b.html(c(this.lastParams)),b},b}),b.define("select2/dropdown/attachBody",["jquery","../utils"],function(a,b){function c(a,b,c){this.$dropdownParent=c.get("dropdownParent")||document.body,a.call(this,b,c)}return c.prototype.bind=function(a,b,c){var d=this,e=!1;a.call(this,b,c),b.on("open",function(){d._showDropdown(),d._attachPositioningHandler(b),e||(e=!0,b.on("results:all",function(){d._positionDropdown(),d._resizeDropdown()}),b.on("results:append",function(){d._positionDropdown(),d._resizeDropdown()}))}),b.on("close",function(){d._hideDropdown(),d._detachPositioningHandler(b)}),this.$dropdownContainer.on("mousedown",function(a){a.stopPropagation()})},c.prototype.position=function(a,b,c){b.attr("class",c.attr("class")),b.removeClass("select2"),b.addClass("select2-container--open"),b.css({position:"absolute",top:-999999}),this.$container=c},c.prototype.render=function(b){var c=a("<span></span>"),d=b.call(this);return c.append(d),this.$dropdownContainer=c,c},c.prototype._hideDropdown=function(){this.$dropdownContainer.detach()},c.prototype._attachPositioningHandler=function(c){var d=this,e="scroll.select2."+c.id,f="resize.select2."+c.id,g="orientationchange.select2."+c.id,h=this.$container.parents().filter(b.hasScroll);h.each(function(){a(this).data("select2-scroll-position",{x:a(this).scrollLeft(),y:a(this).scrollTop()})}),h.on(e,function(){var b=a(this).data("select2-scroll-position");a(this).scrollTop(b.y)}),a(window).on(e+" "+f+" "+g,function(){d._positionDropdown(),d._resizeDropdown()})},c.prototype._detachPositioningHandler=function(c){var d="scroll.select2."+c.id,e="resize.select2."+c.id,f="orientationchange.select2."+c.id,g=this.$container.parents().filter(b.hasScroll);g.off(d),a(window).off(d+" "+e+" "+f)},c.prototype._positionDropdown=function(){var b=a(window),c=this.$dropdown.hasClass("select2-dropdown--above"),d=this.$dropdown.hasClass("select2-dropdown--below"),e=null,f=(this.$container.position(),this.$container.offset());f.bottom=f.top+this.$container.outerHeight(!1);var g={height:this.$container.outerHeight(!1)};g.top=f.top,g.bottom=f.top+g.height;var h={height:this.$dropdown.outerHeight(!1)},i={top:b.scrollTop(),bottom:b.scrollTop()+b.height()},j=i.top<f.top-h.height,k=i.bottom>f.bottom+h.height,l={left:f.left,top:g.bottom};c||d||(e="below"),k||!j||c?!j&&k&&c&&(e="below"):e="above",("above"==e||c&&"below"!==e)&&(l.top=g.top-h.height),null!=e&&(this.$dropdown.removeClass("select2-dropdown--below select2-dropdown--above").addClass("select2-dropdown--"+e),this.$container.removeClass("select2-container--below select2-container--above").addClass("select2-container--"+e)),this.$dropdownContainer.css(l)},c.prototype._resizeDropdown=function(){this.$dropdownContainer.width();var a={width:this.$container.outerWidth(!1)+"px"};this.options.get("dropdownAutoWidth")&&(a.minWidth=a.width,a.width="auto"),this.$dropdown.css(a)},c.prototype._showDropdown=function(){this.$dropdownContainer.appendTo(this.$dropdownParent),this._positionDropdown(),this._resizeDropdown()},c}),b.define("select2/dropdown/minimumResultsForSearch",[],function(){function a(b){for(var c=0,d=0;d<b.length;d++){var e=b[d];e.children?c+=a(e.children):c++}return c}function b(a,b,c,d){this.minimumResultsForSearch=c.get("minimumResultsForSearch"),this.minimumResultsForSearch<0&&(this.minimumResultsForSearch=1/0),a.call(this,b,c,d)}return b.prototype.showSearch=function(b,c){return a(c.data.results)<this.minimumResultsForSearch?!1:b.call(this,c)},b}),b.define("select2/dropdown/selectOnClose",[],function(){function a(){}return a.prototype.bind=function(a,b,c){var d=this;a.call(this,b,c),b.on("close",function(){d._handleSelectOnClose()})},a.prototype._handleSelectOnClose=function(){var a=this.getHighlightedResults();a.length<1||this.trigger("select",{data:a.data("data")})},a}),b.define("select2/dropdown/closeOnSelect",[],function(){function a(){}return a.prototype.bind=function(a,b,c){var d=this;a.call(this,b,c),b.on("select",function(a){d._selectTriggered(a)}),b.on("unselect",function(a){d._selectTriggered(a)})},a.prototype._selectTriggered=function(a,b){var c=b.originalEvent;c&&c.ctrlKey||this.trigger("close")},a}),b.define("select2/i18n/en",[],function(){return{errorLoading:function(){return"The results could not be loaded."},inputTooLong:function(a){var b=a.input.length-a.maximum,c="Please delete "+b+" character";return 1!=b&&(c+="s"),c},inputTooShort:function(a){var b=a.minimum-a.input.length,c="Please enter "+b+" or more characters";return c},loadingMore:function(){return"Loading more results…"},maximumSelected:function(a){var b="You can only select "+a.maximum+" item";return 1!=a.maximum&&(b+="s"),b},noResults:function(){return"No results found"},searching:function(){return"Searching…"}}}),b.define("select2/defaults",["jquery","require","./results","./selection/single","./selection/multiple","./selection/placeholder","./selection/allowClear","./selection/search","./selection/eventRelay","./utils","./translation","./diacritics","./data/select","./data/array","./data/ajax","./data/tags","./data/tokenizer","./data/minimumInputLength","./data/maximumInputLength","./data/maximumSelectionLength","./dropdown","./dropdown/search","./dropdown/hidePlaceholder","./dropdown/infiniteScroll","./dropdown/attachBody","./dropdown/minimumResultsForSearch","./dropdown/selectOnClose","./dropdown/closeOnSelect","./i18n/en"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C){function D(){this.reset()}D.prototype.apply=function(l){if(l=a.extend({},this.defaults,l),null==l.dataAdapter){if(l.dataAdapter=null!=l.ajax?o:null!=l.data?n:m,l.minimumInputLength>0&&(l.dataAdapter=j.Decorate(l.dataAdapter,r)),l.maximumInputLength>0&&(l.dataAdapter=j.Decorate(l.dataAdapter,s)),l.maximumSelectionLength>0&&(l.dataAdapter=j.Decorate(l.dataAdapter,t)),l.tags&&(l.dataAdapter=j.Decorate(l.dataAdapter,p)),(null!=l.tokenSeparators||null!=l.tokenizer)&&(l.dataAdapter=j.Decorate(l.dataAdapter,q)),null!=l.query){var C=b(l.amdBase+"compat/query");l.dataAdapter=j.Decorate(l.dataAdapter,C)}if(null!=l.initSelection){var D=b(l.amdBase+"compat/initSelection");l.dataAdapter=j.Decorate(l.dataAdapter,D)}}if(null==l.resultsAdapter&&(l.resultsAdapter=c,null!=l.ajax&&(l.resultsAdapter=j.Decorate(l.resultsAdapter,x)),null!=l.placeholder&&(l.resultsAdapter=j.Decorate(l.resultsAdapter,w)),l.selectOnClose&&(l.resultsAdapter=j.Decorate(l.resultsAdapter,A))),null==l.dropdownAdapter){if(l.multiple)l.dropdownAdapter=u;else{var E=j.Decorate(u,v);l.dropdownAdapter=E}if(0!==l.minimumResultsForSearch&&(l.dropdownAdapter=j.Decorate(l.dropdownAdapter,z)),l.closeOnSelect&&(l.dropdownAdapter=j.Decorate(l.dropdownAdapter,B)),null!=l.dropdownCssClass||null!=l.dropdownCss||null!=l.adaptDropdownCssClass){var F=b(l.amdBase+"compat/dropdownCss");l.dropdownAdapter=j.Decorate(l.dropdownAdapter,F)}l.dropdownAdapter=j.Decorate(l.dropdownAdapter,y)}if(null==l.selectionAdapter){if(l.selectionAdapter=l.multiple?e:d,null!=l.placeholder&&(l.selectionAdapter=j.Decorate(l.selectionAdapter,f)),l.allowClear&&(l.selectionAdapter=j.Decorate(l.selectionAdapter,g)),l.multiple&&(l.selectionAdapter=j.Decorate(l.selectionAdapter,h)),null!=l.containerCssClass||null!=l.containerCss||null!=l.adaptContainerCssClass){var G=b(l.amdBase+"compat/containerCss");l.selectionAdapter=j.Decorate(l.selectionAdapter,G)}l.selectionAdapter=j.Decorate(l.selectionAdapter,i)}if("string"==typeof l.language)if(l.language.indexOf("-")>0){var H=l.language.split("-"),I=H[0];l.language=[l.language,I]}else l.language=[l.language];if(a.isArray(l.language)){var J=new k;l.language.push("en");for(var K=l.language,L=0;L<K.length;L++){var M=K[L],N={};try{N=k.loadPath(M)}catch(O){try{M=this.defaults.amdLanguageBase+M,N=k.loadPath(M)}catch(P){l.debug&&window.console&&console.warn&&console.warn('Select2: The language file for "'+M+'" could not be automatically loaded. A fallback will be used instead.');continue}}J.extend(N)}l.translations=J}else{var Q=k.loadPath(this.defaults.amdLanguageBase+"en"),R=new k(l.language);R.extend(Q),l.translations=R}return l},D.prototype.reset=function(){function b(a){function b(a){return l[a]||a}return a.replace(/[^\u0000-\u007E]/g,b)}function c(d,e){if(""===a.trim(d.term))return e;if(e.children&&e.children.length>0){for(var f=a.extend(!0,{},e),g=e.children.length-1;g>=0;g--){var h=e.children[g],i=c(d,h);null==i&&f.children.splice(g,1)}return f.children.length>0?f:c(d,f)}var j=b(e.text).toUpperCase(),k=b(d.term).toUpperCase();return j.indexOf(k)>-1?e:null}this.defaults={amdBase:"./",amdLanguageBase:"./i18n/",closeOnSelect:!0,debug:!1,dropdownAutoWidth:!1,escapeMarkup:j.escapeMarkup,language:C,matcher:c,minimumInputLength:0,maximumInputLength:0,maximumSelectionLength:0,minimumResultsForSearch:0,selectOnClose:!1,sorter:function(a){return a},templateResult:function(a){return a.text},templateSelection:function(a){return a.text},theme:"default",width:"resolve"}},D.prototype.set=function(b,c){var d=a.camelCase(b),e={};e[d]=c;var f=j._convertData(e);a.extend(this.defaults,f)};var E=new D;return E}),b.define("select2/options",["require","jquery","./defaults","./utils"],function(a,b,c,d){function e(b,e){if(this.options=b,null!=e&&this.fromElement(e),this.options=c.apply(this.options),e&&e.is("input")){var f=a(this.get("amdBase")+"compat/inputData");this.options.dataAdapter=d.Decorate(this.options.dataAdapter,f)}}return e.prototype.fromElement=function(a){var c=["select2"];null==this.options.multiple&&(this.options.multiple=a.prop("multiple")),null==this.options.disabled&&(this.options.disabled=a.prop("disabled")),null==this.options.language&&(a.prop("lang")?this.options.language=a.prop("lang").toLowerCase():a.closest("[lang]").prop("lang")&&(this.options.language=a.closest("[lang]").prop("lang"))),null==this.options.dir&&(this.options.dir=a.prop("dir")?a.prop("dir"):a.closest("[dir]").prop("dir")?a.closest("[dir]").prop("dir"):"ltr"),a.prop("disabled",this.options.disabled),a.prop("multiple",this.options.multiple),a.data("select2Tags")&&(this.options.debug&&window.console&&console.warn&&console.warn('Select2: The `data-select2-tags` attribute has been changed to use the `data-data` and `data-tags="true"` attributes and will be removed in future versions of Select2.'),a.data("data",a.data("select2Tags")),a.data("tags",!0)),a.data("ajaxUrl")&&(this.options.debug&&window.console&&console.warn&&console.warn("Select2: The `data-ajax-url` attribute has been changed to `data-ajax--url` and support for the old attribute will be removed in future versions of Select2."),a.attr("ajax--url",a.data("ajaxUrl")),a.data("ajax--url",a.data("ajaxUrl")));var e={};e=b.fn.jquery&&"1."==b.fn.jquery.substr(0,2)&&a[0].dataset?b.extend(!0,{},a[0].dataset,a.data()):a.data();var f=b.extend(!0,{},e);f=d._convertData(f);for(var g in f)b.inArray(g,c)>-1||(b.isPlainObject(this.options[g])?b.extend(this.options[g],f[g]):this.options[g]=f[g]);return this},e.prototype.get=function(a){return this.options[a]},e.prototype.set=function(a,b){this.options[a]=b},e}),b.define("select2/core",["jquery","./options","./utils","./keys"],function(a,b,c,d){var e=function(a,c){null!=a.data("select2")&&a.data("select2").destroy(),this.$element=a,this.id=this._generateId(a),c=c||{},this.options=new b(c,a),e.__super__.constructor.call(this);var d=a.attr("tabindex")||0;a.data("old-tabindex",d),a.attr("tabindex","-1");var f=this.options.get("dataAdapter");this.dataAdapter=new f(a,this.options);var g=this.render();this._placeContainer(g);var h=this.options.get("selectionAdapter");this.selection=new h(a,this.options),this.$selection=this.selection.render(),this.selection.position(this.$selection,g);var i=this.options.get("dropdownAdapter");this.dropdown=new i(a,this.options),this.$dropdown=this.dropdown.render(),this.dropdown.position(this.$dropdown,g);var j=this.options.get("resultsAdapter");this.results=new j(a,this.options,this.dataAdapter),this.$results=this.results.render(),this.results.position(this.$results,this.$dropdown);var k=this;this._bindAdapters(),this._registerDomEvents(),this._registerDataEvents(),this._registerSelectionEvents(),this._registerDropdownEvents(),this._registerResultsEvents(),this._registerEvents(),this.dataAdapter.current(function(a){k.trigger("selection:update",{data:a})}),a.addClass("select2-hidden-accessible"),a.attr("aria-hidden","true"),this._syncAttributes(),a.data("select2",this)};return c.Extend(e,c.Observable),e.prototype._generateId=function(a){var b="";return b=null!=a.attr("id")?a.attr("id"):null!=a.attr("name")?a.attr("name")+"-"+c.generateChars(2):c.generateChars(4),b="select2-"+b},e.prototype._placeContainer=function(a){a.insertAfter(this.$element);var b=this._resolveWidth(this.$element,this.options.get("width"));null!=b&&a.css("width",b)},e.prototype._resolveWidth=function(a,b){var c=/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i;if("resolve"==b){var d=this._resolveWidth(a,"style");return null!=d?d:this._resolveWidth(a,"element")}if("element"==b){var e=a.outerWidth(!1);return 0>=e?"auto":e+"px"}if("style"==b){var f=a.attr("style");if("string"!=typeof f)return null;for(var g=f.split(";"),h=0,i=g.length;i>h;h+=1){var j=g[h].replace(/\s/g,""),k=j.match(c);if(null!==k&&k.length>=1)return k[1]}return null}return b},e.prototype._bindAdapters=function(){this.dataAdapter.bind(this,this.$container),this.selection.bind(this,this.$container),this.dropdown.bind(this,this.$container),this.results.bind(this,this.$container)},e.prototype._registerDomEvents=function(){var b=this;this.$element.on("change.select2",function(){b.dataAdapter.current(function(a){b.trigger("selection:update",{data:a})})}),this._sync=c.bind(this._syncAttributes,this),this.$element[0].attachEvent&&this.$element[0].attachEvent("onpropertychange",this._sync);var d=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;null!=d?(this._observer=new d(function(c){a.each(c,b._sync)}),this._observer.observe(this.$element[0],{attributes:!0,subtree:!1})):this.$element[0].addEventListener&&this.$element[0].addEventListener("DOMAttrModified",b._sync,!1)},e.prototype._registerDataEvents=function(){var a=this;this.dataAdapter.on("*",function(b,c){a.trigger(b,c)})},e.prototype._registerSelectionEvents=function(){var b=this,c=["toggle"];this.selection.on("toggle",function(){b.toggleDropdown()}),this.selection.on("*",function(d,e){-1===a.inArray(d,c)&&b.trigger(d,e)})},e.prototype._registerDropdownEvents=function(){var a=this;this.dropdown.on("*",function(b,c){a.trigger(b,c)})},e.prototype._registerResultsEvents=function(){var a=this;this.results.on("*",function(b,c){a.trigger(b,c)})},e.prototype._registerEvents=function(){var a=this;this.on("open",function(){a.$container.addClass("select2-container--open")}),this.on("close",function(){a.$container.removeClass("select2-container--open")}),this.on("enable",function(){a.$container.removeClass("select2-container--disabled")}),this.on("disable",function(){a.$container.addClass("select2-container--disabled")}),this.on("focus",function(){a.$container.addClass("select2-container--focus")}),this.on("blur",function(){a.$container.removeClass("select2-container--focus")}),this.on("query",function(b){a.isOpen()||a.trigger("open"),this.dataAdapter.query(b,function(c){a.trigger("results:all",{data:c,query:b})})}),this.on("query:append",function(b){this.dataAdapter.query(b,function(c){a.trigger("results:append",{data:c,query:b})})}),this.on("keypress",function(b){var c=b.which;a.isOpen()?c===d.ENTER?(a.trigger("results:select"),b.preventDefault()):c===d.SPACE&&b.ctrlKey?(a.trigger("results:toggle"),b.preventDefault()):c===d.UP?(a.trigger("results:previous"),b.preventDefault()):c===d.DOWN?(a.trigger("results:next"),b.preventDefault()):(c===d.ESC||c===d.TAB)&&(a.close(),b.preventDefault()):(c===d.ENTER||c===d.SPACE||(c===d.DOWN||c===d.UP)&&b.altKey)&&(a.open(),b.preventDefault())})},e.prototype._syncAttributes=function(){this.options.set("disabled",this.$element.prop("disabled")),this.options.get("disabled")?(this.isOpen()&&this.close(),this.trigger("disable")):this.trigger("enable")},e.prototype.trigger=function(a,b){var c=e.__super__.trigger,d={open:"opening",close:"closing",select:"selecting",unselect:"unselecting"};if(a in d){var f=d[a],g={prevented:!1,name:a,args:b};if(c.call(this,f,g),g.prevented)return void(b.prevented=!0)}c.call(this,a,b)},e.prototype.toggleDropdown=function(){this.options.get("disabled")||(this.isOpen()?this.close():this.open())},e.prototype.open=function(){this.isOpen()||(this.trigger("query",{}),this.trigger("open"))},e.prototype.close=function(){this.isOpen()&&this.trigger("close")},e.prototype.isOpen=function(){return this.$container.hasClass("select2-container--open")},e.prototype.enable=function(a){this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("enable")` method has been deprecated and will be removed in later Select2 versions. Use $element.prop("disabled") instead.'),(null==a||0===a.length)&&(a=[!0]);var b=!a[0];this.$element.prop("disabled",b)},e.prototype.data=function(){this.options.get("debug")&&arguments.length>0&&window.console&&console.warn&&console.warn('Select2: Data can no longer be set using `select2("data")`. You should consider setting the value instead using `$element.val()`.');var a=[];return this.dataAdapter.current(function(b){a=b}),a},e.prototype.val=function(b){if(this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("val")` method has been deprecated and will be removed in later Select2 versions. Use $element.val() instead.'),null==b||0===b.length)return this.$element.val();var c=b[0];a.isArray(c)&&(c=a.map(c,function(a){return a.toString()})),this.$element.val(c).trigger("change")},e.prototype.destroy=function(){this.$container.remove(),this.$element[0].detachEvent&&this.$element[0].detachEvent("onpropertychange",this._sync),null!=this._observer?(this._observer.disconnect(),this._observer=null):this.$element[0].removeEventListener&&this.$element[0].removeEventListener("DOMAttrModified",this._sync,!1),this._sync=null,this.$element.off(".select2"),this.$element.attr("tabindex",this.$element.data("old-tabindex")),this.$element.removeClass("select2-hidden-accessible"),this.$element.attr("aria-hidden","false"),this.$element.removeData("select2"),this.dataAdapter.destroy(),this.selection.destroy(),this.dropdown.destroy(),this.results.destroy(),this.dataAdapter=null,this.selection=null,this.dropdown=null,this.results=null},e.prototype.render=function(){var b=a('<span class="select2 select2-container"><span class="selection"></span><span class="dropdown-wrapper" aria-hidden="true"></span></span>');return b.attr("dir",this.options.get("dir")),this.$container=b,this.$container.addClass("select2-container--"+this.options.get("theme")),b.data("element",this.$element),b},e}),b.define("select2/compat/utils",["jquery"],function(a){function b(b,c,d){var e,f,g=[];e=a.trim(b.attr("class")),e&&(e=""+e,a(e.split(/\s+/)).each(function(){0===this.indexOf("select2-")&&g.push(this)})),e=a.trim(c.attr("class")),e&&(e=""+e,a(e.split(/\s+/)).each(function(){0!==this.indexOf("select2-")&&(f=d(this),null!=f&&g.push(f))})),b.attr("class",g.join(" "))}return{syncCssClasses:b}}),b.define("select2/compat/containerCss",["jquery","./utils"],function(a,b){function c(){return null}function d(){}return d.prototype.render=function(d){var e=d.call(this),f=this.options.get("containerCssClass")||"";a.isFunction(f)&&(f=f(this.$element));var g=this.options.get("adaptContainerCssClass");if(g=g||c,-1!==f.indexOf(":all:")){f=f.replace(":all","");var h=g;g=function(a){var b=h(a);return null!=b?b+" "+a:a}}var i=this.options.get("containerCss")||{};return a.isFunction(i)&&(i=i(this.$element)),b.syncCssClasses(e,this.$element,g),e.css(i),e.addClass(f),e},d}),b.define("select2/compat/dropdownCss",["jquery","./utils"],function(a,b){function c(){return null}function d(){}return d.prototype.render=function(d){var e=d.call(this),f=this.options.get("dropdownCssClass")||"";a.isFunction(f)&&(f=f(this.$element));var g=this.options.get("adaptDropdownCssClass");if(g=g||c,-1!==f.indexOf(":all:")){f=f.replace(":all","");var h=g;g=function(a){var b=h(a);return null!=b?b+" "+a:a}}var i=this.options.get("dropdownCss")||{};return a.isFunction(i)&&(i=i(this.$element)),b.syncCssClasses(e,this.$element,g),e.css(i),e.addClass(f),e},d}),b.define("select2/compat/initSelection",["jquery"],function(a){function b(a,b,c){c.get("debug")&&window.console&&console.warn&&console.warn("Select2: The `initSelection` option has been deprecated in favor of a custom data adapter that overrides the `current` method. This method is now called multiple times instead of a single time when the instance is initialized. Support will be removed for the `initSelection` option in future versions of Select2"),this.initSelection=c.get("initSelection"),this._isInitialized=!1,a.call(this,b,c)}return b.prototype.current=function(b,c){var d=this;return this._isInitialized?void b.call(this,c):void this.initSelection.call(null,this.$element,function(b){d._isInitialized=!0,a.isArray(b)||(b=[b]),c(b)})},b}),b.define("select2/compat/inputData",["jquery"],function(a){function b(a,b,c){this._currentData=[],this._valueSeparator=c.get("valueSeparator")||",","hidden"===b.prop("type")&&c.get("debug")&&console&&console.warn&&console.warn("Select2: Using a hidden input with Select2 is no longer supported and may stop working in the future. It is recommended to use a `<select>` element instead."),a.call(this,b,c)}return b.prototype.current=function(b,c){function d(b,c){var e=[];return b.selected||-1!==a.inArray(b.id,c)?(b.selected=!0,e.push(b)):b.selected=!1,b.children&&e.push.apply(e,d(b.children,c)),e}for(var e=[],f=0;f<this._currentData.length;f++){var g=this._currentData[f];e.push.apply(e,d(g,this.$element.val().split(this._valueSeparator)))}c(e)},b.prototype.select=function(b,c){if(this.options.get("multiple")){var d=this.$element.val();d+=this._valueSeparator+c.id,this.$element.val(d),this.$element.trigger("change")}else this.current(function(b){a.map(b,function(a){a.selected=!1})}),this.$element.val(c.id),this.$element.trigger("change")},b.prototype.unselect=function(a,b){var c=this;b.selected=!1,this.current(function(a){for(var d=[],e=0;e<a.length;e++){var f=a[e];
|
|
17
77
|
b.id!=f.id&&d.push(f.id)}c.$element.val(d.join(c._valueSeparator)),c.$element.trigger("change")})},b.prototype.query=function(a,b,c){for(var d=[],e=0;e<this._currentData.length;e++){var f=this._currentData[e],g=this.matches(b,f);null!==g&&d.push(g)}c({results:d})},b.prototype.addOptions=function(b,c){var d=a.map(c,function(b){return a.data(b[0],"data")});this._currentData.push.apply(this._currentData,d)},b}),b.define("select2/compat/matcher",["jquery"],function(a){function b(b){function c(c,d){var e=a.extend(!0,{},d);if(null==c.term||""===a.trim(c.term))return e;if(d.children){for(var f=d.children.length-1;f>=0;f--){var g=d.children[f],h=b(c.term,g.text,g);h||e.children.splice(f,1)}if(e.children.length>0)return e}return b(c.term,d.text,d)?e:null}return c}return b}),b.define("select2/compat/query",[],function(){function a(a,b,c){c.get("debug")&&window.console&&console.warn&&console.warn("Select2: The `query` option has been deprecated in favor of a custom data adapter that overrides the `query` method. Support will be removed for the `query` option in future versions of Select2."),a.call(this,b,c)}return a.prototype.query=function(a,b,c){b.callback=c;var d=this.options.get("query");d.call(null,b)},a}),b.define("select2/dropdown/attachContainer",[],function(){function a(a,b,c){a.call(this,b,c)}return a.prototype.position=function(a,b,c){var d=c.find(".dropdown-wrapper");d.append(b),b.addClass("select2-dropdown--below"),c.addClass("select2-container--below")},a}),b.define("select2/dropdown/stopPropagation",[],function(){function a(){}return a.prototype.bind=function(a,b,c){a.call(this,b,c);var d=["blur","change","click","dblclick","focus","focusin","focusout","input","keydown","keyup","keypress","mousedown","mouseenter","mouseleave","mousemove","mouseover","mouseup","search","touchend","touchstart"];this.$dropdown.on(d.join(" "),function(a){a.stopPropagation()})},a}),b.define("select2/selection/stopPropagation",[],function(){function a(){}return a.prototype.bind=function(a,b,c){a.call(this,b,c);var d=["blur","change","click","dblclick","focus","focusin","focusout","input","keydown","keyup","keypress","mousedown","mouseenter","mouseleave","mousemove","mouseover","mouseup","search","touchend","touchstart"];this.$selection.on(d.join(" "),function(a){a.stopPropagation()})},a}),b.define("jquery.select2",["jquery","require","./select2/core","./select2/defaults"],function(a,b,c,d){if(b("jquery.mousewheel"),null==a.fn.select2){var e=["open","close","destroy"];a.fn.select2=function(b){if(b=b||{},"object"==typeof b)return this.each(function(){{var d=a.extend({},b,!0);new c(a(this),d)}}),this;if("string"==typeof b){var d=this.data("select2");null==d&&window.console&&console.error&&console.error("The select2('"+b+"') method was called on an element that is not using Select2.");var f=Array.prototype.slice.call(arguments,1),g=d[b](f);return a.inArray(b,e)>-1?this:g}throw new Error("Invalid arguments for Select2: "+b)}}return null==a.fn.select2.defaults&&(a.fn.select2.defaults=d),c}),function(c){"function"==typeof b.define&&b.define.amd?b.define("jquery.mousewheel",["jquery"],c):"object"==typeof exports?module.exports=c:c(a)}(function(a){function b(b){var g=b||window.event,h=i.call(arguments,1),j=0,l=0,m=0,n=0,o=0,p=0;if(b=a.event.fix(g),b.type="mousewheel","detail"in g&&(m=-1*g.detail),"wheelDelta"in g&&(m=g.wheelDelta),"wheelDeltaY"in g&&(m=g.wheelDeltaY),"wheelDeltaX"in g&&(l=-1*g.wheelDeltaX),"axis"in g&&g.axis===g.HORIZONTAL_AXIS&&(l=-1*m,m=0),j=0===m?l:m,"deltaY"in g&&(m=-1*g.deltaY,j=m),"deltaX"in g&&(l=g.deltaX,0===m&&(j=-1*l)),0!==m||0!==l){if(1===g.deltaMode){var q=a.data(this,"mousewheel-line-height");j*=q,m*=q,l*=q}else if(2===g.deltaMode){var r=a.data(this,"mousewheel-page-height");j*=r,m*=r,l*=r}if(n=Math.max(Math.abs(m),Math.abs(l)),(!f||f>n)&&(f=n,d(g,n)&&(f/=40)),d(g,n)&&(j/=40,l/=40,m/=40),j=Math[j>=1?"floor":"ceil"](j/f),l=Math[l>=1?"floor":"ceil"](l/f),m=Math[m>=1?"floor":"ceil"](m/f),k.settings.normalizeOffset&&this.getBoundingClientRect){var s=this.getBoundingClientRect();o=b.clientX-s.left,p=b.clientY-s.top}return b.deltaX=l,b.deltaY=m,b.deltaFactor=f,b.offsetX=o,b.offsetY=p,b.deltaMode=0,h.unshift(b,j,l,m),e&&clearTimeout(e),e=setTimeout(c,200),(a.event.dispatch||a.event.handle).apply(this,h)}}function c(){f=null}function d(a,b){return k.settings.adjustOldDeltas&&"mousewheel"===a.type&&b%120===0}var e,f,g=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],h="onwheel"in document||document.documentMode>=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],i=Array.prototype.slice;if(a.event.fixHooks)for(var j=g.length;j;)a.event.fixHooks[g[--j]]=a.event.mouseHooks;var k=a.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var c=h.length;c;)this.addEventListener(h[--c],b,!1);else this.onmousewheel=b;a.data(this,"mousewheel-line-height",k.getLineHeight(this)),a.data(this,"mousewheel-page-height",k.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var c=h.length;c;)this.removeEventListener(h[--c],b,!1);else this.onmousewheel=null;a.removeData(this,"mousewheel-line-height"),a.removeData(this,"mousewheel-page-height")},getLineHeight:function(b){var c=a(b),d=c["offsetParent"in a.fn?"offsetParent":"parent"]();return d.length||(d=a("body")),parseInt(d.css("fontSize"),10)||parseInt(c.css("fontSize"),10)||16},getPageHeight:function(b){return a(b).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};a.fn.extend({mousewheel:function(a){return a?this.bind("mousewheel",a):this.trigger("mousewheel")},unmousewheel:function(a){return this.unbind("mousewheel",a)}})}),{define:b.define,require:b.require}}(),c=b.require("jquery.select2");return a.fn.select2.amd=b,c});
|
|
@@ -12859,6 +12919,8 @@ function CroutonLocalization(language) {
|
|
|
12859
12919
|
"click_search": "Click Search",
|
|
12860
12920
|
"pan_and_zoom": "Pan + Zoom",
|
|
12861
12921
|
"languages": "Languages",
|
|
12922
|
+
"common_needs": "Common Needs",
|
|
12923
|
+
"meeting_count": "Weekly Meetings:",
|
|
12862
12924
|
"venue_types": "Venue Types",
|
|
12863
12925
|
"venue_type_choices": {
|
|
12864
12926
|
IN_PERSON: "In Person",
|
|
@@ -12874,6 +12936,8 @@ function CroutonLocalization(language) {
|
|
|
12874
12936
|
},
|
|
12875
12937
|
"share": "share",
|
|
12876
12938
|
"no_meetings_for_this_day": "No meetings for this day.",
|
|
12939
|
+
'css-textalign': '',
|
|
12940
|
+
'css-floatdirection': ''
|
|
12877
12941
|
},
|
|
12878
12942
|
"de-DE":{
|
|
12879
12943
|
"days_of_the_week": ["", "Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag"],
|
|
@@ -12895,6 +12959,8 @@ function CroutonLocalization(language) {
|
|
|
12895
12959
|
"click_search": "Klicksuche",
|
|
12896
12960
|
"pan_and_zoom": "Schwenken + Zoomen",
|
|
12897
12961
|
"languages": "Sprachen",
|
|
12962
|
+
"common_needs": "Common Needs",
|
|
12963
|
+
"meeting_count": "Wöchentliche Meetings:",
|
|
12898
12964
|
"venue_types": "Treffpunktarten",
|
|
12899
12965
|
"venue_type_choices": {
|
|
12900
12966
|
IN_PERSON: "Präsens-Meetings",
|
|
@@ -12909,7 +12975,9 @@ function CroutonLocalization(language) {
|
|
|
12909
12975
|
GS: "Group Support Forum"
|
|
12910
12976
|
},
|
|
12911
12977
|
"share": "Teilen",
|
|
12912
|
-
"no_meetings_for_this_day": "
|
|
12978
|
+
"no_meetings_for_this_day": "Keine Meetings an diesem Tag.",
|
|
12979
|
+
'css-textalign': '',
|
|
12980
|
+
'css-floatdirection': ''
|
|
12913
12981
|
},
|
|
12914
12982
|
"en-AU": {
|
|
12915
12983
|
"days_of_the_week" : ["", "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"],
|
|
@@ -12931,6 +12999,8 @@ function CroutonLocalization(language) {
|
|
|
12931
12999
|
"click_search": "Click Search",
|
|
12932
13000
|
"pan_and_zoom": "Pan + Zoom",
|
|
12933
13001
|
"languages": "Languages",
|
|
13002
|
+
"common_needs": "Common Needs",
|
|
13003
|
+
"meeting_count": "Weekly Meetings:",
|
|
12934
13004
|
"venue_types": "Venue Types",
|
|
12935
13005
|
"venue_type_choices": {
|
|
12936
13006
|
IN_PERSON: "In Person",
|
|
@@ -12946,6 +13016,8 @@ function CroutonLocalization(language) {
|
|
|
12946
13016
|
},
|
|
12947
13017
|
"share": "share",
|
|
12948
13018
|
"no_meetings_for_this_day": "No meetings for this day.",
|
|
13019
|
+
'css-textalign': '',
|
|
13020
|
+
'css-floatdirection': ''
|
|
12949
13021
|
},
|
|
12950
13022
|
"en-CA": {
|
|
12951
13023
|
"days_of_the_week" : ["", "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"],
|
|
@@ -12967,6 +13039,8 @@ function CroutonLocalization(language) {
|
|
|
12967
13039
|
"click_search": "Click Search",
|
|
12968
13040
|
"pan_and_zoom": "Pan + Zoom",
|
|
12969
13041
|
"languages": "Languages",
|
|
13042
|
+
"common_needs": "Common Needs",
|
|
13043
|
+
"meeting_count": "Weekly Meetings:",
|
|
12970
13044
|
"venue_types": "Venue Types",
|
|
12971
13045
|
"venue_type_choices": {
|
|
12972
13046
|
IN_PERSON: "In Person",
|
|
@@ -12982,6 +13056,8 @@ function CroutonLocalization(language) {
|
|
|
12982
13056
|
},
|
|
12983
13057
|
"share": "share",
|
|
12984
13058
|
"no_meetings_for_this_day": "No meetings for this day.",
|
|
13059
|
+
'css-textalign': '',
|
|
13060
|
+
'css-floatdirection': ''
|
|
12985
13061
|
},
|
|
12986
13062
|
"en-NZ": {
|
|
12987
13063
|
"days_of_the_week" : ["", "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"],
|
|
@@ -13003,6 +13079,8 @@ function CroutonLocalization(language) {
|
|
|
13003
13079
|
"click_search": "Click Search",
|
|
13004
13080
|
"pan_and_zoom": "Pan + Zoom",
|
|
13005
13081
|
"languages": "Languages",
|
|
13082
|
+
"common_needs": "Common Needs",
|
|
13083
|
+
"meeting_count": "Weekly Meetings:",
|
|
13006
13084
|
"venue_types": "Venue Types",
|
|
13007
13085
|
"venue_type_choices": {
|
|
13008
13086
|
IN_PERSON: "In Person",
|
|
@@ -13018,6 +13096,8 @@ function CroutonLocalization(language) {
|
|
|
13018
13096
|
},
|
|
13019
13097
|
"share": "share",
|
|
13020
13098
|
"no_meetings_for_this_day": "No meetings for this day.",
|
|
13099
|
+
'css-textalign': '',
|
|
13100
|
+
'css-floatdirection': ''
|
|
13021
13101
|
},
|
|
13022
13102
|
"en-UK": {
|
|
13023
13103
|
"days_of_the_week" : ["", "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"],
|
|
@@ -13039,6 +13119,8 @@ function CroutonLocalization(language) {
|
|
|
13039
13119
|
"click_search": "Click Search",
|
|
13040
13120
|
"pan_and_zoom": "Pan + Zoom",
|
|
13041
13121
|
"languages": "Languages",
|
|
13122
|
+
"common_needs": "Common Needs",
|
|
13123
|
+
"meeting_count": "Weekly Meetings:",
|
|
13042
13124
|
"venue_types": "Venue Types",
|
|
13043
13125
|
"venue_type_choices": {
|
|
13044
13126
|
IN_PERSON: "In Person",
|
|
@@ -13054,6 +13136,8 @@ function CroutonLocalization(language) {
|
|
|
13054
13136
|
},
|
|
13055
13137
|
"share": "share",
|
|
13056
13138
|
"no_meetings_for_this_day": "No meetings for this day.",
|
|
13139
|
+
'css-textalign': '',
|
|
13140
|
+
'css-floatdirection': ''
|
|
13057
13141
|
},
|
|
13058
13142
|
"en-US": {
|
|
13059
13143
|
"days_of_the_week" : ["", "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"],
|
|
@@ -13075,6 +13159,8 @@ function CroutonLocalization(language) {
|
|
|
13075
13159
|
"click_search": "Click Search",
|
|
13076
13160
|
"pan_and_zoom": "Pan + Zoom",
|
|
13077
13161
|
"languages": "Languages",
|
|
13162
|
+
"common_needs": "Common Needs",
|
|
13163
|
+
"meeting_count": "Weekly Meetings:",
|
|
13078
13164
|
"venue_types": "Venue Types",
|
|
13079
13165
|
"venue_type_choices": {
|
|
13080
13166
|
IN_PERSON: "In Person",
|
|
@@ -13090,6 +13176,8 @@ function CroutonLocalization(language) {
|
|
|
13090
13176
|
},
|
|
13091
13177
|
"share": "share",
|
|
13092
13178
|
"no_meetings_for_this_day": "No meetings for this day.",
|
|
13179
|
+
'css-textalign': '',
|
|
13180
|
+
'css-floatdirection': ''
|
|
13093
13181
|
},
|
|
13094
13182
|
"es-US": {
|
|
13095
13183
|
"days_of_the_week" : ["", "Domingo", " Lunes", "Martes", "Miércoles", "Jueves", "Viernes", "Sábado"],
|
|
@@ -13111,6 +13199,8 @@ function CroutonLocalization(language) {
|
|
|
13111
13199
|
"click_search": "Click Search",
|
|
13112
13200
|
"pan_and_zoom": "Pan + Zoom",
|
|
13113
13201
|
"languages": "Languages",
|
|
13202
|
+
"common_needs": "Common Needs",
|
|
13203
|
+
"meeting_count": "Weekly Meetings:",
|
|
13114
13204
|
"venue_types": "Venue Types",
|
|
13115
13205
|
"venue_type_choices": {
|
|
13116
13206
|
IN_PERSON: "In Person",
|
|
@@ -13126,6 +13216,8 @@ function CroutonLocalization(language) {
|
|
|
13126
13216
|
},
|
|
13127
13217
|
"share": "share",
|
|
13128
13218
|
"no_meetings_for_this_day": "No meetings for this day.",
|
|
13219
|
+
'css-textalign': '',
|
|
13220
|
+
'css-floatdirection': ''
|
|
13129
13221
|
},
|
|
13130
13222
|
"fa-IR": {
|
|
13131
13223
|
"days_of_the_week" : ["", 'یَکشَنب', 'دوشَنبه', 'سهشنبه', 'چهار شنبه', 'پَنج شَنبه', 'جُمعه', 'شَنبه'],
|
|
@@ -13147,6 +13239,8 @@ function CroutonLocalization(language) {
|
|
|
13147
13239
|
"click_search": "Click Search",
|
|
13148
13240
|
"pan_and_zoom": "Pan + Zoom",
|
|
13149
13241
|
"languages": "Languages",
|
|
13242
|
+
"common_needs": "Common Needs",
|
|
13243
|
+
"meeting_count": "Weekly Meetings:",
|
|
13150
13244
|
"venue_types": "Venue Types",
|
|
13151
13245
|
"venue_type_choices": {
|
|
13152
13246
|
IN_PERSON: "In Person",
|
|
@@ -13162,6 +13256,8 @@ function CroutonLocalization(language) {
|
|
|
13162
13256
|
},
|
|
13163
13257
|
"share": "share",
|
|
13164
13258
|
"no_meetings_for_this_day": "No meetings for this day.",
|
|
13259
|
+
'css-textalign': 'style="text-align:right;"',
|
|
13260
|
+
'css-floatdirection': 'style="float:right;"'
|
|
13165
13261
|
},
|
|
13166
13262
|
"fr-CA": {
|
|
13167
13263
|
"days_of_the_week" : ["", "Dimanche", "Lundi", "Mardi", "Mercredi", "Jeudi", "Vendredi", "Samedi"],
|
|
@@ -13183,6 +13279,8 @@ function CroutonLocalization(language) {
|
|
|
13183
13279
|
"click_search": "Click Search",
|
|
13184
13280
|
"pan_and_zoom": "Pan + Zoom",
|
|
13185
13281
|
"languages": "Languages",
|
|
13282
|
+
"common_needs": "Common Needs",
|
|
13283
|
+
"meeting_count": "Weekly Meetings:",
|
|
13186
13284
|
"venue_types": "Venue Types",
|
|
13187
13285
|
"venue_type_choices": {
|
|
13188
13286
|
IN_PERSON: "In Person",
|
|
@@ -13198,6 +13296,8 @@ function CroutonLocalization(language) {
|
|
|
13198
13296
|
},
|
|
13199
13297
|
"share": "share",
|
|
13200
13298
|
"no_meetings_for_this_day": "No meetings for this day.",
|
|
13299
|
+
'css-textalign': '',
|
|
13300
|
+
'css-floatdirection': ''
|
|
13201
13301
|
},
|
|
13202
13302
|
"it-IT": {
|
|
13203
13303
|
"days_of_the_week" : ["", "Domenica", " Lunedì", "Martedì", "Mercoledì", "Giovedì", "Venerdì", "Sabato"],
|
|
@@ -13219,6 +13319,8 @@ function CroutonLocalization(language) {
|
|
|
13219
13319
|
"click_search": "Click Search",
|
|
13220
13320
|
"pan_and_zoom": "Pan + Zoom",
|
|
13221
13321
|
"languages": "Languages",
|
|
13322
|
+
"common_needs": "Common Needs",
|
|
13323
|
+
"meeting_count": "Weekly Meetings:",
|
|
13222
13324
|
"venue_types": "Venue Types",
|
|
13223
13325
|
"venue_type_choices": {
|
|
13224
13326
|
IN_PERSON: "In Person",
|
|
@@ -13234,6 +13336,8 @@ function CroutonLocalization(language) {
|
|
|
13234
13336
|
},
|
|
13235
13337
|
"share": "Condividi",
|
|
13236
13338
|
"no_meetings_for_this_day": "No meetings for this day.",
|
|
13339
|
+
'css-textalign': '',
|
|
13340
|
+
'css-floatdirection': ''
|
|
13237
13341
|
},
|
|
13238
13342
|
"nl-NL": {
|
|
13239
13343
|
"days_of_the_week" : ["", "Zondag", "Maandag", "Dinsdag", "Woensdag", "Donderdag", "Vrijdag", "Zaterdag"],
|
|
@@ -13255,6 +13359,8 @@ function CroutonLocalization(language) {
|
|
|
13255
13359
|
"click_search": "Klik om te zoeken",
|
|
13256
13360
|
"pan_and_zoom": "Pan + Zoom",
|
|
13257
13361
|
"languages": "Talen",
|
|
13362
|
+
"common_needs": "Common Needs",
|
|
13363
|
+
"meeting_count": "Weekly Meetings:",
|
|
13258
13364
|
"venue_types": "Soorten locaties",
|
|
13259
13365
|
"venue_type_choices": {
|
|
13260
13366
|
IN_PERSON: "Fysiek",
|
|
@@ -13270,6 +13376,8 @@ function CroutonLocalization(language) {
|
|
|
13270
13376
|
},
|
|
13271
13377
|
"share": "share",
|
|
13272
13378
|
"no_meetings_for_this_day": "No meetings for this day.",
|
|
13379
|
+
'css-textalign': '',
|
|
13380
|
+
'css-floatdirection': ''
|
|
13273
13381
|
},
|
|
13274
13382
|
"pl-PL": {
|
|
13275
13383
|
"days_of_the_week" : ["", "Niedziela", "Poniedziałek", "Wtorek", "Środa", "Czwartek", "Piątek", "Sobota"],
|
|
@@ -13291,6 +13399,8 @@ function CroutonLocalization(language) {
|
|
|
13291
13399
|
"click_search": "Kliknij na mapie",
|
|
13292
13400
|
"pan_and_zoom": "Przesuń powiększ",
|
|
13293
13401
|
"languages": "Języki",
|
|
13402
|
+
"common_needs": "Common Needs",
|
|
13403
|
+
"meeting_count": "Weekly Meetings:",
|
|
13294
13404
|
"venue_types": "Venue Types",
|
|
13295
13405
|
"venue_type_choices": {
|
|
13296
13406
|
IN_PERSON: "In Person",
|
|
@@ -13306,6 +13416,8 @@ function CroutonLocalization(language) {
|
|
|
13306
13416
|
},
|
|
13307
13417
|
"share": "share",
|
|
13308
13418
|
"no_meetings_for_this_day": "No meetings for this day.",
|
|
13419
|
+
'css-textalign': '',
|
|
13420
|
+
'css-floatdirection': ''
|
|
13309
13421
|
},
|
|
13310
13422
|
"pt-BR": {
|
|
13311
13423
|
"days_of_the_week" : ["", "Domingo", "Segunda-feira", "Terça-feira", "Quarta-feira", "Quinta-feira", "Sexta-feira", "Sábado"],
|
|
@@ -13327,6 +13439,8 @@ function CroutonLocalization(language) {
|
|
|
13327
13439
|
"click_search": "Clique no local",
|
|
13328
13440
|
"pan_and_zoom": "Panorâmico + Zoom",
|
|
13329
13441
|
"languages": "Idiomas",
|
|
13442
|
+
"common_needs": "Common Needs",
|
|
13443
|
+
"meeting_count": "Weekly Meetings:",
|
|
13330
13444
|
"venue_types": "tipos de reunião",
|
|
13331
13445
|
"venue_type_choices": {
|
|
13332
13446
|
IN_PERSON: "Presencial",
|
|
@@ -13342,6 +13456,8 @@ function CroutonLocalization(language) {
|
|
|
13342
13456
|
},
|
|
13343
13457
|
"share": "Compartilhar",
|
|
13344
13458
|
"no_meetings_for_this_day": "No meetings for this day.",
|
|
13459
|
+
'css-textalign': '',
|
|
13460
|
+
'css-floatdirection': ''
|
|
13345
13461
|
},
|
|
13346
13462
|
"ru-RU": {
|
|
13347
13463
|
"days_of_the_week" : ["", "Воскресенье", "Понедельник", "Вторник", "Среда", "Четверг", "Пятница", "Суббота"],
|
|
@@ -13363,6 +13479,8 @@ function CroutonLocalization(language) {
|
|
|
13363
13479
|
"click_search": "Нажмите Поиск",
|
|
13364
13480
|
"pan_and_zoom": "Pan + Zoom",
|
|
13365
13481
|
"languages": "Языки",
|
|
13482
|
+
"common_needs": "Common Needs",
|
|
13483
|
+
"meeting_count": "Weekly Meetings:",
|
|
13366
13484
|
"venue_types": "Venue Types",
|
|
13367
13485
|
"venue_type_choices": {
|
|
13368
13486
|
IN_PERSON: "In Person",
|
|
@@ -13378,6 +13496,8 @@ function CroutonLocalization(language) {
|
|
|
13378
13496
|
},
|
|
13379
13497
|
"share": "share",
|
|
13380
13498
|
"no_meetings_for_this_day": "No meetings for this day.",
|
|
13499
|
+
'css-textalign': '',
|
|
13500
|
+
'css-floatdirection': ''
|
|
13381
13501
|
},
|
|
13382
13502
|
"sv-SE": {
|
|
13383
13503
|
"days_of_the_week" : ["", "Söndag", "Måndag", "Tisdag", "Onsdag", "Torsdag", "Fredag", "Lördag"],
|
|
@@ -13399,6 +13519,8 @@ function CroutonLocalization(language) {
|
|
|
13399
13519
|
"click_search": "Sök",
|
|
13400
13520
|
"pan_and_zoom": "Panorera + Zooma",
|
|
13401
13521
|
"languages": "Språk",
|
|
13522
|
+
"common_needs": "Common Needs",
|
|
13523
|
+
"meeting_count": "Weekly Meetings:",
|
|
13402
13524
|
"venue_types": "Venue Types",
|
|
13403
13525
|
"venue_type_choices": {
|
|
13404
13526
|
IN_PERSON: "In Person",
|
|
@@ -13414,6 +13536,8 @@ function CroutonLocalization(language) {
|
|
|
13414
13536
|
},
|
|
13415
13537
|
"share": "share",
|
|
13416
13538
|
"no_meetings_for_this_day": "No meetings for this day.",
|
|
13539
|
+
'css-textalign': '',
|
|
13540
|
+
'css-floatdirection': ''
|
|
13417
13541
|
}
|
|
13418
13542
|
};
|
|
13419
13543
|
}
|
|
@@ -13461,14 +13585,16 @@ this["hbs_Crouton"]["templates"]["byday"] = Handlebars.template({"1":function(co
|
|
|
13461
13585
|
|
|
13462
13586
|
return ((stack1 = (lookupProperty(helpers,"greaterThan")||(depth0 && lookupProperty(depth0,"greaterThan"))||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),((stack1 = (depth0 != null ? lookupProperty(depth0,"meetings") : depth0)) != null ? lookupProperty(stack1,"length") : stack1),0,{"name":"greaterThan","hash":{},"fn":container.program(3, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":6,"column":4},"end":{"line":10,"column":20}}})) != null ? stack1 : "");
|
|
13463
13587
|
},"3":function(container,depth0,helpers,partials,data) {
|
|
13464
|
-
var lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
13588
|
+
var stack1, lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
13465
13589
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
13466
13590
|
return parent[propertyName];
|
|
13467
13591
|
}
|
|
13468
13592
|
return undefined
|
|
13469
13593
|
};
|
|
13470
13594
|
|
|
13471
|
-
return " <tr class=\"meeting-header\">\n <td colspan=\"3\"
|
|
13595
|
+
return " <tr class=\"meeting-header\">\n <td colspan=\"3\" "
|
|
13596
|
+
+ ((stack1 = (lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),"css-textAlign",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":8,"column":22},"end":{"line":8,"column":51}}})) != null ? stack1 : "")
|
|
13597
|
+
+ ">"
|
|
13472
13598
|
+ container.escapeExpression(container.lambda((depth0 != null ? lookupProperty(depth0,"day") : depth0), depth0))
|
|
13473
13599
|
+ "</td>\n </tr>\n";
|
|
13474
13600
|
},"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
@@ -13484,15 +13610,17 @@ this["hbs_Crouton"]["templates"]["byday"] = Handlebars.template({"1":function(co
|
|
|
13484
13610
|
+ " </table>\n</div>\n";
|
|
13485
13611
|
},"usePartial":true,"useData":true});
|
|
13486
13612
|
this["hbs_Crouton"]["templates"]["byfield"] = Handlebars.template({"1":function(container,depth0,helpers,partials,data) {
|
|
13487
|
-
var stack1, helper, lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
13613
|
+
var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=container.hooks.helperMissing, lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
13488
13614
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
13489
13615
|
return parent[propertyName];
|
|
13490
13616
|
}
|
|
13491
13617
|
return undefined
|
|
13492
13618
|
};
|
|
13493
13619
|
|
|
13494
|
-
return " <tr class=\"meeting-header\"
|
|
13495
|
-
+
|
|
13620
|
+
return " <tr class=\"meeting-header\" "
|
|
13621
|
+
+ ((stack1 = (lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||alias2).call(alias1,"css-textAlign",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":5,"column":30},"end":{"line":5,"column":59}}})) != null ? stack1 : "")
|
|
13622
|
+
+ ">\n <td colspan=\"3\">"
|
|
13623
|
+
+ container.escapeExpression(((helper = (helper = lookupProperty(helpers,"key") || (data && lookupProperty(data,"key"))) != null ? helper : alias2),(typeof helper === "function" ? helper.call(alias1,{"name":"key","hash":{},"data":data,"loc":{"start":{"line":6,"column":20},"end":{"line":6,"column":28}}}) : helper)))
|
|
13496
13624
|
+ "</td>\n </tr>\n"
|
|
13497
13625
|
+ ((stack1 = container.invokePartial(lookupProperty(partials,"meetings"),depth0,{"name":"meetings","data":data,"indent":"\t\t\t","helpers":helpers,"partials":partials,"decorators":container.decorators})) != null ? stack1 : "");
|
|
13498
13626
|
},"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
@@ -13507,6 +13635,33 @@ this["hbs_Crouton"]["templates"]["byfield"] = Handlebars.template({"1":function(
|
|
|
13507
13635
|
+ ((stack1 = lookupProperty(helpers,"each").call(depth0 != null ? depth0 : (container.nullContext || {}),depth0,{"name":"each","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":4,"column":2},"end":{"line":9,"column":11}}})) != null ? stack1 : "")
|
|
13508
13636
|
+ " </tbody>\n </table>\n</div>\n";
|
|
13509
13637
|
},"usePartial":true,"useData":true});
|
|
13638
|
+
this["hbs_Crouton"]["templates"]["formatPopup"] = Handlebars.template({"1":function(container,depth0,helpers,partials,data) {
|
|
13639
|
+
var helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=container.hooks.helperMissing, alias3="function", alias4=container.escapeExpression, lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
13640
|
+
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
13641
|
+
return parent[propertyName];
|
|
13642
|
+
}
|
|
13643
|
+
return undefined
|
|
13644
|
+
};
|
|
13645
|
+
|
|
13646
|
+
return " <tr>\n <td class='formats_key'>"
|
|
13647
|
+
+ alias4(((helper = (helper = lookupProperty(helpers,"key") || (depth0 != null ? lookupProperty(depth0,"key") : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"key","hash":{},"data":data,"loc":{"start":{"line":4,"column":36},"end":{"line":4,"column":43}}}) : helper)))
|
|
13648
|
+
+ "</td>\n <td class='formats_name'>"
|
|
13649
|
+
+ alias4(((helper = (helper = lookupProperty(helpers,"name") || (depth0 != null ? lookupProperty(depth0,"name") : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"name","hash":{},"data":data,"loc":{"start":{"line":5,"column":37},"end":{"line":5,"column":45}}}) : helper)))
|
|
13650
|
+
+ "</td>\n <td class='formats_description'>"
|
|
13651
|
+
+ alias4(((helper = (helper = lookupProperty(helpers,"description") || (depth0 != null ? lookupProperty(depth0,"description") : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"description","hash":{},"data":data,"loc":{"start":{"line":6,"column":44},"end":{"line":6,"column":59}}}) : helper)))
|
|
13652
|
+
+ "</td>\n </tr>\n";
|
|
13653
|
+
},"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
13654
|
+
var stack1, lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
13655
|
+
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
13656
|
+
return parent[propertyName];
|
|
13657
|
+
}
|
|
13658
|
+
return undefined
|
|
13659
|
+
};
|
|
13660
|
+
|
|
13661
|
+
return "<table class='bmlt_a_format table-bordered'>\n"
|
|
13662
|
+
+ ((stack1 = lookupProperty(helpers,"each").call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? lookupProperty(depth0,"formats_expanded") : depth0),{"name":"each","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":2,"column":4},"end":{"line":8,"column":13}}})) != null ? stack1 : "")
|
|
13663
|
+
+ "</table>";
|
|
13664
|
+
},"useData":true});
|
|
13510
13665
|
this["hbs_Crouton"]["templates"]["header"] = Handlebars.template({"1":function(container,depth0,helpers,partials,data) {
|
|
13511
13666
|
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
13512
13667
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
@@ -13515,34 +13670,37 @@ this["hbs_Crouton"]["templates"]["header"] = Handlebars.template({"1":function(c
|
|
|
13515
13670
|
return undefined
|
|
13516
13671
|
};
|
|
13517
13672
|
|
|
13518
|
-
return ((stack1 = lookupProperty(helpers,"if").call(alias1,((stack1 = (depth0 != null ? lookupProperty(depth0,"config") : depth0)) != null ? lookupProperty(stack1,"include_weekday_button") : stack1),{"name":"if","hash":{},"fn":container.program(2, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":
|
|
13519
|
-
+ ((stack1 = lookupProperty(helpers,"each").call(alias1,((stack1 = (depth0 != null ? lookupProperty(depth0,"config") : depth0)) != null ? lookupProperty(stack1,"button_filters") : stack1),{"name":"each","hash":{},"fn":container.program(4, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":
|
|
13673
|
+
return ((stack1 = lookupProperty(helpers,"if").call(alias1,((stack1 = (depth0 != null ? lookupProperty(depth0,"config") : depth0)) != null ? lookupProperty(stack1,"include_weekday_button") : stack1),{"name":"if","hash":{},"fn":container.program(2, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":3,"column":4},"end":{"line":5,"column":11}}})) != null ? stack1 : "")
|
|
13674
|
+
+ ((stack1 = lookupProperty(helpers,"each").call(alias1,((stack1 = (depth0 != null ? lookupProperty(depth0,"config") : depth0)) != null ? lookupProperty(stack1,"button_filters") : stack1),{"name":"each","hash":{},"fn":container.program(4, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":6,"column":4},"end":{"line":8,"column":13}}})) != null ? stack1 : "")
|
|
13675
|
+
+ ((stack1 = lookupProperty(helpers,"each").call(alias1,((stack1 = (depth0 != null ? lookupProperty(depth0,"config") : depth0)) != null ? lookupProperty(stack1,"button_format_filters") : stack1),{"name":"each","hash":{},"fn":container.program(6, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":9,"column":4},"end":{"line":11,"column":13}}})) != null ? stack1 : "")
|
|
13520
13676
|
+ "\n"
|
|
13521
|
-
+ ((stack1 = lookupProperty(helpers,"if").call(alias1,((stack1 = (depth0 != null ? lookupProperty(depth0,"config") : depth0)) != null ? lookupProperty(stack1,"has_days") : stack1),{"name":"if","hash":{},"fn":container.program(
|
|
13677
|
+
+ ((stack1 = lookupProperty(helpers,"if").call(alias1,((stack1 = (depth0 != null ? lookupProperty(depth0,"config") : depth0)) != null ? lookupProperty(stack1,"has_days") : stack1),{"name":"if","hash":{},"fn":container.program(8, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":13,"column":1},"end":{"line":22,"column":8}}})) != null ? stack1 : "")
|
|
13522
13678
|
+ "\n"
|
|
13523
|
-
+ ((stack1 = lookupProperty(helpers,"if").call(alias1,((stack1 = (depth0 != null ? lookupProperty(depth0,"config") : depth0)) != null ? lookupProperty(stack1,"has_cities") : stack1),{"name":"if","hash":{},"fn":container.program(
|
|
13679
|
+
+ ((stack1 = lookupProperty(helpers,"if").call(alias1,((stack1 = (depth0 != null ? lookupProperty(depth0,"config") : depth0)) != null ? lookupProperty(stack1,"has_cities") : stack1),{"name":"if","hash":{},"fn":container.program(11, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":24,"column":4},"end":{"line":33,"column":11}}})) != null ? stack1 : "")
|
|
13524
13680
|
+ "\n"
|
|
13525
|
-
+ ((stack1 = lookupProperty(helpers,"if").call(alias1,((stack1 = (depth0 != null ? lookupProperty(depth0,"config") : depth0)) != null ? lookupProperty(stack1,"has_groups") : stack1),{"name":"if","hash":{},"fn":container.program(
|
|
13681
|
+
+ ((stack1 = lookupProperty(helpers,"if").call(alias1,((stack1 = (depth0 != null ? lookupProperty(depth0,"config") : depth0)) != null ? lookupProperty(stack1,"has_groups") : stack1),{"name":"if","hash":{},"fn":container.program(14, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":35,"column":4},"end":{"line":44,"column":11}}})) != null ? stack1 : "")
|
|
13526
13682
|
+ "\n"
|
|
13527
|
-
+ ((stack1 = lookupProperty(helpers,"if").call(alias1,((stack1 = (depth0 != null ? lookupProperty(depth0,"config") : depth0)) != null ? lookupProperty(stack1,"has_venues") : stack1),{"name":"if","hash":{},"fn":container.program(
|
|
13683
|
+
+ ((stack1 = lookupProperty(helpers,"if").call(alias1,((stack1 = (depth0 != null ? lookupProperty(depth0,"config") : depth0)) != null ? lookupProperty(stack1,"has_venues") : stack1),{"name":"if","hash":{},"fn":container.program(16, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":46,"column":1},"end":{"line":55,"column":8}}})) != null ? stack1 : "")
|
|
13528
13684
|
+ "\n"
|
|
13529
|
-
+ ((stack1 = lookupProperty(helpers,"if").call(alias1,((stack1 = (depth0 != null ? lookupProperty(depth0,"config") : depth0)) != null ? lookupProperty(stack1,"has_areas") : stack1),{"name":"if","hash":{},"fn":container.program(
|
|
13685
|
+
+ ((stack1 = lookupProperty(helpers,"if").call(alias1,((stack1 = (depth0 != null ? lookupProperty(depth0,"config") : depth0)) != null ? lookupProperty(stack1,"has_areas") : stack1),{"name":"if","hash":{},"fn":container.program(19, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":57,"column":4},"end":{"line":66,"column":11}}})) != null ? stack1 : "")
|
|
13530
13686
|
+ "\n"
|
|
13531
|
-
+ ((stack1 = lookupProperty(helpers,"if").call(alias1,((stack1 = (depth0 != null ? lookupProperty(depth0,"config") : depth0)) != null ? lookupProperty(stack1,"has_regions") : stack1),{"name":"if","hash":{},"fn":container.program(
|
|
13687
|
+
+ ((stack1 = lookupProperty(helpers,"if").call(alias1,((stack1 = (depth0 != null ? lookupProperty(depth0,"config") : depth0)) != null ? lookupProperty(stack1,"has_regions") : stack1),{"name":"if","hash":{},"fn":container.program(22, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":68,"column":1},"end":{"line":77,"column":8}}})) != null ? stack1 : "")
|
|
13532
13688
|
+ "\n"
|
|
13533
|
-
+ ((stack1 = lookupProperty(helpers,"if").call(alias1,((stack1 = (depth0 != null ? lookupProperty(depth0,"config") : depth0)) != null ? lookupProperty(stack1,"has_locations") : stack1),{"name":"if","hash":{},"fn":container.program(
|
|
13689
|
+
+ ((stack1 = lookupProperty(helpers,"if").call(alias1,((stack1 = (depth0 != null ? lookupProperty(depth0,"config") : depth0)) != null ? lookupProperty(stack1,"has_locations") : stack1),{"name":"if","hash":{},"fn":container.program(25, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":79,"column":4},"end":{"line":88,"column":11}}})) != null ? stack1 : "")
|
|
13534
13690
|
+ "\n"
|
|
13535
|
-
+ ((stack1 = lookupProperty(helpers,"if").call(alias1,((stack1 = (depth0 != null ? lookupProperty(depth0,"config") : depth0)) != null ? lookupProperty(stack1,"has_sub_province") : stack1),{"name":"if","hash":{},"fn":container.program(
|
|
13691
|
+
+ ((stack1 = lookupProperty(helpers,"if").call(alias1,((stack1 = (depth0 != null ? lookupProperty(depth0,"config") : depth0)) != null ? lookupProperty(stack1,"has_sub_province") : stack1),{"name":"if","hash":{},"fn":container.program(27, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":90,"column":4},"end":{"line":99,"column":11}}})) != null ? stack1 : "")
|
|
13536
13692
|
+ "\n"
|
|
13537
|
-
+ ((stack1 = lookupProperty(helpers,"if").call(alias1,((stack1 = (depth0 != null ? lookupProperty(depth0,"config") : depth0)) != null ? lookupProperty(stack1,"has_neighborhoods") : stack1),{"name":"if","hash":{},"fn":container.program(
|
|
13693
|
+
+ ((stack1 = lookupProperty(helpers,"if").call(alias1,((stack1 = (depth0 != null ? lookupProperty(depth0,"config") : depth0)) != null ? lookupProperty(stack1,"has_neighborhoods") : stack1),{"name":"if","hash":{},"fn":container.program(29, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":101,"column":1},"end":{"line":110,"column":8}}})) != null ? stack1 : "")
|
|
13538
13694
|
+ "\n"
|
|
13539
|
-
+ ((stack1 = lookupProperty(helpers,"if").call(alias1,((stack1 = (depth0 != null ? lookupProperty(depth0,"config") : depth0)) != null ? lookupProperty(stack1,"has_states") : stack1),{"name":"if","hash":{},"fn":container.program(
|
|
13695
|
+
+ ((stack1 = lookupProperty(helpers,"if").call(alias1,((stack1 = (depth0 != null ? lookupProperty(depth0,"config") : depth0)) != null ? lookupProperty(stack1,"has_states") : stack1),{"name":"if","hash":{},"fn":container.program(31, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":112,"column":4},"end":{"line":121,"column":11}}})) != null ? stack1 : "")
|
|
13540
13696
|
+ "\n"
|
|
13541
|
-
+ ((stack1 = lookupProperty(helpers,"if").call(alias1,((stack1 = (depth0 != null ? lookupProperty(depth0,"config") : depth0)) != null ? lookupProperty(stack1,"has_zip_codes") : stack1),{"name":"if","hash":{},"fn":container.program(
|
|
13697
|
+
+ ((stack1 = lookupProperty(helpers,"if").call(alias1,((stack1 = (depth0 != null ? lookupProperty(depth0,"config") : depth0)) != null ? lookupProperty(stack1,"has_zip_codes") : stack1),{"name":"if","hash":{},"fn":container.program(33, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":123,"column":4},"end":{"line":132,"column":11}}})) != null ? stack1 : "")
|
|
13542
13698
|
+ "\n"
|
|
13543
|
-
+ ((stack1 = lookupProperty(helpers,"if").call(alias1,((stack1 = (depth0 != null ? lookupProperty(depth0,"config") : depth0)) != null ? lookupProperty(stack1,"has_formats") : stack1),{"name":"if","hash":{},"fn":container.program(
|
|
13699
|
+
+ ((stack1 = lookupProperty(helpers,"if").call(alias1,((stack1 = (depth0 != null ? lookupProperty(depth0,"config") : depth0)) != null ? lookupProperty(stack1,"has_formats") : stack1),{"name":"if","hash":{},"fn":container.program(35, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":134,"column":4},"end":{"line":143,"column":11}}})) != null ? stack1 : "")
|
|
13544
13700
|
+ "\n"
|
|
13545
|
-
+ ((stack1 = lookupProperty(helpers,"if").call(alias1,((stack1 = (depth0 != null ? lookupProperty(depth0,"config") : depth0)) != null ? lookupProperty(stack1,"has_languages") : stack1),{"name":"if","hash":{},"fn":container.program(
|
|
13701
|
+
+ ((stack1 = lookupProperty(helpers,"if").call(alias1,((stack1 = (depth0 != null ? lookupProperty(depth0,"config") : depth0)) != null ? lookupProperty(stack1,"has_languages") : stack1),{"name":"if","hash":{},"fn":container.program(38, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":145,"column":1},"end":{"line":154,"column":8}}})) != null ? stack1 : "")
|
|
13702
|
+
+ "\n"
|
|
13703
|
+
+ ((stack1 = lookupProperty(helpers,"if").call(alias1,((stack1 = (depth0 != null ? lookupProperty(depth0,"config") : depth0)) != null ? lookupProperty(stack1,"has_common_needs") : stack1),{"name":"if","hash":{},"fn":container.program(41, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":156,"column":4},"end":{"line":165,"column":8}}})) != null ? stack1 : "")
|
|
13546
13704
|
+ " </div>\n";
|
|
13547
13705
|
},"2":function(container,depth0,helpers,partials,data) {
|
|
13548
13706
|
var lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
@@ -13553,7 +13711,7 @@ this["hbs_Crouton"]["templates"]["header"] = Handlebars.template({"1":function(c
|
|
|
13553
13711
|
};
|
|
13554
13712
|
|
|
13555
13713
|
return " <div class=\"bmlt-button-container\"><a id=\"day\" class=\"btn btn-primary btn-sm\">"
|
|
13556
|
-
+ container.escapeExpression((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),"weekday",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":
|
|
13714
|
+
+ container.escapeExpression((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),"weekday",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":4,"column":86},"end":{"line":4,"column":107}}}))
|
|
13557
13715
|
+ "</a></div>\n";
|
|
13558
13716
|
},"4":function(container,depth0,helpers,partials,data) {
|
|
13559
13717
|
var alias1=container.lambda, alias2=container.escapeExpression, lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
@@ -13568,9 +13726,24 @@ this["hbs_Crouton"]["templates"]["header"] = Handlebars.template({"1":function(c
|
|
|
13568
13726
|
+ "\" data-field=\""
|
|
13569
13727
|
+ alias2(alias1((depth0 != null ? lookupProperty(depth0,"field") : depth0), depth0))
|
|
13570
13728
|
+ "\" class=\"filterButton btn btn-primary btn-sm\">"
|
|
13571
|
-
+ alias2((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? lookupProperty(depth0,"title") : depth0),{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":
|
|
13729
|
+
+ alias2((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? lookupProperty(depth0,"title") : depth0),{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":7,"column":151},"end":{"line":7,"column":173}}}))
|
|
13572
13730
|
+ "</a></div>\n";
|
|
13573
13731
|
},"6":function(container,depth0,helpers,partials,data) {
|
|
13732
|
+
var alias1=container.lambda, alias2=container.escapeExpression, lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
13733
|
+
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
13734
|
+
return parent[propertyName];
|
|
13735
|
+
}
|
|
13736
|
+
return undefined
|
|
13737
|
+
};
|
|
13738
|
+
|
|
13739
|
+
return " <div class=\"bmlt-button-container\"><a id=\"filterButton_"
|
|
13740
|
+
+ alias2(alias1((depth0 != null ? lookupProperty(depth0,"field") : depth0), depth0))
|
|
13741
|
+
+ "\" data-field=\""
|
|
13742
|
+
+ alias2(alias1((depth0 != null ? lookupProperty(depth0,"field") : depth0), depth0))
|
|
13743
|
+
+ "\" class=\"filterButton btn btn-primary btn-sm\">"
|
|
13744
|
+
+ alias2(alias1((depth0 != null ? lookupProperty(depth0,"title") : depth0), depth0))
|
|
13745
|
+
+ "</a></div>\n";
|
|
13746
|
+
},"8":function(container,depth0,helpers,partials,data) {
|
|
13574
13747
|
var stack1, alias1=container.escapeExpression, alias2=depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
13575
13748
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
13576
13749
|
return parent[propertyName];
|
|
@@ -13581,11 +13754,11 @@ this["hbs_Crouton"]["templates"]["header"] = Handlebars.template({"1":function(c
|
|
|
13581
13754
|
return " <div class=\"bmlt-dropdown-container\">\n <select class=\"crouton-select filter-dropdown\" style=\"width:"
|
|
13582
13755
|
+ alias1(container.lambda(((stack1 = (depth0 != null ? lookupProperty(depth0,"config") : depth0)) != null ? lookupProperty(stack1,"dropdown_width") : stack1), depth0))
|
|
13583
13756
|
+ ";\" data-placeholder=\""
|
|
13584
|
-
+ alias1((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||container.hooks.helperMissing).call(alias2,"weekday",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":
|
|
13757
|
+
+ alias1((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||container.hooks.helperMissing).call(alias2,"weekday",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":15,"column":114},"end":{"line":15,"column":135}}}))
|
|
13585
13758
|
+ "\" data-pointer=\"Weekdays\" id=\"filter-dropdown-weekdays\">\n <option></option>\n"
|
|
13586
|
-
+ ((stack1 = lookupProperty(helpers,"each").call(alias2,((stack1 = (depth0 != null ? lookupProperty(depth0,"uniqueData") : depth0)) != null ? lookupProperty(stack1,"formatted_days") : stack1),{"name":"each","hash":{},"fn":container.program(
|
|
13759
|
+
+ ((stack1 = lookupProperty(helpers,"each").call(alias2,((stack1 = (depth0 != null ? lookupProperty(depth0,"uniqueData") : depth0)) != null ? lookupProperty(stack1,"formatted_days") : stack1),{"name":"each","hash":{},"fn":container.program(9, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":17,"column":4},"end":{"line":19,"column":13}}})) != null ? stack1 : "")
|
|
13587
13760
|
+ " </select>\n </div>\n";
|
|
13588
|
-
},"
|
|
13761
|
+
},"9":function(container,depth0,helpers,partials,data) {
|
|
13589
13762
|
var alias1=container.escapeExpression, lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
13590
13763
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
13591
13764
|
return parent[propertyName];
|
|
@@ -13594,11 +13767,11 @@ this["hbs_Crouton"]["templates"]["header"] = Handlebars.template({"1":function(c
|
|
|
13594
13767
|
};
|
|
13595
13768
|
|
|
13596
13769
|
return " <option value=\"a-"
|
|
13597
|
-
+ alias1((lookupProperty(helpers,"formatDataPointer")||(depth0 && lookupProperty(depth0,"formatDataPointer"))||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),depth0,{"name":"formatDataPointer","hash":{},"data":data,"loc":{"start":{"line":
|
|
13770
|
+
+ alias1((lookupProperty(helpers,"formatDataPointer")||(depth0 && lookupProperty(depth0,"formatDataPointer"))||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),depth0,{"name":"formatDataPointer","hash":{},"data":data,"loc":{"start":{"line":18,"column":22},"end":{"line":18,"column":48}}}))
|
|
13598
13771
|
+ "\">"
|
|
13599
13772
|
+ alias1(container.lambda(depth0, depth0))
|
|
13600
13773
|
+ "</option>\n";
|
|
13601
|
-
},"
|
|
13774
|
+
},"11":function(container,depth0,helpers,partials,data) {
|
|
13602
13775
|
var stack1, alias1=container.escapeExpression, alias2=depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
13603
13776
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
13604
13777
|
return parent[propertyName];
|
|
@@ -13609,11 +13782,11 @@ this["hbs_Crouton"]["templates"]["header"] = Handlebars.template({"1":function(c
|
|
|
13609
13782
|
return " <div class=\"bmlt-dropdown-container\">\n <select class=\"crouton-select filter-dropdown\" style=\"width:"
|
|
13610
13783
|
+ alias1(container.lambda(((stack1 = (depth0 != null ? lookupProperty(depth0,"config") : depth0)) != null ? lookupProperty(stack1,"dropdown_width") : stack1), depth0))
|
|
13611
13784
|
+ ";\" data-placeholder=\""
|
|
13612
|
-
+ alias1((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||container.hooks.helperMissing).call(alias2,"cities",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":
|
|
13785
|
+
+ alias1((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||container.hooks.helperMissing).call(alias2,"cities",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":26,"column":123},"end":{"line":26,"column":143}}}))
|
|
13613
13786
|
+ "\" data-pointer=\"Cities\" id=\"filter-dropdown-cities\">\n <option></option>\n"
|
|
13614
|
-
+ ((stack1 = lookupProperty(helpers,"each").call(alias2,((stack1 = (depth0 != null ? lookupProperty(depth0,"uniqueData") : depth0)) != null ? lookupProperty(stack1,"cities") : stack1),{"name":"each","hash":{},"fn":container.program(
|
|
13787
|
+
+ ((stack1 = lookupProperty(helpers,"each").call(alias2,((stack1 = (depth0 != null ? lookupProperty(depth0,"uniqueData") : depth0)) != null ? lookupProperty(stack1,"cities") : stack1),{"name":"each","hash":{},"fn":container.program(12, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":28,"column":16},"end":{"line":30,"column":25}}})) != null ? stack1 : "")
|
|
13615
13788
|
+ " </select>\n </div>\n";
|
|
13616
|
-
},"
|
|
13789
|
+
},"12":function(container,depth0,helpers,partials,data) {
|
|
13617
13790
|
var alias1=container.escapeExpression, lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
13618
13791
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
13619
13792
|
return parent[propertyName];
|
|
@@ -13622,11 +13795,11 @@ this["hbs_Crouton"]["templates"]["header"] = Handlebars.template({"1":function(c
|
|
|
13622
13795
|
};
|
|
13623
13796
|
|
|
13624
13797
|
return " <option value=\"a-"
|
|
13625
|
-
+ alias1((lookupProperty(helpers,"formatDataPointer")||(depth0 && lookupProperty(depth0,"formatDataPointer"))||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),depth0,{"name":"formatDataPointer","hash":{},"data":data,"loc":{"start":{"line":
|
|
13798
|
+
+ alias1((lookupProperty(helpers,"formatDataPointer")||(depth0 && lookupProperty(depth0,"formatDataPointer"))||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),depth0,{"name":"formatDataPointer","hash":{},"data":data,"loc":{"start":{"line":29,"column":37},"end":{"line":29,"column":63}}}))
|
|
13626
13799
|
+ "\">"
|
|
13627
13800
|
+ alias1(container.lambda(depth0, depth0))
|
|
13628
13801
|
+ "</option>\n";
|
|
13629
|
-
},"
|
|
13802
|
+
},"14":function(container,depth0,helpers,partials,data) {
|
|
13630
13803
|
var stack1, alias1=container.escapeExpression, alias2=depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
13631
13804
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
13632
13805
|
return parent[propertyName];
|
|
@@ -13637,11 +13810,11 @@ this["hbs_Crouton"]["templates"]["header"] = Handlebars.template({"1":function(c
|
|
|
13637
13810
|
return " <div class=\"bmlt-dropdown-container\">\n <select class=\"crouton-select filter-dropdown\" style=\"width:"
|
|
13638
13811
|
+ alias1(container.lambda(((stack1 = (depth0 != null ? lookupProperty(depth0,"config") : depth0)) != null ? lookupProperty(stack1,"dropdown_width") : stack1), depth0))
|
|
13639
13812
|
+ ";\" data-placeholder=\""
|
|
13640
|
-
+ alias1((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||container.hooks.helperMissing).call(alias2,"groups",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":
|
|
13813
|
+
+ alias1((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||container.hooks.helperMissing).call(alias2,"groups",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":37,"column":123},"end":{"line":37,"column":143}}}))
|
|
13641
13814
|
+ "\" data-pointer=\"Groups\" id=\"filter-dropdown-groups\">\n <option></option>\n"
|
|
13642
|
-
+ ((stack1 = lookupProperty(helpers,"each").call(alias2,((stack1 = (depth0 != null ? lookupProperty(depth0,"uniqueData") : depth0)) != null ? lookupProperty(stack1,"groups") : stack1),{"name":"each","hash":{},"fn":container.program(
|
|
13815
|
+
+ ((stack1 = lookupProperty(helpers,"each").call(alias2,((stack1 = (depth0 != null ? lookupProperty(depth0,"uniqueData") : depth0)) != null ? lookupProperty(stack1,"groups") : stack1),{"name":"each","hash":{},"fn":container.program(12, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":39,"column":16},"end":{"line":41,"column":25}}})) != null ? stack1 : "")
|
|
13643
13816
|
+ " </select>\n </div>\n";
|
|
13644
|
-
},"
|
|
13817
|
+
},"16":function(container,depth0,helpers,partials,data) {
|
|
13645
13818
|
var stack1, alias1=container.escapeExpression, alias2=depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
13646
13819
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
13647
13820
|
return parent[propertyName];
|
|
@@ -13652,11 +13825,11 @@ this["hbs_Crouton"]["templates"]["header"] = Handlebars.template({"1":function(c
|
|
|
13652
13825
|
return " <div class=\"bmlt-dropdown-container\">\n <select class=\"crouton-select filter-dropdown\" style=\"width:"
|
|
13653
13826
|
+ alias1(container.lambda(((stack1 = (depth0 != null ? lookupProperty(depth0,"config") : depth0)) != null ? lookupProperty(stack1,"dropdown_width") : stack1), depth0))
|
|
13654
13827
|
+ ";\" data-placeholder=\""
|
|
13655
|
-
+ alias1((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||container.hooks.helperMissing).call(alias2,"venue_types",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":
|
|
13828
|
+
+ alias1((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||container.hooks.helperMissing).call(alias2,"venue_types",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":48,"column":113},"end":{"line":48,"column":138}}}))
|
|
13656
13829
|
+ "\" data-pointer=\"Venues\" id=\"filter-dropdown-venues\">\n <option></option>\n"
|
|
13657
|
-
+ ((stack1 = lookupProperty(helpers,"each").call(alias2,((stack1 = (depth0 != null ? lookupProperty(depth0,"uniqueData") : depth0)) != null ? lookupProperty(stack1,"venue_types") : stack1),{"name":"each","hash":{},"fn":container.program(
|
|
13830
|
+
+ ((stack1 = lookupProperty(helpers,"each").call(alias2,((stack1 = (depth0 != null ? lookupProperty(depth0,"uniqueData") : depth0)) != null ? lookupProperty(stack1,"venue_types") : stack1),{"name":"each","hash":{},"fn":container.program(17, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":50,"column":3},"end":{"line":52,"column":12}}})) != null ? stack1 : "")
|
|
13658
13831
|
+ " </select>\n </div>\n";
|
|
13659
|
-
},"
|
|
13832
|
+
},"17":function(container,depth0,helpers,partials,data) {
|
|
13660
13833
|
var alias1=container.escapeExpression, lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
13661
13834
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
13662
13835
|
return parent[propertyName];
|
|
@@ -13665,11 +13838,11 @@ this["hbs_Crouton"]["templates"]["header"] = Handlebars.template({"1":function(c
|
|
|
13665
13838
|
};
|
|
13666
13839
|
|
|
13667
13840
|
return " <option value=\"a-"
|
|
13668
|
-
+ alias1((lookupProperty(helpers,"formatDataPointer")||(depth0 && lookupProperty(depth0,"formatDataPointer"))||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),depth0,{"name":"formatDataPointer","hash":{},"data":data,"loc":{"start":{"line":
|
|
13841
|
+
+ alias1((lookupProperty(helpers,"formatDataPointer")||(depth0 && lookupProperty(depth0,"formatDataPointer"))||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),depth0,{"name":"formatDataPointer","hash":{},"data":data,"loc":{"start":{"line":51,"column":21},"end":{"line":51,"column":47}}}))
|
|
13669
13842
|
+ "\">"
|
|
13670
13843
|
+ alias1(container.lambda(depth0, depth0))
|
|
13671
13844
|
+ "</option>\n";
|
|
13672
|
-
},"
|
|
13845
|
+
},"19":function(container,depth0,helpers,partials,data) {
|
|
13673
13846
|
var stack1, alias1=container.escapeExpression, alias2=depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
13674
13847
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
13675
13848
|
return parent[propertyName];
|
|
@@ -13680,11 +13853,11 @@ this["hbs_Crouton"]["templates"]["header"] = Handlebars.template({"1":function(c
|
|
|
13680
13853
|
return " <div class=\"bmlt-dropdown-container\">\n <select class=\"crouton-select filter-dropdown\" style=\"width:"
|
|
13681
13854
|
+ alias1(container.lambda(((stack1 = (depth0 != null ? lookupProperty(depth0,"config") : depth0)) != null ? lookupProperty(stack1,"dropdown_width") : stack1), depth0))
|
|
13682
13855
|
+ ";\" data-placeholder=\""
|
|
13683
|
-
+ alias1((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||container.hooks.helperMissing).call(alias2,"areas",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":
|
|
13856
|
+
+ alias1((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||container.hooks.helperMissing).call(alias2,"areas",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":59,"column":123},"end":{"line":59,"column":142}}}))
|
|
13684
13857
|
+ "\" data-pointer=\"Areas\" id=\"filter-dropdown-areas\">\n <option></option>\n"
|
|
13685
|
-
+ ((stack1 = lookupProperty(helpers,"each").call(alias2,((stack1 = (depth0 != null ? lookupProperty(depth0,"uniqueData") : depth0)) != null ? lookupProperty(stack1,"areas") : stack1),{"name":"each","hash":{},"fn":container.program(
|
|
13858
|
+
+ ((stack1 = lookupProperty(helpers,"each").call(alias2,((stack1 = (depth0 != null ? lookupProperty(depth0,"uniqueData") : depth0)) != null ? lookupProperty(stack1,"areas") : stack1),{"name":"each","hash":{},"fn":container.program(20, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":61,"column":16},"end":{"line":63,"column":25}}})) != null ? stack1 : "")
|
|
13686
13859
|
+ " </select>\n </div>\n";
|
|
13687
|
-
},"
|
|
13860
|
+
},"20":function(container,depth0,helpers,partials,data) {
|
|
13688
13861
|
var alias1=container.lambda, alias2=container.escapeExpression, lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
13689
13862
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
13690
13863
|
return parent[propertyName];
|
|
@@ -13697,7 +13870,7 @@ this["hbs_Crouton"]["templates"]["header"] = Handlebars.template({"1":function(c
|
|
|
13697
13870
|
+ "\">"
|
|
13698
13871
|
+ alias2(alias1((depth0 != null ? lookupProperty(depth0,"name") : depth0), depth0))
|
|
13699
13872
|
+ "</option>\n";
|
|
13700
|
-
},"
|
|
13873
|
+
},"22":function(container,depth0,helpers,partials,data) {
|
|
13701
13874
|
var stack1, alias1=container.escapeExpression, alias2=depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
13702
13875
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
13703
13876
|
return parent[propertyName];
|
|
@@ -13708,11 +13881,11 @@ this["hbs_Crouton"]["templates"]["header"] = Handlebars.template({"1":function(c
|
|
|
13708
13881
|
return " <div class=\"bmlt-dropdown-container\">\n <select class=\"crouton-select filter-dropdown\" style=\"width:"
|
|
13709
13882
|
+ alias1(container.lambda(((stack1 = (depth0 != null ? lookupProperty(depth0,"config") : depth0)) != null ? lookupProperty(stack1,"dropdown_width") : stack1), depth0))
|
|
13710
13883
|
+ ";\" data-placeholder=\""
|
|
13711
|
-
+ alias1((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||container.hooks.helperMissing).call(alias2,"regions",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":
|
|
13884
|
+
+ alias1((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||container.hooks.helperMissing).call(alias2,"regions",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":70,"column":114},"end":{"line":70,"column":135}}}))
|
|
13712
13885
|
+ "\" data-pointer=\"Regions\" id=\"filter-dropdown-regions\">\n <option></option>\n"
|
|
13713
|
-
+ ((stack1 = lookupProperty(helpers,"each").call(alias2,((stack1 = (depth0 != null ? lookupProperty(depth0,"uniqueData") : depth0)) != null ? lookupProperty(stack1,"regions") : stack1),{"name":"each","hash":{},"fn":container.program(
|
|
13886
|
+
+ ((stack1 = lookupProperty(helpers,"each").call(alias2,((stack1 = (depth0 != null ? lookupProperty(depth0,"uniqueData") : depth0)) != null ? lookupProperty(stack1,"regions") : stack1),{"name":"each","hash":{},"fn":container.program(23, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":72,"column":4},"end":{"line":74,"column":13}}})) != null ? stack1 : "")
|
|
13714
13887
|
+ " </select>\n </div>\n";
|
|
13715
|
-
},"
|
|
13888
|
+
},"23":function(container,depth0,helpers,partials,data) {
|
|
13716
13889
|
var alias1=container.escapeExpression, lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
13717
13890
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
13718
13891
|
return parent[propertyName];
|
|
@@ -13721,11 +13894,11 @@ this["hbs_Crouton"]["templates"]["header"] = Handlebars.template({"1":function(c
|
|
|
13721
13894
|
};
|
|
13722
13895
|
|
|
13723
13896
|
return " <option value=\"a-"
|
|
13724
|
-
+ alias1((lookupProperty(helpers,"formatDataPointer")||(depth0 && lookupProperty(depth0,"formatDataPointer"))||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? lookupProperty(depth0,"name") : depth0),{"name":"formatDataPointer","hash":{},"data":data,"loc":{"start":{"line":
|
|
13897
|
+
+ alias1((lookupProperty(helpers,"formatDataPointer")||(depth0 && lookupProperty(depth0,"formatDataPointer"))||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? lookupProperty(depth0,"name") : depth0),{"name":"formatDataPointer","hash":{},"data":data,"loc":{"start":{"line":73,"column":22},"end":{"line":73,"column":53}}}))
|
|
13725
13898
|
+ "\">"
|
|
13726
13899
|
+ alias1(container.lambda((depth0 != null ? lookupProperty(depth0,"name") : depth0), depth0))
|
|
13727
13900
|
+ "</option>\n";
|
|
13728
|
-
},"
|
|
13901
|
+
},"25":function(container,depth0,helpers,partials,data) {
|
|
13729
13902
|
var stack1, alias1=container.escapeExpression, alias2=depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
13730
13903
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
13731
13904
|
return parent[propertyName];
|
|
@@ -13736,11 +13909,11 @@ this["hbs_Crouton"]["templates"]["header"] = Handlebars.template({"1":function(c
|
|
|
13736
13909
|
return " <div class=\"bmlt-dropdown-container\">\n <select class=\"crouton-select filter-dropdown\" style=\"width:"
|
|
13737
13910
|
+ alias1(container.lambda(((stack1 = (depth0 != null ? lookupProperty(depth0,"config") : depth0)) != null ? lookupProperty(stack1,"dropdown_width") : stack1), depth0))
|
|
13738
13911
|
+ ";\" data-placeholder=\""
|
|
13739
|
-
+ alias1((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||container.hooks.helperMissing).call(alias2,"locations",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":
|
|
13912
|
+
+ alias1((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||container.hooks.helperMissing).call(alias2,"locations",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":81,"column":123},"end":{"line":81,"column":146}}}))
|
|
13740
13913
|
+ "\" data-pointer=\"Locations\" id=\"filter-dropdown-locations\">\n <option></option>\n"
|
|
13741
|
-
+ ((stack1 = lookupProperty(helpers,"each").call(alias2,((stack1 = (depth0 != null ? lookupProperty(depth0,"uniqueData") : depth0)) != null ? lookupProperty(stack1,"locations") : stack1),{"name":"each","hash":{},"fn":container.program(
|
|
13914
|
+
+ ((stack1 = lookupProperty(helpers,"each").call(alias2,((stack1 = (depth0 != null ? lookupProperty(depth0,"uniqueData") : depth0)) != null ? lookupProperty(stack1,"locations") : stack1),{"name":"each","hash":{},"fn":container.program(12, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":83,"column":16},"end":{"line":85,"column":25}}})) != null ? stack1 : "")
|
|
13742
13915
|
+ " </select>\n </div>\n";
|
|
13743
|
-
},"
|
|
13916
|
+
},"27":function(container,depth0,helpers,partials,data) {
|
|
13744
13917
|
var stack1, alias1=container.escapeExpression, alias2=depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
13745
13918
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
13746
13919
|
return parent[propertyName];
|
|
@@ -13751,11 +13924,11 @@ this["hbs_Crouton"]["templates"]["header"] = Handlebars.template({"1":function(c
|
|
|
13751
13924
|
return " <div class=\"bmlt-dropdown-container\">\n <select class=\"crouton-select filter-dropdown\" style=\"width:"
|
|
13752
13925
|
+ alias1(container.lambda(((stack1 = (depth0 != null ? lookupProperty(depth0,"config") : depth0)) != null ? lookupProperty(stack1,"dropdown_width") : stack1), depth0))
|
|
13753
13926
|
+ ";\" data-placeholder=\""
|
|
13754
|
-
+ alias1((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||container.hooks.helperMissing).call(alias2,"counties",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":
|
|
13927
|
+
+ alias1((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||container.hooks.helperMissing).call(alias2,"counties",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":92,"column":123},"end":{"line":92,"column":145}}}))
|
|
13755
13928
|
+ "\" data-pointer=\"Counties\" id=\"filter-dropdown-sub_province\">\n <option></option>\n"
|
|
13756
|
-
+ ((stack1 = lookupProperty(helpers,"each").call(alias2,((stack1 = (depth0 != null ? lookupProperty(depth0,"uniqueData") : depth0)) != null ? lookupProperty(stack1,"sub_provinces") : stack1),{"name":"each","hash":{},"fn":container.program(
|
|
13929
|
+
+ ((stack1 = lookupProperty(helpers,"each").call(alias2,((stack1 = (depth0 != null ? lookupProperty(depth0,"uniqueData") : depth0)) != null ? lookupProperty(stack1,"sub_provinces") : stack1),{"name":"each","hash":{},"fn":container.program(12, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":94,"column":16},"end":{"line":96,"column":25}}})) != null ? stack1 : "")
|
|
13757
13930
|
+ " </select>\n </div>\n";
|
|
13758
|
-
},"
|
|
13931
|
+
},"29":function(container,depth0,helpers,partials,data) {
|
|
13759
13932
|
var stack1, alias1=container.escapeExpression, alias2=depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
13760
13933
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
13761
13934
|
return parent[propertyName];
|
|
@@ -13766,11 +13939,11 @@ this["hbs_Crouton"]["templates"]["header"] = Handlebars.template({"1":function(c
|
|
|
13766
13939
|
return " <div class=\"bmlt-dropdown-container\">\n <select class=\"crouton-select filter-dropdown\" style=\"width:"
|
|
13767
13940
|
+ alias1(container.lambda(((stack1 = (depth0 != null ? lookupProperty(depth0,"config") : depth0)) != null ? lookupProperty(stack1,"dropdown_width") : stack1), depth0))
|
|
13768
13941
|
+ ";\" data-placeholder=\""
|
|
13769
|
-
+ alias1((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||container.hooks.helperMissing).call(alias2,"neighborhood",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":
|
|
13942
|
+
+ alias1((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||container.hooks.helperMissing).call(alias2,"neighborhood",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":103,"column":123},"end":{"line":103,"column":149}}}))
|
|
13770
13943
|
+ "\" data-pointer=\"Neighborhoods\" id=\"filter-dropdown-neighborhoods\">\n <option></option>\n"
|
|
13771
|
-
+ ((stack1 = lookupProperty(helpers,"each").call(alias2,((stack1 = (depth0 != null ? lookupProperty(depth0,"uniqueData") : depth0)) != null ? lookupProperty(stack1,"neighborhoods") : stack1),{"name":"each","hash":{},"fn":container.program(
|
|
13944
|
+
+ ((stack1 = lookupProperty(helpers,"each").call(alias2,((stack1 = (depth0 != null ? lookupProperty(depth0,"uniqueData") : depth0)) != null ? lookupProperty(stack1,"neighborhoods") : stack1),{"name":"each","hash":{},"fn":container.program(12, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":105,"column":4},"end":{"line":107,"column":13}}})) != null ? stack1 : "")
|
|
13772
13945
|
+ " </select>\n </div>\n";
|
|
13773
|
-
},"
|
|
13946
|
+
},"31":function(container,depth0,helpers,partials,data) {
|
|
13774
13947
|
var stack1, alias1=container.escapeExpression, alias2=depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
13775
13948
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
13776
13949
|
return parent[propertyName];
|
|
@@ -13781,11 +13954,11 @@ this["hbs_Crouton"]["templates"]["header"] = Handlebars.template({"1":function(c
|
|
|
13781
13954
|
return " <div class=\"bmlt-dropdown-container\">\n <select class=\"crouton-select filter-dropdown\" style=\"width:"
|
|
13782
13955
|
+ alias1(container.lambda(((stack1 = (depth0 != null ? lookupProperty(depth0,"config") : depth0)) != null ? lookupProperty(stack1,"dropdown_width") : stack1), depth0))
|
|
13783
13956
|
+ ";\" data-placeholder=\""
|
|
13784
|
-
+ alias1((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||container.hooks.helperMissing).call(alias2,"states",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":
|
|
13957
|
+
+ alias1((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||container.hooks.helperMissing).call(alias2,"states",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":114,"column":123},"end":{"line":114,"column":143}}}))
|
|
13785
13958
|
+ "\" data-pointer=\"States\" id=\"filter-dropdown-states\">\n <option></option>\n"
|
|
13786
|
-
+ ((stack1 = lookupProperty(helpers,"each").call(alias2,((stack1 = (depth0 != null ? lookupProperty(depth0,"uniqueData") : depth0)) != null ? lookupProperty(stack1,"states") : stack1),{"name":"each","hash":{},"fn":container.program(
|
|
13959
|
+
+ ((stack1 = lookupProperty(helpers,"each").call(alias2,((stack1 = (depth0 != null ? lookupProperty(depth0,"uniqueData") : depth0)) != null ? lookupProperty(stack1,"states") : stack1),{"name":"each","hash":{},"fn":container.program(12, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":116,"column":16},"end":{"line":118,"column":25}}})) != null ? stack1 : "")
|
|
13787
13960
|
+ " </select>\n </div>\n";
|
|
13788
|
-
},"
|
|
13961
|
+
},"33":function(container,depth0,helpers,partials,data) {
|
|
13789
13962
|
var stack1, alias1=container.escapeExpression, alias2=depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
13790
13963
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
13791
13964
|
return parent[propertyName];
|
|
@@ -13796,11 +13969,11 @@ this["hbs_Crouton"]["templates"]["header"] = Handlebars.template({"1":function(c
|
|
|
13796
13969
|
return " <div class=\"bmlt-dropdown-container\">\n <select class=\"crouton-select filter-dropdown\" style=\"width:"
|
|
13797
13970
|
+ alias1(container.lambda(((stack1 = (depth0 != null ? lookupProperty(depth0,"config") : depth0)) != null ? lookupProperty(stack1,"dropdown_width") : stack1), depth0))
|
|
13798
13971
|
+ ";\" data-placeholder=\""
|
|
13799
|
-
+ alias1((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||container.hooks.helperMissing).call(alias2,"postal_codes",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":
|
|
13972
|
+
+ alias1((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||container.hooks.helperMissing).call(alias2,"postal_codes",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":125,"column":123},"end":{"line":125,"column":149}}}))
|
|
13800
13973
|
+ "\" data-pointer=\"Zips\" id=\"filter-dropdown-zipcodes\">\n <option></option>\n"
|
|
13801
|
-
+ ((stack1 = lookupProperty(helpers,"each").call(alias2,((stack1 = (depth0 != null ? lookupProperty(depth0,"uniqueData") : depth0)) != null ? lookupProperty(stack1,"zips") : stack1),{"name":"each","hash":{},"fn":container.program(
|
|
13974
|
+
+ ((stack1 = lookupProperty(helpers,"each").call(alias2,((stack1 = (depth0 != null ? lookupProperty(depth0,"uniqueData") : depth0)) != null ? lookupProperty(stack1,"zips") : stack1),{"name":"each","hash":{},"fn":container.program(12, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":127,"column":16},"end":{"line":129,"column":25}}})) != null ? stack1 : "")
|
|
13802
13975
|
+ " </select>\n </div>\n";
|
|
13803
|
-
},"
|
|
13976
|
+
},"35":function(container,depth0,helpers,partials,data) {
|
|
13804
13977
|
var stack1, alias1=container.escapeExpression, alias2=depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
13805
13978
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
13806
13979
|
return parent[propertyName];
|
|
@@ -13811,11 +13984,11 @@ this["hbs_Crouton"]["templates"]["header"] = Handlebars.template({"1":function(c
|
|
|
13811
13984
|
return " <div class=\"bmlt-dropdown-container\">\n <select class=\"crouton-select filter-dropdown\" style=\"width:"
|
|
13812
13985
|
+ alias1(container.lambda(((stack1 = (depth0 != null ? lookupProperty(depth0,"config") : depth0)) != null ? lookupProperty(stack1,"dropdown_width") : stack1), depth0))
|
|
13813
13986
|
+ ";\" data-placeholder=\""
|
|
13814
|
-
+ alias1((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||container.hooks.helperMissing).call(alias2,"formats",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":
|
|
13987
|
+
+ alias1((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||container.hooks.helperMissing).call(alias2,"formats",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":136,"column":123},"end":{"line":136,"column":144}}}))
|
|
13815
13988
|
+ "\" data-pointer=\"Formats\" id=\"filter-dropdown-formats\">\n <option></option>\n"
|
|
13816
|
-
+ ((stack1 = lookupProperty(helpers,"each").call(alias2,((stack1 = (depth0 != null ? lookupProperty(depth0,"uniqueData") : depth0)) != null ? lookupProperty(stack1,"formats") : stack1),{"name":"each","hash":{},"fn":container.program(
|
|
13989
|
+
+ ((stack1 = lookupProperty(helpers,"each").call(alias2,((stack1 = (depth0 != null ? lookupProperty(depth0,"uniqueData") : depth0)) != null ? lookupProperty(stack1,"formats") : stack1),{"name":"each","hash":{},"fn":container.program(36, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":138,"column":16},"end":{"line":140,"column":25}}})) != null ? stack1 : "")
|
|
13817
13990
|
+ " </select>\n </div>\n";
|
|
13818
|
-
},"
|
|
13991
|
+
},"36":function(container,depth0,helpers,partials,data) {
|
|
13819
13992
|
var helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=container.hooks.helperMissing, alias3=container.escapeExpression, lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
13820
13993
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
13821
13994
|
return parent[propertyName];
|
|
@@ -13824,11 +13997,11 @@ this["hbs_Crouton"]["templates"]["header"] = Handlebars.template({"1":function(c
|
|
|
13824
13997
|
};
|
|
13825
13998
|
|
|
13826
13999
|
return " <option value=\"a-"
|
|
13827
|
-
+ alias3((lookupProperty(helpers,"formatDataPointer")||(depth0 && lookupProperty(depth0,"formatDataPointer"))||alias2).call(alias1,(depth0 != null ? lookupProperty(depth0,"name_string") : depth0),{"name":"formatDataPointer","hash":{},"data":data,"loc":{"start":{"line":
|
|
14000
|
+
+ alias3((lookupProperty(helpers,"formatDataPointer")||(depth0 && lookupProperty(depth0,"formatDataPointer"))||alias2).call(alias1,(depth0 != null ? lookupProperty(depth0,"name_string") : depth0),{"name":"formatDataPointer","hash":{},"data":data,"loc":{"start":{"line":139,"column":37},"end":{"line":139,"column":70}}}))
|
|
13828
14001
|
+ "\">"
|
|
13829
|
-
+ alias3(((helper = (helper = lookupProperty(helpers,"name_string") || (depth0 != null ? lookupProperty(depth0,"name_string") : depth0)) != null ? helper : alias2),(typeof helper === "function" ? helper.call(alias1,{"name":"name_string","hash":{},"data":data,"loc":{"start":{"line":
|
|
14002
|
+
+ alias3(((helper = (helper = lookupProperty(helpers,"name_string") || (depth0 != null ? lookupProperty(depth0,"name_string") : depth0)) != null ? helper : alias2),(typeof helper === "function" ? helper.call(alias1,{"name":"name_string","hash":{},"data":data,"loc":{"start":{"line":139,"column":72},"end":{"line":139,"column":87}}}) : helper)))
|
|
13830
14003
|
+ "</option>\n";
|
|
13831
|
-
},"
|
|
14004
|
+
},"38":function(container,depth0,helpers,partials,data) {
|
|
13832
14005
|
var stack1, alias1=container.escapeExpression, alias2=depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
13833
14006
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
13834
14007
|
return parent[propertyName];
|
|
@@ -13839,11 +14012,11 @@ this["hbs_Crouton"]["templates"]["header"] = Handlebars.template({"1":function(c
|
|
|
13839
14012
|
return " <div class=\"bmlt-dropdown-container\">\n <select class=\"crouton-select filter-dropdown\" style=\"width:"
|
|
13840
14013
|
+ alias1(container.lambda(((stack1 = (depth0 != null ? lookupProperty(depth0,"config") : depth0)) != null ? lookupProperty(stack1,"dropdown_width") : stack1), depth0))
|
|
13841
14014
|
+ ";\" data-placeholder=\""
|
|
13842
|
-
+ alias1((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||container.hooks.helperMissing).call(alias2,"languages",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":
|
|
14015
|
+
+ alias1((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||container.hooks.helperMissing).call(alias2,"languages",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":147,"column":114},"end":{"line":147,"column":137}}}))
|
|
13843
14016
|
+ "\" data-pointer=\"Languages\" id=\"filter-dropdown-languages\">\n <option></option>\n"
|
|
13844
|
-
+ ((stack1 = lookupProperty(helpers,"each").call(alias2,((stack1 = (depth0 != null ? lookupProperty(depth0,"uniqueData") : depth0)) != null ? lookupProperty(stack1,"languages") : stack1),{"name":"each","hash":{},"fn":container.program(
|
|
14017
|
+
+ ((stack1 = lookupProperty(helpers,"each").call(alias2,((stack1 = (depth0 != null ? lookupProperty(depth0,"uniqueData") : depth0)) != null ? lookupProperty(stack1,"languages") : stack1),{"name":"each","hash":{},"fn":container.program(39, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":149,"column":4},"end":{"line":151,"column":13}}})) != null ? stack1 : "")
|
|
13845
14018
|
+ " </select>\n </div>\n";
|
|
13846
|
-
},"
|
|
14019
|
+
},"39":function(container,depth0,helpers,partials,data) {
|
|
13847
14020
|
var helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=container.hooks.helperMissing, alias3=container.escapeExpression, lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
13848
14021
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
13849
14022
|
return parent[propertyName];
|
|
@@ -13852,11 +14025,26 @@ this["hbs_Crouton"]["templates"]["header"] = Handlebars.template({"1":function(c
|
|
|
13852
14025
|
};
|
|
13853
14026
|
|
|
13854
14027
|
return " <option value=\"a-"
|
|
13855
|
-
+ alias3((lookupProperty(helpers,"formatDataPointer")||(depth0 && lookupProperty(depth0,"formatDataPointer"))||alias2).call(alias1,(depth0 != null ? lookupProperty(depth0,"name_string") : depth0),{"name":"formatDataPointer","hash":{},"data":data,"loc":{"start":{"line":
|
|
14028
|
+
+ alias3((lookupProperty(helpers,"formatDataPointer")||(depth0 && lookupProperty(depth0,"formatDataPointer"))||alias2).call(alias1,(depth0 != null ? lookupProperty(depth0,"name_string") : depth0),{"name":"formatDataPointer","hash":{},"data":data,"loc":{"start":{"line":150,"column":22},"end":{"line":150,"column":55}}}))
|
|
13856
14029
|
+ "\">"
|
|
13857
|
-
+ alias3(((helper = (helper = lookupProperty(helpers,"name_string") || (depth0 != null ? lookupProperty(depth0,"name_string") : depth0)) != null ? helper : alias2),(typeof helper === "function" ? helper.call(alias1,{"name":"name_string","hash":{},"data":data,"loc":{"start":{"line":
|
|
14030
|
+
+ alias3(((helper = (helper = lookupProperty(helpers,"name_string") || (depth0 != null ? lookupProperty(depth0,"name_string") : depth0)) != null ? helper : alias2),(typeof helper === "function" ? helper.call(alias1,{"name":"name_string","hash":{},"data":data,"loc":{"start":{"line":150,"column":57},"end":{"line":150,"column":72}}}) : helper)))
|
|
13858
14031
|
+ "</option>\n";
|
|
13859
|
-
},"
|
|
14032
|
+
},"41":function(container,depth0,helpers,partials,data) {
|
|
14033
|
+
var stack1, alias1=container.escapeExpression, alias2=depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
14034
|
+
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
14035
|
+
return parent[propertyName];
|
|
14036
|
+
}
|
|
14037
|
+
return undefined
|
|
14038
|
+
};
|
|
14039
|
+
|
|
14040
|
+
return " <div class=\"bmlt-dropdown-container\">\n <select class=\"crouton-select filter-dropdown\" style=\"width:"
|
|
14041
|
+
+ alias1(container.lambda(((stack1 = (depth0 != null ? lookupProperty(depth0,"config") : depth0)) != null ? lookupProperty(stack1,"dropdown_width") : stack1), depth0))
|
|
14042
|
+
+ ";\" data-placeholder=\""
|
|
14043
|
+
+ alias1((lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||container.hooks.helperMissing).call(alias2,"common_needs",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":158,"column":114},"end":{"line":158,"column":140}}}))
|
|
14044
|
+
+ "\" data-pointer=\"Languages\" id=\"filter-dropdown-languages\">\n <option></option>\n"
|
|
14045
|
+
+ ((stack1 = lookupProperty(helpers,"each").call(alias2,((stack1 = (depth0 != null ? lookupProperty(depth0,"uniqueData") : depth0)) != null ? lookupProperty(stack1,"common_needs") : stack1),{"name":"each","hash":{},"fn":container.program(39, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":160,"column":4},"end":{"line":162,"column":13}}})) != null ? stack1 : "")
|
|
14046
|
+
+ " </select>\n </div>\n";
|
|
14047
|
+
},"43":function(container,depth0,helpers,partials,data) {
|
|
13860
14048
|
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
13861
14049
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
13862
14050
|
return parent[propertyName];
|
|
@@ -13864,15 +14052,33 @@ this["hbs_Crouton"]["templates"]["header"] = Handlebars.template({"1":function(c
|
|
|
13864
14052
|
return undefined
|
|
13865
14053
|
};
|
|
13866
14054
|
|
|
13867
|
-
return ((stack1 = (lookupProperty(helpers,"ifEquals")||(depth0 && lookupProperty(depth0,"ifEquals"))||container.hooks.helperMissing).call(alias1,((stack1 = (depth0 != null ? lookupProperty(depth0,"config") : depth0)) != null ? lookupProperty(stack1,"view_by") : stack1),"weekdays",{"name":"ifEquals","hash":{},"fn":container.program(
|
|
14055
|
+
return ((stack1 = (lookupProperty(helpers,"ifEquals")||(depth0 && lookupProperty(depth0,"ifEquals"))||container.hooks.helperMissing).call(alias1,((stack1 = (depth0 != null ? lookupProperty(depth0,"config") : depth0)) != null ? lookupProperty(stack1,"view_by") : stack1),"weekdays",{"name":"ifEquals","hash":{},"fn":container.program(44, data, 0),"inverse":container.program(46, data, 0),"data":data,"loc":{"start":{"line":170,"column":4},"end":{"line":174,"column":17}}})) != null ? stack1 : "")
|
|
13868
14056
|
+ " <ul class=\"nav nav-tabs\">\n"
|
|
13869
|
-
+ ((stack1 = lookupProperty(helpers,"each").call(alias1,((stack1 = (depth0 != null ? lookupProperty(depth0,"config") : depth0)) != null ? lookupProperty(stack1,"day_sequence") : stack1),{"name":"each","hash":{},"fn":container.program(
|
|
14057
|
+
+ ((stack1 = lookupProperty(helpers,"each").call(alias1,((stack1 = (depth0 != null ? lookupProperty(depth0,"config") : depth0)) != null ? lookupProperty(stack1,"day_sequence") : stack1),{"name":"each","hash":{},"fn":container.program(48, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":176,"column":12},"end":{"line":178,"column":21}}})) != null ? stack1 : "")
|
|
13870
14058
|
+ " </ul>\n </div>\n";
|
|
13871
|
-
},"40":function(container,depth0,helpers,partials,data) {
|
|
13872
|
-
return " <div class=\"bmlt-page show\" id=\"nav-days\">\n";
|
|
13873
|
-
},"42":function(container,depth0,helpers,partials,data) {
|
|
13874
|
-
return " <div class=\"bmlt-page hide\" id=\"nav-days\">\n";
|
|
13875
14059
|
},"44":function(container,depth0,helpers,partials,data) {
|
|
14060
|
+
var stack1, lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
14061
|
+
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
14062
|
+
return parent[propertyName];
|
|
14063
|
+
}
|
|
14064
|
+
return undefined
|
|
14065
|
+
};
|
|
14066
|
+
|
|
14067
|
+
return " <div class=\"bmlt-page show\" id=\"nav-days\" "
|
|
14068
|
+
+ ((stack1 = (lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),"css-floatDirection",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":171,"column":50},"end":{"line":171,"column":84}}})) != null ? stack1 : "")
|
|
14069
|
+
+ ">\n";
|
|
14070
|
+
},"46":function(container,depth0,helpers,partials,data) {
|
|
14071
|
+
var stack1, lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
14072
|
+
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
14073
|
+
return parent[propertyName];
|
|
14074
|
+
}
|
|
14075
|
+
return undefined
|
|
14076
|
+
};
|
|
14077
|
+
|
|
14078
|
+
return " <div class=\"bmlt-page hide\" id=\"nav-days\" "
|
|
14079
|
+
+ ((stack1 = (lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),"css-floatDirection",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":173,"column":50},"end":{"line":173,"column":84}}})) != null ? stack1 : "")
|
|
14080
|
+
+ ">\n";
|
|
14081
|
+
},"48":function(container,depth0,helpers,partials,data) {
|
|
13876
14082
|
var alias1=container.escapeExpression, lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
13877
14083
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
13878
14084
|
return parent[propertyName];
|
|
@@ -13883,7 +14089,7 @@ this["hbs_Crouton"]["templates"]["header"] = Handlebars.template({"1":function(c
|
|
|
13883
14089
|
return " <li><a href=\"#tab"
|
|
13884
14090
|
+ alias1(container.lambda(depth0, depth0))
|
|
13885
14091
|
+ "\" data-toggle=\"tab\">"
|
|
13886
|
-
+ alias1((lookupProperty(helpers,"getDayOfTheWeek")||(depth0 && lookupProperty(depth0,"getDayOfTheWeek"))||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),depth0,{"name":"getDayOfTheWeek","hash":{},"data":data,"loc":{"start":{"line":
|
|
14092
|
+
+ alias1((lookupProperty(helpers,"getDayOfTheWeek")||(depth0 && lookupProperty(depth0,"getDayOfTheWeek"))||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),depth0,{"name":"getDayOfTheWeek","hash":{},"data":data,"loc":{"start":{"line":177,"column":61},"end":{"line":177,"column":85}}}))
|
|
13887
14093
|
+ "</a></li>\n";
|
|
13888
14094
|
},"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
13889
14095
|
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
@@ -13893,9 +14099,11 @@ this["hbs_Crouton"]["templates"]["header"] = Handlebars.template({"1":function(c
|
|
|
13893
14099
|
return undefined
|
|
13894
14100
|
};
|
|
13895
14101
|
|
|
13896
|
-
return ((
|
|
14102
|
+
return container.escapeExpression((lookupProperty(helpers,"startup")||(depth0 && lookupProperty(depth0,"startup"))||container.hooks.helperMissing).call(alias1,depth0,{"name":"startup","hash":{},"data":data,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":16}}}))
|
|
13897
14103
|
+ "\n"
|
|
13898
|
-
+ ((stack1 = lookupProperty(helpers,"if").call(alias1,((stack1 = (depth0 != null ? lookupProperty(depth0,"config") : depth0)) != null ? lookupProperty(stack1,"
|
|
14104
|
+
+ ((stack1 = lookupProperty(helpers,"if").call(alias1,((stack1 = (depth0 != null ? lookupProperty(depth0,"config") : depth0)) != null ? lookupProperty(stack1,"header") : stack1),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":2,"column":0},"end":{"line":167,"column":7}}})) != null ? stack1 : "")
|
|
14105
|
+
+ "\n"
|
|
14106
|
+
+ ((stack1 = lookupProperty(helpers,"if").call(alias1,((stack1 = (depth0 != null ? lookupProperty(depth0,"config") : depth0)) != null ? lookupProperty(stack1,"has_tabs") : stack1),{"name":"if","hash":{},"fn":container.program(43, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":169,"column":0},"end":{"line":181,"column":7}}})) != null ? stack1 : "");
|
|
13899
14107
|
},"useData":true});
|
|
13900
14108
|
this["hbs_Crouton"]["templates"]["main"] = Handlebars.template({"1":function(container,depth0,helpers,partials,data) {
|
|
13901
14109
|
var stack1, helper, lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
@@ -13907,77 +14115,101 @@ this["hbs_Crouton"]["templates"]["main"] = Handlebars.template({"1":function(con
|
|
|
13907
14115
|
|
|
13908
14116
|
return " <div id=\"byfield_"
|
|
13909
14117
|
+ container.escapeExpression(((helper = (helper = lookupProperty(helpers,"key") || (data && lookupProperty(data,"key"))) != null ? helper : container.hooks.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{"name":"key","hash":{},"data":data,"loc":{"start":{"line":6,"column":19},"end":{"line":6,"column":29}}}) : helper)))
|
|
14118
|
+
+ "\" class=\"bmlt-page hide\" >\n"
|
|
14119
|
+
+ ((stack1 = container.invokePartial(lookupProperty(partials,"byfields"),depth0,{"name":"byfields","data":data,"indent":"\t\t\t","helpers":helpers,"partials":partials,"decorators":container.decorators})) != null ? stack1 : "")
|
|
14120
|
+
+ " </div>\n";
|
|
14121
|
+
},"3":function(container,depth0,helpers,partials,data) {
|
|
14122
|
+
var stack1, helper, lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
14123
|
+
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
14124
|
+
return parent[propertyName];
|
|
14125
|
+
}
|
|
14126
|
+
return undefined
|
|
14127
|
+
};
|
|
14128
|
+
|
|
14129
|
+
return " <div id=\"byfield_"
|
|
14130
|
+
+ container.escapeExpression(((helper = (helper = lookupProperty(helpers,"key") || (data && lookupProperty(data,"key"))) != null ? helper : container.hooks.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{"name":"key","hash":{},"data":data,"loc":{"start":{"line":11,"column":19},"end":{"line":11,"column":29}}}) : helper)))
|
|
13910
14131
|
+ "\" class=\"bmlt-page hide\">\n"
|
|
13911
14132
|
+ ((stack1 = container.invokePartial(lookupProperty(partials,"byfields"),depth0,{"name":"byfields","data":data,"indent":"\t\t\t","helpers":helpers,"partials":partials,"decorators":container.decorators})) != null ? stack1 : "")
|
|
13912
14133
|
+ " </div>\n";
|
|
13913
14134
|
},"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
13914
|
-
var stack1, lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
14135
|
+
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
13915
14136
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
13916
14137
|
return parent[propertyName];
|
|
13917
14138
|
}
|
|
13918
14139
|
return undefined
|
|
13919
14140
|
};
|
|
13920
14141
|
|
|
13921
|
-
return "<div id=\"bmlt-tabs-table\">\n <div id=\"bmlt-header\" class=\"bmlt-header hide\"
|
|
14142
|
+
return "<div id=\"bmlt-tabs-table\">\n <div id=\"bmlt-header\" class=\"bmlt-header hide\" "
|
|
14143
|
+
+ ((stack1 = (lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||container.hooks.helperMissing).call(alias1,"css-textAlign",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":2,"column":51},"end":{"line":2,"column":80}}})) != null ? stack1 : "")
|
|
14144
|
+
+ ">\n"
|
|
13922
14145
|
+ ((stack1 = container.invokePartial(lookupProperty(partials,"header"),depth0,{"name":"header","data":data,"indent":" ","helpers":helpers,"partials":partials,"decorators":container.decorators})) != null ? stack1 : "")
|
|
13923
14146
|
+ " </div>\n"
|
|
13924
|
-
+ ((stack1 = lookupProperty(helpers,"each").call(
|
|
14147
|
+
+ ((stack1 = lookupProperty(helpers,"each").call(alias1,((stack1 = (depth0 != null ? lookupProperty(depth0,"meetings") : depth0)) != null ? lookupProperty(stack1,"buttonFilters") : stack1),{"name":"each","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":5,"column":1},"end":{"line":9,"column":10}}})) != null ? stack1 : "")
|
|
14148
|
+
+ ((stack1 = lookupProperty(helpers,"each").call(alias1,((stack1 = (depth0 != null ? lookupProperty(depth0,"meetings") : depth0)) != null ? lookupProperty(stack1,"buttonFormatFilters") : stack1),{"name":"each","hash":{},"fn":container.program(3, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":10,"column":4},"end":{"line":14,"column":10}}})) != null ? stack1 : "")
|
|
13925
14149
|
+ " <div id=\"byday\" class=\"bmlt-page hide\">\n"
|
|
13926
14150
|
+ ((stack1 = container.invokePartial(lookupProperty(partials,"bydays"),((stack1 = (depth0 != null ? lookupProperty(depth0,"meetings") : depth0)) != null ? lookupProperty(stack1,"bydays") : stack1),{"name":"bydays","data":data,"indent":" ","helpers":helpers,"partials":partials,"decorators":container.decorators})) != null ? stack1 : "")
|
|
13927
14151
|
+ " </div>\n <div id=\"tabs-content\" class=\"bmlt-page\">\n"
|
|
13928
14152
|
+ ((stack1 = container.invokePartial(lookupProperty(partials,"weekdays"),((stack1 = (depth0 != null ? lookupProperty(depth0,"meetings") : depth0)) != null ? lookupProperty(stack1,"weekdays") : stack1),{"name":"weekdays","data":data,"indent":" ","helpers":helpers,"partials":partials,"decorators":container.decorators})) != null ? stack1 : "")
|
|
13929
|
-
+ " </div>\n
|
|
14153
|
+
+ " </div>\n"
|
|
14154
|
+
+ ((stack1 = container.invokePartial(lookupProperty(partials,"meetingCountTemplate"),depth0,{"name":"meetingCountTemplate","data":data,"indent":" ","helpers":helpers,"partials":partials,"decorators":container.decorators})) != null ? stack1 : "")
|
|
14155
|
+
+ "</div>\n";
|
|
13930
14156
|
},"usePartial":true,"useData":true});
|
|
13931
14157
|
this["hbs_Crouton"]["templates"]["meetings"] = Handlebars.template({"1":function(container,depth0,helpers,partials,data) {
|
|
13932
|
-
var stack1, alias1=
|
|
14158
|
+
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=container.hooks.helperMissing, alias3=container.escapeExpression, alias4=container.lambda, lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
13933
14159
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
13934
14160
|
return parent[propertyName];
|
|
13935
14161
|
}
|
|
13936
14162
|
return undefined
|
|
13937
14163
|
};
|
|
13938
14164
|
|
|
13939
|
-
return "
|
|
13940
|
-
+
|
|
14165
|
+
return " "
|
|
14166
|
+
+ alias3((lookupProperty(helpers,"enrich")||(depth0 && lookupProperty(depth0,"enrich"))||alias2).call(alias1,depth0,{"name":"enrich","hash":{},"data":data,"loc":{"start":{"line":2,"column":1},"end":{"line":2,"column":16}}}))
|
|
14167
|
+
+ "\n <tr class=\"bmlt-data-row\"\n id=\"meeting-data-row-"
|
|
14168
|
+
+ alias3(alias4((depth0 != null ? lookupProperty(depth0,"id_bigint") : depth0), depth0))
|
|
13941
14169
|
+ "\"\n data-cities=\""
|
|
13942
|
-
+
|
|
14170
|
+
+ alias3((lookupProperty(helpers,"formatDataPointer")||(depth0 && lookupProperty(depth0,"formatDataPointer"))||alias2).call(alias1,(depth0 != null ? lookupProperty(depth0,"location_municipality") : depth0),{"name":"formatDataPointer","hash":{},"data":data,"loc":{"start":{"line":5,"column":15},"end":{"line":5,"column":63}}}))
|
|
13943
14171
|
+ "\"\n data-groups=\""
|
|
13944
|
-
+
|
|
14172
|
+
+ alias3((lookupProperty(helpers,"formatDataPointer")||(depth0 && lookupProperty(depth0,"formatDataPointer"))||alias2).call(alias1,(depth0 != null ? lookupProperty(depth0,"meeting_name") : depth0),{"name":"formatDataPointer","hash":{},"data":data,"loc":{"start":{"line":6,"column":15},"end":{"line":6,"column":54}}}))
|
|
13945
14173
|
+ "\"\n data-locations=\""
|
|
13946
|
-
+
|
|
14174
|
+
+ alias3((lookupProperty(helpers,"formatDataPointer")||(depth0 && lookupProperty(depth0,"formatDataPointer"))||alias2).call(alias1,(depth0 != null ? lookupProperty(depth0,"location_text") : depth0),{"name":"formatDataPointer","hash":{},"data":data,"loc":{"start":{"line":7,"column":18},"end":{"line":7,"column":58}}}))
|
|
13947
14175
|
+ "\"\n data-zips=\""
|
|
13948
|
-
+
|
|
14176
|
+
+ alias3((lookupProperty(helpers,"formatDataPointer")||(depth0 && lookupProperty(depth0,"formatDataPointer"))||alias2).call(alias1,(depth0 != null ? lookupProperty(depth0,"location_postal_code_1") : depth0),{"name":"formatDataPointer","hash":{},"data":data,"loc":{"start":{"line":8,"column":13},"end":{"line":8,"column":62}}}))
|
|
13949
14177
|
+ "\"\n data-formats=\""
|
|
13950
|
-
+
|
|
14178
|
+
+ alias3((lookupProperty(helpers,"formatDataPointerFormats")||(depth0 && lookupProperty(depth0,"formatDataPointerFormats"))||alias2).call(alias1,(depth0 != null ? lookupProperty(depth0,"formats_expanded") : depth0),{"name":"formatDataPointerFormats","hash":{},"data":data,"loc":{"start":{"line":9,"column":16},"end":{"line":9,"column":66}}}))
|
|
13951
14179
|
+ "\"\n data-areas=\""
|
|
13952
|
-
+
|
|
14180
|
+
+ alias3((lookupProperty(helpers,"formatDataPointer")||(depth0 && lookupProperty(depth0,"formatDataPointer"))||alias2).call(alias1,(depth0 != null ? lookupProperty(depth0,"service_body_bigint") : depth0),{"name":"formatDataPointer","hash":{},"data":data,"loc":{"start":{"line":10,"column":14},"end":{"line":10,"column":60}}}))
|
|
13953
14181
|
+ "\"\n data-regions=\""
|
|
13954
|
-
+
|
|
14182
|
+
+ alias3((lookupProperty(helpers,"formatDataPointer")||(depth0 && lookupProperty(depth0,"formatDataPointer"))||alias2).call(alias1,(depth0 != null ? lookupProperty(depth0,"parentServiceBodyName") : depth0),{"name":"formatDataPointer","hash":{},"data":data,"loc":{"start":{"line":11,"column":16},"end":{"line":11,"column":64}}}))
|
|
13955
14183
|
+ "\"\n data-counties=\""
|
|
13956
|
-
+
|
|
14184
|
+
+ alias3((lookupProperty(helpers,"formatDataPointer")||(depth0 && lookupProperty(depth0,"formatDataPointer"))||alias2).call(alias1,(depth0 != null ? lookupProperty(depth0,"location_sub_province") : depth0),{"name":"formatDataPointer","hash":{},"data":data,"loc":{"start":{"line":12,"column":17},"end":{"line":12,"column":65}}}))
|
|
13957
14185
|
+ "\"\n data-neighborhoods=\""
|
|
13958
|
-
+
|
|
14186
|
+
+ alias3((lookupProperty(helpers,"formatDataPointer")||(depth0 && lookupProperty(depth0,"formatDataPointer"))||alias2).call(alias1,(depth0 != null ? lookupProperty(depth0,"location_neighborhood") : depth0),{"name":"formatDataPointer","hash":{},"data":data,"loc":{"start":{"line":13,"column":22},"end":{"line":13,"column":70}}}))
|
|
13959
14187
|
+ "\"\n data-states=\""
|
|
13960
|
-
+
|
|
14188
|
+
+ alias3((lookupProperty(helpers,"formatDataPointer")||(depth0 && lookupProperty(depth0,"formatDataPointer"))||alias2).call(alias1,(depth0 != null ? lookupProperty(depth0,"location_province") : depth0),{"name":"formatDataPointer","hash":{},"data":data,"loc":{"start":{"line":14,"column":15},"end":{"line":14,"column":59}}}))
|
|
13961
14189
|
+ "\"\n data-venues=\""
|
|
13962
|
-
+
|
|
14190
|
+
+ alias3((lookupProperty(helpers,"formatDataFromArray")||(depth0 && lookupProperty(depth0,"formatDataFromArray"))||alias2).call(alias1,(depth0 != null ? lookupProperty(depth0,"venue_type_name") : depth0),{"name":"formatDataFromArray","hash":{},"data":data,"loc":{"start":{"line":15,"column":15},"end":{"line":15,"column":59}}}))
|
|
13963
14191
|
+ "\"\n data-languages=\""
|
|
13964
|
-
+
|
|
14192
|
+
+ alias3((lookupProperty(helpers,"formatDataPointerFormats")||(depth0 && lookupProperty(depth0,"formatDataPointerFormats"))||alias2).call(alias1,(depth0 != null ? lookupProperty(depth0,"formats_expanded") : depth0),{"name":"formatDataPointerFormats","hash":{},"data":data,"loc":{"start":{"line":16,"column":18},"end":{"line":16,"column":68}}}))
|
|
13965
14193
|
+ "\"\n data-weekdays=\""
|
|
13966
|
-
+
|
|
13967
|
-
+ "\">\n <td class=\"bmlt-column1\"
|
|
13968
|
-
+
|
|
14194
|
+
+ alias3((lookupProperty(helpers,"formatDataPointer")||(depth0 && lookupProperty(depth0,"formatDataPointer"))||alias2).call(alias1,(depth0 != null ? lookupProperty(depth0,"formatted_day") : depth0),{"name":"formatDataPointer","hash":{},"data":data,"loc":{"start":{"line":17,"column":17},"end":{"line":17,"column":57}}}))
|
|
14195
|
+
+ "\">\n <td class=\"bmlt-column1\" "
|
|
14196
|
+
+ ((stack1 = (lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||alias2).call(alias1,"css-textAlign",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":18,"column":27},"end":{"line":18,"column":56}}})) != null ? stack1 : "")
|
|
14197
|
+
+ ">\n <div class=\"bmlt-day\">"
|
|
14198
|
+
+ alias3(alias4((depth0 != null ? lookupProperty(depth0,"formatted_day") : depth0), depth0))
|
|
13969
14199
|
+ "</div>\n"
|
|
13970
|
-
+ ((stack1 = (lookupProperty(helpers,"ifEquals")||(depth0 && lookupProperty(depth0,"ifEquals"))||
|
|
13971
|
-
+ ((stack1 = lookupProperty(helpers,"if").call(
|
|
14200
|
+
+ ((stack1 = (lookupProperty(helpers,"ifEquals")||(depth0 && lookupProperty(depth0,"ifEquals"))||alias2).call(alias1,(depth0 != null ? lookupProperty(depth0,"duration_time") : depth0),"24:00:00",{"name":"ifEquals","hash":{},"fn":container.program(2, data, 0),"inverse":container.program(4, data, 0),"data":data,"loc":{"start":{"line":20,"column":3},"end":{"line":24,"column":16}}})) != null ? stack1 : "")
|
|
14201
|
+
+ ((stack1 = lookupProperty(helpers,"if").call(alias1,(depth0 != null ? lookupProperty(depth0,"formats") : depth0),{"name":"if","hash":{},"fn":container.program(6, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":25,"column":3},"end":{"line":43,"column":10}}})) != null ? stack1 : "")
|
|
13972
14202
|
+ " <div class=\"bmlt-comments\">"
|
|
13973
|
-
+
|
|
14203
|
+
+ alias3((lookupProperty(helpers,"formatLink")||(depth0 && lookupProperty(depth0,"formatLink"))||alias2).call(alias1,(depth0 != null ? lookupProperty(depth0,"formatted_comments") : depth0),{"name":"formatLink","hash":{},"data":data,"loc":{"start":{"line":44,"column":30},"end":{"line":44,"column":68}}}))
|
|
13974
14204
|
+ "</div>\n <div class=\"bmlt-observer\">"
|
|
13975
|
-
+ ((stack1 = container.invokePartial(lookupProperty(
|
|
13976
|
-
+ "</div>\n </td>\n <td class=\"bmlt-column2\"
|
|
14205
|
+
+ ((stack1 = container.invokePartial((lookupProperty(helpers,"selectObserver")||(depth0 && lookupProperty(depth0,"selectObserver"))||alias2).call(alias1,{"name":"selectObserver","hash":{},"data":data,"loc":{"start":{"line":45,"column":34},"end":{"line":45,"column":50}}}),depth0,{"data":data,"helpers":helpers,"partials":partials,"decorators":container.decorators})) != null ? stack1 : "")
|
|
14206
|
+
+ "</div>\n </td>\n <td class=\"bmlt-column2\" "
|
|
14207
|
+
+ ((stack1 = (lookupProperty(helpers,"getWord")||(depth0 && lookupProperty(depth0,"getWord"))||alias2).call(alias1,"css-textAlign",{"name":"getWord","hash":{},"data":data,"loc":{"start":{"line":47,"column":27},"end":{"line":47,"column":56}}})) != null ? stack1 : "")
|
|
14208
|
+
+ ">\n <div class=\"meeting-data-template\">"
|
|
13977
14209
|
+ ((stack1 = container.invokePartial(lookupProperty(partials,"meetingDataTemplate"),depth0,{"name":"meetingDataTemplate","data":data,"helpers":helpers,"partials":partials,"decorators":container.decorators})) != null ? stack1 : "")
|
|
13978
14210
|
+ "</div>\n </td>\n <td class=\"bmlt-column3\">\n"
|
|
13979
14211
|
+ ((stack1 = container.invokePartial(lookupProperty(partials,"metaDataTemplate"),depth0,{"name":"metaDataTemplate","data":data,"indent":"\t\t\t","helpers":helpers,"partials":partials,"decorators":container.decorators})) != null ? stack1 : "")
|
|
13980
|
-
+ ((stack1 = (lookupProperty(helpers,"canShare")||(depth0 && lookupProperty(depth0,"canShare"))||
|
|
14212
|
+
+ ((stack1 = (lookupProperty(helpers,"canShare")||(depth0 && lookupProperty(depth0,"canShare"))||alias2).call(alias1,depth0,{"name":"canShare","hash":{},"fn":container.program(8, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":52,"column":3},"end":{"line":54,"column":16}}})) != null ? stack1 : "")
|
|
13981
14213
|
+ " </td>\n </tr>\n";
|
|
13982
14214
|
},"2":function(container,depth0,helpers,partials,data) {
|
|
13983
14215
|
var lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
@@ -14011,27 +14243,12 @@ this["hbs_Crouton"]["templates"]["meetings"] = Handlebars.template({"1":function
|
|
|
14011
14243
|
return undefined
|
|
14012
14244
|
};
|
|
14013
14245
|
|
|
14014
|
-
return " <a id=\"bmlt-formats\"\n class=\"btn btn-primary btn-xs\"\n title=\"\"\n data-html=\"true\"\n tabindex=\"0\"\n data-trigger=\"focus\"\n role=\"button\"\n data-toggle=\"popover\"\n data-original-title=\"\"\n data-content=\"
|
|
14015
|
-
+ ((stack1 = lookupProperty(helpers,"
|
|
14016
|
-
+ "
|
|
14246
|
+
return " <a id=\"bmlt-formats\"\n class=\"btn btn-primary btn-xs\"\n title=\"\"\n data-html=\"true\"\n tabindex=\"0\"\n data-trigger=\"focus\"\n role=\"button\"\n data-toggle=\"popover\"\n data-original-title=\"\"\n data-content=\""
|
|
14247
|
+
+ ((stack1 = container.invokePartial((lookupProperty(helpers,"selectFormatPopup")||(depth0 && lookupProperty(depth0,"selectFormatPopup"))||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),{"name":"selectFormatPopup","hash":{},"data":data,"loc":{"start":{"line":35,"column":25},"end":{"line":35,"column":44}}}),depth0,{"data":data,"helpers":helpers,"partials":partials,"decorators":container.decorators})) != null ? stack1 : "")
|
|
14248
|
+
+ "\">\n <span class=\"glyphicon glyphicon-search\"\n aria-hidden=\"true\"\n data-toggle=\"popover\"\n data-trigger=\"focus\"\n data-html=\"true\"\n role=\"button\"></span>"
|
|
14017
14249
|
+ container.escapeExpression(container.lambda((depth0 != null ? lookupProperty(depth0,"formats") : depth0), depth0))
|
|
14018
14250
|
+ "\n </a>\n";
|
|
14019
|
-
},"
|
|
14020
|
-
var helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=container.hooks.helperMissing, alias3="function", alias4=container.escapeExpression, lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
14021
|
-
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
14022
|
-
return parent[propertyName];
|
|
14023
|
-
}
|
|
14024
|
-
return undefined
|
|
14025
|
-
};
|
|
14026
|
-
|
|
14027
|
-
return " <tr>\n <td class='formats_key'>"
|
|
14028
|
-
+ alias4(((helper = (helper = lookupProperty(helpers,"key") || (depth0 != null ? lookupProperty(depth0,"key") : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"key","hash":{},"data":data,"loc":{"start":{"line":38,"column":52},"end":{"line":38,"column":59}}}) : helper)))
|
|
14029
|
-
+ "</td>\n <td class='formats_name'>"
|
|
14030
|
-
+ alias4(((helper = (helper = lookupProperty(helpers,"name") || (depth0 != null ? lookupProperty(depth0,"name") : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"name","hash":{},"data":data,"loc":{"start":{"line":39,"column":53},"end":{"line":39,"column":61}}}) : helper)))
|
|
14031
|
-
+ "</td>\n <td class='formats_description'>"
|
|
14032
|
-
+ alias4(((helper = (helper = lookupProperty(helpers,"description") || (depth0 != null ? lookupProperty(depth0,"description") : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"description","hash":{},"data":data,"loc":{"start":{"line":40,"column":60},"end":{"line":40,"column":75}}}) : helper)))
|
|
14033
|
-
+ "</td>\n </tr>\n";
|
|
14034
|
-
},"9":function(container,depth0,helpers,partials,data) {
|
|
14251
|
+
},"8":function(container,depth0,helpers,partials,data) {
|
|
14035
14252
|
var stack1, alias1=container.lambda, alias2=container.escapeExpression, alias3=depth0 != null ? depth0 : (container.nullContext || {}), alias4=container.hooks.helperMissing, lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
14036
14253
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
14037
14254
|
return parent[propertyName];
|
|
@@ -14053,14 +14270,14 @@ this["hbs_Crouton"]["templates"]["meetings"] = Handlebars.template({"1":function
|
|
|
14053
14270
|
+ alias2(alias1((depth0 != null ? lookupProperty(depth0,"formatted_address") : depth0), depth0))
|
|
14054
14271
|
+ " "
|
|
14055
14272
|
+ alias2(alias1((depth0 != null ? lookupProperty(depth0,"formatted_location_info") : depth0), depth0))
|
|
14056
|
-
+ ((stack1 = lookupProperty(helpers,"if").call(alias3,(depth0 != null ? lookupProperty(depth0,"virtual_meeting_additional_info") : depth0),{"name":"if","hash":{},"fn":container.program(
|
|
14273
|
+
+ ((stack1 = lookupProperty(helpers,"if").call(alias3,(depth0 != null ? lookupProperty(depth0,"virtual_meeting_additional_info") : depth0),{"name":"if","hash":{},"fn":container.program(9, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":53,"column":320},"end":{"line":53,"column":412}}})) != null ? stack1 : "")
|
|
14057
14274
|
+ "\"), url: \""
|
|
14058
|
-
+ ((stack1 = (lookupProperty(helpers,"isVirtualOrHybrid")||(depth0 && lookupProperty(depth0,"isVirtualOrHybrid"))||alias4).call(alias3,depth0,{"name":"isVirtualOrHybrid","hash":{},"fn":container.program(
|
|
14059
|
-
+ ((stack1 = (lookupProperty(helpers,"isInPersonOrHybrid")||(depth0 && lookupProperty(depth0,"isInPersonOrHybrid"))||alias4).call(alias3,depth0,{"name":"isInPersonOrHybrid","hash":{},"fn":container.program(
|
|
14275
|
+
+ ((stack1 = (lookupProperty(helpers,"isVirtualOrHybrid")||(depth0 && lookupProperty(depth0,"isVirtualOrHybrid"))||alias4).call(alias3,depth0,{"name":"isVirtualOrHybrid","hash":{},"fn":container.program(11, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":53,"column":422},"end":{"line":53,"column":609}}})) != null ? stack1 : "")
|
|
14276
|
+
+ ((stack1 = (lookupProperty(helpers,"isInPersonOrHybrid")||(depth0 && lookupProperty(depth0,"isInPersonOrHybrid"))||alias4).call(alias3,depth0,{"name":"isInPersonOrHybrid","hash":{},"fn":container.program(16, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":53,"column":609},"end":{"line":53,"column":792}}})) != null ? stack1 : "")
|
|
14060
14277
|
+ "\"})'><span class=\"glyphicon glyphicon-share\"></span> "
|
|
14061
14278
|
+ alias2(alias1((depth0 != null ? lookupProperty(depth0,"share_word") : depth0), depth0))
|
|
14062
14279
|
+ "</a>\n";
|
|
14063
|
-
},"
|
|
14280
|
+
},"9":function(container,depth0,helpers,partials,data) {
|
|
14064
14281
|
var lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
14065
14282
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
14066
14283
|
return parent[propertyName];
|
|
@@ -14070,7 +14287,7 @@ this["hbs_Crouton"]["templates"]["meetings"] = Handlebars.template({"1":function
|
|
|
14070
14287
|
|
|
14071
14288
|
return " "
|
|
14072
14289
|
+ container.escapeExpression(container.lambda((depth0 != null ? lookupProperty(depth0,"virtual_meeting_additional_info") : depth0), depth0));
|
|
14073
|
-
},"
|
|
14290
|
+
},"11":function(container,depth0,helpers,partials,data) {
|
|
14074
14291
|
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
14075
14292
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
14076
14293
|
return parent[propertyName];
|
|
@@ -14078,9 +14295,9 @@ this["hbs_Crouton"]["templates"]["meetings"] = Handlebars.template({"1":function
|
|
|
14078
14295
|
return undefined
|
|
14079
14296
|
};
|
|
14080
14297
|
|
|
14081
|
-
return ((stack1 = lookupProperty(helpers,"if").call(alias1,(depth0 != null ? lookupProperty(depth0,"virtual_meeting_link") : depth0),{"name":"if","hash":{},"fn":container.program(
|
|
14082
|
-
+ ((stack1 = lookupProperty(helpers,"if").call(alias1,(depth0 != null ? lookupProperty(depth0,"phone_meeting_number") : depth0),{"name":"if","hash":{},"fn":container.program(
|
|
14083
|
-
},"
|
|
14298
|
+
return ((stack1 = lookupProperty(helpers,"if").call(alias1,(depth0 != null ? lookupProperty(depth0,"virtual_meeting_link") : depth0),{"name":"if","hash":{},"fn":container.program(12, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":53,"column":449},"end":{"line":53,"column":518}}})) != null ? stack1 : "")
|
|
14299
|
+
+ ((stack1 = lookupProperty(helpers,"if").call(alias1,(depth0 != null ? lookupProperty(depth0,"phone_meeting_number") : depth0),{"name":"if","hash":{},"fn":container.program(14, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":53,"column":518},"end":{"line":53,"column":587}}})) != null ? stack1 : "");
|
|
14300
|
+
},"12":function(container,depth0,helpers,partials,data) {
|
|
14084
14301
|
var lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
14085
14302
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
14086
14303
|
return parent[propertyName];
|
|
@@ -14089,7 +14306,7 @@ this["hbs_Crouton"]["templates"]["meetings"] = Handlebars.template({"1":function
|
|
|
14089
14306
|
};
|
|
14090
14307
|
|
|
14091
14308
|
return container.escapeExpression(container.lambda((depth0 != null ? lookupProperty(depth0,"virtual_meeting_link") : depth0), depth0));
|
|
14092
|
-
},"
|
|
14309
|
+
},"14":function(container,depth0,helpers,partials,data) {
|
|
14093
14310
|
var lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
14094
14311
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
14095
14312
|
return parent[propertyName];
|
|
@@ -14098,7 +14315,7 @@ this["hbs_Crouton"]["templates"]["meetings"] = Handlebars.template({"1":function
|
|
|
14098
14315
|
};
|
|
14099
14316
|
|
|
14100
14317
|
return container.escapeExpression(container.lambda((depth0 != null ? lookupProperty(depth0,"phone_meeting_number") : depth0), depth0));
|
|
14101
|
-
},"
|
|
14318
|
+
},"16":function(container,depth0,helpers,partials,data) {
|
|
14102
14319
|
var alias1=container.lambda, alias2=container.escapeExpression, lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
14103
14320
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
14104
14321
|
return parent[propertyName];
|
|
@@ -14122,7 +14339,7 @@ this["hbs_Crouton"]["templates"]["meetings"] = Handlebars.template({"1":function
|
|
|
14122
14339
|
return undefined
|
|
14123
14340
|
};
|
|
14124
14341
|
|
|
14125
|
-
return ((stack1 = lookupProperty(helpers,"each").call(depth0 != null ? depth0 : (container.nullContext || {}),depth0,{"name":"each","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":1,"column":0},"end":{"line":
|
|
14342
|
+
return ((stack1 = lookupProperty(helpers,"each").call(depth0 != null ? depth0 : (container.nullContext || {}),depth0,{"name":"each","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":1,"column":0},"end":{"line":57,"column":9}}})) != null ? stack1 : "");
|
|
14126
14343
|
},"usePartial":true,"useData":true});
|
|
14127
14344
|
this["hbs_Crouton"]["templates"]["weekdays"] = Handlebars.template({"1":function(container,depth0,helpers,partials,data) {
|
|
14128
14345
|
var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=container.hooks.helperMissing, lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
@@ -14176,7 +14393,7 @@ var croutonDefaultTemplates = {
|
|
|
14176
14393
|
"{{#isTemporarilyClosed this}}",
|
|
14177
14394
|
" <div class='temporarilyClosed'><span class='glyphicon glyphicon-flag'></span> {{temporarilyClosed this}}</div>",
|
|
14178
14395
|
"{{/isTemporarilyClosed}}",
|
|
14179
|
-
"<div class='meeting-name'>{{this
|
|
14396
|
+
"<div class='meeting-name'>{{> meetingLink this}}</div>",
|
|
14180
14397
|
"<div class='location-text'>{{this.location_text}}</div>",
|
|
14181
14398
|
"<div class='meeting-address'>{{this.formatted_address}}</div>",
|
|
14182
14399
|
"<div class='location-information'>{{this.formatted_location_info}}</div>",
|
|
@@ -14221,12 +14438,29 @@ var croutonDefaultTemplates = {
|
|
|
14221
14438
|
observer_template: [
|
|
14222
14439
|
"<div class='observerLine'>{{this.contact_name_1}} {{this.contact_phone_1}} {{this.contact_email_1}}</div>",
|
|
14223
14440
|
"<div class='observerLine'>{{this.contact_name_2}} {{this.contact_phone_2}} {{this.contact_email_2}}</div>"
|
|
14224
|
-
].join('\n')
|
|
14441
|
+
].join('\n'),
|
|
14442
|
+
|
|
14443
|
+
meeting_count_template: [
|
|
14444
|
+
"{{#if this.config.has_meeting_count}}",
|
|
14445
|
+
"<span class='bmlt_tabs_meeting_count'>{{getWord 'meeting_count'}} {{this.meetings.meetingCount}}</span>",
|
|
14446
|
+
"{{/if}}"
|
|
14447
|
+
].join('\n'),
|
|
14225
14448
|
|
|
14449
|
+
meeting_link_template: [
|
|
14450
|
+
"{{#if this.meeting_details_url}}",
|
|
14451
|
+
"<a href='{{{this.meeting_details_url}}}'><span class='glyphicon glyphicon-search' aria-hidden='true'></span>{{this.meeting_name}}</a>",
|
|
14452
|
+
"{{else}}",
|
|
14453
|
+
"{{this.meeting_name}}",
|
|
14454
|
+
"{{/if}}"
|
|
14455
|
+
].join('\n')
|
|
14226
14456
|
}
|
|
14227
14457
|
|
|
14228
14458
|
var crouton_Handlebars = Handlebars.noConflict();
|
|
14229
|
-
|
|
14459
|
+
// These are extension points
|
|
14460
|
+
crouton_Handlebars.registerHelper("startup", () => '');
|
|
14461
|
+
crouton_Handlebars.registerHelper("enrich", () => '');
|
|
14462
|
+
crouton_Handlebars.registerHelper('selectFormatPopup', () => "formatPopup");
|
|
14463
|
+
crouton_Handlebars.registerHelper('selectObserver', () => "observerTemplate");
|
|
14230
14464
|
function Crouton(config) {
|
|
14231
14465
|
var self = this;
|
|
14232
14466
|
self.mutex = false;
|
|
@@ -14238,6 +14472,7 @@ function Crouton(config) {
|
|
|
14238
14472
|
self.markerClusterer = null;
|
|
14239
14473
|
self.masterFormatCodes = [];
|
|
14240
14474
|
self.max_filters = 10; // TODO: needs to be refactored so that dropdowns are treated dynamically
|
|
14475
|
+
self.handlebarMapOptions = [];
|
|
14241
14476
|
self.config = {
|
|
14242
14477
|
on_complete: null, // Javascript function to callback when data querying is completed.
|
|
14243
14478
|
root_server: null, // The root server to use.
|
|
@@ -14253,6 +14488,7 @@ function Crouton(config) {
|
|
|
14253
14488
|
button_filters: [
|
|
14254
14489
|
{'title': 'City', 'field': 'location_municipality'},
|
|
14255
14490
|
],
|
|
14491
|
+
button_format_filters: [],
|
|
14256
14492
|
default_filter_dropdown: "", // Sets the default format for the dropdowns, the names will match the `has_` fields dropdowns without `has_. Example: `formats=closed`.
|
|
14257
14493
|
show_map: false, // Shows the map with pins
|
|
14258
14494
|
map_search: null, // Start search with map click (ex {"latitude":x,"longitude":y,"width":-10,"zoom":10}
|
|
@@ -14268,13 +14504,21 @@ function Crouton(config) {
|
|
|
14268
14504
|
has_sub_province: false, // Shows the sub province dropdown (counties)
|
|
14269
14505
|
has_neighborhoods: false, // Shows the neighborhood dropdown
|
|
14270
14506
|
has_languages: false, // Shows the language dropdown
|
|
14507
|
+
has_common_needs: false, // Shows the Common Needs dropdown
|
|
14271
14508
|
has_venues: true, // Shows the venue types dropdown
|
|
14509
|
+
has_meeting_count: false, // Shows the meeting count
|
|
14272
14510
|
show_distance: false, // Determines distance on page load
|
|
14273
14511
|
distance_search: 0, // Makes a distance based search with results either number of / or distance from coordinates
|
|
14274
14512
|
recurse_service_bodies: false,// Recurses service bodies when making service bodies request
|
|
14275
14513
|
service_body: [], // Array of service bodies to return data for.
|
|
14514
|
+
formats: '', // Return only meetings with these formats (format shared-id, not key-string)
|
|
14515
|
+
venue_types: '', // Return only meetings with this venue type (1, 2 or 3)
|
|
14516
|
+
strict_datafields: true, // Only get the datafields that are mentioned in the templates
|
|
14517
|
+
meeting_details_href: '', // Link to the meeting details page
|
|
14518
|
+
virtual_meeting_details_href: '', // Link to the virtual meeting details page
|
|
14276
14519
|
exclude_zip_codes: [], // List of zip codes to exclude
|
|
14277
14520
|
extra_meetings: [], // List of id_bigint of meetings to include
|
|
14521
|
+
native_lang: '', // The implied language of meetings with no explicit language specied. May be there as second language, but it still doesn't make sense to search for it.
|
|
14278
14522
|
auto_tz_adjust: false, // Will auto adjust the time zone, by default will assume the timezone is local time
|
|
14279
14523
|
base_tz: null, // In conjunction with auto_tz_adjust the timezone to base from. Choices are listed here: https://github.com/bmlt-enabled/crouton/blob/master/croutonjs/src/js/moment-timezone.js#L623
|
|
14280
14524
|
custom_query: null, // Enables overriding the services related queries for a custom one
|
|
@@ -14283,10 +14527,15 @@ function Crouton(config) {
|
|
|
14283
14527
|
int_start_day_id: 1, // Controls the first day of the week sequence. Sunday is 1.
|
|
14284
14528
|
view_by: "weekday", // TODO: replace with using the first choice in button_filters as the default view_by.
|
|
14285
14529
|
show_qrcode: false, // Determines whether or not to show the QR code for virtual / phone meetings if they exist.
|
|
14530
|
+
force_rootserver_in_querystring: true, // Set to false to shorten generated meeting detail query strings
|
|
14531
|
+
force_timeformat_in_querystring: true, // Set to false to shorten generated meeting detail query strings
|
|
14532
|
+
force_language_in_querystring: true, // Set to false to shorten generated meeting detail query strings
|
|
14286
14533
|
theme: "jack", // Allows for setting pre-packaged themes. Choices are listed here: https://github.com/bmlt-enabled/crouton/blob/master/croutonjs/dist/templates/themes
|
|
14287
14534
|
meeting_data_template: croutonDefaultTemplates.meeting_data_template,
|
|
14288
14535
|
metadata_template: croutonDefaultTemplates.metadata_template,
|
|
14289
|
-
observer_template: croutonDefaultTemplates.observer_template
|
|
14536
|
+
observer_template: croutonDefaultTemplates.observer_template,
|
|
14537
|
+
meeting_count_template: croutonDefaultTemplates.meeting_count_template,
|
|
14538
|
+
meeting_link_template: croutonDefaultTemplates.meeting_link_template,
|
|
14290
14539
|
};
|
|
14291
14540
|
|
|
14292
14541
|
self.setConfig(config);
|
|
@@ -14409,6 +14658,7 @@ function Crouton(config) {
|
|
|
14409
14658
|
var fullUrl = self.config['root_server'] + url
|
|
14410
14659
|
console.log("Could not find any meetings for the criteria specified with the query <a href=\"" + fullUrl + "\" target=_blank>" + fullUrl + "</a>");
|
|
14411
14660
|
jQuery('#' + self.config['placeholder_id']).html("No meetings found.");
|
|
14661
|
+
self.mutex = false;
|
|
14412
14662
|
return;
|
|
14413
14663
|
}
|
|
14414
14664
|
mainMeetings['meetings'].exclude(self.config['exclude_zip_codes'], "location_postal_code_1");
|
|
@@ -14421,9 +14671,12 @@ function Crouton(config) {
|
|
|
14421
14671
|
self.mutex = false;
|
|
14422
14672
|
});
|
|
14423
14673
|
};
|
|
14424
|
-
self.
|
|
14425
|
-
|
|
14426
|
-
|
|
14674
|
+
self.addDatafieldsToQuery = function() {
|
|
14675
|
+
if (!self.config.strict_datafields) {
|
|
14676
|
+
self.all_data_keys = [];
|
|
14677
|
+
self.queryable_data_keys = [];
|
|
14678
|
+
return '';
|
|
14679
|
+
}
|
|
14427
14680
|
var base_data_field_keys = [
|
|
14428
14681
|
'location_postal_code_1',
|
|
14429
14682
|
'duration_time',
|
|
@@ -14494,9 +14747,24 @@ function Crouton(config) {
|
|
|
14494
14747
|
self.collectDataKeys(self.config['observer_template']);
|
|
14495
14748
|
|
|
14496
14749
|
var unique_data_field_keys = arrayUnique(self.queryable_data_keys);
|
|
14750
|
+
return '&data_field_key=' + unique_data_field_keys.join(',');
|
|
14751
|
+
}
|
|
14752
|
+
self.mutex = true;
|
|
14753
|
+
|
|
14754
|
+
self.meetingSearch = function() {
|
|
14497
14755
|
var url = '/client_interface/jsonp/?switcher=GetSearchResults&get_used_formats&lang_enum=' + self.config['short_language'] +
|
|
14498
|
-
|
|
14756
|
+
self.addDatafieldsToQuery();
|
|
14499
14757
|
|
|
14758
|
+
if (self.config['formats']) {
|
|
14759
|
+
url += self.config['formats'].reduce(function(prev,id) {
|
|
14760
|
+
return prev +'&formats[]='+id;
|
|
14761
|
+
}, '');
|
|
14762
|
+
}
|
|
14763
|
+
if (self.config['venue_types']) {
|
|
14764
|
+
url += self.config['venue_types'].reduce(function(prev,id) {
|
|
14765
|
+
return prev +'&venue_types[]='+id;
|
|
14766
|
+
}, '');
|
|
14767
|
+
}
|
|
14500
14768
|
if (self.config['int_include_unpublished'] === 1) {
|
|
14501
14769
|
url += "&advanced_published=0"
|
|
14502
14770
|
} else if (self.config['int_include_unpublished'] === -1) {
|
|
@@ -14632,12 +14900,14 @@ function Crouton(config) {
|
|
|
14632
14900
|
self.filteredPage = function (dataType, dataValue) {
|
|
14633
14901
|
jQuery(".meeting-header").removeClass("hide");
|
|
14634
14902
|
jQuery(".bmlt-data-row").removeClass("hide");
|
|
14635
|
-
if (dataType !== "formats" && dataType !== "languages" && dataType !== "venues") {
|
|
14903
|
+
if (dataType !== "formats" && dataType !== "languages" && dataType !== "venues" && dataType !== "common_needs") {
|
|
14636
14904
|
jQuery(".bmlt-data-row").not("[data-" + dataType + "='" + dataValue + "']").addClass("hide");
|
|
14637
14905
|
} else {
|
|
14638
14906
|
jQuery(".bmlt-data-row").not("[data-" + dataType + "~='" + dataValue + "']").addClass("hide");
|
|
14639
14907
|
}
|
|
14640
|
-
|
|
14908
|
+
jQuery(".bmlt-data-row").not(".hide").each(function (index, value) {
|
|
14909
|
+
jQuery(value).addClass((index % 2) ? 'oddRow' : 'evenRow');
|
|
14910
|
+
});
|
|
14641
14911
|
if (self.config['filter_tabs']) {
|
|
14642
14912
|
self.showPage("#nav-days");
|
|
14643
14913
|
self.showPage("#tabs-content");
|
|
@@ -14658,6 +14928,8 @@ function Crouton(config) {
|
|
|
14658
14928
|
jQuery(".filter-dropdown").val(null).trigger("change");
|
|
14659
14929
|
jQuery(".meeting-header").removeClass("hide");
|
|
14660
14930
|
jQuery(".bmlt-data-row").removeClass("hide");
|
|
14931
|
+
jQuery(".evenRow").removeClass("evenRow");
|
|
14932
|
+
jQuery(".oddRow").removeClass("oddRow");
|
|
14661
14933
|
};
|
|
14662
14934
|
|
|
14663
14935
|
self.renderView = function (selector, context, callback) {
|
|
@@ -14667,6 +14939,7 @@ function Crouton(config) {
|
|
|
14667
14939
|
crouton_Handlebars.registerPartial('weekdays', hbs_Crouton.templates['weekdays']);
|
|
14668
14940
|
crouton_Handlebars.registerPartial('header', hbs_Crouton.templates['header']);
|
|
14669
14941
|
crouton_Handlebars.registerPartial('byfields', hbs_Crouton.templates['byfield']);
|
|
14942
|
+
crouton_Handlebars.registerPartial('formatPopup', hbs_Crouton.templates['formatPopup']);
|
|
14670
14943
|
var template = hbs_Crouton.templates['main'];
|
|
14671
14944
|
jQuery(selector).html(template(context));
|
|
14672
14945
|
callback();
|
|
@@ -14751,13 +15024,19 @@ function Crouton(config) {
|
|
|
14751
15024
|
}
|
|
14752
15025
|
}
|
|
14753
15026
|
};
|
|
14754
|
-
|
|
15027
|
+
self.toFarsinNumber = function( n ) {
|
|
15028
|
+
const farsiDigits = ['۰', '۱', '۲', '۳', '۴', '۵', '۶', '۷', '۸', '۹'];
|
|
15029
|
+
|
|
15030
|
+
return n.replace(/\d/g, x => farsiDigits[x]);
|
|
15031
|
+
}
|
|
14755
15032
|
self.enrichMeetings = function (meetingData, filter) {
|
|
14756
15033
|
var meetings = [];
|
|
14757
15034
|
|
|
14758
15035
|
crouton_Handlebars.registerPartial("meetingDataTemplate", self.config['meeting_data_template']);
|
|
14759
15036
|
crouton_Handlebars.registerPartial("metaDataTemplate", self.config['metadata_template']);
|
|
14760
15037
|
crouton_Handlebars.registerPartial("observerTemplate", self.config['observer_template']);
|
|
15038
|
+
crouton_Handlebars.registerPartial("meetingCountTemplate", self.config['meeting_count_template']);
|
|
15039
|
+
crouton_Handlebars.registerPartial("meetingLink", self.config['meeting_link_template']);
|
|
14761
15040
|
|
|
14762
15041
|
for (var m = 0; m < meetingData.length; m++) {
|
|
14763
15042
|
meetingData[m]['formatted_comments'] = meetingData[m]['comments'];
|
|
@@ -14774,6 +15053,10 @@ function Crouton(config) {
|
|
|
14774
15053
|
.add(duration[0], 'hours')
|
|
14775
15054
|
.add(duration[1], 'minutes')
|
|
14776
15055
|
.format(self.config['time_format']);
|
|
15056
|
+
if (self.config.language === 'fa-IR') {
|
|
15057
|
+
meetingData[m]['start_time_formatted'] = self.toFarsinNumber(meetingData[m]['start_time_formatted']);
|
|
15058
|
+
meetingData[m]['end_time_formatted'] = self.toFarsinNumber(meetingData[m]['end_time_formatted']);
|
|
15059
|
+
}
|
|
14777
15060
|
|
|
14778
15061
|
// back to bmlt day
|
|
14779
15062
|
meetingData[m]['day_of_the_week'] = meetingData[m]['start_time_raw'].isoWeekday() === 7 ? 1 : meetingData[m]['start_time_raw'].isoWeekday() + 1;
|
|
@@ -14789,7 +15072,8 @@ function Crouton(config) {
|
|
|
14789
15072
|
"id": self.formatsData[g]['id'],
|
|
14790
15073
|
"key": formats[f],
|
|
14791
15074
|
"name": self.formatsData[g]['name_string'],
|
|
14792
|
-
"description": self.formatsData[g]['description_string']
|
|
15075
|
+
"description": self.formatsData[g]['description_string'],
|
|
15076
|
+
"type": self.formatsData[g]['format_type_enum'],
|
|
14793
15077
|
}
|
|
14794
15078
|
)
|
|
14795
15079
|
}
|
|
@@ -14828,6 +15112,7 @@ function Crouton(config) {
|
|
|
14828
15112
|
meetingData[m]['serviceBodyPhone'] = serviceBodyInfo["helpline"];
|
|
14829
15113
|
meetingData[m]['serviceBodyName'] = serviceBodyInfo["name"];
|
|
14830
15114
|
meetingData[m]['serviceBodyDescription'] = serviceBodyInfo["description"];
|
|
15115
|
+
meetingData[m]['serviceBodyContactEmail'] = serviceBodyInfo["contact_email"];
|
|
14831
15116
|
meetingData[m]['serviceBodyType'] = self.localization.getServiceBodyType(serviceBodyInfo["type"]);
|
|
14832
15117
|
|
|
14833
15118
|
var parentBodyInfo = self.getServiceBodyDetails(serviceBodyInfo["parent_id"]);
|
|
@@ -14839,6 +15124,19 @@ function Crouton(config) {
|
|
|
14839
15124
|
meetingData[m]['parentServiceBodyType'] = self.localization.getServiceBodyType(parentBodyInfo["type"]);
|
|
14840
15125
|
}
|
|
14841
15126
|
|
|
15127
|
+
meetingData[m]['meeting_details_url'] = '';
|
|
15128
|
+
if (self.config.meeting_details_href) {
|
|
15129
|
+
meetingData[m]['meeting_details_url'] = self.config.meeting_details_href;
|
|
15130
|
+
if (meetingData[m]['venue_type'] === 2 && self.config.virtual_meeting_details_href ) {
|
|
15131
|
+
meetingData[m]['meeting_details_url'] = self.config.virtual_meeting_details_href;
|
|
15132
|
+
}
|
|
15133
|
+
meetingData[m]['meeting_details_url'] += ('?meeting-id=' + meetingData[m]['id_bigint']
|
|
15134
|
+
+ '&language=' + self.config.language
|
|
15135
|
+
+ '&time_format=' + encodeURIComponent(self.config.time_format)
|
|
15136
|
+
+ (self.config.force_rootserver_in_querystring ? '&root_server=' + encodeURIComponent(self.config.root_server) : '')
|
|
15137
|
+
);
|
|
15138
|
+
}
|
|
15139
|
+
|
|
14842
15140
|
meetings.push(meetingData[m])
|
|
14843
15141
|
}
|
|
14844
15142
|
|
|
@@ -14972,6 +15270,102 @@ Crouton.prototype.getServiceBodyDetails = function(serviceBodyId) {
|
|
|
14972
15270
|
}
|
|
14973
15271
|
}
|
|
14974
15272
|
|
|
15273
|
+
Crouton.prototype.doHandlebars = function() {
|
|
15274
|
+
var elements = document.getElementsByTagName('bmlt-handlebar');
|
|
15275
|
+
if (elements.length === 0) {
|
|
15276
|
+
console.log('No <bmlt-handlebar> tags found');
|
|
15277
|
+
return;
|
|
15278
|
+
};
|
|
15279
|
+
var self = this;
|
|
15280
|
+
self.lock(function() {
|
|
15281
|
+
if (self.isEmpty(self.meetingData)) {
|
|
15282
|
+
for (let i = 0; i < elements.length; i++) {
|
|
15283
|
+
var element = elements.item(i);
|
|
15284
|
+
element.innerHTML = "Meeting not found!";
|
|
15285
|
+
}
|
|
15286
|
+
return;
|
|
15287
|
+
}
|
|
15288
|
+
var promises = [self.getServiceBodies([self.meetingData[0]['service_body_bigint']])];
|
|
15289
|
+
Promise.all(promises)
|
|
15290
|
+
.then(function(data) {
|
|
15291
|
+
hbs_Crouton['localization'] = self.localization;
|
|
15292
|
+
self.active_service_bodies = [];
|
|
15293
|
+
self.all_service_bodies = [];
|
|
15294
|
+
var service_body = data[0][0];
|
|
15295
|
+
self.all_service_bodies.push(service_body);
|
|
15296
|
+
var enrichedMeetingData = self.enrichMeetings(self.meetingData);
|
|
15297
|
+
var customStartupTemplate = crouton_Handlebars.compile('{{startup}}');
|
|
15298
|
+
customStartupTemplate(enrichedMeetingData);
|
|
15299
|
+
var customEnrichTemplate = crouton_Handlebars.compile('{{enrich this}}');
|
|
15300
|
+
customEnrichTemplate(enrichedMeetingData[0]);
|
|
15301
|
+
var mustDoMap = false;
|
|
15302
|
+
crouton_Handlebars.registerHelper('crouton_map', function(options) {
|
|
15303
|
+
mustDoMap = true;
|
|
15304
|
+
self.handlebarMapOptions = options.hash;
|
|
15305
|
+
if (!self.handlebarMapOptions.zoom) self.handlebarMapOptions.zoom = 14;
|
|
15306
|
+
self.handlebarMapOptions.lat = parseFloat(enrichedMeetingData[0].latitude);
|
|
15307
|
+
self.handlebarMapOptions.lng = parseFloat(enrichedMeetingData[0].longitude);
|
|
15308
|
+
return "<div id='bmlt-map' class='bmlt-map'></div>"
|
|
15309
|
+
});
|
|
15310
|
+
var parser = new DOMParser();
|
|
15311
|
+
|
|
15312
|
+
while (elements.length > 0) {
|
|
15313
|
+
var element = elements.item(0);
|
|
15314
|
+
if (!element.firstChild) {
|
|
15315
|
+
console.log('<bmlt-handlebar> tag must have at least one child');
|
|
15316
|
+
element.remove();
|
|
15317
|
+
continue;
|
|
15318
|
+
}
|
|
15319
|
+
var templateString = '';
|
|
15320
|
+
if (element.firstChild.nodeType === 1) {
|
|
15321
|
+
if (!element.firstChild.firstChild || element.firstChild.firstChild.nodeType !== 3) {
|
|
15322
|
+
console.log('<bmlt-handlebar> tag: cannot find textnode');
|
|
15323
|
+
element.remove();
|
|
15324
|
+
continue;
|
|
15325
|
+
}
|
|
15326
|
+
templateString = element.firstChild.firstChild.textContent;
|
|
15327
|
+
} else if (element.firstChild.nodeType === 3) {
|
|
15328
|
+
if (!element.firstChild.nodeType !== 3) {
|
|
15329
|
+
console.log('<bmlt-handlebar> tag: cannot find textnode');
|
|
15330
|
+
element.remove();
|
|
15331
|
+
continue;
|
|
15332
|
+
}
|
|
15333
|
+
templateString = element.firstChild.textContent;
|
|
15334
|
+
}
|
|
15335
|
+
var handlebarResult;
|
|
15336
|
+
try {
|
|
15337
|
+
var template = crouton_Handlebars.compile(templateString);
|
|
15338
|
+
handlebarResult = template(enrichedMeetingData[0]);
|
|
15339
|
+
} catch (e) {
|
|
15340
|
+
console.log(e);
|
|
15341
|
+
handlebarResult = e.message;
|
|
15342
|
+
}
|
|
15343
|
+
var htmlDecode = parser.parseFromString('<body>'+handlebarResult+'</body>', "text/html");
|
|
15344
|
+
if (!htmlDecode.body || !htmlDecode.body.firstChild) {
|
|
15345
|
+
console.log('<bmlt-handlebar> tag: could not parse the Handlebars result');
|
|
15346
|
+
element.replaceWith('<bmlt-handlebar> tag: could not parse the Handlebars result');
|
|
15347
|
+
continue;
|
|
15348
|
+
}
|
|
15349
|
+
var firstPart = htmlDecode.body.firstChild;
|
|
15350
|
+
var brothers = [];
|
|
15351
|
+
var thisPart = firstPart;
|
|
15352
|
+
var nextPart = null;
|
|
15353
|
+
while (nextPart = thisPart.nextSibling) {
|
|
15354
|
+
thisPart = nextPart;
|
|
15355
|
+
brothers.push(thisPart);
|
|
15356
|
+
}
|
|
15357
|
+
element.replaceWith(firstPart);
|
|
15358
|
+
if (brothers) firstPart.after(...brothers);
|
|
15359
|
+
}
|
|
15360
|
+
if (mustDoMap) {
|
|
15361
|
+
self.meetingData = enrichedMeetingData;
|
|
15362
|
+
self.loadGapi('crouton.initMap');
|
|
15363
|
+
}
|
|
15364
|
+
});
|
|
15365
|
+
});
|
|
15366
|
+
|
|
15367
|
+
};
|
|
15368
|
+
|
|
14975
15369
|
Crouton.prototype.render = function() {
|
|
14976
15370
|
var self = this;
|
|
14977
15371
|
self.lock(function() {
|
|
@@ -15031,11 +15425,17 @@ Crouton.prototype.render = function() {
|
|
|
15031
15425
|
}
|
|
15032
15426
|
self.uniqueData['formats'] = self.formatsData;
|
|
15033
15427
|
self.uniqueData['languages'] = [];
|
|
15428
|
+
self.uniqueData['common_needs'] = [];
|
|
15034
15429
|
|
|
15035
15430
|
for (var l = 0; l < self.formatsData.length; l++) {
|
|
15036
15431
|
var format = self.formatsData[l];
|
|
15037
15432
|
if (format['format_type_enum'] === "LANG") {
|
|
15038
|
-
self.
|
|
15433
|
+
if (self.config.native_lang !== format.key_string) {
|
|
15434
|
+
self.uniqueData['languages'].push(format);
|
|
15435
|
+
}
|
|
15436
|
+
}
|
|
15437
|
+
if (format['format_type_enum'] === "FC3") {
|
|
15438
|
+
self.uniqueData['common_needs'].push(format);
|
|
15039
15439
|
}
|
|
15040
15440
|
}
|
|
15041
15441
|
|
|
@@ -15064,6 +15464,7 @@ Crouton.prototype.render = function() {
|
|
|
15064
15464
|
var day_counter = 0;
|
|
15065
15465
|
var byDayData = [];
|
|
15066
15466
|
var buttonFiltersData = {};
|
|
15467
|
+
var buttonFormatFiltersData = {};
|
|
15067
15468
|
while (day_counter < 7) {
|
|
15068
15469
|
var day = self.config.day_sequence[day_counter];
|
|
15069
15470
|
var daysOfTheWeekMeetings = enrichedMeetingData.filterByObjectKeyValue('day_of_the_week', day);
|
|
@@ -15095,6 +15496,24 @@ Crouton.prototype.render = function() {
|
|
|
15095
15496
|
}
|
|
15096
15497
|
}
|
|
15097
15498
|
|
|
15499
|
+
for (var f = 0; f < self.config.button_format_filters.length; f++) {
|
|
15500
|
+
var groupByName = self.config.button_format_filters[f]['field'];
|
|
15501
|
+
var groupByData = getUniqueFormatsOfType(daysOfTheWeekMeetings, groupByName);
|
|
15502
|
+
if (groupByName=='LANG' && self.config.native_lang && self.config.native_lang.length > 0) {
|
|
15503
|
+
groupByData = groupByData.filter((f) => f.key != self.config.native_lang);
|
|
15504
|
+
}
|
|
15505
|
+
for (var i = 0; i < groupByData.length; i++) {
|
|
15506
|
+
var groupByMeetings = daysOfTheWeekMeetings.filter((item) => item.formats_expanded.map(f => f.key).indexOf(groupByData[i].key) >= 0);
|
|
15507
|
+
if (buttonFormatFiltersData.hasOwnProperty(groupByName) && buttonFormatFiltersData[groupByName].hasOwnProperty(groupByData[i].description)) {
|
|
15508
|
+
buttonFormatFiltersData[groupByName][groupByData[i].description] = buttonFormatFiltersData[groupByName][groupByData[i].description].concat(groupByMeetings);
|
|
15509
|
+
} else if (buttonFormatFiltersData.hasOwnProperty(groupByName)) {
|
|
15510
|
+
buttonFormatFiltersData[groupByName][groupByData[i].description] = groupByMeetings;
|
|
15511
|
+
} else {
|
|
15512
|
+
buttonFormatFiltersData[groupByName] = {};
|
|
15513
|
+
buttonFormatFiltersData[groupByName][groupByData[i].description] = groupByMeetings;
|
|
15514
|
+
}
|
|
15515
|
+
}
|
|
15516
|
+
}
|
|
15098
15517
|
day_counter++;
|
|
15099
15518
|
}
|
|
15100
15519
|
|
|
@@ -15119,7 +15538,9 @@ Crouton.prototype.render = function() {
|
|
|
15119
15538
|
"meetings": {
|
|
15120
15539
|
"weekdays": weekdaysData,
|
|
15121
15540
|
"buttonFilters": buttonFiltersDataSorted,
|
|
15122
|
-
"
|
|
15541
|
+
"buttonFormatFilters": buttonFormatFiltersData,
|
|
15542
|
+
"bydays": byDayData,
|
|
15543
|
+
"meetingCount": self.meetingData.length
|
|
15123
15544
|
},
|
|
15124
15545
|
"uniqueData": self.uniqueData
|
|
15125
15546
|
}, function () {
|
|
@@ -15315,17 +15736,7 @@ Crouton.prototype.renderMap = function() {
|
|
|
15315
15736
|
}
|
|
15316
15737
|
})
|
|
15317
15738
|
};
|
|
15318
|
-
|
|
15319
|
-
Crouton.prototype.initMap = function(callback) {
|
|
15320
|
-
var self = this;
|
|
15321
|
-
if (self.map == null) {
|
|
15322
|
-
jQuery("#bmlt-tabs").before("<div id='bmlt-map' class='bmlt-map'></div>");
|
|
15323
|
-
self.map = new google.maps.Map(document.getElementById('bmlt-map'), {
|
|
15324
|
-
zoom: 3,
|
|
15325
|
-
});
|
|
15326
|
-
}
|
|
15327
|
-
|
|
15328
|
-
jQuery("#bmlt-map").removeClass("hide");
|
|
15739
|
+
calculateBounds = function() {
|
|
15329
15740
|
var bounds = new google.maps.LatLngBounds();
|
|
15330
15741
|
// We go through all the results, and get the "spread" from them.
|
|
15331
15742
|
for (var c = 0; c < self.meetingData.length; c++) {
|
|
@@ -15337,6 +15748,22 @@ Crouton.prototype.initMap = function(callback) {
|
|
|
15337
15748
|
// We now have the full rectangle of our meeting search results. Scale the map to fit them.
|
|
15338
15749
|
self.map.fitBounds(bounds);
|
|
15339
15750
|
|
|
15751
|
+
}
|
|
15752
|
+
Crouton.prototype.initMap = function(callback) {
|
|
15753
|
+
var self = this;
|
|
15754
|
+
if (self.map == null) {
|
|
15755
|
+
jQuery("#bmlt-tabs").before("<div id='bmlt-map' class='bmlt-map'></div>");
|
|
15756
|
+
var mapOpt = { zoom: 3 };
|
|
15757
|
+
if (self.handlebarMapOptions) mapOpt = {
|
|
15758
|
+
center: new google.maps.LatLng(self.handlebarMapOptions.lat, self.handlebarMapOptions.lng),
|
|
15759
|
+
zoom: self.handlebarMapOptions.zoom,
|
|
15760
|
+
mapTypeId:google.maps.MapTypeId.ROADMAP
|
|
15761
|
+
};
|
|
15762
|
+
self.map = new google.maps.Map(document.getElementById('bmlt-map'), mapOpt );
|
|
15763
|
+
}
|
|
15764
|
+
|
|
15765
|
+
jQuery("#bmlt-map").removeClass("hide");
|
|
15766
|
+
if (!self.handlebarMapOptions) self.calculateBounds();
|
|
15340
15767
|
var infoWindow = new google.maps.InfoWindow();
|
|
15341
15768
|
|
|
15342
15769
|
// Create OverlappingMarkerSpiderfier instance
|
|
@@ -15510,7 +15937,10 @@ crouton_Handlebars.registerHelper('getDayOfTheWeek', function(day_id) {
|
|
|
15510
15937
|
});
|
|
15511
15938
|
|
|
15512
15939
|
crouton_Handlebars.registerHelper('getWord', function(word) {
|
|
15513
|
-
|
|
15940
|
+
var translation = hbs_Crouton.localization.getWord(word);
|
|
15941
|
+
if (translation) return translation;
|
|
15942
|
+
// if none found, return the untranslated - better than nothing.
|
|
15943
|
+
return word;
|
|
15514
15944
|
});
|
|
15515
15945
|
|
|
15516
15946
|
crouton_Handlebars.registerHelper('formatDataPointer', function(str) {
|
|
@@ -15711,7 +16141,17 @@ function getValuesFromObject(o) {
|
|
|
15711
16141
|
|
|
15712
16142
|
return arr;
|
|
15713
16143
|
}
|
|
15714
|
-
|
|
16144
|
+
function getUniqueFormatsOfType(array, type){
|
|
16145
|
+
var x = array.reduce(function(carry, val){
|
|
16146
|
+
if (!(val.formats_expanded)) return carry;
|
|
16147
|
+
var fmts = val.formats_expanded.filter((item) => item.type===type);
|
|
16148
|
+
if (fmts) {
|
|
16149
|
+
carry = carry.concat(fmts.filter((item) => carry.map(f => f.key).indexOf(item.key) < 0));
|
|
16150
|
+
}
|
|
16151
|
+
return carry;
|
|
16152
|
+
},[]);
|
|
16153
|
+
return x;
|
|
16154
|
+
}
|
|
15715
16155
|
Crouton.prototype.getAdjustedDateTime = function(meeting_day, meeting_time, meeting_time_zone) {
|
|
15716
16156
|
var timeZoneAware = this.config['auto_tz_adjust'] === true || this.config['auto_tz_adjust'] === "true";
|
|
15717
16157
|
var meeting_date_time_obj;
|