!function(a,b){“object”==typeof module&&“object”==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error(“jQuery requires a window with a document”);return b(a)}:b(a)}(“undefined”!=typeof window?window:this,function(a,b){function c(a){var b=!!a&&“length”in a&&a.length,c=fa.type(a);return“function”===c||fa.isWindow(a)?!1:“array”===c||0===b||“number”==typeof b&&b>0&&b-1 in a}function d(a,b,c){if(fa.isFunction(b))return fa.grep(a,function(a,d){return!!b.call(a,d,a)!==c});if(b.nodeType)return fa.grep(a,function(a){return a===b!==c});if(“string”==typeof b){if(pa.test(b))return fa.filter(b,a,c);b=fa.filter(b,a)}return fa.grep(a,function(a){return _.call(b,a)>-1!==c})}function e(a,b){for(;(a=a[b])&&1!==a.nodeType;);return a}function f(a){var b={};return fa.each(a.match(va)||[],function(a,c){b[c]=!0}),b}function g(){X.removeEventListener(“DOMContentLoaded”,g),a.removeEventListener(“load”,g),fa.ready()}function h(){this.expando=fa.expando+h.uid++}function i(a,b,c){var d;if(void 0===c&&1===a.nodeType)if(d=“data-”+b.replace(Ca,“-$&”).toLowerCase(),c=a.getAttribute(d),“string”==typeof c){try{c=“true”===c?!0:“false”===c?!1:“null”===c?null:c
“”===c?+c:Ba.test©?fa.parseJSON©:c}catch(e){}Aa.set(a,b,c)}else c=void 0;return c}function j(a,b,c,d){var e,f=1,g=20,h=d?function(){return d.cur()}:function(){return fa.css(a,b,“”)},i=h(),j=c&&c[3]||(fa.cssNumber[b]?“”:“px”),k=(fa.cssNumber[b]||“px”!==j&&+i)&&Ea.exec(fa.css(a,b));if(k&&k[3]!==j){j=j||k[3],c=c||[],k=+i||1;do f=f||“.5”,k/=f,fa.style(a,b,k+j);while(f!==(f=h()/i)&&1!==f&&–g)}return c&&(k=+k||+i||0,e=c[1]?k+(c[1]+1)*c[2]:+c[2],d&&(d.unit=j,d.start=k,d.end=e)),e}function k(a,b){var c=“undefined”!=typeof a.getElementsByTagName?a.getElementsByTagName(b||“*”):“undefined”!=typeof a.querySelectorAll?a.querySelectorAll(b||“*”):[];return void 0===b||b&&fa.nodeName(a,b)?fa.merge([a],c):c}function l(a,b){for(var c=0,d=a.length;d>c;c++)za.set(a[c],“globalEval”,!b||za.get(b[c],“globalEval”))}function m(a,b,c,d,e){for(var f,g,h,i,j,m,n=b.createDocumentFragment(),o=[],p=0,q=a.length;q>p;p++)if(f=a[p],f||0===f)if(“object”===fa.type(f))fa.merge(o,f.nodeType?[f]:f);else if(La.test(f)){for(g=g||n.appendChild(b.createElement(“div”)),h=(Ia.exec(f)||[“”,“”])[1].toLowerCase(),i=Ka[h]||Ka._default,g.innerHTML=i[1]+fa.htmlPrefilter(f)+i[2],m=i[0];m–;)g=g.lastChild;fa.merge(o,g.childNodes),g=n.firstChild,g.textContent=“”}else o.push(b.createTextNode(f));for(n.textContent=“”,p=0;f=o[p++];)if(d&&fa.inArray(f,d)>-1)e&&e.push(f);else if(j=fa.contains(f.ownerDocument,f),g=k(n.appendChild(f),“script”),j&&l(g),c)for(m=0;f=g[m++];)Ja.test(f.type||“”)&&c.push(f);return n}function n(){return!0}function o(){return!1}function p(){try{return X.activeElement}catch(a){}}function q(a,b,c,d,e,f){var g,h;if(“object”==typeof b){“string”!=typeof c&&(d=d||c,c=void 0);for(h in b)q(a,h,c,d,b[h],f);return a}if(null==d&&null==e?(e=c,d=c=void 0):null==e&&(“string”==typeof c?(e=d,d=void 0):(e=d,d=c,c=void 0)),e===!1)e=o;else if(!e)return a;return 1===f&&(g=e,e=function(a){return fa().off(a),g.apply(this,arguments)},e.guid=g.guid||(g.guid=fa.guid++)),a.each(function(){fa.event.add(this,b,e,d,c)})}function r(a,b){return fa.nodeName(a,“table”)&&fa.nodeName(11!==b.nodeType?b:b.firstChild,“tr”)?a.getElementsByTagName(“tbody”)[0]||a.appendChild(a.ownerDocument.createElement(“tbody”)):a}function s(a){return a.type=(null!==a.getAttribute(“type”))+“/”+a.type,a}function t(a){var b=Sa.exec(a.type);return b?a.type=b[1]:a.removeAttribute(“type”),a}function u(a,b){var c,d,e,f,g,h,i,j;if(1===b.nodeType){if(za.hasData(a)&&(f=za.access(a),g=za.set(b,f),j=f.events)){delete g.handle,g.events={};for(e in j)for(c=0,d=j[e].length;d>c;c++)fa.event.add(b,e,j[e][c])}Aa.hasData(a)&&(h=Aa.access(a),i=fa.extend({},h),Aa.set(b,i))}}function v(a,b){var c=b.nodeName.toLowerCase();“input”===c&&Ha.test(a.type)?b.checked=a.checked:“input”!==c&&“textarea”!==c||(b.defaultValue=a.defaultValue)}function w(a,b,c,d){b=Z.apply([],b);var e,f,g,h,i,j,l=0,n=a.length,o=n-1,p=b[0],q=fa.isFunction(p);if(q||n>1&&“string”==typeof p&&!da.checkClone&&Ra.test(p))return a.each(function(e){var f=a.eq(e);q&&(b[0]=p.call(this,e,f.html())),w(f,b,c,d)});if(n&&(e=m(b,a[0].ownerDocument,!1,a,d),f=e.firstChild,1===e.childNodes.length&&(e=f),f||d)){for(g=fa.map(k(e,“script”),s),h=g.length;n>l;l++)i=e,l!==o&&(i=fa.clone(i,!0,!0),h&&fa.merge(g,k(i,“script”))),c.call(a[l],i,l);if(h)for(j=g[g.length-1].ownerDocument,fa.map(g,t),l=0;h>l;l++)i=g[l],Ja.test(i.type||“”)&&!za.access(i,“globalEval”)&&fa.contains(j,i)&&(i.src?fa._evalUrl&&fa._evalUrl(i.src):fa.globalEval(i.textContent.replace(Ta,“”)))}return a}function x(a,b,c){for(var d,e=b?fa.filter(b,a):a,f=0;null!=(d=e[f]);f++)c||1!==d.nodeType||fa.cleanData(k(d)),d.parentNode&&(c&&fa.contains(d.ownerDocument,d)&&l(k(d,“script”)),d.parentNode.removeChild(d));return a}function y(a,b){var c=fa(b.createElement(a)).appendTo(b.body),d=fa.css(c[0],“display”);return c.detach(),d}function z(a){var b=X,c=Va[a];return c||(c=y(a,b),“none”!==c&&c||(Ua=(Ua||fa(“”)).appendTo(b.documentElement),b=Ua[0].contentDocument,b.write(),b.close(),c=y(a,b),Ua.detach()),Va[a]=c),c}function A(a,b,c){var d,e,f,g,h=a.style;return c=c||Ya(a),g=c?c.getPropertyValue(b)||c[b]:void 0,“”!==g&&void 0!==g||fa.contains(a.ownerDocument,a)||(g=fa.style(a,b)),c&&!da.pixelMarginRight()&&Xa.test(g)&&Wa.test(b)&&(d=h.width,e=h.minWidth,f=h.maxWidth,h.minWidth=h.maxWidth=h.width=g,g=c.width,h.width=d,h.minWidth=e,h.maxWidth=f),void 0!==g?g+“”:g}function B(a,b){return{get:function(){return a()?void delete this.get:(this.get=b).apply(this,arguments)}}}function C(a){if(a in db)return a;for(var b=a[0].toUpperCase()+a.slice(1),c=cb.length;c–;)if(a=cb[c]+b,a in db)return a}function D(a,b,c){var d=Ea.exec(b);return d?Math.max(0,d[2]-(c||0))+(d[3]||“px”):b}function E(a,b,c,d,e){for(var f=c===(d?“border”:“content”)?4:“width”===b?1:0,g=0;4>f;f+=2)“margin”===c&&(g+=fa.css(a,c+Fa[f],!0,e)),d?(“content”===c&&(g-=fa.css(a,“padding”+Fa[f],!0,e)),“margin”!==c&&(g-=fa.css(a,“border”Fa[f]
“Width”,!0,e))):(g+=fa.css(a,“padding”+Fa[f],!0,e),“padding”!==c&&(g+=fa.css(a,“border”Fa[f]
“Width”,!0,e)));return g}function F(a,b,c){var d=!0,e=“width”===b?a.offsetWidth:a.offsetHeight,f=Ya(a),g=“border-box”===fa.css(a,“boxSizing”,!1,f);if(0>=e||null==e){if(e=A(a,b,f),(0>e||null==e)&&(e=a.style[b]),Xa.test(e))return e;d=g&&(da.boxSizingReliable()||e===a.style[b]),e=parseFloat(e)||0}return e+E(a,b,c||(g?“border”:“content”),d,f)+“px”}function G(a,b){for(var c,d,e,f=[],g=0,h=a.length;h>g;g++)d=a[g],d.style&&(f[g]=za.get(d,“olddisplay”),c=d.style.display,b?(f[g]||“none”!==c||(d.style.display=“”),“”===d.style.display&&Ga(d)&&(f[g]=za.access(d,“olddisplay”,z(d.nodeName)))):(e=Ga(d),“none”===c&&e||za.set(d,“olddisplay”,e?c:fa.css(d,“display”))));for(g=0;h>g;g++)d=a[g],d.style&&(b&&“none”!==d.style.display&&“”!==d.style.display||(d.style.display=b?f[g]||“”:“none”));return a}function H(a,b,c,d,e){return new H.prototype.init(a,b,c,d,e)}function I(){return a.setTimeout(function(){eb=void 0}),eb=fa.now()}function J(a,b){var c,d=0,e={height:a};for(b=b?1:0;4>d;d+=2-b)c=Fa[d],e[“margin”+c]=e[“padding”+c]=a;return b&&(e.opacity=e.width=a),e}function K(a,b,c){for(var d,e=(N.tweeners[b]||[]).concat(N.tweeners[“*”]),f=0,g=e.length;g>f;f++)if(d=e[f].call(c,b,a))return d}function L(a,b,c){var d,e,f,g,h,i,j,k,l=this,m={},n=a.style,o=a.nodeType&&Ga(a),p=za.get(a,“fxshow”);c.queue||(h=fa._queueHooks(a,“fx”),null==h.unqueued&&(h.unqueued=0,i=h.empty.fire,h.empty.fire=function(){h.unqueued||i()}),h.unqueued++,l.always(function(){l.always(function(){h.unqueued–,fa.queue(a,“fx”).length||h.empty.fire()})})),1===a.nodeType&&(“height”in b||“width”in b)&&(c.overflow=[n.overflow,n.overflowX,n.overflowY],j=fa.css(a,“display”),k=“none”===j?za.get(a,“olddisplay”)||z(a.nodeName):j,“inline”===k&&“none”===fa.css(a,“float”)&&(n.display=“inline-block”)),c.overflow&&(n.overflow=“hidden”,l.always(function(){n.overflow=c.overflow[0],n.overflowX=c.overflow[1],n.overflowY=c.overflow[2]}));for(d in b)if(e=b[d],gb.exec(e)){if(delete b[d],f=f||“toggle”===e,e===(o?“hide”:“show”)){if(“show”!==e||!p||void 0===p[d])continue;o=!0}m[d]=p&&p[d]||fa.style(a,d)}else j=void 0;if(fa.isEmptyObject(m))“inline”===(“none”===j?z(a.nodeName):j)&&(n.display=j);else{p?“hidden”in p&&(o=p.hidden):p=za.access(a,“fxshow”,{}),f&&(p.hidden=!o),o?fa(a).show():l.done(function(){fa(a).hide()}),l.done(function(){var b;za.remove(a,“fxshow”);for(b in m)fa.style(a,b,m[b])});for(d in m)g=K(o?p[d]:0,d,l),d in p||(p[d]=g.start,o&&(g.end=g.start,g.start=“width”===d||“height”===d?1:0))}}function M(a,b){var c,d,e,f,g;for(c in a)if(d=fa.camelCase©,e=b[d],f=a[c],fa.isArray(f)&&(e=f[1],f=a[c]=f[0]),c!==d&&(a[d]=f,delete a[c]),g=fa.cssHooks[d],g&&“expand”in g){f=g.expand(f),delete a[d];for(c in f)c in a||(a[c]=f[c],b[c]=e)}else b[d]=e}function N(a,b,c){var d,e,f=0,g=N.prefilters.length,h=fa.Deferred().always(function(){delete i.elem}),i=function(){if(e)return!1;for(var b=eb||I(),c=Math.max(0,j.startTime+j.duration-b),d=c/j.duration||0,f=1-d,g=0,i=j.tweens.length;i>g;g++)j.tweens[g].run(f);return h.notifyWith(a,[j,f,c]),1>f&&i?c:(h.resolveWith(a,[j]),!1)},j=h.promise({elem:a,props:fa.extend({},b),opts:fa.extend(!0,{specialEasing:{},easing:fa.easing._default},c),originalProperties:b,originalOptions:c,startTime:eb||I(),duration:c.duration,tweens:[],createTween:function(b,c){var d=fa.Tween(a,j.opts,b,c,j.opts.specialEasing[b]||j.opts.easing);return j.tweens.push(d),d},stop:function(b){var c=0,d=b?j.tweens.length:0;if(e)return this;for(e=!0;d>c;c++)j.tweens[c].run(1);return b?(h.notifyWith(a,[j,1,0]),h.resolveWith(a,[j,b])):h.rejectWith(a,[j,b]),this}}),k=j.props;for(M(k,j.opts.specialEasing);g>f;f++)if(d=N.prefilters[f].call(j,a,k,j.opts))return fa.isFunction(d.stop)&&(fa._queueHooks(j.elem,j.opts.queue).stop=fa.proxy(d.stop,d)),d;return fa.map(k,K,j),fa.isFunction(j.opts.start)&&j.opts.start.call(a,j),fa.fx.timer(fa.extend(i,{elem:a,anim:j,queue:j.opts.queue})),j.progress(j.opts.progress).done(j.opts.done,j.opts.complete).fail(j.opts.fail).always(j.opts.always)}function O(a){return a.getAttribute&&a.getAttribute(“class”)||“”}function P(a){return function(b,c){“string”!=typeof b&&(c=b,b=“*”);var d,e=0,f=b.toLowerCase().match(va)||[];if(fa.isFunction©)for(;d=f[e++];)“+”===d[0]?(d=d.slice(1)||“*”,(a[d]=a[d]||[]).unshift©):(a[d]=a[d]||[]).push©}}function Q(a,b,c,d){function e(h){var i;return f[h]=!0,fa.each(a[h]||[],function(a,h){var j=h(b,c,d);return“string”!=typeof j||g||f[j]?g?!(i=j):void 0:(b.dataTypes.unshift(j),e(j),!1)}),i}var f={},g=a===Ab;return e(b.dataTypes[0])||!f[“*”]&&e(“*”)}function R(a,b){var c,d,e=fa.ajaxSettings.flatOptions||{};for(c in b)void 0!==b[c]&&((e[c]?a:d||(d={}))[c]=b[c]);return d&&fa.extend(!0,a,d),a}function S(a,b,c){for(var d,e,f,g,h=a.contents,i=a.dataTypes;“*”===i[0];)i.shift(),void 0===d&&(d=a.mimeType||b.getResponseHeader(“Content-Type”));if(d)for(e in h)if(h[e]&&h[e].test(d)){i.unshift(e);break}if(i[0]in c)f=i[0];else{for(e in c){if(!i[0]||a.converters[e+“ ”+i[0]]){f=e;break}g||(g=e)}f=f||g}return f?(f!==i[0]&&i.unshift(f),c[f]):void 0}function T(a,b,c,d){var e,f,g,h,i,j={},k=a.dataTypes.slice();if(k[1])for(g in a.converters)j[g.toLowerCase()]=a.converters[g];for(f=k.shift();f;)if(a.responseFields[f]&&(c[a.responseFields[f]]=b),!i&&d&&a.dataFilter&&(b=a.dataFilter(b,a.dataType)),i=f,f=k.shift())if(“*”===f)f=i;else if(“*”!==i&&i!==f){if(g=j[i+“ ”+f]||j[“* ”+f],!g)for(e in j)if(h=e.split(“ ”),h[1]===f&&(g=j[i+“ ”+h[0]]||j[“* ”+h[0]])){g===!0?g=j[e]:j[e]!==!0&&(f=h[0],k.unshift(h[1]));break}if(g!==!0)if(g&&a[“throws”])b=g(b);else try{b=g(b)}catch(l){return{state:“parsererror”,error:g?l:“No conversion from ”i
“ to ”+f}}}return{state:“success”,data:b}}function U(a,b,c,d){var e;if(fa.isArray(b))fa.each(b,function(b,e){c||Eb.test(a)?d(a,e):U(a+“[”+(“object”==typeof e&&null!=e?b:“”)+“]”,e,c,d)});else if(c||“object”!==fa.type(b))d(a,b);else for(e in b)U(a+“[”e
“]”,b[e],c,d)}function V(a){return fa.isWindow(a)?a:9===a.nodeType&&a.defaultView}var W=[],X=a.document,Y=W.slice,Z=W.concat,$=W.push,_=W.indexOf,aa={},ba=aa.toString,ca=aa.hasOwnProperty,da={},ea=“2.2.4”,fa=function(a,b){return new fa.fn.init(a,b)},ga=/^[suFEFFxA0]+|[suFEFFxA0]+$/g,ha=/^-ms-/,ia=/-([da-z])/gi,ja=function(a,b){return b.toUpperCase()};fa.fn=fa.prototype={jquery:ea,constructor:fa,selector:“”,length:0,toArray:function(){return Y.call(this)},get:function(a){return null!=a?0>a?this[a+this.length]:this[a]:Y.call(this)},pushStack:function(a){var b=fa.merge(this.constructor(),a);return b.prevObject=this,b.context=this.context,b},each:function(a){return fa.each(this,a)},map:function(a){return this.pushStack(fa.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(Y.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var b=this.length,c=a
(0>a?b:0);return this.pushStack(c>=0&&b>c?[this[c]]:[])},end:function(){return this.prevObject||this.constructor()},push:$,sort:W.sort,splice:W.splice},fa.extend=fa.fn.extend=function(){var a,b,c,d,e,f,g=arguments[0]||{},h=1,i=arguments.length,j=!1;for(“boolean”==typeof g&&(j=g,g=arguments[h]||{},h++),“object”==typeof g||fa.isFunction(g)||(g={}),h===i&&(g=this,h–);i>h;h++)if(null!=(a=arguments[h]))for(b in a)c=g[b],d=a[b],g!==d&&(j&&d&&(fa.isPlainObject(d)||(e=fa.isArray(d)))?(e?(e=!1,f=c&&fa.isArray©?c:[]):f=c&&fa.isPlainObject©?c:{},g[b]=fa.extend(j,f,d)):void 0!==d&&(g[b]=d));return g},fa.extend({expando:“jQuery”+(ea+Math.random()).replace(/D/g,“”),isReady:!0,error:function(a){throw new Error(a)},noop:function(){},isFunction:function(a){return“function”===fa.type(a)},isArray:Array.isArray,isWindow:function(a){return null!=a&&a===a.window},isNumeric:function(a){var b=a&&a.toString();return!fa.isArray(a)&&b-parseFloat(b)+1>=0},isPlainObject:function(a){var b;if(“object”!==fa.type(a)||a.nodeType||fa.isWindow(a))return!1;if(a.constructor&&!ca.call(a,“constructor”)&&!ca.call(a.constructor.prototype||{},“isPrototypeOf”))return!1;for(b in a);return void 0===b||ca.call(a,b)},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},type:function(a){return null==a?a+“”:“object”==typeof a||“function”==typeof a?aa[ba.call(a)]||“object”:typeof a},globalEval:function(a){var b,c=eval;a=fa.trim(a),a&&(1===a.indexOf(“use strict”)?(b=X.createElement(“script”),b.text=a,X.head.appendChild(b).parentNode.removeChild(b)):c(a))},camelCase:function(a){return a.replace(ha,“ms-”).replace(ia,ja)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()},each:function(a,b){var d,e=0;if(c(a))for(d=a.length;d>e&&b.call(a[e],e,a[e])!==!1;e++);else for(e in a)if(b.call(a[e],e,a[e])===!1)break;return a},trim:function(a){return null==a?“”:(a+“”).replace(ga,“”)},makeArray:function(a,b){var d=b||[];return null!=a&&(c(Object(a))?fa.merge(d,“string”==typeof a?[a]:a):$.call(d,a)),d},inArray:function(a,b,c){return null==b?-1:_.call(b,a,c)},merge:function(a,b){for(var c=+b.length,d=0,e=a.length;c>d;d++)a[e++]=b[d];return a.length=e,a},grep:function(a,b,c){for(var d,e=[],f=0,g=a.length,h=!c;g>f;f++)d=!b(a[f],f),d!==h&&e.push(a[f]);return e},map:function(a,b,d){var e,f,g=0,h=[];if(c(a))for(e=a.length;e>g;g++)f=b(a[g],g,d),null!=f&&h.push(f);else for(g in a)f=b(a[g],g,d),null!=f&&h.push(f);return Z.apply([],h)},guid:1,proxy:function(a,b){var c,d,e;return“string”==typeof b&&(c=a[b],b=a,a=c),fa.isFunction(a)?(d=Y.call(arguments,2),e=function(){return a.apply(b||this,d.concat(Y.call(arguments)))},e.guid=a.guid=a.guid||fa.guid++,e):void 0},now:Date.now,support:da}),“function”==typeof Symbol&&(fa.fn[Symbol.iterator]=W[Symbol.iterator]),fa.each(“Boolean Number String Function Array Date RegExp Object Error Symbol”.split(“ ”),function(a,b){aa[“[object ”b
“]”]=b.toLowerCase()});var ka=function(a){function b(a,b,c,d){var e,f,g,h,i,j,l,n,o=b&&b.ownerDocument,p=b?b.nodeType:9;if(c=c||[],“string”!=typeof a||!a||1!==p&&9!==p&&11!==p)return c;if(!d&&((b?b.ownerDocument||b:O)!==G&&F(b),b=b||G,I)){if(11!==p&&(j=ra.exec(a)))if(e=j[1]){if(9===p){if(!(g=b.getElementById(e)))return c;if(g.id===e)return c.push(g),c}else if(o&&(g=o.getElementById(e))&&M(b,g)&&g.id===e)return c.push(g),c}else{if(j[2])return $.apply(c,b.getElementsByTagName(a)),c;if((e=j[3])&&v.getElementsByClassName&&b.getElementsByClassName)return $.apply(c,b.getElementsByClassName(e)),c}if(v.qsa&&!T[a+“ ”]&&(!J||!J.test(a))){if(1!==p)o=b,n=a;else if(“object”!==b.nodeName.toLowerCase()){for((h=b.getAttribute(“id”))?h=h.replace(ta,“\$&”):b.setAttribute(“id”,h=N),l=z(a),f=l.length,i=ma.test(h)?“#”+h:“[id=‘”h
“’]”;f–;)l[f]=i+“ ”+m(l[f]);n=l.join(“,”),o=sa.test(a)&&k(b.parentNode)||b}if(n)try{return $.apply(c,o.querySelectorAll(n)),c}catch(q){}finally{h===N&&b.removeAttribute(“id”)}}}return B(a.replace(ha,“$1”),b,c,d)}function c(){function a(c,d){return b.push(c+“ ”)>w.cacheLength&&delete a[b.shift()],a[c+“ ”]=d}var b=[];return a}function d(a){return a[N]=!0,a}function e(a){var b=G.createElement(“div”);try{return!!a(b)}catch©{return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function f(a,b){for(var c=a.split(“|”),d=c.length;d–;)w.attrHandle[c[d]]=b}function g(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&(~b.sourceIndex||V)-(~a.sourceIndex||V);if(d)return d;if©for(;c=c.nextSibling;)if(c===b)return-1;return a?1:-1}function h(a){return function(b){var c=b.nodeName.toLowerCase();return“input”===c&&b.type===a}}function i(a){return function(b){var c=b.nodeName.toLowerCase();return(“input”===c||“button”===c)&&b.type===a}}function j(a){return d(function(b){return b=+b,d(function(c,d){for(var e,f=a([],c.length,b),g=f.length;g–;)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function k(a){return a&&“undefined”!=typeof a.getElementsByTagName&&a}function l(){}function m(a){for(var b=0,c=a.length,d=“”;c>b;b++)d+=a[b].value;return d}function n(a,b,c){var d=b.dir,e=c&&“parentNode”===d,f=Q++;return b.first?function(b,c,f){for(;b=b[d];)if(1===b.nodeType||e)return a(b,c,f)}:function(b,c,g){var h,i,j,k=[P,f];if(g){for(;b=b[d];)if((1===b.nodeType||e)&&a(b,c,g))return!0}else for(;b=b[d];)if(1===b.nodeType||e){if(j=b[N]||(b[N]={}),i=j[b.uniqueID]||(j[b.uniqueID]={}),(h=i[d])&&h[0]===P&&h[1]===f)return k[2]=h[2];if(i[d]=k,k[2]=a(b,c,g))return!0}}}function o(a){return a.length>1?function(b,c,d){for(var e=a.length;e–;)if(!a[e](b,c,d))return!1;return!0}:a[0]}function p(a,c,d){for(var e=0,f=c.length;f>e;e++)b(a,c[e],d);return d}function q(a,b,c,d,e){for(var f,g=[],h=0,i=a.length,j=null!=b;i>h;h++)(f=a[h])&&(c&&!c(f,d,e)||(g.push(f),j&&b.push(h)));return g}function r(a,b,c,e,f,g){return e&&!e[N]&&(e=r(e)),f&&!f[N]&&(f=r(f,g)),d(function(d,g,h,i){var j,k,l,m=[],n=[],o=g.length,r=d||p(b||“*”,h.nodeType?[h]:h,[]),s=!a||!d&&b?r:q(r,m,a,h,i),t=c?f||(d?a:o||e)?[]:g:s;if(c&&c(s,t,h,i),e)for(j=q(t,n),e(j,[],h,i),k=j.length;k–;)(l=j[k])&&(t[n[k]]=!(s[n[k]]=l));if(d){if(f||a){if(f){for(j=[],k=t.length;k–;)(l=t[k])&&j.push(s[k]=l);f(null,t=[],j,i)}for(k=t.length;k–;)(l=t[k])&&(j=f?aa(d,l):m[k])>-1&&(d[j]=!(g[j]=l))}}else t=q(t===g?t.splice(o,t.length):t),f?f(null,g,t,i):$.apply(g,t)})}function s(a){for(var b,c,d,e=a.length,f=w.relative[a[0].type],g=f||w.relative[“ ”],h=f?1:0,i=n(function(a){return a===b},g,!0),j=n(function(a){return aa(b,a)>-1},g,!0),k=[function(a,c,d){var e=!f&&(d||c!==C)||((b=c).nodeType?i(a,c,d):j(a,c,d));return b=null,e}];e>h;h++)if(c=w.relative[a[h].type])k=[n(o(k),c)];else{if(c=w.filter[a[h].type].apply(null,a[h].matches),c[N]){for(d=++h;e>d&&!w.relative[a[d].type];d++);return r(h>1&&o(k),h>1&&m(a.slice(0,h-1).concat({value:“ ”===a[h-2].type?“*”:“”})).replace(ha,“$1”),c,d>h&&s(a.slice(h,d)),e>d&&s(a=a.slice(d)),e>d&&m(a))}k.push©}return o(k)}function t(a,c){var e=c.length>0,f=a.length>0,g=function(d,g,h,i,j){var k,l,m,n=0,o=“0”,p=d&&[],r=[],s=C,t=d||f&&w.find.TAG(“*”,j),u=P+=null==s?1:Math.random()||.1,v=t.length;for(j&&(C=g===G||g||j);o!==v&&null!=(k=t[o]);o++){if(f&&k){for(l=0,g||k.ownerDocument===G||(F(k),h=!I);m=a[l++];)if(m(k,g||G,h)){i.push(k);break}j&&(P=u)}e&&((k=!m&&k)&&n–,d&&p.push(k))}if(n+=o,e&&o!==n){for(l=0;m=c[l++];)m(p,r,g,h);if(d){if(n>0)for(;o–;)p[o]||r[o]||(r[o]=Y.call(i));r=q®}$.apply(i,r),j&&!d&&r.length>0&&n+c.length>1&&b.uniqueSort(i)}return j&&(P=u,C=s),p};return e?d(g):g}var u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J,K,L,M,N=“sizzle”+1*new Date,O=a.document,P=0,Q=0,R=c(),S=c(),T=c(),U=function(a,b){return a===b&&(E=!0),0},V=1<<31,W={}.hasOwnProperty,X=[],Y=X.pop,Z=X.push,$=X.push,_=X.slice,aa=function(a,b){for(var c=0,d=a.length;d>c;c++)if(a[c]===b)return c;return-1},ba=“checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped”,ca=“[\x20\t\r\n\f]”,da=“(?:\\.|[\w-]|[^\x00-\xa0])+”,ea=“\[”ca
“*(”da
“)(?:”ca
“*([*^$|!~]?=)”ca
“*(?:‘((?:\\.|[^\\’])*)‘|"((?:\\.|[^\\"])*)"|(”da
“))|)”ca
“*\]”,fa=“:(”da
“)(?:\(((’((?:\\.|[^\\‘])*)’|"((?:\\.|[^\\"])*)")|((?:\\.|[^\\()[\]]|”ea
“)*)|.*)\)|)”,ga=new RegExp(ca+“+”,“g”),ha=new RegExp(“^”ca
“+|((?:^|[^\\])(?:\\.)*)”ca
“+$”,“g”),ia=new RegExp(“^”ca
“*,”ca
“*”),ja=new RegExp(“^”ca
“*([>+~]|”ca
“)”ca
“*”),ka=new RegExp(“=”ca
“*([^\]‘"]*?)”ca
“*\]”,“g”),la=new RegExp(fa),ma=new RegExp(“^”da
“$”),na={ID:new RegExp(“^#(”da
“)”),CLASS:new RegExp(“^\.(”da
“)”),TAG:new RegExp(“^(”da
“|[*])”),ATTR:new RegExp(“^”+ea),PSEUDO:new RegExp(“^”+fa),CHILD:new RegExp(“^:(only|first|last|nth|nth-last)-(child|of-type)(?:\(”ca
“*(even|odd|(([+-]|)(\d*)n|)”ca
“*(?:([+-]|)”ca
“*(\d+)|))”ca
“*\)|)”,“i”),bool:new RegExp(“^(?:”ba
“)$”,“i”),needsContext:new RegExp(“^”ca
“*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\(”ca
“*((?:-\d)?\d*)”ca
“*\)|)(?=[^-]|$)”,“i”)},oa=/^(?:input|select|textarea|button)$/i,pa=/^hd$/i,qa=/^[^{]+{s*[native w/,ra=/^(?:#([w-]+)|(w+)|.([w-]+))$/,sa=/[+~]/,ta=/’|\/g,ua=new RegExp(“\\([\da-f]{1,6}”ca
“?|(”ca
“)|.)”,“ig”),va=function(a,b,c){var d=“0x”+b-65536;return d!==d||c?b:0>d?String.fromCharCode(d+65536):String.fromCharCode(d>>10|55296,1023&d|56320)},wa=function(){F()};try{$.apply(X=_.call(O.childNodes),O.childNodes),X[O.childNodes.length].nodeType}catch(xa){$={apply:X.length?function(a,b){Z.apply(a,_.call(b))}:function(a,b){for(var c=a.length,d=0;a[c++]=b[d++];);a.length=c-1}}}v=b.support={},y=b.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return b?“HTML”!==b.nodeName:!1},F=b.setDocument=function(a){var b,c,d=a?a.ownerDocument||a:O;return d!==G&&9===d.nodeType&&d.documentElement?(G=d,H=G.documentElement,I=!y(G),(c=G.defaultView)&&c.top!==c&&(c.addEventListener?c.addEventListener(“unload”,wa,!1):c.attachEvent&&c.attachEvent(“onunload”,wa)),v.attributes=e(function(a){return a.className=“i”,!a.getAttribute(“className”)}),v.getElementsByTagName=e(function(a){return a.appendChild(G.createComment(“”)),!a.getElementsByTagName(“*”).length}),v.getElementsByClassName=qa.test(G.getElementsByClassName),v.getById=e(function(a){return H.appendChild(a).id=N,!G.getElementsByName||!G.getElementsByName(N).length}),v.getById?(w.find.ID=function(a,b){if(“undefined”!=typeof b.getElementById&&I){var c=b.getElementById(a);return c?[c]:[]}},w.filter.ID=function(a){var b=a.replace(ua,va);return function(a){return a.getAttribute(“id”)===b}}):(delete w.find.ID,w.filter.ID=function(a){var b=a.replace(ua,va);return function(a){var c=“undefined”!=typeof a.getAttributeNode&&a.getAttributeNode(“id”);return c&&c.value===b}}),w.find.TAG=v.getElementsByTagName?function(a,b){return“undefined”!=typeof b.getElementsByTagName?b.getElementsByTagName(a):v.qsa?b.querySelectorAll(a):void 0}:function(a,b){var c,d=[],e=0,f=b.getElementsByTagName(a);if(“*”===a){for(;c=f[e++];)1===c.nodeType&&d.push©;return d}return f},w.find.CLASS=v.getElementsByClassName&&function(a,b){return“undefined”!=typeof b.getElementsByClassName&&I?b.getElementsByClassName(a):void 0},K=[],J=[],(v.qsa=qa.test(G.querySelectorAll))&&(e(function(a){H.appendChild(a).innerHTML=“N“-r\’ msallowcapture=”>”,a.querySelectorAll(“[msallowcapture^=”]”).length&&J.push(“[*^$]=”ca
“*(?:”|"")”),a.querySelectorAll(“[selected]”).length||J.push(“\[”ca
“*(?:value|”ba
“)”),a.querySelectorAll(“[id~=”N
“-]”).length||J.push(“~=”),a.querySelectorAll(“:checked”).length||J.push(“:checked”),a.querySelectorAll(“a#”N
“+*”).length||J.push(“.#.[
~]”)}),e(function(a){var b=G.createElement(“input”);b.setAttribute(“type”,“hidden”),a.appendChild(b).setAttribute(“name”,“D”),a.querySelectorAll(“[name=d]”).length&&J.push(“name”ca
“[^$|!~]?=”),a.querySelectorAll(“:enabled”).length||J.push(“:enabled”,“:disabled”),a.querySelectorAll(“*,:x”),J.push(“,.*:”)})),(v.matchesSelector=qa.test(L=H.matches||H.webkitMatchesSelector||H.mozMatchesSelector||H.oMatchesSelector||H.msMatchesSelector))&&e(function(a){v.disconnectedMatch=L.call(a,“div”),L.call(a,“[s!=”]:x”),K.push(“!=”,fa)}),J=J.length&&new RegExp(J.join(“|”)),K=K.length&&new RegExp(K.join(“|”)),b=qa.test(H.compareDocumentPosition),M=b||qa.test(H.contains)?function(a,b){var c=9===a.nodeType?a.documentElement:a,d=b&&b.parentNode;return a===d||!(!d||1!==d.nodeType||!(c.contains?c.contains(d):a.compareDocumentPosition&&16&a.compareDocumentPosition(d)))}:function(a,b){if(b)for(;b=b.parentNode;)if(b===a)return!0;return!1},U=b?function(a,b){if(a===b)return E=!0,0;var c=!a.compareDocumentPosition-!b.compareDocumentPosition;return c?c:(c=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1,1&c||!v.sortDetached&&b.compareDocumentPosition(a)===c?a===G||a.ownerDocument===O&&M(O,a)?-1:b===G||b.ownerDocument===O&&M(O,b)?1:D?aa(D,a)-aa(D,b):0:4&c?-1:1)}:function(a,b){if(a===b)return E=!0,0;var c,d=0,e=a.parentNode,f=b.parentNode,h=[a],i=[b];if(!e||!f)return a===G?-1:b===G?1:e?-1:f?1:D?aa(D,a)-aa(D,b):0;if(e===f)return g(a,b);for(c=a;c=c.parentNode;)h.unshift©;for(c=b;c=c.parentNode;)i.unshift©;for(;h[d]===i[d];)d++;return d?g(h[d],i[d]):h[d]===O?-1:i[d]===O?1:0},G):G},b.matches=function(a,c){return b(a,null,null,c)},b.matchesSelector=function(a,c){if((a.ownerDocument||a)!==G&&F(a),c=c.replace(ka,“=‘$1’]”),v.matchesSelector&&I&&!T[c+“ ”]&&(!K||!K.test©)&&(!J||!J.test©))try{var d=L.call(a,c);if(d||v.disconnectedMatch||a.document&&11!==a.document.nodeType)return d}catch(e){}return b(c,G,null,[a]).length>0},b.contains=function(a,b){return(a.ownerDocument||a)!==G&&F(a),M(a,b)},b.attr=function(a,b){(a.ownerDocument||a)!==G&&F(a);var c=w.attrHandle[b.toLowerCase()],d=c&&W.call(w.attrHandle,b.toLowerCase())?c(a,b,!I):void 0;return void 0!==d?d:v.attributes||!I?a.getAttribute(b):(d=a.getAttributeNode(b))&&d.specified?d.value:null},b.error=function(a){throw new Error(“Syntax error, unrecognized expression: ”+a)},b.uniqueSort=function(a){var b,c=[],d=0,e=0;if(E=!v.detectDuplicates,D=!v.sortStable&&a.slice(0),a.sort(U),E){for(;b=a[e++];)b===a[e]&&(d=c.push(e));for(;d–;)a.splice(c[d],1)}return D=null,a},x=b.getText=function(a){var b,c=“”,d=0,e=a.nodeType;if(e){if(1===e||9===e||11===e){if(“string”==typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=x(a)}else if(3===e||4===e)return a.nodeValue}else for(;b=a[d++];)c+=x(b);return c},w=b.selectors={cacheLength:50,createPseudo:d,match:na,attrHandle:{},find:{},relative:{“>”:{dir:“parentNode”,first:!0},“ ”:{dir:“parentNode”},“+”:{dir:“previousSibling”,first:!0},“~”:{dir:“previousSibling”}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(ua,va),a[3]=(a[3]||a[4]||a[5]||“”).replace(ua,va),“~=”===a[2]&&(a[3]=“ ”a[3]
“ ”),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),“nth”===a[1].slice(0,3)?(a[3]||b.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*(“even”===a[3]||“odd”===a[3])),a[5]=+(a[7]+a[8]||“odd”===a[3])):a[3]&&b.error(a[0]),a},PSEUDO:function(a){var b,c=!a[6]&&a[2];return na.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||“”:c&&la.test©&&(b=z(c,!0))&&(b=c.indexOf(“)”,c.length-b)-c.length)&&(a[0]=a[0].slice(0,b),a[2]=c.slice(0,b)),a.slice(0,3))}},filter:{TAG:function(a){var b=a.replace(ua,va).toLowerCase();return“*”===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=R[a+“ ”];return b||(b=new RegExp(“(^|”ca
“)”a
“(”ca
“|$)”))&&R(a,function(a){return b.test(“string”==typeof a.className&&a.className||“undefined”!=typeof a.getAttribute&&a.getAttribute(“class”)||“”)})},ATTR:function(a,c,d){return function(e){var f=b.attr(e,a);return null==f?“!=”===c:c?(f+=“”,“=”===c?f===d:“!=”===c?f!==d:“^=”===c?d&&0===f.indexOf(d):“*=”===c?d&&f.indexOf(d)>-1:“$=”===c?d&&f.slice(-d.length)===d:“~=”===c?(“ ”+f.replace(ga,“ ”)+“ ”).indexOf(d)>-1:“|=”===c?f===d||f.slice(0,d.length+1)===d+“-”:!1):!0}},CHILD:function(a,b,c,d,e){var f=“nth”!==a.slice(0,3),g=“last”!==a.slice(-4),h=“of-type”===b;return 1===d&&0===e?function(a){return!!a.parentNode}:function(b,c,i){var j,k,l,m,n,o,p=f!==g?“nextSibling”:“previousSibling”,q=b.parentNode,r=h&&b.nodeName.toLowerCase(),s=!i&&!h,t=!1;if(q){if(f){for(;p;){for(m=b;m=m[p];)if(h?m.nodeName.toLowerCase()===r:1===m.nodeType)return!1;o=p=“only”===a&&!o&&“nextSibling”}return!0}if(o=[g?q.firstChild:q.lastChild],g&&s){for(m=q,l=m[N]||(m[N]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),j=k[a]||[],n=j[0]===P&&j[1],t=n&&j[2],m=n&&q.childNodes[n];m=++n&&m&&m[p]||(t=n=0)||o.pop();)if(1===m.nodeType&&++t&&m===b){k[a]=[P,n,t];break}}else if(s&&(m=b,l=m[N]||(m[N]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),j=k[a]||[],n=j[0]===P&&j[1],t=n),t===!1)for(;(m=++n&&m&&m[p]||(t=n=0)||o.pop())&&((h?m.nodeName.toLowerCase()!==r:1!==m.nodeType)||!++t||(s&&(l=m[N]||(m[N]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),k[a]=[P,t]),m!==b)););return t-=e,t===d||t%d===0&&t/d>=0}}},PSEUDO:function(a,c){var e,f=w.pseudos[a]||w.setFilters[a.toLowerCase()]||b.error(“unsupported pseudo: ”+a);return f[N]?f©:f.length>1?(e=[a,a,“”,c],w.setFilters.hasOwnProperty(a.toLowerCase())?d(function(a,b){for(var d,e=f(a,c),g=e.length;g–;)d=aa(a,e[g]),a[d]=!(b[d]=e[g])}):function(a){return f(a,0,e)}):f}},pseudos:{not:d(function(a){var b=[],c=[],e=A(a.replace(ha,“$1”));return e[N]?d(function(a,b,c,d){for(var f,g=e(a,null,d,[]),h=a.length;h–;)(f=g[h])&&(a[h]=!(b[h]=f))}):function(a,d,f){return b[0]=a,e(b,null,f,c),b[0]=null,!c.pop()}}),has:d(function(a){return function©{return b(a,c).length>0}}),contains:d(function(a){return a=a.replace(ua,va),function(b){return(b.textContent||b.innerText||x(b)).indexOf(a)>-1}}),lang:d(function(a){return ma.test(a||“”)||b.error(“unsupported lang: ”+a),a=a.replace(ua,va).toLowerCase(),function(b){var c;do if(c=I?b.lang:b.getAttribute(“xml:lang”)||b.getAttribute(“lang”))return c=c.toLowerCase(),c===a||0===c.indexOf(a+“-”);while((b=b.parentNode)&&1===b.nodeType);return!1}}),target:function(b){var c=a.location&&a.location.hash;return c&&c.slice(1)===b.id},root:function(a){return a===H},focus:function(a){return a===G.activeElement&&(!G.hasFocus||G.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:function(a){return a.disabled===!1},disabled:function(a){return a.disabled===!0},checked:function(a){var b=a.nodeName.toLowerCase();return“input”===b&&!!a.checked||“option”===b&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType<6)return!1;return!0},parent:function(a){return!w.pseudos.empty(a)},header:function(a){return pa.test(a.nodeName)},input:function(a){return oa.test(a.nodeName)},button:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&"button"===a.type||"button"===b},text:function(a){var b;return"input"===a.nodeName.toLowerCase()&&"text"===a.type&&(null==(b=a.getAttribute("type"))||"text"===b.toLowerCase())},first:j(function(){return[0]}),last:j(function(a,b){return[b-1]}),eq:j(function(a,b,c){return[0>c?c+b:c]}),even:j(function(a,b){for(var c=0;b>c;c+=2)a.push©;return a}),odd:j(function(a,b){ for(var c=1;b>c;c+=2)a.push©;return a}),lt:j(function(a,b,c){for(var d=0>c?c+b:c;–d>=0;)a.push(d);return a}),gt:j(function(a,b,c){for(var d=0>c?c+b:c;++d2&&“ID”===(g=f[0]).type&&v.getById&&9===b.nodeType&&I&&w.relative[f[1].type]){if(b=(w.find.ID(g.matches[0].replace(ua,va),b)||[])[0],!b)return c;j&&(b=b.parentNode),a=a.slice(f.shift().value.length)}for(e=na.needsContext.test(a)?0:f.length;e–&&(g=f[e],!w.relative[h=g.type]);)if((i=w.find[h])&&(d=i(g.matches[0].replace(ua,va),sa.test(f[0].type)&&k(b.parentNode)||b))){if(f.splice(e,1),a=d.length&&m(f),!a)return $.apply(c,d),c;break}}return(j||A(a,l))(d,b,!I,c,!b||sa.test(a)&&k(b.parentNode)||b),c},v.sortStable=N.split(“”).sort(U).join(“”)===N,v.detectDuplicates=!!E,F(),v.sortDetached=e(function(a){return 1&a.compareDocumentPosition(G.createElement(“div”))}),e(function(a){return a.innerHTML=“”,“#”===a.firstChild.getAttribute(“href”)})||f(“type|href|height|width”,function(a,b,c){return c?void 0:a.getAttribute(b,“type”===b.toLowerCase()?1:2)}),v.attributes&&e(function(a){return a.innerHTML=“”,a.firstChild.setAttribute(“value”,“”),“”===a.firstChild.getAttribute(“value”)})||f(“value”,function(a,b,c){return c||“input”!==a.nodeName.toLowerCase()?void 0:a.defaultValue}),e(function(a){return null==a.getAttribute(“disabled”)})||f(ba,function(a,b,c){var d;return c?void 0:a[b]===!0?b.toLowerCase():(d=a.getAttributeNode(b))&&d.specified?d.value:null}),b}(a);fa.find=ka,fa.expr=ka.selectors,fa.expr[“:”]=fa.expr.pseudos,fa.uniqueSort=fa.unique=ka.uniqueSort,fa.text=ka.getText,fa.isXMLDoc=ka.isXML,fa.contains=ka.contains;var la=function(a,b,c){for(var d=[],e=void 0!==c;(a=a[b])&&9!==a.nodeType;)if(1===a.nodeType){if(e&&fa(a).is©)break;d.push(a)}return d},ma=function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c},na=fa.expr.match.needsContext,oa=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,pa=/^.[^:#[.,]*$/;fa.filter=function(a,b,c){var d=b[0];return c&&(a=“:not(”a
“)”),1===b.length&&1===d.nodeType?fa.find.matchesSelector(d,a)?[d]:[]:fa.find.matches(a,fa.grep(b,function(a){return 1===a.nodeType}))},fa.fn.extend({find:function(a){var b,c=this.length,d=[],e=this;if(“string”!=typeof a)return this.pushStack(fa(a).filter(function(){for(b=0;c>b;b++)if(fa.contains(e[b],this))return!0}));for(b=0;c>b;b++)fa.find(a,e[b],d);return d=this.pushStack(c>1?fa.unique(d):d),d.selector=this.selector?this.selector+“ ”+a:a,d},filter:function(a){return this.pushStack(d(this,a||[],!1))},not:function(a){return this.pushStack(d(this,a||[],!0))},is:function(a){return!!d(this,“string”==typeof a&&na.test(a)?fa(a):a||[],!1).length}});var qa,ra=/^(?:s*(<[\w\W]+>)[^>]*|#([w-]*))$/,sa=fa.fn.init=function(a,b,c){var d,e;if(!a)return this;if(c=c||qa,“string”==typeof a){if(d=“<"===a[0]&&">”===a[a.length-1]&&a.length>=3?[null,a,null]:ra.exec(a),!d||!d[1]&&b)return!b||b.jquery?(b||c).find(a):this.constructor(b).find(a);if(d[1]){if(b=b instanceof fa?b[0]:b,fa.merge(this,fa.parseHTML(d[1],b&&b.nodeType?b.ownerDocument||b:X,!0)),oa.test(d[1])&&fa.isPlainObject(b))for(d in b)fa.isFunction(this[d])?this[d](b[d]):this.attr(d,b[d]);return this}return e=X.getElementById(d[2]),e&&e.parentNode&&(this.length=1,this[0]=e),this.context=X,this.selector=a,this}return a.nodeType?(this.context=this[0]=a,this.length=1,this):fa.isFunction(a)?void 0!==c.ready?c.ready(a):a(fa):(void 0!==a.selector&&(this.selector=a.selector,this.context=a.context),fa.makeArray(a,this))};sa.prototype=fa.fn,qa=fa(X);var ta=/^(?:parents|prev(?:Until|All))/,ua={children:!0,contents:!0,next:!0,prev:!0};fa.fn.extend({has:function(a){var b=fa(a,this),c=b.length;return this.filter(function(){for(var a=0;c>a;a++)if(fa.contains(this,b[a]))return!0})},closest:function(a,b){for(var c,d=0,e=this.length,f=[],g=na.test(a)||“string”!=typeof a?fa(a,b||this.context):0;e>d;d++)for(c=this[d];c&&c!==b;c=c.parentNode)if(c.nodeType<11&&(g?g.index(c)>-1:1===c.nodeType&&fa.find.matchesSelector(c,a))){f.push©;break}return this.pushStack(f.length>1?fa.uniqueSort(f):f)},index:function(a){return a?“string”==typeof a?_.call(fa(a),this[0]):_.call(this,a.jquery?a[0]:a):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack(fa.uniqueSort(fa.merge(this.get(),fa(a,b))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}}),fa.each({parent:function(a){var b=a.parentNode;return b&&11!==b.nodeType?b:null},parents:function(a){return la(a,“parentNode”)},parentsUntil:function(a,b,c){return la(a,“parentNode”,c)},next:function(a){return e(a,“nextSibling”)},prev:function(a){return e(a,“previousSibling”)},nextAll:function(a){return la(a,“nextSibling”)},prevAll:function(a){return la(a,“previousSibling”)},nextUntil:function(a,b,c){return la(a,“nextSibling”,c)},prevUntil:function(a,b,c){return la(a,“previousSibling”,c)},siblings:function(a){return ma((a.parentNode||{}).firstChild,a)},children:function(a){return ma(a.firstChild)},contents:function(a){return a.contentDocument||fa.merge([],a.childNodes)}},function(a,b){fa.fn[a]=function(c,d){var e=fa.map(this,b,c);return“Until”!==a.slice(-5)&&(d=c),d&&“string”==typeof d&&(e=fa.filter(d,e)),this.length>1&&(ua[a]||fa.uniqueSort(e),ta.test(a)&&e.reverse()),this.pushStack(e)}});var va=/S+/g;fa.Callbacks=function(a){a=“string”==typeof a?f(a):fa.extend({},a);var b,c,d,e,g=[],h=[],i=-1,j=function(){for(e=a.once,d=b=!0;h.length;i=-1)for(c=h.shift();++i“,”
“],col:[2,”
“],tr:[2,”“,”
“],td:[3,”
“],_default:[0,”“,”“]};Ka.optgroup=Ka.option,Ka.tbody=Ka.tfoot=Ka.colgroup=Ka.caption=Ka.thead,Ka.th=Ka.td;var La=/<|?\w+;/;!function(){var a=X.createDocumentFragment(),b=a.appendChild(X.createElement("div")),c=X.createElement("input");c.setAttribute("type","radio"),c.setAttribute("checked","checked"),c.setAttribute("name","t"),b.appendChild(c),da.checkClone=b.cloneNode(!0).cloneNode(!0).lastChild.checked,b.innerHTML="”,da.noCloneChecked=!!b.cloneNode(!0).lastChild.defaultValue}();var Ma=/^key/,Na=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Oa=/^([^.]*)(?:.(.+)|)/;fa.event={global:{},add:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,n,o,p,q=za.get(a);if(q)for(c.handler&&(f=c,c=f.handler,e=f.selector),c.guid||(c.guid=fa.guid++),(i=q.events)||(i=q.events={}),(g=q.handle)||(g=q.handle=function(b){return“undefined”!=typeof fa&&fa.event.triggered!==b.type?fa.event.dispatch.apply(a,arguments):void 0}),b=(b||“”).match(va)||[“”],j=b.length;j–;)h=Oa.exec(b[j])||[],n=p=h[1],o=(h[2]||“”).split(“.”).sort(),n&&(l=fa.event.special[n]||{},n=(e?l.delegateType:l.bindType)||n,l=fa.event.special[n]||{},k=fa.extend({type:n,origType:p,data:d,handler:c,guid:c.guid,selector:e,needsContext:e&&fa.expr.match.needsContext.test(e),namespace:o.join(“.”)},f),(m=i[n])||(m=i[n]=[],m.delegateCount=0,l.setup&&l.setup.call(a,d,o,g)!==!1||a.addEventListener&&a.addEventListener(n,g)),l.add&&(l.add.call(a,k),k.handler.guid||(k.handler.guid=c.guid)),e?m.splice(m.delegateCount++,0,k):m.push(k),fa.event.global[n]=!0)},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,n,o,p,q=za.hasData(a)&&za.get(a);if(q&&(i=q.events)){for(b=(b||“”).match(va)||[“”],j=b.length;j–;)if(h=Oa.exec(b[j])||[],n=p=h[1],o=(h[2]||“”).split(“.”).sort(),n){for(l=fa.event.special[n]||{},n=(d?l.delegateType:l.bindType)||n,m=i[n]||[],h=h[2]&&new RegExp(“(^|\.)”+o.join(“\.(?:.*\.|)”)+“(\.|$)”),g=f=m.length;f–;)k=m[f],!e&&p!==k.origType||c&&c.guid!==k.guid||h&&!h.test(k.namespace)||d&&d!==k.selector&&(“**”!==d||!k.selector)||(m.splice(f,1),k.selector&&m.delegateCount–,l.remove&&l.remove.call(a,k));g&&!m.length&&(l.teardown&&l.teardown.call(a,o,q.handle)!==!1||fa.removeEvent(a,n,q.handle),delete i[n])}else for(n in i)fa.event.remove(a,n+b[j],c,d,!0);fa.isEmptyObject(i)&&za.remove(a,“handle events”)}},dispatch:function(a){a=fa.event.fix(a);var b,c,d,e,f,g=[],h=Y.call(arguments),i=(za.get(this,“events”)||{})[a.type]||[],j=fa.event.special[a.type]||{};if(h[0]=a,a.delegateTarget=this,!j.preDispatch||j.preDispatch.call(this,a)!==!1){for(g=fa.event.handlers.call(this,a,i),b=0;(e=g[b++])&&!a.isPropagationStopped();)for(a.currentTarget=e.elem,c=0;(f=e.handlers[c++])&&!a.isImmediatePropagationStopped();)a.rnamespace&&!a.rnamespace.test(f.namespace)||(a.handleObj=f,a.data=f.data,d=((fa.event.special[f.origType]||{}).handle||f.handler).apply(e.elem,h),void 0!==d&&(a.result=d)===!1&&(a.preventDefault(),a.stopPropagation()));return j.postDispatch&&j.postDispatch.call(this,a),a.result}},handlers:function(a,b){var c,d,e,f,g=[],h=b.delegateCount,i=a.target;if(h&&i.nodeType&&(“click”!==a.type||isNaN(a.button)||a.button<1))for(;i!==this;i=i.parentNode||this)if(1===i.nodeType&&(i.disabled!==!0||"click"!==a.type)){for(d=[],c=0;h>c;c++)f=b[c],e=f.selector+“ ”,void 0===d[e]&&(d[e]=f.needsContext?fa(e,this).index(i)>-1:fa.find(e,this,null,[i]).length),d[e]&&d.push(f);d.length&&g.push({elem:i,handlers:d})}return h“,” a.buttons.googlePlus.lang
“&url=”+encodeURIComponent(“”!==a.buttons.googlePlus.url?a.buttons.googlePlus.url:a.url),“”,“toolbar=0, status=0, width=900, height=500”)},facebook:function(a){b.open(“http://www.facebook.com/sharer/sharer.php?u=”+encodeURIComponent(“”!==a.buttons.facebook.url?a.buttons.facebook.url:a.url)+“&t=”+a.text,“”,“toolbar=0, status=0, width=900, height=500”)},twitter:function(a){b.open(“https://twitter.com/intent/tweet?text=”+encodeURIComponent(a.text)+“&url=”+encodeURIComponent(“”!==a.buttons.twitter.url?a.buttons.twitter.url:a.url)+(“”!==a.buttons.twitter.via?“&via=”+a.buttons.twitter.via:“”),“”,“toolbar=0, status=0, width=650, height=360”)},digg:function(a){b.open(“http://digg.com/tools/diggthis/submit?url=”+encodeURIComponent(“”!==a.buttons.digg.url?a.buttons.digg.url:a.url)+“&title=”a.text
‘),a.each(b.options.share,function(a,c){1==c&&(j[a](b),b.options.enableTracking===!0&&k[a]())})},f.prototype.getSocialJson=function(b){var c=this,d=0,e=i[b].replace(“{url}”,encodeURIComponent(this.options.url));this.options.buttons[b].urlCount===!0&&“”!==this.options.buttons[b].url&&(e=i[b].replace(“{url}”,this.options.buttons[b].url)),“”!=e&&“”!==c.options.urlCurl?a.getJSON(e,function(a){if(“undefined”!=typeof a.count){var e=a.count+“”;e=e.replace(“Â ”,“”),d+=parseInt(e,10)}else a.data&&a.data.length>0&&“undefined”!=typeof a.data[0].total_count?d+=parseInt(a.data[0].total_count,10):“undefined”!=typeof a[0]?d+=parseInt(a[0].total_posts,10):“undefined”!=typeof a[0];c.options.count[b]=d,c.options.total+=d,c.renderer(),c.rendererPerso()}).error(function(){c.options.count[b]=0,c.rendererPerso()}):(c.renderer(),c.options.count[b]=0,c.rendererPerso())},f.prototype.rendererPerso=function(){var a=0;for(e in this.options.count)a++;a===this.options.shareTotal&&this.options.render(this,this.options)},f.prototype.renderer=function(){var b=this.options.total,c=this.options.template;this.options.shorterTotal===!0&&(b=this.shorterTotal(b)),“”!==c?(c=c.replace(“{total}”,b),a(this.element).html©):a(this.element).html(’this._imgScaleFactor
”,“this._imgScaleFactor
”,“this._imgScaleFactor
”)“,this._targetImageWrap.style.webkitTransform=”translate(“this._translateX
”px, “this._translateY
”px) translateZ(0)“,this._targetImage.style.msTransform=”scale3d(“this._imgScaleFactor
”,“this._imgScaleFactor
”,“this._imgScaleFactor
”)“,this._targetImageWrap.style.msTransform=”translate(“this._translateX
”px, “this._translateY
”px) translateZ(0)“,this._targetImage.style.transform=”scale3d(“this._imgScaleFactor
”,“this._imgScaleFactor
”,“this._imgScaleFactor
”)“,this._targetImageWrap.style.transform=”translate(“this._translateX
”px, “this._translateY
”px) translateZ(0)“,this._body.classList.add(”zoom-overlay-open“)},c.prototype.close=function(){return this._body.classList.remove(”zoom-overlay-open“),this._body.classList.add(”zoom-overlay-transitioning“),this._targetImage.style.webkitTransform=”“,this._targetImageWrap.style.webkitTransform=”“,this._targetImage.style.msTransform=”“,this._targetImageWrap.style.msTransform=”“,this._targetImage.style.transform=”“,this._targetImageWrap.style.transform=”“,!1 in document.body.style?this.dispose():(i=this.dispose.bind(this),this._targetImage.addEventListener(”transitionend“,i),void this._targetImage.addEventListener(”webkitTransitionEnd“,i))},c.prototype.dispose=function(){this._targetImageWrap&&this._targetImageWrap.parentNode&&(this._targetImage.classList.remove(”zoom-img“),this._targetImage.setAttribute(”data-action“,”zoom“),this._targetImageClone.parentNode.replaceChild(this._targetImage,this._targetImageClone),this._targetImageWrap.parentNode.removeChild(this._targetImageWrap),this._overlay.parentNode.removeChild(this._overlay),this._body.classList.remove(”zoom-overlay-transitioning“)),this._targetImage.removeEventListener(”transitionend“,i),this._targetImage.removeEventListener(”webkitTransitionEnd“,i)},$(function(){window.isMobile||(new b).listen()})}();var _gsScope=”undefined“!=typeof module&&module.exports&&”undefined“!=typeof global?global:this||window;(_gsScope._gsQueue||(_gsScope._gsQueue=[])).push(function(){”use strict“;var a=document.documentElement,b=window,c=function(c,d){var e=”x“===d?”Width“:”Height“,f=”scroll“+e,g=”client“+e,h=document.body;return c===b||c===a||c===h?Math.max(a[f],h[f])-(b[”inner“+e]||a[g]||h[g]):c[f]-c[”offset“+e]},d=_gsScope._gsDefine.plugin({propName:”scrollTo“,API:2,version:”1.7.5“,init:function(a,d,e){return this._wdw=a===b,this._target=a,this._tween=e,”object“!=typeof d&&(d={y:d}),this.vars=d,this._autoKill=d.autoKill!==!1,this.x=this.xPrev=this.getX(),this.y=this.yPrev=this.getY(),null!=d.x?(this._addTween(this,”x“,this.x,”max“===d.x?c(a,”x“):d.x,”scrollTo_x“,!0),this._overwriteProps.push(”scrollTo_x“)):this.skipX=!0,null!=d.y?(this._addTween(this,”y“,this.y,”max“===d.y?c(a,”y“):d.y,”scrollTo_y“,!0),this._overwriteProps.push(”scrollTo_y“)):this.skipY=!0,!0},set:function(a){this._super.setRatio.call(this,a);var d=this._wdw||!this.skipX?this.getX():this.xPrev,e=this._wdw||!this.skipY?this.getY():this.yPrev,f=e-this.yPrev,g=d-this.xPrev;this._autoKill&&(!this.skipX&&(g>7||-7>g)&&c(this._target,”x“)>d&&(this.skipX=!0),!this.skipY&&(f>7||-7>f)&&c(this._target,”y“)>e&&(this.skipY=!0),this.skipX&&this.skipY&&(this._tween.kill(),this.vars.onAutoKill&&this.vars.onAutoKill.apply(this.vars.onAutoKillScope||this._tween,this.vars.onAutoKillParams||[]))),this._wdw?b.scrollTo(this.skipX?d:this.x,this.skipY?e:this.y):(this.skipY||(this._target.scrollTop=this.y),this.skipX||(this._target.scrollLeft=this.x)),this.xPrev=this.x,this.yPrev=this.y}}),e=d.prototype;d.max=c,e.getX=function(){return this._wdw?null!=b.pageXOffset?b.pageXOffset:null!=a.scrollLeft?a.scrollLeft:document.body.scrollLeft:this._target.scrollLeft},e.getY=function(){return this._wdw?null!=b.pageYOffset?b.pageYOffset:null!=a.scrollTop?a.scrollTop:document.body.scrollTop:this._target.scrollTop},e._kill=function(a){return a.scrollTo_x&&(this.skipX=!0),a.scrollTo_y&&(this.skipY=!0),this._super._kill.call(this,a)}}),_gsScope._gsDefine&&_gsScope._gsQueue.pop()(),function(a,b){”use strict“;var c=a.GreenSockGlobals=a.GreenSockGlobals||a;if(!c.TweenLite){var d,e,f,g,h,i=function(a){var b,d=a.split(”.“),e=c;for(b=0;d.length>b;b++)e[d[b]]=e=e[d[b]]||{};return e},j=i(”com.greensock“),k=1e-10,l=function(a){var b,c=[],d=a.length;for(b=0;b!==d;c.push(a[b++]));return c},m=function(){},n=function(){var a=Object.prototype.toString,b=a.call([]);return function©{return null!=c&&(c instanceof Array||”object“==typeof c&&!!c.push&&a.call©===b)}}(),o={},p=function(d,e,f,g){this.sc=o[d]?o[d].sc:[],o[d]=this,this.gsClass=null,this.func=f;var h=[];this.check=function(j){for(var k,l,m,n,q=e.length,r=q;–q>-1;)(k=o[e[q]]||new p(e[q],[])).gsClass?(h[q]=k.gsClass,r–):j&&k.sc.push(this);if(0===r&&f)for(l=(”com.greensock.“+d).split(”.“),m=l.pop(),n=i(l.join(”.“))[m]=this.gsClass=f.apply(f,h),g&&(c[m]=n,”function“==typeof define&&define.amd?define((a.GreenSockAMDPath?a.GreenSockAMDPath+”/“:”“)+d.split(”.“).pop(),[],function(){return n}):d===b&&”undefined“!=typeof module&&module.exports&&(module.exports=n)),q=0;this.sc.length>q;q++)this.sc[q].check()},this.check(!0)},q=a._gsDefine=function(a,b,c,d){return new p(a,b,c,d)},r=j._class=function(a,b,c){return b=b||function(){},q(a,[],function(){return b},c),b};q.globals=c;var s=[0,0,1,1],t=[],u=r(”easing.Ease“,function(a,b,c,d){this._func=a,this._type=c||0,this._power=d||0,this._params=b?s.concat(b):s},!0),v=u.map={},w=u.register=function(a,b,c,d){for(var e,f,g,h,i=b.split(”,“),k=i.length,l=(c||”easeIn,easeOut,easeInOut“).split(”,“);–k>-1;)for(f=i[k],e=d?r(”easing.“+f,null,!0):j.easing[f]||{},g=l.length;–g>-1;)h=l[g],v[f+”.“+h]=v[h+f]=e[h]=a.getRatio?a:a[h]||new a};for(f=u.prototype,f._calcEnd=!1,f.getRatio=function(a){if(this._func)return this._params[0]=a,this._func.apply(null,this._params);var b=this._type,c=this._power,d=1===b?1-a:2===b?a:.5>a?2*a:2*(1-a);return 1===c?d*=d:2===c?d*=d*d:3===c?d*=d*d*d:4===c&&(d*=d*d*d*d),1===b?1-d:2===b?d:.5>a?d/2:1-d/2},d=[”Linear“,”Quad“,”Cubic“,”Quart“,”Quint,Strong“],e=d.length;–e>-1;)f=d[e]+”,Power“+e,w(new u(null,null,1,e),f,”easeOut“,!0),w(new u(null,null,2,e),f,”easeIn“+(0===e?”,easeNone“:”“)),w(new u(null,null,3,e),f,”easeInOut“);v.linear=j.easing.Linear.easeIn,v.swing=j.easing.Quad.easeInOut;var x=r(”events.EventDispatcher“,function(a){this._listeners={},this._eventTarget=a||this});f=x.prototype,f.addEventListener=function(a,b,c,d,e){e=e||0;var f,i,j=this._listeners[a],k=0;for(null==j&&(this._listeners[a]=j=[]),i=j.length;–i>-1;)f=j[i],f.c===b&&f.s===c?j.splice(i,1):0===k&&e>f.pr&&(k=i+1);j.splice(k,0,{c:b,s:c,up:d,pr:e}),this!==g||h||g.wake()},f.removeEventListener=function(a,b){var c,d=this._listeners[a];if(d)for(c=d.length;–c>-1;)if(d[c].c===b)return void d.splice(c,1)},f.dispatchEvent=function(a){var b,c,d,e=this._listeners[a];if(e)for(b=e.length,c=this._eventTarget;–b>-1;)d=e[b],d&&(d.up?d.c.call(d.s||c,{type:a,target:c}):d.c.call(d.s||c))};var y=a.requestAnimationFrame,z=a.cancelAnimationFrame,A=Date.now||function(){return(new Date).getTime()},B=A();for(d=[”ms“,”moz“,”webkit“,”o“],e=d.length;–e>-1&&!y;)y=a[d[e]+”RequestAnimationFrame“],z=a[d[e]+”CancelAnimationFrame“]||a[d[e]+”CancelRequestAnimationFrame“];r(”Ticker“,function(a,b){var c,d,e,f,i,j=this,l=A(),n=b!==!1&&y,o=500,p=33,q=”tick“,r=function(a){var b,g,h=A()-B;h>o&&(l+=h-p),B+=h,j.time=(B-l)/1e3,b=j.time-i,(!c||b>0||a===!0)&&(j.frame++,i+=b+(b>=f?.004:f-b),g=!0),a!==!0&&(e=d®),g&&j.dispatchEvent(q)};x.call(j),j.time=j.frame=0,j.tick=function(){r(!0)},j.lagSmoothing=function(a,b){o=a||1/k,p=Math.min(b,o,0)},j.sleep=function(){null!=e&&(n&&z?z(e):clearTimeout(e),d=m,e=null,j===g&&(h=!1))},j.wake=function(){null!==e?j.sleep():j.frame>10&&(B=A()-o+5),d=0===c?m:n&&y?y:function(a){return setTimeout(a,0|1e3*(i-j.time)+1)},j===g&&(h=!0),r(2)},j.fps=function(a){return arguments.length?(c=a,f=1/(c||60),i=this.time+f,void j.wake()):c},j.useRAF=function(a){return arguments.length?(j.sleep(),n=a,void j.fps©):n},j.fps(a),setTimeout(function(){n&&5>j.frame&&j.useRAF(!1)},1500)}),f=j.Ticker.prototype=new j.events.EventDispatcher,f.constructor=j.Ticker;var C=r(”core.Animation“,function(a,b){if(this.vars=b=b||{},this._duration=this._totalDuration=a||0,this._delay=Number(b.delay)||0,this._timeScale=1,this._active=b.immediateRender===!0,this.data=b.data,this._reversed=b.reversed===!0,R){h||g.wake();var c=this.vars.useFrames?Q:R;c.add(this,c._time),this.vars.paused&&this.paused(!0)}});g=C.ticker=new j.Ticker,f=C.prototype,f._dirty=f._gc=f._initted=f._paused=!1,f._totalTime=f._time=0,f._rawPrevTime=-1,f._next=f._last=f._onUpdate=f._timeline=f.timeline=null,f._paused=!1;var D=function(){h&&A()-B>2e3&&g.wake(),setTimeout(D,2e3)};D(),f.play=function(a,b){return null!=a&&this.seek(a,b),this.reversed(!1).paused(!1)},f.pause=function(a,b){return null!=a&&this.seek(a,b),this.paused(!0)},f.resume=function(a,b){return null!=a&&this.seek(a,b),this.paused(!1)},f.seek=function(a,b){return this.totalTime(Number(a),b!==!1); },f.restart=function(a,b){return this.reversed(!1).paused(!1).totalTime(a?-this._delay:0,b!==!1,!0)},f.reverse=function(a,b){return null!=a&&this.seek(a||this.totalDuration(),b),this.reversed(!0).paused(!1)},f.render=function(){},f.invalidate=function(){return this._time=this._totalTime=0,this._initted=this._gc=!1,this._rawPrevTime=-1,(this._gc||!this.timeline)&&this._enabled(!0),this},f.isActive=function(){var a,b=this._timeline,c=this._startTime;return!b||!this._gc&&!this._paused&&b.isActive()&&(a=b.rawTime())>=c&&c+this.totalDuration()/this._timeScale>a},f._enabled=function(a,b){return h||g.wake(),this._gc=!a,this._active=this.isActive(),b!==!0&&(a&&!this.timeline?this._timeline.add(this,this._startTime-this._delay):!a&&this.timeline&&this._timeline._remove(this,!0)),!1},f._kill=function(){return this._enabled(!1,!1)},f.kill=function(a,b){return this._kill(a,b),this},f._uncache=function(a){for(var b=a?this:this.timeline;b;)b._dirty=!0,b=b.timeline;return this},f._swapSelfInParams=function(a){for(var b=a.length,c=a.concat();–b>-1;)”{self}“===a[b]&&(c[b]=this);return c},f._callback=function(a){var b=this.vars;b[a].apply(b[a+”Scope“]||b.callbackScope||this,b[a+”Params“]||t)},f.eventCallback=function(a,b,c,d){if(”on“===(a||”“).substr(0,2)){var e=this.vars;if(1===arguments.length)return e[a];null==b?delete e[a]:(e[a]=b,e[a+”Params“]=n©&&-1!==c.join(”“).indexOf(”{self}“)?this._swapSelfInParams©:c,e[a+”Scope“]=d),”onUpdate“===a&&(this._onUpdate=b)}return this},f.delay=function(a){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+a-this._delay),this._delay=a,this):this._delay},f.duration=function(a){return arguments.length?(this._duration=this._totalDuration=a,this._uncache(!0),this._timeline.smoothChildTiming&&this._time>0&&this._timeN+
)]||(M[f]={target:a,tweens:[]}),b&&(d=M[f].tweens,d[e=d.length]=b,c))for(;–e>-1;)d[e]===b&&d.splice(e,1);return M[f].tweens},V=function(a,b,c,d){var e,f,g=a.vars.onOverwrite;return g&&(e=g(a,b,c,d)),g=F.onOverwrite,g&&(f=g(a,b,c,d)),e!==!1&&f!==!1},W=function(a,b,c,d,e){var f,g,h,i;if(1===d||d>=4){for(i=e.length,f=0;i>f;f++)if((h=e[f])!==b)h._gc||h._kill(null,a,b)&&(g=!0);else if(5===d)break;return g}var j,l=b._startTime+k,m=[],n=0,o=0===b._duration;for(f=e.length;–f>-1;)(h=e[f])===b||h._gc||h._paused||(h._timeline!==b._timeline?(j=j||X(b,0,o),0===X(h,j,o)&&(m[n++]=h)):l>=h._startTime&&h._startTime+h.totalDuration()/h._timeScale>l&&((o||!h._initted)&&2e-10>=l-h._startTime||(m[n++]=h)));for(f=n;–f>-1;)if(h=m[f],2===d&&h._kill(c,a,b)&&(g=!0),2!==d||!h._firstPT&&h._initted){if(2!==d&&!V(h,b))continue;h._enabled(!1,!1)&&(g=!0)}return g},X=function(a,b,c){for(var d=a._timeline,e=d._timeScale,f=a._startTime;d._timeline;){if(f+=d._startTime,e*=d._timeScale,d._paused)return-100;d=d._timeline}return f/=e,f>b?f-b:c&&f===b||!a._initted&&2*k>f-b?k:(f+=a.totalDuration()/a._timeScale/e)>b+k?0:f-b-k};f._init=function(){var a,b,c,d,e,f=this.vars,g=this._overwrittenProps,h=this._duration,i=!!f.immediateRender,j=f.ease;if(f.startAt){this._startAt&&(this._startAt.render(-1,!0),this._startAt.kill()),e={};for(d in f.startAt)e[d]=f.startAt[d];if(e.overwrite=!1,e.immediateRender=!0,e.lazy=i&&f.lazy!==!1,e.startAt=e.delay=null,this._startAt=F.to(this.target,0,e),i)if(this._time>0)this._startAt=null;else if(0!==h)return}else if(f.runBackwards&&0!==h)if(this._startAt)this._startAt.render(-1,!0),this._startAt.kill(),this._startAt=null;else{0!==this._time&&(i=!1),c={};for(d in f)O[d]&&”autoCSS“!==d||(c[d]=f[d]);if(c.overwrite=0,c.data=”isFromStart“,c.lazy=i&&f.lazy!==!1,c.immediateRender=i,this._startAt=F.to(this.target,0,c),i){if(0===this._time)return}else this._startAt._init(),this._startAt._enabled(!1),this.vars.immediateRender&&(this._startAt=null)}if(this._ease=j=j?j instanceof u?j:”function“==typeof j?new u(j,f.easeParams):v[j]||F.defaultEase:F.defaultEase,f.easeParams instanceof Array&&j.config&&(this._ease=j.config.apply(j,f.easeParams)),this._easeType=this._ease._type,this._easePower=this._ease._power,this._firstPT=null,this._targets)for(a=this._targets.length;–a>-1;)this._initProps(this._targets[a],this._propLookup[a]={},this._siblings[a],g?g[a]:null)&&(b=!0);else b=this._initProps(this.target,this._propLookup,this._siblings,g);if(b&&F._onPluginEvent(”_onInitAllProps“,this),g&&(this._firstPT||”function“!=typeof this.target&&this._enabled(!1,!1)),f.runBackwards)for(c=this._firstPT;c;)c.s+=c.c,c.c=-c.c,c=c._next;this._onUpdate=f.onUpdate,this._initted=!0},f._initProps=function(b,c,d,e){var f,g,h,i,j,k;if(null==b)return!1;J[b._gsTweenID]&&T(),this.vars.css||b.style&&b!==a&&b.nodeType&&L.css&&this.vars.autoCSS!==!1&&H(this.vars,b);for(f in this.vars){if(k=this.vars[f],O[f])k&&(k instanceof Array||k.push&&n(k))&&-1!==k.join(”“).indexOf(”{self}“)&&(this.vars[f]=k=this._swapSelfInParams(k,this));else if(L[f]&&(i=new L[f])._onInitTween(b,this.vars[f],this)){for(this._firstPT=j={_next:this._firstPT,t:i,p:”setRatio“,s:0,c:1,f:!0,n:f,pg:!0,pr:i._priority},g=i._overwriteProps.length;–g>-1;)c[i._overwriteProps[g]]=this._firstPT;(i._priority||i._onInitAllProps)&&(h=!0),(i._onDisable||i._onEnable)&&(this._notifyPluginsOfEnabled=!0)}else this._firstPT=c[f]=j={_next:this._firstPT,t:b,p:f,f:”function“==typeof b[f],n:f,pg:!1,pr:0},j.s=j.f?b[f.indexOf(”set“)||”function“!=typeof b[”get“+f.substr(3)]?f:”get“+f.substr(3)]():parseFloat(b[f]),j.c=”string“==typeof k&&”=“===k.charAt(1)?parseInt(k.charAt(0)+”1“,10)*Number(k.substr(2)):Number(k)-j.s||0;j&&j._next&&(j._next._prev=j)}return e&&this._kill(e,b)?this._initProps(b,c,d,e):this._overwrite>1&&this._firstPT&&d.length>1&&W(b,this,c,this._overwrite,d)?(this._kill(c,b),this._initProps(b,c,d,e)):(this._firstPT&&(this.vars.lazy!==!1&&this._duration||this.vars.lazy&&!this._duration)&&(J[b._gsTweenID]=!0),h)},f.render=function(a,b,c){var d,e,f,g,h=this._time,i=this._duration,j=this._rawPrevTime;if(a>=i)this._totalTime=this._time=i,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1,this._reversed||(d=!0,e=”onComplete“,c=c||this._timeline.autoRemoveChildren),0===i&&(this._initted||!this.vars.lazy||c)&&(this._startTime===this._timeline._duration&&(a=0),(0===a||0>j||j===k&&”isPause“!==this.data)&&j!==a&&(c=!0,j>k&&(e=”onReverseComplete“)),this._rawPrevTime=g=!b||a||j===a?a:k);else if(1e-7>a)this._totalTime=this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==h||0===i&&j>0)&&(e=”onReverseComplete“,d=this._reversed),0>a&&(this._active=!1,0===i&&(this._initted||!this.vars.lazy||c)&&(j>=0&&(j!==k||”isPause“!==this.data)&&(c=!0),this._rawPrevTime=g=!b||a||j===a?a:k)),this._initted||(c=!0);else if(this._totalTime=this._time=a,this._easeType){var l=a/i,m=this._easeType,n=this._easePower;(1===m||3===m&&l>=.5)&&(l=1-l),3===m&&(l*=2),1===n?l*=l:2===n?l*=l*l:3===n?l*=l*l*l:4===n&&(l*=l*l*l*l),this.ratio=1===m?1-l:2===m?l:.5>a/i?l/2:1-l/2}else this.ratio=this._ease.getRatio(a/i);if(this._time!==h||c){if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!c&&this._firstPT&&(this.vars.lazy!==!1&&this._duration||this.vars.lazy&&!this._duration))return this._time=this._totalTime=h,this._rawPrevTime=j,I.push(this),void(this._lazy=[a,b]);this._time&&!d?this.ratio=this._ease.getRatio(this._time/i):d&&this._ease._calcEnd&&(this.ratio=this._ease.getRatio(0===this._time?0:1))}for(this._lazy!==!1&&(this._lazy=!1),this._active||!this._paused&&this._time!==h&&a>=0&&(this._active=!0),0===h&&(this._startAt&&(a>=0?this._startAt.render(a,b,c):e||(e=”_dummyGS“)),this.vars.onStart&&(0!==this._time||0===i)&&(b||this._callback(”onStart“))),f=this._firstPT;f;)f.f?f.t[f.p](f.c*this.ratio+f.s):f.t[f.p]=f.c*this.ratio+f.s,f=f._next;this._onUpdate&&(0>a&&this._startAt&&a!==-1e-4&&this._startAt.render(a,b,c),b||(this._time!==h||d)&&this._callback(”onUpdate“)),e&&(!this._gc||c)&&(0>a&&this._startAt&&!this._onUpdate&&a!==-1e-4&&this._startAt.render(a,b,c),d&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!b&&this.vars[e]&&this._callback(e),0===i&&this._rawPrevTime===k&&g!==k&&(this._rawPrevTime=0))}},f._kill=function(a,b,c){if(”all“===a&&(a=null),null==a&&(null==b||b===this.target))return this._lazy=!1,this._enabled(!1,!1);b=”string“!=typeof b?b||this._targets||this.target:F.selector(b)||b;var d,e,f,g,h,i,j,k,l,m=c&&this._time&&c._startTime===this._startTime&&this._timeline===c._timeline;if((n(b)||G(b))&&”number“!=typeof b[0])for(d=b.length;–d>-1;)this._kill(a,b[d],c)&&(i=!0);else{if(this._targets){for(d=this._targets.length;–d>-1;)if(b===this._targets[d]){h=this._propLookup[d]||{},this._overwrittenProps=this._overwrittenProps||[],e=this._overwrittenProps[d]=a?this._overwrittenProps[d]||{}:”all“;break}}else{if(b!==this.target)return!1;h=this._propLookup,e=this._overwrittenProps=a?this._overwrittenProps||{}:”all“}if(h){if(j=a||h,k=a!==e&&”all“!==e&&a!==h&&(”object“!=typeof a||!a._tempKill),c&&(F.onOverwrite||this.vars.onOverwrite)){for(f in j)h[f]&&(l||(l=[]),l.push(f));if((l||!a)&&!V(this,c,b,l))return!1}for(f in j)(g=h[f])&&(m&&(g.f?g.t[g.p](g.s):g.t[g.p]=g.s,i=!0),g.pg&&g.t._kill(j)&&(i=!0),g.pg&&0!==g.t._overwriteProps.length||(g._prev?g._prev._next=g._next:g===this._firstPT&&(this._firstPT=g._next),g._next&&(g._next._prev=g._prev),g._next=g._prev=null),delete h[f]),k&&(e[f]=1);!this._firstPT&&this._initted&&this._enabled(!1,!1)}}return i},f.invalidate=function(){return this._notifyPluginsOfEnabled&&F._onPluginEvent(”_onDisable“,this),this._firstPT=this._overwrittenProps=this._startAt=this._onUpdate=null,this._notifyPluginsOfEnabled=this._active=this._lazy=!1,this._propLookup=this._targets?{}:[],C.prototype.invalidate.call(this),this.vars.immediateRender&&(this._time=-k,this.render(-this._delay)),this},f._enabled=function(a,b){if(h||g.wake(),a&&this._gc){var c,d=this._targets;if(d)for(c=d.length;–c>-1;)this._siblings[c]=U(d[c],this,!0);else this._siblings=U(this.target,this,!0)}return C.prototype._enabled.call(this,a,b),this._notifyPluginsOfEnabled&&this._firstPT?F._onPluginEvent(a?”_onEnable“:”_onDisable“,this):!1},F.to=function(a,b,c){return new F(a,b,c)},F.from=function(a,b,c){return c.runBackwards=!0,c.immediateRender=0!=c.immediateRender,new F(a,b,c)},F.fromTo=function(a,b,c,d){return d.startAt=c,d.immediateRender=0!=d.immediateRender&&0!=c.immediateRender,new F(a,b,d)},F.delayedCall=function(a,b,c,d,e){return new F(b,0,{delay:a,onComplete:b,onCompleteParams:c,callbackScope:d,onReverseComplete:b,onReverseCompleteParams:c,immediateRender:!1,lazy:!1,useFrames:e,overwrite:0})},F.set=function(a,b){return new F(a,0,b)},F.getTweensOf=function(a,b){if(null==a)return[];a=”string“!=typeof a?a:F.selector(a)||a;var c,d,e,f;if((n(a)||G(a))&&”number“!=typeof a[0]){for(c=a.length,d=[];–c>-1;)d=d.concat(F.getTweensOf(a[c],b));for(c=d.length;–c>-1;)for(f=d[c],e=c;–e>-1;)f===d[e]&&d.splice(c,1)}else for(d=U(a).concat(),c=d.length;–c>-1;)(d[c]._gc||b&&!d[c].isActive())&&d.splice(c,1);return d},F.killTweensOf=F.killDelayedCallsTo=function(a,b,c){”object“==typeof b&&(c=b,b=!1);for(var d=F.getTweensOf(a,b),e=d.length;–e>-1;)d[e]._kill(c,a)};var Y=r(”plugins.TweenPlugin“,function(a,b){this._overwriteProps=(a||”“).split(”,“),this._propName=this._overwriteProps[0],this._priority=b||0,this._super=Y.prototype},!0);if(f=Y.prototype,Y.version=”1.10.1“,Y.API=2,f._firstPT=null,f._addTween=function(a,b,c,d,e,f){var g,h;return null!=d&&(g=”number“==typeof d||”=“!==d.charAt(1)?Number(d)-Number©:parseInt(d.charAt(0)+”1“,10)*Number(d.substr(2)))?(this._firstPT=h={_next:this._firstPT,t:a,p:b,s:c,c:g,f:”function“==typeof a[b],n:e||b,r:f},h._next&&(h._next._prev=h),h):void 0},f.setRatio=function(a){for(var b,c=this._firstPT,d=1e-6;c;)b=c.c*a+c.s,c.r?b=Math.round(b):d>b&&b>-d&&(b=0),c.f?c.t[c.p](b):c.t[c.p]=b,c=c._next},f._kill=function(a){var b,c=this._overwriteProps,d=this._firstPT;if(null!=a[this._propName])this._overwriteProps=[];else for(b=c.length;–b>-1;)null!=a[c[b]]&&c.splice(b,1);for(;d;)null!=a[d.n]&&(d._next&&(d._next._prev=d._prev),d._prev?(d._prev._next=d._next,d._prev=null):this._firstPT===d&&(this._firstPT=d._next)),d=d._next;return!1},f._roundProps=function(a,b){for(var c=this._firstPT;c;)(a[this._propName]||null!=c.n&&a[c.n.split(this._propName+”_“).join(”“)])&&(c.r=b),c=c._next},F._onPluginEvent=function(a,b){var c,d,e,f,g,h=b._firstPT;if(”_onInitAllProps“===a){for(;h;){for(g=h._next,d=e;d&&d.pr>h.pr;)d=d._next;(h._prev=d?d._prev:f)?h._prev._next=h:e=h,(h._next=d)?d._prev=h:f=h,h=g}h=b._firstPT=e}for(;h;)h.pg&&”function“==typeof h.t[a]&&h.t[a]()&&(c=!0),h=h._next;return c},Y.activate=function(a){for(var b=a.length;–b>-1;)a[b].API===Y.API&&(L[(new a[b])._propName]=a[b]);return!0},q.plugin=function(a){if(!(a&&a.propName&&a.init&&a.API))throw”illegal plugin definition.“;var b,c=a.propName,d=a.priority||0,e=a.overwriteProps,f={init:”_onInitTween“,set:”setRatio“,kill:”_kill“,round:”_roundProps“,initAll:”_onInitAllProps“},g=r(”plugins.“+c.charAt(0).toUpperCase()+c.substr(1)+”Plugin“,function(){Y.call(this,c,d),this._overwriteProps=e||[]},a.global===!0),h=g.prototype=new Y©;h.constructor=g,g.API=a.API;for(b in f)”function“==typeof a[b]&&(h[f[b]]=a[b]);return g.version=a.version,Y.activate([g]),g},d=a._gsQueue){for(e=0;d.length>e;e++)d[e]();for(f in o)o[f].func||a.console.log(”GSAP encountered missing dependency: com.greensock.“+f)}h=!1}}(”undefined“!=typeof module&&module.exports&&”undefined“!=typeof global?global:this||window,”TweenLite“),function(a,b){”use strict“;a.addEventListener(”DOMContentLoaded“,function(){var c=b.location.href.replace(b.location.hash,”“);[].slice.call(a.querySelectorAll(”use[*|href]“)).filter(function(a){return 0===a.getAttribute(”xlink:href“).indexOf(”#“)}).forEach(function(a){a.setAttribute(”xlink:href“,c.replace(”#“,”“)+a.getAttribute(”xlink:href“))})},!1)}(document,window),!function(a){function b(){}function c(a){function c(b){b.prototype.option||(b.prototype.option=function(b){a.isPlainObject(b)&&(this.options=a.extend(!0,this.options,b))})}function e(b,c){a.fn[b]=function(e){if(”string“==typeof e){for(var g=d.call(arguments,1),h=0,i=this.length;i>h;h++){var j=this[h],k=a.data(j,b);if(k)if(a.isFunction(k[e])&&”_“!==e.charAt(0)){var l=k[e].apply(k,g);if(void 0!==l)return l}else f(”no such method ’“e
”‘ for “b
” instance“);else f(”cannot call methods on “b
” prior to initialization; attempted to call ’“e
”‘“)}return this}return this.each(function(){var d=a.data(this,b);d?(d.option(e),d._init()):(d=new c(this,e),a.data(this,b,d))})}}if(a){var f=”undefined“==typeof console?b:function(a){console.error(a)};return a.bridget=function(a,b){c(b),e(a,b)},a.bridget}}var d=Array.prototype.slice;”function“==typeof define&&define.amd?define(”jquery-bridget/jquery.bridget“,[”jquery“],c):c(”object“==typeof exports?require(”jquery“):a.jQuery)}(window),function(a){function b(b){var c=a.event;return c.target=c.target||c.srcElement||b,c}var c=document.documentElement,d=function(){};c.addEventListener?d=function(a,b,c){a.addEventListener(b,c,!1)}:c.attachEvent&&(d=function(a,c,d){a[c+d]=d.handleEvent?function(){var c=b(a);d.handleEvent.call(d,c)}:function(){var c=b(a);d.call(a,c)},a.attachEvent(”on“+c,a[c+d])});var e=function(){};c.removeEventListener?e=function(a,b,c){a.removeEventListener(b,c,!1)}:c.detachEvent&&(e=function(a,b,c){a.detachEvent(”on“+b,a[b+c]);try{delete a[b+c]}catch(d){a[b+c]=void 0}});var f={bind:d,unbind:e};”function“==typeof define&&define.amd?define(”eventie/eventie“,f):”object“==typeof exports?module.exports=f:a.eventie=f}(window),function(){function a(){}function b(a,b){for(var c=a.length;c–;)if(a[c].listener===b)return c;return-1}function c(a){return function(){return this[a].apply(this,arguments)}}var d=a.prototype,e=this,f=e.EventEmitter;d.getListeners=function(a){var b,c,d=this._getEvents();if(a instanceof RegExp){b={};for(c in d)d.hasOwnProperty©&&a.test©&&(b[c]=d[c])}else b=d[a]||(d[a]=[]);return b},d.flattenListeners=function(a){var b,c=[];for(b=0;bc
”. Are you running this code in a hidden iframe on Firefox? See http://bit.ly/getsizebug1“),c}}(),k=c(”boxSizing“)){var e=document.createElement(”div“);e.style.width=”200px“,e.style.padding=”1px 2px 3px 4px“,e.style.borderStyle=”solid“,e.style.borderWidth=”1px 2px 3px 4px“,e.style[k]=”border-box“;var g=document.body||document.documentElement;g.appendChild(e);var h=j(e);l=200===b(h.width),g.removeChild(e)}}}function h(a){if(e(),”string“==typeof a&&(a=document.querySelector(a)),a&&”object“==typeof a&&a.nodeType){var c=j(a);if(”none“===c.display)return d();var f={};f.width=a.offsetWidth,f.height=a.offsetHeight;for(var h=f.isBorderBox=!(!k||!c[k]||”border-box“!==c[k]),m=0,n=g.length;n>m;m++){var o=g[m],p=c[o];p=i(a,p);var q=parseFloat(p);f[o]=isNaN(q)?0:q}var r=f.paddingLeft+f.paddingRight,s=f.paddingTop+f.paddingBottom,t=f.marginLeft+f.marginRight,u=f.marginTop+f.marginBottom,v=f.borderLeftWidth+f.borderRightWidth,w=f.borderTopWidth+f.borderBottomWidth,x=h&&l,y=b(c.width);y!==!1&&(f.width=y+(x?0:r+v));var z=b(c.height);return z!==!1&&(f.height=z+(x?0:s+w)),f.innerWidth=f.width-(r+v),f.innerHeight=f.height-(s+w),f.outerWidth=f.width+t,f.outerHeight=f.height+u,f}}function i(b,c){if(a.getComputedStyle||-1===c.indexOf(”%“))return c;var d=b.style,e=d.left,f=b.runtimeStyle,g=f&&f.left;return g&&(f.left=b.currentStyle.left),d.left=c,c=d.pixelLeft,d.left=e,g&&(f.left=g),c}var j,k,l,m=!1;return h}var f=”undefined“==typeof console?c:function(a){console.error(a)},g=[”paddingLeft“,”paddingRight“,”paddingTop“,”paddingBottom“,”marginLeft“,”marginRight“,”marginTop“,”marginBottom“,”borderLeftWidth“,”borderRightWidth“,”borderTopWidth“,”borderBottomWidth“];”function“==typeof define&&define.amd?define(”get-size/get-size“,[”get-style-property/get-style-property“],e):”object“==typeof exports?module.exports=e(require(”desandro-get-style-property“)):a.getSize=e(a.getStyleProperty)}(window),function(a){function b(a){”function“==typeof a&&(b.isReady?a():g.push(a))}function c(a){var c=”readystatechange“===a.type&&”complete“!==f.readyState;b.isReady||c||d()}function d(){b.isReady=!0;for(var a=0,c=g.length;c>a;a++){var d=g[a];d()}}function e(e){return”complete“===f.readyState?d():(e.bind(f,”DOMContentLoaded“,c),e.bind(f,”readystatechange“,c),e.bind(a,”load“,c)),b}var f=a.document,g=[];b.isReady=!1,”function“==typeof define&&define.amd?define(”doc-ready/doc-ready“,[”eventie/eventie“],e):”object“==typeof exports?module.exports=e(require(”eventie“)):a.docReady=e(a.eventie)}(window),function(a){function b(a,b){return a[g](b)}function c(a){if(!a.parentNode){var b=document.createDocumentFragment();b.appendChild(a)}}function d(a,b){c(a);for(var d=a.parentNode.querySelectorAll(b),e=0,f=d.length;f>e;e++)if(d[e]===a)return!0;return!1}function e(a,d){return c(a),b(a,d)}var f,g=function(){if(a.matches)return”matches“;if(a.matchesSelector)return”matchesSelector“;for(var b=[”webkit“,”moz“,”ms“,”o“],c=0,d=b.length;d>c;c++){var e=b[c],f=e+”MatchesSelector“;if(a[f])return f}}();if(g){var h=document.createElement(”div“),i=b(h,”div“);f=i?b:e}else f=d;”function“==typeof define&&define.amd?define(”matches-selector/matches-selector“,[],function(){return f}):”object“==typeof exports?module.exports=f:window.matchesSelector=f}(Element.prototype),function(a,b){”function“==typeof define&&define.amd?define(”fizzy-ui-utils/utils“,[”doc-ready/doc-ready“,”matches-selector/matches-selector“],function(c,d){return b(a,c,d)}):”object“==typeof exports?module.exports=b(a,require(”doc-ready“),require(”desandro-matches-selector“)):a.fizzyUIUtils=b(a,a.docReady,a.matchesSelector)}(window,function(a,b,c){var d={};d.extend=function(a,b){for(var c in b)a[c]=b[c];return a},d.modulo=function(a,b){return(a%b+b)%b};var e=Object.prototype.toString;d.isArray=function(a){return”[object Array]“==e.call(a)},d.makeArray=function(a){var b=[];if(d.isArray(a))b=a;else if(a&&”number“==typeof a.length)for(var c=0,e=a.length;e>c;c++)b.push(a[c]);else b.push(a);return b},d.indexOf=Array.prototype.indexOf?function(a,b){return a.indexOf(b)}:function(a,b){for(var c=0,d=a.length;d>c;c++)if(a[c]===b)return c;return-1},d.removeFrom=function(a,b){var c=d.indexOf(a,b);-1!=c&&a.splice(c,1)},d.isElement=”function“==typeof HTMLElement||”object“==typeof HTMLElement?function(a){return a instanceof HTMLElement}:function(a){return a&&”object“==typeof a&&1==a.nodeType&&”string“==typeof a.nodeName},d.setText=function(){function a(a,c){b=b||(void 0!==document.documentElement.textContent?”textContent“:”innerText“),a[b]=c}var b;return a}(),d.getParent=function(a,b){for(;a!=document.body;)if(a=a.parentNode,c(a,b))return a},d.getQueryElement=function(a){return”string“==typeof a?document.querySelector(a):a},d.handleEvent=function(a){var b=”on“+a.type;this[b]&&this[b](a)},d.filterFindElements=function(a,b){a=d.makeArray(a);for(var e=[],f=0,g=a.length;g>f;f++){var h=a[f];if(d.isElement(h))if(b){c(h,b)&&e.push(h);for(var i=h.querySelectorAll(b),j=0,k=i.length;k>j;j++)e.push(i[j])}else e.push(h)}return e},d.debounceMethod=function(a,b,c){var d=a.prototype[b],e=b+”Timeout“;a.prototype[b]=function(){var a=this[e];a&&clearTimeout(a);var b=arguments,f=this;this[e]=setTimeout(function(){d.apply(f,b),delete f[e]},c||100)}},d.toDashed=function(a){return a.replace(/(.)([A-Z])/g,function(a,b,c){return b+”-“+c}).toLowerCase()};var f=a.console;return d.htmlInit=function(c,e){b(function(){for(var b=d.toDashed(e),g=document.querySelectorAll(”.js-“+b),h=”data-“b
”-options“,i=0,j=g.length;j>i;i++){ var k,l=g[i],m=l.getAttribute(h);try{k=m&&JSON.parse(m)}catch(n){f&&f.error(”Error parsing “h
” on “+l.nodeName.toLowerCase()+(l.id?”#“+l.id:”“)+”: “+n);continue}var o=new c(l,k),p=a.jQuery;p&&p.data(l,e,o)}})},d}),function(a,b){”function“==typeof define&&define.amd?define(”outlayer/item“,[”eventEmitter/EventEmitter“,”get-size/get-size“,”get-style-property/get-style-property“,”fizzy-ui-utils/utils“],function(c,d,e,f){return b(a,c,d,e,f)}):”object“==typeof exports?module.exports=b(a,require(”wolfy87-eventemitter“),require(”get-size“),require(”desandro-get-style-property“),require(”fizzy-ui-utils“)):(a.Outlayer={},a.Outlayer.Item=b(a,a.EventEmitter,a.getSize,a.getStyleProperty,a.fizzyUIUtils))}(window,function(a,b,c,d,e){function f(a){for(var b in a)return!1;return b=null,!0}function g(a,b){a&&(this.element=a,this.layout=b,this.position={x:0,y:0},this._create())}function h(a){return a.replace(/([A-Z])/g,function(a){return”-“+a.toLowerCase()})}var i=a.getComputedStyle,j=i?function(a){return i(a,null)}:function(a){return a.currentStyle},k=d(”transition“),l=d(”transform“),m=k&&l,n=!!d(”perspective“),o={WebkitTransition:”webkitTransitionEnd“,MozTransition:”transitionend“,OTransition:”otransitionend“,transition:”transitionend“}[k],p=,q=function(){for(var a={},b=0,c=p.length;c>b;b++){var e=p[b],f=d(e);f&&f!==e&&(a[e]=f)}return a}();e.extend(g.prototype,b.prototype),g.prototype._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:”absolute“})},g.prototype.handleEvent=function(a){var b=”on“+a.type;this[b]&&this[b](a)},g.prototype.getSize=function(){this.size=c(this.element)},g.prototype.css=function(a){var b=this.element.style;for(var c in a){var d=q[c]||c;b[d]=a[c]}},g.prototype.getPosition=function(){var a=j(this.element),b=this.layout.options,c=b.isOriginLeft,d=b.isOriginTop,e=a[c?”left“:”right“],f=a[d?”top“:”bottom“],g=this.layout.size,h=-1!=e.indexOf(”%“)?parseFloat(e)/100*g.width:parseInt(e,10),i=-1!=f.indexOf(”%“)?parseFloat(f)/100*g.height:parseInt(f,10);h=isNaN(h)?0:h,i=isNaN(i)?0:i,h-=c?g.paddingLeft:g.paddingRight,i-=d?g.paddingTop:g.paddingBottom,this.position.x=h,this.position.y=i},g.prototype.layoutPosition=function(){var a=this.layout.size,b=this.layout.options,c={},d=b.isOriginLeft?”paddingLeft“:”paddingRight“,e=b.isOriginLeft?”left“:”right“,f=b.isOriginLeft?”right“:”left“,g=this.position.x+a[d];c[e]=this.getXValue(g),c[f]=”“;var h=b.isOriginTop?”paddingTop“:”paddingBottom“,i=b.isOriginTop?”top“:”bottom“,j=b.isOriginTop?”bottom“:”top“,k=this.position.y+a[h];c[i]=this.getYValue(k),c[j]=”“,this.css©,this.emitEvent(”layout“,[this])},g.prototype.getXValue=function(a){var b=this.layout.options;return b.percentPosition&&!b.isHorizontal?a/this.layout.size.width*100+”%“:a+”px“},g.prototype.getYValue=function(a){var b=this.layout.options;return b.percentPosition&&b.isHorizontal?a/this.layout.size.height*100+”%“:a+”px“},g.prototype._transitionTo=function(a,b){this.getPosition();var c=this.position.x,d=this.position.y,e=parseInt(a,10),f=parseInt(b,10),g=e===this.position.x&&f===this.position.y;if(this.setPosition(a,b),g&&!this.isTransitioning)return void this.layoutPosition();var h=a-c,i=b-d,j={};j.transform=this.getTranslate(h,i),this.transition({to:j,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})},g.prototype.getTranslate=function(a,b){var c=this.layout.options;return a=c.isOriginLeft?a:-a,b=c.isOriginTop?b:-b,n?”translate3d(“a
”px, “b
”px, 0)“:”translate(“a
”px, “b
”px)“},g.prototype.goTo=function(a,b){this.setPosition(a,b),this.layoutPosition()},g.prototype.moveTo=m?g.prototype._transitionTo:g.prototype.goTo,g.prototype.setPosition=function(a,b){this.position.x=parseInt(a,10),this.position.y=parseInt(b,10)},g.prototype._nonTransition=function(a){this.css(a.to),a.isCleaning&&this._removeStyles(a.to);for(var b in a.onTransitionEnd)a.onTransitionEnd[b].call(this)},g.prototype._transition=function(a){if(!parseFloat(this.layout.options.transitionDuration))return void this._nonTransition(a);var b=this._transn;for(var c in a.onTransitionEnd)b.onEnd[c]=a.onTransitionEnd[c];for(c in a.to)b.ingProperties[c]=!0,a.isCleaning&&(b.clean[c]=!0);if(a.from){this.css(a.from);var d=this.element.offsetHeight;d=null}this.enableTransition(a.to),this.css(a.to),this.isTransitioning=!0};var r=”opacity,“+h(q.transform||”transform“);g.prototype.enableTransition=function(){this.isTransitioning||(this.css({transitionProperty:r,transitionDuration:this.layout.options.transitionDuration}),this.element.addEventListener(o,this,!1))},g.prototype.transition=g.prototype[k?”_transition“:”_nonTransition“],g.prototype.onwebkitTransitionEnd=function(a){this.ontransitionend(a)},g.prototype.onotransitionend=function(a){this.ontransitionend(a)};var s={”-webkit-transform“:”transform“,”-moz-transform“:”transform“,”-o-transform“:”transform“};g.prototype.ontransitionend=function(a){if(a.target===this.element){var b=this._transn,c=s[a.propertyName]||a.propertyName;if(delete b.ingProperties[c],f(b.ingProperties)&&this.disableTransition(),c in b.clean&&(this.element.style[a.propertyName]=”“,delete b.clean[c]),c in b.onEnd){var d=b.onEnd[c];d.call(this),delete b.onEnd[c]}this.emitEvent(”transitionEnd“,[this])}},g.prototype.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(o,this,!1),this.isTransitioning=!1},g.prototype._removeStyles=function(a){var b={};for(var c in a)b[c]=”“;this.css(b)};var t={transitionProperty:”“,transitionDuration:”“};return g.prototype.removeTransitionStyles=function(){this.css(t)},g.prototype.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:”“}),this.emitEvent(”remove“,[this])},g.prototype.remove=function(){if(!k||!parseFloat(this.layout.options.transitionDuration))return void this.removeElem();var a=this;this.once(”transitionEnd“,function(){a.removeElem()}),this.hide()},g.prototype.reveal=function(){delete this.isHidden,this.css({display:”“});var a=this.layout.options,b={},c=this.getHideRevealTransitionEndProperty(”visibleStyle“);b[c]=this.onRevealTransitionEnd,this.transition({from:a.hiddenStyle,to:a.visibleStyle,isCleaning:!0,onTransitionEnd:b})},g.prototype.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent(”reveal“)},g.prototype.getHideRevealTransitionEndProperty=function(a){var b=this.layout.options[a];if(b.opacity)return”opacity“;for(var c in b)return c},g.prototype.hide=function(){this.isHidden=!0,this.css({display:”“});var a=this.layout.options,b={},c=this.getHideRevealTransitionEndProperty(”hiddenStyle“);b[c]=this.onHideTransitionEnd,this.transition({from:a.visibleStyle,to:a.hiddenStyle,isCleaning:!0,onTransitionEnd:b})},g.prototype.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:”none“}),this.emitEvent(”hide“))},g.prototype.destroy=function(){this.css({position:”“,left:”“,right:”“,top:”“,bottom:”“,transition:”“,transform:”“})},g}),function(a,b){”function“==typeof define&&define.amd?define(”outlayer/outlayer“,[”eventie/eventie“,”eventEmitter/EventEmitter“,”get-size/get-size“,”fizzy-ui-utils/utils“,”./item“],function(c,d,e,f,g){return b(a,c,d,e,f,g)}):”object“==typeof exports?module.exports=b(a,require(”eventie“),require(”wolfy87-eventemitter“),require(”get-size“),require(”fizzy-ui-utils“),require(”./item“)):a.Outlayer=b(a,a.eventie,a.EventEmitter,a.getSize,a.fizzyUIUtils,a.Outlayer.Item)}(window,function(a,b,c,d,e,f){function g(a,b){var c=e.getQueryElement(a);if(!c)return void(h&&h.error(”Bad element for “this.constructor.namespace
”: “+(c||a)));this.element=c,i&&(this.$element=i(this.element)),this.options=e.extend({},this.constructor.defaults),this.option(b);var d=++k;this.element.outlayerGUID=d,l[d]=this,this._create(),this.options.isInitLayout&&this.layout()}var h=a.console,i=a.jQuery,j=function(){},k=0,l={};return g.namespace=”outlayer“,g.Item=f,g.defaults={containerStyle:{position:”relative“},isInitLayout:!0,isOriginLeft:!0,isOriginTop:!0,isResizeBound:!0,isResizingContainer:!0,transitionDuration:”0.4s“,hiddenStyle:{opacity:0,transform:”scale(0.001)“},visibleStyle:{opacity:1,transform:”scale(1)“}},e.extend(g.prototype,c.prototype),g.prototype.option=function(a){e.extend(this.options,a)},g.prototype._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),e.extend(this.element.style,this.options.containerStyle),this.options.isResizeBound&&this.bindResize()},g.prototype.reloadItems=function(){this.items=this._itemize(this.element.children)},g.prototype._itemize=function(a){for(var b=this._filterFindItemElements(a),c=this.constructor.Item,d=[],e=0,f=b.length;f>e;e++){var g=b[e],h=new c(g,this);d.push(h)}return d},g.prototype._filterFindItemElements=function(a){return e.filterFindElements(a,this.options.itemSelector)},g.prototype.getItemElements=function(){for(var a=[],b=0,c=this.items.length;c>b;b++)a.push(this.items[b].element);return a},g.prototype.layout=function(){this._resetLayout(),this._manageStamps();var a=void 0!==this.options.isLayoutInstant?this.options.isLayoutInstant:!this._isLayoutInited;this.layoutItems(this.items,a),this._isLayoutInited=!0},g.prototype._init=g.prototype.layout,g.prototype._resetLayout=function(){this.getSize()},g.prototype.getSize=function(){this.size=d(this.element)},g.prototype._getMeasurement=function(a,b){var c,f=this.options[a];f?(”string“==typeof f?c=this.element.querySelector(f):e.isElement(f)&&(c=f),this[a]=c?d©[b]:f):this[a]=0},g.prototype.layoutItems=function(a,b){a=this._getItemsForLayout(a),this._layoutItems(a,b),this._postLayout()},g.prototype._getItemsForLayout=function(a){for(var b=[],c=0,d=a.length;d>c;c++){var e=a[c];e.isIgnored||b.push(e)}return b},g.prototype._layoutItems=function(a,b){if(this._emitCompleteOnItems(”layout“,a),a&&a.length){for(var c=[],d=0,e=a.length;e>d;d++){var f=a[d],g=this._getItemLayoutPosition(f);g.item=f,g.isInstant=b||f.isLayoutInstant,c.push(g)}this._processLayoutQueue©}},g.prototype._getItemLayoutPosition=function(){return{x:0,y:0}},g.prototype._processLayoutQueue=function(a){for(var b=0,c=a.length;c>b;b++){var d=a[b];this._positionItem(d.item,d.x,d.y,d.isInstant)}},g.prototype._positionItem=function(a,b,c,d){d?a.goTo(b,c):a.moveTo(b,c)},g.prototype._postLayout=function(){this.resizeContainer()},g.prototype.resizeContainer=function(){if(this.options.isResizingContainer){var a=this._getContainerSize();a&&(this._setContainerMeasure(a.width,!0),this._setContainerMeasure(a.height,!1))}},g.prototype._getContainerSize=j,g.prototype._setContainerMeasure=function(a,b){if(void 0!==a){var c=this.size;c.isBorderBox&&(a+=b?c.paddingLeft+c.paddingRight+c.borderLeftWidth+c.borderRightWidth:c.paddingBottom+c.paddingTop+c.borderTopWidth+c.borderBottomWidth),a=Math.max(a,0),this.element.style[b?”width“:”height“]=a+”px“}},g.prototype._emitCompleteOnItems=function(a,b){function c(){e.dispatchEvent(a+”Complete“,null,[b])}function d(){g++,g===f&&c()}var e=this,f=b.length;if(!b||!f)return void c();for(var g=0,h=0,i=b.length;i>h;h++){var j=b[h];j.once(a,d)}},g.prototype.dispatchEvent=function(a,b,c){var d=b?[b].concat©:c;if(this.emitEvent(a,d),i)if(this.$element=this.$element||i(this.element),b){var e=i.Event(b);e.type=a,this.$element.trigger(e,c)}else this.$element.trigger(a,c)},g.prototype.ignore=function(a){var b=this.getItem(a);b&&(b.isIgnored=!0)},g.prototype.unignore=function(a){var b=this.getItem(a);b&&delete b.isIgnored},g.prototype.stamp=function(a){if(a=this._find(a)){this.stamps=this.stamps.concat(a);for(var b=0,c=a.length;c>b;b++){var d=a[b];this.ignore(d)}}},g.prototype.unstamp=function(a){if(a=this._find(a))for(var b=0,c=a.length;c>b;b++){var d=a[b];e.removeFrom(this.stamps,d),this.unignore(d)}},g.prototype._find=function(a){return a?(”string“==typeof a&&(a=this.element.querySelectorAll(a)),a=e.makeArray(a)):void 0},g.prototype._manageStamps=function(){if(this.stamps&&this.stamps.length){this._getBoundingRect();for(var a=0,b=this.stamps.length;b>a;a++){var c=this.stamps[a];this._manageStamp©}}},g.prototype._getBoundingRect=function(){var a=this.element.getBoundingClientRect(),b=this.size;this._boundingRect={left:a.left+b.paddingLeft+b.borderLeftWidth,top:a.top+b.paddingTop+b.borderTopWidth,right:a.right-(b.paddingRight+b.borderRightWidth),bottom:a.bottom-(b.paddingBottom+b.borderBottomWidth)}},g.prototype._manageStamp=j,g.prototype._getElementOffset=function(a){var b=a.getBoundingClientRect(),c=this._boundingRect,e=d(a),f={left:b.left-c.left-e.marginLeft,top:b.top-c.top-e.marginTop,right:c.right-b.right-e.marginRight,bottom:c.bottom-b.bottom-e.marginBottom};return f},g.prototype.handleEvent=function(a){var b=”on“+a.type;this[b]&&this[b](a)},g.prototype.bindResize=function(){this.isResizeBound||(b.bind(a,”resize“,this),this.isResizeBound=!0)},g.prototype.unbindResize=function(){this.isResizeBound&&b.unbind(a,”resize“,this),this.isResizeBound=!1},g.prototype.onresize=function(){function a(){b.resize(),delete b.resizeTimeout}this.resizeTimeout&&clearTimeout(this.resizeTimeout);var b=this;this.resizeTimeout=setTimeout(a,100)},g.prototype.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},g.prototype.needsResizeLayout=function(){var a=d(this.element),b=this.size&&a;return b&&a.innerWidth!==this.size.innerWidth},g.prototype.addItems=function(a){var b=this._itemize(a);return b.length&&(this.items=this.items.concat(b)),b},g.prototype.appended=function(a){var b=this.addItems(a);b.length&&(this.layoutItems(b,!0),this.reveal(b))},g.prototype.prepended=function(a){var b=this._itemize(a);if(b.length){var c=this.items.slice(0);this.items=b.concat©,this._resetLayout(),this._manageStamps(),this.layoutItems(b,!0),this.reveal(b),this.layoutItems©}},g.prototype.reveal=function(a){this._emitCompleteOnItems(”reveal“,a);for(var b=a&&a.length,c=0;b&&b>c;c++){var d=a[c];d.reveal()}},g.prototype.hide=function(a){this._emitCompleteOnItems(”hide“,a);for(var b=a&&a.length,c=0;b&&b>c;c++){var d=a[c];d.hide()}},g.prototype.revealItemElements=function(a){var b=this.getItems(a);this.reveal(b)},g.prototype.hideItemElements=function(a){var b=this.getItems(a);this.hide(b)},g.prototype.getItem=function(a){for(var b=0,c=this.items.length;c>b;b++){var d=this.items[b];if(d.element===a)return d}},g.prototype.getItems=function(a){a=e.makeArray(a);for(var b=[],c=0,d=a.length;d>c;c++){var f=a[c],g=this.getItem(f);g&&b.push(g)}return b},g.prototype.remove=function(a){var b=this.getItems(a);if(this._emitCompleteOnItems(”remove“,b),b&&b.length)for(var c=0,d=b.length;d>c;c++){var f=b[c];f.remove(),e.removeFrom(this.items,f)}},g.prototype.destroy=function(){var a=this.element.style;a.height=”“,a.position=”“,a.width=”“;for(var b=0,c=this.items.length;c>b;b++){var d=this.items[b];d.destroy()}this.unbindResize();var e=this.element.outlayerGUID;delete l[e],delete this.element.outlayerGUID,i&&i.removeData(this.element,this.constructor.namespace)},g.data=function(a){a=e.getQueryElement(a);var b=a&&a.outlayerGUID;return b&&l[b]},g.create=function(a,b){function c(){g.apply(this,arguments)}return Object.create?c.prototype=Object.create(g.prototype):e.extend(c.prototype,g.prototype),c.prototype.constructor=c,c.defaults=e.extend({},g.defaults),e.extend(c.defaults,b),c.prototype.settings={},c.namespace=a,c.data=g.data,c.Item=function(){f.apply(this,arguments)},c.Item.prototype=new f,e.htmlInit(c,a),i&&i.bridget&&i.bridget(a,c),c},g.Item=f,g}),function(a,b){”function“==typeof define&&define.amd?define([”outlayer/outlayer“,”get-size/get-size“,”fizzy-ui-utils/utils“],b):”object“==typeof exports?module.exports=b(require(”outlayer“),require(”get-size“),require(”fizzy-ui-utils“)):a.Masonry=b(a.Outlayer,a.getSize,a.fizzyUIUtils)}(window,function(a,b,c){var d=a.create(”masonry“);return d.prototype._resetLayout=function(){this.getSize(),this._getMeasurement(”columnWidth“,”outerWidth“),this._getMeasurement(”gutter“,”outerWidth“),this.measureColumns();var a=this.cols;for(this.colYs=[];a–;)this.colYs.push(0);this.maxY=0},d.prototype.measureColumns=function(){if(this.getContainerWidth(),!this.columnWidth){var a=this.items[0],c=a&&a.element;this.columnWidth=c&&b©.outerWidth||this.containerWidth}var d=this.columnWidth+=this.gutter,e=this.containerWidth+this.gutter,f=e/d,g=d-e%d,h=g&&1>g?”round“:”floor“;f=Math[h](f),this.cols=Math.max(f,1)},d.prototype.getContainerWidth=function(){var a=this.options.isFitWidth?this.element.parentNode:this.element,c=b(a);this.containerWidth=c&&c.innerWidth},d.prototype._getItemLayoutPosition=function(a){a.getSize();var b=a.size.outerWidth%this.columnWidth,d=b&&1>b?”round“:”ceil“,e=Math[d](a.size.outerWidth/this.columnWidth);e=Math.min(e,this.cols);for(var f=this._getColGroup(e),g=Math.min.apply(Math,f),h=c.indexOf(f,g),i={x:this.columnWidth*h,y:g},j=g+a.size.outerHeight,k=this.cols+1-f.length,l=0;k>l;l++)this.colYs[h+l]=j;return i},d.prototype._getColGroup=function(a){if(2>a)return this.colYs;for(var b=[],c=this.cols+1-a,d=0;c>d;d++){var e=this.colYs.slice(d,d+a);b[d]=Math.max.apply(Math,e)}return b},d.prototype._manageStamp=function(a){var c=b(a),d=this._getElementOffset(a),e=this.options.isOriginLeft?d.left:d.right,f=e+c.outerWidth,g=Math.floor(e/this.columnWidth);g=Math.max(0,g);var h=Math.floor(f/this.columnWidth);h-=f%this.columnWidth?0:1,h=Math.min(this.cols-1,h);for(var i=(this.options.isOriginTop?d.top:d.bottom)+c.outerHeight,j=g;h>=j;j++)this.colYs[j]=Math.max(i,this.colYs[j])},d.prototype._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var a={height:this.maxY};return this.options.isFitWidth&&(a.width=this._getContainerFitWidth()),a},d.prototype._getContainerFitWidth=function(){for(var a=0,b=this.cols;–b&&0===this.colYs[b];)a++;return(this.cols-a)*this.columnWidth-this.gutter},d.prototype.needsResizeLayout=function(){var a=this.containerWidth;return this.getContainerWidth(),a!==this.containerWidth},d}),!function(a){”use strict“;”function“==typeof define&&define.amd?define([”jquery“],a):a(”undefined“!=typeof jQuery?jQuery:window.Zepto)}(function(a){”use strict“;function b(b){var c=b.data;b.isDefaultPrevented()||(b.preventDefault(),a(b.target).ajaxSubmit©)}function c(b){var c=b.target,d=a©;if(!d.is(”[type=submit],[type=image]“)){var e=d.closest(”[type=submit]“);if(0===e.length)return;c=e[0]}var f=this;if(f.clk=c,”image“==c.type)if(void 0!==b.offsetX)f.clk_x=b.offsetX,f.clk_y=b.offsetY;else if(”function“==typeof a.fn.offset){var g=d.offset();f.clk_x=b.pageX-g.left,f.clk_y=b.pageY-g.top}else f.clk_x=b.pageX-c.offsetLeft,f.clk_y=b.pageY-c.offsetTop;setTimeout(function(){f.clk=f.clk_x=f.clk_y=null},100)}function d(){if(a.fn.ajaxSubmit.debug){var b=”[jquery.form] “+Array.prototype.join.call(arguments,”“);window.console&&window.console.log?window.console.log(b):window.opera&&window.opera.postError&&window.opera.postError(b)}}var e={};e.fileapi=void 0!==a(”“).get(0).files,e.formdata=void 0!==window.FormData;var f=!!a.fn.prop;a.fn.attr2=function(){if(!f)return this.attr.apply(this,arguments);var a=this.prop.apply(this,arguments);return a&&a.jquery||”string“==typeof a?a:this.attr.apply(this,arguments)},a.fn.ajaxSubmit=function(b){function c©{var d,e,f=a.param(c,b.traditional).split(”&“),g=f.length,h=[];for(d=0;g>d;d++)f[d]=f[d].replace(/+/g,” “),e=f[d].split(”=“),h.push([decodeURIComponent(e[0]),decodeURIComponent(e[1])]);return h}function g(d){for(var e=new FormData,f=0;f
2
3
4
5
6
7
8
9
0“,c.setAttribute(”style“,b(”font: 100px/1em sans-serif; -webkit-text-size-adjust: none; text-size-adjust: none; height: auto; width: 1em; padding: 0; overflow: visible;“));var d=document.createElement(”div“);d.setAttribute(”style“,b(”width:0; height:0; overflow:hidden; visibility:hidden; position: absolute;“)),d.appendChild©,document.body.appendChild(d);var e=1e3/c.clientHeight;return e=Math.round(100*e)/100,document.body.removeChild(d),{zoom:e,devicePxPerCssPx:e*a()}},i=function(){var a=l(”min–moz-device-pixel-ratio“,”“,0,10,20,1e-4);return a=Math.round(100*a)/100,{zoom:a,devicePxPerCssPx:a}},j=function(){return{zoom:i().zoom,devicePxPerCssPx:a()}},k=function(){var b=window.top.outerWidth/window.top.innerWidth;return b=Math.round(100*b)/100,{zoom:b,devicePxPerCssPx:b*a()}},l=function(a,b,c,d,e,f){function g(c,d,e){var i=(c+d)/2;if(0>=e||f>d-c)return i;var j=”(“a
”:“+i+b+”)“;return h(j).matches?g(i,d,e-1):g(c,i,e-1)}var h,i,j,k;window.matchMedia?h=window.matchMedia:(i=document.getElementsByTagName(”head“)[0],j=document.createElement(”style“),i.appendChild(j),k=document.createElement(”div“),k.className=”mediaQueryBinarySearch“,k.style.display=”none“,document.body.appendChild(k),h=function(a){j.sheet.insertRule(”@media “a
”{.mediaQueryBinarySearch {text-decoration: underline} }“,0);var b=”underline“==getComputedStyle(k,null).textDecoration;return j.sheet.deleteRule(0),{matches:b}});var l=g(c,d,e);return k&&(i.removeChild(j),document.body.removeChild(k)),l},m=function(){var a=b;return isNaN(screen.logicalXDPI)||isNaN(screen.systemXDPI)?window.navigator.msMaxTouchPoints?a=d:window.chrome&&!(window.opera||navigator.userAgent.indexOf(” Opera“)>=0)?a=e:Object.prototype.toString.call(window.HTMLElement).indexOf(”Constructor“)>0?a=f:”orientation“in window&&”webkitRequestAnimationFrame“in window?a=g:”webkitRequestAnimationFrame“in window?a=h:navigator.userAgent.indexOf(”Opera“)>=0?a=k:window.devicePixelRatio?a=j:i().zoom>.001&&(a=i):a=c,a}();return{zoom:function(){return m().zoom},device:function(){return m().devicePxPerCssPx}}}),window.inAction=1,window.allowSlide=1,window.blockScroll=1,window.effectOffset=200,window.effectSpeed=1e3,window.slideSpeed=1e3,window.cleanupDelay=1400,window.horizontalMode=0,window.sidebarShown=0,window.loadingProgress=0,window.smoothScroll=0,window.scrollSpeed=1e3,window.preload=1,window.setHashLink=1,window.hideSidebarOnBodyClick=1,window.collectScrolls=0,window.sliderStatus=0,window.minScrollToSlide=500,window.minSwipeToSlide=35;var $html=$(”html“);window.isMobile=!1,/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)&&(window.isMobile=!0),window.isMobile?$html.addClass(”mobile“):$html.addClass(”desktop“),window.isFirefox=navigator.userAgent.toLowerCase().indexOf(”firefox“)>-1,window.isSafari=/^((?!chrome).)*safari/i.test(navigator.userAgent),window.isChrome=/chrom(e|ium)/.test(navigator.userAgent.toLowerCase()),window.isChromeiOS=navigator.userAgent.match(”CriOS“),window.isMSIE=navigator.userAgent.match(”MSIE“),window.isAndroid=navigator.userAgent.toLowerCase().indexOf(”android“)>-1,window.isiPad=null!==navigator.userAgent.match(/iPad/i),window.isWindows=-1!==navigator.platform.toUpperCase().indexOf(”WIN“),window.isOSX=-1!==navigator.platform.toUpperCase().indexOf(”MAC“),window.isLinux=-1!==navigator.platform.toUpperCase().indexOf(”LINUX“),window.isSafari&&$html.addClass(”safari“),window.isFirefox&&$html.addClass(”firefox“),window.isChrome&&$html.addClass(”chrome“),window.isMSIE&&$html.addClass(”msie“),window.isAndroid&&$html.addClass(”android“),window.isWindows&&$html.addClass(”windows“),window.isOSX&&$html.addClass(”osx“),window.isLinux&&$html.addClass(”linux“),window.isRetina=window.matchMedia&&(window.matchMedia(”only screen and (min-resolution: 124dpi), only screen and (min-resolution: 1.3dppx), only screen and (min-resolution: 48.8dpcm)“).matches||window.matchMedia(”only screen and (-webkit-min-device-pixel-ratio: 1.3), only screen and (-o-min-device-pixel-ratio: 2.6/2), only screen and (min–moz-device-pixel-ratio: 1.3), only screen and (min-device-pixel-ratio: 1.3)“).matches)||window.devicePixelRatio&&window.devicePixelRatio>1.3,window.isRetina&&$html.addClass(”retina“),$(document).ready(function(){”use strict“;function a(){var a=window.location.href.split(”#“)[1];if(a&&$(’.slide[name=”‘a
’“],.slide[data-name=”‘a
’“]‘).length>0){var b=$(’.slide[name=”‘a
’“],.slide[data-name=”‘a
’“]‘);window.isMobile&&window.isSimplifiedMobile||window.isScroll?b.length&&(!window.preload||window.loaded?$(”html,body“).stop().clearQueue().animate({scrollTop:b.position().top},window.effectSpeed):$(window).load(function(){$(”html,body“).stop().clearQueue().animate({scrollTop:b.position().top},window.effectSpeed)})):(window.stage=$(”.slide“).index(b)+1,window.loaded&&window.preload&&c(window.stage))}else l.addClass(”firstSlide stage-1“)}function b(){$html.addClass(”page-loaded“),window.inAction=0,window.blockScroll=0,window.loaded=1,setTimeout(function(){window.isScroll&&(e(),g()),window.isMobile&&window.isSimplifiedMobile?($(”.slide“).addClass(”selected animate active“),e(),g()):c(window.stage)},500)}function c(a){if(a=parseInt(a),!(window.isMobile&&window.isSimplifiedMobile||window.isScroll)){g();var b=$(”.slide“).eq(a-1),c=$(”.slide.selected“),e=c.index(”.slide“)+1;k(),d(),h(),window.allowSlide=1,l.removeClass(”sidebarShown lastSlide firstSlide“),1===window.stage&&l.addClass(”firstSlide“),window.stages===window.stage&&1!==window.stages&&l.addClass(”lastSlide“),l.removeClassByPrefix(”stage-“).addClass(”stage-“+window.stage),b.hasClass(”whiteSlide“)?l.addClass(”whiteSlide“):l.removeClass(”whiteSlide“),e!==a&&(c.removeClass(”selected“).addClass(”active“),b.removeClass(”before after“).addClass(”selected active“),b.prevAll(”.slide“).addClass(”before“).removeClass(”after“),b.nextAll(”.slide“).addClass(”after“).removeClass(”before“),$(window).trigger(”slideChange“,[parseInt(a),b])),window.setHashLink&&(b.attr(”name“)||b.data(”name“)?window.location.hash=b.attr(”name“)?b.attr(”name“):b.data(”name“):window.location.toString().indexOf(”#“)>0&&”file:“!==location.protocol&&location.href.split(”#“)[0]&&(history.pushState?window.history.pushState(”“,”“,location.href.split(”#“)[0]):window.location.hash=”“)),b.find(”.content“).scrollTop(0),window.loaded&&(window.blockScroll=1,setTimeout(function(){e!==a&&c.removeClass(”active animate“),window.blockScroll=0},window.effectSpeed),window.effectOffset>window.slideSpeed&&(window.effectOffset=window.slideSpeed),setTimeout(function(){b.addClass(”animate“)},window.slideSpeed-window.effectOffset),$(”.done“).removeClass(”done“),clearTimeout(window.clearElementAnimation),window.clearElementAnimation=setTimeout(function(){$(”.slide.selected [class*=’ae-‘]“).addClass(”done“)},window.slideSpeed+window.effectSpeed+window.cleanupDelay))}}function d(a){$(”.zoom-overlay-open“).length>0&&($(”.zoom-img“).click(),a&&$(”.zoom-img-wrap, .zoom-overlay“).remove())}function e(){q++,q>=2&&(k(),q=0),$(”.slide“).each(function(a,b){var c=$(b),d=$(document).scrollTop(),e=$(b).offset().top,f=c.height(),h=$(window).height(),i=$(document).height(),j=h/2>f?f/2:h/2,k=h+d-j>e&&e>d-f+j,m=2*((d+h-e)/(h+f)-.5),n=!0;if(0===d&&(n=0===a?!0:!1),d+h===i&&(n=a===window.stages-1?!0:!1),k&&n?(c.prevAll(”.slide“).addClass(”before“).removeClass(”after“),c.nextAll(”.slide“).addClass(”after“).removeClass(”before“),c.addClass(”selected animate active“).removeClass(”after before“),window.stage===c.index(”.slide“)+1&&window.firstTimeTrigger||(window.stage=c.index(”.slide“)+1,$(window).trigger(”slideChange“,[window.stage,c]),1===window.stage?l.addClass(”firstSlide“):l.removeClass(”firstSlide“),window.stages===window.stage?l.addClass(”lastSlide“):l.removeClass(”lastSlide“),l.removeClassByPrefix(”stage-“).addClass(”stage-“+window.stage),c.hasClass(”whiteSlide“)?l.addClass(”whiteSlide“):l.removeClass(”whiteSlide“),”auto“==window.isAnimated&&(window.clearElementAnimation=setTimeout(function(){c.find(”[class*=’ae-‘]“).addClass(”done“)},window.effectSpeed+window.cleanupDelay)),g()),window.firstTimeTrigger||(window.firstTimeTrigger=1,$(window).trigger(”slideChange“,[window.stage,c]))):c.removeClass(”selected“),m>-1&&1>m&&c.hasClass(”parallax“)){var o=c.find(”.background“),p=parseInt(o.data(”velocity“))?parseInt(o.data(”velocity“)):50,q=m*p;p>100&&(p=100),c.find(”.background“).css(”-webkit-transform“,”translate3d(0, “q
”%, 0)“).css(”transform“,”translate3d(0, “q
”%, 0)“)}}),”animateOnScroll“==window.isAnimated&&(window.preload?window.loaded&&$(”[class*=’ae-‘]“).each(function(a,b){var c=$(b);f©&&c.addClass(”do“).one(”webkitAnimationEnd oanimationend msAnimationEnd animationend“,function(){$(this).removeClassByPrefix(”ae-“).removeClass(”do“).addClass(”done“)})}):$(”[class*=’ae-‘]“).each(function(a,b){var c=$(b);f©&&c.addClass(”do“).one(”webkitAnimationEnd oanimationend msAnimationEnd animationend“,function(){$(this).removeClassByPrefix(”ae-“).removeClass(”do“).addClass(”done“)})}))}function f(a){var b=$(window).scrollTop(),c=$(a),d=c.height(),e=$(window).height(),f=b+e,g=c.offset().top,h=g+d;return d>=e/5?f>=g+d/5:g>b&&f>h}function g(){setTimeout(function(){$(w).length>0&&$(w).each(function(a,b){$(b).find(”li.selected“).removeClass(”selected“);var c=$(”.slide.selected“),d=parseInt(c.data(”parent-slide-id“)),e=c.index(”.slide:not(.exclude)“);-1!==e?$(b).find(”li“).eq(e).addClass(”selected“):d&&(e=$(’.slide[data-slide-id=”‘d
’“]‘).index(”.slide:not(.exclude)“),$(b).find(”li“).eq(e).addClass(”selected“))})},100)}function h(){if(window.sidebarShown){$html.removeClass(”sidebarShown“).removeClassByPrefix(”sidebar_“);var a=$(”.sidebar.visible“);a.removeClass(”visible“),window.removeAnimationTimeout=setTimeout(function(){a.removeClass(”animate active“)},500),window.sidebarShown=0,window.allowSlide=1}}function i(){if(window.popupShown){var a=$(”.popup.visible“),b=$(a).find(”iframe“),c=$(a).find(”video“);if(b.length>0){var d=$(b).attr(”src“),e=d.indexOf(”?autoplay“)>-1?”?“:”&“;$(b).attr(”src“,$(b).attr(”src“).replace(e+”autoplay=1“,”“))}else c.length>0&&($©[0].pause(),$©[0].currentTime=0);$html.removeClass(”popupShown“).removeClassByPrefix(”popup_“),clearTimeout(window.clearPopupElementAnimation),setTimeout(function(){$(a).removeClass(”visible animate active“).find(”.done“).removeClass(”done“)},1),window.allowSlide=1,window.popupShown=0}}function j(){var a=$(”.grid.equal, .flex.equal“);a.length&&$(a).each(function(a,b){var c=$(window).width(),d=$(b).hasClass(”later“)?767:1024,e=$(b).find(”.equalElement“),f=$(this).hasClass(”equalMobile“);if(c>=d||f){var g=0;$(e).each(function(a,b){$(b).css(”height“,”auto“),g<$(b).outerHeight()&&(g=$(b).outerHeight())}),$(b).find(".equalElement").each(function(a,b){$(b).css("height",g+"px")})}else $(e).css("height","auto")})}function k(){window.dropdownShown&&($html.removeClass("dropdownShown").removeClassByPrefix("dropdown_"),window.dropdownShown=!1,q=0,$(".dropdown.show").addClass("hide").one("webkitTransitionEnd otransitionend msTransitionEnd transitionend",function(){$(this).removeClass("show hide"),$html.removeClass("dropdownShown").removeClassByPrefix("dropdown_")}))}var l=$("body");setTimeout(function(){$(window).trigger("ready")},1),l.hide().show(0),window.isScroll=l.hasClass("scroll"),window.isSimplifiedMobile=l.hasClass("simplifiedMobile"),(window.isScroll||window.isSimplifiedMobile&&window.isMobile)&&$html.addClass("scrollable"),$html.addClass("page-ready"),l.hasClass("fast")?(window.slideSpeed=700,window.cleanupDelay=1200,window.effectSpeed=800):l.hasClass("slow")&&(window.slideSpeed=1400,window.cleanupDelay=2e3,window.effectSpeed=1400,window.effectOffset=400),window.stage=1,window.stages=$(".slide").length,l.hasClass("horizontal")&&(window.horizontalMode=1),l.hasClass("noPreload")&&(window.preload=0),l.hasClass("animated")?window.isAnimated="auto":l.hasClass("animateOnScroll")&&(window.isAnimated="animateOnScroll",window.isMobile&&(window.isAnimated="auto",l.removeClass("animateOnScroll").addClass("animated"))),window.isSimplifiedMobile&&window.isMobile&&(window.isAnimated=!1,l.removeClass("animated animateOnScroll"),$("[class*='ae-']").addClass("done")),window.isAnimated||(window.cleanupDelay=0),l.hasClass("smoothScroll")&&!window.isMobile&&(window.smoothScroll=1,window.isOSX?(window.isTouchPad=!0,window.isSafari&&(window.isTouchPadDefined=!0)):(window.isTouchPad=!1,window.isFirefox&&(window.isTouchPadDefined=!0))),a(),$(window).on("popstate",function(b){setTimeout(function(){a()},100),b.preventDefault()});window.location.href.split("#")[1];if(window.preload){var m=[];$("*").each(function(){"none"!==$(this).css("background-image")?m.push($(this).css("background-image").replace(/.*\s?url\([\'\"]?/,"").replace(/[\'\"]?\).*/,"")):$(this).is("img")&&m.push($(this).attr("src"))}),window.images=m.length,$.cacheImage(m,{complete:function(){window.loadingProgress++}});var n=setInterval(function(){var a=45*(window.loadingProgress/window.images);$(".loadingIcon .dash").attr("stroke-dasharray",a+",100"),$(".loadingIcon").redraw(),window.loaded&&($(".loadingIcon .dash").attr("stroke-dasharray","100,100"),clearInterval(n))},400)}c(window.stage),window.preload?$(window).load(function(){b(),$(".grid.masonry").masonry({itemSelector:"li",transitionDuration:"0.1s"})}):(b(),$(window).load(function(){$(".grid.masonry").masonry({itemSelector:"li",transitionDuration:"0.1s"})})),$(".animated").on("click","[class*='ae-']:not('.done')",function(){$(this).addClass("done")}),window.changeSlide=function(a){if("increase"===a?a=window.stage+1>=window.stages?window.stages:window.stage+1:”decrease“===a&&(a=window.stage-1<1?1:window.stage-1),window.isMobile&&window.isSimplifiedMobile||window.isScroll){window.stage=a;var b=$(".slide:eq("+(window.stage-1)+")"),e=$(b).offset().top;$("html,body").stop().clearQueue().animate({scrollTop:e},1e3)}else if(a!==window.stage&&a<=window.stages&&1!==window.inAction){window.inAction=1,window.stage=a;var f=0;$(".zoom-overlay-open").length>0&&(d(),f=550),setTimeout(function(){c(window.stage),setTimeout(function(){window.inAction=0},window.slideSpeed)},f)}},$(”.nextSlide“).on(”click“,function(){window.changeSlide(”increase“)}),$(”.prevSlide“).on(”click“,function(){window.changeSlide(”decrease“)}),$(”.toFirstSlide“).on(”click“,function(){window.changeSlide(1),history.pushState?window.history.pushState(”“,”“,location.href.split(”#“)[0]):window.location.hash=”“,h()}),$(”.toLastSlide“).on(”click“,function(){window.changeSlide(window.stages),history.pushState?window.history.pushState(”“,”“,location.href.split(”#“)[0]):window.location.hash=”“,h()}),$(’[class*=”toSlide-“]‘).on(”click“,function(){var a=parseInt($(this).attr(”class“).split(”toSlide-“)[1].split(” “)[0]);window.changeSlide(a),h()}),$(window).on(”resize load ready“,function(){$(’[data-action=”zoom“]‘).removeAttr(”style“),$(”.zoom-overlay“).length>0&&d(”fast“)});var o,p=0;$(”html,body“).on(”DOMMouseScroll mousewheel scroll touchmove“,function(a){var b=$(”.slide.selected .content“),c=Math.ceil(Math.abs(a.deltaY)*a.deltaFactor),d=window.isFirefox?2:1,e=window.isWindows?2*d:d,f=a.originalEvent.wheelDelta?a.originalEvent.wheelDelta:a.deltaY*a.deltaFactor,g=f*d*e,h=a.deltaY>=0?”up“:”down“,i=$(b).scrollTop(),j=$(b).find(”.container“).outerHeight(),k=detectZoom.device(),l=window.isFirefox&&window.isWindows?200:window.minScrollToSlide;if©{if(window.isTouchPadDefined||window.isMobile?Math.abs(a.deltaY)>300&&(window.isTouchPad=!0,window.isTouchPadDefined=!1):(0===p&&(o=(new Date).getTime()),p++,(new Date).getTime()-o>50&&(p>5?window.isTouchPad=!0:window.isTouchPad=!1,window.isTouchPadDefined=!0)),window.isScroll&&!window.sidebarShown&&!window.popupShown&&!window.blockScroll)if(!window.smoothScroll||window.isTouchPad||window.isMobile)window.isWindows||$(b).scrollTop(i-g);else{a.preventDefault(),g>1500&&(g=1500),-1e3>g&&(g=-1500);var m=$(window),n=m.scrollTop(),q=n-g;TweenLite.to(m,window.scrollSpeed/1e3,{scrollTo:{y:q,autoKill:!1},ease:Power4.easeOut,overwrite:”all“})}window.isScroll||window.isMobile&&window.isSimplifiedMobile||(j>$(window).height()&&(window.allowSlide=0,”up“===h&&0===$(b).scrollTop()?window.allowSlide=1:”down“===h&&$(b).scrollTop()+$(window).height()>=Math.floor(j/k)&&(window.allowSlide=1),window.sidebarShown||window.popupShown||window.blockScroll||(window.smoothScroll&&!window.isTouchPad?(a.preventDefault(),g>1500&&(g=1500),-1e3>g&&(g=-1500),TweenLite.to(b,.5,{scrollTo:{y:i-g,autoKill:!1},ease:Power4.easeOut,overwrite:5})):(i=”up“===h?i-c:i+c,$(b).scrollTop(i)))),window.allowSlide&&c&&(”down“==h?window.collectScrolls=window.collectScrolls+c:window.collectScrolls=window.collectScrolls-c,setTimeout(function(){window.collectScrolls=0},200)),Math.abs(window.collectScrolls)>=l&&window.allowSlide&&!window.sidebarShown&&!window.popupShown&&!window.disableOnScroll&&(window.collectScrolls=0,(”down“===h&&window.stage!==window.stages||”up“===h&&1!==window.stage)&&1!==window.inAction&&(”down“===h?window.changeSlide(”increase“):window.changeSlide(”decrease“))))}}),(window.isMobile&&window.isSimplifiedMobile||window.isScroll)&&$(window).on(”DOMMouseScroll mousewheel scroll touchmove load“,function(){e()});var q=0;if($(”.mobile .slides:not(.scroll):not(.simplifiedMobile), .slides.desktopSwipe“).swipe({swipeStatus:function(a,b,c,d){window.allowSwipeUp=1,window.allowSwipeDown=1;var e=$(”.slide.selected .content“),f=Math.floor($(e).find(”.container“).outerHeight()),g=”up“,h=”down“,i=window.minSwipeToSlide,j=window.innerHeight;window.sidebarShown&&(e=$(”.sidebar .content“)),window.popupShown&&(e=$(”.popup .content“)),”start“===b&&(window.scrollTop=$(e).scrollTop()),window.horizontalMode&&(g=”left“,h=”right“),!window.horizontalMode&&f>j&&(window.scrollTop+jb
“. Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1”),b}function e(){if(!k){k=!0;var b=document.createElement(“div”);b.style.width=“200px”,b.style.padding=“1px 2px 3px 4px”,b.style.borderStyle=“solid”,b.style.borderWidth=“1px 2px 3px 4px”,b.style.boxSizing=“border-box”;var c=document.body||document.documentElement;c.appendChild(b);var e=d(b);g=200==Math.round(a(e.width)),f.isBoxSizeOuter=g,c.removeChild(b)}}function f(b){if(e(),“string”==typeof b&&(b=document.querySelector(b)),b&&“object”==typeof b&&b.nodeType){var f=d(b);if(“none”==f.display)return c();var h={};h.width=b.offsetWidth,h.height=b.offsetHeight;for(var k=h.isBorderBox=“border-box”==f.boxSizing,l=0;j>l;l++){var m=i[l],n=f[m],o=parseFloat(n);h[m]=isNaN(o)?0:o}var p=h.paddingLeft+h.paddingRight,q=h.paddingTop+h.paddingBottom,r=h.marginLeft+h.marginRight,s=h.marginTop+h.marginBottom,t=h.borderLeftWidth+h.borderRightWidth,u=h.borderTopWidth+h.borderBottomWidth,v=k&&g,w=a(f.width);w!==!1&&(h.width=w+(v?0:p+t));var x=a(f.height);return x!==!1&&(h.height=x+(v?0:q+u)),h.innerWidth=h.width-(p+t),h.innerHeight=h.height-(q+u),h.outerWidth=h.width+r,h.outerHeight=h.height+s,h}}var g,h=“undefined”==typeof console?b:function(a){console.error(a)},i=[“paddingLeft”,“paddingRight”,“paddingTop”,“paddingBottom”,“marginLeft”,“marginRight”,“marginTop”,“marginBottom”,“borderLeftWidth”,“borderRightWidth”,“borderTopWidth”,“borderBottomWidth”],j=i.length,k=!1;return f}),function(a,b){“use strict”;“function”==typeof define&&define.amd?define(“desandro-matches-selector/matches-selector”,b):“object”==typeof module&&module.exports?module.exports=b():a.matchesSelector=b()}(window,function(){“use strict”;var a=function(){var a=window.Element.prototype;if(a.matches)return“matches”;if(a.matchesSelector)return“matchesSelector”;for(var b=[“webkit”,“moz”,“ms”,“o”],c=0;cg
“ on ”a.className
“: ”+h))}var i=new b(a,c);l&&l.data(a,d,i)})})},c}),function(a,b){“function”==typeof define&&define.amd?define(“flickity/js/cell”,[“get-size/get-size”],function©{return b(a,c)}):“object”==typeof module&&module.exports?module.exports=b(a,require(“get-size”)):(a.Flickity=a.Flickity||{},a.Flickity.Cell=b(a,a.getSize))}(window,function(a,b){function c(a,b){this.element=a,this.parent=b,this.create()}var d=c.prototype;return d.create=function(){this.element.style.position=“absolute”,this.element.setAttribute(“aria-selected”,“false”),this.x=0,this.shift=0},d.destroy=function(){this.element.style.position=“”;var a=this.parent.originSide;this.element.removeAttribute(“aria-selected”),this.element.style[a]=“”},d.getSize=function(){this.size=b(this.element)},d.setPosition=function(a){this.x=a,this.updateTarget(),this.renderPosition(a)},d.updateTarget=d.setDefaultTarget=function(){var a=“left”==this.parent.originSide?“marginLeft”:“marginRight”;this.target=this.x+this.size[a]+this.size.width*this.parent.cellAlign},d.renderPosition=function(a){var b=this.parent.originSide;this.element.style[b]=this.parent.getPositionValue(a)},d.wrapShift=function(a){this.shift=a,this.renderPosition(this.x+this.parent.slideableWidth*a)},d.remove=function(){this.element.parentNode.removeChild(this.element)},c}),function(a,b){“function”==typeof define&&define.amd?define(“flickity/js/slide”,b):“object”==typeof module&&module.exports?module.exports=b():(a.Flickity=a.Flickity||{},a.Flickity.Slide=b())}(window,function(){“use strict”;function a(a){this.parent=a,this.isOriginLeft=“left”==a.originSide,this.cells=[],this.outerWidth=0,this.height=0}var b=a.prototype;return b.addCell=function(a){if(this.cells.push(a),this.outerWidth+=a.size.outerWidth,this.height=Math.max(a.size.outerHeight,this.height),1==this.cells.length){this.x=a.x;var b=this.isOriginLeft?“marginLeft”:“marginRight”;this.firstMargin=a.size[b]}},b.updateTarget=function(){var a=this.isOriginLeft?“marginRight”:“marginLeft”,b=this.getLastCell(),c=b?b.size[a]:0,d=this.outerWidth-(this.firstMargin+c);this.target=this.x+this.firstMargin+d*this.parent.cellAlign},b.getLastCell=function(){return this.cells[this.cells.length-1]},b.select=function(){this.changeSelected(!0)},b.unselect=function(){this.changeSelected(!1)},b.changeSelected=function(a){var b=a?“add”:“remove”;this.cells.forEach(function©{c.element.classList[b](“is-selected”),c.element.setAttribute(“aria-selected”,a.toString())})},b.getCellElements=function(){return this.cells.map(function(a){return a.element})},a}),function(a,b){“function”==typeof define&&define.amd?define(“flickity/js/animate”,[“fizzy-ui-utils/utils”],function©{return b(a,c)}):“object”==typeof module&&module.exports?module.exports=b(a,require(“fizzy-ui-utils”)):(a.Flickity=a.Flickity||{},a.Flickity.animatePrototype=b(a,a.fizzyUIUtils))}(window,function(a,b){var c={};return c.startAnimation=function(){this.isAnimating||(this.isAnimating=!0,this.restingFrames=0,this.animate())},c.animate=function(){this.applyDragForce(),this.applySelectedAttraction();var a=this.x;if(this.integratePhysics(),this.positionSlider(),this.settle(a),this.isAnimating){var b=this;requestAnimationFrame(function(){b.animate()})}},c.positionSlider=function(){var a=this.x;this.options.wrapAround&&this.cells.length>1&&(a=b.modulo(a,this.slideableWidth),a-=this.slideableWidth,this.shiftWrapCells(a)),a+=this.cursorPosition,a=this.options.rightToLeft?-a:a;var c=this.getPositionValue(a);this.slider.style.transform=this.isAnimating?“translate3d(”c
“,0,0)”:“translateX(”c
“)”;var d=this.slides[0];if(d){var e=-this.x-d.target,f=e/this.slidesWidth;this.dispatchEvent(“scroll”,null,[f,e])}},c.positionSliderAtSelected=function(){this.cells.length&&(this.x=-this.selectedSlide.target,this.velocity=0,this.positionSlider())},c.getPositionValue=function(a){return this.options.percentPosition?.01*Math.round(a/this.size.innerWidth*1e4)+“%”:Math.round(a)+“px”},c.settle=function(a){this.isPointerDown||Math.round(100*this.x)!=Math.round(100*a)||this.restingFrames++,this.restingFrames>2&&(this.isAnimating=!1,delete this.isFreeScrolling,this.positionSlider(),this.dispatchEvent(“settle”,null,[this.selectedIndex]))},c.shiftWrapCells=function(a){var b=this.cursorPosition+a;this._shiftCells(this.beforeShiftCells,b,-1);var c=this.size.innerWidth-(a+this.slideableWidth+this.cursorPosition);this._shiftCells(this.afterShiftCells,c,1)},c._shiftCells=function(a,b,c){for(var d=0;da.x0
”,50 L “a.x1
”,“+(a.y1+50)+” L “a.x2
”,“+(a.y2+50)+” L “a.x3
”,50 L “a.x2
”,“+(50-a.y2)+” L “a.x1
”,“+(50-a.y1)+” Z“}var g=”http://www.w3.org/2000/svg“;e.prototype=Object.create(c.prototype),e.prototype._create=function(){this.isEnabled=!0,this.isPrevious=-1==this.direction;var a=this.parent.options.rightToLeft?1:-1;this.isLeft=this.direction==a;var b=this.element=document.createElement(”button“);b.className=”flickity-button flickity-prev-next-button“,b.className+=this.isPrevious?” previous“:” next“,b.setAttribute(”type“,”button“),this.disable(),b.setAttribute(”aria-label“,this.isPrevious?”Previous“:”Next“);var c=this.createSVG();b.appendChild©,this.on(”tap“,this.onTap),this.parent.on(”select“,this.update.bind(this)),this.on(”pointerDown“,this.parent.childUIPointerDown.bind(this.parent))},e.prototype.activate=function(){this.bindTap(this.element),this.element.addEventListener(”click“,this),this.parent.element.appendChild(this.element)},e.prototype.deactivate=function(){this.parent.element.removeChild(this.element),c.prototype.destroy.call(this),this.element.removeEventListener(”click“,this)},e.prototype.createSVG=function(){var a=document.createElementNS(g,”svg“);a.setAttribute(”class“,”flickity-button-icon“),a.setAttribute(”viewBox“,”0 0 100 100“);var b=document.createElementNS(g,”path“),c=f(this.parent.options.arrowShape);return b.setAttribute(”d“,c),b.setAttribute(”class“,”arrow“),this.isLeft||b.setAttribute(”transform“,”translate(100, 100) rotate(180) “),a.appendChild(b),a},e.prototype.onTap=function(){if(this.isEnabled){this.parent.uiChange();var a=this.isPrevious?”previous“:”next“;this.parent[a]()}},e.prototype.handleEvent=d.handleEvent,e.prototype.onclick=function(a){var b=document.activeElement;b&&b==this.element&&this.onTap(a,a)},e.prototype.enable=function(){this.isEnabled||(this.element.disabled=!1,this.isEnabled=!0)},e.prototype.disable=function(){this.isEnabled&&(this.element.disabled=!0,this.isEnabled=!1)},e.prototype.update=function(){var a=this.parent.slides;if(this.parent.options.wrapAround&&a.length>1)return void this.enable();var b=a.length?a.length-1:0,c=this.isPrevious?0:b,d=this.parent.selectedIndex==c?”disable“:”enable“;this[d]()},e.prototype.destroy=function(){this.deactivate()},d.extend(b.defaults,{prevNextButtons:!0,arrowShape:{x0:10,x1:60,y1:50,x2:70,y2:40,x3:30}}),b.createMethods.push(”_createPrevNextButtons“);var h=b.prototype;return h._createPrevNextButtons=function(){this.options.prevNextButtons&&(this.prevButton=new e(-1,this),this.nextButton=new e(1,this),this.on(”activate“,this.activatePrevNextButtons))},h.activatePrevNextButtons=function(){this.prevButton.activate(),this.nextButton.activate(),this.on(”deactivate“,this.deactivatePrevNextButtons)},h.deactivatePrevNextButtons=function(){this.prevButton.deactivate(),this.nextButton.deactivate(),this.off(”deactivate“,this.deactivatePrevNextButtons)},b.PrevNextButton=e,b}),function(a,b){”function“==typeof define&&define.amd?define(”flickity/js/page-dots“,[”./flickity“,”tap-listener/tap-listener“,”fizzy-ui-utils/utils“],function(c,d,e){return b(a,c,d,e)}):”object“==typeof module&&module.exports?module.exports=b(a,require(”./flickity“),require(”tap-listener“),require(”fizzy-ui-utils“)):b(a,a.Flickity,a.TapListener,a.fizzyUIUtils)}(window,function(a,b,c,d){function e(a){this.parent=a,this._create()}e.prototype=new c,e.prototype._create=function(){this.holder=document.createElement(”ol“),this.holder.className=”flickity-page-dots“,this.dots=[],this.on(”tap“,this.onTap),this.on(”pointerDown“,this.parent.childUIPointerDown.bind(this.parent))},e.prototype.activate=function(){this.setDots(),this.bindTap(this.holder),this.parent.element.appendChild(this.holder)},e.prototype.deactivate=function(){this.parent.element.removeChild(this.holder),c.prototype.destroy.call(this)},e.prototype.setDots=function(){var a=this.parent.slides.length-this.dots.length;a>0?this.addDots(a):0>a&&this.removeDots(-a)},e.prototype.addDots=function(a){for(var b=document.createDocumentFragment(),c=[],d=this.dots.length,e=d+a,f=d;e>f;f++){var g=document.createElement(”li“);g.className=”dot“,g.setAttribute(”aria-label“,”Page dot “+(f+1)),b.appendChild(g),c.push(g)}this.holder.appendChild(b),this.dots=this.dots.concat©},e.prototype.removeDots=function(a){var b=this.dots.splice(this.dots.length-a,a);b.forEach(function(a){this.holder.removeChild(a)},this)},e.prototype.updateSelected=function(){this.selectedDot&&(this.selectedDot.className=”dot“,this.selectedDot.removeAttribute(”aria-current“)),this.dots.length&&(this.selectedDot=this.dots[this.parent.selectedIndex],this.selectedDot.className=”dot is-selected“,this.selectedDot.setAttribute(”aria-current“,”step“))},e.prototype.onTap=function(a){var b=a.target;if(”LI“==b.nodeName){this.parent.uiChange();var c=this.dots.indexOf(b);this.parent.select©}},e.prototype.destroy=function(){this.deactivate()},b.PageDots=e,d.extend(b.defaults,{pageDots:!0}),b.createMethods.push(”_createPageDots“);var f=b.prototype;return f._createPageDots=function(){this.options.pageDots&&(this.pageDots=new e(this),this.on(”activate“,this.activatePageDots),this.on(”select“,this.updateSelectedPageDots),this.on(”cellChange“,this.updatePageDots),this.on(”resize“,this.updatePageDots),this.on(”deactivate“,this.deactivatePageDots))},f.activatePageDots=function(){this.pageDots.activate()},f.updateSelectedPageDots=function(){this.pageDots.updateSelected()},f.updatePageDots=function(){this.pageDots.setDots()},f.deactivatePageDots=function(){this.pageDots.deactivate()},b.PageDots=e,b}),function(a,b){”function“==typeof define&&define.amd?define(”flickity/js/player“,[”ev-emitter/ev-emitter“,”fizzy-ui-utils/utils“,”./flickity“],function(a,c,d){return b(a,c,d)}):”object“==typeof module&&module.exports?module.exports=b(require(”ev-emitter“),require(”fizzy-ui-utils“),require(”./flickity“)):b(a.EvEmitter,a.fizzyUIUtils,a.Flickity)}(window,function(a,b,c){function d(a){this.parent=a,this.state=”stopped“,this.onVisibilityChange=this.visibilityChange.bind(this),this.onVisibilityPlay=this.visibilityPlay.bind(this)}d.prototype=Object.create(a.prototype),d.prototype.play=function(){if(”playing“!=this.state){var a=document.hidden;if(a)return void document.addEventListener(”visibilitychange“,this.onVisibilityPlay);this.state=”playing“,document.addEventListener(”visibilitychange“,this.onVisibilityChange),this.tick()}},d.prototype.tick=function(){if(”playing“==this.state){var a=this.parent.options.autoPlay;a=”number“==typeof a?a:3e3;var b=this;this.clear(),this.timeout=setTimeout(function(){b.parent.next(!0),b.tick()},a)}},d.prototype.stop=function(){this.state=”stopped“,this.clear(),document.removeEventListener(”visibilitychange“,this.onVisibilityChange)},d.prototype.clear=function(){clearTimeout(this.timeout)},d.prototype.pause=function(){”playing“==this.state&&(this.state=”paused“,this.clear())},d.prototype.unpause=function(){”paused“==this.state&&this.play()},d.prototype.visibilityChange=function(){var a=document.hidden;this[a?”pause“:”unpause“]()},d.prototype.visibilityPlay=function(){this.play(),document.removeEventListener(”visibilitychange“,this.onVisibilityPlay)},b.extend(c.defaults,{pauseAutoPlayOnHover:!0}),c.createMethods.push(”_createPlayer“);var e=c.prototype;return e._createPlayer=function(){this.player=new d(this),this.on(”activate“,this.activatePlayer),this.on(”uiChange“,this.stopPlayer),this.on(”pointerDown“,this.stopPlayer),this.on(”deactivate“,this.deactivatePlayer)},e.activatePlayer=function(){this.options.autoPlay&&(this.player.play(),this.element.addEventListener(”mouseenter“,this))},e.playPlayer=function(){this.player.play()},e.stopPlayer=function(){this.player.stop()},e.pausePlayer=function(){this.player.pause()},e.unpausePlayer=function(){this.player.unpause()},e.deactivatePlayer=function(){this.player.stop(),this.element.removeEventListener(”mouseenter“,this)},e.onmouseenter=function(){this.options.pauseAutoPlayOnHover&&(this.player.pause(),this.element.addEventListener(”mouseleave“,this))},e.onmouseleave=function(){this.player.unpause(),this.element.removeEventListener(”mouseleave“,this)},c.Player=d,c}),function(a,b){”function“==typeof define&&define.amd?define(”flickity/js/add-remove-cell“,[”./flickity“,”fizzy-ui-utils/utils“],function(c,d){return b(a,c,d)}):”object“==typeof module&&module.exports?module.exports=b(a,require(”./flickity“),require(”fizzy-ui-utils“)):b(a,a.Flickity,a.fizzyUIUtils)}(window,function(a,b,c){function d(a){var b=document.createDocumentFragment();return a.forEach(function(a){b.appendChild(a.element)}),b}var e=b.prototype;return e.insert=function(a,b){var c=this._makeCells(a);if(c&&c.length){var e=this.cells.length;b=void 0===b?e:b;var f=d©,g=b==e;if(g)this.slider.appendChild(f);else{var h=this.cells[b].element;this.slider.insertBefore(f,h)}if(0===b)this.cells=c.concat(this.cells);else if(g)this.cells=this.cells.concat©;else{var i=this.cells.splice(b,e-b);this.cells=this.cells.concat©.concat(i)}this._sizeCells©,this.cellChange(b,!0)}},e.append=function(a){this.insert(a,this.cells.length)},e.prepend=function(a){this.insert(a,0)},e.remove=function(a){var b=this.getCells(a);if(b&&b.length){var d=this.cells.length-1;b.forEach(function(a){a.remove();var b=this.cells.indexOf(a);d=Math.min(b,d),c.removeFrom(this.cells,a)},this),this.cellChange(d,!0)}},e.cellSizeChange=function(a){var b=this.getCell(a);if(b){b.getSize();var c=this.cells.indexOf(b);this.cellChange©}},e.cellChange=function(a,b){var c=this.selectedElement;this._positionCells(a),this._getWrapShiftCells(),this.setGallerySize();var d=this.getCell©;d&&(this.selectedIndex=this.getCellSlideIndex(d)),this.selectedIndex=Math.min(this.slides.length-1,this.selectedIndex),this.emitEvent(”cellChange“,[a]),this.select(this.selectedIndex),b&&this.positionSliderAtSelected()},b}),function(a,b){”function“==typeof define&&define.amd?define(”flickity/js/lazyload“,[”./flickity“,”fizzy-ui-utils/utils“],function(c,d){return b(a,c,d)}):”object“==typeof module&&module.exports?module.exports=b(a,require(”./flickity“),require(”fizzy-ui-utils“)):b(a,a.Flickity,a.fizzyUIUtils)}(window,function(a,b,c){”use strict“;function d(a){if(”IMG“==a.nodeName){var b=a.getAttribute(”data-flickity-lazyload“),d=a.getAttribute(”data-flickity-lazyload-src“),e=a.getAttribute(”data-flickity-lazyload-srcset“);if(b||d||e)return[a]}var f=”img[data-flickity-lazyload], img[data-flickity-lazyload-src], img[data-flickity-lazyload-srcset]“,g=a.querySelectorAll(f);return c.makeArray(g)}function e(a,b){this.img=a,this.flickity=b,this.load()}b.createMethods.push(”_createLazyload“);var f=b.prototype;return f._createLazyload=function(){this.on(”select“,this.lazyLoad)},f.lazyLoad=function(){var a=this.options.lazyLoad;if(a){var b=”number“==typeof a?a:0,c=this.getAdjacentCellElements(b),f=[];c.forEach(function(a){var b=d(a);f=f.concat(b)}),f.forEach(function(a){new e(a,this)},this)}},e.prototype.handleEvent=c.handleEvent,e.prototype.load=function(){this.img.addEventListener(”load“,this),this.img.addEventListener(”error“,this);var a=this.img.getAttribute(”data-flickity-lazyload“)||this.img.getAttribute(”data-flickity-lazyload-src“),b=this.img.getAttribute(”data-flickity-lazyload-srcset“);this.img.src=a,b&&this.img.setAttribute(”srcset“,b),this.img.removeAttribute(”data-flickity-lazyload“),this.img.removeAttribute(”data-flickity-lazyload-src“),this.img.removeAttribute(”data-flickity-lazyload-srcset“)},e.prototype.onload=function(a){this.complete(a,”flickity-lazyloaded“)},e.prototype.onerror=function(a){this.complete(a,”flickity-lazyerror“)},e.prototype.complete=function(a,b){this.img.removeEventListener(”load“,this),this.img.removeEventListener(”error“,this);var c=this.flickity.getParentCell(this.img),d=c&&c.element;this.flickity.cellSizeChange(d),this.img.classList.add(b),this.flickity.dispatchEvent(”lazyLoad“,a,d)},b.LazyLoader=e,b}),function(a,b){”function“==typeof define&&define.amd?define(”flickity/js/index“,[”./flickity“,”./drag“,”./prev-next-button“,”./page-dots“,”./player“,”./add-remove-cell“,”./lazyload“],b):”object“==typeof module&&module.exports&&(module.exports=b(require(”./flickity“),require(”./drag“),require(”./prev-next-button“),require(”./page-dots“),require(”./player“),require(”./add-remove-cell“),require(”./lazyload“)))}(window,function(a){return a}),function(a,b){”function“==typeof define&&define.amd?define(”flickity-as-nav-for/as-nav-for“,[”flickity/js/index“,”fizzy-ui-utils/utils“],b):”object“==typeof module&&module.exports?module.exports=b(require(”flickity“),require(”fizzy-ui-utils“)):a.Flickity=b(a.Flickity,a.fizzyUIUtils)}(window,function(a,b){function c(a,b,c){return(b-a)*c+a}a.createMethods.push(”_createAsNavFor“);var d=a.prototype;return d._createAsNavFor=function(){this.on(”activate“,this.activateAsNavFor),this.on(”deactivate“,this.deactivateAsNavFor),this.on(”destroy“,this.destroyAsNavFor);var a=this.options.asNavFor;if(a){var b=this;setTimeout(function(){b.setNavCompanion(a)})}},d.setNavCompanion=function©{c=b.getQueryElement©;var d=a.data©;if(d&&d!=this){this.navCompanion=d;var e=this;this.onNavCompanionSelect=function(){e.navCompanionSelect()},d.on(”select“,this.onNavCompanionSelect),this.on(”staticClick“,this.onNavStaticClick),this.navCompanionSelect(!0)}},d.navCompanionSelect=function(a){if(this.navCompanion){var b=this.navCompanion.selectedCells[0],d=this.navCompanion.cells.indexOf(b),e=d+this.navCompanion.selectedCells.length-1,f=Math.floor(c(d,e,this.navCompanion.cellAlign));if(this.selectCell(f,!1,a),this.removeNavSelectedElements(),!(f>=this.cells.length)){var g=this.cells.slice(d,e+1);this.navSelectedElements=g.map(function(a){return a.element}),this.changeNavSelectedClass(”add“)}}},d.changeNavSelectedClass=function(a){this.navSelectedElements.forEach(function(b){b.classList[a](”is-nav-selected“)})},d.activateAsNavFor=function(){this.navCompanionSelect(!0)},d.removeNavSelectedElements=function(){this.navSelectedElements&&(this.changeNavSelectedClass(”remove“),delete this.navSelectedElements)},d.onNavStaticClick=function(a,b,c,d){”number“==typeof d&&this.navCompanion.selectCell(d)},d.deactivateAsNavFor=function(){this.removeNavSelectedElements()},d.destroyAsNavFor=function(){this.navCompanion&&(this.navCompanion.off(”select“,this.onNavCompanionSelect),this.off(”staticClick“,this.onNavStaticClick),delete this.navCompanion)},a}),function(a,b){”use strict“;”function“==typeof define&&define.amd?define(”imagesloaded/imagesloaded“,[”ev-emitter/ev-emitter“],function©{return b(a,c)}):”object“==typeof module&&module.exports?module.exports=b(a,require(”ev-emitter“)):a.imagesLoaded=b(a,a.EvEmitter)}(”undefined“!=typeof window?window:this,function(a,b){function c(a,b){for(var c in b)a[c]=b[c];return a}function d(a){if(Array.isArray(a))return a;var b=”object“==typeof a&&”number“==typeof a.length;return b?j.call(a):[a]}function e(a,b,f){if(!(this instanceof e))return new e(a,b,f);var g=a;return”string“==typeof a&&(g=document.querySelectorAll(a)),g?(this.elements=d(g),this.options=c({},this.options),”function“==typeof b?f=b:c(this.options,b),f&&this.on(”always“,f),this.getImages(),h&&(this.jqDeferred=new h.Deferred),void setTimeout(this.check.bind(this))):void i.error(”Bad element for imagesLoaded “+(g||a))}function f(a){this.img=a}function g(a,b){this.url=a,this.element=b,this.img=new Image}var h=a.jQuery,i=a.console,j=Array.prototype.slice;e.prototype=Object.create(b.prototype),e.prototype.options={},e.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)},e.prototype.addElementImages=function(a){”IMG“==a.nodeName&&this.addImage(a),this.options.background===!0&&this.addElementBackgroundImages(a);var b=a.nodeType;if(b&&k[b]){for(var c=a.querySelectorAll(”img“),d=0;da
”]“}}),s.isArguments(arguments)||(s.isArguments=function(a){return s.has(a,”callee“)}),”function“!=typeof/./&&”object“!=typeof Int8Array&&(s.isFunction=function(a){return”function“==typeof a||!1}),s.isFinite=function(a){return isFinite(a)&&!isNaN(parseFloat(a))},s.isNaN=function(a){return s.isNumber(a)&&a!==+a},s.isBoolean=function(a){return a===!0||a===!1||”[object Boolean]“===l.call(a)},s.isNull=function(a){return null===a},s.isUndefined=function(a){return void 0===a},s.has=function(a,b){return null!=a&&m.call(a,b)},s.noConflict=function(){return e._=f,this},s.identity=function(a){return a},s.constant=function(a){return function(){return a}},s.noop=function(){},s.property=x,s.propertyOf=function(a){return null==a?function(){}:function(b){return a[b]}},s.matcher=s.matches=function(a){return a=s.extendOwn({},a),function(b){return s.isMatch(b,a)}},s.times=function(a,b,c){var d=Array(Math.max(0,a));b=t(b,c,1);for(var e=0;a>e;e++)d[e]=b(e);return d},s.random=function(a,b){return null==b&&(b=a,a=0),a+Math.floor(Math.random()*(b-a+1))},s.now=Date.now||function(){return(new Date).getTime()};var H={”&“:”&“,”<":"<",">“:”>“,‘”’:“”“,”‘“:”'“,”`“:”`“},I=s.invert(H),J=function(a){var b=function(b){return a[b]},c=”(?:“+s.keys(a).join(”|“)+”)“,d=RegExp©,e=RegExp(c,”g“);return function(a){return a=null==a?”“:”“+a,d.test(a)?a.replace(e,b):a}};s.escape=J(H),s.unescape=J(I),s.result=function(a,b,c){var d=null==a?void 0:a[b];return void 0===d&&(d=c),s.isFunction(d)?d.call(a):d};var K=0;s.uniqueId=function(a){var b=+K
”“;return a?a+b:b},s.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var L=/(.)^/,M={”’“:”‘“,”\“:”\“,”r“:”r“,”n“:”n“,”u2028“:”u2028“,”u2029“:”u2029“},N=/\|’|r|n|u2028|u2029/g,O=function(a){return”\“+M[a]};s.template=function(a,b,c){!b&&c&&(b=c),b=s.defaults({},b,s.templateSettings);var d=RegExp([(b.escape||L).source,(b.interpolate||L).source,(b.evaluate||L).source].join(”|“)+”|$“,”g“),e=0,f=”__p+=‘“;a.replace(d,function(b,c,d,g,h){return f+=a.slice(e,h).replace(N,O),e=h+b.length,c?f+=”’+n((__t=(“c
”))==null?”:_.escape(__t))+n‘“:d?f+=”’+n((__t=(“d
”))==null?”:__t)+n‘“:g&&(f+=”’;n“g
”n__p+=‘“),b}),f+=”’;n“,b.variable||(f=”with(obj||{}){n“f
”}n“),f=”var __t,__p=”,__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,”);};n“f
”return __p;n“;try{var g=new Function(b.variable||”obj“,”_“,f)}catch(h){throw h.source=f,h}var i=function(a){return g.call(this,a,s)},j=b.variable||”obj“;return i.source=”function(“j
”){n“f
”}“,i},s.chain=function(a){var b=s(a);return b._chain=!0,b};var P=function(a,b){return a._chain?s(b).chain():b};s.mixin=function(a){s.each(s.functions(a),function(b){var c=s[b]=a[b];s.prototype[b]=function(){var a=[this._wrapped];return j.apply(a,arguments),P(this,c.apply(s,a))}})},s.mixin(s),s.each([”pop“,”push“,”reverse“,”shift“,”sort“,”splice“,”unshift“],function(a){var b=g[a];s.prototype[a]=function(){var c=this._wrapped;return b.apply(c,arguments),”shift“!==a&&”splice“!==a||0!==c.length||delete c[0],P(this,c)}}),s.each([”concat“,”join“,”slice“],function(a){var b=g[a];s.prototype[a]=function(){return P(this,b.apply(this._wrapped,arguments))}}),s.prototype.value=function(){return this._wrapped},s.prototype.valueOf=s.prototype.toJSON=s.prototype.value,s.prototype.toString=function(){return”“+this._wrapped},”function“==typeof define&&define.amd&&define(”underscore“,[],function(){return s})}.call(this),function(a,b){var c=[],d=[],e=[],f={gsub:function(a,b,c){var d=new RegExp(b.source||b,”gi“);return d.test(a)?a.replace(d,c):null},plural:function(a,b){c.unshift([a,b])},pluralize:function(d,f,g){var h;if(f!==b)f=parseFloat(f),h=1===f?this.singularize(d):this.pluralize(d),h=g?[f,h].join(” “):h;else{if(a(e).include(d))return d;h=d,a©.detect(function(a){var b=this.gsub(d,a[0],a[1]);return b?h=b:!1},this)}return h},singular:function(a,b){d.unshift([a,b])},singularize:function(b){if(a(e).include(b))return b;var c=b;return a(d).detect(function(a){var d=this.gsub(b,a[0],a[1]);return d?c=d:!1},this),c},irregular:function(a,b){this.plural(”\b“a
”\b“,b),this.singular(”\b“b
”\b“,a)},uncountable:function(a){e.unshift(a)},ordinalize:function(a){if(isNaN(a))return a;a=a.toString();var b=a.slice(-1),c=a.slice(-2);if(”11“===c||”12“===c||”13“===c)return a+”th“;switch(b){case”1“:return a+”st“;case”2“:return a+”nd“;case”3“:return a+”rd“;default:return a+”th“}},titleize:function(a){return”string“!=typeof a?a:a.replace(/S+/g,function(a){return a.charAt(0).toUpperCase()+a.slice(1)})},resetInflections:function(){return c=[],d=[],e=[],this.plural(/$/,”s“),this.plural(/s$/,”s“),this.plural(/(ax|test)is$/,”$1es“),this.plural(/(octop|vir)us$/,”$1i“),this.plural(/(octop|vir)i$/,”$1i“),this.plural(/(alias|status)$/,”$1es“),this.plural(/(bu)s$/,”$1ses“),this.plural(/(buffal|tomat)o$/,”$1oes“),this.plural(/([ti])um$/,”$1a“),this.plural(/([ti])a$/,”$1a“),this.plural(/sis$/,”ses“),this.plural(/(?:([^f])fe|([lr])?f)$/,”$1$2ves“),this.plural(/(hive)$/,”$1s“),this.plural(/([^aeiouy]|qu)y$/,”$1ies“),this.plural(/(x|ch|ss|sh)$/,”$1es“),this.plural(/(matr|vert|ind)(?:ix|ex)$/,”$1ices“),this.plural(/([m|l])ouse$/,”$1ice“),this.plural(/([m|l])ice$/,”$1ice“),this.plural(/^(ox)$/,”$1en“),this.plural(/^(oxen)$/,”$1“),this.plural(/(quiz)$/,”$1zes“),this.singular(/s$/,”“),this.singular(/(n)ews$/,”$1ews“),this.singular(/([ti])a$/,”$1um“),this.singular(/((a)naly|(b)a|(d)iagno|(p)arenthe|(p)rogno|(s)ynop|(t)he)ses$/,”$1$2sis“),this.singular(/(^analy)ses$/,”$1sis“),this.singular(/([^f])ves$/,”$1fe“),this.singular(/(hive)s$/,”$1“),this.singular(/(tive)s$/,”$1“),this.singular(/([lr])ves$/,”$1f“),this.singular(/([^aeiouy]|qu)ies$/,”$1y“),this.singular(/(s)eries$/,”$1eries“),this.singular(/(m)ovies$/,”$1ovie“),this.singular(/(x|ch|ss|sh)es$/,”$1“),this.singular(/([m|l])ice$/,”$1ouse“),this.singular(/(bus)es$/,”$1“),this.singular(/(o)es$/,”$1“),this.singular(/(shoe)s$/,”$1“),this.singular(/(cris|ax|test)es$/,”$1is“),this.singular(/(octop|vir)i$/,”$1us“),this.singular(/(alias|status)es$/,”$1“),this.singular(/^(ox)en/,”$1“),this.singular(/(vert|ind)ices$/,”$1ex“),this.singular(/(matr)ices$/,”$1ix“),this.singular(/(quiz)zes$/,”$1“),this.singular(/(database)s$/,”$1“),this.irregular(”person“,”people“),this.irregular(”man“,”men“),this.irregular(”child“,”children“),this.irregular(”sex“,”sexes“),this.irregular(”move“,”moves“),this.irregular(”cow“,”kine“),this.uncountable(”equipment“),this.uncountable(”information“),this.uncountable(”rice“),this.uncountable(”money“),this.uncountable(”species“),this.uncountable(”series“),this.uncountable(”fish“),this.uncountable(”sheep“),this.uncountable(”jeans“),this}};a.mixin(f.resetInflections())}(_),function(a){var b=”object“==typeof self&&self.self==self&&self||”object“==typeof global&&global.global==global&&global;if(”function“==typeof define&&define.amd)define([”underscore“,”jquery“,”exports“],function(c,d,e){b.Backbone=a(b,e,c,d)});else if(”undefined“!=typeof exports){var c,d=require(”underscore“);try{c=require(”jquery“)}catch(e){}a(b,exports,d,c)}else b.Backbone=a(b,{},b._,b.jQuery||b.Zepto||b.ender||b.$)}(function(a,b,c,d){var e=a.Backbone,f=[].slice;b.VERSION=”1.2.1“,b.$=d,b.noConflict=function(){return a.Backbone=e,this},b.emulateHTTP=!1,b.emulateJSON=!1;var g=function(a,b,d){switch(a){case 1:return function(){return c[b](this[d])};case 2:return function(a){return c[b](this[d],a)};case 3:return function(a,e){return c[b](this[d],a,e)};case 4:return function(a,e,f){return c[b](this[d],a,e,f)};default:return function(){var a=f.call(arguments);return a.unshift(this[d]),c[b].apply(c,a)}}},h=function(a,b,d){c.each(b,function(b,e){c[e]&&(a.prototype[e]=g(b,e,d))})},i=b.Events={},j=/s+/,k=function(a,b,d,e,f){var g,h=0;if(d&&”object“==typeof d){void 0!==e&&”context“in f&&void 0===f.context&&(f.context=e);for(g=c.keys(d);hthis.root
”/“).replace(J,”/“),this._wantsHashChange&&this._wantsPushState){if(!this._hasPushState&&!this.atRoot()){var b=this.root.slice(0,-1)||”/“;return this.location.replace(b+”#“+this.getPath()),!0}this._hasPushState&&this.atRoot()&&this.navigate(this.getHash(),{replace:!0})}if(!this._hasHashChange&&this._wantsHashChange&&!this._usePushState){this.iframe=document.createElement(”iframe“),this.iframe.src=”javascript:0“,this.iframe.style.display=”none“,this.iframe.tabIndex=-1;var d=document.body,e=d.insertBefore(this.iframe,d.firstChild).contentWindow;e.document.open(),e.document.close(),e.location.hash=”#“+this.fragment}var f=window.addEventListener||function(a,b){return attachEvent(”on“+a,b)};return this._usePushState?f(”popstate“,this.checkUrl,!1):this._useHashChange&&!this.iframe?f(”hashchange“,this.checkUrl,!1):this._wantsHashChange&&(this._checkUrlInterval=setInterval(this.checkUrl,this.interval)),this.options.silent?void 0:this.loadUrl()},stop:function(){var a=window.removeEventListener||function(a,b){return detachEvent(”on“+a,b)};this._usePushState?a(”popstate“,this.checkUrl,!1):this._useHashChange&&!this.iframe&&a(”hashchange“,this.checkUrl,!1), this.iframe&&(document.body.removeChild(this.iframe),this.iframe=null),this._checkUrlInterval&&clearInterval(this._checkUrlInterval),H.started=!1},route:function(a,b){this.handlers.unshift({route:a,callback:b})},checkUrl:function(a){var b=this.getFragment();return b===this.fragment&&this.iframe&&(b=this.getHash(this.iframe.contentWindow)),b===this.fragment?!1:(this.iframe&&this.navigate(b),void this.loadUrl())},loadUrl:function(a){return this.matchRoot()?(a=this.fragment=this.getFragment(a),c.any(this.handlers,function(b){return b.route.test(a)?(b.callback(a),!0):void 0})):!1},navigate:function(a,b){if(!H.started)return!1;b&&b!==!0||(b={trigger:!!b}),a=this.getFragment(a||”“);var c=this.root;(”“===a||”?“===a.charAt(0))&&(c=c.slice(0,-1)||”/“);var d=c+a;if(a=this.decodeFragment(a.replace(K,”“)),this.fragment!==a){if(this.fragment=a,this._usePushState)this.history[b.replace?”replaceState“:”pushState“]({},document.title,d);else{if(!this._wantsHashChange)return this.location.assign(d);if(this._updateHash(this.location,a,b.replace),this.iframe&&a!==this.getHash(this.iframe.contentWindow)){var e=this.iframe.contentWindow;b.replace||(e.document.open(),e.document.close()),this._updateHash(e.location,a,b.replace)}}return b.trigger?this.loadUrl(a):void 0}},_updateHash:function(a,b,c){if©{var d=a.href.replace(/(javascript:|#).*$/,”“);a.replace(d+”#“+b)}else a.hash=”#“+b}}),b.history=new H;var L=function(a,b){var d,e=this;d=a&&c.has(a,”constructor“)?a.constructor:function(){return e.apply(this,arguments)},c.extend(d,e,b);var f=function(){this.constructor=d};return f.prototype=e.prototype,d.prototype=new f,a&&c.extend(d.prototype,a),d.__super__=e.prototype,d};r.extend=t.extend=C.extend=y.extend=H.extend=L;var M=function(){throw new Error(‘A ”url“ property or function must be specified’)},N=function(a,b){var c=b.error;b.error=function(d){c&&c.call(b.context,a,d,b),a.trigger(”error“,a,d,b)}};return b}),function(a,b){”function“==typeof define&&define.amd?define([”underscore“,”backbone“],function(c,d){return b(c||a._,d||a.Backbone)}):b(_,Backbone)}(this,function(a,b){function c(b,c){var d=null;try{d=c.url}catch(e){}if(!d)try{d=a.result(b,”url“)}catch(e){}return d}function d(a,b){return”:“===a||”:“===b?!1:a===b?!1:!0}var e={create:”POST“,update:”PUT“,patch:”PATCH“,”delete“:”DELETE“,read:”GET“};return b.vanillaSync=b.sync,b.sync=function(f,g,h){var i=!1,j=document.createElement(”a“);j.href=document.URL;var k=document.createElement(”a“);if(k.href=c(g,h),”“!==k.host&&j.host!==k.host&&(i=!0),i&&!b.$.support.cors){var l=e[f];if(a.defaults(h||(h={}),{emulateHTTP:b.emulateHTTP,emulateJSON:b.emulateJSON}),!h.emulateHTTP&&(”update“===f||”patch“===f||”delete“===f))throw new Error(”Backbone.CrossDomain cannot use PUT, PATCH, DELETE with XDomainRequest (IE) and emulateHTTP=false“);var m={type:l,dataType:”json“,url:c(g,h)};if(!m.url)throw new Error(”No URL!“);if(d(j.protocol,k.protocol)&&(m.url=m.url.replace(new RegExp(k.protocol),j.protocol)),null!=h.data||!g||”create“!==f&&”update“!==f&&”patch“!==f||(m.data=JSON.stringify(h.attrs||g.toJSON(h))),h.emulateJSON&&(m.data=m.data?{model:m.data}:{}),h.emulateHTTP&&(”PUT“===l||”DELETE“===l||”PATCH“===l)){m.type=”POST“,h.emulateJSON&&(m.data._method=l);var n=h.beforeSend;h.beforeSend=function(a){return n?n.apply(this,arguments):void 0}}”GET“===m.type||h.emulateJSON||(m.processData=!1),”POST“===m.type&&(m.data=b.$.param(b.$.parseJSON(m.data)));var o=h.xhr=new XDomainRequest,p=h.success,q=h.error;if(b.$.fn.jquery){var r=b.$.Deferred(),s=b.$.Callbacks(”once memory“);r.promise(o).complete=s.add}return o.onload=function(){var a={};o.responseText&&(a=b.$.parseJSON(o.responseText)),a&&(r&&r.resolveWith(this,[a,”success“,o]),p(a))},o.onerror=function(){q&&(q(g,o,h),r&&r.rejectWith(this,[o,”error“,q])),g.trigger(”error“,g,o,h)},”read“===f&&h.data&&(console.log(”IE get params“,JSON.stringify(h.data)),parameterized=b.$.param(h.data),m.url=m.url+”?“+parameterized),o.open(m.type,m.url),o.onprogress=function(){},o.ontimeout=function(){},setTimeout(function(){o.send(m.data)},0),g.trigger(”request“,g,o,h),o}return b.vanillaSync.apply(this,arguments)},b}),function(a,b){if(”function“==typeof define&&define.amd)define([”underscore“,”backbone“],function(c,d){return b(a,d,c)});else if(”undefined“!=typeof exports){var c=require(”underscore“),d=require(”backbone“);b(a,d,c),”undefined“!=typeof module&&module.exports&&(module.exports=d),exports=d}else b(a,a.Backbone,a._)}(this,function(a,b,c){var d,e,f,g,h,i,j,k,l,m,n,o={};d=b.Model,e=b.Collection,f=d.prototype,h=e.prototype,g=b.Events,b.Associations={VERSION:”0.6.1“},b.Associations.scopes=[];var p=function(){return l},q=function(a){(!c.isString(a)||1>c.size(a))&&(a=”.“),l=a,j=RegExp(”[\“l
”\[\]]+“,”g“),k=RegExp(”[^\“l
”\[\]]+“,”g“)};try{Object.defineProperty(b.Associations,”SEPARATOR“,{enumerable:!0,get:p,set:q})}catch®{}b.Associations.Many=b.Many=”Many“,b.Associations.One=b.One=”One“,b.Associations.Self=b.Self=”Self“,b.Associations.SEPARATOR=”.“,b.Associations.getSeparator=p,b.Associations.setSeparator=q,b.Associations.EVENTS_BUBBLE=!0,b.Associations.EVENTS_WILDCARD=!0,b.Associations.EVENTS_NC=!1,q(),i=b.AssociatedModel=b.Associations.AssociatedModel=d.extend({relations:void 0,_proxyCalls:void 0,on:function(a,d,e){var f=g.on.apply(this,arguments);if(b.Associations.EVENTS_NC)return f;var h=/s+/;return c.isString(a)&&a&&!h.test(a)&&d&&(h=t(a))&&(o[h]=”undefined“==typeof o[h]?1:o[h]+1),f},off:function(a,d,e){if(b.Associations.EVENTS_NC)return g.off.apply(this,arguments);var f=/s+/,h=this._events,i={},j=h?c.keys(h):[],k=!a&&!d&&!e,l=c.isString(a)&&!f.test(a);if(k||l)for(var f=0,m=j.length;m>f;f++)i[j[f]]=h[j[f]]?h[j[f]].length:0;var n=g.off.apply(this,arguments);if(k||l)for(f=0,m=j.length;m>f;f++)(k=t(j[f]))&&(o[k]=h[j[f]]?o[k]-(i[j[f]]-h[j[f]].length):o[k]-i[j[f]]);return n},get:function(a){var b=f.get.call(this,a);return b?b:this._getAttr.apply(this,arguments)},set:function(a,b,d){var e;return c.isObject(a)||null==a?(e=a,d=b):(e={},e[a]=b),a=this._set(e,d),this._processPendingEvents(),a},_set:function(a,b){var d,e,f,g,h=this;if(!a)return this;for(d in a)if(e||(e={}),d.match(j)){var k=s(d);g=c.initial(k),k=k[k.length-1],g=this.get(g),g instanceof i&&(g=e[g.cid]||(e[g.cid]={model:g,data:{}}),g.data[k]=a[d])}else g=e[this.cid]||(e[this.cid]={model:this,data:{}}),g.data[d]=a[d];if(e)for(f in e)g=e[f],this._setAttr.call(g.model,g.data,b)||(h=!1);else h=this._setAttr.call(this,a,b);return h},_setAttr:function(g,h){var j;if(h||(h={}),h.unset)for(j in g)g[j]=void 0;return this.parents=this.parents||[],this.relations&&c.each(this.relations,function(f){var j,k,l,m=f.key,n=f.relatedModel,o=f.collectionType,p=f.scope||a,q=f.map,r=this.attributes[m],s=r&&r.idAttribute,t=!1;if(!n||n.prototype instanceof d||(n=c.isFunction(n)?n.call(this,f,g):n),n&&c.isString(n)&&(n=n===b.Self?this.constructor:u(n,p)),q&&c.isString(q)&&(q=u(q,p)),k=f.options?c.extend({},f.options,h):h,g[m]){if(j=c.result(g,m),j=q?q.call(this,j,o?o:n):j,f.type===b.Many){if(o&&c.isFunction(o)&&o.prototype instanceof d)throw Error(”type is of Backbone.Model. Specify derivatives of Backbone.Collection“);if(!o||o.prototype instanceof e||(o=c.isFunction(o)?o.call(this,f,g):o),o&&c.isString(o)&&(o=u(o,p)),!n&&!o)throw Error(”specify either a relatedModel or collectionType“);if(o&&!o.prototype instanceof e)throw Error(”collectionType must inherit from Backbone.Collection“);r?(r._deferEvents=!0,r[k.reset?”reset“:”set“](j instanceof e?j.models:j,k),f=r):(t=!0,j instanceof e?f=j:(f=o?new o:this._createCollection(n,p),f[k.reset?”reset“:”set“](j,k)))}else{if(f.type!==b.One)throw Error(”type attribute must be specified and have the values Backbone.One or Backbone.Many“);if(!n)throw Error(”specify a relatedModel for Backbone.One type“);if(!(n.prototype instanceof b.AssociatedModel))throw Error(”specify an AssociatedModel for Backbone.One type“);f=j instanceof i?j:new n(j,k),r&&f.attributes[s]&&r.attributes[s]===f.attributes[s]?(r._deferEvents=!0,r._set(j instanceof i?j.attributes:j,k),f=r):t=!0}l=g[m]=f,(t||l&&!l._proxyCallback)&&(l._proxyCallback=function(){return b.Associations.EVENTS_BUBBLE&&this._bubbleEvent.call(this,m,l,arguments)},l.on(”all“,l._proxyCallback,this))}g.hasOwnProperty(m)&&(r=g[m],s=this.attributes[m],r?(r.parents=r.parents||[],-1==c.indexOf(r.parents,this)&&r.parents.push(this)):s&&0i
”:“+g),r=c._proxyCalls=r||{},this._isEventAvailable.call(this,r,h)?this:(r[h]=!0,k&&(this._previousAttributes[a]=c._previousAttributes,this.changed[a]=c),this.trigger.apply(this,j),b.Associations.EVENTS_NC&&k&&this.get(h)!=f[2]&&(a=[”nested-change“,h,f[1]],f[2]&&a.push(f[2]),this.trigger.apply(this,a)),r&&h&&delete r[h],m=void 0,this)):void 0},_isEventAvailable:function(a,b){return c.find(a,function(a,c){return-1!==b.indexOf(c,b.length-c.length)})},_createCollection:function(a,b){var d,f=a;if(c.isString(f)&&(f=u(f,b)),!(f&&f.prototype instanceof i||c.isFunction(f)))throw Error(”type must inherit from Backbone.AssociatedModel“);return d=new e,d.model=f,d},_processPendingEvents:function(){this._processedEvents||(this._processedEvents=!0,this._deferEvents=!1,c.each(this._pendingEvents,function(a){a.c.trigger.apply(a.c,a.a)}),this._pendingEvents=[],c.each(this.relations,function(a){(a=this.attributes[a.key])&&a._processPendingEvents()},this),delete this._processedEvents)},trigger:function(a){this._deferEvents?(this._pendingEvents=this._pendingEvents||[],this._pendingEvents.push({c:this,a:arguments})):f.trigger.apply(this,arguments)},toJSON:function(a){var b,d={};return d[this.idAttribute]=this.id,this.visited||(this.visited=!0,d=f.toJSON.apply(this,arguments),a&&a.serialize_keys&&(d=c.pick(d,a.serialize_keys)),this.relations&&c.each(this.relations,function(e){var f=e.key,g=e.remoteKey,h=this.attributes[f],i=!e.isTransient;e=e.serialize||[],delete d[f],i&&(e.length&&(a?a.serialize_keys=e:a={serialize_keys:e}),b=h&&h.toJSON?h.toJSON(a):h,d[g||f]=c.isArray(b)?c.compact(b):b)},this),delete this.visited),d},clone:function(a){return new this.constructor(this.toJSON(a))},cleanup:function(){c.each(this.relations,function(a){(a=this.attributes[a.key])&&(a.parents=c.difference(a.parents,[this]))},this),this.off()},_getAttr:function(a){var b=this;a=s(a);var d,f;if(!(1>c.size(a))){for(f=0;fa
‘“’}function str(a,b){var c,d,e,f,g,h=gap,i=b[a];switch(i&&”object“==typeof i&&”function“==typeof i.toJSON&&(i=i.toJSON(a)),”function“==typeof rep&&(i=rep.call(b,a,i)),typeof i){case”string“:return quote(i);case”number“:return isFinite(i)?String(i):”null“;case”boolean“:case”null“:return String(i);case”object“:if(!i)return”null“;if(gap+=indent,g=[],”[object Array]“===Object.prototype.toString.apply(i)){for(f=i.length,c=0;f>c;c+=1)g[c]=str(c,i)||”null“;return e=0===g.length?”[]“:gap?”[n“+gap+g.join(”,n“gap)
”n“h
”]“:”[“+g.join(”,“)+”]“,gap=h,e}if(rep&&”object“==typeof rep)for(f=rep.length,c=0;f>c;c+=1)”string“==typeof rep[c]&&(d=rep[c],e=str(d,i),e&&g.push(quote(d)+(gap?”: “:”:“)+e));else for(d in i)Object.prototype.hasOwnProperty.call(i,d)&&(e=str(d,i),e&&g.push(quote(d)+(gap?”: “:”:“)+e));return e=0===g.length?”{}“:gap?”{n“+gap+g.join(”,n“gap)
”n“h
”}“:”{“+g.join(”,“)+”}“,gap=h,e}}var rx_one=/^[],:{}s]*$/,rx_two=/\(?:[”\/bfnrt]|u[0-9a-fA-F]{4})/g,rx_three=/“[^”\nr]*“|true|false|null|-?d+(?:.d*)?(?:[eE][+-]?d+)?/g,rx_four=/(?:^|:|,)(?:s*[)+/g,rx_escapable=/[\"u0000-u001fu007f-u009fu00adu0600-u0604u070fu17b4u17b5u200c-u200fu2028-u202fu2060-u206fufeffufff0-uffff]/g,rx_dangerous=/[u0000u00adu0600-u0604u070fu17b4u17b5u200c-u200fu2028-u202fu2060-u206fufeffufff0-uffff]/g;”function“!=typeof Date.prototype.toJSON&&(Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+”-“+f(this.getUTCMonth()1)
”-“+f(this.getUTCDate())+”T“+f(this.getUTCHours())+”:“+f(this.getUTCMinutes())+”:“+f(this.getUTCSeconds())+”Z“:null},Boolean.prototype.toJSON=this_value,Number.prototype.toJSON=this_value,String.prototype.toJSON=this_value);var gap,indent,meta,rep;”function“!=typeof JSON.stringify&&(meta={”b“:”\b“,” “:”\t“,”n“:”\n“,”f“:”\f“,”r“:”\r“,‘”’:‘\“’,”\“:”\\“},JSON.stringify=function(a,b,c){var d;if(gap=”“,indent=”“,”number“==typeof c)for(d=0;c>d;d+=1)indent+=” “;else”string“==typeof c&&(indent=c);if(rep=b,b&&”function“!=typeof b&&(”object“!=typeof b||”number“!=typeof b.length))throw new Error(”JSON.stringify“);return str(”“,{”“:a})}),”function“!=typeof JSON.parse&&(JSON.parse=function(text,reviver){function walk(a,b){var c,d,e=a[b];if(e&&”object“==typeof e)for(c in e)Object.prototype.hasOwnProperty.call(e,c)&&(d=walk(e,c),void 0!==d?e[c]=d:delete e[c]);return reviver.call(a,b,e)}var j;if(text=String(text),rx_dangerous.lastIndex=0,rx_dangerous.test(text)&&(text=text.replace(rx_dangerous,function(a){return”\u“+(”0000“+a.charCodeAt(0).toString(16)).slice(-4)})),rx_one.test(text.replace(rx_two,”@“).replace(rx_three,”]“).replace(rx_four,”“)))return j=eval(”(“text
”)“),”function“==typeof reviver?walk({”“:j},”“):j;throw new SyntaxError(”JSON.parse“)})}(),function(){function a(){}function b(a,b){for(var c=a.length;c–;)if(a[c].listener===b)return c;return-1}function c(a){return function(){return this[a].apply(this,arguments)}}var d=a.prototype,e=this,f=e.EventEmitter;d.getListeners=function(a){var b,c,d=this._getEvents();if(”object“==typeof a){b={};for(c in d)d.hasOwnProperty©&&a.test©&&(b[c]=d[c])}else b=d[a]||(d[a]=[]);return b},d.flattenListeners=function(a){var b,c=[];for(b=0;bd
”-“+this.name).attr(”id“,”j-column-“+d).css({width:w+”%“,paddingLeft:this.options.gutter/2,paddingRight:this.options.gutter/2});c.append(e)}b.append©,this.box.append(b),this.box.find(a(”#clear“+this.name)).remove();var f=a(”“).css({clear:”both“,height:”0“,width:”0“,display:”block“}).attr(”id“,”clear“+this.name);this.box.append(f)},_renderGrid:function(b,c,d,e){var f=[],g=[],h=0,i=(this.prependCount,this.appendCount),j=this.options.gutter,k=this.cols,l=this.name;a(”.j-stack“).width(),c?(g=c,”append“==b&&(i+=d,h=this.appendCount),”prepend“==b&&(this.isPrepending=!0,h=Math.round(d%k),0>=h&&(h=k)),”renderAfterPrepend“==b&&(i+=d,h=d)):(g=this.gridArr,i=a(this.gridArr).length),a.each(g,function(c,d){var e=a(d),g=”100%“;e.hasClass(”not-responsive“)&&(g=”auto“),e.css({marginBottom:j,zoom:”1“}).find(”.j-image img, object, embed, iframe“).css({width:g,height:”auto“,display:”block“,”margin-left“:”auto“,”margin-right“:”auto“}),”prepend“==b?(h–,a(”.column-“h
”-“+l).prepend(e),f.push(e),0==h&&(h=k)):(a(”.column-“h
”-“+l).append(e),f.push(e),h++,h>=k&&(h=0),i>=k&&(i-=k))}),this.appendCount=i,this.itemCount=h,”append“==b||”prepend“==b?(”prepend“==b&&this._updateAfterPrepend(this.gridArr,g),this._renderItem(f),this.isPrepending=!1):this._renderItem(this.gridArr)},_collectItems:function(){var b=[];return a(this.box).find(this.options.selector).each(function©{b.push(a(this))}),b},_renderItem:function(b){var c=this.options.animationOptions.speed,d=this.options.animationOptions.effect,e=this.options.animationOptions.duration,f=this.options.animationOptions.queue,g=this.options.animate,h=this.options.animationOptions.complete,i=0,j=0;g!==!0||this.isResizing?(a.each(b,function(b,c){a©.css({opacity:”1“})}),this.ifCallback&&h.call(b)):(f===!0&&”fadeInOnAppear“==d?(this.isPrepending&&b.reverse(),a.each(b,function(d,f){setTimeout(function(){a(f).animate({opacity:”1.0“},e),j++,j==b.length&&h.call(void 0,b)},i*c),i++})):f===!1&&”fadeInOnAppear“==d&&(this.isPrepending&&b.reverse(),a.each(b,function(c,d){a(d).animate({opacity:”1.0“},e),j++,j==b.length&&this.ifCallback&&h.call(void 0,b)})),f!==!0||d||a.each(b,function(c,d){a(d).css({opacity:”1“}),j++,j==b.length&&this.ifCallback&&h.call(void 0,b)}))},_updateAfterPrepend:function(b,c){var d=this.gridArr;a.each(c,function(a,b){d.unshift(b)}),this.gridArr=d},resize:function(){this.box.width()!=this.initialWidth&&(this.initialWidth=this.box.width(),this.box.find(a(”.j-stacker-wrapper“)).remove(),this._setCols(),this._moveLoadMore(),this.ifCallback=!1,this.isResizing=!0,this._renderGrid(”append“),this.ifCallback=!0,this.isResizing=!1)},append:function(b){var c=this.gridArr,d=this.gridArrPrepend;a.each(b,function(a,b){c.push(b),d.push(b)}),this._renderGrid(”append“,b,a(b).length),this._addLoadMore()},prepend:function(b){this.ifCallback=!1,this._renderGrid(”prepend“,b,a(b).length),this.ifCallback=!0}},a.fn.gridalicious=function(b,c){return”string“==typeof b?this.each(function(){var d=a.data(this,”gridalicious“);d[b].apply(d,[c])}):this.each(function(){a.data(this,”gridalicious“,new a.Gal(b,this))}),this}}(jQuery),function(){function a(a){return(a||”“).split(” “)}function b(a,b,c){return f(a,b,c)}function c(a,b,c,d){return”number“!=typeof c&&”string“!=typeof c||null!=d||(d=c,c=void 0),f(a,b,c,{timezone:d})}function d(a,b,c){return f(a,b,c,{utc:!0})}function e(a){return function(c,d,e){return b(c,d,a,e)}}function f(a,b,c,d){d=d||{},b&&!h(b)&&(c=b,b=void 0),b=b||new Date,c=c||n,c.formats=c.formats||{};var e=b.getTime(),m=d.timezone,o=typeof m;if((d.utc||”number“==o||”string“==o)&&(b=g(b)),m){if(”string“==o){var p=”-“==m[0]?-1:1,q=parseInt(m.slice(1,3),10),r=parseInt(m.slice(3,5),10);m=p*(60*q+r)}o&&(b=new Date(b.getTime()+6e4*m))}return a.replace(/%([-_0]?.)/g,function(a,g){var h,n;if(2==g.length){if(h=g[0],”-“==h)n=”“;else if(”_“==h)n=” “;else{if(”0“!=h)return a;n=”0“}g=g[1]}switch(g){case”A“:return c.days[b.getDay()];case”a“:return c.shortDays[b.getDay()];case”B“:return c.months[b.getMonth()];case”b“:return c.shortMonths[b.getMonth()];case”C“:return i(Math.floor(b.getFullYear()/100),n);case”D“:return f(c.formats.D||”%m/%d/%y“,b,c);case”d“:return i(b.getDate(),n);case”e“:return i(b.getDate(),null==n?” “:n);case”F“:return f(c.formats.F||”%Y-%m-%d“,b,c);case”H“:return i(b.getHours(),n);case”h“:return c.shortMonths[b.getMonth()];case”I“:return i(j(b),n);case”j“:var o=new Date(b.getFullYear(),0,1),p=Math.ceil((b.getTime()-o.getTime())/864e5);return i(p,3);case”k“:return i(b.getHours(),null==n?” “:n);case”L“:return i(Math.floor(e%1e3),3);case”l“:return i(j(b),null==n?” “:n);case”M“:return i(b.getMinutes(),n);case”m“:return i(b.getMonth()+1,n);case”n“:return”n“;case”o“:return String(b.getDate())+k(b.getDate());case”P“:return b.getHours()<12?c.am:c.pm;case"p":return b.getHours()<12?c.AM:c.PM;case"R":return f(c.formats.R||"%H:%M",b,c);case"r":return f(c.formats.r||"%I:%M:%S %p",b,c);case"S":return i(b.getSeconds(),n);case"s":return Math.floor(e/1e3);case"T":return f(c.formats.T||"%H:%M:%S",b,c);case"t":return" ";case"U":return i(l(b,"sunday"),n);case"u":var p=b.getDay();return 0==p?7:p;case"v":return f(c.formats.v||"%e-%b-%Y",b,c);case"W":return i(l(b,"monday"),n);case"w":return b.getDay();case"Y":return b.getFullYear();case"y":var o=String(b.getFullYear());return o.slice(o.length-2);case"Z":if(d.utc)return"GMT";var q=b.toString().match(/\(([\w\s]+)\)/);return q&&q[1]||"";case"z":if(d.utc)return"+0000";var r="number"==typeof m?m:-b.getTimezoneOffset();return(0>r?”-“:”+“)+i(Math.floor(Math.abs®/60))+i(Math.abs®%60);default:return g}})}function g(a){var b=6e4*(a.getTimezoneOffset()||0);return new Date(a.getTime()+b)}function h(a){var b=0,c=o.length;for(b=0;c>b;++b)if(”function“!=typeof a[o[b]])return!1;return!0}function i(a,b,c){”number“==typeof b&&(c=b,b=”0“),null==b&&(b=”0“),c=c||2;var d=String(a);if(b)for(;d.length
)((?:https?|ftp)://[-A-Z0-9+u0026u2019@#/%?=()~_|!:,.;]*[-A-Z0-9+u0026@#/%=~()_|])/gi,e.length>0?(d=e[0],c=function(){var b;b=[];for(a in d)g=d[a],”callback“!==a&&b.push(” “a
”=‘“g
”’“);return b}().join(”“),this.replace(f,function(a,b,e){var f;return f=(”function“==typeof d.callback?d.callback(e):void 0)||”$2”)},String.prototype.autoLink=a; }.call(this),Object.create||(Object.create=function(a,b){function c(){}if(“object”!=typeof a&&“function”!=typeof a)throw new TypeError(“Object prototype may only be an Object: ”+a);if(null===a)throw new Error(“This browser’s implementation of Object.create is a shim and doesn’t support ‘null’ as the first argument.”);if(“undefined”!=typeof b)throw new Error(“This browser’s implementation of Object.create is a shim and doesn’t support a second argument.”);return c.prototype=a,new c}),function(a,b){“use strict”;a.jQueryBridget=b(a,a.jQuery)}(window,function(a,b){“use strict”;function c(c,f,h){function i(a,b,d){var e,f=“$().”c
‘(“’b
‘”)’;return a.each(function(a,i){var j=h.data(i,c);if(!j)return void g(c+“ not initialized. Cannot call methods, i.e. ”+f);var k=j[b];if(!k||“_”==b.charAt(0))return void g(f+“ is not a valid method”);var l=k.apply(j,d);e=void 0===e?l:e}),void 0!==e?e:a}function j(a,b){a.each(function(a,d){var e=h.data(d,c);e?(e.option(b),e._init()):(e=new f(d,b),h.data(d,c,e))})}h=h||b||a.jQuery,h&&(f.prototype.option||(f.prototype.option=function(a){h.isPlainObject(a)&&(this.options=h.extend(!0,this.options,a))}),h.fn[c]=function(a){if(“string”==typeof a){var b=e.call(arguments,1);return i(this,a,b)}return j(this,a),this},d(h))}function d(a){!a||a&&a.bridget||(a.bridget=c)}var e=Array.prototype.slice,f=a.console,g=“undefined”==typeof f?function(){}:function(a){f.error(a)};return d(b||a.jQuery),c}),function(a,b){“use strict”;a.getWindowSize=b()}(window,function(){“use strict”;function a(a){var b=parseFloat(a),c=-1==a.indexOf(“%”)&&!isNaN(b);return c&&b}function b(){}function c(){for(var a={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},b=0;j>b;b++){var c=i[b];a[c]=0}return a}function d(a){var b=getComputedStyle(a);return b||h(“Style returned ”b
“. Are you running this code in a hidden iframe on Firefox? See http://bit.ly/getsizebug1”),b}function e(){if(!k){k=!0;var b=document.createElement(“div”);b.style.width=“200px”,b.style.padding=“1px 2px 3px 4px”,b.style.borderStyle=“solid”,b.style.borderWidth=“1px 2px 3px 4px”,b.style.boxSizing=“border-box”;var c=document.body||document.documentElement;c.appendChild(b);var e=d(b);f.isBoxSizeOuter=g=200==a(e.width),c.removeChild(b)}}function f(b){if(e(),“string”==typeof b&&(b=document.querySelector(b)),b&&“object”==typeof b&&b.nodeType){var f=d(b);if(“none”==f.display)return c();var h={};h.width=b.offsetWidth,h.height=b.offsetHeight;for(var k=h.isBorderBox=“border-box”==f.boxSizing,l=0;j>l;l++){var m=i[l],n=f[m],o=parseFloat(n);h[m]=isNaN(o)?0:o}var p=h.paddingLeft+h.paddingRight,q=h.paddingTop+h.paddingBottom,r=h.marginLeft+h.marginRight,s=h.marginTop+h.marginBottom,t=h.borderLeftWidth+h.borderRightWidth,u=h.borderTopWidth+h.borderBottomWidth,v=k&&g,w=a(f.width);w!==!1&&(h.width=w+(v?0:p+t));var x=a(f.height);return x!==!1&&(h.height=x+(v?0:q+u)),h.innerWidth=h.width-(p+t),h.innerHeight=h.height-(q+u),h.outerWidth=h.width+r,h.outerHeight=h.height+s,h}}var g,h=“undefined”==typeof console?b:function(a){console.error(a)},i=[“paddingLeft”,“paddingRight”,“paddingTop”,“paddingBottom”,“marginLeft”,“marginRight”,“marginTop”,“marginBottom”,“borderLeftWidth”,“borderRightWidth”,“borderTopWidth”,“borderBottomWidth”],j=i.length,k=!1;return f}),function(a,b){a.EvEmitter=b()}(this,function(){function a(){}var b=a.prototype;return b.on=function(a,b){if(a&&b){var c=this._events=this._events||{},d=c[a]=c[a]||[];return-1==d.indexOf(b)&&d.push(b),this}},b.once=function(a,b){if(a&&b){this.on(a,b);var c=this._onceEvents=this._onceEvents||{},d=c[a]=c[a]||{};return d[b]=!0,this}},b.off=function(a,b){var c=this._events&&this._events[a];if(c&&c.length){var d=c.indexOf(b);return-1!=d&&c.splice(d,1),this}},b.emitEvent=function(a,b){var c=this._events&&this._events[a];if(c&&c.length){var d=0,e=c[d];b=b||[];for(var f=this._onceEvents&&this._onceEvents[a];e;){var g=f&&f[e];g&&(this.off(a,e),delete f[e]),e.apply(this,b),d+=g?0:1,e=c[d]}return this}},a}),function(a,b){“use strict”;a.matchesSelector=b()}(window,function(){“use strict”;var a=function(){var a=Element.prototype;if(a.matches)return“matches”;if(a.matchesSelector)return“matchesSelector”;for(var b=[“webkit”,“moz”,“ms”,“o”],c=0;cg
“ on ”a.className
“: ”+h))}var i=new b(a,c);l&&l.data(a,e,i)})})},c}),function(a,b){a.Outlayer={},a.Outlayer.Item=b(a.EvEmitter,a.getWindowSize)}(window,function(a,b){“use strict”;function c(a){for(var b in a)return!1;return b=null,!0}function d(a,b){a&&(this.element=a,this.layout=b,this.position={x:0,y:0},this._create())}function e(a){return a.replace(/([A-Z])/g,function(a){return“-”+a.toLowerCase()})}var f=document.documentElement.style,g=“string”==typeof f.transition?“transition”:“WebkitTransition”,h=“string”==typeof f.transform?“transform”:“WebkitTransform”,i={WebkitTransition:“webkitTransitionEnd”,transition:“transitionend”}[g],j={transform:h,transition:g,transitionDuration:g+“Duration”,transitionProperty:g+“Property”},k=d.prototype=Object.create(a.prototype);k.constructor=d,k._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:“absolute”})},k.handleEvent=function(a){var b=“on”+a.type;this&&this(a)},k.getWindowSize=function(){this.size=b(this.element)},k.css=function(a){var b=this.element.style;for(var c in a){var d=j||c;b=a}},k.getPosition=function(){var a=getComputedStyle(this.element),b=this.layout._getOption(“originLeft”),c=this.layout._getOption(“originTop”),d=a,e=a,f=this.layout.size,g=-1!=d.indexOf(“%”)?parseFloat(d)/100*f.width:parseInt(d,10),h=-1!=e.indexOf(“%”)?parseFloat(e)/100*f.height:parseInt(e,10);g=isNaN(g)?0:g,h=isNaN(h)?0:h,g-=b?f.paddingLeft:f.paddingRight,h-=c?f.paddingTop:f.paddingBottom,this.position.x=g,this.position.y=h},k.layoutPosition=function(){var a=this.layout.size,b={},c=this.layout._getOption(“originLeft”),d=this.layout._getOption(“originTop”),e=c?“paddingLeft”:“paddingRight”,f=c?“left”:“right”,g=c?“right”:“left”,h=this.position.x+a;b=this.getXValue(h),b=“”;var i=d?“paddingTop”:“paddingBottom”,j=d?“top”:“bottom”,k=d?“bottom”:“top”,l=this.position.y+a;b=this.getYValue(l),b=“”,this.css(b),this.emitEvent(“layout”,)},k.getXValue=function(a){var b=this.layout._getOption(“horizontal”);return this.layout.options.percentPosition&&!b?a/this.layout.size.width*100+“%”:a+“px”},k.getYValue=function(a){var b=this.layout._getOption(“horizontal”);return this.layout.options.percentPosition&&b?a/this.layout.size.height*100+“%”:a+“px”},k._transitionTo=function(a,b){this.getPosition();var c=this.position.x,d=this.position.y,e=parseInt(a,10),f=parseInt(b,10),g=e===this.position.x&&f===this.position.y;if(this.setPosition(a,b),g&&!this.isTransitioning)return void this.layoutPosition();var h=a-c,i=b-d,j={};j.transform=this.getTranslate(h,i),this.transition({to:j,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})},k.getTranslate=function(a,b){var c=this.layout._getOption(“originLeft”),d=this.layout._getOption(“originTop”);return a=c?a:-a,b=d?b:-b,“translate3d(”a
“px, ”b
“px, 0)”},k.goTo=function(a,b){this.setPosition(a,b),this.layoutPosition()},k.moveTo=k._transitionTo,k.setPosition=function(a,b){this.position.x=parseInt(a,10),this.position.y=parseInt(b,10)},k._nonTransition=function(a){this.css(a.to),a.isCleaning&&this._removeStyles(a.to);for(var b in a.onTransitionEnd)a.onTransitionEnd.call(this)},k.transition=function(a){if(!parseFloat(this.layout.options.transitionDuration))return void this._nonTransition(a);var b=this._transn;for(var c in a.onTransitionEnd)b.onEnd=a.onTransitionEnd;for(c in a.to)b.ingProperties=!0,a.isCleaning&&(b.clean=!0);if(a.from){this.css(a.from);var d=this.element.offsetHeight;d=null}this.enableTransition(a.to),this.css(a.to),this.isTransitioning=!0};var l=“opacity,”+e(h);k.enableTransition=function(){this.isTransitioning||(this.css({transitionProperty:l,transitionDuration:this.layout.options.transitionDuration}),this.element.addEventListener(i,this,!1))},k.onwebkitTransitionEnd=function(a){this.ontransitionend(a)},k.onotransitionend=function(a){this.ontransitionend(a)};var m={“-webkit-transform”:“transform”};k.ontransitionend=function(a){if(a.target===this.element){var b=this._transn,d=m||a.propertyName;if(delete b.ingProperties,c(b.ingProperties)&&this.disableTransition(),d in b.clean&&(this.element.style=“”,delete b.clean),d in b.onEnd){var e=b.onEnd;e.call(this),delete b.onEnd}this.emitEvent(“transitionEnd”,)}},k.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(i,this,!1),this.isTransitioning=!1},k._removeStyles=function(a){var b={};for(var c in a)b=“”;this.css(b)};var n={transitionProperty:“”,transitionDuration:“”};return k.removeTransitionStyles=function(){this.css(n)},k.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:“”}),this.emitEvent(“remove”,)},k.remove=function(){return g&&parseFloat(this.layout.options.transitionDuration)?(this.once(“transitionEnd”,function(){this.removeElem()}),void this.hide()):void this.removeElem()},k.reveal=function(){delete this.isHidden,this.css({display:“”});var a=this.layout.options,b={},c=this.getHideRevealTransitionEndProperty(“visibleStyle”);b=this.onRevealTransitionEnd,this.transition({from:a.hiddenStyle,to:a.visibleStyle,isCleaning:!0,onTransitionEnd:b})},k.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent(“reveal”)},k.getHideRevealTransitionEndProperty=function(a){var b=this.layout.options;if(b.opacity)return“opacity”;for(var c in b)return c},k.hide=function(){this.isHidden=!0,this.css({display:“”});var a=this.layout.options,b={},c=this.getHideRevealTransitionEndProperty(“hiddenStyle”);b=this.onHideTransitionEnd,this.transition({from:a.visibleStyle,to:a.hiddenStyle,isCleaning:!0,onTransitionEnd:b})},k.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:“none”}),this.emitEvent(“hide”))},k.destroy=function(){this.css({position:“”,left:“”,right:“”,top:“”,bottom:“”,transition:“”,transform:“”})},d}),function(a,b){“use strict”;a.Outlayer=b(a,a.EvEmitter,a.getWindowSize,a.fizzyUIUtils,a.Outlayer.Item)}(window,function(a,b,c,d,e){“use strict”;function f(a,b){var c=d.getQueryElement(a);if(!c)return void(h&&h.error(“Bad element for ”this.constructor.namespace
“: ”+(c||a)));this.element=c,i&&(this.$element=i(this.element)),this.options=d.extend({},this.constructor.defaults),this.option(b);var e=++k;this.element.outlayerGUID=e,l=this,this._create();var f=this._getOption(“initLayout”);f&&this.layout()}function g(a){function b(){a.apply(this,arguments)}return b.prototype=Object.create(a.prototype),b.prototype.constructor=b,b}var h=a.console,i=a.jQuery,j=function(){},k=0,l={};f.namespace=“outlayer”,f.Item=e,f.defaults={containerStyle:{position:“relative”},initLayout:!0,originLeft:!0,originTop:!0,resize:!0,resizeContainer:!0,transitionDuration:“0.4s”,hiddenStyle:{opacity:0,transform:“scale(0.001)”},visibleStyle:{opacity:1,transform:“scale(1)”}};var m=f.prototype;return d.extend(m,b.prototype),m.option=function(a){d.extend(this.options,a)},m._getOption=function(a){var b=this.constructor.compatOptions;return b&&void 0!==this.options?this.options:this.options},f.compatOptions={initLayout:“isInitLayout”,horizontal:“isHorizontal”,layoutInstant:“isLayoutInstant”,originLeft:“isOriginLeft”,originTop:“isOriginTop”,resize:“isResizeBound”,resizeContainer:“isResizingContainer”},m._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),d.extend(this.element.style,this.options.containerStyle);var a=this._getOption(“resize”);a&&this.bindResize()},m.reloadItems=function(){this.items=this._itemize(this.element.children)},m._itemize=function(a){for(var b=this._filterFindItemElements(a),c=this.constructor.Item,d=[],e=0;e<b.length;e++){var f=b,g=new c(f,this);d.push(g)}return d},m._filterFindItemElements=function(a){return d.filterFindElements(a,this.options.itemSelector)},m.getItemElements=function(){return this.items.map(function(a){return a.element})},m.layout=function(){this._resetLayout(),this._manageStamps();var a=this._getOption(“layoutInstant”),b=void 0!==a?a:!this._isLayoutInited;this.layoutItems(this.items,b),this._isLayoutInited=!0},m._init=m.layout,m._resetLayout=function(){this.getWindowSize()},m.getWindowSize=function(){this.size=c(this.element)},m._getMeasurement=function(a,b){var d,e=this.options;e?(“string”==typeof e?d=this.element.querySelector(e):e instanceof HTMLElement&&(d=e),this=d?c(d):e):this=0},m.layoutItems=function(a,b){a=this._getItemsForLayout(a),this._layoutItems(a,b),this._postLayout()},m._getItemsForLayout=function(a){return a.filter(function(a){return!a.isIgnored})},m._layoutItems=function(a,b){if(this._emitCompleteOnItems(“layout”,a),a&&a.length){var c=[];a.forEach(function(a){var d=this._getItemLayoutPosition(a);d.item=a,d.isInstant=b||a.isLayoutInstant,c.push(d)},this),this._processLayoutQueue©}},m._getItemLayoutPosition=function(){return{x:0,y:0}},m._processLayoutQueue=function(a){a.forEach(function(a){this._positionItem(a.item,a.x,a.y,a.isInstant)},this)},m._positionItem=function(a,b,c,d){d?a.goTo(b,c):a.moveTo(b,c)},m._postLayout=function(){this.resizeContainer()},m.resizeContainer=function(){var a=this._getOption(“resizeContainer”);if(a){var b=this._getContainerSize();b&&(this._setContainerMeasure(b.width,!0),this._setContainerMeasure(b.height,!1))}},m._getContainerSize=j,m._setContainerMeasure=function(a,b){if(void 0!==a){var c=this.size;c.isBorderBox&&(a+=b?c.paddingLeft+c.paddingRight+c.borderLeftWidth+c.borderRightWidth:c.paddingBottom+c.paddingTop+c.borderTopWidth+c.borderBottomWidth),a=Math.max(a,0),this.element.style=a+“px”}},m._emitCompleteOnItems=function(a,b){function c(){e.dispatchEvent(a+“Complete”,null,)}function d(){g++,g==f&&c()}var e=this,f=b.length;if(!b||!f)return void c();var g=0;b.forEach(function(b){b.once(a,d)})},m.dispatchEvent=function(a,b,c){var d=b?.concat©:c;if(this.emitEvent(a,d),i)if(this.$element=this.$element||i(this.element),b){var e=i.Event(b);e.type=a,this.$element.trigger(e,c)}else this.$element.trigger(a,c)},m.ignore=function(a){var b=this.getItem(a);b&&(b.isIgnored=!0)},m.unignore=function(a){var b=this.getItem(a);b&&delete b.isIgnored},m.stamp=function(a){a=this._find(a),a&&(this.stamps=this.stamps.concat(a),a.forEach(this.ignore,this))},m.unstamp=function(a){a=this._find(a),a&&a.forEach(function(a){d.removeFrom(this.stamps,a),this.unignore(a)},this)},m._find=function(a){return a?(“string”==typeof a&&(a=this.element.querySelectorAll(a)),a=d.makeArray(a)):void 0},m._manageStamps=function(){this.stamps&&this.stamps.length&&(this._getBoundingRect(),this.stamps.forEach(this._manageStamp,this))},m._getBoundingRect=function(){var a=this.element.getBoundingClientRect(),b=this.size;this._boundingRect={left:a.left+b.paddingLeft+b.borderLeftWidth,top:a.top+b.paddingTop+b.borderTopWidth,right:a.right-(b.paddingRight+b.borderRightWidth),bottom:a.bottom-(b.paddingBottom+b.borderBottomWidth)}},m._manageStamp=j,m._getElementOffset=function(a){var b=a.getBoundingClientRect(),d=this._boundingRect,e=c(a),f={left:b.left-d.left-e.marginLeft,top:b.top-d.top-e.marginTop,right:d.right-b.right-e.marginRight,bottom:d.bottom-b.bottom-e.marginBottom};return f},m.handleEvent=d.handleEvent,m.bindResize=function(){a.addEventListener(“resize”,this),this.isResizeBound=!0},m.unbindResize=function(){a.removeEventListener(“resize”,this),this.isResizeBound=!1},m.onresize=function(){this.resize()},d.debounceMethod(f,“onresize”,100),m.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},m.needsResizeLayout=function(){var a=c(this.element),b=this.size&&a;return b&&a.innerWidth!==this.size.innerWidth},m.addItems=function(a){var b=this._itemize(a);return b.length&&(this.items=this.items.concat(b)),b},m.appended=function(a){var b=this.addItems(a);b.length&&(this.layoutItems(b,!0),this.reveal(b))},m.prepended=function(a){var b=this._itemize(a);if(b.length){var c=this.items.slice(0);this.items=b.concat©,this._resetLayout(),this._manageStamps(),this.layoutItems(b,!0),this.reveal(b),this.layoutItems©}},m.reveal=function(a){this._emitCompleteOnItems(“reveal”,a),a&&a.length&&a.forEach(function(a){a.reveal()})},m.hide=function(a){this._emitCompleteOnItems(“hide”,a),a&&a.length&&a.forEach(function(a){a.hide()})},m.revealItemElements=function(a){var b=this.getItems(a);this.reveal(b)},m.hideItemElements=function(a){var b=this.getItems(a);this.hide(b)},m.getItem=function(a){for(var b=0;b<this.items.length;b++){var c=this.items;if(c.element==a)return c}},m.getItems=function(a){a=d.makeArray(a);var b=[];return a.forEach(function(a){var c=this.getItem(a);c&&b.push©},this),b},m.remove=function(a){var b=this.getItems(a);this._emitCompleteOnItems(“remove”,b),b&&b.length&&b.forEach(function(a){a.remove(),d.removeFrom(this.items,a)},this)},m.destroy=function(){var a=this.element.style;a.height=“”,a.position=“”,a.width=“”,this.items.forEach(function(a){a.destroy()}),this.unbindResize();var b=this.element.outlayerGUID;delete l,delete this.element.outlayerGUID,i&&i.removeData(this.element,this.constructor.namespace)},f.data=function(a){a=d.getQueryElement(a);var b=a&&a.outlayerGUID;return b&&l},f.create=function(a,b){var c=g(f);return c.defaults=d.extend({},f.defaults),d.extend(c.defaults,b),c.compatOptions=d.extend({},f.compatOptions),c.namespace=a,c.data=f.data,c.Item=g(e),d.htmlInit(c,a),i&&i.bridget&&i.bridget(a,c),c},f.Item=e,f}),function(a,b){a.Packery=a.Packery||{},a.Packery.Rect=b()}(window,function(){“use strict”;function a(b){for(var c in a.defaults)this=a.defaults;for(c in b)this=b}a.defaults={x:0,y:0,width:0,height:0};var b=a.prototype;return b.contains=function(a){var b=a.width||0,c=a.height||0;return this.x<=a.x&&this.y<=a.y&&this.x+this.width>=a.x+b&&this.y+this.height>=a.y+c},b.overlaps=function(a){var b=this.x+this.width,c=this.y+this.height,d=a.x+a.width,e=a.y+a.height;return this.x<d&&b>a.x&&this.y<e&&c>a.y},b.getMaximalFreeRects=function(b){if(!this.overlaps(b))return!1;var c,d=[],e=this.x+this.width,f=this.y+this.height,g=b.x+b.width,h=b.y+b.height;return this.y<b.y&&(c=new a({x:this.x,y:this.y,width:this.width,height:b.y-this.y}),d.push©),e>g&&(c=new a({x:g,y:this.y,width:e-g,height:this.height}),d.push©),f>h&&(c=new a({x:this.x,y:h,width:this.width,height:f-h}),d.push©),this.x<b.x&&(c=new a({x:this.x,y:this.y,width:b.x-this.x,height:this.height}),d.push©),d},b.canFit=function(a){return this.width>=a.width&&this.height>=a.height},a}),function(a,b){var c=a.Packery=a.Packery||{};c.Packer=b(c.Rect)}(window,function(a){“use strict”;function b(a,b,c){this.width=a||0,this.height=b||0,this.sortDirection=c||“downwardLeftToRight”,this.reset()}var c=b.prototype;c.reset=function(){this.spaces=[];var b=new a({x:0,y:0,width:this.width,height:this.height});this.spaces.push(b),this.sorter=d||d.downwardLeftToRight},c.pack=function(a){for(var b=0;b<this.spaces.length;b++){var c=this.spaces;if(c.canFit(a)){this.placeInSpace(a,c);break}}},c.columnPack=function(a){for(var b=0;b<this.spaces.length;b++){var c=this.spaces,d=c.x<=a.x&&c.x+c.width>=a.x+a.width&&c.height>=a.height-.01;if(d){a.y=c.y,this.placed(a);break}}},c.rowPack=function(a){for(var b=0;b<this.spaces.length;b++){var c=this.spaces,d=c.y<=a.y&&c.y+c.height>=a.y+a.height&&c.width>=a.width-.01;if(d){a.x=c.x,this.placed(a);break}}},c.placeInSpace=function(a,b){a.x=b.x,a.y=b.y,this.placed(a)},c.placed=function(a){for(var b=[],c=0;c<this.spaces.length;c++){var d=this.spaces,e=d.getMaximalFreeRects(a);e?b.push.apply(b,e):b.push(d)}this.spaces=b,this.mergeSortSpaces()},c.mergeSortSpaces=function(){b.mergeRects(this.spaces),this.spaces.sort(this.sorter)},c.addSpace=function(a){this.spaces.push(a),this.mergeSortSpaces()},b.mergeRects=function(a){var b=0,c=a;a:for(;c;){for(var d=0,e=a;e;){if(e==c)d++;else{if(e.contains©){a.splice(b,1),c=a;continue a}c.contains(e)?a.splice(b+d,1):d++}e=a}b++,c=a}return a};var d={downwardLeftToRight:function(a,b){return a.y-b.y||a.x-b.x},rightwardTopToBottom:function(a,b){return a.x-b.x||a.y-b.y}};return b}),function(a,b){a.Packery.Item=b(a.Outlayer,a.Packery.Rect)}(window,function(a,b){“use strict”;var c=document.documentElement.style,d=“string”==typeof c.transform?“transform”:“WebkitTransform”,e=function(){a.Item.apply(this,arguments)},f=e.prototype=Object.create(a.Item.prototype),g=f._create;f._create=function(){g.call(this),this.rect=new b};var h=f.moveTo;return f.moveTo=function(a,b){var c=Math.abs(this.position.x-a),d=Math.abs(this.position.y-b),e=this.layout.dragItemCount&&!this.isPlacing&&!this.isTransitioning&&1>c&&1>d;return e?void this.goTo(a,b):void h.apply(this,arguments)},f.enablePlacing=function(){this.removeTransitionStyles(),this.isTransitioning&&d&&(this.element.style=“none”),this.isTransitioning=!1,this.getWindowSize(),this.layout._setRectSize(this.element,this.rect),this.isPlacing=!0},f.disablePlacing=function(){this.isPlacing=!1},f.removeElem=function(){this.element.parentNode.removeChild(this.element),this.layout.packer.addSpace(this.rect),this.emitEvent(“remove”,)},f.showDropPlaceholder=function(){var a=this.dropPlaceholder;a||(a=this.dropPlaceholder=document.createElement(“div”),a.className=“packery-drop-placeholder”,a.style.position=“absolute”),a.style.width=this.size.width+“px”,a.style.height=this.size.height+“px”,this.positionDropPlaceholder(),this.layout.element.appendChild(a)},f.positionDropPlaceholder=function(){this.dropPlaceholder.style=“translate(”this.rect.x
“px, ”this.rect.y
“px)”},f.hideDropPlaceholder=function(){this.layout.element.removeChild(this.dropPlaceholder)},e}),function(a,b){a.Packery=b(a.getWindowSize,a.Outlayer,a.Packery.Rect,a.Packery.Packer,a.Packery.Item)}(window,function(a,b,c,d,e){“use strict”;function f(a,b){return a.position.y-b.position.y||a.position.x-b.position.x}function g(a,b){return a.position.x-b.position.x||a.position.y-b.position.y}function h(a,b){var c=b.x-a.x,d=b.y-a.y;return Math.sqrt(c*c+d*d)}c.prototype.canFit=function(a){return this.width>=a.width-1&&this.height>=a.height-1};var i=b.create(“packery”);i.Item=e;var j=i.prototype;j._create=function(){b.prototype._create.call(this),this.packer=new d,this.shiftPacker=new d,this.isEnabled=!0,this.dragItemCount=0;var a=this;this.handleDraggabilly={dragStart:function(){a.itemDragStart(this.element)},dragMove:function(){a.itemDragMove(this.element,this.position.x,this.position.y)},dragEnd:function(){a.itemDragEnd(this.element)}},this.handleUIDraggable={start:function(b,c){c&&a.itemDragStart(b.currentTarget)},drag:function(b,c){c&&a.itemDragMove(b.currentTarget,c.position.left,c.position.top)},stop:function(b,c){c&&a.itemDragEnd(b.currentTarget)}}},j._resetLayout=function(){this.getWindowSize(),this._getMeasurements();var a,b,c;this._getOption(“horizontal”)?(a=1/0,b=this.size.innerHeight+this.gutter,c=“rightwardTopToBottom”):(a=this.size.innerWidth+this.gutter,b=1/0,c=“downwardLeftToRight”),this.packer.width=this.shiftPacker.width=a,this.packer.height=this.shiftPacker.height=b,this.packer.sortDirection=this.shiftPacker.sortDirection=c,this.packer.reset(),this.maxY=0,this.maxX=0},j._getMeasurements=function(){this._getMeasurement(“columnWidth”,“width”),this._getMeasurement(“rowHeight”,“height”),this._getMeasurement(“gutter”,“width”)},j._getItemLayoutPosition=function(a){if(this._setRectSize(a.element,a.rect),this.isShifting||this.dragItemCount>0){var b=this._getPackMethod();this.packer(a.rect)}else this.packer.pack(a.rect);return this._setMaxXY(a.rect),a.rect},j.shiftLayout=function(){this.isShifting=!0,this.layout(),delete this.isShifting},j._getPackMethod=function(){return this._getOption(“horizontal”)?“rowPack”:“columnPack”},j._setMaxXY=function(a){this.maxX=Math.max(a.x+a.width,this.maxX),this.maxY=Math.max(a.y+a.height,this.maxY)},j._setRectSize=function(b,c){var d=a(b),e=d.outerWidth,f=d.outerHeight;(e||f)&&(e=this._applyGridGutter(e,this.columnWidth),f=this._applyGridGutter(f,this.rowHeight)),c.width=Math.min(e,this.packer.width),c.height=Math.min(f,this.packer.height)},j._applyGridGutter=function(a,b){if(!b)return a+this.gutter;b+=this.gutter;var c=a%b,d=c&&1>c?“round”:“ceil”;return a=Math(a/b)*b},j._getContainerSize=function(){return this._getOption(“horizontal”)?{width:this.maxX-this.gutter}:{height:this.maxY-this.gutter}},j._manageStamp=function(a){var b,d=this.getItem(a);if(d&&d.isPlacing)b=d.rect;else{var e=this._getElementOffset(a);b=new c({x:this._getOption(“originLeft”)?e.left:e.right,y:this._getOption(“originTop”)?e.top:e.bottom})}this._setRectSize(a,b),this.packer.placed(b),this._setMaxXY(b)},j.sortItemsByPosition=function(){var a=this._getOption(“horizontal”)?g:f;this.items.sort(a)},j.fit=function(a,b,c){var d=this.getItem(a);d&&(this.stamp(d.element),d.enablePlacing(),this.updateShiftTargets(d),b=void 0===b?d.rect.x:b,c=void 0===c?d.rect.y:c,this.shift(d,b,c),this._bindFitEvents(d),d.moveTo(d.rect.x,d.rect.y),this.shiftLayout(),this.unstamp(d.element),this.sortItemsByPosition(),d.disablePlacing())},j._bindFitEvents=function(a){function b(){d++,2==d&&c.dispatchEvent(“fitComplete”,null,)}var c=this,d=0;a.once(“layout”,b),this.once(“layoutComplete”,b)},j.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&(this.options.shiftPercentResize?this.resizeShiftPercentLayout():this.layout())},j.needsResizeLayout=function(){var b=a(this.element),c=this._getOption(“horizontal”)?“innerHeight”:“innerWidth”;return b!=this.size},j.resizeShiftPercentLayout=function(){var b=this._getItemsForLayout(this.items),c=this._getOption(“horizontal”),d=c?“y”:“x”,e=c?“height”:“width”,f=c?“rowHeight”:“columnWidth”,g=c?“innerHeight”:“innerWidth”,h=this;if(h=h&&h+this.gutter){this._getMeasurements();var i=this+this.gutter;b.forEach(function(a){var b=Math.round(a.rect/h);a.rect=b*i})}else{var j=a(this.element)+this.gutter,k=this.packer;b.forEach(function(a){a.rect=a.rect/k*j})}this.shiftLayout()},j.itemDragStart=function(a){if(this.isEnabled){this.stamp(a);var b=this.getItem(a);b&&(b.enablePlacing(),b.showDropPlaceholder(),this.dragItemCount++,this.updateShiftTargets(b))}},j.updateShiftTargets=function(a){this.shiftPacker.reset(),this._getBoundingRect();var b=this._getOption(“originLeft”),d=this._getOption(“originTop”);this.stamps.forEach(function(a){var e=this.getItem(a);if(!e||!e.isPlacing){var f=this._getElementOffset(a),g=new c({x:b?f.left:f.right,y:d?f.top:f.bottom});this._setRectSize(a,g),this.shiftPacker.placed(g)}},this);var e=this._getOption(“horizontal”),f=e?“rowHeight”:“columnWidth”,g=e?“height”:“width”;this.shiftTargetKeys=[],this.shiftTargets=;var h,i=this;if(i=i&&i+this.gutter){var j=Math.ceil(a.rect/i),k=Math.floor((this.shiftPacker+this.gutter)/i);h=(k-j)*i;for(var l=0;k>l;l++)this._addShiftTarget(l*i,0,h)}else h=this.shiftPacker+this.gutter-a.rect,this._addShiftTarget(0,0,h);var m=this._getItemsForLayout(this.items),n=this._getPackMethod();m.forEach(function(a){var b=a.rect;this._setRectSize(a.element,b),this.shiftPacker(b),this._addShiftTarget(b.x,b.y,h);var c=e?b.x+b.width:b.x,d=e?b.y:b.y+b.height;if(this._addShiftTarget(c,d,h),i)for(var f=Math.round(b/i),j=1;f>j;j++){var k=e?c:b.x+i*j,l=e?b.y+i*j:d;this._addShiftTarget(k,l,h)}},this)},j._addShiftTarget=function(a,b,c){var d=this._getOption(“horizontal”)?b:a;if(!(0!==d&&d>c)){var e=a+“,”+b,f=-1!=this.shiftTargetKeys.indexOf(e);f||(this.shiftTargetKeys.push(e),this.shiftTargets.push({x:a,y:b}))}},j.shift=function(a,b,c){var d,e=1/0,f={x:b,y:c};this.shiftTargets.forEach(function(a){var b=h(a,f);e>b&&(d=a,e=b)}),a.rect.x=d.x,a.rect.y=d.y};var k=120;j.itemDragMove=function(a,b,c){function d(){f.shift(e,b,c),e.positionDropPlaceholder(),f.layout()}var e=this.isEnabled&&this.getItem(a);if(e){b-=this.size.paddingLeft,c-=this.size.paddingTop;var f=this,g=new Date;this._itemDragTime&&g-this._itemDragTime<k?(clearTimeout(this.dragTimeout),this.dragTimeout=setTimeout(d,k)):(d(),this._itemDragTime=g)}},j.itemDragEnd=function(a){function b(){d++,2==d&&(c.element.classList.remove(“is-positioning-post-drag”),c.hideDropPlaceholder(),e.dispatchEvent(“dragItemPositioned”,null,))}var c=this.isEnabled&&this.getItem(a);if©{clearTimeout(this.dragTimeout),c.element.classList.add(“is-positioning-post-drag”);var d=0,e=this;c.once(“layout”,b),this.once(“layoutComplete”,b),c.moveTo(c.rect.x,c.rect.y),this.layout(),this.dragItemCount=Math.max(0,this.dragItemCount-1),this.sortItemsByPosition(),c.disablePlacing(),this.unstamp(c.element)}},j.bindDraggabillyEvents=function(a){this._bindDraggabillyEvents(a,“on”)},j.unbindDraggabillyEvents=function(a){this._bindDraggabillyEvents(a,“off”)},j._bindDraggabillyEvents=function(a,b){var c=this.handleDraggabilly;a(“dragStart”,c.dragStart),a(“dragMove”,c.dragMove),a(“dragEnd”,c.dragEnd)},j.bindUIDraggableEvents=function(a){this._bindUIDraggableEvents(a,“on”)},j.unbindUIDraggableEvents=function(a){this._bindUIDraggableEvents(a,“off”)},j._bindUIDraggableEvents=function(a,b){var c=this.handleUIDraggable;a(“dragstart”,c.start)(“drag”,c.drag)(“dragstop”,c.stop)};var l=j.destroy;return j.destroy=function(){l.apply(this,arguments),this.isEnabled=!1},i.Rect=c,i.Packer=d,i}),function(a){“use strict”;“function”==typeof define&&define.amd?define(,a):“undefined”!=typeof exports?module.exports=a(require(“jquery”)):a(jQuery)}(function(a){“use strict”;var b=window.Slick||{};b=function(){function b(b,d){var e,f=this;f.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:a(b),appendDots:a(b),arrows:!0,asNavFor:null,prevArrow:'<button type=“button” data-role=“none” class=“slick-prev” aria-label=“Previous” tabindex=“0” role=“button”>Previous</button>',nextArrow:'<button type=“button” data-role=“none” class=“slick-next” aria-label=“Next” tabindex=“0” role=“button”>Next</button>',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:“50px”,cssEase:“ease”,customPaging:function(a,b){return'<button type=“button” data-role=“none” role=“button” aria-required=“false” tabindex=“0”>'+(b+1)+“</button>”; },dots:!1,dotsClass:“slick-dots”,draggable:!0,easing:“linear”,edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:“ondemand”,mobileFirst:!1,pauseOnHover:!0,pauseOnDotsHover:!1,respondTo:“window”,responsive:null,rows:1,rtl:!1,slide:“”,slidesPerRow:1,slidesToShow:1,slidesToScroll:1,speed:500,swipe:!0,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!1,variableWidth:!1,vertical:!1,verticalSwiping:!1,waitForAnimate:!0,zIndex:1e3},f.initials={animating:!1,dragging:!1,autoPlayTimer:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,$dots:null,listWidth:null,listHeight:null,loadIndex:0,$nextArrow:null,$prevArrow:null,slideCount:null,slideWidth:null,$slideTrack:null,$slides:null,sliding:!1,slideOffset:0,swipeLeft:null,$list:null,touchObject:{},transformsEnabled:!1,unslicked:!1},a.extend(f,f.initials),f.activeBreakpoint=null,f.animType=null,f.animProp=null,f.breakpoints=[],f.breakpointSettings=,f.cssTransitions=!1,f.hidden=“hidden”,f.paused=!1,f.stopped=!1,f.positionProp=null,f.respondTo=null,f.rowCount=1,f.shouldClick=!0,f.$slider=a(b),f.$slidesCache=null,f.transformType=null,f.transitionType=null,f.visibilityChange=“visibilitychange”,f.windowWidth=0,f.windowTimer=null,e=a(b).data(“slick”)||{},f.options=a.extend({},f.defaults,e,d),f.currentSlide=f.options.initialSlide,f.originalSettings=f.options,“undefined”!=typeof document.mozHidden?(f.hidden=“mozHidden”,f.visibilityChange=“mozvisibilitychange”):“undefined”!=typeof document.webkitHidden&&(f.hidden=“webkitHidden”,f.visibilityChange=“webkitvisibilitychange”),f.autoPlay=a.proxy(f.autoPlay,f),f.autoPlayClear=a.proxy(f.autoPlayClear,f),f.changeSlide=a.proxy(f.changeSlide,f),f.clickHandler=a.proxy(f.clickHandler,f),f.selectHandler=a.proxy(f.selectHandler,f),f.setPosition=a.proxy(f.setPosition,f),f.swipeHandler=a.proxy(f.swipeHandler,f),f.dragHandler=a.proxy(f.dragHandler,f),f.keyHandler=a.proxy(f.keyHandler,f),f.autoPlayIterator=a.proxy(f.autoPlayIterator,f),f.instanceUid=c++,f.htmlExpr=/^(?:s*(<+>)[^>]*)$/,f.registerBreakpoints(),f.init(!0),f.checkResponsive(!0)}var c=0;return b}(),b.prototype.addSlide=b.prototype.slickAdd=function(b,c,d){var e=this;if(“boolean”==typeof c)d=c,c=null;else if(0>c||c>=e.slideCount)return!1;e.unload(),“number”==typeof c?0===c&&0===e.$slides.length?a(b).appendTo(e.$slideTrack):d?a(b).insertBefore(e.$slides.eq©):a(b).insertAfter(e.$slides.eq©):d===!0?a(b).prependTo(e.$slideTrack):a(b).appendTo(e.$slideTrack),e.$slides=e.$slideTrack.children(this.options.slide),e.$slideTrack.children(this.options.slide).detach(),e.$slideTrack.append(e.$slides),e.$slides.each(function(b,c){a©.attr(“data-slick-index”,b)}),e.$slidesCache=e.$slides,e.reinit()},b.prototype.animateHeight=function(){var a=this;if(1===a.options.slidesToShow&&a.options.adaptiveHeight===!0&&a.options.vertical===!1){var b=a.$slides.eq(a.currentSlide).outerHeight(!0);a.$list.animate({height:b},a.options.speed)}},b.prototype.animateSlide=function(b,c){var d={},e=this;e.animateHeight(),e.options.rtl===!0&&e.options.vertical===!1&&(b=-b),e.transformsEnabled===!1?e.options.vertical===!1?e.$slideTrack.animate({left:b},e.options.speed,e.options.easing,c):e.$slideTrack.animate({top:b},e.options.speed,e.options.easing,c):e.cssTransitions===!1?(e.options.rtl===!0&&(e.currentLeft=-e.currentLeft),a({animStart:e.currentLeft}).animate({animStart:b},{duration:e.options.speed,easing:e.options.easing,step:function(a){a=Math.ceil(a),e.options.vertical===!1?(d=“translate(”a
“px, 0px)”,e.$slideTrack.css(d)):(d=“translate(0px,”a
“px)”,e.$slideTrack.css(d))},complete:function(){c&&c.call()}})):(e.applyTransition(),b=Math.ceil(b),e.options.vertical===!1?d=“translate3d(”b
“px, 0px, 0px)”:d=“translate3d(0px,”b
“px, 0px)”,e.$slideTrack.css(d),c&&setTimeout(function(){e.disableTransition(),c.call()},e.options.speed))},b.prototype.asNavFor=function(b){var c=this,d=c.options.asNavFor;d&&null!==d&&(d=a(d).not(c.$slider)),null!==d&&“object”==typeof d&&d.each(function(){var c=a(this).slick(“getSlick”);c.unslicked||c.slideHandler(b,!0)})},b.prototype.applyTransition=function(a){var b=this,c={};b.options.fade===!1?c=b.transformType+“ ”b.options.speed
“ms ”+b.options.cssEase:c=“opacity ”b.options.speed
“ms ”+b.options.cssEase,b.options.fade===!1?b.$slideTrack.css©:b.$slides.eq(a).css©},b.prototype.autoPlay=function(){var a=this;a.autoPlayTimer&&clearInterval(a.autoPlayTimer),a.slideCount>a.options.slidesToShow&&a.paused!==!0&&a.stopped!==!0&&(a.autoPlayTimer=setInterval(a.autoPlayIterator,a.options.autoplaySpeed))},b.prototype.autoPlayClear=function(){var a=this;a.autoPlayTimer&&clearInterval(a.autoPlayTimer)},b.prototype.autoPlayIterator=function(){var a=this;a.options.infinite===!1?1===a.direction?(a.currentSlide+1===a.slideCount-1&&(a.direction=0),a.slideHandler(a.currentSlide+a.options.slidesToScroll)):(a.currentSlide-1===0&&(a.direction=1),a.slideHandler(a.currentSlide-a.options.slidesToScroll)):a.slideHandler(a.currentSlide+a.options.slidesToScroll)},b.prototype.buildArrows=function(){var b=this;b.options.arrows===!0&&(b.$prevArrow=a(b.options.prevArrow).addClass(“slick-arrow”),b.$nextArrow=a(b.options.nextArrow).addClass(“slick-arrow”),b.slideCount>b.options.slidesToShow?(b.$prevArrow.removeClass(“slick-hidden”).removeAttr(“aria-hidden tabindex”),b.$nextArrow.removeClass(“slick-hidden”).removeAttr(“aria-hidden tabindex”),b.htmlExpr.test(b.options.prevArrow)&&b.$prevArrow.prependTo(b.options.appendArrows),b.htmlExpr.test(b.options.nextArrow)&&b.$nextArrow.appendTo(b.options.appendArrows),b.options.infinite!==!0&&b.$prevArrow.addClass(“slick-disabled”).attr(“aria-disabled”,“true”)):b.$prevArrow.add(b.$nextArrow).addClass(“slick-hidden”).attr({“aria-disabled”:“true”,tabindex:“-1”}))},b.prototype.buildDots=function(){var b,c,d=this;if(d.options.dots===!0&&d.slideCount>d.options.slidesToShow){for(c='<ul class=“'d.options.dotsClass
'”>',b=0;b<=d.getDotCount();b+=1)c+=“<li>”+d.options.customPaging.call(this,d,b)+“</li>”;c+=“</ul>”,d.$dots=a©.appendTo(d.options.appendDots),d.$dots.find(“li”).first().addClass(“slick-active”).attr(“aria-hidden”,“false”)}},b.prototype.buildOut=function(){var b=this;b.$slides=b.$slider.children(b.options.slide+“:not(.slick-cloned)”).addClass(“slick-slide”),b.slideCount=b.$slides.length,b.$slides.each(function(b,c){a©.attr(“data-slick-index”,b).data(“originalStyling”,a©.attr(“style”)||“”)}),b.$slidesCache=b.$slides,b.$slider.addClass(“slick-slider”),b.$slideTrack=0===b.slideCount?a('<div class=“slick-track”/>').appendTo(b.$slider):b.$slides.wrapAll('<div class=“slick-track”/>').parent(),b.$list=b.$slideTrack.wrap('<div aria-live=“polite” class=“slick-list”/>‘).parent(),b.$slideTrack.css(“opacity”,0),(b.options.centerMode===!0||b.options.swipeToSlide===!0)&&(b.options.slidesToScroll=1),a(“img”,b.$slider).not(“”).addClass(“slick-loading”),b.setupInfinite(),b.buildArrows(),b.buildDots(),b.updateDots(),b.setSlideClasses(“number”==typeof b.currentSlide?b.currentSlide:0),b.options.draggable===!0&&b.$list.addClass(“draggable”)},b.prototype.buildRows=function(){var a,b,c,d,e,f,g,h=this;if(d=document.createDocumentFragment(),f=h.$slider.children(),h.options.rows>1){for(g=h.options.slidesPerRow*h.options.rows,e=Math.ceil(f.length/g),a=0;e>a;a++){var i=document.createElement(“div”);for(b=0;b<h.options.rows;b++){var j=document.createElement(“div”);for(c=0;c<h.options.slidesPerRow;c++){var k=a*g+(b*h.options.slidesPerRow+c);f.get(k)&&j.appendChild(f.get(k))}i.appendChild(j)}d.appendChild(i)}h.$slider.html(d),h.$slider.children().children().children().css({width:100/h.options.slidesPerRow+“%”,display:“inline-block”})}},b.prototype.checkResponsive=function(b,c){var d,e,f,g=this,h=!1,i=g.$slider.width(),j=window.innerWidth||a(window).width();if(“window”===g.respondTo?f=j:“slider”===g.respondTo?f=i:“min”===g.respondTo&&(f=Math.min(j,i)),g.options.responsive&&g.options.responsive.length&&null!==g.options.responsive){e=null;for(d in g.breakpoints)g.breakpoints.hasOwnProperty(d)&&(g.originalSettings.mobileFirst===!1?fb
“, ”c
“)”,d.$slideTrack.css(e)):(e=“translate3d(”b
“, ”c
“, 0px)”,d.$slideTrack.css(e)))},b.prototype.setDimensions=function(){var a=this;a.options.vertical===!1?a.options.centerMode===!0&&a.$list.css({padding:“0px ”+a.options.centerPadding}):(a.$list.height(a.$slides.first().outerHeight(!0)*a.options.slidesToShow),a.options.centerMode===!0&&a.$list.css({padding:a.options.centerPadding+“ 0px”})),a.listWidth=a.$list.width(),a.listHeight=a.$list.height(),a.options.vertical===!1&&a.options.variableWidth===!1?(a.slideWidth=Math.ceil(a.listWidth/a.options.slidesToShow),a.$slideTrack.width(Math.ceil(a.slideWidth*a.$slideTrack.children(“.slick-slide”).length))):a.options.variableWidth===!0?a.$slideTrack.width(5e3*a.slideCount):(a.slideWidth=Math.ceil(a.listWidth),a.$slideTrack.height(Math.ceil(a.$slides.first().outerHeight(!0)*a.$slideTrack.children(“.slick-slide”).length)));var b=a.$slides.first().outerWidth(!0)-a.$slides.first().width();a.options.variableWidth===!1&&a.$slideTrack.children(“.slick-slide”).width(a.slideWidth-b)},b.prototype.setFade=function(){var b,c=this;c.$slides.each(function(d,e){b=c.slideWidth*d*-1,c.options.rtl===!0?a(e).css({position:“relative”,right:b,top:0,zIndex:c.options.zIndex-2,opacity:0}):a(e).css({position:“relative”,left:b,top:0,zIndex:c.options.zIndex-2,opacity:0})}),c.$slides.eq(c.currentSlide).css({zIndex:c.options.zIndex-1,opacity:1})},b.prototype.setHeight=function(){var a=this;if(1===a.options.slidesToShow&&a.options.adaptiveHeight===!0&&a.options.vertical===!1){var b=a.$slides.eq(a.currentSlide).outerHeight(!0);a.$list.css(“height”,b)}},b.prototype.setOption=b.prototype.slickSetOption=function(b,c,d){var e,f,g=this;if(“responsive”===b&&“array”===a.type©)for(f in c)if(“array”!==a.type(g.options.responsive))g.options.responsive=[c];else{for(e=g.options.responsive.length-1;e>=0;)g.options.responsive.breakpoint===c.breakpoint&&g.options.responsive.splice(e,1),e–;g.options.responsive.push(c)}else g.options=c;d===!0&&(g.unload(),g.reinit())},b.prototype.setPosition=function(){var a=this;a.setDimensions(),a.setHeight(),a.options.fade===!1?a.setCSS(a.getLeft(a.currentSlide)):a.setFade(),a.$slider.trigger(“setPosition”,)},b.prototype.setProps=function(){var a=this,b=document.body.style;a.positionProp=a.options.vertical===!0?“top”:“left”,“top”===a.positionProp?a.$slider.addClass(“slick-vertical”):a.$slider.removeClass(“slick-vertical”),(void 0!==b.WebkitTransition||void 0!==b.MozTransition||void 0!==b.msTransition)&&a.options.useCSS===!0&&(a.cssTransitions=!0),a.options.fade&&(“number”==typeof a.options.zIndex?a.options.zIndex<3&&(a.options.zIndex=3):a.options.zIndex=a.defaults.zIndex),void 0!==b.OTransform&&(a.animType=“OTransform”,a.transformType=“-o-transform”,a.transitionType=“OTransition”,void 0===b.perspectiveProperty&&void 0===b.webkitPerspective&&(a.animType=!1)),void 0!==b.MozTransform&&(a.animType=“MozTransform”,a.transformType=“-moz-transform”,a.transitionType=“MozTransition”,void 0===b.perspectiveProperty&&void 0===b.MozPerspective&&(a.animType=!1)),void 0!==b.webkitTransform&&(a.animType=“webkitTransform”,a.transformType=“-webkit-transform”,a.transitionType=“webkitTransition”,void 0===b.perspectiveProperty&&void 0===b.webkitPerspective&&(a.animType=!1)),void 0!==b.msTransform&&(a.animType=“msTransform”,a.transformType=“-ms-transform”,a.transitionType=“msTransition”,void 0===b.msTransform&&(a.animType=!1)),void 0!==b.transform&&a.animType!==!1&&(a.animType=“transform”,a.transformType=“transform”,a.transitionType=“transition”),a.transformsEnabled=a.options.useTransform&&null!==a.animType&&a.animType!==!1},b.prototype.setSlideClasses=function(a){var b,c,d,e,f=this;c=f.$slider.find(“.slick-slide”).removeClass(“slick-active slick-center slick-current”).attr(“aria-hidden”,“true”),f.$slides.eq(a).addClass(“slick-current”),f.options.centerMode===!0?(b=Math.floor(f.options.slidesToShow/2),f.options.infinite===!0&&(a>=b&&a<=f.slideCount-1-b?f.$slides.slice(a-b,a+b+1).addClass(“slick-active”).attr(“aria-hidden”,“false”):(d=f.options.slidesToShow+a,c.slice(d-b+1,d+b+2).addClass(“slick-active”).attr(“aria-hidden”,“false”)),0===a?c.eq(c.length-1-f.options.slidesToShow).addClass(“slick-center”):a===f.slideCount-1&&c.eq(f.options.slidesToShow).addClass(“slick-center”)),f.$slides.eq(a).addClass(“slick-center”)):a>=0&&a<=f.slideCount-f.options.slidesToShow?f.$slides.slice(a,a+f.options.slidesToShow).addClass(“slick-active”).attr(“aria-hidden”,“false”):c.length<=f.options.slidesToShow?c.addClass(“slick-active”).attr(“aria-hidden”,“false”):(e=f.slideCount%f.options.slidesToShow,d=f.options.infinite===!0?f.options.slidesToShow+a:a,f.options.slidesToShow==f.options.slidesToScroll&&f.slideCount-a<f.options.slidesToShow?c.slice(d-(f.options.slidesToShow-e),d+e).addClass(“slick-active”).attr(“aria-hidden”,“false”):c.slice(d,d+f.options.slidesToShow).addClass(“slick-active”).attr(“aria-hidden”,“false”)),“ondemand”===f.options.lazyLoad&&f.lazyLoad()},b.prototype.setupInfinite=function(){var b,c,d,e=this;if(e.options.fade===!0&&(e.options.centerMode=!1),e.options.infinite===!0&&e.options.fade===!1&&(c=null,e.slideCount>e.options.slidesToShow)){for(d=e.options.centerMode===!0?e.options.slidesToShow+1:e.options.slidesToShow,b=e.slideCount;b>e.slideCount-d;b-=1)c=b-1,a(e.$slides).clone(!0).attr(“id”,“”).attr(“data-slick-index”,c-e.slideCount).prependTo(e.$slideTrack).addClass(“slick-cloned”);for(b=0;d>b;b+=1)c=b,a(e.$slides).clone(!0).attr(“id”,“”).attr(“data-slick-index”,c+e.slideCount).appendTo(e.$slideTrack).addClass(“slick-cloned”);e.$slideTrack.find(“.slick-cloned”).find(“”).each(function(){a(this).attr(“id”,“”)})}},b.prototype.setPaused=function(a){var b=this;b.options.autoplay===!0&&b.options.pauseOnHover===!0&&(b.paused=a,a?b.autoPlayClear():b.autoPlay())},b.prototype.selectHandler=function(b){var c=this,d=a(b.target).is(“.slick-slide”)?a(b.target):a(b.target).parents(“.slick-slide”),e=parseInt(d.attr(“data-slick-index”));return e||(e=0),c.slideCount<=c.options.slidesToShow?(c.setSlideClasses(e),void c.asNavFor(e)):void c.slideHandler(e)},b.prototype.slideHandler=function(a,b,c){var d,e,f,g,h=null,i=this;return b=b||!1,i.animating===!0&&i.options.waitForAnimate===!0||i.options.fade===!0&&i.currentSlide===a||i.slideCount<=i.options.slidesToShow?void 0:(b===!1&&i.asNavFor(a),d=a,h=i.getLeft(d),g=i.getLeft(i.currentSlide),i.currentLeft=null===i.swipeLeft?g:i.swipeLeft,i.options.infinite===!1&&i.options.centerMode===!1&&(0>a||a>i.getDotCount()*i.options.slidesToScroll)?void(i.options.fade===!1&&(d=i.currentSlide,c!==!0?i.animateSlide(g,function(){i.postSlide(d)}):i.postSlide(d))):i.options.infinite===!1&&i.options.centerMode===!0&&(0>a||a>i.slideCount-i.options.slidesToScroll)?void(i.options.fade===!1&&(d=i.currentSlide,c!==!0?i.animateSlide(g,function(){i.postSlide(d)}):i.postSlide(d))):(i.options.autoplay===!0&&clearInterval(i.autoPlayTimer),e=0>d?i.slideCount%i.options.slidesToScroll!==0?i.slideCount-i.slideCount%i.options.slidesToScroll:i.slideCount+d:d>=i.slideCount?i.slideCount%i.options.slidesToScroll!==0?0:d-i.slideCount:d,i.animating=!0,i.$slider.trigger(“beforeChange”,),f=i.currentSlide,i.currentSlide=e, i.setSlideClasses(i.currentSlide),i.updateDots(),i.updateArrows(),i.options.fade===!0?(c!==!0?(i.fadeSlideOut(f),i.fadeSlide(e,function(){i.postSlide(e)})):i.postSlide(e),void i.animateHeight()):void(c!==!0?i.animateSlide(h,function(){i.postSlide(e)}):i.postSlide(e))))},b.prototype.startLoad=function(){var a=this;a.options.arrows===!0&&a.slideCount>a.options.slidesToShow&&(a.$prevArrow.hide(),a.$nextArrow.hide()),a.options.dots===!0&&a.slideCount>a.options.slidesToShow&&a.$dots.hide(),a.$slider.addClass(“slick-loading”)},b.prototype.swipeDirection=function(){var a,b,c,d,e=this;return a=e.touchObject.startX-e.touchObject.curX,b=e.touchObject.startY-e.touchObject.curY,c=Math.atan2(b,a),d=Math.round(180*c/Math.PI),0>d&&(d=360-Math.abs(d)),45>=d&&d>=0?e.options.rtl===!1?“left”:“right”:360>=d&&d>=315?e.options.rtl===!1?“left”:“right”:d>=135&&225>=d?e.options.rtl===!1?“right”:“left”:e.options.verticalSwiping===!0?d>=35&&135>=d?“left”:“right”:“vertical”},b.prototype.swipeEnd=function(a){var b,c=this;if(c.dragging=!1,c.shouldClick=c.touchObject.swipeLength>10?!1:!0,void 0===c.touchObject.curX)return!1;if(c.touchObject.edgeHit===!0&&c.$slider.trigger(“edge”,),c.touchObject.swipeLength>=c.touchObject.minSwipe)switch(c.swipeDirection()){case“left”:b=c.options.swipeToSlide?c.checkNavigable(c.currentSlide+c.getSlideCount()):c.currentSlide+c.getSlideCount(),c.slideHandler(b),c.currentDirection=0,c.touchObject={},c.$slider.trigger(“swipe”,);break;case“right”:b=c.options.swipeToSlide?c.checkNavigable(c.currentSlide-c.getSlideCount()):c.currentSlide-c.getSlideCount(),c.slideHandler(b),c.currentDirection=1,c.touchObject={},c.$slider.trigger(“swipe”,)}else c.touchObject.startX!==c.touchObject.curX&&(c.slideHandler(c.currentSlide),c.touchObject={})},b.prototype.swipeHandler=function(a){var b=this;if(!(b.options.swipe===!1||“ontouchend”in document&&b.options.swipe===!1||b.options.draggable===!1&&-1!==a.type.indexOf(“mouse”)))switch(b.touchObject.fingerCount=a.originalEvent&&void 0!==a.originalEvent.touches?a.originalEvent.touches.length:1,b.touchObject.minSwipe=b.listWidth/b.options.touchThreshold,b.options.verticalSwiping===!0&&(b.touchObject.minSwipe=b.listHeight/b.options.touchThreshold),a.data.action){case“start”:b.swipeStart(a);break;case“move”:b.swipeMove(a);break;case“end”:b.swipeEnd(a)}},b.prototype.swipeMove=function(a){var b,c,d,e,f,g=this;return f=void 0!==a.originalEvent?a.originalEvent.touches:null,!g.dragging||f&&1!==f.length?!1:(b=g.getLeft(g.currentSlide),g.touchObject.curX=void 0!==f?f.pageX:a.clientX,g.touchObject.curY=void 0!==f?f.pageY:a.clientY,g.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(g.touchObject.curX-g.touchObject.startX,2))),g.options.verticalSwiping===!0&&(g.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(g.touchObject.curY-g.touchObject.startY,2)))),c=g.swipeDirection(),“vertical”!==c?(void 0!==a.originalEvent&&g.touchObject.swipeLength>4&&a.preventDefault(),e=(g.options.rtl===!1?1:-1)*(g.touchObject.curX>g.touchObject.startX?1:-1),g.options.verticalSwiping===!0&&(e=g.touchObject.curY>g.touchObject.startY?1:-1),d=g.touchObject.swipeLength,g.touchObject.edgeHit=!1,g.options.infinite===!1&&(0===g.currentSlide&&“right”===c||g.currentSlide>=g.getDotCount()&&“left”===c)&&(d=g.touchObject.swipeLength*g.options.edgeFriction,g.touchObject.edgeHit=!0),g.options.vertical===!1?g.swipeLeft=b+d*e:g.swipeLeft=b+d*(g.$list.height()/g.listWidth)*e,g.options.verticalSwiping===!0&&(g.swipeLeft=b+d*e),g.options.fade===!0||g.options.touchMove===!1?!1:g.animating===!0?(g.swipeLeft=null,!1):void g.setCSS(g.swipeLeft)):void 0)},b.prototype.swipeStart=function(a){var b,c=this;return 1!==c.touchObject.fingerCount||c.slideCount<=c.options.slidesToShow?(c.touchObject={},!1):(void 0!==a.originalEvent&&void 0!==a.originalEvent.touches&&(b=a.originalEvent.touches),c.touchObject.startX=c.touchObject.curX=void 0!==b?b.pageX:a.clientX,c.touchObject.startY=c.touchObject.curY=void 0!==b?b.pageY:a.clientY,void(c.dragging=!0))},b.prototype.unfilterSlides=b.prototype.slickUnfilter=function(){var a=this;null!==a.$slidesCache&&(a.unload(),a.$slideTrack.children(this.options.slide).detach(),a.$slidesCache.appendTo(a.$slideTrack),a.reinit())},b.prototype.unload=function(){var b=this;a(“.slick-cloned”,b.$slider).remove(),b.$dots&&b.$dots.remove(),b.$prevArrow&&b.htmlExpr.test(b.options.prevArrow)&&b.$prevArrow.remove(),b.$nextArrow&&b.htmlExpr.test(b.options.nextArrow)&&b.$nextArrow.remove(),b.$slides.removeClass(“slick-slide slick-active slick-visible slick-current”).attr(“aria-hidden”,“true”).css(“width”,“”)},b.prototype.unslick=function(a){var b=this;b.$slider.trigger(“unslick”,),b.destroy()},b.prototype.updateArrows=function(){var a,b=this;a=Math.floor(b.options.slidesToShow/2),b.options.arrows===!0&&b.slideCount>b.options.slidesToShow&&!b.options.infinite&&(b.$prevArrow.removeClass(“slick-disabled”).attr(“aria-disabled”,“false”),b.$nextArrow.removeClass(“slick-disabled”).attr(“aria-disabled”,“false”),0===b.currentSlide?(b.$prevArrow.addClass(“slick-disabled”).attr(“aria-disabled”,“true”),b.$nextArrow.removeClass(“slick-disabled”).attr(“aria-disabled”,“false”)):b.currentSlide>=b.slideCount-b.options.slidesToShow&&b.options.centerMode===!1?(b.$nextArrow.addClass(“slick-disabled”).attr(“aria-disabled”,“true”),b.$prevArrow.removeClass(“slick-disabled”).attr(“aria-disabled”,“false”)):b.currentSlide>=b.slideCount-1&&b.options.centerMode===!0&&(b.$nextArrow.addClass(“slick-disabled”).attr(“aria-disabled”,“true”),b.$prevArrow.removeClass(“slick-disabled”).attr(“aria-disabled”,“false”)))},b.prototype.updateDots=function(){var a=this;null!==a.$dots&&(a.$dots.find(“li”).removeClass(“slick-active”).attr(“aria-hidden”,“true”),a.$dots.find(“li”).eq(Math.floor(a.currentSlide/a.options.slidesToScroll)).addClass(“slick-active”).attr(“aria-hidden”,“false”))},b.prototype.visibility=function(){var a=this;document?(a.paused=!0,a.autoPlayClear()):a.options.autoplay===!0&&(a.paused=!1,a.autoPlay())},b.prototype.initADA=function(){var b=this;b.$slides.add(b.$slideTrack.find(“.slick-cloned”)).attr({“aria-hidden”:“true”,tabindex:“-1”}).find(“a, input, button, select”).attr({tabindex:“-1”}),b.$slideTrack.attr(“role”,“listbox”),b.$slides.not(b.$slideTrack.find(“.slick-cloned”)).each(function©{var d=“slick-slide”+b.instanceUid+c;a(this).attr({role:“option”,“aria-describedby”:d}),a(this).find(“.j-text”).attr(“id”,d)}),null!==b.$dots&&b.$dots.attr(“role”,“tablist”).find(“li”).each(function©{a(this).attr({role:“presentation”,“aria-selected”:“false”,“aria-controls”:“navigation”+b.instanceUid+c,id:“slick-slide”+b.instanceUid+c})}).first().attr(“aria-selected”,“true”).end().find(“button”).attr(“role”,“button”).end().closest(“div”).attr(“role”,“toolbar”),b.activateADA()},b.prototype.activateADA=function(){var a=this;a.$slideTrack.find(“.slick-active”).attr({“aria-hidden”:“false”}).find(“a, input, button, select”).attr({tabindex:“0”})},b.prototype.focusHandler=function(){var b=this;b.$slider.on(“focus.slick blur.slick”,“*”,function©{c.stopImmediatePropagation();var d=a(this);setTimeout(function(){b.isPlay&&(d.is(“:focus”)?(b.autoPlayClear(),b.paused=!0):(b.paused=!1,b.autoPlay()))},0)})},a.fn.slick=function(){var a,c,d=this,e=arguments,f=Array.prototype.slice.call(arguments,1),g=d.length;for(a=0;g>a;a++)if(“object”==typeof e||“undefined”==typeof e?d.slick=new b(d,e):c=d.slick.apply(d.slick,f),“undefined”!=typeof c)return c;return d}}),window.u=.noConflict(),window.JuicerBackbone=Backbone.noConflict(),function(){window.Juicer={Models:{},Collections:{},Views:{},Active:[],initialize:function(){return _u.each(jQuery(“.juicer-feed”),function(a){return function(a){var b,c;return b=jQuery(a),b.is(“:visible”)&&!b.hasClass(“j-post-overlay”)?b.hasClass(“j-initialized”)?void 0:(c=new Juicer.Views.Feed({el:a}).render(),Juicer.Active.push©,b.addClass(“j-initialized”)):void 0}}(this))},remove:function(){return clearInterval(window.jInterval),_u.each(Juicer.Active,function(a){return function(a){return a.close()}}(this)),window.Juicer.Active=[]}}}.call(this),function(){jQuery(document).ready(function(){var a;return a=jQuery.fn.jquery.split(“.”),jQuery.map(a,function(a){return(“0”+a).slice(-2)}).join(“.”)>=“01.07”?(jQuery(“.juicer-feed”).length>0&&Juicer.initialize(),window.jInterval=setInterval(function(){var a,b;return jQuery(“.juicer-feed”).length>0&&(b=_u.map(jQuery(“.juicer-feed”),function(a){return function(a){return jQuery(a).hasClass(“j-initialized”)}}(this)),a=!_u.contains(b,!1),!a)?Juicer.initialize():void 0},1e3)):jQuery(“.juicer-feed”).before(“<h1>You need to have at least jQuery 1.7 installed for the Juicer plugin to work. Please <a href='http//c)b.call(c,e)&&(a=c);return d.prototype=c.prototype,a.prototype=new d,a.__super__=c.prototype,a},b={}.hasOwnProperty;Juicer.Views.SubView=function(b){function c(){return c.__super__.constructor.apply(this,arguments)}return a(c,b),c.prototype.className=”opened-sidebar-option“,c.prototype.title=”Feed Options“,c.prototype.initialize=function(a){return this.feed=a.feed,this.parent=a.parent,this.target=a.target,this.feedView=a.feedView,this.events=_u.extend({},this.inheretedEvents,this.events),this.delegateEvents()},c.prototype.inheretedEvents={”click .close-subview“:”close“},c.prototype.render=function(){return this.renderTemplate(),this.renderTitle(),$(this.target).after(this.el),setTimeout(function(a){return function(){return a.$el.addClass(”visible“)}}(this),100)},c.prototype.renderTemplate=function(){return this.$el.html(this.template({feed:this.feed}))},c.prototype.renderTitle=function(){return this.$el.prepend(this.titleTemplate())},c.prototype.titleTemplate=function(){return”<h2 class='subview-title relative tac uc bold bg-nav-header pv-25'><a class='close-subview absolute sprite'>Close</a>“this.title
”</h2>“},c.prototype.close=function(){return this.$el.removeClass(”visible“),setTimeout(function(a){return function(){return a.remove()}}(this),500)},c}(JuicerBackbone.View)}.call(this),function(){var a=function(a,c){function d(){this.constructor=a}for(var e in c)b.call(c,e)&&(a=c);return d.prototype=c.prototype,a.prototype=new d,a.__super__=c.prototype,a},b={}.hasOwnProperty;Juicer.Views.SubViewSlide=function(b){function c(){return c.__super__.constructor.apply(this,arguments)}return a(c,b),c.prototype.className=”sliding-sidebar-option“,c.prototype.render=function(){return this.renderTemplate(),this.$el.css({display:”none“}),$(this.target).after(this.el),this.$el.slideDown()},c.prototype.close=function(){return this.$el.slideUp(function(a){return function(){return a.remove()}}(this))},c}(Juicer.Views.SubView)}.call(this),function(){Juicer.Helpers={renderPartial:function(a,b){var c;null==b&&(b={}),a=a.split(”/“),a=”_“+a,a=a.join(”/“);try{return JST(b)}catch(d){return c=d,console.log(”Sorry, something went wrong with the partial: '“a
”'“),console.log©,”“}},numberWithCommas:function(a){return a.toString().replace(/B(?=(d{3})+(?!d))/g,”,“)},simpleDate:function(a){return null!=a?(a=new Date(a),strftime(”%-m/%-d/%y“,a)):void 0},fullDate:function(a,b,c){return null==b&&(b=”%-m/%-d/%y at %-l:%M%p“),null==c&&(c=!0),null!=a?(a=new Date(a),c&&(isNaN(Date.parse(a.toLocaleString()))||(a=new Date(a.toLocaleString()))),”undefined“==typeof strftime?a:strftime(b,a)):void 0},prettify:function(a){return a=a.replace(”-“,” “),a=a.replace(”_“,” “),this.capitalizeEachWord(a)},capitalizeEachWord:function(a){return a.replace(/wS*/g,function(a){return a.charAt(0).toUpperCase()+a.substr(1).toLowerCase()})},timeAgo:function(a){var b,c;return a=new Date(a),c=Math.floor((new Date-a)/1e3),b=Math.floor(c/31536e3),b>1?b+”y“:(b=Math.floor(c/2592e3),b>1?b+”mo“:(b=Math.floor(c/86400),b>1?b+”d“:(b=Math.floor(c/3600),b>1?b+”h“:(b=Math.floor(c/60),b>1?b+”m“:Math.floor©+”s“))))},sample:function(a){return a},confirm:function(a){return null!=window.confirmed?!0:confirm(a)?(window.confirmed=!0,!0):!1},format:function(a){return null==a?null:(a=a.replace(/rn?/,”n“),a=jQuery.trim(a),a.length>0&&(a=a.replace(/nn+/g,”</p><p>“),a=a.replace(/n/g,”<br />“),a=a.replace(this.xss,”“),a=”<p>“a
”</p>“,a=a.autoLink()),a)},rgb2hex:function(a){return/^#{6}$/i.test(a)?a:(a=a.match(/^rgb((d+),s*(d+),s*(d+))$/),a?”#“+this.hex(a)+this.hex(a)+this.hex(a):”#“)},hex:function(a){return(”0“+parseInt(a).toString(16)).slice(-2)},xss:/javascript|onerror|alert|iframe|js|script|console|confirm|cookie|java|onmouseover|eval|document|window/gi}}.call(this),function(){var a=function(a,b){return function(){return a.apply(b,arguments)}},b=function(a,b){function d(){this.constructor=a}for(var e in b)c.call(b,e)&&(a=b);return d.prototype=b.prototype,a.prototype=new d,a.__super__=b.prototype,a},c={}.hasOwnProperty;Juicer.Views.FormView=function©{function d(){this.invalid=a(this.invalid,this),this.valid=a(this.valid,this),this.prepareModel(),d.__super__.constructor.apply(this,arguments)}return b(d,c),d.prototype.delegateEvents=function(a){return this.events=_u.extend(this._baseEvents(),_u.result(this,”events“)),d.__super__.delegateEvents.call(this,a)},d.prototype._baseEvents=function(){return{”change [data-validation]“:this.validateField,”keyup [data-validation].invalid“:this.validateField,submit:this.processForm,”click input“:this.processForm}},d.prototype.prepareModel=function(){return this.model=this.createModel(),this.setupValidation()},d.prototype.createModel=function(){throw new Error(”implement createModel in your FormView subclass to return a JuicerBackbone model“)},d.prototype.namespace=null,d.prototype.loadingMessage=”Loading…“,d.prototype.setupValidation=function(){return JuicerBackbone.Validation.unbind(this),JuicerBackbone.Validation.bind(this,{model:this.model,valid:this.valid,invalid:this.invalid})},d.prototype.valid=function(a,b,c){return this.removeErrorMessage(b),this.$(”[data-validation=“b
”]“).removeClass(”invalid“).addClass(”valid“)},d.prototype.invalid=function(a,b,c,d){return this.removeErrorMessage(b),this.$(”[data-validation=“b
”]“).removeClass(”valid“).addClass(”invalid“).parents(”.form-field“).append(”<small class='error “b
”'>“c
”</small>“)},d.prototype.showActivityIndicator=function(a){return this.submit=a,this.submit.attr(”disabled“,”disabled“),this.submitMessage=this.submit.val(),this.submit.val(this.loadingMessage)},d.prototype.hideActivityIndicator=function(){return this.submitMessage&&this.submit.val(this.submitMessage),this.submit.removeAttr(”disabled“)},d.prototype.removeErrorMessage=function(a){return this.$(”.error.“+a).remove()},d.prototype.validateField=function(a){var b,c,d;return c=$(a.target).attr(”data-validation“),d=$(a.target).val(),(b=this.model.preValidate(c,d))?this.invalid(this,c,b):this.valid(this,c)},d.prototype.processForm=function(a){return a.preventDefault(),this.showActivityIndicator($(a.target)),this.updateModel(),this.submitForm()},d.prototype.updateModel=function(){var a;return a=JuicerBackbone.Syphon.serialize(this),this.model.set(a)},d.prototype.submitForm=function(){return this.model.validate()?this.hideActivityIndicator():this.$el.submit()},d}(JuicerBackbone.View)}.call(this),function(){this.JST||(this.JST={}),this.JST.admin_downgrade=function(){return this.Skim={access:function(a){var b;return b=this,”function“==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:”[object Array]“!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:”“),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return”[object Array]“==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?“”:a.skimSafe||!//.test(a)?a:this.safe(“”+a).replace(/&/g,“&”).replace(/</g,“<”).replace(/>/g,“>”).replace(/“/g,”"“)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a,b,c;return a=”“,b=this.action.match(”delete“)?”Delete“:”Downgrade“,a+='<div class=”tac p-30“><h3 class=”light fs-2 tc-orange mb-25“>',a+=this.escape(b),a+=' User</h3><form action=”',a+=this.escape(this.action),a+='“ method=”post“><input name=”authenticity_token“ type=”hidden“ value=”',a+=this.escape(this.csrf),a+='“ /><input name=”user_id“ type=”hidden“ value=”',a+=this.escape(this.userId),a+='“ /><div class=”select mb-30“><select name=”churn“><option>Why are they ',a+=this.escape(b.slice(0,-1)),a+=”ing their account?</option>“,_u.each(this.reasons,function(b){return function©{return a+='<option value=”',a+=b.escape©,a+='“>',a+=b.escape©,a+=”</option>“}}(this)),a+='</select></div><textarea class=”bordered churn-comments mb-25“ name=”churn“ placeholder=”Notes? Any More details? Copy and paste anything they say specifically.“></textarea><div class=”mb-25“><input name=”churn“ type=”hidden“ value=”0“ /><input checked=”true“ id=”positive“ name=”churn“ type=”checkbox“ value=”1“ /><label for=”positive“>Did the customer have a positive experience with Juicer?</label></div>',c=this.action.match(”mark“)?”Mark for Downgrade“:b+” now“,a+='<input class=”j-button“ type=”submit“ value=”',a+=this.escape©,a+='“ /></form></div>'})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST.analytics_date_range=function(){return this.Skim={access:function(a){var b;return b=this,”function“==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:”[object Array]“!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:”“),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return”[object Array]“==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?“”:a.skimSafe||!//.test(a)?a:this.safe(“”+a).replace(/&/g,“&”).replace(/</g,“<”).replace(/>/g,“>”).replace(/“/g,”"“)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a;return a=”“,a+='<div class=”tac p-50“><h2 class=”light fs-2 tc-orange“>Viewing Options</h2><h3 class=”fifteen tc-gray mb-25“>Select the dates you’d like to view Analytics for:</h3><form action=”',a+=this.escape(window.location.pathname),a+='“><div class=”mb-30“><input class=”date-range-field“ name=”start“ placeholder=”MM/DD/YYYY“ type=”text“ value=”',a+=this.escape(this.start),a+='“ /><span class=”mh-10“>to</span><input class=”date-range-field“ name=”end“ placeholder=”MM/DD/YYYY“ type=”text“ value=”',a+=this.escape(this.end),a+='“ /></div><input class=”j-button“ type=”submit“ value=”filter“ /></form></div>'})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(a){var b;return b=this,”function“==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:”[object Array]“!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:”“),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return”[object Array]“==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?“”:a.skimSafe||!//.test(a)?a:this.safe(“”+a).replace(/&/g,“&”).replace(/</g,“<”).replace(/>/g,“>”).replace(/“/g,”"“)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a;return a=”“,a+='<div class=”tac p-50“><h2 class=”light fs-2 tc-orange“>Upgrade to a Campaign Plan</h2><h3 class=”fifteen tc-gray mb-40“>The Juicer Campaign Plan allows you to automatically request permission from content creators to use their posts in your feed. Then when they grant permission, we automatically publish the post for you.</h3><a class=”j-button campaign-info pointer“ href=”/campaign“>Learn more about Campaign Plans</a></div>'})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(a){var b;return b=this,”function“==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:”[object Array]“!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:”“),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return”[object Array]“==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?“”:a.skimSafe||!//.test(a)?a:this.safe(“”+a).replace(/&/g,“&”).replace(/</g,“<”).replace(/>/g,“>”).replace(/“/g,”"“)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a,b,c;return a=”“,a+='<div class=”tac p-50“>',c=this.post.sourceType(),b=c.toLowerCase(),a+='<h2 class=”light fs-2 tc-orange“>First connect your ',a+=this.escape©,a+=' account</h2><h3 class=”fifteen tc-gray mb-40“>Juicer will request permission from the account owner using your connected account.</h3><a class=”j-button j-',a+=this.escape(b),a+=“ j-social-icon j-”,a+=this.escape(b),a+='-border social-account social-j-button“ href=”/auth/',a+=this.escape(b),a+='“ style=”color: white;“>Connect your ',a+=this.escape©,a+=” account</a></div>“})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(a){var b;return b=this,”function“==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:”[object Array]“!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:”“),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return”[object Array]“==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?“”:a.skimSafe||!//.test(a)?a:this.safe(“”+a).replace(/&/g,“&”).replace(/</g,“<”).replace(/>/g,“>”).replace(/“/g,”"“)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a;return a=”“,a+='<div class=”tac p-50“><h2 class=”light fs-2 tc-orange“>Sorry, you can't request URM for this post.</h2><h3 class=”fifteen tc-gray mb-40“>Juicer doesn't current support URM requests for ',a+=this.escape(this.post.sourceType()),a+=' posts.</h3><div class=”actions“ data-id=”',a+=this.escape(this.post.get(“id”)),a+='“><div class=”pointer urm-overlay-approve j-button tc-white“>Approve it anyways, push to live feed.</div></div></div>'})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(a){var b;return b=this,”function“==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:”[object Array]“!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:”“),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return”[object Array]“==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?“”:a.skimSafe||!//.test(a)?a:this.safe(“”+a).replace(/&/g,“&”).replace(/</g,“<”).replace(/>/g,“>”).replace(/“/g,”"“)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a,b;return a=”“,a+='<div class=”tac p-50“><h2 class=”light fs-2 tc-orange“>Request Permission to use Post</h2><form class=”urm-request-form“>',b=”Twitter“===this.post.sourceType()?180:500,a+='<textarea class=”bordered mv-40“ maxlength=”',a+=this.escape(b),a+='“ name=”css“ placeholder=”Enter a message to request permission with…“ style=”height: 20vh;“>',a+=this.feed.urmMessage(),a+='</textarea><input name=”post_id“ type=”hidden“ value=”',a+=this.escape(this.post.get(“id”)),a+='“ /><p class=”tc-gray twelve ph-25 mb-25“>This message will be posted using the <strong>@',a+=this.escape(this.socialAccount.get(”name“)),a+=”</strong> account for <strong>“,a+=this.escape(this.post.sourceType()),a+=”</strong>. If you want to use a different account please change your connected “,a+=this.escape(this.post.sourceType()),a+=' account on your <a class=”bold“ href=”/feeds/',a+=this.escape(this.feed.get(“slug”)),a+='/social-accounts“>social accounts page</a>. </p><input class=”j-button“ type=”submit“ value=”Request Permission“ /></form></div>'})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST.churn=function(){return this.Skim={access:function(a){var b;return b=this,”function“==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:”[object Array]“!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:”“),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return”[object Array]“==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?“”:a.skimSafe||!//.test(a)?a:this.safe(“”+a).replace(/&/g,“&”).replace(/</g,“<”).replace(/>/g,“>”).replace(/“/g,”"“)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a;return a=”“,a+='<div class=”tac p-50“><h1 class=”fs-1-5 tc-orange light mb-25“>Are you sure you want to delete your account?</h1><p class=”tc-gray mb-25 fourteen“>Deleting your account will remove all of your data and cause any embedded feeds to stop working. It might be worth instead downgrading to a small plan, which will keep your paid plan active until the next billing date, and at that point, downgrade you to a small plan, which will maintain one feed with 2 sources.</p><a class=”j-button small mb-20“ href=”/plans“>No, downgrade my account instead.</a><a class=”delete tc-gray block fourteen pointer“>Yes, let's delete my account.</a></div>'})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST.downgrade_overlay=function(){return this.Skim={access:function(a){var b;return b=this,”function“==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:”[object Array]“!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:”“),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return”[object Array]“==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?“”:a.skimSafe||!//.test(a)?a:this.safe(“”+a).replace(/&/g,“&”).replace(/</g,“<”).replace(/>/g,“>”).replace(/“/g,”"“)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a;return a=”“,a+='<div class=”p-50 tac“><h2 class=”light fs-2 tc-orange tac“>Your Juicer Account Will Downgrade</h2><p class=”tc-gray fourteen mb-25“>Your Juicer Account will remain active as a <strong>',a+=this.escape(this.plan),a+=”</strong> account until <strong>“,a+=this.escape(this.downgradeAt),a+='</strong> at which point it will become a small plan, with 1 feed and 2 sources and Juicer branding. </p><a class=”j-button small mb-20“ href=”/“>Sounds good! Take me to my feed.</a><a class=”tc-gray block fourteen“ href=”/plans“>Oh no, I want to reactivate my account!</a></div>'})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(a){var b;return b=this,”function“==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:”[object Array]“!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:”“),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return”[object Array]“==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?“”:a.skimSafe||!//.test(a)?a:this.safe(“”+a).replace(/&/g,“&”).replace(/</g,“<”).replace(/>/g,“>”).replace(/“/g,”"“)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a,b,c;switch(a=”“,a+=”<h3>“,a+=this.escape(this.model.get(”email“)),a+=”</h3>“,c=”Are you sure you want to remove this user from your enterprise account and all associated feeds?“,a+='<a class=”delete-user sprite“',b=c){case!0:a+=' data-confirm=”data-confirm“';break;case!1:case null:break;default:a+=' data-confirm=”',a+=this.escape(b),a+='“'}return a+=' data-method=”post“ href=”/enterprise/',a+=this.escape(this.account.get(“slug”)),a+=“/”,a+=this.escape(this.model.get(“id”)),a+='/remove“ rel=”nofollow“>Remove</a>'})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(a){var b;return b=this,”function“==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:”[object Array]“!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:”“),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return”[object Array]“==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?“”:a.skimSafe||!//.test(a)?a:this.safe(“”+a).replace(/&/g,“&”).replace(/</g,“<”).replace(/>/g,“>”).replace(/“/g,”"“); }),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a;return a=”“,a+='<div class=”third ibt tac“><h3 class=”light fs-3 calculator-sources“>',a+=this.escape(this.model.sources()),a+='</h3><h4 class=”mb-25“>Social Media Sources</h4><input data-attribute=”sources“ max=”21“ min=”1“ type=”range“ value=”',a+=this.escape(this.model.get(“sources”)),a+='“ /></div><div class=”third ibt tac“><h3 class=”light fs-2 calculator-frequency“>',a+=this.escape(this.model.frequencyInWords()),a+='</h3><h4 class=”mb-25“>Update Frequency</h4><input data-attribute=”frequency“ max=”7“ min=”1“ type=”range“ value=”',a+=this.escape(this.model.get(“frequency”)),a+='“ /></div><div class=”third ibt tac“><h3 class=”fs-3 light calculator-price“>',a+=this.escape(this.model.priceString()),a+='</h3><h4 class=”calculator-price-label“>',a+=this.escape(this.model.priceLabel()),a+=”</h4></div>“})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(a){var b;return b=this,”function“==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:”[object Array]“!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:”“),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return”[object Array]“==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?“”:a.skimSafe||!//.test(a)?a:this.safe(“”+a).replace(/&/g,“&”).replace(/</g,“<”).replace(/>/g,“>”).replace(/“/g,”"“)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a;return a=”“,a+='<div class=”p-50 tac“><h2 class=”light fs-2 tc-orange“>Add User to ”',a+=this.escape(this.model.get(“name”)),a+='“</h2><form class=”new-assignment“ method=”post“><input name=”enterprise_id“ type=”hidden“ value=”',a+=this.escape(this.account.get(“slug”)),a+='“ /><input name=”feed_id“ type=”hidden“ value=”',a+=this.escape(this.model.get(“id”)),a+='“ /><input class=”mb-25 bordered“ name=”email“ placeholder=”Their Email Address“ type=”email“ /><input class=”fw j-button“ name=”commit“ type=”submit“ value=”Add User to ',a+=this.escape(this.model.get(“name”)),a+='“ /></form></div>'})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(a){var b;return b=this,”function“==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:”[object Array]“!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:”“),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return”[object Array]“==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?“”:a.skimSafe||!//.test(a)?a:this.safe(“”+a).replace(/&/g,“&”).replace(/</g,“<”).replace(/>/g,“>”).replace(/“/g,”"“)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a,b,c;return a=”“,b=this.model.get(”slug“),a+='<h3 class=”mb-10“><a class=”fs-1-75 tc-orange light“ href=”/feeds/',a+=this.escape(b),a+='“>',a+=this.escape(this.model.get(”name“)),a+='</a></h3><ul class=”enterprise-feed-actions“><li class=”ibt“><a aria-label=”View Feed“ class=”sprite enterprise-feed-view hint–bottom-left“ href=”/feeds/',a+=this.escape(b),a+='“>View</a></li>',this.account.get(”auto_fetch_all“)&&(a+='<li class=”ibt ml-10“><a aria-label=”Fetch all posts for all sources in this feed“ class=”fetch-all sprite hint–bottom-left“ href=”#“>Fetch All Posts</a></li>'),a+='<li class=”ibt ml-10“><a aria-label=”Edit This Feed“ class=”sprite enterprise-feed-edit hint–bottom-left“ href=”/feeds/',a+=this.escape(b),a+='/edit“>Edit</a></li><li class=”ibt ml-10“><a aria-label=”Delete this Feed“ class=”sprite enterprise-feed-delete hint–bottom-left“ data-confirm=”Are you sure you want to delete ',a+=this.escape(b),a+=' feed? This will remove all sources and posts and is non-reversible.“ data-method=”delete“ href=”/feeds/',a+=this.escape(b),a+='“ rel=”nofollow“>Delete</a></li></ul>',c=this.model.get(”sources“).length,a+='<div class=”tc-gray enterprise-feed-pricing“>',a+=this.escape(this.model.get(”update_frequency_in_words“)),a+=” × “,a+=this.escape©,a+=” “,a+=this.escape(_u(”source“).pluralize©),a+=” = <strong>$“,a+=this.escape(this.model.get(”cost“)),a+='</strong> per month </div><ul class=”mv-15“>',_u.each(this.sources,function(b){return function©{var d,e,f;switch(f=c.get(”term“),a+=”<li“,d=f){case!0:a+=' alt=”alt“';break;case!1:case null:break;default:a+=' alt=”',a+=b.escape(d),a+='“'}switch(a+=' aria-label=”',a+=b.escape(c.displayName()),a+='“ class=”enterprise-feed-source hint–bottom-right“',e=f){case!0:a+=' title=”title“';break;case!1:case null:break;default:a+=' title=”',a+=b.escape(e),a+='“'}return a+='><span class=”j-',a+=b.escape(c.get(“source”).toLowerCase()),a+=' j-social-icon bg-none tc-gray fs-2“></span></li>'}}(this)),a+=”</ul><ul>“,_u.each(this.assignments,function(b){return function©{return a+='<li class=”enterprise-user-assignment ibt“><span class=”enterprise-assignment-email tc-gray“>',a+=b.escape(c.get(”email“)),a+='</span><a class=”delete-assignment sprite“ data-id=”',a+=b.escape(c.get(“id”)),a+='“>Delete</a></li>'}}(this)),a+='<li class=”enterprise-user-assignment ibt tc-gray add-assignment“>+ Add User</li></ul>'})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(a){var b;return b=this,”function“==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:”[object Array]“!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:”“),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return”[object Array]“==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?“”:a.skimSafe||!//.test(a)?a:this.safe(“”+a).replace(/&/g,“&”).replace(/</g,“<”).replace(/>/g,“>”).replace(/“/g,”"“)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a;return a=”“,a+='<div class=”p-50 tac“><h2 class=”light fs-2 tc-orange“>Add New Admin</h2><h3 class=”fs-gray mb-25“>This will add them to all feeds, allow them to create new feeds and edit existing feeds.</h3><form accept-charset=”UTF-8“ action=”/enterprise/',a+=this.escape(this.model.get(“slug”)),a+='/admin“ method=”post“><div style=”display:none“><input name=”utf8“ type=”hidden“ value=”✓“ /><input name=”authenticity_token“ type=”hidden“ value=”',a+=this.escape(this.csrf),a+='“ /></div><input class=”mb-25 bordered“ name=”email“ placeholder=”Their Email Address“ type=”email“ /><input class=”fw j-button“ name=”commit“ type=”submit“ value=”Make User Admin“ /></form></div>'})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(a){var b;return b=this,”function“==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:”[object Array]“!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:”“),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return”[object Array]“==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?“”:a.skimSafe||!//.test(a)?a:this.safe(“”+a).replace(/&/g,“&”).replace(/</g,“<”).replace(/>/g,“>”).replace(/“/g,”"“)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a;return a=”“,a+='<h1 class=”fs-2 tc-orange light mb-25“>Enterprise Account for ',a+=this.escape(this.model.get(”name“)),a+=”</h1>“,a+=Juicer.Helpers.renderPartial(”enterprise_sidebar“,{model:this.model}),a+='<div class=”enterprise-content“><div class=”enterprise-cost bg-white border light tac mb-50 tc-slevin p-40“><h4 class=”fs-1-125 tc-slevin“>Current Monthly Cost of your Account</h4><h3 class=”fs-3 tc-grapefruit“>$',a+=this.escape(this.model.get(”cost“)),a+='</h3><div class=”enterprise-explanation“>This is the current cost of your enterprise account. It's based on the number of sources and feed update frequencies. This is prorated to the minute.</div></div><div class=”mb-25 flex“><input class=”border enterprise-search“ placeholder=”Search feeds by name, source name or user email“ type=”search“ value=”',a+=this.escape(this.model.query),a+='“ /><a class=”j-button small fr“ href=”/feeds/new“>+ Add New Feed</a></div><ul class=”feeds tac“></ul></div>'})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(a){var b;return b=this,”function“==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:”[object Array]“!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:”“),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return”[object Array]“==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?“”:a.skimSafe||!//.test(a)?a:this.safe(“”+a).replace(/&/g,“&”).replace(/</g,“<”).replace(/>/g,“>”).replace(/“/g,”"“)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a,b,c;switch(a=”“,a+='<div class=”enterprise-user tc-gray“><h3>',a+=this.escape(this.model.get(”email“)),a+=”</h3>“,c=”Are you sure you want to remove this user from your enterprise account and all associated feeds?“,a+='<a class=”delete-user sprite“',b=c){case!0:a+=' data-confirm=”data-confirm“';break;case!1:case null:break;default:a+=' data-confirm=”',a+=this.escape(b),a+='“'}return a+=' data-method=”post“ href=”/enterprise/',a+=this.escape(this.account.get(“slug”)),a+=“/”,a+=this.escape(this.model.get(“id”)),a+='/remove“ rel=”nofollow“>Remove</a></div><ul class=”enterprise-user-feeds“><h4 class=”uc bold tc-grapefruit mb-10“>Feeds Managed</h4>',_u.each(this.model.get(”assignments“),function(b){return function©{return a+='<li class=”enterprise-user-assignment ibt“>',a+=b.escape(c.name),a+='<a class=”delete-assignment sprite“ data-id=”',a+=b.escape(c.id),a+='“>Delete</a></li>'}}(this)),a+=”</ul>“})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(a){var b;return b=this,”function“==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:”[object Array]“!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:”“),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return”[object Array]“==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?“”:a.skimSafe||!//.test(a)?a:this.safe(“”+a).replace(/&/g,“&”).replace(/</g,“<”).replace(/>/g,“>”).replace(/“/g,”"“)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a;return a=”“,a+='<h1 class=”light fs-2 tc-orange mb-25“>Enterprise Account for ',a+=this.escape(this.model.get(”name“)),a+=”</h1>“,a+=Juicer.Helpers.renderPartial(”enterprise_sidebar“,{model:this.model}),a+='<div class=”enterprise-content“><div class=”cf mb-15“><h2 class=”fl light fs-1-5 tc-grapefruit“>Admins</h2><a class=”j-button small fr new-enterprise-admin“>+ Add New Admin</a></div><ul class=”enterprise-admins bg-white border tc-slevin mb-40“></ul><h2 class=”light fs-1-5 tc-grapefruit“>Users</h2><ul class=”enterprise-users“></ul></div>'})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(a){var b;return b=this,”function“==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:”[object Array]“!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:”“),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return”[object Array]“==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?“”:a.skimSafe||!//.test(a)?a:this.safe(“”+a).replace(/&/g,“&”).replace(/</g,“<”).replace(/>/g,“>”).replace(/“/g,”"“)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a,b,c;if(a=”“,a+='<h1 class=”fs-2 tc-orange mb-25“>Enterprise Account for ',a+=this.escape(this.model.get(”name“)),a+=”</h1>“,a+=Juicer.Helpers.renderPartial(”enterprise_sidebar“,{model:this.model}),a+='<div class=”enterprise-content“><div class=”bg-white border p-30“>',this.model.get(”white_label“))a+='<h1 class=”white-label-success light tc-grapefruit fs-1-25 mb-25 tac“>Success! ',a+=this.escape(this.model.get(”host“)),a+=' is now set up to White Label Juicer</h1><div class=”tc-gray fifteen“><p class=”mb-25“>You'll notice that when you visit the feed from that URL the functionality is limited. This is on purpose. We'd recommend visiting your admin dashboard from the Juicer domain, and just use this one for clients.</p><p>When you invite a client to a feed it should automatically link them to this URL (you should test this out first). (Click ”+ add user“ next to one of your feeds from your enterprise dashboard).</p></div>';else{switch(a+='<h1 class=”light tc-gray fs-1-25 mb-25“>Setup Whitelabel</h1><p class=”mb-25 tc-gray“ style=”font-size:15px;“>Want to host Juicer on your own URL with your own logo? Something like social.yourdomain.com? We need to set this up. Create a sub domain or a new domain and have it CNAME to juicer-io.herokuapp.com. Once you've done so, enter the domain URL below:</p><form class=”white-label-url“>',c=this.model.get(”url“)?this.model.get(”url“):null,a+='<input class=”mb-10 bordered“ name=”url“ placeholder=”feeds.yourdomain.com“ type=”url“',b=c){case!0:a+=' value=”value“';break;case!1:case null:break;default:a+=' value=”',a+=this.escape(b),a+='“'}a+=' /><input class=”fw j-button“ type=”submit“ value=”Confirm Domain is set up“ /></form>',this.model.get(”error“)&&(a+='<div class=”cname-error mt-40 p-25 tc-gray“><strong>',a+=this.escape(this.model.get(”host“)),a+=”</strong> is not resolving with a CNAME to juicer-io.herokuapp.com.If you've set it up, please try again later, as this can take up to 48 hours to resolve. </div>“)}return a+=”</div></div>“})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST.errors=function(){return this.Skim={access:function(a){var b;return b=this,”function“==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:”[object Array]“!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:”“),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return”[object Array]“==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?“”:a.skimSafe||!//.test(a)?a:this.safe(“”+a).replace(/&/g,“&”).replace(/</g,“<”).replace(/>/g,“>”).replace(/“/g,”"“)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a;return a=”“,a+='<ul class=”errors source-errors ph-25 mb-15“>',$.each(this.errors,function(b){return function©{return _u.each(b.errors,function(b){return a+='<li class=”tc-grapefruit“>',a+=b,a+=”</li>“})}}(this)),a+=”</ul>“})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST.feed=function(){return this.Skim={access:function(a){var b;return b=this,”function“==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:”[object Array]“!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:”“),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return”[object Array]“==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?“”:a.skimSafe||!//.test(a)?a:this.safe(“”+a).replace(/&/g,“&”).replace(/</g,“<”).replace(/>/g,“>”).replace(/“/g,”"“)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a,b;return a=”“,b=this.feed.get(”posts“).models,a+=Juicer.Helpers.renderPartial(”custom_styles“,{feed:this.feed}),this.feed.displayFilters()&&(a+=Juicer.Helpers.renderPartial(”filters/“+this.feed.filterPartial(),{feed:this.feed,filter:this.filter})),b.length>0?_u.each(b,function(b){return function©{var d;return a+=”<li“,d=”“,d+=b.escape(c.classes()),d.length>0&&(a+=' class=”',a+=d,a+='“'),a+=' data-id=”',a+=b.escape(c.get(“id”)),a+='“ data-source=”',a+=b.escape(c.lowerType()),a+='“>',a+=Juicer.Helpers.renderPartial(”actions“,{post:c,admin:b.admin}),a+=Juicer.Helpers.renderPartial(”feeds/“+b.feed.partial(),{post:c,feed:b.feed}),a+=”</li>“}}(this)):a+=this.admin?'<div class=”empty“><h2>Add some feed sources or check your moderation queue!</h2></div>':'<div class=”empty“><h2>No Posts!</h2></div>',a})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(a){var b;return b=this,”function“==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:”[object Array]“!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:”“),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return”[object Array]“==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?“”:a.skimSafe||!//.test(a)?a:this.safe(“”+a).replace(/&/g,“&”).replace(/</g,“<”).replace(/>/g,“>”).replace(/“/g,”"“)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a;return a=”“,a+='<h4 class=”fourteen mb-30“>Track your posts, page views, clickthroughs and user engagement over time to see how your feed is being used.</h4><a class=”bold fourteen tdu launch pointer“>Launch ',a+=this.escape(this.feed.get(”name“)),a+=” Analytics</a>“})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(a){var b;return b=this,”function“==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:”[object Array]“!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:”“),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return”[object Array]“==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?“”:a.skimSafe||!//.test(a)?a:this.safe(“”+a).replace(/&/g,“&”).replace(/</g,“<”).replace(/>/g,“>”).replace(/“/g,”"“)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a;return a=”“,a+='<div class=”p-50 tac“><h2 class=”light tc-orange fs-2“>Analytics for ',a+=this.escape(this.feed.get(”name“)),a+=' Feed</h2><h3 class=”fourteen tc-gray mb-30“>Only large plans can access analytics. Please upgrade your account!</h3>',a+=Juicer.Helpers.renderPartial(”upgrade_plan“,{feed:this.feed}),a+=”</div>“})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(a){var b;return b=this,”function“==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:”[object Array]“!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:”“),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return”[object Array]“==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?“”:a.skimSafe||!//.test(a)?a:this.safe(“”+a).replace(/&/g,“&”).replace(/</g,“<”).replace(/>/g,“>”).replace(/“/g,”"“)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a;return a=”“,a+='<div class=”color-fields p-15“ data-color=”',a+=this.escape(this.colorAttr),a+='“><div class=”color-input-container“><div class=”double-border color-example“ style=”background-color: ',a+=this.escape(this.color),a+='“></div><div class=”color-example-bg double-border-bg“></div><input class=”color-input“ pattern=”',a+=this.escape(this.pattern),a+='“ type=”color“ value=”',a+=this.escape(this.color),a+='“ /></div><input class=”hex-input“ pattern=”',a+=this.escape(this.pattern),a+='“ type=”text“ value=”',a+=this.escape(this.color),a+='“ /></div>'})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(a){var b;return b=this,”function“==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:”[object Array]“!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:”“),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return”[object Array]“==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?“”:a.skimSafe||!//.test(a)?a:this.safe(“”+a).replace(/&/g,“&”).replace(/</g,“<”).replace(/>/g,“>”).replace(/“/g,”"“)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a,b;return a=”“,a+='<div class=”tac p-30“><h2 class=”light fs-2 tc-orange“>Customize Theme CSS</h2><p class=”fifteen tc-gray“>Add Custom CSS styles to your Juicer Feed. You can learn more about the best way to handle these customizations <a class=”tc-gray bold“ href=”/blog/create-a-custom-embeddable-aggregate-social-media-feed-with-css-and-juicer“ target=”_blank“>here</a>. </p><form class=”css-form“>',b=this.feed.get(”custom_css“)?this.feed.get(”custom_css“):”“,a+='<textarea class=”bordered mv-40“ name=”css“ placeholder=”Enter Custom CSS to modify the look of your Juicer Feed…“ style=”height: 40vh;“>',a+=b,a+='</textarea><input class=”j-button“ type=”submit“ value=”Save Changes“ /></form></div>'})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(a){var b;return b=this,”function“==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:”[object Array]“!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:”“),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return”[object Array]“==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?“”:a.skimSafe||!//.test(a)?a:this.safe(“”+a).replace(/&/g,“&”).replace(/</g,“<”).replace(/>/g,“>”).replace(/“/g,”"“)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a;return a=”“,this.feed.get(”moderation_allowed?“)||(a+='<div class=”fourteen p-20“>You must have a paid account to customize your feed design from the dashboard. Learn more about <a class=”tc-white bold“ href=”/plans“>paid accounts</a> or <a class=”tc-white bold“ href=”/blog/create-a-custom-embeddable-aggregate-social-media-feed-with-css-and-juicer“ target=”_blank“>customize your feed css manually</a>. </div>'),a+='<div class=”p-20 fourteen relative“>',this.feed.get(”moderation_allowed?“)||(a+='<div class=”filter-blocker custom-style-not-allowed“></div>'),a+='<div class=”mb-40“><h3 class=”bold mb-10“>Feed Style</h3><div class=”thirteen“>',a+=this.escape(Juicer.Helpers.prettify(this.feed.get(”css“))),a+=' ( <a class=”customize-css tdu pointer“>Customize CSS</a> ) </div></div><h3 class=”bold mb-10“>Feed Colors</h3><ul class=”bg-white-field tc-slevin mb-10“>',_u.each(this.feed.colors,function(b){return function©{return a+='<li class=”p-15 relative feed-color“ data-color=”',a+=b.escape©,a+='“><div class=”bold“>',a+=b.escape(Juicer.Helpers.prettify©),a+='</div> <div class=”color-picker“><div class=”double-border color-picker-circle“ style=”background: ',a+=b.escape(b.feed.getColor©),a+='“></div><div class=”double-border-bg color-picker-background-color“></div></div></li>'}}(this)),a+='</ul><a class=”j-button small fw mb-10 tac save-style“>Save Custom Style</a><a class=”twelve tdu pointer mb-40 block tac reset-style“>Restore Default Template Colors</a></div>'})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(a){var b;return b=this,”function“==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:”[object Array]“!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:”“),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return”[object Array]“==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?“”:a.skimSafe||!//.test(a)?a:this.safe(“”+a).replace(/&/g,“&”).replace(/</g,“<”).replace(/>/g,“>”).replace(/“/g,”"“)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a;return a=”“,a+='<div class=”p-20 fourteen“><textarea class=”embed embed-textarea mb-15 ten tc-embed p-15“>',a+=this.embed,a+='</textarea><a class=”tc-off-white tdu“ href=”',a+=this.escape(Juicer.Constants.HELP_CENTER_URL),a+='/design-related-topics/code-customizations-for-date-range-feed-style-spacing-filtering-and-more“ target=”_blank“>Customize my embed.</a></div>'})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(a){var b;return b=this,”function“==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:”[object Array]“!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:”“),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return”[object Array]“==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?“”:a.skimSafe||!//.test(a)?a:this.safe(“”+a).replace(/&/g,“&”).replace(/</g,“<”).replace(/>/g,“>”).replace(/“/g,”"“)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a;return a=”“,a+='<script src=”',a+=this.escape(this.javascript),a+='“ type=”text/javascript“></script><br /><link href=”',a+=this.escape(this.stylesheet),a+='“ media=”all“ rel=”stylesheet“ type=”text/css“ /><br /><ul class=”juicer-feed“ data-feed-id=”',a+=this.escape(this.feed.get(“slug”)),a+='“>',this.feed.paid()||(a+=Juicer.Helpers.renderPartial(”referral“)),a+=”</ul>“})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(a){var b;return b=this,”function“==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:”[object Array]“!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:”“),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return”[object Array]“==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?“”:a.skimSafe||!//.test(a)?a:this.safe(“”+a).replace(/&/g,“&”).replace(/</g,“<”).replace(/>/g,“>”).replace(/“/g,”"“)}),b.call(a)}},function(a){ return null==a&&(a={}),Skim.withContext.call({},a,function(){var a;return a=”“,a+='<div class=”embed-menu-container“><h2 class=”bold mb-30“>Copy and Paste this code into your site.</h2><div class=”white-select fourteen“><select class=”embed-menu“>',_u.each(this.embedOptions,function(b){return function©{return b.currentlySelected===c.value?(a+='<option selected=”true“ value=”',a+=b.escape(c.value),a+='“>',a+=b.escape(c.label),a+=”</option>“):(a+='<option value=”',a+=b.escape(c.value),a+='“>',a+=b.escape(c.label),a+=”</option>“)}}(this)),a+=”</select></div></div>“})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(a){var b;return b=this,”function“==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:”[object Array]“!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:”“),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return”[object Array]“==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?“”:a.skimSafe||!//.test(a)?a:this.safe(“”+a).replace(/&/g,“&”).replace(/</g,“<”).replace(/>/g,“>”).replace(/“/g,”"“)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a;return a=”“,a+='<div class=”thirteen“><h4 class=”mb-10“>Upgrade your account to Medium or Large and get:</h4><ul class=”pl-10 mb-10“><li>More frequent feed updates</li><li>More Social Media Sources</li><li>More Feeds</li><li>Moderation and Filtering</li><li>Feed Analytics</li><li>Instant Support and Integration Assistance</li></ul></div><a class=”j-button small“ href=”/plans“ style=”font-size:11px;“>Upgrade your plan!</a>'})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(a){var b;return b=this,”function“==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:”[object Array]“!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:”“),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return”[object Array]“==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?“”:a.skimSafe||!//.test(a)?a:this.safe(“”+a).replace(/&/g,“&”).replace(/</g,“<”).replace(/>/g,“>”).replace(/“/g,”"“)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a;return a=”“,a+='<form class=”feed-name-edit-form p-40 tac“><h2 class=”light tc-orange fs-2“>Edit Feed Name</h2><input autofocus=”yes“ class=”bordered mb-15“ name=”name“ type=”text“ value=”',a+=this.escape(this.feed.get(“name”)),a+='“ /><div class=”mb-15“><input id=”slug_update“ name=”slug_update“ type=”checkbox“ /><label for=”slug_update“>Update Feed URL Also</label><p class=”slug-warning tc-grapefruit hide fourteen“>Updating the feed url will also change your embed code so if you already have your feed embedded in a different page you'll have to update the Juicer embed code there too.</p></div><input class=”fw j-button“ type=”submit“ value=”Update Feed Name“ /></form>'})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(a){var b;return b=this,”function“==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:”[object Array]“!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:”“),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return”[object Array]“==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?“”:a.skimSafe||!//.test(a)?a:this.safe(“”+a).replace(/&/g,“&”).replace(/</g,“<”).replace(/>/g,“>”).replace(/“/g,”"“)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a;return a=”“,a+='<div class=”tac“><h3 class=”fourteen mb-20“>Share this class=”small-field hub-input bordered tc-white mb-15“ type=”text“ value=”',a+=this.escape(window.location.protocol),a+=“//”,a+=this.escape(window.location.host),a+=“/”,a+=this.escape(this.feed.get(“slug”)),a+='“ /><a class=”j-button small“ href=”/',a+=this.escape(this.feed.get(“slug”)),a+='“ style=”font-size:11px;letter-spacing:-0.25px;“>View your public feed</a></div>'})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(a){var b;return b=this,”function“==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:”[object Array]“!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:”“),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return”[object Array]“==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?“”:a.skimSafe||!//.test(a)?a:this.safe(“”+a).replace(/&/g,“&”).replace(/</g,“<”).replace(/>/g,“>”).replace(/“/g,”"“)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a;return a=”“,a+='<div class=”p-20 fourteen“><textarea class=”ten tc-embed p-15 mb-10 iframe-embed“>',a+=this.iframe,a+=”</textarea><p>You may have to adjust width and height to get it to work. You should only use this if the standard embed isn't working for you.</p></div>“})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(a){var b;return b=this,”function“==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:”[object Array]“!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:”“),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return”[object Array]“==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?“”:a.skimSafe||!//.test(a)?a:this.safe(“”+a).replace(/&/g,“&”).replace(/</g,“<”).replace(/>/g,“>”).replace(/“/g,”"“)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a,b,c,d;return a=”“,a+='<div class=”tac fourteen“><h3 class=”uc bold mt-20“>You are Viewing</h3><ul class=”moderation-nav“><li class=”active public“>Public Posts</li><li class=”moderated“>Moderated Posts</li></ul><p class=”ph-15“>To remove a post from your live feed hover over the post and select the trash icon. The post will be sent to your moderation queue.</p></div>',this.feed.get(”moderation_allowed?“)?(a+='<form class=”filters“ method=”post“>',a+=Juicer.Helpers.renderPartial(”toggle“,{attr:”queue“,feed:this.feed,label:”Send All Posts to Moderation“,hint:”With this option enabled, new posts will not automatically go to your live feed. Instead, you must first manually approve them from your moderation queue.“,hintPosition:”bottom“,classes:”mt-40“}),a+='<div class=”p-20 fourteen relative“><div class=”filter-blocker“></div>',d=”list words, @usernames, or hastags“,c=”Separate filters with a comma. Filters are case-sensitive.“,a+='<h3 class=”settings-label“>Disallow posts with these words:</h3><textarea class=”moderation-filter thirteen mb-10“ name=”feed“ placeholder=”',a+=this.escape(d),a+=“ to block. ”,a+=this.escape©,a+='“>',a+=this.feed.disallowed(),a+='</textarea><h3 class=”settings-label“>Only allow posts with these words:</h3><textarea class=”moderation-filter thirteen mb-20“ name=”feed“ placeholder=”',a+=this.escape(d),a+=“ to allow. ”,a+=this.escape©,a+='“>',a+=this.feed.allowed(),a+=”</textarea>“,null==this.feed.get(”lat“)&&(b=”hide“),a+='<div class=”',a+=this.escape(b),a+=' mb-20“ id=”geofence“><h3>Restrict to posts within <input class=”distance“ name=”feed“ placeholder=”ex: 25“ style=”width:6em; margin: 0 10px 10px 0;“ type=”text“ value=”',a+=this.escape(this.feed.get(“distance”)),a+='“ />miles of: </h3><input id=”location“ name=”feed“ placeholder=”Type a Location“ type=”text“ value=”',a+=this.escape(this.feed.get(“location”)),a+='“ /><input id=”lat“ name=”feed“ type=”hidden“ value=”',a+=this.escape(this.feed.get(“lat”)),a+='“ /><input id=”lng“ name=”feed“ type=”hidden“ value=”',a+=this.escape(this.feed.get(“lng”)),a+='“ /></div>',a+=Juicer.Helpers.renderPartial(”profanity“,{feed:this.feed}),a+=Juicer.Helpers.renderPartial(”prevent_duplicates“,{feed:this.feed}),a+='</div><div class=”tac“><input class=”j-button“ type=”submit“ value=”Save your Filters“ /></div></form>'):(a+='<div class=”p-20 tac“><h3 class=”tc-grapefruit bold fourteen mb-15“>Only medium and large plans can setup filters. Upgrade now!</h3>',a+=Juicer.Helpers.renderPartial(”upgrade_plan“,{feed:this.feed,css:”j-button small“}),a+=”</div>“),a})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(a){var b;return b=this,”function“==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:”[object Array]“!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:”“),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return”[object Array]“==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?“”:a.skimSafe||!//.test(a)?a:this.safe(“”+a).replace(/&/g,“&”).replace(/</g,“<”).replace(/>/g,“>”).replace(/“/g,”"“)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a;return a=”“,a+='<div class=”tac pt-30 pb-25“><h3 class=”light fs-2 tc-orange“>Add a Social Media Source</h3><h3 class=”light fs-1-25 tc-gray mb-30“>First, select a social media account you want to add.</h3><div class=”mh-30“>',a+=Juicer.Helpers.renderPartial(”sources“),a+=”</div></div>“})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(a){var b;return b=this,”function“==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:”[object Array]“!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:”“),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return”[object Array]“==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?“”:a.skimSafe||!//.test(a)?a:this.safe(“”+a).replace(/&/g,“&”).replace(/</g,“<”).replace(/>/g,“>”).replace(/“/g,”"“)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a,b,c;return a=”“,a+='<div class=”tac p-30“><h2 class=”light fs-2 tc-orange“>Apply filters to existing posts?</h2>',c=”0“!==this.data.queue,b=c?”mb-15“:”mb-40“,a+='<p class=”fifteen tc-gray ',a+=this.escape(b),a+='“>Do you want to apply these changes to all existing posts? Feeds with a large amount of posts may take some time for Juicer to properly moderate. Please be patient.</p>',c&&(a+='<p class=”fourteen tc-grapefruit mb-40“>You have turned the moderation queue on, so keep in mind if you select ”apply to existing posts“ it will remove <strong>all</strong> posts from your live queue. You can always recover them (or approve them later) </p>'),a+=”<form>“,_u.each(_u.keys(this.data),function(b){return function©{return a+='<input name=”',a+=b.escape©,a+='“ type=”hidden“ value=”‘,a+=b.escape(b.data),a+='“ />'}}(this)),a+='<div class=”submits“><input class=”moderate-confirm j-button small mr-25“ data-revalidate=”false“ type=”submit“ value=”No, only future posts“ /><input class=”moderate-confirm j-button small secondary“ data-revalidate=”true“ type=”submit“ value=”Yes, apply to existing posts“ /></div></form></div>'})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(a){var b;return b=this,”function“==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:”[object Array]“!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:”“),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return”[object Array]“==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?“”:a.skimSafe||!//.test(a)?a:this.safe(“”+a).replace(/&/g,“&”).replace(/</g,“<”).replace(/>/g,“>”).replace(/“/g,”"“)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a;return a=”“,a+='<div class=”p-20 fourteen“>',a+=Juicer.Helpers.renderPartial(”css“,{feed:this.feed,label:!0}),a+='<label class=”settings-label“>Feed Display</label><div class=”mb-30“>',a+=Juicer.Helpers.renderPartial(”interval“,{feed:this.feed}),a+=Juicer.Helpers.renderPartial(”columns“,{feed:this.feed}),a+=Juicer.Helpers.renderPartial(”width“,{feed:this.feed}),a+=Juicer.Helpers.renderPartial(”height“,{feed:this.feed}),(null!=this.feed.get(”height“)||null!=this.feed.get(”width“))&&(a+='<label class=”ib mt-10 thirteen“>If you want the feed to fill all available space remove the height and width.</label>'),a+=”</div>“,a+=Juicer.Helpers.renderPartial(”order“,{feed:this.feed}),a+=Juicer.Helpers.renderPartial(”filter_setting“,{feed:this.feed,label:!0}),_u.each(this.checkboxes,function(b){return function©{var d;return d=c.attr,a+='<div class=”checkbox mb-15 thirteen relative“><input name=”feed“ type=”hidden“ value=”0“ />',b.feed.get(d)?(a+='<input checked=”true“ data-attribute=”',a+=b.escape(d),a+='“ id=”',a+=b.escape(d),a+='“ name=”feed“ type=”checkbox“ />'):(a+='<input data-attribute=”',a+=b.escape(d),a+='“ id=”',a+=b.escape(d),a+='“ name=”feed“ type=”checkbox“ />'),a+='<label for=”',a+=b.escape(d),a+='“>',a+=b.escape(c.label),a+=”</label>“,null!=c.tooltip&&(a+='<div aria-label=”',a+=b.escape(c.tooltip),a+='“ class=”sidebar-explainer sprite hint–right hint–medium“></div>'),a+=”</div>“}}(this)),a+='<a class=”fourteen tc-off-white tdu“ href=”',a+=this.escape(Juicer.Constants.HELP_CENTER_URL),a+='/design-related-topics/code-customizations-for-date-range-feed-style-spacing-filtering-and-more“ target=”_blank“>Other Customization Options</a></div>'})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(a){var b;return b=this,”function“==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:”[object Array]“!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:”“),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return”[object Array]“==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?“”:a.skimSafe||!//.test(a)?a:this.safe(“”+a).replace(/&/g,“&”).replace(/</g,“<”).replace(/>/g,“>”).replace(/“/g,”"“)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a;return a=”“,a+='<div class=”tac“><h3 class=”fourteen mb-20“> One of your Connected Social Accounts is expired. Please refresh it to make sure all of your posts get pulled in:</h3><a class=”j-button small“ href=”/social-accounts“ style=”font-size:11px;letter-spacing:-0.25px;“>Refresh Account</a></div>'})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(a){var b;return b=this,”function“==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:”[object Array]“!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:”“),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return”[object Array]“==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?“”:a.skimSafe||!//.test(a)?a:this.safe(“”+a).replace(/&/g,“&”).replace(/</g,“<”).replace(/>/g,“>”).replace(/“/g,”"“)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a;return a=”“,a+='<ul class=”source-list“>',_u.each(this.feed.get(”sources“).models,function(b){return function©{var d;return d=c.get(”id“),a+='<li class=”j-',a+=b.escape(c.lowerSource()),a+=' j-social-icon bg-none fourteen existing-source“ data-id=”',a+=b.escape(d),a+='“><span>',a+=b.escape(c.displayName()),a+='</span></li><ul class=”source-submenu fourteen“>',c.manual()&&(a+='<li class=”add source-submenu-item mb-10“ data-id=”',a+=b.escape(d),a+='“ data-name=”',a+=b.escape(c.typeSymbol()),a+=b.escape(c.get(“term”)),a+='“ data-template=”manual“ rel=”nofollow“>Add Post Manually</li>'),b.feed.paid()&&(a+='<li class=”moderate source-submenu-item mb-10“ data-id=”',a+=b.escape(d),a+='“ data-template=”moderation“>Set Moderation Filters</li>'),a+='<li class=”rename source-submenu-item mb-10“ data-id=”',a+=b.escape(d),a+='“ data-template=”rename“>Edit Filter Button Name</li><li class=”delete“ data-id=”',a+=b.escape(d),a+='“>Delete</li></ul>'}}(this)),a+='</ul><div class=”tac mt-40“><a class=”bold eleven add-source-submenu green“>+ Add Social Media Source</a></div>'})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(a){var b;return b=this,”function“==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:”[object Array]“!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:”“),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return”[object Array]“==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?“”:a.skimSafe||!//.test(a)?a:this.safe(“”+a).replace(/&/g,“&”).replace(/</g,“<”).replace(/>/g,“>”).replace(/“/g,”"“)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a;return a=”“,a+='<h4 class=”thirteen mb-10“>Your feed will sync next at <strong>',a+=this.escape(Juicer.Helpers.fullDate(this.feed.nextSync())),a+='</strong>. Please note this is only an estimate. </h4><h4 class=”thirteen mb-10 white-label-hide“>Want more frequent updates to your Juicer Feed?</h4>',”enterprise“===this.feed.get(”plan“)?(a+='<a class=”j-button small white-label-hide“ href=”/feeds/',a+=this.escape(this.feed.get(“slug”)),a+='/edit“>Edit your feed!</a>'):a+='<a class=”j-button small white-label-hide“ href=”/plans“>Upgrade your plan!</a>',a})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(a){var b;return b=this,”function“==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:”[object Array]“!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:”“),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return”[object Array]“==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?“”:a.skimSafe||!//.test(a)?a:this.safe(“”+a).replace(/&/g,“&”).replace(/</g,“<”).replace(/>/g,“>”).replace(/“/g,”"“)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a,b,c;return a=”“,a+='<div class=”p-20 fourteen“><h3 class=”mb-10“>First, download, unzip, and install the wordpress plugin.</h3><a class=”block tc-off-white tdu“ href=”Learn“>www.juicer.io/blog/setting-up-a-juicer-social-media-aggregator-on-a-wordpress-site”>Learn how to install</a><a class=“block tc-off-white tdu mb-20” href=“Download”>downloads.wordpress.org/plugin/juicer.zip“>Download the Wordpess Plugin</a><h3 class=”settings-label“>Shortcode</h3>',b='[juicer name=”'+this.feed.get(“slug”)+'“]',a+='<textarea class=”ten tc-embed p-15 single-line mb-20“>',a+=b,a+='</textarea><h3 class=”settings-label“>PHP Function</h3>',c='<?php juicer_feed(”name='+this.feed.get(“slug”)+'“); ?>',a+='<textarea class=”ten tc-embed p-15 single-line“>',a+=c,a+=”</textarea></div>“})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST.gdpr_form=function(){return this.Skim={access:function(a){var b;return b=this,”function“==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:”[object Array]“!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:”“),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return”[object Array]“==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?“”:a.skimSafe||!//.test(a)?a:this.safe(“”+a).replace(/&/g,“&”).replace(/</g,“<”).replace(/>/g,“>”).replace(/“/g,”"“)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a;return a=”“,a+='<div class=”tac p-50 gdpr-form“><h2 class=”light fs-2 tc-orange“>Accept our GDPR Privacy Policy Changes</h2><p class=”tc-gray fifteen mb-25“>To ensure compliance with the GDPR, we have updated our <a class=”bold tc-gray tdu“ href=”/privacy“>privacy policy</a> . Since you are located in the EU you must accept these changes. </p><div class=”mb-25“><a class=”j-button“ href=”/gdpr“>Accept updated privacy policy and continue my service</a></div><a class=”fourteen tc-gray tdu pointer“ href=”/downgrade?delete=true“>I don't accept the privacy policy so cancel my service.</a></div>'})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST.infinite_scroll=function(){return this.Skim={access:function(a){var b;return b=this,”function“==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:”[object Array]“!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:”“),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return”[object Array]“==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?“”:a.skimSafe||!//.test(a)?a:this.safe(“”+a).replace(/&/g,“&”).replace(/</g,“<”).replace(/>/g,“>”).replace(/“/g,”"“)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a,b;return a=”“,b=this.feed.get(”posts“).models,b.length>0&&_u.each(b,function(b){return function©{var d;return a+=”<li“,d=”“,d+=b.escape(c.classes()),d.length>0&&(a+=' class=”',a+=d,a+='“'),a+=' data-id=”',a+=b.escape(c.get(“id”)),a+='“>',a+=Juicer.Helpers.renderPartial(”actions“,{post:c,admin:b.admin}),a+=Juicer.Helpers.renderPartial(”feeds/“+b.feed.partial(),{post:c,feed:b.feed}),a+=”</li>“}}(this)),a})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST.location_picker=function(){return this.Skim={access:function(a){var b;return b=this,”function“==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:”[object Array]“!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:”“),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return”[object Array]“==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?“”:a.skimSafe||!//.test(a)?a:this.safe(“”+a).replace(/&/g,“&”).replace(/</g,“<”).replace(/>/g,“>”).replace(/“/g,”"“)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a;return a=”“,a+='<input name=”source“ type=”hidden“ value=”',a+=this.escape(this.source.source()),a+='“ /><input name=”feed_id“ type=”hidden“ value=”',a+=this.escape(this.feedId),a+='“ /><input name=”term_type“ type=”hidden“ value=”location“ /><input id=”term“ name=”term“ type=”hidden“ /><input id=”name“ name=”name“ type=”hidden“ /><ul class=”location-results“>',_u.each(this.locations,function(b){return function©{return a+='<li class=”location-result pointer“ data-id=”',a+=b.escape(c.id),a+='“ data-name=”',a+=b.escape(c.name),a+='“>',a+=b.escape(c.name),a+=”</li>“}}(this)),a+=”</ul>“})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST.moderated=function(){return this.Skim={access:function(a){var b;return b=this,”function“==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:”[object Array]“!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:”“),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return”[object Array]“==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?“”:a.skimSafe||!//.test(a)?a:this.safe(“”+a).replace(/&/g,“&”).replace(/</g,“<”).replace(/>/g,“>”).replace(/“/g,”"“)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a;return a=”“,a+='<ul class=”j-display-filters“>',_u.each(this.menuItems,function(b){return function©{return b.feed.filter===c.filter||”All“===c.title&&”“===b.feed.filter?(a+='<li class=”moderate-filter selected“ data-filter=”',a+=b.escape(c.filter),a+='“>',a+=b.escape(c.title),a+=”</li>“):(a+='<li class=”moderate-filter“ data-filter=”',a+=b.escape(c.filter),a+='“>',a+=b.escape(c.title),a+=”</li>“)}}(this)),a+=”</ul>“,this.feed.get(”posts“).models.length>0&&(a+='<div class=”tac mb-15 bulk-moderate-nav“><a class=”j-button small mr-10 bulk-moderate“ data-approve=”true“>Approve All</a><a class=”j-button small bulk-moderate“>Reject All</a></div>'),a+=Juicer.Helpers.renderPartial(”moderated_posts“,{feed:this.feed})})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST.new_feed=function(){return this.Skim={access:function(a){var b;return b=this,”function“==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:”[object Array]“!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:”“),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return”[object Array]“==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?“”:a.skimSafe||!//.test(a)?a:this.safe(“”+a).replace(/&/g,“&”).replace(/</g,“<”).replace(/>/g,“>”).replace(/“/g,”"“)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a;return a=”“,a+=Juicer.Helpers.renderPartial(”sources“)})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST.overlay=function(){return this.Skim={access:function(a){var b;return b=this,”function“==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:”[object Array]“!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:”“),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return”[object Array]“==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?“”:a.skimSafe||!//.test(a)?a:this.safe(“”+a).replace(/&/g,“&”).replace(/</g,“<”).replace(/>/g,“>”).replace(/“/g,”"“); }),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a;return a=”“,a+='<div class=”j-overlay-content“ tabindex=”0“>',this.close&&(a+='<a class=”j-close“ href=”#“><span>Close</span></a>'),a+=this.content,a+=”</div>“})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(a){var b;return b=this,”function“==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:”[object Array]“!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:”“),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return”[object Array]“==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?“”:a.skimSafe||!//.test(a)?a:this.safe(“”+a).replace(/&/g,“&”).replace(/</g,“<”).replace(/>/g,“>”).replace(/“/g,”"“)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a;return a=”“,this.admin&&!this.post.ad&&(a+='<ul class=”actions“ data-id=”',a+=this.escape(this.post.get(“id”)),a+='“>',null!=this.post.get(”deleted_at“)?(a+=”Pending“===this.post.get(”deleted_by“)?'<li aria-label=”Juicer has commented on this post on your behalf. Waiting for approval from the author.“ class=”hint–bottom-right“>Permission Pending</li>':'<li aria-label=”Juicer will publish a comment to this post on your behalf, asking for permission to use it.“ class=”urm-request hint–bottom hint–large“>Get Permission</li>',a+='<li aria-label=”Don't publish post and hide it.“ class=”reject hint–bottom-left“>Reject</li><li aria-label=”Move post to your live feed.“ class=”approve primary hint–bottom-left“>Approve</li>'):(a+=this.post.stickied()?'<li aria-label=”Make post be not-pinned anymore.“ class=”unstick hint–bottom-left“>Unpin</li>':'<li aria-label=”Pin post. Keep post at top of feed, even when new posts come in.“ class=”hint–bottom sticky“>Pin</li>',this.post.twitter()||(a+='<li aria-label=”Add content to this post.“ class=”edit hint–bottom-left“>Edit</li>'),a+='<li aria-label=”Move post to moderation queue. Remove from live feed.“ class=”delete primary hint–bottom-left“>Delete</li>'),a+=”</ul>“),a})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(a){var b;return b=this,”function“==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:”[object Array]“!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:”“),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return”[object Array]“==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?“”:a.skimSafe||!//.test(a)?a:this.safe(“”+a).replace(/&/g,“&”).replace(/</g,“<”).replace(/>/g,“>”).replace(/“/g,”"“)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a;return a=”“,a+='<div class=”columns white-field bordered hide“><label for=”columns“>Columns</label><input class=”columns“ max=”9“ min=”1“ name=”feed“ type=”number“ value=”',a+=this.escape(this.feed.get(“columns”)),a+='“ /></div>'})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(a){var b;return b=this,”function“==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:”[object Array]“!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:”“),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return”[object Array]“==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?“”:a.skimSafe||!//.test(a)?a:this.safe(“”+a).replace(/&/g,“&”).replace(/</g,“<”).replace(/>/g,“>”).replace(/“/g,”"“)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a;return a=”“,this.lazyLoad=null!=this.feed&&this.feed.get(”lazy_load“)||!1,null!=this.post.get(”image“)&&(a+='<a class=”j-image“ data-external-id=”',a+=this.escape(this.post.get(“external_id”)),a+='“ data-image=”',a+=this.escape(this.post.get(“image”)),a+='“ data-video-url=”',a+=this.escape(this.post.get(“video”)),a+='“ href=”',a+=this.escape(this.post.link()),a+='“ target=”_blank“>',(this.feed&&this.feed.shouldShowGallery()&&this.post.gallery()||this.post.gallery()&&this.overlay)&&(a+='<span class=”j-gallery-nav“><span class=”j-gallery-arrow j-gallery-previous“>Previous</span><span class=”j-gallery-arrow j-gallery-next“>Next</span></span>'),this.lazyLoad&&!this.overlay?(a+='<img alt=”',a+=this.escape(this.post.alt()),a+='“ class=”j-content-image“ data-lazy=”',a+=this.escape(this.post.get(“image”)),a+='“ />'):(a+='<img alt=”',a+=this.escape(this.post.alt()),a+='“ class=”j-content-image“ src=”',a+=this.escape(this.post.get(“image”)),a+='“ />'),a+=”</a>“),a})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(a){var b;return b=this,”function“==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:”[object Array]“!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:”“),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return”[object Array]“==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?“”:a.skimSafe||!//.test(a)?a:this.safe(“”+a).replace(/&/g,“&”).replace(/</g,“<”).replace(/>/g,“>”).replace(/“/g,”"“)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a;return a=”“,a+='<div class=”css“>',this.label&&(a+='<label class=”settings-label“ for=”css“>Choose a Feed Style</label>'),a+='<div class=”white-select mb-30“><select id=”css“ name=”feed“>',_u.each(Juicer.Constants.FEED_CLASSES,function(b){return function©{return b.feed.get(”css“)===c?(a+='<option selected=”true“ value=”',a+=b.escape©,a+='“>',a+=b.escape(Juicer.Helpers.prettify©),a+=”</option>“):(a+='<option value=”',a+=b.escape©,a+='“>',a+=b.escape(Juicer.Helpers.prettify©),a+=”</option>“)}}(this)),a+=”</select></div></div>“})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(a){var b;return b=this,”function“==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:”[object Array]“!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:”“),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return”[object Array]“==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?“”:a.skimSafe||!//.test(a)?a:this.safe(“”+a).replace(/&/g,“&”).replace(/</g,“<”).replace(/>/g,“>”).replace(/“/g,”"“)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a;return a=”“,(this.feed.customColors()||this.feed.get(”custom_css“))&&(a+='<div class=”juicer-custom-styles“><style>',a+=this.feed.customStyles(),a+=”</style></div>“),a})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(a){var b;return b=this,”function“==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:”[object Array]“!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:”“),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return”[object Array]“==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?“”:a.skimSafe||!//.test(a)?a:this.safe(“”+a).replace(/&/g,“&”).replace(/</g,“<”).replace(/>/g,“>”).replace(/“/g,”"“)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a;return a=”“,this.post.edited()&&!this.post.twitter()&&(a+='<div class=”j-edit“><span>(edited) </span>',a+=Juicer.Helpers.format(this.post.get(”edit“)),a+=”</div>“),a})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(a){var b;return b=this,”function“==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:”[object Array]“!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:”“),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return”[object Array]“==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?“”:a.skimSafe||!//.test(a)?a:this.safe(“”+a).replace(/&/g,“&”).replace(/</g,“<”).replace(/>/g,“>”).replace(/“/g,”"“)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a,b,c;return a=”“,c=[{name:”Your Feeds“,url:”/enterprise/“+this.model.get(”slug“)},{name:”Manage Users“,url:”/enterprise/“+this.model.get(”slug“)+”/users“},{name:”Edit Account“,url:”/enterprise/“+this.model.get(”slug“)+”/edit“},{name:”API Docs“,url:”/api“},{name:”Setup Whitelabel“,url:”/enterprise/“+this.model.get(”slug“)+”/white-label“}],b=”/“+JuicerBackbone.history.getFragment(),a+='<div class=”enterprise-sidebar“><ul class=”tc-slevin bg-white border“>',_u.each(c,function©{return function(d){return d.url===b?(a+='<li class=”enterprise-sidebar-link bold“>',a+=c.escape(d.name),a+=”</li>“):(a+='<li class=”enterprise-sidebar-link“><a class=”tc-slevin“ href=”',a+=c.escape(d.url),a+='“>',a+=c.escape(d.name),a+=”</a></li>“)}}(this)),a+=”</ul></div>“})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(a){var b;return b=this,”function“==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:”[object Array]“!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:”“),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return”[object Array]“==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?“”:a.skimSafe||!//.test(a)?a:this.safe(“”+a).replace(/&/g,“&”).replace(/</g,“<”).replace(/>/g,“>”).replace(/“/g,”"“)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a;return a=”“,a+='<div class=”filter_setting“>',this.label&&(a+='<label class=”settings-label“ for=”filter“>Display Filters at top of Feed</label>'),a+='<div class=”white-select mb-40“><select id=”filter_setting“ name=”feed“>',_u.each([”None“,”Social Type“,”Social Account“,”Grouped Terms“],function(b){return function©{return b.feed.get(”display_filter“)===c?(a+='<option selected=”true“ value=”',a+=b.escape©,a+='“>',a+=b.escape©,a+=”</option>“):(a+='<option value=”',a+=b.escape©,a+='“>',a+=b.escape©,a+=”</option>“)}}(this)),a+=”</select></div></div>“})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(a){var b;return b=this,”function“==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:”[object Array]“!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:”“),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return”[object Array]“==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?“”:a.skimSafe||!//.test(a)?a:this.safe(“”+a).replace(/&/g,“&”).replace(/</g,“<”).replace(/>/g,“>”).replace(/“/g,”"“)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a;return a=”“,a+='<div class=”height white-field after-label“><label for=”height“>Height</label><input class=”height“ max=”5000“ min=”100“ name=”feed“ type=”number“ value=”',a+=this.escape(this.feed.get(“height”)),a+='“ /> <label for=”height“>px</label></div>'})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(a){var b;return b=this,”function“==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:”[object Array]“!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:”“),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return”[object Array]“==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?“”:a.skimSafe||!//.test(a)?a:this.safe(“”+a).replace(/&/g,“&”).replace(/</g,“<”).replace(/>/g,“>”).replace(/“/g,”"“)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a;return a=”“,a+='<div class=”interval hide white-field after-label bordered“><label for=”interval“>Interval</label><input class=”interval“ max=”30000“ min=”100“ name=”feed“ type=”number“ value=”',a+=this.escape(this.feed.get(“interval”)),a+='“ /> <label for=”interval“>ms</label></div>'})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(a){var b;return b=this,”function“==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:”[object Array]“!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:”“),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return”[object Array]“==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?“”:a.skimSafe||!//.test(a)?a:this.safe(“”+a).replace(/&/g,“&”).replace(/</g,“<”).replace(/>/g,“>”).replace(/“/g,”"“)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a,b,c;return a=”“,null!=navigator.userAgent.match(”Edge“)&&null!=this.url.match(”facebook“)?(a+='<a aria-label=”’,a+=this.escape(this.aria),a+=‘“’,b=”“,b+=this.escape(this),b.length>0&&(a+=' class=”',a+=b,a+='“'),a+=' href=”',a+=this.escape(this.url),a+='“>',a+=this.escape(Juicer.Helpers.numberWithCommas(this.label)),a+=”</a>“):(a+='<a aria-label=”‘,a+=this.escape(this.aria),a+=’“‘,c=”“,c+=this.escape(this),c.length>0&&(a+=' class=”',a+=c,a+='“'),a+=' href=”',a+=this.escape(this.url),a+='“ target=”_blank“>',a+=this.escape(Juicer.Helpers.numberWithCommas(this.label)),a+=”</a>“),a})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(a){var b;return b=this,”function“==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:”[object Array]“!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:”“),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return”[object Array]“==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?“”:a.skimSafe||!//.test(a)?a:this.safe(“”+a).replace(/&/g,“&”).replace(/</g,“<”).replace(/>/g,“>”).replace(/“/g,”"“)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a;return a=”“,a+=this.container?'<div class=”j-loading-container“><div class=”j-loading“>Loading…</div></div>':this.wrapper?'<div class=”j-loading-wrapper“><div class=”j-loading“>Loading…</div></div>':this.inFeed?'<div class=”j-loading-wrapper“ style=”height: 42px“><div class=”j-loading“>Loading…</div></div>':'<div class=”j-loading“>Loading…</div>'})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(a){var b;return b=this,”function“==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:”[object Array]“!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:”“),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return”[object Array]“==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?“”:a.skimSafe||!//.test(a)?a:this.safe(“”+a).replace(/&/g,“&”).replace(/</g,“<”).replace(/>/g,“>”).replace(/“/g,”"“)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a;return a=”“,(null!=this.post.get(”unformatted_message“)||this.post.tumblrTitle())&&(a+='<div class=”j-message“>',a+=this.post.message(),a+=”</div>“),a+=Juicer.Helpers.renderPartial(”edit“,{post:this.post})})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(a){var b;return b=this,”function“==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:”[object Array]“!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:”“),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return”[object Array]“==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?“”:a.skimSafe||!//.test(a)?a:this.safe(“”+a).replace(/&/g,“&”).replace(/</g,“<”).replace(/>/g,“>”).replace(/“/g,”"“)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a,b;return a=”“,this.post.twitter()?(a+='<div class=”j-meta“><ul class=”j-twitter-intents“><li><a class=”j-twitter-reply“ href=”',a+=this.escape(this.post.replyIntent()),a+='“>Reply</a></li><li><a class=”j-twitter-retweet“ href=”',a+=this.escape(this.post.retweetIntent()),a+='“>Retweet</a></li><li><a class=”j-twitter-like“ href=”',a+=this.escape(this.post.likeIntent()),a+='“>Like</a></li></ul>',b=this.post.get(”external_created_at“),a+='<a href=”',a+=this.escape(this.post.link()),a+='“ target=”_blank“><time class=”j-date j-twitter-date“ datetime=”',a+=this.escape(b),a+='“>',a+=this.escape(Juicer.Helpers.fullDate(b,”%-d %b %Y“,!1)),a+=”</time></a></div>“):”Juicer“!==this.post.sourceType()&&(a+='<div class=”j-meta“><ul>',this.post.noMeta()||(a+=”<li>“,a+=Juicer.Helpers.renderPartial(”link“,{url:this.post.link(),label:this.post.get(”comment_count“),”class“:this.post.commentClass(),aria:”Comments“}),a+=”</li><li>“,a+=Juicer.Helpers.renderPartial(”link“,{url:this.post.link(),label:this.post.get(”like_count“),”class“:this.post.likeClass(),aria:”Likes“}),a+=”</li>“),a+=”</ul><nav>“,a+=Juicer.Helpers.renderPartial(”link“,{url:this.post.link(),label:”“,”class“:”j-“+this.post.lowerType()+” j-social“,aria:this.post.lowerType()}),a+=”</nav></div>“),a})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(a){var b;return b=this,”function“==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:”[object Array]“!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:”“),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return”[object Array]“==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?“”:a.skimSafe||!//.test(a)?a:this.safe(“”+a).replace(/&/g,“&”).replace(/</g,“<”).replace(/>/g,“>”).replace(/“/g,”"“)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a,b;return a=”“,b=this.feed.get(”posts“).models,b.length>0?_u.each(b,function(b){return function©{var d;return a+=”<li“,d=”“,d+=b.escape(c.classes()),d.length>0&&(a+=' class=”',a+=d,a+='“'),a+=”>“,a+=Juicer.Helpers.renderPartial(”actions“,{post:c,admin:!0}),a+=Juicer.Helpers.renderPartial(”feeds/user“,{post:c,feed:b.feed}),a+=”</li>“}}(this)):a+='<div class=”empty“><h2>No Moderated Posts!</h2></div>',a})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(a){var b;return b=this,”function“==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:”[object Array]“!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:”“),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return”[object Array]“==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?“”:a.skimSafe||!//.test(a)?a:this.safe(“”+a).replace(/&/g,“&”).replace(/</g,“<”).replace(/>/g,“>”).replace(/“/g,”"“)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a;return a=”“,a+='<div class=”order“><label class=”settings-label“ for=”order“>Post Order</label><div class=”white-select mb-30“><select id=”css“ name=”feed“>',_u.each([[”created_at“,”Most Recent First“],,[”random“,”Random“],[”popular“,”Most Popular“]],function(b){return function©{return b.feed.get(”order“)===c?(a+='<option selected=”true“ value=”’,a+=b.escape(c),a+=‘“>’,a+=b.escape(c),a+=”</option>“):(a+='<option value=”‘,a+=b.escape(c),a+=’“>‘,a+=b.escape(c),a+=”</option>“)}}(this)),a+=”</select></div></div>“})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(a){var b;return b=this,”function“==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:”[object Array]“!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:”“),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return”[object Array]“==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?“”:a.skimSafe||!//.test(a)?a:this.safe(“”+a).replace(/&/g,“&”).replace(/</g,“<”).replace(/>/g,“>”).replace(/“/g,”"“)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a,b;return a=”“,this.lazyLoad=this.lazyLoad||null!=this.feed&&this.feed.get(”lazy_load“)||!1,b=this.post.get(”external_created_at“),a+='<div class=”j-poster“>',this.post.poster()?(a+='<a href=”',a+=this.escape(this.post.get(“poster_url”)),a+='“ target=”_blank“>',this.post.get(”poster_image“)&&(this.lazyLoad&&”slider“===this.feed.get(”style“)||(this.lazyLoad?(a+='<img alt=”Profile image for ',a+=this.escape(this.post.get(“poster_name”)),a+='“ data-lazy=”',a+=this.escape(this.post.posterImage()),a+='“ data-poster-id=”',a+=this.escape(this.post.get(“poster_id”)),a+='“ />'):(a+='<img alt=”Profile image for ',a+=this.escape(this.post.get(“poster_name”)),a+='“ data-poster-id=”',a+=this.escape(this.post.get(“poster_id”)),a+='“ src=”',a+=this.escape(this.post.posterImage()),a+='“ />'))),this.post.twitter()?(a+='<div class=”j-twitter-poster“><div class=”j-twitter-display-name“>',a+=this.escape(this.post.get(”poster_display_name“)),a+='</div><div class=”j-twitter-screen-name“>@',a+=this.escape(this.post.get(”poster_name“)),a+=”</div></div>“):(a+=”<h3>“,a+=this.escape(this.post.get(”poster_name“)),a+=”</h3>“),this.post.twitter()?a+=Juicer.Helpers.renderPartial(”link“,{url:this.post.link(),label:”Twitter Logo“,”class“:”j-twitter j-twitter-text j-social j-twitter-post-icon“,aria:”twitter“}):this.post.ad||(a+='<time class=”j-date“ datetime=”',a+=this.escape(b),a+='“>',a+=this.escape(Juicer.Helpers.timeAgo(b)),a+=”</time>“),a+=”</a>“):(a+='<time class=”j-date“ datetime=”',a+=this.escape(b),a+='“>',a+=this.escape(Juicer.Helpers.timeAgo(b)),a+=”</time>“),a+=”</div>“})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(a){var b;return b=this,”function“==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:”[object Array]“!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:”“),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return”[object Array]“==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?“”:a.skimSafe||!//.test(a)?a:this.safe(“”+a).replace(/&/g,“&”).replace(/</g,“<”).replace(/>/g,“>”).replace(/“/g,”"“)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a;return a=”“,a+='<div class=”prevent-duplicates thirteen“><input name=”feed“ type=”hidden“ value=”0“ />',a+=this.feed.get(”prevent_duplicates“)?'<input checked=”true“ id=”prevent_duplicates“ name=”feed“ type=”checkbox“ />':'<input id=”prevent_duplicates“ name=”feed“ type=”checkbox“ />',a+='<label for=”prevent_duplicates“>Prevent Duplicate Posts</label><div aria-label=”Juicer will remove any post that has the same text as another post from a different source. It does this scan hourly.“ class=”sidebar-explainer sprite hint–right hint–medium“></div></div>'})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(a){var b;return b=this,”function“==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:”[object Array]“!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:”“),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return”[object Array]“==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?“”:a.skimSafe||!//.test(a)?a:this.safe(“”+a).replace(/&/g,“&”).replace(/</g,“<”).replace(/>/g,“>”).replace(/“/g,”"“)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a;return a=”“,a+='<div class=”profanity thirteen mb-10“><input name=”feed“ type=”hidden“ value=”0“ />',a+=this.feed.get(”profanity“)?'<input checked=”true“ id=”profanity“ name=”feed“ type=”checkbox“ />':'<input id=”profanity“ name=”feed“ type=”checkbox“ />',a+='<label for=”profanity“>Don't allow posts with profanity</label></div>'})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(a){var b;return b=this,”function“==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:”[object Array]“!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:”“), b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return”[object Array]“==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?“”:a.skimSafe||!//.test(a)?a:this.safe(“”+a).replace(/&/g,“&”).replace(/</g,“<”).replace(/>/g,“>”).replace(/“/g,”"“)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a;return a=”“,a+='<h1 class=”referral“><a href=”Powered“>www.juicer.io”>Powered by Juicer</a></h1>'})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(a){var b;return b=this,“function”==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:“[object Array]”!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:“”),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return“[object Array]”==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?”“:a.skimSafe||!//.test(a)?a:this.safe(”“+a).replace(/&/g,”&“).replace(/</g,”<“).replace(/>/g,”>“).replace(/”/g,“"”)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a;return a=“”,_u.each(,function(b){return function©{var d;return d=c.toLowerCase(),a+='<li class=“j-',a+=b.escape(d),a+=” j-“,a+=b.escape(d),a+='-text source j-social-icon ibt new-source-icon” data-type=“',a+=b.escape©,a+='”><span class=“uc bold”>',a+=b.escape©,a+=“</span></li>”}}(this)),a})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(a){var b;return b=this,“function”==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:“[object Array]”!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:“”),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return“[object Array]”==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?”“:a.skimSafe||!//.test(a)?a:this.safe(”“+a).replace(/&/g,”&“).replace(/</g,”<“).replace(/>/g,”>“).replace(/”/g,“"”)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a;return a=“”,a+='<div aria-label=“',a+=this.escape(this.hint),a+='” class=“bg-nav-header pv-15 tac mb-10 hint–medium fw hint–',a+=this.escape(this.hintPosition),a+=” “,a+=this.escape(this.attr),a+=” “,a+=this.escape(this.classes),a+='”><label class=“bold thirteen”>',a+=this.label,a+='</label><div class=“switch ibm ml-10”><input name=“feed” type=“hidden” value=“0” />',this.feed.get(this.attr)?(a+='<input checked=“true” class=“switch-checkbox” id=“',a+=this.escape(this.attr),a+='” name=“feed” type=“checkbox” />'):(a+='<input class=“switch-checkbox” id=“',a+=this.escape(this.attr),a+='” name=“feed” type=“checkbox” />'),a+='<label class=“switch-label” for=“',a+=this.escape(this.attr),a+='”><span class=“switch-inner”></span><span class=“switch-dot”></span></label></div></div>'})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(a){var b;return b=this,“function”==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:“[object Array]”!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:“”),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return“[object Array]”==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?”“:a.skimSafe||!//.test(a)?a:this.safe(”“+a).replace(/&/g,”&“).replace(/</g,”<“).replace(/>/g,”>“).replace(/”/g,“"”)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a,b,c;return a=“”,c=this.css||“j-button”,a+=“<a”,b=“”,b+=this.escape©,b.length>0&&(a+=' class=“',a+=b,a+='”'),a+=' href=“/plans”>Learn more about our other plans</a>'})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(a){var b;return b=this,“function”==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:“[object Array]”!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:“”),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return“[object Array]”==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?”“:a.skimSafe||!//.test(a)?a:this.safe(”“+a).replace(/&/g,”&“).replace(/</g,”<“).replace(/>/g,”>“).replace(/”/g,“"”)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a,b;return a=“”,a+=“<li”,b=“”,b+=this.escape(this.post.classes()),b.length>0&&(a+=' class=“',a+=b,a+='”'),a+=' data-id=“',a+=this.escape(this.post.get(”id“)),a+='”>',a+=Juicer.Helpers.renderPartial(“actions”,{post:this.post,admin:this.admin}),a+=Juicer.Helpers.renderPartial(“feeds/user”,{post:this.post}),a+=“</li>”})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(a){var b;return b=this,“function”==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:“[object Array]”!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:“”),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return“[object Array]”==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?”“:a.skimSafe||!//.test(a)?a:this.safe(”“+a).replace(/&/g,”&“).replace(/</g,”<“).replace(/>/g,”>“).replace(/”/g,“"”)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a;return a=“”,a+='<div class=“width white-field after-label bordered”><label for=“width”>Width</label><input class=“width” max=“5000” min=“100” name=“feed” type=“number” value=“',a+=this.escape(this.feed.get(”width“)),a+='” /> <label for=“width”>px</label></div>'})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(a){var b;return b=this,“function”==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:“[object Array]”!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:“”),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return“[object Array]”==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?”“:a.skimSafe||!//.test(a)?a:this.safe(”“+a).replace(/&/g,”&“).replace(/</g,”<“).replace(/>/g,”>“).replace(/”/g,“"”)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a,b;return a=“”,a+='<div class=“j-meta j-',a+=this.escape(this.post.lowerType()),a+='”><nav>',a+=Juicer.Helpers.renderPartial(“link”,{url:this.post.link(),label:“”,“class”:“j-”+this.post.lowerType()+“ j-social”,aria:“Link to ”+this.post.lowerType()+“ post.”}),a+=“</nav><ul>”,this.post.noMeta()||(a+=“<li>”,a+=Juicer.Helpers.renderPartial(“link”,{url:this.post.link(),label:this.post.get(“comment_count”),“class”:this.post.commentClass(),aria:“Comment Count”}),a+=“</li><li>”,a+=Juicer.Helpers.renderPartial(“link”,{url:this.post.link(),label:this.post.get(“like_count”),“class”:this.post.likeClass(),aria:“Like Count”}),a+=“</li>”),a+='</ul></div><div class=“j-text”><div class=“j-message”>',a+=this.post.message(),“Juicer”!==this.post.sourceType()&&(“hashtag”===this.post.termType()?(a+='<div class=“info”>Posted by <a href=“',a+=this.escape(this.post.get(”poster_url“)),a+='” target=“_blank”>',a+=this.escape(this.post.get(“poster_name”)),a+='</a> in <a href=“',a+=this.escape(this.post.termLink()),a+='” target=“_blank”>',a+=this.escape(this.post.term()),a+=“</a> on ”,a+=this.escape(this.post.sourceType()),a+=“ on ”,a+=this.escape(Juicer.Helpers.fullDate(this.post.get(“external_created_at”))),a+=“ </div>”):“Blog”===this.post.sourceType()?(a+='<div class=“info”>Posted at <a href=“’,a+=this.escape(this.post.get(”poster_url“)),a+='” target=“_blank”>',a+=this.escape(this.post.get(“poster_name”)),a+=“</a> on ”,a+=this.escape(Juicer.Helpers.fullDate(this.post.get(“external_created_at”))),a+=“ </div>”):(a+='<div class=“info”>Posted by <a href=“',a+=this.escape(this.post.get(”poster_url“)),a+='” target=“_blank”>',a+=this.escape(this.post.get(“poster_name”)),a+=“</a> on ”,a+=this.escape(this.post.sourceType()),a+=“ on ”,a+=this.escape(Juicer.Helpers.fullDate(this.post.get(“external_created_at”))),a+=“ </div>”)),a+=“</div></div>”,(b=this.post.get(“image”))&&(a+='<a href=“',a+=this.escape(this.post.link()),a+='” target=“_blank”><img alt=“',a+=this.escape(this.post.alt()),a+='” class=“j-content-image” src=“',a+=this.escape(b),a+='” /></a>'),a})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(a){var b;return b=this,“function”==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:“[object Array]”!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:“”),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return“[object Array]”==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?”“:a.skimSafe||!//.test(a)?a:this.safe(”“+a).replace(/&/g,”&“).replace(/</g,”<“).replace(/>/g,”>“).replace(/”/g,“"”)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a;return a=“”,a+=Juicer.Helpers.renderPartial(“content”,{post:this.post,feed:this.feed}),a+='<div class=“j-text”>',a+=Juicer.Helpers.renderPartial(“poster”,{post:this.post,feed:this.feed}),a+=Juicer.Helpers.renderPartial(“message”,{post:this.post}),a+=Juicer.Helpers.renderPartial(“meta”,{post:this.post}),a+=“</div>”})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(a){var b;return b=this,“function”==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:“[object Array]”!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:“”),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return“[object Array]”==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?”“:a.skimSafe||!//.test(a)?a:this.safe(”“+a).replace(/&/g,”&“).replace(/</g,”<“).replace(/>/g,”>“).replace(/”/g,“"”)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a;return a=“”,a+='<div class=“j-text-container”>',a+=Juicer.Helpers.renderPartial(“content”,{post:this.post,feed:this.feed}),a+='<div class=“j-text”>',this.post.twitter()&&(a+=Juicer.Helpers.renderPartial(“poster”,{post:this.post,feed:this.feed})),a+=Juicer.Helpers.renderPartial(“message”,{post:this.post}),“Juicer”===this.post.sourceType()||this.post.twitter()||(a+='<div class=“j-meta”><ul><li>',a+=Juicer.Helpers.renderPartial(“link”,{url:this.post.link(),label:this.post.get(“comment_count”),“class”:this.post.commentClass(),aria:“Comments”}),a+=“</li><li>”,a+=Juicer.Helpers.renderPartial(“link”,{url:this.post.link(),label:this.post.get(“like_count”),“class”:this.post.likeClass(),aria:“Likes”}),a+=“</li></ul></div>”),this.post.twitter()&&(a+=Juicer.Helpers.renderPartial(“meta”,{post:this.post})),a+=“</div></div>”,this.post.twitter()||(a+='<div class=“j-poster-meta”>',a+=Juicer.Helpers.renderPartial(“link”,{url:this.post.link(),label:“”,“class”:“j-”+this.post.lowerType()+“ j-social-icon”,aria:this.post.lowerType()}),a+='<a href=“',a+=this.escape(this.post.get(”poster_url“)),a+='” target=“_blank”>',a+=this.escape(this.post.get(“poster_name”)),a+=“</a></div>”),a})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(a){var b;return b=this,“function”==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:“[object Array]”!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:“”),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return“[object Array]”==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?”“:a.skimSafe||!//.test(a)?a:this.safe(”“+a).replace(/&/g,”&“).replace(/</g,”<“).replace(/>/g,”>“).replace(/”/g,“"”)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a,b;return a=“”,this.post.get(“poster_image”)||(b=“no-poster”),this.post.twitter()||(a+=Juicer.Helpers.renderPartial(“content”,{post:this.post,feed:this.feed})),a+='<div class=“j-post-container ',a+=this.escape(b),a+='”>',a+=Juicer.Helpers.renderPartial(“poster”,{post:this.post,feed:this.feed}),this.post.twitter()||(a+='<h3 class=“j-poster-meta”><a href=“',a+=this.escape(this.post.get(”poster_url“)),a+='” target=“_blank”>',a+=this.escape(this.post.get(“poster_name”)),a+='</a> <span class=“j-on”>on</span> <a href=“',a+=this.escape(this.post.get(”poster_url“)),a+='” target=“_blank”>',a+=this.escape(this.post.sourceType()),a+=“</a></h3>”),a+='<div class=“j-text”>',a+=Juicer.Helpers.renderPartial(“message”,{post:this.post}),this.post.twitter()&&(a+=Juicer.Helpers.renderPartial(“content”,{post:this.post,feed:this.feed})),a+=Juicer.Helpers.renderPartial(“meta”,{post:this.post}),a+=“</div></div>”})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(a){var b;return b=this,“function”==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:“[object Array]”!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:“”),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return“[object Array]”==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?”“:a.skimSafe||!//.test(a)?a:this.safe(”“+a).replace(/&/g,”&“).replace(/</g,”<“).replace(/>/g,”>“).replace(/”/g,“"”)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a;return a=“”,a+=Juicer.Helpers.renderPartial(“content”,{post:this.post,feed:this.feed}),a+='<div class=“j-text”>',a+=Juicer.Helpers.renderPartial(“message”,{post:this.post}),a+=Juicer.Helpers.renderPartial(“meta”,{post:this.post}),a+=“</div>”})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(a){var b;return b=this,“function”==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:“[object Array]”!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:“”),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return“[object Array]”==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?”“:a.skimSafe||!//.test(a)?a:this.safe(”“+a).replace(/&/g,”&“).replace(/</g,”<“).replace(/>/g,”>“).replace(/”/g,“"”)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a;return a=“”,a+=Juicer.Helpers.renderPartial(“poster”,{post:this.post,feed:this.feed}),this.post.twitter()||(a+=Juicer.Helpers.renderPartial(“content”,{post:this.post,feed:this.feed})),a+='<div class=“j-text”>',a+=Juicer.Helpers.renderPartial(“message”,{post:this.post}),this.post.twitter()&&(a+=Juicer.Helpers.renderPartial(“content”,{post:this.post,feed:this.feed})),a+=Juicer.Helpers.renderPartial(“meta”,{post:this.post}),a+=“</div>”})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(a){var b;return b=this,“function”==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:“[object Array]”!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:“”),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return“[object Array]”==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?”“:a.skimSafe||!//.test(a)?a:this.safe(”“+a).replace(/&/g,”&“).replace(/</g,”<“).replace(/>/g,”>“).replace(/”/g,“"”)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a,b;return a=“”,a+=“<li”,b=“”,b+=this.escape(this.post.classes()),b.length>0&&(a+=' class=“',a+=b,a+='”'),a+=' data-id=“',a+=this.escape(this.post.get(”id“)),a+='”>',a+=Juicer.Helpers.renderPartial(“actions”,{post:this.post,admin:this.admin}),null!=this.post.get(“image”)?(a+='<img alt=“',a+=this.escape(this.post.alt()),a+='” class=“j-content-image” src=“',a+=this.escape(this.post.get(”image“)),a+='” />'):(a+='<div class=“j-text”>',a+=Juicer.Helpers.renderPartial(“message”,{post:this.post}),a+=“</div>”),a+='<a class=“j-image” href=“',a+=this.escape(this.post.link()),a+='” target=“_blank”><div class=“j-living-wall-hover”></div></a></li>'})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(a){var b;return b=this,“function”==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:“[object Array]”!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:“”),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return“[object Array]”==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?”“:a.skimSafe||!//.test(a)?a:this.safe(”“+a).replace(/&/g,”&“).replace(/</g,”<“).replace(/>/g,”>“).replace(/”/g,“"”)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a;return a=“”,a+='<ul class=“j-display-filters”>Filters: ',_u.each(this.feed.filters(),function(b){return function©{var d,e,f,g;return f=b.feed.get(“display_filter”),e=b.filter||b.feed.filter,(c.filter(f)===e||null===c.filter(“filter”)&&“”===e)&&(g=!0),a+=“<li”,d=“”,d+=b.escape(c.filterClass(f,g,!0)),d.length>0&&(a+=' class=“',a+=d,a+='”'),a+=' data-filter=“',a+=b.escape(c.filter(f)),a+='”>',a+=b.escape(c.filterDisplay(f)),a+=“</li>”}}(this)),a+=“</ul>”})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(a){var b;return b=this,“function”==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:“[object Array]”!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:“”),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return“[object Array]”==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?”“:a.skimSafe||!//.test(a)?a:this.safe(”“+a).replace(/&/g,”&“).replace(/</g,”<“).replace(/>/g,”>“).replace(/”/g,“"”)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a;return a=“”,a+='<ul class=“j-filters filters”>',_u.each(this.feed.filters(),function(b){return function©{var d,e,f,g;return f=b.feed.get(“display_filter”),e=b.filter||b.feed.filter,(c.filter(f)===e||null===c.filter(“filter”)&&“”===e)&&(g=!0),a+=“<li”,d=“”,d+=b.escape(c.filterClass(f,g)),d.length>0&&(a+=' class=“',a+=d,a+='”'),a+=' data-filter=“',a+=b.escape(c.filter(f)),a+='”>',a+=b.escape(c.filterDisplay(f)),a+=“</li>”}}(this)),a+=“</ul>”})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(a){var b;return b=this,“function”==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:“[object Array]”!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:“”),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return“[object Array]”==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?”“:a.skimSafe||!//.test(a)?a:this.safe(”“+a).replace(/&/g,”&“).replace(/</g,”<“).replace(/>/g,”>“).replace(/”/g,“"”)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a;return a=“”,a+='<p style=“background: red; color: white”><strong>!!!</strong> The Google+ API will be deprecated on <strong>March 7, 2019.</strong> <br />You can add a source now, but we will no longer be able to fetch new Google+ posts after that date. <br />For more information see: <a href=“developers.google.com/+/api-shutdown” target=“_blank”>Google+ API Shutdown </a></p>'})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(a){var b;return b=this,“function”==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:“[object Array]”!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:“”),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return“[object Array]”==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?”“:a.skimSafe||!//.test(a)?a:this.safe(”“+a).replace(/&/g,”&“).replace(/</g,”<“).replace(/>/g,”>“).replace(/”/g,“"”)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a;return a=“”,a+='<h2 class=“new-source-title”>Connect Facebook Group Posts</h2>',this.results?this.results.models.length>0?(a+='<form accept-charset=“UTF-8” action=“/feeds/',a+=this.escape(this.feedId),a+='/sources” class=“source-form” method=“post”><input name=“source” type=“hidden” value=“Facebook” /><input name=“feed_id” type=“hidden” value=“',a+=this.escape(this.feedId),a+='” /><input name=“term_type” type=“hidden” value=“group” /><input class=“result-term” name=“term” type=“hidden” /><input class=“result-name” name=“name” type=“hidden” /><ul class=“search-results”>',_u.each(this.results.models,function(b){return function©{return a+='<li class=“search-result” data-id=“',a+=b.escape(c.get(”id“)),a+='” data-name=“',a+=b.escape(c.get(”name“)),a+='”>',a+=b.escape(c.get(“name”)),a+=“</li>”}}(this)),a+=“</ul></form>”):a+=“<h2>Sorry you aren't the admin of any facebook groups.</h2>”:a+='<a class=“j-button j-facebook j-facebook-border j-social-icon social-account social-j-button” href=“/auth/facebook”>Connect your Facebook account</a>',a})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(a){var b;return b=this,“function”==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:“[object Array]”!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:“”),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return“[object Array]”==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?”“:a.skimSafe||!//.test(a)?a:this.safe(”“+a).replace(/&/g,”&“).replace(/</g,”<“).replace(/>/g,”>“).replace(/”/g,“"”)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a,b;return a=“”,“Pinterest”===this.source.source()?a+='<h2 class=“new-source-title”>Add Pinterest Board</h2>':“Spotify”===this.source.source()?a+='<h2 class=“new-source-title”>Pull In Your Top Spotify Tracks</h2>':(a+='<h2 class=“new-source-title”>Add ',a+=this.escape(this.source.source()),a+=“ Hashtag</h2>”),“GooglePlus”===this.source.source()&&(a+=Juicer.Helpers.renderPartial(“source_form/google_plus_deprecation_warning”)),a+='<form accept-charset=“UTF-8” action=“#” class=“source-form” method=“post”><div style=“display:none”><input name=“utf8” type=“hidden” value=“✓” /></div><input name=“source” type=“hidden” value=“',a+=this.escape(this.source.source()),a+='” /><input name=“feed_id” type=“hidden” value=“',a+=this.escape(this.feedId),a+='” /><input name=“term_type” type=“hidden” value=“',a+=this.escape(this.type),a+='” />',“Pinterest”===this.source.source()?(a+='<label for=“source_term”>',a+=this.escape(this.source.label()),a+=“</label>”):“Spotify”===this.source.source()?(a+='<input name=“term” type=“hidden” value=“',a+=this.escape(this.socialAccount.get(”name“)),a+='” />'):a+='<label for=“source_term”>#</label>',b=“Pinterest”===this.source.source()?“pinterest-username/board-name”:“”,“Spotify”!==this.source.source()&&(a+='<input autocomplete=“off” id=“source_term” name=“term” placeholder=“',a+=this.escape(b),a+='” type=“text” />'),“Twitter”===this.source.source()&&(a+='<div class=“feed-term-type”><input id=“retweets” name=“retweets” type=“checkbox” value=“retweets” /><label for=“retweets”>Include retweets</label><input id=“replies” name=“replies” type=“checkbox” value=“replies” /><label for=“replies”>Include @replies</label></div>'),a+='<input class=“new-source-submit” name=“commit” type=“submit” value=“Create Source” /></form>'})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(a){var b;return b=this,“function”==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:“[object Array]”!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:“”),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return“[object Array]”==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?”“:a.skimSafe||!//.test(a)?a:this.safe(”“+a).replace(/&/g,”&“).replace(/</g,”<“).replace(/>/g,”>“).replace(/”/g,“"”)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a,b;return a=“”,a+='<h2 class=“new-source-title”>Add ',a+=this.escape(this.source.source()),a+=' Location</h2><form accept-charset=“UTF-8” action=“#” class=“source-form” method=“post”><div style=“display:none”><input name=“utf8” type=“hidden” value=“✓” /></div><input name=“source” type=“hidden” value=“', a+=this.escape(this.source.source()),a+='” /><input name=“feed_id” type=“hidden” value=“',a+=this.escape(this.feedId),a+='” /><input name=“term_type” type=“hidden” value=“',a+=this.escape(this.type),a+='” />',b=“Instagram”===this.source.source()?“www.instagram.com/explore/locations/”:“https://www.twitter.com/locations/”,a+=‘ autocomplete=“off” id=“source_term” name=“term” placeholder=“',a+=this.escape(this.source.placeholder()),a+='” type=“text” /><label for=“source_term”>.tumblr.com</label>'):“DeviantArt”===this.source.source()?(a+='<label for=“source_term”> autocomplete=“off” id=“source_term” name=“term” placeholder=“',a+=this.escape(this.source.placeholder()),a+='” type=“text” /><label for=“source_term”>.deviantart.com</label>'):“Hashtag”===this.source.source()?(a+='<ul class=“add-a-hashtag”>',_u.each(_u.filter(this.source.hashtagSupporters,function(a){return“Facebook”!==a}),function(b){return function©{return a+='<li class=“j-',a+=b.escape(c.toLowerCase()),a+=' hashtag-source j-social-icon ibt tc-white uc bold” data-type=“',a+=b.escape©,a+='”><span>',a+=b.escape©,a+=“</span></li>”}}(this)),a+=“</ul>”):(a+='<label for=“source_term”>',a+=this.escape(this.source.label()),a+='</label><input autocomplete=“off” id=“source_term” name=“term” placeholder=“',a+=this.escape(this.source.placeholder()),a+='” type=“text” />',“Facebook”===this.source.source()&&(a+='<div class=“feed-term-type”><input id=“term_type” name=“term_type” type=“checkbox” value=“feed” /><label for=“term_type”>Include posts that mention my page.</label></div>'),“Twitter”===this.source.source()&&(a+='<div class=“feed-term-type”><input id=“retweets” name=“retweets” type=“checkbox” value=“retweets” /><label for=“retweets”>Include retweets</label><input id=“replies” name=“replies” type=“checkbox” value=“replies” /><label for=“replies”>Include @replies</label></div>')),“Hashtag”!==this.source.source()&&(a+='<input class=“new-source-submit” name=“commit” type=“submit” value=“Create Source” />',a+=Juicer.Helpers.renderPartial(“source_form/username_example”,{source:this.source})),a+=“</form>”})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(a){var b;return b=this,“function”==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:“[object Array]”!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:“”),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return“[object Array]”==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?”“:a.skimSafe||!//.test(a)?a:this.safe(”“+a).replace(/&/g,”&“).replace(/</g,”<“).replace(/>/g,”>“).replace(/”/g,“"”)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a,b;return a=“”,b=this.source.usernameExample(),b&&(a+='<div class=“source-form-example mt-40”><h4 class=“tc-orange ibt bold”>For Example:</h4> if you want to add ',a+=this.escape(b.name),a+=' copy & paste the bold part: <br /><a href=“',a+=this.escape(b.link),a+='” target=“_blank”>',a+=b.formattedLink,a+=“</a></div>”),a})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(a){var b;return b=this,“function”==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:“[object Array]”!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:“”),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return“[object Array]”==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?”“:a.skimSafe||!//.test(a)?a:this.safe(”“+a).replace(/&/g,”&“).replace(/</g,”<“).replace(/>/g,”>“).replace(/”/g,“"”)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a,b,c;switch(a=“”,a+='<div class=“video-wrapper”>',c=this.overlay?!0:!1,a+='<video autoplay=“autoplay”',b=c){case!0:a+=' controls=“controls”';break;case!1:case null:break;default:a+=' controls=“',a+=this.escape(b),a+='”'}return a+=' loop=“true”><source src=“',a+=this.escape(this.video),a+='” type=“video/mp4” /></video></div>'})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(a){var b;return b=this,“function”==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:“[object Array]”!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:“”),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return“[object Array]”==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?”“:a.skimSafe||!//.test(a)?a:this.safe(”“+a).replace(/&/g,”&“).replace(/</g,”<“).replace(/>/g,”>“).replace(/”/g,“"”)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a,b,c;switch(a=“”,a+='<div class=“video-wrapper”>',c=this.overlay?!0:!1,a+='<video autoplay=“autoplay”',b=c){case!0:a+=' controls=“controls”';break;case!1:case null:break;default:a+=' controls=“',a+=this.escape(b),a+='”'}return a+=' loop=“true”><source src=“',a+=this.escape(this.video),a+='” type=“video/mp4” /></video></div>'})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(a){var b;return b=this,“function”==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:“[object Array]”!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:“”),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return“[object Array]”==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?”“:a.skimSafe||!//.test(a)?a:this.safe(”“+a).replace(/&/g,”&“).replace(/</g,”<“).replace(/>/g,”>“).replace(/”/g,“"”)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a;return a=“”,a+='<div class=“video-wrapper”><embed autoplay=“true” autostart=“true” play=“true” src=“',a+=this.escape(this.video),a+='&autoPlay=true” wmode=“transparent” /></div>'})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(a){var b;return b=this,“function”==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:“[object Array]”!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:“”),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return“[object Array]”==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?”“:a.skimSafe||!//.test(a)?a:this.safe(”“+a).replace(/&/g,”&“).replace(/</g,”<“).replace(/>/g,”>“).replace(/”/g,“"”)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a,b,c;switch(a=“”,a+='<div class=“instagram-wrapper”>',c=this.overlay?!0:!1,a+='<video autoplay=“autoplay”',b=c){case!0:a+=' controls=“controls”';break;case!1:case null:break;default:a+=' controls=“',a+=this.escape(b),a+='”'}return a+=' id=“video” loop=“true”><source src=“',a+=this.escape(this.video),a+='” /></video></div>'})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(a){var b;return b=this,“function”==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:“[object Array]”!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:“”),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return“[object Array]”==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?”“:a.skimSafe||!//.test(a)?a:this.safe(”“+a).replace(/&/g,”&“).replace(/</g,”<“).replace(/>/g,”>“).replace(/”/g,“"”)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a;return a=“”,a+='<div class=“video-wrapper”><iframe allow=“autoplay” frameborder=“no” scrolling=“no” src=“‘})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST[”partials/video/_spotify_embed“]=function(){return”>w.soundcloud.com/player/?url=https%3A//api.soundcloud.com/tracks/’,a+=this.escape(this.id),a+=‘&auto_play=true&hide_related=false&show_comments=true&show_user=true&show_reposts=false&visual=true&show_teaser=false“>’})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST[”partials/video/_spotify_embed“]=function(){return this.Skim={access:function(a){var b;return b=this,”function“==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:”[object Array]“!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:”“),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return”[object Array]“==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?“”:a.skimSafe||!//.test(a)?a:this.safe(“”+a).replace(/&/g,“&”).replace(/</g,“<”).replace(/>/g,“>”).replace(/“/g,”"“)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a;return a=”“,a+='<div class=”video-wrapper“><iframe allowtransparency=”true“ frameborder=”0“ src=”‘})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST[“partials/video/_tumblr_embed”]=function(){return“>embed.spotify.com/?uri=spotify:track:’,a+=this.escape(this.id),a+=‘”>’})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST[“partials/video/_tumblr_embed”]=function(){return this.Skim={access:function(a){var b;return b=this,“function”==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:“[object Array]”!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:“”),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return“[object Array]”==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?”“:a.skimSafe||!//.test(a)?a:this.safe(”“+a).replace(/&/g,”&“).replace(/</g,”<“).replace(/>/g,”>“).replace(/”/g,“"”)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a;return a=“”,a+='<div class=“video-wrapper”>',a+=this.video,a+=“</div>”})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(a){var b;return b=this,“function”==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:“[object Array]”!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:“”),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return“[object Array]”==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?”“:a.skimSafe||!//.test(a)?a:this.safe(”“+a).replace(/&/g,”&“).replace(/</g,”<“).replace(/>/g,”>“).replace(/”/g,“"”)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a,b,c;switch(a=“”,a+='<div class=“twitter-wrapper”>',c=this.overlay?!0:!1,a+='<video autoplay=“autoplay”',b=c){case!0:a+=' controls=“controls”';break;case!1:case null:break;default:a+=' controls=“',a+=this.escape(b),a+='”'}return a+=' loop=“true”><source src=“',a+=this.escape(this.video),a+='” type=“video/mp4” /></video></div>'})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(a){var b;return b=this,“function”==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:“[object Array]”!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:“”),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return“[object Array]”==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?”“:a.skimSafe||!//.test(a)?a:this.safe(”“+a).replace(/&/g,”&“).replace(/</g,”<“).replace(/>/g,”>“).replace(/”/g,“"”)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a;return a=“”,a+='<div class=“video-wrapper”><iframe allowfullscreen=“true” frameborder=“0” mozallowfullscreen=“true” src=“//player.vimeo.com/video/',a+=this.escape(this.id),a+='?autoplay=1&title=0&byline=0&portrait=0” webkitallowfullscreen=“true”></iframe></div>'})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(a){var b;return b=this,“function”==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:“[object Array]”!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:“”),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return“[object Array]”==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?”“:a.skimSafe||!//.test(a)?a:this.safe(”“+a).replace(/&/g,”&“).replace(/</g,”<“).replace(/>/g,”>“).replace(/”/g,“"”)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a;return a=“”,a+='<div class=“vine-wrapper”><iframe frameborder=“0” src=“',a+=this.escape(this.id),a+='/card?audio=1”></iframe><script src=“‘})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST[”partials/video/_youtube_embed“]=function(){return”>platform.vine.co/static/scripts/embed.js“>’})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST[”partials/video/_youtube_embed“]=function(){return this.Skim={access:function(a){var b;return b=this,”function“==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:”[object Array]“!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:”“),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return”[object Array]“==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?“”:a.skimSafe||!//.test(a)?a:this.safe(“”+a).replace(/&/g,“&”).replace(/</g,“<”).replace(/>/g,“>”).replace(/“/g,”"“)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a,b;return a=”“,a+='<div class=”video-wrapper“>',b=this.overlay?”autoplay=1&rel=0“:”autoplay=1&rel=0&controls=0“,a+='<iframe allowfullscreen=”allowfullscreen“ frameborder=”0“ src=”‘})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST.plan_change=function(){return“>www.youtube-nocookie.com/embed/’,a+=this.escape(this.id),a+=”?“,a+=this.escape(b),a+=‘”>’})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST.plan_change=function(){return this.Skim={access:function(a){var b;return b=this, “function”==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:“[object Array]”!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:“”),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return“[object Array]”==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?”“:a.skimSafe||!//.test(a)?a:this.safe(”“+a).replace(/&/g,”&“).replace(/</g,”<“).replace(/>/g,”>“).replace(/”/g,“"”)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a;return a=“”,a+='<div class=“change-plan-overlay tc-gray”><h2 class=“light tc-orange fs-1-75”>Changing Your Juicer Plan</h2><div class=“plan-change-summary cf mb-40 pb-40 relative”><div class=“existing-plan fl”><h3 class=“bold tc-grapefruit”>Current Plan: ',a+=this.escape(this.model.planCapital()),a+=“ - $”,a+=this.escape(this.model.get(“cost_to_i”)),a+=“/mo</h3><h4>”,a+=this.model.get(“subtitle”),a+='</h4></div><div class=“change-plan-arrow sprite”></div><div class=“new-plan fr”><h3 class=“bold tc-grapefruit”>New Plan: ',a+=this.escape(this.model.newPlanCapital()),a+=“ - $”,a+=this.escape(this.model.get(“new_cost”)),a+=“/mo</h3><h4>”,a+=this.model.get(“new_subtitle”),a+=“</h4></div></div>”,“small”===this.model.get(“new_plan”)?(a+='<div class=“change-plan-explainer mb-25”>Your subscription will no longer renew and your Juicer account will automatically downgrade to a <strong>Small</strong> plan on <strong>',a+=this.escape(this.model.downgradeDate()),a+='</strong></div><div class=“archive-mode-explainer”><strong class=“tc-grapefruit up”>Notice:</strong> Fully downgrading will remove all extra sources and feeds from your Juicer account. If you’d like to keep an archive of these feeds, consider downgrading to <a class=“tc-grapefruit tdu” data-method=“put” href=“/plans/archive”>Archive Mode</a> for $5/Month! <form action=“/churns” class=“tac mt-30” method=“post”><input name=“authenticity_token” type=“hidden” value=“',a+=this.escape(this.csrf),a+='” /><input name=“redirect_path” type=“hidden” value=“/downgrade” /><input class=“j-button” data-confirm=“Are you sure you want to downgrade to small?” data-disable-with=“Downgrading…” type=“submit” value=“Downgrade to Small” /></form></div>'):(a+='<div class=“change-plan-explainer”>You will be charged a prorated amount for the remainer of this month for this new plan, and fully charged next on your normal billing date, <strong>',a+=this.escape(this.model.downgradeDate()),a+='</strong></div><form action=“/plans/',a+=this.escape(this.model.get(”new_plan“)),a+='” class=“tac mt-30” method=“post”><input name=“_method” type=“hidden” value=“put” /><input name=“authenticity_token” type=“hidden” value=“',a+=this.escape(this.csrf),a+='” /><input class=“j-button” data-disable-with=“Loading…” type=“submit” value=“',a+=this.escape(this.model.get(”verb“)),a+='” /></form>'),a+=“</div>”})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST.please_wait=function(){return this.Skim={access:function(a){var b;return b=this,“function”==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:“[object Array]”!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:“”),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return“[object Array]”==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?”“:a.skimSafe||!//.test(a)?a:this.safe(”“+a).replace(/&/g,”&“).replace(/</g,”<“).replace(/>/g,”>“).replace(/”/g,“"”)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a;return a=“”,a+='<div class=“mt-15 tc-gray fourteen please-wait”><h3 class=“strong”>Please be patient.</h3><p>It can take up to 30 seconds to pull in all the posts.</p><p>Taking forever? <a class=“tc-gray bold” href=“/contact”>Contact Us</a></p></div>'})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST.post_edit=function(){return this.Skim={access:function(a){var b;return b=this,“function”==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:“[object Array]”!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:“”),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return“[object Array]”==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?”“:a.skimSafe||!//.test(a)?a:this.safe(”“+a).replace(/&/g,”&“).replace(/</g,”<“).replace(/>/g,”>“).replace(/”/g,“"”)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a;return a=“”,a+='<div class=“p-50”><h2 class=“tac light fs-2 tc-orange mb-30”>Edit Post</h2>',a+=Juicer.Helpers.renderPartial(“poster”,{post:this.post}),a+='<div class=“message-container”>',a+=Juicer.Helpers.renderPartial(“message”,{post:this.post}),a+=“</div>”,this.feed.get(“moderation_allowed?”)?(a+='<form><textarea class=“bordered mv-25” placeholder=“Add text or links to the post”>',a+=this.escape(this.post.get(“edit”)),a+='</textarea><div class=“tac”><input class=“j-button” type=“submit” value=“Add content” /></div></form>'):a+='<h3>Only Paid accounts can edit posts. <a href=“/plans”>Upgrade your account.</a></h3>',a+=“</div>”})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST.post_overlay=function(){return this.Skim={access:function(a){var b;return b=this,“function”==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:“[object Array]”!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:“”),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return“[object Array]”==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?”“:a.skimSafe||!//.test(a)?a:this.safe(”“+a).replace(/&/g,”&“).replace(/</g,”<“).replace(/>/g,”>“).replace(/”/g,“"”)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a;return a=“”,a+='<div class=“j-post-overlay juicer-feed loaded ',a+=this.escape(this.post.gallery()?”j-gallery“:void 0),a+='” data-id=“',a+=this.escape(this.post.get(”id“)),a+='”>',this.post.isVideo()?a+=Juicer.Helpers.renderPartial(“video/”+this.post.lowerType()+“_embed”,{id:this.post.get(“external_id”),video:this.post.get(“video”),overlay:!0}):(a+='<div class=“image”>',a+=Juicer.Helpers.renderPartial(“content”,{post:this.post,feed:this.feed,overlay:!0}),a+=“</div>”),a+='<div class=“j-overlay-text ',a+=this.escape(this.post.postType()),a+='”>',a+=Juicer.Helpers.renderPartial(“poster”,{post:this.post,lazyLoad:!1}),this.post.get(“unformatted_message”)&&(a+='<div class=“j-message”>',a+=this.post.fullMessage(),a+=“</div>”),a+=Juicer.Helpers.renderPartial(“edit”,{post:this.post}),a+=Juicer.Helpers.renderPartial(“meta”,{post:this.post}),a+='<div class=“j-bottom”>',a+=Juicer.Helpers.renderPartial(“link”,{url:this.post.link(),label:“View on ”+this.post.sourceType(),“class”:“juicer-button j-”+this.post.lowerType(),aria:this.post.lowerType()}),a+='<ul class=“j-share”><li><a class=“j-facebook share” href=“',a+=this.escape(this.post.facebookShare()),a+='” target=“_blank”>Facebook</a></li><li><a class=“j-twitter share” href=“',a+=this.escape(this.post.twitterShare()),a+='” target=“_blank”>Twitter</a></li><li><a class=“j-googleplus share” href=“',a+=this.escape(this.post.googlePlusShare()),a+='” target=“_blank”>Google+</a></li><li><a class=“j-pinterest share” href=“',a+=this.escape(this.post.pinterestShare()),a+='” target=“_blank”>Pinterest</a></li><li><a class=“j-linkedin share” href=“',a+=this.escape(this.post.linkedInShare()),a+='” target=“_blank”>LinkedIn</a></li><li><a class=“j-email share” href=“',a+=this.escape(this.post.emailShare()),a+='” target=“_blank”>Email</a></li></ul></div><div class=“j-navigate”><a class=“j-previous” data-post-id=“',a+=this.escape(this.previous.get(”id“)),a+='”><span>Previous</span></a><a class=“j-next” data-post-id=“',a+=this.escape(this.next.get(”id“)),a+='”><span>Next</span></a></div></div></div>'})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST.sidebar=function(){return this.Skim={access:function(a){var b;return b=this,“function”==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:“[object Array]”!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:“”),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return“[object Array]”==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?”“:a.skimSafe||!//.test(a)?a:this.safe(”“+a).replace(/&/g,”&“).replace(/</g,”<“).replace(/>/g,”>“).replace(/”/g,“"”)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a;return a=“”,a+='<h1 class=“fs-1-75 tc-off-white tac sidebar-feed-name”>',a+=this.escape(this.feed.get(“name”)),a+='<a class=“feed-name-edit sprite”>Edit</a></h1><div class=“relative”><div class=“tac mb-30”><a class=“j-button add-source green”>+ Add Social Media Source</a></div><ul class=“sidebar-menu tc-off-white”><li class=“menu-item” id=“sources”>Social Media Sources</li><li class=“menu-item alert-menu-item” data-moderation-count=“!” id=“social_accounts”>Expired Social Accounts</li><li class=“menu-item” id=“settings”>Feed Settings</li><li class=“menu-item” id=“design”>Custom Design</li><li class=“menu-item” id=“embed”>Embed In Your Site</li><li class=“menu-item alert-menu-item” data-moderation-count=“',a+=this.escape(this.feed.moderationStatus()),a+='” id=“moderate”>Moderate and Filter</li><li class=“menu-item slide-menu-item” id=“analytics”>Analytics</li><li class=“menu-item slide-menu-item” id=“hub”>Share your Feed</li>',“small”===this.feed.get(“plan”)&&(a+='<li class=“menu-item slide-menu-item” id=“features”>Additional Features</li>'),a+='<li class=“menu-item slide-menu-item” id=“synced”>Last Sync ',a+=this.escape(Juicer.Helpers.fullDate(this.feed.get(“last_synced”))),a+=“</li></ul></div>”})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST.source_form=function(){return this.Skim={access:function(a){var b;return b=this,“function”==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:“[object Array]”!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:“”),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return“[object Array]”==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?”“:a.skimSafe||!//.test(a)?a:this.safe(”“+a).replace(/&/g,”&“).replace(/</g,”<“).replace(/>/g,”>“).replace(/”/g,“"”)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a,b;return a=“”,b={source:this.source,csrf:this.csrf,feed:this.feed,type:this.type,socialAccounts:this.socialAccounts,results:this.results},a+='<div class=“tac”>',this.feed?this.feed.get(“more_sources_allowed?”)?a+=Juicer.Helpers.renderPartial(this.feed.newSourcePartial(),b):(a+='<div class=“p-50”><h2 class=“tc-orange fs-2 light”>Upgrade to add more sources</h2><h3 class=“mb-25”>Unfortunately, the ',a+=this.escape(this.feed.get(“plan”)),a+=“ plan only allows ”,a+=this.escape(this.feed.get(“max_sources”)),a+=“ sources.</h3>”,a+=Juicer.Helpers.renderPartial(“upgrade_plan”,{feed:this.feed}),a+=“</div>”):a+=Juicer.Helpers.renderPartial(“source_form/new”,b),a+=“</div>”})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(a){var b;return b=this,“function”==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:“[object Array]”!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:“”),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return“[object Array]”==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?”“:a.skimSafe||!//.test(a)?a:this.safe(”“+a).replace(/&/g,”&“).replace(/</g,”<“).replace(/>/g,”>“).replace(/”/g,“"”)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a;return a=“”,a+='<form accept-charset=“UTF-8” class=“tac p-50” id=“manual_post” method=“post”><h2 class=“light fs-2 tc-orange mb-30”>Add a Post Manually to ',a+=this.escape(this.source.displayName()),a+=“</h2>”,this.feed.notSmall()?(a+='<input name=“source_id” type=“hidden” value=“',a+=this.escape(this.source.get(”id“)),a+='”><input autocomplete=“off” class=“source-overlay-field” id=“link” name=“link” placeholder=“ex: twitter.com/juicerio/status/615555384300961792” type=“text” /><input class=“j-button” name=“commit” type=“submit” value=“Add Post” /></input>'):(a+='<h3 style=“margin-bottom:1.5rem”>Unfortunately, the ',a+=this.escape(this.feed.get(“plan”)),a+=“ plan doesn't allow you to manually enter posts. Please upgrade!</h3>”,a+=Juicer.Helpers.renderPartial(“upgrade_plan”,{feed:this.feed})),a+=“</form>”})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(a){var b;return b=this,“function”==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:“[object Array]”!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:“”),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return“[object Array]”==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?”“:a.skimSafe||!//.test(a)?a:this.safe(”“+a).replace(/&/g,”&“).replace(/</g,”<“).replace(/>/g,”>“).replace(/”/g,“"”)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a,b,c;return a=“”,a+='<form accept-charset=“UTF-8” class=“tac p-50 source-update” method=“post”><input name=“id” type=“hidden” value=“',a+=this.escape(this.source.get(”id“)),a+='” /><h2 class=“light fs-2 tc-orange mb-30”>Set Moderation Filters for ',a+=this.escape(this.source.displayName()),a+='</h2><h3 class=“fifteen tc-gray mb-15”>These work the same way as the moderation and filtering for your whole feed, but just apply to this one sources posts. Read more about it <a class=“tc-gray bold” href=“/blog/walkthrough-moderating-and-filtering-your-social-posts-in-juicer”>here</a>. </h3>',c=“list words, @usernames, or hastags”,b=“Separate filters with a comma. Filters are case-sensitive.”,a+='<h3 class=“settings-label”>Disallow posts with these words:</h3><textarea class=“moderation-filter source-overlay-textarea thirteen mb-10 bc-gray” name=“disallowed” placeholder=“',a+=this.escape©,a+=” to block. “,a+=this.escape(b),a+='”>',a+=this.source.disallowed(),a+='</textarea><h3 class=“settings-label”>Only allow posts with these words:</h3><textarea class=“moderation-filter source-overlay-textarea thirteen mb-20” name=“allowed” placeholder=“',a+=this.escape©,a+=” to allow. “,a+=this.escape(b),a+='”>',a+=this.source.allowed(),a+='</textarea><div class=“mb-15”><input name=“queue” type=“hidden” value=“0” />',a+=this.source.get(“queue”)?'<input checked=“true” id=“queue” name=“queue” type=“checkbox” />':'<input id=“queue” name=“queue” type=“checkbox” />',a+='<label for=“queue”>Send all posts to moderation queue</label></div><input class=“j-button” name=“commit” type=“submit” value=“Save Moderation Settings” /></form>'})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(a){var b;return b=this,“function”==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:“[object Array]”!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:“”),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return“[object Array]”==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?”“:a.skimSafe||!//.test(a)?a:this.safe(”“+a).replace(/&/g,”&“).replace(/</g,”<“).replace(/>/g,”>“).replace(/”/g,“"”)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a;return a=“”,a+='<form accept-charset=“UTF-8” class=“tac p-50 source-update” method=“post”><h2 class=“light fs-2 tc-orange mb-30”>Rename ',a+=this.escape(this.source.displayName()),a+='</h2><p class=“tc-gray fourteen mb-30”>This will <strong>not</strong> show different posts. To display different posts through a new source, delete this source, and add a new one with your new hashtag or social account. </p><input name=“id” type=“hidden” value=“',a+=this.escape(this.source.get(”id“)),a+='” /><input autocomplete=“off” class=“source-overlay-field” name=“name” placeholder=“How you want the name of your source to display on Juicer.” type=“text” value=“',a+=this.escape(this.source.displayTerm()),a+='” /><input class=“j-button” name=“commit” type=“submit” value=“Update Name” /></form>'})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST.widget=function(){return this.Skim={access:function(a){var b;return b=this,“function”==typeof b&&(b=b.call(this)),b===!0?:b===!1||null==b?!1:“[object Array]”!==Object.prototype.toString.call(b)?:0===b.length?!1:b},withContext:function(a,b){var c,d;return c=function(a){var b;return b=function(){},b.prototype=a,new b},a=c(a),a.safe||(a.safe=this.safe||function(a){var b;return(null!=a?a.skimSafe:void 0)?a:(b=new String(null!=a?a:“”),b.skimSafe=!0,b)}),a.isArray=Array.isArray||function(a){return“[object Array]”==={}.toString.call(a)},a.flatten=d=function(a){var b,c,e,f;for(c=[],e=0,f=a.length;f>e;e++)b=a,b instanceof Array?c=c.concat(d(b)):c.push(b);return c},a.escape||(a.escape=this.escape||function(a){return null==a?”“:a.skimSafe||!//.test(a)?a:this.safe(”“+a).replace(/&/g,”&“).replace(/</g,”<“).replace(/>/g,”>“).replace(/”/g,“"”)}),b.call(a)}},function(a){return null==a&&(a={}),Skim.withContext.call({},a,function(){var a;return a=“”,a+='<div class=“flip-container”><div class=“flipper”><div class=“front”>',a+=Juicer.Helpers.renderPartial(“widget_card”,{post:this.first,admin:this.admin}),a+='</div><div class=“back”>',a+=Juicer.Helpers.renderPartial(“widget_card”,{post:this.second,admin:this.admin}),a+=“</div></div></div>”})}}.call(this)}.call(this),function(){var a=function(a,c){function d(){this.constructor=a}for(var e in c)b.call(c,e)&&(a=c);return d.prototype=c.prototype,a.prototype=new d,a.__super__=c.prototype,a},b={}.hasOwnProperty;Juicer.Models.Assignment=function(b){function c(){return c.__super__.constructor.apply(this,arguments)}return a(c,b),c.prototype.urlRoot=“/api/assignments”,c}(JuicerBackbone.Model)}.call(this),function(){var a=function(a,c){function d(){this.constructor=a}for(var e in c)b.call(c,e)&&(a=c);return d.prototype=c.prototype,a.prototype=new d,a.__super__=c.prototype,a},b={}.hasOwnProperty;Juicer.Models.Click=function(b){function c(){return c.__super__.constructor.apply(this,arguments)}return a(c,b),c.prototype.urlRoot=function(){return Juicer.Constants.API_ROOT+“/api/clicks”},c}(JuicerBackbone.Model)}.call(this),function(){var a=function(a,c){function d(){this.constructor=a}for(var e in c)b.call(c,e)&&(a=c);return d.prototype=c.prototype,a.prototype=new d,a.__super__=c.prototype,a},b={}.hasOwnProperty;Juicer.Models.Enterprise=function(b){function c(){return c.__super__.constructor.apply(this,arguments)}return a(c,b),c.prototype.idAttribute=“slug”,c.prototype.urlRoot=“/api/enterprise”,c.prototype.page=1,c.prototype.fetch=function(a){return a=null!=a?_u.clone(a):{},a.data=null!=a.data?_u.extend(a.data,this.data()):this.data(),c.__super__.fetch.call(this,a)},c.prototype.parse=function(a,b){var d,e;return a.current_page>1&&a.feeds.length>0&&(d=_u.map(this.get(“feeds”).models,function(a){return function(a){return a.attributes}}(this)),e=a.feeds,a.feeds=d.concat(e),a.new_feeds=e),c.__super__.parse.call(this,a,b)},c.prototype.data=function(){var a;return a={page:this.page},this.query&&(a.query=this.query),a},c.prototype.nextPage=function(){return this.page+=1},c.prototype.moreFeeds=function(){return this.get(“current_page”)<this.get(“total_pages”)},c.prototype.relations=,c}(JuicerBackbone.AssociatedModel)}.call(this),function(){var a=function(a,c){function d(){this.constructor=a}for(var e in c)b.call(c,e)&&(a=c);return d.prototype=c.prototype,a.prototype=new d,a.__super__=c.prototype,a},b={}.hasOwnProperty;Juicer.Models.EnterpriseUsers=function(b){function c(){return c.__super__.constructor.apply(this,arguments)}return a(c,b),c.prototype.idAttribute=“slug”,c.prototype.url=function(){return“/api/enterprise/”+this.get(“slug”)+“/users”},c.prototype.relations=,c}(JuicerBackbone.AssociatedModel)}.call(this),function(){var a=function(a,c){function d(){this.constructor=a}for(var e in c)b.call(c,e)&&(a=c);return d.prototype=c.prototype,a.prototype=new d,a.__super__=c.prototype,a},b={}.hasOwnProperty;Juicer.Models.Estimate=function(b){function c(){return c.__super__.constructor.apply(this,arguments)}return a(c,b),c.prototype.defaults={sources:5,frequency:3},c.prototype.frequencyInWords=function(){return this.frequencyMap},c.prototype.frequencyMap={1:“Day”,2:“4 Hours”,3:“1 Hour”,4:“30 Minutes”,5:“10 Minutes”,6:“5 Minutes”,7:“1 Minute”},c.prototype.frequencyMuliplier={1:4,2:6,3:8,4:14,5:20,6:40,7:200},c.prototype.price=function(){return this.get(“sources”)*this.frequencyCalculated()},c.prototype.frequencyCalculated=function(){return this.frequencyMuliplier},c.prototype.priceString=function(){return this.maxSources()?“$”+this.frequencyCalculated():“$”+this.price()},c.prototype.priceLabel=function(){return this.maxSources()?“Per Source per Month”:“Cost per Month”},c.prototype.sources=function(){return this.maxSources()?“20+”:this.get(“sources”)},c.prototype.maxSources=function(){return this.get(“sources”)>20},c}(JuicerBackbone.Model)}.call(this),function(){var a=function(a,b){return function(){return a.apply(b,arguments)}},b=function(a,b){function d(){this.constructor=a}for(var e in b)c.call(b,e)&&(a=b);return d.prototype=b.prototype,a.prototype=new d,a.__super__=b.prototype,a},c={}.hasOwnProperty;Juicer.Models.Feed=function©{function d(){return this.fetchNewPosts=a(this.fetchNewPosts,this),this.poll=a(this.poll,this),this.startPolling=a(this.startPolling,this),d.__super__.constructor.apply(this,arguments)}return b(d,c),d.prototype.idAttribute=“slug”,d.prototype.urlRoot=function(){return Juicer.Constants.API_ROOT+“/api/feeds”},d.prototype.parse=function(a,b){return null!=this.get(“css”)&&delete a.css,d.__super__.parse.call(this,a,b)},d.prototype.sync=function(a,b,c){var e;return e=c.url,“read”!==a&&(c.url=“/api/feeds/”+this.get(“id”)),e&&(e.match(“fetch_all”)||e.match(“bulk_moderate”))&&(c.url=e),d.__super__.sync.call(this,a,b,c)},d.prototype.defaults={slug:“error”},d.prototype.allowed=function(){return null!=this.get(“allowed”)?this.get(“allowed”):“”},d.prototype.disallowed=function(){return null!=this.get(“disallowed”)?this.get(“disallowed”):“”},d.prototype.moderation=function(){return!!this.get(“allowed”)||!!this.get(“disallowed”)||this.get(“profanity”)||this.get(“queue”)||this.get(“prevent_duplicates”)||this.geofence()},d.prototype.geofence=function(){return!!(this.get(“distance”)&&this.get(“location”)&&this.get(“lat”)&&this.get(“lng”))},d.prototype.widget=function(){return“widget”===this.get(“css”)},d.prototype.slider=function(){return“slider”===this.get(“css”)},d.prototype.livingWall=function(){return“living-wall”===this.get(“css”)},d.prototype.campaign=function(){return _u.contains(,this.get(“plan”))},d.prototype.defaultHeight=function(){return this.widget()?400:null},d.prototype.defaultWidth=function(){return this.widget()?400:null},d.prototype.initialize=function(a){return null==a&&(a={}),this.per=a.per,this.page=a.page,this.filter=a.filter,this.startingAt=a.startingAt,this.endingAt=a.endingAt,this.search=a.search,this.truncate=a.truncate,this.admin=a.admin,this.per||(this.per=100),this.page||(this.page=1),this.once(“sync”,this.startPolling)},d.prototype.startPolling=function(){return this.shouldPoll()?this.poll():void 0},d.prototype.shouldPoll=function(){return this.pollingAllowed()&&this.isGrid()},d.prototype.pollingAllowed=function(){return this.notSmall()&&!!this.get(“poll”)&&!!this.get(“update_frequency”)},d.prototype.poll=function(){return this.timeout=setTimeout(this.fetchNewPosts,this.pollInterval())},d.prototype.fetchNewPosts=function(a){var b;return null==a&&(a=!0),this.polling=!0,b=this.get(“requested_at”),this.fetch({success:function©{return function(){return c.get(“requested_at”)!==b&&c.trigger(“new-posts”),c.polling=!1,a?c.poll():void 0}}(this)})},d.prototype.pollInterval=function(){var a;return a=60*this.get(“update_frequency”)*1e3/this.divisor(),a=Math.floor(a),a=Math.max(a,15e3)},d.prototype.divisor=function(){var a;return a=this.get(“sources”).length,2>a&&(a=2),a>10&&(a=10),a},d.prototype.fetch=function(a){return a=null!=a?_u.clone(a):{},a.data=null!=a.data?_u.extend(a.data,this.data()):this.data(),a.data=this.dataToArray(a.data),d.__super__.fetch.call(this,a)},d.prototype.data=function(){var a;return a={},this.per&&(a=_u.extend(a,{per:this.per})),this.admin&&(a=_u.extend(a,{admin:!0})),this.endingAt&&(a=_u.extend(a,{ending_at:this.endingAt})),this.filter&&(a=_u.extend(a,{filter:this.filter})),this.page&&!this.polling&&(a=_u.extend(a,{page:this.page})),this.search&&(a=_u.extend(a,{search:this.search})),this.startingAt&&(a=_u.extend(a,{starting_at:this.startingAt})),this.truncate&&(a=_u.extend(a,{truncate:this.truncate})),a},d.prototype.dataToArray=function(a){var b;return b=Object.keys(a).reduce(function(b,c){return b.concat({name:c,value:a})},[]),b.sort(function(a,b){return a.name>b.name})},d.prototype.nextPage=function(a){return this.page+=1,this},d.prototype.previousPage=function(a){return this.page-=1,this},d.prototype.resetPage=function(){return this.page=1,this},d.prototype.nextSync=function(){var a;switch(a=new Date(this.get(“last_synced”)),this.get(“plan”)){case“medium”:a.setHours(a.getHours()+1);break;case“large”:a.setMinutes(a.getMinutes()+10);break;case“campaign”:a.setMinutes(a.getMinutes()+1);break;case“custom”:a.setMinutes(a.getMinutes()+this.get(“update_frequency”));break;case“enterprise”:a.setMinutes(a.getMinutes()+this.get(“update_frequency”));break;default:a.setDate(a.getDate()+1)}return a},d.prototype.paid=function(){return _u.contains(Juicer.Constants.PAID_PLANS,this.get(“plan”))},d.prototype.notSmall=function(){return“small”!==this.get(“plan”)},d.prototype.cssClass=function(){var a;return a=this.get(“css”)||“image-grid”,“widget”===a&&(a=“juicer-widget”),this.get(“colored_icons”)&&“classic”!==this.get(“css”)&&(a+=“ colored-icons”),this.hoverImages()&&(a+=“ hover-images”),a},d.prototype.isGrid=function(){return!_u.contains(,this.get(“css”))},d.prototype.classic=function(){return“classic”===this.get(“css”)},d.prototype.hasInterval=function(){return _u.contains(,this.get(“css”))},d.prototype.hasColumns=function(){return!_u.contains(,this.get(“css”))},d.prototype.hoverImages=function(){return _u.contains(,this.get(“css”))},d.prototype.hasHeight=function(){return this.get(“height”)},d.prototype.newSourcePartial=function(){return this.get(“more_sources_allowed?”)?“source_form/new”:“source_form/max”},d.prototype.termsByType=function(a){var b;return b=this.get(“sources”).where({source:a}),_u.map(b,function(a){return a.get(“term”)})},d.prototype.fetchAll=function(){var a,b;return b=this.url()+“/fetch_all”,a={url:b,type:“POST”},(this.sync||JuicerBackbone.sync).call(this,null,this,a)},d.prototype.bulkModerate=function(a,b){var c,d,e;return null==a&&(a=!0),null==b&&(b=null),e=“/api/feeds/”+this.get(“slug”)+“/bulk_moderate”,c={},a&&(c.approve=!0),null!=b&&(c.filter=b),d={url:e,type:“POST”,data:$.param©},(this.sync||JuicerBackbone.sync).call(this,null,this,d)},d.prototype.partial=function(){var a;switch(a=this.get(“css”)||this.get(“style”)){case“modern”:return“user”;case“user”:return“user”;case“slider”:return“image”;case“image-grid”:return“image”;case“hip”:return“image”;case“classic”:return“classic”;case“living-wall”:return“wall”;case“polaroid”:return“polaroid”;case“night”:return“night”;default:return“standard”}},d.prototype.displayFilters=function(){return _u.contains(this.validFilters,this.get(“display_filter”))&&!this.hasInterval()&&this.get(“sources”).length>1},d.prototype.validFilters=[“Social Type”,“Social Account”,“Grouped Terms”],d.prototype.filterPartial=function(){return this.get(“display_filter_type”)?“new”:“old”},d.prototype.filters=function(){var a;return a=function(){switch(this.get(“display_filter”)){ case“Social Type”:return this.accountTypes();case“Social Account”:return this.get(“sources”).models;case“Grouped Terms”:return this.uniqSources()}}.call(this),a=a.slice(0),a.unshift(this.allSource()),a},d.prototype.allSource=function(){return new Juicer.Models.Source({source:“All”})},d.prototype.accountTypes=function(){var a,b;return a=[],b=,_u.each(this.get(“sources”).models,function©{return _u.contains(b,c.get(“source”))?void 0:(a.push©,b.push(c.get(“source”)))}),a},d.prototype.uniqSources=function(){var a,b,c;return a=[],c=,b=_u.map(this.get(“sources”).models,function(b){return _u.contains(c,b.displayName())?void 0:(a.push(b),c.push(b.displayName()))}),a},d.prototype.moderationStatus=function(){return this.moderation()?“ON”:“OFF”},d.prototype.colors=,d.prototype.customColors=function(){return _u.some(this.getColors())},d.prototype.getColor=function(a){return this.getCustomColor(a)||this.getDefaultColor(a)},d.prototype.getCustomColor=function(a){return this.getColors()},d.prototype.getColors=function(){return this.get(“colors”)},d.prototype.getDefaultColor=function(a){var b;return“hover”===a?“#F17E6F”:(b=this.customColorMap,a=jQuery(b.selector).css(b.attribute),a?Juicer.Helpers.rgb2hex(a):“#fff”)},d.prototype.customColorMap={text:{selector:“.juicer-feed .feed-item .j-message, .juicer-feed .feed-item .j-message p”,attribute:“color”},{selector:“.juicer-feed a, .j-poster h3”,attribute:“color”},data:{selector:“.juicer-feed .j-meta a, .j-poster .j-date”,attribute:“color”},hover:{selector:“.juicer-feed a:hover”,attribute:“color”},post_background:{selector:“.juicer-feed li.feed-item”,attribute:“background-color”},feed_background:{selector:“.juicer-feed”,attribute:“background-color”}},d.prototype.customStyles=function(){var a;return a=“”,_u.each(this.colors,function(b){return function©{var d,e;return e=b.customColorMap,d=b.getCustomColor©,d?a+=e.selector+“ { ”e.attribute
“: ”d
“ !important; }”:void 0}}(this)),this.get(“custom_css”)&&(a+=this.get(“custom_css”)),a},d.prototype.updateColor=function(a,b){var c,d;return c=this.getColors(),d=a+“_color”,c=b,this.set(“colors”,c),this.set(d,b),this.trigger(“update:colors”)},d.prototype.resetColors=function(){return _u.each(this.colors,function(a){return function(b){return a.set(b+“_color”,null)}}(this))},d.prototype.urmMessage=function(){return this.get(“urm_message”)?this.get(“urm_message”):“Great Post! Can we use this on our Social Media Feed? www.juicer.io/”+this.get(“slug”)+“. Reply yes to agree. Thanks!”},d.prototype.shouldShowGallery=function(){var a;return a=this.get(“css”)||this.get(“style”),_u.contains(,a)},d.prototype.relations=,d}(JuicerBackbone.AssociatedModel)}.call(this),function(){var a=function(a,c){function d(){this.constructor=a}for(var e in c)b.call(c,e)&&(a=c);return d.prototype=c.prototype,a.prototype=new d,a.__super__=c.prototype,a},b={}.hasOwnProperty;Juicer.Models.JuicerAd=function(b){function c(){return c.__super__.constructor.apply(this,arguments)}return a(c,b),c.prototype.defaults=function(){var a;return a=Juicer.Helpers.sample(this.messages()),{image:this.randomImage(),message:a,unformatted_message:a,poster_name:“Juicer”,poster_image:“static.juicer.io/small-square.png”,poster_url:“https://www.juicer.io”,external_created_at:new Date}},c.prototype.ad=!0,c.prototype.twitter=function(){return!1},c.prototype.gallery=function(){return!1},c.prototype.poster=function(){return!0},c.prototype.stickied=function(){return!1},c.prototype.sourceType=function(){return“Juicer”},c.prototype.postType=function(){return“image-post”},c.prototype.isVideo=function(){return!1},c.prototype.edited=function(){return!1},c.prototype.editClass=function(){return“”},c.prototype.userId=function(){return 1},c.prototype.lowerType=function(){return“juicer”},c.prototype.term=function(){return“juicer”},c.prototype.link=function(){return“www.juicer.io”},c.prototype.blogPost=function(){return!1},c.prototype.commentClass=function(){return“”},c.prototype.likeClass=function(){return“”},c.prototype.classes=function(){return“feed-item juicer image-post juicer-ad”},c.prototype.alt=function(){return“Embed Social Media Feeds on your website with Juicer!”},c.prototype.message=function(){return this.get(“message”)},c.prototype.posterImage=function(){return this.get(“poster_image”)},c.prototype.messages=function(){return[“Like this feed? Want one of your own? Visit <a href='www.juicer.io’>Juicer> to get your own free social media feed!”,“<a href='www.juicer.io’>Juicer> lets you easily create and embed social media feeds like this one on to your site for free!”,“Engage your users on social media with a <a href='www.juicer.io’>Juicer> feed on your website or blog for free.”,“This feed is Powered by <a href='static.juicer.io/ads/juicer-ads-”a
“.svg”},c.prototype.noMeta=function(){return!0},c}(JuicerBackbone.Model)}.call(this),function(){var a=function(a,c){function d(){this.constructor=a}for(var e in c)b.call(c,e)&&(a=c);return d.prototype=c.prototype,a.prototype=new d,a.__super__=c.prototype,a},b={}.hasOwnProperty;Juicer.Models.Location=function(b){function c(){return c.__super__.constructor.apply(this,arguments)}return a(c,b),c.prototype.urlRoot=“/api/locations”,c}(JuicerBackbone.Model)}.call(this),function(){var a=function(a,c){function d(){this.constructor=a}for(var e in c)b.call(c,e)&&(a=c);return d.prototype=c.prototype,a.prototype=new d,a.__super__=c.prototype,a},b={}.hasOwnProperty;Juicer.Models.Moderated=function(b){function c(){return c.__super__.constructor.apply(this,arguments)}return a(c,b),c.prototype.url=function(){return“/api/feeds/”this.slug
“/moderated”},c.prototype.initialize=function(a){return this.revalidating=!0,this.slug=a.slug,this.starting_at=a.starting_at,this.once(“sync”,this.startPolling)},c.prototype.moderated=!0,c}(Juicer.Models.Feed)}.call(this),function(){var a=function(a,c){function d(){this.constructor=a}for(var e in c)b.call(c,e)&&(a=c);return d.prototype=c.prototype,a.prototype=new d,a.__super__=c.prototype,a},b={}.hasOwnProperty;Juicer.Models.PageView=function(b){function c(){return c.__super__.constructor.apply(this,arguments)}return a(c,b),c.prototype.urlRoot=function(){return Juicer.Constants.API_ROOT+“/api/page_views”},c}(JuicerBackbone.Model)}.call(this),function(){var a=function(a,c){function d(){this.constructor=a}for(var e in c)b.call(c,e)&&(a=c);return d.prototype=c.prototype,a.prototype=new d,a.__super__=c.prototype,a},b={}.hasOwnProperty;Juicer.Models.Plan=function(b){function c(){return c.__super__.constructor.apply(this,arguments)}return a(c,b),c.prototype.urlRoot=“/api/plan”,c.prototype.downgradeDate=function(){var a;return a=new Date(this.get(“next_billing_date”)),strftime(“%B %-d, %Y”,a)},c.prototype.planCapital=function(){return this.capitalize(this.get(“plan”))},c.prototype.newPlanCapital=function(){return this.capitalize(this.get(“new_plan”))},c.prototype.capitalize=function(a){return _u.titleize(a)},c}(JuicerBackbone.Model)}.call(this),function(){var a=function(a,c){function d(){this.constructor=a}for(var e in c)b.call(c,e)&&(a=c);return d.prototype=c.prototype,a.prototype=new d,a.__super__=c.prototype,a},b={}.hasOwnProperty;Juicer.Models.Post=function(b){function c(){return c.__super__.constructor.apply(this,arguments)}return a(c,b),c.prototype.urlRoot=“/api/posts”,c.prototype.restore=function(a){return this.callSubUrl(“/restore”)},c.prototype.reject=function(a){return this.callSubUrl(“/reject”)},c.prototype.stick=function(a){return this.callSubUrl(“/stick”)},c.prototype.unstick=function(a){return this.callSubUrl(“/unstick”)},c.prototype.urmRequest=function(a){return this.callSubUrl(“/urm”,a)},c.prototype.callSubUrl=function(a,b){var c,d;return null==b&&(b={}),c=this,a=c.url()+a,d={url:a,type:“POST”},_u.extend(d,b),(this.sync||JuicerBackbone.sync).call(this,null,this,d)},c.prototype.stickied=function(){return!!this.get(“position”)},c.prototype.edited=function(){return!!this.get(“edit”)},c.prototype.editClass=function(){return this.edited()?“j-edited”:“”},c.prototype.stickyClass=function(){return this.stickied()?“j-sticky”:“”},c.prototype.classes=function(){return“feed-item j-”+this.lowerType()+“ ”+this.postType()+“ ”+this.term()+“ ”+this.editClass()+“ ”+this.stickyClass()},c.prototype.sourceType=function(){return this.get(“source”).source()},c.prototype.blogPost=function(){return“Blog”===this.sourceType()},c.prototype.twitter=function(){return“Twitter”===this.sourceType()},c.prototype.tumblrTitle=function(){return“Tumblr”===this.sourceType()&&!!this.get(“source”).get(“options”)&&!!this.get(“source”).get(“options”).match(“title”)},c.prototype.gallery=function(){return!!this.get(“additional_photos”)&&this.get(“additional_photos”).length>0},c.prototype.postType=function(){return this.isVideo()?“j-video”:this.gallery()?“j-gallery”:this.get(“image”)?“image-post”:“words”},c.prototype.isVideo=function(){return _u.contains(,this.lowerType())||!!this.get(“video”)},c.prototype.termType=function(){return this.get(“source”).termType()},c.prototype.term=function(){return this.get(“source”).get(“term”)},c.prototype.userId=function(){return this.term()},c.prototype.lowerType=function(){return this.get(“source”).lowerSource()},c.prototype.likes=function(){return this.pluralize(this.get(“like_count”),“like”)},c.prototype.comments=function(){return this.pluralize(this.get(“comment_count”),“comment”)},c.prototype.poster=function(){return this.get(“poster_name”)||this.get(“poster_image”)},c.prototype.posterImage=function(){var a;return“facebook”===this.lowerType()?(this.shouldFetchFacebookImage()&&this.fetchFacebookImage(),a=this.isGraphImage()?“i.imgur.com/ZpcrI7L.jpg”:this.get(“poster_image”)):this.get(“poster_image”)},c.prototype.shouldFetchFacebookImage=function(){return this.isGraphImage()&&!_u.contains(this.get(“source”).fetchedFacebookPosters,this.get(“poster_id”))},c.prototype.isGraphImage=function(){return!!this.get(“poster_image”).match(“graph.facebook.com”)},c.prototype.fetchFacebookImage=function(){var a;return this.get(“source”).fetchedFacebookPosters.push(this.get(“poster_id”)),a=this.get(“poster_image”)+“?redirect=false”,jQuery.getJSON(a,function(a){return function(b){var c;return c=b.data.url,jQuery(“”).attr(“src”,c),a.get(“source”).fetchedFacebookPosters.splice(a.get(“source”).fetchedFacebookPosters.indexOf(a.get(“poster_id”)),1)}}(this))},c.prototype.pluralize=function(a,b){return 1===a?a+“ ”b:a
“ ”+_u.pluralize(b)},c.prototype.link=function(){switch(this.lowerType()){case“facebook”:return“reviews”===this.termType()?“www.facebook.com/”+this.term()+“/reviews”:“https://www.facebook.com/”+this.get(“poster_id”)+“/posts/”+this.get(“external_id”);case“twitter”:return“https://twitter.com/”+this.get(“poster_name”)+“/status/”+this.get(“external_id”);case“instagram”:return“https://www.instagram.com/p/”+this.get(“external_id”)+“/”;case“youtube”:return“https://www.youtube.com/watch?v=”+this.get(“external_id”);case“googleplus”:return this.get(“poster_url”)+“/posts/”+this.get(“external_id”);case“tumblr”:return“”+this.get(“poster_name”)+“.tumblr.com/post/”+this.get(“external_id”);case“pinterest”:return“http://www.pinterest.com/pin/”+this.get(“external_id”);case“vimeo”:return“https://vimeo.com/”+this.get(“external_id”);case“linkedin”:return“https://www.linkedin.com/company/”+this.term();case“soundcloud”:return this.get(“description”);case“slack”:return this.get(“poster_url”);case“spotify”:return“open.spotify.com/track/”+this.get(“external_id”);case“blog”:return this.blogLink();case“giphy”:return this.get(“external”);default:return this.get(“external_id”)}},c.prototype.blogLink=function(){return this.get(“external”)||this.get(“external_id”)},c.prototype.parseBlogUrl=function(){var a;return a=this.term().match(/^https?://(+)(?:[/?#]|$)/i),a&&a?a:void 0},c.prototype.termLink=function(){switch(this.lowerType()){case“twitter”:return“twitter.com/hashtag/”+this.term();case“instagram”:return this.link();case“tumblr”:return“tumblr.com/tagged/”+this.term();case“vine”:return“https://vine.co/tags/”+this.term();case“facebook”:return“https://www.facebook.com/hashtag/”+this.term();case“youtube”:return“https://www.youtube.com/results?search_query=%23”+this.term();case“tumblr”:return“https://www.tumblr.com/search/”+this.term();case“googleplus”:return“https://plus.google.com/s/%23”+this.term();default:return this.get(“external_id”)}},c.prototype.commentClass=function(){switch(this.lowerType()){case“twitter”:return“retweets”;case“pinterest”:return“repins”;default:return“comments”}},c.prototype.likeClass=function(){switch(this.lowerType()){case“twitter”:return“heart”;case“instagram”:return“heart”;case“tumblr”:return“heart”;case“youtube”:return“views”;default:return“likes”}},c.prototype.likeVerb=function(){switch(this.lowerType()){case“twitter”:return“favorites”;default:return“likes”}},c.prototype.alt=function(){return this.get(“accessibility_caption”)||“Photo from ”+this.get(“source”).displayName()+“ on ”+this.sourceType()+“ on ”+this.get(“poster_name”)+“ at ”+this.postedDate()},c.prototype.postedDate=function(){return Juicer.Helpers.fullDate(this.get(“external_created_at”))},c.prototype.noMeta=function(){return _u.contains(,this.sourceType())},c.prototype.facebookShare=function(){var a;return a=“www.facebook.com/dialog/feed?app_id=”Juicer.Constants.FACEBOOK_APP_ID
“&display=popup&link=”+this.currentUrl(),this.status()&&(a+=“&description=”+this.status()),this.shouldHaveFacebookImage()&&(a+=“&picture=”+this.get(“image”)),a},c.prototype.twitterShare=function(){var a;return a=“twitter.com/intent/tweet?text=”+this.twitterStatus(),this.shouldIncludeLink()&&(a+=“&url=”+this.currentUrl()),a},c.prototype.googlePlusShare=function(){return“https://plus.google.com/share?url=”+this.currentUrl()},c.prototype.pinterestShare=function(){return“https://pinterest.com/pin/create/button/?url=”+this.currentUrl()+“&media=”+this.encodedImage()+“&description=”+this.status()},c.prototype.linkedInShare=function(){return“https://www.linkedin.com/shareArticle?url=”+this.currentUrl()+“&title=”+this.status()},c.prototype.emailShare=function(){var a,b,c;return c=“Check out my ”+this.sourceType()+“ post!”,a=this.status().length>3?.join(“ - ”):this.currentUrl(),b=jQuery(window).width()>1024?“”:“test@example.com”,“”b
“?subject=”c
“&body=”+a},c.prototype.shouldHaveFacebookImage=function(){return“facebook”!==this.lowerType()&&!!this.get(“image”)},c.prototype.encodedImage=function(){return encodeURIComponent(this.get(“image”))},c.prototype.message=function(){return this.blogPost()||this.tumblrTitle()?“<strong class='j-title'>”+this.get(“message”)+“</strong> ”+this.get(“excerpt”):this.get(“excerpt”)?this.get(“excerpt”):this.get(“message”)},c.prototype.fullMessage=function(){return this.blogPost()||this.tumblrTitle()?“<strong class='j-title'>”+this.get(“message”)+“</strong> ”+this.get(“description”):this.get(“message”)},c.prototype.stripped=function(){return null!=this.get(“unformatted_message”)?this.get(“unformatted_message”).replace(/<(?:.|n)*?>/gm,“ ”).replace(this.emojiRegex,“”):“”},c.prototype.emojiRegex=/(|uD83C|uD83D|[u2694-u2697]|uD83E)/g,c.prototype.status=function(){return encodeURIComponent(this.stripped())},c.prototype.twitterStatus=function(){return this.stripped().length<=140?this.status():encodeURIComponent(this.stripped().substring(0,137)+“…”)},c.prototype.shouldIncludeLink=function(){return(this.twitterStatus()+this.currentUrl).length<=140},c.prototype.currentUrl=function(){return window.location.href},c.prototype.urmEligible=function(){return _u.contains(this.urmSources,this.sourceType())},c.prototype.urmSources=,c.prototype.urmSocialConnected=function(a){return a.get(“social_accounts”).findWhere({provider:this.lowerType()})},c.prototype.replyIntent=function(){return“twitter.com/intent/tweet?in_reply_to=”+this.get(“external_id”)},c.prototype.retweetIntent=function(){return“https://twitter.com/intent/retweet?tweet_id=”+this.get(“external_id”)},c.prototype.likeIntent=function(){return“https://twitter.com/intent/like?tweet_id=”+this.get(“external_id”)},c.prototype.relations=[{type:JuicerBackbone.One,key:“source”,relatedModel:“Juicer.Models.Source”}],c}(JuicerBackbone.AssociatedModel)}.call(this),function(){var a=function(a,c){function d(){this.constructor=a}for(var e in c)b.call(c,e)&&(a=c);return d.prototype=c.prototype,a.prototype=new d,a.__super__=c.prototype,a},b={}.hasOwnProperty;Juicer.Models.Source=function(b){function c(){return c.__super__.constructor.apply(this,arguments)}return a(c,b),c.prototype.urlRoot=“/api/sources”,c.prototype.toJSON=function(){return{source:_u.clone(this.attributes)}},c.prototype.source=function(){return this.get(“source”)},c.prototype.termType=function(){return this.get(“term_type”)},c.prototype.lowerSource=function(){return this.source().toLowerCase()},c.prototype.allowed=function(){return null!=this.get(“allowed”)?this.get(“allowed”):“”},c.prototype.disallowed=function(){return null!=this.get(“disallowed”)?this.get(“disallowed”):“”},c.prototype.fetchedFacebookPosters=[],c.prototype.title=function(){switch(this.source()){case“Blog”:return“Add an RSS feed”;case“DeviantArt”:return“Add a DeviantArt Users' Gallery”;case“Facebook”:return“Add a Facebook Business Page”;case“Flickr”:return“Add Flickr Users' Photos”;case“Giphy”:return“Add a Giphy Search Term”;case“GooglePlus”:return“Add a Google+ Page”;case“Hashtag”:return“Choose a type of Hashtag”;case“Instagram”:return“Add an Instagram Account”;case“LinkedIn”:return“Add a LinkedIn Company”;case“Pinterest”:return“Add a Pinterest Users' Pins”;case“Slack”:return“Add a Slack Channel”;case“Soundcloud”:return“Add a Soundcloud Account”;case“Spotify”:return“Add a Spotify Musical Artist”;case“Tumblr”:return“Add a Tumblr Blog”;case“Twitter”:return“Add a Twitter Account”;case“Vimeo”:return“Add a Vimeo Users' Videos”;case“Yelp”:return“Add a Yelp Businesses' Reviews”;case“YouTube”:return“Add a YouTube Channel”}},c.prototype.label=function(){switch(this.source()){case“Blog”:return“RSS Feed URL: ”;case“Facebook”:return“www.facebook.com/”;case“Flickr”:return“https://www.flickr.com/photos/”;case“Giphy”:return“#”;case“GooglePlus”:return“https://plus.google.com/”;case“Instagram”:return“https://www.instagram.com/”;case“LinkedIn”:return“https://www.linkedin.com/company/”;case“Pinterest”:return“https://www.pinterest.com/”;case“Slack”:return“#”;case“Soundcloud”:return“https://soundcloud.com/”;case“Spotify”:return“https://spotify.com/artist/”;case“Twitter”:return“https://www.twitter.com/”;case“Vimeo”:return“http://vimeo.com/”;case“Yelp”:return“http://www.yelp.com/biz/”;case“YouTube”:return“https://www.youtube.com/user/”}},c.prototype.placeholder=function(){switch(this.source()){case“Blog”:return“RSS or Atom or FeedBurner URL”;case“DeviantArt”:return“DeviantArt User URL”;case“Facebook”:return“Facebook Page Vanity URL”;case“Flickr”:return“Flickr Username”;case“Giphy”:return“Search Term”;case“GooglePlus”:return“Google+ Username or User ID Number”;case“Instagram”:return“Instagram Username”;case“LinkedIn”:return“LinkedIn Company ID Number”;case“Pinterest”:return“Pinterest Username”;case“Slack”:return“Slack Channel Name”;case“Soundcloud”:return“Soundcloud Username”;case“Spotify”:return“Artist Name”;case“Tumblr”:return“Tumblr Username”;case“Twitter”:return“Twitter Username”;case“Vimeo”:return“Vimeo Username”;case“Yelp”:return“Business Name URL”;case“YouTube”:return“YouTube Username or Channel ID”}},c.prototype.typeSymbol=function(){return“hashtag”===this.get(“term_type”)?“#”:“location”===this.get(“term_type”)?“◉”:“@”},c.prototype.displayTerm=function(){var a;return this.get(“name”)&&(a=this.get(“name”)),a||(a=this.get(“term”)),a},c.prototype.displayName=function(){return“”+this.typeSymbol()+this.displayTerm()},c.prototype.hashtags=function(){return _u.contains(this.hashtagSupporters,this.source())},c.prototype.needsLogin=function(){return _u.contains(this.requiresLogin,this.source())},c.prototype.manual=function(){return _u.contains(Juicer.Constants.CAN_ADD_MANUAL,this.source())},c.prototype.location=function(){return _u.contains(this.hasLocation,this.source())},c.prototype.hashtagSupporters=,c.prototype.requiresLogin=,c.prototype.hasLocation=,c.prototype.alternateNames=,c.prototype.filterClass=function(a,b,c){var d,e,f;return null==b&&(b=null),null==c&&(c=!1),f=“j-”+this.lowerSource().replace(/@|#/,“”),e=f,c&&(e+=“ ”f
“-text ”f
“-hover j-social-icon”),this.all()&&(e=“all j-social-icon”),d=e,“Grouped Terms”===a&&(d+=“ grouped”),b&&(d+=“ highlight”),d},c.prototype.all=function(){return“all”===this.lowerSource()},c.prototype.filter=function(a){if(this.all())return null;switch(a){case“Social Type”:return this.source();case“Social Account”:return this.get(“id”);case“Grouped Terms”:return this.get(“term”)}},c.prototype.filterDisplay=function(a){if(this.all())return“All”;switch(a){case“Social Type”:return this.source();case“Social Account”:return this.displayName();case“Grouped Terms”:return this.displayName()}},c.prototype.usernameExample=function(){return this.usernameExamples},c.prototype.usernameExamples={facebook:{name:“REI”,“https://www.facebook.com/rei”,formattedLink:“https://www.facebook.com/ class='example-link-highlight'>rei</span>”},twitter:{name:“Adult Swim”,“https://twitter.com/adultswim”,formattedLink:“https://twitter.com/ class='example-link-highlight'>adultswim</span>”},instagram:{name:“Humans of New York”,“https://www.instagram.com/humansofny”,formattedLink:“https://www.instagram.com/ class='example-link-highlight'>humansofny</span>”},youtube:{name:“CGP Grey”,“https://www.youtube.com/user/CGPGrey”,formattedLink:“https://www.youtube.com/user/ class='example-link-highlight'>CGPGrey</span>”},googleplus:{name:“Felicia Day”,“https://plus.google.com/+FeliciaDay”,formattedLink:“https://plus.google.com/ class='example-link-highlight'>+FeliciaDay</span>”},tumblr:{name:“A Well Traveled Woman”,“http://awelltraveledwoman.tumblr.com”,formattedLink:“http:// class='example-link-highlight'>awelltraveledwoman</span>.tumblr.com”},pinterest:{name:“Joy Cho / Oh Joy!”,“https://www.pinterest.com/ohjoy”,formattedLink:“https://www.pinterest.com/ class='example-link-highlight'>ohjoy</span>”},blog:{name:“Wired”,“https://www.wired.com/feed/rss”,formattedLink:“ class='example-link-highlight'>www.wired.com/feed/rss”},soundcloud:{name:“Pitchform”,link:“https://soundcloud.com/pitchfork”,formattedLink:“https://soundcloud.com/ class='example-link-highlight'>pitchfork</span>”},spotify:{name:“Radiohead”,“https://www.spotify.com/artist/Radiohead”,formattedLink:“https://www.spotify.com/artist/ class='example-link-highlight'>Radiohead</span>”},linkedin:{name:“Juicer”,“https://www.linkedin.com/company/juicer”,formattedLink:“https://www.linkedin.com/company/ class='example-link-highlight'>juicer</span>”},flickr:{name:“Stephan Gürtler”,“https://www.flickr.com/photos/stephanna-g”,formattedLink:“https://www.flickr.com/photos/ class='example-link-highlight'>stephanna-g</span>”},vimeo:{name:“Hiro Murai”,“https://vimeo.com/hiromurai”,formattedLink:“https://vimeo.com/ class='example-link-highlight'>hiromurai</span>”},yelp:{name:“Microsoft”,“https://www.yelp.com/biz/microsoft-mountain-view”,formattedLink:“https://www.yelp.com/biz/ class='example-link-highlight'>microsoft-mountain-view</span>”}},c}(JuicerBackbone.AssociatedModel)}.call(this),function(){var a=function(a,c){function d(){this.constructor=a}for(var e in c)b.call(c,e)&&(a=c);return d.prototype=c.prototype,a.prototype=new d,a.__super__=c.prototype,a},b={}.hasOwnProperty;Juicer.Models.User=function(b){function c(){return c.__super__.constructor.apply(this,arguments)}return a(c,b),c.prototype.relations=,c}(JuicerBackbone.AssociatedModel)}.call(this),function(){var a=function(a,c){function d(){this.constructor=a}for(var e in c)b.call(c,e)&&(a=c);return d.prototype=c.prototype,a.prototype=new d,a.__super__=c.prototype,a},b={}.hasOwnProperty;Juicer.Models.FeedValidation=function(b){function c(){return c.__super__.constructor.apply(this,arguments)}return a(c,b),c.prototype.validation={name:{required:!0}},c}(JuicerBackbone.Model)}.call(this),function(){var a=function(a,c){function d(){this.constructor=a}for(var e in c)b.call(c,e)&&(a=c);return d.prototype=c.prototype,a.prototype=new d,a.__super__=c.prototype,a},b={}.hasOwnProperty;Juicer.Models.ContactMessageValidation=function(b){function c(){return c.__super__.constructor.apply(this,arguments)}return a(c,b),c.prototype.validation={name:{required:!0},email:{required:!0,pattern:“email”},message:{required:!0}},c}(JuicerBackbone.Model)}.call(this),function(){var a=function(a,c){function d(){this.constructor=a}for(var e in c)b.call(c,e)&&(a=c);return d.prototype=c.prototype,a.prototype=new d,a.__super__=c.prototype,a},b={}.hasOwnProperty;Juicer.Models.UserUpdateValidation=function(b){function c(){return c.__super__.constructor.apply(this,arguments)}return a(c,b),c.prototype.initialize=function(a){return this.email=a.email,this.noPassword=a.noPassword},c.prototype.validation={email:{required:!0},current_password:{required:function(){return this.noPassword?!1:this.email!==this.get(“email”)},minLength:8},password:{minLength:8,required:!1},current_password_two:{minLength:8,required:function(){return!!this.get(“password”)}}},c}(JuicerBackbone.Model)}.call(this),function(){var a=function(a,c){function d(){this.constructor=a}for(var e in c)b.call(c,e)&&(a=c);return d.prototype=c.prototype,a.prototype=new d,a.__super__=c.prototype,a},b={}.hasOwnProperty;Juicer.Models.UserValidation=function(b){function c(){return c.__super__.constructor.apply(this,arguments)}return a(c,b),c.prototype.validation={email:{required:!0,pattern:“email”},password:{required:!0,minLength:8}},c}(JuicerBackbone.Model)}.call(this),function(){var a=function(a,c){function d(){this.constructor=a}for(var e in c)b.call(c,e)&&(a=c);return d.prototype=c.prototype,a.prototype=new d,a.__super__=c.prototype,a},b={}.hasOwnProperty;Juicer.Collections.FacebookResults=function(b){function c(){return c.__super__.constructor.apply(this,arguments)}return a(c,b),c.prototype.initialize=function(a){return this.type=a.type},c.prototype.url=function(){return“/api/facebook_results/”+this.type},c}(JuicerBackbone.Collection)}.call(this),function(){var a=function(a,c){function d(){this.constructor=a}for(var e in c)b.call(c,e)&&(a=c);return d.prototype=c.prototype,a.prototype=new d,a.__super__=c.prototype,a},b={}.hasOwnProperty;Juicer.Collections.Posts=function(b){function c(){return c.__super__.constructor.apply(this,arguments)}return a(c,b),c.prototype.paginatingAttributes=,c.prototype.model=Juicer.Models.Post,c.prototype.parse=function(a){return _u.each(this.paginatingAttributes,function(b){return function©{return b=a}}(this)),c.__super__.parse.call(this,a.items)},c}(JuicerBackbone.Collection)}.call(this),function(){var a=function(a,c){function d(){this.constructor=a}for(var e in c)b.call(c,e)&&(a=c);return d.prototype=c.prototype,a.prototype=new d,a.__super__=c.prototype,a},b={}.hasOwnProperty;Juicer.Collections.SocialAccounts=function(b){function c(){return c.__super__.constructor.apply(this,arguments)}return a(c,b),c.prototype.url=“/api/social_accounts”,c.prototype.socialAccount=function(a){return this.findWhere({provider:a})},c}(JuicerBackbone.Collection)}.call(this),function(){var a=function(a,c){function d(){this.constructor=a}for(var e in c)b.call(c,e)&&(a=c);return d.prototype=c.prototype,a.prototype=new d,a.__super__=c.prototype,a},b={}.hasOwnProperty;Juicer.Collections.Users=function(b){function c(){return c.__super__.constructor.apply(this,arguments)}return a(c,b),c.prototype.model=Juicer.Models.User,c.prototype.url=“/api/users”,c}(JuicerBackbone.Collection)}.call(this),function(){var a=function(a,c){function d(){this.constructor=a}for(var e in c)b.call(c,e)&&(a=c);return d.prototype=c.prototype,a.prototype=new d,a.__super__=c.prototype,a},b={}.hasOwnProperty;Juicer.Views.AdminDowngrade=function(b){function c(){return c.__super__.constructor.apply(this,arguments)}return a(c,b),c.prototype.template=JST.admin_downgrade,c.prototype.initialize=function(a){return this.userId=a.userId,this.csrf=$(‘meta').attr(“content”)},c.prototype.events={click:“openOverlay”},c.prototype.openOverlay=function(a){var b;return a.preventDefault(),b=$(a.target).attr(“href”),this.overlay=new Juicer.Views.Overlay({content:this.template({userId:this.userId,reasons:this.reasons,csrf:this.csrf,action:b}),element:“body”,width:“50%”}),this.overlay.render()},c.prototype.reasons=[“Temporary campaign/event is over”,“Switching to another service”,“Too expensive”,“Too difficult to use”,“They had technical issues”,“Not satisfied with the support team”,“Other”],c}(JuicerBackbone.View)}.call(this),function(){var a=function(a,c){function d(){this.constructor=a}for(var e in c)b.call(c,e)&&(a=c);return d.prototype=c.prototype,a.prototype=new d,a.__super__=c.prototype,a},b={}.hasOwnProperty;Juicer.Views.AdminUsers=function(b){function c(){return c.__super__.constructor.apply(this,arguments)}return a(c,b),c.prototype.events={“click .toggle-favorite”:“toggleFavorite”},c.prototype.toggleFavorite=function(a){var b,c;return a.preventDefault(),b=$(a.target),c=b.data(“id”),jQuery.get(“/admin/users/”c
“/favorite”),“Favorite”===b.html()?b.html(“Unfavorite”):b.html(“Favorite”)},c}(JuicerBackbone.View)}.call(this),function(){var a=function(a,c){function d(){this.constructor=a}for(var e in c)b.call(c,e)&&(a=c);return d.prototype=c.prototype,a.prototype=new d,a.__super__=c.prototype,a},b={}.hasOwnProperty;Juicer.Views.AnalyticsDateRange=function(b){function c(){return c.__super__.constructor.apply(this,arguments)}return a(c,b),c.prototype.template=JST.analytics_date_range,c.prototype.events={“click .date-range”:“openDateRangeOverlay”},c.prototype.openDateRangeOverlay=function(a){var b,c;return console.log(“open”),c=$(a.target),b=this.template({start:c.data(“start”),end:c.data(“end”)}),this.overlay=new Juicer.Views.Overlay({content:b,element:this.el,width:“50%”}),this.overlay.render()},c}(JuicerBackbone.View)}.call(this),function(){var a=function(a,c){function d(){this.constructor=a}for(var e in c)b.call(c,e)&&(a=c);return d.prototype=c.prototype,a.prototype=new d,a.__super__=c.prototype,a},b={}.hasOwnProperty;Juicer.Views.BrokenImage=function(b){function c(){return c.__super__.constructor.apply(this,arguments)}return a(c,b),c.prototype.initialize=function(a){return null==a&&(a={}),this.model=a.model,this.handleBrokenImages()},c.prototype.handleBrokenImages=function(){ return this.$(“img.j-content-image”).on(“error”,function(a){return function(b){var c;return c=jQuery(b.target).parents(“.feed-item”),c.length>0?a.handleBrokenImage©:void 0}}(this)),this.$(“img.j-content-image”).on(“load”,function(a){return function(b){var c,d;return d=jQuery(b.target),b.target.naturalWidth<20?(c=d.parents(“.feed-item”),a.handleBrokenImage©):void 0}}(this)),this.$(“.j-poster img”).on(“error”,function(a){return function(b){return console.log(“Hiding broken profile image.”),“polaroid”===a.model.get(“css”)?(jQuery(b.target).parents(“.j-post-container”).addClass(“no-poster”),jQuery(b.target).parents(“.j-poster”).hide()):jQuery(b.target).hide()}}(this)),this.$(“img.j-content-image”).removeClass(“j-content-image”)},c.prototype.handleBrokenImage=function(a){return this.model.get(“photos”)&&this.model.get(“admin”)?void 0:a.find(“.j-message”).length>0&&this.model.get(“admin”)?(a.removeClass(“image-post”).addClass(“words”),a.find(“.j-image”).hide(),console.log(“Juicer: post with id ”+a.data(“id”)+“ has a broken image. Converting to a text post.”)):(a.hide(),console.log(“Juicer: post with id ”+a.data(“id”)+“ has a broken image. Hiding it.”))},c}(JuicerBackbone.View)}.call(this),function(){var a=function(a,c){function d(){this.constructor=a}for(var e in c)b.call(c,e)&&(a=c);return d.prototype=c.prototype,a.prototype=new d,a.__super__=c.prototype,a},b={}.hasOwnProperty;Juicer.Views.Churn=function(b){function c(){return c.__super__.constructor.apply(this,arguments)}return a(c,b),c.prototype.template=JST.churn,c.prototype.initialize=function(){return null==this.el?!1:(this.overlay=new Juicer.Views.Overlay({content:this.template(),element:this.el,width:“50%”}),this.overlay.render())},c.prototype.events={“click .delete”:“closeOverlay”},c.prototype.closeOverlay=function(){return this.overlay.removeView()},c}(JuicerBackbone.View)}.call(this),function(){var a=function(a,c){function d(){this.constructor=a}for(var e in c)b.call(c,e)&&(a=c);return d.prototype=c.prototype,a.prototype=new d,a.__super__=c.prototype,a},b={}.hasOwnProperty;Juicer.Views.BlogShow=function(b){function c(){return c.__super__.constructor.apply(this,arguments)}return a(c,b),c.prototype.el=window,c.prototype.initialize=function(){return this.loaded=!1,this.triggerPoint=$(“#disqus_thread”).offset().top},c.prototype.events=function(){return{scroll:“lazyLoadDisqus”}},c.prototype.lazyLoadDisqus=_u.debounce(function(){return this.checkScroll()},300),c.prototype.checkScroll=function(){return this.scrollPoint()>this.triggerPoint&&!this.loaded?this.loadDisqus():void 0},c.prototype.loadDisqus=function(){var a,b;return this.loaded=!0,a=“juicerio”,b=document.createElement(“script”),b.type=“text/javascript”,b.async=!0,b.src=“//”a
“.disqus.com/embed.js”,(document.getElementsByTagName(“head”)||document.getElementsByTagName(“body”)).appendChild(b)},c.prototype.scrollPoint=function(){return this.$el.scrollTop()+this.$el.height()},c}(JuicerBackbone.View)}.call(this),function(){var a=function(a,b){return function(){return a.apply(b,arguments)}},b=function(a,b){function d(){this.constructor=a}for(var e in b)c.call(b,e)&&(a=b);return d.prototype=b.prototype,a.prototype=new d,a.__super__=b.prototype,a},c={}.hasOwnProperty;Juicer.Views.DocsSidebar=function©{function d(){return this.determineLeft=a(this.determineLeft,this),this.checkSidebar=a(this.checkSidebar,this),d.__super__.constructor.apply(this,arguments)}return b(d,c),d.prototype.el=window,d.prototype.initialize=function(a){return this.sidebar=jQuery(“.docs-sidebar”),this.sibling=jQuery(“.docs-content”),this.sidebarFooter=!1,this.sidebarHeight=this.sidebar.height(),this.$el.on(“scroll”,this.checkSidebar),this.$el.on(“resize”,_u.throttle(this.determineLeft,100)),this.topPadding=20,this.offset=this.sidebar.offset().top-this.topPadding,this.checkSidebar()},d.prototype.checkSidebar=function(){return this.scrolledToBottom()?(this.sidebarFooter||this.sidebar.css(this.absolute()),this.sidebarFooter=!0):this.scrollPoint()?(this.sidebar.css(this.fixed()),this.sidebarFooter=!1):(this.sidebar.removeAttr(“style”),this.sidebarFooter=!1)},d.prototype.scrollPoint=function(){return this.offset<=this.$el.scrollTop()},d.prototype.scrolledToBottom=function(){return this.$el.scrollTop()>=$(document).height()-this.$el.height()-$(“.footer”).height()-(this.$el.height()-this.sidebarHeight)},d.prototype.fixed=function(){return{position:“fixed”,top:this.topPadding,left:this.sidebar.offset().left}},d.prototype.absolute=function(){return{position:“absolute”,left:0,bottom:0,top:“auto”}},d.prototype.determineLeft=function(){return this.scrollPoint()?this.sidebar.css({left:this.sibling.offset().left}):!1},d}(JuicerBackbone.View)}.call(this),function(){var a=function(a,c){function d(){this.constructor=a}for(var e in c)b.call(c,e)&&(a=c);return d.prototype=c.prototype,a.prototype=new d,a.__super__=c.prototype,a},b={}.hasOwnProperty;Juicer.Views.DowngradeOverlay=function(b){function c(){return c.__super__.constructor.apply(this,arguments)}return a(c,b),c.prototype.template=JST.downgrade_overlay,c.prototype.initialize=function(){return this.$el.data(“downgrade-at”)?(this.plan=this.$el.data(“plan”),this.downgradeAt=this.$el.data(“downgrade-at”),this.overlay=new Juicer.Views.Overlay({content:this.template({plan:this.plan,downgradeAt:this.downgradeAt}),element:this.el,width:“50%”}),this.overlay.render()):!1},c.prototype.events={“click .delete”:“closeOverlay”},c.prototype.closeOverlay=function(){return this.overlay.removeView()},c}(JuicerBackbone.View)}.call(this),function(){var a=function(a,b){return function(){return a.apply(b,arguments)}},b=function(a,b){function d(){this.constructor=a}for(var e in b)c.call(b,e)&&(a=b);return d.prototype=b.prototype,a.prototype=new d,a.__super__=b.prototype,a},c={}.hasOwnProperty;Juicer.Views.Calculator=function©{function d(){return this.updateValues=a(this.updateValues,this),this.render=a(this.render,this),d.__super__.constructor.apply(this,arguments)}return b(d,c),d.prototype.template=JST,d.prototype.initialize=function(){return this.model=new Juicer.Models.Estimate,this.model.on(“change”,this.updateValues),this.render()},d.prototype.render=function(){return this.$el.html(this.template({model:this.model}))},d.prototype.updateValues=function(){return this.$(“.calculator-sources”).html(this.model.sources()),this.$(“.calculator-frequency”).html(this.model.frequencyInWords()),this.$(“.calculator-price”).html(this.model.priceString()),this.$(“.calculator-price-label”).html(this.model.priceLabel())},d.prototype.events={“change input”:“updateModel”,“input input”:“updateModel”},d.prototype.updateModel=function(a){var b;return b=$(a.target),this.model.set(b.data(“attribute”),b.val())},d}(JuicerBackbone.View)}.call(this),function(){var a=function(a,b){return function(){return a.apply(b,arguments)}},b=function(a,b){function d(){this.constructor=a}for(var e in b)c.call(b,e)&&(a=b);return d.prototype=b.prototype,a.prototype=new d,a.__super__=b.prototype,a},c={}.hasOwnProperty;Juicer.Views.Enterprise=function©{function d(){return this.close=a(this.close,this),this.append=a(this.append,this),this.render=a(this.render,this),d.__super__.constructor.apply(this,arguments)}return b(d,c),d.prototype.template=JST,d.prototype.initialize=function(a){return this.model=new Juicer.Models.Enterprise({slug:a.slug}),this.model.on(“sync”,this.render),this.model.fetch({error:function(){return alert(“Something went wrong. Please try again.”)}})},d.prototype.render=function(){return this.model.get(“current_page”)>1&&this.model.get(“new_feeds”)?this.append():(this.$el.html(this.template({model:this.model})),this.renderFeeds(this.model.get(“feeds”)))},d.prototype.renderFeeds=function(a){return this.feeds=new Juicer.Views.EnterpriseFeeds({el:“ul.feeds”,collection:a,model:this.model}).render()},d.prototype.append=function(){return this.feeds.append()},d.prototype.events={“keyup input”:_u.debounce(function(a){return this.search(a)},500),“search input”:“search”},d.prototype.search=function(a){var b;return a.preventDefault(),this.model.query=$(a.target).val(),b=this.model.get(“feeds”),this.model.fetch()},d.prototype.close=function(){return this.model.off(“sync”),this.feeds.close()},d}(JuicerBackbone.View),Juicer.Views.EnterpriseFeeds=function©{function d(){return this.close=a(this.close,this),this.loadNextPage=a(this.loadNextPage,this),d.__super__.constructor.apply(this,arguments)}return b(d,c),d.prototype.render=function(){return this.addToSubViews(this.collection.models),this.model.moreFeeds()&&this.addLoadMore(),this.$el.html(this.subviews),this},d.prototype.addToSubViews=function(a){return this.subviews||(this.subviews=[]),_u.each(a,function(a){return function(b){var c;return c=new Juicer.Views.EnterpriseFeed({model:b,account:a.model}).render(),a.subviews.push(c.el)}}(this))},d.prototype.addLoadMore=function(){return this.loadMore=new Juicer.Views.EnterpriseLoadMore,this.loadMore.on(“next:page:clicked”,this.loadNextPage),this.loadMore.render(),this.subviews.push(this.loadMore.el)},d.prototype.removeLoadMore=function(){var a;return this.loadMore.off(“next:page:clicked”),a=this.subviews.indexOf(this.loadMore.el),this.subviews.splice(a,1),this.loadMore.remove(),a},d.prototype.loadNextPage=function(){return this.model.nextPage(),this.model.fetch()},d.prototype.append=function(){var a;return a=this.removeLoadMore(),this.addToSubViews(this.model.get(“new_feeds”).models),this.model.moreFeeds()&&this.addLoadMore(),this.$el.append(this.subviews.slice(a))},d.prototype.close=function(){return _u.each(this.subviews,function(a){return function(a){return a.remove()}}(this)),this.loadMore&&this.loadMore.off(“next:page:clicked”),this.$el.empty().off(),this.stopListening(),this},d}(JuicerBackbone.View),Juicer.Views.EnterpriseFeed=function(a){function c(){return c.__super__.constructor.apply(this,arguments)}return b(c,a),c.prototype.template=JST,c.prototype.createAssignmentForm=JST,c.prototype.tagName=“li”,c.prototype.className=“border bg-white p-25 relative mb-20 tal”,c.prototype.initialize=function(a){return this.account=a.account},c.prototype.render=function(){return this.$el.html(this.template({model:this.model,assignments:this.model.get(“assignments”).models,sources:this.model.get(“sources”).models,account:this.account})),this},c.prototype.events={“click .delete-assignment”:“deleteAssignment”,“click .add-assignment”:“openAssignmentForm”,“click .fetch-all”:“fetchAllPosts”,“submit .new-assignment”:“createAssignment”},c.prototype.deleteAssignment=function(a){var b,c;return a.preventDefault(),c=$(a.target).parents(“.enterprise-user-assignment”),Juicer.Helpers.confirm(“Are you sure you want to remote this user from this feed?”)?(b=new Juicer.Models.Assignment({id:$(a.target).data(“id”)}),b.destroy({success:function(a){return function(){return c.remove()}}(this),error:function(){return alert(“Something went wrong!”)}})):void 0},c.prototype.openAssignmentForm=function(a){var b;return b=new Juicer.Views.Overlay({content:this.createAssignmentForm({model:this.model,csrf:this.csrf,account:this.account}),width:“35%”,element:this.el}),b.render()},c.prototype.createAssignment=function(a){var b,c;return a.preventDefault(),c=$(a.target),b=c.serializeHash(),b.email?(this.assignment=new Juicer.Models.Assignment(b),this.assignment.save(null,{success:function(a){return function(b,c){return a.model.get(“assignments”).add(a.assignment),a.render()}}(this),error:function(){return alert(“Something went wrong!”)}})):!1},c.prototype.fetchAllPosts=function(a){return Juicer.Helpers.confirm(“Fetching all posts for this feed can take 10+ minutes. Please be patient and check back later.”)?(a.preventDefault(),this.model.fetchAll(),$(a.target).replaceWith(“Fetching all posts.”)):!1},c.prototype.close=function(){return this.$el.remove()},c}(JuicerBackbone.View),Juicer.Views.EnterpriseLoadMore=function(a){function c(){return c.__super__.constructor.apply(this,arguments)}return b(c,a),c.prototype.tagName=“a”,c.prototype.className=“load-more j-button mt-30”,c.prototype.render=function(){return this.$el.text(“Load More Feeds”),this},c.prototype.events={click:“triggerClick”},c.prototype.triggerClick=function(){return this.trigger(“next:page:clicked”)},c}(JuicerBackbone.View)}.call(this),function(){var a=function(a,c){function d(){this.constructor=a}for(var e in c)b.call(c,e)&&(a=c);return d.prototype=c.prototype,a.prototype=new d,a.__super__=c.prototype,a},b={}.hasOwnProperty;Juicer.Views.EnterpriseUsers=function(b){function c(){return c.__super__.constructor.apply(this,arguments)}return a(c,b),c.prototype.template=JST,c.prototype.inviteAdminForm=JST,c.prototype.initialize=function(a){return this.model=new Juicer.Models.EnterpriseUsers({slug:a.slug}),this.model.fetch({success:function(a){return function(){return a.render()}}(this),error:function(){return alert(“uh oh something went wrong”)}})},c.prototype.render=function(){return this.$el.html(this.template({model:this.model})),this.renderAdmins(),this.renderUsers()},c.prototype.renderAdmins=function(){var a;return a=[],_u.each(this.model.get(“admins”).models,function(b){return function©{return a.push(new Juicer.Views.EnterpriseAdmin({model:c,account:b.model}).render())}}(this)),this.$(“.enterprise-admins”).html(a)},c.prototype.renderUsers=function(){var a;return a=[],_u.each(this.model.get(“users”).models,function(b){return function©{return a.push(new Juicer.Views.EnterpriseUser({model:c,account:b.model}).render())}}(this)),this.$(“.enterprise-users”).html(a)},c.prototype.events={“click a.new-enterprise-admin”:“openNewAdminOverlay”},c.prototype.openNewAdminOverlay=function(a){var b;return a.preventDefault(),this.csrf=$(’meta').attr(“content”),b=new Juicer.Views.Overlay({content:this.inviteAdminForm({model:this.model,csrf:this.csrf}),width:“35%”}),b.render()},c}(JuicerBackbone.View),Juicer.Views.EnterpriseAdmin=function(b){function c(){return c.__super__.constructor.apply(this,arguments)}return a(c,b),c.prototype.template=JST,c.prototype.tagName=“li”,c.prototype.className=“enterprise-user”,c.prototype.initialize=function(a){return this.account=a.account},c.prototype.render=function(){return this.$el.html(this.template({model:this.model,account:this.account}))},c}(JuicerBackbone.View),Juicer.Views.EnterpriseUser=function(b){function c(){return c.__super__.constructor.apply(this,arguments)}return a(c,b),c.prototype.template=JST,c.prototype.tagName=“li”,c.prototype.className=“bg-white border mb-25”,c.prototype.initialize=function(a){return this.account=a.account},c.prototype.render=function(){return this.$el.html(this.template({model:this.model,account:this.account}))},c.prototype.events={“click .delete-assignment”:“deleteAssignment”},c.prototype.deleteAssignment=function(a){var b,c;return a.preventDefault(),c=$(a.target).parents(“.enterprise-user-assignment”),Juicer.Helpers.confirm(“Are you sure you want to remote this user from this feed?”)?(b=new Juicer.Models.Assignment({id:$(a.target).data(“id”)}),b.destroy({success:function(a){return function(){return c.remove()}}(this),error:function(){return alert(“Something went wrong!”)}})):void 0},c}(JuicerBackbone.View)}.call(this),function(){var a=function(a,c){function d(){this.constructor=a}for(var e in c)b.call(c,e)&&(a=c);return d.prototype=c.prototype,a.prototype=new d,a.__super__=c.prototype,a},b={}.hasOwnProperty;Juicer.Views.EnterpriseWhiteLabel=function(b){function c(){return c.__super__.constructor.apply(this,arguments)}return a(c,b),c.prototype.template=JST,c.prototype.initialize=function(a){return this.model=new Juicer.Models.Enterprise({slug:a.slug}),this.model.fetch({success:function(a){return function(){return a.render()}}(this),error:function(){return alert(“uh oh something went wrong”)}})},c.prototype.render=function(){return this.$el.html(this.template({model:this.model}))},c.prototype.events={“submit .white-label-url”:“updateAccount”},c.prototype.updateAccount=function(a){var b,c;return a.preventDefault(),c=$(a.target),c.find(“input”).attr(“disabled”,“disabled”).val(“Loading…”),b=JuicerBackbone.Syphon.serialize©,this.model.set(b),this.model.save(null,{success:function(a){return function(){return a.render()}}(this)})},c}(JuicerBackbone.View)}.call(this),function(){var a=function(a,c){function d(){this.constructor=a}for(var e in c)b.call(c,e)&&(a=c);return d.prototype=c.prototype,a.prototype=new d,a.__super__=c.prototype,a},b={}.hasOwnProperty;Juicer.Views.Errors=function(b){function c(){return c.__super__.constructor.apply(this,arguments)}return a(c,b),c.prototype.template=JST.errors,c.prototype.initialize=function(a){var b,c,d;try{this.errors=$.parseJSON(a.errors.responseText).errors}catch(e){c=e,d=a&&a.errors&&a.errors.statusText||“”,b=d.match(/(timeout|unavailable)/i)?'The request timed out. Please try again by pressing “Create Source” below.':“An unspecified error occurred.”,this.errors={errorMessage:}}return this.$(“.errors, .j-loading, .please-wait”).remove(),this.$(“input”).show(),this.$el.prepend(this.template({errors:this.errors}))},c}(JuicerBackbone.View)}.call(this),function(){var a=function(a,b){return function(){return a.apply(b,arguments)}},b=function(a,b){function d(){this.constructor=a}for(var e in b)c.call(b,e)&&(a=b);return d.prototype=b.prototype,a.prototype=new d,a.__super__=b.prototype,a},c={}.hasOwnProperty,d=[].indexOf||function(a){for(var b=0,c=this.length;c>b;b++)if(b in this&&this===a)return b;return-1};Juicer.Views.Feed=function©{function e(){return this.reRender=a(this.reRender,this),this.stopVideo=a(this.stopVideo,this),e.__super__.constructor.apply(this,arguments)}return b(e,c),e.prototype.template=JST.feed,e.prototype.referral=JST,e.prototype.loading=JST,e.prototype.trackedPlans=,e.prototype.permittedOptions=,e.prototype.initialize=function(a){return this.userOptions=_u.pick(this.$el.data(),this.permittedOptions),this.userOptions=this.setDefaultOptions(this.userOptions),this.showLoader(!1,!0),this.model=a.model||this.newModel(),this.admin=a.admin||!1,this.tracked=!1,this.model.on(“new-posts”,this.reRender),this.model.on(“showLoader”,function(a){return function(){return a.showLoader(!0)}}(this))},e.prototype.setDefaultOptions=function(a){return a.slug=a.feedId,a.css=a.style,a.per||(a.per=100),a.page||(a.page=1),null!=a.overlay&&(a.overlay=!!a.overlay),a},e.prototype.newModel=function(){var a;return a=,new Juicer.Models.Feed(_u.pick(this.userOptions,a))},e.prototype.events=function(){return{“click li.feed-item”:“triggerEvent”,“click ul.j-filters li”:“filterFeed”,“click ul.j-display-filters li”:“filterFeed”,“click .j-paginate”:“appendNextPage”}},e.prototype.render=function(){return null!=this.model.get(“posts”)?this.renderFeed():this.model.fetch({success:function(a){return function(){return a.renderFeed()}}(this),error:function(a){return function(){return console.log(“Juicer Problem”)}}(this)}),this},e.prototype.renderFeed=function(){return this.hideLoader(),this.setUserOptionsFromModel(),this.model.paid()||this.addJuicerAds(),this.setDimensions(),this.determineBrowser(),this.model.widget()?this.renderWidget():this.model.slider()?this.renderSlider():this.model.livingWall()?this.renderLivingWall():this.renderFeedList(),this.setClass(),this.model.hasInterval()||this.handleBrokenImages(),this.$el.addClass(“loaded”),this.shouldTrack()&&this.trackPageView(),this.runAfter(“load”),this},e.prototype.setUserOptionsFromModel=function(){return _u.each(this.modelAttrs,function(a){return function(b){return null==a.userOptions&&0!==a.userOptions?a.userOptions=a.model.get(b):void 0}}(this)),null==this.userOptions.gutter&&(this.userOptions.gutter=this.defaultGutter()),this.userOptions},e.prototype.modelAttrs=,e.prototype.defaultGutter=function(){return this.noGutter()?0:20},e.prototype.noGutter=function(){return _u.contains(,this.model.get(“css”))},e.prototype.determineBrowser=function(){var a,b;return a=navigator.userAgent.match(/MSIE|Trident|Edge/)?“j-ie”:“j-modern”,b=navigator.userAgent.match(/Android|webOS|iPhone|iPad|iPod|BlackBerry|BB|PlayBook|IEMobile|Windows Phone|Kindle|Silk|Opera Mini/i)?“j-mobile”:“j-desktop”,this.$el.addClass(a).addClass(b)},e.prototype.runAfter=function(a){return null==a&&(a=“load”),this.afterFunction=new Function(“event”,this.userOptions.after),this.afterFunction(a)},e.prototype.showLoader=function(a,b){return null==a&&(a=!1),null==b&&(b=!1),this.$el.append(this.loading({container:a,wrapper:b}))},e.prototype.hideLoader=function(){return this.$(“.j-loading-container, .j-loading-wrapper, .j-loading”).remove()},e.prototype.renderWidget=function(){return this.widget=new Juicer.Views.Widget(this.feedOptions())},e.prototype.renderSlider=function(){return this.handleReferral(),this.slider=new Juicer.Views.Slider(this.feedOptions()).render(),this.slider.on(“slide”,function(a){return function(){return a.stopCurrentlyPlaying()}}(this))},e.prototype.renderLivingWall=function(){return this.livingWall=new Juicer.Views.LivingWall(this.feedOptions()).render(),this.handleReferral()},e.prototype.feedOptions=function(){return{el:this.el,model:this.model,admin:this.admin,interval:this.userOptions.interval,columns:this.userOptions.columns,gutter:this.userOptions.gutter,equal:this.userOptions.equal}},e.prototype.renderFeedList=function(){return this.$el.append(this.template({feed:this.model,admin:this.admin,filter:this.currentFilter()})),this.handleReferral(),this.infiniteScroll=new Juicer.Views.InfiniteScroll({container:this.$el,model:this.model,admin:this.admin,pages:this.userOptions.pages,template:JST.infinite_scroll}),this.model.isGrid()&&this.setupGrid(),this.model.classic()&&this.setGutterOnClassic(),this.infiniteScroll.on(“paginate”,function(a){return function(){return a.runAfter(“paginate”),null!=a.lazyLoad&&a.lazyLoad.checkImages(),a.handleBrokenImages()}}(this))},e.prototype.handleBrokenImages=function(){return new Juicer.Views.BrokenImage({el:this.el,model:this.model})},e.prototype.currentFilter=function(){return null!=this.model&&null!=this.model.filter?this.model.filter:this.userOptions.filter},e.prototype.setDimensions=function(){return this.$el.removeAttr(“style”),this.dimensions=this.$el.data(“width”)||this.model.get(“width”)||this.model.defaultHeight(),this.dimensions=this.$el.data(“height”)||this.model.get(“height”)||this.model.defaultWidth(),this.model.slider()?void 0:this.$el.css(this.dimensions)},e.prototype.dimensions={“max-width”:null,“max-height”:null},e.prototype.addJuicerAds=function(){var a,b;return a=this.model.get(“posts”).length,b=Math.floor(a/10),b>0?_u(b).times(function(a){return function(b){var c,d;return c=10*(b+1),d=new Juicer.Models.JuicerAd,a.model.get(“posts”).add(d,{at:c})}}(this)):void 0},e.prototype.setupGrid=function(){var a,b;return b=Math.floor(this.$el.outerWidth()/this.userOptions.columns),a=window.devicePixelRatio>2?225:200,a>b&&(b=a),this.$el.gridalicious({animate:!0,selector:“.feed-item”,width:b,gutter:this.userOptions.gutter,columns:this.userOptions.columns,animationOptions:{queue:!0,speed:100,duration:300,complete:function(a){return function(){return null==a.infiniteScroll?!0:a.infiniteScroll.shouldShowLoadMore()?void 0:a.infiniteScroll.removeLoadMore()}}(this)}}),this.model.get(“lazy_load”)?this.lazyLoad=new Juicer.Views.LazyLoad({model:this.model,view:this}):void 0},e.prototype.setGutterOnClassic=function(){var a,b;return a=“2%”,null==this.userOptions.gutter&&(b=a),this.$(“.feed-item”).css(“margin-bottom”,b)},e.prototype.appendNextPage=function(a){return null==a&&(a=null),a&&a.preventDefault(),this.$(“.j-paginate”).replaceWith(this.loading({inFeed:!0})),this.infiniteScroll.nextPage()},e.prototype.setClass=function(){return this.$el.removeClass(Juicer.Constants.FEED_CLASSES.join(“ ”)),this.$el.removeClass(this.cssClasses),this.$el.addClass(this.model.cssClass()),this.model.get(“photos”)?this.$el.addClass(“photos-only”):void 0},e.prototype.cssClasses=“photo photos-only juicer-widget gridalicious slick-initialized slick-slider modern ie colored-icons hover-images”,e.prototype.handleReferral=function(){return this.model.paid()||this.admin||this.$el.find(“h1.referral”).length>0||this.$el.prepend(this.referral()),this.model.paid()&&this.$el.find(“h1.referral”).remove(),this.$el.find(“a[href*=‘www.juicer.io’]”).attr(“href”,“https://www.juicer.io?referrer=”+this.model.get(“slug”))},e.prototype.trackPageView=function(){var a;return a=new Juicer.Models.PageView({feed_id:this.model.get(“id”),url:this.currentUrl()}),a.save(),this.tracked=!0},e.prototype.onJuicerDomain=function(){return window.location.href.match(“/iframe”)?!1:_u.contains([“www.juicer.io”,“localhost:3000”],window.location.host)},e.prototype.shouldTrack=function(){var a;return!this.onJuicerDomain()&&!this.tracked&&(a=this.model.get(“plan”),d.call(this.trackedPlans,a)>=0)},e.prototype.currentUrl=function(){return document.URL},e.prototype.triggerEvent=function(a){var b,c,d;if(d=jQuery(a.target),this.onJuicerDomain()||this.trackClick(d),d.hasClass(“delete”))return a.preventDefault(),this.deletePost(d);if(d.hasClass(“sticky”))return a.preventDefault(),this.toggleSticky(d,“stick”);if(d.hasClass(“unstick”))return a.preventDefault(),this.toggleSticky(d,“un-stick”);if(d.hasClass(“edit”))return new Juicer.Views.PostEdit({id:d.parents(“ul.actions”).data(“id”),model:this.model}).render();if(d.hasClass(“j-image”)&&d.parents(“li.j-video”).length>0&&!this.model.get(“video_overlay”))return a.preventDefault(),this.model.hasInterval()&&this.userOptions.overlay?(this.stopCurrentlyPlaying(),this.openOverlay({target:d})):this.playVideo(d,d.parents(“li.j-video”));if(d.hasClass(“j-gallery-arrow”))return a.preventDefault(),new Juicer.Views.Gallery({target:d,el:this.el,model:this.model});if(d.parents(“.j-twitter-intents”).length>0)return a.preventDefault(),this.handleTwitterIntent(d);if(d.parents(“.feed-item.j-twitter”).length>0){if(!(d.is(“a”)||d.parents(“a”).length>0))return b=d.parents(“.feed-item”).data(“id”),c=this.model.get(“posts”).findWhere({id:b}),window.open(c.link(),“_blank”)}else if(this.userOptions.overlay&&!d.hasClass(“.feed-item.juicer”)&&!d.parents(“.feed-item.juicer”).length>0&&!d.parents(“.feed-item.j-twitter”).length>0)return a.preventDefault(),this.stopCurrentlyPlaying(),this.openOverlay({target:d})},e.prototype.trackClick=function(a){var b;return a=a.is(“li.feed-item”)?a:a.parents(“li.feed-item”),b=new Juicer.Models.Click({feed_id:this.model.get(“id”),post_id:a.data(“id”)}),b.save()},e.prototype.openOverlay=function(a){return this.postOverlay=new Juicer.Views.PostOverlay({target:a.target,model:this.model}),this.postOverlay.on(“render”,function(a){return function(){return a.runAfter(“overlay”)}}(this)),this.postOverlay.render()},e.prototype.deletePost=function(a){var b;return Juicer.Helpers.confirm(“Are you sure you want to delete this post?”)?(a=a.parents(“ul.actions”),b=new Juicer.Models.Post({id:a.data(“id”)}),a.parents(“.feed-item”).remove(),b.destroy()):!1},e.prototype.toggleSticky=function(a,b){var c,d;return null==b&&(b=“stick”),Juicer.Helpers.confirm(“Are you sure you want to ”b
“ this post?”)?(a=a.parents(“ul.actions”),d=new Juicer.Models.Post({id:a.data(“id”)}),c={success:function(a){return function(b,c){return a.model.set(b,{parse:!0}),a.model.trigger(“action”)}}(this),error:function(){return alert(“Something went wrong.”)}},“stick”===b?d.stick©:d.unstick©):!1},e.prototype.playVideo=function(a,b){if(a=a.is(“a.j-image”)?a:a.parents(“a.j-image”),a.hasClass(“playing”)){if(this.stopVideo(a),this.slider)return this.slider.play()}else if(this.stopCurrentlyPlaying(),this.slider&&this.slider.stop(),a.addClass(“playing”),a.html(this.embedVideo(a.data(“external-id”),b,a.data(“video-url”))),null!=this.slider)return this.slider.$el.slick(“slickPause”)},e.prototype.stopVideo=function(a){return a.removeClass(“playing”),a.html(“<img src='”+a.data(“image”)+“' style='width:100%;display:block;' />”),null!=this.slider?this.slider.$el.slick(“slickPlay”):void 0},e.prototype.embedVideo=function(a,b,c){var d;return null==c&&(c=null),d=b.data(“source”),“tumblr”===d&&(c=this.parseTumblrVideo(b,c)),JST[“partials/video/_”d
“_embed”]({id:a,video:c})},e.prototype.parseTumblrVideo=function(a,b){var c,d;return c=jQuery(jQuery.parseHTML(b)),c.removeAttr(“id class width height poster preload data-crt-video data-crt-options”),c.attr(“src”)&&(d=c.attr(“src”)+“&autoplay=1”,c.attr(“src”,d)),window.setTimeout(function(b){return function(){return a.find(“video”).play()}}(this),500),c.outerHTML},e.prototype.stopCurrentlyPlaying=function(){return _u.each(this.$(“.playing”),function(a){return function(b){return a.stopVideo(jQuery(b))}}(this))},e.prototype.handleTwitterIntent=function(a){var b,c,d,e,f,g;return e=550,b=420,f=screen.height,g=screen.width,d=0,c=Math.round(g/2-e/2),f>b&&(d=Math.round(f/2-b/2)),window.open(a.attr(“href”),“intent”,“scrollbars=yes,resizable=yes,toolbar=no,location=yes,width=”e
“,height=”b
“,top=”d
“,left=”+c)},e.prototype.filterFeed=function(a){var b,c,d;return a.preventDefault(),c=jQuery(a.target),b=c.attr(“data-filter”),d=c.attr(“class”).replace(“selected”,“”).replace(“ ”,“”),this.model.filter===c.data(“filter”)?!1:(this.model.filter=c.data(“filter”),this.filter=c.data(“filter”),this.model.resetPage(),this.model.fetch({success:function(a){return function(){return a.$el.empty(),a.infiniteScroll&&a.infiniteScroll.close(),a.render(),a.delegateEvents()}}(this)}))},e.prototype.close=function(){return this.unbindChildren(),this.$el.removeClass(“j-initialized”),this.model.off(“new-posts”),this.model.off(“showLoader”),this},e.prototype.unbindChildren=function(){return null!=this.widget&&this.widget.close(),null!=this.livingWall&&this.livingWall.close(),null!=this.infiniteScroll&&this.infiniteScroll.close(),null!=this.lazyLoad&&this.lazyLoad.close(),null!=this.slider&&this.slider.off(“slide”),this.$el.empty().off(),this.stopListening()},e.prototype.reRender=function(){return this.unbindChildren(),this.render(),this.delegateEvents()},e}(JuicerBackbone.View)}.call(this),function(){var a=function(a,c){function d(){this.constructor=a}for(var e in c)b.call(c,e)&&(a=c);return d.prototype=c.prototype,a.prototype=new d,a.__super__=c.prototype,a},b={}.hasOwnProperty;Juicer.Views.Analytics=function(b){function c(){return c.__super__.constructor.apply(this,arguments)}return a(c,b),c.prototype.template=JST,c.prototype.overlay=JST,c.prototype.events={“click .launch”:“openAnalyticsOverlay”},c.prototype.openAnalyticsOverlay=function(a){return a.preventDefault(),this.feed.get(“analytics_allowed?”)?window.location=“/analytics/”+this.feed.get(“slug”):new Juicer.Views.Overlay({content:this.overlay({feed:this.feed}),element:this.el}).render()},c}(Juicer.Views.SubViewSlide)}.call(this),function(){var a=function(a,b){return function(){return a.apply(b,arguments)}},b=function(a,b){function d(){this.constructor=a}for(var e in b)c.call(b,e)&&(a=b);return d.prototype=b.prototype,a.prototype=new d,a.__super__=b.prototype,a},c={}.hasOwnProperty;Juicer.Views.Design=function©{function d(){return this.afterCssParsing=a(this.afterCssParsing,this),d.__super__.constructor.apply(this,arguments)}return b(d,c),d.prototype.template=JST,d.prototype.colorPicker=JST,d.prototype.cssOverlay=JST, d.prototype.title=“Custom Design”,d.prototype.events={“click .feed-color”:“showColorPicker”,“change .color-input”:“updateColor”,“input .hex-input”:“updateColor”,“click .save-style”:“saveStyle”,“click .reset-style”:“resetStyle”,“click .customize-css”:“openCustomCssOverlay”,“submit .css-form”:“submitCssForm”},d.prototype.showColorPicker=function(a){var b,c;return c=$(a.target),c.hasClass(“feed-color”)||(c=c.parents(“.feed-color”)),this.$(“.color-fields”).remove(),b=c.data(“color”),c.after(this.colorPicker({color:this.feed.getColor(b),pattern:this.pattern,colorAttr:b}))},d.prototype.pattern=“^#+({6}|[a-fA-F0-9]{3})$”,d.prototype.updateColor=function(a){var b,c,d,e;return d=$(a.target),e=d.val(),e.match(this.pattern)?(c=d.hasClass(“hex-input”)?“.color-input”:“.hex-input”,this.$©.val(e),b=d.parents(“.color-fields”).data(“color”),this.$(“.color-example, .feed-color[data-color=‘”b
“’] .color-picker-circle”).css({backgroundColor:e}),this.updateModel(b,e)):!1},d.prototype.updateModel=function(a,b){return this.feed.updateColor(a,b)},d.prototype.saveStyle=function(a){return this.feed.save(null,{success:function(b){return function(){return b.notifySuccess($(a.target))}}(this),error:function(){return alert(“Sorry your design didn't save properly. Please try again.”)}})},d.prototype.resetStyle=function(a){return confirm(“Are you sure you want to set your feed custom styles back to default?”)?(this.feed.resetColors(),this.feed.save(null,{success:function(a){return function(){return a.feed.trigger(“action”),a.render()}}(this)})):void 0},d.prototype.notifySuccess=function(a){return a.text(“Saved!”),setTimeout(function(b){return function(){return a.text(“Save Custom Style”)}}(this),3e3)},d.prototype.openCustomCssOverlay=function(){return this.overlay=new Juicer.Views.Overlay({content:this.cssOverlay({feed:this.feed}),element:this.el,width:“50%”}),this.overlay.render()},d.prototype.submitCssForm=function(a){var b;return a.preventDefault(),b=$(a.target).serializeHash(),$.parsecss(b.css,this.afterCssParsing)},d.prototype.afterCssParsing=function(a){return this.feed.set(“custom_css”,this.stringifyCss(a)),this.feed.save(null,{success:function(a){return function(){return a.overlay.removeView(),a.feed.trigger(“action”)}}(this),error:function(){return alert(“Something went wrong”)}})},d.prototype.stringifyCss=function(a){var b;return b=“”,_u.each(a,function(a,c){return b+=c+“ {n”,_u.each(a,function(a,c){return b+=“ ”c
“: ”a
“;n”}),b+=“}nn”}),b},d}(Juicer.Views.SubView)}.call(this),function(){var a=function(a,c){function d(){this.constructor=a}for(var e in c)b.call(c,e)&&(a=c);return d.prototype=c.prototype,a.prototype=new d,a.__super__=c.prototype,a},b={}.hasOwnProperty;Juicer.Views.Embed=function(b){function c(){return c.__super__.constructor.apply(this,arguments)}return a(c,b),c.prototype.embed=JST,c.prototype.template=JST,c.prototype.wordpress=JST,c.prototype.iframe=JST,c.prototype.menu=JST,c.prototype.title=“Embed In Your Site”,c.prototype.initialize=function(){return c.__super__.initialize.apply(this,arguments),this.currentlySelected=“site”},c.prototype.embedOptions=[{value:“site”,label:“Standard Website”},{value:“wordpress”,label:“Wordpress Site”},{value:“iframe”,label:“iframe”}],c.prototype.events={“change .embed-menu”:“switchEmbed”,“focus textarea”:“highlightField”},c.prototype.switchEmbed=function(a){return this.currentlySelected=$(a.target).val(),this.renderTemplate(),this.renderTitle()},c.prototype.renderTemplate=function(){return this.renderContent(),this.renderMenu()},c.prototype.renderContent=function(){switch(this.currentlySelected){case“wordpress”:return this.showWordPress();case“iframe”:return this.showIframe();default:return this.showEmbed()}},c.prototype.renderMenu=function(){return this.$el.prepend(this.menu({embedOptions:this.embedOptions,currentlySelected:this.currentlySelected}))},c.prototype.javascriptPath=function(){return this.assetPath(“embed.js”)},c.prototype.stylesheetPath=function(){return this.assetPath(“embed.css”)},c.prototype.assetPath=function(a){return Juicer.Constants.ASSET_PATH+“/”+a},c.prototype.showEmbed=function(){var a;return a=this.embed({feed:this.feed,javascript:this.javascriptPath(),stylesheet:this.stylesheetPath()}),a=a.replace(/<br />/g,“n”),this.$el.html(this.template({embed:a,feed:this.feed}))},c.prototype.showWordPress=function(){return this.$el.html(this.wordpress({feed:this.feed}))},c.prototype.showIframe=function(){var a,b,c;return a=this.feed.get(“height”)||1e3,c=this.feed.get(“width”)||1e3,1e3===a&&this.feed.slider()&&(a=300),b=“<iframe src='www.juicer.io/api/feeds/”+this.feed.get(“slug”)+“/iframe' frameborder='0' width='”c
“' height='”a
“' style='display:block;margin:0 auto;'></iframe>”,this.$el.html(this.iframe({iframe:b}))},c.prototype.highlightField=function(a){var b;return b!==$(a.target)?(b=$(a.target),setTimeout(function(){return b.select()},50)):void 0},c}(Juicer.Views.SubView)}.call(this),function(){var a=function(a,c){function d(){this.constructor=a}for(var e in c)b.call(c,e)&&(a=c);return d.prototype=c.prototype,a.prototype=new d,a.__super__=c.prototype,a},b={}.hasOwnProperty;Juicer.Views.Features=function(b){function c(){return c.__super__.constructor.apply(this,arguments)}return a(c,b),c.prototype.template=JST,c}(Juicer.Views.SubViewSlide)}.call(this),function(){var a=function(a,c){function d(){this.constructor=a}for(var e in c)b.call(c,e)&&(a=c);return d.prototype=c.prototype,a.prototype=new d,a.__super__=c.prototype,a},b={}.hasOwnProperty;Juicer.Views.Hub=function(b){function c(){return c.__super__.constructor.apply(this,arguments)}return a(c,b),c.prototype.template=JST,c}(Juicer.Views.SubViewSlide)}.call(this),function(){var a=function(a,b){return function(){return a.apply(b,arguments)}},b=function(a,b){function d(){this.constructor=a}for(var e in b)c.call(b,e)&&(a=b);return d.prototype=b.prototype,a.prototype=new d,a.__super__=b.prototype,a},c={}.hasOwnProperty;Juicer.Views.Moderate=function©{function d(){return this.pollForRevalidating=a(this.pollForRevalidating,this),this.revalidatingPoll=a(this.revalidatingPoll,this),this.closeOverlay=a(this.closeOverlay,this),d.__super__.constructor.apply(this,arguments)}return b(d,c),d.prototype.template=JST,d.prototype.revalidateOverlay=JST,d.prototype.title=“Moderate and Filter”,d.prototype.initialize=function(){return d.__super__.initialize.apply(this,arguments),this.initialAttributes=_u.pick(this.feed.attributes,“lazy_load”,“css”)},d.prototype.render=function(){return d.__super__.render.apply(this,arguments),new Juicer.Views.GooglePlaces({el:this.el}),this.toggleFilterBlocker()},d.prototype.events={“submit .filters”:“openOverlay”,“click .moderate-confirm”:“submitConfirmation”,“click .moderated”:“viewModeratedPosts”,“click .public”:“showPublic”,“change input#queue”:“toggleAndSubmit”},d.prototype.showPublic=function(a){return this.fetchFeed(),$(“.moderation-nav .active”).removeClass(“active”),$(a.target).addClass(“active”)},d.prototype.viewModeratedPosts=function(a){return a.preventDefault(),this.moderated=new Juicer.Models.Moderated({slug:this.feed.get(“slug”)}),$(window).unbind(“scroll”),$(“.moderation-nav .active”).removeClass(“active”),$(a.target).addClass(“active”),this.moderated.fetch({success:function(a){return function(){return a.feedView.close(),new Juicer.Views.Moderated({el:“ul.juicer-feed”,model:a.moderated}).render()}}(this),error:function(){return alert(“Something went wrong pulling in your moderated posts.”)}})},d.prototype.openOverlay=function(a){var b;return a.preventDefault(),b=$(a.target).serializeHash().feed,this.overlay=new Juicer.Views.Overlay({content:this.revalidateOverlay({data:b}),element:this.el,width:“50%”}),this.overlay.render()},d.prototype.closeOverlay=function(){return this.overlay.removeView()},d.prototype.submitConfirmation=function(a){var b,c;return a.preventDefault(),c=$(a.target),b=c.parents(“form”).serializeHash(),c.data(“revalidate”)?(c.parents(“.submits”).html(“<div class='j-loading'>Loading…</div><div class='mt-15 fifteen tc-gray'>Applying filter settings to existing posts. This can take a while. Please hold.</div>”),b.revalidating=!0,this.updateFilters(b,this.revalidatingPoll)):(c.parents(“.submits”).html(“<div class='j-loading'>Loading…</div>”),this.updateFilters(b,this.closeOverlay))},d.prototype.updateFilters=function(a,b){return this.feed.set(a),this.feed.save(null,{success:function(a){return function(){return b()}}(this),error:function(){return alert(“Something went wrong!”)}})},d.prototype.revalidatingPoll=function(){return setTimeout(this.pollForRevalidating,5e3)},d.prototype.pollForRevalidating=function(){return this.feed.fetch({success:function(a){return function(){return a.feed.get(“revalidating”)?a.revalidatingPoll():(a.closeOverlay(),a.feed.trigger(“action”))}}(this),error:function(){return alert(“Something happened with polling. Please refresh page.”)}})},d.prototype.toggleAndSubmit=function(){return this.toggleFilterBlocker(),this.queueChecked()?this.$(“form”).trigger(“submit”):void 0},d.prototype.toggleFilterBlocker=function(){var a;return a=this.$(“.filter-blocker”),this.queueChecked()?a.show():a.hide()},d.prototype.queueChecked=function(){return this.$(“#queue”).is(“:checked”)},d.prototype.close=function(a){return null==a&&(a=null),null!=a&&a.preventDefault(),$(“li.selected”).removeClass(“selected”),d.__super__.close.apply(this,arguments),null!=this.moderated?this.fetchFeed():void 0},d.prototype.fetchFeed=function(){return this.feed.set(this.initialAttributes),this.feed.moderated?window.location=“/feeds/”+this.feed.get(“slug”):this.feed.fetch({success:function(a){return function(){return a.feed.trigger(“action”)}}(this)})},d}(Juicer.Views.SubView)}.call(this),function(){var a=function(a,b){return function(){return a.apply(b,arguments)}},b=function(a,b){function d(){this.constructor=a}for(var e in b)c.call(b,e)&&(a=b);return d.prototype=b.prototype,a.prototype=new d,a.__super__=b.prototype,a},c={}.hasOwnProperty;Juicer.Views.Settings=function©{function d(){return this.reRender=a(this.reRender,this),d.__super__.constructor.apply(this,arguments)}return b(d,c),d.prototype.template=JST,d.prototype.title=“Feed Settings”,d.prototype.events={“input input.columns”:“updateColumns”,“input input.interval”:“updateInterval”,“input input.width”:“updateDimensions”,“input input.height”:“updateDimensions”,“change input”:“updateCheckbox”,“change .css”:“updateStyle”,“change .order”:“updateOrder”,“change .filter_setting”:“updateFilter”,“focus input”:“highlightField”},d.prototype.render=function(){return d.__super__.render.apply(this,arguments),this.toggleSettings(),this.feed.on(“change:css”,this.reRender)},d.prototype.renderTemplate=function(){return this.$el.html(this.template({feed:this.feed,checkboxes:this.checkboxes}))},d.prototype.reRender=function(){return this.$el.html(this.template({feed:this.feed,checkboxes:this.checkboxes})),this.renderTitle(),this.toggleSettings()},d.prototype.toggleSettings=function(){return this.feed.hasInterval()&&this.showInterval(),this.feed.hasInterval()||this.showFilter(),this.feed.hasColumns()?this.showColumns():void 0},d.prototype.showInterval=function(){return this.$(“.interval”).show()},d.prototype.showFilter=function(){return this.$(“.filter_setting”).show()},d.prototype.showColumns=function(){return this.$(“.columns”).show()},d.prototype.checkboxes=[{attr:“colored_icons”,label:“Color in social network icons”},{attr:“photos”,label:“Only show posts with images”},{attr:“videos”,label:“Only show posts with videos”},{attr:“lazy_load”,label:“Lazy-load images”,tooltip:“Won't load images until they are scrolled to on your site. This will save on bandwidth and decrease page load time. Only use if Juicer feed is below the fold.”},{attr:“overlay”,label:“Open overlay on post click”,tooltip:“With this box checked, when you click on a post it will open in an overlay view with the post larger and sharing icons. Otherwise it will link directly to the post.”},{attr:“video_overlay”,label:“Only play videos in overlay”,tooltip:“With this box checked, videos will open in an overlay and play. If not checked, the videos will play inline in the feed.”},{attr:“infinite_scroll”,label:“Infinite Scroll”,tooltip:'If you scroll to the bottom of your Juicer feed, automatically load in more posts. If not, you'll see a “Load More” button instead'},{attr:“poll”,label:“Auto-Refresh for Live Events”,tooltip:“Refreshes the feed automatically when new posts are pulled in. Great for using on a display at a live event.”}],d.prototype.updateColumns=function(a){var b,c;return c=$(a.target).val(),0<(b=c.length)&&2>b?(this.feed.set(“columns”,c),this.saveAndRender()):void 0},d.prototype.updateInterval=function(a){var b,c;return c=$(a.target).val(),3<(b=c.length)&&10>b||“0”===c?(this.feed.set(“interval”,c),this.saveAndRender()):void 0},d.prototype.updateDimensions=function(a){var b,c,d,e;return d=$(a.target),e=d.val(),b=d.attr(“class”),2<(c=e.length)&&5>c&&e>99&&5001>e||“”===e?(this.feed.set(b,e),this.saveAndRender()):void 0},d.prototype.updateCheckbox=function(a){var b,c;return b=$(a.target),c=b.is(“:checked”)?“1”:“0”,this.feed.set(b.data(“attribute”),c),this.saveAndRender()},d.prototype.updateStyle=function(a){return this.feed.set(“css”,$(a.target).val()),this.saveAndRender()},d.prototype.updateOrder=function(a){return this.feed.set(“order”,$(a.target).val()),this.saveAndRender()},d.prototype.updateFilter=function(a){return this.feed.set(“display_filter”,$(a.target).val()),this.saveAndRender()},d.prototype.saveAndRender=function(){return this.feed.trigger(“showLoader”),this.feed.save(null,{success:function(a){return function(){return a.feed.trigger(“action”)}}(this)})},d.prototype.highlightField=function(a){var b;return b!==$(a.target)?(b=$(a.target),setTimeout(function(){return b.select()},50)):void 0},d}(Juicer.Views.SubView)}.call(this),function(){var a=function(a,c){function d(){this.constructor=a}for(var e in c)b.call(c,e)&&(a=c);return d.prototype=c.prototype,a.prototype=new d,a.__super__=c.prototype,a},b={}.hasOwnProperty;Juicer.Views.SocialAccounts=function(b){function c(){return c.__super__.constructor.apply(this,arguments)}return a(c,b),c.prototype.template=JST,c.prototype.title=“Expired Social Accounts”,c}(Juicer.Views.SubViewSlide)}.call(this),function(){var a=function(a,b){return function(){return a.apply(b,arguments)}},b=function(a,b){function d(){this.constructor=a}for(var e in b)c.call(b,e)&&(a=b);return d.prototype=b.prototype,a.prototype=new d,a.__super__=b.prototype,a},c={}.hasOwnProperty;Juicer.Views.Sources=function©{function d(){return this.reRender=a(this.reRender,this),this.sort=a(this.sort,this),d.__super__.constructor.apply(this,arguments)}return b(d,c),d.prototype.template=JST,d.prototype.title=“Social Media Sources”,d.prototype.render=function(a){return d.__super__.render.apply(this,arguments),jQuery(“.juicer-feed”).hasClass(“j-modern”)?sortable(“.source-list”,{items:“.existing-source”,forcePlaceholderSize:!0})[0].addEventListener(“sortupdate”,this.sort):void 0},d.prototype.events={“click .delete”:“removeSource”,“click .source-submenu-item”:“openSourceOverlay”,“click .rename”:“openSourceEditOverlay”,“click .moderate”:“openSourceModerateOverlay”,“submit manual_post”:“addPostManually”,“submit .source-update”:“updateSource”,“click .existing-source”:“toggleSubMenu”,“click .add-source-submenu”:“openSourceForm”},d.prototype.removeSource=function(a){var b,c,d;return a.preventDefault(),d=$(a.target),Juicer.Helpers.confirm(“Are you sure you want to delete this source? This will PERMANENTLY delete your posts from your Juicer Feed. If you plan to re-add this source there is NO GUARANTEE we will be able to pull all your posts back in, so do at your own risk.”)?(b=d.data(“id”),c=new Juicer.Models.Source({id:b}),c.destroy({success:function(a){return function(c,e){return a.feed.set(e,{parse:!0}),$(“.existing-source[data-id=‘”b
“’]”).remove(),d.parents(“.source-submenu”).remove(),a.feed.trigger(“action”)}}(this),error:function(){return alert(“uh oh, something went wrong.”)}})):void 0},d.prototype.openSourceForm=function(){return this.trigger(“openSourceForm”,this)},d.prototype.openSourceOverlay=function(a){var b,c;return a.preventDefault(),c=$(a.target),b=this.feed.get(“sources”).findWhere({id:c.data(“id”)}),this.overlay=new Juicer.Views.Overlay({content:JST({source:b,feed:this.feed}),width:“50%”,element:this.el}),this.overlay.render()},d.prototype.addPostManually=function(a){var b,c;return a.preventDefault(),c=$(a.target),c.find(“ul.errors”).remove(),b=c.serializeHash(),this.post=new Juicer.Models.Post(b),this.post.save(null,{success:function(a){return function(b,c){return a.feed.set(c,{parse:!0}),a.reRender(),a.feed.trigger(“action”)}}(this),error:function(a){return function(a,b){return new Juicer.Views.Errors({el:c,errors:b})}}(this)})},d.prototype.updateSource=function(a){var b,c;return a.preventDefault(),c=$(a.target),b=c.serializeHash(),this.source=new Juicer.Models.Source(b),this.source.save(null,{success:function(a){return function(b,c){return a.feed.set(c,{parse:!0}),a.reRender(),a.feed.trigger(“action”)}}(this),error:function(){return alert(“Something went wrong.”)}})},d.prototype.sort=function(a){var b;return b=_u.map($(a.target).find(“.existing-source”),function(a){return function(a){return $(a).data(“id”)}}(this)),this.feed.set({source_ids:b}),this.saveAndRender()},d.prototype.reRender=function(){return this.parent.renderSidebar()},d.prototype.toggleSubMenu=function(a){var b;return b=$(a.target),b.hasClass(“existing-source”)||(b=b.parents(“.existing-source”)),b.next(“.source-submenu”).slideToggle(),b.toggleClass(“open”)},d.prototype.saveAndRender=function(){return this.feed.trigger(“showLoader”),this.feed.save(null,{success:function(a){return function(){return a.feed.set({source_ids:null}),a.feed.trigger(“action”)}}(this)})},d}(Juicer.Views.SubView)}.call(this),function(){var a=function(a,c){function d(){this.constructor=a}for(var e in c)b.call(c,e)&&(a=c);return d.prototype=c.prototype,a.prototype=new d,a.__super__=c.prototype,a},b={}.hasOwnProperty;Juicer.Views.Synced=function(b){function c(){return c.__super__.constructor.apply(this,arguments)}return a(c,b),c.prototype.template=JST,c}(Juicer.Views.SubViewSlide)}.call(this),function(){var a=function(a,c){function d(){this.constructor=a}for(var e in c)b.call(c,e)&&(a=c);return d.prototype=c.prototype,a.prototype=new d,a.__super__=c.prototype,a},b={}.hasOwnProperty;Juicer.Views.ChurnForm=function(b){function c(){return c.__super__.constructor.apply(this,arguments)}return a(c,b),c.prototype.namespace=“churn”,c.prototype.createModel=function(){return new JuicerBackbone.Model},c}(Juicer.Views.FormView)}.call(this),function(){var a=function(a,c){function d(){this.constructor=a}for(var e in c)b.call(c,e)&&(a=c);return d.prototype=c.prototype,a.prototype=new d,a.__super__=c.prototype,a},b={}.hasOwnProperty;Juicer.Views.ContactForm=function(b){function c(){return c.__super__.constructor.apply(this,arguments)}return a(c,b),c.prototype.namespace=“contact_message”,c.prototype.createModel=function(){return new Juicer.Models.ContactMessageValidation},c}(Juicer.Views.FormView)}.call(this),function(){var a=function(a,c){function d(){this.constructor=a}for(var e in c)b.call(c,e)&&(a=c);return d.prototype=c.prototype,a.prototype=new d,a.__super__=c.prototype,a},b={}.hasOwnProperty;Juicer.Views.FeedForm=function(b){function c(){return c.__super__.constructor.apply(this,arguments)}return a(c,b),c.prototype.namespace=“feed”,c.prototype.createModel=function(){return new Juicer.Models.FeedValidation},c}(Juicer.Views.FormView)}.call(this),function(){var a=function(a,c){function d(){this.constructor=a}for(var e in c)b.call(c,e)&&(a=c);return d.prototype=c.prototype,a.prototype=new d,a.__super__=c.prototype,a},b={}.hasOwnProperty;Juicer.Views.UserForm=function(b){function c(){return c.__super__.constructor.apply(this,arguments)}return a(c,b),c.prototype.namespace=“user”,c.prototype.createModel=function(){return new Juicer.Models.UserValidation},c}(Juicer.Views.FormView)}.call(this),function(){var a=function(a,c){function d(){this.constructor=a}for(var e in c)b.call(c,e)&&(a=c);return d.prototype=c.prototype,a.prototype=new d,a.__super__=c.prototype,a},b={}.hasOwnProperty;Juicer.Views.UserUpdateForm=function(b){function c(){return c.__super__.constructor.apply(this,arguments)}return a(c,b),c.prototype.namespace=“user”,c.prototype.createModel=function(){var a;return a={email:$(“#user_email”).val(),noPassword:$(“#user_password”).length<1},new Juicer.Models.UserUpdateValidation(a)},c}(Juicer.Views.FormView)}.call(this),function(){var a=function(a,c){function d(){this.constructor=a}for(var e in c)b.call(c,e)&&(a=c);return d.prototype=c.prototype,a.prototype=new d,a.__super__=c.prototype,a},b={}.hasOwnProperty;Juicer.Views.Gallery=function(b){function c(){return c.__super__.constructor.apply(this,arguments)}return a(c,b),c.prototype.initialize=function(a){var b,c,d,e,f,g,h,i;return i=a.target,e=i.parents(“.j-gallery”),b=e.data(“id”),g=this.model.get(“posts”).findWhere({id:b}),c=e.find(“.j-image img”),h=c.attr(“src”),f=g.get(“additional_photos”),d=f.indexOf(h),-1===d&&(d=0),i.hasClass(“j-gallery-next”)?d+=1:i.hasClass(“j-gallery-previous”)&&(d-=1),d>=f.length&&(d=0),0>d&&(d=f.length-1),c.attr(“src”,f)},c}(JuicerBackbone.View)}.call(this),function(){var a=function(a,c){function d(){this.constructor=a}for(var e in c)b.call(c,e)&&(a=c);return d.prototype=c.prototype,a.prototype=new d,a.__super__=c.prototype,a},b={}.hasOwnProperty;Juicer.Views.GdprOverlay=function(b){function c(){return c.__super__.constructor.apply(this,arguments)}return a(c,b),c.prototype.template=JST.gdpr_form,c.prototype.initialize=function(){return this.overlay=new Juicer.Views.Overlay({content:this.template(),element:this.el,width:“50%”}),this.overlay.render()},c}(JuicerBackbone.View)}.call(this),function(){var a=function(a,b){return function(){return a.apply(b,arguments)}},b=function(a,b){function d(){this.constructor=a}for(var e in b)c.call(b,e)&&(a=b);return d.prototype=b.prototype,a.prototype=new d,a.__super__=b.prototype,a},c={}.hasOwnProperty;Juicer.Views.GooglePlaces=function©{function d(){return this.setGeometry=a(this.setGeometry,this),d.__super__.constructor.apply(this,arguments)}return b(d,c),d.prototype.initialize=function(){return $.getScript(“maps.googleapis.com/maps/api/js?key=”Juicer.Constants.GOOGLE_MAPS_KEY
“&libraries=places”,function(a){return function(){var b;return b=a.$(“input#location”),a.searchBox=new google.maps.places.SearchBox(b),a.searchBox.addListener(“places_changed”,a.setGeometry)}}(this))},d.prototype.setGeometry=function(){var a,b;return b=this.searchBox.getPlaces(),a=b,window.place=a,this.$(“input#lat”).val(a.geometry.location.lat()),this.$(“input#lng”).val(a.geometry.location.lng()),this.$(“input”).removeAttr(“disabled”)},d}(JuicerBackbone.View)}.call(this),function(){var a=function(a,c){function d(){this.constructor=a}for(var e in c)b.call(c,e)&&(a=c);return d.prototype=c.prototype,a.prototype=new d,a.__super__=c.prototype,a},b={}.hasOwnProperty;Juicer.Views.Graph=function(b){function c(){return c.__super__.constructor.apply(this,arguments)}return a(c,b),c.prototype.initialize=function(){var a,b,c,d,e;return e=1e3,c=600,a=d3.scale.category20(),b=d3.layout.force().linkDistance(10).linkStrength(2).size(),d=d3.select(this.el).append(“svg”).attr(“width”,e).attr(“height”,c),d3.json(“/graph.json”,function(a,c){var e,f,g,h,i;i=c.nodes.slice(),g=[],e=,c.links.forEach(function(a){var b,c,d;c=i,d=i,b={},i.push(b),g.push({source:c,target:b},{source:b,target:d}),e.push()}),b.nodes(i).links(g).start(),f=d.selectAll(“.link”).data(e).enter().append(“path”).attr(“class”,“link”),h=d.selectAll(“.node”).data(c.nodes).enter().append(“circle”).attr(“class”,“node”).attr(“r”,5).style(“fill”,function(a){return“#ffffff”}).call(b.drag),h.append(“title”).text(function(a){return a.name}),b.on(“tick”,function(){f.attr(“d”,function(a){return“M”a[0].x
“,”a[0].y
“S”a[1].x
“,”a[1].y
“ ”a[2].x
“,”+a.y}),h.attr(“transform”,function(a){return“translate(”a.x
“,”a.y
“)”})})})},c}(JuicerBackbone.View)}.call(this),function(){var a=function(a,c){function d(){this.constructor=a}for(var e in c)b.call(c,e)&&(a=c);return d.prototype=c.prototype,a.prototype=new d,a.__super__=c.prototype,a},b={}.hasOwnProperty;Juicer.Views.Home=function(b){function c(){return c.__super__.constructor.apply(this,arguments)}return a(c,b),c.prototype.initialize=function(){return this.$(“input”).placeholder(),new Juicer.Views.HomeSlider({el:“.what-is-juicer”}),new Juicer.Views.Graph({el:“.graph-nodes”}),“static-home”===this.$el.attr(“id”)?(this.$(“.main-header”).addClass(“home-header”),this.$(“.main-header .logo”).addClass(“logo-large”).removeClass(“logo”)):void 0},c.prototype.events={“click .learn-more”:“scrollDown”,“click .show”:“renderExample”,“change select”:“reRenderFeed”,“click .hide-feed”:“hideFeed”},c.prototype.scrollDown=function(a){var b;return a.preventDefault(),b=this.$(“.what-is-juicer”).offset().top,$(“html,body”).animate({scrollTop:b},{easing:“swing”,duration:500})},c.prototype.renderExample=function(a){var b;return a.preventDefault(),b=$(a.target),b.html(“Loading…”),this.model=new Juicer.Models.Feed({slug:“juicer”,per:16,order:“random”}),this.model.fetch({success:function(a){return function(){return a.renderFeed(),$(“.style-picker”).css(“display”,“inline-block”),$(“.hide-feed”).show(),b.hide()}}(this),error:function(){return console.log(“Example did not load!”)}})},c.prototype.reRenderFeed=function(a){var b,c;return this.$(“.juicer-feed”).remove(),this.$(“.juicer-example”).append(“<ul class='juicer-feed' data-pages='1'></ul>”),c=$(a.target).val(),b=this.map©,this.model.set(b),this.renderFeed()},c.prototype.renderFeed=function(){return new Juicer.Views.Feed({el:“.juicer-feed”,model:this.model}).render()},c.prototype.hideFeed=function(a){return a.preventDefault(),this.$(“.juicer-feed”).html(“”),$(“.style-picker”).hide(),$(a.target).hide(),this.$(“.show”).show().html(“Show me an example feed!”)},c.prototype.map=function(a){switch(a){case“classic”:return{css:“classic”,photos:!1};case“white”:return{css:“white”,photos:!1};case“widget”:return{css:“widget”,photos:!1};case“colored-icons”:return{css:“colored-icons”,photos:!1};case“gray”:return{css:“gray”,photos:!1};case“slider”:return{css:“slider”,photos:!0};case“user”:return{css:“user”,photos:!1};case“hip”:return{css:“hip”,photos:!1};case“living-wall”:return{css:“living-wall”,photos:!1};case“modern”:return{css:“modern”,photos:!1};case“polaroid”:return{css:“polaroid”,photos:!1};case“night”:return{css:“night”,photos:!1};default:return{css:“image-grid”,photos:!0}}},c}(JuicerBackbone.View)}.call(this),function(){var a=function(a,c){function d(){this.constructor=a}for(var e in c)b.call(c,e)&&(a=c);return d.prototype=c.prototype,a.prototype=new d,a.__super__=c.prototype,a},b={}.hasOwnProperty;Juicer.Views.HomeSlider=function(b){function c(){return c.__super__.constructor.apply(this,arguments)}return a(c,b),c.prototype.item=“.explainer-list-item”,c.prototype.initialize=function(){return this.activate(this.$(this.item).first())},c.prototype.events={“mouseenter .explainer-list-item”:“toggleSlider”},c.prototype.toggleSlider=function(a){var b;return b=$(a.target),b.is(this.item)||(b=b.parents(this.item)),b.hasClass(“active”)?void 0:this.activate(b)},c.prototype.activate=function(a){var b,c;return c=a.data(“slide”),this.$(“.explainer-list-item.active”).removeClass(“active”),a.addClass(“active”),b=this.$(“.slider-images .”+c),b.attr(“src”)?this.slide(b):this.loadImage(b)},c.prototype.slide=function(a){return this.$(“.slider-images .active”).removeClass(“active”),a.addClass(“active”)},c.prototype.loadImage=function(a){var b,c;return b=new Image,c=a.data(“src”),b.onload=function(b){return function(){return a.attr(“src”,c),b.slide(a)}}(this),b.src=c},c}(JuicerBackbone.View)}.call(this),function(){var a=function(a,b){return function(){return a.apply(b,arguments)}},b=function(a,b){function d(){this.constructor=a}for(var e in b)c.call(b,e)&&(a=b);return d.prototype=b.prototype,a.prototype=new d,a.__super__=b.prototype,a},c={}.hasOwnProperty;Juicer.Views.InfiniteScroll=function©{function d(){return this.checkForPagination=a(this.checkForPagination,this),d.__super__.constructor.apply(this,arguments)}return b(d,c),d.prototype.el=function(){return this.model.hasHeight()?“ul.juicer-feed”:window},d.prototype.initialize=function(a){return this.template=a.template||JST,this.container=a.container,this.admin=a.admin||!1,this.posts=this.model.get(“posts”),this.pages=_u.min(),this.stopped=this.pages<2||this.limitReached(),this.shouldInfinitelyScroll()?this.$el.on(“scroll”,_u.debounce(this.checkForPagination,300)):void 0},d.prototype.limitReached=function(){return this.lessThanLimit()||this.setPagesLimit()},d.prototype.lessThanLimit=function(){return this.posts.length<this.posts.limit_value},d.prototype.setPagesLimit=function(){return this.posts.current_page>=this.pages},d.prototype.removeLoadMore=function(){return jQuery(“.j-paginate”).remove()},d.prototype.checkForPagination=function(){return this.scrollPoint()>this.triggerPoint()&&!this.stopped?this.nextPage():void 0},d.prototype.shouldInfinitelyScroll=function(){return this.model.get(“infinite_scroll”)&&!this.stopped},d.prototype.shouldShowLoadMore=function(){return!this.model.get(“infinite_scroll”)&&!this.stopped},d.prototype.nextPage=function(){return this.stop(),this.model.nextPage(),this.model.fetch({remove:!1,success:function(a){return function(b,c){return a.appendPosts©,a.trigger(“paginate”)}}(this),error:function(){return console.log(“Juicer Infinite Scroll Problem.”)}})},d.prototype.appendPosts=function(a){var b,c;return jQuery(“.j-loading, .j-loading-wrapper”).remove(),c=new Juicer.Models.Feed(a,{parse:!0}),this.posts=c.get(“posts”),this.posts.length>0&&(b=jQuery(this.template({feed:c,admin:this.admin}))),this.model.isGrid()?this.container.gridalicious(“append”,b):this.container.append(b),this.limitReached()||this.start(),this.shouldShowLoadMore()?void 0:this.removeLoadMore()},d.prototype.scrollPoint=function(){return this.$el.scrollTop()+2*this.$el.outerHeight()},d.prototype.triggerPoint=function(){return this.model.hasHeight()?this.container.prop(“scrollHeight”):this.container.offset().top+this.container.outerHeight()},d.prototype.start=function(){return this.stopped=!1},d.prototype.stop=function(){return this.stopped=!0},d.prototype.close=function(){return this.$el.empty().off(),this.model.resetPage(),this.stopListening(),this},d}(JuicerBackbone.View)}.call(this),function(){var a=function(a,b){return function(){return a.apply(b,arguments)}},b=function(a,b){function d(){this.constructor=a}for(var e in b)c.call(b,e)&&(a=b);return d.prototype=b.prototype,a.prototype=new d,a.__super__=b.prototype,a},c={}.hasOwnProperty;Juicer.Views.LazyLoad=function©{function d(){return this.checkImages=a(this.checkImages,this),d.__super__.constructor.apply(this,arguments)}return b(d,c),d.prototype.el=window,d.prototype.initialize=function(a){return this.view=a.view,this.$el.on(“scroll”,_u.debounce(this.checkImages,_u.random(250,350))),this.model.hasHeight()&&this.feed().on(“scroll”,_u.debounce(this.checkImages,_u.random(250,350))),this.checkImages()},d.prototype.checkImages=function(){return _u.each(this.view.$el.find(“img:not()”),function(a){return function(b){return b=jQuery(b),b.offset().top<a.scrollPoint(a.$el)&&b.attr(“src”,b.data(“lazy”)), a.model.hasHeight()&&b.offset().top<a.scrollPoint(a.feed())?b.attr(“src”,b.data(“lazy”)):void 0}}(this))},d.prototype.scrollPoint=function(a){return a.scrollTop()+a.height()+500},d.prototype.feed=function(){return jQuery(“ul.juicer-feed”)},d.prototype.close=function(){return this.$el.off(“scroll”),this.feed().off(“scroll”)},d}(JuicerBackbone.View)}.call(this),function(){var a=function(a,b){return function(){return a.apply(b,arguments)}},b=function(a,b){function d(){this.constructor=a}for(var e in b)c.call(b,e)&&(a=b);return d.prototype=b.prototype,a.prototype=new d,a.__super__=b.prototype,a},c={}.hasOwnProperty;Juicer.Views.LivingWall=function©{function d(){return this.rotatePost=a(this.rotatePost,this),d.__super__.constructor.apply(this,arguments)}return b(d,c),d.prototype.template=JST,d.prototype.customCss=JST,d.prototype.initialize=function(a){return this.interval=a.interval,this.admin=a.admin,this.columns=a.columns,this.gutter=a.gutter,this.equal=a.equal,0===this.interval&&(this.interval=5e7),this.defaultColumns=this.columns,this.gutter||(this.gutter=0),this.setSizes(),jQuery(window).on(“resize”,_u.debounce(function(a){return function(){return a.resize()}}(this),300))},d.prototype.setSizes=function(){var a;return this.handleResponsiveColumns(),a=this.gutter*(2*this.columns-1),this.width=this.$el.width()-a,this.small=this.width/(2*this.columns),this.$el.hasClass(“j-ie”)&&(this.small=Math.floor(this.small-this.columns-1)),this.large=2*this.small+this.gutter,this.retryTimes=0},d.prototype.handleResponsiveColumns=function(){return this.windowWidth=this.$el.width(),this.windowWidth<400?this.columns=1:this.windowWidth<600?this.columns=2:this.windowWidth<900?this.columns=3:this.columns=this.defaultColumns},d.prototype.render=function(){var a,b,c;return a=8*this.columns,this.setLargeCount(),this.smallCount=a-4*this.largeCount,this.total=this.largeCount+this.smallCount,c=_u.map(this.initialPosts(),function(a){return function(b){return a.renderPost(b)}}(this)),b=_u.sample(c,this.largeCount),_u.each(b,function(a){return function(b){return b.addClass(“j-large”),a.setDimensions(b)}}(this)),_u.each(c,function(a){return function(b){return b.hasClass(“j-large”)?!1:(b.addClass(“j-small”),a.setDimensions(b))}}(this)),this.$el.append(this.customCss({feed:this.model})),this.$el.append©,this.$el.packery(this.packeryOptions()),this.handleInterval(),this.ensureProperSize(),this},d.prototype.resize=function(){return this.$el.outerWidth()!==this.windowWidth?this.reRender():void 0},d.prototype.reRender=function(){return this.setSizes(),this.render()},d.prototype.setLargeCount=function(){return this.largeCount=this.equal?0:this.columns%2!==0?this.columns-1:this.columns},d.prototype.packeryOptions=function(){return{gutter:this.gutter,itemSelector:“.feed-item”,resize:!1}},d.prototype.handleInterval=function(){return document.hidden||this.startInterval(),jQuery(document).on(“show”,function(a){return function(){return a.startInterval()}}(this)),jQuery(document).on(“hide”,function(a){return function(){return a.stopInterval()}}(this))},d.prototype.startInterval=function(){return null==this.id?this.id=setInterval(this.rotatePost,this.interval):void 0},d.prototype.stopInterval=function(){return null!=this.id&&window.clearInterval(this.id),this.id=null},d.prototype.ensureProperSize=function(){var a,b,c;return this.retryTimes>9?!1:(c=3*this.gutter,a=4*this.small,Math.floor(a)-c<=(b=this.$el.height())&&b<=Math.ceil(a)+c?void 0:(this.retryTimes++,this.close(),this.render()))},d.prototype.renderPost=function(a){return a=jQuery(this.template({post:a,admin:this.admin})),imagesLoaded(a,function(){var b;return b=a.find(“img”),b.width()>b.height()?b.addClass(“landscape”):void 0}),a},d.prototype.initialPosts=function(){var a;return a=this.total-1,this.posts().slice(0,+a+1||9e9)},d.prototype.nextPost=function(){return this.total++,this.total>=this.posts().length&&(this.model.pollingAllowed()&&this.model.fetchNewPosts(!1),this.total=0),this.posts()},d.prototype.posts=function(){var a;return a=this.model.get(“posts”).models,a=_u.select(a,function(a){return!a.twitter()})},d.prototype.randomPost=function(){return jQuery(_u.sample(this.$(“.feed-item”).not(“.j-sticky”)))},d.prototype.setDimensions=function(a){var b;return b=a.hasClass(“j-small”)?this.small:this.large,a.css({width:this.size(a),height:this.size(a)})},d.prototype.rotatePost=function(){var a,b,c;return c=this.randomPost(),a=this.nextPost(),a.stickied()&&(a=this.nextPost()),b=this.renderPost(a),this.cloneStyle(c,b)},d.prototype.cloneStyle=function(a,b){var c,d,e,f,g,h,i;return b.addClass(a.hasClass(“j-small”)?“j-small”:“j-large”),this.setDimensions(b),i=this.size(a),d={top:i,left:i},c=this.merge(this.vectorMap(),d,“*”),e=h=a.position(),f=this.merge(h,c,“-”),g=this.merge(h,c,“+”),b.css(_u.extend(f,this.underCss)),a.css(this.underCss),a.before(b),window.setTimeout(function(){return a.css(g),b.css(e),window.setTimeout(function(){return a.remove(),b.css({zIndex:2})},500)},100)},d.prototype.size=function(a){return a.hasClass(“j-small”)?this.small:this.large},d.prototype.merge=function(a,b,c){var d;return null==c&&(c=“+”),d={},_u.each(_u.keys(a),function(e){return function(e){return“+”===c?d=a+b:“*”===c?d=a*b:“-”===c?d=a-b:void 0}}(this)),d},d.prototype.vectorMap=function(){var a,b;return b=_u.sample(),a=_u.shuffle(),{top:a,left:a}},d.prototype.underCss={zIndex:1},d.prototype.close=function(){return this.stopInterval(),this.$el.empty(),this.$el.packery(“destroy”),jQuery(document).off(“show hide”),this.stopListening(),this},d}(JuicerBackbone.View)}.call(this),function(){var a=function(a,c){function d(){this.constructor=a}for(var e in c)b.call(c,e)&&(a=c);return d.prototype=c.prototype,a.prototype=new d,a.__super__=c.prototype,a},b={}.hasOwnProperty;Juicer.Views.LocationPicker=function(b){function c(){return c.__super__.constructor.apply(this,arguments)}return a(c,b),c.prototype.template=JST.location_picker,c.prototype.initialize=function(a){return this.$el.html(this.template(a)),this.$el.attr(“id”,“new_source”)},c.prototype.events={“click li”:“submitForm”},c.prototype.submitForm=function(a){var b;return b=$(a.target),this.$(“input#term”).val(b.data(“id”)),this.$(“input#name”).val(b.data(“name”)),this.trigger(“submit”,this.$el.serializeHash())},c}(JuicerBackbone.View)}.call(this),function(){var a=function(a,b){return function(){return a.apply(b,arguments)}},b=function(a,b){function d(){this.constructor=a}for(var e in b)c.call(b,e)&&(a=b);return d.prototype=b.prototype,a.prototype=new d,a.__super__=b.prototype,a},c={}.hasOwnProperty;Juicer.Views.Moderated=function©{function d(){return this.reRender=a(this.reRender,this),d.__super__.constructor.apply(this,arguments)}return b(d,c),d.prototype.template=JST.moderated,d.prototype.loading=JST,d.prototype.urmNotEligible=JST,d.prototype.urmConnectSocial=JST,d.prototype.upgradeToCampaign=JST,d.prototype.urmRequest=JST,d.prototype.events={“click ul.j-filters li”:“filterFeed”,“click ul.j-display-filters li”:“filterFeed”,“click .approve”:“restorePost”,“click .reject”:“rejectPost”,“click .urm-request”:“urmRequestPost”,“click .j-paginate”:“appendNextPage”,“click .bulk-moderate”:“bulkModerate”,“click .urm-overlay-approve”:“restoreFromUrm”},d.prototype.render=function(){var a;return this.model.set({lazy_load:!1,css:“modern”}),this.$el.css({maxWidth:“none”,maxHeight:“none”}),this.startInfiniteScroll(),this.$el.html(this.template({feed:this.model,menuItems:this.menuItems()})),a=Math.floor(this.$el.outerWidth()/3),200>a&&(a=200),this.model.on(“new-posts”,this.reRender),this.model.get(“posts”).models.length<1?!1:(this.$el.removeClass(Juicer.Constants.FEED_CLASSES.join(“ ”)),this.$el.addClass(“modern”),this.$el.gridalicious({selector:“.feed-item”,width:a,gutter:this.gutter}),null==this.infiniteScroll?!0:this.infiniteScroll.shouldShowLoadMore()?void 0:this.infiniteScroll.removeLoadMore())},d.prototype.startInfiniteScroll=function(){return this.model.resetPage(),this.infiniteScroll=new Juicer.Views.InfiniteScroll({container:this.$el,model:this.model})},d.prototype.appendNextPage=function(a){return a.preventDefault(),this.$(“.j-paginate”).replaceWith(this.loading()),this.infiniteScroll.nextPage()},d.prototype.restorePost=function(a){var b;return b=this.hidePost(a,“Approving…”),b.restore()},d.prototype.rejectPost=function(a){var b;return b=this.hidePost(a,“Rejecting…”),b.reject()},d.prototype.urmRequestPost=function(a){var b,c;return b=this.hidePost(a,null,!1),c=$(a.target),this.model.campaign()?b.urmEligible()?b.urmSocialConnected(this.model)?this.overlay=new Juicer.Views.UrmRequest({el:this.el,post:b,feed:this.model}).render():this.overlay=new Juicer.Views.Overlay({content:this.urmConnectSocial({post:b}),element:this.el,width:“50%”}):this.overlay=new Juicer.Views.Overlay({content:this.urmNotEligible({post:b}),element:this.el,width:“50%”}):this.overlay=new Juicer.Views.Overlay({content:this.upgradeToCampaign({post:b}),element:this.el,width:“50%”}),this.overlay.render()},d.prototype.restoreFromUrm=function(a){var b;return b=this.hidePost(a,null,!1),b.restore(),this.overlay.removeView(),$(“”).parents(“.feed-item”).hide().remove()},d.prototype.hidePost=function(a,b,c){var d,e;return null==c&&(c=!0),a.preventDefault(),null!=b&&$(a.target).html(b),e=$(a.target).parents(“.actions”),d=this.fetchPost(e.data(“id”)),c&&e.parents(“.feed-item”).hide().remove(),d},d.prototype.fetchPost=function(a){return this.model.get(“posts”).findWhere({id:a})},d.prototype.filterFeed=function(a){var b,c,d;return a.preventDefault(),d=jQuery(a.target),c=d.attr(“data-filter”),b=d.parents(“ul”),this.model.filter=d.data(“filter”),this.model.resetPage(),this.model.fetch({success:function(a){return function(){return a.reRender()}}(this)})},d.prototype.bulkModerate=function(a){var b,c;return b=null!=$(a.target).data(“approve”),c=b?“approve”:“reject”,Juicer.Helpers.confirm(“Are you sure you want to ”c
“ all of these posts?”)?(this.$(“.bulk-moderate-nav”).html(“<div class='j-loading'>Loading…</div>”),this.model.bulkModerate(b,this.model.filter),setTimeout(function(){return location.reload()},1e4)):void 0},d.prototype.unbindChildren=function(){return this.$el.empty().off(),this.infiniteScroll&&this.infiniteScroll.close(),this.model.off(“new-posts”,this.reRender),this.stopListening()},d.prototype.reRender=function(){return this.unbindChildren(),this.render(),this.delegateEvents()},d.prototype.menuItems=function(){var a;return a=this.baseMenuItems,this.model.campaign()&&(a=this.pendingMenu.concat(a)),a=this.allMenu.concat(a)},d.prototype.baseMenuItems=[{filter:“Filter”,title:“Text Filtered”},{filter:“Profanity”,title:“Profanity”},{filter:“User”,title:“Manually Deleted”},{filter:“Queue”,title:“Moderation Queue”},{filter:“Similarity”,title:“Duplicate Posts”},{filter:“Rejected”,title:“Rejected”}],d.prototype.pendingMenu=[{filter:“Pending”,title:“URM Pending Permission”}],d.prototype.allMenu=[{filter:void 0,title:“All”}],d}(JuicerBackbone.View)}.call(this),function(){var a=function(a,c){function d(){this.constructor=a}for(var e in c)b.call(c,e)&&(a=c);return d.prototype=c.prototype,a.prototype=new d,a.__super__=c.prototype,a},b={}.hasOwnProperty;Juicer.Views.Nav=function(b){function c(){return c.__super__.constructor.apply(this,arguments)}return a(c,b),c.prototype.events={“click .menu”:“toggleMenuOpen”,“click .sidebar-toggle”:“toggleSidebarOpen”},c.prototype.toggleMenuOpen=function(){var a;return $(“.main-container”).removeClass(“open-right”).toggleClass(“open-left”),a=$(“.side-nav”),a.hasClass(“opened”)?a.toggleClass(“opened”):setTimeout(function(){return a.toggleClass(“opened”)},200)},c.prototype.toggleSidebarOpen=function(a){return $(“.main-container”).removeClass(“open-left”).toggleClass(“open-right”)},c}(JuicerBackbone.View)}.call(this),function(){var a=function(a,c){function d(){this.constructor=a}for(var e in c)b.call(c,e)&&(a=c);return d.prototype=c.prototype,a.prototype=new d,a.__super__=c.prototype,a},b={}.hasOwnProperty;Juicer.Views.NewFeed=function(b){function c(){return c.__super__.constructor.apply(this,arguments)}return a(c,b),c.prototype.template=JST.new_feed,c.prototype.initialize=function(){return this.socialAccounts=new Juicer.Collections.SocialAccounts,this.socialAccounts.fetch({success:function(a){return function(){return a.sourceForm=new Juicer.Views.SourceForm({el:a.el,socialAccounts:a.socialAccounts}),a.sourceForm.on(“create”,a.nextPage,a),a.render(),new Juicer.Views.OverlayReopener({model:a.feed,sourceForm:a.sourceForm}).render(a.el)}}(this),error:function(){return alert(“Something went wrong while fetching your connected social accounts”)}})},c.prototype.render=function(){return this.$el.html(this.template())},c.prototype.nextPage=function(a){return window.location=“/feeds/”+a.get(“slug”)},c}(JuicerBackbone.View)}.call(this),function(){var a=function(a,b){return function(){return a.apply(b,arguments)}},b=function(a,b){function d(){this.constructor=a}for(var e in b)c.call(b,e)&&(a=b);return d.prototype=b.prototype,a.prototype=new d,a.__super__=b.prototype,a},c={}.hasOwnProperty;Juicer.Views.Overlay=function©{function d(){return this.handleKeypress=a(this.handleKeypress,this),d.__super__.constructor.apply(this,arguments)}return b(d,c),d.prototype.className=“j-overlay”,d.prototype.template=JST.overlay,d.prototype.initialize=function(a){return this.element=a.element||“body”,this.content=a.content,this.width=a.width,this.close=a.close===!1?!1:!0,jQuery(document).bind(“keydown”,this.handleKeypress)},d.prototype.render=function(){return this.$el.html(this.template({content:this.content,close:this.close})),jQuery(this.element).children(“.j-overlay”)&&jQuery(this.element).children(“.j-overlay”).remove(),jQuery(this.element).append(this.el),jQuery(“.j-overlay-content”).css({width:this.width}).focus(),this.handleBrokenImages(),this},d.prototype.events=function(){return{“click .j-close”:“closeOverlay”,click:“removeOverlay”,“click .j-navigate a”:“triggerNavigate”,“click a.share”:“openPopup”,“click .j-gallery-arrow”:“gallery”}},d.prototype.gallery=function(a){return a.preventDefault(),this.trigger(“trigger:gallery”,jQuery(a.target))},d.prototype.removeOverlay=function(a){var b;return b=jQuery(a.target),b.hasClass(“j-overlay-content”)||b.parents(“.j-overlay-content”).length>0?void 0:this.removeView()},d.prototype.closeOverlay=function(a){return a.preventDefault(),this.removeView()},d.prototype.removeView=function(){return this.trigger(“close”),this.unbind(),this.remove(),this.$(“.j-overlay”).remove(),jQuery(this.element).find(“.j-overlay”).remove(),jQuery(document).unbind(“keydown”,this.handleKeypress)},d.prototype.triggerNavigate=function(a){return a.preventDefault(),this.trigger(“trigger:navigate”,jQuery(a.target).data(“post-id”))},d.prototype.openPopup=function(a){var b;return a.preventDefault(),b=jQuery(a.target),window.open(b.attr(“href”),“pop”,“width=600, height=400, scrollbars=no”)},d.prototype.handleKeypress=function(a){switch(a.keyCode){case 37:return this.$(“.j-previous”).click();case 39:return this.$(“.j-next”).click();case 27:return this.closeOverlay(a)}},d.prototype.handleBrokenImages=function(){return this.$(“.j-poster img”).on(“error”,function(a){return function(a){return console.log(“hiding broken profile image in overlay.”),$(a.target).hide()}}(this)),this.$(“img.j-content-image”).on(“error”,function(a){return function(a){var b;return b=jQuery(a.target).parents(“.image”),b.length>0?(console.log(“Hiding broken image in overlay.”),b.hide()):void 0}}(this)),this.$(“video source”).on(“error”,function(a){return function(a){var b;return b=$(a.target).parents(“.instagram-wrapper, .twitter-wrapper, .video-wrapper”),console.log(“hiding broken video in overlay”),b.hide()}}(this))},d}(JuicerBackbone.View)}.call(this),function(){var a=function(a,b){return function(){return a.apply(b,arguments)}},b=function(a,b){function d(){this.constructor=a}for(var e in b)c.call(b,e)&&(a=b);return d.prototype=b.prototype,a.prototype=new d,a.__super__=b.prototype,a},c={}.hasOwnProperty;Juicer.Views.OverlayReopener=function©{function d(){return this.reRender=a(this.reRender,this),d.__super__.constructor.apply(this,arguments)}return b(d,c),d.prototype.el=window,d.prototype.storageKey=“juicer_overlay_open”,d.prototype.initialize=function(a){return null==a&&(a={}),this.sourceForm=a.sourceForm,this.parent=a.parent,this.reopened=!1},d.prototype.render=function(a){return this.overlayShouldReopen()&&(null==this.sourceForm&&(this.sourceForm=new Juicer.Views.SourceForm({el:a,feed:this.model})),this.sourceForm.openOverlay(this.get()),null!=this.parent&&this.sourceForm.on(“create”,this.reRender),this.clear(),this.reopened=!0),this},d.prototype.reRender=function(){return this.parent.renderSidebar()},d.prototype.overlayShouldReopen=function(){return!!this.get()},d.prototype.get=function(){var a;return a=this.el.localStorage.getItem(this.storageKey),JSON.parse(a)},d.prototype.set=function(a){var b;return b=JSON.stringify(a),this.el.localStorage.setItem(this.storageKey,b)},d.prototype.clear=function(){return this.el.localStorage.setItem(this.storageKey,null)},d}(JuicerBackbone.View)}.call(this),function(){var a=function(a,c){function d(){this.constructor=a}for(var e in c)b.call(c,e)&&(a=c);return d.prototype=c.prototype,a.prototype=new d,a.__super__=c.prototype,a},b={}.hasOwnProperty;Juicer.Views.Payment=function(b){function c(){return c.__super__.constructor.apply(this,arguments)}return a(c,b),c.prototype.initialize=function(a){return this.toggleYear()},c.prototype.events={“change year”:“toggleYear”},c.prototype.toggleYear=function(){var a,b,c,d,e;return d=this.$(“#year”),c=$(“”),b=$(“.simple-plan-monthly”),a=c.data(“price”),d.is(“:checked”)?(e=Math.ceil(12*a-12*a*.1),c.html(“$”+e),b.html(“/ yr”)):(c.html(“$”+a),b.html(“/ mo”))},c}(JuicerBackbone.View)}.call(this),function(){var a=function(a,c){function d(){this.constructor=a}for(var e in c)b.call(c,e)&&(a=c);return d.prototype=c.prototype,a.prototype=new d,a.__super__=c.prototype,a},b={}.hasOwnProperty;Juicer.Views.Plans=function(b){function c(){return c.__super__.constructor.apply(this,arguments)}return a(c,b),c.prototype.template=JST.plan_change,c.prototype.events={“click [data-plan]”:“openNewPlanOverlay”},c.prototype.openNewPlanOverlay=function(a){var b;return a.preventDefault(),b=$(a.target),this.model=new Juicer.Models.Plan,this.model.fetch({data:{plan:b.data(“plan”)},success:function(a){return function(){return a.csrf=$(‘meta').attr(“content”),a.overlay=new Juicer.Views.Overlay({content:a.template({model:a.model,csrf:a.csrf}),element:a.el,width:“50%”}),a.overlay.render()}}(this)})},c}(JuicerBackbone.View)}.call(this),function(){var a=function(a,c){function d(){this.constructor=a}for(var e in c)b.call(c,e)&&(a=c);return d.prototype=c.prototype,a.prototype=new d,a.__super__=c.prototype,a},b={}.hasOwnProperty;Juicer.Views.PostEdit=function(b){function c(){return c.__super__.constructor.apply(this,arguments)}return a(c,b),c.prototype.template=JST.post_edit,c.prototype.message=JST,c.prototype.className=“j-overlay”,c.prototype.initialize=function(a){return this.setPost(a)},c.prototype.setPost=function(a){var b;return b=this.model.get(“posts”),this.post=b.get(a.id)},c.prototype.render=function(){return this.overlay=new Juicer.Views.Overlay({content:this.template({post:this.post,feed:this.model}),width:“50%”,el:this.el}),this.overlay.render()},c.prototype.events=function(){return{“input textarea”:“updatePreview”,“submit form”:“savePost”}},c.prototype.updatePreview=function(a){return this.post.set(“edit”,$(a.target).val()),this.$(“.message-container”).html(this.message({post:this.post}))},c.prototype.savePost=function(a){return a.preventDefault(),this.post.save(null,{success:function(a){return function(b,c){return a.overlay.removeView(),a.model.set(c,{parse:!0}),a.model.trigger(“action”)}}(this),error:function(){return alert(“Something went wrong. Please try again.”)}})},c}(JuicerBackbone.View)}.call(this),function(){var a=function(a,b){return function(){return a.apply(b,arguments)}},b=function(a,b){function d(){this.constructor=a}for(var e in b)c.call(b,e)&&(a=b);return d.prototype=b.prototype,a.prototype=new d,a.__super__=b.prototype,a},c={}.hasOwnProperty;Juicer.Views.PostOverlay=function©{function d(){return this.cycleGallery=a(this.cycleGallery,this),this.navigateOverlay=a(this.navigateOverlay,this),d.__super__.constructor.apply(this,arguments)}return b(d,c),d.prototype.template=JST.post_overlay,d.prototype.initialize=function(a){return this.model=a.model,this.setPost(a.target)},d.prototype.triggers=function(){return{“click a.next”:“navigateOverlay”,“click a.previous”:“navigateOverlay”}},d.prototype.setPost=function(a){var b;return a=a.is(“li.feed-item”)?a:a.parents(“li.feed-item”),b=a.data(“id”),this.assignPosts(b)},d.prototype.assignPosts=function(a){var b,c,d,e;return d=this.model.get(“posts”),this.post=d.get(a),b=d.indexOf(this.post),c=b+1<d.length?b+1:0,e=b-1>=0?b-1:d.length-1,this.next=d.at©,“Juicer”===this.next.sourceType()&&(this.next=d.at(c+1)),this.previous=d.at(e),“Juicer”===this.previous.sourceType()?this.previous=d.at(e-1):void 0},d.prototype.render=function(){return this.overlay=new Juicer.Views.Overlay({element:“body”,content:this.template({post:this.post,next:this.next,previous:this.previous,feed:this.model}),width:“75%”}),this.overlay.on(“trigger:navigate”,this.navigateOverlay),this.overlay.on(“trigger:gallery”,this.cycleGallery),this.overlay.render(),this.trigger(“render”,this)},d.prototype.navigateOverlay=function(a){return this.overlay.removeView(),this.assignPosts(a),this.render()},d.prototype.cycleGallery=function(a){return new Juicer.Views.Gallery({target:a,el:this.el,model:this.model})},d}(JuicerBackbone.View)}.call(this),function(){var a=function(a,c){function d(){this.constructor=a}for(var e in c)b.call(c,e)&&(a=c);return d.prototype=c.prototype,a.prototype=new d,a.__super__=c.prototype,a},b={}.hasOwnProperty;Juicer.Views.SideNav=function(b){function c(){return c.__super__.constructor.apply(this,arguments)}return a(c,b),c.prototype.events={“click li#collapseable”:“toggleOtherFeeds”},c.prototype.toggleOtherFeeds=function(a){var b,c;return a.preventDefault(),c=$(a.target),b=c.next(),b.is(“:visible”)?(b.slideUp(),c.removeClass(“selected”)):(b.slideDown(),c.addClass(“selected”))},c}(JuicerBackbone.View)}.call(this),function(){var a=function(a,b){return function(){return a.apply(b,arguments)}},b=function(a,b){function d(){this.constructor=a}for(var e in b)c.call(b,e)&&(a=b);return d.prototype=b.prototype,a.prototype=new d,a.__super__=b.prototype,a},c={}.hasOwnProperty;Juicer.Views.Sidebar=function©{function d(){return this.openSourceFormFromSources=a(this.openSourceFormFromSources,this),this.openSubView=a(this.openSubView,this),this.openNewSource=a(this.openNewSource,this),this.reRenderCss=a(this.reRenderCss,this),this.reRender=a(this.reRender,this),this.render=a(this.render,this),d.__super__.constructor.apply(this,arguments)}return b(d,c),d.prototype.template=JST.sidebar,d.prototype.nameEdit=JST,d.prototype.newSource=JST,d.prototype.initialize=function(a){return $(“.main-container”).addClass(“sidebar-container”),this.moderation=a.moderation,this.moderation?this.model=new Juicer.Models.Moderated({slug:a.slug}):this.model=new Juicer.Models.Feed({slug:a.slug,starting_at:a.starting_at,admin:!0}),this.model.fetch({success:function(a){return function(){return a.hideLoader(),a.renderSidebar(),null!=a.reopener&&a.reopener.reopened?void 0:a.setupNewSources()}}(this),error:function(a){return function(){return a.hideLoader(),alert(“Sorry something is going wrong.”)}}(this)}),this.model.on(“action”,this.reRender,this),this.model.once(“sync”,this.render,this),this.model.on(“update:colors”,this.reRenderCss,this)},d.prototype.render=function(){var a;if(a=this.model.get(“posts”),1===a.current_page){if(!this.moderation)return this.feed=new Juicer.Views.Feed({el:“.juicer-feed”,model:this.model,admin:!0}).render();if(this.moderation)return this.renderModeration()}},d.prototype.reRender=function(){return null!=this.feed&&this.feed.close(),null!=this.overlay&&this.overlay.removeView(),null!=this.sourcesView&&this.sourcesView.reRender(),this.sourcesView=null,this.render()},d.prototype.reRenderCss=function(){return jQuery(“.juicer-custom-styles”).length>0?jQuery(“.juicer-custom-styles”).html(“<style>”+this.model.customStyles()+“</style>”):jQuery(“.juicer-feed”).prepend(“<div class='juicer-custom-styles'><style>”+this.model.customStyles()+“</style></div>”)},d.prototype.renderSidebar=function(){return this.$el.html(this.template({feed:this.model})),this.reopener=new Juicer.Views.OverlayReopener({model:this.model,parent:this}).render(this.el),this.model.get(“expired_social_accounts”)?void 0:this.$(“#social_accounts”).hide()},d.prototype.hideLoader=function(){return jQuery(“.loading-overlay”).fadeOut()},d.prototype.setupNewSources=function(){return this.sourceForm=new Juicer.Views.SourceForm({feed:this.model,el:this.el,socialAccounts:this.model.get(“social_accounts”)}),this.sourceForm.on(“create”,this.reRender)},d.prototype.renderModeration=function(){return this.moderation=!1,new Juicer.Views.Moderated({el:“ul.juicer-feed”,model:this.model}).render(),this.renderSubView(this.viewMap.moderate,this.$(“#moderate”)),$(“.moderation-nav .active”).removeClass(“active”),$(“.moderation-nav .moderated”).addClass(“active”)},d.prototype.events=function(){return{“click .feed-name-edit”:“renderFeedNameEdit”,“submit .feed-name-edit-form”:“updateFeedName”,“click .add-source”:“openNewSource”,“click .menu-item”:“openSubView”,“change slug_update”:“toggleSlugWarning”}},d.prototype.openNewSource=function(){return this.overlay=new Juicer.Views.Overlay({content:this.newSource(),width:“85%”,element:this.el}),this.overlay.render()},d.prototype.openSubView=function(a){var b,c;return a.preventDefault(),b=$(a.target),c=this.viewMap,this.renderSubView(c,b)},d.prototype.renderSubView=function(a,b){return this.subView&&this.subView.close(),this.subView=new a({feed:this.model,target:b,parent:this,feedView:this.feed}),this.subView.on(“openSourceForm”,this.openSourceFormFromSources),this.subView.render()},d.prototype.openSourceFormFromSources=function(a){return this.sourcesView=a,this.openNewSource()},d.prototype.viewMap={sources:Juicer.Views.Sources,social_accounts:Juicer.Views.SocialAccounts,settings:Juicer.Views.Settings,design:Juicer.Views.Design,embed:Juicer.Views.Embed,hub:Juicer.Views.Hub,moderate:Juicer.Views.Moderate,filter:Juicer.Views.Filter,analytics:Juicer.Views.Analytics,synced:Juicer.Views.Synced,features:Juicer.Views.Features},d.prototype.renderFeedNameEdit=function(a){return a.preventDefault(),this.overlay=new Juicer.Views.Overlay({content:this.nameEdit({feed:this.model}),element:this.el,width:“50%”}),this.overlay.render()},d.prototype.updateFeedName=function(a){var b;return a.preventDefault(),b=$(a.target).serializeHash(),this.model.set(b),this.model.save(null,{success:function(a){return function(a,b){return window.location=“/feeds/”+b.slug}}(this)})},d.prototype.toggleSlugWarning=function(){return this.$(“.slug-warning”).toggle()},d}(JuicerBackbone.View)}.call(this),function(){var a=function(a,b){return function(){return a.apply(b,arguments)}},b=function(a,b){function d(){this.constructor=a}for(var e in b)c.call(b,e)&&(a=b);return d.prototype=b.prototype,a.prototype=new d,a.__super__=b.prototype,a},c={}.hasOwnProperty;Juicer.Views.Slider=function©{function d(){return this.setFeedItemHeight=a(this.setFeedItemHeight,this),this.beforeChange=a(this.beforeChange,this),d.__super__.constructor.apply(this,arguments)}return b(d,c),d.prototype.template=JST.feed,d.prototype.initialize=function(a){return this.interval=a.interval,this.admin=a.admin,this.columns=a.columns,this.slidesToShow=this.columns},d.prototype.render=function(){return this.$el.append(this.template({feed:this.model,admin:this.admin})),this.$el.css({visibility:“hidden”}),this.$el.slick(this.sliderSettings()),this.$el.on(“beforeChange”,this.beforeChange),this.$el.on(“afterChange”,function(a){return function(){return a.trigger(“slide”)}}(this)),imagesLoaded(this.$el,this.setFeedItemHeight),this.$el.hasClass(“j-ie”)&&this.setBackgroundImages(),jQuery(window).on(“resize”,_u.debounce(function(a){return function(){return a.setFeedItemHeight()}}(this),300)),this},d.prototype.beforeChange=function(a,b,c,d){return 0===d&&this.model.pollingAllowed()?this.model.fetchNewPosts(!1):void 0},d.prototype.sliderSettings=function(){return jQuery.extend(this.sliderDefaults(),{responsive:this.breakpoints()})},d.prototype.breakpoints=function(){return _u.map(this.breakpointArray,function(a){return function(b){return{breakpoint:b,settings:{slidesToShow:_u.min([b,a.slidesToShow]),slidesToScroll:_u.min([b,a.slidesToShow])}}}}(this))},d.prototype.breakpointArray=[,[1450,5],,[960,3],,[480,1]],d.prototype.sliderDefaults=function(){return{slidesToShow:this.slidesToShow,autoplay:0!==this.interval,autoplaySpeed:this.interval,slidesToScroll:this.slidesToShow,slide:“li”,adaptiveHeight:0===!this.$(“a.j-images”).length,cssEase:“ease”,pauseOnHover:!0}},d.prototype.setBackgroundImages=function(){return _u.each(this.$(“”),function(a){return function(a){var b;return b=jQuery(a),b.css(“background-image”,“url('”+b.data(“image”)+“')”)}}(this))},d.prototype.setFeedItemHeight=function(a){var b;return _u.each(this.$(“a.j-image img”),function(a){return function(a){return a.width>a.height?jQuery(a).addClass(“j-landscape”):void 0}}(this)),b=this.model.get(“height”)||300,this.$(“a.j-image img, li.words, .slick-track”).css({height:b}),this.$el.css({visibility:“visible”}),this.model.get(“lazy_load”)?!1:null==a?!1:_u.each(a.images,function(a){return function(a){var b;return a.isLoaded?void 0:(a=$(a.img),b=a.parents(“.feed-item”),console.log(“Juicer: post with id ”+b.data(“id”)+“ has a broken image. Converting to a text post.”),b.removeClass(“image-post”).removeClass(“j-video”).addClass(“words”),a.parents(“.j-image”).remove())}}(this))},d.prototype.stop=function(){return this.$el.slick(“stop”)},d.prototype.play=function(){return this.$el.slick(“play”)},d}(JuicerBackbone.View)}.call(this),function(){var a=function(a,c){function d(){this.constructor=a}for(var e in c)b.call(c,e)&&(a=c);return d.prototype=c.prototype,a.prototype=new d,a.__super__=c.prototype,a},b={}.hasOwnProperty;Juicer.Views.SourceForm=function(b){function c(){return c.__super__.constructor.apply(this,arguments)}return a(c,b),c.prototype.template=JST.source_form,c.prototype.pleaseWait=JST.please_wait,c.prototype.initialize=function(a){return this.feed=a.feed,this.socialAccounts=a.socialAccounts?a.socialAccounts:this.feed.get(“social_accounts”),this.rendered=!1,this.submitting=!1},c.prototype.events=function(){return{“click .add-a-hashtag li”:“openHashtag”,“click .source”:“handleOverlay”,“click .open-location-search”:“renderLocationSearch”,“submit .source-form”:“createSource”,“submit .location-search”:“findLocation”,“click .source-type”:“redrawOverlay”,“click a.social-account”:“setOverlayStorage”,“click .search-result”:“submitSearchResult”}},c.prototype.handleOverlay=function(a,b){var c;return null==b&&(b=“username”),c=$(a.target),c.hasClass(“j-social-icon”)||(c=c.parents(“.j-social-icon”)),this.openOverlay({type:b,source:c.data(“type”)})},c.prototype.renderLocationSearch=function(){return this.openOverlay({type:“location_search”,source:this.source})},c.prototype.openOverlay=function(a){return this.type=a.type,this.source=a.source,this.model=new Juicer.Models.Source({source:this.source }),this.renderOverlay()},c.prototype.openHashtag=function(a){return this.handleOverlay(a,“hashtag”)},c.prototype.drawTemplate=function(){return this.template({source:this.model,feed:this.feed,type:this.type,results:this.results,socialAccounts:this.socialAccounts})},c.prototype.renderOverlay=function(){return this.overlay=new Juicer.Views.Overlay({content:this.drawTemplate(),element:this.el,width:“50%”,close:!1}),this.overlay.render(),“location_search”===this.type&&this.initializeGooglePlaces(),this.resultsNeedFetching()?this.fetchResults(this.type):void 0},c.prototype.resultsNeedFetching=function(){return _u.contains(,this.type)&&this.rendered!==this.type},c.prototype.redrawOverlay=function(a){return a.preventDefault(),this.type=$(a.target).data(“type”),this.overlay.removeView(),this.renderOverlay()},c.prototype.fetchResults=function(a){return null==a&&(a=“groups”),this.results=new Juicer.Collections.FacebookResults({type:a}),this.results.fetch({success:function(a){return function(){return a.rendered=a.type,a.renderOverlay()}}(this),error:function(){return confirm(“Something went wrong. Hit okay to go to the social accounts page and reset your Facebook token.”)?window.location=“/social-accounts”:void 0}})},c.prototype.initializeGooglePlaces=function(){return new Juicer.Views.GooglePlaces({el:this.el})},c.prototype.createSource=function(a){var b;return a.preventDefault(),this.submitting?void 0:(this.submitting=!0,b=$(a.target),b.find(“input”).hide(),b.append(“<div class='j-loading'>Loading…</div>”),this.timeout=setTimeout(function(a){return function(){return b.append(a.pleaseWait())}}(this),5e3),b.find(“ul.errors”).remove(),this.submitSource(b.serializeHash()))},c.prototype.submitSource=function(a){return this.model.set(a),this.model.save(null,{success:function(a){return function(b,c){return a.submitting=!1,a.feedObject().set(c,{parse:!0}),a.feed.trigger(“action”),a.timeout&&window.clearInterval(a.timeout),a.trigger(“create”,a.feed)}}(this),error:function(a){return function(b,c){return a.submitting=!1,a.timeout&&window.clearInterval(a.timeout),new Juicer.Views.Errors({el:a.$(“form”),errors:c}),a.$(“.source-form-example”).show()}}(this)})},c.prototype.feedObject=function(){return this.feed||(this.feed=new Juicer.Models.Feed)},c.prototype.submitSearchResult=function(a){var b;return a.preventDefault(),b=$(a.target),this.$(“.result-term”).val(b.data(“id”)),this.$(“.result-name”).val(b.data(“name”)),b.parents(“form”).trigger(“submit”)},c.prototype.findLocation=function(a){var b,c;return a.preventDefault(),c=$(a.target),b=new Juicer.Models.Location(c.serializeHash()),b.save(null,{success:function(a){return function(b,d){var e;return e=a.feed?a.feed.get(“id”):void 0,a.picker=new Juicer.Views.LocationPicker({el:a.$(“form”),locations:d,feedId:e,source:a.model}),a.picker.on(“submit”,function(b){return c.append(“<div class='j-loading'>Loading…</div>”),a.submitSource(b)})}}(this),error:function(a,b){return new Juicer.Views.Errors({el:this.$(“form”),errors:b})}})},c.prototype.setOverlayStorage=function(a){var b;return a.preventDefault(),b=new Juicer.Views.OverlayReopener,b.set({type:this.type,source:this.source}),window.location=jQuery(a.target).attr(“href”)},c}(JuicerBackbone.View)}.call(this),function(){var a=function(a,c){function d(){this.constructor=a}for(var e in c)b.call(c,e)&&(a=c);return d.prototype=c.prototype,a.prototype=new d,a.__super__=c.prototype,a},b={}.hasOwnProperty;Juicer.Views.UrmRequest=function(b){function c(){return c.__super__.constructor.apply(this,arguments)}return a(c,b),c.prototype.template=JST,c.prototype.events={“submit .urm-request-form”:“urmFormSubmit”},c.prototype.initialize=function(a){return this.post=a.post,this.feed=a.feed,this.socialAccount=this.post.urmSocialConnected(this.feed)},c.prototype.render=function(){return this.overlay=new Juicer.Views.Overlay({content:this.template({post:this.post,socialAccount:this.socialAccount,feed:this.feed}),element:this.el,width:“50%”}),this.overlay},c.prototype.urmFormSubmit=function(a){var b,c,d;return a.preventDefault(),d=$(a.target),d.find(“.errors”).remove(),d.find(“input”).remove(),d.append(“<div class=’j-loading’>Loading…”),c=this.fetchPost(parseInt(d.find(“input”).val())),b=this.attributes(d,c),b.errors.length>0?this.errors(b.errors,d):c.urmRequest({data:$.param(b),success:function(a){return function(){return a.overlay.removeView(),$(“ .urm-request”).removeClass(“urm-request”).html(“Permission Pending”),a.stopListening(),a.$el.off(“submit”,“.urm-request-form”)}}(this),error:function(a){return function(b,c,e){return a.errors(,d)}}(this)})},c.prototype.errors=function(a,b){var c;return c=$(“<ul class='errors tc-grapefruit twelve'></ul>”),_u.each(a,function(a){return function(a){return c.append(“<li class='mb-5'>”a
“</li>”)}}(this)),b.prepend©,b.find(“.j-loading”).remove(),b.append(“<input class='j-button' type='submit' value='Request Permission' />”)},c.prototype.attributes=function(a){var b,c;return b={},c=a.find(“textarea”).val(),b.errors=this.validate(a),b.urm_message=c,b.urm_matcher=this.matcher©,b},c.prototype.validate=function(a){var b,c,d,e,f;return f=a.find(“textarea”),e=f.val(),d=f.attr(“maxlength”),b=[],e.length<1&&b.push(“Please include a message to the user asking for permission.”),e.length>d&&b.push(“Please limit your message to #{maxLength} characters.”),c=this.matcher(e),c.length<1&&b.push(“Please Include a hashtag in your message. The user will need to respond with this hashtag to grant permission.”),c.length>1&&b.push(“Please only include a single hashtag in your message, so Juicer knows what hashtag to verify the user has granted permission.”),b},c.prototype.matcher=function(a){var b;return b=a.match(/(^|s)(#+)/gi),_u.map(b,function(a){return a.trim()})},c.prototype.fetchPost=function(a){return this.feed.get(“posts”).findWhere({id:a})},c}(JuicerBackbone.View)}.call(this),function(){var a=function(a,c){function d(){this.constructor=a}for(var e in c)b.call(c,e)&&(a=c);return d.prototype=c.prototype,a.prototype=new d,a.__super__=c.prototype,a},b={}.hasOwnProperty;Juicer.Views.UserAccount=function(b){function c(){return c.__super__.constructor.apply(this,arguments)}return a(c,b),c.prototype.initialize=function(){return this.toggleDigest()},c.prototype.events={“change input”:“toggleDigest”},c.prototype.toggleDigest=function(){var a,b;return b=this.$(“#user_digest”),a=this.$(“.digest-label”),this.$(“input”).is(“:checked”)?(b.removeAttr(“disabled”),a.removeClass(“disabled”)):(b.attr(“disabled”,“disabled”),a.addClass(“disabled”),b.val(“Never”))},c}(JuicerBackbone.View)}.call(this),function(){var a=function(a,b){return function(){return a.apply(b,arguments)}},b=function(a,b){function d(){this.constructor=a}for(var e in b)c.call(b,e)&&(a=b);return d.prototype=b.prototype,a.prototype=new d,a.__super__=b.prototype,a},c={}.hasOwnProperty;Juicer.Views.Widget=function©{function d(){return this.addPost=a(this.addPost,this),this.showNextPost=a(this.showNextPost,this),this.setPosts=a(this.setPosts,this),d.__super__.constructor.apply(this,arguments)}return b(d,c),d.prototype.template=JST.widget,d.prototype.card=JST,d.prototype.referral=JST,d.prototype.customCss=JST,d.prototype.initialize=function(a){return this.interval=a.interval,this.admin=a.admin,this.index=0,this.setPosts(),this.render(),5e3!==this.model.get(“interval”)&&5e3===this.interval&&(this.interval=this.model.get(“interval”)),0===this.interval&&(this.interval=5e7),window.juicerWidget=this,this.id=setInterval(this.showNextPost,this.interval)},d.prototype.setPosts=function(){return this.posts=this.model.get(“posts”).models},d.prototype.render=function(){return this.$el.append(this.template({first:this.posts,second:this.posts,admin:this.admin})),this.container=this.$(“.flip-container”),this.handleReferral(),this.$el.append(this.customCss({feed:this.model}))},d.prototype.showNextPost=function(){return this.container.toggleClass(“flip”),setTimeout(this.addPost,600),this.index++,this.index>=this.posts.length-1?(this.model.pollingAllowed()&&this.model.fetchNewPosts(!1),this.index=-1):void 0},d.prototype.addPost=function(){return this.element().html(this.card({post:this.posts,admin:this.admin,truncate:this.truncate}))},d.prototype.element=function(){return this.container.hasClass(“flip”)?this.$(“.front”):this.$(“.back”)},d.prototype.other=function(){return this.element().siblings()},d.prototype.handleReferral=function(){return this.model.paid()||this.admin||this.$el.find(“h1.referral”).length>0||this.$el.append(this.referral()),this.model.paid()?this.$el.find(“h1.referral”).remove():void 0},d.prototype.close=function(){return null!=this.id&&window.clearInterval(this.id),this.$el.empty().off(),this.stopListening(),this},d}(JuicerBackbone.View)}.call(this),Juicer.Constants={},Juicer.Constants.API_ROOT=“//www.juicer.io”,(navigator.userAgent.match(/MSIE 9/)||navigator.userAgent.match(/MSIE 8/)||“file:”===window.location.protocol)&&(Juicer.Constants.API_ROOT=“”+Juicer.Constants.API_ROOT),Juicer.cljs={},Juicer.Constants.ASSET_PATH=“https://assets.juicer.io”,Juicer.Constants.BASE_URL=“https://www.juicer.io”,Juicer.Constants.CACHE_BUSTER=“i think this is now getting cached on cloudflare”,Juicer.Constants.CAN_ADD_MANUAL=,Juicer.Constants.FACEBOOK_APP_ID=“731223346944897”,Juicer.Constants.FEED_CLASSES=,Juicer.Constants.GOOGLE_MAPS_KEY=“AIzaSyBphQRyC2Tke2HTDXPMrxbYzuk5ZgP7XTo”,Juicer.Constants.HELP_CENTER_URL=“https://help.juicer.io”,Juicer.Constants.PAID_PLANS=[“medium”,“large”,“custom”,“enterprise”,“campaign”,“archive”],Juicer.Constants.STRIPE_PUBLISHABLE_KEY=“pk_live_O4R3D1OryggCLZEsquEjTNBW”,$(function(){function a(){$(“.slide.video”).each(function(){var a=$(this).find(“.background video”).eq(0);b($(this))?a.play():a.pause()})}function b(a){var b=$(window).scrollTop(),c=$(a),d=(b+$(window).height(),c.offset().top);d+c.height();return b>d-$(window).height()&&b<d+c.height()}window.isScroll?$(“html,body”).on(“mousewheel”,function(){a()}):$(window).on(“slideChange”,function(a,b,c){if($(“video”).each(function(){$(this).pause()}),$©.hasClass(“video”)){var d=$©.find(“.background video”).eq(0);d.play()}})});