1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[54943],{857:t=>{var e=function(t){var e;return!!t&&"object"==typeof t&&"[object RegExp]"!==(e=Object.prototype.toString.call(t))&&"[object Date]"!==e&&t.$$typeof!==i},i="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function r(t,e){return!1!==e.clone&&e.isMergeableObject(t)?a(Array.isArray(t)?[]:{},t,e):t}function n(t,e,i){return t.concat(e).map(function(t){return r(t,i)})}function o(t){return Object.keys(t).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return Object.propertyIsEnumerable.call(t,e)}):[])}function s(t,e){try{return e in t}catch(t){return!1}}function a(t,i,l){(l=l||{}).arrayMerge=l.arrayMerge||n,l.isMergeableObject=l.isMergeableObject||e,l.cloneUnlessOtherwiseSpecified=r;var c,u,h=Array.isArray(i);return h!==Array.isArray(t)?r(i,l):h?l.arrayMerge(t,i,l):(u={},(c=l).isMergeableObject(t)&&o(t).forEach(function(e){u[e]=r(t[e],c)}),o(i).forEach(function(e){(!s(t,e)||Object.hasOwnProperty.call(t,e)&&Object.propertyIsEnumerable.call(t,e))&&(s(t,e)&&c.isMergeableObject(i[e])?u[e]=(function(t,e){if(!e.customMerge)return a;var i=e.customMerge(t);return"function"==typeof i?i:a})(e,c)(t[e],i[e],c):u[e]=r(i[e],c))}),u)}a.all=function(t,e){if(!Array.isArray(t))throw Error("first argument should be an array");return t.reduce(function(t,i){return a(t,i,e)},{})},t.exports=a},621:(t,e,i)=>{i.r(e),i.d(e,{default:()=>s});var r=i(568),n=i(49);class o{scrollIntoView(t,e){if(!e||e<=0)return new Promise(t=>{t()});let i=document.documentElement,r="object"==typeof i.scrollTop?i.scrollTop.offsetTop:i.scrollTop,n="object"==typeof t?t.offsetTop:t;return this.scrollTo(i,r,n,0,1/e,20,this.easingFunction,this.degree),new Promise(t=>{o.currentIteration+=1,window.setTimeout(t,e,o.currentIteration)})}scrollTo(t,e,i,r,n,s,a,l){if(r<0||r>1||n<=0||(window.clearTimeout(o.currentTimeout),!a)){t.scrollTop=i;return}t.scrollTop=e-(e-i)*a(r,l),r+=n*s,o.currentTimeout=window.setTimeout(()=>{this.scrollTo(t,e,i,r,n,s,a,l)},s)}static easeInPower(t,e){return t**e}static easeOutPower(t,e){return 1-(t-=1)**e*(-1)**e}static easeInOutPower(t,e){return(t*=2)<1?t**e/2:(2-(t-=2)**e*(-1)**e)/2}static easeInBouncy(t){return 2.70158*t**3-1.70158*t**2}static easeOutBouncy(t){return 1+2.70158*(t-1)**3+1.70158*(t-1)**2}static easeInOutBouncy(t){return t<.5?(2*t)**2*(3.5949095*2*t-2.5949095)/2:((2*t-2)**2*(3.5949095*(2*t-2)+2.5949095)+2)/2}constructor(t,e=1,i=!1){let r=o.easing;!0===i&&(r=r.bouncy),this.easingFunction=r[t],this.degree="linear"!==t?e:1}}o.currentIteration=0,o.easing={none:null,linear:o.easeInPower,in:o.easeInPower,out:o.easeOutPower,inOut:o.easeInOutPower,bouncy:{linear:o.easeInPower,in:o.easeInBouncy,out:o.easeOutBouncy,inOut:o.easeInOutBouncy}};class s extends r.Z{init(){var t,e;this.sidebar=this.el;let i=n.Z.querySelectorAll(document,this.options.anchoredSectionsSelector);this.anchoredSections=i,this.navigationList=n.Z.querySelector(this.sidebar,this.options.navigationListSelector),this.nativeScrollingDisabled=!((t=this.options.pageSettings)===null||void 0===t?void 0:t.nativeScrolling),this.smoothScrollingEnabled=((e=this.options.pageSettings)===null||void 0===e?void 0:e.active)||!1,this.disableNativeScrolling(),this.enableSmoothScrolling(this.navigationList),this.registerObserver(i)}disableNativeScrolling(){this.smoothScrollingEnabled||document.documentElement.style.setProperty("scroll-behavior",this.nativeScrollingDisabled?"revert":"smooth")}enableSmoothScrolling(t){this.smoothScrollingEnabled?this.scrollHelper=new o(this.options.pageSettings.easing,this.options.pageSettings.easingDegree,this.options.pageSettings.bouncy):this.scrollHelper=new o("none"),n.Z.querySelectorAll(t,this.options.entrySelector).forEach(t=>{t.addEventListener("click",this.onClickScrollSmoothly.bind(this))})}registerObserver(t){let e=new IntersectionObserver(this.onIntersection.bind(this),this.options.observerOptions),i=Array.from(t);return!!i&&!(i.length<=0)&&(i.forEach(t=>{e.observe(t)}),!0)}onClickScrollSmoothly(t){t.preventDefault();let e=t.target,i=this.options.entrySelector.substring(1);if(![e,e.parentNode].some(t=>t.classList.contains(i)))return!1;let r=void 0!==e.hash?e.hash:e.parentNode.hash;return this.performSmoothScrolling(r),!0}performSmoothScrolling(t){let e=n.Z.querySelector(document,t),i=1;this.smoothScrollingEnabled&&(i=this.options.pageSettings.duration),this.scrollHelper.scrollIntoView(e,i).then(e=>{e===o.currentIteration&&(window.location.hash=t)})}onIntersection(t){let e=t.find(t=>t.isIntersecting);if(!e||!e.target)return!1;let i=e.target;return this.setActiveNavigationItem(i)}setActiveNavigationItem(t){let e=Array.from(n.Z.querySelectorAll(this.navigationList,this.options.entrySelector));if(!e||e.length<=0)return!1;e.forEach(t=>{t.classList.remove(this.options.activeEntryClass)});let i=n.Z.querySelector(t,this.options.navigationAnchorSelector).id;return n.Z.querySelector(this.navigationList,'[href="#'.concat(i,'"]').concat(this.options.entrySelector)).classList.add(this.options.activeEntryClass),this.setUpDownNavigation(t),!0}setUpDownNavigation(t){if(this.anchoredSections.length<=0)return!1;let e=n.Z.querySelector(t,this.options.navigationAnchorSelector),i=Array.from(this.anchoredSections).findIndex(t=>n.Z.querySelector(t,this.options.navigationAnchorSelector).id===e.id);if(i<0)return!1;let r=n.Z.querySelector(this.sidebar,this.options.mobileUpButtonSelector),o=n.Z.querySelector(this.sidebar,this.options.mobileDownButtonSelector),s="#".concat(this.getPreviousSectionId(i)),a="#".concat(this.getNextSectionId(i));return r.addEventListener("click",this.performSmoothScrolling.bind(this,s)),o.addEventListener("click",this.performSmoothScrolling.bind(this,a)),!0}
1getPreviousSectionId(t){return this.getSectionIdByIndex(Math.max(0,t-1))}getNextSectionId(t){let e=Math.min(this.anchoredSections.length-1,t+1);return this.getSectionIdByIndex(e)}getSectionIdByIndex(t){return n.Z.querySelector(this.anchoredSections[t],this.options.navigationAnchorSelector).id}}s.options={navigationListSelector:".scroll-navigation-sidebar-list",anchoredSectionsSelector:".swag-cms-extensions-scroll-navigation-wrapper",navigationAnchorSelector:".scroll-navigation-anchor",entrySelector:".scroll-navigation-sidebar-entry",activeEntryClass:"scroll-navigation-sidebar-entry--active",mobileListButtonSelector:"#scroll-navigation-mobile-button-list",mobileUpButtonSelector:"#scroll-navigation-mobile-button-up",mobileDownButtonSelector:"#scroll-navigation-mobile-button-down",observerOptions:{rootMargin:"-10% 0% -60% 0%"},pageSettings:{}}},49:(t,e,i)=>{i.d(e,{Z:()=>n});var r=i(140);class n{static isNode(t){return"object"==typeof t&&null!==t&&(t===document||t===window||t instanceof Node)}static hasAttribute(t,e){if(!n.isNode(t))throw Error("The element must be a valid HTML Node!");return"function"==typeof t.hasAttribute&&t.hasAttribute(e)}static getAttribute(t,e){let i=!(arguments.length>2)||void 0===arguments[2]||arguments[2];if(i&&!1===n.hasAttribute(t,e))throw Error('The required property "'.concat(e,'" does not exist!'));if("function"!=typeof t.getAttribute){if(i)throw Error("This node doesn't support the getAttribute function!");return}return t.getAttribute(e)}static getDataAttribute(t,e){let i=!(arguments.length>2)||void 0===arguments[2]||arguments[2],o=e.replace(/^data(|-)/,""),s=r.Z.toLowerCamelCase(o,"-");if(!n.isNode(t)){if(i)throw Error("The passed node is not a valid HTML Node!");return}if(void 0===t.dataset){if(i)throw Error("This node doesn't support the dataset attribute!");return}let a=t.dataset[s];if(void 0===a){if(i)throw Error('The required data attribute "'.concat(e,'" does not exist on ').concat(t,"!"));return a}return r.Z.parsePrimitive(a)}static querySelector(t,e){let i=!(arguments.length>2)||void 0===arguments[2]||arguments[2];if(i&&!n.isNode(t))throw Error("The parent node is not a valid HTML Node!");let r=t.querySelector(e)||!1;if(i&&!1===r)throw Error('The required element "'.concat(e,'" does not exist in parent node!'));return r}static querySelectorAll(t,e){let i=!(arguments.length>2)||void 0===arguments[2]||arguments[2];if(i&&!n.isNode(t))throw Error("The parent node is not a valid HTML Node!");let r=t.querySelectorAll(e);if(0===r.length&&(r=!1),i&&!1===r)throw Error('At least one item of "'.concat(e,'" must exist in parent node!'));return r}static getFocusableElements(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.body;return t.querySelectorAll('\n input:not([tabindex^="-"]):not([disabled]):not([type="hidden"]),\n select:not([tabindex^="-"]):not([disabled]),\n textarea:not([tabindex^="-"]):not([disabled]),\n button:not([tabindex^="-"]):not([disabled]),\n a[href]:not([tabindex^="-"]):not([disabled]),\n [tabindex]:not([tabindex^="-"]):not([disabled])\n ')}static getFirstFocusableElement(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.body;return this.getFocusableElements(t)[0]}static getLastFocusableElement(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,e=this.getFocusableElements(t);return e[e.length-1]}}},830:(t,e,i)=>{i.d(e,{Z:()=>r});class r{publish(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=new CustomEvent(t,{detail:e,cancelable:i});return this.el.dispatchEvent(r),r}subscribe(t,e){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=this,n=t.split("."),o=i.scope?e.bind(i.scope):e;if(i.once&&!0===i.once){let e=o;o=function(i){r.unsubscribe(t),e(i)}}return this.el.addEventListener(n[0],o),this.listeners.push({splitEventName:n,opts:i,cb:o}),!0}unsubscribe(t){let e=t.split(".");return this.listeners=this.listeners.reduce((t,i)=>([...i.splitEventName].sort().toString()===e.sort().toString()?this.el.removeEventListener(i.splitEventName[0],i.cb):t.push(i),t),[]),!0}
1reset(){return this.listeners.forEach(t=>{this.el.removeEventListener(t.splitEventName[0],t.cb)}),this.listeners=[],!0}get el(){return this._el}set el(t){this._el=t}get listeners(){return this._listeners}set listeners(t){this._listeners=t}constructor(t=document){this._el=t,t.$emitter=this,this._listeners=[]}}},140:(t,e,i)=>{i.d(e,{Z:()=>r});class r{static ucFirst(t){return t.charAt(0).toUpperCase()+t.slice(1)}static lcFirst(t){return t.charAt(0).toLowerCase()+t.slice(1)}static toDashCase(t){return t.replace(/([A-Z])/g,"-$1").replace(/^-/,"").toLowerCase()}static toLowerCamelCase(t,e){let i=r.toUpperCamelCase(t,e);return r.lcFirst(i)}static toUpperCamelCase(t,e){return e?t.split(e).map(t=>r.ucFirst(t.toLowerCase())).join(""):r.ucFirst(t.toLowerCase())}static parsePrimitive(t){try{return/^\d+(.|,)\d+$/.test(t)&&(t=t.replace(",",".")),JSON.parse(t)}catch(e){return t.toString()}}}},568:(t,e,i)=>{i.d(e,{Z:()=>l});var r=i(857),n=i.n(r),o=i(49),s=i(140),a=i(830);class l{init(){throw Error('The "init" method for the plugin "'.concat(this._pluginName,'" is not defined.'))}update(){}_init(){this._initialized||(this.init(),this._initialized=!0)}_update(){this._initialized&&this.update()}_mergeOptions(t){let e=s.Z.toDashCase(this._pluginName),i=o.Z.getDataAttribute(this.el,"data-".concat(e,"-config"),!1),r=o.Z.getAttribute(this.el,"data-".concat(e,"-options"),!1),a=[this.constructor.options,this.options,t];i&&a.push(window.PluginConfigManager.get(this._pluginName,i));try{r&&a.push(JSON.parse(r))}catch(t){throw console.error(this.el),Error('The data attribute "data-'.concat(e,'-options" could not be parsed to json: ').concat(t.message))}return n().all(a.filter(t=>t instanceof Object&&!(t instanceof Array)).map(t=>t||{}))}_registerInstance(){window.PluginManager.getPluginInstancesFromElement(this.el).set(this._pluginName,this),window.PluginManager.getPlugin(this._pluginName,!1).get("instances").push(this)}_getPluginName(t){return t||(t=this.constructor.name),t}constructor(t,e={},i=!1){if(!o.Z.isNode(t))throw Error("There is no valid element given.");this.el=t,this.$emitter=new a.Z(this.el),this._pluginName=this._getPluginName(i),this.options=this._mergeOptions(e),this._initialized=!1,this._registerInstance(),this._init()}}}}]);
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.