(function(){function t(t){function e(e,r,i,n,s,o){for(;s>=0&&o>s;s+=t){var a=n?n[s]:s;i=r(i,e[a],a,e)}return i}return function(r,i,n,s){i=w(i,s,4);var o=!x®&&v.keys®,a=(o||r).length,l=t>0?0:a-1;return arguments.length<3&&(n=r[o?o[l]:l],l+=t),e(r,i,n,o,l,a)}}function e(t){return function(e,r,i){r=S(r,i);for(var n=T(e),s=t>0?0:n-1;s>=0&&n>s;s+=t)if(r(e[s],s,e))return s;return-1}}function r(t,e,r){return function(i,n,s){var o=0,a=T(i);if(“number”==typeof s)t>0?o=s>=0?s:Math.max(s+a,o):a=s>=0?Math.min(s+1,a):s+a+1;else if(r&&s&&a)return s=r(i,n),i[s]===n?s:-1;if(n!==n)return s=e(u.call(i,o,a),v.isNaN),s>=0?s+o:-1;for(s=t>0?o:a-1;s>=0&&a>s;s+=t)if(i[s]===n)return s;return-1}}function i(t,e){var r=$.length,i=t.constructor,n=v.isFunction(i)&&i.prototype||a,s=“constructor”;for(v.has(t,s)&&!v.contains(e,s)&&e.push(s);r–;)s=$[r],s in t&&t[s]!==n[s]&&!v.contains(e,s)&&e.push(s)}var n=this,s=n._,o=Array.prototype,a=Object.prototype,l=Function.prototype,c=o.push,u=o.slice,p=a.toString,h=a.hasOwnProperty,f=Array.isArray,d=Object.keys,g=l.bind,m=Object.create,y=function(){},v=function(t){return t instanceof v?t:this instanceof v?void(this._wrapped=t):new v(t)};“undefined”!=typeof exports?(“undefined”!=typeof module&&module.exports&&(exports=module.exports=v),exports._=v):n._=v,v.VERSION=“1.8.3”;var w=function(t,e,r){if(void 0===e)return t;switch(null==r?3:r){case 1:return function®{return t.call(e,r)};case 2:return function(r,i){return t.call(e,r,i)};case 3:return function(r,i,n){return t.call(e,r,i,n)};case 4:return function(r,i,n,s){return t.call(e,r,i,n,s)}}return function(){return t.apply(e,arguments)}},S=function(t,e,r){return null==t?v.identity:v.isFunction(t)?w(t,e,r):v.isObject(t)?v.matcher(t):v.property(t)};v.iteratee=function(t,e){return S(t,e,1/0)};var b=function(t,e){return function®{var i=arguments.length;if(2>i||null==r)return r;for(var n=1;i>n;n++)for(var s=arguments[n],o=t(s),a=o.length,l=0;a>l;l++){var c=o[l];e&&void 0!==r[c]||(r[c]=s[c])}return r}},_=function(t){if(!v.isObject(t))return{};if(m)return m(t);y.prototype=t;var e=new y;return y.prototype=null,e},k=function(t){return function(e){return null==e?void 0:e[t]}},A=Math.pow(2,53)-1,T=k(“length”),x=function(t){var e=T(t);return“number”==typeof e&&e>=0&&A>=e};v.each=v.forEach=function(t,e,r){e=w(e,r);var i,n;if(x(t))for(i=0,n=t.length;n>i;i++)e(t[i],i,t);else{var s=v.keys(t);for(i=0,n=s.length;n>i;i++)e(t[s[i]],s[i],t)}return t},v.map=v.collect=function(t,e,r){e=S(e,r);for(var i=!x(t)&&v.keys(t),n=(i||t).length,s=Array(n),o=0;n>o;o++){var a=i?i[o]:o;s[o]=e(t[a],a,t)}return s},v.reduce=v.foldl=v.inject=t(1),v.reduceRight=v.foldr=t(-1),v.find=v.detect=function(t,e,r){var i;return i=x(t)?v.findIndex(t,e,r):v.findKey(t,e,r),void 0!==i&&-1!==i?t[i]:void 0},v.filter=v.select=function(t,e,r){var i=[];return e=S(e,r),v.each(t,function(t,r,n){e(t,r,n)&&i.push(t)}),i},v.reject=function(t,e,r){return v.filter(t,v.negate(S(e)),r)},v.every=v.all=function(t,e,r){e=S(e,r);for(var i=!x(t)&&v.keys(t),n=(i||t).length,s=0;n>s;s++){var o=i?i[s]:s;if(!e(t[o],o,t))return!1}return!0},v.some=v.any=function(t,e,r){e=S(e,r);for(var i=!x(t)&&v.keys(t),n=(i||t).length,s=0;n>s;s++){var o=i?i[s]:s;if(e(t[o],o,t))return!0}return!1},v.contains=v.includes=v.include=function(t,e,r,i){return x(t)||(t=v.values(t)),(“number”!=typeof r||i)&&(r=0),v.indexOf(t,e,r)>=0},v.invoke=function(t,e){var r=u.call(arguments,2),i=v.isFunction(e);return v.map(t,function(t){var n=i?e:t[e];return null==n?n:n.apply(t,r)})},v.pluck=function(t,e){return v.map(t,v.property(e))},v.where=function(t,e){return v.filter(t,v.matcher(e))},v.findWhere=function(t,e){return v.find(t,v.matcher(e))},v.max=function(t,e,r){var i,n,s=-(1/0),o=-(1/0);if(null==e&&null!=t){t=x(t)?t:v.values(t);for(var a=0,l=t.length;l>a;a++)i=t[a],i>s&&(s=i)}else e=S(e,r),v.each(t,function(t,r,i){n=e(t,r,i),(n>o||n===-(1/0)&&s===-(1/0))&&(s=t,o=n)});return s},v.min=function(t,e,r){var i,n,s=1/0,o=1/0;if(null==e&&null!=t){t=x(t)?t:v.values(t);for(var a=0,l=t.length;l>a;a++)i=t[a],s>i&&(s=i)}else e=S(e,r),v.each(t,function(t,r,i){n=e(t,r,i),(o>n||n===1/0&&s===1/0)&&(s=t,o=n)});return s},v.shuffle=function(t){for(var e,r=x(t)?t:v.values(t),i=r.length,n=Array(i),s=0;i>s;s++)e=v.random(0,s),e!==s&&(n[s]=n[e]),n[e]=r[s];return n},v.sample=function(t,e,r){return null==e||r?(x(t)||(t=v.values(t)),t[v.random(t.length-1)]):v.shuffle(t).slice(0,Math.max(0,e))},v.sortBy=function(t,e,r){return e=S(e,r),v.pluck(v.map(t,function(t,r,i){return{value:t,index:r,criteria:e(t,r,i)}}).sort(function(t,e){var r=t.criteria,i=e.criteria;if(r!==i){if(r>i||void 0===r)return 1;if(i>r||void 0===i)return-1}return t.index-e.index}),“value”)};var j=function(t){return function(e,r,i){var n={};return r=S(r,i),v.each(e,function(i,s){var o=r(i,s,e);t(n,i,o)}),n}};v.groupBy=j(function(t,e,r){v.has(t,r)?t[r].push(e):t[r]=[e]}),v.indexBy=j(function(t,e,r){t[r]=e}),v.countBy=j(function(t,e,r){v.has(t,r)?t[r]++:t[r]=1}),v.toArray=function(t){return t?v.isArray(t)?u.call(t):x(t)?v.map(t,v.identity):v.values(t):[]},v.size=function(t){return null==t?0:x(t)?t.length:v.keys(t).length},v.partition=function(t,e,r){e=S(e,r);var i=[],n=[];return v.each(t,function(t,r,s){(e(t,r,s)?i:n).push(t)}),[i,n]},v.first=v.head=v.take=function(t,e,r){return null==t?void 0:null==e||r?t[0]:v.initial(t,t.length-e)},v.initial=function(t,e,r){return u.call(t,0,Math.max(0,t.length-(null==e||r?1:e)))},v.last=function(t,e,r){return null==t?void 0:null==e||r?t[t.length-1]:v.rest(t,Math.max(0,t.length-e))},v.rest=v.tail=v.drop=function(t,e,r){return u.call(t,null==e||r?1:e)},v.compact=function(t){return v.filter(t,v.identity)};var J=function(t,e,r,i){for(var n=[],s=0,o=i||0,a=T(t);a>o;o++){var l=t[o];if(x(l)&&(v.isArray(l)||v.isArguments(l))){e||(l=J(l,e,r));var c=0,u=l.length;for(n.length+=u;u>c;)n[s++]=l[c++]}else r||(n[s++]=l)}return n};v.flatten=function(t,e){return J(t,e,!1)},v.without=function(t){return v.difference(t,u.call(arguments,1))},v.uniq=v.unique=function(t,e,r,i){v.isBoolean(e)||(i=r,r=e,e=!1),null!=r&&(r=S(r,i));for(var n=[],s=[],o=0,a=T(t);a>o;o++){var l=t[o],c=r?r(l,o,t):l;e?(o&&s===c||n.push(l),s=c):r?v.contains(s,c)||(s.push©,n.push(l)):v.contains(n,l)||n.push(l)}return n},v.union=function(){return v.uniq(J(arguments,!0,!0))},v.intersection=function(t){for(var e=[],r=arguments.length,i=0,n=T(t);n>i;i++){var s=t[i];if(!v.contains(e,s)){for(var o=1;r>o&&v.contains(arguments[o],s);o++);o===r&&e.push(s)}}return e},v.difference=function(t){var e=J(arguments,!0,!0,1);return v.filter(t,function(t){return!v.contains(e,t)})},v.zip=function(){return v.unzip(arguments)},v.unzip=function(t){for(var e=t&&v.max(t,T).length||0,r=Array(e),i=0;e>i;i++)r[i]=v.pluck(t,i);return r},v.object=function(t,e){for(var r={},i=0,n=T(t);n>i;i++)e?r[t[i]]=e[i]:r[t[i][0]]=t[i][1];return r},v.findIndex=e(1),v.findLastIndex=e(-1),v.sortedIndex=function(t,e,r,i){r=S(r,i,1);for(var n=r(e),s=0,o=T(t);o>s;){var a=Math.floor((s+o)/2);r(t[a])s;s++,t+=r)n[s]=t;return n};var C=function(t,e,r,i,n){if(!(i instanceof e))return t.apply(r,n);var s=_(t.prototype),o=t.apply(s,n);return v.isObject(o)?o:s};v.bind=function(t,e){if(g&&t.bind===g)return g.apply(t,u.call(arguments,1));if(!v.isFunction(t))throw new TypeError(“Bind must be called on a function”);var r=u.call(arguments,2),i=function(){return C(t,i,e,this,r.concat(u.call(arguments)))};return i},v.partial=function(t){var e=u.call(arguments,1),r=function(){for(var i=0,n=e.length,s=Array(n),o=0;n>o;o++)s[o]=e[o]===v?arguments[i++]:e[o];for(;i=i)throw new Error(“bindAll must be passed function names”);for(e=1;i>e;e++)r=arguments[e],t[r]=v.bind(t[r],t);return t},v.memoize=function(t,e){var r=function(i){var n=r.cache,s=“”+(e?e.apply(this,arguments):i);return v.has(n,s)||(n[s]=t.apply(this,arguments)),n[s]};return r.cache={},r},v.delay=function(t,e){var r=u.call(arguments,2);return setTimeout(function(){return t.apply(null,r)},e)},v.defer=v.partial(v.delay,v,1),v.throttle=function(t,e,r){var i,n,s,o=null,a=0;r||(r={});var l=function(){a=r.leading===!1?0:v.now(),o=null,s=t.apply(i,n),o||(i=n=null)};return function(){var c=v.now();a||r.leading!==!1||(a=c);var u=e-(c-a);return i=this,n=arguments,0>=u||u>e?(o&&(clearTimeout(o),o=null),a=c,s=t.apply(i,n),o||(i=n=null)):o||r.trailing===!1||(o=setTimeout(l,u)),s}},v.debounce=function(t,e,r){var i,n,s,o,a,l=function(){var c=v.now()-o;e>c&&c>=0?i=setTimeout(l,e-c):(i=null,r||(a=t.apply(s,n),i||(s=n=null)))};return function(){s=this,n=arguments,o=v.now();var c=r&&!i;return i||(i=setTimeout(l,e)),c&&(a=t.apply(s,n),s=n=null),a}},v.wrap=function(t,e){return v.partial(e,t)},v.negate=function(t){return function(){return!t.apply(this,arguments)}},v.compose=function(){var t=arguments,e=t.length-1;return function(){for(var r=e,i=t[e].apply(this,arguments);r–;)i=t[r].call(this,i);return i}},v.after=function(t,e){return function(){return–t<1?e.apply(this,arguments):void 0}},v.before=function(t,e){var r;return function(){return--t>0&&(r=e.apply(this,arguments)),1>=t&&(e=null),r}},v.once=v.partial(v.before,2);var P=!{toString:null}.propertyIsEnumerable(“toString”),$=[“valueOf”,“isPrototypeOf”,“toString”,“propertyIsEnumerable”,“hasOwnProperty”,“toLocaleString”];v.keys=function(t){if(!v.isObject(t))return[];if(d)return d(t);var e=[];for(var r in t)v.has(t,r)&&e.push®;return P&&i(t,e),e},v.allKeys=function(t){if(!v.isObject(t))return[];var e=[];for(var r in t)e.push®;return P&&i(t,e),e},v.values=function(t){for(var e=v.keys(t),r=e.length,i=Array®,n=0;r>n;n++)i[n]=t[e[n]];return i},v.mapObject=function(t,e,r){e=S(e,r);for(var i,n=v.keys(t),s=n.length,o={},a=0;s>a;a++)i=n[a],o[i]=e(t[i],i,t);return o},v.pairs=function(t){for(var e=v.keys(t),r=e.length,i=Array®,n=0;r>n;n++)i[n]=[e[n],t[e[n]]];return i},v.invert=function(t){for(var e={},r=v.keys(t),i=0,n=r.length;n>i;i++)e[t[r[i]]]=r[i];return e},v.functions=v.methods=function(t){var e=[];for(var r in t)v.isFunction(t[r])&&e.push®;return e.sort()},v.extend=b(v.allKeys),v.extendOwn=v.assign=b(v.keys),v.findKey=function(t,e,r){e=S(e,r);for(var i,n=v.keys(t),s=0,o=n.length;o>s;s++)if(i=n[s],e(t[i],i,t))return i},v.pick=function(t,e,r){var i,n,s={},o=t;if(null==o)return s;v.isFunction(e)?(n=v.allKeys(o),i=w(e,r)):(n=J(arguments,!1,!1,1),i=function(t,e,r){return e in r},o=Object(o));for(var a=0,l=n.length;l>a;a++){var c=n[a],u=o[c];i(u,c,o)&&(s[c]=u)}return s},v.omit=function(t,e,r){if(v.isFunction(e))e=v.negate(e);else{var i=v.map(J(arguments,!1,!1,1),String);e=function(t,e){return!v.contains(i,e)}}return v.pick(t,e,r)},v.defaults=b(v.allKeys,!0),v.create=function(t,e){var r=_(t);return e&&v.extendOwn(r,e),r},v.clone=function(t){return v.isObject(t)?v.isArray(t)?t.slice():v.extend({},t):t},v.tap=function(t,e){return e(t),t},v.isMatch=function(t,e){var r=v.keys(e),i=r.length;if(null==t)return!i;for(var n=Object(t),s=0;i>s;s++){var o=r[s];if(e[o]!==n[o]||!(o in n))return!1}return!0};var O=function(t,e,r,i){if(t===e)return 0!==t||1/t===1/e;if(null==t||null==e)return t===e;t instanceof v&&(t=t._wrapped),e instanceof v&&(e=e._wrapped);var n=p.call(t);if(n!==p.call(e))return!1;switch(n){case“[object RegExp]”:case“[object String]”:return“”+t==“”+e;case“[object Number]”:return+t!==+t?+e!==+e:0===+t?1/+t===1/e:+t===+e;case“[object Date]”:case“[object Boolean]”:return+t===+e}var s=“[object Array]”===n;if(!s){if(“object”!=typeof t||“object”!=typeof e)return!1;var o=t.constructor,a=e.constructor;if(o!==a&&!(v.isFunction(o)&&o instanceof o&&v.isFunction(a)&&a instanceof a)&&“constructor”in t&&“constructor”in e)return!1}r=r||[],i=i||[];for(var l=r.length;l–;)if(r[l]===t)return i[l]===e;if(r.push(t),i.push(e),s){if(l=t.length,l!==e.length)return!1;for(;l–;)if(!O(t[l],e[l],r,i))return!1}else{var c,u=v.keys(t);if(l=u.length,v.keys(e).length!==l)return!1;for(;l–;)if(c=u[l],!v.has(e,c)||!O(t[c],e[c],r,i))return!1}return r.pop(),i.pop(),!0};v.isEqual=function(t,e){return O(t,e)},v.isEmpty=function(t){return null==t?!0:x(t)&&(v.isArray(t)||v.isString(t)||v.isArguments(t))?0===t.length:0===v.keys(t).length},v.isElement=function(t){return!(!t||1!==t.nodeType)},v.isArray=f||function(t){return“[object Array]”===p.call(t)},v.isObject=function(t){var e=typeof t;return“function”===e||“object”===e&&!!t},v.each([“Arguments”,“Function”,“String”,“Number”,“Date”,“RegExp”,“Error”],function(t){v[“is”+t]=function(e){return p.call(e)===“[object ”t“]”}}),v.isArguments(arguments)||(v.isArguments=function(t){return v.has(t,“callee”)}),“function”!=typeof/./&&“object”!=typeof Int8Array&&(v.isFunction=function(t){return“function”==typeof t||!1}),v.isFinite=function(t){return isFinite(t)&&!isNaN(parseFloat(t))},v.isNaN=function(t){return v.isNumber(t)&&t!==+t},v.isBoolean=function(t){return t===!0||t===!1||“[object Boolean]”===p.call(t)},v.isNull=function(t){return null===t},v.isUndefined=function(t){return void 0===t},v.has=function(t,e){return null!=t&&h.call(t,e)},v.noConflict=function(){return n._=s,this},v.identity=function(t){return t},v.constant=function(t){return function(){return t}},v.noop=function(){},v.property=k,v.propertyOf=function(t){return null==t?function(){}:function(e){return t[e]}},v.matcher=v.matches=function(t){return t=v.extendOwn({},t),function(e){return v.isMatch(e,t)}},v.times=function(t,e,r){var i=Array(Math.max(0,t));e=w(e,r,1);for(var n=0;t>n;n++)i[n]=e(n);return i},v.random=function(t,e){return null==e&&(e=t,t=0),t+Math.floor(Math.random()*(e-t+1))},v.now=Date.now||function(){return(new Date).getTime()};var E={“&”:“&”,“<":"<",">”:“>”,‘“’:”“”,“‘”:“'”,“`”:“`”},M=v.invert(E),I=function(t){var e=function(e){return t[e]},r=“(?:”+v.keys(t).join(“|”)+“)”,i=RegExp®,n=RegExp(r,“g”);return function(t){return t=null==t?“”:“”+t,i.test(t)?t.replace(n,e):t}};v.escape=I(E),v.unescape=I(M),v.result=function(t,e,r){var i=null==t?void 0:t[e];return void 0===i&&(i=r),v.isFunction(i)?i.call(t):i};var L=0;v.uniqueId=function(t){var e=+L“”;return t?t+e:e},v.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var F=/(.)^/,z={“’”:“‘”,“\”:“\”,“r”:“r”,“n”:“n”,“u2028”:“u2028”,“u2029”:“u2029”},D=/\|’|r|n|u2028|u2029/g,H=function(t){return“\”+z[t]};v.template=function(t,e,r){!e&&r&&(e=r),e=v.defaults({},e,v.templateSettings);var i=RegExp([(e.escape||F).source,(e.interpolate||F).source,(e.evaluate||F).source].join(“|”)+“|$”,“g”),n=0,s=“__p+=‘”;t.replace(i,function(e,r,i,o,a){return s+=t.slice(n,a).replace(D,H),n=a+e.length,r?s+=“’+n((__t=(”r“))==null?”:_.escape(__t))+n‘”:i?s+=“’+n((__t=(”i“))==null?”:__t)+n‘”:o&&(s+=“’;n”o“n__p+=‘”),e}),s+=“’;n”,e.variable||(s=“with(obj||{}){n”s“}n”),s=“var __t,__p=”,__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,”);};n”s“return __p;n”;try{var o=new Function(e.variable||“obj”,“_”,s)}catch(a){throw a.source=s,a}var l=function(t){return o.call(this,t,v)},c=e.variable||“obj”;return l.source=“function(”c“){n”s“}”,l},v.chain=function(t){var e=v(t);return e._chain=!0,e};var V=function(t,e){return t._chain?v(e).chain():e};v.mixin=function(t){v.each(v.functions(t),function(e){var r=v[e]=t[e];v.prototype[e]=function(){var t=[this._wrapped];return c.apply(t,arguments),V(this,r.apply(v,t))}})},v.mixin(v),v.each([“pop”,“push”,“reverse”,“shift”,“sort”,“splice”,“unshift”],function(t){var e=o[t];v.prototype[t]=function(){var r=this._wrapped;return e.apply(r,arguments),“shift”!==t&&“splice”!==t||0!==r.length||delete r[0],V(this,r)}}),v.each([“concat”,“join”,“slice”],function(t){var e=o[t];v.prototype[t]=function(){return V(this,e.apply(this._wrapped,arguments))}}),v.prototype.value=function(){return this._wrapped},v.prototype.valueOf=v.prototype.toJSON=v.prototype.value,v.prototype.toString=function(){return“”+this._wrapped},“function”==typeof define&&define.amd&&define(“underscore”,[],function(){return v})}).call(this),function(t,e){var r=[],i=[],n=[],s={gsub:function(t,e,r){var i=new RegExp(e.source||e,“gi”);return i.test(t)?t.replace(i,r):null},plural:function(t,e){r.unshift([t,e])},pluralize:function(i,s,o){var a;if(s!==e)s=parseFloat(s),a=1===s?this.singularize(i):this.pluralize(i),a=o?[s,a].join(“ ”):a;else{if(t(n).include(i))return i;a=i,t®.detect(function(t){var e=this.gsub(i,t[0],t[1]);return e?a=e:!1},this)}return a},singular:function(t,e){i.unshift([t,e])},singularize:function(e){if(t(n).include(e))return e;var r=e;return t(i).detect(function(t){var i=this.gsub(e,t[0],t[1]);return i?r=i:!1},this),r},irregular:function(t,e){this.plural(“\b”t“\b”,e),this.singular(“\b”e“\b”,t)},uncountable:function(t){n.unshift(t)},ordinalize:function(t){if(isNaN(t))return t;t=t.toString();var e=t.slice(-1),r=t.slice(-2);if(“11”===r||“12”===r||“13”===r)return t+“th”;switch(e){case“1”:return t+“st”;case“2”:return t+“nd”;case“3”:return t+“rd”;default:return t+“th”}},titleize:function(t){return“string”!=typeof t?t:t.replace(/S+/g,function(t){return t.charAt(0).toUpperCase()+t.slice(1)})},resetInflections:function(){return r=[],i=[],n=[],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}};t.mixin(s.resetInflections())}(_),function(t){var e=“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(r,i,n){e.Backbone=t(e,n,r,i)});else if(“undefined”!=typeof exports){var r,i=require(“underscore”);try{r=require(“jquery”)}catch(n){}t(e,exports,i,r)}else e.Backbone=t(e,{},e._,e.jQuery||e.Zepto||e.ender||e.$)}(function(t,e,r,i){var n=t.Backbone,s=[].slice;e.VERSION=“1.2.1”,e.$=i,e.noConflict=function(){return t.Backbone=n,this},e.emulateHTTP=!1,e.emulateJSON=!1;var o=function(t,e,i){switch(t){case 1:return function(){return r[e](this[i])};case 2:return function(t){return r[e](this[i],t)};case 3:return function(t,n){return r[e](this[i],t,n)};case 4:return function(t,n,s){return r[e](this[i],t,n,s)};default:return function(){var t=s.call(arguments);return t.unshift(this[i]),r[e].apply(r,t)}}},a=function(t,e,i){r.each(e,function(e,n){r[n]&&(t.prototype[n]=o(e,n,i))})},l=e.Events={},c=/s+/,u=function(t,e,i,n,s){var o,a=0;if(i&&“object”==typeof i){void 0!==n&&“context”in s&&void 0===s.context&&(s.context=n);for(o=r.keys(i);ai;i++)r[i]=arguments[i+1];return u(g,this._events,t,void 0,r),this};var g=function(t,e,r,i){if(t){var n=t[e],s=t.all;n&&s&&(s=s.slice()),n&&m(n,i),s&&m(s,[e].concat(i))}return t},m=function(t,e){var r,i=-1,n=t.length,s=e[0],o=e[1],a=e[2];switch(e.length){case 0:for(;++ic&&(c+=this.length+1);for(var u=this.comparator&&null==c&&e.sort!==!1,p=r.isString(this.comparator)?this.comparator:null,h=[],f=[],d={},g=e.add,m=e.merge,y=e.remove,v=!u&&g&&y?[]:!1,w=!1,b=0;bt&&(t+=this.length),this.models[t]},where:function(t,e){var i=r.matches(t);return this[e?“find”:“filter”](function(t){return i(t.attributes)})},findWhere:function(t){return this.where(t,!0)},sort:function(t){if(!this.comparator)throw new Error(“Cannot sort a set without a comparator”);return t||(t={}),r.isString(this.comparator)||1===this.comparator.length?this.models=this.sortBy(this.comparator,this):this.models.sort(r.bind(this.comparator,this)),t.silent||this.trigger(“sort”,this,t),this},pluck:function(t){return r.invoke(this.models,“get”,t)},fetch:function(t){t=r.extend({parse:!0},t);var e=t.success,i=this;return t.success=function®{var n=t.reset?“reset”:“set”;i[n](r,t),e&&e.call(t.context,i,r,t),i.trigger(“sync”,i,r,t)},D(this,t),this.sync(“read”,this,t)},create:function(t,e){e=e?r.clone(e):{};var i=e.wait;if(t=this._prepareModel(t,e),!t)return!1;i||this.add(t,e);var n=this,s=e.success;return e.success=function(t,e,r){i&&n.add(t,r),s&&s.call(r.context,t,e,r)},t.save(null,e),t},parse:function(t,e){return t},clone:function(){return new this.constructor(this.models,{model:this.model,comparator:this.comparator})},modelId:function(t){return t[this.model.prototype.idAttribute||“id”]},_reset:function(){this.length=0,this.models=[],this._byId={}},_prepareModel:function(t,e){if(this._isModel(t))return t.collection||(t.collection=this),t;e=e?r.clone(e):{},e.collection=this;var i=new this.model(t,e);return i.validationError?(this.trigger(“invalid”,this,i.validationError,e),!1):i},_removeModels:function(t,e){for(var r=[],i=0;it“(?:\?([\s\S]*))?$”)},_extractParameters:function(t,e){var i=t.exec(e).slice(1);return r.map(i,function(t,e){return e===i.length-1?t||null:t?decodeURIComponent(t):null})}});var E=e.History=function(){this.handlers=[],r.bindAll(this,“checkUrl”),“undefined”!=typeof window&&(this.location=window.location,this.history=window.history)},M=/^[#/]|s+$/g,I=/^/+|/+$/g,L=/#.*$/;E.started=!1,r.extend(E.prototype,l,{interval:50,atRoot:function(){var t=this.location.pathname.replace(/[^/]$/,“$&/”);return t===this.root&&!this.getSearch()},matchRoot:function(){var t=this.decodeFragment(this.location.pathname),e=t.slice(0,this.root.length-1)+“/”;return e===this.root},decodeFragment:function(t){return decodeURI(t.replace(/%25/g,“%2525”))},getSearch:function(){var t=this.location.href.replace(/#.*/,“”).match(/?.+/);return t?t[0]:“”},getHash:function(t){var e=(t||this).location.href.match(/#(.*)$/);return e?e[1]:“”},getPath:function(){var t=this.decodeFragment(this.location.pathname+this.getSearch()).slice(this.root.length-1);return“/”===t.charAt(0)?t.slice(1):t},getFragment:function(t){return null==t&&(t=this._usePushState||!this._wantsHashChange?this.getPath():this.getHash()),t.replace(M,“”)},start:function(t){if(E.started)throw new Error(“Backbone.history has already been started”);if(E.started=!0,this.options=r.extend({root:“/”},this.options,t),this.root=this.options.root,this._wantsHashChange=this.options.hashChange!==!1,this._hasHashChange=“onhashchange”in window,this._useHashChange=this._wantsHashChange&&this._hasHashChange,this._wantsPushState=!!this.options.pushState,this._hasPushState=!(!this.history||!this.history.pushState),this._usePushState=this._wantsPushState&&this._hasPushState,this.fragment=this.getFragment(),this.root=(“/”this.root“/”).replace(I,“/”),this._wantsHashChange&&this._wantsPushState){if(!this._hasPushState&&!this.atRoot()){var e=this.root.slice(0,-1)||“/”;return this.location.replace(e+“#”+this.getPath()),!0}this._hasPushState&&this.atRoot()&&this.navigate(this.getHash(),{replace:!0})}if(!this._hasHashChange&&this._wantsHashChange&&!this._usePushState){this.iframe=document.createElement(“iframe”),this.iframe.src=“javascript:0”,this.iframe.style.display=“none”,this.iframe.tabIndex=-1;var i=document.body,n=i.insertBefore(this.iframe,i.firstChild).contentWindow;n.document.open(),n.document.close(),n.location.hash=“#”+this.fragment}var s=window.addEventListener||function(t,e){return attachEvent(“on”+t,e)};return this._usePushState?s(“popstate”,this.checkUrl,!1):this._useHashChange&&!this.iframe?s(“hashchange”,this.checkUrl,!1):this._wantsHashChange&&(this._checkUrlInterval=setInterval(this.checkUrl,this.interval)),this.options.silent?void 0:this.loadUrl()},stop:function(){var t=window.removeEventListener||function(t,e){return detachEvent(“on”+t,e)};this._usePushState?t(“popstate”,this.checkUrl,!1):this._useHashChange&&!this.iframe&&t(“hashchange”,this.checkUrl,!1),this.iframe&&(document.body.removeChild(this.iframe),this.iframe=null),this._checkUrlInterval&&clearInterval(this._checkUrlInterval),E.started=!1},route:function(t,e){this.handlers.unshift({route:t,callback:e})},checkUrl:function(t){var e=this.getFragment();return e===this.fragment&&this.iframe&&(e=this.getHash(this.iframe.contentWindow)),e===this.fragment?!1:(this.iframe&&this.navigate(e),void this.loadUrl())},loadUrl:function(t){return this.matchRoot()?(t=this.fragment=this.getFragment(t),r.any(this.handlers,function(e){return e.route.test(t)?(e.callback(t),!0):void 0})):!1},navigate:function(t,e){if(!E.started)return!1;e&&e!==!0||(e={trigger:!!e}),t=this.getFragment(t||“”);var r=this.root;(“”===t||“?”===t.charAt(0))&&(r=r.slice(0,-1)||“/”);var i=r+t;if(t=this.decodeFragment(t.replace(L,“”)),this.fragment!==t){if(this.fragment=t,this._usePushState)this.history[e.replace?“replaceState”:“pushState”]({},document.title,i);else{if(!this._wantsHashChange)return this.location.assign(i);if(this._updateHash(this.location,t,e.replace),this.iframe&&t!==this.getHash(this.iframe.contentWindow)){var n=this.iframe.contentWindow;e.replace||(n.document.open(),n.document.close()),this._updateHash(n.location,t,e.replace)}}return e.trigger?this.loadUrl(t):void 0}},_updateHash:function(t,e,r){if®{var i=t.href.replace(/(javascript:|#).*$/,“”);t.replace(i+“#”+e)}else t.hash=“#”+e}}),e.history=new E;var F=function(t,e){var i,n=this;i=t&&r.has(t,“constructor”)?t.constructor:function(){return n.apply(this,arguments)},r.extend(i,n,e);var s=function(){this.constructor=i};return s.prototype=n.prototype,i.prototype=new s,t&&r.extend(i.prototype,t),i.__super__=n.prototype,i};y.extend=w.extend=J.extend=A.extend=E.extend=F;var z=function(){throw new Error(‘A “url” property or function must be specified’)},D=function(t,e){var r=e.error;e.error=function(i){r&&r.call(e.context,t,i,e),t.trigger(“error”,t,i,e)}};return e}),function(t,e){“function”==typeof define&&define.amd?define([“underscore”,“backbone”],function(r,i){return e(r||t._,i||t.Backbone)}):e(_,Backbone)}(this,function(t,e){function r(e,r){var i=null;try{i=r.url}catch(n){}if(!i)try{i=t.result(e,“url”)}catch(n){}return i}function i(t,e){return“:”===t||“:”===e?!1:t===e?!1:!0}var n={create:“POST”,update:“PUT”,patch:“PATCH”,“delete”:“DELETE”,read:“GET”};return e.vanillaSync=e.sync,e.sync=function(s,o,a){var l=!1,c=document.createElement(“a”);c.href=document.URL;var u=document.createElement(“a”);if(u.href=r(o,a),“”!==u.host&&c.host!==u.host&&(l=!0),l&&!e.$.support.cors){var p=n[s];if(t.defaults(a||(a={}),{emulateHTTP:e.emulateHTTP,emulateJSON:e.emulateJSON}),!a.emulateHTTP&&(“update”===s||“patch”===s||“delete”===s))throw new Error(“Backbone.CrossDomain cannot use PUT, PATCH, DELETE with XDomainRequest (IE) and emulateHTTP=false”);var h={type:p,dataType:“json”,url:r(o,a)};if(!h.url)throw new Error(“No URL!”);if(i(c.protocol,u.protocol)&&(h.url=h.url.replace(new RegExp(u.protocol),c.protocol)),null!=a.data||!o||“create”!==s&&“update”!==s&&“patch”!==s||(h.data=JSON.stringify(a.attrs||o.toJSON(a))),a.emulateJSON&&(h.data=h.data?{model:h.data}:{}),a.emulateHTTP&&(“PUT”===p||“DELETE”===p||“PATCH”===p)){h.type=“POST”,a.emulateJSON&&(h.data._method=p);var f=a.beforeSend;a.beforeSend=function(t){return f?f.apply(this,arguments):void 0}}“GET”===h.type||a.emulateJSON||(h.processData=!1),“POST”===h.type&&(h.data=e.$.param(e.$.parseJSON(h.data)));var d=a.xhr=new XDomainRequest,g=a.success,m=a.error;if(e.$.fn.jquery){var y=e.$.Deferred(),v=e.$.Callbacks(“once memory”);y.promise(d).complete=v.add}return d.onload=function(){var t={};d.responseText&&(t=e.$.parseJSON(d.responseText)),t&&(y&&y.resolveWith(this,[t,“success”,d]),g(t))},d.onerror=function(){m&&(m(o,d,a),y&&y.rejectWith(this,[d,“error”,m])),o.trigger(“error”,o,d,a)},“read”===s&&a.data&&(console.log(“IE get params”,JSON.stringify(a.data)),parameterized=e.$.param(a.data),h.url=h.url+“?”+parameterized),d.open(h.type,h.url),d.onprogress=function(){},d.ontimeout=function(){},setTimeout(function(){d.send(h.data)},0),o.trigger(“request”,o,d,a),d}return e.vanillaSync.apply(this,arguments)},e}),function(t,e){if(“function”==typeof define&&define.amd)define([“underscore”,“backbone”],function(r,i){return e(t,i,r)});else if(“undefined”!=typeof exports){var r=require(“underscore”),i=require(“backbone”);e(t,i,r),“undefined”!=typeof module&&module.exports&&(module.exports=i),exports=i}else e(t,t.Backbone,t._)}(this,function(t,e,r){var i,n,s,o,a,l,c,u,p,h,f,d={};i=e.Model,n=e.Collection,s=i.prototype,a=n.prototype,o=e.Events,e.Associations={VERSION:“0.6.1”},e.Associations.scopes=[];var g=function(){return p},m=function(t){(!r.isString(t)||1>r.size(t))&&(t=“.”),p=t,c=RegExp(“[\”p“\[\]]+”,“g”),u=RegExp(“[^\”p“\[\]]+”,“g”)};try{Object.defineProperty(e.Associations,“SEPARATOR”,{enumerable:!0,get:g,set:m})}catch(y){}e.Associations.Many=e.Many=“Many”,e.Associations.One=e.One=“One”,e.Associations.Self=e.Self=“Self”,e.Associations.SEPARATOR=“.”,e.Associations.getSeparator=g,e.Associations.setSeparator=m,e.Associations.EVENTS_BUBBLE=!0,e.Associations.EVENTS_WILDCARD=!0,e.Associations.EVENTS_NC=!1,m(),l=e.AssociatedModel=e.Associations.AssociatedModel=i.extend({relations:void 0,_proxyCalls:void 0,on:function(t,i,n){var s=o.on.apply(this,arguments);if(e.Associations.EVENTS_NC)return s;var a=/s+/;return r.isString(t)&&t&&!a.test(t)&&i&&(a=w(t))&&(d[a]=“undefined”==typeof d[a]?1:d[a]+1),s},off:function(t,i,n){if(e.Associations.EVENTS_NC)return o.off.apply(this,arguments);var s=/s+/,a=this._events,l={},c=a?r.keys(a):[],u=!t&&!i&&!n,p=r.isString(t)&&!s.test(t);if(u||p)for(var s=0,h=c.length;h>s;s++)l[c[s]]=a[c[s]]?a[c[s]].length:0;var f=o.off.apply(this,arguments);if(u||p)for(s=0,h=c.length;h>s;s++)(u=w(c[s]))&&(d[u]=a[c[s]]?d[u]-(l[c[s]]-a[c[s]].length):d[u]-l[c[s]]);return f},get:function(t){var e=s.get.call(this,t);return e?e:this._getAttr.apply(this,arguments)},set:function(t,e,i){var n;return r.isObject(t)||null==t?(n=t,i=e):(n={},n[t]=e),t=this._set(n,i),this._processPendingEvents(),t},_set:function(t,e){var i,n,s,o,a=this;if(!t)return this;for(i in t)if(n||(n={}),i.match©){var u=v(i);o=r.initial(u),u=u[u.length-1],o=this.get(o),o instanceof l&&(o=n[o.cid]||(n[o.cid]={model:o,data:{}}),o.data[u]=t[i])}else o=n[this.cid]||(n[this.cid]={model:this,data:{}}),o.data[i]=t[i];if(n)for(s in n)o=n[s],this._setAttr.call(o.model,o.data,e)||(a=!1);else a=this._setAttr.call(this,t,e);return a},_setAttr:function(o,a){var c;if(a||(a={}),a.unset)for(c in o)o[c]=void 0;return this.parents=this.parents||[],this.relations&&r.each(this.relations,function(s){var c,u,p,h=s.key,f=s.relatedModel,d=s.collectionType,g=s.scope||t,m=s.map,y=this.attributes[h],v=y&&y.idAttribute,w=!1;if(!f||f.prototype instanceof i||(f=r.isFunction(f)?f.call(this,s,o):f),f&&r.isString(f)&&(f=f===e.Self?this.constructor:S(f,g)),m&&r.isString(m)&&(m=S(m,g)),u=s.options?r.extend({},s.options,a):a,o[h]){if(c=r.result(o,h),c=m?m.call(this,c,d?d:f):c,s.type===e.Many){if(d&&r.isFunction(d)&&d.prototype instanceof i)throw Error(“type is of Backbone.Model. Specify derivatives of Backbone.Collection”);if(!d||d.prototype instanceof n||(d=r.isFunction(d)?d.call(this,s,o):d),d&&r.isString(d)&&(d=S(d,g)),!f&&!d)throw Error(“specify either a relatedModel or collectionType”);if(d&&!d.prototype instanceof n)throw Error(“collectionType must inherit from Backbone.Collection”);y?(y._deferEvents=!0,y[u.reset?“reset”:“set”](c instanceof n?c.models:c,u),s=y):(w=!0,c instanceof n?s=c:(s=d?new d:this._createCollection(f,g),s[u.reset?“reset”:“set”](c,u)))}else{if(s.type!==e.One)throw Error(“type attribute must be specified and have the values Backbone.One or Backbone.Many”);if(!f)throw Error(“specify a relatedModel for Backbone.One type”);if(!(f.prototype instanceof e.AssociatedModel))throw Error(“specify an AssociatedModel for Backbone.One type”);s=c instanceof l?c:new f(c,u),y&&s.attributes[v]&&y.attributes[v]===s.attributes[v]?(y._deferEvents=!0,y._set(c instanceof l?c.attributes:c,u),s=y):w=!0}p=o[h]=s,(w||p&&!p._proxyCallback)&&(p._proxyCallback=function(){return e.Associations.EVENTS_BUBBLE&&this._bubbleEvent.call(this,h,p,arguments)},p.on(“all”,p._proxyCallback,this))}o.hasOwnProperty(h)&&(y=o[h],v=this.attributes[h],y?(y.parents=y.parents||[],-1==r.indexOf(y.parents,this)&&y.parents.push(this)):v&&0m“]”:“”)+(a?p+a:“”),e.Associations.EVENTS_WILDCARD&&(o=a.replace(/[d+]/g,“[*]”)),c=[],c.push.apply(c,s),c[0]=l+“:”+a,e.Associations.EVENTS_WILDCARD&&a!==o&&(c[0]=c[0]+“ ”l“:”+o),y=r._proxyCalls=y||{},this._isEventAvailable.call(this,y,a)?this:(y[a]=!0,u&&(this._previousAttributes[t]=r._previousAttributes,this.changed[t]=r),this.trigger.apply(this,c),e.Associations.EVENTS_NC&&u&&this.get(a)!=s[2]&&(t=[“nested-change”,a,s[1]],s[2]&&t.push(s[2]),this.trigger.apply(this,t)),y&&a&&delete y[a],h=void 0,this)):void 0},_isEventAvailable:function(t,e){return r.find(t,function(t,r){return-1!==e.indexOf(r,e.length-r.length)})},_createCollection:function(t,e){var i,s=t;if(r.isString(s)&&(s=S(s,e)),!(s&&s.prototype instanceof l||r.isFunction(s)))throw Error(“type must inherit from Backbone.AssociatedModel”);return i=new n,i.model=s,i},_processPendingEvents:function(){this._processedEvents||(this._processedEvents=!0,this._deferEvents=!1,r.each(this._pendingEvents,function(t){t.c.trigger.apply(t.c,t.a)}),this._pendingEvents=[],r.each(this.relations,function(t){(t=this.attributes[t.key])&&t._processPendingEvents()},this),delete this._processedEvents)},trigger:function(t){this._deferEvents?(this._pendingEvents=this._pendingEvents||[],this._pendingEvents.push({c:this,a:arguments})):s.trigger.apply(this,arguments)},toJSON:function(t){var e,i={};return i[this.idAttribute]=this.id,this.visited||(this.visited=!0,i=s.toJSON.apply(this,arguments),t&&t.serialize_keys&&(i=r.pick(i,t.serialize_keys)),this.relations&&r.each(this.relations,function(n){var s=n.key,o=n.remoteKey,a=this.attributes[s],l=!n.isTransient;n=n.serialize||[],delete i[s],l&&(n.length&&(t?t.serialize_keys=n:t={serialize_keys:n}),e=a&&a.toJSON?a.toJSON(t):a,i[o||s]=r.isArray(e)?r.compact(e):e)},this),delete this.visited),i},clone:function(t){return new this.constructor(this.toJSON(t))},cleanup:function(){r.each(this.relations,function(t){(t=this.attributes[t.key])&&(t.parents=r.difference(t.parents,[this]))},this),this.off()},_getAttr:function(t){var e=this;t=v(t);var i,s;if(!(1>r.size(t))){for(s=0;sa&&(!(o=s[a])||!(n=r.reduce(t.split(p),function(t,e){return t[e]},o)));++a);return n},b=function(t,e,i){var n,s;return r.find(t,function(t){return(n=r.find(t.relations,function®{return t.get(r.key)===e},this))?(s=t,!0):void 0},this),n&&n.map?n.map.call(s,i,e):i},_={};return r.each([“set”,“remove”,“reset”],function(t){_[t]=n.prototype[t],a[t]=function(e,r){return this.model.prototype instanceof l&&this.parents&&(arguments[0]=b(this.parents,this,e)),_[t].apply(this,arguments)}}),_.trigger=a.trigger,a.trigger=function(t){this._deferEvents?(this._pendingEvents=this._pendingEvents||[],this._pendingEvents.push({c:this,a:arguments})):_.trigger.apply(this,arguments)},a._processPendingEvents=l.prototype._processPendingEvents,a.on=l.prototype.on,a.off=l.prototype.off,e}),function(){for(var t,e=function(){},r=[“assert”,“clear”,“count”,“debug”,“dir”,“dirxml”,“error”,“exception”,“group”,“groupCollapsed”,“groupEnd”,“info”,“log”,“markTimeline”,“profile”,“profileEnd”,“table”,“time”,“timeEnd”,“timeStamp”,“trace”,“warn”],i=r.length,n=window.console=window.console||{};i–;)t=r[i],n[t]||(n[t]=e)}(),“object”!=typeof JSON&&(JSON={}),function(){“use strict”;function f(t){return 10>t?“0”+t:t}function this_value(){return this.valueOf()}function quote(t){return rx_escapable.lastIndex=0,rx_escapable.test(t)?‘“’+t.replace(rx_escapable,function(t){var e=meta[t];return”string“==typeof e?e:”\u“+(”0000“+t.charCodeAt(0).toString(16)).slice(-4)})+‘”’:‘“’t‘”’}function str(t,e){var r,i,n,s,o,a=gap,l=e[t];switch(l&&“object”==typeof l&&“function”==typeof l.toJSON&&(l=l.toJSON(t)),“function”==typeof rep&&(l=rep.call(e,t,l)),typeof l){case“string”:return quote(l);case“number”:return isFinite(l)?String(l):“null”;case“boolean”:case“null”:return String(l);case“object”:if(!l)return“null”;if(gap+=indent,o=[],“[object Array]”===Object.prototype.toString.apply(l)){for(s=l.length,r=0;s>r;r+=1)o[r]=str(r,l)||“null”;return n=0===o.length?“[]”:gap?“[n”+gap+o.join(“,n”gap)“n”a“]”:“[”+o.join(“,”)+“]”,gap=a,n}if(rep&&“object”==typeof rep)for(s=rep.length,r=0;s>r;r+=1)“string”==typeof rep[r]&&(i=rep[r],n=str(i,l),n&&o.push(quote(i)+(gap?“: ”:“:”)+n));else for(i in l)Object.prototype.hasOwnProperty.call(l,i)&&(n=str(i,l),n&&o.push(quote(i)+(gap?“: ”:“:”)+n));return n=0===o.length?“{}”:gap?“{n”+gap+o.join(“,n”gap)“n”a“}”:“{”+o.join(“,”)+“}”,gap=a,n}}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(t,e,r){var i;if(gap=“”,indent=“”,“number”==typeof r)for(i=0;r>i;i+=1)indent+=“ ”;else“string”==typeof r&&(indent=r);if(rep=e,e&&“function”!=typeof e&&(“object”!=typeof e||“number”!=typeof e.length))throw new Error(“JSON.stringify”);return str(“”,{“”:t})}),“function”!=typeof JSON.parse&&(JSON.parse=function(text,reviver){function walk(t,e){var r,i,n=t[e];if(n&&“object”==typeof n)for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(i=walk(n,r),void 0!==i?n[r]=i:delete n[r]);return reviver.call(t,e,n)}var j;if(text=String(text),rx_dangerous.lastIndex=0,rx_dangerous.test(text)&&(text=text.replace(rx_dangerous,function(t){return“\u”+(“0000”+t.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 t(){}function e(t,e){for(var r=t.length;r–;)if(t[r].listener===e)return r;return-1}function r(t){return function(){return this[t].apply(this,arguments)}}var i=t.prototype,n=this,s=n.EventEmitter;i.getListeners=function(t){var e,r,i=this._getEvents();if(“object”==typeof t){e={};for(r in i)i.hasOwnProperty®&&t.test®&&(e[r]=i[r])}else e=i[t]||(i[t]=[]);return e},i.flattenListeners=function(t){var e,r=[];for(e=0;er;r++)e.push(t[r]);else e.push(t);return e}function o(t,e,r){if(!(this instanceof o))return new o(t,e);“string”==typeof t&&(t=document.querySelectorAll(t)),this.elements=s(t),this.options=i({},this.options),“function”==typeof e?r=e:i(this.options,e),r&&this.on(“always”,r),this.getImages(),c&&(this.jqDeferred=new c.Deferred);var n=this;setTimeout(function(){n.check()})}function a(t){this.img=t}function l(t){this.src=t,f[t]=this}var c=t.jQuery,u=t.console,p=“undefined”!=typeof u,h=Object.prototype.toString;o.prototype=new e,o.prototype.options={},o.prototype.getImages=function(){this.images=[];for(var t=0,e=this.elements.length;e>t;t++){var r=this.elements[t];“IMG”===r.nodeName&&this.addImage®;var i=r.nodeType;if(i&&(1===i||9===i||11===i))for(var n=r.querySelectorAll(“img”),s=0,o=n.length;o>s;s++){var a=n[s];this.addImage(a)}}},o.prototype.addImage=function(t){var e=new a(t);this.images.push(e)},o.prototype.check=function(){function t(t,n){return e.options.debug&&p&&u.log(“confirm”,t,n),e.progress(t),r++,r===i&&e.complete(),!0}var e=this,r=0,i=this.images.length;if(this.hasAnyBroken=!1,!i)return void this.complete();for(var n=0;i>n;n++){var s=this.images[n];s.on(“confirm”,t),s.check()}},o.prototype.progress=function(t){this.hasAnyBroken=this.hasAnyBroken||!t.isLoaded;var e=this;setTimeout(function(){e.emit(“progress”,e,t),e.jqDeferred&&e.jqDeferred.notify&&e.jqDeferred.notify(e,t)})},o.prototype.complete=function(){var t=this.hasAnyBroken?“fail”:“done”;this.isComplete=!0;var e=this;setTimeout(function(){if(e.emit(t,e),e.emit(“always”,e),e.jqDeferred){var r=e.hasAnyBroken?“reject”:“resolve”;e.jqDeferred[r](e)}})},c&&(c.fn.imagesLoaded=function(t,e){var r=new o(this,t,e);return r.jqDeferred.promise(c(this))}),a.prototype=new e,a.prototype.check=function(){var t=f[this.img.src]||new l(this.img.src);if(t.isConfirmed)return void this.confirm(t.isLoaded,“cached was confirmed”);if(this.img.complete&&void 0!==this.img.naturalWidth)return void this.confirm(0!==this.img.naturalWidth,“naturalWidth”);var e=this;t.on(“confirm”,function(t,r){return e.confirm(t.isLoaded,r),!0}),t.check()},a.prototype.confirm=function(t,e){this.isLoaded=t,this.emit(“confirm”,this,e)};var f={};return l.prototype=new e,l.prototype.check=function(){if(!this.isChecked){var t=new Image;r.bind(t,“load”,this),r.bind(t,“error”,this),t.src=this.src,this.isChecked=!0}},l.prototype.handleEvent=function(t){var e=“on”+t.type;this[e]&&this[e](t)},l.prototype.onload=function(t){this.confirm(!0,“onload”),this.unbindProxyEvents(t)},l.prototype.onerror=function(t){this.confirm(!1,“onerror”),this.unbindProxyEvents(t)},l.prototype.confirm=function(t,e){this.isConfirmed=!0,this.isLoaded=t,this.emit(“confirm”,this,e)},l.prototype.unbindProxyEvents=function(t){r.unbind(t.target,“load”,this),r.unbind(t.target,“error”,this)},o}),function(t,e){var r=function(t,e,r){var i;return function(){function n(){r||t.apply(s,o),i=null}var s=this,o=arguments;i?clearTimeout(i):r&&t.apply(s,o),i=setTimeout(n,e||150)}};jQuery.fn[e]=function(t){return t?this.bind(“resize”,r(t)):this.trigger(e)}}(jQuery,“smartresize”),function(t){t.Gal=function(e,r){this.element=t®,this._init(e)},t.Gal.settings={selector:“.item”,width:225,gutter:20,animate:!1,columns:3,animationOptions:{speed:200,duration:300,effect:“fadeInOnAppear”,queue:!0,complete:function(){}}},t.Gal.prototype={_init:function(e){var r=this;this.name=this._setName(5),this.gridArr=[],this.gridArrAppend=[],this.gridArrPrepend=[],this.setArr=!1,this.setGrid=!1,this.setOptions,this.cols=0,this.itemCount=0,this.prependCount=0,this.isPrepending=!1,this.appendCount=0,this.resetCount=!0,this.ifCallback=!0,this.box=this.element,this.options=t.extend(!0,{},t.Gal.settings,e),this.gridArr=t.makeArray(this.box.find(this.options.selector)),this.isResizing=!1,this.w=0,this.boxArr=[],this.initialWidth=this.box.width(),this._setCols(),this._renderGrid(“append”),t(this.box).addClass(“gridalicious”),this._addLoadMore(),t(window).smartresize(function(){r.resize()})},_addLoadMore:function(){var e=t(“Load More”).addClass(“j-paginate juicer-button”);this.box.append(e)},_moveLoadMore:function(){var t=this.box.find(“.j-paginate”);t.length>0&&this.box.append(t.detach())},_setName:function(t,e){return e=e?e:“”,t?this._setName(–t,“0123456789ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz”.charAt(Math.floor(60*Math.random()))+e):e},_setCols:function(){this.calculated=Math.floor(this.box.outerWidth()/this.options.width),this.cols=Math.min(this.options.columns,this.calculated),this.cols<1&&(this.cols=1),diff=(this.box.width()-this.cols*this.options.width)/this.cols,w=(this.options.width+diff)/this.box.width()*100,this.w=w,this.spacing=this.options.gutter/this.cols;for(var e=t("

“).addClass(”j-stacker-wrapper“).css({marginLeft:-(this.options.gutter/2),marginRight:-(this.options.gutter/2)}),r=t(”
“).addClass(”j-stacker“),i=0;i”).addClass(“j-stack galcolumn column-”i“-”+this.name).attr(“id”,“j-column-”+i).css({width:w+“%”,paddingLeft:this.options.gutter/2,paddingRight:this.options.gutter/2});r.append(n)}e.append®,this.box.append(e),this.box.find(t(“#clear”+this.name)).remove();var s=t(“
”).css({clear:“both”,height:“0”,width:“0”,display:“block”}).attr(“id”,“clear”+this.name);this.box.append(s)},_renderGrid:function(e,r,i,n){var s=[],o=[],a=0,l=(this.prependCount,this.appendCount),c=this.options.gutter,u=this.cols,p=this.name;t(“.j-stack”).width();r?(o=r,“append”==e&&(l+=i,a=this.appendCount),“prepend”==e&&(this.isPrepending=!0,a=Math.round(i%u),0>=a&&(a=u)),“renderAfterPrepend”==e&&(l+=i,a=i)):(o=this.gridArr,l=t(this.gridArr).length),t.each(o,function(r,i){var n=t(i),o=“100%”;n.hasClass(“not-responsive”)&&(o=“auto”),n.css({marginBottom:c,zoom:“1”}).find(“.j-image img, object, embed, iframe”).css({width:o,height:“auto”,display:“block”,“margin-left”:“auto”,“margin-right”:“auto”}),“prepend”==e?(a–,t(“.column-”a“-”+p).prepend(n),s.push(n),0==a&&(a=u)):(t(“.column-”a“-”+p).append(n),s.push(n),a++,a>=u&&(a=0),l>=u&&(l-=u))}),this.appendCount=l,this.itemCount=a,“append”==e||“prepend”==e?(“prepend”==e&&this._updateAfterPrepend(this.gridArr,o),this._renderItem(s),this.isPrepending=!1):this._renderItem(this.gridArr)},_collectItems:function(){var e=[];return t(this.box).find(this.options.selector).each(function®{e.push(t(this)); }),e},_renderItem:function(e){var r=this.options.animationOptions.speed,i=this.options.animationOptions.effect,n=this.options.animationOptions.duration,s=this.options.animationOptions.queue,o=this.options.animate,a=this.options.animationOptions.complete,l=0,c=0;o!==!0||this.isResizing?(t.each(e,function(e,r){t®.css({opacity:“1”})}),this.ifCallback&&a.call(e)):(s===!0&&“fadeInOnAppear”==i?(this.isPrepending&&e.reverse(),t.each(e,function(i,s){setTimeout(function(){t(s).animate({opacity:“1.0”},n),c++,c==e.length&&a.call(void 0,e)},l*r),l++})):s===!1&&“fadeInOnAppear”==i&&(this.isPrepending&&e.reverse(),t.each(e,function(r,i){t(i).animate({opacity:“1.0”},n),c++,c==e.length&&this.ifCallback&&a.call(void 0,e)})),s!==!0||i||t.each(e,function(r,i){t(i).css({opacity:“1”}),c++,c==e.length&&this.ifCallback&&a.call(void 0,e)}))},_updateAfterPrepend:function(e,r){var i=this.gridArr;t.each(r,function(t,e){i.unshift(e)}),this.gridArr=i},resize:function(){this.box.width()!=this.initialWidth&&(this.initialWidth=this.box.width(),this.box.find(t(“.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(e){var r=this.gridArr,i=this.gridArrPrepend;t.each(e,function(t,e){r.push(e),i.push(e)}),this._renderGrid(“append”,e,t(e).length),this._addLoadMore()},prepend:function(e){this.ifCallback=!1,this._renderGrid(“prepend”,e,t(e).length),this.ifCallback=!0}},t.fn.gridalicious=function(e,r){return“string”==typeof e?this.each(function(){var i=t.data(this,“gridalicious”);i[e].apply(i,[r])}):this.each(function(){t.data(this,“gridalicious”,new t.Gal(e,this))}),this}}(jQuery),function(){function t(t){return(t||“”).split(“ ”)}function e(t,e,r){return s(t,e,r)}function r(t,e,r,i){return“number”!=typeof r&&“string”!=typeof r||null!=i||(i=r,r=void 0),s(t,e,r,{timezone:i})}function i(t,e,r){return s(t,e,r,{utc:!0})}function n(t){return function(r,i,n){return e(r,i,t,n)}}function s(t,e,r,i){i=i||{},e&&!a(e)&&(r=e,e=void 0),e=e||new Date,r=r||f,r.formats=r.formats||{};var n=e.getTime(),h=i.timezone,d=typeof h;if((i.utc||“number”==d||“string”==d)&&(e=o(e)),h){if(“string”==d){var g=“-”==h[0]?-1:1,m=parseInt(h.slice(1,3),10),y=parseInt(h.slice(3,5),10);h=g*(60*m+y)}d&&(e=new Date(e.getTime()+6e4*h))}return t.replace(/%([-_0]?.)/g,function(t,o){var a,f;if(2==o.length){if(a=o[0],“-”==a)f=“”;else if(“_”==a)f=“ ”;else{if(“0”!=a)return t;f=“0”}o=o[1]}switch(o){case“A”:return r.days[e.getDay()];case“a”:return r.shortDays[e.getDay()];case“B”:return r.months[e.getMonth()];case“b”:return r.shortMonths[e.getMonth()];case“C”:return l(Math.floor(e.getFullYear()/100),f);case“D”:return s(r.formats.D||“%m/%d/%y”,e,r);case“d”:return l(e.getDate(),f);case“e”:return l(e.getDate(),null==f?“ ”:f);case“F”:return s(r.formats.F||“%Y-%m-%d”,e,r);case“H”:return l(e.getHours(),f);case“h”:return r.shortMonths[e.getMonth()];case“I”:return l(c(e),f);case“j”:var d=new Date(e.getFullYear(),0,1),g=Math.ceil((e.getTime()-d.getTime())/864e5);return l(g,3);case“k”:return l(e.getHours(),null==f?“ ”:f);case“L”:return l(Math.floor(n%1e3),3);case“l”:return l(c(e),null==f?“ ”:f);case“M”:return l(e.getMinutes(),f);case“m”:return l(e.getMonth()+1,f);case“n”:return“n”;case“o”:return String(e.getDate())+u(e.getDate());case“P”:return e.getHours()<12?r.am:r.pm;case"p":return e.getHours()<12?r.AM:r.PM;case"R":return s(r.formats.R||"%H:%M",e,r);case"r":return s(r.formats.r||"%I:%M:%S %p",e,r);case"S":return l(e.getSeconds(),f);case"s":return Math.floor(n/1e3);case"T":return s(r.formats.T||"%H:%M:%S",e,r);case"t":return" ";case"U":return l(p(e,"sunday"),f);case"u":var g=e.getDay();return 0==g?7:g;case"v":return s(r.formats.v||"%e-%b-%Y",e,r);case"W":return l(p(e,"monday"),f);case"w":return e.getDay();case"Y":return e.getFullYear();case"y":var d=String(e.getFullYear());return d.slice(d.length-2);case"Z":if(i.utc)return"GMT";var m=e.toString().match(/\(([\w\s]+)\)/);return m&&m[1]||"";case"z":if(i.utc)return"+0000";var y="number"==typeof h?h:-e.getTimezoneOffset();return(0>y?“-”:“+”)+l(Math.floor(Math.abs(y)/60))+l(Math.abs(y)%60);default:return o}})}function o(t){var e=6e4*(t.getTimezoneOffset()||0);return new Date(t.getTime()+e)}function a(t){var e=0,r=d.length;for(e=0;r>e;++e)if(“function”!=typeof t[d[e]])return!1;return!0}function l(t,e,r){“number”==typeof e&&(r=e,e=“0”),null==e&&(e=“0”),r=r||2;var i=String(t);if(e)for(;i.length12&&(e-=12),e}function u(t){var e=t%10,r=t%100;if(r>=11&&13>=r||0===e||e>=4)return“th”;switch(e){case 1:return“st”;case 2:return“nd”;case 3:return“rd”}}function p(t,e){e=e||“sunday”;var r=t.getDay();“monday”==e&&(0==r?r=6:r–);var i=new Date(t.getFullYear(),0,1),n=(t-i)/864e5,s=(n+7-r)/7;return Math.floor(s)}var h;h=“undefined”!=typeof module?module.exports=e:function(){return this||(1,eval)(“this”)}();var f={days:t(“Sunday Monday Tuesday Wednesday Thursday Friday Saturday”),shortDays:t(“Sun Mon Tue Wed Thu Fri Sat”),months:t(“January February March April May June July August September October November December”),shortMonths:t(“Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec”),AM:“AM”,PM:“PM”,am:“am”,pm:“pm”};h.strftime=e,h.strftimeTZ=e.strftimeTZ=r,h.strftimeUTC=e.strftimeUTC=i,h.localizedStrftime=e.localizedStrftime=n;var d=[“getTime”,“getTimezoneOffset”,“getDay”,“getDate”,“getMonth”,“getFullYear”,“getYear”,“getHours”,“getMinutes”,“getSeconds”]}(),function(){var t,e=[].slice;t=function(){var t,r,i,n,s,o;return n=1<=arguments.length?e.call(arguments,0):[],s=/(^|[\s\n]|)((?:https?|ftp)://[-A-Z0-9+u0026u2019@#/%?=()~_|!:,.;]*[-A-Z0-9+u0026@#/%=~()_|])/gi,n.length>0?(i=n[0],r=function(){var e;e=[];for(t in i)o=i[t],“callback”!==t&&e.push(“ ”t“=‘”o“’”);return e}().join(“”),this.replace(s,function(t,e,n){var s;return s=(“function”==typeof i.callback?i.callback(n):void 0)||“$2“)},String.prototype.autoLink=t}.call(this),Object.create||(Object.create=function(t,e){function r(){}if(”object“!=typeof t&&”function“!=typeof t)throw new TypeError(”Object prototype may only be an Object: “+t);if(null===t)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 e)throw new Error(”This browser’s implementation of Object.create is a shim and doesn’t support a second argument.“);return r.prototype=t,new r}),function(t,e){”use strict“;t.jQueryBridget=e(t,t.jQuery)}(window,function(t,e){”use strict“;function r(r,s,a){function l(t,e,i){var n,s=”$().“r‘(”’e‘“)’;return t.each(function(t,l){var c=a.data(l,r);if(!c)return void o(r+” not initialized. Cannot call methods, i.e. “+s);var u=c[e];if(!u||”_“==e.charAt(0))return void o(s+” is not a valid method“);var p=u.apply(c,i);n=void 0===n?p:n}),void 0!==n?n:t}function c(t,e){t.each(function(t,i){var n=a.data(i,r);n?(n.option(e),n._init()):(n=new s(i,e),a.data(i,r,n))})}a=a||e||t.jQuery,a&&(s.prototype.option||(s.prototype.option=function(t){a.isPlainObject(t)&&(this.options=a.extend(!0,this.options,t))}),a.fn[r]=function(t){if(”string“==typeof t){var e=n.call(arguments,1);return l(this,t,e)}return c(this,t),this},i(a))}function i(t){!t||t&&t.bridget||(t.bridget=r)}var n=Array.prototype.slice,s=t.console,o=”undefined“==typeof s?function(){}:function(t){s.error(t)};return i(e||t.jQuery),r}),function(t,e){”use strict“;t.getWindowSize=e()}(window,function(){”use strict“;function t(t){var e=parseFloat(t),r=-1==t.indexOf(”%“)&&!isNaN(e);return r&&e}function e(){}function r(){for(var t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},e=0;c>e;e++){var r=l[e];t[r]=0}return t}function i(t){var e=getComputedStyle(t);return e||a(”Style returned “e”. Are you running this code in a hidden iframe on Firefox? See http://bit.ly/getsizebug1“),e}function n(){if(!u){u=!0;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.boxSizing=”border-box“;var r=document.body||document.documentElement;r.appendChild(e);var n=i(e);s.isBoxSizeOuter=o=200==t(n.width),r.removeChild(e)}}function s(e){if(n(),”string“==typeof e&&(e=document.querySelector(e)),e&&”object“==typeof e&&e.nodeType){var s=i(e);if(”none“==s.display)return r();var a={};a.width=e.offsetWidth,a.height=e.offsetHeight;for(var u=a.isBorderBox=”border-box“==s.boxSizing,p=0;c>p;p++){var h=l[p],f=s[h],d=parseFloat(f);a[h]=isNaN(d)?0:d}var g=a.paddingLeft+a.paddingRight,m=a.paddingTop+a.paddingBottom,y=a.marginLeft+a.marginRight,v=a.marginTop+a.marginBottom,w=a.borderLeftWidth+a.borderRightWidth,S=a.borderTopWidth+a.borderBottomWidth,b=u&&o,_=t(s.width);_!==!1&&(a.width=_+(b?0:g+w));var k=t(s.height);return k!==!1&&(a.height=k+(b?0:m+S)),a.innerWidth=a.width-(g+w),a.innerHeight=a.height-(m+S),a.outerWidth=a.width+y,a.outerHeight=a.height+v,a}}var o,a=”undefined“==typeof console?e:function(t){console.error(t)},l=[”paddingLeft“,”paddingRight“,”paddingTop“,”paddingBottom“,”marginLeft“,”marginRight“,”marginTop“,”marginBottom“,”borderLeftWidth“,”borderRightWidth“,”borderTopWidth“,”borderBottomWidth“],c=l.length,u=!1;return s}),function(t,e){t.EvEmitter=e()}(this,function(){function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var r=this._events=this._events||{},i=r[t]=r[t]||[];return-1==i.indexOf(e)&&i.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var r=this._onceEvents=this._onceEvents||{},i=r[t]=r[t]||{};return i[e]=!0,this}},e.off=function(t,e){var r=this._events&&this._events[t];if(r&&r.length){var i=r.indexOf(e);return-1!=i&&r.splice(i,1),this}},e.emitEvent=function(t,e){var r=this._events&&this._events[t];if(r&&r.length){var i=0,n=r[i];e=e||[];for(var s=this._onceEvents&&this._onceEvents[t];n;){var o=s&&s[n];o&&(this.off(t,n),delete s[n]),n.apply(this,e),i+=o?0:1,n=r[i]}return this}},t}),function(t,e){”use strict“;t.matchesSelector=e()}(window,function(){”use strict“;var t=function(){var t=Element.prototype;if(t.matches)return”matches“;if(t.matchesSelector)return”matchesSelector“;for(var e=[”webkit“,”moz“,”ms“,”o“],r=0;ro”]“),l=document.querySelectorAll(”.js-“+s),c=r.makeArray(a).concat(r.makeArray(l)),u=o+”-options“,p=t.jQuery;c.forEach(function(t){var r,s=t.getAttribute(o)||t.getAttribute(u);try{r=s&&JSON.parse(s)}catch(a){return void(i&&i.error(”Error parsing “o” on “t.className”: “+a))}var l=new e(t,r);p&&p.data(t,n,l)})})},r}),function(t,e){t.Outlayer={},t.Outlayer.Item=e(t.EvEmitter,t.getWindowSize)}(window,function(t,e){”use strict“;function r(t){for(var e in t)return!1;return e=null,!0}function i(t,e){t&&(this.element=t,this.layout=e,this.position={x:0,y:0},this._create())}function n(t){return t.replace(/([A-Z])/g,function(t){return”-“+t.toLowerCase()})}var s=document.documentElement.style,o=”string“==typeof s.transition?”transition“:”WebkitTransition“,a=”string“==typeof s.transform?”transform“:”WebkitTransform“,l={WebkitTransition:”webkitTransitionEnd“,transition:”transitionend“}[o],c={transform:a,transition:o,transitionDuration:o+”Duration“,transitionProperty:o+”Property“},u=i.prototype=Object.create(t.prototype);u.constructor=i,u._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:”absolute“})},u.handleEvent=function(t){var e=”on“+t.type;this&&this(t)},u.getWindowSize=function(){this.size=e(this.element)},u.css=function(t){var e=this.element.style;for(var r in t){var i=c||r;e=t}},u.getPosition=function(){var t=getComputedStyle(this.element),e=this.layout._getOption(”originLeft“),r=this.layout._getOption(”originTop“),i=t,n=t,s=this.layout.size,o=-1!=i.indexOf(”%“)?parseFloat(i)/100*s.width:parseInt(i,10),a=-1!=n.indexOf(”%“)?parseFloat(n)/100*s.height:parseInt(n,10);o=isNaN(o)?0:o,a=isNaN(a)?0:a,o-=e?s.paddingLeft:s.paddingRight,a-=r?s.paddingTop:s.paddingBottom,this.position.x=o,this.position.y=a},u.layoutPosition=function(){var t=this.layout.size,e={},r=this.layout._getOption(”originLeft“),i=this.layout._getOption(”originTop“),n=r?”paddingLeft“:”paddingRight“,s=r?”left“:”right“,o=r?”right“:”left“,a=this.position.x+t;e=this.getXValue(a),e=”“;var l=i?”paddingTop“:”paddingBottom“,c=i?”top“:”bottom“,u=i?”bottom“:”top“,p=this.position.y+t;e=this.getYValue(p),e=”“,this.css(e),this.emitEvent(”layout“,)},u.getXValue=function(t){var e=this.layout._getOption(”horizontal“);return this.layout.options.percentPosition&&!e?t/this.layout.size.width*100+”%“:t+”px“},u.getYValue=function(t){var e=this.layout._getOption(”horizontal“);return this.layout.options.percentPosition&&e?t/this.layout.size.height*100+”%“:t+”px“},u._transitionTo=function(t,e){this.getPosition();var r=this.position.x,i=this.position.y,n=parseInt(t,10),s=parseInt(e,10),o=n===this.position.x&&s===this.position.y;if(this.setPosition(t,e),o&&!this.isTransitioning)return void this.layoutPosition();var a=t-r,l=e-i,c={};c.transform=this.getTranslate(a,l),this.transition({to:c,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})},u.getTranslate=function(t,e){var r=this.layout._getOption(”originLeft“),i=this.layout._getOption(”originTop“);return t=r?t:-t,e=i?e:-e,”translate3d(“t”px, “e”px, 0)“},u.goTo=function(t,e){this.setPosition(t,e),this.layoutPosition()},u.moveTo=u._transitionTo,u.setPosition=function(t,e){this.position.x=parseInt(t,10),this.position.y=parseInt(e,10)},u._nonTransition=function(t){this.css(t.to),t.isCleaning&&this._removeStyles(t.to);for(var e in t.onTransitionEnd)t.onTransitionEnd.call(this)},u.transition=function(t){if(!parseFloat(this.layout.options.transitionDuration))return void this._nonTransition(t);var e=this._transn;for(var r in t.onTransitionEnd)e.onEnd=t.onTransitionEnd;for(r in t.to)e.ingProperties=!0,t.isCleaning&&(e.clean=!0);if(t.from){this.css(t.from);var i=this.element.offsetHeight;i=null}this.enableTransition(t.to),this.css(t.to),this.isTransitioning=!0};var p=”opacity,“+n(a);u.enableTransition=function(){this.isTransitioning||(this.css({transitionProperty:p,transitionDuration:this.layout.options.transitionDuration}),this.element.addEventListener(l,this,!1))},u.onwebkitTransitionEnd=function(t){this.ontransitionend(t)},u.onotransitionend=function(t){this.ontransitionend(t)};var h={”-webkit-transform“:”transform“};u.ontransitionend=function(t){if(t.target===this.element){var e=this._transn,i=h||t.propertyName;if(delete e.ingProperties,r(e.ingProperties)&&this.disableTransition(),i in e.clean&&(this.element.style=”“,delete e.clean),i in e.onEnd){var n=e.onEnd;n.call(this),delete e.onEnd}this.emitEvent(”transitionEnd“,)}},u.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(l,this,!1),this.isTransitioning=!1},u._removeStyles=function(t){var e={};for(var r in t)e=”“;this.css(e)};var f={transitionProperty:”“,transitionDuration:”“};return u.removeTransitionStyles=function(){this.css(f)},u.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:”“}),this.emitEvent(”remove“,)},u.remove=function(){return o&&parseFloat(this.layout.options.transitionDuration)?(this.once(”transitionEnd“,function(){this.removeElem()}),void this.hide()):void this.removeElem()},u.reveal=function(){delete this.isHidden,this.css({display:”“});var t=this.layout.options,e={},r=this.getHideRevealTransitionEndProperty(”visibleStyle“);e=this.onRevealTransitionEnd,this.transition({from:t.hiddenStyle,to:t.visibleStyle,isCleaning:!0,onTransitionEnd:e})},u.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent(”reveal“)},u.getHideRevealTransitionEndProperty=function(t){var e=this.layout.options;if(e.opacity)return”opacity“;for(var r in e)return r},u.hide=function(){this.isHidden=!0,this.css({display:”“});var t=this.layout.options,e={},r=this.getHideRevealTransitionEndProperty(”hiddenStyle“);e=this.onHideTransitionEnd,this.transition({from:t.visibleStyle,to:t.hiddenStyle,isCleaning:!0,onTransitionEnd:e})},u.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:”none“}),this.emitEvent(”hide“))},u.destroy=function(){this.css({position:”“,left:”“,right:”“,top:”“,bottom:”“,transition:”“,transform:”“})},i}),function(t,e){”use strict“;t.Outlayer=e(t,t.EvEmitter,t.getWindowSize,t.fizzyUIUtils,t.Outlayer.Item)}(window,function(t,e,r,i,n){”use strict“;function s(t,e){var r=i.getQueryElement(t);if(!r)return void(a&&a.error(”Bad element for “this.constructor.namespace”: “+(r||t)));this.element=r,l&&(this.$element=l(this.element)),this.options=i.extend({},this.constructor.defaults),this.option(e);var n=++u;this.element.outlayerGUID=n,p=this,this._create();var s=this._getOption(”initLayout“);s&&this.layout()}function o(t){function e(){t.apply(this,arguments)}return e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e}var a=t.console,l=t.jQuery,c=function(){},u=0,p={};s.namespace=”outlayer“,s.Item=n,s.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 h=s.prototype;return i.extend(h,e.prototype),h.option=function(t){i.extend(this.options,t)},h._getOption=function(t){var e=this.constructor.compatOptions;return e&&void 0!==this.options?this.options:this.options},s.compatOptions={initLayout:”isInitLayout“,horizontal:”isHorizontal“,layoutInstant:”isLayoutInstant“,originLeft:”isOriginLeft“,originTop:”isOriginTop“,resize:”isResizeBound“,resizeContainer:”isResizingContainer“},h._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),i.extend(this.element.style,this.options.containerStyle);var t=this._getOption(”resize“);t&&this.bindResize()},h.reloadItems=function(){this.items=this._itemize(this.element.children)},h._itemize=function(t){for(var e=this._filterFindItemElements(t),r=this.constructor.Item,i=[],n=0;n<e.length;n++){var s=e,o=new r(s,this);i.push(o)}return i},h._filterFindItemElements=function(t){return i.filterFindElements(t,this.options.itemSelector)},h.getItemElements=function(){return this.items.map(function(t){return t.element})},h.layout=function(){this._resetLayout(),this._manageStamps();var t=this._getOption(”layoutInstant“),e=void 0!==t?t:!this._isLayoutInited;this.layoutItems(this.items,e),this._isLayoutInited=!0},h._init=h.layout,h._resetLayout=function(){this.getWindowSize()},h.getWindowSize=function(){this.size=r(this.element)},h._getMeasurement=function(t,e){var i,n=this.options;n?(”string“==typeof n?i=this.element.querySelector(n):n instanceof HTMLElement&&(i=n),this=i?r(i):n):this=0},h.layoutItems=function(t,e){t=this._getItemsForLayout(t),this._layoutItems(t,e),this._postLayout()},h._getItemsForLayout=function(t){return t.filter(function(t){return!t.isIgnored})},h._layoutItems=function(t,e){if(this._emitCompleteOnItems(”layout“,t),t&&t.length){var r=[];t.forEach(function(t){var i=this._getItemLayoutPosition(t);i.item=t,i.isInstant=e||t.isLayoutInstant,r.push(i)},this),this._processLayoutQueue®}},h._getItemLayoutPosition=function(){return{x:0,y:0}},h._processLayoutQueue=function(t){t.forEach(function(t){this._positionItem(t.item,t.x,t.y,t.isInstant)},this)},h._positionItem=function(t,e,r,i){i?t.goTo(e,r):t.moveTo(e,r)},h._postLayout=function(){this.resizeContainer()},h.resizeContainer=function(){var t=this._getOption(”resizeContainer“);if(t){var e=this._getContainerSize();e&&(this._setContainerMeasure(e.width,!0),this._setContainerMeasure(e.height,!1))}},h._getContainerSize=c,h._setContainerMeasure=function(t,e){if(void 0!==t){var r=this.size;r.isBorderBox&&(t+=e?r.paddingLeft+r.paddingRight+r.borderLeftWidth+r.borderRightWidth:r.paddingBottom+r.paddingTop+r.borderTopWidth+r.borderBottomWidth),t=Math.max(t,0),this.element.style=t+”px“}},h._emitCompleteOnItems=function(t,e){function r(){n.dispatchEvent(t+”Complete“,null,)}function i(){o++,o==s&&r()}var n=this,s=e.length;if(!e||!s)return void r();var o=0;e.forEach(function(e){e.once(t,i)})},h.dispatchEvent=function(t,e,r){var i=e?.concat®:r;if(this.emitEvent(t,i),l)if(this.$element=this.$element||l(this.element),e){var n=l.Event(e);n.type=t,this.$element.trigger(n,r)}else this.$element.trigger(t,r)},h.ignore=function(t){var e=this.getItem(t);e&&(e.isIgnored=!0)},h.unignore=function(t){var e=this.getItem(t);e&&delete e.isIgnored},h.stamp=function(t){t=this._find(t),t&&(this.stamps=this.stamps.concat(t),t.forEach(this.ignore,this))},h.unstamp=function(t){t=this._find(t),t&&t.forEach(function(t){i.removeFrom(this.stamps,t),this.unignore(t)},this)},h._find=function(t){return t?(”string“==typeof t&&(t=this.element.querySelectorAll(t)),t=i.makeArray(t)):void 0},h._manageStamps=function(){this.stamps&&this.stamps.length&&(this._getBoundingRect(),this.stamps.forEach(this._manageStamp,this))},h._getBoundingRect=function(){var t=this.element.getBoundingClientRect(),e=this.size;this._boundingRect={left:t.left+e.paddingLeft+e.borderLeftWidth,top:t.top+e.paddingTop+e.borderTopWidth,right:t.right-(e.paddingRight+e.borderRightWidth),bottom:t.bottom-(e.paddingBottom+e.borderBottomWidth)}},h._manageStamp=c,h._getElementOffset=function(t){var e=t.getBoundingClientRect(),i=this._boundingRect,n=r(t),s={left:e.left-i.left-n.marginLeft,top:e.top-i.top-n.marginTop,right:i.right-e.right-n.marginRight,bottom:i.bottom-e.bottom-n.marginBottom};return s},h.handleEvent=i.handleEvent,h.bindResize=function(){t.addEventListener(”resize“,this),this.isResizeBound=!0},h.unbindResize=function(){t.removeEventListener(”resize“,this),this.isResizeBound=!1},h.onresize=function(){this.resize()},i.debounceMethod(s,”onresize“,100),h.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},h.needsResizeLayout=function(){var t=r(this.element),e=this.size&&t;return e&&t.innerWidth!==this.size.innerWidth},h.addItems=function(t){var e=this._itemize(t);return e.length&&(this.items=this.items.concat(e)),e},h.appended=function(t){var e=this.addItems(t);e.length&&(this.layoutItems(e,!0),this.reveal(e))},h.prepended=function(t){var e=this._itemize(t);if(e.length){var r=this.items.slice(0);this.items=e.concat®,this._resetLayout(),this._manageStamps(),this.layoutItems(e,!0),this.reveal(e),this.layoutItems®}},h.reveal=function(t){this._emitCompleteOnItems(”reveal“,t),t&&t.length&&t.forEach(function(t){t.reveal()})},h.hide=function(t){this._emitCompleteOnItems(”hide“,t),t&&t.length&&t.forEach(function(t){t.hide()})},h.revealItemElements=function(t){var e=this.getItems(t);this.reveal(e)},h.hideItemElements=function(t){var e=this.getItems(t);this.hide(e)},h.getItem=function(t){for(var e=0;e<this.items.length;e++){var r=this.items;if(r.element==t)return r}},h.getItems=function(t){t=i.makeArray(t);var e=[];return t.forEach(function(t){var r=this.getItem(t);r&&e.push®},this),e},h.remove=function(t){var e=this.getItems(t);this._emitCompleteOnItems(”remove“,e),e&&e.length&&e.forEach(function(t){t.remove(),i.removeFrom(this.items,t)},this)},h.destroy=function(){var t=this.element.style;t.height=”“,t.position=”“,t.width=”“,this.items.forEach(function(t){t.destroy()}),this.unbindResize();var e=this.element.outlayerGUID;delete p,delete this.element.outlayerGUID,l&&l.removeData(this.element,this.constructor.namespace)},s.data=function(t){t=i.getQueryElement(t);var e=t&&t.outlayerGUID;return e&&p},s.create=function(t,e){var r=o(s);return r.defaults=i.extend({},s.defaults),i.extend(r.defaults,e),r.compatOptions=i.extend({},s.compatOptions),r.namespace=t,r.data=s.data,r.Item=o(n),i.htmlInit(r,t),l&&l.bridget&&l.bridget(t,r),r},s.Item=n,s}),function(t,e){t.Packery=t.Packery||{},t.Packery.Rect=e()}(window,function(){”use strict“;function t(e){for(var r in t.defaults)this=t.defaults;for(r in e)this=e}t.defaults={x:0,y:0,width:0,height:0};var e=t.prototype;return e.contains=function(t){var e=t.width||0,r=t.height||0;return this.x<=t.x&&this.y<=t.y&&this.x+this.width>=t.x+e&&this.y+this.height>=t.y+r},e.overlaps=function(t){var e=this.x+this.width,r=this.y+this.height,i=t.x+t.width,n=t.y+t.height;return this.x<i&&e>t.x&&this.y<n&&r>t.y},e.getMaximalFreeRects=function(e){if(!this.overlaps(e))return!1;var r,i=[],n=this.x+this.width,s=this.y+this.height,o=e.x+e.width,a=e.y+e.height;return this.y<e.y&&(r=new t({x:this.x,y:this.y,width:this.width,height:e.y-this.y}),i.push®),n>o&&(r=new t({x:o,y:this.y,width:n-o,height:this.height}),i.push®),s>a&&(r=new t({x:this.x,y:a,width:this.width,height:s-a}),i.push®),this.x<e.x&&(r=new t({x:this.x,y:this.y,width:e.x-this.x,height:this.height}),i.push®),i},e.canFit=function(t){return this.width>=t.width&&this.height>=t.height},t}),function(t,e){var r=t.Packery=t.Packery||{};r.Packer=e(r.Rect)}(window,function(t){”use strict“;function e(t,e,r){this.width=t||0,this.height=e||0,this.sortDirection=r||”downwardLeftToRight“,this.reset()}var r=e.prototype;r.reset=function(){this.spaces=[];var e=new t({x:0,y:0,width:this.width,height:this.height});this.spaces.push(e),this.sorter=i||i.downwardLeftToRight},r.pack=function(t){for(var e=0;e<this.spaces.length;e++){var r=this.spaces;if(r.canFit(t)){this.placeInSpace(t,r);break}}},r.columnPack=function(t){for(var e=0;e<this.spaces.length;e++){var r=this.spaces,i=r.x<=t.x&&r.x+r.width>=t.x+t.width&&r.height>=t.height-.01;if(i){t.y=r.y,this.placed(t);break}}},r.rowPack=function(t){for(var e=0;e<this.spaces.length;e++){var r=this.spaces,i=r.y<=t.y&&r.y+r.height>=t.y+t.height&&r.width>=t.width-.01;if(i){t.x=r.x,this.placed(t);break}}},r.placeInSpace=function(t,e){t.x=e.x,t.y=e.y,this.placed(t)},r.placed=function(t){for(var e=[],r=0;r<this.spaces.length;r++){var i=this.spaces,n=i.getMaximalFreeRects(t);n?e.push.apply(e,n):e.push(i)}this.spaces=e,this.mergeSortSpaces()},r.mergeSortSpaces=function(){e.mergeRects(this.spaces),this.spaces.sort(this.sorter)},r.addSpace=function(t){this.spaces.push(t),this.mergeSortSpaces()},e.mergeRects=function(t){var e=0,r=t;t:for(;r;){for(var i=0,n=t;n;){if(n==r)i++;else{if(n.contains®){t.splice(e,1),r=t;continue t}r.contains(n)?t.splice(e+i,1):i++}n=t}e++,r=t}return t};var i={downwardLeftToRight:function(t,e){return t.y-e.y||t.x-e.x},rightwardTopToBottom:function(t,e){return t.x-e.x||t.y-e.y}};return e}),function(t,e){t.Packery.Item=e(t.Outlayer,t.Packery.Rect)}(window,function(t,e){”use strict“;var r=document.documentElement.style,i=”string“==typeof r.transform?”transform“:”WebkitTransform“,n=function(){t.Item.apply(this,arguments)},s=n.prototype=Object.create(t.Item.prototype),o=s._create;s._create=function(){o.call(this),this.rect=new e};var a=s.moveTo;return s.moveTo=function(t,e){var r=Math.abs(this.position.x-t),i=Math.abs(this.position.y-e),n=this.layout.dragItemCount&&!this.isPlacing&&!this.isTransitioning&&1>r&&1>i;return n?void this.goTo(t,e):void a.apply(this,arguments)},s.enablePlacing=function(){this.removeTransitionStyles(),this.isTransitioning&&i&&(this.element.style=”none“),this.isTransitioning=!1,this.getWindowSize(),this.layout._setRectSize(this.element,this.rect),this.isPlacing=!0},s.disablePlacing=function(){this.isPlacing=!1},s.removeElem=function(){this.element.parentNode.removeChild(this.element),this.layout.packer.addSpace(this.rect),this.emitEvent(”remove“,)},s.showDropPlaceholder=function(){var t=this.dropPlaceholder;t||(t=this.dropPlaceholder=document.createElement(”div“),t.className=”packery-drop-placeholder“,t.style.position=”absolute“),t.style.width=this.size.width+”px“,t.style.height=this.size.height+”px“,this.positionDropPlaceholder(),this.layout.element.appendChild(t)},s.positionDropPlaceholder=function(){this.dropPlaceholder.style=”translate(“this.rect.x”px, “this.rect.y”px)“},s.hideDropPlaceholder=function(){this.layout.element.removeChild(this.dropPlaceholder)},n}),function(t,e){t.Packery=e(t.getWindowSize,t.Outlayer,t.Packery.Rect,t.Packery.Packer,t.Packery.Item)}(window,function(t,e,r,i,n){”use strict“;function s(t,e){return t.position.y-e.position.y||t.position.x-e.position.x}function o(t,e){return t.position.x-e.position.x||t.position.y-e.position.y}function a(t,e){var r=e.x-t.x,i=e.y-t.y;return Math.sqrt(r*r+i*i)}r.prototype.canFit=function(t){return this.width>=t.width-1&&this.height>=t.height-1};var l=e.create(”packery“);l.Item=n;var c=l.prototype;c._create=function(){e.prototype._create.call(this),this.packer=new i,this.shiftPacker=new i,this.isEnabled=!0,this.dragItemCount=0;var t=this;this.handleDraggabilly={dragStart:function(){t.itemDragStart(this.element)},dragMove:function(){t.itemDragMove(this.element,this.position.x,this.position.y)},dragEnd:function(){t.itemDragEnd(this.element)}},this.handleUIDraggable={start:function(e,r){r&&t.itemDragStart(e.currentTarget)},drag:function(e,r){r&&t.itemDragMove(e.currentTarget,r.position.left,r.position.top)},stop:function(e,r){r&&t.itemDragEnd(e.currentTarget)}}},c._resetLayout=function(){this.getWindowSize(),this._getMeasurements();var t,e,r;this._getOption(”horizontal“)?(t=1/0,e=this.size.innerHeight+this.gutter,r=”rightwardTopToBottom“):(t=this.size.innerWidth+this.gutter,e=1/0,r=”downwardLeftToRight“),this.packer.width=this.shiftPacker.width=t,this.packer.height=this.shiftPacker.height=e,this.packer.sortDirection=this.shiftPacker.sortDirection=r,this.packer.reset(),this.maxY=0,this.maxX=0},c._getMeasurements=function(){this._getMeasurement(”columnWidth“,”width“),this._getMeasurement(”rowHeight“,”height“),this._getMeasurement(”gutter“,”width“)},c._getItemLayoutPosition=function(t){if(this._setRectSize(t.element,t.rect),this.isShifting||this.dragItemCount>0){var e=this._getPackMethod();this.packer(t.rect)}else this.packer.pack(t.rect);return this._setMaxXY(t.rect),t.rect},c.shiftLayout=function(){this.isShifting=!0,this.layout(),delete this.isShifting},c._getPackMethod=function(){return this._getOption(”horizontal“)?”rowPack“:”columnPack“},c._setMaxXY=function(t){this.maxX=Math.max(t.x+t.width,this.maxX),this.maxY=Math.max(t.y+t.height,this.maxY)},c._setRectSize=function(e,r){var i=t(e),n=i.outerWidth,s=i.outerHeight;(n||s)&&(n=this._applyGridGutter(n,this.columnWidth),s=this._applyGridGutter(s,this.rowHeight)),r.width=Math.min(n,this.packer.width),r.height=Math.min(s,this.packer.height)},c._applyGridGutter=function(t,e){if(!e)return t+this.gutter;e+=this.gutter;var r=t%e,i=r&&1>r?”round“:”ceil“;return t=Math(t/e)*e},c._getContainerSize=function(){return this._getOption(”horizontal“)?{width:this.maxX-this.gutter}:{height:this.maxY-this.gutter}},c._manageStamp=function(t){var e,i=this.getItem(t);if(i&&i.isPlacing)e=i.rect;else{var n=this._getElementOffset(t);e=new r({x:this._getOption(”originLeft“)?n.left:n.right,y:this._getOption(”originTop“)?n.top:n.bottom})}this._setRectSize(t,e),this.packer.placed(e),this._setMaxXY(e)},c.sortItemsByPosition=function(){var t=this._getOption(”horizontal“)?o:s; this.items.sort(t)},c.fit=function(t,e,r){var i=this.getItem(t);i&&(this.stamp(i.element),i.enablePlacing(),this.updateShiftTargets(i),e=void 0===e?i.rect.x:e,r=void 0===r?i.rect.y:r,this.shift(i,e,r),this._bindFitEvents(i),i.moveTo(i.rect.x,i.rect.y),this.shiftLayout(),this.unstamp(i.element),this.sortItemsByPosition(),i.disablePlacing())},c._bindFitEvents=function(t){function e(){i++,2==i&&r.dispatchEvent(”fitComplete“,null,)}var r=this,i=0;t.once(”layout“,e),this.once(”layoutComplete“,e)},c.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&(this.options.shiftPercentResize?this.resizeShiftPercentLayout():this.layout())},c.needsResizeLayout=function(){var e=t(this.element),r=this._getOption(”horizontal“)?”innerHeight“:”innerWidth“;return e!=this.size},c.resizeShiftPercentLayout=function(){var e=this._getItemsForLayout(this.items),r=this._getOption(”horizontal“),i=r?”y“:”x“,n=r?”height“:”width“,s=r?”rowHeight“:”columnWidth“,o=r?”innerHeight“:”innerWidth“,a=this;if(a=a&&a+this.gutter){this._getMeasurements();var l=this+this.gutter;e.forEach(function(t){var e=Math.round(t.rect/a);t.rect=e*l})}else{var c=t(this.element)+this.gutter,u=this.packer;e.forEach(function(t){t.rect=t.rect/u*c})}this.shiftLayout()},c.itemDragStart=function(t){if(this.isEnabled){this.stamp(t);var e=this.getItem(t);e&&(e.enablePlacing(),e.showDropPlaceholder(),this.dragItemCount++,this.updateShiftTargets(e))}},c.updateShiftTargets=function(t){this.shiftPacker.reset(),this._getBoundingRect();var e=this._getOption(”originLeft“),i=this._getOption(”originTop“);this.stamps.forEach(function(t){var n=this.getItem(t);if(!n||!n.isPlacing){var s=this._getElementOffset(t),o=new r({x:e?s.left:s.right,y:i?s.top:s.bottom});this._setRectSize(t,o),this.shiftPacker.placed(o)}},this);var n=this._getOption(”horizontal“),s=n?”rowHeight“:”columnWidth“,o=n?”height“:”width“;this.shiftTargetKeys=[],this.shiftTargets=;var a,l=this;if(l=l&&l+this.gutter){var c=Math.ceil(t.rect/l),u=Math.floor((this.shiftPacker+this.gutter)/l);a=(u-c)*l;for(var p=0;u>p;p++)this._addShiftTarget(p*l,0,a)}else a=this.shiftPacker+this.gutter-t.rect,this._addShiftTarget(0,0,a);var h=this._getItemsForLayout(this.items),f=this._getPackMethod();h.forEach(function(t){var e=t.rect;this._setRectSize(t.element,e),this.shiftPacker(e),this._addShiftTarget(e.x,e.y,a);var r=n?e.x+e.width:e.x,i=n?e.y:e.y+e.height;if(this._addShiftTarget(r,i,a),l)for(var s=Math.round(e/l),c=1;s>c;c++){var u=n?r:e.x+l*c,p=n?e.y+l*c:i;this._addShiftTarget(u,p,a)}},this)},c._addShiftTarget=function(t,e,r){var i=this._getOption(”horizontal“)?e:t;if(!(0!==i&&i>r)){var n=t+”,“+e,s=-1!=this.shiftTargetKeys.indexOf(n);s||(this.shiftTargetKeys.push(n),this.shiftTargets.push({x:t,y:e}))}},c.shift=function(t,e,r){var i,n=1/0,s={x:e,y:r};this.shiftTargets.forEach(function(t){var e=a(t,s);n>e&&(i=t,n=e)}),t.rect.x=i.x,t.rect.y=i.y};var u=120;c.itemDragMove=function(t,e,r){function i(){s.shift(n,e,r),n.positionDropPlaceholder(),s.layout()}var n=this.isEnabled&&this.getItem(t);if(n){e-=this.size.paddingLeft,r-=this.size.paddingTop;var s=this,o=new Date;this._itemDragTime&&o-this._itemDragTime<u?(clearTimeout(this.dragTimeout),this.dragTimeout=setTimeout(i,u)):(i(),this._itemDragTime=o)}},c.itemDragEnd=function(t){function e(){i++,2==i&&(r.element.classList.remove(”is-positioning-post-drag“),r.hideDropPlaceholder(),n.dispatchEvent(”dragItemPositioned“,null,))}var r=this.isEnabled&&this.getItem(t);if®{clearTimeout(this.dragTimeout),r.element.classList.add(”is-positioning-post-drag“);var i=0,n=this;r.once(”layout“,e),this.once(”layoutComplete“,e),r.moveTo(r.rect.x,r.rect.y),this.layout(),this.dragItemCount=Math.max(0,this.dragItemCount-1),this.sortItemsByPosition(),r.disablePlacing(),this.unstamp(r.element)}},c.bindDraggabillyEvents=function(t){this._bindDraggabillyEvents(t,”on“)},c.unbindDraggabillyEvents=function(t){this._bindDraggabillyEvents(t,”off“)},c._bindDraggabillyEvents=function(t,e){var r=this.handleDraggabilly;t(”dragStart“,r.dragStart),t(”dragMove“,r.dragMove),t(”dragEnd“,r.dragEnd)},c.bindUIDraggableEvents=function(t){this._bindUIDraggableEvents(t,”on“)},c.unbindUIDraggableEvents=function(t){this._bindUIDraggableEvents(t,”off“)},c._bindUIDraggableEvents=function(t,e){var r=this.handleUIDraggable;t(”dragstart“,r.start)(”drag“,r.drag)(”dragstop“,r.stop)};var p=c.destroy;return c.destroy=function(){p.apply(this,arguments),this.isEnabled=!1},l.Rect=r,l.Packer=i,l}),function(t){”use strict“;”function“==typeof define&&define.amd?define(,t):”undefined“!=typeof exports?module.exports=t(require(”jquery“)):t(jQuery)}(function(t){”use strict“;var e=window.Slick||{};e=function(){function e(e,i){var n,s=this;s.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:t(e),appendDots:t(e),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(t,e){return'<button type=”button“ data-role=”none“ role=”button“ aria-required=”false“ tabindex=”0“>'+(e+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},s.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},t.extend(s,s.initials),s.activeBreakpoint=null,s.animType=null,s.animProp=null,s.breakpoints=[],s.breakpointSettings=,s.cssTransitions=!1,s.hidden=”hidden“,s.paused=!1,s.stopped=!1,s.positionProp=null,s.respondTo=null,s.rowCount=1,s.shouldClick=!0,s.$slider=t(e),s.$slidesCache=null,s.transformType=null,s.transitionType=null,s.visibilityChange=”visibilitychange“,s.windowWidth=0,s.windowTimer=null,n=t(e).data(”slick“)||{},s.options=t.extend({},s.defaults,n,i),s.currentSlide=s.options.initialSlide,s.originalSettings=s.options,”undefined“!=typeof document.mozHidden?(s.hidden=”mozHidden“,s.visibilityChange=”mozvisibilitychange“):”undefined“!=typeof document.webkitHidden&&(s.hidden=”webkitHidden“,s.visibilityChange=”webkitvisibilitychange“),s.autoPlay=t.proxy(s.autoPlay,s),s.autoPlayClear=t.proxy(s.autoPlayClear,s),s.changeSlide=t.proxy(s.changeSlide,s),s.clickHandler=t.proxy(s.clickHandler,s),s.selectHandler=t.proxy(s.selectHandler,s),s.setPosition=t.proxy(s.setPosition,s),s.swipeHandler=t.proxy(s.swipeHandler,s),s.dragHandler=t.proxy(s.dragHandler,s),s.keyHandler=t.proxy(s.keyHandler,s),s.autoPlayIterator=t.proxy(s.autoPlayIterator,s),s.instanceUid=r++,s.htmlExpr=/^(?:s*(<+>)[^>]*)$/,s.registerBreakpoints(),s.init(!0),s.checkResponsive(!0)}var r=0;return e}(),e.prototype.addSlide=e.prototype.slickAdd=function(e,r,i){var n=this;if(”boolean“==typeof r)i=r,r=null;else if(0>r||r>=n.slideCount)return!1;n.unload(),”number“==typeof r?0===r&&0===n.$slides.length?t(e).appendTo(n.$slideTrack):i?t(e).insertBefore(n.$slides.eq®):t(e).insertAfter(n.$slides.eq®):i===!0?t(e).prependTo(n.$slideTrack):t(e).appendTo(n.$slideTrack),n.$slides=n.$slideTrack.children(this.options.slide),n.$slideTrack.children(this.options.slide).detach(),n.$slideTrack.append(n.$slides),n.$slides.each(function(e,r){t®.attr(”data-slick-index“,e)}),n.$slidesCache=n.$slides,n.reinit()},e.prototype.animateHeight=function(){var t=this;if(1===t.options.slidesToShow&&t.options.adaptiveHeight===!0&&t.options.vertical===!1){var e=t.$slides.eq(t.currentSlide).outerHeight(!0);t.$list.animate({height:e},t.options.speed)}},e.prototype.animateSlide=function(e,r){var i={},n=this;n.animateHeight(),n.options.rtl===!0&&n.options.vertical===!1&&(e=-e),n.transformsEnabled===!1?n.options.vertical===!1?n.$slideTrack.animate({left:e},n.options.speed,n.options.easing,r):n.$slideTrack.animate({top:e},n.options.speed,n.options.easing,r):n.cssTransitions===!1?(n.options.rtl===!0&&(n.currentLeft=-n.currentLeft),t({animStart:n.currentLeft}).animate({animStart:e},{duration:n.options.speed,easing:n.options.easing,step:function(t){t=Math.ceil(t),n.options.vertical===!1?(i=”translate(“t”px, 0px)“,n.$slideTrack.css(i)):(i=”translate(0px,“t”px)“,n.$slideTrack.css(i))},complete:function(){r&&r.call()}})):(n.applyTransition(),e=Math.ceil(e),n.options.vertical===!1?i=”translate3d(“e”px, 0px, 0px)“:i=”translate3d(0px,“e”px, 0px)“,n.$slideTrack.css(i),r&&setTimeout(function(){n.disableTransition(),r.call()},n.options.speed))},e.prototype.asNavFor=function(e){var r=this,i=r.options.asNavFor;i&&null!==i&&(i=t(i).not(r.$slider)),null!==i&&”object“==typeof i&&i.each(function(){var r=t(this).slick(”getSlick“);r.unslicked||r.slideHandler(e,!0)})},e.prototype.applyTransition=function(t){var e=this,r={};e.options.fade===!1?r=e.transformType+” “e.options.speed”ms “+e.options.cssEase:r=”opacity “e.options.speed”ms “+e.options.cssEase,e.options.fade===!1?e.$slideTrack.css®:e.$slides.eq(t).css®},e.prototype.autoPlay=function(){var t=this;t.autoPlayTimer&&clearInterval(t.autoPlayTimer),t.slideCount>t.options.slidesToShow&&t.paused!==!0&&t.stopped!==!0&&(t.autoPlayTimer=setInterval(t.autoPlayIterator,t.options.autoplaySpeed))},e.prototype.autoPlayClear=function(){var t=this;t.autoPlayTimer&&clearInterval(t.autoPlayTimer)},e.prototype.autoPlayIterator=function(){var t=this;t.options.infinite===!1?1===t.direction?(t.currentSlide+1===t.slideCount-1&&(t.direction=0),t.slideHandler(t.currentSlide+t.options.slidesToScroll)):(t.currentSlide-1===0&&(t.direction=1),t.slideHandler(t.currentSlide-t.options.slidesToScroll)):t.slideHandler(t.currentSlide+t.options.slidesToScroll)},e.prototype.buildArrows=function(){var e=this;e.options.arrows===!0&&(e.$prevArrow=t(e.options.prevArrow).addClass(”slick-arrow“),e.$nextArrow=t(e.options.nextArrow).addClass(”slick-arrow“),e.slideCount>e.options.slidesToShow?(e.$prevArrow.removeClass(”slick-hidden“).removeAttr(”aria-hidden tabindex“),e.$nextArrow.removeClass(”slick-hidden“).removeAttr(”aria-hidden tabindex“),e.htmlExpr.test(e.options.prevArrow)&&e.$prevArrow.prependTo(e.options.appendArrows),e.htmlExpr.test(e.options.nextArrow)&&e.$nextArrow.appendTo(e.options.appendArrows),e.options.infinite!==!0&&e.$prevArrow.addClass(”slick-disabled“).attr(”aria-disabled“,”true“)):e.$prevArrow.add(e.$nextArrow).addClass(”slick-hidden“).attr({”aria-disabled“:”true“,tabindex:”-1“}))},e.prototype.buildDots=function(){var e,r,i=this;if(i.options.dots===!0&&i.slideCount>i.options.slidesToShow){for(r='<ul class=”'i.options.dotsClass'“>',e=0;e<=i.getDotCount();e+=1)r+=”<li>“+i.options.customPaging.call(this,i,e)+”</li>“;r+=”</ul>“,i.$dots=t®.appendTo(i.options.appendDots),i.$dots.find(”li“).first().addClass(”slick-active“).attr(”aria-hidden“,”false“)}},e.prototype.buildOut=function(){var e=this;e.$slides=e.$slider.children(e.options.slide+”:not(.slick-cloned)“).addClass(”slick-slide“),e.slideCount=e.$slides.length,e.$slides.each(function(e,r){t®.attr(”data-slick-index“,e).data(”originalStyling“,t®.attr(”style“)||”“)}),e.$slidesCache=e.$slides,e.$slider.addClass(”slick-slider“),e.$slideTrack=0===e.slideCount?t('<div class=”slick-track“/>').appendTo(e.$slider):e.$slides.wrapAll('<div class=”slick-track“/>').parent(),e.$list=e.$slideTrack.wrap('<div aria-live=”polite“ class=”slick-list“/>‘).parent(),e.$slideTrack.css(”opacity“,0),(e.options.centerMode===!0||e.options.swipeToSlide===!0)&&(e.options.slidesToScroll=1),t(”img“,e.$slider).not(”“).addClass(”slick-loading“),e.setupInfinite(),e.buildArrows(),e.buildDots(),e.updateDots(),e.setSlideClasses(”number“==typeof e.currentSlide?e.currentSlide:0),e.options.draggable===!0&&e.$list.addClass(”draggable“)},e.prototype.buildRows=function(){var t,e,r,i,n,s,o,a=this;if(i=document.createDocumentFragment(),s=a.$slider.children(),a.options.rows>1){for(o=a.options.slidesPerRow*a.options.rows,n=Math.ceil(s.length/o),t=0;n>t;t++){var l=document.createElement(”div“);for(e=0;e<a.options.rows;e++){var c=document.createElement(”div“);for(r=0;r<a.options.slidesPerRow;r++){var u=t*o+(e*a.options.slidesPerRow+r);s.get(u)&&c.appendChild(s.get(u))}l.appendChild©}i.appendChild(l)}a.$slider.html(i),a.$slider.children().children().children().css({width:100/a.options.slidesPerRow+”%“,display:”inline-block“})}},e.prototype.checkResponsive=function(e,r){var i,n,s,o=this,a=!1,l=o.$slider.width(),c=window.innerWidth||t(window).width();if(”window“===o.respondTo?s=c:”slider“===o.respondTo?s=l:”min“===o.respondTo&&(s=Math.min(c,l)),o.options.responsive&&o.options.responsive.length&&null!==o.options.responsive){n=null;for(i in o.breakpoints)o.breakpoints.hasOwnProperty(i)&&(o.originalSettings.mobileFirst===!1?s&&(n=o.breakpoints):s>o.breakpoints&&(n=o.breakpoints));null!==n?null!==o.activeBreakpoint?(n!==o.activeBreakpoint||r)&&(o.activeBreakpoint=n,”unslick“===o.breakpointSettings?o.unslick(n):(o.options=t.extend({},o.originalSettings,o.breakpointSettings),e===!0&&(o.currentSlide=o.options.initialSlide),o.refresh(e)),a=n):(o.activeBreakpoint=n,”unslick“===o.breakpointSettings?o.unslick(n):(o.options=t.extend({},o.originalSettings,o.breakpointSettings),e===!0&&(o.currentSlide=o.options.initialSlide),o.refresh(e)),a=n):null!==o.activeBreakpoint&&(o.activeBreakpoint=null,o.options=o.originalSettings,e===!0&&(o.currentSlide=o.options.initialSlide),o.refresh(e),a=n),e||a===!1||o.$slider.trigger(”breakpoint“,)}},e.prototype.changeSlide=function(e,r){var i,n,s,o=this,a=t(e.target);switch(a.is(”a“)&&e.preventDefault(),a.is(”li“)||(a=a.closest(”li“)),s=o.slideCount%o.options.slidesToScroll!==0,i=s?0:(o.slideCount-o.currentSlide)%o.options.slidesToScroll,e.data.message){case”previous“:n=0===i?o.options.slidesToScroll:o.options.slidesToShow-i,o.slideCount>o.options.slidesToShow&&o.slideHandler(o.currentSlide-n,!1,r);break;case”next“:n=0===i?o.options.slidesToScroll:i,o.slideCount>o.options.slidesToShow&&o.slideHandler(o.currentSlide+n,!1,r);break;case”index“:var l=0===e.data.index?0:e.data.index||a.index()*o.options.slidesToScroll;o.slideHandler(o.checkNavigable(l),!1,r),a.children().trigger(”focus“);break;default:return}},e.prototype.checkNavigable=function(t){var e,r,i=this;if(e=i.getNavigableIndexes(),r=0,t>e)t=e;else for(var n in e){if(t){t=r;break}r=e}return t},e.prototype.cleanUpEvents=function(){var e=this;e.options.dots&&null!==e.$dots&&(t(”li“,e.$dots).off(”click.slick“,e.changeSlide),e.options.pauseOnDotsHover===!0&&e.options.autoplay===!0&&t(”li“,e.$dots).off(”mouseenter.slick“,t.proxy(e.setPaused,e,!0)).off(”mouseleave.slick“,t.proxy(e.setPaused,e,!1))),e.options.arrows===!0&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow&&e.$prevArrow.off(”click.slick“,e.changeSlide),e.$nextArrow&&e.$nextArrow.off(”click.slick“,e.changeSlide)),e.$list.off(”touchstart.slick mousedown.slick“,e.swipeHandler),e.$list.off(”touchmove.slick mousemove.slick“,e.swipeHandler),e.$list.off(”touchend.slick mouseup.slick“,e.swipeHandler),e.$list.off(”touchcancel.slick mouseleave.slick“,e.swipeHandler),e.$list.off(”click.slick“,e.clickHandler),t(document).off(e.visibilityChange,e.visibility),e.$list.off(”mouseenter.slick“,t.proxy(e.setPaused,e,!0)),e.$list.off(”mouseleave.slick“,t.proxy(e.setPaused,e,!1)),e.options.accessibility===!0&&e.$list.off(”keydown.slick“,e.keyHandler),e.options.focusOnSelect===!0&&t(e.$slideTrack).children().off(”click.slick“,e.selectHandler),t(window).off(”orientationchange.slick.slick-“+e.instanceUid,e.orientationChange),t(window).off(”resize.slick.slick-“+e.instanceUid,e.resize),t(”“,e.$slideTrack).off(”dragstart“,e.preventDefault),t(window).off(”load.slick.slick-“+e.instanceUid,e.setPosition),t(document).off(”ready.slick.slick-“+e.instanceUid,e.setPosition)},e.prototype.cleanUpRows=function(){var t,e=this;e.options.rows>1&&(t=e.$slides.children().children(),t.removeAttr(”style“),e.$slider.html(t))},e.prototype.clickHandler=function(t){var e=this;e.shouldClick===!1&&(t.stopImmediatePropagation(),t.stopPropagation(),t.preventDefault())},e.prototype.destroy=function(e){var r=this;r.autoPlayClear(),r.touchObject={},r.cleanUpEvents(),t(”.slick-cloned“,r.$slider).detach(),r.$dots&&r.$dots.remove(),r.$prevArrow&&r.$prevArrow.length&&(r.$prevArrow.removeClass(”slick-disabled slick-arrow slick-hidden“).removeAttr(”aria-hidden aria-disabled tabindex“).css(”display“,”“),r.htmlExpr.test(r.options.prevArrow)&&r.$prevArrow.remove()),r.$nextArrow&&r.$nextArrow.length&&(r.$nextArrow.removeClass(”slick-disabled slick-arrow slick-hidden“).removeAttr(”aria-hidden aria-disabled tabindex“).css(”display“,”“),r.htmlExpr.test(r.options.nextArrow)&&r.$nextArrow.remove()),r.$slides&&(r.$slides.removeClass(”slick-slide slick-active slick-center slick-visible slick-current“).removeAttr(”aria-hidden“).removeAttr(”data-slick-index“).each(function(){t(this).attr(”style“,t(this).data(”originalStyling“))}),r.$slideTrack.children(this.options.slide).detach(),r.$slideTrack.detach(),r.$list.detach(),r.$slider.append(r.$slides)),r.cleanUpRows(),r.$slider.removeClass(”slick-slider“),r.$slider.removeClass(”slick-initialized“),r.unslicked=!0,e||r.$slider.trigger(”destroy“,)},e.prototype.disableTransition=function(t){var e=this,r={};r=”“,e.options.fade===!1?e.$slideTrack.css®:e.$slides.eq(t).css®},e.prototype.fadeSlide=function(t,e){var r=this;r.cssTransitions===!1?(r.$slides.eq(t).css({zIndex:r.options.zIndex}),r.$slides.eq(t).animate({opacity:1},r.options.speed,r.options.easing,e)):(r.applyTransition(t),r.$slides.eq(t).css({opacity:1,zIndex:r.options.zIndex}),e&&setTimeout(function(){r.disableTransition(t),e.call()},r.options.speed))},e.prototype.fadeSlideOut=function(t){var e=this;e.cssTransitions===!1?e.$slides.eq(t).animate({opacity:0,zIndex:e.options.zIndex-2},e.options.speed,e.options.easing):(e.applyTransition(t),e.$slides.eq(t).css({opacity:0,zIndex:e.options.zIndex-2}))},e.prototype.filterSlides=e.prototype.slickFilter=function(t){var e=this;null!==t&&(e.unload(),e.$slideTrack.children(this.options.slide).detach(),e.$slidesCache.filter(t).appendTo(e.$slideTrack),e.reinit())},e.prototype.getCurrent=e.prototype.slickCurrentSlide=function(){var t=this;return t.currentSlide},e.prototype.getDotCount=function(){var t=this,e=0,r=0,i=0;if(t.options.infinite===!0)for(;e<t.slideCount;)++i,e=r+t.options.slidesToShow,r+=t.options.slidesToScroll<=t.options.slidesToShow?t.options.slidesToScroll:t.options.slidesToShow;else if(t.options.centerMode===!0)i=t.slideCount;else for(;e<t.slideCount;)++i,e=r+t.options.slidesToShow,r+=t.options.slidesToScroll<=t.options.slidesToShow?t.options.slidesToScroll:t.options.slidesToShow;return i-1},e.prototype.getLeft=function(t){var e,r,i,n=this,s=0;return n.slideOffset=0,r=n.$slides.first().outerHeight(!0),n.options.infinite===!0?(n.slideCount>n.options.slidesToShow&&(n.slideOffset=n.slideWidth*n.options.slidesToShow*-1,s=r*n.options.slidesToShow*-1),n.slideCount%n.options.slidesToScroll!==0&&t+n.options.slidesToScroll>n.slideCount&&n.slideCount>n.options.slidesToShow&&(t>n.slideCount?(n.slideOffset=(n.options.slidesToShow-(t-n.slideCount))n.slideWidth-1,s=(n.options.slidesToShow-(t-n.slideCount))r-1):(n.slideOffset=n.slideCount%n.options.slidesToScroll*n.slideWidth*-1,s=n.slideCount%n.options.slidesToScroll*r*-1))):t+n.options.slidesToShow>n.slideCount&&(n.slideOffset=(t+n.options.slidesToShow-n.slideCount)*n.slideWidth,s=(t+n.options.slidesToShow-n.slideCount)*r),n.slideCount<=n.options.slidesToShow&&(n.slideOffset=0,s=0),n.options.centerMode===!0&&n.options.infinite===!0?n.slideOffset+=n.slideWidth*Math.floor(n.options.slidesToShow/2)-n.slideWidth:n.options.centerMode===!0&&(n.slideOffset=0,n.slideOffset+=n.slideWidth*Math.floor(n.options.slidesToShow/2)),e=n.options.vertical===!1?t*n.slideWidth*-1+n.slideOffset:t*r*-1+s,n.options.variableWidth===!0&&(i=n.slideCount<=n.options.slidesToShow||n.options.infinite===!1?n.$slideTrack.children(".slick-slide").eq(t):n.$slideTrack.children(".slick-slide").eq(t+n.options.slidesToShow),e=i?-1*i.offsetLeft:0,n.options.centerMode===!0&&(i=n.slideCount<=n.options.slidesToShow||n.options.infinite===!1?n.$slideTrack.children(".slick-slide").eq(t):n.$slideTrack.children(".slick-slide").eq(t+n.options.slidesToShow+1),e=i?-1*i.offsetLeft:0,e+=(n.$list.width()-i.outerWidth())/2)),e},e.prototype.getOption=e.prototype.slickGetOption=function(t){var e=this;return e.options},e.prototype.getNavigableIndexes=function(){var t,e=this,r=0,i=0,n=[];for(e.options.infinite===!1?t=e.slideCount:(r=-1*e.options.slidesToScroll,i=-1*e.options.slidesToScroll,t=2*e.slideCount);t>r;)n.push®,r=i+e.options.slidesToScroll,i+=e.options.slidesToScroll<=e.options.slidesToShow?e.options.slidesToScroll:e.options.slidesToShow;return n},e.prototype.getSlick=function(){return this},e.prototype.getSlideCount=function(){var e,r,i,n=this;return i=n.options.centerMode===!0?n.slideWidth*Math.floor(n.options.slidesToShow/2):0,n.options.swipeToSlide===!0?(n.$slideTrack.find(”.slick-slide“).each(function(e,s){return s.offsetLeft-i+t(s).outerWidth()/2>-1*n.swipeLeft?(r=s,!1):void 0}),e=Math.abs(t®.attr(”data-slick-index“)-n.currentSlide)||1):n.options.slidesToScroll},e.prototype.goTo=e.prototype.slickGoTo=function(t,e){var r=this;r.changeSlide({data:{message:”index“,index:parseInt(t)}},e)},e.prototype.init=function(e){var r=this;t(r.$slider).hasClass(”slick-initialized“)||(t(r.$slider).addClass(”slick-initialized“),r.buildRows(),r.buildOut(),r.setProps(),r.startLoad(),r.loadSlider(),r.initializeEvents(),r.updateArrows(),r.updateDots()),e&&r.$slider.trigger(”init“,),r.options.accessibility===!0&&r.initADA()},e.prototype.initArrowEvents=function(){var t=this;t.options.arrows===!0&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow.on(”click.slick“,{message:”previous“},t.changeSlide),t.$nextArrow.on(”click.slick“,{message:”next“},t.changeSlide))},e.prototype.initDotEvents=function(){var e=this;e.options.dots===!0&&e.slideCount>e.options.slidesToShow&&t(”li“,e.$dots).on(”click.slick“,{message:”index“},e.changeSlide),e.options.dots===!0&&e.options.pauseOnDotsHover===!0&&e.options.autoplay===!0&&t(”li“,e.$dots).on(”mouseenter.slick“,t.proxy(e.setPaused,e,!0)).on(”mouseleave.slick“,t.proxy(e.setPaused,e,!1))},e.prototype.initializeEvents=function(){var e=this;e.initArrowEvents(),e.initDotEvents(),e.$list.on(”touchstart.slick mousedown.slick“,{action:”start“},e.swipeHandler),e.$list.on(”touchmove.slick mousemove.slick“,{action:”move“},e.swipeHandler),e.$list.on(”touchend.slick mouseup.slick“,{action:”end“},e.swipeHandler),e.$list.on(”touchcancel.slick mouseleave.slick“,{action:”end“},e.swipeHandler),e.$list.on(”click.slick“,e.clickHandler),t(document).on(e.visibilityChange,t.proxy(e.visibility,e)),e.$list.on(”mouseenter.slick“,t.proxy(e.setPaused,e,!0)),e.$list.on(”mouseleave.slick“,t.proxy(e.setPaused,e,!1)),e.options.accessibility===!0&&e.$list.on(”keydown.slick“,e.keyHandler),e.options.focusOnSelect===!0&&t(e.$slideTrack).children().on(”click.slick“,e.selectHandler),t(window).on(”orientationchange.slick.slick-“+e.instanceUid,t.proxy(e.orientationChange,e)),t(window).on(”resize.slick.slick-“+e.instanceUid,t.proxy(e.resize,e)),t(”“,e.$slideTrack).on(”dragstart“,e.preventDefault),t(window).on(”load.slick.slick-“+e.instanceUid,e.setPosition),t(document).on(”ready.slick.slick-“+e.instanceUid,e.setPosition)},e.prototype.initUI=function(){var t=this;t.options.arrows===!0&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow.show(),t.$nextArrow.show()),t.options.dots===!0&&t.slideCount>t.options.slidesToShow&&t.$dots.show(),t.options.autoplay===!0&&t.autoPlay()},e.prototype.keyHandler=function(t){var e=this;t.target.tagName.match(”TEXTAREA|INPUT|SELECT“)||(37===t.keyCode&&e.options.accessibility===!0?e.changeSlide({data:{message:”previous“}}):39===t.keyCode&&e.options.accessibility===!0&&e.changeSlide({data:{message:”next“}}))},e.prototype.lazyLoad=function(){function e(e){t(”img“,e).each(function(){var e=t(this),r=t(this).attr(”data-lazy“),i=document.createElement(”img“);i.onload=function(){e.animate({opacity:0},100,function(){e.attr(”src“,r).animate({opacity:1},200,function(){e.removeAttr(”data-lazy“).removeClass(”slick-loading“)})})},i.onerror=function(){var t=e.parents(”.feed-item“);console.log(”Juicer: post with id “+t.data(”id“)+” has a broken image. Making into text post.“),t.removeClass(”image-post“).removeClass(”j-video“).addClass(”words“),e.parents(”.j-image“).remove()},i.src=r})}var r,i,n,s,o=this;o.options.centerMode===!0?o.options.infinite===!0?(n=o.currentSlide+(o.options.slidesToShow/2+1),s=n+o.options.slidesToShow+2):(n=Math.max(0,o.currentSlide-(o.options.slidesToShow/2+1)),s=2+(o.options.slidesToShow/2+1)+o.currentSlide):(n=o.options.infinite?o.options.slidesToShow+o.currentSlide:o.currentSlide,n-=o.options.slidesToShow,s=n+2*o.options.slidesToShow,o.options.fade===!0&&(n>0&&n–,s<=o.slideCount&&s++)),r=o.$slider.find(”.slick-slide“).slice(n,s),e®,o.slideCount<=o.options.slidesToShow?(i=o.$slider.find(”.slick-slide“),e(i)):o.currentSlide>=o.slideCount-o.options.slidesToShow?(i=o.$slider.find(”.slick-cloned“).slice(0,o.options.slidesToShow),e(i)):0===o.currentSlide&&(i=o.$slider.find(”.slick-cloned“).slice(-1*o.options.slidesToShow),e(i))},e.prototype.loadSlider=function(){var t=this;t.setPosition(),t.$slideTrack.css({opacity:1}),t.$slider.removeClass(”slick-loading“),t.initUI(),”progressive“===t.options.lazyLoad&&t.progressiveLazyLoad()},e.prototype.next=e.prototype.slickNext=function(){var t=this;t.changeSlide({data:{message:”next“}})},e.prototype.orientationChange=function(){var t=this;t.checkResponsive(),t.setPosition()},e.prototype.pause=e.prototype.slickPause=function(){var t=this;t.autoPlayClear(),t.paused=!0},e.prototype.stop=e.prototype.slickStop=function(){var t=this;t.autoPlayClear(),t.stopped=!0},e.prototype.play=e.prototype.slickPlay=function(){var t=this;t.paused=!1,t.stopped=!1,t.autoPlay()},e.prototype.postSlide=function(t){var e=this;e.$slider.trigger(”afterChange“,),e.animating=!1,e.setPosition(),e.swipeLeft=null,e.options.autoplay===!0&&e.paused===!1&&e.autoPlay(),e.options.accessibility===!0&&e.initADA()},e.prototype.prev=e.prototype.slickPrev=function(){var t=this;t.changeSlide({data:{message:”previous“}})},e.prototype.preventDefault=function(t){t.preventDefault()},e.prototype.progressiveLazyLoad=function(){var e,r,i=this;e=t(”img“,i.$slider).length,e>0&&(r=t(”img“,i.$slider).first(),r.attr(”src“,null),r.attr(”src“,r.attr(”data-lazy“)).removeClass(”slick-loading“).load(function(){r.removeAttr(”data-lazy“),i.progressiveLazyLoad(),i.options.adaptiveHeight===!0&&i.setPosition()}).error(function(){r.removeAttr(”data-lazy“),i.progressiveLazyLoad()}))},e.prototype.refresh=function(e){var r,i,n=this;i=n.slideCount-n.options.slidesToShow,n.options.infinite||(n.slideCount<=n.options.slidesToShow?n.currentSlide=0:n.currentSlide>i&&(n.currentSlide=i)),r=n.currentSlide,n.destroy(!0),t.extend(n,n.initials,{currentSlide:r}),n.init(),e||n.changeSlide({data:{message:”index“,index:r}},!1)},e.prototype.registerBreakpoints=function(){var e,r,i,n=this,s=n.options.responsive||null;if(”array“===t.type(s)&&s.length){n.respondTo=n.options.respondTo||”window“;for(e in s)if(i=n.breakpoints.length-1,r=s.breakpoint,s.hasOwnProperty(e)){for(;i>=0;)n.breakpoints&&n.breakpoints===r&&n.breakpoints.splice(i,1),i–;n.breakpoints.push®,n.breakpointSettings=s.settings}n.breakpoints.sort(function(t,e){return n.options.mobileFirst?t-e:e-t})}},e.prototype.reinit=function(){var e=this;e.$slides=e.$slideTrack.children(e.options.slide).addClass(”slick-slide“),e.slideCount=e.$slides.length,e.currentSlide>=e.slideCount&&0!==e.currentSlide&&(e.currentSlide=e.currentSlide-e.options.slidesToScroll),e.slideCount<=e.options.slidesToShow&&(e.currentSlide=0),e.registerBreakpoints(),e.setProps(),e.setupInfinite(),e.buildArrows(),e.updateArrows(),e.initArrowEvents(),e.buildDots(),e.updateDots(),e.initDotEvents(),e.checkResponsive(!1,!0),e.options.focusOnSelect===!0&&t(e.$slideTrack).children().on("click.slick",e.selectHandler),e.setSlideClasses(0),e.setPosition(),e.$slider.trigger("reInit",),e.options.autoplay===!0&&e.focusHandler()},e.prototype.resize=function(){var e=this;t(window).width()!==e.windowWidth&&(clearTimeout(e.windowDelay),e.windowDelay=window.setTimeout(function(){e.windowWidth=t(window).width(),e.checkResponsive(),e.unslicked||e.setPosition()},50))},e.prototype.removeSlide=e.prototype.slickRemove=function(t,e,r){var i=this;return”boolean“==typeof t?(e=t,t=e===!0?0:i.slideCount-1):t=e===!0?–t:t,i.slideCount<1||0>t||t>i.slideCount-1?!1:(i.unload(),r===!0?i.$slideTrack.children().remove():i.$slideTrack.children(this.options.slide).eq(t).remove(),i.$slides=i.$slideTrack.children(this.options.slide),i.$slideTrack.children(this.options.slide).detach(),i.$slideTrack.append(i.$slides),i.$slidesCache=i.$slides,void i.reinit())},e.prototype.setCSS=function(t){var e,r,i=this,n={};i.options.rtl===!0&&(t=-t),e=”left“==i.positionProp?Math.ceil(t)+”px“:”0px“,r=”top“==i.positionProp?Math.ceil(t)+”px“:”0px“,n=t,i.transformsEnabled===!1?i.$slideTrack.css(n):(n={},i.cssTransitions===!1?(n=”translate(“e”, “r”)“,i.$slideTrack.css(n)):(n=”translate3d(“e”, “r”, 0px)“,i.$slideTrack.css(n)))},e.prototype.setDimensions=function(){var t=this;t.options.vertical===!1?t.options.centerMode===!0&&t.$list.css({padding:”0px “+t.options.centerPadding}):(t.$list.height(t.$slides.first().outerHeight(!0)*t.options.slidesToShow),t.options.centerMode===!0&&t.$list.css({padding:t.options.centerPadding+” 0px“})),t.listWidth=t.$list.width(),t.listHeight=t.$list.height(),t.options.vertical===!1&&t.options.variableWidth===!1?(t.slideWidth=Math.ceil(t.listWidth/t.options.slidesToShow),t.$slideTrack.width(Math.ceil(t.slideWidth*t.$slideTrack.children(”.slick-slide“).length))):t.options.variableWidth===!0?t.$slideTrack.width(5e3*t.slideCount):(t.slideWidth=Math.ceil(t.listWidth),t.$slideTrack.height(Math.ceil(t.$slides.first().outerHeight(!0)*t.$slideTrack.children(”.slick-slide“).length)));var e=t.$slides.first().outerWidth(!0)-t.$slides.first().width();t.options.variableWidth===!1&&t.$slideTrack.children(”.slick-slide“).width(t.slideWidth-e)},e.prototype.setFade=function(){var e,r=this;r.$slides.each(function(i,n){e=r.slideWidth*i*-1,r.options.rtl===!0?t(n).css({position:”relative“,right:e,top:0,zIndex:r.options.zIndex-2,opacity:0}):t(n).css({position:”relative“,left:e,top:0,zIndex:r.options.zIndex-2,opacity:0})}),r.$slides.eq(r.currentSlide).css({zIndex:r.options.zIndex-1,opacity:1})},e.prototype.setHeight=function(){var t=this;if(1===t.options.slidesToShow&&t.options.adaptiveHeight===!0&&t.options.vertical===!1){var e=t.$slides.eq(t.currentSlide).outerHeight(!0);t.$list.css(”height“,e)}},e.prototype.setOption=e.prototype.slickSetOption=function(e,r,i){var n,s,o=this;if(”responsive“===e&&”array“===t.type®)for(s in r)if(”array“!==t.type(o.options.responsive))o.options.responsive=[r];else{for(n=o.options.responsive.length-1;n>=0;)o.options.responsive.breakpoint===r.breakpoint&&o.options.responsive.splice(n,1),n–;o.options.responsive.push(r)}else o.options=r;i===!0&&(o.unload(),o.reinit())},e.prototype.setPosition=function(){var t=this;t.setDimensions(),t.setHeight(),t.options.fade===!1?t.setCSS(t.getLeft(t.currentSlide)):t.setFade(),t.$slider.trigger(”setPosition“,)},e.prototype.setProps=function(){var t=this,e=document.body.style;t.positionProp=t.options.vertical===!0?”top“:”left“,”top“===t.positionProp?t.$slider.addClass(”slick-vertical“):t.$slider.removeClass(”slick-vertical“),(void 0!==e.WebkitTransition||void 0!==e.MozTransition||void 0!==e.msTransition)&&t.options.useCSS===!0&&(t.cssTransitions=!0),t.options.fade&&(”number“==typeof t.options.zIndex?t.options.zIndex<3&&(t.options.zIndex=3):t.options.zIndex=t.defaults.zIndex), void 0!==e.OTransform&&(t.animType=”OTransform“,t.transformType=”-o-transform“,t.transitionType=”OTransition“,void 0===e.perspectiveProperty&&void 0===e.webkitPerspective&&(t.animType=!1)),void 0!==e.MozTransform&&(t.animType=”MozTransform“,t.transformType=”-moz-transform“,t.transitionType=”MozTransition“,void 0===e.perspectiveProperty&&void 0===e.MozPerspective&&(t.animType=!1)),void 0!==e.webkitTransform&&(t.animType=”webkitTransform“,t.transformType=”-webkit-transform“,t.transitionType=”webkitTransition“,void 0===e.perspectiveProperty&&void 0===e.webkitPerspective&&(t.animType=!1)),void 0!==e.msTransform&&(t.animType=”msTransform“,t.transformType=”-ms-transform“,t.transitionType=”msTransition“,void 0===e.msTransform&&(t.animType=!1)),void 0!==e.transform&&t.animType!==!1&&(t.animType=”transform“,t.transformType=”transform“,t.transitionType=”transition“),t.transformsEnabled=t.options.useTransform&&null!==t.animType&&t.animType!==!1},e.prototype.setSlideClasses=function(t){var e,r,i,n,s=this;r=s.$slider.find(”.slick-slide“).removeClass(”slick-active slick-center slick-current“).attr(”aria-hidden“,”true“),s.$slides.eq(t).addClass(”slick-current“),s.options.centerMode===!0?(e=Math.floor(s.options.slidesToShow/2),s.options.infinite===!0&&(t>=e&&t<=s.slideCount-1-e?s.$slides.slice(t-e,t+e+1).addClass(”slick-active“).attr(”aria-hidden“,”false“):(i=s.options.slidesToShow+t,r.slice(i-e+1,i+e+2).addClass(”slick-active“).attr(”aria-hidden“,”false“)),0===t?r.eq(r.length-1-s.options.slidesToShow).addClass(”slick-center“):t===s.slideCount-1&&r.eq(s.options.slidesToShow).addClass(”slick-center“)),s.$slides.eq(t).addClass(”slick-center“)):t>=0&&t<=s.slideCount-s.options.slidesToShow?s.$slides.slice(t,t+s.options.slidesToShow).addClass(”slick-active“).attr(”aria-hidden“,”false“):r.length<=s.options.slidesToShow?r.addClass(”slick-active“).attr(”aria-hidden“,”false“):(n=s.slideCount%s.options.slidesToShow,i=s.options.infinite===!0?s.options.slidesToShow+t:t,s.options.slidesToShow==s.options.slidesToScroll&&s.slideCount-t<s.options.slidesToShow?r.slice(i-(s.options.slidesToShow-n),i+n).addClass(”slick-active“).attr(”aria-hidden“,”false“):r.slice(i,i+s.options.slidesToShow).addClass(”slick-active“).attr(”aria-hidden“,”false“)),”ondemand“===s.options.lazyLoad&&s.lazyLoad()},e.prototype.setupInfinite=function(){var e,r,i,n=this;if(n.options.fade===!0&&(n.options.centerMode=!1),n.options.infinite===!0&&n.options.fade===!1&&(r=null,n.slideCount>n.options.slidesToShow)){for(i=n.options.centerMode===!0?n.options.slidesToShow+1:n.options.slidesToShow,e=n.slideCount;e>n.slideCount-i;e-=1)r=e-1,t(n.$slides).clone(!0).attr(”id“,”“).attr(”data-slick-index“,r-n.slideCount).prependTo(n.$slideTrack).addClass(”slick-cloned“);for(e=0;i>e;e+=1)r=e,t(n.$slides).clone(!0).attr(”id“,”“).attr(”data-slick-index“,r+n.slideCount).appendTo(n.$slideTrack).addClass(”slick-cloned“);n.$slideTrack.find(”.slick-cloned“).find(”“).each(function(){t(this).attr(”id“,”“)})}},e.prototype.setPaused=function(t){var e=this;e.options.autoplay===!0&&e.options.pauseOnHover===!0&&(e.paused=t,t?e.autoPlayClear():e.autoPlay())},e.prototype.selectHandler=function(e){var r=this,i=t(e.target).is(”.slick-slide“)?t(e.target):t(e.target).parents(”.slick-slide“),n=parseInt(i.attr(”data-slick-index“));return n||(n=0),r.slideCount<=r.options.slidesToShow?(r.setSlideClasses(n),void r.asNavFor(n)):void r.slideHandler(n)},e.prototype.slideHandler=function(t,e,r){var i,n,s,o,a=null,l=this;return e=e||!1,l.animating===!0&&l.options.waitForAnimate===!0||l.options.fade===!0&&l.currentSlide===t||l.slideCount<=l.options.slidesToShow?void 0:(e===!1&&l.asNavFor(t),i=t,a=l.getLeft(i),o=l.getLeft(l.currentSlide),l.currentLeft=null===l.swipeLeft?o:l.swipeLeft,l.options.infinite===!1&&l.options.centerMode===!1&&(0>t||t>l.getDotCount()*l.options.slidesToScroll)?void(l.options.fade===!1&&(i=l.currentSlide,r!==!0?l.animateSlide(o,function(){l.postSlide(i)}):l.postSlide(i))):l.options.infinite===!1&&l.options.centerMode===!0&&(0>t||t>l.slideCount-l.options.slidesToScroll)?void(l.options.fade===!1&&(i=l.currentSlide,r!==!0?l.animateSlide(o,function(){l.postSlide(i)}):l.postSlide(i))):(l.options.autoplay===!0&&clearInterval(l.autoPlayTimer),n=0>i?l.slideCount%l.options.slidesToScroll!==0?l.slideCount-l.slideCount%l.options.slidesToScroll:l.slideCount+i:i>=l.slideCount?l.slideCount%l.options.slidesToScroll!==0?0:i-l.slideCount:i,l.animating=!0,l.$slider.trigger(”beforeChange“,),s=l.currentSlide,l.currentSlide=n,l.setSlideClasses(l.currentSlide),l.updateDots(),l.updateArrows(),l.options.fade===!0?(r!==!0?(l.fadeSlideOut(s),l.fadeSlide(n,function(){l.postSlide(n)})):l.postSlide(n),void l.animateHeight()):void(r!==!0?l.animateSlide(a,function(){l.postSlide(n)}):l.postSlide(n))))},e.prototype.startLoad=function(){var t=this;t.options.arrows===!0&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow.hide(),t.$nextArrow.hide()),t.options.dots===!0&&t.slideCount>t.options.slidesToShow&&t.$dots.hide(),t.$slider.addClass(”slick-loading“)},e.prototype.swipeDirection=function(){var t,e,r,i,n=this;return t=n.touchObject.startX-n.touchObject.curX,e=n.touchObject.startY-n.touchObject.curY,r=Math.atan2(e,t),i=Math.round(180*r/Math.PI),0>i&&(i=360-Math.abs(i)),45>=i&&i>=0?n.options.rtl===!1?”left“:”right“:360>=i&&i>=315?n.options.rtl===!1?”left“:”right“:i>=135&&225>=i?n.options.rtl===!1?”right“:”left“:n.options.verticalSwiping===!0?i>=35&&135>=i?”left“:”right“:”vertical“},e.prototype.swipeEnd=function(t){var e,r=this;if(r.dragging=!1,r.shouldClick=r.touchObject.swipeLength>10?!1:!0,void 0===r.touchObject.curX)return!1;if(r.touchObject.edgeHit===!0&&r.$slider.trigger(”edge“,),r.touchObject.swipeLength>=r.touchObject.minSwipe)switch(r.swipeDirection()){case”left“:e=r.options.swipeToSlide?r.checkNavigable(r.currentSlide+r.getSlideCount()):r.currentSlide+r.getSlideCount(),r.slideHandler(e),r.currentDirection=0,r.touchObject={},r.$slider.trigger(”swipe“,);break;case”right“:e=r.options.swipeToSlide?r.checkNavigable(r.currentSlide-r.getSlideCount()):r.currentSlide-r.getSlideCount(),r.slideHandler(e),r.currentDirection=1,r.touchObject={},r.$slider.trigger(”swipe“,)}else r.touchObject.startX!==r.touchObject.curX&&(r.slideHandler(r.currentSlide),r.touchObject={})},e.prototype.swipeHandler=function(t){var e=this;if(!(e.options.swipe===!1||”ontouchend“in document&&e.options.swipe===!1||e.options.draggable===!1&&-1!==t.type.indexOf(”mouse“)))switch(e.touchObject.fingerCount=t.originalEvent&&void 0!==t.originalEvent.touches?t.originalEvent.touches.length:1,e.touchObject.minSwipe=e.listWidth/e.options.touchThreshold,e.options.verticalSwiping===!0&&(e.touchObject.minSwipe=e.listHeight/e.options.touchThreshold),t.data.action){case”start“:e.swipeStart(t);break;case”move“:e.swipeMove(t);break;case”end“:e.swipeEnd(t)}},e.prototype.swipeMove=function(t){var e,r,i,n,s,o=this;return s=void 0!==t.originalEvent?t.originalEvent.touches:null,!o.dragging||s&&1!==s.length?!1:(e=o.getLeft(o.currentSlide),o.touchObject.curX=void 0!==s?s.pageX:t.clientX,o.touchObject.curY=void 0!==s?s.pageY:t.clientY,o.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(o.touchObject.curX-o.touchObject.startX,2))),o.options.verticalSwiping===!0&&(o.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(o.touchObject.curY-o.touchObject.startY,2)))),r=o.swipeDirection(),”vertical“!==r?(void 0!==t.originalEvent&&o.touchObject.swipeLength>4&&t.preventDefault(),n=(o.options.rtl===!1?1:-1)*(o.touchObject.curX>o.touchObject.startX?1:-1),o.options.verticalSwiping===!0&&(n=o.touchObject.curY>o.touchObject.startY?1:-1),i=o.touchObject.swipeLength,o.touchObject.edgeHit=!1,o.options.infinite===!1&&(0===o.currentSlide&&”right“===r||o.currentSlide>=o.getDotCount()&&”left“===r)&&(i=o.touchObject.swipeLength*o.options.edgeFriction,o.touchObject.edgeHit=!0),o.options.vertical===!1?o.swipeLeft=e+i*n:o.swipeLeft=e+i*(o.$list.height()/o.listWidth)*n,o.options.verticalSwiping===!0&&(o.swipeLeft=e+i*n),o.options.fade===!0||o.options.touchMove===!1?!1:o.animating===!0?(o.swipeLeft=null,!1):void o.setCSS(o.swipeLeft)):void 0)},e.prototype.swipeStart=function(t){var e,r=this;return 1!==r.touchObject.fingerCount||r.slideCount<=r.options.slidesToShow?(r.touchObject={},!1):(void 0!==t.originalEvent&&void 0!==t.originalEvent.touches&&(e=t.originalEvent.touches),r.touchObject.startX=r.touchObject.curX=void 0!==e?e.pageX:t.clientX,r.touchObject.startY=r.touchObject.curY=void 0!==e?e.pageY:t.clientY,void(r.dragging=!0))},e.prototype.unfilterSlides=e.prototype.slickUnfilter=function(){var t=this;null!==t.$slidesCache&&(t.unload(),t.$slideTrack.children(this.options.slide).detach(),t.$slidesCache.appendTo(t.$slideTrack),t.reinit())},e.prototype.unload=function(){var e=this;t(”.slick-cloned“,e.$slider).remove(),e.$dots&&e.$dots.remove(),e.$prevArrow&&e.htmlExpr.test(e.options.prevArrow)&&e.$prevArrow.remove(),e.$nextArrow&&e.htmlExpr.test(e.options.nextArrow)&&e.$nextArrow.remove(),e.$slides.removeClass(”slick-slide slick-active slick-visible slick-current“).attr(”aria-hidden“,”true“).css(”width“,”“)},e.prototype.unslick=function(t){var e=this;e.$slider.trigger(”unslick“,),e.destroy()},e.prototype.updateArrows=function(){var t,e=this;t=Math.floor(e.options.slidesToShow/2),e.options.arrows===!0&&e.slideCount>e.options.slidesToShow&&!e.options.infinite&&(e.$prevArrow.removeClass(”slick-disabled“).attr(”aria-disabled“,”false“),e.$nextArrow.removeClass(”slick-disabled“).attr(”aria-disabled“,”false“),0===e.currentSlide?(e.$prevArrow.addClass(”slick-disabled“).attr(”aria-disabled“,”true“),e.$nextArrow.removeClass(”slick-disabled“).attr(”aria-disabled“,”false“)):e.currentSlide>=e.slideCount-e.options.slidesToShow&&e.options.centerMode===!1?(e.$nextArrow.addClass(”slick-disabled“).attr(”aria-disabled“,”true“),e.$prevArrow.removeClass(”slick-disabled“).attr(”aria-disabled“,”false“)):e.currentSlide>=e.slideCount-1&&e.options.centerMode===!0&&(e.$nextArrow.addClass(”slick-disabled“).attr(”aria-disabled“,”true“),e.$prevArrow.removeClass(”slick-disabled“).attr(”aria-disabled“,”false“)))},e.prototype.updateDots=function(){var t=this;null!==t.$dots&&(t.$dots.find(”li“).removeClass(”slick-active“).attr(”aria-hidden“,”true“),t.$dots.find(”li“).eq(Math.floor(t.currentSlide/t.options.slidesToScroll)).addClass(”slick-active“).attr(”aria-hidden“,”false“))},e.prototype.visibility=function(){var t=this;document?(t.paused=!0,t.autoPlayClear()):t.options.autoplay===!0&&(t.paused=!1,t.autoPlay())},e.prototype.initADA=function(){var e=this;e.$slides.add(e.$slideTrack.find(”.slick-cloned“)).attr({”aria-hidden“:”true“,tabindex:”-1“}).find(”a, input, button, select“).attr({tabindex:”-1“}),e.$slideTrack.attr(”role“,”listbox“),e.$slides.not(e.$slideTrack.find(”.slick-cloned“)).each(function®{var i=”slick-slide“+e.instanceUid+r;t(this).attr({role:”option“,”aria-describedby“:i}),t(this).find(”.j-text“).attr(”id“,i)}),null!==e.$dots&&e.$dots.attr(”role“,”tablist“).find(”li“).each(function®{t(this).attr({role:”presentation“,”aria-selected“:”false“,”aria-controls“:”navigation“+e.instanceUid+r,id:”slick-slide“+e.instanceUid+r})}).first().attr(”aria-selected“,”true“).end().find(”button“).attr(”role“,”button“).end().closest(”div“).attr(”role“,”toolbar“),e.activateADA()},e.prototype.activateADA=function(){var t=this;t.$slideTrack.find(”.slick-active“).attr({”aria-hidden“:”false“}).find(”a, input, button, select“).attr({tabindex:”0“})},e.prototype.focusHandler=function(){var e=this;e.$slider.on(”focus.slick blur.slick“,”*“,function®{r.stopImmediatePropagation();var i=t(this);setTimeout(function(){e.isPlay&&(i.is(”:focus“)?(e.autoPlayClear(),e.paused=!0):(e.paused=!1,e.autoPlay()))},0)})},t.fn.slick=function(){var t,r,i=this,n=arguments,s=Array.prototype.slice.call(arguments,1),o=i.length;for(t=0;o>t;t++)if(”object“==typeof n||”undefined“==typeof n?i.slick=new e(i,n):r=i.slick.apply(i.slick,s),”undefined“!=typeof r)return r;return i}}),window.u=.noConflict(),window.JuicerBackbone=Backbone.noConflict(),function(){window.Juicer={Models:{},Collections:{},Views:{},Active:[],initialize:function(){return _u.each(jQuery(”.juicer-feed“),function(t){return function(t){var e,r;return e=jQuery(t),e.is(”:visible“)&&!e.hasClass(”j-post-overlay“)?e.hasClass(”j-initialized“)?void 0:(r=new Juicer.Views.Feed({el:t}).render(),Juicer.Active.push®,e.addClass(”j-initialized“)):void 0}}(this))},remove:function(){return clearInterval(window.jInterval),_u.each(Juicer.Active,function(t){return function(t){return t.close()}}(this)),window.Juicer.Active=[]}}}.call(this),function(){jQuery(document).ready(function(){var t;return t=jQuery.fn.jquery.split(”.“),jQuery.map(t,function(t){return(”0“+t).slice(-2)}).join(”.“)>=”01.07“?(jQuery(”.juicer-feed“).length>0&&Juicer.initialize(),window.jInterval=setInterval(function(){var t,e;return jQuery(”.juicer-feed“).length>0&&(e=_u.map(jQuery(”.juicer-feed“),function(t){return function(t){return jQuery(t).hasClass(”j-initialized“)}}(this)),t=!_u.contains(e,!1),!t)?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//r)e.call(r,n)&&(t=r);return i.prototype=r.prototype,t.prototype=new i,t.__super__=r.prototype,t},e={}.hasOwnProperty;Juicer.Views.SubView=function(e){function r(){return r.__super__.constructor.apply(this,arguments)}return t(r,e),r.prototype.className=“opened-sidebar-option”,r.prototype.title=“Feed Options”,r.prototype.initialize=function(t){return this.feed=t.feed,this.parent=t.parent,this.target=t.target,this.feedView=t.feedView,this.events=_u.extend({},this.inheretedEvents,this.events),this.delegateEvents()},r.prototype.inheretedEvents={“click .close-subview”:“close”},r.prototype.render=function(){return this.renderTemplate(),this.renderTitle(),$(this.target).after(this.el),setTimeout(function(t){return function(){return t.$el.addClass(“visible”)}}(this),100)},r.prototype.renderTemplate=function(){return this.$el.html(this.template({feed:this.feed}))},r.prototype.renderTitle=function(){return this.$el.prepend(this.titleTemplate())},r.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>”},r.prototype.close=function(){return this.$el.removeClass(“visible”),setTimeout(function(t){return function(){return t.remove()}}(this),500)},r}(JuicerBackbone.View)}.call(this),function(){var t=function(t,r){function i(){this.constructor=t}for(var n in r)e.call(r,n)&&(t=r);return i.prototype=r.prototype,t.prototype=new i,t.__super__=r.prototype,t},e={}.hasOwnProperty;Juicer.Views.SubViewSlide=function(e){function r(){return r.__super__.constructor.apply(this,arguments)}return t(r,e),r.prototype.className=“sliding-sidebar-option”,r.prototype.render=function(){return this.renderTemplate(),this.$el.css({display:“none”}),$(this.target).after(this.el),this.$el.slideDown()},r.prototype.close=function(){return this.$el.slideUp(function(t){return function(){return t.remove()}}(this))},r}(Juicer.Views.SubView)}.call(this),function(){Juicer.Helpers={renderPartial:function(t,e){var r;null==e&&(e={}),t=t.split(“/”),t=“_”+t,t=t.join(“/”);try{return JST(e)}catch(i){return r=i,console.log(“Sorry, something went wrong with the partial: '”t“'”),console.log®,“”}},numberWithCommas:function(t){return t.toString().replace(/B(?=(d{3})+(?!d))/g,“,”)},simpleDate:function(t){return null!=t?(t=new Date(t),strftime(“%-m/%-d/%y”,t)):void 0},fullDate:function(t,e,r){return null==e&&(e=“%-m/%-d/%y at %-l:%M%p”),null==r&&(r=!0),null!=t?(t=new Date(t),r&&(isNaN(Date.parse(t.toLocaleString()))||(t=new Date(t.toLocaleString()))),“undefined”==typeof strftime?t:strftime(e,t)):void 0},prettify:function(t){return t=t.replace(“-”,“ ”),t=t.replace(“_”,“ ”),this.capitalizeEachWord(t)},capitalizeEachWord:function(t){return t.replace(/wS*/g,function(t){return t.charAt(0).toUpperCase()+t.substr(1).toLowerCase()})},timeAgo:function(t){var e,r;return t=new Date(t),r=Math.floor((new Date-t)/1e3),e=Math.floor(r/31536e3),e>1?e+“y”:(e=Math.floor(r/2592e3),e>1?e+“mo”:(e=Math.floor(r/86400),e>1?e+“d”:(e=Math.floor(r/3600),e>1?e+“h”:(e=Math.floor(r/60),e>1?e+“m”:Math.floor®+“s”))))},sample:function(t){return t},confirm:function(t){return null!=window.confirmed?!0:confirm(t)?(window.confirmed=!0,!0):!1},format:function(t){return null==t?null:(t=t.replace(/rn?/,“n”),t=jQuery.trim(t),t.length>0&&(t=t.replace(/nn+/g,“</p><p>”),t=t.replace(/n/g,“<br />”),t=t.replace(this.xss,“”),t=“<p>”t“</p>”,t=t.autoLink()),t)},rgb2hex:function(t){return/^#{6}$/i.test(t)?t:(t=t.match(/^rgb((d+),s*(d+),s*(d+))$/),t?“#”+this.hex(t)+this.hex(t)+this.hex(t):“#”)},hex:function(t){return(“0”+parseInt(t).toString(16)).slice(-2)},xss:/javascript|onerror|alert|iframe|js|script|console|confirm|cookie|java|onmouseover|eval|document|window/gi}}.call(this),function(){var t=function(t,e){return function(){return t.apply(e,arguments)}},e=function(t,e){function i(){this.constructor=t}for(var n in e)r.call(e,n)&&(t=e);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},r={}.hasOwnProperty;Juicer.Views.FormView=function®{function i(){this.invalid=t(this.invalid,this),this.valid=t(this.valid,this),this.prepareModel(),i.__super__.constructor.apply(this,arguments)}return e(i,r),i.prototype.delegateEvents=function(t){return this.events=_u.extend(this._baseEvents(),_u.result(this,“events”)),i.__super__.delegateEvents.call(this,t)},i.prototype._baseEvents=function(){return{“change [data-validation]”:this.validateField,“keyup [data-validation].invalid”:this.validateField,submit:this.processForm,“click input”:this.processForm}},i.prototype.prepareModel=function(){return this.model=this.createModel(),this.setupValidation()},i.prototype.createModel=function(){throw new Error(“implement createModel in your FormView subclass to return a JuicerBackbone model”)},i.prototype.namespace=null,i.prototype.loadingMessage=“Loading…”,i.prototype.setupValidation=function(){return JuicerBackbone.Validation.unbind(this),JuicerBackbone.Validation.bind(this,{model:this.model,valid:this.valid,invalid:this.invalid})},i.prototype.valid=function(t,e,r){return this.removeErrorMessage(e),this.$(“[data-validation=”e“]”).removeClass(“invalid”).addClass(“valid”)},i.prototype.invalid=function(t,e,r,i){return this.removeErrorMessage(e),this.$(“[data-validation=”e“]”).removeClass(“valid”).addClass(“invalid”).parents(“.form-field”).append(“<small class='error ”e“'>”r“</small>”)},i.prototype.showActivityIndicator=function(t){return this.submit=t,this.submit.attr(“disabled”,“disabled”),this.submitMessage=this.submit.val(),this.submit.val(this.loadingMessage)},i.prototype.hideActivityIndicator=function(){return this.submitMessage&&this.submit.val(this.submitMessage),this.submit.removeAttr(“disabled”)},i.prototype.removeErrorMessage=function(t){return this.$(“.error.”+t).remove()},i.prototype.validateField=function(t){var e,r,i;return r=$(t.target).attr(“data-validation”),i=$(t.target).val(),(e=this.model.preValidate(r,i))?this.invalid(this,r,e):this.valid(this,r)},i.prototype.processForm=function(t){return t.preventDefault(),this.showActivityIndicator($(t.target)),this.updateModel(),this.submitForm()},i.prototype.updateModel=function(){var t;return t=JuicerBackbone.Syphon.serialize(this),this.model.set(t)},i.prototype.submitForm=function(){return this.model.validate()?this.hideActivityIndicator():this.$el.submit()},i}(JuicerBackbone.View)}.call(this),function(){this.JST||(this.JST={}),this.JST.admin_downgrade=function(){return this.Skim={access:function(t){var e;return e=this,“function”==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:“[object Array]”!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:“”),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return“[object Array]”==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?”“:t.skimSafe||!//.test(t)?t:this.safe(”“+t).replace(/&/g,”&amp;“).replace(/</g,”&lt;“).replace(/>/g,”&gt;“).replace(/”/g,“&quot;”)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t,e,r;return t=“”,e=this.action.match(“delete”)?“Delete”:“Downgrade”,t+='<div class=“tac p-30”><h3 class=“light fs-2 tc-orange mb-25”>',t+=this.escape(e),t+=' User</h3><form action=“',t+=this.escape(this.action),t+='” method=“post”><input name=“authenticity_token” type=“hidden” value=“',t+=this.escape(this.csrf),t+='” /><input name=“user_id” type=“hidden” value=“',t+=this.escape(this.userId),t+='” /><div class=“select mb-30”><select name=“churn”><option>Why are they ',t+=this.escape(e.slice(0,-1)),t+=“ing their account?</option>”,_u.each(this.reasons,function(e){return function®{return t+='<option value=“',t+=e.escape®,t+='”>',t+=e.escape®,t+=“</option>”}}(this)),t+='</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>',r=this.action.match(“mark”)?“Mark for Downgrade”:e+“ now”,t+='<input class=“j-button” type=“submit” value=“',t+=this.escape®,t+='” /></form></div>'})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST.analytics_date_range=function(){return this.Skim={access:function(t){var e;return e=this,“function”==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:“[object Array]”!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:“”),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return“[object Array]”==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?”“:t.skimSafe||!//.test(t)?t:this.safe(”“+t).replace(/&/g,”&amp;“).replace(/</g,”&lt;“).replace(/>/g,”&gt;“).replace(/”/g,“&quot;”)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t;return t=“”,t+='<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 youu2019d like to view Analytics for:</h3><form action=“',t+=this.escape(window.location.pathname),t+='”><div class=“mb-30”><input class=“date-range-field” name=“start” placeholder=“MM/DD/YYYY” type=“text” value=“',t+=this.escape(this.start),t+='” /><span class=“mh-10”>to</span><input class=“date-range-field” name=“end” placeholder=“MM/DD/YYYY” type=“text” value=“',t+=this.escape(this.end),t+='” /></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(t){var e;return e=this,“function”==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:“[object Array]”!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:“”),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return“[object Array]”==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?”“:t.skimSafe||!//.test(t)?t:this.safe(”“+t).replace(/&/g,”&amp;“).replace(/</g,”&lt;“).replace(/>/g,”&gt;“).replace(/”/g,“&quot;”)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t;return t=“”,t+='<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(t){var e;return e=this,“function”==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:“[object Array]”!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:“”),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return“[object Array]”==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?”“:t.skimSafe||!//.test(t)?t:this.safe(”“+t).replace(/&/g,”&amp;“).replace(/</g,”&lt;“).replace(/>/g,”&gt;“).replace(/”/g,“&quot;”)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t,e,r;return t=“”,t+='<div class=“tac p-50”>',r=this.post.sourceType(),e=r.toLowerCase(),t+='<h2 class=“light fs-2 tc-orange”>First connect your ',t+=this.escape®,t+=' 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-',t+=this.escape(e),t+=” j-social-icon j-“,t+=this.escape(e),t+='-border social-account social-j-button” href=“/auth/',t+=this.escape(e),t+='” style=“color: white;”>Connect your ',t+=this.escape®,t+=“ account</a></div>”})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(t){var e;return e=this,“function”==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:“[object Array]”!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:“”),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return“[object Array]”==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?”“:t.skimSafe||!//.test(t)?t:this.safe(”“+t).replace(/&/g,”&amp;“).replace(/</g,”&lt;“).replace(/>/g,”&gt;“).replace(/”/g,“&quot;”)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t;return t=“”,t+='<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 ',t+=this.escape(this.post.sourceType()),t+=' posts.</h3><div class=“actions” data-id=“',t+=this.escape(this.post.get(”id“)),t+='”><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(t){var e;return e=this,“function”==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:“[object Array]”!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:“”),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return“[object Array]”==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?”“:t.skimSafe||!//.test(t)?t:this.safe(”“+t).replace(/&/g,”&amp;“).replace(/</g,”&lt;“).replace(/>/g,”&gt;“).replace(/”/g,“&quot;”)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t,e;return t=“”,t+='<div class=“tac p-50”><h2 class=“light fs-2 tc-orange”>Request Permission to use Post</h2><form class=“urm-request-form”>',e=“Twitter”===this.post.sourceType()?180:500,t+='<textarea class=“bordered mv-40” maxlength=“',t+=this.escape(e),t+='” name=“css” placeholder=“Enter a message to request permission with…” style=“height: 20vh;”>',t+=this.feed.urmMessage(),t+='</textarea><input name=“post_id” type=“hidden” value=“',t+=this.escape(this.post.get(”id“)),t+='” /><p class=“tc-gray twelve ph-25 mb-25”>This message will be posted using the <strong>@',t+=this.escape(this.socialAccount.get(“name”)),t+=“</strong> account for <strong>”,t+=this.escape(this.post.sourceType()),t+=“</strong>. If you want to use a different account please change your connected ”,t+=this.escape(this.post.sourceType()),t+=' account on your <a class=“bold” href=“/feeds/',t+=this.escape(this.feed.get(”slug“)),t+='/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(t){var e;return e=this,“function”==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:“[object Array]”!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:“”),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return“[object Array]”==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?”“:t.skimSafe||!//.test(t)?t:this.safe(”“+t).replace(/&/g,”&amp;“).replace(/</g,”&lt;“).replace(/>/g,”&gt;“).replace(/”/g,“&quot;”)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t;return t=“”,t+='<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(t){var e;return e=this,“function”==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:“[object Array]”!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){ var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:“”),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return“[object Array]”==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?”“:t.skimSafe||!//.test(t)?t:this.safe(”“+t).replace(/&/g,”&amp;“).replace(/</g,”&lt;“).replace(/>/g,”&gt;“).replace(/”/g,“&quot;”)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t;return t=“”,t+='<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>',t+=this.escape(this.plan),t+=“</strong> account until <strong>”,t+=this.escape(this.downgradeAt),t+='</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(t){var e;return e=this,“function”==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:“[object Array]”!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:“”),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return“[object Array]”==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?”“:t.skimSafe||!//.test(t)?t:this.safe(”“+t).replace(/&/g,”&amp;“).replace(/</g,”&lt;“).replace(/>/g,”&gt;“).replace(/”/g,“&quot;”)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t,e,r;switch(t=“”,t+=“<h3>”,t+=this.escape(this.model.get(“email”)),t+=“</h3>”,r=“Are you sure you want to remove this user from your enterprise account and all associated feeds?”,t+='<a class=“delete-user sprite”',e=r){case!0:t+=' data-confirm=“data-confirm”';break;case!1:case null:break;default:t+=' data-confirm=“',t+=this.escape(e),t+='”'}return t+=' data-method=“post” href=“/enterprise/',t+=this.escape(this.account.get(”slug“)),t+=”/“,t+=this.escape(this.model.get(”id“)),t+='/remove” rel=“nofollow”>Remove</a>'})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(t){var e;return e=this,“function”==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:“[object Array]”!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:“”),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return“[object Array]”==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?”“:t.skimSafe||!//.test(t)?t:this.safe(”“+t).replace(/&/g,”&amp;“).replace(/</g,”&lt;“).replace(/>/g,”&gt;“).replace(/”/g,“&quot;”)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t;return t=“”,t+='<div class=“third ibt tac”><h3 class=“light fs-3 calculator-sources”>',t+=this.escape(this.model.sources()),t+='</h3><h4 class=“mb-25”>Social Media Sources</h4><input data-attribute=“sources” max=“21” min=“1” type=“range” value=“',t+=this.escape(this.model.get(”sources“)),t+='” /></div><div class=“third ibt tac”><h3 class=“light fs-2 calculator-frequency”>',t+=this.escape(this.model.frequencyInWords()),t+='</h3><h4 class=“mb-25”>Update Frequency</h4><input data-attribute=“frequency” max=“7” min=“1” type=“range” value=“',t+=this.escape(this.model.get(”frequency“)),t+='” /></div><div class=“third ibt tac”><h3 class=“fs-3 light calculator-price”>',t+=this.escape(this.model.priceString()),t+='</h3><h4 class=“calculator-price-label”>',t+=this.escape(this.model.priceLabel()),t+=“</h4></div>”})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(t){var e;return e=this,“function”==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:“[object Array]”!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:“”),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return“[object Array]”==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?”“:t.skimSafe||!//.test(t)?t:this.safe(”“+t).replace(/&/g,”&amp;“).replace(/</g,”&lt;“).replace(/>/g,”&gt;“).replace(/”/g,“&quot;”)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t;return t=“”,t+='<div class=“p-50 tac”><h2 class=“light fs-2 tc-orange”>Add User to “',t+=this.escape(this.model.get(”name“)),t+='”</h2><form class=“new-assignment” method=“post”><input name=“enterprise_id” type=“hidden” value=“',t+=this.escape(this.account.get(”slug“)),t+='” /><input name=“feed_id” type=“hidden” value=“',t+=this.escape(this.model.get(”id“)),t+='” /><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 ',t+=this.escape(this.model.get(”name“)),t+='” /></form></div>'})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(t){var e;return e=this,“function”==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:“[object Array]”!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:“”),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return“[object Array]”==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?”“:t.skimSafe||!//.test(t)?t:this.safe(”“+t).replace(/&/g,”&amp;“).replace(/</g,”&lt;“).replace(/>/g,”&gt;“).replace(/”/g,“&quot;”)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t,e,r;return t=“”,e=this.model.get(“slug”),t+='<h3 class=“mb-10”><a class=“fs-1-75 tc-orange light” href=“/feeds/',t+=this.escape(e),t+='”>',t+=this.escape(this.model.get(“name”)),t+='</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/',t+=this.escape(e),t+='”>View</a></li>',this.account.get(“auto_fetch_all”)&&(t+='<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>'),t+='<li class=“ibt ml-10”><a aria-label=“Edit This Feed” class=“sprite enterprise-feed-edit hint–bottom-left” href=“/feeds/',t+=this.escape(e),t+='/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 ',t+=this.escape(e),t+=' feed? This will remove all sources and posts and is non-reversible.” data-method=“delete” href=“/feeds/',t+=this.escape(e),t+='” rel=“nofollow”>Delete</a></li></ul>',r=this.model.get(“sources”).length,t+='<div class=“tc-gray enterprise-feed-pricing”>',t+=this.escape(this.model.get(“update_frequency_in_words”)),t+=“ xd7 ”,t+=this.escape®,t+=“ ”,t+=this.escape(_u(“source”).pluralize®),t+=“ = <strong>$”,t+=this.escape(this.model.get(“cost”)),t+='</strong> per month </div><ul class=“mv-15”>',_u.each(this.sources,function(e){return function®{var i,n,s;switch(s=r.get(“term”),t+=“<li”,i=s){case!0:t+=' alt=“alt”';break;case!1:case null:break;default:t+=' alt=“',t+=e.escape(i),t+='”'}switch(t+=' aria-label=“',t+=e.escape(r.displayName()),t+='” class=“enterprise-feed-source hint–bottom-right”',n=s){case!0:t+=' title=“title”';break;case!1:case null:break;default:t+=' title=“',t+=e.escape(n),t+='”'}return t+='><span class=“j-',t+=e.escape(r.get(”source“).toLowerCase()),t+=' j-social-icon bg-none tc-gray fs-2”></span></li>'}}(this)),t+=“</ul><ul>”,_u.each(this.assignments,function(e){return function®{return t+='<li class=“enterprise-user-assignment ibt”><span class=“enterprise-assignment-email tc-gray”>',t+=e.escape(r.get(“email”)),t+='</span><a class=“delete-assignment sprite” data-id=“',t+=e.escape(r.get(”id“)),t+='”>Delete</a></li>'}}(this)),t+='<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(t){var e;return e=this,“function”==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:“[object Array]”!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:“”),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return“[object Array]”==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?”“:t.skimSafe||!//.test(t)?t:this.safe(”“+t).replace(/&/g,”&amp;“).replace(/</g,”&lt;“).replace(/>/g,”&gt;“).replace(/”/g,“&quot;”)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t;return t=“”,t+='<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/',t+=this.escape(this.model.get(”slug“)),t+='/admin” method=“post”><div style=“display:none”><input name=“utf8” type=“hidden” value=“u2713” /><input name=“authenticity_token” type=“hidden” value=“',t+=this.escape(this.csrf),t+='” /></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(t){var e;return e=this,“function”==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:“[object Array]”!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:“”),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return“[object Array]”==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?”“:t.skimSafe||!//.test(t)?t:this.safe(”“+t).replace(/&/g,”&amp;“).replace(/</g,”&lt;“).replace(/>/g,”&gt;“).replace(/”/g,“&quot;”)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t;return t=“”,t+='<h1 class=“fs-2 tc-orange light mb-25”>Enterprise Account for ',t+=this.escape(this.model.get(“name”)),t+=“</h1>”,t+=Juicer.Helpers.renderPartial(“enterprise_sidebar”,{model:this.model}),t+='<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”>$',t+=this.escape(this.model.get(“cost”)),t+='</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=“',t+=this.escape(this.model.query),t+='” /><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(t){var e;return e=this,“function”==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:“[object Array]”!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:“”),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return“[object Array]”==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?”“:t.skimSafe||!//.test(t)?t:this.safe(”“+t).replace(/&/g,”&amp;“).replace(/</g,”&lt;“).replace(/>/g,”&gt;“).replace(/”/g,“&quot;”)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t,e,r;switch(t=“”,t+='<div class=“enterprise-user tc-gray”><h3>',t+=this.escape(this.model.get(“email”)),t+=“</h3>”,r=“Are you sure you want to remove this user from your enterprise account and all associated feeds?”,t+='<a class=“delete-user sprite”',e=r){case!0:t+=' data-confirm=“data-confirm”';break;case!1:case null:break;default:t+=' data-confirm=“',t+=this.escape(e),t+='”'}return t+=' data-method=“post” href=“/enterprise/',t+=this.escape(this.account.get(”slug“)),t+=”/“,t+=this.escape(this.model.get(”id“)),t+='/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(e){return function®{return t+='<li class=“enterprise-user-assignment ibt”>',t+=e.escape(r.name),t+='<a class=“delete-assignment sprite” data-id=“',t+=e.escape(r.id),t+='”>Delete</a></li>'}}(this)),t+=“</ul>”})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(t){var e;return e=this,“function”==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:“[object Array]”!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:“”),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return“[object Array]”==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?”“:t.skimSafe||!//.test(t)?t:this.safe(”“+t).replace(/&/g,”&amp;“).replace(/</g,”&lt;“).replace(/>/g,”&gt;“).replace(/”/g,“&quot;”)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t;return t=“”,t+='<h1 class=“light fs-2 tc-orange mb-25”>Enterprise Account for ',t+=this.escape(this.model.get(“name”)),t+=“</h1>”,t+=Juicer.Helpers.renderPartial(“enterprise_sidebar”,{model:this.model}),t+='<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(t){var e;return e=this,“function”==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:“[object Array]”!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:“”),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return“[object Array]”==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?”“:t.skimSafe||!//.test(t)?t:this.safe(”“+t).replace(/&/g,”&amp;“).replace(/</g,”&lt;“).replace(/>/g,”&gt;“).replace(/”/g,“&quot;”)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t,e,r;if(t=“”,t+='<h1 class=“fs-2 tc-orange mb-25”>Enterprise Account for ',t+=this.escape(this.model.get(“name”)),t+=“</h1>”,t+=Juicer.Helpers.renderPartial(“enterprise_sidebar”,{model:this.model}),t+='<div class=“enterprise-content”><div class=“bg-white border p-30”>',this.model.get(“white_label”))t+='<h1 class=“white-label-success light tc-grapefruit fs-1-25 mb-25 tac”>Success! ',t+=this.escape(this.model.get(“host”)),t+=' 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(t+='<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”>',r=this.model.get(“url”)?this.model.get(“url”):null,t+='<input class=“mb-10 bordered” name=“url” placeholder=“feeds.yourdomain.com” type=“url”',e=r){case!0:t+=' value=“value”';break;case!1:case null:break;default:t+=' value=“',t+=this.escape(e),t+='”'}t+=' /><input class=“fw j-button” type=“submit” value=“Confirm Domain is set up” /></form>',this.model.get(“error”)&&(t+='<div class=“cname-error mt-40 p-25 tc-gray”><strong>',t+=this.escape(this.model.get(“host”)),t+=“</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 t+=“</div></div>”})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST.errors=function(){return this.Skim={access:function(t){var e;return e=this,“function”==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:“[object Array]”!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:“”),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return“[object Array]”==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?”“:t.skimSafe||!//.test(t)?t:this.safe(”“+t).replace(/&/g,”&amp;“).replace(/</g,”&lt;“).replace(/>/g,”&gt;“).replace(/”/g,“&quot;”)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t;return t=“”,t+='<ul class=“errors source-errors ph-25 mb-15”>',$.each(this.errors,function(e){return function®{return _u.each(e.errors,function(e){return t+='<li class=“tc-grapefruit”>',t+=e,t+=“</li>”})}}(this)),t+=“</ul>”})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST.feed=function(){return this.Skim={access:function(t){var e;return e=this,“function”==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:“[object Array]”!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:“”),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return“[object Array]”==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?”“:t.skimSafe||!//.test(t)?t:this.safe(”“+t).replace(/&/g,”&amp;“).replace(/</g,”&lt;“).replace(/>/g,”&gt;“).replace(/”/g,“&quot;”)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t,e;return t=“”,e=this.feed.get(“posts”).models,t+=Juicer.Helpers.renderPartial(“custom_styles”,{feed:this.feed}),this.feed.displayFilters()&&(t+=Juicer.Helpers.renderPartial(“filters/”+this.feed.filterPartial(),{feed:this.feed,filter:this.filter})),e.length>0?_u.each(e,function(e){return function®{var i;return t+=“<li”,i=“”,i+=e.escape(r.classes()),i.length>0&&(t+=' class=“',t+=i,t+='”'),t+=' data-id=“',t+=e.escape(r.get(”id“)),t+='” data-source=“',t+=e.escape(r.lowerType()),t+='”>',t+=Juicer.Helpers.renderPartial(“actions”,{post:r,admin:e.admin}),t+=Juicer.Helpers.renderPartial(“feeds/”+e.feed.partial(),{post:r,feed:e.feed}),t+=“</li>”}}(this)):t+=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>',t})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(t){var e;return e=this,“function”==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:“[object Array]”!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:“”),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return“[object Array]”==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?”“:t.skimSafe||!//.test(t)?t:this.safe(”“+t).replace(/&/g,”&amp;“).replace(/</g,”&lt;“).replace(/>/g,”&gt;“).replace(/”/g,“&quot;”)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t;return t=“”,t+='<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 ',t+=this.escape(this.feed.get(“name”)),t+=“ Analytics</a>”})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(t){var e;return e=this,“function”==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:“[object Array]”!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:“”),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return“[object Array]”==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?”“:t.skimSafe||!//.test(t)?t:this.safe(”“+t).replace(/&/g,”&amp;“).replace(/</g,”&lt;“).replace(/>/g,”&gt;“).replace(/”/g,“&quot;”)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t;return t=“”,t+='<div class=“p-50 tac”><h2 class=“light tc-orange fs-2”>Analytics for ',t+=this.escape(this.feed.get(“name”)),t+=' Feed</h2><h3 class=“fourteen tc-gray mb-30”>Only large plans can access analytics. Please upgrade your account!</h3>',t+=Juicer.Helpers.renderPartial(“upgrade_plan”,{feed:this.feed}),t+=“</div>”})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(t){var e;return e=this,“function”==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:“[object Array]”!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:“”),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return“[object Array]”==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?”“:t.skimSafe||!//.test(t)?t:this.safe(”“+t).replace(/&/g,”&amp;“).replace(/</g,”&lt;“).replace(/>/g,”&gt;“).replace(/”/g,“&quot;”)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t;return t=“”,t+='<div class=“color-fields p-15” data-color=“',t+=this.escape(this.colorAttr),t+='”><div class=“color-input-container”><div class=“double-border color-example” style=“background-color: ',t+=this.escape(this.color),t+='”></div><div class=“color-example-bg double-border-bg”></div><input class=“color-input” pattern=“',t+=this.escape(this.pattern),t+='” type=“color” value=“',t+=this.escape(this.color),t+='” /></div><input class=“hex-input” pattern=“',t+=this.escape(this.pattern),t+='” type=“text” value=“',t+=this.escape(this.color),t+='” /></div>'})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(t){var e;return e=this,“function”==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:“[object Array]”!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:“”),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return“[object Array]”==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?”“:t.skimSafe||!//.test(t)?t:this.safe(”“+t).replace(/&/g,”&amp;“).replace(/</g,”&lt;“).replace(/>/g,”&gt;“).replace(/”/g,“&quot;”)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t,e;return t=“”,t+='<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”>',e=this.feed.get(“custom_css”)?this.feed.get(“custom_css”):“”,t+='<textarea class=“bordered mv-40” name=“css” placeholder=“Enter Custom CSS to modify the look of your Juicer Feed…” style=“height: 40vh;”>',t+=e,t+='</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(t){var e;return e=this,“function”==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:“[object Array]”!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:“”),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return“[object Array]”==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?”“:t.skimSafe||!//.test(t)?t:this.safe(”“+t).replace(/&/g,”&amp;“).replace(/</g,”&lt;“).replace(/>/g,”&gt;“).replace(/”/g,“&quot;”)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t;return t=“”,this.feed.get(“moderation_allowed?”)||(t+='<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>'),t+='<div class=“p-20 fourteen relative”>',this.feed.get(“moderation_allowed?”)||(t+='<div class=“filter-blocker custom-style-not-allowed”></div>'),t+='<div class=“mb-40”><h3 class=“bold mb-10”>Feed Style</h3><div class=“thirteen”>',t+=this.escape(Juicer.Helpers.prettify(this.feed.get(“css”))),t+=' ( <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(e){return function®{return t+='<li class=“p-15 relative feed-color” data-color=“',t+=e.escape®,t+='”><div class=“bold”>',t+=e.escape(Juicer.Helpers.prettify®),t+='</div> <div class=“color-picker”><div class=“double-border color-picker-circle” style=“background: ',t+=e.escape(e.feed.getColor®),t+='”></div><div class=“double-border-bg color-picker-background-color”></div></div></li>'}}(this)),t+='</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(t){var e;return e=this,“function”==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:“[object Array]”!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:“”),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return“[object Array]”==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){ return null==t?”“:t.skimSafe||!//.test(t)?t:this.safe(”“+t).replace(/&/g,”&amp;“).replace(/</g,”&lt;“).replace(/>/g,”&gt;“).replace(/”/g,“&quot;”)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t;return t=“”,t+='<div class=“p-20 fourteen”><textarea class=“embed embed-textarea mb-15 ten tc-embed p-15”>',t+=this.embed,t+='</textarea><a class=“tc-off-white tdu” href=“',t+=this.escape(Juicer.Constants.HELP_CENTER_URL),t+='/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(t){var e;return e=this,“function”==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:“[object Array]”!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:“”),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return“[object Array]”==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?”“:t.skimSafe||!//.test(t)?t:this.safe(”“+t).replace(/&/g,”&amp;“).replace(/</g,”&lt;“).replace(/>/g,”&gt;“).replace(/”/g,“&quot;”)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t;return t=“”,t+='<script src=“',t+=this.escape(this.javascript),t+='” type=“text/javascript”></script><br /><link href=“',t+=this.escape(this.stylesheet),t+='” media=“all” rel=“stylesheet” type=“text/css” /><br /><ul class=“juicer-feed” data-feed-id=“',t+=this.escape(this.feed.get(”slug“)),t+='”>',this.feed.paid()||(t+=Juicer.Helpers.renderPartial(“referral”)),t+=“</ul>”})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(t){var e;return e=this,“function”==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:“[object Array]”!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:“”),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return“[object Array]”==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?”“:t.skimSafe||!//.test(t)?t:this.safe(”“+t).replace(/&/g,”&amp;“).replace(/</g,”&lt;“).replace(/>/g,”&gt;“).replace(/”/g,“&quot;”)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t;return t=“”,t+='<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(e){return function®{return e.currentlySelected===r.value?(t+='<option selected=“true” value=“',t+=e.escape(r.value),t+='”>',t+=e.escape(r.label),t+=“</option>”):(t+='<option value=“',t+=e.escape(r.value),t+='”>',t+=e.escape(r.label),t+=“</option>”)}}(this)),t+=“</select></div></div>”})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(t){var e;return e=this,“function”==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:“[object Array]”!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:“”),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return“[object Array]”==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?”“:t.skimSafe||!//.test(t)?t:this.safe(”“+t).replace(/&/g,”&amp;“).replace(/</g,”&lt;“).replace(/>/g,”&gt;“).replace(/”/g,“&quot;”)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t;return t=“”,t+='<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(t){var e;return e=this,“function”==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:“[object Array]”!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:“”),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return“[object Array]”==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?”“:t.skimSafe||!//.test(t)?t:this.safe(”“+t).replace(/&/g,”&amp;“).replace(/</g,”&lt;“).replace(/>/g,”&gt;“).replace(/”/g,“&quot;”)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t;return t=“”,t+='<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=“',t+=this.escape(this.feed.get(”name“)),t+='” /><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(t){var e;return e=this,“function”==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:“[object Array]”!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:“”),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return“[object Array]”==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?”“:t.skimSafe||!//.test(t)?t:this.safe(”“+t).replace(/&/g,”&amp;“).replace(/</g,”&lt;“).replace(/>/g,”&gt;“).replace(/”/g,“&quot;”)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t;return t=“”,t+='<div class=“tac”><h3 class=“fourteen mb-20”>Share this class=“small-field hub-input bordered tc-white mb-15” type=“text” value=“',t+=this.escape(window.location.protocol),t+=”//“,t+=this.escape(window.location.host),t+=”/“,t+=this.escape(this.feed.get(”slug“)),t+='” /><a class=“j-button small” href=“/',t+=this.escape(this.feed.get(”slug“)),t+='” 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(t){var e;return e=this,“function”==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:“[object Array]”!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:“”),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return“[object Array]”==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?”“:t.skimSafe||!//.test(t)?t:this.safe(”“+t).replace(/&/g,”&amp;“).replace(/</g,”&lt;“).replace(/>/g,”&gt;“).replace(/”/g,“&quot;”)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t;return t=“”,t+='<div class=“p-20 fourteen”><textarea class=“ten tc-embed p-15 mb-10 iframe-embed”>',t+=this.iframe,t+=“</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(t){var e;return e=this,“function”==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:“[object Array]”!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:“”),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return“[object Array]”==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?”“:t.skimSafe||!//.test(t)?t:this.safe(”“+t).replace(/&/g,”&amp;“).replace(/</g,”&lt;“).replace(/>/g,”&gt;“).replace(/”/g,“&quot;”)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t,e,r,i;return t=“”,t+='<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?”)?(t+='<form class=“filters” method=“post”>',t+=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”}),t+='<div class=“p-20 fourteen relative”><div class=“filter-blocker”></div>',i=“list words, @usernames, or hastags”,r=“Separate filters with a comma. Filters are case-sensitive.”,t+='<h3 class=“settings-label”>Disallow posts with these words:</h3><textarea class=“moderation-filter thirteen mb-10” name=“feed” placeholder=“',t+=this.escape(i),t+=” to block. “,t+=this.escape®,t+='”>',t+=this.feed.disallowed(),t+='</textarea><h3 class=“settings-label”>Only allow posts with these words:</h3><textarea class=“moderation-filter thirteen mb-20” name=“feed” placeholder=“',t+=this.escape(i),t+=” to allow. “,t+=this.escape®,t+='”>',t+=this.feed.allowed(),t+=“</textarea>”,null==this.feed.get(“lat”)&&(e=“hide”),t+='<div class=“',t+=this.escape(e),t+=' 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=“',t+=this.escape(this.feed.get(”distance“)),t+='” />miles of: </h3><input id=“location” name=“feed” placeholder=“Type a Location” type=“text” value=“',t+=this.escape(this.feed.get(”location“)),t+='” /><input id=“lat” name=“feed” type=“hidden” value=“',t+=this.escape(this.feed.get(”lat“)),t+='” /><input id=“lng” name=“feed” type=“hidden” value=“',t+=this.escape(this.feed.get(”lng“)),t+='” /></div>',t+=Juicer.Helpers.renderPartial(“profanity”,{feed:this.feed}),t+=Juicer.Helpers.renderPartial(“prevent_duplicates”,{feed:this.feed}),t+='</div><div class=“tac”><input class=“j-button” type=“submit” value=“Save your Filters” /></div></form>'):(t+='<div class=“p-20 tac”><h3 class=“tc-grapefruit bold fourteen mb-15”>Only medium and large plans can setup filters. Upgrade now!</h3>',t+=Juicer.Helpers.renderPartial(“upgrade_plan”,{feed:this.feed,css:“j-button small”}),t+=“</div>”),t})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(t){var e;return e=this,“function”==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:“[object Array]”!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:“”),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return“[object Array]”==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?”“:t.skimSafe||!//.test(t)?t:this.safe(”“+t).replace(/&/g,”&amp;“).replace(/</g,”&lt;“).replace(/>/g,”&gt;“).replace(/”/g,“&quot;”)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t;return t=“”,t+='<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”>',t+=Juicer.Helpers.renderPartial(“sources”),t+=“</div></div>”})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(t){var e;return e=this,“function”==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:“[object Array]”!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:“”),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return“[object Array]”==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?”“:t.skimSafe||!//.test(t)?t:this.safe(”“+t).replace(/&/g,”&amp;“).replace(/</g,”&lt;“).replace(/>/g,”&gt;“).replace(/”/g,“&quot;”)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t,e,r;return t=“”,t+='<div class=“tac p-30”><h2 class=“light fs-2 tc-orange”>Apply filters to existing posts?</h2>',r=“0”!==this.data.queue,e=r?“mb-15”:“mb-40”,t+='<p class=“fifteen tc-gray ',t+=this.escape(e),t+='”>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>',r&&(t+='<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>'),t+=“<form>”,_u.each(_u.keys(this.data),function(e){return function®{return t+='<input name=“',t+=e.escape®,t+='” type=“hidden” value=“‘,t+=e.escape(e.data),t+='” />'}}(this)),t+='<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(t){var e;return e=this,“function”==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:“[object Array]”!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:“”),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return“[object Array]”==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?”“:t.skimSafe||!//.test(t)?t:this.safe(”“+t).replace(/&/g,”&amp;“).replace(/</g,”&lt;“).replace(/>/g,”&gt;“).replace(/”/g,“&quot;”)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t;return t=“”,t+='<div class=“p-20 fourteen”>',t+=Juicer.Helpers.renderPartial(“css”,{feed:this.feed,label:!0}),t+='<label class=“settings-label”>Feed Display</label><div class=“mb-30”>',t+=Juicer.Helpers.renderPartial(“interval”,{feed:this.feed}),t+=Juicer.Helpers.renderPartial(“columns”,{feed:this.feed}),t+=Juicer.Helpers.renderPartial(“width”,{feed:this.feed}),t+=Juicer.Helpers.renderPartial(“height”,{feed:this.feed}),(null!=this.feed.get(“height”)||null!=this.feed.get(“width”))&&(t+='<label class=“ib mt-10 thirteen”>If you want the feed to fill all available space remove the height and width.</label>'),t+=“</div>”,t+=Juicer.Helpers.renderPartial(“order”,{feed:this.feed}),t+=Juicer.Helpers.renderPartial(“filter_setting”,{feed:this.feed,label:!0}),_u.each(this.checkboxes,function(e){return function®{var i;return i=r.attr,t+='<div class=“checkbox mb-15 thirteen relative”><input name=“feed” type=“hidden” value=“0” />',e.feed.get(i)?(t+='<input checked=“true” data-attribute=“',t+=e.escape(i),t+='” id=“',t+=e.escape(i),t+='” name=“feed” type=“checkbox” />'):(t+='<input data-attribute=“',t+=e.escape(i),t+='” id=“',t+=e.escape(i),t+='” name=“feed” type=“checkbox” />'),t+='<label for=“',t+=e.escape(i),t+='”>',t+=e.escape(r.label),t+=“</label>”,null!=r.tooltip&&(t+='<div aria-label=“',t+=e.escape(r.tooltip),t+='” class=“sidebar-explainer sprite hint–right hint–medium”></div>'),t+=“</div>”}}(this)),t+='<a class=“fourteen tc-off-white tdu” href=“',t+=this.escape(Juicer.Constants.HELP_CENTER_URL),t+='/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(t){var e;return e=this,“function”==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:“[object Array]”!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:“”),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return“[object Array]”==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?”“:t.skimSafe||!//.test(t)?t:this.safe(”“+t).replace(/&/g,”&amp;“).replace(/</g,”&lt;“).replace(/>/g,”&gt;“).replace(/”/g,“&quot;”)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t;return t=“”,t+='<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(t){var e;return e=this,“function”==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:“[object Array]”!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:“”),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return“[object Array]”==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?”“:t.skimSafe||!//.test(t)?t:this.safe(”“+t).replace(/&/g,”&amp;“).replace(/</g,”&lt;“).replace(/>/g,”&gt;“).replace(/”/g,“&quot;”)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t;return t=“”,t+='<ul class=“source-list”>',_u.each(this.feed.get(“sources”).models,function(e){return function®{var i;return i=r.get(“id”),t+='<li class=“j-',t+=e.escape(r.lowerSource()),t+=' j-social-icon bg-none fourteen existing-source” data-id=“',t+=e.escape(i),t+='”><span>',t+=e.escape(r.displayName()),t+='</span></li><ul class=“source-submenu fourteen”>',r.manual()&&(t+='<li class=“add source-submenu-item mb-10” data-id=“',t+=e.escape(i),t+='” data-name=“',t+=e.escape(r.typeSymbol()),t+=e.escape(r.get(”term“)),t+='” data-template=“manual” rel=“nofollow”>Add Post Manually</li>'),e.feed.paid()&&(t+='<li class=“moderate source-submenu-item mb-10” data-id=“',t+=e.escape(i),t+='” data-template=“moderation”>Set Moderation Filters</li>'),t+='<li class=“rename source-submenu-item mb-10” data-id=“',t+=e.escape(i),t+='” data-template=“rename”>Edit Filter Button Name</li><li class=“delete” data-id=“',t+=e.escape(i),t+='”>Delete</li></ul>'}}(this)),t+='</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(t){var e;return e=this,“function”==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:“[object Array]”!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:“”),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return“[object Array]”==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?”“:t.skimSafe||!//.test(t)?t:this.safe(”“+t).replace(/&/g,”&amp;“).replace(/</g,”&lt;“).replace(/>/g,”&gt;“).replace(/”/g,“&quot;”)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t;return t=“”,t+='<h4 class=“thirteen mb-10”>Your feed will sync next at <strong>',t+=this.escape(Juicer.Helpers.fullDate(this.feed.nextSync())),t+='</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”)?(t+='<a class=“j-button small white-label-hide” href=“/feeds/',t+=this.escape(this.feed.get(”slug“)),t+='/edit”>Edit your feed!</a>'):t+='<a class=“j-button small white-label-hide” href=“/plans”>Upgrade your plan!</a>',t})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(t){var e;return e=this,“function”==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:“[object Array]”!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:“”),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return“[object Array]”==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?”“:t.skimSafe||!//.test(t)?t:this.safe(”“+t).replace(/&/g,”&amp;“).replace(/</g,”&lt;“).replace(/>/g,”&gt;“).replace(/”/g,“&quot;”)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t,e,r;return t=“”,t+='<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>',e='[juicer name=“'+this.feed.get(”slug“)+'”]',t+='<textarea class=“ten tc-embed p-15 single-line mb-20”>',t+=e,t+='</textarea><h3 class=“settings-label”>PHP Function</h3>',r='<?php juicer_feed(“name='+this.feed.get(”slug“)+'”); ?>',t+='<textarea class=“ten tc-embed p-15 single-line”>',t+=r,t+=“</textarea></div>”})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST.gdpr_form=function(){return this.Skim={access:function(t){var e;return e=this,“function”==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:“[object Array]”!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:“”),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return“[object Array]”==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?”“:t.skimSafe||!//.test(t)?t:this.safe(”“+t).replace(/&/g,”&amp;“).replace(/</g,”&lt;“).replace(/>/g,”&gt;“).replace(/”/g,“&quot;”)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t;return t=“”,t+='<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(t){var e;return e=this,“function”==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:“[object Array]”!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:“”),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return“[object Array]”==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?”“:t.skimSafe||!//.test(t)?t:this.safe(”“+t).replace(/&/g,”&amp;“).replace(/</g,”&lt;“).replace(/>/g,”&gt;“).replace(/”/g,“&quot;”)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t,e;return t=“”,e=this.feed.get(“posts”).models,e.length>0&&_u.each(e,function(e){return function®{var i;return t+=“<li”,i=“”,i+=e.escape(r.classes()),i.length>0&&(t+=' class=“',t+=i,t+='”'),t+=' data-id=“',t+=e.escape(r.get(”id“)),t+='”>',t+=Juicer.Helpers.renderPartial(“actions”,{post:r,admin:e.admin}),t+=Juicer.Helpers.renderPartial(“feeds/”+e.feed.partial(),{post:r,feed:e.feed}),t+=“</li>”}}(this)),t})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST.location_picker=function(){return this.Skim={access:function(t){var e;return e=this,“function”==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:“[object Array]”!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:“”),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return“[object Array]”==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?”“:t.skimSafe||!//.test(t)?t:this.safe(”“+t).replace(/&/g,”&amp;“).replace(/</g,”&lt;“).replace(/>/g,”&gt;“).replace(/”/g,“&quot;”)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t;return t=“”,t+='<input name=“source” type=“hidden” value=“',t+=this.escape(this.source.source()),t+='” /><input name=“feed_id” type=“hidden” value=“',t+=this.escape(this.feedId),t+='” /><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(e){return function®{return t+='<li class=“location-result pointer” data-id=“',t+=e.escape(r.id),t+='” data-name=“',t+=e.escape(r.name),t+='”>',t+=e.escape(r.name),t+=“</li>”}}(this)),t+=“</ul>”})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST.moderated=function(){return this.Skim={access:function(t){var e;return e=this,“function”==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:“[object Array]”!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:“”),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return“[object Array]”==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?”“:t.skimSafe||!//.test(t)?t:this.safe(”“+t).replace(/&/g,”&amp;“).replace(/</g,”&lt;“).replace(/>/g,”&gt;“).replace(/”/g,“&quot;”)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t;return t=“”,t+='<ul class=“j-display-filters”>',_u.each(this.menuItems,function(e){return function®{return e.feed.filter===r.filter||“All”===r.title&&“”===e.feed.filter?(t+='<li class=“moderate-filter selected” data-filter=“',t+=e.escape(r.filter),t+='”>',t+=e.escape(r.title),t+=“</li>”):(t+='<li class=“moderate-filter” data-filter=“',t+=e.escape(r.filter),t+='”>',t+=e.escape(r.title),t+=“</li>”); }}(this)),t+=“</ul>”,this.feed.get(“posts”).models.length>0&&(t+='<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>'),t+=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(t){var e;return e=this,“function”==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:“[object Array]”!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:“”),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return“[object Array]”==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?”“:t.skimSafe||!//.test(t)?t:this.safe(”“+t).replace(/&/g,”&amp;“).replace(/</g,”&lt;“).replace(/>/g,”&gt;“).replace(/”/g,“&quot;”)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t;return t=“”,t+=Juicer.Helpers.renderPartial(“sources”)})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST.overlay=function(){return this.Skim={access:function(t){var e;return e=this,“function”==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:“[object Array]”!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:“”),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return“[object Array]”==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?”“:t.skimSafe||!//.test(t)?t:this.safe(”“+t).replace(/&/g,”&amp;“).replace(/</g,”&lt;“).replace(/>/g,”&gt;“).replace(/”/g,“&quot;”)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t;return t=“”,t+='<div class=“j-overlay-content” tabindex=“0”>',this.close&&(t+='<a class=“j-close” href=“#”><span>Close</span></a>'),t+=this.content,t+=“</div>”})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(t){var e;return e=this,“function”==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:“[object Array]”!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:“”),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return“[object Array]”==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?”“:t.skimSafe||!//.test(t)?t:this.safe(”“+t).replace(/&/g,”&amp;“).replace(/</g,”&lt;“).replace(/>/g,”&gt;“).replace(/”/g,“&quot;”)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t;return t=“”,this.admin&&!this.post.ad&&(t+='<ul class=“actions” data-id=“',t+=this.escape(this.post.get(”id“)),t+='”>',null!=this.post.get(“deleted_at”)?(t+=“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>',t+='<li aria-label=“Don&#39;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>'):(t+=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()||(t+='<li aria-label=“Add content to this post.” class=“edit hint–bottom-left”>Edit</li>'),t+='<li aria-label=“Move post to moderation queue. Remove from live feed.” class=“delete primary hint–bottom-left”>Delete</li>'),t+=“</ul>”),t})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(t){var e;return e=this,“function”==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:“[object Array]”!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:“”),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return“[object Array]”==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?”“:t.skimSafe||!//.test(t)?t:this.safe(”“+t).replace(/&/g,”&amp;“).replace(/</g,”&lt;“).replace(/>/g,”&gt;“).replace(/”/g,“&quot;”)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t;return t=“”,t+='<div class=“columns white-field bordered hide”><label for=“columns”>Columns</label><input class=“columns” max=“9” min=“1” name=“feed” type=“number” value=“',t+=this.escape(this.feed.get(”columns“)),t+='” /></div>'})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(t){var e;return e=this,“function”==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:“[object Array]”!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:“”),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return“[object Array]”==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?”“:t.skimSafe||!//.test(t)?t:this.safe(”“+t).replace(/&/g,”&amp;“).replace(/</g,”&lt;“).replace(/>/g,”&gt;“).replace(/”/g,“&quot;”)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t;return t=“”,this.lazyLoad=null!=this.feed&&this.feed.get(“lazy_load”)||!1,null!=this.post.get(“image”)&&(t+='<a class=“j-image” data-external-id=“',t+=this.escape(this.post.get(”external_id“)),t+='” data-image=“',t+=this.escape(this.post.get(”image“)),t+='” data-video-url=“',t+=this.escape(this.post.get(”video“)),t+='” href=“',t+=this.escape(this.post.link()),t+='” target=“_blank”>',(this.feed&&this.feed.shouldShowGallery()&&this.post.gallery()||this.post.gallery()&&this.overlay)&&(t+='<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?(t+='<img alt=“',t+=this.escape(this.post.alt()),t+='” class=“j-content-image” data-lazy=“',t+=this.escape(this.post.get(”image“)),t+='” />'):(t+='<img alt=“',t+=this.escape(this.post.alt()),t+='” class=“j-content-image” src=“',t+=this.escape(this.post.get(”image“)),t+='” />'),t+=“</a>”),t})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(t){var e;return e=this,“function”==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:“[object Array]”!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:“”),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return“[object Array]”==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?”“:t.skimSafe||!//.test(t)?t:this.safe(”“+t).replace(/&/g,”&amp;“).replace(/</g,”&lt;“).replace(/>/g,”&gt;“).replace(/”/g,“&quot;”)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t;return t=“”,t+='<div class=“css”>',this.label&&(t+='<label class=“settings-label” for=“css”>Choose a Feed Style</label>'),t+='<div class=“white-select mb-30”><select id=“css” name=“feed”>',_u.each(Juicer.Constants.FEED_CLASSES,function(e){return function®{return e.feed.get(“css”)===r?(t+='<option selected=“true” value=“',t+=e.escape®,t+='”>',t+=e.escape(Juicer.Helpers.prettify®),t+=“</option>”):(t+='<option value=“',t+=e.escape®,t+='”>',t+=e.escape(Juicer.Helpers.prettify®),t+=“</option>”)}}(this)),t+=“</select></div></div>”})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(t){var e;return e=this,“function”==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:“[object Array]”!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:“”),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return“[object Array]”==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?”“:t.skimSafe||!//.test(t)?t:this.safe(”“+t).replace(/&/g,”&amp;“).replace(/</g,”&lt;“).replace(/>/g,”&gt;“).replace(/”/g,“&quot;”)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t;return t=“”,(this.feed.customColors()||this.feed.get(“custom_css”))&&(t+='<div class=“juicer-custom-styles”><style>',t+=this.feed.customStyles(),t+=“</style></div>”),t})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(t){var e;return e=this,“function”==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:“[object Array]”!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:“”),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return“[object Array]”==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?”“:t.skimSafe||!//.test(t)?t:this.safe(”“+t).replace(/&/g,”&amp;“).replace(/</g,”&lt;“).replace(/>/g,”&gt;“).replace(/”/g,“&quot;”)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t;return t=“”,this.post.edited()&&!this.post.twitter()&&(t+='<div class=“j-edit”><span>(edited) </span>',t+=Juicer.Helpers.format(this.post.get(“edit”)),t+=“</div>”),t})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(t){var e;return e=this,“function”==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:“[object Array]”!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:“”),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return“[object Array]”==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?”“:t.skimSafe||!//.test(t)?t:this.safe(”“+t).replace(/&/g,”&amp;“).replace(/</g,”&lt;“).replace(/>/g,”&gt;“).replace(/”/g,“&quot;”)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t,e,r;return t=“”,r=[{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”}],e=“/”+JuicerBackbone.history.getFragment(),t+='<div class=“enterprise-sidebar”><ul class=“tc-slevin bg-white border”>',_u.each(r,function®{return function(i){return i.url===e?(t+='<li class=“enterprise-sidebar-link bold”>',t+=r.escape(i.name),t+=“</li>”):(t+='<li class=“enterprise-sidebar-link”><a class=“tc-slevin” href=“',t+=r.escape(i.url),t+='”>',t+=r.escape(i.name),t+=“</a></li>”)}}(this)),t+=“</ul></div>”})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(t){var e;return e=this,“function”==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:“[object Array]”!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:“”),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return“[object Array]”==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?”“:t.skimSafe||!//.test(t)?t:this.safe(”“+t).replace(/&/g,”&amp;“).replace(/</g,”&lt;“).replace(/>/g,”&gt;“).replace(/”/g,“&quot;”)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t;return t=“”,t+='<div class=“filter_setting”>',this.label&&(t+='<label class=“settings-label” for=“filter”>Display Filters at top of Feed</label>'),t+='<div class=“white-select mb-40”><select id=“filter_setting” name=“feed”>',_u.each([“None”,“Social Type”,“Social Account”,“Grouped Terms”],function(e){return function®{return e.feed.get(“display_filter”)===r?(t+='<option selected=“true” value=“',t+=e.escape®,t+='”>',t+=e.escape®,t+=“</option>”):(t+='<option value=“',t+=e.escape®,t+='”>',t+=e.escape®,t+=“</option>”)}}(this)),t+=“</select></div></div>”})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(t){var e;return e=this,“function”==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:“[object Array]”!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:“”),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return“[object Array]”==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?”“:t.skimSafe||!//.test(t)?t:this.safe(”“+t).replace(/&/g,”&amp;“).replace(/</g,”&lt;“).replace(/>/g,”&gt;“).replace(/”/g,“&quot;”)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t;return t=“”,t+='<div class=“height white-field after-label”><label for=“height”>Height</label><input class=“height” max=“5000” min=“100” name=“feed” type=“number” value=“',t+=this.escape(this.feed.get(”height“)),t+='” /> <label for=“height”>px</label></div>'})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(t){var e;return e=this,“function”==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:“[object Array]”!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:“”),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return“[object Array]”==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?”“:t.skimSafe||!//.test(t)?t:this.safe(”“+t).replace(/&/g,”&amp;“).replace(/</g,”&lt;“).replace(/>/g,”&gt;“).replace(/”/g,“&quot;”)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t;return t=“”,t+='<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=“',t+=this.escape(this.feed.get(”interval“)),t+='” /> <label for=“interval”>ms</label></div>'})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(t){var e;return e=this,“function”==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:“[object Array]”!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:“”),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return“[object Array]”==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?”“:t.skimSafe||!//.test(t)?t:this.safe(”“+t).replace(/&/g,”&amp;“).replace(/</g,”&lt;“).replace(/>/g,”&gt;“).replace(/”/g,“&quot;”)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t,e,r;return t=“”,null!=navigator.userAgent.match(“Edge”)&&null!=this.url.match(“facebook”)?(t+='<a aria-label=“’,t+=this.escape(this.aria),t+=‘”’,e=“”,e+=this.escape(this),e.length>0&&(t+=' class=“',t+=e,t+='”'),t+=' href=“',t+=this.escape(this.url),t+='”>',t+=this.escape(Juicer.Helpers.numberWithCommas(this.label)),t+=“</a>”):(t+='<a aria-label=“‘,t+=this.escape(this.aria),t+=’”‘,r=“”,r+=this.escape(this),r.length>0&&(t+=' class=“',t+=r,t+='”'),t+=' href=“',t+=this.escape(this.url),t+='” target=“_blank”>',t+=this.escape(Juicer.Helpers.numberWithCommas(this.label)),t+=“</a>”),t})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(t){var e;return e=this,“function”==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:“[object Array]”!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:“”),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return“[object Array]”==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?”“:t.skimSafe||!//.test(t)?t:this.safe(”“+t).replace(/&/g,”&amp;“).replace(/</g,”&lt;“).replace(/>/g,”&gt;“).replace(/”/g,“&quot;”)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t;return t=“”,t+=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(t){var e;return e=this,“function”==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:“[object Array]”!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:“”),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return“[object Array]”==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?”“:t.skimSafe||!//.test(t)?t:this.safe(”“+t).replace(/&/g,”&amp;“).replace(/</g,”&lt;“).replace(/>/g,”&gt;“).replace(/”/g,“&quot;”)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t;return t=“”,(null!=this.post.get(“unformatted_message”)||this.post.tumblrTitle())&&(t+='<div class=“j-message”>',t+=this.post.message(),t+=“</div>”),t+=Juicer.Helpers.renderPartial(“edit”,{post:this.post})})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(t){var e;return e=this,“function”==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:“[object Array]”!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:“”),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return“[object Array]”==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?”“:t.skimSafe||!//.test(t)?t:this.safe(”“+t).replace(/&/g,”&amp;“).replace(/</g,”&lt;“).replace(/>/g,”&gt;“).replace(/”/g,“&quot;”)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t,e;return t=“”,this.post.twitter()?(t+='<div class=“j-meta”><ul class=“j-twitter-intents”><li><a class=“j-twitter-reply” href=“',t+=this.escape(this.post.replyIntent()),t+='”>Reply</a></li><li><a class=“j-twitter-retweet” href=“',t+=this.escape(this.post.retweetIntent()),t+='”>Retweet</a></li><li><a class=“j-twitter-like” href=“',t+=this.escape(this.post.likeIntent()),t+='”>Like</a></li></ul>',e=this.post.get(“external_created_at”),t+='<a href=“',t+=this.escape(this.post.link()),t+='” target=“_blank”><time class=“j-date j-twitter-date” datetime=“',t+=this.escape(e),t+='”>',t+=this.escape(Juicer.Helpers.fullDate(e,“%-d %b %Y”,!1)),t+=“</time></a></div>”):“Juicer”!==this.post.sourceType()&&(t+='<div class=“j-meta”><ul>',this.post.noMeta()||(t+=“<li>”,t+=Juicer.Helpers.renderPartial(“link”,{url:this.post.link(),label:this.post.get(“comment_count”),“class”:this.post.commentClass(),aria:“Comments”}),t+=“</li><li>”,t+=Juicer.Helpers.renderPartial(“link”,{url:this.post.link(),label:this.post.get(“like_count”),“class”:this.post.likeClass(),aria:“Likes”}),t+=“</li>”),t+=“</ul><nav>”,t+=Juicer.Helpers.renderPartial(“link”,{url:this.post.link(),label:“”,“class”:“j-”+this.post.lowerType()+“ j-social”,aria:this.post.lowerType()}),t+=“</nav></div>”),t})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(t){var e;return e=this,“function”==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:“[object Array]”!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:“”),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return“[object Array]”==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?”“:t.skimSafe||!//.test(t)?t:this.safe(”“+t).replace(/&/g,”&amp;“).replace(/</g,”&lt;“).replace(/>/g,”&gt;“).replace(/”/g,“&quot;”)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t,e;return t=“”,e=this.feed.get(“posts”).models,e.length>0?_u.each(e,function(e){return function®{var i;return t+=“<li”,i=“”,i+=e.escape(r.classes()),i.length>0&&(t+=' class=“',t+=i,t+='”'),t+=“>”,t+=Juicer.Helpers.renderPartial(“actions”,{post:r,admin:!0}),t+=Juicer.Helpers.renderPartial(“feeds/user”,{post:r,feed:e.feed}),t+=“</li>”}}(this)):t+='<div class=“empty”><h2>No Moderated Posts!</h2></div>',t})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(t){var e;return e=this,“function”==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:“[object Array]”!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:“”),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return“[object Array]”==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?”“:t.skimSafe||!//.test(t)?t:this.safe(”“+t).replace(/&/g,”&amp;“).replace(/</g,”&lt;“).replace(/>/g,”&gt;“).replace(/”/g,“&quot;”)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t;return t=“”,t+='<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(e){return function®{return e.feed.get(“order”)===r?(t+='<option selected=“true” value=“’,t+=e.escape(r),t+=‘”>’,t+=e.escape(r),t+=“</option>”):(t+='<option value=“‘,t+=e.escape(r),t+=’”>‘,t+=e.escape(r),t+=“</option>”)}}(this)),t+=“</select></div></div>”})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(t){var e;return e=this,“function”==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:“[object Array]”!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:“”),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return“[object Array]”==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?”“:t.skimSafe||!//.test(t)?t:this.safe(”“+t).replace(/&/g,”&amp;“).replace(/</g,”&lt;“).replace(/>/g,”&gt;“).replace(/”/g,“&quot;”)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t,e;return t=“”,this.lazyLoad=this.lazyLoad||null!=this.feed&&this.feed.get(“lazy_load”)||!1,e=this.post.get(“external_created_at”),t+='<div class=“j-poster”>',this.post.poster()?(t+='<a href=“',t+=this.escape(this.post.get(”poster_url“)),t+='” target=“_blank”>',this.post.get(“poster_image”)&&(this.lazyLoad&&“slider”===this.feed.get(“style”)||(this.lazyLoad?(t+='<img alt=“Profile image for ',t+=this.escape(this.post.get(”poster_name“)),t+='” data-lazy=“',t+=this.escape(this.post.posterImage()),t+='” data-poster-id=“',t+=this.escape(this.post.get(”poster_id“)),t+='” />'):(t+='<img alt=“Profile image for ',t+=this.escape(this.post.get(”poster_name“)),t+='” data-poster-id=“',t+=this.escape(this.post.get(”poster_id“)),t+='” src=“',t+=this.escape(this.post.posterImage()),t+='” />'))),this.post.twitter()?(t+='<div class=“j-twitter-poster”><div class=“j-twitter-display-name”>',t+=this.escape(this.post.get(“poster_display_name”)),t+='</div><div class=“j-twitter-screen-name”>@',t+=this.escape(this.post.get(“poster_name”)),t+=“</div></div>”):(t+=“<h3>”,t+=this.escape(this.post.get(“poster_name”)),t+=“</h3>”),this.post.twitter()?t+=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||(t+='<time class=“j-date” datetime=“',t+=this.escape(e),t+='”>',t+=this.escape(Juicer.Helpers.timeAgo(e)),t+=“</time>”),t+=“</a>”):(t+='<time class=“j-date” datetime=“',t+=this.escape(e),t+='”>',t+=this.escape(Juicer.Helpers.timeAgo(e)),t+=“</time>”),t+=“</div>”})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(t){var e;return e=this,“function”==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:“[object Array]”!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:“”),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return“[object Array]”==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?”“:t.skimSafe||!//.test(t)?t:this.safe(”“+t).replace(/&/g,”&amp;“).replace(/</g,”&lt;“).replace(/>/g,”&gt;“).replace(/”/g,“&quot;”)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t;return t=“”,t+='<div class=“prevent-duplicates thirteen”><input name=“feed” type=“hidden” value=“0” />',t+=this.feed.get(“prevent_duplicates”)?'<input checked=“true” id=“prevent_duplicates” name=“feed” type=“checkbox” />':'<input id=“prevent_duplicates” name=“feed” type=“checkbox” />',t+='<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(t){var e;return e=this,“function”==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:“[object Array]”!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){ var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:“”),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return“[object Array]”==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?”“:t.skimSafe||!//.test(t)?t:this.safe(”“+t).replace(/&/g,”&amp;“).replace(/</g,”&lt;“).replace(/>/g,”&gt;“).replace(/”/g,“&quot;”)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t;return t=“”,t+='<div class=“profanity thirteen mb-10”><input name=“feed” type=“hidden” value=“0” />',t+=this.feed.get(“profanity”)?'<input checked=“true” id=“profanity” name=“feed” type=“checkbox” />':'<input id=“profanity” name=“feed” type=“checkbox” />',t+='<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(t){var e;return e=this,“function”==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:“[object Array]”!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:“”),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return“[object Array]”==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?”“:t.skimSafe||!//.test(t)?t:this.safe(”“+t).replace(/&/g,”&amp;“).replace(/</g,”&lt;“).replace(/>/g,”&gt;“).replace(/”/g,“&quot;”)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t;return t=“”,t+='<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(t){var e;return e=this,”function“==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:”[object Array]“!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:”“),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return”[object Array]“==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?“”:t.skimSafe||!//.test(t)?t:this.safe(“”+t).replace(/&/g,“&amp;”).replace(/</g,“&lt;”).replace(/>/g,“&gt;”).replace(/“/g,”&quot;“)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t;return t=”“,_u.each(,function(e){return function®{var i;return i=r.toLowerCase(),t+='<li class=”j-',t+=e.escape(i),t+=“ j-”,t+=e.escape(i),t+='-text source j-social-icon ibt new-source-icon“ data-type=”',t+=e.escape®,t+='“><span class=”uc bold“>',t+=e.escape®,t+=”</span></li>“}}(this)),t})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(t){var e;return e=this,”function“==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:”[object Array]“!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:”“),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return”[object Array]“==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?“”:t.skimSafe||!//.test(t)?t:this.safe(“”+t).replace(/&/g,“&amp;”).replace(/</g,“&lt;”).replace(/>/g,“&gt;”).replace(/“/g,”&quot;“)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t;return t=”“,t+='<div aria-label=”',t+=this.escape(this.hint),t+='“ class=”bg-nav-header pv-15 tac mb-10 hint–medium fw hint–',t+=this.escape(this.hintPosition),t+=“ ”,t+=this.escape(this.attr),t+=“ ”,t+=this.escape(this.classes),t+='“><label class=”bold thirteen“>',t+=this.label,t+='</label><div class=”switch ibm ml-10“><input name=”feed“ type=”hidden“ value=”0“ />',this.feed.get(this.attr)?(t+='<input checked=”true“ class=”switch-checkbox“ id=”',t+=this.escape(this.attr),t+='“ name=”feed“ type=”checkbox“ />'):(t+='<input class=”switch-checkbox“ id=”',t+=this.escape(this.attr),t+='“ name=”feed“ type=”checkbox“ />'),t+='<label class=”switch-label“ for=”',t+=this.escape(this.attr),t+='“><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(t){var e;return e=this,”function“==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:”[object Array]“!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:”“),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return”[object Array]“==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?“”:t.skimSafe||!//.test(t)?t:this.safe(“”+t).replace(/&/g,“&amp;”).replace(/</g,“&lt;”).replace(/>/g,“&gt;”).replace(/“/g,”&quot;“)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t,e,r;return t=”“,r=this.css||”j-button“,t+=”<a“,e=”“,e+=this.escape®,e.length>0&&(t+=' class=”',t+=e,t+='“'),t+=' 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(t){var e;return e=this,”function“==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:”[object Array]“!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:”“),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return”[object Array]“==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?“”:t.skimSafe||!//.test(t)?t:this.safe(“”+t).replace(/&/g,“&amp;”).replace(/</g,“&lt;”).replace(/>/g,“&gt;”).replace(/“/g,”&quot;“)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t,e;return t=”“,t+=”<li“,e=”“,e+=this.escape(this.post.classes()),e.length>0&&(t+=' class=”',t+=e,t+='“'),t+=' data-id=”',t+=this.escape(this.post.get(“id”)),t+='“>',t+=Juicer.Helpers.renderPartial(”actions“,{post:this.post,admin:this.admin}),t+=Juicer.Helpers.renderPartial(”feeds/user“,{post:this.post}),t+=”</li>“})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(t){var e;return e=this,”function“==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:”[object Array]“!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:”“),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return”[object Array]“==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?“”:t.skimSafe||!//.test(t)?t:this.safe(“”+t).replace(/&/g,“&amp;”).replace(/</g,“&lt;”).replace(/>/g,“&gt;”).replace(/“/g,”&quot;“)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t;return t=”“,t+='<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=”',t+=this.escape(this.feed.get(“width”)),t+='“ /> <label for=”width“>px</label></div>'})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(t){var e;return e=this,”function“==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:”[object Array]“!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:”“),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return”[object Array]“==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?“”:t.skimSafe||!//.test(t)?t:this.safe(“”+t).replace(/&/g,“&amp;”).replace(/</g,“&lt;”).replace(/>/g,“&gt;”).replace(/“/g,”&quot;“)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t,e;return t=”“,t+='<div class=”j-meta j-',t+=this.escape(this.post.lowerType()),t+='“><nav>',t+=Juicer.Helpers.renderPartial(”link“,{url:this.post.link(),label:”“,”class“:”j-“+this.post.lowerType()+” j-social“,aria:”Link to “+this.post.lowerType()+” post.“}),t+=”</nav><ul>“,this.post.noMeta()||(t+=”<li>“,t+=Juicer.Helpers.renderPartial(”link“,{url:this.post.link(),label:this.post.get(”comment_count“),”class“:this.post.commentClass(),aria:”Comment Count“}),t+=”</li><li>“,t+=Juicer.Helpers.renderPartial(”link“,{url:this.post.link(),label:this.post.get(”like_count“),”class“:this.post.likeClass(),aria:”Like Count“}),t+=”</li>“),t+='</ul></div><div class=”j-text“><div class=”j-message“>',t+=this.post.message(),”Juicer“!==this.post.sourceType()&&(”hashtag“===this.post.termType()?(t+='<div class=”info“>Posted by <a href=”',t+=this.escape(this.post.get(“poster_url”)),t+='“ target=”_blank“>',t+=this.escape(this.post.get(”poster_name“)),t+='</a> in <a href=”',t+=this.escape(this.post.termLink()),t+='“ target=”_blank“>',t+=this.escape(this.post.term()),t+=”</a> on “,t+=this.escape(this.post.sourceType()),t+=” on “,t+=this.escape(Juicer.Helpers.fullDate(this.post.get(”external_created_at“))),t+=” </div>“):”Blog“===this.post.sourceType()?(t+='<div class=”info“>Posted at <a href=”’,t+=this.escape(this.post.get(“poster_url”)),t+='“ target=”_blank“>',t+=this.escape(this.post.get(”poster_name“)),t+=”</a> on “,t+=this.escape(Juicer.Helpers.fullDate(this.post.get(”external_created_at“))),t+=” </div>“):(t+='<div class=”info“>Posted by <a href=”',t+=this.escape(this.post.get(“poster_url”)),t+='“ target=”_blank“>',t+=this.escape(this.post.get(”poster_name“)),t+=”</a> on “,t+=this.escape(this.post.sourceType()),t+=” on “,t+=this.escape(Juicer.Helpers.fullDate(this.post.get(”external_created_at“))),t+=” </div>“)),t+=”</div></div>“,(e=this.post.get(”image“))&&(t+='<a href=”',t+=this.escape(this.post.link()),t+='“ target=”_blank“><img alt=”',t+=this.escape(this.post.alt()),t+='“ class=”j-content-image“ src=”',t+=this.escape(e),t+='“ /></a>'),t})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(t){var e;return e=this,”function“==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:”[object Array]“!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:”“),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return”[object Array]“==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?“”:t.skimSafe||!//.test(t)?t:this.safe(“”+t).replace(/&/g,“&amp;”).replace(/</g,“&lt;”).replace(/>/g,“&gt;”).replace(/“/g,”&quot;“)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t;return t=”“,t+=Juicer.Helpers.renderPartial(”content“,{post:this.post,feed:this.feed}),t+='<div class=”j-text“>',t+=Juicer.Helpers.renderPartial(”poster“,{post:this.post,feed:this.feed}),t+=Juicer.Helpers.renderPartial(”message“,{post:this.post}),t+=Juicer.Helpers.renderPartial(”meta“,{post:this.post}),t+=”</div>“})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(t){var e;return e=this,”function“==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:”[object Array]“!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:”“),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return”[object Array]“==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?“”:t.skimSafe||!//.test(t)?t:this.safe(“”+t).replace(/&/g,“&amp;”).replace(/</g,“&lt;”).replace(/>/g,“&gt;”).replace(/“/g,”&quot;“)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t;return t=”“,t+='<div class=”j-text-container“>',t+=Juicer.Helpers.renderPartial(”content“,{post:this.post,feed:this.feed}),t+='<div class=”j-text“>',this.post.twitter()&&(t+=Juicer.Helpers.renderPartial(”poster“,{post:this.post,feed:this.feed})),t+=Juicer.Helpers.renderPartial(”message“,{post:this.post}),”Juicer“===this.post.sourceType()||this.post.twitter()||(t+='<div class=”j-meta“><ul><li>',t+=Juicer.Helpers.renderPartial(”link“,{url:this.post.link(),label:this.post.get(”comment_count“),”class“:this.post.commentClass(),aria:”Comments“}),t+=”</li><li>“,t+=Juicer.Helpers.renderPartial(”link“,{url:this.post.link(),label:this.post.get(”like_count“),”class“:this.post.likeClass(),aria:”Likes“}),t+=”</li></ul></div>“),this.post.twitter()&&(t+=Juicer.Helpers.renderPartial(”meta“,{post:this.post})),t+=”</div></div>“,this.post.twitter()||(t+='<div class=”j-poster-meta“>',t+=Juicer.Helpers.renderPartial(”link“,{url:this.post.link(),label:”“,”class“:”j-“+this.post.lowerType()+” j-social-icon“,aria:this.post.lowerType()}),t+='<a href=”',t+=this.escape(this.post.get(“poster_url”)),t+='“ target=”_blank“>',t+=this.escape(this.post.get(”poster_name“)),t+=”</a></div>“),t})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(t){var e;return e=this,”function“==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:”[object Array]“!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:”“),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return”[object Array]“==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?“”:t.skimSafe||!//.test(t)?t:this.safe(“”+t).replace(/&/g,“&amp;”).replace(/</g,“&lt;”).replace(/>/g,“&gt;”).replace(/“/g,”&quot;“)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t,e;return t=”“,this.post.get(”poster_image“)||(e=”no-poster“),this.post.twitter()||(t+=Juicer.Helpers.renderPartial(”content“,{post:this.post,feed:this.feed})),t+='<div class=”j-post-container ',t+=this.escape(e),t+='“>',t+=Juicer.Helpers.renderPartial(”poster“,{post:this.post,feed:this.feed}),this.post.twitter()||(t+='<h3 class=”j-poster-meta“><a href=”',t+=this.escape(this.post.get(“poster_url”)),t+='“ target=”_blank“>',t+=this.escape(this.post.get(”poster_name“)),t+='</a> <span class=”j-on“>on</span> <a href=”',t+=this.escape(this.post.get(“poster_url”)),t+='“ target=”_blank“>',t+=this.escape(this.post.sourceType()),t+=”</a></h3>“),t+='<div class=”j-text“>',t+=Juicer.Helpers.renderPartial(”message“,{post:this.post}),this.post.twitter()&&(t+=Juicer.Helpers.renderPartial(”content“,{post:this.post,feed:this.feed})),t+=Juicer.Helpers.renderPartial(”meta“,{post:this.post}),t+=”</div></div>“})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(t){var e;return e=this,”function“==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:”[object Array]“!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:”“),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return”[object Array]“==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?“”:t.skimSafe||!//.test(t)?t:this.safe(“”+t).replace(/&/g,“&amp;”).replace(/</g,“&lt;”).replace(/>/g,“&gt;”).replace(/“/g,”&quot;“)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t;return t=”“,t+=Juicer.Helpers.renderPartial(”content“,{post:this.post,feed:this.feed}),t+='<div class=”j-text“>',t+=Juicer.Helpers.renderPartial(”message“,{post:this.post}),t+=Juicer.Helpers.renderPartial(”meta“,{post:this.post}),t+=”</div>“})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(t){var e;return e=this,”function“==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:”[object Array]“!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:”“),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return”[object Array]“==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?“”:t.skimSafe||!//.test(t)?t:this.safe(“”+t).replace(/&/g,“&amp;”).replace(/</g,“&lt;”).replace(/>/g,“&gt;”).replace(/“/g,”&quot;“)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t;return t=”“,t+=Juicer.Helpers.renderPartial(”poster“,{post:this.post,feed:this.feed}),this.post.twitter()||(t+=Juicer.Helpers.renderPartial(”content“,{post:this.post,feed:this.feed})),t+='<div class=”j-text“>',t+=Juicer.Helpers.renderPartial(”message“,{post:this.post}),this.post.twitter()&&(t+=Juicer.Helpers.renderPartial(”content“,{post:this.post,feed:this.feed})),t+=Juicer.Helpers.renderPartial(”meta“,{post:this.post}),t+=”</div>“})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(t){var e;return e=this,”function“==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:”[object Array]“!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:”“),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return”[object Array]“==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?“”:t.skimSafe||!//.test(t)?t:this.safe(“”+t).replace(/&/g,“&amp;”).replace(/</g,“&lt;”).replace(/>/g,“&gt;”).replace(/“/g,”&quot;“)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t,e;return t=”“,t+=”<li“,e=”“,e+=this.escape(this.post.classes()),e.length>0&&(t+=' class=”',t+=e,t+='“'),t+=' data-id=”',t+=this.escape(this.post.get(“id”)),t+='“>',t+=Juicer.Helpers.renderPartial(”actions“,{post:this.post,admin:this.admin}),null!=this.post.get(”image“)?(t+='<img alt=”',t+=this.escape(this.post.alt()),t+='“ class=”j-content-image“ src=”',t+=this.escape(this.post.get(“image”)),t+='“ />'):(t+='<div class=”j-text“>',t+=Juicer.Helpers.renderPartial(”message“,{post:this.post}),t+=”</div>“),t+='<a class=”j-image“ href=”',t+=this.escape(this.post.link()),t+='“ 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(t){var e;return e=this,”function“==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:”[object Array]“!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:”“),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return”[object Array]“==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?“”:t.skimSafe||!//.test(t)?t:this.safe(“”+t).replace(/&/g,“&amp;”).replace(/</g,“&lt;”).replace(/>/g,“&gt;”).replace(/“/g,”&quot;“)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t;return t=”“,t+='<ul class=”j-display-filters“>Filters: ',_u.each(this.feed.filters(),function(e){return function®{var i,n,s,o;return s=e.feed.get(”display_filter“),n=e.filter||e.feed.filter,(r.filter(s)===n||null===r.filter(”filter“)&&”“===n)&&(o=!0),t+=”<li“,i=”“,i+=e.escape(r.filterClass(s,o,!0)),i.length>0&&(t+=' class=”',t+=i,t+='“'),t+=' data-filter=”',t+=e.escape(r.filter(s)),t+='“>',t+=e.escape(r.filterDisplay(s)),t+=”</li>“}}(this)),t+=”</ul>“})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(t){var e;return e=this,”function“==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:”[object Array]“!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:”“),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return”[object Array]“==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?“”:t.skimSafe||!//.test(t)?t:this.safe(“”+t).replace(/&/g,“&amp;”).replace(/</g,“&lt;”).replace(/>/g,“&gt;”).replace(/“/g,”&quot;“)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t;return t=”“,t+='<ul class=”j-filters filters“>',_u.each(this.feed.filters(),function(e){return function®{var i,n,s,o;return s=e.feed.get(”display_filter“),n=e.filter||e.feed.filter,(r.filter(s)===n||null===r.filter(”filter“)&&”“===n)&&(o=!0),t+=”<li“,i=”“,i+=e.escape(r.filterClass(s,o)),i.length>0&&(t+=' class=”',t+=i,t+='“'),t+=' data-filter=”',t+=e.escape(r.filter(s)),t+='“>',t+=e.escape(r.filterDisplay(s)),t+=”</li>“}}(this)),t+=”</ul>“})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(t){var e;return e=this,”function“==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:”[object Array]“!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:”“),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return”[object Array]“==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?“”:t.skimSafe||!//.test(t)?t:this.safe(“”+t).replace(/&/g,“&amp;”).replace(/</g,“&lt;”).replace(/>/g,“&gt;”).replace(/“/g,”&quot;“)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t;return t=”“,t+='<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(t){var e;return e=this,”function“==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:”[object Array]“!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:”“),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return”[object Array]“==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?“”:t.skimSafe||!//.test(t)?t:this.safe(“”+t).replace(/&/g,“&amp;”).replace(/</g,“&lt;”).replace(/>/g,“&gt;”).replace(/“/g,”&quot;“)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t;return t=”“,t+='<h2 class=”new-source-title“>Connect Facebook Group Posts</h2>',this.results?this.results.models.length>0?(t+='<form accept-charset=”UTF-8“ action=”/feeds/',t+=this.escape(this.feedId),t+='/sources“ class=”source-form“ method=”post“><input name=”source“ type=”hidden“ value=”Facebook“ /><input name=”feed_id“ type=”hidden“ value=”',t+=this.escape(this.feedId),t+='“ /><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(e){return function®{return t+='<li class=”search-result“ data-id=”',t+=e.escape(r.get(“id”)),t+='“ data-name=”',t+=e.escape(r.get(“name”)),t+='“>',t+=e.escape(r.get(”name“)),t+=”</li>“}}(this)),t+=”</ul></form>“):t+=”<h2>Sorry you aren't the admin of any facebook groups.</h2>“:t+='<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>',t})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(t){var e;return e=this,”function“==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:”[object Array]“!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:”“),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return”[object Array]“==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?“”:t.skimSafe||!//.test(t)?t:this.safe(“”+t).replace(/&/g,“&amp;”).replace(/</g,“&lt;”).replace(/>/g,“&gt;”).replace(/“/g,”&quot;“)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t,e;return t=”“,”Pinterest“===this.source.source()?t+='<h2 class=”new-source-title“>Add Pinterest Board</h2>':”Spotify“===this.source.source()?t+='<h2 class=”new-source-title“>Pull In Your Top Spotify Tracks</h2>':(t+='<h2 class=”new-source-title“>Add ',t+=this.escape(this.source.source()),t+=” Hashtag</h2>“),”GooglePlus“===this.source.source()&&(t+=Juicer.Helpers.renderPartial(”source_form/google_plus_deprecation_warning“)),t+='<form accept-charset=”UTF-8“ action=”#“ class=”source-form“ method=”post“><div style=”display:none“><input name=”utf8“ type=”hidden“ value=”u2713“ /></div><input name=”source“ type=”hidden“ value=”',t+=this.escape(this.source.source()),t+='“ /><input name=”feed_id“ type=”hidden“ value=”',t+=this.escape(this.feedId),t+='“ /><input name=”term_type“ type=”hidden“ value=”',t+=this.escape(this.type),t+='“ />',”Pinterest“===this.source.source()?(t+='<label for=”source_term“>',t+=this.escape(this.source.label()),t+=”</label>“):”Spotify“===this.source.source()?(t+='<input name=”term“ type=”hidden“ value=”',t+=this.escape(this.socialAccount.get(“name”)),t+='“ />'):t+='<label for=”source_term“>#</label>',e=”Pinterest“===this.source.source()?”pinterest-username/board-name“:”“,”Spotify“!==this.source.source()&&(t+='<input autocomplete=”off“ id=”source_term“ name=”term“ placeholder=”',t+=this.escape(e),t+='“ type=”text“ />'),”Twitter“===this.source.source()&&(t+='<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>'),t+='<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(t){var e;return e=this,”function“==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:”[object Array]“!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e; return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:”“),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return”[object Array]“==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?“”:t.skimSafe||!//.test(t)?t:this.safe(“”+t).replace(/&/g,“&amp;”).replace(/</g,“&lt;”).replace(/>/g,“&gt;”).replace(/“/g,”&quot;“)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t,e;return t=”“,t+='<h2 class=”new-source-title“>Add ',t+=this.escape(this.source.source()),t+=' Location</h2><form accept-charset=”UTF-8“ action=”#“ class=”source-form“ method=”post“><div style=”display:none“><input name=”utf8“ type=”hidden“ value=”u2713“ /></div><input name=”source“ type=”hidden“ value=”',t+=this.escape(this.source.source()),t+='“ /><input name=”feed_id“ type=”hidden“ value=”',t+=this.escape(this.feedId),t+='“ /><input name=”term_type“ type=”hidden“ value=”',t+=this.escape(this.type),t+='“ />',e=”Instagram“===this.source.source()?”‘})}}.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/’,t+=this.escape(this.id),t+=‘&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(t){var e;return e=this,“function”==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:“[object Array]”!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:“”),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return“[object Array]”==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?”“:t.skimSafe||!//.test(t)?t:this.safe(”“+t).replace(/&/g,”&amp;“).replace(/</g,”&lt;“).replace(/>/g,”&gt;“).replace(/”/g,“&quot;”)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t;return t=“”,t+='<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:’,t+=this.escape(this.id),t+=‘“>’})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST[”partials/video/_tumblr_embed“]=function(){return this.Skim={access:function(t){var e;return e=this,”function“==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:”[object Array]“!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:”“),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return”[object Array]“==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?“”:t.skimSafe||!//.test(t)?t:this.safe(“”+t).replace(/&/g,“&amp;”).replace(/</g,“&lt;”).replace(/>/g,“&gt;”).replace(/“/g,”&quot;“)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t;return t=”“,t+='<div class=”video-wrapper“>',t+=this.video,t+=”</div>“})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(t){var e;return e=this,”function“==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:”[object Array]“!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:”“),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return”[object Array]“==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?“”:t.skimSafe||!//.test(t)?t:this.safe(“”+t).replace(/&/g,“&amp;”).replace(/</g,“&lt;”).replace(/>/g,“&gt;”).replace(/“/g,”&quot;“)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t,e,r;switch(t=”“,t+='<div class=”twitter-wrapper“>',r=this.overlay?!0:!1,t+='<video autoplay=”autoplay“',e=r){case!0:t+=' controls=”controls“';break;case!1:case null:break;default:t+=' controls=”',t+=this.escape(e),t+='“'}return t+=' loop=”true“><source src=”',t+=this.escape(this.video),t+='“ type=”video/mp4“ /></video></div>'})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(t){var e;return e=this,”function“==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:”[object Array]“!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:”“),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return”[object Array]“==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?“”:t.skimSafe||!//.test(t)?t:this.safe(“”+t).replace(/&/g,“&amp;”).replace(/</g,“&lt;”).replace(/>/g,“&gt;”).replace(/“/g,”&quot;“)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t;return t=”“,t+='<div class=”video-wrapper“><iframe allowfullscreen=”true“ frameborder=”0“ mozallowfullscreen=”true“ src=”//player.vimeo.com/video/',t+=this.escape(this.id),t+='?autoplay=1&amp;title=0&amp;byline=0&amp;portrait=0“ webkitallowfullscreen=”true“></iframe></div>'})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(t){var e;return e=this,”function“==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:”[object Array]“!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:”“),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return”[object Array]“==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?“”:t.skimSafe||!//.test(t)?t:this.safe(“”+t).replace(/&/g,“&amp;”).replace(/</g,“&lt;”).replace(/>/g,“&gt;”).replace(/“/g,”&quot;“)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t;return t=”“,t+='<div class=”vine-wrapper“><iframe frameborder=”0“ src=”',t+=this.escape(this.id),t+='/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(t){var e;return e=this,“function”==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:“[object Array]”!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:“”),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return“[object Array]”==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?”“:t.skimSafe||!//.test(t)?t:this.safe(”“+t).replace(/&/g,”&amp;“).replace(/</g,”&lt;“).replace(/>/g,”&gt;“).replace(/”/g,“&quot;”)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t,e;return t=“”,t+='<div class=“video-wrapper”>',e=this.overlay?“autoplay=1&rel=0”:“autoplay=1&rel=0&controls=0”,t+='<iframe allowfullscreen=“allowfullscreen” frameborder=“0” src=“‘})}}.call(this”>www.youtube-nocookie.com/embed/’,t+=this.escape(this.id),t+=“?”,t+=this.escape(e),t+=‘“>’})}}.call(this); }.call(this),function(){this.JST||(this.JST={}),this.JST.plan_change=function(){return this.Skim={access:function(t){var e;return e=this,”function“==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:”[object Array]“!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:”“),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return”[object Array]“==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?“”:t.skimSafe||!//.test(t)?t:this.safe(“”+t).replace(/&/g,“&amp;”).replace(/</g,“&lt;”).replace(/>/g,“&gt;”).replace(/“/g,”&quot;“)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t;return t=”“,t+='<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: ',t+=this.escape(this.model.planCapital()),t+=” - $“,t+=this.escape(this.model.get(”cost_to_i“)),t+=”/mo</h3><h4>“,t+=this.model.get(”subtitle“),t+='</h4></div><div class=”change-plan-arrow sprite“></div><div class=”new-plan fr“><h3 class=”bold tc-grapefruit“>New Plan: ',t+=this.escape(this.model.newPlanCapital()),t+=” - $“,t+=this.escape(this.model.get(”new_cost“)),t+=”/mo</h3><h4>“,t+=this.model.get(”new_subtitle“),t+=”</h4></div></div>“,”small“===this.model.get(”new_plan“)?(t+='<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>',t+=this.escape(this.model.downgradeDate()),t+='</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 youu2019d 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=”',t+=this.escape(this.csrf),t+='“ /><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>'):(t+='<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>',t+=this.escape(this.model.downgradeDate()),t+='</strong></div><form action=”/plans/',t+=this.escape(this.model.get(“new_plan”)),t+='“ class=”tac mt-30“ method=”post“><input name=”_method“ type=”hidden“ value=”put“ /><input name=”authenticity_token“ type=”hidden“ value=”',t+=this.escape(this.csrf),t+='“ /><input class=”j-button“ data-disable-with=”Loading…“ type=”submit“ value=”',t+=this.escape(this.model.get(“verb”)),t+='“ /></form>'),t+=”</div>“})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST.please_wait=function(){return this.Skim={access:function(t){var e;return e=this,”function“==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:”[object Array]“!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:”“),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return”[object Array]“==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?“”:t.skimSafe||!//.test(t)?t:this.safe(“”+t).replace(/&/g,“&amp;”).replace(/</g,“&lt;”).replace(/>/g,“&gt;”).replace(/“/g,”&quot;“)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t;return t=”“,t+='<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(t){var e;return e=this,”function“==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:”[object Array]“!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:”“),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return”[object Array]“==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?“”:t.skimSafe||!//.test(t)?t:this.safe(“”+t).replace(/&/g,“&amp;”).replace(/</g,“&lt;”).replace(/>/g,“&gt;”).replace(/“/g,”&quot;“)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t;return t=”“,t+='<div class=”p-50“><h2 class=”tac light fs-2 tc-orange mb-30“>Edit Post</h2>',t+=Juicer.Helpers.renderPartial(”poster“,{post:this.post}),t+='<div class=”message-container“>',t+=Juicer.Helpers.renderPartial(”message“,{post:this.post}),t+=”</div>“,this.feed.get(”moderation_allowed?“)?(t+='<form><textarea class=”bordered mv-25“ placeholder=”Add text or links to the post“>',t+=this.escape(this.post.get(”edit“)),t+='</textarea><div class=”tac“><input class=”j-button“ type=”submit“ value=”Add content“ /></div></form>'):t+='<h3>Only Paid accounts can edit posts. <a href=”/plans“>Upgrade your account.</a></h3>',t+=”</div>“})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST.post_overlay=function(){return this.Skim={access:function(t){var e;return e=this,”function“==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:”[object Array]“!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:”“),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return”[object Array]“==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?“”:t.skimSafe||!//.test(t)?t:this.safe(“”+t).replace(/&/g,“&amp;”).replace(/</g,“&lt;”).replace(/>/g,“&gt;”).replace(/“/g,”&quot;“)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t;return t=”“,t+='<div class=”j-post-overlay juicer-feed loaded ',t+=this.escape(this.post.gallery()?“j-gallery”:void 0),t+='“ data-id=”',t+=this.escape(this.post.get(“id”)),t+='“>',this.post.isVideo()?t+=Juicer.Helpers.renderPartial(”video/“+this.post.lowerType()+”_embed“,{id:this.post.get(”external_id“),video:this.post.get(”video“),overlay:!0}):(t+='<div class=”image“>',t+=Juicer.Helpers.renderPartial(”content“,{post:this.post,feed:this.feed,overlay:!0}),t+=”</div>“),t+='<div class=”j-overlay-text ',t+=this.escape(this.post.postType()),t+='“>',t+=Juicer.Helpers.renderPartial(”poster“,{post:this.post,lazyLoad:!1}),this.post.get(”unformatted_message“)&&(t+='<div class=”j-message“>',t+=this.post.fullMessage(),t+=”</div>“),t+=Juicer.Helpers.renderPartial(”edit“,{post:this.post}),t+=Juicer.Helpers.renderPartial(”meta“,{post:this.post}),t+='<div class=”j-bottom“>',t+=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()}),t+='<ul class=”j-share“><li><a class=”j-facebook share“ href=”',t+=this.escape(this.post.facebookShare()),t+='“ target=”_blank“>Facebook</a></li><li><a class=”j-twitter share“ href=”',t+=this.escape(this.post.twitterShare()),t+='“ target=”_blank“>Twitter</a></li><li><a class=”j-googleplus share“ href=”',t+=this.escape(this.post.googlePlusShare()),t+='“ target=”_blank“>Google+</a></li><li><a class=”j-pinterest share“ href=”',t+=this.escape(this.post.pinterestShare()),t+='“ target=”_blank“>Pinterest</a></li><li><a class=”j-linkedin share“ href=”',t+=this.escape(this.post.linkedInShare()),t+='“ target=”_blank“>LinkedIn</a></li><li><a class=”j-email share“ href=”',t+=this.escape(this.post.emailShare()),t+='“ target=”_blank“>Email</a></li></ul></div><div class=”j-navigate“><a class=”j-previous“ data-post-id=”',t+=this.escape(this.previous.get(“id”)),t+='“><span>Previous</span></a><a class=”j-next“ data-post-id=”',t+=this.escape(this.next.get(“id”)),t+='“><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(t){var e;return e=this,”function“==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:”[object Array]“!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:”“),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return”[object Array]“==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?“”:t.skimSafe||!//.test(t)?t:this.safe(“”+t).replace(/&/g,“&amp;”).replace(/</g,“&lt;”).replace(/>/g,“&gt;”).replace(/“/g,”&quot;“)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t;return t=”“,t+='<h1 class=”fs-1-75 tc-off-white tac sidebar-feed-name“>',t+=this.escape(this.feed.get(”name“)),t+='<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=”',t+=this.escape(this.feed.moderationStatus()),t+='“ 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“)&&(t+='<li class=”menu-item slide-menu-item“ id=”features“>Additional Features</li>'),t+='<li class=”menu-item slide-menu-item“ id=”synced“>Last Sync ',t+=this.escape(Juicer.Helpers.fullDate(this.feed.get(”last_synced“))),t+=”</li></ul></div>“})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST.source_form=function(){return this.Skim={access:function(t){var e;return e=this,”function“==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:”[object Array]“!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:”“),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return”[object Array]“==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?“”:t.skimSafe||!//.test(t)?t:this.safe(“”+t).replace(/&/g,“&amp;”).replace(/</g,“&lt;”).replace(/>/g,“&gt;”).replace(/“/g,”&quot;“)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t,e;return t=”“,e={source:this.source,csrf:this.csrf,feed:this.feed,type:this.type,socialAccounts:this.socialAccounts,results:this.results},t+='<div class=”tac“>',this.feed?this.feed.get(”more_sources_allowed?“)?t+=Juicer.Helpers.renderPartial(this.feed.newSourcePartial(),e):(t+='<div class=”p-50“><h2 class=”tc-orange fs-2 light“>Upgrade to add more sources</h2><h3 class=”mb-25“>Unfortunately, the ',t+=this.escape(this.feed.get(”plan“)),t+=” plan only allows “,t+=this.escape(this.feed.get(”max_sources“)),t+=” sources.</h3>“,t+=Juicer.Helpers.renderPartial(”upgrade_plan“,{feed:this.feed}),t+=”</div>“):t+=Juicer.Helpers.renderPartial(”source_form/new“,e),t+=”</div>“})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(t){var e;return e=this,”function“==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:”[object Array]“!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:”“),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return”[object Array]“==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?“”:t.skimSafe||!//.test(t)?t:this.safe(“”+t).replace(/&/g,“&amp;”).replace(/</g,“&lt;”).replace(/>/g,“&gt;”).replace(/“/g,”&quot;“)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t;return t=”“,t+='<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 ',t+=this.escape(this.source.displayName()),t+=”</h2>“,this.feed.notSmall()?(t+='<input name=”source_id“ type=”hidden“ value=”',t+=this.escape(this.source.get(“id”)),t+='“><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>'):(t+='<h3 style=”margin-bottom:1.5rem“>Unfortunately, the ',t+=this.escape(this.feed.get(”plan“)),t+=” plan doesn't allow you to manually enter posts. Please upgrade!</h3>“,t+=Juicer.Helpers.renderPartial(”upgrade_plan“,{feed:this.feed})),t+=”</form>“})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST=function(){return this.Skim={access:function(t){var e;return e=this,”function“==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:”[object Array]“!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:”“),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return”[object Array]“==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?“”:t.skimSafe||!//.test(t)?t:this.safe(“”+t).replace(/&/g,“&amp;”).replace(/</g,“&lt;”).replace(/>/g,“&gt;”).replace(/“/g,”&quot;“)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t,e,r;return t=”“,t+='<form accept-charset=”UTF-8“ class=”tac p-50 source-update“ method=”post“><input name=”id“ type=”hidden“ value=”',t+=this.escape(this.source.get(“id”)),t+='“ /><h2 class=”light fs-2 tc-orange mb-30“>Set Moderation Filters for ',t+=this.escape(this.source.displayName()),t+='</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>',r=”list words, @usernames, or hastags“,e=”Separate filters with a comma. Filters are case-sensitive.“,t+='<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=”',t+=this.escape®,t+=“ to block. ”,t+=this.escape(e),t+='“>',t+=this.source.disallowed(),t+='</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=”',t+=this.escape®,t+=“ to allow. ”,t+=this.escape(e),t+='“>',t+=this.source.allowed(),t+='</textarea><div class=”mb-15“><input name=”queue“ type=”hidden“ value=”0“ />',t+=this.source.get(”queue“)?'<input checked=”true“ id=”queue“ name=”queue“ type=”checkbox“ />':'<input id=”queue“ name=”queue“ type=”checkbox“ />',t+='<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(t){var e;return e=this,”function“==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:”[object Array]“!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:”“),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return”[object Array]“==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?“”:t.skimSafe||!//.test(t)?t:this.safe(“”+t).replace(/&/g,“&amp;”).replace(/</g,“&lt;”).replace(/>/g,“&gt;”).replace(/“/g,”&quot;“)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t;return t=”“,t+='<form accept-charset=”UTF-8“ class=”tac p-50 source-update“ method=”post“><h2 class=”light fs-2 tc-orange mb-30“>Rename ',t+=this.escape(this.source.displayName()),t+='</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=”',t+=this.escape(this.source.get(“id”)),t+='“ /><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=”',t+=this.escape(this.source.displayTerm()),t+='“ /><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(t){var e;return e=this,”function“==typeof e&&(e=e.call(this)),e===!0?:e===!1||null==e?!1:”[object Array]“!==Object.prototype.toString.call(e)?:0===e.length?!1:e},withContext:function(t,e){var r,i;return r=function(t){var e;return e=function(){},e.prototype=t,new e},t=r(t),t.safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:(e=new String(null!=t?t:”“),e.skimSafe=!0,e)}),t.isArray=Array.isArray||function(t){return”[object Array]“==={}.toString.call(t)},t.flatten=i=function(t){var e,r,n,s;for(r=[],n=0,s=t.length;s>n;n++)e=t,e instanceof Array?r=r.concat(i(e)):r.push(e);return r},t.escape||(t.escape=this.escape||function(t){return null==t?“”:t.skimSafe||!//.test(t)?t:this.safe(“”+t).replace(/&/g,“&amp;”).replace(/</g,“&lt;”).replace(/>/g,“&gt;”).replace(/“/g,”&quot;“)}),e.call(t)}},function(t){return null==t&&(t={}),Skim.withContext.call({},t,function(){var t;return t=”“,t+='<div class=”flip-container“><div class=”flipper“><div class=”front“>',t+=Juicer.Helpers.renderPartial(”widget_card“,{post:this.first,admin:this.admin}),t+='</div><div class=”back“>',t+=Juicer.Helpers.renderPartial(”widget_card“,{post:this.second,admin:this.admin}),t+=”</div></div></div>“})}}.call(this)}.call(this),function(){var t=function(t,r){function i(){this.constructor=t}for(var n in r)e.call(r,n)&&(t=r);return i.prototype=r.prototype,t.prototype=new i,t.__super__=r.prototype,t},e={}.hasOwnProperty;Juicer.Models.Assignment=function(e){function r(){return r.__super__.constructor.apply(this,arguments)}return t(r,e),r.prototype.urlRoot=”/api/assignments“,r}(JuicerBackbone.Model)}.call(this),function(){var t=function(t,r){function i(){this.constructor=t}for(var n in r)e.call(r,n)&&(t=r);return i.prototype=r.prototype,t.prototype=new i,t.__super__=r.prototype,t},e={}.hasOwnProperty;Juicer.Models.Click=function(e){function r(){return r.__super__.constructor.apply(this,arguments)}return t(r,e),r.prototype.urlRoot=function(){return Juicer.Constants.API_ROOT+”/api/clicks“},r}(JuicerBackbone.Model)}.call(this),function(){var t=function(t,r){function i(){this.constructor=t}for(var n in r)e.call(r,n)&&(t=r);return i.prototype=r.prototype,t.prototype=new i,t.__super__=r.prototype,t},e={}.hasOwnProperty;Juicer.Models.Enterprise=function(e){function r(){return r.__super__.constructor.apply(this,arguments)}return t(r,e),r.prototype.idAttribute=”slug“,r.prototype.urlRoot=”/api/enterprise“,r.prototype.page=1,r.prototype.fetch=function(t){return t=null!=t?_u.clone(t):{},t.data=null!=t.data?_u.extend(t.data,this.data()):this.data(),r.__super__.fetch.call(this,t)},r.prototype.parse=function(t,e){var i,n;return t.current_page>1&&t.feeds.length>0&&(i=_u.map(this.get(”feeds“).models,function(t){return function(t){return t.attributes}}(this)),n=t.feeds,t.feeds=i.concat(n),t.new_feeds=n),r.__super__.parse.call(this,t,e)},r.prototype.data=function(){var t;return t={page:this.page},this.query&&(t.query=this.query),t},r.prototype.nextPage=function(){return this.page+=1},r.prototype.moreFeeds=function(){return this.get(”current_page“)<this.get(”total_pages“)},r.prototype.relations=,r}(JuicerBackbone.AssociatedModel)}.call(this),function(){var t=function(t,r){function i(){this.constructor=t}for(var n in r)e.call(r,n)&&(t=r);return i.prototype=r.prototype,t.prototype=new i,t.__super__=r.prototype,t},e={}.hasOwnProperty;Juicer.Models.EnterpriseUsers=function(e){function r(){return r.__super__.constructor.apply(this,arguments)}return t(r,e),r.prototype.idAttribute=”slug“,r.prototype.url=function(){return”/api/enterprise/“+this.get(”slug“)+”/users“},r.prototype.relations=,r}(JuicerBackbone.AssociatedModel)}.call(this),function(){var t=function(t,r){function i(){this.constructor=t}for(var n in r)e.call(r,n)&&(t=r);return i.prototype=r.prototype,t.prototype=new i,t.__super__=r.prototype,t},e={}.hasOwnProperty;Juicer.Models.Estimate=function(e){function r(){return r.__super__.constructor.apply(this,arguments)}return t(r,e),r.prototype.defaults={sources:5,frequency:3},r.prototype.frequencyInWords=function(){return this.frequencyMap},r.prototype.frequencyMap={1:”Day“,2:”4 Hours“,3:”1 Hour“,4:”30 Minutes“,5:”10 Minutes“,6:”5 Minutes“,7:”1 Minute“},r.prototype.frequencyMuliplier={1:4,2:6,3:8,4:14,5:20,6:40,7:200},r.prototype.price=function(){return this.get(”sources“)*this.frequencyCalculated()},r.prototype.frequencyCalculated=function(){return this.frequencyMuliplier},r.prototype.priceString=function(){return this.maxSources()?”$“+this.frequencyCalculated():”$“+this.price()},r.prototype.priceLabel=function(){return this.maxSources()?”Per Source per Month“:”Cost per Month“},r.prototype.sources=function(){return this.maxSources()?”20+“:this.get(”sources“)},r.prototype.maxSources=function(){return this.get(”sources“)>20},r}(JuicerBackbone.Model)}.call(this),function(){var t=function(t,e){return function(){return t.apply(e,arguments)}},e=function(t,e){function i(){this.constructor=t}for(var n in e)r.call(e,n)&&(t=e);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},r={}.hasOwnProperty;Juicer.Models.Feed=function®{function i(){return this.fetchNewPosts=t(this.fetchNewPosts,this),this.poll=t(this.poll,this),this.startPolling=t(this.startPolling,this),i.__super__.constructor.apply(this,arguments)}return e(i,r),i.prototype.idAttribute=”slug“,i.prototype.urlRoot=function(){return Juicer.Constants.API_ROOT+”/api/feeds“},i.prototype.parse=function(t,e){return null!=this.get(”css“)&&delete t.css,i.__super__.parse.call(this,t,e)},i.prototype.sync=function(t,e,r){var n;return n=r.url,”read“!==t&&(r.url=”/api/feeds/“+this.get(”id“)),n&&(n.match(”fetch_all“)||n.match(”bulk_moderate“))&&(r.url=n),i.__super__.sync.call(this,t,e,r)},i.prototype.defaults={slug:”error“},i.prototype.allowed=function(){return null!=this.get(”allowed“)?this.get(”allowed“):”“},i.prototype.disallowed=function(){return null!=this.get(”disallowed“)?this.get(”disallowed“):”“},i.prototype.moderation=function(){return!!this.get(”allowed“)||!!this.get(”disallowed“)||this.get(”profanity“)||this.get(”queue“)||this.get(”prevent_duplicates“)||this.geofence()},i.prototype.geofence=function(){return!!(this.get(”distance“)&&this.get(”location“)&&this.get(”lat“)&&this.get(”lng“))},i.prototype.widget=function(){return”widget“===this.get(”css“)},i.prototype.slider=function(){return”slider“===this.get(”css“)},i.prototype.livingWall=function(){return”living-wall“===this.get(”css“)},i.prototype.campaign=function(){return _u.contains(,this.get(”plan“))},i.prototype.defaultHeight=function(){return this.widget()?400:null},i.prototype.defaultWidth=function(){return this.widget()?400:null},i.prototype.initialize=function(t){return null==t&&(t={}),this.per=t.per,this.page=t.page,this.filter=t.filter,this.startingAt=t.startingAt,this.endingAt=t.endingAt,this.search=t.search,this.truncate=t.truncate,this.admin=t.admin,this.per||(this.per=100),this.page||(this.page=1),this.once(”sync“,this.startPolling)},i.prototype.startPolling=function(){return this.shouldPoll()?this.poll():void 0},i.prototype.shouldPoll=function(){return this.pollingAllowed()&&this.isGrid()},i.prototype.pollingAllowed=function(){return this.notSmall()&&!!this.get(”poll“)&&!!this.get(”update_frequency“)},i.prototype.poll=function(){return this.timeout=setTimeout(this.fetchNewPosts,this.pollInterval())},i.prototype.fetchNewPosts=function(t){var e;return null==t&&(t=!0),this.polling=!0,e=this.get(”requested_at“),this.fetch({success:function®{return function(){return r.get(”requested_at“)!==e&&r.trigger(”new-posts“),r.polling=!1,t?r.poll():void 0}}(this)})},i.prototype.pollInterval=function(){var t;return t=60*this.get(”update_frequency“)*1e3/this.divisor(),t=Math.floor(t),t=Math.max(t,15e3)},i.prototype.divisor=function(){var t;return t=this.get(”sources“).length,2>t&&(t=2),t>10&&(t=10),t},i.prototype.fetch=function(t){return t=null!=t?_u.clone(t):{},t.data=null!=t.data?_u.extend(t.data,this.data()):this.data(),t.data=this.dataToArray(t.data),i.__super__.fetch.call(this,t)},i.prototype.data=function(){var t;return t={},this.per&&(t=_u.extend(t,{per:this.per})),this.admin&&(t=_u.extend(t,{admin:!0})),this.endingAt&&(t=_u.extend(t,{ending_at:this.endingAt})),this.filter&&(t=_u.extend(t,{filter:this.filter})),this.page&&!this.polling&&(t=_u.extend(t,{page:this.page})),this.search&&(t=_u.extend(t,{search:this.search})),this.startingAt&&(t=_u.extend(t,{starting_at:this.startingAt})),this.truncate&&(t=_u.extend(t,{truncate:this.truncate})),t},i.prototype.dataToArray=function(t){var e;return e=Object.keys(t).reduce(function(e,r){return e.concat({name:r,value:t})},[]),e.sort(function(t,e){return t.name>e.name})},i.prototype.nextPage=function(t){return this.page+=1,this},i.prototype.previousPage=function(t){return this.page-=1,this},i.prototype.resetPage=function(){return this.page=1,this},i.prototype.nextSync=function(){var t;switch(t=new Date(this.get(”last_synced“)),this.get(”plan“)){case”medium“:t.setHours(t.getHours()+1);break;case”large“:t.setMinutes(t.getMinutes()+10);break;case”campaign“:t.setMinutes(t.getMinutes()+1);break;case”custom“:t.setMinutes(t.getMinutes()+this.get(”update_frequency“));break;case”enterprise“:t.setMinutes(t.getMinutes()+this.get(”update_frequency“));break;default:t.setDate(t.getDate()+1)}return t},i.prototype.paid=function(){return _u.contains(Juicer.Constants.PAID_PLANS,this.get(”plan“))},i.prototype.notSmall=function(){return”small“!==this.get(”plan“)},i.prototype.cssClass=function(){var t;return t=this.get(”css“)||”image-grid“,”widget“===t&&(t=”juicer-widget“),this.get(”colored_icons“)&&”classic“!==this.get(”css“)&&(t+=” colored-icons“),this.hoverImages()&&(t+=” hover-images“),t},i.prototype.isGrid=function(){return!_u.contains(,this.get(”css“))},i.prototype.classic=function(){return”classic“===this.get(”css“)},i.prototype.hasInterval=function(){return _u.contains(,this.get(”css“))},i.prototype.hasColumns=function(){return!_u.contains(,this.get(”css“))},i.prototype.hoverImages=function(){return _u.contains(,this.get(”css“))},i.prototype.hasHeight=function(){return this.get(”height“)},i.prototype.newSourcePartial=function(){return this.get(”more_sources_allowed?“)?”source_form/new“:”source_form/max“},i.prototype.termsByType=function(t){var e;return e=this.get(”sources“).where({source:t}),_u.map(e,function(t){return t.get(”term“)})},i.prototype.fetchAll=function(){var t,e;return e=this.url()+”/fetch_all“,t={url:e,type:”POST“},(this.sync||JuicerBackbone.sync).call(this,null,this,t)},i.prototype.bulkModerate=function(t,e){var r,i,n;return null==t&&(t=!0),null==e&&(e=null),n=”/api/feeds/“+this.get(”slug“)+”/bulk_moderate“,r={},t&&(r.approve=!0),null!=e&&(r.filter=e),i={url:n,type:”POST“,data:$.param®},(this.sync||JuicerBackbone.sync).call(this,null,this,i)},i.prototype.partial=function(){var t;switch(t=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“}},i.prototype.displayFilters=function(){return _u.contains(this.validFilters,this.get(”display_filter“))&&!this.hasInterval()&&this.get(”sources“).length>1},i.prototype.validFilters=[”Social Type“,”Social Account“,”Grouped Terms“],i.prototype.filterPartial=function(){return this.get(”display_filter_type“)?”new“:”old“},i.prototype.filters=function(){var t;return t=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),t=t.slice(0),t.unshift(this.allSource()),t},i.prototype.allSource=function(){return new Juicer.Models.Source({source:”All“})},i.prototype.accountTypes=function(){var t,e;return t=[],e=,_u.each(this.get(”sources“).models,function®{return _u.contains(e,r.get(”source“))?void 0:(t.push®,e.push(r.get(”source“)))}),t},i.prototype.uniqSources=function(){var t,e,r;return t=[],r=,e=_u.map(this.get(”sources“).models,function(e){return _u.contains(r,e.displayName())?void 0:(t.push(e), r.push(e.displayName()))}),t},i.prototype.moderationStatus=function(){return this.moderation()?”ON“:”OFF“},i.prototype.colors=,i.prototype.customColors=function(){return _u.some(this.getColors())},i.prototype.getColor=function(t){return this.getCustomColor(t)||this.getDefaultColor(t)},i.prototype.getCustomColor=function(t){return this.getColors()},i.prototype.getColors=function(){return this.get(”colors“)},i.prototype.getDefaultColor=function(t){var e;return”hover“===t?”#F17E6F“:(e=this.customColorMap,t=jQuery(e.selector).css(e.attribute),t?Juicer.Helpers.rgb2hex(t):”#fff“)},i.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“}},i.prototype.customStyles=function(){var t;return t=”“,_u.each(this.colors,function(e){return function®{var i,n;return n=e.customColorMap,i=e.getCustomColor®,i?t+=n.selector+” { “n.attribute”: “i” !important; }“:void 0}}(this)),this.get(”custom_css“)&&(t+=this.get(”custom_css“)),t},i.prototype.updateColor=function(t,e){var r,i;return r=this.getColors(),i=t+”_color“,r=e,this.set(”colors“,r),this.set(i,e),this.trigger(”update:colors“)},i.prototype.resetColors=function(){return _u.each(this.colors,function(t){return function(e){return t.set(e+”_color“,null)}}(this))},i.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!“},i.prototype.shouldShowGallery=function(){var t;return t=this.get(”css“)||this.get(”style“),_u.contains(,t)},i.prototype.relations=,i}(JuicerBackbone.AssociatedModel)}.call(this),function(){var t=function(t,r){function i(){this.constructor=t}for(var n in r)e.call(r,n)&&(t=r);return i.prototype=r.prototype,t.prototype=new i,t.__super__=r.prototype,t},e={}.hasOwnProperty;Juicer.Models.JuicerAd=function(e){function r(){return r.__super__.constructor.apply(this,arguments)}return t(r,e),r.prototype.defaults=function(){var t;return t=Juicer.Helpers.sample(this.messages()),{image:this.randomImage(),message:t,unformatted_message:t,poster_name:”Juicer“,poster_image:”static.juicer.io/small-square.png“,poster_url:”https://www.juicer.io“,external_created_at:new Date}},r.prototype.ad=!0,r.prototype.twitter=function(){return!1},r.prototype.gallery=function(){return!1},r.prototype.poster=function(){return!0},r.prototype.stickied=function(){return!1},r.prototype.sourceType=function(){return”Juicer“},r.prototype.postType=function(){return”image-post“},r.prototype.isVideo=function(){return!1},r.prototype.edited=function(){return!1},r.prototype.editClass=function(){return”“},r.prototype.userId=function(){return 1},r.prototype.lowerType=function(){return”juicer“},r.prototype.term=function(){return”juicer“},r.prototype.link=function(){return”www.juicer.io“},r.prototype.blogPost=function(){return!1},r.prototype.commentClass=function(){return”“},r.prototype.likeClass=function(){return”“},r.prototype.classes=function(){return”feed-item juicer image-post juicer-ad“},r.prototype.alt=function(){return”Embed Social Media Feeds on your website with Juicer!“},r.prototype.message=function(){return this.get(”message“)},r.prototype.posterImage=function(){return this.get(”poster_image“)},r.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-“t”.svg“},r.prototype.noMeta=function(){return!0},r}(JuicerBackbone.Model)}.call(this),function(){var t=function(t,r){function i(){this.constructor=t}for(var n in r)e.call(r,n)&&(t=r);return i.prototype=r.prototype,t.prototype=new i,t.__super__=r.prototype,t},e={}.hasOwnProperty;Juicer.Models.Location=function(e){function r(){return r.__super__.constructor.apply(this,arguments)}return t(r,e),r.prototype.urlRoot=”/api/locations“,r}(JuicerBackbone.Model)}.call(this),function(){var t=function(t,r){function i(){this.constructor=t}for(var n in r)e.call(r,n)&&(t=r);return i.prototype=r.prototype,t.prototype=new i,t.__super__=r.prototype,t},e={}.hasOwnProperty;Juicer.Models.Moderated=function(e){function r(){return r.__super__.constructor.apply(this,arguments)}return t(r,e),r.prototype.url=function(){return”/api/feeds/“this.slug”/moderated“},r.prototype.initialize=function(t){return this.revalidating=!0,this.slug=t.slug,this.starting_at=t.starting_at,this.once(”sync“,this.startPolling)},r.prototype.moderated=!0,r}(Juicer.Models.Feed)}.call(this),function(){var t=function(t,r){function i(){this.constructor=t}for(var n in r)e.call(r,n)&&(t=r);return i.prototype=r.prototype,t.prototype=new i,t.__super__=r.prototype,t},e={}.hasOwnProperty;Juicer.Models.PageView=function(e){function r(){return r.__super__.constructor.apply(this,arguments)}return t(r,e),r.prototype.urlRoot=function(){return Juicer.Constants.API_ROOT+”/api/page_views“},r}(JuicerBackbone.Model)}.call(this),function(){var t=function(t,r){function i(){this.constructor=t}for(var n in r)e.call(r,n)&&(t=r);return i.prototype=r.prototype,t.prototype=new i,t.__super__=r.prototype,t},e={}.hasOwnProperty;Juicer.Models.Plan=function(e){function r(){return r.__super__.constructor.apply(this,arguments)}return t(r,e),r.prototype.urlRoot=”/api/plan“,r.prototype.downgradeDate=function(){var t;return t=new Date(this.get(”next_billing_date“)),strftime(”%B %-d, %Y“,t)},r.prototype.planCapital=function(){return this.capitalize(this.get(”plan“))},r.prototype.newPlanCapital=function(){return this.capitalize(this.get(”new_plan“))},r.prototype.capitalize=function(t){return _u.titleize(t)},r}(JuicerBackbone.Model)}.call(this),function(){var t=function(t,r){function i(){this.constructor=t}for(var n in r)e.call(r,n)&&(t=r);return i.prototype=r.prototype,t.prototype=new i,t.__super__=r.prototype,t},e={}.hasOwnProperty;Juicer.Models.Post=function(e){function r(){return r.__super__.constructor.apply(this,arguments)}return t(r,e),r.prototype.urlRoot=”/api/posts“,r.prototype.restore=function(t){return this.callSubUrl(”/restore“)},r.prototype.reject=function(t){return this.callSubUrl(”/reject“)},r.prototype.stick=function(t){return this.callSubUrl(”/stick“)},r.prototype.unstick=function(t){return this.callSubUrl(”/unstick“)},r.prototype.urmRequest=function(t){return this.callSubUrl(”/urm“,t)},r.prototype.callSubUrl=function(t,e){var r,i;return null==e&&(e={}),r=this,t=r.url()+t,i={url:t,type:”POST“},_u.extend(i,e),(this.sync||JuicerBackbone.sync).call(this,null,this,i)},r.prototype.stickied=function(){return!!this.get(”position“)},r.prototype.edited=function(){return!!this.get(”edit“)},r.prototype.editClass=function(){return this.edited()?”j-edited“:”“},r.prototype.stickyClass=function(){return this.stickied()?”j-sticky“:”“},r.prototype.classes=function(){return”feed-item j-“+this.lowerType()+” “+this.postType()+” “+this.term()+” “+this.editClass()+” “+this.stickyClass()},r.prototype.sourceType=function(){return this.get(”source“).source()},r.prototype.blogPost=function(){return”Blog“===this.sourceType()},r.prototype.twitter=function(){return”Twitter“===this.sourceType()},r.prototype.tumblrTitle=function(){return”Tumblr“===this.sourceType()&&!!this.get(”source“).get(”options“)&&!!this.get(”source“).get(”options“).match(”title“)},r.prototype.gallery=function(){return!!this.get(”additional_photos“)&&this.get(”additional_photos“).length>0},r.prototype.postType=function(){return this.isVideo()?”j-video“:this.gallery()?”j-gallery“:this.get(”image“)?”image-post“:”words“},r.prototype.isVideo=function(){return _u.contains(,this.lowerType())||!!this.get(”video“)},r.prototype.termType=function(){return this.get(”source“).termType()},r.prototype.term=function(){return this.get(”source“).get(”term“)},r.prototype.userId=function(){return this.term()},r.prototype.lowerType=function(){return this.get(”source“).lowerSource()},r.prototype.likes=function(){return this.pluralize(this.get(”like_count“),”like“)},r.prototype.comments=function(){return this.pluralize(this.get(”comment_count“),”comment“)},r.prototype.poster=function(){return this.get(”poster_name“)||this.get(”poster_image“)},r.prototype.posterImage=function(){var t;return”facebook“===this.lowerType()?(this.shouldFetchFacebookImage()&&this.fetchFacebookImage(),t=this.isGraphImage()?”i.imgur.com/ZpcrI7L.jpg“:this.get(”poster_image“)):this.get(”poster_image“)},r.prototype.shouldFetchFacebookImage=function(){return this.isGraphImage()&&!_u.contains(this.get(”source“).fetchedFacebookPosters,this.get(”poster_id“))},r.prototype.isGraphImage=function(){return!!this.get(”poster_image“).match(”graph.facebook.com“)},r.prototype.fetchFacebookImage=function(){var t;return this.get(”source“).fetchedFacebookPosters.push(this.get(”poster_id“)),t=this.get(”poster_image“)+”?redirect=false“,jQuery.getJSON(t,function(t){return function(e){var r;return r=e.data.url,jQuery(”“).attr(”src“,r),t.get(”source“).fetchedFacebookPosters.splice(t.get(”source“).fetchedFacebookPosters.indexOf(t.get(”poster_id“)),1)}}(this))},r.prototype.pluralize=function(t,e){return 1===t?t+” “e:t” “+_u.pluralize(e)},r.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“)}},r.prototype.blogLink=function(){return this.get(”external“)||this.get(”external_id“)},r.prototype.parseBlogUrl=function(){var t;return t=this.term().match(/^https?://(+)(?:[/?#]|$)/i),t&&t?t:void 0},r.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“)}},r.prototype.commentClass=function(){switch(this.lowerType()){case”twitter“:return”retweets“;case”pinterest“:return”repins“;default:return”comments“}},r.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“}},r.prototype.likeVerb=function(){switch(this.lowerType()){case”twitter“:return”favorites“;default:return”likes“}},r.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()},r.prototype.postedDate=function(){return Juicer.Helpers.fullDate(this.get(”external_created_at“))},r.prototype.noMeta=function(){return _u.contains(,this.sourceType())},r.prototype.facebookShare=function(){var t;return t=”www.facebook.com/dialog/feed?app_id=“Juicer.Constants.FACEBOOK_APP_ID”&display=popup&link=“+this.currentUrl(),this.status()&&(t+=”&description=“+this.status()),this.shouldHaveFacebookImage()&&(t+=”&picture=“+this.get(”image“)),t},r.prototype.twitterShare=function(){var t;return t=”twitter.com/intent/tweet?text=“+this.twitterStatus(),this.shouldIncludeLink()&&(t+=”&url=“+this.currentUrl()),t},r.prototype.googlePlusShare=function(){return”https://plus.google.com/share?url=“+this.currentUrl()},r.prototype.pinterestShare=function(){return”https://pinterest.com/pin/create/button/?url=“+this.currentUrl()+”&media=“+this.encodedImage()+”&description=“+this.status()},r.prototype.linkedInShare=function(){return”https://www.linkedin.com/shareArticle?url=“+this.currentUrl()+”&title=“+this.status()},r.prototype.emailShare=function(){var t,e,r;return r=”Check out my “+this.sourceType()+” post!“,t=this.status().length>3?.join(” - “):this.currentUrl(),e=jQuery(window).width()>1024?”“:”test@example.com“,”e”?subject=“r”&body=“+t},r.prototype.shouldHaveFacebookImage=function(){return”facebook“!==this.lowerType()&&!!this.get(”image“)},r.prototype.encodedImage=function(){return encodeURIComponent(this.get(”image“))},r.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“)},r.prototype.fullMessage=function(){return this.blogPost()||this.tumblrTitle()?”<strong class='j-title'>“+this.get(”message“)+”</strong> “+this.get(”description“):this.get(”message“)},r.prototype.stripped=function(){return null!=this.get(”unformatted_message“)?this.get(”unformatted_message“).replace(/<(?:.|n)*?>/gm,” “).replace(this.emojiRegex,”“):”“},r.prototype.emojiRegex=/(|uD83C|uD83D|[u2694-u2697]|uD83E)/g,r.prototype.status=function(){return encodeURIComponent(this.stripped())},r.prototype.twitterStatus=function(){return this.stripped().length<=140?this.status():encodeURIComponent(this.stripped().substring(0,137)+”…“)},r.prototype.shouldIncludeLink=function(){return(this.twitterStatus()+this.currentUrl).length<=140},r.prototype.currentUrl=function(){return window.location.href},r.prototype.urmEligible=function(){return _u.contains(this.urmSources,this.sourceType())},r.prototype.urmSources=,r.prototype.urmSocialConnected=function(t){return t.get(”social_accounts“).findWhere({provider:this.lowerType()})},r.prototype.replyIntent=function(){return”twitter.com/intent/tweet?in_reply_to=“+this.get(”external_id“)},r.prototype.retweetIntent=function(){return”https://twitter.com/intent/retweet?tweet_id=“+this.get(”external_id“)},r.prototype.likeIntent=function(){return”https://twitter.com/intent/like?tweet_id=“+this.get(”external_id“)},r.prototype.relations=[{type:JuicerBackbone.One,key:”source“,relatedModel:”Juicer.Models.Source“}],r}(JuicerBackbone.AssociatedModel)}.call(this),function(){var t=function(t,r){function i(){this.constructor=t}for(var n in r)e.call(r,n)&&(t=r);return i.prototype=r.prototype,t.prototype=new i,t.__super__=r.prototype,t},e={}.hasOwnProperty;Juicer.Models.Source=function(e){function r(){return r.__super__.constructor.apply(this,arguments)}return t(r,e),r.prototype.urlRoot=”/api/sources“,r.prototype.toJSON=function(){return{source:_u.clone(this.attributes)}},r.prototype.source=function(){return this.get(”source“)},r.prototype.termType=function(){return this.get(”term_type“)},r.prototype.lowerSource=function(){return this.source().toLowerCase()},r.prototype.allowed=function(){return null!=this.get(”allowed“)?this.get(”allowed“):”“},r.prototype.disallowed=function(){return null!=this.get(”disallowed“)?this.get(”disallowed“):”“},r.prototype.fetchedFacebookPosters=[],r.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“}},r.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/“}},r.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“}},r.prototype.typeSymbol=function(){return”hashtag“===this.get(”term_type“)?”#“:”location“===this.get(”term_type“)?”u25c9“:”@“},r.prototype.displayTerm=function(){var t;return this.get(”name“)&&(t=this.get(”name“)),t||(t=this.get(”term“)),t},r.prototype.displayName=function(){return”“+this.typeSymbol()+this.displayTerm()},r.prototype.hashtags=function(){return _u.contains(this.hashtagSupporters,this.source())},r.prototype.needsLogin=function(){return _u.contains(this.requiresLogin,this.source())},r.prototype.manual=function(){return _u.contains(Juicer.Constants.CAN_ADD_MANUAL,this.source())},r.prototype.location=function(){return _u.contains(this.hasLocation,this.source())},r.prototype.hashtagSupporters=,r.prototype.requiresLogin=,r.prototype.hasLocation=,r.prototype.alternateNames=,r.prototype.filterClass=function(t,e,r){var i,n,s;return null==e&&(e=null),null==r&&(r=!1),s=”j-“+this.lowerSource().replace(/@|#/,”“),n=s,r&&(n+=” “s”-text “s”-hover j-social-icon“),this.all()&&(n=”all j-social-icon“),i=n,”Grouped Terms“===t&&(i+=” grouped“),e&&(i+=” highlight“),i},r.prototype.all=function(){return”all“===this.lowerSource()},r.prototype.filter=function(t){if(this.all())return null;switch(t){case”Social Type“:return this.source();case”Social Account“:return this.get(”id“);case”Grouped Terms“:return this.get(”term“)}},r.prototype.filterDisplay=function(t){if(this.all())return”All“;switch(t){case”Social Type“:return this.source();case”Social Account“:return this.displayName();case”Grouped Terms“:return this.displayName()}},r.prototype.usernameExample=function(){return this.usernameExamples},r.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 Gxfcrtler“,”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>“}},r}(JuicerBackbone.AssociatedModel)}.call(this),function(){var t=function(t,r){function i(){this.constructor=t}for(var n in r)e.call(r,n)&&(t=r);return i.prototype=r.prototype,t.prototype=new i,t.__super__=r.prototype,t},e={}.hasOwnProperty;Juicer.Models.User=function(e){function r(){return r.__super__.constructor.apply(this,arguments)}return t(r,e),r.prototype.relations=,r}(JuicerBackbone.AssociatedModel)}.call(this),function(){var t=function(t,r){function i(){this.constructor=t}for(var n in r)e.call(r,n)&&(t=r);return i.prototype=r.prototype,t.prototype=new i,t.__super__=r.prototype,t},e={}.hasOwnProperty;Juicer.Models.FeedValidation=function(e){function r(){return r.__super__.constructor.apply(this,arguments)}return t(r,e),r.prototype.validation={name:{required:!0}},r}(JuicerBackbone.Model)}.call(this),function(){var t=function(t,r){function i(){this.constructor=t}for(var n in r)e.call(r,n)&&(t=r);return i.prototype=r.prototype,t.prototype=new i,t.__super__=r.prototype,t},e={}.hasOwnProperty;Juicer.Models.ContactMessageValidation=function(e){function r(){return r.__super__.constructor.apply(this,arguments)}return t(r,e),r.prototype.validation={name:{required:!0},email:{required:!0,pattern:”email“},message:{required:!0}},r}(JuicerBackbone.Model)}.call(this),function(){var t=function(t,r){function i(){this.constructor=t}for(var n in r)e.call(r,n)&&(t=r);return i.prototype=r.prototype,t.prototype=new i,t.__super__=r.prototype,t},e={}.hasOwnProperty;Juicer.Models.UserUpdateValidation=function(e){function r(){return r.__super__.constructor.apply(this,arguments)}return t(r,e),r.prototype.initialize=function(t){return this.email=t.email,this.noPassword=t.noPassword},r.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“)}}},r}(JuicerBackbone.Model)}.call(this),function(){var t=function(t,r){function i(){this.constructor=t}for(var n in r)e.call(r,n)&&(t=r);return i.prototype=r.prototype,t.prototype=new i,t.__super__=r.prototype,t},e={}.hasOwnProperty;Juicer.Models.UserValidation=function(e){function r(){return r.__super__.constructor.apply(this,arguments)}return t(r,e),r.prototype.validation={email:{required:!0,pattern:”email“},password:{required:!0,minLength:8}},r}(JuicerBackbone.Model)}.call(this),function(){var t=function(t,r){function i(){this.constructor=t}for(var n in r)e.call(r,n)&&(t=r);return i.prototype=r.prototype,t.prototype=new i,t.__super__=r.prototype,t},e={}.hasOwnProperty;Juicer.Collections.FacebookResults=function(e){function r(){return r.__super__.constructor.apply(this,arguments)}return t(r,e),r.prototype.initialize=function(t){return this.type=t.type},r.prototype.url=function(){return”/api/facebook_results/“+this.type},r}(JuicerBackbone.Collection)}.call(this),function(){var t=function(t,r){function i(){this.constructor=t}for(var n in r)e.call(r,n)&&(t=r);return i.prototype=r.prototype,t.prototype=new i,t.__super__=r.prototype,t},e={}.hasOwnProperty;Juicer.Collections.Posts=function(e){function r(){return r.__super__.constructor.apply(this,arguments)}return t(r,e),r.prototype.paginatingAttributes=,r.prototype.model=Juicer.Models.Post,r.prototype.parse=function(t){return _u.each(this.paginatingAttributes,function(e){return function®{return e=t}}(this)),r.__super__.parse.call(this,t.items)},r}(JuicerBackbone.Collection)}.call(this),function(){var t=function(t,r){function i(){this.constructor=t}for(var n in r)e.call(r,n)&&(t=r);return i.prototype=r.prototype,t.prototype=new i,t.__super__=r.prototype,t},e={}.hasOwnProperty;Juicer.Collections.SocialAccounts=function(e){function r(){return r.__super__.constructor.apply(this,arguments)}return t(r,e),r.prototype.url=”/api/social_accounts“,r.prototype.socialAccount=function(t){return this.findWhere({provider:t})},r}(JuicerBackbone.Collection)}.call(this),function(){var t=function(t,r){function i(){this.constructor=t}for(var n in r)e.call(r,n)&&(t=r);return i.prototype=r.prototype,t.prototype=new i,t.__super__=r.prototype,t},e={}.hasOwnProperty;Juicer.Collections.Users=function(e){function r(){return r.__super__.constructor.apply(this,arguments)}return t(r,e),r.prototype.model=Juicer.Models.User,r.prototype.url=”/api/users“,r}(JuicerBackbone.Collection)}.call(this),function(){var t=function(t,r){function i(){this.constructor=t}for(var n in r)e.call(r,n)&&(t=r);return i.prototype=r.prototype,t.prototype=new i,t.__super__=r.prototype,t},e={}.hasOwnProperty;Juicer.Views.AdminDowngrade=function(e){function r(){return r.__super__.constructor.apply(this,arguments)}return t(r,e),r.prototype.template=JST.admin_downgrade,r.prototype.initialize=function(t){return this.userId=t.userId,this.csrf=$(‘meta').attr(”content“)},r.prototype.events={click:”openOverlay“},r.prototype.openOverlay=function(t){var e;return t.preventDefault(),e=$(t.target).attr(”href“),this.overlay=new Juicer.Views.Overlay({content:this.template({userId:this.userId,reasons:this.reasons,csrf:this.csrf,action:e}),element:”body“,width:”50%“}),this.overlay.render()},r.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“],r}(JuicerBackbone.View)}.call(this),function(){var t=function(t,r){function i(){this.constructor=t}for(var n in r)e.call(r,n)&&(t=r);return i.prototype=r.prototype,t.prototype=new i,t.__super__=r.prototype,t},e={}.hasOwnProperty;Juicer.Views.AdminUsers=function(e){function r(){return r.__super__.constructor.apply(this,arguments)}return t(r,e),r.prototype.events={”click .toggle-favorite“:”toggleFavorite“},r.prototype.toggleFavorite=function(t){var e,r;return t.preventDefault(),e=$(t.target),r=e.data(”id“),jQuery.get(”/admin/users/“r”/favorite“),”Favorite“===e.html()?e.html(”Unfavorite“):e.html(”Favorite“)},r}(JuicerBackbone.View)}.call(this),function(){var t=function(t,r){function i(){this.constructor=t}for(var n in r)e.call(r,n)&&(t=r);return i.prototype=r.prototype,t.prototype=new i,t.__super__=r.prototype,t},e={}.hasOwnProperty;Juicer.Views.AnalyticsDateRange=function(e){function r(){return r.__super__.constructor.apply(this,arguments)}return t(r,e),r.prototype.template=JST.analytics_date_range,r.prototype.events={”click .date-range“:”openDateRangeOverlay“},r.prototype.openDateRangeOverlay=function(t){var e,r;return console.log(”open“),r=$(t.target),e=this.template({start:r.data(”start“),end:r.data(”end“)}),this.overlay=new Juicer.Views.Overlay({content:e,element:this.el,width:”50%“}),this.overlay.render()},r}(JuicerBackbone.View)}.call(this),function(){var t=function(t,r){function i(){this.constructor=t}for(var n in r)e.call(r,n)&&(t=r);return i.prototype=r.prototype,t.prototype=new i,t.__super__=r.prototype,t},e={}.hasOwnProperty;Juicer.Views.BrokenImage=function(e){function r(){return r.__super__.constructor.apply(this,arguments)}return t(r,e),r.prototype.initialize=function(t){return null==t&&(t={}),this.model=t.model,this.handleBrokenImages()},r.prototype.handleBrokenImages=function(){return this.$(”img.j-content-image“).on(”error“,function(t){return function(e){var r;return r=jQuery(e.target).parents(”.feed-item“),r.length>0?t.handleBrokenImage®:void 0}}(this)),this.$(”img.j-content-image“).on(”load“,function(t){return function(e){var r,i;return i=jQuery(e.target),e.target.naturalWidth<20?(r=i.parents(”.feed-item“),t.handleBrokenImage®):void 0}}(this)),this.$(”.j-poster img“).on(”error“,function(t){return function(e){return console.log(”Hiding broken profile image.“),”polaroid“===t.model.get(”css“)?(jQuery(e.target).parents(”.j-post-container“).addClass(”no-poster“),jQuery(e.target).parents(”.j-poster“).hide()):jQuery(e.target).hide()}}(this)),this.$(”img.j-content-image“).removeClass(”j-content-image“)},r.prototype.handleBrokenImage=function(t){return this.model.get(”photos“)&&this.model.get(”admin“)?void 0:t.find(”.j-message“).length>0&&this.model.get(”admin“)?(t.removeClass(”image-post“).addClass(”words“),t.find(”.j-image“).hide(),console.log(”Juicer: post with id “+t.data(”id“)+” has a broken image. Converting to a text post.“)):(t.hide(),console.log(”Juicer: post with id “+t.data(”id“)+” has a broken image. Hiding it.“))},r}(JuicerBackbone.View)}.call(this),function(){var t=function(t,r){function i(){this.constructor=t}for(var n in r)e.call(r,n)&&(t=r);return i.prototype=r.prototype,t.prototype=new i,t.__super__=r.prototype,t},e={}.hasOwnProperty;Juicer.Views.Churn=function(e){ function r(){return r.__super__.constructor.apply(this,arguments)}return t(r,e),r.prototype.template=JST.churn,r.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())},r.prototype.events={”click .delete“:”closeOverlay“},r.prototype.closeOverlay=function(){return this.overlay.removeView()},r}(JuicerBackbone.View)}.call(this),function(){var t=function(t,r){function i(){this.constructor=t}for(var n in r)e.call(r,n)&&(t=r);return i.prototype=r.prototype,t.prototype=new i,t.__super__=r.prototype,t},e={}.hasOwnProperty;Juicer.Views.BlogShow=function(e){function r(){return r.__super__.constructor.apply(this,arguments)}return t(r,e),r.prototype.el=window,r.prototype.initialize=function(){return this.loaded=!1,this.triggerPoint=$(”#disqus_thread“).offset().top},r.prototype.events=function(){return{scroll:”lazyLoadDisqus“}},r.prototype.lazyLoadDisqus=_u.debounce(function(){return this.checkScroll()},300),r.prototype.checkScroll=function(){return this.scrollPoint()>this.triggerPoint&&!this.loaded?this.loadDisqus():void 0},r.prototype.loadDisqus=function(){var t,e;return this.loaded=!0,t=”juicerio“,e=document.createElement(”script“),e.type=”text/javascript“,e.async=!0,e.src=”//“t”.disqus.com/embed.js“,(document.getElementsByTagName(”head“)||document.getElementsByTagName(”body“)).appendChild(e)},r.prototype.scrollPoint=function(){return this.$el.scrollTop()+this.$el.height()},r}(JuicerBackbone.View)}.call(this),function(){var t=function(t,e){return function(){return t.apply(e,arguments)}},e=function(t,e){function i(){this.constructor=t}for(var n in e)r.call(e,n)&&(t=e);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},r={}.hasOwnProperty;Juicer.Views.DocsSidebar=function®{function i(){return this.determineLeft=t(this.determineLeft,this),this.checkSidebar=t(this.checkSidebar,this),i.__super__.constructor.apply(this,arguments)}return e(i,r),i.prototype.el=window,i.prototype.initialize=function(t){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()},i.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)},i.prototype.scrollPoint=function(){return this.offset<=this.$el.scrollTop()},i.prototype.scrolledToBottom=function(){return this.$el.scrollTop()>=$(document).height()-this.$el.height()-$(”.footer“).height()-(this.$el.height()-this.sidebarHeight)},i.prototype.fixed=function(){return{position:”fixed“,top:this.topPadding,left:this.sidebar.offset().left}},i.prototype.absolute=function(){return{position:”absolute“,left:0,bottom:0,top:”auto“}},i.prototype.determineLeft=function(){return this.scrollPoint()?this.sidebar.css({left:this.sibling.offset().left}):!1},i}(JuicerBackbone.View)}.call(this),function(){var t=function(t,r){function i(){this.constructor=t}for(var n in r)e.call(r,n)&&(t=r);return i.prototype=r.prototype,t.prototype=new i,t.__super__=r.prototype,t},e={}.hasOwnProperty;Juicer.Views.DowngradeOverlay=function(e){function r(){return r.__super__.constructor.apply(this,arguments)}return t(r,e),r.prototype.template=JST.downgrade_overlay,r.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},r.prototype.events={”click .delete“:”closeOverlay“},r.prototype.closeOverlay=function(){return this.overlay.removeView()},r}(JuicerBackbone.View)}.call(this),function(){var t=function(t,e){return function(){return t.apply(e,arguments)}},e=function(t,e){function i(){this.constructor=t}for(var n in e)r.call(e,n)&&(t=e);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},r={}.hasOwnProperty;Juicer.Views.Calculator=function®{function i(){return this.updateValues=t(this.updateValues,this),this.render=t(this.render,this),i.__super__.constructor.apply(this,arguments)}return e(i,r),i.prototype.template=JST,i.prototype.initialize=function(){return this.model=new Juicer.Models.Estimate,this.model.on(”change“,this.updateValues),this.render()},i.prototype.render=function(){return this.$el.html(this.template({model:this.model}))},i.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())},i.prototype.events={”change input“:”updateModel“,”input input“:”updateModel“},i.prototype.updateModel=function(t){var e;return e=$(t.target),this.model.set(e.data(”attribute“),e.val())},i}(JuicerBackbone.View)}.call(this),function(){var t=function(t,e){return function(){return t.apply(e,arguments)}},e=function(t,e){function i(){this.constructor=t}for(var n in e)r.call(e,n)&&(t=e);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},r={}.hasOwnProperty;Juicer.Views.Enterprise=function®{function i(){return this.close=t(this.close,this),this.append=t(this.append,this),this.render=t(this.render,this),i.__super__.constructor.apply(this,arguments)}return e(i,r),i.prototype.template=JST,i.prototype.initialize=function(t){return this.model=new Juicer.Models.Enterprise({slug:t.slug}),this.model.on(”sync“,this.render),this.model.fetch({error:function(){return alert(”Something went wrong. Please try again.“)}})},i.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“)))},i.prototype.renderFeeds=function(t){return this.feeds=new Juicer.Views.EnterpriseFeeds({el:”ul.feeds“,collection:t,model:this.model}).render()},i.prototype.append=function(){return this.feeds.append()},i.prototype.events={”keyup input“:_u.debounce(function(t){return this.search(t)},500),”search input“:”search“},i.prototype.search=function(t){var e;return t.preventDefault(),this.model.query=$(t.target).val(),e=this.model.get(”feeds“),this.model.fetch()},i.prototype.close=function(){return this.model.off(”sync“),this.feeds.close()},i}(JuicerBackbone.View),Juicer.Views.EnterpriseFeeds=function®{function i(){return this.close=t(this.close,this),this.loadNextPage=t(this.loadNextPage,this),i.__super__.constructor.apply(this,arguments)}return e(i,r),i.prototype.render=function(){return this.addToSubViews(this.collection.models),this.model.moreFeeds()&&this.addLoadMore(),this.$el.html(this.subviews),this},i.prototype.addToSubViews=function(t){return this.subviews||(this.subviews=[]),_u.each(t,function(t){return function(e){var r;return r=new Juicer.Views.EnterpriseFeed({model:e,account:t.model}).render(),t.subviews.push(r.el)}}(this))},i.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)},i.prototype.removeLoadMore=function(){var t;return this.loadMore.off(”next:page:clicked“),t=this.subviews.indexOf(this.loadMore.el),this.subviews.splice(t,1),this.loadMore.remove(),t},i.prototype.loadNextPage=function(){return this.model.nextPage(),this.model.fetch()},i.prototype.append=function(){var t;return t=this.removeLoadMore(),this.addToSubViews(this.model.get(”new_feeds“).models),this.model.moreFeeds()&&this.addLoadMore(),this.$el.append(this.subviews.slice(t))},i.prototype.close=function(){return _u.each(this.subviews,function(t){return function(t){return t.remove()}}(this)),this.loadMore&&this.loadMore.off(”next:page:clicked“),this.$el.empty().off(),this.stopListening(),this},i}(JuicerBackbone.View),Juicer.Views.EnterpriseFeed=function(t){function r(){return r.__super__.constructor.apply(this,arguments)}return e(r,t),r.prototype.template=JST,r.prototype.createAssignmentForm=JST,r.prototype.tagName=”li“,r.prototype.className=”border bg-white p-25 relative mb-20 tal“,r.prototype.initialize=function(t){return this.account=t.account},r.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},r.prototype.events={”click .delete-assignment“:”deleteAssignment“,”click .add-assignment“:”openAssignmentForm“,”click .fetch-all“:”fetchAllPosts“,”submit .new-assignment“:”createAssignment“},r.prototype.deleteAssignment=function(t){var e,r;return t.preventDefault(),r=$(t.target).parents(”.enterprise-user-assignment“),Juicer.Helpers.confirm(”Are you sure you want to remote this user from this feed?“)?(e=new Juicer.Models.Assignment({id:$(t.target).data(”id“)}),e.destroy({success:function(t){return function(){return r.remove()}}(this),error:function(){return alert(”Something went wrong!“)}})):void 0},r.prototype.openAssignmentForm=function(t){var e;return e=new Juicer.Views.Overlay({content:this.createAssignmentForm({model:this.model,csrf:this.csrf,account:this.account}),width:”35%“,element:this.el}),e.render()},r.prototype.createAssignment=function(t){var e,r;return t.preventDefault(),r=$(t.target),e=r.serializeHash(),e.email?(this.assignment=new Juicer.Models.Assignment(e),this.assignment.save(null,{success:function(t){return function(e,r){return t.model.get(”assignments“).add(t.assignment),t.render()}}(this),error:function(){return alert(”Something went wrong!“)}})):!1},r.prototype.fetchAllPosts=function(t){return Juicer.Helpers.confirm(”Fetching all posts for this feed can take 10+ minutes. Please be patient and check back later.“)?(t.preventDefault(),this.model.fetchAll(),$(t.target).replaceWith(”Fetching all posts.“)):!1},r.prototype.close=function(){return this.$el.remove()},r}(JuicerBackbone.View),Juicer.Views.EnterpriseLoadMore=function(t){function r(){return r.__super__.constructor.apply(this,arguments)}return e(r,t),r.prototype.tagName=”a“,r.prototype.className=”load-more j-button mt-30“,r.prototype.render=function(){return this.$el.text(”Load More Feeds“),this},r.prototype.events={click:”triggerClick“},r.prototype.triggerClick=function(){return this.trigger(”next:page:clicked“)},r}(JuicerBackbone.View)}.call(this),function(){var t=function(t,r){function i(){this.constructor=t}for(var n in r)e.call(r,n)&&(t=r);return i.prototype=r.prototype,t.prototype=new i,t.__super__=r.prototype,t},e={}.hasOwnProperty;Juicer.Views.EnterpriseUsers=function(e){function r(){return r.__super__.constructor.apply(this,arguments)}return t(r,e),r.prototype.template=JST,r.prototype.inviteAdminForm=JST,r.prototype.initialize=function(t){return this.model=new Juicer.Models.EnterpriseUsers({slug:t.slug}),this.model.fetch({success:function(t){return function(){return t.render()}}(this),error:function(){return alert(”uh oh something went wrong“)}})},r.prototype.render=function(){return this.$el.html(this.template({model:this.model})),this.renderAdmins(),this.renderUsers()},r.prototype.renderAdmins=function(){var t;return t=[],_u.each(this.model.get(”admins“).models,function(e){return function®{return t.push(new Juicer.Views.EnterpriseAdmin({model:r,account:e.model}).render())}}(this)),this.$(”.enterprise-admins“).html(t)},r.prototype.renderUsers=function(){var t;return t=[],_u.each(this.model.get(”users“).models,function(e){return function®{return t.push(new Juicer.Views.EnterpriseUser({model:r,account:e.model}).render())}}(this)),this.$(”.enterprise-users“).html(t)},r.prototype.events={”click a.new-enterprise-admin“:”openNewAdminOverlay“},r.prototype.openNewAdminOverlay=function(t){var e;return t.preventDefault(),this.csrf=$(’meta').attr(”content“),e=new Juicer.Views.Overlay({content:this.inviteAdminForm({model:this.model,csrf:this.csrf}),width:”35%“}),e.render()},r}(JuicerBackbone.View),Juicer.Views.EnterpriseAdmin=function(e){function r(){return r.__super__.constructor.apply(this,arguments)}return t(r,e),r.prototype.template=JST,r.prototype.tagName=”li“,r.prototype.className=”enterprise-user“,r.prototype.initialize=function(t){return this.account=t.account},r.prototype.render=function(){return this.$el.html(this.template({model:this.model,account:this.account}))},r}(JuicerBackbone.View),Juicer.Views.EnterpriseUser=function(e){function r(){return r.__super__.constructor.apply(this,arguments)}return t(r,e),r.prototype.template=JST,r.prototype.tagName=”li“,r.prototype.className=”bg-white border mb-25“,r.prototype.initialize=function(t){return this.account=t.account},r.prototype.render=function(){return this.$el.html(this.template({model:this.model,account:this.account}))},r.prototype.events={”click .delete-assignment“:”deleteAssignment“},r.prototype.deleteAssignment=function(t){var e,r;return t.preventDefault(),r=$(t.target).parents(”.enterprise-user-assignment“),Juicer.Helpers.confirm(”Are you sure you want to remote this user from this feed?“)?(e=new Juicer.Models.Assignment({id:$(t.target).data(”id“)}),e.destroy({success:function(t){return function(){return r.remove()}}(this),error:function(){return alert(”Something went wrong!“)}})):void 0},r}(JuicerBackbone.View)}.call(this),function(){var t=function(t,r){function i(){this.constructor=t}for(var n in r)e.call(r,n)&&(t=r);return i.prototype=r.prototype,t.prototype=new i,t.__super__=r.prototype,t},e={}.hasOwnProperty;Juicer.Views.EnterpriseWhiteLabel=function(e){function r(){return r.__super__.constructor.apply(this,arguments)}return t(r,e),r.prototype.template=JST,r.prototype.initialize=function(t){return this.model=new Juicer.Models.Enterprise({slug:t.slug}),this.model.fetch({success:function(t){return function(){return t.render()}}(this),error:function(){return alert(”uh oh something went wrong“)}})},r.prototype.render=function(){return this.$el.html(this.template({model:this.model}))},r.prototype.events={”submit .white-label-url“:”updateAccount“},r.prototype.updateAccount=function(t){var e,r;return t.preventDefault(),r=$(t.target),r.find(”input“).attr(”disabled“,”disabled“).val(”Loading…“),e=JuicerBackbone.Syphon.serialize®,this.model.set(e),this.model.save(null,{success:function(t){return function(){return t.render()}}(this)})},r}(JuicerBackbone.View)}.call(this),function(){var t=function(t,r){function i(){this.constructor=t}for(var n in r)e.call(r,n)&&(t=r);return i.prototype=r.prototype,t.prototype=new i,t.__super__=r.prototype,t},e={}.hasOwnProperty;Juicer.Views.Errors=function(e){function r(){return r.__super__.constructor.apply(this,arguments)}return t(r,e),r.prototype.template=JST.errors,r.prototype.initialize=function(t){var e,r,i;try{this.errors=$.parseJSON(t.errors.responseText).errors}catch(n){r=n,i=t&&t.errors&&t.errors.statusText||”“,e=i.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}))},r}(JuicerBackbone.View)}.call(this),function(){var t=function(t,e){return function(){return t.apply(e,arguments)}},e=function(t,e){function i(){this.constructor=t}for(var n in e)r.call(e,n)&&(t=e);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},r={}.hasOwnProperty,i=[].indexOf||function(t){for(var e=0,r=this.length;r>e;e++)if(e in this&&this===t)return e;return-1};Juicer.Views.Feed=function®{function n(){return this.reRender=t(this.reRender,this),this.stopVideo=t(this.stopVideo,this),n.__super__.constructor.apply(this,arguments)}return e(n,r),n.prototype.template=JST.feed,n.prototype.referral=JST,n.prototype.loading=JST,n.prototype.trackedPlans=,n.prototype.permittedOptions=,n.prototype.initialize=function(t){return this.userOptions=_u.pick(this.$el.data(),this.permittedOptions),this.userOptions=this.setDefaultOptions(this.userOptions),this.showLoader(!1,!0),this.model=t.model||this.newModel(),this.admin=t.admin||!1,this.tracked=!1,this.model.on(”new-posts“,this.reRender),this.model.on(”showLoader“,function(t){return function(){return t.showLoader(!0)}}(this))},n.prototype.setDefaultOptions=function(t){return t.slug=t.feedId,t.css=t.style,t.per||(t.per=100),t.page||(t.page=1),null!=t.overlay&&(t.overlay=!!t.overlay),t},n.prototype.newModel=function(){var t;return t=,new Juicer.Models.Feed(_u.pick(this.userOptions,t))},n.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“}},n.prototype.render=function(){return null!=this.model.get(”posts“)?this.renderFeed():this.model.fetch({success:function(t){return function(){return t.renderFeed()}}(this),error:function(t){return function(){return console.log(”Juicer Problem“)}}(this)}),this},n.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},n.prototype.setUserOptionsFromModel=function(){return _u.each(this.modelAttrs,function(t){return function(e){return null==t.userOptions&&0!==t.userOptions?t.userOptions=t.model.get(e):void 0}}(this)),null==this.userOptions.gutter&&(this.userOptions.gutter=this.defaultGutter()),this.userOptions},n.prototype.modelAttrs=,n.prototype.defaultGutter=function(){return this.noGutter()?0:20},n.prototype.noGutter=function(){return _u.contains(,this.model.get(”css“))},n.prototype.determineBrowser=function(){var t,e;return t=navigator.userAgent.match(/MSIE|Trident|Edge/)?”j-ie“:”j-modern“,e=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(t).addClass(e)},n.prototype.runAfter=function(t){return null==t&&(t=”load“),this.afterFunction=new Function(”event“,this.userOptions.after),this.afterFunction(t)},n.prototype.showLoader=function(t,e){return null==t&&(t=!1),null==e&&(e=!1),this.$el.append(this.loading({container:t,wrapper:e}))},n.prototype.hideLoader=function(){return this.$(”.j-loading-container, .j-loading-wrapper, .j-loading“).remove()},n.prototype.renderWidget=function(){return this.widget=new Juicer.Views.Widget(this.feedOptions())},n.prototype.renderSlider=function(){return this.handleReferral(),this.slider=new Juicer.Views.Slider(this.feedOptions()).render(),this.slider.on(”slide“,function(t){return function(){return t.stopCurrentlyPlaying()}}(this))},n.prototype.renderLivingWall=function(){return this.livingWall=new Juicer.Views.LivingWall(this.feedOptions()).render(),this.handleReferral()},n.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}},n.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(t){return function(){return t.runAfter(”paginate“),null!=t.lazyLoad&&t.lazyLoad.checkImages(),t.handleBrokenImages()}}(this))},n.prototype.handleBrokenImages=function(){return new Juicer.Views.BrokenImage({el:this.el,model:this.model})},n.prototype.currentFilter=function(){return null!=this.model&&null!=this.model.filter?this.model.filter:this.userOptions.filter},n.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)},n.prototype.dimensions={”max-width“:null,”max-height“:null},n.prototype.addJuicerAds=function(){var t,e;return t=this.model.get(”posts“).length,e=Math.floor(t/10),e>0?_u(e).times(function(t){return function(e){var r,i;return r=10*(e+1),i=new Juicer.Models.JuicerAd,t.model.get(”posts“).add(i,{at:r})}}(this)):void 0},n.prototype.setupGrid=function(){var t,e;return e=Math.floor(this.$el.outerWidth()/this.userOptions.columns),t=window.devicePixelRatio>2?225:200,t>e&&(e=t),this.$el.gridalicious({animate:!0,selector:”.feed-item“,width:e,gutter:this.userOptions.gutter,columns:this.userOptions.columns,animationOptions:{queue:!0,speed:100,duration:300,complete:function(t){return function(){return null==t.infiniteScroll?!0:t.infiniteScroll.shouldShowLoadMore()?void 0:t.infiniteScroll.removeLoadMore()}}(this)}}),this.model.get(”lazy_load“)?this.lazyLoad=new Juicer.Views.LazyLoad({model:this.model,view:this}):void 0},n.prototype.setGutterOnClassic=function(){var t,e;return t=”2%“,null==this.userOptions.gutter&&(e=t),this.$(”.feed-item“).css(”margin-bottom“,e)},n.prototype.appendNextPage=function(t){return null==t&&(t=null),t&&t.preventDefault(),this.$(”.j-paginate“).replaceWith(this.loading({inFeed:!0})),this.infiniteScroll.nextPage()},n.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},n.prototype.cssClasses=”photo photos-only juicer-widget gridalicious slick-initialized slick-slider modern ie colored-icons hover-images“,n.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“))},n.prototype.trackPageView=function(){var t;return t=new Juicer.Models.PageView({feed_id:this.model.get(”id“),url:this.currentUrl()}),t.save(),this.tracked=!0},n.prototype.onJuicerDomain=function(){return window.location.href.match(”/iframe“)?!1:_u.contains([”www.juicer.io“,”localhost:3000“],window.location.host)},n.prototype.shouldTrack=function(){var t;return!this.onJuicerDomain()&&!this.tracked&&(t=this.model.get(”plan“),i.call(this.trackedPlans,t)>=0)},n.prototype.currentUrl=function(){return document.URL},n.prototype.triggerEvent=function(t){var e,r,i;if(i=jQuery(t.target),this.onJuicerDomain()||this.trackClick(i),i.hasClass(”delete“))return t.preventDefault(),this.deletePost(i);if(i.hasClass(”sticky“))return t.preventDefault(),this.toggleSticky(i,”stick“);if(i.hasClass(”unstick“))return t.preventDefault(),this.toggleSticky(i,”un-stick“);if(i.hasClass(”edit“))return new Juicer.Views.PostEdit({id:i.parents(”ul.actions“).data(”id“),model:this.model}).render();if(i.hasClass(”j-image“)&&i.parents(”li.j-video“).length>0&&!this.model.get(”video_overlay“))return t.preventDefault(),this.model.hasInterval()&&this.userOptions.overlay?(this.stopCurrentlyPlaying(),this.openOverlay({target:i})):this.playVideo(i,i.parents(”li.j-video“));if(i.hasClass(”j-gallery-arrow“))return t.preventDefault(),new Juicer.Views.Gallery({target:i,el:this.el,model:this.model});if(i.parents(”.j-twitter-intents“).length>0)return t.preventDefault(),this.handleTwitterIntent(i);if(i.parents(”.feed-item.j-twitter“).length>0){if(!(i.is(”a“)||i.parents(”a“).length>0))return e=i.parents(”.feed-item“).data(”id“),r=this.model.get(”posts“).findWhere({id:e}),window.open(r.link(),”_blank“)}else if(this.userOptions.overlay&&!i.hasClass(”.feed-item.juicer“)&&!i.parents(”.feed-item.juicer“).length>0&&!i.parents(”.feed-item.j-twitter“).length>0)return t.preventDefault(),this.stopCurrentlyPlaying(),this.openOverlay({target:i})},n.prototype.trackClick=function(t){var e;return t=t.is(”li.feed-item“)?t:t.parents(”li.feed-item“),e=new Juicer.Models.Click({feed_id:this.model.get(”id“),post_id:t.data(”id“)}),e.save()},n.prototype.openOverlay=function(t){return this.postOverlay=new Juicer.Views.PostOverlay({target:t.target,model:this.model}),this.postOverlay.on(”render“,function(t){return function(){return t.runAfter(”overlay“)}}(this)),this.postOverlay.render()},n.prototype.deletePost=function(t){var e;return Juicer.Helpers.confirm(”Are you sure you want to delete this post?“)?(t=t.parents(”ul.actions“),e=new Juicer.Models.Post({id:t.data(”id“)}),t.parents(”.feed-item“).remove(),e.destroy()):!1},n.prototype.toggleSticky=function(t,e){var r,i;return null==e&&(e=”stick“),Juicer.Helpers.confirm(”Are you sure you want to “e” this post?“)?(t=t.parents(”ul.actions“),i=new Juicer.Models.Post({id:t.data(”id“)}),r={success:function(t){return function(e,r){return t.model.set(e,{parse:!0}),t.model.trigger(”action“)}}(this),error:function(){return alert(”Something went wrong.“)}},”stick“===e?i.stick®:i.unstick®):!1},n.prototype.playVideo=function(t,e){if(t=t.is(”a.j-image“)?t:t.parents(”a.j-image“),t.hasClass(”playing“)){if(this.stopVideo(t),this.slider)return this.slider.play()}else if(this.stopCurrentlyPlaying(),this.slider&&this.slider.stop(),t.addClass(”playing“),t.html(this.embedVideo(t.data(”external-id“),e,t.data(”video-url“))),null!=this.slider)return this.slider.$el.slick(”slickPause“)},n.prototype.stopVideo=function(t){return t.removeClass(”playing“),t.html(”<img src='“+t.data(”image“)+”' style='width:100%;display:block;' />“),null!=this.slider?this.slider.$el.slick(”slickPlay“):void 0},n.prototype.embedVideo=function(t,e,r){var i;return null==r&&(r=null),i=e.data(”source“),”tumblr“===i&&(r=this.parseTumblrVideo(e,r)),JST[”partials/video/_“i”_embed“]({id:t,video:r})},n.prototype.parseTumblrVideo=function(t,e){var r,i;return r=jQuery(jQuery.parseHTML(e)),r.removeAttr(”id class width height poster preload data-crt-video data-crt-options“),r.attr(”src“)&&(i=r.attr(”src“)+”&autoplay=1“,r.attr(”src“,i)),window.setTimeout(function(e){return function(){return t.find(”video“).play()}}(this),500),r.outerHTML},n.prototype.stopCurrentlyPlaying=function(){return _u.each(this.$(”.playing“),function(t){return function(e){return t.stopVideo(jQuery(e))}}(this))},n.prototype.handleTwitterIntent=function(t){var e,r,i,n,s,o;return n=550,e=420,s=screen.height,o=screen.width,i=0,r=Math.round(o/2-n/2),s>e&&(i=Math.round(s/2-e/2)),window.open(t.attr(”href“),”intent“,”scrollbars=yes,resizable=yes,toolbar=no,location=yes,width=“n”,height=“e”,top=“i”,left=“+r)},n.prototype.filterFeed=function(t){var e,r,i;return t.preventDefault(),r=jQuery(t.target),e=r.attr(”data-filter“),i=r.attr(”class“).replace(”selected“,”“).replace(” “,”“),this.model.filter===r.data(”filter“)?!1:(this.model.filter=r.data(”filter“),this.filter=r.data(”filter“),this.model.resetPage(),this.model.fetch({success:function(t){return function(){return t.$el.empty(),t.infiniteScroll&&t.infiniteScroll.close(),t.render(),t.delegateEvents()}}(this)}))},n.prototype.close=function(){return this.unbindChildren(),this.$el.removeClass(”j-initialized“),this.model.off(”new-posts“),this.model.off(”showLoader“),this},n.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()},n.prototype.reRender=function(){return this.unbindChildren(),this.render(),this.delegateEvents()},n}(JuicerBackbone.View)}.call(this),function(){var t=function(t,r){function i(){this.constructor=t}for(var n in r)e.call(r,n)&&(t=r);return i.prototype=r.prototype,t.prototype=new i,t.__super__=r.prototype,t},e={}.hasOwnProperty;Juicer.Views.Analytics=function(e){function r(){return r.__super__.constructor.apply(this,arguments)}return t(r,e),r.prototype.template=JST,r.prototype.overlay=JST,r.prototype.events={”click .launch“:”openAnalyticsOverlay“},r.prototype.openAnalyticsOverlay=function(t){return t.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()},r}(Juicer.Views.SubViewSlide)}.call(this),function(){var t=function(t,e){return function(){return t.apply(e,arguments)}},e=function(t,e){function i(){this.constructor=t}for(var n in e)r.call(e,n)&&(t=e);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},r={}.hasOwnProperty;Juicer.Views.Design=function®{function i(){return this.afterCssParsing=t(this.afterCssParsing,this),i.__super__.constructor.apply(this,arguments)}return e(i,r),i.prototype.template=JST,i.prototype.colorPicker=JST,i.prototype.cssOverlay=JST,i.prototype.title=”Custom Design“,i.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“},i.prototype.showColorPicker=function(t){var e,r;return r=$(t.target),r.hasClass(”feed-color“)||(r=r.parents(”.feed-color“)),this.$(”.color-fields“).remove(),e=r.data(”color“),r.after(this.colorPicker({color:this.feed.getColor(e),pattern:this.pattern,colorAttr:e}))},i.prototype.pattern=”^#+({6}|[a-fA-F0-9]{3})$“,i.prototype.updateColor=function(t){var e,r,i,n;return i=$(t.target),n=i.val(),n.match(this.pattern)?(r=i.hasClass(”hex-input“)?”.color-input“:”.hex-input“,this.$®.val(n),e=i.parents(”.color-fields“).data(”color“),this.$(”.color-example, .feed-color[data-color=‘“e”’] .color-picker-circle“).css({backgroundColor:n}),this.updateModel(e,n)):!1},i.prototype.updateModel=function(t,e){return this.feed.updateColor(t,e)},i.prototype.saveStyle=function(t){return this.feed.save(null,{success:function(e){return function(){return e.notifySuccess($(t.target))}}(this),error:function(){return alert(”Sorry your design didn't save properly. Please try again.“)}})},i.prototype.resetStyle=function(t){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(t){return function(){return t.feed.trigger(”action“),t.render()}}(this)})):void 0},i.prototype.notifySuccess=function(t){return t.text(”Saved!“),setTimeout(function(e){return function(){return t.text(”Save Custom Style“)}}(this),3e3)},i.prototype.openCustomCssOverlay=function(){return this.overlay=new Juicer.Views.Overlay({content:this.cssOverlay({feed:this.feed}),element:this.el,width:”50%“}),this.overlay.render()},i.prototype.submitCssForm=function(t){var e;return t.preventDefault(),e=$(t.target).serializeHash(),$.parsecss(e.css,this.afterCssParsing)},i.prototype.afterCssParsing=function(t){return this.feed.set(”custom_css“,this.stringifyCss(t)),this.feed.save(null,{success:function(t){return function(){ return t.overlay.removeView(),t.feed.trigger(”action“)}}(this),error:function(){return alert(”Something went wrong“)}})},i.prototype.stringifyCss=function(t){var e;return e=”“,_u.each(t,function(t,r){return e+=r+” {n“,_u.each(t,function(t,r){return e+=” “r”: “t”;n“}),e+=”}nn“}),e},i}(Juicer.Views.SubView)}.call(this),function(){var t=function(t,r){function i(){this.constructor=t}for(var n in r)e.call(r,n)&&(t=r);return i.prototype=r.prototype,t.prototype=new i,t.__super__=r.prototype,t},e={}.hasOwnProperty;Juicer.Views.Embed=function(e){function r(){return r.__super__.constructor.apply(this,arguments)}return t(r,e),r.prototype.embed=JST,r.prototype.template=JST,r.prototype.wordpress=JST,r.prototype.iframe=JST,r.prototype.menu=JST,r.prototype.title=”Embed In Your Site“,r.prototype.initialize=function(){return r.__super__.initialize.apply(this,arguments),this.currentlySelected=”site“},r.prototype.embedOptions=[{value:”site“,label:”Standard Website“},{value:”wordpress“,label:”Wordpress Site“},{value:”iframe“,label:”iframe“}],r.prototype.events={”change .embed-menu“:”switchEmbed“,”focus textarea“:”highlightField“},r.prototype.switchEmbed=function(t){return this.currentlySelected=$(t.target).val(),this.renderTemplate(),this.renderTitle()},r.prototype.renderTemplate=function(){return this.renderContent(),this.renderMenu()},r.prototype.renderContent=function(){switch(this.currentlySelected){case”wordpress“:return this.showWordPress();case”iframe“:return this.showIframe();default:return this.showEmbed()}},r.prototype.renderMenu=function(){return this.$el.prepend(this.menu({embedOptions:this.embedOptions,currentlySelected:this.currentlySelected}))},r.prototype.javascriptPath=function(){return this.assetPath(”embed.js“)},r.prototype.stylesheetPath=function(){return this.assetPath(”embed.css“)},r.prototype.assetPath=function(t){return Juicer.Constants.ASSET_PATH+”/“+t},r.prototype.showEmbed=function(){var t;return t=this.embed({feed:this.feed,javascript:this.javascriptPath(),stylesheet:this.stylesheetPath()}),t=t.replace(/<br />/g,”n“),this.$el.html(this.template({embed:t,feed:this.feed}))},r.prototype.showWordPress=function(){return this.$el.html(this.wordpress({feed:this.feed}))},r.prototype.showIframe=function(){var t,e,r;return t=this.feed.get(”height“)||1e3,r=this.feed.get(”width“)||1e3,1e3===t&&this.feed.slider()&&(t=300),e=”<iframe src='www.juicer.io/api/feeds/“+this.feed.get(”slug“)+”/iframe' frameborder='0' width='“r”' height='“t”' style='display:block;margin:0 auto;'></iframe>“,this.$el.html(this.iframe({iframe:e}))},r.prototype.highlightField=function(t){var e;if(e!==$(t.target))return e=$(t.target),setTimeout(function(){return e.select()},50)},r}(Juicer.Views.SubView)}.call(this),function(){var t=function(t,r){function i(){this.constructor=t}for(var n in r)e.call(r,n)&&(t=r);return i.prototype=r.prototype,t.prototype=new i,t.__super__=r.prototype,t},e={}.hasOwnProperty;Juicer.Views.Features=function(e){function r(){return r.__super__.constructor.apply(this,arguments)}return t(r,e),r.prototype.template=JST,r}(Juicer.Views.SubViewSlide)}.call(this),function(){var t=function(t,r){function i(){this.constructor=t}for(var n in r)e.call(r,n)&&(t=r);return i.prototype=r.prototype,t.prototype=new i,t.__super__=r.prototype,t},e={}.hasOwnProperty;Juicer.Views.Hub=function(e){function r(){return r.__super__.constructor.apply(this,arguments)}return t(r,e),r.prototype.template=JST,r}(Juicer.Views.SubViewSlide)}.call(this),function(){var t=function(t,e){return function(){return t.apply(e,arguments)}},e=function(t,e){function i(){this.constructor=t}for(var n in e)r.call(e,n)&&(t=e);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},r={}.hasOwnProperty;Juicer.Views.Moderate=function®{function i(){return this.pollForRevalidating=t(this.pollForRevalidating,this),this.revalidatingPoll=t(this.revalidatingPoll,this),this.closeOverlay=t(this.closeOverlay,this),i.__super__.constructor.apply(this,arguments)}return e(i,r),i.prototype.template=JST,i.prototype.revalidateOverlay=JST,i.prototype.title=”Moderate and Filter“,i.prototype.initialize=function(){return i.__super__.initialize.apply(this,arguments),this.initialAttributes=_u.pick(this.feed.attributes,”lazy_load“,”css“)},i.prototype.render=function(){return i.__super__.render.apply(this,arguments),new Juicer.Views.GooglePlaces({el:this.el}),this.toggleFilterBlocker()},i.prototype.events={”submit .filters“:”openOverlay“,”click .moderate-confirm“:”submitConfirmation“,”click .moderated“:”viewModeratedPosts“,”click .public“:”showPublic“,”change input#queue“:”toggleAndSubmit“},i.prototype.showPublic=function(t){return this.fetchFeed(),$(”.moderation-nav .active“).removeClass(”active“),$(t.target).addClass(”active“)},i.prototype.viewModeratedPosts=function(t){return t.preventDefault(),this.moderated=new Juicer.Models.Moderated({slug:this.feed.get(”slug“)}),$(window).unbind(”scroll“),$(”.moderation-nav .active“).removeClass(”active“),$(t.target).addClass(”active“),this.moderated.fetch({success:function(t){return function(){return t.feedView.close(),new Juicer.Views.Moderated({el:”ul.juicer-feed“,model:t.moderated}).render()}}(this),error:function(){return alert(”Something went wrong pulling in your moderated posts.“)}})},i.prototype.openOverlay=function(t){var e;return t.preventDefault(),e=$(t.target).serializeHash().feed,this.overlay=new Juicer.Views.Overlay({content:this.revalidateOverlay({data:e}),element:this.el,width:”50%“}),this.overlay.render()},i.prototype.closeOverlay=function(){return this.overlay.removeView()},i.prototype.submitConfirmation=function(t){var e,r;return t.preventDefault(),r=$(t.target),e=r.parents(”form“).serializeHash(),r.data(”revalidate“)?(r.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>“),e.revalidating=!0,this.updateFilters(e,this.revalidatingPoll)):(r.parents(”.submits“).html(”<div class='j-loading'>Loading…</div>“),this.updateFilters(e,this.closeOverlay))},i.prototype.updateFilters=function(t,e){return this.feed.set(t),this.feed.save(null,{success:function(t){return function(){return e()}}(this),error:function(){return alert(”Something went wrong!“)}})},i.prototype.revalidatingPoll=function(){return setTimeout(this.pollForRevalidating,5e3)},i.prototype.pollForRevalidating=function(){return this.feed.fetch({success:function(t){return function(){return t.feed.get(”revalidating“)?t.revalidatingPoll():(t.closeOverlay(),t.feed.trigger(”action“))}}(this),error:function(){return alert(”Something happened with polling. Please refresh page.“)}})},i.prototype.toggleAndSubmit=function(){return this.toggleFilterBlocker(),this.queueChecked()?this.$(”form“).trigger(”submit“):void 0},i.prototype.toggleFilterBlocker=function(){var t;return t=this.$(”.filter-blocker“),this.queueChecked()?t.show():t.hide()},i.prototype.queueChecked=function(){return this.$(”#queue“).is(”:checked“)},i.prototype.close=function(t){return null==t&&(t=null),null!=t&&t.preventDefault(),$(”li.selected“).removeClass(”selected“),i.__super__.close.apply(this,arguments),null!=this.moderated?this.fetchFeed():void 0},i.prototype.fetchFeed=function(){return this.feed.set(this.initialAttributes),this.feed.moderated?window.location=”/feeds/“+this.feed.get(”slug“):this.feed.fetch({success:function(t){return function(){return t.feed.trigger(”action“)}}(this)})},i}(Juicer.Views.SubView)}.call(this),function(){var t=function(t,e){return function(){return t.apply(e,arguments)}},e=function(t,e){function i(){this.constructor=t}for(var n in e)r.call(e,n)&&(t=e);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},r={}.hasOwnProperty;Juicer.Views.Settings=function®{function i(){return this.reRender=t(this.reRender,this),i.__super__.constructor.apply(this,arguments)}return e(i,r),i.prototype.template=JST,i.prototype.title=”Feed Settings“,i.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“},i.prototype.render=function(){return i.__super__.render.apply(this,arguments),this.toggleSettings(),this.feed.on(”change:css“,this.reRender)},i.prototype.renderTemplate=function(){return this.$el.html(this.template({feed:this.feed,checkboxes:this.checkboxes}))},i.prototype.reRender=function(){return this.$el.html(this.template({feed:this.feed,checkboxes:this.checkboxes})),this.renderTitle(),this.toggleSettings()},i.prototype.toggleSettings=function(){return this.feed.hasInterval()&&this.showInterval(),this.feed.hasInterval()||this.showFilter(),this.feed.hasColumns()?this.showColumns():void 0},i.prototype.showInterval=function(){return this.$(”.interval“).show()},i.prototype.showFilter=function(){return this.$(”.filter_setting“).show()},i.prototype.showColumns=function(){return this.$(”.columns“).show()},i.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.“}],i.prototype.updateColumns=function(t){var e,r;return r=$(t.target).val(),0<(e=r.length)&&2>e?(this.feed.set(”columns“,r),this.saveAndRender()):void 0},i.prototype.updateInterval=function(t){var e,r;return r=$(t.target).val(),3<(e=r.length)&&10>e||”0“===r?(this.feed.set(”interval“,r),this.saveAndRender()):void 0},i.prototype.updateDimensions=function(t){var e,r,i,n;return i=$(t.target),n=i.val(),e=i.attr(”class“),2<(r=n.length)&&5>r&&n>99&&5001>n||”“===n?(this.feed.set(e,n),this.saveAndRender()):void 0},i.prototype.updateCheckbox=function(t){var e,r;return e=$(t.target),r=e.is(”:checked“)?”1“:”0“,this.feed.set(e.data(”attribute“),r),this.saveAndRender()},i.prototype.updateStyle=function(t){return this.feed.set(”css“,$(t.target).val()),this.saveAndRender()},i.prototype.updateOrder=function(t){return this.feed.set(”order“,$(t.target).val()),this.saveAndRender()},i.prototype.updateFilter=function(t){return this.feed.set(”display_filter“,$(t.target).val()),this.saveAndRender()},i.prototype.saveAndRender=function(){return this.feed.trigger(”showLoader“),this.feed.save(null,{success:function(t){return function(){return t.feed.trigger(”action“)}}(this)})},i.prototype.highlightField=function(t){var e;if(e!==$(t.target))return e=$(t.target),setTimeout(function(){return e.select()},50)},i}(Juicer.Views.SubView)}.call(this),function(){var t=function(t,r){function i(){this.constructor=t}for(var n in r)e.call(r,n)&&(t=r);return i.prototype=r.prototype,t.prototype=new i,t.__super__=r.prototype,t},e={}.hasOwnProperty;Juicer.Views.SocialAccounts=function(e){function r(){return r.__super__.constructor.apply(this,arguments)}return t(r,e),r.prototype.template=JST,r.prototype.title=”Expired Social Accounts“,r}(Juicer.Views.SubViewSlide)}.call(this),function(){var t=function(t,e){return function(){return t.apply(e,arguments)}},e=function(t,e){function i(){this.constructor=t}for(var n in e)r.call(e,n)&&(t=e);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},r={}.hasOwnProperty;Juicer.Views.Sources=function®{function i(){return this.reRender=t(this.reRender,this),this.sort=t(this.sort,this),i.__super__.constructor.apply(this,arguments)}return e(i,r),i.prototype.template=JST,i.prototype.title=”Social Media Sources“,i.prototype.render=function(t){return i.__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},i.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“},i.prototype.removeSource=function(t){var e,r,i;return t.preventDefault(),i=$(t.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.“)?(e=i.data(”id“),r=new Juicer.Models.Source({id:e}),r.destroy({success:function(t){return function(r,n){return t.feed.set(n,{parse:!0}),$(”.existing-source[data-id=‘“e”’]“).remove(),i.parents(”.source-submenu“).remove(),t.feed.trigger(”action“)}}(this),error:function(){return alert(”uh oh, something went wrong.“)}})):void 0},i.prototype.openSourceForm=function(){return this.trigger(”openSourceForm“,this)},i.prototype.openSourceOverlay=function(t){var e,r;return t.preventDefault(),r=$(t.target),e=this.feed.get(”sources“).findWhere({id:r.data(”id“)}),this.overlay=new Juicer.Views.Overlay({content:JST({source:e,feed:this.feed}),width:”50%“,element:this.el}),this.overlay.render()},i.prototype.addPostManually=function(t){var e,r;return t.preventDefault(),r=$(t.target),r.find(”ul.errors“).remove(),e=r.serializeHash(),this.post=new Juicer.Models.Post(e),this.post.save(null,{success:function(t){return function(e,r){return t.feed.set(r,{parse:!0}),t.reRender(),t.feed.trigger(”action“)}}(this),error:function(t){return function(t,e){return new Juicer.Views.Errors({el:r,errors:e})}}(this)})},i.prototype.updateSource=function(t){var e,r;return t.preventDefault(),r=$(t.target),e=r.serializeHash(),this.source=new Juicer.Models.Source(e),this.source.save(null,{success:function(t){return function(e,r){return t.feed.set(r,{parse:!0}),t.reRender(),t.feed.trigger(”action“)}}(this),error:function(){return alert(”Something went wrong.“)}})},i.prototype.sort=function(t){var e;return e=_u.map($(t.target).find(”.existing-source“),function(t){return function(t){return $(t).data(”id“)}}(this)),this.feed.set({source_ids:e}),this.saveAndRender()},i.prototype.reRender=function(){return this.parent.renderSidebar()},i.prototype.toggleSubMenu=function(t){var e;return e=$(t.target),e.hasClass(”existing-source“)||(e=e.parents(”.existing-source“)),e.next(”.source-submenu“).slideToggle(),e.toggleClass(”open“)},i.prototype.saveAndRender=function(){return this.feed.trigger(”showLoader“),this.feed.save(null,{success:function(t){return function(){return t.feed.set({source_ids:null}),t.feed.trigger(”action“)}}(this)})},i}(Juicer.Views.SubView)}.call(this),function(){var t=function(t,r){function i(){this.constructor=t}for(var n in r)e.call(r,n)&&(t=r);return i.prototype=r.prototype,t.prototype=new i,t.__super__=r.prototype,t},e={}.hasOwnProperty;Juicer.Views.Synced=function(e){function r(){return r.__super__.constructor.apply(this,arguments)}return t(r,e),r.prototype.template=JST,r}(Juicer.Views.SubViewSlide)}.call(this),function(){var t=function(t,r){function i(){this.constructor=t}for(var n in r)e.call(r,n)&&(t=r);return i.prototype=r.prototype,t.prototype=new i,t.__super__=r.prototype,t},e={}.hasOwnProperty;Juicer.Views.ChurnForm=function(e){function r(){return r.__super__.constructor.apply(this,arguments)}return t(r,e),r.prototype.namespace=”churn“,r.prototype.createModel=function(){return new JuicerBackbone.Model},r}(Juicer.Views.FormView)}.call(this),function(){var t=function(t,r){function i(){this.constructor=t}for(var n in r)e.call(r,n)&&(t=r);return i.prototype=r.prototype,t.prototype=new i,t.__super__=r.prototype,t},e={}.hasOwnProperty;Juicer.Views.ContactForm=function(e){function r(){return r.__super__.constructor.apply(this,arguments)}return t(r,e),r.prototype.namespace=”contact_message“,r.prototype.createModel=function(){return new Juicer.Models.ContactMessageValidation},r}(Juicer.Views.FormView)}.call(this),function(){var t=function(t,r){function i(){this.constructor=t}for(var n in r)e.call(r,n)&&(t=r);return i.prototype=r.prototype,t.prototype=new i,t.__super__=r.prototype,t},e={}.hasOwnProperty;Juicer.Views.FeedForm=function(e){function r(){return r.__super__.constructor.apply(this,arguments)}return t(r,e),r.prototype.namespace=”feed“,r.prototype.createModel=function(){return new Juicer.Models.FeedValidation},r}(Juicer.Views.FormView)}.call(this),function(){var t=function(t,r){function i(){this.constructor=t}for(var n in r)e.call(r,n)&&(t=r);return i.prototype=r.prototype,t.prototype=new i,t.__super__=r.prototype,t},e={}.hasOwnProperty;Juicer.Views.UserForm=function(e){function r(){return r.__super__.constructor.apply(this,arguments)}return t(r,e),r.prototype.namespace=”user“,r.prototype.createModel=function(){return new Juicer.Models.UserValidation},r}(Juicer.Views.FormView)}.call(this),function(){var t=function(t,r){function i(){this.constructor=t}for(var n in r)e.call(r,n)&&(t=r);return i.prototype=r.prototype,t.prototype=new i,t.__super__=r.prototype,t},e={}.hasOwnProperty;Juicer.Views.UserUpdateForm=function(e){function r(){return r.__super__.constructor.apply(this,arguments)}return t(r,e),r.prototype.namespace=”user“,r.prototype.createModel=function(){var t;return t={email:$(”#user_email“).val(),noPassword:$(”#user_password“).length<1},new Juicer.Models.UserUpdateValidation(t)},r}(Juicer.Views.FormView)}.call(this),function(){var t=function(t,r){function i(){this.constructor=t}for(var n in r)e.call(r,n)&&(t=r);return i.prototype=r.prototype,t.prototype=new i,t.__super__=r.prototype,t},e={}.hasOwnProperty;Juicer.Views.Gallery=function(e){function r(){return r.__super__.constructor.apply(this,arguments)}return t(r,e),r.prototype.initialize=function(t){var e,r,i,n,s,o,a,l;return l=t.target,n=l.parents(”.j-gallery“),e=n.data(”id“),o=this.model.get(”posts“).findWhere({id:e}),r=n.find(”.j-image img“),a=r.attr(”src“),s=o.get(”additional_photos“),i=s.indexOf(a),-1===i&&(i=0),l.hasClass(”j-gallery-next“)?i+=1:l.hasClass(”j-gallery-previous“)&&(i-=1),i>=s.length&&(i=0),0>i&&(i=s.length-1),r.attr(”src“,s)},r}(JuicerBackbone.View)}.call(this),function(){var t=function(t,r){function i(){this.constructor=t}for(var n in r)e.call(r,n)&&(t=r);return i.prototype=r.prototype,t.prototype=new i,t.__super__=r.prototype,t},e={}.hasOwnProperty;Juicer.Views.GdprOverlay=function(e){function r(){return r.__super__.constructor.apply(this,arguments)}return t(r,e),r.prototype.template=JST.gdpr_form,r.prototype.initialize=function(){return this.overlay=new Juicer.Views.Overlay({content:this.template(),element:this.el,width:”50%“}),this.overlay.render()},r}(JuicerBackbone.View)}.call(this),function(){var t=function(t,e){return function(){return t.apply(e,arguments)}},e=function(t,e){function i(){this.constructor=t}for(var n in e)r.call(e,n)&&(t=e);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},r={}.hasOwnProperty;Juicer.Views.GooglePlaces=function®{function i(){return this.setGeometry=t(this.setGeometry,this),i.__super__.constructor.apply(this,arguments)}return e(i,r),i.prototype.initialize=function(){return $.getScript(”maps.googleapis.com/maps/api/js?key=“Juicer.Constants.GOOGLE_MAPS_KEY”&libraries=places“,function(t){return function(){var e;return e=t.$(”input#location“),t.searchBox=new google.maps.places.SearchBox(e),t.searchBox.addListener(”places_changed“,t.setGeometry)}}(this))},i.prototype.setGeometry=function(){var t,e;return e=this.searchBox.getPlaces(),t=e,window.place=t,this.$(”input#lat“).val(t.geometry.location.lat()),this.$(”input#lng“).val(t.geometry.location.lng()),this.$(”input“).removeAttr(”disabled“)},i}(JuicerBackbone.View)}.call(this),function(){var t=function(t,r){function i(){this.constructor=t}for(var n in r)e.call(r,n)&&(t=r);return i.prototype=r.prototype,t.prototype=new i,t.__super__=r.prototype,t},e={}.hasOwnProperty;Juicer.Views.Graph=function(e){function r(){return r.__super__.constructor.apply(this,arguments)}return t(r,e),r.prototype.initialize=function(){var t,e,r,i,n;return n=1e3,r=600,t=d3.scale.category20(),e=d3.layout.force().linkDistance(10).linkStrength(2).size(),i=d3.select(this.el).append(”svg“).attr(”width“,n).attr(”height“,r),d3.json(”/graph.json“,function(t,r){var n,s,o,a,l;l=r.nodes.slice(),o=[],n=,r.links.forEach(function(t){var e,r,i;r=l,i=l,e={},l.push(e),o.push({source:r,target:e},{source:e,target:i}),n.push()}),e.nodes(l).links(o).start(),s=i.selectAll(”.link“).data(n).enter().append(”path“).attr(”class“,”link“),a=i.selectAll(”.node“).data(r.nodes).enter().append(”circle“).attr(”class“,”node“).attr(”r“,5).style(”fill“,function(t){return”#ffffff“}).call(e.drag),a.append(”title“).text(function(t){return t.name}),e.on(”tick“,function(){s.attr(”d“,function(t){return”M“t[0].x”,“t[0].y”S“t[1].x”,“t[1].y” “t[2].x”,“+t.y}),a.attr(”transform“,function(t){return”translate(“t.x”,“t.y”)“})})})},r}(JuicerBackbone.View)}.call(this),function(){var t=function(t,r){function i(){this.constructor=t}for(var n in r)e.call(r,n)&&(t=r);return i.prototype=r.prototype,t.prototype=new i,t.__super__=r.prototype,t},e={}.hasOwnProperty;Juicer.Views.Home=function(e){function r(){return r.__super__.constructor.apply(this,arguments)}return t(r,e),r.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},r.prototype.events={”click .learn-more“:”scrollDown“,”click .show“:”renderExample“,”change select“:”reRenderFeed“,”click .hide-feed“:”hideFeed“},r.prototype.scrollDown=function(t){var e;return t.preventDefault(),e=this.$(”.what-is-juicer“).offset().top,$(”html,body“).animate({scrollTop:e},{easing:”swing“,duration:500})},r.prototype.renderExample=function(t){var e;return t.preventDefault(),e=$(t.target),e.html(”Loading…“),this.model=new Juicer.Models.Feed({slug:”juicer“,per:16,order:”random“}),this.model.fetch({success:function(t){return function(){return t.renderFeed(),$(”.style-picker“).css(”display“,”inline-block“),$(”.hide-feed“).show(),e.hide()}}(this),error:function(){return console.log(”Example did not load!“)}})},r.prototype.reRenderFeed=function(t){var e,r;return this.$(”.juicer-feed“).remove(),this.$(”.juicer-example“).append(”<ul class='juicer-feed' data-pages='1'></ul>“),r=$(t.target).val(),e=this.map®,this.model.set(e),this.renderFeed()},r.prototype.renderFeed=function(){return new Juicer.Views.Feed({el:”.juicer-feed“,model:this.model}).render()},r.prototype.hideFeed=function(t){return t.preventDefault(),this.$(”.juicer-feed“).html(”“),$(”.style-picker“).hide(),$(t.target).hide(),this.$(”.show“).show().html(”Show me an example feed!“)},r.prototype.map=function(t){switch(t){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}}},r}(JuicerBackbone.View)}.call(this),function(){var t=function(t,r){function i(){this.constructor=t}for(var n in r)e.call(r,n)&&(t=r);return i.prototype=r.prototype,t.prototype=new i,t.__super__=r.prototype,t},e={}.hasOwnProperty;Juicer.Views.HomeSlider=function(e){function r(){return r.__super__.constructor.apply(this,arguments)}return t(r,e),r.prototype.item=”.explainer-list-item“,r.prototype.initialize=function(){return this.activate(this.$(this.item).first())},r.prototype.events={”mouseenter .explainer-list-item“:”toggleSlider“},r.prototype.toggleSlider=function(t){var e;return e=$(t.target),e.is(this.item)||(e=e.parents(this.item)),e.hasClass(”active“)?void 0:this.activate(e)},r.prototype.activate=function(t){var e,r;return r=t.data(”slide“),this.$(”.explainer-list-item.active“).removeClass(”active“),t.addClass(”active“),e=this.$(”.slider-images .“+r),e.attr(”src“)?this.slide(e):this.loadImage(e)},r.prototype.slide=function(t){return this.$(”.slider-images .active“).removeClass(”active“),t.addClass(”active“)},r.prototype.loadImage=function(t){var e,r;return e=new Image,r=t.data(”src“),e.onload=function(e){return function(){return t.attr(”src“,r),e.slide(t)}}(this),e.src=r},r}(JuicerBackbone.View)}.call(this),function(){var t=function(t,e){return function(){return t.apply(e,arguments)}},e=function(t,e){function i(){this.constructor=t}for(var n in e)r.call(e,n)&&(t=e);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},r={}.hasOwnProperty;Juicer.Views.InfiniteScroll=function®{function i(){return this.checkForPagination=t(this.checkForPagination,this),i.__super__.constructor.apply(this,arguments)}return e(i,r),i.prototype.el=function(){return this.model.hasHeight()?”ul.juicer-feed“:window},i.prototype.initialize=function(t){return this.template=t.template||JST,this.container=t.container,this.admin=t.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},i.prototype.limitReached=function(){return this.lessThanLimit()||this.setPagesLimit()},i.prototype.lessThanLimit=function(){return this.posts.length<this.posts.limit_value},i.prototype.setPagesLimit=function(){return this.posts.current_page>=this.pages},i.prototype.removeLoadMore=function(){return jQuery(”.j-paginate“).remove()},i.prototype.checkForPagination=function(){return this.scrollPoint()>this.triggerPoint()&&!this.stopped?this.nextPage():void 0},i.prototype.shouldInfinitelyScroll=function(){return this.model.get(”infinite_scroll“)&&!this.stopped},i.prototype.shouldShowLoadMore=function(){return!this.model.get(”infinite_scroll“)&&!this.stopped},i.prototype.nextPage=function(){return this.stop(),this.model.nextPage(),this.model.fetch({remove:!1,success:function(t){return function(e,r){return t.appendPosts®,t.trigger(”paginate“)}}(this),error:function(){return console.log(”Juicer Infinite Scroll Problem.“)}})},i.prototype.appendPosts=function(t){var e,r;return jQuery(”.j-loading, .j-loading-wrapper“).remove(),r=new Juicer.Models.Feed(t,{parse:!0}),this.posts=r.get(”posts“),this.posts.length>0&&(e=jQuery(this.template({feed:r,admin:this.admin}))),this.model.isGrid()?this.container.gridalicious(”append“,e):this.container.append(e),this.limitReached()||this.start(),this.shouldShowLoadMore()?void 0:this.removeLoadMore()},i.prototype.scrollPoint=function(){return this.$el.scrollTop()+2*this.$el.outerHeight()},i.prototype.triggerPoint=function(){return this.model.hasHeight()?this.container.prop(”scrollHeight“):this.container.offset().top+this.container.outerHeight()},i.prototype.start=function(){return this.stopped=!1},i.prototype.stop=function(){return this.stopped=!0},i.prototype.close=function(){return this.$el.empty().off(),this.model.resetPage(),this.stopListening(),this},i}(JuicerBackbone.View)}.call(this),function(){var t=function(t,e){return function(){return t.apply(e,arguments)}},e=function(t,e){function i(){this.constructor=t}for(var n in e)r.call(e,n)&&(t=e);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},r={}.hasOwnProperty;Juicer.Views.LazyLoad=function®{function i(){return this.checkImages=t(this.checkImages,this),i.__super__.constructor.apply(this,arguments)}return e(i,r),i.prototype.el=window,i.prototype.initialize=function(t){return this.view=t.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()},i.prototype.checkImages=function(){return _u.each(this.view.$el.find(”img:not()“),function(t){return function(e){return e=jQuery(e),e.offset().top<t.scrollPoint(t.$el)&&e.attr(”src“,e.data(”lazy“)),t.model.hasHeight()&&e.offset().top<t.scrollPoint(t.feed())?e.attr(”src“,e.data(”lazy“)):void 0}}(this))},i.prototype.scrollPoint=function(t){return t.scrollTop()+t.height()+500},i.prototype.feed=function(){return jQuery(”ul.juicer-feed“)},i.prototype.close=function(){return this.$el.off(”scroll“),this.feed().off(”scroll“)},i}(JuicerBackbone.View)}.call(this),function(){var t=function(t,e){return function(){return t.apply(e,arguments)}},e=function(t,e){function i(){this.constructor=t}for(var n in e)r.call(e,n)&&(t=e);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},r={}.hasOwnProperty;Juicer.Views.LivingWall=function®{function i(){return this.rotatePost=t(this.rotatePost,this),i.__super__.constructor.apply(this,arguments)}return e(i,r),i.prototype.template=JST,i.prototype.customCss=JST,i.prototype.initialize=function(t){return this.interval=t.interval,this.admin=t.admin,this.columns=t.columns,this.gutter=t.gutter,this.equal=t.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(t){return function(){return t.resize()}}(this),300))},i.prototype.setSizes=function(){var t;return this.handleResponsiveColumns(),t=this.gutter*(2*this.columns-1),this.width=this.$el.width()-t,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},i.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},i.prototype.render=function(){var t,e,r;return t=8*this.columns,this.setLargeCount(),this.smallCount=t-4*this.largeCount,this.total=this.largeCount+this.smallCount,r=_u.map(this.initialPosts(),function(t){return function(e){return t.renderPost(e)}}(this)),e=_u.sample(r,this.largeCount),_u.each(e,function(t){return function(e){return e.addClass(”j-large“),t.setDimensions(e)}}(this)),_u.each(r,function(t){return function(e){return e.hasClass(”j-large“)?!1:(e.addClass(”j-small“),t.setDimensions(e))}}(this)),this.$el.append(this.customCss({feed:this.model})),this.$el.append®,this.$el.packery(this.packeryOptions()),this.handleInterval(),this.ensureProperSize(),this},i.prototype.resize=function(){return this.$el.outerWidth()!==this.windowWidth?this.reRender():void 0},i.prototype.reRender=function(){return this.setSizes(),this.render()},i.prototype.setLargeCount=function(){return this.largeCount=this.equal?0:this.columns%2!==0?this.columns-1:this.columns},i.prototype.packeryOptions=function(){return{gutter:this.gutter,itemSelector:”.feed-item“,resize:!1}},i.prototype.handleInterval=function(){return document.hidden||this.startInterval(), jQuery(document).on(”show“,function(t){return function(){return t.startInterval()}}(this)),jQuery(document).on(”hide“,function(t){return function(){return t.stopInterval()}}(this))},i.prototype.startInterval=function(){return null==this.id?this.id=setInterval(this.rotatePost,this.interval):void 0},i.prototype.stopInterval=function(){return null!=this.id&&window.clearInterval(this.id),this.id=null},i.prototype.ensureProperSize=function(){var t,e,r;return this.retryTimes>9?!1:(r=3*this.gutter,t=4*this.small,Math.floor(t)-r<=(e=this.$el.height())&&e<=Math.ceil(t)+r?void 0:(this.retryTimes++,this.close(),this.render()))},i.prototype.renderPost=function(t){return t=jQuery(this.template({post:t,admin:this.admin})),imagesLoaded(t,function(){var e;return e=t.find(”img“),e.width()>e.height()?e.addClass(”landscape“):void 0}),t},i.prototype.initialPosts=function(){var t;return t=this.total-1,this.posts().slice(0,+t+1||9e9)},i.prototype.nextPost=function(){return this.total++,this.total>=this.posts().length&&(this.model.pollingAllowed()&&this.model.fetchNewPosts(!1),this.total=0),this.posts()},i.prototype.posts=function(){var t;return t=this.model.get(”posts“).models,t=_u.select(t,function(t){return!t.twitter()})},i.prototype.randomPost=function(){return jQuery(_u.sample(this.$(”.feed-item“).not(”.j-sticky“)))},i.prototype.setDimensions=function(t){var e;return e=t.hasClass(”j-small“)?this.small:this.large,t.css({width:this.size(t),height:this.size(t)})},i.prototype.rotatePost=function(){var t,e,r;return r=this.randomPost(),t=this.nextPost(),t.stickied()&&(t=this.nextPost()),e=this.renderPost(t),this.cloneStyle(r,e)},i.prototype.cloneStyle=function(t,e){var r,i,n,s,o,a,l;return e.addClass(t.hasClass(”j-small“)?”j-small“:”j-large“),this.setDimensions(e),l=this.size(t),i={top:l,left:l},r=this.merge(this.vectorMap(),i,”*“),n=a=t.position(),s=this.merge(a,r,”-“),o=this.merge(a,r,”+“),e.css(_u.extend(s,this.underCss)),t.css(this.underCss),t.before(e),window.setTimeout(function(){return t.css(o),e.css(n),window.setTimeout(function(){return t.remove(),e.css({zIndex:2})},500)},100)},i.prototype.size=function(t){return t.hasClass(”j-small“)?this.small:this.large},i.prototype.merge=function(t,e,r){var i;return null==r&&(r=”+“),i={},_u.each(_u.keys(t),function(n){return function(n){return”+“===r?i=t+e:”*“===r?i=t*e:”-“===r?i=t-e:void 0}}(this)),i},i.prototype.vectorMap=function(){var t,e;return e=_u.sample(),t=_u.shuffle(),{top:t,left:t}},i.prototype.underCss={zIndex:1},i.prototype.close=function(){return this.stopInterval(),this.$el.empty(),this.$el.packery(”destroy“),jQuery(document).off(”show hide“),this.stopListening(),this},i}(JuicerBackbone.View)}.call(this),function(){var t=function(t,r){function i(){this.constructor=t}for(var n in r)e.call(r,n)&&(t=r);return i.prototype=r.prototype,t.prototype=new i,t.__super__=r.prototype,t},e={}.hasOwnProperty;Juicer.Views.LocationPicker=function(e){function r(){return r.__super__.constructor.apply(this,arguments)}return t(r,e),r.prototype.template=JST.location_picker,r.prototype.initialize=function(t){return this.$el.html(this.template(t)),this.$el.attr(”id“,”new_source“)},r.prototype.events={”click li“:”submitForm“},r.prototype.submitForm=function(t){var e;return e=$(t.target),this.$(”input#term“).val(e.data(”id“)),this.$(”input#name“).val(e.data(”name“)),this.trigger(”submit“,this.$el.serializeHash())},r}(JuicerBackbone.View)}.call(this),function(){var t=function(t,e){return function(){return t.apply(e,arguments)}},e=function(t,e){function i(){this.constructor=t}for(var n in e)r.call(e,n)&&(t=e);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},r={}.hasOwnProperty;Juicer.Views.Moderated=function®{function i(){return this.reRender=t(this.reRender,this),i.__super__.constructor.apply(this,arguments)}return e(i,r),i.prototype.template=JST.moderated,i.prototype.loading=JST,i.prototype.urmNotEligible=JST,i.prototype.urmConnectSocial=JST,i.prototype.upgradeToCampaign=JST,i.prototype.urmRequest=JST,i.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“},i.prototype.render=function(){var t;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()})),t=Math.floor(this.$el.outerWidth()/3),200>t&&(t=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:t,gutter:this.gutter}),null==this.infiniteScroll?!0:this.infiniteScroll.shouldShowLoadMore()?void 0:this.infiniteScroll.removeLoadMore())},i.prototype.startInfiniteScroll=function(){return this.model.resetPage(),this.infiniteScroll=new Juicer.Views.InfiniteScroll({container:this.$el,model:this.model})},i.prototype.appendNextPage=function(t){return t.preventDefault(),this.$(”.j-paginate“).replaceWith(this.loading()),this.infiniteScroll.nextPage()},i.prototype.restorePost=function(t){var e;return e=this.hidePost(t,”Approving…“),e.restore()},i.prototype.rejectPost=function(t){var e;return e=this.hidePost(t,”Rejecting…“),e.reject()},i.prototype.urmRequestPost=function(t){var e,r;return e=this.hidePost(t,null,!1),r=$(t.target),this.model.campaign()?e.urmEligible()?e.urmSocialConnected(this.model)?this.overlay=new Juicer.Views.UrmRequest({el:this.el,post:e,feed:this.model}).render():this.overlay=new Juicer.Views.Overlay({content:this.urmConnectSocial({post:e}),element:this.el,width:”50%“}):this.overlay=new Juicer.Views.Overlay({content:this.urmNotEligible({post:e}),element:this.el,width:”50%“}):this.overlay=new Juicer.Views.Overlay({content:this.upgradeToCampaign({post:e}),element:this.el,width:”50%“}),this.overlay.render()},i.prototype.restoreFromUrm=function(t){var e;return e=this.hidePost(t,null,!1),e.restore(),this.overlay.removeView(),$(”“).parents(”.feed-item“).hide().remove()},i.prototype.hidePost=function(t,e,r){var i,n;return null==r&&(r=!0),t.preventDefault(),null!=e&&$(t.target).html(e),n=$(t.target).parents(”.actions“),i=this.fetchPost(n.data(”id“)),r&&n.parents(”.feed-item“).hide().remove(),i},i.prototype.fetchPost=function(t){return this.model.get(”posts“).findWhere({id:t})},i.prototype.filterFeed=function(t){var e,r,i;return t.preventDefault(),i=jQuery(t.target),r=i.attr(”data-filter“),e=i.parents(”ul“),this.model.filter=i.data(”filter“),this.model.resetPage(),this.model.fetch({success:function(t){return function(){return t.reRender()}}(this)})},i.prototype.bulkModerate=function(t){var e,r;return e=null!=$(t.target).data(”approve“),r=e?”approve“:”reject“,Juicer.Helpers.confirm(”Are you sure you want to “r” all of these posts?“)?(this.$(”.bulk-moderate-nav“).html(”<div class='j-loading'>Loading…</div>“),this.model.bulkModerate(e,this.model.filter),setTimeout(function(){return location.reload()},1e4)):void 0},i.prototype.unbindChildren=function(){return this.$el.empty().off(),this.infiniteScroll&&this.infiniteScroll.close(),this.model.off(”new-posts“,this.reRender),this.stopListening()},i.prototype.reRender=function(){return this.unbindChildren(),this.render(),this.delegateEvents()},i.prototype.menuItems=function(){var t;return t=this.baseMenuItems,this.model.campaign()&&(t=this.pendingMenu.concat(t)),t=this.allMenu.concat(t)},i.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“}],i.prototype.pendingMenu=[{filter:”Pending“,title:”URM Pending Permission“}],i.prototype.allMenu=[{filter:void 0,title:”All“}],i}(JuicerBackbone.View)}.call(this),function(){var t=function(t,r){function i(){this.constructor=t}for(var n in r)e.call(r,n)&&(t=r);return i.prototype=r.prototype,t.prototype=new i,t.__super__=r.prototype,t},e={}.hasOwnProperty;Juicer.Views.Nav=function(e){function r(){return r.__super__.constructor.apply(this,arguments)}return t(r,e),r.prototype.events={”click .menu“:”toggleMenuOpen“,”click .sidebar-toggle“:”toggleSidebarOpen“},r.prototype.toggleMenuOpen=function(){var t;return $(”.main-container“).removeClass(”open-right“).toggleClass(”open-left“),t=$(”.side-nav“),t.hasClass(”opened“)?t.toggleClass(”opened“):setTimeout(function(){return t.toggleClass(”opened“)},200)},r.prototype.toggleSidebarOpen=function(t){return $(”.main-container“).removeClass(”open-left“).toggleClass(”open-right“)},r}(JuicerBackbone.View)}.call(this),function(){var t=function(t,r){function i(){this.constructor=t}for(var n in r)e.call(r,n)&&(t=r);return i.prototype=r.prototype,t.prototype=new i,t.__super__=r.prototype,t},e={}.hasOwnProperty;Juicer.Views.NewFeed=function(e){function r(){return r.__super__.constructor.apply(this,arguments)}return t(r,e),r.prototype.template=JST.new_feed,r.prototype.initialize=function(){return this.socialAccounts=new Juicer.Collections.SocialAccounts,this.socialAccounts.fetch({success:function(t){return function(){return t.sourceForm=new Juicer.Views.SourceForm({el:t.el,socialAccounts:t.socialAccounts}),t.sourceForm.on(”create“,t.nextPage,t),t.render(),new Juicer.Views.OverlayReopener({model:t.feed,sourceForm:t.sourceForm}).render(t.el)}}(this),error:function(){return alert(”Something went wrong while fetching your connected social accounts“)}})},r.prototype.render=function(){return this.$el.html(this.template())},r.prototype.nextPage=function(t){return window.location=”/feeds/“+t.get(”slug“)},r}(JuicerBackbone.View)}.call(this),function(){var t=function(t,e){return function(){return t.apply(e,arguments)}},e=function(t,e){function i(){this.constructor=t}for(var n in e)r.call(e,n)&&(t=e);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},r={}.hasOwnProperty;Juicer.Views.Overlay=function®{function i(){return this.handleKeypress=t(this.handleKeypress,this),i.__super__.constructor.apply(this,arguments)}return e(i,r),i.prototype.className=”j-overlay“,i.prototype.template=JST.overlay,i.prototype.initialize=function(t){return this.element=t.element||”body“,this.content=t.content,this.width=t.width,this.close=t.close===!1?!1:!0,jQuery(document).bind(”keydown“,this.handleKeypress)},i.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},i.prototype.events=function(){return{”click .j-close“:”closeOverlay“,click:”removeOverlay“,”click .j-navigate a“:”triggerNavigate“,”click a.share“:”openPopup“,”click .j-gallery-arrow“:”gallery“}},i.prototype.gallery=function(t){return t.preventDefault(),this.trigger(”trigger:gallery“,jQuery(t.target))},i.prototype.removeOverlay=function(t){var e;return e=jQuery(t.target),e.hasClass(”j-overlay-content“)||e.parents(”.j-overlay-content“).length>0?void 0:this.removeView()},i.prototype.closeOverlay=function(t){return t.preventDefault(),this.removeView()},i.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)},i.prototype.triggerNavigate=function(t){return t.preventDefault(),this.trigger(”trigger:navigate“,jQuery(t.target).data(”post-id“))},i.prototype.openPopup=function(t){var e;return t.preventDefault(),e=jQuery(t.target),window.open(e.attr(”href“),”pop“,”width=600, height=400, scrollbars=no“)},i.prototype.handleKeypress=function(t){switch(t.keyCode){case 37:return this.$(”.j-previous“).click();case 39:return this.$(”.j-next“).click();case 27:return this.closeOverlay(t)}},i.prototype.handleBrokenImages=function(){return this.$(”.j-poster img“).on(”error“,function(t){return function(t){return console.log(”hiding broken profile image in overlay.“),$(t.target).hide()}}(this)),this.$(”img.j-content-image“).on(”error“,function(t){return function(t){var e;return e=jQuery(t.target).parents(”.image“),e.length>0?(console.log(”Hiding broken image in overlay.“),e.hide()):void 0}}(this)),this.$(”video source“).on(”error“,function(t){return function(t){var e;return e=$(t.target).parents(”.instagram-wrapper, .twitter-wrapper, .video-wrapper“),console.log(”hiding broken video in overlay“),e.hide()}}(this))},i}(JuicerBackbone.View)}.call(this),function(){var t=function(t,e){return function(){return t.apply(e,arguments)}},e=function(t,e){function i(){this.constructor=t}for(var n in e)r.call(e,n)&&(t=e);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},r={}.hasOwnProperty;Juicer.Views.OverlayReopener=function®{function i(){return this.reRender=t(this.reRender,this),i.__super__.constructor.apply(this,arguments)}return e(i,r),i.prototype.el=window,i.prototype.storageKey=”juicer_overlay_open“,i.prototype.initialize=function(t){return null==t&&(t={}),this.sourceForm=t.sourceForm,this.parent=t.parent,this.reopened=!1},i.prototype.render=function(t){return this.overlayShouldReopen()&&(null==this.sourceForm&&(this.sourceForm=new Juicer.Views.SourceForm({el:t,feed:this.model})),this.sourceForm.openOverlay(this.get()),null!=this.parent&&this.sourceForm.on(”create“,this.reRender),this.clear(),this.reopened=!0),this},i.prototype.reRender=function(){return this.parent.renderSidebar()},i.prototype.overlayShouldReopen=function(){return!!this.get()},i.prototype.get=function(){var t;return t=this.el.localStorage.getItem(this.storageKey),JSON.parse(t)},i.prototype.set=function(t){var e;return e=JSON.stringify(t),this.el.localStorage.setItem(this.storageKey,e)},i.prototype.clear=function(){return this.el.localStorage.setItem(this.storageKey,null)},i}(JuicerBackbone.View)}.call(this),function(){var t=function(t,r){function i(){this.constructor=t}for(var n in r)e.call(r,n)&&(t=r);return i.prototype=r.prototype,t.prototype=new i,t.__super__=r.prototype,t},e={}.hasOwnProperty;Juicer.Views.Payment=function(e){function r(){return r.__super__.constructor.apply(this,arguments)}return t(r,e),r.prototype.initialize=function(t){return this.toggleYear()},r.prototype.events={”change year“:”toggleYear“},r.prototype.toggleYear=function(){var t,e,r,i,n;return i=this.$(”#year“),r=$(”“),e=$(”.simple-plan-monthly“),t=r.data(”price“),i.is(”:checked“)?(n=Math.ceil(12*t-12*t*.1),r.html(”$“+n),e.html(”/ yr“)):(r.html(”$“+t),e.html(”/ mo“))},r}(JuicerBackbone.View)}.call(this),function(){var t=function(t,r){function i(){this.constructor=t}for(var n in r)e.call(r,n)&&(t=r);return i.prototype=r.prototype,t.prototype=new i,t.__super__=r.prototype,t},e={}.hasOwnProperty;Juicer.Views.Plans=function(e){function r(){return r.__super__.constructor.apply(this,arguments)}return t(r,e),r.prototype.template=JST.plan_change,r.prototype.events={”click [data-plan]“:”openNewPlanOverlay“},r.prototype.openNewPlanOverlay=function(t){var e;return t.preventDefault(),e=$(t.target),this.model=new Juicer.Models.Plan,this.model.fetch({data:{plan:e.data(”plan“)},success:function(t){return function(){return t.csrf=$(‘meta').attr(”content“),t.overlay=new Juicer.Views.Overlay({content:t.template({model:t.model,csrf:t.csrf}),element:t.el,width:”50%“}),t.overlay.render()}}(this)})},r}(JuicerBackbone.View)}.call(this),function(){var t=function(t,r){function i(){this.constructor=t}for(var n in r)e.call(r,n)&&(t=r);return i.prototype=r.prototype,t.prototype=new i,t.__super__=r.prototype,t},e={}.hasOwnProperty;Juicer.Views.PostEdit=function(e){function r(){return r.__super__.constructor.apply(this,arguments)}return t(r,e),r.prototype.template=JST.post_edit,r.prototype.message=JST,r.prototype.className=”j-overlay“,r.prototype.initialize=function(t){return this.setPost(t)},r.prototype.setPost=function(t){var e;return e=this.model.get(”posts“),this.post=e.get(t.id)},r.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()},r.prototype.events=function(){return{”input textarea“:”updatePreview“,”submit form“:”savePost“}},r.prototype.updatePreview=function(t){return this.post.set(”edit“,$(t.target).val()),this.$(”.message-container“).html(this.message({post:this.post}))},r.prototype.savePost=function(t){return t.preventDefault(),this.post.save(null,{success:function(t){return function(e,r){return t.overlay.removeView(),t.model.set(r,{parse:!0}),t.model.trigger(”action“)}}(this),error:function(){return alert(”Something went wrong. Please try again.“)}})},r}(JuicerBackbone.View)}.call(this),function(){var t=function(t,e){return function(){return t.apply(e,arguments)}},e=function(t,e){function i(){this.constructor=t}for(var n in e)r.call(e,n)&&(t=e);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},r={}.hasOwnProperty;Juicer.Views.PostOverlay=function®{function i(){return this.cycleGallery=t(this.cycleGallery,this),this.navigateOverlay=t(this.navigateOverlay,this),i.__super__.constructor.apply(this,arguments)}return e(i,r),i.prototype.template=JST.post_overlay,i.prototype.initialize=function(t){return this.model=t.model,this.setPost(t.target)},i.prototype.triggers=function(){return{”click a.next“:”navigateOverlay“,”click a.previous“:”navigateOverlay“}},i.prototype.setPost=function(t){var e;return t=t.is(”li.feed-item“)?t:t.parents(”li.feed-item“),e=t.data(”id“),this.assignPosts(e)},i.prototype.assignPosts=function(t){var e,r,i,n;return i=this.model.get(”posts“),this.post=i.get(t),e=i.indexOf(this.post),r=e+1<i.length?e+1:0,n=e-1>=0?e-1:i.length-1,this.next=i.at®,”Juicer“===this.next.sourceType()&&(this.next=i.at(r+1)),this.previous=i.at(n),”Juicer“===this.previous.sourceType()?this.previous=i.at(n-1):void 0},i.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)},i.prototype.navigateOverlay=function(t){return this.overlay.removeView(),this.assignPosts(t),this.render()},i.prototype.cycleGallery=function(t){return new Juicer.Views.Gallery({target:t,el:this.el,model:this.model})},i}(JuicerBackbone.View)}.call(this),function(){var t=function(t,r){function i(){this.constructor=t}for(var n in r)e.call(r,n)&&(t=r);return i.prototype=r.prototype,t.prototype=new i,t.__super__=r.prototype,t},e={}.hasOwnProperty;Juicer.Views.SideNav=function(e){function r(){return r.__super__.constructor.apply(this,arguments)}return t(r,e),r.prototype.events={”click li#collapseable“:”toggleOtherFeeds“},r.prototype.toggleOtherFeeds=function(t){var e,r;return t.preventDefault(),r=$(t.target),e=r.next(),e.is(”:visible“)?(e.slideUp(),r.removeClass(”selected“)):(e.slideDown(),r.addClass(”selected“))},r}(JuicerBackbone.View)}.call(this),function(){var t=function(t,e){return function(){return t.apply(e,arguments)}},e=function(t,e){function i(){this.constructor=t}for(var n in e)r.call(e,n)&&(t=e);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},r={}.hasOwnProperty;Juicer.Views.Sidebar=function®{function i(){return this.openSourceFormFromSources=t(this.openSourceFormFromSources,this),this.openSubView=t(this.openSubView,this),this.openNewSource=t(this.openNewSource,this),this.reRenderCss=t(this.reRenderCss,this),this.reRender=t(this.reRender,this),this.render=t(this.render,this),i.__super__.constructor.apply(this,arguments)}return e(i,r),i.prototype.template=JST.sidebar,i.prototype.nameEdit=JST,i.prototype.newSource=JST,i.prototype.initialize=function(t){return $(”.main-container“).addClass(”sidebar-container“),this.moderation=t.moderation,this.moderation?this.model=new Juicer.Models.Moderated({slug:t.slug}):this.model=new Juicer.Models.Feed({slug:t.slug,starting_at:t.starting_at,admin:!0}),this.model.fetch({success:function(t){return function(){return t.hideLoader(),t.renderSidebar(),null!=t.reopener&&t.reopener.reopened?void 0:t.setupNewSources()}}(this),error:function(t){return function(){return t.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)},i.prototype.render=function(){var t;if(t=this.model.get(”posts“),1===t.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()}},i.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()},i.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>“)},i.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()},i.prototype.hideLoader=function(){return jQuery(”.loading-overlay“).fadeOut()},i.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)},i.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“)},i.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“}},i.prototype.openNewSource=function(){return this.overlay=new Juicer.Views.Overlay({content:this.newSource(),width:”85%“,element:this.el}),this.overlay.render()},i.prototype.openSubView=function(t){var e,r;return t.preventDefault(),e=$(t.target),r=this.viewMap,this.renderSubView(r,e)},i.prototype.renderSubView=function(t,e){return this.subView&&this.subView.close(),this.subView=new t({feed:this.model,target:e,parent:this,feedView:this.feed}),this.subView.on(”openSourceForm“,this.openSourceFormFromSources),this.subView.render()},i.prototype.openSourceFormFromSources=function(t){return this.sourcesView=t,this.openNewSource()},i.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},i.prototype.renderFeedNameEdit=function(t){return t.preventDefault(),this.overlay=new Juicer.Views.Overlay({content:this.nameEdit({feed:this.model}),element:this.el,width:”50%“}),this.overlay.render()},i.prototype.updateFeedName=function(t){var e;return t.preventDefault(),e=$(t.target).serializeHash(),this.model.set(e),this.model.save(null,{success:function(t){return function(t,e){return window.location=”/feeds/“+e.slug}}(this)})},i.prototype.toggleSlugWarning=function(){return this.$(”.slug-warning“).toggle()},i}(JuicerBackbone.View)}.call(this),function(){var t=function(t,e){return function(){return t.apply(e,arguments)}},e=function(t,e){function i(){this.constructor=t}for(var n in e)r.call(e,n)&&(t=e);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},r={}.hasOwnProperty;Juicer.Views.Slider=function®{function i(){return this.setFeedItemHeight=t(this.setFeedItemHeight,this),this.beforeChange=t(this.beforeChange,this),i.__super__.constructor.apply(this,arguments)}return e(i,r),i.prototype.template=JST.feed,i.prototype.initialize=function(t){return this.interval=t.interval,this.admin=t.admin,this.columns=t.columns,this.slidesToShow=this.columns},i.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(t){return function(){return t.trigger(”slide“)}}(this)),imagesLoaded(this.$el,this.setFeedItemHeight),this.$el.hasClass(”j-ie“)&&this.setBackgroundImages(),jQuery(window).on(”resize“,_u.debounce(function(t){return function(){return t.setFeedItemHeight()}}(this),300)),this},i.prototype.beforeChange=function(t,e,r,i){return 0===i&&this.model.pollingAllowed()?this.model.fetchNewPosts(!1):void 0},i.prototype.sliderSettings=function(){return jQuery.extend(this.sliderDefaults(),{responsive:this.breakpoints()})},i.prototype.breakpoints=function(){return _u.map(this.breakpointArray,function(t){return function(e){return{breakpoint:e,settings:{slidesToShow:_u.min([e,t.slidesToShow]),slidesToScroll:_u.min([e,t.slidesToShow])}}}}(this))},i.prototype.breakpointArray=[,[1450,5],,[960,3],,[480,1]],i.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}},i.prototype.setBackgroundImages=function(){return _u.each(this.$(”“),function(t){return function(t){var e;return e=jQuery(t),e.css(”background-image“,”url('“+e.data(”image“)+”')“)}}(this))},i.prototype.setFeedItemHeight=function(t){var e;return _u.each(this.$(”a.j-image img“),function(t){return function(t){return t.width>t.height?jQuery(t).addClass(”j-landscape“):void 0}}(this)),e=this.model.get(”height“)||300,this.$(”a.j-image img, li.words, .slick-track“).css({height:e}),this.$el.css({visibility:”visible“}),this.model.get(”lazy_load“)?!1:null==t?!1:_u.each(t.images,function(t){return function(t){var e;return t.isLoaded?void 0:(t=$(t.img),e=t.parents(”.feed-item“),console.log(”Juicer: post with id “+e.data(”id“)+” has a broken image. Converting to a text post.“),e.removeClass(”image-post“).removeClass(”j-video“).addClass(”words“),t.parents(”.j-image“).remove())}}(this))},i.prototype.stop=function(){return this.$el.slick(”stop“)},i.prototype.play=function(){return this.$el.slick(”play“)},i}(JuicerBackbone.View)}.call(this),function(){var t=function(t,r){function i(){this.constructor=t}for(var n in r)e.call(r,n)&&(t=r);return i.prototype=r.prototype,t.prototype=new i,t.__super__=r.prototype,t},e={}.hasOwnProperty;Juicer.Views.SourceForm=function(e){function r(){return r.__super__.constructor.apply(this,arguments)}return t(r,e),r.prototype.template=JST.source_form,r.prototype.pleaseWait=JST.please_wait,r.prototype.initialize=function(t){return this.feed=t.feed,this.socialAccounts=t.socialAccounts?t.socialAccounts:this.feed.get(”social_accounts“),this.rendered=!1,this.submitting=!1},r.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“}},r.prototype.handleOverlay=function(t,e){var r;return null==e&&(e=”username“),r=$(t.target),r.hasClass(”j-social-icon“)||(r=r.parents(”.j-social-icon“)),this.openOverlay({type:e,source:r.data(”type“)})},r.prototype.renderLocationSearch=function(){return this.openOverlay({type:”location_search“,source:this.source})},r.prototype.openOverlay=function(t){return this.type=t.type,this.source=t.source,this.model=new Juicer.Models.Source({source:this.source}),this.renderOverlay()},r.prototype.openHashtag=function(t){return this.handleOverlay(t,”hashtag“)},r.prototype.drawTemplate=function(){return this.template({source:this.model,feed:this.feed,type:this.type,results:this.results,socialAccounts:this.socialAccounts})},r.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},r.prototype.resultsNeedFetching=function(){return _u.contains(,this.type)&&this.rendered!==this.type},r.prototype.redrawOverlay=function(t){return t.preventDefault(),this.type=$(t.target).data(”type“),this.overlay.removeView(),this.renderOverlay()},r.prototype.fetchResults=function(t){return null==t&&(t=”groups“),this.results=new Juicer.Collections.FacebookResults({type:t}),this.results.fetch({success:function(t){return function(){return t.rendered=t.type,t.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}})},r.prototype.initializeGooglePlaces=function(){return new Juicer.Views.GooglePlaces({el:this.el})},r.prototype.createSource=function(t){var e;return t.preventDefault(),this.submitting?void 0:(this.submitting=!0,e=$(t.target),e.find(”input“).hide(),e.append(”<div class='j-loading'>Loading…</div>“),this.timeout=setTimeout(function(t){return function(){return e.append(t.pleaseWait())}}(this),5e3),e.find(”ul.errors“).remove(),this.submitSource(e.serializeHash()))},r.prototype.submitSource=function(t){return this.model.set(t),this.model.save(null,{success:function(t){return function(e,r){return t.submitting=!1,t.feedObject().set(r,{parse:!0}),t.feed.trigger(”action“),t.timeout&&window.clearInterval(t.timeout),t.trigger(”create“,t.feed)}}(this),error:function(t){return function(e,r){return t.submitting=!1,t.timeout&&window.clearInterval(t.timeout),new Juicer.Views.Errors({el:t.$(”form“),errors:r}),t.$(”.source-form-example“).show()}}(this)})},r.prototype.feedObject=function(){return this.feed||(this.feed=new Juicer.Models.Feed)},r.prototype.submitSearchResult=function(t){var e;return t.preventDefault(),e=$(t.target),this.$(”.result-term“).val(e.data(”id“)),this.$(”.result-name“).val(e.data(”name“)),e.parents(”form“).trigger(”submit“)},r.prototype.findLocation=function(t){var e,r;return t.preventDefault(),r=$(t.target),e=new Juicer.Models.Location(r.serializeHash()),e.save(null,{success:function(t){return function(e,i){var n;return n=t.feed?t.feed.get(”id“):void 0,t.picker=new Juicer.Views.LocationPicker({el:t.$(”form“),locations:i,feedId:n,source:t.model}),t.picker.on(”submit“,function(e){return r.append(”<div class='j-loading'>Loading…</div>“),t.submitSource(e)})}}(this),error:function(t,e){return new Juicer.Views.Errors({el:this.$(”form“),errors:e})}})},r.prototype.setOverlayStorage=function(t){var e;return t.preventDefault(),e=new Juicer.Views.OverlayReopener,e.set({type:this.type,source:this.source}),window.location=jQuery(t.target).attr(”href“)},r}(JuicerBackbone.View)}.call(this),function(){var t=function(t,r){function i(){this.constructor=t}for(var n in r)e.call(r,n)&&(t=r);return i.prototype=r.prototype,t.prototype=new i,t.__super__=r.prototype,t},e={}.hasOwnProperty;Juicer.Views.UrmRequest=function(e){function r(){return r.__super__.constructor.apply(this,arguments)}return t(r,e),r.prototype.template=JST,r.prototype.events={”submit .urm-request-form“:”urmFormSubmit“ },r.prototype.initialize=function(t){return this.post=t.post,this.feed=t.feed,this.socialAccount=this.post.urmSocialConnected(this.feed)},r.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},r.prototype.urmFormSubmit=function(t){var e,r,i;return t.preventDefault(),i=$(t.target),i.find(”.errors“).remove(),i.find(”input“).remove(),i.append(”<div class=’j-loading’>Loading…“),r=this.fetchPost(parseInt(i.find(”input“).val())),e=this.attributes(i,r),e.errors.length>0?this.errors(e.errors,i):r.urmRequest({data:$.param(e),success:function(t){return function(){return t.overlay.removeView(),$(” .urm-request“).removeClass(”urm-request“).html(”Permission Pending“),t.stopListening(),t.$el.off(”submit“,”.urm-request-form“)}}(this),error:function(t){return function(e,r,n){return t.errors(,i)}}(this)})},r.prototype.errors=function(t,e){var r;return r=$(”<ul class='errors tc-grapefruit twelve'></ul>“),_u.each(t,function(t){return function(t){return r.append(”<li class='mb-5'>“t”</li>“)}}(this)),e.prepend®,e.find(”.j-loading“).remove(),e.append(”<input class='j-button' type='submit' value='Request Permission' />“)},r.prototype.attributes=function(t){var e,r;return e={},r=t.find(”textarea“).val(),e.errors=this.validate(t),e.urm_message=r,e.urm_matcher=this.matcher®,e},r.prototype.validate=function(t){var e,r,i,n,s;return s=t.find(”textarea“),n=s.val(),i=s.attr(”maxlength“),e=[],n.length<1&&e.push(”Please include a message to the user asking for permission.“),n.length>i&&e.push(”Please limit your message to #{maxLength} characters.“),r=this.matcher(n),r.length<1&&e.push(”Please Include a hashtag in your message. The user will need to respond with this hashtag to grant permission.“),r.length>1&&e.push(”Please only include a single hashtag in your message, so Juicer knows what hashtag to verify the user has granted permission.“),e},r.prototype.matcher=function(t){var e;return e=t.match(/(^|s)(#+)/gi),_u.map(e,function(t){return t.trim()})},r.prototype.fetchPost=function(t){return this.feed.get(”posts“).findWhere({id:t})},r}(JuicerBackbone.View)}.call(this),function(){var t=function(t,r){function i(){this.constructor=t}for(var n in r)e.call(r,n)&&(t=r);return i.prototype=r.prototype,t.prototype=new i,t.__super__=r.prototype,t},e={}.hasOwnProperty;Juicer.Views.UserAccount=function(e){function r(){return r.__super__.constructor.apply(this,arguments)}return t(r,e),r.prototype.initialize=function(){return this.toggleDigest()},r.prototype.events={”change input“:”toggleDigest“},r.prototype.toggleDigest=function(){var t,e;return e=this.$(”#user_digest“),t=this.$(”.digest-label“),this.$(”input“).is(”:checked“)?(e.removeAttr(”disabled“),t.removeClass(”disabled“)):(e.attr(”disabled“,”disabled“),t.addClass(”disabled“),e.val(”Never“))},r}(JuicerBackbone.View)}.call(this),function(){var t=function(t,e){return function(){return t.apply(e,arguments)}},e=function(t,e){function i(){this.constructor=t}for(var n in e)r.call(e,n)&&(t=e);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},r={}.hasOwnProperty;Juicer.Views.Widget=function®{function i(){return this.addPost=t(this.addPost,this),this.showNextPost=t(this.showNextPost,this),this.setPosts=t(this.setPosts,this),i.__super__.constructor.apply(this,arguments)}return e(i,r),i.prototype.template=JST.widget,i.prototype.card=JST,i.prototype.referral=JST,i.prototype.customCss=JST,i.prototype.initialize=function(t){return this.interval=t.interval,this.admin=t.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)},i.prototype.setPosts=function(){return this.posts=this.model.get(”posts“).models},i.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}))},i.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},i.prototype.addPost=function(){return this.element().html(this.card({post:this.posts,admin:this.admin,truncate:this.truncate}))},i.prototype.element=function(){return this.container.hasClass(”flip“)?this.$(”.front“):this.$(”.back“)},i.prototype.other=function(){return this.element().siblings()},i.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},i.prototype.close=function(){return null!=this.id&&window.clearInterval(this.id),this.$el.empty().off(),this.stopListening(),this},i}(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“;