@telia-ace/widget-components-list-flamingo 1.1.120-rc.3 → 1.1.120-rc.30

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,15 +1,15 @@
1
- "use strict";const lt=(r,t,e,...s)=>{const i=`[${r.get("$environment").name||"webprovisions"}] ${e}`;switch(t){case"info":console.info(i,...s);break;case"warning":console.warn(i,...s);break;case"error":console.error(i,...s);break}},pe=r=>{const t=r.container||r;return{info:(e,...s)=>lt(t,"info",e,...s),warn:(e,...s)=>lt(t,"warning",e,...s),error:(e,...s)=>lt(t,"error",e,...s)}};var G=(r=>(r.Implementation="implementation",r.Widget="widget",r))(G||{}),S=(r=>(r.Pre="pre",r.Post="post",r))(S||{});const de=(r,t,e,s)=>{try{const i=new t(e,s);return{name:r,invoke:(n,o)=>{let a;return i[n]&&(a=i[n].call(i,o)),Promise.resolve(a)},getInstance:()=>i}}catch(i){if(i.message&&i.message.indexOf("is not a constructor")>=0)return{name:r,invoke:n=>{let o;return n==="initialize"&&(o=t(e,s)),Promise.resolve(o)},getInstance:()=>t};throw i}};function It(r,t){return typeof r>"u"?t:r}class ue{constructor(t={}){this.part=t}createCommand(t,e,s){let i;typeof e=="function"?i={scope:G.Widget,stage:S.Post,defaultArgs:void 0,handlerResolver:e}:i={scope:It(e.scope,G.Widget),stage:It(e.stage,S.Post),defaultArgs:e.defaultArgs,handlerResolver:s};let n=this.part;const o=t.split(".");return o.forEach((a,c)=>{c===o.length-1?n[a]||(n[a]=()=>i):n=this.part[a]=this.part[a]||{}}),this}get(){return this.part}}const _t=r=>{const t=new ue({});return r(t),t.get()};_t(r=>{r.createCommand("types.register",{scope:G.Implementation,stage:S.Pre},t=>(e,s)=>{t.container.get("$types")[e]=s}).createCommand("type",{stage:S.Pre},t=>e=>{t.container.register("$type",e)}).createCommand("settings",{stage:S.Pre,defaultArgs:[null]},t=>e=>{t.events.dispatch("settings:change",e,{bubbles:!0}),t.container.register("$settings",e)}).createCommand("plugin",{stage:S.Pre},t=>(e,s,i)=>{const{container:n}=t;let o=null,a=e,c=s;typeof e=="string"&&(o=e,a=s,c=i);const l=h=>{const{transformPluginSettings:p}=t.container.get("$environmentOptions"),d=p?p(c||{},o,t.container,a):s;try{const u=de(o,a,n,d);n.get("$plugins").push(u),h&&u.invoke("initialize",null)}catch(u){pe(t).warn("Error when initializing plugin",u)}};t.container.get("$instance")?l(!0):t.events.subscribeOnce("widget:instance-created",()=>l(!1))}).createCommand("container.register",t=>(e,s)=>{t.container.register(e,s)}).createCommand("container.registerAsync",t=>(e,s)=>{t.container.registerAsync(e,s)}).createCommand("container.registerFactory",t=>(e,s)=>{t.container.registerFactory(e,s)}).createCommand("container.touch",t=>(e,s)=>{t.container.touch(e,s)}).createCommand("csp",{},t=>e=>{t.container.register("csp",e)})});const tt=(r,t,...e)=>typeof t=="string"?r(`[humany] ${t}`,...e):r(t,...e),H=class{constructor(){this.keys=[],this.log=(t,...e)=>this.lookup(t,()=>H.log(...e)),this.warn=(t,...e)=>this.lookup(t,()=>H.warn(...e)),this.error=(t,...e)=>this.lookup(t,()=>H.error(...e)),this.info=(t,...e)=>this.lookup(t,()=>H.info(...e))}lookup(t,e){this.keys.indexOf(t)===-1&&(this.keys.push(t),e())}};let $=H;$.log=(...r)=>tt(console.log,...r);$.warn=(...r)=>tt(console.warn,...r);$.error=(...r)=>tt(console.error,...r);$.info=(...r)=>tt(console.info,...r);const Xt=r=>{let t={},e,s;if(typeof r!="object"||r===null)return r;t=Array.isArray(r)?[]:{};for(s in r)e=r[s],t[s]=typeof e=="object"&&e!==null?Xt(e):e;return t};function Ht(r){let t=0;if(r.length===0)return t.toString();for(let e=0;e<r.length;e++){const s=r.charCodeAt(e);t=(t<<5)-t+s,t=t&t}return t.toString()}let me=class{constructor(t,e){this.lockWarningTime=t,this.lockErrorTime=e,this.tasks=[],this.current=Promise.resolve(),this.next=this.next.bind(this)}add(t,e,s,i){this.tasks.push({task:t,resolve:e,reject:s,done:i}),this.next()}next(){this.current=this.current.then(()=>{const t=this.tasks.shift();if(t){let e;const s=setTimeout(()=>{process.env.NODE_ENV!=="production"&&$.warn(`A lock has exceeded ${this.lockWarningTime} ms. Waiting additional ${this.lockErrorTime} ms before rejecting the task.`,t),e=setTimeout(()=>{t.reject("lock timeout exceeded")},this.lockErrorTime)},this.lockWarningTime),i=Promise.resolve(t.task()).then(n=>(clearTimeout(s),clearTimeout(e),n));return Promise.resolve(i).then(this.next).then(()=>i.then(n=>{t.done(),t.resolve(n)})).catch(n=>(t.done(),t.reject(n),this.next()))}return Promise.resolve()})}};const F=new WeakMap;function et(r,t=5e3,e=1e3){return F.has(r)||F.set(r,new me(t,e)),s=>new Promise((i,n)=>{const o=F.get(r);o.add(s,i,n,()=>{o.tasks.length||F.delete(r)})})}const _=()=>Math.floor((1+Math.random())*65536).toString(16).substring(1);function st(){return _()+_()+"-"+_()+"-"+_()+"-"+_()+"-"+_()+_()+_()}const ge=r=>{const t=[];return[(e,s)=>{t.push(r.subscribe(e,s))},()=>{t.forEach(e=>{e()})}]};let rt=class{constructor(t,e=[]){this.platform=t,this.rules=e}match(t){return this.rules.every(e=>!(e.id&&e.id!==t.id||e.type&&e.type!==t.type))}ofType(t){return this.rules.push({type:t}),this}withId(t){return this.rules.push({id:t}),this}select(){return new fe(this.platform,this)}},Yt=class{constructor(t,e,s){this.platform=t,this.node=e,this.actions=new At(t,new rt(t).withId(e.id),s);const[i,n]=ge(this.platform.events);this.subscribe=i,this.unsubscribe=n}properties(t){return t&&this.node.touchProperties(e=>t(e)),this.node.attributes.properties}context(t){return t&&this.subscribe("components:context-changed",(e,{node:s})=>{s===this.node&&t(this.node.attributes.context)}),this.node.attributes.context}layout(t){return t&&this.subscribe("components:layout-changed",(e,{node:s})=>{s===this.node&&t(this.node.attributes.layout)}),this.node.attributes.layout}writeProperties(t,e){this.node.writeProperties(t,e)}writeContext(t,e){this.node.writeProperties(t,e)}writeLayout(t,e){this.node.writeLayout(t,e)}dispose(){this.unsubscribe(),this.actions.dispose()}};class fe{constructor(t,e,s=!0){this.platform=t,this.target=e,this.clearOnDispose=s,this.removes=[],this.actions=new At(this.platform,this.target)}writeProperties(t,e){this.removes.push(this.platform.write({options:e,attributes:{properties:t},target:this.target,removable:this.clearOnDispose}))}writeContext(t,e){this.removes.push(this.platform.write({options:e,attributes:{context:t},target:this.target,removable:this.clearOnDispose}))}writeLayout(t,e){this.removes.push(this.platform.write({options:e,attributes:{layout:t},target:this.target,removable:this.clearOnDispose}))}dispose(){this.removes.forEach(t=>{t()}),this.actions.dispose()}}const ye=(r,t,e)=>{const s=r.concat(),i=(n,o,a)=>{let c=!0;if(s.length){const l=s.shift(),h=(p,d)=>(c=!1,i(p,Object.assign({},o,d),a));return Promise.resolve(l(n,h,a)).then(p=>({...p,cancelled:c}))}return Promise.resolve({data:n,cancelled:!1,options:o})};return i(t,{},e)};let At=class{constructor(t,e,s){this.platform=t,this.target=e,this.ns=s,this.subscriptions=[],this.create=this.create.bind(this)}create(t,e=()=>{}){const s={key:t,fn:e,target:this.target,ns:this.ns};this.platform.actionsState.handlers.push(s);const i=()=>{const n=this.platform.actionsState.handlers.indexOf(s);n>-1&&this.platform.actionsState.handlers.splice(n,1)};return this.subscriptions.push(i),i}dispatch(t,e){const s=this.platform.nodes.all.concat(this.platform.nodes.detached),i={},n=this.platform.actionsState.handlers.filter(o=>o.key===t&&(!o.ns||!this.ns||o.ns===this.ns));return Promise.all(n.map(o=>{const a=s.filter(l=>o.target.match(l)&&this.target.match(l)),c=this.platform.actionsState.watchers.filter(l=>l.key===t&&(!l.ns||!this.ns||l.ns===this.ns)&&a.some(h=>l.target.match(h))).map(l=>l.fn);return Promise.all(a.map(l=>{const h=new Yt(this.platform,l,this.ns);return ye(c,e,h).then(p=>{const{data:d={},options:u,cancelled:g}=p;return Promise.resolve(g?{}:o.fn(d,u,h)).then(j=>{i[l.id]=j})})}))})).then(()=>i)}watch(t,e){let s=t,i=this.ns;const n=t.split(".");n.length>1&&(i=n[0],s=n.splice(1).join("."));const o={fn:e,target:this.target,key:s,ns:i};this.platform.actionsState.watchers.push(o);const a=()=>{const c=this.platform.actionsState.watchers.indexOf(o);c>-1&&this.platform.actionsState.watchers.splice(c,1)};return this.subscriptions.push(a),a}dispose(){this.subscriptions.forEach(t=>t())}};_t(r=>{r.createCommand("components",t=>e=>{t.events.subscribeOnce("components:platform-created",(s,{platform:i})=>{e.handlers&&e.handlers.forEach(([n,o])=>{i.addComponentHandler(n,o)})})})});let Rt=class{constructor(t,e){this.events=t,this.tags=[],this.children={},this.changesets=[],this.mountCount=0,this.id=st(),this.type=e,this.attributes={context:{},properties:{},layout:{},tags:[]},this.writeLayout({size:"full",indent:0})}mount(t,e){let s=t.get("mounted-nodes");return s||(s=new Map,t.register("mounted-nodes",s)),s.has(this)?(process.env.NODE_ENV!=="production"&&$.error("Trying to mount an already mounted component node.",this),()=>{}):(this.events.dispatch("components:node-mounted",{node:this}),this.mountCount===0&&(this.mountCount=this.mountCount+1,this.events.dispatch("components:node-enter",{node:this})),()=>{s.delete(this),this.events.dispatch("components:node-unmounted",{node:this}),this.mountCount=this.mountCount-1,this.mountCount===0&&this.events.dispatch("components:node-exit",{node:this})})}appendChild(t,e="default"){if(t.parent){if(t.parent===this)return;t.parent.removeChild(t)}t.parent=this,this.children[e]||(this.children[e]=[]),this.children[e].push(t),this.events.dispatch("components:node-appended",{node:t})}prependChild(t,e="default"){if(t.parent){if(t.parent===this)return;t.parent.removeChild(t)}t.parent=this,this.children[e]||(this.children[e]=[]),this.children[e].unshift(t),this.events.dispatch("components:node-appended",{node:t})}touchProperties(t,e={},s){const i=[{properties:t},e];return this.changesets.push(i),this.events.dispatch("components:set-properties",{node:this}),()=>{if(s){const n=this.changesets.indexOf(i);n>-1&&(this.changesets.splice(n,1),this.events.dispatch("components:set-properties",{node:this}))}}}writeProperties(t,e={},s){const i=[{properties:t},e];return this.changesets.push(i),this.events.dispatch("components:set-properties",{node:this}),()=>{if(s){const n=this.changesets.indexOf(i);n>-1&&(this.changesets.splice(n,1),this.events.dispatch("components:set-properties",{node:this}))}}}writeLayout(t,e={},s){const i=[{layout:t},e];return this.changesets.push(i),this.events.dispatch("components:set-layout",{node:this}),()=>{if(!s)return;const n=this.changesets.indexOf(i);n>-1&&(this.changesets.splice(n,1),this.events.dispatch("components:set-layout",{node:this}))}}writeContext(t,e={},s){const i=[{context:t},e];return this.changesets.push(i),this.events.dispatch("components:set-context",{node:this}),()=>{if(!s)return;const n=this.changesets.indexOf(i);n>-1&&(this.changesets.splice(n,1),this.events.dispatch("components:set-context",{node:this}))}}getChildren(t="default"){const e=this.children[t]||[];return e.reduce((s,i,n)=>{const{order:o=n}=i.attributes.layout;return s[o]?s.splice(o,0,i):s[o]=i,s},Array(e.length))}remove(){this.parent&&this.parent.removeChild(this)}removeChild(t){Object.keys(this.children).forEach(e=>{const s=this.children[e],i=s.indexOf(t);i>-1&&(s.splice(i,1),this.events.dispatch("components:node-removed",{node:t,parentNode:this}))}),delete t.parent}};const te=(r,t,e)=>{for(let s=0,i=r.length;s<i&&e(r[s])!==!0;s++){const n=t[r[s].id]||"default",o=r[s].getChildren(n);te(o,t,e)}},xt=(r,t,e)=>{if(e(r)!==!0){const s=t[r.id]||"default",i=r.children[s];te(i,t,e)}},pt=(r,t)=>{const e=[];return xt(r,t,s=>{e.push(s)}),e},$e=(r,t,e)=>{let s;return xt(r,t,i=>{if(e(i))return s=i,!0}),s};let ve=class{constructor(t,e,s){this.root=t,this.switches=e,this.all=[],this.visible=[],this.detached=[],s.subscribe("components:node-appended",(i,n)=>{this.all.push(n.node),this.visible=pt(t,e)}),s.subscribe("components:node-removed",(i,n)=>{let o=this.all.indexOf(n.node);o>-1&&this.all.splice(o,1),o=this.visible.indexOf(n.node),o>-1&&this.visible.splice(o,1),this.visible=pt(t,e)}),s.subscribe("components:node-switched",(i,n)=>{this.visible=pt(t,e)})}query(t={}){const e=[];return xt(this.root,this.switches,s=>{Object.keys(t).every(i=>t[i]===s[i])&&e.push(s)}),e}get(t){return $e(this.root,this.switches,e=>e.id===t)||this.detached.find(e=>e.id===t)}};class be{constructor(){this.handlers=new Map}add(t,e){this.handlers.set(t,e)}get(t){return this.handlers.get(t)}}const we=r=>{let t=r,e=0;for(;t.parent;)e=e+1,t=t.parent;return e},_e=r=>r.map(([t,e])=>[we(t),t,e]).sort(([t],[e])=>t-e).map(([,t,e])=>[t,e]),dt=r=>r instanceof Date?!1:r&&typeof r=="object"&&!Array.isArray(r),b=(r,...t)=>{if(!t.length)return r;const e=t.shift();if(dt(r)&&dt(e))for(const s in e)dt(e[s])?(r[s]||Object.assign(r,{[s]:{}}),b(r[s],e[s])):Object.assign(r,{[s]:e[s]});return b(r,...t)},Ae=(r,t)=>!r||r==="all"?!0:r.some(e=>t.indexOf(e)>-1),xe=(r,t)=>{let e=[],s=[],i;const n=()=>{process.env.NODE_ENV!=="production"&&console.time("state-processor.flush");const a=new Map,c=_e(e.map((h,p)=>[h,s[p]])),l=(h,p)=>{var d;const u=a.get(h)||{},g=p.context&&!u.context,j=p.properties&&!u.properties,ct=p.layout&&!u.layout;a.set(h,{context:u.context||g,properties:u.properties||j,layout:u.layout||ct}),j&&(h.attributes.properties={}),ct&&(h.attributes.layout={}),g&&(h.attributes.context=b({},(d=h.parent)==null?void 0:d.attributes.context));const Mt=[],Dt=[],jt=[];if(h.changesets.forEach(v=>{const[y,ht]=v;Ae(ht.breakpoints,r.breakpoints)&&(j&&(typeof y.properties=="function"?Mt.push(y.properties):b(h.attributes.properties,y.properties)),ct&&(typeof y.layout=="function"?Dt.push(y.layout):b(h.attributes.layout,y.layout)),g&&(typeof y.context=="function"?jt.push(y.context):b(h.attributes.context,y.context)))}),Mt.forEach(v=>{b(h.attributes.properties,v(h.attributes.properties))}),Dt.forEach(v=>{b(h.attributes.layout,v(h.attributes.layout))}),jt.forEach(v=>{b(h.attributes.context,v(h.attributes.context))}),g||p.recursive){const v=r.getBranch(h),y=p.recursive?p:{context:!!g};h.getChildren(v).forEach(ht=>{l(ht,y)})}};process.env.NODE_ENV!=="production"&&console.timeEnd("state-processor.flush"),c.forEach(([h,p])=>{l(h,p)}),e=[],s=[],t(a)},o=()=>{clearTimeout(i),i=setTimeout(n,0)};return(a,c)=>{const l=e.indexOf(a);if(l>-1){const h=s[l];return c.context&&(h.context=!0),c.properties&&(h.properties=!0),c.layout&&(h.layout=!0),c.recursive&&(h.recursive=!0),o()}return e.push(a),s.push(c),o()}};class ee{constructor(t,e={}){this.providers=e,this.breakpoints=[],this.actionsState={handlers:[],watchers:[]},this.switches={},this.changesets=[],this.subscriptions=[],this.customComponentHandler=new be,this.events=t.events.createChild(this);const s=new Rt(this.events,"root");s.name=`root-${t.name}`,this.nodes=new ve(s,this.switches,this.events);const i=this.processNode=xe(this,n=>{const o=Array.from(n.keys());process.env.NODE_ENV!=="production"&&console.info(`STATE PROCESSOR: ${o.length} node(s) processed:
1
+ "use strict";const lt=(r,t,e,...s)=>{const i=`[${r.get("$environment").name||"webprovisions"}] ${e}`;switch(t){case"info":console.info(i,...s);break;case"warning":console.warn(i,...s);break;case"error":console.error(i,...s);break}},pe=r=>{const t=r.container||r;return{info:(e,...s)=>lt(t,"info",e,...s),warn:(e,...s)=>lt(t,"warning",e,...s),error:(e,...s)=>lt(t,"error",e,...s)}};var G=(r=>(r.Implementation="implementation",r.Widget="widget",r))(G||{}),S=(r=>(r.Pre="pre",r.Post="post",r))(S||{});const de=(r,t,e,s)=>{try{const i=new t(e,s);return{name:r,invoke:(n,o)=>{let a;return i[n]&&(a=i[n].call(i,o)),Promise.resolve(a)},getInstance:()=>i}}catch(i){if(i.message&&i.message.indexOf("is not a constructor")>=0)return{name:r,invoke:n=>{let o;return n==="initialize"&&(o=t(e,s)),Promise.resolve(o)},getInstance:()=>t};throw i}};function It(r,t){return typeof r>"u"?t:r}class ue{constructor(t={}){this.part=t}createCommand(t,e,s){let i;typeof e=="function"?i={scope:G.Widget,stage:S.Post,defaultArgs:void 0,handlerResolver:e}:i={scope:It(e.scope,G.Widget),stage:It(e.stage,S.Post),defaultArgs:e.defaultArgs,handlerResolver:s};let n=this.part;const o=t.split(".");return o.forEach((a,c)=>{c===o.length-1?n[a]||(n[a]=()=>i):n=this.part[a]=this.part[a]||{}}),this}get(){return this.part}}const _t=r=>{const t=new ue({});return r(t),t.get()};_t(r=>{r.createCommand("types.register",{scope:G.Implementation,stage:S.Pre},t=>(e,s)=>{t.container.get("$types")[e]=s}).createCommand("type",{stage:S.Pre},t=>e=>{t.container.register("$type",e)}).createCommand("settings",{stage:S.Pre,defaultArgs:[null]},t=>e=>{t.events.dispatch("settings:change",e,{bubbles:!0}),t.container.register("$settings",e)}).createCommand("plugin",{stage:S.Pre},t=>(e,s,i)=>{const{container:n}=t;let o=null,a=e,c=s;typeof e=="string"&&(o=e,a=s,c=i);const l=h=>{const{transformPluginSettings:p}=t.container.get("$environmentOptions"),d=p?p(c||{},o,t.container,a):s;try{const u=de(o,a,n,d);n.get("$plugins").push(u),h&&u.invoke("initialize",null)}catch(u){pe(t).warn("Error when initializing plugin",u)}};t.container.get("$instance")?l(!0):t.events.subscribeOnce("widget:instance-created",()=>l(!1))}).createCommand("container.register",t=>(e,s)=>{t.container.register(e,s)}).createCommand("container.registerAsync",t=>(e,s)=>{t.container.registerAsync(e,s)}).createCommand("container.registerFactory",t=>(e,s)=>{t.container.registerFactory(e,s)}).createCommand("container.touch",t=>(e,s)=>{t.container.touch(e,s)}).createCommand("csp",{},t=>e=>{t.container.register("csp",e)})});const tt=(r,t,...e)=>typeof t=="string"?r(`[humany] ${t}`,...e):r(t,...e),H=class{constructor(){this.keys=[],this.log=(t,...e)=>this.lookup(t,()=>H.log(...e)),this.warn=(t,...e)=>this.lookup(t,()=>H.warn(...e)),this.error=(t,...e)=>this.lookup(t,()=>H.error(...e)),this.info=(t,...e)=>this.lookup(t,()=>H.info(...e))}lookup(t,e){this.keys.indexOf(t)===-1&&(this.keys.push(t),e())}};let y=H;y.log=(...r)=>tt(console.log,...r);y.warn=(...r)=>tt(console.warn,...r);y.error=(...r)=>tt(console.error,...r);y.info=(...r)=>tt(console.info,...r);const Xt=r=>{let t={},e,s;if(typeof r!="object"||r===null)return r;t=Array.isArray(r)?[]:{};for(s in r)e=r[s],t[s]=typeof e=="object"&&e!==null?Xt(e):e;return t};function Ht(r){let t=0;if(r.length===0)return t.toString();for(let e=0;e<r.length;e++){const s=r.charCodeAt(e);t=(t<<5)-t+s,t=t&t}return t.toString()}let me=class{constructor(t,e){this.lockWarningTime=t,this.lockErrorTime=e,this.tasks=[],this.current=Promise.resolve(),this.next=this.next.bind(this)}add(t,e,s,i){this.tasks.push({task:t,resolve:e,reject:s,done:i}),this.next()}next(){this.current=this.current.then(()=>{const t=this.tasks.shift();if(t){let e;const s=setTimeout(()=>{process.env.NODE_ENV!=="production"&&y.warn(`A lock has exceeded ${this.lockWarningTime} ms. Waiting additional ${this.lockErrorTime} ms before rejecting the task.`,t),e=setTimeout(()=>{t.reject("lock timeout exceeded")},this.lockErrorTime)},this.lockWarningTime),i=Promise.resolve(t.task()).then(n=>(clearTimeout(s),clearTimeout(e),n));return Promise.resolve(i).then(this.next).then(()=>i.then(n=>{t.done(),t.resolve(n)})).catch(n=>(t.done(),t.reject(n),this.next()))}return Promise.resolve()})}};const F=new WeakMap;function et(r,t=5e3,e=1e3){return F.has(r)||F.set(r,new me(t,e)),s=>new Promise((i,n)=>{const o=F.get(r);o.add(s,i,n,()=>{o.tasks.length||F.delete(r)})})}const _=()=>Math.floor((1+Math.random())*65536).toString(16).substring(1);function st(){return _()+_()+"-"+_()+"-"+_()+"-"+_()+"-"+_()+_()+_()}const ge=r=>{const t=[];return[(e,s)=>{t.push(r.subscribe(e,s))},()=>{t.forEach(e=>{e()})}]};let rt=class{constructor(t,e=[]){this.platform=t,this.rules=e}match(t){return this.rules.every(e=>!(e.id&&e.id!==t.id||e.type&&e.type!==t.type))}ofType(t){return this.rules.push({type:t}),this}withId(t){return this.rules.push({id:t}),this}select(){return new fe(this.platform,this)}},Yt=class{constructor(t,e,s){this.platform=t,this.node=e,this.actions=new At(t,new rt(t).withId(e.id),s);const[i,n]=ge(this.platform.events);this.subscribe=i,this.unsubscribe=n}properties(t){return t&&this.node.touchProperties(e=>t(e)),this.node.attributes.properties}context(t){return t&&this.subscribe("components:context-changed",(e,{node:s})=>{s===this.node&&t(this.node.attributes.context)}),this.node.attributes.context}layout(t){return t&&this.subscribe("components:layout-changed",(e,{node:s})=>{s===this.node&&t(this.node.attributes.layout)}),this.node.attributes.layout}writeProperties(t,e){this.node.writeProperties(t,e)}writeContext(t,e){this.node.writeProperties(t,e)}writeLayout(t,e){this.node.writeLayout(t,e)}dispose(){this.unsubscribe(),this.actions.dispose()}};class fe{constructor(t,e,s=!0){this.platform=t,this.target=e,this.clearOnDispose=s,this.removes=[],this.actions=new At(this.platform,this.target)}writeProperties(t,e){this.removes.push(this.platform.write({options:e,attributes:{properties:t},target:this.target,removable:this.clearOnDispose}))}writeContext(t,e){this.removes.push(this.platform.write({options:e,attributes:{context:t},target:this.target,removable:this.clearOnDispose}))}writeLayout(t,e){this.removes.push(this.platform.write({options:e,attributes:{layout:t},target:this.target,removable:this.clearOnDispose}))}dispose(){this.removes.forEach(t=>{t()}),this.actions.dispose()}}const ye=(r,t,e)=>{const s=r.concat(),i=(n,o,a)=>{let c=!0;if(s.length){const l=s.shift(),h=(p,d)=>(c=!1,i(p,Object.assign({},o,d),a));return Promise.resolve(l(n,h,a)).then(p=>({...p,cancelled:c}))}return Promise.resolve({data:n,cancelled:!1,options:o})};return i(t,{},e)};let At=class{constructor(t,e,s){this.platform=t,this.target=e,this.ns=s,this.subscriptions=[],this.create=this.create.bind(this)}create(t,e=()=>{}){const s={key:t,fn:e,target:this.target,ns:this.ns};this.platform.actionsState.handlers.push(s);const i=()=>{const n=this.platform.actionsState.handlers.indexOf(s);n>-1&&this.platform.actionsState.handlers.splice(n,1)};return this.subscriptions.push(i),i}dispatch(t,e){const s=this.platform.nodes.all.concat(this.platform.nodes.detached),i={},n=this.platform.actionsState.handlers.filter(o=>o.key===t&&(!o.ns||!this.ns||o.ns===this.ns));return Promise.all(n.map(o=>{const a=s.filter(l=>o.target.match(l)&&this.target.match(l)),c=this.platform.actionsState.watchers.filter(l=>l.key===t&&(!l.ns||!this.ns||l.ns===this.ns)&&a.some(h=>l.target.match(h))).map(l=>l.fn);return Promise.all(a.map(l=>{const h=new Yt(this.platform,l,this.ns);return ye(c,e,h).then(p=>{const{data:d={},options:u,cancelled:g}=p;return Promise.resolve(g?{}:o.fn(d,u,h)).then(j=>{i[l.id]=j})})}))})).then(()=>i)}watch(t,e){let s=t,i=this.ns;const n=t.split(".");n.length>1&&(i=n[0],s=n.splice(1).join("."));const o={fn:e,target:this.target,key:s,ns:i};this.platform.actionsState.watchers.push(o);const a=()=>{const c=this.platform.actionsState.watchers.indexOf(o);c>-1&&this.platform.actionsState.watchers.splice(c,1)};return this.subscriptions.push(a),a}dispose(){this.subscriptions.forEach(t=>t())}};_t(r=>{r.createCommand("components",t=>e=>{t.events.subscribeOnce("components:platform-created",(s,{platform:i})=>{e.handlers&&e.handlers.forEach(([n,o])=>{i.addComponentHandler(n,o)})})})});let Rt=class{constructor(t,e){this.events=t,this.tags=[],this.children={},this.changesets=[],this.mountCount=0,this.id=st(),this.type=e,this.attributes={context:{},properties:{},layout:{},tags:[]},this.writeLayout({size:"full",indent:0})}mount(t,e){let s=t.get("mounted-nodes");return s||(s=new Map,t.register("mounted-nodes",s)),s.has(this)?(process.env.NODE_ENV!=="production"&&y.error("Trying to mount an already mounted component node.",this),()=>{}):(this.events.dispatch("components:node-mounted",{node:this}),this.mountCount===0&&(this.mountCount=this.mountCount+1,this.events.dispatch("components:node-enter",{node:this})),()=>{s.delete(this),this.events.dispatch("components:node-unmounted",{node:this}),this.mountCount=this.mountCount-1,this.mountCount===0&&this.events.dispatch("components:node-exit",{node:this})})}appendChild(t,e="default"){if(t.parent){if(t.parent===this)return;t.parent.removeChild(t)}t.parent=this,this.children[e]||(this.children[e]=[]),this.children[e].push(t),this.events.dispatch("components:node-appended",{node:t})}prependChild(t,e="default"){if(t.parent){if(t.parent===this)return;t.parent.removeChild(t)}t.parent=this,this.children[e]||(this.children[e]=[]),this.children[e].unshift(t),this.events.dispatch("components:node-appended",{node:t})}touchProperties(t,e={},s){const i=[{properties:t},e];return this.changesets.push(i),this.events.dispatch("components:set-properties",{node:this}),()=>{if(s){const n=this.changesets.indexOf(i);n>-1&&(this.changesets.splice(n,1),this.events.dispatch("components:set-properties",{node:this}))}}}writeProperties(t,e={},s){const i=[{properties:t},e];return this.changesets.push(i),this.events.dispatch("components:set-properties",{node:this}),()=>{if(s){const n=this.changesets.indexOf(i);n>-1&&(this.changesets.splice(n,1),this.events.dispatch("components:set-properties",{node:this}))}}}writeLayout(t,e={},s){const i=[{layout:t},e];return this.changesets.push(i),this.events.dispatch("components:set-layout",{node:this}),()=>{if(!s)return;const n=this.changesets.indexOf(i);n>-1&&(this.changesets.splice(n,1),this.events.dispatch("components:set-layout",{node:this}))}}writeContext(t,e={},s){const i=[{context:t},e];return this.changesets.push(i),this.events.dispatch("components:set-context",{node:this}),()=>{if(!s)return;const n=this.changesets.indexOf(i);n>-1&&(this.changesets.splice(n,1),this.events.dispatch("components:set-context",{node:this}))}}getChildren(t="default"){const e=this.children[t]||[];return e.reduce((s,i,n)=>{const{order:o=n}=i.attributes.layout;return s[o]?s.splice(o,0,i):s[o]=i,s},Array(e.length))}remove(){this.parent&&this.parent.removeChild(this)}removeChild(t){Object.keys(this.children).forEach(e=>{const s=this.children[e],i=s.indexOf(t);i>-1&&(s.splice(i,1),this.events.dispatch("components:node-removed",{node:t,parentNode:this}))}),delete t.parent}};const te=(r,t,e)=>{for(let s=0,i=r.length;s<i&&e(r[s])!==!0;s++){const n=t[r[s].id]||"default",o=r[s].getChildren(n);te(o,t,e)}},xt=(r,t,e)=>{if(e(r)!==!0){const s=t[r.id]||"default",i=r.children[s];te(i,t,e)}},pt=(r,t)=>{const e=[];return xt(r,t,s=>{e.push(s)}),e},$e=(r,t,e)=>{let s;return xt(r,t,i=>{if(e(i))return s=i,!0}),s};let ve=class{constructor(t,e,s){this.root=t,this.switches=e,this.all=[],this.visible=[],this.detached=[],s.subscribe("components:node-appended",(i,n)=>{this.all.push(n.node),this.visible=pt(t,e)}),s.subscribe("components:node-removed",(i,n)=>{let o=this.all.indexOf(n.node);o>-1&&this.all.splice(o,1),o=this.visible.indexOf(n.node),o>-1&&this.visible.splice(o,1),this.visible=pt(t,e)}),s.subscribe("components:node-switched",(i,n)=>{this.visible=pt(t,e)})}query(t={}){const e=[];return xt(this.root,this.switches,s=>{Object.keys(t).every(i=>t[i]===s[i])&&e.push(s)}),e}get(t){return $e(this.root,this.switches,e=>e.id===t)||this.detached.find(e=>e.id===t)}};class be{constructor(){this.handlers=new Map}add(t,e){this.handlers.set(t,e)}get(t){return this.handlers.get(t)}}const we=r=>{let t=r,e=0;for(;t.parent;)e=e+1,t=t.parent;return e},_e=r=>r.map(([t,e])=>[we(t),t,e]).sort(([t],[e])=>t-e).map(([,t,e])=>[t,e]),dt=r=>r instanceof Date?!1:r&&typeof r=="object"&&!Array.isArray(r),b=(r,...t)=>{if(!t.length)return r;const e=t.shift();if(dt(r)&&dt(e))for(const s in e)dt(e[s])?(r[s]||Object.assign(r,{[s]:{}}),b(r[s],e[s])):Object.assign(r,{[s]:e[s]});return b(r,...t)},Ae=(r,t)=>!r||r==="all"?!0:r.some(e=>t.indexOf(e)>-1),xe=(r,t)=>{let e=[],s=[],i;const n=()=>{process.env.NODE_ENV!=="production"&&console.time("state-processor.flush");const a=new Map,c=_e(e.map((h,p)=>[h,s[p]])),l=(h,p)=>{var d;const u=a.get(h)||{},g=p.context&&!u.context,j=p.properties&&!u.properties,ct=p.layout&&!u.layout;a.set(h,{context:u.context||g,properties:u.properties||j,layout:u.layout||ct}),j&&(h.attributes.properties={}),ct&&(h.attributes.layout={}),g&&(h.attributes.context=b({},(d=h.parent)==null?void 0:d.attributes.context));const Mt=[],Dt=[],jt=[];if(h.changesets.forEach(v=>{const[$,ht]=v;Ae(ht.breakpoints,r.breakpoints)&&(j&&(typeof $.properties=="function"?Mt.push($.properties):b(h.attributes.properties,$.properties)),ct&&(typeof $.layout=="function"?Dt.push($.layout):b(h.attributes.layout,$.layout)),g&&(typeof $.context=="function"?jt.push($.context):b(h.attributes.context,$.context)))}),Mt.forEach(v=>{b(h.attributes.properties,v(h.attributes.properties))}),Dt.forEach(v=>{b(h.attributes.layout,v(h.attributes.layout))}),jt.forEach(v=>{b(h.attributes.context,v(h.attributes.context))}),g||p.recursive){const v=r.getBranch(h),$=p.recursive?p:{context:!!g};h.getChildren(v).forEach(ht=>{l(ht,$)})}};process.env.NODE_ENV!=="production"&&console.timeEnd("state-processor.flush"),c.forEach(([h,p])=>{l(h,p)}),e=[],s=[],t(a)},o=()=>{clearTimeout(i),i=setTimeout(n,0)};return(a,c)=>{const l=e.indexOf(a);if(l>-1){const h=s[l];return c.context&&(h.context=!0),c.properties&&(h.properties=!0),c.layout&&(h.layout=!0),c.recursive&&(h.recursive=!0),o()}return e.push(a),s.push(c),o()}};class ee{constructor(t,e={}){this.providers=e,this.breakpoints=[],this.actionsState={handlers:[],watchers:[]},this.switches={},this.changesets=[],this.subscriptions=[],this.customComponentHandler=new be,this.events=t.events.createChild(this);const s=new Rt(this.events,"root");s.name=`root-${t.name}`,this.nodes=new ve(s,this.switches,this.events);const i=this.processNode=xe(this,n=>{const o=Array.from(n.keys());process.env.NODE_ENV!=="production"&&console.info(`STATE PROCESSOR: ${o.length} node(s) processed:
2
2
  ${o.map(a=>`${a.name||"<no name>"} (${a.id})
3
- `)}`),o.forEach(a=>{const c=n.get(a);a.parent&&a.parent.type==="root"&&this.events.dispatch("components:root-children-changed",{node:a}),c!=null&&c.context&&this.events.dispatch("components:context-changed",{node:a}),c!=null&&c.properties&&this.events.dispatch("components:properties-changed",{node:a}),c!=null&&c.layout&&this.events.dispatch("components:layout-changed",{node:a})}),this.events.dispatch("components:component-model-initialized",{},{bubbles:!0})});Promise.all(Object.keys(e).map(n=>e[n].load(this))),this.subscriptions.push(this.events.subscribe("components:node-appended",(n,o)=>{const{node:a}=o;this.changesets.forEach(c=>{const{changeset:l,target:h,removes:p}=c,[d,u]=l;h.match(o.node)&&(d.properties&&p.push(a.writeProperties(d.properties,u)),d.context&&p.push(a.writeContext(d.context,u)),d.layout&&p.push(a.writeLayout(d.layout,u)))})})),this.subscriptions.push(this.events.subscribe("components:node-appended",(n,o)=>{i(o.node,{properties:!0,context:!0})})),this.subscriptions.push(this.events.subscribe("components:set-properties",(n,o)=>{i(o.node,{properties:!0})})),this.subscriptions.push(this.events.subscribe("components:set-context",(n,o)=>{i(o.node,{properties:!0,context:!0})})),this.subscriptions.push(this.events.subscribe("components:set-indent",(n,o)=>{i(o.node,{layout:!0})})),this.subscriptions.push(this.events.subscribe("components:set-layout",(n,o)=>{i(o.node,{layout:!0})})),this.subscriptions.push(this.events.subscribe("components:node-switched",(n,{node:o,branch:a})=>{i(o,{layout:!0,recursive:!0,properties:!0,context:!0})})),this.subscriptions.push(this.events.subscribe("components:node-removed",(n,{parentNode:o})=>{i(o,{properties:!0})})),this.events.parent&&this.events.parent.dispatch("components:platform-created",{platform:this})}static getInstance(t){return t.getAsync("components")}addBreakpoint(t){this.breakpoints.indexOf(t)===-1&&(this.breakpoints.push(t),this.processNode(this.nodes.root,{context:!0,properties:!0,layout:!0,recursive:!0}))}removeBreakpoint(t){const e=this.breakpoints.indexOf(t);e>-1&&(this.breakpoints.splice(e,1),this.processNode(this.nodes.root,{context:!0,properties:!0,layout:!0,recursive:!0}))}setSwitch(t,e){this.switches[t.id]=e,this.events.dispatch("components:node-switched",{node:t,branch:e})}getBranch(t){return this.switches[t.id]}createNode(t,e={}){const s=new Rt(this.events,t);return e.detached&&this.nodes.detached.push(s),s}components(){return new rt(this)}actions(t,e){return new At(this,t,e)}write(t){const{provider:e,target:s,attributes:i,options:n={},removable:o}=t,a=t.key||st(),c={changeset:[i,n],target:s,removes:[]};if(e){const l=this.providers[e];l.write(a,s,i,n),c.removes.push(()=>{l.remove(a)})}return this.changesets.push(c),this.nodes.all.forEach(l=>{if(s.match(l)){let h=()=>{};i.properties&&(h=l.writeProperties(i.properties,n,o)),i.context&&(h=l.writeContext(i.context,n,o)),i.layout&&(h=l.writeContext(i.layout,n,o)),c.removes.push(h)}}),()=>{if(o){c.removes.forEach(h=>h());const l=this.changesets.indexOf(c);l>-1&&this.changesets.splice(l,1)}}}addComponentHandler(t,e){this.customComponentHandler.add(t,e)}getComponentHandler(t){return this.customComponentHandler.get(t)}dispose(){this.subscriptions.forEach(t=>t())}}const Ee=(r,t)=>({id:r.id,type:r.type,name:r.name,branch:t||"default"}),Se=(r,t,e,s=st(),i={})=>r.getAsync("components").then(n=>{let o;{const l=new rt(n);l.ofType(t),o=l}const a={},c=l=>{const h=a[l.id];return h?Promise.resolve(h.controller):ee.getInstance(r).then(p=>new Yt(p,l,s))};n.events.subscribe("components:node-enter",(l,{node:h})=>{o.match(h)&&c(h).then(p=>{Promise.resolve(e(p)).then(d=>{a[h.id]={dispose:d,controller:p}})})}),n.events.subscribe("components:node-exit",(l,{node:h})=>{const p=a[h.id];p&&(p.dispose&&p.dispose(),i.reuseController||(p.controller.dispose(),delete a[h.id]))})});var w=(r=>(r.Cookie="cookie",r.Local="local",r.Session="session",r))(w||{}),Et=(r=>(r.Tenant="tenant",r.Implementation="implementation",r.Widget="widget",r))(Et||{}),f=(r=>(r.Necessary="necessary",r.Functional="functional",r.Analytical="analytical",r.Marketing="marketing",r))(f||{});const Ce=(r,t,e,s={})=>Lt(r,e).then(i=>(process.env.NODE_ENV!=="production"&&i&&$.warn(`createStorageWriter: Attempted to create storage writer using unallowed category.
3
+ `)}`),o.forEach(a=>{const c=n.get(a);a.parent&&a.parent.type==="root"&&this.events.dispatch("components:root-children-changed",{node:a}),c!=null&&c.context&&this.events.dispatch("components:context-changed",{node:a}),c!=null&&c.properties&&this.events.dispatch("components:properties-changed",{node:a}),c!=null&&c.layout&&this.events.dispatch("components:layout-changed",{node:a})}),this.events.dispatch("components:component-model-initialized",{},{bubbles:!0})});Promise.all(Object.keys(e).map(n=>e[n].load(this))),this.subscriptions.push(this.events.subscribe("components:node-appended",(n,o)=>{const{node:a}=o;this.changesets.forEach(c=>{const{changeset:l,target:h,removes:p}=c,[d,u]=l;h.match(o.node)&&(d.properties&&p.push(a.writeProperties(d.properties,u)),d.context&&p.push(a.writeContext(d.context,u)),d.layout&&p.push(a.writeLayout(d.layout,u)))})})),this.subscriptions.push(this.events.subscribe("components:node-appended",(n,o)=>{i(o.node,{properties:!0,context:!0})})),this.subscriptions.push(this.events.subscribe("components:set-properties",(n,o)=>{i(o.node,{properties:!0})})),this.subscriptions.push(this.events.subscribe("components:set-context",(n,o)=>{i(o.node,{properties:!0,context:!0})})),this.subscriptions.push(this.events.subscribe("components:set-indent",(n,o)=>{i(o.node,{layout:!0})})),this.subscriptions.push(this.events.subscribe("components:set-layout",(n,o)=>{i(o.node,{layout:!0})})),this.subscriptions.push(this.events.subscribe("components:node-switched",(n,{node:o,branch:a})=>{i(o,{layout:!0,recursive:!0,properties:!0,context:!0})})),this.subscriptions.push(this.events.subscribe("components:node-removed",(n,{parentNode:o})=>{i(o,{properties:!0})})),this.events.parent&&this.events.parent.dispatch("components:platform-created",{platform:this})}static getInstance(t){return t.getAsync("components")}addBreakpoint(t){this.breakpoints.indexOf(t)===-1&&(this.breakpoints.push(t),this.processNode(this.nodes.root,{context:!0,properties:!0,layout:!0,recursive:!0}))}removeBreakpoint(t){const e=this.breakpoints.indexOf(t);e>-1&&(this.breakpoints.splice(e,1),this.processNode(this.nodes.root,{context:!0,properties:!0,layout:!0,recursive:!0}))}setSwitch(t,e){this.switches[t.id]=e,this.events.dispatch("components:node-switched",{node:t,branch:e})}getBranch(t){return this.switches[t.id]}createNode(t,e={}){const s=new Rt(this.events,t);return e.detached&&this.nodes.detached.push(s),s}components(){return new rt(this)}actions(t,e){return new At(this,t,e)}write(t){const{provider:e,target:s,attributes:i,options:n={},removable:o}=t,a=t.key||st(),c={changeset:[i,n],target:s,removes:[]};if(e){const l=this.providers[e];l.write(a,s,i,n),c.removes.push(()=>{l.remove(a)})}return this.changesets.push(c),this.nodes.all.forEach(l=>{if(s.match(l)){let h=()=>{};i.properties&&(h=l.writeProperties(i.properties,n,o)),i.context&&(h=l.writeContext(i.context,n,o)),i.layout&&(h=l.writeContext(i.layout,n,o)),c.removes.push(h)}}),()=>{if(o){c.removes.forEach(h=>h());const l=this.changesets.indexOf(c);l>-1&&this.changesets.splice(l,1)}}}addComponentHandler(t,e){this.customComponentHandler.add(t,e)}getComponentHandler(t){return this.customComponentHandler.get(t)}dispose(){this.subscriptions.forEach(t=>t())}}const Ee=(r,t)=>({id:r.id,type:r.type,name:r.name,branch:t||"default"}),Se=(r,t,e,s=st(),i={})=>r.getAsync("components").then(n=>{let o;{const l=new rt(n);l.ofType(t),o=l}const a={},c=l=>{const h=a[l.id];return h?Promise.resolve(h.controller):ee.getInstance(r).then(p=>new Yt(p,l,s))};n.events.subscribe("components:node-enter",(l,{node:h})=>{o.match(h)&&c(h).then(p=>{Promise.resolve(e(p)).then(d=>{a[h.id]={dispose:d,controller:p}})})}),n.events.subscribe("components:node-exit",(l,{node:h})=>{const p=a[h.id];p&&(p.dispose&&p.dispose(),i.reuseController||(p.controller.dispose(),delete a[h.id]))})});var w=(r=>(r.Cookie="cookie",r.Local="local",r.Session="session",r))(w||{}),Et=(r=>(r.Tenant="tenant",r.Implementation="implementation",r.Widget="widget",r))(Et||{}),f=(r=>(r.Necessary="necessary",r.Functional="functional",r.Analytical="analytical",r.Marketing="marketing",r))(f||{});const Ce=(r,t,e,s={})=>Lt(r,e).then(i=>(process.env.NODE_ENV!=="production"&&i&&y.warn(`createStorageWriter: Attempted to create storage writer using unallowed category.
4
4
  Key: ${t}
5
5
  Category: ${JSON.stringify(e)}
6
- Options: ${JSON.stringify(s)}`),n=>(Ct(r),Lt(r,e).then(o=>{if(o){process.env.NODE_ENV!=="production"&&$.warn(`storageWriter: Attempted to write to storage using unallowed category.
6
+ Options: ${JSON.stringify(s)}`),n=>(Ct(r),Lt(r,e).then(o=>{if(o){process.env.NODE_ENV!=="production"&&y.warn(`storageWriter: Attempted to write to storage using unallowed category.
7
7
  Key: ${t}
8
8
  Category: ${JSON.stringify(e)}
9
9
  Value: ${JSON.stringify(n)}
10
- Options: ${JSON.stringify(s)}`);return}const{scope:a=Et.Widget,medium:c=w.Session,duration:l}=s,h=ke();return h[a][t]=ie(n,e,l),c===w.Cookie?De(r,h):Ie(r,c,h)})))),Oe=(r,t,e=w.Session)=>(Ct(r),e===w.Cookie?Me(r).then(s=>wt(s,t)):je(r,e).then(s=>wt(s,t))),U=r=>!!Object.entries(r).filter(([t,e])=>typeof e<"u").length,ut=r=>Object.entries(r).filter(([t,e])=>typeof e<"u").forEach(([t,{value:e}])=>{typeof e>"u"&&delete r[t]}),se=(r,t)=>{const e={tenant:{...r.tenant,...t.tenant},implementation:{...r.implementation,...t.implementation},widget:{...r.widget,...t.widget}};return ut(e.tenant),ut(e.implementation),ut(e.widget),e},Pe=r=>Object.entries(r).reduce((t,e)=>{const[s,i]=e;return Object.entries(i).forEach(n=>{const[o,{expiration:a}]=n;a&&t.push(a)}),t},[]).slice().sort((t,e)=>new Date(e).valueOf()-new Date(t).valueOf()).shift()||Ot(),it=r=>{const{name:t,implementation:{name:e,tenant:s}}=r.get("$widget");return[`humany_${s}`,`humany_${Ht(s+e)}`,`humany_${Ht(s+e+t)}`]},mt=r=>{const t=new RegExp(`(?:^|;)\\s?${r}=(.*?)(?:;|$)`,"i"),e=document.cookie.match(t);return e&&e[1]&&JSON.parse(e[1])||void 0},gt=(r,t,e)=>{const s=`${r}=${JSON.stringify(t).trim()}`,i=`expires=${new Date(e).toUTCString()}`,n="path=/",o="SameSite=None;Secure";return document.cookie=`${s}; ${i}; ${n}; ${o}`},St=r=>{const[t,e,s]=it(r),i=mt(t)||{},n=mt(e)||{},o=mt(s)||{};return{tenant:i,implementation:n,widget:o}},re=(r,t)=>{const e=St(r),s=se(e,t),[i,n,o]=it(r),{tenant:a,implementation:c,widget:l}=s,h=Pe(t),p=Ot({days:-1});gt(i,a,U(a)?h:p),gt(n,c,U(c)?h:p),gt(o,l,U(l)?h:p)},Q=(r,t)=>{const[e,s,i]=it(r),n=t.getItem(e)||"{}",o=t.getItem(s)||"{}",a=t.getItem(i)||"{}";return{tenant:JSON.parse(n),implementation:JSON.parse(o),widget:JSON.parse(a)}},bt=(r,t,e)=>{const s=Q(r,t),i=se(s,e),[n,o,a]=it(r),{tenant:c,implementation:l,widget:h}=i;U(c)?t.setItem(n,JSON.stringify(c)):t.removeItem(n),U(l)?t.setItem(o,JSON.stringify(l)):t.removeItem(o),U(h)?t.setItem(a,JSON.stringify(h)):t.removeItem(a);const{events:p}=r.get("$widget");p.dispatch("storage:changed",{})},ke=()=>({tenant:{},implementation:{},widget:{}}),Ne=r=>r?!!r&&new Date>new Date(r):!1,wt=(r,t)=>{const e=r.widget[t]||r.implementation[t]||r.tenant[t];return e==null?void 0:e.value},ie=(r,t,e)=>e?{value:r,category:t,expiration:typeof e=="object"?Ot(e):e}:{value:r,category:t},Te=(r,t)=>{const e=Xt(r);return Object.entries(e).forEach(([s,i])=>{Object.entries(i).forEach(([n,o])=>{const{expiration:a,category:c}=o;(Ne(a)||Ue(t,c))&&(i[n]=ie(void 0,c,a))})}),e},Lt=(r,t)=>Oe(r,"storagePolicy",w.Cookie).then((e=[f.Necessary])=>!!t&&e.indexOf(t)===-1),Ue=(r=[f.Necessary],t)=>!!t&&r.indexOf(t)===-1,Ct=r=>{const t=St(r),e=Q(r,window.localStorage),s=Q(r,sessionStorage),i=wt(t,"storagePolicy"),[n,o,a]=[t,e,s].map(c=>Te(c,i));re(r,n),bt(r,window.localStorage,o),bt(r,window.sessionStorage,a)},Ot=(r={days:30})=>{const{days:t=0,hours:e=0,minutes:s=0,seconds:i=0}=r,n=new Date;return n.setTime(n.getTime()+e*60*60*1e3),n.setTime(n.getTime()+t*24*60*60*1e3),n.setTime(n.getTime()+s*60*1e3),n.setTime(n.getTime()+i*1e3),n.toISOString()},Me=r=>et(document)(()=>St(r)),De=(r,t)=>et(document)(()=>re(r,t)),je=(r,t)=>{const e=t===w.Local?window.localStorage:window.sessionStorage;return et(e)(()=>Q(r,e))},Ie=(r,t,e)=>{const s=t===w.Local?window.localStorage:window.sessionStorage;return et(s)(()=>bt(r,s,e))};_t(r=>{r.createCommand("storage",t=>(e={})=>{const{consent:s}=e;if(typeof s<"u"){if(typeof s!="number"&&typeof s!="string"&&!Array.isArray(s)){process.env.NODE_ENV!=="production"&&$.warn(`storagePolicyConfigurationApi: passed consent is not valid. Consent either has to be a number, a string, an array of strings or an array of numbers.
11
- Passed consent: ${JSON.stringify(s)}`);return}if(Array.isArray(s)&&!s.every(n=>typeof n=="number"||typeof n=="string")){process.env.NODE_ENV!=="production"&&$.warn(`storagePolicyConfigurationApi: passed consent is not valid. Consent either has to be a number, a string, an array of strings or an array of numbers.
12
- Passed consent: ${JSON.stringify(s)}`);return}const i=[f.Necessary,f.Functional,f.Analytical,f.Marketing].filter((n,o,a)=>typeof s=="number"?s>o:typeof s=="string"?a.indexOf(s)+1>o:Array.isArray(s)?s.findIndex(c=>c===o+1||c===n)>-1:!0);return i.indexOf(f.Necessary)===-1&&(process.env.NODE_ENV!=="production"&&$.warn(`storagePolicyConfigurationApi: passed consent does not include category: '${f.Necessary}'. Consent has to atleast include the '${f.Necessary}' category.
10
+ Options: ${JSON.stringify(s)}`);return}const{scope:a=Et.Widget,medium:c=w.Session,duration:l}=s,h=ke();return h[a][t]=ie(n,e,l),c===w.Cookie?De(r,h):Ie(r,c,h)})))),Oe=(r,t,e=w.Session)=>(Ct(r),typeof t>"u"?(process.env.NODE_ENV!=="production"&&y.warn("readStorage: Undefined key passed when reading storage. ",t,e),Promise.resolve(void 0)):e===w.Cookie?Me(r).then(s=>wt(s,t)):je(r,e).then(s=>wt(s,t))),U=r=>!!Object.entries(r).filter(([t,e])=>typeof e<"u").length,ut=r=>Object.entries(r).filter(([t,e])=>typeof e<"u").forEach(([t,{value:e}])=>{typeof e>"u"&&delete r[t]}),se=(r,t)=>{const e={tenant:{...r.tenant,...t.tenant},implementation:{...r.implementation,...t.implementation},widget:{...r.widget,...t.widget}};return ut(e.tenant),ut(e.implementation),ut(e.widget),e},Pe=r=>Object.entries(r).reduce((t,e)=>{const[s,i]=e;return Object.entries(i).forEach(n=>{const[o,{expiration:a}]=n;a&&t.push(a)}),t},[]).slice().sort((t,e)=>new Date(e).valueOf()-new Date(t).valueOf()).shift()||Ot(),it=r=>{const{name:t,implementation:{name:e,tenant:s}}=r.get("$widget");return[`humany_${s}`,`humany_${Ht(s+e)}`,`humany_${Ht(s+e+t)}`]},mt=r=>{const t=new RegExp(`(?:^|;)\\s?${r}=(.*?)(?:;|$)`,"i"),e=document.cookie.match(t);return e&&e[1]&&JSON.parse(e[1])||void 0},gt=(r,t,e)=>{const s=`${r}=${JSON.stringify(t).trim()}`,i=`expires=${new Date(e).toUTCString()}`,n="path=/",o="SameSite=None;Secure";return document.cookie=`${s}; ${i}; ${n}; ${o}`},St=r=>{const[t,e,s]=it(r),i=mt(t)||{},n=mt(e)||{},o=mt(s)||{};return{tenant:i,implementation:n,widget:o}},re=(r,t)=>{const e=St(r),s=se(e,t),[i,n,o]=it(r),{tenant:a,implementation:c,widget:l}=s,h=Pe(t),p=Ot({days:-1});gt(i,a,U(a)?h:p),gt(n,c,U(c)?h:p),gt(o,l,U(l)?h:p)},Q=(r,t)=>{const[e,s,i]=it(r),n=t.getItem(e)||"{}",o=t.getItem(s)||"{}",a=t.getItem(i)||"{}";return{tenant:JSON.parse(n),implementation:JSON.parse(o),widget:JSON.parse(a)}},bt=(r,t,e)=>{const s=Q(r,t),i=se(s,e),[n,o,a]=it(r),{tenant:c,implementation:l,widget:h}=i;U(c)?t.setItem(n,JSON.stringify(c)):t.removeItem(n),U(l)?t.setItem(o,JSON.stringify(l)):t.removeItem(o),U(h)?t.setItem(a,JSON.stringify(h)):t.removeItem(a);const{events:p}=r.get("$widget");p.dispatch("storage:changed",{})},ke=()=>({tenant:{},implementation:{},widget:{}}),Ne=r=>r?!!r&&new Date>new Date(r):!1,wt=(r,t)=>{const e=r.widget[t]||r.implementation[t]||r.tenant[t];return e==null?void 0:e.value},ie=(r,t,e)=>e?{value:r,category:t,expiration:typeof e=="object"?Ot(e):e}:{value:r,category:t},Te=(r,t)=>{const e=Xt(r);return Object.entries(e).forEach(([s,i])=>{Object.entries(i).forEach(([n,o])=>{const{expiration:a,category:c}=o;(Ne(a)||Ue(t,c))&&(i[n]=ie(void 0,c,a))})}),e},Lt=(r,t)=>Oe(r,"storagePolicy",w.Cookie).then((e=[f.Necessary])=>!!t&&e.indexOf(t)===-1),Ue=(r=[f.Necessary],t)=>!!t&&r.indexOf(t)===-1,Ct=r=>{const t=St(r),e=Q(r,window.localStorage),s=Q(r,sessionStorage),i=wt(t,"storagePolicy"),[n,o,a]=[t,e,s].map(c=>Te(c,i));re(r,n),bt(r,window.localStorage,o),bt(r,window.sessionStorage,a)},Ot=(r={days:30})=>{const{days:t=0,hours:e=0,minutes:s=0,seconds:i=0}=r,n=new Date;return n.setTime(n.getTime()+e*60*60*1e3),n.setTime(n.getTime()+t*24*60*60*1e3),n.setTime(n.getTime()+s*60*1e3),n.setTime(n.getTime()+i*1e3),n.toISOString()},Me=r=>et(document)(()=>St(r)),De=(r,t)=>et(document)(()=>re(r,t)),je=(r,t)=>{const e=t===w.Local?window.localStorage:window.sessionStorage;return et(e)(()=>Q(r,e))},Ie=(r,t,e)=>{const s=t===w.Local?window.localStorage:window.sessionStorage;return et(s)(()=>bt(r,s,e))};_t(r=>{r.createCommand("storage",t=>(e={})=>{const{consent:s}=e;if(typeof s<"u"){if(typeof s!="number"&&typeof s!="string"&&!Array.isArray(s)){process.env.NODE_ENV!=="production"&&y.warn(`storagePolicyConfigurationApi: passed consent is not valid. Consent either has to be a number, a string, an array of strings or an array of numbers.
11
+ Passed consent: ${JSON.stringify(s)}`);return}if(Array.isArray(s)&&!s.every(n=>typeof n=="number"||typeof n=="string")){process.env.NODE_ENV!=="production"&&y.warn(`storagePolicyConfigurationApi: passed consent is not valid. Consent either has to be a number, a string, an array of strings or an array of numbers.
12
+ Passed consent: ${JSON.stringify(s)}`);return}const i=[f.Necessary,f.Functional,f.Analytical,f.Marketing].filter((n,o,a)=>typeof s=="number"?s>o:typeof s=="string"?a.indexOf(s)+1>o:Array.isArray(s)?s.findIndex(c=>c===o+1||c===n)>-1:!0);return i.indexOf(f.Necessary)===-1&&(process.env.NODE_ENV!=="production"&&y.warn(`storagePolicyConfigurationApi: passed consent does not include category: '${f.Necessary}'. Consent has to atleast include the '${f.Necessary}' category.
13
13
  Passed consent: ${JSON.stringify(s)}`),i.unshift(f.Necessary)),Ce(t.container,"storagePolicy",f.Necessary,{medium:w.Cookie,scope:Et.Tenant,duration:{days:365}}).then(n=>n(i)).then(()=>{Ct(t.container),t.events.dispatch("storage:policy-changed",i)})}})});/**
14
14
  * @license
15
15
  * Copyright 2019 Google LLC
@@ -151,4 +151,4 @@
151
151
  align-items: center;
152
152
  fill: var(--trigger-text-color, var(--text-on-primary-background));
153
153
  }
154
- `];let N=Ut;q([ot({attribute:!1})],N.prototype,"symbol");q([ot({attribute:!1})],N.prototype,"container");q([at()],N.prototype,"active");q([at()],N.prototype,"loaded");q([at()],N.prototype,"icon");const ps=async(r,t)=>{const e=r.properties().provider;let s={},i="";Array.isArray(e)?(i=e[0],s=e[1]):i=e||"";const n=await t.getAsync(i);if(!n)throw new Error("No provider defined in ListComponent");return n.applyComponentNodeSettings(r.node.id,s),{provider:n,settings:s}},ds=async(r,t)=>{const{provider:e,settings:s={}}=await ps(r,t);return{addResource:(i,n)=>e.addResource(i,n),getData:(i,n)=>e.getData(i,n,s)}},us=(r,t,e,s,i)=>r.getAsync("componentResolver").then(n=>(n.registerComponent(t,e),Se(r,t,s||(()=>{}),t,i))),ms=r=>us(r,"list",Promise.resolve().then(()=>require("./list-BufoVszD.js")),t=>{(async()=>{t.writeProperties({loading:!0,items:[],totalItems:0});const i=await(await ds(t,r)).getData("items",{});t.writeProperties({loading:!1,items:(i==null?void 0:i.items)||[],totalItems:(i==null?void 0:i.totalItems)||0})})()});exports.E=m;exports.ListComponent=ms;exports.N=rt;exports.dt=Ee;exports.et=ee;exports.et$1=st;exports.i=oe;exports.i$1=M;exports.n=ot;exports.r=at;exports.x=R;
154
+ `];let N=Ut;q([ot({attribute:!1})],N.prototype,"symbol");q([ot({attribute:!1})],N.prototype,"container");q([at()],N.prototype,"active");q([at()],N.prototype,"loaded");q([at()],N.prototype,"icon");const ps=async(r,t)=>{const e=r.properties().provider;let s={},i="";Array.isArray(e)?(i=e[0],s=e[1]):i=e||"";const n=await t.getAsync(i);if(!n)throw new Error("No provider defined in ListComponent");return n.applyComponentNodeSettings(r.node.id,s),{provider:n,settings:s}},ds=async(r,t)=>{const{provider:e,settings:s={}}=await ps(r,t);return{addResource:(i,n)=>e.addResource(i,n),getData:(i,n)=>e.getData(i,n,s)}},us=(r,t,e,s,i)=>r.getAsync("componentResolver").then(n=>(n.registerComponent(t,e),Se(r,t,s||(()=>{}),t,i))),ms=r=>us(r,"list",Promise.resolve().then(()=>require("./list-CPADNxc6.js")),t=>{(async()=>{t.writeProperties({loading:!0,items:[],totalItems:0});const i=await(await ds(t,r)).getData("items",{});t.writeProperties({loading:!1,items:(i==null?void 0:i.items)||[],totalItems:(i==null?void 0:i.totalItems)||0})})()});exports.E=m;exports.ListComponent=ms;exports.N=rt;exports.dt=Ee;exports.et=ee;exports.et$1=st;exports.i=oe;exports.i$1=M;exports.n=ot;exports.r=at;exports.x=R;
@@ -165,11 +165,11 @@ const tt = (r, t, ...e) => typeof t == "string" ? r(`[humany] ${t}`, ...e) : r(t
165
165
  this.keys.indexOf(t) === -1 && (this.keys.push(t), e());
166
166
  }
167
167
  };
168
- let $ = I;
169
- $.log = (...r) => tt(console.log, ...r);
170
- $.warn = (...r) => tt(console.warn, ...r);
171
- $.error = (...r) => tt(console.error, ...r);
172
- $.info = (...r) => tt(console.info, ...r);
168
+ let y = I;
169
+ y.log = (...r) => tt(console.log, ...r);
170
+ y.warn = (...r) => tt(console.warn, ...r);
171
+ y.error = (...r) => tt(console.error, ...r);
172
+ y.info = (...r) => tt(console.info, ...r);
173
173
  const Xt = (r) => {
174
174
  let t = {}, e, s;
175
175
  if (typeof r != "object" || r === null)
@@ -202,7 +202,7 @@ let de = class {
202
202
  if (t) {
203
203
  let e;
204
204
  const s = setTimeout(() => {
205
- process.env.NODE_ENV !== "production" && $.warn(
205
+ process.env.NODE_ENV !== "production" && y.warn(
206
206
  `A lock has exceeded ${this.lockWarningTime} ms. Waiting additional ${this.lockErrorTime} ms before rejecting the task.`,
207
207
  t
208
208
  ), e = setTimeout(() => {
@@ -457,7 +457,7 @@ let Rt = class {
457
457
  }
458
458
  mount(t, e) {
459
459
  let s = t.get("mounted-nodes");
460
- return s || (s = /* @__PURE__ */ new Map(), t.register("mounted-nodes", s)), s.has(this) ? (process.env.NODE_ENV !== "production" && $.error(
460
+ return s || (s = /* @__PURE__ */ new Map(), t.register("mounted-nodes", s)), s.has(this) ? (process.env.NODE_ENV !== "production" && y.error(
461
461
  "Trying to mount an already mounted component node.",
462
462
  this
463
463
  ), () => {
@@ -634,12 +634,12 @@ const ve = (r) => {
634
634
  ));
635
635
  const Mt = [], Dt = [], jt = [];
636
636
  if (h.changesets.forEach((v) => {
637
- const [y, nt] = v;
638
- we(nt.breakpoints, r.breakpoints) && (D && (typeof y.properties == "function" ? Mt.push(
639
- y.properties
640
- ) : b(h.attributes.properties, y.properties)), it && (typeof y.layout == "function" ? Dt.push(y.layout) : b(h.attributes.layout, y.layout)), g && (typeof y.context == "function" ? jt.push(
641
- y.context
642
- ) : b(h.attributes.context, y.context)));
637
+ const [$, nt] = v;
638
+ we(nt.breakpoints, r.breakpoints) && (D && (typeof $.properties == "function" ? Mt.push(
639
+ $.properties
640
+ ) : b(h.attributes.properties, $.properties)), it && (typeof $.layout == "function" ? Dt.push($.layout) : b(h.attributes.layout, $.layout)), g && (typeof $.context == "function" ? jt.push(
641
+ $.context
642
+ ) : b(h.attributes.context, $.context)));
643
643
  }), Mt.forEach((v) => {
644
644
  b(
645
645
  h.attributes.properties,
@@ -650,11 +650,11 @@ const ve = (r) => {
650
650
  }), jt.forEach((v) => {
651
651
  b(h.attributes.context, v(h.attributes.context));
652
652
  }), g || p.recursive) {
653
- const v = r.getBranch(h), y = p.recursive ? p : {
653
+ const v = r.getBranch(h), $ = p.recursive ? p : {
654
654
  context: !!g
655
655
  };
656
656
  h.getChildren(v).forEach((nt) => {
657
- l(nt, y);
657
+ l(nt, $);
658
658
  });
659
659
  }
660
660
  };
@@ -885,14 +885,14 @@ const bs = (r, t) => ({
885
885
  );
886
886
  });
887
887
  var w = /* @__PURE__ */ ((r) => (r.Cookie = "cookie", r.Local = "local", r.Session = "session", r))(w || {}), At = /* @__PURE__ */ ((r) => (r.Tenant = "tenant", r.Implementation = "implementation", r.Widget = "widget", r))(At || {}), f = /* @__PURE__ */ ((r) => (r.Necessary = "necessary", r.Functional = "functional", r.Analytical = "analytical", r.Marketing = "marketing", r))(f || {});
888
- const Ee = (r, t, e, s = {}) => Lt(r, e).then((i) => (process.env.NODE_ENV !== "production" && i && $.warn(
888
+ const Ee = (r, t, e, s = {}) => Lt(r, e).then((i) => (process.env.NODE_ENV !== "production" && i && y.warn(
889
889
  `createStorageWriter: Attempted to create storage writer using unallowed category.
890
890
  Key: ${t}
891
891
  Category: ${JSON.stringify(e)}
892
892
  Options: ${JSON.stringify(s)}`
893
893
  ), (n) => (Et(r), Lt(r, e).then((o) => {
894
894
  if (o) {
895
- process.env.NODE_ENV !== "production" && $.warn(
895
+ process.env.NODE_ENV !== "production" && y.warn(
896
896
  `storageWriter: Attempted to write to storage using unallowed category.
897
897
  Key: ${t}
898
898
  Category: ${JSON.stringify(e)}
@@ -907,7 +907,11 @@ const Ee = (r, t, e, s = {}) => Lt(r, e).then((i) => (process.env.NODE_ENV !== "
907
907
  duration: l
908
908
  } = s, h = Oe();
909
909
  return h[a][t] = re(n, e, l), c === w.Cookie ? Ue(r, h) : De(r, c, h);
910
- })))), Se = (r, t, e = w.Session) => (Et(r), e === w.Cookie ? Te(r).then((s) => yt(s, t)) : Me(r, e).then(
910
+ })))), Se = (r, t, e = w.Session) => (Et(r), typeof t > "u" ? (process.env.NODE_ENV !== "production" && y.warn(
911
+ "readStorage: Undefined key passed when reading storage. ",
912
+ t,
913
+ e
914
+ ), Promise.resolve(void 0)) : e === w.Cookie ? Te(r).then((s) => yt(s, t)) : Me(r, e).then(
911
915
  (s) => yt(s, t)
912
916
  )), U = (r) => !!Object.entries(r).filter(([t, e]) => typeof e < "u").length, ht = (r) => Object.entries(r).filter(([t, e]) => typeof e < "u").forEach(([t, { value: e }]) => {
913
917
  typeof e > "u" && delete r[t];
@@ -1032,7 +1036,7 @@ $t((r) => {
1032
1036
  const { consent: s } = e;
1033
1037
  if (typeof s < "u") {
1034
1038
  if (typeof s != "number" && typeof s != "string" && !Array.isArray(s)) {
1035
- process.env.NODE_ENV !== "production" && $.warn(
1039
+ process.env.NODE_ENV !== "production" && y.warn(
1036
1040
  `storagePolicyConfigurationApi: passed consent is not valid. Consent either has to be a number, a string, an array of strings or an array of numbers.
1037
1041
  Passed consent: ${JSON.stringify(s)}`
1038
1042
  );
@@ -1041,7 +1045,7 @@ $t((r) => {
1041
1045
  if (Array.isArray(s) && !s.every(
1042
1046
  (n) => typeof n == "number" || typeof n == "string"
1043
1047
  )) {
1044
- process.env.NODE_ENV !== "production" && $.warn(
1048
+ process.env.NODE_ENV !== "production" && y.warn(
1045
1049
  `storagePolicyConfigurationApi: passed consent is not valid. Consent either has to be a number, a string, an array of strings or an array of numbers.
1046
1050
  Passed consent: ${JSON.stringify(s)}`
1047
1051
  );
@@ -1053,7 +1057,7 @@ $t((r) => {
1053
1057
  f.Analytical,
1054
1058
  f.Marketing
1055
1059
  ].filter((n, o, a) => typeof s == "number" ? s > o : typeof s == "string" ? a.indexOf(s) + 1 > o : Array.isArray(s) ? s.findIndex((c) => c === o + 1 || c === n) > -1 : !0);
1056
- return i.indexOf(f.Necessary) === -1 && (process.env.NODE_ENV !== "production" && $.warn(
1060
+ return i.indexOf(f.Necessary) === -1 && (process.env.NODE_ENV !== "production" && y.warn(
1057
1061
  `storagePolicyConfigurationApi: passed consent does not include category: '${f.Necessary}'. Consent has to atleast include the '${f.Necessary}' category.
1058
1062
  Passed consent: ${JSON.stringify(s)}`
1059
1063
  ), i.unshift(f.Necessary)), Ee(
@@ -1921,7 +1925,7 @@ const ls = async (r, t) => {
1921
1925
  }), t, i))), xs = (r) => ds(
1922
1926
  r,
1923
1927
  "list",
1924
- import("./list-Dx0Ok6zN.mjs"),
1928
+ import("./list-CZHRYLhK.mjs"),
1925
1929
  (t) => {
1926
1930
  (async () => {
1927
1931
  t.writeProperties({ loading: !0, items: [], totalItems: 0 });
package/index.js CHANGED
@@ -1 +1 @@
1
- "use strict";const e=require("./index-DNsYcOma.js");module.exports=e.ListComponent;
1
+ "use strict";const e=require("./index-Bme74Lh2.js");module.exports=e.ListComponent;
package/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { L as f } from "./index-D4lwmYgl.mjs";
1
+ import { L as f } from "./index-CdNpWEuF.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index-DNsYcOma.js");/**
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index-Bme74Lh2.js");/**
2
2
  * @license
3
3
  * Copyright 2017 Google LLC
4
4
  * SPDX-License-Identifier: BSD-3-Clause
@@ -1,4 +1,4 @@
1
- import { e as g, N as k, a as E, i as C, d as y, n as _, r as u, x, E as $, b as q } from "./index-D4lwmYgl.mjs";
1
+ import { e as g, N as k, a as E, i as C, d as y, n as _, r as u, x, E as $, b as q } from "./index-CdNpWEuF.mjs";
2
2
  /**
3
3
  * @license
4
4
  * Copyright 2017 Google LLC
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@telia-ace/widget-components-list-flamingo",
3
- "version": "1.1.120-rc.3",
3
+ "version": "1.1.120-rc.30",
4
4
  "dependencies": {
5
- "@telia-ace/widget-runtime-flamingo": "1.1.120-rc.3",
5
+ "@telia-ace/widget-runtime-flamingo": "1.1.120-rc.30",
6
6
  "@webprovisions/platform": "^1.1.3",
7
7
  "lit": "^3.0.2"
8
8
  },