@telia-ace/widget-conversation-flamingo 1.0.45 → 1.0.46

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.
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./index-2a545cb2.js"),nt=require("./send-df47dcea.js");/**
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./index-2de37dc6.js"),nt=require("./send-df47dcea.js");/**
2
2
  * @license
3
3
  * Copyright 2017 Google LLC
4
4
  * SPDX-License-Identifier: BSD-3-Clause
@@ -30,7 +30,7 @@
30
30
  * @license
31
31
  * Copyright 2022 Google LLC
32
32
  * SPDX-License-Identifier: BSD-3-Clause
33
- */function ie({context:e,subscribe:t}){return Vt({finisher:(s,i)=>{s.addInitializer(n=>{new te(n,{context:e,callback:o=>{n[i]=o},subscribe:t})})}})}const ne="children",oe="descriptor",re="container",ae="context",le="layout",ce="properties";class de{constructor(t){(this.host=t).addController(this)}hostConnected(){}hostDisconnected(){}setDescriptor(t){this._descriptor=t}setContainer(t){this._container=t}async dispatch(t,s){if(!this._container||!this._descriptor)return;const i=await l.pt.getInstance(this._container),n=new l.P(i).withId(this._descriptor.id);await i.actions(n,this._descriptor.type||l.ht()).dispatch(t,s)}}const he=e=>{const t={};return Object.keys(e).forEach(s=>{s.indexOf("css-")>-1&&(t[s]=e[s])}),t},ue=(e,t)=>{const s=he(t);Object.entries(s).forEach(([i,n])=>{e.style.setProperty(i.replace("css-",""),n)})};var fe=Object.defineProperty,pe=Object.getOwnPropertyDescriptor,b=(e,t,s,i)=>{for(var n=i>1?void 0:i?pe(t,s):t,o=e.length-1,r;o>=0;o--)(r=e[o])&&(n=(i?r(t,s,n):r(n))||n);return i&&n&&fe(t,s,n),n};const $e=e=>{class t extends e{constructor(){super(...arguments),this.entry="",this._descriptorProvider=new T(this,oe,void 0),this._childrenProvider=new T(this,ne,[]),this._propertiesProvider=new T(this,ce,{}),this._contextProvider=new T(this,ae,{}),this._layoutProvider=new T(this,le,{}),this.actions=new de(this),this.context={},this.layout={},this.properties={}}connectedCallback(){super.connectedCallback(),this.container&&(this.actions.setContainer(this.container),l.pt.getInstance(this.container).then(async i=>{var o;const n=i.nodes.get(this.entry);if(n){this._propertyChangeListener=i.events.subscribe("components:properties-changed",(u,h)=>{n.id===h.node.id&&this._setProperties(h.node.attributes.properties)}),this._contextChangeListener=i.events.subscribe("components:context-changed",(u,h)=>{n.id===h.node.id&&this._setContext(h.node.attributes.context)}),this._layoutChangeListener=i.events.subscribe("components:layout-changed",(u,h)=>{n.id===h.node.id&&this._setLayout(h.node.attributes.layout)});const r="default";this._unmountNode=n.mount(this.container),this._setDescriptor(l.Et(n,r)),this._setProperties(n.attributes.properties),this._setContext(n.attributes.context),this._setLayout(this.layout);const a=n.getChildren(r).map(u=>l.Et(u));this._childrenProvider.setValue(a);const d=(await this.container.getAsync("componentResolver")).getComponent(((o=this.descriptor)==null?void 0:o.type)||"");d.then&&d.then(u=>{this.component=u.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),l.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))`),ue(this.renderRoot.host,this.properties)}_setProperties(i){this._propertiesProvider.setValue(i),this.properties=i}_setContext(i){this._contextProvider.setValue(i),this.context=i}_setLayout(i){this._layoutProvider.setValue(i),this.layout=i}_setDescriptor(i){this.descriptor=i,this._descriptorProvider.setValue(i),this.actions.setDescriptor(i)}}return t.styles=[e.styles??[],l.i`
33
+ */function ie({context:e,subscribe:t}){return Vt({finisher:(s,i)=>{s.addInitializer(n=>{new te(n,{context:e,callback:o=>{n[i]=o},subscribe:t})})}})}const ne="children",oe="descriptor",re="container",ae="context",le="layout",ce="properties";class de{constructor(t){(this.host=t).addController(this)}hostConnected(){}hostDisconnected(){}setDescriptor(t){this._descriptor=t}setContainer(t){this._container=t}async dispatch(t,s){if(!this._container||!this._descriptor)return;const i=await l.pt.getInstance(this._container),n=new l.P(i).withId(this._descriptor.id);await i.actions(n,this._descriptor.type||l.ht()).dispatch(t,s)}}const he=e=>{const t={};return Object.keys(e).forEach(s=>{s.indexOf("css-")>-1&&(t[s]=e[s])}),t},ue=(e,t)=>{const s=he(t);Object.entries(s).forEach(([i,n])=>{e.style.setProperty(i.replace("css-",""),n)})};var pe=Object.defineProperty,fe=Object.getOwnPropertyDescriptor,b=(e,t,s,i)=>{for(var n=i>1?void 0:i?fe(t,s):t,o=e.length-1,r;o>=0;o--)(r=e[o])&&(n=(i?r(t,s,n):r(n))||n);return i&&n&&pe(t,s,n),n};const $e=e=>{class t extends e{constructor(){super(...arguments),this.entry="",this._descriptorProvider=new T(this,oe,void 0),this._childrenProvider=new T(this,ne,[]),this._propertiesProvider=new T(this,ce,{}),this._contextProvider=new T(this,ae,{}),this._layoutProvider=new T(this,le,{}),this.actions=new de(this),this.context={},this.layout={},this.properties={}}connectedCallback(){super.connectedCallback(),this.container&&(this.actions.setContainer(this.container),l.pt.getInstance(this.container).then(async i=>{var o,r;const n=i.nodes.get(this.entry);if(n){this._propertyChangeListener=i.events.subscribe("components:properties-changed",(h,p)=>{n.id===p.node.id&&this._setProperties(p.node.attributes.properties)}),this._contextChangeListener=i.events.subscribe("components:context-changed",(h,p)=>{n.id===p.node.id&&this._setContext(p.node.attributes.context)}),this._layoutChangeListener=i.events.subscribe("components:layout-changed",(h,p)=>{n.id===p.node.id&&this._setLayout(p.node.attributes.layout)});const a="default";this._unmountNode=n.mount(this.container),this._setDescriptor(l.Et(n,a)),this._setProperties(n.attributes.properties),this._setContext(n.attributes.context),this._setLayout(this.layout);const c=n.getChildren(a).map(h=>l.Et(h));this._childrenProvider.setValue(c);const d=await this.container.getAsync("componentResolver");if(((o=this.descriptor)==null?void 0:o.type)==="area")return;const u=d.getComponent(((r=this.descriptor)==null?void 0:r.type)||"");u.then&&u.then(h=>{this.component=h.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),l.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))`),ue(this.renderRoot.host,this.properties)}_setProperties(i){this._propertiesProvider.setValue(i),this.properties=i}_setContext(i){this._contextProvider.setValue(i),this.context=i}_setLayout(i){this._layoutProvider.setValue(i),this.layout=i}_setDescriptor(i){this.descriptor=i,this._descriptorProvider.setValue(i),this.actions.setDescriptor(i)}}return t.styles=[e.styles??[],l.i`
34
34
  :host {
35
35
  font-family: var(--font-family);
36
36
  grid-column: span var(--width);
@@ -54,10 +54,10 @@
54
54
  * @license
55
55
  * Copyright 2020 Google LLC
56
56
  * SPDX-License-Identifier: BSD-3-Clause
57
- */const ye=()=>new xe;let xe=class{};const K=new WeakMap,_e=l.e(class extends Tt{render(e){return l.A}update(e,[t]){var s;const i=t!==this.G;return i&&this.G!==void 0&&this.ot(void 0),(i||this.rt!==this.lt)&&(this.G=t,this.dt=(s=e.options)===null||s===void 0?void 0:s.host,this.ot(this.lt=e.element)),l.A}ot(e){var t;if(typeof this.G=="function"){const s=(t=this.dt)!==null&&t!==void 0?t:globalThis;let i=K.get(s);i===void 0&&(i=new WeakMap,K.set(s,i)),i.get(this.G)!==void 0&&this.G.call(this.dt,void 0),i.set(this.G,e),e!==void 0&&this.G.call(this.dt,e)}else this.G.value=e}get rt(){var e,t,s;return typeof this.G=="function"?(t=K.get((e=this.dt)!==null&&e!==void 0?e:globalThis))===null||t===void 0?void 0:t.get(this.G):(s=this.G)===null||s===void 0?void 0:s.value}disconnected(){this.rt===this.lt&&this.ot(void 0)}reconnected(){this.ot(this.lt)}}),Ce=new WeakMap;let ot=0;const Q=new Map,rt=new WeakSet,at=()=>new Promise(e=>requestAnimationFrame(e)),lt=[{opacity:0}],ct=[{opacity:0},{opacity:1}],dt=(e,t)=>{const s=e-t;return s===0?void 0:s},ht=(e,t)=>{const s=e/t;return s===1?void 0:s},X={left:(e,t)=>{const s=dt(e,t);return{value:s,transform:s==null||isNaN(s)?void 0:`translateX(${s}px)`}},top:(e,t)=>{const s=dt(e,t);return{value:s,transform:s==null||isNaN(s)?void 0:`translateY(${s}px)`}},width:(e,t)=>{let s;t===0&&(t=1,s={width:"1px"});const i=ht(e,t);return{value:i,overrideFrom:s,transform:i==null||isNaN(i)?void 0:`scaleX(${i})`}},height:(e,t)=>{let s;t===0&&(t=1,s={height:"1px"});const i=ht(e,t);return{value:i,overrideFrom:s,transform:i==null||isNaN(i)?void 0:`scaleY(${i})`}}},we={duration:333,easing:"ease-in-out"},ke=["left","top","width","height","opacity","color","background"],ut=new WeakMap;class Se extends Tt{constructor(t){if(super(t),this.t=null,this.i=null,this.o=!0,this.shouldLog=!1,t.type===l.t$1.CHILD)throw Error("The `animate` directive must be used in attribute position.");this.createFinished()}createFinished(){var t;(t=this.resolveFinished)===null||t===void 0||t.call(this),this.finished=new Promise(s=>{this.h=s})}async resolveFinished(){var t;(t=this.h)===null||t===void 0||t.call(this),this.h=void 0}render(t){return l.A}getController(){return Ce.get(this.l)}isDisabled(){var t;return this.options.disabled||((t=this.getController())===null||t===void 0?void 0:t.disabled)}update(t,[s]){var i;const n=this.l===void 0;return n&&(this.l=(i=t.options)===null||i===void 0?void 0:i.host,this.l.addController(this),this.element=t.element,ut.set(this.element,this)),this.optionsOrCallback=s,(n||typeof s!="function")&&this.u(s),this.render(s)}u(t){var s,i;t=t??{};const n=this.getController();n!==void 0&&((t={...n.defaultOptions,...t}).keyframeOptions={...n.defaultOptions.keyframeOptions,...t.keyframeOptions}),(s=(i=t).properties)!==null&&s!==void 0||(i.properties=ke),this.options=t}v(){const t={},s=this.element.getBoundingClientRect(),i=getComputedStyle(this.element);return this.options.properties.forEach(n=>{var o;const r=(o=s[n])!==null&&o!==void 0?o:X[n]?void 0:i[n],a=Number(r);t[n]=isNaN(a)?r+"":a}),t}p(){let t,s=!0;return this.options.guard&&(t=this.options.guard(),s=((i,n)=>{if(Array.isArray(i)){if(Array.isArray(n)&&n.length===i.length&&i.every((o,r)=>o===n[r]))return!1}else if(n===i)return!1;return!0})(t,this.m)),this.o=this.l.hasUpdated&&!this.isDisabled()&&!this.isAnimating()&&s&&this.element.isConnected,this.o&&(this.m=Array.isArray(t)?Array.from(t):t),this.o}hostUpdate(){var t;typeof this.optionsOrCallback=="function"&&this.u(this.optionsOrCallback()),this.p()&&(this.g=this.v(),this.t=(t=this.t)!==null&&t!==void 0?t:this.element.parentNode,this.i=this.element.nextSibling)}async hostUpdated(){if(!this.o||!this.element.isConnected||this.options.skipInitial&&!this.isHostRendered)return;let t;this.prepare(),await at;const s=this._(),i=this.A(this.options.keyframeOptions,s),n=this.v();if(this.g!==void 0){const{from:o,to:r}=this.O(this.g,n,s);this.log("measured",[this.g,n,o,r]),t=this.calculateKeyframes(o,r)}else{const o=Q.get(this.options.inId);if(o){Q.delete(this.options.inId);const{from:r,to:a}=this.O(o,n,s);t=this.calculateKeyframes(r,a),t=this.options.in?[{...this.options.in[0],...t[0]},...this.options.in.slice(1),t[1]]:t,ot++,t.forEach(c=>c.zIndex=ot)}else this.options.in&&(t=[...this.options.in,{}])}this.animate(t,i)}resetStyles(){var t;this.j!==void 0&&(this.element.setAttribute("style",(t=this.j)!==null&&t!==void 0?t:""),this.j=void 0)}commitStyles(){var t,s;this.j=this.element.getAttribute("style"),(t=this.webAnimation)===null||t===void 0||t.commitStyles(),(s=this.webAnimation)===null||s===void 0||s.cancel()}reconnected(){}async disconnected(){var t;if(!this.o||(this.options.id!==void 0&&Q.set(this.options.id,this.g),this.options.out===void 0))return;if(this.prepare(),await at(),(t=this.t)===null||t===void 0?void 0:t.isConnected){const i=this.i&&this.i.parentNode===this.t?this.i:null;if(this.t.insertBefore(this.element,i),this.options.stabilizeOut){const n=this.v();this.log("stabilizing out");const o=this.g.left-n.left,r=this.g.top-n.top;getComputedStyle(this.element).position!=="static"||o===0&&r===0||(this.element.style.position="relative"),o!==0&&(this.element.style.left=o+"px"),r!==0&&(this.element.style.top=r+"px")}}const s=this.A(this.options.keyframeOptions);await this.animate(this.options.out,s),this.element.remove()}prepare(){this.createFinished()}start(){var t,s;(s=(t=this.options).onStart)===null||s===void 0||s.call(t,this)}didFinish(t){var s,i;t&&((i=(s=this.options).onComplete)===null||i===void 0||i.call(s,this)),this.g=void 0,this.animatingProperties=void 0,this.frames=void 0,this.resolveFinished()}_(){const t=[];for(let s=this.element.parentNode;s;s=s==null?void 0:s.parentNode){const i=ut.get(s);i&&!i.isDisabled()&&i&&t.push(i)}return t}get isHostRendered(){const t=rt.has(this.l);return t||this.l.updateComplete.then(()=>{rt.add(this.l)}),t}A(t,s=this._()){const i={...we};return s.forEach(n=>Object.assign(i,n.options.keyframeOptions)),Object.assign(i,t),i}O(t,s,i){t={...t},s={...s};const n=i.map(a=>a.animatingProperties).filter(a=>a!==void 0);let o=1,r=1;return n!==void 0&&(n.forEach(a=>{a.width&&(o/=a.width),a.height&&(r/=a.height)}),t.left!==void 0&&s.left!==void 0&&(t.left=o*t.left,s.left=o*s.left),t.top!==void 0&&s.top!==void 0&&(t.top=r*t.top,s.top=r*s.top)),{from:t,to:s}}calculateKeyframes(t,s,i=!1){var n;const o={},r={};let a=!1;const c={};for(const d in s){const u=t[d],h=s[d];if(d in X){const f=X[d];if(u===void 0||h===void 0)continue;const p=f(u,h);p.transform!==void 0&&(c[d]=p.value,a=!0,o.transform=`${(n=o.transform)!==null&&n!==void 0?n:""} ${p.transform}`,p.overrideFrom!==void 0&&Object.assign(o,p.overrideFrom))}else u!==h&&u!==void 0&&h!==void 0&&(a=!0,o[d]=u,r[d]=h)}return o.transformOrigin=r.transformOrigin=i?"center center":"top left",this.animatingProperties=c,a?[o,r]:void 0}async animate(t,s=this.options.keyframeOptions){this.start(),this.frames=t;let i=!1;if(!this.isAnimating()&&!this.isDisabled()&&(this.options.onFrames&&(this.frames=t=this.options.onFrames(this),this.log("modified frames",t)),t!==void 0)){this.log("animate",[t,s]),i=!0,this.webAnimation=this.element.animate(t,s);const n=this.getController();n==null||n.add(this);try{await this.webAnimation.finished}catch{}n==null||n.remove(this)}return this.didFinish(i),i}isAnimating(){var t,s;return((t=this.webAnimation)===null||t===void 0?void 0:t.playState)==="running"||((s=this.webAnimation)===null||s===void 0?void 0:s.pending)}log(t,s){this.shouldLog&&!this.isDisabled()&&console.log(t,this.options.id,s)}}const ft=l.e(Se),x={allRenderFn:!1,cmpDidLoad:!0,cmpDidUnload:!1,cmpDidUpdate:!0,cmpDidRender:!0,cmpWillLoad:!0,cmpWillUpdate:!0,cmpWillRender:!0,connectedCallback:!0,disconnectedCallback:!0,element:!0,event:!0,hasRenderFn:!0,lifecycle:!0,hostListener:!0,hostListenerTargetWindow:!0,hostListenerTargetDocument:!0,hostListenerTargetBody:!0,hostListenerTargetParent:!1,hostListenerTarget:!0,member:!0,method:!0,mode:!0,observeAttribute:!0,prop:!0,propMutable:!0,reflect:!0,scoped:!0,shadowDom:!0,slot:!0,cssAnnotations:!0,state:!0,style:!0,svg:!0,updatable:!0,vdomAttribute:!0,vdomXlink:!0,vdomClass:!0,vdomFunctional:!0,vdomKey:!0,vdomListener:!0,vdomRef:!0,vdomPropOrAttr:!0,vdomRender:!0,vdomStyle:!0,vdomText:!0,watchCallback:!0,taskQueue:!0,hotModuleReplacement:!1,isDebug:!1,isDev:!1,isTesting:!1,hydrateServerSide:!1,hydrateClientSide:!1,lifecycleDOMEvents:!1,lazyLoad:!1,profile:!1,slotRelocation:!0,appendChildSlotFix:!1,cloneNodeFix:!1,hydratedAttribute:!1,hydratedClass:!0,safari10:!1,scriptDataOpts:!1,scopedSlotTextContentFix:!1,shadowDomShim:!1,slotChildNodesFix:!1,invisiblePrehydration:!0,propBoolean:!0,propNumber:!0,propString:!0,cssVarShim:!1,constructableCSS:!0,cmpShouldUpdate:!0,devTools:!1,dynamicImportShim:!1,shadowDelegatesFocus:!0,initializeNextTick:!1,asyncLoading:!1,asyncQueue:!1,transformTagName:!1,attachStyles:!0};let _,Ot,W,Pt=!1,D=!1,tt=!1,g=!1,pt=null,Y=!1;const q=typeof window<"u"?window:{},m=q.document||{head:{}},Lt=q.HTMLElement||class{},$={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,s,i)=>e.addEventListener(t,s,i),rel:(e,t,s,i)=>e.removeEventListener(t,s,i),ce:(e,t)=>new CustomEvent(e,t)},Ae=(()=>{let e=!1;try{m.addEventListener("e",null,Object.defineProperty({},"passive",{get(){e=!0}}))}catch{}return e})(),Te=e=>Promise.resolve(e),Oe=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replace=="function"}catch{}return!1})(),Et=(e,t,s,i)=>{s&&s.map(([n,o,r])=>{const a=Le(e,n),c=Pe(t,r),d=Ee(n);$.ael(a,o,c,d),(t.$rmListeners$=t.$rmListeners$||[]).push(()=>$.rel(a,o,c,d))})},Pe=(e,t)=>s=>{try{x.lazyLoad||e.$hostElement$[t](s)}catch(i){L(i)}},Le=(e,t)=>t&4?m:t&8?q:t&16?m.body:e,Ee=e=>Ae?{passive:(e&1)!==0,capture:(e&2)!==0}:(e&2)!==0,$t="http://www.w3.org/1999/xlink",y=(e,t="")=>()=>{},gt=new WeakMap,je=(e,t,s)=>{let i=M.get(e);Oe&&s?(i=i||new CSSStyleSheet,i.replace(t)):i=t,M.set(e,i)},Re=(e,t,s,i)=>{let n=jt(t,s),o=M.get(n);if(e=e.nodeType===11?e:m,o)if(typeof o=="string"){e=e.head||e;let r=gt.get(e),a;r||gt.set(e,r=new Set),r.has(n)||(a=m.createElement("style"),a.innerHTML=o,e.insertBefore(a,e.querySelector("link")),r&&r.add(n))}else e.adoptedStyleSheets.includes(o)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,o]);return n},De=e=>{const t=e.$cmpMeta$,s=e.$hostElement$,i=t.$flags$,n=y("attachStyles",t.$tagName$),o=Re(s.shadowRoot?s.shadowRoot:s.getRootNode(),t,e.$modeName$);i&10&&(s["s-sc"]=o,s.classList.add(o+"-h"),i&2&&s.classList.add(o+"-s")),n()},jt=(e,t)=>"sc-"+(t&&e.$flags$&32?e.$tagName$+"-"+t:e.$tagName$),Ie=e=>ds.map(t=>t(e)).find(t=>!!t),vt={},Ne="http://www.w3.org/2000/svg",Me="http://www.w3.org/1999/xhtml",He=e=>e!=null,et=e=>(e=typeof e,e==="object"||e==="function"),w=(e,t,...s)=>{let i=null,n=null,o=null,r=!1,a=!1,c=[];const d=h=>{for(let f=0;f<h.length;f++)i=h[f],Array.isArray(i)?d(i):i!=null&&typeof i!="boolean"&&((r=typeof e!="function"&&!et(i))&&(i=String(i)),r&&a?c[c.length-1].$text$+=i:c.push(r?I(null,i):i),a=r)};if(d(s),t){t.key&&(n=t.key),t.name&&(o=t.name);{const h=t.className||t.class;h&&(t.class=typeof h!="object"?h:Object.keys(h).filter(f=>h[f]).join(" "))}}if(typeof e=="function")return e(t===null?{}:t,c,Fe);const u=I(e,null);return u.$attrs$=t,c.length>0&&(u.$children$=c),u.$key$=n,u.$name$=o,u},I=(e,t)=>{const s={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return s.$attrs$=null,s.$key$=null,s.$name$=null,s},st={},ze=e=>e&&e.$tag$===st,Fe={forEach:(e,t)=>e.map(mt).forEach(t),map:(e,t)=>e.map(mt).map(t).map(Ue)},mt=e=>({vattrs:e.$attrs$,vchildren:e.$children$,vkey:e.$key$,vname:e.$name$,vtag:e.$tag$,vtext:e.$text$}),Ue=e=>{if(typeof e.vtag=="function"){const s=Object.assign({},e.vattrs);return e.vkey&&(s.key=e.vkey),e.vname&&(s.name=e.vname),w(e.vtag,s,...e.vchildren||[])}const t=I(e.vtag,e.vtext);return t.$attrs$=e.vattrs,t.$children$=e.vchildren,t.$key$=e.vkey,t.$name$=e.vname,t},bt=(e,t,s,i,n,o)=>{if(s!==i){let r=Ct(e,t),a=t.toLowerCase();if(t==="class"){const c=e.classList,d=yt(s),u=yt(i);c.remove(...d.filter(h=>h&&!u.includes(h))),c.add(...u.filter(h=>h&&!d.includes(h)))}else if(t==="style"){for(const c in s)(!i||i[c]==null)&&(c.includes("-")?e.style.removeProperty(c):e.style[c]="");for(const c in i)(!s||i[c]!==s[c])&&(c.includes("-")?e.style.setProperty(c,i[c]):e.style[c]=i[c])}else if(t!=="key")if(t==="ref")i&&i(e);else if(!e.__lookupSetter__(t)&&t[0]==="o"&&t[1]==="n")t[2]==="-"?t=t.slice(3):Ct(q,a)?t=a.slice(2):t=a[2]+t.slice(3),s&&$.rel(e,t,s,!1),i&&$.ael(e,t,i,!1);else{const c=et(i);if((r||c&&i!==null)&&!n)try{if(e.tagName.includes("-"))e[t]=i;else{let u=i??"";t==="list"?r=!1:(s==null||e[t]!=u)&&(e[t]=u)}}catch{}let d=!1;a!==(a=a.replace(/^xlink\:?/,""))&&(t=a,d=!0),i==null||i===!1?(i!==!1||e.getAttribute(t)==="")&&(d?e.removeAttributeNS($t,t):e.removeAttribute(t)):(!r||o&4||n)&&!c&&(i=i===!0?"":i,d?e.setAttributeNS($t,t,i):e.setAttribute(t,i))}}},Be=/\s/,yt=e=>e?e.split(Be):[],Rt=(e,t,s,i)=>{const n=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,o=e&&e.$attrs$||vt,r=t.$attrs$||vt;for(i in o)i in r||bt(n,i,o[i],void 0,s,t.$flags$);for(i in r)bt(n,i,o[i],r[i],s,t.$flags$)},N=(e,t,s,i)=>{let n=t.$children$[s],o=0,r,a,c;if(Pt||(tt=!0,n.$tag$==="slot"&&(_&&i.classList.add(_+"-s"),n.$flags$|=n.$children$?2:1)),n.$text$!==null)r=n.$elm$=m.createTextNode(n.$text$);else if(n.$flags$&1)r=n.$elm$=m.createTextNode("");else{if(g||(g=n.$tag$==="svg"),r=n.$elm$=m.createElementNS(g?Ne:Me,n.$flags$&2?"slot-fb":n.$tag$),g&&n.$tag$==="foreignObject"&&(g=!1),Rt(null,n,g),He(_)&&r["s-si"]!==_&&r.classList.add(r["s-si"]=_),n.$children$)for(o=0;o<n.$children$.length;++o)a=N(e,n,o,r),a&&r.appendChild(a);n.$tag$==="svg"?g=!1:r.tagName==="foreignObject"&&(g=!0)}return r["s-hn"]=W,n.$flags$&3&&(r["s-sr"]=!0,r["s-cr"]=Ot,r["s-sn"]=n.$name$||"",c=e&&e.$children$&&e.$children$[s],c&&c.$tag$===n.$tag$&&e.$elm$&&P(e.$elm$,!1)),r},P=(e,t)=>{$.$flags$|=1;const s=e.childNodes;for(let i=s.length-1;i>=0;i--){const n=s[i];n["s-hn"]!==W&&n["s-ol"]&&(Nt(n).insertBefore(n,it(n)),n["s-ol"].remove(),n["s-ol"]=void 0,tt=!0),t&&P(n,t)}$.$flags$&=-2},Dt=(e,t,s,i,n,o)=>{let r=e["s-cr"]&&e["s-cr"].parentNode||e,a;for(r.shadowRoot&&r.tagName===W&&(r=r.shadowRoot);n<=o;++n)i[n]&&(a=N(null,s,n,e),a&&(i[n].$elm$=a,r.insertBefore(a,it(t))))},It=(e,t,s,i,n)=>{for(;t<=s;++t)(i=e[t])&&(n=i.$elm$,zt(i),D=!0,n["s-ol"]?n["s-ol"].remove():P(n,!0),n.remove())},We=(e,t,s,i)=>{let n=0,o=0,r=0,a=0,c=t.length-1,d=t[0],u=t[c],h=i.length-1,f=i[0],p=i[h],A,E;for(;n<=c&&o<=h;)if(d==null)d=t[++n];else if(u==null)u=t[--c];else if(f==null)f=i[++o];else if(p==null)p=i[--h];else if(j(d,f))C(d,f),d=t[++n],f=i[++o];else if(j(u,p))C(u,p),u=t[--c],p=i[--h];else if(j(d,p))(d.$tag$==="slot"||p.$tag$==="slot")&&P(d.$elm$.parentNode,!1),C(d,p),e.insertBefore(d.$elm$,u.$elm$.nextSibling),d=t[++n],p=i[--h];else if(j(u,f))(d.$tag$==="slot"||p.$tag$==="slot")&&P(u.$elm$.parentNode,!1),C(u,f),e.insertBefore(u.$elm$,d.$elm$),u=t[--c],f=i[++o];else{for(r=-1,a=n;a<=c;++a)if(t[a]&&t[a].$key$!==null&&t[a].$key$===f.$key$){r=a;break}r>=0?(E=t[r],E.$tag$!==f.$tag$?A=N(t&&t[o],s,r,e):(C(E,f),t[r]=void 0,A=E.$elm$),f=i[++o]):(A=N(t&&t[o],s,o,e),f=i[++o]),A&&Nt(d.$elm$).insertBefore(A,it(d.$elm$))}n>c?Dt(e,i[h+1]==null?null:i[h+1].$elm$,s,i,o,h):o>h&&It(t,n,c)},j=(e,t)=>e.$tag$===t.$tag$?e.$tag$==="slot"?e.$name$===t.$name$:e.$key$===t.$key$:!1,it=e=>e&&e["s-ol"]||e,Nt=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,C=(e,t)=>{const s=t.$elm$=e.$elm$,i=e.$children$,n=t.$children$,o=t.$tag$,r=t.$text$;let a;r===null?(g=o==="svg"?!0:o==="foreignObject"?!1:g,o==="slot"||Rt(e,t,g),i!==null&&n!==null?We(s,i,t,n):n!==null?(e.$text$!==null&&(s.textContent=""),Dt(s,null,t,n,0,n.length-1)):i!==null&&It(i,0,i.length-1),g&&o==="svg"&&(g=!1)):(a=s["s-cr"])?a.parentNode.textContent=r:e.$text$!==r&&(s.data=r)},Mt=e=>{let t=e.childNodes,s,i,n,o,r,a;for(i=0,n=t.length;i<n;i++)if(s=t[i],s.nodeType===1){if(s["s-sr"]){for(r=s["s-sn"],s.hidden=!1,o=0;o<n;o++)if(a=t[o].nodeType,t[o]["s-hn"]!==s["s-hn"]||r!==""){if(a===1&&r===t[o].getAttribute("slot")){s.hidden=!0;break}}else if(a===1||a===3&&t[o].textContent.trim()!==""){s.hidden=!0;break}}Mt(s)}},v=[],Ht=e=>{let t,s,i,n,o,r,a=0,c=e.childNodes,d=c.length;for(;a<d;a++){if(t=c[a],t["s-sr"]&&(s=t["s-cr"])&&s.parentNode)for(i=s.parentNode.childNodes,n=t["s-sn"],r=i.length-1;r>=0;r--)s=i[r],!s["s-cn"]&&!s["s-nr"]&&s["s-hn"]!==t["s-hn"]&&(xt(s,n)?(o=v.find(u=>u.$nodeToRelocate$===s),D=!0,s["s-sn"]=s["s-sn"]||n,o?o.$slotRefNode$=t:v.push({$slotRefNode$:t,$nodeToRelocate$:s}),s["s-sr"]&&v.map(u=>{xt(u.$nodeToRelocate$,s["s-sn"])&&(o=v.find(h=>h.$nodeToRelocate$===s),o&&!u.$slotRefNode$&&(u.$slotRefNode$=o.$slotRefNode$))})):v.some(u=>u.$nodeToRelocate$===s)||v.push({$nodeToRelocate$:s}));t.nodeType===1&&Ht(t)}},xt=(e,t)=>e.nodeType===1?e.getAttribute("slot")===null&&t===""||e.getAttribute("slot")===t:e["s-sn"]===t?!0:t==="",zt=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(zt)},qe=(e,t)=>{const s=e.$hostElement$,i=e.$cmpMeta$,n=e.$vnode$||I(null,null),o=ze(t)?t:w(null,null,t);W=s.tagName,i.$attrsToReflect$&&(o.$attrs$=o.$attrs$||{},i.$attrsToReflect$.map(([r,a])=>o.$attrs$[a]=s[r])),o.$tag$=null,o.$flags$|=4,e.$vnode$=o,o.$elm$=n.$elm$=s.shadowRoot||s,_=s["s-sc"],Ot=s["s-cr"],Pt=(i.$flags$&1)!==0,D=!1,C(n,o);{if($.$flags$|=1,tt){Ht(o.$elm$);let r,a,c,d,u,h,f=0;for(;f<v.length;f++)r=v[f],a=r.$nodeToRelocate$,a["s-ol"]||(c=m.createTextNode(""),c["s-nr"]=a,a.parentNode.insertBefore(a["s-ol"]=c,a));for(f=0;f<v.length;f++)if(r=v[f],a=r.$nodeToRelocate$,r.$slotRefNode$){for(d=r.$slotRefNode$.parentNode,u=r.$slotRefNode$.nextSibling,c=a["s-ol"];c=c.previousSibling;)if(h=c["s-nr"],h&&h["s-sn"]===a["s-sn"]&&d===h.parentNode&&(h=h.nextSibling,!h||!h["s-nr"])){u=h;break}(!u&&d!==a.parentNode||a.nextSibling!==u)&&a!==u&&(!a["s-hn"]&&a["s-ol"]&&(a["s-hn"]=a["s-ol"].parentNode.nodeName),d.insertBefore(a,u))}else a.nodeType===1&&(a.hidden=!0)}D&&Mt(o.$elm$),$.$flags$&=-2,v.length=0}},Ge=e=>e,Ke=(e,t,s)=>{const i=Ge(e);return{emit:n=>Qe(i,t,{bubbles:!!(s&4),composed:!!(s&2),cancelable:!!(s&1),detail:n})}},Qe=(e,t,s)=>{const i=$.ce(t,s);return e.dispatchEvent(i),i},Xe=(e,t)=>{},Ft=(e,t)=>(e.$flags$|=16,Xe(e,e.$ancestorComponent$),fs(()=>Ye(e,t))),Ye=(e,t)=>{const s=e.$hostElement$,i=y("scheduleUpdate",e.$cmpMeta$.$tagName$),n=s;let o;return t?o=k(n,"componentWillLoad"):o=k(n,"componentWillUpdate"),o=_t(o,()=>k(n,"componentWillRender")),i(),_t(o,()=>Je(e,n,t))},Je=async(e,t,s)=>{const i=e.$hostElement$,n=y("update",e.$cmpMeta$.$tagName$);i["s-rc"],s&&De(e);const o=y("render",e.$cmpMeta$.$tagName$);Ze(e,t,i),o(),n(),Ve(e)},Ze=(e,t,s)=>{try{pt=t,t=t.render&&t.render(),e.$flags$&=-17,e.$flags$|=2,(x.hasRenderFn||x.reflect)&&(x.vdomRender||x.reflect)&&(x.hydrateServerSide||qe(e,t))}catch(a){L(a,e.$hostElement$)}return pt=null,null},Ve=e=>{const t=e.$cmpMeta$.$tagName$,s=e.$hostElement$,i=y("postUpdate",t),n=s;e.$ancestorComponent$,k(n,"componentDidRender"),e.$flags$&64?(k(n,"componentDidUpdate"),i()):(e.$flags$|=64,k(n,"componentDidLoad"),i())},k=(e,t,s)=>{if(e&&e[t])try{return e[t](s)}catch(i){L(i)}},_t=(e,t)=>e&&e.then?e.then(t):t(),ts=(e,t)=>e!=null&&!et(e)?t&4?e==="false"?!1:e===""||!!e:t&2?parseFloat(e):t&1?String(e):e:e,es=(e,t)=>G(e).$instanceValues$.get(t),ss=(e,t,s,i)=>{const n=G(e),o=e,r=n.$instanceValues$.get(t),a=n.$flags$,c=o;s=ts(s,i.$members$[t][0]);const d=Number.isNaN(r)&&Number.isNaN(s);if(s!==r&&!d){n.$instanceValues$.set(t,s);{if(i.$watchers$&&a&128){const h=i.$watchers$[t];h&&h.map(f=>{try{c[f](s,r,t)}catch(p){L(p,o)}})}if((a&18)===2){if(c.componentShouldUpdate&&c.componentShouldUpdate(s,r,t)===!1)return;Ft(n,!1)}}}},is=(e,t,s)=>{if(t.$members$){e.watchers&&(t.$watchers$=e.watchers);const i=Object.entries(t.$members$),n=e.prototype;i.map(([o,[r]])=>{(r&31||r&32)&&Object.defineProperty(n,o,{get(){return es(this,o)},set(a){ss(this,o,a,t)},configurable:!0,enumerable:!0})});{const o=new Map;n.attributeChangedCallback=function(r,a,c){$.jmp(()=>{const d=o.get(r);if(this.hasOwnProperty(d))c=this[d],delete this[d];else if(n.hasOwnProperty(d)&&typeof this[d]=="number"&&this[d]==c)return;this[d]=c===null&&typeof this[d]=="boolean"?!1:c})},e.observedAttributes=i.filter(([r,a])=>a[0]&15).map(([r,a])=>{const c=a[1]||r;return o.set(c,r),a[0]&512&&t.$attrsToReflect$.push([r,c]),c})}}return e},ns=async(e,t,s,i,n)=>{if(!(t.$flags$&32)&&(n=e.constructor,t.$flags$|=32,customElements.whenDefined(s.$tagName$).then(()=>t.$flags$|=128),n.style)){let r=n.style;typeof r!="string"&&(r=r[t.$modeName$=Ie(e)]);const a=jt(s,t.$modeName$);if(!M.has(a)){const c=y("registerStyles",s.$tagName$);je(a,r,!!(s.$flags$&1)),c()}}t.$ancestorComponent$,(()=>Ft(t,!0))()},os=e=>{},rs=e=>{if(!($.$flags$&1)){const t=G(e),s=t.$cmpMeta$,i=y("connectedCallback",s.$tagName$);t.$flags$&1?(Et(e,t,s.$listeners$),os(t.$lazyInstance$)):(t.$flags$|=1,s.$flags$&12&&as(e),s.$members$&&Object.entries(s.$members$).map(([n,[o]])=>{if(o&31&&e.hasOwnProperty(n)){const r=e[n];delete e[n],e[n]=r}}),ns(e,t,s)),i()}},as=e=>{const t=e["s-cr"]=m.createComment("");t["s-cn"]=!0,e.insertBefore(t,e.firstChild)},ls=e=>{if(!($.$flags$&1)){const t=G(e);t.$rmListeners$&&(t.$rmListeners$.map(s=>s()),t.$rmListeners$=void 0)}},Ut=(e,t)=>{const s={$flags$:t[0],$tagName$:t[1]};s.$members$=t[2],s.$listeners$=t[3],s.$watchers$=e.$watchers$,s.$attrsToReflect$=[];const i=e.prototype.connectedCallback,n=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__registerHost(){cs(this,s)},connectedCallback(){rs(this),i&&i.call(this)},disconnectedCallback(){ls(this),n&&n.call(this)},__attachShadow(){this.attachShadow({mode:"open",delegatesFocus:!!(s.$flags$&16)})}}),e.is=s.$tagName$,is(e,s)},Bt=new WeakMap,G=e=>Bt.get(e),cs=(e,t)=>{const s={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return Et(e,s,t.$listeners$),Bt.set(e,s)},Ct=(e,t)=>t in e,L=(e,t)=>(0,console.error)(e,t),M=new Map,ds=[],wt=[],Wt=[],hs=(e,t)=>s=>{e.push(s),Y||(Y=!0,t&&$.$flags$&4?us(J):$.raf(J))},kt=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(s){L(s)}e.length=0},J=()=>{kt(wt),kt(Wt),(Y=wt.length>0)&&$.raf(J)},us=e=>Te().then(e),fs=hs(Wt,!0),ps=(e={})=>{const{content:t="",title:s,attributes:i=[]}=e;let n="",o=[{name:"xmlns",value:"http://www.w3.org/2000/svg"},{name:"fill",value:"currentColor"},...i];return s&&(n=`<title>${s}</title>`),`<svg ${o.map(a=>`${a.name}="${a.value}"`).join(" ")}>${n}${t}</svg>`},$s=e=>e.replace(/<(\/?)svg([^>]*)>/g,"").trim();function gs(e){return`${e.getFullYear()}.${e.getMonth()+1}`}class vs{constructor(t){this.voca_component=t,this.voca_added=gs(new Date)}}const ms="telia-vst{display:none}",bs=Ut(class extends Lt{constructor(){super(),this.__registerHost(),this.vocaInternalUStats=Ke(this,"vocaInternalUStats",7)}connectedCallback(){this.vocaInternalUStats.emit(new vs(this.dataTrackingId))}render(){return w(st,null)}static get style(){return ms}},[0,"telia-vst",{dataTrackingId:[1,"data-tracking-id"]}]);function qt(){if(typeof customElements>"u")return;["telia-vst"].forEach(t=>{switch(t){case"telia-vst":customElements.get(t)||customElements.define(t,bs);break}})}qt();function Z(){return typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{vocadsIcons:void 0,vocadsIconsRegistered:!1}}function ys(){if(typeof Z().vocadsIcons!==void 0)return Z().vocadsIcons}function xs(){return Z().vocadsIconsRegistered}const _s=".telia-icon{display:inline-block}.telia-icon__container{display:block;height:inherit}.telia-icon svg{display:block}.telia-icon--sm{height:calc(1.6rem * var(--voca-rem-multiplier));min-width:calc(1.6rem * var(--voca-rem-multiplier));width:calc(1.6rem * var(--voca-rem-multiplier))}.telia-icon--md{height:calc(2.4rem * var(--voca-rem-multiplier));min-width:calc(2.4rem * var(--voca-rem-multiplier));width:calc(2.4rem * var(--voca-rem-multiplier))}.telia-icon--lg{height:calc(3.2rem * var(--voca-rem-multiplier));min-width:calc(3.2rem * var(--voca-rem-multiplier));width:calc(3.2rem * var(--voca-rem-multiplier))}",Cs=Ut(class extends Lt{constructor(){super(),this.__registerHost(),this.size="md",this.allyTitle=null,this.dataTrackingId="telia-icon"}getSvgString(){if(this.svg)return this.svg;if(xs()&&this.name){const e=ys();return e[this.name]?e[this.name].svg:""}return this.name&&console.warn(this.name,"Icons bundle is not registered and will not be rendered. Check if you have registered icons bundle or use svg property"),""}render(){let e=this.getSvgString(),t=[{name:"viewBox",value:"0 0 64 64"}];this.allyTitle?t=[...t,{name:"role",value:"img"}]:t=[...t,{name:"aria-hidden",value:"true"}];const s=ps({content:$s(e),attributes:t,title:this.allyTitle});return w(st,{class:`telia-icon telia-icon--${this.size}`},w("span",{"aria-label":this.allyTitle,class:"telia-icon__container",innerHTML:s}),w("telia-vst",{dataTrackingId:this.dataTrackingId}))}static get style(){return _s}},[0,"telia-icon",{name:[1],svg:[1],size:[1],allyTitle:[1,"ally-title"],dataTestid:[1,"data-testid"]}]);function ws(){if(typeof customElements>"u")return;["telia-icon","telia-vst"].forEach(t=>{switch(t){case"telia-icon":customElements.get(t)||customElements.define(t,Cs);break;case"telia-vst":customElements.get(t)||qt();break}})}ws();var ks=Object.defineProperty,Ss=Object.getOwnPropertyDescriptor,Gt=(e,t,s,i)=>{for(var n=i>1?void 0:i?Ss(t,s):t,o=e.length-1,r;o>=0;o--)(r=e[o])&&(n=(i?r(t,s,n):r(n))||n);return i&&n&&ks(t,s,n),n};let H=class extends l.s{_renderTimestamp(e,t){if(!e&&!t)return l.A;const s=n=>new Date(n).toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"});let i="";return e?t?i=`${e}: ${s(t)}`:i=e:t&&(i=s(t)),l.x`<p class="conversation-timestamp">${i}</p>`}render(){var e,t;switch(this.message.type){case l.ConversationMessageType.System:return"";case l.ConversationMessageType.Agent:return l.x`<div
57
+ */const ye=()=>new xe;let xe=class{};const K=new WeakMap,_e=l.e(class extends Tt{render(e){return l.A}update(e,[t]){var s;const i=t!==this.G;return i&&this.G!==void 0&&this.ot(void 0),(i||this.rt!==this.lt)&&(this.G=t,this.dt=(s=e.options)===null||s===void 0?void 0:s.host,this.ot(this.lt=e.element)),l.A}ot(e){var t;if(typeof this.G=="function"){const s=(t=this.dt)!==null&&t!==void 0?t:globalThis;let i=K.get(s);i===void 0&&(i=new WeakMap,K.set(s,i)),i.get(this.G)!==void 0&&this.G.call(this.dt,void 0),i.set(this.G,e),e!==void 0&&this.G.call(this.dt,e)}else this.G.value=e}get rt(){var e,t,s;return typeof this.G=="function"?(t=K.get((e=this.dt)!==null&&e!==void 0?e:globalThis))===null||t===void 0?void 0:t.get(this.G):(s=this.G)===null||s===void 0?void 0:s.value}disconnected(){this.rt===this.lt&&this.ot(void 0)}reconnected(){this.ot(this.lt)}}),Ce=new WeakMap;let ot=0;const Q=new Map,rt=new WeakSet,at=()=>new Promise(e=>requestAnimationFrame(e)),lt=[{opacity:0}],ct=[{opacity:0},{opacity:1}],dt=(e,t)=>{const s=e-t;return s===0?void 0:s},ht=(e,t)=>{const s=e/t;return s===1?void 0:s},X={left:(e,t)=>{const s=dt(e,t);return{value:s,transform:s==null||isNaN(s)?void 0:`translateX(${s}px)`}},top:(e,t)=>{const s=dt(e,t);return{value:s,transform:s==null||isNaN(s)?void 0:`translateY(${s}px)`}},width:(e,t)=>{let s;t===0&&(t=1,s={width:"1px"});const i=ht(e,t);return{value:i,overrideFrom:s,transform:i==null||isNaN(i)?void 0:`scaleX(${i})`}},height:(e,t)=>{let s;t===0&&(t=1,s={height:"1px"});const i=ht(e,t);return{value:i,overrideFrom:s,transform:i==null||isNaN(i)?void 0:`scaleY(${i})`}}},we={duration:333,easing:"ease-in-out"},ke=["left","top","width","height","opacity","color","background"],ut=new WeakMap;class Se extends Tt{constructor(t){if(super(t),this.t=null,this.i=null,this.o=!0,this.shouldLog=!1,t.type===l.t$1.CHILD)throw Error("The `animate` directive must be used in attribute position.");this.createFinished()}createFinished(){var t;(t=this.resolveFinished)===null||t===void 0||t.call(this),this.finished=new Promise(s=>{this.h=s})}async resolveFinished(){var t;(t=this.h)===null||t===void 0||t.call(this),this.h=void 0}render(t){return l.A}getController(){return Ce.get(this.l)}isDisabled(){var t;return this.options.disabled||((t=this.getController())===null||t===void 0?void 0:t.disabled)}update(t,[s]){var i;const n=this.l===void 0;return n&&(this.l=(i=t.options)===null||i===void 0?void 0:i.host,this.l.addController(this),this.element=t.element,ut.set(this.element,this)),this.optionsOrCallback=s,(n||typeof s!="function")&&this.u(s),this.render(s)}u(t){var s,i;t=t??{};const n=this.getController();n!==void 0&&((t={...n.defaultOptions,...t}).keyframeOptions={...n.defaultOptions.keyframeOptions,...t.keyframeOptions}),(s=(i=t).properties)!==null&&s!==void 0||(i.properties=ke),this.options=t}v(){const t={},s=this.element.getBoundingClientRect(),i=getComputedStyle(this.element);return this.options.properties.forEach(n=>{var o;const r=(o=s[n])!==null&&o!==void 0?o:X[n]?void 0:i[n],a=Number(r);t[n]=isNaN(a)?r+"":a}),t}p(){let t,s=!0;return this.options.guard&&(t=this.options.guard(),s=((i,n)=>{if(Array.isArray(i)){if(Array.isArray(n)&&n.length===i.length&&i.every((o,r)=>o===n[r]))return!1}else if(n===i)return!1;return!0})(t,this.m)),this.o=this.l.hasUpdated&&!this.isDisabled()&&!this.isAnimating()&&s&&this.element.isConnected,this.o&&(this.m=Array.isArray(t)?Array.from(t):t),this.o}hostUpdate(){var t;typeof this.optionsOrCallback=="function"&&this.u(this.optionsOrCallback()),this.p()&&(this.g=this.v(),this.t=(t=this.t)!==null&&t!==void 0?t:this.element.parentNode,this.i=this.element.nextSibling)}async hostUpdated(){if(!this.o||!this.element.isConnected||this.options.skipInitial&&!this.isHostRendered)return;let t;this.prepare(),await at;const s=this._(),i=this.A(this.options.keyframeOptions,s),n=this.v();if(this.g!==void 0){const{from:o,to:r}=this.O(this.g,n,s);this.log("measured",[this.g,n,o,r]),t=this.calculateKeyframes(o,r)}else{const o=Q.get(this.options.inId);if(o){Q.delete(this.options.inId);const{from:r,to:a}=this.O(o,n,s);t=this.calculateKeyframes(r,a),t=this.options.in?[{...this.options.in[0],...t[0]},...this.options.in.slice(1),t[1]]:t,ot++,t.forEach(c=>c.zIndex=ot)}else this.options.in&&(t=[...this.options.in,{}])}this.animate(t,i)}resetStyles(){var t;this.j!==void 0&&(this.element.setAttribute("style",(t=this.j)!==null&&t!==void 0?t:""),this.j=void 0)}commitStyles(){var t,s;this.j=this.element.getAttribute("style"),(t=this.webAnimation)===null||t===void 0||t.commitStyles(),(s=this.webAnimation)===null||s===void 0||s.cancel()}reconnected(){}async disconnected(){var t;if(!this.o||(this.options.id!==void 0&&Q.set(this.options.id,this.g),this.options.out===void 0))return;if(this.prepare(),await at(),(t=this.t)===null||t===void 0?void 0:t.isConnected){const i=this.i&&this.i.parentNode===this.t?this.i:null;if(this.t.insertBefore(this.element,i),this.options.stabilizeOut){const n=this.v();this.log("stabilizing out");const o=this.g.left-n.left,r=this.g.top-n.top;getComputedStyle(this.element).position!=="static"||o===0&&r===0||(this.element.style.position="relative"),o!==0&&(this.element.style.left=o+"px"),r!==0&&(this.element.style.top=r+"px")}}const s=this.A(this.options.keyframeOptions);await this.animate(this.options.out,s),this.element.remove()}prepare(){this.createFinished()}start(){var t,s;(s=(t=this.options).onStart)===null||s===void 0||s.call(t,this)}didFinish(t){var s,i;t&&((i=(s=this.options).onComplete)===null||i===void 0||i.call(s,this)),this.g=void 0,this.animatingProperties=void 0,this.frames=void 0,this.resolveFinished()}_(){const t=[];for(let s=this.element.parentNode;s;s=s==null?void 0:s.parentNode){const i=ut.get(s);i&&!i.isDisabled()&&i&&t.push(i)}return t}get isHostRendered(){const t=rt.has(this.l);return t||this.l.updateComplete.then(()=>{rt.add(this.l)}),t}A(t,s=this._()){const i={...we};return s.forEach(n=>Object.assign(i,n.options.keyframeOptions)),Object.assign(i,t),i}O(t,s,i){t={...t},s={...s};const n=i.map(a=>a.animatingProperties).filter(a=>a!==void 0);let o=1,r=1;return n!==void 0&&(n.forEach(a=>{a.width&&(o/=a.width),a.height&&(r/=a.height)}),t.left!==void 0&&s.left!==void 0&&(t.left=o*t.left,s.left=o*s.left),t.top!==void 0&&s.top!==void 0&&(t.top=r*t.top,s.top=r*s.top)),{from:t,to:s}}calculateKeyframes(t,s,i=!1){var n;const o={},r={};let a=!1;const c={};for(const d in s){const u=t[d],h=s[d];if(d in X){const p=X[d];if(u===void 0||h===void 0)continue;const f=p(u,h);f.transform!==void 0&&(c[d]=f.value,a=!0,o.transform=`${(n=o.transform)!==null&&n!==void 0?n:""} ${f.transform}`,f.overrideFrom!==void 0&&Object.assign(o,f.overrideFrom))}else u!==h&&u!==void 0&&h!==void 0&&(a=!0,o[d]=u,r[d]=h)}return o.transformOrigin=r.transformOrigin=i?"center center":"top left",this.animatingProperties=c,a?[o,r]:void 0}async animate(t,s=this.options.keyframeOptions){this.start(),this.frames=t;let i=!1;if(!this.isAnimating()&&!this.isDisabled()&&(this.options.onFrames&&(this.frames=t=this.options.onFrames(this),this.log("modified frames",t)),t!==void 0)){this.log("animate",[t,s]),i=!0,this.webAnimation=this.element.animate(t,s);const n=this.getController();n==null||n.add(this);try{await this.webAnimation.finished}catch{}n==null||n.remove(this)}return this.didFinish(i),i}isAnimating(){var t,s;return((t=this.webAnimation)===null||t===void 0?void 0:t.playState)==="running"||((s=this.webAnimation)===null||s===void 0?void 0:s.pending)}log(t,s){this.shouldLog&&!this.isDisabled()&&console.log(t,this.options.id,s)}}const pt=l.e(Se),x={allRenderFn:!1,cmpDidLoad:!0,cmpDidUnload:!1,cmpDidUpdate:!0,cmpDidRender:!0,cmpWillLoad:!0,cmpWillUpdate:!0,cmpWillRender:!0,connectedCallback:!0,disconnectedCallback:!0,element:!0,event:!0,hasRenderFn:!0,lifecycle:!0,hostListener:!0,hostListenerTargetWindow:!0,hostListenerTargetDocument:!0,hostListenerTargetBody:!0,hostListenerTargetParent:!1,hostListenerTarget:!0,member:!0,method:!0,mode:!0,observeAttribute:!0,prop:!0,propMutable:!0,reflect:!0,scoped:!0,shadowDom:!0,slot:!0,cssAnnotations:!0,state:!0,style:!0,svg:!0,updatable:!0,vdomAttribute:!0,vdomXlink:!0,vdomClass:!0,vdomFunctional:!0,vdomKey:!0,vdomListener:!0,vdomRef:!0,vdomPropOrAttr:!0,vdomRender:!0,vdomStyle:!0,vdomText:!0,watchCallback:!0,taskQueue:!0,hotModuleReplacement:!1,isDebug:!1,isDev:!1,isTesting:!1,hydrateServerSide:!1,hydrateClientSide:!1,lifecycleDOMEvents:!1,lazyLoad:!1,profile:!1,slotRelocation:!0,appendChildSlotFix:!1,cloneNodeFix:!1,hydratedAttribute:!1,hydratedClass:!0,safari10:!1,scriptDataOpts:!1,scopedSlotTextContentFix:!1,shadowDomShim:!1,slotChildNodesFix:!1,invisiblePrehydration:!0,propBoolean:!0,propNumber:!0,propString:!0,cssVarShim:!1,constructableCSS:!0,cmpShouldUpdate:!0,devTools:!1,dynamicImportShim:!1,shadowDelegatesFocus:!0,initializeNextTick:!1,asyncLoading:!1,asyncQueue:!1,transformTagName:!1,attachStyles:!0};let _,Ot,W,Pt=!1,D=!1,tt=!1,g=!1,ft=null,Y=!1;const q=typeof window<"u"?window:{},m=q.document||{head:{}},Lt=q.HTMLElement||class{},$={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,s,i)=>e.addEventListener(t,s,i),rel:(e,t,s,i)=>e.removeEventListener(t,s,i),ce:(e,t)=>new CustomEvent(e,t)},Ae=(()=>{let e=!1;try{m.addEventListener("e",null,Object.defineProperty({},"passive",{get(){e=!0}}))}catch{}return e})(),Te=e=>Promise.resolve(e),Oe=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replace=="function"}catch{}return!1})(),Et=(e,t,s,i)=>{s&&s.map(([n,o,r])=>{const a=Le(e,n),c=Pe(t,r),d=Ee(n);$.ael(a,o,c,d),(t.$rmListeners$=t.$rmListeners$||[]).push(()=>$.rel(a,o,c,d))})},Pe=(e,t)=>s=>{try{x.lazyLoad||e.$hostElement$[t](s)}catch(i){L(i)}},Le=(e,t)=>t&4?m:t&8?q:t&16?m.body:e,Ee=e=>Ae?{passive:(e&1)!==0,capture:(e&2)!==0}:(e&2)!==0,$t="http://www.w3.org/1999/xlink",y=(e,t="")=>()=>{},gt=new WeakMap,je=(e,t,s)=>{let i=M.get(e);Oe&&s?(i=i||new CSSStyleSheet,i.replace(t)):i=t,M.set(e,i)},Re=(e,t,s,i)=>{let n=jt(t,s),o=M.get(n);if(e=e.nodeType===11?e:m,o)if(typeof o=="string"){e=e.head||e;let r=gt.get(e),a;r||gt.set(e,r=new Set),r.has(n)||(a=m.createElement("style"),a.innerHTML=o,e.insertBefore(a,e.querySelector("link")),r&&r.add(n))}else e.adoptedStyleSheets.includes(o)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,o]);return n},De=e=>{const t=e.$cmpMeta$,s=e.$hostElement$,i=t.$flags$,n=y("attachStyles",t.$tagName$),o=Re(s.shadowRoot?s.shadowRoot:s.getRootNode(),t,e.$modeName$);i&10&&(s["s-sc"]=o,s.classList.add(o+"-h"),i&2&&s.classList.add(o+"-s")),n()},jt=(e,t)=>"sc-"+(t&&e.$flags$&32?e.$tagName$+"-"+t:e.$tagName$),Ie=e=>ds.map(t=>t(e)).find(t=>!!t),vt={},Ne="http://www.w3.org/2000/svg",Me="http://www.w3.org/1999/xhtml",He=e=>e!=null,et=e=>(e=typeof e,e==="object"||e==="function"),w=(e,t,...s)=>{let i=null,n=null,o=null,r=!1,a=!1,c=[];const d=h=>{for(let p=0;p<h.length;p++)i=h[p],Array.isArray(i)?d(i):i!=null&&typeof i!="boolean"&&((r=typeof e!="function"&&!et(i))&&(i=String(i)),r&&a?c[c.length-1].$text$+=i:c.push(r?I(null,i):i),a=r)};if(d(s),t){t.key&&(n=t.key),t.name&&(o=t.name);{const h=t.className||t.class;h&&(t.class=typeof h!="object"?h:Object.keys(h).filter(p=>h[p]).join(" "))}}if(typeof e=="function")return e(t===null?{}:t,c,Fe);const u=I(e,null);return u.$attrs$=t,c.length>0&&(u.$children$=c),u.$key$=n,u.$name$=o,u},I=(e,t)=>{const s={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return s.$attrs$=null,s.$key$=null,s.$name$=null,s},st={},ze=e=>e&&e.$tag$===st,Fe={forEach:(e,t)=>e.map(mt).forEach(t),map:(e,t)=>e.map(mt).map(t).map(Ue)},mt=e=>({vattrs:e.$attrs$,vchildren:e.$children$,vkey:e.$key$,vname:e.$name$,vtag:e.$tag$,vtext:e.$text$}),Ue=e=>{if(typeof e.vtag=="function"){const s=Object.assign({},e.vattrs);return e.vkey&&(s.key=e.vkey),e.vname&&(s.name=e.vname),w(e.vtag,s,...e.vchildren||[])}const t=I(e.vtag,e.vtext);return t.$attrs$=e.vattrs,t.$children$=e.vchildren,t.$key$=e.vkey,t.$name$=e.vname,t},bt=(e,t,s,i,n,o)=>{if(s!==i){let r=Ct(e,t),a=t.toLowerCase();if(t==="class"){const c=e.classList,d=yt(s),u=yt(i);c.remove(...d.filter(h=>h&&!u.includes(h))),c.add(...u.filter(h=>h&&!d.includes(h)))}else if(t==="style"){for(const c in s)(!i||i[c]==null)&&(c.includes("-")?e.style.removeProperty(c):e.style[c]="");for(const c in i)(!s||i[c]!==s[c])&&(c.includes("-")?e.style.setProperty(c,i[c]):e.style[c]=i[c])}else if(t!=="key")if(t==="ref")i&&i(e);else if(!e.__lookupSetter__(t)&&t[0]==="o"&&t[1]==="n")t[2]==="-"?t=t.slice(3):Ct(q,a)?t=a.slice(2):t=a[2]+t.slice(3),s&&$.rel(e,t,s,!1),i&&$.ael(e,t,i,!1);else{const c=et(i);if((r||c&&i!==null)&&!n)try{if(e.tagName.includes("-"))e[t]=i;else{let u=i??"";t==="list"?r=!1:(s==null||e[t]!=u)&&(e[t]=u)}}catch{}let d=!1;a!==(a=a.replace(/^xlink\:?/,""))&&(t=a,d=!0),i==null||i===!1?(i!==!1||e.getAttribute(t)==="")&&(d?e.removeAttributeNS($t,t):e.removeAttribute(t)):(!r||o&4||n)&&!c&&(i=i===!0?"":i,d?e.setAttributeNS($t,t,i):e.setAttribute(t,i))}}},Be=/\s/,yt=e=>e?e.split(Be):[],Rt=(e,t,s,i)=>{const n=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,o=e&&e.$attrs$||vt,r=t.$attrs$||vt;for(i in o)i in r||bt(n,i,o[i],void 0,s,t.$flags$);for(i in r)bt(n,i,o[i],r[i],s,t.$flags$)},N=(e,t,s,i)=>{let n=t.$children$[s],o=0,r,a,c;if(Pt||(tt=!0,n.$tag$==="slot"&&(_&&i.classList.add(_+"-s"),n.$flags$|=n.$children$?2:1)),n.$text$!==null)r=n.$elm$=m.createTextNode(n.$text$);else if(n.$flags$&1)r=n.$elm$=m.createTextNode("");else{if(g||(g=n.$tag$==="svg"),r=n.$elm$=m.createElementNS(g?Ne:Me,n.$flags$&2?"slot-fb":n.$tag$),g&&n.$tag$==="foreignObject"&&(g=!1),Rt(null,n,g),He(_)&&r["s-si"]!==_&&r.classList.add(r["s-si"]=_),n.$children$)for(o=0;o<n.$children$.length;++o)a=N(e,n,o,r),a&&r.appendChild(a);n.$tag$==="svg"?g=!1:r.tagName==="foreignObject"&&(g=!0)}return r["s-hn"]=W,n.$flags$&3&&(r["s-sr"]=!0,r["s-cr"]=Ot,r["s-sn"]=n.$name$||"",c=e&&e.$children$&&e.$children$[s],c&&c.$tag$===n.$tag$&&e.$elm$&&P(e.$elm$,!1)),r},P=(e,t)=>{$.$flags$|=1;const s=e.childNodes;for(let i=s.length-1;i>=0;i--){const n=s[i];n["s-hn"]!==W&&n["s-ol"]&&(Nt(n).insertBefore(n,it(n)),n["s-ol"].remove(),n["s-ol"]=void 0,tt=!0),t&&P(n,t)}$.$flags$&=-2},Dt=(e,t,s,i,n,o)=>{let r=e["s-cr"]&&e["s-cr"].parentNode||e,a;for(r.shadowRoot&&r.tagName===W&&(r=r.shadowRoot);n<=o;++n)i[n]&&(a=N(null,s,n,e),a&&(i[n].$elm$=a,r.insertBefore(a,it(t))))},It=(e,t,s,i,n)=>{for(;t<=s;++t)(i=e[t])&&(n=i.$elm$,zt(i),D=!0,n["s-ol"]?n["s-ol"].remove():P(n,!0),n.remove())},We=(e,t,s,i)=>{let n=0,o=0,r=0,a=0,c=t.length-1,d=t[0],u=t[c],h=i.length-1,p=i[0],f=i[h],A,E;for(;n<=c&&o<=h;)if(d==null)d=t[++n];else if(u==null)u=t[--c];else if(p==null)p=i[++o];else if(f==null)f=i[--h];else if(j(d,p))C(d,p),d=t[++n],p=i[++o];else if(j(u,f))C(u,f),u=t[--c],f=i[--h];else if(j(d,f))(d.$tag$==="slot"||f.$tag$==="slot")&&P(d.$elm$.parentNode,!1),C(d,f),e.insertBefore(d.$elm$,u.$elm$.nextSibling),d=t[++n],f=i[--h];else if(j(u,p))(d.$tag$==="slot"||f.$tag$==="slot")&&P(u.$elm$.parentNode,!1),C(u,p),e.insertBefore(u.$elm$,d.$elm$),u=t[--c],p=i[++o];else{for(r=-1,a=n;a<=c;++a)if(t[a]&&t[a].$key$!==null&&t[a].$key$===p.$key$){r=a;break}r>=0?(E=t[r],E.$tag$!==p.$tag$?A=N(t&&t[o],s,r,e):(C(E,p),t[r]=void 0,A=E.$elm$),p=i[++o]):(A=N(t&&t[o],s,o,e),p=i[++o]),A&&Nt(d.$elm$).insertBefore(A,it(d.$elm$))}n>c?Dt(e,i[h+1]==null?null:i[h+1].$elm$,s,i,o,h):o>h&&It(t,n,c)},j=(e,t)=>e.$tag$===t.$tag$?e.$tag$==="slot"?e.$name$===t.$name$:e.$key$===t.$key$:!1,it=e=>e&&e["s-ol"]||e,Nt=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,C=(e,t)=>{const s=t.$elm$=e.$elm$,i=e.$children$,n=t.$children$,o=t.$tag$,r=t.$text$;let a;r===null?(g=o==="svg"?!0:o==="foreignObject"?!1:g,o==="slot"||Rt(e,t,g),i!==null&&n!==null?We(s,i,t,n):n!==null?(e.$text$!==null&&(s.textContent=""),Dt(s,null,t,n,0,n.length-1)):i!==null&&It(i,0,i.length-1),g&&o==="svg"&&(g=!1)):(a=s["s-cr"])?a.parentNode.textContent=r:e.$text$!==r&&(s.data=r)},Mt=e=>{let t=e.childNodes,s,i,n,o,r,a;for(i=0,n=t.length;i<n;i++)if(s=t[i],s.nodeType===1){if(s["s-sr"]){for(r=s["s-sn"],s.hidden=!1,o=0;o<n;o++)if(a=t[o].nodeType,t[o]["s-hn"]!==s["s-hn"]||r!==""){if(a===1&&r===t[o].getAttribute("slot")){s.hidden=!0;break}}else if(a===1||a===3&&t[o].textContent.trim()!==""){s.hidden=!0;break}}Mt(s)}},v=[],Ht=e=>{let t,s,i,n,o,r,a=0,c=e.childNodes,d=c.length;for(;a<d;a++){if(t=c[a],t["s-sr"]&&(s=t["s-cr"])&&s.parentNode)for(i=s.parentNode.childNodes,n=t["s-sn"],r=i.length-1;r>=0;r--)s=i[r],!s["s-cn"]&&!s["s-nr"]&&s["s-hn"]!==t["s-hn"]&&(xt(s,n)?(o=v.find(u=>u.$nodeToRelocate$===s),D=!0,s["s-sn"]=s["s-sn"]||n,o?o.$slotRefNode$=t:v.push({$slotRefNode$:t,$nodeToRelocate$:s}),s["s-sr"]&&v.map(u=>{xt(u.$nodeToRelocate$,s["s-sn"])&&(o=v.find(h=>h.$nodeToRelocate$===s),o&&!u.$slotRefNode$&&(u.$slotRefNode$=o.$slotRefNode$))})):v.some(u=>u.$nodeToRelocate$===s)||v.push({$nodeToRelocate$:s}));t.nodeType===1&&Ht(t)}},xt=(e,t)=>e.nodeType===1?e.getAttribute("slot")===null&&t===""||e.getAttribute("slot")===t:e["s-sn"]===t?!0:t==="",zt=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(zt)},qe=(e,t)=>{const s=e.$hostElement$,i=e.$cmpMeta$,n=e.$vnode$||I(null,null),o=ze(t)?t:w(null,null,t);W=s.tagName,i.$attrsToReflect$&&(o.$attrs$=o.$attrs$||{},i.$attrsToReflect$.map(([r,a])=>o.$attrs$[a]=s[r])),o.$tag$=null,o.$flags$|=4,e.$vnode$=o,o.$elm$=n.$elm$=s.shadowRoot||s,_=s["s-sc"],Ot=s["s-cr"],Pt=(i.$flags$&1)!==0,D=!1,C(n,o);{if($.$flags$|=1,tt){Ht(o.$elm$);let r,a,c,d,u,h,p=0;for(;p<v.length;p++)r=v[p],a=r.$nodeToRelocate$,a["s-ol"]||(c=m.createTextNode(""),c["s-nr"]=a,a.parentNode.insertBefore(a["s-ol"]=c,a));for(p=0;p<v.length;p++)if(r=v[p],a=r.$nodeToRelocate$,r.$slotRefNode$){for(d=r.$slotRefNode$.parentNode,u=r.$slotRefNode$.nextSibling,c=a["s-ol"];c=c.previousSibling;)if(h=c["s-nr"],h&&h["s-sn"]===a["s-sn"]&&d===h.parentNode&&(h=h.nextSibling,!h||!h["s-nr"])){u=h;break}(!u&&d!==a.parentNode||a.nextSibling!==u)&&a!==u&&(!a["s-hn"]&&a["s-ol"]&&(a["s-hn"]=a["s-ol"].parentNode.nodeName),d.insertBefore(a,u))}else a.nodeType===1&&(a.hidden=!0)}D&&Mt(o.$elm$),$.$flags$&=-2,v.length=0}},Ge=e=>e,Ke=(e,t,s)=>{const i=Ge(e);return{emit:n=>Qe(i,t,{bubbles:!!(s&4),composed:!!(s&2),cancelable:!!(s&1),detail:n})}},Qe=(e,t,s)=>{const i=$.ce(t,s);return e.dispatchEvent(i),i},Xe=(e,t)=>{},Ft=(e,t)=>(e.$flags$|=16,Xe(e,e.$ancestorComponent$),ps(()=>Ye(e,t))),Ye=(e,t)=>{const s=e.$hostElement$,i=y("scheduleUpdate",e.$cmpMeta$.$tagName$),n=s;let o;return t?o=k(n,"componentWillLoad"):o=k(n,"componentWillUpdate"),o=_t(o,()=>k(n,"componentWillRender")),i(),_t(o,()=>Je(e,n,t))},Je=async(e,t,s)=>{const i=e.$hostElement$,n=y("update",e.$cmpMeta$.$tagName$);i["s-rc"],s&&De(e);const o=y("render",e.$cmpMeta$.$tagName$);Ze(e,t,i),o(),n(),Ve(e)},Ze=(e,t,s)=>{try{ft=t,t=t.render&&t.render(),e.$flags$&=-17,e.$flags$|=2,(x.hasRenderFn||x.reflect)&&(x.vdomRender||x.reflect)&&(x.hydrateServerSide||qe(e,t))}catch(a){L(a,e.$hostElement$)}return ft=null,null},Ve=e=>{const t=e.$cmpMeta$.$tagName$,s=e.$hostElement$,i=y("postUpdate",t),n=s;e.$ancestorComponent$,k(n,"componentDidRender"),e.$flags$&64?(k(n,"componentDidUpdate"),i()):(e.$flags$|=64,k(n,"componentDidLoad"),i())},k=(e,t,s)=>{if(e&&e[t])try{return e[t](s)}catch(i){L(i)}},_t=(e,t)=>e&&e.then?e.then(t):t(),ts=(e,t)=>e!=null&&!et(e)?t&4?e==="false"?!1:e===""||!!e:t&2?parseFloat(e):t&1?String(e):e:e,es=(e,t)=>G(e).$instanceValues$.get(t),ss=(e,t,s,i)=>{const n=G(e),o=e,r=n.$instanceValues$.get(t),a=n.$flags$,c=o;s=ts(s,i.$members$[t][0]);const d=Number.isNaN(r)&&Number.isNaN(s);if(s!==r&&!d){n.$instanceValues$.set(t,s);{if(i.$watchers$&&a&128){const h=i.$watchers$[t];h&&h.map(p=>{try{c[p](s,r,t)}catch(f){L(f,o)}})}if((a&18)===2){if(c.componentShouldUpdate&&c.componentShouldUpdate(s,r,t)===!1)return;Ft(n,!1)}}}},is=(e,t,s)=>{if(t.$members$){e.watchers&&(t.$watchers$=e.watchers);const i=Object.entries(t.$members$),n=e.prototype;i.map(([o,[r]])=>{(r&31||r&32)&&Object.defineProperty(n,o,{get(){return es(this,o)},set(a){ss(this,o,a,t)},configurable:!0,enumerable:!0})});{const o=new Map;n.attributeChangedCallback=function(r,a,c){$.jmp(()=>{const d=o.get(r);if(this.hasOwnProperty(d))c=this[d],delete this[d];else if(n.hasOwnProperty(d)&&typeof this[d]=="number"&&this[d]==c)return;this[d]=c===null&&typeof this[d]=="boolean"?!1:c})},e.observedAttributes=i.filter(([r,a])=>a[0]&15).map(([r,a])=>{const c=a[1]||r;return o.set(c,r),a[0]&512&&t.$attrsToReflect$.push([r,c]),c})}}return e},ns=async(e,t,s,i,n)=>{if(!(t.$flags$&32)&&(n=e.constructor,t.$flags$|=32,customElements.whenDefined(s.$tagName$).then(()=>t.$flags$|=128),n.style)){let r=n.style;typeof r!="string"&&(r=r[t.$modeName$=Ie(e)]);const a=jt(s,t.$modeName$);if(!M.has(a)){const c=y("registerStyles",s.$tagName$);je(a,r,!!(s.$flags$&1)),c()}}t.$ancestorComponent$,(()=>Ft(t,!0))()},os=e=>{},rs=e=>{if(!($.$flags$&1)){const t=G(e),s=t.$cmpMeta$,i=y("connectedCallback",s.$tagName$);t.$flags$&1?(Et(e,t,s.$listeners$),os(t.$lazyInstance$)):(t.$flags$|=1,s.$flags$&12&&as(e),s.$members$&&Object.entries(s.$members$).map(([n,[o]])=>{if(o&31&&e.hasOwnProperty(n)){const r=e[n];delete e[n],e[n]=r}}),ns(e,t,s)),i()}},as=e=>{const t=e["s-cr"]=m.createComment("");t["s-cn"]=!0,e.insertBefore(t,e.firstChild)},ls=e=>{if(!($.$flags$&1)){const t=G(e);t.$rmListeners$&&(t.$rmListeners$.map(s=>s()),t.$rmListeners$=void 0)}},Ut=(e,t)=>{const s={$flags$:t[0],$tagName$:t[1]};s.$members$=t[2],s.$listeners$=t[3],s.$watchers$=e.$watchers$,s.$attrsToReflect$=[];const i=e.prototype.connectedCallback,n=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__registerHost(){cs(this,s)},connectedCallback(){rs(this),i&&i.call(this)},disconnectedCallback(){ls(this),n&&n.call(this)},__attachShadow(){this.attachShadow({mode:"open",delegatesFocus:!!(s.$flags$&16)})}}),e.is=s.$tagName$,is(e,s)},Bt=new WeakMap,G=e=>Bt.get(e),cs=(e,t)=>{const s={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return Et(e,s,t.$listeners$),Bt.set(e,s)},Ct=(e,t)=>t in e,L=(e,t)=>(0,console.error)(e,t),M=new Map,ds=[],wt=[],Wt=[],hs=(e,t)=>s=>{e.push(s),Y||(Y=!0,t&&$.$flags$&4?us(J):$.raf(J))},kt=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(s){L(s)}e.length=0},J=()=>{kt(wt),kt(Wt),(Y=wt.length>0)&&$.raf(J)},us=e=>Te().then(e),ps=hs(Wt,!0),fs=(e={})=>{const{content:t="",title:s,attributes:i=[]}=e;let n="",o=[{name:"xmlns",value:"http://www.w3.org/2000/svg"},{name:"fill",value:"currentColor"},...i];return s&&(n=`<title>${s}</title>`),`<svg ${o.map(a=>`${a.name}="${a.value}"`).join(" ")}>${n}${t}</svg>`},$s=e=>e.replace(/<(\/?)svg([^>]*)>/g,"").trim();function gs(e){return`${e.getFullYear()}.${e.getMonth()+1}`}class vs{constructor(t){this.voca_component=t,this.voca_added=gs(new Date)}}const ms="telia-vst{display:none}",bs=Ut(class extends Lt{constructor(){super(),this.__registerHost(),this.vocaInternalUStats=Ke(this,"vocaInternalUStats",7)}connectedCallback(){this.vocaInternalUStats.emit(new vs(this.dataTrackingId))}render(){return w(st,null)}static get style(){return ms}},[0,"telia-vst",{dataTrackingId:[1,"data-tracking-id"]}]);function qt(){if(typeof customElements>"u")return;["telia-vst"].forEach(t=>{switch(t){case"telia-vst":customElements.get(t)||customElements.define(t,bs);break}})}qt();function Z(){return typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{vocadsIcons:void 0,vocadsIconsRegistered:!1}}function ys(){if(typeof Z().vocadsIcons!==void 0)return Z().vocadsIcons}function xs(){return Z().vocadsIconsRegistered}const _s=".telia-icon{display:inline-block}.telia-icon__container{display:block;height:inherit}.telia-icon svg{display:block}.telia-icon--sm{height:calc(1.6rem * var(--voca-rem-multiplier));min-width:calc(1.6rem * var(--voca-rem-multiplier));width:calc(1.6rem * var(--voca-rem-multiplier))}.telia-icon--md{height:calc(2.4rem * var(--voca-rem-multiplier));min-width:calc(2.4rem * var(--voca-rem-multiplier));width:calc(2.4rem * var(--voca-rem-multiplier))}.telia-icon--lg{height:calc(3.2rem * var(--voca-rem-multiplier));min-width:calc(3.2rem * var(--voca-rem-multiplier));width:calc(3.2rem * var(--voca-rem-multiplier))}",Cs=Ut(class extends Lt{constructor(){super(),this.__registerHost(),this.size="md",this.allyTitle=null,this.dataTrackingId="telia-icon"}getSvgString(){if(this.svg)return this.svg;if(xs()&&this.name){const e=ys();return e[this.name]?e[this.name].svg:""}return this.name&&console.warn(this.name,"Icons bundle is not registered and will not be rendered. Check if you have registered icons bundle or use svg property"),""}render(){let e=this.getSvgString(),t=[{name:"viewBox",value:"0 0 64 64"}];this.allyTitle?t=[...t,{name:"role",value:"img"}]:t=[...t,{name:"aria-hidden",value:"true"}];const s=fs({content:$s(e),attributes:t,title:this.allyTitle});return w(st,{class:`telia-icon telia-icon--${this.size}`},w("span",{"aria-label":this.allyTitle,class:"telia-icon__container",innerHTML:s}),w("telia-vst",{dataTrackingId:this.dataTrackingId}))}static get style(){return _s}},[0,"telia-icon",{name:[1],svg:[1],size:[1],allyTitle:[1,"ally-title"],dataTestid:[1,"data-testid"]}]);function ws(){if(typeof customElements>"u")return;["telia-icon","telia-vst"].forEach(t=>{switch(t){case"telia-icon":customElements.get(t)||customElements.define(t,Cs);break;case"telia-vst":customElements.get(t)||qt();break}})}ws();var ks=Object.defineProperty,Ss=Object.getOwnPropertyDescriptor,Gt=(e,t,s,i)=>{for(var n=i>1?void 0:i?Ss(t,s):t,o=e.length-1,r;o>=0;o--)(r=e[o])&&(n=(i?r(t,s,n):r(n))||n);return i&&n&&ks(t,s,n),n};let H=class extends l.s{_renderTimestamp(e,t){if(!e&&!t)return l.A;const s=n=>new Date(n).toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"});let i="";return e?t?i=`${e}: ${s(t)}`:i=e:t&&(i=s(t)),l.x`<p class="conversation-timestamp">${i}</p>`}render(){var e,t;switch(this.message.type){case l.ConversationMessageType.System:return"";case l.ConversationMessageType.Agent:return l.x`<div
58
58
  class=${l.o({"conversation-agent-message":!0,"has-avatar":!!((e=this.message.sender)!=null&&e.avatar)})}
59
59
  >
60
- ${(t=this.message.sender)!=null&&t.avatar?l.x`<div class="avatar">
60
+ ${typeof((t=this.message.sender)==null?void 0:t.avatar)=="string"?l.x`<div class="avatar">
61
61
  <img src=${this.message.sender.avatar} />
62
62
  </div>`:l.A}
63
63
 
@@ -287,13 +287,13 @@
287
287
  ${(this.properties.messages||[]).map(t=>l.x`<div class="conversation-entry" tabindex="-1">
288
288
  <conversation-component-message
289
289
  .message=${t}
290
- ${ft({keyframeOptions:{},in:ct,out:lt,stabilizeOut:!0,skipInitial:!1})}
290
+ ${pt({keyframeOptions:{},in:ct,out:lt,stabilizeOut:!0,skipInitial:!1})}
291
291
  >
292
292
  </conversation-component-message>
293
293
  </div>`)}
294
294
  ${this.properties.loading?l.x`<div
295
295
  class="loader"
296
- ${ft({in:ct,out:lt,skipInitial:!1})}
296
+ ${pt({in:ct,out:lt,skipInitial:!1})}
297
297
  >
298
298
  <div></div>
299
299
  <div></div>
@@ -1,4 +1,4 @@
1
- import { p as Dt, P as he, h as ue, i as w, n as x, t as k, E as ft, m as fe, a as It, b as at, e as lt, A as $, s as P, x as f, C as V, o as Nt, T as pe } from "./index-fb306d2b.mjs";
1
+ import { p as Dt, P as he, h as ue, i as w, n as x, t as k, E as ft, m as fe, a as It, b as at, e as lt, A as $, s as P, x as f, C as V, o as Nt, T as pe } from "./index-45e88441.mjs";
2
2
  import { g as $e, s as ge } from "./send-1e9780e5.mjs";
3
3
  /**
4
4
  * @license
@@ -208,34 +208,37 @@ const je = (e) => {
208
208
  connectedCallback() {
209
209
  super.connectedCallback(), this.container && (this.actions.setContainer(this.container), Dt.getInstance(this.container).then(
210
210
  async (i) => {
211
- var o;
211
+ var o, r;
212
212
  const n = i.nodes.get(this.entry);
213
213
  if (n) {
214
214
  this._propertyChangeListener = i.events.subscribe(
215
215
  "components:properties-changed",
216
- (h, d) => {
217
- n.id === d.node.id && this._setProperties(d.node.attributes.properties);
216
+ (d, u) => {
217
+ n.id === u.node.id && this._setProperties(u.node.attributes.properties);
218
218
  }
219
219
  ), this._contextChangeListener = i.events.subscribe(
220
220
  "components:context-changed",
221
- (h, d) => {
222
- n.id === d.node.id && this._setContext(d.node.attributes.context);
221
+ (d, u) => {
222
+ n.id === u.node.id && this._setContext(u.node.attributes.context);
223
223
  }
224
224
  ), this._layoutChangeListener = i.events.subscribe(
225
225
  "components:layout-changed",
226
- (h, d) => {
227
- n.id === d.node.id && this._setLayout(d.node.attributes.layout);
226
+ (d, u) => {
227
+ n.id === u.node.id && this._setLayout(u.node.attributes.layout);
228
228
  }
229
229
  );
230
- const r = "default";
231
- this._unmountNode = n.mount(this.container), this._setDescriptor(ft(n, r)), this._setProperties(n.attributes.properties), this._setContext(n.attributes.context), this._setLayout(this.layout);
232
- const a = n.getChildren(r).map((h) => ft(h));
233
- this._childrenProvider.setValue(a);
234
- const c = (await this.container.getAsync("componentResolver")).getComponent(
235
- ((o = this.descriptor) == null ? void 0 : o.type) || ""
230
+ const a = "default";
231
+ this._unmountNode = n.mount(this.container), this._setDescriptor(ft(n, a)), this._setProperties(n.attributes.properties), this._setContext(n.attributes.context), this._setLayout(this.layout);
232
+ const l = n.getChildren(a).map((d) => ft(d));
233
+ this._childrenProvider.setValue(l);
234
+ const c = await this.container.getAsync("componentResolver");
235
+ if (((o = this.descriptor) == null ? void 0 : o.type) === "area")
236
+ return;
237
+ const h = c.getComponent(
238
+ ((r = this.descriptor) == null ? void 0 : r.type) || ""
236
239
  );
237
- c.then && c.then((h) => {
238
- this.component = h.default;
240
+ h.then && h.then((d) => {
241
+ this.component = d.default;
239
242
  });
240
243
  }
241
244
  }
@@ -1279,7 +1282,7 @@ let q = class extends P {
1279
1282
  "has-avatar": !!((e = this.message.sender) != null && e.avatar)
1280
1283
  })}
1281
1284
  >
1282
- ${(t = this.message.sender) != null && t.avatar ? f`<div class="avatar">
1285
+ ${typeof ((t = this.message.sender) == null ? void 0 : t.avatar) == "string" ? f`<div class="avatar">
1283
1286
  <img src=${this.message.sender.avatar} />
1284
1287
  </div>` : $}
1285
1288
 
@@ -157,4 +157,4 @@ ${e}`:t.length?`${t} ${e}`:e}dispose(){this.subscriptions.forEach(t=>{t()})}}cla
157
157
  align-items: center;
158
158
  fill: var(--trigger-text-color, #fff);
159
159
  }
160
- `];ot([xt({attribute:!1})],K.prototype,"symbol",2);ot([xt({attribute:!1})],K.prototype,"container",2);ot([kt()],K.prototype,"active",2);ot([kt()],K.prototype,"loaded",2);ot([kt()],K.prototype,"icon",2);const gn=(i,t,e,s,n)=>i.getAsync("componentResolver").then(r=>(r.registerComponent(t,e),Ei(i,t,s||(()=>{}),t,n))),mn=(i,t)=>i.reduce((e,s,n)=>{var o,a;const r={...s,content:[{...s.content,key:s.key}]};if(e.length>0&&s.type!==Q.System){const c=e[e.length-1];if((!t&&t!==0||Math.abs(c.timestamp-s.timestamp)<t)&&((o=c.sender)==null?void 0:o.name)===((a=s.sender)==null?void 0:a.name)&&c.type===s.type)return c.timestamp=s.timestamp,c.content.push({...s.content,key:s.key}),e}return e.push(r),e},[]),vn=async i=>gn(i,"conversation",Promise.resolve().then(()=>require("./conversation-9a2e4011.js")),async t=>{const e=await Ct.getInstance(i),{rehydrate:s=!1}=t.properties(),n="component",r=await e.createController(n,{rehydrate:s}),o=e.registerController(r,t),a=3*60*1e3,c=d=>{const{providers:u=[]}=d;if(u){const p=Array.isArray(u)?u:[u];return r.setProviders(p),p}};c(t.properties(c)),r.setComponentMountedState(!0);const h=d=>{const{loading:u,typingActors:p,messages:v}=d;t.writeProperties({loading:u,typingActors:p,messages:mn(v,a)})};h(r.getMessageStream()),o&&(t.writeProperties({conversationControllerId:r.id}),t.actions.create("user-submit",(d,u)=>{if(u){const{preventDefault:p,validationPromise:v}=u;if(p){v&&v().then(f=>{f&&r.user.print(f)});return}}r.user.print(d.text)}),t.actions.create("user-typing",(d,u)=>{}),t.actions.create("form",(d,u)=>{}),t.actions.create("action",(d,u)=>{}),t.actions.create("overlay-mounted",(d,u)=>{}),t.actions.create("show-overlay",(d,u)=>{t.writeProperties({overlay:{conversation:!1,secondary:!1}})}),t.actions.create("hide-overlay",(d,u)=>{t.writeProperties({overlay:null})}),t.actions.create("show-overlay-conversation",(d,u)=>{t.writeProperties({overlay:{conversation:!0,secondary:!1}})}),t.actions.create("hide-overlay-conversation",(d,u)=>{t.writeProperties({overlay:{conversation:!1,secondary:!1}})}));const l=r.events.subscribe("conversation:updated",(d,u)=>{h(u)});return()=>{r.setComponentMountedState(!1),l(),r.active||h({messages:[],typingActors:[],loading:!1})}},{reuseController:!0});var ks=(i=>(i.LinkList="link-list",i.Separator="separator",i.ButtonList="button-list",i.ItemList="item-list",i.Text="text",i.HTML="html",i.VideoRequest="video-request",i))(ks||{});const fn=async(i,t,e)=>{await e};exports.A=g;exports.ConversationComponent=vn;exports.ConversationController=ms;exports.ConversationEndedBehavior=Et;exports.ConversationEntry=gs;exports.ConversationMessageListItemType=ks;exports.ConversationMessageType=Q;exports.ConversationPlatform=Ct;exports.Et=Ai;exports.P=$t;exports.T=I;exports.e=Es;exports.ht=F;exports.i=fs;exports.i$1=Cs;exports.mapBranding=xs;exports.n=xt;exports.o=Ps;exports.pt=ae;exports.registerCustomMessageComponent=fn;exports.s=B;exports.t=kt;exports.t$1=As;exports.x=X;
160
+ `];ot([xt({attribute:!1})],K.prototype,"symbol",2);ot([xt({attribute:!1})],K.prototype,"container",2);ot([kt()],K.prototype,"active",2);ot([kt()],K.prototype,"loaded",2);ot([kt()],K.prototype,"icon",2);const gn=(i,t,e,s,n)=>i.getAsync("componentResolver").then(r=>(r.registerComponent(t,e),Ei(i,t,s||(()=>{}),t,n))),mn=(i,t)=>i.reduce((e,s,n)=>{var o,a;const r={...s,content:[{...s.content,key:s.key}]};if(e.length>0&&s.type!==Q.System){const c=e[e.length-1];if((!t&&t!==0||Math.abs(c.timestamp-s.timestamp)<t)&&((o=c.sender)==null?void 0:o.name)===((a=s.sender)==null?void 0:a.name)&&c.type===s.type)return c.timestamp=s.timestamp,c.content.push({...s.content,key:s.key}),e}return e.push(r),e},[]),vn=async i=>gn(i,"conversation",Promise.resolve().then(()=>require("./conversation-16ffaa58.js")),async t=>{const e=await Ct.getInstance(i),{rehydrate:s=!1}=t.properties(),n="component",r=await e.createController(n,{rehydrate:s}),o=e.registerController(r,t),a=3*60*1e3,c=d=>{const{providers:u=[]}=d;if(u){const p=Array.isArray(u)?u:[u];return r.setProviders(p),p}};c(t.properties(c)),r.setComponentMountedState(!0);const h=d=>{const{loading:u,typingActors:p,messages:v}=d;t.writeProperties({loading:u,typingActors:p,messages:mn(v,a)})};h(r.getMessageStream()),o&&(t.writeProperties({conversationControllerId:r.id}),t.actions.create("user-submit",(d,u)=>{if(u){const{preventDefault:p,validationPromise:v}=u;if(p){v&&v().then(f=>{f&&r.user.print(f)});return}}r.user.print(d.text)}),t.actions.create("user-typing",(d,u)=>{}),t.actions.create("form",(d,u)=>{}),t.actions.create("action",(d,u)=>{}),t.actions.create("overlay-mounted",(d,u)=>{}),t.actions.create("show-overlay",(d,u)=>{t.writeProperties({overlay:{conversation:!1,secondary:!1}})}),t.actions.create("hide-overlay",(d,u)=>{t.writeProperties({overlay:null})}),t.actions.create("show-overlay-conversation",(d,u)=>{t.writeProperties({overlay:{conversation:!0,secondary:!1}})}),t.actions.create("hide-overlay-conversation",(d,u)=>{t.writeProperties({overlay:{conversation:!1,secondary:!1}})}));const l=r.events.subscribe("conversation:updated",(d,u)=>{h(u)});return()=>{r.setComponentMountedState(!1),l(),r.active||h({messages:[],typingActors:[],loading:!1})}},{reuseController:!0});var ks=(i=>(i.LinkList="link-list",i.Separator="separator",i.ButtonList="button-list",i.ItemList="item-list",i.Text="text",i.HTML="html",i.VideoRequest="video-request",i))(ks||{});const fn=async(i,t,e)=>{await e};exports.A=g;exports.ConversationComponent=vn;exports.ConversationController=ms;exports.ConversationEndedBehavior=Et;exports.ConversationEntry=gs;exports.ConversationMessageListItemType=ks;exports.ConversationMessageType=Q;exports.ConversationPlatform=Ct;exports.Et=Ai;exports.P=$t;exports.T=I;exports.e=Es;exports.ht=F;exports.i=fs;exports.i$1=Cs;exports.mapBranding=xs;exports.n=xt;exports.o=Ps;exports.pt=ae;exports.registerCustomMessageComponent=fn;exports.s=B;exports.t=kt;exports.t$1=As;exports.x=X;
@@ -3776,7 +3776,7 @@ const un = (i, t, e, s, n) => i.getAsync("componentResolver").then((r) => (r.reg
3776
3776
  }, []), Mn = async (i) => un(
3777
3777
  i,
3778
3778
  "conversation",
3779
- import("./conversation-025ea610.mjs"),
3779
+ import("./conversation-6179c468.mjs"),
3780
3780
  async (t) => {
3781
3781
  const e = await he.getInstance(i), { rehydrate: s = !1 } = t.properties(), n = "component", r = await e.createController(n, { rehydrate: s }), o = e.registerController(
3782
3782
  r,
package/index.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-2a545cb2.js");exports.ConversationComponent=e.ConversationComponent;exports.ConversationController=e.ConversationController;exports.ConversationEndedBehavior=e.ConversationEndedBehavior;exports.ConversationEntry=e.ConversationEntry;exports.ConversationMessageListItemType=e.ConversationMessageListItemType;exports.ConversationMessageType=e.ConversationMessageType;exports.ConversationPlatform=e.ConversationPlatform;exports.registerCustomMessageComponent=e.registerCustomMessageComponent;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-2de37dc6.js");exports.ConversationComponent=e.ConversationComponent;exports.ConversationController=e.ConversationController;exports.ConversationEndedBehavior=e.ConversationEndedBehavior;exports.ConversationEntry=e.ConversationEntry;exports.ConversationMessageListItemType=e.ConversationMessageListItemType;exports.ConversationMessageType=e.ConversationMessageType;exports.ConversationPlatform=e.ConversationPlatform;exports.registerCustomMessageComponent=e.registerCustomMessageComponent;
package/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { f as s, g as n, d as a, j as r, k as t, C, c as i, r as v } from "./index-fb306d2b.mjs";
1
+ import { f as s, g as n, d as a, j as r, k as t, C, c as i, r as v } from "./index-45e88441.mjs";
2
2
  export {
3
3
  s as ConversationComponent,
4
4
  n as ConversationController,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@telia-ace/widget-conversation-flamingo",
3
- "version": "1.0.45",
3
+ "version": "1.0.46",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org"
6
6
  },
@@ -10,7 +10,7 @@
10
10
  "@lit-labs/motion": "^1.0.4",
11
11
  "@teliads/icons": "^8.4.0",
12
12
  "@teliads/components": "^22.1.1",
13
- "@telia-ace/widget-runtime-flamingo": "^1.0.45",
13
+ "@telia-ace/widget-runtime-flamingo": "^1.0.46",
14
14
  "@webprovisions/platform": "^1.1.3",
15
15
  "@telia-ace/widget-core": "^1.0.27",
16
16
  "@telia-ace/widget-services": "^1.0.27"