Antikythera/js/st.js

82 lines
406 KiB
JavaScript
Raw Permalink Normal View History

2018-01-30 03:46:03 +00:00
!function(){"use strict";window.__st_moment=window.moment,window.__st_rome=window.rome}(),/*!
* jQuery JavaScript Library v1.11.1
* http://jquery.com/
*
* Includes Sizzle.js
* http://sizzlejs.com/
*
* Copyright 2005, 2014 jQuery Foundation, Inc. and other contributors
* Released under the MIT license
* http://jquery.org/license
*
* Date: 2014-05-01T17:42Z
*/
function(t,e){"object"==typeof module&&"object"==typeof module.exports?module.exports=t.document?e(t,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return e(t)}:e(t)}("undefined"!=typeof window?window:this,function(t,e){function n(t){var e=t.length,n=rt.type(t);return"function"!==n&&!rt.isWindow(t)&&(!(1!==t.nodeType||!e)||"array"===n||0===e||"number"==typeof e&&e>0&&e-1 in t)}function i(t,e,n){if(rt.isFunction(e))return rt.grep(t,function(t,i){return!!e.call(t,i,t)!==n});if(e.nodeType)return rt.grep(t,function(t){return t===e!==n});if("string"==typeof e){if(ht.test(e))return rt.filter(e,t,n);e=rt.filter(e,t)}return rt.grep(t,function(t){return rt.inArray(t,e)>=0!==n})}function r(t,e){do{t=t[e]}while(t&&1!==t.nodeType);return t}function o(t){var e=vt[t]={};return rt.each(t.match(_t)||[],function(t,n){e[n]=!0}),e}function s(){dt.addEventListener?(dt.removeEventListener("DOMContentLoaded",a,!1),t.removeEventListener("load",a,!1)):(dt.detachEvent("onreadystatechange",a),t.detachEvent("onload",a))}function a(){(dt.addEventListener||"load"===event.type||"complete"===dt.readyState)&&(s(),rt.ready())}function l(t,e,n){if(n===undefined&&1===t.nodeType){var i="data-"+e.replace(Tt,"-$1").toLowerCase();if("string"==typeof(n=t.getAttribute(i))){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:xt.test(n)?rt.parseJSON(n):n)}catch(t){}rt.data(t,e,n)}else n=undefined}return n}function u(t){var e;for(e in t)if(("data"!==e||!rt.isEmptyObject(t[e]))&&"toJSON"!==e)return!1;return!0}function c(t,e,n,i){if(rt.acceptData(t)){var r,o,s=rt.expando,a=t.nodeType,l=a?rt.cache:t,u=a?t[s]:t[s]&&s;if(u&&l[u]&&(i||l[u].data)||n!==undefined||"string"!=typeof e)return u||(u=a?t[s]=Y.pop()||rt.guid++:s),l[u]||(l[u]=a?{}:{toJSON:rt.noop}),"object"!=typeof e&&"function"!=typeof e||(i?l[u]=rt.extend(l[u],e):l[u].data=rt.extend(l[u].data,e)),o=l[u],i||(o.data||(o.data={}),o=o.data),n!==undefined&&(o[rt.camelCase(e)]=n),"string"==typeof e?null==(r=o[e])&&(r=o[rt.camelCase(e)]):r=o,r}}function p(t,e,n){if(rt.acceptData(t)){var i,r,o=t.nodeType,s=o?rt.cache:t,a=o?t[rt.expando]:rt.expando;if(s[a]){if(e&&(i=n?s[a]:s[a].data)){rt.isArray(e)?e=e.concat(rt.map(e,rt.camelCase)):e in i?e=[e]:(e=rt.camelCase(e),e=e in i?[e]:e.split(" ")),r=e.length;for(;r--;)delete i[e[r]];if(n?!u(i):!rt.isEmptyObject(i))return}(n||(delete s[a].data,u(s[a])))&&(o?rt.cleanData([t],!0):nt.deleteExpando||s!=s.window?delete s[a]:s[a]=null)}}}function h(){return!0}function f(){return!1}function d(){try{return dt.activeElement}catch(t){}}function y(t){var e=Lt.split("|"),n=t.createDocumentFragment();if(n.createElement)for(;e.length;)n.createElement(e.pop());return n}function m(t,e){var n,i,r=0,o=typeof t.getElementsByTagName!==St?t.getElementsByTagName(e||"*"):typeof t.querySelectorAll!==St?t.querySelectorAll(e||"*"):undefined;if(!o)for(o=[],n=t.childNodes||t;null!=(i=n[r]);r++)!e||rt.nodeName(i,e)?o.push(i):rt.merge(o,m(i,e));return e===undefined||e&&rt.nodeName(t,e)?rt.merge([t],o):o}function g(t){Rt.test(t.type)&&(t.defaultChecked=t.checked)}function _(t,e){return rt.nodeName(t,"table")&&rt.nodeName(11!==e.nodeType?e:e.firstChild,"tr")?t.getElementsByTagName("tbody")[0]||t.appendChild(t.ownerDocument.createElement("tbody")):t}function v(t){return t.type=(null!==rt.find.attr(t,"type"))+"/"+t.type,t}function w(t){var e=zt.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function b(t,e){for(var n,i=0;null!=(n=t[i]);i++)rt._data(n,"globalEval",!e||rt._data(e[i],"globalEval"))}function S(t,e){if(1===e.nodeType&&rt.hasData(t)){var n,i,r,o=rt._data(t),s=rt._data(e,o),a=o.events;if(a){delete s.handle,s.events={};for(n in a)for(i=0,r=a[n].length;i<r;i++)rt.event.add(e,n,a[n][i])}s.data&&(s.data=rt.extend({},s.data))}}function x(t,e){var n,i,r;if(1===e.nodeType){if(n=e.nodeName.toLowerCase(),!nt.noCloneEvent&&e[rt.expando]){r=rt._data(e);for(i in r.events)rt.removeEvent(e,i,r.handle);e.removeAttribute(rt.expando)}"script"===n&&e.text!==t.text?(v(e).text=t.text,w(e)):"object"===n?(e.parentNode&&(e.outerHTML=t.outerHTML),nt.html5Clo
* Sizzle CSS Selector Engine v1.10.19
* http://sizzlejs.com/
*
* Copyright 2013 jQuery Foundation, Inc. and other contributors
* Released under the MIT license
* http://jquery.org/license
*
* Date: 2014-04-18
*/
function(t){function e(t,e,n,i){var r,o,s,a,l,u,p,f,d,y;if((e?e.ownerDocument||e:P)!==A&&E(e),e=e||A,n=n||[],!t||"string"!=typeof t)return n;if(1!==(a=e.nodeType)&&9!==a)return[];if(k&&!i){if(r=_t.exec(t))if(s=r[1]){if(9===a){if(!(o=e.getElementById(s))||!o.parentNode)return n;if(o.id===s)return n.push(o),n}else if(e.ownerDocument&&(o=e.ownerDocument.getElementById(s))&&j(e,o)&&o.id===s)return n.push(o),n}else{if(r[2])return Z.apply(n,e.getElementsByTagName(t)),n;if((s=r[3])&&b.getElementsByClassName&&e.getElementsByClassName)return Z.apply(n,e.getElementsByClassName(s)),n}if(b.qsa&&(!L||!L.test(t))){if(f=p=$,d=e,y=9===a&&t,1===a&&"object"!==e.nodeName.toLowerCase()){for(u=C(t),(p=e.getAttribute("id"))?f=p.replace(wt,"\\$&"):e.setAttribute("id",f),f="[id='"+f+"'] ",l=u.length;l--;)u[l]=f+h(u[l]);d=vt.test(t)&&c(e.parentNode)||e,y=u.join(",")}if(y)try{return Z.apply(n,d.querySelectorAll(y)),n}catch(t){}finally{p||e.removeAttribute("id")}}}return F(t.replace(lt,"$1"),e,n,i)}function n(){function t(n,i){return e.push(n+" ")>S.cacheLength&&delete t[e.shift()],t[n+" "]=i}var e=[];return t}function i(t){return t[$]=!0,t}function r(t){var e=A.createElement("div");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function o(t,e){for(var n=t.split("|"),i=t.length;i--;)S.attrHandle[n[i]]=e}function s(t,e){var n=e&&t,i=n&&1===t.nodeType&&1===e.nodeType&&(~e.sourceIndex||Y)-(~t.sourceIndex||Y);if(i)return i;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function a(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function l(t){return function(e){var n=e.nodeName.toLowerCase();return("input"===n||"button"===n)&&e.type===t}}function u(t){return i(function(e){return e=+e,i(function(n,i){for(var r,o=t([],n.length,e),s=o.length;s--;)n[r=o[s]]&&(n[r]=!(i[r]=n[r]))})})}function c(t){return t&&typeof t.getElementsByTagName!==W&&t}function p(){}function h(t){for(var e=0,n=t.length,i="";e<n;e++)i+=t[e].value;return i}function f(t,e,n){var i=e.dir,r=n&&"parentNode"===i,o=U++;return e.first?function(e,n,o){for(;e=e[i];)if(1===e.nodeType||r)return t(e,n,o)}:function(e,n,s){var a,l,u=[q,o];if(s){for(;e=e[i];)if((1===e.nodeType||r)&&t(e,n,s))return!0}else for(;e=e[i];)if(1===e.nodeType||r){if(l=e[$]||(e[$]={}),(a=l[i])&&a[0]===q&&a[1]===o)return u[2]=a[2];if(l[i]=u,u[2]=t(e,n,s))return!0}}}function d(t){return t.length>1?function(e,n,i){for(var r=t.length;r--;)if(!t[r](e,n,i))return!1;return!0}:t[0]}function y(t,n,i){for(var r=0,o=n.length;r<o;r++)e(t,n[r],i);return i}function m(t,e,n,i,r){for(var o,s=[],a=0,l=t.length,u=null!=e;a<l;a++)(o=t[a])&&(n&&!n(o,i,r)||(s.push(o),u&&e.push(a)));return s}function g(t,e,n,r,o,s){return r&&!r[$]&&(r=g(r)),o&&!o[$]&&(o=g(o,s)),i(function(i,s,a,l){var u,c,p,h=[],f=[],d=s.length,g=i||y(e||"*",a.nodeType?[a]:a,[]),_=!t||!i&&e?g:m(g,h,t,a,l),v=n?o||(i?t:d||r)?[]:s:_;if(n&&n(_,v,a,l),r)for(u=m(v,f),r(u,[],a,l),c=u.length;c--;)(p=u[c])&&(v[f[c]]=!(_[f[c]]=p));if(i){if(o||t){if(o){for(u=[],c=v.length;c--;)(p=v[c])&&u.push(_[c]=p);o(null,v=[],u,l)}for(c=v.length;c--;)(p=v[c])&&(u=o?et.call(i,p):h[c])>-1&&(i[u]=!(s[u]=p))}}else v=m(v===s?v.splice(d,v.length):v),o?o(null,s,v,l):Z.apply(s,v)})}function _(t){for(var e,n,i,r=t.length,o=S.relative[t[0].type],s=o||S.relative[" "],a=o?1:0,l=f(function(t){return t===e},s,!0),u=f(function(t){return et.call(e,t)>-1},s,!0),c=[function(t,n,i){return!o&&(i||n!==I)||((e=n).nodeType?l(t,n,i):u(t,n,i))}];a<r;a++)if(n=S.relative[t[a].type])c=[f(d(c),n)];else{if(n=S.filter[t[a].type].apply(null,t[a].matches),n[$]){for(i=++a;i<r&&!S.relative[t[i].type];i++);return g(a>1&&d(c),a>1&&h(t.slice(0,a-1).concat({value:" "===t[a-2].type?"*":""})).replace(lt,"$1"),n,a<i&&_(t.slice(a,i)),i<r&&_(t=t.slice(i)),i<r&&h(t))}c.push(n)}return d(c)}function v(t,n){var r=n.length>0,o=t.length>0,s=function(i,s,a,l,u){var c,p,h,f=0,d="0",y=i&&[],g=[],_=I,v=i||o&&S.find.TAG("*",u),w=q+=null==_?1:Math.random()||.1,b=v.length;for(u&&(I=s!==A&&s);d!==b&&null!=(c=v[d]);d++){if(o&&c){for(p=0;h=t[p++];)if(h(c,s,a)){l.push(c);break}u&
e.isTrigger=r?2:3,e.namespace=d.join("."),e.namespace_re=e.namespace?new RegExp("(^|\\.)"+d.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=undefined,e.target||(e.target=i),n=null==n?[e]:rt.makeArray(n,[e]),u=rt.event.special[f]||{},r||!u.trigger||u.trigger.apply(i,n)!==!1)){if(!r&&!u.noBubble&&!rt.isWindow(i)){for(l=u.delegateType||f,Ot.test(l+f)||(a=a.parentNode);a;a=a.parentNode)h.push(a),c=a;c===(i.ownerDocument||dt)&&h.push(c.defaultView||c.parentWindow||t)}for(p=0;(a=h[p++])&&!e.isPropagationStopped();)e.type=p>1?l:u.bindType||f,o=(rt._data(a,"events")||{})[e.type]&&rt._data(a,"handle"),o&&o.apply(a,n),(o=s&&a[s])&&o.apply&&rt.acceptData(a)&&(e.result=o.apply(a,n),e.result===!1&&e.preventDefault());if(e.type=f,!r&&!e.isDefaultPrevented()&&(!u._default||u._default.apply(h.pop(),n)===!1)&&rt.acceptData(i)&&s&&i[f]&&!rt.isWindow(i)){c=i[s],c&&(i[s]=null),rt.event.triggered=f;try{i[f]()}catch(t){}rt.event.triggered=undefined,c&&(i[s]=c)}return e.result}},dispatch:function(t){t=rt.event.fix(t);var e,n,i,r,o,s=[],a=G.call(arguments),l=(rt._data(this,"events")||{})[t.type]||[],u=rt.event.special[t.type]||{};if(a[0]=t,t.delegateTarget=this,!u.preDispatch||u.preDispatch.call(this,t)!==!1){for(s=rt.event.handlers.call(this,t,l),e=0;(r=s[e++])&&!t.isPropagationStopped();)for(t.currentTarget=r.elem,o=0;(i=r.handlers[o++])&&!t.isImmediatePropagationStopped();)t.namespace_re&&!t.namespace_re.test(i.namespace)||(t.handleObj=i,t.data=i.data,(n=((rt.event.special[i.origType]||{}).handle||i.handler).apply(r.elem,a))!==undefined&&(t.result=n)===!1&&(t.preventDefault(),t.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,t),t.result}},handlers:function(t,e){var n,i,r,o,s=[],a=e.delegateCount,l=t.target;if(a&&l.nodeType&&(!t.button||"click"!==t.type))for(;l!=this;l=l.parentNode||this)if(1===l.nodeType&&(l.disabled!==!0||"click"!==t.type)){for(r=[],o=0;o<a;o++)i=e[o],n=i.selector+" ",r[n]===undefined&&(r[n]=i.needsContext?rt(n,this).index(l)>=0:rt.find(n,this,null,[l]).length),r[n]&&r.push(i);r.length&&s.push({elem:l,handlers:r})}return a<e.length&&s.push({elem:this,handlers:e.slice(a)}),s},fix:function(t){if(t[rt.expando])return t;var e,n,i,r=t.type,o=t,s=this.fixHooks[r];for(s||(this.fixHooks[r]=s=At.test(r)?this.mouseHooks:Et.test(r)?this.keyHooks:{}),i=s.props?this.props.concat(s.props):this.props,t=new rt.Event(o),e=i.length;e--;)n=i[e],t[n]=o[n];return t.target||(t.target=o.srcElement||dt),3===t.target.nodeType&&(t.target=t.target.parentNode),t.metaKey=!!t.metaKey,s.filter?s.filter(t,o):t},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(t,e){return null==t.which&&(t.which=null!=e.charCode?e.charCode:e.keyCode),t}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(t,e){var n,i,r,o=e.button,s=e.fromElement;return null==t.pageX&&null!=e.clientX&&(i=t.target.ownerDocument||dt,r=i.documentElement,n=i.body,t.pageX=e.clientX+(r&&r.scrollLeft||n&&n.scrollLeft||0)-(r&&r.clientLeft||n&&n.clientLeft||0),t.pageY=e.clientY+(r&&r.scrollTop||n&&n.scrollTop||0)-(r&&r.clientTop||n&&n.clientTop||0)),!t.relatedTarget&&s&&(t.relatedTarget=s===t.target?e.toElement:s),t.which||o===undefined||(t.which=1&o?1:2&o?3:4&o?2:0),t}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==d()&&this.focus)try{return this.focus(),!1}catch(t){}},delegateType:"focusin"},blur:{trigger:function(){if(this===d()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if(rt.nodeName(this,"input")&&"checkbox"===this.type&&this.click)return this.click(),!1},_default:function(t){return rt.nodeName(t.target,"a")}},beforeunload:{postDispatch:function(t){t.result!==undefined&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}},simulate:function(t,e,n,i){var r=rt.extend(new rt.Event,n,{type:t,isSimulated:!0,originalEvent:{}});i?rt.event.trigger(r,null,e):r
for(o=0;r=e[o++];)for(;i.indexOf(" "+r+" ")>=0;)i=i.replace(" "+r+" "," ");s=t?rt.trim(i):"",n.className!==s&&(n.className=s)}return this},toggleClass:function(t,e){var n=typeof t;return"boolean"==typeof e&&"string"===n?e?this.addClass(t):this.removeClass(t):rt.isFunction(t)?this.each(function(n){rt(this).toggleClass(t.call(this,n,this.className,e),e)}):this.each(function(){if("string"===n)for(var e,i=0,r=rt(this),o=t.match(_t)||[];e=o[i++];)r.hasClass(e)?r.removeClass(e):r.addClass(e);else n!==St&&"boolean"!==n||(this.className&&rt._data(this,"__className__",this.className),this.className=this.className||t===!1?"":rt._data(this,"__className__")||"")})},hasClass:function(t){for(var e=" "+t+" ",n=0,i=this.length;n<i;n++)if(1===this[n].nodeType&&(" "+this[n].className+" ").replace(Ie," ").indexOf(e)>=0)return!0;return!1}}),rt.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(t,e){rt.fn[e]=function(t,n){return arguments.length>0?this.on(e,null,t,n):this.trigger(e)}}),rt.fn.extend({hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)},bind:function(t,e,n){return this.on(t,null,e,n)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,n,i){return this.on(e,t,n,i)},undelegate:function(t,e,n){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",n)}});var Re=rt.now(),Me=/\?/,Ee=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;rt.parseJSON=function(e){if(t.JSON&&t.JSON.parse)return t.JSON.parse(e+"");var n,i=null,r=rt.trim(e+"");return r&&!rt.trim(r.replace(Ee,function(t,e,r,o){return n&&e&&(i=0),0===i?t:(n=r||e,i+=!o-!r,"")}))?Function("return "+r)():rt.error("Invalid JSON: "+e)},rt.parseXML=function(e){var n,i;if(!e||"string"!=typeof e)return null;try{t.DOMParser?(i=new DOMParser,n=i.parseFromString(e,"text/xml")):(n=new ActiveXObject("Microsoft.XMLDOM"),n.async="false",n.loadXML(e))}catch(t){n=undefined}return n&&n.documentElement&&!n.getElementsByTagName("parsererror").length||rt.error("Invalid XML: "+e),n};var Ae,Oe,ke=/#.*$/,Le=/([?&])_=[^&]*/,Qe=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Ne=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,je=/^(?:GET|HEAD)$/,$e=/^\/\//,Pe=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,qe={},Ue={},Be="*/".concat("*");try{Oe=location.href}catch(t){Oe=dt.createElement("a"),Oe.href="",Oe=Oe.href}Ae=Pe.exec(Oe.toLowerCase())||[],rt.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Oe,type:"GET",isLocal:Ne.test(Ae[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Be,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":rt.parseJSON,"text xml":rt.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?q(q(t,rt.ajaxSettings),e):q(rt.ajaxSettings,t)},ajaxPrefilter:$(qe),ajaxTransport:$(Ue),ajax:function(t,e){function n(t,e,n,i){var r,c,g,_,w,S=e;2!==v&&(v=2,a&&clearTimeout(a),u=undefined,s=i||"",b.readyState=t>0?4:0,r=t>=200&&t<300||304===t,n&&(_=U(p,b,n)),_=B(p,_,b,r),r?(p.ifModified&&(w=b.getResponseHeader("Last-Modified"),w&&(rt.lastModified[o]=w),(w=b.getResponseHeader("etag"))&&(rt.etag[o]=w)),204===t||"HEAD"===p.type?S="nocontent":304===t?S="notmodified":(S=_.state,c=_.data,g=_.error,r=!g)):(g=S,!t&&S||(S="error",t<0&&(t=0))),b.status=t,b.statusText=(e||S)+"",r?d.resolveWith(h,[c,S,b]):d.rejectWith(h,[b,S,g]),b.statusCode(m),m=undefined,l&&f.trigger(r?"ajaxSuccess":"ajaxError",[b,p,r?c:g]),y.fireWith(h,[b,S]),l&&(f.trigger("ajaxComplete",[b,p]),--rt.active||rt.event.trigger("ajaxStop")))}"object"==typeof t&&(e=t,t=undefined),e=e||{};var i,r,o,s,a,l,u,c,p=rt.ajaxSetup({}
void 0===jQuery.migrateMute&&(jQuery.migrateMute=!0),function(t,e,n){function i(n){var i=e.console;o[n]||(o[n]=!0,t.migrateWarnings.push(n),i&&i.warn&&!t.migrateMute&&(i.warn("JQMIGRATE: "+n),t.migrateTrace&&i.trace&&i.trace()))}function r(e,r,o,s){if(Object.defineProperty)try{return Object.defineProperty(e,r,{configurable:!0,enumerable:!0,get:function(){return i(s),o},set:function(t){i(s),o=t}}),n}catch(t){}t._definePropertyBroken=!0,e[r]=o}var o={};t.migrateWarnings=[],!t.migrateMute&&e.console&&e.console.log&&e.console.log("JQMIGRATE: Logging is active"),t.migrateTrace===n&&(t.migrateTrace=!0),t.migrateReset=function(){o={},t.migrateWarnings.length=0},"BackCompat"===document.compatMode&&i("jQuery is not compatible with Quirks Mode");var s=t("<input/>",{size:1}).attr("size")&&t.attrFn,a=t.attr,l=t.attrHooks.value&&t.attrHooks.value.get||function(){return null},u=t.attrHooks.value&&t.attrHooks.value.set||function(){return n},c=/^(?:input|button)$/i,p=/^[238]$/,h=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,f=/^(?:checked|selected)$/i;r(t,"attrFn",s||{},"jQuery.attrFn is deprecated"),t.attr=function(e,r,o,l){var u=r.toLowerCase(),d=e&&e.nodeType;return l&&(4>a.length&&i("jQuery.fn.attr( props, pass ) is deprecated"),e&&!p.test(d)&&(s?r in s:t.isFunction(t.fn[r])))?t(e)[r](o):("type"===r&&o!==n&&c.test(e.nodeName)&&e.parentNode&&i("Can't change the 'type' of an input or button in IE 6/7/8"),!t.attrHooks[u]&&h.test(u)&&(t.attrHooks[u]={get:function(e,i){var r,o=t.prop(e,i);return o===!0||"boolean"!=typeof o&&(r=e.getAttributeNode(i))&&r.nodeValue!==!1?i.toLowerCase():n},set:function(e,n,i){var r;return n===!1?t.removeAttr(e,i):(r=t.propFix[i]||i,r in e&&(e[r]=!0),e.setAttribute(i,i.toLowerCase())),i}},f.test(u)&&i("jQuery.fn.attr('"+u+"') may use property instead of attribute")),a.call(t,e,r,o))},t.attrHooks.value={get:function(t,e){var n=(t.nodeName||"").toLowerCase();return"button"===n?l.apply(this,arguments):("input"!==n&&"option"!==n&&i("jQuery.fn.attr('value') no longer gets properties"),e in t?t.value:null)},set:function(t,e){var r=(t.nodeName||"").toLowerCase();return"button"===r?u.apply(this,arguments):("input"!==r&&"option"!==r&&i("jQuery.fn.attr('value', val) no longer sets properties"),t.value=e,n)}};var d,y,m=t.fn.init,g=t.parseJSON,_=/^([^<]*)(<[\w\W]+>)([^>]*)$/;t.fn.init=function(e,n,r){var o;return e&&"string"==typeof e&&!t.isPlainObject(n)&&(o=_.exec(t.trim(e)))&&o[0]&&("<"!==e.charAt(0)&&i("$(html) HTML strings must start with '<' character"),o[3]&&i("$(html) HTML text after last tag is ignored"),"#"===o[0].charAt(0)&&(i("HTML string cannot start with a '#' character"),t.error("JQMIGRATE: Invalid selector string (XSS)")),n&&n.context&&(n=n.context),t.parseHTML)?m.call(this,t.parseHTML(o[2],n,!0),n,r):m.apply(this,arguments)},t.fn.init.prototype=t.fn,t.parseJSON=function(t){return t||null===t?g.apply(this,arguments):(i("jQuery.parseJSON requires a valid JSON string"),null)},t.uaMatch=function(t){t=t.toLowerCase();var e=/(chrome)[ \/]([\w.]+)/.exec(t)||/(webkit)[ \/]([\w.]+)/.exec(t)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(t)||/(msie) ([\w.]+)/.exec(t)||0>t.indexOf("compatible")&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(t)||[];return{browser:e[1]||"",version:e[2]||"0"}},t.browser||(d=t.uaMatch(navigator.userAgent),y={},d.browser&&(y[d.browser]=!0,y.version=d.version),y.chrome?y.webkit=!0:y.webkit&&(y.safari=!0),t.browser=y),r(t,"browser",t.browser,"jQuery.browser is deprecated"),t.sub=function(){function e(t,n){return new e.fn.init(t,n)}t.extend(!0,e,this),e.superclass=this,e.fn=e.prototype=this(),e.fn.constructor=e,e.sub=this.sub,e.fn.init=function(i,r){return r&&r instanceof t&&!(r instanceof e)&&(r=e(r)),t.fn.init.call(this,i,r,n)},e.fn.init.prototype=e.fn;var n=e(document);return i("jQuery.sub() is deprecated"),e},t.ajaxSetup({converters:{"text json":t.parseJSON}});var v=t.fn.data;t.fn.data=function(e){var r,o,s=this[0];return!s||"events"!==e||1!==arguments.length||(r=t.data(s,e),o=t._data(s,e),r!==n&&r!==o||o===n)?v.apply(
* Hashcode.js 1.0.2
* https://github.com/stuartbannerman/hashcode
*
* Copyright 2013 Stuart Bannerman (me@stuartbannerman.com)
* Released under the MIT license
*
* Date: 07-04-2013
*/
function(t){t.Hashcode=function(){var t=function(t){var e,t=t.toString(),n=0;for(e=0;e<t.length;e++)n=(n<<5)-n+t.charCodeAt(e)&4294967295;return n},e=function(e){var i=0;for(var r in e)e.hasOwnProperty(r)&&(i+=t(r+n(e[r])));return i},n=function(n){var i={string:t,number:t,"boolean":t,object:e},r=typeof n;return null!=n&&i[r]?i[r](n)+t(r):0};return{value:n}}()}(window),function(t){"use strict";var e=t._InternalSwiftype=t._InternalSwiftype||{};e.ClickRecord=function(t,e,n){this._resultId=t,this._count=e,this._last=n},e.ClickRecord.fromObject=function(t){return new e.ClickRecord(t.resultId,t.count,t.last)},e.ClickRecord.fromResultId=function(t){return new e.ClickRecord(t,0,(new Date).getTime())};var n=e.ClickRecord.prototype;n.getResultId=function(){return this._resultId},n.getCount=function(){return this._count},n.getLastClicked=function(){return this._last},n.incrementCount=function(t){this._count=this._count+(t||1)},n.updateLastClicked=function(t){this._last=t||(new Date).getTime()},n.hashcode=function(){return Hashcode.value(this._resultId)},n.toObject=function(){return{resultId:this.getResultId(),count:this.getCount(),last:this.getLastClicked()}}}(window),function(t,e){"use strict";var n=t._InternalSwiftype=t._InternalSwiftype||{};n.QueryRecord=function(t,e,n,i){this._legalQueryKeys=["q","sort_field","sort_direction","filters"],this._query=this._sanitizeQuery(t),this._count=e,this._last=n,this._clickRecords=i},n.QueryRecord.fromObject=function(t){var i={};return e.each(t.clicks,function(t,e){var r=n.ClickRecord.fromObject(e);i[t]=r}),new n.QueryRecord(t.query,t.count,t.last,i)},n.QueryRecord.fromQuery=function(t){return new n.QueryRecord(t,0,(new Date).getTime(),{})};var i=n.QueryRecord.prototype;i.getQuery=function(){return this._query},i.getQueryString=function(){return this._query.q},i.getCount=function(){return this._count},i.lastExecutedAt=function(){return this._last},i.getClickRecords=function(){return this._clickRecords},i.getLastClickRecord=function(){var t=null;return e.each(this.getClickRecords(),function(e,n){(!t||n.getLastClicked()>t.getLastClicked())&&(t=n)}),t},i.getClickResultIds=function(){return e.map(this.getClickRecords(),function(t){return t.getResultId()})},i.registerClickByResultId=function(t){var e=n.ClickRecord.fromResultId(t);e=this.getClickRecords()[e.hashcode()]||e,e.incrementCount(),e.updateLastClicked(),this.getClickRecords()[e.hashcode()]=e},i.updateLastExecuted=function(t){this._last=t||(new Date).getTime()},i.incrementCount=function(t){this._count=this._count+(t||1)},i.hashcode=function(){return Hashcode.value(this.getQuery())},i.toObject=function(){var t={};return e.each(this.getClickRecords(),function(e,n){t[e]=n.toObject()}),{query:this.getQuery(),count:this.getCount(),last:this.lastExecutedAt(),clicks:t}},i._sanitizeQuery=function(t){var n={};return e.each(this._legalQueryKeys,function(e,i){t[i]&&(n[i]=t[i])}),n}}(window,jQuery),function(t,e){"use strict";var n=t._InternalSwiftype=t._InternalSwiftype||{};n.InstallRecord=function(t,e){this._installKey=t,this._queryRecords=e},n.InstallRecord.fromObject=function(t){var i={};return e.each(t.queries,function(t,e){i[t]=n.QueryRecord.fromObject(e)}),new n.InstallRecord(t.installKey,i)},n.InstallRecord.fromInstallKey=function(t){return new n.InstallRecord(t,{})};var i=n.InstallRecord.prototype;i.getInstallKey=function(){return this._installKey},i.registerQuery=function(t){var e=this._getQueryForFullQuery(t);e.incrementCount(),e.updateLastExecuted()},i.registerClickForQuery=function(t,e){this._getQueryForFullQuery(t).registerClickByResultId(e)},i.getMostRecentClickAndQuery=function(){var t=null,n=null;return e.each(this.getQueryRecords(),function(i,r){e.each(r.getClickRecords(),function(e,i){(null===t||i.getLastClicked()>t.getLastClicked())&&(t=i,n=r)})}),{queryRecord:n,clickRecord:t}},i.getRecentResultIds=function(){var t=10,n=[];return e.each(this.getQueryRecords(),function(i,r){return e.each(r.getClickResultIds(),function(e,i){return n.push(i),n.length<t}),n.length<t}),n},i.getLastQueryExecutionTime=function(){var t=this.getLastExecutedQ
1===t?"one":"other"}}),IntlMessageFormat.__addLocaleData({locale:"he",pluralRuleFunction:function(t){var e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return t=Math.floor(t),1===e&&0===n?"one":2===e&&0===n?"two":0!==n||t>=0&&t<=10||t%10!=0?"other":"many"}}),IntlMessageFormat.__addLocaleData({locale:"hi",pluralRuleFunction:function(t){var e=Math.floor(Math.abs(t));return t=Math.floor(t),0===e||1===t?"one":"other"}}),IntlMessageFormat.__addLocaleData({locale:"hr",pluralRuleFunction:function(t){var e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length,i=parseInt(t.toString().replace(/^[^.]*\.?/,""),10);return t=Math.floor(t),0===n&&e%10==1&&(e%100!=11||i%10==1&&i%100!=11)?"one":0===n&&e%10===Math.floor(e%10)&&e%10>=2&&e%10<=4&&(!(e%100>=12&&e%100<=14)||i%10===Math.floor(i%10)&&i%10>=2&&i%10<=4&&!(i%100>=12&&i%100<=14))?"few":"other"}}),IntlMessageFormat.__addLocaleData({locale:"hu",pluralRuleFunction:function(t){return t=Math.floor(t),1===t?"one":"other"}}),IntlMessageFormat.__addLocaleData({locale:"hy",pluralRuleFunction:function(t){var e=Math.floor(Math.abs(t));return t=Math.floor(t),0===e||1===e?"one":"other"}}),IntlMessageFormat.__addLocaleData({locale:"id",pluralRuleFunction:function(){return"other"}}),IntlMessageFormat.__addLocaleData({locale:"ig",pluralRuleFunction:function(){return"other"}}),IntlMessageFormat.__addLocaleData({locale:"ii",pluralRuleFunction:function(){return"other"}}),IntlMessageFormat.__addLocaleData({locale:"is",pluralRuleFunction:function(t){var e=Math.floor(Math.abs(t)),n=parseInt(t.toString().replace(/^[^.]*\.?|0+$/g,""),10);return t=Math.floor(t),0!==n||e%10!=1||e%100==11&&0===n?"other":"one"}}),IntlMessageFormat.__addLocaleData({locale:"it",pluralRuleFunction:function(t){var e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return t=Math.floor(t),1===e&&0===n?"one":"other"}}),IntlMessageFormat.__addLocaleData({locale:"ja",pluralRuleFunction:function(){return"other"}}),IntlMessageFormat.__addLocaleData({locale:"jgo",pluralRuleFunction:function(t){return t=Math.floor(t),1===t?"one":"other"}}),IntlMessageFormat.__addLocaleData({locale:"jmc",pluralRuleFunction:function(t){return t=Math.floor(t),1===t?"one":"other"}}),IntlMessageFormat.__addLocaleData({locale:"ka",pluralRuleFunction:function(t){return t=Math.floor(t),1===t?"one":"other"}}),IntlMessageFormat.__addLocaleData({locale:"kab",pluralRuleFunction:function(t){var e=Math.floor(Math.abs(t));return t=Math.floor(t),0===e||1===e?"one":"other"}}),IntlMessageFormat.__addLocaleData({locale:"kde",pluralRuleFunction:function(){return"other"}}),IntlMessageFormat.__addLocaleData({locale:"kea",pluralRuleFunction:function(){return"other"}}),IntlMessageFormat.__addLocaleData({locale:"kk",pluralRuleFunction:function(t){return t=Math.floor(t),1===t?"one":"other"}}),IntlMessageFormat.__addLocaleData({locale:"kkj",pluralRuleFunction:function(t){return t=Math.floor(t),1===t?"one":"other"}}),IntlMessageFormat.__addLocaleData({locale:"kl",pluralRuleFunction:function(t){return t=Math.floor(t),1===t?"one":"other"}}),IntlMessageFormat.__addLocaleData({locale:"km",pluralRuleFunction:function(){return"other"}}),IntlMessageFormat.__addLocaleData({locale:"kn",pluralRuleFunction:function(t){var e=Math.floor(Math.abs(t));return t=Math.floor(t),0===e||1===t?"one":"other"}}),IntlMessageFormat.__addLocaleData({locale:"ko",pluralRuleFunction:function(){return"other"}}),IntlMessageFormat.__addLocaleData({locale:"ks",pluralRuleFunction:function(t){return t=Math.floor(t),1===t?"one":"other"}}),IntlMessageFormat.__addLocaleData({locale:"ksb",pluralRuleFunction:function(t){return t=Math.floor(t),1===t?"one":"other"}}),IntlMessageFormat.__addLocaleData({locale:"ksh",pluralRuleFunction:function(t){return t=Math.floor(t),0===t?"zero":1===t?"one":"other"}}),IntlMessageFormat.__addLocaleData({locale:"kw",pluralRuleFunction:function(t){return t=Math.floor(t),1===t?"one":2===t?"two":"other"}}),IntlMessageFormat.__addLocaleData({locale:"ky",pluralRuleFunction:function(t){return t=Math.floor(t),1===t?"one":"other"}}),IntlM
this.coords.p_from_real=this.checkMaxInterval(this.coords.p_from_real,this.coords.p_to_real,"from"),this.coords.p_from=this.toFixed(this.coords.p_from_real/100*t);break;case"to":if(this.options.to_fixed)break;this.coords.p_to_real=this.calcWithStep(e/t*100),this.coords.p_to_real<this.coords.p_from_real&&(this.coords.p_to_real=this.coords.p_from_real),this.coords.p_to_real=this.checkDiapason(this.coords.p_to_real,this.options.to_min,this.options.to_max),this.coords.p_to_real=this.checkMinInterval(this.coords.p_to_real,this.coords.p_from_real,"to"),this.coords.p_to_real=this.checkMaxInterval(this.coords.p_to_real,this.coords.p_from_real,"to"),this.coords.p_to=this.toFixed(this.coords.p_to_real/100*t);break;case"both":if(this.options.from_fixed||this.options.to_fixed)break;e=this.toFixed(e+.1*this.coords.p_handle),this.coords.p_from_real=this.calcWithStep((e-this.coords.p_gap_left)/t*100),this.coords.p_from_real=this.checkDiapason(this.coords.p_from_real,this.options.from_min,this.options.from_max),this.coords.p_from_real=this.checkMinInterval(this.coords.p_from_real,this.coords.p_to_real,"from"),this.coords.p_from=this.toFixed(this.coords.p_from_real/100*t),this.coords.p_to_real=this.calcWithStep((e+this.coords.p_gap_right)/t*100),this.coords.p_to_real=this.checkDiapason(this.coords.p_to_real,this.options.to_min,this.options.to_max),this.coords.p_to_real=this.checkMinInterval(this.coords.p_to_real,this.coords.p_from_real,"to"),this.coords.p_to=this.toFixed(this.coords.p_to_real/100*t)}"single"===this.options.type?(this.coords.p_bar_x=this.coords.p_handle/2,this.coords.p_bar_w=this.coords.p_single,this.result.from_percent=this.coords.p_single_real,this.result.from=this.calcReal(this.coords.p_single_real),this.options.values.length&&(this.result.from_value=this.options.values[this.result.from])):(this.coords.p_bar_x=this.toFixed(this.coords.p_from+this.coords.p_handle/2),this.coords.p_bar_w=this.toFixed(this.coords.p_to-this.coords.p_from),this.result.from_percent=this.coords.p_from_real,this.result.from=this.calcReal(this.coords.p_from_real),this.result.to_percent=this.coords.p_to_real,this.result.to=this.calcReal(this.coords.p_to_real),this.options.values.length&&(this.result.from_value=this.options.values[this.result.from],this.result.to_value=this.options.values[this.result.to])),this.calcMinMax(),this.calcLabels()}},calcPointer:function(){this.coords.w_rs?(0>this.coords.x_pointer||isNaN(this.coords.x_pointer)?this.coords.x_pointer=0:this.coords.x_pointer>this.coords.w_rs&&(this.coords.x_pointer=this.coords.w_rs),this.coords.p_pointer=this.toFixed(this.coords.x_pointer/this.coords.w_rs*100)):this.coords.p_pointer=0},chooseHandle:function(t){return"single"===this.options.type?"single":t>=this.coords.p_from_real+(this.coords.p_to_real-this.coords.p_from_real)/2?this.options.to_fixed?"from":"to":this.options.from_fixed?"to":"from"},calcMinMax:function(){this.coords.w_rs&&(this.labels.p_min=this.labels.w_min/this.coords.w_rs*100,this.labels.p_max=this.labels.w_max/this.coords.w_rs*100)},calcLabels:function(){this.coords.w_rs&&!this.options.hide_from_to&&("single"===this.options.type?(this.labels.w_single=this.$cache.single.outerWidth(!1),this.labels.p_single=this.labels.w_single/this.coords.w_rs*100,this.labels.p_single_left=this.coords.p_single+this.coords.p_handle/2-this.labels.p_single/2):(this.labels.w_from=this.$cache.from.outerWidth(!1),this.labels.p_from=this.labels.w_from/this.coords.w_rs*100,this.labels.p_from_left=this.coords.p_from+this.coords.p_handle/2-this.labels.p_from/2,this.labels.p_from_left=this.toFixed(this.labels.p_from_left),this.labels.p_from_left=this.checkEdges(this.labels.p_from_left,this.labels.p_from),this.labels.w_to=this.$cache.to.outerWidth(!1),this.labels.p_to=this.labels.w_to/this.coords.w_rs*100,this.labels.p_to_left=this.coords.p_to+this.coords.p_handle/2-this.labels.p_to/2,this.labels.p_to_left=this.toFixed(this.labels.p_to_left),this.labels.p_to_left=this.checkEdges(this.labels.p_to_left,this.labels.p_to),this.labels.w_single=this.$cache.single.outerWidth(!1),this.labels.p_single=this.la
//! moment.js
//! version : 2.10.3
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
//! license : MIT
//! momentjs.com
//! THIS IS A MODIFIED VERSION -- hamedahmadi 19/06/2015
function(t,e){t.moment=e()}(this,function(){"use strict";function t(){return Mn.apply(null,arguments)}function e(t){Mn=t}function n(t){return"[object Array]"===Object.prototype.toString.call(t)}function i(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function r(t,e){var n,i=[];for(n=0;n<t.length;++n)i.push(e(t[n],n));return i}function o(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function s(t,e){for(var n in e)o(e,n)&&(t[n]=e[n]);return o(e,"toString")&&(t.toString=e.toString),o(e,"valueOf")&&(t.valueOf=e.valueOf),t}function a(t,e,n,i){return Ct(t,e,n,i,!0).utc()}function l(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1}}function u(t){return null==t._pf&&(t._pf=l()),t._pf}function c(t){if(null==t._isValid){var e=u(t);t._isValid=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidMonth&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated,t._strict&&(t._isValid=t._isValid&&0===e.charsLeftOver&&0===e.unusedTokens.length&&e.bigHour===undefined)}return t._isValid}function p(t){var e=a(NaN);return null!=t?s(u(e),t):u(e).userInvalidated=!0,e}function h(t,e){var n,i,r;if("undefined"!=typeof e._isAMomentObject&&(t._isAMomentObject=e._isAMomentObject),"undefined"!=typeof e._i&&(t._i=e._i),"undefined"!=typeof e._f&&(t._f=e._f),"undefined"!=typeof e._l&&(t._l=e._l),"undefined"!=typeof e._strict&&(t._strict=e._strict),"undefined"!=typeof e._tzm&&(t._tzm=e._tzm),"undefined"!=typeof e._isUTC&&(t._isUTC=e._isUTC),"undefined"!=typeof e._offset&&(t._offset=e._offset),"undefined"!=typeof e._pf&&(t._pf=u(e)),"undefined"!=typeof e._locale&&(t._locale=e._locale),An.length>0)for(n in An)i=An[n],void 0!==(r=e[i])&&(t[i]=r);return t}function f(e){h(this,e),this._d=new Date(+e._d),On===!1&&(On=!0,t.updateOffset(this),On=!1)}function d(t){return t instanceof f||null!=t&&null!=t._isAMomentObject}function y(t){var e=+t,n=0;return 0!==e&&isFinite(e)&&(n=e>=0?Math.floor(e):Math.ceil(e)),n}function m(t,e,n){var i,r=Math.min(t.length,e.length),o=Math.abs(t.length-e.length),s=0;for(i=0;i<r;i++)(n&&t[i]!==e[i]||!n&&y(t[i])!==y(e[i]))&&s++;return s+o}function g(){}function _(t){return t?t.toLowerCase().replace("_","-"):t}function v(t){for(var e,n,i,r,o=0;o<t.length;){for(r=_(t[o]).split("-"),e=r.length,n=_(t[o+1]),n=n?n.split("-"):null;e>0;){if(i=w(r.slice(0,e).join("-")))return i;if(n&&n.length>=e&&m(r,n,!0)>=e-1)break;e--}o++}return null}function w(t){var e=null;if(!kn[t]&&"undefined"!=typeof module&&module&&module.exports)try{e=En._abbr,require("./locale/"+t),b(e)}catch(t){}return kn[t]}function b(t,e){var n;return t&&(n=void 0===e?x(t):S(t,e))&&(En=n),En._abbr}function S(t,e){return null!==e?(e.abbr=t,kn[t]||(kn[t]=new g),kn[t].set(e),b(t),kn[t]):(delete kn[t],null)}function x(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return En;if(!n(t)){if(e=w(t))return e;t=[t]}return v(t)}function T(t,e){var n=t.toLowerCase();Ln[n]=Ln[n+"s"]=Ln[e]=t}function C(t){return"string"==typeof t?Ln[t]||Ln[t.toLowerCase()]:undefined}function D(t){var e,n,i={};for(n in t)o(t,n)&&(e=C(n))&&(i[e]=t[n]);return i}function F(e,n){return function(i){return null!=i?(R(this,e,i),t.updateOffset(this,n),this):I(this,e)}}function I(t,e){return t._d["get"+(t._isUTC?"UTC":"")+e]()}function R(t,e,n){return t._d["set"+(t._isUTC?"UTC":"")+e](n)}function M(t,e){var n;if("object"==typeof t)for(n in t)this.set(n,t[n]);else if(t=C(t),"function"==typeof this[t])return this[t](e);return this}function E(t,e,n){for(var i=""+Math.abs(t),r=t>=0;i.length<e;)i="0"+i;return(r?n?"+":"":"-")+i}function A(t,e,n,i){var r=i;"string"==typeof i&&(r=function(){return this[i]()}),t&&($n[t]=r),e&&($n[e[0]]=function(){return E(r.apply(this,arguments),e[1],e[2])}),n&&($n[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),t)})}function O(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function k(t){var e,n,i=t.match(Qn);for(e=0,n=i.length;e<n;e++)$n[i[e]]?i[e]=$n[i[e]]:i[e]=O(i[e]);return functio
;var Ui=Math.abs,Bi=bn("ms"),Hi=bn("s"),Vi=bn("m"),zi=bn("h"),Wi=bn("d"),Yi=bn("w"),Gi=bn("M"),Ki=bn("y"),Ji=xn("milliseconds"),Xi=xn("seconds"),Zi=xn("minutes"),tr=xn("hours"),er=xn("days"),nr=xn("months"),ir=xn("years"),rr=Math.round,or={s:45,m:45,h:22,d:26,M:11},sr=Math.abs,ar=Mt.prototype;return ar.abs=hn,ar.add=dn,ar.subtract=yn,ar.as=vn,ar.asMilliseconds=Bi,ar.asSeconds=Hi,ar.asMinutes=Vi,ar.asHours=zi,ar.asDays=Wi,ar.asWeeks=Yi,ar.asMonths=Gi,ar.asYears=Ki,ar.valueOf=wn,ar._bubble=mn,ar.get=Sn,ar.milliseconds=Ji,ar.seconds=Xi,ar.minutes=Zi,ar.hours=tr,ar.days=er,ar.weeks=Tn,ar.months=nr,ar.years=ir,ar.humanize=In,ar.toISOString=Rn,ar.toString=Rn,ar.toJSON=Rn,ar.locale=ye,ar.localeData=me,ar.toIsoString=X("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Rn),ar.lang=Ci,A("X",0,0,"unix"),A("x",0,0,"valueOf"),N("x",Kn),N("X",Xn),P("X",function(t,e,n){n._d=new Date(1e3*parseFloat(t,10))}),P("x",function(t,e,n){n._d=new Date(y(t))}),t.version="2.10.3",e(Dt),t.fn=Qi,t.min=It,t.max=Rt,t.utc=a,t.unix=Ye,t.months=an,t.isDate=i,t.locale=b,t.invalid=p,t.duration=Wt,t.isMoment=d,t.weekdays=un,t.parseZone=Ge,t.localeData=x,t.isDuration=Et,t.monthsShort=ln,t.weekdaysMin=pn,t.defineLocale=S,t.weekdaysShort=cn,t.normalizeUnits=C,t.relativeTimeThreshold=Fn,t}),function(t){var e;"undefined"!=typeof window?e=window:"undefined"!=typeof global?e=global:"undefined"!=typeof self&&(e=self),e.rome=t()}(function(){return function t(e,n,i){function r(s,a){if(!n[s]){if(!e[s]){var l="function"==typeof require&&require;if(!a&&l)return l(s,!0);if(o)return o(s,!0);throw new Error("Cannot find module '"+s+"'")}var u=n[s]={exports:{}};e[s][0].call(u.exports,function(t){var n=e[s][1][t];return r(n?n:t)},u,u.exports,t,e,n,i)}return n[s].exports}for(var o="function"==typeof require&&require,s=0;s<i.length;s++)r(i[s]);return r}({1:[function(t,e){function n(){}var i=e.exports={};i.nextTick=function(){var t="undefined"!=typeof window&&window.setImmediate,e="undefined"!=typeof window&&window.postMessage&&window.addEventListener;if(t)return function(t){return window.setImmediate(t)};if(e){var n=[];return window.addEventListener("message",function(t){var e=t.source;(e===window||null===e)&&"process-tick"===t.data&&(t.stopPropagation(),n.length>0)&&n.shift()()},!0),function(t){n.push(t),window.postMessage("process-tick","*")}}return function(t){setTimeout(t,0)}}(),i.title="browser",i.browser=!0,i.env={},i.argv=[],i.on=n,i.addListener=n,i.once=n,i.off=n,i.removeListener=n,i.removeAllListeners=n,i.emit=n,i.binding=function(){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(){throw new Error("process.chdir is not supported")}},{}],2:[function(t,e){"use strict";function n(t,e,n){function s(){m.sleeping=!0}function a(){return l()}function l(t){var n=e.getBoundingClientRect(),i=document.body.scrollTop||document.documentElement.scrollTop;return g?(t=g.read(),{x:(t.absolute?0:n.left)+t.x,y:(t.absolute?0:n.top)+i+t.y+20}):{x:n.left,y:n.top+i}}function u(t){c(t)}function c(n){if(d)throw new Error("Bullseye can't refresh after being destroyed. Create another instance instead.");if(g&&!n)return m.sleeping=!1,void g.refresh();var i=l(n);g||e===t||(i.y+=e.offsetHeight),t.style.left=i.x+"px",t.style.top=i.y+"px"}function p(){g&&g.destroy(),i.remove(window,"resize",y),d=!0}var h=n,f=e&&e.tagName;f||2!==arguments.length||(h=e),f||(e=t),h||(h={});var d=!1,y=r(c,30),m={update:h.autoupdateToCaret!==!1&&u},g=h.caret&&o(e,m);return c(),h.tracking!==!1&&i.add(window,"resize",y),{read:a,refresh:c,destroy:p,sleep:s}}var i=t("crossvent"),r=t("./throttle"),o=t("./tailormade");e.exports=n},{"./tailormade":5,"./throttle":6,crossvent:3}],3:[function(t,e){(function(t){"use strict";function n(t,e,n,i){return t.addEventListener(e,n,i)}function i(t,e,n){return t.attachEvent("on"+e,l(t,e,n))}function r(t,e,n,i){return t.removeEventListener(e,n,i)}function o(t,e,n){return t.detachEvent("on"+e,u(t,e,n))}function s(t,e){var n;p.createEvent?(n=p.createEvent("Event"),n.initEvent(e,!0,!0),t.dispatchEvent(n)):p.cre
;for(r=0,o=l.length;r<o&&l[r]!==e;r+=1);r>=o&&(l.push(e),0===o&&window.setTimeout(i,0))}},t(document).on("focusin",function(t){o(),n(t.target)&&r(t.target)}).on("focusout",o).on("input",s).on("selectionchange",function(t){if(document.selection){var e=document.selection.createRange();if(e){var n=e.parentElement();n&&(t.target=n,s(t))}}})}(jQuery),/*!
* jQuery-ajaxTransport-XDomainRequest - v1.0.3 - 2014-06-06
* https://github.com/MoonScript/jQuery-ajaxTransport-XDomainRequest
* Copyright (c) 2014 Jason Moon (@JSONMOON)
* Licensed MIT (/blob/master/LICENSE.txt)
*/
function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports?module.exports=t(require("jquery")):t(jQuery)}(function(t){if(!t.support.cors&&t.ajaxTransport&&window.XDomainRequest){var e=/^https?:\/\//i,n=/^get|post$/i,i=new RegExp("^"+location.protocol,"i");t.ajaxTransport("* text html xml json",function(r,o){if(r.crossDomain&&r.async&&n.test(r.type)&&e.test(r.url)&&i.test(r.url)){var s=null;return{send:function(e,n){var i="",a=(o.dataType||"").toLowerCase();s=new XDomainRequest,/^\d+$/.test(o.timeout)&&(s.timeout=o.timeout),s.ontimeout=function(){n(500,"timeout")},s.onload=function(){var e="Content-Length: "+s.responseText.length+"\r\nContent-Type: "+s.contentType,i={code:200,message:"success"},r={text:s.responseText};try{if("html"===a||/text\/html/i.test(s.contentType))r.html=s.responseText;else if("json"===a||"text"!==a&&/\/json/i.test(s.contentType))try{r.json=t.parseJSON(s.responseText)}catch(t){i.code=500,i.message="parseerror"}else if("xml"===a||"text"!==a&&/\/xml/i.test(s.contentType)){var o=new ActiveXObject("Microsoft.XMLDOM");o.async=!1;try{o.loadXML(s.responseText)}catch(t){o=undefined}if(!o||!o.documentElement||o.getElementsByTagName("parsererror").length)throw i.code=500,i.message="parseerror","Invalid XML: "+s.responseText;r.xml=o}}catch(t){throw t}finally{n(i.code,i.message,r,e)}},s.onprogress=function(){},s.onerror=function(){n(500,"error",{text:s.responseText})},o.data&&(i="string"===t.type(o.data)?o.data:t.param(o.data)),s.open(r.type,r.url),s.send(i)},abort:function(){s&&s.abort()}}}})}}),function(){Function.prototype.bind||(Function.prototype.bind=function(t){if("function"!=typeof this)throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable");var e=Array.prototype.slice.call(arguments,1),n=this,i=function(){},r=function(){return n.apply(this instanceof i&&t?this:t,e.concat(Array.prototype.slice.call(arguments)))};return i.prototype=this.prototype,r.prototype=new i,r}),Date.now||(Date.now=function(){return(new Date).getTime()})}(),function(t){"use strict";function e(){}function n(){try{return document.activeElement}catch(t){}}function i(t,e){for(var n=0,i=t.length;i>n;n++)if(t[n]===e)return!0;return!1}function r(t,e,n){return t.addEventListener?t.addEventListener(e,n,!1):t.attachEvent?t.attachEvent("on"+e,n):void 0}function o(t,e){var n;t.createTextRange?(n=t.createTextRange(),n.move("character",e),n.select()):t.selectionStart&&(t.focus(),t.setSelectionRange(e,e))}function s(t,e){try{return t.type=e,!0}catch(t){return!1}}function a(t,e){if(t&&t.getAttribute(F))e(t);else for(var n,i=t?t.getElementsByTagName("input"):$,r=t?t.getElementsByTagName("textarea"):P,o=i?i.length:0,s=r?r.length:0,a=o+s,l=0;a>l;l++)n=o>l?i[l]:r[l-o],e(n)}function l(t){a(t,c)}function u(t){a(t,p)}function c(t,e){var n=!!e&&t.value!==e,i=t.value===t.getAttribute(F);if((n||i)&&"true"===t.getAttribute(I)){t.removeAttribute(I),t.value=t.value.replace(t.getAttribute(F),""),t.className=t.className.replace(D,"");var r=t.getAttribute(k);parseInt(r,10)>=0&&(t.setAttribute("maxLength",r),t.removeAttribute(k));var o=t.getAttribute(R);return o&&(t.type=o),!0}return!1}function p(t){var e=t.getAttribute(F);return!(""!==t.value||!e)&&(t.setAttribute(I,"true"),t.value=e,t.className+=" "+C,t.getAttribute(k)||(t.setAttribute(k,t.maxLength),t.removeAttribute("maxLength")),t.getAttribute(R)?t.type="text":"password"===t.type&&s(t,"text")&&t.setAttribute(R,"password"),!0)}function h(t){return function(){q&&t.value===t.getAttribute(F)&&"true"===t.getAttribute(I)?o(t,0):c(t)}}function f(t){return function(){p(t)}}function d(t){return function(){l(t)}}function y(t){return function(e){return b=t.value,"true"===t.getAttribute(I)&&b===t.getAttribute(F)&&i(x,e.keyCode)?(e.preventDefault&&e.preventDefault(),!1):void 0}}function m(t){return function(){c(t,b),""===t.value&&(t.blur(),o(t,0))}}function g(t){return function(){t===n()&&t.value===t.getAttribute(F)&&"true"===t.getAttribute(I)&&o(t,0)}}function _(t){var e=t.form;e&&"string"==typeof e&&(e=document.getElementById(e),e.getAttribute(M)|
* Cross-Browser Split 1.1.1
* Copyright 2007-2012 Steven Levithan <stevenlevithan.com>
* Available under the MIT License
* ECMAScript compliant, uniform cross-browser split method
*/
var split;split=split||function(t){var e,n=String.prototype.split,i=/()??/.exec("")[1]===t;return e=function(e,r,o){if("[object RegExp]"!==Object.prototype.toString.call(r))return n.call(e,r,o);var s,a,l,u,c=[],p=(r.ignoreCase?"i":"")+(r.multiline?"m":"")+(r.extended?"x":"")+(r.sticky?"y":""),h=0,r=new RegExp(r.source,p+"g");for(e+="",i||(s=new RegExp("^"+r.source+"$(?!\\s)",p)),o=o===t?-1>>>0:o>>>0;(a=r.exec(e))&&!((l=a.index+a[0].length)>h&&(c.push(e.slice(h,a.index)),!i&&a.length>1&&a[0].replace(s,function(){for(var e=1;e<arguments.length-2;e++)arguments[e]===t&&(a[e]=t)}),a.length>1&&a.index<e.length&&Array.prototype.push.apply(c,a.slice(1)),u=a[0].length,h=l,c.length>=o));)r.lastIndex===a.index&&r.lastIndex++;return h===e.length?!u&&r.test("")||c.push(""):c.push(e.slice(h)),c.length>o?c.slice(0,o):c},String.prototype.split=function(t,n){return e(this,t,n)},e}(),"undefined"!=typeof exports&&("undefined"!=typeof module&&module.exports&&(exports=module.exports=Liquid),exports.Liquid=Liquid),Liquid.registerFilters({sectionify:function(t,e,n){function i(t){return t.find("em").first().text().length}var r=null;if(e){var o=jQuery("<div>"+e+"</div>");if(n){var s=jQuery("<div>"+n+"</div>");i(o)>i(s)&&(r=o.text())}else r=o.text()}return r&&t.indexOf("#")<0&&(t=t+"#sts="+r),t},imgix:function(t,e,n){if(jQuery.isArray(t)&&(t=t[0]),!t)return t;t=String(t).replace(/&amp;/g,"&"),t=encodeURIComponent(t);var i={w:e,h:n,dpr:window.devicePixelRatio};return"//swiftype2.imgix.net/"+t+"?"+jQuery.param(jQuery.extend({},{fit:"clip"},i))},dateInLocale:function(t,e){var n=new Date(Date.parse(t)),i=new IntlMessageFormat("{date, date, "+e+"}",_st_tmp_global_locale),r={date:n};return i.format(r)},numberInLocale:function(t){var e={number:t};return new IntlMessageFormat("{number, number}",_st_tmp_global_locale).format(e)},currencyInLocale:function(t,e){var n={number:{}};n.number[e]={style:"currency",currency:e};var i={number:t};return new IntlMessageFormat("{number, number, "+e+"}",_st_tmp_global_locale,n).format(i)},escapeUrl:function(t){if(jQuery.isArray(t)&&(t=t[0]),t)return String(t).replace(/&amp;/g,"&")}}),Liquid.Template.registerTag("translate",Liquid.Tag.extend({tagSyntax:/(\w+)/,init:function(t,e,n){var i=e.match(this.tagSyntax);if(!i)throw"Syntax error in 'translate' - Valid syntax: translate [message]";this.message=i[1],this._super(t,e,n)},_extractNameAndValueFrom:function(t,e){var n;try{n=e.get(t)}catch(t){return null}return void 0!==n&&null!==n?[t.replace(/[^A-Z0-9_]/gi,"_"),n]:[t,null]},_effectiveMessageAndValuesFrom:function(t,e){for(var n="",i={},r=t,o=/^([^{]+){([^},\s]+)/im;;){var s=r.match(o);if(!s){n+=r;break}var a=s[1],l=s[2],u=r.substring(s[0].length);n+=a;var c=this._extractNameAndValueFrom(l,e);c?(n+="{"+c[0],i[c[0]]=c[1]):n+="{"+l,r=u}return[n,i]},_localeStringsToLookFor:function(t){for(var e=t.split("-"),n=[],i=e.length;i>0;--i){var r=e.slice(0,i);n.push(r.join("-"))}return n},render:function(t){for(var e=t.findVariable("i18n"),n=e.locale,i=e.localizationMessages,r=null,o=this._localeStringsToLookFor(n),s=0;s<o.length;++s){var a=i[o[s]];if(a&&(r=a[this.message]))break}if(!r)return"(No translations for '"+this.message+"' in any of these locales: "+o.join(", ")+")";var l=this._effectiveMessageAndValuesFrom(r,t);return new IntlMessageFormat(l[0],n).format(l[1])}})),function(t){"use strict";var e=t._InternalSwiftype=t._InternalSwiftype||{};
// Copyright (c) 2010 Rasmus Andersson http://hunch.se/
// The above copyright notice and this permission notice shall be included in all copies or substantial portions
// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
e.LRUCache=function(t){this.size=0,this.limit=t,this._keymap={}},e.LRUCache.prototype.put=function(t,e){var n={key:t,value:e};if(this._keymap[t]=n,this.tail?(this.tail.newer=n,n.older=this.tail):this.head=n,this.tail=n,this.size===this.limit)return this.shift();this.size++},e.LRUCache.prototype.shift=function(){var t=this.head;return t&&(this.head.newer?(this.head=this.head.newer,this.head.older=undefined):this.head=undefined,t.newer=t.older=undefined,delete this._keymap[t.key]),t},e.LRUCache.prototype.get=function(t,e){var n=this._keymap[t];if(n!==undefined)return n===this.tail?n.value:(n.newer&&(n===this.head&&(this.head=n.newer),n.newer.older=n.older),n.older&&(n.older.newer=n.newer),n.newer=undefined,n.older=this.tail,this.tail&&(this.tail.newer=n),this.tail=n,e?n:n.value)},e.LRUCache.prototype.remove=function(t){var e=this._keymap[t];if(e)return delete this._keymap[e.key],e.newer&&e.older?(e.older.newer=e.newer,e.newer.older=e.older):e.newer?(e.newer.older=undefined,this.head=e.newer):e.older?(e.older.newer=undefined,this.tail=e.older):this.head=this.tail=undefined,this.size--,e.value},e.LRUCache.prototype.clear=function(){this.head=this.tail=undefined,this.size=0,this._keymap={}},"function"==typeof Object.keys?e.LRUCache.prototype.keys=function(){return Object.keys(this._keymap)}:e.LRUCache.prototype.keys=function(){var t=[];for(var e in this._keymap)t.push(e);return t}}(window),/*
* jQuery BBQ: Back Button & Query Library - v1.2.1 - 2/17/2010
* http://benalman.com/projects/jquery-bbq-plugin/
*
* Copyright (c) 2010 "Cowboy" Ben Alman
* Dual licensed under the MIT and GPL licenses.
* http://benalman.com/about/license/
*/
function(t,e){function n(t){return"string"==typeof t}function i(t){var e=g.call(arguments,1);return function(){return t.apply(this,e.concat(g.call(arguments)))}}function r(t){return t.replace(/^[^#]*#?(.*)$/,"$1")}function o(t){return t.replace(/(?:^[^?#]*\?([^#]*).*$)?.*/,"$1")}function s(i,r,o,s,a){var l,c,h,f,d;return s!==u?(h=o.match(i?/^([^#]*)\#?(.*)$/:/^([^#?]*)\??([^#]*)(#?.*)/),d=h[3]||"",2===a&&n(s)?c=s.replace(i?M:R,""):(f=p(h[2]),s=n(s)?p[i?T:x](s):s,c=2===a?s:1===a?t.extend({},s,f):t.extend({},f,s),c=v(c),i&&(c=c.replace(m,_))),l=h[1]+(i?"#":c||!h[1]?"?":"")+c+d):l=r(o!==u?o:e[D][F]),l}function a(t,e,i){return e===u||"boolean"==typeof e?(i=e,e=v[t?T:x]()):e=n(e)?e.replace(t?M:R,""):e,p(e,i)}function l(e,i,r,o){return n(r)||"object"==typeof r||(o=r,r=i,i=u),this.each(function(){var n=t(this),s=i||y()[(this.nodeName||"").toLowerCase()]||"",a=s&&n.attr(s)||"";n.attr(s,v[e](a,r,o))})}var u,c,p,h,f,d,y,m,g=Array.prototype.slice,_=decodeURIComponent,v=t.param,w=t.bbq=t.bbq||{},b=t.event.special,S="hashchange",x="querystring",T="fragment",C="elemUrlAttr",D="location",F="href",I="src",R=/^.*\?|#.*$/g,M=/^.*\#/,E={};v[x]=i(s,0,o),v[T]=c=i(s,1,r),c.noEscape=function(e){e=e||"";var n=t.map(e.split(""),encodeURIComponent);m=new RegExp(n.join("|"),"g")},c.noEscape(",/"),t.deparam=p=function(e,n){var i={},r={"true":!0,"false":!1,"null":null};return t.each(e.replace(/\+/g," ").split("&"),function(e,o){var s,a=o.split("="),l=_(a[0]),c=i,p=0,h=l.split("]["),f=h.length-1;if(/\[/.test(h[0])&&/\]$/.test(h[f])?(h[f]=h[f].replace(/\]$/,""),h=h.shift().split("[").concat(h),f=h.length-1):f=0,2===a.length)if(s=_(a[1]),n&&(s=s&&!isNaN(s)?+s:"undefined"===s?u:r[s]!==u?r[s]:s),f)for(;p<=f;p++)l=""===h[p]?c.length:h[p],c=c[l]=p<f?c[l]||(h[p+1]&&isNaN(h[p+1])?{}:[]):s;else t.isArray(i[l])?i[l].push(s):i[l]!==u?i[l]=[i[l],s]:i[l]=s;else l&&(i[l]=n?u:"")}),i},p[x]=i(a,0),p[T]=h=i(a,1),t[C]||(t[C]=function(e){return t.extend(E,e)})({a:F,base:F,iframe:I,img:I,input:I,form:"action",link:F,script:I}),y=t[C],t.fn[x]=i(l,x),t.fn[T]=i(l,T),w.pushState=f=function(t,i){n(t)&&/^#/.test(t)&&i===u&&(i=2);var r=t!==u,o=c(e[D][F],r?t:{},r?i:2);e[D][F]=o+(/#/.test(o)?"":"#")},w.getState=d=function(t,e){return t===u||"boolean"==typeof t?h(t):h(e)[t]},w.removeState=function(e){var n={};e!==u&&(n=d(),t.each(t.isArray(e)?e:arguments,function(t,e){delete n[e]})),f(n,2)},b[S]=t.extend(b[S],{add:function(e){function n(t){var e=t[T]=c();t.getState=function(t,n){return t===u||"boolean"==typeof t?p(e,t):p(e,n)[t]},i.apply(this,arguments)}var i;if(t.isFunction(e))return i=e,n;i=e.handler,e.handler=n}})}(jQuery,this),/*
* jQuery hashchange event - v1.2 - 2/11/2010
* http://benalman.com/projects/jquery-hashchange-plugin/
*
* Copyright (c) 2010 "Cowboy" Ben Alman
* Dual licensed under the MIT and GPL licenses.
* http://benalman.com/about/license/
*/
function(t,e,n){function i(t){return t=t||e[s][l],t.replace(/^[^#]*#?(.*)$/,"$1")}var r,o=t.event.special,s="location",a="hashchange",l="href",u=t.browser,c=document.documentMode,p=u.msie&&(c===n||c<8),h="on"+a in e&&!p;t[a+"Delay"]=100,o[a]=t.extend(o[a],{setup:function(){if(h)return!1;t(r.start)},teardown:function(){if(h)return!1;t(r.stop)}}),r=function(){function n(){u=c=function(t){return t},p&&(o=t('<iframe src="javascript:0"/>').hide().insertAfter("body")[0].contentWindow,c=function(){return i(o.document[s][l])},(u=function(t,e){if(t!==e){var n=o.document;n.open().close(),n[s].hash="#"+t}})(i()))}var r,o,u,c,h={};return h.start=function(){if(!r){var o=i();u||n(),function n(){var p=i(),h=c(o);p!==o?(u(o=p,h),t(e).trigger(a)):h!==o&&(e[s][l]=e[s][l].replace(/#.*/,"")+"#"+h),r=setTimeout(n,t[a+"Delay"])}()}},h.stop=function(){o||(r&&clearTimeout(r),r=0)},h}()}(jQuery,this),function(t,e){"use strict";var n=t._InternalSwiftype=t._InternalSwiftype||{};n.Utils=n.Utils||{},n.Utils.compareObjects=function(t,e){var i=!1,r=!1;if(null!==t&&void 0!==t||(i=!0),null!==e&&void 0!==e||(r=!0),i!==r)return!1;if(i)return!0;var o=[],s=[];for(var a in t)t.hasOwnProperty(a)&&o.push(a);for(var l in e)e.hasOwnProperty(l)&&s.push(l);if(o.length!==s.length)return!1;for(var u,c,p=0;p<o.length;++p)if(u=t[o[p]],c=e[o[p]],"object"==typeof u&&"object"==typeof c){if(!n.Utils.compareObjects(u,c))return!1}else if(u!==c)return!1;for(var h=0;h<s.length;++h)if(u=t[s[h]],c=e[s[h]],"object"==typeof u&&"object"==typeof c){if(!n.Utils.compareObjects(u,c))return!1}else if(u!==c)return!1;return!0},"undefined"==typeof Object.create?n.Utils.createObject=function(t){function e(){}return e.prototype=t,new e}:n.Utils.createObject=Object.create,n.Utils.trimString=function(t){return t.replace(/^\s+|\s+$/g,"")},n.Utils.isBlank=function(t){return t===undefined||null===t||/^\s+$/.test(t)},n.Utils.escapeHtml=function(t){var e={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};return String(t).replace(/[&<>"']/g,function(t){return e[t]})},n.Utils.truncateString=function(t,e){return"string"==typeof t&&t.length>e?t.slice(0,e-3)+"...":t},n.Utils.safelyDeleteProperty=function(t,e){try{delete e[t]}catch(n){e[t]=undefined}},n.Utils._compileTemplate=function(t){return Liquid.parse(t)},n.Utils.getDataOrClassValue=function(t,i,r){t=e(t);var o=t.data(i);if(!n.Utils.isBlank(o))return o;var s=(t.attr("class")||"").split(/\s+/);return e.each(s,function(t,e){if(e.substring(0,i.length)===i){var o=e.substring(i.length+1);if(!n.Utils.isBlank(o))return r&&(o=o.replace("_nextlevel_"," "),o=o.replace("_domid_","#"),o=o.replace(/^domid_/,"#"),o=o.replace("_cssclass_","."),o=o.replace(/^cssclass_/,".")),o}}),null},n.Utils.eventIsMiddleClick=function(t){return("click"===t.type||"mousedown"===t.type)&&(2===t.which||t.ctrlKey||t.metaKey)},n.Utils.eventIsLeftClick=function(t){return("click"===t.type||"mousedown"===t.type)&&1===t.which},n.Utils.bindOnEventsTo=function(t,n){n=this._adjustEventTypesForIESupport(n);var i=e.makeArray(arguments).slice(2);e(t).on(n,i[0],i[1],i[2])},n.Utils.bindOneEventsTo=function(t,n){n=this._adjustEventTypesForIESupport(n);var i=e.makeArray(arguments).slice(2);e(t).one(n,i[0],i[1],i[2])},n.Utils._adjustEventTypesForIESupport=function(t){var n=t.split(" ");return e.map(n,function(t){switch(t){case"input":return"textchange";default:return t}}).join(" ")},n.Utils.getCompiledTemplate=function(i,r,o,s){var a=i[r];return"string"==typeof a&&(a=function(){var i=n.Utils._compileTemplate(a);return{render:function(n){t._st_tmp_global_locale=o;var r=e.extend({},n),a=e.extend({},n.i18n||{});r.i18n=a,r.i18n.locale=o,r.i18n.localizationMessages=s;var l=i.render(r);return t._st_tmp_global_locale=undefined,l}}}(),i[r]=a),a},n.Utils.allCssClassesOn=function(t){t=e(t);var n=t.attr("class");return n?n.split(/\s+/):[]},n.Utils.hasClassMatching=function(t,i){var r=n.Utils.allCssClassesOn(t),o=!1;return e.each(r,function(t,e){e.match(i)&&(o=!0)}),o},n.Utils.describeElement=function(t){if(!t)return"(null)";t=e(t);var n=t.prop("tagName"),i=t.attr("id");if(i)return n+"#"+i;var r=t.
Swiftype.Utils.isEmptyObject(this._sortFieldByDocumentTypeSlug)||Swiftype.Utils.isEmptyObject(this._sortDirectionByDocumentTypeSlug)||(t+=", sortFieldByDocumentTypeSlug "+this._sortFieldByDocumentTypeSlug,t+=", sortDirectionByDocumentTypeSlug "+this._sortDirectionByDocumentTypeSlug),Swiftype.Utils.isEmptyObject(this._filterDataByDocumentTypeSlugAndFilterField)||(t+=", filters ",$.each(this._filterDataByDocumentTypeSlugAndFilterField,function(e,n){$.each(n,function(e,n){t+=" for field "+e,$.each(n,function(e,n){t+=" "+e+" "+n})})})),t+="]"},pQuery.setQueryText=function(t){this._queryText=t},pQuery.getQueryText=function(){return this._queryText},pQuery.mutateFromPageAnchor=function(t){var e=t.getValue("stq"),n=t.getValue("stp"),i=t.getValue("sort_field"),r=t.getValue("sort_direction"),o=t.getValue("filters"),s=t.getValue("facets"),a=this;Swiftype.Utils.isBlank(e)||(e=decodeURIComponent(e.replace(/\+/g," ")),a.setQueryText(e)),n&&n.match(/^[0-9]+$/)&&a.setPageNumber(parseInt(n)),o&&a.setFilterData(o),s&&a.setFacetData(s),i&&r&&(a.setSortField(i),a.setSortDirection(r))},pQuery._normalizedQueryText=function(){return this._queryText?Swiftype.Utils.trimString(this._queryText):this._queryText},pQuery._toObject=function(){var t=$.extend({},{queryType:this._queryType,q:this._normalizedQueryText(),pageNumber:this._pageNumber,sortField:this._sortFieldByDocumentTypeSlug,sortDirection:this._sortDirectionByDocumentTypeSlug,filters:this._filterDataByDocumentTypeSlugAndFilterField,facets:this._facetDataByDocumentTypeSlug}),e=this;return $.each(VALID_OPTIONAL_SETTINGS,function(n,i){t[i]=e[i]}),t},pQuery.apiAjaxDataParameters=function(){var t=this,e={q:this._queryText,page:this._pageNumber};return Swiftype.Utils.isEmptyObject(this._sortFieldByDocumentTypeSlug)||Swiftype.Utils.isEmptyObject(this._sortDirectionByDocumentTypeSlug)||(e.sort_field=this._sortFieldByDocumentTypeSlug,e.sort_direction=this._sortDirectionByDocumentTypeSlug),Swiftype.Utils.isEmptyObject(this._filterDataByDocumentTypeSlugAndFilterField)||(e.filters=this._filterDataByDocumentTypeSlugAndFilterField),Swiftype.Utils.isEmptyObject(this._facetDataByDocumentTypeSlug)||(e.facets=this._facetDataByDocumentTypeSlug),$.each(VALID_OPTIONAL_SETTINGS,function(n,i){t[i]&&(e[i]=t[i])}),e},pQuery.queryType=function(){return this._queryType},pQuery.toCacheKey=function(){return JSON.stringify(this._toObject())},pQuery.isEqualToQuery=function(t){return!!t&&Swiftype.Utils.compareObjects(this._toObject(),t._toObject())},pQuery.isEmptyQuery=function(){return null===this._queryText||"undefined"==typeof this._queryText},pQuery.clone=function(){var t=new Swiftype.Query(this._queryType);return t.setQueryText(this.getQueryText()),t.setPageNumber(this.getPageNumber()),t.setSortField(this.getSortFieldByDocumentTypeSlug()),t.setSortDirection(this.getSortDirectionByDocumentTypeSlug()),t.setFilterData(this.getFilterDataByDocumentTypeSlugAndFilterField()),t.setFacetData(this.getFacetDataByDocumentTypeSlug()),t.setOptionalSettings(this.getOptionlSettings()),t},pQuery.setPageNumber=function(t){this._pageNumber=t},pQuery.setSortField=function(t){this._sortFieldByDocumentTypeSlug=t},pQuery.setSortDirection=function(t){this._sortDirectionByDocumentTypeSlug=t},pQuery.setFilterData=function(t){this._filterDataByDocumentTypeSlugAndFilterField=t},pQuery.setFacetData=function(t){this._facetDataByDocumentTypeSlug=t},pQuery.getPageNumber=function(){return this._pageNumber||1},pQuery.setSortFieldByDocumentTypeSlug=function(t,e){null!==e?this._sortFieldByDocumentTypeSlug[t]=e:Swiftype.Utils.safelyDeleteProperty(t,this._sortFieldByDocumentTypeSlug)},pQuery.setSortDirectionByDocumentTypeSlug=function(t,e){null!==e?this._sortDirectionByDocumentTypeSlug[t]=e:Swiftype.Utils.safelyDeleteProperty(t,this._sortDirectionByDocumentTypeSlug)},pQuery.getSortFieldByDocumentTypeSlug=function(){return this._sortFieldByDocumentTypeSlug},pQuery.getSortDirectionByDocumentTypeSlug=function(){return this._sortDirectionByDocumentTypeSlug};var VALID_OPTIONAL_SETTINGS=["draft_name","test_fields","test_document_type_slug","engine_context"]
t.setFilterDataByDocumentTypeSlugAndFilterField(e._documentType,e._documentField,o)})},pFilterInputRange._getFromData=function(t){var e=this._getFromForElement(t);return Swiftype.Utils.isBlank(e)?this._element.find(this._fromDataClassSelector).first().val():e},pFilterInputRange._getToData=function(t){var e=this._getToForElement(t);return Swiftype.Utils.isBlank(e)?this._element.find(this._toDataClassSelector).first().val():e},pFilterInputRange._changeToReflectSearch=function(t){var e,n=this,i=t.getFilterDataByDocumentTypeSlugAndFilterField()[this._documentType];if(i&&(e=i[this._documentField])){var r=e.from,o=e.to;this._setFromDataOnElement(r),this._setFromToOnElement(o);var s=this._element.find(this._sliderBarSelector);s.attr("data-from",r),s.attr("data-to",o),$.each(n._getAllElements(),function(t,e){var i=n._getFromForElement(e),s=n._getToForElement(e);n._convertToFormat(i,"from")===n._convertToFormat(r,"from")&&n._convertToFormat(s,"to")===n._convertToFormat(o,"to")?n._markDomElementAsActive(e,!0):n._markDomElementAsActive(e,!1)})}i&&e||$.each(n._getAllElements(),function(t,e){n._markDomElementAsActive(e,!1)}),this._propActiveElements()},pFilterInputRange._setFromDataOnElement=function(t){this._element.find(this._fromDataClassSelector).val(t)},pFilterInputRange._setFromToOnElement=function(t){this._element.find(this._toDataClassSelector).val(t)},pFilterInputRange._convertToFormat=function(t){return Number(t)},Swiftype.QueryInputs.FilterInputRangeSlidebar=function(t,e){Swiftype.QueryInputs.FilterInputRange.call(this,t,e),this._className="Swiftype.QueryInputs.FilterInputRangeSlidebar",this._inputCategory="filter",this._sliderBarSelector=".st-filter-range-slidebar"},Swiftype.QueryInputs.FilterInputRangeSlidebar.prototype=Swiftype.Utils.createObject(Swiftype.QueryInputs.FilterInputRange.prototype);var pFilterInputRangeSlidebar=Swiftype.QueryInputs.FilterInputRangeSlidebar.prototype;pFilterInputRangeSlidebar.attach=function(){var t=this;Swiftype.QueryInputs.FilterInputRange.prototype.attach.call(this),Swiftype.Utils.bindOnEventsTo(this._element,"change",this._sliderBarSelector,function(e){e.preventDefault(),t._fireChangeHiddenFields(t,this)})},pFilterInputRangeSlidebar._changeToReflectSearch=function(t){Swiftype.QueryInputs.FilterInputRange.prototype._changeToReflectSearch.call(this,t),this._element.find(this._sliderBarSelector).ionRangeSlider()},pFilterInputRangeSlidebar._fireChangeHiddenFields=Swiftype.Utils.debounce(function(t,e){var n=$(e).data("ionRangeSlider");n&&(t._element.find(t._fromDataClassSelector).val(n.old_from),t._element.find(t._toDataClassSelector).val(n.old_to).trigger("field_change"))},500),Swiftype.QueryInputs.FilterInputRangeDate=function(t,e){Swiftype.QueryInputs.FilterInputRange.call(this,t,e),this._className="Swiftype.QueryInputs.FilterInputRangeDate",this._inputCategory="filter",this._datePickerSelector=".st-filter-datepicker"},Swiftype.QueryInputs.FilterInputRangeDate.prototype=Swiftype.Utils.createObject(Swiftype.QueryInputs.FilterInputRange.prototype);var ROME_DATE_FORMAT="MM-DD-YYYY",pFilterInputRangeDate=Swiftype.QueryInputs.FilterInputRangeDate.prototype;pFilterInputRangeDate._changeToReflectSearch=function(t){Swiftype.QueryInputs.FilterInputRange.prototype._changeToReflectSearch.call(this,t);var e=this._element.find("."+this._dataFromPostfix).first(),n=this._element.find("."+this._dataToPostfix).first();if(e.length&&n.length){e=e[0],n=n[0];var i=rome(e,{time:!1,dateValidator:rome.val.beforeEq(n),inputFormat:ROME_DATE_FORMAT}),r=rome(n,{time:!1,dateValidator:rome.val.afterEq(e),inputFormat:ROME_DATE_FORMAT});this._element.parents(".st-position-container").scroll(function(){$(i.container).is(":visible")&&i.show(),$(r.container).is(":visible")&&r.show()})}},pFilterInputRangeDate._getFromData=function(t){return new moment(Swiftype.QueryInputs.FilterInputRange.prototype._getFromData.call(this,t),ROME_DATE_FORMAT).format()},pFilterInputRangeDate._getToData=function(t){return new moment(Swiftype.QueryInputs.FilterInputRange.prototype._getToData.call(this,t),ROME_DATE_FORMAT).format()},pFilterInput
27===e.which?t._escapedByUser=!0:t._escapedByUser=!1,t._showOrHideAppropriately($(n))})})},pFieldDependentVisibility.validate=function(){if(!Swiftype.QueryOutputs.TargetedQueryOutput.prototype.validate.call(this))return!1;var t=$(this._getTargetElements());return!!Swiftype.Utils.isInputLikeElement(t)},pFieldDependentVisibility.someQueryChanged=function(t,e){this._currentSearchChanged(e)},pFieldDependentVisibility._currentSearchChanged=function(t){Swiftype.QueryOutputs.TargetedQueryOutput.prototype._currentSearchChanged.call(this,t);var e=this;$.each(this._getTargetElements(),function(t,n){$(n).is(":hidden")||e._showOrHideAppropriately($(n))})},Swiftype.QueryOutputs.FieldAndQueryDependentVisibility=function(t,e){Swiftype.QueryOutputs.FieldDependentVisibility.call(this,t,e),this._className="Swiftype.QueryOutputs.FieldAndQueryDependentVisibility"},Swiftype.QueryOutputs.FieldAndQueryDependentVisibility.prototype=Swiftype.Utils.createObject(Swiftype.QueryOutputs.FieldDependentVisibility.prototype);var pFieldAndQueryDependentVisibility=Swiftype.QueryOutputs.FieldAndQueryDependentVisibility.prototype;pFieldAndQueryDependentVisibility._shouldBeShown=function(t){return!!this._hasQuery&&Swiftype.QueryOutputs.FieldDependentVisibility.prototype._shouldBeShown.call(this,t)},pFieldAndQueryDependentVisibility._currentSearchChanged=function(t){this._hasQuery=!t.isEmptyQuery(),Swiftype.QueryOutputs.FieldDependentVisibility.prototype._currentSearchChanged.call(this,t)},Swiftype.QueryOutputs.FieldAndResultsDependentVisibility=function(t,e){Swiftype.QueryOutputs.FieldAndQueryDependentVisibility.call(this,t,e),this._className="Swiftype.QueryOutputs.FieldAndResultsDependentVisibility"},Swiftype.QueryOutputs.FieldAndResultsDependentVisibility.prototype=Swiftype.Utils.createObject(Swiftype.QueryOutputs.FieldAndQueryDependentVisibility.prototype);var pFieldAndResultsDependentVisibility=Swiftype.QueryOutputs.FieldAndResultsDependentVisibility.prototype;pFieldAndResultsDependentVisibility._shouldBeShown=function(t){return!!this._lastQueryWasFromOurContext&&!!this._hasResults&&Swiftype.QueryOutputs.FieldAndQueryDependentVisibility.prototype._shouldBeShown.call(this,t)},pFieldAndResultsDependentVisibility._currentSearchChanged=function(t){this._hasResults=t.hasAnyResults(),Swiftype.QueryOutputs.FieldAndQueryDependentVisibility.prototype._currentSearchChanged.call(this,t)},pFieldAndResultsDependentVisibility.someQueryChanged=function(t,e,n){this._lastQueryWasFromOurContext=this._isOurContext(t),Swiftype.QueryOutputs.FieldAndQueryDependentVisibility.prototype.someQueryChanged.call(this,t,e,n)},Swiftype.QueryOutputs.KeyboardNavigableList=function(t,e){Swiftype.QueryOutputs.TargetedQueryOutput.call(this,t,e),this._className="Swiftype.QueryOutputs.KeyboardNavigableList",this._activeResultIndex=null,this._maximumResultIndex=0},Swiftype.QueryOutputs.KeyboardNavigableList.prototype=Swiftype.Utils.createObject(Swiftype.QueryOutputs.TargetedQueryOutput.prototype);var pKeyboardNavigableList=Swiftype.QueryOutputs.KeyboardNavigableList.prototype;pKeyboardNavigableList._attachToTarget=function(){this._setKeyStrokeEvents()},pKeyboardNavigableList._allToplevelDomElementsThatAreSearchResults=function(){var t=function(t,e){return e=$(e),void 0!==e.data(SWIFTYPE_RESULT_DATA_NAME)};return $(this._element).find("*").filter(t)},pKeyboardNavigableList._activeQueryClass=function(){if(!this._activeQueryClassMemoized){var t=Swiftype.Utils.getDataOrClassValue(this._element,"st-active-query-class");t=t||"st-keyboard-active-item",this._activeQueryClassMemoized=t}return this._activeQueryClassMemoized},pKeyboardNavigableList._allToplevelDomElementsForResultIndex=function(t){var e=function(e,n){n=$(n);var i=n.data(SWIFTYPE_RESULT_DATA_NAME);return!(!i||i.getSequenceInThisPage()!==t)};return $(this._allToplevelDomElementsThatAreSearchResults()).filter(e)},pKeyboardNavigableList._getActiveResultIndex=function(){return this._activeResultIndex},pKeyboardNavigableList._resultSet=function(){var t=this._allToplevelDomElementsThatAreSearchResults(),e=t[0];return e?$(e).data(SWIFTYPE_RESU