| Server IP : 82.208.35.60 / Your IP : 216.73.216.238 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/d2m/sofident_cz/wp-content/themes/sofident/ |
Upload File : |
!function(e){var t={};function i(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,i),o.l=!0,o.exports}i.m=e,i.c=t,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)i.d(n,o,function(t){return e[t]}.bind(null,o));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i(i.s=0)}([function(e,t,i){"use strict";i(1)},function(e,t,i){"use strict";i(2),i(3),i(4)},function(e,t){!function(e,t){"use strict";if("IntersectionObserver"in e&&"IntersectionObserverEntry"in e&&"intersectionRatio"in e.IntersectionObserverEntry.prototype)"isIntersecting"in e.IntersectionObserverEntry.prototype||Object.defineProperty(e.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});else{var i=[];o.prototype.THROTTLE_TIMEOUT=100,o.prototype.POLL_INTERVAL=null,o.prototype.USE_MUTATION_OBSERVER=!0,o.prototype.observe=function(e){if(!this._observationTargets.some(function(t){return t.element==e})){if(!e||1!=e.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:e,entry:null}),this._monitorIntersections(),this._checkForIntersections()}},o.prototype.unobserve=function(e){this._observationTargets=this._observationTargets.filter(function(t){return t.element!=e}),this._observationTargets.length||(this._unmonitorIntersections(),this._unregisterInstance())},o.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorIntersections(),this._unregisterInstance()},o.prototype.takeRecords=function(){var e=this._queuedEntries.slice();return this._queuedEntries=[],e},o.prototype._initThresholds=function(e){var t=e||[0];return Array.isArray(t)||(t=[t]),t.sort().filter(function(e,t,i){if("number"!=typeof e||isNaN(e)||e<0||e>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return e!==i[t-1]})},o.prototype._parseRootMargin=function(e){var t=(e||"0px").split(/\s+/).map(function(e){var t=/^(-?\d*\.?\d+)(px|%)$/.exec(e);if(!t)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(t[1]),unit:t[2]}});return t[1]=t[1]||t[0],t[2]=t[2]||t[0],t[3]=t[3]||t[1],t},o.prototype._monitorIntersections=function(){this._monitoringIntersections||(this._monitoringIntersections=!0,this.POLL_INTERVAL?this._monitoringInterval=setInterval(this._checkForIntersections,this.POLL_INTERVAL):(r(e,"resize",this._checkForIntersections,!0),r(t,"scroll",this._checkForIntersections,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in e&&(this._domObserver=new MutationObserver(this._checkForIntersections),this._domObserver.observe(t,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))))},o.prototype._unmonitorIntersections=function(){this._monitoringIntersections&&(this._monitoringIntersections=!1,clearInterval(this._monitoringInterval),this._monitoringInterval=null,s(e,"resize",this._checkForIntersections,!0),s(t,"scroll",this._checkForIntersections,!0),this._domObserver&&(this._domObserver.disconnect(),this._domObserver=null))},o.prototype._checkForIntersections=function(){var t=this._rootIsInDom(),i=t?this._getRootRect():{top:0,bottom:0,left:0,right:0,width:0,height:0};this._observationTargets.forEach(function(o){var r=o.element,s=a(r),l=this._rootContainsTarget(r),d=o.entry,c=t&&l&&this._computeTargetAndRootIntersection(r,i),u=o.entry=new n({time:e.performance&&performance.now&&performance.now(),target:r,boundingClientRect:s,rootBounds:i,intersectionRect:c});d?t&&l?this._hasCrossedThreshold(d,u)&&this._queuedEntries.push(u):d&&d.isIntersecting&&this._queuedEntries.push(u):this._queuedEntries.push(u)},this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)},o.prototype._computeTargetAndRootIntersection=function(i,n){if("none"!=e.getComputedStyle(i).display){for(var o=a(i),r=d(i),s=!1;!s;){var l=null,c=1==r.nodeType?e.getComputedStyle(r):{};if("none"==c.display)return;if(r==this.root||r==t?(s=!0,l=n):r!=t.body&&r!=t.documentElement&&"visible"!=c.overflow&&(l=a(r)),l&&(u=l,h=o,f=void 0,p=void 0,v=void 0,g=void 0,m=void 0,b=void 0,f=Math.max(u.top,h.top),p=Math.min(u.bottom,h.bottom),v=Math.max(u.left,h.left),g=Math.min(u.right,h.right),b=p-f,!(o=(m=g-v)>=0&&b>=0&&{top:f,bottom:p,left:v,right:g,width:m,height:b})))break;r=d(r)}return o}var u,h,f,p,v,g,m,b},o.prototype._getRootRect=function(){var e;if(this.root)e=a(this.root);else{var i=t.documentElement,n=t.body;e={top:0,left:0,right:i.clientWidth||n.clientWidth,width:i.clientWidth||n.clientWidth,bottom:i.clientHeight||n.clientHeight,height:i.clientHeight||n.clientHeight}}return this._expandRectByRootMargin(e)},o.prototype._expandRectByRootMargin=function(e){var t=this._rootMarginValues.map(function(t,i){return"px"==t.unit?t.value:t.value*(i%2?e.width:e.height)/100}),i={top:e.top-t[0],right:e.right+t[1],bottom:e.bottom+t[2],left:e.left-t[3]};return i.width=i.right-i.left,i.height=i.bottom-i.top,i},o.prototype._hasCrossedThreshold=function(e,t){var i=e&&e.isIntersecting?e.intersectionRatio||0:-1,n=t.isIntersecting?t.intersectionRatio||0:-1;if(i!==n)for(var o=0;o<this.thresholds.length;o++){var r=this.thresholds[o];if(r==i||r==n||r<i!=r<n)return!0}},o.prototype._rootIsInDom=function(){return!this.root||l(t,this.root)},o.prototype._rootContainsTarget=function(e){return l(this.root||t,e)},o.prototype._registerInstance=function(){i.indexOf(this)<0&&i.push(this)},o.prototype._unregisterInstance=function(){var e=i.indexOf(this);-1!=e&&i.splice(e,1)},e.IntersectionObserver=o,e.IntersectionObserverEntry=n}function n(e){this.time=e.time,this.target=e.target,this.rootBounds=e.rootBounds,this.boundingClientRect=e.boundingClientRect,this.intersectionRect=e.intersectionRect||{top:0,bottom:0,left:0,right:0,width:0,height:0},this.isIntersecting=!!e.intersectionRect;var t=this.boundingClientRect,i=t.width*t.height,n=this.intersectionRect,o=n.width*n.height;this.intersectionRatio=i?Number((o/i).toFixed(4)):this.isIntersecting?1:0}function o(e,t){var i,n,o,r=t||{};if("function"!=typeof e)throw new Error("callback must be a function");if(r.root&&1!=r.root.nodeType)throw new Error("root must be an Element");this._checkForIntersections=(i=this._checkForIntersections.bind(this),n=this.THROTTLE_TIMEOUT,o=null,function(){o||(o=setTimeout(function(){i(),o=null},n))}),this._callback=e,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(r.rootMargin),this.thresholds=this._initThresholds(r.threshold),this.root=r.root||null,this.rootMargin=this._rootMarginValues.map(function(e){return e.value+e.unit}).join(" ")}function r(e,t,i,n){"function"==typeof e.addEventListener?e.addEventListener(t,i,n||!1):"function"==typeof e.attachEvent&&e.attachEvent("on"+t,i)}function s(e,t,i,n){"function"==typeof e.removeEventListener?e.removeEventListener(t,i,n||!1):"function"==typeof e.detatchEvent&&e.detatchEvent("on"+t,i)}function a(e){var t;try{t=e.getBoundingClientRect()}catch(e){}return t?(t.width&&t.height||(t={top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.right-t.left,height:t.bottom-t.top}),t):{top:0,bottom:0,left:0,right:0,width:0,height:0}}function l(e,t){for(var i=t;i;){if(i==e)return!0;i=d(i)}return!1}function d(e){var t=e.parentNode;return t&&11==t.nodeType&&t.host?t.host:t}}(window,document)},function(e,t,i){var n,o;void 0===(o="function"==typeof(n=function(){var e=function(){},t={},i={},n={};function o(e,t){if(e){var o=n[e];if(i[e]=t,o)for(;o.length;)o[0](e,t),o.splice(0,1)}}function r(t,i){t.call&&(t={success:t}),i.length?(t.error||e)(i):(t.success||e)(t)}function s(t,i,n,o){var r,a,l=document,d=n.async,c=(n.numRetries||0)+1,u=n.before||e,h=t.replace(/^(css|img)!/,"");o=o||0,/(^css!|\.css$)/.test(t)?(r=!0,(a=l.createElement("link")).rel="stylesheet",a.href=h):/(^img!|\.(png|gif|jpg|svg)$)/.test(t)?(a=l.createElement("img")).src=h:((a=l.createElement("script")).src=t,a.async=void 0===d||d),a.onload=a.onerror=a.onbeforeload=function(e){var l=e.type[0];if(r&&"hideFocus"in a)try{a.sheet.cssText.length||(l="e")}catch(e){18!=e.code&&(l="e")}if("e"==l&&(o+=1)<c)return s(t,i,n,o);i(t,l,e.defaultPrevented)},!1!==u(t,a)&&l.head.appendChild(a)}function a(e,i,n){var a,l;if(i&&i.trim&&(a=i),l=(a?n:i)||{},a){if(a in t)throw"LoadJS";t[a]=!0}!function(e,t,i){var n,o,r=(e=e.push?e:[e]).length,a=r,l=[];for(n=function(e,i,n){if("e"==i&&l.push(e),"b"==i){if(!n)return;l.push(e)}--r||t(l)},o=0;o<a;o++)s(e[o],n,i)}(e,function(e){r(l,e),o(a,e)},l)}return a.ready=function(e,t){return function(e,o){var s,a,l,d=[],c=(e=e.push?e:[e]).length,u=c;for(s=function(e,i){i.length&&d.push(e),--u||function(e){r(t,e)}(d)};c--;)a=e[c],(l=i[a])?s(a,l):(n[a]=n[a]||[]).push(s)}(e),a},a.done=function(e){o(e,[])},a.reset=function(){t={},i={},n={}},a.isDefined=function(e){return e in t},a})?n.apply(t,[]):n)||(e.exports=o)},function(e,t,i){"use strict";var n,o=(n=i(5))&&n.__esModule?n:{default:n};i(6);var r=new(i(7))("Open Sans"),s=document.documentElement;s.classList.add("fonts-loading"),r.load().then(function(){sessionStorage.fontsLoaded=!0,s.classList.remove("fonts-loading"),s.classList.add("fonts-loaded")}).catch(function(){sessionStorage.fontsLoaded=!1,s.classList.remove("fonts-loading"),s.classList.add("fonts-failed")}),window.onload=function(){var e=Array.from(document.querySelectorAll(".lazy-placeholder")),t=Array.from(document.querySelectorAll(".lazy-background")),i=new IntersectionObserver(function(e){e.forEach(function(e){if(e.intersectionRatio>0){var t=new Image,n=e.target.querySelector(".img-small");t.src=e.target.dataset.large,t.onload=function(){n.classList.remove("img-small")},n.src=t.src,i.unobserve(e.target)}})},{rootMargin:"100px",threshold:0}),n=new IntersectionObserver(function(e){e.forEach(function(e){if(e.intersectionRatio>0){var t=new Image;t.src=e.target.dataset.lazy,t.onload=function(){e.target.classList.add("loaded")},e.target.style.backgroundImage="url("+t.src+")",i.unobserve(e.target)}})},{rootMargin:"200px",threshold:0});e.forEach(function(e){var t=e.querySelector(".img-small"),n=new Image;n.src=t.src,n.onload=function(){e.classList.add("loaded"),t.classList.add("loaded")},i.observe(e)}),t.forEach(function(e){n.observe(e)})},$(document).ready(function(){if(new o.default.WOW({live:!1,mobile:!1}).init(),$("#dentistSlider").length&&$("#dentistSlider").lightSlider({item:3,loop:!1,slideMove:1,easing:"cubic-bezier(0.25, 0, 0.25, 1)",speed:600,adaptiveHeight:!0,responsive:[{breakpoint:800,settings:{item:2,slideMargin:6}},{breakpoint:480,settings:{item:1}}]}),$("#departmentSlider").length&&$("#departmentSlider").lightSlider({item:3,loop:!1,controls:!1,slideMove:3,easing:"cubic-bezier(0.25, 0, 0.25, 1)",speed:600,slideMargin:30,enableDrag:!1,responsive:[{breakpoint:800,settings:{item:2,slideMove:2}},{breakpoint:480,settings:{item:1,slideMove:1}}]}),$("#reviewsSlider").length){var e=$("#reviewsSlider").lightSlider({item:1,slideMargin:0,loop:!0,pager:!1,prevHtml:'<i class="with-sprite big-arrow left"></i>',nextHtml:'<i class="with-sprite big-arrow right"></i>',onBeforeSlide:function(t){var i=t.getCurrentSlideCount()+e.find(".clone").length/2-1;$("[data-slide-to]").removeClass("active"),$("[data-slide-to="+i+"]").addClass("active")}});$("[data-slide-to]").click(function(){var t=$(this).data("slide-to");$("[data-slide-to]").removeClass("active"),$(this).addClass("active"),e.goToSlide(t)})}function t(e){var t=new Image;t.src=e.dataset.lazy,t.onload=function(){e.classList.add("loaded")},e.style.backgroundImage="url("+t.src+")"}if($("#hcarousel").length){var i=document.getElementById("hcarousel");$("#hcarousel").lightSlider({item:1,slideMargin:0,loop:!1,pager:!0,onBeforeSlide:function(){var e=i.querySelector(".active");if(e.nextElementSibling){var n=e.nextElementSibling.querySelector(".fill");n.classList.contains("loaded")||t(n)}else if(e.previousElementSibling){var o=e.previousElementSibling.querySelector(".fill");o.classList.contains("loaded")||t(o)}}})}})},function(e,t){(function(){var e,t,i,n,o,r=function(e,t){return function(){return e.apply(t,arguments)}},s=[].indexOf||function(e){for(var t=0,i=this.length;t<i;t++)if(t in this&&this[t]===e)return t;return-1};t=function(){function e(){}return e.prototype.extend=function(e,t){var i,n;for(i in t)n=t[i],null==e[i]&&(e[i]=n);return e},e.prototype.isMobile=function(e){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(e)},e.prototype.createEvent=function(e,t,i,n){var o;return null==t&&(t=!1),null==i&&(i=!1),null==n&&(n=null),null!=document.createEvent?(o=document.createEvent("CustomEvent")).initCustomEvent(e,t,i,n):null!=document.createEventObject?(o=document.createEventObject()).eventType=e:o.eventName=e,o},e.prototype.emitEvent=function(e,t){return null!=e.dispatchEvent?e.dispatchEvent(t):t in(null!=e)?e[t]():"on"+t in(null!=e)?e["on"+t]():void 0},e.prototype.addEvent=function(e,t,i){return null!=e.addEventListener?e.addEventListener(t,i,!1):null!=e.attachEvent?e.attachEvent("on"+t,i):e[t]=i},e.prototype.removeEvent=function(e,t,i){return null!=e.removeEventListener?e.removeEventListener(t,i,!1):null!=e.detachEvent?e.detachEvent("on"+t,i):delete e[t]},e.prototype.innerHeight=function(){return"innerHeight"in window?window.innerHeight:document.documentElement.clientHeight},e}(),i=this.WeakMap||this.MozWeakMap||(i=function(){function e(){this.keys=[],this.values=[]}return e.prototype.get=function(e){var t,i,n,o;for(t=i=0,n=(o=this.keys).length;i<n;t=++i)if(o[t]===e)return this.values[t]},e.prototype.set=function(e,t){var i,n,o,r;for(i=n=0,o=(r=this.keys).length;n<o;i=++n)if(r[i]===e)return void(this.values[i]=t);return this.keys.push(e),this.values.push(t)},e}()),e=this.MutationObserver||this.WebkitMutationObserver||this.MozMutationObserver||(e=function(){function e(){"undefined"!=typeof console&&null!==console&&console.warn("MutationObserver is not supported by your browser."),"undefined"!=typeof console&&null!==console&&console.warn("WOW.js cannot detect dom mutations, please call .sync() after loading new content.")}return e.notSupported=!0,e.prototype.observe=function(){},e}()),n=this.getComputedStyle||function(e,t){return this.getPropertyValue=function(t){var i;return"float"===t&&(t="styleFloat"),o.test(t)&&t.replace(o,function(e,t){return t.toUpperCase()}),(null!=(i=e.currentStyle)?i[t]:void 0)||null},this},o=/(\-([a-z]){1})/g,this.WOW=function(){function o(e){null==e&&(e={}),this.scrollCallback=r(this.scrollCallback,this),this.scrollHandler=r(this.scrollHandler,this),this.resetAnimation=r(this.resetAnimation,this),this.start=r(this.start,this),this.scrolled=!0,this.config=this.util().extend(e,this.defaults),null!=e.scrollContainer&&(this.config.scrollContainer=document.querySelector(e.scrollContainer)),this.animationNameCache=new i,this.wowEvent=this.util().createEvent(this.config.boxClass)}return o.prototype.defaults={boxClass:"wow",animateClass:"animated",offset:0,mobile:!0,live:!0,callback:null,scrollContainer:null},o.prototype.init=function(){var e;return this.element=window.document.documentElement,"interactive"===(e=document.readyState)||"complete"===e?this.start():this.util().addEvent(document,"DOMContentLoaded",this.start),this.finished=[]},o.prototype.start=function(){var t,i,n,o,r;if(this.stopped=!1,this.boxes=function(){var e,i,n,o;for(o=[],e=0,i=(n=this.element.querySelectorAll("."+this.config.boxClass)).length;e<i;e++)t=n[e],o.push(t);return o}.call(this),this.all=function(){var e,i,n,o;for(o=[],e=0,i=(n=this.boxes).length;e<i;e++)t=n[e],o.push(t);return o}.call(this),this.boxes.length)if(this.disabled())this.resetStyle();else for(i=0,n=(o=this.boxes).length;i<n;i++)t=o[i],this.applyStyle(t,!0);if(this.disabled()||(this.util().addEvent(this.config.scrollContainer||window,"scroll",this.scrollHandler),this.util().addEvent(window,"resize",this.scrollHandler),this.interval=setInterval(this.scrollCallback,50)),this.config.live)return new e((r=this,function(e){var t,i,n,o,s;for(s=[],t=0,i=e.length;t<i;t++)o=e[t],s.push(function(){var e,t,i,r;for(r=[],e=0,t=(i=o.addedNodes||[]).length;e<t;e++)n=i[e],r.push(this.doSync(n));return r}.call(r));return s})).observe(document.body,{childList:!0,subtree:!0})},o.prototype.stop=function(){if(this.stopped=!0,this.util().removeEvent(this.config.scrollContainer||window,"scroll",this.scrollHandler),this.util().removeEvent(window,"resize",this.scrollHandler),null!=this.interval)return clearInterval(this.interval)},o.prototype.sync=function(t){if(e.notSupported)return this.doSync(this.element)},o.prototype.doSync=function(e){var t,i,n,o,r;if(null==e&&(e=this.element),1===e.nodeType){for(r=[],i=0,n=(o=(e=e.parentNode||e).querySelectorAll("."+this.config.boxClass)).length;i<n;i++)t=o[i],s.call(this.all,t)<0?(this.boxes.push(t),this.all.push(t),this.stopped||this.disabled()?this.resetStyle():this.applyStyle(t,!0),r.push(this.scrolled=!0)):r.push(void 0);return r}},o.prototype.show=function(e){return this.applyStyle(e),e.className=e.className+" "+this.config.animateClass,null!=this.config.callback&&this.config.callback(e),this.util().emitEvent(e,this.wowEvent),this.util().addEvent(e,"animationend",this.resetAnimation),this.util().addEvent(e,"oanimationend",this.resetAnimation),this.util().addEvent(e,"webkitAnimationEnd",this.resetAnimation),this.util().addEvent(e,"MSAnimationEnd",this.resetAnimation),e},o.prototype.applyStyle=function(e,t){var i,n,o,r;return n=e.getAttribute("data-wow-duration"),i=e.getAttribute("data-wow-delay"),o=e.getAttribute("data-wow-iteration"),this.animate((r=this,function(){return r.customStyle(e,t,n,i,o)}))},o.prototype.animate="requestAnimationFrame"in window?function(e){return window.requestAnimationFrame(e)}:function(e){return e()},o.prototype.resetStyle=function(){var e,t,i,n,o;for(o=[],t=0,i=(n=this.boxes).length;t<i;t++)e=n[t],o.push(e.style.visibility="visible");return o},o.prototype.resetAnimation=function(e){var t;if(e.type.toLowerCase().indexOf("animationend")>=0)return(t=e.target||e.srcElement).className=t.className.replace(this.config.animateClass,"").trim()},o.prototype.customStyle=function(e,t,i,n,o){return t&&this.cacheAnimationName(e),e.style.visibility=t?"hidden":"visible",i&&this.vendorSet(e.style,{animationDuration:i}),n&&this.vendorSet(e.style,{animationDelay:n}),o&&this.vendorSet(e.style,{animationIterationCount:o}),this.vendorSet(e.style,{animationName:t?"none":this.cachedAnimationName(e)}),e},o.prototype.vendors=["moz","webkit"],o.prototype.vendorSet=function(e,t){var i,n,o,r;for(i in n=[],t)o=t[i],e[""+i]=o,n.push(function(){var t,n,s,a;for(a=[],t=0,n=(s=this.vendors).length;t<n;t++)r=s[t],a.push(e[""+r+i.charAt(0).toUpperCase()+i.substr(1)]=o);return a}.call(this));return n},o.prototype.vendorCSS=function(e,t){var i,o,r,s,a,l;for(s=(a=n(e)).getPropertyCSSValue(t),i=0,o=(r=this.vendors).length;i<o;i++)l=r[i],s=s||a.getPropertyCSSValue("-"+l+"-"+t);return s},o.prototype.animationName=function(e){var t;try{t=this.vendorCSS(e,"animation-name").cssText}catch(i){t=n(e).getPropertyValue("animation-name")}return"none"===t?"":t},o.prototype.cacheAnimationName=function(e){return this.animationNameCache.set(e,this.animationName(e))},o.prototype.cachedAnimationName=function(e){return this.animationNameCache.get(e)},o.prototype.scrollHandler=function(){return this.scrolled=!0},o.prototype.scrollCallback=function(){var e;if(this.scrolled&&(this.scrolled=!1,this.boxes=function(){var t,i,n,o;for(o=[],t=0,i=(n=this.boxes).length;t<i;t++)(e=n[t])&&(this.isVisible(e)?this.show(e):o.push(e));return o}.call(this),!this.boxes.length&&!this.config.live))return this.stop()},o.prototype.offsetTop=function(e){for(var t;void 0===e.offsetTop;)e=e.parentNode;for(t=e.offsetTop;e=e.offsetParent;)t+=e.offsetTop;return t},o.prototype.isVisible=function(e){var t,i,n,o,r;return i=e.getAttribute("data-wow-offset")||this.config.offset,o=(r=this.config.scrollContainer&&this.config.scrollContainer.scrollTop||window.pageYOffset)+Math.min(this.element.clientHeight,this.util().innerHeight())-i,t=(n=this.offsetTop(e))+e.clientHeight,n<=o&&t>=r},o.prototype.util=function(){return null!=this._util?this._util:this._util=new t},o.prototype.disabled=function(){return!this.config.mobile&&this.util().isMobile(navigator.userAgent)},o}()}).call(this)},function(e,t){
/*! lightslider - v1.1.6 - 2016-10-25
* https://github.com/sachinchoolur/lightslider
* Copyright (c) 2016 Sachin N; Licensed MIT */
!function(e,t){"use strict";var i={item:3,autoWidth:!1,slideMove:1,slideMargin:10,addClass:"",mode:"slide",useCSS:!0,cssEasing:"ease",easing:"linear",speed:400,auto:!1,pauseOnHover:!1,loop:!1,slideEndAnimation:!0,pause:2e3,keyPress:!1,controls:!0,prevHtml:"",nextHtml:"",rtl:!1,adaptiveHeight:!1,vertical:!1,verticalHeight:500,vThumbWidth:100,thumbItem:10,pager:!0,gallery:!1,galleryMargin:5,thumbMargin:5,currentPagerPosition:"middle",enableTouch:!0,enableDrag:!0,freeMove:!0,swipeThreshold:40,responsive:[],onBeforeStart:function(e){},onSliderLoad:function(e){},onBeforeSlide:function(e,t){},onAfterSlide:function(e,t){},onBeforeNextSlide:function(e,t){},onBeforePrevSlide:function(e,t){}};e.fn.lightSlider=function(t){if(0===this.length)return this;if(this.length>1)return this.each(function(){e(this).lightSlider(t)}),this;var n={},o=e.extend(!0,{},i,t),r={},s=this;n.$el=this,"fade"===o.mode&&(o.vertical=!1);var a=s.children(),l=e(window).width(),d=null,c=0,u=0,h=!1,f=0,p="",v=0,g=!0===o.vertical?"height":"width",m=!0===o.vertical?"margin-bottom":"margin-right",b=0,y=0,S=0,w=0,E=null,C="ontouchstart"in document.documentElement,T={chbreakpoint:function(){if(l=e(window).width(),o.responsive.length){var t;if(!1===o.autoWidth&&(t=o.item),l<o.responsive[0].breakpoint)for(var i=0;i<o.responsive.length;i++)l<o.responsive[i].breakpoint&&(o.responsive[i].breakpoint,d=o.responsive[i]);if(null!=d)for(var n in d.settings)d.settings.hasOwnProperty(n)&&(void 0!==r[n]&&null!==r[n]||(r[n]=o[n]),o[n]=d.settings[n]);if(!e.isEmptyObject(r)&&l>o.responsive[0].breakpoint)for(var s in r)r.hasOwnProperty(s)&&(o[s]=r[s]);!1===o.autoWidth&&b>0&&S>0&&t!==o.item&&(v=Math.round(b/((S+o.slideMargin)*o.slideMove)))}},calSW:function(){!1===o.autoWidth&&(S=(f-(o.item*o.slideMargin-o.slideMargin))/o.item)},calWidth:function(e){var t=!0===e?p.find(".lslide").length:a.length;if(!1===o.autoWidth)u=t*(S+o.slideMargin);else{u=0;for(var i=0;i<t;i++)u+=parseInt(a.eq(i).width())+o.slideMargin}return u}};return(n={doCss:function(){return!(!o.useCSS||!function(){for(var e=["transition","MozTransition","WebkitTransition","OTransition","msTransition","KhtmlTransition"],t=document.documentElement,i=0;i<e.length;i++)if(e[i]in t.style)return!0}())},keyPress:function(){o.keyPress&&e(document).on("keyup.lightslider",function(t){e(":focus").is("input, textarea")||(t.preventDefault?t.preventDefault():t.returnValue=!1,37===t.keyCode?s.goToPrevSlide():39===t.keyCode&&s.goToNextSlide())})},controls:function(){o.controls&&(s.after('<div class="lSAction"><a class="lSPrev">'+o.prevHtml+'</a><a class="lSNext">'+o.nextHtml+"</a></div>"),o.autoWidth?T.calWidth(!1)<f&&p.find(".lSAction").hide():c<=o.item&&p.find(".lSAction").hide(),p.find(".lSAction a").on("click",function(t){return t.preventDefault?t.preventDefault():t.returnValue=!1,"lSPrev"===e(this).attr("class")?s.goToPrevSlide():s.goToNextSlide(),!1}))},initialStyle:function(){var e=this;"fade"===o.mode&&(o.autoWidth=!1,o.slideEndAnimation=!1),o.auto&&(o.slideEndAnimation=!1),o.autoWidth&&(o.slideMove=1,o.item=1),o.loop&&(o.slideMove=1,o.freeMove=!1),o.onBeforeStart.call(this,s),T.chbreakpoint(),s.addClass("lightSlider").wrap('<div class="lSSlideOuter '+o.addClass+'"><div class="lSSlideWrapper"></div></div>'),p=s.parent(".lSSlideWrapper"),!0===o.rtl&&p.parent().addClass("lSrtl"),o.vertical?(p.parent().addClass("vertical"),f=o.verticalHeight,p.css("height",f+"px")):f=s.outerWidth(),a.addClass("lslide"),!0===o.loop&&"slide"===o.mode&&(T.calSW(),T.clone=function(){if(T.calWidth(!0)>f){for(var t=0,i=0,n=0;n<a.length&&(i++,!((t+=parseInt(s.find(".lslide").eq(n).width())+o.slideMargin)>=f+o.slideMargin));n++);var r=!0===o.autoWidth?i:o.item;if(r<s.find(".clone.left").length)for(var l=0;l<s.find(".clone.left").length-r;l++)a.eq(l).remove();if(r<s.find(".clone.right").length)for(var d=a.length-1;d>a.length-1-s.find(".clone.right").length;d--)v--,a.eq(d).remove();for(var c=s.find(".clone.right").length;c<r;c++)s.find(".lslide").eq(c).clone().removeClass("lslide").addClass("clone right").appendTo(s),v++;for(var u=s.find(".lslide").length-s.find(".clone.left").length;u>s.find(".lslide").length-r;u--)s.find(".lslide").eq(u-1).clone().removeClass("lslide").addClass("clone left").prependTo(s);a=s.children()}else a.hasClass("clone")&&(s.find(".clone").remove(),e.move(s,0))},T.clone()),T.sSW=function(){c=a.length,!0===o.rtl&&!1===o.vertical&&(m="margin-left"),!1===o.autoWidth&&a.css(g,S+"px"),a.css(m,o.slideMargin+"px"),u=T.calWidth(!1),s.css(g,u+"px"),!0===o.loop&&"slide"===o.mode&&!1===h&&(v=s.find(".clone.left").length)},T.calL=function(){a=s.children(),c=a.length},this.doCss()&&p.addClass("usingCss"),T.calL(),"slide"===o.mode?(T.calSW(),T.sSW(),!0===o.loop&&(b=e.slideValue(),this.move(s,b)),!1===o.vertical&&this.setHeight(s,!1)):(this.setHeight(s,!0),s.addClass("lSFade"),this.doCss()||(a.fadeOut(0),a.eq(v).fadeIn(0))),!0===o.loop&&"slide"===o.mode?a.eq(v).addClass("active"):a.first().addClass("active")},pager:function(){var e=this;if(T.createPager=function(){w=(f-(o.thumbItem*o.thumbMargin-o.thumbMargin))/o.thumbItem;var t=p.find(".lslide"),i=p.find(".lslide").length,n=0,r="",a=0;for(n=0;n<i;n++){"slide"===o.mode&&(o.autoWidth?a+=(parseInt(t.eq(n).width())+o.slideMargin)*o.slideMove:a=n*((S+o.slideMargin)*o.slideMove));var l=t.eq(n*o.slideMove).attr("data-thumb");if(!0===o.gallery?r+='<li style="width:100%;'+g+":"+w+"px;"+m+":"+o.thumbMargin+'px"><a href="#"><img src="'+l+'" /></a></li>':r+='<li><a href="#">'+(n+1)+"</a></li>","slide"===o.mode&&a>=u-f-o.slideMargin){n+=1;var d=2;o.autoWidth&&(r+='<li><a href="#">'+(n+1)+"</a></li>",d=1),n<d?(r=null,p.parent().addClass("noPager")):p.parent().removeClass("noPager");break}}var c=p.parent();c.find(".lSPager").html(r),!0===o.gallery&&(!0===o.vertical&&c.find(".lSPager").css("width",o.vThumbWidth+"px"),y=n*(o.thumbMargin+w)+.5,c.find(".lSPager").css({property:y+"px","transition-duration":o.speed+"ms"}),!0===o.vertical&&p.parent().css("padding-right",o.vThumbWidth+o.galleryMargin+"px"),c.find(".lSPager").css(g,y+"px"));var h=c.find(".lSPager").find("li");h.first().addClass("active"),h.on("click",function(){return!0===o.loop&&"slide"===o.mode?v+=h.index(this)-c.find(".lSPager").find("li.active").index():v=h.index(this),s.mode(!1),!0===o.gallery&&e.slideThumb(),!1})},o.pager){var t="lSpg";o.gallery&&(t="lSGallery"),p.after('<ul class="lSPager '+t+'"></ul>');var i=o.vertical?"margin-left":"margin-top";p.parent().find(".lSPager").css(i,o.galleryMargin+"px"),T.createPager()}setTimeout(function(){T.init()},0)},setHeight:function(e,t){var i=null,n=this;i=o.loop?e.children(".lslide ").first():e.children().first();var r=function(){var n=i.outerHeight(),o=0,r=n;t&&(n=0,o=100*r/f),e.css({height:n+"px","padding-bottom":o+"%"})};r(),i.find("img").length?i.find("img")[0].complete?(r(),E||n.auto()):i.find("img").on("load",function(){setTimeout(function(){r(),E||n.auto()},100)}):E||n.auto()},active:function(e,t){this.doCss()&&"fade"===o.mode&&p.addClass("on");var i,n,r=0;v*o.slideMove<c?(e.removeClass("active"),this.doCss()||"fade"!==o.mode||!1!==t||e.fadeOut(o.speed),r=!0===t?v:v*o.slideMove,!0===t&&(n=(i=e.length)-1,r+1>=i&&(r=n)),!0===o.loop&&"slide"===o.mode&&(r=!0===t?v-s.find(".clone.left").length:v*o.slideMove,!0===t&&(n=(i=e.length)-1,r+1===i?r=n:r+1>i&&(r=0))),this.doCss()||"fade"!==o.mode||!1!==t||e.eq(r).fadeIn(o.speed),e.eq(r).addClass("active")):(e.removeClass("active"),e.eq(e.length-1).addClass("active"),this.doCss()||"fade"!==o.mode||!1!==t||(e.fadeOut(o.speed),e.eq(r).fadeIn(o.speed)))},move:function(e,t){!0===o.rtl&&(t=-t),this.doCss()?!0===o.vertical?e.css({transform:"translate3d(0px, "+-t+"px, 0px)","-webkit-transform":"translate3d(0px, "+-t+"px, 0px)"}):e.css({transform:"translate3d("+-t+"px, 0px, 0px)","-webkit-transform":"translate3d("+-t+"px, 0px, 0px)"}):!0===o.vertical?e.css("position","relative").animate({top:-t+"px"},o.speed,o.easing):e.css("position","relative").animate({left:-t+"px"},o.speed,o.easing);var i=p.parent().find(".lSPager").find("li");this.active(i,!0)},fade:function(){this.active(a,!1);var e=p.parent().find(".lSPager").find("li");this.active(e,!0)},slide:function(){var e=this;T.calSlide=function(){u>f&&(b=e.slideValue(),e.active(a,!1),b>u-f-o.slideMargin?b=u-f-o.slideMargin:b<0&&(b=0),e.move(s,b),!0===o.loop&&"slide"===o.mode&&(v>=c-s.find(".clone.left").length/o.slideMove&&e.resetSlide(s.find(".clone.left").length),0===v&&e.resetSlide(p.find(".lslide").length)))},T.calSlide()},resetSlide:function(e){var t=this;p.find(".lSAction a").addClass("disabled"),setTimeout(function(){v=e,p.css("transition-duration","0ms"),b=t.slideValue(),t.active(a,!1),n.move(s,b),setTimeout(function(){p.css("transition-duration",o.speed+"ms"),p.find(".lSAction a").removeClass("disabled")},50)},o.speed+100)},slideValue:function(){var e=0;if(!1===o.autoWidth)e=v*((S+o.slideMargin)*o.slideMove);else{e=0;for(var t=0;t<v;t++)e+=parseInt(a.eq(t).width())+o.slideMargin}return e},slideThumb:function(){var e;switch(o.currentPagerPosition){case"left":e=0;break;case"middle":e=f/2-w/2;break;case"right":e=f-w}var t=v-s.find(".clone.left").length,i=p.parent().find(".lSPager");"slide"===o.mode&&!0===o.loop&&(t>=i.children().length?t=0:t<0&&(t=i.children().length));var n=t*(w+o.thumbMargin)-e;n+f>y&&(n=y-f-o.thumbMargin),n<0&&(n=0),this.move(i,n)},auto:function(){o.auto&&(clearInterval(E),E=setInterval(function(){s.goToNextSlide()},o.pause))},pauseOnHover:function(){var t=this;o.auto&&o.pauseOnHover&&(p.on("mouseenter",function(){e(this).addClass("ls-hover"),s.pause(),o.auto=!0}),p.on("mouseleave",function(){e(this).removeClass("ls-hover"),p.find(".lightSlider").hasClass("lsGrabbing")||t.auto()}))},touchMove:function(e,t){if(p.css("transition-duration","0ms"),"slide"===o.mode){var i=b-(e-t);if(i>=u-f-o.slideMargin)if(!1===o.freeMove)i=u-f-o.slideMargin;else{var n=u-f-o.slideMargin;i=n+(i-n)/5}else i<0&&(!1===o.freeMove?i=0:i/=5);this.move(s,i)}},touchEnd:function(e){if(p.css("transition-duration",o.speed+"ms"),"slide"===o.mode){var t=!1,i=!0;(b-=e)>u-f-o.slideMargin?(b=u-f-o.slideMargin,!1===o.autoWidth&&(t=!0)):b<0&&(b=0);var n=function(e){var i=0;if(t||e&&(i=1),o.autoWidth)for(var n=0,r=0;r<a.length&&(n+=parseInt(a.eq(r).width())+o.slideMargin,v=r+i,!(n>=b));r++);else{var s=b/((S+o.slideMargin)*o.slideMove);v=parseInt(s)+i,b>=u-f-o.slideMargin&&s%1!=0&&v++}};e>=o.swipeThreshold?(n(!1),i=!1):e<=-o.swipeThreshold&&(n(!0),i=!1),s.mode(i),this.slideThumb()}else e>=o.swipeThreshold?s.goToPrevSlide():e<=-o.swipeThreshold&&s.goToNextSlide()},enableDrag:function(){var t=this;if(!C){var i=0,n=0,r=!1;p.find(".lightSlider").addClass("lsGrab"),p.on("mousedown",function(t){if(u<f&&0!==u)return!1;"lSPrev"!==e(t.target).attr("class")&&"lSNext"!==e(t.target).attr("class")&&(i=!0===o.vertical?t.pageY:t.pageX,r=!0,t.preventDefault?t.preventDefault():t.returnValue=!1,p.scrollLeft+=1,p.scrollLeft-=1,p.find(".lightSlider").removeClass("lsGrab").addClass("lsGrabbing"),clearInterval(E))}),e(window).on("mousemove",function(e){r&&(n=!0===o.vertical?e.pageY:e.pageX,t.touchMove(n,i))}),e(window).on("mouseup",function(s){if(r){p.find(".lightSlider").removeClass("lsGrabbing").addClass("lsGrab"),r=!1;var a=(n=!0===o.vertical?s.pageY:s.pageX)-i;Math.abs(a)>=o.swipeThreshold&&e(window).on("click.ls",function(t){t.preventDefault?t.preventDefault():t.returnValue=!1,t.stopImmediatePropagation(),t.stopPropagation(),e(window).off("click.ls")}),t.touchEnd(a)}})}},enableTouch:function(){var e=this;if(C){var t={},i={};p.on("touchstart",function(e){i=e.originalEvent.targetTouches[0],t.pageX=e.originalEvent.targetTouches[0].pageX,t.pageY=e.originalEvent.targetTouches[0].pageY,clearInterval(E)}),p.on("touchmove",function(n){if(u<f&&0!==u)return!1;var r=n.originalEvent;i=r.targetTouches[0];var s=Math.abs(i.pageX-t.pageX),a=Math.abs(i.pageY-t.pageY);!0===o.vertical?(3*a>s&&n.preventDefault(),e.touchMove(i.pageY,t.pageY)):(3*s>a&&n.preventDefault(),e.touchMove(i.pageX,t.pageX))}),p.on("touchend",function(){if(u<f&&0!==u)return!1;var n;n=!0===o.vertical?i.pageY-t.pageY:i.pageX-t.pageX,e.touchEnd(n)})}},build:function(){var t=this;t.initialStyle(),this.doCss()&&(!0===o.enableTouch&&t.enableTouch(),!0===o.enableDrag&&t.enableDrag()),e(window).on("focus",function(){t.auto()}),e(window).on("blur",function(){clearInterval(E)}),t.pager(),t.pauseOnHover(),t.controls(),t.keyPress()}}).build(),T.init=function(){T.chbreakpoint(),!0===o.vertical?(f=o.item>1?o.verticalHeight:a.outerHeight(),p.css("height",f+"px")):f=p.outerWidth(),!0===o.loop&&"slide"===o.mode&&T.clone(),T.calL(),"slide"===o.mode&&s.removeClass("lSSlide"),"slide"===o.mode&&(T.calSW(),T.sSW()),setTimeout(function(){"slide"===o.mode&&s.addClass("lSSlide")},1e3),o.pager&&T.createPager(),!0===o.adaptiveHeight&&!1===o.vertical&&s.css("height",a.eq(v).outerHeight(!0)),!1===o.adaptiveHeight&&("slide"===o.mode?!1===o.vertical?n.setHeight(s,!1):n.auto():n.setHeight(s,!0)),!0===o.gallery&&n.slideThumb(),"slide"===o.mode&&n.slide(),!1===o.autoWidth?a.length<=o.item?p.find(".lSAction").hide():p.find(".lSAction").show():T.calWidth(!1)<f&&0!==u?p.find(".lSAction").hide():p.find(".lSAction").show()},s.goToPrevSlide=function(){v>0?(o.onBeforePrevSlide.call(this,s,v),v--,s.mode(!1),!0===o.gallery&&n.slideThumb()):!0===o.loop?(o.onBeforePrevSlide.call(this,s,v),"fade"===o.mode&&(v=parseInt((c-1)/o.slideMove)),s.mode(!1),!0===o.gallery&&n.slideThumb()):!0===o.slideEndAnimation&&(s.addClass("leftEnd"),setTimeout(function(){s.removeClass("leftEnd")},400))},s.goToNextSlide=function(){var e=!0;"slide"===o.mode&&(e=n.slideValue()<u-f-o.slideMargin),v*o.slideMove<c-o.slideMove&&e?(o.onBeforeNextSlide.call(this,s,v),v++,s.mode(!1),!0===o.gallery&&n.slideThumb()):!0===o.loop?(o.onBeforeNextSlide.call(this,s,v),v=0,s.mode(!1),!0===o.gallery&&n.slideThumb()):!0===o.slideEndAnimation&&(s.addClass("rightEnd"),setTimeout(function(){s.removeClass("rightEnd")},400))},s.mode=function(e){!0===o.adaptiveHeight&&!1===o.vertical&&s.css("height",a.eq(v).outerHeight(!0)),!1===h&&("slide"===o.mode?n.doCss()&&(s.addClass("lSSlide"),""!==o.speed&&p.css("transition-duration",o.speed+"ms"),""!==o.cssEasing&&p.css("transition-timing-function",o.cssEasing)):n.doCss()&&(""!==o.speed&&s.css("transition-duration",o.speed+"ms"),""!==o.cssEasing&&s.css("transition-timing-function",o.cssEasing))),e||o.onBeforeSlide.call(this,s,v),"slide"===o.mode?n.slide():n.fade(),p.hasClass("ls-hover")||n.auto(),setTimeout(function(){e||o.onAfterSlide.call(this,s,v)},o.speed),h=!0},s.play=function(){s.goToNextSlide(),o.auto=!0,n.auto()},s.pause=function(){o.auto=!1,clearInterval(E)},s.refresh=function(){T.init()},s.getCurrentSlideCount=function(){var e=v;if(o.loop){var t=p.find(".lslide").length,i=s.find(".clone.left").length;e=v<=i-1?t+(v-i):v>=t+i?v-t-i:v-i}return e+1},s.getTotalSlideCount=function(){return p.find(".lslide").length},s.goToSlide=function(e){v=o.loop?e+s.find(".clone.left").length-1:e,s.mode(!1),!0===o.gallery&&n.slideThumb()},s.destroy=function(){s.lightSlider&&(s.goToPrevSlide=function(){},s.goToNextSlide=function(){},s.mode=function(){},s.play=function(){},s.pause=function(){},s.refresh=function(){},s.getCurrentSlideCount=function(){},s.getTotalSlideCount=function(){},s.goToSlide=function(){},s.lightSlider=null,T={init:function(){}},s.parent().parent().find(".lSAction, .lSPager").remove(),s.removeClass("lightSlider lSFade lSSlide lsGrab lsGrabbing leftEnd right").removeAttr("style").unwrap().unwrap(),s.children().removeAttr("style"),a.removeClass("lslide active"),s.find(".clone").remove(),a=null,E=null,h=!1,v=0)},setTimeout(function(){o.onSliderLoad.call(this,s)},10),e(window).on("resize orientationchange",function(e){setTimeout(function(){e.preventDefault?e.preventDefault():e.returnValue=!1,T.init()},200)}),this}}(jQuery)},function(e,t,i){!function(){function t(e,t){document.addEventListener?e.addEventListener("scroll",t,!1):e.attachEvent("scroll",t)}function i(e){this.a=document.createElement("div"),this.a.setAttribute("aria-hidden","true"),this.a.appendChild(document.createTextNode(e)),this.b=document.createElement("span"),this.c=document.createElement("span"),this.h=document.createElement("span"),this.f=document.createElement("span"),this.g=-1,this.b.style.cssText="max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;",this.c.style.cssText="max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;",this.f.style.cssText="max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;",this.h.style.cssText="display:inline-block;width:200%;height:200%;font-size:16px;max-width:none;",this.b.appendChild(this.h),this.c.appendChild(this.f),this.a.appendChild(this.b),this.a.appendChild(this.c)}function n(e,t){e.a.style.cssText="max-width:none;min-width:20px;min-height:20px;display:inline-block;overflow:hidden;position:absolute;width:auto;margin:0;padding:0;top:-999px;white-space:nowrap;font-synthesis:none;font:"+t+";"}function o(e){var t=e.a.offsetWidth,i=t+100;return e.f.style.width=i+"px",e.c.scrollLeft=i,e.b.scrollLeft=e.b.scrollWidth+100,e.g!==t&&(e.g=t,!0)}function r(e,i){function n(){var e=r;o(e)&&e.a.parentNode&&i(e.g)}var r=e;t(e.b,n),t(e.c,n),o(e)}function s(e,t){var i=t||{};this.family=e,this.style=i.style||"normal",this.weight=i.weight||"normal",this.stretch=i.stretch||"normal"}var a=null,l=null,d=null,c=null;function u(){return null===c&&(c=!!document.fonts),c}function h(e,t){return[e.style,e.weight,function(){if(null===d){var e=document.createElement("div");try{e.style.font="condensed 100px sans-serif"}catch(e){}d=""!==e.style.font}return d}()?e.stretch:"","100px",t].join(" ")}s.prototype.load=function(e,t){var o=this,s=e||"BESbswy",d=0,c=t||3e3,f=(new Date).getTime();return new Promise(function(e,t){if(u()&&!function(){if(null===l)if(u()&&/Apple/.test(window.navigator.vendor)){var e=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))(?:\.([0-9]+))/.exec(window.navigator.userAgent);l=!!e&&603>parseInt(e[1],10)}else l=!1;return l}()){var p=new Promise(function(e,t){!function i(){(new Date).getTime()-f>=c?t(Error(c+"ms timeout exceeded")):document.fonts.load(h(o,'"'+o.family+'"'),s).then(function(t){1<=t.length?e():setTimeout(i,25)},t)}()}),v=new Promise(function(e,t){d=setTimeout(function(){t(Error(c+"ms timeout exceeded"))},c)});Promise.race([v,p]).then(function(){clearTimeout(d),e(o)},t)}else!function(e){document.body?e():document.addEventListener?document.addEventListener("DOMContentLoaded",function t(){document.removeEventListener("DOMContentLoaded",t),e()}):document.attachEvent("onreadystatechange",function t(){"interactive"!=document.readyState&&"complete"!=document.readyState||(document.detachEvent("onreadystatechange",t),e())})}(function(){function l(){var t;(t=-1!=g&&-1!=m||-1!=g&&-1!=b||-1!=m&&-1!=b)&&((t=g!=m&&g!=b&&m!=b)||(null===a&&(t=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(window.navigator.userAgent),a=!!t&&(536>parseInt(t[1],10)||536===parseInt(t[1],10)&&11>=parseInt(t[2],10))),t=a&&(g==y&&m==y&&b==y||g==S&&m==S&&b==S||g==w&&m==w&&b==w)),t=!t),t&&(E.parentNode&&E.parentNode.removeChild(E),clearTimeout(d),e(o))}var u=new i(s),p=new i(s),v=new i(s),g=-1,m=-1,b=-1,y=-1,S=-1,w=-1,E=document.createElement("div");E.dir="ltr",n(u,h(o,"sans-serif")),n(p,h(o,"serif")),n(v,h(o,"monospace")),E.appendChild(u.a),E.appendChild(p.a),E.appendChild(v.a),document.body.appendChild(E),y=u.a.offsetWidth,S=p.a.offsetWidth,w=v.a.offsetWidth,function e(){if((new Date).getTime()-f>=c)E.parentNode&&E.parentNode.removeChild(E),t(Error(c+"ms timeout exceeded"));else{var i=document.hidden;!0!==i&&void 0!==i||(g=u.a.offsetWidth,m=p.a.offsetWidth,b=v.a.offsetWidth,l()),d=setTimeout(e,50)}}(),r(u,function(e){g=e,l()}),n(u,h(o,'"'+o.family+'",sans-serif')),r(p,function(e){m=e,l()}),n(p,h(o,'"'+o.family+'",serif')),r(v,function(e){b=e,l()}),n(v,h(o,'"'+o.family+'",monospace'))})})},e.exports=s}()}]);