| 
						
						
							
								
							
						
						
					 | 
					@ -117,7 +117,7 @@ class StyleStoringComponent extends ModifiableComponent { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					     * @override | 
					 | 
					 | 
					     * @override | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					     * @param {StyleStoringComponent|Component|ChainableModifier} component  | 
					 | 
					 | 
					     * @param {StyleStoringComponent|Component|ChainableModifier} component  | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					     */ | 
					 | 
					 | 
					     */ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					    #appendChildComponent(component) { | 
					 | 
					 | 
					    _appendChildComponent(component) { | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					        if (!(component instanceof Component)) { | 
					 | 
					 | 
					        if (!(component instanceof Component)) { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            component = component.toComponent(); | 
					 | 
					 | 
					            component = component.toComponent(); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        } | 
					 | 
					 | 
					        } | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					@ -134,7 +134,12 @@ class StyleStoringComponent extends ModifiableComponent { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            } | 
					 | 
					 | 
					            } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        } | 
					 | 
					 | 
					        } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					        this._element.append(wenity.html); | 
					 | 
					 | 
					        this._element.append( | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					            (wenity instanceof WebTrinity | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					                ? wenity.html | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					                : wenity | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					            ) | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        ); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    } | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    /** | 
					 | 
					 | 
					    /** | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					@ -142,6 +147,7 @@ class StyleStoringComponent extends ModifiableComponent { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					     * @param {boolean|null} styleStoreInternal  | 
					 | 
					 | 
					     * @param {boolean|null} styleStoreInternal  | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					     * @param {ExtStorageType|null} cssStore  | 
					 | 
					 | 
					     * @param {ExtStorageType|null} cssStore  | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					     * @returns {WebTrinity} | 
					 | 
					 | 
					     * @returns {WebTrinity} | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					     * @class StyleStoringComponent | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					     */ | 
					 | 
					 | 
					     */ | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    generate(styleStoreInternal = null, cssStore = null) { | 
					 | 
					 | 
					    generate(styleStoreInternal = null, cssStore = null) { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        let wenity = new WebTrinity(); | 
					 | 
					 | 
					        let wenity = new WebTrinity(); | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					@ -227,7 +233,7 @@ class ScriptStoringComponent extends StyleStoringComponent { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					     * @override | 
					 | 
					 | 
					     * @override | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					     * @param {ScriptStoringComponent|Component|ChainableModifier} component  | 
					 | 
					 | 
					     * @param {ScriptStoringComponent|Component|ChainableModifier} component  | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					     */ | 
					 | 
					 | 
					     */ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					    #appendChildComponent(component) { | 
					 | 
					 | 
					    _appendChildComponent(component) { | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					        if (!(component instanceof Component)) { | 
					 | 
					 | 
					        if (!(component instanceof Component)) { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            component = component.toComponent(); | 
					 | 
					 | 
					            component = component.toComponent(); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        } | 
					 | 
					 | 
					        } | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					@ -244,7 +250,16 @@ class ScriptStoringComponent extends StyleStoringComponent { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            } | 
					 | 
					 | 
					            } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        } | 
					 | 
					 | 
					        } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					        this._element.append(wenity.html); | 
					 | 
					 | 
					        if (Object.hasOwn(wenity, "css") & wenity.css) { | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					            super._appendChildComponent(wenity); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        } else { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					            this._element.append( | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					                (wenity instanceof WebTrinity | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					                    ? wenity.html | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					                    : wenity | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					                ) | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					            ); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    } | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    /** | 
					 | 
					 | 
					    /** | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					@ -257,7 +272,7 @@ class ScriptStoringComponent extends StyleStoringComponent { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    } | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    /** | 
					 | 
					 | 
					    /** | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					     *  | 
					 | 
					 | 
					     * @todo potential code duplication - and doc | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					     * @returns {HTMLScriptElement} | 
					 | 
					 | 
					     * @returns {HTMLScriptElement} | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					     */ | 
					 | 
					 | 
					     */ | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    _generateScriptTag() { | 
					 | 
					 | 
					    _generateScriptTag() { | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					@ -322,6 +337,7 @@ class ScriptStoringComponent extends StyleStoringComponent { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					     * @param {boolean} styleStoreInternal  | 
					 | 
					 | 
					     * @param {boolean} styleStoreInternal  | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					     * @param {ExtStorageType} cssStore  | 
					 | 
					 | 
					     * @param {ExtStorageType} cssStore  | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					     * @param {ExtStore} funcStore  | 
					 | 
					 | 
					     * @param {ExtStore} funcStore  | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					     * @class ScriptStoringComponent | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					     */ | 
					 | 
					 | 
					     */ | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    generate(styleStoreInternal = null, cssStore = null, funcStore = null) { | 
					 | 
					 | 
					    generate(styleStoreInternal = null, cssStore = null, funcStore = null) { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        let wenity = super.generate(styleStoreInternal, cssStore); | 
					 | 
					 | 
					        let wenity = super.generate(styleStoreInternal, cssStore); | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					@ -329,9 +345,9 @@ class ScriptStoringComponent extends StyleStoringComponent { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        /* Sort Styling Storage Types */ | 
					 | 
					 | 
					        /* Sort Styling Storage Types */ | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        this.setFunctionStorage(funcStore); | 
					 | 
					 | 
					        this.setFunctionStorage(funcStore); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        let tag = this._generateStyleTag(); | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        if (this._funcStore.type === ExtStorageType.INDIVIDUALLY) { | 
					 | 
					 | 
					        if (this._funcStore.type === ExtStorageType.INDIVIDUALLY) { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					            let tag = this._generateScriptTag(); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            switch (this._funcStore.position) { | 
					 | 
					 | 
					            switch (this._funcStore.position) { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                case ExtStoragePos.WITHIN: | 
					 | 
					 | 
					                case ExtStoragePos.WITHIN: | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                    wenity.html.insertAdjacentElement( | 
					 | 
					 | 
					                    wenity.html.insertAdjacentElement( | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					@ -365,10 +381,21 @@ class ScriptStoringComponent extends StyleStoringComponent { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                case ExtStorageType.COLLECTED: | 
					 | 
					 | 
					                case ExtStorageType.COLLECTED: | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                case ExtStorageType.CENTRALIZED: | 
					 | 
					 | 
					                case ExtStorageType.CENTRALIZED: | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                default: | 
					 | 
					 | 
					                default: | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					                    wenity.js = tag; | 
					 | 
					 | 
					                    /** | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					                     * @todo implement difference between collected and centralized in | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					                     * generate, appendChild and childContext function-chain | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					                     */ | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					                    Object.entries(this.#functions) | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					                        .forEach(tuple => { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					                            Page.registerPageFunction( | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					                                fun = tuple[1].fun, | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					                                underTheName = tuple[0], | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					                                overwriteBehaviour = tuple[1].overwrite | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					                            ); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					                        }); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					                //wenity.js = tag;
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            } | 
					 | 
					 | 
					            } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        } | 
					 | 
					 | 
					        } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        return wenity; | 
					 | 
					 | 
					        return wenity; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    } | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					} | 
					 | 
					 | 
					} | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
					 | 
					
  |