PageSourceSearch

https://stauff.com.cn/assets/ade1673896f68c8b7edccacda04d533e5f198…/default/js/stauff_platform.search-form.js

js stauff.com.cn collected 2026-10-07 02:55:16 UTC 50,956 bytes, 11 lines download raw bytes

1"use strict";(self.webpackJsonp_stauff_platform=self.webpackJsonp_stauff_platform||[]).push([[1858],{87507:(t,e,n)=>{n.r(e),n.d(e,{default:()=>i});var o=n(98486);class i extends o.default{readyCallback(){}init(){super.init()}}},92294:(t,e,n)=>{n.r(e),n.d(e,{default:()=>i});var o=n(98486);class i extends o.default{readyCallback(){}init(){super.init()}}},26143:(t,e,n)=>{n.r(e),n.d(e,{default:()=>r});var o=n(98486),i=n(15912);class r extends o.default{readyCallback(){}init(){window.onload=()=>{(0,i.skipClicked)()||((0,i.setSkipClick)("1"),this.showOnboarding())},super.init()}showOnboarding(){(0,o.onboardingInit)(),document.querySelector(".onboarding-anonymous-user-pdp")&&this.introJsEntity.setOptions({highlightClass:"highlight-anonymous-user-pdp",tooltipPosition:"left",disableInteraction:!1})}}},98486:(t,e,n)=>{n.r(e),n.d(e,{default:()=>h,keyForCurrentStep:()=>c,keyForSteps:()=>u,localePrefixedCustomerId:()=>a,onboardingInit:()=>d,onboardingSteps:()=>l,removeFromLocalStorage:()=>g,retrieveFromLocalStorage:()=>f,saveToLocalStorage:()=>p,setLocalePrefixedCustomerId:()=>m,setOnboardingSteps:()=>b});var o=n(97337),i=n(61378),r=n(15912),s=!1,a="",l=[],c="key-for-current-step",u="key-for-steps";class h extends o.Z{constructor(){super(...arguments),this.onboardingConclusion=void 0,this.elementClasses=[],this.introJsEntity=void 0}readyCallback(){}init(){var t;h.sharedContext=this,l=[];var e=this.getAttribute("element-class");this.elementClasses=e?JSON.parse(e):[];for(var n=1;n<=this.elementClasses.length;n++){var o,i,s=this.elementClasses[n-1],d=f(a);null===d&&(d=JSON.stringify({}));var g=document.querySelector(s),m={title:null==(o=document.querySelector("."+this.name+"__step-"+n+"__title"))?void 0:o.innerHTML,element:g,intro:null==(i=this.querySelector("."+this.name+"__step-"+n+"__intro"))?void 0:i.innerHTML};m.title&&m.element&&m.intro&&l.push(m)}if(this){a=this.getAttribute("locale-prefixed-customer-id")||"",(0,r.saveStepCount)(null!=(t=this.getAttribute("step-count"))?t:"");for(var b=JSON.parse(JSON.stringify({})),v=1;v<=this.elementClasses.length;v++){var y=this.elementClasses[v-1];b[y.substring(y.lastIndexOf("__")+2)]=0}if(p((0,r.getLocalStorageKey)(u),JSON.stringify(b)),null===f(a)&&p(a,JSON.stringify(b)),function(){var t=f(a),e=f((0,r.getLocalStorageKey)(u));if(null===t||null===e)return!1;var n=Object.keys(JSON.parse(t)),o=Object.keys(JSON.parse(e));return!(n.length===o.length&&n.every(((t,e)=>t===o[e])))}()&&!(0,r.isFirstTimeOnboarding)())if(function(t,e){var n=document.querySelector(".onboarding-intro__title"),o=document.querySelector(".onboarding-intro__description");n&&(n.textContent=t);o&&(o.innerHTML=e)}(this.getAttribute("new-feature-title"),this.getAttribute("new-feature-body")),(0,r.skipClicked)())(0,r.setSkipClick)("0"),p((0,r.getLocalStorageKey)(c),b[0]);else{var w=JSON.parse(f(a)),_=Object.keys(b).filter((t=>!w.hasOwnProperty(t)));p((0,r.getLocalStorageKey)(c),_.length>0?_[0]:Object.keys(b)[0])}!function(){var t=JSON.parse(f(a)),e=JSON.parse(f((0,r.getLocalStorageKey)(u))),n={};for(var o in e)t.hasOwnProperty(o)?n[o]=t[o]:n[o]=0;p(a,JSON.stringify(n))}()}else console.warn("OnboardingBody.sharedContext is not set.")}initIntroJS(t){this.introJsEntity=(0,i.Z)();var e=l;this.introJsEntity.setOptions({steps:e,tooltipClass:"customTooltip",prevLabel:this.getAttribute("previous-text"),nextLabel:this.getAttribute("next-text"),doneLabel:this.getAttribute("done-text"),showBullets:e.length>1,showButtons:e.length>1,scrollToElement:!0,disableInteraction:!0,scrollTo:"tooltip",tooltipPosition:"right"}),this.introJsEntity.onafterchange((t=>{var e;!function(t){var e=f(a);null===e&&(e=JSON.stringify({}));var n=JSON.parse(e);n[t]=1;var o=Object.keys(n),i=o.indexOf(t);if(-1!==i)for(var s=i+1;s<o.length;s++)n[o[s]]=0;p(a,JSON.stringify(n)),p((0,r.getLocalStorageKey)(c),t)}((e=t.className,e.substring(e.lastIndexOf("__")+2).replace(" introjs-showElement introjs-relativePosition","")))})),this.introJsEntity.oncomplete((()=>{var t;s&&(s=!1,(0,r.setSkipClick)("1"),(t=document.querySelector(".onboarding-conclusion"))&&t.classList.add("onboarding-overview--active"))})),this.introJsEntity.onbeforeexit(((t,e)=>(s&&(s=!1),!0))),this.introJsEntity.goToStepNumber(t).then((t=>{t.start().then((()=>{})),s=!0,this.disableCarouselDotsClick()}))}disableCarouselDotsClick(){document.querySelectorAll(".customTooltip .introjs-bullets ul li").forEach((t=>{var e=t;e.style.pointerEvents="none",e.style.cursor="default",e.addEventListener("click",(t=>{t.stopPropagation(),t.preventDefault()}))}))}getLastStepNum(){var t=f(a);if(!t)return-1;for(var e=JSON.parse(t),n=Object.keys(e),o=0;o<n.length;o++)if(0===e[n[o]])return o;return n.length>0?n.length:-1}}function d(){var t=h.sharedContext;t?t.initIntroJS(t.getLastStepNum()):console.warn("OnboardingBody.sharedContext is not set.")}function p(t,e){console.log("saving "+t),localStorage.setItem(t,e)}function f(t){return console.log("retrieving "+t),localStorage.getItem(t)}
1function g(t){console.log("removing "+t),localStorage.removeItem(t)}function m(t){a=t}function b(t){l=t}h.sharedContext=void 0,h.position="right"},47187:(t,e,n)=>{n.r(e),n.d(e,{default:()=>s,showOnboarding:()=>a});var o=n(75514),i=n(15912),r=n(98486);class s extends o.default{constructor(){super(...arguments),this.skipButton=void 0,this.showButton=void 0}init(){var t=""===r.localePrefixedCustomerId?this.getAttribute("customer-id"):r.localePrefixedCustomerId;(0,r.setLocalePrefixedCustomerId)(t),this.skipButton=this.querySelector(".onboarding-overview__skip-button"),this.showButton=this.querySelector(".onboarding-overview__show-button"),this.mapChildEvents(),super.init(),(0,i.skipClicked)()||"show"!==this.getAttribute("onboarding-visibility")||this.showIntroOverlay()}showIntroOverlay(){super.showOverlay()}mapChildEvents(){this.skipButton&&this.skipButton.addEventListener("click",(()=>this.skipHandler())),this.showButton&&this.showButton.addEventListener("click",(()=>this.showHandler()))}closeHandler(){this.classList.remove("onboarding-overview--active")}skipHandler(){this.closeHandler(),(0,i.setSkipClick)("1")}showHandler(){this.closeHandler(),a()}readyCallback(){}}function a(){(0,r.onboardingInit)(),(0,i.isFirstTimeOnboarding)()&&(0,i.setFirstTimeOnboarding)()}},75514:(t,e,n)=>{n.r(e),n.d(e,{default:()=>i});var o=n(97337);class i extends o.Z{constructor(){super(...arguments),this.closeTrigger=void 0,this.close=void 0}init(){this.closeTrigger=this.querySelector(".onboarding-overview__close-trigger"),this.close=this.querySelector(".onboarding-overview__icon"),this.mapEvents()}mapEvents(){this.closeTrigger&&this.closeTrigger.addEventListener("click",(()=>this.closeHandler())),this.close&&this.close.addEventListener("click",(()=>this.closeHandler()))}closeHandler(){this.classList.remove("onboarding-overview--active")}showOverlay(){this.classList.add("onboarding-overview--active")}readyCallback(){}}},15912:(t,e,n)=>{n.r(e),n.d(e,{default:()=>u,getLocalStorageKey:()=>b,getStepCount:()=>m,isFirstTimeOnboarding:()=>f,keyForFirstTimeOnboarding:()=>c,keyForSkipClick:()=>a,keyForStepCount:()=>l,saveStepCount:()=>d,setFirstTimeOnboarding:()=>p,setSkipClick:()=>h,skipClicked:()=>g});var o,i=n(97337),r=n(98486),s=n(47187),a="key-for-skip-click",l="key-for-step-count",c="key-for-first-time-visit";o=localStorage.setItem,localStorage.setItem=function(t,e){var n=new Event("localStorageChange");n.key=t,n.newValue=e,document.dispatchEvent(n),o.apply(this,arguments)};class u extends i.Z{constructor(){super(...arguments),this.link=void 0,this.progressBarProgressElement=void 0,this.totalSteps=3,this.progress=3,this.currentStep=void 0}init(){if("show"===this.getAttribute("onboarding-visibility")){var t=document.querySelector(".onboarding-process .onboarding-process--hide");t&&(t.style.visibility="visible")}this.link=this.querySelector("."+this.name+"__link"),this.mapEvents(),window.addEventListener("load",(()=>this.calculateAndSetProgress())),document.addEventListener("localStorageChange",(t=>this.handleCustomStorageChange(t)))}readyCallback(){}calculateAndSetProgress(){this.progressBarProgressElement=this.querySelector("."+this.name+" .progress-bar__progress"),this.currentStep=(0,r.retrieveFromLocalStorage)(b(r.keyForCurrentStep)),this.totalSteps=m(),this.updateProgress()}updateProgress(){if(this.progressBarProgressElement)if(f())this.link.innerText=this.getAttribute("onboarding-start-text"),this.progressBarProgressElement.value=0;else{var t=(0,r.retrieveFromLocalStorage)(r.localePrefixedCustomerId);null===t&&(t=JSON.stringify({}));var e=JSON.parse(t),n=Object.keys(e).indexOf(this.currentStep);-1!==n&&(this.progress=(n+1)/r.onboardingSteps.length*100),100===this.progress?this.link.innerText=this.getAttribute("onboarding-restart-text"):this.link.innerText=this.getAttribute("onboarding-continue-text"),this.progressBarProgressElement.value=this.progress}}handleCustomStorageChange(t){t.key===b(r.keyForCurrentStep)&&(this.currentStep=t.newValue,this.updateProgress())}mapEvents(){this.link&&this.link.addEventListener("click",(()=>{if(100===this.progress){var t=JSON.parse((0,r.retrieveFromLocalStorage)(r.localePrefixedCustomerId));Object.keys(t).forEach(((e,n)=>{0===n?(t[e]=1,(0,r.removeFromLocalStorage)(b(c)),(0,r.saveToLocalStorage)(b(r.keyForCurrentStep),e)):t[e]=0})),(0,r.saveToLocalStorage)(r.localePrefixedCustomerId,JSON.stringify(t))}this.link.innerText===this.getAttribute("onboarding-continue-text")?(0,s.showOnboarding)():this.showOnboardingIntro()}))}showOnboardingIntro(){var t=document.querySelector(".onboarding-intro");t&&t.classList.add("onboarding-overview--active")}}function h(t){(0,r.saveToLocalStorage)(b(a),t)}function d(t){(0,r.saveToLocalStorage)(b(l),t)}function p(){(0,r.saveToLocalStorage)(b(c),"1")}function f(){return null===(0,r.retrieveFromLocalStorage)(b(c))}function g(){return"1"===(0,r.retrieveFromLocalStorage)(b(a))}function m(){var t,e=(0,r.retrieveFromLocalStorage)(r.localePrefixedCustomerId);if(!e)return 0;try{t=JSON.parse(e)}catch(t){return 0}return Object.keys(t).length}function b(t){return r.localePrefixedCustomerId+"-"+t}},619:(t,e,n)=>{n.r(e),n.d(e,{default:()=>r});var o=n(97337);class i{constructor(t){this.value=void 0,this.value=t}}class r extends o.Z{constructor(){super(...arguments),this.input=void 0,this.placeholders=void 0,this.timeout=void 0}readyCallback(){}init(){this.input=this.findSearchInputElement(),this.input&&(this.placeholders=this.getAllPlaceholders(),this.placeholders.length>0?this.initializeAnimation():this.initializeWithoutAnimation())}findSearchInputElement(){var t=this.getElementsByTagName("input");return Array.from(t).find((t=>"q"==t.name))}initializeWithoutAnimation(){this.showMainPlaceholder(),this.input.addEventListener("focus",(()=>{this.clearPlaceholder()})),this.input.addEventListener("blur",(()=>{this.isInputEmpty()&&this.showMainPlaceholder()}))}initializeAnimation(){window.addEventListener("load",(()=>{this.isInputEmpty()&&this.startAnimationForNextPlaceholder()})),window.addEventListener("blur",(()=>{this.stopAnimation(),this.showMainPlaceholder()})),window.addEventListener("focus",(()=>{this.isInputEmpty()&&!this.timeout&&this.startAnimationForNextPlaceholder()})),this.input.addEventListener("focus",(()=>{this.stopAnimation(),this.clearPlaceholder()})),this.input.addEventListener("blur",(()=>{this.isInputEmpty()&&this.startAnimationForNextPlaceholder()}))}startAnimationForNextPlaceholder(){this.animatePlaceholder(this.getNextPlaceholder())}stopAnimation(){this.timeout&&(clearTimeout(this.timeout),this.timeout=null)}animatePlaceholder(t){this.animateCharacterTyping([],[...t.value])}animateCharacterTyping(t,e){e.length?(t.push(e.shift()),this.timeout=setTimeout((()=>{this.setPlaceholder(t.join(""),e.length>0),this.animateCharacterTyping(t,e)}),70)):this.timeout=setTimeout((()=>{this.animateCharacterErasing(t)}),1e3)}animateCharacterErasing(t){t.length?(t.pop(),this.timeout=setTimeout((()=>{this.setPlaceholder(t.join(""),t.length>0),this.animateCharacterErasing(t)}),30)):this.startAnimationForNextPlaceholder()}setPlaceholder(t,e){void 0===e&&(e=!1),this.input.setAttribute("placeholder",e?t+"|":t)}clearPlaceholder(){this.input.removeAttribute("placeholder")}showMainPlaceholder(){this.setPlaceholder(this.getMainPlaceholder().value)}isInputEmpty(){return""===this.input.value}getAllPlaceholders(){return JSON.parse(this.dataset.animatedPlaceholders).map((t=>new i(t)))}getMainPlaceholder(){return new i(this.dataset.mainPlaceholder)}getNextPlaceholder(){var t=this.placeholders.shift();return this.placeholders.push(t),t}}},61378:(t,e,n)=>{
2/*!
3 * Intro.js v7.2.0
4 * https://introjs.com
5 *
6 * Copyright (C) 2012-2023 Afshin Mehrabani (@afshinmeh).
7 * https://introjs.com
8 *
9 * Date: Mon, 14 Aug 2023 19:47:14 GMT
10 */
11function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}
11function i(t,e,n,o){return new(n||(n=Promise))((function(i,r){function s(t){try{l(o.next(t))}catch(t){r(t)}}function a(t){try{l(o.throw(t))}catch(t){r(t)}}function l(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(s,a)}l((o=o.apply(t,e||[])).next())}))}function r(t,e){var n,o,i,r,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return r={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function a(a){return function(l){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;r&&(r=0,a[0]&&(s=0)),s;)try{if(n=1,o&&(i=2&a[0]?o.return:a[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,a[1])).done)return i;switch(o=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,o=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!((i=(i=s.trys).length>0&&i[i.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]<i[3])){s.label=a[1];break}if(6===a[0]&&s.label<i[1]){s.label=i[1],i=a;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(a);break}i[2]&&s.ops.pop(),s.trys.pop();continue}a=e.call(t,s)}catch(t){a=[6,t],o=0}finally{n=i=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,l])}}}function s(t,e,n){var o,i=((o={})[t]=e,o.path="/",o.expires=void 0,o);if(n){var r=new Date;r.setTime(r.getTime()+24*n*60*60*1e3),i.expires=r.toUTCString()}var s=[];for(var l in i)s.push("".concat(l,"=").concat(i[l]));return document.cookie=s.join("; "),a(t)}function a(t){return(e={},document.cookie.split(";").forEach((function(t){var n=t.split("="),o=n[0],i=n[1];e[o.trim()]=i})),e)[t];var e}n.d(e,{Z:()=>st}),"function"==typeof SuppressedError&&SuppressedError;var l,c=(l={},function(t,e){return void 0===e&&(e="introjs-stamp"),l[e]=l[e]||0,void 0===t[e]&&(t[e]=l[e]++),t[e]}),u=new(function(){function t(){this.events_key="introjs_event"}return t.prototype._id=function(t,e,n){return t+c(e)+(n?"_".concat(c(n)):"")},t.prototype.on=function(t,e,n,o,i){var r=this._id(e,n,o),s=function(e){return n(o||t,e||window.event)};"addEventListener"in t?t.addEventListener(e,s,i):"attachEvent"in t&&t.attachEvent("on".concat(e),s),t[this.events_key]=t[this.events_key]||{},t[this.events_key][r]=s},t.prototype.off=function(t,e,n,o,i){var r=this._id(e,n,o),s=t[this.events_key]&&t[this.events_key][r];s&&("removeEventListener"in t?t.removeEventListener(e,s,i):"detachEvent"in t&&t.detachEvent("on".concat(e),s),t[this.events_key][r]=null)},t}()),h=function(t){return"function"==typeof t};function d(t,e){if(t instanceof SVGElement){var n=t.getAttribute("class")||"";n.match(e)||t.setAttribute("class","".concat(n," ").concat(e))}else if(void 0!==t.classList)for(var o=0,i=e.split(" ");o<i.length;o++){var r=i[o];t.classList.add(r)}else t.className.match(e)||(t.className+=" ".concat(e))}function p(t,e){var n="";return"currentStyle"in t?n=t.currentStyle[e]:document.defaultView&&document.defaultView.getComputedStyle&&(n=document.defaultView.getComputedStyle(t,null).getPropertyValue(e)),n&&n.toLowerCase?n.toLowerCase():n}function f(t,e){if(t){var n=function(t){var e=window.getComputedStyle(t),n="absolute"===e.position,o=/(auto|scroll)/;if("fixed"===e.position)return document.body;for(var i=t;i=i.parentElement;)if(e=window.getComputedStyle(i),(!n||"static"!==e.position)&&o.test(e.overflow+e.overflowY+e.overflowX))return i;return document.body}(e);n!==document.body&&(n.scrollTop=e.offsetTop-n.offsetTop)}}function g(){if(void 0!==window.innerWidth)return{width:window.innerWidth,height:window.innerHeight};var t=document.documentElement;return{width:t.clientWidth,height:t.clientHeight}}function m(t,e,n,o,i){var r;if("off"!==e&&t&&(r="tooltip"===e?i.getBoundingClientRect():o.getBoundingClientRect(),!function(t){var e=t.getBoundingClientRect();return e.top>=0&&e.left>=0&&e.bottom+80<=window.innerHeight&&e.right<=window.innerWidth}(o))){var s=g().height;r.bottom-(r.bottom-r.top)<0||o.clientHeight>s?window.scrollBy(0,r.top-(s/2-r.height/2)-n):window.scrollBy(0,r.top-(s/2-r.height/2)+n)}}function b(t){t.setAttribute("role","button"),t.tabIndex=0}function v(t){var e=t.parentElement;
11return!(!e||"HTML"===e.nodeName)&&("fixed"===p(t,"position")||v(e))}function y(t,e){var n=document.body,o=document.documentElement,i=window.pageYOffset||o.scrollTop||n.scrollTop,r=window.pageXOffset||o.scrollLeft||n.scrollLeft;e=e||n;var s=t.getBoundingClientRect(),a=e.getBoundingClientRect(),l=p(e,"position"),c={width:s.width,height:s.height};return"body"!==e.tagName.toLowerCase()&&"relative"===l||"sticky"===l?Object.assign(c,{top:s.top-a.top,left:s.left-a.left}):v(t)?Object.assign(c,{top:s.top,left:s.left}):Object.assign(c,{top:s.top+i,left:s.left+r})}function w(t,e){if(t instanceof SVGElement){var n=t.getAttribute("class")||"";t.setAttribute("class",n.replace(e,"").replace(/^\s+|\s+$/g,""))}else t.className=t.className.replace(e,"").replace(/^\s+|\s+$/g,"")}function _(t,e){var n="";if(t.style.cssText&&(n+=t.style.cssText),"string"==typeof e)n+=e;else for(var o in e)n+="".concat(o,":").concat(e[o],";");t.style.cssText=n}function S(t,e,n){if(n&&e){var o=y(e.element,t._targetElement),i=t._options.helperElementPadding;e.element instanceof Element&&v(e.element)?d(n,"introjs-fixedTooltip"):w(n,"introjs-fixedTooltip"),"floating"===e.position&&(i=0),_(n,{width:"".concat(o.width+i,"px"),height:"".concat(o.height+i,"px"),top:"".concat(o.top-i/2,"px"),left:"".concat(o.left-i/2,"px")})}}function C(t,e,n,o,i){return t.left+e+n.width>o.width?(i.style.left="".concat(o.width-n.width-t.left,"px"),!1):(i.style.left="".concat(e,"px"),!0)}function k(t,e,n,o){return t.left+t.width-e-n.width<0?(o.style.left="".concat(-t.left,"px"),!1):(o.style.right="".concat(e,"px"),!0)}function x(t,e){t.includes(e)&&t.splice(t.indexOf(e),1)}function A(t,e,n,o,i){if(void 0===i&&(i=!1),e){var r,s,a,l,c="";n.style.top="",n.style.right="",n.style.bottom="",n.style.left="",n.style.marginLeft="",n.style.marginTop="",o.style.display="inherit",c="string"==typeof e.tooltipClass?e.tooltipClass:t._options.tooltipClass,n.className=["introjs-tooltip",c].filter(Boolean).join(" "),n.setAttribute("role","dialog"),"floating"!==(l=e.position)&&t._options.autoPosition&&(l=function(t,e,n,o){var i=t.slice(),r=g(),s=y(n).height+10,a=y(n).width+20,l=e.getBoundingClientRect(),c="floating";if(l.bottom+s>r.height&&x(i,"bottom"),l.top-s<0&&x(i,"top"),l.right+a>r.width&&x(i,"right"),l.left-a<0&&x(i,"left"),o&&(o=o.split("-")[0]),i.length&&(c=i[0],i.includes(o)&&(c=o)),"top"===c||"bottom"===c){var u=void 0,h=[];"top"===c?(u="top-middle-aligned",h=["top-left-aligned","top-middle-aligned","top-right-aligned"]):(u="bottom-middle-aligned",h=["bottom-left-aligned","bottom-middle-aligned","bottom-right-aligned"]),c=function(t,e,n,o){var i=e/2,r=Math.min(n,window.screen.width);return r-t<e&&(x(o,"top-left-aligned"),x(o,"bottom-left-aligned")),(t<i||r-t<i)&&(x(o,"top-middle-aligned"),x(o,"bottom-middle-aligned")),t<e&&(x(o,"top-right-aligned"),x(o,"bottom-right-aligned")),o.length?o[0]:null}(l.left,a,r.width,h)||u}return c}(t._options.positionPrecedence,e.element,n,l)),s=y(e.element),r=y(n),a=g(),d(n,"introjs-".concat(l));var u=s.width/2-r.width/2;switch(l){case"top-right-aligned":o.className="introjs-arrow bottom-right";var h=0;k(s,h,r,n),n.style.bottom="".concat(s.height+20,"px");break;case"top-middle-aligned":o.className="introjs-arrow bottom-middle",i&&(u+=5),k(s,u,r,n)&&(n.style.right="",C(s,u,r,a,n)),n.style.bottom="".concat(s.height+20,"px");break;case"top-left-aligned":case"top":o.className="introjs-arrow bottom",C(s,i?0:15,r,a,n),n.style.bottom="".concat(s.height+20,"px");break;case"right":n.style.left="".concat(s.width+20,"px"),s.top+r.height>a.height?(o.className="introjs-arrow left-bottom",n.style.top="-".concat(r.height-s.height-20,"px")):o.className="introjs-arrow left";break;case"left":i||!0!==t._options.showStepNumbers||(n.style.top="15px"),s.top+r.height>a.height?(n.style.top="-".concat(r.height-s.height-20,"px"),o.className="introjs-arrow right-bottom"):o.className="introjs-arrow right",n.style.right="".concat(s.width+20,"px");break;case"floating":o.style.display="none",n.style.left="50%",n.style.top="50%",n.style.marginLeft="-".concat(r.width/2,"px"),n.style.marginTop="-".concat(r.height/2,"px");break;case"bottom-right-aligned":o.className="introjs-arrow top-right",k(s,h=0,r,n),n.style.top="".concat(s.height+20,"px");break;case"bottom-middle-aligned":o.className="introjs-arrow top-middle",i&&(u+=5),k(s,u,r,n)&&(n.style.right="",C(s,u,r,a,n)),n.style.top="".concat(s.height+20,"px");break;default:o.className="introjs-arrow top",C(s,0,r,a,n),n.style.top="".concat(s.height+20,"px")}}}function j(){for(var t=0,e=Array.from(document.querySelectorAll(".introjs-showElement"));t<e.length;t++)w(e[t],/introjs-[a-zA-Z]+/g)}
11function E(t,e){var n=document.createElement(t);e=e||{};var o=/^(?:role|data-|aria-)/;for(var i in e){var r=e[i];"style"===i&&"function"!=typeof r?_(n,r):"string"==typeof r&&i.match(o)?n.setAttribute(i,r):n[i]=r}return n}function N(t,e,n){if(void 0===n&&(n=!1),n){var o=e.style.opacity||"1";_(e,{opacity:"0"}),window.setTimeout((function(){_(e,{opacity:o})}),10)}t.appendChild(e)}function L(t,e){return(t+1)/e*100}function T(t,e){var n=E("div",{className:"introjs-bullets"});!1===t._options.showBullets&&(n.style.display="none");var o=E("ul");o.setAttribute("role","tablist");for(var i=function(){var e=this.getAttribute("data-step-number");null!=e&&t.goToStep(parseInt(e,10))},r=0;r<t._introItems.length;r++){var s=t._introItems[r].step,a=E("li"),l=E("a");a.setAttribute("role","presentation"),l.setAttribute("role","tab"),l.onclick=i,r===e.step-1&&(l.className="active"),b(l),l.innerHTML="&nbsp;",l.setAttribute("data-step-number",s.toString()),a.appendChild(l),o.appendChild(a)}return n.appendChild(o),n}function P(t,e,n){var o=t.querySelector(".introjs-progress .introjs-progressbar");if(o){var i=L(e,n);o.style.cssText="width:".concat(i,"%;"),o.setAttribute("aria-valuenow",i.toString())}}function I(t,e){return i(this,void 0,void 0,(function(){var n,o,s,a,l,c,u,g,v,y,w,C,k,x,I,O,q,F,J,M,R,D,z,V,K=this;return r(this,(function(Z){switch(Z.label){case 0:return h(t._introChangeCallback)?[4,t._introChangeCallback.call(t,e.element)]:[3,2];case 1:Z.sent(),Z.label=2;case 2:return n=document.querySelector(".introjs-helperLayer"),o=document.querySelector(".introjs-tooltipReferenceLayer"),s="introjs-helperLayer","string"==typeof e.highlightClass&&(s+=" ".concat(e.highlightClass)),"string"==typeof t._options.highlightClass&&(s+=" ".concat(t._options.highlightClass)),null!==n&&null!==o?(u=o.querySelector(".introjs-helperNumberLayer"),g=o.querySelector(".introjs-tooltiptext"),v=o.querySelector(".introjs-tooltip-title"),y=o.querySelector(".introjs-arrow"),w=o.querySelector(".introjs-tooltip"),c=o.querySelector(".introjs-skipbutton"),l=o.querySelector(".introjs-prevbutton"),a=o.querySelector(".introjs-nextbutton"),n.className=s,w.style.opacity="0",w.style.display="none",f(t._options.scrollToElement,e.element),S(t,e,n),S(t,e,o),j(),t._lastShowElementTimer&&window.clearTimeout(t._lastShowElementTimer),t._lastShowElementTimer=window.setTimeout((function(){null!==u&&(u.innerHTML="".concat(e.step," ").concat(t._options.stepNumbersOfLabel," ").concat(t._introItems.length)),g.innerHTML=e.intro||"",v.innerHTML=e.title||"",w.style.display="block",A(t,e,w,y),function(t,e,n){if(t){var o=e.querySelector(".introjs-bullets li > a.active"),i=e.querySelector('.introjs-bullets li > a[data-step-number="'.concat(n.step,'"]'));o&&i&&(o.className="",i.className="active")}}(t._options.showBullets,o,e),P(o,t._currentStep,t._introItems.length),w.style.opacity="1",(null!=a&&/introjs-donebutton/gi.test(a.className)||null!=a)&&a.focus(),m(t._options.scrollToElement,e.scrollTo,t._options.scrollPadding,e.element,g)}),350)):(C=E("div",{className:s}),k=E("div",{className:"introjs-tooltipReferenceLayer"}),x=E("div",{className:"introjs-arrow"}),I=E("div",{className:"introjs-tooltip"}),O=E("div",{className:"introjs-tooltiptext"}),q=E("div",{className:"introjs-tooltip-header"}),F=E("h1",{className:"introjs-tooltip-title"}),J=E("div"),_(C,{"box-shadow":"0 0 1px 2px rgba(33, 33, 33, 0.8), rgba(33, 33, 33, ".concat(t._options.overlayOpacity.toString(),") 0 0 0 5000px")}),f(t._options.scrollToElement,e.element),S(t,e,C),S(t,e,k),N(t._targetElement,C,!0),N(t._targetElement,k),O.innerHTML=e.intro,F.innerHTML=e.title,J.className="introjs-tooltipbuttons",!1===t._options.showButtons&&(J.style.display="none"),q.appendChild(F),I.appendChild(q),I.appendChild(O),t._options.dontShowAgain&&(M=E("div",{className:"introjs-dontShowAgain"}),(R=E("input",{type:"checkbox",id:"introjs-dontShowAgain",name:"introjs-dontShowAgain"})).onchange=function(e){t.setDontShowAgain(e.target.checked)},(D=E("label",{htmlFor:"introjs-dontShowAgain"})).innerText=t._options.dontShowAgainLabel,M.appendChild(R),M.appendChild(D),I.appendChild(M)),I.appendChild(T(t,e)),I.appendChild(function(t){var e=E("div");e.className="introjs-progress",!1===t._options.showProgress&&(e.style.display="none");var n=E("div",{className:"introjs-progressbar"});t._options.progressBarAdditionalClass&&(n.className+=" "+t._options.progressBarAdditionalClass);var o=L(t._currentStep,t._introItems.length);return n.setAttribute("role","progress"),n.setAttribute("aria-valuemin","0"),n.setAttribute("aria-valuemax","100"),n.setAttribute("aria-valuenow",o.toString()),n.style.cssText="width:".concat(o,"%;"),e.appendChild(n),e}(t)),z=E("div"),!0===t._options.showStepNumbers&&(z.className="introjs-helper
11NumberLayer",z.innerHTML="".concat(e.step," ").concat(t._options.stepNumbersOfLabel," ").concat(t._introItems.length),I.appendChild(z)),I.appendChild(x),k.appendChild(I),(a=E("a")).onclick=function(){return i(K,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return t._introItems.length-1===t._currentStep?[3,2]:[4,B(t)];case 1:return e.sent(),[3,6];case 2:return/introjs-donebutton/gi.test(a.className)?h(t._introCompleteCallback)?[4,t._introCompleteCallback.call(t,t._currentStep,"done")]:[3,4]:[3,6];case 3:e.sent(),e.label=4;case 4:return[4,nt(t,t._targetElement)];case 5:e.sent(),e.label=6;case 6:return[2]}}))}))},b(a),a.innerHTML=t._options.nextLabel,(l=E("a")).onclick=function(){return i(K,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return t._currentStep>0?[4,H(t)]:[3,2];case 1:e.sent(),e.label=2;case 2:return[2]}}))}))},b(l),l.innerHTML=t._options.prevLabel,b(c=E("a",{className:"introjs-skipbutton"})),c.innerHTML=t._options.skipLabel,c.onclick=function(){return i(K,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return t._introItems.length-1===t._currentStep&&h(t._introCompleteCallback)?[4,t._introCompleteCallback.call(t,t._currentStep,"skip")]:[3,2];case 1:e.sent(),e.label=2;case 2:return h(t._introSkipCallback)?[4,t._introSkipCallback.call(t,t._currentStep)]:[3,4];case 3:e.sent(),e.label=4;case 4:return[4,nt(t,t._targetElement)];case 5:return e.sent(),[2]}}))}))},q.appendChild(c),t._introItems.length>1&&J.appendChild(l),J.appendChild(a),I.appendChild(J),A(t,e,I,x),m(t._options.scrollToElement,e.scrollTo,t._options.scrollPadding,e.element,I)),(V=t._targetElement.querySelector(".introjs-disableInteraction"))&&V.parentNode&&V.parentNode.removeChild(V),e.disableInteraction&&function(t,e){var n=document.querySelector(".introjs-disableInteraction");null===n&&(n=E("div",{className:"introjs-disableInteraction"}),t._targetElement.appendChild(n)),S(t,e,n)}(t,e),0===t._currentStep&&t._introItems.length>1?(null!=a&&(a.className="".concat(t._options.buttonClass," introjs-nextbutton"),a.innerHTML=t._options.nextLabel),!0===t._options.hidePrev?(null!=l&&(l.className="".concat(t._options.buttonClass," introjs-prevbutton introjs-hidden")),null!=a&&d(a,"introjs-fullbutton")):null!=l&&(l.className="".concat(t._options.buttonClass," introjs-prevbutton introjs-disabled"))):t._introItems.length-1===t._currentStep||1===t._introItems.length?(null!=l&&(l.className="".concat(t._options.buttonClass," introjs-prevbutton")),!0===t._options.hideNext?(null!=a&&(a.className="".concat(t._options.buttonClass," introjs-nextbutton introjs-hidden")),null!=l&&d(l,"introjs-fullbutton")):null!=a&&(!0===t._options.nextToDone?(a.innerHTML=t._options.doneLabel,d(a,"".concat(t._options.buttonClass," introjs-nextbutton introjs-donebutton"))):a.className="".concat(t._options.buttonClass," introjs-nextbutton introjs-disabled"))):(null!=l&&(l.className="".concat(t._options.buttonClass," introjs-prevbutton")),null!=a&&(a.className="".concat(t._options.buttonClass," introjs-nextbutton"),a.innerHTML=t._options.nextLabel)),null!=l&&l.setAttribute("role","button"),null!=a&&a.setAttribute("role","button"),null!=c&&c.setAttribute("role","button"),null!=a&&a.focus(),function(t){d(t,"introjs-showElement");var e=p(t,"position");"absolute"!==e&&"relative"!==e&&"sticky"!==e&&"fixed"!==e&&d(t,"introjs-relativePosition")}(e.element),h(t._introAfterChangeCallback)?[4,t._introAfterChangeCallback.call(t,e.element)]:[3,4];case 3:Z.sent(),Z.label=4;case 4:return[2]}}
11))}))}function O(t,e){return i(this,void 0,void 0,(function(){return r(this,(function(n){switch(n.label){case 0:return t._currentStep=e-2,void 0===t._introItems?[3,2]:[4,B(t)];case 1:n.sent(),n.label=2;case 2:return[2]}}))}))}function q(t,e){return i(this,void 0,void 0,(function(){return r(this,(function(n){switch(n.label){case 0:return t._currentStepNumber=e,void 0===t._introItems?[3,2]:[4,B(t)];case 1:n.sent(),n.label=2;case 2:return[2]}}))}))}function B(t){return i(this,void 0,void 0,(function(){var e,n,o;return r(this,(function(i){switch(i.label){case 0:if(t._direction="forward",void 0!==t._currentStepNumber)for(e=0;e<t._introItems.length;e++)t._introItems[e].step===t._currentStepNumber&&(t._currentStep=e-1,t._currentStepNumber=void 0);return-1===t._currentStep?t._currentStep=0:++t._currentStep,n=t._introItems[t._currentStep],o=!0,h(t._introBeforeChangeCallback)?[4,t._introBeforeChangeCallback.call(t,n&&n.element,t._currentStep,t._direction)]:[3,2];case 1:o=i.sent(),i.label=2;case 2:return!1===o?(--t._currentStep,[2,!1]):t._introItems.length<=t._currentStep?h(t._introCompleteCallback)?[4,t._introCompleteCallback.call(t,t._currentStep,"end")]:[3,4]:[3,6];case 3:i.sent(),i.label=4;case 4:return[4,nt(t,t._targetElement)];case 5:return i.sent(),[2,!1];case 6:return[4,I(t,n)];case 7:return i.sent(),[2,!0]}}))}))}function H(t){return i(this,void 0,void 0,(function(){var e,n;return r(this,(function(o){switch(o.label){case 0:return t._direction="backward",t._currentStep<=0?[2,!1]:(--t._currentStep,e=t._introItems[t._currentStep],n=!0,h(t._introBeforeChangeCallback)?[4,t._introBeforeChangeCallback.call(t,e&&e.element,t._currentStep,t._direction)]:[3,2]);case 1:n=o.sent(),o.label=2;case 2:return!1===n?(++t._currentStep,[2,!1]):[4,I(t,e)];case 3:return o.sent(),[2,!0]}}))}))}function F(t,e){return i(this,void 0,void 0,(function(){var n,o;return r(this,(function(i){switch(i.label){case 0:return null===(n=void 0===e.code?e.which:e.code)&&(n=null===e.charCode?e.keyCode:e.charCode),"Escape"!==n&&27!==n||!0!==t._options.exitOnEsc?[3,2]:[4,nt(t,t._targetElement)];case 1:return i.sent(),[3,16];case 2:return"ArrowLeft"!==n&&37!==n?[3,4]:[4,H(t)];case 3:return i.sent(),[3,16];case 4:return"ArrowRight"!==n&&39!==n?[3,6]:[4,B(t)];case 5:return i.sent(),[3,16];case 6:return"Enter"!==n&&"NumpadEnter"!==n&&13!==n?[3,16]:(o=e.target||e.srcElement)&&o.className.match("introjs-prevbutton")?[4,H(t)]:[3,8];case 7:return i.sent(),[3,15];case 8:return o&&o.className.match("introjs-skipbutton")?t._introItems.length-1===t._currentStep&&h(t._introCompleteCallback)?[4,t._introCompleteCallback.call(t,t._currentStep,"skip")]:[3,10]:[3,12];case 9:i.sent(),i.label=10;case 10:return[4,nt(t,t._targetElement)];case 11:return i.sent(),[3,15];case 12:return o&&o.getAttribute("data-step-number")?(o.click(),[3,15]):[3,13];case 13:return[4,B(t)];case 14:i.sent(),i.label=15;case 15:e.preventDefault?e.preventDefault():e.returnValue=!1,i.label=16;case 16:return[2]}}
11))}))}function J(t){if(null===t||"object"!==o(t)||"nodeType"in t)return t;var e={};for(var n in t)"jQuery"in window&&t[n]instanceof window.jQuery?e[n]=t[n]:e[n]=J(t[n]);return e}function M(t){var e=document.querySelector(".introjs-hints");return e?Array.from(e.querySelectorAll(t)):[]}function R(t,e){return i(this,void 0,void 0,(function(){var n;return r(this,(function(o){switch(o.label){case 0:return n=M('.introjs-hint[data-step="'.concat(e,'"]'))[0],Q(),n&&d(n,"introjs-hidehint"),h(t._hintCloseCallback)?[4,t._hintCloseCallback.call(t,e)]:[3,2];case 1:o.sent(),o.label=2;case 2:return[2]}}))}))}function D(t){return i(this,void 0,void 0,(function(){var e,n,o,i,s;return r(this,(function(r){switch(r.label){case 0:e=M(".introjs-hint"),n=0,o=e,r.label=1;case 1:return n<o.length?(i=o[n],(s=i.getAttribute("data-step"))?[4,R(t,parseInt(s,10))]:[3,3]):[3,4];case 2:r.sent(),r.label=3;case 3:return n++,[3,1];case 4:return[2]}}))}))}function z(t){return i(this,void 0,void 0,(function(){var e,n,o,i,s;return r(this,(function(r){switch(r.label){case 0:if(!(e=M(".introjs-hint"))||!e.length)return[3,1];for(n=0,o=e;n<o.length;n++)i=o[n],(s=i.getAttribute("data-step"))&&V(parseInt(s,10));return[3,3];case 1:return[4,X(t,t._targetElement)];case 2:r.sent(),r.label=3;case 3:return[2]}}
11))}))}function V(t){var e=M('.introjs-hint[data-step="'.concat(t,'"]'))[0];e&&w(e,/introjs-hidehint/g)}function K(t){var e=M('.introjs-hint[data-step="'.concat(t,'"]'))[0];e&&e.parentNode&&e.parentNode.removeChild(e)}function Z(t){return i(this,void 0,void 0,(function(){var e,n,o,i,s,a,l;return r(this,(function(r){switch(r.label){case 0:for(null===(e=document.querySelector(".introjs-hints"))&&(e=E("div",{className:"introjs-hints"})),n=function(e){return function(n){var o=n||window.event;o&&o.stopPropagation&&o.stopPropagation(),o&&null!==o.cancelBubble&&(o.cancelBubble=!0),G(t,e)}},o=0;o<t._hintItems.length;o++){if(i=t._hintItems[o],document.querySelector('.introjs-hint[data-step="'.concat(o,'"]')))return[2];b(s=E("a",{className:"introjs-hint"})),s.onclick=n(o),i.hintAnimation||d(s,"introjs-hint-no-anim"),v(i.element)&&d(s,"introjs-fixedhint"),a=E("div",{className:"introjs-hint-dot"}),l=E("div",{className:"introjs-hint-pulse"}),s.appendChild(a),s.appendChild(l),s.setAttribute("data-step",o.toString()),i.hintTargetElement=i.element,i.element=s,W(i.hintPosition,s,i.hintTargetElement),e.appendChild(s)}return document.body.appendChild(e),h(t._hintsAddedCallback)?[4,t._hintsAddedCallback.call(t)]:[3,2];case 1:r.sent(),r.label=2;case 2:return t._options.hintAutoRefreshInterval>=0&&(t._hintsAutoRefreshFunction=(c=function(){return Y(t)},p=t._options.hintAutoRefreshInterval,function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];window.clearTimeout(f),f=window.setTimeout((function(){c()}),p)}),u.on(window,"scroll",t._hintsAutoRefreshFunction,t,!0)),[2]}var c,p,f}))}))}function W(t,e,n){if(void 0!==n){var o=y(n),i=20,r=20;switch(t){default:case"top-left":e.style.left="".concat(o.left,"px"),e.style.top="".concat(o.top,"px");break;case"top-right":e.style.left="".concat(o.left+o.width-i,"px"),e.style.top="".concat(o.top,"px");break;case"bottom-left":e.style.left="".concat(o.left,"px"),e.style.top="".concat(o.top+o.height-r,"px");break;case"bottom-right":e.style.left="".concat(o.left+o.width-i,"px"),e.style.top="".concat(o.top+o.height-r,"px");break;case"middle-left":e.style.left="".concat(o.left,"px"),e.style.top="".concat(o.top+(o.height-r)/2,"px");break;case"middle-right":e.style.left="".concat(o.left+o.width-i,"px"),e.style.top="".concat(o.top+(o.height-r)/2,"px");break;case"middle-middle":e.style.left="".concat(o.left+(o.width-i)/2,"px"),e.style.top="".concat(o.top+(o.height-r)/2,"px");break;case"bottom-middle":e.style.left="".concat(o.left+(o.width-i)/2,"px"),e.style.top="".concat(o.top+o.height-r,"px");break;case"top-middle":e.style.left="".concat(o.left+(o.width-i)/2,"px"),e.style.top="".concat(o.top,"px")}}}function G(t,e){return i(this,void 0,void 0,(function(){var n,o,i,s,a,l,c,u,d,p,f;return r(this,(function(r){switch(r.label){case 0:return n=document.querySelector('.introjs-hint[data-step="'.concat(e,'"]')),o=t._hintItems[e],h(t._hintClickCallback)?[4,t._hintClickCallback.call(t,n,o,e)]:[3,2];case 1:r.sent(),r.label=2;case 2:return void 0!==(i=Q())&&parseInt(i,10)===e||(s=E("div",{className:"introjs-tooltip"}),a=E("div"),l=E("div"),c=E("div"),s.onclick=function(t){t.stopPropagation?t.stopPropagation():t.cancelBubble=!0},a.className="introjs-tooltiptext",(u=E("p")).innerHTML=o.hint||"",a.appendChild(u),t._options.hintShowButton&&((d=E("a")).className=t._options.buttonClass,d.setAttribute("role","button"),d.innerHTML=t._options.hintButtonLabel,d.onclick=function(){return R(t,e)},a.appendChild(d)),l.className="introjs-arrow",s.appendChild(l),s.appendChild(a),p=n.getAttribute("data-step")||"",t._currentStep=parseInt(p,10),f=t._hintItems[t._currentStep],c.className="introjs-tooltipReferenceLayer introjs-hintReference",c.setAttribute("data-step",p),S(t,f,c),c.appendChild(s),document.body.appendChild(c),A(t,f,s,l,!0)),[2]}}))}))}function Q(){var t=document.querySelector(".introjs-hintReference");if(t&&t.parentNode){var e=t.getAttribute("data-step");if(!e)return;return t.parentNode.removeChild(t),e}}function X(t,e){return i(this,void 0,void 0,(function(){var n,o,i,s,a,l,c,h,d,p;return r(this,(function(r){switch(r.label){case 0:if(t._hintItems=[],t._options.hints&&t._options.hints.length>0)for(n=0,o=t._options.hints;n<o.length;n++)i=o[n],"string"==typeof(s=J(i)).element&&(s.element=document.querySelector(s.element)),s.hintPosition=s.hintPosition||t._options.hintPosition,s.hintAnimation=s.hintAnimation||t._options.hintAnimation,null!==s.element&&t._hintItems.push(s);else{if(!(a=Array.from(e.querySelectorAll("*[data-hint]")))||!a.length)return[2,!1];for(l=0,c=a;l<c.length;l++)h=c[l],d=h.getAttribute("data-hint-animation"),p=t._options.hintAnimation,d&&(p="true"===d),t._hintItems.push({element:h,hint:h.getAttribute("data-hint")||"",hintPosition:h.getAttribute("data-hint-position")||t._options.hintPosition,hintAnimation:p,tooltipClass:h.getAttribute("data-tooltip-class")||void 0,position:h.getAttribute("data-position")||t._options.tooltipPosition})}return[4,Z(t)];case 1:return r.sent(),u.on(document,"click",Q,t,!1),u.on(window,"resize",Y,t,!0),[2,!0]}}))}))}function Y(t){for(var e=0,n=t._hintItems;e<n.length;e++){var o=n[e],i=o.hintTargetElement;W(o.hintPosition,o.element,i)}}function $(t,e){var n=Array.from(e.querySelectorAll("*[data-intro]")),o=[];if(t._options.steps&&t._options.steps.length)for(var i=0,r=t._options.steps;i<r.length;i++){var s=J(d=r[i]);if(s.step=o.length+1,s.title=s.title||"","string"==typeof s.element&&(s.element=document.querySelector(s.element)||void 0),void 0===s.element||null===s.element){var a=document.querySelector(".introjsFloatingElement");null===a&&(a=E("div",{className:"introjsFloatingElement"}),document.body.appendChild(a)),s.element=a,s.position="floating"}s.position=s.position||t._options.tooltipPosition,s.scrollTo=s.scrollTo||t._options.scrollTo,void 0===s.disableInteraction&&(s.disableInteraction=t._options.disableInteraction),null!==s.element&&o.push(s)}else{var l=void 0;if(n.length<1)return[];for(var c=0,u=n;c<u.length;c++){var h=u[c];if((!t._options.group||h.getAttribute("data-intro-group")===t._options.group)&&"none"!==h.style.display){var d=parseInt(h.getAttribute("data-step")||"",10);l=t._options.disableInteraction,h.hasAttribute("data-disable-interaction")&&(l=!!h.getAttribute("data-disable-interaction")),d>0&&(o[d-1]={step:d,element:h,title:h.getAttribute("data-title")||"",intro:h.getAttribute("data-intro")||"",tooltipClass:h.getAttribute("data-tooltip-class")||void 0,highlightClass:h.getAttribute("data-highlight-class")||void 0,position:h.getAttribute("data-position")||t._options.tooltipPosition,scrollTo:h.getAttribute("data-scroll-to")||t._options.scrollTo,disableInteraction:l})}}for(var p=0,f=0,g=n;f<g.length;f++)if(h=g[f],(!t._options.group||h.getAttribute("data-intro-group")===t._options.group)&&null===h.getAttribute("data-step")){for(;void 0!==o[p];)p++;l=h.hasAttribute("data-disable-interaction")?!!h.getAttribute("data-disable-interaction"):t._options.disableInteraction,o[p]={element:h,title:h.getAttribute("data-title")||"",intro:h.getAttribute("data-intro")||"",step:p+1,tooltipClass:h.getAttribute("data-tooltip-class")||void 0,highlightClass:h.getAttribute("data-highlight-class")||void 0,position:h.getAttribute("data-position")||t._options.tooltipPosition,scrollTo:h.getAttribute("data-scroll-to")||t._options.scrollTo,disableInteraction:l}}}for(var m=[],b=0;b<o.length;b++)o[b]&&m.push(o[b]);return(o=m).sort((function(t,e){return t.step-e.step})),o}function U(t,e){var n=t._currentStep;if(null!=n&&-1!=n){var o=t._introItems[n],i=document.querySelector(".introjs-tooltipReferenceLayer"),r=document.querySelector(".introjs-helperLayer"),s=document.querySelector(".introjs-disableInteraction");S(t,o,r),S(t,o,i),S(t,o,s),e&&(t._introItems=$(t,t._targetElement),function(t,e){if(t._options.showBullets){var n=document.querySelector(".introjs-bullets");n&&n.parentNode&&n.parentNode.replaceChild(T(t,e),n)}}(t,o),P(i,n,t._introItems.length));
11var a=document.querySelector(".introjs-arrow"),l=document.querySelector(".introjs-tooltip");return l&&a&&A(t,t._introItems[n],l,a),Y(t),t}}function tt(t){U(t)}function et(t,e){if(void 0===e&&(e=!1),t&&t.parentElement){var n=t.parentElement;e?(_(t,{opacity:"0"}),window.setTimeout((function(){try{n.removeChild(t)}catch(t){}}),500)):n.removeChild(t)}}function nt(t,e,n){return void 0===n&&(n=!1),i(this,void 0,void 0,(function(){var o,i,s,a;return r(this,(function(r){switch(r.label){case 0:return o=!0,void 0===t._introBeforeExitCallback?[3,2]:[4,t._introBeforeExitCallback.call(t,e)];case 1:o=r.sent(),r.label=2;case 2:if(!n&&!1===o)return[2];if((i=Array.from(e.querySelectorAll(".introjs-overlay")))&&i.length)for(s=0,a=i;s<a.length;s++)et(a[s]);return et(e.querySelector(".introjs-helperLayer"),!0),et(e.querySelector(".introjs-tooltipReferenceLayer")),et(e.querySelector(".introjs-disableInteraction")),et(document.querySelector(".introjsFloatingElement")),j(),u.off(window,"keydown",F,t,!0),u.off(window,"resize",tt,t,!0),h(t._introExitCallback)?[4,t._introExitCallback.call(t)]:[3,4];case 3:r.sent(),r.label=4;case 4:return t._currentStep=-1,[2]}}))}))}function ot(t,e){return i(this,void 0,void 0,(function(){var n;return r(this,(function(o){switch(o.label){case 0:return t.isActive()?h(t._introStartCallback)?[4,t._introStartCallback.call(t,e)]:[3,2]:[2,!1];case 1:o.sent(),o.label=2;case 2:return 0===(n=$(t,e)).length?[2,!1]:(t._introItems=n,function(t,e){var n=this,o=E("div",{className:"introjs-overlay"});_(o,{top:0,bottom:0,left:0,right:0,position:"fixed"}),e.appendChild(o),!0===t._options.exitOnOverlayClick&&(_(o,{cursor:"pointer"}),o.onclick=function(){return i(n,void 0,void 0,(function(){return r(this,(function(n){switch(n.label){case 0:return[4,nt(t,e)];case 1:return n.sent(),[2]}}))}))})}(t,e),[4,B(t)]);case 3:o.sent(),e.addEventListener,t._options.keyboardNavigation&&u.on(window,"keydown",F,t,!0),u.on(window,"resize",tt,t,!0),o.label=4;case 4:return[2,!1]}}))}))}function it(t,e,n){return t[e]=n,t}var rt=function(){function t(t){this._currentStep=-1,this._introItems=[],this._hintItems=[],this._targetElement=t,this._options={steps:[],hints:[],isActive:!0,nextLabel:"Next",prevLabel:"Back",skipLabel:"×",doneLabel:"Done",hidePrev:!1,hideNext:!1,nextToDone:!0,tooltipPosition:"bottom",tooltipClass:"",group:"",highlightClass:"",exitOnEsc:!0,exitOnOverlayClick:!0,showStepNumbers:!1,stepNumbersOfLabel:"of",keyboardNavigation:!0,showButtons:!0,showBullets:!0,showProgress:!1,scrollToElement:!0,scrollTo:"element",scrollPadding:30,overlayOpacity:.5,autoPosition:!0,positionPrecedence:["bottom","top","right","left"],disableInteraction:!1,dontShowAgain:!1,dontShowAgainLabel:"Don't show this again",dontShowAgainCookie:"introjs-dontShowAgain",dontShowAgainCookieDays:365,helperElementPadding:10,hintPosition:"top-middle",hintButtonLabel:"Got it",hintShowButton:!0,hintAutoRefreshInterval:10,hintAnimation:!0,buttonClass:"introjs-button",progressBarAdditionalClass:!1}}return t.prototype.isActive=function(){return(!this._options.dontShowAgain||""===(t=a(this._options.dontShowAgainCookie))||"true"!==t)&&this._options.isActive;var t},t.prototype.clone=function(){return new t(this._targetElement)},t.prototype.setOption=function(t,e){return this._options=it(this._options,t,e),this},t.prototype.setOptions=function(t){return this._options=function(t,e){for(var n=0,o=Object.entries(e);n<o.length;n++){var i=o[n];t=it(t,i[0],i[1])}return t}(this._options,t),this},t.prototype.start=function(){return i(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return[4,ot(this,this._targetElement)];case 1:return t.sent(),[2,this]}}))}))},t.prototype.goToStep=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,O(this,t)];case 1:return e.sent(),[2,this]}}))}))},t.prototype.addStep=function(t){return this._options.steps||(this._options.steps=[]),this._options.steps.push(t),this},t.prototype.addSteps=function(t){if(!t.length)return this;for(var e=0;e<t.length;e++)this.addStep(t[e]);return this},t.prototype.goToStepNumber=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,q(this,t)];case 1:return e.sent(),[2,this]}}))}))},t.prototype.nextStep=function(){return i(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return[4,B(this)];case 1:return t.sent(),[2,this]}}))}))},t.prototype.previousStep=function(){return i(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return[4,H(this)];case 1:return t.sent(),[2,this]}}))}))},t.prototype.currentStep=function(){return this._currentStep},t.prototype.exit=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,nt(this,this._targetElement,t)];case 1:return e.sent(),[2,this]}}))}))},t.prototype.refresh=function(t){return U(this,t),this},t.prototype.setDontShowAgain=function(t){return function(t,e){e?s(t._options.dontShowAgainCookie,"true",t._options.dontShowAgainCookieDays):s(t._options.dontShowAgainCookie,"",-1)}(this,t),this},t.prototype.onbeforechange=function(t){if(!h(t))throw new Error("Provided callback for onbeforechange was not a function");return this._introBeforeChangeCallback=t,this},t.prototype.onchange=function(t){if(!h(t))throw new Error("Provided callback for onchange was not a function.");return this._introChangeCallback=t,this},t.prototype.onafterchange=function(t){if(!h(t))throw new Error("Provided callback for onafterchange was not a function");return this._introAfterChangeCallback=t,this},t.prototype.oncomplete=function(t){if(!h(t))throw new Error("Provided callback for oncomplete was not a function.");return this._introCompleteCallback=t,this},t.prototype.onhintsadded=function(t){if(!h(t))throw new Error("Provided callback for onhintsadded was not a function.");return this._hintsAddedCallback=t,this},t.prototype.onhintclick=function(t){if(!h(t))throw new Error("Provided callback for onhintclick was not a function.");return this._hintClickCallback=t,this},t.prototype.onhintclose=function(t){if(!h(t))throw new Error("Provided callback for onhintclose was not a function.");return this._hintCloseCallback=t,this},t.prototype.onstart=function(t){if(!h(t))throw new Error("Provided callback for onstart was not a function.");return this._introStartCallback=t,this},t.prototype.onexit=function(t){if(!h(t))throw new Error("Provided callback for onexit was not a function.");return this._introExitCallback=t,this},t.prototype.onskip=function(t){if(!h(t))throw new Error("Provided callback for onskip was not a function.");return this._introSkipCallback=t,this},t.prototype.onbeforeexit=function(t){if(!h(t))throw new Error("Provided callback for onbeforeexit was not a function.");return this._introBeforeExitCallback=t,this},t.prototype.addHints=function(){return i(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return[4,X(this,this._targetElement)];case 1:return t.sent(),[2,this]}}))}))},t.prototype.hideHint=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,R(this,t)];case 1:return e.sent(),[2,this]}}))}))},t.prototype.hideHints=function(){return i(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return[4,D(this)];case 1:return t.sent(),[2,this]}}))}))},t.prototype.showHint=function(t){return V(t),this},t.prototype.showHints=function(){return i(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return[4,z(this)];case 1:return t.sent(),[2,this]}}))}))},t.prototype.removeHints=function(){return function(t){for(var e=0,n=M(".introjs-hint");e<n.length;e++){var o=n[e].getAttribute("data-step");o&&K(parseInt(o,10))}u.off(document,"click",Q,t,!1),u.off(window,"resize",Y,t,!0),t._hintsAutoRefreshFunction&&u.off(window,"scroll",t._hintsAutoRefreshFunction,t,!0)}(this),this},t.prototype.removeHint=function(t){return K(t),this},t.prototype.showHintDialog=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,G(this,t)];case 1:return e.sent(),[2,this]}}))}))},t}(),st=function t(e){var n;if("object"===o(e))n=new rt(e);else if("string"==typeof e){var i=document.querySelector(e);
11if(!i)throw new Error("There is no element with given selector.");n=new rt(i)}else n=new rt(document.body);return t.instances[c(n,"introjs-instance")]=n,n};st.version="7.2.0",st.instances={}}}]);

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.