window.bsfmodernizr=function(t,o){function e(t){c.cssText=t}function a(t,e){return typeof t===e}function s(t,e){for(var n in t){n=t[n];if(!~(""+n).indexOf("-")&&c[n]!==o)return"pfx"!=e||n}return!1}function r(t,e,n){var r=t.charAt(0).toUpperCase()+t.slice(1),i=(t+" "+d.join(r+" ")+r).split(" ");return a(e,"string")||void 0===e?s(i,e):function(t,e,n){for(var r in t){var i=e[t[r]];if(i!==o)return!1===n?t[r]:a(i,"function")?i.bind(n||e):i}return!1}(i=(t+" "+f.join(r+" ")+r).split(" "),e,n)}var n,i,l={},u=t.documentElement,c=t.createElement("bsfmodernizr").style,h="Webkit Moz O ms",d=h.split(" "),f=h.toLowerCase().split(" "),p={},g=[],m=g.slice,y={}.hasOwnProperty,v=void 0!==y&&void 0!==y.call?function(t,e){return y.call(t,e)}:function(t,e){return e in t&&void 0===t.constructor.prototype[e]};for(i in Function.prototype.bind||(Function.prototype.bind=function(n){var r=this;if("function"!=typeof r)throw new TypeError;var i=m.call(arguments,1),o=function(){if(this instanceof o){var t=function(){};t.prototype=r.prototype;var e=new t,t=r.apply(e,i.concat(m.call(arguments)));return Object(t)===t?t:e}return r.apply(n,i.concat(m.call(arguments)))};return o}),p.csstransitions=function(){return r("transition")},p)v(p,i)&&(n=i.toLowerCase(),l[n]=p[i](),g.push((l[n]?"":"no-")+n));return l.addTest=function(t,e){if("object"==typeof t)for(var n in t)v(t,n)&&l.addTest(n,t[n]);else{if(t=t.toLowerCase(),l[t]!==o)return l;e="function"==typeof e?e():e,u.className+=" "+(e?"":"no-")+t,l[t]=e}return l},e(""),0,function(t,s){function l(){var t=p.elements;return"string"==typeof t?t.split(" "):t}function u(t){var e=f[t[o]];return e||(e={},a++,t[o]=a,f[a]=e),e}function c(t,e,n){return e=e||s,d?e.createElement(t):!(e=(n=n||u(e)).cache[t]?n.cache[t].cloneNode():i.test(t)?(n.cache[t]=n.createElem(t)).cloneNode():n.createElem(t)).canHaveChildren||r.test(t)||e.tagUrn?e:n.frag.appendChild(e)}function e(t){var e,n,r,i,o,a=u(t=t||s);return!p.shivCSS||h||a.hasCSS||(a.hasCSS=(i="article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}",o=(r=t).createElement("p"),r=r.getElementsByTagName("head")[0]||r.documentElement,o.innerHTML="x",!!r.insertBefore(o.lastChild,r.firstChild))),d||(e=t,(n=a).cache||(n.cache={},n.createElem=e.createElement,n.createFrag=e.createDocumentFragment,n.frag=n.createFrag()),e.createElement=function(t){return p.shivMethods?c(t,e,n):n.createElem(t)},e.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+l().join().replace(/[\w\-]+/g,function(t){return n.createElem(t),n.frag.createElement(t),'c("'+t+'")'})+");return n}")(p,n.frag)),t}var h,d,n=t.html5||{},r=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,i=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,o="_html5shiv",a=0,f={};!function(){try{var t=s.createElement("a");t.innerHTML="",h="hidden"in t,d=1==t.childNodes.length||function(){s.createElement("a");var t=s.createDocumentFragment();return void 0===t.cloneNode||void 0===t.createDocumentFragment||void 0===t.createElement}()}catch(t){d=h=!0}}();var p={elements:n.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output progress section summary template time video",version:"3.7.0",shivCSS:!1!==n.shivCSS,supportsUnknownElements:d,shivMethods:!1!==n.shivMethods,type:"default",shivDocument:e,createElement:c,createDocumentFragment:function(t,e){if(t=t||s,d)return t.createDocumentFragment();for(var n=(e=e||u(t)).frag.cloneNode(),r=0,i=l(),o=i.length;r=o[i]&&(a.push([e].concat(r.splice(0,o[i]))),o[i]););}),a.toString=s.path.toString,e.arr=s.path.clone(a),a};var ft=s.parseTransformString=function(t){if(!t)return null;var i=[];return(i=m(t,"array")&&m(t[0],"array")?s.path.clone(t):i).length||N(t).replace(X,function(t,e,n){var r=[];e.toLowerCase(),n.replace(Y,function(t,e){e&&r.push(+e)}),i.push([e].concat(r))}),i.toString=s.path.toString,i};s._.svgTransform2string=a,s._.rgTransform=new RegExp("^[a-z]["+G+"]*-?\\.?\\d","i"),s._.transform2matrix=l,s._unit2px=h;var pt,gt=F.doc.contains||F.doc.compareDocumentPosition?function(t,e){var n=9==t.nodeType?t.documentElement:t,e=e&&e.parentNode;return t==e||!(!e||1!=e.nodeType||!(n.contains?n.contains(e):t.compareDocumentPosition&&16&t.compareDocumentPosition(e)))}:function(t,e){if(e)for(;e;)if((e=e.parentNode)==t)return!0;return!1};s._.getSomeDefs=c,s.select=function(t){return C(F.doc.querySelector(t))},s.selectAll=function(t){for(var e=F.doc.querySelectorAll(t),n=(s.set||Array)(),r=0;r"),r=0,i=n.length;r")}else o&&(t+="/>");return t}}t.attr=function(t,e){var n,r=this;if(r.node,!t)return r;if(m(t,"string")){if(!(1)/)||(t="",n=!1),r.innerHTML=t,t=r.getElementsByTagName("svg")[0])if(n)e=t;else for(;t.firstChild;)e.appendChild(t.firstChild);return r.innerHTML="",new x(e)},x.prototype.select=p.prototype.select,x.prototype.selectAll=p.prototype.selectAll,s.fragment=function(){for(var t=Array.prototype.slice.call(arguments,0),e=F.doc.createDocumentFragment(),n=0,r=t.length;n=t.x&&e<=t.x+t.width&&n>=t.y&&n<=t.y+t.height}function k(t,e){return t=d(t),i(e=d(e),t.x,t.y)||i(e,t.x2,t.y)||i(e,t.x,t.y2)||i(e,t.x2,t.y2)||i(t,e.x,e.y)||i(t,e.x2,e.y)||i(t,e.x,e.y2)||i(t,e.x2,e.y2)||(t.xe.x||e.xt.x)&&(t.ye.y||e.yt.y)}function v(t,e,n,r,i){return t*(t*(-3*e+9*n-9*r+3*i)+6*e-12*n+6*r)-3*e+3*n}function E(t,e,n,r,i,o,a,s,l){for(var u=(l=1<(l=null==l?1:l)?1:l<0?0:l)/2,c=[-.1252,.1252,-.3678,.3678,-.5873,.5873,-.7699,.7699,-.9041,.9041,-.9816,.9816],h=[.2491,.2491,.2335,.2335,.2032,.2032,.1601,.1601,.1069,.1069,.0472,.0472],d=0,f=0;f<12;f++){var p=u*c[f]+u,g=v(p,t,n,i,a),p=v(p,e,r,o,s);d+=h[f]*O.sqrt(g*g+p*p)}return u*d}function M(t,e,n){if(!k(S(t),S(e)))return n?0:[];for(var r=~~(E.apply(0,t)/5),i=~~(E.apply(0,e)/5),o=[],a=[],s={},l=n?0:[],u=0;u<1+r;u++){var c=C.apply(0,t.concat(u/r));o.push({x:c.x,y:c.y,t:u/r})}for(u=0;u<1+i;u++)c=C.apply(0,e.concat(u/i)),a.push({x:c.x,y:c.y,t:u/i});for(u=0;uR(i,a)||R(e,r)R(o,s))){var l=(t-n)*(o-s)-(e-r)*(i-a);if(l){var u=((t*r-e*n)*(i-a)-(t-n)*(i*s-o*a))/l,c=((t*r-e*n)*(o-s)-(e-r)*(i*s-o*a))/l,h=+u.toFixed(2),l=+c.toFixed(2);if(!(h<+D(t,n).toFixed(2)||h>+R(t,n).toFixed(2)||h<+D(i,a).toFixed(2)||h>+R(i,a).toFixed(2)||l<+D(e,r).toFixed(2)||l>+R(e,r).toFixed(2)||l<+D(o,s).toFixed(2)||l>+R(o,s).toFixed(2)))return{x:u,y:c}}}}(d.x,d.y,f.x,f.y,p.x,p.y,g.x,g.y);v&&s[v.x.toFixed(4)]!=v.y.toFixed(4)&&(s[v.x.toFixed(4)]=v.y.toFixed(4),d=d.t+G((v[m]-d[m])/(f[m]-d[m]))*(f.t-d.t),p=p.t+G((v[y]-p[y])/(g[y]-p[y]))*(g.t-p.t),0<=d&&d<=1&&0<=p&&p<=1&&(n?l++:l.push({x:v.x,y:v.y,t1:d,t2:p})))}return l}function o(t,e,n){t=P(t),e=P(e);for(var r,i,o,a,s,l,u,c,h=n?0:[],d=0,f=t.length;dp&&(h=C,d=l,f=u,m=t(l=x+r*O.cos(C=w+p*(s&&w',{def:null==e?t:[t,e]})},i.filter.blur.toString=function(){return this()},i.filter.shadow=function(t,e,n,r){return r=r||"#000","string"==typeof(n=null==n?4:n)&&(r=n,n=4),null==t&&(t=0,e=2),null==e&&(e=t),r=i.color(r),i.format('',{color:r,dx:t,dy:e,blur:n})},i.filter.shadow.toString=function(){return this()},i.filter.grayscale=function(t){return i.format('',{a:.2126+.7874*(1-(t=null==t?1:t)),b:.7152-.7152*(1-t),c:.0722-.0722*(1-t),d:.2126-.2126*(1-t),e:.7152+.2848*(1-t),f:.0722-.0722*(1-t),g:.2126-.2126*(1-t),h:.0722+.9278*(1-t)})},i.filter.grayscale.toString=function(){return this()},i.filter.sepia=function(t){return i.format('',{a:.393+.607*(1-(t=null==t?1:t)),b:.769-.769*(1-t),c:.189-.189*(1-t),d:.349-.349*(1-t),e:.686+.314*(1-t),f:.168-.168*(1-t),g:.272-.272*(1-t),h:.534-.534*(1-t),i:.131+.869*(1-t)})},i.filter.sepia.toString=function(){return this()},i.filter.saturate=function(t){return i.format('',{amount:1-(t=null==t?1:t)})},i.filter.saturate.toString=function(){return this()},i.filter.hueRotate=function(t){return i.format('',{angle:t=t||0})},i.filter.hueRotate.toString=function(){return this()},i.filter.invert=function(t){return i.format('',{amount:t=null==t?1:t,amount2:1-t})},i.filter.invert.toString=function(){return this()},i.filter.brightness=function(t){return i.format('',{amount:t=null==t?1:t})},i.filter.brightness.toString=function(){return this()},i.filter.contrast=function(t){return i.format('',{amount:t=null==t?1:t,amount2:.5-t/2})},i.filter.contrast.toString=function(){return this()}}),t}),function(u){u(".overlay-show");let i=u("div.ult-overlay");i.find("div.ult-overlay-close");function n(t){var e,t="div.ult-overlay."+t;joverlay=document.querySelector(t),i=u(t),i.hasClass("ult-open")?(i.removeClass("ult-open"),i.addClass("ult-close"),e=function(t){if(support.transitions){if("visibility"!==t.propertyName)return;this.removeEventListener(transEndEventName,e)}i.removeClass("ult-close")},support.transitions?(joverlay.addEventListener(transEndEventName,e),i.removeClass("ult-close"),rl-1||a.animate({path:s[t]},60,mina.linear,function(){n(t)})})(e))}function a(t){t="div.overlay-boxes."+t;const e=document.querySelector(t),n=u(t),r=[].slice.call(e.querySelectorAll("svg > path")),i=r.length;let o=0;!function(t){let e=t.length,n,r;for(;0!==e;)r=Math.floor(Math.random()*e),--e,n=t[e],t[e]=t[r],t[r]=n}(r),n.hasClass("ult-open")?(n.removeClass("ult-open"),n.addClass("ult-close"),r.forEach(function(t,e){setTimeout(function(){++o,t.style.display="none",o===i&&n.removeClass("ult-close")},30*e)})):n.hasClass("ult-close")||(n.addClass("ult-open"),r.forEach(function(t,e){setTimeout(function(){t.style.display="block"},30*e)}))}function s(t){var e=u("."+t).find(".ult_modal-content").height();u(window).height()