@icanbwell/composite 1.371.1 → 1.371.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -1
- package/index.js +1 -1
- package/native.js +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -150,7 +150,7 @@ User token for SSO.
|
|
|
150
150
|
|
|
151
151
|
---
|
|
152
152
|
|
|
153
|
-
#### `initialPath`
|
|
153
|
+
#### `initialPath` (deprecated; prefer [`path`](#path) below)
|
|
154
154
|
|
|
155
155
|
**type:** `string`
|
|
156
156
|
|
|
@@ -158,6 +158,21 @@ Optional property that tells the composite what page to start on. Use this to de
|
|
|
158
158
|
|
|
159
159
|
---
|
|
160
160
|
|
|
161
|
+
#### `path`
|
|
162
|
+
|
|
163
|
+
**type:**
|
|
164
|
+
|
|
165
|
+
```ts
|
|
166
|
+
type Path = {
|
|
167
|
+
value: string
|
|
168
|
+
onResetValue: () => void
|
|
169
|
+
}
|
|
170
|
+
```
|
|
171
|
+
|
|
172
|
+
Optional property that tells the composite what page to initially render. Use this to deeplink into the embeddable application. Pass the intended path in via the `value` property (for example `path: '/intended/path'`). Use the `onResetValue` callback to clear the value that is passed to `path` (set it to an empty string/`undefined`). `onResetValue` is called immediately after the passed in path `value` is rendered within the `Composite` component. This is required in order to accommodate passing in the same path `value` sequentially and having the underlying component recognize there's been a change. It is possible the user navigates elsewhere in between sequential path `value` updates.
|
|
173
|
+
|
|
174
|
+
---
|
|
175
|
+
|
|
161
176
|
#### `onEvent`
|
|
162
177
|
|
|
163
178
|
**type:**
|
package/index.js
CHANGED
|
@@ -73,7 +73,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
73
73
|
<div class="wrapper">
|
|
74
74
|
<bwell-error-component />
|
|
75
75
|
</div>
|
|
76
|
-
`}}customElements.get(_)===void 0&&customElements.define(_,q);const ne=[{name:"loader",defaultElement:document.createElement(J)},{name:"error",defaultElement:document.createElement(_)}],oe=["error","loading"],ae={error:"error",loading:"loader"},se=({src:K,elementNameSuffix:I})=>(0,t.sH)(void 0,void 0,void 0,function*(){var C,B,W,V,re,fe,le,ve,he,ue,ee,Se,Te,be,Oe;window.bwell||(window.bwell=new G);const ye=`bwell-${I}`;if(customElements.get(ye)!==void 0)return;class Ie extends i{constructor(){super(),C.add(this),B.set(this,x()),W.set(this,void 0),V.set(this,document.createElement("feature-app-loader")),re.set(this,new S.EventEmitter),fe.set(this,void 0),le.set(this,void 0),ve.set(this,void 0),he.set(this,void 0),ue.set(this,void 0),ee.set(this,void 0),this.attachShadow({mode:"open"});const te=new Q(ne).attachToShadowRoot(this.shadowRoot);te.addEventListener("visibilitychange",({visibility:pe,container:xe,name:Le})=>{Le==="error"&&pe==="visible"&&window.bwell._registerEmbeddableContent(xe),(0,t.gn)(this,V,"f").style.display=pe==="hidden"?"unset":"hidden"}),(0,t.GG)(this,ee,{slots:te,attributes:new b().bindTo(this),loaderEventEmitter:(0,t.gn)(this,re,"f")},"f"),(0,t.GG)(this,fe,(0,t.gn)(this,C,"m",Se).bind(this),"f"),(0,t.GG)(this,le,(0,t.gn)(this,C,"m",Te).bind(this),"f"),(0,t.GG)(this,ve,(0,t.gn)(this,C,"m",Oe).call(this,"error"),"f"),(0,t.GG)(this,he,(0,t.gn)(this,C,"m",Oe).call(this,"loading"),"f")}connectedCallback(){return(0,t.sH)(this,void 0,void 0,function*(){(0,t.gn)(this,ve,"f").call(this,(0,t.gn)(this,ee,"f").attributes.get("error")),(0,t.gn)(this,he,"f").call(this,(0,t.gn)(this,ee,"f").attributes.get("loading")),(0,t.gn)(this,ee,"f").slots.addEventListener("visibilitychange",(0,t.gn)(this,le,"f")),(0,t.gn)(this,ee,"f").attributes.addChangeListener("error",(0,t.gn)(this,ve,"f")),(0,t.gn)(this,ee,"f").attributes.addChangeListener("loading",(0,t.gn)(this,he,"f")),(0,t.gn)(this,ee,"f").slots.showSlot("loader");try{yield window.bwell.validateLoad()}catch{(0,t.gn)(this,ee,"f").slots.showSlot("error")}(0,t.GG)(this,B,this.id||(0,t.gn)(this,B,"f"),"f"),(0,t.GG)(this,W,new a((0,t.gn)(this,B,"f")),"f"),(0,t.gn)(this,W,"f").registerDispatcher(te=>this.dispatchEvent(te)),window.bwell.isInitialized?(0,t.gn)(this,fe,"f").call(this):(window.bwell.once("initialized",(0,t.gn)(this,fe,"f")),window.bwell.once("error",()=>{(0,t.gn)(this,ee,"f").slots.showSlot("error")}))})}disconnectedCallback(){var te;(0,t.gn)(this,re,"f").emit("disconnect"),(0,t.gn)(this,ee,"f").slots.removeEventListener("visibilitychange",(0,t.gn)(this,le,"f")),(0,t.gn)(this,ee,"f").attributes.removeChangeListener("error",(0,t.gn)(this,ve,"f")),(0,t.gn)(this,ee,"f").attributes.removeChangeListener("loading",(0,t.gn)(this,he,"f")),(te=(0,t.gn)(this,W,"f"))===null||te===void 0||te.deregister(),(0,t.gn)(this,re,"f").removeAllListeners()}}B=new WeakMap,W=new WeakMap,V=new WeakMap,re=new WeakMap,fe=new WeakMap,le=new WeakMap,ve=new WeakMap,he=new WeakMap,ue=new WeakMap,ee=new WeakMap,C=new WeakSet,Se=function(){(0,t.gn)(this,V,"f").setAttribute("featureAppId",`bwell-embeddable:${ye}`),(0,t.gn)(this,V,"f").setAttribute("src",K),(0,t.gn)(this,V,"f").config={id:(0,t.gn)(this,B,"f"),name:I,elementName:ye,utils:(0,t.gn)(this,ee,"f")},this.shadowRoot.appendChild((0,t.gn)(this,V,"f"))},Te=function({visibility:te,name:pe}){(0,t.gn)(this,V,"f").style.display=te==="hidden"?"unset":"hidden"},be=function(te){(0,t.gn)(this,ue,"f")(),(0,t.GG)(this,ue,void 0,"f")},Oe=function(te){return pe=>{const xe=oe.findIndex(ge=>ge===te);if(!oe.slice(0,xe).some(ge=>(0,t.gn)(this,ee,"f").attributes.get(ge)!==null)){if(pe!==null)(0,t.gn)(this,ue,"f")&&(0,t.gn)(this,C,"m",be).call(this,te),(0,t.GG)(this,ue,(0,t.gn)(this,ee,"f").slots.showSlotLocked(ae[te]),"f");else if(pe===null&&(0,t.gn)(this,ue,"f")){(0,t.gn)(this,C,"m",be).call(this,te);const ge=oe.find(Ce=>(0,t.gn)(this,ee,"f").attributes.get(Ce)!==null);ge&&(0,t.GG)(this,ue,(0,t.gn)(this,ee,"f").slots.showSlotLocked(ae[ge]),"f")}}}},customElements.define(ye,Ie)}),ie="composite",ce={rE:"1.371.1"};var de=e(7321);se({src:`https://embeddables.prod.icanbwell.com/${ie}/${ce.rE}/scripts/embeddable.federated.js`,elementNameSuffix:ie})},992:(r,l,e)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.Broadcaster=void 0;var t=e(46),i=function(){function o(n,s){if(s===void 0&&(s=0),this.emitter=new t.EventEmitter,typeof n>"u"||n.length===0)throw new Error("Broadcaster must have a name");this._name=n,this.emitter.setMaxListeners(s)}return Object.defineProperty(o.prototype,"name",{get:function(){return this._name},enumerable:!1,configurable:!0}),o.prototype.emit=function(n){this.emitter.emit(this._name,n)},o.prototype.addListener=function(n){return this._addListener("addListener",n)},o.prototype.on=function(n){return this.addListener(n)},o.prototype.prependListener=function(n){return this._addListener("prependListener",n)},o.prototype.once=function(n){return this._addListener("once",n)},o.prototype.prependOnceListener=function(n){return this._addListener("prependOnceListener",n)},o.prototype.removeListener=function(n){this._proxyListener("removeListener",n)},o.prototype.off=function(n){this.removeListener(n)},o.prototype.removeAllListeners=function(){this.emitter.removeAllListeners(this._name)},o.prototype.getMaxListeners=function(){return this.emitter.getMaxListeners()},o.prototype.setMaxListeners=function(n){this.emitter.setMaxListeners(n)},o.prototype.getEventEmitter=function(){return this.emitter},o.prototype.listeners=function(){return this.emitter.listeners(this._name)},o.prototype.rawListeners=function(){return this.emitter.rawListeners(this._name)},o.prototype.listenerCount=function(){return this.emitter.listenerCount(this._name)},o.prototype._proxyListener=function(n,s){this.emitter[n](this._name,s)},o.prototype._createUnsubscribe=function(n){var s=this;return function(){s.emitter.removeListener(s._name,n)}},o.prototype._addListener=function(n,s){return this._proxyListener(n,s),this._createUnsubscribe(s)},o.prototype.destroy=function(){this.emitter.removeAllListeners()},o}();l.Broadcaster=i},9987:function(r,l,e){"use strict";var t=this&&this.__extends||function(){var s=function(c,a){return s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,d){u.__proto__=d}||function(u,d){for(var p in d)Object.prototype.hasOwnProperty.call(d,p)&&(u[p]=d[p])},s(c,a)};return function(c,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");s(c,a);function u(){this.constructor=c}c.prototype=a===null?Object.create(a):(u.prototype=a.prototype,new u)}}();Object.defineProperty(l,"__esModule",{value:!0}),l.Channel=void 0;var i=e(992),o=e(1987),n=function(s){t(c,s);function c(a,u){u===void 0&&(u=0);var d=s.call(this,a,u)||this;return d.topics={},d._onTopicDestroyed=d._onTopicDestroyed.bind(d),d._onTopicEmit=d._onTopicEmit.bind(d),d}return c.prototype.emit=function(a){var u={channel:this.name,topic:"*",payload:a};s.prototype.emit.call(this,u)},c.prototype.topic=function(a){var u=this.topics[a];return typeof u>"u"&&(u=this.topics[a]=new o.Topic(a,this.name,this.getMaxListeners()),u.getEventEmitter().on("topic_destroyed",this._onTopicDestroyed),u.on(this._onTopicEmit)),u},c.prototype.hasTopic=function(a){return Boolean(this.topics[a])},c.prototype.removeTopic=function(a){var u=this.topics[a];return typeof u<"u"?(delete this.topics[a],u.destroy(),!0):!1},c.prototype.getAllTopics=function(){return Object.values(this.topics)},c.prototype._onTopicEmit=function(a){s.prototype.emit.call(this,a)},c.prototype._onTopicDestroyed=function(a){delete this.topics[a]},c.prototype.destroy=function(){for(var a in this.topics)this.removeTopic(a);this.emitter.emit("channel_destroyed",this.name),s.prototype.destroy.call(this)},c}(i.Broadcaster);l.Channel=n},5447:(r,l,e)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.EventBus=void 0;var t=e(9987),i=function(){function o(n){this.channels={},n=typeof n>"u"?{}:n,this._maxListeners=n.maxListeners===void 0?0:n.maxListeners,this.onChannelDestroyed=this.onChannelDestroyed.bind(this),this.createMainChannel(),this.onChannelEmit=this.onChannelEmit.bind(this)}return o.prototype.createMainChannel=function(){var n=this;this.defaultChannel=new t.Channel("*",this._maxListeners),this.channels["*"]=this.defaultChannel,this.defaultChannel.getEventEmitter().on("channel_destroyed",function(){n.createMainChannel()})},o.prototype.mainChannel=function(){return this.defaultChannel},o.prototype.allChannels=function(){return this.mainChannel()},o.prototype.channel=function(n){var s=this.channels[n];return typeof s>"u"&&(s=this.channels[n]=new t.Channel(n,this._maxListeners),s.on(this.onChannelEmit),s.getEventEmitter().on("channel_destroyed",this.onChannelDestroyed)),s},o.prototype.hasChannel=function(n){return Boolean(this.channels[n])},o.prototype.removeChannel=function(n){if(n==="*")throw new Error("Can't remove default channel");var s=this.channels[n];return typeof s<"u"?(s.destroy(),!0):!1},o.prototype.onChannelEmit=function(n){var s=n.topic;if(this.defaultChannel.hasTopic(s)){var c={topic:n.topic,channel:n.channel,payload:n.payload};this.defaultChannel.topic(s).getEventEmitter().emit(s,c)}this.defaultChannel.getEventEmitter().emit(this.defaultChannel.name,n)},o.prototype.onChannelDestroyed=function(n){delete this.channels[n]},o.prototype.getAllChannels=function(){return Object.values(this.channels)},o.prototype.destroy=function(){for(var n in this.channels)this.channels[n].destroy()},o}();l.EventBus=i},4032:function(r,l,e){"use strict";var t=this&&this.__createBinding||(Object.create?function(o,n,s,c){c===void 0&&(c=s),Object.defineProperty(o,c,{enumerable:!0,get:function(){return n[s]}})}:function(o,n,s,c){c===void 0&&(c=s),o[c]=n[s]}),i=this&&this.__exportStar||function(o,n){for(var s in o)s!=="default"&&!Object.prototype.hasOwnProperty.call(n,s)&&t(n,o,s)};Object.defineProperty(l,"__esModule",{value:!0}),i(e(992),l),i(e(5447),l),i(e(9987),l),i(e(1987),l)},1987:function(r,l,e){"use strict";var t=this&&this.__extends||function(){var n=function(s,c){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,u){a.__proto__=u}||function(a,u){for(var d in u)Object.prototype.hasOwnProperty.call(u,d)&&(a[d]=u[d])},n(s,c)};return function(s,c){if(typeof c!="function"&&c!==null)throw new TypeError("Class extends value "+String(c)+" is not a constructor or null");n(s,c);function a(){this.constructor=s}s.prototype=c===null?Object.create(c):(a.prototype=c.prototype,new a)}}();Object.defineProperty(l,"__esModule",{value:!0}),l.Topic=void 0;var i=e(992),o=function(n){t(s,n);function s(c,a,u){u===void 0&&(u=0);var d=n.call(this,c,u)||this;return d.channel=a,d}return s.prototype.emit=function(c){var a={channel:this.channel,topic:this.name,payload:c};n.prototype.emit.call(this,a)},s.prototype.destroy=function(){this.emitter.emit("topic_destroyed",this.name),n.prototype.destroy.call(this)},s}(i.Broadcaster);l.Topic=o},46:r=>{"use strict";var l=typeof Reflect=="object"?Reflect:null,e=l&&typeof l.apply=="function"?l.apply:function(g,b,S){return Function.prototype.apply.call(g,b,S)},t;l&&typeof l.ownKeys=="function"?t=l.ownKeys:Object.getOwnPropertySymbols?t=function(g){return Object.getOwnPropertyNames(g).concat(Object.getOwnPropertySymbols(g))}:t=function(g){return Object.getOwnPropertyNames(g)};function i(f){console&&console.warn&&console.warn(f)}var o=Number.isNaN||function(g){return g!==g};function n(){n.init.call(this)}r.exports=n,r.exports.once=R,n.EventEmitter=n,n.prototype._events=void 0,n.prototype._eventsCount=0,n.prototype._maxListeners=void 0;var s=10;function c(f){if(typeof f!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof f)}Object.defineProperty(n,"defaultMaxListeners",{enumerable:!0,get:function(){return s},set:function(f){if(typeof f!="number"||f<0||o(f))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+f+".");s=f}}),n.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},n.prototype.setMaxListeners=function(g){if(typeof g!="number"||g<0||o(g))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+g+".");return this._maxListeners=g,this};function a(f){return f._maxListeners===void 0?n.defaultMaxListeners:f._maxListeners}n.prototype.getMaxListeners=function(){return a(this)},n.prototype.emit=function(g){for(var b=[],S=1;S<arguments.length;S++)b.push(arguments[S]);var N=g==="error",j=this._events;if(j!==void 0)N=N&&j.error===void 0;else if(!N)return!1;if(N){var F;if(b.length>0&&(F=b[0]),F instanceof Error)throw F;var H=new Error("Unhandled error."+(F?" ("+F.message+")":""));throw H.context=F,H}var Y=j[g];if(Y===void 0)return!1;if(typeof Y=="function")e(Y,this,b);else for(var X=Y.length,Z=T(Y,X),S=0;S<X;++S)e(Z[S],this,b);return!0};function u(f,g,b,S){var N,j,F;if(c(b),j=f._events,j===void 0?(j=f._events=Object.create(null),f._eventsCount=0):(j.newListener!==void 0&&(f.emit("newListener",g,b.listener?b.listener:b),j=f._events),F=j[g]),F===void 0)F=j[g]=b,++f._eventsCount;else if(typeof F=="function"?F=j[g]=S?[b,F]:[F,b]:S?F.unshift(b):F.push(b),N=a(f),N>0&&F.length>N&&!F.warned){F.warned=!0;var H=new Error("Possible EventEmitter memory leak detected. "+F.length+" "+String(g)+" listeners added. Use emitter.setMaxListeners() to increase limit");H.name="MaxListenersExceededWarning",H.emitter=f,H.type=g,H.count=F.length,i(H)}return f}n.prototype.addListener=function(g,b){return u(this,g,b,!1)},n.prototype.on=n.prototype.addListener,n.prototype.prependListener=function(g,b){return u(this,g,b,!0)};function d(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function p(f,g,b){var S={fired:!1,wrapFn:void 0,target:f,type:g,listener:b},N=d.bind(S);return N.listener=b,S.wrapFn=N,N}n.prototype.once=function(g,b){return c(b),this.on(g,p(this,g,b)),this},n.prototype.prependOnceListener=function(g,b){return c(b),this.prependListener(g,p(this,g,b)),this},n.prototype.removeListener=function(g,b){var S,N,j,F,H;if(c(b),N=this._events,N===void 0)return this;if(S=N[g],S===void 0)return this;if(S===b||S.listener===b)--this._eventsCount===0?this._events=Object.create(null):(delete N[g],N.removeListener&&this.emit("removeListener",g,S.listener||b));else if(typeof S!="function"){for(j=-1,F=S.length-1;F>=0;F--)if(S[F]===b||S[F].listener===b){H=S[F].listener,j=F;break}if(j<0)return this;j===0?S.shift():L(S,j),S.length===1&&(N[g]=S[0]),N.removeListener!==void 0&&this.emit("removeListener",g,H||b)}return this},n.prototype.off=n.prototype.removeListener,n.prototype.removeAllListeners=function(g){var b,S,N;if(S=this._events,S===void 0)return this;if(S.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):S[g]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete S[g]),this;if(arguments.length===0){var j=Object.keys(S),F;for(N=0;N<j.length;++N)F=j[N],F!=="removeListener"&&this.removeAllListeners(F);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(b=S[g],typeof b=="function")this.removeListener(g,b);else if(b!==void 0)for(N=b.length-1;N>=0;N--)this.removeListener(g,b[N]);return this};function x(f,g,b){var S=f._events;if(S===void 0)return[];var N=S[g];return N===void 0?[]:typeof N=="function"?b?[N.listener||N]:[N]:b?M(N):T(N,N.length)}n.prototype.listeners=function(g){return x(this,g,!0)},n.prototype.rawListeners=function(g){return x(this,g,!1)},n.listenerCount=function(f,g){return typeof f.listenerCount=="function"?f.listenerCount(g):O.call(f,g)},n.prototype.listenerCount=O;function O(f){var g=this._events;if(g!==void 0){var b=g[f];if(typeof b=="function")return 1;if(b!==void 0)return b.length}return 0}n.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]};function T(f,g){for(var b=new Array(g),S=0;S<g;++S)b[S]=f[S];return b}function L(f,g){for(;g+1<f.length;g++)f[g]=f[g+1];f.pop()}function M(f){for(var g=new Array(f.length),b=0;b<g.length;++b)g[b]=f[b].listener||f[b];return g}function R(f,g){return new Promise(function(b,S){function N(F){f.removeListener(g,j),S(F)}function j(){typeof f.removeListener=="function"&&f.removeListener("error",N),b([].slice.call(arguments))}U(f,g,j,{once:!0}),g!=="error"&&D(f,N,{once:!0})})}function D(f,g,b){typeof f.on=="function"&&U(f,"error",g,b)}function U(f,g,b,S){if(typeof f.on=="function")S.once?f.once(g,b):f.on(g,b);else if(typeof f.addEventListener=="function")f.addEventListener(g,function N(j){S.once&&f.removeEventListener(g,N),b(j)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof f)}},7321:(r,l,e)=>{"use strict";var t=e(3030);r.exports=t},9283:(r,l,e)=>{"use strict";e(8376),e(4293),e(8715);var t=e(2564);r.exports=t("String","replaceAll")},4977:(r,l,e)=>{"use strict";var t=e(4188),i=e(3174),o=TypeError;r.exports=function(n){if(t(n))return n;throw new o(i(n)+" is not a function")}},154:(r,l,e)=>{"use strict";var t=e(4212).charAt;r.exports=function(i,o,n){return o+(n?t(i,o).length:1)}},3770:(r,l,e)=>{"use strict";var t=e(831),i=String,o=TypeError;r.exports=function(n){if(t(n))return n;throw new o(i(n)+" is not an object")}},1458:(r,l,e)=>{"use strict";var t=e(380),i=e(675),o=e(9389),n=function(s){return function(c,a,u){var d=t(c),p=o(d);if(p===0)return!s&&-1;var x=i(u,p),O;if(s&&a!==a){for(;p>x;)if(O=d[x++],O!==O)return!0}else for(;p>x;x++)if((s||x in d)&&d[x]===a)return s||x||0;return!s&&-1}};r.exports={includes:n(!0),indexOf:n(!1)}},8689:(r,l,e)=>{"use strict";var t=e(6881),i=t({}.toString),o=t("".slice);r.exports=function(n){return o(i(n),8,-1)}},5438:(r,l,e)=>{"use strict";var t=e(9345),i=e(4188),o=e(8689),n=e(4282),s=n("toStringTag"),c=Object,a=o(function(){return arguments}())==="Arguments",u=function(d,p){try{return d[p]}catch{}};r.exports=t?o:function(d){var p,x,O;return d===void 0?"Undefined":d===null?"Null":typeof(x=u(p=c(d),s))=="string"?x:a?o(p):(O=o(p))==="Object"&&i(p.callee)?"Arguments":O}},8657:(r,l,e)=>{"use strict";var t=e(4418),i=e(3168),o=e(9304),n=e(4466);r.exports=function(s,c,a){for(var u=i(c),d=n.f,p=o.f,x=0;x<u.length;x++){var O=u[x];!t(s,O)&&!(a&&t(a,O))&&d(s,O,p(c,O))}}},8088:(r,l,e)=>{"use strict";var t=e(6893),i=e(4466),o=e(9123);r.exports=t?function(n,s,c){return i.f(n,s,o(1,c))}:function(n,s,c){return n[s]=c,n}},9123:r=>{"use strict";r.exports=function(l,e){return{enumerable:!(l&1),configurable:!(l&2),writable:!(l&4),value:e}}},7509:(r,l,e)=>{"use strict";var t=e(4188),i=e(4466),o=e(4530),n=e(4798);r.exports=function(s,c,a,u){u||(u={});var d=u.enumerable,p=u.name!==void 0?u.name:c;if(t(a)&&o(a,p,u),u.global)d?s[c]=a:n(c,a);else{try{u.unsafe?s[c]&&(d=!0):delete s[c]}catch{}d?s[c]=a:i.f(s,c,{value:a,enumerable:!1,configurable:!u.nonConfigurable,writable:!u.nonWritable})}return s}},4798:(r,l,e)=>{"use strict";var t=e(1488),i=Object.defineProperty;r.exports=function(o,n){try{i(t,o,{value:n,configurable:!0,writable:!0})}catch{t[o]=n}return n}},6893:(r,l,e)=>{"use strict";var t=e(5234);r.exports=!t(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})},5926:(r,l,e)=>{"use strict";var t=e(1488),i=e(831),o=t.document,n=i(o)&&i(o.createElement);r.exports=function(s){return n?o.createElement(s):{}}},4109:r=>{"use strict";r.exports=typeof navigator<"u"&&String(navigator.userAgent)||""},3749:(r,l,e)=>{"use strict";var t=e(1488),i=e(4109),o=t.process,n=t.Deno,s=o&&o.versions||n&&n.version,c=s&&s.v8,a,u;c&&(a=c.split("."),u=a[0]>0&&a[0]<4?1:+(a[0]+a[1])),!u&&i&&(a=i.match(/Edge\/(\d+)/),(!a||a[1]>=74)&&(a=i.match(/Chrome\/(\d+)/),a&&(u=+a[1]))),r.exports=u},2564:(r,l,e)=>{"use strict";var t=e(1488),i=e(6881);r.exports=function(o,n){return i(t[o].prototype[n])}},1274:r=>{"use strict";r.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},5613:(r,l,e)=>{"use strict";var t=e(1488),i=e(9304).f,o=e(8088),n=e(7509),s=e(4798),c=e(8657),a=e(8489);r.exports=function(u,d){var p=u.target,x=u.global,O=u.stat,T,L,M,R,D,U;if(x?L=t:O?L=t[p]||s(p,{}):L=t[p]&&t[p].prototype,L)for(M in d){if(D=d[M],u.dontCallGetSet?(U=i(L,M),R=U&&U.value):R=L[M],T=a(x?M:p+(O?".":"#")+M,u.forced),!T&&R!==void 0){if(typeof D==typeof R)continue;c(D,R)}(u.sham||R&&R.sham)&&o(D,"sham",!0),n(L,M,D,u)}}},5234:r=>{"use strict";r.exports=function(l){try{return!!l()}catch{return!0}}},467:(r,l,e)=>{"use strict";e(8376);var t=e(9944),i=e(7509),o=e(9342),n=e(5234),s=e(4282),c=e(8088),a=s("species"),u=RegExp.prototype;r.exports=function(d,p,x,O){var T=s(d),L=!n(function(){var U={};return U[T]=function(){return 7},""[d](U)!==7}),M=L&&!n(function(){var U=!1,f=/a/;return d==="split"&&(f={},f.constructor={},f.constructor[a]=function(){return f},f.flags="",f[T]=/./[T]),f.exec=function(){return U=!0,null},f[T](""),!U});if(!L||!M||x){var R=/./[T],D=p(T,""[d],function(U,f,g,b,S){var N=f.exec;return N===o||N===u.exec?L&&!S?{done:!0,value:t(R,f,g,b)}:{done:!0,value:t(U,g,f,b)}:{done:!1}});i(String.prototype,d,D[0]),i(u,T,D[1])}O&&c(u[T],"sham",!0)}},646:(r,l,e)=>{"use strict";var t=e(9055),i=Function.prototype,o=i.apply,n=i.call;r.exports=typeof Reflect=="object"&&Reflect.apply||(t?n.bind(o):function(){return n.apply(o,arguments)})},9055:(r,l,e)=>{"use strict";var t=e(5234);r.exports=!t(function(){var i=function(){}.bind();return typeof i!="function"||i.hasOwnProperty("prototype")})},9944:(r,l,e)=>{"use strict";var t=e(9055),i=Function.prototype.call;r.exports=t?i.bind(i):function(){return i.apply(i,arguments)}},2735:(r,l,e)=>{"use strict";var t=e(6893),i=e(4418),o=Function.prototype,n=t&&Object.getOwnPropertyDescriptor,s=i(o,"name"),c=s&&function(){}.name==="something",a=s&&(!t||t&&n(o,"name").configurable);r.exports={EXISTS:s,PROPER:c,CONFIGURABLE:a}},6881:(r,l,e)=>{"use strict";var t=e(9055),i=Function.prototype,o=i.call,n=t&&i.bind.bind(o,o);r.exports=t?n:function(s){return function(){return o.apply(s,arguments)}}},5604:(r,l,e)=>{"use strict";var t=e(1488),i=e(4188),o=function(n){return i(n)?n:void 0};r.exports=function(n,s){return arguments.length<2?o(t[n]):t[n]&&t[n][s]}},2913:(r,l,e)=>{"use strict";var t=e(4977),i=e(4318);r.exports=function(o,n){var s=o[n];return i(s)?void 0:t(s)}},1113:(r,l,e)=>{"use strict";var t=e(6881),i=e(3628),o=Math.floor,n=t("".charAt),s=t("".replace),c=t("".slice),a=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,u=/\$([$&'`]|\d{1,2})/g;r.exports=function(d,p,x,O,T,L){var M=x+d.length,R=O.length,D=u;return T!==void 0&&(T=i(T),D=a),s(L,D,function(U,f){var g;switch(n(f,0)){case"$":return"$";case"&":return d;case"`":return c(p,0,x);case"'":return c(p,M);case"<":g=T[c(f,1,-1)];break;default:var b=+f;if(b===0)return U;if(b>R){var S=o(b/10);return S===0?U:S<=R?O[S-1]===void 0?n(f,1):O[S-1]+n(f,1):U}g=O[b-1]}return g===void 0?"":g})}},1488:function(r,l,e){"use strict";var t=function(i){return i&&i.Math===Math&&i};r.exports=t(typeof globalThis=="object"&&globalThis)||t(typeof window=="object"&&window)||t(typeof self=="object"&&self)||t(typeof e.g=="object"&&e.g)||t(typeof this=="object"&&this)||function(){return this}()||Function("return this")()},4418:(r,l,e)=>{"use strict";var t=e(6881),i=e(3628),o=t({}.hasOwnProperty);r.exports=Object.hasOwn||function(s,c){return o(i(s),c)}},7588:r=>{"use strict";r.exports={}},7458:(r,l,e)=>{"use strict";var t=e(5604);r.exports=t("document","documentElement")},9622:(r,l,e)=>{"use strict";var t=e(6893),i=e(5234),o=e(5926);r.exports=!t&&!i(function(){return Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a!==7})},7568:(r,l,e)=>{"use strict";var t=e(6881),i=e(5234),o=e(8689),n=Object,s=t("".split);r.exports=i(function(){return!n("z").propertyIsEnumerable(0)})?function(c){return o(c)==="String"?s(c,""):n(c)}:n},3029:(r,l,e)=>{"use strict";var t=e(6881),i=e(4188),o=e(2694),n=t(Function.toString);i(o.inspectSource)||(o.inspectSource=function(s){return n(s)}),r.exports=o.inspectSource},3086:(r,l,e)=>{"use strict";var t=e(5945),i=e(1488),o=e(831),n=e(8088),s=e(4418),c=e(2694),a=e(168),u=e(7588),d="Object already initialized",p=i.TypeError,x=i.WeakMap,O,T,L,M=function(f){return L(f)?T(f):O(f,{})},R=function(f){return function(g){var b;if(!o(g)||(b=T(g)).type!==f)throw new p("Incompatible receiver, "+f+" required");return b}};if(t||c.state){var D=c.state||(c.state=new x);D.get=D.get,D.has=D.has,D.set=D.set,O=function(f,g){if(D.has(f))throw new p(d);return g.facade=f,D.set(f,g),g},T=function(f){return D.get(f)||{}},L=function(f){return D.has(f)}}else{var U=a("state");u[U]=!0,O=function(f,g){if(s(f,U))throw new p(d);return g.facade=f,n(f,U,g),g},T=function(f){return s(f,U)?f[U]:{}},L=function(f){return s(f,U)}}r.exports={set:O,get:T,has:L,enforce:M,getterFor:R}},4188:r=>{"use strict";var l=typeof document=="object"&&document.all;r.exports=typeof l>"u"&&l!==void 0?function(e){return typeof e=="function"||e===l}:function(e){return typeof e=="function"}},8489:(r,l,e)=>{"use strict";var t=e(5234),i=e(4188),o=/#|\.prototype\./,n=function(d,p){var x=c[s(d)];return x===u?!0:x===a?!1:i(p)?t(p):!!p},s=n.normalize=function(d){return String(d).replace(o,".").toLowerCase()},c=n.data={},a=n.NATIVE="N",u=n.POLYFILL="P";r.exports=n},4318:r=>{"use strict";r.exports=function(l){return l==null}},831:(r,l,e)=>{"use strict";var t=e(4188);r.exports=function(i){return typeof i=="object"?i!==null:t(i)}},1942:r=>{"use strict";r.exports=!1},473:(r,l,e)=>{"use strict";var t=e(831),i=e(8689),o=e(4282),n=o("match");r.exports=function(s){var c;return t(s)&&((c=s[n])!==void 0?!!c:i(s)==="RegExp")}},6032:(r,l,e)=>{"use strict";var t=e(5604),i=e(4188),o=e(4578),n=e(9809),s=Object;r.exports=n?function(c){return typeof c=="symbol"}:function(c){var a=t("Symbol");return i(a)&&o(a.prototype,s(c))}},9389:(r,l,e)=>{"use strict";var t=e(7611);r.exports=function(i){return t(i.length)}},4530:(r,l,e)=>{"use strict";var t=e(6881),i=e(5234),o=e(4188),n=e(4418),s=e(6893),c=e(2735).CONFIGURABLE,a=e(3029),u=e(3086),d=u.enforce,p=u.get,x=String,O=Object.defineProperty,T=t("".slice),L=t("".replace),M=t([].join),R=s&&!i(function(){return O(function(){},"length",{value:8}).length!==8}),D=String(String).split("String"),U=r.exports=function(f,g,b){T(x(g),0,7)==="Symbol("&&(g="["+L(x(g),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),b&&b.getter&&(g="get "+g),b&&b.setter&&(g="set "+g),(!n(f,"name")||c&&f.name!==g)&&(s?O(f,"name",{value:g,configurable:!0}):f.name=g),R&&b&&n(b,"arity")&&f.length!==b.arity&&O(f,"length",{value:b.arity});try{b&&n(b,"constructor")&&b.constructor?s&&O(f,"prototype",{writable:!1}):f.prototype&&(f.prototype=void 0)}catch{}var S=d(f);return n(S,"source")||(S.source=M(D,typeof g=="string"?g:"")),f};Function.prototype.toString=U(function(){return o(this)&&p(this).source||a(this)},"toString")},142:r=>{"use strict";var l=Math.ceil,e=Math.floor;r.exports=Math.trunc||function(i){var o=+i;return(o>0?e:l)(o)}},7065:(r,l,e)=>{"use strict";var t=e(3770),i=e(30),o=e(1274),n=e(7588),s=e(7458),c=e(5926),a=e(168),u=">",d="<",p="prototype",x="script",O=a("IE_PROTO"),T=function(){},L=function(f){return d+x+u+f+d+"/"+x+u},M=function(f){f.write(L("")),f.close();var g=f.parentWindow.Object;return f=null,g},R=function(){var f=c("iframe"),g="java"+x+":",b;return f.style.display="none",s.appendChild(f),f.src=String(g),b=f.contentWindow.document,b.open(),b.write(L("document.F=Object")),b.close(),b.F},D,U=function(){try{D=new ActiveXObject("htmlfile")}catch{}U=typeof document<"u"?document.domain&&D?M(D):R():M(D);for(var f=o.length;f--;)delete U[p][o[f]];return U()};n[O]=!0,r.exports=Object.create||function(g,b){var S;return g!==null?(T[p]=t(g),S=new T,T[p]=null,S[O]=g):S=U(),b===void 0?S:i.f(S,b)}},30:(r,l,e)=>{"use strict";var t=e(6893),i=e(3315),o=e(4466),n=e(3770),s=e(380),c=e(7137);l.f=t&&!i?Object.defineProperties:function(u,d){n(u);for(var p=s(d),x=c(d),O=x.length,T=0,L;O>T;)o.f(u,L=x[T++],p[L]);return u}},4466:(r,l,e)=>{"use strict";var t=e(6893),i=e(9622),o=e(3315),n=e(3770),s=e(2344),c=TypeError,a=Object.defineProperty,u=Object.getOwnPropertyDescriptor,d="enumerable",p="configurable",x="writable";l.f=t?o?function(T,L,M){if(n(T),L=s(L),n(M),typeof T=="function"&&L==="prototype"&&"value"in M&&x in M&&!M[x]){var R=u(T,L);R&&R[x]&&(T[L]=M.value,M={configurable:p in M?M[p]:R[p],enumerable:d in M?M[d]:R[d],writable:!1})}return a(T,L,M)}:a:function(T,L,M){if(n(T),L=s(L),n(M),i)try{return a(T,L,M)}catch{}if("get"in M||"set"in M)throw new c("Accessors not supported");return"value"in M&&(T[L]=M.value),T}},9304:(r,l,e)=>{"use strict";var t=e(6893),i=e(9944),o=e(4416),n=e(9123),s=e(380),c=e(2344),a=e(4418),u=e(9622),d=Object.getOwnPropertyDescriptor;l.f=t?d:function(x,O){if(x=s(x),O=c(O),u)try{return d(x,O)}catch{}if(a(x,O))return n(!i(o.f,x,O),x[O])}},5629:(r,l,e)=>{"use strict";var t=e(1843),i=e(1274),o=i.concat("length","prototype");l.f=Object.getOwnPropertyNames||function(s){return t(s,o)}},156:(r,l)=>{"use strict";l.f=Object.getOwnPropertySymbols},4578:(r,l,e)=>{"use strict";var t=e(6881);r.exports=t({}.isPrototypeOf)},1843:(r,l,e)=>{"use strict";var t=e(6881),i=e(4418),o=e(380),n=e(1458).indexOf,s=e(7588),c=t([].push);r.exports=function(a,u){var d=o(a),p=0,x=[],O;for(O in d)!i(s,O)&&i(d,O)&&c(x,O);for(;u.length>p;)i(d,O=u[p++])&&(~n(x,O)||c(x,O));return x}},7137:(r,l,e)=>{"use strict";var t=e(1843),i=e(1274);r.exports=Object.keys||function(n){return t(n,i)}},4416:(r,l)=>{"use strict";var e={}.propertyIsEnumerable,t=Object.getOwnPropertyDescriptor,i=t&&!e.call({1:2},1);l.f=i?function(n){var s=t(this,n);return!!s&&s.enumerable}:e},2287:(r,l,e)=>{"use strict";var t=e(9944),i=e(4188),o=e(831),n=TypeError;r.exports=function(s,c){var a,u;if(c==="string"&&i(a=s.toString)&&!o(u=t(a,s))||i(a=s.valueOf)&&!o(u=t(a,s))||c!=="string"&&i(a=s.toString)&&!o(u=t(a,s)))return u;throw new n("Can't convert object to primitive value")}},3168:(r,l,e)=>{"use strict";var t=e(5604),i=e(6881),o=e(5629),n=e(156),s=e(3770),c=i([].concat);r.exports=t("Reflect","ownKeys")||function(u){var d=o.f(s(u)),p=n.f;return p?c(d,p(u)):d}},4721:(r,l,e)=>{"use strict";var t=e(9944),i=e(3770),o=e(4188),n=e(8689),s=e(9342),c=TypeError;r.exports=function(a,u){var d=a.exec;if(o(d)){var p=t(d,a,u);return p!==null&&i(p),p}if(n(a)==="RegExp")return t(s,a,u);throw new c("RegExp#exec called on incompatible receiver")}},9342:(r,l,e)=>{"use strict";var t=e(9944),i=e(6881),o=e(2618),n=e(4932),s=e(5976),c=e(746),a=e(7065),u=e(3086).get,d=e(6676),p=e(4609),x=c("native-string-replace",String.prototype.replace),O=RegExp.prototype.exec,T=O,L=i("".charAt),M=i("".indexOf),R=i("".replace),D=i("".slice),U=function(){var S=/a/,N=/b*/g;return t(O,S,"a"),t(O,N,"a"),S.lastIndex!==0||N.lastIndex!==0}(),f=s.BROKEN_CARET,g=/()??/.exec("")[1]!==void 0,b=U||g||f||d||p;b&&(T=function(N){var j=this,F=u(j),H=o(N),Y=F.raw,X,Z,k,$,Q,y,E;if(Y)return Y.lastIndex=j.lastIndex,X=t(T,Y,H),j.lastIndex=Y.lastIndex,X;var h=F.groups,w=f&&j.sticky,v=t(n,j),m=j.source,P=0,G=H;if(w&&(v=R(v,"y",""),M(v,"g")===-1&&(v+="g"),G=D(H,j.lastIndex),j.lastIndex>0&&(!j.multiline||j.multiline&&L(H,j.lastIndex-1)!==`
|
|
76
|
+
`}}customElements.get(_)===void 0&&customElements.define(_,q);const ne=[{name:"loader",defaultElement:document.createElement(J)},{name:"error",defaultElement:document.createElement(_)}],oe=["error","loading"],ae={error:"error",loading:"loader"},se=({src:K,elementNameSuffix:I})=>(0,t.sH)(void 0,void 0,void 0,function*(){var C,B,W,V,re,fe,le,ve,he,ue,ee,Se,Te,be,Oe;window.bwell||(window.bwell=new G);const ye=`bwell-${I}`;if(customElements.get(ye)!==void 0)return;class Ie extends i{constructor(){super(),C.add(this),B.set(this,x()),W.set(this,void 0),V.set(this,document.createElement("feature-app-loader")),re.set(this,new S.EventEmitter),fe.set(this,void 0),le.set(this,void 0),ve.set(this,void 0),he.set(this,void 0),ue.set(this,void 0),ee.set(this,void 0),this.attachShadow({mode:"open"});const te=new Q(ne).attachToShadowRoot(this.shadowRoot);te.addEventListener("visibilitychange",({visibility:pe,container:xe,name:Le})=>{Le==="error"&&pe==="visible"&&window.bwell._registerEmbeddableContent(xe),(0,t.gn)(this,V,"f").style.display=pe==="hidden"?"unset":"hidden"}),(0,t.GG)(this,ee,{slots:te,attributes:new b().bindTo(this),loaderEventEmitter:(0,t.gn)(this,re,"f")},"f"),(0,t.GG)(this,fe,(0,t.gn)(this,C,"m",Se).bind(this),"f"),(0,t.GG)(this,le,(0,t.gn)(this,C,"m",Te).bind(this),"f"),(0,t.GG)(this,ve,(0,t.gn)(this,C,"m",Oe).call(this,"error"),"f"),(0,t.GG)(this,he,(0,t.gn)(this,C,"m",Oe).call(this,"loading"),"f")}connectedCallback(){return(0,t.sH)(this,void 0,void 0,function*(){(0,t.gn)(this,ve,"f").call(this,(0,t.gn)(this,ee,"f").attributes.get("error")),(0,t.gn)(this,he,"f").call(this,(0,t.gn)(this,ee,"f").attributes.get("loading")),(0,t.gn)(this,ee,"f").slots.addEventListener("visibilitychange",(0,t.gn)(this,le,"f")),(0,t.gn)(this,ee,"f").attributes.addChangeListener("error",(0,t.gn)(this,ve,"f")),(0,t.gn)(this,ee,"f").attributes.addChangeListener("loading",(0,t.gn)(this,he,"f")),(0,t.gn)(this,ee,"f").slots.showSlot("loader");try{yield window.bwell.validateLoad()}catch{(0,t.gn)(this,ee,"f").slots.showSlot("error")}(0,t.GG)(this,B,this.id||(0,t.gn)(this,B,"f"),"f"),(0,t.GG)(this,W,new a((0,t.gn)(this,B,"f")),"f"),(0,t.gn)(this,W,"f").registerDispatcher(te=>this.dispatchEvent(te)),window.bwell.isInitialized?(0,t.gn)(this,fe,"f").call(this):(window.bwell.once("initialized",(0,t.gn)(this,fe,"f")),window.bwell.once("error",()=>{(0,t.gn)(this,ee,"f").slots.showSlot("error")}))})}disconnectedCallback(){var te;(0,t.gn)(this,re,"f").emit("disconnect"),(0,t.gn)(this,ee,"f").slots.removeEventListener("visibilitychange",(0,t.gn)(this,le,"f")),(0,t.gn)(this,ee,"f").attributes.removeChangeListener("error",(0,t.gn)(this,ve,"f")),(0,t.gn)(this,ee,"f").attributes.removeChangeListener("loading",(0,t.gn)(this,he,"f")),(te=(0,t.gn)(this,W,"f"))===null||te===void 0||te.deregister(),(0,t.gn)(this,re,"f").removeAllListeners()}}B=new WeakMap,W=new WeakMap,V=new WeakMap,re=new WeakMap,fe=new WeakMap,le=new WeakMap,ve=new WeakMap,he=new WeakMap,ue=new WeakMap,ee=new WeakMap,C=new WeakSet,Se=function(){(0,t.gn)(this,V,"f").setAttribute("featureAppId",`bwell-embeddable:${ye}`),(0,t.gn)(this,V,"f").setAttribute("src",K),(0,t.gn)(this,V,"f").config={id:(0,t.gn)(this,B,"f"),name:I,elementName:ye,utils:(0,t.gn)(this,ee,"f")},this.shadowRoot.appendChild((0,t.gn)(this,V,"f"))},Te=function({visibility:te,name:pe}){(0,t.gn)(this,V,"f").style.display=te==="hidden"?"unset":"hidden"},be=function(te){(0,t.gn)(this,ue,"f")(),(0,t.GG)(this,ue,void 0,"f")},Oe=function(te){return pe=>{const xe=oe.findIndex(ge=>ge===te);if(!oe.slice(0,xe).some(ge=>(0,t.gn)(this,ee,"f").attributes.get(ge)!==null)){if(pe!==null)(0,t.gn)(this,ue,"f")&&(0,t.gn)(this,C,"m",be).call(this,te),(0,t.GG)(this,ue,(0,t.gn)(this,ee,"f").slots.showSlotLocked(ae[te]),"f");else if(pe===null&&(0,t.gn)(this,ue,"f")){(0,t.gn)(this,C,"m",be).call(this,te);const ge=oe.find(Ce=>(0,t.gn)(this,ee,"f").attributes.get(Ce)!==null);ge&&(0,t.GG)(this,ue,(0,t.gn)(this,ee,"f").slots.showSlotLocked(ae[ge]),"f")}}}},customElements.define(ye,Ie)}),ie="composite",ce={rE:"1.371.3"};var de=e(7321);se({src:`https://embeddables.prod.icanbwell.com/${ie}/${ce.rE}/scripts/embeddable.federated.js`,elementNameSuffix:ie})},992:(r,l,e)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.Broadcaster=void 0;var t=e(46),i=function(){function o(n,s){if(s===void 0&&(s=0),this.emitter=new t.EventEmitter,typeof n>"u"||n.length===0)throw new Error("Broadcaster must have a name");this._name=n,this.emitter.setMaxListeners(s)}return Object.defineProperty(o.prototype,"name",{get:function(){return this._name},enumerable:!1,configurable:!0}),o.prototype.emit=function(n){this.emitter.emit(this._name,n)},o.prototype.addListener=function(n){return this._addListener("addListener",n)},o.prototype.on=function(n){return this.addListener(n)},o.prototype.prependListener=function(n){return this._addListener("prependListener",n)},o.prototype.once=function(n){return this._addListener("once",n)},o.prototype.prependOnceListener=function(n){return this._addListener("prependOnceListener",n)},o.prototype.removeListener=function(n){this._proxyListener("removeListener",n)},o.prototype.off=function(n){this.removeListener(n)},o.prototype.removeAllListeners=function(){this.emitter.removeAllListeners(this._name)},o.prototype.getMaxListeners=function(){return this.emitter.getMaxListeners()},o.prototype.setMaxListeners=function(n){this.emitter.setMaxListeners(n)},o.prototype.getEventEmitter=function(){return this.emitter},o.prototype.listeners=function(){return this.emitter.listeners(this._name)},o.prototype.rawListeners=function(){return this.emitter.rawListeners(this._name)},o.prototype.listenerCount=function(){return this.emitter.listenerCount(this._name)},o.prototype._proxyListener=function(n,s){this.emitter[n](this._name,s)},o.prototype._createUnsubscribe=function(n){var s=this;return function(){s.emitter.removeListener(s._name,n)}},o.prototype._addListener=function(n,s){return this._proxyListener(n,s),this._createUnsubscribe(s)},o.prototype.destroy=function(){this.emitter.removeAllListeners()},o}();l.Broadcaster=i},9987:function(r,l,e){"use strict";var t=this&&this.__extends||function(){var s=function(c,a){return s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,d){u.__proto__=d}||function(u,d){for(var p in d)Object.prototype.hasOwnProperty.call(d,p)&&(u[p]=d[p])},s(c,a)};return function(c,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");s(c,a);function u(){this.constructor=c}c.prototype=a===null?Object.create(a):(u.prototype=a.prototype,new u)}}();Object.defineProperty(l,"__esModule",{value:!0}),l.Channel=void 0;var i=e(992),o=e(1987),n=function(s){t(c,s);function c(a,u){u===void 0&&(u=0);var d=s.call(this,a,u)||this;return d.topics={},d._onTopicDestroyed=d._onTopicDestroyed.bind(d),d._onTopicEmit=d._onTopicEmit.bind(d),d}return c.prototype.emit=function(a){var u={channel:this.name,topic:"*",payload:a};s.prototype.emit.call(this,u)},c.prototype.topic=function(a){var u=this.topics[a];return typeof u>"u"&&(u=this.topics[a]=new o.Topic(a,this.name,this.getMaxListeners()),u.getEventEmitter().on("topic_destroyed",this._onTopicDestroyed),u.on(this._onTopicEmit)),u},c.prototype.hasTopic=function(a){return Boolean(this.topics[a])},c.prototype.removeTopic=function(a){var u=this.topics[a];return typeof u<"u"?(delete this.topics[a],u.destroy(),!0):!1},c.prototype.getAllTopics=function(){return Object.values(this.topics)},c.prototype._onTopicEmit=function(a){s.prototype.emit.call(this,a)},c.prototype._onTopicDestroyed=function(a){delete this.topics[a]},c.prototype.destroy=function(){for(var a in this.topics)this.removeTopic(a);this.emitter.emit("channel_destroyed",this.name),s.prototype.destroy.call(this)},c}(i.Broadcaster);l.Channel=n},5447:(r,l,e)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.EventBus=void 0;var t=e(9987),i=function(){function o(n){this.channels={},n=typeof n>"u"?{}:n,this._maxListeners=n.maxListeners===void 0?0:n.maxListeners,this.onChannelDestroyed=this.onChannelDestroyed.bind(this),this.createMainChannel(),this.onChannelEmit=this.onChannelEmit.bind(this)}return o.prototype.createMainChannel=function(){var n=this;this.defaultChannel=new t.Channel("*",this._maxListeners),this.channels["*"]=this.defaultChannel,this.defaultChannel.getEventEmitter().on("channel_destroyed",function(){n.createMainChannel()})},o.prototype.mainChannel=function(){return this.defaultChannel},o.prototype.allChannels=function(){return this.mainChannel()},o.prototype.channel=function(n){var s=this.channels[n];return typeof s>"u"&&(s=this.channels[n]=new t.Channel(n,this._maxListeners),s.on(this.onChannelEmit),s.getEventEmitter().on("channel_destroyed",this.onChannelDestroyed)),s},o.prototype.hasChannel=function(n){return Boolean(this.channels[n])},o.prototype.removeChannel=function(n){if(n==="*")throw new Error("Can't remove default channel");var s=this.channels[n];return typeof s<"u"?(s.destroy(),!0):!1},o.prototype.onChannelEmit=function(n){var s=n.topic;if(this.defaultChannel.hasTopic(s)){var c={topic:n.topic,channel:n.channel,payload:n.payload};this.defaultChannel.topic(s).getEventEmitter().emit(s,c)}this.defaultChannel.getEventEmitter().emit(this.defaultChannel.name,n)},o.prototype.onChannelDestroyed=function(n){delete this.channels[n]},o.prototype.getAllChannels=function(){return Object.values(this.channels)},o.prototype.destroy=function(){for(var n in this.channels)this.channels[n].destroy()},o}();l.EventBus=i},4032:function(r,l,e){"use strict";var t=this&&this.__createBinding||(Object.create?function(o,n,s,c){c===void 0&&(c=s),Object.defineProperty(o,c,{enumerable:!0,get:function(){return n[s]}})}:function(o,n,s,c){c===void 0&&(c=s),o[c]=n[s]}),i=this&&this.__exportStar||function(o,n){for(var s in o)s!=="default"&&!Object.prototype.hasOwnProperty.call(n,s)&&t(n,o,s)};Object.defineProperty(l,"__esModule",{value:!0}),i(e(992),l),i(e(5447),l),i(e(9987),l),i(e(1987),l)},1987:function(r,l,e){"use strict";var t=this&&this.__extends||function(){var n=function(s,c){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,u){a.__proto__=u}||function(a,u){for(var d in u)Object.prototype.hasOwnProperty.call(u,d)&&(a[d]=u[d])},n(s,c)};return function(s,c){if(typeof c!="function"&&c!==null)throw new TypeError("Class extends value "+String(c)+" is not a constructor or null");n(s,c);function a(){this.constructor=s}s.prototype=c===null?Object.create(c):(a.prototype=c.prototype,new a)}}();Object.defineProperty(l,"__esModule",{value:!0}),l.Topic=void 0;var i=e(992),o=function(n){t(s,n);function s(c,a,u){u===void 0&&(u=0);var d=n.call(this,c,u)||this;return d.channel=a,d}return s.prototype.emit=function(c){var a={channel:this.channel,topic:this.name,payload:c};n.prototype.emit.call(this,a)},s.prototype.destroy=function(){this.emitter.emit("topic_destroyed",this.name),n.prototype.destroy.call(this)},s}(i.Broadcaster);l.Topic=o},46:r=>{"use strict";var l=typeof Reflect=="object"?Reflect:null,e=l&&typeof l.apply=="function"?l.apply:function(g,b,S){return Function.prototype.apply.call(g,b,S)},t;l&&typeof l.ownKeys=="function"?t=l.ownKeys:Object.getOwnPropertySymbols?t=function(g){return Object.getOwnPropertyNames(g).concat(Object.getOwnPropertySymbols(g))}:t=function(g){return Object.getOwnPropertyNames(g)};function i(f){console&&console.warn&&console.warn(f)}var o=Number.isNaN||function(g){return g!==g};function n(){n.init.call(this)}r.exports=n,r.exports.once=R,n.EventEmitter=n,n.prototype._events=void 0,n.prototype._eventsCount=0,n.prototype._maxListeners=void 0;var s=10;function c(f){if(typeof f!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof f)}Object.defineProperty(n,"defaultMaxListeners",{enumerable:!0,get:function(){return s},set:function(f){if(typeof f!="number"||f<0||o(f))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+f+".");s=f}}),n.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},n.prototype.setMaxListeners=function(g){if(typeof g!="number"||g<0||o(g))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+g+".");return this._maxListeners=g,this};function a(f){return f._maxListeners===void 0?n.defaultMaxListeners:f._maxListeners}n.prototype.getMaxListeners=function(){return a(this)},n.prototype.emit=function(g){for(var b=[],S=1;S<arguments.length;S++)b.push(arguments[S]);var N=g==="error",j=this._events;if(j!==void 0)N=N&&j.error===void 0;else if(!N)return!1;if(N){var F;if(b.length>0&&(F=b[0]),F instanceof Error)throw F;var H=new Error("Unhandled error."+(F?" ("+F.message+")":""));throw H.context=F,H}var Y=j[g];if(Y===void 0)return!1;if(typeof Y=="function")e(Y,this,b);else for(var X=Y.length,Z=T(Y,X),S=0;S<X;++S)e(Z[S],this,b);return!0};function u(f,g,b,S){var N,j,F;if(c(b),j=f._events,j===void 0?(j=f._events=Object.create(null),f._eventsCount=0):(j.newListener!==void 0&&(f.emit("newListener",g,b.listener?b.listener:b),j=f._events),F=j[g]),F===void 0)F=j[g]=b,++f._eventsCount;else if(typeof F=="function"?F=j[g]=S?[b,F]:[F,b]:S?F.unshift(b):F.push(b),N=a(f),N>0&&F.length>N&&!F.warned){F.warned=!0;var H=new Error("Possible EventEmitter memory leak detected. "+F.length+" "+String(g)+" listeners added. Use emitter.setMaxListeners() to increase limit");H.name="MaxListenersExceededWarning",H.emitter=f,H.type=g,H.count=F.length,i(H)}return f}n.prototype.addListener=function(g,b){return u(this,g,b,!1)},n.prototype.on=n.prototype.addListener,n.prototype.prependListener=function(g,b){return u(this,g,b,!0)};function d(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function p(f,g,b){var S={fired:!1,wrapFn:void 0,target:f,type:g,listener:b},N=d.bind(S);return N.listener=b,S.wrapFn=N,N}n.prototype.once=function(g,b){return c(b),this.on(g,p(this,g,b)),this},n.prototype.prependOnceListener=function(g,b){return c(b),this.prependListener(g,p(this,g,b)),this},n.prototype.removeListener=function(g,b){var S,N,j,F,H;if(c(b),N=this._events,N===void 0)return this;if(S=N[g],S===void 0)return this;if(S===b||S.listener===b)--this._eventsCount===0?this._events=Object.create(null):(delete N[g],N.removeListener&&this.emit("removeListener",g,S.listener||b));else if(typeof S!="function"){for(j=-1,F=S.length-1;F>=0;F--)if(S[F]===b||S[F].listener===b){H=S[F].listener,j=F;break}if(j<0)return this;j===0?S.shift():L(S,j),S.length===1&&(N[g]=S[0]),N.removeListener!==void 0&&this.emit("removeListener",g,H||b)}return this},n.prototype.off=n.prototype.removeListener,n.prototype.removeAllListeners=function(g){var b,S,N;if(S=this._events,S===void 0)return this;if(S.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):S[g]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete S[g]),this;if(arguments.length===0){var j=Object.keys(S),F;for(N=0;N<j.length;++N)F=j[N],F!=="removeListener"&&this.removeAllListeners(F);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(b=S[g],typeof b=="function")this.removeListener(g,b);else if(b!==void 0)for(N=b.length-1;N>=0;N--)this.removeListener(g,b[N]);return this};function x(f,g,b){var S=f._events;if(S===void 0)return[];var N=S[g];return N===void 0?[]:typeof N=="function"?b?[N.listener||N]:[N]:b?M(N):T(N,N.length)}n.prototype.listeners=function(g){return x(this,g,!0)},n.prototype.rawListeners=function(g){return x(this,g,!1)},n.listenerCount=function(f,g){return typeof f.listenerCount=="function"?f.listenerCount(g):O.call(f,g)},n.prototype.listenerCount=O;function O(f){var g=this._events;if(g!==void 0){var b=g[f];if(typeof b=="function")return 1;if(b!==void 0)return b.length}return 0}n.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]};function T(f,g){for(var b=new Array(g),S=0;S<g;++S)b[S]=f[S];return b}function L(f,g){for(;g+1<f.length;g++)f[g]=f[g+1];f.pop()}function M(f){for(var g=new Array(f.length),b=0;b<g.length;++b)g[b]=f[b].listener||f[b];return g}function R(f,g){return new Promise(function(b,S){function N(F){f.removeListener(g,j),S(F)}function j(){typeof f.removeListener=="function"&&f.removeListener("error",N),b([].slice.call(arguments))}U(f,g,j,{once:!0}),g!=="error"&&D(f,N,{once:!0})})}function D(f,g,b){typeof f.on=="function"&&U(f,"error",g,b)}function U(f,g,b,S){if(typeof f.on=="function")S.once?f.once(g,b):f.on(g,b);else if(typeof f.addEventListener=="function")f.addEventListener(g,function N(j){S.once&&f.removeEventListener(g,N),b(j)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof f)}},7321:(r,l,e)=>{"use strict";var t=e(3030);r.exports=t},9283:(r,l,e)=>{"use strict";e(8376),e(4293),e(8715);var t=e(2564);r.exports=t("String","replaceAll")},4977:(r,l,e)=>{"use strict";var t=e(4188),i=e(3174),o=TypeError;r.exports=function(n){if(t(n))return n;throw new o(i(n)+" is not a function")}},154:(r,l,e)=>{"use strict";var t=e(4212).charAt;r.exports=function(i,o,n){return o+(n?t(i,o).length:1)}},3770:(r,l,e)=>{"use strict";var t=e(831),i=String,o=TypeError;r.exports=function(n){if(t(n))return n;throw new o(i(n)+" is not an object")}},1458:(r,l,e)=>{"use strict";var t=e(380),i=e(675),o=e(9389),n=function(s){return function(c,a,u){var d=t(c),p=o(d);if(p===0)return!s&&-1;var x=i(u,p),O;if(s&&a!==a){for(;p>x;)if(O=d[x++],O!==O)return!0}else for(;p>x;x++)if((s||x in d)&&d[x]===a)return s||x||0;return!s&&-1}};r.exports={includes:n(!0),indexOf:n(!1)}},8689:(r,l,e)=>{"use strict";var t=e(6881),i=t({}.toString),o=t("".slice);r.exports=function(n){return o(i(n),8,-1)}},5438:(r,l,e)=>{"use strict";var t=e(9345),i=e(4188),o=e(8689),n=e(4282),s=n("toStringTag"),c=Object,a=o(function(){return arguments}())==="Arguments",u=function(d,p){try{return d[p]}catch{}};r.exports=t?o:function(d){var p,x,O;return d===void 0?"Undefined":d===null?"Null":typeof(x=u(p=c(d),s))=="string"?x:a?o(p):(O=o(p))==="Object"&&i(p.callee)?"Arguments":O}},8657:(r,l,e)=>{"use strict";var t=e(4418),i=e(3168),o=e(9304),n=e(4466);r.exports=function(s,c,a){for(var u=i(c),d=n.f,p=o.f,x=0;x<u.length;x++){var O=u[x];!t(s,O)&&!(a&&t(a,O))&&d(s,O,p(c,O))}}},8088:(r,l,e)=>{"use strict";var t=e(6893),i=e(4466),o=e(9123);r.exports=t?function(n,s,c){return i.f(n,s,o(1,c))}:function(n,s,c){return n[s]=c,n}},9123:r=>{"use strict";r.exports=function(l,e){return{enumerable:!(l&1),configurable:!(l&2),writable:!(l&4),value:e}}},7509:(r,l,e)=>{"use strict";var t=e(4188),i=e(4466),o=e(4530),n=e(4798);r.exports=function(s,c,a,u){u||(u={});var d=u.enumerable,p=u.name!==void 0?u.name:c;if(t(a)&&o(a,p,u),u.global)d?s[c]=a:n(c,a);else{try{u.unsafe?s[c]&&(d=!0):delete s[c]}catch{}d?s[c]=a:i.f(s,c,{value:a,enumerable:!1,configurable:!u.nonConfigurable,writable:!u.nonWritable})}return s}},4798:(r,l,e)=>{"use strict";var t=e(1488),i=Object.defineProperty;r.exports=function(o,n){try{i(t,o,{value:n,configurable:!0,writable:!0})}catch{t[o]=n}return n}},6893:(r,l,e)=>{"use strict";var t=e(5234);r.exports=!t(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})},5926:(r,l,e)=>{"use strict";var t=e(1488),i=e(831),o=t.document,n=i(o)&&i(o.createElement);r.exports=function(s){return n?o.createElement(s):{}}},4109:r=>{"use strict";r.exports=typeof navigator<"u"&&String(navigator.userAgent)||""},3749:(r,l,e)=>{"use strict";var t=e(1488),i=e(4109),o=t.process,n=t.Deno,s=o&&o.versions||n&&n.version,c=s&&s.v8,a,u;c&&(a=c.split("."),u=a[0]>0&&a[0]<4?1:+(a[0]+a[1])),!u&&i&&(a=i.match(/Edge\/(\d+)/),(!a||a[1]>=74)&&(a=i.match(/Chrome\/(\d+)/),a&&(u=+a[1]))),r.exports=u},2564:(r,l,e)=>{"use strict";var t=e(1488),i=e(6881);r.exports=function(o,n){return i(t[o].prototype[n])}},1274:r=>{"use strict";r.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},5613:(r,l,e)=>{"use strict";var t=e(1488),i=e(9304).f,o=e(8088),n=e(7509),s=e(4798),c=e(8657),a=e(8489);r.exports=function(u,d){var p=u.target,x=u.global,O=u.stat,T,L,M,R,D,U;if(x?L=t:O?L=t[p]||s(p,{}):L=t[p]&&t[p].prototype,L)for(M in d){if(D=d[M],u.dontCallGetSet?(U=i(L,M),R=U&&U.value):R=L[M],T=a(x?M:p+(O?".":"#")+M,u.forced),!T&&R!==void 0){if(typeof D==typeof R)continue;c(D,R)}(u.sham||R&&R.sham)&&o(D,"sham",!0),n(L,M,D,u)}}},5234:r=>{"use strict";r.exports=function(l){try{return!!l()}catch{return!0}}},467:(r,l,e)=>{"use strict";e(8376);var t=e(9944),i=e(7509),o=e(9342),n=e(5234),s=e(4282),c=e(8088),a=s("species"),u=RegExp.prototype;r.exports=function(d,p,x,O){var T=s(d),L=!n(function(){var U={};return U[T]=function(){return 7},""[d](U)!==7}),M=L&&!n(function(){var U=!1,f=/a/;return d==="split"&&(f={},f.constructor={},f.constructor[a]=function(){return f},f.flags="",f[T]=/./[T]),f.exec=function(){return U=!0,null},f[T](""),!U});if(!L||!M||x){var R=/./[T],D=p(T,""[d],function(U,f,g,b,S){var N=f.exec;return N===o||N===u.exec?L&&!S?{done:!0,value:t(R,f,g,b)}:{done:!0,value:t(U,g,f,b)}:{done:!1}});i(String.prototype,d,D[0]),i(u,T,D[1])}O&&c(u[T],"sham",!0)}},646:(r,l,e)=>{"use strict";var t=e(9055),i=Function.prototype,o=i.apply,n=i.call;r.exports=typeof Reflect=="object"&&Reflect.apply||(t?n.bind(o):function(){return n.apply(o,arguments)})},9055:(r,l,e)=>{"use strict";var t=e(5234);r.exports=!t(function(){var i=function(){}.bind();return typeof i!="function"||i.hasOwnProperty("prototype")})},9944:(r,l,e)=>{"use strict";var t=e(9055),i=Function.prototype.call;r.exports=t?i.bind(i):function(){return i.apply(i,arguments)}},2735:(r,l,e)=>{"use strict";var t=e(6893),i=e(4418),o=Function.prototype,n=t&&Object.getOwnPropertyDescriptor,s=i(o,"name"),c=s&&function(){}.name==="something",a=s&&(!t||t&&n(o,"name").configurable);r.exports={EXISTS:s,PROPER:c,CONFIGURABLE:a}},6881:(r,l,e)=>{"use strict";var t=e(9055),i=Function.prototype,o=i.call,n=t&&i.bind.bind(o,o);r.exports=t?n:function(s){return function(){return o.apply(s,arguments)}}},5604:(r,l,e)=>{"use strict";var t=e(1488),i=e(4188),o=function(n){return i(n)?n:void 0};r.exports=function(n,s){return arguments.length<2?o(t[n]):t[n]&&t[n][s]}},2913:(r,l,e)=>{"use strict";var t=e(4977),i=e(4318);r.exports=function(o,n){var s=o[n];return i(s)?void 0:t(s)}},1113:(r,l,e)=>{"use strict";var t=e(6881),i=e(3628),o=Math.floor,n=t("".charAt),s=t("".replace),c=t("".slice),a=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,u=/\$([$&'`]|\d{1,2})/g;r.exports=function(d,p,x,O,T,L){var M=x+d.length,R=O.length,D=u;return T!==void 0&&(T=i(T),D=a),s(L,D,function(U,f){var g;switch(n(f,0)){case"$":return"$";case"&":return d;case"`":return c(p,0,x);case"'":return c(p,M);case"<":g=T[c(f,1,-1)];break;default:var b=+f;if(b===0)return U;if(b>R){var S=o(b/10);return S===0?U:S<=R?O[S-1]===void 0?n(f,1):O[S-1]+n(f,1):U}g=O[b-1]}return g===void 0?"":g})}},1488:function(r,l,e){"use strict";var t=function(i){return i&&i.Math===Math&&i};r.exports=t(typeof globalThis=="object"&&globalThis)||t(typeof window=="object"&&window)||t(typeof self=="object"&&self)||t(typeof e.g=="object"&&e.g)||t(typeof this=="object"&&this)||function(){return this}()||Function("return this")()},4418:(r,l,e)=>{"use strict";var t=e(6881),i=e(3628),o=t({}.hasOwnProperty);r.exports=Object.hasOwn||function(s,c){return o(i(s),c)}},7588:r=>{"use strict";r.exports={}},7458:(r,l,e)=>{"use strict";var t=e(5604);r.exports=t("document","documentElement")},9622:(r,l,e)=>{"use strict";var t=e(6893),i=e(5234),o=e(5926);r.exports=!t&&!i(function(){return Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a!==7})},7568:(r,l,e)=>{"use strict";var t=e(6881),i=e(5234),o=e(8689),n=Object,s=t("".split);r.exports=i(function(){return!n("z").propertyIsEnumerable(0)})?function(c){return o(c)==="String"?s(c,""):n(c)}:n},3029:(r,l,e)=>{"use strict";var t=e(6881),i=e(4188),o=e(2694),n=t(Function.toString);i(o.inspectSource)||(o.inspectSource=function(s){return n(s)}),r.exports=o.inspectSource},3086:(r,l,e)=>{"use strict";var t=e(5945),i=e(1488),o=e(831),n=e(8088),s=e(4418),c=e(2694),a=e(168),u=e(7588),d="Object already initialized",p=i.TypeError,x=i.WeakMap,O,T,L,M=function(f){return L(f)?T(f):O(f,{})},R=function(f){return function(g){var b;if(!o(g)||(b=T(g)).type!==f)throw new p("Incompatible receiver, "+f+" required");return b}};if(t||c.state){var D=c.state||(c.state=new x);D.get=D.get,D.has=D.has,D.set=D.set,O=function(f,g){if(D.has(f))throw new p(d);return g.facade=f,D.set(f,g),g},T=function(f){return D.get(f)||{}},L=function(f){return D.has(f)}}else{var U=a("state");u[U]=!0,O=function(f,g){if(s(f,U))throw new p(d);return g.facade=f,n(f,U,g),g},T=function(f){return s(f,U)?f[U]:{}},L=function(f){return s(f,U)}}r.exports={set:O,get:T,has:L,enforce:M,getterFor:R}},4188:r=>{"use strict";var l=typeof document=="object"&&document.all;r.exports=typeof l>"u"&&l!==void 0?function(e){return typeof e=="function"||e===l}:function(e){return typeof e=="function"}},8489:(r,l,e)=>{"use strict";var t=e(5234),i=e(4188),o=/#|\.prototype\./,n=function(d,p){var x=c[s(d)];return x===u?!0:x===a?!1:i(p)?t(p):!!p},s=n.normalize=function(d){return String(d).replace(o,".").toLowerCase()},c=n.data={},a=n.NATIVE="N",u=n.POLYFILL="P";r.exports=n},4318:r=>{"use strict";r.exports=function(l){return l==null}},831:(r,l,e)=>{"use strict";var t=e(4188);r.exports=function(i){return typeof i=="object"?i!==null:t(i)}},1942:r=>{"use strict";r.exports=!1},473:(r,l,e)=>{"use strict";var t=e(831),i=e(8689),o=e(4282),n=o("match");r.exports=function(s){var c;return t(s)&&((c=s[n])!==void 0?!!c:i(s)==="RegExp")}},6032:(r,l,e)=>{"use strict";var t=e(5604),i=e(4188),o=e(4578),n=e(9809),s=Object;r.exports=n?function(c){return typeof c=="symbol"}:function(c){var a=t("Symbol");return i(a)&&o(a.prototype,s(c))}},9389:(r,l,e)=>{"use strict";var t=e(7611);r.exports=function(i){return t(i.length)}},4530:(r,l,e)=>{"use strict";var t=e(6881),i=e(5234),o=e(4188),n=e(4418),s=e(6893),c=e(2735).CONFIGURABLE,a=e(3029),u=e(3086),d=u.enforce,p=u.get,x=String,O=Object.defineProperty,T=t("".slice),L=t("".replace),M=t([].join),R=s&&!i(function(){return O(function(){},"length",{value:8}).length!==8}),D=String(String).split("String"),U=r.exports=function(f,g,b){T(x(g),0,7)==="Symbol("&&(g="["+L(x(g),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),b&&b.getter&&(g="get "+g),b&&b.setter&&(g="set "+g),(!n(f,"name")||c&&f.name!==g)&&(s?O(f,"name",{value:g,configurable:!0}):f.name=g),R&&b&&n(b,"arity")&&f.length!==b.arity&&O(f,"length",{value:b.arity});try{b&&n(b,"constructor")&&b.constructor?s&&O(f,"prototype",{writable:!1}):f.prototype&&(f.prototype=void 0)}catch{}var S=d(f);return n(S,"source")||(S.source=M(D,typeof g=="string"?g:"")),f};Function.prototype.toString=U(function(){return o(this)&&p(this).source||a(this)},"toString")},142:r=>{"use strict";var l=Math.ceil,e=Math.floor;r.exports=Math.trunc||function(i){var o=+i;return(o>0?e:l)(o)}},7065:(r,l,e)=>{"use strict";var t=e(3770),i=e(30),o=e(1274),n=e(7588),s=e(7458),c=e(5926),a=e(168),u=">",d="<",p="prototype",x="script",O=a("IE_PROTO"),T=function(){},L=function(f){return d+x+u+f+d+"/"+x+u},M=function(f){f.write(L("")),f.close();var g=f.parentWindow.Object;return f=null,g},R=function(){var f=c("iframe"),g="java"+x+":",b;return f.style.display="none",s.appendChild(f),f.src=String(g),b=f.contentWindow.document,b.open(),b.write(L("document.F=Object")),b.close(),b.F},D,U=function(){try{D=new ActiveXObject("htmlfile")}catch{}U=typeof document<"u"?document.domain&&D?M(D):R():M(D);for(var f=o.length;f--;)delete U[p][o[f]];return U()};n[O]=!0,r.exports=Object.create||function(g,b){var S;return g!==null?(T[p]=t(g),S=new T,T[p]=null,S[O]=g):S=U(),b===void 0?S:i.f(S,b)}},30:(r,l,e)=>{"use strict";var t=e(6893),i=e(3315),o=e(4466),n=e(3770),s=e(380),c=e(7137);l.f=t&&!i?Object.defineProperties:function(u,d){n(u);for(var p=s(d),x=c(d),O=x.length,T=0,L;O>T;)o.f(u,L=x[T++],p[L]);return u}},4466:(r,l,e)=>{"use strict";var t=e(6893),i=e(9622),o=e(3315),n=e(3770),s=e(2344),c=TypeError,a=Object.defineProperty,u=Object.getOwnPropertyDescriptor,d="enumerable",p="configurable",x="writable";l.f=t?o?function(T,L,M){if(n(T),L=s(L),n(M),typeof T=="function"&&L==="prototype"&&"value"in M&&x in M&&!M[x]){var R=u(T,L);R&&R[x]&&(T[L]=M.value,M={configurable:p in M?M[p]:R[p],enumerable:d in M?M[d]:R[d],writable:!1})}return a(T,L,M)}:a:function(T,L,M){if(n(T),L=s(L),n(M),i)try{return a(T,L,M)}catch{}if("get"in M||"set"in M)throw new c("Accessors not supported");return"value"in M&&(T[L]=M.value),T}},9304:(r,l,e)=>{"use strict";var t=e(6893),i=e(9944),o=e(4416),n=e(9123),s=e(380),c=e(2344),a=e(4418),u=e(9622),d=Object.getOwnPropertyDescriptor;l.f=t?d:function(x,O){if(x=s(x),O=c(O),u)try{return d(x,O)}catch{}if(a(x,O))return n(!i(o.f,x,O),x[O])}},5629:(r,l,e)=>{"use strict";var t=e(1843),i=e(1274),o=i.concat("length","prototype");l.f=Object.getOwnPropertyNames||function(s){return t(s,o)}},156:(r,l)=>{"use strict";l.f=Object.getOwnPropertySymbols},4578:(r,l,e)=>{"use strict";var t=e(6881);r.exports=t({}.isPrototypeOf)},1843:(r,l,e)=>{"use strict";var t=e(6881),i=e(4418),o=e(380),n=e(1458).indexOf,s=e(7588),c=t([].push);r.exports=function(a,u){var d=o(a),p=0,x=[],O;for(O in d)!i(s,O)&&i(d,O)&&c(x,O);for(;u.length>p;)i(d,O=u[p++])&&(~n(x,O)||c(x,O));return x}},7137:(r,l,e)=>{"use strict";var t=e(1843),i=e(1274);r.exports=Object.keys||function(n){return t(n,i)}},4416:(r,l)=>{"use strict";var e={}.propertyIsEnumerable,t=Object.getOwnPropertyDescriptor,i=t&&!e.call({1:2},1);l.f=i?function(n){var s=t(this,n);return!!s&&s.enumerable}:e},2287:(r,l,e)=>{"use strict";var t=e(9944),i=e(4188),o=e(831),n=TypeError;r.exports=function(s,c){var a,u;if(c==="string"&&i(a=s.toString)&&!o(u=t(a,s))||i(a=s.valueOf)&&!o(u=t(a,s))||c!=="string"&&i(a=s.toString)&&!o(u=t(a,s)))return u;throw new n("Can't convert object to primitive value")}},3168:(r,l,e)=>{"use strict";var t=e(5604),i=e(6881),o=e(5629),n=e(156),s=e(3770),c=i([].concat);r.exports=t("Reflect","ownKeys")||function(u){var d=o.f(s(u)),p=n.f;return p?c(d,p(u)):d}},4721:(r,l,e)=>{"use strict";var t=e(9944),i=e(3770),o=e(4188),n=e(8689),s=e(9342),c=TypeError;r.exports=function(a,u){var d=a.exec;if(o(d)){var p=t(d,a,u);return p!==null&&i(p),p}if(n(a)==="RegExp")return t(s,a,u);throw new c("RegExp#exec called on incompatible receiver")}},9342:(r,l,e)=>{"use strict";var t=e(9944),i=e(6881),o=e(2618),n=e(4932),s=e(5976),c=e(746),a=e(7065),u=e(3086).get,d=e(6676),p=e(4609),x=c("native-string-replace",String.prototype.replace),O=RegExp.prototype.exec,T=O,L=i("".charAt),M=i("".indexOf),R=i("".replace),D=i("".slice),U=function(){var S=/a/,N=/b*/g;return t(O,S,"a"),t(O,N,"a"),S.lastIndex!==0||N.lastIndex!==0}(),f=s.BROKEN_CARET,g=/()??/.exec("")[1]!==void 0,b=U||g||f||d||p;b&&(T=function(N){var j=this,F=u(j),H=o(N),Y=F.raw,X,Z,k,$,Q,y,E;if(Y)return Y.lastIndex=j.lastIndex,X=t(T,Y,H),j.lastIndex=Y.lastIndex,X;var h=F.groups,w=f&&j.sticky,v=t(n,j),m=j.source,P=0,G=H;if(w&&(v=R(v,"y",""),M(v,"g")===-1&&(v+="g"),G=D(H,j.lastIndex),j.lastIndex>0&&(!j.multiline||j.multiline&&L(H,j.lastIndex-1)!==`
|
|
77
77
|
`)&&(m="(?: "+m+")",G=" "+G,P++),Z=new RegExp("^(?:"+m+")",v)),g&&(Z=new RegExp("^"+m+"$(?!\\s)",v)),U&&(k=j.lastIndex),$=t(O,w?Z:j,G),w?$?($.input=D($.input,P),$[0]=D($[0],P),$.index=j.lastIndex,j.lastIndex+=$[0].length):j.lastIndex=0:U&&$&&(j.lastIndex=j.global?$.index+$[0].length:k),g&&$&&$.length>1&&t(x,$[0],Z,function(){for(Q=1;Q<arguments.length-2;Q++)arguments[Q]===void 0&&($[Q]=void 0)}),$&&h)for($.groups=y=a(null),Q=0;Q<h.length;Q++)E=h[Q],y[E[0]]=$[E[1]];return $}),r.exports=T},4932:(r,l,e)=>{"use strict";var t=e(3770);r.exports=function(){var i=t(this),o="";return i.hasIndices&&(o+="d"),i.global&&(o+="g"),i.ignoreCase&&(o+="i"),i.multiline&&(o+="m"),i.dotAll&&(o+="s"),i.unicode&&(o+="u"),i.unicodeSets&&(o+="v"),i.sticky&&(o+="y"),o}},3113:(r,l,e)=>{"use strict";var t=e(9944),i=e(4418),o=e(4578),n=e(4932),s=RegExp.prototype;r.exports=function(c){var a=c.flags;return a===void 0&&!("flags"in s)&&!i(c,"flags")&&o(s,c)?t(n,c):a}},5976:(r,l,e)=>{"use strict";var t=e(5234),i=e(1488),o=i.RegExp,n=t(function(){var a=o("a","y");return a.lastIndex=2,a.exec("abcd")!==null}),s=n||t(function(){return!o("a","y").sticky}),c=n||t(function(){var a=o("^r","gy");return a.lastIndex=2,a.exec("str")!==null});r.exports={BROKEN_CARET:c,MISSED_STICKY:s,UNSUPPORTED_Y:n}},6676:(r,l,e)=>{"use strict";var t=e(5234),i=e(1488),o=i.RegExp;r.exports=t(function(){var n=o(".","s");return!(n.dotAll&&n.test(`
|
|
78
78
|
`)&&n.flags==="s")})},4609:(r,l,e)=>{"use strict";var t=e(5234),i=e(1488),o=i.RegExp;r.exports=t(function(){var n=o("(?<a>b)","g");return n.exec("b").groups.a!=="b"||"b".replace(n,"$<a>c")!=="bc"})},9509:(r,l,e)=>{"use strict";var t=e(4318),i=TypeError;r.exports=function(o){if(t(o))throw new i("Can't call method on "+o);return o}},168:(r,l,e)=>{"use strict";var t=e(746),i=e(6209),o=t("keys");r.exports=function(n){return o[n]||(o[n]=i(n))}},2694:(r,l,e)=>{"use strict";var t=e(1942),i=e(1488),o=e(4798),n="__core-js_shared__",s=r.exports=i[n]||o(n,{});(s.versions||(s.versions=[])).push({version:"3.37.1",mode:t?"pure":"global",copyright:"\xA9 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.37.1/LICENSE",source:"https://github.com/zloirock/core-js"})},746:(r,l,e)=>{"use strict";var t=e(2694);r.exports=function(i,o){return t[i]||(t[i]=o||{})}},4212:(r,l,e)=>{"use strict";var t=e(6881),i=e(6744),o=e(2618),n=e(9509),s=t("".charAt),c=t("".charCodeAt),a=t("".slice),u=function(d){return function(p,x){var O=o(n(p)),T=i(x),L=O.length,M,R;return T<0||T>=L?d?"":void 0:(M=c(O,T),M<55296||M>56319||T+1===L||(R=c(O,T+1))<56320||R>57343?d?s(O,T):M:d?a(O,T,T+2):(M-55296<<10)+(R-56320)+65536)}};r.exports={codeAt:u(!1),charAt:u(!0)}},8944:(r,l,e)=>{"use strict";var t=e(3749),i=e(5234),o=e(1488),n=o.String;r.exports=!!Object.getOwnPropertySymbols&&!i(function(){var s=Symbol("symbol detection");return!n(s)||!(Object(s)instanceof Symbol)||!Symbol.sham&&t&&t<41})},675:(r,l,e)=>{"use strict";var t=e(6744),i=Math.max,o=Math.min;r.exports=function(n,s){var c=t(n);return c<0?i(c+s,0):o(c,s)}},380:(r,l,e)=>{"use strict";var t=e(7568),i=e(9509);r.exports=function(o){return t(i(o))}},6744:(r,l,e)=>{"use strict";var t=e(142);r.exports=function(i){var o=+i;return o!==o||o===0?0:t(o)}},7611:(r,l,e)=>{"use strict";var t=e(6744),i=Math.min;r.exports=function(o){var n=t(o);return n>0?i(n,9007199254740991):0}},3628:(r,l,e)=>{"use strict";var t=e(9509),i=Object;r.exports=function(o){return i(t(o))}},290:(r,l,e)=>{"use strict";var t=e(9944),i=e(831),o=e(6032),n=e(2913),s=e(2287),c=e(4282),a=TypeError,u=c("toPrimitive");r.exports=function(d,p){if(!i(d)||o(d))return d;var x=n(d,u),O;if(x){if(p===void 0&&(p="default"),O=t(x,d,p),!i(O)||o(O))return O;throw new a("Can't convert object to primitive value")}return p===void 0&&(p="number"),s(d,p)}},2344:(r,l,e)=>{"use strict";var t=e(290),i=e(6032);r.exports=function(o){var n=t(o,"string");return i(n)?n:n+""}},9345:(r,l,e)=>{"use strict";var t=e(4282),i=t("toStringTag"),o={};o[i]="z",r.exports=String(o)==="[object z]"},2618:(r,l,e)=>{"use strict";var t=e(5438),i=String;r.exports=function(o){if(t(o)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return i(o)}},3174:r=>{"use strict";var l=String;r.exports=function(e){try{return l(e)}catch{return"Object"}}},6209:(r,l,e)=>{"use strict";var t=e(6881),i=0,o=Math.random(),n=t(1 .toString);r.exports=function(s){return"Symbol("+(s===void 0?"":s)+")_"+n(++i+o,36)}},9809:(r,l,e)=>{"use strict";var t=e(8944);r.exports=t&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},3315:(r,l,e)=>{"use strict";var t=e(6893),i=e(5234);r.exports=t&&i(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})},5945:(r,l,e)=>{"use strict";var t=e(1488),i=e(4188),o=t.WeakMap;r.exports=i(o)&&/native code/.test(String(o))},4282:(r,l,e)=>{"use strict";var t=e(1488),i=e(746),o=e(4418),n=e(6209),s=e(8944),c=e(9809),a=t.Symbol,u=i("wks"),d=c?a.for||a:a&&a.withoutSetter||n;r.exports=function(p){return o(u,p)||(u[p]=s&&o(a,p)?a[p]:d("Symbol."+p)),u[p]}},8376:(r,l,e)=>{"use strict";var t=e(5613),i=e(9342);t({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},8715:(r,l,e)=>{"use strict";var t=e(5613),i=e(9944),o=e(6881),n=e(9509),s=e(4188),c=e(4318),a=e(473),u=e(2618),d=e(2913),p=e(3113),x=e(1113),O=e(4282),T=e(1942),L=O("replace"),M=TypeError,R=o("".indexOf),D=o("".replace),U=o("".slice),f=Math.max;t({target:"String",proto:!0},{replaceAll:function(b,S){var N=n(this),j,F,H,Y,X,Z,k,$,Q,y=0,E=0,h="";if(!c(b)){if(j=a(b),j&&(F=u(n(p(b))),!~R(F,"g")))throw new M("`.replaceAll` does not allow non-global regexes");if(H=d(b,L),H)return i(H,b,N,S);if(T&&j)return D(u(N),b,S)}for(Y=u(N),X=u(b),Z=s(S),Z||(S=u(S)),k=X.length,$=f(1,k),y=R(Y,X);y!==-1;)Q=Z?u(S(X,y,Y)):x(X,Y,y,[],void 0,S),h+=U(Y,E,y)+Q,E=y+k,y=y+$>Y.length?-1:R(Y,X,y+$);return E<Y.length&&(h+=U(Y,E)),h}})},4293:(r,l,e)=>{"use strict";var t=e(646),i=e(9944),o=e(6881),n=e(467),s=e(5234),c=e(3770),a=e(4188),u=e(4318),d=e(6744),p=e(7611),x=e(2618),O=e(9509),T=e(154),L=e(2913),M=e(1113),R=e(4721),D=e(4282),U=D("replace"),f=Math.max,g=Math.min,b=o([].concat),S=o([].push),N=o("".indexOf),j=o("".slice),F=function(Z){return Z===void 0?Z:String(Z)},H=function(){return"a".replace(/./,"$0")==="$0"}(),Y=function(){return/./[U]?/./[U]("a","$0")==="":!1}(),X=!s(function(){var Z=/./;return Z.exec=function(){var k=[];return k.groups={a:"7"},k},"".replace(Z,"$<a>")!=="7"});n("replace",function(Z,k,$){var Q=Y?"$":"$0";return[function(E,h){var w=O(this),v=u(E)?void 0:L(E,U);return v?i(v,E,w,h):i(k,x(w),E,h)},function(y,E){var h=c(this),w=x(y);if(typeof E=="string"&&N(E,Q)===-1&&N(E,"$<")===-1){var v=$(k,h,w,E);if(v.done)return v.value}var m=a(E);m||(E=x(E));var P=h.global,G;P&&(G=h.unicode,h.lastIndex=0);for(var J=[],z;z=R(h,w),!(z===null||(S(J,z),!P));){var _=x(z[0]);_===""&&(h.lastIndex=T(w,p(h.lastIndex),G))}for(var q="",ne=0,oe=0;oe<J.length;oe++){z=J[oe];for(var ae=x(z[0]),se=f(g(d(z.index),w.length),0),ie=[],ce,de=1;de<z.length;de++)S(ie,F(z[de]));var K=z.groups;if(m){var I=b([ae],ie,se,w);K!==void 0&&S(I,K),ce=x(t(E,void 0,I))}else ce=M(ae,w,se,ie,K,E);se>=ne&&(q+=j(w,ne,se)+ce,ne=se+ae.length)}return q+j(w,ne)}]},!X||!H||Y)},3030:(r,l,e)=>{"use strict";var t=e(9283);r.exports=t},6152:(r,l,e)=>{"use strict";e.d(l,{GG:()=>c,Tt:()=>t,gn:()=>s,sH:()=>n});function t(a,u){var d={};for(var p in a)Object.prototype.hasOwnProperty.call(a,p)&&u.indexOf(p)<0&&(d[p]=a[p]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var x=0,p=Object.getOwnPropertySymbols(a);x<p.length;x++)u.indexOf(p[x])<0&&Object.prototype.propertyIsEnumerable.call(a,p[x])&&(d[p[x]]=a[p[x]]);return d}function i(a,u,d,p){var x=arguments.length,O=x<3?u:p===null?p=Object.getOwnPropertyDescriptor(u,d):p,T;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")O=Reflect.decorate(a,u,d,p);else for(var L=a.length-1;L>=0;L--)(T=a[L])&&(O=(x<3?T(O):x>3?T(u,d,O):T(u,d))||O);return x>3&&O&&Object.defineProperty(u,d,O),O}function o(a,u){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(a,u)}function n(a,u,d,p){function x(O){return O instanceof d?O:new d(function(T){T(O)})}return new(d||(d=Promise))(function(O,T){function L(D){try{R(p.next(D))}catch(U){T(U)}}function M(D){try{R(p.throw(D))}catch(U){T(U)}}function R(D){D.done?O(D.value):x(D.value).then(L,M)}R((p=p.apply(a,u||[])).next())})}function s(a,u,d,p){if(d==="a"&&!p)throw new TypeError("Private accessor was defined without a getter");if(typeof u=="function"?a!==u||!p:!u.has(a))throw new TypeError("Cannot read private member from an object whose class did not declare it");return d==="m"?p:d==="a"?p.call(a):p?p.value:u.get(a)}function c(a,u,d,p,x){if(p==="m")throw new TypeError("Private method is not writable");if(p==="a"&&!x)throw new TypeError("Private accessor was defined without a setter");if(typeof u=="function"?a!==u||!x:!u.has(a))throw new TypeError("Cannot write private member to an object whose class did not declare it");return p==="a"?x.call(a,d):x?x.value=d:u.set(a,d),d}},3059:(r,l,e)=>{"use strict";e.d(l,{C:()=>o,mO:()=>t});const t="embeddable-event-bus-key",i=1e5,o={rest:{endpoints:{big:"https://api-gateway.prod.icanbwell.com/identity"}}},n="healthCircle",s=""},5848:(r,l,e)=>{"use strict";e.r(l),e.d(l,{EventBus:()=>c});var t=e(4032);function i(a,u,d,p){if(d==="a"&&!p)throw new TypeError("Private accessor was defined without a getter");if(typeof u=="function"?a!==u||!p:!u.has(a))throw new TypeError("Cannot read private member from an object whose class did not declare it");return d==="m"?p:d==="a"?p.call(a):p?p.value:u.get(a)}var o,n;const s="default";class c{static getInstance(u){let d=u?i(this,o,"f",n)[u]:i(this,o,"f",n)[s];return d||(d=i(this,o,"f",n)[u||s]=new t.EventBus),d}}o=c,n={value:{}}},934:(r,l,e)=>{"use strict";e.d(l,{b:()=>i});var t=e(9226);class i extends Error{constructor(n,s){super(n,s),this.cause=s.cause,this.errorCode=s.errorCode}toJSON(){const{name:n,message:s,errorCode:c}=this;return{name:n,message:s,errorCode:c}}emitToNativeComponent(){return[t.ErrorCode.CLIENT_UNKNOWN,t.ErrorCode.TOKEN_EXCHANGE].includes(this.errorCode)}}},3758:(r,l,e)=>{"use strict";e.d(l,{O:()=>t});var t;(function(i){i.CLIENT_UNKNOWN="CLIENT_UNKNOWN",i.INSUFFICIENT_SERVICES="INSUFFICIENT_SERVICES",i.METHOD_CALLED_BEFORE_INITIALIZATION="METHOD_CALLED_BEFORE_INITIALIZATION",i.BWELL_INITIALIZATION="BWELL_INITIALIZATION",i.TOKEN_EXCHANGE="TOKEN_EXCHANGE",i.ROUTE_ACTION="ROUTE_ACTION",i.ROUTE_NAVIGATION_DELEGATE="ROUTE_NAVIGATION_DELEGATE",i.ROUTE_UNKNOWN="ROUTE_UNKNOWN",i.ROUTE_ELEMENT_UNKNOWN="ROUTE_ELEMENT_UNKNOWN",i.PROVIDER_UNDEFINED="PROVIDER_UNDEFINED",i.INSUFFICIENT_PERMISSIONS="INSUFFICIENT_PERMISSIONS",i.CONFIGURATION_ERROR="CONFIGURATION_ERROR",i.NETWORK="NETWORK",i.UNKNOWN="UNKNOWN"})(t||(t={}))},9226:(r,l,e)=>{"use strict";e.d(l,{ErrorCode:()=>t.O});var t=e(3758);const i="pagetransition"}},Ee={};function A(r){var l=Ee[r];if(l!==void 0)return l.exports;var e=Ee[r]={id:r,loaded:!1,exports:{}};return we[r].call(e.exports,e,e.exports,A),e.loaded=!0,e.exports}A.m=we,A.c=Ee,A.n=r=>{var l=r&&r.__esModule?()=>r.default:()=>r;return A.d(l,{a:l}),l},(()=>{var r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,l;A.t=function(e,t){if(t&1&&(e=this(e)),t&8||typeof e=="object"&&e&&(t&4&&e.__esModule||t&16&&typeof e.then=="function"))return e;var i=Object.create(null);A.r(i);var o={};l=l||[null,r({}),r([]),r(r)];for(var n=t&2&&e;typeof n=="object"&&!~l.indexOf(n);n=r(n))Object.getOwnPropertyNames(n).forEach(s=>o[s]=()=>e[s]);return o.default=()=>e,A.d(i,o),i}})(),A.d=(r,l)=>{for(var e in l)A.o(l,e)&&!A.o(r,e)&&Object.defineProperty(r,e,{enumerable:!0,get:l[e]})},A.f={},A.e=r=>Promise.all(Object.keys(A.f).reduce((l,e)=>(A.f[e](r,l),l),[])),A.u=r=>""+r+".index.js",A.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),A.hmd=r=>(r=Object.create(r),r.children||(r.children=[]),Object.defineProperty(r,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+r.id)}}),r),A.o=(r,l)=>Object.prototype.hasOwnProperty.call(r,l),(()=>{var r={},l="@icanbwell/composite:";A.l=(e,t,i,o)=>{if(r[e]){r[e].push(t);return}var n,s;if(i!==void 0)for(var c=document.getElementsByTagName("script"),a=0;a<c.length;a++){var u=c[a];if(u.getAttribute("src")==e||u.getAttribute("data-webpack")==l+i){n=u;break}}n||(s=!0,n=document.createElement("script"),n.charset="utf-8",n.timeout=120,A.nc&&n.setAttribute("nonce",A.nc),n.setAttribute("data-webpack",l+i),n.src=e),r[e]=[t];var d=(x,O)=>{n.onerror=n.onload=null,clearTimeout(p);var T=r[e];if(delete r[e],n.parentNode&&n.parentNode.removeChild(n),T&&T.forEach(L=>L(O)),x)return x(O)},p=setTimeout(d.bind(null,void 0,{type:"timeout",target:n}),12e4);n.onerror=d.bind(null,n.onerror),n.onload=d.bind(null,n.onload),s&&document.head.appendChild(n)}})(),A.r=r=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})},A.nmd=r=>(r.paths=[],r.children||(r.children=[]),r),(()=>{A.S={};var r={},l={};A.I=(e,t)=>{t||(t=[]);var i=l[e];if(i||(i=l[e]={}),!(t.indexOf(i)>=0)){if(t.push(i),r[e])return r[e];A.o(A.S,e)||(A.S[e]={});var o=A.S[e],n=d=>{typeof console<"u"&&console.warn&&console.warn(d)},s="@icanbwell/composite",c=(d,p,x,O)=>{var T=o[d]=o[d]||{},L=T[p];(!L||!L.loaded&&(!O!=!L.eager?O:s>L.from))&&(T[p]={get:x,from:s,eager:!!O})},a=d=>{var p=L=>n("Initialization of sharing external failed: "+L);try{var x=A(d);if(!x)return;var O=L=>L&&L.init&&L.init(A.S[e],t);if(x.then)return u.push(x.then(O,p));var T=O(x);if(T&&T.then)return u.push(T.catch(p))}catch(L){p(L)}},u=[];switch(e){case"default":c("@icanbwell/events","2.3.0",()=>()=>A(5848),1),c("@icanbwell/react-native-webview-invoke/browser","0.6.4",()=>()=>A(7800),1);break}return u.length?r[e]=Promise.all(u).then(()=>r[e]=1):r[e]=1}}})(),(()=>{var r;A.g.importScripts&&(r=A.g.location+"");var l=A.g.document;if(!r&&l&&(l.currentScript&&(r=l.currentScript.src),!r)){var e=l.getElementsByTagName("script");if(e.length)for(var t=e.length-1;t>-1&&(!r||!/^http(s?):/.test(r));)r=e[t--].src}if(!r)throw new Error("Automatic publicPath is not supported in this browser");r=r.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),A.p=r})(),(()=>{var r=y=>{var E=v=>v.split(".").map(m=>+m==m?+m:m),h=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(y),w=h[1]?E(h[1]):[];return h[2]&&(w.length++,w.push.apply(w,E(h[2]))),h[3]&&(w.push([]),w.push.apply(w,E(h[3]))),w},l=(y,E)=>{y=r(y),E=r(E);for(var h=0;;){if(h>=y.length)return h<E.length&&(typeof E[h])[0]!="u";var w=y[h],v=(typeof w)[0];if(h>=E.length)return v=="u";var m=E[h],P=(typeof m)[0];if(v!=P)return v=="o"&&P=="n"||P=="s"||v=="u";if(v!="o"&&v!="u"&&w!=m)return w<m;h++}},e=y=>{var E=y[0],h="";if(y.length===1)return"*";if(E+.5){h+=E==0?">=":E==-1?"<":E==1?"^":E==2?"~":E>0?"=":"!=";for(var w=1,v=1;v<y.length;v++)w--,h+=(typeof(P=y[v]))[0]=="u"?"-":(w>0?".":"")+(w=2,P);return h}var m=[];for(v=1;v<y.length;v++){var P=y[v];m.push(P===0?"not("+G()+")":P===1?"("+G()+" || "+G()+")":P===2?m.pop()+" "+m.pop():e(P))}return G();function G(){return m.pop().replace(/^\((.+)\)$/,"$1")}},t=(y,E)=>{if(0 in y){E=r(E);var h=y[0],w=h<0;w&&(h=-h-1);for(var v=0,m=1,P=!0;;m++,v++){var G,J,z=m<y.length?(typeof y[m])[0]:"";if(v>=E.length||(J=(typeof(G=E[v]))[0])=="o")return!P||(z=="u"?m>h&&!w:z==""!=w);if(J=="u"){if(!P||z!="u")return!1}else if(P)if(z==J)if(m<=h){if(G!=y[m])return!1}else{if(w?G>y[m]:G<y[m])return!1;G!=y[m]&&(P=!1)}else if(z!="s"&&z!="n"){if(w||m<=h)return!1;P=!1,m--}else{if(m<=h||J<z!=w)return!1;P=!1}else z!="s"&&z!="n"&&(P=!1,m--)}}var _=[],q=_.pop.bind(_);for(v=1;v<y.length;v++){var ne=y[v];_.push(ne==1?q()|q():ne==2?q()&q():ne?t(ne,E):!q())}return!!q()},i=(y,E)=>{var h=A.S[y];if(!h||!A.o(h,E))throw new Error("Shared module "+E+" doesn't exist in shared scope "+y);return h},o=(y,w)=>{var h=y[w],w=Object.keys(h).reduce((v,m)=>!v||l(v,m)?m:v,0);return w&&h[w]},n=(y,E)=>{var h=y[E];return Object.keys(h).reduce((w,v)=>!w||!h[w].loaded&&l(w,v)?v:w,0)},s=(y,E,h,w)=>"Unsatisfied version "+h+" from "+(h&&y[E][h].from)+" of shared singleton module "+E+" (required "+e(w)+")",c=(y,E,h,w)=>{var v=n(y,h);return L(y[h][v])},a=(y,E,h,w)=>{var v=n(y,h);return t(w,v)||O(s(y,h,v,w)),L(y[h][v])},u=(y,E,h,w)=>{var v=n(y,h);if(!t(w,v))throw new Error(s(y,h,v,w));return L(y[h][v])},d=(y,v,h)=>{var w=y[v],v=Object.keys(w).reduce((m,P)=>t(h,P)&&(!m||l(m,P))?P:m,0);return v&&w[v]},p=(y,E,h,w)=>{var v=y[h];return"No satisfying version ("+e(w)+") of shared module "+h+" found in shared scope "+E+`.
|
|
79
79
|
Available versions: `+Object.keys(v).map(m=>m+" from "+v[m].from).join(", ")},x=(y,E,h,w)=>{var v=d(y,h,w);if(v)return L(v);throw new Error(p(y,E,h,w))},O=y=>{typeof console<"u"&&console.warn&&console.warn(y)},T=(y,E,h,w)=>{O(p(y,E,h,w))},L=y=>(y.loaded=1,y.get()),M=y=>function(E,h,w,v){var m=A.I(E);return m&&m.then?m.then(y.bind(y,E,A.S[E],h,w,v)):y(E,A.S[E],h,w,v)},R=M((y,E,h)=>(i(y,h),L(o(E,h)))),D=M((y,E,h,w)=>E&&A.o(E,h)?L(o(E,h)):w()),U=M((y,E,h,w)=>(i(y,h),L(d(E,h,w)||T(E,y,h,w)||o(E,h)))),f=M((y,E,h)=>(i(y,h),c(E,y,h))),g=M((y,E,h,w)=>(i(y,h),a(E,y,h,w))),b=M((y,E,h,w)=>(i(y,h),x(E,y,h,w))),S=M((y,E,h,w)=>(i(y,h),u(E,y,h,w))),N=M((y,E,h,w,v)=>!E||!A.o(E,h)?v():L(d(E,h,w)||T(E,y,h,w)||o(E,h))),j=M((y,E,h,w)=>!E||!A.o(E,h)?w():c(E,y,h)),F=M((y,E,h,w,v)=>!E||!A.o(E,h)?v():a(E,y,h,w)),H=M((y,E,h,w,v)=>{var m=E&&A.o(E,h)&&d(E,h,w);return m?L(m):v()}),Y=M((y,E,h,w,v)=>!E||!A.o(E,h)?v():u(E,y,h,w)),X={},Z={692:()=>F("default","@icanbwell/react-native-webview-invoke/browser",[2,0,6,2],()=>()=>A(7800)),8561:()=>F("default","@icanbwell/events",[3,0,0,1],()=>()=>A(5848))},k=[8561];k.forEach(y=>{A.m[y]=E=>{X[y]=0,delete A.c[y];var h=Z[y]();if(typeof h!="function")throw new Error("Shared module is not available for eager consumption: "+y);E.exports=h()}});var $={692:[692]},Q={};A.f.consumes=(y,E)=>{A.o($,y)&&$[y].forEach(h=>{if(A.o(X,h))return E.push(X[h]);if(!Q[h]){var w=P=>{X[h]=0,A.m[h]=G=>{delete A.c[h],G.exports=P()}};Q[h]=!0;var v=P=>{delete X[h],A.m[h]=G=>{throw delete A.c[h],P}};try{var m=Z[h]();m.then?E.push(X[h]=m.then(w).catch(v)):w(m)}catch(P){v(P)}}})}})(),(()=>{var r={792:0};A.f.j=(t,i)=>{var o=A.o(r,t)?r[t]:void 0;if(o!==0)if(o)i.push(o[2]);else if(t!=692){var n=new Promise((u,d)=>o=r[t]=[u,d]);i.push(o[2]=n);var s=A.p+A.u(t),c=new Error,a=u=>{if(A.o(r,t)&&(o=r[t],o!==0&&(r[t]=void 0),o)){var d=u&&(u.type==="load"?"missing":u.type),p=u&&u.target&&u.target.src;c.message="Loading chunk "+t+` failed.
|
package/native.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as i}from"react/jsx-runtime";import{ComponentView as o}from"@icanbwell/native-components";var p="@icanbwell/composite",s="1.371.
|
|
1
|
+
import{jsx as i}from"react/jsx-runtime";import{ComponentView as o}from"@icanbwell/native-components";var p="@icanbwell/composite",s="1.371.3",c="icanbwell",v="module",l="index.js",b="types/index.d.ts",d="UNLICENSED",m={url:"https://github.com/icanbwell/ui-platform.git"},y={"*":{native:["types/native.d.ts"]}},u={"@icanbwell/native-components":"^3.2.0"},w={react:"^17.0.0 || ^18.0.0","react-dom":"^17.0.0 || ^18.0.0","react-native":"^0.71.2","react-native-webview":"^11.4.2"},f={"react-native":{optional:!0},react:{optional:!0},"react-dom":{optional:!0},"react-native-webview":{optional:!0}},O="0.490.1",j="@icanbwell/composite. repo version: 0.490.1",D={name:p,version:s,author:c,type:v,main:l,types:b,license:d,repository:m,typesVersions:y,dependencies:u,peerDependencies:w,peerDependenciesMeta:f,repoVersion:O,description:j};const g="composite";var h=Object.defineProperty,P=Object.defineProperties,V=Object.getOwnPropertyDescriptors,n=Object.getOwnPropertySymbols,x=Object.prototype.hasOwnProperty,C=Object.prototype.propertyIsEnumerable,a=(r,e,t)=>e in r?h(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,E=(r,e)=>{for(var t in e||(e={}))x.call(e,t)&&a(r,t,e[t]);if(n)for(var t of n(e))C.call(e,t)&&a(r,t,e[t]);return r},M=(r,e)=>P(r,V(e));const N=r=>i(o,M(E({},r),{version:D.version,name:g}));export{N as Composite};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@icanbwell/composite",
|
|
3
|
-
"version": "1.371.
|
|
3
|
+
"version": "1.371.3",
|
|
4
4
|
"author": "icanbwell",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|
|
@@ -39,6 +39,6 @@
|
|
|
39
39
|
"optional": true
|
|
40
40
|
}
|
|
41
41
|
},
|
|
42
|
-
"repoVersion": "0.
|
|
43
|
-
"description": "@icanbwell/composite. repo version: 0.
|
|
42
|
+
"repoVersion": "0.490.1",
|
|
43
|
+
"description": "@icanbwell/composite. repo version: 0.490.1"
|
|
44
44
|
}
|