1"use strict";function _typeof(t){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}!function(t){(window.FooBar=window.FooBar||{}).$=t}(jQuery),function(t){t?function(){try{return window.FooBar.utils}catch(t){return}}()||(window.FooBar.utils={$:t,version:"1.0.0"}):console.warn("jQuery must be included in the page prior to the FooBar.utils library.")}(jQuery),function(e,n){"1.0.0"===n.version&&(n.is={},n.is.array=function(t){return"[object Array]"===Object.prototype.toString.call(t)},n.is.boolean=function(t){return"[object Boolean]"===Object.prototype.toString.call(t)},n.is.element=function(t){return"object"===("undefined"==typeof HTMLElement?"undefined":_typeof(HTMLElement))?t instanceof HTMLElement:!!t&&"object"===_typeof(t)&&1===t.nodeType&&"string"==typeof t.nodeName},n.is.empty=function(t){if(n.is.undef(t)||null===t)return!0;if(n.is.number(t)&&0===t)return!0;if(n.is.boolean(t)&&!1===t)return!0;if(n.is.string(t)&&0===t.length)return!0;if(n.is.array(t)&&0===t.length)return!0;if(n.is.jq(t)&&0===t.length)return!0;if(n.is.hash(t)){for(var e in t)if(t.hasOwnProperty(e))return!1;return!0}return!1},n.is.error=function(t){return"[object Error]"===Object.prototype.toString.call(t)},n.is.fn=function(t){return t===window.alert||"[object Function]"===Object.prototype.toString.call(t)},n.is.hash=function(t){return n.is.object(t)&&t.constructor===Object&&!t.nodeType&&!t.setInterval},n.is.jq=function(t){return!n.is.undef(e)&&t instanceof e},n.is.number=function(t){return"[object Number]"===Object.prototype.toString.call(t)&&!isNaN(t)},n.is.object=function(t){return"[object Object]"===Object.prototype.toString.call(t)&&!n.is.undef(t)&&null!==t},n.is.promise=function(t){return n.is.object(t)&&n.is.fn(t.then)&&n.is.fn(t.promise)},n.is.size=function(t){return!!(n.is.string(t)&&!n.is.empty(t)||n.is.number(t))&&/^(auto|none|(?:[\d.]*)+?(?:%|px|mm|q|cm|in|pt|pc|em|ex|ch|rem|vh|vw|vmin|vmax)?)$/.test(t)},n.is.string=function(t){return"[object String]"===Object.prototype.toString.call(t)},n.is.undef=function(t){return void 0===t})}(FooBar.utils.$,FooBar.utils),function(l,c,u){var a;"1.0.0"===c.version&&(c.fn={},a=Function.prototype.toString,c.fn.CONTAINS_SUPER=/xyz/.test(a.call(function(){xyz}))?/\b_super\b/:/.*/,c.fn.noop=function(){},c.fn.addOrOverride=function(t,e,n){var o,r,i,s;u.object(t)&&u.string(e)&&!u.empty(e)&&u.fn(n)&&(o=t[e],r=u.fn(o)&&c.fn.CONTAINS_SUPER.test(a.call(n)),t[e]=r?(i=o,s=n,function(){var t=this._super;this._super=i;var e=s.apply(this,arguments);return this._super=t,e}):n)},c.fn.expose=function(e,n,t,o){u.object(e)&&u.object(n)&&u.array(t)&&(o=u.undef(o)?e:o,t.forEach(function(t){u.string(t)&&u.fn(e[t])&&(n[t]=e[t].bind(o))}))},c.fn.apply=function(t,e){return e.unshift(t),new(Function.prototype.bind.apply(t,e))},c.fn.arg2arr=function(t){return Array.prototype.slice.call(t)},c.fn.debounce=function(n,o){var r;return function(){var t=this,e=c.fn.arg2arr(arguments);clearTimeout(r),r=setTimeout(function(){n.apply(t,e)},o)}},c.fn.throttle=function(n,o){var r,i;return function(){var t=this,e=c.fn.arg2arr(arguments);r?(clearTimeout(i),i=setTimeout(function(){Date.now()-r>=o&&(n.apply(t,e),r=Date.now())},o-(Date.now()-r))):(n.apply(t,e),r=Date.now())}},c.fn.resolved=l.Deferred().resolve().promise(),c.fn.rejected=l.Deferred().reject().promise(),c.fn.reject=function(t,e){var n=l.Deferred(),o=c.fn.arg2arr(arguments);return n.reject.apply(n,o).promise()},c.fn.resolve=function(t,e){var n=l.Deferred(),o=c.fn.arg2arr(arguments);return n.resolve.apply(n,o).promise()},c.fn.rejectWith=function(t,e,n){var o=l.Deferred(),r=c.fn.arg2arr(arguments);return r.shift(),o.rejectWith(t,r).promise()},c.fn.resolveWith=function(t,e,n){var o=l.Deferred(),r=c.fn.arg2arr(arguments);return r.shift(),o.resolveWith(t,r).promise()},c.fn.all=function(i){var s=l.Deferred(),a=[];return u.array(i)&&0<i.length?function(){for(var e=function(t,e){o||(a[t]=0===e.length?void 0:1===e.length?e[0]:e,--n||s.resolve(a))},n=i.length,o=!1,r=0,t=i.length;r<t;r++){if("break"===function(){if(o)return"break";var t=r;u.promise(i[t])?i[t].then(function(){e(t,c.fn.arg2arr(arguments))},function(){o||(o=!0,s.reject.apply(s,c.fn.arg2arr(arguments)))}):e(t,[i[t]])}())break}}():s.resolve(a),s.promise()},c.fn.allSettled=function(o){var i=l.Deferred(),s=[];return u.array(o)&&0<o.length?function(){for(var e=function(t,e,n){var o;s[t]={status:e},0<n.length&&(o="rejected"===e?"reason":"value",s[t][o]=1===n.length?n[0]:n),--r||i.resolve(s)},r=o.length,n=0,t=o.length;n<t;n++)!function(){var t=n;u.promise(o[t])?o[t].then(function(){e(t,"fulfilled",c.fn.arg2arr(arguments))},function(){e(t,"rejected",c.fn.arg2arr(arguments))}):e(t,"fulfilled",[o[t]])}()}():i.resolve(s),i.promise()})}(FooBar.utils.$,FooBar.utils,FooBar.utils.is),function(t,s){var i;"1.0.0"===t.version&&(t.url={},i=document.createElement("a"),t.url.parts=function(t){i.href=t;var e=i.port?i.port:-1!==["http:","https:"].indexOf(i.protocol)?"https:"===i.protocol?"443":"80":"",n=i.hostname+(e?":"+e:""),o=i.origin?i.origin:i.protocol+"//"+n,r="/"===i.pathname.slice(0,1)?i.pathname:"/"+i.pathname;return{hash:i.hash,host:n,hostname:i.hostname,href:i.href,origin:o,pathname:r,port:e,protocol:i.protocol,search:i.search}},t.url.full=function(t){return!s.string(t)||s.empty(t)?null:(i.href=t,i.href)},t.url.param=function(t,e,n){return s.string(t)&&s.string(e)&&!s.empty(e)?s.undef(n)?(r=((o=new RegExp("[?|&]"+e+"=([^&;]+?)(&|#|;|$)")).exec(t)||["",""])[1].replace(/\+/g,"%20"),s.string(r)&&!s.empty(r)?decode
1URIComponent(r):null):(s.empty(n)?(o=new RegExp("^([^#]*?)(([^#]*)&)?"+e+"(=[^&#]*)?(&|#|$)"),r=t.replace(o,"$1$3$5").replace(/^([^#]*)((\?)&|\?(#|$))/,"$1$3$4")):(o=new RegExp("([?&])"+e+"[^&]*"),i=e+"="+encodeURIComponent(n),(r=t.replace(o,"$1"+i))!==t||o.test(r)||(r+=(-1!==r.indexOf("?")?"&":"?")+i)),r):t;var o,r,i})}(FooBar.utils,FooBar.utils.is),function(a,l,c){"1.0.0"===a.version&&(a.str={},a.str.trim=function(t){return l.string(t)?t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""):null},a.str.camel=function(t){return l.string(t)?t.toUpperCase()===t?t.toLowerCase():t.replace(/^([A-Z])|[-\s_]+(\w)/g,function(t,e,n){return l.string(n)?n.toUpperCase():e.toLowerCase()}):t},a.str.kebab=function(t){return l.string(t)?t.match(/[A-Z]{2,}(?=[A-Z][a-z0-9]*|\b)|[A-Z]?[a-z0-9]*|[A-Z]|[0-9]+/g).filter(Boolean).map(function(t){return t.toLowerCase()}).join("-"):t},a.str.contains=function(t,e,n){return!(!l.string(t)||l.empty(t)||!l.string(e)||l.empty(e))&&(e.length<=t.length&&-1!==(n?t.toUpperCase().indexOf(e.toUpperCase()):t.indexOf(e)))},a.str.containsWord=function(t,e,n){if(!l.string(t)||l.empty(t)||!l.string(e)||l.empty(e)||t.length<e.length)return!1;for(var o=t.split(/\W/),r=0,i=o.length;r<i;r++)if(n?o[r].toUpperCase()===e.toUpperCase():o[r]===e)return!0;return!1},a.str.endsWith=function(t,e){return!(!l.string(t)||!l.string(e)||e.length>t.length)&&t.slice(t.length-e.length)===e},a.str.startsWith=function(t,e){return!l.empty(t)&&!l.empty(e)&&t.slice(0,e.length)===e},a.str.escapeRegExp=function(t){return l.string(t)?t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"):t},a.str.fnv1a=function(t){if(!l.string(t)||l.empty(t))return null;for(var e=2166136261,n=0,o=t.length;n<o;n++)e^=t.charCodeAt(n),e+=(e<<1)+(e<<4)+(e<<7)+(e<<8)+(e<<24);return e>>>0},a.str.from=function(t,e){return a.str.contains(t,e)?t.substring(t.indexOf(e)+e.length):null},a.str.join=function(t,e,n){if(!l.string(t)||!l.string(e))return null;var o=c.arg2arr(arguments);t=o.shift();for(var r=o.shift(),i=0,s=o.length;i<s;i++)e=o[i],l.empty(e)||(a.str.endsWith(r,t)&&(r=r.slice(0,r.length-t.length)),a.str.startsWith(e,t)&&(e=e.slice(t.length)),r+=t+e);return r},a.str.until=function(t,e){return a.str.contains(t,e)?t.substring(0,t.indexOf(e)):t},a.str.format=function(n,t,e){var o=c.arg2arr(arguments);return n=o.shift(),l.string(n)&&0<o.length&&(1===o.length&&(l.array(o[0])||l.object(o[0]))&&(o=o[0]),a.each(o,function(t,e){n=n.replace(new RegExp("\\{"+e+"\\}","gi"),t+"")})),n})}(FooBar.utils,FooBar.utils.is,FooBar.utils.fn),function(a,l,r,i){"1.0.0"===a.version&&(a.obj={},a.obj.create=function(t){if(!l.object(t))throw TypeError("Argument must be an object");function e(){}return e.prototype=t,new e},a.obj.extend=function(e,t,n){e=l.object(e)?e:{};var o=r.arg2arr(arguments);return o.shift(),a.each(o,function(t){a.obj.merge(e,t)}),e},a.obj.merge=function(t,e){for(var n in t=l.hash(t)?t:{},e=l.hash(e)?e:{})e.hasOwnProperty(n)&&(l.hash(e[n])?(t[n]=l.hash(t[n])?t[n]:{},a.obj.merge(t[n],e[n])):l.array(e[n])?t[n]=e[n].slice():t[n]=e[n]);return t},a.obj.mergeValid=function(e,n,o,t){if(!l.hash(o)||!l.hash(n))return e;var r,i,s;for(r in n=l.hash(n)?n:{},t=l.hash(t)?t:{},n)n.hasOwnProperty(r)&&l.fn(n[r])&&(i=l.array(t[r])?t[r]:l.string(t[r])?[t[r]]:[r],a.each(i,function(t){if(s=a.obj.prop(o,t),!l.undef(s))return n[r](s)?(a.obj.prop(e,r,s),!1):void 0}));return e},a.obj.prop=function(n,t,o){var e,r;if(l.object(n)&&!l.empty(t))return l.undef(o)?(i.contains(t,".")?(e=t.split("."),r=e.length-1,a.each(e,function(t,e){if(e===r)o=n[t];else{if(!l.hash(n[t]))return!1;n=n[t]}})):l.undef(n[t])||(o=n[t]),o):void(i.contains(t,".")?(e=t.split("."),r=e.length-1,a.each(e,function(t,e){e===r?n[t]=o:n=l.hash(n[t])?n[t]:n[t]={}})):l.undef(n[t])||(n[t]=o))})}((FooBar.utils.$,FooBar.utils),FooBar.utils.is,FooBar.utils.fn,FooBar.utils.str),function(e,r,s){"1.0.0"===r.version&&(r.ready=function(t){function e(){try{t.call(window,r.$)}catch(t){console.error(t)}}(Function("/*@cc_on return true@*/")()?"complete"===document.readyState:"loading"!==document.readyState)?e():document.addEventListener("DOMContentLoaded",e,!1)},r.find=function(t,e,n){if(s.fn(e))if(n=s.undef(n)?e:n,s.array(t)){for(r=0,i=t.length;r<i;r++)if(e.call(n,t[r],r,t))return t[r]}else if(s.object(t))for(var o=Object.keys(t),r=0,i=o.length;r<i;r++)if(e.call(n,t[o[r]],o[r],t))return t[o[r]]},r.each=function(t,e,n){if(s.fn(e))if(n=s.undef(n)?e:n,s.array(t))for(r=0,i=t.length;r<i&&!1!==e.call(n,t[r],r,t);r++);else if(s.object(t))for(var o=Object.keys(t),r=0,i=o.length;r<i&&!1!==e.call(n,t[o[r]],o[r],t);r++);},r.inArray=function(t,e){return s.array(e)?e.indexOf(t):-1},r.selectify=function(t){if(s.empty(t))return null;if(s.hash(t)){var e,n={};for(var o in t)t.hasOwnProperty(o)&&(e=r.selectify(t[o]))&&(n[o]=e);return n}return s.string(t)||s.array(t)?(s.string(t)&&(t=[t]),t.map(function(t){return s.string(t)?"."+t.split(/\s/g).join("."):null}).join(",")):null},r.requestFrame=(window.requestAnimationFrame||window.webkitRequestAnimationFrame||function(t){return setTimeout(t,1e3/60)}).bind(window),r.cancelFrame=(window.cancelAnimationFrame||window.webkitCancelAnimationFrame||function(t){clearTimeout(t)}).bind(window),r.nextFrame=function(t,n){return e.Deferred(function(e){s.fn(t)?(n=s.undef(n)?t:n,r.requestFrame(function(){try{e.resolve(t.call(n))}catch(t){e.reject(t)}})):e.reject(new Error("Provided callback is not a function."))}).promise()})}(FooBar.utils.$,FooBar.utils,FooBar.utils.is),function(r,i,s,a){"1.0.0"===r.version&&(r.Class=function(){},r.Class.extend=function(t){t=i.hash(t)?t:{};var e=s.create(this.prototype);for(var n in t)t.hasOwnProperty(n)&&a.addOrOverride(e,n,t[n]);function o(){if(!i.fn(this.construct))throw new SyntaxError('FooBar.utils.Class objects must be constructed with the "new" keyword.');this.construct.apply(this,arguments)}return e.construct=i.fn(e.construct)?e.construct:function(){},(o.prototype=e).constructor=i.fn(e.__ctor__)?e.__ctor__:o,o.extend=r.Class.extend,o.override=r.Class.override,o.getBaseClasses=r.Class.getBaseClasses,o.__baseClass__=this,o},r.Class.override=function(t,e){a.addOrOverride(this.prototype,t,e)},r.Class.__baseClass__=null,r.Class.getBaseClasses=function(){return function t(e,n){return i.array(n)||(n=[]),i.fn(e)&&null!==e.__baseClass__?(n.unshift(e.__baseClass__),t(e.__baseClass__,n)):n}(this,[])})}((FooBar.utils.$,FooBar.utils),FooBar.utils.is,FooBar.utils.obj,FooBar.utils.fn),function(t,a,l,r){t.ClassRegistry=t.Class.extend({construct:function(t){this.opt=r.extend({allowBase:!0,beforeCreate:null},t),this.registered={}},register:function(t,e,n,o){if(a.string(t)&&!a.empty(t)&&a.fn(e)){o=a.number(o)?o:0;var r=this.registered[t];return this.registered[t]={name:t,ctor:e,config:a.hash(n)?n:{},priority:a.undef(r)?o:r.priority},!0}return!1},each:function(t,e,n){e=!!a.boolean(e)&&e,n=a.undef(n)?t:n;var o=this,r=Object.keys(o.registered).map(function(t){return o.registered[t]});
1e&&r.sort(function(t,e){return e.priority-t.priority});for(var i=0,s=r.length;i<s;i++){if(!1===t.call(n,r[i],i))break}},find:function(t,e,n){e=!!a.boolean(e)&&e,n=a.undef(n)?t:n;var o=this,r=Object.keys(o.registered).map(function(t){return o.registered[t]});e&&r.sort(function(t,e){return e.priority-t.priority});for(var i=0,s=r.length;i<s;i++)if(t.call(n,r[i],i))return r[i];return null},create:function(t,e,n){var o=this,r=l.arg2arr(arguments);if(t=r.shift(),a.string(t)&&o.registered.hasOwnProperty(t)){var i=o.registered[t],s=!0;if(i.priority<0&&!o.opt.allowBase&&(s=!1),s&&a.fn(i.ctor))return e=r.shift(),e=o.mergeConfigurations(i.name,e),r.unshift.apply(r,[i.name,e]),l.apply(i.ctor,o.onBeforeCreate(i,r))}return null},onBeforeCreate:function(t,e){return null!==this.opt.beforeCreate&&a.fn(this.opt.beforeCreate)?this.opt.beforeCreate.call(this,t,e):e},mergeConfigurations:function(t,e){if(a.string(t)&&this.registered.hasOwnProperty(t)){e=a.hash(e)?e:{};var n=this.getBaseClasses(t),o=[{}];return n.push(this.registered[t]),n.forEach(function(t){o.push(t.config)}),o.push(e),r.extend.apply(r,o)}return{}},getBaseClass:function(){return this.find(function(t){return t.priority<0},!0)},getBaseClasses:function(t){var n=this,e=n.registered[t],o=[];return a.undef(e)||e.ctor.getBaseClasses().forEach(function(t){var e=n.fromType(t);a.hash(e)&&o.push(e)}),o},fromType:function(e){if(a.fn(e))return this.find(function(t){return t.ctor===e})}})}((FooBar.utils.$,FooBar.utils),FooBar.utils.is,FooBar.utils.fn,FooBar.utils.obj),function(s,a,n){"1.0.0"===s.version&&(s.Event=s.Class.extend({construct:function(t){if(a.empty(t))throw new SyntaxError("FooBar.utils.Event objects must be supplied a `type`.");var e=s.Event.parse(t);this.type=e.type,this.namespace=e.namespace,this.defaultPrevented=!1,this.target=null},preventDefault:function(){this.defaultPrevented=!0},isDefaultPrevented:function(){return this.defaultPrevented}}),s.Event.parse=function(t){t=a.string(t)&&!a.empty(t)?t:null;var e=n.contains(t,".");return{namespaced:e,type:e?n.startsWith(t,".")?null:n.until(t,"."):t,namespace:e?n.from(t,"."):null}},s.EventClass=s.Class.extend({construct:function(){this.events={}},destroy:function(){this.events={}},on:function(n,e,o){var r=this;return a.object(n)?(o=e,Object.keys(n).forEach(function(e){a.fn(n[e])&&e.split(" ").forEach(function(t){r.addListener(t,n[e],o)})})):a.string(n)&&a.fn(e)&&n.split(" ").forEach(function(t){r.addListener(t,e,o)}),r},addListener:function(t,e,n){if(!a.string(t)||/\s/.test(t)||!a.fn(e))return!1;var o=this,r=s.Event.parse(t);return n=a.undef(n)?o:n,a.array(o.events[r.type])||(o.events[r.type]=[]),!o.events[r.type].some(function(t){return t.namespace===r.namespace&&t.fn===e&&t.thisArg===n})&&(o.events[r.type].push({namespace:r.namespace,fn:e,thisArg:n}),!0)},off:function(n,e,o){var r=this;return a.object(n)?(o=e,Object.keys(n).forEach(function(e){e.split(" ").forEach(function(t){r.removeListener(t,n[e],o)})})):a.string(n)&&n.split(" ").forEach(function(t){r.removeListener(t,e,o)}),r},removeListener:function(t,e,n){if(!a.string(t)||/\s/.test(t))return!1;var o=this,r=s.Event.parse(t),i=[];return n=a.undef(n)?o:n,a.empty(r.type)?a.empty(r.namespace)||i.push.apply(i,Object.keys(o.events)):i.push(r.type),i.forEach(function(t){a.array(o.events[t])&&(o.events[t]=o.events[t].filter(function(t){return null!=e?!(t.namespace===r.namespace&&t.fn===e&&t.thisArg===n):null!=r.namespace&&t.namespace!==r.namespace}),0===o.events[t].length&&delete o.events[t])}),!0},trigger:function(t,n){n=a.array(n)?n:[];var o=this,r=[];return t instanceof s.Event?(r.push(t),o.emit(t,n)):a.string(t)&&t.split(" ").forEach(function(t){var e=new s.Event(t);r.push(e),o.emit(e,n)}),a.empty(r)?null:1===r.length?r[0]:r},emit:function(e,n){var t;e instanceof FooBar.utils.Event&&(t=this,n=a.array(n)?n:[],null===e.target&&(e.target=t),a.array(t.events[e.type])&&t.events[e.type].forEach(function(t){null!=e.namespace&&t.namespace!==e.namespace||t.fn.apply(t.thisArg,[e].concat(n))}),a.array(t.events.__all__)&&t.events.__all__.forEach(function(t){t.fn.apply(t.thisArg,[e].concat(n))}))}}))}(FooBar.utils,FooBar.utils.is,FooBar.utils.str),function(t,o,e){"1.0.0"===t.version&&(t.Timer=t.EventClass.extend({construct:function(t){var e=this;
1e._super(),e.interval=o.number(t)?t:1e3,e.isRunning=!1,e.isPaused=!1,e.canResume=!1,e.canRestart=!1,e.__timeout=null,e.__decrement=!1,e.__time=0,e.__remaining=0,e.__current=0,e.__finish=0,e.__restart=[]},__reset:function(){var t=this;clearTimeout(t.__timeout),t.__timeout=null,t.__decrement=!1,t.__time=0,t.__remaining=0,t.__current=0,t.__finish=0,t.isRunning=!1,t.isPaused=!1,t.canResume=!1},__eventArgs:function(t){return[this.__current,this.__time,this.__decrement].concat(e.arg2arr(arguments))},__tick:function(){var t=this;t.trigger("tick",t.__eventArgs()),t.__current===t.__finish?(t.trigger("complete",t.__eventArgs()),t.__reset()):(t.__decrement?t.__current--:t.__current++,t.__remaining--,t.canResume=0<t.__remaining,t.__timeout=setTimeout(function(){t.__tick()},t.interval))},start:function(t,e){var n=this;n.isRunning||(e=!!o.boolean(e)&&e,n.__restart=[t,e],n.__decrement=e,n.__time=t,n.__remaining=t,n.__current=e?t:0,n.__finish=e?0:t,n.canRestart=!0,n.isRunning=!0,n.isPaused=!1,n.trigger("start",n.__eventArgs()),n.__tick())},countdown:function(t){this.start(t,!0)},countup:function(t){this.start(t,!1)},restart:function(){var t=this;t.stop(),t.canRestart&&t.start.apply(t,t.__restart)},stop:function(){var t=this;(t.isRunning||t.isPaused)&&(t.__reset(),t.trigger("stop",t.__eventArgs()))},pause:function(){var t=this;return null!=t.__timeout&&(clearTimeout(t.__timeout),t.__timeout=null),t.isRunning&&(t.isRunning=!1,t.isPaused=!0,t.trigger("pause",t.__eventArgs())),t.__remaining},resume:function(){var t=this;t.canResume&&(t.isRunning=!0,t.isPaused=!1,t.trigger("resume",t.__eventArgs()),t.__tick())},reset:function(){this.__reset(),this.trigger("reset",this.__eventArgs())}}))}((FooBar.utils.$,FooBar.utils),FooBar.utils.is,FooBar.utils.fn,FooBar.utils.obj),function(i,t,n){"1.0.0"===t.version&&(t.FullscreenAPI=t.EventClass.extend({construct:function(){this._super(),this.apis={w3:{enabled:"fullscreenEnabled",element:"fullscreenElement",request:"requestFullscreen",exit:"exitFullscreen",events:{change:"fullscreenchange",error:"fullscreenerror"}},webkit:{enabled:"webkitFullscreenEnabled",element:"webkitCurrentFullScreenElement",request:"webkitRequestFullscreen",exit:"webkitExitFullscreen",events:{change:"webkitfullscreenchange",error:"webkitfullscreenerror"}},moz:{enabled:"mozFullScreenEnabled",element:"mozFullScreenElement",request:"mozRequestFullScreen",exit:"mozCancelFullScreen",events:{change:"mozfullscreenchange",error:"mozfullscreenerror"}},ms:{enabled:"msFullscreenEnabled",element:"msFullscreenElement",request:"msRequestFullscreen",exit:"msExitFullscreen",events:{change:"MSFullscreenChange",error:"MSFullscreenError"}}},this.api=this.getAPI(),this.supported=null!=this.api,this.__listen()},destroy:function(){return this.__stopListening(),this._super()},getAPI:function(){for(var t in this.apis)if(this.apis.hasOwnProperty(t)&&this.apis[t].enabled in document)return this.apis[t];return null},element:function(){return this.supported?document[this.api.element]:null},request:function(t){if(this.supported&&t[this.api.request]){var e=t[this.api.request]();return e||i.Deferred(this.__resolver(this.api.request)).promise()}return n.rejected},exit:function(){if(this.supported&&this.element()){var t=document[this.api.exit]();return t||i.Deferred(this.__resolver(this.api.exit)).promise()}return n.rejected},toggle:function(t){return this.element()?this.exit():this.request(t)},__listen:function(){var t=this;t.supported&&i(document).on(t.api.events.change+".utils",function(){t.trigger("change")}).on(t.api.events.error+".utils",function(){t.trigger("error")})},__stopListening:function(){this.supported&&i(document).off(this.api.events.change+".utils").off(this.api.events.error+".utils")},__resolver:function(o){var r=this;return function(t){function e(){t.resolve(),i(document).off(r.api.events.change,e).off(r.api.events.error,n)}function n(){t.reject(new TypeError),i(document).off(r.api.events.change,e).off(r.api.events.error,n)}o===r.api.exit&&r.element()?setTimeout(function(){t.reject(new TypeError)},1):i(document).on(r.api.events.change,e).on(r.api.events.error,n)}}}))}(FooBar.utils.$,FooBar.utils,FooBar.utils.fn),function(l,c,u,a){"1.0.0"===c.version&&(c.transition={},c.transition.dataName="__foo-transition__",c.transition.disableClassName=null,c.transition.timeout=3e3,c.transition.disable=function(t,e){var n,o,r,i=u.jq(t)?t:l(t);0<i.length&&u.fn(e)&&(n=i.get(0),r=null,(o=u.string(c.transition.disableClassName))?i.addClass(c.transition.disableClassName):(r={value:n.style.getPropertyValue("transition"),priority:n.style.getPropertyPriority("transition")},n.style.setProperty("transition","none","important")),e.call(e,i),i.prop("offsetWidth"),o?i.removeClass(c.transition.disableClassName):(n.style.removeProperty("transition"),u.string(r.value)&&0<r.value.length&&n.style.setProperty("transition",r.value,r.priority)))},c.transition.stop=function(t){var e,n=l.Deferred(),o=u.jq(t)?t:l(t);return 0<o.length?(e=o.data(c.transition.dataName),u.promise(e)?e.always(function(){c.requestFrame(function(){n.resolve(o)})}).reject(new Error("Transition cancelled.")):n.resolve(o)):n.reject(new Error("Unable to stop transition. Make sure the element exists.")),n.promise()},c.transition.createListener=function(t,e,n){var o=t,r=e,i=n,s=u.string(n);return function(t){var e=t.originalEvent instanceof TransitionEvent?t.originalEvent:t,n=!1;e.target===o&&(n=!s||e.propertyName===i),n&&r.apply(r,a.arg2arr(arguments))}},c.transition.start=function(t,n,o,r){var i,s=l.Deferred(),a=u.jq(t)?t:l(t);return 0<a.length&&u.fn(n)?(i=a.get(0),c.transition.stop(a).always(function(){var e=c.transition.createListener(i,function(){s.resolve(a)},o);a.data(c.transition.dataName,s).on("transitionend.foo-utils",e).prop("offsetWidth"),c.requestFrame(function(){var t=setTimeout(function(){s.reject(new Error("Transition safety timeout triggered."))},u.number(r)?r:c.transition.timeout);s.always(function(){clearTimeout(t),a.removeData(c.transition.dataName).off("transitionend.foo-utils",e)}),n.call(n,a)})})):s.reject(new Error("Unable to perform transition. Make sure the element exists and a trigger function is supplied.")),s.promise()},c.transition.modify=function(t,e,n,o){var r=u.jq(t)?t:l(t);return 0<r.length&&u.fn(e)?n?(c.transition.disable(r,e),a.resolve()):c.transition.start(r,e,o):a.reject(new Error("Unable to perform modification. Make sure the element exists and a modify function is supplied."))})}(FooBar.utils.$,FooBar.utils,FooBar.utils.is,FooBar.utils.fn),function(t,r,i,s){i.expose=function(e,n,t,o){r.object(e)&&r.object(n)&&r.array(t)&&(o=r.undef(o)?e:o,t.forEach(function(t){r.string(t)&&r.fn(e[t])&&(n[t]=e[t].bind(o))}))},s.disable=function(t,e,n){r.jq(t)&&r.fn(e)&&(n=r.undef(n)?e:n,t.addClass("fbr-transitions-disabled"),e.call(n,t),t.prop("offsetHeight"),t.removeClass("fbr-transitions-disabled"))},s.modify=function(t,e,n,o){return n?(s.disable(t,e),i.resolved):s.start(t,e,!1,o)},i.whenAll=function(t){return i.allSettled(t).then(function(t){return t.reduce(function(t,e){return"fulfilled"===e.status&&t.push(e.value),t},[])})},t.getResizeObserverSize=function(t){var e,n=t.contentBoxSize?t.contentBoxSize[0]?(e=t.contentBoxSize[0].inlineSize,t.contentBoxSize[0].blockSize):(e=t.contentBoxSize.inlineSize,t.contentBoxSize.blockSize):(e=t.contentRect.width,t.contentRect.height);return{width:e,height:n}}}((FooBar.$,FooBar,FooBar.utils),FooBar.utils.is,FooBar.utils.fn,(FooBar.utils.str,FooBar.utils.obj,FooBar.utils.transition)),function(i,s,a,n,l){s.Component=s.EventClass.extend({construct:function(t,e,n,o){var r=this;if(r._super(),r.name=t,!a.string(r.name))throw"Invalid argument `name`.";if(r.$el=a.jq(e)?e:i(e),0===r.$el.length)throw"Invalid argument `element`.";r.el=r.$el.get(0),r.parent=o instanceof s.Component?o:null,r.raw=a.hash(n)?n:{},r.opt=l.extend({domEvents:!1,bubbleEvents:!0},r.raw.options),r.i18n=a.hash(r.raw.i18n)?r.raw.i18n:{},r.cls=a.hash(r.raw.classes)?r.raw.classes:{},r.sel=a.hash(r.raw.classes)?s.selectify(r.raw.classes):{},r.__initialize=null,r.isInitializing=!1,r.isInitialized=!1,r.isDestroying=!1,r.isDestroyed=!1},configure:function(t){var e;a.hash(t)&&(e=this,l.merge(e.raw,t),a.hash(t.options)&&l.merge(e.opt,t.options),a.hash(t.i18n)&&l.merge(e.i18n,t.i18n),a.hash(t.classes)&&
1(l.merge(e.cls,t.classes),e.sel=s.selectify(e.cls)),e.trigger("configure",[t]))},init:function(){var e=this;return a.promise(e.__initialize)?e.__initialize:(e.isInitializing=!0,e.trigger("initializing"),e.__initialize=n.resolved.then(function(){return e.trigger("before-setup"),e.beforeSetup()}).then(function(){return e.trigger("setup"),e.setup()}).then(function(){return e.trigger("after-setup"),e.afterSetup()}).then(function(){e.isInitializing=!1,e.isInitialized=!0,e.trigger("initialized")},function(){e.isInitializing=!1,e.isInitialized=!1;var t=n.arg2arr(arguments);return e.trigger("setup-error",t),n.rejectWith.apply(null,t)}))},beforeSetup:function(){},setup:function(){},afterSetup:function(){},destroy:function(){var t=this;t.isDestroying=!0,t.trigger("destroying"),t.trigger("before-teardown"),t.beforeTeardown(),t.trigger("teardown"),t.teardown(),t.trigger("after-teardown"),t.afterTeardown(),t.__initialize=null,t.isInitialized=!1,t.isDestroying=!1,t.isDestroyed=!0,t.trigger("destroyed"),t._super()},beforeTeardown:function(){},teardown:function(){},afterTeardown:function(){},emit:function(t,e){var n,o,r=this;t instanceof s.Event&&((!(n=null!==t.target&&t.target!==r)||n&&r.opt.bubbleEvents)&&(r._super(t,e),r.opt.domEvents&&(o=t.type,a.string(t.namespace)&&(o+="."+t.namespace),r.$el.trigger(o,e))),r.opt.bubbleEvents&&r.parent instanceof s.Component&&r.parent.emit(t,e))}})}(FooBar.utils.$,FooBar.utils,FooBar.utils.is,FooBar.utils.fn,FooBar.utils.obj,FooBar.utils.str),function(c,u,f,h,s){u.ComponentRegistry=u.Class.extend({construct:function(t){this.opt=s.extend({allowBase:!0},t),this.registered={}},each:function(t,e,n){e=!!f.boolean(e)&&e;var o=this,r=Object.keys(o.registered).map(function(t){return o.registered[t]});e&&r.sort(function(t,e){return e.priority-t.priority});for(var i=0,s=r.length;i<s;i++){if(!1===t.call(n,r[i]))break}},find:function(t,e,n){e=!!f.boolean(e)&&e;var o=this,r=Object.keys(o.registered).map(function(t){return o.registered[t]});e&&r.sort(function(t,e){return e.priority-t.priority});for(var i=0,s=r.length;i<s;i++)if(t.call(n,r[i]))return r[i];return null},register:function(t,e,n,o,r){if(f.string(t)&&!f.empty(t)&&f.fn(e)&&f.string(n)){r=f.number(r)?r:0;var i=this.registered[t];return this.registered[t]={name:t,ctor:e,selector:n,config:f.hash(o)?o:{},priority:f.undef(i)?r:i.priority},!0}return!1},create:function(t,e,n,o){var r=h.arg2arr(arguments);t=r.shift();var i=this.fromElement(t);if(null!==i){var s=!0;if(i.priority<0&&!this.opt.allowBase&&(s=!1),s&&f.fn(i.ctor))return e=r.shift(),n=r.shift(),e=this.mergeConfigurations(i.name,e,t,n),r.unshift.apply(r,[i.name,t,e,n]),h.apply(i.ctor,r)}return null},createAll:function(t,e,n,o){var r,i,s=this,a=h.arg2arr(arguments),l=[];return t=a.shift(),0<(t=f.jq(t)?t:c(t)).length&&(r=[],null!==(i=s.getBaseComponent())?r.push(i.selector):s.each(function(t){r.push(t.selector)},!0),t.find(r.join(",")).each(function(t,e){var n=a.slice();n.unshift(e);var o=s.create.apply(s,n);o instanceof u.Component&&l.push(o)})),l},mergeConfigurations:function(t,e,n,o){if(f.string(t)&&this.registered.hasOwnProperty(t)){e=f.hash(e)?e:{},n=f.jq(n)?n:c(n),o instanceof u.Component&&f.hash(o.raw[t])&&(e=s.extend({},e,o.raw[t])),0<n.length&&(e=s.extend({},e,n.data()));var r=this.getBaseComponents(t),i=[{}];return r.push(this.registered[t]),r.forEach(function(t){i.push(t.config)}),i.push(e),s.extend.apply(s,i)}return{}},getBaseComponent:function(){return this.find(function(t){return t.priority<0},!0)},getBaseComponents:function(t){var n=this,e=n.registered[t],o=[];return f.undef(e)||e.ctor.getBaseClasses().forEach(function(t){var e=n.fromType(t);f.hash(e)&&o.push(e)}),o},fromType:function(e){if(f.fn(e))return this.find(function(t){return t.ctor===e})},fromElement:function(e){if(0!==(e=f.jq(e)?e:c(e)).length)return this.find(function(t){return e.is(t.selector)},!0)}})}(FooBar.utils.$,FooBar.utils,FooBar.utils.is,FooBar.utils.fn,FooBar.utils.obj),function(s,n,e){s.ParentComponent=s.Component.extend({construct:function(t,e,n,o,r){this._super(t,e,n,o);var i=(this.childRegistry=r).getBaseComponent();this.childComponentBase=null!==i?i.ctor:s.Component,this.children=[]},beforeSetup:function(){var t=this.createChildren().map(function(t){return t.init().fail(function(){t.destroy()})});return e.whenAll(t)}
1,afterTeardown:function(){this.children.slice().forEach(function(t){t.destroy()})},registryCreate:function(t){return this.childRegistry.create(t,this.raw.defaults,this)},registryCreateAll:function(){return this.childRegistry.createAll(this.$el,this.raw.defaults,this)},findChild:function(t){return s.find(this.children,t)},createChild:function(e){var t=this,n=t.$el.find(e);if(0<n.length){e=n.get(0);var o=t.findChild(function(t){return t.el===e});if(o instanceof t.childComponentBase&&o.destroy(),(o=t.registryCreate(n))instanceof t.childComponentBase)return o.on({initializing:t.onChildInitializing,destroyed:t.onChildDestroyed},t),o}return null},createChildren:function(){var e=this;n.array(e.children)&&e.children.slice().forEach(function(t){t.destroy()});var t=e.registryCreateAll();return t.forEach(function(t){t.on({initializing:e.onChildInitializing,destroyed:e.onChildDestroyed},e)}),t},onChildInitializing:function(t){t.target instanceof this.childComponentBase&&-1===this.children.indexOf(t.target)&&this.children.push(t.target)},onChildDestroyed:function(t){var e,n=this;t.target instanceof n.childComponentBase&&(t.target.off({initializing:n.onChildInitializing,destroyed:n.onChildDestroyed},n),-1!==(e=n.children.indexOf(t.target))&&n.children.splice(e,1))}})}((FooBar.utils.$,FooBar.utils),FooBar.utils.is,FooBar.utils.fn,FooBar.utils.obj),function(r,s,a){r.ObservedParentComponent=r.ParentComponent.extend({construct:function(t,e,n,o,r){var i=this;i._super(t,e,n,o,r),i.opt=a.merge({observeThrottle:1e3/60},i.opt),i.rObserver=new ResizeObserver(s.throttle(i.onResizeObserved.bind(i),i.opt.observeThrottle)),i.mObserver=new MutationObserver(s.throttle(i.onMutationObserved.bind(i),i.opt.observeThrottle)),i.isObserved=!1,i._ignoreId=null,i._ignoreResize=!1,i._ignoreMutation=!1},beforeTeardown:function(){this.unobserve(),this._super()},observe:function(t){var e=this;e.isInitialized&&e.el instanceof Node&&!e.isObserved&&(t&&(e._ignoreResize=!0,e._ignoreMutation=!0),e.rObserver.observe(e.el),e.mObserver.observe(e.el,{attributes:!0,attributeFilter:["class"]}),clearTimeout(e._ignoreId),e._ignoreId=setTimeout(function(){e._ignoreResize=!1,e._ignoreMutation=!1},100),e.isObserved=!0)},unobserve:function(){var t=this;t.isInitialized&&t.el instanceof Node&&t.isObserved&&(clearTimeout(t._ignoreId),t.rObserver.disconnect(),t.mObserver.disconnect(),t.isObserved=!1)},onSizeChange:function(){},onClassChange:function(){},onResizeObserved:function(t){var n,o=this;o._ignoreResize?o._ignoreResize=!1:(n=!1,t.forEach(function(t){var e;n||t.target.id!==o.el.id||(n=!0,e=r.getResizeObserverSize(t),o.onSizeChange(e))}))},onMutationObserved:function(t){var e,n=this;n._ignoreMutation?n._ignoreMutation=!1:(e=!1,t.forEach(function(t){e||t.target.id!==n.el.id||(e=!0,n.onClassChange())}))}})}((FooBar.utils.$,FooBar.utils),FooBar.utils.fn,FooBar.utils.obj),function(t,r,e){t.SVGSplitter=t.Class.extend({construct:function(t){this.opt=e.extend({xmlns:"http://www.w3.org/2000/svg",ignore:[],filterRegex:/^(?:url\(["']?)(#.*?)(?:["']?\))/},t)},getAttributeNames:function(t){return t instanceof Element?t.getAttributeNames?t.getAttributeNames():Array.prototype.slice.call(t.attributes).map(function(t){return t.name}):[]},copyAttributes:function(e,n,o){e instanceof Element&&n instanceof Element&&(o=r.array(o)?o:[],this.getAttributeNames(e).forEach(function(t){-1===o.indexOf(t)&&n.setAttribute(t,e.getAttribute(t))}))},getHref:function(t){if(t instanceof SVGElement){if(t.hasAttribute("href"))return t.getAttribute("href");if(t.hasAttribute("xlink:href"))return t.getAttribute("xlink:href")}return null},getUseDef:function(t){if(t instanceof SVGUseElement){var e=this.getHref(t);if(r.string(e)){var n=t.ownerSVGElement.querySelector(e);if(n instanceof Element)return n.cloneNode(!0)}}return null},getFilterDef:function(t){if(t instanceof SVGElement){var e=t.getAttribute("filter");if(r.string(e)){var n=e.match(this.opt.filterRegex);if(null!==n&&2===n.length){var o=t.ownerSVGElement.querySelector(n[1]);if(o instanceof SVGFilterElement)return o.cloneNode(!0)}}}return null},getDefs:function(t){var e=[];
1if(t instanceof SVGSymbolElement){for(var n=t.querySelectorAll("use"),o=0,r=n.length;o<r;o++){var i=this.getUseDef(n[o]);i instanceof Node&&-1===e.indexOf(i)&&e.push(i)}for(var s=t.querySelectorAll("[filter]"),a=0,l=s.length;a<l;a++){var c=this.getFilterDef(s[a]);c instanceof Node&&-1===e.indexOf(c)&&e.unshift(c)}}return e},createSVGElement:function(t){var e=this;if(t instanceof SVGSymbolElement){var n=document.createElementNS(e.opt.xmlns,"svg");e.copyAttributes(t.ownerSVGElement,n,e.opt.ignore),e.copyAttributes(t,n,e.opt.ignore);for(var o,r=t.childNodes.length,i=0;i<r;i++)1===(o=t.childNodes[i]).nodeType&&n.appendChild(o.cloneNode(!0));var s,a=e.getDefs(t);return 0<a.length&&(null===(s=n.querySelector("defs"))&&(s=document.createElementNS(e.opt.xmlns,"defs"),n.insertBefore(s,n.firstChild)),a.forEach(function(t){s.appendChild(t)})),n}return null},parse:function(t){var e={};if(t instanceof SVGSVGElement)for(var n,o=t.querySelectorAll("symbol[id]"),r=0,i=o.length;r<i;r++){""!==o[r].id&&((n=this.createSVGElement(o[r]))instanceof SVGSVGElement&&(e[o[r].id]=n))}return e}})}((FooBar.utils.$,FooBar.utils),FooBar.utils.is,FooBar.utils.obj),function(i,e,a,s){e.SVGRegistry=e.Class.extend({construct:function(t){this.opt=s.extend({id:null,iconClass:"",splitter:{ignore:["id","class"]}},t),this.registered={defaults:{}},this.splitter=new e.SVGSplitter(this.opt.splitter)},init:function(){var o=this;a.string(o.opt.id)&&0<o.opt.id.length&&i("svg[id|='"+o.opt.id+"']").each(function(t,e){var n;e.id===o.opt.id?o.register("defaults",e):e.id.length>o.opt.id.length&&(n=e.id.splice(0,o.opt.id.length+1),o.register(n,e))})},register:function(t,e){if(a.string(t)){var n=i(e);if(1===n.length&&n.is("svg")){var o=this.splitter.parse(n.get(0)),r=this.registered[t];return this.registered[t]=s.extend({},this.registered.defaults,r,o),!0}}return!1},exists:function(t,e){if(a.string(t)){var n=a.string(e)&&this.registered.hasOwnProperty(e)?this.registered[e]:null;return null!==n&&n.hasOwnProperty(t)||(n=this.registered.defaults),n[t]instanceof SVGSVGElement}return!1},get:function(t,e,n){var o=this;if(a.string(t)){var r=a.string(e)&&o.registered.hasOwnProperty(e)?o.registered[e]:null;if(null!==r&&r.hasOwnProperty(t)||(r=o.registered.defaults),r[t]instanceof Element){var i=[o.opt.iconClass,o.opt.iconClass+"-"+t];a.array(n)&&n.forEach(function(t){a.string(t)&&-1===i.indexOf(t)&&i.push(t)});var s=r[t].cloneNode(!0);return s.setAttribute("class",i.join(" ")),s}}return null},all:function(e,n){var o=this,r={},t=a.string(e)&&o.registered.hasOwnProperty(e)?o.registered[e]:o.registered.defaults;return Object.keys(t).forEach(function(t){r[t]=o.get(t,e,n)}),r}})}(FooBar.utils.$,FooBar.utils,FooBar.utils.is,FooBar.utils.obj,FooBar.utils.str),function(a,l,s,o,e){a.ToggleRuleRegistry=l.ClassRegistry.extend({construct:function(t){this._super(e.merge({allowBase:!1},t))},prioritize:function(t){var e=this,n=Object.keys(e.registered).map(function(t){return e.registered[t]});n.sort(function(t,e){return e.priority-t.priority});var o=t.reduce(function(t,e){return s.hash(e)&&s.string(e.name)&&(t[e.name]=e),t},{}),r=[];return n.forEach(function(t){o.hasOwnProperty(t.name)&&r.push(o[t.name])}),r},fromOption:function(t,e){var r=this,i=o.arg2arr(arguments);t=i.shift();var n=s.hash(t)?[t]:s.array(t)?t:[];return r.prioritize(n).reduce(function(t,e){var n=i.slice();n.unshift(e),n.unshift(e.name);var o=r.create.apply(r,n);return null!==o&&t.push(o),t},[])},beforeInitialized:function(t,e){if(s.array(t)&&s.array(e)){var n=e.concat(t).filter(function(t){return!t.cfg.allowTransition}).map(function(t){var e=t.init();return s.promise(e)?e.fail(function(){t.destroy()}):null});return o.whenAll(n)}return o.resolved},afterInitialized:function(t,e){if(s.array(t)&&s.array(e)){var n=e.concat(t).filter(function(t){return t.cfg.allowTransition}).map(function(t){var e=t.init();return s.promise(e)?e.fail(function(){t.destroy()}):null});return o.whenAll(n)}return o.resolved},teardownRules:function(t,e){s.array(t)&&s.array(e)&&t.concat(e).forEach(function(t){t.destroy()})},setOpenRulesState:function(t,e,n){if(null===e||-1===["open","closed"].indexOf(e))return n;var o,r=l.find(n,function(t){return"immediate"===t.name}),i=l.find(n,function(t){return"transition"===t.name});if("open"===e){if(r instanceof a.ToggleRule||i instanceof a.ToggleRule)return n;var s=this.create("immediate",{},t,"open");s instanceof a.ToggleRule&&n.unshift(s)}else{"closed"===e&&(o=-1,r instanceof a.ToggleRule&&-1!==(o=n.indexOf(r))&&n.splice(o,1),i instanceof a.ToggleRule&&-1!==(o=n.indexOf(i))&&n.splice(o,1))}return n},setCloseRulesState:function(t,e,n){var o=l.find(n,function(t){return"immediate"===t.name}),r=l.find(n,function(t){return"transition"===t.name});if("open"===e){var i=-1;o instanceof a.ToggleRule&&-1!==(i=n.indexOf(o))&&n.splice(i,1),r instanceof a.ToggleRule&&-1!==(i=n.indexOf(r))&&n.splice(i,1)}else if("closed"===e||null===e&&0===t.openRules.length){if(o instanceof a.ToggleRule||r instanceof a.ToggleRule)return n;var s=this.create("immediate",{},t,"close");s instanceof a.ToggleRule&&n.unshift(s)}return n},hasImmediate:function(t){return!!l.find(t,function(t){return"immediate"===t.name})},hasTransition:function(t){return!!l.find(t,function(t){return"transition"===t.name})}})}((FooBar.$,FooBar),FooBar.utils,FooBar.utils.is,FooBar.utils.fn,FooBar.utils.obj),function(t,e){t.icons=new e.SVGRegistry({id:"foobar-icons",iconClass:"fbr-icon"}),t.toggleRules=new t.ToggleRuleRegistry,t.bars=new e.ComponentRegistry,t.items=new e.ComponentRegistry}((FooBar.$,FooBar),FooBar.utils),FooBar.icons.register("defaults",'<svg xmlns="http://www.w3.org/2000/svg">\n\t<defs>
1\n\t\t<symbol id="blank" viewBox="0 0 16 16">\n\t\t</symbol>\n\t\t<symbol id="plus" viewBox="0 0 16 16">\n\t\t\t<path d="M15 7h-6v-6h-2v6h-6v2h6v6h2v-6h6z"></path>\n\t\t</symbol>\n\t\t<symbol id="plus2" viewBox="0 0 16 16">\n\t\t\t<path d="M15.5 6h-5.5v-5.5c0-0.276-0.224-0.5-0.5-0.5h-3c-0.276 0-0.5 0.224-0.5 0.5v5.5h-5.5c-0.276 0-0.5 0.224-0.5 0.5v3c0 0.276 0.224 0.5 0.5 0.5h5.5v5.5c0 0.276 0.224 0.5 0.5 0.5h3c0.276 0 0.5-0.224 0.5-0.5v-5.5h5.5c0.276 0 0.5-0.224 0.5-0.5v-3c0-0.276-0.224-0.5-0.5-0.5z"></path>\n\t\t</symbol>\n\t\t<symbol id="plus3" viewBox="0 0 16 16">\n\t\t\t<path d="M16 5h-5v-5h-6v5h-5v6h5v5h6v-5h5z"></path>\n\t\t</symbol>\n\t\t<symbol id="minus" viewBox="0 0 16 16">\n\t\t\t<path d="M1 7h14v2h-14v-2z"></path>\n\t\t</symbol>\n\t\t<symbol id="minus2" viewBox="0 0 16 16">\n\t\t\t<path d="M0 6.5v3c0 0.276 0.224 0.5 0.5 0.5h15c0.276 0 0.5-0.224 0.5-0.5v-3c0-0.276-0.224-0.5-0.5-0.5h-15c-0.276 0-0.5 0.224-0.5 0.5z"></path>\n\t\t</symbol>\n\t\t<symbol id="minus3" viewBox="0 0 16 16">\n\t\t\t<path d="M0 5h16v6h-16z"></path>\n\t\t</symbol>
1\n\t\t<symbol id="cross" viewBox="0 0 16 16">\n\t\t\t<path d="M12.207 10.793l-1.414 1.414-2.793-2.793-2.793 2.793-1.414-1.414 2.793-2.793-2.793-2.793 1.414-1.414 2.793 2.793 2.793-2.793 1.414 1.414-2.793 2.793 2.793 2.793z"></path>\n\t\t</symbol>\n\t\t<symbol id="cross2" viewBox="0 0 16 16">\n\t\t\t<path d="M13.957 3.457l-1.414-1.414-4.543 4.543-4.543-4.543-1.414 1.414 4.543 4.543-4.543 4.543 1.414 1.414 4.543-4.543 4.543 4.543 1.414-1.414-4.543-4.543z"></path>\n\t\t</symbol>\n\t\t<symbol id="cross3" viewBox="0 0 16 16">\n\t\t\t<path d="M15.854 12.854c-0-0-0-0-0-0l-4.854-4.854 4.854-4.854c0-0 0-0 0-0 0.052-0.052 0.090-0.113 0.114-0.178 0.066-0.178 0.028-0.386-0.114-0.529l-2.293-2.293c-0.143-0.143-0.351-0.181-0.529-0.114-0.065 0.024-0.126 0.062-0.178 0.114 0 0-0 0-0 0l-4.854 4.854-4.854-4.854c-0-0-0-0-0-0-0.052-0.052-0.113-0.090-0.178-0.114-0.178-0.066-0.386-0.029-0.529 0.114l-2.293 2.293c-0.143 0.143-0.181 0.351-0.114 0.529 0.024 0.065 0.062 0.126 0.114 0.178 0 0 0 0 0 0l4.854 4.854-4.854 4.854c-0 0-0 0-0 0-0.052 0.052-0.090 0.113-0.114 0.178-0.066 0.178-0.029 0.386 0.114 0.529l2.293 2.293c0.143 0.143 0.351 0.181 0.529 0.114 0.065-0.024 0.126-0.062 0.178-0.114 0-0 0-0 0-0l4.854-4.854 4.854 4.854c0 0 0 0 0 0 0.052 0.052 0.113 0.090 0.178 0.114 0.178 0.066 0.386 0.029 0.529-0.114l2.293-2.293c0.143-0.143 0.181-0.351 0.114-0.529-0.024-0.065-0.062-0.126-0.114-0.178z"></path>\n\t\t</symbol>\n\t\t<symbol id="arrow-up" viewBox="0 0 16 16">\n\t\t\t<path d="M0 10.5l1 1 7-7 7 7 1-1-8-8-8 8z"></path>\n\t\t</symbol>\n\t\t<symbol id="arrow-up2" viewBox="0 0 16 16">\n\t\t\t<path d="M0 10.5l2 2 6-6 6 6 2-2-8-8-8 8z"></path>\n\t\t</symbol>\n\t\t<symbol id="arrow-up3" viewBox="0 0 16 16">\n\t\t\t<path d="M0 10.5l3 3 5-5 5 5 3-3-8-8z"></path>\n\t\t</symbol>\n\t\t<symbol id="arrow-right" viewBox="0 0 16 16">\n\t\t\t<path d="M5.5 0l-1 1 7 7-7 7 1 1 8-8-8-8z"></path>\n\t\t</symbol>\n\t\t<symbol id="arrow-right2" viewBox="0 0 16 16">\n\t\t\t<path d="M5.5 0l-2 2 6 6-6 6 2 2 8-8-8-8z"></path>\n\t\t</symbol>\n\t\t<symbol id="arrow-right3" viewBox="0 0 16 16">\n\t\t\t<path d="M5.5 0l-3 3 5 5-5 5 3 3 8-8z"></path>\n\t\t</symbol>\n\t\t<symbol id="arrow-down" viewBox="0 0 16 16">\n\t\t\t<path d="M16 5.5l-1-1-7 7-7-7-1 1 8 8 8-8z"></path>\n\t\t</symbol>\n\t\t<symbol id="arrow-down2" viewBox="0 0 16 16">\n\t\t\t<path d="M16 5.5l-2-2-6 6-6-6-2 2 8 8 8-8z"></path>\n\t\t</symbol>\n\t\t<symbol id="arrow-down3" viewBox="0 0 16 16">\n\t\t\t<path d="M16 5.5l-3-3-5 5-5-5-3 3 8 8z"></path>\n\t\t</symbol>\n\t\t<symbol id="arrow-left" viewBox="0 0 16 16">\n\t\t\t<path d="M10.5 16l1-1-7-7 7-7-1-1-8 8 8 8z"></path>\n\t\t</symbol>\n\t\t<symbol id="arrow-left2" viewBox="0 0 16 16">\n\t\t\t<path d="M10.5 16l2-2-6-6 6-6-2-2-8 8 8 8z"></path>\n\t\t</symbol>\n\t\t<symbol id="arrow-left3" viewBox="0 0 16 16">\n\t\t\t<path d="M10.5 16l3-3-5-5 5-5-3-3-8 8z"></path>\n\t\t</symbol>\n\n\t\t<symbol id="bullhorn" viewBox="0 0 16 16">\n\t\t\t<path d="M16 6.707c0-3.139-0.919-5.687-2.054-5.707 0.005-0 0.009-0 0.014-0h-1.296c0 0-3.044 2.287-7.425 3.184-0.134 0.708-0.219 1.551-0.219 2.523s0.085 1.816 0.219 2.523c4.382 0.897 7.425 3.184 7.425 3.184h1.296c-0.005 0-0.009-0-0.014-0.001 1.136-0.020 2.054-2.567 2.054-5.707zM13.513 11.551c-0.147 0-0.305-0.152-0.387-0.243-0.197-0.22-0.387-0.562-0.55-0.989-0.363-0.957-0.564-2.239-0.564-3.611s0.2-2.655 0.564-3.611c0.162-0.428 0.353-0.77 0.55-0.99 0.081-0.091 0.24-0.243 0.387-0.243s0.305 0.152 0.387 0.243c0.197 0.22 0.387 0.562 0.55 0.99 0.363 0.957 0.564 2.239 0.564 3.611s-0.2 2.655-0.564 3.611c-0.162 0.428-0.353 0.77-0.55 0.989-0.081 0.091-0.24 0.243-0.387 0.243zM3.935 6.707c0-0.812 0.060-1.6 0.173-2.33-0.74 0.102-1.39 0.161-2.193 0.161-1.048 0-1.048 0-1.048 0l-0.867 1.479v1.378l0.867 1.479c0 0 0 0 1.048 0 0.803 0 1.453 0.059 2.193 0.161-0.113-0.729-0.173-1.518-0.173-2.33zM5.752 10.034l-2-0.383 1.279 5.024c0.066 0.26 0.324 0.391 0.573 0.291l1.852-0.741c0.249-0.1 0.349-0.374 0.222-0.611l-1.926-3.581zM13.513 8.574c-0.057 0-0.118-0.059-0.149-0.094-0.076-0.085-0.149-0.217-0.212-0.381-0.14-0.369-0.217-0.863-0.217-1.392s0.077-1.023 0.217-1.392c0.063-0.165 0.136-0.297 0.212-0.381 0.031-0.035 0.092-0.
1094 0.149-0.094s0.118 0.059 0.149 0.094c0.076 0.085 0.149 0.217 0.212 0.381 0.14 0.369 0.217 0.863 0.217 1.392s-0.077 1.023-0.217 1.392c-0.063 0.165-0.136 0.297-0.212 0.381-0.031 0.035-0.092 0.094-0.149 0.094z"></path>\n\t\t</symbol>\n\t\t<symbol id="megaphone" viewBox="0 0 16 16">\n\t\t\t<path d="M2 6h-2v5h2v-1l2 0.572c-0 0.008-0 0.015-0 0.023v1.406c0 0.55 0.45 1 1 1h2c0.55 0 1-0.45 1-1v-0.286l5 1.429v-9.286l-11 3.143v-1zM5 10.857l1.998 0.571v0.572h-1.998v-1.143zM14 3.571v9.857l2 0.571v-11z"></path>\n\t\t</symbol>\n\t\t<symbol id="envelop" viewBox="0 0 16 16">\n\t\t\t<path d="M14.998 3c0.001 0.001 0.001 0.001 0.002 0.002v9.996c-0.001 0.001-0.001 0.001-0.002 0.002h-13.996c-0.001-0.001-0.001-0.001-0.002-0.002v-9.996c0.001-0.001 0.001-0.001 0.002-0.002h13.996zM15 2h-14c-0.55 0-1 0.45-1 1v10c0 0.55 0.45 1 1 1h14c0.55 0 1-0.45 1-1v-10c0-0.55-0.45-1-1-1v0z"></path>\n\t\t\t<path d="M5.831 9.773l-3 2.182c-0.1 0.073-0.216 0.108-0.33 0.108-0.174 0-0.345-0.080-0.455-0.232-0.183-0.251-0.127-0.603 0.124-0.786l3-2.182c0.251-0.183 0.603-0.127 0.786 0.124s0.127 0.603-0.124 0.786z"></path>\n\t\t\t<path d="M13.955 11.831c-0.11 0.151-0.282 0.232-0.455 0.232-0.115 0-0.23-0.035-0.33-0.108l-3-2.182c-0.251-0.183-0.307-0.534-0.124-0.786s0.534-0.307 0.786-0.124l3 2.182c0.251 0.183 0.307 0.535 0.124 0.786z"></path>\n\t\t\t<path d="M13.831 4.955l-5.5 4c-0.099 0.072-0.215 0.108-0.331 0.108s-0.232-0.036-0.331-0.108l-5.5-4c-0.251-0.183-0.307-0.534-0.124-0.786s0.535-0.307 0.786-0.124l5.169 3.759 5.169-3.759c0.251-0.183 0.603-0.127 0.786 0.124s0.127 0.603-0.124 0.786v0z"></path>\n\t\t</symbol>\n\t\t<symbol id="envelop2" viewBox="0 0 16 16">\n\t\t\t<path d="M15 2h-14c-0.55 0-1 0.45-1 1v10c0 0.55 0.45 1 1 1h14c0.55 0 1-0.45 1-1v-10c0-0.55-0.45-1-1-1zM14 4v0.719l-6 3.536-6-3.536v-0.719h12zM2 12v-5.54l6 3.536 6-3.536v5.54h-12z"></path>\n\t\t</symbol>\n\t\t<symbol id="paper-plane" viewBox="0 0 16 16">\n\t\t\t<path d="M7 11l6.151 2.195 2.849-12.459zM5 10.311l11-9.575-16 7.913zM7 12.062v3.938l2.902-2.902z"></path>\n\t\t</symbol>\n\t\t<symbol id="bell" viewBox="0 0 16 16">\n\t\t\t<path d="M16 13c-1.657 0-3-1.343-3-3v-4.455c0-2.199-1.718-4.033-4-4.454v-1.091h-2v1.091c-2.282 0.421-4 2.255-4 4.454v4.455c0 1.657-1.343 3-3 3v1h6.712c-0.081 0.178-0.127 0.377-0.127 0.586 0 0.781 0.633 1.414 1.414 1.414s1.414-0.633 1.414-1.414c0-0.209-0.045-0.407-0.127-0.586h6.713v-1z"></path>\n\t\t</symbol>\n\t\t<symbol id="bell2" viewBox="0 0 16 16">\n\t\t\t<path d="M16 13c-1.657 0-3-1.343-3-3v-4.455c0-2.199-1.718-4.033-4-4.454v-1.091h-2v1.091c-2.282 0.421-4 2.255-4 4.454v4.455c0 1.657-1.343 3-3 3v1h6.712c-0.081 0.178-0.127 0.377-0.127 0.586 0 0.781 0.633 1.414 1.414 1.414s1.414-0.633 1.414-1.414c0-0.209-0.045-0.407-0.127-0.586h6.713v-1z"></path>\n\t\t\t<path d="M15.483 6c-0.261 0-0.481-0.203-0.498-0.467-0.118-1.787-0.908-3.444-2.226-4.666-0.202-0.188-0.214-0.504-0.027-0.707s0.504-0.214 0.707-0.027c1.506 1.397 2.409 3.291 2.543 5.334 0.018 0.276-0.191 0.514-0.466 0.532-0.011 0.001-0.022 0.001-0.033 0.001z"></path>\n\t\t\t<path d="M0.517 6c-0.011 0-0.022-0-0.033-0.001-0.276-0.018-0.484-0.256-0.466-0.532 0.134-2.043 1.038-3.937 2.543-5.334 0.203-0.188 0.519-0.176 0.707 0.027s0.176 0.519-0.027 0.707c-1.318 1.222-2.108 2.879-2.226 4.666-0.017 0.264-0.237 0.467-0.498 0.467z"></path>\n\t\t</symbol>\n\t\t<symbol id="price-tag" viewBox="0 0 16 16">\n\t\t\t<path d="M6 8h1v2h-1zM8 11h1v2h-1zM12.514 4.47l-3.611-3.939c-0.267-0.292-0.796-0.53-1.174-0.53h-0.458c-0.378 0-0.906 0.239-1.174 0.53l-3.611 3.939c-0.267 0.292-0.486 0.868-0.486 1.28v9.5c0 0.412 0.309 0.75 0.688 0.75h9.625c0.378 0 0.688-0.338 0.688-0.75v-9.5c0-0.412-0.219-0.989-0.486-1.28zM10 8h-2v2h2v4h-2v1h-1v-1h-2v-1h2v-2h-2v-4h2v-1h1v1h2v1zM8.281 2.5c0 0.431-0.35 0.781-0.781 0.781s-0.781-0.35-0.781-0.781 0.35-0.781 0.781-0.781 0.781 0.35 0.781 0.781z"></path>\n\t\t</symbol>\n\t\t<symbol id="price-tag2" viewBox="0 0 16 16">\n\t\t\t<path d="M15.25 0h-6c-0.412 0-0.989 0.239-1.28 0.53l-7.439 7.439c-0.292 0.292-0.292 0.769 0 1.061l6.439 6.439c0.292 0.292 0.769 0.292 1.061 0l7.439-7.439c0.292-0.292 0.53-0.868 0.53-1.28v-6c0-0.412-0.338-0.75-0.75-0.75zM11.5 6c-0.828 0-1.5-0.672-1.5-1.5s0.672-1.5 1.5-1.5 1.5 0.672 1.5 1.5-0.672 1.5-1.5 1.5z"></path>\n\t\t</symbol>\n\t\t<symbol id="price-tags" viewBox="0 0 20 16">\n\t\t\t<path d="M19.25 0h-6c-0.412 0-0.989 0.239-1.28 0.53l-7.439 7.439c-0.292 0.292-0.292 0.769 0 1.061l6.439 6.439c0.292 0.292 0.769 0.292 1.061 0l7.439-7.439c0.292-0.292 0.53-0.868 0.53-1.28v-6c0-0.412-0.337-0.75-0.75-0.75zM15.5 6c-0.828 0-1.5-0.672-1.5-1.5s0.672-1.5 1.5-1.5 1.5 0.672 1.5 1.5-0.672 1.5-1.5 1.5z"></path>\n\t\t\t<path d="M2 8.5l8.5-8.5h-1.25c-0.412 0-0.989 0.239-1.28 0.53l-7.439 7.439c-0.292 0.292-0.292 0.769 0 1.061l6.439 6.439c0.292 0.292 0.769 0.292 1.061 0l0.47-0.47-6.5-6.5z"></path>\n\t\t</symbol>
1\n\t\t<symbol id="piggy-bank" viewBox="0 0 16 16">\n\t\t\t<path d="M15.023 6h-1.523c-0.359-0.684-0.896-1.289-1.562-1.772 0.005-0.43 0.167-0.84 0.458-1.158 0.059-0.064 0.123-0.125 0.19-0.179 0.16-0.13 0.224-0.346 0.16-0.542s-0.242-0.334-0.448-0.345c-0.037-0.002-0.074-0.003-0.111-0.003-0.885 0-1.637 0.578-1.9 1.377-0.705-0.243-1.477-0.377-2.287-0.377-3.243 0-5.885 2.145-5.996 4.825-0.059-0.002-0.118-0.002-0.179-0.002-0.682 0.011-0.782-0.792-0.815-1.328-0.065-0.597-0.967-0.606-1 0.010-0.116 0.385 0.010 0.983 0.122 1.346 0.262 0.851 0.998 1.255 1.834 1.328 0.068 0.005 0.135-0 0.198-0.013 0.193 0.675 0.551 1.296 1.035 1.834v0c0.041 0.045 0.083 0.090 0.126 0.134 0.225 0.265 0.674 0.912 0.674 1.866v1c0 0.552 0.672 1 1.5 1s1.5-0.448 1.5-1v-1.070c0.325 0.045 0.659 0.070 1 0.070s0.675-0.024 1-0.070v1.070c0 0.552 0.672 1 1.5 1s1.5-0.448 1.5-1v-1c0-0.954 0.449-1.601 0.674-1.866 0.043-0.044 0.085-0.089 0.126-0.134 0-0 0-0 0-0h-0c0.277-0.308 0.513-0.643 0.7-1h1.523c0.552 0 1-0.895 1-2s-0.448-2-1-2zM9.5 5h-3c-0.276 0-0.5-0.224-0.5-0.5s0.224-0.5 0.5-0.5h3c0.276 0 0.5 0.224 0.5 0.5s-0.224 0.5-0.5 0.5zM12 8c-0.552 0-1-0.448-1-1s0.448-1 1-1 1 0.448 1 1c0 0.552-0.448 1-1 1z"></path>\n\t\t</symbol>\n\t\t<symbol id="cash" viewBox="0 0 17 16">\n\t\t\t<path d="M7 7h1v1h-1v-1z"></path>\n\t\t\t<path d="M0 4v9h17v-9h-17zM3 12h-2v-2h1v1h1v1zM3 6h-1v1h-1v-2h2v1zM10.5 8c0.276 0 0.5 0.224 0.5 0.5v2c0 0.276-0.224 0.5-0.5 0.5h-1.5v0.5c0 0.276-0.224 0.5-0.5 0.5s-0.5-0.224-0.5-0.5v-0.5h-1.5c-0.276 0-0.5-0.224-0.5-0.5s0.224-0.5 0.5-0.5h1.5v-1h-1.5c-0.276 0-0.5-0.224-0.5-0.5v-2c0-0.276 0.224-0.5 0.5-0.5h1.5v-0.5c0-0.276 0.224-0.5 0.5-0.5s0.5 0.224 0.5 0.5v0.5h1.5c0.276 0 0.5 0.224 0.5 0.5s-0.224 0.5-0.5 0.5h-1.5v1h1.5zM16 12h-2v-1h1v-1h1v2zM16 7h-1v-1h-1v-1h2v2z"></path>\n\t\t\t<path d="M9 9h1v1h-1v-1z"></path>\n\t\t</symbol>\n\t\t<symbol id="quill" viewBox="0 0 16 16">\n\t\t\t<path d="M0 16c2-6 7.234-16 16-16-4.109 3.297-6 11-9 11s-3 0-3 0l-3 5h-1z"></path>\n\t\t</symbol>\n\t\t<symbol id="quill2" viewBox="0 0 16 16">\n\t\t\t<path d="M0 16c0-2.291 0.377-4.698 1.122-6.663 0.719-1.899 1.764-3.574 3.104-4.979 1.327-1.391 2.902-2.474 4.682-3.218 1.809-0.757 3.775-1.14 5.843-1.14 0.085 0 0.164 0.043 0.21 0.115s0.053 0.161 0.017 0.239c-0.522 1.148-1.851 2.212-3.952 3.162-0.298 0.135-0.594 0.259-0.879 0.372 0.195-0.007 0.393-0.010 0.594-0.010 1.176 0 2.010 0.12 2.045 0.125 0.084 0.012 0.156 0.066 0.191 0.143s0.029 0.167-0.016 0.238c-0.755 1.186-2.404 2.281-4.901 3.255-0.206 0.080-0.409 0.156-0.608 0.228 0.146-0.004 0.292-0.006 0.438-0.006 1.163 0 1.878 0.138 1.908 0.144 0.086 0.017 0.157 0.078 0.187 0.161s0.014 0.175-0.042 0.243c-2.28 2.786-3.837 3.592-6.944 3.592-0.707 0-1.258 0.614-1.636 1.825-0.3 0.96-0.364 2.175-0.364 2.175z"></path>\n\t\t</symbol>\n\t\t<symbol id="pen" viewBox="0 0 16 16">\n\t\t\t<path d="M8.313 3.813c-0.663 0.643-2.003 1.973-2.239 2.209-1.838 1.838-6.153 6.957-6.074 9.977 3.020 0.080 8.139-4.236 9.977-6.074 0.236-0.236 1.566-1.576 2.209-2.239l-3.873-3.873zM14.761 3.19l-0.282-0.281 1.521-1.257-1.652-1.652-1.257 1.521-0.282-0.282c-0.872-0.051-2.278 0.793-3.663 1.907l3.707 3.707c0.419-0.521 0.798-1.045 1.107-1.542 0.93 0.767 0.243 3.017-3.682 5.967l0.722 0.722c3.5-2.5 5.766-5.5 3.571-7.882 0.131-0.346 0.205-0.663 0.19-0.928z"></path>\n\t\t</symbol>\n\t\t<symbol id="pencil" viewBox="0 0 16 16">\n\t\t\t<path d="M16 2.5c0-1.381-1.119-2.5-2.5-2.5-0.818 0-1.544 0.393-2 1l-9 9 3.5 3.5 9-9c0.607-0.456 1-1.182 1-2z"></path>\n\t\t\t<path d="M0 16l1.5-5 3.5 3.5z"></path>\n\t\t</symbol>\n\t\t<symbol id="bag" viewBox="0 0 16 16">\n\t\t\t<path d="M11 3v-0.5c0-1.381-1.119-2.5-2.5-2.5-0.563 0-1.082 0.186-1.5 0.5-0.418-0.314-0.937-0.5-1.5-0.5-1.381 0-2.5 1.119-2.5 2.5v1.7l-2 0.3v10.5h2l1 1 10-1.5v-10.5l-3-1zM3 14h-1v-8.639l1-0.15v8.789zM8.5 1c0.827 0 1.5 0.673 1.5 1.5v0.65l-2 0.3v-0.95c0-0.454-0.122-0.88-0.333-1.247 0.239-0.16 0.525-0.253 0.833-0.253zM4 2.5c0-0.827 0.673-1.5 1.5-1.5 0.308 0 0.595 0.093 0.833 0.253-0.212 0.367-0.333 0.792-0.333 1.247v1.25l-2 0.3v-1.55zM13 13.639l-8 1.2v-8.478l8-1.2v8.478z"></path>\n\t\t</symbol>
1\n\t\t<symbol id="lifebuoy" viewBox="0 0 16 16">\n\t\t\t<path d="M8 0c-4.418 0-8 3.582-8 8s3.582 8 8 8 8-3.582 8-8-3.582-8-8-8zM5 8c0-1.657 1.343-3 3-3s3 1.343 3 3-1.343 3-3 3-3-1.343-3-3zM14.468 10.679v0l-2.772-1.148c0.196-0.472 0.304-0.989 0.304-1.531s-0.108-1.059-0.304-1.531l2.772-1.148c0.342 0.825 0.532 1.73 0.532 2.679s-0.189 1.854-0.532 2.679v0zM10.679 1.532v0 0l-1.148 2.772c-0.472-0.196-0.989-0.304-1.531-0.304s-1.059 0.108-1.531 0.304l-1.148-2.772c0.825-0.342 1.73-0.532 2.679-0.532s1.854 0.189 2.679 0.532zM1.532 5.321l2.772 1.148c-0.196 0.472-0.304 0.989-0.304 1.531s0.108 1.059 0.304 1.531l-2.772 1.148c-0.342-0.825-0.532-1.73-0.532-2.679s0.189-1.854 0.532-2.679zM5.321 14.468l1.148-2.772c0.472 0.196 0.989 0.304 1.531 0.304s1.059-0.108 1.531-0.304l1.148 2.772c-0.825 0.342-1.73 0.532-2.679 0.532s-1.854-0.189-2.679-0.532z"></path>\n\t\t</symbol>\n\n\t\t<symbol id="spinner" viewBox="0 0 16 16">\n\t\t\t<path d="M8 16c-2.137 0-4.146-0.832-5.657-2.343s-2.343-3.52-2.343-5.657c0-1.513 0.425-2.986 1.228-4.261 0.781-1.239 1.885-2.24 3.193-2.895l0.672 1.341c-1.063 0.533-1.961 1.347-2.596 2.354-0.652 1.034-0.997 2.231-0.997 3.461 0 3.584 2.916 6.5 6.5 6.5s6.5-2.916 6.5-6.5c0-1.23-0.345-2.426-0.997-3.461-0.635-1.008-1.533-1.822-2.596-2.354l0.672-1.341c1.308 0.655 2.412 1.656 3.193 2.895 0.803 1.274 1.228 2.748 1.228 4.261 0 2.137-0.832 4.146-2.343 5.657s-3.52 2.343-5.657 2.343z"></path>\n\t\t</symbol>\n\t\t<symbol id="spinner2" viewBox="0 0 16 16">\n\t\t\t<path d="M8 4.736c-0.515 0-0.933-0.418-0.933-0.933v-2.798c0-0.515 0.418-0.933 0.933-0.933s0.933 0.418 0.933 0.933v2.798c0 0.515-0.418 0.933-0.933 0.933z"></path>\n\t\t\t<path d="M8 15.577c-0.322 0-0.583-0.261-0.583-0.583v-2.798c0-0.322 0.261-0.583 0.583-0.583s0.583 0.261 0.583 0.583v2.798c0 0.322-0.261 0.583-0.583 0.583z"></path>\n\t\t\t<path d="M5.902 5.24c-0.302 0-0.596-0.157-0.758-0.437l-1.399-2.423c-0.241-0.418-0.098-0.953 0.32-1.194s0.953-0.098 1.194 0.32l1.399 2.423c0.241 0.418 0.098 0.953-0.32 1.194-0.138 0.079-0.288 0.117-0.436 0.117z"></path>\n\t\t\t<path d="M11.498 14.582c-0.181 0-0.358-0.094-0.455-0.262l-1.399-2.423c-0.145-0.251-0.059-0.572 0.192-0.717s0.572-0.059 0.717 0.192l1.399 2.423c0.145 0.251 0.059 0.572-0.192 0.717-0.083 0.048-0.173 0.070-0.262 0.070z"></path>\n\t\t\t<path d="M4.365 6.718c-0.138 0-0.279-0.035-0.407-0.109l-2.423-1.399c-0.39-0.225-0.524-0.724-0.299-1.115s0.724-0.524 1.115-0.299l2.423 1.399c0.39 0.225 0.524 0.724 0.299 1.115-0.151 0.262-0.425 0.408-0.707 0.408z"></path>\n\t\t\t<path d="M14.057 11.964c-0.079 0-0.159-0.020-0.233-0.063l-2.423-1.399c-0.223-0.129-0.299-0.414-0.171-0.637s0.414-0.299 0.637-0.171l2.423 1.399c0.223 0.129 0.299 0.414 0.171 0.637-0.086 0.15-0.243 0.233-0.404 0.233z"></path>\n\t\t\t<path d="M3.803 8.758h-2.798c-0.418 0-0.758-0.339-0.758-0.758s0.339-0.758 0.758-0.758h2.798c0.419 0 0.758 0.339 0.758 0.758s-0.339 0.758-0.758 0.758z"></path>\n\t\t\t<path d="M14.995 8.466c-0 0 0 0 0 0h-2.798c-0.258-0-0.466-0.209-0.466-0.466s0.209-0.466 0.466-0.466c0 0 0 0 0 0h2.798c0.258 0 0.466 0.209 0.466 0.466s-0.209 0.466-0.466 0.466z"></path>\n\t\t\t<path d="M1.943 12.197c-0.242 0-0.477-0.125-0.606-0.35-0.193-0.335-0.079-0.762 0.256-0.955l2.423-1.399c0.335-0.193 0.762-0.079 0.955 0.256s0.079 0.762-0.256 0.955l-2.423 1.399c-0.11 0.064-0.23 0.094-0.349 0.094z"></path>\n\t\t\t<path d="M11.635 6.368c-0.161 0-0.318-0.084-0.404-0.233-0.129-0.223-0.052-0.508 0.171-0.637l2.423-1.399c0.223-0.129 0.508-0.052 0.637 0.171s0.052 0.508-0.171 0.637l-2.423 1.399c-0.073 0.042-0.154 0.063-0.233 0.063z"></path>\n\t\t\t<path d="M4.502 14.699c-0.109 0-0.219-0.028-0.32-0.086-0.307-0.177-0.412-0.569-0.235-0.876l1.399-2.423c0.177-0.307 0.569-0.412 0.876-0.235s0.412 0.569 0.235 0.876l-1.399 2.423c-0.119 0.206-0.334 0.321-0.556 0.321z"></path>\n\t\t\t<path d="M10.098 4.832c-0.079 0-0.159-0.020-0.233-0.063-0.223-0.129-0.299-0.414-0.171-0.637l1.399-2.423c0.129-0.223 0.414-0.299 0.637-0.171s0.299 0.414 0.171 0.637l-1.399 2.423c-0.086 0.15-0.243 0.233-0.404 0.233z"></path>\n\t\t</symbol>\n\t\t<symbol id="spinner3" viewBox="0 0 16 16">\n\t\t\t<path d="M16 8c-0.020-1.045-0.247-2.086-0.665-3.038-0.417-0.953-1.023-1.817-1.766-2.53s-1.624-1.278-2.578-1.651c-0.953-0.374-1.978-0.552-2.991-0.531-1.013 0.020-2.021 0.24-2.943 0.646-0.923 0.405-1.758 0.992-2.449 1.712s-1.237 1.574-1.597 2.497c-0.361 0.923-0.533 1.914-0.512 2.895 0.020 0.981 0.234 1.955 0.627 2.847 0.392
10.892 0.961 1.7 1.658 2.368s1.523 1.195 2.416 1.543c0.892 0.348 1.851 0.514 2.799 0.493 0.949-0.020 1.89-0.227 2.751-0.608 0.862-0.379 1.642-0.929 2.287-1.604s1.154-1.472 1.488-2.335c0.204-0.523 0.342-1.069 0.415-1.622 0.019 0.001 0.039 0.002 0.059 0.002 0.552 0 1-0.448 1-1 0-0.028-0.001-0.056-0.004-0.083h0.004zM14.411 10.655c-0.367 0.831-0.898 1.584-1.55 2.206s-1.422 1.112-2.254 1.434c-0.832 0.323-1.723 0.476-2.608 0.454-0.884-0.020-1.759-0.215-2.56-0.57-0.801-0.354-1.526-0.867-2.125-1.495s-1.071-1.371-1.38-2.173c-0.31-0.801-0.457-1.66-0.435-2.512s0.208-1.694 0.551-2.464c0.342-0.77 0.836-1.468 1.441-2.044s1.321-1.029 2.092-1.326c0.771-0.298 1.596-0.438 2.416-0.416s1.629 0.202 2.368 0.532c0.74 0.329 1.41 0.805 1.963 1.387s0.988 1.27 1.272 2.011c0.285 0.74 0.418 1.532 0.397 2.32h0.004c-0.002 0.027-0.004 0.055-0.004 0.083 0 0.516 0.39 0.94 0.892 0.994-0.097 0.544-0.258 1.075-0.481 1.578z"></path>\n\t\t</symbol>\n\t\t<symbol id="spinner4" viewBox="0 0 16 16">\n\t\t\t<path d="M3 8c0-0.19 0.011-0.378 0.032-0.563l-2.89-0.939c-0.092 0.487-0.141 0.989-0.141 1.502 0 2.3 0.971 4.374 2.526 5.833l1.786-2.458c-0.814-0.889-1.312-2.074-1.312-3.375zM13 8c0 1.301-0.497 2.486-1.312 3.375l1.786 2.458c1.555-1.459 2.526-3.533 2.526-5.833 0-0.513-0.049-1.015-0.141-1.502l-2.89 0.939c0.021 0.185 0.032 0.373 0.032 0.563zM9 3.1c1.436 0.292 2.649 1.199 3.351 2.435l2.89-0.939c-1.144-2.428-3.473-4.188-6.241-4.534v3.038zM3.649 5.535c0.702-1.236 1.914-2.143 3.351-2.435v-3.038c-2.769 0.345-5.097 2.105-6.241 4.534l2.89 0.939zM10.071 12.552c-0.631 0.288-1.332 0.448-2.071 0.448s-1.44-0.16-2.071-0.448l-1.786 2.458c1.144 0.631 2.458 0.99 3.857 0.99s2.713-0.359 3.857-0.99l-1.786-2.458z"></path>\n\t\t</symbol>\n\t\t<symbol id="spinner5" viewBox="0 0 16 16">\n\t\t\t<path d="M8 0c-4.418 0-8 3.582-8 8s3.582 8 8 8 8-3.582 8-8-3.582-8-8-8zM8 4c2.209 0 4 1.791 4 4s-1.791 4-4 4-4-1.791-4-4 1.791-4 4-4zM12.773 12.773c-1.275 1.275-2.97 1.977-4.773 1.977s-3.498-0.702-4.773-1.977-1.977-2.97-1.977-4.773c0-1.803 0.702-3.498 1.977-4.773l1.061 1.061c0 0 0 0 0 0-2.047 2.047-2.047 5.378 0 7.425 0.992 0.992 2.31 1.538 3.712 1.538s2.721-0.546 3.712-1.538c2.047-2.047 2.047-5.378 0-7.425l1.061-1.061c1.275 1.275 1.977 2.97 1.977 4.773s-0.702 3.498-1.977 4.773z"></path>\n\t\t</symbol>\n\t\t<symbol id="spinner6" viewBox="0 0 16 16">\n\t\t\t<path d="M6 2c0-1.105 0.895-2 2-2s2 0.895 2 2c0 1.105-0.895 2-2 2s-2-0.895-2-2zM12.359 8c0 0 0 0 0 0 0-0.906 0.735-1.641 1.641-1.641s1.641 0.735 1.641 1.641c0 0 0 0 0 0 0 0.906-0.735 1.641-1.641 1.641s-1.641-0.735-1.641-1.641zM10.757 12.243c0-0.821 0.665-1.486 1.486-1.486s1.486 0.665 1.486 1.486c0 0.821-0.665 1.486-1.486 1.486s-1.486-0.665-1.486-1.486zM6.654 14c0-0.743 0.603-1.346 1.346-1.346s1.346 0.603 1.346 1.346c0 0.743-0.603 1.346-1.346 1.346s-1.346-0.603-1.346-1.346zM2.538 12.243c0-0.673 0.546-1.219 1.219-1.219s1.219 0.546 1.219 1.219c0 0.673-0.546 1.219-1.219 1.219s-1.219-0.546-1.219-1.219zM0.896 8c0-0.61 0.494-1.104 1.104-1.104s1.104 0.494 1.104 1.104c0 0.61-0.494 1.104-1.104 1.104s-1.104-0.494-1.104-1.104zM2.757 3.757c0 0 0 0 0 0 0-0.552 0.448-1 1-1s1 0.448 1 1c0 0 0 0 0 0 0 0.552-0.448 1-1 1s-1-0.448-1-1zM14.054 3.757c0 1-0.811 1.811-1.812 1.811s-1.812-0.811-1.812-1.811c0-1.001 0.811-1.811 1.812-1.811s1.812 0.811 1.812 1.811z"></path>\n\t\t</symbol>\n\t\t<symbol id="twitter" viewBox="0 0 16 16">\n\t\t\t<path d="M16 3.538c-0.588 0.263-1.222 0.438-1.884 0.516 0.678-0.406 1.197-1.050 1.444-1.816-0.634 0.375-1.338 0.65-2.084 0.797-0.6-0.638-1.453-1.034-2.397-1.034-1.813 0-3.281 1.469-3.281 3.281 0 0.256 0.028 0.506 0.084 0.747-2.728-0.138-5.147-1.444-6.766-3.431-0.281 0.484-0.444 1.050-0.444 1.65 0 1.138 0.578 2.144 1.459 2.731-0.538-0.016-1.044-0.166-1.488-0.409 0 0.013 0 0.028 0 0.041 0 1.591 1.131 2.919 2.634 3.219-0.275 0.075-0.566 0.116-0.866 0.116-0.212 0-0.416-0.022-0.619-0.059 0.419 1.303 1.631 2.253 3.066 2.281-1.125 0.881-2.538 1.406-4.078 1.406-0.266 0-0.525-0.016-0.784-0.047 1.456 0.934 3.181 1.475 5.034 1.475 6.037 0 9.341-5.003 9.341-9.341 0-0.144-0.003-0.284-0.009-0.425 0.641-0.459 1.197-1.038 1.637-1.697z"></path>\n\t\t</symbol>
1\n\t\t<symbol id="truck" viewBox="0 0 16 16">\n\t\t\t<path d="M16 9l-2-4h-3v-2c0-0.55-0.45-1-1-1h-9c-0.55 0-1 0.45-1 1v8l1 1h1.268c-0.17 0.294-0.268 0.636-0.268 1 0 1.105 0.895 2 2 2s2-0.895 2-2c0-0.364-0.098-0.706-0.268-1h5.536c-0.17 0.294-0.268 0.636-0.268 1 0 1.105 0.895 2 2 2s2-0.895 2-2c0-0.364-0.098-0.706-0.268-1h1.268v-3zM11 9v-3h2.073l1.5 3h-3.573z"></path>\n\t\t</symbol>\n\t\t<symbol id="cart" viewBox="0 0 16 16">\n\t\t\t<path d="M13.238 9c0.55 0 1.124-0.433 1.275-0.962l1.451-5.077c0.151-0.529-0.175-0.962-0.725-0.962h-10.238c0-1.105-0.895-2-2-2h-3v2h3v8.5c0 0.828 0.672 1.5 1.5 1.5h9.5c0.552 0 1-0.448 1-1s-0.448-1-1-1h-9v-1h8.238zM5 4h9.044l-0.857 3h-8.187v-3z"></path>\n\t\t\t<path d="M6 14.5c0 0.828-0.672 1.5-1.5 1.5s-1.5-0.672-1.5-1.5c0-0.828 0.672-1.5 1.5-1.5s1.5 0.672 1.5 1.5z"></path>\n\t\t\t<path d="M15 14.5c0 0.828-0.672 1.5-1.5 1.5s-1.5-0.672-1.5-1.5c0-0.828 0.672-1.5 1.5-1.5s1.5 0.672 1.5 1.5z"></path>\n\t\t</symbol>\n\t\t<symbol id="cart2" viewBox="0 0 16 16">\n\t\t\t<path d="M15.275 3.038c0.531 0.152 0.839 0.705 0.687 1.236l-2 7c-0.123 0.429-0.515 0.725-0.962 0.725h-8.5c-0.504 0-0.93-0.376-0.992-0.876l-0.89-7.124h-1.617c-0.552 0-1-0.448-1-1s0.448-1 1-1h2.5c0.504 0 0.93 0.376 0.992 0.876l0.891 7.124h6.863l1.793-6.275c0.152-0.531 0.705-0.838 1.236-0.687zM4 14.5c0-0.828 0.672-1.5 1.5-1.5s1.5 0.672 1.5 1.5c0 0.828-0.672 1.5-1.5 1.5s-1.5-0.672-1.5-1.5zM10 14.5c0-0.828 0.672-1.5 1.5-1.5s1.5 0.672 1.5 1.5c0 0.828-0.672 1.5-1.5 1.5s-1.5-0.672-1.5-1.5zM12.313 6h-2.313v3h-2v-3h-2.313l3.313-3.563z"></path>\n\t\t</symbol>\n\t\t<symbol id="basket" viewBox="0 0 16 16">\n\t\t\t<path d="M12.703 6l-2.779-3.618c0.049-0.118 0.076-0.247 0.076-0.382 0-0.552-0.448-1-1-1s-1 0.448-1 1 0.448 1 1 1c0.044 0 0.088-0.003 0.131-0.009l2.311 3.009h-6.884l2.311-3.009c0.043 0.006 0.086 0.009 0.131 0.009 0.552 0 1-0.448 1-1s-0.448-1-1-1-1 0.448-1 1c0 0.135 0.027 0.265 0.076 0.382l-2.779 3.618h-3.297v2h1l1 8h12l1-8h1v-2h-3.297zM5 14h-2v-2h2v2zM5 10h-2v-2h2v2zM9 14h-2v-2h2v2zM9 10h-2v-2h2v2zM13 14h-2v-2h2v2zM13 10h-2v-2h2v2z"></path>\n\t\t</symbol>\n\t\t<symbol id="checkmark" viewBox="0 0 16 16">\n\t\t\t<path d="M13.5 2l-7.5 7.5-3.5-3.5-2.5 2.5 6 6 10-10z"></path>\n\t\t</symbol>\n\t\t<symbol id="credit-card" viewBox="0 0 16 16">\n\t\t\t<path d="M14.5 2h-13c-0.825 0-1.5 0.675-1.5 1.5v9c0 0.825 0.675 1.5 1.5 1.5h13c0.825 0 1.5-0.675 1.5-1.5v-9c0-0.825-0.675-1.5-1.5-1.5zM1.5 3h13c0.271 0 0.5 0.229 0.5 0.5v1.5h-14v-1.5c0-0.271 0.229-0.5 0.5-0.5zM14.5 13h-13c-0.271 0-0.5-0.229-0.5-0.5v-4.5h14v4.5c0 0.271-0.229 0.5-0.5 0.5zM2 10h1v2h-1zM4 10h1v2h-1zM6 10h1v2h-1z"></path>\n\t\t</symbol>\n\t</defs>\n</svg>'),function(o,r,t,g,s){r.Plugin=t.ParentComponent.extend({construct:function(t,e){var n=this;n._super("foobar",t,e,null,r.bars),n.stored=JSON.parse(localStorage.getItem(n.name))||{},n.isDocumentElement=n.el===document.documentElement,n.$window=o(window),n.$scrollParent=n.isDocumentElement?n.$window:n.$el,n.$viewport=n.isDocumentElement?o(document):n.$el,n.offsets={top:0,right:0,bottom:0,left:0},n.screenLG=window.matchMedia("(max-width: 960px)"),n.screenMD=window.matchMedia("(max-width: 782px)"),n.screenSM=window.matchMedia("(max-width: 600px)"),n.screenXS=window.matchMedia("(max-width: 480px)"),n.isWPToolbar=n.$el.hasClass("wp-toolbar"),n.useWPBody=!1,n.offsetType=n.isWPToolbar?"padding":"margin",n.$offsetRoot=n.$el,n.offsetRoot=n.$offsetRoot.get(0),n.onScreenChange=n.onScreenChange.bind(n)},shouldUseWPBody:function(){return this.isWPToolbar&&(this.screenSM.matches||this.screenXS.matches)&&0<this.$el.find("#wpbody").length},parseOffsets:function(r){var i=this,s=getComputedStyle(i.offsetRoot),t=Object.keys(i.offsets).reduce(function(t,e){var n=i.offsetType+"-"+e,o=parseInt(s.getPropertyValue(n))||0;return t[e]={name:e,value:o,push:{name:n,value:o}},r&&i.offsetRoot.style.removeProperty(n),t},{});return r&&i.offsetRoot.offsetHeight,t},onScreenChange:function(){var o=this,t=Object.keys(o.offsets);o.offsetRoot.style.setProperty("transition","none","important");var e=!1,r=o.parseOffsets(!0),n=o.shouldUseWPBody();o.useWPBody!==n&&(o.useWPBody=n,o.offsetRoot.style.removeProperty("transition"),o.$offsetRoot=o.useWPBody?o.$el.find("#wpbody"):o.$el,o.offsetRoot=o.$offsetRoot.get(0),o.offsetRoot.style.setProperty("transition","none","important"),o.offsetRoot.offsetHeight,r=o.parseOffsets(!0),e=!0);var i,s=o.parseOffsets();t.forEach(function(t){var e=r[t].push,n=s[t].push;0<e.value&&e.value!==n.value&&o.offsetRoot.style.setProperty(e.name,n.value+"px","important")}),o.offsetRoot.offsetHeight,o.offsetRoot.style.removeProperty("transition"),t.forEach(function(t){o.offsets[t].value!==s[t].value&&(e=!0)}),e&&(i=o.offsets,o.offsets=s,o.trigger("offset-change",[o.offsets,i]))},beforeSetup:function(){var t=this;return t.useWPBody=t.shouldUseWPBody(),t.$offsetRoot=t.useWPBody?t.$el.find("#wpbody"):t.$el,t.offsetRoot=t.$offsetRoot.get(0),t.offsets=t.parseOffsets(),t.screenLG.addEventListener?(t.screenLG.addEventListener("change",t.onScreenChange),t.screenMD.addEventListener("change",t.onScreenChange),t.screenSM.addEventListener("change",t.onScreenChange),t.screenXS.addEventListener("change",t.onScreenChange)):(t.screenLG.addListener(t.onScreenChange),t.screenMD.addListener(t.onScreenChange),t.screenSM.addListener(t.onScreenChange),t.screenXS.addListener(t.onScreenChange)),t.$window.on("beforeunload",{self:t},t.onBeforeUnload),t._super()},position:function(t){var n=this,o=s.extend({},n.offsets),e=s.extend({},n.offsets),r=!t&&n.children.some(function(t){return t.hasTransition});
1n.children.forEach(function(t){n.addOffsets(t,e)});var i=n.opt.zIndex,i=n.positionLayouts(["top","top-inline"],o,e,i,t);i=n.positionLayouts(["bottom"],o,e,i,t),i=n.positionLayouts(["left"],o,e,i,t),i=n.positionLayouts(["right"],o,e,i,t),n.positionLayouts(["top","top-inline","bottom","left","right"],o,e,i,t,!0),n.$offsetRoot.toggleClass(n.cls.pushTransition,!t&&r),Object.keys(o).forEach(function(t){var e=o[t].push;g.hash(e)&&g.string(e.name)&&(g.number(e.value)&&0<e.value?n.offsetRoot.style.setProperty(e.name,e.value+"px","important"):n.offsetRoot.style.removeProperty(e.name))})},positionLayouts:function(n,o,r,i,s,e){e=!!g.boolean(e)&&e;var a=this,t=a.children.filter(function(t){return e?-1===n.indexOf(t.layout):-1!==n.indexOf(t.layout)});1<n.length&&t.sort(function(t,e){return n.indexOf(t.layout)-n.indexOf(e.layout)});var l=t.length-1,c=-1,u=-1,f={top:0,left:0,right:0,bottom:0};t.forEach(function(t){t.isOpen?c++:u++,a.addToggleOffsets(t,f)});var h=-1,p=-1,d={top:0,left:0,right:0,bottom:0};return t.forEach(function(t,e){t.isOpen?h++:p++;var n={offset:{top:o.top.value,right:o.right.value,bottom:o.bottom.value,left:o.left.value,total:{top:r.top.value,right:r.right.value,bottom:r.bottom.value,left:r.left.value},toggle:{top:d.top,right:d.right,bottom:d.bottom,left:d.left,total:{top:f.top,right:f.right,bottom:f.bottom,left:f.left}}},index:{current:e,max:l,closed:{current:p,max:u},open:{current:h,max:c}}};t.position(n,s),t.isOpen?t.el.style.setProperty("z-index",i--):t.el.style.removeProperty("z-index"),a.addOffsets(t,o),a.addToggleOffsets(t,d)}),i},addOffsets:function(t,e){-1!==["top","top-inline"].indexOf(t.layout)&&t.isOpen&&(e.top.value+=t.lastHeight,t.opt.push&&(e.top.push.value+=t.lastHeight)),"bottom"===t.layout&&t.isOpen&&(e.bottom.value+=t.lastHeight,t.opt.push&&(e.bottom.push.value+=t.lastHeight)),"left"===t.layout&&t.isOpen&&(e.left.value+=t.lastWidth,t.opt.push&&(e.left.push.value+=t.lastWidth)),"right"===t.layout&&t.isOpen&&(e.right.value+=t.lastWidth,t.opt.push&&(e.right.push.value+=t.lastWidth))},addToggleOffsets:function(t,e){t.isOpen||(-1!==["top","top-inline","bottom"].indexOf(t.layout)&&("left"===t.togglePosition&&(0===e.left&&(e.left+=t.raw.toggleOffset),e.left+=t.raw.toggleSize,"circle"===t.toggleStyle&&(e.left+=t.raw.toggleOffset)),"right"!==t.togglePosition&&null!==t.togglePosition||(0===e.right&&(e.right+=t.raw.toggleOffset),e.right+=t.raw.toggleSize,"circle"===t.toggleStyle&&(e.right+=t.raw.toggleOffset))),-1!==["left","right"].indexOf(t.layout)&&(e.top+=t.raw.toggleSize,"circle"===t.toggleStyle&&(e.top+=t.raw.toggleOffset)))},afterTeardown:function(){var t=this;t.screenLG.removeEventListener?(t.screenLG.removeEventListener("change",t.onScreenChange),t.screenMD.removeEventListener("change",t.onScreenChange),t.screenSM.removeEventListener("change",t.onScreenChange),t.screenXS.removeEventListener("change",t.onScreenChange)):(t.screenLG.removeListener(t.onScreenChange),t.screenMD.removeListener(t.onScreenChange),t.screenSM.removeListener(t.onScreenChange),t.screenXS.removeListener(t.onScreenChange)),t._super()},registryCreate:function(t){return this.childRegistry.create(t,this.raw.defaults,this,r.items)},registryCreateAll:function(){return this.childRegistry.createAll(this.$el,this.raw.defaults,this,r.items)},observe:function(e){this.children.forEach(function(t){t.observe(e)})},unobserve:function(){this.children.forEach(function(t){t.unobserve()})},state:function(t,e){var n=this;return g.string(t)?g.undef(e)?n.stored.hasOwnProperty(t)?n.stored[t]:null:(n.stored[t]=e,n.store(),n.stored[t]):n.stored},forget:function(t){g.string(t)?this.stored.hasOwnProperty(t)&&delete this.stored[t]:this.stored={}},store:function(){0<Object.keys(this.stored).length?localStorage.setItem(this.name,JSON.stringify(this.stored)):localStorage.removeItem(this.name)},onBeforeUnload:function(t){t.data.self.store()},onChildDestroyed:function(t){this._super(t),t.target instanceof this.childComponentBase&&this.position(!0)}})}(FooBar.$,FooBar,FooBar.utils,FooBar.utils.is,(FooBar.utils.fn,FooBar.utils.obj),FooBar.utils.str),function(s,a,n,l,c,o,r,i){a.Bar=n.ObservedParentComponent.extend({construct:function(t,e,n,o,r){var i=this;i._super(t,e,n,o,r),i.regex=l.hash(i.raw.regex)?i.raw.regex:{},i.id=i.$el.prop("id"),i.layout=i.getCSSOption(i.regex.layout),i.togglePosition=i.getCSSOption(i.regex.togglePosition),i.toggleStyle=i.getCSSOption(i.regex.toggleStyle),i.transition=i.getCSSOption(i.regex.transition),i.itemTransition=i.getCSSOption(i.regex.itemTransition),i.isOpen=i.$el.hasClass(i.cls.open),i.hasTransition=!l.empty(i.transition),i.hasItemTransition=!l.empty(i.itemTransition),i.$loader=s("<div/>",{class:i.cls.loader}),i.$inner=i.$el.find(i.sel.inner),i.$toggle=i.$el.find(i.sel.toggle),i.$content=i.$el.find(i.sel.content),i.$prev=i.$content.find(i.sel.prev),i.$next=i.$content.find(i.sel.next),i.item=null,i.lastHeight=0,i.lastWidth=i.$el.width(),i.minHeight=parseInt(i.$el.css("min-height"))||0,i.openRules=a.toggleRules.fromOption(i.opt.open,i,"open"),i.closeRules=a.toggleRules.fromOption(i.opt.close,i,"close"),i.isDismissing=!1,i.hasUserInteracted=!1},init:function(){var t=this;return t._super().then(function(){t.observe(!0)},function(t){console.debug(t)})},beforeSetup:function(){var e=this;return i.disable(e.$el,function(t){t.removeClass(e.cls.open).addClass(e.cls.closed).css("display","")}),e._super().then(function(){if(0===e.children.length)return c.rejectWith(new Error(e.i18n.empty));var t=e.state();
1if("dismissed"===t.action)return c.rejectWith(e.i18n.dismissed);e.openRules=a.toggleRules.setOpenRulesState(e,t.action,e.openRules),e.closeRules=a.toggleRules.setCloseRulesState(e,t.action,e.closeRules),1<e.children.length&&e.opt.showNav?(0===e.$prev.length&&(e.$prev=s("<button/>",{class:e.cls.prev,type:"button"}).prependTo(e.$content)),0===e.$next.length&&(e.$next=s("<button/>",{class:e.cls.next,type:"button"}).appendTo(e.$content)),e.$prev.on("click.foobar",{self:e},e.onPrevClick).append(e.icon("prev")),e.$next.on("click.foobar",{self:e},e.onNextClick).append(e.icon("next"))):(0<e.$prev.length&&e.$prev.remove(),0<e.$next.length&&e.$next.remove()),e.$toggle.on("click.foobar",{self:e},e.onToggleClick).append(e.icon("expand"),e.opt.dismiss?e.icon("dismiss"):e.icon("collapse")),e.$loader.append(e.icon("loading")),e.$el.on("click.foobar",{self:e},e.onUserInteraction).on("click.foobar","[data-foobar-action]",{self:e},e.onActionClick)})},afterSetup:function(){var e=this;if(0===e.children.length)return c.rejectWith(new Error(e.i18n.empty));var t=1<e.children.length;return e.$el.toggleClass(e.cls.multiple,t).toggleClass(e.cls.pushing,e.opt.push).toggleClass(e.cls.showNav,t&&e.o
1pt.showNav),e.setActive(e.getInitial(),null,!0).then(function(){return e.parent.position(!0),a.toggleRules.beforeInitialized(e.openRules,e.closeRules)}).then(function(){var t=a.toggleRules.hasImmediate(e.openRules);return i.modify(e.$el,function(t){t.addClass(e.cls.initialized)},t||!e.hasTransition,e.opt.transitionTimeout)}).then(function(){return a.toggleRules.afterInitialized(e.openRules,e.closeRules)})},beforeTeardown:function(){this._super(),this.$el.removeClass(this.cls.initialized)},afterTeardown:function(){var t=this;t._super(),a.toggleRules.teardownRules(t.openRules,t.closeRules),t.$prev.off("click.foobar"),t.$next.off("click.foobar"),t.$toggle.off("click.foobar"),t.$content.removeClass(t.cls.hidden),t.$el.off("click.foobar").removeClass(t.cls.open).removeClass(t.cls.interacted).removeClass(t.cls.noEffects)},prev:function(t){return this.setActive(this.getPrev(),"prev",t)},next:function(t){return this.setActive(this.getNext(),"next",t)},goto:function(t,e){var n=this;if(l.number(t)&&0<=t&&t<n.children.length&&(t=n.children[t]),t instanceof a.Item){var o=n.children.indexOf(t);if(-1!==o){var r=-1;if(n.item instanceof a.Item&&(r=n.children.indexOf(n.item)),-1===r)return n.setActive(t,null,e);var i=o<r?"prev":"next";return n.setActive(t,i,e)}}return c.rejectWith(new Error(n.i18n.itemInvalidArg))},setActive:function(t,e,n){var o=this;if(t instanceof a.Item){var r=[];return o.item instanceof a.Item&&r.push(o.item.active(!1,e,n)),(o.item=t).update(),r.push(t.active(!0,e,n)),r.push(o.height(t.lastContentHeight,n,!0)),c.whenAll(r).then(function(){o.state({active:o.children.indexOf(t)})})}return c.rejectWith(new Error(o.i18n.itemInvalidArg))},getInitial:function(){var t=this;if(0<t.children.length){var e=t.state(),n=l.number(e.active)&&0<=e.active&&e.active<t.children.length?t.children[e.active]:t.findChild(function(t){return t.isActive});return n instanceof a.Item||(n=t.children[0]),n}return null},getByType:function(e){if(0<this.children.length){var t=n.find(this.children,function(t){return t instanceof e});return t instanceof a.Item?t:null}return null},getNext:function(){var t=this;if(1<t.children.length&&t.item instanceof a.Item){var e=t.children.indexOf(t.item)+1;return e>=t.children.length&&(e=0),t.children[e]}return null},getPrev:function(){var t=this;if(1<t.children.length&&t.item instanceof a.Item){var e=t.children.indexOf(t.item)-1;return e<0&&(e=t.children.length-1),t.children[e]}return null},getNth:function(t){var e=this.children.length;if(l.string(t))switch(t){case"first":t=1;break;case"last":t=e}return l.number(t)&&0<e&&0<t&&t<=e?this.children[t-1]:null},getFirst:function(){return this.getNth("first")},getLast:function(){return this.getNth("last")},toggle:function(e,t){var n=this;return l.boolean(e)||(e=!n.$el.hasClass(n.cls.open)),n.isOpen=e,n.parent.unobserve(),n.parent.position(t),i.disable(n.$content,function(t){t.removeClass(n.cls.hidden).css("height",n.lastHeight)}),i.modify(n.$el,function(t){t.toggleClass(n.cls.open,e).toggleClass(n.cls.closed,!e)},!n.hasTransition||t,n.opt.transitionTimeout).always(function(){i.disable(n.$content,function(t){t.css("height",""),e||t.addClass(n.cls.hidden)}),n.parent.observe(!0),n.state({action:n.isOpen?"open":"closed"})})},dismiss:function(t){var e=this;return e.isDismissing?c.rejectWith(e.i18n.dismissing):(e.isDismissing=!0,l.boolean(t)||(t=e.opt.dismissImmediate),e.$el.addClass(e.cls.dismissed),e.toggle(!1,t).always(function(){e.destroy(),e.$el.remove(),e.state({action:"dismissed"}),e.isDismissing=!1}))},height:function(e,t,n){var o=this;return l.number(e)?(0<o.minHeight&&e<o.minHeight&&(e=o.minHeight),o.lastHeight===e?c.resolved:(o.lastHeight=e,o.parent.unobserve(),n&&o.parent.position(t),i.modify(o.$el,function(t){t.css("height",e)},!o.hasItemTransition||t,o.opt.transitionTimeout).always(function(){o.parent.observe(!0)}))):o.$el.css("height")},width:function(){var t=this,e=t.$el.css("max-width");t.el.style.removeProperty("max-width"),t.el.offsetWidth;var n=t.$el.width();return e!==t.$el.css("max-width")&&t.$el.css("max-width"),t.el.offsetWidth,n},perform:function(t,e){var n=this;switch(t){case"prev":return n.prev(e);case"next":return n.next(e);case"dismiss":return n.dismiss(e);case"open":return n.toggle(!0,e);
1case"close":return n.toggle(!1,e);case"toggle":return n.toggle(null,e);default:return n.item instanceof a.Item&&l.fn(n.item[t])?n.item[t](e):c.rejectWith(new Error(r.format(n.i18n.unsupported,{action:t})))}},modify:function(t,e){var n=this,o=n.isObserved;return o&&n.unobserve(),i.modify(n.$el,t,e,n.opt.transitionTimeout).always(function(){o&&n.observe()})},icon:function(t,e,n){var o=this;return l.string(e)||(e=o.opt.svg),l.array(n)||(n=[]),o.cls.icons.hasOwnProperty(t)&&n.push(o.cls.icons[t]),o.opt.icons.hasOwnProperty(t)?a.icons.get(o.opt.icons[t],e,n):a.icons.get(t,e,n)},getCSSOption:function(t){if(t instanceof RegExp){var e=this.el.className.match(t);if(null!==e&&2===e.length)return e[1]}return null},disableTransitionsTemporarily:function(t){i.disable(this.$el,t,this)},state:function(t){var e=this;if(!e.opt.remember||e.opt.preview)return o.extend({},e.raw.state);var n=e.parent.state(e.id);return l.string(n)&&(n={action:n}),n=o.extend({},e.raw.state,n),l.number(n.modified)||(n=e.parent.state(e.id,o.extend(n,{modified:Date.now()}))),l.undef(t)?0<e.opt.stateDuration&&Date.now()-n.modified>e.opt.stateDuration*e.opt.stateDurationModifier?e.parent.state(e.id,o.extend({},e.raw.state,{modified:Date.now()})):n:e.parent.state(e.id,o.extend({},n,t,{modified:Date.now()}))},forget:function(){this.opt.preview||this.parent.forget(this.id)},position:function(t,e){var n,o,r,i=this,s={};i.isOpen&&0<t.offset.left&&-1!==["left","left-top","left-center","left-bottom"].indexOf(i.layout)?s.left=t.offset.left+"px":!i.isOpen&&0<t.offset.total.left&&-1!==["left","left-top","left-center","left-bottom"].indexOf(i.layout)?s.left=t.offset.total.left+"px":s.left="",0<t.offset.right&&-1!==["right","right-top","right-center","right-bottom"].indexOf(i.layout)?s.right=(i.isOpen?t.offset.right:t.offset.total.right)+"px":s.right="",0<t.offset.top?-1!==["left-top","right-top"].indexOf(i.layout)?s.top=t.offset.top+i.raw.toggleOffset+i.raw.toggleSize+"px":-1!==["top","top-left","top-right","top-inline","left","right"].indexOf(i.layout)?s.top=t.offset.top+"px":s.top="":s.top="",0<t.offset.bottom?-1!==["left-bottom","right-bottom"].indexOf(i.layout)?s.bottom=t.offset.bottom+i.raw.toggleOffset+i.raw.toggleSize+"px":-1!==["bottom","bottom-left","bottom-right","left","right"].indexOf(i.layout)?s.bottom=t.offset.bottom+"px":s.bottom="":s.bottom="",-1===["inline","top-inline"].indexOf(i.layout)?(n=t.offset.total.top+t.offset.total.bottom,s.maxHeight=0<n?"calc(100% - "+n+"px)":"",0<n&&-1!==["left-center","right-center"].indexOf(i.layout)&&(s.top="calc(50% + "+(t.offset.total.top/2-t.offset.total.bottom/2)+"px)")):s.maxHeight="",e&&i.el.style.setProperty("transition","none","important"),i.$el.css(s),e&&(i.el.offsetHeight,i.el.style.removeProperty("transition")),0<t.index.max&&(o={position:"",top:"",right:"",bottom:"",left:"",transform:""},i.isOpen||(-1!==["top","top-inline"].indexOf(i.layout)&&0<t.offset.total.top-t.offset.top&&(o.top=t.offset.total.top-t.offset.top,"circle"===i.toggleStyle&&(o.top+=i.raw.toggleOffset)),-1!==["bottom"].indexOf(i.layout)&&0<t.offset.total.bottom-t.offset.bottom&&(o.bottom=t.offset.total.bottom-t.offset.bottom,"circle"===i.toggleStyle&&(o.bottom+=i.raw.toggleOffset)),-1!==["top","top-inline","bottom"].indexOf(i.layout)&&(0<t.offset.toggle.left&&"left"===i.togglePosition?o.left=t.offset.toggle.left:0<t.offset.toggle.right&&["right",null].indexOf(i.togglePosition)&&(o.right=t.offset.toggle.right)),-1!==["left","right"].indexOf(i.layout)&&((0<t.offset.toggle.top||0<t.offset.toggle.total.top)&&(o.transform="translateY(-50%) translateY("+t.offset.toggle.top+"px) translateY(-"+t.offset.toggle.total.top/2+"px)","circle"===i.toggleStyle&&(o.transform="translateY(-50%) translateY("+(t.offset.toggle.top+i.raw.toggleOffset)+"px) translateY(-"+t.offset.toggle.total.top/2+"px)")),0<t.offset.toggle.left&&"left"===i.layout?o.left=t.offset.toggle.left:0<t.offset.toggle.right&&"right"===i.layout&&(o.right=t.offset.toggle.right))),r=i.$toggle.get(0),e&&r.style.setProperty("transition","none","important"),i.$toggle.css(o),e&&(r.offsetHeight,r.style.removeProperty("transition")))},performLayout:function(t){var e=this,n=e.width();e.minHeight=parseInt(e.$el.css("min-height"))||0,e.isOpen=e.$el.hasClass(e.cls.open),e.layout=e.getCSSOption(e.regex.layout),e.togglePosition=e.getCSSOption(e.regex.togglePosition),e.toggleStyle=e.getCSSOption(e.regex.toggleStyle),e.transition=e.getCSSOption(e.regex.transition),e.itemTransition=e.getCSSOption(e.regex.itemTransition),e.hasTransition=!l.empty(e.transition),e.hasItemTransition=!l.empty(e.itemTransition),n!==e.lastWidth&&(e.lastWidth=n),e.item instanceof a.Item&&e.item.update(
1)&&e.height(e.item.lastContentHeight,!0,!1),(t=!l.boolean(t)||t)&&e.parent.position(!0)},onPrevClick:function(t){t.preventDefault(),t.data.self.prev()},onNextClick:function(t){t.preventDefault(),t.data.self.next()},onToggleClick:function(t){t.preventDefault();var e=t.data.self;e.opt.dismiss&&e.isOpen?e.dismiss(e.opt.dismissImmediate):e.toggle()},onUserInteraction:function(t){var e=t.data.self;e.hasUserInteracted||(e.hasUserInteracted=!0,e.unobserve(),e.$el.addClass(e.cls.interacted),e.opt.disableEffects&&e.$el.addClass(e.cls.noEffects),e.$el.prop("offsetHeight"),e.observe(!0))},onActionClick:function(t){t.preventDefault();var e=t.data.self,n=s(this),o=n.data("foobar-action"),r=n.data("immediate");e.perform(o,r)},onSizeChange:function(){this.performLayout(!0)},onClassChange:function(){this.performLayout(!0)}}),a.bars.register("bar",a.Bar,".foobar",{options:{icons:{expand:"plus",collapse:"minus",dismiss:"cross",prev:"arrow-left",next:"arrow-right",loading:"spinner"},offset:0,push:!1,remember:!1,stateDuration:0,stateDurationModifier:864e5,dismiss:!1,dismissImmediate:!1,showNav:!0,disableEffects:!1,open:{},close:{},transitionTimeout:350,on:{},preview:!1,svg:"defaults"},state:{action:null,active:-1,modified:null},toggleOffset:10,toggleSize:46,regex:{layout:/(?:\s|^)?fbr-layout-(.*?)(?:\s|$)/,togglePosition:/(?:\s|^)?fbr-toggle-(left|right|none)(?:\s|$)/,toggleStyle:/(?:\s|^)?fbr-toggle-(default|circle|overlap)(?:\s|$)/,transition:/(?:\s|^)?fbr-transition-(?!item-)?(.*?)(?:\s|$)/,itemTransition:/(?:\s|^)?fbr-transition-item-(.*?)(?:\s|$)/},classes:{el:"foobar",dismissed:"fbr-dismissed",closed:"fbr-closed",open:"fbr-open",loader:"fbr-loader",inner:"fbr-inner",content:"fbr-content",toggle:"fbr-toggle",items:"fbr-items",prev:"fbr-prev",next:"fbr-next",item:"fbr-item",pushing:"fbr-pushing",hidden:"fbr-hidden",initialized:"fbr-initialized",multiple:"fbr-multiple-items",showNav:"fbr-show-nav",interacted:"fbr-interacted",noEffects:"fbr-no-effects",icons:{expand:"fbr-expand-icon",collapse:"fbr-collapse-icon",dismiss:"fbr-dismiss-icon",prev:"fbr-prev-icon",next:"fbr-next-icon",loading:"fbr-loading-icon"}},i18n:{empty:"No items were initialized.",unsupported:"The provided '{action}' action is not supported.",dismissed:"The bar has been dismissed previously and will not be initialized.",dismissing:"The bar is currently being dismissed.",itemInvalidArg:"The first argument supplied to the 'setActive' method must be an instance of FooBar.Item."},defaults:{}},-1)}(FooBar.$,FooBar,FooBar.utils,FooBar.utils.is,FooBar.utils.fn,FooBar.utils.obj,FooBar.utils.str,FooBar.utils.transition),function(t,e,n,i){t.ToggleRule=e.Class.extend({construct:function(t,e,n,o){var r=this;r.name=t,r.cfg=i.extend({},e),r.parent=n,r.plugin=n.parent,r.action=o},init:function(){var t=this;return n.resolved.then(function(){return t.setup()})},setup:function(){},destroy:function(){this.teardown()},teardown:function(){},apply:function(){var t=this;switch(t.action){case"open":return t.parent.isOpen?n.resolved:(t.parent.trigger("open-rule",[t]),t.parent.toggle(!0,!t.cfg.allowTransition));case"close":return t.parent.isOpen?(t.parent.trigger("close-rule",[t]),t.parent.toggle(!1,!t.cfg.allowTransition)):n.resolved;default:return n.rejectWith(new Error("Unknown action '"+t.action+"' in rule '"+t.name+"'."))}}}),t.toggleRules.register("toggle-rule",t.ToggleRule,{allowTransition:!0},-1)}((FooBar.$,FooBar),FooBar.utils,FooBar.utils.fn,FooBar.utils.obj),function(t){t.ToggleRule.Delay=t.ToggleRule.extend({setup:function(){var t=this;if(!(0<t.cfg.value))return t.apply();t.delayHandle=setTimeout(function(){t.apply()},t.cfg.value)},teardown:function(){clearTimeout(this.delayHandle)}}),t.toggleRules.register("delay",t.ToggleRule.Delay,{value:0})}((FooBar.$,FooBar),(FooBar.utils,FooBar.utils.fn,FooBar.utils.obj)),function(t){t.ToggleRule.ElementVisibility=t.ToggleRule.extend({construct:function(t,e,n,o){var r=this;r._super(t,e,n,o),r.$root=r.plugin.$viewport,r.$target=r.$root.find(r.cfg.selector),r.iObserver=new IntersectionObserver(r.onIntersectionObserved.bind(r),{root:r.plugin.isDocumentElement&&IntersectionObserver.prototype.POLL_INTERVAL?null:r.$root.get(0),rootMargin:r.cfg.rootMargin,threshold:r.cfg.threshold})},setup:function(){0<this.$target.length&&this.iObserver.observe(this.$target.get(0))},teardown:function(){this.iObserver.disconnect()},onIntersectionObserved:function(t){var e=this;t.forEach(function(t){if(t.target===e.$target.get(0))switch(e.action){case"open":case"close"
1:(t.isIntersecting&&e.cfg.visible||!t.isIntersecting&&!e.cfg.visible)&&(e.cfg.once&&e.iObserver.disconnect(),e.apply())}})}}),t.toggleRules.register("element-visibility",t.ToggleRule.ElementVisibility,{selector:null,rootMargin:"0px",threshold:0,visible:!0,once:!0},10)}((FooBar.$,FooBar),(FooBar.utils,FooBar.utils.fn,FooBar.utils.obj)),function(t,e){t.ToggleRule.ExitIntent=t.ToggleRule.extend({construct:function(t,e,n,o){var r=this;r._super(t,e,n,o),r.$root=r.plugin.$viewport,r.root=r.$root.get(0),r.isElement=r.root instanceof Element,r.delayId=null},setup:function(){var t=this;e.number(t.cfg.delay)&&0<t.cfg.delay?t.delayId=setTimeout(function(){t.$root.on("mouseout.foobar",{self:t},t.onMouseout)},1e3*t.cfg.delay):t.$root.on("mouseout.foobar",{self:t},t.onMouseout)},teardown:function(){clearTimeout(this.delayId),this.delayId=null,this.$root.off("mouseout.foobar",this.onMouseout)},onMouseout:function(t){var e=t.data.self;switch(e.action){case"open":case"close":e.getIsExiting(t)&&(e.cfg.once&&e.$root.off("mouseout.foobar",e.onMouseout),e.apply())}},getIsExiting:function(t){var e=this.isElement&&!this.root.contains(t.toElement),n=!this.isElement&&null===t.toElement&&null===t.relatedTarget;return e||n}}),t.toggleRules.register("exit-intent",t.ToggleRule.ExitIntent,{delay:0,once:!0})}((FooBar.$,FooBar),(FooBar.utils,FooBar.utils.is),FooBar.utils.obj),function(t){t.ToggleRule.Immediate=t.ToggleRule.extend({setup:function(){return this.apply()}}),t.toggleRules.register("immediate",t.ToggleRule.Immediate,{allowTransition:!1})}((FooBar.$,FooBar),(FooBar.utils,FooBar.utils.obj)),function(i,t,o){t.ToggleRule.Scroll=t.ToggleRule.extend({construct:function(t,e,n,o){var r=this;r._super(t,e,n,o),r.$document=i(document),r.$root=r.plugin.$scrollParent,r.isElement=r.$root.get(0)instanceof Element},update:function(){var t=this;t.teardown(),t.$document=i(document),t.$root=t.plugin.$scrollParent,t.isElement=t.$root.get(0)instanceof Element,t.setup()},setup:function(){var t=this;o.number(t.cfg.value)&&0<t.cfg.value&&t.$root.on("scroll.foobar",{self:t},t.onScroll)},teardown:function(){this.$root.off("scroll.foobar",this.onScroll)},onScroll:function(t){var e=t.data.self;switch(e.action){case"open":case"close":e.compare(e.getScrollOffset(),e.cfg.value,e.cfg.comparator)&&(e.cfg.once&&e.$root.off("scroll.foobar",e.onScroll),e.apply())}},compare:function(t,e,n){if(o.fn(n))return n.call(this,t,e);if(o.string(n))switch(n){case"<":return t<e;case">":return e<t;case"<=":return t<=e;case">=":return e<=t;case"===":return t===e}return!1},getScrollOffset:function(){var t=this;switch(t.name){case"scroll-top":return t.$root.scrollTop();case"scroll-bottom":return(t.isElement?t.$root.prop("scrollHeight"):t.$document.height())-t.$root.height()-t.$root.scrollTop()}}}),t.toggleRules.register("scroll-top",t.ToggleRule.Scroll,{value:0,comparator:">=",once:!0}),t.toggleRules.register("scroll-bottom",t.ToggleRule.Scroll,{value:0,comparator:"<=",once:!0})}(FooBar.$,FooBar,(FooBar.utils,FooBar.utils.is),FooBar.utils.obj),function(t){t.ToggleRule.Transition=t.ToggleRule.extend({setup:function(){return this.apply()}}),t.toggleRules.register("transition",t.ToggleRule.Transition)}((FooBar.$,FooBar),(FooBar.utils,FooBar.utils.fn,FooBar.utils.obj)),function(i,t,e,a,n,l){function o(t){return r.apply(this,arguments)}var r,s;function c(){return s.apply(this,arguments)}t.Item=e.Component.extend({construct:function(t,e,n,o){var r=this;r._super(t,e,n,o),r.$inner=r.$el.find(r.sel.inner),r.timeoutHandle=null,r.$timeout=i("<span/>",{class:r.cls.timeout}),r.isActive=r.$el.hasClass(r.cls.active),r.lastContentHeight=0,r.capabilities=a.array(r.raw.capabilities)?r.raw.capabilities:[]},destroy:function(){null!==this.timeoutHandle&&(clearTimeout(this.timeoutHandle),this.timeoutHandle=null),this._super()},active:function(o,r,i){var s=this;return a.boolean(o)?n.resolved.then(function(){return s.clearTimeout(),s.beforeActive(o)}).then(function(){s.isActive=o;var e=null;switch(r){case"prev":e=o?s.cls.prev:s.cls.next;break;case"next":e=o?s.cls.next:s.cls.prev}s.update(),(i=i||!s.parent.hasItemTransition||null===e)||null===e||l.disable(s.$el,function(t){t.addClass(e)});var t,n=l.modify(s.$el,function(t){t.toggleClass(s.cls.active,o)},i,s.parent.opt.transitionTimeout);return i||null===e||(t=function(){l.disable(s.$el,function(t){t.removeClass(e)})},n.then(t,t)),n}).then(function(){s.setTimeout(s.opt.duration),s.afterActive(o)}):n.rejectWith(new Error(s.i18n.activeInvalidArg))},beforeActive:function(){},afterActive:function(){},onTimeout:function(){this.parent.perform(this.opt.timeoutAction,this.opt.timeoutActionImmediate)},clearTimeout:(s=function(){null!==this.timeoutHandle&&(clearTimeout(this.timeoutHandle),this.timeoutHandle=null),this.$timeout.remove().css("animation-duration","")},c.toString=function(){return s.toString()},c),setTimeout:(r=function(t){t=a.number(t)?t:0;var e=this;e.clearTimeout(),e.opt.duration=t,e.isActive&&0<e.opt.duration&&(e.$timeout.css("animation-duration",e.opt.duration+"ms"),e.$el.append(e.$timeout),e.timeoutHandle=setTimeout(function(){e.timeoutHandle=null,e.$timeout.remove().css("animation-duration",""),e.onTimeout()},e.opt.duration))},o.toString=function(){return r.toString()},o),resetTimeout:function(){this.setTimeout(this.opt.duration)},update:function(){var n=this,o=!1;return l.disable(n.$inner,function(t){var e=t.get(0).scrollHeight;e%2==1&&e++,n.lastContentHeight!==e&&(n.lastContentHeight=e,o=!0)}),o}}),t.items.register("item",t.Item,".fbr-item",{options:{duration:0,timeoutAction:"next",timeoutActionImmediate:!1},classes:{inner:"fbr-item-inner",timeout:"fbr-item-timeout",active:"fbr-active",prev:"fbr-item-prev",next:"fbr-item-next",message:"fbr-message",buttons:"fbr-buttons",button:"fbr-button",input:"fbr-input",hidden:"fbr-hidden",icon:"fbr-icon",progress:{el:"fbr-progress-bar",fill:"fbr-progress-bar-fill",text:"fbr-progress-bar-text"}},i18n:{activeInvalidArg:"The first argument supplied to the 'active' method must be a boolean."},capabilities:[]},-1)}(FooBar.$,FooBar,FooBar.utils,FooBar.utils.is,FooBar.utils.fn,FooBar.utils.transition),function(n,o,t){n.plugin=new n.Plugin(document.documentElement,{options:{zIndex:99998},classes:{pushTransition:"foobar-push-transition"},defaults:{}}),t.expose(n.plugin,n,["on","off","trigger","destroy","configure","forget"]),n.create=function(t){if(o.string(t)){var e=n.plugin.$el.find("#"+t);if(0<e.length)return n.plugin.createChild(e)}return null},n.createAll=function(){return n.plugin.createChildren()},n.get=function(e){if(o.string(e))return n.plugin.findChild(function(t){return t.el.id===e})},n.getAll=function(){return n.plugin.children.slice()}
1,n.destroyAll=function(){n.getAll().forEach(function(t){t.destroy()})},n.dismissAll=function(e){n.getAll().forEach(function(t){t.dismiss(e)})},n.layout=function(t){return n.getAll().forEach(function(t){t.performLayout(!1)}),n.plugin.position(t)}}((FooBar.$,FooBar),(FooBar.utils,FooBar.utils.is),FooBar.utils.fn,FooBar.utils.obj),function(t,e){e.ready(function(){t.icons.init(),t.plugin.configure(window.FOOBAR),t.plugin.init().then(function(){t.plugin.trigger("ready")})})}((FooBar.$,FooBar),FooBar.utils,(FooBar.utils.is,FooBar.utils.fn,FooBar.utils.obj));
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.