@telia-ace/widget-components-copyright-flamingo 1.0.13 → 1.0.44

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.
@@ -0,0 +1,180 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index-b92cb33c.js");/**
2
+ * @license
3
+ * Copyright 2017 Google LLC
4
+ * SPDX-License-Identifier: BSD-3-Clause
5
+ */const f=i=>t=>typeof t=="function"?((c,e)=>(customElements.define(c,e),e))(i,t):((c,e)=>{const{kind:s,elements:o}=e;return{kind:s,elements:o,finisher(n){customElements.define(c,n)}}})(i,t);/**
6
+ * @license
7
+ * Copyright 2017 Google LLC
8
+ * SPDX-License-Identifier: BSD-3-Clause
9
+ */const y=({finisher:i,descriptor:t})=>(c,e)=>{var s;if(e===void 0){const o=(s=c.originalKey)!==null&&s!==void 0?s:c.key,n=t!=null?{kind:"method",placement:"prototype",key:o,descriptor:t(c.key)}:{...c,key:o};return i!=null&&(n.finisher=function(h){i(h,o)}),n}{const o=c.constructor;t!==void 0&&Object.defineProperty(c,e,t(e)),i==null||i(o,e)}};/**
10
+ * @license
11
+ * Copyright 2021 Google LLC
12
+ * SPDX-License-Identifier: BSD-3-Clause
13
+ */let b=class extends Event{constructor(t,c,e){super("context-request",{bubbles:!0,composed:!0}),this.context=t,this.callback=c,this.subscribe=e!=null&&e}};/**
14
+ * @license
15
+ * Copyright 2021 Google LLC
16
+ * SPDX-License-Identifier: BSD-3-Clause
17
+ *//**
18
+ * @license
19
+ * Copyright 2021 Google LLC
20
+ * SPDX-License-Identifier: BSD-3-Clause
21
+ */let C=class{constructor(t,c,e,s){var o;if(this.subscribe=!1,this.provided=!1,this.value=void 0,this.t=(n,h)=>{this.unsubscribe&&(this.unsubscribe!==h&&(this.provided=!1,this.unsubscribe()),this.subscribe||this.unsubscribe()),this.value=n,this.host.requestUpdate(),this.provided&&!this.subscribe||(this.provided=!0,this.callback&&this.callback(n,h)),this.unsubscribe=h},this.host=t,c.context!==void 0){const n=c;this.context=n.context,this.callback=n.callback,this.subscribe=(o=n.subscribe)!==null&&o!==void 0&&o}else this.context=c,this.callback=e,this.subscribe=s!=null&&s;this.host.addController(this)}hostConnected(){this.dispatchRequest()}hostDisconnected(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=void 0)}dispatchRequest(){this.host.dispatchEvent(new b(this.context,this.t,this.subscribe))}};/**
22
+ * @license
23
+ * Copyright 2021 Google LLC
24
+ * SPDX-License-Identifier: BSD-3-Clause
25
+ */class g{constructor(t){this.subscriptions=new Map,this.updateObservers=()=>{for(const[c,{disposer:e}]of this.subscriptions)c(this.o,e)},t!==void 0&&(this.value=t)}get value(){return this.o}set value(t){this.setValue(t)}setValue(t,c=!1){const e=c||!Object.is(t,this.o);this.o=t,e&&this.updateObservers()}addCallback(t,c,e){if(!e)return void t(this.value);this.subscriptions.has(t)||this.subscriptions.set(t,{disposer:()=>{this.subscriptions.delete(t)},consumerHost:c});const{disposer:s}=this.subscriptions.get(t);t(this.value,s)}clearCallbacks(){this.subscriptions.clear()}}/**
26
+ * @license
27
+ * Copyright 2021 Google LLC
28
+ * SPDX-License-Identifier: BSD-3-Clause
29
+ */class _ extends Event{constructor(t){super("context-provider",{bubbles:!0,composed:!0}),this.context=t}}class d extends g{constructor(t,c,e){super(c.context!==void 0?c.initialValue:e),this.onContextRequest=s=>{const o=s.composedPath()[0];s.context===this.context&&o!==this.host&&(s.stopPropagation(),this.addCallback(s.callback,o,s.subscribe))},this.onProviderRequest=s=>{const o=s.composedPath()[0];if(s.context!==this.context||o===this.host)return;const n=new Set;for(const[h,{consumerHost:u}]of this.subscriptions)n.has(h)||(n.add(h),u.dispatchEvent(new b(this.context,h,!0)));s.stopPropagation()},this.host=t,c.context!==void 0?this.context=c.context:this.context=c,this.attachListeners(),this.host.addController(this)}attachListeners(){this.host.addEventListener("context-request",this.onContextRequest),this.host.addEventListener("context-provider",this.onProviderRequest)}hostConnected(){this.host.dispatchEvent(new _(this.context))}}/**
30
+ * @license
31
+ * Copyright 2022 Google LLC
32
+ * SPDX-License-Identifier: BSD-3-Clause
33
+ */function m({context:i,subscribe:t}){return y({finisher:(c,e)=>{c.addInitializer(s=>{new C(s,{context:i,callback:o=>{s[e]=o},subscribe:t})})}})}const w="children",P="descriptor",z="container",M="context",L="layout",V="properties";class H{constructor(t){(this.host=t).addController(this)}hostConnected(){}hostDisconnected(){}setDescriptor(t){this._descriptor=t}setContainer(t){this._container=t}async dispatch(t,c){if(!this._container||!this._descriptor)return;const e=await r.pt.getInstance(this._container),s=new r.P(e).withId(this._descriptor.id);await e.actions(s,this._descriptor.type||r.ht()).dispatch(t,c)}}const k=i=>{const t={};return Object.keys(i).forEach(c=>{c.indexOf("css-")>-1&&(t[c]=i[c])}),t},D=(i,t)=>{const c=k(t);Object.entries(c).forEach(([e,s])=>{i.style.setProperty(e.replace("css-",""),s)})};var O=Object.defineProperty,E=Object.getOwnPropertyDescriptor,l=(i,t,c,e)=>{for(var s=e>1?void 0:e?E(t,c):t,o=i.length-1,n;o>=0;o--)(n=i[o])&&(s=(e?n(t,c,s):n(s))||s);return e&&s&&O(t,c,s),s};const q=i=>{class t extends i{constructor(){super(...arguments),this.entry="",this._descriptorProvider=new d(this,P,void 0),this._childrenProvider=new d(this,w,[]),this._propertiesProvider=new d(this,V,{}),this._contextProvider=new d(this,M,{}),this._layoutProvider=new d(this,L,{}),this.actions=new H(this),this.context={},this.layout={},this.properties={}}connectedCallback(){super.connectedCallback(),this.container&&(this.actions.setContainer(this.container),r.pt.getInstance(this.container).then(async e=>{var o;const s=e.nodes.get(this.entry);if(s){this._propertyChangeListener=e.events.subscribe("components:properties-changed",(p,a)=>{s.id===a.node.id&&this._setProperties(a.node.attributes.properties)}),this._contextChangeListener=e.events.subscribe("components:context-changed",(p,a)=>{s.id===a.node.id&&this._setContext(a.node.attributes.context)}),this._layoutChangeListener=e.events.subscribe("components:layout-changed",(p,a)=>{s.id===a.node.id&&this._setLayout(a.node.attributes.layout)});const n="default";this._unmountNode=s.mount(this.container),this._setDescriptor(r.Et(s,n)),this._setProperties(s.attributes.properties),this._setContext(s.attributes.context),this._setLayout(this.layout);const h=s.getChildren(n).map(p=>r.Et(p));this._childrenProvider.setValue(h);const v=(await this.container.getAsync("componentResolver")).getComponent(((o=this.descriptor)==null?void 0:o.type)||"");v.then&&v.then(p=>{this.component=p.default})}}))}disconnectedCallback(){super.disconnectedCallback(),this._propertyChangeListener&&this._propertyChangeListener(),this._contextChangeListener&&this._contextChangeListener(),this._layoutChangeListener&&this._layoutChangeListener(),this._unmountNode&&this._unmountNode()}updated(){this.container&&this.actions.setContainer(this.container),r.mapBranding(this.context,this.renderRoot.host),this.renderRoot.host.style.setProperty("--width",this.layout.size==="full"?"var(--columns, 1)":`min(${this.layout.size||"var(--columns)"}, var(--columns))`),D(this.renderRoot.host,this.properties)}_setProperties(e){this._propertiesProvider.setValue(e),this.properties=e}_setContext(e){this._contextProvider.setValue(e),this.context=e}_setLayout(e){this._layoutProvider.setValue(e),this.layout=e}_setDescriptor(e){this.descriptor=e,this._descriptorProvider.setValue(e),this.actions.setDescriptor(e)}}return t.styles=[i.styles??[],r.i`
34
+ :host {
35
+ font-family: var(--font-family);
36
+ grid-column: span var(--width);
37
+ max-width: 100%;
38
+ overflow: hidden;
39
+ box-sizing: border-box;
40
+ display: block;
41
+ }
42
+ * {
43
+ box-sizing: border-box;
44
+ }
45
+ `],l([m({context:z}),r.n({attribute:!1})],t.prototype,"container",2),l([r.n()],t.prototype,"entry",2),l([r.t()],t.prototype,"descriptor",2),l([r.t()],t.prototype,"component",2),l([r.t()],t.prototype,"context",2),l([r.t()],t.prototype,"layout",2),l([r.t()],t.prototype,"properties",2),t};var R=Object.defineProperty,j=Object.getOwnPropertyDescriptor,F=(i,t,c,e)=>{for(var s=e>1?void 0:e?j(t,c):t,o=i.length-1,n;o>=0;o--)(n=i[o])&&(s=(e?n(t,c,s):n(s))||s);return e&&s&&R(t,c,s),s};const x=q(r.s);exports.CopyrightComponent=class extends x{render(){return r.x` <div class="copyright">
46
+ <a
47
+ aria-label="Powered by Telia ACE"
48
+ href="https://ace-showcase.com/marketplace/ace-knowledge/"
49
+ target="_blank"
50
+ rel="noopener noreferrer"
51
+ >
52
+ <svg
53
+ version="1.1"
54
+ xmlns="http://www.w3.org/2000/svg"
55
+ xlink:href="http://www.w3.org/1999/xlink"
56
+ viewBox="0 0 1000 150"
57
+ class="compact"
58
+ >
59
+ <g>
60
+ <path
61
+ d="M107.5,47.9c5.3,0,9.3,1.4,12,4.1s4.1,6.5,4.1,11.4c0,4.9-1.4,8.7-4.1,11.5c-2.7,2.7-6.7,4.1-12,4h-16v21.5h-7V47.9H107.5z
62
+ M105.2,73.1c4,0,6.9-0.8,8.7-2.4c1.8-1.7,2.8-4.1,2.8-7.2c0-3.1-0.9-5.5-2.8-7.2c-1.8-1.6-4.7-2.5-8.7-2.5H91.5v19.3H105.2z"
63
+ />
64
+ <path
65
+ d="M130.8,63.9c1.1-3.3,2.6-6.2,4.7-8.8c2.1-2.5,4.7-4.6,7.9-6.1c3.1-1.5,6.8-2.3,11-2.3c4.2,0,7.8,0.8,11,2.3
66
+ c3.1,1.5,5.8,3.6,7.9,6.1c2.1,2.6,3.7,5.5,4.7,8.8c1.1,3.3,1.6,6.8,1.6,10.3c0,3.6-0.5,7-1.6,10.3c-1.1,3.3-2.6,6.2-4.7,8.8
67
+ c-2.1,2.6-4.7,4.6-7.9,6.1c-3.1,1.5-6.8,2.2-11,2.2c-4.2,0-7.8-0.7-11-2.2c-3.1-1.5-5.8-3.5-7.9-6.1c-2.1-2.5-3.7-5.5-4.7-8.8
68
+ c-1.1-3.3-1.6-6.8-1.6-10.3C129.2,70.6,129.8,67.2,130.8,63.9z M137.2,82c0.7,2.6,1.8,4.9,3.2,7c1.5,2.1,3.4,3.7,5.7,5
69
+ c2.3,1.3,5.1,1.9,8.2,1.9c3.2,0,5.9-0.6,8.2-1.9c2.3-1.2,4.2-2.9,5.7-5c1.5-2.1,2.5-4.4,3.2-7c0.7-2.6,1-5.2,1-7.8s-0.3-5.3-1-7.8
70
+ c-0.7-2.6-1.8-4.9-3.2-7s-3.4-3.7-5.7-5c-2.3-1.3-5.1-1.9-8.2-1.9c-3.2,0-5.9,0.6-8.2,1.9c-2.3,1.3-4.2,2.9-5.7,5s-2.6,4.4-3.2,7
71
+ c-0.7,2.6-1,5.2-1,7.8S136.6,79.5,137.2,82z"
72
+ />
73
+ <path
74
+ d="M228.2,100.5l-12-44.1h-0.1L204,100.5h-7.3l-13.5-52.5h7.1l10.3,43.7h0.1l11.8-43.7h7.6l11.6,43.7h0.1l10.7-43.7h7
75
+ l-14,52.5H228.2z"
76
+ />
77
+ <path
78
+ d="M292.5,47.9v5.9h-29.3v16.7h27.3v5.9h-27.3v18.2h29.5v5.9h-36.5V47.9H292.5z"
79
+ />
80
+ <path
81
+ d="M325.8,47.9c5,0,8.9,1.2,11.7,3.7c2.8,2.5,4.2,5.8,4.2,10.1c0,3.2-0.7,6-2.2,8.4c-1.4,2.4-3.8,4-7,4.9v0.1
82
+ c1.5,0.3,2.8,0.8,3.7,1.5c1,0.7,1.7,1.5,2.3,2.5c0.6,1,1,2,1.3,3.2c0.3,1.2,0.5,2.4,0.6,3.7c0.1,1.3,0.2,2.6,0.2,3.9
83
+ c0,1.3,0.2,2.6,0.4,3.9c0.2,1.3,0.5,2.5,0.8,3.6c0.4,1.2,0.9,2.2,1.7,3.1h-7.8c-0.5-0.5-0.8-1.3-1-2.2c-0.2-0.9-0.3-2-0.3-3.1
84
+ c0-1.2-0.1-2.4-0.1-3.7c0-1.3-0.2-2.6-0.4-3.9c-0.2-1.3-0.4-2.5-0.7-3.6c-0.3-1.2-0.8-2.2-1.4-3c-0.6-0.9-1.5-1.5-2.5-2.1
85
+ c-1-0.5-2.4-0.8-4.1-0.8h-17.1v22.4h-7V47.9H325.8z M327.3,71.8c1.5-0.2,2.8-0.7,3.9-1.4c1.1-0.7,2-1.7,2.6-2.9
86
+ c0.7-1.2,1-2.8,1-4.7c0-2.6-0.7-4.8-2.2-6.5c-1.5-1.7-3.9-2.5-7.1-2.5h-17.4v18.3h14.6C324.3,72.2,325.8,72,327.3,71.8z"
87
+ />
88
+ <path
89
+ d="M387.8,47.9v5.9h-29.3v16.7h27.3v5.9h-27.3v18.2H388v5.9h-36.5V47.9H387.8z"
90
+ />
91
+ <path
92
+ d="M414.5,47.9c8.1,0,14.3,2.1,18.7,6.2c4.4,4.1,6.5,10.4,6.5,18.8c0,4.4-0.5,8.3-1.5,11.7c-1,3.4-2.5,6.3-4.6,8.6
93
+ s-4.7,4.1-7.9,5.3c-3.2,1.2-7,1.8-11.3,1.8h-18V47.9H414.5z M415.1,94.6c0.8,0,1.8-0.1,2.9-0.2c1.2-0.1,2.4-0.4,3.8-0.9
94
+ c1.3-0.5,2.6-1.1,3.9-2c1.3-0.9,2.5-2.1,3.5-3.6c1-1.5,1.9-3.4,2.5-5.7c0.7-2.3,1-5,1-8.3c0-3.1-0.3-5.9-0.9-8.4
95
+ c-0.6-2.5-1.6-4.6-3-6.3c-1.4-1.7-3.2-3.1-5.4-4c-2.2-0.9-4.9-1.4-8.2-1.4h-11.8v40.8H415.1z"
96
+ />
97
+ <path
98
+ d="M487.8,47.9c1.1,0,2.3,0,3.6,0c1.3,0,2.6,0.1,3.9,0.2c1.3,0.1,2.5,0.3,3.6,0.6c1.1,0.2,2,0.6,2.8,1.1
99
+ c1.7,1,3.2,2.5,4.4,4.3c1.2,1.8,1.8,4,1.8,6.7c0,2.8-0.7,5.2-2,7.2c-1.3,2-3.3,3.5-5.8,4.5v0.1c3.2,0.7,5.7,2.2,7.4,4.4
100
+ c1.7,2.3,2.6,5,2.6,8.2c0,1.9-0.3,3.8-1,5.6c-0.7,1.8-1.7,3.4-3.1,4.8c-1.3,1.4-3,2.5-5,3.4c-2,0.9-4.3,1.3-6.9,1.3h-25.4V47.9
101
+ H487.8z M489.7,70.5c4,0,6.8-0.7,8.6-2.1c1.7-1.4,2.6-3.5,2.6-6.3c0-1.9-0.3-3.3-0.9-4.4c-0.6-1.1-1.4-1.9-2.4-2.5
102
+ c-1-0.6-2.2-1-3.6-1.1c-1.3-0.2-2.8-0.3-4.3-0.3h-14v16.7H489.7z M493.2,94.6c3.1,0,5.5-0.8,7.2-2.5c1.7-1.7,2.6-4,2.6-6.9
103
+ c0-1.7-0.3-3.1-1-4.3c-0.6-1.1-1.5-2-2.5-2.7c-1.1-0.7-2.3-1.1-3.6-1.4c-1.4-0.3-2.8-0.4-4.3-0.4h-16v18.2H493.2z"
104
+ />
105
+ <path
106
+ d="M540.8,100.5h-7V79l-20.3-31h8.3l15.7,25l15.4-25h7.9l-20.1,31V100.5z"
107
+ />
108
+ </g>
109
+ <g>
110
+ <path
111
+ fill="#9924DF"
112
+ d="M597.5,59.6h-10.1c-2.6,0-5.1-4.5-5.1-5.9c0-2.4,3.8-4.8,7.4-4.8h30.1c1.9,0,2.9,0.9,2.9,2.6c0,4-2.6,8-5.1,8
113
+ h-9.8v33.2c0,4-2.6,8-5.2,8c-2.6,0-5.1-4.5-5.1-5.9V59.6z"
114
+ />
115
+ <path
116
+ fill="#9924DF"
117
+ d="M633.6,100.5c-2.6,0-5.1-4.5-5.1-5.9V53.8c0-2.4,3.8-4.8,7.4-4.8h24.2c1.8,0,2.7,0.9,2.7,2.6
118
+ c0,2.6-1.2,5.3-2.6,6.7c-0.8,0.7-1.5,1-2.3,1h-19.1v10.4h18c1.7,0,2.6,0.8,2.6,2.4c0,3.6-2.3,7.1-4.6,7.1h-16v11h22
119
+ c1.8,0,2.7,0.9,2.7,2.6c0,2.6-1.2,5.3-2.6,6.7c-0.8,0.7-1.5,1-2.3,1H633.6z"
120
+ />
121
+ <path
122
+ fill="#9924DF"
123
+ d="M675.6,100.5c-2.6,0-5.1-4.5-5.1-5.9V53.3c0-2.4,3.8-4.8,7.4-4.8c1.9,0,2.9,0.9,2.9,2.6v39h19.1
124
+ c1.8,0,2.7,0.9,2.7,2.6c0,2.6-1.2,5.3-2.6,6.7c-0.8,0.7-1.5,1-2.3,1H675.6z"
125
+ />
126
+ <path
127
+ fill="#9924DF"
128
+ d="M708.4,53.3c0-2.4,3.8-4.8,7.4-4.8c1.9,0,2.9,0.9,2.9,2.6v41.7c0,4-2.6,8-5.2,8c-2.6,0-5.1-4.5-5.1-5.9V53.3z"
129
+ />
130
+ <path
131
+ fill="#9924DF"
132
+ d="M756.9,90.2h-21l-2.2,6.3c-0.9,2.6-2.7,4.4-4.5,4.4c-2.6,0-5.1-4.5-5.1-5.9c0-0.3,0.1-0.7,0.3-1.3l15.1-40.9
133
+ c0.5-1.4,2.1-2.6,4.2-3.3c1-0.4,2-0.5,2.9-0.5h4.6c1.5,0,2.4,0.5,2.7,1.6l14.7,40.8c0.2,0.4,0.3,1,0.3,1.5c0,4-2.6,8-5.1,8
134
+ c-1.3,0-2.6-1-3.8-2.9c-0.5-0.7-0.9-1.5-1.1-2.1L756.9,90.2z M753.9,81.4l-7.4-21.3L739,81.4H753.9z"
135
+ />
136
+ <path
137
+ fill="#9924DF"
138
+ d="M820.5,90.2h-21l-2.2,6.3c-0.9,2.6-2.7,4.4-4.5,4.4c-2.6,0-5.1-4.5-5.1-5.9c0-0.3,0.1-0.7,0.3-1.3L803,52.8
139
+ c0.5-1.4,2.1-2.6,4.2-3.3c1-0.4,2-0.5,2.9-0.5h4.6c1.5,0,2.4,0.5,2.7,1.6l14.7,40.8c0.2,0.4,0.3,1,0.3,1.5c0,4-2.6,8-5.1,8
140
+ c-1.2,0-2.6-1-3.8-2.9c-0.5-0.7-0.9-1.5-1.1-2.1L820.5,90.2z M817.4,81.4l-7.4-21.3l-7.5,21.3H817.4z"
141
+ />
142
+ <path
143
+ fill="#9924DF"
144
+ d="M860.4,101.6c-9.6,0-17.8-5.4-22.1-13.4c-2.1-4-3.2-8.3-3.2-12.9c0-10.2,5.5-19.1,13.7-23.8
145
+ c4-2.4,8.5-3.5,13.1-3.5c5.1,0,9.7,1.3,13.8,3.8c0.7,0.4,1.1,1.2,1.1,2.2c0,3.6-2.4,7.4-4.6,7.4c-0.5,0-1.1-0.1-1.8-0.5
146
+ c-3-1.5-5.9-2.3-8.7-2.3c-6.2,0-11.3,3.2-13.8,8.1c-1.3,2.5-2,5.2-2,8.2c0,6.3,3,11.5,7.7,14.1c2.3,1.4,4.9,2.1,7.7,2.1
147
+ c3.2,0,6.4-0.7,9.6-2.1c1.7-0.7,3-1.1,4-1.1c1.8,0,2.6,0.9,2.6,2.6c0,2.6-1.2,5.3-2.9,6.8C871.4,99.7,865.6,101.6,860.4,101.6z"
148
+ />
149
+ <path
150
+ fill="#9924DF"
151
+ d="M889.3,100.5c-2.6,0-5.1-4.5-5.1-5.9V53.8c0-2.4,3.8-4.8,7.4-4.8h24.2c1.8,0,2.7,0.9,2.7,2.6
152
+ c0,2.6-1.2,5.3-2.6,6.7c-0.8,0.7-1.5,1-2.3,1h-19.1v10.4h18c1.7,0,2.6,0.8,2.6,2.4c0,3.6-2.3,7.1-4.6,7.1h-16v11h22
153
+ c1.8,0,2.7,0.9,2.7,2.6c0,2.6-1.2,5.3-2.6,6.7c-0.8,0.7-1.5,1-2.3,1H889.3z"
154
+ />
155
+ </g>
156
+ </svg>
157
+ </a>
158
+ </div>`}};exports.CopyrightComponent.styles=[x.styles||[],r.i`
159
+ .copyright {
160
+ padding: var(--spacing-md);
161
+ box-shadow: 1px 0px 10px rgba(0, 0, 0, 0.1);
162
+ z-index: 6;
163
+ background-color: #fff;
164
+ }
165
+
166
+ a {
167
+ display: flex;
168
+ justify-content: center;
169
+ align-items: center;
170
+ outline: none;
171
+ }
172
+
173
+ svg {
174
+ width: 145px;
175
+ }
176
+
177
+ svg.compact {
178
+ width: 130px;
179
+ }
180
+ `];exports.CopyrightComponent=F([f("ace-copyright")],exports.CopyrightComponent);const $=exports.CopyrightComponent;exports.default=$;
@@ -1,4 +1,3 @@
1
1
  import { Container } from '@webprovisions/platform';
2
2
  export declare const CopyrightComponent: (container: Container) => Promise<void>;
3
3
  export default CopyrightComponent;
4
- //# sourceMappingURL=copyright-component.d.ts.map
@@ -0,0 +1,455 @@
1
+ import { p as y, P as m, h as w, i as _, n as x, t as p, E as f, m as P, x as z, s as M } from "./index-05c309ff.mjs";
2
+ /**
3
+ * @license
4
+ * Copyright 2017 Google LLC
5
+ * SPDX-License-Identifier: BSD-3-Clause
6
+ */
7
+ const L = (o) => (t) => typeof t == "function" ? ((c, e) => (customElements.define(c, e), e))(o, t) : ((c, e) => {
8
+ const { kind: s, elements: i } = e;
9
+ return { kind: s, elements: i, finisher(n) {
10
+ customElements.define(c, n);
11
+ } };
12
+ })(o, t);
13
+ /**
14
+ * @license
15
+ * Copyright 2017 Google LLC
16
+ * SPDX-License-Identifier: BSD-3-Clause
17
+ */
18
+ const V = ({ finisher: o, descriptor: t }) => (c, e) => {
19
+ var s;
20
+ if (e === void 0) {
21
+ const i = (s = c.originalKey) !== null && s !== void 0 ? s : c.key, n = t != null ? { kind: "method", placement: "prototype", key: i, descriptor: t(c.key) } : { ...c, key: i };
22
+ return o != null && (n.finisher = function(r) {
23
+ o(r, i);
24
+ }), n;
25
+ }
26
+ {
27
+ const i = c.constructor;
28
+ t !== void 0 && Object.defineProperty(c, e, t(e)), o == null || o(i, e);
29
+ }
30
+ };
31
+ /**
32
+ * @license
33
+ * Copyright 2021 Google LLC
34
+ * SPDX-License-Identifier: BSD-3-Clause
35
+ */
36
+ let g = class extends Event {
37
+ constructor(t, c, e) {
38
+ super("context-request", { bubbles: !0, composed: !0 }), this.context = t, this.callback = c, this.subscribe = e != null && e;
39
+ }
40
+ };
41
+ /**
42
+ * @license
43
+ * Copyright 2021 Google LLC
44
+ * SPDX-License-Identifier: BSD-3-Clause
45
+ */
46
+ /**
47
+ * @license
48
+ * Copyright 2021 Google LLC
49
+ * SPDX-License-Identifier: BSD-3-Clause
50
+ */
51
+ let H = class {
52
+ constructor(t, c, e, s) {
53
+ var i;
54
+ if (this.subscribe = !1, this.provided = !1, this.value = void 0, this.t = (n, r) => {
55
+ this.unsubscribe && (this.unsubscribe !== r && (this.provided = !1, this.unsubscribe()), this.subscribe || this.unsubscribe()), this.value = n, this.host.requestUpdate(), this.provided && !this.subscribe || (this.provided = !0, this.callback && this.callback(n, r)), this.unsubscribe = r;
56
+ }, this.host = t, c.context !== void 0) {
57
+ const n = c;
58
+ this.context = n.context, this.callback = n.callback, this.subscribe = (i = n.subscribe) !== null && i !== void 0 && i;
59
+ } else
60
+ this.context = c, this.callback = e, this.subscribe = s != null && s;
61
+ this.host.addController(this);
62
+ }
63
+ hostConnected() {
64
+ this.dispatchRequest();
65
+ }
66
+ hostDisconnected() {
67
+ this.unsubscribe && (this.unsubscribe(), this.unsubscribe = void 0);
68
+ }
69
+ dispatchRequest() {
70
+ this.host.dispatchEvent(new g(this.context, this.t, this.subscribe));
71
+ }
72
+ };
73
+ /**
74
+ * @license
75
+ * Copyright 2021 Google LLC
76
+ * SPDX-License-Identifier: BSD-3-Clause
77
+ */
78
+ class k {
79
+ constructor(t) {
80
+ this.subscriptions = /* @__PURE__ */ new Map(), this.updateObservers = () => {
81
+ for (const [c, { disposer: e }] of this.subscriptions)
82
+ c(this.o, e);
83
+ }, t !== void 0 && (this.value = t);
84
+ }
85
+ get value() {
86
+ return this.o;
87
+ }
88
+ set value(t) {
89
+ this.setValue(t);
90
+ }
91
+ setValue(t, c = !1) {
92
+ const e = c || !Object.is(t, this.o);
93
+ this.o = t, e && this.updateObservers();
94
+ }
95
+ addCallback(t, c, e) {
96
+ if (!e)
97
+ return void t(this.value);
98
+ this.subscriptions.has(t) || this.subscriptions.set(t, { disposer: () => {
99
+ this.subscriptions.delete(t);
100
+ }, consumerHost: c });
101
+ const { disposer: s } = this.subscriptions.get(t);
102
+ t(this.value, s);
103
+ }
104
+ clearCallbacks() {
105
+ this.subscriptions.clear();
106
+ }
107
+ }
108
+ /**
109
+ * @license
110
+ * Copyright 2021 Google LLC
111
+ * SPDX-License-Identifier: BSD-3-Clause
112
+ */
113
+ class D extends Event {
114
+ constructor(t) {
115
+ super("context-provider", { bubbles: !0, composed: !0 }), this.context = t;
116
+ }
117
+ }
118
+ class d extends k {
119
+ constructor(t, c, e) {
120
+ super(c.context !== void 0 ? c.initialValue : e), this.onContextRequest = (s) => {
121
+ const i = s.composedPath()[0];
122
+ s.context === this.context && i !== this.host && (s.stopPropagation(), this.addCallback(s.callback, i, s.subscribe));
123
+ }, this.onProviderRequest = (s) => {
124
+ const i = s.composedPath()[0];
125
+ if (s.context !== this.context || i === this.host)
126
+ return;
127
+ const n = /* @__PURE__ */ new Set();
128
+ for (const [r, { consumerHost: v }] of this.subscriptions)
129
+ n.has(r) || (n.add(r), v.dispatchEvent(new g(this.context, r, !0)));
130
+ s.stopPropagation();
131
+ }, this.host = t, c.context !== void 0 ? this.context = c.context : this.context = c, this.attachListeners(), this.host.addController(this);
132
+ }
133
+ attachListeners() {
134
+ this.host.addEventListener("context-request", this.onContextRequest), this.host.addEventListener("context-provider", this.onProviderRequest);
135
+ }
136
+ hostConnected() {
137
+ this.host.dispatchEvent(new D(this.context));
138
+ }
139
+ }
140
+ /**
141
+ * @license
142
+ * Copyright 2022 Google LLC
143
+ * SPDX-License-Identifier: BSD-3-Clause
144
+ */
145
+ function E({ context: o, subscribe: t }) {
146
+ return V({ finisher: (c, e) => {
147
+ c.addInitializer((s) => {
148
+ new H(s, { context: o, callback: (i) => {
149
+ s[e] = i;
150
+ }, subscribe: t });
151
+ });
152
+ } });
153
+ }
154
+ const O = "children", $ = "descriptor", R = "container", q = "context", j = "layout", F = "properties";
155
+ class I {
156
+ constructor(t) {
157
+ (this.host = t).addController(this);
158
+ }
159
+ hostConnected() {
160
+ }
161
+ hostDisconnected() {
162
+ }
163
+ setDescriptor(t) {
164
+ this._descriptor = t;
165
+ }
166
+ setContainer(t) {
167
+ this._container = t;
168
+ }
169
+ async dispatch(t, c) {
170
+ if (!this._container || !this._descriptor)
171
+ return;
172
+ const e = await y.getInstance(
173
+ this._container
174
+ ), s = new m(e).withId(
175
+ this._descriptor.id
176
+ );
177
+ await e.actions(
178
+ s,
179
+ this._descriptor.type || w()
180
+ ).dispatch(t, c);
181
+ }
182
+ }
183
+ const N = (o) => {
184
+ const t = {};
185
+ return Object.keys(o).forEach((c) => {
186
+ c.indexOf("css-") > -1 && (t[c] = o[c]);
187
+ }), t;
188
+ }, A = (o, t) => {
189
+ const c = N(t);
190
+ Object.entries(c).forEach(([e, s]) => {
191
+ o.style.setProperty(e.replace("css-", ""), s);
192
+ });
193
+ };
194
+ var S = Object.defineProperty, W = Object.getOwnPropertyDescriptor, a = (o, t, c, e) => {
195
+ for (var s = e > 1 ? void 0 : e ? W(t, c) : t, i = o.length - 1, n; i >= 0; i--)
196
+ (n = o[i]) && (s = (e ? n(t, c, s) : n(s)) || s);
197
+ return e && s && S(t, c, s), s;
198
+ };
199
+ const B = (o) => {
200
+ class t extends o {
201
+ constructor() {
202
+ super(...arguments), this.entry = "", this._descriptorProvider = new d(
203
+ this,
204
+ $,
205
+ void 0
206
+ ), this._childrenProvider = new d(this, O, []), this._propertiesProvider = new d(this, F, {}), this._contextProvider = new d(this, q, {}), this._layoutProvider = new d(this, j, {}), this.actions = new I(this), this.context = {}, this.layout = {}, this.properties = {};
207
+ }
208
+ connectedCallback() {
209
+ super.connectedCallback(), this.container && (this.actions.setContainer(this.container), y.getInstance(this.container).then(
210
+ async (e) => {
211
+ var i;
212
+ const s = e.nodes.get(this.entry);
213
+ if (s) {
214
+ this._propertyChangeListener = e.events.subscribe(
215
+ "components:properties-changed",
216
+ (l, h) => {
217
+ s.id === h.node.id && this._setProperties(h.node.attributes.properties);
218
+ }
219
+ ), this._contextChangeListener = e.events.subscribe(
220
+ "components:context-changed",
221
+ (l, h) => {
222
+ s.id === h.node.id && this._setContext(h.node.attributes.context);
223
+ }
224
+ ), this._layoutChangeListener = e.events.subscribe(
225
+ "components:layout-changed",
226
+ (l, h) => {
227
+ s.id === h.node.id && this._setLayout(h.node.attributes.layout);
228
+ }
229
+ );
230
+ const n = "default";
231
+ this._unmountNode = s.mount(this.container), this._setDescriptor(f(s, n)), this._setProperties(s.attributes.properties), this._setContext(s.attributes.context), this._setLayout(this.layout);
232
+ const r = s.getChildren(n).map((l) => f(l));
233
+ this._childrenProvider.setValue(r);
234
+ const b = (await this.container.getAsync("componentResolver")).getComponent(
235
+ ((i = this.descriptor) == null ? void 0 : i.type) || ""
236
+ );
237
+ b.then && b.then((l) => {
238
+ this.component = l.default;
239
+ });
240
+ }
241
+ }
242
+ ));
243
+ }
244
+ disconnectedCallback() {
245
+ super.disconnectedCallback(), this._propertyChangeListener && this._propertyChangeListener(), this._contextChangeListener && this._contextChangeListener(), this._layoutChangeListener && this._layoutChangeListener(), this._unmountNode && this._unmountNode();
246
+ }
247
+ updated() {
248
+ this.container && this.actions.setContainer(this.container), P(this.context, this.renderRoot.host), this.renderRoot.host.style.setProperty(
249
+ "--width",
250
+ this.layout.size === "full" ? "var(--columns, 1)" : `min(${this.layout.size || "var(--columns)"}, var(--columns))`
251
+ ), A(this.renderRoot.host, this.properties);
252
+ }
253
+ _setProperties(e) {
254
+ this._propertiesProvider.setValue(e), this.properties = e;
255
+ }
256
+ _setContext(e) {
257
+ this._contextProvider.setValue(e), this.context = e;
258
+ }
259
+ _setLayout(e) {
260
+ this._layoutProvider.setValue(e), this.layout = e;
261
+ }
262
+ _setDescriptor(e) {
263
+ this.descriptor = e, this._descriptorProvider.setValue(e), this.actions.setDescriptor(e);
264
+ }
265
+ }
266
+ return t.styles = [
267
+ o.styles ?? [],
268
+ _`
269
+ :host {
270
+ font-family: var(--font-family);
271
+ grid-column: span var(--width);
272
+ max-width: 100%;
273
+ overflow: hidden;
274
+ box-sizing: border-box;
275
+ display: block;
276
+ }
277
+ * {
278
+ box-sizing: border-box;
279
+ }
280
+ `
281
+ ], a([
282
+ E({ context: R }),
283
+ x({ attribute: !1 })
284
+ ], t.prototype, "container", 2), a([
285
+ x()
286
+ ], t.prototype, "entry", 2), a([
287
+ p()
288
+ ], t.prototype, "descriptor", 2), a([
289
+ p()
290
+ ], t.prototype, "component", 2), a([
291
+ p()
292
+ ], t.prototype, "context", 2), a([
293
+ p()
294
+ ], t.prototype, "layout", 2), a([
295
+ p()
296
+ ], t.prototype, "properties", 2), t;
297
+ };
298
+ var K = Object.defineProperty, T = Object.getOwnPropertyDescriptor, U = (o, t, c, e) => {
299
+ for (var s = e > 1 ? void 0 : e ? T(t, c) : t, i = o.length - 1, n; i >= 0; i--)
300
+ (n = o[i]) && (s = (e ? n(t, c, s) : n(s)) || s);
301
+ return e && s && K(t, c, s), s;
302
+ };
303
+ const C = B(M);
304
+ let u = class extends C {
305
+ render() {
306
+ return z` <div class="copyright">
307
+ <a
308
+ aria-label="Powered by Telia ACE"
309
+ href="https://ace-showcase.com/marketplace/ace-knowledge/"
310
+ target="_blank"
311
+ rel="noopener noreferrer"
312
+ >
313
+ <svg
314
+ version="1.1"
315
+ xmlns="http://www.w3.org/2000/svg"
316
+ xlink:href="http://www.w3.org/1999/xlink"
317
+ viewBox="0 0 1000 150"
318
+ class="compact"
319
+ >
320
+ <g>
321
+ <path
322
+ d="M107.5,47.9c5.3,0,9.3,1.4,12,4.1s4.1,6.5,4.1,11.4c0,4.9-1.4,8.7-4.1,11.5c-2.7,2.7-6.7,4.1-12,4h-16v21.5h-7V47.9H107.5z
323
+ M105.2,73.1c4,0,6.9-0.8,8.7-2.4c1.8-1.7,2.8-4.1,2.8-7.2c0-3.1-0.9-5.5-2.8-7.2c-1.8-1.6-4.7-2.5-8.7-2.5H91.5v19.3H105.2z"
324
+ />
325
+ <path
326
+ d="M130.8,63.9c1.1-3.3,2.6-6.2,4.7-8.8c2.1-2.5,4.7-4.6,7.9-6.1c3.1-1.5,6.8-2.3,11-2.3c4.2,0,7.8,0.8,11,2.3
327
+ c3.1,1.5,5.8,3.6,7.9,6.1c2.1,2.6,3.7,5.5,4.7,8.8c1.1,3.3,1.6,6.8,1.6,10.3c0,3.6-0.5,7-1.6,10.3c-1.1,3.3-2.6,6.2-4.7,8.8
328
+ c-2.1,2.6-4.7,4.6-7.9,6.1c-3.1,1.5-6.8,2.2-11,2.2c-4.2,0-7.8-0.7-11-2.2c-3.1-1.5-5.8-3.5-7.9-6.1c-2.1-2.5-3.7-5.5-4.7-8.8
329
+ c-1.1-3.3-1.6-6.8-1.6-10.3C129.2,70.6,129.8,67.2,130.8,63.9z M137.2,82c0.7,2.6,1.8,4.9,3.2,7c1.5,2.1,3.4,3.7,5.7,5
330
+ c2.3,1.3,5.1,1.9,8.2,1.9c3.2,0,5.9-0.6,8.2-1.9c2.3-1.2,4.2-2.9,5.7-5c1.5-2.1,2.5-4.4,3.2-7c0.7-2.6,1-5.2,1-7.8s-0.3-5.3-1-7.8
331
+ c-0.7-2.6-1.8-4.9-3.2-7s-3.4-3.7-5.7-5c-2.3-1.3-5.1-1.9-8.2-1.9c-3.2,0-5.9,0.6-8.2,1.9c-2.3,1.3-4.2,2.9-5.7,5s-2.6,4.4-3.2,7
332
+ c-0.7,2.6-1,5.2-1,7.8S136.6,79.5,137.2,82z"
333
+ />
334
+ <path
335
+ d="M228.2,100.5l-12-44.1h-0.1L204,100.5h-7.3l-13.5-52.5h7.1l10.3,43.7h0.1l11.8-43.7h7.6l11.6,43.7h0.1l10.7-43.7h7
336
+ l-14,52.5H228.2z"
337
+ />
338
+ <path
339
+ d="M292.5,47.9v5.9h-29.3v16.7h27.3v5.9h-27.3v18.2h29.5v5.9h-36.5V47.9H292.5z"
340
+ />
341
+ <path
342
+ d="M325.8,47.9c5,0,8.9,1.2,11.7,3.7c2.8,2.5,4.2,5.8,4.2,10.1c0,3.2-0.7,6-2.2,8.4c-1.4,2.4-3.8,4-7,4.9v0.1
343
+ c1.5,0.3,2.8,0.8,3.7,1.5c1,0.7,1.7,1.5,2.3,2.5c0.6,1,1,2,1.3,3.2c0.3,1.2,0.5,2.4,0.6,3.7c0.1,1.3,0.2,2.6,0.2,3.9
344
+ c0,1.3,0.2,2.6,0.4,3.9c0.2,1.3,0.5,2.5,0.8,3.6c0.4,1.2,0.9,2.2,1.7,3.1h-7.8c-0.5-0.5-0.8-1.3-1-2.2c-0.2-0.9-0.3-2-0.3-3.1
345
+ c0-1.2-0.1-2.4-0.1-3.7c0-1.3-0.2-2.6-0.4-3.9c-0.2-1.3-0.4-2.5-0.7-3.6c-0.3-1.2-0.8-2.2-1.4-3c-0.6-0.9-1.5-1.5-2.5-2.1
346
+ c-1-0.5-2.4-0.8-4.1-0.8h-17.1v22.4h-7V47.9H325.8z M327.3,71.8c1.5-0.2,2.8-0.7,3.9-1.4c1.1-0.7,2-1.7,2.6-2.9
347
+ c0.7-1.2,1-2.8,1-4.7c0-2.6-0.7-4.8-2.2-6.5c-1.5-1.7-3.9-2.5-7.1-2.5h-17.4v18.3h14.6C324.3,72.2,325.8,72,327.3,71.8z"
348
+ />
349
+ <path
350
+ d="M387.8,47.9v5.9h-29.3v16.7h27.3v5.9h-27.3v18.2H388v5.9h-36.5V47.9H387.8z"
351
+ />
352
+ <path
353
+ d="M414.5,47.9c8.1,0,14.3,2.1,18.7,6.2c4.4,4.1,6.5,10.4,6.5,18.8c0,4.4-0.5,8.3-1.5,11.7c-1,3.4-2.5,6.3-4.6,8.6
354
+ s-4.7,4.1-7.9,5.3c-3.2,1.2-7,1.8-11.3,1.8h-18V47.9H414.5z M415.1,94.6c0.8,0,1.8-0.1,2.9-0.2c1.2-0.1,2.4-0.4,3.8-0.9
355
+ c1.3-0.5,2.6-1.1,3.9-2c1.3-0.9,2.5-2.1,3.5-3.6c1-1.5,1.9-3.4,2.5-5.7c0.7-2.3,1-5,1-8.3c0-3.1-0.3-5.9-0.9-8.4
356
+ c-0.6-2.5-1.6-4.6-3-6.3c-1.4-1.7-3.2-3.1-5.4-4c-2.2-0.9-4.9-1.4-8.2-1.4h-11.8v40.8H415.1z"
357
+ />
358
+ <path
359
+ d="M487.8,47.9c1.1,0,2.3,0,3.6,0c1.3,0,2.6,0.1,3.9,0.2c1.3,0.1,2.5,0.3,3.6,0.6c1.1,0.2,2,0.6,2.8,1.1
360
+ c1.7,1,3.2,2.5,4.4,4.3c1.2,1.8,1.8,4,1.8,6.7c0,2.8-0.7,5.2-2,7.2c-1.3,2-3.3,3.5-5.8,4.5v0.1c3.2,0.7,5.7,2.2,7.4,4.4
361
+ c1.7,2.3,2.6,5,2.6,8.2c0,1.9-0.3,3.8-1,5.6c-0.7,1.8-1.7,3.4-3.1,4.8c-1.3,1.4-3,2.5-5,3.4c-2,0.9-4.3,1.3-6.9,1.3h-25.4V47.9
362
+ H487.8z M489.7,70.5c4,0,6.8-0.7,8.6-2.1c1.7-1.4,2.6-3.5,2.6-6.3c0-1.9-0.3-3.3-0.9-4.4c-0.6-1.1-1.4-1.9-2.4-2.5
363
+ c-1-0.6-2.2-1-3.6-1.1c-1.3-0.2-2.8-0.3-4.3-0.3h-14v16.7H489.7z M493.2,94.6c3.1,0,5.5-0.8,7.2-2.5c1.7-1.7,2.6-4,2.6-6.9
364
+ c0-1.7-0.3-3.1-1-4.3c-0.6-1.1-1.5-2-2.5-2.7c-1.1-0.7-2.3-1.1-3.6-1.4c-1.4-0.3-2.8-0.4-4.3-0.4h-16v18.2H493.2z"
365
+ />
366
+ <path
367
+ d="M540.8,100.5h-7V79l-20.3-31h8.3l15.7,25l15.4-25h7.9l-20.1,31V100.5z"
368
+ />
369
+ </g>
370
+ <g>
371
+ <path
372
+ fill="#9924DF"
373
+ d="M597.5,59.6h-10.1c-2.6,0-5.1-4.5-5.1-5.9c0-2.4,3.8-4.8,7.4-4.8h30.1c1.9,0,2.9,0.9,2.9,2.6c0,4-2.6,8-5.1,8
374
+ h-9.8v33.2c0,4-2.6,8-5.2,8c-2.6,0-5.1-4.5-5.1-5.9V59.6z"
375
+ />
376
+ <path
377
+ fill="#9924DF"
378
+ d="M633.6,100.5c-2.6,0-5.1-4.5-5.1-5.9V53.8c0-2.4,3.8-4.8,7.4-4.8h24.2c1.8,0,2.7,0.9,2.7,2.6
379
+ c0,2.6-1.2,5.3-2.6,6.7c-0.8,0.7-1.5,1-2.3,1h-19.1v10.4h18c1.7,0,2.6,0.8,2.6,2.4c0,3.6-2.3,7.1-4.6,7.1h-16v11h22
380
+ c1.8,0,2.7,0.9,2.7,2.6c0,2.6-1.2,5.3-2.6,6.7c-0.8,0.7-1.5,1-2.3,1H633.6z"
381
+ />
382
+ <path
383
+ fill="#9924DF"
384
+ d="M675.6,100.5c-2.6,0-5.1-4.5-5.1-5.9V53.3c0-2.4,3.8-4.8,7.4-4.8c1.9,0,2.9,0.9,2.9,2.6v39h19.1
385
+ c1.8,0,2.7,0.9,2.7,2.6c0,2.6-1.2,5.3-2.6,6.7c-0.8,0.7-1.5,1-2.3,1H675.6z"
386
+ />
387
+ <path
388
+ fill="#9924DF"
389
+ d="M708.4,53.3c0-2.4,3.8-4.8,7.4-4.8c1.9,0,2.9,0.9,2.9,2.6v41.7c0,4-2.6,8-5.2,8c-2.6,0-5.1-4.5-5.1-5.9V53.3z"
390
+ />
391
+ <path
392
+ fill="#9924DF"
393
+ d="M756.9,90.2h-21l-2.2,6.3c-0.9,2.6-2.7,4.4-4.5,4.4c-2.6,0-5.1-4.5-5.1-5.9c0-0.3,0.1-0.7,0.3-1.3l15.1-40.9
394
+ c0.5-1.4,2.1-2.6,4.2-3.3c1-0.4,2-0.5,2.9-0.5h4.6c1.5,0,2.4,0.5,2.7,1.6l14.7,40.8c0.2,0.4,0.3,1,0.3,1.5c0,4-2.6,8-5.1,8
395
+ c-1.3,0-2.6-1-3.8-2.9c-0.5-0.7-0.9-1.5-1.1-2.1L756.9,90.2z M753.9,81.4l-7.4-21.3L739,81.4H753.9z"
396
+ />
397
+ <path
398
+ fill="#9924DF"
399
+ d="M820.5,90.2h-21l-2.2,6.3c-0.9,2.6-2.7,4.4-4.5,4.4c-2.6,0-5.1-4.5-5.1-5.9c0-0.3,0.1-0.7,0.3-1.3L803,52.8
400
+ c0.5-1.4,2.1-2.6,4.2-3.3c1-0.4,2-0.5,2.9-0.5h4.6c1.5,0,2.4,0.5,2.7,1.6l14.7,40.8c0.2,0.4,0.3,1,0.3,1.5c0,4-2.6,8-5.1,8
401
+ c-1.2,0-2.6-1-3.8-2.9c-0.5-0.7-0.9-1.5-1.1-2.1L820.5,90.2z M817.4,81.4l-7.4-21.3l-7.5,21.3H817.4z"
402
+ />
403
+ <path
404
+ fill="#9924DF"
405
+ d="M860.4,101.6c-9.6,0-17.8-5.4-22.1-13.4c-2.1-4-3.2-8.3-3.2-12.9c0-10.2,5.5-19.1,13.7-23.8
406
+ c4-2.4,8.5-3.5,13.1-3.5c5.1,0,9.7,1.3,13.8,3.8c0.7,0.4,1.1,1.2,1.1,2.2c0,3.6-2.4,7.4-4.6,7.4c-0.5,0-1.1-0.1-1.8-0.5
407
+ c-3-1.5-5.9-2.3-8.7-2.3c-6.2,0-11.3,3.2-13.8,8.1c-1.3,2.5-2,5.2-2,8.2c0,6.3,3,11.5,7.7,14.1c2.3,1.4,4.9,2.1,7.7,2.1
408
+ c3.2,0,6.4-0.7,9.6-2.1c1.7-0.7,3-1.1,4-1.1c1.8,0,2.6,0.9,2.6,2.6c0,2.6-1.2,5.3-2.9,6.8C871.4,99.7,865.6,101.6,860.4,101.6z"
409
+ />
410
+ <path
411
+ fill="#9924DF"
412
+ d="M889.3,100.5c-2.6,0-5.1-4.5-5.1-5.9V53.8c0-2.4,3.8-4.8,7.4-4.8h24.2c1.8,0,2.7,0.9,2.7,2.6
413
+ c0,2.6-1.2,5.3-2.6,6.7c-0.8,0.7-1.5,1-2.3,1h-19.1v10.4h18c1.7,0,2.6,0.8,2.6,2.4c0,3.6-2.3,7.1-4.6,7.1h-16v11h22
414
+ c1.8,0,2.7,0.9,2.7,2.6c0,2.6-1.2,5.3-2.6,6.7c-0.8,0.7-1.5,1-2.3,1H889.3z"
415
+ />
416
+ </g>
417
+ </svg>
418
+ </a>
419
+ </div>`;
420
+ }
421
+ };
422
+ u.styles = [
423
+ C.styles || [],
424
+ _`
425
+ .copyright {
426
+ padding: var(--spacing-md);
427
+ box-shadow: 1px 0px 10px rgba(0, 0, 0, 0.1);
428
+ z-index: 6;
429
+ background-color: #fff;
430
+ }
431
+
432
+ a {
433
+ display: flex;
434
+ justify-content: center;
435
+ align-items: center;
436
+ outline: none;
437
+ }
438
+
439
+ svg {
440
+ width: 145px;
441
+ }
442
+
443
+ svg.compact {
444
+ width: 130px;
445
+ }
446
+ `
447
+ ];
448
+ u = U([
449
+ L("ace-copyright")
450
+ ], u);
451
+ const X = u;
452
+ export {
453
+ u as CopyrightComponent,
454
+ X as default
455
+ };
@@ -1,8 +1,7 @@
1
1
  import { LitElement } from 'lit';
2
- declare const WidgetElement: (new (...args: any[]) => import("@telia-ace/widget-runtime-flamingo/dist/mixins/widget-component.mixin").WidgetComponentInterface) & typeof LitElement;
2
+ declare const WidgetElement: (new (...args: any[]) => import("libs/runtime/src/mixins/widget-component.mixin").WidgetComponentInterface) & typeof LitElement;
3
3
  export declare class CopyrightComponent extends WidgetElement {
4
4
  static styles: import("lit").CSSResultGroup[];
5
5
  render(): import("lit").TemplateResult<1>;
6
6
  }
7
7
  export default CopyrightComponent;
8
- //# sourceMappingURL=copyright.d.ts.map