PageSourceSearch

https://www.museum-franken.de/dist/assets/app-B1XwlgJc.js

js museum-franken.de collected 2026-10-02 10:43:43 UTC 170,861 bytes, 27 lines download raw bytes

1var cn=Object.defineProperty;var un=(n,t,e)=>t in n?cn(n,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):n[t]=e;var ct=(n,t,e)=>un(n,typeof t!="symbol"?t+"":t,e);class dn{constructor(t,e,i){this.eventTarget=t,this.eventName=e,this.eventOptions=i,this.unorderedBindings=new Set}connect(){this.eventTarget.addEventListener(this.eventName,this,this.eventOptions)}disconnect(){this.eventTarget.removeEventListener(this.eventName,this,this.eventOptions)}bindingConnected(t){this.unorderedBindings.add(t)}bindingDisconnected(t){this.unorderedBindings.delete(t)}handleEvent(t){const e=hn(t);for(const i of this.bindings){if(e.immediatePropagationStopped)break;i.handleEvent(e)}}hasBindings(){return this.unorderedBindings.size>0}get bindings(){return Array.from(this.unorderedBindings).sort((t,e)=>{const i=t.index,r=e.index;return i<r?-1:i>r?1:0})}}function hn(n){if("immediatePropagationStopped"in n)return n;{const{stopImmediatePropagation:t}=n;return Object.assign(n,{immediatePropagationStopped:!1,stopImmediatePropagation(){this.immediatePropagationStopped=!0,t.call(this)}})}}class fn{constructor(t){this.application=t,this.eventListenerMaps=new Map,this.started=!1}start(){this.started||(this.started=!0,this.eventListeners.forEach(t=>t.connect()))}stop(){this.started&&(this.started=!1,this.eventListeners.forEach(t=>t.disconnect()))}get eventListeners(){return Array.from(this.eventListenerMaps.values()).reduce((t,e)=>t.concat(Array.from(e.values())),[])}bindingConnected(t){this.fetchEventListenerForBinding(t).bindingConnected(t)}bindingDisconnected(t,e=!1){this.fetchEventListenerForBinding(t).bindingDisconnected(t),e&&this.clearEventListenersForBinding(t)}handleError(t,e,i={}){this.application.handleError(t,`Error ${e}`,i)}clearEventListenersForBinding(t){const e=this.fetchEventListenerForBinding(t);e.hasBindings()||(e.disconnect(),this.removeMappedEventListenerFor(t))}removeMappedEventListenerFor(t){const{eventTarget:e,eventName:i,eventOptions:r}=t,s=this.fetchEventListenerMapForEventTarget(e),o=this.cacheKey(i,r);s.delete(o),s.size==0&&this.eventListenerMaps.delete(e)}fetchEventListenerForBinding(t){const{eventTarget:e,eventName:i,eventOptions:r}=t;return this.fetchEventListener(e,i,r)}fetchEventListener(t,e,i){const r=this.fetchEventListenerMapForEventTarget(t),s=this.cacheKey(e,i);let o=r.get(s);return o||(o=this.createEventListener(t,e,i),r.set(s,o)),o}createEventListener(t,e,i){const r=new dn(t,e,i);return this.started&&r.connect(),r}fetchEventListenerMapForEventTarget(t){let e=this.eventListenerMaps.get(t);return e||(e=new Map,this.eventListenerMaps.set(t,e)),e}cacheKey(t,e){const i=[t];return Object.keys(e).sort().forEach(r=>{i.push(`${e[r]?"":"!"}${r}`)}),i.join(":")}}const pn={stop({event:n,value:t}){return t&&n.stopPropagation(),!0},prevent({event:n,value:t}){return t&&n.preventDefault(),!0},self({event:n,value:t,element:e}){return t?e===n.target:!0}},gn=/^(?:(?:([^.]+?)\+)?(.+?)(?:\.(.+?))?(?:@(window|document))?->)?(.+?)(?:#([^:]+?))(?::(.+))?$/;function mn(n){const e=n.trim().match(gn)||[];let i=e[2],r=e[3];return r&&!["keydown","keyup","keypress"].includes(i)&&(i+=`.${r}`,r=""),{eventTarget:vn(e[4]),eventName:i,eventOptions:e[7]?yn(e[7]):{},identifier:e[5],methodName:e[6],keyFilter:e[1]||r}}function vn(n){if(n=="window")return window;if(n=="document")return document}function yn(n){return n.split(":").reduce((t,e)=>Object.assign(t,{[e.replace(/^!/,"")]:!/^!/.test(e)}),{})}function bn(n){if(n==window)return"window";if(n==document)return"document"}function $e(n){return n.replace(/(?:[_-])([a-z0-9])/g,(t,e)=>e.toUpperCase())}function Ce(n){return $e(n.replace(/--/g,"-").replace(/__/g,"_"))}function Qt(n){return n.charAt(0).toUpperCase()+n.slice(1)}function _i(n){return n.replace(/([A-Z])/g,(t,e)=>`-${e.toLowerCase()}`)}function En(n){return n.match(/[^\s]+/g)||[]}function Je(n){return n!=null}function ke(n,t){return Object.prototype.hasOwnProperty.call(n,t)}const ti=["meta","ctrl","alt","shift"];class wn{constructor(t,e,i,r){this.element=t,this.index=e,this.eventTarget=i.eventTarget||t,this.eventName=i.eventName||Sn(t)||ie("missing event name"),this.eventOptions=i.eventOptions||{},this.identifier=i.identifier||ie("missing identifier"),this.methodName=i.methodName||ie("missing method n
1ame"),this.keyFilter=i.keyFilter||"",this.schema=r}static forToken(t,e){return new this(t.element,t.index,mn(t.content),e)}toString(){const t=this.keyFilter?`.${this.keyFilter}`:"",e=this.eventTargetName?`@${this.eventTargetName}`:"";return`${this.eventName}${t}${e}->${this.identifier}#${this.methodName}`}shouldIgnoreKeyboardEvent(t){if(!this.keyFilter)return!1;const e=this.keyFilter.split("+");if(this.keyFilterDissatisfied(t,e))return!0;const i=e.filter(r=>!ti.includes(r))[0];return i?(ke(this.keyMappings,i)||ie(`contains unknown key filter: ${this.keyFilter}`),this.keyMappings[i].toLowerCase()!==t.key.toLowerCase()):!1}shouldIgnoreMouseEvent(t){if(!this.keyFilter)return!1;const e=[this.keyFilter];return!!this.keyFilterDissatisfied(t,e)}get params(){const t={},e=new RegExp(`^data-${this.identifier}-(.+)-param$`,"i");for(const{name:i,value:r}of Array.from(this.element.attributes)){const s=i.match(e),o=s&&s[1];o&&(t[$e(o)]=On(r))}return t}get eventTargetName(){return bn(this.eventTarget)}get keyMappings(){return this.schema.keyMappings}keyFilterDissatisfied(t,e){const[i,r,s,o]=ti.map(l=>e.includes(l));return t.metaKey!==i||t.ctrlKey!==r||t.altKey!==s||t.shiftKey!==o}}const ei={a:()=>"click",button:()=>"click",form:()=>"submit",details:()=>"toggle",input:n=>n.getAttribute("type")=="submit"?"click":"input",select:()=>"change",textarea:()=>"input"};function Sn(n){const t=n.tagName.toLowerCase();if(t in ei)return ei[t](n)}function ie(n){throw new Error(n)}function On(n){try{return JSON.parse(n)}catch{return n}}class xn{constructor(t,e){this.context=t,this.action=e}get index(){return this.action.index}get eventTarget(){return this.action.eventTarget}get eventOptions(){return this.action.eventOptions}get identifier(){return this.context.identifier}handleEvent(t){const e=this.prepareActionEvent(t);this.willBeInvokedByEvent(t)&&this.applyEventModifiers(e)&&this.invokeWithEvent(e)}get eventName(){return this.action.eventName}get method(){const t=this.controller[this.methodName];if(typeof t=="function")return t;throw new Error(`Action "${this.action}" references undefined method "${this.methodName}"`)}applyEventModifiers(t){const{element:e}=this.action,{actionDescriptorFilters:i}=this.context.application,{controller:r}=this.context;let s=!0;for(const[o,l]of Object.entries(this.eventOptions))if(o in i){const c=i[o];s=s&&c({name:o,value:l,event:t,element:e,controller:r})}else continue;return s}prepareActionEvent(t){return Object.assign(t,{params:this.action.params})}invokeWithEvent(t){const{target:e,currentTarget:i}=t;try{this.method.call(this.controller,t),this.context.logDebugActivity(this.methodName,{event:t,target:e,currentTarget:i,action:this.methodName})}catch(r){const{identifier:s,controller:o,element:l,index:c}=this,d={identifier:s,controller:o,element:l,index:c,event:t};this.context.handleError(r,`invoking action "${this.action}"`,d)}}willBeInvokedByEvent(t){const e=t.target;return t instanceof KeyboardEvent&&this.action.shouldIgnoreKeyboardEvent(t)||t instanceof MouseEvent&&this.action.shouldIgnoreMouseEvent(t)?!1:this.element===e?!0:e instanceof Element&&this.element.contains(e)?this.scope.containsElement(e):this.scope.containsElement(this.action.element)}get controller(){return this.context.controller}get methodName(){return this.action.methodName}get element(){return this.scope.element}get scope(){return this.context.scope}}class Li{constructor(t,e){this.mutationObserverInit={attributes:!0,childList:!0,subtree:!0},this.element=t,this.started=!1,this.delegate=e,this.elements=new Set,this.mutationObserver=new MutationObserver(i=>this.processMutations(i))}start(){this.started||(this.started=!0,this.mutationObserver.observe(this.element,this.mutationObserverInit),this.refresh())}pause(t){this.started&&(this.mutationObserver.disconnect(),this.started=!1),t(),this.started||(this.mutationObserver.observe(this.element,this.mutationObserverInit),this.started=!0)}stop(){this.started&&(this.mutationObserver.takeRecords(),this.mutationObserver.disconnect(),this.started=!1)}refresh(){if(this.started){const t=new Set(this.matchElementsInTree());for(const e of Array.from(this.elements))t.has(e)||this.removeElement(e);for(const e of Array.from(t))this.addElement(e)}}processMutations(t){if(this.started)for(const e of t)this.processMutation(e)}processMutation(t){t.type=="attributes"?this.processAttributeChange(t.target,t.attributeName):t.type=="childList"&&(this.processRemovedNodes(t.removedNodes
1),this.processAddedNodes(t.addedNodes))}processAttributeChange(t,e){this.elements.has(t)?this.delegate.elementAttributeChanged&&this.matchElement(t)?this.delegate.elementAttributeChanged(t,e):this.removeElement(t):this.matchElement(t)&&this.addElement(t)}processRemovedNodes(t){for(const e of Array.from(t)){const i=this.elementFromNode(e);i&&this.processTree(i,this.removeElement)}}processAddedNodes(t){for(const e of Array.from(t)){const i=this.elementFromNode(e);i&&this.elementIsActive(i)&&this.processTree(i,this.addElement)}}matchElement(t){return this.delegate.matchElement(t)}matchElementsInTree(t=this.element){return this.delegate.matchElementsInTree(t)}processTree(t,e){for(const i of this.matchElementsInTree(t))e.call(this,i)}elementFromNode(t){if(t.nodeType==Node.ELEMENT_NODE)return t}elementIsActive(t){return t.isConnected!=this.element.isConnected?!1:this.element.contains(t)}addElement(t){this.elements.has(t)||this.elementIsActive(t)&&(this.elements.add(t),this.delegate.elementMatched&&this.delegate.elementMatched(t))}removeElement(t){this.elements.has(t)&&(this.elements.delete(t),this.delegate.elementUnmatched&&this.delegate.elementUnmatched(t))}}class Mi{constructor(t,e,i){this.attributeName=e,this.delegate=i,this.elementObserver=new Li(t,this)}get element(){return this.elementObserver.element}get selector(){return`[${this.attributeName}]`}start(){this.elementObserver.start()}pause(t){this.elementObserver.pause(t)}stop(){this.elementObserver.stop()}refresh(){this.elementObserver.refresh()}get started(){return this.elementObserver.started}matchElement(t){return t.hasAttribute(this.attributeName)}matchElementsInTree(t){const e=this.matchElement(t)?[t]:[],i=Array.from(t.querySelectorAll(this.selector));return e.concat(i)}elementMatched(t){this.delegate.elementMatchedAttribute&&this.delegate.elementMatchedAttribute(t,this.attributeName)}elementUnmatched(t){this.delegate.elementUnmatchedAttribute&&this.delegate.elementUnmatchedAttribute(t,this.attributeName)}elementAttributeChanged(t,e){this.delegate.elementAttributeValueChanged&&this.attributeName==e&&this.delegate.elementAttributeValueChanged(t,e)}}function Tn(n,t,e){Ci(n,t).add(e)}function An(n,t,e){Ci(n,t).delete(e),_n(n,t)}function Ci(n,t){let e=n.get(t);return e||(e=new Set,n.set(t,e)),e}function _n(n,t){const e=n.get(t);e!=null&&e.size==0&&n.delete(t)}class zt{constructor(){this.valuesByKey=new Map}get keys(){return Array.from(this.valuesByKey.keys())}get values(){return Array.from(this.valuesByKey.values()).reduce((e,i)=>e.concat(Array.from(i)),[])}get size(){return Array.from(this.valuesByKey.values()).reduce((e,i)=>e+i.size,0)}add(t,e){Tn(this.valuesByKey,t,e)}delete(t,e){An(this.valuesByKey,t,e)}has(t,e){const i=this.valuesByKey.get(t);return i!=null&&i.has(e)}hasKey(t){return this.valuesByKey.has(t)}hasValue(t){return Array.from(this.valuesByKey.values()).some(i=>i.has(t))}getValuesForKey(t){const e=this.valuesByKey.get(t);return e?Array.from(e):[]}getKeysForValue(t){return Array.from(this.valuesByKey).filter(([e,i])=>i.has(t)).map(([e,i])=>e)}}class Ln{constructor(t,e,i,r){this._selector=e,this.details=r,this.elementObserver=new Li(t,this),this.delegate=i,this.matchesByElement=new zt}get started(){return this.elementObserver.started}get selector(){return this._selector}set selector(t){this._selector=t,this.refresh()}start(){this.elementObserver.start()}pause(t){this.elementObserver.pause(t)}stop(){this.elementObserver.stop()}refresh(){this.elementObserver.refresh()}get element(){return this.elementObserver.element}matchElement(t){const{selector:e}=this;if(e){const i=t.matches(e);return this.delegate.selectorMatchElement?i&&this.delegate.selectorMatchElement(t,this.details):i}else return!1}matchElementsInTree(t){const{selector:e}=this;if(e){const i=this.matchElement(t)?[t]:[],r=Array.from(t.querySelectorAll(e)).filter(s=>this.matchElement(s));return i.concat(r)}else return[]}elementMatched(t){const{selector:e}=this;e&&this.selectorMatched(t,e)}elementUnmatched(t){const e=this.matchesByElement.getKeysForValue(t);for(const i of e)this.selectorUnmatched(t,i)}elementAttributeChanged(t,e){const{selector:i}=this;if(i){const r=this.matchElement(t),s=this.matchesByElement.has(i,t);r&&!s?this.selectorMatched(t,i):!r&&s&&this.selectorUnmatched(t,i)}}selectorMatched(t,e){this.delegate.selectorMatched(t,e,this.details),this.matchesByElement.add(e,t)}selectorUnmatched(t,e){this.delegate.selectorUnmatched(t,e,this.details),this.matchesByElement.delete(e,t)}}class Mn{constructor(t,e){this.element=t,this.delegate=e,this.started=!1,this.stringMap=new Map,this.mutationObserver=new MutationObserver(i=>this.processMutations(i))}start(){this.started||(this.started=!0,this.mutationObserver.observe(this.element,{attributes:!0,attributeOldValue:!0}),this.refresh())}stop(){this.started&&(this.mutationObserver.takeRecords(),this.mutationObserver.disconnect(),this.started=!1)}refresh(){if(this.started)for(const t of this.knownAttributeNames)this.refreshAttribute(t,null)}processMutations(t){if(this.started)for(const e of t)this.processMutation(e)}processMutation(t){const e=t.attributeName;e&&this.refreshAttribute(e,t.oldValue)}refreshAttribute(t,e){const i=this.delegate.getStringMapKeyForAttribute(t);if(i!=null){this.stringMap.has(t)||this.stringMapKeyAdded(i,t);const r=this.element.getAttribute(t);if(this.stringMap.get(t)!=r&&this.stringMapValueChanged(r,i,e),r==null){const s=this.stringMap.get(t);this.stringMap.delete(t),s&&this.stringMapKeyRemoved(i,t,s)}else this.stringMap.set(t,r)}}stringMapKeyAdded(t,e){this.delegate.stringMapKeyAdded&&this.delegate.stringMapKeyAdded(t,e)}stringMapValueChanged(t,e,i){this.delegate.stringMapValueChanged&&this.delegate.stringMapValueChanged(t,e,i)}
1stringMapKeyRemoved(t,e,i){this.delegate.stringMapKeyRemoved&&this.delegate.stringMapKeyRemoved(t,e,i)}get knownAttributeNames(){return Array.from(new Set(this.currentAttributeNames.concat(this.recordedAttributeNames)))}get currentAttributeNames(){return Array.from(this.element.attributes).map(t=>t.name)}get recordedAttributeNames(){return Array.from(this.stringMap.keys())}}class ki{constructor(t,e,i){this.attributeObserver=new Mi(t,e,this),this.delegate=i,this.tokensByElement=new zt}get started(){return this.attributeObserver.started}start(){this.attributeObserver.start()}pause(t){this.attributeObserver.pause(t)}stop(){this.attributeObserver.stop()}refresh(){this.attributeObserver.refresh()}get element(){return this.attributeObserver.element}get attributeName(){return this.attributeObserver.attributeName}elementMatchedAttribute(t){this.tokensMatched(this.readTokensForElement(t))}elementAttributeValueChanged(t){const[e,i]=this.refreshTokensForElement(t);this.tokensUnmatched(e),this.tokensMatched(i)}elementUnmatchedAttribute(t){this.tokensUnmatched(this.tokensByElement.getValuesForKey(t))}tokensMatched(t){t.forEach(e=>this.tokenMatched(e))}tokensUnmatched(t){t.forEach(e=>this.tokenUnmatched(e))}tokenMatched(t){this.delegate.tokenMatched(t),this.tokensByElement.add(t.element,t)}tokenUnmatched(t){this.delegate.tokenUnmatched(t),this.tokensByElement.delete(t.element,t)}refreshTokensForElement(t){const e=this.tokensByElement.getValuesForKey(t),i=this.readTokensForElement(t),r=kn(e,i).findIndex(([s,o])=>!zn(s,o));return r==-1?[[],[]]:[e.slice(r),i.slice(r)]}readTokensForElement(t){const e=this.attributeName,i=t.getAttribute(e)||"";return Cn(i,t,e)}}function Cn(n,t,e){return n.trim().split(/\s+/).filter(i=>i.length).map((i,r)=>({element:t,attributeName:e,content:i,index:r}))}function kn(n,t){const e=Math.max(n.length,t.length);return Array.from({length:e},(i,r)=>[n[r],t[r]])}function zn(n,t){return n&&t&&n.index==t.index&&n.content==t.content}class zi{constructor(t,e,i){this.tokenListObserver=new ki(t,e,this),this.delegate=i,this.parseResultsByToken=new WeakMap,this.valuesByTokenByElement=new WeakMap}get started(){return this.tokenListObserver.started}start(){this.tokenListObserver.start()}stop(){this.tokenListObserver.stop()}refresh(){this.tokenListObserver.refresh()}get element(){return this.tokenListObserver.element}get attributeName(){return this.tokenListObserver.attributeName}tokenMatched(t){const{element:e}=t,{value:i}=this.fetchParseResultForToken(t);i&&(this.fetchValuesByTokenForElement(e).set(t,i),this.delegate.elementMatchedValue(e,i))}tokenUnmatched(t){const{element:e}=t,{value:i}=this.fetchParseResultForToken(t);i&&(this.fetchValuesByTokenForElement(e).delete(t),this.delegate.elementUnmatchedValue(e,i))}fetchParseResultForToken(t){let e=this.parseResultsByToken.get(t);return e||(e=this.parseToken(t),this.parseResultsByToken.set(t,e)),e}fetchValuesByTokenForElement(t){let e=this.valuesByTokenByElement.get(t);return e||(e=new Map,this.valuesByTokenByElement.set(t,e)),e}parseToken(t){try{return{value:this.delegate.parseValueForToken(t)}}catch(e){return{error:e}}}}class Dn{constructor(t,e){this.context=t,this.delegate=e,this.bindingsByAction=new Map}start(){this.valueListObserver||(this.valueListObserver=new zi(this.element,this.actionAttribute,this),this.valueListObserver.start())}stop(){this.valueListObserver&&(this.valueListObserver.stop(),delete this.valueListObserver,this.disconnectAllActions())}get element(){return this.context.element}get identifier(){return this.context.identifier}get actionAttribute(){return this.schema.actionAttribute}get schema(){return this.context.schema}get bindings(){return Array.from(this.bindingsByAction.values())}connectAction(t){const e=new xn(this.context,t);this.bindingsByAction.set(t,e),this.delegate.bindingConnected(e)}disconnectAction(t){const e=this.bindingsByAction.get(t);e&&(this.bindingsByAction.delete(t),this.delegate.bindingDisconnected(e))}
1disconnectAllActions(){this.bindings.forEach(t=>this.delegate.bindingDisconnected(t,!0)),this.bindingsByAction.clear()}parseValueForToken(t){const e=wn.forToken(t,this.schema);if(e.identifier==this.identifier)return e}elementMatchedValue(t,e){this.connectAction(e)}elementUnmatchedValue(t,e){this.disconnectAction(e)}}class In{constructor(t,e){this.context=t,this.receiver=e,this.stringMapObserver=new Mn(this.element,this),this.valueDescriptorMap=this.controller.valueDescriptorMap}start(){this.stringMapObserver.start(),this.invokeChangedCallbacksForDefaultValues()}stop(){this.stringMapObserver.stop()}get element(){return this.context.element}get controller(){return this.context.controller}getStringMapKeyForAttribute(t){if(t in this.valueDescriptorMap)return this.valueDescriptorMap[t].name}stringMapKeyAdded(t,e){const i=this.valueDescriptorMap[e];this.hasValue(t)||this.invokeChangedCallback(t,i.writer(this.receiver[t]),i.writer(i.defaultValue))}stringMapValueChanged(t,e,i){const r=this.valueDescriptorNameMap[e];t!==null&&(i===null&&(i=r.writer(r.defaultValue)),this.invokeChangedCallback(e,t,i))}stringMapKeyRemoved(t,e,i){const r=this.valueDescriptorNameMap[t];this.hasValue(t)?this.invokeChangedCallback(t,r.writer(this.receiver[t]),i):this.invokeChangedCallback(t,r.writer(r.defaultValue),i)}invokeChangedCallbacksForDefaultValues(){for(const{key:t,name:e,defaultValue:i,writer:r}of this.valueDescriptors)i!=null&&!this.controller.data.has(t)&&this.invokeChangedCallback(e,r(i),void 0)}invokeChangedCallback(t,e,i){const r=`${t}Changed`,s=this.receiver[r];if(typeof s=="function"){const o=this.valueDescriptorNameMap[t];try{const l=o.reader(e);let c=i;i&&(c=o.reader(i)),s.call(this.receiver,l,c)}catch(l){throw l instanceof TypeError&&(l.message=`Stimulus Value "${this.context.identifier}.${o.name}" - ${l.message}`),l}}}get valueDescriptors(){const{valueDescriptorMap:t}=this;return Object.keys(t).map(e=>t[e])}get valueDescriptorNameMap(){const t={};return Object.keys(this.valueDescriptorMap).forEach(e=>{const i=this.valueDescriptorMap[e];t[i.name]=i}),t}hasValue(t){const e=this.valueDescriptorNameMap[t],i=`has${Qt(e.name)}`;return this.receiver[i]}}class Fn{constructor(t,e){this.context=t,this.delegate=e,this.targetsByName=new zt}start(){this.tokenListObserver||(this.tokenListObserver=new ki(this.element,this.attributeName,this),this.tokenListObserver.start())}stop(){this.tokenListObserver&&(this.disconnectAllTargets(),this.tokenListObserver.stop(),delete this.tokenListObserver)}tokenMatched({element:t,content:e}){this.scope.containsElement(t)&&this.connectTarget(t,e)}tokenUnmatched({element:t,content:e}){this.disconnectTarget(t,e)}connectTarget(t,e){var i;this.targetsByName.has(e,t)||(this.targetsByName.add(e,t),(i=this.tokenListObserver)===null||i===void 0||i.pause(()=>this.delegate.targetConnected(t,e)))}disconnectTarget(t,e){var i;this.targetsByName.has(e,t)&&(this.targetsByName.delete(e,t),(i=this.tokenListObserver)===null||i===void 0||i.pause(()=>this.delegate.targetDisconnected(t,e)))}disconnectAllTargets(){for(const t of this.targetsByName.keys)for(const e of this.targetsByName.getValuesForKey(t))this.disconnectTarget(e,t)}get attributeName(){return`data-${this.context.identifier}-target`}get element(){return this.context.element}get scope(){return this.context.scope}}function Zt(n,t){const e=Di(n);return Array.from(e.reduce((i,r)=>(Bn(r,t).forEach(s=>i.add(s)),i),new Set))}function Nn(n,t){return Di(n).reduce((i,r)=>(i.push(...Wn(r,t)),i),[])}function Di(n){const t=[];for(;n;)t.push(n),n=Object.getPrototypeOf(n);return t.reverse()}function Bn(n,t){const e=n[t];return Array.isArray(e)?e:[]}function Wn(n,t){const e=n[t];return e?Object.keys(e).map(i=>[i,e[i]]):[]}class Rn{constructor(t,e){this.started=!1,this.context=t,this.delegate=e,this.outletsByName=new zt,this.outletElementsByName=new zt,this.selectorObserverMap=new Map,this.attributeObserverMap=new Map}start(){this.started||(this.outletDefinitions.forEach(t=>{this.setupSelectorObserverForOutlet(t),this.setupAttributeObserverForOutlet(t)}
1),this.started=!0,this.dependentContexts.forEach(t=>t.refresh()))}refresh(){this.selectorObserverMap.forEach(t=>t.refresh()),this.attributeObserverMap.forEach(t=>t.refresh())}stop(){this.started&&(this.started=!1,this.disconnectAllOutlets(),this.stopSelectorObservers(),this.stopAttributeObservers())}stopSelectorObservers(){this.selectorObserverMap.size>0&&(this.selectorObserverMap.forEach(t=>t.stop()),this.selectorObserverMap.clear())}stopAttributeObservers(){this.attributeObserverMap.size>0&&(this.attributeObserverMap.forEach(t=>t.stop()),this.attributeObserverMap.clear())}selectorMatched(t,e,{outletName:i}){const r=this.getOutlet(t,i);r&&this.connectOutlet(r,t,i)}selectorUnmatched(t,e,{outletName:i}){const r=this.getOutletFromMap(t,i);r&&this.disconnectOutlet(r,t,i)}selectorMatchElement(t,{outletName:e}){const i=this.selector(e),r=this.hasOutlet(t,e),s=t.matches(`[${this.schema.controllerAttribute}~=${e}]`);return i?r&&s&&t.matches(i):!1}elementMatchedAttribute(t,e){const i=this.getOutletNameFromOutletAttributeName(e);i&&this.updateSelectorObserverForOutlet(i)}elementAttributeValueChanged(t,e){const i=this.getOutletNameFromOutletAttributeName(e);i&&this.updateSelectorObserverForOutlet(i)}elementUnmatchedAttribute(t,e){const i=this.getOutletNameFromOutletAttributeName(e);i&&this.updateSelectorObserverForOutlet(i)}connectOutlet(t,e,i){var r;this.outletElementsByName.has(i,e)||(this.outletsByName.add(i,t),this.outletElementsByName.add(i,e),(r=this.selectorObserverMap.get(i))===null||r===void 0||r.pause(()=>this.delegate.outletConnected(t,e,i)))}disconnectOutlet(t,e,i){var r;this.outletElementsByName.has(i,e)&&(this.outletsByName.delete(i,t),this.outletElementsByName.delete(i,e),(r=this.selectorObserverMap.get(i))===null||r===void 0||r.pause(()=>this.delegate.outletDisconnected(t,e,i)))}disconnectAllOutlets(){for(const t of this.outletElementsByName.keys)for(const e of this.outletElementsByName.getValuesForKey(t))for(const i of this.outletsByName.getValuesForKey(t))this.disconnectOutlet(i,e,t)}updateSelectorObserverForOutlet(t){const e=this.selectorObserverMap.get(t);e&&(e.selector=this.selector(t))}setupSelectorObserverForOutlet(t){const e=this.selector(t),i=new Ln(document.body,e,this,{outletName:t});this.selectorObserverMap.set(t,i),i.start()}setupAttributeObserverForOutlet(t){const e=this.attributeNameForOutletName(t),i=new Mi(this.scope.element,e,this);this.attributeObserverMap.set(t,i),i.start()}selector(t){return this.scope.outlets.getSelectorForOutletName(t)}attributeNameForOutletName(t){return this.scope.schema.outletAttributeForScope(this.identifier,t)}getOutletNameFromOutletAttributeName(t){return this.outletDefinitions.find(e=>this.attributeNameForOutletName(e)===t)}get outletDependencies(){const t=new zt;return this.router.modules.forEach(e=>{const i=e.definition.controllerConstructor;Zt(i,"outlets").forEach(s=>t.add(s,e.identifier))}),t}get outletDefinitions(){return this.outletDependencies.getKeysForValue(this.identifier)}get dependentControllerIdentifiers(){return this.outletDependencies.getValuesForKey(this.identifier)}get dependentContexts(){const t=this.dependentControllerIdentifiers;return this.router.contexts.filter(e=>t.includes(e.identifier))}hasOutlet(t,e){return!!this.getOutlet(t,e)||!!this.getOutletFromMap(t,e)}getOutlet(t,e){return this.application.getControllerForElementAndIdentifier(t,e)}getOutletFromMap(t,e){return this.outletsByName.getValuesForKey(e).find(i=>i.element===t)}get scope(){return this.context.scope}get schema(){return this.context.schema}get identifier(){return this.context.identifier}get application(){return this.context.application}get router(){return this.application.router}}class Pn{constructor(t,e){this.logDebugActivity=(i,r={})=>{const{identifier:s,controller:o,element:l}=this;r=Object.assign({identifier:s,controller:o,element:l},r),this.application.logDebugActivity(this.identifier,i,r)},this.module=t,this.scope=e,this.controller=new t.controllerConstructor(this),this.bindingObserver=new Dn(this,this.dispatcher),this.valueObserver=new In(this,this.controller),this.targetObserver=new Fn(this,this),this.outletObserver=new Rn(this,this);try{this.controller.initialize(),this.logDebugActivity("initialize")}catch(i){this.handleError(i,"initializing controller")}}connect(){this.bindingObserver.start(),this.valueObserver.start(),this.targetObserver.start(),this.outletObserver.start();try{this.controller.connect(),this.logDebugActivity("connect")}catch(t){this.handleError(t,"connecting controller")}}refresh(){this.outletObserver.refresh()}disconnect(){try{this.controller.disconnect(),this.logDebugActivity("disconnect")}catch(t){this.handleError(t,"disconnecting controller")}this.outletObserver.stop(),this.targetObserver.stop(),this.valueObserver.stop(),this.bindingObserver.stop()}get application(){return this.module.application}get identifier(){return this.module.identifier}get schema(){return this.application.schema}get dispatcher(){return this.application.dispatcher}
1get element(){return this.scope.element}get parentElement(){return this.element.parentElement}handleError(t,e,i={}){const{identifier:r,controller:s,element:o}=this;i=Object.assign({identifier:r,controller:s,element:o},i),this.application.handleError(t,`Error ${e}`,i)}targetConnected(t,e){this.invokeControllerMethod(`${e}TargetConnected`,t)}targetDisconnected(t,e){this.invokeControllerMethod(`${e}TargetDisconnected`,t)}outletConnected(t,e,i){this.invokeControllerMethod(`${Ce(i)}OutletConnected`,t,e)}outletDisconnected(t,e,i){this.invokeControllerMethod(`${Ce(i)}OutletDisconnected`,t,e)}invokeControllerMethod(t,...e){const i=this.controller;typeof i[t]=="function"&&i[t](...e)}}function jn(n){return $n(n,Vn(n))}function $n(n,t){const e=Yn(n),i=qn(n.prototype,t);return Object.defineProperties(e.prototype,i),e}function Vn(n){return Zt(n,"blessings").reduce((e,i)=>{const r=i(n);for(const s in r){const o=e[s]||{};e[s]=Object.assign(o,r[s])}return e},{})}function qn(n,t){return Un(t).reduce((e,i)=>{const r=Hn(n,t,i);return r&&Object.assign(e,{[i]:r}),e},{})}function Hn(n,t,e){const i=Object.getOwnPropertyDescriptor(n,e);if(!(i&&"value"in i)){const s=Object.getOwnPropertyDescriptor(t,e).value;return i&&(s.get=i.get||s.get,s.set=i.set||s.set),s}}const Un=typeof Object.getOwnPropertySymbols=="function"?n=>[...Object.getOwnPropertyNames(n),...Object.getOwnPropertySymbols(n)]:Object.getOwnPropertyNames,Yn=(()=>{function n(e){function i(){return Reflect.construct(e,arguments,new.target)}return i.prototype=Object.create(e.prototype,{constructor:{value:i}}),Reflect.setPrototypeOf(i,e),i}function t(){const i=n(function(){this.a.call(this)});return i.prototype.a=function(){},new i}try{return t(),n}catch{return i=>class extends i{}}})();function Kn(n){return{identifier:n.identifier,controllerConstructor:jn(n.controllerConstructor)}}class Xn{constructor(t,e){this.application=t,this.definition=Kn(e),this.contextsByScope=new WeakMap,this.connectedContexts=new Set}get identifier(){return this.definition.identifier}get controllerConstructor(){return this.definition.controllerConstructor}get contexts(){return Array.from(this.connectedContexts)}connectContextForScope(t){const e=this.fetchContextForScope(t);this.connectedContexts.add(e),e.connect()}disconnectContextForScope(t){const e=this.contextsByScope.get(t);e&&(this.connectedContexts.delete(e),e.disconnect())}fetchContextForScope(t){let e=this.contextsByScope.get(t);return e||(e=new Pn(this,t),this.contextsByScope.set(t,e)),e}}class Gn{constructor(t){this.scope=t}has(t){return this.data.has(this.getDataKey(t))}get(t){return this.getAll(t)[0]}getAll(t){const e=this.data.get(this.getDataKey(t))||"";return En(e)}getAttributeName(t){return this.data.getAttributeNameForKey(this.getDataKey(t))}getDataKey(t){return`${t}-class`}get data(){return this.scope.data}}class Qn{constructor(t){this.scope=t}get element(){return this.scope.element}get identifier(){return this.scope.identifier}get(t){const e=this.getAttributeNameForKey(t);return this.element.getAttribute(e)}set(t,e){const i=this.getAttributeNameForKey(t);return this.element.setAttribute(i,e),this.get(t)}has(t){const e=this.getAttributeNameForKey(t);return this.element.hasAttribute(e)}delete(t){if(this.has(t)){const e=this.getAttributeNameForKey(t);return this.element.removeAttribute(e),!0}else return!1}getAttributeNameForKey(t){return`data-${this.identifier}-${_i(t)}`}}class Zn{constructor(t){this.warnedKeysByObject=new WeakMap,this.logger=t}warn(t,e,i){let r=this.warnedKeysByObject.get(t);r||(r=new Set,this.warnedKeysByObject.set(t,r)),r.has(e)||(r.add(e),this.logger.warn(i,t))}}function ze(n,t){return`[${n}~="${t}"]`}class Jn{constructor(t){this.scope=t}get element(){return this.scope.element}get identifier(){return this.scope.identifier}get schema(){return this.scope.schema}has(t){return this.find(t)!=null}find(...t){return t.reduce((e,i)=>e||this.findTarget(i)||this.findLegacyTarget(i),void 0)}findAll(...t){return t.reduce((e,i)=>[...e,...this.findAllTargets(i),...this.findAllLegacyTargets(i)],[])}findTarget(t){const e=this.getSelectorForTargetName(t);return this.scope.findElement(e)}findAllTargets(t){const e=this.getSelectorForTargetName(t);return this.scope.findAllElements(e)}getSelectorForTargetName(t){const e=this.schema.targetAttributeForScope(this.identifier);return ze(e,t)}findLegacyTarget(t){const e=this.getLegacySelectorForTargetName(t);return this.deprecate(this.scope.findElement(e),t)}findAllLegacyTargets(t){const e=this.getLegacySelectorForTargetName(t);return this.scope.findAllElements(e).map(i=>this.deprecate(i,t))}getLegacySelectorForTargetName(t){const e=`${this.identifier}.${t}`;return ze(this.schema.targetAttribute,e)}deprecate(t,e){if(t){const{identifier:i}=this,r=this.schema.targetAttribute,s=this.schema.targetAttributeForScope(i);this.guide.warn(t,`target:${e}`,`Please replace ${r}="${i}.${e}" with ${s}="${e}". The ${r} attribute is deprecated and will be removed in a future version of Stimulus.`)}return t}get guide(){return this.scope.guide}}class tr{constructor(t,e){this.scope=t,this.controllerElement=e}
vendor: 4,615 bytes, line 1
1get element(){return this.scope.element}get identifier(){return this.scope.identifier}get schema(){return this.scope.schema}has(t){return this.find(t)!=null}find(...t){return t.reduce((e,i)=>e||this.findOutlet(i),void 0)}findAll(...t){return t.reduce((e,i)=>[...e,...this.findAllOutlets(i)],[])}getSelectorForOutletName(t){const e=this.schema.outletAttributeForScope(this.identifier,t);return this.controllerElement.getAttribute(e)}findOutlet(t){const e=this.getSelectorForOutletName(t);if(e)return this.findElement(e,t)}findAllOutlets(t){const e=this.getSelectorForOutletName(t);return e?this.findAllElements(e,t):[]}findElement(t,e){return this.scope.queryElements(t).filter(r=>this.matchesElement(r,t,e))[0]}findAllElements(t,e){return this.scope.queryElements(t).filter(r=>this.matchesElement(r,t,e))}matchesElement(t,e,i){const r=t.getAttribute(this.scope.schema.controllerAttribute)||"";return t.matches(e)&&r.split(" ").includes(i)}}class Ve{constructor(t,e,i,r){this.targets=new Jn(this),this.classes=new Gn(this),this.data=new Qn(this),this.containsElement=s=>s.closest(this.controllerSelector)===this.element,this.schema=t,this.element=e,this.identifier=i,this.guide=new Zn(r),this.outlets=new tr(this.documentScope,e)}findElement(t){return this.element.matches(t)?this.element:this.queryElements(t).find(this.containsElement)}findAllElements(t){return[...this.element.matches(t)?[this.element]:[],...this.queryElements(t).filter(this.containsElement)]}queryElements(t){return Array.from(this.element.querySelectorAll(t))}get controllerSelector(){return ze(this.schema.controllerAttribute,this.identifier)}get isDocumentScope(){return this.element===document.documentElement}get documentScope(){return this.isDocumentScope?this:new Ve(this.schema,document.documentElement,this.identifier,this.guide.logger)}}class er{constructor(t,e,i){this.element=t,this.schema=e,this.delegate=i,this.valueListObserver=new zi(this.element,this.controllerAttribute,this),this.scopesByIdentifierByElement=new WeakMap,this.scopeReferenceCounts=new WeakMap}start(){this.valueListObserver.start()}stop(){this.valueListObserver.stop()}get controllerAttribute(){return this.schema.controllerAttribute}parseValueForToken(t){const{element:e,content:i}=t;return this.parseValueForElementAndIdentifier(e,i)}parseValueForElementAndIdentifier(t,e){const i=this.fetchScopesByIdentifierForElement(t);let r=i.get(e);return r||(r=this.delegate.createScopeForElementAndIdentifier(t,e),i.set(e,r)),r}elementMatchedValue(t,e){const i=(this.scopeReferenceCounts.get(e)||0)+1;this.scopeReferenceCounts.set(e,i),i==1&&this.delegate.scopeConnected(e)}elementUnmatchedValue(t,e){const i=this.scopeReferenceCounts.get(e);i&&(this.scopeReferenceCounts.set(e,i-1),i==1&&this.delegate.scopeDisconnected(e))}fetchScopesByIdentifierForElement(t){let e=this.scopesByIdentifierByElement.get(t);return e||(e=new Map,this.scopesByIdentifierByElement.set(t,e)),e}}class ir{constructor(t){this.application=t,this.scopeObserver=new er(this.element,this.schema,this),this.scopesByIdentifier=new zt,this.modulesByIdentifier=new Map}get element(){return this.application.element}get schema(){return this.application.schema}get logger(){return this.application.logger}get controllerAttribute(){return this.schema.controllerAttribute}get modules(){return Array.from(this.modulesByIdentifier.values())}get contexts(){return this.modules.reduce((t,e)=>t.concat(e.contexts),[])}start(){this.scopeObserver.start()}stop(){this.scopeObserver.stop()}loadDefinition(t){this.unloadIdentifier(t.identifier);const e=new Xn(this.application,t);this.connectModule(e);const i=t.controllerConstructor.afterLoad;i&&i.call(t.controllerConstructor,t.identifier,this.application)}unloadIdentifier(t){const e=this.modulesByIdentifier.get(t);e&&this.disconnectModule(e)}getContextForElementAndIdentifier(t,e){const i=this.modulesByIdentifier.get(e);if(i)return i.contexts.find(r=>r.element==t)}proposeToConnectScopeForElementAndIdentifier(t,e){const i=this.scopeObserver.parseValueForElementAndIdentifier(t,e);i?this.scopeObserver.elementMatchedValue(i.element,i):console.error(`Couldn't find or create scope for identifier: "${e}" and element:`,t)}handleError(t,e,i){this.application.handleError(t,e,i)}createScopeForElementAndIdentifier(t,e){return new Ve(this.schema,t,e,this.logger)}scopeConnected(t){this.scopesByIdentifier.add(t.identifier,t);const e=this.modulesByIdentifier.get(t.identifier);e&&e.connectContextForScope(t)}scopeDisconnected(t){this.scopesByIdentifier.delete(t.identifier,t);const e=this.modulesByIdentifier.get(t.identifier);e&&e.disconnectContextForScope(t)}
1connectModule(t){this.modulesByIdentifier.set(t.identifier,t),this.scopesByIdentifier.getValuesForKey(t.identifier).forEach(i=>t.connectContextForScope(i))}disconnectModule(t){this.modulesByIdentifier.delete(t.identifier),this.scopesByIdentifier.getValuesForKey(t.identifier).forEach(i=>t.disconnectContextForScope(i))}}const nr={controllerAttribute:"data-controller",actionAttribute:"data-action",targetAttribute:"data-target",targetAttributeForScope:n=>`data-${n}-target`,outletAttributeForScope:(n,t)=>`data-${n}-${t}-outlet`,keyMappings:Object.assign(Object.assign({enter:"Enter",tab:"Tab",esc:"Escape",space:" ",up:"ArrowUp",down:"ArrowDown",left:"ArrowLeft",right:"ArrowRight",home:"Home",end:"End",page_up:"PageUp",page_down:"PageDown"},ii("abcdefghijklmnopqrstuvwxyz".split("").map(n=>[n,n]))),ii("0123456789".split("").map(n=>[n,n])))};function ii(n){return n.reduce((t,[e,i])=>Object.assign(Object.assign({},t),{[e]:i}),{})}class rr{constructor(t=document.documentElement,e=nr){this.logger=console,this.debug=!1,this.logDebugActivity=(i,r,s={})=>{this.debug&&this.logFormattedMessage(i,r,s)},this.element=t,this.schema=e,this.dispatcher=new fn(this),this.router=new ir(this),this.actionDescriptorFilters=Object.assign({},pn)}static start(t,e){const i=new this(t,e);return i.start(),i}async start(){await sr(),this.logDebugActivity("application","starting"),this.dispatcher.start(),this.router.start(),this.logDebugActivity("application","start")}stop(){this.logDebugActivity("application","stopping"),this.dispatcher.stop(),this.router.stop(),this.logDebugActivity("application","stop")}register(t,e){this.load({identifier:t,controllerConstructor:e})}registerActionOption(t,e){this.actionDescriptorFilters[t]=e}load(t,...e){(Array.isArray(t)?t:[t,...e]).forEach(r=>{r.controllerConstructor.shouldLoad&&this.router.loadDefinition(r)})}unload(t,...e){(Array.isArray(t)?t:[t,...e]).forEach(r=>this.router.unloadIdentifier(r))}get controllers(){return this.router.contexts.map(t=>t.controller)}getControllerForElementAndIdentifier(t,e){const i=this.router.getContextForElementAndIdentifier(t,e);return i?i.controller:null}handleError(t,e,i){var r;this.logger.error(`%s
2
3%o
4
5%o`,e,t,i),(r=window.onerror)===null||r===void 0||r.call(window,e,"",0,0,t)}logFormattedMessage(t,e,i={}){i=Object.assign({application:this},i),this.logger.groupCollapsed(`${t} #${e}`),this.logger.log("details:",Object.assign({},i)),this.logger.groupEnd()}}function sr(){return new Promise(n=>{document.readyState=="loading"?document.addEventListener("DOMContentLoaded",()=>n()):n()})}function or(n){return Zt(n,"classes").reduce((e,i)=>Object.assign(e,ar(i)),{})}function ar(n){return{[`${n}Class`]:{get(){const{classes:t}=this;if(t.has(n))return t.get(n);{const e=t.getAttributeName(n);throw new Error(`Missing attribute "${e}"`)}}},[`${n}Classes`]:{get(){return this.classes.getAll(n)}},[`has${Qt(n)}Class`]:{get(){return this.classes.has(n)}}}}function lr(n){return Zt(n,"outlets").reduce((e,i)=>Object.assign(e,cr(i)),{})}function ni(n,t,e){return n.application.getControllerForElementAndIdentifier(t,e)}function ri(n,t,e){let i=ni(n,t,e);if(i||(n.application.router.proposeToConnectScopeForElementAndIdentifier(t,e),i=ni(n,t,e),i))return i}function cr(n){const t=Ce(n);return{[`${t}Outlet`]:{get(){const e=this.outlets.find(n),i=this.outlets.getSelectorForOutletName(n);if(e){const r=ri(this,e,n);if(r)return r;throw new Error(`The provided outlet element is missing an outlet controller "${n}" instance for host controller "${this.identifier}"`)}throw new Error(`Missing outlet element "${n}" for host controller "${this.identifier}". Stimulus couldn't find a matching outlet element using selector "${i}".`)}},[`${t}Outlets`]:{get(){const e=this.outlets.findAll(n);return e.length>0?e.map(i=>{const r=ri(this,i,n);if(r)return r;console.warn(`The provided outlet element is missing an outlet controller "${n}" instance for host controller "${this.identifier}"`,i)}).filter(i=>i):[]}},[`${t}OutletElement`]:{get(){const e=this.outlets.find(n),i=this.outlets.getSelectorForOutletName(n);if(e)return e;throw new Error(`Missing outlet element "${n}" for host controller "${this.identifier}". Stimulus couldn't find a matching outlet element using selector "${i}".`)}},[`${t}OutletElements`]:{get(){return this.outlets.findAll(n)}},[`has${Qt(t)}Outlet`]:{get(){return this.outlets.has(n)}}}}function ur(n){return Zt(n,"targets").reduce((e,i)=>Object.assign(e,dr(i)),{})}function dr(n){return{[`${n}Target`]:{get(){const t=this.targets.find(n);if(t)return t;throw new Error(`Missing target element "${n}" for "${this.identifier}" controller`)}},[`${n}Targets`]:{get(){return this.targets.findAll(n)}},[`has${Qt(n)}Target`]:{get(){return this.targets.has(n)}}}}function hr(n){const t=Nn(n,"values"),e={valueDescriptorMap:{get(){return t.reduce((i,r)=>{const s=Ii(r,this.identifier),o=this.data.getAttributeNameForKey(s.key);return Object.assign(i,{[o]:s})},{})}}};return t.reduce((i,r)=>Object.assign(i,fr(r)),e)}function fr(n,t){const e=Ii(n,t),{key:i,name:r,reader:s,writer:o}=e;return{[r]:{get(){const l=this.data.get(i);return l!==null?s(l):e.defaultValue},set(l){l===void 0?this.data.delete(i):this.data.set(i,o(l))}},[`has${Qt(r)}`]:{get(){return this.data.has(i)||e.hasCustomDefaultValue}}}}function Ii([n,t],e){return vr({controller:e,token:n,typeDefinition:t})}function le(n){switch(n){case Array:return"array";case Boolean:return"boolean";case Number:return"number";case Object:return"object";case String:return"string"}}function Yt(n){switch(typeof n){case"boolean":return"boolean";case"number":return"number";case"string":return"string"}if(Array.isArray(n))return"array";if(Object.prototype.toString.call(n)==="[object Object]")return"object"}function pr(n){const{controller:t,token:e,typeObject:i}=n,r=Je(i.type),s=Je(i.default),o=r&&s,l=r&&!s,c=!r&&s,d=le(i.type),v=Yt(n.typeObject.default);if(l)return d;if(c)return v;if(d!==v){const p=t?`${t}.${e}`:e;throw new Error(`The specified default value for the Stimulus Value "${p}" must match the defined type "${d}". The provided default value of "${i.default}" is of type "${v}".`)}if(o)return d}function gr(n){const{controller:t,token:e,typeDefinition:i}=n,s=pr({controller:t,token:e,typeObject:i}),o=Yt(i),l=le(i),c=s||o||l;if(c)return c;const d=t?`${t}.${i}`:e;throw new Error(`Unknown value type "${d}" for "${e}" value`)}function mr(n){const t=le(n);if(t)return si[t];const e=ke(n,"default"),i=ke(n,"type"),r=n;if(e)return r.default;if(i){const{type:s}
5=r,o=le(s);if(o)return si[o]}return n}function vr(n){const{token:t,typeDefinition:e}=n,i=`${_i(t)}-value`,r=gr(n);return{type:r,key:i,name:$e(i),get defaultValue(){return mr(e)},get hasCustomDefaultValue(){return Yt(e)!==void 0},reader:yr[r],writer:oi[r]||oi.default}}const si={get array(){return[]},boolean:!1,number:0,get object(){return{}},string:""},yr={array(n){const t=JSON.parse(n);if(!Array.isArray(t))throw new TypeError(`expected value of type "array" but instead got value "${n}" of type "${Yt(t)}"`);return t},boolean(n){return!(n=="0"||String(n).toLowerCase()=="false")},number(n){return Number(n.replace(/_/g,""))},object(n){const t=JSON.parse(n);if(t===null||typeof t!="object"||Array.isArray(t))throw new TypeError(`expected value of type "object" but instead got value "${n}" of type "${Yt(t)}"`);return t},string(n){return n}},oi={default:br,array:ai,object:ai};function ai(n){return JSON.stringify(n)}function br(n){return`${n}`}class ht{constructor(t){this.context=t}static get shouldLoad(){return!0}static afterLoad(t,e){}get application(){return this.context.application}get scope(){return this.context.scope}get element(){return this.scope.element}get identifier(){return this.scope.identifier}get targets(){return this.scope.targets}get outlets(){return this.scope.outlets}get classes(){return this.scope.classes}get data(){return this.scope.data}initialize(){}connect(){}disconnect(){}dispatch(t,{target:e=this.element,detail:i={},prefix:r=this.identifier,bubbles:s=!0,cancelable:o=!0}={}){const l=r?`${r}:${t}`:t,c=new CustomEvent(l,{detail:i,bubbles:s,cancelable:o});return e.dispatchEvent(c),c}}ht.blessings=[or,ur,hr,lr];ht.targets=[];ht.outlets=[];ht.values={};const Er=n=>new Promise(t=>{requestAnimationFrame(()=>{requestAnimationFrame(()=>{n(t)})})});let wr={easing:"ease",duration:250,fill:"backwards",display:"block",overflow:"hidden"},Sr=["overflow","display"],Fi=(n,t)=>{let e=Object.assign({},wr,t),i=e.display,r="none",s=m=>n.style.display=m,o=()=>n.clientHeight+"px",l=()=>window.getComputedStyle(n),c=m=>n.style.overflow=m?e.overflow:"",d=()=>n.getAnimations(),v=(m,g)=>{var a;Sr.forEach(T=>delete e[T]);let u=o(),y=[u,g].map(T=>({height:T,paddingTop:"0px",paddingBottom:"0px"})),{paddingTop:w,paddingBottom:x}=l();y[0].paddingTop=w,y[0].paddingBottom=x,m&&(y[0].height=u,y.reverse()),(a=window.matchMedia("(prefers-reduced-motion: reduce)"))!=null&&a.matches&&(e.duration=0);let E=n.animate(y,e);return E.id=(+m).toString(),E},p=async m=>{let g=d().map(a=>a.finish());return await Er(async a=>{let u=m?o():"0px";m&&s(i),c(!0),await v(m,u).finished,c(!1),m||s(r),a()}),g.length?null:m},b=async()=>p(!1),f=async()=>p(!0);return{up:b,down:f,toggle:async()=>{var m;let g=(m=d()[0])==null?void 0:m.id;return((g?g==="1":n.offsetHeight)?b:f)()}}},Or=(n,t={})=>Fi(n,t).up(),Bt=(n,t={})=>Fi(n,t).toggle();class Ni extends ht{toggle(t){const e=t.currentTarget,i=e.closest(".accordion-row"),r=i.querySelector('[role="region"]'),s=i.querySelector('[role="region"]');this.element.querySelectorAll(".accordion-row").forEach(l=>{const c=l.querySelector("button[aria-expanded]");l.querySelector('[role="region"]');const d=l.querySelector('[role="region"]');e!=c&&(c.setAttribute("aria-expanded","false"),Or(d),l.classList.remove("expanded"))});const o=e.getAttribute("aria-expanded")==="true";e.setAttribute("aria-expanded",o?"false":"true"),o?(r.classList.add("hidden"),Bt(s),i.classList.remove("expanded")):(Bt(s),i.classList.add("expanded"))}}ct(Ni,"targets",[]);const xr=Object.freeze(Object.defineProperty({__proto__:null,default:Ni},Symbol.toStringTag,{value:"Module"}));class Bi extends ht{connect(){this.isScrubbing=!1,this.wasPlaying=!1,this.audioTarget.addEventListener("loadedmetadata",()=>{this.durationTarget.textContent=this.formatTime(this.audioTarget.duration)}),this.audioTarget.addEventListener("timeupdate",()=>this.updateProgress()),this.audioTarget.addEventListener("ended",()=>this.reset()),this.durationTarget.textContent=this.formatTime(this.audioTarget.duration)}toggle(){const[t,e]=this.buttonTarget.querySelectorAll("svg");this.progressTarget.classList.remove("hidden"),this.audioTarget.paused?(this.audioTarget.play(),t.classList.add("hidden"),e.classList.remove("hidden")):(this.audioTarget.pause(),t.classList.remove("hidden"),e.classList.add("hidden"))}startScrub(t){if(!(!this.audioTarget.duration||isNaN(this.audioTarget.duration))){if(t.preventDefault(),this.isScrubbing=!0,this.wasPlaying=!this.audioTarget.paused,this.wasPlaying&&this.audioTarget.pause(),t.currentTarget.setPointerCapture&&t.pointerId!=null)try{t.currentTarget.setPointerCapture(t.pointerId)}catch{}this.scrubToEvent(t),this._onMove=e=>this.scrubToEvent(e),this._onUp=e=>this.endScrub(e),window.addEventListener("pointermove",this._onMove),window.addEventListener("pointerup",this._onUp,{once:!0}),window.addEventListener("pointercancel",this._onUp,{once:!0})}}scrubToEvent(t){if(!this.isScrubbing)return;const e=this.ratioFromEvent(t),i=this.audioTarget.duration||0;this.audioTarget.currentTime=e*i,this.updateProgress()}endScrub(t){if(this.isScrubbing){if(this.isScrubbing=!1,window.removeEventListener("pointermove",this._onMove),t&&t.currentTarget&&t.currentTarget.releasePointerCapture&&t.pointerId!=null)try{t.currentTarget.releasePointerCapture(t.pointerId)}catch{}this.wasPlaying&&this.audioTarget.play()}}seek(t){if(this.progressTarget.classList.contains("hidden"))return;const e=this.audioTarget.duration;if(!e||isNaN(e))return;const i=this.trackTarget.getBoundingClientRect(),r=t.clientX-i.left,s=Math.min(Math.max(r/i.width,0),1);this.audioTarget.currentTime=s*e,this.updateProgress()}ratioFromEvent(t){const e=this.trackTarget.getBoundingClientRect(),i=(t.clientX??0)-e.left;return Math.min(Math.max(i/e.width,0),1)}updateProgress(){const t=this.audioTarget.currentTime,e=this.audioTarget.duration||0,i=e?t/e*100:0;this.progressTarget.style.width=`${i}%`,this.currentTarget.textContent=this.formatTime(t)}reset(){const[t,e]=this.buttonTarget.querySelectorAll("svg");t.classList.remove("hidden"),e.classList.add("hidden"),this.progressTarget.style.width="0%",this.currentTarget.textContent="0:00"}formatTime(t){if(isNaN(t))return"0:00";const e=Math.floor(t/60),i=Math.floor(t%60);return`${e}:${i.toString().padStart(2,"0")}`}}
5ct(Bi,"targets",["audio","button","progress","current","duration","track","thumb"]);const Tr=Object.freeze(Object.defineProperty({__proto__:null,default:Bi},Symbol.toStringTag,{value:"Module"}));class De extends ht{connect(){this.updateDisplayPlaceholder(),this._onContainerClick=this.openPicker.bind(this),this.containerTarget.addEventListener("click",this._onContainerClick),this._onChange=this.dateChanged.bind(this),this.datepickerTarget.addEventListener("change",this._onChange)}disconnect(){this.containerTarget.removeEventListener("click",this._onContainerClick),this.datepickerTarget.removeEventListener("change",this._onChange)}openPicker(t){const e=this.datepickerTarget;e.focus(),typeof e.showPicker=="function"&&e.showPicker()}dateChanged(t){const e=t.target.value;if(!e){this.updateDisplayPlaceholder();return}this.datedisplayTarget.textContent=this.formatDateForDisplay(e),this.fetchContent(e)}updateDisplayPlaceholder(){this.placeholderValue&&(this.datedisplayTarget.textContent=this.placeholderValue)}formatDateForDisplay(t){const[e,i,r]=t.split("-"),s=new Date(e,i-1,r),o=this.langValue||"de-DE";try{return new Intl.DateTimeFormat(o,{year:"numeric",month:"long",day:"2-digit"}).format(s)}catch{return`${r}.${i}.${e}`}}fetchContent(t){if(!this.hasUrlValue)return;const e=new URL(this.urlValue,window.location.origin);e.searchParams.set("date",t),fetch(e.toString(),{headers:{"X-Requested-With":"XMLHttpRequest"}}).then(i=>{if(!i.ok)throw new Error("Network response was not ok");return i.text()}).then(i=>{this.contentTarget.innerHTML=i}).catch(i=>{console.error("Fehler beim Laden der Inhalte:",i)})}}ct(De,"targets",["datedisplay","datepicker","content","container"]),ct(De,"values",{placeholder:String,url:String,lang:String});const Ar=Object.freeze(Object.defineProperty({__proto__:null,default:De},Symbol.toStringTag,{value:"Module"}));class Wi extends ht{toggle(t){const e=t.currentTarget,i=e.closest(".mobilenaventry-row"),r=i.querySelector('[role="region"]'),s=i.querySelector('[role="region"]'),o=e.getAttribute("aria-expanded")==="true";e.setAttribute("aria-expanded",o?"false":"true"),o?(r.classList.add("hidden"),Bt(s),i.classList.remove("expanded")):(Bt(s),i.classList.add("expanded"))}}ct(Wi,"targets",[]);const _r=Object.freeze(Object.defineProperty({__proto__:null,default:Wi},Symbol.toStringTag,{value:"Module"}));class Ri extends ht{toggle(t){const e=t.currentTarget,i=e.closest(".moreinfo-row"),r=i.querySelector('[role="region"]'),s=i.querySelector('[role="region"]'),o=e.getAttribute("aria-expanded")==="true";e.setAttribute("aria-expanded",o?"false":"true"),o?(r.classList.add("hidden"),Bt(s),i.classList.remove("expanded")):(Bt(s),i.classList.add("expanded"))}}ct(Ri,"targets",[]);const Lr=Object.freeze(Object.defineProperty({__proto__:null,default:Ri},Symbol.toStringTag,{value:"Module"}));class Ie extends ht{connect(){this.infiniteValue&&this.hasSentinelTarget&&this.observe()}disconnect(){this.unobserve()}async loadMore(t){if(t&&t.preventDefault(),!this.loading){this.loading=!0;try{this.toggleButton(!0);const e=new URLSearchParams({limit:String(this.limitValue),offset:String(this.offsetValue),lang:String(this.langValue)}),r=await(await fetch(`${this.urlValue}?${e.toString()}`,{credentials:"same-origin",headers:{"X-Requested-With":"XMLHttpRequest"}})).text(),s=document.createElement("div");s.innerHTML=r,s.querySelectorAll(".teaser-news").forEach(d=>{this.listTarget.appendChild(d),this.listTarget.querySelectorAll(".lazy-start").forEach(function(p){p.classList.add("lazyload")})});const o=s.querySelector(".ajax-pager"),l=(o==null?void 0:o.dataset.hasMore)==="1",c=parseInt((o==null?void 0:o.dataset.nextOffset)||this.offsetValue,10);this.offsetValue=c,l||this.disableLoadingFinally()}catch(e){console.error("News nachladen fehlgeschlagen:",e),this.showError(),this.disableLoading()}finally{this.toggleButton(!1),this.loading=!1}}}toggleButton(t){if(this.hasButtonTarget){if(this.buttonTarget.classList.contains("disabled")){this.buttonTarget.textContent=this.buttonTarget.dataset._oldText;return}this.buttonTarget.disabled=t,t?(this.buttonTarget.dataset._oldText=this.buttonTarget.textContent,this.buttonTarget.textContent="Lade…"):this.buttonTarget.dataset._oldText&&(this.buttonTarget.textContent=this.buttonTarget.dataset._oldText,delete this.buttonTarget.dataset._oldText)}}disableLoading(){this.hasButtonTarget&&(this.buttonTarget.disabled=!0)}disableLoadingFinally(){this.hasButtonTarget&&(this.buttonTarget.disabled=!0,this.buttonTarget.classList.add("disabled"))}showError(){this.hasButtonTarget&&(this.buttonTarget.disabled=!1,this.buttonTarget.textContent="Erneut versuchen")}observe(){!this._observer&&this.hasSentinelTarget&&(this._observer=new IntersectionObserver(t=>{for(const e of t)e.isIntersecting&&this.loadMore()},{rootMargin:"200px"}),this._observer.observe(this.sentinelTarget))}unobserve(){this._observer&&(this._observer.disconnect(),this._observer=null)}}ct(Ie,"targets",["list","button","sentinel"]),ct(Ie,"values",{url:String,lang:{type:String,default:"de"},limit:{type:Number,default:6},offset:{type:Number,default:0},infinite:{type:Boolean,default:!1}});const Mr=Object.freeze(Object.defineProperty({__proto__:null,default:Ie},Symbol.toStringTag,{value:"Module"}));class Pi extends ht{connect(){this.images=Array.from(this.element.querySelectorAll('[data-startheader-target^="image-"]')),this.currentIndex=0,this.interval=null,this.duration=6e3,this.indicatorTarget.style.width=100/this.images.length+"%",this.showSlide(0),this.startAutoRotate(),this.swipeEl=this.hasTrackTarget?this.trackTarget:this.element,this.touchStartX=0,this.touchStartY=0,this.touchDeltaX=0,this.touchDeltaY=0,this.swipeLocked=!1,this.swipeThreshold=50,this.verticalTolerance=40,this.boundTouchStart=t=>this.onTouchStart(t),this.boundTouchMove=t=>this.onTouchMove(t),this.boundTouchEnd=t=>this.onTouchEnd(t),this.swipeEl.addEventListener("touchstart",this.boundTouchStart,{passive:!0}),this.swipeEl.addEventListener("touchmove",this.boundTouchMove,{passive:!1}),this.swipeEl.addEventListener("touchend",this.boundTouchEnd,{passive:!0}),this.prevTarget.addEventListener("click",()=>this.prevSlideClick()),this.nextTarget.addEventListener("click",()=>this.nextSlideClick())}disconnect(){this.stopAutoRotate()}startAutoRotate(){this.stopAutoRotate(),this.interval=setInterval(()=>this.nextSlide(),this.duration)}stopAutoRotate(){this.interval&&clearInterval(this.interval)}showSlide(t){if(!this.images.length)return;this.currentIndex=(t+this.images.length)%this.images.length,this.images.forEac
5h((l,c)=>{l.classList.toggle("opacity-100",c===this.currentIndex),l.classList.toggle("opacity-0",c!==this.currentIndex),l.classList.toggle("z-20",c===this.currentIndex),l.classList.toggle("z-10",c!==this.currentIndex)});const e=this.images[this.currentIndex],i=e.dataset.title||"",r=e.dataset.teaser||"",s=e.dataset.link||"#",o=e.dataset.linklabel||"";this.titleTarget.textContent=i,this.teaserTarget.innerHTML=r,this.buttonTarget.textContent=o,this.buttonTarget.href=s,this.updateIndicator()}nextSlide(){this.showSlide(this.currentIndex+1),this.restartRotation()}prevSlide(){this.showSlide(this.currentIndex-1),this.restartRotation()}nextSlideClick(){this.showSlide(this.currentIndex+1),this.stopAutoRotate()}prevSlideClick(){this.showSlide(this.currentIndex-1),this.stopAutoRotate()}restartRotation(){this.stopAutoRotate(),this.startAutoRotate()}updateIndicator(){if(!this.hasIndicatorTarget)return;const t=100/this.images.length,e=(this.currentIndex+1)/this.images.length*100;this.indicatorTarget.style.left=`${e-t}%`}onTouchStart(t){if(!t.touches||t.touches.length>1)return;const e=t.touches[0];this.touchStartX=e.clientX,this.touchStartY=e.clientY,this.touchDeltaX=0,this.touchDeltaY=0,this.swipeLocked=!1,this.stopAutoRotate()}onTouchMove(t){if(!t.touches||t.touches.length>1)return;const e=t.touches[0];if(this.touchDeltaX=e.clientX-this.touchStartX,this.touchDeltaY=e.clientY-this.touchStartY,!this.swipeLocked){if(Math.abs(this.touchDeltaY)>Math.abs(this.touchDeltaX)&&Math.abs(this.touchDeltaY)>this.verticalTolerance){this.swipeLocked=!0;return}Math.abs(this.touchDeltaX)>10&&t.preventDefault()}}onTouchEnd(){if(Math.abs(this.touchDeltaY)>Math.abs(this.touchDeltaX)&&Math.abs(this.touchDeltaY)>this.verticalTolerance){this.startAutoRotate();return}Math.abs(this.touchDeltaX)>=this.swipeThreshold?this.touchDeltaX<0?this.nextSlide():this.prevSlide():this.startAutoRotate()}}ct(Pi,"targets",["title","teaser","button","indicator","prev","next","features","info"]);const Cr=Object.freeze(Object.defineProperty({__proto__:null,default:Pi},Symbol.toStringTag,{value:"Module"}));/*! js-cookie v3.0.5 | MIT */function ne(n){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var i in e)n[i]=e[i]}return n}var kr={read:function(n){return n[0]==='"'&&(n=n.slice(1,-1)),n.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(n){return encodeURIComponent(n).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function Fe(n,t){function e(r,s,o){if(!(typeof document>"u")){o=ne({},t,o),typeof o.expires=="number"&&(o.expires=new Date(Date.now()+o.expires*864e5)),o.expires&&(o.expires=o.expires.toUTCString()),r=encodeURIComponent(r).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var l="";for(var c in o)o[c]&&(l+="; "+c,o[c]!==!0&&(l+="="+o[c].split(";")[0]));return document.cookie=r+"="+n.write(s,r)+l}}function i(r){if(!(typeof document>"u"||arguments.length&&!r)){for(var s=document.cookie?document.cookie.split("; "):[],o={},l=0;l<s.length;l++){var c=s[l].split("="),d=c.slice(1).join("=");try{var v=decodeURIComponent(c[0]);if(o[v]=n.read(d,v),r===v)break}catch{}}return r?o[r]:o}}return Object.create({set:e,get:i,remove:function(r,s){e(r,"",ne({},s,{expires:-1}))},withAttributes:function(r){return Fe(this.converter,ne({},this.attributes,r))},withConverter:function(r){return Fe(ne({},this.converter,r),this.attributes)}},{attributes:{value:Object.freeze(t)},converter:{value:Object.freeze(n)}})}Fe(kr,{path:"/"});class Ne extends ht{connect(){}loadVideo(){let t=this.videoTarget.getAttribute("data-url");this.videoTarget.innerHTML='<iframe class="absolute top-0 left-0 w-full h-full" src="'+t+'" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>',this.playTarget.remove(),this.playiconTarget.remove()}}ct(Ne,"targets",["video","play","playicon"]),ct(Ne,"values",{active:Boolean});const zr=Object.freeze(Object.defineProperty({__proto__:null,default:Ne},Symbol.toStringTag,{value:"Module"}));class Be extends ht{connect(){}loadVideo(){let t=this.videoTarget.getAttribute("data-id");this.videoTarget.innerHTML='<iframe class="absolute top-0 left-0 w-full h-full" src="https://www.youtube-nocookie.com/embed/'+t+'?autoplay=1" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>',this.playTarget.remove(),this.playiconTarget.remove()}}ct(Be,"targets",["video","play","playicon"]),ct(Be,"values",{active:Boolean});const Dr=Object.freeze(Object.defineProperty({__proto__:null,default:Be},Symbol.toStringTag,{value:"Module"}));var Ir=/^(?:.*?(?:controllers|components)\/|\.?\.\/)?(.+)(?:[/_-]controller\..+?)$/;function Fr(n,t){n.load(Nr(t))}function Nr(n){return Object.entries(n).map(Br).filter(t=>t)}function Br([n,t]){var e;const i=Wr(n),r=(e=t.default)!=null?e:t;if(i&&typeof r=="function")return{identifier:i,controllerConstructor:r}}function Wr(n){const t=(n.match(Ir)||[])[1];if(t)return t.replace(/_/g,"-").replace(/\//g,"--")}const Rr=rr.start(),Pr=Object.assign({"./accordion_controller.js":xr,"./audioplayer_controller.js":Tr,"./datepicker_controller.js":Ar,"./mobilenaventry_controller.js":_r,"./moreinfo_controller.js":Lr,"./news_loader_controller.js":
5Mr,"./startheader_controller.js":Cr,"./videoSelfhosted_controller.js":zr,"./videoYoutube_controller.js":Dr});Fr(Rr,Pr);function jr(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var be={exports:{}},li;function $r(){return li||(li=1,(function(n){(function(t,e){var i=e(t,t.document,Date);t.lazySizes=i,n.exports&&(n.exports=i)})(typeof window<"u"?window:{},function(e,i,r){var s,o;if((function(){var C,L={lazyClass:"lazyload",loadedClass:"lazyloaded",loadingClass:"lazyloading",preloadClass:"lazypreload",errorClass:"lazyerror",autosizesClass:"lazyautosizes",fastLoadedClass:"ls-is-cached",iframeLoadMode:0,srcAttr:"data-src",srcsetAttr:"data-srcset",sizesAttr:"data-sizes",minSize:40,customMedia:{},init:!0,expFactor:1.5,hFac:.8,loadMode:2,loadHidden:!0,ricTimeout:0,throttleDelay:125};o=e.lazySizesConfig||e.lazysizesConfig||{};for(C in L)C in o||(o[C]=L[C])})(),!i||!i.getElementsByClassName)return{init:function(){},cfg:o,noSupport:!0};var l=i.documentElement,c=e.HTMLPictureElement,d="addEventListener",v="getAttribute",p=e[d].bind(e),b=e.setTimeout,f=e.requestAnimationFrame||b,h=e.requestIdleCallback,m=/^picture$/i,g=["load","error","lazyincluded","_lazyloaded"],a={},u=Array.prototype.forEach,y=function(C,L){return a[L]||(a[L]=new RegExp("(\\s|^)"+L+"(\\s|$)")),a[L].test(C[v]("class")||"")&&a[L]},w=function(C,L){y(C,L)||C.setAttribute("class",(C[v]("class")||"").trim()+" "+L)},x=function(C,L){var B;(B=y(C,L))&&C.setAttribute("class",(C[v]("class")||"").replace(B," "))},E=function(C,L,B){var U=B?d:"removeEventListener";B&&E(C,L),g.forEach(function(Y){C[U](Y,L)})},T=function(C,L,B,U,Y){var N=i.createEvent("Event");return B||(B={}),B.instance=s,N.initEvent(L,!U,!Y),N.detail=B,C.dispatchEvent(N),N},A=function(C,L){var B;!c&&(B=e.picturefill||o.pf)?(L&&L.src&&!C[v]("srcset")&&C.setAttribute("srcset",L.src),B({reevaluate:!0,elements:[C]})):L&&L.src&&(C.src=L.src)},k=function(C,L){return(getComputedStyle(C,null)||{})[L]},q=function(C,L,B){for(B=B||C.offsetWidth;B<o.minSize&&L&&!C._lazysizesWidth;)B=L.offsetWidth,L=L.parentNode;return B},S=(function(){var C,L,B=[],U=[],Y=B,N=function(){var j=Y;for(Y=B.length?U:B,C=!0,L=!1;j.length;)j.shift()();C=!1},$=function(j,H){C&&!H?j.apply(this,arguments):(Y.push(j),L||(L=!0,(i.hidden?b:f)(N)))};return $._lsFlush=N,$})(),O=function(C,L){return L?function(){S(C)}:function(){var B=this,U=arguments;S(function(){C.apply(B,U)})}},F=function(C){var L,B=0,U=o.throttleDelay,Y=o.ricTimeout,N=function(){L=!1,B=r.now(),C()},$=h&&Y>49?function(){h(N,{timeout:Y}),Y!==o.ricTimeout&&(Y=o.ricTimeout)}:O(function(){b(N)},!0);return function(j){var H;(j=j===!0)&&(Y=33),!L&&(L=!0,H=U-(r.now()-B),H<0&&(H=0),j||H<9?$():b($,H))}},z=function(C){var L,B,U=99,Y=function(){L=null,C()},N=function(){var $=r.now()-B;$<U?b(N,U-$):(h||Y)(Y)};return function(){B=r.now(),L||(L=b(N,U))}},G=(function(){var C,L,B,U,Y,N,$,j,H,P,R,X,tt=/^img$/i,K=/^iframe$/i,M="onscroll"in e&&!/(gle|ing)bot/.test(navigator.userAgent),I=0,D=0,V=0,Z=-1,at=function(_){V--,(!_||V<0||!_.target)&&(V=0)},yt=function(_){return X==null&&(X=k(i.body,"visibility")=="hidden"),X||!(k(_.parentNode,"visibility")=="hidden"&&k(_,"visibility")=="hidden")},bt=function(_,W){var Q,nt=_,st=yt(_);for(j-=W,R+=W,H-=W,P+=W;st&&(nt=nt.offsetParent)&&nt!=i.body&&nt!=l;)st=(k(nt,"opacity")||1)>0,st&&k(nt,"overflow")!="visible"&&(Q=nt.getBoundingClientRect(),st=P>Q.left&&H<Q.right&&R>Q.top-1&&j<Q.bottom+1);return st},Et=function(){var _,W,Q,nt,st,ot,mt,ft,wt,pt,St,Tt,lt=s.elements;if((U=o.loadMode)&&V<8&&(_=lt.length)){for(W=0,Z++;W<_;W++)if(!(!lt[W]||lt[W]._lazyRace)){if(!M||s.prematureUnveil&&s.prematureUnveil(lt[W])){kt(lt[W]);continue}if((!(ft=lt[W][v]("data-expand"))||!(ot=ft*1))&&(ot=D),pt||(pt=!o.expand||o.expand<1?l.clientHeight>500&&l.clientWidth>500?500:370:o.expand,s._defEx=pt,St=pt*o.expFactor,Tt=o.hFac,X=null,D<St&&V<1&&Z>2&&U>2&&!i.hidden?(D=St,Z=0):U>1&&Z>1&&V<6?D=pt:D=I),wt!==ot&&(N=innerWidth+ot*Tt,$=innerHeight+ot,mt=ot*-1,wt=ot),Q=lt[W].getBoundingClientRect(),(R=Q.bottom)>=mt&&(j=Q.top)<=$&&(P=Q.right)>=mt*Tt&&(H=Q.left)<=N&&(R||P||H||j)&&(o.loadHidden||yt(lt[W]))&&(L&&V<3&&!ft&&(U<3||Z<4)||bt(lt[W],ot))){if(kt(lt[W]),st=!0,V>9)break}else!st&&L&&!nt&&V<4&&Z<4&&U>
52&&(C[0]||o.preloadAfterLoad)&&(C[0]||!ft&&(R||P||H||j||lt[W][v](o.sizesAttr)!="auto"))&&(nt=C[0]||lt[W])}nt&&!st&&kt(nt)}},rt=F(Et),It=function(_){var W=_.target;if(W._lazyCache){delete W._lazyCache;return}at(_),w(W,o.loadedClass),x(W,o.loadingClass),E(W,Pt),T(W,"lazyloaded")},Rt=O(It),Pt=function(_){Rt({target:_.target})},te=function(_,W){var Q=_.getAttribute("data-load-mode")||o.iframeLoadMode;Q==0?_.contentWindow.location.replace(W):Q==1&&(_.src=W)},ye=function(_){var W,Q=_[v](o.srcsetAttr);(W=o.customMedia[_[v]("data-media")||_[v]("media")])&&_.setAttribute("media",W),Q&&_.setAttribute("srcset",Q)},ee=O(function(_,W,Q,nt,st){var ot,mt,ft,wt,pt,St;(pt=T(_,"lazybeforeunveil",W)).defaultPrevented||(nt&&(Q?w(_,o.autosizesClass):_.setAttribute("sizes",nt)),mt=_[v](o.srcsetAttr),ot=_[v](o.srcAttr),st&&(ft=_.parentNode,wt=ft&&m.test(ft.nodeName||"")),St=W.firesLoad||"src"in _&&(mt||ot||wt),pt={target:_},w(_,o.loadingClass),St&&(clearTimeout(B),B=b(at,2500),E(_,Pt,!0)),wt&&u.call(ft.getElementsByTagName("source"),ye),mt?_.setAttribute("srcset",mt):ot&&!wt&&(K.test(_.nodeName)?te(_,ot):_.src=ot),st&&(mt||wt)&&A(_,{src:ot})),_._lazyRace&&delete _._lazyRace,x(_,o.lazyClass),S(function(){var Tt=_.complete&&_.naturalWidth>1;(!St||Tt)&&(Tt&&w(_,o.fastLoadedClass),It(pt),_._lazyCache=!0,b(function(){"_lazyCache"in _&&delete _._lazyCache},9)),_.loading=="lazy"&&V--},!0)}),kt=function(_){if(!_._lazyRace){var W,Q=tt.test(_.nodeName),nt=Q&&(_[v](o.sizesAttr)||_[v]("sizes")),st=nt=="auto";(st||!L)&&Q&&(_[v]("src")||_.srcset)&&!_.complete&&!y(_,o.errorClass)&&y(_,o.lazyClass)||(W=T(_,"lazyunveilread").detail,st&&J.updateElem(_,!0,_.offsetWidth),_._lazyRace=!0,V++,ee(_,W,st,nt,Q))}},jt=z(function(){o.loadMode=3,rt()}),xt=function(){o.loadMode==3&&(o.loadMode=2),jt()},At=function(){if(!L){if(r.now()-Y<999){b(At,999);return}L=!0,o.loadMode=3,rt(),p("scroll",xt,!0)}};return{_:function(){Y=r.now(),s.elements=i.getElementsByClassName(o.lazyClass),C=i.getElementsByClassName(o.lazyClass+" "+o.preloadClass),p("scroll",rt,!0),p("resize",rt,!0),p("pageshow",function(_){if(_.persisted){var W=i.querySelectorAll("."+o.loadingClass);W.length&&W.forEach&&f(function(){W.forEach(function(Q){Q.complete&&kt(Q)})})}}),e.MutationObserver?new MutationObserver(rt).observe(l,{childList:!0,subtree:!0,attributes:!0}):(l[d]("DOMNodeInserted",rt,!0),l[d]("DOMAttrModified",rt,!0),setInterval(rt,999)),p("hashchange",rt,!0),["focus","mouseover","click","load","transitionend","animationend"].forEach(function(_){i[d](_,rt,!0)}),/d$|^c/.test(i.readyState)?At():(p("load",At),i[d]("DOMContentLoaded",rt),b(At,2e4)),s.elements.length?(Et(),S._lsFlush()):rt()},checkElems:rt,unveil:kt,_aLSL:xt}})(),J=(function(){var C,L=O(function(N,$,j,H){var P,R,X;if(N._lazysizesWidth=H,H+="px",N.setAttribute("sizes",H),m.test($.nodeName||""))for(P=$.getElementsByTagName("source"),R=0,X=P.length;R<X;R++)P[R].setAttribute("sizes",H);j.detail.dataAttr||A(N,j.detail)}),B=function(N,$,j){var H,P=N.parentNode;P&&(j=q(N,P,j),H=T(N,"lazybeforesizes",{width:j,dataAttr:!!$}),H.defaultPrevented||(j=H.detail.width,j&&j!==N._lazysizesWidth&&L(N,P,H,j)))},U=function(){var N,$=C.length;if($)for(N=0;N<$;N++)B(C[N])},Y=z(U);return{_:function(){C=i.getElementsByClassName(o.autosizesClass),p("resize",Y)},checkElems:Y,updateElem:B}})(),it=function(){!it.i&&i.getElementsByClassName&&(it.i=!0,J._(),G._())};return b(function(){o.init&&it()}),s={cfg:o,autoSizer:J,loader:G,init:it,uP:A,aC:w,rC:x,hC:y,fire:T,gW:q,rAF:S},s})})(be)),be.exports}$r();var Ee={exports:{}},we={exports:{}},re={exports:{}},Vr=re.exports,ci;function ji(){return ci||(ci=1,(function(n){(function(t,e){n.exports?n.exports=e():t.EvEmitter=e()})(typeof window<"u"?window:Vr,function(){function t(){}var e=t.prototype;return e.on=function(i,r){if(!(!i||!r)){var s=this._events=this._events||{},o=s[i]=s[i]||[];return o.indexOf(r)==-1&&o.push(r),this}},e.once=function(i,r){if(!(!i||!r)){this.on(i,r);var s=this._onceEvents=this._onceEvents||{},o=s[i]=s[i]||{};return o[r]=!0,this}},e.off=function(i,r){var s=this._events&&this._events[i];if(!(!s||!s.length)){var o=s.indexOf(r);return o!=-1&&s.splice(o,1),this}},e.emitEvent=function(i,r){var s=this._events&&this._events[i];if(!(!s||!s.length)){s=s.slice(0),r=r||[];for(var o=this._onceEvents&&this._onceEvents[i],l=0;l<s.length;l++){var c=s[l],d=o&&o[c];d&&(this.off(i,c),delete o[c]),c.apply(this,r)}return this}},e.allOff=function(){delete this._events,delete this._onceEvents},t})})(re)),re.exports}var Se={exports:{}};/*!
6 * getSize v2.0.3
7 * measure size of elements
8 * MIT license
9 */var ui;function $i(){return ui||(ui=1,(function(n){(function(t,e){n.exports?n.exports=e():t.getSize=e()})(window,function(){function e(f){var h=parseFloat(f),m=f.indexOf("%")==-1&&!isNaN(h);return m&&h}function i(){}var r=typeof console>"u"?i:function(f){console.error(f)},s=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],o=s.length;function l(){for(var f={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},h=0;h<o;h++){var m=s[h];f[m]=0}return f}function c(f){var h=getComputedStyle(f);return h||r("Style returned "+h+". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"),h}var d=!1,v;function p(){if(!d){d=!0;var f=document.createElement("div");f.style.width="200px",f.style.padding="1px 2px 3px 4px",f.style.borderStyle="solid",f.style.borderWidth="1px 2px 3px 4px",f.style.boxSizing="border-box";var h=document.body||document.documentElement;h.appendChild(f);var m=c(f);v=Math.round(e(m.width))==200,b.isBoxSizeOuter=v,h.removeChild(f)}}function b(f){if(p(),typeof f=="string"&&(f=document.querySelector(f)),!(!f||typeof f!="object"||!f.nodeType)){var h=c(f);if(h.display=="none")return l();var m={};m.width=f.offsetWidth,m.height=f.offsetHeight;for(var g=m.isBorderBox=h.boxSizing=="border-box",a=0;a<o;a++){var u=s[a],y=h[u],w=parseFloat(y);m[u]=isNaN(w)?0:w}var x=m.paddingLeft+m.paddingRight,E=m.paddingTop+m.paddingBottom,T=m.marginLeft+m.marginRight,A=m.marginTop+m.marginBottom,k=m.borderLeftWidth+m.borderRightWidth,q=m.borderTopWidth+m.borderBottomWidth,S=g&&v,O=e(h.width);O!==!1&&(m.width=O+(S?0:x+k));var F=e(h.height);return F!==!1&&(m.height=F+(S?0:E+q)),m.innerWidth=m.width-(x+k),m.innerHe
9ight=m.height-(E+q),m.outerWidth=m.width+T,m.outerHeight=m.height+A,m}}return b})})(Se)),Se.exports}var Oe={exports:{}},xe={exports:{}},di;function qr(){return di||(di=1,(function(n){(function(t,e){n.exports?n.exports=e():t.matchesSelector=e()})(window,function(){var e=(function(){var i=window.Element.prototype;if(i.matches)return"matches";if(i.matchesSelector)return"matchesSelector";for(var r=["webkit","moz","ms","o"],s=0;s<r.length;s++){var o=r[s],l=o+"MatchesSelector";if(i[l])return l}})();return function(r,s){return r[e](s)}})})(xe)),xe.exports}var hi;function Hr(){return hi||(hi=1,(function(n){(function(t,e){n.exports?n.exports=e(t,qr()):t.fizzyUIUtils=e(t,t.matchesSelector)})(window,function(e,i){var r={};r.extend=function(l,c){for(var d in c)l[d]=c[d];return l},r.modulo=function(l,c){return(l%c+c)%c};var s=Array.prototype.slice;r.makeArray=function(l){if(Array.isArray(l))return l;if(l==null)return[];var c=typeof l=="object"&&typeof l.length=="number";return c?s.call(l):[l]},r.removeFrom=function(l,c){var d=l.indexOf(c);d!=-1&&l.splice(d,1)},r.getParent=function(l,c){for(;l.parentNode&&l!=document.body;)if(l=l.parentNode,i(l,c))return l},r.getQueryElement=function(l){return typeof l=="string"?document.querySelector(l):l},r.handleEvent=function(l){var c="on"+l.type;this[c]&&this[c](l)},r.filterFindElements=function(l,c){l=r.makeArray(l);var d=[];return l.forEach(function(v){if(v instanceof HTMLElement){if(!c){d.push(v);return}i(v,c)&&d.push(v);for(var p=v.querySelectorAll(c),b=0;b<p.length;b++)d.push(p[b])}}),d},r.debounceMethod=function(l,c,d){d=d||100;var v=l.prototype[c],p=c+"Timeout";l.prototype[c]=function(){var b=this[p];clearTimeout(b);var f=arguments,h=this;this[p]=setTimeout(function(){v.apply(h,f),delete h[p]},d)}},r.docReady=function(l){var c=document.readyState;c=="complete"||c=="interactive"?setTimeout(l):document.addEventListener("DOMContentLoaded",l)},r.toDashed=function(l){return l.replace(/(.)([A-Z])/g,function(c,d,v){return d+"-"+v}).toLowerCase()};var o=e.console;return r.htmlInit=function(l,c){r.docReady(function(){var d=r.toDashed(c),v="data-"+d,p=document.querySelectorAll("["+v+"]"),b=document.querySelectorAll(".js-"+d),f=r.makeArray(p).concat(r.makeArray(b)),h=v+"-options",m=e.jQuery;f.forEach(function(g){var a=g.getAttribute(v)||g.getAttribute(h),u;try{u=a&&JSON.parse(a)}catch(w){o&&o.error("Error parsing "+v+" on "+g.className+": "+w);return}var y=new l(g,u);m&&m.data(g,c,y)})})},r})})(Oe)),Oe.exports}var Te={exports:{}},fi;function Ur(){return fi||(fi=1,(function(n){(function(t,e){n.exports?n.exports=e(ji(),$i()):(t.Outlayer={},t.Outlayer.Item=e(t.EvEmitter,t.getSize))})(window,function(e,i){function r(g){for(var a in g)return!1;return a=null,!0}var s=document.documentElement.style,o=typeof s.transition=="str
9ing"?"transition":"WebkitTransition",l=typeof s.transform=="string"?"transform":"WebkitTransform",c={WebkitTransition:"webkitTransitionEnd",transition:"transitionend"}[o],d={transform:l,transition:o,transitionDuration:o+"Duration",transitionProperty:o+"Property",transitionDelay:o+"Delay"};function v(g,a){g&&(this.element=g,this.layout=a,this.position={x:0,y:0},this._create())}var p=v.prototype=Object.create(e.prototype);p.constructor=v,p._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},p.handleEvent=function(g){var a="on"+g.type;this[a]&&this[a](g)},p.getSize=function(){this.size=i(this.element)},p.css=function(g){var a=this.element.style;for(var u in g){var y=d[u]||u;a[y]=g[u]}},p.getPosition=function(){var g=getComputedStyle(this.element),a=this.layout._getOption("originLeft"),u=this.layout._getOption("originTop"),y=g[a?"left":"right"],w=g[u?"top":"bottom"],x=parseFloat(y),E=parseFloat(w),T=this.layout.size;y.indexOf("%")!=-1&&(x=x/100*T.width),w.indexOf("%")!=-1&&(E=E/100*T.height),x=isNaN(x)?0:x,E=isNaN(E)?0:E,x-=a?T.paddingLeft:T.paddingRight,E-=u?T.paddingTop:T.paddingBottom,this.position.x=x,this.position.y=E},p.layoutPosition=function(){var g=this.layout.size,a={},u=this.layout._getOption("originLeft"),y=this.layout._getOption("originTop"),w=u?"paddingLeft":"paddingRight",x=u?"left":"right",E=u?"right":"left",T=this.position.x+g[w];a[x]=this.getXValue(T),a[E]="";var A=y?"paddingTop":"paddingBottom",k=y?"top":"bottom",q=y?"bottom":"top",S=this.position.y+g[A];a[k]=this.getYValue(S),a[q]="",this.css(a),this.emitEvent("layout",[this])},p.getXValue=function(g){var a=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&!a?g/this.layout.size.width*100+"%":g+"px"},p.getYValue=function(g){var a=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&a?g/this.layout.size.height*100+"%":g+"px"},p._transitionTo=function(g,a){this.getPosition();var u=this.position.x,y=this.position.y,w=g==this.position.x&&a==this.position.y;if(this.setPosition(g,a),w&&!this.isTransitioning){this.layoutPosition();return}var x=g-u,E=a-y,T={};T.transform=this.getTranslate(x,E),this.transition({to:T,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})},p.getTranslate=function(g,a){var u=this.layout._getOption("originLeft"),y=this.layout._getOption("originTop");return g=u?g:-g,a=y?a:-a,"translate3d("+g+"px, "+a+"px, 0)"},p.goTo=function(g,a){this.setPosition(g,a),this.layoutPosition()},p.moveTo=p._transitionTo,p.setPosition=function(g,a){this.position.x=parseFloat(g),this.position.y=parseFloat(a)},p._nonTransition=function(g){this.css(g.to),g.isCleaning&&this._removeStyles(g.to);for(var a in g.onTransitionEnd)g.onTransitionEnd[a].call(this)},p.transition=function(g){if(!parseFloat(this.layout.options.transitionDuration)){this._nonTransition(g);return}var a=this._transn;for(var u in g.onTransitionEnd)a.onEnd[u]=g.onTransitionEnd[u];for(u in g.to)a.ingProperties[u]=!0,g.isCleaning&&(a.clean[u]=!0);g.from&&(this.css(g.from),this.element.offsetHeight),this.enableTransition(g.to),this.css(g.to),this.isTransitioning=!0};function b(g){return g.replace(/([A-Z])/g,function(a){return"-"+a.toLowerCase()})}var f="opacity,"+b(l);p.enableTransition=function(){if(!this.isTransitioning){var g=this.layout.options.transitionDuration;g=typeof g=="number"?g+"ms":g,this.css({transitionProperty:f,transitionDuration:g,transitionDelay:this.staggerDelay||0}),this.element.addEventListener(c,this,!1)}},p.onwebkitTransitionEnd=function(g){this.ontransitionend(g)},p.onotransitionend=function(g){this.ontransitionend(g)};var h={"-webkit-transform":"transform"};p.ontransitionend=function(g){if(g.target===this.element){var a=this._transn,u=h[g.propertyName]||g.propertyName;if(delete a.ingProperties[u],r(a.ingProperties)&&this.disableTransition(),u in a.clean&&(this.element.style[g.propertyName]="",delete a.clean[u]),u in a.onEnd){var y=a.onEnd[u];y.call(this),delete a.onEnd[u]}this.emitEvent("transitionEnd",[this])}},p.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(c,this,!1),this.isTransitioning=!1},p._removeStyles=function(g){var a={};for(var u in g)a[u]="";this.css(a)};var m={transitionProperty:"",transitionDuration:"",transitionDelay:""};return p.removeTransitionStyles=function(){this.css(m)},p.stagger=function(g){g=isNaN(g)?0:g,this.staggerDelay=g+"ms"},p.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},p.remove=function(){if(!parseFloat(this.layout.options.transitionDuration)){this.removeElem();return}this.once("transitionEnd",function(){this.removeElem()}),this.hide()},p.reveal=function(){delete this.isHidden,this.css({display:""});var g=this.layout.options,a={},u=this.getHideRevealTransitionEndProperty("visibleStyle");a[u]=this.onRevealTransitionEnd,this.transition({from:g.hiddenStyle,to:g.visibleStyle,isCleaning:!0,onTransitionEnd:a})},p.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},p.getHideRevealTransitionEndProperty=function(g){var a=this.layout.options[g];if(a.opacity)return"opacity";for(var u in a)return u},p.hide=function(){this.isHidden=!0,this.css({display:""});var g=this.layout.options,a={},u=this.getHideRevealTransitionEndProperty("hiddenStyle");a[u]=this.onHideTransitionEnd,this.transition({from:g.visibleStyle,to:g.hiddenStyle,isCleaning:!0,onTransitionEnd:a})},p.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},p.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},v})})(Te)),Te.exports}/*!
10 * Outlayer v2.1.1
11 * the brains and guts of a layout library
12 * MIT license
13 */var pi;function Yr(){return pi||(pi=1,(function(n){(function(t,e){n.exports?n.exports=e(t,ji(),$i(),Hr(),Ur()):t.Outlayer=e(t,t.EvEmitter,t.getSize,t.f
13izzyUIUtils,t.Outlayer.Item)})(window,function(e,i,r,s,o){var l=e.console,c=e.jQuery,d=function(){},v=0,p={};function b(a,u){var y=s.getQueryElement(a);if(!y){l&&l.error("Bad element for "+this.constructor.namespace+": "+(y||a));return}this.element=y,c&&(this.$element=c(this.element)),this.options=s.extend({},this.constructor.defaults),this.option(u);var w=++v;this.element.outlayerGUID=w,p[w]=this,this._create();var x=this._getOption("initLayout");x&&this.layout()}b.namespace="outlayer",b.Item=o,b.defaults={containerStyle:{position:"relative"},initLayout:!0,originLeft:!0,originTop:!0,resize:!0,resizeContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}};var f=b.prototype;s.extend(f,i.prototype),f.option=function(a){s.extend(this.options,a)},f._getOption=function(a){var u=this.constructor.compatOptions[a];return u&&this.options[u]!==void 0?this.options[u]:this.options[a]},b.compatOptions={initLayout:"isInitLayout",horizontal:"isHorizontal",layoutInstant:"isLayoutInstant",originLeft:"isOriginLeft",originTop:"isOriginTop",resize:"isResizeBound",resizeContainer:"isResizingContainer"},f._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),s.extend(this.element.style,this.options.containerStyle);var a=this._getOption("resize");a&&this.bindResize()},f.reloadItems=function(){this.items=this._itemize(this.element.children)},f._itemize=function(a){for(var u=this._filterFindItemElements(a),y=this.constructor.Item,w=[],x=0;x<u.length;x++){var E=u[x],T=new y(E,this);w.push(T)}return w},f._filterFindItemElements=function(a){return s.filterFindElements(a,this.options.itemSelector)},f.getItemElements=function(){return this.items.map(function(a){return a.element})},f.layout=function(){this._resetLayout(),this._manageStamps();var a=this._getOption("layoutInstant"),u=a!==void 0?a:!this._isLayoutInited;this.layoutItems(this.items,u),this._isLayoutInited=!0},f._init=f.layout,f._resetLayout=function(){this.getSize()},f.getSize=function(){this.size=r(this.element)},f._getMeasurement=function(a,u){var y=this.options[a],w;y?(typeof y=="string"?w=this.element.querySelector(y):y instanceof HTMLElement&&(w=y),this[a]=w?r(w)[u]:y):this[a]=0},f.layoutItems=function(a,u){a=this._getItemsForLayout(a),this._layoutItems(a,u),this._postLayout()},f._getItemsForLayout=function(a){return a.filter(function(u){return!u.isIgnored})},f._layoutItems=function(a,u){if(this._emitCompleteOnItems("layout",a),!(!a||!a.length)){var y=[];a.forEach(function(w){var x=this._getItemLayoutPosition(w);x.item=w,x.isInstant=u||w.isLayoutInstant,y.push(x)},this),this._processLayoutQueue(y)}},f._getItemLayoutPosition=function(){return{x:0,y:0}},f._processLayoutQueue=function(a){this.updateStagger(),a.forEach(function(u,y){this._positionItem(u.item,u.x,u.y,u.isInstant,y)},this)},f.updateStagger=function(){var a=this.options.stagger;if(a==null){this.stagger=0;return}return this.stagger=g(a),this.stagger},f._positionItem=function(a,u,y,w,x){w?a.goTo(u,y):(a.stagger(x*this.stagger),a.moveTo(u,y))},f._postLayout=function(){this.resizeContainer()},f.resizeContainer=function(){var a=this._getOption("resizeContainer");if(a){var u=this._getContainerSize();u&&(this._setContainerMeasure(u.width,!0),this._setContainerMeasure(u.height,!1))}},f._getContainerSize=d,f._setContainerMeasure=function(a,u){if(a!==void 0){var y=this.size;y.isBorderBox&&(a+=u?y.paddingLeft+y.paddingRight+y.borderLeftWidth+y.borderRightWidth:y.paddingBottom+y.paddingTop+y.borderTopWidth+y.borderBottomWidth),a=Math.max(a,0),this.element.style[u?"width":"height"]=a+"px"}},f._emitCompleteOnItems=function(a,u){var y=this;function w(){y.dispatchEvent(a+"Complete",null,[u])}var x=u.length;if(!u||!x){w();return}var E=0;function T(){E++,E==x&&w()}u.forEach(function(A){A.once(a,T)})},f.dispatchEvent=function(a,u,y){var w=u?[u].concat(y):y;if(this.emitEvent(a,w),c)if(this.$element=this.$element||c(this.element),u){var x=c.Event(u);x.type=a,this.$element.trigger(x,y)}else this.$element.trigger(a,y)},f.ignore=function(a){var u=this.getItem(a);u&&(u.isIgnored=!0)},f.unignore=function(a){var u=this.getItem(a);u&&delete u.isIgnored},f.stamp=function(a){a=this._find(a),a&&(this.stamps=this.stamps.
13concat(a),a.forEach(this.ignore,this))},f.unstamp=function(a){a=this._find(a),a&&a.forEach(function(u){s.removeFrom(this.stamps,u),this.unignore(u)},this)},f._find=function(a){if(a)return typeof a=="string"&&(a=this.element.querySelectorAll(a)),a=s.makeArray(a),a},f._manageStamps=function(){!this.stamps||!this.stamps.length||(this._getBoundingRect(),this.stamps.forEach(this._manageStamp,this))},f._getBoundingRect=function(){var a=this.element.getBoundingClientRect(),u=this.size;this._boundingRect={left:a.left+u.paddingLeft+u.borderLeftWidth,top:a.top+u.paddingTop+u.borderTopWidth,right:a.right-(u.paddingRight+u.borderRightWidth),bottom:a.bottom-(u.paddingBottom+u.borderBottomWidth)}},f._manageStamp=d,f._getElementOffset=function(a){var u=a.getBoundingClientRect(),y=this._boundingRect,w=r(a),x={left:u.left-y.left-w.marginLeft,top:u.top-y.top-w.marginTop,right:y.right-u.right-w.marginRight,bottom:y.bottom-u.bottom-w.marginBottom};return x},f.handleEvent=s.handleEvent,f.bindResize=function(){e.addEventListener("resize",this),this.isResizeBound=!0},f.unbindResize=function(){e.removeEventListener("resize",this),this.isResizeBound=!1},f.onresize=function(){this.resize()},s.debounceMethod(b,"onresize",100),f.resize=function(){!this.isResizeBound||!this.needsResizeLayout()||this.layout()},f.needsResizeLayout=function(){var a=r(this.element),u=this.size&&a;return u&&a.innerWidth!==this.size.innerWidth},f.addItems=function(a){var u=this._itemize(a);return u.length&&(this.items=this.items.concat(u)),u},f.appended=function(a){var u=this.addItems(a);u.length&&(this.layoutItems(u,!0),this.reveal(u))},f.prepended=function(a){var u=this._itemize(a);if(u.length){var y=this.items.slice(0);this.items=u.concat(y),this._resetLayout(),this._manageStamps(),this.layoutItems(u,!0),this.reveal(u),this.layoutItems(y)}},f.reveal=function(a){if(this._emitCompleteOnItems("reveal",a),!(!a||!a.length)){var u=this.updateStagger();a.forEach(function(y,w){y.stagger(w*u),y.reveal()})}},f.hide=function(a){if(this._emitCompleteOnItems("hide",a),!(!a||!a.length)){var u=this.updateStagger();a.forEach(function(y,w){y.stagger(w*u),y.hide()})}},f.revealItemElements=function(a){var u=this.getItems(a);this.reveal(u)},f.hideItemElements=function(a){var u=this.getItems(a);this.hide(u)},f.getItem=function(a){for(var u=0;u<this.items.length;u++){var y=this.items[u];if(y.element==a)return y}},f.getItems=function(a){a=s.makeArray(a);var u=[];return a.forEach(function(y){var w=this.getItem(y);w&&u.push(w)},this),u},f.remove=function(a){var u=this.getItems(a);this._emitCompleteOnItems("remove",u),!(!u||!u.length)&&u.forEach(function(y){y.remove(),s.removeFrom(this.items,y)},this)},f.destroy=function(){var a=this.element.style;a.height="",a.position="",a.width="",this.items.forEach(function(y){y.destroy()}),this.unbindResize();var u=this.element.outlayerGUID;delete p[u],delete this.element.outlayerGUID,c&&c.removeData(this.element,this.constructor.namespace)},b.data=function(a){a=s.getQueryElement(a);var u=a&&a.outlayerGUID;return u&&p[u]},b.create=function(a,u){var y=h(b);return y.defaults=s.extend({},b.defaults),s.extend(y.defaults,u),y.compatOptions=s.extend({},b.compatOptions),y.namespace=a,y.data=b.data,y.Item=h(o),s.htmlInit(y,a),c&&c.bridget&&c.bridget(a,y),y};function h(a){function u(){a.apply(this,arguments)}return u.prototype=Object.create(a.prototype),u.prototype.constructor=u,u}var m={ms:1,s:1e3};function g(a){if(typeof a=="number")return a;var u=a.match(/(^\d*\.?\d*)(\w*)/),y=u&&u[1],w=u&&u[2];if(!y.length)return 0;y=parseFloat(y);var x=m[w]||1;return y*x}return b.Item=o,b})})(we)),we.exports}var Ae={exports:{}};/*!
14 * getSize v2.0.3
15 * measure size of elements
16 * MIT license
17 */var gi;function Kr(){return gi||(gi=1,(function(n){(function(t,e){n.exports?n.exports=e():t.getSize=e()})(window,function(){function e(f){var h=parseFloat(f),m=f.indexOf("%")==-1&&!isNaN(h);return m&&h}function i(){}var r=typeof console>"u"?i:function(f){console.error(f)},s=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],o=s.length;function l(){for(var f={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},h=0;h<o;h++){var m=s[h];f[m]=0}return f}function c(f){var h=getComputedStyle(f);return h||r("Style returned "+h+". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"),h}var d=!1,v;function p(){if(!d){d=!0;var f=document.createElement("div");f.style.width="200px",f.style.padding="1px 2px 3px 4px",f.style.borderStyle="solid",f.style.borderWidth="1px 2px 3px 4px",f.style.boxSizing="border-box";var h=document.body||document.documentElement;h.appendChild(f);var m=c(f);v=Math.round(e(m.width))==200,b.isBoxSizeOuter=v,h.removeChild(f)}}function b(f){if(p(),typeof f=="string"&&(f=document.querySelector(f)),!(!f||typeof f!="object"||!f.nodeType)){var h=c(f);if(h.display=="none")return l();var m={};m.width=f.offsetWidth,m.height=f.offsetHeight;for(var g=m.isBorderBox=h.boxSizing=="border-box",a=0;a<o;a++){var u=s[a],y=h[u],w=parseFloat(y);m[u]=isNaN(w)?0:w}var x=m.paddingLeft+m.paddingRight,E=m.paddingTop+m.paddingBottom,T=m.marginLeft+m.marginRight,A=m.marginTop+m.marginBottom,k=m.borderLeftWidth+m.borderRightWidth,q=m.borderTopWidth+m.borderBottomWidth,S=g&&v,O=e(h.width);O!==!1&&(m.width=O+(S?0:x+k));var F=e(h.height);return F!==!1&&(m.height=F+(S?0:E+q)),m.innerWidth=m.width-(x+k),m.innerHe
vendor: 2,686 bytes, lines 17-23
17ight=m.height-(E+q),m.outerWidth=m.width+T,m.outerHeight=m.height+A,m}}return b})})(Ae)),Ae.exports}/*!
18 * Masonry v4.2.2
19 * Cascading grid layout library
20 * https://masonry.desandro.com
21 * MIT License
22 * by David DeSandro
23 */var mi;function Xr(){return mi||(mi=1,(function(n){(function(t,e){n.exports?n.exports=e(Yr(),Kr()):t.Masonry=e(t.Outlayer,t.getSize)})(window,function(e,i){var r=e.create("masonry");r.compatOptions.fitWidth="isFitWidth";var s=r.prototype;return s._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns(),this.colYs=[];for(var o=0;o<this.cols;o++)this.colYs.push(0);this.maxY=0,this.horizontalColIndex=0},s.measureColumns=function(){if(this.getContainerWidth(),!this.columnWidth){var o=this.items[0],l=o&&o.element;this.columnWidth=l&&i(l).outerWidth||this.containerWidth}var c=this.columnWidth+=this.gutter,d=this.containerWidth+this.gutter,v=d/c,p=c-d%c,b=p&&p<1?"round":"floor";v=Math[b](v),this.cols=Math.max(v,1)},s.getContainerWidth=function(){var o=this._getOption("fitWidth"),l=o?this.element.parentNode:this.element,c=i(l);this.containerWidth=c&&c.innerWidth},s._getItemLayoutPosition=function(o){o.getSize();var l=o.size.outerWidth%this.columnWidth,c=l&&l<1?"round":"ceil",d=Math[c](o.size.outerWidth/this.columnWidth);d=Math.min(d,this.cols);for(var v=this.options.horizontalOrder?"_getHorizontalColPosition":"_getTopColPosition",p=this[v](d,o),b={x:this.columnWidth*p.col,y:p.y},f=p.y+o.size.outerHeight,h=d+p.col,m=p.col;m<h;m++)this.colYs[m]=f;return b},s._getTopColPosition=function(o){var l=this._getTopColGroup(o),c=Math.min.apply(Math,l);return{col:l.indexOf(c),y:c}},s._getTopColGroup=function(o){if(o<2)return this.colYs;for(var l=[],c=this.cols+1-o,d=0;d<c;d++)l[d]=this._getColGroupY(d,o);return l},s._getColGroupY=function(o,l){if(l<2)return this.colYs[o];var c=this.colYs.slice(o,o+l);return Math.max.apply(Math,c)},s._getHorizontalColPosition=function(o,l){var c=this.horizontalColIndex%this.cols,d=o>1&&c+o>this.cols;c=d?0:c;var v=l.size.outerWidth&&l.size.outerHeight;return this.horizontalColIndex=v?c+o:this.horizontalColIndex,{col:c,y:this._getColGroupY(c,o)}},s._manageStamp=function(o){var l=i(o),c=this._getElementOffset(o),d=this._getOption("originLeft"),v=d?c.left:c.right,p=v+l.outerWidth,b=Math.floor(v/this.columnWidth);b=Math.max(0,b);var f=Math.floor(p/this.columnWidth);f-=p%this.columnWidth?0:1,f=Math.min(this.cols-1,f);for(var h=this._getOption("originTop"),m=(h?c.top:c.bottom)+l.outerHeight,g=b;g<=f;g++)this.colYs[g]=Math.max(m,this.colYs[g])},s._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);
23var o={height:this.maxY};return this._getOption("fitWidth")&&(o.width=this._getContainerFitWidth()),o},s._getContainerFitWidth=function(){for(var o=0,l=this.cols;--l&&this.colYs[l]===0;)o++;return(this.cols-o)*this.columnWidth-this.gutter},s.needsResizeLayout=function(){var o=this.containerWidth;return this.getContainerWidth(),o!=this.containerWidth},r})})(Ee)),Ee.exports}Xr();function ce(n){var t=typeof n;return n!=null&&(t=="object"||t=="function")}var Gr=typeof global=="object"&&global&&global.Object===Object&&global,Qr=typeof self=="object"&&self&&self.Object===Object&&self,Vi=Gr||Qr||Function("return this")(),_e=function(){return Vi.Date.now()},Zr=/\s/;function Jr(n){for(var t=n.length;t--&&Zr.test(n.charAt(t)););return t}var ts=/^\s+/;function es(n){return n&&n.slice(0,Jr(n)+1).replace(ts,"")}var ue=Vi.Symbol,qi=Object.prototype,is=qi.hasOwnProperty,ns=qi.toString,$t=ue?ue.toStringTag:void 0;function rs(n){var t=is.call(n,$t),e=n[$t];try{n[$t]=void 0;var i=!0}catch{}var r=ns.call(n);return i&&(t?n[$t]=e:delete n[$t]),r}var ss=Object.prototype,os=ss.toString;function as(n){return os.call(n)}var ls="[object Null]",cs="[object Undefined]",vi=ue?ue.toStringTag:void 0;function us(n){return n==null?n===void 0?cs:ls:vi&&vi in Object(n)?rs(n):as(n)}function ds(n){return n!=null&&typeof n=="object"}var hs="[object Symbol]";function fs(n){return typeof n=="symbol"||ds(n)&&us(n)==hs}var yi=NaN,ps=/^[-+]0x[0-9a-f]+$/i,gs=/^0b[01]+$/i,ms=/^0o[0-7]+$/i,vs=parseInt;function bi(n){if(typeof n=="number")return n;if(fs(n))return yi;if(ce(n)){var t=typeof n.valueOf=="function"?n.valueOf():n;n=ce(t)?t+"":t}if(typeof n!="string")return n===0?n:+n;n=es(n);var e=gs.test(n);return e||ms.test(n)?vs(n.slice(2),e?2:8):ps.test(n)?yi:+n}var ys="Expected a function",bs=Math.max,Es=Math.min;function se(n,t,e){var i,r,s,o,l,c,d=0,v=!1,p=!1,b=!0;if(typeof n!="function")throw new TypeError(ys);t=bi(t)||0,ce(e)&&(v=!!e.leading,p="maxWait"in e,s=p?bs(bi(e.maxWait)||0,t):s,b="trailing"in e?!!e.trailing:b);function f(E){var T=i,A=r;return i=r=void 0,d=E,o=n.apply(A,T),o}function h(E){return d=E,l=setTimeout(a,t),v?f(E):o}function m(E){var T=E-c,A=E-d,k=t-T;return p?Es(k,s-A):k}function g(E){var T=E-c,A=E-d;return c===void 0||T>=t||T<0||p&&A>=s}function a(){var E=_e();if(g(E))return u(E);l=setTimeout(a,m(E))}function u(E){return l=void 0,b&&i?f(E):(i=r=void 0,o)}function y(){l!==void 0&&clearTimeout(l),d=0,i=c=r=l=void 0}function w(){return l===void 0?o:u(_e())}function x(){var E=_e(),T=g(E);if(i=arguments,r=this,c=E,T){if(l===void 0)return h(c);if(p)return clearTimeout(l),l=setTimeout(a,t),f(c)}return l===void 0&&(l=setTimeout(a,t)),o}return x.cancel=y,x.flush=w,x}var ws="Expected a function";function Ss(n,t,e){var i=!0,r=!0;if(typeof n!="function")throw new TypeError(ws);return ce(e)&&(i="leading"in e?!!e.leading:i,r="trailing"in e?!!e.trailing:r),se(n,t,{leading:i,maxWait:t,trailing:r})}var Nt=function(){return Nt=Object.assign||function(t){for(var e,i=1,r=arguments.length;i<r;i++){e=arguments[i];for(var s in e)Object.prototype.hasOwnProperty.call(e,s)&&(t[s]=e[s])}return t},Nt.apply(this,arguments)};function Hi(n){return!n||!n.ownerDocument||!n.ownerDocument.defaultView?window:n.ownerDocument.defaultView}function Ui(n){return!n||!n.ownerDocument?document:n.ownerDocument}var Yi=function(n){var t={},e=Array.prototype.reduce.call(n,function(i,r){var s=r.name.match(/data-simplebar-(.+)/);if(s){var o=s[1].replace(/\W+(.)/g,function(l,c){return c.toUpperCase()});switch(r.value){case"true":i[o]=!0;break;case"false":i[o]=!1;break;case void 0:i[o]=!0;break;default:i[o]=r.value}}return i},t);return e};function Ki(n,t){var e;n&&(e=n.classList).add.apply(e,t.split(" "))}function Xi(n,t){n&&t.split(" ").forEach(function(e){n.classList.remove(e)})}function Gi(n){return".".concat(n.split(" ").join("."))}var qe=!!(typeof window<"u"&&window.document&&window.document.createElement),Os=Object.freeze({__proto__:null,addClasses:Ki,canUseDOM:qe,classNamesToQuery:Gi,getElementDocument:Ui,getElementWindow:Hi,getOptions:Yi,removeClasses:Xi}),Ft=null,Ei=null;qe&&window.addEventListener("resize",function(){Ei!==window.devicePixelRatio&&(Ei=window.devicePixelRatio,Ft=null)});function wi(){if(Ft===null){if(typeof document>"u")return Ft=0,Ft;var n=document.body,t=document.createElement("div");t.classList.add("simplebar-hide-scrollbar"),n.appendChild(t);var e=t.getBoundingClientRect().right;n.removeChild(t),Ft=e}return Ft}var _t=Hi,Le=Ui,xs=Yi,Lt=Ki,Mt=Xi,ut=Gi,oe=(function(){function n(t,e){e===void 0&&(e={});var i=this;if(this.removePreventClickId=null,this.minScrollbarWidth=20,this.stopScrollDelay=175,this.isScrolling=!1,this.isMouseEntering=!1,this.isDragging=!1,this.scrollXTicking=!1,this.scrollYTicking=!1,this.wrapperEl=null,this.contentWrapperEl=null,this.contentEl=null,this.offsetEl=null,this.maskEl=null,this.placeholderEl=null,this.heightAutoObserverWrapperEl=null,this.heightAutoObserverEl=null,this.rtlHelpers=null,this.scrollbarWidth=0,this.resizeObserver=null,this.mutationObserver=null,this.elStyles=null,this.isRtl=null,this.mouseX=0,this.mouseY=0,this.onMouseMove=function(){},this.onWindowResize=function(){},this.onStopScrolling=function(){},this.onMouseEntered=function(){},this.onScroll=function(){var r=_t(i.el);i.scrollXTicking||(r.requestAnimationFrame(i.scrollX),i.scrollXTicking=!0),i.scrollYTicking||(r.requestAnimationFrame(i.scrollY),i.scrollYTicking=!0),i.isScrolling||(i.isScrolling=!0,Lt(i.el,i.classNames.scrolling)),i.showScrollbar("x"),i.showScrollbar("y"),i.onStopScrolling()},this.scrollX=function(){i.axis.x.isOverflowing&&i.positionScrollbar("x"),i.scrollXTicking=!1},this.scrollY=function(){i.axis.y.isOverflowing&&i.positionScrollbar("y"),i.scrollYTicking=!1},this._onStopScrolling=function(){Mt(i.el,i.classNames.scrolling),i.options.autoHide&&(i.hideScrollbar("x"),i.hideScrollbar("y")),i.isScrolling=!1},this.onMouseEnter=function(){i.isMouseEntering||(Lt(i.el,i.classNames.mouseEntered),i.showScrollbar("x"),i.showScrollbar("y"),i.isMouseEntering=!0),i.onMouseEntered()},this._onMouseEntered=function(){Mt(i.el,i.classNames.mouseEntered),i.options.autoHide&&(i.hideScrollbar("x"),i.hideScrollbar("y")),i.isMouseEntering=!1},this._onMouseMove=function(r){i.mouseX=r.clientX,i.mouseY=r.clientY,(i.axis.x.isOverflowing||i.axis.x.forceVisible)&&i.onMouseMoveForAxis("x"),(i.axis.y.isOverflowing||i.axis.y.forceVisible)&&i.onMouseMoveForAxis("y")},this.onMouseLeave=function(){i.onMouseMove.cancel(),(i.axis.x.isOverflowing||i.axis.x.forceVisible)&&i.onMouseLeaveForAxis("x"),(i.axis.y.isOverflowing||i.axis.y.forceVisible)&&i.onMouseLeaveForAxis("y"),i.mouseX=-1,i.mouseY=-1}
23,this._onWindowResize=function(){i.scrollbarWidth=i.getScrollbarWidth(),i.hideNativeScrollbar()},this.onPointerEvent=function(r){if(!(!i.axis.x.track.el||!i.axis.y.track.el||!i.axis.x.scrollbar.el||!i.axis.y.scrollbar.el)){var s,o;i.axis.x.track.rect=i.axis.x.track.el.getBoundingClientRect(),i.axis.y.track.rect=i.axis.y.track.el.getBoundingClientRect(),(i.axis.x.isOverflowing||i.axis.x.forceVisible)&&(s=i.isWithinBounds(i.axis.x.track.rect)),(i.axis.y.isOverflowing||i.axis.y.forceVisible)&&(o=i.isWithinBounds(i.axis.y.track.rect)),(s||o)&&(r.stopPropagation(),r.type==="pointerdown"&&r.pointerType!=="touch"&&(s&&(i.axis.x.scrollbar.rect=i.axis.x.scrollbar.el.getBoundingClientRect(),i.isWithinBounds(i.axis.x.scrollbar.rect)?i.onDragStart(r,"x"):i.onTrackClick(r,"x")),o&&(i.axis.y.scrollbar.rect=i.axis.y.scrollbar.el.getBoundingClientRect(),i.isWithinBounds(i.axis.y.scrollbar.rect)?i.onDragStart(r,"y"):i.onTrackClick(r,"y"))))}},this.drag=function(r){var s,o,l,c,d,v,p,b,f,h,m;if(!(!i.draggedAxis||!i.contentWrapperEl)){var g,a=i.axis[i.draggedAxis].track,u=(o=(s=a.rect)===null||s===void 0?void 0:s[i.axis[i.draggedAxis].sizeAttr])!==null&&o!==void 0?o:0,y=i.axis[i.draggedAxis].scrollbar,w=(c=(l=i.contentWrapperEl)===null||l===void 0?void 0:l[i.axis[i.draggedAxis].scrollSizeAttr])!==null&&c!==void 0?c:0,x=parseInt((v=(d=i.elStyles)===null||d===void 0?void 0:d[i.axis[i.draggedAxis].sizeAttr])!==null&&v!==void 0?v:"0px",10);r.preventDefault(),r.stopPropagation(),i.draggedAxis==="y"?g=r.pageY:g=r.pageX;var E=g-((b=(p=a.rect)===null||p===void 0?void 0:p[i.axis[i.draggedAxis].offsetAttr])!==null&&b!==void 0?b:0)-i.axis[i.draggedAxis].dragOffset;E=i.draggedAxis==="x"&&i.isRtl?((h=(f=a.rect)===null||f===void 0?void 0:f[i.axis[i.draggedAxis].sizeAttr])!==null&&h!==void 0?h:0)-y.size-E:E;var T=E/(u-y.size),A=T*(w-x);i.draggedAxis==="x"&&i.isRtl&&(A=!((m=n.getRtlHelpers())===null||m===void 0)&&m.isScrollingToNegative?-A:A),i.contentWrapperEl[i.axis[i.draggedAxis].scrollOffsetAttr]=A}},this.onEndDrag=function(r){i.isDragging=!1;var s=Le(i.el),o=_t(i.el);r.preventDefault(),r.stopPropagation(),Mt(i.el,i.classNames.dragging),i.onStopScrolling(),s.removeEventListener("mousemove",i.drag,!0),s.removeEventListener("mouseup",i.onEndDrag,!0),i.removePreventClickId=o.setTimeout(function(){s.removeEventListener("click",i.preventClick,!0),s.removeEventListener("dblclick",i.preventClick,!0),i.removePreventClickId=null})},this.preventClick=function(r){r.preventDefault(),r.stopPropagation()},this.el=t,this.options=Nt(Nt({},n.defaultOptions),e),this.classNames=Nt(Nt({},n.defaultOptions.classNames),e.classNames),this.axis={x:{scrollOffsetAttr:"scrollLeft",sizeAttr:"width",scrollSizeAttr:"scrollWidth",offsetSizeAttr:"offsetWidth",offsetAttr:"left",overflowAttr:"overflowX",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}},y:{scrollOffsetAttr:"scrollTop",sizeAttr:"height",scrollSizeAttr:"scrollHeight",offsetSizeAttr:"offsetHeight",offsetAttr:"top",overflowAttr:"overflowY",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}}},typeof this.el!="object"||!this.el.nodeName)throw new Error("Argument passed to SimpleBar must be an HTML element instead of ".concat(this.el));this.onMouseMove=Ss(this._onMouseMove,64),this.onWindowResize=se(this._onWindowResize,64,{leading:!0}),this.onStopScrolling=se(this._onStopScrolling,this.stopScrollDelay),this.onMouseEntered=se(this._onMouseEntered,this.stopScrollDelay),this.init()}return n.getRtlHelpers=function(){if(n.rtlHelpers)return n.rtlHelpers;var t=document.createElement("div");t.innerHTML='<div class="simplebar-dummy-scrollbar-size"><div></div></div>';var e=t.firstElementChild,i=e==null?void 0:e.firstElementChild;if(!i)return null;document.body.appendChild(e),e.scrollLeft=0;var r=n.getOffset(e),s=n.getOffset(i);e.scrollLeft=-999;var o=n.getOffset(i);return document.body.removeChild(e),n.rtlHelpers={isScrollOriginAtZero:r.left!==s.left,isScrollingToNegative:s.left!==o.left},n.rtlHelpers},n.prototype.getScrollbarWidth=function(){try{return this.contentWrapperEl&&getComputedStyle(this.contentWrapperEl,"::-webkit-scrollbar").display==="none"||"scrollbarWidth"in document.documentElement.style||"-ms-overflow-style"in document.documentElement.style?0:wi()}catch{return wi()}},n.getOffset=function(t){var e=t.getBoundingClientRect(),i=Le(t),r=_t(t);return{top:e.top+(r.pageYOffset||i.documentElement.scrollTop),left
23:e.left+(r.pageXOffset||i.documentElement.scrollLeft)}},n.prototype.init=function(){qe&&(this.initDOM(),this.rtlHelpers=n.getRtlHelpers(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},n.prototype.initDOM=function(){var t,e;this.wrapperEl=this.el.querySelector(ut(this.classNames.wrapper)),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector(ut(this.classNames.contentWrapper)),this.contentEl=this.options.contentNode||this.el.querySelector(ut(this.classNames.contentEl)),this.offsetEl=this.el.querySelector(ut(this.classNames.offset)),this.maskEl=this.el.querySelector(ut(this.classNames.mask)),this.placeholderEl=this.findChild(this.wrapperEl,ut(this.classNames.placeholder)),this.heightAutoObserverWrapperEl=this.el.querySelector(ut(this.classNames.heightAutoObserverWrapperEl)),this.heightAutoObserverEl=this.el.querySelector(ut(this.classNames.heightAutoObserverEl)),this.axis.x.track.el=this.findChild(this.el,"".concat(ut(this.classNames.track)).concat(ut(this.classNames.horizontal))),this.axis.y.track.el=this.findChild(this.el,"".concat(ut(this.classNames.track)).concat(ut(this.classNames.vertical))),this.axis.x.scrollbar.el=((t=this.axis.x.track.el)===null||t===void 0?void 0:t.querySelector(ut(this.classNames.scrollbar)))||null,this.axis.y.scrollbar.el=((e=this.axis.y.track.el)===null||e===void 0?void 0:e.querySelector(ut(this.classNames.scrollbar)))||null,this.options.autoHide||(Lt(this.axis.x.scrollbar.el,this.classNames.visible),Lt(this.axis.y.scrollbar.el,this.classNames.visible))},n.prototype.initListeners=function(){var t=this,e,i=_t(this.el);if(this.el.addEventListener("mouseenter",this.onMouseEnter),this.el.addEventListener("pointerdown",this.onPointerEvent,!0),this.el.addEventListener("mousemove",this.onMouseMove),this.el.addEventListener("mouseleave",this.onMouseLeave),(e=this.contentWrapperEl)===null||e===void 0||e.addEventListener("scroll",this.onScroll),i.addEventListener("resize",this.onWindowResize),!!this.contentEl){if(window.ResizeObserver){var r=!1,s=i.ResizeObserver||ResizeObserver;this.resizeObserver=new s(function(){r&&i.requestAnimationFrame(function(){t.recalculate()})}),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),i.requestAnimationFrame(function(){r=!0})}this.mutationObserver=new i.MutationObserver(function(){i.requestAnimationFrame(function(){t.recalculate()})}),this.mutationObserver.observe(this.contentEl,{childList:!0,subtree:!0,characterData:!0})}},n.prototype.recalculate=function(){if(!(!this.heightAutoObserverEl||!this.contentEl||!this.contentWrapperEl||!this.wrapperEl||!this.placeholderEl)){var t=_t(this.el);this.elStyles=t.getComputedStyle(this.el),this.isRtl=this.elStyles.direction==="rtl";var e=this.contentEl.offsetWidth,i=this.heightAutoObserverEl.offsetHeight<=1,r=this.heightAutoObserverEl.offsetWidth<=1||e>0,s=this.contentWrapperEl.offsetWidth,o=this.elStyles.overflowX,l=this.elStyles.overflowY;this.contentEl.style.padding="".concat(this.elStyles.paddingTop," ").concat(this.elStyles.paddingRight," ").concat(this.elStyles.paddingBottom," ").concat(this.elStyles.paddingLeft),this.wrapperEl.style.margin="-".concat(this.elStyles.paddingTop," -").concat(this.elStyles.paddingRight," -").concat(this.elStyles.paddingBottom," -").concat(this.elStyles.paddingLeft);var c=this.contentEl.scrollHeight,d=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=i?"auto":"100%",this.placeholderEl.style.width=r?"".concat(e||d,"px"):"auto",this.placeholderEl.style.height="".concat(c,"px");var v=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=e!==0&&d>e,this.axis.y.isOverflowing=c>v,this.axis.x.isOverflowing=o==="hidden"?!1:this.axis.x.isOverflowing,this.axis.y.isOverflowing=l==="hidden"?!1:this.axis.y.isOverflowing,this.axis.x.forceVisible=this.options.forceVisible==="x"||this.options.forceVisible===!0,this.axis.y.forceVisible=this.options.forceVisible==="y"||this.options.forceVisible===!0,this.hideNativeScrollbar();var p=this.axis.x.isOverflowing?this.scrollbarWidth:0,b=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&d>s-b,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&c>v-p,this.axis.x.scrollbar.size=this.getScrollbarSize("x"),this.axis.y.scrollbar.size=this.getScrollbarSize("y"),this.axis.x.scrollbar.el&&(this.axis.x.scrollbar.el.style.width="".concat(this.axis.x.scrollbar.size,"px")),this.axis.y.scrollbar.el&&(this.axis.y.scrollbar.el.style.height="".concat(this.axis.y.scrollbar.size,"px")),this.positionScrollbar("x"),this.positionScrollbar("y"),this.toggleTrackVisibility("x"),this.toggleTrackVisibility("y")}},n.prototype.getScrollbarSize=function(t){var e,i;if(t===void 0&&(t="y"),!this.axis[t].isOverflowing||!this.contentEl)return 0;var r=this.contentEl[this.axis[t].scrollSizeAttr],s=(i=(e=this.axis[t].track.el)===null||e===void 0?void 0:e[this.axis[t].offsetSizeAttr])!==null&&i!==void 0?i:0,o=s/r,l;return l=Math.max(~~(o*s),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(l=Math.min(l,this.options.scrollbarMaxSize)),l},n.prototype.positionScrollbar=function(t){var e,i,r;t===void 0&&(t="y");var s=this.axis[t].scrollbar;if(!(!this.axis[t].isOverflowing||!this.contentWrapperEl||!s.el||!this.elStyles)){var o=this.contentWrapperEl[this.axis[t].scrollSizeAttr],l=((e=this.axis[t].track.el)===null||e===void 0?void 0:e[this.axis[t].offsetSizeAttr])||0,c=parseInt(this.elStyles[this.axis[t].sizeAttr],10),d=this.contentWrapperEl[this.axis[t].scrollOffsetAttr];d=t==="x"&&this.isRtl&&(!((i=n.getRtlHelpers())===null||i===void 0)&&i.isScrollOriginAtZero)?-d:d,t==="x"&&this.isRtl&&(d=!((r=n.getRtlHelpers())===null||r===void 0)&&r.isScrollingToNegative?d:-d);var v=d/(o-c),p=~~((l-s.size)*v);p=t==="x"&&this.isRtl?-p+(l-s.size):p,s.el.style.transform=t==="x"?"translate3d(".concat(p,"px, 0, 0)"):"translate3d(0, ".concat(p,"px, 0)")}},n.prototype.toggleTrackVisibility=function(t){t===void 0&&(t="y");var e=this.axis[t].track.el,i=this.axis[t].scrollbar.el;!e||!i||!this.contentWrapperEl||(this.axis[t].isOverflowing||this.axis[t].forceVisible?(e.style.visibility="visible",this.contentWrapperEl.style[this.axis[t].overflowAttr]="scroll",this.el.classList.add("".concat(this.classNames.scrollable,"-").concat(t))):(e.style.visibility="hidden",this.contentWrapperEl.style[this.axis[t].overflowAttr]="hidden",this.el.classList.remove("".concat(this.classNames.scrollable,"-").concat(t))),this.axis[t].isOverflowing?i.style.display="block":i.style.display="none")},n.prototype.showScrollbar=function(t){t===void 0&&(t="y"),this.axis[t].isOverflowing&&!this.axis[t].scrollbar.isVisible&&(Lt(this.axis[t].scrollbar.el,this.classNames.visible),this.axis[t].scrollbar.isVisible=!0)},n.prototype.hideScrollbar=function(t){t===void 0&&(t="y"),!this.isDragging&&this.axis[t].isOverflowing&&this.axis[t].scrollbar.isVisible&&(Mt(this.axis[t].scrollbar.el,this.classNames.visible),this.axis[t].scrollbar.isVisible=!1)},n.prototype.hideNativeScrollbar=function(){this.offsetEl&&(this.offsetEl.style[this.isRtl?"left":"right"]=this.axis.y.isOverflowing||this.axis.y.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px",this.offsetEl.style.bottom=this.axis.x.isOverflowing||this.axis.x.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px")},n.prototype.onMouseMoveForAxis=function(t){t===void 0&&(t="y");var e=this.axis[t];!e.track.el||!e.scrollbar.el||(e.track.rect=e.track.el.getBoundingClientRect(),e.scrollbar.rect=e.scrollbar.el.getBoundingClientRect(),this.isWithinBounds(e.track.rect)?(this.showScrollbar(t),Lt(e.track.el,this.classNames.hover),this.isWithinBounds(e.scrollbar.rect)?Lt(e.scrollbar.el,this.classNames.hover):Mt(e.scrollbar.el,this.classNames.hover)):(Mt(e.track.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(t)))},n.prototype.onMouseLeaveForAxis=function(t){t===void 0&&(t="y"),Mt(this.axis[t].track.el,this.classNames.hover),Mt(this.axis[t].scrollbar.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(t)},n.prototype.onDragStart=function(t,e){var i;e===void 0&&(e="y"),this.isDragging=!0;var r=Le(this.el),s=_t(this.el),o=this.axis[e].scrollbar,l=e==="y"?t.pageY:t.pageX;this.axis[e].dragOffset=l-(((i=o.rect)===null||i===void 0?void 0:i[this.axis[e].offsetAttr])||0),this.draggedAxis=e,Lt(this.el,this.classNames.dragging),r.addEventListener("mousemove",this.drag,!0),r.addEventListener("mouseup",this.onEndDrag,!0),this.removePreventClickId===null?(r.addEventListener("click",this.preventClick,!0),r.addEventListener("dblclick",this.preventClick,!0)):(s.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},n.prototype.onTrackClick=function(t,e){var i=this,r,s,o,l;e===void 0&&(e="y");var c=this.axis[e];if(!(!this.options.clickOnTrack||!c.scrollbar.el||!this.contentWrapperEl)){t.preventDefault();var d=_t(this.el);this.axis[e].scrollbar.rect=c.scrollbar.el.getBoundingClientRect();var v=this.axis[e].scrollbar,p=(s=(r=v.rect)===null||r===void 0?void 0:r[this.axis[e].offsetAttr])!==null&&s!==void 0?s:0,b=parseInt((l=(o=this.elStyles)===null||o===void 0?void 0:o[this.axis[e].sizeAttr])!==null&&l!==void 0?l:"0px",10),f=this.contentWrapperEl[this.axis[e].scrollOffsetAttr],h=e==="y"?this.mouseY-p:this.mouseX-p,m=h<0?-1:1,g=m===-1?f-b:f+b,a=40,u=function(){i.contentWrapperEl&&(m===-1?f>g&&(f-=a,i.contentWrapperEl[i.axis[e].scrollOffsetAttr]=f,d.requestAnimationFrame(u)):f<g&&(f+=a,i.contentWrapperEl[i.axis[e].scrollOffsetAttr]=f,d.requestAnimationFrame(u)))};u()}},n.prototype.getContentElement=function(){return this.contentEl},n.prototype.getScrollElement=function(){return this.contentWrapperEl},n.prototype.removeListeners=function(){var t=_t(this.el);this.el.removeEventListener("mouseenter",this.onMouseEnter),this.el.removeEventListener("pointerdown",this.onPointerEvent,!0),this.el.removeEventListener("mousemove",this.onMouseMove),this.el.removeEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl&&this.contentWrapperEl.removeEventListener("scroll",this.onScroll),t.removeEventListener("resize",this.onWindowResize),this.mutationObserver&&this.mutationObserver.disconnect(),this.resizeObserver&&this.resizeObserver.disconnect(),this.onMouseMove.cancel(),this.onWindowResize.cancel(),this.onStopScrolling.cancel(),this.onMouseEntered.cancel()},n.prototype.unMount=function(){this.removeListeners()},n.prototype.isWithinBounds=function(t){return this.mouseX>=t.left&&this.mouseX<=t.left+t.width&&this.mouseY>=t.top&&this.mouseY<=t.top+t.height},n.prototype.findChild=function(t,e){var i=t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector;return Array.prototype.filter.call(t.children,function(r){return i.call(r,e)})[0]}
23,n.rtlHelpers=null,n.defaultOptions={forceVisible:!1,clickOnTrack:!0,scrollbarMinSize:25,scrollbarMaxSize:0,ariaLabel:"scrollable content",tabIndex:0,classNames:{contentEl:"simplebar-content",contentWrapper:"simplebar-content-wrapper",offset:"simplebar-offset",mask:"simplebar-mask",wrapper:"simplebar-wrapper",placeholder:"simplebar-placeholder",scrollbar:"simplebar-scrollbar",track:"simplebar-track",heightAutoObserverWrapperEl:"simplebar-height-auto-observer-wrapper",heightAutoObserverEl:"simplebar-height-auto-observer",visible:"simplebar-visible",horizontal:"simplebar-horizontal",vertical:"simplebar-vertical",hover:"simplebar-hover",dragging:"simplebar-dragging",scrolling:"simplebar-scrolling",scrollable:"simplebar-scrollable",mouseEntered:"simplebar-mouse-entered"},scrollableNode:null,contentNode:null,autoHide:!0},n.getOptions=xs,n.helpers=Os,n})(),We=function(n,t){return We=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,i){e.__proto__=i}||function(e,i){for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(e[r]=i[r])},We(n,t)};function Ts(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");We(n,t);function e(){this.constructor=n}n.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}var He=oe.helpers,Me=He.getOptions,gt=He.addClasses,As=He.canUseDOM,_s=(function(n){Ts(t,n);function t(){for(var e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];var r=n.apply(this,e)||this;return t.instances.set(e[0],r),r}return t.initDOMLoadedElements=function(){document.removeEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.removeEventListener("load",this.initDOMLoadedElements),Array.prototype.forEach.call(document.querySelectorAll("[data-simplebar]"),function(e){e.getAttribute("data-simplebar")!=="init"&&!t.instances.has(e)&&new t(e,Me(e.attributes))})},t.removeObserver=function(){var e;(e=t.globalObserver)===null||e===void 0||e.disconnect()},t.prototype.initDOM=function(){var e=this,i,r,s;if(!Array.prototype.filter.call(this.el.children,function(c){return c.classList.contains(e.classNames.wrapper)}).length){for(this.wrapperEl=document.createElement("div"),this.contentWrapperEl=document.createElement("div"),this.offsetEl=document.createElement("div"),this.maskEl=document.createElement("div"),this.contentEl=document.createElement("div"),this.placeholderEl=document.createElement("div"),this.heightAutoObserverWrapperEl=document.createElement("div"),this.heightAutoObserverEl=document.createElement("div"),gt(this.wrapperEl,this.classNames.wrapper),gt(this.contentWrapperEl,this.classNames.contentWrapper),gt(this.offsetEl,this.classNames.offset),gt(this.maskEl,this.classNames.mask),gt(this.contentEl,this.classNames.contentEl),gt(this.placeholderEl,this.classNames.placeholder),gt(this.heightAutoObserverWrapperEl,this.classNames.heightAutoObserverWrapperEl),gt(this.heightAutoObserverEl,this.classNames.heightAutoObserverEl);this.el.firstChild;)this.contentEl.appendChild(this.el.firstChild);this.contentWrapperEl.appendChild(this.contentEl),this.offsetEl.appendChild(this.contentWrapperEl),this.maskEl.appendChild(this.offsetEl),this.heightAutoObserverWrapperEl.appendChild(this.heightAutoObserverEl),this.wrapperEl.appendChild(this.heightAutoObserverWrapperEl),this.wrapperEl.appendChild(this.maskEl),this.wrapperEl.appendChild(this.placeholderEl),this.el.appendChild(this.wrapperEl),(i=this.contentWrapperEl)===null||i===void 0||i.setAttribute("tabindex",this.options.tabIndex.toString()),(r=this.contentWrapperEl)===null||r===void 0||r.setAttribute("role","region"),(s=this.contentWrapperEl)===null||s===void 0||s.setAttribute("aria-label",this.options.ariaLabel)}if(!this.axis.x.track.el||!this.axis.y.track.el){var o=document.createElement("div"),l=document.createElement("div");gt(o,this.classNames.track),gt(l,this.classNames.scrollbar),o.appendChild(l),this.axis.x.track.el=o.cloneNode(!0),gt(this.axis.x.track.el,this.classNames.horizontal),this.axis.y.track.el=o.cloneNode(!0),gt(this.axis.y.track.el,this.classNames.vertical),this.el.appendChild(this.axis.x.track.el),this.el.appendChild(this.axis.y.track.el)}oe.prototype.initDOM.call(this),this.el.setAttribute("data-simplebar","init")},t.prototype.unMount=function(){oe.prototype.unMount.call(this),t.instances.delete(this.el)},t.initHtmlApi=function(){this.initDOMLoadedElements=this.initDOMLoadedElements.bind(this),typeof MutationObserver<"u"&&(this.globalObserver=new MutationObserver(t.handleMutations),this.globalObserver.observe(document,{childList:!0,subtree:!0})),document.readyState==="complete"||document.readyState!=="loading"&&!document.documentElement.doScroll?window.setTimeout(this.initDOMLoadedElements):(document.addEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.addEventListener("load",this.initDOMLoadedElements))},t.handleMutations=function(e){e.forEach(function(i){i.addedNodes.forEac
23h(function(r){r.nodeType===1&&(r.hasAttribute("data-simplebar")?!t.instances.has(r)&&document.documentElement.contains(r)&&new t(r,Me(r.attributes)):r.querySelectorAll("[data-simplebar]").forEach(function(s){s.getAttribute("data-simplebar")!=="init"&&!t.instances.has(s)&&document.documentElement.contains(s)&&new t(s,Me(s.attributes))}))}),i.removedNodes.forEach(function(r){var s;r.nodeType===1&&(r.getAttribute("data-simplebar")==="init"?!document.documentElement.contains(r)&&((s=t.instances.get(r))===null||s===void 0||s.unMount()):Array.prototype.forEach.call(r.querySelectorAll('[data-simplebar="init"]'),function(o){var l;!document.documentElement.contains(o)&&((l=t.instances.get(o))===null||l===void 0||l.unMount())}))})})},t.instances=new WeakMap,t})(oe);As&&_s.initHtmlApi();let Ue=!1;if(typeof window<"u"){const n={get passive(){Ue=!0}};window.addEventListener("testPassive",null,n),window.removeEventListener("testPassive",null,n)}const de=typeof window<"u"&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||window.navigator.platform==="MacIntel"&&window.navigator.maxTouchPoints>1);let Ct=[],dt=new Map,he=!1,Qi=-1,Ht,Vt,Ot;const Zi=n=>Ct.some(t=>!!(t.options.allowTouchMove&&t.options.allowTouchMove(n))),fe=n=>{const t=n||window.event;return Zi(t.target)||t.touches.length>1?!0:(t.preventDefault&&t.preventDefault(),!1)},Ls=n=>{window.innerWidth-document.documentElement.getBoundingClientRect().width,Ht===void 0&&(Ht=document.body.style.overflow,document.body.style.overflow="hidden")},Ms=()=>{Ht!==void 0&&(document.body.style.overflow=Ht,Ht=void 0)},Cs=()=>window.requestAnimationFrame(()=>{const n=document.documentElement,t=document.body;if(Ot===void 0){Vt={...n.style},Ot={...t.style};const{scrollY:e,scrollX:i,innerHeight:r}=window;n.style.height="100%",n.style.overflow="hidden",t.style.position="fixed",t.style.top=`${-e}px`,t.style.left=`${-i}px`,t.style.width="100%",t.style.height="auto",t.style.overflow="hidden",setTimeout(()=>window.requestAnimationFrame(()=>{const s=r-window.innerHeight;s&&e>=r&&(t.style.top=-(e+s)+"px")}),300)}}),ks=()=>{if(Ot!==void 0){const n=-parseInt(document.body.style.top,10),t=-parseInt(document.body.style.left,10),e=document.documentElement,i=document.body;e.style.height=(Vt==null?void 0:Vt.height)||"",e.style.overflow=(Vt==null?void 0:Vt.overflow)||"",i.style.position=Ot.position||"",i.style.top=Ot.top||"",i.style.left=Ot.left||"",i.style.width=Ot.width||"",i.style.height=Ot.height||"",i.style.overflow=Ot.overflow||"",window.scrollTo(t,n),Ot=void 0}},zs=n=>n?n.scrollHeight-n.scrollTop<=n.clientHeight:!1,Ds=(n,t)=>{const e=n.targetTouches[0].clientY-Qi;return Zi(n.target)?!1:t&&t.scrollTop===0&&e>0||zs(t)&&e<0?fe(n):(n.stopPropagation(),!0)},Is=(n,t)=>{if(!n){console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");return}if(dt.set(n,dt!=null&&dt.get(n)?(dt==null?void 0:dt.get(n))+1:1),Ct.some(i=>i.targetElement===n))return;const e={targetElement:n,options:{}};Ct=[...Ct,e],de?Cs():Ls(),de&&(n.ontouchstart=i=>{i.targetTouches.length===1&&(Qi=i.targetTouches[0].clientY)},n.ontouchmove=i=>{i.targetTouches.length===1&&Ds(i,n)},he||(document.addEventListener("touchmove",fe,Ue?{passive:!1}:void 0),he=!0))},Fs=n=>{if(!n){console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.");return}dt.set(n,dt!=null&&dt.get(n)?(dt==null?void 0:dt.get(n))-1:0),(dt==null?void 0:dt.get(n))===0&&(Ct=Ct.filter(t=>t.targetElement!==n),dt==null||dt.delete(n)),de&&(n.ontouchstart=null,n.ontouchmove=null,he&&Ct.length===0&&(document.removeEventListener("touchmove",fe,Ue?{passive:!1}:void 0),he=!1)),Ct.length===0&&(de?ks():Ms())};var ae={exports:{}},Ns=ae.exports,Si;function Bs(){return Si||(Si=1,(function(n,t){(function(e,i){n.exports=i()})(Ns,function(){return(function(e){function i(s){if(r[s])return r[s].exports;var o=r[s]={exports:{},id:s,loaded:!1};return e[s].call(o.exports,o,o.exports,i),o.loaded=!0,o.exports}var r={};return i.m=e,i.c=r,i.p="dist/",i(0)})([function(e,i,r){function s(z){return z&&z.__esModule?z:{default:z}}var o=Object.assign||function(z){for(var G=1;G<arguments.length;G++){var J=arguments[G];for(var it in J)Object.prototype.hasOwnProperty.call(J,it)&&(z[it]=J[it])}return z},l=r(1),c=(s(l),r(6)),d=s(c),v=r(7),p=s(v),b=r(8),f=s(b),h=r(9),m=s(h),g=r(10),a=s(g),u=r(11),y=s(u),w=r(14),x=s(w),E=[],T=!1,A={offset:120,delay:0,easing:"ease",duration:400,disable:!1,once:!1,startEvent:"DOMContentLoaded",throttleDelay:99,debounceDelay:50,disableMutationObserver:!1},k=function(){var z=arguments.length>0&&arguments[0]!==void 0&&arguments[0];if(z&&(T=!0),T)return E=(0,y.default)(E,A),(0,a.default)(E,A.once),E},q=function(){E=(0,x.default)(),k()}
23,S=function(){E.forEach(function(z,G){z.node.removeAttribute("data-aos"),z.node.removeAttribute("data-aos-easing"),z.node.removeAttribute("data-aos-duration"),z.node.removeAttribute("data-aos-delay")})},O=function(z){return z===!0||z==="mobile"&&m.default.mobile()||z==="phone"&&m.default.phone()||z==="tablet"&&m.default.tablet()||typeof z=="function"&&z()===!0},F=function(z){A=o(A,z),E=(0,x.default)();var G=document.all&&!window.atob;return O(A.disable)||G?S():(A.disableMutationObserver||f.default.isSupported()||(console.info(`
24      aos: MutationObserver is not supported on this browser,
25      code mutations observing has been disabled.
26      You may have to call "refreshHard()" by yourself.
27    `),A.disableMutationObserver=!0),document.querySelector("body").setAttribute("data-aos-easing",A.easing),document.querySelector("body").setAttribute("data-aos-duration",A.duration),document.querySelector("body").setAttribute("data-aos-delay",A.delay),A.startEvent==="DOMContentLoaded"&&["complete","interactive"].indexOf(document.readyState)>-1?k(!0):A.startEvent==="load"?window.addEventListener(A.startEvent,function(){k(!0)}):document.addEventListener(A.startEvent,function(){k(!0)}),window.addEventListener("resize",(0,p.default)(k,A.debounceDelay,!0)),window.addEventListener("orientationchange",(0,p.default)(k,A.debounceDelay,!0)),window.addEventListener("scroll",(0,d.default)(function(){(0,a.default)(E,A.once)},A.throttleDelay)),A.disableMutationObserver||f.default.ready("[data-aos]",q),E)};e.exports={init:F,refresh:k,refreshHard:q}},function(e,i){},,,,,function(e,i){(function(r){function s(O,F,z){function G(D){var V=$,Z=j;return $=j=void 0,tt=D,P=O.apply(Z,V)}function J(D){return tt=D,R=setTimeout(L,F),K?G(D):P}function it(D){var V=D-X,Z=D-tt,at=F-V;return M?q(at,H-Z):at}function C(D){var V=D-X,Z=D-tt;return X===void 0||V>=F||V<0||M&&Z>=H}function L(){var D=S();return C(D)?B(D):void(R=setTimeout(L,it(D)))}function B(D){return R=void 0,I&&$?G(D):($=j=void 0,P)}function U(){R!==void 0&&clearTimeout(R),tt=0,$=X=j=R=void 0}function Y(){return R===void 0?P:B(S())}function N(){var D=S(),V=C(D);if($=arguments,j=this,X=D,V){if(R===void 0)return J(X);if(M)return R=setTimeout(L,F),G(X)}return R===void 0&&(R=setTimeout(L,F)),P}var $,j,H,P,R,X,tt=0,K=!1,M=!1,I=!0;if(typeof O!="function")throw new TypeError(b);return F=v(F)||0,l(z)&&(K=!!z.leading,M="maxWait"in z,H=M?k(v(z.maxWait)||0,F):H,I="trailing"in z?!!z.trailing:I),N.cancel=U,N.flush=Y,N}function o(O,F,z){var G=!0,J=!0;if(typeof O!="function")throw new TypeError(b);return l(z)&&(G="leading"in z?!!z.leading:G,J="trailing"in z?!!z.trailing:J),s(O,F,{leading:G,maxWait:F,trailing:J})}function l(O){var F=typeof O>"u"?"undefined":p(O);return!!O&&(F=="object"||F=="function")}function c(O){return!!O&&(typeof O>"u"?"undefined":p(O))=="object"}function d(O){return(typeof O>"u"?"undefined":p(O))=="symbol"||c(O)&&A.call(O)==h}function v(O){if(typeof O=="number")return O;if(d(O))return f;if(l(O)){var F=typeof O.valueOf=="function"?O.valueOf():O;O=l(F)?F+"":F}if(typeof O!="string")return O===0?O:+O;O=O.replace(m,"");var z=a.test(O);return z||u.test(O)?y(O.slice(2),z?2:8):g.test(O)?f:+O}var p=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(O){return typeof O}:function(O){return O&&typeof Symbol=="function"&&O.constructor===Symbol&&O!==Symbol.prototype?"symbol":typeof O},b="Expected a function",f=NaN,h="[object Symbol]",m=/^\s+|\s+$/g,g=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,u=/^0o[0-7]+$/i,y=parseInt,w=(typeof r>"u"?"undefined":p(r))=="object"&&r&&r.Object===Object&&r,x=(typeof self>"u"?"undefined":p(self))=="object"&&self&&self.Object===Object&&self,E=w||x||Function("return this")(),T=Object.prototype,A=T.toString,k=Math.max,q=Math.min,S=function(){return E.Date.now()};e.exports=o}).call(i,(function(){return this})())},function(e,i){(function(r){function s(S,O,F){function z(I){var D=N,V=$;return N=$=void 0,X=I,H=S.apply(V,D)}function G(I){return X=I,P=setTimeout(C,O),tt?z(I):H}function J(I){var D=I-R,V=I-X,Z=O-D;return K?k(Z,j-V):Z}function it(I){var D=I-R,V=I-X;return R===void 0||D>=O||D<0||K&&V>=j}function C(){var I=q();return it(I)?L(I):void(P=setTimeout(C,J(I)))}function L(I){return P=void 0,M&&N?z(I):(N=$=void 0,H)}function B(){P!==void 0&&clearTimeout(P),X=0,N=R=$=P=void 0}function U(){return P===void 0?H:L(q())}function Y(){var I=q(),D=it(I);if(N=arguments,$=this,R=I,D){if(P===void 0)return G(R);
27if(K)return P=setTimeout(C,O),z(R)}return P===void 0&&(P=setTimeout(C,O)),H}var N,$,j,H,P,R,X=0,tt=!1,K=!1,M=!0;if(typeof S!="function")throw new TypeError(p);return O=d(O)||0,o(F)&&(tt=!!F.leading,K="maxWait"in F,j=K?A(d(F.maxWait)||0,O):j,M="trailing"in F?!!F.trailing:M),Y.cancel=B,Y.flush=U,Y}function o(S){var O=typeof S>"u"?"undefined":v(S);return!!S&&(O=="object"||O=="function")}function l(S){return!!S&&(typeof S>"u"?"undefined":v(S))=="object"}function c(S){return(typeof S>"u"?"undefined":v(S))=="symbol"||l(S)&&T.call(S)==f}function d(S){if(typeof S=="number")return S;if(c(S))return b;if(o(S)){var O=typeof S.valueOf=="function"?S.valueOf():S;S=o(O)?O+"":O}if(typeof S!="string")return S===0?S:+S;S=S.replace(h,"");var F=g.test(S);return F||a.test(S)?u(S.slice(2),F?2:8):m.test(S)?b:+S}var v=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(S){return typeof S}:function(S){return S&&typeof Symbol=="function"&&S.constructor===Symbol&&S!==Symbol.prototype?"symbol":typeof S},p="Expected a function",b=NaN,f="[object Symbol]",h=/^\s+|\s+$/g,m=/^[-+]0x[0-9a-f]+$/i,g=/^0b[01]+$/i,a=/^0o[0-7]+$/i,u=parseInt,y=(typeof r>"u"?"undefined":v(r))=="object"&&r&&r.Object===Object&&r,w=(typeof self>"u"?"undefined":v(self))=="object"&&self&&self.Object===Object&&self,x=y||w||Function("return this")(),E=Object.prototype,T=E.toString,A=Math.max,k=Math.min,q=function(){return x.Date.now()};e.exports=s}).call(i,(function(){return this})())},function(e,i){function r(v){var p=void 0,b=void 0;for(p=0;p<v.length;p+=1)if(b=v[p],b.dataset&&b.dataset.aos||b.children&&r(b.children))return!0;return!1}function s(){return window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver}function o(){return!!s()}function l(v,p){var b=window.document,f=s(),h=new f(c);d=p,h.observe(b.documentElement,{childList:!0,subtree:!0,removedNodes:!0})}function c(v){v&&v.forEach(function(p){var b=Array.prototype.slice.call(p.addedNodes),f=Array.prototype.slice.call(p.removedNodes),h=b.concat(f);if(r(h))return d()})}Object.defineProperty(i,"__esModule",{value:!0});var d=function(){};i.default={isSupported:o,ready:l}},function(e,i){function r(b,f){if(!(b instanceof f))throw new TypeError("Cannot call a class as a function")}function s(){return navigator.userAgent||navigator.vendor||window.opera||""}Object.defineProperty(i,"__esModule",{value:!0});var o=(function(){function b(f,h){for(var m=0;m<h.length;m++){var g=h[m];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(f,g.key,g)}}return function(f,h,m){return h&&b(f.prototype,h),m&&b(f,m),f}})(),l=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i,c=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|
27sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,d=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i,v=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,p=(function(){function b(){r(this,b)}return o(b,[{key:"phone",value:function(){var f=s();return!(!l.test(f)&&!c.test(f.substr(0,4)))}},{key:"mobile",value:function(){var f=s();return!(!d.test(f)&&!v.test(f.substr(0,4)))}},{key:"tablet",value:function(){return this.mobile()&&!this.phone()}}]),b})();i.default=new p},function(e,i){Object.defineProperty(i,"__esModule",{value:!0});var r=function(o,l,c){var d=o.node.getAttribute("data-aos-once");l>o.position?o.node.classList.add("aos-animate"):typeof d<"u"&&(d==="false"||!c&&d!=="true")&&o.node.classList.remove("aos-animate")},s=function(o,l){var c=window.pageYOffset,d=window.innerHeight;o.forEach(function(v,p){r(v,d+c,l)})};i.default=s},function(e,i,r){function s(d){return d&&d.__esModule?d:{default:d}}Object.defineProperty(i,"__esModule",{value:!0});var o=r(12),l=s(o),c=function(d,v){return d.forEach(function(p,b){p.node.classList.add("aos-init"),p.position=(0,l.default)(p.node,v.offset)}),d};i.default=c},function(e,i,r){function s(d){return d&&d.__esModule?d:{default:d}}Object.defineProperty(i,"__esModule",{value:!0});var o=r(13),l=s(o),c=function(d,v){var p=0,b=0,f=window.innerHeight,h={offset:d.getAttribute("data-aos-offset"),anchor:d.getAttribute("data-aos-anchor"),anchorPlacement:d.getAttribute("data-aos-anchor-placement")};switch(h.offset&&!isNaN(h.offset)&&(b=parseInt(h.offset)),h.anchor&&document.querySelectorAll(h.anchor)&&(d=document.querySelectorAll(h.anchor)[0]),p=(0,l.default)(d).top,h.anchorPlacement){case"top-bottom":break;case"center-bottom":p+=d.offsetHeight/2;break;case"bottom-bottom":p+=d.offsetHeight;break;case"top-center":p+=f/2;break;case"bottom-center":p+=f/2+d.offsetHeight;break;case"center-center":p+=f/2+d.offsetHeight/2;break;case"top-top":p+=f;break;case"bottom-top":p+=d.offsetHeight+f;break;case"center-top":p+=d.offsetHeight/2+f}return h.anchorPlacement||h.offset||isNaN(v)||(b=v),p+b};i.default=c},function(e,i){Object.defineProperty(i,"__esModule",{value:!0});var r=function(s){for(var o=0,l=0;s&&!isNaN(s.offsetLeft)&&!isNaN(s.offsetTop);)o+=s.offsetLeft-(s.tagName!="BODY"?s.scrollLeft:0),l+=s.offsetTop-(s.tagName!="BODY"?s.scrollTop:0),s=s.offsetParent;return{top:l,left:o}};i.default=r},function(e,i){Object.defineProperty(i,"__esModule",{value:!0});var r=function(s){return s=s||document.querySelectorAll("[data-aos]"),Array.prototype.map.call(s,function(o){return{node:o}})};i.default=r}])})})(ae)),ae.exports}var Ws=Bs();const Rs=jr(Ws);function Ye(n){return typeof n=="number"}function Re(n){return typeof n=="string"}function me(n){return typeof n=="boolean"}function Oi(n){return Object.prototype.toString.call(n)==="[object Object]"}function et(n){return Math.abs(n)}function Ke(n){return Math.sign(n)}function Ut(n,t){return et(n-t)}function Ps(n,t){if(n===0||t===0||et(n)<=et(t))return 0;const e=Ut(et(n),et(t));return et(e/n)}function js(n){return Math.round(n*100)/100}function Kt(n){return Xt(n).map(Number)}function vt(n){return n[Jt(n)]}function Jt(n){return Math.max(0,n.length-1)}function Xe(n,t){return t===Jt(n)}function xi(n,t=0){return Array.from(Array(n),(e,i)=>t+i)}function Xt(n){return Object.keys(n)}function Ji(n,t){return[n,t].reduce((e,i)=>
vendor: 16,093 bytes, line 27
27(Xt(i).forEach(r=>{const s=e[r],o=i[r],l=Oi(s)&&Oi(o);e[r]=l?Ji(s,o):o}),e),{})}function Pe(n,t){return typeof t.MouseEvent<"u"&&n instanceof t.MouseEvent}function $s(n,t){const e={start:i,center:r,end:s};function i(){return 0}function r(c){return s(c)/2}function s(c){return t-c}function o(c,d){return Re(n)?e[n](c):n(t,c,d)}return{measure:o}}function Gt(){let n=[];function t(r,s,o,l={passive:!0}){let c;if("addEventListener"in r)r.addEventListener(s,o,l),c=()=>r.removeEventListener(s,o,l);else{const d=r;d.addListener(o),c=()=>d.removeListener(o)}return n.push(c),i}function e(){n=n.filter(r=>r())}const i={add:t,clear:e};return i}function Vs(n,t,e,i){const r=Gt(),s=1e3/60;let o=null,l=0,c=0;function d(){r.add(n,"visibilitychange",()=>{n.hidden&&h()})}function v(){f(),r.clear()}function p(g){if(!c)return;o||(o=g,e(),e());const a=g-o;for(o=g,l+=a;l>=s;)e(),l-=s;const u=l/s;i(u),c&&(c=t.requestAnimationFrame(p))}function b(){c||(c=t.requestAnimationFrame(p))}function f(){t.cancelAnimationFrame(c),o=null,l=0,c=0}function h(){o=null,l=0}return{init:d,destroy:v,start:b,stop:f,update:e,render:i}}function qs(n,t){const e=t==="rtl",i=n==="y",r=i?"y":"x",s=i?"x":"y",o=!i&&e?-1:1,l=v(),c=p();function d(h){const{height:m,width:g}=h;return i?m:g}function v(){return i?"top":e?"right":"left"}function p(){return i?"bottom":e?"left":"right"}function b(h){return h*o}return{scroll:r,cross:s,startEdge:l,endEdge:c,measureSize:d,direction:b}}function Dt(n=0,t=0){const e=et(n-t);function i(d){return d<n}function r(d){return d>t}function s(d){return i(d)||r(d)}function o(d){return s(d)?i(d)?n:t:d}function l(d){return e?d-e*Math.ceil((d-t)/e):d}return{length:e,max:t,min:n,constrain:o,reachedAny:s,reachedMax:r,reachedMin:i,removeOffset:l}}function tn(n,t,e){const{constrain:i}=Dt(0,n),r=n+1;let s=o(t);function o(b){return e?et((r+b)%r):i(b)}function l(){return s}function c(b){return s=o(b),p}function d(b){return v().set(l()+b)}function v(){return tn(n,l(),e)}const p={get:l,set:c,add:d,clone:v};return p}function Hs(n,t,e,i,r,s,o,l,c,d,v,p,b,f,h,m,g,a,u){const{cross:y,direction:w}=n,x=["INPUT","SELECT","TEXTAREA"],E={passive:!1},T=Gt(),A=Gt(),k=Dt(50,225).constrain(f.measure(20)),q={mouse:300,touch:400},S={mouse:500,touch:600},O=h?43:25;let F=!1,z=0,G=0,J=!1,it=!1,C=!1,L=!1;function B(M){if(!u)return;function I(V){(me(u)||u(M,V))&&H(V)}const D=t;T.add(D,"dragstart",V=>V.preventDefault(),E).add(D,"touchmove",()=>{},E).add(D,"touchend",()=>{}).add(D,"touchstart",I).add(D,"mousedown",I).add(D,"touchcancel",R).add(D,"contextmenu",R).add(D,"click",X,!0)}function U(){T.clear(),A.clear()}function Y(){const M=L?e:t;A.add(M,"touchmove",P,E).add(M,"touchend",R).add(M,"mousemove",P,E).add(M,"mouseup",R)}function N(M){const I=M.nodeName||"";return x.includes(I)}function $(){return(h?S:q)[L?"mouse":"touch"]}function j(M,I){const D=p.add(Ke(M)*-1),V=v.byDistance(M,!h).distance;return h||et(M)<k?V:g&&I?V*.5:v.byIndex(D.get(),0).distance}function H(M){const I=Pe(M,i);L=I,C=h&&I&&!M.buttons&&F,F=Ut(r.get(),o.get())>=2,!(I&&M.button!==0)&&(N(M.target)||(J=!0,s.pointerDown(M),d.useFriction(0).useDuration(0),r.set(o),Y(),z=s.readPoint(M),G=s.readPoint(M,y),b.emit("pointerDown")))}function P(M){if(!Pe(M,i)&&M.touches.length>=2)return R(M);const D=s.readPoint(M),V=s.readPoint(M,y),Z=Ut(D,z),at=Ut(V,G);if(!it&&!L&&(!M.cancelable||(it=Z>at,!it)))return R(M);const yt=s.pointerMove(M);Z>m&&(C=!0),d.useFriction(.3).useDuration(.75),l.start(),r.add(w(yt)),M.preventDefault()}function R(M){const D=v.byDistance(0,!1).index!==p.get(),V=s.pointerUp(M)*$(),Z=j(w(V),D),at=Ps(V,Z),yt=O-10*at,bt=a+at/50;it=!1,J=!1,A.clear(),d.useDuration(yt).useFriction(bt),c.distance(Z,!h),L=!1,b.emit("pointerUp")}function X(M){C&&(M.stopPropagation(),M.preventDefault(),C=!1)}function tt(){return J}return{init:B,destroy:U,pointerDown:tt}}function Us(n,t){let i,r;function s(p){return p.timeStamp}function o(p,b){const h=`client${(b||n.scroll)==="x"?"X":"Y"}`;return(Pe(p,t)?p:p.touches[0])[h]}function l(p){return i=p,r=p,o(p)}function c(p){const b=o(p)-o(r),f=s(p)-s(i)>170;return r=p,f&&(i=p),b}function d(p){if(!i||!r)return 0;const b=o(r)-o(i),f=s(p)-s(i),h=s(p)-s(r)>170,m=b/f;return f&&!h&&et(m)>.1?m:0}return{pointerDown:l,pointerMove:c,pointerUp:d,readPoint:o}}function Ys(){function n(e){const{offsetTop:i,offsetLeft:r,offsetWidth:s,offsetHeight:o}=e;return{top:i,right:r+s,bottom:i+o,left:r,width:s,height:o}}return{measure:n}}function Ks(n){function t(i){return n*(i/100)}return{measure:t}}function Xs(n,t,e,i,r,s,o){const l=[n].concat(i);let c,d,v=[],p=!1;function b(g){return r.measureSize(o.measure(g))}function f(g){if(!s)return;d=b(n),v=i.map(b);function a(u){for(const y of u){if(p)return;const w=y.target===n,x=i.indexOf(y.target),E=w?d:v[x],T=b(w?n:i[x]);if(et(T-E)>=.5){g.reInit(),t.emit("resize");break}}}c=new ResizeObserver(u=>{(me(s)||s(g,u))&&a(u)}),e.requestAnimationFrame(()=>{l.forEach(u=>c.observe(u))})}function h(){p=!0,c&&c.disconnect()}return{init:f,destroy:h}}function Gs(n,t,e,i,r,s){let o=0,l=0,c=r,d=s,v=n.get(),p=0;function b(){const E=i.get()-n.get(),T=!c;let A=0;return T?(o=0,e.set(i),n.set(i),A=E):(e.set(n),o+=E/c,o*=d,v+=o,n.add(o),A=v-p),l=Ke(A),p=v,x}function f(){const E=i.get()-t.get();return et(E)<.001}function h(){return c}function m(){return l}function g(){return o}function a(){return y(r)}function u(){return w(s)}function y(E){return c=E,x}function w(E){return d=E,x}const x={direction:m,duration:h,velocity:g,seek:b,settled:f,useBaseFriction:u,useBaseDuration:a,useFriction:w,useDuration:y};return x}function Qs(n,t,e,i,r){const s=r.measure(10),o=r.measure(50),l=Dt(.1,.99);let c=!1;function d(){return!(c||!n.reachedAny(e.get())||!n.reachedAny(t.get()))}function v(f){if(!d())return;const h=n.reachedMin(t.get())?"min":"max",m=et(n[h]-t.get()),g=e.get()-t.get(),a=l.constrain(m/o);e.subtract(g*a),!f&&et(g)<s&&(e.set(n.constrain(e.get())),i.useDuration(25).useBaseFriction())}function p(f){c=!f}return{shouldConstrain:d,constrain:v,toggleActive:p}}function Zs(n,t,e,i,r){const s=Dt(-t+n,0),o=p(),l=v(),c=b();function d(h,m){return Ut(h,m)<=1}function v(){const h=o[0],m=vt(o),g=o.lastIndexOf(h),a=o.indexOf(m)+1;return Dt(g,a)}function p(){return e.map((h,m)=>{const{min:g,max:a}=s,u=s.constrain(h),y=!m,w=Xe(e,m);return y?a:w||d(g,u)?g:d(a,u)?a:u}).map(h=>parseFloat(h.toFixed(3)))}function b(){if(t<=n+r)return[s.max];if(i==="keepSnaps")return o;const{min:h,max:m}=l;return o.slice(h,m)}return{snapsContained:c,scrollContainLimit:l}}function Js(n,t,e){const i=t[0],r=e?i-n:vt(t);return{limit:Dt(r,i)}}function to(n,t,e,i){const s=t.min+.1,o=t.max+.1,{reachedMin:l,reachedMax:c}=Dt(s,o);function d(b){return b===1?c(e.get()):b===-1?l(e.get()):!1}function v(b){if(!d(b))return;const f=n*(b*-1);i.forEach(h=>h.add(f))}return{loop:v}}function eo(n){const{max:t,length:e}=n;function i(s){const o=s-t;return e?o/-e:0}return{get:i}}function io(n,t,e,i,r){const{startEdge:s,endEdge:o}=n,{groupSlides:l}=r,c=p().map(t.measure),d=b(),v=f();function p(){return l(i).map(m=>vt(m)[o]-m[0][s]).map(et)}function b(){return i.map(m=>e[s]-m[s]).map(m=>-et(m))}function f(){return l(d).map(m=>m[0]).map((m,g)=>m+c[g])}return{snaps:d,snapsAligned:v}}function no(n,t,e,i,r,s){const{groupSlides:o}=r,{min:l,max:c}=i,d=v();function v(){const b=o(s),f=!n||t==="keepSnaps";return e.length===1?[s]:f?b:b.slice(l,c).map((h,m,g)=>{const a=!m,u=Xe(g,m);if(a){const y=vt(g[0])+1;return xi(y)}if(u){const y=Jt(s)-vt(g)[0]+1;return xi(y,vt(g)[0])}return h})}return{slideRegistry:d}}function ro(n,t,e,i,r){const{reachedAny:s,removeOffset:o,constrain:l}=i;function c(h){return h.concat().sort((m,g)=>et(m)-et(g))[0]}function d(h){const m=n?o(h):l(h),g=t.map((u,y)=>({diff:v(u-m,0),index:y})).sort((u,y)=>et(u.diff)-et(y.diff)),{index:a}=g[0];return{index:a,distance:m}}function v(h,m){const g=[h,h+e,h-e];if(!n)return h;if(!m)return c(g);const a=g.filter(u=>Ke(u)===m);return a.length?c(a):vt(g)-e}function p(h,m){const g=t[h]-r.get(),a=v(g,m);return{index:h,distance:a}}function b(h,m){const g=r.get()+h,{index:a,distance:u}=d(g),y=!n&&s(g);if(!m||y)return{index:a,distance:h};const w=t[a]-u,x=h+v(w,0);return{index:a,distance:x}}return{byDistance:b,byIndex:p,shortcut:v}}function so(n,t,e,i,r,s,o){function l(p){const b=p.distance,f=p.index!==t.get();s.add(b),b&&(i.duration()?n.start():(n.update(),n.render(1),n.update())),f&&(e.set(t.get()),t.set(p.index),o.emit("select"))}function c(p,b){const f=r.byDistance(p,b);l(f)}function d(p,b){const f=t.clone().set(p),h=r.byIndex(f.get(),b);l(h)}return{distance:c,index:d}}function oo(n,t,e,i,r,s,o,l){const c={passive:!0,capture:!0};let d=0;function v(f){if(!l)return;function h(m){if(new Date().getTime()-d>10)return;o.emit("slideFocusStart"),n.scrollLeft=0;const u=e.findIndex(y=>y.includes(m));Ye(u)&&(r.useDuration(0),i.index(u,0),o.emit("slideFocus"))}s.add(document,"keydown",p,!1),t.forEach((m,g)=>{s.add(m,"focus",a=>{(me(l)||l(f,a))&&h(g)},c)})}function p(f){f.code==="Tab"&&(d=new Date().getTime())}return{init:v}}function qt(n){let t=n;function e(){return t}function i(c){t=o(c)}function r(c){t+=o(c)}function s(c){t-=o(c)}function o(c){return Ye(c)?c:c.get()}return{get:e,set:i,add:r,subtract:s}}function en(n,t){const e=n.scroll==="x"?o:l,i=t.style;let r=null,s=!1;function o(b){return`translate3d(${b}px,0px,0px)`}function l(b){return`translate3d(0px,${b}px,0px)`}function c(b){if(s)return;const f=js(n.direction(b));f!==r&&(i.transform=e(f),r=f)}function d(b){s=!b}function v(){s||(i.transform="",t.getAttribute("style")||t.removeAttribute("style"))}return{clear:v,to:c,toggleActive:d}}function ao(n,t,e,i,r,s,o,l,c){const v=Kt(r),p=Kt(r).reverse(),b=a().concat(u());function f(T,A){return T.reduce((k,q)=>k-r[q],A)}function h(T,A){return T.reduce((k,q)=>f(k,A)>0?k.concat([q]):k,[])}function m(T){return s.map((A,k)=>({start:A-i[k]+.5+T,end:A+t-.5+T}))}function g(T,A,k){const q=m(A);return T.map(S=>{const O=k?0:-e,F=k?e:0,z=k?"end":"start",G=q[S][z];return{index:S,loopPoint:G,slideLocation:qt(-1),translate:en(n,c[S]),target:()=>l.get()>G?O:F}})}function a(){const T=o[0],A=h(p,T);return g(A,e,!1)}function u(){const T=t-o[0]-1,A=h(v,T);return g(A,-e,!0)}function y(){return b.every(({index:T})=>{const A=v.filter(k=>k!==T);return f(A,t)<=.1})}function w(){b.forEach(T=>{const{target:A,translate:k,slideLocation:q}=T,S=A();S!==q.get()&&(k.to(S),q.set(S))})}function x(){b.forEach(T=>T.translate.clear())}return{canLoop:y,clear:x,loop:w,loopPoints:b}}function lo(n,t,e){let i,r=!1;function s(c){if(!e)return;function d(v){for(const p of v)if(p.type==="childList"){c.reInit(),t.emit("slidesChanged");break}}i=new MutationObserver(v=>{r||(me(e)||e(c,v))&&d(v)}),i.observe(n,{childList:!0})}function o(){i&&i.disconnect(),r=!0}return{init:s,destroy:o}}function co(n,t,e,i){const r={};let s=null,o=null,l,c=!1;function d(){l=new IntersectionObserver(h=>{c||(h.forEach(m=>{const g=t.indexOf(m.target);r[g]=m}),s=null,o=null,e.emit("slidesInView"))},{root:n.parentElement,threshold:i}),t.forEach(h=>l.observe(h))}function v(){l&&l.disconnect(),c=!0}function p(h){return Xt(r).reduce((m,g)=>{const a=parseInt(g),{isIntersecting:u}=r[a];return(h&&u||!h&&!u)&&m.push(a),m},[])}function b(h=!0){if(h&&s)return s;if(!h&&o)return o;const m=p(h);return h&&(s=m),h||(o=m),m}return{init:d,destroy:v,get:b}}function uo(n,t,e,i,r,s){const{measureSize:o,startEdge:l,endEdge:c}=n,d=e[0]&&r,v=h(),p=m(),b=e.map(o),f=g();function h(){if(!d)return 0;const u=e[0];return et(t[l]-u[l])}function m(){if(!d)return 0;const u=s.getComputedStyle(vt(i));return parseFloat(u.getPropertyValue(`margin-${c}`))}function g(){return e.map((u,y,w)=>{const x=!y,E=Xe(w,y);return x?b[y]+v:E?b[y]+p:w[y+1][l]-u[l]}).map(et)}return{slideSizes:b,slideSizesWithGaps:f,startGap:v,endGap:p}}function ho(n,t,e,i,r,s,o,l,c){const{startEdge:d,endEdge:v,direction:p}=n,b=Ye(e);function f(a,u){return Kt(a).filter(y=>y%u===0).map(y=>a.slice(y,y+u))}function h(a){return a.length?Kt(a).reduce((u,y,w)=>{const x=vt(u)||0,E=x===0,T=y===Jt(a),A=r[d]-s[x][d],k=r[d]-s[y][v],q=!i&&E?p(o):0,S=!i&&T?p(l):0,O=et(k-S-(A+q));return w&&O>t+c&&u.push(y),T&&u.push(a.length),u},[]).map((u,y,w)=>{const x=Math.max(w[y-1]||0);return a.slice(x,u)}):[]}function m(a){return b?f(a,e):h(a)}return{groupSlides:m}}function fo(n,t,e,i,r,s,o){const{align:l,axis:c,direction:d,startIndex:v,loop:p,duration:b,dragFree:f,dragThreshold:h,inViewThreshold:m,slidesToScroll:g,skipSnaps:a,containScroll:u,watchResize:y,watchSlides:w,watchDrag:x,watchFocus:E}=s,T=2,A=Ys(),k=A.measure(t),q=e.map(A.measure),S=qs(c,d),O=S.measureSize(k),F=Ks(O),z=$s(l,O),G=!p&&!!u,J=p||!!u,{slideSizes:it,slideSizesWithGaps:C,startGap:L,endGap:B}=uo(S,k,q,e,J,r),U=ho(S,O,g,p,k,q,L,B,T),{snaps:Y,snapsAligned:N}=io(S,z,k,q,U),$=-vt(Y)+vt(C),{snapsContained:j,scrollContainLimit:H}=Zs(O,$,N,u,T),P=G?j:N,{limit:R}=Js($,P,p),X=tn(Jt(P),v,p),tt=X.clone(),K=Kt(e),M=({dragHandler:xt,scrollBody:At,scrollBounds:_,options:{loop:W}})=>{W||_.constrain(xt.pointerDown()),At.seek()},I=({scrollBody:xt,translate:At,location:_,offsetLocation:W,previousLocation:Q,scrollLooper:nt,slideLooper:st,dragHandler:ot,animation:mt,eventHandler:ft,scrollBounds:wt,options:{loop:pt}},St)=>{const Tt=xt.settled(),lt=!wt.shouldConstrain(),Qe=pt?Tt:Tt&&lt,Ze=Qe&&!ot.pointerDown();Ze&&mt.stop();const ln=_.get()*St+Q.get()*(1-St);W.set(ln),pt&&(nt.loop(xt.direction()),st.loop()),At.to(W.get()),Ze&&ft.emit("settle"),Qe||ft.emit("scroll")},D=Vs(i,r,()=>M(jt),xt=>I(jt,xt)),V=.68,Z=P[X.get()],at=qt(Z),yt=qt(Z),bt=qt(Z),Et=qt(Z),rt=Gs(at,bt,yt,Et,b,V),It=ro(p,P,$,R,Et),Rt=so(D,X,tt,rt,It,Et,o),Pt=eo(R),te=Gt(),ye=co(t,e,o,m),{slideRegistry:ee}=no(G,u,P,H,U,K),kt=oo(n,e,ee,Rt,rt,te,o,E),jt={ownerDocument:i,ownerWindow:r,eventHandler:o,containerRect:k,slideRects:q,animation:D,axis:S,dragHandler:Hs(S,n,i,r,Et,Us(S,r),at,D,Rt,rt,It,X,o,F,f,h,a,V,x),eventStore:te,percentOfView:F,index:X,indexPrevious:tt,limit:R,location:at,offsetLocation:bt,previousLocation:yt,options:s,resizeHandler:Xs(t,o,r,e,S,y,A),scrollBody:rt,scrollBounds:Qs(R,bt,Et,rt,F),scrollLooper:to($,R,bt,[at,bt,yt,Et]),scrollProgress:Pt,scrollSnapList:P.map(Pt.get),scrollSnaps:P,scrollTarget:It,scrollTo:Rt,slideLooper:ao(S,O,$,it,C,Y,P,bt,e),slideFocus:kt,slidesHandler:lo(t,o,w),slidesInView:ye,slideIndexes:K,slideRegistry:ee,slidesToScroll:U,target:Et,translate:en(S,t)};return jt}function po(){let n={},t;function e(d){t=d}function i(d){return n[d]||[]}function r(d){return i(d).forEach(v=>v(t,d)),c}function s(d,v){return n[d]=i(d).concat([v]),c}function o(d,v){return n[d]=i(d).filter(p=>p!==v),c}function l(){n={}}const c={init:e,emit:r,off:o,on:s,clear:l};return c}const go={align:"center",axis:"x",container:null,slides:null,containScroll:"trimSnaps",direction:"ltr",slidesToScroll:1,inViewThreshold:0,breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0,watchFocus:!0};function mo(n){function t(s,o){return Ji(s,o||{})}function e(s){const o=s.breakpoints||{},l=Xt(o).filter(c=>n.matchMedia(c).matches).map(c=>o[c]).reduce((c,d)=>t(c,d),{});return t(s,l)}function i(s){return s.map(o=>Xt(o.breakpoints||{})).reduce((o,l)=>o.concat(l),[]).map(n.matchMedia)}return{mergeOptions:t,optionsAtMedia:e,optionsMediaQueries:i}}function vo(n){let t=[];function e(s,o){return t=o.filter(({options:l})=>n.optionsAtMedia(l).active!==!1),t.forEach(l=>l.init(s,n)),o.reduce((l,c)=>Object.assign(l,{[c.name]:c}),{})}function i(){t=t.filter(s=>s.destroy())}return{init:e,destroy:i}}function Ge(n,t,e){const i=n.ownerDocument,r=i.defaultView,s=mo(r),o=vo(s),l=Gt(),c=po(),{mergeOptions:d,optionsAtMedia:v,optionsMediaQueries:p}=s,{on:b,off:f,emit:h}=c,m=S;let g=!1,a,u=d(go,Ge.globalOptions),y=d(u),w=[],x,E,T;function A(){const{container:K,slides:M}=y;E=(Re(K)?n.querySelector(K):K)||n.children[0];const D=Re(M)?E.querySelectorAll(M):M;T=[].slice.call(D||E.children)}function k(K){const M=fo(n,E,T,i,r,K,c);if(K.loop&&!M.slideLooper.canLoop()){const I=Object.assign({},K,{loop:!1});return k(I)}return M}function q(K,M){g||(u=d(u,K),y=v(u),w=M||w,A(),a=k(y),p([u,...w.map(({options:I})=>
vendor: 9,536 bytes, line 27
27I)]).forEach(I=>l.add(I,"change",S)),y.active&&(a.translate.to(a.location.get()),a.animation.init(),a.slidesInView.init(),a.slideFocus.init(tt),a.eventHandler.init(tt),a.resizeHandler.init(tt),a.slidesHandler.init(tt),a.options.loop&&a.slideLooper.loop(),E.offsetParent&&T.length&&a.dragHandler.init(tt),x=o.init(tt,w)))}function S(K,M){const I=U();O(),q(d({startIndex:I},K),M),c.emit("reInit")}function O(){a.dragHandler.destroy(),a.eventStore.clear(),a.translate.clear(),a.slideLooper.clear(),a.resizeHandler.destroy(),a.slidesHandler.destroy(),a.slidesInView.destroy(),a.animation.destroy(),o.destroy(),l.clear()}function F(){g||(g=!0,l.clear(),O(),c.emit("destroy"),c.clear())}function z(K,M,I){!y.active||g||(a.scrollBody.useBaseFriction().useDuration(M===!0?0:y.duration),a.scrollTo.index(K,I||0))}function G(K){const M=a.index.add(1).get();z(M,K,-1)}function J(K){const M=a.index.add(-1).get();z(M,K,1)}function it(){return a.index.add(1).get()!==U()}function C(){return a.index.add(-1).get()!==U()}function L(){return a.scrollSnapList}function B(){return a.scrollProgress.get(a.offsetLocation.get())}function U(){return a.index.get()}function Y(){return a.indexPrevious.get()}function N(){return a.slidesInView.get()}function $(){return a.slidesInView.get(!1)}function j(){return x}function H(){return a}function P(){return n}function R(){return E}function X(){return T}const tt={canScrollNext:it,canScrollPrev:C,containerNode:R,internalEngine:H,destroy:F,off:f,on:b,emit:h,plugins:j,previousScrollSnap:Y,reInit:m,rootNode:P,scrollNext:G,scrollPrev:J,scrollProgress:B,scrollSnapList:L,scrollTo:z,selectedScrollSnap:U,slideNodes:X,slidesInView:N,slidesNotInView:$};return q(t,e),setTimeout(()=>c.emit("init"),0),tt}Ge.globalOptions=void 0;var nn=(function(){if(typeof Map<"u")return Map;function n(t,e){var i=-1;return t.some(function(r,s){return r[0]===e?(i=s,!0):!1}),i}return(function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(e){var i=n(this.__entries__,e),r=this.__entries__[i];return r&&r[1]},t.prototype.set=function(e,i){var r=n(this.__entries__,e);~r?this.__entries__[r][1]=i:this.__entries__.push([e,i])},t.prototype.delete=function(e){var i=this.__entries__,r=n(i,e);~r&&i.splice(r,1)},t.prototype.has=function(e){return!!~n(this.__entries__,e)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,i){i===void 0&&(i=null);for(var r=0,s=this.__entries__;r<s.length;r++){var o=s[r];e.call(i,o[1],o[0])}},t})()})(),je=typeof window<"u"&&typeof document<"u"&&window.document===document,pe=(function(){return typeof global<"u"&&global.Math===Math?global:typeof self<"u"&&self.Math===Math?self:typeof window<"u"&&window.Math===Math?window:Function("return this")()})(),yo=(function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(pe):function(n){return setTimeout(function(){return n(Date.now())},1e3/60)}})(),bo=2;function Eo(n,t){var e=!1,i=!1,r=0;function s(){e&&(e=!1,n()),i&&l()}function o(){yo(s)}function l(){var c=Date.now();if(e){if(c-r<bo)return;i=!0}else e=!0,i=!1,setTimeout(o,t);r=c}return l}var wo=20,So=["top","right","bottom","left","width","height","size","weight"],Oo=typeof MutationObserver<"u",xo=(function(){function n(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=Eo(this.refresh.bind(this),wo)}return n.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},n.prototype.removeObserver=function(t){var e=this.observers_,i=e.indexOf(t);~i&&e.splice(i,1),!e.length&&this.connected_&&this.disconnect_()},n.prototype.refresh=function(){var t=this.updateObservers_();t&&this.refresh()},n.prototype.updateObservers_=function(){var t=this.observers_.filter(function(e){return e.gatherActive(),e.hasActive()});return t.forEach(function(e){return e.broadcastActive()}),t.length>0},n.prototype.connect_=function(){!je||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),Oo?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},n.prototype.disconnect_=function(){!je||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},n.prototype.onTransitionEnd_=function(t){var e=t.propertyName,i=e===void 0?"":e,r=So.some(function(s){return!!~i.indexOf(s)});r&&this.refresh()},n.getInstance=function(){return this.instance_||(this.instance_=new n),this.instance_},n.instance_=null,n})(),rn=(function(n,t){for(var e=0,i=Object.keys(t);e<i.length;e++){var r=i[e];Object.defineProperty(n,r,{value:t[r],enumerable:!1,writable:!1,configurable:!0})}return n}),Wt=(function(n){var t=n&&n.ownerDocument&&n.ownerDocument.defaultView;return t||pe}),sn=ve(0,0,0,0);function ge(n){return parseFloat(n)||0}function Ti(n){for(var t=[],e=1;e<arguments.length;e++)t[e-1]=arguments[e];return t.reduce(function(i,r){var s=n["border-"+r+"-width"];return i+ge(s)},0)}function To(n){for(var t=["top","right","bottom","left"],e={},i=0,r=t;i<r.length;i++){var s=r[i],o=n["padding-"+s];e[s]=ge(o)}return e}function Ao(n){var t=n.getBBox();return ve(0,0,t.width,t.height)}function _o(n){var t=n.clientWidth,e=n.clientHeight;if(!t&&!e)return sn;var i=Wt(n).getComputedStyle(n),r=To(i),s=r.left+r.right,o=r.top+r.bottom,l=ge(i.width),c=ge(i.height);if(i.boxSizing==="border-box"&&(Math.round(l+s)!==t&&(l-=Ti(i,"left","right")+s),Math.round(c+o)!==e&&(c-=Ti(i,"top","bottom")+o)),!Mo(n)){var d=Math.round(l+s)-t,v=Math.round(c+o)-e;Math.abs(d)!==1&&(l-=d),Math.abs(v)!==1&&(c-=v)}return ve(r.left,r.top,l,c)}var Lo=(function(){return typeof SVGGraphicsElement<"u"?function(n){return n instanceof Wt(n).SVGGraphicsElement}:function(n){return n instanceof Wt(n).SVGElement&&typeof n.getBBox=="function"}})();function Mo(n){return n===Wt(n).document.documentElement}function Co(n){return je?Lo(n)?Ao(n):_o(n):sn}function ko(n){var t=n.x,e=n.y,i=n.width,r=n.height,s=typeof DOMRectReadOnly<"u"?DOMRectReadOnly:Object,o=Object.create(s.prototype);return rn(o,{x:t,y:e,width:i,height:r,top:e,right:t+i,bottom:r+e,left:t}),o}function ve(n,t,e,i){return{x:n,y:t,width:e,height:i}}var zo=(function(){function n(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=ve(0,0,0,0),this.target=t}return n.prototype.isActive=function(){var t=Co(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},n.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},n})(),Do=(function(){function n(t,e){var i=ko(e);rn(this,{target:t,contentRect:i})}return n})(),Io=(function(){function n(t,e,i){if(this.activeObservations_=[],this.observations_=new nn,typeof t!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=e,this.callbackCtx_=i}return n.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(t instanceof Wt(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)||(e.set(t,new zo(t)),this.controller_.addObserver(this),this.controller_.refresh())}},n.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(t instanceof Wt(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)&&(e.delete(t),e.size||this.controller_.removeObserver(this))}},n.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},n.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach(function(e){e.isActive()&&t.activeObservations_.push(e)})},n.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,e=this.activeObservations_.map(function(i){return new Do(i.target,i.broadcastRect())});this.callback_.call(t,e,t),this.clearActive()}},n.prototype.clearActive=function(){this.activeObservations_.splice(0)},n.prototype.hasActive=function(){return this.activeObservations_.length>0},n})(),on=typeof WeakMap<"u"?new WeakMap:new nn,an=(function(){function n(t){if(!(this instanceof n))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var e=xo.getInstance(),i=new Io(t,e,this);on.set(this,i)}return n})();["observe","unobserve","disconnect"].forEach(function(n){an.prototype[n]=function(){var t;return(t=on.get(this))[n].apply(t,arguments)}});var Fo=(function(){return typeof pe.ResizeObserver<"u"?pe.ResizeObserver:an}
27)();window.ResizeObserver=Fo;document.addEventListener("DOMContentLoaded",function(){const n=document.body,t=document.querySelector("body");document.querySelector("#page"),document.querySelectorAll("section[id]"),setTimeout(()=>{document.querySelector("html").classList.add("scroll-smooth")},1e3),window.addEventListener("resize",function(){e()}),e();function e(){window.innerWidth>1128&&t.classList.contains("show-mobile-navigation")&&t.classList.remove("show-mobile-navigation")}window.addEventListener("resize",function(){e()}),e();let i=0;window.addEventListener("scroll",()=>{const h=window.scrollY||window.pageYOffset;if(h<=0){n.classList.remove("scrolled","scrolled-down","scrolled-up"),i=0;return}h>0&&!n.classList.contains("scrolled")&&n.classList.add("scrolled"),h>0&&!n.classList.contains("scrolled-down")&&n.classList.add("scrolled-down"),h<i?(n.classList.add("scrolled-up"),n.classList.remove("scrolled-down")):h>i&&(n.classList.remove("scrolled-up"),n.classList.add("scrolled-down")),i=h}),document.querySelectorAll(".add-transition-all").forEach(h=>{setTimeout(()=>{h.classList.remove("add-transition-all"),h.classList.add("transition-all")},100)}),document.querySelectorAll(".add-transition-clip-path").forEach(h=>{setTimeout(()=>{h.classList.remove("add-transition-clip-path"),h.classList.add("transition-clip-path")},100)}),Rs.init(),document.querySelectorAll(".lazy-start").forEach(function(h){h.classList.add("lazyload")}),document.querySelector(".main-overlay-softener").classList.remove("hidden");const s=(h,m=document)=>Array.from(m.querySelectorAll(h)),o=h=>window.CSS&&CSS.escape?CSS.escape(h):String(h).replace(/"/g,'\\"');function l(h){const m=o(h),g=document.querySelector(`.subnavigation-container[data-id="${m}"]`);s(".subnavigation-container").forEach(u=>{u===g?u.classList.remove("hidden"):u.classList.add("hidden")}),n.classList.add("show-desktop-navigation")}function c(){n.classList.remove("show-desktop-navigation"),s(".subnavigation-container").forEach(g=>g.classList.add("hidden"));const h=document.querySelector(".main-navigation-entry.previous-active-link"),m=document.querySelector(".main-navigation-entry.typo-body-l-link");h&&(m.classList.remove("typo-body-l-link"),m.classList.add("typo-body-l"),h.classList.add("typo-body-l-link"),h.classList.remove("previous-active-link"))}document.addEventListener("click",h=>{const m=h.target.closest(".main-navigation-entry"),g=document.querySelector(".main-navigation-entry.typo-body-l-link");if(g&&document.querySelectorAll(".main-navigation-entry.previous-active-link").length===0&&(g.classList.remove("typo-body-l-link"),g.classList.add("typo-body-l"),g.classList.add("previous-active-link")),m){const a=m.getAttribute("data-id");if(a){m.tagName==="A"&&h.preventDefault();const u=document.querySelector(".main-navigation-entry.typo-body-l-link");u&&(u.classList.remove("typo-body-l-link"),u.classList.add("typo-body-l")),m.classList.add("typo-body-l-link"),l(a)}return}h.target.closest(".subnavigation-holder")||c()}),document.querySelectorAll(".toggle-mobile-navigation").forEach(h=>{h.addEventListener("click",()=>{document.body.classList.toggle("mobile-navigation-visible"),document.body.classList.contains("mobile-navigation-visible")?No():Ai()})});function d(){document.body.classList.contains("mobile-navigation-visible")&&(document.body.classList.remove("mobile-navigation-visible"),Ai())}document.querySelectorAll(".toggle-langselect").forEach(h=>{h.addEventListener("click",m=>{m.target.parentNode.classList.toggle("active")})}),document.addEventListener("click",h=>{h.target.classList.contains("toggle-langselect")||v()});function v(){document.querySelectorAll(".toggle-langselect").forEach(h=>{h.parentNode.classList.remove("active")})}window.addEventListener("scroll",v,{passive:!0}),window.addEventListener("scroll",c,{passive:!0}),window.addEventListener("resize",c,{passive:!0}),window.addEventListener("resize",d,{passive:!0}),document.addEventListener("keydown",h=>{h.key==="Escape"&&c()}),document.addEventListener("click",h=>{const m=h.target.closest(".toggle-search-active"),g=h.target.closest(".group.search-element");
27if(g&&(g.classList.contains("search-active")||h.preventDefault()),m&&g){g.classList.add("search-active"),g.querySelector("input").focus();return}g||document.querySelectorAll(".group.search-element.search-active").forEach(a=>{a.classList.remove("search-active")})});const p={loop:!1,align:(h,m,g)=>{const a=document.querySelector(".position-x");return a?a.getBoundingClientRect().x:0}},b=document.querySelectorAll(".embla");Array.from(b).map(h=>Ge(h,p)).forEach(h=>{var E,T,A;const m=h.containerNode().closest("section");if(!m)return;const g=m.querySelector(".position-x");function a(){const k=g.getBoundingClientRect();h.containerNode().querySelectorAll(".embla__slide")[0].style.marginLeft=k.x+"px",h.reInit()}window.addEventListener("resize",a),a();const u=(E=h.rootNode().closest("section"))==null?void 0:E.querySelector(".embla_function_prev");u&&u.addEventListener("click",()=>h.scrollPrev());const y=(T=h.rootNode().closest("section"))==null?void 0:T.querySelector(".embla_function_next");y&&y.addEventListener("click",()=>h.scrollNext()),h.rootNode().closest("section");const w=(A=h.rootNode().closest("section"))==null?void 0:A.querySelector(".embla_functions__scroller"),x=100-100/3;h.on("scroll",()=>{y.disabled=!h.canScrollNext(),u.disabled=!h.canScrollPrev();var k=h.scrollProgress()*x;k<0&&(k=0),k>x&&(k=x),w.style.left=k+"%"})})});function No(){const n=document.querySelector("#mobile-navigation");Is(n)}function Ai(){const n=document.querySelector("#mobile-navigation");Fs(n)}

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.