PageSourceSearch

https://sams-usa.net/wp-content/uploads/hummingbird-assets/66b276259d9b8b806d068eede3cbdbfe.js

js sams-usa.net collected 2026-10-02 17:02:35 UTC 173,439 bytes, 14 lines download raw bytes

1/**handles:smush-detector,detect-windows,smush-lazy-load,waypoints,counter,snap-svg,select-box,js.cookie.js,scripts,hfe-frontend-js,e-sticky**/
2!function(){var e={6105:function(e){e.exports=function(){function e(){return(e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}var t={ignoreId:!1},n="undefined"!=typeof Node,r=n?Node.ELEMENT_NODE:1,o=n?Node.TEXT_NODE:3,i=n?Node.DOCUMENT_TYPE_NODE:10;return function(n,a){var u=e({},t,a),l=n;if(l&&l.id&&!u.ignoreId)return'//*[@id="'+l.id+'"]';for(var c=[];l&&(r===l.nodeType||o===l.nodeType);){for(var f=0,s=!1,d=l.previousSibling;d;)d.nodeType!==i&&d.nodeName===l.nodeName&&f++,d=d.previousSibling;for(d=l.nextSibling;d;){if(d.nodeName===l.nodeName){s=!0;break}d=d.nextSibling}var v=f||s?"["+(f+1)+"]":"";c.push(l.nodeType!=o?(l.prefix?l.prefix+":":"")+l.localName+v:"text()"+(v||"[1]")),l=l.parentNode}return c.length?"/"+c.reverse().join("/"):""}}()}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r].call(i.exports,i,i.exports,n),i.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.cw=function(e){var t;return function(){if(e){var n=e;e=0,t={exports:{}},n.call(t.exports,t,t.exports)}return t.exports}},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){"use strict";var e=n.cw(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.getAttributes=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:["id","class","length"],n=e.attributes;return[].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(n)).reduce(function(e,n){return t.indexOf(n.nodeName)>-1||e.push("["+n.nodeName+'="'+n.value+'"]'),e},[])}}),t=n.cw(function(e,t){function n(e){if(!e.hasAttribute("class"))return[];try{return Array.prototype.slice.call(e.classList).filter(function(e){return/^[a-z_-][a-z\d_-]*$/i.test(e)?e:null})}catch(n){var t=e.getAttribute("class");return(t=t.trim().replace(/\s+/g," ")).split(" ")}}Object.defineProperty(t,"__esModule",{value:!0}),t.getClasses=n,t.getClassSelectors=function(e){return n(e).filter(Boolean).map(function(e){return"."+e})}}),r=n.cw(function(e,t){function n(e,t,r,o,i,a,u){if(a!==u)for(var l=o;l<=i&&i-l+1>=u-a;++l)r[a]=t[l],n(e,t,r,l+1,i,a+1,u);else e.push(r.slice(0,a).join(""))}Object.defineProperty(t,"__esModule",{value:!0}),t.getCombinations=function(e,t){for(var r=[],o=e.length,i=[],a=1;a<=t;++a)n(r,e,i,0,o-1,0,a);return r}}),o=n.cw(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.getID=function(e){var t=e.getAttribute("id");if(null!==t&&""!==t)return t.match(/(?:^\d|:)/)?'[id="'+t+'"]':"#"+t;return null}}),i=n.cw(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.getNthChild=function(e){var t=0,r=void 0,o=void 0,i=e.parentNode;if(Boolean(i)){var a=i.childNodes,u=a.length;for(r=0;r<u;r++)if(o=a[r],(0,n.isElement)(o)&&(t++,o===e))return":nth-child("+t+")"}return null};var n=c()}),a=n.cw(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.getParents=function(e){var t=[],r=e;for(;(0,n.isElement)(r);)t.push(r),r=r.parentNode;return t};var n=c()}),u=n.cw(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.getTag=function(e){return e.tagName.toLowerCase().replace(/:/g,"\\:")}}),l=n.cw(function(n,l){l.A=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.selectorTypes,r=void 0===n?["ID","Class","Tag","NthChild"]:n,o=t.attributesToIgnore,i=void 0===o?["id","class","length"]:o,a=t.excludeRegex,u=void 0===a?null:a,l=[],c=(0,g.getParents)(e),f=!0,s=!1,d=void 0;try{for(var v,y=c[Symbol.iterator]();!(f=(v=y.next()).done);f=!0){var p=_(v.value,r,i,u);Boolean(p)&&l.push(p)}}catch(e){s=!0,d=e}finally{try{!f&&y.return&&y.return()}finally{if(s)throw d}}var b=[],h=!0,w=!1,S=void 0;try{for(var N,T=l[Symbol.iterator]();!(h=(N=T.next()).done);h=!0){var C=N.value;b.unshift(C);var j=b.join(" > ");if((0,m.isUnique)(e,j))return j}}catch(e){w=!0,S=e}finally{try{!h&&T.return&&T.return()}finally{if(w)throw S}}return null};var c=o(),s=t(),d=r(),v=e(),y=i(),p=u(),m=f(),g=a();function b(e,t){var n=e.parentNode.querySelectorAll(t);return 1===n.length&&n[0]===e}function h(e,t){return t.find(b.bind(null,e))}function w(e,t,n){var r=(0,d.getCombinations)(t,3),o=h(e,r);return Boolean(o)||Boolean(n)&&(o=h(e,r=r.map(function(e){return n+e})),Boolean(o))?o:null}function _(e,t,n,r){var o=void 0,i=function(e,t,n){var r={Tag:p.getTag,NthChild:y.getNthChild,Attributes:function(e){return(0,v.getAttributes)(e,n)},Class:s.getClassSelectors,ID:c.getID};return t.reduce(function(t,n){return t[n]=r[n](e),t},{})}
2(e,t,n);r&&r instanceof RegExp&&(i.ID=r.test(i.ID)?null:i.ID,i.Class=i.Class.filter(function(e){return!r.test(e)}));var a=!0,u=!1,l=void 0;try{for(var f,d=t[Symbol.iterator]();!(a=(f=d.next()).done);a=!0){var m=f.value,g=i.ID,h=i.Tag,_=i.Class,S=i.Attributes,N=i.NthChild;switch(m){case"ID":if(Boolean(g)&&b(e,g))return g;break;case"Tag":if(Boolean(h)&&b(e,h))return h;break;case"Class":if(Boolean(_)&&_.length&&(o=w(e,_,h)))return o;break;case"Attributes":if(Boolean(S)&&S.length&&(o=w(e,S,h)))return o;break;case"NthChild":if(Boolean(N))return N}}}catch(e){u=!0,l=e}finally{try{!a&&d.return&&d.return()}finally{if(u)throw l}}return"*"}}),c=n.cw(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.isElement=function(e){var t=void 0;t="object"===("undefined"==typeof HTMLElement?"undefined":n(HTMLElement))?e instanceof HTMLElement:!!e&&"object"===(void 0===e?"undefined":n(e))&&1===e.nodeType&&"string"==typeof e.nodeName;return t}}),f=n.cw(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.isUnique=function(e,t){if(!Boolean(t))return!1;var n=e.ownerDocument.querySelectorAll(t);return 1===n.length&&n[0]===e}});l();var s=n(6105),d=n.n(s);function v(e){return v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},v(e)}function y(e){return function(e){if(Array.isArray(e))return m(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||p(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e,t){if(e){if("string"==typeof e)return m(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?m(e,t):void 0}}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function g(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,b(r.key),r)}}function b(e){var t=function(e,t){if("object"!=v(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=v(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==v(t)?t:t+""}var h=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)},(t=[{key:"onLCP",value:function(e){var t,n,r=null==e||null===(t=e.entries[0])||void 0===t?void 0:t.element,o=null==e||null===(n=e.attribution)||void 0===n?void 0:n.url;if(r&&o){var i=(0,l().A)(r),a=d()(r,{ignoreId:!0});this.useRelativeImageURL=this.shouldUseRelativeImageURL(r,o);var u={url:window.location.href,data:JSON.stringify({selector:i,selector_xpath:a,selector_id:null==r?void 0:r.id,selector_class:null==r?void 0:r.className,image_url:this.useRelativeImageURL?this.makeImageURLRelative(o):o,background_data:this.getBackgroundDataForElement(r)}),nonce:smush_detector.nonce,is_mobile:smush_detector.is_mobile,data_store:JSON.stringify(smush_detector.data_store),previous_data_version:smush_detector.previous_data_version,previous_data_hash:smush_detector.previous_data_hash},c=new XMLHttpRequest;c.open("POST",smush_detector.ajax_url+"?action=smush_handle_lcp_data",!0),c.setRequestHeader("Content-Type","application/x-www-form-urlencoded");var f=Object.keys(u).map(function(e){return encodeURIComponent(e)+"="+encodeURIComponent(u[e])}).join("&");c.send(f)}}},{key:"shouldUseRelativeImageURL",value:function(e,t){if(null==e||!e.outerHTML)return!1;var n=e.outerHTML;if(n.includes(t))return!1;var r=this.makeImageURLRelative(t);return n.includes(r)}},{key:"makeImageURLRelative",value:function(e){try{var t=new URL(e,window.location.origin);if(t.hostname===window.location.hostname)return t.pathname+t.search}catch(e){}return e}}
2,{key:"getBackgroundDataForElement",value:function(e){var t=[window.getComputedStyle(e,null).getPropertyValue("background-image"),getComputedStyle(e,":after").getPropertyValue("background-image"),getComputedStyle(e,":before").getPropertyValue("background-image")].filter(function(e){return"none"!==e});return 0===t.length?null:this.getBackgroundDataForPropertyValue(t[0])}},{key:"getBackgroundDataForPropertyValue",value:function(e){var t=this,n="background-image";if(e.includes("image-set(")&&(n="background-image-set"),!e||""===e||e.includes("data:image"))return null;var r=y(e.matchAll(/((?:https?:\/|\.+)?\/[^'",\s()]+\.(jpe?g|png|gif|webp|svg|avif)(?:\?[^\s'",?)]+)?)\b/gi)).map(function(e){var n=e[1].trim();return t.useRelativeImageURL?t.makeImageURLRelative(n):n});return r.length<=0?null:{type:n,urls:r}}}])&&g(e.prototype,t),n&&g(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n}();!function(e){var t=null,n=!1,r=window.innerHeight;if(0===(null===(e=document)||void 0===e||null===(e=e.documentElement)||void 0===e?void 0:e.scrollTop)&&"PerformanceObserver"in window){var o=new PerformanceObserver(function(e){var n,r=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=p(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){u=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw i}}}}(e.getEntries());try{for(r.s();!(n=r.n()).done;){var o=n.value;i(o)&&(t=o)}}catch(e){r.e(e)}finally{r.f()}});try{o.observe({type:"largest-contentful-paint",buffered:!0})}catch(e){}["keydown","click","pointerdown","touchstart"].forEach(function(e){addEventListener(e,function(e){e.isTrusted&&(n||(n=!0,t&&(new h).onLCP({entries:[t],attribution:{url:t.url||"",element:t.element||""}}),o&&o.disconnect()))},{once:!0,capture:!0})})}function i(e){var t=e&&e.element;return!t||t.getBoundingClientRect().top+window.scrollY<=r}}()}()}();
30<=navigator.platform.toUpperCase().indexOf("WIN")?(document.documentElement.classList.add("windows-os"),console.log("✅ Windows OS detected: Class 'windows-os' added.")):console.log("❌ Not a Windows OS.");
4!function(){var e={6879:function(e){!function(t){var i=function(e,t,i){"use strict";var n,r;if(function(){var t,i={lazyClass:"lazyload",loadedClass:"lazyloaded",loadingClass:"lazyloading",preloadClass:"lazypreload",errorClass:"lazyerror",autosizesClass:"lazyautosizes",fastLoadedClass:"ls-is-cached",iframeLoadMode:0,srcAttr:"data-src",srcsetAttr:"data-srcset",sizesAttr:"data-sizes",minSize:40,customMedia:{},init:!0,expFactor:1.5,hFac:.8,loadMode:2,loadHidden:!0,ricTimeout:0,throttleDelay:125};for(t in r=e.lazySizesConfig||e.lazysizesConfig||{},i)t in r||(r[t]=i[t])}(),!t||!t.getElementsByClassName)return{init:function(){},cfg:r,noSupport:!0};var a=t.documentElement,o=e.HTMLPictureElement,s="addEventListener",u="getAttribute",l=e[s].bind(e),c=e.setTimeout,d=e.requestAnimationFrame||c,f=e.requestIdleCallback,v=/^picture$/i,h=["load","error","lazyincluded","_lazyloaded"],y={},m=Array.prototype.forEach,g=function(e,t){return y[t]||(y[t]=new RegExp("(\\s|^)"+t+"(\\s|$)")),y[t].test(e[u]("class")||"")&&y[t]},p=function(e,t){g(e,t)||e.setAttribute("class",(e[u]("class")||"").trim()+" "+t)},b=function(e,t){var i;(i=g(e,t))&&e.setAttribute("class",(e[u]("class")||"").replace(i," "))},z=function(e,t,i){var n=i?s:"removeEventListener";i&&z(e,t),h.forEach(function(i){e[n](i,t)})},S=function(e,i,r,a,o){var s=t.createEvent("Event");return r||(r={}),r.instance=n,s.initEvent(i,!a,!o),s.detail=r,e.dispatchEvent(s),s},w=function(t,i){var n;!o&&(n=e.picturefill||r.pf)?(i&&i.src&&!t[u]("srcset")&&t.setAttribute("srcset",i.src),n({reevaluate:!0,elements:[t]})):i&&i.src&&(t.src=i.src)},A=function(e,t){return(getComputedStyle(e,null)||{})[t]},E=function(e,t,i){for(i=i||e.offsetWidth;i<r.minSize&&t&&!e._lazysizesWidth;)i=t.offsetWidth,t=t.parentNode;return i},k=(pe=[],be=[],ze=pe,Se=function(){var e=ze;for(ze=pe.length?be:pe,me=!0,ge=!1;e.length;)e.shift()();me=!1},we=function(e,i){me&&!i?e.apply(this,arguments):(ze.push(e),ge||(ge=!0,(t.hidden?c:d)(Se)))},we._lsFlush=Se,we),C=function(e,t){return t?function(){k(e)}:function(){var t=this,i=arguments;k(function(){e.apply(t,i)})}},R=function(e){var t,n=0,a=r.throttleDelay,o=r.ricTimeout,s=function(){t=!1,n=i.now(),e()},u=f&&o>49?function(){f(s,{timeout:o}),o!==r.ricTimeout&&(o=r.ricTimeout)}:C(function(){c(s)},!0);return function(e){var r;(e=!0===e)&&(o=33),t||(t=!0,(r=a-(i.now()-n))<0&&(r=0),e||r<9?u():c(u,r))}},L=function(e){var t,n,r=99,a=function(){t=null,e()},o=function(){var e=i.now()-n;e<r?c(o,r-e):(f||a)(a)};return function(){n=i.now(),t||(t=c(o,r))}},M=(Q=/^img$/i,J=/^iframe$/i,K="onscroll"in e&&!/(gle|ing)bot/.test(navigator.userAgent),X=0,Y=0,Z=0,ee=-1,te=function(e){Z--,(!e||Z<0||!e.target)&&(Z=0)},ie=function(e){return null==H&&(H="hidden"==A(t.body,"visibility")),H||!("hidden"==A(e.parentNode,"visibility")&&"hidden"==A(e,"visibility"))},ne=function(e,i){var n,r=e,o=ie(e);for(U-=i,G+=i,q-=i,$+=i;o&&(r=r.offsetParent)&&r!=t.body&&r!=a;)(o=(A(r,"opacity")||1)>0)&&"visible"!=A(r,"overflow")&&(n=r.getBoundingClientRect(),o=$>n.left&&q<n.right&&G>n.top-1&&U<n.bottom+1);return o},re=function(){var e,i,o,s,l,c,d,f,v,h,y,m,g=n.elements;if((T=r.loadMode)&&Z<8&&(e=g.length)){for(i=0,ee++;i<e;i++)if(g[i]&&!g[i]._lazyRace)if(!K||n.prematureUnveil&&n.prematureUnveil(g[i]))fe(g[i]);else if((f=g[i][u]("data-expand"))&&(c=1*f)||(c=Y),h||(h=!r.expand||r.expand<1?a.clientHeight>500&&a.clientWidth>500?500:370:r.expand,n._defEx=h,y=h*r.expFactor,m=r.hFac,H=null,Y<y&&Z<1&&ee>2&&T>2&&!t.hidden?(Y=y,ee=0):Y=T>1&&ee>1&&Z<6?h:X),v!==c&&(j=innerWidth+c*m,B=innerHeight+c,d=-1*c,v=c),o=g[i].getBoundingClientRect(),(G=o.bottom)>=d&&(U=o.top)<=B&&($=o.right)>=d*m&&(q=o.left)<=j&&(G||$||q||U)&&(r.loadHidden||ie(g[i]))&&(D&&Z<3&&!f&&(T<3||ee<4)||ne(g[i],c))){if(fe(g[i]),l=!0,Z>9)break}else!l&&D&&!s&&Z<4&&ee<4&&T>
42&&(I[0]||r.preloadAfterLoad)&&(I[0]||!f&&(G||$||q||U||"auto"!=g[i][u](r.sizesAttr)))&&(s=I[0]||g[i]);s&&!l&&fe(s)}},ae=R(re),oe=function(e){var t=e.target;t._lazyCache?delete t._lazyCache:(te(e),p(t,r.loadedClass),b(t,r.loadingClass),z(t,ue),S(t,"lazyloaded"))},se=C(oe),ue=function(e){se({target:e.target})},le=function(e,t){var i=e.getAttribute("data-load-mode")||r.iframeLoadMode;0==i?e.contentWindow.location.replace(t):1==i&&(e.src=t)},ce=function(e){var t,i=e[u](r.srcsetAttr);(t=r.customMedia[e[u]("data-media")||e[u]("media")])&&e.setAttribute("media",t),i&&e.setAttribute("srcset",i)},de=C(function(e,t,i,n,a){var o,s,l,d,f,h;(f=S(e,"lazybeforeunveil",t)).defaultPrevented||(n&&(i?p(e,r.autosizesClass):e.setAttribute("sizes",n)),s=e[u](r.srcsetAttr),o=e[u](r.srcAttr),a&&(d=(l=e.parentNode)&&v.test(l.nodeName||"")),h=t.firesLoad||"src"in e&&(s||o||d),f={target:e},p(e,r.loadingClass),h&&(clearTimeout(V),V=c(te,2500),z(e,ue,!0)),d&&m.call(l.getElementsByTagName("source"),ce),s?e.setAttribute("srcset",s):o&&!d&&(J.test(e.nodeName)?le(e,o):e.src=o),a&&(s||d)&&w(e,{src:o})),e._lazyRace&&delete e._lazyRace,b(e,r.lazyClass),k(function(){var t=e.complete&&e.naturalWidth>1;h&&!t||(t&&p(e,r.fastLoadedClass),oe(f),e._lazyCache=!0,c(function(){"_lazyCache"in e&&delete e._lazyCache},9)),"lazy"==e.loading&&Z--},!0)}),fe=function(e){if(!e._lazyRace){var t,i=Q.test(e.nodeName),n=i&&(e[u](r.sizesAttr)||e[u]("sizes")),a="auto"==n;(!a&&D||!i||!e[u]("src")&&!e.srcset||e.complete||g(e,r.errorClass)||!g(e,r.lazyClass))&&(t=S(e,"lazyunveilread").detail,a&&O.updateElem(e,!0,e.offsetWidth),e._lazyRace=!0,Z++,de(e,t,a,n,i))}},ve=L(function(){r.loadMode=3,ae()}),he=function(){3==r.loadMode&&(r.loadMode=2),ve()},ye=function(){D||(i.now()-_<999?c(ye,999):(D=!0,r.loadMode=3,ae(),l("scroll",he,!0)))},{_:function(){_=i.now(),n.elements=t.getElementsByClassName(r.lazyClass),I=t.getElementsByClassName(r.lazyClass+" "+r.preloadClass),l("scroll",ae,!0),l("resize",ae,!0),l("pageshow",function(e){if(e.persisted){var i=t.querySelectorAll("."+r.loadingClass);i.length&&i.forEach&&d(function(){i.forEach(function(e){e.complete&&fe(e)})})}}),e.MutationObserver?new MutationObserver(ae).observe(a,{childList:!0,subtree:!0,attributes:!0}):(a[s]("DOMNodeInserted",ae,!0),a[s]("DOMAttrModified",ae,!0),setInterval(ae,999)),l("hashchange",ae,!0),["focus","mouseover","click","load","transitionend","animationend"].forEach(function(e){t[s](e,ae,!0)}),/d$|^c/.test(t.readyState)?ye():(l("load",ye),t[s]("DOMContentLoaded",ae),c(ye,2e4)),n.elements.length?(re(),k._lsFlush()):ae()},checkElems:ae,unveil:fe,_aLSL:he}),O=(F=C(function(e,t,i,n){var r,a,o;if(e._lazysizesWidth=n,n+="px",e.setAttribute("sizes",n),v.test(t.nodeName||""))for(a=0,o=(r=t.getElementsByTagName("source")).length;a<o;a++)r[a].setAttribute("sizes",n);i.detail.dataAttr||w(e,i.detail)}),x=function(e,t,i){var n,r=e.parentNode;r&&(i=E(e,r,i),(n=S(e,"lazybeforesizes",{width:i,dataAttr:!!t})).defaultPrevented||(i=n.detail.width)&&i!==e._lazysizesWidth&&F(e,r,n,i))},W=L(function(){var e,t=P.length;if(t)for(e=0;e<t;e++)x(P[e])}),{_:function(){P=t.getElementsByClassName(r.autosizesClass),l("resize",W)},checkElems:W,updateElem:x}),N=function(){!N.i&&t.getElementsByClassName&&(N.i=!0,O._(),M._())};var P,F,x,W;var I,D,V,T,_,j,B,U,q,$,G,H,Q,J,K,X,Y,Z,ee,te,ie,ne,re,ae,oe,se,ue,le,ce,de,fe,ve,he,ye;var me,ge,pe,be,ze,Se,we;return c(function(){r.init&&N()}),n={cfg:r,autoSizer:O,loader:M,init:N,uP:w,aC:p,rC:b,hC:g,fire:S,gW:E,rAF:k}}(t,t.document,Date);t.lazySizes=i,e.exports&&(e.exports=i)}("undefined"!=typeof window?window:{})}},t={};function i(n){var r=t[n];if(void 0!==r)return r.exports;var a=t[n]={exports:{}};return e[n](a,a.exports,i),a.exports}i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,{a:t}),t},i.cw=function(e){var t;return function(){if(e){var i=e;e=0,t={exports:{}},i.call(t.exports,t,t.exports)}return t.exports}},i.d=function(e,t){for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.dn=function(e){var t=Object.getOwnPropertyDescriptor(e,"name");(!t||!t.writable&&t.configurable)&&Object.defineProperty(e,"name",{value:"default",configurable:!0})},function(){"use strict";var e=i.cw(function(e,i){function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var n,r,a,o,s=[],u=!0,l=!1;try{if(a=(i=i.call(e)).next,0===t){if(Object(i)!==i)return;u=!1}else for(;!(u=(n=a.call(i)).done)&&(s.push(n.value),s.length!==t);u=!0);}catch(e){l=!0,r=e}
4finally{try{if(!u&&null!=i.return&&(o=i.return(),Object(o)!==o))return}finally{if(l)throw r}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return a(e,t);var i={}.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?a(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=Array(t);i<t;i++)n[i]=e[i];return n}function o(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,s(n.key),n)}}function s(e){var t=function(e,t){if("object"!=n(e)||!e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var r=i.call(e,t||"default");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==n(t)?t:t+""}t();var u="smushcdn.com",l="data-original-sizes",c="data-srcset",d=["gif","jpg","jpeg","png","webp"],f="w",v=function(){return e=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=t.precision,n=void 0===i?0:i,r=t.skipAutoWidth,a=void 0!==r&&r,o=t.cdnBaseURL,s=void 0===o?"":o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.precision=parseInt(n,10),this.precision=isNaN(this.precision)?0:this.precision,this.skipAutoWidth=a,this.cdnBaseURL="string"==typeof s?s.trim():"",this.initEventListeners()},i=[{key:"initEventListeners",value:function(){var e=this;document.addEventListener("lazybeforesizes",function(i){var n;(0,t().G)(null===(n=i.detail)||void 0===n?void 0:n.instance)&&e.maybeAutoResize(i)})}},{key:"maybeAutoResize",value:function(e){var t,i,n,r=e.target,a=null===(t=e.detail)||void 0===t?void 0:t.width;if("IMG"===(null==r?void 0:r.nodeName)&&a)if(null===(i=e.detail)||void 0===i?void 0:i.dataAttr){if(this.isElementEligibleForResizing(r))if(this.shouldRevertToOriginalSizes(r,a))this.revertToOriginalSizesIfNeeded(r)&&e.preventDefault();else{var o=this.triggerEvent(r,"smush:beforeSizes",{resizeWidth:a});if(o.defaultPrevented)this.revertToOriginalSizesIfNeeded(r)&&e.preventDefault();else{a=(null===(n=o.detail)||void 0===n?void 0:n.resizeWidth)||a;var s=this.getDataSrc(r);this.isFromSmushCDN(s)&&(this.resizeImageWithCDN(r,a),this.isChildOfPicture(r)&&this.resizeSourceElements(r.parentNode.querySelectorAll("source"),a))}}}else this.getOriginalSizesAttr(r)||e.preventDefault()}},{key:"shouldAutoResize",value:function(e,t){var i=e.parentNode;if(i&&this.isInlineElement(i)){if("PICTURE"===i.nodeName)return!1;var n=i.clientWidth,r=e.offsetWidth;if(t===n&&n===r)return!1}return!0}},{key:"isInlineElement",value:function(e){if(!e||1!==e.nodeType)return!1;var t=window.getComputedStyle(e).display;return"inline"===t||"inline-block"===t}},{key:"isChildOfPicture",value:function(e){var t;return e&&"PICTURE"===(null==e||null===(t=e.parentNode)||void 0===t?void 0:t.nodeName)}},{key:"resizeSourceElements",value:function(e,t){var i=this;e&&null!=e&&e.length&&e.forEach(function(e){return i.resizeSourceElement(e,t)})}},{key:"resizeSourceElement",value:function(e,t){var i=e.getAttribute(c);if(i){var n=this.parseSrcSet(i);if(n&&n.length)if(1===n.length&&""===n[0].unit)this.resizeNonResponsiveSource(e,n[0].src,t);else{var r=this.getBaseSourceSrcForResize(n,t);this.isFromSmushCDN(r)&&this.updateSrcsetForResize(e,i,r,t,n)}}}},{key:"resizeNonResponsiveSource",value:function(e,t,i){if(this.isFromSmushCDN(t)&&this.isSourceActive(e)){var n=this.getResizedCDNURL(t,i),r=this.getPixelRatio();if(r>1){var a=Math.ceil(i*r),o=this.getResizedCDNURL(t,a)+" "+a+f;n+=" ".concat(i).concat(f,", ").concat(o)}this.updateElementSrcset(e,null,n)}}},{key:"isSourceActive",value:function(e){var t,i=e.getAttribute("media");return!(i&&(null===(t=window)||void 0===t||null===(t=t.matchMedia(i))||void 0===t||!t.matches))}},{key:"getBaseSourceSrcForResize",value:function(e,t){var i=e[0];return f!==i.unit?null:!this.isThumbnail(i.src)||i.value>=t?i.src:null}},{key:"isElementEligibleForResizing",value:function(e){var t=this.getOriginalSizesAttr(e),i=this.getDataSrc(e),n=this.getDataSrcSet(e);return Boolean(t&&i&&n)}},{key:"shouldRevertToOriginalSizes",value:function(e,t){if("auto"===this.getElementWidth(e))return this.shouldSkipAutoWidth();var i=this.getOriginalSizesAttr(e),n=this.getMaxWidthFromSizes(i);return!(!(n&&t>
4n)||this.isChildOfPicture(e))||!this.shouldAutoResize(e,t)}},{key:"triggerEvent",value:function(e,t){var i=new CustomEvent(t,{detail:arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},bubbles:!(arguments.length>3&&void 0!==arguments[3])||arguments[3],cancelable:!(arguments.length>4&&void 0!==arguments[4])||arguments[4]});return e.dispatchEvent(i),i}},{key:"shouldSkipAutoWidth",value:function(){return this.skipAutoWidth}},{key:"resizeImageWithCDN",value:function(e,t){var i=this.getDataSrcSet(e),n=this.getDataSrc(e);if(i&&n){var r=this.parseSrcSet(i),a=this.getBaseImageSrcForResize(n,r,t);this.updateSrcsetForResize(e,i,a,t,r)}}},{key:"updateSrcsetForResize",value:function(e,t,i,n,r){var a=this.updateSrcsetWithTargetWidth(t,i,n,r);a=this.updateSrcsetWithRetinaWidth(a,i,n,r),this.updateElementSrcset(e,t,a)}},{key:"getBaseImageSrcForResize",value:function(e,t,i){if(!this.isThumbnail(e))return e;var n=t.find(function(e){return e.value>=i});return n?n.src:e}},{key:"isThumbnail",value:function(e){return new RegExp("(-\\d+x\\d+)\\.(".concat(d.join("|"),")(?:\\?.+)?$"),"i").test(e)}},{key:"updateSrcsetWithTargetWidth",value:function(e,t,i,n){return this.findSimilarSource(n,i)?e:e+", "+this.getResizedCDNURL(t,i)+" "+i+f}},{key:"updateSrcsetWithRetinaWidth",value:function(e,t,i,n){var r=this.getPixelRatio();if(r<=1)return e;var a=Math.ceil(i*r);return this.findSimilarSource(n,r,"x")||this.findSimilarSource(n,a,f)?e:e+", "+this.getResizedCDNURL(t,a)+" "+a+f}},{key:"updateElementSrcset",value:function(e,t,i){i!==t&&e.setAttribute("data-srcset",i)}},{key:"getPixelRatio",value:function(){return window.devicePixelRatio||1}},{key:"findSimilarSource",value:function(e,t){var i=this,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:f,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:this.precision;return e.find(function(e){return n===e.unit&&e.value>=t&&i.isFuzzyMatch(e.value,t,r)})}},{key:"getResizedCDNURL",value:function(e,t){var i=this.parseURL(e);if(i){var n=new URLSearchParams(i.search);n.set("size","".concat(t,"x0"));var r=i.origin+i.pathname;return"".concat(r,"?").concat(n.toString())}}},{key:"parseURL",value:function(e){try{return new URL(e)}catch(e){return null}}},{key:"parseSrcSet",value:function(e){var t=this.extractSourcesFromSrcSet(e);return this.sortSources(t)}},{key:"extractSourcesFromSrcSet",value:function(e){return e.split(",").map(function(e){var t=r(e.trim().split(/\s+/),2),i=t[0],n=t[1],a=0,o="";return n&&(n.endsWith(f)?(a=parseInt(n,10),o=f):n.endsWith("x")&&(a=parseFloat(n),o="x")),{markup:e,src:i,value:a,unit:o}})}},{key:"sortSources",value:function(e){return e.sort(function(e,t){return e.value===t.value?0:e.value>t.value?-1:1}),e}},{key:"revertToOriginalSizesIfNeeded",value:function(e){var t=this.getOriginalSizesAttr(e);return!!t&&(e.setAttribute("sizes",t),e.removeAttribute(l),!0)}},{key:"getElementWidth",value:function(e){var t,i=null===(t=e.style)||void 0===t?void 0:t.width;if(i&&"auto"===i.trim())return"auto";var n=window.getComputedStyle(e).width,r=parseInt(n,10);return isNaN(r)?n:r}},{key:"getMaxWidthFromSizes",value:function(e){var t=e.match(/\(max-width:\s*(\d+)px\)\s*100vw,\s*\1px/);return t?parseInt(t[1],10):0}},{key:"getOriginalSizesAttr",value:function(e){return e.getAttribute(l)}},{key:"getDataSrcSet",value:function(e){return e.getAttribute(c)}},{key:"getDataSrc",value:function(e){return e.getAttribute("data-src")}},{key:"isFromSmushCDN",value:function(e){if(!e||!this.cdnBaseURL)return!1;if(e.startsWith(this.cdnBaseURL))return!0;var t=this.parseURL(e);return!(null==t||!t.hostname)&&(t.hostname===u||t.hostname.endsWith(".".concat(u)))}},{key:"isFuzzyMatch",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.abs(e-t)<=i}}],i&&o(e.prototype,i),n&&o(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,i,n}();!function(e,t){if(null===(e=window.smushLazyLoadOptions)||void 0===e?void 0:e.autoResizingEnabled){var i=(null===(t=window.smushLazyLoadOptions)||void 0===t?void 0:t.autoResizeOptions)||{};i=Object.assign({precision:5,skipAutoWidth:!0},i),new v(i)}}()}),t=i.cw(function(e,t){i.d(t,{G:function(){return n}}),a();var n=function(e){return e===u()()||JSON.stringify((null==e?void 0:e.cfg)||{})===JSON.stringify((null===u()()||void 0===u()()?void 0:u()().cfg)||{})};t.A=u()()}),n=i.cw(function(e,i){t(),document.addEventListener("lazybeforeunveil",function(e){var i;(0,t().G)(null==e||null===(i=e.detail)||void 0===i?void 0:i.instance)&&function(e){var t=e.getAttribute("data-bg-image")||e.getAttribute("data-bg"),i=e.hasAttribute("data-bg-image")?"background-image":"background";if(t){var n,r=e.getAttribute("style")||"",a="".concat(i,": ").concat(t,";"),o=new RegExp("".concat(i,"\\s*:\\s*[^;]+;?"));n=o.test(r)?r.replace(o,a):r.length>0?r.replace(/;$/g,"")+";"+a:a,e.setAttribute("style",n.trim())}}(e.target)})}),r=i.cw(function(e,i){function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function r(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,a(n.key),n)}}function a(e){var t=function(e,t){if("object"!=n(e)||!e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var r=i.call(e,t||"default");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==n(t)?t:t+""}var o,s,u,l,c,d,f;
4t(),s="smush-lazyload-video",u="smush-lazyloaded-video",l="smush-lazyload-autoplay",c="ontouchstart"in window?"touchstart":"pointerdown",d=Number(null===(o=window)||void 0===o?void 0:o.smush_video_render_delay)||0,f=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.shouldDelayVideoRenderingForMobile=this.supportsIntersectionObserver(),this.queuedVideoElements=[],this.isMobileOrSafari=null,this.init()},i=[{key:"init",value:function(){var e=this;document.addEventListener("lazybeforeunveil",function(t){return e.handleVideoLazyLoad(t)}),document.addEventListener(c,function(){return e.enableVideoRenderingForMobile()},{once:!0,passive:!0}),document.addEventListener("DOMContentLoaded",function(){d<=0?document.querySelector(".".concat(s,".").concat(l))&&e.enableVideoRenderingForMobile():setTimeout(function(){return e.enableVideoRenderingForMobile()},d)})}},{key:"handleVideoLazyLoad",value:function(e){var i,n=e.target;(0,t().G)(null==e||null===(i=e.detail)||void 0===i?void 0:i.instance)&&n.classList.contains(s)&&(this.handleButtonPlay(n),this.maybePrepareVideoForPlay(n))}},{key:"handleButtonPlay",value:function(e){var t=this,i=e.querySelector(".".concat("smush-play-btn"));if(i){var n=function(){return t.loadIframeVideoWithAutoPlay(e)};i.addEventListener("click",n),i.addEventListener("keydown",function(e){"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),n())})}else{var r;this.loadIframeVideo(e),null===(r=window.console)||void 0===r||r.warning("Missing play button [.smush-play-btn] for video element:",e)}}},{key:"maybePrepareVideoForPlay",value:function(e){var t=e.classList.contains(l);this.shouldPrepareIframeForPlay()?this.maybePrepareVideoForMobileAndSafari(e,t):t&&this.loadIframeVideoWithAutoPlay(e)}},{key:"enableVideoRenderingForMobile",value:function(){this.shouldDelayVideoRenderingForMobile&&(this.shouldDelayVideoRenderingForMobile=!1,this.maybeObserveQueuedVideoElements())}},{key:"supportsIntersectionObserver",value:function(){return"IntersectionObserver"in window}},{key:"maybeObserveQueuedVideoElements",value:function(){this.queuedVideoElements.length&&this.observeQueuedVideoElements()}},{key:"observeQueuedVideoElements",value:function(){var e=this,t=new IntersectionObserver(function(i){i.forEach(function(i){if(i.isIntersecting){var n=i.target;e.loadIframeVideo(n),t.unobserve(n)}})},{rootMargin:"0px 0px 200px 0px",threshold:.1});this.queuedVideoElements.forEach(function(e){t.observe(e)})}},{key:"maybePrepareVideoForMobileAndSafari",value:function(e,t){this.shouldDelayVideoRenderingForMobile?this.queuedVideoElements.push(e):this.loadIframeVideo(e,t)}},{key:"shouldPrepareIframeForPlay",value:function(){return null===this.isMobileOrSafari&&(this.isMobileOrSafari=this.checkIfMobileOrSafari()),this.isMobileOrSafari}},{key:"checkIfMobileOrSafari",value:function(){var e=navigator.userAgent;return e.includes("Mobi")||e.includes("Safari")&&!e.includes("Chrome")}},{key:"loadIframeVideo",value:function(e){var t,i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!e.classList.contains(u)){e.classList.add(u,"loading");var n=e.querySelector("iframe");if(n){var r=null===(t=n.dataset)||void 0===t?void 0:t.src;if(r){if(i){var a=new URL(r);a.searchParams.set("autoplay","1"),a.searchParams.set("playsinline","1"),r=a.toString()}var o=n.getAttribute("allow")||"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture";o.includes("autoplay")||(o+="; autoplay"),n.setAttribute("allow",o),n.setAttribute("allowFullscreen","true"),n.setAttribute("src",r),e.classList.remove("loading")}else{var s;null===(s=window.console)||void 0===s||s.error("Missing data-src attribute for iframe:",n)}}else{var l;null===(l=window.console)||void 0===l||l.error("Missing iframe element in video wrapper:",e)}}}},{key:"loadIframeVideoWithAutoPlay",value:function(e){this.loadIframeVideo(e,!0)}}],i&&r(e.prototype,i),n&&r(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,i,n}(),new f}),a=function(){return i(6879)},o=window.lazySizesConfig||null;o&&delete window.lazySizesConfig;var s=function(){o?window.lazySizesConfig=o:"lazySizesConfig"in window&&delete window.lazySizesConfig};function u(){return u.c||(u.c=i.n(a()))}
vendor: 4,198 bytes, lines 4-5
4i.dn(s),t(),n(),r(),e(),t().A.init(),s()}()}();
5!function(){"use strict";function t(o){if(!o)throw new Error("No options passed to Waypoint constructor");if(!o.element)throw new Error("No element option passed to Waypoint constructor");if(!o.handler)throw new Error("No handler option passed to Waypoint constructor");this.key="waypoint-"+e,this.options=t.Adapter.extend({},t.defaults,o),this.element=this.options.element,this.adapter=new t.Adapter(this.element),this.callback=o.handler,this.axis=this.options.horizontal?"horizontal":"vertical",this.enabled=this.options.enabled,this.triggerPoint=null,this.group=t.Group.findOrCreate({name:this.options.group,axis:this.axis}),this.context=t.Context.findOrCreateByElement(this.options.context),t.offsetAliases[this.options.offset]&&(this.options.offset=t.offsetAliases[this.options.offset]),this.group.add(this),this.context.add(this),i[this.key]=this,e+=1}var e=0,i={};t.prototype.queueTrigger=function(t){this.group.queueTrigger(this,t)},t.prototype.trigger=function(t){this.enabled&&this.callback&&this.callback.apply(this,t)},t.prototype.destroy=function(){this.context.remove(this),this.group.remove(this),delete i[this.key]},t.prototype.disable=function(){return this.enabled=!1,this},t.prototype.enable=function(){return this.context.refresh(),this.enabled=!0,this},t.prototype.next=function(){return this.group.next(this)},t.prototype.previous=function(){return this.group.previous(this)},t.invokeAll=function(t){var e=[];for(var o in i)e.push(i[o]);for(var n=0,r=e.length;r>n;n++)e[n][t]()},t.destroyAll=function(){t.invokeAll("destroy")},t.disableAll=function(){t.invokeAll("disable")},t.enableAll=function(){t.invokeAll("enable")},t.refreshAll=function(){t.Context.refreshAll()},t.viewportHeight=function(){return window.innerHeight||document.documentElement.clientHeight},t.viewportWidth=function(){return document.documentElement.clientWidth},t.adapters=[],t.defaults={context:window,continuous:!0,enabled:!0,group:"default",horizontal:!1,offset:0},t.offsetAliases={"bottom-in-view":function(){return this.context.innerHeight()-this.adapter.outerHeight()},"right-in-view":function(){return this.context.innerWidth()-this.adapter.outerWidth()}},window.Waypoint=t}(),function(){"use strict";function t(t){window.setTimeout(t,1e3/60)}function e(t){this.element=t,this.Adapter=n.Adapter,this.adapter=new this.Adapter(t),this.key="waypoint-context-"+i,this.didScroll=!1,this.didResize=!1,this.oldScroll={x:this.adapter.scrollLeft(),y:this.adapter.scrollTop()},this.waypoints={vertical:{},horizontal:{}},t.waypointContextKey=this.key,o[t.waypointContextKey]=this,i+=1,this.createThrottledScrollHandler(),this.createThrottledResizeHandler()}var i=0,o={},n=window.Waypoint,r=window.onload;e.prototype.add=function(t){var e=t.options.horizontal?"horizontal":"vertical";this.waypoints[e][t.key]=t,this.refresh()},e.prototype.checkEmpty=function(){var t=this.Adapter.isEmptyObject(this.waypoints.horizontal),e=this.Adapter.isEmptyObject(this.waypoints.vertical);t&&e&&(this.adapter.off(".waypoints"),delete o[this.key])},e.prototype.createThrottledResizeHandler=function(){function t(){e.handleResize(),e.didResize=!1}var e=this;this.adapter.on("resize.waypoints",function(){e.didResize||(e.didResize=!0,n.requestAnimationFrame(t))})},e.prototype.createThrottledScrollHandler=function(){function t(){e.handleScroll(),e.didScroll=!1}var e=this;this.adapter.on("scroll.waypoints",function(){(!e.didScroll||n.isTouch)&&(e.didScroll=!0,n.requestAnimationFrame(t))})},e.prototype.handleResize=function(){n.Context.refreshAll()},e.prototype.handleScroll=function(){var t={},e={horizontal:{newScroll:this.adapter.scrollLeft(),oldScroll:this.oldScroll.x,forward:"right",backward:"left"},vertical:{newScroll:this.adapter.scrollTop(),oldScroll:this.oldScroll.y,forward:"down",backward:"up"}};for(var i in e){var o=e[i],n=o.newScroll>o.oldScroll,r=n?o.forward:o.backward;for(var s in this.waypoints[i]){var a=this.waypoints[i][s],l=o.oldScroll<a.triggerPoint,h=o.newScroll>=a.triggerPoint,p=l&&h,u=!l&&!h;(p||u)&&(a.queueTrigger(r),t[a.group.id]=a.group)}}for(var c in t)t[c].flushTriggers();this.oldScroll={x:e.horizontal.newScroll,y:e.vertical.newScroll}}
5,e.prototype.innerHeight=function(){return this.element==this.element.window?n.viewportHeight():this.adapter.innerHeight()},e.prototype.remove=function(t){delete this.waypoints[t.axis][t.key],this.checkEmpty()},e.prototype.innerWidth=function(){return this.element==this.element.window?n.viewportWidth():this.adapter.innerWidth()},e.prototype.destroy=function(){var t=[];for(var e in this.waypoints)for(var i in this.waypoints[e])t.push(this.waypoints[e][i]);for(var o=0,n=t.length;n>o;o++)t[o].destroy()},e.prototype.refresh=function(){var t,e=this.element==this.element.window,i=e?void 0:this.adapter.offset(),o={};this.handleScroll(),t={horizontal:{contextOffset:e?0:i.left,contextScroll:e?0:this.oldScroll.x,contextDimension:this.innerWidth(),oldScroll:this.oldScroll.x,forward:"right",backward:"left",offsetProp:"left"},vertical:{contextOffset:e?0:i.top,contextScroll:e?0:this.oldScroll.y,contextDimension:this.innerHeight(),oldScroll:this.oldScroll.y,forward:"down",backward:"up",offsetProp:"top"}};for(var r in t){var s=t[r];for(var a in this.waypoints[r]){var l,h,p,u,c,d=this.waypoints[r][a],f=d.options.offset,w=d.triggerPoint,y=0,g=null==w;d.element!==d.element.window&&(y=d.adapter.offset()[s.offsetProp]),"function"==typeof f?f=f.apply(d):"string"==typeof f&&(f=parseFloat(f),d.options.offset.indexOf("%")>-1&&(f=Math.ceil(s.contextDimension*f/100))),l=s.contextScroll-s.contextOffset,d.triggerPoint=y+l-f,h=w<s.oldScroll,p=d.triggerPoint>=s.oldScroll,u=h&&p,c=!h&&!p,!g&&u?(d.queueTrigger(s.backward),o[d.group.id]=d.group):!g&&c?(d.queueTrigger(s.forward),o[d.group.id]=d.group):g&&s.oldScroll>=d.triggerPoint&&(d.queueTrigger(s.forward),o[d.group.id]=d.group)}}return n.requestAnimationFrame(function(){for(var t in o)o[t].flushTriggers()}),this},e.findOrCreateByElement=function(t){return e.findByElement(t)||new e(t)},e.refreshAll=function(){for(var t in o)o[t].refresh()},e.findByElement=function(t){return o[t.waypointContextKey]},window.onload=function(){r&&r(),e.refreshAll()},n.requestAnimationFrame=function(e){var i=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||t;i.call(window,e)},n.Context=e}(),function(){"use strict";function t(t,e){return t.triggerPoint-e.triggerPoint}function e(t,e){return e.triggerPoint-t.triggerPoint}function i(t){this.name=t.name,this.axis=t.axis,this.id=this.name+"-"+this.axis,this.waypoints=[],this.clearTriggerQueues(),o[this.axis][this.name]=this}var o={vertical:{},horizontal:{}},n=window.Waypoint;i.prototype.add=function(t){this.waypoints.push(t)},i.prototype.clearTriggerQueues=function(){this.triggerQueues={up:[],down:[],left:[],right:[]}},i.prototype.flushTriggers=function(){for(var i in this.triggerQueues){var o=this.triggerQueues[i],n="up"===i||"left"===i;o.sort(n?e:t);for(var r=0,s=o.length;s>r;r+=1){var a=o[r];(a.options.continuous||r===o.length-1)&&a.trigger([i])}}this.clearTriggerQueues()},i.prototype.next=function(e){this.waypoints.sort(t);var i=n.Adapter.inArray(e,this.waypoints),o=i===this.waypoints.length-1;return o?null:this.waypoints[i+1]},i.prototype.previous=function(e){this.waypoints.sort(t);var i=n.Adapter.inArray(e,this.waypoints);return i?this.waypoints[i-1]:null},i.prototype.queueTrigger=function(t,e){this.triggerQueues[e].push(t)},i.prototype.remove=function(t){var e=n.Adapter.inArray(t,this.waypoints);e>-1&&this.waypoints.splice(e,1)},i.prototype.first=function(){return this.waypoints[0]},i.prototype.last=function(){return this.waypoints[this.waypoints.length-1]},i.findOrCreate=function(t){return o[t.axis][t.name]||new i(t)},n.Group=i}(),function(){"use strict";function t(t){this.$element=e(t)}var e=window.jQuery,i=window.Waypoint;e.each(["innerHeight","innerWidth","off","offset","on","outerHeight","outerWidth","scrollLeft","scrollTop"],function(e,i){t.prototype[i]=function(){var t=Array.prototype.slice.call(arguments);return this.$element[i].apply(this.$element,t)}}),e.each(["extend","inArray","isEmptyObject"],function(i,o){t[o]=e[o]}),i.adapters.push({name:"jquery",Adapter:t}),i.Adapter=t}(),function(){"use strict";function t(t){return function(){var i=[],o=arguments[0];return t.isFunction(arguments[0])&&(o=t.extend({},arguments[1]),o.handler=arguments[0]),this.each(function(){var n=t.extend({},o,{element:this});"string"==typeof n.context&&(n.context=t(this).closest(n.context)[0]),i.push(new e(n))}),i}}var e=window.Waypoint;window.jQuery&&(window.jQuery.fn.waypoint=t(window.jQuery)),window.Zepto&&(window.Zepto.fn.waypoint=t(window.Zepto))}();
6
7!function(t){"use strict";t.fn.countUp=function(e){var a=t.extend({time:2e3,delay:10},e);return this.each(function(){var e=t(this),n=a,u=function(){e.data("counterupTo")||e.data("counterupTo",e.text());var t=parseInt(e.data("counter-time"))>0?parseInt(e.data("counter-time")):n.time,a=parseInt(e.data("counter-delay"))>0?parseInt(e.data("counter-delay")):n.delay,u=t/a,r=e.data("counterupTo"),o=[r],c=/[0-9]+,[0-9]+/.test(r);r=r.replace(/,/g,"");for(var d=(/^[0-9]+$/.test(r),/^[0-9]+\.[0-9]+$/.test(r)),s=d?(r.split(".")[1]||[]).length:0,i=u;i>=1;i--){var p=parseInt(Math.round(r/u*i));if(d&&(p=parseFloat(r/u*i).toFixed(s)),c)for(;/(\d+)(\d{3})/.test(p.toString());)p=p.toString().replace(/(\d+)(\d{3})/,"$1,$2");o.unshift(p)}e.data("counterup-nums",o),e.text("0");var f=function(){e.text(e.data("counterup-nums").shift()),e.data("counterup-nums").length?setTimeout(e.data("counterup-func"),a):(delete e.data("counterup-nums"),e.data("counterup-nums",null),e.data("counterup-func",null))};e.data("counterup-func",f),setTimeout(e.data("counterup-func"),a)};e.waypoint(u,{offset:"100%",triggerOnce:!0})})}}(jQuery);
8
9(t=>
9{var d,p,e="0.4.2",f="hasOwnProperty",g=/[\.\/]/,y=/\s*,\s*/,m="*",x=function(t,e){return t-e},v={n:{}},b=function(){for(var t=0,e=this.length;t<e;t++)if(void 0!==this[t])return this[t]},w=function(){for(var t=this.length;--t;)if(void 0!==this[t])return this[t]},S=function(t,e){t=String(t);var n,r=p,i=Array.prototype.slice.call(arguments,2),o=S.listeners(t),a=0,s=[],l={},u=[],c=d;u.firstDefined=b,u.lastDefined=w,d=t;for(var h=p=0,f=o.length;h<f;h++)"zIndex"in o[h]&&(s.push(o[h].zIndex),o[h].zIndex<0)&&(l[o[h].zIndex]=o[h]);for(s.sort(x);s[a]<0;)if(n=l[s[a++]],u.push(n.apply(e,i)),p)return p=r,u;for(h=0;h<f;h++)if("zIndex"in(n=o[h]))if(n.zIndex==s[a]){if(u.push(n.apply(e,i)),p)break;do{if((n=l[s[++a]])&&u.push(n.apply(e,i)),p)break}while(n)}else l[n.zIndex]=n;else if(u.push(n.apply(e,i)),p)break;return p=r,d=c,u};S._events=v,S.listeners=function(t){for(var e,n,r,i,o,a,s,l,u=t.split(g),c=v,h=[v],f=[],i=0,o=u.length;i<o;i++){for(l=[],a=0,s=h.length;a<s;a++)for(n=[(c=h[a].n)[u[i]],c[m]],r=2;r--;)(e=n[r])&&(l.push(e),f=f.concat(e.f||[]));h=l}return f},S.on=function(t,e){if(t=String(t),"function"!=typeof e)return function(){};for(var n=t.split(y),r=0,i=n.length;r<i;r++){o=void 0;a=void 0;s=void 0;l=void 0;u=void 0;c=void 0;var o=n[r];for(var a,s=o.split(g),l=v,u=0,c=s.length;u<c;u++)l=(l=l.n).hasOwnProperty(s[u])&&l[s[u]]||(l[s[u]]={n:{}});for(l.f=l.f||[],u=0,c=l.f.length;u<c;u++)if(l.f[u]==e){a=!0;break}a||l.f.push(e)}return function(t){+t==+t&&(e.zIndex=+t)}},S.f=function(t){var e=[].slice.call(arguments,1);return function(){S.apply(null,[t,null].concat(e).concat([].slice.call(arguments,0)))}},S.stop=function(){p=1},S.nt=function(t){return t?new RegExp("(?:\\.|\\/|^)"+t+"(?:\\.|\\/|$)").test(d):d},S.nts=function(){return d.split(g)},S.off=S.unbind=function(t,e){var n;if(t)if(1<(n=t.split(y)).length)for(var r=0,i=n.length;r<i;r++)S.off(n[r],e);else{var n=t.split(g),o,a,s,r,i,l,u,c=[v];for(r=0,i=n.length;r<i;r++)for(l=0;l<c.length;l+=s.length-2){if(s=[l,1],o=c[l].n,n[r]!=m)o[n[r]]&&s.push(o[n[r]]);else for(a in o)o[f](a)&&s.push(o[a]);c.splice.apply(c,s)}for(r=0,i=c.length;r<i;r++)for(o=c[r];o.n;){if(e){if(o.f){for(l=0,u=o.f.length;l<u;l++)if(o.f[l]==e){o.f.splice(l,1);break}o.f.length||delete o.f}for(a in o.n)if(o.n[f](a)&&o.n[a].f){for(var h=o.n[a].f,l=0,u=h.length;l<u;l++)if(h[l]==e){h.splice(l,1);break}h.length||delete o.n[a].f}}else for(a in delete o.f,o.n)o.n[f](a)&&o.n[a].f&&delete o.n[a].f;o=o.n}}else S._events=v={n:{}}},S.once=function(t,e){var n=function(){return S.unbind(t,n),e.apply(this,arguments)};return S.on(t,n)},S.version=e,S.toString=function(){return"You are running Eve "+e},"undefined"!=typeof module&&module.exports?module.exports=S:"function"==typeof define&&define.amd?define("eve",[],function(){return S}):t.eve=S})(this),((e,n)=>{var t;"function"==typeof define&&define.amd?define(["eve"],function(t){return n(e,t)}):"undefined"!=typeof exports?(t=require("eve"),module.exports=n(e,t)):n(e,e.eve)})(window||this,function(b,C){var w=(J=void 0===C?function(){}:C,N={},K=b.requestAnimationFrame||b.webkitRequestAnimationFrame||b.mozRequestAnimationFrame||b.oRequestAnimationFrame||b.msRequestAnimationFrame||function(t){setTimeout(t,16)},tt=Array.isArray||function(t){return t instanceof Array||"[object Array]"==Object.prototype.toString.call(t)},et=0,nt="M"+(+new Date).toString(36),rt=function(){return nt+(et++).toString(36)},t=Date.now||function(){return+new Date},it=function(t){var e=this;if(null==t)return e.s;var n=e.s-t;e.b+=e.dur*n,e.B+=e.dur*n,e.s=t},ot=function(t){var e=this;return null==t?e.spd:void(e.spd=t)},at=function(t){var e=this;return null==t?e.dur:(e.s=e.s*t/e.dur,void(e.dur=t))},st=function(){var t=this;delete N[t.id],t.update(),J("mina.stop."+t.id,t)},lt=function(){var t=this;t.pdif||(delete N[t.id],t.update(),t.pdif=t.get()-t.b)},ut=function(){var t=this;t.pdif&&(t.b=t.get()-t.pdif,delete t.pdif,N[t.id]=t)},ct=function(){var t,e=this;if(tt(e.start))for(var t=[],n=0,r=e.start.length;n<r;n++)t[n]=+e.start[n]+(e.end[n]-e.start[n])*e.easing(e.s);else t=+e.start+(e.end-e.start)*e.easing(e.s);e.set(t)},ht=function(){var t=0,e,n,r;for(e in N){N.hasOwnProperty(e)&&(r=(n=N[e]).get(),t++,n.s=(r-n.b)/(n.dur/n.spd),1<=n.s&&(delete N[e],n.s=1,t--,(t=>{setTimeout(function(){J("mina.finish."+t.id,t)})})(n)),n.update())}t&&K(ht)},(j=function(t,e,n,r,i,o,a){var t={id:rt(),start:t,end:e,b:n,s:0,dur:r-n,spd:1,get:i,set:o,easing:a||j.linear,status:it,speed:ot,duration:at,stop:st,pause:lt,resume:ut,update:ct};N[t.id]=t;var s,l=0;for(s in N)if(N.hasOwnProperty(s)&&(l++,2==l))break;return 1==l&&K(ht),t}).time=t,j.getById=function(t){return N[t]||null},j.linear=function(t){return t},j.easeout=function(t){return Math.pow(t,1.7)},j.easein=function(t){return Math.pow(t,.48)},j.easeinout=function(t){var t,e,n,r,e,i,t;return 1==t?1:0==t?0:(t=.48-t/1.04,n=(e=Math.sqrt(.1734+t*t))-t,e=-e-t,3*(1-(t=Math.pow(Math.abs(n),1/3)*(n<0?-1:1)+Math.pow(Math.abs(e),1/3)*(e<0?-1:1)+.5))*t*t+t*t*t)},j.backin=function(t){var e;return 1==t?1:t*t*((1+(e=1.70158))*t-e)},j.backout=function(t){var e;return 0==t?0:--t*t*((1+(e=1.70158))*t+e)+1},j.elastic=function(t){return t==!!t?t:Math.pow(2,-10*t)*Math.sin(2*(t-.075)*Math.PI/.3)+1},j.bounce=function(t){var e,e=7.5625,n=2.75,e=t<1/n?e*t*t:t<2/n?e*(t-=1.5/n)*t+.75:t<2.5/n?e*(t-=2.25/n)*t+.9375:e*(t-=2.625/n)*t+.984375;return e},b.mina=j),t=(t=b||this,P.version="0.4.0",P.toString=function(){return"Snap v"+this.version},P._={},l={win:t.window,doc:t.window.document},P._.glob=l,u="hasOwnProperty",y=String,s=parseFloat,c=parseInt,h=Math,f=h.max,d=h.min,p=h.abs,m=h.PI,x="",n=Object.prototype.toString,G=/^\s*((#[a-f\d]{6})|(#[a-f\d]{3})|rgba?\(\s*([\d\.]+%?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+%?(?:\s*,\s*[\d\.]+%?)?)\s*\)|hsba?\(\s*([\d\.]+(?:deg|\xb0|%)?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+(?:%?\s*,\s*[\d\.]+)?%?)\s*\)|hsla?\(\s*([\d\.]+(?:deg|\xb0|%)?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+(?:%?\s*,\s*[\d\.]+)?%?)\s*\))\s*$/i,P._.separator=/[,\s]+/,v=/[\s]*,[\s]*/,R={hs:1,rg:1},z=/([a-z])[\s,]*((-?\d*\.?\d*(?:e[\-+]?\d+)?[\s]*,?[\s]*)+)/gi,e=/([rstm])[\s,]*((-?\d*\.?\d*(?:e[\-+]?\d+)?[\s]*,?[\s]*)+)/gi,S=/(-?\d*\.?\d*(?:e[\-+]?\\d+)?)[\s]*,?[\s]*/gi,D=0,I="S"+(+new Date).toString(36),k=function(t){return(t&&t.type?t.type:x)+I+(D++).toString(36)},i="http://www.w3.org/1999/xlink",_="http://www.w3.org/2000/svg",B={}
9,P.url=function(t){return"url('#"+t+"')"},P._.$=L,P._.id=k,P.format=(U=/\{([^\}]+)\}/g,X=/(?:(?:^|\.)(.+?)(?=\[|\.|$|\()|\[('|")(.+?)\2\])(\(\))?/g,$=function(t,e,n){var o=n;return e.replace(X,function(t,e,n,r,i){e=e||r,o&&"function"==typeof(o=e in o?o[e]:o)&&i&&(o=o())}),o=(null==o||o==n?t:o)+""},function(t,n){return y(t).replace(U,function(t,e){return $(t,e,n)})}),P._.clone=ft,P._.cacher=r,P.rad=gt,P.deg=yt,P.sin=function(t){return h.sin(P.rad(t))},P.tan=function(t){return h.tan(P.rad(t))},P.cos=function(t){return h.cos(P.rad(t))},P.asin=function(t){return P.deg(h.asin(t))},P.acos=function(t){return P.deg(h.acos(t))},P.atan=function(t){return P.deg(h.atan(t))},P.atan2=function(t){return P.deg(h.atan2(t))},P.angle=pt,P.len=function(t,e,n,r){return Math.sqrt(P.len2(t,e,n,r))},P.len2=function(t,e,n,r){return(t-n)*(t-n)+(e-r)*(e-r)},P.closestPoint=function(t,n,r){function e(t){var e=t.x-n,t=t.y-r;return e*e+t*t}for(var i,o,a,s,l=t.node,u=l.getTotalLength(),c=u/l.pathSegList.numberOfItems*.125,h=1/0,f=0,d,p,p,d,g,g;f<=u;f+=c)(s=e(a=l.getPointAtLength(f)))<h&&(i=a,o=f,h=s);for(c*=.5;.5<c;){0<=(p=o-c)&&(g=e(d=l.getPointAtLength(p)))<h?(i=d,o=p,h=g):(d=o+c)<=u&&(g=e(p=l.getPointAtLength(d)))<h?(i=p,o=d,h=g):c*=.5}return{x:i.x,y:i.y,length:o,distance:Math.sqrt(h)}},P.is=q,P.snapTo=function(t,e,n){if(n=q(n,"finite")?n:10,q(t,"array")){for(var r=t.length;r--;)if(p(t[r]-e)<=n)return t[r]}else{var i=e%(t=+t);if(i<n)return e-i;if(t-n<i)return e-i+t}return e},P.getRGB=r(function(t){var e,n,r,i,o,a,t;return!t||(t=y(t)).indexOf("-")+1?{r:-1,g:-1,b:-1,hex:"none",error:1,toString:F}:"none"==t?{r:-1,g:-1,b:-1,hex:"none",toString:F}:(t=R[u](t.toLowerCase().substring(0,2))||"#"==t.charAt()?t:T(t))&&(t=t.match(G))?(t[2]&&(r=c(t[2].substring(5),16),n=c(t[2].substring(3,5),16),e=c(t[2].substring(1,3),16)),t[3]&&(r=c((o=t[3].charAt(3))+o,16),n=c((o=t[3].charAt(2))+o,16),e=c((o=t[3].charAt(1))+o,16)),t[4]&&(a=t[4].split(v),e=s(a[0]),"%"==a[0].slice(-1)&&(e*=2.55),n=s(a[1]),"%"==a[1].slice(-1)&&(n*=2.55),r=s(a[2]),"%"==a[2].slice(-1)&&(r*=2.55),"rgba"==t[1].toLowerCase().slice(0,4)&&(i=s(a[3])),a[3])&&"%"==a[3].slice(-1)&&(i/=100),t[5]?(a=t[5].split(v),e=s(a[0]),"%"==a[0].slice(-1)&&(e/=100),n=s(a[1]),"%"==a[1].slice(-1)&&(n/=100),r=s(a[2]),"%"==a[2].slice(-1)&&(r/=100),"deg"!=a[0].slice(-3)&&"°"!=a[0].slice(-1)||(e/=360),"hsba"==t[1].toLowerCase().slice(0,4)&&(i=s(a[3])),a[3]&&"%"==a[3].slice(-1)&&(i/=100),P.hsb2rgb(e,n,r,i)):t[6]?(a=t[6].split(v),e=s(a[0]),"%"==a[0].slice(-1)&&(e/=100),n=s(a[1]),"%"==a[1].slice(-1)&&(n/=100),r=s(a[2]),"%"==a[2].slice(-1)&&(r/=100),"deg"!=a[0].slice(-3)&&"°"!=a[0].slice(-1)||(e/=360),"hsla"==t[1].toLowerCase().slice(0,4)&&(i=s(a[3])),a[3]&&"%"==a[3].slice(-1)&&(i/=100),P.hsl2rgb(e,n,r,i)):(e=d(h.round(e),255),n=d(h.round(n),255),r=d(h.round(r),255),i=d(f(i,0),1),(t={r:e,g:n,b:r,toString:F}).hex="#"+(16777216|r|n<<8|e<<16).toString(16).slice(1),t.opacity=q(i,"finite")?i:1,t)):{r:-1,g:-1,b:-1,hex:"none",error:1,toString:F}},P),P.hsb=r(function(t,e,n){return P.hsb2rgb(t,e,n).hex}),P.hsl=r(function(t,e,n){return P.hsl2rgb(t,e,n).hex}),P.rgb=r(function(t,e,n,r){var i;return q(r,"finite")?"rgba("+[(i=h.round)(t),i(e),i(n),+r.toFixed(2)]+")":"#"+(16777216|n|e<<8|t<<16).toString(16).slice(1)}),T=function(t){var e=l.doc.getElementsByTagName("head")[0]||l.doc.getElementsByTagName("svg")[0],n="rgb(255, 0, 0)";return(T=r(function(t){if("red"==t.toLowerCase())return n;e.style.color=n,e.style.color=t;var t=l.doc.defaultView.getComputedStyle(e,x).getPropertyValue("color");return t==n?null:t}))(t)},H=function(){return"hsb("+[this.h,this.s,this.b]+")"},Y=function(){return"hsl("+[this.h,this.s,this.l]+")"},F=function(){return 1==this.opacity||null==this.opacity?this.hex:"rgba("+[this.r,this.g,this.b,this.opacity]+")"},A=function(t,e,n){var r;return null==e&&q(t,"object")&&"r"in t&&"g"in t&&"b"in t&&(n=t.b,e=t.g,t=t.r),null==e&&q(t,string)&&(t=(r=P.getRGB(t)).r,e=r.g,n=r.b),(1<t||1<e||1<n)&&(t/=255,e/=255,n/=255),[t,e,n]},M=function(t,e,n,r){var t={r:t=h.round(255*t),g:e=h.round(255*e),b:n=h.round(255*n),opacity:q(r,"finite")?r:1,hex:P.rgb(t,e,n),toString:F};return q(r,"finite")&&(t.opacity=r),t},P.color=function(t){var e;return q(t,"object")&&"h"in t&&"s"in t&&"b"in t?(e=P.hsb2rgb(t),t.r=e.r,t.g=e.g,t.b=e.b,t.opacity=1,t.hex=e.hex):q(t,"object")&&"h"in t&&"s"in t&&"l"in t?(e=P.hsl2rgb(t),t.r=e.r,t.g=e.g,t.b=e.b,t.opacity=1,t.hex=e.hex):(q(t,"string")&&(t=P.getRGB(t)),q(t,"object")&&"r"in t&&"g"in t&&"b"in t&&!("error"in t)?(e=P.rgb2hsl(t),t.h=e.h,t.s=e.s,t.l=e.l,e=P.rgb2hsb(t),t.v=e.b):((t={hex:"none"}).r=t.g=t.b=t.h=t.s=t.v=t.l=-1,t.error=1)),t.toString=F,t},P.hsb2rgb=function(t,e,n,r){var i,o,n,a,e;
9return q(t,"object")&&"h"in t&&"s"in t&&"b"in t&&(n=t.b,e=t.s,r=t.o,t=t.h),a=(e=n*e)*(1-p((t=(t*=360)%360/60)%2-1)),i=o=n=n-e,M(i+=[e,a,0,0,a,e][t=~~t],o+=[a,e,e,a,0,0][t],n+=[0,0,a,e,e,a][t],r)},P.hsl2rgb=function(t,e,n,r){var i,o,n,a,e;return q(t,"object")&&"h"in t&&"s"in t&&"l"in t&&(n=t.l,e=t.s,t=t.h),(1<t||1<e||1<n)&&(t/=360,e/=100,n/=100),a=(e=2*e*(n<.5?n:1-n))*(1-p((t=(t*=360)%360/60)%2-1)),i=o=n=n-e/2,M(i+=[e,a,0,0,a,e][t=~~t],o+=[a,e,e,a,0,0][t],n+=[0,0,a,e,e,a][t],r)},P.rgb2hsb=function(t,e,n){var r,i,o,a;return t=(n=A(t,e,n))[0],{h:r=((r=0==(a=(o=f(t,e=n[1],n=n[2]))-d(t,e,n))?null:o==t?(e-n)/a:o==e?(n-t)/a+2:(t-e)/a+4)+360)%6*60/360,s:i=0==a?0:a/o,b:o,toString:H}},P.rgb2hsl=function(t,e,n){var r,i,o,a,s,s;return t=(n=A(t,e,n))[0],o=((a=f(t,e=n[1],n=n[2]))+(s=d(t,e,n)))/2,{h:r=((r=0==(s=a-s)?null:a==t?(e-n)/s:a==e?(n-t)/s+2:(t-e)/s+4)+360)%6*60/360,s:i=0==s?0:o<.5?s/(2*o):s/(2-2*o),l:o,toString:Y}},P.parsePathString=function(t){var e,o,a;return t?(e=P.path(t)).arr?P.path.clone(e.arr):(o={a:7,c:6,o:2,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,u:3,z:0},a=[],(a=q(t,"array")&&q(t[0],"array")?P.path.clone(t):a).length||y(t).replace(z,function(t,e,n){var r=[],i=e.toLowerCase();if(n.replace(S,function(t,e){e&&r.push(+e)}),"m"==i&&2<r.length&&(a.push([e].concat(r.splice(0,2))),i="l",e="m"==e?"l":"L"),"o"==i&&1==r.length&&a.push([e,r[0]]),"r"==i)a.push([e].concat(r));else for(;o[i]<=r.length&&(a.push([e].concat(r.splice(0,o[i]))),o[i]););}),a.toString=P.path.toString,e.arr=P.path.clone(a),a):null},W=P.parseTransformString=function(t){var i;return t?(i=[],(i=q(t,"array")&&q(t[0],"array")?P.path.clone(t):i).length||y(t).replace(e,function(t,e,n){var r=[];e.toLowerCase(),n.replace(S,function(t,e){e&&r.push(+e)}),i.push([e].concat(r))}),i.toString=P.path.toString,i):null},P._.svgTransform2string=mt,P._.rgTransform=/^[a-z][\s]*-?\.?\d/i,P._.transform2matrix=xt,P._unit2px=wt,l.doc.contains||l.doc.compareDocumentPosition,P._.getSomeDefs=vt,P._.getSomeSVG=bt,P.select=function(t){return t=y(t).replace(/([^\\]):/g,"$1\\:"),a(l.doc.querySelector(t))},P.selectAll=function(t){for(var e=l.doc.querySelectorAll(t),n=(P.set||Array)(),r=0;r<e.length;r++)n.push(a(e[r]));return n},setInterval(function(){for(var t in B){var e,n;B[u](t)&&(n=(e=B[t]).node,"svg"!=e.type&&!n.ownerSVGElement||"svg"==e.type&&(!n.parentNode||"ownerSVGElement"in n.parentNode&&!n.ownerSVGElement))&&delete B[t]}},1e4),E.prototype.attr=function(t,e){var n=this,r=n.node,i;if(!t){if(1!=r.nodeType)return{text:r.nodeValue};for(var o=r.attributes,a={},s=0,l=o.length;s<l;s++)a[o[s].nodeName]=o[s].nodeValue;return a}if(q(t,"string")){if(!(1<arguments.length))return C("snap.util.getattr."+t,n).firstDefined();var r={};r[t]=e,t=r}for(i in t)t[u](i)&&C("snap.util.attr."+i,n,t[i]);return n},P.parse=function(t){var e=l.doc.createDocumentFragment(),n=!0,r=l.doc.createElement("div");if((t=y(t)).match(/^\s*<\s*svg(?:\s|>)/)||(t="<svg>"+t+"</svg>",n=!1),r.innerHTML=t,t=r.getElementsByTagName("svg")[0])if(n)e=t;else for(;t.firstChild;)e.appendChild(t.firstChild);return new o(e)},P.fragment=function(){for(var t=Array.prototype.slice.call(arguments,0),e=l.doc.createDocumentFragment(),n=0,r=t.length;n<r;n++){var i=t[n];i.node&&i.node.nodeType&&e.appendChild(i.node),i.nodeType&&e.appendChild(i),"string"==typeof i&&e.appendChild(P.parse(i).node)}return new o(e)},P._.make=V,P._.wrap=a,O.prototype.el=function(t,e){var t=V(t,this.node);return e&&t.attr(e),t},E.prototype.children=function(){for(var t=[],e=this.node.childNodes,n=0,r=e.length;n<r;n++)t[n]=P(e[n]);return t},E.prototype.toJSON=function(){var t=[];return Ct([this],t),t[0]},C.on("snap.util.getattr",function(){var t=C.nt(),t,e=(t=t.substring(t.lastIndexOf(".")+1)).replace(/[A-Z]/g,function(t){return"-"+t.toLowerCase()});return Z[u](e)?this.node.ownerDocument.defaultView.getComputedStyle(this.node,null).getPropertyValue(e):L(this.node,t)}),Z={"alignment-baseline":0,"baseline-shift":0,clip:0,"clip-path":0,"clip-rule":0,color:0,"color-interpolation":0,"color-interpolation-filters":0,"color-profile":0,"color-rendering":0,cursor:0,direction:0,display:0,"dominant-baseline":0,"enable-background":0,fill:0,"fill-opacity":0,"fill-rule":0,filter:0,"flood-color":0,"flood-opacity":0,font:0,"font-family":0,"font-size":0,"font-size-adjust":0,"font-stretch":0,"font-style":0,"font-variant":0,"font-weight":0,"glyph-orientation-horizontal":0,"glyph-orientation-vertical":0,"image-rendering":0,kerning:0,"letter-spacing":0,"lighting-color":0,marker:0,"marker-end":0,"marker-mid":0,"marker-start":0,mask:0,opacity:0,overflow:0,"pointer-events":0,"shape-rendering":0,"stop-color":0,"stop-opacity":0,stroke:0,"stroke-dasharray":0,"stroke-dashoffset":0,"stroke-linecap":0,"stroke-linejoin":0,"stroke-miterlimit":0,"stroke-opacity":0,"stroke-width":0,"text-anchor":0,"text-decoration":0,"text-rendering":0,"unicode
9-bidi":0,visibility:0,"word-spacing":0,"writing-mode":0},C.on("snap.util.attr",function(t){var e=C.nt(),n={},e,r=(n[e=e.substring(e.lastIndexOf(".")+1)]=t,e.replace(/-(\w)/gi,function(t,e){return e.toUpperCase()})),e=e.replace(/[A-Z]/g,function(t){return"-"+t.toLowerCase()});Z[u](e)?this.node.style[r]=null==t?x:t:L(this.node,n)}),P.ajax=function(t,e,n,r){var i=new XMLHttpRequest,o=k();if(i){if(q(e,"function"))r=n,n=e,e=null;else if(q(e,"object")){var a=[],s;for(s in e)e.hasOwnProperty(s)&&a.push(encodeURIComponent(s)+"="+encodeURIComponent(e[s]));e=a.join("&")}return i.open(e?"POST":"GET",t,!0),e&&(i.setRequestHeader("X-Requested-With","XMLHttpRequest"),i.setRequestHeader("Content-type","application/x-www-form-urlencoded")),n&&(C.once("snap.ajax."+o+".0",n),C.once("snap.ajax."+o+".200",n),C.once("snap.ajax."+o+".304",n)),i.onreadystatechange=function(){4==i.readyState&&C("snap.ajax."+o+"."+i.status,r,i)},4==i.readyState||i.send(e),i}},P.load=function(t,e,n){P.ajax(t,function(t){var t=P.parse(t.responseText);n?e.call(n,t):e(t)})},Q=function(t){var e=t.getBoundingClientRect(),t=t.ownerDocument,n=t.body,t=t.documentElement,r=t.clientTop||n.clientTop||0,i=t.clientLeft||n.clientLeft||0,o,a;return{y:e.top+(g.win.pageYOffset||t.scrollTop||n.scrollTop)-r,x:e.left+(g.win.pageXOffset||t.scrollLeft||n.scrollLeft)-i}},P.getElementByPoint=function(t,e){var n,r=(this.canvas,l.doc.elementFromPoint(t,e)),i,o,t;return(r=l.win.opera&&"svg"==r.tagName&&(i=Q(r),(o=r.createSVGRect()).x=t-i.x,o.y=e-i.y,o.width=o.height=1,(t=r.getIntersectionList(o,null)).length)?t[t.length-1]:r)?a(r):null},P.plugin=function(t){t(P,E,O,l,o)},l.win.Snap=P),t,l,u,y,s,c,h,f,d,p,m,x,n,G,v,R,z,e,S,D,I,k,i,_,B,U,X,$,T,H,Y,F,A,M,W,Z,Q,J,N,K,tt,et,nt,rt,t,it,ot,at,st,lt,ut,ct,ht,j;function P(t,e){if(t){if(t.nodeType)return a(t);if(q(t,"array")&&P.set)return P.set.apply(P,t);if(t instanceof E)return t;if(null==e)return a(t=l.doc.querySelector(String(t)))}return new O(t=null==t?"100%":t,e=null==e?"100%":e)}function L(t,e){if(e){if("string"==typeof(t="#comment"==(t="#text"==t?l.doc.createTextNode(e.text||e["#text"]||""):t)?l.doc.createComment(e.text||e["#text"]||""):t)&&(t=L(t)),"string"==typeof e)return 1==t.nodeType?"xlink:"==e.substring(0,6)?t.getAttributeNS(i,e.substring(6)):"xml:"==e.substring(0,4)?t.getAttributeNS(_,e.substring(4)):t.getAttribute(e):"text"==e?t.nodeValue:null;if(1==t.nodeType)for(var n in e){var r;e[u](n)&&((r=y(e[n]))?"xlink:"==n.substring(0,6)?t.setAttributeNS(i,n.substring(6),r):"xml:"==n.substring(0,4)?t.setAttributeNS(_,n.substring(4),r):t.setAttribute(n,r):t.removeAttribute(n))}else"text"in e&&(t.nodeValue=e.text)}else t=l.doc.createElementNS(_,t);return t}function q(t,e){return"finite"==(e=y.prototype.toLowerCase.call(e))?isFinite(t):!("array"!=e||!(t instanceof Array||Array.isArray&&Array.isArray(t)))||"null"==e&&null===t||e==typeof t&&null!==t||"object"==e&&t===Object(t)||n.call(t).slice(8,-1).toLowerCase()==e}function ft(t){if("function"==typeof t||Object(t)!==t)return t;var e=new t.constructor,n;for(n in t)t[u](n)&&(e[n]=ft(t[n]));return e}function dt(t,e){for(var n=0,r=t.length;n<r;n++)if(t[n]===e)return t.push(t.splice(n,1)[0])}function r(i,o,a){function s(){var t=Array.prototype.slice.call(arguments,0),e=t.join("␀"),n=s.cache=s.cache||{},r=s.count=s.count||[];return n[u](e)?dt(r,e):(1e3<=r.length&&delete n[r.shift()],r.push(e),n[e]=i.apply(o,t)),a?a(n[e]):n[e]}return s}function pt(t,e,n,r,i,o){var a,s;return null==i?(s=e-r,(a=t-n)||s?(180+180*h.atan2(-s,-a)/m+360)%360:0):pt(t,e,i,o)-pt(n,r,i,o)}function gt(t){return t%360*m/180}function yt(t){return 180*t/m%360}function mt(t){var r=[];return t=t.replace(/(?:^|\s)(\w+)\(([^)]+)\)/g,function(t,e,n){return n=n.split(/\s*,\s*|\s+/),"rotate"==e&&1==n.length&&n.push(0,0),"scale"==e&&(2<n.length?n=n.slice(0,2):2==n.length&&n.push(0,0),1==n.length)&&n.push(n[0],0,0),r.push("skewX"==e?["m",1,0,h.tan(gt(n[0])),1,0,0]:"skewY"==e?["m",1,h.tan(gt(n[0])),0,1,0,0]:[e.charAt(0)].concat(n)),t}),r}function xt(t,e){var n=W(t),r=new P.Matrix;if(n)for(var i=0,o=n.length;i<o;i++){var a,s,l,u,c,h=n[i],f=h.length,d=y(h[0]).toLowerCase(),p=h[0]!=d,g=p?r.invert():0;"t"==d&&2==f?r.translate(h[1],0):"t"==d&&3==f?p?(a=g.x(0,0),s=g.y(0,0),l=g.x(h[1],h[2]),u=g.y(h[1],h[2]),r.translate(l-a,u-s)):r.translate(h[1],h[2]):"r"==d?2==f?r.rotate(h[1],(c=c||e).x+c.width/2,c.y+c.height/2):4==f&&(p?(l=g.x(h[2],h[3]),u=g.y(h[2],h[3]),r.rotate(h[1],l,u)):r.rotate(h[1],h[2],h[3])):"s"==d?2==f||3==f?r.scale(h[1],h[f-1],(c=c||e).x+c.width/2,c.y+c.height/2):4==f?p?(l=g.x(h[2],h[3]),u=g.y(h[2],h[3]),r.scale(h[1],h[1],l,u)):r.scale(h[1],h[1],h[2],h[3]):5==f&&(p?(l=g.x(h[3],h[4]),u=g.y(h[3],h[4]),r.scale(h[1],h[2],l,u)):r.scale(h[1],h[2],h[3],h[4])):"m"==d&&7==f&&r.add(h[1],h[2],h[3],h[4],h[5],h[6])}return r}function vt(t){var t=t.node.ownerSVGElement&&a(t.node.ownerSVGElement)||t.node.parentNode&&a(t.node.parentNode)||P.select("svg")||P(0,0),e=t.select("defs"),n,n;return n=(n=null!=e&&e.node)||V("defs",t.node).node}function bt(t){return t.node.ownerSVGElement&&a(t.node.ownerSVGElement)||P.select("svg")}function wt(n,r,i){function t(t){if(null==t)return x;if(t==+t)return t;L(l,{width:t});try{return l.getBBox().width}catch(t){return 0}}function e(t){if(null==t)return x;if(t==+t)return t;L(l,{height:t});try{return l.getBBox().height}catch(t){return 0}}function o(t,e){null==r?s[t]=e(n.attr(t)||0):t==r&&(s=e(null==i?n.attr(t)||0:i))}var a=bt(n).node,s={},l=a.querySelector(".svg---mgr");switch(l||(l=L("rect"),L(l,{x:-9e9,y:-9e9,width:10,height:10,class:"svg---mgr",fill:"none"}
9),a.appendChild(l)),n.type){case"rect":o("rx",t),o("ry",e);case"image":o("width",t),o("height",e);case"text":o("x",t),o("y",e);break;case"circle":o("cx",t),o("cy",e),o("r",t);break;case"ellipse":o("cx",t),o("cy",e),o("rx",t),o("ry",e);break;case"line":o("x1",t),o("x2",t),o("y1",e),o("y2",e);break;case"marker":o("refX",t),o("markerWidth",t),o("refY",e),o("markerHeight",e);break;case"radialGradient":o("fx",t),o("fy",e);break;case"tspan":o("dx",t),o("dy",e);break;default:o(r,t)}return a.removeChild(l),s}function St(t){q(t,"array")||(t=Array.prototype.slice.call(arguments,0));for(var e=0,n=0,r=this.node;this[e];)delete this[e++];for(e=0;e<t.length;e++)"set"==t[e].type?t[e].forEach(function(t){r.appendChild(t.node)}):r.appendChild(t[e].node);for(var i=r.childNodes,e=0;e<i.length;e++)this[n++]=a(i[e]);return this}function E(t){if(t.snap in B)return B[t.snap];var e;try{e=t.ownerSVGElement}catch(t){}this.node=t,e&&(this.paper=new O(e)),this.type=t.tagName||t.nodeName;var e=this.id=k(this);if(this.anims={},this._={transform:[]},t.snap=e,"g"==(B[e]=this).type&&(this.add=St),this.type in{g:1,mask:1,pattern:1,symbol:1})for(var n in O.prototype)O.prototype[u](n)&&(this[n]=O.prototype[n])}function o(t){this.node=t}function V(t,e){var t=L(t),n;return e.appendChild(t),a(t)}function O(t,e){var n,r,i,o=O.prototype;if(t&&"svg"==t.tagName){if(t.snap in B)return B[t.snap];var a=t.ownerDocument,s,n=new E(t),r=t.getElementsByTagName("desc")[0],i=t.getElementsByTagName("defs")[0];for(s in r||((r=L("desc")).appendChild(a.createTextNode("Created with Snap")),n.node.appendChild(r)),i||(i=L("defs"),n.node.appendChild(i)),n.defs=i,o)o[u](s)&&(n[s]=o[s]);n.paper=n.root=n}else L((n=V("svg",l.doc.body)).node,{height:e,version:1.1,width:t,xmlns:_});return n}function a(t){return t&&(t instanceof E||t instanceof o?t:t.tagName&&"svg"==t.tagName.toLowerCase()?new O(t):t.tagName&&"object"==t.tagName.toLowerCase()&&"image/svg+xml"==t.type?new O(t.contentDocument.getElementsByTagName("svg")[0]):new E(t))}function Ct(t,e){for(var n=0,r=t.length;n<r;n++){var i={type:t[n].type,attr:t[n].attr()},o=t[n].children();e.push(i),o.length&&Ct(o,i.childNodes=[])}}return t.plugin(function(l,t,e,n,r){function u(t,e){if(null==e){var n=!0;if(!(e=t.node.getAttribute("linearGradient"==t.type||"radialGradient"==t.type?"gradientTransform":"pattern"==t.type?"patternTransform":"transform")))return new l.Matrix;e=l._.svgTransform2string(e)}else e=l._.rgTransform.test(e)?m(e).replace(/\.{3}|\u2026/g,t._.transform||""):l._.svgTransform2string(e),y(e,"array")&&(e=l.path?l.path.toString.call(e):m(e)),t._.transform=e;var e=l._.transform2matrix(e,t.getBBox(1));return n?e:void(t.matrix=e)}function i(t){function e(n,r){var t=p(n.node,r),t;(t=(t=t&&t.match(o))&&t[2])&&"#"==t.charAt()&&(t=t.substring(1))&&(s[t]=(s[t]||[]).concat(function(t){var e={};e[r]=URL(t),p(n.node,e)}))}function n(e){var t=p(e.node,"xlink:href");t&&"#"==t.charAt()&&(t=t.substring(1))&&(s[t]=(s[t]||[]).concat(function(t){e.attr("xlink:href","#"+t)}))}for(var r,i=t.selectAll("*"),o=/^\s*url\(("|'|)(.*)\1\)\s*$/,a=[],s={},l=0,u=i.length;l<u;l++){e(r=i[l],"fill"),e(r,"stroke"),e(r,"filter"),e(r,"mask"),e(r,"clip-path"),n(r);var c=p(r.node,"id");c&&(p(r.node,{id:r.id}),a.push({old:c,id:r.id}))}for(l=0,u=a.length;l<u;l++){var h=s[a[l].old];if(h)for(var f=0,d=h.length;f<d;f++)h[f](a[l].id)}}function g(e,n,r){return function(t){var t=t.slice(e,n);return 1==t.length&&(t=t[0]),r?r(t):t}}function o(o){return function(){var t=o?"<"+this.type:"",e=this.node.attributes,n=this.node.childNodes;if(o)for(var r=0,i=e.length;r<i;r++)t+=" "+e[r].name+'="'+e[r].value.replace(/"/g,'\\"')+'"';if(n.length){for(o&&(t+=">"),r=0,i=n.length;r<i;r++)3==n[r].nodeType?t+=n[r].nodeValue:1==n[r].nodeType&&(t+=h(n[r]).toString());o&&(t+="</"+this.type+">")}else o&&(t+="/>");return t}}var t=t.prototype,y=l.is,m=String,a=l._unit2px,p=l._.$,s=l._.make,c=l._.getSomeDefs,x="hasOwnProperty",h=l._.wrap,f=(t.getBBox=function(t){if(!l.Matrix||!l.path)return this.node.getBBox();var e=this,n=new l.Matrix,r,e;if(e.removed)return l._.box();for(;"use"==e.type;){t||(n=n.add(e.transform().localMatrix.translate(e.attr("x")||0,e.attr("y")||0))),e=e.original||(r=e.attr("xlink:href"),e.original=e.node.ownerDocument.getElementById(r.substring(r.indexOf("#")+1)))}var i=e._,o=l.path.get[e.type]||l.path.get.deflt;try{return t?(i.bboxwt=o?l.path.getBBox(e.realPath=o(e)):l._.box(e.node.getBBox()),l._.box(i.bboxwt)):(e.realPath=o(e),e.matrix=e.transform().localMatrix,i.bbox=l.path.getBBox(l.path.map(e.realPath,n.add(e.matrix))),l._.box(i.bbox))}catch(t){return l._.box()}},function(){return this.string}),v=(t.transform=function(t){var e=this._;if(null!=t)return t instanceof l.Matrix?(this.matrix=t,this._.transform=t.toTransformString()):u(this,t),this.node&&("linearGradient"==this.type||"radialGradient"==this.type?p(this.node,{gradientTransform:this.matrix}):"pattern"==this.type?p(this.node,{patternTransform:this.matrix}):p(this.node,{transform:this.matrix})),this;
9for(var n,r=this,t=new l.Matrix(this.node.getCTM()),i=u(this),o=[i],a=new l.Matrix,s=i.toTransformString(),e=m(i)==m(this.matrix)?m(e.transform):s;"svg"!=r.type&&(r=r.parent());)o.push(u(r));for(n=o.length;n--;)a.add(o[n]);return{string:e,globalMatrix:t,totalMatrix:a,localMatrix:i,diffMatrix:t.clone().add(i.invert()),global:t.toTransformString(),total:a.toTransformString(),local:s,toString:f}},t.parent=function(){return h(this.node.parentNode)},t.append=t.add=function(t){if(t){var e;if("set"==t.type)return e=this,t.forEach(function(t){e.add(t)}),this;t=h(t),this.node.appendChild(t.node),t.paper=this.paper}return this},t.appendTo=function(t){return t&&(t=h(t)).append(this),this},t.prepend=function(t){if(t){var e,n;if("set"==t.type)return n=this,t.forEach(function(t){e?e.after(t):n.prepend(t),e=t}),this;var r=(t=h(t)).parent();this.node.insertBefore(t.node,this.node.firstChild),this.add&&this.add(),t.paper=this.paper,this.parent()&&this.parent().add(),r&&r.add()}return this},t.prependTo=function(t){return(t=h(t)).prepend(this),this},t.before=function(t){var n,e;return"set"==t.type?(n=this,t.forEach(function(t){var e=t.parent();n.node.parentNode.insertBefore(t.node,n.node),e&&e.add()}),this.parent().add()):(e=(t=h(t)).parent(),this.node.parentNode.insertBefore(t.node,this.node),this.parent()&&this.parent().add(),e&&e.add(),t.paper=this.paper),this},t.after=function(t){var e=(t=h(t)).parent();return this.node.nextSibling?this.node.parentNode.insertBefore(t.node,this.node.nextSibling):this.node.parentNode.appendChild(t.node),this.parent()&&this.parent().add(),e&&e.add(),t.paper=this.paper,this},t.insertBefore=function(t){t=h(t);var e=this.parent();return t.node.parentNode.insertBefore(this.node,t.node),this.paper=t.paper,e&&e.add(),t.parent()&&t.parent().add(),this},t.insertAfter=function(t){t=h(t);var e=this.parent();return t.node.parentNode.insertBefore(this.node,t.node.nextSibling),this.paper=t.paper,e&&e.add(),t.parent()&&t.parent().add(),this},t.remove=function(){var t=this.parent();return this.node.parentNode&&this.node.parentNode.removeChild(this.node),delete this.paper,this.removed=!0,t&&t.add(),this},t.select=function(t){return h(this.node.querySelector(t))},t.selectAll=function(t){for(var e=this.node.querySelectorAll(t),n=(l.set||Array)(),r=0;r<e.length;r++)n.push(h(e[r]));return n},t.asPX=function(t,e){return null==e&&(e=this.attr(t)),+a(this,t,e)},t.use=function(){var t,e=this.node.id;return e||(e=this.id,p(this.node,{id:e})),t="linearGradient"==this.type||"radialGradient"==this.type||"pattern"==this.type?s(this.type,this.node.parentNode):s("use",this.node.parentNode),p(t.node,{"xlink:href":"#"+e}),t.original=this,t},t.clone=function(){var t=h(this.node.cloneNode(!0));return p(t.node,"id")&&p(t.node,{id:t.id}),i(t),t.insertAfter(this),t},t.toDefs=function(){var t;return c(this).appendChild(this.node),this},t.pattern=t.toPattern=function(t,e,n,r){var i=s("pattern",c(this));return null==t&&(t=this.getBBox()),y(t,"object")&&"x"in t&&(e=t.y,n=t.width,r=t.height,t=t.x),p(i.node,{x:t,y:e,width:n,height:r,patternUnits:"userSpaceOnUse",id:i.id,viewBox:[t,e,n,r].join(" ")}),i.node.appendChild(this.node),i},t.marker=function(t,e,n,r,i,o){var a=s("marker",c(this));return null==t&&(t=this.getBBox()),y(t,"object")&&"x"in t&&(e=t.y,n=t.width,r=t.height,i=t.refX||t.cx,o=t.refY||t.cy,t=t.x),p(a.node,{viewBox:[t,e,n,r].join(" "),markerWidth:n,markerHeight:r,orient:"auto",refX:i||0,refY:o||0,id:a.id}),a.node.appendChild(this.node),a},function(t,e,n,r){"function"!=typeof n||n.length||(r=n,n=w.linear),this.attr=t,this.dur=e,n&&(this.easing=n),r&&(this.callback=r)}),d=(l._.Animation=v,l.animation=function(t,e,n,r){return new v(t,e,n,r)},t.inAnim=function(){var t=this,n=[],e;for(e in t.anims)t.anims[x](e)&&(e=>{n.push({anim:new v(e._attrs,e.dur,e.easing,e._callback),mina:e,curStatus:e.status(),status:function(t){return e.status(t)},stop:function(){e.stop()}})})(t.anims[e]);return n},l.animate=function(t,e,n,r,i,o){"function"!=typeof i||i.length||(o=i,i=w.linear);var a=w.time(),t=w(t,e,a,a+r,w.time,n,i);return o&&C.once("mina.finish."+t.id,o),t},t.stop=function(){for(var t=this.inAnim(),e=0,n=t.length;e<n;e++)t[e].stop();return this},t.animate=function(t,e,n,r){"function"!=typeof n||n.length||(r=n,n=w.linear),t instanceof v&&(r=t.callback,n=t.easing,e=t.dur,t
9=t.attr);var i,o,a,a,s=[],l=[],u={},c=this,h,f;for(h in t){t[x](h)&&(c.equal?(i=(a=c.equal(h,m(t[h]))).from,o=a.to,a=a.f):(i=+c.attr(h),o=+t[h]),f=y(i,"array")?i.length:1,u[h]=g(s.length,s.length+f,a),s=s.concat(i),l=l.concat(o))}var d=w.time(),p=w(s,l,d,d+e,w.time,function(t){var e={},n;for(n in u)u[x](n)&&(e[n]=u[n](t));c.attr(e)},n);return(c.anims[p.id]=p)._attrs=t,p._callback=r,C("snap.animcreated."+c.id,p),C.once("mina.finish."+p.id,function(){delete c.anims[p.id],r&&r.call(c)}),C.once("mina.stop."+p.id,function(){delete c.anims[p.id]}),c},{});t.data=function(t,e){var n=d[this.id]=d[this.id]||{};if(0==arguments.length)return C("snap.data.get."+this.id,this,n,null),n;if(1!=arguments.length)return n[t]=e,C("snap.data.set."+this.id,this,e,t),this;if(l.is(t,"object")){for(var r in t)t[x](r)&&this.data(r,t[r]);return this}return C("snap.data.get."+this.id,this,n[t],t),n[t]},t.removeData=function(t){return null==t?d[this.id]={}:d[this.id]&&delete d[this.id][t],this},t.outerSVG=t.toString=o(1),t.innerSVG=o(),t.toDataURL=function(){var t,t;if(b&&b.btoa)return t=this.getBBox(),t=l.format('<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="{width}" height="{height}" viewBox="{x} {y} {width} {height}">{contents}</svg>',{x:+t.x.toFixed(3),y:+t.y.toFixed(3),width:+t.width.toFixed(3),height:+t.height.toFixed(3),contents:this.outerSVG()}),"data:image/svg+xml;base64,"+btoa(unescape(encodeURIComponent(t)))},r.prototype.select=t.select,r.prototype.selectAll=t.selectAll}),t.plugin(function(i){function d(t,e,n,r,i,o){return null==e&&"[object SVGMatrix]"==a.call(t)?(this.a=t.a,this.b=t.b,this.c=t.c,this.d=t.d,this.e=t.e,void(this.f=t.f)):void(null!=t?(this.a=+t,this.b=+e,this.c=+n,this.d=+r,this.e=+i,this.f=+o):(this.a=1,this.b=0,this.c=0,this.d=1,this.e=0,this.f=0))}var a=Object.prototype.toString,e=String,o=Math,t="",n;function r(t){return t[0]*t[0]+t[1]*t[1]}function s(t){var e=o.sqrt(r(t));t[0]&&(t[0]/=e),t[1]&&(t[1]/=e)}(n=d.prototype).add=function(t,e,n,r,i,o){var a,s,l,u,c=[[],[],[]],h=[[this.a,this.c,this.e],[this.b,this.d,this.f],[0,0,1]],f=[[t,n,i],[e,r,o],[0,0,1]];for(t&&t instanceof d&&(f=[[t.a,t.c,t.e],[t.b,t.d,t.f],[0,0,1]]),a=0;a<3;a++)for(s=0;s<3;s++){for(l=u=0;l<3;l++)u+=h[a][l]*f[l][s];c[a][s]=u}return this.a=c[0][0],this.b=c[1][0],this.c=c[0][1],this.d=c[1][1],this.e=c[0][2],this.f=c[1][2],this},n.invert=function(){var t=this,e=t.a*t.d-t.b*t.c;return new d(t.d/e,-t.b/e,-t.c/e,t.a/e,(t.c*t.f-t.d*t.e)/e,(t.b*t.e-t.a*t.f)/e)},n.clone=function(){return new d(this.a,this.b,this.c,this.d,this.e,this.f)},n.translate=function(t,e){return this.add(1,0,0,1,t,e)},n.scale=function(t,e,n,r){return null==e&&(e=t),(n||r)&&this.add(1,0,0,1,n,r),this.add(t,0,0,e,0,0),(n||r)&&this.add(1,0,0,1,-n,-r),this},n.rotate=function(t,e,n){t=i.rad(t),e=e||0,n=n||0;var r=+o.cos(t).toFixed(9),t=+o.sin(t).toFixed(9);return this.add(r,t,-t,r,e,n),this.add(1,0,0,1,-e,-n)},n.x=function(t,e){return t*this.a+e*this.c+this.e},n.y=function(t,e){return t*this.b+e*this.d+this.f},n.get=function(t){return+this[e.fromCharCode(97+t)].toFixed(4)},n.toString=function(){return"matrix("+[this.get(0),this.get(1),this.get(2),this.get(3),this.get(4),this.get(5)].join()+")"},n.offset=function(){return[this.e.toFixed(4),this.f.toFixed(4)]},n.determinant=function(){return this.a*this.d-this.b*this.c},n.split=function(){var t={},e=(t.dx=this.e,t.dy=this.f,[[this.a,this.c],[this.b,this.d]]),n=(t.scalex=o.sqrt(r(e[0])),s(e[0]),t.shear=e[0][0]*e[1][0]+e[0][1]*e[1][1],e[1]=[e[1][0]-e[0][0]*t.shear,e[1][1]-e[0][1]*t.shear],t.scaley=o.sqrt(r(e[1])),s(e[1]),t.shear/=t.scaley,this.determinant()<0&&(t.scalex=-t.scalex),-e[0][1]),e=e[1][1];return e<0?(t.rotate=i.deg(o.acos(e)),n<0&&(t.rotate=360-t.rotate)):t.rotate=i.deg(o.asin(n)),t.isSimple=!(+t.shear.toFixed(9)||t.scalex.toFixed(9)!=t.scaley.toFixed(9)&&t.rotate),t.isSuperSimple=!+t.shear.toFixed(9)&&t.scalex.toFixed(9)==t.scaley.toFixed(9)&&!t.rotate,t.noRotation=!+t.shear.toFixed(9)&&!t.rotate,t},n.toTransformString=function(t){var t=t||this.split();return+t.shear.toFixed(9)?"m"+[this.get(0),this.get(1),this.get(2),this.get(3),this.get(4),this.get(5)]:(t.scalex=+t.scalex.toFixed(4),t.scaley=+t.scaley.toFixed(4),t.rotate=+t.rotate.toFixed(4),(t.dx||t.dy?"t"+[+t.dx.toFixed(4),+t.dy.toFixed(4)]:"")+(1!=t.scalex||1!=t.scaley?"s"+[t.scalex,t.scaley,0,0]:"")+(t.rotate?"r"+[+t.rotate.toFixed(4),0,0]:""))},i.Matrix=d,i.matrix=function(t,e,n,r,i,o){return new d(t,e,n,r,i,o)}}),t.plugin(function(i,o,t,a,s){function e(r){return function(t){var e,n,e,n=(C.stop(),t instanceof s&&1==t.node.childNodes.length&&("radialGradient"==t.node.firstChild.tagName||"linearGradient"==t.node.firstChild.tagName||"pattern"==t.node.firstChild.tagName)&&(t=t.node.firstChild,f(this).appendChild(t),t=c(t)),e=t instanceof o?"radialGradient"==t.type||"linearGradient"==t.type||"pattern"==t.type?(t.node.id||p(t.node,{id:t.id}),g(t.node.id)):t.attr(r):(e=i.color(t)).error?(n=i(f(this).ownerSVGElement).gradient(t))?(n.node.id||p(n.node,{id:n.id}),g(n.node.id)):t:y(e),{});n[r]=e,p(this.node,n),this.node.style[r]=""}}function n(t){C.stop(),t==+t&&(t+="px"),this.node.style.fontSize=t}function l(t){for(var e=[],n=t.childNodes,r=0,i=n.length;r<i;r++){var o=n[r];3==o.nodeType&&e.push(o.nodeValue),"tspan"==o.tagName&&e.push(1==o.childNodes.length&&3==o.firstChild.nodeType?o.firstChild.nodeValue:l(o))}return e}function r(){return C.stop(),this.node.style.fontSize}var u=i._.make,c=i._.wrap,h=i.is,f=i._.getSomeDefs,d=/^url\(#?([^)]+)\)$/,p=i._.$,g=i.url,y=String,m=i._.separator,x="",v,b=(C.on("snap.util.attr.mask",function(t){var e;(t instanceof o||t instanceof s)&&(C.stop(),t instanceof s&&1==t.node.childNodes.length&&(t=t.node.firstChild,f(this).appendChild(t),t=c(t)),"mask"==t.type?e=t:(e=u("mask",f(this))).node.appendChild(t.node),e.node.id||p(e.node,{id:e.id}),p(this.node,{mask:g(e.id)}))}),v=function(t){var e;(t instanceof o||t instanceof s)&&(C.stop(),"clipPath"==t.type?e=t:((e=u("clipPath",f(this))).node.appendChild(t.node),e.node.id||p(e.node,{id:e.id})),p(this.node,{"clip-path":g(e.node.id||e.id)}))},C.on("snap.util.attr.clip",v),C.on("snap.util.attr.clip-path",v),C.on("snap.util.attr.clipPath",v),C.on("snap.util.attr.fill",e("fill")),C.on("snap.util.attr.stroke",e("stroke")),/^([lr])(?:\(([^)]*)\))?(.*)$/i);function w(e){return function(){C.stop();var t=a.doc.defaultView.getComputedStyle(this.node,null).getPropertyValue("marker-"+e);return"none"==t?t:i(a.doc.getElementById(t.match(d)[1]))}}function S(r){return function(t){C.stop();var e="marker"+r.charAt(0).toUpperCase()+r.substring(1),n;""!=t&&t?"marker"==t.type&&((n=t.node.id)||p(t.node,{id:t.id}),this.node.style[e]=g(n)):this.node.style[e]="none"}}C.on("snap.util.grad.parse",function(t){var t=(t=y(t)).match(b),e,e,n,e;return t?(e=t[1],n=t[3],{type:e,params:e=1==(e=(e=t[2]).split(/\s*,\s*/).map(function(t){return+t==t?+t:t})).length&&0==e[0]?[]:e,stops:n=(n=n.split("-")).map(function(t){var e={color:(t=t.split(":"))[0]};return t[1]&&(e.offset=parseFloat(t[1])),e})}):null}),C.on("snap.util.attr.d",function(t){C.stop(),h(t,"array")&&h(t[0],"array")&&(t=i.path.toString.call(t)),(t=y(t)).match(/[ruo]/i)&&(t=i.path.toAbsolute(t)),p(this.node,{d:t})})(-1),C.on("snap.util.attr.#text",function(t){C.stop(),t=y(t);for(var t=a.doc.createTextNode(t);this.node.firstChild;)this.node.removeChild(this.node.firstChild);this.node.appendChild(t)})(-1),C.on("snap.util.attr.path",function(t){C.stop(),this.attr({d:t})})(-1),C.on("snap.util.attr.class",function(t){C.stop(),this.node.className.baseVal=t})(-1),C.on("snap.util.attr.viewBox",function(t){var t,t=h(t,"object")&&"x"in t?[t.x,t.y,t.width,t.height].join(" "):h(t,"array")?t.join(" "):t;p(this.node,{viewBox:t}),C.stop()})(-1),C.on("snap.util.attr.transform",function(t){this.transform(t),C.stop()})(-1),C.on("snap.util.attr.r",function(t){"rect"==this.type&&(C.stop(),p(this.node,{rx:t,ry:t}))})(-1),C.on("snap.util.attr.textpath",function(t){var e,n,r,e,i;if(C.stop(),"text"==this.type)if(!t&&this.textPath){for(n=this.textPath;n.node.firstChild;)this.node.appendChild(n.node.firstChild);n.remove(),delete this.textPath}else{if(h(t,"string")?(e=f(this),i=c(e.parentNode).path(t),e.appendChild(i.node),e=i.id,i.attr({id:e})):(t=c(t))instanceof o&&((e=t.attr("id"))||(e=t.id,t.attr({id:e}))),e)if(n=this.textPath,r=this.node,n)n.attr({"xlink:href":"#"+e});else{for(n=p("textPath",{"xlink:href":"#"+e});r.firstChild;)n.appendChild(r.firstChild);r.appendChild(n),this.textPath=c(n)}}})(-1),C.on("snap.util.attr.text",function(t){if("text"==this.type){for(var e=this.node,r=function(t){var e=p("tspan");if(h(t,"array"))for(var n=0;n<t.length;n++)e.appendChild(r(t[n]));else e.appendChild(a.doc.createTextNode(t));return e.normalize&&e.normalize(),e};e.firstChild;)e.removeChild(e.firstChild);for(var n=r(t);n.firstChild;)e.appendChild(n.firstChild)}C.stop()})(-1),C.on("snap.util.attr.fontSize",n)(-1),C.on("snap.util.attr.font-size",n)(-1),C.on("snap.util.getattr.transform",function(){return C.stop(),this.transform()})(-1),C.on("snap.util.getattr.textpath",function(){return C.stop(),this.textPath})(-1),C.on("snap.util.getattr.marker-end",w("end"))(-1),C.on("snap.util.getattr.markerEnd",w("end"))(-1),C.on("snap.util.getattr.marker-start",w("start"))(-1),C.on("snap.util.getattr.markerStart",w("start"))(-1),C.on("snap.util.getattr.marker-mid",w("mid"))(-1),C.on("snap.util.getattr.markerMid",w("mid"))(-1),C.on("snap.util.attr.marker-end",S("end"))(-1),C.on("snap.util.attr.markerEnd",S("end"))(-1),C.on("snap.util.attr.marker-start",S("start"))(-1),C.on("snap.util.attr.markerStart",S("start"))(-1),C.on("snap.util.attr.marker-mid",S("mid"))(-1),C.on("snap.util.attr.markerMid",S("mid"))(-1),C.on("snap.util.getattr.r",function(){return"rect"==this.type&&p(this.node,"rx")==p(this.node,"ry")?(C.stop(),p(this.node,"rx")):void 0})(-1),C.on("snap.util.getattr.text",function(){var t;if("text"==this.type||"tspan"==this.type)return C.stop(),1==(t=l(this.node)).length?t[0]:t})(-1),C.on("snap.util.getattr.#text",function(){return this.node.textContent})(-1),C.on("snap.util.getattr.viewBox",function(){C.stop();var t=p(this.node,"viewBox");return t?(t=t.split(m),i._.box(+t[0],+t[1],+t[2],+t[3])):void 0})(-1),C.on("snap.util.getattr.points",function(){var t=p(this.node,"points");return C.stop(),t?t.split(m):void 0})(-1),C.on("snap.util.getattr.path",function(){var t=p(this.node,"d");return C.stop(),t})(-1),C.on("snap.util.getattr.class",function(){return this.node.className.baseVal})(-1),C.on("snap.util.getattr.fontSize",r)(-1),C.on("snap.util.getattr.font-size",r)(-1)}),t.plugin(function(t,e){var s=/\S+/g,l=String,e=e.prototype;e.addClass=function(t){var e,n,r,i,o=l(t||"").match(s)||[],t=this.node,i=t.className.baseVal,a=i.match(s)||[];if(o.length){for(e=0;r=o[e++];)~(n=a.indexOf(r))||a.push(r);i!=(i=a.join(" "))&&(t.className.baseVal=i)}return this},e.removeClass=function(t){var e,n,n,r,i=l(t||"").match(s)||[],t=this.node,r=t.className.baseVal,o=r.match(s)||[];if(o.length){for(e=0;
9n=i[e++];)~(n=o.indexOf(n))&&o.splice(n,1);r!=(r=o.join(" "))&&(t.className.baseVal=r)}return this},e.hasClass=function(t){var e,n,r;return!!~(this.node.className.baseVal.match(s)||[]).indexOf(t)},e.toggleClass=function(t,e){if(null!=e)return e?this.addClass(t):this.removeClass(t);for(var n,r,i,t,o=(t||"").match(s)||[],e=this.node,t=e.className.baseVal,a=t.match(s)||[],n=0;i=o[n++];)~(r=a.indexOf(i))?a.splice(r,1):a.push(i);return t!=(t=a.join(" "))&&(e.className.baseVal=t),this}}),t.plugin(function(){function a(t){return t}function s(e){return function(t){return+t.toFixed(3)+e}}var l={"+":function(t,e){return t+e},"-":function(t,e){return t-e},"/":function(t,e){return t/e},"*":function(t,e){return t*e}},u=String,c=/[a-z]+$/i,h=/^\s*([+\-\/*])\s*=\s*([\d.eE+\-]+)\s*([^\d\s]+)?\s*$/;C.on("snap.util.attr",function(t){var e=u(t).match(h),n,n,r,i,o,a,s;e&&(n=(n=C.nt()).substring(n.lastIndexOf(".")+1),r=this.attr(n),i={},C.stop(),o=e[3]||"",a=r.match(c),s=l[e[1]],t=a&&a==o?s(parseFloat(r),+e[2]):(r=this.asPX(n),s(this.asPX(n),this.asPX(n,e[2]+o))),isNaN(r)||isNaN(t)||(i[n]=t,this.attr(i)))})(-10),C.on("snap.util.equal",function(t,e){var n=u(this.attr(t)||""),e=u(e).match(h),r,i,o;if(e)return C.stop(),r=e[3]||"",i=n.match(c),o=l[e[1]],i&&i==r?{from:parseFloat(n),to:o(parseFloat(n),+e[2]),f:s(i)}:{from:n=this.asPX(t),to:o(n,this.asPX(t,e[2]+r)),f:a}})(-10)}),t.plugin(function(s,e,t,i){var n=t.prototype,u=s.is,l=(n.rect=function(t,e,n,r,i,o){var a;return null==o&&(o=i),u(t,"object")&&"[object Object]"==t?a=t:null!=t&&(a={x:t,y:e,width:n,height:r},null!=i)&&(a.rx=i,a.ry=o),this.el("rect",a)},n.circle=function(t,e,n){var r;return u(t,"object")&&"[object Object]"==t?r=t:null!=t&&(r={cx:t,cy:e,r:n}),this.el("circle",r)},function(t,e){var n=i.doc.createElement("img"),r=i.doc.body;n.style.cssText="position:absolute;left:-9999em;top:-9999em",n.onload=function(){e.call(n),n.onload=n.onerror=null,r.removeChild(n)},n.onerror=o,r.appendChild(n),n.src=t}),c;function o(){this.parentNode.removeChild(this)}function a(){return this.selectAll("stop")}function h(t,e){var n=c("stop"),e={offset:+e+"%"};return t=s.color(t),e["stop-color"]=t.hex,t.opacity<1&&(e["stop-opacity"]=t.opacity),c(n,e),this.node.appendChild(n),this}function f(){var t,e,n,r,e,t,r;return"linearGradient"==this.type?(t=c(this.node,"x1")||0,e=c(this.node,"x2")||1,n=c(this.node,"y1")||0,r=c(this.node,"y2")||0,s._.box(t,n,math.abs(e-t),math.abs(r-n))):(e=this.node.cx||.5,t=this.node.cy||.5,r=this.node.r||0,s._.box(e-r,t-r,2*r,2*r))}function r(t,e){function n(t,e){for(var n=(e-a)/(t-s),r=s;r<t;r++)i[r].offset=+(+a+n*(r-s)).toFixed(2);s=t,a=e}var r,e=C("snap.util.grad.parse",null,e).firstDefined();if(!e)return null;e.params.unshift(t),r=("l"==e.type.toLowerCase()?d:p).apply(0,e.params),e.type!=e.type.toLowerCase()&&c(r.node,{gradientUnits:"userSpaceOnUse"});var i=e.stops,o=i.length,a=0,s=0;o--;for(var l=0;l<o;l++)"offset"in i[l]&&n(l,i[l].offset);for(i[o].offset=i[o].offset||100,n(o,i[o].offset),l=0;l<=o;l++){var u=i[l];r.addStop(u.color,u.offset)}return r}function d(t,e,n,r,i){var t=s._.make("linearGradient",t);return t.stops=a,t.addStop=h,t.getBBox=f,null!=e&&c(t.node,{x1:e,y1:n,x2:r,y2:i}),t}function p(t,e,n,r,i,o){var t=s._.make("radialGradient",t);return t.stops=a,t.addStop=h,t.getBBox=f,null!=e&&c(t.node,{cx:e,cy:n,r:r}),null!=i&&null!=o&&c(t.node,{fx:i,fy:o}),t}n.image=function(t,e,n,r,i){var o=this.el("image"),a;return u(t,"object")&&"src"in t?o.attr(t):null!=t&&(a={"xlink:href":t,preserveAspectRatio:"none"},null!=e&&null!=n&&(a.x=e,a.y=n),null!=r&&null!=i?(a.width=r,a.height=i):l(t,function(){s._.$(o.node,{width:this.offsetWidth,height:this.offsetHeight})}),s._.$(o.node,a)),o},n.ellipse=function(t,e,n,r){var i;return u(t,"object")&&"[object Object]"==t?i=t:null!=t&&(i={cx:t,cy:e,rx:n,ry:r}),this.el("ellipse",i)},n.path=function(t){var e;return u(t,"object")&&!u(t,"array")?e=t:t&&(e={d:t}),this.el("path",e)},n.group=n.g=function(t){var e=this.el("g");return 1==arguments.length&&t&&!t.type?e.attr(t):arguments.length&&e.add(Array.prototype.slice.call(arguments,0)),e},n.svg=function(t,e,n,r,i,o,a,s){var l={};return u(t,"object")&&null==e?l=t:(null!=t&&(l.x=t),null!=e&&(l.y=e),null!=n&&(l.width=n),null!=r&&(l.height=r),null!=i&&null!=o&&null!=a&&null!=s&&(l.viewBox=[i,o,a,s])),this.el("svg",l)},n.mask=function(t){var e=this.el("mask");return 1==arguments.length&&t&&!t.type?e.attr(t):arguments.length&&e.add(Array.prototype.slice.call(arguments,0)),e},n.ptrn=function(t,e,n,r,i,o,a,s){var l;return u(t,"object")?l=t:(l={patternUnits:"userSpaceOnUse"},t&&(l.x=t),e&&(l.y=e),null!=n&&(l.width=n),null!=r&&(l.height=r),l.viewBox=null!=i&&null!=o&&null!=a&&null!=s?[i,o,a,s]:[t||0,e||0,n||0,r||0]),this.el("pattern",l)},n.use=function(t){return null!=t?(t instanceof e&&(t.attr("id")||t.attr({id:s._.id(t)}),t=t.attr("id")),"#"==String(t).charAt()&&(t=t.substring(1)),this.el("use",{"xlink:href":"#"+t})):e.prototype.use.call(this)},n.symbol=function(t,e,n,r){var i={};return null!=t&&null!=e&&null!=n&&null!=r&&(i.viewBox=[t,e,n,r]),this.el("symbol",i)},n.text=function(t,e,n){var r={};return u(t,"object")?r=t:null!=t&&(r={x:t,y:e,text:n||""}),this.el("text",r)},n.line=function(t,e,n,r){var i={};return u(t,"object")?i=t:null!=t&&(i={x1:t,x2:n,y1:e,y2:r}),this.el("line",i)},n.polyline=function(t){1<arguments.length&&(t=Array.prototype.slice.call(arguments,0));var e={};return u(t,"object")&&!u(t,"array")?e=t:null!=t&&(e={points:t}),this.el("polyline",e)},n.polygon=function(t){1<arguments.length&&(t=Array.prototype.slice.call(arguments,0));var e={};return u(t,"object")&&!u(t,"array")?e=t:null!=t&&(e={points:t}),this.el("polygon",e)},c=s._.$,n.gradient=function(t){return r(this.defs,t)},n.gradientLinear=function(t,e,n,r){return d(this.defs,t,e,n,r)},n.gradientRadial=function(t,e,n,r,i){return p(this.defs,t,e,n,r,i)},n.toString=function(){var t,e=this.node.ownerDocument,n=e.createDocumentFragment(),e=e.createElement("div"),t=this.node.cloneNode(!0);return n.appendChild(e),e.appendChild(t),s._.$(t,{xmlns:"http://www.w3.org/2000/svg"}),t=e.innerHTML,n.removeChild(n.firstChild),t},n.toDataURL=function(){return b&&b.btoa?"data:image/svg+xml;base64,"+btoa(unescape(encodeURIComponent(this))):void 0},n.clear=function(){for(var t,e=this.node.firstChild;e;)t=e.nextSibling,"defs"!=e.tagName?e.parentNode.removeChild(e):n.clear.call({node:e}),e=t}}),t.plugin(function(k,y){function b(e){var n=b.ps=b.ps||{};return n[e]?n[e].sleep=100:n[e]={sleep:100},setTimeout(function(){for(var t in n)n[f](t)&&t!=e&&(n[t].sleep--,!n[t].sleep)&&delete n[t]}),n[e]}function g(t,e,n,r){return null==t&&(t=e=n=r=0),null==e&&(e=t.y,n=t.width,r=t.height,t=t.x),{x:t,y:e,width:n,w:n,height:r,h:r,x2:t+n,y2:e+r,cx:t+n/2,cy:e+r/2,r1:O.min(n,r)/2,r2:O.max(n,r)/2,r0:O.sqrt(n*n+r*r)/2,path:a(t,e,n,r),vb:[t,e,n,r].join(" ")}}function v(){return this.join(",").replace(d,"$1")}function w(t){var t=E(t);return t.toString=v,t}function m(t,e,n,r,i,o,a,s,l){return null==l?T(t,e,n,r,i,o,a,s):C(t,e,n,r,i,o,a,s,u(t,e,n,r,i,o,a,s,l))}function t(d,p){function g(t){return+(+t).toFixed(3)}return k._.cacher(function(t,e,n){for(var r,i,o,a,s,l="",u={},c=0,h=0,f=(t=P(t=t instanceof y?t.attr("d"):t)).length;h<f;h++){if("M"==(o=t[h])[0])r=+o[1],i=+o[2];else{if(e<c+(a=m(r,i,o[1],o[2],o[3],o[4],o[5],o[6]))){if(p&&!u.start){if(l+=["C"+g((s=m(r,i,o[1],o[2],o[3],o[4],o[5],o[6],e-c)).start.x),g(s.start.y),g(s.m.x),g(s.m.y),g(s.x),g(s.y)],n)return l;
9u.start=l,l=["M"+g(s.x),g(s.y)+"C"+g(s.n.x),g(s.n.y),g(s.end.x),g(s.end.y),g(o[5]),g(o[6])].join(),c+=a,r=+o[5],i=+o[6];continue}if(!d&&!p)return m(r,i,o[1],o[2],o[3],o[4],o[5],o[6],e-c)}c+=a,r=+o[5],i=+o[6]}l+=o.shift()+o}return u.end=l,d?c:p?u:C(r,i,o[0],o[1],o[2],o[3],o[4],o[5],1)},null,k._.clone)}function C(t,e,n,r,i,o,a,s,l){var u=1-l,c=D(u,3),h=D(u,2),f=l*l,d=f*l,p,g,y=t+2*l*(n-t)+f*(i-2*n+t),m=e+2*l*(r-e)+f*(o-2*r+e),x=n+2*l*(i-n)+f*(a-2*i+n),f=r+2*l*(o-r)+f*(s-2*o+r),v,b,w,S,C;return{x:c*t+3*h*l*n+3*u*l*l*i+d*a,y:c*e+3*h*l*r+3*u*l*l*o+d*s,m:{x:y,y:m},n:{x:x,y:f},start:{x:u*t+l*n,y:u*e+l*r},end:{x:u*i+l*a,y:u*o+l*s},alpha:90-180*O.atan2(y-x,m-f)/G}}function _(t,e,n,r,i,o,a,s){k.is(t,"array")||(t=[t,e,n,r,i,o,a,s]);var e=p.apply(null,t);return g(e.min.x,e.min.y,e.max.x-e.min.x,e.max.y-e.min.y)}function x(t,e,n){return e>=t.x&&e<=t.x+t.width&&n>=t.y&&n<=t.y+t.height}function B(t,e){return t=g(t),x(e=g(e),t.x,t.y)||x(e,t.x2,t.y)||x(e,t.x,t.y2)||x(e,t.x2,t.y2)||x(t,e.x,e.y)||x(t,e.x2,e.y)||x(t,e.x,e.y2)||x(t,e.x2,e.y2)||(t.x<e.x2&&t.x>e.x||e.x<t.x2&&e.x>t.x)&&(t.y<e.y2&&t.y>e.y||e.y<t.y2&&e.y>t.y)}function S(t,e,n,r,i){var o,a;return t*(t*(-3*e+9*n-9*r+3*i)+6*e-12*n+6*r)-3*e+3*n}function T(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=12,h=[-.1252,.1252,-.3678,.3678,-.5873,.5873,-.7699,.7699,-.9041,.9041,-.9816,.9816],f=[.2491,.2491,.2335,.2335,.2032,.2032,.1601,.1601,.1069,.1069,.0472,.0472],d=0,p=0;p<12;p++){var g=u*h[p]+u,y=S(g,t,n,i,a),g=S(g,e,r,o,s),m;d+=f[p]*O.sqrt(y*y+g*g)}return u*d}function u(t,e,n,r,i,o,a,s,l){if(!(l<0||T(t,e,n,r,i,o,a,s)<l)){for(var u,c=1,h=.5,f=1-h,d=.01,u=T(t,e,n,r,i,o,a,s,f);I(u-l)>d;)u=T(t,e,n,r,i,o,a,s,f+=(u<l?1:-1)*(h/=2));return f}}
9function U(t,e,n,r,i,o,a,s){if(!(z(t,n)<R(i,a)||R(t,n)>z(i,a)||z(e,r)<R(o,s)||R(e,r)>z(o,s))){var l,u,c=(t-n)*(o-s)-(e-r)*(i-a);if(c){var h=((t*r-e*n)*(i-a)-(t-n)*(i*s-o*a))/c,c=((t*r-e*n)*(o-s)-(e-r)*(i*s-o*a))/c,f=+h.toFixed(2),d=+c.toFixed(2);if(!(f<+R(t,n).toFixed(2)||f>+z(t,n).toFixed(2)||f<+R(i,a).toFixed(2)||f>+z(i,a).toFixed(2)||d<+R(e,r).toFixed(2)||d>+z(e,r).toFixed(2)||d<+R(o,s).toFixed(2)||d>+z(o,s).toFixed(2)))return{x:h,y:c}}}}function X(t,e,n){var r,i;if(!B(_(t),_(e)))return n?0:[];for(var o,a,s=~~(T.apply(0,t)/8),l=~~(T.apply(0,e)/8),u=[],c=[],h={},f=n?0:[],d=0;d<1+s;d++){var p=C.apply(0,t.concat(d/s));u.push({x:p.x,y:p.y,t:d/s})}for(d=0;d<1+l;d++)p=C.apply(0,e.concat(d/l)),c.push({x:p.x,y:p.y,t:d/l});for(d=0;d<s;d++)for(var g=0;g<l;g++){var y=u[d],m=u[d+1],x=c[g],v=c[g+1],b=I(m.x-y.x)<.001?"y":"x",w=I(v.x-x.x)<.001?"y":"x",S=U(y.x,y.y,m.x,m.y,x.x,x.y,v.x,v.y),b,m;S&&h[S.x.toFixed(4)]!=S.y.toFixed(4)&&(h[S.x.toFixed(4)]=S.y.toFixed(4),b=y.t+I((S[b]-y[b])/(m[b]-y[b]))*(m.t-y.t),m=x.t+I((S[w]-x[w])/(v[w]-x[w]))*(v.t-x.t),0<=b)&&b<=1&&0<=m&&m<=1&&(n?f++:f.push({x:S.x,y:S.y,t1:b,t2:m}))}return f}function r(t,e){return i(t,e)}function s(t,e){return i(t,e,1)}function i(t,e,n){t=P(t),e=P(e);for(var r,i,o,a,s,l,u,c,h,f,d=n?0:[],p=0,g=t.length;p<g;p++){var y=t[p];if("M"==y[0])r=s=y[1],i=l=y[2];else for(var i="C"==y[0]?(r=(h=[r,i].concat(y.slice(1)))[6],h[7]):(h=[r,i,r,i,s,l,s,l],r=s,l),m=0,x=e.length;m<x;m++){var v=e[m];if("M"==v[0])o=u=v[1],a=c=v[2];else{var a="C"==v[0]?(o=(f=[o,a].concat(v.slice(1)))[6],f[7]):(f=[o,a,o,a,u,c,u,c],o=u,c),b=X(h,f,n);if(n)d+=b;else{for(var w=0,S=b.length;w<S;w++)b[w].segment1=p,b[w].segment2=m,b[w].bez1=h,b[w].bez2=f;d=d.concat(b)}}}}return d}function l(t,e,n){var r=o(t);return x(r,e,n)&&i(t,[["M",e,n],["H",r.x2+10]],1)%2==1}function o(t){var e=b(t);if(e.bbox)return E(e.bbox);if(!t)return g();for(var n,r=0,i=0,o=[],a=[],s=0,l=(t=P(t)).length,u,o,a,r,i;s<l;s++){"M"==(n=t[s])[0]?(r=n[1],i=n[2],o.push(r),a.push(i)):(u=p(r,i,n[1],n[2],n[3],n[4],n[5],n[6]),o=o.concat(u.min.x,u.max.x),a=a.concat(u.min.y,u.max.y),r=n[5],i=n[6])}var c=R.apply(0,o),h=R.apply(0,a),f,d,c=g(c,h,z.apply(0,o)-c,z.apply(0,a)-h);return e.bbox=E(c),c}function a(t,e,n,r,i){var i;return i?[["M",+t+ +i,e],["l",n-2*i,0],["a",i,i,0,0,1,i,i],["l",0,r-2*i],["a",i,i,0,0,1,-i,i],["l",2*i-n,0],["a",i,i,0,0,1,-i,-i],["l",0,2*i-r],["a",i,i,0,0,1,i,-i],["z"]]:((i=[["M",t,e],["l",n,0],["l",0,r],["l",-n,0],["z"]]).toString=v,i)}function F(t,e,n,r,i){var o,a,s,l,u,a;return null==i&&null==r&&(r=n),t=+t,e=+e,n=+n,r=+r,(a=null!=i?(o=Math.PI/180,a=t+n*Math.cos(-r*o),s=t+n*Math.cos(-i*o),[["M",a,l=e+n*Math.sin(-r*o)],["A",n,n,0,+(180<i-r),0,s,u=e+n*Math.sin(-i*o)]]):[["M",t,e],["m",0,-r],["a",n,r,0,1,1,0,2*r],["a",n,r,0,1,1,0,-2*r],["z"]]).toString=v,a}function c(t){var e=b(t),n=String.prototype.toLowerCase;if(e.rel)return w(e.rel);var r=[],i=0,o=0,a=0,s=0,l=0;"M"==(t=k.is(t,"array")&&k.is(t&&t[0],"array")?t:k.parsePathString(t))[0][0]&&(a=i=t[0][1],s=o=t[0][2],l++,r.push(["M",i,o]));for(var u=l,c=t.length;u<c;u++){var h=r[u]=[],f=t[u];if(f[0]!=n.call(f[0]))switch(h[0]=n.call(f[0]),h[0]){case"a":h[1]=f[1],h[2]=f[2],h[3]=f[3],h[4]=f[4],h[5]=f[5],h[6]=+(f[6]-i).toFixed(3),h[7]=+(f[7]-o).toFixed(3);break;case"v":h[1]=+(f[1]-o).toFixed(3);break;case"m":a=f[1],s=f[2];default:for(var d=1,p=f.length;d<p;d++)h[d]=+(f[d]-(d%2?i:o)).toFixed(3)}else{h=r[u]=[],"m"==f[0]&&(a=f[1]+i,s=f[2]+o);for(var g=0,y=f.length;g<y;g++)r[u][g]=f[g]}var m=r[u].length;switch(r[u][0]){case"z":i=a,o=s;break;case"h":i+=+r[u][m-1];break;case"v":o+=+r[u][m-1];break;default:i+=+r[u][m-2],o+=+r[u][m-1]}}return r.toString=v,e.rel=w(r),r}function A(t){var e=b(t);if(e.abs)return w(e.abs);if(!(t=q(t,"array")&&q(t&&t[0],"array")?t:k.parsePathString(t))||!t.length)return[["M",0,0]];var n,r=[],i=0,o=0,a=0,s=0,l=0;"M"==t[0][0]&&(a=i=+t[0][1],s=o=+t[0][2],l++,r[0]=["M",i,o]);for(var u,c,h=3==t.length&&"M"==t[0][0]&&"R"==t[1][0].toUpperCase()&&"Z"==t[2][0].toUpperCase(),f=l,d=t.length;f<d;f++){if(r.push(u=[]),(n=(c=t[f])[0])!=n.toUpperCase())switch(u[0]=n.toUpperCase(),u[0]){case"A":u[1]=c[1],u[2]=c[2],u[3]=c[3],u[4]=c[4],u[5]=c[5],u[6]=+c[6]+i,u[7]=+c[7]+o;break;case"V":u[1]=+c[1]+o;break;case"H":u[1]=+c[1]+i;break;case"R":for(var p=[i,o].concat(c.slice(1)),g=2,y=p.length;g<y;g++)p[g]=+p[g]+i,p[++g]=+p[g]+o;r.pop(),r=r.concat(L(p,h));break;
9case"O":r.pop(),(p=F(i,o,c[1],c[2])).push(p[0]),r=r.concat(p);break;case"U":r.pop(),r=r.concat(F(i,o,c[1],c[2],c[3])),u=["U"].concat(r[r.length-1].slice(-2));break;case"M":a=+c[1]+i,s=+c[2]+o;default:for(g=1,y=c.length;g<y;g++)u[g]=+c[g]+(g%2?i:o)}else if("R"==n)p=[i,o].concat(c.slice(1)),r.pop(),r=r.concat(L(p,h)),u=["R"].concat(c.slice(-2));else if("O"==n)r.pop(),(p=F(i,o,c[1],c[2])).push(p[0]),r=r.concat(p);else if("U"==n)r.pop(),r=r.concat(F(i,o,c[1],c[2],c[3])),u=["U"].concat(r[r.length-1].slice(-2));else for(var m=0,x=c.length;m<x;m++)u[m]=c[m];if("O"!=(n=n.toUpperCase()))switch(u[0]){case"Z":i=+a,o=+s;break;case"H":i=u[1];break;case"V":o=u[1];break;case"M":a=u[u.length-2],s=u[u.length-1];default:i=u[u.length-2],o=u[u.length-1]}}return r.toString=v,e.abs=w(r),r}function M(t,e,n,r){return[t,e,n,r,n,r]}function N(t,e,n,r,i,o){var a=1/3,s=2/3;return[a*t+s*n,a*e+s*r,a*i+s*n,a*o+s*r,i,o]}function j(t,e,n,r,i,o,a,s,l,u){var c,h=120*G/180,f=G/180*(+i||0),d=[],p=k._.cacher(function(t,e,n){var r,i;return{x:t*O.cos(n)-e*O.sin(n),y:t*O.sin(n)+e*O.cos(n)}}),c,g,y,y,o,y,m,x,v,b,v,b,o=(u?(v=u[0],b=u[1],m=u[2],x=u[3]):(t=(c=p(t,e,-f)).x,e=c.y,s=(c=p(s,l,-f)).x,l=c.y,O.cos(G/180*i),O.sin(G/180*i),1<(y=(c=(t-s)/2)*c/(n*n)+(g=(e-l)/2)*g/(r*r))&&(n*=y=O.sqrt(y),r*=y),m=(y=(o==a?-1:1)*O.sqrt(I(((y=n*n)*(o=r*r)-y*g*g-o*c*c)/(y*g*g+o*c*c))))*n*g/r+(t+s)/2,v=O.asin(((e-(x=y*-r*c/n+(e+l)/2))/r).toFixed(9)),b=O.asin(((l-x)/r).toFixed(9)),(v=t<m?G-v:v)<0&&(v=2*G+v),(b=s<m?G-b:b)<0&&(b=2*G+b),a&&b<v&&(v-=2*G),!a&&v<b&&(b-=2*G)),b-v),g,y,c,d,h=(I(o)>h&&(g=b,y=s,c=l,d=j(s=m+n*O.cos(b=v+h*(a&&v<b?1:-1)),l=x+r*O.sin(b),n,r,i,0,a,y,c,[b,g,m,x])),o=b-v,O.cos(v)),i=O.sin(v),a=O.cos(b),y=O.sin(b),c=O.tan(o/4),g=4/3*n*c,m=4/3*r*c,x=[t,e],v=[t+g*i,e-m*h],b=[s+g*y,l-m*a],o=[s,l];if(v[0]=2*x[0]-v[0],v[1]=2*x[1]-v[1],u)return[v,b,o].concat(d);for(var w=[],S=0,C=(d=[v,b,o].concat(d).join().split(",")).length;S<C;S++)w[S]=S%2?p(d[S-1],d[S],f).y:p(d[S],d[S+1],f).x;return w}function p(t,e,n,r,i,o,a,s){for(var l,u,c,h,c,c,c,f,d=[],p=[[],[]],g=0;g<2;++g)if(c=0==g?(u=6*t-12*n+6*i,l=-3*t+9*n-9*i+3*a,3*n-3*t):(u=6*e-12*r+6*o,l=-3*e+9*r-9*o+3*s,3*r-3*e),I(l)<1e-12){if(I(u)<1e-12)continue;0<(h=-c/u)&&h<1&&d.push(h)}else f=O.sqrt(c=u*u-4*c*l),c<0||(0<(c=(-u+f)/(2*l))&&c<1&&d.push(c),0<(c=(-u-f)/(2*l))&&c<1&&d.push(c));for(var y,m=d.length,x=m;m--;)p[0][m]=(y=1-(h=d[m]))*y*y*t+3*y*y*h*n+3*y*h*h*i+h*h*h*a,p[1][m]=y*y*y*e+3*y*y*h*r+3*y*h*h*o+h*h*h*s;return p[0][x]=t,p[1][x]=e,p[0][x+1]=a,p[1][x+1]=s,p[0].length=p[1].length=x+2,{min:{x:R.apply(0,p[0]),y:R.apply(0,p[1])},max:{x:z.apply(0,p[0]),y:z.apply(0,p[1])}}}function P(t,e){var n=!e&&b(t);if(!e&&n.curve)return w(n.curve);for(var o=A(t),a=e&&A(e),r={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},i={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},s=function(t,e,n){var r,i;if(!t)return["C",e.x,e.y,e.x,e.y,e.x,e.y];switch(t[0]in{T:1,Q:1}||(e.qx=e.qy=null),t[0]){case"M":e.X=t[1],e.Y=t[2];break;case"A":t=["C"].concat(j.apply(0,[e.x,e.y].concat(t.slice(1))));break;case"S":i="C"==n||"S"==n?(r=2*e.x-e.bx,2*e.y-e.by):(r=e.x,e.y),t=["C",r,i].concat(t.slice(1));break;case"T":"Q"==n||"T"==n?(e.qx=2*e.x-e.qx,e.qy=2*e.y-e.qy):(e.qx=e.x,e.qy=e.y),t=["C"].concat(N(e.x,e.y,e.qx,e.qy,t[1],t[2]));break;case"Q":e.qx=t[1],e.qy=t[2],t=["C"].concat(N(e.x,e.y,t[1],t[2],t[3],t[4]));break;case"L":t=["C"].concat(M(e.x,e.y,t[1],t[2]));break;case"H":t=["C"].concat(M(e.x,e.y,t[1],e.y));break;case"V":t=["C"].concat(M(e.x,e.y,e.x,t[1]));break;case"Z":t=["C"].concat(M(e.x,e.y,e.X,e.Y))}return t},l=function(t,e){if(7<t[e].length){t[e].shift();for(var n=t[e];n.length;)c[e]="A",a&&(h[e]="A"),t.splice(e++,0,["C"].concat(n.splice(0,6)));t.splice(e,1),g=z(o.length,a&&a.length||0)}},u=function(t,e,n,r,i){t&&e&&"M"==t[i][0]&&"M"!=e[i][0]&&(e.splice(i,0,["M",r.x,r.y]),n.bx=0,n.by=0,n.x=t[i][1],n.y=t[i][2],g=z(o.length,a&&a.length||0))},c=[],h=[],f="",d="",p=0,g=z(o.length,a&&a.length||0);p<g;p++){"C"!=(f=o[p]?o[p][0]:f)&&(c[p]=f,p)&&(d=c[p-1]),o[p]=s(o[p],r,d),"A"!=c[p]&&"C"==f&&(c[p]="C"),l(o,p),a&&("C"!=(f=a[p]?a[p][0]:f)&&(h[p]=f,p)&&(d=h[p-1]),a[p]=s(a[p],i,d),"A"!=h[p]&&"C"==f&&(h[p]="C"),l(a,p)),u(o,a,r,i,p),u(a,o,i,r,p);var y=o[p],m=a&&a[p],x=y.length,v=a&&m.length;r.x=y[x-2],r.y=y[x-1],r.bx=V(y[x-4])||r.x,r.by=V(y[x-3])||r.y,i.bx=a&&(V(m[v-4])||i.x),i.by=a&&(V(m[v-3])||i.y),i.x=a&&m[v-2],i.y=a&&m[v-1]}return a||(n.curve=w(o)),a?[o,a]:o}function h(t,e){if(e)for(var n,r,i,o,a,s,l,i=0,a=(t=P(t)).length;i<a;i++)for(o=1,s=(l=t[i]).length;o<s;o+=2)n=e.x(l[o],l[o+1]),r=e.y(l[o],l[o+1]),l[o]=n,l[o+1]=r;return t}function L(t,e){for(var n=[],r=0,i=t.length;r<i-2*!e;r+=2){var o=[{x:+t[r-2],y:+t[r-1]},{x:+t[r],y:+t[r+1]},{x:+t[r+2],y:+t[r+3]},{x:+t[r+4],y:+t[r+5]}];e?r?i-4==r?o[3]={x:+t[0],y:+t[1]}:i-2==r&&(o[2]={x:+t[0],y:+t[1]},o[3]={x:+t[2],y:+t[3]}):o[0]={x:+t[i-2],y:+t[i-1]}:i-4==r?o[3]=o[2]:r||(o[0]={x:+t[r],y:+t[r+1]}),n.push(["C",(-o[0].x+6*o[1].x+o[2].x)/6,(-o[0].y+6*o[1].y+o[2].y)/6,(o[1].x+6*o[2].x-o[3].x)/6,(o[1].y+6*o[2].y-o[3].y)/6,o[2].x,o[2].y])}return n}var e=y.prototype,q=k.is,E=k._.clone,f="hasOwnProperty",d=/,?([a-z]),?/gi,V=parseFloat,O=Math,G=O.PI,R=O.min,z=O.max,D=O.pow,I=O.abs,$=t(1),H=t(),Y=t(0,1),n=k._unit2px,W={path:function(t){return t.attr("path")},circle:function(t){var t=n(t);return F(t.cx,t.cy,t.r)},ellipse:function(t){var t=n(t);return F(t.cx||0,t.cy||0,t.rx,t.ry)},rect:function(t){var t=n(t);return a(t.x||0,t.y||0,t.width,t.height,t.rx,t.ry)},image:function(t){var t=n(t);return a(t.x||0,t.y||0,t.width,t.height)},line:function(t){return"M"+[t.attr("x1")||0,t.attr("y1")||0,t.attr("x2"),t.attr("y2")]},polyline:function(t){return"M"+t.attr("points")},polygon:function(t){return"M"+t.attr("points")+"z"},deflt:function(t){var t=t.node.getBBox();return a(t.x,t.y,t.width,t.height)}};k.path=b,k.path.getTotalLength=$,k.path.getPointAtLength=H,k.path.getSubpath=function(t,e,n){var t;return this.getTotalLength(t)-n<1e-6||(t=Y(t,n,1),e)?Y(t,e).end:t},e.getTotalLength=function(){return this.node.getTotalLength?this.node.getTotalLength():void 0},e.getPointAtLength=function(t){return H(this.attr("d"),t)},e.getSubpath=function(t,e){return k.path.getSubpath(this.attr("d"),t,e)},k._.box=g,k.path.findDotsAtSegment=C,k.path.bezierBBox=_,k.path.isPointInsideBBox=x,k.closest=function(t,e,n,r){for(var i=100,o=g(t-i/2,e-i/2,i,i),a=[],s=n[0].hasOwnProperty("x")?function(t){return{x:n[t].x,y:n[t].y}}:function(t){return{x:n[t],y:r[t]}},l=0;i<=1e6&&!l;){for(var u=0,c=n.length;u<c;u++){var h=s(u);if(x(o,h.x,h.y)){l++,a.push(h);break}}l||(o=g(t-(i*=2)/2,e-i/2,i,i))}if(1e6!=i){for(var f,d=1/0,u=0,c=a.length;u<c;u++){var p=k.len(t,e,a[u].x,a[u].y);p<d&&(a[u].len=d=p,f=a[u])}return f}},k.path.isBBoxIntersect=B,k.path.intersection=r,k.path.intersectionNumber=s,k.path.isPointInside=l,k.path.getBBox=o,k.path.get=W,k.path.toRelative=c,k.path.toAbsolute=A,k.path.toCubic=P,k.path.map=h,k.path.toString=v,k.path.clone=w}),t.plugin(function(h){var s=Math.max,l=Math.min,u=function(t){if(this.items=[],this.bindings={},this.length=0,this.type="set",t)for(var e=0,n=t.length;e<n;e++)t[e]&&(this[this.items.length]=this.items[this.items.length]=t[e],this.length++)},t=u.prototype;t.push=function(){for(var t,e,n=0,r=arguments.length;n<r;n++)(t=arguments[n])&&(this[e=this.items.length]=this.items[e]=t,this.length++);return this},t.pop=function(){return this.length&&delete this[this.length--],this.items.pop()},t.forEach=function(t,e){for(var n=0,r=this.items.length;n<r;n++)if(!1===t.call(e,this.items[n],n))return this;return this},t.animate=function(n,r,i,t){"function"!=typeof i||i.length||(t=i,i=w.linear),n instanceof h._.Animation&&(t=n.callback,r=(i=n.easing).dur,n=n.attr);var o=arguments,a;h.is(n,"array")&&h.is(o[o.length-1],"array")&&(a=!0);var e,s=function(){e?this.b=e:e=this.b},l=0,u=this,c=t&&function(){++l==u.length&&t.call(this)};return this.forEach(function(t,e){C.once("snap.animcreated."+t.id,s),a?o[e]&&t.animate.apply(t,o[e]):t.animate(n,r,i,c)})},t.remove=function(){for(;this.length;)this.pop().remove();return this},t.bind=function(t,e,n){var r={},i;return"function"==typeof e?this.bindings[t]=e:(i=n||t,this.bindings[t]=function(t){r[i]=t,e.attr(r)}),this},t.attr=function(t){var e={},n;for(n in t)this.bindings[n]?this.bindings[n](t[n]):e[n]=t[n];for(var r=0,i=this.items.length;r<i;r++)this.items[r].attr(e);return this},t.clear=function(){for(;this.length;)this.pop()},t.splice=function(t,e){t=t<0?s(this.length+t,0):t,e=s(0,l(this.length-t,e));for(var n,r=[],i=[],o=[],n=2;n<arguments.length;n++)o.push(arguments[n]);for(n=0;n<e;n++)i.push(this[t+n]);for(;n<this.length-t;n++)r.push(this[t+n]);var a=o.length;for(n=0;n<a+r.length;n++)this.items[t+n]=this[t+n]=n<a?o[n]:r[n-a];for(n=this.items.length=this.length-=e-a;this[n];)delete this[n++];return new u(i)},t.exclude=function(t){for(var e=0,n=this.length;e<n;e++)if(this[e]==t)return this.splice(e,1),!0;return!1},t.insertAfter=function(t){for(var e=this.items.length;e--;)this.items[e].insertAfter(t);return this},t.getBBox=function(){for(var t=[],e=[],n=[],r=[],i=this.items.length,o;i--;){this.items[i].removed||(o=this.items[i].getBBox(),t.push(o.x),e.push(o.y),n.push(o.x+o.width),r.push(o.y+o.height))}return{x:t=l.apply(0,t),y:e=l.apply(0,e),x2:n=s.apply(0,n),y2:r=s.apply(0,r),width:n-t,height:r-e,cx:t+(n-t)/2,cy:e+(r-e)/2}},t.clone=function(t){t=new u;for(var e=0,n=this.items.length;e<n;e++)t.push(this.items[e].clone());return t},t.toString=function(){return"Snap‘s set"},t.type="set",h.Set=u,h.set=function(){var t=new u;return arguments.length&&t.push.apply(t,Array.prototype.slice.call(arguments,0)),t}}),t.plugin(function(h,t){function f(t){var e=t[0];switch(e.toLowerCase()){case"t":return[e,0,0];case"m":return[e,1,0,0,1,0,0];case"r":return 4==t.length?[e,0,t[2],t[3]]:[e,0];case"s":return 5==t.length?[e,1,1,t[3],t[4]]:3==t.length?[e,1,1]:[e,1]}}function a(t,e,n){e=v(e).replace(/\.{3}|\u2026/g,t),t=h.parseTransformString(t)||[],e=h.parseTransformString(e)||[];for(var r,i,o,a,s=Math.max(t.length,e.length),l=[],u=[],c=0;c<s;c++){if(o=t[c]||f(e[c]),a=e[c]||f(o),o[0]!=a[0]||"r"==o[0].toLowerCase()&&(o[2]!=a[2]||o[3]!=a[3])||"s"==o[0].toLowerCase()&&(o[3]!=a[3]||o[4]!=a[4])){t=h._.transform2matrix(t,n()),e=h._.transform2matrix(e,n()),l=[["m",t.a,t.b,t.c,t.d,t.e,t.f]],u=[["m",e.a,e.b,e.c,e.d,e.e,e.f]];break}for(l[c]=[],u[c]=[],r=0,i=Math.max(o.length,a.length);r<i;r++)r in o&&(l[c][r]=o[r]),r in a&&(u[c][r]=a[r])}return{from:p(l),to:p(u),f:d(l)}}function s(t){return t}function l(e){return function(t){return+t.toFixed(3)+e}}function u(t){return t.join(" ")}function c(t){return h.rgb(t[0],t[1],t[2])}function d(t){for(var e,n,r,i,o,a,s=0,l=[],e=0,n=t.length;e<n;e++){for(o="[",a=['"'+t[e][0]+'"'],r=1,i=t[e].length;r<i;r++)a[r]="val["+s+++"]";l[e]=o+=a+"]"}return Function("val","return Snap.path.toString.call(["+l+"])")}function p(t){for(var e=[],n=0,r=t.length;n<r;n++)for(var i=1,o=t[n].length;i<o;i++)e.push(t[n][i]);return e}function g(t){return isFinite(parseFloat(t))}function y(t,e){return h.is(t,"array")&&h.is(e,"array")&&t.toString()==e.toString()}var m={},x=/[a-z]+$/i,v=String;m.stroke=m.fill="colour",t.prototype.equal=function(t,e){return C("snap.util.equal",this,t,e).firstDefined()},C.on("snap.util.equal",function(t,e){var n,r,i=v(this.attr(t)||""),o=this,n,r;return g(i)&&g(e)?{from:parseFloat(i),to:parseFloat(e),f:s}:"colour"==m[t]?(n=h.color(i),r=h.color(e),{from:[n.r,n.g,n.b,n.opacity],to:[r.r,r.g,r.b,r.opacity],f:c}):"viewBox"==t?{from:n=this.attr(t).vb.split(" ").map(Number),to:r=e.split(" ").map(Number),f:u}:"transform"==t||"gradientTransform"==t||"patternTransform"==t?(e instanceof h.Matrix&&(e=e.toTransformString()),a(i,e=h._.rgTransform.test(e)?e:h._.svgTransform2string(e),function(){return o.getBBox(1)})):"d"==t||"path"==t?{from:p((n=h.path.toCubic(i,e))[0]),to:p(n[1]),f:d(n[0])}:"points"==t?{from:n=v(i).split(h._.separator),to:r=v(e).split(h._.separator),f:function(t){return t}}
9:(n=i.match(x),r=v(e).match(x),n&&y(n,r)?{from:parseFloat(i),to:parseFloat(e),f:l(n)}:{from:this.asPX(t),to:this.asPX(t,e),f:s})})}),t.plugin(function(c,t,e,n){for(var r=t.prototype,h="hasOwnProperty",f=("createTouch"in n.doc),i=["click","dblclick","mousedown","mousemove","mouseout","mouseover","mouseup","touchstart","touchmove","touchend","touchcancel"],d={mousedown:"touchstart",mousemove:"touchmove",mouseup:"touchend"},p=function(t,e){var t="y"==t?"scrollTop":"scrollLeft",e=e&&e.node?e.node.ownerDocument:n.doc;return e[t in e.documentElement?"documentElement":"body"][t]},g=function(){return this.originalEvent.preventDefault()},y=function(){return this.originalEvent.stopPropagation()},o=function(a,s,l,u){var t=f&&d[s]?d[s]:s,e=function(t){var e=p("y",u),n=p("x",u);if(f&&d[h](s))for(var r=0,i=t.targetTouches&&t.targetTouches.length;r<i;r++)if(t.targetTouches[r].target==a||a.contains(t.targetTouches[r].target)){var o=t;(t=t.targetTouches[r]).originalEvent=o,t.preventDefault=g,t.stopPropagation=y;break}var n=t.clientX+n,e=t.clientY+e;return l.call(u,t,n,e)};return s!==t&&a.addEventListener(s,e,!1),a.addEventListener(t,e,!1),function(){return s!==t&&a.removeEventListener(s,e,!1),a.removeEventListener(t,e,!1),!0}},m=[],x=function(t){for(var e,n=t.clientX,r=t.clientY,i=p("y"),o=p("x"),a=m.length;a--;){if(e=m[a],f){for(var s,l=t.touches&&t.touches.length;l--;)if((s=t.touches[l]).identifier==e.el._drag.id||e.el.node.contains(s.target)){n=s.clientX,r=s.clientY,(t.originalEvent||t).preventDefault();break}}else t.preventDefault();var u=e.el.node;u.nextSibling,u.style.display,n+=o,r+=i,C("snap.drag.move."+e.el.id,e.move_scope||e.el,n-e.el._drag.x,r-e.el._drag.y,n,r,t)}},v=function(t){c.unmousemove(x).unmouseup(v);for(var e,n=m.length;n--;)(e=m[n]).el._drag={},C("snap.drag.end."+e.el.id,e.end_scope||e.start_scope||e.move_scope||e.el,t),C.off("snap.drag.*."+e.el.id);m=[]},a=i.length;a--;)(i=>{c[i]=r[i]=function(t,e){if(c.is(t,"function"))this.events=this.events||[],this.events.push({name:i,f:t,unbind:o(this.node||document,i,t,e||this)});else for(var n=0,r=this.events.length;n<r;n++)if(this.events[n].name==i)try{this.events[n].f.call(this)}catch(t){}return this},c["un"+i]=r["un"+i]=function(t){for(var e=this.events||[],n=e.length;n--;)if(e[n].name==i&&(e[n].f==t||!t))return e[n].unbind(),e.splice(n,1),e.length||delete this.events,this;return this}})(i[a]);r.hover=function(t,e,n,r){return this.mouseover(t,n).mouseout(e,r||n)},r.unhover=function(t,e){return this.unmouseover(t).unmouseout(e)};var b=[];r.drag=function(r,i,o,a,s,l){function t(t,e,n){(t.originalEvent||t).preventDefault(),u._drag.x=e,u._drag.y=n,u._drag.id=t.identifier,m.length||c.mousemove(x).mouseup(v),m.push({el:u,move_scope:a,start_scope:s,end_scope:l}),i&&C.on("snap.drag.start."+u.id,i),r&&C.on("snap.drag.move."+u.id,r),o&&C.on("snap.drag.end."+u.id,o),C("snap.drag.start."+u.id,s||a||u,e,n,t)}function e(t,e,n){C("snap.draginit."+u.id,u,t,e,n)}var u=this,n;return arguments.length?(C.on("snap.draginit."+u.id,t),u._drag={},b.push({el:u,start:t,init:e}),u.mousedown(e),u):u.drag(function(t,e){this.attr({transform:n+(n?"T":"t")+[t,e]})},function(){n=this.transform().local})},r.undrag=function(){for(var t=b.length;t--;)b[t].el==this&&(this.unmousedown(b[t].init),b.splice(t,1),C.unbind("snap.drag.*."+this.id),C.unbind("snap.draginit."+this.id));return b.length||c.unmousemove(x).unmouseup(v),this}}),t.plugin(function(o,i,t){var t=(i.prototype,t.prototype),e=/^\s*url\((.+)\)/,a=String,s=o._.$;o.filter={},t.filter=function(t){var e=this,t=("svg"!=e.type&&(e=e.paper),o.parse(a(t))),n=o._.id(),r=(e.node.offsetWidth,e.node.offsetHeight,s("filter"));return s(r,{id:n,filterUnits:"userSpaceOnUse"}),r.appendChild(t.node),e.defs.appendChild(r),new i(r)},C.on("snap.util.getattr.filter",function(){C.stop();var t=s(this.node,"filter"),t;if(t)return(t=a(t).match(e))&&o.select(t[1])}),C.on("snap.util.attr.filter",function(t){var e;t instanceof i&&"filter"==t.type&&(C.stop(),(e=t.node.id)||(s(t.node,{id:t.id}),e=t.id),s(this.node,{filter:o.url(e)})),t&&"none"!=t||(C.stop(),this.node.removeAttribute("filter"))}),o.filter.blur=function(t,e){var n;return null==t&&(t=2),o.format('<feGaussianBlur stdDeviation="{def}"/>',{def:null==e?t:[t,e]})},o.filter.blur.toString=function(){return this()},o.filter.shadow=function(t,e,n,r,i){return"string"==typeof n&&(i=r=n,n=4),"string"!=typeof r&&(i=r,r="#000"),null==n&&(n=4),null==i&&(i=1),null==t&&(t=0,e=2),null==e&&(e=t),r=o.color(r=r||"#000"),o.format('<feGaussianBlur in="SourceAlpha" stdDeviation="{blur}"/><feOffset dx="{dx}" dy="{dy}" result="offsetblur"/><feFlood flood-color="{color}"/><feComposite in2="offsetblur" operator="in"/><feComponentTransfer><feFuncA type="linear" slope="{opacity}"/></feComponentTransfer><feMerge><feMergeNode/><feMergeNode in="SourceGraphic"/></feMerge>',{color:r,dx:t,dy:e,blur:n,opacity:i})},o.filter.shadow.toString=function(){return this()},o.filter.grayscale=function(t){return o.format('<feColorMatrix type="matrix" values="{a} {b} {c} 0 0 {d} {e} {f} 0 0 {g} {b} {h} 0 0 0 0 0 1 0"/>',{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)})},o.filter.grayscale.toString=function(){return this()},o.filter.sepia=function(t){return o.format('<feColorMatrix type="matrix" values="{a} {b} {c} 0 0 {d} {e} {f} 0 0 {g} {h} {i} 0 0 0 0 0 1 0"/>',{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)})},o.filter.sepia.toString=function(){return this()},o.filter.saturate=function(t){return o.format('<feColorMatrix type="saturate" values="{amount}"/>',{amount:1-(t=null==t?1:t)})},o.filter.saturate.toString=function(){return this()},o.filter.hueRotate=function(t){return o.format('<feColorMatrix type="hueRotate" values="{angle}"/>',{angle:t=t||0})},o.filter.hueRotate.toString=function(){return this()},o.filter.invert=function(t){return o.format('<feComponentTransfer><feFuncR type="table" tableValues="{amount} {amount2}"/><feFuncG type="table" tableValues="{amount} {amount2}"/><feFuncB type="table" tableValues="{amount} {amount2}"/></feComponentTransfer>',{amount:t=null==t?1:t,amount2:1-t})},o.filter.invert.toString=function(){return this()},o.filter.brightness=function(t){return o.format('<feComponentTransfer><feFuncR type="linear" slope="{amount}"/><feFuncG type="linear" slope="{amount}"/><feFuncB type="linear" slope="{amount}"/></feComponentTransfer>',{amount:t=null==t?1:t})},o.filter.brightness.toString=function(){return this()},o.filter.contrast=function(t){return o.format('<feComponentTransfer><feFuncR type="linear" slope="{amount}" intercept="{amount2}"/><feFuncG type="linear" slope="{amount}" intercept="{amount2}"/><feFuncB type="linear" slope="{amount}" intercept="{amount2}"/></feComponentTransfer>',{amount:t=null==t?1:t,amount2:.5-t/2})},o.filter.contrast.toString=function(){return this()}}),t.plugin(function(t,e){var o=t._.box,a=t.is,s=/^[^a-z]*([tbmlrc])/i,l=function(){return"T"+this.dx+","+this.dy};e.prototype.getAlign=function(t,e){null==e&&a(t,"string")&&(e=t,t=null);var n=(t=t||this.paper).getBBox?t.getBBox():o(t),r=this.getBBox(),i={};switch(e=(e=e&&e.match(s))?e[1].toLowerCase():"c"){case"t":i.dx=0,i.dy=n.y-r.y;break;case"b":i.dx=0,i.dy=n.y2-r.y2;break;case"m":i.dx=0,i.dy=n.cy-r.cy;break;case"l":i.dx=n.x-r.x,i.dy=0;break;case"r":i.dx=n.x2-r.x2,i.dy=0;break;default:i.dx=n.cx-r.cx,i.dy=0}return i.toString=l,i},e.prototype.align=function(t,e){return this.transform("..."+this.getAlign(t,e))}}),t});
10!function(v){var o=this.SelectBox=function(e,t){if(e instanceof jQuery){if(!(0<e.length))return;e=e[0]}return this.typeTimer=null,this.typeSearch="",this.isMac=navigator.platform.match(/mac/i),t="object"==typeof t?t:{},this.selectElement=e,!(!t.mobile&&navigator.userAgent.match(/iPad|iPhone|Android|IEMobile|BlackBerry/i))&&"select"===e.tagName.toLowerCase()&&void this.init(t)};o.prototype.version="1.2.0",o.prototype.init=function(t){var e=v(this.selectElement);if(e.data("selectBox-control"))return!1;var s=v('<a class="selectBox" />'),o=e.attr("multiple")||1<parseInt(e.attr("size")),a=t||{},n=parseInt(e.prop("tabindex"))||0,l=this,n,o,i,o,i,n;s.width(e.outerWidth()).addClass(e.attr("class")).attr("title",e.attr("title")||"").attr("tabindex",n).css("display","inline-block").bind("focus.selectBox",function(){this!==document.activeElement&&document.body!==document.activeElement&&v(document.activeElement).blur(),s.hasClass("selectBox-active")||(s.addClass("selectBox-active"),e.trigger("focus"))}).bind("blur.selectBox",function(){s.hasClass("selectBox-active")&&(s.removeClass("selectBox-active"),e.trigger("blur"))}),v(window).data("selectBox-bindings")||v(window).data("selectBox-bindings",!0).bind("scroll.
10selectBox",a.hideOnWindowScroll?this.hideMenus:v.noop).bind("resize.selectBox",this.hideMenus),e.attr("disabled")&&s.addClass("selectBox-disabled"),e.bind("click.selectBox",function(e){s.focus(),e.preventDefault()}),o?(t=this.getOptions("inline"),s.append(t).data("selectBox-options",t).addClass("selectBox-inline selectBox-menuShowing").bind("keydown.selectBox",function(e){l.handleKeyDown(e)}).bind("keypress.selectBox",function(e){l.handleKeyPress(e)}).bind("mousedown.selectBox",function(e){1!==e.which||(v(e.target).is("A.selectBox-inline")&&e.preventDefault(),s.hasClass("selectBox-focus"))||s.focus()}).insertAfter(e),e[0].style.height||(n=e.attr("size")?parseInt(e.attr("size")):5,(o=s.clone().removeAttr("id").css({position:"absolute",top:"-9999em"}).show().appendTo("body")).find(".selectBox-options").html("<li><a> </a></li>"),i=parseInt(o.find(".selectBox-options A:first").html("&nbsp;").outerHeight()),o.remove(),s.height(i*n))):(o=v('<span class="selectBox-label" />'),i=v('<span class="selectBox-arrow" />'),o.attr("class",this.getLabelClass()).text(this.getLabelText()),(t=this.getOptions("dropdown")).appendTo("BODY"),s.data("selectBox-options",t).addClass("selectBox-dropdown").append(o).append(i).bind("mousedown.selectBox",function(e){1===e.which&&(s.hasClass("selectBox-menuShowing")?l.hideMenus():(e.stopPropagation(),t.data("selectBox-down-at-x",e.screenX).data("selectBox-down-at-y",e.screenY),l.showMenu()))}).bind("keydown.selectBox",function(e){l.handleKeyDown(e)}).bind("keypress.selectBox",function(e){l.handleKeyPress(e)}).bind("open.selectBox",function(e,t){t&&!0===t._selectBox||l.showMenu()}).bind("close.selectBox",function(e,t){t&&!0===t._selectBox||l.hideMenus()}).insertAfter(e),n=s.width()-i.outerWidth()-(parseInt(o.css("paddingLeft"))||0)-(parseInt(o.css("paddingRight"))||0),o.width(n)),this.disableSelection(s),e.addClass("selectBox").data("selectBox-control",s).data("selectBox-settings",a).hide()},o.prototype.getOptions=function(e){var t,s=v(this.selectElement),o=this,a=function(e,t){return e.children("OPTION, OPTGROUP").each(function(){var e;v(this).is("OPTION")?0<v(this).length?o.generateOptions(v(this),t):t.append("<li> </li>"):((e=v('<li class="selectBox-optgroup" />')).text(v(this).attr("label")),t.append(e),t=a(v(this),t))}),t};switch(e){case"inline":return t=v('<ul class="selectBox-options" />'),(t=a(s,t)).find("A").bind("mouseover.selectBox",function(e){o.addHover(v(this).parent())}).bind("mouseout.selectBox",function(e){o.removeHover(v(this).parent())}).bind("mousedown.selectBox",function(e){1!==e.which||(e.preventDefault(),s.selectBox("control").hasClass("selectBox-active"))||s.selectBox("control").focus()}).bind("mouseup.selectBox",function(e){1===e.which&&(o.hideMenus(),o.selectOption(v(this).parent(),e))}),this.disableSelection(t),t;case"dropdown":var n,t=v('<ul class="selectBox-dropdown-menu selectBox-options" />');if((t=a(s,t)).data("selectBox-select",s).css("display","none").appendTo("BODY").find("A").bind("mousedown.selectBox",function(e){1===e.which&&(e.preventDefault(),e.screenX===t.data("selectBox-down-at-x"))&&e.screenY===t.data("selectBox-down-at-y")&&(t.removeData("selectBox-down-at-x").removeData("selectBox-down-at-y"),/android/i.test(navigator.userAgent.toLowerCase())&&/chrome/i.test(navigator.userAgent.toLowerCase())&&o.selectOption(v(this).parent()),o.hideMenus())}).bind("mouseup.selectBox",function(e){1!==e.which||e.screenX===t.data("selectBox-down-at-x")&&e.screenY===t.data("selectBox-down-at-y")||(t.removeData("selectBox-down-at-x").removeData("selectBox-down-at-y"),o.selectOption(v(this).parent()),o.hideMenus())}).bind("mouseover.selectBox",function(e){o.addHover(v(this).parent())}).bind("mouseout.selectBox",function(e){o.removeHover(v(this).parent())}),""!==(n=s.attr("class")||""))for(var n=n.split(" "),l=0;l<n.length;l++)t.addClass(n[l]+"-selectBox-dropdown-menu");return this.disableSelection(t),t}},o.prototype.getLabelClass=function(){var e;return("selectBox-label "+(v(this.selectElement).find("OPTION:selected").attr("class")||"")).replace(/\s+$/,"")},o.prototype.getLabelText=function(){var e;return v(this.selectElement).find("OPTION:selected").text()||" "},o.prototype.setLabel=function(){var e,t=v(this.selectElement).data("selectBox-control");t&&t.find(".selectBox-label").attr("class",this.getLabelClass()).text(this.getLabelText())},o.prototype.destroy=function(){var e=v(this.selectElement),t=e.data("selectBox-control"),s;t&&(t.data("selectBox-options").remove(),t.remove(),e.removeClass("selectBox").removeData("selectBox-control").data("selectBox-control",null).removeData("selectBox-settings").data("selectBox-settings",null).show())},o.prototype.refresh=function(){var e,t=v(this.selectElement).data("selectBox-control"),s=t.hasClass("selectBox-dropdown")?"dropdown":"inline",o;switch(t.data("selectBox-options").remove(),o=this.getOptions(s),t.data("selectBox-options",o),s){case"inline":t.append(o);break;case"dropdown":this.setLabel(),v("BODY").append(o)}"dropdown"==s&&t.hasClass("selectBox-menuShowing")&&this.showMenu()},o.prototype.showMenu=function(){var t=this,e=v(this.selectElement),s=e.data("selectBox-control"),o=e.data("selectBox-settings"),a=s.data("selectBox-options");
10if(s.hasClass("selectBox-disabled"))return!1;this.hideMenus();var n=parseInt(s.css("borderBottomWidth"))||0,l=parseInt(s.css("borderTopWidth"))||0,i=s.offset(),c=o.topPositionCorrelation||0,r=o.bottomPositionCorrelation||0,d=a.outerHeight(),h=s.outerHeight(),p=parseInt(a.css("max-height")),x=v(window).scrollTop(),x=i.top-x,u=v(window).height()-(x+h),B=u<x&&(null==o.keepInViewport||o.keepInViewport),d=B?i.top-d+l+c:i.top+h-n-r,f,f;if(x<p&&u<p&&(B?(a.css({"max-height":p-(f=p-(x-5))+"px"}),d+=f):a.css({"max-height":p-(f=p-(u-5))+"px"})),a.data("posTop",B),a.width(s.innerWidth()).css({top:d,left:s.offset().left}).addClass("selectBox-options selectBox-options-"+(B?"top":"bottom")),e.triggerHandler("beforeopen"))return!1;var m=function(){e.triggerHandler("open",{_selectBox:!0})};switch(o.menuTransition){case"fade":a.fadeIn(o.menuSpeed,m);break;case"slide":a.slideDown(o.menuSpeed,m);break;default:a.show(o.menuSpeed,m)}o.menuSpeed||m();var l=a.find(".selectBox-selected:first");this.keepOptionInView(l,!0),this.addHover(l),s.addClass("selectBox-menuShowing selectBox-menuShowing-"+(B?"top":"bottom")),v(document).bind("mousedown.selectBox",function(e){1!==e.which||v(e.target).parents().andSelf().hasClass("selectBox-options")||t.hideMenus()})},o.prototype.hideMenus=function(){0!==v(".selectBox-dropdown-menu:visible").length&&(v(document).unbind("mousedown.selectBox"),v(".selectBox-dropdown-menu").each(function(){var e=v(this),t=e.data("selectBox-select"),s=t.data("selectBox-control"),o=t.data("selectBox-settings"),a=e.data("posTop");if(t.triggerHandler("beforeclose"))return!1;var n=function(){t.triggerHandler("close",{_selectBox:!0})};if(o){switch(o.menuTransition){case"fade":e.fadeOut(o.menuSpeed,n);break;case"slide":e.slideUp(o.menuSpeed,n);break;default:e.hide(o.menuSpeed,n)}o.menuSpeed||n(),s.removeClass("selectBox-menuShowing selectBox-menuShowing-"+(a?"top":"bottom"))}else v(this).hide(),v(this).triggerHandler("close",{_selectBox:!0}),v(this).removeClass("selectBox-menuShowing selectBox-menuShowing-"+(a?"top":"bottom"));e.css("max-height",""),e.removeClass("selectBox-options-"+(a?"top":"bottom")),e.data("posTop",!1)}))},o.prototype.selectOption=function(e,t){var s=v(this.selectElement),o=(e=v(e),s.data("selectBox-control")),a=s.data("selectBox-settings"),n;if(o.hasClass("selectBox-disabled"))return!1;if(0===e.length||e.hasClass("selectBox-disabled"))return!1;s.attr("multiple")?t.shiftKey&&o.data("selectBox-last-selected")?(e.toggleClass("selectBox-selected"),n=(n=e.index()>o.data("selectBox-last-selected").index()?e.siblings().slice(o.data("selectBox-last-selected").index(),e.index()):e.siblings().slice(e.index(),o.data("selectBox-last-selected").index())).not(".selectBox-optgroup, .selectBox-disabled"),e.hasClass("selectBox-selected")?n.addClass("selectBox-selected"):n.removeClass("selectBox-selected")):this.isMac&&t.metaKey||!this.isMac&&t.ctrlKey?e.toggleClass("selectBox-selected"):(e.siblings().removeClass("selectBox-selected"),e.addClass("selectBox-selected")):(e.siblings().removeClass("selectBox-selected"),e.addClass("selectBox-selected")),o.hasClass("selectBox-dropdown")&&o.find(".selectBox-label").text(e.text());var l=0,i=[];return s.attr("multiple")?o.find(".selectBox-selected A").each(function(){i[l++]=v(this).attr("rel")}):i=e.find("A").attr("rel"),o.data("selectBox-last-selected",e),s.val()!==i&&(s.val(i),this.setLabel(),s.trigger("change")),!0},o.prototype.addHover=function(e){var t,s,o;e=v(e),v(this.selectElement).data("selectBox-control").data("selectBox-options").find(".selectBox-hover").removeClass("selectBox-hover"),e.addClass("selectBox-hover")},o.prototype.getSelectElement=function(){return this.selectElement},o.prototype.removeHover=function(e){var t,s,o;e=v(e),v(this.selectElement).data("selectBox-control").data("selectBox-options").find(".selectBox-hover").removeClass("selectBox-hover")},o.prototype.keepOptionInView=function(e,t){var s,o,a,o,a,n;e&&0!==e.length&&(a=(o=v(this.selectElement).data("selectBox-control")).data("selectBox-options"),o=o.hasClass("selectBox-dropdown")?a:a.parent(),a=parseInt(e.offset().top-o.position().top),n=parseInt(a+e.outerHeight()),t?o.scrollTop(e.offset().top-o.offset().top+o.scrollTop()-o.height()/2):(a<0&&o.scrollTop(e.offset().top-o.offset().top+o.scrollTop()),n>o.height()&&o.scrollTop(e.offset().top+e.outerHeight()-o.offset().top+o.scrollTop()-o.height())))},o.prototype.handleKeyDown=function(e){var t=v(this.selectElement),s=t.data("selectBox-control"),o=s.data("selectBox-options"),a=t.data("selectBox-settings"),n=0,l=0;if(!s.hasClass("selectBox-disabled"))switch(e.keyCode){case 8:e.preventDefault(),this.typeSearch="";break;case 9:case 27:this.hideMenus(),this.removeHover();break;case 13:s.hasClass("selectBox-menuShowing")?(this.selectOption(o.find("LI.selectBox-hover:first"),e),s.hasClass("selectBox-dropdown")&&this.hideMenus()):this.showMenu();break;case 38:case 37:if(e.preventDefault(),s.hasClass("selectBox-menuShowing")){for(var i=o.find(".selectBox-hover").prev("LI"),n=o.find("LI:not(.selectBox-optgroup)").length,l=0;(0===i.length||i.hasClass("selectBox-disabled")||i.hasClass("selectBox-optgroup"))&&(0===(i=i.prev("LI")).length&&(i=a.loopOptions?o.find("LI:last"):o.find("LI:first")),!(++l>=n)););this.addHover(i),this.selectOption(i,e),this.keepOptionInView(i)}else this.showMenu();break;case 40:case 39:if(e.preventDefault(),s.hasClass("selectBox-menuShowing")){var c=o.find(".selectBox-hover").next("LI");for(n=o.find("LI:not(.selectBox-optgroup)").length,l=0;(0===c.length||c.hasClass("selectBox-disabled")||c.hasClass("selectBox-optgroup"))&&(0===(c=c.next("LI")).length&&(c=a.loopOptions?o.find("LI:first"):o.find("LI:last")),!(++l>=n)););this.addHover(c),this.selectOption(c,e),this.keepOptionInView(c)}else this.showMenu()}},o.prototype.handleKeyPress=function(e){var t,s=v(this.selectElement).data("selectBox-control"),o=s.data("selectBox-options"),a=this;if(!s.hasClass("selectBox-disabled"))switch(e.keyCode){case 9:case 27:case 13:case 38:case 37:case 40:case 39:break;default:s.hasClass("selectBox-menuShowing")||this.showMenu(),e.preventDefault(),clearTimeout(this.typeTimer),this.typeSearch+=String.fromCharCode(e.charCode||e.keyCode),o.find("A").each(function(){if(v(this).text().substr(0,a.typeSearch.length).toLowerCase()===a.typeSearch.toLowerCase())return a.addHover(v(this).parent()),a.selectOption(v(this).parent(),e),a.keepOptionInView(v(this).parent()),!1}),this.typeTimer=setTimeout(function(){a.typeSearch=""},1e3)}},o.prototype.enable=function(){var e=v(this.selectElement),e=(e.prop("disabled",!1),e.data("selectBox-control"));e&&e.removeClass("selectBox-disabled")},o.prototype.disable=function(){var e=v(this.selectElement),e=(e.prop("disabled",!0),e.data("selectBox-control"));e&&e.addClass("selectBox-disabled")},o.prototype.setValue=function(t){var e=v(this.selectElement),s=(e.val(t),null===(t=e.val())&&(t=e.children().first().val(),e.val(t)),e.data("selectBox-control")),o,s;s&&(o=e.data("selectBox-settings"),s=s.data("selectBox-options"),this.setLabel(),s.find(".selectBox-selected").removeClass("selectBox-selected"),s.find("A").each(function(){if("object"==typeof t)for(var e=0;e<t.length;e++)v(this).attr("rel")==t[e]&&v(this).parent().addClass("selectBox-selected");else v(this).attr("rel")==t&&v(this).parent().addClass("selectBox-selected")}),o.change)&&o.change.call(e)},o.prototype.disableSelection=function(e){v(e).css("MozUserSelect","none").bind("selectstart",function(e){e.preventDefault()})},o.prototype.generateOptions=function(e,t){var s=v("<li />"),o=v("<a />");s.addClass(e.attr("class")),s.data(e.data()),o.attr("rel",e.val()).text(e.text()),s.append(o),e.attr("disabled")&&s.addClass("selectBox-disabled"),e.attr("selected")&&s.addClass("selectBox-selected"),t.append(s)},v.extend(v.fn,{setOptions:function(e){var t=v(this),s=t.data("selectBox-control");switch(typeof e){case"string":t.html(e);break;case"object":for(var o in t.html(""),e)if(null!==e[o])if("object"==typeof e[o]){var a=v('<optgroup label="'+o+'" />'),n;for(n in e[o])a.append('<option value="'+n+'">'+e[o][n]+"</option>");t.append(a)}else{var l=v('<option value="'+o+'">'+e[o]+"</option>");t.append(l)}}s&&v(this).selectBox("refresh")},selectBox:function(s,e){var t;switch(s){case"control":return v(this).data("selectBox-control");case"settings":if(!e)return v(this).data("selectBox-settings");v(this).each(function(){v(this).data("selectBox-settings",v.extend(!0,v(this).data("selectBox-settings"),e))});break;case"options":if(void 0===e)return v(this).data("selectBox-control").data("selectBox-options");v(this).each(function(){v(this).setOptions(e)});break;case"value":if(void 0===e)return v(this).val();v(this).each(function(){(t=v(this).data("selectBox"))&&t.setValue(e)});break;case"refresh":v(this).each(function(){(t=v(this).data("selectBox"))&&t.refresh()});break;case"enable":v(this).each(function(){(t=v(this).data("selectBox"))&&t.enable(this)});break;case"disable":v(this).each(function(){(t=v(this).data("selectBox"))&&t.disable()});break;
10case"destroy":v(this).each(function(){(t=v(this).data("selectBox"))&&(t.destroy(),v(this).data("selectBox",null))});break;case"instance":return v(this).data("selectBox");default:v(this).each(function(e,t){v(t).data("selectBox")||v(t).data("selectBox",new o(t,s))})}return v(this)}})}(jQuery);
11(e=>{"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?module.exports=e(require("jquery")):e(jQuery)})(function(p){var n=/\+/g;function f(e){return g.raw?e:encodeURIComponent(e)}function l(e){return g.raw?e:decodeURIComponent(e)}function m(e){return f(g.json?JSON.stringify(e):String(e))}function o(e){0===e.indexOf('"')&&(e=e.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\"));try{return e=decodeURIComponent(e.replace(n," ")),g.json?JSON.parse(e):e}catch(e){}}function x(e,n){var e=g.raw?e:o(e);return p.isFunction(n)?n(e):e}var g=p.cookie=function(e,n,o){var i,r;if(1<arguments.length&&!p.isFunction(n))return"number"==typeof(o=p.extend({},g.defaults,o)).expires&&(i=o.expires,(r=o.expires=new Date).setMilliseconds(r.getMilliseconds()+864e5*i)),document.cookie=[f(e),"=",m(n),o.expires?"; expires="+o.expires.toUTCString():"",o.path?"; path="+o.path:"",o.domain?"; domain="+o.domain:"",o.secure?"; secure":""].join("");for(var t=e?void 0:{},c=document.cookie?document.cookie.split("; "):[],u=0,s=c.length;u<s;u++){var a=c[u].split("="),d=l(a.shift()),a=a.join("=");if(e===d){t=x(a,n);break}e||void 0===(a=x(a))||(t[d]=a)}return t};g.defaults={},p.removeCookie=function(e,n){return p.cookie(e,"",p.extend({},n,{expires:-1})),!p.cookie(e)}});
12function matchEventsHeight(){jQuery(".item-event:not(.with-match-height)").matchHeight({byRow:!0,property:"height",target:null,remove:!1}),jQuery(".item-event").addClass("with-match-height")}function makeExternalLinksOpenInNewTab(){console.log("makeExternalLinksOpenInNewTab"),matchEventsHeight(),jQuery("a").not(".selectBox-dropdown-menu a, a.selectBox").each(function(){var e=jQuery(this).prop("id"),t=new RegExp("/"+window.location.host+"/");"fancybox_vgl-close"==e||"fancybox_vgl-left_"==e||"fancybox_vgl-right_"==e||jQuery(this).parent().parent().hasClass("responsiveSlider")||t.test(this.href)||-1!==window.location.host.indexOf("sams-hellas.gr")||jQuery(this).click(function(e){e.preventDefault(),e.stopPropagation(),window.open(this.href,"_blank")})})}function updateFieldImage(e){var t=jQuery(e.el.innerHTML).find(".swiper-slide-active a").data("image");jQuery("#stories_image").css("background-image","url("+t+")"),jQuery(".section-field .learn-more").click(function(e){e.preventDefault();var e=jQuery(jQuery(this).data("target"));e.find(".modal-title").text(jQuery(this).data("title")),e.find(".modal-body").html(objectToTag("img",{src:t,style:"width:100%;margin-bottom: 20px;"})+jQuery(this).data("content")),e.modal("open")})}function updateFieldImageAfterTransition(){var e=jQuery(this),e;e.length&&(e=jQuery(e[0].el).find(".swiper-slide-active a").data("image"),jQuery("#stories_image").css("background-image","url("+e+")"))}function objectToTag(e,t,i){var o="",n;for(n in t)o+=n+'="'+t[n]+'" ';return"<"+e+" "+o+("img"==e?"/>":">")+(isUndefined(i)?"":i)+("img"!=e?"</"+e+">":"")}function isUndefined(e){return void 0===e}function buildMap(){scope.map=Snap("#map_container"),null!=scope.map&&Snap.load(ajax_object.child_theme_uri+"/svgs/full_map_v2.1.svg?v=2.0.6",function(e){for(var t in scope.map.append(e),configured_regions){var t=configured_regions[t],i=t.region,o,n,n;0<jQuery("#"+i).length&&(n=(o=jQuery("#"+i)).attr("class"),o.attr("class",n+" with-info"),(n=Snap("#"+i)).attr({fill:"url(#with_info_"+t.region+")"}),n.click(function(e){var t;e.stopPropagation(),showTooltip(jQuery(this)[0].node.id)}),addPatternDef(i,o[0].getBoundingClientRect().width,o[0].getBoundingClientRect().height,isUndefined(scope.countries_fixes[i])?0:scope.countries_fixes[i].x,isUndefined(scope.countries_fixes[i])?0:scope.countries_fixes[i].y,isUndefined(scope.countries_fixes[i])||isUndefined(scope.countries_fixes[i].color)?"#5bb0e2":scope.countries_fixes[i].color),isMobile.any()||n.mouseover(function(){var e=jQuery(this)[0].node.id,t;-1==jQuery("#"+e).attr("class").indexOf("expanded")&&jQuery("#with_info_"+e+" .hover_fill").stop(!0,!0).animate({"fill-opacity":1},100)}).mouseout(function(){var e=jQuery(this)[0].node.id,t;-1==jQuery("#"+e).attr("class").indexOf("expanded")&&jQuery("#with_info_"+e+" .hover_fill").stop(!0,!0).animate({"fill-opacity":0},100)}))}showTooltip(configured_regions[0].region)})}function showTooltip(e,t){jQuery(".map-tooltip").removeClass("displayed"),jQuery(".map-tooltip").removeAttr("style"),jQuery(".with-info").each(function(e,t){jQuery(this).attr("class",jQuery(this).attr("class").replace("expanded","")),jQuery(this).attr("fill","url(#with_info_"+jQuery(this).attr("id")+")")});var i=jQuery("#"+e),o=jQuery("#info_"+e),n,a,r,a,s,l,l,n,s,d,a,r,c,i,s,o,n;0<o.length&&o.addClass("displayed"),0<i.length?(jQuery("#with_info_"+e+" .hover_fill").attr("fill-opacity",0).removeAttr("style"),i.attr("fill","url(#with_info_expanded_"+e+")"),i.attr("class",i.attr("class")+" expanded"),n=jQuery(".map-container").offset(),r=(a=i.offset()).left+i[0].getBoundingClientRect().width/2,a=a.top+i[0].getBoundingClientRect().height/2,l=s=jQuery(".map-container").width()/scope.mapWidth,l=a-n.top+(isUndefined(scope.countries_fixes[e])?0:scope.countries_fixes[e].y*l)-15,n=r-n.left+(isUndefined(scope.countries_fixes[e])?0:scope.countries_fixes[e].x*s),isUndefined(scope.countries_fixes[e])||(isUndefined(scope.countries_fixes[e].py)||(l=a+i[0].getBoundingClientRect().height*cope.countries_fixes[e].py),isUndefined(scope.countries_fixes[e].py))||(n=r+i[0].getBoundingClientRect().width*cope.countries_fixes[e].px),jQuery(".tooltip-signal").removeAttr("style"),jQuery(".tooltip-signal").show(),jQuery(".tooltip-signal").css({top:l,left:n}),a=s=n>(s=o.find("h3").offset().left-jQuery(".map-container").offset().left+20)+o.width()/2?o.find("h3").offset().left-jQuery(".map-container").offset().left+17+o.width():s,r=o.find("h3").offset().top-jQuery(".map-container").offset().top+o.find("h3").height()/2,i=n,s=l,o=Math.sqrt(Math.pow(a-i,2)+Math.pow(r-s,2)),n=Math.atan2(a-i,r-s)*(180/Math.PI)*-1,jQuery(".tooltip-signal .line").css({height:o,transform:"rotate("+n+"deg)"}),jQuery(".tooltip-signal").attr("set-id",e)):jQuery(".tooltip-signal .line").removeAttr("style"),t||jQuery("#countries-selection").selectBox("value",e)}function addPatternDef(e,t,i,o,n,a){isUndefined(o),isUndefined(n),jQuery(".map-container").width(),scope.mapWidth,Math.floor(4*Math.random())}function addCenteredImagePattern(e,t,i,o,n,a,r){var i=objectToTag("rect",{x:0,y:0,width:1,height:1,fill:i}),s=objectToTag("rect",{x:0,y:0,width:1,height:1,fill:"#007bd7","fill-opacity":"0",class:"hover_fill"}),l,l="",t=(""!=t&&(l=objectToTag("image",{"xmlns:xlink":"http://www.w3.org/1999/xlink","xlink:href":t,x:.5+a,y:.5+r,width:o,height:n,preserveAspectRatio:"none"})),objectToTag("pattern",{id:e,width:"100%",height:"100%",patternContentUnits:"objectBoundingBox"},i+s+l)),a=jQuery("#with_info").closest("defs");isDesktop.IE()?a.append(t):a.html(a.html()+t)}function imageInside(e){var t,i,o,n,a={},r=e.containerWidth,s=e.containerHeight,l=e.imageWidth,e=e.imageHeight,i=r*(e/l);return i<s?(n=(r-(t=(i=s)*(l/e)))/2,o=0):(t=r,o=(s-i)/2,n=0),{width:t,height:i,top:o,left:n}}scope={mapWidth:1140,mapHeight:1260},jQuery(window).load(function(){jQuery(window).width()<=1024&&jQuery(".header .social-media-links").css("display","none")}),jQuery(document).ready(function(){null==jQuery.cookie("modal_shown")&&(jQuery.cookie("modal_shown","yes",{expires:3,path:"/"}),jQuery("#front-page-modal").modal("show")),jQuery(".carousel-posts").slick({slidesToShow:3,slidesToScroll:3,nextArrow:'<button type="button" class="slick-next slick-arrow"></button>',prevArrow:'<button type="button" class="slick-prev slick-arrow"></button>',responsive:[{breakpoint:1300,settings:{slidesToShow:3,slidesToScroll:3}},{breakpoint:980,settings:{slidesToShow:2,slidesToScroll:2}},{breakpoint:700,settings:{slidesToShow:1,slidesToScroll:1}}]}),jQuery('[data-role="load-more-button"]').on("click",function(e){var t=jQuery(this);
12jQuery.ajax({url:ajaxurl,type:"GET",cache:!1,data:{action:t.data("ajax-action"),page:t.data("next-page"),posts_per_page:t.data("posts-per-page"),extra_params:t.data("extra-params"),post_type:t.data("post-type")},success:function(e){""==e&&(console.log("entra"),t.hide())}})})}),((l,e,t)=>{l(window).load(function(){var e,t,t;jQuery(".impact-items h4").matchHeight({byRow:!0,property:"height",target:null,remove:!1}),jQuery(".impact-section .impact-items li .number").matchHeight({byRow:!0,property:"height",target:null,remove:!1}),jQuery(".impact-section .impact-items li .number span").countUp(),l(".impact-fixed-section .impact-items").length&&setInterval(function(){var i=[],e=[];l(".impact-fixed-section .impact-items .item").each(function(e,t){i.push(l(t))});for(var t=0,t;t<3;t++){var o,o=3<i.length?3+Math.floor(Math.random()*(i.length-3)):Math.floor(Math.random()*i.length);e.push(i.splice(o,1)[0])}for(t in e)l(".impact-fixed-section .impact-items").prepend(e[t])},3e3),l(".g-i-item").matchHeight({byRow:!0,property:"height",target:null,remove:!1}),matchEventsHeight(),l(".item-board").matchHeight({byRow:!0,property:"height",target:null,remove:!1}),l(".entry-point-item").matchHeight({byRow:!0,property:"height",target:null,remove:!1}),jQuery(".slider-section").length&&(t=new Swiper(".slider-section .swiper-container",{lazy:!0,preloadImages:!1,autoplay:{delay:1e4},pagination:{el:".swiper-pagination",clickable:!0},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"}})),jQuery(".slider-field").length&&(updateFieldImage(t=new Swiper(".slider-field .swiper-container",{allowTouchMove:!1,pagination:{el:".swiper-pagination",type:"bullets",bulletElement:"div",clickable:!0},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},spaceBetween:0})),t.on("onSlideChangeEnd",updateFieldImage),t.on("slideChangeTransitionEnd",updateFieldImageAfterTransition)),jQuery(function(){jQuery('a[href*="#"]:not([href="#"])').click(function(){if(location.pathname.replace(/^\//,"")==this.pathname.replace(/^\//,"")&&location.hostname==this.hostname){var e=jQuery(this.hash),t,e;if((e=e.length?e:l("[name="+this.hash.slice(1)+"]")).length)return t=l(this).data("offset-scroll")?l(this).data("offset-scroll"):0,jQuery("html, body").animate({scrollTop:e.offset().top-t},1e3),!1}})}),jQuery(".video-container").each(function(e,t){var i=["mp4","ogg","webm"],e="video_"+e,o="",n;for(n in i){var a=i[n];o+=objectToTag("source",{src:jQuery(t).data("video-"+a),type:"video/"+a})}var r=objectToTag("video",{id:e,autoplay:"autoplay",loop:"",style:"width:100%"},o),s;jQuery(t).append(jQuery(objectToTag("div",{class:"video-bg-wrapper"},objectToTag("div",{class:"video-bg-content"},r)))),document.getElementById(e).addEventListener("loadedmetadata",function(e){var e=e.target.id,t=this.videoWidth,i=this.videoHeight,e=l("#"+e).closest(".video-bg-wrapper");e.attr("data-video-width",t),e.attr("data-video-height",i),l(document).scroll(),l(window).resize()},!1)}),l("#news-modal").on("show.bs.modal",function(e){var t=l(e.relatedTarget).data("title"),i=l(e.relatedTarget).data("content"),o=l(e.relatedTarget).data("date"),n=l(e.relatedTarget).data("endDate"),n=(n&&(o=o+" - "+n),l(e.relatedTarget).data("address")),a=l(e.relatedTarget).data("state");l(e.currentTarget).find(".modal-title").html(t),l(e.currentTarget).find(".modal-body").html(i),l(e.currentTarget).find(".modal-date").html(o),l(e.currentTarget).find(".modal-state").html(a),l(e.currentTarget).find(".modal-address").html(n)}),l("#team-member-modal").on("show.bs.modal",function(e){var t=l(e.relatedTarget).data("title"),i=l(e.relatedTarget).data("content"),o=l(e.relatedTarget).data("profile_url"),n=l(e.relatedTarget).data("position");l(e.currentTarget).find(".modal-title").html(t),l(e.currentTarget).find(".modal-body").html(i),l(e.currentTarget).find(".modal-profile-url").attr("src",o),l(e.currentTarget).find(".modal-position").html(n)}),buildMap(),jQuery(".selectbox").selectBox(),jQuery("#countries-selection").change(function(e){showTooltip(jQuery(this).val(),!0)}),jQuery(window).resize(function(e){jQuery(".carousel-posts").slick("resize"),void 0!==jQuery(".tooltip-signal").attr("set-id")&&showTooltip(jQuery(".tooltip-signal").attr("set-id"))}),jQuery(".show-region").click(function(e){e.preventDefault(),showTooltip(jQuery(this).data("id"))}),jQuery(".entry-point-item .image-container").each(function(e,t){var i=jQuery(t).find("img"),o=(i.removeAttr("style"),jQuery(t).width()),t=.66666*jQuery(t).width(),n=i.width(),a=i.height(),o=(console.log(o+", "+t),imageInside({containerWidth:o,containerHeight:t,imageWidth:n,imageHeight:a}));i.css(o)}),makeExternalLinksOpenInNewTab(),l(".blog-feed").on("click",'[data-role="load-more-button"]',function(e){window.setTimeout(makeExternalLinksOpenInNewTab,1e3),window.setTimeout(makeExternalLinksOpenInNewTab,2e3),window.setTimeout(makeExternalLinksOpenInNewTab,3e3)})}),jQuery(window).on("scroll",function(){var e=jQuery(window).scrollTop(),t=jQuery(window).height();console.log("----------------------"),console.log("scrollTop(sT)= "+e),console.log("----------------------"),console.log("viewPort(viewport_height)= "+t),console.log(".signup-newsletter= "+jQuery(".signup-newsletter").offset().top),e+t>jQuery(".signup-newsletter").offset().top?jQuery(".impact-fixed-section").addClass("stuck-bottom"):jQuery(".impact-fixed-section").removeClass("stuck-bottom")})})(jQuery,this),scope.countries_fixes={GRC:{x:-75,y:-83},TR:{x:204,y:-1},LB:{x:26,y:-15},JO:{x:-14,y:-15},SY:{x:1,y:-1},EGY:{x:30,y:-100},KUR:{x:1,y:-1},"SY-LA":{x:15,y:0},"SY-ID":{x:15,y:10},"SY-HL":{x:15,y:0},"SY-RA":{x:15,y:0},"SY-HI":{x:30,y:0},"SY-TA":{x:15,y:0},"SY-RD":{x:15,y:0},"SY-SU":{x:10,y:0},"SY-DR":{x:15,y:0},"SY-QU":{x:15,y:0},"SY-DI":{x:15,y:0},"SY-HM":{x:15,y:10}},county_regions=[{region:"SY-SU"},{region:"SY-DR"},{region:"SY-QU"},{region:"SY-DI"},{region:"SY-TA"},{region:"SY-HI"},{region:"SY-HM"},{region:"SY-LA"},{region:"SY-RA"},{region:"SY-HL"},{region:"SY-RD"},{region:"SY-ID"},{region:"SY-DY"},{region:"SY-HA"},{region:"TR"},{region:"LB"},{region:"JO"},{region:"EGY"},{region:"KUR"}];var isMobile={Android:function(){return!!navigator.userAgent.match(/Android/i)},BlackBerry:function(){return!!navigator.userAgent.match(/BlackBerry/i)},iOS:function(){return!!navigator.userAgent.match(/iPhone|iPad|iPod/i)},iOS_iPad:function(){return!!navigator.userAgent.match(/iPad/i)},Windows:function(){return!!navigator.userAgent.match(/IEMobile/i)},any:function(){return isMobile.Android()||isMobile.BlackBerry()||isMobile.iOS()||isMobile.Windows()}},isDesktop={IE:function(){return"Microsoft Internet Explorer"==navigator.appName||!(!navigator.userAgent.match(/Trident/)&&!navigator.userAgent.match(/rv 11/))}};
13(o=>{function m(e){var t,n;return"string"!=typeof e||""===e?"":(t=["I","SPAN","SVG","PATH","G","DEFS","SYMBOL","CI
13RCLE","ELLIPSE","LINE","POLYLINE","POLYGON","RECT","LINEARGRADIENT","RADIALGRADIENT","STOP","CLIPPATH","MASK","PATTERN","MARKER"],(n=document.createElement("template")).innerHTML=e,Array.prototype.slice.call(n.content.querySelectorAll("*")).forEach(function(n){-1===t.indexOf(n.tagName.toUpperCase())?n.parentNode&&n.parentNode.removeChild(n):Array.prototype.slice.call(n.attributes).forEach(function(e){var t=e.name.toLowerCase();0!==t.indexOf("on")&&"src"!==t&&"href"!==t&&"xlink:href"!==t&&"style"!==t&&"formaction"!==t||n.removeAttribute(e.name)})}),n.innerHTML)}var e=function(e,t){var n,a,i,l,s;void 0!==e&&(n=e.find("input.hfe-search-form__input"),a=e.find("button#clear"),i=e.find("button#clear-with-button"),l=e.find(".hfe-search-submit"),s=e.find(".hfe-search-icon-toggle input"),e.find(".hfe-search-icon-toggle").on("click",function(){e.find(".hfe-search-form__input").trigger("focus")}),e.find(".hfe-search-form__input").on("focus",function(){e.find(".hfe-search-button-wrapper").addClass("hfe-input-focus")}),e.find(".hfe-search-form__input").blur(function(){e.find(".hfe-search-button-wrapper").removeClass("hfe-input-focus")}),l.on("touchstart click",function(){n.submit()}),s.css("padding-right",s.next().outerWidth()+"px"),n.on("keyup",function(){a.style=this.value.length?a.css("visibility","visible"):a.css("visibility","hidden"),i.style=this.value.length?i.css("visibility","visible"):i.css("visibility","hidden"),i.css("right",l.outerWidth()+"px")}),a.on("click",function(){this.style=a.css("visibility","hidden"),n.value=""}),i.on("click",function(){this.style=i.css("visibility","hidden"),n.value=""}))},t=function(t,i){var l,e,a,n,s,o,m,r,m;void 0!==t&&(l=t.data("id"),e=t.find(".elementor-widget-hfe-nav-menu "),a=i(".elementor-element-"+l+" .hfe-nav-menu").data("layout"),n=i(".elementor-element-"+l+" .hfe-flyout-wrapper").data("flyout-class"),s=i(".elementor-element-"+l+" .hfe-nav-menu").data("last-item"),o=i(".elementor-element-"+l+" .hfe-flyout-wrapper").data("last-item"),m=i(".elementor-element-"+l+" .hfe-nav-menu nav li a"),r=i(".elementor-element-"+l+" .hfe-flyout-wrapper li a"),0<m.length&&h(m),0<r.length&&h(r),i("div.hfe-has-submenu-container").removeClass("sub-menu-active"),p(l),b(t),v(l,a),("horizontal"!==a||"horizontal"===a&&window.matchMedia("( max-width: 767px )").matches||"horizontal"===a&&window.matchMedia("( max-width: 1024px )").matches)&&f(l),i(".elementor-element-"+l+" .hfe-flyout-trigger .hfe-nav-menu-icon").off("click keyup").on("click keyup",function(){u(l)}),i(".elementor-element-"+l+" .hfe-flyout-close").off("click keyup").on("click keyup",function(){d(l)}),i(".elementor-element-"+l+" .hfe-flyout-overlay").off("click").on("click",function(){d(l)}),t.find(".sub-menu").each(function(){var e=i(this).closest(".menu-item");t.find(e).addClass("parent-has-child"),t.find(e).removeClass("parent-has-no-child")}),"cta"!=s&&"cta"!=o||"expandible"==a||(i(".elementor-element-"+l+" li.menu-item:last-child a.hfe-menu-item").parent().addClass("hfe-button-wrapper elementor-widget-button"),i(".elementor-element-"+l+" li.menu-item:last-child a.hfe-menu-item").addClass("elementor-button")),c(l),i(window).on("resize",function(){var e,t,n;("horizontal"!==a||"horizontal"===a&&window.matchMedia("( max-width: 767px )").matches||"horizontal"===a&&window.matchMedia("( max-width: 1024px )").matches)&&f(l),"horizontal"==a&&window.matchMedia("( min-width: 977px )").matches&&i(".elementor-element-"+l+" div.hfe-has-submenu-container").next().css("position","absolute"),"expandible"==a||"flyout"==a?p(l):"vertical"!=a&&"horizontal"!=a||(window.matchMedia("( max-width: 767px )").matches&&(i(".elementor-element-"+l).hasClass("hfe-nav-menu__breakpoint-tablet")||i(".elementor-element-"+l).hasClass("hfe-nav-menu__breakpoint-mobile"))||window.matchMedia("( max-width: 1024px )").matches&&i(".elementor-element-"+l).hasClass("hfe-nav-menu__breakpoint-tablet")?p(l):(n=(t=i(".elementor-element-"+l+" .hfe-nav-menu__toggle").next()).parent().width(),t.length&&(t.css("width",n+"px"),t.css("left","0")))),c(l)}),t.find(".parent-has-child .hfe-has-submenu-container a").attr("aria-haspopup","true"),t.find(".parent-has-child .hfe-has-submenu-container a").attr("aria-expanded","fal
13se"),(m=t.find(".hfe-nav-menu__toggle")).attr("aria-haspopup","true"),m.attr("aria-expanded","false"),window.matchMedia("( max-width: 1024px )").matches&&i(".elementor-element-"+l).hasClass("hfe-nav-menu__breakpoint-tablet")&&m.find("i").attr("aria-hidden","false"),window.matchMedia("( max-width: 768px )").matches&&i(".elementor-element-"+l).hasClass("hfe-nav-menu__breakpoint-mobile")&&m.find("i").attr("aria-hidden","false"),i(document).trigger("hfe_nav_menu_init",l),"expandible"===a&&i(".elementor-element-"+l+" nav").on("keydown",function(e){var t=i(document.activeElement),n=i(this).find("li > a:visible"),a=n.index(t);switch(e.key){case"Escape":i(".elementor-element-"+l+" .hfe-nav-menu__toggle").trigger("click"),i(".elementor-element-"+l+" .hfe-nav-menu__toggle").focus(),e.preventDefault();break;case"ArrowDown":a<n.length-1&&n.eq(a+1).focus(),e.preventDefault();break;case"ArrowUp":0<a&&n.eq(a-1).focus(),e.preventDefault();break;case"Tab":(!e.shiftKey||0!==a)&&(e.shiftKey||a!==n.length-1)||setTimeout(function(){i(".elementor-element-"+l+" nav").find(":focus").length||i(".elementor-element-"+l+" .hfe-nav-menu__toggle").trigger("click")},10)}}),i(".elementor-element-"+l+" div.hfe-has-submenu-container").on("keyup",function(e){var t=i(this);"Enter"!==e.key&&"Space"!==e.key||(e.preventDefault(),e.stopPropagation(),t.parent().hasClass("menu-active")?(t.parent().removeClass("menu-active"),t.attr("aria-expanded","false"),t.parent().next().find("ul").css({visibility:"hidden",opacity:"0",height:"0"}),t.parent().prev().find("ul").css({visibility:"hidden",opacity:"0",height:"0"}),t.parent().next().find("div.hfe-has-submenu-container").removeClass("sub-menu-active"),t.parent().prev().find("div.hfe-has-submenu-container").removeClass("sub-menu-active")):(t.parent().next().find("ul").css({visibility:"hidden",opacity:"0",height:"0"}),t.parent().prev().find("ul").css({visibility:"hidden",opacity:"0",height:"0"}),t.parent().next().find("div.hfe-has-submenu-container").removeClass("sub-menu-active"),t.parent().prev().find("div.hfe-has-submenu-container").removeClass("sub-menu-active"),t.parent().siblings().find(".hfe-has-submenu-container a").attr("aria-expanded","false"),t.parent().next().removeClass("menu-active"),t.parent().prev().removeClass("menu-active"),event.preventDefault(),t.parent().addClass("menu-active"),"horizontal"!==a&&t.addClass("sub-menu-active"),t.find("a").attr("aria-expanded","true"),t.attr("aria-expanded","true"),t.next().css({visibility:"visible",opacity:"1",height:"auto"}),"horizontal"!==a||"horizontal"===a&&window.matchMedia("( max-width: 767px )").matches&&(i(".elementor-element-"+l).hasClass("hfe-nav-menu__breakpoint-tablet")||i(".elementor-element-"+l).hasClass("hfe-nav-menu__breakpoint-mobile"))?t.next().css("position","relative"):"horizontal"===a&&window.matchMedia("( max-width: 1024px )").matches&&(i(".elementor-element-"+l).hasClass("hfe-nav-menu__breakpoint-tablet")?t.next().css("position","relative"):(i(".elementor-element-"+l).hasClass("hfe-nav-menu__breakpoint-mobile")||i(".elementor-element-"+l).hasClass("hfe-nav-menu__breakpoint-none"))&&t.next().css("position","absolute"))))}),i(".elementor-element-"+l+" li.menu-item").on("keyup",function(e){var t=i(this);t.next().find("a").attr("aria-expanded","false"),t.prev().find("a").attr("aria-expanded","false"),t.next().find("ul").css({visibility:"hidden",opacity:"0",height:"0"}),t.prev().find("ul").css({visibility:"hidden",opacity:"0",height:"0"}),t.siblings().removeClass("menu-active"),t.next().find("div.hfe-has-submenu-container").removeClass("sub-menu-active"),t.prev().find("div.hfe-has-submenu-container").removeClass("sub-menu-active")}))};function h(e){e.each(function(){var n=o(this),a;n.is('[href*="#"]')&&((a=n.parent()).removeClass("current-menu-item current-menu-ancestor"),n.click(function(){var e=a.index(),t;n.closest("ul").find("li").not(":eq("+e+")").removeClass("current-menu-item current-menu-ancestor"),a.addClass("current-menu-item current-menu-ancestor")}))})}function u(e){var t=o("#hfe-flyout-content-id-"+e),n=o("#hfe-flyout-content-id-"+e).data("layout"),a=o("#hfe-flyout-content-id-"+e).data("flyout-type"),t=t.width()+"px",i=o(".elementor-element-"+e+" .hfe-flyout-container .hfe-side.hfe-flyout-"+n);o(".elementor-element-"+e+" .hfe-flyout-overlay").fadeIn(100),"left"==n?(o("body").css("margin-left","0"),i.css("left","0"),"push"==a&&o("body").addClass("hfe-flyout-animating").
13css({position:"absolute",width:"100%","margin-left":t,"margin-right":"auto"})):(o("body").css("margin-right","0"),i.css("right","0"),"push"==a&&o("body").addClass("hfe-flyout-animating").css({position:"absolute",width:"100%","margin-left":"-"+t,"margin-right":"auto"})),i.addClass("hfe-flyout-show")}function d(e){var t=o("#hfe-flyout-content-id-"+e),n=o("#hfe-flyout-content-id-"+e).data("layout"),t=t.width()+"px",a=o("#hfe-flyout-content-id-"+e).data("flyout-type"),i=o(".elementor-element-"+e+" .hfe-flyout-container .hfe-side.hfe-flyout-"+n);o(".elementor-element-"+e+" .hfe-flyout-overlay").fadeOut(100),"left"==n?(i.css("left","-"+t),"push"==a&&(o("body").css({position:"","margin-left":"","margin-right":""}),setTimeout(function(){o("body").removeClass("hfe-flyout-animating").css({width:""})}))):(i.css("right","-"+t),"push"==a&&(o("body").css({position:"","margin-right":"","margin-left":""}),setTimeout(function(){o("body").removeClass("hfe-flyout-animating").css({width:""})}))),i.removeClass("hfe-flyout-show")}function f(n){var a=o(".elementor-element-"+n+" .hfe-nav-menu").data("layout");o(".elementor-element-"+n+" div.hfe-has-submenu-container").off("click").on("click",function(e){var t=o(this);o(".elementor-element-"+n).hasClass("hfe-link-redirect-child")&&(t.hasClass("sub-menu-active")?t.next().hasClass("sub-menu-open")?(t.find("a").attr("aria-expanded","false"),t.removeClass("sub-menu-active"),t.nextAll(".sub-menu").removeClass("sub-menu-open"),t.nextAll(".sub-menu").css({visibility:"hidden",opacity:"0",height:"0"}),t.nextAll(".sub-menu").css({transition:"none"}),"horizontal"!==a||"horizontal"===a&&window.matchMedia("( max-width: 767px )").matches&&(o(".elementor-element-"+n).hasClass("hfe-nav-menu__breakpoint-tablet")||o(".elementor-element-"+n).hasClass("hfe-nav-menu__breakpoint-mobile"))?t.next().css("position","relative"):"horizontal"===a&&window.matchMedia("( max-width: 1024px )").matches&&(o(".elementor-element-"+n).hasClass("hfe-nav-menu__breakpoint-tablet")||o(".elementor-element-"+n).hasClass("hfe-nav-menu__breakpoint-mobile"))&&t.next().css("position","absolute")):(t.find("a").attr("aria-expanded","false"),("horizontal"!==a||"horizontal"===a&&window.matchMedia("( max-width: 767px )").matches&&(o(".elementor-element-"+n).hasClass("hfe-nav-menu__breakpoint-tablet")||o(".elementor-element-"+n).hasClass("hfe-nav-menu__breakpoint-mobile"))||"horizontal"===a&&window.matchMedia("( max-width: 1024px )").matches&&(o(".elementor-element-"+n).hasClass("hfe-nav-menu__breakpoint-tablet")||o(".elementor-element-"+n).hasClass("hfe-nav-menu__breakpoint-mobile")))&&(e.preventDefault(),t.next().css("position","relative")),t.removeClass("sub-menu-active"),t.nextAll(".sub-menu").removeClass("sub-menu-open"),t.nextAll(".sub-menu").css({visibility:"hidden",opacity:"0",height:"0"}),t.nextAll(".sub-menu").css({transition:"none"})):(t.find("a").attr("aria-expanded","true"),"horizontal"!==a||"horizontal"===a&&window.matchMedia("( max-width: 767px )").matches&&(o(".elementor-element-"+n).hasClass("hfe-nav-menu__breakpoint-tablet")||o(".elementor-element-"+n).hasClass("hfe-nav-menu__breakpoint-mobile"))?(e.preventDefault(),t.next().css("position","relative")):"horizontal"===a&&window.matchMedia("( max-width: 1024px )").matches&&(e.preventDefault(),o(".elementor-element-"+n).hasClass("hfe-nav-menu__breakpoint-tablet")?t.next().css("position","relative"):(o(".elementor-element-"+n).hasClass("hfe-nav-menu__breakpoint-mobile")||o(".elementor-element-"+n).hasClass("hfe-nav-menu__breakpoint-none"))&&t.next().css("position","absolute")),t.addClass("sub-menu-active"),t.nextAll(".sub-menu").addClass("sub-menu-open"),t.nextAll(".sub-menu").css({visibility:"visible",opacity:"1",height:"auto"}),t.nextAll(".sub-menu").css({transition:"0.3s ease"})))}),o(".elementor-element-"+n+" .hfe-menu-toggle").off("click keyup").on("click keyup",function(e){var t=o(this);t.parent().parent().hasClass("menu-active")?(e.preventDefault(),t.parent().parent().removeClass("menu-active"),t.parent().parent().next().css({visibility:"hidden",opacity:"0",height:"0"})):(e.preventDefault(),t.parent().parent().addClass("menu-active"),t.parent().parent().next().css({visibility:"visible",opacity:"1",height:"auto"})),"horizontal"!==a||"horizontal"===a&&window.matchMedia("( max-width: 767px )").matches&&(o(".elementor-element-"+n).hasClass("hfe-nav-menu__breakpoint-tablet")||o(".elementor-element-"+n).hasClass("hfe-nav-menu__breakpoint-mobile"))?t.parent().parent().next().css("position","relative"):"horizontal"===a&&window.matchMedia("( max-width: 1024px )").matches&&(o(".elementor-element-"+n).hasClass("hfe-nav-menu__breakpoint-tablet")?t.parent().parent().next().css("position","relative"):(o(".elementor-element-"+n).hasClass("hfe-nav-menu__breakpoint-mobile")||o(".elementor-element-"+n).hasClass("hfe-nav-menu__breakpoint-none"))&&t.parent().parent().next().css("position","absolute"))})}function c(e){var t=o(".elementor-element-"+e+" .hfe-nav-menu").data("last-item"),n=o(".elementor-element-"+e+" .hfe-flyout-wrapper").data("last-item"),a=o(".elementor-element-"+e+" .hfe-nav-menu").data("layout"),i,a;o(".elementor-element-"+e+" nav").removeClass("hfe-dropdown"),window.matchMedia("( max-width: 767px )").matches?o(".elementor-element-"+e).hasClass("hfe-nav-menu__breakpoint-mobile")||o(".elementor-element-"+e).hasClass("hfe-nav-menu__breakpoint-tablet")?(o(".elementor-element-"+e+" nav").addClass("hfe-dropdown"),"cta"!=t&&"cta"!=n||"expandible"==a||(o(".elementor-element-"+e+" li.menu-item:last-child a.hfe-menu-item").parent().removeClass("hfe-button-wrapper elementor-widget-button"),o(".elementor-element-"+e+" li.menu-item:last-child a.hfe-menu-item").removeClass("elementor-button"))):(o(".elementor-element-"+e+" nav").removeClass("hfe-dropdown"),"cta"!=t&&"cta"!=n||"expandible"==a||(o(".elementor-element-"+e+" li.menu-item:last-child a.hfe-menu-item").parent().addClass("hfe-button-wrapper elementor-widget-button"),o(".elementor-element-"+e+" li.menu-item:last-child a.hfe-menu-item").addClass("elementor-button"))):window.matchMedia("( max-width: 1024px )").matches?o(".elementor-element-"+e).hasClass("hfe-nav-menu__breakpoint-tablet")?(o(".elementor-element-"+e+" nav").addClass("hfe-dropdown"),"cta"!=t&&"cta"!=n||"expandible"==a||(o(".elementor-element-"+e+" li.menu-item:last-child a.hfe-menu-item").parent().removeClass("hfe-button-wrapper elementor-widget-button"),o(".elementor-element-"+e+" li.menu-item:last-child a.hfe-menu-item").removeClass("elementor-button"))):(o(".elementor-element-"+e+" nav").removeClass("hfe-dropdown"),"cta"!=t&&"cta"!=n||"expandible"==a||(o(".elementor-element-"+e+" li.menu-item:last-child a.hfe-menu-item").parent().addClass("hfe-button-wrapper elementor-widget-button"),o(".elementor-element-"+e+" li.menu-item:last-child a.hfe-menu-item").addClass("elementor-button"))):((i=o(".elementor-element-"+e)).find("nav").removeClass("hfe-dropdown"),"cta"!=t&&"cta"!=n||"expandible"==a||(i.find("li.menu-item:last-child a.hfe-menu-item").parent().addClass("hfe-button-wrapper elementor-widget-button"),i.find("li.menu-item:last-child a.hfe-menu-item").addClass("elementor-button"))),"expandible"!=(a=o(".elementor-element-"+e+" .hfe-nav-menu").data("layout"))||"cta"!=t&&"cta"!=n||"expandible"==a||(o(".elementor-element-"+e+" li.menu-item:last-child a.hfe-menu-item").parent().removeClass("hfe-button-wrapper elementor-widget-button"),o(".elementor-element-"+e+" li.menu-item:last-child a.hfe-menu-item").removeClass("elementor-button"))}function p(s){var e,t,n,a,n;o(".elementor-element-"+s+" .hfe-nav-menu__toggle").hasClass("hfe-active-menu-full-width")&&(t=(e=o(".elementor-element-"+s+" .hfe-nav-menu__toggle")).next()).length&&(t.css("left","0"),(n=o(".elementor-element-"+s).closest(".elementor-section, .e-con-boxed.e-parent, .e-con-full.e-parent")).length)&&(a=n.outerWidth(),n=n.offset().left-e.next().offset().left,t.css("width",a+"px"),t.css("left",n+"px")),o(".elementor-element-"+s+" .hfe-nav-menu__toggle").off("click keyup").on("click keyup",function(e){var t,n,a,i,l,a,i,l,l,i,t;"keyup"===e.type&&"Enter"!==e.key&&"Space"!==e.key||("keyup"===e.type&&e.preventDefault(),t=o(this),n=t.next(),t.hasClass("hfe-active-menu")?(a=o(".elementor-element-"+s+" .hfe-nav-menu").data("layout"),i=n.data("full-width"),"string"==typeof(l=o(".elementor-element-"+s+" nav").data("toggle-icon"))&&o(".elementor-element-"+s).find(".hfe-nav-menu-icon").html(m(l)),t.removeClass("hfe-active-menu"),t.attr("aria-expanded","fal
13se"),"yes"==i&&(t.removeClass("hfe-active-menu-full-width"),n.css("width","auto"),n.css("left","0"),n.css("z-index","0"))):(a=o(".elementor-element-"+s+" .hfe-nav-menu").data("layout"),i=n.data("full-width"),"string"==typeof(l=o(".elementor-element-"+s+" nav").data("close-icon"))&&o(".elementor-element-"+s).find(".hfe-nav-menu-icon").html(m(l)),t.addClass("hfe-active-menu"),t.attr("aria-expanded","true"),"yes"==i&&(t.addClass("hfe-active-menu-full-width"),i=(l=o(".elementor-element-"+s).closest(".elementor-section, .e-con-boxed.e-parent, .e-con-full.e-parent")).outerWidth(),t=l.offset().left-n.offset().left,n.css("width",i+"px"),n.css("left",t+"px"),n.css("z-index","9999"))),o(".elementor-element-"+s+" nav").hasClass("menu-is-active")?o(".elementor-element-"+s+" nav").removeClass("menu-is-active"):(o(".elementor-element-"+s+" nav").addClass("menu-is-active"),"keyup"===e.type&&setTimeout(function(){n.find("li:first-child > a").focus()},100)))})}function v(i,l){o(".elementor-element-"+i+" ul.hfe-nav-menu li a").on("click",function(e){var t,n=o(this).attr("href"),a="",e,n;n&&n.includes("#")&&("#"===n.charAt(0)?(e.preventDefault(),a=n.slice(1)):-1!==(e=n.indexOf("#"))&&(a=n.slice(e+1))),0<a.length&&((n=o("#"+a)).length&&o("html, body").animate({scrollTop:n.offset().top},800),setTimeout(function(){var e,e;"expandible"==l?(e=o(".elementor-element-"+i+" .hfe-nav-menu__toggle")).hasClass("hfe-active-menu")&&e.trigger("click"):"flyout"
13==l?d(i):window.matchMedia("(max-width: 1024px)").matches&&(o(".elementor-element-"+i).hasClass("hfe-nav-menu__breakpoint-tablet")||o(".elementor-element-"+i).hasClass("hfe-nav-menu__breakpoint-mobile"))&&(e=o(".elementor-element-"+i+" .hfe-nav-menu__toggle")).hasClass("hfe-active-menu")&&e.trigger("click")},100))})}function b(e){var e=e.find(".hfe-nav-menu nav .pll-parent-menu-item a.hfe-menu-item"),t=e.prop("href"),n,a;void 0!==t&&t.includes("#")&&(n=t.indexOf("#"),"#pll_switcher"===t.slice(n))&&e.prop("href","#")}o(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/navigation-menu.default",t),elementorFrontend.hooks.addAction("frontend/element_ready/hfe-search-button.default",e)})})(jQuery);
14!function(t){var o=function(o,s){var i,e,n,r,a=!1,c=!1,f=!1,p={},l={to:"top",offset:0,effectsOffset:0,parent:!1,classes:{sticky:"sticky",stickyActive:"sticky-active",stickyEffects:"sticky-effects",spacer:"sticky-spacer"},isRTL:!1,handleScrollbarWidth:!1},d=function(t,o,s){var i={},e=t[0].style;s.forEach((function(t){i[t]=void 0!==e[t]?e[t]:""})),t.data("css-backup-"+o,i)},m=function(t,o){return t.data("css-backup-"+o)};const u=()=>{if(r=b(i,"width"),n=i.offset().left,e.isRTL){const t=e.handleScrollbarWidth?window.innerWidth:document.body.offsetWidth;n=Math.max(t-r-n,0)}};var h=function(){p.$spacer=i.clone().addClass(e.classes.spacer).css({visibility:"hidden",transition:"none",animation:"none"}),i.after(p.$spacer)},y=function(){p.$spacer.remove()},k=function(){d(i,"unsticky",["position","width","margin-top","margin-bottom","top","bottom","inset-inline-start"]);const t={position:"fixed",width:r,marginTop:0,marginBottom:0};t[e.to]=e.offset,t["top"===e.to?"bottom":"top"]="",n&&(t["inset-inline-start"]=n+"px"),i.css(t).addClass(e.classes.stickyActive)},v=function(){i.css(m(i,"unsticky")).removeClass(e.classes.stickyActive)},b=function(t,o,s){var i=getComputedStyle(t[0]),e=parseFloat(i[o]),n="height"===o?["top","bottom"]:["left","right"],r=[];return"border-box"!==i.boxSizing&&r.push("border","padding"),s&&r.push("margin"),r.forEach((function(t){n.forEach((function(o){e+=parseFloat(i[t+"-"+o])}))})),e},w=function(t){var o=p.$window.scrollTop(),s=b(t,"height"),i=innerHeight,e=t.offset().top-o,n=e-i;return{top:{fromTop:e,fromBottom:n},bottom:{fromTop:e+s,fromBottom:n+s}}},g=function(){v(),y(),a=!1,i.trigger("sticky:unstick")},$=function(){var t=w(i),o="top"===e.to;if(c){(o?t.top.fromTop>e.offset:t.bottom.fromBottom<-e.offset)&&(p.$parent.css(m(p.$parent,"childNotFollowing")),i.css(m(i,"notFollowing")),c=!1)}else{var s=w(p.$parent),a=getComputedStyle(p.$parent[0]),f=parseFloat(a[o?"borderBottomWidth":"borderTopWidth"]),l=o?s.bottom.fromTop-f:s.top.fromBottom+f;(o?l<=t.bottom.fromTop:l>
14=t.top.fromBottom)&&function(){d(p.$parent,"childNotFollowing",["position"]),p.$parent.css("position","relative"),d(i,"notFollowing",["position","inset-inline-start","top","bottom"]);const t={position:"absolute"};if(n=p.$spacer.position().left,e.isRTL){const t=i.parent().outerWidth(),o=p.$spacer.position().left;r=p.$spacer.outerWidth(),n=Math.max(t-r-o,0)}t["inset-inline-start"]=n+"px",t[e.to]="",t["top"===e.to?"bottom":"top"]=0,i.css(t),c=!0}()}},T=function(){var t,o=e.offset;if(a){var s=w(p.$spacer);t="top"===e.to?s.top.fromTop-o:-s.bottom.fromBottom-o,e.parent&&$(),t>0&&g()}else{var n=w(i);(t="top"===e.to?n.top.fromTop-o:-n.bottom.fromBottom-o)<=0&&(u(),h(),k(),a=!0,i.trigger("sticky:stick"),e.parent&&$())}!function(t){f&&-t<e.effectsOffset?(i.removeClass(e.classes.stickyEffects),f=!1):!f&&-t>=e.effectsOffset&&(i.addClass(e.classes.stickyEffects),f=!0)}(t)},B=function(){T()},C=function(){a&&(v(),y(),u(),h(),k(),e.parent&&(c=!1,$()))};this.destroy=function(){a&&g(),p.$window.off("scroll",B).off("resize",C),i.removeClass(e.classes.sticky)},e=jQuery.extend(!0,l,s),i=t(o).addClass(e.classes.sticky),p.$window=t(window),e.parent&&(p.$parent=i.parent(),"parent"!==e.parent&&(p.$parent=p.$parent.closest(e.parent))),p.$window.on({scroll:B,resize:C}),T()};t.fn.sticky=function(s){var i="string"==typeof s;return this.each((function(){var e=t(this);if(i){var n=e.data("sticky");if(!n)throw Error("Trying to perform the `"+s+"` method prior to initialization");if(!n[s])throw ReferenceError("Method `"+s+"` not found in sticky instance");n[s].apply(n,Array.prototype.slice.call(arguments,1)),"destroy"===s&&e.removeData("sticky")}else e.data("sticky",new o(this,s))})),this},window.Sticky=o}(jQuery);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.