1!function(e,t){"use strict";"function"==typeof define&&define.amd?define([],function(){return t.apply(e)}):"object"==typeof exports?module.exports=t.call(e):e.Waves=t.call(e)}("object"==typeof global?global:this,function(){"use strict";var t=t||{},n=document.querySelectorAll.bind(document),o=Object.prototype.toString,r="ontouchstart"in window;function i(e){var t=typeof e;return"function"==t||"object"==t&&!!e}function c(e){var t=o.call(e);return"[object String]"===t?n(e):i(e)&&/^\[object (Array|HTMLCollection|NodeList|Object)\]$/.test(t)&&e.hasOwnProperty("length")?e:i(t=e)&&0<t.nodeType?[e]:[]}function d(e){var t={top:0,left:0},n=e&&e.ownerDocument,i=n.documentElement;return void 0!==e.getBoundingClientRect&&(t=e.getBoundingClientRect()),e=null!==(n=e=n)&&n===n.window?e:9===e.nodeType&&e.defaultView,{top:t.top+e.pageYOffset-i.clientTop,left:t.left+e.pageXOffset-i.clientLeft}}function u(e){var t,n="";for(t in e)e.hasOwnProperty(t)&&(n+=t+":"+e[t]+";");return n}var f={duration:750,delay:200,show:function(e,t,n){if(2===e.button)return!1;t=t||this;var i=document.createElement("div");i.className="waves-ripple waves-rippling",t.appendChild(i);var s=d(t),a=0,o=0;o=0<=(o="touches"in e&&e.touches.length?(a=e.touches[0].pageY-s.top,e.touches[0].pageX-s.left):(a=e.pageY-s.top,e.pageX-s.left))?o:0;a=0<=a?a:0,s="scale("+t.clientWidth/100*3+")",t="translate(0,0)";n&&(t="translate("+n.x+"px, "+n.y+"px)"),i.setAttribute("data-hold",Date.now()),i.setAttribute("data-x",o),i.setAttribute("data-y",a),i.setAttribute("data-scale",s),i.setAttribute("data-translate",t);o={top:a+"px",left:o+"px"};i.classList.add("waves-notransition"),i.setAttribute("style",u(o)),i.classList.remove("waves-notransition"),o["-webkit-transform"]=s+" "+t,o["-moz-transform"]=s+" "+t,o["-ms-transform"]=s+" "+t,o["-o-transform"]=s+" "+t,o.transform=s+" "+t,o.opacity="1";e="mousemove"===e.type?2500:f.duration;o["-webkit-transition-duration"]=e+"ms",o["-moz-transition-duration"]=e+"ms",o["-o-transition-duration"]=e+"ms",o["transition-duration"]=e+"ms",i.setAttribute("style",u(o))},hide:function(e,t){for(var n=(t=t||this).getElementsByClassName("waves-rippling"),i=0,s=n.length;i<s;i++)!function(e,t,n){var i,s,a,o,r,l;n&&(n.classList.remove("waves-rippling"),i=n.getAttribute("data-x"),s=n.getAttribute("data-y"),a=n.getAttribute("data-scale"),o=n.getAttribute("data-translate"),(r=350-(Date.now()-Number(n.getAttribute("data-hold"))))<0&&(r=0),"mousemove"===e.type&&(r=150),l="mousemove"===e.type?2500:f.duration,setTimeout(function(){n.setAttribute("style",u({top:s+"px",left:i+"px",opacity:"0","-webkit-transition-duration":l+"ms","-moz-transition-duration":l+"ms","-o-transition-duration":l+"ms","transition-duration":l+"ms","-webkit-transform":a+" "+o,"-moz-transform":a+" "+o,"-ms-transform":a+" "+o,"-o-transform":a+" "+o,transform:a+" "+o})),setTimeout(function(){try{t.removeChild(n)}catch(e){return!1}},l)},r))}(e,t,n[i])}},l={input:function(e){},img:function(e){var t,n=e.parentNode;"i"===n.tagName.toLowerCase()&&n.classList.contains("waves-effect")||(t=document.createElement("i"),n.replaceChild(t,e),t.appendChild(e))}};var m={touches:0,allowEvent:function(e){var t=!0;return t=/^(mousedown|mousemove)$/.test(e.type)&&m.touches?!1:t},registerEvent:function(e){e=e.type;"touchstart"===e?m.touches+=1:/^(touchend|touchcancel)$/.test(e)&&setTimeout(function(){m.touches&&--m.touches},500)}};function s(t){var n,i,s,a=function(e){if(!1===m.allowEvent(e))return null;for(var t=null,n=e.target||e.srcElement;null!==n.parentElement;){if(n.classList.contains("waves-effect")&&!(n instanceof SVGElement)){t=n;break}n=n.parentElement}return t}(t);null!==a&&(a.disabled||a.getAttribute("disabled")||a.classList.contains("disabled")||(m.registerEvent(t),"touchstart"===t.type&&f.delay?(n=!1,i=setTimeout(function(){i=null,f.show(t,a)},f.delay),a.addEventListener("touchmove",function(e){i&&(clearTimeout(i),i=null),s(e)},!(s=function(e){i&&(clearTimeout(i),i=null,f.show(t,a)),n||(n=!0,f.hide(e,a))})),a.addEventListener("touchend",s,!1),a.addEventListener("touchcancel",s,!1)):(f.show(t,a),r&&(a.addEventListener("touchend",f.hide,!1),a.addEventListener("touchcancel",f.hide,!1)),a.addEventListener("mouseup",f.hide,!1),a.addEventListener("mouseleave",f.hide,!1))
1))}return t.init=function(e){var t=document.body;"duration"in(e=e||{})&&(f.duration=e.duration),"delay"in e&&(f.delay=e.delay),r&&(t.addEventListener("touchstart",s,!1),t.addEventListener("touchcancel",m.registerEvent,!1),t.addEventListener("touchend",m.registerEvent,!1)),t.addEventListener("mousedown",s,!1)},t.attach=function(e,t){var n,i;e=c(e),t=(t="[object Array]"===o.call(t)?t.join(" "):t)?" "+t:"";for(var s=0,a=e.length;s<a;s++)i=(n=e[s]).tagName.toLowerCase(),-1!==["input","img"].indexOf(i)&&(l[i](n),n=n.parentElement),-1===n.className.indexOf("waves-effect")&&(n.className+=" waves-effect"+t)},t.ripple=function(e,t){var n=(e=c(e)).length;if((t=t||{}).wait=t.wait||0,t.position=t.position||null,n)for(var i={},s=0,a={type:"mousedown",button:1};s<n;s++){var o=e[s],r=t.position||{x:o.clientWidth/2,y:o.clientHeight/2},l=d(o);i.x=l.left+r.x,i.y=l.top+r.y,a.pageX=i.x,a.pageY=i.y,f.show(a,o),0<=t.wait&&null!==t.wait&&setTimeout(function(e,t){return function(){f.hide(e,t)}}({type:"mouseup",button:1},o),t.wait)}},t.calm=function(e){for(var t={type:"mouseup",button:1},n=0,i=(e=c(e)).length;n<i;n++)f.hide(t,e[n])},t.displayEffect=function(e){console.error("Waves.displayEffect() has been deprecated and will be removed in future version. Please use Waves.init() to initialize Waves effect"),t.init(e)},t}),window.onload=function(){Waves.attach(".wave",["waves-effect"]),Waves.attach(".btn-flat",["waves-effect"]),Waves.attach(".pagination .page-item .page-link",["waves-effect"]),Waves.attach(".btn",["waves-light"]),Waves.attach(".view .mask",["waves-light"]),Waves.attach(".wave-light",["waves-light"]),Waves.attach(".navbar-nav a, .nav-icons li a, .navbar form, .nav-tabs .nav-item",["waves-light"]),Waves.attach(".navbar-brand",["waves-light"]),Waves.attach(".pager li a",["waves-light"]),Waves.init()},document.addEventListener("DOMContentLoaded",function(){Waves.attach(".wave",["waves-effect"]),Waves.attach(".btn-flat",["waves-effect"]),Waves.attach(".pagination .page-item .page-link",["waves-effect"]),Waves.attach(".btn",["waves-light"]),Waves.attach(".view .mask",["waves-light"]),Waves.attach(".wave-light",["waves-light"]),Waves.attach(".navbar-nav a, .nav-icons li a, .navbar form, .nav-tabs .nav-item",["waves-light"]),Waves.attach(".navbar-brand",["waves-light"]),Waves.attach(".pager li a",["waves-light"]),Waves.init()});var WOW=function(e){e=e||{};this._boxClass=e.boxClass||"wow",this._animateClass=e.animateClass||"animated",this._offset=e.offset||0,this._mobile=void 0===e.mobile,this._live=void 0===e.live,this._seoFixEnabled=void 0===e.seoFixEnabled,this._animationDuration=e.animationDuration||"1s",this._animationDelay=e.animationDelay||"0s",this._initStorageVariables()};WOW.prototype._initStorageVariables=function(){this._animation=[],this._boxes=[],this._cleanupBoxListener=[],this._cleanupBoxVisibleListener=[]},WOW.prototype.init=function(){!this._mobile&&this._isMobile()||(this._eachBoxInit(this._prepareBox.bind(this)),this._startWow())},WOW.prototype._isMobile=function(){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)},WOW.prototype._eachBoxInit=function(e){for(var t=document.getElementsByClassName(this._boxClass),n=0;n<t.length;n++)e(t[n],n)},WOW.prototype._prepareBox=function(e){var t=this._boxes.push(e)-1;this._animation[t]={animationName:e.style.animationName||window.getComputedStyle(e,null).animationName},e.style.animationName="none",e.style.visibility="hidden"},WOW.prototype._startWow=function(){this._live&&this._checkForChanges(),0===this._scrollY()&&this._seoFixEnabled&&this._seoFix(),this._appearInView(),this._scrollHandler()},WOW.prototype._scrollY=function(){return this._isInt(window.pageYOffset)?window.pageYOffset:this._isInt(document.documentElement.scrollTop)?document.documentElement.scrollTop:this._isInt(document.body.scrollTop)?document.body.scrollTop:void 0},WOW.prototype._isInt=function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e},WOW.prototype._seoFix=function(){this._showNotInView()},WOW.prototype._appear=function(e,t){e.style.animationPlayState||e.style.WebkitAnimationPlayState;-1===e.className.indexOf(this._animateClass)&&(delete this._boxes[t],this._onStartAnimation(e,t),this._onStopAnimation(e,t),this._animate(e,t,this._getAnimationConfig(e)))},WOW.prototype._onStartAnimation=function(e,t){this._cleanupBoxVisibleListener[t]=this._boxVisible.bind(this,e,t),e.addEventListener("animationstart",this._cleanupBoxVisibleListener[t]),e.addEventListener("webkitAnimationStart",this._cleanupBoxVisibleListener[t])},WOW.prototype._onStopAnimation=function(e,t){this._cleanupBoxListener[t]=this._cleanupBox.bind(this,e,t),e.addEventListener("animationend",this._cleanupBoxListener[t]),e.addEventListener("webkitAnimationEnd",this._cleanupBoxListener[t])},WOW.prototype._getAnimationConfig=function(e){return{delay:this._getDelay(e),duration:this._getDuration(e),iterations:this._getIterations(e)}},WOW.prototype._getDelay=function(e){return e.getAttribute("data-wow-delay")||this._animationDelay},WOW.prototype._getDuration=function(e){return e.getAttribute("data-wow-duration")||this._animationDuration},WOW.prototype._getIterations=function(e){return e.getAttribute("data-wow-iteration")||e.style.animationIterationCount||window.getComputedStyle(e,null).animationIterationCount||1},WOW.prototype._animate=function(e,t,n){e.style.animationDelay=n.delay,e.style.animationDuration=n.duration,e.style.animationIterationCount=n.iterations,e.style.animationName=this._animation[t].animationName,e.className+=" "+this._animateClass},WOW.prototype._boxVisible=function(e,t){e.style.visibility="visible",e.removeEventListener("animationstart",this._cleanupBoxVisibleListener[t]),e.removeEventListener("webkitAnimationStart",this._cleanupBoxVisibleListener[t]),delete this._cleanupBoxVisibleListener[t]},WOW.prototype._cleanupBox=function(e,t){e.style.animationDelay="",e.style.animationDuration="",e.style.animationIterationCount="",e.style.animationName="none",this._cleanupClass(e),e.removeEventListener("animationend",this._cleanupBoxListener[t]),e.removeEventListener("webkitAnimationEnd",this._cleanupBoxListener[t]),delete this._cleanupBoxListener[t]},WOW.prototype._cleanupClass=function(e){var t=e.className.split(" "),n=t.indexOf(this._animateClass);-1!==n&&(t.splice(n,1),e.className=t.join(" "))}
1,WOW.prototype._eachBox=function(t){for(var e=0;e<this._boxes.length;e++)this._boxes[e]&&!function(e){t(this._boxes[e],e)}.bind(this)(e)},WOW.prototype._scrollHandler=function(){this._hideSeoFixListener=this._hideSeoFix.bind(this),window.addEventListener("scroll",this._hideSeoFixListener),window.addEventListener("scroll",this._appearInView.bind(this)),window.addEventListener("resize",this._appearInView.bind(this))},WOW.prototype._hideSeoFix=function(){window.removeEventListener("scroll",this._hideSeoFixListener),delete this._hideSeoFixListener,this._eachBox(function(e,t){this._isInView(e)||(e.style.visibility="hidden")}.bind(this))},WOW.prototype._appearInView=function(){this._eachBox(function(e,t){this._animateBox(e,t)}.bind(this))},WOW.prototype._animateBox=function(e,t){this._isInView(e)&&(delete this._boxes[t],this._appear(e,t))},WOW.prototype._showNotInView=function(){this._eachBox(function(e,t){this._makeVisible(e,t)}.bind(this))},WOW.prototype._makeVisible=function(e,t){this._isInView(e)||(this._boxes[t].style.visibility="visible")},WOW.prototype._isInView=function(e){var t=e.getAttribute("data-wow-offset")||this._offset,t=this._getElementOffset(e)+~~t;return t<=window.innerHeight+this._scrollY()&&(0===t?10:t)>=this._scrollY()},WOW.prototype._getElementOffset=function(e){var t=e.getBoundingClientRect(),n=document.body,e=this._scrollY(),n=document.documentElement.clientTop||n.clientTop||0,n=t.top+e-n;return Math.round(n)},WOW.prototype._checkForChanges=function(){var e=new(window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver)(this._mutations.bind(this)),t={childList:!0,subtree:!0};window.onload=function(){e.observe(document.body,t)}},WOW.prototype._mutations=function(e){e.forEach(function(e){for(var t=0;t<e.addedNodes.length;t++)this.doSync(e.addedNodes[t])}.bind(this))},WOW.prototype.doSync=function(e){"string"==typeof e.className&&-1!==e.className.split(" ").indexOf(this._boxClass)&&this._prepareBox(e)},window.addEventListener("DOMContentLoaded",function(e){(new WOW).init()}),$(document).on("lazybeforeunveil",function(e){var t=$(e.target).data("ajax");t&&$(e.target).load(t)});try{window.SF=SF||{}}catch(e){window.SF={}}SF.Methods=function(){this.extend=function(e,t){for(var n in t)t.hasOwnProperty(n)&&("[object Object]"==Object.prototype.toString.call(t[n])?this.extend(e[n],t[n]):e[n]=t[n]);return e},this.topZIndex=function(){for(var e,t=document.querySelectorAll("*"),n=1,i=0;i<t.length;i++)e=getComputedStyle(t[i]),parseInt(e.zIndex)>n&&(n=parseInt(e.zIndex));return n},this.topZIndexElement=function(e){for(var t,n=1,i=!1,s=0;s<e.length;s++)t=getComputedStyle(e[s]),parseInt(t.zIndex)>n&&(n=parseInt(t.zIndex),i=e[s]);return i},this.includeScript=function(e){var t=document.createElement("script");t.src=e,document.querySelector("head").appendChild(t)},this.addcss=function(e){var t=document.createElement("link");return t.rel="stylesheet",t.href=e,document.querySelector("link[href='"+e+"']")&&document.querySelector("link[href='"+e+"']").remove(),document.querySelector("head").appendChild(t),t},this.cookies={get:function(e){if(0<document.cookie.length&&-1!=(t=document.cookie.indexOf(e+"="))){var t=t+e.length+1,e=document.cookie.indexOf(";",t);return-1==e&&(e=document.cookie.length),encodeURI(document.cookie.substring(t,e))}return""},set:function(e,t,n){var i=new Date;i.setDate(i.getDate()+n),document.cookie=e+"="+decodeURI(t)+(null==n?"":"; expires="+i.toUTCString())+"; path=/"},check:function(e){return null!=(e=this.cookie.get(e))&&""!=e}},this.bytelength=function(e){for(var t,n=0,i=0;i<e.length;i++)(t=e.charCodeAt(i))<=127?n++:n+=t<=2047?2:t<=65535?3:t<=2097151?4:t<=67108863?5:6;return n},this.bytelengthlimit=function(e,t){for(var n,i=0,s="",a=!1,o=[],r=0;r<e.length;r++)n=e.charCodeAt(r),i<=t&&(a=!0),s+=e[r],n<=127?i++:i+=n<=2047?2:n<=65535?3:n<=2097151?4:n<=67108863?5:6,(t<i&&a||a&&r==e.length-1)&&(o.push(s),s="",i=0,a=!1);return 0<o.length||o.push(s),o}},SF.send=function(e,t){if(document.createEvent)(n=document.createEvent("Events")).initEvent(e,!0,!1);else{if(!document.createEventObject())return;var n=document.createEventObject()}
1t.dispatchEvent?t.dispatchEvent(n):t.fireEvent&&t.fireEvent(e,n)},SF.receive=function(e,t,n){window.addEventListener?t.addEventListener(e,n,!1):window.attachEvent&&t.attachEvent(e,n)},SF.Events=function(){this.send=function(e,t){if(document.createEvent)(n=document.createEvent("Events")).initEvent(e,!0,!1);else{if(!document.createEventObject())return;var n=document.createEventObject()}t.dispatchEvent?t.dispatchEvent(n):t.fireEvent&&t.fireEvent(e,n)},this.receive=function(e,t,n){window.addEventListener?t.addEventListener(e,n,!1):window.attachEvent&&t.attachEvent(e,n)},this.hotkey=function(n){var i=[].slice.call(arguments,1),s={};document.addEventListener("keydown",function(e){e=e||window.event,s[e.keyCode]=!0;for(var t=0;t<i.length;t++)if(!s[i[t]])return;s={},n()}),document.addEventListener("keyup",function(e){e=e||window.event,delete s[e.keyCode]})},this.quickkey=function(t,n){addEventListener("keydown",function(e){e.keyCode==n&&t(e)})},SF.Methods.call(this)},SF.Parameters=function(){this.newparams=function(){return this.params},this.updateparams=function(e){var t,n=e.params,i=n.modifier,s=n.data;for(t in i)i[t]=e.hasAttribute(s[t])?i[t]+" "+e.getAttribute(s[t]):i[t]},this.params={ajax:{events:{init:"ajaxinit",load:"endcontentload"},method:"GET",type:"html",timeout:0,async:!0,emulateOnload:!0,cache:!0},controller:{},search:{},provider:{},blocks:{special:{cookies:{specialfont:"default",specialstate:"off",specialcolor:"specialwhite",specialkegl:"16",specialinterval:"1.0",specialkerning:"normal",specialimage:"off",specialup:"down",specialsound:"off"},events:{init:"specialinit",create:"specialcreate",open:"specialopen",close:"specialoff",up:"specialup",soundon:"specialsoundon",soundoff:"specialsoundoff",defaultsetting:"specialdefaultsetting",fontsans:"specialfontsans",fontserif:"specialfontserif",fontmono:"specialfontmono",keglmore:"specialkeglmore",keglless:"specialkeglless",intervalone:"specialintervalone",intervalhalf:"specialintervalhalf",intervaltwo:"specialintervaltwo",imageoff:"specialimageoff",imageblack:"specialimageblack",imagecolor:"specialimagecolor",colorwhite:"specialcolorwhite",colorblack:"specialcolorblack",coloryellow:"specialcoloryellow",colorblue:"specialcolorblue",colorgreen:"specialcolorgreen",kerningnormal:"specialkerningnormal",kerningmiddle:"specialkerningmiddle",kerningbig:"specialkerningbig"},data:{init:"sf-special",panel:"sf-special-panel",kegl:"sf-special-kegl",interval:"sf-special-interval",color:"sf-special-color",img:"sf-special-img",on:"sf-special-on"},attributes:{},modifier:{panel:"special-panel d-flex align-items-start justify-content-center flex-wrap flex-row w-100 bb-1",font:"d-flex align-items-center justify-content-center flex-column p-3",kegl:"d-flex align-items-center justify-content-center flex-column p-3",interval:"d-flex align-items-center justify-content-center flex-column p-3",kerning:"d-flex align-items-center justify-content-center flex-column p-3",color:"d-flex align-items-center justify-content-center flex-column p-3",img:"d-flex align-items-center justify-content-center flex-column p-3",onoff:"d-flex align-items-center justify-content-center flex-column p-3",sound:"d-flex align-items-center justify-content-center flex-column p-3",black:"sf-special-black",white:"sf-special-white",yellow:"sf-special-yellow",blue:"sf-special-blue",green:"sf-special-green",specialwhite:"/simai/asset/simai.framework/sf4.master/plugin/special/css/white.min.css",specialblack:"/simai/asset/simai.framework/sf4.master/plugin/special/css/black.min.css",specialyellow:"/simai/asset/simai.framework/sf4.master/plugin/special/css/yellow.min.css",specialblue:"/simai/asset/simai.framework/sf4.master/plugin/special/css/blue.min.css",specialgreen:"/simai/asset/simai.framework/sf4.master/plugin/special/css/green.min.css",specialsoundscript:"https://webasr.yandex.net/jsapi/v1/webspeechkit.js"}},modal:{load:'<div class="sf-progress"><div class="sf-progress-animation"></div></div>',events:{init:"modalinit",create:"modalcreate",open:"modalopen",close:"modalclose"},data:{init:"sf-modal",src:"sf-src",modal:"sf-modal-modifier",content:"sf-content-modifier",close:"sf-close-modifier",overlay:"sf-overlay-modifier",blur:"sf-blur",iframe:"sf-iframe"},attributes:{overlay:"sf-modal-overlay",load:"sf-modal-loadanimation",modal:"sf-modal-area",content:"sf-modal-content",close:"sf-modal-close",number:"sf-modal-number"},modifier:{src:"",service:"sf-service-bottom-area",container:"sf-modal-container",overlay:"sf-modal-overlay",load:"sf-modal-load",modal:"sf-modal-area",content:"sf-modal-content sf-scroll",close:"sf-close",blur:"blur",page:"sf-pagewrap-area"}},ajaxload:{load:'<div class="sf-progress"><div class="sf-progress-animation"></div></div>',events:{init:"ajaxloadinit",cancel:"ajaxloadcanceltrack",create:"ajaxloadcreate"},data:{init:"sf-ajaxload",src:"sf-src",cancel:"sf-canceltrack",loaded:"sf-ajaxloaded"},attributes:{},modifier:{src:""}}}}},SF.Controller=function(){this.stack=stack;var t=this;SF.Events.call(this),SF.Search.call(this),SF.Blocks.call(this),SF.Provider.call(this),this.el?this.send("blocksstart",this.el):(this.stack.ev("specialinit")&&(this.receive("specialinit",window,function(e){new SF.Special(e.target,e.target.params)}),this.stack.events.push("specialinit")),this.stack.ev("searchend")&&(this.receive("searchend",window,function(e){t.send("blocksstart",e.target)}),this.send("searchstart",window),this.stack.events.push("searchend")))},SF.Search=function(){this.search=function(){for(var e=document.body.querySelectorAll("*"),t=0;t<e.length;t++){var n,i=new SF.Parameters,s=i.newparams();for(n in s.blocks){var a=e[t],o=s.blocks[n];if(a.hasAttribute(o.data.init)){for(var r=0,l=0;l<this.stack.el.length;l++)this.stack.el[l]==a&&r++;0==r&&(a.blocks=n,a.params=o,i.updateparams(a),this.send("searchend",a))}}}},this.searchModal=function(e){for(var t=e.querySelectorAll("[sf-modal]"),n=0;n<t.length;n++){var i,s=new SF.Parameters,a=s.newparams();for(i in a.blocks){var o=t[n],r=a.blocks[i];if(o.hasAttribute(r.data.init)){for(var l=0,c=0;c<this.stack.el.length;c++)this.stack.el[c]==o&&l++;0==l&&(o.blocks=i,o.params=r,s.updateparams(o),this.send("searchend",o))}}}},this.searchdata=function(e){for(var t=e.querySelectorAll("*"),n=0;n<t.length;n++){var i,s=new SF.Parameters,a=s.newparams();for(i in a.blocks){var o=t[n],r=a.blocks[i];if(o.hasAttribute(r.data.init)){for(var l=0,c=0;c<this.stack.el.length;c++)this.stack.el[c]==o&&l++;0==l&&(o.blocks=i,o.params=r,s.updateparams(o),this.send("searchend",o))}}}};var t=this;this.stack.ev("searchstart")&&(this.receive("searchstart",window,function(e){t.search()}),this.receive("searchstartmodal",window,function(e){t.searchModal(document)}),this.stack.events.push("searchstart"))},SF.Blocks=function(){var t=this;this.stack.ev("providerend")&&(this.receive("providerend",window,function(e){t.send(e.target.event,e.target)}),this.stack.events.push("providerend")),this.stack.ev("blocksstart")&&(this.receive("blocksstart",window,function(e){t.send("providerstart",e.target)}),this.stack.events.push("blocksstart"))},SF.Provider=function(){this.special=function(e){function t(){switch(l.cookies.get("specialcolor")){case"specialwhite":return BX.message("SF_SPECIAL__SPECIAL_WHITE");case"specialblack":return BX.message("SF_SPECIAL__SPECIAL_BLACK");case"specialyellow":return BX.message("SF_SPECIAL__SPECIAL_YELLOW");case"specialblue":return BX.message("SF_SPECIAL__SPECIAL_BLUE");case"specialgreen":return BX.message("SF_SPECIAL__SPECIAL_GREEN")}return BX.message("SF_SPECIAL__SPECIAL_WHITE")}function n(){var e=l.cookies.get("specialkegl");return""!=e?e+BX.message("SF_SPECIAL__SPECIAL_KEGL"):BX.message("SF_SPECIAL__KEGL_16")}function i(){switch(l.cookies.get("specialkerning")){case"normal":return BX.message("SF_SPECIAL__KERNING_NORMAL");case"middle":return BX.message("SF_SPECIAL__KERNING_MIDDLE");case"big":return BX.message("SF_SPECIAL__KERNING_BIG")}return BX.message("SF_SPECIAL__KERNING_NORMAL")}function s(){switch(l.cookies.get("specialimage")){case"off":return BX.message("SF_SPECIAL__IMG_OFF");case"onblack":return BX.message("SF_SPECIAL__IMG_ON_BLACK");case"oncolor":return BX.message("SF_SPECIAL__IMG_ON_COLOR")}return BX.message("SF_SPECIAL__IMG_OFF")}function a(e){"off"==e?(document.querySelectorAll("div.sf-special-hidden").forEach(e
1=>{e.classList.remove("sf-special-hidden"),e.classList.add("sf-special-show")}),document.querySelectorAll("main img").forEach(e=>{var t,n;!1===e.parentNode.classList.contains("sf-viewbox-wrap")&&(e.classList.remove("sf-special-show"),e.classList.add("sf-special-hidden"),(t=document.createElement("div")).classList.add("sf-special-show"),t.classList.add("sf-special-alt-text"),t.classList.add("t-center"),""!==e.alt?t.innerText=e.alt:(n=e.src,t.innerText=n.replace(/^.*[\\\/]/,"")),e.parentNode.insertBefore(t,e))})):"onblack"!=e&&"oncolor"!=e||(document.querySelectorAll(".sf-special-show").forEach(e=>{e.classList.add("sf-special-hidden"),e.classList.remove("sf-special-show")}),document.querySelectorAll("main img").forEach(e=>{e.classList.contains("no-special")||(e.classList.remove("sf-special-hidden"),e.classList.add("sf-special-show"))}),document.querySelectorAll(".sf-special-alt-text").forEach(e=>{e.remove()}))}function o(){switch(l.cookies.get("specialinterval")){case"1.0":return BX.message("SF_SPECIAL__INTERVAL_1_0");case"1.5":return BX.message("SF_SPECIAL__INTERVAL_1_5");case"2.0":return BX.message("SF_SPECIAL__INTERVAL_2_0")}return BX.message("SF_SPECIAL__INTERVAL_1_0")}function r(e,t){e.className=t.class,e.style.backgroundColor=t.background,e.style.borderColor="black",e.style.color=t.border,e.style.fontSize=t.font,e.innerHTML=t.text,e.title=t.title}var l=this,c=e.target.params,d=(e.target,{font:{name:{},content:{btnsans:{},btnserif:{},btnmono:{}},status:{}},kegl:{name:{},content:{btnmore:{},btnless:{}},status:{}},interval:{name:{},content:{btnone:{},btnhalf:{},btntwo:{}},status:{}},kerning:{name:{},content:{btnnormal:{},btnmiddle:{},btnbig:{}},status:{}},color:{name:{},content:{btnwhite:{},btnblack:{},btnyellow:{},btnblue:{},btngreen:{}},status:{}},img:{name:{},content:{btnoff:{},btnbw:{},btncolor:{}},status:{}},sound:{name:{},content:{btnon:{},btnoff:{}},status:{},play:{}},onoff:{name:{},content:{btnup:{},btndefault:{},btnonoff:{}},status:{}}});return(d=document.createElement("nav")).className=c.modifier.panel,d.setAttribute("sf-special-panel",""),d.style.backgroundColor="#FFFFFF",d.style.position="relative",d.style.transition="margin-top 1s ease",d.font=document.createElement("div"),d.font.className=c.modifier.font,d.font.name=document.createElement("div"),d.font.content=document.createElement("div"),d.font.status=document.createElement("div"),d.font.name.classList.add("font-text","mb-2"),d.font.name.style.color="rgba(0,0,0, 0.87)",d.font.name.innerHTML=BX.message("SF_SPECIAL__FONT"),d.font.appendChild(d.font.name),d.font.content.classList.add("font-content","btn-group"),d.font.content.btnsans=document.createElement("button"),d.font.content.btnserif=document.createElement("button"),d.font.content.btnmono=document.createElement("button"),r(d.font.content.btnsans,{class:"btn btn-outline px-3",background:"white",border:"black",font:"14px",text:"Arial",title:BX.message("SF_SPECIAL__BTN_SANS_ARIAL")}),d.font.content.btnsans.addEventListener("click",function(e){l.send(c.events.fontsans,d.font.content.btnsans),d.font.status.innerHTML=BX.message("SF_SPECIAL__BTN_SANS")}),r(d.font.content.btnserif,{class:"btn btn-outline px-3",background:"white",border:"black",font:"14px",text:"Times",title:BX.message("SF_SPECIAL__BTN_SERIF_TIMES")}),d.font.content.btnserif.addEventListener("click",function(e){l.send(c.events.fontserif,d.font.content.btnserif),d.font.status.innerHTML=BX.message("SF_SPECIAL__BTN_SERIF")}),r(d.font.content.btnmono,{class:"btn btn-outline px-3",background:"white",border:"black",font:"14px",text:"Courier",title:BX.message("SF_SPECIAL__BTN_MONO_COURIER")}),d.font.content.btnmono.addEventListener("click",function(e){l.send(c.events.fontmono,d.font.content.btnmono),d.font.status.innerHTML=BX.message("SF_SPECIAL__BTN_MONO")}),d.font.status.classList.add("status-text","mt-2"),d.font.status.style.color="rgba(0,0,0, 0.87)",d.font.status.innerHTML=function(){switch(l.cookies.get("specialfont")){case"default":return BX.message("SF_SPECIAL__FONT_DEFAULT");case"sans":return BX.message("SF_SPECIAL__FONT_SANS");case"serif":return BX.message("SF_SPECIAL__FONT_SERIF");case"mono":return BX.message("SF_SPECIAL__FONT_MONO")}return BX.message("SF_SPECIAL__FONT_DEFAULT")}(),d.font.content.appendChild(d.font.content.btnsans),d.font.content.appendChild(d.font.content.btnserif),d.font.content.appendChild(d.font.content.btnmono),d.font.appendChild(d.font.content),d.font.appendChild(d.font.status),d.appendChild(d.font),d.kegl=document.createElement("div"),d.kegl.className=c.modifier.kegl,d.kegl.name=document.createElement("div"),d.kegl.content=document.createElement("div"),d.kegl.status=document.createElement("div"),d.kegl.name.classList.add("kegl-text","mb-2"),d.kegl.name.style.color="rgba(0,0,0,0.87)",d.kegl.name.innerHTML=BX.message("SF_SPECIAL__KEGL"),d.kegl.appendChild(d.kegl.name),d.kegl.content.classList.add("kegl-content","btn-group"),d.kegl.content.btnmore=document.createElement("button"),d.kegl.content.btnless=document.createElement("button"),r(d.kegl.content.btnmore,{class:"btn btn-outline px-3",background:"white",border:"black",font:"14px",text:"A-",title:BX.message("SF_SPECIAL__BTN_MORE")}),d.kegl.content.btnmore.addEventListener("click",function(e){l.send(c.events.keglmore,d.kegl.content.btnmore),d.kegl.status.innerHTML=n()}),r(d.kegl.content.btnless,{class:"btn btn-outline px-3",background:"white",border:"black",font:"14px",text:"A+",title:BX.message("SF_SPECIAL__BTN_LESS")}),d.kegl.content.btnless.addEventListener("click",function(e){l.send(c.events.keglless,d.kegl.content.btnless),d.kegl.status.innerHTML=n()}),d.kegl.status.classList.add("status-text","mt-2"),d.kegl.status.style.color="rgba(0,0,0, 0.87)",d.kegl.status.innerHTML=n(),d.kegl.content.appendChild(d.kegl.content.btnmore),d.kegl.content.appendChild(d.kegl.content.btnless),d.kegl.appendChild(d.kegl.content),d.kegl.appendChild(d.kegl.status),d.appendChild(d.kegl),d.kerning=document.createElement("div"),d.kerning.className=c.modifier.kerning,d.kerning.name=document.createElement("div"),d.kerning.content=document.createElement("div"),d.kerning.status=document.createElement("div"),d.kerning.name.classList.add("name-text","mb-2"),d.kerning.name.style.color="rgba(0,0,0,0.87)",d.kerning.name.innerHTML=BX.message("SF_SPECIAL__KERNING"),d.kerning.appendChild(d.kerning.name),d.kerning.content.classList.add("kerning-content","btn-group"),d.kerning.status.classList.add("status-text","mt-2"),d.kerning.status.style.color="rgba(0,0,0,0.87)",d.kerning.status.innerHTML=i(),d.kerning.content.btnnormal=document.createElement("button"),d.kerning.content.btnmiddle=document.createElement("button"),d.kerning.content.btnbig=document.createElement("button"),r(d.kerning.content.btnnormal,{class:"btn btn-outline px-3",background:"white",border:"black",font:"14px",text:"1.0",title:BX.message("SF_SPECIAL__BTN_NORMAL")}),d.kerning.content.btnnormal.addEventListener("click",function(e){l.send(c.events.kerningnormal,d.kerning.content.btnnormal),d.kerning.status.innerHTML=i()}),r(d.kerning.content.btnmiddle,{class:"btn btn-outline px-3",background:"white",border:"black",font:"14px",text:"1.5",title:BX.message("SF_SPECIAL__BTN_MIDDLE")}),d.kerning.content.btnmiddle.addEventListener("click",function(e){l.send(c.events.kerningmiddle,d.kerning.content.btnmiddle),d.kerning.status.innerHTML=i()}),r(d.kerning.content.btnbig,{class:"btn btn-outline px-3",background:"white",border:"black",font:"14px",text:"2.0",title:BX.message("SF_SPECIAL__BTN_BIG")}),d.kerning.content.btnbig.addEventListener("click",function(e){l.send(c.events.kerningbig,d.kerning.content.btnbig),d.kerning.status.innerHTML=i()}),d.kerning.content.appendChild(d.kerning.content.btnnormal),d.kerning.content.appendChild(d.kerning.content.btnmiddle),d.kerning.content.appendChild(d.kerning.content.btnbig),d.kerning.appendChild(d.kerning.content),d.kerning.appendChild(d.kerning.status),d.appendChild(d.kerning),d.interval=document.createElement("div"),d.interval.className=c.modifier.interval,d.interval.name=document.createElement("div"),d.interval.name.classList.add("kegl-text","mb-2"),d.interval.name.style.color="rgba(0,0,0,0.87)",d.interval.name.innerHTML=BX.message("SF_SPECIAL__INTERVAL"),d.interval.appendChild(d.interval.name),d.interval.content=document.createElement("div"),d.interval.status=document.createElement("div"),d.interval.content.classList.add("interval-content","btn-group"),d.interval.content.btnone=document.createElement("button"),d.interval.content.btnhalf=document.createElement("button"),d.interval.content.btntwo=document.createElement("button"),r(d.interval.content.btnone,{class:"btn btn-outline px-3",background:"white",border:"black",font:"14px",text:"1.0",title:BX.message("SF_SPECIAL__BTN_ONE")}),d.interval.content.btnone.addEventListener("click",function(e){l.send(c.events.intervalone,d.interval.content.btnone),d.interval.status.innerHTML=o()}),r(d.interval.content.btnhalf,{class:"btn btn-outline px-3",background:"white",border:"black",font:"14px",text:"1.5",title:BX.message("SF_SPECIAL__BTN_HALF")}),d.interval.content.btnhalf.addEventListener("click",function(e){l.send(c.events.intervalhalf,d.interval.content.btnhalf),d.interval.status.innerHTML=o()}),r(d.interval.content.btntwo,{class:"btn btn-outline px-3",background:"white",border:"black",font:"14px",text:"2.0",title:BX.message("SF_SPECIAL__BTN_TWO")}),d.interval.content.btntwo.addEventListener("click",function(e){l.send(c.events.intervaltwo,d.interval.content.btntwo),d.interval.status.innerHTML=o()}),d.interval.status.classList.add("status-text","mt-2"),d.interval.status.style.color="rgba(0,0,0, 0.87)",d.interval.status.innerHTML=o(),d.interval.content.appendChild(d.interval.content.btnone),d.interval.content.appendChild(d.interval.content.btnhalf),d.interval.content.appendChild(d.interval.content.btntwo),d.interval.appendChild(d.interval.content),d.interval.appendChild(d.interval.status),d.appendChild(d.interval),d.color=document.createElement("div"),d.color.className=c.modifier.color,d.color.name=document.createElement("div"),d.color.name.classList.add("color-text","mb-2"),d.color.name.style.color="rgba(0,0,0,0.87)",d.color.name.innerHTML=BX.message("SF_SPECIAL__COLOR"),d.color.appendChild(d.color.name),d.color.content=document.createElement("div"),d.color.status=document.createElement("div"),d.color.content.classList.add("color-content","btn-group"),d.color.status.classList.add("status-text","mt-2"),d.color.status.style.color="rgba(0,0,0, 0.87)",d.color.status.innerHTML=t()+BX.message("SF_SPECIAL__SCHEMA"),d.color.content.btnwhite=document.createElement("button"),d.color.content.btnblack=document.createElement("button"),d.color.content.btnyellow=document.createElement("button"),d.color.content.btnblue=document.createElement("button"),d.color.content.btngreen=document.createElement("button"),r(d.color.content.btnwhite,{class:"btn btn-outline px-2",background:"white",border:"black",font:"14px",text:"C",title:BX.message("SF_SPECIAL__BTN_WHITE")}),d.color.content.btnwhite.addEventListener("click",function(e){l.cookies.get("specialcolor")!=c.events.colorwhite&&(l.send(c.events.colorwhite,e.target),d.color.status.innerHTML=t()+BX.message("SF_SPECIAL__SCHEMA"))}),r(d.color.content.btnblack,{class:"btn btn-outline px-2",background:"black",border:"white",font:"14px",text:"C",title:BX.message("SF_SPECIAL__BTN_BLACK")}),d.color.content.btnblack.addEventListener("click",function(e){l.cookies.get("specialcolor")!=c.events.colorblack&&(l.send(c.events.colorblack,e.target),d.color.status.innerHTML=t()+BX.message("SF_SPECIAL__SCHEMA"))}),r(d.color.content.btnyellow,{class:"btn btn-outline px-2",background:"#FF0",border:"black",font:"14px",text:"C",title:BX.message("SF_SPECIAL__BTN_YELLOW")}),d.color.content.btnyellow.addEventListener("click",function(e){l.cookies.get("specialcolor")!=c.events.coloryellow&&(l.send(c.events.coloryellow,e.target),d.color.status.innerHTML=t()+BX.message("SF_SPECIAL__SCHEMA"))}),r(d.color.content.btnblue,{class:"btn btn-outline px-2",background:"#9fd7ff",border:"black",font:"14px",text:"C",title:BX.message("SF_SPECIAL__BTN_BLUE")}),d.color.content.btnblue.addEventListener("click",function(e){l.cookies.get("specialcolor")!=c.events.colorblue&&(l.send(c.events.colorblue,e.target),d.color.status.innerHTML=t()+BX.message("SF_SPECIAL__SCHEMA"))}),r(d.color.content.btngreen,{class:"btn btn-outline px-2",background:"black",border:"#a9dd38",font:"14px",text:"C",title:BX.message("SF_SPECIAL__BTN_GREEN")}),d.color.content.btngreen.addEventListener("click",function(e){l.cookies.get("specialcolor")!=c.events.colorgreen&&(l.send(c.events.colorgreen,e.target),d.color.status.innerHTML=t()+BX.message("SF_SPECIAL__SCHEMA"))}),d.color.content.appendChild(d.color.content.btnwhite),d.color.content.appendChild(d.color.content.btnblack),d.color.content.appendChild(d.color.content.btnyellow),d.color.content.appendChild(d.color.content.btnblue),d.color.content.appendChild(d.color.content.btngreen),d.color.appendChild(d.color.content),d.color.appendChild(d.color.status),d.appendChild(d.color),d.img=document.createElement("div"),d.img.className=c.modifier.img,d.img.name=document.createElement("div"),d.img.name.classList.add("color-text","mb-2"),d.img.name.style.color="rgba(0,0,0,0.87)",d.img.name.innerHTML=BX.message("SF_SPECIAL__IMG"),d.img.appendChild(d.img.name),d.img.content=document.createElement("div"),d.img.status=document.createElement("div"),d.img.status.classList.add("status-text","mt-2"),d.img.status.style.color="rgba(0,0,0,0.87)",d.img.status.innerHTML=s(),d.img.content.classList.add("img-content","btn-group"),d.img.content.btnoff=document.createElement("button"),d.img.content.btnbw=document.createElement("button"),d.img.content.btncolor=document.createElement("button"),r(d.img.content.btnoff,{class:"btn btn-outline px-3",background:"white",border:"black",font:"14px",text:BX.message("SF_SPECIAL__BTN_OFF_TEXT"),title:BX.message("SF_SPECIAL__IMG_BTN_OFF_TEXT")}),d.img.content.btnoff.addEventListener("click",function(e){l.send(c.events.imageoff,d.img.content.btnoff),d.img.status.innerHTML=s(),a("off")}),r(d.img.content.btnbw,{class:"btn btn-outline px-3",background:"white",border:"black",font:"14px",text:BX.message("SF_SPECIAL__BTN_BW_TEXT"),title:BX.message("SF_SPECIAL__IMG_BTN_BW")}),d.img.content.btnbw.addEventListener("click",function(e){l.send(c.events.imageblack,d.img.content.btnbw),d.img.status.innerHTML=s(),a("onblack")}),r(d.img.content.btncolor,{class:"btn btn-outline px-3",background:"white",border:"black",font:"14px",text:BX.message("SF_SPECIAL__IMG_BTN_COLOR_TEXT"),title:BX.message("SF_SPECIAL__IMG_BTN_COLOR")}),d.img.content.btncolor.addEventListener("click",function(e){l.send(c.events.imagecolor,d.img.content.btncolor),d.img.status.innerHTML=s(),a("oncolor")}),d.img.content.appendChild(d.img.content.btnoff),d.img.content.appendChild(d.img.content.btnbw),d.img.content.appendChild(d.img.content.btncolor),d.img.appendChild(d.img.content),d.img.appendChild(d.img.status),d.appendChild(d.img),d.onoff=document.createElement("div"),d.onoff.className=c.modifier.onoff,d.onoff.name=document.createElement("div"),d.onoff.name.classList.add("onoff-text","mb-2"),d.onoff.name.style.color="rgba(0,0,0,0.87)",d.onoff.name.innerHTML=BX.message("SF_SPECIAL__PANEL"),d.onoff.appendChild(d.onoff.name),d.onoff.content=document.createElement("div"),d.onoff.content.classList.add("onoff-content","btn-group"),d.onoff.content.btnup=document.createElement("button"),d.onoff.content.btndefault=document.createElement("button"),d.onoff.content.btnonoff=document.createElement("button"),r(d.onoff.content.btndefault,{class:"btn btn-outline px-3",background:"white",border:"black",font:"14px",text:'<i class="fas fa-sync-alt" style="color:black!important"></i>',title:BX.message("SF_SPECIAL__BTN_DEFAULT")}),d.onoff.content.btndefault.addEventListener("click",function(e){l.send(c.events.defaultsetting,d),document.querySelectorAll(".sf-special-alt-text").forEach(e
1=>{e.remove()}),a("off")}),r(d.onoff.content.btnonoff,{class:"btn btn-outline px-3",background:"white",border:"black",font:"14px",text:BX.message("SF_SPECIAL__BTN_OFF_TEXT"),title:BX.message("SF_SPECIAL__BTN_OFF")}),d.onoff.content.btnonoff.addEventListener("click",function(e){console.log(d),l.send(c.events.close,d),l.send(c.events.defaultsetting,d),document.querySelector("html").style.fontSize="16px",a("onblack")}),r(d.onoff.content.btnup,{class:"btn btn-outline px-3",background:"white",border:"black",font:"14px",text:'<i class="far fa-angle-up" style="color:black!important"></i>',title:BX.message("SF_SPECIAL__BTN_UP")}),d.onoff.content.btnup.style.position="absolute",d.onoff.content.btnup.style.bottom="0",d.onoff.content.btnup.style.left="0",d.onoff.content.btnup.style.borderBottom="0 solid black",d.onoff.content.btnup.style.borderRadius="0",d.onoff.content.btnup.style.zIndex="10","down"==l.cookies.get("specialup")?(d.style.marginTop="-"+d.clientHeight+"px",d.onoff.content.btnup.style.bottom="-"+d.onoff.content.btnup.clientHeight+"px",d.onoff.content.btnup.style.transform="rotate(180deg)",l.cookies.set("specialup","up",7)):(d.style.marginTop="0",d.onoff.content.btnup.style.bottom="0",d.onoff.content.btnup.style.transform="rotate(0deg)",l.cookies.set("specialup","down",7)),d.onoff.content.btnup.addEventListener("click",function(e){l.send(c.events.up,d)}),d.onoff.content.appendChild(d.onoff.content.btndefault),d.onoff.content.appendChild(d.onoff.content.btnonoff),d.onoff.appendChild(d.onoff.content),d.appendChild(d.onoff),d.appendChild(d.onoff.content.btnup),d},this.modal=function(e){var t={load:{},area:{content:{},close:{}}},n=this,i=e.target.params,s=document.body.querySelector(".sf-pagewrap-area"),a=e.target;return(t=document.createElement("div")).load=document.createElement("div"),t.load.innerHTML=i.load,t.area=document.createElement("div"),t.area.content=document.createElement("div"),t.area.close=document.createElement("button"),t.load.setAttribute(i.attributes.load,""),t.className=i.modifier.overlay,t.style.display="flex",t.load.style.position="fixed",t.load.style.top="0",t.load.style.left="0",t.load.style.width="100%",t.setAttribute(i.attributes.overlay,""),t.addEventListener("click",function(e){e.target.hasAttribute(i.attributes.overlay)&&n.send(i.events.close,t)}),t.classList=i.modifier.overlay,t.setAttribute(i.data.src,i.modifier.src),t.style.zIndex=this.topZIndex()+1,t.area.setAttribute(i.attributes.modal,""),t.area.className=i.modifier.modal,t.area.content.setAttribute(i.attributes.content,""),t.area.content.className=i.modifier.content,t.area.style.opacity="0",t.area.appendChild(t.area.content),t.area.close.addEventListener("click",function(e){n.send(i.events.close,t)}),t.area.close.setAttribute(i.attributes.close,""),t.area.close.className=i.modifier.close,t.area.appendChild(t.area.close),t.appendChild(t.load),t.appendChild(t.area),this.receive(i.events.open,t,function(e){t.style.display="flex",document.body.style.overflow="hidden";try{(a.hasAttribute(i.data.blur)||null!=i.attributes.blur&&null!=i.attributes.blur)&&null!=s&&s.classList.add(i.modifier.blur.replace(" ",""))}catch(e){}}),this.receive(i.events.close,t,function(e){null!=t.parentNode&&(t.area.style.opacity="0",t.area.content.innerHTML="",t.load.style.display="flex",t.parentNode.removeChild(t)),document.body.style.overflow="auto";try{(a.hasAttribute(i.data.blur)||null!=i.attributes.blur&&null!=i.attributes.blur)&&null!=s&&s.classList.remove(i.modifier.blur.replace(" ",""))}catch(e){}}),t},this.iframe=function(e){var t={load:{},area:{content:{},close:{}}},n=this,i=e.target.params,s=document.body.querySelector(".sf-pagewrap-area"),a=e.target;return(t=document.createElement("div")).load=document.createElement("div"),t.load.innerHTML=i.load,t.area=document.createElement("div"),t.area.content=document.createElement("iframe"),t.area.content.src=i.modifier.src,t.area.close=document.createElement("button"),t.load.setAttribute(i.attributes.load,""),t.load.className=i.modifier.load,t.load.style.position="fixed",t.load.style.top="0",t.load.style.left="0",t.load.style.width="100%",t.setAttribute(i.attributes.overlay,""),t.addEventListener("click",function(e){e.target.hasAttribute(i.attributes.overlay)&&n.send(i.events.close,t)}),t.classList=i.modifier.overlay,t.setAttribute(i.data.src,i.modifier.src),t.style.zIndex=this.topZIndex()+1,t.area.setAttribute(i.attributes.content,""),t.area.className=i.modifier.modal,t.area.content.setAttribute(i.attributes.content,""),t.area.content.className=i.modifier.content,t.area.style.opacity="0",t.area.appendChild(t.area.content),t.area.close.addEventListener("click",function(e){n.send(i.events.close,t)}),t.area.close.setAttribute(i.attributes.close,""),t.area.close.className=i.modifier.close,t.area.appendChild(t.area.close),t.appendChild(t.load),t.appendChild(t.area),this.receive(i.events.open,a||window,function(e){t.style.opacity=1,document.body.style.overflow="hidden",t.style.display="flex",(a.hasAttribute(i.data.blur)||i.attributes.blur)&&null!=s&&s.classList.add(i.modifier.blur)}),this.receive(i.events.close,t,function(e){null!=t.parentNode&&(t.area.style.opacity="0",t.area.content.innerHTML="",t.load.style.display="flex",t.parentNode.removeChild(t)),document.body.style.overflow="auto",(a.hasAttribute(i.data.blur)||i.attributes.blur)&&null!=s&&s.classList.add(i.modifier.blur)}),this.send(i.events.open,a),t},this.providercreate=function(e){var t=e.target.blocks,n=e.target,i=n.params;switch(t){case"modal":n.modal=this.modal(e),n.event=i.events.init,this.send("providerend",n);break;case"special":n.special=this.special(e),n.event=i.events.init,this.send("providerend",n);break;case"ajaxload":n.event=i.events.init,this.send("providerend",n)}};var t=this;this.stack.ev("providerstart")&&(this.receive("providerstart",window,function(e){t.providercreate(e)}),this.stack.events.push("providerstart"))},SF.Modal=function(e,t){this.createNew=function(e){var t=(new SF.Parameters).newparams();window.blocks="modal",window.params=this.extend(t.blocks.modal,window.params),e.target.blocks="modal",e.target.params=this.extend(t.blocks.modal,window.params),e.target.modal=a.modal(e),window.modal=a.modal(e),a.create(e)},this.create=function(e){var n=e.target.modal,i=e.target,t=null,s=i.params;try{i.hasAttribute(s.data.iframe)&&(n=this.iframe(e))}catch(e){}
1e=document.body.querySelector(".sf-service-bottom-area");null==e||null==e?((e=document.createElement("div")).classList.add(i.params.modifier.service),document.body.appendChild(e)):t=e.querySelector(".sf-modal-container"),null!=t&&null!=t||((t=document.createElement("section")).setAttribute("modal-container",""),t.className=s.modifier.container);try{t.appendChild(n)}catch(e){t.innerHTML=n}e.appendChild(t),setTimeout(function(){var e;n.hasAttribute(i.params.data.src)&&(null!=(e=n.getAttribute(i.params.data.src).replace(" ",""))&&""!=e?"."==e[0]&&function(e){for(var t="abcdefghijklmnopqrstuvwxyz",n=0,i=0;i<t.length;i++)t[i]==e&&n++;return 0<n}(e[1])||"#"==e[0]||"["==e[0]?(n.area.content.appendChild(document.body.querySelector(e).cloneNode(!0)),a.searchdata(n.area.content),n.load.style.display="none",n.area.style.opacity="1",a.send(i.params.events.open,n)):BX.ajax.post(n.getAttribute(i.params.data.src),"",function(t){try{i.hasAttribute(s.data.iframe)||(n.area.content.innerHTML=t)}catch(e){n.area.content.innerHTML=t}a.searchdata(n.area.content),n.load.style.display="none",n.area.style.opacity="1",a.send(i.params.events.open,n)}):(n.area.content.innerHTML='<div class="w-100 h-100"><h6 class="c-red">Error</h6></div>',a.searchdata(n.area.content),n.load.style.display="none",n.area.style.opacity="1",a.send(i.params.events.open,n)))},1e3)},SF.Events.call(this),this.el=e,this.stack=stack;var a=this,e=(new SF.Parameters).newparams(),t=this.extend(e.blocks.modal,t);this.el&&(this.el.blocks="modal",this.el.params=t),this.receive(t.events.init,window,function(e){var t=e;t.target.addEventListener("click",function(e){e.preventDefault(),a.create(t)})}),this.receive(t.events.create,window,function(e){a.createNew(e)}),this.quickkey(function(e){var t=a.topZIndexElement(document.body.querySelectorAll(".sf-modal-overlay"));a.send("modalclose",t)},27),SF.Controller.call(this)},SF.Special=function(e,t){this.updateparam=function(e){for(var t in e)i.cookies.get(t)&&(e[t]=i.cookies.get(t));return e},SF.Events.call(this),this.el=e;var i=this,e=(new SF.Parameters).newparams(),n=this.extend(e.blocks.special,t);this.stack=stack;var s=document.querySelector("html"),a=document.body,o=a.querySelector("#bx-panel"),r=!0;function l(){document.querySelectorAll(".sf-special-alt-text").forEach(e=>{e.remove()})}function c(){document.querySelectorAll("main img").forEach(e=>{e.classList.contains("no-special")||(e.classList.remove("sf-special-hidden"),e.classList.add("sf-special-show"))})}null===o&&(o=a.querySelector(".sf-service-top-area"),r=!1),this.el&&(this.el.blocks="special",this.el.params=n),n.cookies=this.updateparam(n.cookies),this.stack.ev(n.events.close)&&(this.receive(n.events.close,window,function(e){e=e.target;e.parentNode.removeChild(e),i.el.linkcss.parentNode.removeChild(i.el.linkcss),i.send(n.events.soundoff,window),i.cookies.set("specialstate","off",7)}),this.stack.events.push(n.events.close)),this.stack.ev(n.events.open)&&(this.receive(n.events.open,window,function(e){switch(i.cookies.set("specialstate","on",7),i.updateparam(n.cookies),1==r?o.after(i.el.special):o.insertBefore(i.el.special,o.firstChild),s.classList.add("special"),n.cookies.specialfont){case"sans":i.send(n.events.fontsans,e.target);break;case"serif":i.send(n.events.fontserif,e.target);break;case"mono":i.send(n.events.fontmono,e.target)}switch(n.cookies.specialkerning){case"normal":i.send(n.events.kerningnormal,e.target);break;case"middle":i.send(n.events.kerningmiddle,e.target);break;case"big":i.send(n.events.kerningbig,e.target)}switch(n.cookies.specialinterval){case"1.0":i.send(n.events.intervalone,e.target);break;case"1.5":i.send(n.events.intervalhalf,e.target);break;case"2.0":i.send(n.events.intervaltwo,e.target)}switch(s.style.fontSize=n.cookies.specialkegl+"px",a.style.fontSize=n.cookies.specialkegl+"px",n.cookies.specialimage){case"off":s.classList.add("special-img-none"),s.classList.remove("special-img-black"),i.cookies.set("specialimage","off",7);break;case"oncolor":s.classList.remove("special-img-none"),s.classList.remove("special-img-black"),i.cookies.set("specialimage","oncolor",7);break;case"onblack":s.classList.add("special-img-black"),s.classList.remove("special-img-none"),i.cookies.set("specialimage","onblack",7)}i.el.linkcss=i.addcss(n.modifier[n.cookies.specialcolor]);var t=i.cookies.get("specialimage");"off"==t?(document.querySelectorAll("div.sf-special-hidden").forEach(e
1=>{e.classList.remove("sf-special-hidden"),e.classList.add("sf-special-show")}),document.querySelectorAll("main img").forEach(e=>{var t,n;e.classList.contains("no-special")||!1===e.parentNode.classList.contains("sf-viewbox-wrap")&&(e.classList.remove("sf-special-show"),e.classList.add("sf-special-hidden"),(t=document.createElement("div")).classList.add("sf-special-show"),t.classList.add("sf-special-alt-text"),t.classList.add("t-center"),""!==e.alt?t.innerText=e.alt:(n=e.src,t.innerText=n.replace(/^.*[\\\/]/,"")),e.parentNode.insertBefore(t,e))})):"onblack"!=t&&"oncolor"!=t||setTimeout(function(){document.querySelectorAll(".sf-special-show").forEach(e=>{e.classList.add("sf-special-hidden"),e.classList.remove("sf-special-show")}),document.querySelectorAll("main img").forEach(e=>{e.classList.contains("no-special")||(e.classList.remove("sf-special-hidden"),e.classList.add("sf-special-show"))}),document.querySelectorAll(".sf-special-alt-text").forEach(e=>{e.remove()})},500);t=document.body.querySelector("[sf-special-panel]");"on"==n.cookies.specialsound&&i.send(n.events.soundon,t)}),this.stack.events.push(n.events.open)),this.stack.ev(n.events.fontsans)&&(this.receive(n.events.fontsans,window,function(e){s.classList.add("special-font-sans"),s.classList.remove("special-font-serif"),s.classList.remove("special-font-mono"),i.cookies.set("specialfont","sans",7)}),this.stack.events.push(n.events.fontsans)),this.stack.ev(n.events.fontserif)&&(this.receive(n.events.fontserif,window,function(e){s.classList.remove("special-font-sans"),s.classList.add("special-font-serif"),s.classList.remove("special-font-mono"),i.cookies.set("specialfont","serif",7)}),this.stack.events.push(n.events.fontserif)),this.stack.ev(n.events.fontmono)&&(this.receive(n.events.fontmono,window,function(e){s.classList.remove("special-font-sans"),s.classList.remove("special-font-serif"),s.classList.add("special-font-mono"),i.cookies.set("specialfont","mono",7)}),this.stack.events.push(n.events.fontmono)),this.stack.ev(n.events.keglless)&&(this.receive(n.events.keglless,window,function(e){var t;i.updateparam(n.cookies),n.cookies.specialkegl<24&&(t=Number(n.cookies.specialkegl),s.style.fontSize=++t+"px",a.style.fontSize=t+"px",i.cookies.set("specialkegl",t,7))}),this.stack.events.push(n.events.keglless)),this.stack.ev(n.events.keglmore)&&(this.receive(n.events.keglmore,window,function(e){var t;i.updateparam(n.cookies),14<n.cookies.specialkegl&&(t=Number(n.cookies.specialkegl),s.style.fontSize=--t+"px",a.style.fontSize=t+"px",i.cookies.set("specialkegl",t,7))}),this.stack.events.push(n.events.keglmore)),this.stack.ev(n.events.kerningnormal)&&(this.receive(n.events.kerningnormal,window,function(e){i.updateparam(n.cookies),s.classList.remove("special-kerning-middle"),s.classList.remove("special-kerning-big"),i.cookies.set("specialkerning","normal",7)}),this.stack.events.push(n.events.kerningnormal)),this.stack.ev(n.events.kerningmiddle)&&(this.receive(n.events.kerningmiddle,window,function(e){i.updateparam(n.cookies),s.classList.add("special-kerning-middle"),s.classList.remove("special-kerning-big"),i.cookies.set("specialkerning","middle",7)}),this.stack.events.push(n.events.kerningmiddle)),this.stack.ev(n.events.kerningbig)&&(this.receive(n.events.kerningbig,window,function(e){i.updateparam(n.cookies),s.classList.remove("special-kerning-middle"),s.classList.add("special-kerning-big"),i.cookies.set("specialkerning","big",7)}),this.stack.events.push(n.events.kerningbig)),this.stack.ev(n.events.intervalone)&&(this.receive(n.events.intervalone,window,function(e){i.updateparam(n.cookies),s.classList.remove("special-interval-15"),s.classList.remove("special-inerval-20"),i.cookies.set("specialinterval","1",7)}),this.stack.events.push(n.events.intervalone)),this.stack.ev(n.events.intervalhalf)&&(this.receive(n.events.intervalhalf,window,function(e){i.updateparam(n.cookies),s.classList.add("special-interval-15"),s.classList.remove("special-inerval-20"),i.cookies.set("specialinterval","1.5",7)}),this.stack.events.push(n.events.intervalhalf)),this.stack.ev(n.events.intervaltwo)&&(this.receive(n.events.intervaltwo,window,function(e){i.updateparam(n.cookies),s.classList.remove("special-interval-15"),s.classList.add("special-inerval-20"),i.cookies.set("specialinterval","2.0",7)}),this.stack.events.push(n.events.intervaltwo)),this.stack.ev(n.events.imagecolor)&&(this.receive(n.events.imagecolor,window,function(e){i.updateparam(n.cookies),s.classList.remove("special-img-none"),s.classList.remove("special-img-black"),i.cookies.set("specialimage","oncolor",7)}),this.stack.events.push(n.events.imagecolor)),this.stack.ev(n.events.imageblack)&&(this.receive(n.events.imageblack,window,function(e){i.updateparam(n.cookies),s.classList.remove("special-img-none"),s.classList.add("special-img-black"),i.cookies.set("specialimage","onblack",7)}),this.stack.events.push(n.events.imageblack)),this.stack.ev(n.events.imageoff)&&(this.receive(n.events.imageoff,window,function(e){i.updateparam(n.cookies),s.classList.add("special-img-none"),s.classList.remove("special-img-black"),i.cookies.set("specialimage","off",7)}),this.stack.events.push(n.events.imageoff)),this.stack.ev(n.events.colorwhite)&&(this.receive(n.events.colorwhite,window,function(e){i.updateparam(n.cookies),o.insertBefore(i.el.special,o.firstChild),s.classList.add("special"),i.el.linkcss.parentNode.removeChild(i.el.linkcss),i.el.linkcss=i.addcss(n.modifier.specialwhite),i.cookies.set("specialcolor","specialwhite",7)}),this.stack.events.push(n.events.colorwhite)),this.stack.ev(n.events.colorblack)&&(this.receive(n.events.colorblack,window,function(e){o.insertBefore(i.el.special,o.firstChild),s.classList.add("special"),i.el.linkcss.parentNode.removeChild(i.el.linkcss),i.el.linkcss=i.addcss(n.modifier.specialblack),i.cookies.set("specialcolor","specialblack",7)}),this.stack.events.push(n.events.colorblack)),this.stack.ev(n.events.coloryellow)&&(this.receive(n.events.coloryellow,window,function(e){o.insertBefore(i.el.special,o.firstChild),s.classList.add("special"),i.el.linkcss.parentNode.removeChild(i.el.linkcss),i.el.linkcss=i.addcss(n.modifier.specialyellow),i.cookies.set("specialcolor","specialyellow",7)}),this.stack.events.push(n.events.coloryellow)),this.stack.ev(n.events.colorblue)&&(this.receive(n.events.colorblue,window,function(e){o.insertBefore(i.el.special,o.firstChild),s.classList.add("special"),i.el.linkcss.parentNode.removeChild(i.el.linkcss),i.el.linkcss=i.addcss(n.modifier.specialblue),i.cookies.set("specialcolor","specialblue",7)}),this.stack.events.push(n.events.colorblue)),this.stack.ev(n.events.colorgreen)&&(this.receive(n.events.colorgreen,window,function(e){o.insertBefore(i.el.special,o.firstChild),s.classList.add("special"),i.el.linkcss.parentNode.removeChild(i.el.linkcss),i.el.linkcss=i.addcss(n.modifier.specialgreen),i.cookies.set("specialcolor","specialgreen",7)}),this.stack.events.push(n.events.colorgreen)),this.stack.ev(n.events.soundoff)&&(this.receive(n.events.soundoff,window,function(e){for(var t=document.body.querySelectorAll("[sf-play]"),n=0;n<t.length;n++)t[n].parentNode.removeChild(t[n]);i.cookies.set("specialsound","off",7)}),this.stack.events.push(n.events.soundoff)),this.stack.ev(n.events.defaultsetting)&&(this.receive(n.events.defaultsetting,window,function(e){var t=(new SF.Parameters).newparams().blocks.special,e=e.target;s.classList.remove("special-font-sans"),s.classList.remove("special-font-serif"),s.classList.remove("special-font-mono"),e.font.status.innerHTML=BX.message("SF_SPECIAL__FONT_DEFAULT"),i.cookies.set("specialfont",t.cookies.specialfont,7),s.style.fontSize=t.cookies.specialkegl+"px",e.kegl.status.innerHTML=t.cookies.specialkegl+BX.message("SF_SPECIAL__SPECIAL_KEGL"),i.cookies.set("specialkegl",t.cookies.specialkegl,7),s.classList.remove("special-kerning-middle"),s.classList.remove("special-kerning-big"),i.c
1ookies.set("specialkerning",t.cookies.specialkerning,7),e.kerning.status.innerHTML=BX.message("SF_SPECIAL__KERNING_NORMAL"),s.classList.remove("special-interval-15"),s.classList.remove("special-inerval-20"),i.cookies.set("specialinterval","1.0",7),e.interval.status.innerHTML=BX.message("SF_SPECIAL__INTERVAL_1_0"),i.el.linkcss.parentNode&&i.el.linkcss.parentNode.removeChild(i.el.linkcss),i.el.linkcss=i.addcss(t.modifier.specialwhite),i.cookies.set("specialcolor",t.cookies.specialcolor),e.color.status.innerHTML=BX.message("SF_SPECIAL__BTN_WHITE"),e.img.status.innerHTML=BX.message("SF_SPECIAL__IMG_OFF"),s.classList.add("special-img-none"),s.classList.remove("special-img-black"),document.querySelectorAll(".sf-special-show").forEach(e=>{e.classList.add("sf-special-hidden"),e.classList.remove("sf-special-show")}),i.cookies.set("specialimage","off",7)}),this.stack.events.push(n.events.defaultsetting)),this.stack.ev(n.events.up)&&(this.receive(n.events.up,window,function(e){e=e.target;"down"==i.cookies.get("specialup")?(e.style.marginTop="-"+e.clientHeight+"px",e.onoff.content.btnup.style.bottom="-"+e.onoff.content.btnup.clientHeight+"px",e.onoff.content.btnup.style.transform="rotate(180deg)",i.cookies.set("specialup","up",7)):(e.style.marginTop="0",e.onoff.content.btnup.style.bottom="0",e.onoff.content.btnup.style.transform="rotate(0deg)",i.cookies.set("specialup","down",7))}),this.stack.events.push(n.events.up)),"off"==n.cookies.specialstate?i.el.addEventListener("click",function(e){switch(e.preventDefault(),i.cookies.get("specialstate")){case"off":i.send(i.el.params.events.open,i.el),"off"==i.cookies.get("specialimage")&&document.querySelectorAll("div.sf-special-hidden").forEach(e=>{e.classList.remove("sf-special-hidden"),e.classList.add("sf-special-show")});break;case"on":var t=document.body.querySelector("[sf-special-panel]");t.parentNode.removeChild(t),i.el.linkcss.parentNode.removeChild(i.el.linkcss),i.cookies.set("specialstate","off",7),"off"==i.cookies.get("specialimage")&&document.querySelectorAll(".sf-special-show").forEach(e=>{e.classList.add("sf-special-hidden"),e.classList.remove("sf-special-show")}),document.querySelector("html").style.fontSize="16px",c(),l();break;default:i.send(i.el.params.events.open,i.el)}}):(i.updateparam(n.cookies),i.send(n.events.open,window),i.el.addEventListener("click",function(e){switch(i.cookies.get("specialstate")){case"off":i.send(i.el.params.events.open,i.el),"off"==i.cookies.get("specialimage")&&document.querySelectorAll(".sf-special-hidden").forEach(e=>{e.classList.remove("sf-special-hidden"),e.classList.add("sf-special-show")});break;case"on":var t=document.body.querySelector("[sf-special-panel]");t.parentNode.removeChild(t),i.el.linkcss.parentNode.removeChild(i.el.linkcss),i.cookies.set("specialstate","off",7),"off"==i.cookies.get("specialimage")&&document.querySelectorAll(".sf-special-show").forEach(e=>{e.classList.add("sf-special-hidden"),e.classList.remove("sf-special-show")}),document.querySelector("html").style.fontSize="16px",c(),l();break;default:i.send(i.el.params.events.open,i.el)}}))},SF.AjaxLoad=function(e,t){SF.Events.call(this),this.el=e;var n=this,e=(new SF.Parameters).newparams(),i=this.extend(e.blocks.ajaxload,t);this.stack=stack,this.el&&(this.el.blocks="ajaxload",this.el.params=i),this.receive(i.events.init,window,function(e){var e=e.target,t=setInterval(n.checklayer,1e3,e);n.receive(i.events.cancel,e,function(e){clearInterval(t)})}),this.receive(i.events.create,window,function(e){n.send("ajaxloadinit",e.target)}),this.checklayer=function(t){var e=getComputedStyle(t);"loaded"!==t.getAttribute(i.data.loaded)&&"none"!==e.display?(t.setAttribute(i.data.loaded,"loaded"),t.innerHTML=i.load,setTimeout(function(){BX.ajax.post(t.getAttribute(i.data.src),"",function(e){t.innerHTML=e,t.load.style.display="none"})},1e3)):t.setAttribute(i.data.loaded,""),t.hasAttribute(i.data.cancel)&&"loaded"==t.getAttribute(i.data.loaded)&&n.send(i.events.cancel,t)}},SF.Controller.Stack={el:[],events:[],log:[]};var stack=SF.Controller.Stack;function _defineProperties(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function _createClass(e,t,n){return t&&_defineProperties(e.prototype,t),n&&_defineProperties(e,n),e}function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _objectSpread(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},i=Object.keys(n);(i="function"==typeof Object.getOwnPropertySymbols?i.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}
1)):i).forEach(function(e){_defineProperty(t,e,n[e])})}return t}function _inheritsLoose(e,t){e.prototype=Object.create(t.prototype),(e.prototype.constructor=e).__proto__=t}SF.Controller.Stack.extend=function(e,t){var n,i=0;for(n in t){if(0<e.length)for(var s=0;s<e.length;s++)e[s]==t[n]&&i++;0==i&&e.push(t[n]),i=0}return e},SF.Controller.Stack.addevents=function(e){for(var t=this.stack.events,n=0,i=0;i<t.length;i++)t[i]==e&&n++;0==n&&t.push(e)},SF.Controller.Stack.ev=function(e){for(var t=this.events,n=0,i=0;i<t.length;i++)t[i]==e&&n++;return 0===n},window.addEventListener("DOMContentLoaded",function(e){new SF.AjaxLoad,new SF.Modal}),function(e){"use strict";function n(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function t(e,t){this.el=e,this.options=n({},this.options),n(this.options,t),this._init()}t.prototype.options={start:0},t.prototype._init=function(){this.tabs=[].slice.call(this.el.querySelectorAll("nav > ul > li")),this.items=[].slice.call(this.el.querySelectorAll(".sf-tab-content > section")),this.current=-1,this._initEvents(),this._hideTabIfContentEmpty(),this._overrideActiveTab()},t.prototype._initEvents=function(){var i=this;
1this.tabs.forEach(function(e,n){e.addEventListener("click",function(e){e.preventDefault();for(var t=0;t<i.tabs.length;t++)i.tabs[t].classList.remove("active"),i.items[t].classList.remove("active");i._show(n)})})},t.prototype._show=function(e){0<=this.current&&(this.tabs[this.current].classList.remove("active"),this.items[this.current].classList.remove("active")),null!=e&&(this.current=e,this.tabs[e].classList.add("active"),this.items[e].classList.add("active"))},t.prototype._hideTabIfContentEmpty=function(){const e=document.querySelector(".sf-tab-nav-wrap").querySelectorAll("li"),t=document.querySelectorAll(".sf-tab-content-wrap");document.querySelector(".sf-tab-nav");for(var n=!1,i=0;i<e.length;i++)!0===(n=0===t[i].querySelectorAll("div").length&&0===t[i].children.length?!0:n)&&(e[i].classList.remove("d-xl-flex"),e[i].classList.add("d-none")),n=!1},t.prototype._overrideActiveTab=function(){var n=!1,i=!1,s=0;this.tabs.forEach(function(e,t){e.classList.contains("active")&&e.classList.contains("d-none")?(e.classList.remove("active"),n=!0):!n||i||e.classList.contains("d-none")||(e.classList.add("active"),i=!0,s=t)}),this.items.forEach(function(e,t){t!=s||e.classList.contains("active")?t!=s&&e.classList.contains("active")&&e.classList.remove("active"):e.classList.add("active")})},e.sfTab=t}(window),window.addEventListener("DOMContentLoaded",function(){[].slice.call(document.querySelectorAll(".sf-tab")).forEach(function(e){new sfTab(e)})}),function(n){n(document).ready(function(){var t,e=document.querySelector(".sf-up");null!=e&&(e.getAttribute("data-animation"),t=e.getAttribute("data-speed"),scrollOffset=e.getAttribute("data-offset"),n(window).scroll(function(){n(window).scrollTop()>scrollOffset?n(".sf-up").addClass("active"):n(".sf-up").removeClass("active")}),n(".sf-up").on("click",function(e){e.preventDefault();e=n(window).scrollTop(),Math.round(1e3*e/t);document.documentElement.style.transitionProperty="all",document.documentElement.style.transitionDuration="0.8s",document.documentElement.style.transitionTimingFunction="ease",function e(){0!==window.pageYOffset&&(window.scrollBy(0,-10),setTimeout(e,1))}(),n("html, body").animate({scrollTop:0},t)}))})}
1(jQuery),setInterval(function(){var e=$(".sf-up").attr("class");null!=e&&($(".usage .current-class").text(e.replace("active","")),$(".usage .current-animation").text($(".animationEasing.active").data("value")),$(".usage .current-css").text($("#sf-up-style").attr("href")))},200),$(document).ready(function(){$(".hide-show-btn").on("click",function(e){e.preventDefault();var t=function e(t){if(t)return t.classList.contains("hide-show")?t:t.parentNode?e(t.parentNode):void 0}(e.currentTarget),e=e.currentTarget;t&&(e.classList.contains("hide")?t.classList.add("hidden"):e.classList.contains("show")&&t.classList.remove("hidden"))})}),function(o){o(document).ready(function(){function s(e){var t=e.parent(".sf-form"),n=e.siblings("label, i"),i=e.val().length,s=e.attr("placeholder"),a=e.parent().hasClass("sf-form-label");n[a=(i||s&&a?"add":"remove")+"Class"]("active"),e[a]("active"),t[a]("active")}function i(e){var t,n,i;e.hasClass("validate")&&(n=!(t=e.val()).length,i=!e[0].validity.badInput,n&&i?e.removeClass("valid").removeClass("invalid"):(n=e.is(":valid"),i=Number(e.attr("length"))||0,n&&(!i||i>t.length)?e.removeClass("invalid").addClass("valid"):e.removeClass("valid").addClass("invalid")))}function e(){var e,t,n,i=o(void 0);i.val().length&&(e=o(".hiddendiv"),n=i.css("font-family"),(t=i.css("font-size"))&&e.css("font-size",t),n&&e.css("font-family",n),"off"===i.attr("wrap")&&e.css("overflow-wrap","normal").css("white-space","pre"),e.text(i.val()+"\n"),n=e.html().replace(/\n/g,"<br>"),e.html(n),e.css("width",i.is(":visible")?i.width():o(window).width()/2),i.css("height",e.height()))}var a,t=["text","password","email","url","tel","time","month","week","number","datetime","search","search-md","file"].map(function(e){return"input[type="+e+"]"}).join(", ")+", textarea",n="textarea";o(t).each(function(e,t){var n=o(t),i=n.siblings("label, i");s(n),t.validity.badInput&&1==par&&i.addClass("active")}),o(document).on("focus",t,function(e){o(e.target).siblings("label, i").addClass("active"),o(e.target).addClass("sf-form-focus")}),o(document).on("blur",t,function(e){var t=o(e.target),n=!t.val(),e=!e.target.validity.badInput;t.attr("placeholder");n&&e&&t.siblings("label, i").removeClass("active"),t.removeClass("sf-form-focus"),i(t)}),o(document).on("change",t,function(e){e=o(e.target);s(e),i(e)}),o("input[autofocus]").siblings("label, i").addClass("active"),o(document).on("reset",function(e){e=o(e.target);e.is("form")&&e.find(t).removeClass("valid").removeClass("invalid").each(function(e,t){var n=o(t),t=!n.val();n.attr("placeholder");t&&n.siblings("label, i").removeClass("active")})}),o("textarea").length&&(a=window.attachEvent?function(e,t,n){e.attachEvent("on"+t,n)}:function(e,t,n){e.addEventListener(t,n,!1)},o("textarea").each(function(){var e=this;function t(){e.style.height="auto",e.style.height=e.scrollHeight+"px"}function n(){window.setTimeout(t,0)}a(e,"change",t),a(e,"cut",n),a(e,"paste",n),a(e,"drop",n),a(e,"keydown",n),t()})),o(".hiddendiv").first().length||($hiddenDiv=o('<div class="hiddendiv common"></div>'),o("body").append($hiddenDiv)),o("body").is("text_area_selector")&&(o(n).each(e),o("body").on("keyup keydown",n,e))})}(jQuery),function(o){function r(e,t,n){var i=parseInt(Math.round(t/n*100)),s=e.find(".axis-segment"),t=e.find(".axis-pin"),n=e.find('input[type="range"]');s.css("width",i+"%"),t.css({left:i+"%",transition:"none","-webkit-transition":"none","-moz-transition":"none"}),n.val(i),!0===e.hasClass("range-led")&&e.find(".axis-pin span").text(i)}o.fn.rkmd_rangeSlider=function(){var i,s,a,e=o(this),t=(e.outerWidth(),e.offset().left,o(".sf-form-range"));o(".range-led");t.each(function(e,t){var n;this.classList.contains("range-led")?((i=o(this)).append('<div class="axis"><div class="axis-segment"></div><div class="axis-pin"><div class="axis-count"><span>0</span></div></div></div>'),s=i.find('input[type="range"]'),a=i.find(".axis"),slider_fill=a.find(".axis-segment"),slider_handle=a.find(".axis-pin"),slider_label=a.find(".axis-count"),n=parseInt(s.val()),slider_fill.css("width",n+"%"),slider_handle.css("left",n+"%"),slider_label.find("span").text(n)):((i=o(this)).append('<div class="axis"><div class="axis-segment"></div><div class="axis-pin"></div></div>'),s=i.find('input[type="range"]'),a=i.find(".axis"),slider_fill=a.find(".axis-segment"),slider_handle=a.find(".axis-pin"),n=s.val(),slider_fill.css("width",n+"%"),slider_handle.css("left",n+"%"))}),e.on("mousedown",".axis-pin",function(e){if(2===e.button)return!1;var t=o(this).parents(".sf-form-range"),n=t.outerWidth(),i=t.offset().left;if(!0===t.find('input[type="range"]').is(":disabled"))return!1;!0===t.hasClass("range-led")&&o(this).addClass("is-active");var s={mousemove:function(e){e=e.pageX-i;e<=n&&!(e<"0")&&r(t,e,n)},mouseup:function(e){o(this).off(s),!0===t.hasClass("range-led")&&t.find(".
1is-active").removeClass("is-active")}};o(document).on(s)}),e.on("mousedown",".axis",function(e){if(2===e.button)return!1;var t=o(this).parents(".sf-form-range"),n=t.outerWidth(),i=t.offset().left;if(!0===t.find('input[type="range"]').is(":disabled"))return!1;i=e.pageX-i;i<=n&&!(i<"0")&&r(t,i,n);var s={mouseup:function(e){o(this).off(s)}};o(document).on(s)})}}(jQuery),$(document).ready(function(){0<document.body.querySelectorAll(".sf-form-range").length&&$(".sf-form-range").rkmd_rangeSlider()}),window.addEventListener("DOMContentLoaded",function(e){var t=document.querySelectorAll(".sf-form-file-input");if(t)for(var n=0;n<t.length;n++){var i=t[n];i&&i.addEventListener("change",function(e){for(var e=e.currentTarget,t=e.files,e=e.nextElementSibling,n=[],i=0;i<t.length;i++)n.push(t[i].name);e&&0<n.length&&("INPUT"==e.tagName?e.setAttribute("value",n.join(", ")):(e.value=n.join(", "),e.style.height=e.scrollHeight+"px"),e.classList.add("active"))})}}),function(i){function n(){var e=Number(i(this).attr("length")),t=Number(i(this).val().length),n=t<=e;i(this).parent().find('span[class="character-counter"]').html(t+"/"+e),t=n,e=i(this),n=e.hasClass("invalid"),t&&n?e.removeClass("invalid"):t||n||(e.removeClass("valid"),e.addClass("invalid"))}function s(){i(this).parent().find('span[class="character-counter"]').html("")}i.fn.characterCounter=function(){return this.each(function(){var e,t;void 0!==i(this).attr("length")&&(i(this).on("input",n),i(this).on("focus",n),i(this).on("blur",s),e=i(this),t=i("<span/>").addClass("character-counter").css("float","right").css("font-size","12px").css("height",1),e.parent().append(t))})},i(document).ready(function(){i("input, textarea").characterCounter()})}(jQuery),window.addEventListener("DOMContentLoaded",function(e){for(var t,n,i,s,a,o=document.getElementsByClassName("sf-form-select"),r=0;r<o.length;r++){for(n=o[r].getElementsByTagName("select")[0],null!=(i=o[r].querySelector("label"))&&(i.innerHTML=n.options[n.selectedIndex].innerHTML),(s=document.createElement("DIV")).setAttribute("class","select-items inactive"),t=0;t<n.length;t++)(a=document.createElement("DIV")).innerHTML=n.options[t].innerHTML,a.addEventListener("click",function(e){for(var t,n,i=this.parentNode.parentNode.getElementsByTagName("select")[0],s=this.parentNode.parentNode.querySelector("label"),a=0;a<i.length;a++)if(i.options[a].innerHTML==this.innerHTML){for(i.selectedIndex=a,s.innerHTML=this.innerHTML,t=this.parentNode.getElementsByClassName("same-as-selected"),n=0;n<t.length;n++)t[n].removeAttribute("class");this.setAttribute("class","same-as-selected");break}s.click()}),s.appendChild(a);o[r].appendChild(s),null!=i&&i.addEventListener("click",function(e){e.stopPropagation();e=this.parentNode.querySelector(".select-items");e.classList.contains("inactive")?e.classList.remove("inactive"):e.classList.add("inactive"),this.classList.toggle("active")})}document.addEventListener("click",function(e){var t,n=document.body.querySelectorAll(".sf-form-select");null!==e.target.parentNode&&(t=e.target.parentNode.querySelector("label"));for(var i=0;i<n.length;i++){var s=n[i],a=s.querySelector("label"),s=s.querySelector(".select-items");a!=t&&(a.classList.remove("active"),s.classList.add("inactive"))}})}),Popper=Popper&&Popper.hasOwnProperty("default")?Popper.default:Popper;var MAX_UID=1e6,MILLISECONDS_MULTIPLIER=1e3,TRANSITION_END="transitionend",_window=window,jQuery=_window.jQuery,toType=function(e){return{}.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase()},getUID=function(e){for(;e+=~~(Math.random()*MAX_UID),document.getElementById(e););return e},getSelectorFromElement=function(e){var t=e.getAttribute("data-target");t&&"#"!==t||(t=(e=e.getAttribute("href"))&&"#"!==e?e.trim():"");try{return document.querySelector(t)?t:null}catch(e){return null}},getTransitionDurationFromElement=function(e){if(!e)return 0;var t=window.getComputedStyle(e),n=t.transitionDuration,i=t.transitionDelay,e=parseFloat(n),t=parseFloat(i);return e||t?(n=n.split(",")[0],i=i.split(",")[0],(parseFloat(n)+parseFloat(i))*MILLISECONDS_MULTIPLIER):0},triggerTransitionEnd=function(e){e.dispatchEvent(new Event(TRANSITION_END))},isElement=function(e){return(e[0]||e).nodeType},emulateTransitionEnd=function(t,e){var n=!1,e=e+5;t.addEventListener(TRANSITION_END,function e(){n=!0,t.removeEventListener(TRANSITION_END,e)}),setTimeout(function(){n||triggerTransitionEnd(t)},e)}
1,typeCheckConfig=function(i,s,a){Object.keys(a).forEach(function(e){var t=a[e],n=s[e],n=n&&isElement(n)?"element":toType(n);if(!new RegExp(t).test(n))throw new Error(i.toUpperCase()+': Option "'+e+'" provided type "'+n+'" but expected type "'+t+'".')})},makeArray=function(e){return e?[].slice.call(e):[]},isVisible=function(e){return!!e&&(!!(e.style&&e.parentNode&&e.parentNode.style)&&("none"!==e.style.display&&"none"!==e.parentNode.style.display&&"hidden"!==e.style.visibility))},findShadowRoot=function e(t){if(!document.documentElement.attachShadow)return null;if("function"!=typeof t.getRootNode)return t instanceof ShadowRoot?t:t.parentNode?e(t.parentNode):null;t=t.getRootNode();return t instanceof ShadowRoot?t:null},noop=function(){return function(){}},reflow=function(e){return e.offsetHeight},mapData=function(){var i={},s=1;return{set:function(e,t,n){void 0===e.key&&(e.key={key:t,id:s},s++),i[e.key.id]=n},get:function(e,t){if(!e||void 0===e.key)return null;e=e.key;return e.key===t?i[e.id]:null},delete:function(e,t){var n;void 0===e.key||(n=e.key).key===t&&(delete i[n.id],delete e.key)}}}(),Data={setData:function(e,t,n){mapData.set(e,t,n)},getData:function(e,t){return mapData.get(e,t)},removeData:function(e,t){mapData.delete(e,t)}},Polyfill=function(){var e,e=(n=new CustomEvent("Bootstrap",{cancelable:!0}),(e=document.createElement("div")).addEventListener("Bootstrap",function(){return null}),n.preventDefault(),e.dispatchEvent(n),n.defaultPrevented),t=Element.prototype.querySelectorAll,n=Element.prototype.querySelector,i=/:scope\b/;return function(){var e=document.createElement("div");try{e.querySelectorAll(":scope *")}catch(e){return!1}return!0}()||(t=function(e){if(!i.test(e))return this.querySelectorAll(e);var t=Boolean(this.id);t||(this.id=getUID("scope"));var n=null;try{e=e.replace(i,"#"+this.id),n=this.querySelectorAll(e)}finally{t||this.removeAttribute("id")}return n},n=function(e){if(!i.test(e))return this.querySelector(e);e=t.call(this,e);return void 0!==e[0]?e[0]:null}),{defaultPreventedPreservedOnDispatch:e,find:t,findOne:n}}(),namespaceRegex=/[^.]*(?=\..*)\.|.*/,stripNameRegex=/\..*/,keyEventRegex=/^key/,stripUidRegex=/::\d+$/,eventRegistry={},uidEvent=1,customEvents={mouseenter:"mouseover",mouseleave:"mou
1seout"},nativeEvents=["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"];function getUidEvent(e,t){return t&&t+"::"+uidEvent++||e.uidEvent||uidEvent++}function getEvent(e){var t=getUidEvent(e);return e.uidEvent=t,eventRegistry[t]=eventRegistry[t]||{},eventRegistry[t]}function fixEvent(e,t){null===e.which&&keyEventRegex.test(e.type)&&(e.which=null===e.charCode?e.keyCode:e.charCode),e.delegateTarget=t}function bootstrapHandler(n,i){return function e(t){return fixEvent(t,n),e.oneOff&&EventHandler.off(n,t.type,i),i.apply(n,[t])}}function bootstrapDelegationHandler(a,o,r){return function e(t){for(var n=a.querySelectorAll(o),i=t.target;i&&i!==this;i=i.parentNode)for(var s=n.length;s--;)if(n[s]===i)return fixEvent(t,i),e.oneOff&&EventHandler.off(a,t.type,r),r.apply(i,[t]);return null}}function findHandler(e,t,n){void 0===n&&(n=null);for(var i=Object.keys(e),s=0;s<i.length;s++){var a=i[s],o=e[a];if(o.originalHandler===t&&o.delegationSelector===n)return e[a]}return null}function normalizeParams(e,t,n){var i="string"==typeof t,s=i?n:t,n=e.replace(stripNameRegex,""),t=customEvents[n];return[i,s,n=!(-1<nativeEvents.indexOf(n=t?t:n))?e:n]}function addHandler(e,t,n,i,s){var a,o,r,l,c;"string"==typeof t&&e&&(n||(n=i,i=null),a=(l=normalizeParams(t,n,i))[0],o=l[1],r=l[2],(c=findHandler(l=(c=getEvent(e))[r]||(c[r]={}),o,a?n:null))?c.oneOff=c.oneOff&&s:(t=getUidEvent(o,t.replace(namespaceRegex,"")),(i=a?bootstrapDelegationHandler(e,n,i):bootstrapHandler(e,n)).delegationSelector=a?n:null,i.originalHandler=o,i.oneOff=s,l[i.uidEvent=t]=i,e.addEventListener(r,i,a)))}function removeHandler(e,t,n,i,s){i=findHandler(t[n],i,s);null!==i&&(e.removeEventListener(n,i,Boolean(s)),delete t[n][i.uidEvent])}function removeNamespacedHandlers(t,n,i,s){var a=n[i]||{};Object.keys(a).forEach(function(e){-1<e.indexOf(s)&&(e=a[e],removeHandler(t,n,i,e.originalHandler,e.delegationSelector))})}var JQUERY_NO_CONFLICT,EventHandler={on:function(e,t,n,i){addHandler(e,t,n,i,!1)},one:function(e,t,n,i){addHandler(e,t,n,i,!0)},off:function(n,i,e,t){if("string"==typeof i&&n){var s=normalizeParams(i,e,t),a=s[0],t=s[1],o=s[2],r=o!==i,l=getEvent(n),s="."===i.charAt(0);if(void 0!==t)return l&&l[o]?void removeHandler(n,l,o,t,a?e:null):void 0;s&&Object.keys(l).forEach(function(e){removeNamespacedHandlers(n,l,e,i.substr(1))});var c=l[o]||{};Object.keys(c).forEach(function(e){var t=e.replace(stripUidRegex,"");(!r||-1<i.indexOf(t))&&(e=c[e],removeHandler(n,l,o,e.originalHandler,e.delegationSelector))})}},trigger:function(e,t,n){if("string"!=typeof t||!e)return null;var i,s=t.replace(stripNameRegex,""),a=t!==s,o=-1<nativeEvents.indexOf(s),r=!0,l=!0,c=!1,d=null;return a&&void 0!==jQuery&&(i=jQuery.Event(t,n),jQuery(e).trigger(i),r=!i.isPropagationStopped(),l=!i.isImmediatePropagationStopped(),c=i.isDefaultPrevented()),o?(d=document.createEvent("HTMLEvents")).initEvent(s,r,!0):d=new CustomEvent(t,{bubbles:r,cancelable:!0}),void 0!==n&&Object.keys(n).forEach(function(e){Object.defineProperty(d,e,{get:function(){return n[e]}})}),c&&(d.preventDefault(),Polyfill.defaultPreventedPreservedOnDispatch||Object.defineProperty(d,"defaultPrevented",{get:function(){return!0}})),l&&e.dispatchEvent(d),d.defaultPrevented&&void 0!==i&&i.preventDefault(),d}},findFn=Polyfill.find,_findOne=Polyfill.findOne,NODE_TEXT=3,SelectorEngine={matches:function(e,t){return e.matches(t)},find:function(e,t){return void 0===t&&(t=document.documentElement),"string"!=typeof e?null:findFn.call(t,e)},findOne:function(e,t){return void 0===t&&(t=document.documentElement),"string"!=typeof e?null:_findOne.call(t,e)},children:function(e,t){var n=this;return"string"!=typeof t?null:makeArray(e.children).filter(function(e){return n.matches(e,t)})},parents:function(e,t){if("string"!=typeof t)return null;for(var n=[],i=e.parentNode;i&&i.nodeType===Node.ELEMENT_NODE&&i.nodeType!==NODE_TEXT;)this.matches(i,t)&&n.push(i),i=i.parentNode;return n},closest:function(e,t){return"string"!=typeof t?null:e.closest(t)},prev:function(e,t){if("string"!=typeof t)return null;for(var n=[],i=e.previousSibling;i&&i.nodeType===Node.ELEMENT_NODE&&i.nodeType!==NODE_TEXT;)this.matches(i,t)&&n.push(i),i=i.previousSibling;return n}},NAME="alert",VERSION="4.3.1",DATA_KEY="bs.alert",EVENT_KEY="."+DATA_KEY,DATA_API_KEY=".data-api",Selector={DISMISS:'[data-dismiss="alert"]'},Event$1={CLOSE:"close"+EVENT_KEY,CLOSED:"closed"+EVENT_KEY,CLICK_DATA_API:"click"+EVENT_KEY+DATA_API_KEY},ClassName={ALERT:"alert",FADE:"fade",SHOW:"show"},Alert=function(){function n(e){this._element=e,this._element&&Data.setData(e,DATA_KEY,this)}var e=n.prototype;return e.close=function(e){var t=this._element;e&&(t=this._getRootElement(e));e=this._triggerCloseEvent(t);null===e||e.defaultPrevented||this._removeElement(t)},e.dispose=function(){Data.removeData(this._element,DATA_KEY),this._element=null},e._getRootElement=function(e){var t=getSelectorFromElement(e),n=!1;return n=(n=t?SelectorEngine.findOne(t):n)||SelectorEngine.closest(e,"."+ClassName.ALERT)},e._triggerCloseEvent=function(e){return EventHandler.trigger(e,Event$1.CLOSE)},e._removeElement=function(t){var e,n=this;t.classList.remove(ClassName.SHOW),t.classList.contains(ClassName.FADE)?(e=getTransitionDurationFromElement(t),EventHandler.one(t,TRANSITION_END,function(e){return n._destroyElement(t,e)}),emulateTransitionEnd(t,e)):this._destroyElement(t)},e._destroyElement=function(e){e.parentNode&&e.parentNode.removeChild(e),EventHandler.trigger(e,Event$1.CLOSED)},n._jQueryInterface=function(t){return this.each(function(){var e=(e=Data.getData(this,DATA_KEY))||new n(this);"close"===t&&e[t](this)})},n._handleDismiss=function(t){return function(e){e&&e.preventDefault(),t.close(this)}},n._getInstance=function(e){return Data.getData(e,DATA_KEY)},_createClass(n,null,[{key:"VERSION",get:function(){return VERSION}}]),n}();EventHandler.on(document,Event$1.CLICK_DATA_API,Selector.DISMISS,Alert._handleDismiss(new Alert)),void 0!==jQuery&&(JQUERY_NO_CONFLICT=jQuery.fn[NAME],jQuery.fn[NAME]=Alert._jQueryInterface,jQuery.fn[NAME].Constructor=Alert,jQuery.fn[NAME].noConflict=function(){return jQuery.fn[NAME]=JQUERY_NO_CONFLICT,Alert._jQueryInterface});var JQUERY_NO_CONFLICT$1,NAME$1="button",VERSION$1="4.3.1",DATA_KEY$1="bs.button",EVENT_KEY$1="."+DATA_KEY$1,DATA_API_KEY$1=".data-api",ClassName$1={ACTIVE:"active",BUTTON:"bt
1n",FOCUS:"focus"},Selector$1={DATA_TOGGLE_CARROT:'[data-toggle^="button"]',DATA_TOGGLE:'[data-toggle="buttons"]',INPUT:'input:not([type="hidden"])',ACTIVE:".active",BUTTON:".btn"},Event$2={CLICK_DATA_API:"click"+EVENT_KEY$1+DATA_API_KEY$1,FOCUS_DATA_API:"focus"+EVENT_KEY$1+DATA_API_KEY$1,BLUR_DATA_API:"blur"+EVENT_KEY$1+DATA_API_KEY$1},Button=function(){function n(e){this._element=e,Data.setData(e,DATA_KEY$1,this)}var e=n.prototype;return e.toggle=function(){var e=!0,t=!0,n=SelectorEngine.closest(this._element,Selector$1.DATA_TOGGLE);if(n){var i,s=SelectorEngine.findOne(Selector$1.INPUT,this._element);if(s){if("radio"===s.type&&(s.checked&&this._element.classList.contains(ClassName$1.ACTIVE)?e=!1:(i=SelectorEngine.findOne(Selector$1.ACTIVE,n))&&i.classList.remove(ClassName$1.ACTIVE)),e){if(s.hasAttribute("disabled")||n.hasAttribute("disabled")||s.classList.contains("disabled")||n.classList.contains("disabled"))return;s.checked=!this._element.classList.contains(ClassName$1.ACTIVE),EventHandler.trigger(s,"change")}s.focus(),t=!1}}t&&this._element.setAttribute("aria-pressed",!this._element.classList.contains(ClassName$1.ACTIVE)),e&&this._element.classList.toggle(ClassName$1.ACTIVE)},e.dispose=function(){Data.removeData(this._element,DATA_KEY$1),this._element=null},n._jQueryInterface=function(t){return this.each(function(){var e=(e=Data.getData(this,DATA_KEY$1))||new n(this);"toggle"===t&&e[t]()})},n._getInstance=function(e){return Data.getData(e,DATA_KEY$1)},_createClass(n,null,[{key:"VERSION",get:function(){return VERSION$1}}]),n}();function normalizeData(e){return"true"===e||"false"!==e&&(e===Number(e).toString()?Number(e):""===e||"null"===e?null:e)}function normalizeDataKey(e){return e.replace(/[A-Z]/g,function(e){return e.toLowerCase()})}EventHandler.on(document,Event$2.CLICK_DATA_API,Selector$1.DATA_TOGGLE_CARROT,function(e){e.preventDefault();var t=e.target;t.classList.contains(ClassName$1.BUTTON)||(t=SelectorEngine.closest(t,Selector$1.BUTTON));e=Data.getData(t,DATA_KEY$1);e||(e=new Button(t),Data.setData(t,DATA_KEY$1,e)),e.toggle()}),EventHandler.on(document,Event$2.FOCUS_DATA_API,Selector$1.DATA_TOGGLE_CARROT,function(e){SelectorEngine.closest(e.target,Selector$1.BUTTON).classList.add(ClassName$1.FOCUS)}),EventHandler.on(document,Event$2.BLUR_DATA_API,Selector$1.DATA_TOGGLE_CARROT,function(e){SelectorEngine.closest(e.target,Selector$1.BUTTON).classList.remove(ClassName$1.FOCUS)}),void 0!==jQuery&&(JQUERY_NO_CONFLICT$1=jQuery.fn[NAME$1],jQuery.fn[NAME$1]=Button._jQueryInterface,jQuery.fn[NAME$1].Constructor=Button,jQuery.fn[NAME$1].noConflict=function(){return jQuery.fn[NAME$1]=JQUERY_NO_CONFLICT$1,Button._jQueryInterface});var JQUERY_NO_CONFLICT$4,Manipulator={setDataAttribute:function(e,t,n){e.setAttribute("data-"+normalizeDataKey(t),n)},removeDataAttribute:function(e,t){e.removeAttribute("data-"+normalizeDataKey(t))},getDataAttributes:function(e){if(!e)return{};var t=_objectSpread({},e.dataset);return Object.keys(t).forEach(function(e){t[e]=normalizeData(t[e])}),t},getDataAttribute:function(e,t){return normalizeData(e.getAttribute("data-"+normalizeDataKey(t)))},offset:function(e){e=e.getBoundingClientRect();return{top:e.top+document.body.scrollTop,left:e.left+document.body.scrollLeft}},position:function(e){return{top:e.offsetTop,left:e.offsetLeft}},toggleClass:function(e,t){e&&(e.classList.contains(t)?e.classList.remove(t):e.classList.add(t))}},NAME$4="dropdown",VERSION$4="4.3.1",DATA_KEY$4="bs.dropdown",EVENT_KEY$4="."+DATA_KEY$4,DATA_API_KEY$4=".data-api",ESCAPE_KEYCODE=27,SPACE_KEYCODE=32,TAB_KEYCODE=9,ARROW_UP_KEYCODE=38,ARROW_DOWN_KEYCODE=40,RIGHT_MOUSE_BUTTON_WHICH=3,REGEXP_KEYDOWN=new RegExp(ARROW_UP_KEYCODE+"|"+ARROW_DOWN_KEYCODE+"|"+ESCAPE_KEYCODE),Event$5={HIDE:"hide"+EVENT_KEY$4,HIDDEN:"hidden"+EVENT_KEY$4,SHOW:"show"+EVENT_KEY$4,SHOWN:"shown"+EVENT_KEY$4,CLICK:"click"+EVENT_KEY$4,CLICK_DATA_API:"click"+EVENT_KEY$4+DATA_API_KEY$4,KEYDOWN_DATA_API:"keydown"+EVENT_KEY$4+DATA_API_KEY$4,KEYUP_DATA_API:"keyup"+EVENT_KEY$4+DATA_API_KEY$4},ClassName$4={DISABLED:"disabled",SHOW:"show",DROPUP:"dropup",DROPRIGHT:"dropright",DROPLEFT:"dropleft",MENURIGHT:"dropdown-menu-right",POSITION_STATIC:"position-static"},Selector$4={DATA_TOGGLE:'[data-toggle="dropdown"]',FORM_CHILD:".dropdown form",MENU:".dropdown-menu",NAVBAR_NAV:".navbar-nav",VISIBLE_ITEMS:".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)"},AttachmentMap={TOP:"top-start",TOPEND:"top-end",BOTTOM:"bottom-start",BOTTOMEND:"bottom-end",RIGHT:"right-start",RIGHTEND:"right-end",LEFT:"left-start",LEFTEND:"left-end"},Default$2={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic"},DefaultType$2={offset:"(number|string|function)",flip:"boolean",boun
1dary:"(string|element)",reference:"(string|element)",display:"string"},Dropdown=function(){function r(e,t){this._element=e,this._popper=null,this._config=this._getConfig(t),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners(),Data.setData(e,DATA_KEY$4,this)}var e=r.prototype;return e.toggle=function(){if(!this._element.disabled&&!this._element.classList.contains(ClassName$4.DISABLED)){var e=r._getParentFromElement(this._element),t=this._menu.classList.contains(ClassName$4.SHOW);if(r._clearMenus(),!t){var n={relatedTarget:this._element};if(!EventHandler.trigger(e,Event$5.SHOW,n).defaultPrevented){if(!this._inNavbar){if("undefined"==typeof Popper)throw new TypeError("Bootstrap's dropdowns require Popper.js (https://popper.js.org)");t=this._element;"parent"===this._config.reference?t=e:isElement(this._config.reference)&&(t=this._config.reference,void 0!==this._config.reference.jquery&&(t=this._config.reference[0])),"scrollParent"!==this._config.boundary&&e.classList.add(ClassName$4.POSITION_STATIC),this._popper=new Popper(t,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&!makeArray(SelectorEngine.closest(e,Selector$4.NAVBAR_NAV)).length&&makeArray(document.body.children).forEach(function(e){return EventHandler.on(e,"mouseover",null,noop())}),this._element.focus(),this._element.setAttribute("aria-expanded",!0),Manipulator.toggleClass(this._menu,ClassName$4.SHOW),Manipulator.toggleClass(e,ClassName$4.SHOW),EventHandler.trigger(e,Event$5.SHOWN,n)}}}},e.show=function(){var e,t;this._element.disabled||this._element.classList.contains(ClassName$4.DISABLED)||this._menu.classList.contains(ClassName$4.SHOW)||(e=r._getParentFromElement(this._element),t={relatedTarget:this._element},EventHandler.trigger(e,Event$5.SHOW,t).defaultPrevented||(Manipulator.toggleClass(this._menu,ClassName$4.SHOW),Manipulator.toggleClass(e,ClassName$4.SHOW),EventHandler.trigger(e,Event$5.SHOWN,t)))},e.hide=function(){var e,t;this._element.disabled||this._element.classList.contains(ClassName$4.DISABLED)||!this._menu.classList.contains(ClassName$4.SHOW)||(e=r._getParentFromElement(this._element),t={relatedTarget:this._element},EventHandler.trigger(e,Event$5.HIDE,t).defaultPrevented||(Manipulator.toggleClass(this._menu,ClassName$4.SHOW),Manipulator.toggleClass(e,ClassName$4.SHOW),EventHandler.trigger(e,Event$5.HIDDEN,t)))},e.dispose=function(){Data.removeData(this._element,DATA_KEY$4),EventHandler.off(this._element,EVENT_KEY$4),this._element=null,(this._menu=null)!==this._popper&&(this._popper.destroy(),this._popper=null)},e.update=function(){this._inNavbar=this._detectNavbar(),null!==this._popper&&this._popper.scheduleUpdate()},e._addEventListeners=function(){var t=this;EventHandler.on(this._element,Event$5.CLICK,function(e){e.preventDefault(),e.stopPropagation(),t.toggle()})},e._getConfig=function(e){return e=_objectSpread({},this.constructor.Default,Manipulator.getDataAttributes(this._element),e),typeCheckConfig(NAME$4,e,this.constructor.DefaultType),e},e._getMenuElement=function(){var e;return this._menu||(e=r._getParentFromElement(this._element))&&(this._menu=SelectorEngine.findOne(Selector$4.MENU,e)),this._menu},e._getPlacement=function(){var e=this._element.parentNode,t=AttachmentMap.BOTTOM;return e.classList.contains(ClassName$4.DROPUP)?(t=AttachmentMap.TOP,this._menu.classList.contains(ClassName$4.MENURIGHT)&&(t=AttachmentMap.TOPEND)):e.classList.contains(ClassName$4.DROPRIGHT)?t=AttachmentMap.RIGHT:e.classList.contains(ClassName$4.DROPLEFT)?t=AttachmentMap.LEFT:this._menu.classList.contains(ClassName$4.MENURIGHT)&&(t=AttachmentMap.BOTTOMEND),t},e._detectNavbar=function(){return Boolean(SelectorEngine.closest(this._element,".navbar"))},e._getOffset=function(){var t=this,e={};return"function"==typeof this._config.offset?e.fn=function(e){return e.offsets=_objectSpread({},e.offsets,t._config.offset(e.offsets,t._element)||{}),e}:e.offset=this._config.offset,e},e._getPopperConfig=function(){var e={placement:this._getPlacement(),modifiers:{offset:this._getOffset(),flip:{enabled:this._config.flip}
1,preventOverflow:{boundariesElement:this._config.boundary}}};return"static"===this._config.display&&(e.modifiers.applyStyle={enabled:!1}),e},r._dropdownInterface=function(e,t){var n=(n=Data.getData(e,DATA_KEY$4))||new r(e,"object"==typeof t?t:null);if("string"==typeof t){if(void 0===n[t])throw new TypeError('No method named "'+t+'"');n[t]()}},r._jQueryInterface=function(e){return this.each(function(){r._dropdownInterface(this,e)})},r._clearMenus=function(e){if(!e||e.which!==RIGHT_MOUSE_BUTTON_WHICH&&("keyup"!==e.type||e.which===TAB_KEYCODE))for(var t=makeArray(SelectorEngine.find(Selector$4.DATA_TOGGLE)),n=0,i=t.length;n<i;n++){var s=r._getParentFromElement(t[n]),a=Data.getData(t[n],DATA_KEY$4),o={relatedTarget:t[n]};e&&"click"===e.type&&(o.clickEvent=e),a&&(a=a._menu,s.classList.contains(ClassName$4.SHOW)&&(e&&("click"===e.type&&/input|textarea/i.test(e.target.tagName)||"keyup"===e.type&&e.which===TAB_KEYCODE)&&s.contains(e.target)||EventHandler.trigger(s,Event$5.HIDE,o).defaultPrevented||("ontouchstart"in document.documentElement&&makeArray(document.body.children).forEach(function(e){return EventHandler.off(e,"mouseover",null,noop())}),t[n].setAttribute("aria-expanded","false"),a.classList.remove(ClassName$4.SHOW),s.classList.remove(ClassName$4.SHOW),EventHandler.trigger(s,Event$5.HIDDEN,o))))}},r._getParentFromElement=function(e){var t,n=getSelectorFromElement(e);return(t=n?SelectorEngine.findOne(n):t)||e.parentNode},r._dataApiKeydownHandler=function(e){if((/input|textarea/i.test(e.target.tagName)?!(e.which===SPACE_KEYCODE||e.which!==ESCAPE_KEYCODE&&(e.which!==ARROW_DOWN_KEYCODE&&e.which!==ARROW_UP_KEYCODE||SelectorEngine.closest(e.target,Selector$4.MENU))):REGEXP_KEYDOWN.test(e.which))&&(e.preventDefault(),e.stopPropagation(),!this.disabled&&!this.classList.contains(ClassName$4.DISABLED))){var t=r._getParentFromElement(this),n=t.classList.contains(ClassName$4.SHOW);if(!n||n&&(e.which===ESCAPE_KEYCODE||e.which===SPACE_KEYCODE))return e.which===ESCAPE_KEYCODE&&EventHandler.trigger(SelectorEngine.findOne(Selector$4.DATA_TOGGLE,t),"focus"),void r._clearMenus();n=makeArray(SelectorEngine.find(Selector$4.VISIBLE_ITEMS,t));
1n.length&&(t=n.indexOf(e.target),e.which===ARROW_UP_KEYCODE&&0<t&&t--,e.which===ARROW_DOWN_KEYCODE&&t<n.length-1&&t++,n[t=t<0?0:t].focus())}},r._getInstance=function(e){return Data.getData(e,DATA_KEY$4)},_createClass(r,null,[{key:"VERSION",get:function(){return VERSION$4}},{key:"Default",get:function(){return Default$2}},{key:"DefaultType",get:function(){return DefaultType$2}}]),r}();EventHandler.on(document,Event$5.KEYDOWN_DATA_API,Selector$4.DATA_TOGGLE,Dropdown._dataApiKeydownHandler),EventHandler.on(document,Event$5.KEYDOWN_DATA_API,Selector$4.MENU,Dropdown._dataApiKeydownHandler),EventHandler.on(document,Event$5.CLICK_DATA_API,Dropdown._clearMenus),EventHandler.on(document,Event$5.KEYUP_DATA_API,Dropdown._clearMenus),EventHandler.on(document,Event$5.CLICK_DATA_API,Selector$4.DATA_TOGGLE,function(e){e.preventDefault(),e.stopPropagation(),Dropdown._dropdownInterface(this,"toggle")}),EventHandler.on(document,Event$5.CLICK_DATA_API,Selector$4.FORM_CHILD,function(e){return e.stopPropagation()}),void 0!==jQuery&&(JQUERY_NO_CONFLICT$4=jQuery.fn[NAME$4],jQuery.fn[NAME$4]=Dropdown._jQueryInterface,jQuery.fn[NAME$4].Constructor=Dropdown,jQuery.fn[NAME$4].noConflict=function(){return jQuery.fn[NAME$4]=JQUERY_NO_CONFLICT$4,Dropdown._jQueryInterface});var uriAttrs=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],ARIA_ATTRIBUTE_PATTERN=/^aria-[\w-]*$/i,SAFE_URL_PATTERN=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,DATA_URL_PATTERN=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+/]+=*$/i,allowedAttribute=function(e,t){var n=e.nodeName.toLowerCase();if(-1!==t.indexOf(n))return-1===uriAttrs.indexOf(n)||Boolean(e.nodeValue.match(SAFE_URL_PATTERN)||e.nodeValue.match(DATA_URL_PATTERN));for(var i=t.filter(function(e){return e instanceof RegExp}),s=0,a=i.length;s<a;s++)if(n.match(i[s]))return!0;return!1},DefaultWhitelist={"*":["class","dir","id","lang","role",ARIA_ATTRIBUTE_PATTERN],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]};function sanitizeHtml(e,s,t){if(!e.length)return e;if(t&&"function"==typeof t)return t(e);for(var e=(new window.DOMParser).parseFromString(e,"text/html"),a=Object.keys(s),o=makeArray(e.body.querySelectorAll("*")),n=0,i=o.length;n<i;n++)(function(e){var t=o[e],n=t.nodeName.toLowerCase();if(-1===a.indexOf(n))return t.parentNode.removeChild(t);var e=makeArray(t.attributes),i=[].concat(s["*"]||[],s[n]||[]);e.forEach(function(e){allowedAttribute(e,i)||t.removeAttribute(e.nodeName)})})(n);return e.body.innerHTML}var JQUERY_NO_CONFLICT$6,NAME$6="tooltip",VERSION$6="4.3.1",DATA_KEY$6="bs.tooltip",EVENT_KEY$6="."+DATA_KEY$6,CLASS_PREFIX="bs-tooltip",BSCLS_PREFIX_REGEX=new RegExp("(^|\\s)"+CLASS_PREFIX+"\\S+","g"),DISALLOWED_ATTRIBUTES=["sanitize","whiteList","sanitizeFn"],DefaultType$4={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string|function)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)",sanitize:"boolean",sanitizeFn:"(null|function)",whiteList:"object"},AttachmentMap$1={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},Default$4={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent",sanitize:!0,sanitizeFn:null,whiteList:DefaultWhitelist},HoverState={SHOW:"show",OUT:"out"},Event$7={HIDE:"hide"+EVENT_KEY$6,HIDDEN:"hidden"+EVENT_KEY$6,SHOW:"show"+EVENT_KEY$6,SHOWN:"shown"+EVENT_KEY$6,INSERTED:"inserted"+EVENT_KEY$6,CLICK:"click"+EVENT_KEY$6,FOCUSIN:"focusin"+EVENT_KEY$6,FOCUSOUT:"focusout"+EVENT_KEY$6,MOUSEENTER:"mouseenter"+EVENT_KEY$6,MOUSELEAVE:"mouseleave"+EVENT_KEY$6},ClassName$6={FADE:"fade",SHOW:"show"},Selector$6={TOOLTIP_INNER:".tooltip-inner",TOOLTIP_ARROW:".tooltip-arrow"},Trigger={HOVER:"hover",FOCUS:"focus",CLICK:"click",MANUAL:"manual"},Tooltip=function(){function i(e,t){if("undefined"==typeof Popper)throw new TypeError("Bootstrap's tooltips require Popper.js (https://popper.js.org)");this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=e,this.config=this._getConfig(t),this.tip=null,this._setListeners(),Data.setData(e,this.constructor.DATA_KEY,this)}var e=i.prototype;return e.enable=function(){this._isEnabled=!0},e.disable=function(){this._isEnabled=!1},e.toggleEnabled=function(){this._isEnabled=!this._isEnabled},e.toggle=function(e){var t,n;this._isEnabled&&(e?(t=this.constructor.DATA_KEY,(n=Data.getData(e.delegateTarget,t))||(n=new this.constructor(e.delegateTarget,this._getDelegateConfig()),Data.setData(e.delegateTarget,t,n)),n._activeTrigger.click=!n._activeTrigger.click,n._isWithActiveTrigger()?n._enter(null,n):n._leave(null,n)):this.getTipElement().classList.contains(ClassName$6.SHOW)?this._leave(null,this):this._enter(null,this))},e.dispose=function(){clearTimeout(this._timeout),Data.removeData(this.element,this.constructor.DATA_KEY),EventHandler.off(this.element,this.constructor.EVENT_KEY),EventHandler.off(SelectorEngine.closest(this.element,".modal"),"hide.bs.modal"),this.tip&&this.tip.parentNode.removeChild(this.tip),this._isEnabled=null,this._timeout=null,this._hoverState=null,(this._activeTrigger=null)!==this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},e.show=function(){var e,t,n,i=this;if("none"===this.element.style.display)throw new Error("Please use show on visible elements");this.isWithContent()&&this._isEnabled&&(t=EventHandler.trigger(this.element,this.constructor.Event.SHOW),e=(null===(n=findShadowRoot(this.element))?this.element.ownerDocument.documentElement:n).contains(this.element),!t.defaultPrevented&&e&&(n=this.getTipElement(),t=getUID(this.constructor.NAME),n.setAttribute("id",t),this.element.setAttribute("aria-describedby",t),this.setContent(),this.config.animation&&n.classList.add(ClassName$6.FADE),e="function"==typeof this.config.placement?this.config.placement.call(this,n,this.element):this.config.placement,t=this._getAttachment(e),this.addAttachmentClass(t),e=this._getContainer(),Data.setData(n,this.constructor.DATA_KEY,this),this.element.ownerDocument.documentElement.contains(this.tip)||e.appendChild(n),EventHandler.trigger(this.element,this.constructor.Event.INSERTED),this._popper=new Popper(this.element,n,{placement:t,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:Selector$6.TOOLTIP_ARROW}
1,preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(e){e.originalPlacement!==e.placement&&i._handlePopperPlacementChange(e)},onUpdate:function(e){return i._handlePopperPlacementChange(e)}}),n.classList.add(ClassName$6.SHOW),"ontouchstart"in document.documentElement&&makeArray(document.body.children).forEach(function(e){EventHandler.on(e,"mouseover",noop())}),t=function(){i.config.animation&&i._fixTransition();var e=i._hoverState;i._hoverState=null,EventHandler.trigger(i.element,i.constructor.Event.SHOWN),e===HoverState.OUT&&i._leave(null,i)},this.tip.classList.contains(ClassName$6.FADE)?(n=getTransitionDurationFromElement(this.tip),EventHandler.one(this.tip,TRANSITION_END,t),emulateTransitionEnd(this.tip,n)):t()))},e.hide=function(e){function t(){i._hoverState!==HoverState.SHOW&&s.parentNode&&s.parentNode.removeChild(s),i._cleanTipClass(),i.element.removeAttribute("aria-describedby"),EventHandler.trigger(i.element,i.constructor.Event.HIDDEN),null!==i._popper&&i._popper.destroy(),e&&e()}var n,i=this,s=this.getTipElement();EventHandler.trigger(this.element,this.constructor.Event.HIDE).defaultPrevented||(s.classList.remove(ClassName$6.SHOW),"ontouchstart"in document.documentElement&&makeArray(document.body.children).forEach(function(e){return EventHandler.off(e,"mouseover",noop)}),this._activeTrigger[Trigger.CLICK]=!1,this._activeTrigger[Trigger.FOCUS]=!1,this._activeTrigger[Trigger.HOVER]=!1,this.tip.classList.contains(ClassName$6.FADE)?(n=getTransitionDurationFromElement(s),EventHandler.one(s,TRANSITION_END,t),emulateTransitionEnd(s,n)):t(),this._hoverState="")},e.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},e.isWithContent=function(){return Boolean(this.getTitle())},e.addAttachmentClass=function(e){this.getTipElement().classList.add(CLASS_PREFIX+"-"+e)},e.getTipElement=function(){if(this.tip)return this.tip;var e=document.createElement("div");return e.innerHTML=this.config.template,this.tip=e.children[0],this.tip},e.setContent=function(){var e=this.getTipElement();this.setElementContent(SelectorEngine.findOne(Selector$6.TOOLTIP_INNER,e),this.getTitle()),e.classList.remove(ClassName$6.FADE),e.classList.remove(ClassName$6.SHOW)},e.setElementContent=function(e,t){if(null!==e)return"object"==typeof t&&(t.nodeType||t.jquery)?(t.jquery&&(t=t[0]),void(this.config.html?t.parentNode!==e&&(e.innerHTML="",e.appendChild(t)):e.innerText=t.textContent)):void(this.config.html?(this.config.sanitize&&(t=sanitizeHtml(t,this.config.whiteList,this.config.sanitizeFn)),e.innerHTML=t):e.innerText=t)},e.getTitle=function(){return this.element.getAttribute("data-original-title")||("function"==typeof this.config.title?this.config.title.call(this.element):this.config.title)},e._getOffset=function(){var t=this,e={};return"function"==typeof this.config.offset?e.fn=function(e){return e.offsets=_objectSpread({},e.offsets,t.config.offset(e.offsets,t.element)||{}),e}:e.offset=this.config.offset,e},e._getContainer=function(){return!1===this.config.container?document.body:isElement(this.config.container)?this.config.container:SelectorEngine.findOne(this.config.container)},e._getAttachment=function(e){return AttachmentMap$1[e.toUpperCase()]},e._setListeners=function(){var n=this;this.config.trigger.split(" ").forEach(function(e){var t;"click"===e?EventHandler.on(n.element,n.constructor.Event.CLICK,n.config.selector,function(e){return n.toggle(e)}):e!==Trigger.MANUAL&&(t=e===Trigger.HOVER?n.constructor.Event.MOUSEENTER:n.constructor.Event.FOCUSIN,e=e===Trigger.HOVER?n.constructor.Event.MOUSELEAVE:n.constructor.Event.FOCUSOUT,EventHandler.on(n.element,t,n.config.selector,function(e){return n._enter(e)}),EventHandler.on(n.element,e,n.config.selector,function(e){return n._leave(e)}))}),EventHandler.on(SelectorEngine.closest(this.element,".modal"),"hide.bs.modal",function(){n.element&&n.hide()}),this.config.selector?this.config=_objectSpread({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},e._fixTitle=function(){var e=typeof this.element.getAttribute("data-original-title");!this.element.getAttribute("title")&&"string"==e||(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},e._enter=function(e,t){var n=this.constructor.DATA_KEY;(t=t||Data.getData(e.delegateTarget,n))||(t=new this.constructor(e.delegateTarget,this._getDelegateConfig()),Data.setData(e.delegateTarget,n,t)),e&&(t._activeTrigger["focusin"===e.type?Trigger.FOCUS:Trigger.HOVER]=!0),t.getTipElement().classList.contains(ClassName$6.SHOW)||t._hoverState===HoverState.SHOW?t._hoverState=HoverState.SHOW:(clearTimeout(t._timeout),t._hoverState=HoverState.SHOW,t.config.delay&&t.config.delay.show?t._timeout=setTimeout(function(){t._hoverState===HoverState.SHOW&&t.show()},t.config.delay.show):t.show())},e._leave=function(e,t){var n=this.constructor.DATA_KEY;(t=t||Data.getData(e.delegateTarget,n))||(t=new this.constructor(e.delegateTarget,this._getDelegateConfig()),Data.setData(e.delegateTarget,n,t)),e&&(t._activeTrigger["focusout"===e.type?Trigger.FOCUS:Trigger.HOVER]=!1),t._isWithActiveTrigger()||(clearTimeout(t._timeout),t._hoverState=HoverState.OUT,t.config.delay&&t.config.delay.hide?t._timeout=setTimeout(function(){t._hoverState===HoverState.OUT&&t.hide()},t.config.delay.hide):t.hide())},e._isWithActiveTrigger=function(){for(var e in this._activeTrigger)if(this._activeTrigger[e])return!0;return!1},e._getConfig=function(e){var t=Manipulator.getDataAttributes(this.element);return Object.keys(t).forEach(function(e){-1!==DISALLOWED_ATTRIBUTES.indexOf(e)&&delete t[e]}),e&&"object"==typeof e.container&&e.container.jquery&&(e.container=e.container[0]),"number"==typeof(e=_objectSpread({},this.constructor.Default,t,"object"==typeof e&&e?e:{})).delay&&(e.delay={show:e.delay,hide:e.delay}),"number"==typeof e.title&&(e.title=e.title.toString()),"number"==typeof e.content&&(e.content=e.content.toString()),typeCheckConfig(NAME$6,e,this.constructor.DefaultType),e.sanitize&&(e.template=sanitizeHtml(e.template,e.whiteList,e.sanitizeFn)),e},e._getDelegateConfig=function(){var e={};if(this.config)for(var t in this.config)this.constructor.Default[t]!==this.config[t]&&(e[t]=this.config[t]);return e},e._cleanTipClass=function(){var t=this.getTipElement(),e=t.getAttribute("class").match(BSCLS_PREFIX_REGEX);null!==e&&e.length&&e.map(function(e){return e.trim()}
1).forEach(function(e){return t.classList.remove(e)})},e._handlePopperPlacementChange=function(e){var t=e.instance;this.tip=t.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(e.placement))},e._fixTransition=function(){var e=this.getTipElement(),t=this.config.animation;null===e.getAttribute("x-placement")&&(e.classList.remove(ClassName$6.FADE),this.config.animation=!1,this.hide(),this.show(),this.config.animation=t)},i._jQueryInterface=function(n){return this.each(function(){var e=Data.getData(this,DATA_KEY$6),t="object"==typeof n&&n;if((e||!/dispose|hide/.test(n))&&(e=e||new i(this,t),"string"==typeof n)){if(void 0===e[n])throw new TypeError('No method named "'+n+'"');e[n]()}})},i._getInstance=function(e){return Data.getData(e,DATA_KEY$6)},_createClass(i,null,[{key:"VERSION",get:function(){return VERSION$6}},{key:"Default",get:function(){return Default$4}},{key:"NAME",get:function(){return NAME$6}},{key:"DATA_KEY",get:function(){return DATA_KEY$6}},{key:"Event",get:function(){return Event$7}},{key:"EVENT_KEY",get:function(){return EVENT_KEY$6}},{key:"DefaultType",get:function(){return DefaultType$4}}]),i}();void 0!==jQuery&&(JQUERY_NO_CONFLICT$6=jQuery.fn[NAME$6],jQuery.fn[NAME$6]=Tooltip._jQueryInterface,jQuery.fn[NAME$6].Constructor=Tooltip,jQuery.fn[NAME$6].noConflict=function(){return jQuery.fn[NAME$6]=JQUERY_NO_CONFLICT$6,Tooltip._jQueryInterface});var JQUERY_NO_CONFLICT$7,NAME$7="popover",VERSION$7="4.3.1",DATA_KEY$7="bs.popover",EVENT_KEY$7="."+DATA_KEY$7,CLASS_PREFIX$1="bs-popover",BSCLS_PREFIX_REGEX$1=new RegExp("(^|\\s)"+CLASS_PREFIX$1+"\\S+","g"),Default$5=_objectSpread({},Tooltip.Default,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'}),DefaultType$5=_objectSpread({},Tooltip.DefaultType,{content:"(string|element|function)"}),ClassName$7={FADE:"fade",SHOW:"show"},Selector$7={TITLE:".popover-header",CONTENT:".popover-body"},Event$8={HIDE:"hide"+EVENT_KEY$7,HIDDEN:"hidden"+EVENT_KEY$7,SHOW:"show"+EVENT_KEY$7,SHOWN:"shown"+EVENT_KEY$7,INSERTED:"inserted"+EVENT_KEY$7,CLICK:"click"+EVENT_KEY$7,FOCUSIN:"focusin"+EVENT_KEY$7,FOCUSOUT:"focusout"+EVENT_KEY$7,MOUSEENTER:"mouseenter"+EVENT_KEY$7,MOUSELEAVE:"mouseleave"+EVENT_KEY$7},Popover=function(e){function i(){return e.apply(this,arguments)||this}_inheritsLoose(i,e);var t=i.prototype;return t.isWithContent=function(){return this.getTitle()||this._getContent()},t.addAttachmentClass=function(e){this.getTipElement().classList.add(CLASS_PREFIX$1+"-"+e)},t.setContent=function(){var e=this.getTipElement();this.setElementContent(SelectorEngine.findOne(Selector$7.TITLE,e),this.getTitle());var t=this._getContent();"function"==typeof t&&(t=t.call(this.element)),this.setElementContent(SelectorEngine.findOne(Selector$7.CONTENT,e),t),e.classList.remove(ClassName$7.FADE),e.classList.remove(ClassName$7.SHOW)},t._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},t._cleanTipClass=function(){var t=this.getTipElement(),e=t.getAttribute("class").match(BSCLS_PREFIX_REGEX$1);null!==e&&0<e.length&&e.map(function(e){return e.trim()}).forEach(function(e){return t.classList.remove(e)})},i._jQueryInterface=function(n){return this.each(function(){var e=Data.getData(this,DATA_KEY$7),t="object"==typeof n?n:null;if((e||!/dispose|hide/.test(n))&&(e||(e=new i(this,t),Data.setData(this,DATA_KEY$7,e)),"string"==typeof n)){if(void 0===e[n])throw new TypeError('No method named "'+n+'"');e[n]()}})},i._getInstance=function(e){return Data.getData(e,DATA_KEY$7)},_createClass(i,null,[{key:"VERSION",get:function(){return VERSION$7}},{key:"Default",get:function(){return Default$5}},{key:"NAME",get:function(){return NAME$7}},{key:"DATA_KEY",get:function(){return DATA_KEY$7}},{key:"Event",get:function(){return Event$8}},{key:"EVENT_KEY",get:function(){return EVENT_KEY$7}},{key:"DefaultType",get:function(){return DefaultType$5}}]),i}(Tooltip);void 0!==jQuery&&(JQUERY_NO_CONFLICT$7=jQuery.fn[NAME$7],jQuery.fn[NAME$7]=Popover._jQueryInterface,jQuery.fn[NAME$7].Constructor=Popover,jQuery.fn[NAME$7].noConflict=function(){return jQuery.fn[NAME$7]=JQUERY_NO_CONFLICT$7,Popover._jQueryInterface});var index_umd={Alert:Alert,Button:Button,Dropdown:Dropdown,Popover:Popover,Tooltip:Tooltip};class sfTable{makeFullscreenButton(i){if(null!==document.querySelector("#"+i)){const o=document.querySelector("#"+i),r=document.getElementsByTagName("body")[0];var s=document.createElement("div");s.classList.add("sf-table-full-screen-wrapper");let e=o.cloneNode(!0),t=o.dataset.expand,n=o.dataset.collapse;void 0===t&&(t=""),void 0===n&&(n="");var a='<i class="fas fa-expand table-full-btn c-primary" data-expand="'+t+'" data-collapse="'+n+'" id="'+i+'Icon"></i>';o.before(s),s.appendChild(o),s.innerHTML=a+s.innerHTML,s.insertBefore(e,s.firstElementChild),e.style.display="none";const l=document.querySelector("#"+i+"Icon"),c=e=>{e.target.parentElement.classList.add("sf-table-full-size"),e.target.classList.toggle("sf-table-full-size-icon-open"),e.target.classList.add("fa-arrow-circle-left"),e.target.classList.remove("fa-expand"),r.setAttribute("style","overflow-y: hidden"),e.target.addEventListener("click",d),e.target.removeEventListener("click",c)},d=e=>{e.target.parentElement.classList.remove("sf-table-full-size"),e.target.classList.toggle("sf-table-full-size-icon-open"),e.target.classList.remove("fa-arrow-circle-left"),e.target.classList.add("fa-expand"),r.setAttribute("style","overflow-y: auto"),e.target.addEventListener("click",c),e.target.removeEventListener("click",d)};l.addEventListener("click",c)}}}
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.