website-utilities 1.0.385 → 1.0.386-2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.d.ts CHANGED
@@ -33,8 +33,6 @@ export declare const log: Logger;
33
33
  * @property _defaultOptions.windowLoadedTimeoutAfterDocLoadedInMSec - Duration
34
34
  * after loading cover should be removed.
35
35
  * @property options - Finally configured given options.
36
- * @property currentMediaQueryMode - Saves current media query status depending
37
- * on available space in current browser window.
38
36
  * @property currentSectionName - Saves current section hash name.
39
37
  * @property startUpAnimationIsComplete - Indicates whether start up animations
40
38
  * has finished.
@@ -72,17 +70,6 @@ export declare class WebsiteUtilities<TElement = HTMLElement, ExternalProperties
72
70
  static _name: string;
73
71
  static _defaultOptions: DefaultOptions;
74
72
  readonly self: typeof WebsiteUtilities;
75
- currentMediaQueryMode: string;
76
- currentSectionName: string;
77
- startUpAnimationIsComplete: boolean;
78
- continueAutoScrolling: boolean;
79
- viewportIsOnTop: boolean | undefined;
80
- windowLoaded: boolean;
81
- scrollToTopButtonDomNodes: NodeListOf<HTMLElement> | null;
82
- sectionDomNode: HTMLElement | null;
83
- sectionDomNodes: Mapping<HTMLElement>;
84
- topDomNode: HTMLElement | null;
85
- windowLoadingCoverDomNode: HTMLElement | null;
86
73
  options: Options;
87
74
  onChangeMediaQueryMode: (this: WebsiteUtilities, oldMediaQueryMode: string, newMediaQueryMode: string, event?: Event) => void;
88
75
  onChangeToExtraSmallMode: (this: WebsiteUtilities, oldMediaQueryMode: string, event?: Event) => void;
@@ -99,6 +86,16 @@ export declare class WebsiteUtilities<TElement = HTMLElement, ExternalProperties
99
86
  onSectionSwitch: (this: WebsiteUtilities, sectionName: string, _oldSectionName: string, _event?: Event) => Promise<void>;
100
87
  onLinkClick: (this: WebsiteUtilities, event: Event) => void;
101
88
  onTrack: (this: WebsiteUtilities, item: TrackingItem) => Promise<void>;
89
+ currentSectionName: string;
90
+ startUpAnimationIsComplete: boolean;
91
+ continueAutoScrolling: boolean;
92
+ viewportIsOnTop: boolean | undefined;
93
+ windowLoaded: boolean;
94
+ scrollToTopButtonDomNodes: NodeListOf<HTMLElement> | null;
95
+ sectionDomNode: HTMLElement | null;
96
+ sectionDomNodes: Mapping<HTMLElement>;
97
+ topDomNode: HTMLElement | null;
98
+ windowLoadingCoverDomNode: HTMLElement | null;
102
99
  /**
103
100
  * Defines dynamic getter and setter interface and resolves configuration
104
101
  * object. Initializes the map implementation.
package/index.js CHANGED
@@ -1 +1 @@
1
- "use strict";if("undefined"!=typeof module&&null!==module&&"undefined"!==eval("typeof require")&&null!==eval("require")&&"main"in eval("require")&&"undefined"!==eval("typeof require.main")&&null!==eval("require.main")){var ORIGINAL_MAIN_MODULE=module;module!==eval("require.main")&&"paths"in module&&"paths"in eval("require.main")&&"undefined"!=typeof __dirname&&null!==__dirname&&(module.paths=eval("require.main.paths").concat(module.paths.filter((function(path){return eval("require.main.paths").includes(path)}))))}if(null==window)var window="undefined"==typeof global||null===global?{}:global;!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@babel/runtime/helpers/applyDecoratedDescriptor"),require("@babel/runtime/helpers/asyncToGenerator"),require("@babel/runtime/helpers/extends"),require("@babel/runtime/helpers/inheritsLoose"),require("@babel/runtime/helpers/initializerDefineProperty"),require("@babel/runtime/helpers/initializerWarningHelper"),require("@babel/runtime/regenerator"),require("clientnode"),require("clientnode/property-types"));else if("function"==typeof define&&define.amd)define(["@babel/runtime/helpers/applyDecoratedDescriptor","@babel/runtime/helpers/asyncToGenerator","@babel/runtime/helpers/extends","@babel/runtime/helpers/inheritsLoose","@babel/runtime/helpers/initializerDefineProperty","@babel/runtime/helpers/initializerWarningHelper","@babel/runtime/regenerator","clientnode","clientnode/property-types"],t);else{var r="object"==typeof exports?t(require("@babel/runtime/helpers/applyDecoratedDescriptor"),require("@babel/runtime/helpers/asyncToGenerator"),require("@babel/runtime/helpers/extends"),require("@babel/runtime/helpers/inheritsLoose"),require("@babel/runtime/helpers/initializerDefineProperty"),require("@babel/runtime/helpers/initializerWarningHelper"),require("@babel/runtime/regenerator"),require("clientnode"),require("clientnode/property-types")):t(e["@babel/runtime/helpers/applyDecoratedDescriptor"],e["@babel/runtime/helpers/asyncToGenerator"],e["@babel/runtime/helpers/extends"],e["@babel/runtime/helpers/inheritsLoose"],e["@babel/runtime/helpers/initializerDefineProperty"],e["@babel/runtime/helpers/initializerWarningHelper"],e["@babel/runtime/regenerator"],e.clientnode,e["clientnode/property-types"]);for(var o in r)("object"==typeof exports?exports:e)[o]=r[o]}}(this,((__WEBPACK_EXTERNAL_MODULE__5__,__WEBPACK_EXTERNAL_MODULE__11__,__WEBPACK_EXTERNAL_MODULE__7__,__WEBPACK_EXTERNAL_MODULE__12__,__WEBPACK_EXTERNAL_MODULE__4__,__WEBPACK_EXTERNAL_MODULE__6__,__WEBPACK_EXTERNAL_MODULE__13__,__WEBPACK_EXTERNAL_MODULE__0__,__WEBPACK_EXTERNAL_MODULE__1__)=>(()=>{var __webpack_modules__=[e=>{e.exports=__WEBPACK_EXTERNAL_MODULE__0__},e=>{e.exports=__WEBPACK_EXTERNAL_MODULE__1__},function(module,__unused_webpack_exports,__webpack_require__){var __webpack_dirname__="/",e,t,r;if(module=__webpack_require__.nmd(module),null!==module&&"undefined"!==eval("typeof require")&&null!==eval("require")&&"main"in eval("require")&&"undefined"!==eval("typeof require.main")&&null!==eval("require.main")){var ORIGINAL_MAIN_MODULE=module;module!==eval("require.main")&&"paths"in module&&"paths"in eval("require.main")&&null!=__webpack_dirname__&&(module.paths=eval("require.main.paths").concat(module.paths.filter((function(path){return eval("require.main.paths").includes(path)}))))}if(null==window)var window=void 0===__webpack_require__.g||null===__webpack_require__.g?{}:__webpack_require__.g;module.exports=(e=__webpack_require__(7),t=__webpack_require__(0),r=__webpack_require__(1),function(){var o=[function(t){t.exports=e},function(e){e.exports=t},function(e){e.exports=r}],i={};function n(e){var t=i[e];if(void 0!==t)return t.exports;var r=i[e]={exports:{}};return o[e](r,r.exports,n),r.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var s={};n.r(s),n.d(s,{property:function(){return c}});var a=n(0),l=n.n(a),p=n(1),u=n(2);function c(e){return void 0===e&&(e={}),e=l()({readAttribute:!0,type:u.string},e),function(t,r){if("string"==typeof r){var o,i=t.self||t.constructor;if(e.readAttribute){Object.prototype.hasOwnProperty.call(i,"observedAttributes")||(i.observedAttributes=i.observedAttributes?[].concat(i.observedAttributes):[]);var n=(0,p.camelCaseToDelimited)(r);i.observedAttributes&&!i.observedAttributes.includes(n)&&i.observedAttributes.push(n)}e.type&&(Object.prototype.hasOwnProperty.call(i,"propertyTypes")||(i.propertyTypes=i.propertyTypes?l()({},i.propertyTypes):{}),!i.propertyTypes||!e.update&&Object.prototype.hasOwnProperty.call(i,r)||(i.propertyTypes[r]=e.type)),e.writeAttribute&&(Object.prototype.hasOwnProperty.call(i,"propertiesToReflectAsAttributes")||(i.propertiesToReflectAsAttributes=i.propertiesToReflectAsAttributes?(0,p.copy)(i.propertiesToReflectAsAttributes):[]),(e.update||i.propertiesToReflectAsAttributes instanceof Map&&!i.propertiesToReflectAsAttributes.has(r)||Array.isArray(i.propertiesToReflectAsAttributes)&&!i.propertiesToReflectAsAttributes.includes(r)||"object"==typeof i.propertiesToReflectAsAttributes&&!Object.prototype.hasOwnProperty.call(i.propertiesToReflectAsAttributes,r))&&("boolean"==typeof e.writeAttribute?e.writeAttribute&&i.propertyTypes&&Object.prototype.hasOwnProperty.call(i.propertyTypes,r)&&(o=i.propertyTypes[r]):o=e.writeAttribute,void 0!==o&&(Array.isArray(i.propertiesToReflectAsAttributes)&&(!0===e.writeAttribute?i.propertiesToReflectAsAttributes.push(r):i.normalizePropertyTypeList&&(i.propertiesToReflectAsAttributes=i.normalizePropertyTypeList(i.propertiesToReflectAsAttributes))),i.propertiesToReflectAsAttributes instanceof Map&&i.propertiesToReflectAsAttributes.set(r,o),"object"==typeof i.propertiesToReflectAsAttributes&&(i.propertiesToReflectAsAttributes[r]=o)))),e.alias&&(Object.prototype.hasOwnProperty.call(i,"propertyAliases")||(i.propertyAliases=i.propertyAliases?l()({},i.propertyAliases):{}),!i.propertyAliases||!e.update&&Object.prototype.hasOwnProperty.call(i,r)||(i.propertyAliases[r]=e.alias))}}}return s.default=c,s}())},function(module,__unused_webpack_exports,__webpack_require__){var __webpack_dirname__="/",e,t,r,n,i,s,o,a,l;if(module=__webpack_require__.nmd(module),null!==module&&"undefined"!==eval("typeof require")&&null!==eval("require")&&"main"in eval("require")&&"undefined"!==eval("typeof require.main")&&null!==eval("require.main")){var ORIGINAL_MAIN_MODULE=module;module!==eval("require.main")&&"paths"in module&&"paths"in eval("require.main")&&null!=__webpack_dirname__&&(module.paths=eval("require.main.paths").concat(module.paths.filter((function(path){return eval("require.main.paths").includes(path)}))))}if(null==window)var window=void 0===__webpack_require__.g||null===__webpack_require__.g?{}:__webpack_require__.g;module.exports=(e=__webpack_require__(11),t=__webpack_require__(4),r=__webpack_require__(7),n=__webpack_require__(12),i=__webpack_require__(5),s=__webpack_require__(6),o=__webpack_require__(13),a=__webpack_require__(0),l=__webpack_require__(1),function(){var p=[function(e){e.exports=r},function(e){e.exports=a},function(e){e.exports=l},function(e){e.exports=n},function(e,t,r){var o=r(0),i=r.n(o),n=r(1),s=r(2);t.default=function(e){return void 0===e&&(e={}),e=i()({readAttribute:!0,type:s.string},e),function(t,r){if("string"==typeof r){var o,s=t.self||t.constructor;if(e.readAttribute){Object.prototype.hasOwnProperty.call(s,"observedAttributes")||(s.observedAttributes=s.observedAttributes?[].concat(s.observedAttributes):[]);var a=(0,n.camelCaseToDelimited)(r);s.observedAttributes&&!s.observedAttributes.includes(a)&&s.observedAttributes.push(a)}e.type&&(Object.prototype.hasOwnProperty.call(s,"propertyTypes")||(s.propertyTypes=s.propertyTypes?i()({},s.propertyTypes):{}),!s.propertyTypes||!e.update&&Object.prototype.hasOwnProperty.call(s,r)||(s.propertyTypes[r]=e.type)),e.writeAttribute&&(Object.prototype.hasOwnProperty.call(s,"propertiesToReflectAsAttributes")||(s.propertiesToReflectAsAttributes=s.propertiesToReflectAsAttributes?(0,n.copy)(s.propertiesToReflectAsAttributes):[]),(e.update||s.propertiesToReflectAsAttributes instanceof Map&&!s.propertiesToReflectAsAttributes.has(r)||Array.isArray(s.propertiesToReflectAsAttributes)&&!s.propertiesToReflectAsAttributes.includes(r)||"object"==typeof s.propertiesToReflectAsAttributes&&!Object.prototype.hasOwnProperty.call(s.propertiesToReflectAsAttributes,r))&&("boolean"==typeof e.writeAttribute?e.writeAttribute&&s.propertyTypes&&Object.prototype.hasOwnProperty.call(s.propertyTypes,r)&&(o=s.propertyTypes[r]):o=e.writeAttribute,void 0!==o&&(Array.isArray(s.propertiesToReflectAsAttributes)&&(!0===e.writeAttribute?s.propertiesToReflectAsAttributes.push(r):s.normalizePropertyTypeList&&(s.propertiesToReflectAsAttributes=s.normalizePropertyTypeList(s.propertiesToReflectAsAttributes))),s.propertiesToReflectAsAttributes instanceof Map&&s.propertiesToReflectAsAttributes.set(r,o),"object"==typeof s.propertiesToReflectAsAttributes&&(s.propertiesToReflectAsAttributes[r]=o)))),e.alias&&(Object.prototype.hasOwnProperty.call(s,"propertyAliases")||(s.propertyAliases=s.propertyAliases?i()({},s.propertyAliases):{}),!s.propertyAliases||!e.update&&Object.prototype.hasOwnProperty.call(s,r)||(s.propertyAliases[r]=e.alias))}}}},function(t){t.exports=e},function(e){e.exports=o},,function(e){e.exports=t},function(e){e.exports=i},function(e){e.exports=s}],u={};function c(e){var t=u[e];if(void 0!==t)return t.exports;var r=u[e]={exports:{}};return p[e](r,r.exports,c),r.exports}c.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return c.d(t,{a:t}),t},c.d=function(e,t){for(var r in t)c.o(t,r)&&!c.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},c.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},c.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var d={};c.r(d),c.d(d,{GenericHTMLElement:function(){return q},Web:function(){return D},api:function(){return I},log:function(){return M}});var h,f,b,_,y=c(5),m=c.n(y),v=c(8),g=c.n(v),w=c(0),A=c.n(w),T=c(3),P=c.n(T),E=c(9),O=c.n(E),S=(c(10),c(6)),C=c.n(S),N=c(1),x=c(2),k=c(4);function L(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return R(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?R(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var o=0;return function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function R(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,o=Array(t);r<t;r++)o[r]=e[r];return o}var M=new N.Logger({name:"web-component-wrapper-web"}),q="undefined"==typeof HTMLElement?function(){}:HTMLElement,D=(h=(0,k.default)({type:x.boolean,writeAttribute:!0}),_=function(e){function t(){var r;return(r=e.call(this)||this).batchAttributeUpdates=!0,r.batchPropertyUpdates=!0,r.batchUpdates=!0,r.batchedAttributeUpdateRunning=!0,r.batchedPropertyUpdateRunning=!0,r.batchedUpdateRunning=!0,r.parent=null,r.rootInstance=null,r.scope=A()({},N.UTILITY_SCOPE),r.domNodeEventBindings=new Map,r.domNodeTemplateCache=new Map,r.externalProperties={},r.ignoreAttributeUpdateObservations=!1,r.internalProperties={},r.outputEventNames=new Set,r.instance=null,g()(r,"isRoot",b,r),r.root=void 0,r.runDomConnectionAndRenderingInSameEventQueue=!1,r.self=t,r.slots={},r.self=r.constructor,r.self._propertiesToReflectAsAttributes||(r.self._propertiesToReflectAsAttributes=r.self.normalizePropertyTypeList(r.self.propertiesToReflectAsAttributes)),r.generateAliasIndex(),r.root=r,r.defineGetterAndSetterInterface(),r}P()(t,e);var r=t.prototype;return r.attributeChangedCallback=function(e,t,r){this.ignoreAttributeUpdateObservations||t===r||this.onUpdateAttribute(e,r)},r.onUpdateAttribute=function(e,t){var r=this;this.evaluateStringOrNullAndSetAsProperty(e,t),this.batchAttributeUpdates?this.batchedAttributeUpdateRunning||this.batchedUpdateRunning||(this.batchedAttributeUpdateRunning=!0,this.batchedUpdateRunning=!0,(0,N.timeout)((function(){r.batchedAttributeUpdateRunning=!1,r.batchedUpdateRunning=!1,r.render("attributeChanged")}))):this.render("attributeChanged")},r.connectedCallback=function(){var e=this;try{this.isConnected=!0}catch(e){}this.parent=this,this.rootInstance=this,this.attachEventHandler(),this.self.determineRootBinding&&this.determineRootBinding(),this.self.applyRootBinding&&this.isRoot&&(this.determineRenderScope(),this.applyBinding(this,this.scope)),this.batchedAttributeUpdateRunning=!1,this.batchedPropertyUpdateRunning=!1,this.batchedUpdateRunning=!1,this.grabGivenSlots(),this.reflectExternalProperties(this.externalProperties),this.runDomConnectionAndRenderingInSameEventQueue?this.render("connected"):(0,N.timeout)((function(){e.render("connected")}))},r.disconnectedCallback=function(){try{this.isConnected=!1}catch(e){}for(var e,t=L(this.domNodeEventBindings.values());!(e=t()).done;)for(var r,o=L(e.value.values());!(r=o()).done;)(0,r.value)();this.slots={}},r.defineGetterAndSetterInterface=function(){for(var e,t=this,r=function(){var r=e.value;Object.prototype.hasOwnProperty.call(t,r)&&t.setPropertyValue(r,t[r]),Object.defineProperty(t,r,{configurable:!0,get:function(){return t.getPropertyValue(r)},set:function(e){t.setPropertyValue(r,e),t.triggerPropertySpecificRendering(r,e)}})},o=L((0,N.unique)(Object.keys(this.self.propertyTypes).concat(this.self._propertyAliasIndex?Object.keys(this.self._propertyAliasIndex):[])));!(e=o()).done;)r()},r.getPropertyAlias=function(e){return this.self._propertyAliasIndex&&Object.prototype.hasOwnProperty.call(this.self._propertyAliasIndex,e)?this.self._propertyAliasIndex[e]:null},r.getPropertyValue=function(e){var r,o,i=null!=(r=this.instance)&&null!=(r=r.current)&&r.properties&&(Object.prototype.hasOwnProperty.call(!t.propertyTypes,e)||Object.prototype.hasOwnProperty.call(this.instance.current.properties,e))?this.instance.current.properties[e]:this.externalProperties[e];return null!=(o=this.instance)&&null!=(o=o.current)&&o.state&&Object.prototype.hasOwnProperty.call(this.instance.current.state,e)?this.instance.current.state[e]:i},r.setExternalPropertyValue=function(e,t){this.externalProperties[e]=t;var r=this.getPropertyAlias(e);r&&(this.externalProperties[r]=t)},r.setInternalPropertyValue=function(e,t){this.internalProperties[e]=t;var r=this.getPropertyAlias(e);r&&(this.internalProperties[r]=t)},r.setPropertyValue=function(e,t){var r;this.reflectProperties(((r={})[e]=t,r)),this.setInternalPropertyValue(e,t)},r.triggerPropertySpecificRendering=function(e,t){var r=this;if(this.batchPropertyUpdates)this.batchedPropertyUpdateRunning||this.batchedUpdateRunning||(this.batchedPropertyUpdateRunning=!0,this.batchedUpdateRunning=!0,(0,N.timeout)((function(){void 0!==t&&r.isStateProperty(e)?(r.render("preStatePropertyChanged"),(0,N.timeout)((function(){r.setInternalPropertyValue(e,void 0),r.batchedPropertyUpdateRunning=!1,r.batchedUpdateRunning=!1,r.render("postStatePropertyChanged"),r.triggerOutputEvents()}))):(r.batchedPropertyUpdateRunning=!1,r.batchedUpdateRunning=!1,r.render("propertyChanged"),r.triggerOutputEvents())})));else{var o=this.isStateProperty(e);this.render(o?"preStatePropertyChanged":"propertyChanged"),void 0!==t&&o&&(this.setInternalPropertyValue(e,void 0),this.render("postStatePropertyChanged")),this.triggerOutputEvents()}},r.applyBinding=function(e,t){var r=this;if(e.getAttributeNames)for(var o,i=function(){var i=o.value,n="";if(i.startsWith("data-bind-")?n=i.substring(10):i.startsWith("bind-")&&(n=i.substring(5)),n){var s=e.getAttribute(i);if(null===s)return 0;if(n.startsWith("attribute-")||n.startsWith("property-")){var a=(0,N.evaluate)(s,t,!1,!0,e);if(a.error)return M.warn("Error occurred during processing given",'attribute binding "'+i+'" on node:',e,a.error),0;n.startsWith("attribute-")?e.setAttribute(n.substring(10),a.result):e[(0,N.delimitedToCamelCase)(n.substring(9))]=a.result}else if(n.startsWith("on-")){n=(0,N.delimitedToCamelCase)(n.substring(3)),t=A()({log:M,event:void 0,parameters:void 0},t);var l=(0,N.compile)(s,t,!0,!0,e);l.error?M.warn("Error occurred during compiling given event",'binding "'+i+'" on node:',e,l.error):r.addSecureEventListener(e,n,(function(){for(var r=arguments.length,o=new Array(r),n=0;n<r;n++)o[n]=arguments[n];t.event=o[0],t.parameters=o;try{l.templateFunction.apply(l,l.originalScopeNames.map((function(e){return t[e]})))}catch(t){M.warn("Error occurred during processing","given event binding",'"'+i+'" on node:',e,'Given expression "'+s+'" could',"not be evaluated with given scope",'names "'+l.scopeNames.join('", "')+'": '+(0,N.represent)(t))}}))}}},n=L(e.getAttributeNames());!(o=n()).done;)i()},r.applyBindings=function(e,t,r){for(void 0===r&&(r=!0);e;){var o;null==(o=e.attributes)||!o.length||!r&&e.getAttribute("slot")||this.applyBinding(e,t),e.nodeName.toLowerCase().includes("-")||this.applyBindings(e.firstChild,t),e=e.nextSibling}},r.compileDomNodeTemplate=function(e,t,r){void 0===t&&(t=[]),void 0===r&&(r={}),r=A()({ignoreComponents:!0,ignoreNestedComponents:!0,unsafe:this.self.renderUnsafe},r);var o=e.nodeName.toLowerCase();if(r.ignoreComponents&&o.includes("-"))return null;if(r.unsafe){var i=e.innerHTML;if(!i&&e.template&&(i=e.template),this.self.hasCode(i)){var n=(0,N.compile)("`"+i+"`",t);return{domNode:e,children:[],error:n.error,scopeNames:n.scopeNames,template:i,templateFunction:n.templateFunction}}return null}var s=null;if("#text"===o){var a=e.textContent;a&&this.self.hasCode(a)&&(s=a.replace(/&nbsp;/g," ").trim())}var l=[],p={children:l,domNode:e};if(s){var u=(0,N.compile)("`"+s+"`",t);p.error=u.error,p.scopeNames=u.scopeNames,p.template=s,p.templateFunction=u.templateFunction}for(var c=e.firstChild;c;){if(!r.filter||r.filter(c)){var d=this.compileDomNodeTemplate(c,t,A()({},r,{ignoreComponents:r.ignoreNestedComponents}));d&&l.push(d)}c=c.nextSibling}return p},r.evaluateCompiledDomNodeTemplate=function(e,t){var r=e.domNode,o=e.error,i=e.templateFunction,n=e.scopeNames;if(!i||!n)return null;if(o)return M.warn("Error occurred during compiling node content:",o),null;var s=null;try{s=i.apply(void 0,n.map((function(e){return t[e]})))}catch(o){M.warn('Error occurred when "'+this.self._name+'" is running','"'+String(i)+'": with bound','names "'+n.join('", "')+'":','"'+o+'". Rendering node:',r)}return s},r.evaluateDomNodeTemplate=function(e,t,r){var o=this;void 0===t&&(t={}),void 0===r&&(r={});var i=(r=A()({domNodeTemplateCache:this.domNodeTemplateCache,ignoreComponents:!0,ignoreNestedComponents:!0,unsafe:this.self.renderUnsafe},r)).domNodeTemplateCache;if(!i.has(e)){var n={filter:r.filter,ignoreComponents:r.ignoreComponents,ignoreNestedComponents:r.ignoreNestedComponents,unsafe:r.unsafe},s=this.compileDomNodeTemplate(e,t,n);s&&i.set(e,s)}if(i.has(e)){var a=i.get(e),l=this.evaluateCompiledDomNodeTemplate(a,t);if(null!==l&&(r.unsafe&&e.innerHTML?e.innerHTML=l:e.textContent=l),a.children.length){var p=function(e){for(var r,i=L(e);!(r=i()).done;){var n=r.value,s=o.evaluateCompiledDomNodeTemplate(n,t);null!==s&&(n.domNode.textContent=s),n.children.length&&p(n.children)}};p(a.children)}}r.applyBindings&&this.applyBindings(e,t)},t.replaceDomNodes=function(e,r){for(var o,i=L([].concat(r).reverse());!(o=i()).done;){var n,s=o.value;t.trimSlots&&s.nodeType===Node.TEXT_NODE&&""===(null==(n=s.nodeValue)?void 0:n.trim())||e.after(s)}e.remove()},t.unwrapDomNode=function(e){for(var t=e.parentNode,r=[];e.firstChild;)r.push(e.firstChild),t.insertBefore(e.firstChild,e);return t.removeChild(e),r},r.addSecureEventListener=function(e,t,r){var o=this;this.domNodeEventBindings.has(e)||this.domNodeEventBindings.set(e,new Map);var i=this.domNodeEventBindings.get(e),n=null==i?void 0:i.get(t);n&&n!==r&&n(),null==i||i.set(t,(function(){e.removeEventListener(t,r),i.delete(t),0===i.size&&o.domNodeEventBindings.delete(e)})),e.addEventListener(t,r)},r.determineRootBinding=function(){for(var e=this.parentNode;e;)(e instanceof t||e.nodeName.includes("-")||null===e.parentNode&&"[object ShadowRoot]"===e.toString())&&(this.rootInstance===this?(this.parent=e,this.rootInstance=e,this.setPropertyValue("isRoot",!1)):this.rootInstance=e),e=e.parentNode},t.hasCode=function(e){return"string"==typeof e&&e.includes("${")&&e.includes("}")&&/\${[\s\S]+}/.test(e)},t.normalizePropertyTypeList=function(e){if("string"==typeof e&&(e=[e]),Array.isArray(e)){for(var r,o=e,i=new Map,n=L(o);!(r=n()).done;){var s=r.value;Object.prototype.hasOwnProperty.call(t.propertyTypes,s)&&i.set(s,t.propertyTypes[s])}return i}return(0,N.convertPlainObjectToMap)(e)},r.attachEventHandler=function(){if(null!==this.self.eventToPropertyMapping){var e=this.attachExplicitDefinedOutputEventHandler();this.attachImplicitDefinedOutputEventHandler(!e)}},r.attachExplicitDefinedOutputEventHandler=function(){var e=this;if(!this.self.eventToPropertyMapping)return!1;for(var t=!1,r=function(){var r=i[o];Object.prototype.hasOwnProperty.call(e.internalProperties,r)||(t=!0,e.outputEventNames.add(r),e.setInternalPropertyValue(r,m()(C().mark((function t(){var o,i,n,s,a=arguments;return C().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:for(o=a.length,i=new Array(o),n=0;n<o;n++)i[n]=a[n];return t.next=1,e.reflectEventToProperties(r,i);case 1:(s=t.sent)&&(i[0]=s),e.forwardEvent(r,i);case 2:case"end":return t.stop()}}),t)})))))},o=0,i=Object.keys(this.self.eventToPropertyMapping);o<i.length;o++)r();return t},r.attachImplicitDefinedOutputEventHandler=function(e){var t=this;void 0===e&&(e=!0);for(var r=function(){var r=i[o],n=r[0],s=r[1];Object.prototype.hasOwnProperty.call(t.internalProperties,n)||![x.func,"function"].includes(s)||t.self.renderProperties.includes(n)||(t.outputEventNames.add(n),t.setInternalPropertyValue(n,(function(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];e&&t.reflectEventToProperties(n,o),t.forwardEvent(n,o)})))},o=0,i=Object.entries(this.self.propertyTypes);o<i.length;o++)r()},r.triggerOutputEvents=function(){for(var e,t=L(this.outputEventNames);!(e=t()).done;){var r=e.value;this.forwardEvent(r,[this.externalProperties])}},r.forwardEvent=function(e,t){return e.length>3&&e.startsWith("on")&&(e=(0,N.lowerCase)(e.substring(2))),this.dispatchEvent(new CustomEvent(e,{detail:{parameters:t}}))},r.applySlots=function(e,t){for(var r=this,o=0,i=Array.from(e.querySelectorAll("slot"));o<i.length;o++){var n=i[o],s=n.getAttribute("name");if(null===s||"default"===s)if(this.slots.default){if(this.self.renderSlots){if(this.self.evaluateSlots)for(var a,l=L(this.slots.default);!(a=l()).done;){var p=a.value;this.evaluateDomNodeTemplate(p,t)}this.self.replaceDomNodes(n,this.slots.default)}}else this.slots.default=this.self.unwrapDomNode(n).map((function(e){return r.grabSlotContent(e)}));else this.slots[s]?this.self.renderSlots&&(this.self.evaluateSlots&&this.evaluateDomNodeTemplate(this.slots[s],t),this.self.replaceDomNodes(n,this.slots[s])):this.slots[s]=this.grabSlotContent(this.self.unwrapDomNode(n).filter((function(e){return"#text"!==e.nodeName.toLowerCase()}))[0])}},r.grabSlotContent=function(e){var t,r=x.node.firstElementChild?e:null;if(r&&"textarea"===(null==(t=r.firstElementChild)?void 0:t.nodeName.toLowerCase())&&(!r.firstElementChild.hasAttribute("data-no-template")||"false"===r.firstElementChild.getAttribute("data-no-template"))){var o=r.firstElementChild.value;r.classList.remove("web-component-template");var i=r.cloneNode();return r.classList.add("web-component-template"),i.innerHTML="",i.template=o,i}return this.self.cloneSlots?e.cloneNode(!0):e},r.grabGivenSlots=function(){var e=this;this.slots={};for(var t=0,r=Array.from(this.querySelectorAll("[slot]"));t<r.length;t++){for(var o,i=r[t],n=i.parentNode,s=!0;n;){if(n.nodeName.includes("-")){n===this&&(s=!1);break}n=n.parentNode}if(!s){var a=null==(o=i.getAttribute("slot"))?void 0:o.trim();this.slots[null!=a?a:i.nodeName.toLowerCase()]=this.grabSlotContent(i)}}this.slots.default?this.slots.default=[].concat(this.slots.default):this.childNodes.length>0?this.slots.default=Array.from(this.childNodes).map((function(t){return e.grabSlotContent(t)})):this.slots.default=[]},r.isStateProperty=function(e){var t;return Boolean((null==(t=this.instance)||null==(t=t.current)?void 0:t.state)&&(Object.prototype.hasOwnProperty.call(this.instance.current.state,e)||this.instance.current.state.modelState&&Object.prototype.hasOwnProperty.call(this.instance.current.state.modelState,e)))},r.generateAliasIndex=function(){if(!this.self._propertyAliasIndex){this.self._propertyAliasIndex=A()({},this.self.propertyAliases);for(var e=0,t=Object.entries(this.self._propertyAliasIndex);e<t.length;e++){var r=t[e],o=r[0],i=r[1];Object.prototype.hasOwnProperty.call(this.self._propertyAliasIndex,i)||(this.self._propertyAliasIndex[i]=o)}}},r.reflectExternalProperties=function(e){this.ignoreAttributeUpdateObservations=!0;for(var t=0,r=Object.entries(e);t<r.length;t++){var o,i=r[t],n=i[0],s=i[1];if(this.setExternalPropertyValue(n,s),this.isConnected){var a=(0,N.camelCaseToDelimited)(n);if(null!=(o=this.self._propertiesToReflectAsAttributes)&&o.has(n))switch(this.self._propertiesToReflectAsAttributes.get(n)){case x.boolean:case"boolean":s?""!==this.getAttribute(a)&&this.setAttribute(a,""):this.hasAttribute(a)&&this.removeAttribute(a);break;case x.func:case"function":break;case"json":if(s){var l=JSON.stringify(s);if(l&&this.getAttribute(a)!==l){this.setAttribute(a,l);break}}this.hasAttribute(a)&&this.removeAttribute(a);break;case x.number:case"number":if("number"!=typeof s||isNaN(s))this.hasAttribute(a)&&this.removeAttribute(a);else{var p=String(s);this.getAttribute(a)!==p&&this.setAttribute(a,p)}break;case x.string:case"string":s?this.getAttribute(a)!==s&&this.setAttribute(a,s):this.hasAttribute(a)&&this.removeAttribute(a);break;case x.any:case x.array:case x.arrayOf:case x.element:case x.elementType:case x.instanceOf:case x.node:case x.object:case"object":case x.objectOf:case x.shape:case x.exact:case x.symbol:default:if(s){var u=(0,N.represent)(s);if(u&&this.getAttribute(a)!==u){this.setAttribute(a,u);break}}this.hasAttribute(a)&&this.removeAttribute(a)}}}this.ignoreAttributeUpdateObservations=!1},r.reflectProperties=function(e){var t,r;if(this.reflectExternalProperties(e),null!=(t=this.instance)&&null!=(t=t.current)&&t.state&&"object"==typeof this.instance.current.state)for(var o,i=L(Object.keys(this.instance.current.state).concat(this.instance.current.state.modelState?Object.keys(this.instance.current.state.modelState):[]));!(o=i()).done;){var n=o.value;Object.prototype.hasOwnProperty.call(this.internalProperties,n)&&this.setInternalPropertyValue(n,void 0)}null!=(r=this.internalProperties.model)&&r.state&&(delete this.internalProperties.model.state,this.setInternalPropertyValue("model",this.internalProperties.model));for(var s,a=L(this.self.controllableProperties);!(s=a()).done;){var l=s.value;Object.prototype.hasOwnProperty.call(e,l)&&this.setInternalPropertyValue(l,e[l])}},r.reflectEventToProperties=function(){var e=m()(C().mark((function e(t,r){var o,i,n,s,a,l,p,u,c,d,h,f,b,_,y,m,v;return C().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=this.batchUpdates,this.batchUpdates=!1,i=null,n=!1,!(this.self.eventToPropertyMapping&&Object.prototype.hasOwnProperty.call(this.self.eventToPropertyMapping,t)&&(0,N.isFunction)(this.self.eventToPropertyMapping[t]))){e.next=4;break}if(!((a=(s=this.self.eventToPropertyMapping)[t].apply(s,r.concat([this])))&&"then"in a&&(0,N.isFunction)(a.then))){e.next=2;break}return e.next=1,a;case 1:v=e.sent,e.next=3;break;case 2:v=a;case 3:l=v,n=!0,Array.isArray(l)?(i=l[0],this.reflectProperties(i),(0,N.extend)(!0,this.internalProperties,l[1])):null===l?n=!1:"object"==typeof l&&(i=l,this.reflectProperties(l));case 4:if(!n&&r.length>0&&(0,N.isObject)(r[0])){if(u=r[0],"persist"in r[0]&&(0,N.isFunction)(r[0].persist))for(u={},c=0,d=Object.keys(this.self.propertyTypes);c<d.length;c++)for(h=d[c],f=L([h].concat(null!==(_=this.getPropertyAlias(h))&&void 0!==_?_:[]));!(b=f()).done;)y=b.value,(m=r[0].currentTarget&&Object.prototype.hasOwnProperty.call(r[0].currentTarget,y)?r[0].currentTarget[y]:this.getPropertyValue(y))!==this.externalProperties[y]&&(u[y]=m);else[null,void 0].includes(null==(p=u.detail)?void 0:p.value)||(u=A()({},u.detail));i=u,this.reflectProperties(u)}return this.triggerRender("propertyReflected"),this.batchUpdates=o,e.abrupt("return",i);case 5:case"end":return e.stop()}}),e,this)})));return function(t,r){return e.apply(this,arguments)}}(),r.evaluateStringOrNullAndSetAsProperty=function(e,t){var r=this,o=e.startsWith("-"),i=o?e.substring(1):e,n=(0,N.delimitedToCamelCase)(i),s=this.getPropertyAlias(n);if(s&&Object.prototype.hasOwnProperty.call(this.self.propertyTypes,s)&&(n=s),Object.prototype.hasOwnProperty.call(this.self.propertyTypes,n)){var a=this.self.propertyTypes[n];if(o){if(t){var l=(0,N.evaluate)(t,A()({},N.UTILITY_SCOPE),!1,!0,this);l.error?(M.warn("Failed to process pre-evaluation attribute",'"'+e+'": '+l.error+". Will be",'set to "undefined".'),this.setInternalPropertyValue(n,void 0)):(this.setInternalPropertyValue(n,l.result),this.setExternalPropertyValue(n,l.result))}}else switch(a){case x.boolean:case"boolean":var p=![null,"false"].includes(t);this.setInternalPropertyValue(n,p),this.setExternalPropertyValue(n,p);break;case x.func:case"function":var u,c=null,d=["data","event","firstArgument","firstParameter","options","scope","parameters"].concat(N.UTILITY_SCOPE_NAMES);if(t){var h=(0,N.compile)(t,d);c=h.error,u=h.templateFunction,c&&M.warn("Failed to compile given handler",'"'+e+'": '+c+".")}this.setInternalPropertyValue(n,(function(){for(var o=arguments.length,i=new Array(o),s=0;s<o;s++)i[s]=arguments[s];r.outputEventNames.has(n)&&r.reflectEventToProperties(n,i);var a=void 0;if(!c)try{var l;a=null==(l=u)?void 0:l.call.apply(l,[r,i[0],i[0],i[0],i[0],i[0],i[0],i].concat(N.UTILITY_SCOPE_VALUES))}catch(r){M.warn("Failed to evaluate function",'"'+e+'" with expression','"'+t+'" and scope',"variables",'"'+d.join('", "')+'" set to','"'+(0,N.represent)(i)+'":',r+". Set property",'to "undefined".')}return r.self.renderProperties.includes(n)||r.forwardEvent(n,i),a})),c||this.setExternalPropertyValue(n,u);break;case"json":if(t){var f;try{f=JSON.parse(t)}catch(c){M.warn("Error occurred during parsing given json",'attribute "'+e+'":',(0,N.represent)(c));break}this.setInternalPropertyValue(n,f),this.setExternalPropertyValue(n,(0,N.copy)(f,!1,1))}else this.setInternalPropertyValue(n,null),this.setExternalPropertyValue(n,null);break;case x.number:case"number":if(null===t){this.setInternalPropertyValue(n,t),this.setExternalPropertyValue(n,t);break}var b=parseFloat(t);isNaN(b)&&(b=void 0),this.setInternalPropertyValue(n,b),this.setExternalPropertyValue(n,b);break;case x.string:case"string":this.setInternalPropertyValue(n,t),this.setExternalPropertyValue(n,t);break;case x.any:case x.array:case x.arrayOf:case x.element:case x.elementType:case x.instanceOf:case x.node:case x.object:case"object":case x.objectOf:case x.oneOf:case x.oneOfType:case x.shape:case x.exact:case x.symbol:default:if(t){var _=(0,N.evaluate)(t,{},!1,!0,this);if(_.error){M.warn("Error occurred during processing given",'attribute configuration "'+e+'":',_.error);break}this.setInternalPropertyValue(n,_.result),this.setExternalPropertyValue(n,(0,N.copy)(_.result,!1,1))}else this.hasAttribute(e)?(this.setInternalPropertyValue(n,!0),this.setExternalPropertyValue(n,!0)):(this.setInternalPropertyValue(n,null),this.setExternalPropertyValue(n,null))}}},r.triggerRender=function(e){var t=this;this.batchUpdates?this.batchedUpdateRunning||(this.batchedUpdateRunning=!0,(0,N.timeout)((function(){t.batchedUpdateRunning=!1,t.render(e)}))):this.render(e)},r.applyShadowRootIfNotExisting=function(){this.self.shadowDOM&&this.root===this&&(this.root=(!("attachShadow"in this)&&"ShadyDOM"in window?window.ShadyDOM.wrap(this):this).attachShadow((0,N.isObject)(this.self.shadowDOM)?this.self.shadowDOM:{mode:"open"}))},r.determineRenderScope=function(e){var t,r;void 0===e&&(e={}),this.scope=A()({},(null==(t=this.parent)?void 0:t.scope)||{},this.scope,this.internalProperties,((r={parent:this.parent,root:this.rootInstance,self:this})[(0,N.lowerCase)(this.self._name)||"instance"]=this,r),e),this.scope.scope=this.scope},r.render=function(e){if(void 0===e&&(e="unknown"),this.determineRenderScope(),!this.dispatchEvent(new CustomEvent("render",{detail:{reason:e,scope:this.scope}})))return Promise.resolve();var t=(0,N.evaluate)("`"+this.self.content+"`",this.scope);if(t.error)return M.warn("Failed to process template: "+t.error),Promise.resolve();this.applyShadowRootIfNotExisting();var r=document.createElement("div");return r.innerHTML=t.result,this.applySlots(r,A()({},this.scope,{parent:this})),this.root.innerHTML=r.innerHTML,this.applyBindings(this.root.firstChild,this.scope,this.self.renderSlots),Promise.resolve()},t}(q),_.applyRootBinding=!0,_.content="<slot>Please provide a template to transclude.</slot>",_.determineRootBinding=!0,_.shadowDOM=null,_.observedAttributes=[],_.controllableProperties=[],_.eventToPropertyMapping={},_.propertyAliases={},_.propertyTypes={onClick:x.func},_.propertiesToReflectAsAttributes=[],_.renderProperties=["children"],_.cloneSlots=!1,_.evaluateSlots=!1,_.renderSlots=!0,_.trimSlots=!0,_.renderUnsafe=!1,_._name="BaseWeb",_._propertyAliasIndex=void 0,_._propertiesToReflectAsAttributes=void 0,f=_,b=O()(f.prototype,"isRoot",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!0}}),f),I={component:D,register:function(e){void 0===e&&(e=(0,N.camelCaseToDelimited)(D._name)),customElements.define(e,D)}};return d.default=D,d}())},e=>{e.exports=__WEBPACK_EXTERNAL_MODULE__4__},e=>{e.exports=__WEBPACK_EXTERNAL_MODULE__5__},e=>{e.exports=__WEBPACK_EXTERNAL_MODULE__6__},e=>{e.exports=__WEBPACK_EXTERNAL_MODULE__7__},,,,e=>{e.exports=__WEBPACK_EXTERNAL_MODULE__11__},e=>{e.exports=__WEBPACK_EXTERNAL_MODULE__12__},e=>{e.exports=__WEBPACK_EXTERNAL_MODULE__13__}],__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var r=__webpack_module_cache__[e]={id:e,loaded:!1,exports:{}};return __webpack_modules__[e].call(r.exports,r,r.exports,__webpack_require__),r.loaded=!0,r.exports}__webpack_require__.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return __webpack_require__.d(t,{a:t}),t},__webpack_require__.d=(e,t)=>{for(var r in t)__webpack_require__.o(t,r)&&!__webpack_require__.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),__webpack_require__.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__webpack_require__.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var __webpack_exports__={};return(()=>{__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{WebsiteUtilities:()=>z,api:()=>F,default:()=>H,log:()=>W});var e,t,r,o,i,n,s,a,l,p,u,c,d,h,f,b,_,y,m,v,g,w,A,T,P,E,O,S,C,N,x,k,L,R,M=__webpack_require__(4),q=__webpack_require__.n(M),D=__webpack_require__(5),I=__webpack_require__.n(D),j=(__webpack_require__(6),__webpack_require__(0)),U=__webpack_require__(1),B=__webpack_require__(2),V=__webpack_require__(3);const W=new j.Logger({name:"website-utilities"});let z=(e=(0,B.property)({type:U.object}),t=(0,B.property)({type:U.func}),r=(0,B.property)({type:U.func}),o=(0,B.property)({type:U.func}),i=(0,B.property)({type:U.func}),n=(0,B.property)({type:U.func}),s=(0,B.property)({type:U.func}),a=(0,B.property)({type:U.func}),l=(0,B.property)({type:U.func}),p=(0,B.property)({type:U.func}),u=(0,B.property)({type:U.func}),c=(0,B.property)({type:U.func}),d=(0,B.property)({type:U.func}),h=(0,B.property)({type:U.func}),f=(0,B.property)({type:U.func}),b=(0,B.property)({type:U.func}),R=class e extends V.Web{constructor(){super(),this.self=e,this.currentMediaQueryMode="",this.currentSectionName="home",this.startUpAnimationIsComplete=!1,this.continueAutoScrolling=!1,this.viewportIsOnTop=void 0,this.windowLoaded=!1,this.scrollToTopButtonDomNodes=null,this.sectionDomNode=null,this.sectionDomNodes={},this.topDomNode=null,this.windowLoadingCoverDomNode=null,q()(this,"options",y,this),q()(this,"onChangeMediaQueryMode",m,this),q()(this,"onChangeToExtraSmallMode",v,this),q()(this,"onChangeToLargeMode",g,this),q()(this,"onChangeToMediumMode",w,this),q()(this,"onChangeToSmallMode",A,this),q()(this,"onStartUpAnimationComplete",T,this),q()(this,"onSwitchSection",P,this),q()(this,"onViewportMovesAwayFromTop",E,this),q()(this,"onViewportMovesToTop",O,this),q()(this,"onSwitchToManualScrollingIndicator",S,this),q()(this,"onLoaded",C,this),q()(this,"onButtonClick",N,this),q()(this,"onSectionSwitch",x,this),q()(this,"onLinkClick",k,this),q()(this,"onTrack",L,this),this.defineGetterAndSetterInterface()}onUpdateAttribute(e,t){super.onUpdateAttribute(e,t),"options"===e&&(this.options=(0,j.extend)(!0,{},this.self._defaultOptions,this.options))}async render(e){await super.render(e),0===Object.keys(this.options).length&&this.onUpdateAttribute("options","{}"),this.grabDomNodes(),this.disableScrolling(),this._bindScrollEvents(),this._bindClickTracking(),this._bindNavigationEvents();const t=()=>{this.windowLoaded||(this.windowLoaded=!0,this._removeLoadingCover().then((()=>{this._performStartUpEffects(),this.onLoaded()})))};(0,j.onDocumentReady)((()=>{(0,j.timeout)(t,this.options.windowLoadedTimeoutAfterDocLoadedInMSec)})),j.globalContext.window&&this.addSecureEventListener(j.globalContext.window,"load",t),await this._initializeRouting()}grabDomNodes(){var e;this.topDomNode=this.root.querySelector(this.options.selectors.top),this.scrollToTopButtonDomNodes=this.root.querySelectorAll(this.options.selectors.scrollToTopButtons),this.sectionDomNode=this.root.querySelector(this.options.selectors.section);for(const e of null!==(t=this.sectionDomNode?.children)&&void 0!==t?t:[]){var t;const r=e.getAttribute("data-website-utilities-section");r&&this.options.sectionNames.includes(r)&&(this.sectionDomNodes[r]=e)}this.windowLoadingCoverDomNode=null!==(e=this.root.parentElement?.querySelector(this.options.selectors.windowLoadingCover))&&void 0!==e?e:null}interruptableScrollToTop(){const e=window.pageYOffset,t=performance.now();this.continueAutoScrolling=!0;const r=o=>{if(!this.continueAutoScrolling)return;const i=o-t,n=Math.min(i/500,1),s=n*(2-n);window.scrollTo(0,e*(1-s)),n<1?requestAnimationFrame(r):this.continueAutoScrolling=!1};requestAnimationFrame(r)}scrollToTop(){j.globalContext.document&&window.scrollTo({top:0,behavior:"smooth"})}disableScrolling(){this.root.parentElement&&(this.root.parentElement.classList.add("disable-scrolling"),this.addSecureEventListener(this.root.parentElement,"touchmove",j.preventDefault))}enableScrolling(){this.root.parentElement&&(this.root.parentElement.classList.remove("disable-scrolling"),this.root.parentElement.classList.remove("touchmove"),this.root.parentElement.removeEventListener("touchmove",j.preventDefault))}async track(e){if(j.globalContext.window?.location&&this.options.tracking){const t={context:`${j.globalContext.window.location.pathname}#`+this.currentSectionName,...e};("number"!=typeof t.value||isNaN(t.value))&&(t.value=1),W.debug('Run tracking code: "event" with arguments:'),W.debug(t);try{await this.onTrack(t)}catch(e){W.warn(`Problem in tracking "${(0,j.represent)(t)}":`,(0,j.represent)(e))}}}_onViewportMovesToTop(){this._finishScrollToTopButtonTransition();for(const t of null!==(e=this.scrollToTopButtonDomNodes)&&void 0!==e?e:[]){var e;const r=()=>{t.removeEventListener("transitionend",o),t.removeEventListener("transitioncancel",r)},o=()=>{this.viewportIsOnTop&&t.classList.add("wu-top-settled"),r()};t.addEventListener("transitionend",o,{once:!0}),t.addEventListener("transitioncancel",r,{once:!0}),t.classList.add("wu-scroll-up")}}async _onViewportMovesAwayFromTop(){this._finishScrollToTopButtonTransition("wu-top-settled"),await(0,j.timeout)(),this._finishScrollToTopButtonTransition();for(const t of null!==(e=this.scrollToTopButtonDomNodes)&&void 0!==e?e:[]){var e;t.classList.add("wu-scroll-down")}}async switchSection(e,t){if(j.globalContext.window&&"location"in j.globalContext.window&&Object.prototype.hasOwnProperty.call(this.sectionDomNodes,e)){this.currentSectionName===e?(this.sectionDomNodes[this.currentSectionName].style.display="none",this.sectionDomNodes[e].style.display="block"):(this.interruptableScrollToTop(),await(0,j.fadeOut)(this.sectionDomNodes[this.currentSectionName]),this.sectionDomNodes[this.currentSectionName].style.display="none",this.sectionDomNodes[e].style.display="block",await(0,j.fadeIn)(this.sectionDomNodes[e]));const r=this.currentSectionName;this.currentSectionName=e,W.debug(`Run section switch from "${r}" to`,`"${this.currentSectionName}".`);try{await this.onSectionSwitch.call(this,this.currentSectionName,r,t)}catch(e){W.warn("Problem due to call section switch callback on section",`"${this.currentSectionName}": ${(0,j.represent)(e)}`)}}}_initializeRouting(){this.currentSectionName=this.options.initialSectionName;const e=j.globalContext.location?.hash&&this.options.initialSectionName!==j.globalContext.location.hash.substring(1)?j.globalContext.location.hash.substring(1):this.currentSectionName;return this.switchSection(e)}_finishScrollToTopButtonTransition(e=["wu-scroll-down","wu-scroll-up"]){for(const r of null!==(t=this.scrollToTopButtonDomNodes)&&void 0!==t?t:[]){var t;r.classList.remove(...[].concat(e))}}_bindScrollEvents(){if(j.globalContext.document){for(const e of[j.globalContext.document.body,j.globalContext.document.querySelector("html"),j.globalContext.window])for(const t of this.options.knownScrollEventNames)e&&this.addSecureEventListener(e,t,(e=>{this.onSwitchToManualScrollingIndicator(e)&&(this.continueAutoScrolling=!1)}));if(j.globalContext.window&&this.addSecureEventListener(j.globalContext.window,"scroll",(e=>{j.globalContext.window?.scrollY?this.viewportIsOnTop&&(this.viewportIsOnTop=!1,this._onViewportMovesAwayFromTop().then(this.onViewportMovesAwayFromTop.bind(this,e))):this.viewportIsOnTop||(this.viewportIsOnTop=!0,this._onViewportMovesToTop(),this.onViewportMovesToTop.call(this,e))})),j.globalContext.window?.scrollY)this.viewportIsOnTop=!1,this._onViewportMovesAwayFromTop().then((()=>{this.onViewportMovesAwayFromTop.call(this)}));else{this.viewportIsOnTop=!0;for(const t of null!==(e=this.scrollToTopButtonDomNodes)&&void 0!==e?e:[]){var e;t.classList.add("wu-top-settled")}this._onViewportMovesToTop(),this.onViewportMovesToTop.call(this)}}}async _removeLoadingCover(){await(0,j.timeout)(this.options.additionalPageLoadingTimeInMilliseconds);for(const e of this.root.querySelectorAll(`[class^="${this.options.selectors.startUpAnimationClassPrefix}"], [class*=" ${this.options.selectors.startUpAnimationClassPrefix}"]`))e.style.opacity="0";this.windowLoadingCoverDomNode&&(this.enableScrolling(),await(0,j.fadeOut)(this.windowLoadingCoverDomNode))}async _performStartUpEffects(){const e=[];let t=1;for(;;){const r=this.root.querySelectorAll("."+this.options.selectors.startUpAnimationClassPrefix+String(t));if(0===r.length){await Promise.all(e),this.startUpAnimationIsComplete=!0,this.onStartUpAnimationComplete.call(this);break}await(0,j.timeout)(this.options.startUpAnimationElementDelayInMilliseconds);for(const t of r)e.push((0,j.fadeIn)(t));t+=1}}_bindNavigationEvents(){j.globalContext.window&&this.addSecureEventListener(j.globalContext.window,"hashchange",(e=>{this.startUpAnimationIsComplete&&this.switchSection(location.hash.substring(1),e)})),this._bindScrollToTopButton()}_bindScrollToTopButton(){for(const e of this.scrollToTopButtonDomNodes||[])this.addSecureEventListener(e,"click",(e=>{e.preventDefault(),this.interruptableScrollToTop()}))}_bindClickTracking(){if(this.options.tracking){for(const e of this.root.querySelectorAll("a"))this.addSecureEventListener(e,"click",this.onButtonClick.bind(this));for(const e of this.root.querySelectorAll("button"))this.addSecureEventListener(e,"click",this.onButtonClick.bind(this))}}},R._name="WebsiteUtilities",R._defaultOptions={additionalPageLoadingTimeInMilliseconds:0,startUpAnimationElementDelayInMilliseconds:100,windowLoadedTimeoutAfterDocLoadedInMSec:2e3,domain:"auto",initialSectionName:"home",knownScrollEventNames:["DOMMouseScroll","keyup","mousedown","mousewheel","scroll","touchmove","wheel"],mediaQueryClassNameIndicator:[["extraSmall","xs"],["small","sm"],["medium","md"],["large","lg"]],sectionNames:["home"],selectors:{scrollToTopButtons:".wu-scroll-to-top",section:".wu-section",startUpAnimationClassPrefix:"wu-start-up-animation-number-",top:".wu-header",windowLoadingCover:".wu-window-loading-cover"},tracking:!1},_=R,y=I()(_.prototype,"options",[e],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return{}}}),m=I()(_.prototype,"onChangeMediaQueryMode",[t],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return j.NOOP}}),v=I()(_.prototype,"onChangeToExtraSmallMode",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return j.NOOP}}),g=I()(_.prototype,"onChangeToLargeMode",[o],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return j.NOOP}}),w=I()(_.prototype,"onChangeToMediumMode",[i],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return j.NOOP}}),A=I()(_.prototype,"onChangeToSmallMode",[n],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return j.NOOP}}),T=I()(_.prototype,"onStartUpAnimationComplete",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return j.NOOP}}),P=I()(_.prototype,"onSwitchSection",[a],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return j.NOOP}}),E=I()(_.prototype,"onViewportMovesAwayFromTop",[l],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return j.NOOP}}),O=I()(_.prototype,"onViewportMovesToTop",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return j.NOOP}}),S=I()(_.prototype,"onSwitchToManualScrollingIndicator",[u],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return()=>!0}}),C=I()(_.prototype,"onLoaded",[c],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return j.NOOP}}),N=I()(_.prototype,"onButtonClick",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return function(e){const t=e.target,r=(0,j.getText)(t).join(" ");this.onTrack({event:"buttonClick",eventType:"click",label:r,reference:t.getAttribute("action")||t.getAttribute("target")||t.getAttribute("type")||r,subject:"button",value:parseInt(t.getAttribute("website-analytics-value")||"1"),userInteraction:!0})}}}),x=I()(_.prototype,"onSectionSwitch",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return async function(e,t,r){j.globalContext.window?.location&&await this.onTrack({event:"sectionSwitch",eventType:"sectionSwitch",label:e,reference:`${j.globalContext.window.location.pathname}#${e}`,subject:"url",userInteraction:!1})}}}),k=I()(_.prototype,"onLinkClick",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return function(e){const t=e.target,r=(0,j.getText)(t).join(" ");this.onTrack({event:"linkClick",eventType:"click",label:r,reference:t.getAttribute("href")||t.getAttribute("action")||t.getAttribute("target")||t.getAttribute("type")||r,subject:"link",value:parseInt(t.getAttribute("website-analytics-value")||"1"),userInteraction:!0})}}}),L=I()(_.prototype,"onTrack",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return function(e){return this.options.tracking&&j.globalContext.dataLayer?.push(e),Promise.resolve()}}}),_);const F={component:z,register:(e=(0,j.camelCaseToDelimited)(z._name))=>{customElements.define(e,z)}},H=z;j.globalContext.AUTO_DEFINE_WEBSITE_UTILITIES&&F.register()})(),__webpack_exports__})()));
1
+ "use strict";if("undefined"!=typeof module&&null!==module&&"undefined"!==eval("typeof require")&&null!==eval("require")&&"main"in eval("require")&&"undefined"!==eval("typeof require.main")&&null!==eval("require.main")){var ORIGINAL_MAIN_MODULE=module;module!==eval("require.main")&&"paths"in module&&"paths"in eval("require.main")&&"undefined"!=typeof __dirname&&null!==__dirname&&(module.paths=eval("require.main.paths").concat(module.paths.filter((function(path){return eval("require.main.paths").includes(path)}))))}if(null==window)var window="undefined"==typeof global||null===global?{}:global;!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@babel/runtime/helpers/applyDecoratedDescriptor"),require("@babel/runtime/helpers/asyncToGenerator"),require("@babel/runtime/helpers/extends"),require("@babel/runtime/helpers/inheritsLoose"),require("@babel/runtime/helpers/initializerDefineProperty"),require("@babel/runtime/helpers/initializerWarningHelper"),require("@babel/runtime/regenerator"),require("clientnode"),require("clientnode/property-types"));else if("function"==typeof define&&define.amd)define(["@babel/runtime/helpers/applyDecoratedDescriptor","@babel/runtime/helpers/asyncToGenerator","@babel/runtime/helpers/extends","@babel/runtime/helpers/inheritsLoose","@babel/runtime/helpers/initializerDefineProperty","@babel/runtime/helpers/initializerWarningHelper","@babel/runtime/regenerator","clientnode","clientnode/property-types"],t);else{var r="object"==typeof exports?t(require("@babel/runtime/helpers/applyDecoratedDescriptor"),require("@babel/runtime/helpers/asyncToGenerator"),require("@babel/runtime/helpers/extends"),require("@babel/runtime/helpers/inheritsLoose"),require("@babel/runtime/helpers/initializerDefineProperty"),require("@babel/runtime/helpers/initializerWarningHelper"),require("@babel/runtime/regenerator"),require("clientnode"),require("clientnode/property-types")):t(e["@babel/runtime/helpers/applyDecoratedDescriptor"],e["@babel/runtime/helpers/asyncToGenerator"],e["@babel/runtime/helpers/extends"],e["@babel/runtime/helpers/inheritsLoose"],e["@babel/runtime/helpers/initializerDefineProperty"],e["@babel/runtime/helpers/initializerWarningHelper"],e["@babel/runtime/regenerator"],e.clientnode,e["clientnode/property-types"]);for(var o in r)("object"==typeof exports?exports:e)[o]=r[o]}}(this,((__WEBPACK_EXTERNAL_MODULE__5__,__WEBPACK_EXTERNAL_MODULE__11__,__WEBPACK_EXTERNAL_MODULE__7__,__WEBPACK_EXTERNAL_MODULE__12__,__WEBPACK_EXTERNAL_MODULE__4__,__WEBPACK_EXTERNAL_MODULE__6__,__WEBPACK_EXTERNAL_MODULE__13__,__WEBPACK_EXTERNAL_MODULE__0__,__WEBPACK_EXTERNAL_MODULE__1__)=>(()=>{var __webpack_modules__=[e=>{e.exports=__WEBPACK_EXTERNAL_MODULE__0__},e=>{e.exports=__WEBPACK_EXTERNAL_MODULE__1__},function(module,__unused_webpack_exports,__webpack_require__){var __webpack_dirname__="/",e,t,r;if(module=__webpack_require__.nmd(module),null!==module&&"undefined"!==eval("typeof require")&&null!==eval("require")&&"main"in eval("require")&&"undefined"!==eval("typeof require.main")&&null!==eval("require.main")){var ORIGINAL_MAIN_MODULE=module;module!==eval("require.main")&&"paths"in module&&"paths"in eval("require.main")&&null!=__webpack_dirname__&&(module.paths=eval("require.main.paths").concat(module.paths.filter((function(path){return eval("require.main.paths").includes(path)}))))}if(null==window)var window=void 0===__webpack_require__.g||null===__webpack_require__.g?{}:__webpack_require__.g;module.exports=(e=__webpack_require__(7),t=__webpack_require__(0),r=__webpack_require__(1),function(){var o=[function(t){t.exports=e},function(e){e.exports=t},function(e){e.exports=r}],i={};function n(e){var t=i[e];if(void 0!==t)return t.exports;var r=i[e]={exports:{}};return o[e](r,r.exports,n),r.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var s={};n.r(s),n.d(s,{property:function(){return c}});var a=n(0),l=n.n(a),p=n(1),u=n(2);function c(e){return void 0===e&&(e={}),e=l()({readAttribute:!0,type:u.string},e),function(t,r){if("string"==typeof r){var o,i=t.self||t.constructor;if(e.readAttribute){Object.prototype.hasOwnProperty.call(i,"observedAttributes")||(i.observedAttributes=i.observedAttributes?[].concat(i.observedAttributes):[]);var n=(0,p.camelCaseToDelimited)(r);i.observedAttributes&&!i.observedAttributes.includes(n)&&i.observedAttributes.push(n)}e.type&&(Object.prototype.hasOwnProperty.call(i,"propertyTypes")||(i.propertyTypes=i.propertyTypes?l()({},i.propertyTypes):{}),!i.propertyTypes||!e.update&&Object.prototype.hasOwnProperty.call(i,r)||(i.propertyTypes[r]=e.type)),e.writeAttribute&&(Object.prototype.hasOwnProperty.call(i,"propertiesToReflectAsAttributes")||(i.propertiesToReflectAsAttributes=i.propertiesToReflectAsAttributes?(0,p.copy)(i.propertiesToReflectAsAttributes):[]),(e.update||i.propertiesToReflectAsAttributes instanceof Map&&!i.propertiesToReflectAsAttributes.has(r)||Array.isArray(i.propertiesToReflectAsAttributes)&&!i.propertiesToReflectAsAttributes.includes(r)||"object"==typeof i.propertiesToReflectAsAttributes&&!Object.prototype.hasOwnProperty.call(i.propertiesToReflectAsAttributes,r))&&("boolean"==typeof e.writeAttribute?e.writeAttribute&&i.propertyTypes&&Object.prototype.hasOwnProperty.call(i.propertyTypes,r)&&(o=i.propertyTypes[r]):o=e.writeAttribute,void 0!==o&&(Array.isArray(i.propertiesToReflectAsAttributes)&&(!0===e.writeAttribute?i.propertiesToReflectAsAttributes.push(r):i.normalizePropertyTypeList&&(i.propertiesToReflectAsAttributes=i.normalizePropertyTypeList(i.propertiesToReflectAsAttributes))),i.propertiesToReflectAsAttributes instanceof Map&&i.propertiesToReflectAsAttributes.set(r,o),"object"==typeof i.propertiesToReflectAsAttributes&&(i.propertiesToReflectAsAttributes[r]=o)))),e.alias&&(Object.prototype.hasOwnProperty.call(i,"propertyAliases")||(i.propertyAliases=i.propertyAliases?l()({},i.propertyAliases):{}),!i.propertyAliases||!e.update&&Object.prototype.hasOwnProperty.call(i,r)||(i.propertyAliases[r]=e.alias))}}}return s.default=c,s}())},function(module,__unused_webpack_exports,__webpack_require__){var __webpack_dirname__="/",e,t,r,n,i,s,o,a,l;if(module=__webpack_require__.nmd(module),null!==module&&"undefined"!==eval("typeof require")&&null!==eval("require")&&"main"in eval("require")&&"undefined"!==eval("typeof require.main")&&null!==eval("require.main")){var ORIGINAL_MAIN_MODULE=module;module!==eval("require.main")&&"paths"in module&&"paths"in eval("require.main")&&null!=__webpack_dirname__&&(module.paths=eval("require.main.paths").concat(module.paths.filter((function(path){return eval("require.main.paths").includes(path)}))))}if(null==window)var window=void 0===__webpack_require__.g||null===__webpack_require__.g?{}:__webpack_require__.g;module.exports=(e=__webpack_require__(11),t=__webpack_require__(4),r=__webpack_require__(7),n=__webpack_require__(12),i=__webpack_require__(5),s=__webpack_require__(6),o=__webpack_require__(13),a=__webpack_require__(0),l=__webpack_require__(1),function(){var p=[function(e){e.exports=r},function(e){e.exports=a},function(e){e.exports=l},function(e){e.exports=n},function(e,t,r){var o=r(0),i=r.n(o),n=r(1),s=r(2);t.default=function(e){return void 0===e&&(e={}),e=i()({readAttribute:!0,type:s.string},e),function(t,r){if("string"==typeof r){var o,s=t.self||t.constructor;if(e.readAttribute){Object.prototype.hasOwnProperty.call(s,"observedAttributes")||(s.observedAttributes=s.observedAttributes?[].concat(s.observedAttributes):[]);var a=(0,n.camelCaseToDelimited)(r);s.observedAttributes&&!s.observedAttributes.includes(a)&&s.observedAttributes.push(a)}e.type&&(Object.prototype.hasOwnProperty.call(s,"propertyTypes")||(s.propertyTypes=s.propertyTypes?i()({},s.propertyTypes):{}),!s.propertyTypes||!e.update&&Object.prototype.hasOwnProperty.call(s,r)||(s.propertyTypes[r]=e.type)),e.writeAttribute&&(Object.prototype.hasOwnProperty.call(s,"propertiesToReflectAsAttributes")||(s.propertiesToReflectAsAttributes=s.propertiesToReflectAsAttributes?(0,n.copy)(s.propertiesToReflectAsAttributes):[]),(e.update||s.propertiesToReflectAsAttributes instanceof Map&&!s.propertiesToReflectAsAttributes.has(r)||Array.isArray(s.propertiesToReflectAsAttributes)&&!s.propertiesToReflectAsAttributes.includes(r)||"object"==typeof s.propertiesToReflectAsAttributes&&!Object.prototype.hasOwnProperty.call(s.propertiesToReflectAsAttributes,r))&&("boolean"==typeof e.writeAttribute?e.writeAttribute&&s.propertyTypes&&Object.prototype.hasOwnProperty.call(s.propertyTypes,r)&&(o=s.propertyTypes[r]):o=e.writeAttribute,void 0!==o&&(Array.isArray(s.propertiesToReflectAsAttributes)&&(!0===e.writeAttribute?s.propertiesToReflectAsAttributes.push(r):s.normalizePropertyTypeList&&(s.propertiesToReflectAsAttributes=s.normalizePropertyTypeList(s.propertiesToReflectAsAttributes))),s.propertiesToReflectAsAttributes instanceof Map&&s.propertiesToReflectAsAttributes.set(r,o),"object"==typeof s.propertiesToReflectAsAttributes&&(s.propertiesToReflectAsAttributes[r]=o)))),e.alias&&(Object.prototype.hasOwnProperty.call(s,"propertyAliases")||(s.propertyAliases=s.propertyAliases?i()({},s.propertyAliases):{}),!s.propertyAliases||!e.update&&Object.prototype.hasOwnProperty.call(s,r)||(s.propertyAliases[r]=e.alias))}}}},function(t){t.exports=e},function(e){e.exports=o},,function(e){e.exports=t},function(e){e.exports=i},function(e){e.exports=s}],u={};function c(e){var t=u[e];if(void 0!==t)return t.exports;var r=u[e]={exports:{}};return p[e](r,r.exports,c),r.exports}c.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return c.d(t,{a:t}),t},c.d=function(e,t){for(var r in t)c.o(t,r)&&!c.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},c.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},c.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var d={};c.r(d),c.d(d,{GenericHTMLElement:function(){return q},Web:function(){return D},api:function(){return I},log:function(){return M}});var h,f,b,_,y=c(5),m=c.n(y),v=c(8),g=c.n(v),w=c(0),A=c.n(w),T=c(3),P=c.n(T),E=c(9),O=c.n(E),S=(c(10),c(6)),C=c.n(S),N=c(1),x=c(2),k=c(4);function L(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return R(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?R(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var o=0;return function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function R(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,o=Array(t);r<t;r++)o[r]=e[r];return o}var M=new N.Logger({name:"web-component-wrapper-web"}),q="undefined"==typeof HTMLElement?function(){}:HTMLElement,D=(h=(0,k.default)({type:x.boolean,writeAttribute:!0}),_=function(e){function t(){var r;return(r=e.call(this)||this).batchAttributeUpdates=!0,r.batchPropertyUpdates=!0,r.batchUpdates=!0,r.batchedAttributeUpdateRunning=!0,r.batchedPropertyUpdateRunning=!0,r.batchedUpdateRunning=!0,r.parent=null,r.rootInstance=null,r.scope=A()({},N.UTILITY_SCOPE),r.domNodeEventBindings=new Map,r.domNodeTemplateCache=new Map,r.externalProperties={},r.ignoreAttributeUpdateObservations=!1,r.internalProperties={},r.outputEventNames=new Set,r.instance=null,g()(r,"isRoot",b,r),r.root=void 0,r.runDomConnectionAndRenderingInSameEventQueue=!1,r.self=t,r.slots={},r.self=r.constructor,r.self._propertiesToReflectAsAttributes||(r.self._propertiesToReflectAsAttributes=r.self.normalizePropertyTypeList(r.self.propertiesToReflectAsAttributes)),r.generateAliasIndex(),r.root=r,r.defineGetterAndSetterInterface(),r}P()(t,e);var r=t.prototype;return r.attributeChangedCallback=function(e,t,r){this.ignoreAttributeUpdateObservations||t===r||this.onUpdateAttribute(e,r)},r.onUpdateAttribute=function(e,t){var r=this;this.evaluateStringOrNullAndSetAsProperty(e,t),this.batchAttributeUpdates?this.batchedAttributeUpdateRunning||this.batchedUpdateRunning||(this.batchedAttributeUpdateRunning=!0,this.batchedUpdateRunning=!0,(0,N.timeout)((function(){r.batchedAttributeUpdateRunning=!1,r.batchedUpdateRunning=!1,r.render("attributeChanged")}))):this.render("attributeChanged")},r.connectedCallback=function(){var e=this;try{this.isConnected=!0}catch(e){}this.parent=this,this.rootInstance=this,this.attachEventHandler(),this.self.determineRootBinding&&this.determineRootBinding(),this.self.applyRootBinding&&this.isRoot&&(this.determineRenderScope(),this.applyBinding(this,this.scope)),this.batchedAttributeUpdateRunning=!1,this.batchedPropertyUpdateRunning=!1,this.batchedUpdateRunning=!1,this.grabGivenSlots(),this.reflectExternalProperties(this.externalProperties),this.runDomConnectionAndRenderingInSameEventQueue?this.render("connected"):(0,N.timeout)((function(){e.render("connected")}))},r.disconnectedCallback=function(){try{this.isConnected=!1}catch(e){}for(var e,t=L(this.domNodeEventBindings.values());!(e=t()).done;)for(var r,o=L(e.value.values());!(r=o()).done;)(0,r.value)();this.slots={}},r.defineGetterAndSetterInterface=function(){for(var e,t=this,r=function(){var r=e.value;Object.prototype.hasOwnProperty.call(t,r)&&t.setPropertyValue(r,t[r]),Object.defineProperty(t,r,{configurable:!0,get:function(){return t.getPropertyValue(r)},set:function(e){t.setPropertyValue(r,e),t.triggerPropertySpecificRendering(r,e)}})},o=L((0,N.unique)(Object.keys(this.self.propertyTypes).concat(this.self._propertyAliasIndex?Object.keys(this.self._propertyAliasIndex):[])));!(e=o()).done;)r()},r.getPropertyAlias=function(e){return this.self._propertyAliasIndex&&Object.prototype.hasOwnProperty.call(this.self._propertyAliasIndex,e)?this.self._propertyAliasIndex[e]:null},r.getPropertyValue=function(e){var r,o,i=null!=(r=this.instance)&&null!=(r=r.current)&&r.properties&&(Object.prototype.hasOwnProperty.call(!t.propertyTypes,e)||Object.prototype.hasOwnProperty.call(this.instance.current.properties,e))?this.instance.current.properties[e]:this.externalProperties[e];return null!=(o=this.instance)&&null!=(o=o.current)&&o.state&&Object.prototype.hasOwnProperty.call(this.instance.current.state,e)?this.instance.current.state[e]:i},r.setExternalPropertyValue=function(e,t){this.externalProperties[e]=t;var r=this.getPropertyAlias(e);r&&(this.externalProperties[r]=t)},r.setInternalPropertyValue=function(e,t){this.internalProperties[e]=t;var r=this.getPropertyAlias(e);r&&(this.internalProperties[r]=t)},r.setPropertyValue=function(e,t){var r;this.reflectProperties(((r={})[e]=t,r)),this.setInternalPropertyValue(e,t)},r.triggerPropertySpecificRendering=function(e,t){var r=this;if(this.batchPropertyUpdates)this.batchedPropertyUpdateRunning||this.batchedUpdateRunning||(this.batchedPropertyUpdateRunning=!0,this.batchedUpdateRunning=!0,(0,N.timeout)((function(){void 0!==t&&r.isStateProperty(e)?(r.render("preStatePropertyChanged"),(0,N.timeout)((function(){r.setInternalPropertyValue(e,void 0),r.batchedPropertyUpdateRunning=!1,r.batchedUpdateRunning=!1,r.render("postStatePropertyChanged"),r.triggerOutputEvents()}))):(r.batchedPropertyUpdateRunning=!1,r.batchedUpdateRunning=!1,r.render("propertyChanged"),r.triggerOutputEvents())})));else{var o=this.isStateProperty(e);this.render(o?"preStatePropertyChanged":"propertyChanged"),void 0!==t&&o&&(this.setInternalPropertyValue(e,void 0),this.render("postStatePropertyChanged")),this.triggerOutputEvents()}},r.applyBinding=function(e,t){var r=this;if(e.getAttributeNames)for(var o,i=function(){var i=o.value,n="";if(i.startsWith("data-bind-")?n=i.substring(10):i.startsWith("bind-")&&(n=i.substring(5)),n){var s=e.getAttribute(i);if(null===s)return 0;if(n.startsWith("attribute-")||n.startsWith("property-")){var a=(0,N.evaluate)(s,t,!1,!0,e);if(a.error)return M.warn("Error occurred during processing given",'attribute binding "'+i+'" on node:',e,a.error),0;n.startsWith("attribute-")?e.setAttribute(n.substring(10),a.result):e[(0,N.delimitedToCamelCase)(n.substring(9))]=a.result}else if(n.startsWith("on-")){n=(0,N.delimitedToCamelCase)(n.substring(3)),t=A()({log:M,event:void 0,parameters:void 0},t);var l=(0,N.compile)(s,t,!0,!0,e);l.error?M.warn("Error occurred during compiling given event",'binding "'+i+'" on node:',e,l.error):r.addSecureEventListener(e,n,(function(){for(var r=arguments.length,o=new Array(r),n=0;n<r;n++)o[n]=arguments[n];t.event=o[0],t.parameters=o;try{l.templateFunction.apply(l,l.originalScopeNames.map((function(e){return t[e]})))}catch(t){M.warn("Error occurred during processing","given event binding",'"'+i+'" on node:',e,'Given expression "'+s+'" could',"not be evaluated with given scope",'names "'+l.scopeNames.join('", "')+'": '+(0,N.represent)(t))}}))}}},n=L(e.getAttributeNames());!(o=n()).done;)i()},r.applyBindings=function(e,t,r){for(void 0===r&&(r=!0);e;){var o;null==(o=e.attributes)||!o.length||!r&&e.getAttribute("slot")||this.applyBinding(e,t),e.nodeName.toLowerCase().includes("-")||this.applyBindings(e.firstChild,t),e=e.nextSibling}},r.compileDomNodeTemplate=function(e,t,r){void 0===t&&(t=[]),void 0===r&&(r={}),r=A()({ignoreComponents:!0,ignoreNestedComponents:!0,unsafe:this.self.renderUnsafe},r);var o=e.nodeName.toLowerCase();if(r.ignoreComponents&&o.includes("-"))return null;if(r.unsafe){var i=e.innerHTML;if(!i&&e.template&&(i=e.template),this.self.hasCode(i)){var n=(0,N.compile)("`"+i+"`",t);return{domNode:e,children:[],error:n.error,scopeNames:n.scopeNames,template:i,templateFunction:n.templateFunction}}return null}var s=null;if("#text"===o){var a=e.textContent;a&&this.self.hasCode(a)&&(s=a.replace(/&nbsp;/g," ").trim())}var l=[],p={children:l,domNode:e};if(s){var u=(0,N.compile)("`"+s+"`",t);p.error=u.error,p.scopeNames=u.scopeNames,p.template=s,p.templateFunction=u.templateFunction}for(var c=e.firstChild;c;){if(!r.filter||r.filter(c)){var d=this.compileDomNodeTemplate(c,t,A()({},r,{ignoreComponents:r.ignoreNestedComponents}));d&&l.push(d)}c=c.nextSibling}return p},r.evaluateCompiledDomNodeTemplate=function(e,t){var r=e.domNode,o=e.error,i=e.templateFunction,n=e.scopeNames;if(!i||!n)return null;if(o)return M.warn("Error occurred during compiling node content:",o),null;var s=null;try{s=i.apply(void 0,n.map((function(e){return t[e]})))}catch(o){M.warn('Error occurred when "'+this.self._name+'" is running','"'+String(i)+'": with bound','names "'+n.join('", "')+'":','"'+o+'". Rendering node:',r)}return s},r.evaluateDomNodeTemplate=function(e,t,r){var o=this;void 0===t&&(t={}),void 0===r&&(r={});var i=(r=A()({domNodeTemplateCache:this.domNodeTemplateCache,ignoreComponents:!0,ignoreNestedComponents:!0,unsafe:this.self.renderUnsafe},r)).domNodeTemplateCache;if(!i.has(e)){var n={filter:r.filter,ignoreComponents:r.ignoreComponents,ignoreNestedComponents:r.ignoreNestedComponents,unsafe:r.unsafe},s=this.compileDomNodeTemplate(e,t,n);s&&i.set(e,s)}if(i.has(e)){var a=i.get(e),l=this.evaluateCompiledDomNodeTemplate(a,t);if(null!==l&&(r.unsafe&&e.innerHTML?e.innerHTML=l:e.textContent=l),a.children.length){var p=function(e){for(var r,i=L(e);!(r=i()).done;){var n=r.value,s=o.evaluateCompiledDomNodeTemplate(n,t);null!==s&&(n.domNode.textContent=s),n.children.length&&p(n.children)}};p(a.children)}}r.applyBindings&&this.applyBindings(e,t)},t.replaceDomNodes=function(e,r){for(var o,i=L([].concat(r).reverse());!(o=i()).done;){var n,s=o.value;t.trimSlots&&s.nodeType===Node.TEXT_NODE&&""===(null==(n=s.nodeValue)?void 0:n.trim())||e.after(s)}e.remove()},t.unwrapDomNode=function(e){for(var t=e.parentNode,r=[];e.firstChild;)r.push(e.firstChild),t.insertBefore(e.firstChild,e);return t.removeChild(e),r},r.addSecureEventListener=function(e,t,r){var o=this;this.domNodeEventBindings.has(e)||this.domNodeEventBindings.set(e,new Map);var i=this.domNodeEventBindings.get(e),n=null==i?void 0:i.get(t);n&&n!==r&&n(),null==i||i.set(t,(function(){e.removeEventListener(t,r),i.delete(t),0===i.size&&o.domNodeEventBindings.delete(e)})),e.addEventListener(t,r)},r.determineRootBinding=function(){for(var e=this.parentNode;e;)(e instanceof t||e.nodeName.includes("-")||null===e.parentNode&&"[object ShadowRoot]"===e.toString())&&(this.rootInstance===this?(this.parent=e,this.rootInstance=e,this.setPropertyValue("isRoot",!1)):this.rootInstance=e),e=e.parentNode},t.hasCode=function(e){return"string"==typeof e&&e.includes("${")&&e.includes("}")&&/\${[\s\S]+}/.test(e)},t.normalizePropertyTypeList=function(e){if("string"==typeof e&&(e=[e]),Array.isArray(e)){for(var r,o=e,i=new Map,n=L(o);!(r=n()).done;){var s=r.value;Object.prototype.hasOwnProperty.call(t.propertyTypes,s)&&i.set(s,t.propertyTypes[s])}return i}return(0,N.convertPlainObjectToMap)(e)},r.attachEventHandler=function(){if(null!==this.self.eventToPropertyMapping){var e=this.attachExplicitDefinedOutputEventHandler();this.attachImplicitDefinedOutputEventHandler(!e)}},r.attachExplicitDefinedOutputEventHandler=function(){var e=this;if(!this.self.eventToPropertyMapping)return!1;for(var t=!1,r=function(){var r=i[o];Object.prototype.hasOwnProperty.call(e.internalProperties,r)||(t=!0,e.outputEventNames.add(r),e.setInternalPropertyValue(r,m()(C().mark((function t(){var o,i,n,s,a=arguments;return C().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:for(o=a.length,i=new Array(o),n=0;n<o;n++)i[n]=a[n];return t.next=1,e.reflectEventToProperties(r,i);case 1:(s=t.sent)&&(i[0]=s),e.forwardEvent(r,i);case 2:case"end":return t.stop()}}),t)})))))},o=0,i=Object.keys(this.self.eventToPropertyMapping);o<i.length;o++)r();return t},r.attachImplicitDefinedOutputEventHandler=function(e){var t=this;void 0===e&&(e=!0);for(var r=function(){var r=i[o],n=r[0],s=r[1];Object.prototype.hasOwnProperty.call(t.internalProperties,n)||![x.func,"function"].includes(s)||t.self.renderProperties.includes(n)||(t.outputEventNames.add(n),t.setInternalPropertyValue(n,(function(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];e&&t.reflectEventToProperties(n,o),t.forwardEvent(n,o)})))},o=0,i=Object.entries(this.self.propertyTypes);o<i.length;o++)r()},r.triggerOutputEvents=function(){for(var e,t=L(this.outputEventNames);!(e=t()).done;){var r=e.value;this.forwardEvent(r,[this.externalProperties])}},r.forwardEvent=function(e,t){return e.length>3&&e.startsWith("on")&&(e=(0,N.lowerCase)(e.substring(2))),this.dispatchEvent(new CustomEvent(e,{detail:{parameters:t}}))},r.applySlots=function(e,t){for(var r=this,o=0,i=Array.from(e.querySelectorAll("slot"));o<i.length;o++){var n=i[o],s=n.getAttribute("name");if(null===s||"default"===s)if(this.slots.default){if(this.self.renderSlots){if(this.self.evaluateSlots)for(var a,l=L(this.slots.default);!(a=l()).done;){var p=a.value;this.evaluateDomNodeTemplate(p,t)}this.self.replaceDomNodes(n,this.slots.default)}}else this.slots.default=this.self.unwrapDomNode(n).map((function(e){return r.grabSlotContent(e)}));else this.slots[s]?this.self.renderSlots&&(this.self.evaluateSlots&&this.evaluateDomNodeTemplate(this.slots[s],t),this.self.replaceDomNodes(n,this.slots[s])):this.slots[s]=this.grabSlotContent(this.self.unwrapDomNode(n).filter((function(e){return"#text"!==e.nodeName.toLowerCase()}))[0])}},r.grabSlotContent=function(e){var t,r=x.node.firstElementChild?e:null;if(r&&"textarea"===(null==(t=r.firstElementChild)?void 0:t.nodeName.toLowerCase())&&(!r.firstElementChild.hasAttribute("data-no-template")||"false"===r.firstElementChild.getAttribute("data-no-template"))){var o=r.firstElementChild.value;r.classList.remove("web-component-template");var i=r.cloneNode();return r.classList.add("web-component-template"),i.innerHTML="",i.template=o,i}return this.self.cloneSlots?e.cloneNode(!0):e},r.grabGivenSlots=function(){var e=this;this.slots={};for(var t=0,r=Array.from(this.querySelectorAll("[slot]"));t<r.length;t++){for(var o,i=r[t],n=i.parentNode,s=!0;n;){if(n.nodeName.includes("-")){n===this&&(s=!1);break}n=n.parentNode}if(!s){var a=null==(o=i.getAttribute("slot"))?void 0:o.trim();this.slots[null!=a?a:i.nodeName.toLowerCase()]=this.grabSlotContent(i)}}this.slots.default?this.slots.default=[].concat(this.slots.default):this.childNodes.length>0?this.slots.default=Array.from(this.childNodes).map((function(t){return e.grabSlotContent(t)})):this.slots.default=[]},r.isStateProperty=function(e){var t;return Boolean((null==(t=this.instance)||null==(t=t.current)?void 0:t.state)&&(Object.prototype.hasOwnProperty.call(this.instance.current.state,e)||this.instance.current.state.modelState&&Object.prototype.hasOwnProperty.call(this.instance.current.state.modelState,e)))},r.generateAliasIndex=function(){if(!this.self._propertyAliasIndex){this.self._propertyAliasIndex=A()({},this.self.propertyAliases);for(var e=0,t=Object.entries(this.self._propertyAliasIndex);e<t.length;e++){var r=t[e],o=r[0],i=r[1];Object.prototype.hasOwnProperty.call(this.self._propertyAliasIndex,i)||(this.self._propertyAliasIndex[i]=o)}}},r.reflectExternalProperties=function(e){this.ignoreAttributeUpdateObservations=!0;for(var t=0,r=Object.entries(e);t<r.length;t++){var o,i=r[t],n=i[0],s=i[1];if(this.setExternalPropertyValue(n,s),this.isConnected){var a=(0,N.camelCaseToDelimited)(n);if(null!=(o=this.self._propertiesToReflectAsAttributes)&&o.has(n))switch(this.self._propertiesToReflectAsAttributes.get(n)){case x.boolean:case"boolean":s?""!==this.getAttribute(a)&&this.setAttribute(a,""):this.hasAttribute(a)&&this.removeAttribute(a);break;case x.func:case"function":break;case"json":if(s){var l=JSON.stringify(s);if(l&&this.getAttribute(a)!==l){this.setAttribute(a,l);break}}this.hasAttribute(a)&&this.removeAttribute(a);break;case x.number:case"number":if("number"!=typeof s||isNaN(s))this.hasAttribute(a)&&this.removeAttribute(a);else{var p=String(s);this.getAttribute(a)!==p&&this.setAttribute(a,p)}break;case x.string:case"string":s?this.getAttribute(a)!==s&&this.setAttribute(a,s):this.hasAttribute(a)&&this.removeAttribute(a);break;case x.any:case x.array:case x.arrayOf:case x.element:case x.elementType:case x.instanceOf:case x.node:case x.object:case"object":case x.objectOf:case x.shape:case x.exact:case x.symbol:default:if(s){var u=(0,N.represent)(s);if(u&&this.getAttribute(a)!==u){this.setAttribute(a,u);break}}this.hasAttribute(a)&&this.removeAttribute(a)}}}this.ignoreAttributeUpdateObservations=!1},r.reflectProperties=function(e){var t,r;if(this.reflectExternalProperties(e),null!=(t=this.instance)&&null!=(t=t.current)&&t.state&&"object"==typeof this.instance.current.state)for(var o,i=L(Object.keys(this.instance.current.state).concat(this.instance.current.state.modelState?Object.keys(this.instance.current.state.modelState):[]));!(o=i()).done;){var n=o.value;Object.prototype.hasOwnProperty.call(this.internalProperties,n)&&this.setInternalPropertyValue(n,void 0)}null!=(r=this.internalProperties.model)&&r.state&&(delete this.internalProperties.model.state,this.setInternalPropertyValue("model",this.internalProperties.model));for(var s,a=L(this.self.controllableProperties);!(s=a()).done;){var l=s.value;Object.prototype.hasOwnProperty.call(e,l)&&this.setInternalPropertyValue(l,e[l])}},r.reflectEventToProperties=function(){var e=m()(C().mark((function e(t,r){var o,i,n,s,a,l,p,u,c,d,h,f,b,_,y,m,v;return C().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=this.batchUpdates,this.batchUpdates=!1,i=null,n=!1,!(this.self.eventToPropertyMapping&&Object.prototype.hasOwnProperty.call(this.self.eventToPropertyMapping,t)&&(0,N.isFunction)(this.self.eventToPropertyMapping[t]))){e.next=4;break}if(!((a=(s=this.self.eventToPropertyMapping)[t].apply(s,r.concat([this])))&&"then"in a&&(0,N.isFunction)(a.then))){e.next=2;break}return e.next=1,a;case 1:v=e.sent,e.next=3;break;case 2:v=a;case 3:l=v,n=!0,Array.isArray(l)?(i=l[0],this.reflectProperties(i),(0,N.extend)(!0,this.internalProperties,l[1])):null===l?n=!1:"object"==typeof l&&(i=l,this.reflectProperties(l));case 4:if(!n&&r.length>0&&(0,N.isObject)(r[0])){if(u=r[0],"persist"in r[0]&&(0,N.isFunction)(r[0].persist))for(u={},c=0,d=Object.keys(this.self.propertyTypes);c<d.length;c++)for(h=d[c],f=L([h].concat(null!==(_=this.getPropertyAlias(h))&&void 0!==_?_:[]));!(b=f()).done;)y=b.value,(m=r[0].currentTarget&&Object.prototype.hasOwnProperty.call(r[0].currentTarget,y)?r[0].currentTarget[y]:this.getPropertyValue(y))!==this.externalProperties[y]&&(u[y]=m);else[null,void 0].includes(null==(p=u.detail)?void 0:p.value)||(u=A()({},u.detail));i=u,this.reflectProperties(u)}return this.triggerRender("propertyReflected"),this.batchUpdates=o,e.abrupt("return",i);case 5:case"end":return e.stop()}}),e,this)})));return function(t,r){return e.apply(this,arguments)}}(),r.evaluateStringOrNullAndSetAsProperty=function(e,t){var r=this,o=e.startsWith("-"),i=o?e.substring(1):e,n=(0,N.delimitedToCamelCase)(i),s=this.getPropertyAlias(n);if(s&&Object.prototype.hasOwnProperty.call(this.self.propertyTypes,s)&&(n=s),Object.prototype.hasOwnProperty.call(this.self.propertyTypes,n)){var a=this.self.propertyTypes[n];if(o){if(t){var l=(0,N.evaluate)(t,A()({},N.UTILITY_SCOPE),!1,!0,this);l.error?(M.warn("Failed to process pre-evaluation attribute",'"'+e+'": '+l.error+". Will be",'set to "undefined".'),this.setInternalPropertyValue(n,void 0)):(this.setInternalPropertyValue(n,l.result),this.setExternalPropertyValue(n,l.result))}}else switch(a){case x.boolean:case"boolean":var p=![null,"false"].includes(t);this.setInternalPropertyValue(n,p),this.setExternalPropertyValue(n,p);break;case x.func:case"function":var u,c=null,d=["data","event","firstArgument","firstParameter","options","scope","parameters"].concat(N.UTILITY_SCOPE_NAMES);if(t){var h=(0,N.compile)(t,d);c=h.error,u=h.templateFunction,c&&M.warn("Failed to compile given handler",'"'+e+'": '+c+".")}this.setInternalPropertyValue(n,(function(){for(var o=arguments.length,i=new Array(o),s=0;s<o;s++)i[s]=arguments[s];r.outputEventNames.has(n)&&r.reflectEventToProperties(n,i);var a=void 0;if(!c)try{var l;a=null==(l=u)?void 0:l.call.apply(l,[r,i[0],i[0],i[0],i[0],i[0],i[0],i].concat(N.UTILITY_SCOPE_VALUES))}catch(r){M.warn("Failed to evaluate function",'"'+e+'" with expression','"'+t+'" and scope',"variables",'"'+d.join('", "')+'" set to','"'+(0,N.represent)(i)+'":',r+". Set property",'to "undefined".')}return r.self.renderProperties.includes(n)||r.forwardEvent(n,i),a})),c||this.setExternalPropertyValue(n,u);break;case"json":if(t){var f;try{f=JSON.parse(t)}catch(c){M.warn("Error occurred during parsing given json",'attribute "'+e+'":',(0,N.represent)(c));break}this.setInternalPropertyValue(n,f),this.setExternalPropertyValue(n,(0,N.copy)(f,!1,1))}else this.setInternalPropertyValue(n,null),this.setExternalPropertyValue(n,null);break;case x.number:case"number":if(null===t){this.setInternalPropertyValue(n,t),this.setExternalPropertyValue(n,t);break}var b=parseFloat(t);isNaN(b)&&(b=void 0),this.setInternalPropertyValue(n,b),this.setExternalPropertyValue(n,b);break;case x.string:case"string":this.setInternalPropertyValue(n,t),this.setExternalPropertyValue(n,t);break;case x.any:case x.array:case x.arrayOf:case x.element:case x.elementType:case x.instanceOf:case x.node:case x.object:case"object":case x.objectOf:case x.oneOf:case x.oneOfType:case x.shape:case x.exact:case x.symbol:default:if(t){var _=(0,N.evaluate)(t,{},!1,!0,this);if(_.error){M.warn("Error occurred during processing given",'attribute configuration "'+e+'":',_.error);break}this.setInternalPropertyValue(n,_.result),this.setExternalPropertyValue(n,(0,N.copy)(_.result,!1,1))}else this.hasAttribute(e)?(this.setInternalPropertyValue(n,!0),this.setExternalPropertyValue(n,!0)):(this.setInternalPropertyValue(n,null),this.setExternalPropertyValue(n,null))}}},r.triggerRender=function(e){var t=this;this.batchUpdates?this.batchedUpdateRunning||(this.batchedUpdateRunning=!0,(0,N.timeout)((function(){t.batchedUpdateRunning=!1,t.render(e)}))):this.render(e)},r.applyShadowRootIfNotExisting=function(){this.self.shadowDOM&&this.root===this&&(this.root=(!("attachShadow"in this)&&"ShadyDOM"in window?window.ShadyDOM.wrap(this):this).attachShadow((0,N.isObject)(this.self.shadowDOM)?this.self.shadowDOM:{mode:"open"}))},r.determineRenderScope=function(e){var t,r;void 0===e&&(e={}),this.scope=A()({},(null==(t=this.parent)?void 0:t.scope)||{},this.scope,this.internalProperties,((r={parent:this.parent,root:this.rootInstance,self:this})[(0,N.lowerCase)(this.self._name)||"instance"]=this,r),e),this.scope.scope=this.scope},r.render=function(e){if(void 0===e&&(e="unknown"),this.determineRenderScope(),!this.dispatchEvent(new CustomEvent("render",{detail:{reason:e,scope:this.scope}})))return Promise.resolve();var t=(0,N.evaluate)("`"+this.self.content+"`",this.scope);if(t.error)return M.warn("Failed to process template: "+t.error),Promise.resolve();this.applyShadowRootIfNotExisting();var r=document.createElement("div");return r.innerHTML=t.result,this.applySlots(r,A()({},this.scope,{parent:this})),this.root.innerHTML=r.innerHTML,this.applyBindings(this.root.firstChild,this.scope,this.self.renderSlots),Promise.resolve()},t}(q),_.applyRootBinding=!0,_.content="<slot>Please provide a template to transclude.</slot>",_.determineRootBinding=!0,_.shadowDOM=null,_.observedAttributes=[],_.controllableProperties=[],_.eventToPropertyMapping={},_.propertyAliases={},_.propertyTypes={onClick:x.func},_.propertiesToReflectAsAttributes=[],_.renderProperties=["children"],_.cloneSlots=!1,_.evaluateSlots=!1,_.renderSlots=!0,_.trimSlots=!0,_.renderUnsafe=!1,_._name="BaseWeb",_._propertyAliasIndex=void 0,_._propertiesToReflectAsAttributes=void 0,f=_,b=O()(f.prototype,"isRoot",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!0}}),f),I={component:D,register:function(e){void 0===e&&(e=(0,N.camelCaseToDelimited)(D._name)),customElements.define(e,D)}};return d.default=D,d}())},e=>{e.exports=__WEBPACK_EXTERNAL_MODULE__4__},e=>{e.exports=__WEBPACK_EXTERNAL_MODULE__5__},e=>{e.exports=__WEBPACK_EXTERNAL_MODULE__6__},e=>{e.exports=__WEBPACK_EXTERNAL_MODULE__7__},,,,e=>{e.exports=__WEBPACK_EXTERNAL_MODULE__11__},e=>{e.exports=__WEBPACK_EXTERNAL_MODULE__12__},e=>{e.exports=__WEBPACK_EXTERNAL_MODULE__13__}],__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var r=__webpack_module_cache__[e]={id:e,loaded:!1,exports:{}};return __webpack_modules__[e].call(r.exports,r,r.exports,__webpack_require__),r.loaded=!0,r.exports}__webpack_require__.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return __webpack_require__.d(t,{a:t}),t},__webpack_require__.d=(e,t)=>{for(var r in t)__webpack_require__.o(t,r)&&!__webpack_require__.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),__webpack_require__.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__webpack_require__.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var __webpack_exports__={};return(()=>{__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{WebsiteUtilities:()=>z,api:()=>F,default:()=>H,log:()=>W});var e,t,r,o,i,n,s,a,l,p,u,c,d,h,f,b,_,y,m,v,g,w,A,T,P,E,O,S,C,N,x,k,L,R,M=__webpack_require__(4),q=__webpack_require__.n(M),D=__webpack_require__(5),I=__webpack_require__.n(D),j=(__webpack_require__(6),__webpack_require__(0)),U=__webpack_require__(1),B=__webpack_require__(2),V=__webpack_require__(3);const W=new j.Logger({name:"website-utilities"});let z=(e=(0,B.property)({type:U.object}),t=(0,B.property)({type:U.func}),r=(0,B.property)({type:U.func}),o=(0,B.property)({type:U.func}),i=(0,B.property)({type:U.func}),n=(0,B.property)({type:U.func}),s=(0,B.property)({type:U.func}),a=(0,B.property)({type:U.func}),l=(0,B.property)({type:U.func}),p=(0,B.property)({type:U.func}),u=(0,B.property)({type:U.func}),c=(0,B.property)({type:U.func}),d=(0,B.property)({type:U.func}),h=(0,B.property)({type:U.func}),f=(0,B.property)({type:U.func}),b=(0,B.property)({type:U.func}),R=class e extends V.Web{constructor(){super(),this.self=e,q()(this,"options",y,this),q()(this,"onChangeMediaQueryMode",m,this),q()(this,"onChangeToExtraSmallMode",v,this),q()(this,"onChangeToLargeMode",g,this),q()(this,"onChangeToMediumMode",w,this),q()(this,"onChangeToSmallMode",A,this),q()(this,"onStartUpAnimationComplete",T,this),q()(this,"onSwitchSection",P,this),q()(this,"onViewportMovesAwayFromTop",E,this),q()(this,"onViewportMovesToTop",O,this),q()(this,"onSwitchToManualScrollingIndicator",S,this),q()(this,"onLoaded",C,this),q()(this,"onButtonClick",N,this),q()(this,"onSectionSwitch",x,this),q()(this,"onLinkClick",k,this),q()(this,"onTrack",L,this),this.currentSectionName="home",this.startUpAnimationIsComplete=!1,this.continueAutoScrolling=!1,this.viewportIsOnTop=void 0,this.windowLoaded=!1,this.scrollToTopButtonDomNodes=null,this.sectionDomNode=null,this.sectionDomNodes={},this.topDomNode=null,this.windowLoadingCoverDomNode=null,this.defineGetterAndSetterInterface()}onUpdateAttribute(e,t){super.onUpdateAttribute(e,t),"options"===e&&(this.options=(0,j.extend)(!0,{},this.self._defaultOptions,this.options))}async render(e){await super.render(e),0===Object.keys(this.options).length&&this.onUpdateAttribute("options","{}"),this.grabDomNodes(),this.disableScrolling(),this._bindScrollEvents(),this._bindClickTracking(),this._bindNavigationEvents();const t=()=>{this.windowLoaded||(this.windowLoaded=!0,this._removeLoadingCover().then((()=>{this._performStartUpEffects(),this.onLoaded()})))};(0,j.onDocumentReady)((()=>{(0,j.timeout)(t,this.options.windowLoadedTimeoutAfterDocLoadedInMSec)})),j.globalContext.window&&this.addSecureEventListener(j.globalContext.window,"load",t),await this._initializeRouting()}grabDomNodes(){var e;this.topDomNode=this.root.querySelector(this.options.selectors.top),this.scrollToTopButtonDomNodes=this.root.querySelectorAll(this.options.selectors.scrollToTopButtons),this.sectionDomNode=this.root.querySelector(this.options.selectors.section);for(const e of null!==(t=this.sectionDomNode?.children)&&void 0!==t?t:[]){var t;const r=e.getAttribute("data-website-utilities-section");r&&this.options.sectionNames.includes(r)&&(this.sectionDomNodes[r]=e)}this.windowLoadingCoverDomNode=null!==(e=this.root.parentElement?.querySelector(this.options.selectors.windowLoadingCover))&&void 0!==e?e:null}interruptableScrollToTop(){const e=window.pageYOffset,t=performance.now();this.continueAutoScrolling=!0;const r=o=>{if(!this.continueAutoScrolling)return;const i=o-t,n=Math.min(i/500,1),s=n*(2-n);window.scrollTo(0,e*(1-s)),n<1?requestAnimationFrame(r):this.continueAutoScrolling=!1};requestAnimationFrame(r)}scrollToTop(){j.globalContext.document&&window.scrollTo({top:0,behavior:"smooth"})}disableScrolling(){this.root.parentElement&&(this.root.parentElement.classList.add("disable-scrolling"),this.addSecureEventListener(this.root.parentElement,"touchmove",j.preventDefault))}enableScrolling(){this.root.parentElement&&(this.root.parentElement.classList.remove("disable-scrolling"),this.root.parentElement.classList.remove("touchmove"),this.root.parentElement.removeEventListener("touchmove",j.preventDefault))}async track(e){if(j.globalContext.window?.location&&this.options.tracking){const t={context:`${j.globalContext.window.location.pathname}#`+this.currentSectionName,...e};("number"!=typeof t.value||isNaN(t.value))&&(t.value=1),W.debug('Run tracking code: "event" with arguments:'),W.debug(t);try{await this.onTrack(t)}catch(e){W.warn(`Problem in tracking "${(0,j.represent)(t)}":`,(0,j.represent)(e))}}}_onViewportMovesToTop(){this._finishScrollToTopButtonTransition();for(const t of null!==(e=this.scrollToTopButtonDomNodes)&&void 0!==e?e:[]){var e;const r=()=>{t.removeEventListener("transitionend",o),t.removeEventListener("transitioncancel",r)},o=()=>{this.viewportIsOnTop&&t.classList.add("wu-top-settled"),r()};t.addEventListener("transitionend",o,{once:!0}),t.addEventListener("transitioncancel",r,{once:!0}),t.classList.add("wu-scroll-up")}}async _onViewportMovesAwayFromTop(){this._finishScrollToTopButtonTransition("wu-top-settled"),await(0,j.timeout)(),this._finishScrollToTopButtonTransition();for(const t of null!==(e=this.scrollToTopButtonDomNodes)&&void 0!==e?e:[]){var e;t.classList.add("wu-scroll-down")}}async switchSection(e,t){if(j.globalContext.window&&"location"in j.globalContext.window&&Object.prototype.hasOwnProperty.call(this.sectionDomNodes,e)){this.currentSectionName===e?(this.sectionDomNodes[this.currentSectionName].style.display="none",this.sectionDomNodes[e].style.display="block"):(this.interruptableScrollToTop(),await(0,j.fadeOut)(this.sectionDomNodes[this.currentSectionName]),this.sectionDomNodes[this.currentSectionName].style.display="none",this.sectionDomNodes[e].style.display="block",await(0,j.fadeIn)(this.sectionDomNodes[e]));const r=this.currentSectionName;this.currentSectionName=e,W.debug(`Run section switch from "${r}" to`,`"${this.currentSectionName}".`);try{await this.onSectionSwitch.call(this,this.currentSectionName,r,t)}catch(e){W.warn("Problem due to call section switch callback on section",`"${this.currentSectionName}": ${(0,j.represent)(e)}`)}}}_initializeRouting(){this.currentSectionName=this.options.initialSectionName;const e=j.globalContext.location?.hash&&this.options.initialSectionName!==j.globalContext.location.hash.substring(1)?j.globalContext.location.hash.substring(1):this.currentSectionName;return this.switchSection(e)}_finishScrollToTopButtonTransition(e=["wu-scroll-down","wu-scroll-up"]){for(const r of null!==(t=this.scrollToTopButtonDomNodes)&&void 0!==t?t:[]){var t;r.classList.remove(...[].concat(e))}}_bindScrollEvents(){if(j.globalContext.document){for(const e of[j.globalContext.document.body,j.globalContext.document.querySelector("html"),j.globalContext.window])for(const t of this.options.knownScrollEventNames)e&&this.addSecureEventListener(e,t,(e=>{this.onSwitchToManualScrollingIndicator(e)&&(this.continueAutoScrolling=!1)}));if(j.globalContext.window&&this.addSecureEventListener(j.globalContext.window,"scroll",(e=>{j.globalContext.window?.scrollY?this.viewportIsOnTop&&(this.viewportIsOnTop=!1,this._onViewportMovesAwayFromTop().then(this.onViewportMovesAwayFromTop.bind(this,e))):this.viewportIsOnTop||(this.viewportIsOnTop=!0,this._onViewportMovesToTop(),this.onViewportMovesToTop.call(this,e))})),j.globalContext.window?.scrollY)this.viewportIsOnTop=!1,this._onViewportMovesAwayFromTop().then((()=>{this.onViewportMovesAwayFromTop.call(this)}));else{this.viewportIsOnTop=!0;for(const t of null!==(e=this.scrollToTopButtonDomNodes)&&void 0!==e?e:[]){var e;t.classList.add("wu-top-settled")}this._onViewportMovesToTop(),this.onViewportMovesToTop.call(this)}}}async _removeLoadingCover(){await(0,j.timeout)(this.options.additionalPageLoadingTimeInMilliseconds);for(const e of this.root.querySelectorAll(`[class^="${this.options.selectors.startUpAnimationClassPrefix}"], [class*=" ${this.options.selectors.startUpAnimationClassPrefix}"]`))e.style.opacity="0";this.windowLoadingCoverDomNode&&(this.enableScrolling(),await(0,j.fadeOut)(this.windowLoadingCoverDomNode))}async _performStartUpEffects(){const e=[];let t=1;for(;;){const r=this.root.querySelectorAll("."+this.options.selectors.startUpAnimationClassPrefix+String(t));if(0===r.length){await Promise.all(e),this.startUpAnimationIsComplete=!0,this.onStartUpAnimationComplete.call(this);break}await(0,j.timeout)(this.options.startUpAnimationElementDelayInMilliseconds);for(const t of r)e.push((0,j.fadeIn)(t));t+=1}}_bindNavigationEvents(){j.globalContext.window&&this.addSecureEventListener(j.globalContext.window,"hashchange",(e=>{this.startUpAnimationIsComplete&&this.switchSection(location.hash.substring(1),e)})),this._bindScrollToTopButton()}_bindScrollToTopButton(){for(const e of this.scrollToTopButtonDomNodes||[])this.addSecureEventListener(e,"click",(e=>{e.preventDefault(),this.interruptableScrollToTop()}))}_bindClickTracking(){if(this.options.tracking){for(const e of this.root.querySelectorAll("a"))this.addSecureEventListener(e,"click",this.onButtonClick.bind(this));for(const e of this.root.querySelectorAll("button"))this.addSecureEventListener(e,"click",this.onButtonClick.bind(this))}}},R._name="WebsiteUtilities",R._defaultOptions={additionalPageLoadingTimeInMilliseconds:0,startUpAnimationElementDelayInMilliseconds:100,windowLoadedTimeoutAfterDocLoadedInMSec:2e3,domain:"auto",initialSectionName:"home",knownScrollEventNames:["DOMMouseScroll","keyup","mousedown","mousewheel","scroll","touchmove","wheel"],mediaQueryClassNameIndicator:[["extraSmall","xs"],["small","sm"],["medium","md"],["large","lg"]],sectionNames:["home"],selectors:{scrollToTopButtons:".wu-scroll-to-top",section:".wu-section",startUpAnimationClassPrefix:"wu-start-up-animation-number-",top:".wu-header",windowLoadingCover:".wu-window-loading-cover"},tracking:!1},_=R,y=I()(_.prototype,"options",[e],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return{}}}),m=I()(_.prototype,"onChangeMediaQueryMode",[t],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return j.NOOP}}),v=I()(_.prototype,"onChangeToExtraSmallMode",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return j.NOOP}}),g=I()(_.prototype,"onChangeToLargeMode",[o],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return j.NOOP}}),w=I()(_.prototype,"onChangeToMediumMode",[i],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return j.NOOP}}),A=I()(_.prototype,"onChangeToSmallMode",[n],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return j.NOOP}}),T=I()(_.prototype,"onStartUpAnimationComplete",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return j.NOOP}}),P=I()(_.prototype,"onSwitchSection",[a],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return j.NOOP}}),E=I()(_.prototype,"onViewportMovesAwayFromTop",[l],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return j.NOOP}}),O=I()(_.prototype,"onViewportMovesToTop",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return j.NOOP}}),S=I()(_.prototype,"onSwitchToManualScrollingIndicator",[u],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return()=>!0}}),C=I()(_.prototype,"onLoaded",[c],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return j.NOOP}}),N=I()(_.prototype,"onButtonClick",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return function(e){const t=e.target,r=(0,j.getText)(t).join(" ");this.onTrack({event:"buttonClick",eventType:"click",label:r,reference:t.getAttribute("action")||t.getAttribute("target")||t.getAttribute("type")||r,subject:"button",value:parseInt(t.getAttribute("website-analytics-value")||"1"),userInteraction:!0})}}}),x=I()(_.prototype,"onSectionSwitch",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return async function(e,t,r){j.globalContext.window?.location&&await this.onTrack({event:"sectionSwitch",eventType:"sectionSwitch",label:e,reference:`${j.globalContext.window.location.pathname}#${e}`,subject:"url",userInteraction:!1})}}}),k=I()(_.prototype,"onLinkClick",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return function(e){const t=e.target,r=(0,j.getText)(t).join(" ");this.onTrack({event:"linkClick",eventType:"click",label:r,reference:t.getAttribute("href")||t.getAttribute("action")||t.getAttribute("target")||t.getAttribute("type")||r,subject:"link",value:parseInt(t.getAttribute("website-analytics-value")||"1"),userInteraction:!0})}}}),L=I()(_.prototype,"onTrack",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return function(e){return this.options.tracking&&j.globalContext.dataLayer?.push(e),Promise.resolve()}}}),_);const F={component:z,register:(e=(0,j.camelCaseToDelimited)(z._name))=>{customElements.define(e,z)}},H=z;j.globalContext.AUTO_DEFINE_WEBSITE_UTILITIES&&F.register()})(),__webpack_exports__})()));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "website-utilities",
3
- "version": "1.0.385",
3
+ "version": "1.0.386-2",
4
4
  "description": "extend your web app",
5
5
  "keywords": [
6
6
  "website",
@@ -56,7 +56,7 @@
56
56
  "test:browser": "weboptimizer test:browser",
57
57
  "test:coverage": "weboptimizer test:coverage",
58
58
  "test:coverage:report": "weboptimizer test:coverage:report",
59
- "update:documentation": "documentation-website",
59
+ "update:documentation": "web-documentation",
60
60
  "watch": "weboptimizer build --watch"
61
61
  },
62
62
  "devDependencies": {
@@ -73,10 +73,9 @@
73
73
  "@typescript-eslint/eslint-plugin": "^8.59.0",
74
74
  "@typescript-eslint/parser": "^8.59.0",
75
75
  "@webcomponents/webcomponentsjs": "^2.8.0",
76
- "clientnode": "^4.0.1387",
76
+ "clientnode": "^4.0.1388",
77
77
  "css-loader": "^7.1.4",
78
78
  "cssnano": "^7.1.7",
79
- "documentation-website": "^1.0.401",
80
79
  "eslint": "^10.2.1",
81
80
  "eslint-config-google": "^0.14.0",
82
81
  "eslint-plugin-jsdoc": "^62.9.0",
@@ -98,8 +97,9 @@
98
97
  "stylelint": "^17.8.0",
99
98
  "stylelint-config-standard-scss": "^17.0.0",
100
99
  "typescript-eslint": "^8.59.0",
101
- "web-component-wrapper": "^0.0.558",
102
- "weboptimizer": "^3.0.21",
100
+ "web-component-wrapper": "^0.0.562",
101
+ "web-documentation": "^1.0.3",
102
+ "weboptimizer": "^3.0.22",
103
103
  "webpack-dev-server": "^5.2.3"
104
104
  },
105
105
  "peerDependencies": {
@@ -327,5 +327,5 @@
327
327
  }
328
328
  }
329
329
  },
330
- "packageManager": "yarn@4.12.0+sha512.f45ab632439a67f8bc759bf32ead036a1f413287b9042726b7cc4818b7b49e14e9423ba49b18f9e06ea4941c1ad062385b1d8760a8d5091a1a31e5f6219afca8"
330
+ "packageManager": "yarn@4.14.1+sha512.64df448055b2d37ba269d7db535a469b8da93f8ef1140c25fd7a83c00a8fbaacb214ca0e02553b92a2c54cef78bb67d0b4817fab02001df0e24fac0faccc3b42"
331
331
  }
package/readme.md CHANGED
@@ -25,7 +25,7 @@ Project status
25
25
 
26
26
  [![code coverage](https://img.shields.io/coverallsCoverage/github/thaibault/website-utilities?label=code%20coverage&style=for-the-badge)](https://coveralls.io/github/thaibault/website-utilities)
27
27
 
28
- [![deploy documentation website](https://img.shields.io/github/actions/workflow/status/thaibault/website-utilities/deploy-documentation-website.yaml?label=deploy%20documentation%20website&style=for-the-badge)](https://github.com/thaibault/website-utilities/actions/workflows/deploy-documentation-website.yaml)
28
+ [![deploy web documentation](https://img.shields.io/github/actions/workflow/status/thaibault/website-utilities/deploy-web-documentation.yaml?label=deploy%20web%20documentation&style=for-the-badge)](https://github.com/thaibault/website-utilities/actions/workflows/deploy-web-documentation.yaml)
29
29
  [![documentation website](https://img.shields.io/website-up-down-green-red/https/torben.website/website-utilities.svg?label=documentation-website&style=for-the-badge)](https://torben.website/website-utilities)
30
30
 
31
31
  <!--|deDE:Einsatzmöglichkeiten-->