
var _____WB$wombat$assign$function_____ = function(name) {return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name)) || self[name]; };
if (!self.__WB_pmw) { self.__WB_pmw = function(obj) { this.__WB_source = obj; return this; } }
{
let window = _____WB$wombat$assign$function_____("window");
let self = _____WB$wombat$assign$function_____("self");
let document = _____WB$wombat$assign$function_____("document");
let location = _____WB$wombat$assign$function_____("location");
let top = _____WB$wombat$assign$function_____("top");
let parent = _____WB$wombat$assign$function_____("parent");
let frames = _____WB$wombat$assign$function_____("frames");
let opener = _____WB$wombat$assign$function_____("opener");
let arguments;

{(function(){function t(t){function e(e,i,r,n,s,o){for(;s>=0&&s<o;s+=t){var a=n?n[s]:s;r=i(r,e[a],a,e)}return r}return function(i,r,n,s){r=w(r,s,4);var o=!x(i)&&v.keys(i),a=(o||i).length,l=t>0?0:a-1;return arguments.length<3&&(n=i[o?o[l]:l],l+=t),e(i,r,n,o,l,a)}}function e(t){return function(e,i,r){i=b(i,r);for(var n=T(e),s=t>0?0:n-1;s>=0&&s<n;s+=t)if(i(e[s],s,e))return s;return-1}}function i(t,e,i){return function(r,n,s){var o=0,a=T(r);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(i&&s&&a)return r[s=i(r,n)]===n?s:-1;if(n!=n)return(s=e(u.call(r,o,a),v.isNaN))>=0?s+o:-1;for(s=t>0?o:a-1;s>=0&&s<a;s+=t)if(r[s]===n)return s;return-1}}function r(t,e){var i=O.length,r=t.constructor,n=v.isFunction(r)&&r.prototype||a,s="constructor";for(v.has(t,s)&&!v.contains(e,s)&&e.push(s);i--;)(s=O[i])in t&&t[s]!==n[s]&&!v.contains(e,s)&&e.push(s)}var n=_____WB$wombat$check$this$function_____(this),s=n._,o=Array.prototype,a=Object.prototype,l=Function.prototype,c=o.push,u=o.slice,p=a.toString,h=a.hasOwnProperty,d=Array.isArray,f=Object.keys,m=l.bind,g=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,i){if(void 0===e)return t;switch(null==i?3:i){case 1:return function(i){return t.call(e,i)};case 2:return function(i,r){return t.call(e,i,r)};case 3:return function(i,r,n){return t.call(e,i,r,n)};case 4:return function(i,r,n,s){return t.call(e,i,r,n,s)}}return function(){return t.apply(e,arguments)}},b=function(t,e,i){return null==t?v.identity:v.isFunction(t)?w(t,e,i):v.isObject(t)?v.matcher(t):v.property(t)};v.iteratee=function(t,e){return b(t,e,Infinity)};var S=function(t,e){return function(i){var r=arguments.length;if(r<2||null==i)return i;for(var n=1;n<r;n++)for(var s=arguments[n],o=t(s),a=o.length,l=0;l<a;l++){var c=o[l];e&&void 0!==i[c]||(i[c]=s[c])}return i}},k=function(t){if(!v.isObject(t))return{};if(g)return g(t);y.prototype=t;var e=new y;return y.prototype=null,e},_=function(t){return function(e){return null==e?void 0:e[t]}},A=Math.pow(2,53)-1,T=_("length"),x=function(t){var e=T(t);return"number"==typeof e&&e>=0&&e<=A};v.each=v.forEach=function(t,e,i){var r,n;if(e=w(e,i),x(t))for(r=0,n=t.length;r<n;r++)e(t[r],r,t);else{var s=v.keys(t);for(r=0,n=s.length;r<n;r++)e(t[s[r]],s[r],t)}return t},v.map=v.collect=function(t,e,i){e=b(e,i);for(var r=!x(t)&&v.keys(t),n=(r||t).length,s=Array(n),o=0;o<n;o++){var a=r?r[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,i){var r;if(void 0!==(r=x(t)?v.findIndex(t,e,i):v.findKey(t,e,i))&&-1!==r)return t[r]},v.filter=v.select=function(t,e,i){var r=[];return e=b(e,i),v.each(t,function(t,i,n){e(t,i,n)&&r.push(t)}),r},v.reject=function(t,e,i){return v.filter(t,v.negate(b(e)),i)},v.every=v.all=function(t,e,i){e=b(e,i);for(var r=!x(t)&&v.keys(t),n=(r||t).length,s=0;s<n;s++){var o=r?r[s]:s;if(!e(t[o],o,t))return!1}return!0},v.some=v.any=function(t,e,i){e=b(e,i);for(var r=!x(t)&&v.keys(t),n=(r||t).length,s=0;s<n;s++){var o=r?r[s]:s;if(e(t[o],o,t))return!0}return!1},v.contains=v.includes=v.include=function(t,e,i,r){return x(t)||(t=v.values(t)),("number"!=typeof i||r)&&(i=0),v.indexOf(t,e,i)>=0},v.invoke=function(t,e){var i=u.call(arguments,2),r=v.isFunction(e);return v.map(t,function(t){var n=r?e:t[e];return null==n?n:n.apply(t,i)})},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,i){var r,n,s=-Infinity,o=-Infinity;if(null==e&&null!=t)for(var a=0,l=(t=x(t)?t:v.values(t)).length;a<l;a++)(r=t[a])>s&&(s=r);else e=b(e,i),v.each(t,function(t,i,r){((n=e(t,i,r))>o||n===-Infinity&&s===-Infinity)&&(s=t,o=n)});return s},v.min=function(t,e,i){var r,n,s=Infinity,o=Infinity;if(null==e&&null!=t)for(var a=0,l=(t=x(t)?t:v.values(t)).length;a<l;a++)(r=t[a])<s&&(s=r);else e=b(e,i),v.each(t,function(t,i,r){((n=e(t,i,r))<o||n===Infinity&&s===Infinity)&&(s=t,o=n)});return s},v.shuffle=function(t){for(var e,i=x(t)?t:v.values(t),r=i.length,n=Array(r),s=0;s<r;s++)(e=v.random(0,s))!==s&&(n[s]=n[e]),n[e]=i[s];return n},v.sample=function(t,e,i){return null==e||i?(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,i){return e=b(e,i),v.pluck(v.map(t,function(t,i,r){return{value:t,index:i,criteria:e(t,i,r)}}).sort(function(t,e){var i=t.criteria,r=e.criteria;if(i!==r){if(i>r||void 0===i)return 1;if(i<r||void 0===r)return-1}return t.index-e.index}),"value")};var j=function(t){return function(e,i,r){var n={};return i=b(i,r),v.each(e,function(r,s){var o=i(r,s,e);t(n,r,o)}),n}};v.groupBy=j(function(t,e,i){v.has(t,i)?t[i].push(e):t[i]=[e]}),v.indexBy=j(function(t,e,i){t[i]=e}),v.countBy=j(function(t,e,i){v.has(t,i)?t[i]++:t[i]=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,i){e=b(e,i);var r=[],n=[];return v.each(t,function(t,i,s){(e(t,i,s)?r:n).push(t)}),[r,n]},v.first=v.head=v.take=function(t,e,i){if(null!=t)return null==e||i?t[0]:v.initial(t,t.length-e)},v.initial=function(t,e,i){return u.call(t,0,Math.max(0,t.length-(null==e||i?1:e)))},v.last=function(t,e,i){if(null!=t)return null==e||i?t[t.length-1]:v.rest(t,Math.max(0,t.length-e))},v.rest=v.tail=v.drop=function(t,e,i){return u.call(t,null==e||i?1:e)},v.compact=function(t){return v.filter(t,v.identity)};var C=function(t,e,i,r){for(var n=[],s=0,o=r||0,a=T(t);o<a;o++){var l=t[o];if(x(l)&&(v.isArray(l)||v.isArguments(l))){e||(l=C(l,e,i));var c=0,u=l.length;for(n.length+=u;c<u;)n[s++]=l[c++]}else i||(n[s++]=l)}return n};v.flatten=function(t,e){return C(t,e,!1)},v.without=function(t){return v.difference(t,u.call(arguments,1))},v.uniq=v.unique=function(t,e,i,r){v.isBoolean(e)||(r=i,i=e,e=!1),null!=i&&(i=b(i,r));for(var n=[],s=[],o=0,a=T(t);o<a;o++){var l=t[o],c=i?i(l,o,t):l;e?(o&&s===c||n.push(l),s=c):i?v.contains(s,c)||(s.push(c),n.push(l)):v.contains(n,l)||n.push(l)}return n},v.union=function(){return v.uniq(C(arguments,!0,!0))},v.intersection=function(t){for(var e=[],i=arguments.length,r=0,n=T(t);r<n;r++){var s=t[r];if(!v.contains(e,s)){for(var o=1;o<i&&v.contains(arguments[o],s);o++);o===i&&e.push(s)}}return e},v.difference=function(t){var e=C(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,i=Array(e),r=0;r<e;r++)i[r]=v.pluck(t,r);return i},v.object=function(t,e){for(var i={},r=0,n=T(t);r<n;r++)e?i[t[r]]=e[r]:i[t[r][0]]=t[r][1];return i},v.findIndex=e(1),v.findLastIndex=e(-1),v.sortedIndex=function(t,e,i,r){for(var n=(i=b(i,r,1))(e),s=0,o=T(t);s<o;){var a=Math.floor((s+o)/2);i(t[a])<n?s=a+1:o=a}return s},v.indexOf=i(1,v.findIndex,v.sortedIndex),v.lastIndexOf=i(-1,v.findLastIndex),v.range=function(t,e,i){null==e&&(e=t||0,t=0),i=i||1;for(var r=Math.max(Math.ceil((e-t)/i),0),n=Array(r),s=0;s<r;s++,t+=i)n[s]=t;return n};var J=function(t,e,i,r,n){if(!(r instanceof e))return t.apply(i,n);var s=k(t.prototype),o=t.apply(s,n);return v.isObject(o)?o:s};v.bind=function(t,e){if(m&&t.bind===m)return m.apply(t,u.call(arguments,1));if(!v.isFunction(t))throw new TypeError("Bind must be called on a function");var i=u.call(arguments,2),r=function(){return J(t,r,e,_____WB$wombat$check$this$function_____(this),i.concat(u.call(arguments)))};return r},v.partial=function(t){var e=u.call(arguments,1),i=function(){for(var r=0,n=e.length,s=Array(n),o=0;o<n;o++)s[o]=e[o]===v?arguments[r++]:e[o];for(;r<arguments.length;)s.push(arguments[r++]);return J(t,i,_____WB$wombat$check$this$function_____(this),_____WB$wombat$check$this$function_____(this),s)};return i},v.bindAll=function(t){var e,i,r=arguments.length;if(r<=1)throw new Error("bindAll must be passed function names");for(e=1;e<r;e++)t[i=arguments[e]]=v.bind(t[i],t);return t},v.memoize=function(t,e){var i=function(r){var n=i.cache,s=""+(e?e.apply(this,arguments):r);return v.has(n,s)||(n[s]=t.apply(this,arguments)),n[s]};return i.cache={},i},v.delay=function(t,e){var i=u.call(arguments,2);return setTimeout(function(){return t.apply(null,i)},e)},v.defer=v.partial(v.delay,v,1),v.throttle=function(t,e,i){var r,n,s,o=null,a=0;i||(i={});var l=function(){a=!1===i.leading?0:v.now(),o=null,s=t.apply(r,n),o||(r=n=null)};return function(){var c=v.now();a||!1!==i.leading||(a=c);var u=e-(c-a);return r=_____WB$wombat$check$this$function_____(this),n=arguments,u<=0||u>e?(o&&(clearTimeout(o),o=null),a=c,s=t.apply(r,n),o||(r=n=null)):o||!1===i.trailing||(o=setTimeout(l,u)),s}},v.debounce=function(t,e,i){var r,n,s,o,a,l=function(){var c=v.now()-o;c<e&&c>=0?r=setTimeout(l,e-c):(r=null,i||(a=t.apply(s,n),r||(s=n=null)))};return function(){s=_____WB$wombat$check$this$function_____(this),n=arguments,o=v.now();var c=i&&!r;return r||(r=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 i=e,r=t[e].apply(this,arguments);i--;)r=t[i].call(this,r);return r}},v.after=function(t,e){return function(){if(--t<1)return e.apply(this,arguments)}},v.before=function(t,e){var i;return function(){return--t>0&&(i=e.apply(this,arguments)),t<=1&&(e=null),i}},v.once=v.partial(v.before,2);var P=!{toString:null}.propertyIsEnumerable("toString"),O=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"];v.keys=function(t){if(!v.isObject(t))return[];if(f)return f(t);var e=[];for(var i in t)v.has(t,i)&&e.push(i);return P&&r(t,e),e},v.allKeys=function(t){if(!v.isObject(t))return[];var e=[];for(var i in t)e.push(i);return P&&r(t,e),e},v.values=function(t){for(var e=v.keys(t),i=e.length,r=Array(i),n=0;n<i;n++)r[n]=t[e[n]];return r},v.mapObject=function(t,e,i){e=b(e,i);for(var r,n=v.keys(t),s=n.length,o={},a=0;a<s;a++)o[r=n[a]]=e(t[r],r,t);return o},v.pairs=function(t){for(var e=v.keys(t),i=e.length,r=Array(i),n=0;n<i;n++)r[n]=[e[n],t[e[n]]];return r},v.invert=function(t){for(var e={},i=v.keys(t),r=0,n=i.length;r<n;r++)e[t[i[r]]]=i[r];return e},v.functions=v.methods=function(t){var e=[];for(var i in t)v.isFunction(t[i])&&e.push(i);return e.sort()},v.extend=S(v.allKeys),v.extendOwn=v.assign=S(v.keys),v.findKey=function(t,e,i){e=b(e,i);for(var r,n=v.keys(t),s=0,o=n.length;s<o;s++)if(e(t[r=n[s]],r,t))return r},v.pick=function(t,e,i){var r,n,s={},o=t;if(null==o)return s;v.isFunction(e)?(n=v.allKeys(o),r=w(e,i)):(n=C(arguments,!1,!1,1),r=function(t,e,i){return e in i},o=Object(o));for(var a=0,l=n.length;a<l;a++){var c=n[a],u=o[c];r(u,c,o)&&(s[c]=u)}return s},v.omit=function(t,e,i){if(v.isFunction(e))e=v.negate(e);else{var r=v.map(C(arguments,!1,!1,1),String);e=function(t,e){return!v.contains(r,e)}}return v.pick(t,e,i)},v.defaults=S(v.allKeys,!0),v.create=function(t,e){var i=k(t);return e&&v.extendOwn(i,e),i},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 i=v.keys(e),r=i.length;if(null==t)return!r;for(var n=Object(t),s=0;s<r;s++){var o=i[s];if(e[o]!==n[o]||!(o in n))return!1}return!0};var I=function(t,e,i,r){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||[];for(var l=(i=i||[]).length;l--;)if(i[l]===t)return r[l]===e;if(i.push(t),r.push(e),s){if((l=t.length)!==e.length)return!1;for(;l--;)if(!I(t[l],e[l],i,r))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)||!I(t[c],e[c],i,r))return!1}return i.pop(),r.pop(),!0};v.isEqual=function(t,e){return I(t,e)},v.isEmpty=function(t){return null==t||(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=d||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!0===t||!1===t||"[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,_____WB$wombat$check$this$function_____(this)},v.identity=function(t){return t},v.constant=function(t){return function(){return t}},v.noop=function(){},v.property=_,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,i){var r=Array(Math.max(0,t));e=w(e,i,1);for(var n=0;n<t;n++)r[n]=e(n);return r},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 $={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},E=v.invert($),M=function(t){var e=function(e){return t[e]},i="(?:"+v.keys(t).join("|")+")",r=RegExp(i),n=RegExp(i,"g");return function(t){return t=null==t?"":""+t,r.test(t)?t.replace(n,e):t}};v.escape=M($),v.unescape=M(E),v.result=function(t,e,i){var r=null==t?void 0:t[e];return void 0===r&&(r=i),v.isFunction(r)?r.call(t):r};var F=0;v.uniqueId=function(t){var e=++F+"";return t?t+e:e},v.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var L=/(.)^/,D={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},H=/\\|'|\r|\n|\u2028|\u2029/g,R=function(t){return"\\"+D[t]};v.template=function(t,e,i){!e&&i&&(e=i),e=v.defaults({},e,v.templateSettings);var r=RegExp([(e.escape||L).source,(e.interpolate||L).source,(e.evaluate||L).source].join("|")+"|$","g"),n=0,s="__p+='";t.replace(r,function(e,i,r,o,a){return s+=t.slice(n,a).replace(H,R),n=a+e.length,i?s+="'+\n((__t=("+i+"))==null?'':_.escape(__t))+\n'":r?s+="'+\n((__t=("+r+"))==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(c){throw c.source=s,c}var a=function(t){return o.call(this,t,v)},l=e.variable||"obj";return a.source="function("+l+"){\n"+s+"}",a},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 i=v[e]=t[e];v.prototype[e]=function(){var t=[this._wrapped];return c.apply(t,arguments),V(this,i.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 i=this._wrapped;return e.apply(i,arguments),"shift"!==t&&"splice"!==t||0!==i.length||delete i[0],V(this,i)}}),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 i=[],r=[],n=[],s={gsub:function(t,e,i){var r=new RegExp(e.source||e,"gi");return r.test(t)?t.replace(r,i):null},plural:function(t,e){i.unshift([t,e])},pluralize:function(r,s,o){var a;if(s!==e)s=parseFloat(s),a=1===s?this.singularize(r):this.pluralize(r),a=o?[s,a].join(" "):a;else{if(t(n).include(r))return r;a=r,t(i).detect(function(t){var e=this.gsub(r,t[0],t[1]);return!!e&&(a=e)},_____WB$wombat$check$this$function_____(this))}return a},singular:function(t,e){r.unshift([t,e])},singularize:function(e){if(t(n).include(e))return e;var i=e;return t(r).detect(function(t){var r=this.gsub(e,t[0],t[1]);return!!r&&(i=r)},_____WB$wombat$check$this$function_____(this)),i},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;var e=(t=t.toString()).slice(-1),i=t.slice(-2);if("11"===i||"12"===i||"13"===i)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 i=[],r=[],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"),_____WB$wombat$check$this$function_____(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(i,r,n){e.Backbone=t(e,n,i,r)});else if("undefined"!=typeof exports){var i,r=require("underscore");try{i=require("jquery")}catch(n){}t(e,exports,r,i)}else e.Backbone=t(e,{},e._,e.jQuery||e.Zepto||e.ender||e.$)}(function(t,e,i,r){var n=t.Backbone,s=[].slice;e.VERSION="1.2.1",e.$=r,e.noConflict=function(){return t.Backbone=n,_____WB$wombat$check$this$function_____(this)},e.emulateHTTP=!1,e.emulateJSON=!1;var o=function(t,e,r){switch(t){case 1:return function(){return i[e](this[r])};case 2:return function(t){return i[e](this[r],t)};case 3:return function(t,n){return i[e](this[r],t,n)};case 4:return function(t,n,s){return i[e](this[r],t,n,s)};default:return function(){var t=s.call(arguments);return t.unshift(this[r]),i[e].apply(i,t)}}},a=function(t,e,r){i.each(e,function(e,n){i[n]&&(t.prototype[n]=o(e,n,r))})},l=e.Events={},c=/\s+/,u=function(t,e,r,n,s){var o,a=0;if(r&&"object"==typeof r){void 0!==n&&"context"in s&&void 0===s.context&&(s.context=n);for(o=i.keys(r);a<o.length;a++)e=t(e,o[a],r[o[a]],s)}else if(r&&c.test(r))for(o=r.split(c);a<o.length;a++)e=t(e,o[a],n,s);else e=t(e,r,n,s);return e};l.on=function(t,e,i){return p(this,t,e,i)};var p=function(t,e,i,r,n){(t._events=u(h,t._events||{},e,i,{context:r,ctx:t,listening:n}),n)&&((t._listeners||(t._listeners={}))[n.id]=n);return t};l.listenTo=function(t,e,r){if(!t)return _____WB$wombat$check$this$function_____(this);var n=t._listenId||(t._listenId=i.uniqueId("l")),s=this._listeningTo||(this._listeningTo={}),o=s[n];if(!o){var a=this._listenId||(this._listenId=i.uniqueId("l"));o=s[n]={obj:t,objId:n,id:a,listeningTo:s,count:0}}return p(t,e,r,_____WB$wombat$check$this$function_____(this),o),_____WB$wombat$check$this$function_____(this)};var h=function(t,e,i,r){if(i){var n=t[e]||(t[e]=[]),s=r.context,o=r.ctx,a=r.listening;a&&a.count++,n.push({callback:i,context:s,ctx:s||o,listening:a})}return t};l.off=function(t,e,i){return this._events?(this._events=u(d,this._events,t,e,{context:i,listeners:this._listeners}),_____WB$wombat$check$this$function_____(this)):this},l.stopListening=function(t,e,r){var n=this._listeningTo;if(!n)return _____WB$wombat$check$this$function_____(this);for(var s=t?[t._listenId]:i.keys(n),o=0;o<s.length;o++){var a=n[s[o]];if(!a)break;a.obj.off(e,r,_____WB$wombat$check$this$function_____(this))}return i.isEmpty(n)&&(this._listeningTo=void 0),_____WB$wombat$check$this$function_____(this)};var d=function(t,e,r,n){if(t){var s,o=0,a=n.context,l=n.listeners;if(e||r||a){for(var c=e?[e]:i.keys(t);o<c.length;o++){var u=t[e=c[o]];if(!u)break;for(var p=[],h=0;h<u.length;h++){var d=u[h];r&&r!==d.callback&&r!==d.callback._callback||a&&a!==d.context?p.push(d):(s=d.listening)&&0==--s.count&&(delete l[s.id],delete s.listeningTo[s.objId])}p.length?t[e]=p:delete t[e]}return i.size(t)?t:void 0}for(var f=i.keys(l);o<f.length;o++)delete l[(s=l[f[o]]).id],delete s.listeningTo[s.objId]}};l.once=function(t,e,r){var n=u(f,{},t,e,i.bind(this.off,_____WB$wombat$check$this$function_____(this)));return this.on(n,void 0,r)},l.listenToOnce=function(t,e,r){var n=u(f,{},e,r,i.bind(this.stopListening,_____WB$wombat$check$this$function_____(this),t));return this.listenTo(t,n)};var f=function(t,e,r,n){if(r){var s=t[e]=i.once(function(){n(e,s),r.apply(this,arguments)});s._callback=r}return t};l.trigger=function(t){if(!this._events)return _____WB$wombat$check$this$function_____(this);for(var e=Math.max(0,arguments.length-1),i=Array(e),r=0;r<e;r++)i[r]=arguments[r+1];return u(m,this._events,t,void 0,i),_____WB$wombat$check$this$function_____(this)};var m=function(t,e,i,r){if(t){var n=t[e],s=t.all;n&&s&&(s=s.slice()),n&&g(n,r),s&&g(s,[e].concat(r))}return t},g=function(t,e){var i,r=-1,n=t.length,s=e[0],o=e[1],a=e[2];switch(e.length){case 0:for(;++r<n;)(i=t[r]).callback.call(i.ctx);return;case 1:for(;++r<n;)(i=t[r]).callback.call(i.ctx,s);return;case 2:for(;++r<n;)(i=t[r]).callback.call(i.ctx,s,o);return;case 3:for(;++r<n;)(i=t[r]).callback.call(i.ctx,s,o,a);return;default:for(;++r<n;)(i=t[r]).callback.apply(i.ctx,e);return}};l.bind=l.on,l.unbind=l.off,i.extend(e,l);var y=e.Model=function(t,e){var r=t||{};e||(e={}),this.cid=i.uniqueId(this.cidPrefix),this.attributes={},e.collection&&(this.collection=e.collection),e.parse&&(r=this.parse(r,e)||{}),r=i.defaults({},r,i.result(this,"defaults")),this.set(r,e),this.changed={},this.initialize.apply(this,arguments)};i.extend(y.prototype,l,{changed:null,validationError:null,idAttribute:"id",cidPrefix:"c",initialize:function(){},toJSON:function(){return i.clone(this.attributes)},sync:function(){return e.sync.apply(this,arguments)},get:function(t){return this.attributes[t]},escape:function(t){return i.escape(this.get(t))},has:function(t){return null!=this.get(t)},matches:function(t){return!!i.iteratee(t,_____WB$wombat$check$this$function_____(this))(this.attributes)},set:function(t,e,r){if(null==t)return _____WB$wombat$check$this$function_____(this);var n;if("object"==typeof t?(n=t,r=e):(n={})[t]=e,r||(r={}),!this._validate(n,r))return!1;var s=r.unset,o=r.silent,a=[],l=this._changing;this._changing=!0,l||(this._previousAttributes=i.clone(this.attributes),this.changed={});var c=this.attributes,u=this.changed,p=this._previousAttributes;for(var h in this.idAttribute in n&&(this.id=n[this.idAttribute]),n)e=n[h],i.isEqual(c[h],e)||a.push(h),i.isEqual(p[h],e)?delete u[h]:u[h]=e,s?delete c[h]:c[h]=e;if(!o){a.length&&(this._pending=r);for(var d=0;d<a.length;d++)this.trigger("change:"+a[d],_____WB$wombat$check$this$function_____(this),c[a[d]],r)}if(l)return _____WB$wombat$check$this$function_____(this);if(!o)for(;this._pending;)r=this._pending,this._pending=!1,this.trigger("change",_____WB$wombat$check$this$function_____(this),r);return this._pending=!1,this._changing=!1,_____WB$wombat$check$this$function_____(this)},unset:function(t,e){return this.set(t,void 0,i.extend({},e,{unset:!0}))},clear:function(t){var e={};for(var r in this.attributes)e[r]=void 0;return this.set(e,i.extend({},t,{unset:!0}))},hasChanged:function(t){return null==t?!i.isEmpty(this.changed):i.has(this.changed,t)},changedAttributes:function(t){if(!t)return!!this.hasChanged()&&i.clone(this.changed);var e=this._changing?this._previousAttributes:this.attributes,r={};for(var n in t){var s=t[n];i.isEqual(e[n],s)||(r[n]=s)}return!!i.size(r)&&r},previous:function(t){return null!=t&&this._previousAttributes?this._previousAttributes[t]:null},previousAttributes:function(){return i.clone(this._previousAttributes)},fetch:function(t){t=i.extend({parse:!0},t);var e=_____WB$wombat$check$this$function_____(this),r=t.success;return t.success=function(i){var n=t.parse?e.parse(i,t):i;if(!e.set(n,t))return!1;r&&r.call(t.context,e,i,t),e.trigger("sync",e,i,t)},L(this,t),this.sync("read",_____WB$wombat$check$this$function_____(this),t)},save:function(t,e,r){var n;null==t||"object"==typeof t?(n=t,r=e):(n={})[t]=e;var s=(r=i.extend({validate:!0,parse:!0},r)).wait;if(n&&!s){if(!this.set(n,r))return!1}else if(!this._validate(n,r))return!1;var o=_____WB$wombat$check$this$function_____(this),a=r.success,l=this.attributes;r.success=function(t){o.attributes=l;var e=r.parse?o.parse(t,r):t;if(s&&(e=i.extend({},n,e)),e&&!o.set(e,r))return!1;a&&a.call(r.context,o,t,r),o.trigger("sync",o,t,r)},L(this,r),n&&s&&(this.attributes=i.extend({},l,n));var c=this.isNew()?"create":r.patch?"patch":"update";"patch"!==c||r.attrs||(r.attrs=n);var u=this.sync(c,_____WB$wombat$check$this$function_____(this),r);return this.attributes=l,u},destroy:function(t){t=t?i.clone(t):{};var e=_____WB$wombat$check$this$function_____(this),r=t.success,n=t.wait,s=function(){e.stopListening(),e.trigger("destroy",e,e.collection,t)};t.success=function(i){n&&s(),r&&r.call(t.context,e,i,t),e.isNew()||e.trigger("sync",e,i,t)};var o=!1;return this.isNew()?i.defer(t.success):(L(this,t),o=this.sync("delete",_____WB$wombat$check$this$function_____(this),t)),n||s(),o},url:function(){var t=i.result(this,"urlRoot")||i.result(this.collection,"url")||F();if(this.isNew())return t;var e=this.get(this.idAttribute);return t.replace(/[^\/]$/,"$&/")+encodeURIComponent(e)},parse:function(t){return t},clone:function(){return new this.constructor(this.attributes)},isNew:function(){return!this.has(this.idAttribute)},isValid:function(t){return this._validate({},i.defaults({validate:!0},t))},_validate:function(t,e){if(!e.validate||!this.validate)return!0;t=i.extend({},this.attributes,t);var r=this.validationError=this.validate(t,e)||null;return!r||(this.trigger("invalid",_____WB$wombat$check$this$function_____(this),r,i.extend(e,{validationError:r})),!1)}}),a(y,{keys:1,values:1,pairs:1,invert:1,pick:0,omit:0,chain:1,isEmpty:1},"attributes");var v=e.Collection=function(t,e){e||(e={}),e.model&&(this.model=e.model),void 0!==e.comparator&&(this.comparator=e.comparator),this._reset(),this.initialize.apply(this,arguments),t&&this.reset(t,i.extend({silent:!0},e))},w={add:!0,remove:!0,merge:!0},b={add:!0,remove:!1};i.extend(v.prototype,l,{model:y,initialize:function(){},toJSON:function(t){return this.map(function(e){return e.toJSON(t)})},sync:function(){return e.sync.apply(this,arguments)},add:function(t,e){return this.set(t,i.extend({merge:!1},e,b))},remove:function(t,e){e=i.extend({},e);var r=!i.isArray(t);t=r?[t]:i.clone(t);var n=this._removeModels(t,e);return!e.silent&&n&&this.trigger("update",_____WB$wombat$check$this$function_____(this),e),r?n[0]:n},set:function(t,e){(e=i.defaults({},e,w)).parse&&!this._isModel(t)&&(t=this.parse(t,e));var r,n,s,o,a,l=!i.isArray(t);t=l?t?[t]:[]:t.slice();var c=e.at;null!=c&&(c=+c),c<0&&(c+=this.length+1);for(var u=this.comparator&&null==c&&!1!==e.sort,p=i.isString(this.comparator)?this.comparator:null,h=[],d=[],f={},m=e.add,g=e.merge,y=e.remove,v=!(u||!m||!y)&&[],b=!1,S=0;S<t.length;S++){if(s=t[S],o=this.get(s))y&&(f[o.cid]=!0),g&&s!==o&&(s=this._isModel(s)?s.attributes:s,e.parse&&(s=o.parse(s,e)),o.set(s,e),u&&!a&&o.hasChanged(p)&&(a=!0)),t[S]=o;else if(m){if(!(n=t[S]=this._prepareModel(s,e)))continue;h.push(n),this._addReference(n,e)}(n=o||n)&&(r=this.modelId(n.attributes),!v||!n.isNew()&&f[r]||(v.push(n),b=b||!this.models[S]||n.cid!==this.models[S].cid),f[r]=!0)}if(y){for(S=0;S<this.length;S++)f[(n=this.models[S]).cid]||d.push(n);d.length&&this._removeModels(d,e)}if(h.length||b)if(u&&(a=!0),this.length+=h.length,null!=c)for(S=0;S<h.length;S++)this.models.splice(c+S,0,h[S]);else{v&&(this.models.length=0);var k=v||h;for(S=0;S<k.length;S++)this.models.push(k[S])}if(a&&this.sort({silent:!0}),!e.silent){var _=null!=c?i.clone(e):e;for(S=0;S<h.length;S++)null!=c&&(_.index=c+S),(n=h[S]).trigger("add",n,_____WB$wombat$check$this$function_____(this),_);(a||b)&&this.trigger("sort",_____WB$wombat$check$this$function_____(this),e),(h.length||d.length)&&this.trigger("update",_____WB$wombat$check$this$function_____(this),e)}return l?t[0]:t},reset:function(t,e){e=e?i.clone(e):{};for(var r=0;r<this.models.length;r++)this._removeReference(this.models[r],e);return e.previousModels=this.models,this._reset(),t=this.add(t,i.extend({silent:!0},e)),e.silent||this.trigger("reset",_____WB$wombat$check$this$function_____(this),e),t},push:function(t,e){return this.add(t,i.extend({at:this.length},e))},pop:function(t){var e=this.at(this.length-1);return this.remove(e,t)},unshift:function(t,e){return this.add(t,i.extend({at:0},e))},shift:function(t){var e=this.at(0);return this.remove(e,t)},slice:function(){return s.apply(this.models,arguments)},get:function(t){if(null!=t){var e=this.modelId(this._isModel(t)?t.attributes:t);return this._byId[t]||this._byId[e]||this._byId[t.cid]}},at:function(t){return t<0&&(t+=this.length),this.models[t]},where:function(t,e){var r=i.matches(t);return _____WB$wombat$check$this$function_____(this)[e?"find":"filter"](function(t){return r(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={}),i.isString(this.comparator)||1===this.comparator.length?this.models=this.sortBy(this.comparator,_____WB$wombat$check$this$function_____(this)):this.models.sort(i.bind(this.comparator,_____WB$wombat$check$this$function_____(this))),t.silent||this.trigger("sort",_____WB$wombat$check$this$function_____(this),t),_____WB$wombat$check$this$function_____(this)},pluck:function(t){return i.invoke(this.models,"get",t)},fetch:function(t){var e=(t=i.extend({parse:!0},t)).success,r=_____WB$wombat$check$this$function_____(this);return t.success=function(i){var n=t.reset?"reset":"set";r[n](i,t),e&&e.call(t.context,r,i,t),r.trigger("sync",r,i,t)},L(this,t),this.sync("read",_____WB$wombat$check$this$function_____(this),t)},create:function(t,e){var r=(e=e?i.clone(e):{}).wait;if(!(t=this._prepareModel(t,e)))return!1;r||this.add(t,e);var n=_____WB$wombat$check$this$function_____(this),s=e.success;return e.success=function(t,e,i){r&&n.add(t,i),s&&s.call(i.context,t,e,i)},t.save(null,e),t},parse:function(t){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=_____WB$wombat$check$this$function_____(this)),t;(e=e?i.clone(e):{}).collection=_____WB$wombat$check$this$function_____(this);var r=new this.model(t,e);return r.validationError?(this.trigger("invalid",_____WB$wombat$check$this$function_____(this),r.validationError,e),!1):r},_removeModels:function(t,e){for(var i=[],r=0;r<t.length;r++){var n=this.get(t[r]);if(n){var s=this.indexOf(n);this.models.splice(s,1),this.length--,e.silent||(e.index=s,n.trigger("remove",n,_____WB$wombat$check$this$function_____(this),e)),i.push(n),this._removeReference(n,e)}}return!!i.length&&i},_isModel:function(t){return t instanceof y},_addReference:function(t){this._byId[t.cid]=t;var e=this.modelId(t.attributes);null!=e&&(this._byId[e]=t),t.on("all",this._onModelEvent,_____WB$wombat$check$this$function_____(this))},_removeReference:function(t){delete this._byId[t.cid];var e=this.modelId(t.attributes);null!=e&&delete this._byId[e],_____WB$wombat$check$this$function_____(this)===t.collection&&delete t.collection,t.off("all",this._onModelEvent,_____WB$wombat$check$this$function_____(this))},_onModelEvent:function(t,e,i,r){if("add"!==t&&"remove"!==t||i===_____WB$wombat$check$this$function_____(this)){if("destroy"===t&&this.remove(e,r),"change"===t){var n=this.modelId(e.previousAttributes()),s=this.modelId(e.attributes);n!==s&&(null!=n&&delete this._byId[n],null!=s&&(this._byId[s]=e))}this.trigger.apply(this,arguments)}}}),a(v,{forEach:3,each:3,map:3,collect:3,reduce:4,foldl:4,inject:4,reduceRight:4,foldr:4,find:3,detect:3,filter:3,select:3,reject:3,every:3,all:3,some:3,any:3,include:2,contains:2,invoke:0,max:3,min:3,toArray:1,size:1,first:3,head:3,take:3,initial:3,rest:3,tail:3,drop:3,last:3,without:0,difference:0,indexOf:3,shuffle:1,lastIndexOf:3,isEmpty:1,chain:1,
sample:3,partition:3},"models");var S=["groupBy","countBy","sortBy","indexBy"];i.each(S,function(t){i[t]&&(v.prototype[t]=function(e,r){var n=i.isFunction(e)?e:function(t){return t.get(e)};return i[t](this.models,n,r)})});var k=e.View=function(t){this.cid=i.uniqueId("view"),i.extend(this,i.pick(t,A)),this._ensureElement(),this.initialize.apply(this,arguments)},_=/^(\S+)\s*(.*)$/,A=["model","collection","el","id","attributes","className","tagName","events"];i.extend(k.prototype,l,{tagName:"div",$:function(t){return this.$el.find(t)},initialize:function(){},render:function(){return _____WB$wombat$check$this$function_____(this)},remove:function(){return this._removeElement(),this.stopListening(),_____WB$wombat$check$this$function_____(this)},_removeElement:function(){this.$el.remove()},setElement:function(t){return this.undelegateEvents(),this._setElement(t),this.delegateEvents(),_____WB$wombat$check$this$function_____(this)},_setElement:function(t){this.$el=t instanceof e.$?t:e.$(t),this.el=this.$el[0]},delegateEvents:function(t){if(t||(t=i.result(this,"events")),!t)return _____WB$wombat$check$this$function_____(this);for(var e in this.undelegateEvents(),t){var r=t[e];if(i.isFunction(r)||(r=_____WB$wombat$check$this$function_____(this)[r]),r){var n=e.match(_);this.delegate(n[1],n[2],i.bind(r,_____WB$wombat$check$this$function_____(this)))}}return _____WB$wombat$check$this$function_____(this)},delegate:function(t,e,i){return this.$el.on(t+".delegateEvents"+this.cid,e,i),_____WB$wombat$check$this$function_____(this)},undelegateEvents:function(){return this.$el&&this.$el.off(".delegateEvents"+this.cid),_____WB$wombat$check$this$function_____(this)},undelegate:function(t,e,i){return this.$el.off(t+".delegateEvents"+this.cid,e,i),_____WB$wombat$check$this$function_____(this)},_createElement:function(t){return document.createElement(t)},_ensureElement:function(){if(this.el)this.setElement(i.result(this,"el"));else{var t=i.extend({},i.result(this,"attributes"));this.id&&(t.id=i.result(this,"id")),this.className&&(t["class"]=i.result(this,"className")),this.setElement(this._createElement(i.result(this,"tagName"))),this._setAttributes(t)}},_setAttributes:function(t){this.$el.attr(t)}}),e.sync=function(t,r,n){var s=T[t];i.defaults(n||(n={}),{emulateHTTP:e.emulateHTTP,emulateJSON:e.emulateJSON});var o={type:s,dataType:"json"};if(n.url||(o.url=i.result(r,"url")||F()),null!=n.data||!r||"create"!==t&&"update"!==t&&"patch"!==t||(o.contentType="application/json",o.data=JSON.stringify(n.attrs||r.toJSON(n))),n.emulateJSON&&(o.contentType="application/x-www-form-urlencoded",o.data=o.data?{model:o.data}:{}),n.emulateHTTP&&("PUT"===s||"DELETE"===s||"PATCH"===s)){o.type="POST",n.emulateJSON&&(o.data._method=s);var a=n.beforeSend;n.beforeSend=function(t){if(t.setRequestHeader("X-HTTP-Method-Override",s),a)return a.apply(this,arguments)}}"GET"===o.type||n.emulateJSON||(o.processData=!1);var l=n.error;n.error=function(t,e,i){n.textStatus=e,n.errorThrown=i,l&&l.call(n.context,t,e,i)};var c=n.xhr=e.ajax(i.extend(o,n));return r.trigger("request",r,c,n),c};var T={create:"POST",update:"PUT",patch:"PATCH","delete":"DELETE",read:"GET"};e.ajax=function(){return e.$.ajax.apply(e.$,arguments)};var x=e.Router=function(t){t||(t={}),t.routes&&(this.routes=t.routes),this._bindRoutes(),this.initialize.apply(this,arguments)},j=/\((.*?)\)/g,C=/(\(\?)?:\w+/g,J=/\*\w+/g,P=/[\-{}\[\]+?.,\\\^$|#\s]/g;i.extend(x.prototype,l,{initialize:function(){},route:function(t,r,n){i.isRegExp(t)||(t=this._routeToRegExp(t)),i.isFunction(r)&&(n=r,r=""),n||(n=_____WB$wombat$check$this$function_____(this)[r]);var s=_____WB$wombat$check$this$function_____(this);return e.history.route(t,function(i){var o=s._extractParameters(t,i);!1!==s.execute(n,o,r)&&(s.trigger.apply(s,["route:"+r].concat(o)),s.trigger("route",r,o),e.history.trigger("route",s,r,o))}),_____WB$wombat$check$this$function_____(this)},execute:function(t,e){t&&t.apply(this,e)},navigate:function(t,i){return e.history.navigate(t,i),_____WB$wombat$check$this$function_____(this)},_bindRoutes:function(){if(this.routes){this.routes=i.result(this,"routes");for(var t,e=i.keys(this.routes);null!=(t=e.pop());)this.route(t,this.routes[t])}},_routeToRegExp:function(t){return t=t.replace(P,"\\$&").replace(j,"(?:$1)?").replace(C,function(t,e){return e?t:"([^/?]+)"}).replace(J,"([^?]*?)"),new RegExp("^"+t+"(?:\\?([\\s\\S]*))?$")},_extractParameters:function(t,e){var r=t.exec(e).slice(1);return i.map(r,function(t,e){return e===r.length-1?t||null:t?decodeURIComponent(t):null})}});var O=e.History=function(){this.handlers=[],i.bindAll(this,"checkUrl"),"undefined"!=typeof window&&(_____WB$wombat$check$this$function_____(this).location=window.location,this.history=window.history)},I=/^[#\/]|\s+$/g,$=/^\/+|\/+$/g,E=/#.*$/;O.started=!1,i.extend(O.prototype,l,{interval:50,atRoot:function(){return _____WB$wombat$check$this$function_____(this).location.pathname.replace(/[^\/]$/,"$&/")===this.root&&!this.getSearch()},matchRoot:function(){return this.decodeFragment(_____WB$wombat$check$this$function_____(this).location.pathname).slice(0,this.root.length-1)+"/"===this.root},decodeFragment:function(t){return decodeURI(t.replace(/%25/g,"%2525"))},getSearch:function(){var t=_____WB$wombat$check$this$function_____(this).location.href.replace(/#.*/,"").match(/\?.+/);return t?t[0]:""},getHash:function(t){var e=(t||_____WB$wombat$check$this$function_____(this)).location.href.match(/#(.*)$/);return e?e[1]:""},getPath:function(){var t=this.decodeFragment(_____WB$wombat$check$this$function_____(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(I,"")},start:function(t){if(O.started)throw new Error("Backbone.history has already been started");if(O.started=!0,this.options=i.extend({root:"/"},this.options,t),this.root=this.options.root,this._wantsHashChange=!1!==this.options.hashChange,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($,"/"),this._wantsHashChange&&this._wantsPushState){if(!this._hasPushState&&!this.atRoot()){var e=this.root.slice(0,-1)||"/";return _____WB$wombat$check$this$function_____(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 r=document.body,n=r.insertBefore(this.iframe,r.firstChild).contentWindow;n.document.open(),n.document.close(),n.location.hash="#"+this.fragment}var s=window.addEventListener||function(t,e){return attachEvent("on"+t,e)};if(this._usePushState?s("popstate",this.checkUrl,!1):this._useHashChange&&!this.iframe?s("hashchange",this.checkUrl,!1):this._wantsHashChange&&(this._checkUrlInterval=setInterval(this.checkUrl,this.interval)),!this.options.silent)return this.loadUrl()},stop:function(){var t=window.removeEventListener||function(t,e){return detachEvent("on"+t,e)};this._usePushState?t("popstate",this.checkUrl,!1):this._useHashChange&&!this.iframe&&t("hashchange",this.checkUrl,!1),this.iframe&&(document.body.removeChild(this.iframe),this.iframe=null),this._checkUrlInterval&&clearInterval(this._checkUrlInterval),O.started=!1},route:function(t,e){this.handlers.unshift({route:t,callback:e})},checkUrl:function(){var t=this.getFragment();if(t===this.fragment&&this.iframe&&(t=this.getHash(this.iframe.contentWindow)),t===this.fragment)return!1;this.iframe&&this.navigate(t),this.loadUrl()},loadUrl:function(t){return!!this.matchRoot()&&(t=this.fragment=this.getFragment(t),i.any(this.handlers,function(e){if(e.route.test(t))return e.callback(t),!0}))},navigate:function(t,e){if(!O.started)return!1;e&&!0!==e||(e={trigger:!!e}),t=this.getFragment(t||"");var i=this.root;""!==t&&"?"!==t.charAt(0)||(i=i.slice(0,-1)||"/");var r=i+t;if(t=this.decodeFragment(t.replace(E,"")),this.fragment!==t){if(this.fragment=t,this._usePushState)this.history[e.replace?"replaceState":"pushState"]({},document.title,r);else{if(!this._wantsHashChange)return _____WB$wombat$check$this$function_____(this).location.assign(r);if(this._updateHash(_____WB$wombat$check$this$function_____(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,i){if(i){var r=t.href.replace(/(javascript:|#).*$/,"");t.replace(r+"#"+e)}else t.hash="#"+e}}),e.history=new O;var M=function(t,e){var r,n=_____WB$wombat$check$this$function_____(this);r=t&&i.has(t,"constructor")?t.constructor:function(){return n.apply(this,arguments)},i.extend(r,n,e);var s=function(){this.constructor=r};return s.prototype=n.prototype,r.prototype=new s,t&&i.extend(r.prototype,t),r.__super__=n.prototype,r};y.extend=v.extend=x.extend=k.extend=O.extend=M;var F=function(){throw new Error('A "url" property or function must be specified')},L=function(t,e){var i=e.error;e.error=function(r){i&&i.call(e.context,t,r,e),t.trigger("error",t,r,e)}};return e}),function(t,e){"function"==typeof define&&define.amd?define(["underscore","backbone"],function(i,r){return e(i||t._,r||t.Backbone)}):e(_,Backbone)}(this,function(t,e){function i(e,i){var r=null;try{r=i.url}catch(n){}if(!r)try{r=t.result(e,"url")}catch(n){}return r}function r(t,e){return":"!==t&&":"!==e&&t!==e}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=i(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:i(o,a)};if(!h.url)throw new Error("No URL!");if(r(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 d=a.beforeSend;a.beforeSend=function(){if(d)return d.apply(this,arguments)}}"GET"===h.type||a.emulateJSON||(h.processData=!1),"POST"===h.type&&(h.data=e.$.param(e.$.parseJSON(h.data)));var f=a.xhr=new XDomainRequest,m=a.success,g=a.error;if(e.$.fn.jquery){var y=e.$.Deferred(),v=e.$.Callbacks("once memory");y.promise(f).complete=v.add}return f.onload=function(){var t={};f.responseText&&(t=e.$.parseJSON(f.responseText)),t&&(y&&y.resolveWith(this,[t,"success",f]),m(t))},f.onerror=function(){g&&(g(o,f,a),y&&y.rejectWith(this,[f,"error",g])),o.trigger("error",o,f,a)},"read"===s&&a.data&&(console.log("IE get params",JSON.stringify(a.data)),parameterized=e.$.param(a.data),h.url=h.url+"?"+parameterized),f.open(h.type,h.url),f.onprogress=function(){},f.ontimeout=function(){},setTimeout(function(){f.send(h.data)},0),o.trigger("request",o,f,a),f}return e.vanillaSync.apply(this,arguments)},e}),function(t,e){if("function"==typeof define&&define.amd)define(["underscore","backbone"],function(i,r){return e(t,r,i)});else if("undefined"!=typeof exports){var i=require("underscore"),r=require("backbone");e(t,r,i),"undefined"!=typeof module&&module.exports&&(module.exports=r),exports=r}else e(t,t.Backbone,t._)}(this,function(t,e,i){var r,n,s,o,a,l,c,u,p,h,d,f={};r=e.Model,n=e.Collection,s=r.prototype,a=n.prototype,o=e.Events,e.Associations={VERSION:"0.6.1"},e.Associations.scopes=[];var m=function(){return p},g=function(t){(!i.isString(t)||1>i.size(t))&&(t="."),p=t,c=RegExp("[\\"+p+"\\[\\]]+","g"),u=RegExp("[^\\"+p+"\\[\\]]+","g")};try{Object.defineProperty(e.Associations,"SEPARATOR",{enumerable:!0,get:m,set:g})}catch(k){}e.Associations.Many=e.Many="Many",e.Associations.One=e.One="One",e.Associations.Self=e.Self="Self",e.Associations.SEPARATOR=".",e.Associations.getSeparator=m,e.Associations.setSeparator=g,e.Associations.EVENTS_BUBBLE=!0,e.Associations.EVENTS_WILDCARD=!0,e.Associations.EVENTS_NC=!1,g(),l=e.AssociatedModel=e.Associations.AssociatedModel=r.extend({relations:void 0,_proxyCalls:void 0,on:function(t,r){var n=o.on.apply(this,arguments);if(e.Associations.EVENTS_NC)return n;var s=/\s+/;return i.isString(t)&&t&&!s.test(t)&&r&&(s=v(t))&&(f[s]="undefined"==typeof f[s]?1:f[s]+1),n},off:function(t,r,n){if(e.Associations.EVENTS_NC)return o.off.apply(this,arguments);var s=/\s+/,a=this._events,l={},c=a?i.keys(a):[],u=!t&&!r&&!n,p=i.isString(t)&&!s.test(t);if(u||p){s=0;for(var h=c.length;s<h;s++)l[c[s]]=a[c[s]]?a[c[s]].length:0}var d=o.off.apply(this,arguments);if(u||p)for(s=0,h=c.length;s<h;s++)(u=v(c[s]))&&(f[u]=a[c[s]]?f[u]-(l[c[s]]-a[c[s]].length):f[u]-l[c[s]]);return d},get:function(t){var e=s.get.call(this,t);return e||this._getAttr.apply(this,arguments)},set:function(t,e,r){var n;return i.isObject(t)||null==t?(n=t,r=e):(n={})[t]=e,t=this._set(n,r),this._processPendingEvents(),t},_set:function(t,e){var r,n,s,o,a=_____WB$wombat$check$this$function_____(this);if(!t)return _____WB$wombat$check$this$function_____(this);for(r in t)if(n||(n={}),r.match(c)){var u=y(r);o=i.initial(u),u=u[u.length-1],(o=this.get(o))instanceof l&&((o=n[o.cid]||(n[o.cid]={model:o,data:{}})).data[u]=t[r])}else(o=n[this.cid]||(n[this.cid]={model:this,data:{}})).data[r]=t[r];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&&i.each(this.relations,function(s){var c,u,p,h=s.key,d=s.relatedModel,f=s.collectionType,m=s.scope||t,g=s.map,y=this.attributes[h],v=y&&y.idAttribute,b=!1;if(!d||d.prototype instanceof r||(d=i.isFunction(d)?d.call(this,s,o):d),d&&i.isString(d)&&(d=d===e.Self?this.constructor:w(d,m)),g&&i.isString(g)&&(g=w(g,m)),u=s.options?i.extend({},s.options,a):a,o[h]){if(c=i.result(o,h),c=g?g.call(this,c,f||d):c,s.type===e.Many){if(f&&i.isFunction(f)&&f.prototype instanceof r)throw Error("type is of Backbone.Model. Specify derivatives of Backbone.Collection");if(!f||f.prototype instanceof n||(f=i.isFunction(f)?f.call(this,s,o):f),f&&i.isString(f)&&(f=w(f,m)),!d&&!f)throw Error("specify either a relatedModel or collectionType");if(f&&!f.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):(b=!0,c instanceof n?s=c:(s=f?new f:this._createCollection(d,m))[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(!d)throw Error("specify a relatedModel for Backbone.One type");if(!(d.prototype instanceof e.AssociatedModel))throw Error("specify an AssociatedModel for Backbone.One type");s=c instanceof l?c:new d(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):b=!0}p=o[h]=s,(b||p&&!p._proxyCallback)&&(p._proxyCallback=function(){return e.Associations.EVENTS_BUBBLE&&this._bubbleEvent.call(this,h,p,arguments)},p.on("all",p._proxyCallback,_____WB$wombat$check$this$function_____(this)))}o.hasOwnProperty(h)&&(y=o[h],v=this.attributes[h],y?(y.parents=y.parents||[],-1==i.indexOf(y.parents,_____WB$wombat$check$this$function_____(this))&&y.parents.push(this)):v&&0<v.parents.length&&(v.parents=i.difference(v.parents,[this]),v._proxyCallback&&v.off("all",v._proxyCallback,_____WB$wombat$check$this$function_____(this))))},_____WB$wombat$check$this$function_____(this)),s.set.call(this,o,a)},_bubbleEvent:function(t,i,s){var o,a,l=(o=s[0].split(":"))[0],c="nested-change"==s[0],u="change"===l,m=s[1],g=-1,y=i._proxyCalls,w=!(o=o[1])||-1==o.indexOf(p);if(!c&&(w&&(d=v(s[0])||t),e.Associations.EVENTS_NC||f[d]))return e.Associations.EVENTS_WILDCARD&&/\[\*\]/g.test(o)?this:(i instanceof n&&(u||o)&&(g=i.indexOf(h||m)),_____WB$wombat$check$this$function_____(this) instanceof r&&(h=_____WB$wombat$check$this$function_____(this)),o=t+(-1!==g&&(u||o)?"["+g+"]":"")+(o?p+o:""),e.Associations.EVENTS_WILDCARD&&(a=o.replace(/\[\d+\]/g,"[*]")),(c=[]).push.apply(c,s),c[0]=l+":"+o,e.Associations.EVENTS_WILDCARD&&o!==a&&(c[0]=c[0]+" "+l+":"+a),y=i._proxyCalls=y||{},this._isEventAvailable.call(this,y,o)?this:(y[o]=!0,u&&(this._previousAttributes[t]=i._previousAttributes,this.changed[t]=i),this.trigger.apply(this,c),e.Associations.EVENTS_NC&&u&&this.get(o)!=s[2]&&(t=["nested-change",o,s[1]],s[2]&&t.push(s[2]),this.trigger.apply(this,t)),y&&o&&delete y[o],h=void 0,_____WB$wombat$check$this$function_____(this)))},_isEventAvailable:function(t,e){return i.find(t,function(t,i){return-1!==e.indexOf(i,e.length-i.length)})},_createCollection:function(t,e){var r,s=t;if(i.isString(s)&&(s=w(s,e)),!(s&&s.prototype instanceof l||i.isFunction(s)))throw Error("type must inherit from Backbone.AssociatedModel");return(r=new n).model=s,r},_processPendingEvents:function(){this._processedEvents||(this._processedEvents=!0,this._deferEvents=!1,i.each(this._pendingEvents,function(t){t.c.trigger.apply(t.c,t.a)}),this._pendingEvents=[],i.each(this.relations,function(t){(t=this.attributes[t.key])&&t._processPendingEvents()},_____WB$wombat$check$this$function_____(this)),delete this._processedEvents)},trigger:function(){this._deferEvents?(this._pendingEvents=this._pendingEvents||[],this._pendingEvents.push({c:this,a:arguments})):s.trigger.apply(this,arguments)},toJSON:function(t){var e,r={};return r[this.idAttribute]=this.id,this.visited||(this.visited=!0,r=s.toJSON.apply(this,arguments),t&&t.serialize_keys&&(r=i.pick(r,t.serialize_keys)),this.relations&&i.each(this.relations,function(n){var s=n.key,o=n.remoteKey,a=this.attributes[s],l=!n.isTransient;n=n.serialize||[],delete r[s],l&&(n.length&&(t?t.serialize_keys=n:t={serialize_keys:n}),e=a&&a.toJSON?a.toJSON(t):a,r[o||s]=i.isArray(e)?i.compact(e):e)},_____WB$wombat$check$this$function_____(this)),delete this.visited),r},clone:function(t){return new this.constructor(this.toJSON(t))},cleanup:function(){i.each(this.relations,function(t){(t=this.attributes[t.key])&&(t.parents=i.difference(t.parents,[this]))},_____WB$wombat$check$this$function_____(this)),this.off()},_getAttr:function(t){var e,r,s=_____WB$wombat$check$this$function_____(this);if(t=y(t),!(1>i.size(t))){for(r=0;r<t.length&&(e=t[r],s);r++)s=s instanceof n?isNaN(e)?void 0:s.at(e):s.attributes[e];return s}}});var y=function(t){return""===t?[""]:i.isString(t)?t.match(u):t||[]},v=function(t){return t?1<(t=t.split(":")).length?1<(t=(t=t[t.length-1]).split(p)).length?t[t.length-1].split("[")[0]:t[0].split("[")[0]:"":t},w=function(t,r){var n,s=[r];s.push.apply(s,e.Associations.scopes);for(var o,a=0,l=s.length;a<l&&(!(o=s[a])||!(n=i.reduce(t.split(p),function(t,e){return t[e]},o)));++a);return n},b=function(t,e,r){var n,s;return i.find(t,function(t){if(n=i.find(t.relations,function(i){return t.get(i.key)===e},_____WB$wombat$check$this$function_____(this)))return s=t,!0},_____WB$wombat$check$this$function_____(this)),n&&n.map?n.map.call(s,r,e):r},S={};return i.each(["set","remove","reset"],function(t){S[t]=n.prototype[t],a[t]=function(e){return this.model.prototype instanceof l&&this.parents&&(arguments[0]=b(this.parents,_____WB$wombat$check$this$function_____(this),e)),S[t].apply(this,arguments)}}),S.trigger=a.trigger,a.trigger=function(){this._deferEvents?(this._pendingEvents=this._pendingEvents||[],this._pendingEvents.push({c:this,a:arguments})):S.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(){},i=["assert","clear","count","debug","dir","dirxml","error","exception","group","groupCollapsed","groupEnd","info","log","markTimeline","profile","profileEnd","table","time","timeEnd","timeStamp","trace","warn"],r=i.length,n=window.console=window.console||{};r--;)n[t=i[r]]||(n[t]=e)}(),"object"!=typeof JSON&&(JSON={}),function(){"use strict";function f(t){return t<10?"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 i,r,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,i=0;i<s;i+=1)o[i]=str(i,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,i=0;i<s;i+=1)"string"==typeof rep[i]&&(n=str(r=rep[i],l))&&o.push(quote(r)+(gap?": ":":")+n);else for(r in l)Object.prototype.hasOwnProperty.call(l,r)&&(n=str(r,l))&&o.push(quote(r)+(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=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,rx_four=/(?:^|:|,)(?:\s*\[)+/g,rx_escapable=/[\\\"\u0000-\u001f\u007f-\u009f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,rx_dangerous=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,gap,indent,meta,rep;"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),"function"!=typeof JSON.stringify&&(meta={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},JSON.stringify=function(t,e,i){var r;if(gap="",indent="","number"==typeof i)for(r=0;r<i;r+=1)indent+=" ";else"string"==typeof i&&(indent=i);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 i,r,n=t[e];if(n&&"object"==typeof n)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&((r=walk(n,i))!==undefined?n[i]=r:delete n[i]);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")})}(),
/*!
 * imagesLoaded PACKAGED v3.1.8
 * JavaScript is all like "You images are done yet or what?"
 * MIT License
 */
/*!
 * EventEmitter v4.2.6 - git.io/ee
 * Oliver Caldwell
 * MIT license
 * @preserve
 */
function(){function t(){}function e(t,e){for(var i=t.length;i--;)if(t[i].listener===e)return i;return-1}function i(t){return function(){return _____WB$wombat$check$this$function_____(this)[t].apply(this,arguments)}}var r=t.prototype,n=_____WB$wombat$check$this$function_____(this),s=n.EventEmitter;r.getListeners=function(t){var e,i,r=this._getEvents();if("object"==typeof t)for(i in e={},r)r.hasOwnProperty(i)&&t.test(i)&&(e[i]=r[i]);else e=r[t]||(r[t]=[]);return e},r.flattenListeners=function(t){var e,i=[];for(e=0;e<t.length;e+=1)i.push(t[e].listener);return i},r.getListenersAsObject=function(t){var e,i=this.getListeners(t);return i instanceof Array&&((e={})[t]=i),e||i},r.addListener=function(t,i){var r,n=this.getListenersAsObject(t),s="object"==typeof i;for(r in n)n.hasOwnProperty(r)&&-1===e(n[r],i)&&n[r].push(s?i:{listener:i,once:!1});return _____WB$wombat$check$this$function_____(this)},r.on=i("addListener"),r.addOnceListener=function(t,e){return this.addListener(t,{listener:e,once:!0})},r.once=i("addOnceListener"),r.defineEvent=function(t){return this.getListeners(t),_____WB$wombat$check$this$function_____(this)},r.defineEvents=function(t){for(var e=0;e<t.length;e+=1)this.defineEvent(t[e]);return _____WB$wombat$check$this$function_____(this)},r.removeListener=function(t,i){var r,n,s=this.getListenersAsObject(t);for(n in s)s.hasOwnProperty(n)&&-1!==(r=e(s[n],i))&&s[n].splice(r,1);return _____WB$wombat$check$this$function_____(this)},r.off=i("removeListener"),r.addListeners=function(t,e){return this.manipulateListeners(!1,t,e)},r.removeListeners=function(t,e){return this.manipulateListeners(!0,t,e)},r.manipulateListeners=function(t,e,i){var r,n,s=t?this.removeListener:this.addListener,o=t?this.removeListeners:this.addListeners;if("object"!=typeof e||e instanceof RegExp)for(r=i.length;r--;)s.call(this,e,i[r]);else for(r in e)e.hasOwnProperty(r)&&(n=e[r])&&("function"==typeof n?s.call(this,r,n):o.call(this,r,n));return _____WB$wombat$check$this$function_____(this)},r.removeEvent=function(t){var e,i=typeof t,r=this._getEvents();if("string"===i)delete r[t];else if("object"===i)for(e in r)r.hasOwnProperty(e)&&t.test(e)&&delete r[e];else delete this._events;return _____WB$wombat$check$this$function_____(this)},r.removeAllListeners=i("removeEvent"),r.emitEvent=function(t,e){var i,r,n,s=this.getListenersAsObject(t);for(n in s)if(s.hasOwnProperty(n))for(r=s[n].length;r--;)!0===(i=s[n][r]).once&&this.removeListener(t,i.listener),i.listener.apply(this,e||[])===this._getOnceReturnValue()&&this.removeListener(t,i.listener);return _____WB$wombat$check$this$function_____(this)},r.trigger=i("emitEvent"),r.emit=function(t){var e=Array.prototype.slice.call(arguments,1);return this.emitEvent(t,e)},r.setOnceReturnValue=function(t){return this._onceReturnValue=t,_____WB$wombat$check$this$function_____(this)},r._getOnceReturnValue=function(){return!this.hasOwnProperty("_onceReturnValue")||this._onceReturnValue},r._getEvents=function(){return this._events||(this._events={})},t.noConflict=function(){return n.EventEmitter=s,t},"function"==typeof define&&define.amd?define("eventEmitter/EventEmitter",[],function(){return t}):"object"==typeof module&&module.exports?module.exports=t:this.EventEmitter=t}.call(this),
/*!
 * eventie v1.0.4
 * event binding helper
 *   eventie.bind( elem, 'click', myFn )
 *   eventie.unbind( elem, 'click', myFn )
 */
function(t){function e(e){var i=t.event;return i.target=i.target||i.srcElement||e,i}var i=document.documentElement,r=function(){};i.addEventListener?r=function(t,e,i){t.addEventListener(e,i,!1)}:i.attachEvent&&(r=function(t,i,r){t[i+r]=r.handleEvent?function(){var i=e(t);r.handleEvent.call(r,i)}:function(){var i=e(t);r.call(t,i)},t.attachEvent("on"+i,t[i+r])});var n=function(){};i.removeEventListener?n=function(t,e,i){t.removeEventListener(e,i,!1)}:i.detachEvent&&(n=function(t,e,i){t.detachEvent("on"+e,t[e+i]);try{delete t[e+i]}catch(r){t[e+i]=undefined}});var s={bind:r,unbind:n};"function"==typeof define&&define.amd?define("eventie/eventie",s):t.eventie=s}(_____WB$wombat$check$this$function_____(this)),
/*!
 * imagesLoaded v3.1.8
 * JavaScript is all like "You images are done yet or what?"
 * MIT License
 */
function(t,e){"function"==typeof define&&define.amd?define(["eventEmitter/EventEmitter","eventie/eventie"],function(i,r){return e(t,i,r)}):"object"==typeof exports?module.exports=e(t,require("wolfy87-eventemitter"),require("eventie")):t.imagesLoaded=e(t,t.EventEmitter,t.eventie)}(window,function(t,e,i){function r(t,e){for(var i in e)t[i]=e[i];return t}function n(t){return"[object Array]"===h.call(t)}function s(t){var e=[];if(n(t))e=t;else if("number"==typeof t.length)for(var i=0,r=t.length;i<r;i++)e.push(t[i]);else e.push(t);return e}function o(t,e,i){if(!(this instanceof o))return new o(t,e);"string"==typeof t&&(t=document.querySelectorAll(t)),this.elements=s(t),this.options=r({},this.options),"function"==typeof e?i=e:r(this.options,e),i&&this.on("always",i),this.getImages(),c&&(this.jqDeferred=new c.Deferred);var n=_____WB$wombat$check$this$function_____(this);setTimeout(function(){n.check()})}function a(t){this.img=t}function l(t){this.src=t,d[t]=_____WB$wombat$check$this$function_____(this)}var c=t.jQuery,u=t.console,p=void 0!==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;t<e;t++){var i=this.elements[t];"IMG"===i.nodeName&&this.addImage(i);var r=i.nodeType;if(r&&(1===r||9===r||11===r))for(var n=i.querySelectorAll("img"),s=0,o=n.length;s<o;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),++i===r&&e.complete(),!0}var e=_____WB$wombat$check$this$function_____(this),i=0,r=this.images.length;if(this.hasAnyBroken=!1,r)for(var n=0;n<r;n++){var s=this.images[n];s.on("confirm",t),s.check()}else this.complete()},o.prototype.progress=function(t){this.hasAnyBroken=this.hasAnyBroken||!t.isLoaded;var e=_____WB$wombat$check$this$function_____(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=_____WB$wombat$check$this$function_____(this);setTimeout(function(){if(e.emit(t,e),e.emit("always",e),e.jqDeferred){var i=e.hasAnyBroken?"reject":"resolve";e.jqDeferred[i](e)}})},c&&(c.fn.imagesLoaded=function(t,e){return new o(this,t,e).jqDeferred.promise(c(this))}),a.prototype=new e,a.prototype.check=function(){var t=d[this.img.src]||new l(this.img.src);if(t.isConfirmed)this.confirm(t.isLoaded,"cached was confirmed");else if(this.img.complete&&this.img.naturalWidth!==undefined)this.confirm(0!==this.img.naturalWidth,"naturalWidth");else{var e=_____WB$wombat$check$this$function_____(this);t.on("confirm",function(t,i){return e.confirm(t.isLoaded,i),!0}),t.check()}},a.prototype.confirm=function(t,e){this.isLoaded=t,this.emit("confirm",_____WB$wombat$check$this$function_____(this),e)};var d={};return l.prototype=new e,l.prototype.check=function(){if(!this.isChecked){var t=new Image;i.bind(t,"load",_____WB$wombat$check$this$function_____(this)),i.bind(t,"error",_____WB$wombat$check$this$function_____(this)),t.src=this.src,this.isChecked=!0}},l.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&_____WB$wombat$check$this$function_____(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",_____WB$wombat$check$this$function_____(this),e)},l.prototype.unbindProxyEvents=function(t){i.unbind(t.target,"load",_____WB$wombat$check$this$function_____(this)),i.unbind(t.target,"error",_____WB$wombat$check$this$function_____(this))},o}),
/**
 * jQuery Grid-A-Licious(tm) v3.01
 *
 * Terms of Use - jQuery Grid-A-Licious(tm)
 * under the MIT (http://www.opensource.org/licenses/mit-license.php) License.
 *
 * Copyright 2008-2012 Andreas Pihlström (Suprb). All rights reserved.
 * (http://suprb.com/apps/gridalicious/)
 *
 */
function(t,e){var i=function(t,e,i){var r;return function(){function n(){i||t.apply(s,o),r=null}var s=_____WB$wombat$check$this$function_____(this),o=arguments;r?clearTimeout(r):i&&t.apply(s,o),r=setTimeout(n,e||150)}};jQuery.fn[e]=function(t){return t?this.bind("resize",i(t)):this.trigger(e)}}(jQuery,"smartresize"),function(t){t.Gal=function(e,i){this.element=t(i),this._init(e)},t.Gal.settings={selector:".item",width:225,gutter:20,animate:!1,columns:3,embedLayout:"v1",animationOptions:{speed:200,duration:300,effect:"fadeInOnAppear",queue:!0,complete:function(){}}},t.Gal.prototype={_init:function(e){var i=_____WB$wombat$check$this$function_____(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(){i.resize()})},_addLoadMore:function(){var e=t("<a href='#'>Load More</a>").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||"",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("<div></div>").addClass("j-stacker-wrapper").css({marginLeft:-this.options.gutter/2,marginRight:-this.options.gutter/2}),i=t("<div></div>").addClass("j-stacker"),r=0;r<this.cols;r++){var n="v2"===this.options.embedLayout?"<ul></ul>":"<div></div>",s=t(n).addClass("j-stack galcolumn column-"+r+"-"+this.name).attr("id","j-column-"+r).css({width:w+"%",paddingLeft:this.options.gutter/2,paddingRight:this.options.gutter/2});i.append(s)}e.append(i),this.box.append(e),this.box.find(t("#clear"+this.name)).remove();var o=t("<div></div>").css({clear:"both",height:"0",width:"0",display:"block"}).attr("id","clear"+this.name);this.box.append(o)},_renderGrid:function(e,i,r){var n=[],s=[],o=0,a=(this.prependCount,this.appendCount),l=this.options.gutter,c=this.cols,u=this.name;t(".j-stack").width();i?(s=i,"append"==e&&(a+=r,o=this.appendCount),"prepend"==e&&(this.isPrepending=!0,(o=Math.round(r%c))<=0&&(o=c)),"renderAfterPrepend"==e&&(a+=r,o=r)):(s=this.gridArr,a=t(this.gridArr).length),t.each(s,function(i,r){var s=t(r),p="100%";s.hasClass("not-responsive")&&(p="auto"),s.css({marginBottom:l,zoom:"1"}).find(".j-image img, object, embed, iframe").css({width:p,height:"auto",display:"block","margin-left":"auto","margin-right":"auto"}),"prepend"==e?(t(".column-"+--o+"-"+u).prepend(s),n.push(s),0==o&&(o=c)):(t(".column-"+o+"-"+u).append(s),n.push(s),++o>=c&&(o=0),a>=c&&(a-=c))}),this.appendCount=a,this.itemCount=o,"append"==e||"prepend"==e?("prepend"==e&&this._updateAfterPrepend(this.gridArr,s),this._renderItem(n),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 i=this.options.animationOptions.speed,r=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;!0!==o||this.isResizing?(t.each(e,function(e,i){t(i).css({opacity:"1"})}),this.ifCallback&&a.call(e)):(!0===s&&"fadeInOnAppear"==r?(this.isPrepending&&e.reverse(),t.each(e,function(r,s){setTimeout(function(){t(s).animate({opacity:"1.0"},n),++c==e.length&&a.call(undefined,e)},l*i),l++})):!1===s&&"fadeInOnAppear"==r&&(this.isPrepending&&e.reverse(),t.each(e,function(i,r){t(r).animate({opacity:"1.0"},n),++c==e.length&&this.ifCallback&&a.call(undefined,e)})),!0!==s||r||t.each(e,function(i,r){t(r).css({opacity:"1"}),++c==e.length&&this.ifCallback&&a.call(undefined,e)}))},_updateAfterPrepend:function(e,i){var r=this.gridArr;t.each(i,function(t,e){r.unshift(e)}),this.gridArr=r},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 i=this.gridArr,r=this.gridArrPrepend;t.each(e,function(t,e){i.push(e),r.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,i){return"string"==typeof e?this.each(function(){var r=t.data(this,"gridalicious");r[e].apply(r,[i])}):this.each(function(){t.data(this,"gridalicious",new t.Gal(e,_____WB$wombat$check$this$function_____(this)))}),_____WB$wombat$check$this$function_____(this)}}(jQuery),function(){function t(t){return(t||"").split(" ")}function e(t,e,i){return s(t,e,i)}function i(t,e,i,r){return"number"!=typeof i&&"string"!=typeof i||null!=r||(r=i,i=undefined),s(t,e,i,{timezone:r})}function r(t,e,i){return s(t,e,i,{utc:!0})}function n(t){return function(i,r,n){return e(i,r,t,n)}}function s(t,e,i,r){r=r||{},e&&!a(e)&&(i=e,e=undefined),e=e||new Date,(i=i||d).formats=i.formats||{};var n=e.getTime(),h=r.timezone,f=typeof h;if((r.utc||"number"==f||"string"==f)&&(e=o(e)),h){if("string"==f){var m="-"==h[0]?-1:1,g=parseInt(h.slice(1,3),10),y=parseInt(h.slice(3,5),10);h=m*(60*g+y)}f&&(e=new Date(e.getTime()+6e4*h))}return t.replace(/%([-_0]?.)/g,function(t,o){var a,d;if(2==o.length){if("-"==(a=o[0]))d="";else if("_"==a)d=" ";else{if("0"!=a)return t;d="0"}o=o[1]}switch(o){case"A":return i.days[e.getDay()];case"a":return i.shortDays[e.getDay()];case"B":return i.months[e.getMonth()];case"b":return i.shortMonths[e.getMonth()];case"C":return l(Math.floor(e.getFullYear()/100),d);case"D":return s(i.formats.D||"%m/%d/%y",e,i);case"d":return l(e.getDate(),d);case"e":return l(e.getDate(),null==d?" ":d);case"F":return s(i.formats.F||"%Y-%m-%d",e,i);case"H":return l(e.getHours(),d);case"h":return i.shortMonths[e.getMonth()];case"I":return l(c(e),d);case"j":var f=new Date(e.getFullYear(),0,1);return l(m=Math.ceil((e.getTime()-f.getTime())/864e5),3);case"k":return l(e.getHours(),null==d?" ":d);case"L":return l(Math.floor(n%1e3),3);case"l":return l(c(e),null==d?" ":d);case"M":return l(e.getMinutes(),d);case"m":return l(e.getMonth()+1,d);case"n":return"\n";case"o":return String(e.getDate())+u(e.getDate());case"P":return e.getHours()<12?i.am:i.pm;case"p":return e.getHours()<12?i.AM:i.PM;case"R":return s(i.formats.R||"%H:%M",e,i);case"r":return s(i.formats.r||"%I:%M:%S %p",e,i);case"S":return l(e.getSeconds(),d);case"s":return Math.floor(n/1e3);case"T":return s(i.formats.T||"%H:%M:%S",e,i);case"t":return"\t";case"U":return l(p(e,"sunday"),d);case"u":var m;return 0==(m=e.getDay())?7:m;case"v":return s(i.formats.v||"%e-%b-%Y",e,i);case"W":return l(p(e,"monday"),d);case"w":return e.getDay();case"Y":return e.getFullYear();case"y":return(f=String(e.getFullYear())).slice(f.length-2);case"Z":if(r.utc)return"GMT";var g=e.toString().match(/\(([\w\s]+)\)/);return g&&g[1]||"";case"z":if(r.utc)return"+0000";var y="number"==typeof h?h:-e.getTimezoneOffset();return(y<0?"-":"+")+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,i=f.length;for(e=0;e<i;++e)if("function"!=typeof t[f[e]])return!1;return!0}function l(t,e,i){"number"==typeof e&&(i=e,e="0"),null==e&&(e="0"),i=i||2;var r=String(t);if(e)for(;r.length<i;)r=e+r;return r}function c(t){var e=t.getHours();return 0==e?e=12:e>12&&(e-=12),e}function u(t){var e=t%10,i=t%100;if(i>=11&&i<=13||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 i=t.getDay();"monday"==e&&(0==i?i=6:i--);var r=((t-new Date(t.getFullYear(),0,1))/864e5+7-i)/7;return Math.floor(r)}var h;h="undefined"!=typeof module?module.exports=e:function(){return _____WB$wombat$check$this$function_____(this)||(0,self.eval)("this")}();var d={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=i,h.strftimeUTC=e.strftimeUTC=r,h.localizedStrftime=e.localizedStrftime=n;var f=["getTime","getTimezoneOffset","getDay","getDate","getMonth","getFullYear","getYear","getHours","getMinutes","getSeconds"]}(),function(){var t,e=[].slice;t=function(){var t,i,r,n,s,o;return s=/(^|[\s\n]|<br\/?>)((?:https?|ftp):\/\/[\-A-Z0-9+\u0026\u2019@#\/%?=()~_|!:,.;]*[\-A-Z0-9+\u0026@#\/%=~()_|])/gi,(n=1<=arguments.length?e.call(arguments,0):[]).length>0?(r=n[0],i=function(){var e;for(t in e=[],r)o=r[t],"callback"!==t&&e.push(" "+t+"='"+o+"'");return e}().join(""),this.replace(s,function(t,e,n){return""+e+(("function"==typeof r.callback?r.callback(n):void 0)||"<a href='"+n+"'"+i+">"+n+"</a>")})):this.replace(s,"$1<a href='$2'>$2</a>")},String.prototype.autoLink=t}.call(this),
/*!
 * Packery PACKAGED v2.0.0
 * Gapless, draggable grid layouts
 *
 * Licensed GPLv3 for open source use
 * or Packery Commercial License for commercial use
 *
 * http://packery.metafizzy.co
 * Copyright 2016 Metafizzy
 */
Object.create||(Object.create=function(t,e){function i(){}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(void 0!==e)throw new Error("This browser's implementation of Object.create is a shim and doesn't support a second argument.");return i.prototype=t,new i}),function(t,e){"use strict";t.jQueryBridget=e(t,t.jQuery)}(window,function(t,e){"use strict";function i(i,s,a){function l(t,e,r){var n,s="$()."+i+'("'+e+'")';return t.each(function(t,l){var c=a.data(l,i);if(c){var u=c[e];if(u&&"_"!=e.charAt(0)){var p=u.apply(c,r);n=n===undefined?p:n}else o(s+" is not a valid method")}else o(i+" not initialized. Cannot call methods, i.e. "+s)}),n!==undefined?n:t}function c(t,e){t.each(function(t,r){var n=a.data(r,i);n?(n.option(e),n._init()):(n=new s(r,e),a.data(r,i,n))})}(a=a||e||t.jQuery)&&(s.prototype.option||(s.prototype.option=function(t){a.isPlainObject(t)&&(this.options=a.extend(!0,this.options,t))}),a.fn[i]=function(t){return"string"==typeof t?l(this,t,n.call(arguments,1)):(c(this,t),_____WB$wombat$check$this$function_____(this))},r(a))}function r(t){!t||t&&t.bridget||(t.bridget=i)}var n=Array.prototype.slice,s=t.console,o=void 0===s?function(){}:function(t){s.error(t)};return r(e||t.jQuery),i}),
/*!
 * getWindowSize v2.0.2
 * measure size of elements
 * MIT license
 */
function(t,e){"use strict";t.getWindowSize=e()}(window,function(){"use strict";function t(t){var e=parseFloat(t);return-1==t.indexOf("%")&&!isNaN(e)&&e}function e(){}function i(){for(var t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},e=0;e<c;e++){t[l[e]]=0}return t}function r(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 i=document.body||document.documentElement;i.appendChild(e);var n=r(e);s.isBoxSizeOuter=o=200==t(n.width),i.removeChild(e)}}function s(e){if(n(),"string"==typeof e&&(e=document.querySelector(e)),e&&"object"==typeof e&&e.nodeType){var s=r(e);if("none"==s.display)return i();var a={};a.width=e.offsetWidth,a.height=e.offsetHeight;for(var u=a.isBorderBox="border-box"==s.boxSizing,p=0;p<c;p++){var h=l[p],d=s[h],f=parseFloat(d);a[h]=isNaN(f)?0:f}var m=a.paddingLeft+a.paddingRight,g=a.paddingTop+a.paddingBottom,y=a.marginLeft+a.marginRight,v=a.marginTop+a.marginBottom,w=a.borderLeftWidth+a.borderRightWidth,b=a.borderTopWidth+a.borderBottomWidth,S=u&&o,k=t(s.width);!1!==k&&(a.width=k+(S?0:m+w));var _=t(s.height);return!1!==_&&(a.height=_+(S?0:g+b)),a.innerWidth=a.width-(m+w),a.innerHeight=a.height-(g+b),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 i=this._events=this._events||{},r=i[t]=i[t]||[];return-1==r.indexOf(e)&&r.push(e),_____WB$wombat$check$this$function_____(this)}},e.once=function(t,e){if(t&&e){this.on(t,e);var i=this._onceEvents=this._onceEvents||{};return(i[t]=i[t]||{})[e]=!0,_____WB$wombat$check$this$function_____(this)}},e.off=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var r=i.indexOf(e);return-1!=r&&i.splice(r,1),_____WB$wombat$check$this$function_____(this)}},e.emitEvent=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var r=0,n=i[r];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),n=i[r+=o?0:1]}return _____WB$wombat$check$this$function_____(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"],i=0;i<e.length;i++){var r=e[i]+"MatchesSelector";if(t[r])return r}}();return function(e,i){return e[t](i)}}),function(t,e){t.fizzyUIUtils=e(t,t.matchesSelector)}(window,function(t,e){var i={extend:function(t,e){for(var i in e)t[i]=e[i];return t},modulo:function(t,e){return(t%e+e)%e},makeArray:function(t){var e=[];if(Array.isArray(t))e=t;else if(t&&"number"==typeof t.length)for(var i=0;i<t.length;i++)e.push(t[i]);else e.push(t);return e},removeFrom:function(t,e){var i=t.indexOf(e);-1!=i&&t.splice(i,1)},getParent:function(t,i){for(;t!=document.body;)if(t=t.parentNode,e(t,i))return t},getQueryElement:function(t){return"string"==typeof t?document.querySelector(t):t},handleEvent:function(t){var e="on"+t.type;this[e]&&_____WB$wombat$check$this$function_____(this)[e](t)},filterFindElements:function(t,r){t=i.makeArray(t);var n=[];return t.forEach(function(t){if(t instanceof HTMLElement)if(r){e(t,r)&&n.push(t);for(var i=t.querySelectorAll(r),s=0;s<i.length;s++)n.push(i[s])}else n.push(t)}),n},debounceMethod:function(t,e,i){var r=t.prototype[e],n=e+"Timeout";t.prototype[e]=function(){var t=_____WB$wombat$check$this$function_____(this)[n];t&&clearTimeout(t);var e=arguments,s=_____WB$wombat$check$this$function_____(this);this[n]=setTimeout(function(){r.apply(s,e),delete s[n]},i||100)}},docReady:function(t){"complete"==document.readyState?t():document.addEventListener?document.addEventListener("DOMContentLoaded",t):document.attachEvent("onreadystatechange",t)},toDashed:function(t){return t.replace(/(.)([A-Z])/g,function(t,e,i){return e+"-"+i}).toLowerCase()}},r=t.console;return i.htmlInit=function(e,n){i.docReady(function(){var s=i.toDashed(n),o="data-"+s,a=document.querySelectorAll("["+o+"]"),l=document.querySelectorAll(".js-"+s),c=i.makeArray(a).concat(i.makeArray(l)),u=o+"-options",p=t.jQuery;c.forEach(function(t){var i,s=t.getAttribute(o)||t.getAttribute(u);try{i=s&&JSON.parse(s)}catch(l){return void(r&&r.error("Error parsing "+o+" on "+t.className+": "+l))}var a=new e(t,i);p&&p.data(t,n,a)})})},i}),function(t,e){t.Outlayer={},t.Outlayer.Item=e(t.EvEmitter,t.getWindowSize)}(window,function(t,e){"use strict";function i(t){for(var e in t)return!1;return null,!0}function r(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=r.prototype=Object.create(t.prototype);u.constructor=r,u._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},u.handleEvent=function(t){var e="on"+t.type;this[e]&&_____WB$wombat$check$this$function_____(this)[e](t)},u.getWindowSize=function(){this.size=e(this.element)},u.css=function(t){var e=this.element.style;for(var i in t){e[c[i]||i]=t[i]}},u.getPosition=function(){var t=getComputedStyle(this.element),e=this.layout._getOption("originLeft"),i=this.layout._getOption("originTop"),r=t[e?"left":"right"],n=t[i?"top":"bottom"],s=this.layout.size,o=-1!=r.indexOf("%")?parseFloat(r)/100*s.width:parseInt(r,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-=i?s.paddingTop:s.paddingBottom,this.position.x=o,this.position.y=a},u.layoutPosition=function(){var t=this.layout.size,e={},i=this.layout._getOption("originLeft"),r=this.layout._getOption("originTop"),n=i?"paddingLeft":"paddingRight",s=i?"left":"right",o=i?"right":"left",a=this.position.x+t[n];e[s]=this.getXValue(a),e[o]="";var l=r?"paddingTop":"paddingBottom",c=r?"top":"bottom",u=r?"bottom":"top",p=this.position.y+t[l];e[c]=this.getYValue(p),e[u]="",this.css(e),this.emitEvent("layout",[this])},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 i=this.position.x,r=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){var a=t-i,l=e-r,c={};c.transform=this.getTranslate(a,l),this.transition({to:c,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})}else this.layoutPosition()},u.getTranslate=function(t,e){return"translate3d("+(t=this.layout._getOption("originLeft")?t:-t)+"px, "+(e=this.layout._getOption("originTop")?e:-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){for(var e in this.css(t.to),t.isCleaning&&this._removeStyles(t.to),t.onTransitionEnd)t.onTransitionEnd[e].call(this)},u.transition=function(t){if(parseFloat(this.layout.options.transitionDuration)){var e=this._transn;for(var i in t.onTransitionEnd)e.onEnd[i]=t.onTransitionEnd[i];for(i in t.to)e.ingProperties[i]=!0,t.isCleaning&&(e.clean[i]=!0);if(t.from){this.css(t.from);this.element.offsetHeight;null}this.enableTransition(t.to),this.css(t.to),this.isTransitioning=!0}else this._nonTransition(t)};var p="opacity,"+n(a);u.enableTransition=function(){this.isTransitioning||(this.css({transitionProperty:p,transitionDuration:this.layout.options.transitionDuration}),this.element.addEventListener(l,_____WB$wombat$check$this$function_____(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,r=h[t.propertyName]||t.propertyName;if(delete e.ingProperties[r],i(e.ingProperties)&&this.disableTransition(),r in e.clean&&(this.element.style[t.propertyName]="",delete e.clean[r]),r in e.onEnd)e.onEnd[r].call(this),delete e.onEnd[r];this.emitEvent("transitionEnd",[this])}},u.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(l,_____WB$wombat$check$this$function_____(this),!1),this.isTransitioning=!1},u._removeStyles=function(t){var e={};for(var i in t)e[i]="";this.css(e)};var d={transitionProperty:"",transitionDuration:""};return u.removeTransitionStyles=function(){this.css(d)},u.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},u.remove=function(){o&&parseFloat(this.layout.options.transitionDuration)?(this.once("transitionEnd",function(){this.removeElem()}),this.hide()):this.removeElem()},u.reveal=function(){delete this.isHidden,this.css({display:""});var t=this.layout.options,e={};e[this.getHideRevealTransitionEndProperty("visibleStyle")]=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[t];if(e.opacity)return"opacity";for(var i in e)return i},u.hide=function(){this.isHidden=!0,this.css({display:""});var t=this.layout.options,e={};e[this.getHideRevealTransitionEndProperty("hiddenStyle")]=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:""})},r}),
/*!
 * Outlayer v2.0.1
 * the brains and guts of a layout library
 * MIT license
 */
function(t,e){"use strict";t.Outlayer=e(t,t.EvEmitter,t.getWindowSize,t.fizzyUIUtils,t.Outlayer.Item)}(window,function(t,e,i,r,n){"use strict";function s(t,e){var i=r.getQueryElement(t);if(i){this.element=i,l&&(this.$element=l(this.element)),this.options=r.extend({},this.constructor.defaults),this.option(e);var n=++u;this.element.outlayerGUID=n,p[n]=_____WB$wombat$check$this$function_____(this),this._create(),this._getOption("initLayout")&&this.layout()}else a&&a.error("Bad element for "+this.constructor.namespace+": "+(i||t))}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 r.extend(h,e.prototype),h.option=function(t){r.extend(this.options,t)},h._getOption=function(t){var e=this.constructor.compatOptions[t];return e&&this.options[e]!==undefined?this.options[e]:this.options[t]},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),r.extend(this.element.style,this.options.containerStyle),this._getOption("resize")&&this.bindResize()},h.reloadItems=function(){this.items=this._itemize(this.element.children)},h._itemize=function(t){for(var e=this._filterFindItemElements(t),i=this.constructor.Item,r=[],n=0;n<e.length;n++){var s=new i(e[n],_____WB$wombat$check$this$function_____(this));r.push(s)}return r},h._filterFindItemElements=function(t){return r.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=t!==undefined?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=i(this.element)},h._getMeasurement=function(t,e){var r,n=this.options[t];n?("string"==typeof n?r=this.element.querySelector(n):n instanceof HTMLElement&&(r=n),_____WB$wombat$check$this$function_____(this)[t]=r?i(r)[e]:n):this[t]=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 i=[];t.forEach(function(t){var r=this._getItemLayoutPosition(t);r.item=t,r.isInstant=e||t.isLayoutInstant,i.push(r)},_____WB$wombat$check$this$function_____(this)),this._processLayoutQueue(i)}},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)},_____WB$wombat$check$this$function_____(this))},h._positionItem=function(t,e,i,r){r?t.goTo(e,i):t.moveTo(e,i)},h._postLayout=function(){this.resizeContainer()},h.resizeContainer=function(){if(this._getOption("resizeContainer")){var t=this._getContainerSize();t&&(this._setContainerMeasure(t.width,!0),this._setContainerMeasure(t.height,!1))}},h._getContainerSize=c,h._setContainerMeasure=function(t,e){if(t!==undefined){var i=this.size;i.isBorderBox&&(t+=e?i.paddingLeft+i.paddingRight+i.borderLeftWidth+i.borderRightWidth:i.paddingBottom+i.paddingTop+i.borderTopWidth+i.borderBottomWidth),t=Math.max(t,0),this.element.style[e?"width":"height"]=t+"px"}},h._emitCompleteOnItems=function(t,e){function i(){n.dispatchEvent(t+"Complete",null,[e])}function r(){++o==s&&i()}var n=_____WB$wombat$check$this$function_____(this),s=e.length;if(e&&s){var o=0;e.forEach(function(e){e.once(t,r)})}else i()},h.dispatchEvent=function(t,e,i){var r=e?[e].concat(i):i;if(this.emitEvent(t,r),l)if(this.$element=this.$element||l(this.element),e){var n=l.Event(e);n.type=t,this.$element.trigger(n,i)}else this.$element.trigger(t,i)},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))&&(this.stamps=this.stamps.concat(t),t.forEach(this.ignore,_____WB$wombat$check$this$function_____(this)))},h.unstamp=function(t){(t=this._find(t))&&t.forEach(function(t){r.removeFrom(this.stamps,t),this.unignore(t)},_____WB$wombat$check$this$function_____(this))},h._find=function(t){if(t)return"string"==typeof t&&(t=this.element.querySelectorAll(t)),t=r.makeArray(t)},h._manageStamps=function(){this.stamps&&this.stamps.length&&(this._getBoundingRect(),this.stamps.forEach(this._manageStamp,_____WB$wombat$check$this$function_____(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(),r=this._boundingRect,n=i(t);return{left:e.left-r.left-n.marginLeft,top:e.top-r.top-n.marginTop,right:r.right-e.right-n.marginRight,bottom:r.bottom-e.bottom-n.marginBottom}},h.handleEvent=r.handleEvent,h.bindResize=function(){t.addEventListener("resize",_____WB$wombat$check$this$function_____(this)),this.isResizeBound=!0},h.unbindResize=function(){t.removeEventListener("resize",_____WB$wombat$check$this$function_____(this)),this.isResizeBound=!1},h.onresize=function(){this.resize()},r.debounceMethod(s,"onresize",100),h.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},h.needsResizeLayout=function(){var t=i(this.element);return this.size&&t&&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 i=this.items.slice(0);this.items=e.concat(i),this._resetLayout(),this._manageStamps(),this.layoutItems(e,!0),this.reveal(e),this.layoutItems(i)}},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 i=this.items[e];if(i.element==t)return i}},h.getItems=function(t){t=r.makeArray(t);var e=[];return t.forEach(function(t){var i=this.getItem(t);i&&e.push(i)},_____WB$wombat$check$this$function_____(this)),e},h.remove=function(t){var e=this.getItems(t);this._emitCompleteOnItems("remove",e),e&&e.length&&e.forEach(function(t){t.remove(),r.removeFrom(this.items,t)},_____WB$wombat$check$this$function_____(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[e],delete this.element.outlayerGUID,l&&l.removeData(this.element,this.constructor.namespace)},s.data=function(t){var e=(t=r.getQueryElement(t))&&t.outlayerGUID;return e&&p[e]},s.create=function(t,e){var i=o(s);return i.defaults=r.extend({},s.defaults),r.extend(i.defaults,e),i.compatOptions=r.extend({},s.compatOptions),i.namespace=t,i.data=s.data,i.Item=o(n),r.htmlInit(i,t),l&&l.bridget&&l.bridget(t,i),i},s.Item=n,s}),function(t,e){t.Packery=t.Packery||{},t.Packery.Rect=e()}(window,function(){"use strict";function t(e){for(var i in t.defaults)this[i]=t.defaults[i];for(i in e)this[i]=e[i]}t.defaults={x:0,y:0,width:0,height:0};var e=t.prototype;return e.contains=function(t){var e=t.width||0,i=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+i},e.overlaps=function(t){var e=this.x+this.width,i=this.y+this.height,r=t.x+t.width,n=t.y+t.height;return this.x<r&&e>t.x&&this.y<n&&i>t.y},e.getMaximalFreeRects=function(e){if(!this.overlaps(e))return!1;var i,r=[],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&&(i=new t({x:this.x,y:this.y,width:this.width,height:e.y-this.y}),r.push(i)),n>o&&(i=new t({x:o,y:this.y,width:n-o,height:this.height}),r.push(i)),s>a&&(i=new t({x:this.x,y:a,width:this.width,height:s-a}),r.push(i)),this.x<e.x&&(i=new t({x:this.x,y:this.y,width:e.x-this.x,height:this.height}),r.push(i)),r},e.canFit=function(t){return this.width>=t.width&&this.height>=t.height},t}),function(t,e){var i=t.Packery=t.Packery||{};i.Packer=e(i.Rect)}(window,function(t){"use strict";function e(t,e,i){this.width=t||0,this.height=e||0,this.sortDirection=i||"downwardLeftToRight",this.reset()}var i=e.prototype;i.reset=function(){this.spaces=[];var e=new t({x:0,y:0,width:this.width,height:this.height});this.spaces.push(e),this.sorter=r[this.sortDirection]||r.downwardLeftToRight},i.pack=function(t){for(var e=0;e<this.spaces.length;e++){var i=this.spaces[e];if(i.canFit(t)){this.placeInSpace(t,i);break}}},i.columnPack=function(t){for(var e=0;e<this.spaces.length;e++){var i=this.spaces[e];if(i.x<=t.x&&i.x+i.width>=t.x+t.width&&i.height>=t.height-.01){t.y=i.y,this.placed(t);break}}},i.rowPack=function(t){for(var e=0;e<this.spaces.length;e++){var i=this.spaces[e];if(i.y<=t.y&&i.y+i.height>=t.y+t.height&&i.width>=t.width-.01){t.x=i.x,this.placed(t);break}}},i.placeInSpace=function(t,e){t.x=e.x,t.y=e.y,this.placed(t)},i.placed=function(t){for(var e=[],i=0;i<this.spaces.length;i++){var r=this.spaces[i],n=r.getMaximalFreeRects(t);n?e.push.apply(e,n):e.push(r)}this.spaces=e,this.mergeSortSpaces()},i.mergeSortSpaces=function(){e.mergeRects(this.spaces),this.spaces.sort(this.sorter)},i.addSpace=function(t){this.spaces.push(t),this.mergeSortSpaces()},e.mergeRects=function(t){var e=0,i=t[e];t:for(;i;){for(var r=0,n=t[e+r];n;){if(n==i)r++;else{if(n.contains(i)){t.splice(e,1),i=t[e];continue t}i.contains(n)?t.splice(e+r,1):r++}n=t[e+r]}i=t[++e]}return t};var r={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 i="string"==typeof document.documentElement.style.transform?"transform":"WebkitTransform",r=function(){t.Item.apply(this,arguments)},n=r.prototype=Object.create(t.Item.prototype),s=n._create;n._create=function(){s.call(this),this.rect=new e};var o=n.moveTo;return n.moveTo=function(t,e){var i=Math.abs(this.position.x-t),r=Math.abs(this.position.y-e);this.layout.dragItemCount&&!this.isPlacing&&!this.isTransitioning&&i<1&&r<1?this.goTo(t,e):o.apply(this,arguments)},n.enablePlacing=function(){this.removeTransitionStyles(),this.isTransitioning&&i&&(this.element.style[i]="none"),this.isTransitioning=!1,this.getWindowSize(),this.layout._setRectSize(this.element,this.rect),this.isPlacing=!0},n.disablePlacing=function(){this.isPlacing=!1},n.removeElem=function(){this.element.parentNode.removeChild(this.element),this.layout.packer.addSpace(this.rect),this.emitEvent("remove",[this])},n.showDropPlaceholder=function(){var t=this.dropPlaceholder;t||((t=this.dropPlaceholder=document.createElement("div")).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)},n.positionDropPlaceholder=function(){this.dropPlaceholder.style[i]="translate("+this.rect.x+"px, "+this.rect.y+"px)"},n.hideDropPlaceholder=function(){this.layout.element.removeChild(this.dropPlaceholder)},r}),
/*!
 * Packery v2.0.0
 * Gapless, draggable grid layouts
 *
 * Licensed GPLv3 for open source use
 * or Packery Commercial License for commercial use
 *
 * http://packery.metafizzy.co
 * Copyright 2016 Metafizzy
 */
function(t,e){t.Packery=e(t.getWindowSize,t.Outlayer,t.Packery.Rect,t.Packery.Packer,t.Packery.Item)}(window,function(t,e,i,r,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 i=e.x-t.x,r=e.y-t.y;return Math.sqrt(i*i+r*r)}i.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 r,this.shiftPacker=new r,this.isEnabled=!0,this.dragItemCount=0;var t=_____WB$wombat$check$this$function_____(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,i){i&&t.itemDragStart(e.currentTarget)},drag:function(e,i){i&&t.itemDragMove(e.currentTarget,i.position.left,i.position.top)},stop:function(e,i){i&&t.itemDragEnd(e.currentTarget)}}},c._resetLayout=function(){var t,e,i;this.getWindowSize(),this._getMeasurements(),this._getOption("horizontal")?(t=Infinity,e=this.size.innerHeight+this.gutter,i="rightwardTopToBottom"):(t=this.size.innerWidth+this.gutter,e=Infinity,i="downwardLeftToRight"),this.packer.width=this.shiftPacker.width=t,this.packer.height=this.shiftPacker.height=e,this.packer.sortDirection=this.shiftPacker.sortDirection=i,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[e](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,i){var r=t(e),n=r.outerWidth,s=r.outerHeight;(n||s)&&(n=this._applyGridGutter(n,this.columnWidth),s=this._applyGridGutter(s,this.rowHeight)),i.width=Math.min(n,this.packer.width),i.height=Math.min(s,this.packer.height)},c._applyGridGutter=function(t,e){if(!e)return t+this.gutter;var i=t%(e+=this.gutter);return t=Math[i&&i<1?"round":"ceil"](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,r=this.getItem(t);if(r&&r.isPlacing)e=r.rect;else{var n=this._getElementOffset(t);e=new i({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,i){var r=this.getItem(t);r&&(this.stamp(r.element),r.enablePlacing(),this.updateShiftTargets(r),e=e===undefined?r.rect.x:e,i=i===undefined?r.rect.y:i,this.shift(r,e,i),this._bindFitEvents(r),r.moveTo(r.rect.x,r.rect.y),this.shiftLayout(),this.unstamp(r.element),this.sortItemsByPosition(),r.disablePlacing())},c._bindFitEvents=function(t){function e(){2==++r&&i.dispatchEvent("fitComplete",null,[t])}var i=_____WB$wombat$check$this$function_____(this),r=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),i=this._getOption("horizontal")?"innerHeight":"innerWidth";return e[i]!=this.size[i]},c.resizeShiftPercentLayout=function(){var e=this._getItemsForLayout(this.items),i=this._getOption("horizontal"),r=i?"y":"x",n=i?"height":"width",s=i?"rowHeight":"columnWidth",o=i?"innerHeight":"innerWidth",a=_____WB$wombat$check$this$function_____(this)[s];if(a=a&&a+this.gutter){this._getMeasurements();var l=_____WB$wombat$check$this$function_____(this)[s]+this.gutter;e.forEach(function(t){var e=Math.round(t.rect[r]/a);t.rect[r]=e*l})}else{var c=t(this.element)[o]+this.gutter,u=this.packer[n];e.forEach(function(t){t.rect[r]=t.rect[r]/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"),r=this._getOption("originTop");this.stamps.forEach(function(t){var n=this.getItem(t);if(!n||!n.isPlacing){var s=this._getElementOffset(t),o=new i({x:e?s.left:s.right,y:r?s.top:s.bottom});this._setRectSize(t,o),this.shiftPacker.placed(o)}},_____WB$wombat$check$this$function_____(this));var n,s=this._getOption("horizontal"),o=s?"rowHeight":"columnWidth",a=s?"height":"width";this.shiftTargetKeys=[],this.shiftTargets=[];var l=_____WB$wombat$check$this$function_____(this)[o];if(l=l&&l+this.gutter){var c=Math.ceil(t.rect[a]/l),u=Math.floor((this.shiftPacker[a]+this.gutter)/l);n=(u-c)*l;for(var p=0;p<u;p++)this._addShiftTarget(p*l,0,n)}else n=this.shiftPacker[a]+this.gutter-t.rect[a],this._addShiftTarget(0,0,n);var h=this._getItemsForLayout(this.items),d=this._getPackMethod();h.forEach(function(t){var e=t.rect;this._setRectSize(t.element,e),this.shiftPacker[d](e),this._addShiftTarget(e.x,e.y,n);var i=s?e.x+e.width:e.x,r=s?e.y:e.y+e.height;if(this._addShiftTarget(i,r,n),l)for(var o=Math.round(e[a]/l),c=1;c<o;c++){var u=s?i:e.x+l*c,p=s?e.y+l*c:r;this._addShiftTarget(u,p,n)}},_____WB$wombat$check$this$function_____(this))},c._addShiftTarget=function(t,e,i){var r=this._getOption("horizontal")?e:t;if(!(0!==r&&r>i)){var n=t+","+e;-1!=this.shiftTargetKeys.indexOf(n)||(this.shiftTargetKeys.push(n),this.shiftTargets.push({x:t,y:e}))}},c.shift=function(t,e,i){var r,n=Infinity,s={x:e,y:i};this.shiftTargets.forEach(function(t){var e=a(t,s);e<n&&(r=t,n=e)}),t.rect.x=r.x,t.rect.y=r.y};var u=120;c.itemDragMove=function(t,e,i){function r(){s.shift(n,e,i),n.positionDropPlaceholder(),s.layout()}var n=this.isEnabled&&this.getItem(t);if(n){e-=this.size.paddingLeft,i-=this.size.paddingTop;var s=_____WB$wombat$check$this$function_____(this),o=new Date;this._itemDragTime&&o-this._itemDragTime<u?(clearTimeout(this.dragTimeout),this.dragTimeout=setTimeout(r,u)):(r(),this._itemDragTime=o)}},c.itemDragEnd=function(t){function e(){2==++r&&(i.element.classList.remove("is-positioning-post-drag"),i.hideDropPlaceholder(),n.dispatchEvent("dragItemPositioned",null,[i]))}var i=this.isEnabled&&this.getItem(t);if(i){clearTimeout(this.dragTimeout),i.element.classList.add("is-positioning-post-drag");var r=0,n=_____WB$wombat$check$this$function_____(this);i.once("layout",e),this.once("layoutComplete",e),i.moveTo(i.rect.x,i.rect.y),this.layout(),this.dragItemCount=Math.max(0,this.dragItemCount-1),this.sortItemsByPosition(),i.disablePlacing(),this.unstamp(i.element)}},c.bindDraggabillyEvents=function(t){this._bindDraggabillyEvents(t,"on")},c.unbindDraggabillyEvents=function(t){this._bindDraggabillyEvents(t,"off")},c._bindDraggabillyEvents=function(t,e){var i=this.handleDraggabilly;t[e]("dragStart",i.dragStart),t[e]("dragMove",i.dragMove),t[e]("dragEnd",i.dragEnd)},c.bindUIDraggableEvents=function(t){this._bindUIDraggableEvents(t,"on")},c.unbindUIDraggableEvents=function(t){this._bindUIDraggableEvents(t,"off")},c._bindUIDraggableEvents=function(t,e){var i=this.handleUIDraggable;t[e]("dragstart",i.start)[e]("drag",i.drag)[e]("dragstop",i.stop)};var p=c.destroy;return c.destroy=function(){p.apply(this,arguments),this.isEnabled=!1},l.Rect=i,l.Packer=r,l}),function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):"undefined"!=typeof exports?module.exports=t(require("jquery")):t(jQuery)}(function(t){"use strict";var e=window.Slick||{};(e=function(){function e(e,r){var n,s=_____WB$wombat$check$this$function_____(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,r),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=i++,s.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/,s.registerBreakpoints(),s.init(!0),s.checkResponsive(!0)}var i=0;return e}()).prototype.addSlide=e.prototype.slickAdd=function(e,i,r){var n=_____WB$wombat$check$this$function_____(this);if("boolean"==typeof i)r=i,i=null;else if(i<0||i>=n.slideCount)return!1;n.unload(),"number"==typeof i?0===i&&0===n.$slides.length?t(e).appendTo(n.$slideTrack):r?t(e).insertBefore(n.$slides.eq(i)):t(e).insertAfter(n.$slides.eq(i)):!0===r?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,i){t(i).attr("data-slick-index",e)}),n.$slidesCache=n.$slides,n.reinit()},e.prototype.animateHeight=function(){var t=_____WB$wombat$check$this$function_____(this);if(1===t.options.slidesToShow&&!0===t.options.adaptiveHeight&&!1===t.options.vertical){var e=t.$slides.eq(t.currentSlide).outerHeight(!0);t.$list.animate({height:e},t.options.speed)}},e.prototype.animateSlide=function(e,i){var r={},n=_____WB$wombat$check$this$function_____(this);n.animateHeight(),!0===n.options.rtl&&!1===n.options.vertical&&(e=-e),!1===n.transformsEnabled?!1===n.options.vertical?n.$slideTrack.animate({left:e},n.options.speed,n.options.easing,i):n.$slideTrack.animate({top:e},n.options.speed,n.options.easing,i):!1===n.cssTransitions?(!0===n.options.rtl&&(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),!1===n.options.vertical?(r[n.animType]="translate("+t+"px, 0px)",n.$slideTrack.css(r)):(r[n.animType]="translate(0px,"+t+"px)",n.$slideTrack.css(r))},complete:function(){i&&i.call()}})):(n.applyTransition(),e=Math.ceil(e),!1===n.options.vertical?r[n.animType]="translate3d("+e+"px, 0px, 0px)":r[n.animType]="translate3d(0px,"+e+"px, 0px)",n.$slideTrack.css(r),i&&setTimeout(function(){n.disableTransition(),i.call()},n.options.speed))},e.prototype.asNavFor=function(e){var i=_____WB$wombat$check$this$function_____(this),r=i.options.asNavFor;r&&null!==r&&(r=t(r).not(i.$slider)),null!==r&&"object"==typeof r&&r.each(function(){var i=t(this).slick("getSlick");i.unslicked||i.slideHandler(e,!0)})},e.prototype.applyTransition=function(t){var e=_____WB$wombat$check$this$function_____(this),i={};!1===e.options.fade?i[e.transitionType]=e.transformType+" "+e.options.speed+"ms "+e.options.cssEase:i[e.transitionType]="opacity "+e.options.speed+"ms "+e.options.cssEase,!1===e.options.fade?e.$slideTrack.css(i):e.$slides.eq(t).css(i)},e.prototype.autoPlay=function(){var t=_____WB$wombat$check$this$function_____(this);t.autoPlayTimer&&clearInterval(t.autoPlayTimer),t.slideCount>t.options.slidesToShow&&!0!==t.paused&&!0!==t.stopped&&(t.autoPlayTimer=setInterval(t.autoPlayIterator,t.options.autoplaySpeed))},e.prototype.autoPlayClear=function(){var t=_____WB$wombat$check$this$function_____(this);t.autoPlayTimer&&clearInterval(t.autoPlayTimer)},e.prototype.autoPlayIterator=function(){var t=_____WB$wombat$check$this$function_____(this);!1===t.options.infinite?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=_____WB$wombat$check$this$function_____(this);!0===e.options.arrows&&(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),!0!==e.options.infinite&&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,i,r=_____WB$wombat$check$this$function_____(this);if(!0===r.options.dots&&r.slideCount>r.options.slidesToShow){for(i='<ul class="'+r.options.dotsClass+'">',e=0;e<=r.getDotCount();e+=1)i+="<li>"+r.options.customPaging.call(this,r,e)+"</li>";i+="</ul>",r.$dots=t(i).appendTo(r.options.appendDots),r.$dots.find("li").first().addClass("slick-active").attr("aria-hidden","false")}},e.prototype.buildOut=function(){var e=_____WB$wombat$check$this$function_____(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,i){t(i).attr("data-slick-index",e).data("originalStyling",t(i).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),!0!==e.options.centerMode&&!0!==e.options.swipeToSlide||(e.options.slidesToScroll=1),t("img[data-lazy]",e.$slider).not("[src]").addClass("slick-loading"),e.setupInfinite(),e.buildArrows(),e.buildDots(),e.updateDots(),e.setSlideClasses("number"==typeof e.currentSlide?e.currentSlide:0),!0===e.options.draggable&&e.$list.addClass("draggable")},e.prototype.buildRows=function(){var t,e,i,r,n,s,o,a=_____WB$wombat$check$this$function_____(this);if(r=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;t<n;t++){var l=document.createElement("div");for(e=0;e<a.options.rows;e++){var c=document.createElement("div");for(i=0;i<a.options.slidesPerRow;i++){var u=t*o+(e*a.options.slidesPerRow+i);s.get(u)&&c.appendChild(s.get(u))}l.appendChild(c)}r.appendChild(l)}a.$slider.html(r),a.$slider.children().children().children().css({width:100/a.options.slidesPerRow+"%",display:"inline-block"})}},e.prototype.checkResponsive=function(e,i){var r,n,s,o=_____WB$wombat$check$this$function_____(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){for(r in n=null,o.breakpoints)o.breakpoints.hasOwnProperty(r)&&(!1===o.originalSettings.mobileFirst?s<o.breakpoints[r]&&(n=o.breakpoints[r]):s>o.breakpoints[r]&&(n=o.breakpoints[r]));null!==n?null!==o.activeBreakpoint?(n!==o.activeBreakpoint||i)&&(o.activeBreakpoint=n,"unslick"===o.breakpointSettings[n]?o.unslick(n):(o.options=t.extend({},o.originalSettings,o.breakpointSettings[n]),!0===e&&(o.currentSlide=o.options.initialSlide),o.refresh(e)),a=n):(o.activeBreakpoint=n,"unslick"===o.breakpointSettings[n]?o.unslick(n):(o.options=t.extend({},o.originalSettings,o.breakpointSettings[n]),!0===e&&(o.currentSlide=o.options.initialSlide),o.refresh(e)),a=n):null!==o.activeBreakpoint&&(o.activeBreakpoint=null,o.options=o.originalSettings,!0===e&&(o.currentSlide=o.options.initialSlide),o.refresh(e),a=n),e||!1===a||o.$slider.trigger("breakpoint",[o,a])}},e.prototype.changeSlide=function(e,i){var r,n,s=_____WB$wombat$check$this$function_____(this),o=t(e.target);switch(o.is("a")&&e.preventDefault(),o.is("li")||(o=o.closest("li")),r=s.slideCount%s.options.slidesToScroll!=0?0:(s.slideCount-s.currentSlide)%s.options.slidesToScroll,e.data.message){case"previous":n=0===r?s.options.slidesToScroll:s.options.slidesToShow-r,s.slideCount>s.options.slidesToShow&&s.slideHandler(s.currentSlide-n,!1,i);break;case"next":n=0===r?s.options.slidesToScroll:r,s.slideCount>s.options.slidesToShow&&s.slideHandler(s.currentSlide+n,!1,i);break;case"index":var a=0===e.data.index?0:e.data.index||o.index()*s.options.slidesToScroll;s.slideHandler(s.checkNavigable(a),!1,i),o.children().trigger("focus");break;default:return}},e.prototype.checkNavigable=function(t){var e,i;if(i=0,t>(e=this.getNavigableIndexes())[e.length-1])t=e[e.length-1];else for(var r in e){if(t<e[r]){t=i;break}i=e[r]}return t},e.prototype.cleanUpEvents=function(){var e=_____WB$wombat$check$this$function_____(this);e.options.dots&&null!==e.$dots&&(t("li",e.$dots).off("click.slick",e.changeSlide),!0===e.options.pauseOnDotsHover&&!0===e.options.autoplay&&t("li",e.$dots).off("mouseenter.slick",t.proxy(e.setPaused,e,!0)).off("mouseleave.slick",t.proxy(e.setPaused,e,!1))),!0===e.options.arrows&&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)),!0===e.options.accessibility&&e.$list.off("keydown.slick",e.keyHandler),!0===e.options.focusOnSelect&&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("[draggable!=true]",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=_____WB$wombat$check$this$function_____(this);e.options.rows>1&&((t=e.$slides.children().children()).removeAttr("style"),e.$slider.html(t))},e.prototype.clickHandler=function(t){!1===this.shouldClick&&(t.stopImmediatePropagation(),t.stopPropagation(),t.preventDefault())},e.prototype.destroy=function(e){var i=_____WB$wombat$check$this$function_____(this);i.autoPlayClear(),i.touchObject={},i.cleanUpEvents(),t(".slick-cloned",i.$slider).detach(),i.$dots&&i.$dots.remove(),i.$prevArrow&&i.$prevArrow.length&&(i.$prevArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),i.htmlExpr.test(i.options.prevArrow)&&i.$prevArrow.remove()),i.$nextArrow&&i.$nextArrow.length&&(i.$nextArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),i.htmlExpr.test(i.options.nextArrow)&&i.$nextArrow.remove()),i.$slides&&(i.$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"))}),i.$slideTrack.children(this.options.slide).detach(),i.$slideTrack.detach(),i.$list.detach(),i.$slider.append(i.$slides)),i.cleanUpRows(),i.$slider.removeClass("slick-slider"),i.$slider.removeClass("slick-initialized"),i.unslicked=!0,e||i.$slider.trigger("destroy",[i])},e.prototype.disableTransition=function(t){var e=_____WB$wombat$check$this$function_____(this),i={};i[e.transitionType]="",!1===e.options.fade?e.$slideTrack.css(i):e.$slides.eq(t).css(i)},e.prototype.fadeSlide=function(t,e){var i=_____WB$wombat$check$this$function_____(this);!1===i.cssTransitions?(i.$slides.eq(t).css({zIndex:i.options.zIndex}),i.$slides.eq(t).animate({opacity:1},i.options.speed,i.options.easing,e)):(i.applyTransition(t),i.$slides.eq(t).css({opacity:1,zIndex:i.options.zIndex}),e&&setTimeout(function(){i.disableTransition(t),e.call()},i.options.speed))},e.prototype.fadeSlideOut=function(t){var e=_____WB$wombat$check$this$function_____(this);!1===e.cssTransitions?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=_____WB$wombat$check$this$function_____(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(){return this.currentSlide},e.prototype.getDotCount=function(){var t=_____WB$wombat$check$this$function_____(this),e=0,i=0,r=0;if(!0===t.options.infinite)for(;e<t.slideCount;)++r,e=i+t.options.slidesToShow,i+=t.options.slidesToScroll<=t.options.slidesToShow?t.options.slidesToScroll:t.options.slidesToShow;else if(!0===t.options.centerMode)r=t.slideCount;else for(;e<t.slideCount;)++r,e=i+t.options.slidesToShow,i+=t.options.slidesToScroll<=t.options.slidesToShow?t.options.slidesToScroll:t.options.slidesToShow;return r-1},e.prototype.getLeft=function(t){var e,i,r,n=_____WB$wombat$check$this$function_____(this),s=0;return n.slideOffset=0,i=n.$slides.first().outerHeight(!0),!0===n.options.infinite?(n.slideCount>n.options.slidesToShow&&(n.slideOffset=n.slideWidth*n.options.slidesToShow*-1,s=i*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))*i*-1):(n.slideOffset=n.slideCount%n.options.slidesToScroll*n.slideWidth*-1,s=n.slideCount%n.options.slidesToScroll*i*-1))):t+n.options.slidesToShow>n.slideCount&&(n.slideOffset=(t+n.options.slidesToShow-n.slideCount)*n.slideWidth,s=(t+n.options.slidesToShow-n.slideCount)*i),n.slideCount<=n.options.slidesToShow&&(n.slideOffset=0,s=0),!0===n.options.centerMode&&!0===n.options.infinite?n.slideOffset+=n.slideWidth*Math.floor(n.options.slidesToShow/2)-n.slideWidth:!0===n.options.centerMode&&(n.slideOffset=0,n.slideOffset+=n.slideWidth*Math.floor(n.options.slidesToShow/2)),e=!1===n.options.vertical?t*n.slideWidth*-1+n.slideOffset:t*i*-1+s,!0===n.options.variableWidth&&(e=(r=n.slideCount<=n.options.slidesToShow||!1===n.options.infinite?n.$slideTrack.children(".slick-slide").eq(t):n.$slideTrack.children(".slick-slide").eq(t+n.options.slidesToShow))[0]?-1*r[0].offsetLeft:0,!0===n.options.centerMode&&(e=(r=n.slideCount<=n.options.slidesToShow||!1===n.options.infinite?n.$slideTrack.children(".slick-slide").eq(t):n.$slideTrack.children(".slick-slide").eq(t+n.options.slidesToShow+1))[0]?-1*r[0].offsetLeft:0,e+=(n.$list.width()-r.outerWidth())/2)),e},e.prototype.getOption=e.prototype.slickGetOption=function(t){return this.options[t]},e.prototype.getNavigableIndexes=function(){var t,e=_____WB$wombat$check$this$function_____(this),i=0,r=0,n=[];for(!1===e.options.infinite?t=e.slideCount:(i=-1*e.options.slidesToScroll,r=-1*e.options.slidesToScroll,t=2*e.slideCount);i<t;)n.push(i),i=r+e.options.slidesToScroll,r+=e.options.slidesToScroll<=e.options.slidesToShow?e.options.slidesToScroll:e.options.slidesToShow;return n},e.prototype.getSlick=function(){return _____WB$wombat$check$this$function_____(this)},e.prototype.getSlideCount=function(){var e,i,r=_____WB$wombat$check$this$function_____(this);return i=!0===r.options.centerMode?r.slideWidth*Math.floor(r.options.slidesToShow/2):0,!0===r.options.swipeToSlide?(r.$slideTrack.find(".slick-slide").each(function(n,s){if(s.offsetLeft-i+t(s).outerWidth()/2>-1*r.swipeLeft)return e=s,!1}),Math.abs(t(e).attr("data-slick-index")-r.currentSlide)||1):r.options.slidesToScroll},e.prototype.goTo=e.prototype.slickGoTo=function(t,e){this.changeSlide({data:{message:"index",index:parseInt(t)}},e)},e.prototype.init=function(e){var i=_____WB$wombat$check$this$function_____(this);t(i.$slider).hasClass("slick-initialized")||(t(i.$slider).addClass("slick-initialized"),i.buildRows(),i.buildOut(),i.setProps(),i.startLoad(),i.loadSlider(),i.initializeEvents(),i.updateArrows(),i.updateDots()),e&&i.$slider.trigger("init",[i]),!0===i.options.accessibility&&i.initADA()},e.prototype.initArrowEvents=function(){var t=_____WB$wombat$check$this$function_____(this);!0===t.options.arrows&&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=_____WB$wombat$check$this$function_____(this);!0===e.options.dots&&e.slideCount>e.options.slidesToShow&&t("li",e.$dots).on("click.slick",{message:"index"},e.changeSlide),!0===e.options.dots&&!0===e.options.pauseOnDotsHover&&!0===e.options.autoplay&&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=_____WB$wombat$check$this$function_____(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)),!0===e.options.accessibility&&e.$list.on("keydown.slick",e.keyHandler),!0===e.options.focusOnSelect&&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("[draggable!=true]",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=_____WB$wombat$check$this$function_____(this);!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow.show(),t.$nextArrow.show()),!0===t.options.dots&&t.slideCount>t.options.slidesToShow&&t.$dots.show(),!0===t.options.autoplay&&t.autoPlay()},e.prototype.keyHandler=function(t){var e=_____WB$wombat$check$this$function_____(this);t.target.tagName.match("TEXTAREA|INPUT|SELECT")||(37===t.keyCode&&!0===e.options.accessibility?e.changeSlide({data:{message:"previous"}}):39===t.keyCode&&!0===e.options.accessibility&&e.changeSlide({data:{message:"next"}}))},e.prototype.lazyLoad=function(){function e(e){t("img[data-lazy]",e).each(function(){var e=t(this),i=t(this).attr("data-lazy"),r=document.createElement("img");r.onload=function(){e.animate({opacity:0},100,function(){e.attr("src",i).animate({opacity:1},200,function(){e.removeAttr("data-lazy").removeClass("slick-loading")})})},r.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()},r.src=i})}var i,r,n=_____WB$wombat$check$this$function_____(this);!0===n.options.centerMode?!0===n.options.infinite?r=(i=n.currentSlide+(n.options.slidesToShow/2+1))+n.options.slidesToShow+2:(i=Math.max(0,n.currentSlide-(n.options.slidesToShow/2+1)),r=n.options.slidesToShow/2+1+2+n.currentSlide):(i=n.options.infinite?n.options.slidesToShow+n.currentSlide:n.currentSlide,r=(i-=n.options.slidesToShow)+2*n.options.slidesToShow,!0===n.options.fade&&(i>0&&i--,r<=n.slideCount&&r++)),e(n.$slider.find(".slick-slide").slice(i,r)),n.slideCount<=n.options.slidesToShow?e(n.$slider.find(".slick-slide")):n.currentSlide>=n.slideCount-n.options.slidesToShow?e(n.$slider.find(".slick-cloned").slice(0,n.options.slidesToShow)):0===n.currentSlide&&e(n.$slider.find(".slick-cloned").slice(-1*n.options.slidesToShow))},e.prototype.loadSlider=function(){var t=_____WB$wombat$check$this$function_____(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(){this.changeSlide({data:{message:"next"}})},e.prototype.orientationChange=function(){var t=_____WB$wombat$check$this$function_____(this);t.checkResponsive(),t.setPosition()},e.prototype.pause=e.prototype.slickPause=function(){var t=_____WB$wombat$check$this$function_____(this);t.autoPlayClear(),t.paused=!0},e.prototype.stop=e.prototype.slickStop=function(){var t=_____WB$wombat$check$this$function_____(this);t.autoPlayClear(),t.stopped=!0},e.prototype.play=e.prototype.slickPlay=function(){var t=_____WB$wombat$check$this$function_____(this);t.paused=!1,t.stopped=!1,t.autoPlay()},e.prototype.postSlide=function(t){var e=_____WB$wombat$check$this$function_____(this);e.$slider.trigger("afterChange",[e,t]),e.animating=!1,e.setPosition(),e.swipeLeft=null,!0===e.options.autoplay&&!1===e.paused&&e.autoPlay(),!0===e.options.accessibility&&e.initADA()},e.prototype.prev=e.prototype.slickPrev=function(){this.changeSlide({data:{message:"previous"}})},e.prototype.preventDefault=function(t){t.preventDefault()},e.prototype.progressiveLazyLoad=function(){var e,i=_____WB$wombat$check$this$function_____(this);t("img[data-lazy]",i.$slider).length>0&&((e=t("img[data-lazy]",i.$slider).first()).attr("src",null),e.attr("src",e.attr("data-lazy")).removeClass("slick-loading").load(function(){e.removeAttr("data-lazy"),i.progressiveLazyLoad(),!0===i.options.adaptiveHeight&&i.setPosition()}).error(function(){e.removeAttr("data-lazy"),i.progressiveLazyLoad()}))},e.prototype.refresh=function(e){var i,r,n=_____WB$wombat$check$this$function_____(this);r=n.slideCount-n.options.slidesToShow,n.options.infinite||(n.slideCount<=n.options.slidesToShow?n.currentSlide=0:n.currentSlide>r&&(n.currentSlide=r)),i=n.currentSlide,n.destroy(!0),t.extend(n,n.initials,{currentSlide:i}),n.init(),e||n.changeSlide({data:{message:"index",index:i}},!1)},e.prototype.registerBreakpoints=function(){var e,i,r,n=_____WB$wombat$check$this$function_____(this),s=n.options.responsive||null;if("array"===t.type(s)&&s.length){for(e in n.respondTo=n.options.respondTo||"window",s)if(r=n.breakpoints.length-1,i=s[e].breakpoint,s.hasOwnProperty(e)){for(;r>=0;)n.breakpoints[r]&&n.breakpoints[r]===i&&n.breakpoints.splice(r,1),r--;n.breakpoints.push(i),n.breakpointSettings[i]=s[e].settings}n.breakpoints.sort(function(t,e){return n.options.mobileFirst?t-e:e-t})}},e.prototype.reinit=function(){var e=_____WB$wombat$check$this$function_____(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),!0===e.options.focusOnSelect&&t(e.$slideTrack).children().on("click.slick",e.selectHandler),e.setSlideClasses(0),e.setPosition(),e.$slider.trigger("reInit",[e]),!0===e.options.autoplay&&e.focusHandler()},e.prototype.resize=function(){var e=_____WB$wombat$check$this$function_____(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,i){var r=_____WB$wombat$check$this$function_____(this);if(t="boolean"==typeof t?!0===(e=t)?0:r.slideCount-1:!0===e?--t:t,r.slideCount<1||t<0||t>r.slideCount-1)return!1;r.unload(),!0===i?r.$slideTrack.children().remove():r.$slideTrack.children(this.options.slide).eq(t).remove(),r.$slides=r.$slideTrack.children(this.options.slide),r.$slideTrack.children(this.options.slide).detach(),r.$slideTrack.append(r.$slides),
r.$slidesCache=r.$slides,r.reinit()},e.prototype.setCSS=function(t){var e,i,r=_____WB$wombat$check$this$function_____(this),n={};!0===r.options.rtl&&(t=-t),e="left"==r.positionProp?Math.ceil(t)+"px":"0px",i="top"==r.positionProp?Math.ceil(t)+"px":"0px",n[r.positionProp]=t,!1===r.transformsEnabled?r.$slideTrack.css(n):(n={},!1===r.cssTransitions?(n[r.animType]="translate("+e+", "+i+")",r.$slideTrack.css(n)):(n[r.animType]="translate3d("+e+", "+i+", 0px)",r.$slideTrack.css(n)))},e.prototype.setDimensions=function(){var t=_____WB$wombat$check$this$function_____(this);!1===t.options.vertical?!0===t.options.centerMode&&t.$list.css({padding:"0px "+t.options.centerPadding}):(t.$list.height(t.$slides.first().outerHeight(!0)*t.options.slidesToShow),!0===t.options.centerMode&&t.$list.css({padding:t.options.centerPadding+" 0px"})),t.listWidth=t.$list.width(),t.listHeight=t.$list.height(),!1===t.options.vertical&&!1===t.options.variableWidth?(t.slideWidth=Math.ceil(t.listWidth/t.options.slidesToShow),t.$slideTrack.width(Math.ceil(t.slideWidth*t.$slideTrack.children(".slick-slide").length))):!0===t.options.variableWidth?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();!1===t.options.variableWidth&&t.$slideTrack.children(".slick-slide").width(t.slideWidth-e)},e.prototype.setFade=function(){var e,i=_____WB$wombat$check$this$function_____(this);i.$slides.each(function(r,n){e=i.slideWidth*r*-1,!0===i.options.rtl?t(n).css({position:"relative",right:e,top:0,zIndex:i.options.zIndex-2,opacity:0}):t(n).css({position:"relative",left:e,top:0,zIndex:i.options.zIndex-2,opacity:0})}),i.$slides.eq(i.currentSlide).css({zIndex:i.options.zIndex-1,opacity:1})},e.prototype.setHeight=function(){var t=_____WB$wombat$check$this$function_____(this);if(1===t.options.slidesToShow&&!0===t.options.adaptiveHeight&&!1===t.options.vertical){var e=t.$slides.eq(t.currentSlide).outerHeight(!0);t.$list.css("height",e)}},e.prototype.setOption=e.prototype.slickSetOption=function(e,i,r){var n,s,o=_____WB$wombat$check$this$function_____(this);if("responsive"===e&&"array"===t.type(i))for(s in i)if("array"!==t.type(o.options.responsive))o.options.responsive=[i[s]];else{for(n=o.options.responsive.length-1;n>=0;)o.options.responsive[n].breakpoint===i[s].breakpoint&&o.options.responsive.splice(n,1),n--;o.options.responsive.push(i[s])}else o.options[e]=i;!0===r&&(o.unload(),o.reinit())},e.prototype.setPosition=function(){var t=_____WB$wombat$check$this$function_____(this);t.setDimensions(),t.setHeight(),!1===t.options.fade?t.setCSS(t.getLeft(t.currentSlide)):t.setFade(),t.$slider.trigger("setPosition",[t])},e.prototype.setProps=function(){var t=_____WB$wombat$check$this$function_____(this),e=document.body.style;t.positionProp=!0===t.options.vertical?"top":"left","top"===t.positionProp?t.$slider.addClass("slick-vertical"):t.$slider.removeClass("slick-vertical"),e.WebkitTransition===undefined&&e.MozTransition===undefined&&e.msTransition===undefined||!0===t.options.useCSS&&(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),e.OTransform!==undefined&&(t.animType="OTransform",t.transformType="-o-transform",t.transitionType="OTransition",e.perspectiveProperty===undefined&&e.webkitPerspective===undefined&&(t.animType=!1)),e.MozTransform!==undefined&&(t.animType="MozTransform",t.transformType="-moz-transform",t.transitionType="MozTransition",e.perspectiveProperty===undefined&&e.MozPerspective===undefined&&(t.animType=!1)),e.webkitTransform!==undefined&&(t.animType="webkitTransform",t.transformType="-webkit-transform",t.transitionType="webkitTransition",e.perspectiveProperty===undefined&&e.webkitPerspective===undefined&&(t.animType=!1)),e.msTransform!==undefined&&(t.animType="msTransform",t.transformType="-ms-transform",t.transitionType="msTransition",e.msTransform===undefined&&(t.animType=!1)),e.transform!==undefined&&!1!==t.animType&&(t.animType="transform",t.transformType="transform",t.transitionType="transition"),t.transformsEnabled=t.options.useTransform&&null!==t.animType&&!1!==t.animType},e.prototype.setSlideClasses=function(t){var e,i,r,n,s=_____WB$wombat$check$this$function_____(this);i=s.$slider.find(".slick-slide").removeClass("slick-active slick-center slick-current").attr("aria-hidden","true"),s.$slides.eq(t).addClass("slick-current"),!0===s.options.centerMode?(e=Math.floor(s.options.slidesToShow/2),!0===s.options.infinite&&(t>=e&&t<=s.slideCount-1-e?s.$slides.slice(t-e,t+e+1).addClass("slick-active").attr("aria-hidden","false"):(r=s.options.slidesToShow+t,i.slice(r-e+1,r+e+2).addClass("slick-active").attr("aria-hidden","false")),0===t?i.eq(i.length-1-s.options.slidesToShow).addClass("slick-center"):t===s.slideCount-1&&i.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"):i.length<=s.options.slidesToShow?i.addClass("slick-active").attr("aria-hidden","false"):(n=s.slideCount%s.options.slidesToShow,r=!0===s.options.infinite?s.options.slidesToShow+t:t,s.options.slidesToShow==s.options.slidesToScroll&&s.slideCount-t<s.options.slidesToShow?i.slice(r-(s.options.slidesToShow-n),r+n).addClass("slick-active").attr("aria-hidden","false"):i.slice(r,r+s.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false")),"ondemand"===s.options.lazyLoad&&s.lazyLoad()},e.prototype.setupInfinite=function(){var e,i,r,n=_____WB$wombat$check$this$function_____(this);if(!0===n.options.fade&&(n.options.centerMode=!1),!0===n.options.infinite&&!1===n.options.fade&&(i=null,n.slideCount>n.options.slidesToShow)){for(r=!0===n.options.centerMode?n.options.slidesToShow+1:n.options.slidesToShow,e=n.slideCount;e>n.slideCount-r;e-=1)i=e-1,t(n.$slides[i]).clone(!0).attr("id","").attr("data-slick-index",i-n.slideCount).prependTo(n.$slideTrack).addClass("slick-cloned");for(e=0;e<r;e+=1)i=e,t(n.$slides[i]).clone(!0).attr("id","").attr("data-slick-index",i+n.slideCount).appendTo(n.$slideTrack).addClass("slick-cloned");n.$slideTrack.find(".slick-cloned").find("[id]").each(function(){t(this).attr("id","")})}},e.prototype.setPaused=function(t){var e=_____WB$wombat$check$this$function_____(this);!0===e.options.autoplay&&!0===e.options.pauseOnHover&&(e.paused=t,t?e.autoPlayClear():e.autoPlay())},e.prototype.selectHandler=function(e){var i=_____WB$wombat$check$this$function_____(this),r=t(e.target).is(".slick-slide")?t(e.target):t(e.target).parents(".slick-slide"),n=parseInt(r.attr("data-slick-index"));if(n||(n=0),i.slideCount<=i.options.slidesToShow)return i.setSlideClasses(n),void i.asNavFor(n);i.slideHandler(n)},e.prototype.slideHandler=function(t,e,i){var r,n,s,o,a=null,l=_____WB$wombat$check$this$function_____(this);if(e=e||!1,(!0!==l.animating||!0!==l.options.waitForAnimate)&&!(!0===l.options.fade&&l.currentSlide===t||l.slideCount<=l.options.slidesToShow))if(!1===e&&l.asNavFor(t),r=t,a=l.getLeft(r),o=l.getLeft(l.currentSlide),l.currentLeft=null===l.swipeLeft?o:l.swipeLeft,!1===l.options.infinite&&!1===l.options.centerMode&&(t<0||t>l.getDotCount()*l.options.slidesToScroll))!1===l.options.fade&&(r=l.currentSlide,!0!==i?l.animateSlide(o,function(){l.postSlide(r)}):l.postSlide(r));else if(!1===l.options.infinite&&!0===l.options.centerMode&&(t<0||t>l.slideCount-l.options.slidesToScroll))!1===l.options.fade&&(r=l.currentSlide,!0!==i?l.animateSlide(o,function(){l.postSlide(r)}):l.postSlide(r));else{if(!0===l.options.autoplay&&clearInterval(l.autoPlayTimer),n=r<0?l.slideCount%l.options.slidesToScroll!=0?l.slideCount-l.slideCount%l.options.slidesToScroll:l.slideCount+r:r>=l.slideCount?l.slideCount%l.options.slidesToScroll!=0?0:r-l.slideCount:r,l.animating=!0,l.$slider.trigger("beforeChange",[l,l.currentSlide,n]),s=l.currentSlide,l.currentSlide=n,l.setSlideClasses(l.currentSlide),l.updateDots(),l.updateArrows(),!0===l.options.fade)return!0!==i?(l.fadeSlideOut(s),l.fadeSlide(n,function(){l.postSlide(n)})):l.postSlide(n),void l.animateHeight();!0!==i?l.animateSlide(a,function(){l.postSlide(n)}):l.postSlide(n)}},e.prototype.startLoad=function(){var t=_____WB$wombat$check$this$function_____(this);!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow.hide(),t.$nextArrow.hide()),!0===t.options.dots&&t.slideCount>t.options.slidesToShow&&t.$dots.hide(),t.$slider.addClass("slick-loading")},e.prototype.swipeDirection=function(){var t,e,i,r,n=_____WB$wombat$check$this$function_____(this);return t=n.touchObject.startX-n.touchObject.curX,e=n.touchObject.startY-n.touchObject.curY,i=Math.atan2(e,t),(r=Math.round(180*i/Math.PI))<0&&(r=360-Math.abs(r)),r<=45&&r>=0?!1===n.options.rtl?"left":"right":r<=360&&r>=315?!1===n.options.rtl?"left":"right":r>=135&&r<=225?!1===n.options.rtl?"right":"left":!0===n.options.verticalSwiping?r>=35&&r<=135?"left":"right":"vertical"},e.prototype.swipeEnd=function(){var t,e=_____WB$wombat$check$this$function_____(this);if(e.dragging=!1,e.shouldClick=!(e.touchObject.swipeLength>10),e.touchObject.curX===undefined)return!1;if(!0===e.touchObject.edgeHit&&e.$slider.trigger("edge",[e,e.swipeDirection()]),e.touchObject.swipeLength>=e.touchObject.minSwipe)switch(e.swipeDirection()){case"left":t=e.options.swipeToSlide?e.checkNavigable(e.currentSlide+e.getSlideCount()):e.currentSlide+e.getSlideCount(),e.slideHandler(t),e.currentDirection=0,e.touchObject={},e.$slider.trigger("swipe",[e,"left"]);break;case"right":t=e.options.swipeToSlide?e.checkNavigable(e.currentSlide-e.getSlideCount()):e.currentSlide-e.getSlideCount(),e.slideHandler(t),e.currentDirection=1,e.touchObject={},e.$slider.trigger("swipe",[e,"right"])}else e.touchObject.startX!==e.touchObject.curX&&(e.slideHandler(e.currentSlide),e.touchObject={})},e.prototype.swipeHandler=function(t){var e=_____WB$wombat$check$this$function_____(this);if(!(!1===e.options.swipe||"ontouchend"in document&&!1===e.options.swipe||!1===e.options.draggable&&-1!==t.type.indexOf("mouse")))switch(e.touchObject.fingerCount=t.originalEvent&&t.originalEvent.touches!==undefined?t.originalEvent.touches.length:1,e.touchObject.minSwipe=e.listWidth/e.options.touchThreshold,!0===e.options.verticalSwiping&&(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,i,r,n,s,o=_____WB$wombat$check$this$function_____(this);return s=t.originalEvent!==undefined?t.originalEvent.touches:null,!(!o.dragging||s&&1!==s.length)&&(e=o.getLeft(o.currentSlide),o.touchObject.curX=s!==undefined?s[0].pageX:t.clientX,o.touchObject.curY=s!==undefined?s[0].pageY:t.clientY,o.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(o.touchObject.curX-o.touchObject.startX,2))),!0===o.options.verticalSwiping&&(o.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(o.touchObject.curY-o.touchObject.startY,2)))),"vertical"!==(i=o.swipeDirection())?(t.originalEvent!==undefined&&o.touchObject.swipeLength>4&&t.preventDefault(),n=(!1===o.options.rtl?1:-1)*(o.touchObject.curX>o.touchObject.startX?1:-1),!0===o.options.verticalSwiping&&(n=o.touchObject.curY>o.touchObject.startY?1:-1),r=o.touchObject.swipeLength,o.touchObject.edgeHit=!1,!1===o.options.infinite&&(0===o.currentSlide&&"right"===i||o.currentSlide>=o.getDotCount()&&"left"===i)&&(r=o.touchObject.swipeLength*o.options.edgeFriction,o.touchObject.edgeHit=!0),!1===o.options.vertical?o.swipeLeft=e+r*n:o.swipeLeft=e+r*(o.$list.height()/o.listWidth)*n,!0===o.options.verticalSwiping&&(o.swipeLeft=e+r*n),!0!==o.options.fade&&!1!==o.options.touchMove&&(!0===o.animating?(o.swipeLeft=null,!1):void o.setCSS(o.swipeLeft))):void 0)},e.prototype.swipeStart=function(t){var e,i=_____WB$wombat$check$this$function_____(this);if(1!==i.touchObject.fingerCount||i.slideCount<=i.options.slidesToShow)return i.touchObject={},!1;t.originalEvent!==undefined&&t.originalEvent.touches!==undefined&&(e=t.originalEvent.touches[0]),i.touchObject.startX=i.touchObject.curX=e!==undefined?e.pageX:t.clientX,i.touchObject.startY=i.touchObject.curY=e!==undefined?e.pageY:t.clientY,i.dragging=!0},e.prototype.unfilterSlides=e.prototype.slickUnfilter=function(){var t=_____WB$wombat$check$this$function_____(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=_____WB$wombat$check$this$function_____(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=_____WB$wombat$check$this$function_____(this);e.$slider.trigger("unslick",[e,t]),e.destroy()},e.prototype.updateArrows=function(){var t=_____WB$wombat$check$this$function_____(this);Math.floor(t.options.slidesToShow/2),!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&!t.options.infinite&&(t.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false"),t.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false"),0===t.currentSlide?(t.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true"),t.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false")):t.currentSlide>=t.slideCount-t.options.slidesToShow&&!1===t.options.centerMode?(t.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),t.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")):t.currentSlide>=t.slideCount-1&&!0===t.options.centerMode&&(t.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),t.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")))},e.prototype.updateDots=function(){var t=_____WB$wombat$check$this$function_____(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=_____WB$wombat$check$this$function_____(this);document[t.hidden]?(t.paused=!0,t.autoPlayClear()):!0===t.options.autoplay&&(t.paused=!1,t.autoPlay())},e.prototype.initADA=function(){var e=_____WB$wombat$check$this$function_____(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.$slideTrack.attr("aria-label","listbox"),e.$slides.not(e.$slideTrack.find(".slick-cloned")).each(function(i){var r="slick-slide"+e.instanceUid+i;t(this).attr({role:"option","aria-describedby":r}),t(this).find(".j-text").attr("id",r)}),null!==e.$dots&&e.$dots.attr("role","tablist").find("li").each(function(i){t(this).attr({role:"presentation","aria-selected":"false","aria-controls":"navigation"+e.instanceUid+i,id:"slick-slide"+e.instanceUid+i})}).first().attr("aria-selected","true").end().find("button").attr("role","button").end().closest("div").attr("role","toolbar"),e.activateADA()},e.prototype.activateADA=function(){this.$slideTrack.find(".slick-active").attr({"aria-hidden":"false"}).find("a, input, button, select").attr({tabindex:"0"})},e.prototype.focusHandler=function(){var e=_____WB$wombat$check$this$function_____(this);e.$slider.on("focus.slick blur.slick","*",function(i){i.stopImmediatePropagation();var r=t(this);setTimeout(function(){e.isPlay&&(r.is(":focus")?(e.autoPlayClear(),e.paused=!0):(e.paused=!1,e.autoPlay()))},0)})},t.fn.slick=function(){var t,i,r=_____WB$wombat$check$this$function_____(this),n=arguments[0],s=Array.prototype.slice.call(arguments,1),o=r.length;for(t=0;t<o;t++)if("object"==typeof n||void 0===n?r[t].slick=new e(r[t],n):i=r[t].slick[n].apply(r[t].slick,s),void 0!==i)return i;return r}}),window._u=_.noConflict(),window.JuicerBackbone=Backbone.noConflict(),function(){window.Juicer={Models:{},Collections:{},Views:{},Active:[],initialize:function(){return _u.each(jQuery(".juicer-feed"),function(t){var e,i;if((e=jQuery(t)).is(":visible")&&!e.hasClass("j-post-overlay"))return e.hasClass("j-initialized")?void 0:(i=new Juicer.Views.Feed({el:t}).render(),Juicer.Active.push(i),e.addClass("j-initialized"))})},remove:function(){return clearInterval(window.jInterval),_u.each(Juicer.Active,function(t){return t.close()}),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.Views.Feed&&Juicer.initialize(),window.jInterval=setInterval(function(){var t;if(jQuery(".juicer-feed").length>0&&(t=_u.map(jQuery(".juicer-feed"),function(t){return jQuery(t).hasClass("j-initialized")}),!!_u.contains(t,!1)))return Juicer.initialize()},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='https://www.juicer.io/contact'>contact us</a> with any questions.</h1>")})}.call(this),function(){var t=function(t,i){function r(){this.constructor=t}for(var n in i)e.call(i,n)&&(t[n]=i[n]);return r.prototype=i.prototype,t.prototype=new r,t.__super__=i.prototype,t},e={}.hasOwnProperty;Juicer.Views.SubView=function(e){function i(){return i.__super__.constructor.apply(this,arguments)}return t(i,e),i.prototype.className="opened-sidebar-option",i.prototype.title="Feed Options",i.prototype.initialize=function(t){return this.feed=t.feed,this.sidebarView=t.sidebarView,this.$target=t.$target,this.feedView=t.feedView,this.events=_u.extend({},this.inheritedEvents,this.events),this.delegateEvents()},i.prototype.inheritedEvents={"click .close-subview":"close"},i.prototype.render=function(){return this.renderTemplate(),this.renderTitle(),this.$target.after(this.el),setTimeout((t=_____WB$wombat$check$this$function_____(this),function(){return t.$el.addClass("visible")}),100);var t},i.prototype.renderTemplate=function(){return this.$el.html(this.template({feed:this.feed}))},i.prototype.renderTitle=function(){return this.$el.prepend(this.titleTemplate())},i.prototype.titleTemplate=function(){return"<h2 class='subview-title relative uc bold bg-nav-header py-25'><a class='close-subview absolute'>Close</a>"+this.title+"</h2>"},i.prototype.close=function(){return this.$el.removeClass("visible"),this.sidebarView.closeSubView(),setTimeout((t=_____WB$wombat$check$this$function_____(this),function(){return t.remove()}),500);var t},i}(JuicerBackbone.View)}.call(this),function(){var t=function(t,i){function r(){this.constructor=t}for(var n in i)e.call(i,n)&&(t[n]=i[n]);return r.prototype=i.prototype,t.prototype=new r,t.__super__=i.prototype,t},e={}.hasOwnProperty;Juicer.Views.SubViewSlide=function(e){function i(){return i.__super__.constructor.apply(this,arguments)}return t(i,e),i.prototype.className="sliding-sidebar-option",i.prototype.render=function(){return this.renderTemplate(),this.$el.css({display:"none"}),this.$target.after(this.el),this.$el.slideDown()},i.prototype.close=function(){return this.sidebarView.closeSubView(),this.$el.slideUp((t=_____WB$wombat$check$this$function_____(this),function(){return t.remove()}));var t},i}(Juicer.Views.SubView)}.call(this),function(){Juicer.Helpers={renderPartial:function(t,e){var i;null==e&&(e={}),(t=t.split("/"))[t.length-1]="_"+t[t.length-1],t=t.join("/");try{return JST["partials/"+t](e)}catch(r){return i=r,console.log("Sorry, something went wrong with the partial: '"+t+"'"),console.log(i),""}},numberWithCommas:function(t){return t.toString().replace(/\B(?=(\d{3})+(?!\d))/g,",")},fullDate:function(t,e,i){if(null==e&&(e="%-m/%-d/%y at %-l:%M%p"),null==i&&(i=!0),null!=t)return t=new Date(t),i&&(isNaN(Date.parse(t.toLocaleString()))||(t=new Date(t.toLocaleString()))),"undefined"==typeof strftime?t:strftime(e,t)},prettify:function(t){return t=(t=t.replace("-"," ")).replace("_"," "),this.capitalizeEachWord(t)},capitalizeEachWord:function(t){return t.replace(/\w\S*/g,function(t){return t.charAt(0).toUpperCase()+t.substr(1).toLowerCase()})},timeAgo:function(t){var e,i;return t=new Date(t),i=Math.floor((new Date-t)/1e3),(e=Math.floor(i/31536e3))>1?e+"y":(e=Math.floor(i/2592e3))>1?e+"mo":(e=Math.floor(i/86400))>1?e+"d":(e=Math.floor(i/3600))>1?e+"h":(e=Math.floor(i/60))>1?e+"m":Math.floor(i)+"s"},sample:function(t){return t[Math.floor(Math.random()*t.length)]},confirm:function(t){return null!=window.confirmed||!!confirm(t)&&(window.confirmed=!0,!0)},format:function(t){return null==t?null:(t=t.replace(/\r\n?/,"\n"),(t=jQuery.trim(t)).length>0&&(t=(t="<p>"+(t=(t=(t=t.replace(/\n\n+/g,"</p><p>")).replace(/\n/g,"<br />")).replace(this.xss,""))+"</p>").autoLink()),t)},rgb2hex:function(t){return/^#[0-9A-F]{6}$/i.test(t)?t:(t=t.match(/^rgb\((\d+),\s*(\d+),\s*(\d+)\)$/))?"#"+this.hex(t[1])+this.hex(t[2])+this.hex(t[3]):"#"},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 r(){this.constructor=t}for(var n in e)i.call(e,n)&&(t[n]=e[n]);return r.prototype=e.prototype,t.prototype=new r,t.__super__=e.prototype,t},i={}.hasOwnProperty;Juicer.Views.FormView=function(i){function r(){this.invalid=t(this.invalid,_____WB$wombat$check$this$function_____(this)),this.valid=t(this.valid,_____WB$wombat$check$this$function_____(this)),this.prepareModel(),r.__super__.constructor.apply(this,arguments)}return e(r,i),r.prototype.delegateEvents=function(t){return this.events=_u.extend(this._baseEvents(),_u.result(this,"events")),r.__super__.delegateEvents.call(this,t)},r.prototype._baseEvents=function(){return{"change [data-validation]":this.validateField,"keyup [data-validation].keyup-validation":this.validateField,"keyup [data-validation].invalid":this.validateField,submit:this.processForm,"click input[type=submit]":this.processForm}},r.prototype.prepareModel=function(){return this.model=this.createModel(),this.setupValidation()},r.prototype.createModel=function(){throw new Error("implement #createModel in your FormView subclass to return a JuicerBackbone model")},r.prototype.namespace=null,r.prototype.loadingMessage="Loading...",r.prototype.setupValidation=function(){return JuicerBackbone.Validation.unbind(this),JuicerBackbone.Validation.bind(this,{model:this.model,valid:this.valid,invalid:this.invalid})},r.prototype.valid=function(t,e){var i,r;if(this.removeErrorMessage(e),this.$("[data-validation="+e+"]").removeClass("invalid").addClass("valid"),i=this.$("[data-validation="+e+"]").data("on-valid-"+e+"-custom-classes"))return $("[data-validation="+e+"]")[0].value.length>0?i.split(" ").forEach((r=_____WB$wombat$check$this$function_____(this),function(t){return r.$("[data-validation="+e+"]").addClass(t)})):i.split(" ").forEach(function(t){return function(i){return t.$("[data-validation="+e+"]").removeClass(i)}}(_____WB$wombat$check$this$function_____(this)))},r.prototype.invalid=function(t,e,i){var r,n;if(this.removeErrorMessage(e),this.$("[data-validation="+e+"]").removeClass("valid").addClass("invalid").parents(".form-field").append("<small class='error "+e+"'>"+i+"</small>"),r=this.$("[data-validation="+e+"]").data("on-valid-"+e+"-custom-classes"))return r.split(" ").forEach((n=_____WB$wombat$check$this$function_____(this),function(t){return n.$("[data-validation="+e+"]").removeClass(t)}))},r.prototype.showActivityIndicator=function(t){return this.submit=t,this.submit.attr("disabled","disabled"),this.submitMessage=this.submit.val(),this.submit.val(this.loadingMessage)},r.prototype.hideActivityIndicator=function(){return this.submitMessage&&this.submit.val(this.submitMessage),this.submit.removeAttr("disabled")},r.prototype.removeErrorMessage=function(t){return this.$(".error."+t).remove()},r.prototype.validateField=function(t){var e,i,r;return i=$(t.target).attr("data-validation"),r=$(t.target).val(),(e=this.model.preValidate(i,r))?this.invalid(this,i,e):this.valid(this,i)},r.prototype.processForm=function(t){return t.preventDefault(),this.showActivityIndicator($(t.target)),this.updateModel(),this.submitForm()},r.prototype.updateModel=function(){var t;return t=JuicerBackbone.Syphon.serialize(this),this.model.set(t[this.namespace])},r.prototype.submitForm=function(){return this.model.validate()?this.hideActivityIndicator():this.$el[0].submit()},r}(JuicerBackbone.View)}.call(this),function(){this.JST||(this.JST={}),this.JST.admin_downgrade=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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,i,r;return t="",e=this.action.match("delete")?"Delete":"Downgrade",t+='<div class="tac p-30"><h3 class="fs-2 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[reason]"><option>Why are they ',t+=this.escape(e.slice(0,-1)),t+="ing their account?</option>",_u.each(this.reasons,(r=_____WB$wombat$check$this$function_____(this),function(e){return t+='<option value="',t+=r.escape(e),t+='">',t+=r.escape(e),t+="</option>"})),t+='</select></div><textarea class="bordered churn-comments mb-25" name="churn[comments]" placeholder="Notes? Any More details? Copy and paste anything they say specifically."></textarea><div class="mb-25"><input name="churn[positive]" type="hidden" value="0" /><input checked="true" id="positive" name="churn[positive]" type="checkbox" value="1" /><label for="positive">Did the customer have a positive experience with Juicer?</label></div>',i=this.action.match("mark")?"Mark for Downgrade":e+" now",t+='<input class="j-button" type="submit" value="',t+=this.escape(i),t+='" /></form></div>'})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST.admin_password_reset=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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.action.match("delete")?"Delete":"Downgrade",t+='<div class="tac p-30"><h3 class="fs-2 mb-25">Send the Password Reset Instructions</h3><p class="mb-20">This action will also invalidate the password reset tokens that might have been sent earlier.<br /> Please warn the user that they need to use the reset link from the latest email they received from us.</p><p class="mb-30">Some whitelabel accounts may have problems with receiving the emails from us due to DMARC policy.<br />This can be solved by sending the email from our domain juicer.io</p><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="mb-25"><input checked="true" id="use_juicer_domain" name="use_juicer_domain" type="checkbox" value="1" /><label for="use_juicer_domain">Send the email from our domain (juicer.io)?</label></div><input class="j-button" type="submit" value="Send the Email" /></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"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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="fs-2">Viewing Options</h2><h3 class="fifteen tc-dark-gray mb-25">Select the dates you\u2019d like to view analytics for (month/day/year):</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="mx-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.churn=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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-dark-gray bold mb-25">Are you sure you want to delete your account?</h1><p class="tc-dark-gray mb-25 fifteen">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-40" 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"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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="fs-2 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="/plans">I want to reactivate my account!</a><a class="tc-gray block fourteen" href="/">Sounds good! Take me to my feed.</a></div>'})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST["enterprise/admin"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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+="<h3>",t+=this.escape(this.model.get("email")+("owner"===this.model.get("role")?" (owner)":"")),this.model.get("is_invitation_accepted")||(t+='<em><small class="fs-0-75">',t+=this.escape(" (invited on "+Juicer.Helpers.fullDate(this.model.get("invitation_sent_at"))+")"),t+="</small></em>"),t+='</h3><a class="delete-user" data-confirm="Are you sure you want to remove this user from your enterprise account and all associated feeds?" 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["enterprise/calculator"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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="row"><div class="col-12 col-sm-6 col-md-4 tac"><h3 class="fs-3 calculator-sources">',t+=this.escape(this.model.sources()),t+='</h3><h4 class="mb-25">Social Media Sources</h4><input class="bg-dark-gray" data-attribute="sources" max="21" min="1" type="range" value="',t+=this.escape(this.model.get("sources")),t+='" /></div><div class="col-12 col-sm-6 col-md-4 tac"><h3 class="fs-2 calculator-frequency">',t+=this.escape(this.model.frequencyInWords()),t+='</h3><h4 class="mb-25">Update Frequency</h4><input class="bg-dark-gray" data-attribute="frequency" max="7" min="1" type="range" value="',t+=this.escape(this.model.get("frequency")),t+='" /></div><div class="col-12 col-sm-6 col-md-4 tac"><h3 class="fs-3 calculator-price">',t+=this.escape(this.model.priceString()),t+='</h3><h4 class="calculator-price-label">',t+=this.model.priceLabel(),t+="</h4></div></div>"})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST["enterprise/create_assignment_form"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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="fs-2">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["enterprise/feed"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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,i,r;return t="",e=this.model.get("slug"),t+='<h3 class="mb-10 enterprise-feed-name"><a class="fs-2 tc-dark-gray feed-icon" href="/feeds/',t+=this.escape(e),t+='">',t+=this.escape(this.model.get("name")),t+='</a></h3><ul class="enterprise-feed-actions">',this.model.get("chargeable")||(t+='<li class="ibt mr-10"><a aria-label="Keep this Feed" class="enterprise-feed-keep hint--bottom-left" href="#">Keep this Feed</a></li>'),t+='<li class="ibt"><a aria-label="View Feed" class="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 hint--bottom-left" href="#">Fetch All Posts</a></li>'),t+='<li class="ibt ml-10"><a aria-label="Edit this Feed" class="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="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>',i=this.model.get("sources").length,t+='<div class="tc-dark-gray enterprise-feed-pricing">',t+=this.escape(this.model.get("update_frequency_in_words")),t+=" \xd7 ",t+=this.escape(i),t+=" ",t+=this.escape(_u("source").pluralize(i)),t+=" = <strong>",t+=this.escape(this.model.get("formatted_cost")),t+='</strong> per month </div><ul class="my-5">',_u.each(this.sources,(r=_____WB$wombat$check$this$function_____(this),function(e){var i,n,s;switch(s=e.get("term"),t+="<li",i=s){case!0:t+=' alt="alt"';break;case!1:case null:break;default:t+=' alt="',t+=r.escape(i),t+='"'}switch(t+=' aria-label="',t+=r.escape(e.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+=r.escape(n),t+='"'}return t+='><span class="j-',t+=r.escape(e.get("source").toLowerCase()),t+=' j-social-icon bg-none tc-gray fs-1"></span></li>'})),t+='</ul><h4 class="fs-1-2-5 tc-dark-gray mb-5">Feed Users</h4><ul class="enterprise-user-assignments-dashboard-container">',_u.each(this.assignments,function(e){return function(i){return t+='<li class="enterprise-user-dashboard-assignment"><span class="enterprise-assignment-dashboard-email">',t+=e.escape(i.get("email")),t+="</span>",i.get("belongs_to_account_manager")||(t+='<a aria-label="Delete user ',t+=e.escape(i.get("email")),t+=" from feed ",t+=e.escape(e.model.get("name")),t+='." class="delete-dashboard-assignment" data-id="',t+=e.escape(i.get("id")),t+='"></a>'),t+="</li>"}}(_____WB$wombat$check$this$function_____(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["enterprise/invite_admin"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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="fs-2">Add new staff member</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="Invite new staff member" /></form></div>'})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST["enterprise/show"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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 mb-25">Enterprise dashboard</h1>',t+=Juicer.Helpers.renderPartial("enterprise_sidebar",{model:this.model}),t+='<div class="enterprise-content"><div class="enterprise-cost bg-white border tac mb-50 p-40"><h4 class="fs-1-25 tc-dark-gray">Estimated monthly costs for your Enterprise account</h4><h3 class="fs-3 tc-dark-gray">',t+=this.escape(this.model.get("formatted_cost_with_minimum_fee")),t+='</h3><p class="px-50">This rough estimate is calculated based on the number of sources you had during the last 24h and their update frequencies. It does not take into account how many sources you had before that.</p>',this.model.showPricingExplanationLink&&(t+='<p class="px-50 mt-15"><a href="https://help.juicer.io/hc/en-us/articles/360057086052-About-Juicer-s-Enterprise-Pricing-and-Monthly-Minimum-Fee-" target="_blank">About Juicer\'s Enterprise pricing</a></p>'),t+='</div><div class="row mb-25"><div class="col-6 tal"><a class="j-button" href="/feeds/new">+ Add New Feed</a></div><div class="col-6"><input class="enterprise-search bordered" id="js-enterprise-search" placeholder="Filter feeds by name, source name or user email" type="search" value="',t+=this.escape(this.model.query),t+='" /></div></div>',this.model.get("has_unchargeable_feeds")&&(t+='<div class="alert warning">Use the checkmark to select which feeds you want to keep. Additional feeds may result in extra charges according to your plan, which will be billed on your next billing cycle.</div>'),t+='<ul class="feeds tac"></ul></div>'})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST["enterprise/user"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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,i;switch(t="",t+='<div class="enterprise-user"><h3>',t+=this.escape(this.model.get("email")),t+="</h3>",t+='<a class="delete-user"',e="Are you sure you want to remove this user from your enterprise account and all associated feeds?"){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 mb-10">Feeds they can access</h4>',_u.each(this.model.get("assignments"),(i=_____WB$wombat$check$this$function_____(this),function(e){return t+='<li class="enterprise-user-assignment ibt">',t+=i.escape(e.name),t+='<a aria-label="Delete user ',t+=i.escape(e.email),t+=" from feed ",t+=i.escape(e.name),t+='." class="delete-assignment" data-id="',t+=i.escape(e.id),t+='"></a></li>'})),t+="</ul>"})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST["enterprise/users"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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 mb-25">Enterprise dashboard</h1><div class="cf">',t+=Juicer.Helpers.renderPartial("enterprise_sidebar",{model:this.model}),t+='<div class="enterprise-content"><div class="row mb-15"><div class="col-8"><h2 class="fs-1-5">Account owner & staff</h2><p>Users listed here can access and edit all feeds of this account as well as create new feeds.</p></div><div class="col-4"><a class="j-button small fr new-enterprise-admin">+ Add new staff member</a></div></div><ul class="enterprise-admins bg-white border mb-40"></ul><div class="row mb-15"><div class="col-12"><h2 class="fs-1-5">Feed Collaborators</h2><p>Users listed here can only access certain feeds. They cannot create new feeds.</p><p>You can invite more collaborators to specific feeds on the <a class="tdu tc-dark-gray" href="/enterprise/',t+=this.escape(this.model.get("slug")),t+='">Your Feeds</a> page. </p></div></div><ul class="enterprise-users"></ul></div></div>'})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST["enterprise/white_label"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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;if(t="",t+='<h1 class="fs-2 mb-25">Enterprise dashboard</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 tc-black 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="tc-dark-gray fs-1-5 mb-25">Set up White Label</h1><p class="mb-25 tc-dark-gray fs-1">Want to host Juicer on your own URL with your own logo? Something like <strong>http://social.yourdomain.com</strong>? We need to set this up. <ol class="enterprise_whiteLabelSteps"><li>Create a subdomain or a new domain and set its <strong>CNAME</strong> to <br /><strong>juicer-io.herokuapp.com</strong>. </li><li>Once you\'ve done so, enter the domain URL below: </li></ol><form class="mt-20 white-label-url">',t+='<input class="mb-10 bordered" name="url" placeholder="http://feeds.yourdomain.com" type="url"',e=this.model.get("url")?this.model.get("url"):null){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></p>',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"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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+='<ul class="errors source-errors px-25 mb-15">',$.each(this.errors,(e=_____WB$wombat$check$this$function_____(this),function(i){return _u.each(e.errors[i],function(e){return t+='<li class="tc-grapefruit">',t+=e,t+="</li>"})})),Juicer.Constants.SOURCES_REQUIRING_OAUTH_TOKENS.indexOf(this.source)>=0&&(t+='<li class="d-flex flex-row p-5 mt-10"><div class="bold mr-10 tal tc-grapefruit">TIP:</div><ul><li><div class="tc-grapefruit tal">Check that your <a href="/social-accounts">Juicer ',t+=this.escape(this.source),t+=" Social Account</a> is working and hasn't expired. </div></li></ul></li>"),t+="</ul>"})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST.feed=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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,i;return t="",e="slider"===this.feed.get("css")?_u.filter(this.feed.get("posts").models,function(t){return"YouTube"!==t.sourceType()}):this.feed.get("posts").models,this.feed.displayFilters()&&(t+=Juicer.Helpers.renderPartial("filters/"+this.feed.filterPartial(),{feed:this.feed,filter:this.filter})),e.length<=0?this.isOnFeedsDashboard?(t+='<div class="empty"><img height="386" src="/empty-feed.svg" width="600" /><p class="fs-1-25 mb-40 bold">There are currently no posts in your feed to display.</p>',_u.some(this.feed.get("sources").models,function(t){return"LinkedIn"===t.get("source")})&&(t+='<div class="mb-50 p-20 mx-auto" style="border: 2px solid blue; width: 75%"><p class="bold fs-1-25 mb-10"><span>Please wait a few minutes for</span> <span class="tc-blue">LinkedIn</span> <span>posts to be imported into Juicer.</span></p><div class="small">Please try again by reloading the page and check your filters in <i>Feed Settings.</i></div><div class="small mt-5">Having troubles? Please refer to our <a href="https://help.juicer.io/hc/en-us/articles/360040406391-LinkedIn-sources-Adding-and-troubleshooting" target="_blank">help page or contact support.</a></div></div>'),t+='<a class="j-button add-source tc-white mb-40" onclick="window.juicerDashboardSidebar.openNewSource()">+ Add social media source </a>',this.feed.get("moderation_allowed?")&&(t+='<p class="fs-1 tc-gray">If you have already added social media source, check your <a class="tc-gray" href="',t+=this.escape(window.location.pathname),t+='/moderation">moderation queue</a> <span>or filters in Feed Settings! </span></p>'),t+="</div>"):t+='<div class="empty"><h2>No Posts!</h2></div>':(t+=Juicer.Helpers.renderPartial("custom_styles",{feed:this.feed}),_u.each(e,(i=_____WB$wombat$check$this$function_____(this),function(e){var r;return t+="<li",r="",(r+=i.escape(e.classes())).length>0&&(t+=' class="',t+=r,t+='"'),t+=' data-id="',t+=i.escape(e.get("id")),t+='" data-source="',t+=i.escape(e.lowerType()),t+='">',t+=Juicer.Helpers.renderPartial("actions",{isOnFeedsDashboard:i.isOnFeedsDashboard,post:e}),t+=Juicer.Helpers.renderPartial("feeds/"+i.feed.partial(),{post:e,feed:i.feed}),t+="</li>"}))),t})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST["feeds/accessibility_confirm"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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"><h3 class="fs-2 tc-black">Improved feed accessibility</h3><div class="px-50 accessibility-text"><p class="mb-10 mt-10">We are introducing a new and improved feed experience according to WCAG accessibility standards that is easier to navigate for all users, including those with physical, situational, and economic barriers. </p><p class="mb-10">Please note that this update may affect any custom CSS you have set up for your feed. To ensure everything works smoothly, we recommend checking your custom CSS and updating your code snippet or WordPress plugin. </p><p class="mb-10">To update your feed: </p><ol class="mb-10"><li>1. Check your custom CSS to <b>make sure it does not depend on the ul and li elements</b>. </li><li>2. Click the "Save" button in the settings window. </li><li>3. Replace the code snippet on your website with the new one provided, or update your WordPress plugin. </li></ol><p class="mb-10">If you are using an iframe, you do not need to make any updates. Your experience will automatically be updated with the changes. </p><p class="mb-10">If you have any additional question or issues, please use the "Help" button at the bottom right. </p></div><div class="mb-20 mt-20"><button class="mr-10 accessibility-close j-button secondary">',t+=this.escape("Cancel"),t+='</button><button class="accessibility-confirm j-button">',t+=this.escape("Save"),t+="</button></div></div>"})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST["feeds/accessibility_toggle"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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;switch(t="",t+='<div class="p-20 thirteen"><input',e=this.accessibility_checked){case!0:t+=' checked="checked"';break;case!1:case null:break;default:t+=' checked="',t+=this.escape(e),t+='"'}return t+=' id="feed-layout-change" name="feed[embed_layout]" type="checkbox" value="v2" /><label for="feed-layout-change">',t+=this.escape("Improved feed accessibility"),t+='</label><div aria-label="Improved feed experience for all users, including those with physical, situational, and economic barriers." class="sidebar-explainer hint--bottom hint--large ib ml-10 relative"></div></div>'})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST["feeds/analytics"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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["feeds/analytics_overlay"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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="fs-2">Analytics for Juicer feed "',t+=this.escape(this.feed.get("name")),t+='"</h2><h3 class="fs-1-5 mb-30">Only large or enterprise plans can access Juicer\'s analytics feature. Please upgrade your plan!</h3><a class="j-button" href="/plans">Upgrade your plan </a></div>'})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST["feeds/color_picker"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e
;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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["feeds/css_overlay"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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-30"><h2 class="fs-2">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">',t+='<textarea class="bordered my-40" name="css" placeholder="Enter Custom CSS to modify the look of your Juicer Feed..." style="height: 40vh;">',t+=this.feed.get("custom_css")?this.feed.get("custom_css"):"",t+='</textarea><input class="j-button" type="submit" value="Save Changes" /></form></div>'})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST["feeds/design"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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.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-dark-blue bold" href="/plans">paid accounts</a> or <a class="tc-dark-blue 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,(e=_____WB$wombat$check$this$function_____(this),function(i){return t+='<li class="p-15 relative feed-color" data-color="',t+=e.escape(i),t+='"><div class="bold">',t+=e.escape(e.feed.customColorMap[i].label),e.feed.customColorMap[i].description&&(t+='<div aria-label="',t+=e.escape(e.feed.customColorMap[i].description),t+='" class="sidebar-explainer hint--right hint--medium"></div>'),t+='</div><div class="color-picker"><div class="double-border color-picker-circle" style="background: ',t+=e.escape(e.feed.getColor(i)),t+='"></div><div class="double-border-bg color-picker-background-color"></div></div></li>'})),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["feeds/embed"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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" oncopy="if(window.mixpanel) { mixpanel.track(&#39;embed-snippet-copied&#39;, { type: &#39;Standard Website&#39;, feed_slug: &#39;',t+=this.escape(this.feed.get("slug")),t+="&#39;, feed_id: &#39;",t+=this.escape(this.feed.get("id")),t+='&#39; }) }">',t+=this.embed,t+='</textarea><a class="tc-gray tdu" href="',t+=this.escape(Juicer.Constants.HELP_CENTER_URL),t+='/articles/360039929412-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["feeds/embed_code"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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="","v2"===this.overrideEmbedLayout||"v2"===this.feed.get("embed_layout")?t+='<script type="text/javascript" src="'+this.javascriptV2Path+'" async defer></script>':(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+='" data-origin="',t+=this.escape(Juicer.Constants.PAGE_URL_EMBED_CODE_ORIGIN),t+='">',this.feed.paid()||(t+=Juicer.Helpers.renderPartial("referral")),t+="</ul>"),t})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST["feeds/embed_menu"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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="embed-menu-container"><div class="alert info" style="font-size: 12px;">The feed content is <b>cached</b>. Please allow up to <b>5 minutes</b> for changes to take effect.</div><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,(e=_____WB$wombat$check$this$function_____(this),function(i){return e.currentlySelected===i.value?(t+='<option selected="true" value="',t+=e.escape(i.value),t+='">',t+=e.escape(i.label),t+="</option>"):(t+='<option value="',t+=e.escape(i.value),t+='">',t+=e.escape(i.label),t+="</option>")})),t+="</select></div></div>"})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST["feeds/features"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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="fifteen"><h4 class="mb-10">Upgrade your plan and get:</h4><ul class="pl-10 mb-10 list-disc"><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["feeds/feed_name_edit"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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="js-feed-name-edit-form p-40 tac"><h2 class="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">Also update the feed\'s URL</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. We will moodify the URL to remove any characters that are not URL-friendly and resolve conflicts with existing feeds.</p></div><input class="j-button" type="submit" value="Save" /></form>'})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST["feeds/hub"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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 link:</h3><div class="bg-white tc-black fourteen tal p-10 mb-15" style="word-break: break-all">',t+=this.escape(window.location.protocol+"//"+window.location.host+"/hub/"+this.feed.get("slug")),t+='</div><a class="j-button small" href="/hub/',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["feeds/iframe"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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" oncopy="if(window.mixpanel) { mixpanel.track(&#39;embed-snippet-copied&#39;, { type: &#39;iframe&#39;, feed_slug: &#39;',t+=this.escape(this.feed.get("slug")),t+="&#39;, feed_id: &#39;",t+=this.escape(this.feed.get("id")),t+='&#39; }) }">',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["feeds/moderate"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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,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="px-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",e="Separate filters with a comma. Filters are case-insensitive.",t+='<h3 class="settings-label">Disallow posts with these words:</h3><textarea class="moderation-filter thirteen mb-10" name="feed[disallowed]" placeholder="',t+=this.escape(i),t+=" to block. ",t+=this.escape(e),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[allowed]" placeholder="',t+=this.escape(i),t+=" to allow. ",t+=this.escape(e),t+='">',t+=this.feed.allowed(),t+="</textarea>",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["feeds/new_source"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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="fs-2 tc-black">Add a Social Media Source</h3><h3 class="fs-1-25 tc-satan mb-30">First, select the social media platform you want to import posts from.</h3><ul class="mx-30">',t+=Juicer.Helpers.renderPartial("sources",{feed:this.model}),t+="</ul></div>"})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST["feeds/revalidate_overlay"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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,i,r,n;return t="",t+='<div class="tac p-30"><h2 class="fs-2">Apply filters to existing posts?</h2>',i=(r="0"!==this.data.queue)?"mb-15":"mb-40",e=window.juicerDashboard.initialDeduplicationNumberOfPosts,t+='<p class="fifteen tc-gray ',t+=this.escape(i),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. The scan for duplicates will be performed only on the ',t+=this.escape(e),t+=" most recent posts. Please be patient. If you wish to set a priority for what source is chosen for duplicate posts, you can set the order of sources in the 'Social Media Sources' section in the sidebar by using the drag&drop functionality. </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),(n=_____WB$wombat$check$this$function_____(this),function(e){return t+='<input name="',t+=n.escape(e),t+='" type="hidden" value="',t+=n.escape(n.data[e]),t+='" />'})),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["feeds/settings"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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="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,(e=_____WB$wombat$check$this$function_____(this),function(i){var r;return r=i.attr,t+='<div class="checkbox mb-15 thirteen relative"><input name="feed[',t+=e.escape(r),t+=']" type="hidden" value="0" />',e.feed.get(r)?(t+='<input checked="true" data-attribute="',t+=e.escape(r),t+='" id="',t+=e.escape(r),t+='" name="feed[',t+=e.escape(r),t+=']" type="checkbox" />'):(t+='<input data-attribute="',t+=e.escape(r),t+='" id="',t+=e.escape(r),t+='" name="feed[',t+=e.escape(r),t+=']" type="checkbox" />'),t+='<label for="',t+=e.escape(r),t+='">',t+=e.escape(i.label),t+="</label>",null!=i.tooltip&&(t+='<div aria-label="',t+=e.escape(i.tooltip),t+='" class="sidebar-explainer hint--right hint--medium"></div>'),t+="</div>"})),t+='<a class="fourteen tc-dark-blue tdu mt-40 d-block" href="',t+=this.escape(Juicer.Constants.HELP_CENTER_URL),t+='/articles/360039929412-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["feeds/sources"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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+='<ul class="source-list">',_u.each(this.feed.get("sources").models,(e=_____WB$wombat$check$this$function_____(this),function(i){var r,n,s;switch(s=i.get("id"),n=!0===i.get("is_deactivated")?"j-source-isDeactivated":"j-source-active",t+='<li class="j-social-icon bg-none fourteen existing-source j-',t+=e.escape(i.lowerSource()),t+=" ",t+=e.escape(n),t+='" data-id="',t+=e.escape(s),t+='"><div class="d-flex align-items-center justify-content-between w-100">',window.juicerDashboard.sourceIdsWhereUserActionRequired.indexOf(s)>-1&&(t+='<a class="js-warning" href="/feeds/',t+=e.escape(e.feed.get("slug")),t+='/inspect" title="We cannot import posts for this source. Please click to fix this!">',t+=window.juicerDashboard.warningSvg,t+="</a>"),t+='<span class="sourceName"',r=!0===i.get("is_deactivated")?"This source has been marked as deactivated because fetching its posts failed consistently, or its hashtag or username is invalid and doesn't exist anymore. Please refresh your connection on www.juicer.io/social-accounts or contact us if you think this is a mistake.":void 0){case!0:t+=' title="title"';break;case!1:case null:break;default:t+=' title="',t+=e.escape(r),t+='"'}return t+=">",t+=e.escape(i.displayName()),t+='</span><span class="juicer-fa-caret-down"></span></div>',i.options()&&i.options().length>0&&(t+='<ul class="d-block">',_u.each(i.options(),function(i){return t+="<li>",t+=e.escape(i),t+="</li>"}),t+="</ul>"),t+='</li><ul class="source-submenu fourteen">',i.manual()&&(t+='<li class="add source-submenu-item mb-10" data-id="',t+=e.escape(s),t+='" data-name="',t+=e.escape(i.typeSymbol()),t+=e.escape(i.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(s),t+='" data-template="moderation">Set Moderation Filters</li>'),t+='<li class="rename source-submenu-item mb-10" data-id="',t+=e.escape(s),t+='" data-template="rename">Edit Filter Button Name</li><li class="delete" data-id="',t+=e.escape(s),t+='">Delete</li></ul>'})),t+='</ul><div class="tac mt-40"><a class="js-add-source-submenu add-source-submenu j-button small">+ Add social media source</a></div>'})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST["feeds/synced"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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>"})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST["feeds/wordpress"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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,i;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="https://www.juicer.io/blog/setting-up-a-juicer-social-media-aggregator-on-a-wordpress-site" target="_blank">Learn how to install</a><a class="block tc-off-white tdu mb-20" href="https://downloads.wordpress.org/plugin/juicer.zip" target="_blank">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" oncopy="if(window.mixpanel) {mixpanel.track(&#39;embed-snippet-copied&#39;, { type: &#39;shortcode&#39;, feed_slug: &#39;',t+=this.escape(this.feed.get("slug")),t+="&#39;, feed_id: &#39;",t+=this.escape(this.feed.get("id")),t+='&#39; }) }">',t+=e,t+='</textarea><h3 class="settings-label">PHP Function</h3>',i='<?php juicer_feed("name='+this.feed.get("slug")+'"); ?>',t+='<textarea class="ten tc-embed p-15 single-line" oncopy="if(window.mixpanel) {mixpanel.track(&#39;embed-snippet-copied&#39;, { type: &#39;PHP Function&#39;, feed_slug: &#39;',t+=this.escape(this.feed.get("slug")),t+="&#39;, feed_id: &#39;",t+=this.escape(this.feed.get("id")),t+='&#39; }) }">',t+=i,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"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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="fs-2">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"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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,i;return t="",(e=this.feed.get("posts").models).length>0&&_u.each(e,(i=_____WB$wombat$check$this$function_____(this),function(e){var r;return t+="<li",r="",(r+=i.escape(e.classes())).length>0&&(t+=' class="',t+=r,t+='"'),t+=' data-id="',t+=i.escape(e.get("id")),t+='" data-source="',t+=i.escape(e.lowerType()),t+='">',t+=Juicer.Helpers.renderPartial("actions",{isOnFeedsDashboard:i.isOnFeedsDashboard,post:e}),t+=Juicer.Helpers.renderPartial("feeds/"+i.feed.partial(),{post:e,feed:i.feed}),t+="</li>"})),t})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST.moderated=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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+='<ul class="j-display-filters">',_u.each(this.menuItems,(e=_____WB$wombat$check$this$function_____(this),function(i){return e.feed.filter===i.filter||"All"===i.title&&""===e.feed.filter?(t+='<li class="moderate-filter selected" data-filter="',t+=e.escape(i.filter),t+='">',t+=e.escape(i.title),t+="</li>"):(t+='<li class="moderate-filter" data-filter="',t+=e.escape(i.filter),t+='">',t+=e.escape(i.title),t+="</li>")})),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"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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["partials/_actions"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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.isOnFeedsDashboard&&!this.post.ad&&(t+='<ul class="actions" data-id="',t+=this.escape(this.post.get("id")),t+='">',null!=this.post.get("deleted_at")?(this.post.linkedin&&(t+='<li aria-label="Use this when you want to remove this post from Juicer cache, so you can reimport the post manually." class="delete hint--bottom-right hint--large">Permanent delete</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>'):(this.post.stickied()?t+='<li aria-label="Make post be not-pinned anymore." class="unstick hint--bottom-left">Unpin</li>':t+='<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["partials/_columns"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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[columns]" type="number" value="',t+=this.escape(this.feed.get("columns")),t+='" /></div>'})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST["partials/_content"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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.feed&&"slider"===this.feed.get("style")?(t+='<div 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+='">',(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+="</div>"):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>"):this.post.get("video")&&"Instagram"===this.post.get("source").source()&&"hashtag"===this.post.get("source").termType()&&(t+='<div class="video-play-placeholder">',t+=Juicer.Constants.SVG_ICONS.play,t+="</div>"),t})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST["partials/_css"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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="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[css]">',_u.each(Juicer.Constants.FEED_CLASSES,(e=_____WB$wombat$check$this$function_____(this),function(i){var r,n;switch(t+="<option",r=i===e.feed.get("css")){case!0:t+=' selected="selected"';break;case!1:case null:break;default:t+=' selected="',t+=e.escape(r),t+='"'}switch(n=i){case!0:t+=' value="value"';break;case!1:case null:break;default:t+=' value="',t+=e.escape(n),t+='"'}return t+=">",t+="living-wall"===i?e.escape(Juicer.Helpers.prettify(i)+" (no Twitter & no YouTube support)"):"slider"===i?e.escape(Juicer.Helpers.prettify(i)+" (no YouTube support)"):e.escape(Juicer.Helpers.prettify(i)),t+="</option>"})),t+="</select></div></div>"})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST["partials/_custom_styles"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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["partials/_edit"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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["partials/_enterprise_sidebar"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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,i,r;return t="",i=[{name:"Your Feeds",url:"/enterprise/"+this.model.get("slug")},{name:"Manage Staff",url:"/enterprise/"+this.model.get("slug")+"/users"},{name:"Edit Account",url:"/enterprise/"+this.model.get("slug")+"/edit"},{name:"API Docs",url:"/api"},{name:"Set up White Label",url:"/enterprise/"+this.model.get("slug")+"/white-label"}],e="/"+JuicerBackbone.history.getFragment(),t+='<div class="enterprise-sidebar"><ul class="tc-dark-gray bg-white border">',_u.each(i,(r=_____WB$wombat$check$this$function_____(this),function(i){var n,s,o,a,l,c;if(t+='<li class="enterprise-sidebar-link ',n=i.url===e?"bold":"",r.isArray(n)){for(s=0,l=(n=r.flatten(n)).length;s<l;s++)(o=n[s])&&(n=o.toString());for(a=0,c=n.length;a<c;a++)(o=n[a]).length>0&&(n=o);t+=r.escape(n.join(" "))}else t+=r.escape(n);return t+='"><a href="',t+=r.escape(i.url),t+='">',t+=r.escape(i.name),t+="</a></li>"})),t+="</ul></div>"})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST["partials/_filter_setting"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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="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[display_filter]">',_u.each(["None","Social Type","Social Account","Grouped Terms"],(e=_____WB$wombat$check$this$function_____(this),function(i){return e.feed.get("display_filter")===i?(t+='<option selected="true" value="',t+=e.escape(i),t+='">',t+=e.escape(i),t+="</option>"):(t+='<option value="',t+=e.escape(i),t+='">',t+=e.escape(i),t+="</option>")})),t+="</select></div></div>"})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST["partials/_height"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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[height]" 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["partials/_interval"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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[interval]" 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["partials/_link"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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,i;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["class"])).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+='"',i="",(i+=this.escape(this["class"])).length>0&&(t+=' class="',t+=i,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["partials/_loading"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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.container?t+='<div class="j-loading-container"><div class="j-loading">Loading...</div></div>':this.wrapper?t+='<div class="j-loading-wrapper"><div class="j-loading">Loading...</div></div>':this.inFeed?t+='<div class="j-loading-wrapper" style="height: 42px"><div class="j-loading">Loading...</div></div>':t+='<div class="j-loading">Loading...</div>',t})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST["partials/_message"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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["partials/_meta"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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()||"YouTube"===this.post.sourceType()||(this.post.get("comment_count")>0&&(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>"),this.post.get("like_count")>0&&(t+="<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-social j-"+this.post.lowerType()+" j-"+this.post.lowerType()+"-text-hover",aria:this.post.lowerType()}),t+="</nav></div>"),t})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST["partials/_moderated_posts"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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,i;return t="",
(e=this.feed.get("posts").models).length>0?_u.each(e,(i=_____WB$wombat$check$this$function_____(this),function(e){var r;return t+="<li",r="",(r+=i.escape(e.classes())).length>0&&(t+=' class="',t+=r,t+='"'),t+=">",t+=Juicer.Helpers.renderPartial("actions",{isOnFeedsDashboard:!0,post:e}),t+=Juicer.Helpers.renderPartial("feeds/user",{post:e,feed:i.feed}),t+="</li>"})):t+='<div class="empty"><h2>No Moderated Posts!</h2></div>',t})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST["partials/_order"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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="order"><label class="settings-label" for="order">Post Order</label><div class="white-select mb-30"><select id="css" name="feed[order]">',_u.each([["created_at","Most Recent First"],["mixed","Mixed"],["random","Random"],["popular","Most Popular (no "+Juicer.Constants.PLATFORMS_WITHOUT_LIKES.join(", ")+" support)"]],(e=_____WB$wombat$check$this$function_____(this),function(i){return e.feed.get("order")===i[0]?(t+='<option selected="true" value="',t+=e.escape(i[0]),t+='">',t+=e.escape(i[1]),t+="</option>"):(t+='<option value="',t+=e.escape(i[0]),t+='">',t+=e.escape(i[1]),t+="</option>")})),t+="</select></div></div>"})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST["partials/_poster"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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>"):this.post.hashtag()&&this.post.instagram()?(t+="<h3>",t+=this.escape(this.post.get("poster_name")+" on Instagram"),t+="</h3>"):(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["partials/_prevent_duplicates"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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[prevent_duplicates]" type="hidden" value="0" />',this.feed.get("prevent_duplicates")?t+='<input checked="true" id="prevent_duplicates" name="feed[prevent_duplicates]" type="checkbox" />':t+='<input id="prevent_duplicates" name="feed[prevent_duplicates]" 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. We do this scan hourly. If you wish to set a priority for what source is chosen for duplicate posts, you can set the order of sources in the &#39;Social Media Sources&#39; section in the sidebar by using the drag&amp;drop functionality." class="sidebar-explainer hint--right hint--large"></div></div>'})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST["partials/_profanity"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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[profanity]" type="hidden" value="0" />',this.feed.get("profanity")?t+='<input checked="true" id="profanity" name="feed[profanity]" type="checkbox" />':t+='<input id="profanity" name="feed[profanity]" 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["partials/_referral"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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="https://www.juicer.io">Powered by</a></h1>'})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST["partials/_sources"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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="",_u.each(["Facebook","Twitter","Instagram","InstagramReels","YouTube","Tumblr","Pinterest","Slack","Blog","Giphy","Soundcloud","LinkedIn","Flickr","Vimeo","Yelp","Hashtag","TikTok"],(e=_____WB$wombat$check$this$function_____(this),function(i){var r,n,s;switch(s=i,n=i.toLowerCase(),t+='<li class="js-source j-social-icon ibt new-source-icon"',r=s){case!0:t+=' data-type="data-type"';break;case!1:case null:break;default:t+=' data-type="',t+=e.escape(r),t+='"'}return t+='><div class="font-icon j-',t+=e.escape(n),t+=" j-",t+=e.escape(n),t+="-color ",t+=e.escape("InstagramReels"===i?"j-instagram":""),t+=" ",t+=e.escape(juicerUtil.doesPlanContainPlatform(juicerData.user.plan,i)?"":"j-social-icon-inactive"),t+='"></div><div class="icon-label">',t+="Blog"===i?"Blog RSS ":"InstagramReels"===i?"Instagram reels ":e.escape(i),t+="</div></li>"})),t})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST["partials/_toggle"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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="py-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[',t+=this.escape(this.attr),t+=']" 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[',t+=this.escape(this.attr),t+=']" type="checkbox" />'):(t+='<input class="switch-checkbox" id="',t+=this.escape(this.attr),t+='" name="feed[',t+=this.escape(this.attr),t+=']" 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["partials/_upgrade"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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="sliding-sidebar-option"><h1 class="mb-4">Get more control plus:</h1><ul class="upgrade-feature-list mb-4"><li>More frequent auto-sync updates feed</li><li>Access to all social media sources</li><li>More feeds for maximum impact</li><li>Moderation and filtering options</li><li>Performance analytics</li><li>Feed integration assistance</li><li>Faster support</li></ul><button class="j-button">Upgrade your plan</button></div>'})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST["partials/_upgrade_plan"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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,i;return t="",i=this.css||"j-button",t+="<a",e="",(e+=this.escape(i)).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["partials/_widget_card"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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())).length>0&&(t+=' class="',t+=e,t+='"'),t+=' data-id="',t+=this.escape(this.post.get("id")),t+='" data-source="',t+=this.escape(this.post.lowerType()),t+='">',t+=Juicer.Helpers.renderPartial("actions",{isOnFeedsDashboard:this.isOnFeedsDashboard,post:this.post}),t+=Juicer.Helpers.renderPartial("feeds/user",{post:this.post}),t+="</li>"})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST["partials/_width"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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[width]" 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["partials/feeds/_classic"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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="http://',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["partials/feeds/_image"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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["partials/feeds/_night"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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()}),this.post.instagram()&&this.post.hashtag()?(t+='<a aria-label="',t+=this.escape(this.post.get("poster_name")),t+='" href="',t+=this.escape(this.post.get("poster_url")),t+='" target="_blank">',t+=this.escape(this.post.get("poster_name")+" on Instagram"),t+="</a>"):(t+='<a href="',t+=this.escape(this.post.get("poster_url")),t+='" target="_blank">',t+=this.escape(this.post.get("poster_name")),t+="</a>"),t+="</div>"),t})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST["partials/feeds/_polaroid"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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">',this.post.get("poster_name")&&(t+='<a class="up" 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> '),t+='<a class="platform" 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["partials/feeds/_standard"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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["partials/feeds/_user"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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["partials/feeds/_wall"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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())).length>0&&(t+=' class="',t+=e,t+='"'),t+=' data-id="',t+=this.escape(this.post.get("id")),t+='" data-source="',t+=this.escape(this.post.lowerType()),t+='">',t+=Juicer.Helpers.renderPartial("actions",{isOnFeedsDashboard:this.isOnFeedsDashboard,post:this.post}),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 aria-label="',t+=this.escape(this.post.link()),t+='" 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["partials/filters/_new"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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+='<ul class="j-display-filters">',"v2"===this.feed.get("embed_layout")?t+='<li class="filters-label">Filters: </li>':t+="Filters: ",_u.each(this.feed.filters(),(e=_____WB$wombat$check$this$function_____(this),function(i){var r,n,s,o;return s=e.feed.get("display_filter"),n=e.filter||e.feed.filter,(i.filter(s)===n||null===i.filter("filter")&&""===n)&&(o=!0),t+="<li",r="",(r+=e.escape(i.filterClass(s,o,!0))).length>0&&(t+=' class="',t+=r,t+='"'),t+=' data-filter="',t+=e.escape(i.filter(s)),t+='">',t+=e.escape(i.filterDisplay(s)),t+="</li>"})),t+="</ul>"})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST["partials/filters/_old"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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+='<ul class="j-filters filters">',_u.each(this.feed.filters(),(e=_____WB$wombat$check$this$function_____(this),function(i){var r,n,s,o;return s=e.feed.get("display_filter"),n=e.filter||e.feed.filter,(i.filter(s)===n||null===i.filter("filter")&&""===n)&&(o=!0),t+="<li",r="",(r+=e.escape(i.filterClass(s,o))).length>0&&(t+=' class="',t+=r,t+='"'),t+=' data-filter="',t+=e.escape(i.filter(s)),t+='">',t+=e.escape(i.filterDisplay(s)),t+="</li>"})),t+="</ul>"})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST["partials/source_form/_channel"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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">',t+=this.escape(this.source.title()),t+='</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="channel" /><label for="source_term">',t+=this.escape("https://www.youtube.com/"),t+='</label><input autocomplete="off" id="source_term" name="term" placeholder="YouTube_Channel_Name" type="text" /><input class="new-source-submit" name="commit" type="submit" value="Create Source">',t+=Juicer.Helpers.renderPartial("source_form/youtube_channel_name_example",{source:this.source}),t+="</input></form>"})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST["partials/source_form/_groups"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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">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,(e=_____WB$wombat$check$this$function_____(this),function(i){return t+='<li class="search-result" data-id="',t+=e.escape(i.get("id")),t+='" data-name="',t+=e.escape(i.get("name")),t+='">',t+=e.escape(i.get("name")),t+="</li>"})),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["partials/source_form/_hashtag"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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,i;return t="",this.source.set("term_type","hashtag"),this.source.needsLogin()&&this.socialAccounts&&!this.socialAccounts.socialAccountForSource(this.source)?"Instagram"!==this.source.source()&&"InstagramReels"!==this.source.source()||(i=window.juicerWL?"?wl="+window.juicerWL:"",t+='<h2 class="new-source-title mb-20 mx-10 tac">Please connect your Instagram Business account.</h2><div class="connect-explanation tal"><ol class="tc-dark-gray mb-20"><li class="mb-20">We ask that you <strong>connect your Instagram Business account</strong> with Juicer so we can import Instagram hashtag posts for you. <br />This connection is made <strong>via Facebook</strong> (who own Instagram). </li><li class="mb-20">After you have connected your Instagram Business account, you\'ll be able to import Instagram hashtag posts.</li></ol><p class="mt-20">Any further questions? Our help article has your back:</p><a class="tc-green tdu bold" href="https://help.juicer.io/hc/en-us/articles/360040164671-How-to-add-an-Instagram-hashtag-source-to-Juicer" target="_blank">-> How to add an Instagram hashtag source to Juicer</a></div><div class="tac"></div><a class="j-button j-social-icon social-account social-j-button j-facebook j-facebook-bg j-facebook-border" data-method="post" href="/auth/facebook',t+=this.escape(i),t+='">Connect via Facebook</a>'):("Pinterest"===this.source.source()?t+='<h2 class="new-source-title">Add Pinterest Board</h2>':"Instagram"===this.source.source()?t+='<h2 class="new-source-title">Import posts for an Instagram hashtag</h2>':"InstagramReels"===this.source.source()?t+='<h2 class="new-source-title">Import reels for an Instagram hashtag</h2>':(t+='<h2 class="new-source-title">Add ',t+=this.escape(this.source.source()),t+=" Hashtag</h2>"),"Instagram"===this.source.source()&&this.isLoading?t+='<container class="tac pt-75"><h2>Checking the status of your Facebook social account connection, please wait...</h2><ul class="new-source"><div class="j-loading"></div></ul></container>':(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="feed_id" type="hidden" value="',t+=this.escape(this.feedId),t+='" /><input name="term_type" type="hidden" value="',t+=this.escape(this.type),t+='" />',"InstagramReels"===this.source.source()?t+='<input name="only_reels" type="hidden" value="true" /><input name="source" type="hidden" value="Instagram" />':"Instagram"===this.source.source()?(t+='<input name="only_posts" type="hidden" value="true" /><input name="source" type="hidden" value="',t+=this.escape(this.source.source()),t+='" />'):(t+='<input name="source" type="hidden" value="',t+=this.escape(this.source.source()),t+='" />'),"Pinterest"===this.source.source()?(t+='<label for="source_term">',t+=this.escape(this.source.label()),t+="</label>"):t+='<label for="source_term">#</label>',e=this.source.placeholderHashtag(),"Instagram"===this.source.source()?(t+='<input autocomplete="off" data-filter_invalid_instagram_hashtag_characters="true" id="source_term" name="term" placeholder="',t+=this.escape(e),t+='" type="text" />'):(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="replies" name="replies" type="checkbox" value="replies" /><label for="replies">Include @replies</label></div>'),"Instagram"!==this.source.source()&&"InstagramReels"!==this.source.source()||(t+='<p class="mt-30 help-text">Please note: Instagram only allows us to import hashtag posts <strong>from the last 24 hours</strong>. This is a technical limitation (see: <a class="tdu bold tc-black" href="https://developers.facebook.com/docs/instagram-api/reference/ig-hashtag/recent-media" target="_blank">Instagram API documentation</a>). </p>'),t+='<input class="new-source-submit" name="commit" type="submit" value="Create Source" /></form>')),t})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST["partials/source_form/_max"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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>You need to upgrade to add more sources</h2><h3 style="margin-bottom:1.5rem">Unfortunately, the ',t+=this.escape(this.feed.get("plan")),t+=" plan only allows ",t+=this.escape(this.feed.get("max_sources")),t+=" sources per feed.</h3>",t+=Juicer.Helpers.renderPartial("upgrade_plan",{feed:this.feed})})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST["partials/source_form/_new"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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,i,r,n,s,o,a,l,c,u,p;return t="",u=(l=this.source.get("source")).toLowerCase(),s=this.source.findProvider(),"Instagram"!==this.source.source()&&"InstagramReels"!==this.source.source()&&this.source.needsLogin()&&!this.socialAccounts.socialAccountForSource(this.source)?(t+='<div class="new-source-container">',o=window.juicerWL?"?wl="+window.juicerWL:"","facebook"===u?(t+='<h2 class="new-source-title">Please connect your personal Facebook account.</h2><p class="connect-explanation">After you\'ve made this connection, you can choose from which Facebook (business) page, group, or personal account Juicer should import posts. <br />Adding the connection <strong>will NOT import personal posts to your Juicer feed,</strong> it is only for verification purposes. </p><a class="j-button j-social-icon social-account social-j-button j-',t+=this.escape(u),t+=" j-",t+=this.escape(u),t+="-bg j-",t+=this.escape(u),t+='-border" data-method="post" href="/auth/',t+=this.escape(u),t+=this.escape(o),t+='">Connect your ',t+=this.escape(l),t+=" account</a>"):"twitter"===u?(t+='<h2 class="new-source-title">Please connect your Twitter account.</h2><p class="connect-explanation">After you\'ve made this connection, you\'ll be able to import tweets. <br />Adding the connection <strong>will NOT import personal tweets to your Juicer feed,</strong> it is only for verification purposes. </p><a class="j-button j-social-icon social-account social-j-button j-',t+=this.escape(u),t+=" j-",t+=this.escape(u),t+="-bg j-",t+=this.escape(u),t+='-border" data-method="post" href="/auth/',t+=this.escape(u),t+=this.escape(o),t+='">Connect your ',t+=this.escape(l),t+=" account</a>"):"tiktok"===u?(t+='<h2 class="new-source-title">Please connect your personal TikTok account.</h2><p class="connect-explanation">After you\'ve made this connection, you can import your personal posts into Juicer. Adding the connection <strong>will NOT import personal posts to your Juicer feed,</strong> it is only for verification purposes. </p><a class="j-button j-social-icon social-account social-j-button j-',t+=this.escape(u),t+="-white j-",t+=this.escape(u),t+="-bg j-",t+=this.escape(u),t+='-border" data-method="post" href="/auth/',t+=this.escape(u),t+=this.escape(o),t+='">Connect your ',t+=this.escape(l),t+=" account</a>"):(t+='<h2 class="new-source-title">Please connect your ',t+=this.escape(l),t+=' account.</h2><p class="connect-explanation">We ask that you connect your ',t+=this.escape(l),t+=" account so that we don't run into API rate limits. <strong>This will not automatically import your ",t+=this.escape(l),t+=" posts.</strong> ",e="instagram"===u?"add the posts of your connected account":"add the posts of ANY public user or hashtags",t+="After you have connected your account, you can ",t+=this.escape(e),t+='. </p><a class="j-button j-social-icon social-account social-j-button j-',t+=this.escape(u),t+=" j-",t+=this.escape(u),t+="-bg j-",t+=this.escape(u),t+='-border" data-method="post" href="/auth/',t+=this.escape(s),t+=this.escape(o),t+='">Connect your ',t+=this.escape(l),t+=" account</a>"),t+="</div>"):(this.source.hashtags()&&(t+='<nav><ul class="source-types">',_u.each(["Username","Hashtag"],(p=_____WB$wombat$check$this$function_____(this),function(e){var i,r,n;return i=e.toLowerCase()===p.type?"active":"","Pinterest"===p.source.source()&&"Hashtag"===e?(t+='<li class="source-type ',t+=p.escape(i),t+='" data-type="',t+=p.escape(e.toLowerCase()),t+='">Board</li>'):"Facebook"===p.source.source()&&"Username"===e?(t+='<li class="source-type ',t+=p.escape(i),t+='" data-type="',t+=p.escape(e.toLowerCase()),t+='">Your Page</li>'):"Facebook"!==p.source.source()||"Hashtag"!==e?"InstagramReels"===p.source.source()&&"Username"===e?(n="username"===p.type?"active":"",t+='<li class="source-type ',t+=p.escape(n),t+='" data-type="',t+=p.escape(e.toLowerCase()),t+='">Username</li>'):"InstagramReels"===p.source.source()&&"Hashtag"===e?(r="hashtag"===p.type?"active":"",t+='<li class="source-type ',t+=p.escape(r),t+='" data-type="',t+=p.escape(e.toLowerCase()),t+='">Hashtag</li>'):(t+='<li class="source-type ',t+=p.escape(i),t+='" data-type="',t+=p.escape(e.toLowerCase()),t+='">',t+=p.escape(e),t+="</li>"):void 0})),"Facebook"===this.source.source()&&(n="personal"===this.type?"active":"",t+='<li class="source-type ',t+=this.escape(n),t+='" data-type="personal">Personal Account</li>',r="groups"===this.type?"active":"",t+='<li class="source-type ',t+=this.escape(r),t+='" data-type="groups">Group</li>',a="reviews"===this.type?"active":"",t+='<li class="source-type ',t+=this.escape(a),t+='" data-type="reviews">Reviews</li>'),"YouTube"===this.source.source()&&(n="channel"===this.type?"active":"",t+='<li class="source-type ',t+=this.escape(n),t+='" data-type="channel">Channel</li>'),t+="</ul></nav>"),i=this.feed?this.feed.get("id"):void 0,t+='<div class="new-source-container">',(c={Blog:"360040453011-Blog-sources-Adding-and-troubleshooting",Facebook:"360039995932-Facebook-sources-Adding-and-troubleshooting",Flickr:"360040042652-Flickr-sources-Adding-and-troubleshooting",Giphy:"360040043352-Giphy-sources-Adding-and-troubleshooting",Pinterest:"360039996392-Pinterest-sources-Adding-and-troubleshooting",Slack:"360040448211-Slack-sources-Adding-and-troubleshooting",Soundcloud:"360040043512-Soundcloud-sources-Adding-and-troubleshooting",Tumblr:"360040038412-Tumblr-sources-Adding-and-troubleshooting",Twitter:"360040405811-Twitter-sources-Adding-and-troubleshooting",Vimeo:"360040448291-Vimeo-sources-adding-and-troubleshooting",Yelp:"360040042912-Yelp-sources-Adding-and-troubleshooting",YouTube:"360040406271-YouTube-sources-Adding-and-troubleshooting",LinkedIn:"360040406391-LinkedIn-sources-Adding-and-troubleshooting",Instagram:"360042349531-Instagram-sources-Adding-and-troubleshooting"})[l]&&(t+='<a aria-label="Learn more about ',t+=this.escape(l),t+=' sources" class="new-source-help hint--bottom-left" href="',t+=this.escape(Juicer.Constants.HELP_CENTER_URL),t+="/articles/",t+=this.escape(c[l]),t+='" target="_blank">Help</a>'),"instagram"===u||"instagramreels"===u?t+=Juicer.Helpers.renderPartial("source_form/"+this.type,{source:this.source,csrf:this.csrf,feedId:i,type:this.type,socialAccounts:this.socialAccounts,results:this.results,isLoading:this.isLoading,post_type:this.postType}):Juicer.Constants.PROVIDERS_WITH_MULTIPLE_SOCIAL_ACCOUNTS.indexOf(s)>=0?t+=Juicer.Helpers.renderPartial("source_form/"+this.type,{source:this.source,csrf:this.csrf,feedId:i,type:this.type,socialAccounts:this.socialAccounts.findAllWithProvider(s),results:this.results,isLoading:this.isLoading,post_type:this.postType}):t+=Juicer.Helpers.renderPartial("source_form/"+this.type,{source:this.source,csrf:this.csrf,feedId:i,type:this.type,socialAccount:this.socialAccounts.socialAccount(s),results:this.results,isLoading:this.isLoading}),t+="</div>"),t})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST["partials/source_form/_personal"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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">Add Personal Facebook Account</h2>',this.socialAccount?(t+='<form accept-charset="UTF-8" action="#" 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="hidden" value="',t+=this.escape(this.socialAccount.get("uid")),t+='" /><input name="name" type="hidden" value="',t+=this.escape(this.socialAccount.get("name")),t+='" /><input name="term_type" type="hidden" value="personal" /><input class="j-facebook j-button j-social-icon j-facebook-border social-account social-j-button" name="commit" type="submit" value="Import ',t+=this.escape(this.socialAccount.get("name")),t+='&#39;s Facebook posts" /></form>'):t+='<a class="j-button j-facebook j-facebook-border j-social-icon social-account social-j-button" data-method="post" href="/auth/facebook">Connect your Facebook account</a>',t})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST["partials/source_form/_reviews"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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">Connect Facebook Page Reviews</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="reviews" /><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,(e=_____WB$wombat$check$this$function_____(this),function(i){return t+='<li class="search-result" data-id="',t+=e.escape(i.get("id")),t+='" data-name="',t+=e.escape(i.get("name")),t+='">',t+=e.escape(i.get("name")),t+="</li>"})),t+="</ul></form>"):t+="<h2>Sorry you aren't the admin of any facebook pages.</h2>":t+='<a class="j-button j-facebook j-facebook-border j-social-icon social-account social-j-button" data-method="post" href="/auth/facebook">Connect your Facebook account</a>',t})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST["partials/source_form/_username"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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="","Facebook"===this.source.source()?t+=Juicer.Helpers.renderPartial("source_form/username_pages",{source:this.source,csrf:this.csrf,feedId:this.feedId,type:this.type,socialAccount:this.socialAccount,results:this.results,isLoading:this.isLoading}):"Instagram"===this.source.source()?t+=Juicer.Helpers.renderPartial("source_form/username_instagram_basic_display",{source:this.source,csrf:this.csrf,feedId:this.feedId,type:this.type,socialAccounts:this.socialAccounts,results:this.results,isLoading:this.isLoading,post_type:"post"}):"InstagramReels"===this.source.source()?t+=Juicer.Helpers.renderPartial("source_form/username_instagram_basic_display",{source:this.source,csrf:this.csrf,feedId:this.feedId,type:this.type,socialAccounts:this.socialAccounts,results:this.results,isLoading:this.isLoading,post_type:"reel"}):"TikTok"===this.source.source()?t+=Juicer.Helpers.renderPartial("source_form/username_tiktok",{source:this.source,csrf:this.csrf,feedId:this.feedId,type:this.type,socialAccount:this.socialAccount,results:this.results,isLoading:this.isLoading}):t+=Juicer.Helpers.renderPartial("source_form/username_input",{source:this.source,csrf:this.csrf,feedId:this.feedId,type:this.type,socialAccount:this.socialAccount,results:this.results}),t})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST["partials/source_form/_username_example"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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,i;return t="",(e=this.source.usernameExample())&&(t+='<div class="source-form-example mt-40"><h4 class="tc-orange ibt bold">For Example:</h4> if you want to add ',t+=this.escape(e.name),t+=', copy & paste the bold part: <br /><a href="',t+=this.escape(e.link),t+='" target="_blank">',t+=e.formattedLink,t+="</a></div>"),(i=this.source.usernameHelpLink())&&(t+='<div class="source-form-example mt-10"><h4 class="tc-orange ibt bold">Help:</h4> <a href="',t+=this.escape(i.link),t+='" target="_blank">',t+=i.text,t+="</a></div>"),t})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST["partials/source_form/_username_input"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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">',t+=this.escape(this.source.title()),t+='</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+='" />',"Tumblr"===this.source.source()?(t+='<label for="source_term">http://</label><input autocomplete="off" id="source_term" name="term" placeholder="',t+=this.escape(this.source.placeholder()),t+='" type="text" /><label for="source_term">.tumblr.com</label>'):"Hashtag"===this.source.source()?(t+='<ul class="add-a-hashtag">',_u.each(_u.filter(this.source.hashtagSupporters,function(t){return"Facebook"!==t}),(e=_____WB$wombat$check$this$function_____(this),function(i){var r;return r=i.toLowerCase(),t+='<li class="j-',t+=e.escape(r),t+=" j-",t+=e.escape(r),t+='-color hashtag-source j-social-icon ibt tc-white" data-type="',t+=e.escape(i),t+='">',"InstagramReels"===i?(t+='<div class="tc-slevin">',t+=e.escape("Instagram reels"),t+="</div>"):(t+='<div class="tc-slevin">',t+=e.escape(i),t+="</div>"),t+="</li>"})),t+="</ul>"):(t+='<label for="source_term">',t+=this.escape(this.source.label()),t+='</label><input autocomplete="off" id="source_term" name="term" placeholder="',t+=this.escape(this.source.placeholder()),t+='" type="text" />',"Facebook"===this.source.source()&&(t+='<div class="feed-term-type"><input id="term_type" name="term_type" type="checkbox" value="feed" /><label for="term_type">Include posts that mention my page.</label></div>'),"Twitter"===this.source.source()&&(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>')),"Hashtag"!==this.source.source()&&(t+='<input class="new-source-submit" name="commit" type="submit" value="Create Source" />',t+=Juicer.Helpers.renderPartial("source_form/username_example",{source:this.source})),t+="</form>"})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST["partials/source_form/_username_instagram_basic_display"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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,i,r;return t="",this.source.set("term_type","username"),this.source.needsLogin()&&0===this.socialAccounts.findAllWithProvider("instagram_basic_display").length?(e=window.juicerWL?"?wl="+window.juicerWL:"",t+='<h2 class="new-source-title">Please connect your Instagram account.</h2><p class="connect-explanation">We ask that you connect your Instagram account so that we don\'t run into API rate limits. <strong>This will not automatically import your Instagram posts.</strong> After you have connected your account, you can add the posts of your connected account. </p><a class="j-button j-social-icon social-account social-j-button j-instagram j-instagram-bg j-instagram-border" data-method="post" href="/auth/instagram_basic_display',t+=this.escape(e),t+='">Connect your Instagram account</a>'):(t+='<div class="mx-20"><div class="container-fluid"><div class="row"><div class="col-12"><h2 class="new-source-title">Import ',t+=this.escape(this.post_type),t+='s for an Instagram username</h2><form accept-charset="UTF-8" action="/feeds/',t+=this.escape(this.feedId),t+='/sources" class="source-form mt-20" method="post"><input name="source" type="hidden" value="Instagram" /><input name="feed_id" type="hidden" value="',t+=this.escape(this.feedId),t+='" /><input name="term_type" type="hidden" value="username" />',"reel"===this.post_type?t+='<input name="only_reels" type="hidden" value="true" />':t+='<input name="only_posts" type="hidden" value="true" />',t+='<div class="d-flex flex-column"><label class="tal mb-10 fs-1-125" for="source_term">Choose a username</label><div class="d-flex flex-row"><span class="fs-2 bold mr-10">@</span><select class="flex-grow-1 fs-1-25 p-10" name="term">',i=this.socialAccounts.findAllWithProvider("instagram_basic_display"),_u.each(i,(r=_____WB$wombat$check$this$function_____(this),function(e){return t+="<option>",t+=r.escape(e.attributes.name),t+="</option>"})),t+='</select></div></div><input class="new-source-submit" name="commit" type="submit" value="Create Source" /></form><hr class="my-25" /><div class="tac"><p class="tal fs-1-125 my-20">If you\'d like to pick a username that isn\'t on the list, first you need to connect the Instagram account corresponding to that username.</p><a class="j-button j-instagram j-instagram-bg j-social-icon j-instagram-border social-account social-j-button" data-confirm="Before proceeding, please visit www.instagram.com and ensure you are logged OUT of any Instagram accounts. Otherwise, you might reconnect an Instagram account that&#39;s already connected with Juicer - instead of adding a new one." data-method="post" href="/auth/instagram_basic_display">Connect via Instagram</a></div></div></div></div></div>'),t})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST["partials/source_form/_username_pages"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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 your Facebook Page</h2>',this.isLoading?t+='<container class="tac pt-75"><ul class="new-source"><div class="j-loading"></div></ul></container>':(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 mb-40" 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="username" /><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,(e=_____WB$wombat$check$this$function_____(this),function(i){var r;return r=i.get("username")||i.get("id"),t+='<li class="search-result" data-id="',t+=e.escape(r),t+='" data-name="',t+=e.escape(i.get("name")),t+='">',t+=e.escape(i.get("name")),t+=e.escape(" ("+r+")"),t+="</li>"})),t+='</ul><div class="feed-term-type"><input id="term_type" name="term_type" type="checkbox" value="feed" /> <label for="term_type">Also import Facebook Visitor Posts (see: <a class="tc-blue" href="https://www.facebook.com/help/356113237741414" target="_blank">facebook.com/help/356113237741414</a>)</label></div></form>'):t+="<h2>Sorry you aren't the manager of any facebook pages.</h2>":t+='<a class="j-button j-facebook j-facebook-border j-social-icon social-account social-j-button" data-method="post" href="/auth/facebook">Connect your Facebook account</a>',t+='<div class="row new-source-warning"><div class="offset-2 col-8"><strong>Not seeing your page here?</strong> <br />Make sure the Facebook account that you\'ve connected has management access to the relevant Facebook Page. <br /><a aria-label="Learn more" class="tc-black bold tdu" href="',t+=this.escape(Juicer.Constants.HELP_CENTER_URL),t+='/articles/360039938752-Validating-ownership-of-your-Facebook-sources" target="_blank"> Learn more</a></div></div>'),t})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST["partials/source_form/_username_tiktok"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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="mx-20"><div class="container-fluid"><div class="row"><div class="col-12"><h2 class="new-source-title">Import posts for a Tiktok username</h2><form accept-charset="UTF-8" action="/feeds/',t+=this.escape(this.feedId),t+='/sources" class="source-form mt-20" method="post"><input name="source" type="hidden" value="TikTok" /><input name="feed_id" type="hidden" value="',t+=this.escape(this.feedId),t+='" /><input name="term" type="hidden" value="',t+=this.escape(this.socialAccount.get("name")),t+='" /><input name="name" type="hidden" value="',t+=this.escape(this.socialAccount.get("name")),t+='" /><input name="term_type" type="hidden" value="username" /><div class="d-flex flex-column"><input class="j-facebook j-button j-social-icon j-facebook-border social-account social-j-button" name="commit" type="submit" value="Import ',t+=this.escape(this.socialAccount.get("name")),t+='&#39;s TikTok posts" /></div></form><hr class="my-25" /><div class="tac"><p class="tal fs-1-125 my-20">If you\'d like to pick a username that isn\'t on the list, first you need to connect the TikTok account corresponding to that username.</p></div></div></div></div></div>'})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST["partials/source_form/_youtube_channel_name_example"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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.source.youtubeChannelNameExample(),t+='<div class="source-form-example mt-40"><h4 class="tc-orange ibt bold">For Example:</h4> if you want to add ',t+=this.escape(e.name),t+=', copy & paste the bold part: <br /><a href="',t+=this.escape(e.link),t+='" target="_blank">',t+=e.formattedLink,t+="</a></div>"})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST["partials/video/_blog_embed"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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;switch(t="",t+='<div class="video-wrapper">',t+='<video autoplay="autoplay"',e=!!this.overlay){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["partials/video/_facebook_embed"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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;switch(t="",t+='<div class="video-wrapper">',t+='<video autoplay="autoplay"',e=!!this.overlay){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["partials/video/_flickr_embed"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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"><embed autoplay="true" autostart="true" play="true" src="',t+=this.escape(this.video),t+='&amp;autoPlay=true" wmode="transparent" /></div>'})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST["partials/video/_instagram_embed"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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;switch(t="",t+='<div class="instagram-wrapper">',t+='<video autoplay="autoplay"',e=!!this.overlay){case!0:t+=' controls="controls"';break;case!1:case null:break;default:t+=' controls="',t+=this.escape(e),t+='"'}return t+=' id="video" loop="true"><source src="',t+=this.escape(this.video),t+='" /></video>',this.post&&(t+='<a class="j-video-fallback" href="',t+=this.escape(this.post.link()),t+='" style="display: none;" target="_blank"><img data-lazy="',t+=this.escape(this.post.get("image")),t+='" /></a>'),t+="</div>"})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST["partials/video/_soundcloud_embed"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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 allow="autoplay" frameborder="no" scrolling="no" src="https://w.soundcloud.com/player/?url=https%3A//api.soundcloud.com/tracks/',t+=this.escape(this.id),t+='&amp;auto_play=true&amp;hide_related=false&amp;show_comments=true&amp;show_user=true&amp;show_reposts=false&amp;visual=true&amp;show_teaser=false"></iframe></div>'})}}.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"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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="https://embed.spotify.com/?uri=spotify:track:',t+=this.escape(this.id),t+='"></iframe></div>'})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST["partials/video/_tiktok_embed"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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;switch(t="",t+='<div class="video-wrapper tiktok-wrapper">',t+='<video autoplay="autoplay"',e=!!this.overlay){case!0:t+=' controls="controls"';break;case!1:case null:break;default:t+=' controls="',t+=this.escape(e),t+='"'}return t+=' data-id="',t+=this.escape(this.post.id),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["partials/video/_tumblr_embed"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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["partials/video/_twitter_embed"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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;switch(t="",t+='<div class="twitter-wrapper">',t+='<video autoplay="autoplay"',e=!!this.overlay){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["partials/video/_vimeo_embed"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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["partials/video/_vine_embed"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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="https://platform.vine.co/static/scripts/embed.js"></script></div>'})}}.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"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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="https://www.youtube-nocookie.com/embed/',t+=this.escape(this.id),t+="?",t+=this.escape(e),t+='"></iframe></div>'})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST.plan_change=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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,i,r;if(t="",t+='<div class="change-plan-overlay"><h2 class="tc-dark-gray 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-dark-gray fs-1-5">Current Plan: <br />',t+=this.escape(this.model.planCapital()),t+=": ",t+=this.escape(this.model.get("cost_formatted")),t+="/mo </h3><h4>",t+=this.model.get("subtitle"),t+='</h4></div><div class="change-plan-arrow"></div><div class="new-plan fr"><h3 class="bold tc-dark-gray fs-1-5">New Plan: <br />',t+=this.escape(this.model.newPlanCapital()),t+=": ",t+=this.escape(this.model.get("new_cost_formatted")),t+="/mo </h3><h4>",t+=this.model.get("new_subtitle"),t+="</h4></div></div>","small"===this.model.get("new_plan")){switch(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 you\u2019d 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"',e=this.csrf){case!0:t+=' value="value"';break;case!1:case null:break;default:t+=' value="',t+=this.escape(e),t+='"'}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>'}else{switch(this.model.downgradeDate()&&(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>"),t+='<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"',i=this.csrf){case!0:t+=' value="value"';break;case!1:case null:break;default:t+=' value="',t+=this.escape(i),t+='"'}switch(t+=' /><input class="j-button" data-disable-with="Loading..." type="submit"',r=this.model.get("plan_button_label_for_price_table")){case!0:t+=' value="value"';break;case!1:case null:break;default:t+=' value="',t+=this.escape(r),t+='"'}t+=" /></form>"}return 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"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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 import 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"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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;if(t="",t+='<div class="p-50"><h2 class="tac 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?")){if(t+='<form><textarea class="bordered my-25" placeholder="Add text or links to the post">',t+=this.escape(this.post.get("edit")),t+="</textarea>",this.post.linkedin){switch(t+='<div>By changing import date you can change LinkedIn post position in the feed.</div><input class="datetime-external-created-at my-25 center" name="external_created_at" type="datetime-local"',e=this.post.get("formatted_external_created_at")){case!0:t+=' value="value"';break;case!1:case null:break;default:t+=' value="',t+=this.escape(e),t+='"'}t+=" />"}
t+='<div class="tac"><input class="j-button" type="submit" value="Update Post" /></div></form>'}else t+='<h3>Only paid plans can edit posts. <a href="/plans">Upgrade your plan.</a></h3>';return 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"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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,i;return t="",e="YouTube"!==this.post.sourceType()?"is-not-youTube":"",i="YouTube"===this.post.sourceType()?"is-youTube":"",t+='<div class="j-post-overlay juicer-feed loaded ',t+=this.escape(i),t+=" ",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,post:this.post}):(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+=this.escape(e),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 "+("YouTube"===this.post.sourceType()?"":"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-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>',this.next&&(t+='<a class="j-next" data-post-id="',t+=this.escape(this.next.get("id")),t+='"><span>Next</span></a>'),t+="</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"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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,i,r,n,s,o,a,l,c;if(t="",t+='<div class="sidebar-header"><a href="/">',window.juicerWL){switch(t+='<img alt="Juicer.io Logo" loading="lazy"',e=window.juicerWLImage){case!0:t+=' src="src"';break;case!1:case null:break;default:t+=' src="',t+=this.escape(e),t+='"'}t+=' style="height: 40px" />'}else t+='<img alt="Juicer.io Logo" loading="lazy" src="/logo-with-text.svg" style="height: 40px" />';if(t+='</a></div><h1 class="fs-1-5 tc-dark-blue sidebar-feed-name"><a class="js-feed-name-edit tdu-hover d-flex align-items-center pointer px-15" title="Edit feed name and URL">',t+=this.escape(this.feed.get("name")),t+='<span class="ml-10 juicer-fa-edit fs-1 hide-on-white-label"></span></a></h1>',window.juicerDashboard.userUpgradePath){switch(t+='<a class="tdu-hover d-flex px-15 align-items-center tc-dark-blue pt-10 pb-20 fs-0-75"',i=window.juicerDashboard.userUpgradePath){case!0:t+=' href="href"';break;case!1:case null:break;default:t+=' href="',t+=this.escape(i),t+='"'}t+=' title="Change the feed&#39;s update frequency">Updates: ',t+=window.juicerDashboard.updateFrequencyInWords.toLowerCase(),t+=' <div class="ml-10 juicer-fa-edit"></div></a>'}return t+='<div class="relative"><div class="px-15 py-20 add-source" style="border-top: 1px solid #e6e0d8;"><a class="j-button d-flex justify-content-center">+ Add social media source </a></div><ul class="sidebar-menu" style="border-top: 1px solid #e6e0d8;">',r=window.juicerDashboard.hasExpiredSocialAccounts,c=window.juicerDashboard.sourceIdsWhereUserActionRequired.length>0,l=window.juicerDashboard.showEmbedTour,a=window.juicerDashboard.showEmbedLayoutTour,n=window.juicerDashboard.hideConnectionsWarningPopover,s=window.juicerDashboard.hideEmbedInfoPopover,o=window.juicerDashboard.hideEmbedLayoutPopover,t+='<li class="menu-item menu-icon feed-icon ',t+=this.escape(c?"menu-item-with-icon":void 0),t+='" id="sources"><div class="d-flex align-items-center justify-content-between">Social Media Sources',c&&(t+='<a class="js-warning" href="/feeds/',t+=this.escape(this.feed.get("slug")),t+='/inspect">',t+=window.juicerDashboard.warningSvg,t+="</a>"),t+="</div>",c&&(t+='<a class="sidebar-popover" data-skip_opening_sub_view="true" href="/feeds/',t+=this.escape(this.feed.get("slug")),t+='/inspect " id="UserActionRequiredPopover"><div class="sidebar-popover-content">We cannot import posts for one of your sources, we need your help to fix this.<div class="popover-buttons"><div class="popover-button j-button cta">Fix Now!</div></div></div></a>'),t+='</li><li class="menu-item menu-icon connections-icon ',t+=this.escape(r?"menu-item-with-icon":void 0),t+='" id="social_accounts"><a class="label d-flex align-items-center justify-content-between" href="/social-accounts" title="',t+=this.escape(r?"One of your connected Social Accounts has expired. Please refresh it to make sure all of your posts get imported.":""),t+='"><span><span class="mr-10">Your Social Connections</span></span>',r?(t+='<span class="icon-warning js-warning">',t+=window.juicerDashboard.warningSvg,t+="</span>"):t+=Juicer.Constants.SVG_ICONS.externalLink,t+="</a>",r&&!c&&(t+='<a class="sidebar-popover ',t+=this.escape(n?"hide-popover":void 0),t+='" data-skip_opening_sub_view="true" href="/social-accounts" id="UserActionRequiredPopover"><div class="sidebar-popover-content">One of your social connections has expired. Please refresh it so we can continue to import new posts for you. <div class="popover-hide-button" data-key="Connections">x</div><div class="popover-buttons"><div class="popover-button j-button cta">Fix Now!</div></div></div></a>'),t+='</li><li class="menu-item menu-icon feed-settings-icon" id="settings">Feed Settings</li><li class="menu-item menu-icon design-icon" id="design">Custom Design</li><li class="menu-item menu-icon embed-icon ',t+=this.escape(l?"hide-embed-info-popover menu-item-with-icon":void 0),t+='" id="embed"><span class="d-flex align-items-center justify-content-between">Embed in your Site ',l&&(t+='<span class="embed-popover icon-warning d-flex align-items-center">',t+=window.juicerDashboard.infoSvg,t+="</span>"),a&&(t+="<span>",t+=window.juicerDashboard.warningSvg,t+="</span>"),t+="</span>",l&&(t+='<UserActionRequiredPopover class="embed-popover sidebar-popover ',t+=this.escape(s?"hide-popover":void 0),t+='"><div class="sidebar-popover-content">Embed your Juicer feed directly onto your own website with one short code snippet <div class="popover-hide-button" data-key="Embed">x</div><div class="popover-buttons"><div class="popover-button j-button popover-button mr-5">Try it out!</div></div></div></UserActionRequiredPopover>'),a&&(t+='<span class="sidebar-popover ',t+=this.escape(o?"hide-popover":void 0),t+='" data-skip_opening_sub_view="true" href="" id="UpdateEmbedLayoutPopover"><div class="sidebar-popover-content">There is a layout change available for your feed that handles accessibility support. Please take a moment to review the changes and upgrade to the new layout. <div class="popover-hide-button hide-embed-layout-popover" data-key="EmbedLayout">x</div></div></span>'),t+='</li><li class="menu-item menu-icon moderate-icon icon-menu-item" data-icon-label="',t+=this.escape(this.feed.moderationStatus()),t+='" id="moderate">Moderate and Filter</li><li class="menu-item menu-icon analytics-icon slide-menu-item" id="analytics">Analytics</li><li class="menu-item menu-icon share-icon slide-menu-item" id="hub">Share your Feed</li><li class="menu-item menu-icon sync-icon slide-menu-item" id="synced">Last Sync ',t+=this.escape(Juicer.Helpers.fullDate(this.feed.get("last_synced"),"%b/%-d/%y at %-l:%M%p")),t+="</li>","small"===this.feed.get("plan")&&(t+='<a href="',t+=this.escape(window.juicerDashboard.userUpgradePath),t+='?mpevent=sidebar_upgrade_button" target="_blank"><li class="menu-item-unclickable menu-icon rocket-icon active slide-menu-item arrow-right-after">Upgrade</li>',t+=Juicer.Helpers.renderPartial("upgrade"),t+="</a>"),t+="</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"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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,isLoading:this.isLoading},t+='<div class="tac">',this.feed?this.feed.get("more_sources_allowed?")?t+=Juicer.Helpers.renderPartial("source_form/new",e):(t+='<div class="p-50"><h2 class="fs-2">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 per feed.</h3>",window.juicerWL||(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["sources/manual"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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="fs-2 mb-30">Add a Post Manually to ',t+=this.escape(this.source.displayName()),t+="</h2>",this.feed.notSmall()||this.feed.isTrial()?(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: ',t+=this.escape(this.source.manualPostExamples[this.source.source()]||"https://facebook.com/..."),t+='" type="text" />',"LinkedIn"===this.source.source()&&(t+='<p class="mb-20">To receive the URL to your post click on the 3 dots menu in the top right of the post on LinkedIn and then "Copy link to post"</p>'),t+='<input class="j-button" name="commit" type="submit" value="Add Post" /><div class="j-loading-wrapper mt-20"></div>'):(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["sources/moderation"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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,i;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="fs-2 mb-30">Set Moderation Filters for ',t+=this.escape(this.source.displayName()),t+='</h2><h3 class="fifteen tc-dark-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-dark-gray bold" href="/blog/walkthrough-moderating-and-filtering-your-social-posts-in-juicer">here</a>. </h3>',i="list words, @usernames, or #hastags",e="Separate filters with a comma. Filters are case-insensitive.",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(i),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(i),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" />',this.source.get("queue")?t+='<input checked="true" id="queue" name="queue" type="checkbox" />':t+='<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["sources/rename"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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="fs-2 mb-30">Edit ',t+=this.escape(this.source.displayName()),t+='\'s filter button</h2><p class="mb-30">This will <strong>not</strong> show different posts but only change the label of the filter button above your feed. 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="Save" /></form>'})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST["sources/source_unavailable_for_small_plan"]=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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"><div class="p-50"><h2 class="fs-2">Upgrade to add ',t+=this.escape(this.source),t+='</h2><h3 class="mb-25">The small plan doesn\'t allow adding ',t+=this.escape(this.source),t+=" sources after the end of the trial period. </h3>",t+=Juicer.Helpers.renderPartial("upgrade_plan"),t+="</div></div>"})}}.call(this)}.call(this),function(){this.JST||(this.JST={}),this.JST.widget=function(){return this.Skim={access:function(t){var e;return"function"==typeof(e=_____WB$wombat$check$this$function_____(this)[t])&&(e=e.call(this)),!0===e?[this]:!1!==e&&null!=e&&("[object Array]"!==Object.prototype.toString.call(e)?[e]:0!==e.length&&e)},withContext:function(t,e){var i;return(t=function(t){var e;return(e=function(){}).prototype=t,new e}(t)).safe||(t.safe=this.safe||function(t){var e;return(null!=t?t.skimSafe:void 0)?t:((e=new String(null!=t?t:"")).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;n<s;n++)(e=t[n])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">',"v2"===this.model.get("embed_layout")?(t+='<ul class="front">',t+=Juicer.Helpers.renderPartial("widget_card",{post:this.first,isOnFeedsDashboard:this.isOnFeedsDashboard}),t+='</ul><ul class="back">',t+=Juicer.Helpers.renderPartial("widget_card",{post:this.second,isOnFeedsDashboard:this.isOnFeedsDashboard}),t+="</ul>"):(t+='<div class="front">',t+=Juicer.Helpers.renderPartial("widget_card",{post:this.first,isOnFeedsDashboard:this.isOnFeedsDashboard}),t+='</div><div class="back">',t+=Juicer.Helpers.renderPartial("widget_card",{post:this.second,isOnFeedsDashboard:this.isOnFeedsDashboard}),t+="</div>"),t+="</div></div>"})}}.call(this)}.call(this),function(){var t=function(t,i){function r(){this.constructor=t}for(var n in i)e.call(i,n)&&(t[n]=i[n]);return r.prototype=i.prototype,t.prototype=new r,t.__super__=i.prototype,t},e={}.hasOwnProperty;Juicer.Models.Assignment=function(e){function i(){return i.__super__.constructor.apply(this,arguments)}return t(i,e),i.prototype.urlRoot="/api/assignments",i}(JuicerBackbone.Model)}.call(this),function(){var t=function(t,i){function r(){this.constructor=t}for(var n in i)e.call(i,n)&&(t[n]=i[n]);return r.prototype=i.prototype,t.prototype=new r,t.__super__=i.prototype,t},e={}.hasOwnProperty;Juicer.Models.Click=function(e){function i(){return i.__super__.constructor.apply(this,arguments)}return t(i,e),i.prototype.urlRoot=function(){return Juicer.Constants.API_ROOT+"/api/clicks"},i.prototype.save=function(t,e){return(e=null!=e?_u.clone(e):{}).xhrFields||(e.xhrFields={}),e.xhrFields.withCredentials=!1,i.__super__.save.call(this,t,e)},i}(JuicerBackbone.Model)}.call(this),function(){var t=function(t,i){function r(){this.constructor=t}for(var n in i)e.call(i,n)&&(t[n]=i[n]);return r.prototype=i.prototype,t.prototype=new r,t.__super__=i.prototype,t},e={}.hasOwnProperty;Juicer.Models.Enterprise=function(e){function i(){return i.__super__.constructor.apply(this,arguments)}return t(i,e),i.prototype.idAttribute="slug",i.prototype.urlRoot="/api/enterprise",i.prototype.page=1,i.prototype.initialize=function(t){return null==t&&(t={}),this.showPricingExplanationLink=t.showPricingExplanationLink},i.prototype.fetch=function(t){return(t=null!=t?_u.clone(t):{}).data=null!=t.data?_u.extend(t.data,this.data()):this.data(),i.__super__.fetch.call(this,t)},i.prototype.parse=function(t,e){var r,n;return t.current_page>1&&t.feeds.length>0&&(r=_u.map(this.get("feeds").models,function(t){return t.attributes}),n=t.feeds,t.feeds=r.concat(n),t.new_feeds=n),i.__super__.parse.call(this,t,e)},i.prototype.data=function(){var t;return t={page:this.page},this.query&&(t.query=this.query),t},i.prototype.nextPage=function(){return this.page+=1},i.prototype.resetPage=function(){return this.page=1},i.prototype.moreFeeds=function(){return this.get("current_page")<this.get("total_pages")},i.prototype.relations=[{type:JuicerBackbone.Many,key:"feeds",relatedModel:"Juicer.Models.Feed"},{type:JuicerBackbone.Many,key:"new_feeds",relatedModel:"Juicer.Models.Feed"},{type:JuicerBackbone.Many,key:"users",relatedModel:"Juicer.Models.User"}],i}(JuicerBackbone.AssociatedModel)}.call(this),function(){var t=function(t,i){function r(){this.constructor=t}for(var n in i)e.call(i,n)&&(t[n]=i[n]);return r.prototype=i.prototype,t.prototype=new r,t.__super__=i.prototype,t},e={}.hasOwnProperty;Juicer.Models.EnterpriseUsers=function(e){function i(){return i.__super__.constructor.apply(this,arguments)}return t(i,e),i.prototype.idAttribute="slug",i.prototype.url=function(){return"/api/enterprise/"+this.get("slug")+"/users"},i.prototype.relations=[{type:JuicerBackbone.Many,key:"admins",relatedModel:"Juicer.Models.User"},{type:JuicerBackbone.Many,key:"users",relatedModel:"Juicer.Models.User"}],i}(JuicerBackbone.AssociatedModel)}.call(this),function(){var t=function(t,i){function r(){this.constructor=t}for(var n in i)e.call(i,n)&&(t[n]=i[n]);return r.prototype=i.prototype,t.prototype=new r,t.__super__=i.prototype,t},e={}.hasOwnProperty;Juicer.Models.Estimate=function(e){function i(){return i.__super__.constructor.apply(this,arguments)}return t(i,e),i.prototype.defaults={sources:5,frequency:3},i.prototype.frequencyInWords=function(){return this.frequencyMap[this.get("frequency")]},i.prototype.frequencyMap={1:"1 Day",2:"4 Hours",3:"1 Hour",4:"30 Minutes",5:"10 Minutes",6:"5 Minutes",7:"1 Minute"},i.prototype.frequencyMultiplier={1:4,2:6,3:8,4:14,5:20,6:40,7:200},i.prototype.price=function(){return this.get("sources")*this.frequencyCalculated()},i.prototype.frequencyCalculated=function(){return this.frequencyMultiplier[this.get("frequency")]},i.prototype.priceString=function(){return this.maxSources()?"$"+this.frequencyCalculated():"$"+this.price()},i.prototype.priceLabel=function(){return this.maxSources()?"<strong>per Source</strong> per month<br>(with a minimum fee of US$"+Juicer.Constants.MINIMUM_ENTERPRISE_FEE_IN_DOLLARS+"/mo)":"per month<br>(with a minimum fee of US$"+Juicer.Constants.MINIMUM_ENTERPRISE_FEE_IN_DOLLARS+"/mo)"},i.prototype.sources=function(){return this.maxSources()?"20+":this.get("sources")},i.prototype.maxSources=function(){return this.get("sources")>20},i}(JuicerBackbone.Model)}.call(this),function(){var t=function(t,e){return function(){return t.apply(e,arguments)}},e=function(t,e){function r(){this.constructor=t}for(var n in e)i.call(e,n)&&(t[n]=e[n]);return r.prototype=e.prototype,t.prototype=new r,t.__super__=e.prototype,t},i={}.hasOwnProperty;Juicer.Models.Feed=function(i){function r(){return this.fetchNewPosts=t(this.fetchNewPosts,_____WB$wombat$check$this$function_____(this)),this.poll=t(this.poll,_____WB$wombat$check$this$function_____(this)),this.startPolling=t(this.startPolling,_____WB$wombat$check$this$function_____(this)),r.__super__.constructor.apply(this,arguments)}return e(r,i),r.prototype.idAttribute="slug",r.prototype.urlRoot=function(){return Juicer.Constants.API_ROOT+"/api/feeds"},r.prototype.parse=function(t,e){return null!=this.get("css")&&delete t.css,r.__super__.parse.call(this,t,e)},r.prototype.sync=function(t,e,i){var n;return n=i.url,"read"!==t&&(i.url="/api/feeds/"+this.get("id")),n&&(n.match("fetch_all")||n.match("bulk_moderate")||n.match("keep_feed"))&&(i.url=n),r.__super__.sync.call(this,t,e,i)},r.prototype.defaults={slug:"error"},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.moderation=function(){return!!(this.get("allowed")||this.get("disallowed")||this.get("profanity")||this.get("queue")||this.get("prevent_duplicates"))},r.prototype.widget=function(){return"widget"===this.get("css")},r.prototype.slider=function(){return"slider"===this.get("css")},r.prototype.livingWall=function(){return"living-wall"===this.get("css")},r.prototype.defaultHeight=function(){return this.widget()?400:null},r.prototype.defaultWidth=function(){return this.widget()?400:null},r.prototype.initialize=function(t){return null==t&&(t={}),this.endingAt=t.endingAt,this.filter=t.filter,this.isOnFeedsDashboard=t.isOnFeedsDashboard,this.page=t.page,this.per=t.per,this.search=t.search,this.startingAt=t.startingAt,this.truncate=t.truncate,this.origin=t.origin,this.per=this.per||100,this.page=this.page||1,this.once("sync",this.startPolling)},r.prototype.startPolling=function(){if(this.shouldPoll())return this.poll()},r.prototype.shouldPoll=function(){return this.pollingAllowed()&&this.isGrid()},r.prototype.pollingAllowed=function(){return this.notSmall()&&!!this.get("poll")&&!!this.get("update_frequency")},r.prototype.poll=function(){return this.timeout=setTimeout(this.fetchNewPosts,this.pollInterval())},r.prototype.fetchNewPosts=function(t){var e,i;return null==t&&(t=!0),this.polling=!0,e=this.get("requested_at"),this.fetch({success:(i=_____WB$wombat$check$this$function_____(this),function(){if(i.get("requested_at")!==e&&i.trigger("new-posts"),i.polling=!1,t)return i.poll()})})},r.prototype.pollInterval=function(){var t;return t=60*this.get("update_frequency")*1e3/this.divisor(),t=Math.floor(t),t=Math.max(t,15e3)},r.prototype.divisor=function(){var t;return(t=this.get("sources").length)<2&&(t=2),t>10&&(t=10),t},r.prototype.fetch=function(t){var e;return e=null!=(t=null!=t?_u.clone(t):{}).data?_u.extend(t.data,this.queryParams()):this.queryParams(),t.data=this.queryParamsToArray(e),t.xhrFields||(t.xhrFields={}),t.xhrFields.withCredentials=!1,r.__super__.fetch.call(this,t)},r.prototype.queryParams=function(){var t;return t={},this.per&&(t=_u.extend(t,{per:this.per})),this.endingAt&&(t=_u.extend(t,{ending_at:this.endingAt})),this.filter&&(t=_u.extend(t,{filter:this.filter})),this.origin&&(t=_u.extend(t,{origin:this.origin})),this.isOnFeedsDashboard&&(t=_u.extend(t,{is_on_feeds_dashboard:!0})),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},r.prototype.queryParamsToArray=function(t){return Object.keys(t).reduce(function(e,i){return e.concat({name:i,value:t[i]})},[]).sort(function(t,e){return t.name>e.name})},r.prototype.nextPage=function(){return this.page+=1,_____WB$wombat$check$this$function_____(this)},r.prototype.previousPage=function(){return this.page-=1,_____WB$wombat$check$this$function_____(this)},r.prototype.resetPage=function(){return this.page=1,_____WB$wombat$check$this$function_____(this)},r.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"custom":case"enterprise":t.setMinutes(t.getMinutes()+this.get("update_frequency"));break;default:t.setDate(t.getDate()+1)}return t},r.prototype.paid=function(){return _u.contains(Juicer.Constants.PAID_PLANS,this.get("plan"))},r.prototype.notSmall=function(){return"small"!==this.get("plan")},r.prototype.isTrial=function(){return this.get("trial?")},r.prototype.cssClass=function(){var t;return"widget"===(t=this.get("css")||"image-grid")&&(t="juicer-widget"),this.get("colored_icons")&&"classic"!==this.get("css")&&(t+=" colored-icons"),this.hoverImages()&&(t+=" hover-images"),t},r.prototype.isGrid=function(){return!_u.contains(["classic","dark","slider","widget","living-wall"],this.get("css"))},r.prototype.classic=function(){return"classic"===this.get("css")},r.prototype.hasInterval=function(){return _u.contains(["widget","slider","living-wall"],this.get("css"))},r.prototype.hasColumns=function(){return!_u.contains(["widget","classic"],this.get("css"))},r.prototype.hoverImages=function(){return _u.contains(["image-grid","slider","hip","night"],this.get("css"))},r.prototype.hasHeight=function(){return this.get("height")},r.prototype.termsByType=function(t){var e;return e=this.get("sources").where({source:t}),_u.map(e,function(t){return t.get("term")})},r.prototype.fetchAll=function(){var t;return t={url:this.url()+"/fetch_all",type:"POST"},(this.sync||JuicerBackbone.sync).call(this,null,_____WB$wombat$check$this$function_____(this),t)},r.prototype.keepFeed=function(){var t;return t={url:this.url()+"/keep_feed",type:"POST"},(this.sync||JuicerBackbone.sync).call(this,null,_____WB$wombat$check$this$function_____(this),t)},r.prototype.bulkModerate=function(t,e){var i,r,n;return null==t&&(t=!0),null==e&&(e=null),n="/api/feeds/"+this.get("slug")+"/bulk_moderate",i={},t&&(i.approve=!0),null!=e&&(i.filter=e),r={url:n,type:"POST",data:$.param(i)},(this.sync||JuicerBackbone.sync).call(this,null,_____WB$wombat$check$this$function_____(this),r)},r.prototype.partial=function(){switch(this.get("css")||this.get("style")){case"modern":case"user":return"user";case"slider":case"image-grid":case"hip":return"image";case"classic":
return"classic";case"living-wall":return"wall";case"polaroid":return"polaroid";case"night":return"night";default:return"standard"}},r.prototype.displayFilters=function(){return _u.contains(this.validFilters,this.get("display_filter"))&&!this.hasInterval()&&this.get("sources").length>1},r.prototype.validFilters=["Social Type","Social Account","Grouped Terms"],r.prototype.filterPartial=function(){var t,e;e=void 0;try{e=new URLSearchParams(window.location.search).get("display_filter_type")}catch(i){t=i,console.error(t),e=null}return e||(this.get("display_filter_type")?"new":"old")},r.prototype.filters=function(){var t;return(t=(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)).slice(0)).unshift(this.allSource()),t},r.prototype.allSource=function(){return new Juicer.Models.Source({source:"All"})},r.prototype.accountTypes=function(){var t,e;return t=[],e=[],_u.each(this.get("sources").models,function(i){if(!_u.contains(e,i.source()))return t.push(i),e.push(i.source())}),t},r.prototype.uniqSources=function(){var t,e;return t=[],e=[],_u.map(this.get("sources").models,function(i){if(!_u.contains(e,i.displayName()))return t.push(i),e.push(i.displayName())}),t},r.prototype.moderationStatus=function(){return this.moderation()?"ON":"OFF"},r.prototype.colors=["text","link","data","hover","post_background","feed_background"],r.prototype.customColors=function(){return _u.some(this.getColors())},r.prototype.getColor=function(t){return this.getCustomColor(t)||this.getDefaultColor(t)},r.prototype.getCustomColor=function(t){return this.getColors()[t+"_color"]},r.prototype.getColors=function(){return this.get("colors")},r.prototype.getDefaultColor=function(t){var e;return"hover"===t?"#F17E6F":(e=this.customColorMap[t],(t=jQuery(e.selector).css(e.attribute))?Juicer.Helpers.rgb2hex(t):"#fff")},r.prototype.customColorMap={text:{label:"Text",selector:".juicer-feed .feed-item .j-message, .juicer-feed .feed-item .j-message p",attribute:"color"},link:{label:"Link",selector:".juicer-feed .is-not-youTube a, .is-not-youTube .j-poster h3",attribute:"color"},data:{label:"Metadata",description:"The color of metadata such as the post creation date, the number of likes, or the number of comments.",selector:".juicer-feed .is-not-youTube .j-meta a, .juicer-feed .is-not-youTube .j-meta a *, .is-not-youTube .j-poster .j-date",attribute:"color"},hover:{label:"Hover",selector:".juicer-feed .is-not-youTube a:hover",attribute:"color"},post_background:{label:"Post Background",selector:".juicer-feed li.feed-item",attribute:"background-color"},feed_background:{label:"Feed Background",selector:".juicer-feed",attribute:"background-color"}},r.prototype.customStyles=function(){var t,e;return t="",_u.each(this.colors,(e=_____WB$wombat$check$this$function_____(this),function(i){var r,n;if(n=e.customColorMap[i],r=e.getCustomColor(i))return t+=n.selector+" { "+n.attribute+": "+r+" !important; }"})),this.get("custom_css")&&(t+=this.get("custom_css")),t},r.prototype.updateColor=function(t,e){var i,r;return(i=this.getColors())[r=t+"_color"]=e,this.set("colors",i),this.set(r,e),this.trigger("update:colors")},r.prototype.resetColors=function(){return _u.each(this.colors,(t=_____WB$wombat$check$this$function_____(this),function(e){return t.set(e+"_color",null)}));var t},r.prototype.shouldShowGallery=function(){var t;return t=this.get("css")||this.get("style"),_u.contains(["modern","polaroid","image-grid","hip","night"],t)},r.prototype.relations=[{type:JuicerBackbone.Many,key:"posts",collectionType:"Juicer.Collections.Posts"},{type:JuicerBackbone.Many,key:"sources",relatedModel:"Juicer.Models.Source"},{type:JuicerBackbone.Many,key:"assignments",relatedModel:"Juicer.Models.Assignment"},{type:JuicerBackbone.Many,key:"social_accounts",collectionType:"Juicer.Collections.SocialAccounts"}],r}(JuicerBackbone.AssociatedModel)}.call(this),function(){var t=function(t,i){function r(){this.constructor=t}for(var n in i)e.call(i,n)&&(t[n]=i[n]);return r.prototype=i.prototype,t.prototype=new r,t.__super__=i.prototype,t},e={}.hasOwnProperty;Juicer.Models.JuicerAd=function(e){function i(){return i.__super__.constructor.apply(this,arguments)}return t(i,e),i.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:Juicer.Constants.BASE_URL+"/logo-without-text.svg",poster_url:"https://www.juicer.io",external_created_at:new Date}},i.prototype.ad=!0,i.prototype.twitter=function(){return!1},i.prototype.hashtag=function(){return!1},i.prototype.isntagram=function(){return!1},i.prototype.gallery=function(){return!1},i.prototype.poster=function(){return!0},i.prototype.stickied=function(){return!1},i.prototype.sourceType=function(){return"Juicer"},i.prototype.postType=function(){return"image-post"},i.prototype.isVideo=function(){return!1},i.prototype.edited=function(){return!1},i.prototype.editClass=function(){return""},i.prototype.userId=function(){return 1},i.prototype.lowerType=function(){return"juicer"},i.prototype.term=function(){return"juicer"},i.prototype.link=function(){return"https://www.juicer.io"},i.prototype.blogPost=function(){return!1},i.prototype.commentClass=function(){return""},i.prototype.likeClass=function(){return""},i.prototype.classes=function(){return"feed-item juicer image-post juicer-about"},i.prototype.alt=function(){return"Embed Social Media Feeds on your website with Juicer!"},i.prototype.message=function(){return this.get("message")},i.prototype.posterImage=function(){return this.get("poster_image")},i.prototype.messages=function(){return["Like this feed? Want one of your own? Visit <a href='https://www.juicer.io'>Juicer.io</a> to get your own free social media feed!","<a href='https://www.juicer.io'>Juicer.io</a> 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='https://www.juicer.io'>Juicer.io</a> feed on your website or blog for free.","This feed is Powered by <a href='https://www.juicer.io'>Juicer.io</a>"]},i.prototype.randomImage=function(){var t;return(t=_u.random(1,12))<10&&(t="0"+t),"https://static.juicer.io/about/juicer-about-"+t+".svg"},i.prototype.noMeta=function(){return!0},i}(JuicerBackbone.Model)}.call(this),function(){var t=function(t,i){function r(){this.constructor=t}for(var n in i)e.call(i,n)&&(t[n]=i[n]);return r.prototype=i.prototype,t.prototype=new r,t.__super__=i.prototype,t},e={}.hasOwnProperty;Juicer.Models.Moderated=function(e){function i(){return i.__super__.constructor.apply(this,arguments)}return t(i,e),i.prototype.url=function(){return"/api/feeds/"+this.slug+"/moderated"},i.prototype.initialize=function(t){return this.revalidating=!0,this.slug=t.slug,this.starting_at=t.starting_at,this.once("sync",this.startPolling)},i.prototype.moderated=!0,i}(Juicer.Models.Feed)}.call(this),function(){var t=function(t,i){function r(){this.constructor=t}for(var n in i)e.call(i,n)&&(t[n]=i[n]);return r.prototype=i.prototype,t.prototype=new r,t.__super__=i.prototype,t},e={}.hasOwnProperty;Juicer.Models.PageView=function(e){function i(){return i.__super__.constructor.apply(this,arguments)}return t(i,e),i.prototype.urlRoot=function(){return Juicer.Constants.API_ROOT+"/api/page_views"},i.prototype.save=function(t,e){return(e=null!=e?_u.clone(e):{}).xhrFields||(e.xhrFields={}),e.xhrFields.withCredentials=!1,i.__super__.save.call(this,t,e)},i}(JuicerBackbone.Model)}.call(this),function(){var t=function(t,i){function r(){this.constructor=t}for(var n in i)e.call(i,n)&&(t[n]=i[n]);return r.prototype=i.prototype,t.prototype=new r,t.__super__=i.prototype,t},e={}.hasOwnProperty;Juicer.Models.Plan=function(e){function i(){return i.__super__.constructor.apply(this,arguments)}return t(i,e),i.prototype.urlRoot="/api/plan",i.prototype.downgradeDate=function(){var t;if(this.get("next_billing_date"))return t=new Date(this.get("next_billing_date")),strftime("%B %-d, %Y",t)},i.prototype.planCapital=function(){return this.capitalize(this.get("plan"))},i.prototype.newPlanCapital=function(){return this.capitalize(this.get("new_plan"))},i.prototype.capitalize=function(t){return _u.titleize(t)},i}(JuicerBackbone.Model)}.call(this),function(){var t=function(t,i){function r(){this.constructor=t}for(var n in i)e.call(i,n)&&(t[n]=i[n]);return r.prototype=i.prototype,t.prototype=new r,t.__super__=i.prototype,t},e={}.hasOwnProperty;Juicer.Models.Post=function(e){function i(){return i.__super__.constructor.apply(this,arguments)}return t(i,e),i.prototype.urlRoot="/api/posts",i.prototype.restore=function(){return this.callSubUrl("/restore")},i.prototype.reject=function(){return this.callSubUrl("/reject")},i.prototype.stick=function(){return this.callSubUrl("/stick")},i.prototype.unstick=function(){return this.callSubUrl("/unstick")},i.prototype.hardDeletePost=function(t){var e;return e={url:this.url()+"?hard_delete=true",type:"DELETE"},_u.extend(e,t),(this.sync||JuicerBackbone.sync).call(this,null,_____WB$wombat$check$this$function_____(this),e)},i.prototype.callSubUrl=function(t,e){var i;return null==e&&(e={}),i={url:t=this.url()+t,type:"POST"},_u.extend(i,e),(this.sync||JuicerBackbone.sync).call(this,null,_____WB$wombat$check$this$function_____(this),i)},i.prototype.stickied=function(){return!!this.get("position")},i.prototype.edited=function(){return!!this.get("edit")},i.prototype.editClass=function(){return this.edited()?"j-edited":""},i.prototype.stickyClass=function(){return this.stickied()?"j-sticky":""},i.prototype.classes=function(){return"feed-item j-"+this.lowerType()+" j-"+this.lowerType()+"-bg "+this.postType()+" "+this.term()+" "+this.editClass()+" "+this.stickyClass()+" "+("YouTube"!==this.sourceType()?"is-not-youTube":"")},i.prototype.sourceType=function(){return this.get("source").source()},i.prototype.blogPost=function(){return"Blog"===this.sourceType()},i.prototype.linkedin=function(){return"LinkedIn"===this.sourceType()},i.prototype.tiktok=function(){return"TikTok"===this.sourceType()},i.prototype.twitter=function(){return"Twitter"===this.sourceType()},i.prototype.instagram=function(){return"Instagram"===this.sourceType()},i.prototype.tumblrTitle=function(){return"Tumblr"===this.sourceType()&&!!this.get("source").get("options")&&!!this.get("source").get("options").match("title")},i.prototype.gallery=function(){return!!this.get("additional_photos")&&this.get("additional_photos").length>0},i.prototype.postType=function(){return this.isVideo()?"j-video":this.gallery()?"j-gallery":this.get("image")?"image-post":"words"},i.prototype.isVideo=function(){return _u.contains(["youtube","vine","vimeo","soundcloud"],this.lowerType())||!!this.get("video")},i.prototype.termType=function(){return this.get("source").termType()},i.prototype.hashtag=function(){return"hashtag"===this.termType()},i.prototype.term=function(){return this.get("source").get("term")},i.prototype.userId=function(){return this.term()},i.prototype.lowerType=function(){return this.get("source").lowerSource()},i.prototype.likes=function(){return this.pluralize(this.get("like_count"),"like")},i.prototype.comments=function(){return this.pluralize(this.get("comment_count"),"comment")},i.prototype.poster=function(){return this.get("poster_name")||this.get("poster_image")},i.prototype.posterImage=function(){return"facebook"===this.lowerType()?this.facebookPosterImage():this.get("poster_image")},i.prototype.facebookPosterImage=function(){var t,e,i;return this.get("source").fetchedFacebookPosterUrls[this.get("poster_id")]?this.get("source").fetchedFacebookPosterUrls[this.get("poster_id")]:(this.get("source").fetchedFacebookPosterUrls[this.get("poster_id")]=Juicer.Constants.BASE_URL+"/silhouette-avatar.jpg",e=(t=this.get("poster_image"))+(t.match("\\?")?"&":"?")+"redirect=false",jQuery.getJSON(e,(i=_____WB$wombat$check$this$function_____(this),function(t){var e;return e=t.data.url,i.get("source").fetchedFacebookPosterUrls[i.get("poster_id")]=e,jQuery("[data-poster-id='"+i.get("poster_id")+"']").attr("src",e)})),this.get("source").fetchedFacebookPosterUrls[this.get("poster_id")])},i.prototype.pluralize=function(t,e){return 1===t?t+" "+e:t+" "+_u.pluralize(e)},i.prototype.link=function(){switch(this.lowerType()){case"facebook":return"reviews"===this.termType()?"https://www.facebook.com/"+this.term()+"/reviews":"group"===this.termType()||"username"===this.termType()?"https://www.facebook.com/"+this.term()+"/posts/"+this.get("external_id"):"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"https://"+this.get("poster_name")+".tumblr.com/post/"+this.get("external_id");case"pinterest":return"https://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"https://open.spotify.com/track/"+this.get("external_id");case"blog":return this.blogLink();case"giphy":return this.get("external");case"tiktok":return"https://tiktok.com/"+this.get("poster_display_name")+"/video/"+this.get("external_id");default:return this.get("external_id")}},i.prototype.blogLink=function(){return this.get("external")||this.get("external_id")},i.prototype.parseBlogUrl=function(){var t;if((t=this.term().match(/^https?\:\/\/([^\/?#]+)(?:[\/?#]|$)/i))&&t[1])return t[1]},i.prototype.termLink=function(){switch(this.lowerType()){case"twitter":return"https://twitter.com/hashtag/"+this.term();case"instagram":return this.link();case"tumblr":return"https://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();default:return this.get("external_id")}},i.prototype.commentClass=function(){switch(this.lowerType()){case"twitter":return"retweets";case"pinterest":return"repins";default:return"comments"}},i.prototype.likeClass=function(){switch(this.lowerType()){case"twitter":case"instagram":case"tumblr":return"heart";case"youtube":return"views";default:return"likes"}},i.prototype.likeVerb=function(){switch(this.lowerType()){case"twitter":return"favorites";default:return"likes"}},i.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()},i.prototype.postedDate=function(){return Juicer.Helpers.fullDate(this.get("external_created_at"))},i.prototype.noMeta=function(){return _u.contains(["Blog"],this.sourceType())},i.prototype.facebookShare=function(){var t;return t="https://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},i.prototype.twitterShare=function(){var t;return t="https://twitter.com/intent/tweet?text="+this.twitterStatus(),this.shouldIncludeLink()&&(t+="&url="+this.currentUrl()),t},i.prototype.pinterestShare=function(){return"https://pinterest.com/pin/create/button/?url="+this.currentUrl()+"&media="+this.encodedImage()+"&description="+this.status()},i.prototype.linkedInShare=function(){return"https://www.linkedin.com/shareArticle?url="+this.currentUrl()+"&title="+this.status()},i.prototype.emailShare=function(){var t,e;return e="Check out my "+this.sourceType()+" post!",t=this.status().length>3?[this.status(),this.currentUrl()].join(" - "):this.currentUrl(),"mailto:"+(jQuery(window).width()>1024?"":"test@example.com")+"?subject="+e+"&body="+t},i.prototype.shouldHaveFacebookImage=function(){return"facebook"!==this.lowerType()&&!!this.get("image")},i.prototype.encodedImage=function(){return encodeURIComponent(this.get("image"))},i.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")},i.prototype.fullMessage=function(){return this.blogPost()||this.tumblrTitle()?"<strong class='j-title'>"+this.get("message")+"</strong> "+this.get("description"):this.get("message")},i.prototype.stripped=function(){return null!=this.get("unformatted_message")?this.get("unformatted_message").replace(/<(?:.|\n)*?>/gm," ").replace(this.emojiRegex,""):""},i.prototype.emojiRegex=/([\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2694-\u2697]|\uD83E[\uDD10-\uDD5D])/g,i.prototype.status=function(){return encodeURIComponent(this.stripped())},i.prototype.twitterStatus=function(){var t;return this.stripped().length<=140?this.status():(t=this.stripped().substr(0,137)).substr(t.length-1).codePointAt(0)>255?encodeURIComponent(t.slice(0,-1)+"..."):encodeURIComponent(t+"...")},i.prototype.shouldIncludeLink=function(){return(this.twitterStatus()+this.currentUrl).length<=140},i.prototype.currentUrl=function(){return window.location.href},i.prototype.replyIntent=function(){return"https://twitter.com/intent/tweet?in_reply_to="+this.get("external_id")},i.prototype.retweetIntent=function(){return"https://twitter.com/intent/retweet?tweet_id="+this.get("external_id")},i.prototype.likeIntent=function(){return"https://twitter.com/intent/like?tweet_id="+this.get("external_id")},i.prototype.relations=[{type:JuicerBackbone.One,key:"source",relatedModel:"Juicer.Models.Source"}],i}(JuicerBackbone.AssociatedModel)}.call(this),function(){var t,e=function(t,e){function r(){this.constructor=t}for(var n in e)i.call(e,n)&&(t[n]=e[n]);return r.prototype=e.prototype,t.prototype=new r,t.__super__=e.prototype,t},i={}.hasOwnProperty;t=["Facebook","Instagram","Pinterest","Tumblr","Twitter","YouTube","InstagramReels"],Juicer.Models.Source=function(i){function r(){return r.__super__.constructor.apply(this,arguments)}return e(r,i),r.prototype.urlRoot="/api/sources",r.prototype.toJSON=function(){return{source:_u.clone(this.attributes)}},r.prototype.source=function(){return"TwitterAPIv2"===this.get("source")?"Twitter":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.findProvider=function(){return"Instagram"!==this.source()&&"InstagramReels"!==this.source()||"hashtag"!==this.termType()?Juicer.Constants.SOURCE_TO_PROVIDER_MAP[this.source()]||this.source().toLowerCase():"facebook"},r.prototype.fetchedFacebookPosterUrls={},r.prototype.title=function(){switch(this.source()){case"Blog":return"Add an RSS feed";case"Facebook":return"Add a Facebook business page";case"Flickr":return"Add a Flickr user's photos";case"Giphy":return"Add a Giphy search term";case"Hashtag":return"Choose a type of hashtag";case"Instagram":return"Import Instagram user posts";case"LinkedIn":return"Add a LinkedIn company or school";case"Pinterest":return"Add a Pinterest user's pins";case"Slack":return"Add a Slack channel";case"Soundcloud":return"Add a Soundcloud account";case"Tumblr":return"Add a Tumblr blog";case"Twitter":return"Add a Twitter account";case"Vimeo":return"Add a Vimeo user's videos";case"Yelp":return"Add a Yelp Business's Reviews";case"YouTube":return"Add a YouTube channel";case"TikTok":return"Add a TikTok user's videos"}},r.prototype.label=function(){switch(this.source()){case"Blog":return"RSS Feed URL: ";case"Facebook":return"https://www.facebook.com/";case"Flickr":return"https://www.flickr.com/photos/";case"Giphy":return"#";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"Twitter":return"@";case"Vimeo":return"http://vimeo.com/";case"Yelp":return"http://www.yelp.com/biz/";case"YouTube":return"https://www.youtube.com/user/";case"TikTok":return"https://www.tiktok.com/@"}},r.prototype.options=function(){var t,e,i,r,n,s,o;if(o=[],"Twitter"===this.source()){for(r=[],e=[],i=0,n=(t="hashtag"===this.get("term_type")?["retweets"]:["retweets","replies"]).length;i<n;i++)s=t[i],this.get("options")&&-1!==this.get("options").indexOf(s)?r.push(s):e.push(s);r.length>0&&o.push("including: "+r.join(", ")),e.length>0&&o.push("excluding: "+e.join(", "))}else"Instagram"===this.source()&&"reel"===this.get("post_type")&&o.push("reels");return o},r.prototype.placeholder=function(){switch(this.source()){case"Blog":return"RSS_or_Atom_or_FeedBurner_URL";case"Facebook":return"Facebook_page_vanity_URL";case"Flickr":return"Flickr_username";case"Giphy":return"search_term";case"Instagram":return"Instagram_username";case"LinkedIn":return"company_OR_school_name";case"Pinterest":return"Pinterest_username";case"Slack":return"Slack_channel_name";case"Soundcloud":return"Soundcloud_username";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.placeholderHashtag=function(){switch(this.source()){case"Twitter":return"Twitter_hashtag";case"Pinterest":return"pinterest-username/board-name";case"YouTube":return"YouTube_hashtag";case"Tumblr":return"Tumblr_hashtag"}},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.displayNameWithOptions=function(){var t;return t=this.displayName(),"Instagram"===this.source()&&"reel"===this.get("post_type")?t+" (reels)":t},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.SOURCES_WHERE_POSTS_CAN_BE_ADDED_MANUALLY,this.source())},r.prototype.hashtagSupporters=t,r.prototype.requiresLogin=["Facebook","Instagram","InstagramReels","Slack","Twitter","TikTok"],r.prototype.alternateNames=["location","group"],r.prototype.filterClass=function(t,e,i){var r,n,s;return null==e&&(e=null),null==i&&(i=!1),n=s="j-"+this.lowerSource().replace(/@|#/,""),i||(n+=" "+s+"-bg"),i&&(n+=" "+s+"-text "+s+"-hover j-social-icon"),this.all()&&(n="all j-social-icon"),r=n,"Grouped Terms"===t&&(r+=" grouped"),e&&(r+=" highlight"),r},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.displayNameWithOptions();case"Grouped Terms":return this.displayName()}},r.prototype.youtubeChannelNameExample=function(){return{name:"mkbhd (Marques Brownlee)",link:"https://www.youtube.com/mkbhd",formattedLink:"https://www.youtube.com/<span class='example-link-highlight'>mkbhd</span>"}},r.prototype.usernameExample=function(){return this.usernameExamples[this.lowerSource()]},r.prototype.usernameHelpLink=function(){return this.usernameHelpLinks[this.lowerSource()]},r.prototype.usernameExamples={facebook:{name:"REI",link:"https://www.facebook.com/rei",formattedLink:"https://www.facebook.com/<span class='example-link-highlight'>rei</span>"},twitter:{name:"Adult Swim",link:"https://twitter.com/adultswim",formattedLink:"https://twitter.com/<span class='example-link-highlight'>adultswim</span>"},instagram:{name:"Humans of New York",link:"https://www.instagram.com/humansofny",formattedLink:"https://www.instagram.com/<span class='example-link-highlight'>humansofny</span>"},youtube:{name:"CGP Grey",link:"https://www.youtube.com/user/CGPGrey",formattedLink:"https://www.youtube.com/user/<span class='example-link-highlight'>CGPGrey</span>"},tumblr:{name:"A Well Traveled Woman",link:"http://awelltraveledwoman.tumblr.com",formattedLink:"http://<span class='example-link-highlight'>awelltraveledwoman</span>.tumblr.com"},pinterest:{name:"Joy Cho / Oh Joy!",link:"https://www.pinterest.com/ohjoy",formattedLink:"https://www.pinterest.com/<span class='example-link-highlight'>ohjoy</span>"},blog:{name:"Wired",link:"https://www.wired.com/feed/rss",formattedLink:"<span class='example-link-highlight'>https://www.wired.com/feed/rss</span>"},soundcloud:{name:"Pitchform",link:"https://soundcloud.com/pitchfork",formattedLink:"https://soundcloud.com/<span class='example-link-highlight'>pitchfork</span>"},linkedin:{name:"Juicer",link:"https://www.linkedin.com/company/juicer",formattedLink:"https://www.linkedin.com/company/<span class='example-link-highlight'>juicer</span>"},flickr:{name:"Stephan G\xfcrtler",link:"https://www.flickr.com/photos/stephanna-g",formattedLink:"https://www.flickr.com/photos/<span class='example-link-highlight'>stephanna-g</span>"},vimeo:{name:"Hiro Murai",link:"https://vimeo.com/hiromurai",formattedLink:"https://vimeo.com/<span class='example-link-highlight'>hiromurai</span>"},yelp:{name:"Microsoft",link:"https://www.yelp.com/biz/microsoft-mountain-view",formattedLink:"https://www.yelp.com/biz/<span class='example-link-highlight'>microsoft-mountain-view</span>"},tiktok:{name:"@pepsi",link:"https://www.tiktok.com/@pepsi",formattedLink:"https://www.tiktok.com/@<span class='example-link-highlight'>pepsi</span>"}},r.prototype.manualPostExamples={Facebook:"https://www.facebook.com/your-page/posts/4424595830956366",LinkedIn:"https://www.linkedin.com/posts/your-post-6805790914514816-iOSl",Twitter:"https://twitter.com/your-profile/status/14320590123109220999058",YouTube:"https://www.youtube.com/watch?v=Fasd9wbHWU_v8",Vimeo:"https://vimeo.com/4488123012127",Soundcloud:"https://soundcloud.com/profile-862007284/song",Tumblr:"https://you.tumblr.com/post/239123054282105"},r.prototype.usernameHelpLinks={linkedin:{link:"https://help.juicer.io/hc/en-us/articles/360040406391-LinkedIn-sources-Adding-and-troubleshooting",text:"LinkedIn - notes and troubleshooting"}},r}(JuicerBackbone.AssociatedModel)}.call(this),function(){var t=function(t,i){function r(){this.constructor=t}for(var n in i)e.call(i,n)&&(t[n]=i[n]);return r.prototype=i.prototype,t.prototype=new r,t.__super__=i.prototype,t},e={}.hasOwnProperty;Juicer.Models.User=function(e){function i(){return i.__super__.constructor.apply(this,arguments)}return t(i,e),i.prototype.relations=[{type:JuicerBackbone.Many,key:"feeds",relatedModel:"Juicer.Models.Feed"}],i}(JuicerBackbone.AssociatedModel)}.call(this),function(){var t=function(t,i){function r(){this.constructor=t}for(var n in i)e.call(i,n)&&(t[n]=i[n]);return r.prototype=i.prototype,t.prototype=new r,t.__super__=i.prototype,t},e={}.hasOwnProperty;Juicer.Models.FeedValidation=function(e){function i(){return i.__super__.constructor.apply(this,arguments)}return t(i,e),i.prototype.validation={name:{required:!0}},i}(JuicerBackbone.Model)}.call(this),function(){var t=function(t,i){function r(){this.constructor=t}for(var n in i)e.call(i,n)&&(t[n]=i[n]);return r.prototype=i.prototype,t.prototype=new r,t.__super__=i.prototype,t},e={}.hasOwnProperty;Juicer.Models.UserSignupValidation=function(e){function i(){return i.__super__.constructor.apply(this,arguments)}return t(i,e),i.prototype.validation={email:{required:!0,pattern:"email"},password:{required:!0,minLength:8,validatePassword:!0}},i}(JuicerBackbone.Model)}.call(this),function(){var t=function(t,i){function r(){this.constructor=t}for(var n in i)e.call(i,n)&&(t[n]=i[n]);return r.prototype=i.prototype,t.prototype=new r,t.__super__=i.prototype,t},e={}.hasOwnProperty;Juicer.Models.UserUpdateValidation=function(e){function i(){return i.__super__.constructor.apply(this,arguments)}return t(i,e),i.prototype.initialize=function(t){return this.email=t.email,this.noPassword=t.noPassword},i.prototype.validation={email:{required:function(){if(this.noPassword)return!1}},current_password:{required:function(){return!this.noPassword&&this.email!==this.get("email")},minLength:8},password:{minLength:8,required:function(){if(this.noPassword)return!1},validatePassword:i.noPassword},current_password_two:{minLength:8,required:function(){return!!this.get("password")}}},i}(JuicerBackbone.Model)}.call(this),function(){var t=function(t,i){function r(){this.constructor=t}for(var n in i)e.call(i,n)&&(t[n]=i[n]);return r.prototype=i.prototype,t.prototype=new r,t.__super__=i.prototype,t},e={}.hasOwnProperty;Juicer.Models.UserValidation=function(e){function i(){return i.__super__.constructor.apply(this,arguments)}return t(i,e),i.prototype.validation={email:{required:!0,pattern:"email"},password:{required:!0,minLength:8}},i}(JuicerBackbone.Model)}.call(this),function(){var t=function(t,i){function r(){this.constructor=t}for(var n in i)e.call(i,n)&&(t[n]=i[n]);return r.prototype=i.prototype,t.prototype=new r,t.__super__=i.prototype,t},e={}.hasOwnProperty;Juicer.Collections.FacebookResults=function(e){function i(){return i.__super__.constructor.apply(this,arguments)}return t(i,e),i.prototype.initialize=function(t){return this.type={groups:"groups",username:"pages",reviews:"reviews"}[t.type]},i.prototype.url=function(){return"/api/facebook_results/"+this.type},i}(JuicerBackbone.Collection)}.call(this),function(){var t=function(t,i){function r(){this.constructor=t}for(var n in i)e.call(i,n)&&(t[n]=i[n]);return r.prototype=i.prototype,t.prototype=new r,t.__super__=i.prototype,t},e={}.hasOwnProperty;Juicer.Collections.InstagramBusinessAccounts=function(e){function i(){return i.__super__.constructor.apply(this,arguments)}return t(i,e),i.prototype.url=function(){return"/api/instagram_business_accounts/"},i}(JuicerBackbone.Collection)}.call(this),function(){var t=function(t,i){function r(){this.constructor=t}for(var n in i)e.call(i,n)&&(t[n]=i[n]);return r.prototype=i.prototype,t.prototype=new r,t.__super__=i.prototype,t},e={}.hasOwnProperty;Juicer.Collections.Posts=function(e){function i(){return i.__super__.constructor.apply(this,arguments)}return t(i,e),i.prototype.paginatingAttributes=["current_page","limit_value"],i.prototype.model=Juicer.Models.Post,i.prototype.parse=function(t){var e;return _u.each(this.paginatingAttributes,(e=_____WB$wombat$check$this$function_____(this),function(i){return e[i]=t[i]})),i.__super__.parse.call(this,t.items)},i}(JuicerBackbone.Collection)}.call(this),function(){var t=function(t,i){function r(){this.constructor=t}for(var n in i)e.call(i,n)&&(t[n]=i[n]);return r.prototype=i.prototype,t.prototype=new r,t.__super__=i.prototype,t},e={}.hasOwnProperty;Juicer.Collections.SocialAccounts=function(e){function i(){return i.__super__.constructor.apply(this,arguments)}return t(i,e),i.prototype.url="/api/social_accounts",i.prototype.socialAccountForSource=function(t){var e;return e=t.findProvider(),"Instagram"!==t.source()&&"InstagramReels"!==t.source()||"hashtag"!==t.termType()?this.findWhere({provider:e}):this.filter(function(t){return t.attributes.provider===e&&(void 0===t.attributes.instagramBusinessAccounts||0!==t.attributes.instagramBusinessAccounts.length)})[0]},i.prototype.socialAccount=function(t){return this.findWhere({provider:t})},i.prototype.findAllWithProvider=function(t){var e;return"instagramreels"===t&&(t="instagram_basic_display"),e=function(e){return e.attributes.provider===t&&e.attributes.name},this.filter(e).sort(function(t,e){return t.attributes.name>e.attributes.name})},i}(JuicerBackbone.Collection)}.call(this),function(){var t=function(t,i){function r(){this.constructor=t}for(var n in i)e.call(i,n)&&(t[n]=i[n]);return r.prototype=i.prototype,t.prototype=new r,t.__super__=i.prototype,t},e={}.hasOwnProperty;Juicer.Collections.Users=function(e){function i(){return i.__super__.constructor.apply(this,arguments)}return t(i,e),i.prototype.model=Juicer.Models.User,i.prototype.url="/api/users",i}(JuicerBackbone.Collection)}.call(this),function(){var t=function(t,i){function r(){this.constructor=t}for(var n in i)e.call(i,n)&&(t[n]=i[n])
;return r.prototype=i.prototype,t.prototype=new r,t.__super__=i.prototype,t},e={}.hasOwnProperty;Juicer.Views.AdminDowngrade=function(e){function i(){return i.__super__.constructor.apply(this,arguments)}return t(i,e),i.prototype.template=JST.admin_downgrade,i.prototype.initialize=function(t){return this.userId=t.userId,this.csrf=$('meta[name="csrf-token"]').attr("content")},i.prototype.events={click:"openOverlay"},i.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()},i.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"],i}(JuicerBackbone.View)}.call(this),function(){var t=function(t,i){function r(){this.constructor=t}for(var n in i)e.call(i,n)&&(t[n]=i[n]);return r.prototype=i.prototype,t.prototype=new r,t.__super__=i.prototype,t},e={}.hasOwnProperty;Juicer.Views.AdminPasswordReset=function(e){function i(){return i.__super__.constructor.apply(this,arguments)}return t(i,e),i.prototype.template=JST.admin_password_reset,i.prototype.initialize=function(t){return this.userId=t.userId,this.csrf=$('meta[name="csrf-token"]').attr("content")},i.prototype.events={click:"openOverlay"},i.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,csrf:this.csrf,action:e}),element:"body",width:"50%"}),this.overlay.render()},i}(JuicerBackbone.View)}.call(this),function(){var t=function(t,i){function r(){this.constructor=t}for(var n in i)e.call(i,n)&&(t[n]=i[n]);return r.prototype=i.prototype,t.prototype=new r,t.__super__=i.prototype,t},e={}.hasOwnProperty;Juicer.Views.AdminUsers=function(e){function i(){return i.__super__.constructor.apply(this,arguments)}return t(i,e),i.prototype.events={"click .toggle-favorite":"toggleFavorite"},i.prototype.toggleFavorite=function(t){var e,i;return t.preventDefault(),i=(e=$(t.target)).data("id"),jQuery.get("/admin/users/"+i+"/favorite"),"\u2605"===e.html()?e.html("\u2606"):e.html("\u2605")},i}(JuicerBackbone.View)}.call(this),function(){var t=function(t,i){function r(){this.constructor=t}for(var n in i)e.call(i,n)&&(t[n]=i[n]);return r.prototype=i.prototype,t.prototype=new r,t.__super__=i.prototype,t},e={}.hasOwnProperty;Juicer.Views.AnalyticsDateRange=function(e){function i(){return i.__super__.constructor.apply(this,arguments)}return t(i,e),i.prototype.template=JST.analytics_date_range,i.prototype.events={"click .date-range":"openDateRangeOverlay"},i.prototype.openDateRangeOverlay=function(t){var e,i;return console.log("open"),i=$(t.target),e=this.template({start:i.data("start"),end:i.data("end")}),this.overlay=new Juicer.Views.Overlay({content:e,element:this.el,width:"50%"}),this.overlay.render()},i}(JuicerBackbone.View)}.call(this),function(){var t=function(t,i){function r(){this.constructor=t}for(var n in i)e.call(i,n)&&(t[n]=i[n]);return r.prototype=i.prototype,t.prototype=new r,t.__super__=i.prototype,t},e={}.hasOwnProperty;Juicer.Views.BrokenImage=function(e){function i(){return i.__super__.constructor.apply(this,arguments)}return t(i,e),i.prototype.initialize=function(t){return null==t&&(t={}),this.feed=t.feed,this.model=this.feed,this.handleBrokenImages()},i.prototype.handleBrokenImages=function(){var t;return this.$("img.j-content-image").on("error",(t=_____WB$wombat$check$this$function_____(this),function(e){var i;return i=jQuery(e.target),t.handleBrokenImage(i)})),this.$("img.j-content-image").on("load",function(t){return function(e){var i;if(i=jQuery(e.target),e.target.naturalWidth<20)return t.handleBrokenImage(i)}}(_____WB$wombat$check$this$function_____(this))),this.$(".j-poster img").on("error",function(t){return function(e){var i;return i=jQuery(e.target),t.handleBrokenPosterImage(i)}}(_____WB$wombat$check$this$function_____(this)))},i.prototype.handleBrokenImage=function(t){return new Juicer.Views.ImageHandler({target:t,feed:this.feed,theme:this.feed.get("css")})},i.prototype.handleBrokenPosterImage=function(t){return new Juicer.Views.PosterImageHandler({target:t,feed:this.feed,theme:this.feed.get("css")})},i}(JuicerBackbone.View)}.call(this),function(){var t=function(t,i){function r(){this.constructor=t}for(var n in i)e.call(i,n)&&(t[n]=i[n]);return r.prototype=i.prototype,t.prototype=new r,t.__super__=i.prototype,t},e={}.hasOwnProperty;Juicer.Views.Churn=function(e){function i(){return i.__super__.constructor.apply(this,arguments)}return t(i,e),i.prototype.template=JST.churn,i.prototype.initialize=function(){return null!=this.el&&(this.overlay=new Juicer.Views.Overlay({content:this.template(),element:this.el,width:"50%"}),this.overlay.render())},i.prototype.events={"click .delete":"closeOverlay"},i.prototype.closeOverlay=function(){return this.overlay.removeView()},i}(JuicerBackbone.View)}.call(this),function(){var t=function(t,i){function r(){this.constructor=t}for(var n in i)e.call(i,n)&&(t[n]=i[n]);return r.prototype=i.prototype,t.prototype=new r,t.__super__=i.prototype,t},e={}.hasOwnProperty;Juicer.Views.BlogShow=function(e){function i(){return i.__super__.constructor.apply(this,arguments)}return t(i,e),i.prototype.el=window,i.prototype.initialize=function(){return this.loaded=!1,this.triggerPoint=$("#disqus_thread").offset().top},i.prototype.events=function(){return{scroll:"lazyLoadDisqus"}},i.prototype.lazyLoadDisqus=_u.debounce(function(){return this.checkScroll()},300),i.prototype.checkScroll=function(){if(this.scrollPoint()>this.triggerPoint&&!this.loaded)return this.loadDisqus()},i.prototype.loadDisqus=function(){var t;return this.loaded=!0,(t=document.createElement("script")).type="text/javascript",t.async=!0,t.src="//juicerio.disqus.com/embed.js",(document.getElementsByTagName("head")[0]||document.getElementsByTagName("body")[0]).appendChild(t)},i.prototype.scrollPoint=function(){return this.$el.scrollTop()+this.$el.height()},i}(JuicerBackbone.View)}.call(this),function(){var t=function(t,i){function r(){this.constructor=t}for(var n in i)e.call(i,n)&&(t[n]=i[n]);return r.prototype=i.prototype,t.prototype=new r,t.__super__=i.prototype,t},e={}.hasOwnProperty;Juicer.Views.DowngradeOverlay=function(e){function i(){return i.__super__.constructor.apply(this,arguments)}return t(i,e),i.prototype.template=JST.downgrade_overlay,i.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())},i.prototype.events={"click .delete":"closeOverlay"},i.prototype.closeOverlay=function(){return this.overlay.removeView()},i}(JuicerBackbone.View)}.call(this),function(){var t=function(t,e){return function(){return t.apply(e,arguments)}},e=function(t,e){function r(){this.constructor=t}for(var n in e)i.call(e,n)&&(t[n]=e[n]);return r.prototype=e.prototype,t.prototype=new r,t.__super__=e.prototype,t},i={}.hasOwnProperty;Juicer.Views.Calculator=function(i){function r(){return this.updateValues=t(this.updateValues,_____WB$wombat$check$this$function_____(this)),this.render=t(this.render,_____WB$wombat$check$this$function_____(this)),r.__super__.constructor.apply(this,arguments)}return e(r,i),r.prototype.template=JST["enterprise/calculator"],r.prototype.initialize=function(){return this.model=new Juicer.Models.Estimate,this.model.on("change",this.updateValues),this.render()},r.prototype.render=function(){return this.$el.html(this.template({model:this.model}))},r.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())},r.prototype.events={"change input":"updateModel","input input":"updateModel"},r.prototype.updateModel=function(t){var e;return e=$(t.target),this.model.set(e.data("attribute"),e.val())},r}(JuicerBackbone.View)}.call(this),function(){var t=function(t,e){return function(){return t.apply(e,arguments)}},e=function(t,e){function r(){this.constructor=t}for(var n in e)i.call(e,n)&&(t[n]=e[n]);return r.prototype=e.prototype,t.prototype=new r,t.__super__=e.prototype,t},i={}.hasOwnProperty;Juicer.Views.Enterprise=function(i){function r(){return this.close=t(this.close,_____WB$wombat$check$this$function_____(this)),this.append=t(this.append,_____WB$wombat$check$this$function_____(this)),this.afterRender=t(this.afterRender,_____WB$wombat$check$this$function_____(this)),this.render=t(this.render,_____WB$wombat$check$this$function_____(this)),r.__super__.constructor.apply(this,arguments)}return e(r,i),r.prototype.template=JST["enterprise/show"],r.prototype.initialize=function(t){return this.on("render",this.afterRender),this.model=new Juicer.Models.Enterprise({showPricingExplanationLink:$(this.el).data("show-pricing-explanation-link"),slug:t.slug}),this.model.on("sync",this.render),this.model.fetch({error:function(){return alert("Something went wrong. Please try again.")}})},r.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"))),this.trigger("render")},r.prototype.afterRender=function(){var t,e;if(this.focusedInput)return e=(t=$("#js-enterprise-search")).val(),t.focus().val("").val(e)},r.prototype.renderFeeds=function(t){return this.feeds=new Juicer.Views.EnterpriseFeeds({el:"ul.feeds",collection:t,model:this.model}).render(),this.feeds.on("removeFocus",(e=_____WB$wombat$check$this$function_____(this),function(){return e.focusedInput=!1}));var e},r.prototype.append=function(){return this.feeds.append()},r.prototype.events={"input input[type=search]":_u.debounce(function(t){return this.search(t)},500),"search input[type=search]":"search"},r.prototype.search=function(t){return this.model.resetPage(),this.focusedInput=!0,t.preventDefault(),this.model.query=$(t.target).val(),this.model.get("feeds"),this.model.fetch()},r.prototype.close=function(){return this.model.off("sync"),this.feeds.close()},r}(JuicerBackbone.View),Juicer.Views.EnterpriseFeeds=function(i){function r(){return this.close=t(this.close,_____WB$wombat$check$this$function_____(this)),this.loadNextPage=t(this.loadNextPage,_____WB$wombat$check$this$function_____(this)),r.__super__.constructor.apply(this,arguments)}return e(r,i),r.prototype.render=function(){return this.addToSubViews(this.collection.models),this.model.moreFeeds()&&this.addLoadMore(),this.$el.html(this.subviews),_____WB$wombat$check$this$function_____(this)},r.prototype.addToSubViews=function(t){return this.subviews||(this.subviews=[]),_u.each(t,(e=_____WB$wombat$check$this$function_____(this),function(t){var i;return i=new Juicer.Views.EnterpriseFeed({model:t,account:e.model}).render(),e.subviews.push(i.el)}));var e},r.prototype.addLoadMore=function(){var t;return this.loadMore=new Juicer.Views.EnterpriseLoadMore,this.loadMore.on("next:page:clicked",this.loadNextPage),this.loadMore.on("removeFocus",(t=_____WB$wombat$check$this$function_____(this),function(){return t.trigger("removeFocus")})),this.loadMore.render(),this.subviews.push(this.loadMore.el)},r.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},r.prototype.loadNextPage=function(){return this.model.nextPage(),this.model.fetch()},r.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))},r.prototype.close=function(){return _u.each(this.subviews,function(t){return t.remove()}),this.loadMore&&this.loadMore.off("next:page:clicked"),this.$el.empty().off(),this.stopListening(),_____WB$wombat$check$this$function_____(this)},r}(JuicerBackbone.View),Juicer.Views.EnterpriseFeed=function(t){function i(){return i.__super__.constructor.apply(this,arguments)}return e(i,t),i.prototype.template=JST["enterprise/feed"],i.prototype.createAssignmentForm=JST["enterprise/create_assignment_form"],i.prototype.tagName="li",i.prototype.className="border bg-white p-25 relative mb-20 tal",i.prototype.initialize=function(t){return this.account=t.account},i.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.not_chargeable()?this.$el.addClass("not-chargeable"):this.$el.removeClass("not-chargeable"),_____WB$wombat$check$this$function_____(this)},i.prototype.not_chargeable=function(){return!this.model.get("chargeable")},i.prototype.events={"click .delete-dashboard-assignment":"deleteAssignment","click .add-assignment":"openAssignmentForm","click .fetch-all":"fetchAllPosts","click .enterprise-feed-keep":"keepEnterpriseFeed","submit .new-assignment":"createAssignment"},i.prototype.deleteAssignment=function(t){var e;if(t.preventDefault(),e=$(t.target).parents(".enterprise-user-dashboard-assignment"),Juicer.Helpers.confirm("Are you sure you want to remove this user from this feed?"))return new Juicer.Models.Assignment({id:$(t.target).data("id")}).destroy({success:function(){return e.remove()},error:function(t,e){return 422===e.status?alert(e.responseJSON.errors):alert("Something went wrong!")}})},i.prototype.openAssignmentForm=function(){return new Juicer.Views.Overlay({content:this.createAssignmentForm({model:this.model,csrf:this.csrf,account:this.account}),width:"35%",element:this.el}).render()},i.prototype.createAssignment=function(t){var e,i;return t.preventDefault(),!!(e=$(t.target).serializeHash()).email&&(this.assignment=new Juicer.Models.Assignment(e),this.assignment.save(null,{success:(i=_____WB$wombat$check$this$function_____(this),function(){return i.model.get("assignments").add(i.assignment),i.render()}),error:function(t,e){return 422===e.status?alert(e.responseJSON.errors.base.join()):alert("Something went wrong!")}}))},i.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."))},i.prototype.keepEnterpriseFeed=function(t){return t.preventDefault(),this.model.keepFeed(),this.model.set("chargeable",!0),this.render()},i.prototype.close=function(){return this.$el.remove()},i}(JuicerBackbone.View),Juicer.Views.EnterpriseLoadMore=function(t){function i(){return i.__super__.constructor.apply(this,arguments)}return e(i,t),i.prototype.tagName="a",i.prototype.className="load-more j-button mt-30",i.prototype.render=function(){return this.$el.text("Load More Feeds"),_____WB$wombat$check$this$function_____(this)},i.prototype.events={click:"triggerClick"},i.prototype.triggerClick=function(){return this.trigger("removeFocus"),this.trigger("next:page:clicked")},i}(JuicerBackbone.View)}.call(this),function(){var t=function(t,i){function r(){this.constructor=t}for(var n in i)e.call(i,n)&&(t[n]=i[n]);return r.prototype=i.prototype,t.prototype=new r,t.__super__=i.prototype,t},e={}.hasOwnProperty;Juicer.Views.EnterpriseAdmin=function(e){function i(){return i.__super__.constructor.apply(this,arguments)}return t(i,e),i.prototype.template=JST["enterprise/admin"],i.prototype.tagName="li",i.prototype.className="enterprise-user",i.prototype.initialize=function(t){return this.account=t.account,this.index=t.index},i.prototype.render=function(){return this.$el.html(this.template({model:this.model,account:this.account,index:this.index}))},i}(JuicerBackbone.View)}.call(this),function(){var t=function(t,i){function r(){this.constructor=t}for(var n in i)e.call(i,n)&&(t[n]=i[n]);return r.prototype=i.prototype,t.prototype=new r,t.__super__=i.prototype,t},e={}.hasOwnProperty;Juicer.Views.EnterpriseUser=function(e){function i(){return i.__super__.constructor.apply(this,arguments)}return t(i,e),i.prototype.template=JST["enterprise/user"],i.prototype.tagName="li",i.prototype.className="bg-white border mb-25",i.prototype.initialize=function(t){return this.account=t.account},i.prototype.render=function(){return this.$el.html(this.template({model:this.model,account:this.account}))},i.prototype.events={"click .delete-assignment":"deleteAssignment"},i.prototype.deleteAssignment=function(t){var e;if(t.preventDefault(),e=$(t.target).parents(".enterprise-user-assignment"),Juicer.Helpers.confirm("Are you sure you want to remove this user from this feed?"))return new Juicer.Models.Assignment({id:$(t.target).data("id")}).destroy({success:function(){return e.remove()},error:function(){return alert("Something went wrong!")}})},i}(JuicerBackbone.View)}.call(this),function(){var t=function(t,i){function r(){this.constructor=t}for(var n in i)e.call(i,n)&&(t[n]=i[n]);return r.prototype=i.prototype,t.prototype=new r,t.__super__=i.prototype,t},e={}.hasOwnProperty;Juicer.Views.EnterpriseUsers=function(e){function i(){return i.__super__.constructor.apply(this,arguments)}return t(i,e),i.prototype.template=JST["enterprise/users"],i.prototype.inviteAdminForm=JST["enterprise/invite_admin"],i.prototype.initialize=function(t){return this.model=new Juicer.Models.EnterpriseUsers({slug:t.slug}),this.model.fetch({success:(e=_____WB$wombat$check$this$function_____(this),function(){return e.render()}),error:function(){return alert("uh oh something went wrong")}});var e},i.prototype.render=function(){return this.$el.html(this.template({model:this.model})),this.renderAdmins(),this.renderUsers()},i.prototype.renderAdmins=function(){var t,e;return t=[],_u.each(this.model.get("admins").models,(e=_____WB$wombat$check$this$function_____(this),function(i,r){return t.push(new Juicer.Views.EnterpriseAdmin({model:i,account:e.model,index:r}).render())})),this.$(".enterprise-admins").html(t)},i.prototype.renderUsers=function(){var t,e;return t=_u.map(this.model.get("users").models,(e=_____WB$wombat$check$this$function_____(this),function(t){return new Juicer.Views.EnterpriseUser({model:t,account:e.model}).render()})),this.$(".enterprise-users").html(t)},i.prototype.events={"click a.new-enterprise-admin":"openNewAdminOverlay"},i.prototype.openNewAdminOverlay=function(t){return t.preventDefault(),this.csrf=$('meta[name="csrf-token"]').attr("content"),new Juicer.Views.Overlay({content:this.inviteAdminForm({model:this.model,csrf:this.csrf}),width:"35%"}).render()},i}(JuicerBackbone.View)}.call(this),function(){var t=function(t,i){function r(){this.constructor=t}for(var n in i)e.call(i,n)&&(t[n]=i[n]);return r.prototype=i.prototype,t.prototype=new r,t.__super__=i.prototype,t},e={}.hasOwnProperty;Juicer.Views.EnterpriseWhiteLabel=function(e){function i(){return i.__super__.constructor.apply(this,arguments)}return t(i,e),i.prototype.template=JST["enterprise/white_label"],i.prototype.initialize=function(t){return this.model=new Juicer.Models.Enterprise({slug:t.slug}),this.model.fetch({success:(e=_____WB$wombat$check$this$function_____(this),function(){return e.render()}),error:function(){return alert("uh oh something went wrong")}});var e},i.prototype.render=function(){return this.$el.html(this.template({model:this.model}))},i.prototype.events={"submit .white-label-url":"updateAccount"},i.prototype.updateAccount=function(t){var e,i,r;return t.preventDefault(),(i=$(t.target)).find("input[type=submit]").attr("disabled","disabled").val("Loading..."),e=JuicerBackbone.Syphon.serialize(i),this.model.set(e),this.model.save(null,{success:(r=_____WB$wombat$check$this$function_____(this),function(){return r.render()})})},i}(JuicerBackbone.View)}.call(this),function(){var t=function(t,i){function r(){this.constructor=t}for(var n in i)e.call(i,n)&&(t[n]=i[n]);return r.prototype=i.prototype,t.prototype=new r,t.__super__=i.prototype,t},e={}.hasOwnProperty;Juicer.Views.Errors=function(e){function i(){return i.__super__.constructor.apply(this,arguments)}return t(i,e),i.prototype.template=JST.errors,i.prototype.initialize=function(t){var e;try{this.errors=$.parseJSON(t.errors.responseText).errors}catch(i){i,e=(t&&t.errors&&t.errors.statusText||"").match(/(timeout|unavailable)/i)?'The request timed out. Please try again by pressing "Create Source" below.':"An unspecified error occurred.",this.errors={errorMessage:[e]}}return this.$(".errors, .j-loading, .please-wait").remove(),this.$("input[type=submit]").show(),this.$el.prepend(this.template({errors:this.errors,source:t.source}))},i}(JuicerBackbone.View)}.call(this),function(){var t=function(t,e){return function(){return t.apply(e,arguments)}},e=function(t,e){function r(){this.constructor=t}for(var n in e)i.call(e,n)&&(t[n]=e[n]);return r.prototype=e.prototype,t.prototype=new r,t.__super__=e.prototype,t},i={}.hasOwnProperty;Juicer.Views.Feed=function(i){function r(){return this.reRender=t(this.reRender,_____WB$wombat$check$this$function_____(this)),this.stopVideoAndResumeJuicerSlider=t(this.stopVideoAndResumeJuicerSlider,_____WB$wombat$check$this$function_____(this)),this.stopVideo=t(this.stopVideo,_____WB$wombat$check$this$function_____(this)),r.__super__.constructor.apply(this,arguments)}return e(r,i),r.prototype.template=JST.feed,r.prototype.referral=JST["partials/_referral"],r.prototype.loading=JST["partials/_loading"],r.prototype.permittedOptions=["feedId","gutter","per","page","pages","overlay","interval","filter","startingAt","endingAt","search","truncate","equal","style","after","columns","origin"],r.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.isOnFeedsDashboard=t.isOnFeedsDashboard||!1,this.model=t.model||this.newModel(),this.tracked=!1,this.model.on("new-posts",this.reRender),this.model.on("showLoader",(e=_____WB$wombat$check$this$function_____(this),function(){return e.showLoader(!0)}));var e},r.prototype.setDefaultOptions=function(t){var e,i;i=void 0;try{i=new URLSearchParams(window.location.search).get("feed_style"),i=Juicer.Constants.FEED_CLASSES.indexOf(i)>=0&&i}catch(r){e=r,console.error(e),i=null}return t.slug=t.feedId,t.css=i||t.style,t.per||(t.per=100),t.page||(t.page=1),null!=t.overlay&&(t.overlay=!!t.overlay),t},r.prototype.newModel=function(){var t;return t=["origin","slug","per","page","filter","startingAt","endingAt","search","css","truncate"],new Juicer.Models.Feed(_u.pick(this.userOptions,t))},r.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"}},r.prototype.render=function(){var t;return null!=this.model.get("posts")?this.renderFeed():this.model.fetch({success:(t=_____WB$wombat$check$this$function_____(this),function(){return t.renderFeed()}),error:function(){return console.log("Juicer Problem")}}),_____WB$wombat$check$this$function_____(this)},r.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.shouldTrackAnalytics()&&this.trackPageView(),this.runAfter("load"),_____WB$wombat$check$this$function_____(this)},r.prototype.setUserOptionsFromModel=function(){var t;return _u.each(this.modelAttrs,(t=_____WB$wombat$check$this$function_____(this),function(e){if(null==t.userOptions[e]&&0!==t.userOptions[e])return t.userOptions[e]=t.model.get(e)})),null==this.userOptions.gutter&&(this.userOptions.gutter=this.defaultGutter()),this.userOptions},r.prototype.modelAttrs=["columns","interval","overlay"],r.prototype.defaultGutter=function(){return this.noGutter()?0:20},r.prototype.noGutter=function(){return _u.contains(["image-grid","hip","living-wall"],this.model.get("css"))},r.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)},r.prototype.runAfter=function(t){return null==t&&(t="load"),this.afterFunction=new Function("event",this.userOptions.after),this.afterFunction(t)},r.prototype.showLoader=function(t,e){return null==t&&(t=!1),null==e&&(e=!1),this.$el.append(this.loading({container:t,wrapper:e}))},r.prototype.hideLoader=function(){return this.$(".j-loading-container, .j-loading-wrapper, .j-loading").remove()},r.prototype.renderWidget=function(){return this.widget=new Juicer.Views.Widget(this.feedOptions())},r.prototype.renderSlider=function(){return this.handleReferral(),this.slider=new Juicer.Views.Slider(this.feedOptions()).render(),this.slider.on("slide",(t=_____WB$wombat$check$this$function_____(this),function(){return t.stopCurrentlyPlaying()}));var t},r.prototype.renderLivingWall=function(){var t,e;return e=this.feedOptions(),"v2"===this.model.get("embed_layout")&&(t=document.createElement("ul"),e.el=this.el.appendChild(t)),this.livingWall=new Juicer.Views.LivingWall(e).render(),this.handleReferral()},r.prototype.feedOptions=function(){return{columns:this.userOptions.columns,el:this.el,equal:this.userOptions.equal,gutter:this.userOptions.gutter,interval:this.userOptions.interval,isOnFeedsDashboard:this.isOnFeedsDashboard,model:this.model}},r.prototype.renderFeedList=function(){return this.$el.append(this.template({isOnFeedsDashboard:this.isOnFeedsDashboard,feed:this.model,filter:this.currentFilter()})),this.handleReferral(),this.infiniteScroll=new Juicer.Views.InfiniteScroll({container:this.$el,isOnFeedsDashboard:this.isOnFeedsDashboard,model:this.model,pages:this.userOptions.pages,template:JST.infinite_scroll}),this.model.isGrid()&&this.setupGrid(),this.model.classic()&&this.setGutterOnClassic(),this.infiniteScroll.on("paginate",(t=_____WB$wombat$check$this$function_____(this),function(){return t.runAfter("paginate"),null!=t.lazyLoad&&t.lazyLoad.checkImages(),t.handleBrokenImages()}));var t},r.prototype.handleBrokenImages=function(){return new Juicer.Views.BrokenImage({el:this.el,feed:this.model})},r.prototype.currentFilter=function(){return null!=this.model&&null!=this.model.filter?this.model.filter:this.userOptions.filter},r.prototype.setDimensions=function(){if(this.$el.removeAttr("style"),this.dimensions["max-width"]=this.$el.data("width")||this.model.get("width")||this.model.defaultHeight(),this.dimensions["max-height"]=this.$el.data("height")||this.model.get("height")||this.model.defaultWidth(),!this.model.slider())return this.$el.css(this.dimensions)},r.prototype.dimensions={"max-width":null,"max-height":null},r.prototype.addJuicerAds=function(){var t,e,i;if(t=this.model.get("posts").length,(e=Math.floor(t/10))>0)return _u(e).times((i=_____WB$wombat$check$this$function_____(this),function(t){var e,r;return e=10*(t+1),r=new Juicer.Models.JuicerAd,i.model.get("posts").add(r,{at:e})}))},r.prototype.setupGrid=function(){var t,e,i;if((e=Math.floor(this.$el.outerWidth()/this.userOptions.columns))<(t=window.devicePixelRatio>2?225:200)&&(e=t),this.$el.gridalicious({animate:!0,selector:".feed-item",width:e,gutter:this.userOptions.gutter,columns:this.userOptions.columns,embedLayout:this.model.get("embed_layout"),animationOptions:{queue:!0,speed:100,duration:300,complete:(i=_____WB$wombat$check$this$function_____(this),function(){return null==i.infiniteScroll||(i.infiniteScroll.shouldShowLoadMore()?void 0:i.infiniteScroll.removeLoadMore())})}}),this.model.get("lazy_load"))return this.lazyLoad=new Juicer.Views.LazyLoad({model:this.model,view:this})},r.prototype.setGutterOnClassic=function(){var t,e;return t="2%",null==this.userOptions.gutter&&(e=t),this.$(".feed-item").css("margin-bottom",e)},r.prototype.appendNextPage=function(t){return null==t&&(t=null),t&&t.preventDefault(),this.$(".j-paginate").replaceWith(this.loading({inFeed:!0})),this.infiniteScroll.nextPage()},r.prototype.setClass=function(){if(this.$el.removeClass(Juicer.Constants.FEED_CLASSES.join(" ")),this.$el.removeClass(this.cssClasses),this.$el.addClass(this.model.cssClass()),this.model.get("photos"))return this.$el.addClass("photos-only")},r.prototype.cssClasses="photo photos-only juicer-widget gridalicious slick-initialized slick-slider modern ie colored-icons hover-images",r.prototype.handleReferral=function(){return this.model.paid()||this.isOnFeedsDashboard||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"))},r.prototype.trackPageView=function(){if(!this.tracked)return new Juicer.Models.PageView({feed_id:this.model.get("id")}).save(),this.tracked=!0},r.prototype.shouldTrackAnalytics=function(){return!window.juicerDashboard},r.prototype.triggerEvent=function(t){var e,i,r;if(r=jQuery(t.target),this.shouldTrackAnalytics()&&this.trackClick(r),r.hasClass("delete"))return t.preventDefault(),this.deletePost(r);if(r.hasClass("sticky"))return t.preventDefault(),this.toggleSticky(r,"stick");if(r.hasClass("unstick"))return t.preventDefault(),this.toggleSticky(r,"un-stick");if(r.hasClass("edit"))return new Juicer.Views.PostEdit({id:r.parents("ul.actions").data("id"),model:this.model}).render();if(r.hasClass("j-image")&&r.parents("li.j-video").length>0&&!this.model.get("video_overlay"))return t.preventDefault(),this.model.hasInterval()&&this.userOptions.overlay||r.parents("li.j-tiktok").length>0?(this.stopCurrentlyPlaying(),this.openOverlay({target:r})):this.playVideo(r,r.parents("li.j-video"));if(r.hasClass("j-gallery-arrow"))return t.preventDefault(),new Juicer.Views.Gallery({target:r,el:this.el,model:this.model});if(r.parents(".j-twitter-intents").length>0)return t.preventDefault(),this.handleTwitterIntent(r);if(r.parents(".feed-item.j-twitter").length>0){if(!(r.is("a")||r.parents("a").length>0))return e=r.parents(".feed-item").data("id"),i=this.model.get("posts").findWhere({id:e}),window.open(i.link(),"_blank")}else{if(r.is("a")&&!r.hasClass("j-image")&&0===r.parents("li.j-video").length)return t.preventDefault(),window.open(r.attr("href"),"_blank");if(this.userOptions.overlay&&!r.hasClass(".feed-item.juicer")&&!r.parents(".feed-item.juicer").length>0&&!r.parents(".feed-item.j-twitter").length>0)return t.preventDefault(),this.stopCurrentlyPlaying(),this.openOverlay({target:r})}},r.prototype.trackClick=function(t){return t=t.is("li.feed-item")?t:t.parents("li.feed-item"),new Juicer.Models.Click({feed_id:this.model.get("id"),post_id:t.data("id")}).save()},r.prototype.openOverlay=function(t){var e;return this.postOverlay=new Juicer.Views.PostOverlay({target:t.target,model:this.model}),this.postOverlay.on("render",(e=_____WB$wombat$check$this$function_____(this),function(){return e.runAfter("overlay")})),this.postOverlay.render()},r.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())},r.prototype.toggleSticky=function(t,e){var i,r,n;return null==e&&(e="stick"),!!Juicer.Helpers.confirm("Are you sure you want to "+e+" this post?")&&(t=t.parents("ul.actions"),r=new Juicer.Models.Post({id:t.data("id")}),i={success:(n=_____WB$wombat$check$this$function_____(this),function(t){return n.model.set(t,{parse:!0}),n.model.trigger("action")}),error:function(){return alert("Something went wrong.")}},"stick"===e?r.stick(i):r.unstick(i))},r.prototype.openPopupOnError=function(t,e){return this.hasVideoLoadingErrorOccurred?(this.hasVideoLoadingErrorOccurred=!1,window.open(t)):e>0?setTimeout((i=_____WB$wombat$check$this$function_____(this),function(){return i.openPopupOnError(t,e-1)}),100):void 0;var i},r.prototype.playVideo=function(t,e){return(t=t.is(".j-image")?t:t.parents(".j-image")).hasClass("playing")?this.stopVideoAndResumeJuicerSlider(t):(this.stopCurrentlyPlaying(),this.slider&&this.slider.stop(),t.addClass("playing"),t.html(this.embedVideo(t.data("external-id"),e,t.data("video-url"))),setTimeout((i=_____WB$wombat$check$this$function_____(this),function(){return i.openPopupOnError(jQuery(t).attr("href"),29)}),100),jQuery(t).find("video source").on("error",function(e){return function(){return e.hasVideoLoadingErrorOccurred=!0,e.stopVideoAndResumeJuicerSlider(t),console.log("broken video in feed, stopping playback and redirecting to target url")}}(_____WB$wombat$check$this$function_____(this))),null!=this.slider?this.slider.$el.slick("slickPause"):void 0);var i},r.prototype.stopVideo=function(t){if(t.removeClass("playing"),t.html("<img src='"+t.data("image")+"' style='width:100%;display:block;' />"),null!=this.slider)return this.slider.$el.slick("slickPlay")},r.prototype.stopVideoAndResumeJuicerSlider=function(t){if(this.stopVideo(t),this.slider)return this.slider.play()},r.prototype.embedVideo=function(t,e,i){var r;return null==i&&(i=null),"tumblr"===(r=e.data("source"))&&(i=this.parseTumblrVideo(e,i)),JST["partials/video/_"+r+"_embed"]({id:t,video:i})},r.prototype.parseTumblrVideo=function(t,e){var i,r;return(i=jQuery(jQuery.parseHTML(e))).removeAttr("id class width height poster preload data-crt-video data-crt-options"),i.attr("src")&&(r=i.attr("src")+"&autoplay=1",i.attr("src",r)),window.setTimeout(function(){return t.find("video")[0].play()},500),i[0].outerHTML},r.prototype.stopCurrentlyPlaying=function(){return _u.each(this.$(".playing"),(t=_____WB$wombat$check$this$function_____(this),function(e){return t.stopVideo(jQuery(e))}));var t},r.prototype.handleTwitterIntent=function(t){var e,i,r,n,s,o;return n=550,e=420,s=screen.height,o=screen.width,r=0,
i=Math.round(o/2-n/2),s>e&&(r=Math.round(s/2-e/2)),window.open(t.attr("href"),"intent","scrollbars=yes,resizable=yes,toolbar=no,location=((self.__WB_check_loc && self.__WB_check_loc(location, arguments)) || {}).href = yes,width="+n+",height="+e+",top="+r+",left="+i)},r.prototype.filterFeed=function(t){var e,i;return t.preventDefault(),(e=jQuery(t.target)).attr("data-filter"),e.attr("class").replace("selected","").replace(" ",""),this.model.filter!==e.data("filter")&&(this.model.filter=e.data("filter"),this.filter=e.data("filter"),this.model.resetPage(),this.model.fetch({success:(i=_____WB$wombat$check$this$function_____(this),function(){return i.$el.empty(),i.infiniteScroll&&i.infiniteScroll.close(),i.render(),i.delegateEvents()})}))},r.prototype.close=function(){return this.unbindChildren(),this.$el.removeClass("j-initialized"),this.model.off("new-posts"),this.model.off("showLoader"),_____WB$wombat$check$this$function_____(this)},r.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()},r.prototype.reRender=function(){return this.unbindChildren(),this.render(),this.delegateEvents()},r}(JuicerBackbone.View)}.call(this),function(){var t=function(t,i){function r(){this.constructor=t}for(var n in i)e.call(i,n)&&(t[n]=i[n]);return r.prototype=i.prototype,t.prototype=new r,t.__super__=i.prototype,t},e={}.hasOwnProperty;Juicer.Views.Analytics=function(e){function i(){return i.__super__.constructor.apply(this,arguments)}return t(i,e),i.prototype.template=JST["feeds/analytics"],i.prototype.overlay=JST["feeds/analytics_overlay"],i.prototype.events={"click .launch":"openAnalyticsOverlay"},i.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()},i}(Juicer.Views.SubViewSlide)}.call(this),function(){var t=function(t,e){return function(){return t.apply(e,arguments)}},e=function(t,e){function r(){this.constructor=t}for(var n in e)i.call(e,n)&&(t[n]=e[n]);return r.prototype=e.prototype,t.prototype=new r,t.__super__=e.prototype,t},i={}.hasOwnProperty;Juicer.Views.Design=function(i){function r(){return this.afterCssParsing=t(this.afterCssParsing,_____WB$wombat$check$this$function_____(this)),r.__super__.constructor.apply(this,arguments)}return e(r,i),r.prototype.template=JST["feeds/design"],r.prototype.colorPicker=JST["feeds/color_picker"],r.prototype.cssOverlay=JST["feeds/css_overlay"],r.prototype.title="Custom Design",r.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"},r.prototype.showColorPicker=function(t){var e,i;return(i=$(t.target)).hasClass("feed-color")||(i=i.parents(".feed-color")),this.$(".color-fields").remove(),e=i.data("color"),i.after(this.colorPicker({color:this.feed.getColor(e),pattern:this.pattern,colorAttr:e}))},r.prototype.pattern="^#+([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$",r.prototype.updateColor=function(t){var e,i,r,n;return!!(n=(r=$(t.target)).val()).match(this.pattern)&&(i=r.hasClass("hex-input")?".color-input":".hex-input",this.$(i).val(n),e=r.parents(".color-fields").data("color"),this.$(".color-example, .feed-color[data-color='"+e+"'] .color-picker-circle").css({backgroundColor:n}),this.updateModel(e,n))},r.prototype.updateModel=function(t,e){return this.feed.updateColor(t,e)},r.prototype.saveStyle=function(t){return this.feed.save(null,{success:(e=_____WB$wombat$check$this$function_____(this),function(){return e.notifySuccess($(t.target))}),error:function(){return alert("Sorry your design didn't save properly. Please try again.")}});var e},r.prototype.resetStyle=function(){if(confirm("Are you sure you want to set your feed custom styles back to default?"))return this.feed.resetColors(),this.feed.save(null,{success:(t=_____WB$wombat$check$this$function_____(this),function(){return t.feed.trigger("action"),t.render()})});var t},r.prototype.notifySuccess=function(t){return t.text("Saved!"),setTimeout(function(){return t.text("Save Custom Style")},3e3)},r.prototype.openCustomCssOverlay=function(){return this.overlay=new Juicer.Views.Overlay({content:this.cssOverlay({feed:this.feed}),element:this.el,width:"50%"}),this.overlay.render()},r.prototype.submitCssForm=function(t){var e;return t.preventDefault(),e=$(t.target).serializeHash(),$.parsecss(e.css,this.afterCssParsing)},r.prototype.afterCssParsing=function(t){return this.feed.set("custom_css",this.stringifyCss(t)),this.feed.save(null,{success:(e=_____WB$wombat$check$this$function_____(this),function(){return e.overlay.removeView(),e.feed.trigger("action")}),error:function(){return alert("Something went wrong")}});var e},r.prototype.stringifyCss=function(t){var e;return e="",_u.each(t,function(t,i){return e+=i+" {\n",_u.each(t,function(t,i){return e+="  "+i+": "+t+";\n"}),e+="}\n\n"}),e},r}(Juicer.Views.SubView)}.call(this),function(){var t=function(t,e){return function(){return t.apply(e,arguments)}},e=function(t,e){function r(){this.constructor=t}for(var n in e)i.call(e,n)&&(t[n]=e[n]);return r.prototype=e.prototype,t.prototype=new r,t.__super__=e.prototype,t},i={}.hasOwnProperty;Juicer.Views.Embed=function(i){function r(){return this.afterClose=t(this.afterClose,_____WB$wombat$check$this$function_____(this)),r.__super__.constructor.apply(this,arguments)}return e(r,i),r.prototype.embed=JST["feeds/embed_code"],r.prototype.template=JST["feeds/embed"],r.prototype.wordpress=JST["feeds/wordpress"],r.prototype.iframe=JST["feeds/iframe"],r.prototype.menu=JST["feeds/embed_menu"],r.prototype.title="Embed in your Site",r.prototype.accessibilityConfirm=JST["feeds/accessibility_confirm"],r.prototype.accessibilityToggle=JST["feeds/accessibility_toggle"],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","change #feed-layout-change":"upgradeLayout","click .accessibility-confirm":"saveLayout","click .accessibility-close":"closeAccessibilityConfirm"},r.prototype.afterClose=function(){return window.mixpanel&&mixpanel.track("accessibility-modal",{action:"closed",feed:this.feed.get("slug")}),this.renderTemplate(),this.renderTitle()},r.prototype.closeAccessibilityConfirm=function(t){return this.accessibilityOverlay.closeOverlay(t),this.afterClose()},r.prototype.upgradeLayout=function(){return"v2"===this.feed.get("embed_layout")?this.saveLayout(null):(window.mixpanel&&mixpanel.track("accessibility-modal",{action:"opened",feed:this.feed.get("slug")}),$("#UpdateEmbedLayoutPopover").css("display","none"),this.accessibilityOverlay=new Juicer.Views.Overlay({content:this.accessibilityConfirm({feed:this.feed,embedOptions:this.embedOptions,currentlySelected:this.currentlySelected}),width:"50%",element:this.$el}),this.accessibilityOverlay.on("close",this.afterClose),this.accessibilityOverlay.render())},r.prototype.saveLayout=function(t){var e,i;return e="v2"===this.feed.get("embed_layout")?"v1":"v2",this.feed.set("embed_layout",e),this.feed.save(null,{success:(i=_____WB$wombat$check$this$function_____(this),function(){return i.accessibilityOverlay&&t&&i.accessibilityOverlay.closeOverlay(t),i.renderTemplate(),i.renderTitle(),window.location.reload()}),error:function(){return alert("Something went wrong.")}})},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(t,e){switch(null==t&&(t=this.$el),null==e&&(e=null),this.currentlySelected){case"wordpress":return this.showWordPress(t);case"iframe":return this.showIframe(t);default:return this.showEmbed(t,e)}},r.prototype.renderMenu=function(){var t;if(t="v2"===this.feed.get("embed_layout"),this.$el.prepend(this.menu({feed:this.feed,embedOptions:this.embedOptions,currentlySelected:this.currentlySelected})),this.feed.get("allow_embed_layout_change?"))return this.$el.append(this.accessibilityToggle({accessibility_checked:t}))},r.prototype.javascriptPath=function(){return this.assetPath("embed.js")},r.prototype.stylesheetPath=function(){return this.assetPath("embed.css")},r.prototype.assetPath=function(t){return"https://assets.juicer.io/"+t},r.prototype.showEmbed=function(t,e){var i;return i=(i=this.embed({feed:this.feed,javascript:this.javascriptPath(),javascriptV2Path:"https://www.juicer.io/embed/"+this.feed.get("slug")+"/embed-code.js",stylesheet:this.stylesheetPath(),overrideEmbedLayout:e})).replace(/<br \/>/g,"\n"),t.html(this.template({embed:i,feed:this.feed}))},r.prototype.showWordPress=function(t){return t.html(this.wordpress({feed:this.feed}))},r.prototype.showIframe=function(t){var e,i,r;return e=this.feed.get("height")||1e3,r=this.feed.get("width")||1e3,1e3===e&&this.feed.slider()&&(e=300),i="<iframe src='https://www.juicer.io/api/feeds/"+this.feed.get("slug")+"/iframe' frameborder='0' width='"+r+"' height='"+e+"' style='display:block;margin:0 auto;'></iframe>",t.html(this.iframe({iframe:i,feed:this.feed}))},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,i){function r(){this.constructor=t}for(var n in i)e.call(i,n)&&(t[n]=i[n]);return r.prototype=i.prototype,t.prototype=new r,t.__super__=i.prototype,t},e={}.hasOwnProperty;Juicer.Views.Features=function(e){function i(){return i.__super__.constructor.apply(this,arguments)}return t(i,e),i.prototype.template=JST["feeds/features"],i}(Juicer.Views.SubViewSlide)}.call(this),function(){var t=function(t,i){function r(){this.constructor=t}for(var n in i)e.call(i,n)&&(t[n]=i[n]);return r.prototype=i.prototype,t.prototype=new r,t.__super__=i.prototype,t},e={}.hasOwnProperty;Juicer.Views.Hub=function(e){function i(){return i.__super__.constructor.apply(this,arguments)}return t(i,e),i.prototype.template=JST["feeds/hub"],i}(Juicer.Views.SubViewSlide)}.call(this),function(){var t=function(t,e){return function(){return t.apply(e,arguments)}},e=function(t,e){function r(){this.constructor=t}for(var n in e)i.call(e,n)&&(t[n]=e[n]);return r.prototype=e.prototype,t.prototype=new r,t.__super__=e.prototype,t},i={}.hasOwnProperty;Juicer.Views.Moderate=function(i){function r(){return this.pollForRevalidating=t(this.pollForRevalidating,_____WB$wombat$check$this$function_____(this)),this.revalidatingPoll=t(this.revalidatingPoll,_____WB$wombat$check$this$function_____(this)),this.closeOverlay=t(this.closeOverlay,_____WB$wombat$check$this$function_____(this)),r.__super__.constructor.apply(this,arguments)}return e(r,i),r.prototype.template=JST["feeds/moderate"],r.prototype.revalidateOverlay=JST["feeds/revalidate_overlay"],r.prototype.title="Moderate and Filter",r.prototype.initialize=function(){return r.__super__.initialize.apply(this,arguments),this.initialAttributes=_u.pick(this.feed.attributes,"lazy_load","css")},r.prototype.render=function(){return r.__super__.render.apply(this,arguments),this.toggleFilterBlocker()},r.prototype.events={"submit .filters":"openOverlay","click .moderate-confirm":"submitConfirmation","click .moderated":"viewModeratedPosts","click .public":"showPublic","change input#queue":"toggleAndSubmit"},r.prototype.showPublic=function(t){return this.fetchFeed(),$(".moderation-nav .active").removeClass("active"),$(t.target).addClass("active")},r.prototype.viewModeratedPosts=function(t){return t.preventDefault(),$(window).unbind("scroll"),this.renderModeratedPosts()},r.prototype.renderModeratedPosts=function(){return this.moderated=new Juicer.Models.Moderated({slug:this.feed.get("slug")}),$(".moderation-nav .active").removeClass("active"),$(".moderation-nav .moderated").addClass("active"),this.moderated.fetch({success:(t=_____WB$wombat$check$this$function_____(this),function(){return t.feedView&&t.feedView.close(),new Juicer.Views.Moderated({el:".juicer-feed",model:t.moderated}).render()}),error:function(){return alert("Something went wrong pulling in your moderated posts.")}});var t},r.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()},r.prototype.closeOverlay=function(){return this.overlay.removeView()},r.prototype.submitConfirmation=function(t){var e,i;return t.preventDefault(),e=(i=$(t.target)).parents("form").serializeHash(),i.data("revalidate")?(i.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)):(i.parents(".submits").html("<div class='j-loading'>Loading...</div>"),this.updateFilters(e,this.closeOverlay))},r.prototype.updateFilters=function(t,e){return this.feed.set(t),this.feed.save(null,{success:function(){return e()},error:function(){return alert("Something went wrong!")}})},r.prototype.revalidatingPoll=function(){return setTimeout(this.pollForRevalidating,5e3)},r.prototype.pollForRevalidating=function(){return this.feed.fetch({success:(t=_____WB$wombat$check$this$function_____(this),function(){return t.feed.get("revalidating")?t.revalidatingPoll():(t.closeOverlay(),t.feed.trigger("action"))}),error:function(){return alert("Something happened with polling. Please refresh page.")}});var t},r.prototype.toggleAndSubmit=function(){if(this.toggleFilterBlocker(),this.queueChecked())return this.$("form").trigger("submit")},r.prototype.toggleFilterBlocker=function(){var t;return t=this.$(".filter-blocker"),this.queueChecked()?t.show():t.hide()},r.prototype.queueChecked=function(){return this.$("#queue").is(":checked")},r.prototype.close=function(t){if(null==t&&(t=null),null!=t&&t.preventDefault(),$("li.selected").removeClass("selected"),r.__super__.close.apply(this,arguments),null!=this.moderated)return this.fetchFeed()},r.prototype.fetchFeed=function(){return this.feed.set(this.initialAttributes),this.feed.moderated?window.location="/feeds/"+this.feed.get("slug"):this.feed.fetch({success:(t=_____WB$wombat$check$this$function_____(this),function(){return t.feed.trigger("action")})});var t},r}(Juicer.Views.SubView)}.call(this),function(){var t=function(t,e){return function(){return t.apply(e,arguments)}},e=function(t,e){function r(){this.constructor=t}for(var n in e)i.call(e,n)&&(t[n]=e[n]);return r.prototype=e.prototype,t.prototype=new r,t.__super__=e.prototype,t},i={}.hasOwnProperty;Juicer.Views.Settings=function(i){function r(){return this.reRender=t(this.reRender,_____WB$wombat$check$this$function_____(this)),r.__super__.constructor.apply(this,arguments)}return e(r,i),r.prototype.template=JST["feeds/settings"],r.prototype.title="Feed Settings",r.prototype.events={"input input.columns":"updateColumns","input input.interval":"updateInterval","input input.width":"updateDimensions","input input.height":"updateDimensions","change input[type=checkbox]":"updateCheckbox","change .css":"updateStyle","change .order":"updateOrder","change .filter_setting":"updateFilter","focus input[type=number]":"highlightField"},r.prototype.render=function(){return r.__super__.render.apply(this,arguments),this.toggleSettings(),this.feed.on("change:css",this.reRender)},r.prototype.renderTemplate=function(){return this.$el.html(this.template({feed:this.feed,checkboxes:this.checkboxes}))},r.prototype.reRender=function(){return this.$el.html(this.template({feed:this.feed,checkboxes:this.checkboxes})),this.renderTitle(),this.toggleSettings()},r.prototype.toggleSettings=function(){if(this.feed.hasInterval()&&this.showInterval(),this.feed.hasInterval()||this.showFilter(),this.feed.hasColumns())return this.showColumns()},r.prototype.showInterval=function(){return this.$(".interval").show()},r.prototype.showFilter=function(){return this.$(".filter_setting").show()},r.prototype.showColumns=function(){return this.$(".columns").show()},r.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 imported. Great for using on a display at a live event."}],r.prototype.updateColumns=function(t){var e,i;if(0<(e=(i=$(t.target).val()).length)&&e<2)return this.feed.set("columns",i),this.saveAndRender()},r.prototype.updateInterval=function(t){var e,i;if(3<(e=(i=$(t.target).val()).length)&&e<10||"0"===i)return this.feed.set("interval",i),this.saveAndRender()},r.prototype.updateDimensions=function(t){var e,i,r,n;if(n=(r=$(t.target)).val(),e=r.attr("class"),2<(i=n.length)&&i<5&&99<n&&n<5001||""===n)return this.feed.set(e,n),this.saveAndRender()},r.prototype.updateCheckbox=function(t){var e,i;return i=(e=$(t.target)).is(":checked")?"1":"0",this.feed.set(e.data("attribute"),i),this.saveAndRender()},r.prototype.updateStyle=function(t){return this.feed.set("css",$(t.target).val()),this.saveAndRender()},r.prototype.updateOrder=function(t){return this.feed.set("order",$(t.target).val()),this.saveAndRender()},r.prototype.updateFilter=function(t){return this.feed.set("display_filter",$(t.target).val()),this.saveAndRender()},r.prototype.saveAndRender=function(){return this.feed.trigger("showLoader"),this.feed.save(null,{success:(t=_____WB$wombat$check$this$function_____(this),function(){return t.feed.trigger("action")}),error:function(){return alert("Something went wrong.")}});var t},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,e){return function(){return t.apply(e,arguments)}},e=function(t,e){function r(){this.constructor=t}for(var n in e)i.call(e,n)&&(t[n]=e[n]);return r.prototype=e.prototype,t.prototype=new r,t.__super__=e.prototype,t},i={}.hasOwnProperty;Juicer.Views.Sources=function(i){function r(){return this.reRender=t(this.reRender,_____WB$wombat$check$this$function_____(this)),this.sort=t(this.sort,_____WB$wombat$check$this$function_____(this)),r.__super__.constructor.apply(this,arguments)}return e(r,i),r.prototype.template=JST["feeds/sources"],r.prototype.title="Social Media Sources",r.prototype.render=function(){if(r.__super__.render.apply(this,arguments),jQuery(".juicer-feed").hasClass("j-modern"))return sortable(".source-list",{items:".existing-source",forcePlaceholderSize:!0})[0].addEventListener("sortupdate",this.sort)},r.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 .js-warning":"handleWarningClick","click .existing-source":"toggleSubMenu","click .js-add-source-submenu":"openSourceForm"},r.prototype.handleWarningClick=function(t){return t.stopPropagation(),jQuery("body").html("<div class='d-flex' style='background:white; height:100vh; width: 100vw; align-items: center; justify-content: center'><div class='j-loading'></div></div>")},r.prototype.removeSource=function(t){var e,i,r;if(t.preventDefault(),i=$(t.target),Juicer.Helpers.confirm("Confirm source deletion?\nThis action will permanently delete all posts from your Juicer feed.\nNote: Re-adding the source may not retrieve all posts."))return e=i.data("id"),new Juicer.Models.Source({id:e}).destroy({success:(r=_____WB$wombat$check$this$function_____(this),function(t,n){return r.feed.set(n,{parse:!0}),$(".existing-source[data-id='"+e+"']").remove(),i.parents(".source-submenu").remove(),r.feed.trigger("action")}),error:function(){return alert("uh oh, something went wrong.")}})},r.prototype.openSourceForm=function(){return this.trigger("openSourceForm",_____WB$wombat$check$this$function_____(this))},r.prototype.openSourceOverlay=function(t){var e,i;return t.preventDefault(),i=$(t.target),e=this.feed.get("sources").findWhere({id:i.data("id")}),this.overlay=new Juicer.Views.Overlay({content:JST["sources/"+i.data("template")]({source:e,feed:this.feed}),width:"50%",element:this.el}),this.overlay.render()},r.prototype.addPostManually=function(t){var e,i,r;return t.preventDefault(),(i=$(t.target)).find(".j-loading-wrapper").html("<div class='j-loading'>Loading...</div>"),i.find(".j-button").attr("disabled",!0),i.find("ul.errors").remove(),e=i.serializeHash(),this.post=new Juicer.Models.Post(e),this.post.save(null,{success:(r=_____WB$wombat$check$this$function_____(this),function(t,e){return r.feed.set(e,{parse:!0}),r.reRender(),r.feed.trigger("action")}),error:function(t,e){return i.find(".j-button").attr("disabled",!1),new Juicer.Views.Errors({el:i,errors:e})}})},r.prototype.updateSource=function(t){var e,i;return t.preventDefault(),e=$(t.target).serializeHash(),this.source=new Juicer.Models.Source(e),this.source.save(null,{success:(i=_____WB$wombat$check$this$function_____(this),function(t,e){return i.feed.set(e,{parse:!0}),i.reRender(),i.feed.trigger("action")}),error:function(){return alert("Something went wrong.")}})},r.prototype.sort=function(t){var e;return e=_u.map($(t.target).find(".existing-source"),function(t){return $(t).data("id")}),this.feed.set({source_ids:e}),this.saveAndRender()},r.prototype.reRender=function(){return this.sidebarView.renderSidebar()},r.prototype.toggleSubMenu=function(t){var e;return(e=jQuery(t.target)).hasClass("existing-source")||(e=e.parents(".existing-source")),e.next(".source-submenu").slideToggle(),e.toggleClass("open")},r.prototype.saveAndRender=function(){return this.feed.trigger("showLoader"),this.feed.save(null,{success:(t=_____WB$wombat$check$this$function_____(this),function(){return t.feed.set({source_ids:null}),t.feed.trigger("action")})});var t},r}(Juicer.Views.SubView)}.call(this),function(){var t=function(t,i){function r(){this.constructor=t}for(var n in i)e.call(i,n)&&(t[n]=i[n]);return r.prototype=i.prototype,t.prototype=new r,t.__super__=i.prototype,t},e={}.hasOwnProperty;Juicer.Views.Synced=function(e){function i(){return i.__super__.constructor.apply(this,arguments)}return t(i,e),i.prototype.template=JST["feeds/synced"],i}(Juicer.Views.SubViewSlide)}.call(this),function(){var t=function(t,i){function r(){this.constructor=t}for(var n in i)e.call(i,n)&&(t[n]=i[n]);return r.prototype=i.prototype,t.prototype=new r,t.__super__=i.prototype,t},e={}.hasOwnProperty;Juicer.Views.ChurnForm=function(e){function i(){return i.__super__.constructor.apply(this,arguments)}return t(i,e),i.prototype.namespace="churn",i.prototype.createModel=function(){return new JuicerBackbone.Model},i}(Juicer.Views.FormView)}.call(this),function(){var t=function(t,i){function r(){this.constructor=t}for(var n in i)e.call(i,n)&&(t[n]=i[n]);return r.prototype=i.prototype,t.prototype=new r,t.__super__=i.prototype,t},e={}.hasOwnProperty;Juicer.Views.FeedForm=function(e){function i(){return i.__super__.constructor.apply(this,arguments)}return t(i,e),i.prototype.namespace="feed",i.prototype.createModel=function(){return new Juicer.Models.FeedValidation},i}(Juicer.Views.FormView)}.call(this),function(){var t=function(t,i){function r(){this.constructor=t}for(var n in i)e.call(i,n)&&(t[n]=i[n]);return r.prototype=i.prototype,t.prototype=new r,t.__super__=i.prototype,t},e={}.hasOwnProperty;Juicer.Views.UserForm=function(e){function i(){return i.__super__.constructor.apply(this,arguments)}return t(i,e),i.prototype.namespace="user",i.prototype.createModel=function(){return new Juicer.Models.UserValidation},i}(Juicer.Views.FormView)}.call(this),function(){var t=function(t,i){function r(){this.constructor=t}for(var n in i)e.call(i,n)&&(t[n]=i[n]);return r.prototype=i.prototype,t.prototype=new r,t.__super__=i.prototype,t},e={}.hasOwnProperty;Juicer.Views.UserSignupForm=function(e){function i(){return i.__super__.constructor.apply(this,arguments)}return t(i,e),i.prototype.namespace="user",i.prototype.createModel=function(){return new Juicer.Models.UserSignupValidation},i}(Juicer.Views.FormView)}.call(this),function(){var t=function(t,i){function r(){this.constructor=t}for(var n in i)e.call(i,n)&&(t[n]=i[n]);return r.prototype=i.prototype,t.prototype=new r,t.__super__=i.prototype,t},e={}.hasOwnProperty;Juicer.Views.UserUpdateForm=function(e){function i(){return i.__super__.constructor.apply(this,arguments)}return t(i,e),i.prototype.namespace="user",i.prototype.createModel=function(){var t;return t={email:$("#user_email").val(),noPassword:$("#user_password").length<1},new Juicer.Models.UserUpdateValidation(t)},i}(Juicer.Views.FormView)}.call(this),function(){var t=function(t,i){function r(){this.constructor=t}for(var n in i)e.call(i,n)&&(t[n]=i[n]);return r.prototype=i.prototype,t.prototype=new r,t.__super__=i.prototype,t},e={}.hasOwnProperty;Juicer.Views.Gallery=function(e){function i(){return i.__super__.constructor.apply(this,arguments)}return t(i,e),i.prototype.initialize=function(t){var e,i,r,n,s,o,a,l;return e=(n=(l=t.target).parents(".j-gallery")).data("id"),o=this.model.get("posts").findWhere({id:e}),a=(i=n.find(".j-image img")).attr("src"),-1===(r=(s=o.get("additional_photos")).indexOf(a))&&(r=0),l.hasClass("j-gallery-next")?r+=1:l.hasClass("j-gallery-previous")&&(r-=1),r>=s.length&&(r=0),r<0&&(r=s.length-1),i.attr("src",s[r])},i}(JuicerBackbone.View)}.call(this),function(){var t=function(t,i){function r(){this.constructor=t}for(var n in i)e.call(i,n)&&(t[n]=i[n]);return r.prototype=i.prototype,t.prototype=new r,t.__super__=i.prototype,t},e={}.hasOwnProperty;Juicer.Views.GdprOverlay=function(e){function i(){return i.__super__.constructor.apply(this,arguments)}return t(i,e),i.prototype.template=JST.gdpr_form,i.prototype.initialize=function(){return this.overlay=new Juicer.Views.Overlay({content:this.template(),element:this.el,width:"50%"}),this.overlay.render()},i}(JuicerBackbone.View)}.call(this),function(){var t=function(t,i){function r(){this.constructor=t}for(var n in i)e.call(i,n)&&(t[n]=i[n]);return r.prototype=i.prototype,t.prototype=new r,t.__super__=i.prototype,t},e={}.hasOwnProperty;Juicer.Views.Home=function(e){function i(){return i.__super__.constructor.apply(this,arguments)}return t(i,e),i.prototype.initialize=function(){return this.$("input").placeholder(),new Juicer.Views.HomeSlider({el:".js-features"})},i.prototype.events={"click .show":"renderExample","change select":"reRenderFeed","click .hide-feed":"hideFeed"},i.prototype.renderExample=function(t){var e,i;return t.preventDefault(),(e=jQuery(t.target)).html("Loading..."),this.model=new Juicer.Models.Feed({slug:"juicer",per:16,order:"random"}),this.model.fetch({success:(i=_____WB$wombat$check$this$function_____(this),function(){return i.renderFeed(),jQuery(".style-picker").css("display","inline-block"),jQuery(".hide-feed").show(),e.hide()}),error:function(){return console.log("Example did not load!")}})},i.prototype.reRenderFeed=function(t){var e,i,r;return this.$(".juicer-feed").remove(),i="v2"===this.model.get("embed_layout")?"<div class='juicer-feed' data-pages='1'></div>":"<ul class='juicer-feed' data-pages='1'></ul>",this.$(".js-juicer-example .container-fluid").append(i),r=jQuery(t.target).val(),e=this.map(r),this.model.set(e),this.renderFeed()},i.prototype.renderFeed=function(){return new Juicer.Views.Feed({el:".juicer-feed",model:this.model}).render()},i.prototype.hideFeed=function(t){return t.preventDefault(),this.$(".juicer-feed").html(""),jQuery(".style-picker").hide(),jQuery(t.target).hide(),this.$(".show").show().html("Show me an example feed!")},i.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}}},i}(JuicerBackbone.View)}.call(this),function(){var t=function(t,i){function r(){this.constructor=t}for(var n in i)e.call(i,n)&&(t[n]=i[n]);return r.prototype=i.prototype,t.prototype=new r,t.__super__=i.prototype,t},e={}.hasOwnProperty;Juicer.Views.HomeSlider=function(e){function i(){return i.__super__.constructor.apply(this,arguments)}return t(i,e),i.prototype.item=".explainer-list-item",i.prototype.initialize=function(){return this.activate(this.$(this.item).first())},i.prototype.events={"mouseenter .explainer-list-item":"toggleSlider","click .explainer-list-item":"toggleSlider"},i.prototype.toggleSlider=function(t){var e;if((e=$(t.target)).is(this.item)||(e=e.parents(this.item)),!e.hasClass("active"))return this.activate(e)},i.prototype.activate=function(t){var e,i;return i=t.data("slide"),this.$(".explainer-list-item.active").removeClass("active"),t.addClass("active"),e=this.$(".slider-images ."+i),this.$(".slider-images .active").removeClass("active"),e.addClass("active")},i}(JuicerBackbone.View)}.call(this),function(){var t=function(t,i){function r(){this.constructor=t}for(var n in i)e.call(i,n)&&(t[n]=i[n]);return r.prototype=i.prototype,t.prototype=new r,t.__super__=i.prototype,t},e={}.hasOwnProperty;Juicer.Views.ImageHandler=function(e){function i(){return i.__super__.constructor.apply(this,arguments)}return t(i,e),i.prototype.initialize=function(t){return null==t&&(t={}),this.image=$(t.target),this.feedItem=this.image.parents(".feed-item"),this.postId=this.feedItem.data("id"),this.theme=t.theme,this.feed=t.feed,this.testRefreshed=t.testRefreshedImages||!1,this.handeBrokenImage()},i.prototype.handeBrokenImage=function(){return!this.postId||"facebook"!==this.feedItem.data("source")||this.image.attr("src").match(Juicer.Constants.BASE_URL)?this.invokeFallback():(this.image.attr("src",Juicer.Constants.BASE_URL+"/api/posts/"+this.postId+"/image"),this.testRefreshed?this.testImage():void 0)},i.prototype.testImage=function(){return imagesLoaded(this.image).on("fail",function(){return this.invokeFallback()}.bind(this))},i.prototype.invokeFallback=function(){switch(this.theme){case"widget":case"slider":this.convertToText();break;case"livingWall":this.removeImage();break;default:this.tryConvertingThenHide()}return i.reportInvalidImage(this.postId,"content","feed")},i.prototype.tryConvertingThenHide=function(){if(!this.feed.get("photos")||!this.feed.get("isOnFeedsDashboard"))return this.feedItem.find(".j-message").length>0&&this.feed.get("isOnFeedsDashboard")?this.convertToText():this.hidePost()},i.prototype.convertToText=function(){return this.logFallback("Converting to a text post."),this.image.parents(".feed-item").removeClass("image-post").removeClass("j-video").addClass("words"),this.image.parents(".j-image").remove()},i.prototype.hidePost=function(){return this.logFallback("Hiding the post."),this.image.parents(".feed-item").hide()},i.prototype.hideImage=function(){return this.logFallback("Hiding the image."),this.image.hide()},i.prototype.removeImage=function(){return this.logFallback("Removing the image."),this.image.remove()},i.prototype.logFallback=function(t){var e;return e=this.feedItem.data("source"),console.log("Juicer: "+e+" post with id "+this.postId+" has a broken image. "+t)},i.reportInvalidImage=function(t,e,i){return $.ajax({type:"PUT",url:Juicer.Constants.BASE_URL+"/api/posts/"+t+"/images/invalidate",data:{type:e,source:i}})},i}(JuicerBackbone.View)}.call(this),function(){var t=function(t,e){return function(){return t.apply(e,arguments)}},e=function(t,e){function r(){this.constructor=t}for(var n in e)i.call(e,n)&&(t[n]=e[n]);return r.prototype=e.prototype,t.prototype=new r,t.__super__=e.prototype,t},i={}.hasOwnProperty;Juicer.Views.InfiniteScroll=function(i){function r(){return this.checkForPagination=t(this.checkForPagination,_____WB$wombat$check$this$function_____(this)),r.__super__.constructor.apply(this,arguments)}return e(r,i),r.prototype.el=function(){return this.model.hasHeight()?".juicer-feed":window},r.prototype.initialize=function(t){
if(this.template=t.template||JST["partials/_moderated_posts"],this.container=t.container,this.isOnFeedsDashboard=t.isOnFeedsDashboard||!1,this.posts=this.model.get("posts"),this.pages=_u.min([t.pages,1e3]),this.stopped=this.pages<2||this.limitReached(),this.shouldInfinitelyScroll())return this.$el.on("scroll.juicerInfiniteScroll",_u.debounce(this.checkForPagination,300))},r.prototype.limitReached=function(){return this.lessThanLimit()||this.setPagesLimit()},r.prototype.lessThanLimit=function(){return this.posts.length<this.posts.limit_value},r.prototype.setPagesLimit=function(){return this.posts.current_page>=this.pages},r.prototype.removeLoadMore=function(){return jQuery(".j-paginate").remove()},r.prototype.checkForPagination=function(){if(this.scrollPoint()>this.triggerPoint()&&!this.stopped)return this.nextPage()},r.prototype.shouldInfinitelyScroll=function(){return this.model.get("infinite_scroll")&&!this.stopped},r.prototype.shouldShowLoadMore=function(){return!this.model.get("infinite_scroll")&&!this.stopped},r.prototype.nextPage=function(){return this.stop(),this.model.nextPage(),this.model.fetch({remove:!1,success:(t=_____WB$wombat$check$this$function_____(this),function(e,i){return t.appendPosts(i),t.trigger("paginate")}),error:function(){return console.log("Juicer Infinite Scroll Problem.")}});var t},r.prototype.appendPosts=function(t){var e,i;if(jQuery(".j-loading, .j-loading-wrapper").remove(),i=new Juicer.Models.Feed(t,{parse:!0}),this.posts=i.get("posts"),this.posts.length>0&&(e=jQuery(this.template({isOnFeedsDashboard:this.isOnFeedsDashboard,feed:i}))),this.model.isGrid()?this.container.gridalicious("append",e):this.container.append(e),this.limitReached()||this.start(),!this.shouldShowLoadMore())return this.removeLoadMore()},r.prototype.scrollPoint=function(){return this.$el.scrollTop()+2*this.$el.outerHeight()},r.prototype.triggerPoint=function(){return this.model.hasHeight()?this.container.prop("scrollHeight"):this.container.offset().top+this.container.outerHeight()},r.prototype.start=function(){return this.stopped=!1},r.prototype.stop=function(){return this.stopped=!0},r.prototype.close=function(){return this.$el.empty().off("scroll.juicerInfiniteScroll"),this.model.resetPage(),this.stopListening(),_____WB$wombat$check$this$function_____(this)},r}(JuicerBackbone.View)}.call(this),function(){var t=function(t,e){return function(){return t.apply(e,arguments)}},e=function(t,e){function r(){this.constructor=t}for(var n in e)i.call(e,n)&&(t[n]=e[n]);return r.prototype=e.prototype,t.prototype=new r,t.__super__=e.prototype,t},i={}.hasOwnProperty;Juicer.Views.LazyLoad=function(i){function r(){return this.checkImages=t(this.checkImages,_____WB$wombat$check$this$function_____(this)),r.__super__.constructor.apply(this,arguments)}return e(r,i),r.prototype.el=window,r.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()},r.prototype.checkImages=function(){return _u.each(this.view.$el.find("img[data-lazy]:not([src])"),(t=_____WB$wombat$check$this$function_____(this),function(e){if((e=jQuery(e)).offset().top<t.scrollPoint(t.$el)&&e.attr("src",e.data("lazy")),t.model.hasHeight()&&e.offset().top<t.scrollPoint(t.feed()))return e.attr("src",e.data("lazy"))}));var t},r.prototype.scrollPoint=function(t){return t.scrollTop()+t.height()+500},r.prototype.feed=function(){return jQuery(".juicer-feed")},r.prototype.close=function(){return this.$el.off("scroll"),this.feed().off("scroll")},r}(JuicerBackbone.View)}.call(this),function(){var t=function(t,e){return function(){return t.apply(e,arguments)}},e=function(t,e){function r(){this.constructor=t}for(var n in e)i.call(e,n)&&(t[n]=e[n]);return r.prototype=e.prototype,t.prototype=new r,t.__super__=e.prototype,t},i={}.hasOwnProperty;Juicer.Views.LivingWall=function(i){function r(){return this.rotatePost=t(this.rotatePost,_____WB$wombat$check$this$function_____(this)),this.imageHandler=t(this.imageHandler,_____WB$wombat$check$this$function_____(this)),this.brokenImageCallback=t(this.brokenImageCallback,_____WB$wombat$check$this$function_____(this)),r.__super__.constructor.apply(this,arguments)}return e(r,i),r.prototype.template=JST["partials/feeds/_wall"],r.prototype.customCss=JST["partials/_custom_styles"],r.prototype.initialize=function(t){return this.columns=t.columns,this.equal=t.equal,this.gutter=t.gutter,this.interval=t.interval,this.isOnFeedsDashboard=t.isOnFeedsDashboard,0===this.interval&&(this.interval=5e7),this.defaultColumns=this.columns,this.gutter||(this.gutter=0),this.setSizes(),jQuery(window).on("resize",_u.debounce((e=_____WB$wombat$check$this$function_____(this),function(){return e.resize()}),300));var e},r.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},r.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},r.prototype.render=function(){var t,e,i,r;return t=8*this.columns,this.setLargeCount(),this.smallCount=t-4*this.largeCount,this.total=this.largeCount+this.smallCount,i=_u.map(this.initialPosts(),(r=_____WB$wombat$check$this$function_____(this),function(t){var e;return(e=r.renderPost(t)).find("img").on("error",function(t){var e;return e=jQuery(t.target),this.imageHandler({target:e,feed:this.model,theme:"livingWall",testRefreshedImages:!0})}.bind(r)),e})),e=_u.sample(i,this.largeCount),_u.each(e,function(t){return function(e){return e.addClass("j-large"),t.setDimensions(e)}}(_____WB$wombat$check$this$function_____(this))),_u.each(i,function(t){return function(e){return!e.hasClass("j-large")&&(e.addClass("j-small"),t.setDimensions(e))}}(_____WB$wombat$check$this$function_____(this))),this.$el.append(this.customCss({feed:this.model})),this.$el.append(i),this.$el.packery(this.packeryOptions()),this.handleInterval(),this.ensureProperSize(),_____WB$wombat$check$this$function_____(this)},r.prototype.resize=function(){if(this.$el.outerWidth()!==this.windowWidth)return this.reRender()},r.prototype.reRender=function(){return this.setSizes(),this.render()},r.prototype.setLargeCount=function(){return this.largeCount=this.equal?0:this.columns%2!=0?this.columns-1:this.columns},r.prototype.packeryOptions=function(){return{gutter:this.gutter,itemSelector:".feed-item",resize:!1}},r.prototype.handleInterval=function(){var t;return document.hidden||this.startInterval(),jQuery(document).on("show",(t=_____WB$wombat$check$this$function_____(this),function(){return t.startInterval()})),jQuery(document).on("hide",function(t){return function(){return t.stopInterval()}}(_____WB$wombat$check$this$function_____(this)))},r.prototype.startInterval=function(){if(null==this.id)return this.id=setInterval(this.rotatePost,this.interval)},r.prototype.stopInterval=function(){return null!=this.id&&window.clearInterval(this.id),this.id=null},r.prototype.ensureProperSize=function(){var t,e,i;return!(this.retryTimes>9)&&(i=3*this.gutter,t=4*this.small,Math.floor(t)-i<=(e=this.$el.height())&&e<=Math.ceil(t)+i?void 0:(this.retryTimes++,this.close(),this.render()))},r.prototype.renderPost=function(t,e,i){var r,n;return null==e&&(e=null),null==i&&(i=null),r=jQuery(this.template({isOnFeedsDashboard:this.isOnFeedsDashboard,post:t})),(n=imagesLoaded(r[0])).on("done",function(){var t;if(e&&e(r),(t=r.find("img")).width()>t.height())return t.addClass("landscape")}),n.on("fail",function(t){return this.brokenImageCallback(t)}.bind(this)),r},r.prototype.brokenImageCallback=function(t){var e;return e=$(t.images[0].img),this.imageHandler({target:e,feed:this.model,theme:"livingWall",testRefreshedImages:!0})},r.prototype.imageHandler=function(t){return new Juicer.Views.ImageHandler(t)},r.prototype.initialPosts=function(){var t;return t=this.total-1,this.posts().slice(0,+t+1||9e9)},r.prototype.nextPost=function(){return this.total++,this.total>=this.posts().length&&(this.model.pollingAllowed()&&this.model.fetchNewPosts(!1),this.total=0),this.posts()[this.total]},r.prototype.posts=function(){var t;return t=this.model.get("posts").models,t=_u.filter(t,function(t){return"Twitter"!==t.sourceType()&&"YouTube"!==t.sourceType()})},r.prototype.randomPost=function(){return jQuery(_u.sample(this.$(".feed-item").not(".j-sticky")))},r.prototype.setDimensions=function(t){return t.hasClass("j-small")?this.small:this.large,t.css({width:this.size(t),height:this.size(t)})},r.prototype.rotatePost=function(){var t,e,i;return e=this.randomPost(),(t=this.nextPost())&&t.stickied()&&(t=this.nextPost()),this.renderPost(t,(i=_____WB$wombat$check$this$function_____(this),function(t){return i.cloneStyle(e,t)}))},r.prototype.cloneStyle=function(t,e){var i,r,n,s,o,a,l;return e.addClass(t.hasClass("j-small")?"j-small":"j-large"),this.setDimensions(e),r={top:l=this.size(t),left:l},i=this.merge(this.vectorMap(),r,"*"),n=a=t.position(),s=this.merge(a,i,"-"),o=this.merge(a,i,"+"),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)},r.prototype.size=function(t){return t.hasClass("j-small")?this.small:this.large},r.prototype.merge=function(t,e,i){var r;return null==i&&(i="+"),r={},_u.each(_u.keys(t),function(n){return"+"===i?r[n]=t[n]+e[n]:"*"===i?r[n]=t[n]*e[n]:"-"===i?r[n]=t[n]-e[n]:void 0}),r},r.prototype.vectorMap=function(){var t,e;return e=_u.sample([-1,1]),{top:(t=_u.shuffle([e,0]))[0],left:t[1]}},r.prototype.underCss={zIndex:1},r.prototype.close=function(){return this.stopInterval(),this.$el.empty(),this.$el.packery("destroy"),jQuery(document).off("show hide"),this.stopListening(),_____WB$wombat$check$this$function_____(this)},r}(JuicerBackbone.View)}.call(this),jQuery(document).ready(function(){function t(){e.removeClass("visible"),e.find(".active").removeClass("active")}var e=jQuery(".mobileNavigation");jQuery(".js-mobileNavigationTrigger").click(function(){e.hasClass("visible")?t():e.addClass("visible")}),jQuery(".js-mobileNavigation_close").click(function(){t()}),jQuery(".mobileNavigation_entry.expandable .level-1").click(function(t){jQuery(t.currentTarget).parent(".mobileNavigation_entry.expandable").toggleClass("open")}),jQuery("a.mobileNavigation_entry_label").click(function(t){jQuery(t.currentTarget).addClass("active")}),jQuery("a.mobileNavigation_entry_label[href*='/#']").click(function(){t()});var i=navigator.userAgent.match(/iPad/i)||navigator.userAgent.match(/iPhone/i)?"pagehide":"unload";jQuery(window).on(i,function(){t(),e.children(".expandable").removeClass("open")})}),function(){var t=function(t,e){return function(){return t.apply(e,arguments)}},e=function(t,e){function r(){this.constructor=t}for(var n in e)i.call(e,n)&&(t[n]=e[n]);return r.prototype=e.prototype,t.prototype=new r,t.__super__=e.prototype,t},i={}.hasOwnProperty;Juicer.Views.Moderated=function(i){function r(){return this.reRender=t(this.reRender,_____WB$wombat$check$this$function_____(this)),r.__super__.constructor.apply(this,arguments)}return e(r,i),r.prototype.template=JST.moderated,r.prototype.loading=JST["partials/_loading"],r.prototype.events={"click ul.j-filters li":"filterFeed","click ul.j-display-filters li":"filterFeed","click .approve":"restorePost","click .reject":"rejectPost","click .j-paginate":"appendNextPage","click .bulk-moderate":"bulkModerate","click .delete":"deletePost"},r.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=200),this.model.on("new-posts",this.reRender),!(this.model.get("posts").models.length<1)&&(this.$el.removeClass(Juicer.Constants.FEED_CLASSES.join(" ")),this.$el.addClass("modern"),this.$el.removeClass("hover-images"),this.$el.gridalicious({selector:".feed-item",width:t,gutter:this.gutter}),null==this.infiniteScroll||(this.infiniteScroll.shouldShowLoadMore()?void 0:this.infiniteScroll.removeLoadMore()))},r.prototype.startInfiniteScroll=function(){return this.model.resetPage(),this.infiniteScroll=new Juicer.Views.InfiniteScroll({container:this.$el,model:this.model})},r.prototype.appendNextPage=function(t){return t.preventDefault(),this.$(".j-paginate").replaceWith(this.loading()),this.infiniteScroll.nextPage()},r.prototype.restorePost=function(t){return this.hidePost(t,"Approving...").restore()},r.prototype.rejectPost=function(t){return this.hidePost(t,"Rejecting...").reject()},r.prototype.deletePost=function(t){return this.hidePost(t,"Deleting...").hardDeletePost()},r.prototype.hidePost=function(t,e,i){var r,n;return null==i&&(i=!0),t.preventDefault(),null!=e&&$(t.target).html(e),n=$(t.target).parents(".actions"),r=this.fetchPost(n.data("id")),i&&n.parents(".feed-item").hide().remove(),r},r.prototype.fetchPost=function(t){return this.model.get("posts").findWhere({id:t})},r.prototype.filterFeed=function(t){var e,i;return t.preventDefault(),(e=jQuery(t.target)).attr("data-filter"),e.parents("ul"),this.model.filter=e.data("filter"),this.model.resetPage(),this.model.fetch({success:(i=_____WB$wombat$check$this$function_____(this),function(){return i.reRender()})})},r.prototype.bulkModerate=function(t){var e,i;if(i=(e=null!=$(t.target).data("approve"))?"approve":"reject",Juicer.Helpers.confirm("Are you sure you want to "+i+" all of these posts?"))return this.$(".bulk-moderate-nav").html("<div class='j-loading'>Loading...</div>"),this.model.bulkModerate(e,this.model.filter),setTimeout(function(){return location.reload()},1e4)},r.prototype.unbindChildren=function(){return this.$el.empty().off(),this.infiniteScroll&&this.infiniteScroll.close(),this.model.off("new-posts",this.reRender),this.stopListening()},r.prototype.reRender=function(){return this.unbindChildren(),this.render(),this.delegateEvents()},r.prototype.menuItems=function(){var t;return t=this.baseMenuItems,t=this.allMenu.concat(t)},r.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"}],r.prototype.allMenu=[{filter:void 0,title:"All"}],r}(JuicerBackbone.View)}.call(this),function(){var t=function(t,i){function r(){this.constructor=t}for(var n in i)e.call(i,n)&&(t[n]=i[n]);return r.prototype=i.prototype,t.prototype=new r,t.__super__=i.prototype,t},e={}.hasOwnProperty;Juicer.Views.Nav=function(e){function i(){return i.__super__.constructor.apply(this,arguments)}return t(i,e),i.prototype.events={"click .js-Header_burgerMenu":"toggleMenuOpen","click .sidebar-toggle":"toggleSidebarOpen","click .main-container":"toggleMenuClose"},i.prototype.toggleMenuOpen=function(){var t;return $(".main-container").removeClass("open-right open-right_mobile").toggleClass("open-left"),(t=$(".side-nav")).hasClass("opened")?t.removeClass("opened"):setTimeout(function(){return t.addClass("opened")},200)},i.prototype.toggleMenuClose=function(){var t;if((t=$(".side-nav")).hasClass("opened"))return t.removeClass("opened")},i.prototype.toggleSidebarOpen=function(){return $(".main-container").hasClass("open-right_mobile")?$(".main-container").removeClass("open-left").removeClass("open-right_mobile"):$(".main-container").removeClass("open-left").toggleClass("open-right"),$(".opened-sidebar-option").removeClass("visible")},i}(JuicerBackbone.View)}.call(this),function(){var t=function(t,i){function r(){this.constructor=t}for(var n in i)e.call(i,n)&&(t[n]=i[n]);return r.prototype=i.prototype,t.prototype=new r,t.__super__=i.prototype,t},e={}.hasOwnProperty;Juicer.Views.NewFeed=function(e){function i(){return i.__super__.constructor.apply(this,arguments)}return t(i,e),i.prototype.template=JST.new_feed,i.prototype.initialize=function(){return this.socialAccounts=new Juicer.Collections.SocialAccounts,this.socialAccounts.fetch({success:(t=_____WB$wombat$check$this$function_____(this),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)}),error:function(){return alert("Something went wrong while fetching your connected social accounts")}});var t},i.prototype.render=function(){return this.$el.html(this.template())},i.prototype.nextPage=function(t){return window.location="/feeds/"+t.get("slug")},i}(JuicerBackbone.View)}.call(this),function(){var t=function(t,e){return function(){return t.apply(e,arguments)}},e=function(t,e){function r(){this.constructor=t}for(var n in e)i.call(e,n)&&(t[n]=e[n]);return r.prototype=e.prototype,t.prototype=new r,t.__super__=e.prototype,t},i={}.hasOwnProperty;Juicer.Views.Overlay=function(i){function r(){return this.handleKeypress=t(this.handleKeypress,_____WB$wombat$check$this$function_____(this)),r.__super__.constructor.apply(this,arguments)}return e(r,i),r.prototype.className="j-overlay",r.prototype.template=JST.overlay,r.prototype.initialize=function(t){return this.element=t.element||"body",this.content=t.content,this.width=t.width,this.close=!1!==t.close,jQuery(document).bind("keydown",this.handleKeypress)},r.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(),_____WB$wombat$check$this$function_____(this)},r.prototype.events=function(){return{"click .j-close":"closeOverlay",click:"removeOverlay","click .j-navigate a":"triggerNavigate","click a.share":"openPopup","click .j-gallery-arrow":"gallery"}},r.prototype.gallery=function(t){return t.preventDefault(),this.trigger("trigger:gallery",jQuery(t.target))},r.prototype.removeOverlay=function(t){var e;if(!((e=jQuery(t.target)).hasClass("j-overlay-content")||e.parents(".j-overlay-content").length>0))return this.removeView()},r.prototype.closeOverlay=function(t){return t.preventDefault(),this.removeView()},r.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)},r.prototype.triggerNavigate=function(t){return t.preventDefault(),this.trigger("trigger:navigate",jQuery(t.target).data("post-id"))},r.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")},r.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)}},r.prototype.handleBrokenImages=function(){var t;return this.$(".j-poster img").on("error",(t=_____WB$wombat$check$this$function_____(this),function(e){return console.log("hiding broken profile image in overlay."),jQuery(e.target).hide(),Juicer.Views.ImageHandler.reportInvalidImage(t.postId,"poster","overlay")})),this.$("img.j-content-image").on("error",function(t){return function(e){var i,r,n;if(i=(n=jQuery(e.target)).parents(".image"),r=n.parents(".j-post-overlay[data-id]").data("id"),Juicer.Views.ImageHandler.reportInvalidImage(t.postId,"content","overlay"),!r||!n.attr("src").match("fbcdn.net")||n.attr("src").match(Juicer.Constants.BASE_URL))return i.length>0?(console.log("Hiding broken image in overlay."),i.hide()):void 0;n.attr("src",Juicer.Constants.BASE_URL+"/api/posts/"+r+"/image")}}(_____WB$wombat$check$this$function_____(this))),this.$("video source").on("error",function(t){var e,i,r;return r=jQuery(t.target).parents(".instagram-wrapper, .twitter-wrapper, .video-wrapper"),i=jQuery(t.target).parents("video").first(),e=r.children(".j-video-fallback").first(),jQuery(t.target),e.length?(console.log("converting broken video in overlay to thumbnail"),i.hide(),e.children("img").each(function(t,e){if(!jQuery(e).attr("src")&&jQuery(e).attr("data-lazy"))return jQuery(e).attr("src",jQuery(e).attr("data-lazy"))}),e.show()):(console.log("hiding broken video in overlay"),r.hide())})},r}(JuicerBackbone.View)}.call(this),function(){var t=function(t,i){function r(){this.constructor=t}for(var n in i)e.call(i,n)&&(t[n]=i[n]);return r.prototype=i.prototype,t.prototype=new r,t.__super__=i.prototype,t},e={}.hasOwnProperty;Juicer.Views.OverlayReopener=function(e){function i(){return i.__super__.constructor.apply(this,arguments)}return t(i,e),i.prototype.storageKey="juicer_overlay_open",i.prototype.initialize=function(t){return null==t&&(t={}),this.sourceForm=t.sourceForm,this.sidebarView=t.sidebarView,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.sidebarView&&this.sourceForm.on("create",this.sidebarView.renderSidebar),this.clear(),this.reopened=!0),_____WB$wombat$check$this$function_____(this)},i.prototype.overlayShouldReopen=function(){return!!this.get()},i.prototype.get=function(){var t;return t=window.localStorage.getItem(this.storageKey),JSON.parse(t)},i.prototype.set=function(t){var e;return e=JSON.stringify(t),window.localStorage.setItem(this.storageKey,e)},i.prototype.clear=function(){return window.localStorage.setItem(this.storageKey,null)},i}(JuicerBackbone.View)}.call(this),function(){var t=function(t,i){function r(){this.constructor=t}for(var n in i)e.call(i,n)&&(t[n]=i[n]);return r.prototype=i.prototype,t.prototype=new r,t.__super__=i.prototype,t},e={}.hasOwnProperty;Juicer.Views.Payment=function(e){function i(){return i.__super__.constructor.apply(this,arguments)}return t(i,e),i.prototype.initialize=function(){return this.toggleYear()},i.prototype.events={"change #year":"toggleYear"},i.prototype.toggleYear=function(){var t,e,i,r,n;return r=this.$("#year"),i=$("[data-price]"),e=$(".simple-plan-monthly"),t=i.data("price"),r.is(":checked")?(n=Math.ceil(12*t-12*t*.1),i.html("$"+n),e.html("/ yr")):(i.html("$"+t),e.html("/ mo"))},i}(JuicerBackbone.View)}.call(this),function(){var t=function(t,i){function r(){this.constructor=t}for(var n in i)e.call(i,n)&&(t[n]=i[n]);return r.prototype=i.prototype,t.prototype=new r,t.__super__=i.prototype,t},e={}.hasOwnProperty;Juicer.Views.Plans=function(e){function i(){return i.__super__.constructor.apply(this,arguments)}return t(i,e),i.prototype.template=JST.plan_change,i.prototype.events={"click [data-plan]":"openNewPlanOverlay"},i.prototype.openNewPlanOverlay=function(t){var e,i;return t.preventDefault(),e=$(t.target),this.model=new Juicer.Models.Plan,this.model.fetch({data:{plan:e.data("plan")},success:(i=_____WB$wombat$check$this$function_____(this),function(){return i.csrf=$('meta[name="csrf-token"]').attr("content"),i.overlay=new Juicer.Views.Overlay({content:i.template({model:i.model,csrf:i.csrf}),element:i.el,width:"50%"}),i.overlay.render()})})},i}(JuicerBackbone.View)}.call(this),function(){var t=function(t,i){function r(){this.constructor=t}for(var n in i)e.call(i,n)&&(t[n]=i[n]);return r.prototype=i.prototype,t.prototype=new r,t.__super__=i.prototype,t},e={}.hasOwnProperty;Juicer.Views.PostEdit=function(e){function i(){return i.__super__.constructor.apply(this,arguments)}return t(i,e),i.prototype.template=JST.post_edit,i.prototype.message=JST["partials/_message"],i.prototype.className="j-overlay",i.prototype.initialize=function(t){return this.setPost(t)},i.prototype.setPost=function(t){var e;return e=this.model.get("posts"),this.post=e.get(t.id)},i.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()},i.prototype.events=function(){return{"input textarea":"updatePreview","submit form":"savePost","change .datetime-external-created-at":"updateTimestamp"}},i.prototype.updatePreview=function(t){return this.post.set("edit",$(t.target).val()),this.$(".message-container").html(this.message({post:this.post}))},i.prototype.updateTimestamp=function(t){return this.post.set("external_created_at",$(t.target).val())},i.prototype.savePost=function(t){return t.preventDefault(),this.post.save(null,{success:(e=_____WB$wombat$check$this$function_____(this),function(t,i){return e.overlay.removeView(),e.model.set(i,{parse:!0}),e.model.trigger("action")}),error:function(){return alert("Something went wrong. Please try again.")}});var e},i}(JuicerBackbone.View)}.call(this),function(){var t=function(t,e){return function(){return t.apply(e,arguments)}},e=function(t,e){function r(){this.constructor=t}for(var n in e)i.call(e,n)&&(t[n]=e[n]);return r.prototype=e.prototype,t.prototype=new r,t.__super__=e.prototype,t},i={}.hasOwnProperty;Juicer.Views.PostOverlay=function(i){function r(){return this.cycleGallery=t(this.cycleGallery,_____WB$wombat$check$this$function_____(this)),this.navigateOverlay=t(this.navigateOverlay,_____WB$wombat$check$this$function_____(this)),r.__super__.constructor.apply(this,arguments)}return e(r,i),r.prototype.template=JST.post_overlay,r.prototype.initialize=function(t){return this.model=t.model,this.setPost(t.target)},r.prototype.triggers=function(){return{"click a.next":"navigateOverlay","click a.previous":"navigateOverlay"}},r.prototype.setPost=function(t){var e;return e=(t=t.is("li.feed-item")?t:t.parents("li.feed-item")).data("id"),this.assignPosts(e)},r.prototype.assignPosts=function(t){var e,i,r,n;if(r=this.model.get("posts"),this.post=r.get(t),i=(e=r.indexOf(this.post))+1<r.length?e+1:0,n=e-1>=0?e-1:r.length-1,this.next=r.at(i),"Juicer"===this.next.sourceType()&&(this.next=r.at(i+1)),this.previous=r.at(n),"Juicer"===this.previous.sourceType())return this.previous=r.at(n-1)},r.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",_____WB$wombat$check$this$function_____(this))},r.prototype.navigateOverlay=function(t){return this.overlay.removeView(),this.assignPosts(t),this.render()},r.prototype.cycleGallery=function(t){return new Juicer.Views.Gallery({target:t,el:this.el,model:this.model})},r}(JuicerBackbone.View)}.call(this),function(){var t=function(t,i){function r(){this.constructor=t}for(var n in i)e.call(i,n)&&(t[n]=i[n]);return r.prototype=i.prototype,t.prototype=new r,t.__super__=i.prototype,t},e={}.hasOwnProperty;Juicer.Views.PosterImageHandler=function(e){function i(){return i.__super__.constructor.apply(this,arguments)}return t(i,e),i.prototype.initialize=function(t){return null==t&&(t={}),this.image=$(t.target),this.feedItem=this.image.parents(".feed-item"),this.postId=this.feedItem.data("id"),this.theme=t.theme,this.feed=t.feed,this.invokeFallback()},i.prototype.invokeFallback=function(){return"polaroid"===this.theme?this.convertToNoPoster():this.hideImage(),Juicer.Views.ImageHandler.reportInvalidImage(this.postId,"poster","feed")},i.prototype.hideImage=function(){return this.logFallback("Hiding the image."),this.image.hide()},i.prototype.convertToNoPoster=function(){return this.logFallback("Converting to a no-poster post."),this.image.parents(".j-post-container").addClass("no-poster"),this.image.parents(".j-poster").hide()},i.prototype.logFallback=function(t){var e;return e=this.feedItem.data("source"),console.log("Juicer: "+e+" post with id "+this.postId+" has a broken poster image. "+t)},i}(JuicerBackbone.View)}.call(this),function(){var t=function(t,i){function r(){this.constructor=t}for(var n in i)e.call(i,n)&&(t[n]=i[n]);return r.prototype=i.prototype,t.prototype=new r,t.__super__=i.prototype,t},e={}.hasOwnProperty;Juicer.Views.SideNav=function(e){function i(){return i.__super__.constructor.apply(this,arguments)}return t(i,e),i.prototype.events={"click li#collapseable":"toggleOtherFeeds"},i.prototype.toggleOtherFeeds=function(t){var e,i;return t.preventDefault(),(e=(i=$(t.target)).next()).is(":visible")?(e.slideUp(),i.removeClass("selected")):(e.slideDown(),i.addClass("selected"))},i}(JuicerBackbone.View)}.call(this),function(){var t=function(t,e){return function(){return t.apply(e,arguments)}},e=function(t,e){function r(){this.constructor=t}for(var n in e)i.call(e,n)&&(t[n]=e[n]);return r.prototype=e.prototype,t.prototype=new r,t.__super__=e.prototype,t},i={}.hasOwnProperty;Juicer.Views.Sidebar=function(i){function r(){return this.openSourceFormFromSources=t(this.openSourceFormFromSources,_____WB$wombat$check$this$function_____(this)),this.closeSubView=t(this.closeSubView,_____WB$wombat$check$this$function_____(this)),this.openSubView=t(this.openSubView,_____WB$wombat$check$this$function_____(this)),this.openNewSource=t(this.openNewSource,_____WB$wombat$check$this$function_____(this)),this.handleSkipOpeningSubView=t(this.handleSkipOpeningSubView,_____WB$wombat$check$this$function_____(this)),this.renderSidebar=t(this.renderSidebar,_____WB$wombat$check$this$function_____(this)),this.reRenderCss=t(this.reRenderCss,_____WB$wombat$check$this$function_____(this)),this.reRender=t(this.reRender,_____WB$wombat$check$this$function_____(this)),this.render=t(this.render,_____WB$wombat$check$this$function_____(this)),r.__super__.constructor.apply(this,arguments)}return e(r,i),r.prototype.template=JST.sidebar,r.prototype.nameEdit=JST["feeds/feed_name_edit"],r.prototype.newSource=JST["feeds/new_source"],r.prototype.initialize=function(t){var e;return this.renderedFromModerationUrl=t.renderedFromModerationUrl,this.renderedFromModerationUrl?this.model=new Juicer.Models.Moderated({slug:t.slug}):this.model=new Juicer.Models.Feed({isOnFeedsDashboard:!0,slug:t.slug,starting_at:t.starting_at,origin:Juicer.Constants.PAGE_URL_DASHBOARD_ORIGIN}),this.model.fetch({success:(e=_____WB$wombat$check$this$function_____(this),function(){if(e.hideLoader(),e.renderSidebar(),null==e.reopener||!e.reopener.reopened)return e.setupNewSources()}),error:function(t){return function(){return t.hideLoader(),alert("Sorry something is going wrong.")}}(_____WB$wombat$check$this$function_____(this))}),this.model.on("action",this.reRender,_____WB$wombat$check$this$function_____(this)),this.model.once("sync",this.initialRender,_____WB$wombat$check$this$function_____(this)),this.model.on("update:colors",this.reRenderCss,_____WB$wombat$check$this$function_____(this))},r.prototype.initialRender=function(){return this.render(!0)},r.prototype.render=function(t){if(null==t&&(t=!1),1===this.model.get("posts").current_page)return this.renderedFromModerationUrl&&t?($(".main-container").addClass("open-right_mobile"),this.renderModeration()):this.feed=new Juicer.Views.Feed({el:".juicer-feed",isOnFeedsDashboard:!0,model:this.model}).render()},r.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.subView=null,this.render()},r.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>")},r.prototype.renderSidebar=function(){return this.$el.html(this.template({feed:this.model})),this.reopener=new Juicer.Views.OverlayReopener({model:this.model,sidebarView:this}).render(this.el)},r.prototype.hideLoader=function(){return jQuery(".loading-overlay").fadeOut()},r.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)},r.prototype.renderModeration=function(){if(this.renderSubView(this.viewMap.moderate,this.$("#moderate")),this.subView)return this.subView.renderModeratedPosts()},r.prototype.events=function(){return{"click .js-feed-name-edit":"renderFeedNameEdit","submit .js-feed-name-edit-form":"updateFeedName","click .add-source":"openNewSource","click .menu-item .js-warning":"handleWarningClick","click .menu-item *[data-skip_opening_sub_view]":"handleSkipOpeningSubView","click .menu-item":"openSubView","change #slug_update":"toggleSlugWarning","click .hide-embed-info-popover":"handleEmbedInfoPopover","click .hide-embed-layout-popover":"handleEmbedLayoutPopover","click .popover-hide-button":"handlePopoverHide"}},r.prototype.handleSkipOpeningSubView=function(t){return t.stopPropagation()},r.prototype.handleWarningClick=function(t){return t.stopPropagation(),jQuery("body").html("<div class='d-flex' style='background:white; height:100vh; width: 100vw; align-items: center; justify-content: center'><div class='j-loading'></div></div>")},r.prototype.openNewSource=function(){return this.overlay=new Juicer.Views.Overlay({content:this.newSource(),width:"85%",element:this.el}),this.overlay.render()},r.prototype.openSubView=function(t){var e,i;if(e=$(t.currentTarget),$(".slide-menu-item").removeClass("active"),e.addClass("active"),"social_accounts"!==e.prop("id"))return t.preventDefault(),i=this.viewMap[e.prop("id")],this.renderSubView(i,e)},r.prototype.closeSubView=function(){return this.subView=null},r.prototype.renderSubView=function(t,e){if((this.subView&&this.subView.$target.prop("id"))!==e.prop("id"))return this.subView&&this.subView.close(),this.subView=new t({feed:this.model,$target:e,sidebarView:this,feedView:this.feed}),this.subView.on("openSourceForm",this.openSourceFormFromSources),this.subView.render()},r.prototype.openSourceFormFromSources=function(t){return this.sourcesView=t,this.openNewSource()},r.prototype.viewMap={
analytics:Juicer.Views.Analytics,design:Juicer.Views.Design,embed:Juicer.Views.Embed,features:Juicer.Views.Features,hub:Juicer.Views.Hub,moderate:Juicer.Views.Moderate,settings:Juicer.Views.Settings,sources:Juicer.Views.Sources,synced:Juicer.Views.Synced},r.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()},r.prototype.updateFeedName=function(t){var e;return t.preventDefault(),e=$(t.target).serializeHash(),this.model.set(e),this.model.save(null,{success:function(t,e){return window.location="/feeds/"+e.slug}})},r.prototype.toggleSlugWarning=function(){return this.$(".slug-warning").toggle()},r.prototype.handleEmbedInfoPopover=function(t){var e;return t.stopPropagation(),Array.from(document.getElementsByClassName("embed-popover")).forEach(function(t){return t.remove()}),e={url:"/tour",type:"PUT",data:$.param({tour:{tour_show_embed_info_block:!1}})},(this.sync||JuicerBackbone.sync).call(this,null,_____WB$wombat$check$this$function_____(this),e)},r.prototype.handleEmbedLayoutPopover=function(){var t;return t={url:"/tour",type:"PUT",data:$.param({tour:{tour_show_embed_layout:!1}})},(this.sync||JuicerBackbone.sync).call(this,null,_____WB$wombat$check$this$function_____(this),t)},r.prototype.handlePopoverHide=function(t){var e,i,r;return t.preventDefault(),t.stopPropagation(),e=t.target.dataset.key,r=t.target.parentNode.parentNode,i=r.parentNode,r.remove(),setTimeout(function(){return r.classList.add("hide-popover"),i.appendChild(r)},200),localStorage.setItem("hide"+e+"Popover",!0)},r}(JuicerBackbone.View)}.call(this),function(){var t=function(t,e){return function(){return t.apply(e,arguments)}},e=function(t,e){function r(){this.constructor=t}for(var n in e)i.call(e,n)&&(t[n]=e[n]);return r.prototype=e.prototype,t.prototype=new r,t.__super__=e.prototype,t},i={}.hasOwnProperty;Juicer.Views.Slider=function(i){function r(){return this.posterImageHandler=t(this.posterImageHandler,_____WB$wombat$check$this$function_____(this)),this.imageHandler=t(this.imageHandler,_____WB$wombat$check$this$function_____(this)),this.setFeedItemHeight=t(this.setFeedItemHeight,_____WB$wombat$check$this$function_____(this)),this.beforeChange=t(this.beforeChange,_____WB$wombat$check$this$function_____(this)),r.__super__.constructor.apply(this,arguments)}return e(r,i),r.prototype.template=JST.feed,r.prototype.initialize=function(t){return this.columns=t.columns,this.interval=t.interval,this.isOnFeedsDashboard=t.isOnFeedsDashboard,this.slidesToShow=this.columns},r.prototype.render=function(){var t,e;return this.$el.append(this.template({isOnFeedsDashboard:this.isOnFeedsDashboard,feed:this.model})),t=this.model.get("height")||300,this.$(".j-image img, li.words, .slick-track").css({height:t}),this.$el.slick(this.sliderSettings()),this.$el.on("beforeChange",this.beforeChange),this.$el.on("afterChange",(e=_____WB$wombat$check$this$function_____(this),function(){return e.trigger("slide")})),window.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()}}(_____WB$wombat$check$this$function_____(this)),300)),_____WB$wombat$check$this$function_____(this)},r.prototype.beforeChange=function(t,e,i,r){if(0===r&&this.model.pollingAllowed())return this.model.fetchNewPosts(!1)},r.prototype.sliderSettings=function(){return jQuery.extend(this.sliderDefaults(),{responsive:this.breakpoints()})},r.prototype.breakpoints=function(){return _u.map(this.breakpointArray,(t=_____WB$wombat$check$this$function_____(this),function(e){return{breakpoint:e[0],settings:{slidesToShow:_u.min([e[1],t.slidesToShow]),slidesToScroll:_u.min([e[1],t.slidesToShow])}}}));var t},r.prototype.breakpointArray=[[1700,6],[1450,5],[1024,4],[960,3],[786,2],[480,1]],r.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}},r.prototype.setBackgroundImages=function(){return _u.each(this.$("[data-image]"),function(t){var e;return(e=jQuery(t)).css("background-image","url('"+e.data("image")+"')")})},r.prototype.setFeedItemHeight=function(t){var e,i;return _u.each(this.$(".j-image img"),function(t){if(t.width>t.height)return jQuery(t).addClass("j-landscape")}),e=this.model.get("height")||300,this.$(".j-image img, li.words, .slick-track").css({height:e}),!this.model.get("lazy_load")&&(null!=t&&_u.each(t.images,(i=_____WB$wombat$check$this$function_____(this),function(t){var e;if(!t.isLoaded)return(e=$(t.img)).parents(".j-poster").length>0?i.posterImageHandler({target:e,feed:i.model,theme:"slider"}):i.imageHandler({target:e,feed:i.model,theme:"slider",testRefreshedImages:!0})})))},r.prototype.imageHandler=function(t){return new Juicer.Views.ImageHandler(t)},r.prototype.posterImageHandler=function(t){return new Juicer.Views.PosterImageHandler(t)},r.prototype.stop=function(){return this.$el.slick("stop")},r.prototype.play=function(){return this.$el.slick("play")},r}(JuicerBackbone.View)}.call(this),function(){var t=function(t,i){function r(){this.constructor=t}for(var n in i)e.call(i,n)&&(t[n]=i[n]);return r.prototype=i.prototype,t.prototype=new r,t.__super__=i.prototype,t},e={}.hasOwnProperty;Juicer.Views.SourceForm=function(e){function i(){return i.__super__.constructor.apply(this,arguments)}return t(i,e),i.prototype.template=JST.source_form,i.prototype.pleaseWait=JST.please_wait,i.prototype.sourceUnavailableForSmallPlan=JST["sources/source_unavailable_for_small_plan"],i.prototype.initialize=function(t){var e;return this.feed=t.feed,(new Juicer.Models.Plan).fetch({success:(e=_____WB$wombat$check$this$function_____(this),function(t){return e.currentPlanName=t.get("plan"),e.isTrial=t.get("trial")})}),this.socialAccounts=t.socialAccounts?t.socialAccounts:this.feed.get("social_accounts"),this.rendered=!1,this.submitting=!1,this.isLoading=!0},i.prototype.events=function(){return{'input #source_term[data-filter_invalid_instagram_hashtag_characters="true"]':"filterInvalidInstagramHashtagCharacters","click .add-a-hashtag li":"openHashtag",'click .js-source[data-term="hashtag"]':"openHashtag",'click .js-source:not([data-term="hashtag"])':"handleOverlay","submit .source-form":"createSource","click .source-type":"redrawOverlay","click a.social-account":"setOverlayStorage","click .search-result":"submitSearchResult"}},i.prototype.filterInvalidInstagramHashtagCharacters=function(){var t,e,i,r,n;if(r=(i=(t=$('#source_term[data-filter_invalid_instagram_hashtag_characters="true"]'))[0]).selectionStart,e=/[# \/]/gi,n=t.val(),e.test(n))return t.val(n.replace(e,"")),r--,i.setSelectionRange(r,r)},i.prototype.handleOverlay=function(t,e){var i,r;return null==e&&(e="username"),(i=$(t.target)).hasClass("j-social-icon")||(i=i.parents(".j-social-icon")),r=i.data("type"),window.mixpanel&&mixpanel.track("ui-action",{action:"social-icon-clicked",source:r,trial:juicerData.user.trial}),juicerUtil.doesPlanContainPlatform(juicerData.user.plan,r)?this.openOverlay({type:e,source:r}):(alert("Sorry, please upgrade to a paid plan to create a "+r+" source."),!1)},i.prototype.openOverlay=function(t){return this.type=t.type,this.source=t.source,"Twitter"!==this.source&&"LinkedIn"!==this.source||"small"!==this.currentPlanName||!1!==this.isTrial?(this.model=new Juicer.Models.Source({source:this.source,term_type:this.type}),this.renderOverlay()):new Juicer.Views.Overlay({content:this.sourceUnavailableForSmallPlan({source:this.source}),element:this.el,width:"50%"}).render()},i.prototype.openHashtag=function(t){return this.handleOverlay(t,"hashtag")},i.prototype.drawTemplate=function(){return this.template({source:this.model,feed:this.feed,type:this.type,results:this.results,socialAccounts:this.socialAccounts,isLoading:this.isLoading})},i.prototype.renderOverlay=function(){return this.overlay=new Juicer.Views.Overlay({content:this.drawTemplate(),element:this.el,width:"50%",close:!0}),this.overlay.render(),this.resultsNeedFetching()?(this.fetchResults(this.type),this.isLoading=!1):this.instagramHashtagStatusNeedsFetching()?(this.fetchInstagramHashtagStatus(),this.isLoading=!1):void 0},i.prototype.resultsNeedFetching=function(){var t;return t=this.socialAccounts.socialAccount("facebook"),"Facebook"===this.source&&t&&_u.contains(["username","groups","reviews"],this.type)&&this.rendered!==this.type},i.prototype.redrawOverlay=function(t){return t.preventDefault(),this.type=$(t.target).data("type"),this.overlay.removeView(),this.renderOverlay()},i.prototype.fetchResults=function(t){return null==t&&(t="groups"),this.results=new Juicer.Collections.FacebookResults({type:t}),this.results.fetch({success:(e=_____WB$wombat$check$this$function_____(this),function(){return e.rendered=e.type,e.renderOverlay()}),error:function(t){return function(){if(t.results.reset(),t.rendered=t.type,t.renderOverlay(),confirm("Something went wrong. Hit okay to go to the social accounts page and reset your Facebook token."))return window.location="/social-accounts"}}(_____WB$wombat$check$this$function_____(this))});var e},i.prototype.instagramHashtagStatusNeedsFetching=function(){return"Instagram"===this.source&&"hashtag"===this.type&&"hashtag"!==this.rendered},i.prototype.setMissingInstagramBusinessAccounts=function(){return this.socialAccounts.findAllWithProvider("facebook").forEach(function(t){return t.set({instagramBusinessAccounts:[]})})},i.prototype.fetchInstagramHashtagStatus=function(){var t;if(this.socialAccounts.socialAccount("facebook"))return this.results=new Juicer.Collections.InstagramBusinessAccounts,this.results.fetch({success:(t=_____WB$wombat$check$this$function_____(this),function(e){return 0===e.length&&t.setMissingInstagramBusinessAccounts(),t.rendered="hashtag",t.renderOverlay()}),error:function(t){return function(){return t.setMissingInstagramBusinessAccounts(),t.rendered="hashtag",t.renderOverlay()}}(_____WB$wombat$check$this$function_____(this))})},i.prototype.createSource=function(t){var e,i;if(t.preventDefault(),!this.submitting)return this.submitting=!0,(e=$(t.target)).find("input[type=submit]").hide(),e.append("<div class='j-loading'>Loading...</div>"),this.timeout=setTimeout((i=_____WB$wombat$check$this$function_____(this),function(){return e.append(i.pleaseWait())}),5e3),e.find("ul.errors").remove(),this.submitSource(e.serializeHash())},i.prototype.submitSource=function(t){return this.model.set(t),this.model.save(null,{success:(e=_____WB$wombat$check$this$function_____(this),function(t,i){return e.submitting=!1,e.feedObject().set(i,{parse:!0}),e.feed.trigger("action"),e.timeout&&window.clearInterval(e.timeout),e.trigger("create",e.feed),juicerUtil.showFlashMessage(i.juicer_flash_message)}),error:function(t){return function(e,i){return t.submitting=!1,t.timeout&&window.clearInterval(t.timeout),new Juicer.Views.Errors({el:t.$("form"),errors:i,source:Juicer.Constants.PROVIDER_TO_SOURCE_MAP[t.model.findProvider()]||t.source})}}(_____WB$wombat$check$this$function_____(this))});var e},i.prototype.feedObject=function(){return this.feed||(this.feed=new Juicer.Models.Feed)},i.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")},i.prototype.setOverlayStorage=function(t){return t.preventDefault(),(new Juicer.Views.OverlayReopener).set({type:this.type,source:this.source}),window.location=jQuery(t.target).attr("href")},i}(JuicerBackbone.View)}.call(this),function(){var t=function(t,i){function r(){this.constructor=t}for(var n in i)e.call(i,n)&&(t[n]=i[n]);return r.prototype=i.prototype,t.prototype=new r,t.__super__=i.prototype,t},e={}.hasOwnProperty;Juicer.Views.UserAccount=function(e){function i(){return i.__super__.constructor.apply(this,arguments)}return t(i,e),i.prototype.initialize=function(){return this.toggleDigest()},i.prototype.events={"change input[type=checkbox]":"toggleDigest"},i.prototype.toggleDigest=function(){var t,e;return e=this.$("#user_digest"),t=this.$(".digest-label"),this.$("input[type=checkbox]").is(":checked")?(e.removeAttr("disabled"),t.removeClass("disabled")):(e.attr("disabled","disabled"),t.addClass("disabled"),e.val("Never"))},i}(JuicerBackbone.View)}.call(this),function(){var t=function(t,e){return function(){return t.apply(e,arguments)}},e=function(t,e){function r(){this.constructor=t}for(var n in e)i.call(e,n)&&(t[n]=e[n]);return r.prototype=e.prototype,t.prototype=new r,t.__super__=e.prototype,t},i={}.hasOwnProperty;Juicer.Views.Widget=function(i){function r(){return this.addPost=t(this.addPost,_____WB$wombat$check$this$function_____(this)),this.showNextPost=t(this.showNextPost,_____WB$wombat$check$this$function_____(this)),this.setPosts=t(this.setPosts,_____WB$wombat$check$this$function_____(this)),r.__super__.constructor.apply(this,arguments)}return e(r,i),r.prototype.template=JST.widget,r.prototype.card=JST["partials/_widget_card"],r.prototype.referral=JST["partials/_referral"],r.prototype.customCss=JST["partials/_custom_styles"],r.prototype.initialize=function(t){return this.interval=t.interval,this.isOnFeedsDashboard=t.isOnFeedsDashboard,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=_____WB$wombat$check$this$function_____(this),this.id=setInterval(this.showNextPost,this.interval)},r.prototype.setPosts=function(){return this.posts=this.model.get("posts").models},r.prototype.render=function(){return this.$el.append(this.template({model:this.model,first:this.posts[this.index],isOnFeedsDashboard:this.isOnFeedsDashboard,second:this.posts[this.index+1]})),this.container=this.$(".flip-container"),this.handleReferral(),this.handleBrokenImages(),this.$el.append(this.customCss({feed:this.model}))},r.prototype.handleBrokenImages=function(){return new Juicer.Views.BrokenImage({el:this.el,feed:this.model})},r.prototype.showNextPost=function(){if(this.container.toggleClass("flip"),setTimeout(this.addPost,600),this.index++,this.index>=this.posts.length-1)return this.model.pollingAllowed()&&this.model.fetchNewPosts(!1),this.index=-1},r.prototype.addPost=function(){return this.element().html(this.card({isOnFeedsDashboard:this.isOnFeedsDashboard,post:this.posts[this.index+1],truncate:this.truncate})),this.handleBrokenImages()},r.prototype.element=function(){return this.container.hasClass("flip")?this.$(".front"):this.$(".back")},r.prototype.other=function(){return this.element().siblings()},r.prototype.handleReferral=function(){if(this.model.paid()||this.isOnFeedsDashboard||this.$el.find("h1.referral").length>0||this.$el.append(this.referral()),this.model.paid())return this.$el.find("h1.referral").remove()},r.prototype.close=function(){return null!=this.id&&window.clearInterval(this.id),this.$el.empty().off(),this.stopListening(),_____WB$wombat$check$this$function_____(this)},r}(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="https:"+Juicer.Constants.API_ROOT),Juicer.Constants.BASE_URL="https://www.juicer.io",Juicer.Constants.FACEBOOK_APP_ID="731223346944897",Juicer.Constants.FEED_CLASSES=["modern","night","polaroid","image-grid","widget","slider","hip","living-wall"],Juicer.Constants.HELP_CENTER_URL="http://help.juicer.io/hc/en-us",Juicer.Constants.MINIMUM_ENTERPRISE_FEE_IN_DOLLARS=199,Juicer.Constants.PAID_ONLY_PLATFORMS=[],Juicer.Constants.PLATFORMS_WITHOUT_LIKES=["LinkedIn","Instagram","Blog","Giphy"],Juicer.Constants.PAID_PLANS=["medium","large","enterprise","custom","archive"],Juicer.Constants.SOURCES_REQUIRING_OAUTH_TOKENS=["Facebook","Instagram","Slack","Twitter","TwitterAPIv2","TikTok"],Juicer.Constants.SOURCES_WHERE_POSTS_CAN_BE_ADDED_MANUALLY=["Facebook","LinkedIn","Soundcloud","Tumblr","Twitter","Vimeo","YouTube"],Juicer.Constants.SOURCE_TO_PROVIDER_MAP={Facebook:"facebook",Instagram:"instagram_basic_display",Slack:"slack",Tumblr:"tumblr",Twitter:"twitter",TwitterAPIv2:"twitter",TikTok:"tiktok"},Juicer.Constants.PROVIDER_TO_SOURCE_MAP={facebook:"Facebook",instagram_basic_display:"Instagram",slack:"Slack",tumblr:"Tumblr",twitter:"Twitter",tiktok:"TikTok"},Juicer.Constants.PROVIDERS_WITH_MULTIPLE_SOCIAL_ACCOUNTS=["instagram_basic_display","instagramreels"],Juicer.Constants.STRIPE_PUBLISHABLE_KEY="pk_live_O4R3D1OryggCLZEsquEjTNBW",Juicer.Constants.SVG_ICONS={externalLink:'<svg class="external-link" style="" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M432 320h-32a16 16 0 00-16 16v112H64V128h144a16 16 0 0016-16V80a16 16 0 00-16-16H48a48 48 0 00-48 48v352a48 48 0 0048 48h352a48 48 0 0048-48V336a16 16 0 00-16-16zM488 0H360c-21 0-32 26-17 41l36 36-244 243a24 24 0 000 34l23 23a24 24 0 0034 0l243-244 36 36c15 15 41 5 41-17V24a24 24 0 00-24-24z"/></svg>',play:'<svg class="" style="" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1366 768"><path d="M683 79a303 303 0 01281 186 303 303 0 01-65 335 304 304 0 01-521-216 303 303 0 01186-281c38-16 78-24 119-24m0-40a345 345 0 100 690 345 345 0 000-690z"/><path d="M592 557c-13 0-15-15-15-21V232c0-6 2-21 14-21 5 0 10 2 15 5l263 152c8 4 13 10 13 16s-5 12-13 16L606 552c-5 3-10 5-14 5z"/><path d="M592 222c1 0 4 0 9 3l263 152c6 3 8 7 8 7s-2 4-8 8L601 544c-5 3-8 3-9 3l-2-1c-1-1-3-4-3-10V232c0-5 2-9 3-10h2m0-20c-15 0-25 11-25 30v304c0 20 10 31 24 31 6 0 13-2 20-6l263-152c24-13 24-36 0-50L611 208c-7-4-14-6-19-6z"/></svg>'},Juicer.Constants.PAGE_URL_EMBED_CODE_ORIGIN="embed-code",Juicer.Constants.PAGE_URL_DASHBOARD_ORIGIN="dashboard";


}}