PATH:
home
/
lab2454c
/
sothebankuab.com
/
wp-content
/
plugins
/
bdthemes-element-pack
/
assets
/
vendor
/
js
!function(t){"use strict";!function(t,e,s,i){var o=".tocify-header",n=".tocify-subheader";t.widget("toc.tocify",{version:"1.9.0",options:{context:"body",ignoreSelector:null,selectors:"h1, h2, h3",showAndHide:!1,showEffect:"slideDown",showEffectSpeed:"medium",hideEffect:"slideUp",hideEffectSpeed:"medium",smoothScroll:!0,smoothScrollSpeed:"medium",scrollTo:0,showAndHideOnScroll:!0,highlightOnScroll:!0,highlightOffset:40,theme:"uikit",extendPage:!1,extendPageOffset:100,history:!1,scrollHistory:!1,hashGenerator:"compact",highlightDefault:!0},_create:function(){var s=this;s.extendPageScroll=!0,s.items=[],s._generateToc(),s._addCSSClasses(),s.webkit=function(){for(var t in e)if(t&&-1!==t.toLowerCase().indexOf("webkit"))return!0;return!1}(),s._setEventHandlers(),t(e).on("load",(function(){s._setActiveElement(!0),t("html, body").promise().done((function(){setTimeout((function(){s.extendPageScroll=!1}),0)}))}))},_generateToc:function(){var e,s,i=this,o=i.options.ignoreSelector;if((e=-1!==this.options.selectors.indexOf(",")?t(this.options.context).find(this.options.selectors.replace(/ /g,"").substr(0,this.options.selectors.indexOf(","))):t(this.options.context).find(this.options.selectors.replace(/ /g,""))).length){i.element.addClass("tocify");var n=t(this.options.context).find(this.options.selectors),a=0;e.each((function(e){if(!t(this).is(o)){for(s=t("<ul/>",{id:"tocify-header"+e,class:"tocify-header"}).append(i._nestElements(t(this),e)),i.element.append(s);n[a]!==this;)a+=1;for(var l=a+1;l<n.length&&n[l].nodeName.toLowerCase()!==n[a].nodeName.toLowerCase();)l+=1;for(a+=1;a<l;){var h=n[a];t(h).is(o)||i._appendSubheaders.call(h,i,s),a+=1}}}))}else i.element.addClass("tocify-hide")},_setActiveElement:function(t){var s=e.location.hash.substring(1),i=this.element.find('li[data-unique="'+s+'"]');return s.length?(this.element.find("."+this.focusClass).removeClass(this.focusClass),i.addClass(this.focusClass),this.options.showAndHide&&i.click()):(this.element.find("."+this.focusClass).removeClass(this.focusClass),!s.length&&t&&this.options.highlightDefault&&this.element.find(".tocify-item").first().addClass(this.focusClass)),this},_nestElements:function(e,s){var i,o,n;return(i=t.grep(this.items,(function(t){return t===e.text()}))).length?this.items.push(e.text()+s):this.items.push(e.text()),n=this._generateHashValue(i,e,s),o=t("<li/>",{class:"tocify-item","data-unique":n}).append(t("<a/>",{text:e.text()})),e.before(t("<div/>",{name:n,"data-unique":n})),o},_generateHashValue:function(t,e,s){var i="",o=this.options.hashGenerator;if("pretty"===o){for(i=e.text().toLowerCase().replace(/\s/g,"-");i.indexOf("--")>-1;)i=i.replace(/--/g,"-");for(;i.indexOf(":-")>-1;)i=i.replace(/:-/g,"-")}else i="function"==typeof o?o(e.text(),e):e.text().replace(/\s/g,"");return t.length&&(i+=""+s),i},_appendSubheaders:function(e,s){var i=t(this).index(e.options.selectors),o=t(e.options.selectors).eq(i-1),a=+t(this).prop("tagName").charAt(1),l=+o.prop("tagName").charAt(1);a<l?e.element.find(n+"[data-tag="+a+"]").last().append(e._nestElements(t(this),i)):a===l?s.find(".tocify-item").last().after(e._nestElements(t(this),i)):s.find(".tocify-item").last().after(t("<ul/>",{class:"tocify-subheader","data-tag":a})).next(n).append(e._nestElements(t(this),i))},_setEventHandlers:function(){var i=this;this.element.on("click.tocify","li",(function(s){if(i.options.history&&(e.location.hash=t(this).attr("data-unique")),i.element.find("."+i.focusClass).removeClass(i.focusClass),t(this).addClass(i.focusClass),i.options.showAndHide){var o=t('li[data-unique="'+t(this).attr("data-unique")+'"]');i._triggerShow(o)}i._scrollTo(t(this))})),this.element.find("li").on({"mouseenter.tocify":function(){t(this).addClass(i.hoverClass),t(this).css("cursor","pointer")},"mouseleave.tocify":function(){"uikit"!==i.options.theme&&t(this).removeClass(i.hoverClass)}}),(i.options.extendPage||i.options.highlightOnScroll||i.options.scrollHistory||i.options.showAndHideOnScroll)&&t(e).on("scroll.tocify",(function(){t("html, body").promise().done((function(){var o,n,a,l,h=t(e).scrollTop(),r=t(e).height(),d=t(s).height(),c=t("body")[0].scrollHeight;if(i.options.extendPage&&(i.webkit&&h>=c-r-i.options.extendPageOffset||!i.webkit&&r+h>d-i.options.extendPageOffset)&&!t(".tocify-extend-page").length){if(!(n=t('div[data-unique="'+t(".tocify-item").last().attr("data-unique")+'"]')).length)return;a=n.offset().top,t(i.options.context).append(t("<div />",{class:"tocify-extend-page",height:Math.abs(a-h)+"px","data-unique":"tocify-extend-page"})),i.extendPageScroll&&(l=i.element.find("li.active"),i._scrollTo(t('div[data-unique="'+l.attr("data-unique")+'"]')))}setTimeout((function(){var s,n=null,a=null,l=t(i.options.context).find("div[data-unique]");l.each((function(e){var s=Math.abs((t(this).next().length?t(this).next():t(this)).offset().top-h-i.options.highlightOffset);if(!(null==n||s<n))return!1;n=s,a=e})),s=t(l[a]).attr("data-unique"),o=t('li[data-unique="'+s+'"]'),i.options.highlightOnScroll&&o.length&&(i.element.find("."+i.focusClass).removeClass(i.focusClass),o.addClass(i.focusClass)),i.options.scrollHistory&&e.location.hash!=="#"+s&&e.location.replace("#"+s),i.options.showAndHideOnScroll&&i.options.showAndHide&&i._triggerShow(o,!0)}),0)}))}))},show:function(e,s){if(!e.is(":visible"))switch(e.find(n).length||e.parent().is(o)||e.parent().is(":visible")?e.children(n).length||e.parent().is(o)||(e=e.closest(n)):e=e.parents(n).add(e),this.options.showEffect){case"none":e.show();break;case"show":e.show(this.options.showEffectSpeed);break;case"slideDown":e.slideDown(this.options.showEffectSpeed);break;case"fadeIn":e.fadeIn(this.options.showEffectSpeed);break;default:e.show()}return e.parent().is(o)?this.hide(t(n).not(e)):this.hide(t(n).not(e.closest(o).find(n).not(e.siblings()))),this},hide:function(t){switch(this.options.hideEffect){case"none":t.hide();break;case"hide":t.hide(this.options.hideEffectSpeed);break;case"slideUp":t.slideUp(this.options.hideEffectSpeed);break;case"fadeOut":t.fadeOut(this.options.hideEffectSpeed);break;default:t.hide()}return this},_triggerShow:function(t,e){return t.parent().is(o)||t.next().is(n)?this.show(t.next(n),e):t.parent().is(n)&&this.show(t.parent(),e),this},_addCSSClasses:function(){return"uikit"===this.options.theme?(this.element.find(o+","+n).addClass("bdt-nav bdt-nav-default"),this.focusClass="bdt-active"):(this.focusClass="tocify-focus",this.hoverClass="tocify-hover"),this},setOption:function(){t.Widget.prototype._setOption.apply(this,arguments)},setOptions:function(){t.Widget.prototype._setOptions.apply(this,arguments)},_scrollTo:function(e){var s=this.options.smoothScroll||0,i=this.options.scrollTo,o=t('div[data-unique="'+e.attr("data-unique")+'"]');return o.length?(t("html, body").promise().done((function(){t("html, body").animate({scrollTop:o.offset().top-(t.isFunction(i)?i.call():i)+"px"},{duration:s})})),this):this}})}(window.jQuery,window,document)}();
[-] SplitText.js
[edit]
[-] awesomeCloud.min.js
[edit]
[-] prism.min.js
[edit]
[-] jquery.progressScroll.js
[edit]
[-] jquery.mThumbnailScroller.min.js
[edit]
[-] parallax.js
[edit]
[-] chart.min.js
[edit]
[-] typed.min.js
[edit]
[-] jquery.appear.min.js
[edit]
[-] lottie.d.ts
[edit]
[-] jquery.imagezoom.js
[edit]
[-] jquery.tagcanvas.min.js
[edit]
[-] prism.js
[edit]
[-] metisMenu.js
[edit]
[-] lottie.js
[edit]
[-] jquery.honeycombs.js
[edit]
[-] sidetabs.js
[edit]
[-] timeline.min.js
[edit]
[-] datatables.min.js
[edit]
[-] datatables.uikit.js
[edit]
[-] jquery.appear.js
[edit]
[+]
..
[-] popper.js
[edit]
[-] jquery.jplayer.js
[edit]
[-] image-compare-viewer.min.js
[edit]
[-] calendly.js
[edit]
[-] tilt.jquery.js
[edit]
[-] particles.min.js
[edit]
[-] jquery.progressHorizontal.min.js
[edit]
[-] timeline.js
[edit]
[-] jQuery.circleMenu.min.js
[edit]
[-] tippy.all.min.js
[edit]
[-] calendly.min.js
[edit]
[-] jquery.jplayer.min.js
[edit]
[-] jquery.newsTicker.min.js
[edit]
[-] darkmode.min.js
[edit]
[-] goodshare.min.js
[edit]
[-] SplitText.min.js
[edit]
[-] jquery.newsTicker.js
[edit]
[-] jquery.flatWeatherPlugin.min.js
[edit]
[-] rvslider.min.js
[edit]
[-] gmap.min.js
[edit]
[-] jquery.jclock.min.js
[edit]
[-] chart.js
[edit]
[-] jquery.mousewheel.js
[edit]
[-] vanilla-tilt.js
[edit]
[-] search.min.js
[edit]
[-] jquery.justifiedGallery.min.js
[edit]
[-] pageable.min.js
[edit]
[-] particles.js
[edit]
[-] jquery.imagezoom.min.js
[edit]
[-] jquery.mousewheel.min.js
[edit]
[-] gmap.js
[edit]
[-] news-ticker.min.js
[edit]
[-] datatables.uikit.min.js
[edit]
[-] tippy.all.js
[edit]
[-] gsap.js
[edit]
[-] table-of-content.min.js
[edit]
[-] gsap.min.js
[edit]
[-] metisMenu.min.js
[edit]
[-] wavify.min.js
[edit]
[-] jquery.progressScroll.min.js
[edit]
[-] morphext.min.js
[edit]
[-] darkmode.js
[edit]
[-] gridtab.min.js
[edit]
[-] morphext.js
[edit]
[-] image-compare-viewer.js
[edit]
[-] parallax.min.js
[edit]
[-] search.js
[edit]
[-] sidetabs.min.js
[edit]
[-] recliner.js
[edit]
[-] countUp.js
[edit]
[-] clipboard.js
[edit]
[-] jquery-asPieProgress.min.js
[edit]
[-] wavify.js
[edit]
[-] recliner.min.js
[edit]
[-] jquery.jclock.js
[edit]
[-] pageable.js
[edit]
[-] jquery.tagcanvas.js
[edit]
[-] gridtab.js
[edit]
[-] jquery-qrcode.js
[edit]
[-] countUp.min.js
[edit]
[-] awesomeCloud.js
[edit]
[-] jquery-asPieProgress.js
[edit]
[-] lottie.min.js
[edit]
[-] moment-timezone-with-data.min.js
[edit]
[-] jquery.justifiedGallery.js
[edit]
[-] datatables.js
[edit]
[-] rvslider.js
[edit]
[-] jquery.flatWeatherPlugin.js
[edit]
[-] moment.min.js
[edit]
[-] jquery.honeycombs.min.js
[edit]
[-] table-of-content.js
[edit]
[-] goodshare.js
[edit]
[-] leaflet.js
[edit]
[-] cookieconsent.min.js
[edit]
[-] moment-timezone-with-data.js
[edit]
[-] jQuery.circleMenu.js
[edit]
[-] leaflet.min.js
[edit]
[-] vanilla-tilt.min.js
[edit]
[-] floating-video.min.js
[edit]
[-] typed.js
[edit]
[-] popper.min.js
[edit]
[-] spritespin.js
[edit]
[-] jquery.progressHorizontal.js
[edit]
[-] floating-video.js
[edit]
[-] jquery.mThumbnailScroller.js
[edit]
[-] moment.js
[edit]
[-] spritespin.min.js
[edit]
[-] tilt.jquery.min.js
[edit]
[-] jquery-qrcode.min.js
[edit]
[-] cookieconsent.js
[edit]