@icanbwell/composite 1.376.1 → 1.376.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 +90 -57
- package/index.js +3 -3
- package/native.js +1 -1
- package/package.json +3 -3
- package/types/index.d.ts +4 -4
package/README.md
CHANGED
|
@@ -6,17 +6,20 @@
|
|
|
6
6
|
|
|
7
7
|
# Composite
|
|
8
8
|
|
|
9
|
-
Composite embeddable bwell component. The composite can be embedded in either a
|
|
9
|
+
Composite embeddable bwell component. The composite can be embedded in either a
|
|
10
|
+
web or React Native context.
|
|
10
11
|
|
|
11
12
|
## Web
|
|
12
13
|
|
|
13
14
|
### Integration
|
|
14
15
|
|
|
15
|
-
The composite web component can be integrated via either script tag _or_ npm
|
|
16
|
+
The composite web component can be integrated via either script tag _or_ npm
|
|
17
|
+
module.
|
|
16
18
|
|
|
17
19
|
#### Script
|
|
18
20
|
|
|
19
|
-
If using the script tag, you'll need to add the below to your web page. This
|
|
21
|
+
If using the script tag, you'll need to add the below to your web page. This
|
|
22
|
+
will pull in the required scripts and define the bwell composite web component.
|
|
20
23
|
|
|
21
24
|
```html
|
|
22
25
|
<script src="https://embeddables.prod.icanbwell.com/composite/<VERSION_NUMBER>/loader/index.js"></script>
|
|
@@ -24,21 +27,24 @@ If using the script tag, you'll need to add the below to your web page. This wil
|
|
|
24
27
|
|
|
25
28
|
#### Module
|
|
26
29
|
|
|
27
|
-
Alternatively, if you use NPM, the bwell composite can be added to your project
|
|
30
|
+
Alternatively, if you use NPM, the bwell composite can be added to your project
|
|
31
|
+
with the following command.
|
|
28
32
|
|
|
29
33
|
```sh
|
|
30
34
|
npm install @icanbwell/composite@<VERSION_NUMBER>
|
|
31
35
|
```
|
|
32
36
|
|
|
33
|
-
Once that's done, make sure to do a direct import of the module somewhere within
|
|
37
|
+
Once that's done, make sure to do a direct import of the module somewhere within
|
|
38
|
+
your appliction.
|
|
34
39
|
|
|
35
40
|
```ts
|
|
36
|
-
import '@icanbwell/composite'
|
|
41
|
+
import '@icanbwell/composite';
|
|
37
42
|
```
|
|
38
43
|
|
|
39
44
|
### Usage
|
|
40
45
|
|
|
41
|
-
In both cases above, replace `<VERSION_NUMBER>` with the desired version number.
|
|
46
|
+
In both cases above, replace `<VERSION_NUMBER>` with the desired version number.
|
|
47
|
+
The composite can then be integrated into your web UI as a traditional HTML tag.
|
|
42
48
|
|
|
43
49
|
```html
|
|
44
50
|
<bwell-composite />
|
|
@@ -48,8 +54,10 @@ In both cases above, replace `<VERSION_NUMBER>` with the desired version number.
|
|
|
48
54
|
|
|
49
55
|
The embeddable is initialized in two steps:
|
|
50
56
|
|
|
51
|
-
1. Initialize the app experience with the client key (`<CLIENT_KEY>` in the code
|
|
52
|
-
|
|
57
|
+
1. Initialize the app experience with the client key (`<CLIENT_KEY>` in the code
|
|
58
|
+
below). Think of this as a public SDK/API key.
|
|
59
|
+
2. Initialize the user context with the user token (`<USER_TOKEN>` in the code
|
|
60
|
+
below).
|
|
53
61
|
|
|
54
62
|
```js
|
|
55
63
|
async function onInit() {
|
|
@@ -60,19 +68,29 @@ async function onInit() {
|
|
|
60
68
|
|
|
61
69
|
#### Updating Document Title
|
|
62
70
|
|
|
63
|
-
The bwell composite introduces a global `bwell` object off of the `window`. Via
|
|
71
|
+
The bwell composite introduces a global `bwell` object off of the `window`. Via
|
|
72
|
+
this global object, events can be subscribed and unsubscribed. One of these
|
|
73
|
+
events is `pagetransition` and can be used to update your web application's
|
|
74
|
+
document title to best reflect the current screen being shown within the
|
|
75
|
+
embeddable. An example of such an approach can be seen below.
|
|
64
76
|
|
|
65
77
|
```js
|
|
66
|
-
bwell.on(
|
|
78
|
+
bwell.on(
|
|
79
|
+
'pagetransition',
|
|
80
|
+
(pageInfo) => (document.title = pageInfo.pageTitle || ''),
|
|
81
|
+
);
|
|
67
82
|
```
|
|
68
83
|
|
|
69
84
|
## React Native
|
|
70
85
|
|
|
71
|
-
The bwell composite also supports integration into React Native via a react
|
|
86
|
+
The bwell composite also supports integration into React Native via a react
|
|
87
|
+
native scoped export. Before integrating, installation requires adding some peer
|
|
88
|
+
dependencies of the `@icanbwell/composite` module.
|
|
72
89
|
|
|
73
90
|
### Installation
|
|
74
91
|
|
|
75
|
-
Install module plus peer dependencies (only required they are not already
|
|
92
|
+
Install module plus peer dependencies (only required they are not already
|
|
93
|
+
installed).
|
|
76
94
|
|
|
77
95
|
```sh
|
|
78
96
|
npm install \
|
|
@@ -84,7 +102,8 @@ npm install \
|
|
|
84
102
|
|
|
85
103
|
#### Optional Native Dependencies
|
|
86
104
|
|
|
87
|
-
The following native dependencies are optional and may be required dependent on
|
|
105
|
+
The following native dependencies are optional and may be required dependent on
|
|
106
|
+
the features that are enabled for your specific client.
|
|
88
107
|
|
|
89
108
|
```sh
|
|
90
109
|
npm install \
|
|
@@ -106,23 +125,24 @@ npx pod-install
|
|
|
106
125
|
### Usage
|
|
107
126
|
|
|
108
127
|
```tsx
|
|
109
|
-
import { SafeAreaView } from 'react-native'
|
|
110
|
-
import { Composite } from '@icanbwell/composite/native'
|
|
111
128
|
// Native Module(s) to inject
|
|
112
|
-
import storage from '@react-native-async-storage/async-storage'
|
|
129
|
+
import storage from '@react-native-async-storage/async-storage';
|
|
130
|
+
import { SafeAreaView } from 'react-native';
|
|
131
|
+
|
|
132
|
+
import { Composite } from '@icanbwell/composite/native';
|
|
113
133
|
|
|
114
134
|
export default function App() {
|
|
115
135
|
return (
|
|
116
136
|
<SafeAreaView style={{ flex: 1 }}>
|
|
117
137
|
<Composite
|
|
118
|
-
clientKey=
|
|
119
|
-
userToken=
|
|
138
|
+
clientKey='<CLIENT_KEY>'
|
|
139
|
+
userToken='<USER_TOKEN>'
|
|
120
140
|
nativeModules={{
|
|
121
141
|
storage,
|
|
122
142
|
}}
|
|
123
143
|
/>
|
|
124
144
|
</SafeAreaView>
|
|
125
|
-
)
|
|
145
|
+
);
|
|
126
146
|
}
|
|
127
147
|
```
|
|
128
148
|
|
|
@@ -154,7 +174,8 @@ User token for SSO.
|
|
|
154
174
|
|
|
155
175
|
**type:** `string`
|
|
156
176
|
|
|
157
|
-
Optional property that tells the composite what page to start on. Use this to
|
|
177
|
+
Optional property that tells the composite what page to start on. Use this to
|
|
178
|
+
deeplink into the embeddable application.
|
|
158
179
|
|
|
159
180
|
---
|
|
160
181
|
|
|
@@ -164,12 +185,22 @@ Optional property that tells the composite what page to start on. Use this to de
|
|
|
164
185
|
|
|
165
186
|
```ts
|
|
166
187
|
type Path = {
|
|
167
|
-
value: string
|
|
168
|
-
onResetValue: () => void
|
|
169
|
-
}
|
|
188
|
+
value: string;
|
|
189
|
+
onResetValue: () => void;
|
|
190
|
+
};
|
|
170
191
|
```
|
|
171
192
|
|
|
172
|
-
Optional property that tells the composite what page to initially render. Use
|
|
193
|
+
Optional property that tells the composite what page to initially render. Use
|
|
194
|
+
this to have the `Composite` render a specific screen. Pass the intended path in
|
|
195
|
+
via the `value` property (for example `value: '/intended/path'`). Use the
|
|
196
|
+
`onResetValue` callback to clear the value that is passed to `path` (set it to
|
|
197
|
+
an empty string/`undefined`). `onResetValue` is called immediately after the
|
|
198
|
+
passed in path `value` is rendered within the `Composite` component. This is
|
|
199
|
+
required in order to accommodate passing in the same path `value` sequentially
|
|
200
|
+
and having the underlying component recognize there's been a change. It is
|
|
201
|
+
possible the user navigates elsewhere in between sequential path `value`
|
|
202
|
+
updates. NOTE: Make sure to omit the hash segment of a path if it exists. For
|
|
203
|
+
example: `#/intended/path` would be `/intended/path`.
|
|
173
204
|
|
|
174
205
|
---
|
|
175
206
|
|
|
@@ -180,30 +211,31 @@ Optional property that tells the composite what page to initially render. Use th
|
|
|
180
211
|
```ts
|
|
181
212
|
type OnAuthSuccessEventData = {
|
|
182
213
|
user: {
|
|
183
|
-
id: string
|
|
184
|
-
}
|
|
185
|
-
}
|
|
214
|
+
id: string;
|
|
215
|
+
};
|
|
216
|
+
};
|
|
186
217
|
|
|
187
218
|
type ErrorEventData = {
|
|
188
|
-
name: string
|
|
189
|
-
message: string
|
|
190
|
-
errorCode: string
|
|
191
|
-
}
|
|
219
|
+
name: string;
|
|
220
|
+
message: string;
|
|
221
|
+
errorCode: string;
|
|
222
|
+
};
|
|
192
223
|
|
|
193
224
|
type EventData =
|
|
194
225
|
| {
|
|
195
|
-
key: 'onauthsuccess'
|
|
196
|
-
data: OnAuthSuccessEventData
|
|
226
|
+
key: 'onauthsuccess';
|
|
227
|
+
data: OnAuthSuccessEventData;
|
|
197
228
|
}
|
|
198
229
|
| {
|
|
199
|
-
key: 'error'
|
|
200
|
-
data: ErrorEventData
|
|
201
|
-
}
|
|
230
|
+
key: 'error';
|
|
231
|
+
data: ErrorEventData;
|
|
232
|
+
};
|
|
202
233
|
|
|
203
|
-
type OnEventCallback = (event: EventData) => void
|
|
234
|
+
type OnEventCallback = (event: EventData) => void;
|
|
204
235
|
```
|
|
205
236
|
|
|
206
|
-
Callback property that allows for listening to internal events of the
|
|
237
|
+
Callback property that allows for listening to internal events of the
|
|
238
|
+
embeddable.
|
|
207
239
|
|
|
208
240
|
---
|
|
209
241
|
|
|
@@ -214,25 +246,26 @@ _required_
|
|
|
214
246
|
**type:**
|
|
215
247
|
|
|
216
248
|
```ts
|
|
217
|
-
import type
|
|
218
|
-
import type
|
|
219
|
-
import type
|
|
220
|
-
import type
|
|
221
|
-
import type documentPicker from 'react-native-document-picker'
|
|
222
|
-
import type
|
|
223
|
-
import type
|
|
224
|
-
import type
|
|
249
|
+
import type storage from '@react-native-async-storage/async-storage';
|
|
250
|
+
import type * as cameraRoll from '@react-native-camera-roll/camera-roll';
|
|
251
|
+
import type geolocation from '@react-native-community/geolocation';
|
|
252
|
+
import type biometrics from 'react-native-biometrics';
|
|
253
|
+
import type documentPicker from 'react-native-document-picker';
|
|
254
|
+
import type * as fileSystem from 'react-native-fs';
|
|
255
|
+
import type permissions from 'react-native-permissions';
|
|
256
|
+
import type print from 'react-native-print';
|
|
225
257
|
|
|
226
258
|
type NativeModuleMap = {
|
|
227
|
-
biometrics?: typeof biometrics
|
|
228
|
-
permissions?: typeof permissions
|
|
229
|
-
cameraRoll?: typeof cameraRoll
|
|
230
|
-
fileSystem?: typeof fileSystem
|
|
231
|
-
documentPicker?: typeof documentPicker
|
|
232
|
-
geolocation?: typeof geolocation
|
|
233
|
-
print?: typeof print
|
|
234
|
-
storage?: typeof storage
|
|
235
|
-
}
|
|
259
|
+
biometrics?: typeof biometrics;
|
|
260
|
+
permissions?: typeof permissions;
|
|
261
|
+
cameraRoll?: typeof cameraRoll;
|
|
262
|
+
fileSystem?: typeof fileSystem;
|
|
263
|
+
documentPicker?: typeof documentPicker;
|
|
264
|
+
geolocation?: typeof geolocation;
|
|
265
|
+
print?: typeof print;
|
|
266
|
+
storage?: typeof storage;
|
|
267
|
+
};
|
|
236
268
|
```
|
|
237
269
|
|
|
238
|
-
Property used to inject native dependencies into the composite. At minimum
|
|
270
|
+
Property used to inject native dependencies into the composite. At minimum
|
|
271
|
+
`storage` is required.
|
package/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
(()=>{var be={7800:(r,l,e)=>{var t=e(9062);r.exports=t,r.exports.default=t},9062:r=>{"use strict";function l(v){return l=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(E){return typeof E}:function(E){return E&&typeof Symbol=="function"&&E.constructor===Symbol&&E!==Symbol.prototype?"symbol":typeof E},l(v)}function e(v,E){if(!(v instanceof E))throw new TypeError("Cannot call a class as a function")}function t(v,E){for(var I=0;I<E.length;I++){var R=E[I];R.enumerable=R.enumerable||!1,R.configurable=!0,"value"in R&&(R.writable=!0),Object.defineProperty(v,p(R.key),R)}}function i(v,E,I){return E&&t(v.prototype,E),I&&t(v,I),Object.defineProperty(v,"prototype",{writable:!1}),v}function o(v){return n(v)||s(v)||c(v)||u()}function n(v){if(Array.isArray(v))return a(v)}function s(v){if(typeof Symbol<"u"&&v[Symbol.iterator]!=null||v["@@iterator"]!=null)return Array.from(v)}function c(v,E){if(!!v){if(typeof v=="string")return a(v,E);var I=Object.prototype.toString.call(v).slice(8,-1);if(I==="Object"&&v.constructor&&(I=v.constructor.name),I==="Map"||I==="Set")return Array.from(v);if(I==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(I))return a(v,E)}}function a(v,E){(E==null||E>v.length)&&(E=v.length);for(var I=0,R=new Array(E);I<E;I++)R[I]=v[I];return R}function u(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
2
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function f(v,E){if(typeof v!="object"||v===null)return v;var I=v[Symbol.toPrimitive];if(I!==void 0){var R=I.call(v,E||"default");if(typeof R!="object")return R;throw new TypeError("@@toPrimitive must return a primitive value.")}return(E==="string"?String:Number)(v)}function p(v){var E=f(v,"string");return typeof E=="symbol"?E:String(E)}function O(){var v={send:[],receive:[],ready:[]};function E(k,z){if(k in v){var te=v[k];te.indexOf(z)<0&&te.push(z)}}function I(k,z){if(k in v){var te=v[k],q=te.indexOf(z);q>=0&&te.splice(q,1)}}function R(k,z){k in v&&v[k].forEach(function(te){return te(z)})}return{addEventListener:E,removeEventListener:I,emitEvent:R}}var x="RNWV:sync",w="success",L="fail",P=0,F=i(function v(){var E=this;e(this,v),this.promise=new Promise(function(I,R){E.resolve=I,E.reject=R})});function D(v){return"".concat(v.command,"(").concat(v.id,")")}function U(v,E){return{id:P++,command:v,data:E,reply:!1,status:w}}function d(v){var E=[],I=O(),R={},k={},z={};function te(){return!E}function q(B){return function(){for(var Y=arguments.length,ee=new Array(Y),re=0;re<Y;re++)ee[re]=arguments[re];return
|
|
2
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function f(v,E){if(typeof v!="object"||v===null)return v;var I=v[Symbol.toPrimitive];if(I!==void 0){var R=I.call(v,E||"default");if(typeof R!="object")return R;throw new TypeError("@@toPrimitive must return a primitive value.")}return(E==="string"?String:Number)(v)}function p(v){var E=f(v,"string");return typeof E=="symbol"?E:String(E)}function O(){var v={send:[],receive:[],ready:[]};function E(k,z){if(k in v){var te=v[k];te.indexOf(z)<0&&te.push(z)}}function I(k,z){if(k in v){var te=v[k],q=te.indexOf(z);q>=0&&te.splice(q,1)}}function R(k,z){k in v&&v[k].forEach(function(te){return te(z)})}return{addEventListener:E,removeEventListener:I,emitEvent:R}}var x="RNWV:sync",w="success",L="fail",P=0,F=i(function v(){var E=this;e(this,v),this.promise=new Promise(function(I,R){E.resolve=I,E.reject=R})});function D(v){return"".concat(v.command,"(").concat(v.id,")")}function U(v,E){return{id:P++,command:v,data:E,reply:!1,status:w}}function d(v){var E=[],I=O(),R={},k={},z={};function te(){return!E}function q(B){return function(){for(var Y=arguments.length,ee=new Array(Y),re=0;re<Y;re++)ee[re]=arguments[re];return le(B,ee)}}function ie(B,Y){return k[B]=function(ee){return Y.apply(void 0,o(ee))},!E&&_(),{define:ie,bind:q}}function se(B){var Y=B.command===x;!Y&&E?E.push(B):v(B),I.emitEvent("send",B)}function ae(){if(E){var B=E;E=null,B.forEach(function(Y){se(Y)}),I.emitEvent("ready")}}function le(B,Y){var ee=U(B,Y),re=new F;return R[D(ee)]=re,se(ee),re.promise}function Z(B,Y,ee){B.reply=!0,B.data=Y,B.status=ee,se(B)}function C(B){if(B.reply){var Y=D(B);R[Y]&&(B.status===L?R[Y].reject(B.data):R[Y].resolve(B.data))}else if(k[B.command]){var ee=k[B.command](B.data);ee&&ee.then?ee.then(function(re){Z(B,re,w)}).catch(function(re){Z(B,re,L)}):Z(B,ee,w)}else Z(B,"function ".concat(B.command," is not defined"),L);I.emitEvent("receive",B)}var G=q(x);function $(){var B=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return B.filter(function(Y){return!z[Y]}).map(function(Y){z[Y]=q(Y)}),ae(),Object.keys(k)}ie(x,$);function _(){G(Object.keys(k)).then($)}return{bind:q,define:ie,listener:C,ready:_,fn:z,addEventListener:I.addEventListener,removeEventListener:I.removeEventListener,isConnect:te}}var g=null,y=typeof window<"u",T=d(function(v){return y&&g&&g(JSON.stringify(v))}),A=T.bind,N=T.define,j=T.listener,K=T.ready,X=T.fn,J=T.addEventListener,Q=T.removeEventListener,H=T.isConnect,W=function(E){var I=void 0;if(l(E)==="object")I=E;else if(typeof E=="string")try{I=JSON.parse(E)}catch{}I&&(I.command||I.reply)&&j(I)};if(y){var V=window.originalPostMessage;if(V)g=function(){var E;return(E=window).postMessage.apply(E,arguments)},K();else{var b={configurable:!0,get:function(){return V},set:function(E){V=E,V&&(g=function(){var R;return(R=window).postMessage.apply(R,arguments)},setTimeout(K,50))}};Object.defineProperty(window,"originalPostMessage",b)}var m=window.ReactNativeWebView;if(m)g=function(){var E;return(E=window.ReactNativeWebView).postMessage.apply(E,arguments)},K();else{var h={configurable:!0,get:function(){return m},set:function(E){m=E,m&&(g=function(){var R;return(R=window.ReactNativeWebView).postMessage.apply(R,arguments)},setTimeout(K,50))}};Object.defineProperty(window,"ReactNativeWebView",h)}window.document.addEventListener("message",function(v){return V&&W(v.data)}),window.addEventListener("message",function(v){return m&&W(v.data)}),window.document.addEventListener("message",function(v){return m&&W(v.data)})}var S={bind:A,define:N,fn:X,addEventListener:J,removeEventListener:Q,isConnect:H};r.exports=S},6594:(r,l,e)=>{"use strict";var t=e(6152);class i extends HTMLElement{addEventListener(C,G,$){super.addEventListener(C,G,$)}}var o=e(8561),n=e(3059),s,c;class a{constructor(C){s.set(this,void 0),c.set(this,void 0),(0,t.GG)(this,s,C,"f"),(0,t.GG)(this,c,o.EventBus.getInstance(n.mO).channel((0,t.gn)(this,s,"f")),"f")}registerDispatcher(C){(0,t.gn)(this,c,"f").addListener(G=>{var{topic:$}=G,_=G.payload,B=(0,t.Tt)(_,["name"]);C(new CustomEvent($,{detail:B}))})}deregister(){o.EventBus.getInstance().removeChannel((0,t.gn)(this,s,"f"))}}s=new WeakMap,c=new WeakMap;var u=e(9742),f=e(934),p=e(9226),O,x,w,L,P,F,D;class U{constructor(){O.add(this),x.set(this,void 0),w.set(this,{}),L.set(this,void 0),P.set(this,void 0),(0,t.GG)(this,P,(0,t.gn)(this,O,"m",D).bind(this),"f"),(0,t.GG)(this,L,new MutationObserver((0,t.gn)(this,P,"f")),"f")}bindTo(C){return(0,t.GG)(this,x,C,"f"),this}addChangeListener(C,G){(0,t.gn)(this,w,"f")[C]=[...(0,t.gn)(this,w,"f")[C]||[],G],(0,t.gn)(this,L,"f").observe((0,t.gn)(this,O,"m",F).call(this),{attributes:!0})}removeChangeListener(C,G){var $,_;(0,t.gn)(this,w,"f")[C]=($=(0,t.gn)(this,w,"f")[C])===null||$===void 0?void 0:$.filter(B=>B!==G),!((_=(0,t.gn)(this,w,"f")[C])===null||_===void 0)&&_.length||delete(0,t.gn)(this,w,"f")[C],Object.keys((0,t.gn)(this,w,"f"))||(0,t.gn)(this,L,"f").disconnect()}get(C){return(0,t.gn)(this,O,"m",F).call(this).getAttribute(C)}}x=new WeakMap,w=new WeakMap,L=new WeakMap,P=new WeakMap,O=new WeakSet,F=function(){if(!(0,t.gn)(this,x,"f"))throw new f.b("ElementAttributeManager must be bound to an element.",{errorCode:p.ErrorCode.UNKNOWN});return(0,t.gn)(this,x,"f")},D=function(C){!Object.keys((0,t.gn)(this,w,"f")).length||C.forEach(G=>{var $;if(G.type==="attributes"){const _=G.attributeName;($=(0,t.gn)(this,w,"f")[_])===null||$===void 0||$.forEach(B=>B(G.target.getAttribute(_)))}})};var d=e(46),g,y,T,A,N,j,K,X;const J=(Z=!0)=>`
|
|
3
3
|
display: ${Z?"none":"block"};
|
|
4
4
|
height: ${Z?"0":"100%"};
|
|
5
5
|
width: ${Z?"0":"100%"};
|
|
@@ -73,8 +73,8 @@ 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(R)===void 0&&customElements.define(R,k);const z=[{name:"loader",defaultElement:document.createElement(E)},{name:"error",defaultElement:document.createElement(R)}],te=["error","loading"],q={error:"error",loading:"loader"},ie=({src:Z,elementNameSuffix:C})=>(0,t.sH)(void 0,void 0,void 0,function*(){var G,$,_,B,Y,ee,re,ce,fe,le,ne,Oe,xe,ye,me;window.bwell||(window.bwell=new v);const he=`bwell-${C}`;if(customElements.get(he)!==void 0)return;class Se extends i{constructor(){super(),G.add(this),$.set(this,(0,u.Ak)()),_.set(this,void 0),B.set(this,document.createElement("feature-app-loader")),Y.set(this,new d.EventEmitter),ee.set(this,void 0),re.set(this,void 0),ce.set(this,void 0),fe.set(this,void 0),le.set(this,void 0),ne.set(this,void 0),this.attachShadow({mode:"open"});const oe=new Q(z).attachToShadowRoot(this.shadowRoot);oe.addEventListener("visibilitychange",({visibility:de,container:Ee,name:we})=>{we==="error"&&de==="visible"&&window.bwell._registerEmbeddableContent(Ee),(0,t.gn)(this,B,"f").style.display=de==="hidden"?"unset":"hidden"}),(0,t.GG)(this,ne,{slots:oe,attributes:new U().bindTo(this),loaderEventEmitter:(0,t.gn)(this,Y,"f")},"f"),(0,t.GG)(this,ee,(0,t.gn)(this,G,"m",Oe).bind(this),"f"),(0,t.GG)(this,re,(0,t.gn)(this,G,"m",xe).bind(this),"f"),(0,t.GG)(this,ce,(0,t.gn)(this,G,"m",me).call(this,"error"),"f"),(0,t.GG)(this,fe,(0,t.gn)(this,G,"m",me).call(this,"loading"),"f")}connectedCallback(){return(0,t.sH)(this,void 0,void 0,function*(){(0,t.gn)(this,ce,"f").call(this,(0,t.gn)(this,ne,"f").attributes.get("error")),(0,t.gn)(this,fe,"f").call(this,(0,t.gn)(this,ne,"f").attributes.get("loading")),(0,t.gn)(this,ne,"f").slots.addEventListener("visibilitychange",(0,t.gn)(this,re,"f")),(0,t.gn)(this,ne,"f").attributes.addChangeListener("error",(0,t.gn)(this,ce,"f")),(0,t.gn)(this,ne,"f").attributes.addChangeListener("loading",(0,t.gn)(this,fe,"f")),(0,t.gn)(this,ne,"f").slots.showSlot("loader");try{yield window.bwell.validateLoad()}catch{(0,t.gn)(this,ne,"f").slots.showSlot("error")}(0,t.GG)(this,$,this.id||(0,t.gn)(this,$,"f"),"f"),(0,t.GG)(this,_,new a((0,t.gn)(this,$,"f")),"f"),(0,t.gn)(this,_,"f").registerDispatcher(oe=>this.dispatchEvent(oe)),window.bwell.isInitialized?(0,t.gn)(this,ee,"f").call(this):(window.bwell.once("initialized",(0,t.gn)(this,ee,"f")),window.bwell.once("error",()=>{(0,t.gn)(this,ne,"f").slots.showSlot("error")}))})}disconnectedCallback(){var oe;(0,t.gn)(this,Y,"f").emit("disconnect"),(0,t.gn)(this,ne,"f").slots.removeEventListener("visibilitychange",(0,t.gn)(this,re,"f")),(0,t.gn)(this,ne,"f").attributes.removeChangeListener("error",(0,t.gn)(this,ce,"f")),(0,t.gn)(this,ne,"f").attributes.removeChangeListener("loading",(0,t.gn)(this,fe,"f")),(oe=(0,t.gn)(this,_,"f"))===null||oe===void 0||oe.deregister(),(0,t.gn)(this,Y,"f").removeAllListeners()}}$=new WeakMap,_=new WeakMap,B=new WeakMap,Y=new WeakMap,ee=new WeakMap,re=new WeakMap,ce=new WeakMap,fe=new WeakMap,le=new WeakMap,ne=new WeakMap,G=new WeakSet,Oe=function(){(0,t.gn)(this,B,"f").setAttribute("featureAppId",`bwell-embeddable:${he}`),(0,t.gn)(this,B,"f").setAttribute("src",Z),(0,t.gn)(this,B,"f").config={id:(0,t.gn)(this,$,"f"),name:C,elementName:he,utils:(0,t.gn)(this,ne,"f")},this.shadowRoot.appendChild((0,t.gn)(this,B,"f"))},xe=function({visibility:oe,name:de}){(0,t.gn)(this,B,"f").style.display=oe==="hidden"?"unset":"hidden"},ye=function(oe){(0,t.gn)(this,le,"f")(),(0,t.GG)(this,le,void 0,"f")},me=function(oe){return de=>{const Ee=te.findIndex(ve=>ve===oe);if(!te.slice(0,Ee).some(ve=>(0,t.gn)(this,ne,"f").attributes.get(ve)!==null)){if(de!==null)(0,t.gn)(this,le,"f")&&(0,t.gn)(this,G,"m",ye).call(this,oe),(0,t.GG)(this,le,(0,t.gn)(this,ne,"f").slots.showSlotLocked(q[oe]),"f");else if(de===null&&(0,t.gn)(this,le,"f")){(0,t.gn)(this,G,"m",ye).call(this,oe);const ve=te.find(Te=>(0,t.gn)(this,ne,"f").attributes.get(Te)!==null);ve&&(0,t.GG)(this,le,(0,t.gn)(this,ne,"f").slots.showSlotLocked(q[ve]),"f")}}}},customElements.define(he,Se)}),se="composite",ue={rE:"1.376.1"};var ae=e(7321);ie({src:`https://embeddables.prod.icanbwell.com/${se}/${ue.rE}/scripts/embeddable.federated.js`,elementNameSuffix:se})},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,f){u.__proto__=f}||function(u,f){for(var p in f)Object.prototype.hasOwnProperty.call(f,p)&&(u[p]=f[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 f=s.call(this,a,u)||this;return f.topics={},f._onTopicDestroyed=f._onTopicDestroyed.bind(f),f._onTopicEmit=f._onTopicEmit.bind(f),f}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 f in u)Object.prototype.hasOwnProperty.call(u,f)&&(a[f]=u[f])},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 f=n.call(this,c,u)||this;return f.channel=a,f}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,y,T){return Function.prototype.apply.call(g,y,T)},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(d){console&&console.warn&&console.warn(d)}var o=Number.isNaN||function(g){return g!==g};function n(){n.init.call(this)}r.exports=n,r.exports.once=F,n.EventEmitter=n,n.prototype._events=void 0,n.prototype._eventsCount=0,n.prototype._maxListeners=void 0;var s=10;function c(d){if(typeof d!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof d)}Object.defineProperty(n,"defaultMaxListeners",{enumerable:!0,get:function(){return s},set:function(d){if(typeof d!="number"||d<0||o(d))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+d+".");s=d}}),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(d){return d._maxListeners===void 0?n.defaultMaxListeners:d._maxListeners}n.prototype.getMaxListeners=function(){return a(this)},n.prototype.emit=function(g){for(var y=[],T=1;T<arguments.length;T++)y.push(arguments[T]);var A=g==="error",N=this._events;if(N!==void 0)A=A&&N.error===void 0;else if(!A)return!1;if(A){var j;if(y.length>0&&(j=y[0]),j instanceof Error)throw j;var K=new Error("Unhandled error."+(j?" ("+j.message+")":""));throw K.context=j,K}var X=N[g];if(X===void 0)return!1;if(typeof X=="function")e(X,this,y);else for(var J=X.length,Q=w(X,J),T=0;T<J;++T)e(Q[T],this,y);return!0};function u(d,g,y,T){var A,N,j;if(c(y),N=d._events,N===void 0?(N=d._events=Object.create(null),d._eventsCount=0):(N.newListener!==void 0&&(d.emit("newListener",g,y.listener?y.listener:y),N=d._events),j=N[g]),j===void 0)j=N[g]=y,++d._eventsCount;else if(typeof j=="function"?j=N[g]=T?[y,j]:[j,y]:T?j.unshift(y):j.push(y),A=a(d),A>0&&j.length>A&&!j.warned){j.warned=!0;var K=new Error("Possible EventEmitter memory leak detected. "+j.length+" "+String(g)+" listeners added. Use emitter.setMaxListeners() to increase limit");K.name="MaxListenersExceededWarning",K.emitter=d,K.type=g,K.count=j.length,i(K)}return d}n.prototype.addListener=function(g,y){return u(this,g,y,!1)},n.prototype.on=n.prototype.addListener,n.prototype.prependListener=function(g,y){return u(this,g,y,!0)};function f(){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(d,g,y){var T={fired:!1,wrapFn:void 0,target:d,type:g,listener:y},A=f.bind(T);return A.listener=y,T.wrapFn=A,A}n.prototype.once=function(g,y){return c(y),this.on(g,p(this,g,y)),this},n.prototype.prependOnceListener=function(g,y){return c(y),this.prependListener(g,p(this,g,y)),this},n.prototype.removeListener=function(g,y){var T,A,N,j,K;if(c(y),A=this._events,A===void 0)return this;if(T=A[g],T===void 0)return this;if(T===y||T.listener===y)--this._eventsCount===0?this._events=Object.create(null):(delete A[g],A.removeListener&&this.emit("removeListener",g,T.listener||y));else if(typeof T!="function"){for(N=-1,j=T.length-1;j>=0;j--)if(T[j]===y||T[j].listener===y){K=T[j].listener,N=j;break}if(N<0)return this;N===0?T.shift():L(T,N),T.length===1&&(A[g]=T[0]),A.removeListener!==void 0&&this.emit("removeListener",g,K||y)}return this},n.prototype.off=n.prototype.removeListener,n.prototype.removeAllListeners=function(g){var y,T,A;if(T=this._events,T===void 0)return this;if(T.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):T[g]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete T[g]),this;if(arguments.length===0){var N=Object.keys(T),j;for(A=0;A<N.length;++A)j=N[A],j!=="removeListener"&&this.removeAllListeners(j);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(y=T[g],typeof y=="function")this.removeListener(g,y);else if(y!==void 0)for(A=y.length-1;A>=0;A--)this.removeListener(g,y[A]);return this};function O(d,g,y){var T=d._events;if(T===void 0)return[];var A=T[g];return A===void 0?[]:typeof A=="function"?y?[A.listener||A]:[A]:y?P(A):w(A,A.length)}n.prototype.listeners=function(g){return O(this,g,!0)},n.prototype.rawListeners=function(g){return O(this,g,!1)},n.listenerCount=function(d,g){return typeof d.listenerCount=="function"?d.listenerCount(g):x.call(d,g)},n.prototype.listenerCount=x;function x(d){var g=this._events;if(g!==void 0){var y=g[d];if(typeof y=="function")return 1;if(y!==void 0)return y.length}return 0}n.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]};function w(d,g){for(var y=new Array(g),T=0;T<g;++T)y[T]=d[T];return y}function L(d,g){for(;g+1<d.length;g++)d[g]=d[g+1];d.pop()}function P(d){for(var g=new Array(d.length),y=0;y<g.length;++y)g[y]=d[y].listener||d[y];return g}function F(d,g){return new Promise(function(y,T){function A(j){d.removeListener(g,N),T(j)}function N(){typeof d.removeListener=="function"&&d.removeListener("error",A),y([].slice.call(arguments))}U(d,g,N,{once:!0}),g!=="error"&&D(d,A,{once:!0})})}function D(d,g,y){typeof d.on=="function"&&U(d,"error",g,y)}function U(d,g,y,T){if(typeof d.on=="function")T.once?d.once(g,y):d.on(g,y);else if(typeof d.addEventListener=="function")d.addEventListener(g,function A(N){T.once&&d.removeEventListener(g,A),y(N)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof d)}},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 f=t(c),p=o(f);if(p===0)return!s&&-1;var O=i(u,p),x;if(s&&a!==a){for(;p>O;)if(x=f[O++],x!==x)return!0}else for(;p>O;O++)if((s||O in f)&&f[O]===a)return s||O||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(f,p){try{return f[p]}catch{}};r.exports=t?o:function(f){var p,O,x;return f===void 0?"Undefined":f===null?"Null":typeof(O=u(p=c(f),s))=="string"?O:a?o(p):(x=o(p))==="Object"&&i(p.callee)?"Arguments":x}},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),f=n.f,p=o.f,O=0;O<u.length;O++){var x=u[O];!t(s,x)&&!(a&&t(a,x))&&f(s,x,p(c,x))}}},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 f=u.enumerable,p=u.name!==void 0?u.name:c;if(t(a)&&o(a,p,u),u.global)f?s[c]=a:n(c,a);else{try{u.unsafe?s[c]&&(f=!0):delete s[c]}catch{}f?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,f){var p=u.target,O=u.global,x=u.stat,w,L,P,F,D,U;if(O?L=t:x?L=t[p]||s(p,{}):L=t[p]&&t[p].prototype,L)for(P in f){if(D=f[P],u.dontCallGetSet?(U=i(L,P),F=U&&U.value):F=L[P],w=a(O?P:p+(x?".":"#")+P,u.forced),!w&&F!==void 0){if(typeof D==typeof F)continue;c(D,F)}(u.sham||F&&F.sham)&&o(D,"sham",!0),n(L,P,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(f,p,O,x){var w=s(f),L=!n(function(){var U={};return U[w]=function(){return 7},""[f](U)!==7}),P=L&&!n(function(){var U=!1,d=/a/;return f==="split"&&(d={},d.constructor={},d.constructor[a]=function(){return d},d.flags="",d[w]=/./[w]),d.exec=function(){return U=!0,null},d[w](""),!U});if(!L||!P||O){var F=/./[w],D=p(w,""[f],function(U,d,g,y,T){var A=d.exec;return A===o||A===u.exec?L&&!T?{done:!0,value:t(F,d,g,y)}:{done:!0,value:t(U,g,d,y)}:{done:!1}});i(String.prototype,f,D[0]),i(u,w,D[1])}x&&c(u[w],"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(f,p,O,x,w,L){var P=O+f.length,F=x.length,D=u;return w!==void 0&&(w=i(w),D=a),s(L,D,function(U,d){var g;switch(n(d,0)){case"$":return"$";case"&":return f;case"`":return c(p,0,O);case"'":return c(p,P);case"<":g=w[c(d,1,-1)];break;default:var y=+d;if(y===0)return U;if(y>F){var T=o(y/10);return T===0?U:T<=F?x[T-1]===void 0?n(d,1):x[T-1]+n(d,1):U}g=x[y-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),f="Object already initialized",p=i.TypeError,O=i.WeakMap,x,w,L,P=function(d){return L(d)?w(d):x(d,{})},F=function(d){return function(g){var y;if(!o(g)||(y=w(g)).type!==d)throw new p("Incompatible receiver, "+d+" required");return y}};if(t||c.state){var D=c.state||(c.state=new O);D.get=D.get,D.has=D.has,D.set=D.set,x=function(d,g){if(D.has(d))throw new p(f);return g.facade=d,D.set(d,g),g},w=function(d){return D.get(d)||{}},L=function(d){return D.has(d)}}else{var U=a("state");u[U]=!0,x=function(d,g){if(s(d,U))throw new p(f);return g.facade=d,n(d,U,g),g},w=function(d){return s(d,U)?d[U]:{}},L=function(d){return s(d,U)}}r.exports={set:x,get:w,has:L,enforce:P,getterFor:F}},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(f,p){var O=c[s(f)];return O===u?!0:O===a?!1:i(p)?t(p):!!p},s=n.normalize=function(f){return String(f).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),f=u.enforce,p=u.get,O=String,x=Object.defineProperty,w=t("".slice),L=t("".replace),P=t([].join),F=s&&!i(function(){return x(function(){},"length",{value:8}).length!==8}),D=String(String).split("String"),U=r.exports=function(d,g,y){w(O(g),0,7)==="Symbol("&&(g="["+L(O(g),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),y&&y.getter&&(g="get "+g),y&&y.setter&&(g="set "+g),(!n(d,"name")||c&&d.name!==g)&&(s?x(d,"name",{value:g,configurable:!0}):d.name=g),F&&y&&n(y,"arity")&&d.length!==y.arity&&x(d,"length",{value:y.arity});try{y&&n(y,"constructor")&&y.constructor?s&&x(d,"prototype",{writable:!1}):d.prototype&&(d.prototype=void 0)}catch{}var T=f(d);return n(T,"source")||(T.source=P(D,typeof g=="string"?g:"")),d};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=">",f="<",p="prototype",O="script",x=a("IE_PROTO"),w=function(){},L=function(d){return f+O+u+d+f+"/"+O+u},P=function(d){d.write(L("")),d.close();var g=d.parentWindow.Object;return d=null,g},F=function(){var d=c("iframe"),g="java"+O+":",y;return d.style.display="none",s.appendChild(d),d.src=String(g),y=d.contentWindow.document,y.open(),y.write(L("document.F=Object")),y.close(),y.F},D,U=function(){try{D=new ActiveXObject("htmlfile")}catch{}U=typeof document<"u"?document.domain&&D?P(D):F():P(D);for(var d=o.length;d--;)delete U[p][o[d]];return U()};n[x]=!0,r.exports=Object.create||function(g,y){var T;return g!==null?(w[p]=t(g),T=new w,w[p]=null,T[x]=g):T=U(),y===void 0?T:i.f(T,y)}},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,f){n(u);for(var p=s(f),O=c(f),x=O.length,w=0,L;x>w;)o.f(u,L=O[w++],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,f="enumerable",p="configurable",O="writable";l.f=t?o?function(w,L,P){if(n(w),L=s(L),n(P),typeof w=="function"&&L==="prototype"&&"value"in P&&O in P&&!P[O]){var F=u(w,L);F&&F[O]&&(w[L]=P.value,P={configurable:p in P?P[p]:F[p],enumerable:f in P?P[f]:F[f],writable:!1})}return a(w,L,P)}:a:function(w,L,P){if(n(w),L=s(L),n(P),i)try{return a(w,L,P)}catch{}if("get"in P||"set"in P)throw new c("Accessors not supported");return"value"in P&&(w[L]=P.value),w}},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),f=Object.getOwnPropertyDescriptor;l.f=t?f:function(O,x){if(O=s(O),x=c(x),u)try{return f(O,x)}catch{}if(a(O,x))return n(!i(o.f,O,x),O[x])}},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 f=o(a),p=0,O=[],x;for(x in f)!i(s,x)&&i(f,x)&&c(O,x);for(;u.length>p;)i(f,x=u[p++])&&(~n(O,x)||c(O,x));return O}},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 f=o.f(s(u)),p=n.f;return p?c(f,p(u)):f}},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 f=a.exec;if(o(f)){var p=t(f,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,f=e(6676),p=e(4609),O=c("native-string-replace",String.prototype.replace),x=RegExp.prototype.exec,w=x,L=i("".charAt),P=i("".indexOf),F=i("".replace),D=i("".slice),U=function(){var T=/a/,A=/b*/g;return t(x,T,"a"),t(x,A,"a"),T.lastIndex!==0||A.lastIndex!==0}(),d=s.BROKEN_CARET,g=/()??/.exec("")[1]!==void 0,y=U||g||d||f||p;y&&(w=function(A){var N=this,j=u(N),K=o(A),X=j.raw,J,Q,H,W,V,b,m;if(X)return X.lastIndex=N.lastIndex,J=t(w,X,K),N.lastIndex=X.lastIndex,J;var h=j.groups,S=d&&N.sticky,v=t(n,N),E=N.source,I=0,R=K;if(S&&(v=F(v,"y",""),P(v,"g")===-1&&(v+="g"),R=D(K,N.lastIndex),N.lastIndex>0&&(!N.multiline||N.multiline&&L(K,N.lastIndex-1)!==`
|
|
76
|
+
`}}customElements.get(R)===void 0&&customElements.define(R,k);const z=[{name:"loader",defaultElement:document.createElement(E)},{name:"error",defaultElement:document.createElement(R)}],te=["error","loading"],q={error:"error",loading:"loader"},ie=({src:Z,elementNameSuffix:C})=>(0,t.sH)(void 0,void 0,void 0,function*(){var G,$,_,B,Y,ee,re,ce,fe,ue,ne,Oe,xe,ye,me;window.bwell||(window.bwell=new v);const he=`bwell-${C}`;if(customElements.get(he)!==void 0)return;class Se extends i{constructor(){super(),G.add(this),$.set(this,(0,u.Ak)()),_.set(this,void 0),B.set(this,document.createElement("feature-app-loader")),Y.set(this,new d.EventEmitter),ee.set(this,void 0),re.set(this,void 0),ce.set(this,void 0),fe.set(this,void 0),ue.set(this,void 0),ne.set(this,void 0),this.attachShadow({mode:"open"});const oe=new Q(z).attachToShadowRoot(this.shadowRoot);oe.addEventListener("visibilitychange",({visibility:de,container:Ee,name:we})=>{we==="error"&&de==="visible"&&window.bwell._registerEmbeddableContent(Ee),(0,t.gn)(this,B,"f").style.display=de==="hidden"?"unset":"hidden"}),(0,t.GG)(this,ne,{slots:oe,attributes:new U().bindTo(this),loaderEventEmitter:(0,t.gn)(this,Y,"f")},"f"),(0,t.GG)(this,ee,(0,t.gn)(this,G,"m",Oe).bind(this),"f"),(0,t.GG)(this,re,(0,t.gn)(this,G,"m",xe).bind(this),"f"),(0,t.GG)(this,ce,(0,t.gn)(this,G,"m",me).call(this,"error"),"f"),(0,t.GG)(this,fe,(0,t.gn)(this,G,"m",me).call(this,"loading"),"f")}connectedCallback(){return(0,t.sH)(this,void 0,void 0,function*(){(0,t.gn)(this,ce,"f").call(this,(0,t.gn)(this,ne,"f").attributes.get("error")),(0,t.gn)(this,fe,"f").call(this,(0,t.gn)(this,ne,"f").attributes.get("loading")),(0,t.gn)(this,ne,"f").slots.addEventListener("visibilitychange",(0,t.gn)(this,re,"f")),(0,t.gn)(this,ne,"f").attributes.addChangeListener("error",(0,t.gn)(this,ce,"f")),(0,t.gn)(this,ne,"f").attributes.addChangeListener("loading",(0,t.gn)(this,fe,"f")),(0,t.gn)(this,ne,"f").slots.showSlot("loader");try{yield window.bwell.validateLoad()}catch{(0,t.gn)(this,ne,"f").slots.showSlot("error")}(0,t.GG)(this,$,this.id||(0,t.gn)(this,$,"f"),"f"),(0,t.GG)(this,_,new a((0,t.gn)(this,$,"f")),"f"),(0,t.gn)(this,_,"f").registerDispatcher(oe=>this.dispatchEvent(oe)),window.bwell.isInitialized?(0,t.gn)(this,ee,"f").call(this):(window.bwell.once("initialized",(0,t.gn)(this,ee,"f")),window.bwell.once("error",()=>{(0,t.gn)(this,ne,"f").slots.showSlot("error")}))})}disconnectedCallback(){var oe;(0,t.gn)(this,Y,"f").emit("disconnect"),(0,t.gn)(this,ne,"f").slots.removeEventListener("visibilitychange",(0,t.gn)(this,re,"f")),(0,t.gn)(this,ne,"f").attributes.removeChangeListener("error",(0,t.gn)(this,ce,"f")),(0,t.gn)(this,ne,"f").attributes.removeChangeListener("loading",(0,t.gn)(this,fe,"f")),(oe=(0,t.gn)(this,_,"f"))===null||oe===void 0||oe.deregister(),(0,t.gn)(this,Y,"f").removeAllListeners()}}$=new WeakMap,_=new WeakMap,B=new WeakMap,Y=new WeakMap,ee=new WeakMap,re=new WeakMap,ce=new WeakMap,fe=new WeakMap,ue=new WeakMap,ne=new WeakMap,G=new WeakSet,Oe=function(){(0,t.gn)(this,B,"f").setAttribute("featureAppId",`bwell-embeddable:${he}`),(0,t.gn)(this,B,"f").setAttribute("src",Z),(0,t.gn)(this,B,"f").config={id:(0,t.gn)(this,$,"f"),name:C,elementName:he,utils:(0,t.gn)(this,ne,"f")},this.shadowRoot.appendChild((0,t.gn)(this,B,"f"))},xe=function({visibility:oe,name:de}){(0,t.gn)(this,B,"f").style.display=oe==="hidden"?"unset":"hidden"},ye=function(oe){(0,t.gn)(this,ue,"f")(),(0,t.GG)(this,ue,void 0,"f")},me=function(oe){return de=>{const Ee=te.findIndex(ve=>ve===oe);if(!te.slice(0,Ee).some(ve=>(0,t.gn)(this,ne,"f").attributes.get(ve)!==null)){if(de!==null)(0,t.gn)(this,ue,"f")&&(0,t.gn)(this,G,"m",ye).call(this,oe),(0,t.GG)(this,ue,(0,t.gn)(this,ne,"f").slots.showSlotLocked(q[oe]),"f");else if(de===null&&(0,t.gn)(this,ue,"f")){(0,t.gn)(this,G,"m",ye).call(this,oe);const ve=te.find(Te=>(0,t.gn)(this,ne,"f").attributes.get(Te)!==null);ve&&(0,t.GG)(this,ue,(0,t.gn)(this,ne,"f").slots.showSlotLocked(q[ve]),"f")}}}},customElements.define(he,Se)}),se={rE:"1.376.3"},ae="composite";var le=e(7321);ie({src:`https://embeddables.prod.icanbwell.com/${ae}/${se.rE}/scripts/embeddable.federated.js`,elementNameSuffix:ae})},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,f){u.__proto__=f}||function(u,f){for(var p in f)Object.prototype.hasOwnProperty.call(f,p)&&(u[p]=f[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 f=s.call(this,a,u)||this;return f.topics={},f._onTopicDestroyed=f._onTopicDestroyed.bind(f),f._onTopicEmit=f._onTopicEmit.bind(f),f}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 f in u)Object.prototype.hasOwnProperty.call(u,f)&&(a[f]=u[f])},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 f=n.call(this,c,u)||this;return f.channel=a,f}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,y,T){return Function.prototype.apply.call(g,y,T)},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(d){console&&console.warn&&console.warn(d)}var o=Number.isNaN||function(g){return g!==g};function n(){n.init.call(this)}r.exports=n,r.exports.once=F,n.EventEmitter=n,n.prototype._events=void 0,n.prototype._eventsCount=0,n.prototype._maxListeners=void 0;var s=10;function c(d){if(typeof d!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof d)}Object.defineProperty(n,"defaultMaxListeners",{enumerable:!0,get:function(){return s},set:function(d){if(typeof d!="number"||d<0||o(d))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+d+".");s=d}}),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(d){return d._maxListeners===void 0?n.defaultMaxListeners:d._maxListeners}n.prototype.getMaxListeners=function(){return a(this)},n.prototype.emit=function(g){for(var y=[],T=1;T<arguments.length;T++)y.push(arguments[T]);var A=g==="error",N=this._events;if(N!==void 0)A=A&&N.error===void 0;else if(!A)return!1;if(A){var j;if(y.length>0&&(j=y[0]),j instanceof Error)throw j;var K=new Error("Unhandled error."+(j?" ("+j.message+")":""));throw K.context=j,K}var X=N[g];if(X===void 0)return!1;if(typeof X=="function")e(X,this,y);else for(var J=X.length,Q=w(X,J),T=0;T<J;++T)e(Q[T],this,y);return!0};function u(d,g,y,T){var A,N,j;if(c(y),N=d._events,N===void 0?(N=d._events=Object.create(null),d._eventsCount=0):(N.newListener!==void 0&&(d.emit("newListener",g,y.listener?y.listener:y),N=d._events),j=N[g]),j===void 0)j=N[g]=y,++d._eventsCount;else if(typeof j=="function"?j=N[g]=T?[y,j]:[j,y]:T?j.unshift(y):j.push(y),A=a(d),A>0&&j.length>A&&!j.warned){j.warned=!0;var K=new Error("Possible EventEmitter memory leak detected. "+j.length+" "+String(g)+" listeners added. Use emitter.setMaxListeners() to increase limit");K.name="MaxListenersExceededWarning",K.emitter=d,K.type=g,K.count=j.length,i(K)}return d}n.prototype.addListener=function(g,y){return u(this,g,y,!1)},n.prototype.on=n.prototype.addListener,n.prototype.prependListener=function(g,y){return u(this,g,y,!0)};function f(){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(d,g,y){var T={fired:!1,wrapFn:void 0,target:d,type:g,listener:y},A=f.bind(T);return A.listener=y,T.wrapFn=A,A}n.prototype.once=function(g,y){return c(y),this.on(g,p(this,g,y)),this},n.prototype.prependOnceListener=function(g,y){return c(y),this.prependListener(g,p(this,g,y)),this},n.prototype.removeListener=function(g,y){var T,A,N,j,K;if(c(y),A=this._events,A===void 0)return this;if(T=A[g],T===void 0)return this;if(T===y||T.listener===y)--this._eventsCount===0?this._events=Object.create(null):(delete A[g],A.removeListener&&this.emit("removeListener",g,T.listener||y));else if(typeof T!="function"){for(N=-1,j=T.length-1;j>=0;j--)if(T[j]===y||T[j].listener===y){K=T[j].listener,N=j;break}if(N<0)return this;N===0?T.shift():L(T,N),T.length===1&&(A[g]=T[0]),A.removeListener!==void 0&&this.emit("removeListener",g,K||y)}return this},n.prototype.off=n.prototype.removeListener,n.prototype.removeAllListeners=function(g){var y,T,A;if(T=this._events,T===void 0)return this;if(T.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):T[g]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete T[g]),this;if(arguments.length===0){var N=Object.keys(T),j;for(A=0;A<N.length;++A)j=N[A],j!=="removeListener"&&this.removeAllListeners(j);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(y=T[g],typeof y=="function")this.removeListener(g,y);else if(y!==void 0)for(A=y.length-1;A>=0;A--)this.removeListener(g,y[A]);return this};function O(d,g,y){var T=d._events;if(T===void 0)return[];var A=T[g];return A===void 0?[]:typeof A=="function"?y?[A.listener||A]:[A]:y?P(A):w(A,A.length)}n.prototype.listeners=function(g){return O(this,g,!0)},n.prototype.rawListeners=function(g){return O(this,g,!1)},n.listenerCount=function(d,g){return typeof d.listenerCount=="function"?d.listenerCount(g):x.call(d,g)},n.prototype.listenerCount=x;function x(d){var g=this._events;if(g!==void 0){var y=g[d];if(typeof y=="function")return 1;if(y!==void 0)return y.length}return 0}n.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]};function w(d,g){for(var y=new Array(g),T=0;T<g;++T)y[T]=d[T];return y}function L(d,g){for(;g+1<d.length;g++)d[g]=d[g+1];d.pop()}function P(d){for(var g=new Array(d.length),y=0;y<g.length;++y)g[y]=d[y].listener||d[y];return g}function F(d,g){return new Promise(function(y,T){function A(j){d.removeListener(g,N),T(j)}function N(){typeof d.removeListener=="function"&&d.removeListener("error",A),y([].slice.call(arguments))}U(d,g,N,{once:!0}),g!=="error"&&D(d,A,{once:!0})})}function D(d,g,y){typeof d.on=="function"&&U(d,"error",g,y)}function U(d,g,y,T){if(typeof d.on=="function")T.once?d.once(g,y):d.on(g,y);else if(typeof d.addEventListener=="function")d.addEventListener(g,function A(N){T.once&&d.removeEventListener(g,A),y(N)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof d)}},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 f=t(c),p=o(f);if(p===0)return!s&&-1;var O=i(u,p),x;if(s&&a!==a){for(;p>O;)if(x=f[O++],x!==x)return!0}else for(;p>O;O++)if((s||O in f)&&f[O]===a)return s||O||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(f,p){try{return f[p]}catch{}};r.exports=t?o:function(f){var p,O,x;return f===void 0?"Undefined":f===null?"Null":typeof(O=u(p=c(f),s))=="string"?O:a?o(p):(x=o(p))==="Object"&&i(p.callee)?"Arguments":x}},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),f=n.f,p=o.f,O=0;O<u.length;O++){var x=u[O];!t(s,x)&&!(a&&t(a,x))&&f(s,x,p(c,x))}}},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 f=u.enumerable,p=u.name!==void 0?u.name:c;if(t(a)&&o(a,p,u),u.global)f?s[c]=a:n(c,a);else{try{u.unsafe?s[c]&&(f=!0):delete s[c]}catch{}f?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,f){var p=u.target,O=u.global,x=u.stat,w,L,P,F,D,U;if(O?L=t:x?L=t[p]||s(p,{}):L=t[p]&&t[p].prototype,L)for(P in f){if(D=f[P],u.dontCallGetSet?(U=i(L,P),F=U&&U.value):F=L[P],w=a(O?P:p+(x?".":"#")+P,u.forced),!w&&F!==void 0){if(typeof D==typeof F)continue;c(D,F)}(u.sham||F&&F.sham)&&o(D,"sham",!0),n(L,P,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(f,p,O,x){var w=s(f),L=!n(function(){var U={};return U[w]=function(){return 7},""[f](U)!==7}),P=L&&!n(function(){var U=!1,d=/a/;return f==="split"&&(d={},d.constructor={},d.constructor[a]=function(){return d},d.flags="",d[w]=/./[w]),d.exec=function(){return U=!0,null},d[w](""),!U});if(!L||!P||O){var F=/./[w],D=p(w,""[f],function(U,d,g,y,T){var A=d.exec;return A===o||A===u.exec?L&&!T?{done:!0,value:t(F,d,g,y)}:{done:!0,value:t(U,g,d,y)}:{done:!1}});i(String.prototype,f,D[0]),i(u,w,D[1])}x&&c(u[w],"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(f,p,O,x,w,L){var P=O+f.length,F=x.length,D=u;return w!==void 0&&(w=i(w),D=a),s(L,D,function(U,d){var g;switch(n(d,0)){case"$":return"$";case"&":return f;case"`":return c(p,0,O);case"'":return c(p,P);case"<":g=w[c(d,1,-1)];break;default:var y=+d;if(y===0)return U;if(y>F){var T=o(y/10);return T===0?U:T<=F?x[T-1]===void 0?n(d,1):x[T-1]+n(d,1):U}g=x[y-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),f="Object already initialized",p=i.TypeError,O=i.WeakMap,x,w,L,P=function(d){return L(d)?w(d):x(d,{})},F=function(d){return function(g){var y;if(!o(g)||(y=w(g)).type!==d)throw new p("Incompatible receiver, "+d+" required");return y}};if(t||c.state){var D=c.state||(c.state=new O);D.get=D.get,D.has=D.has,D.set=D.set,x=function(d,g){if(D.has(d))throw new p(f);return g.facade=d,D.set(d,g),g},w=function(d){return D.get(d)||{}},L=function(d){return D.has(d)}}else{var U=a("state");u[U]=!0,x=function(d,g){if(s(d,U))throw new p(f);return g.facade=d,n(d,U,g),g},w=function(d){return s(d,U)?d[U]:{}},L=function(d){return s(d,U)}}r.exports={set:x,get:w,has:L,enforce:P,getterFor:F}},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(f,p){var O=c[s(f)];return O===u?!0:O===a?!1:i(p)?t(p):!!p},s=n.normalize=function(f){return String(f).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),f=u.enforce,p=u.get,O=String,x=Object.defineProperty,w=t("".slice),L=t("".replace),P=t([].join),F=s&&!i(function(){return x(function(){},"length",{value:8}).length!==8}),D=String(String).split("String"),U=r.exports=function(d,g,y){w(O(g),0,7)==="Symbol("&&(g="["+L(O(g),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),y&&y.getter&&(g="get "+g),y&&y.setter&&(g="set "+g),(!n(d,"name")||c&&d.name!==g)&&(s?x(d,"name",{value:g,configurable:!0}):d.name=g),F&&y&&n(y,"arity")&&d.length!==y.arity&&x(d,"length",{value:y.arity});try{y&&n(y,"constructor")&&y.constructor?s&&x(d,"prototype",{writable:!1}):d.prototype&&(d.prototype=void 0)}catch{}var T=f(d);return n(T,"source")||(T.source=P(D,typeof g=="string"?g:"")),d};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=">",f="<",p="prototype",O="script",x=a("IE_PROTO"),w=function(){},L=function(d){return f+O+u+d+f+"/"+O+u},P=function(d){d.write(L("")),d.close();var g=d.parentWindow.Object;return d=null,g},F=function(){var d=c("iframe"),g="java"+O+":",y;return d.style.display="none",s.appendChild(d),d.src=String(g),y=d.contentWindow.document,y.open(),y.write(L("document.F=Object")),y.close(),y.F},D,U=function(){try{D=new ActiveXObject("htmlfile")}catch{}U=typeof document<"u"?document.domain&&D?P(D):F():P(D);for(var d=o.length;d--;)delete U[p][o[d]];return U()};n[x]=!0,r.exports=Object.create||function(g,y){var T;return g!==null?(w[p]=t(g),T=new w,w[p]=null,T[x]=g):T=U(),y===void 0?T:i.f(T,y)}},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,f){n(u);for(var p=s(f),O=c(f),x=O.length,w=0,L;x>w;)o.f(u,L=O[w++],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,f="enumerable",p="configurable",O="writable";l.f=t?o?function(w,L,P){if(n(w),L=s(L),n(P),typeof w=="function"&&L==="prototype"&&"value"in P&&O in P&&!P[O]){var F=u(w,L);F&&F[O]&&(w[L]=P.value,P={configurable:p in P?P[p]:F[p],enumerable:f in P?P[f]:F[f],writable:!1})}return a(w,L,P)}:a:function(w,L,P){if(n(w),L=s(L),n(P),i)try{return a(w,L,P)}catch{}if("get"in P||"set"in P)throw new c("Accessors not supported");return"value"in P&&(w[L]=P.value),w}},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),f=Object.getOwnPropertyDescriptor;l.f=t?f:function(O,x){if(O=s(O),x=c(x),u)try{return f(O,x)}catch{}if(a(O,x))return n(!i(o.f,O,x),O[x])}},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 f=o(a),p=0,O=[],x;for(x in f)!i(s,x)&&i(f,x)&&c(O,x);for(;u.length>p;)i(f,x=u[p++])&&(~n(O,x)||c(O,x));return O}},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 f=o.f(s(u)),p=n.f;return p?c(f,p(u)):f}},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 f=a.exec;if(o(f)){var p=t(f,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,f=e(6676),p=e(4609),O=c("native-string-replace",String.prototype.replace),x=RegExp.prototype.exec,w=x,L=i("".charAt),P=i("".indexOf),F=i("".replace),D=i("".slice),U=function(){var T=/a/,A=/b*/g;return t(x,T,"a"),t(x,A,"a"),T.lastIndex!==0||A.lastIndex!==0}(),d=s.BROKEN_CARET,g=/()??/.exec("")[1]!==void 0,y=U||g||d||f||p;y&&(w=function(A){var N=this,j=u(N),K=o(A),X=j.raw,J,Q,H,W,V,b,m;if(X)return X.lastIndex=N.lastIndex,J=t(w,X,K),N.lastIndex=X.lastIndex,J;var h=j.groups,S=d&&N.sticky,v=t(n,N),E=N.source,I=0,R=K;if(S&&(v=F(v,"y",""),P(v,"g")===-1&&(v+="g"),R=D(K,N.lastIndex),N.lastIndex>0&&(!N.multiline||N.multiline&&L(K,N.lastIndex-1)!==`
|
|
77
77
|
`)&&(E="(?: "+E+")",R=" "+R,I++),Q=new RegExp("^(?:"+E+")",v)),g&&(Q=new RegExp("^"+E+"$(?!\\s)",v)),U&&(H=N.lastIndex),W=t(x,S?Q:N,R),S?W?(W.input=D(W.input,I),W[0]=D(W[0],I),W.index=N.lastIndex,N.lastIndex+=W[0].length):N.lastIndex=0:U&&W&&(N.lastIndex=N.global?W.index+W[0].length:H),g&&W&&W.length>1&&t(O,W[0],Q,function(){for(V=1;V<arguments.length-2;V++)arguments[V]===void 0&&(W[V]=void 0)}),W&&h)for(W.groups=b=a(null),V=0;V<h.length;V++)m=h[V],b[m[0]]=W[m[1]];return W}),r.exports=w},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
|
-
`)&&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(f){return function(p,O){var x=o(n(p)),w=i(O),L=x.length,P,F;return w<0||w>=L?f?"":void 0:(P=c(x,w),P<55296||P>56319||w+1===L||(F=c(x,w+1))<56320||F>57343?f?s(x,w):P:f?a(x,w,w+2):(P-55296<<10)+(F-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(f,p){if(!i(f)||o(f))return f;var O=n(f,u),x;if(O){if(p===void 0&&(p="default"),x=t(O,f,p),!i(x)||o(x))return x;throw new a("Can't convert object to primitive value")}return p===void 0&&(p="number"),s(f,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"),f=c?a.for||a:a&&a.withoutSetter||n;r.exports=function(p){return o(u,p)||(u[p]=s&&o(a,p)?a[p]:f("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),f=e(2913),p=e(3113),O=e(1113),x=e(4282),w=e(1942),L=x("replace"),P=TypeError,F=o("".indexOf),D=o("".replace),U=o("".slice),d=Math.max;t({target:"String",proto:!0},{replaceAll:function(y,T){var A=n(this),N,j,K,X,J,Q,H,W,V,b=0,m=0,h="";if(!c(y)){if(N=a(y),N&&(j=u(n(p(y))),!~F(j,"g")))throw new P("`.replaceAll` does not allow non-global regexes");if(K=f(y,L),K)return i(K,y,A,T);if(w&&N)return D(u(A),y,T)}for(X=u(A),J=u(y),Q=s(T),Q||(T=u(T)),H=J.length,W=d(1,H),b=F(X,J);b!==-1;)V=Q?u(T(J,b,X)):O(J,X,b,[],void 0,T),h+=U(X,m,b)+V,m=b+H,b=b+W>X.length?-1:F(X,J,b+W);return m<X.length&&(h+=U(X,m)),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),f=e(6744),p=e(7611),O=e(2618),x=e(9509),w=e(154),L=e(2913),P=e(1113),F=e(4721),D=e(4282),U=D("replace"),d=Math.max,g=Math.min,y=o([].concat),T=o([].push),A=o("".indexOf),N=o("".slice),j=function(Q){return Q===void 0?Q:String(Q)},K=function(){return"a".replace(/./,"$0")==="$0"}(),X=function(){return/./[U]?/./[U]("a","$0")==="":!1}(),J=!s(function(){var Q=/./;return Q.exec=function(){var H=[];return H.groups={a:"7"},H},"".replace(Q,"$<a>")!=="7"});n("replace",function(Q,H,W){var V=X?"$":"$0";return[function(m,h){var S=x(this),v=u(m)?void 0:L(m,U);return v?i(v,m,S,h):i(H,O(S),m,h)},function(b,m){var h=c(this),S=O(b);if(typeof m=="string"&&A(m,V)===-1&&A(m,"$<")===-1){var v=W(H,h,S,m);if(v.done)return v.value}var E=a(m);E||(m=O(m));var I=h.global,R;I&&(R=h.unicode,h.lastIndex=0);for(var k=[],z;z=F(h,S),!(z===null||(T(k,z),!I));){var te=O(z[0]);te===""&&(h.lastIndex=w(S,p(h.lastIndex),R))}for(var q="",ie=0,se=0;se<k.length;se++){z=k[se];for(var ue=O(z[0]),ae=d(g(f(z.index),S.length),0),Z=[],C,G=1;G<z.length;G++)T(Z,j(z[G]));var $=z.groups;if(E){var _=y([ue],Z,ae,S);$!==void 0&&T(_,$),C=O(t(m,void 0,_))}else C=P(ue,S,ae,Z,$,m);ae>=ie&&(q+=N(S,ie,ae)+C,ie=ae+ue.length)}return q+N(S,ie)}]},!J||!K||X)},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 f={};for(var p in a)Object.prototype.hasOwnProperty.call(a,p)&&u.indexOf(p)<0&&(f[p]=a[p]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var O=0,p=Object.getOwnPropertySymbols(a);O<p.length;O++)u.indexOf(p[O])<0&&Object.prototype.propertyIsEnumerable.call(a,p[O])&&(f[p[O]]=a[p[O]]);return f}function i(a,u,f,p){var O=arguments.length,x=O<3?u:p===null?p=Object.getOwnPropertyDescriptor(u,f):p,w;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")x=Reflect.decorate(a,u,f,p);else for(var L=a.length-1;L>=0;L--)(w=a[L])&&(x=(O<3?w(x):O>3?w(u,f,x):w(u,f))||x);return O>3&&x&&Object.defineProperty(u,f,x),x}function o(a,u){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(a,u)}function n(a,u,f,p){function O(x){return x instanceof f?x:new f(function(w){w(x)})}return new(f||(f=Promise))(function(x,w){function L(D){try{F(p.next(D))}catch(U){w(U)}}function P(D){try{F(p.throw(D))}catch(U){w(U)}}function F(D){D.done?x(D.value):O(D.value).then(L,P)}F((p=p.apply(a,u||[])).next())})}function s(a,u,f,p){if(f==="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 f==="m"?p:f==="a"?p.call(a):p?p.value:u.get(a)}function c(a,u,f,p,O){if(p==="m")throw new TypeError("Private method is not writable");if(p==="a"&&!O)throw new TypeError("Private accessor was defined without a setter");if(typeof u=="function"?a!==u||!O:!u.has(a))throw new TypeError("Cannot write private member to an object whose class did not declare it");return p==="a"?O.call(a,f):O?O.value=f:u.set(a,f),f}},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,f,p){if(f==="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 f==="m"?p:f==="a"?p.call(a):p?p.value:u.get(a)}var o,n;const s="default";class c{static getInstance(u){let f=u?i(this,o,"f",n)[u]:i(this,o,"f",n)[s];return f||(f=i(this,o,"f",n)[u||s]=new t.EventBus),f}}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"},9742:(r,l,e)=>{"use strict";e.d(l,{Ak:()=>n});let t=s=>crypto.getRandomValues(new Uint8Array(s)),i=(s,c,a)=>{let u=(2<<Math.log(s.length-1)/Math.LN2)-1,f=-~(1.6*u*c/s.length);return(p=c)=>{let O="";for(;;){let x=a(f),w=f;for(;w--;)if(O+=s[x[w]&u]||"",O.length===p)return O}}},o=(s,c=21)=>i(s,c,t),n=(s=21)=>crypto.getRandomValues(new Uint8Array(s)).reduce((c,a)=>(a&=63,a<36?c+=a.toString(36):a<62?c+=(a-26).toString(36).toUpperCase():a>62?c+="-":c+="_",c),"")}},ge={};function M(r){var l=ge[r];if(l!==void 0)return l.exports;var e=ge[r]={id:r,loaded:!1,exports:{}};return be[r].call(e.exports,e,e.exports,M),e.loaded=!0,e.exports}M.m=be,M.c=ge,M.n=r=>{var l=r&&r.__esModule?()=>r.default:()=>r;return M.d(l,{a:l}),l},(()=>{var r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,l;M.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);M.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,M.d(i,o),i}})(),M.d=(r,l)=>{for(var e in l)M.o(l,e)&&!M.o(r,e)&&Object.defineProperty(r,e,{enumerable:!0,get:l[e]})},M.f={},M.e=r=>Promise.all(Object.keys(M.f).reduce((l,e)=>(M.f[e](r,l),l),[])),M.u=r=>""+r+".index.js",M.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),M.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),M.o=(r,l)=>Object.prototype.hasOwnProperty.call(r,l),(()=>{var r={},l="@icanbwell/composite:";M.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,M.nc&&n.setAttribute("nonce",M.nc),n.setAttribute("data-webpack",l+i),n.src=e),r[e]=[t];var f=(O,x)=>{n.onerror=n.onload=null,clearTimeout(p);var w=r[e];if(delete r[e],n.parentNode&&n.parentNode.removeChild(n),w&&w.forEach(L=>L(x)),O)return O(x)},p=setTimeout(f.bind(null,void 0,{type:"timeout",target:n}),12e4);n.onerror=f.bind(null,n.onerror),n.onload=f.bind(null,n.onload),s&&document.head.appendChild(n)}})(),M.r=r=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})},M.nmd=r=>(r.paths=[],r.children||(r.children=[]),r),(()=>{M.S={};var r={},l={};M.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];M.o(M.S,e)||(M.S[e]={});var o=M.S[e],n=f=>{typeof console<"u"&&console.warn&&console.warn(f)},s="@icanbwell/composite",c=(f,p,O,x)=>{var w=o[f]=o[f]||{},L=w[p];(!L||!L.loaded&&(!x!=!L.eager?x:s>L.from))&&(w[p]={get:O,from:s,eager:!!x})},a=f=>{var p=L=>n("Initialization of sharing external failed: "+L);try{var O=M(f);if(!O)return;var x=L=>L&&L.init&&L.init(M.S[e],t);if(O.then)return u.push(O.then(x,p));var w=x(O);if(w&&w.then)return u.push(w.catch(p))}catch(L){p(L)}},u=[];switch(e){case"default":c("@icanbwell/events","2.3.0",()=>()=>M(5848),1),c("@icanbwell/react-native-webview-invoke/browser","0.6.4",()=>()=>M(7800),1);break}return u.length?r[e]=Promise.all(u).then(()=>r[e]=1):r[e]=1}}})(),(()=>{var r;M.g.importScripts&&(r=M.g.location+"");var l=M.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(/\/[^\/]+$/,"/"),M.p=r})(),(()=>{var r=b=>{var m=v=>v.split(".").map(E=>+E==E?+E:E),h=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(b),S=h[1]?m(h[1]):[];return h[2]&&(S.length++,S.push.apply(S,m(h[2]))),h[3]&&(S.push([]),S.push.apply(S,m(h[3]))),S},l=(b,m)=>{b=r(b),m=r(m);for(var h=0;;){if(h>=b.length)return h<m.length&&(typeof m[h])[0]!="u";var S=b[h],v=(typeof S)[0];if(h>=m.length)return v=="u";var E=m[h],I=(typeof E)[0];if(v!=I)return v=="o"&&I=="n"||I=="s"||v=="u";if(v!="o"&&v!="u"&&S!=E)return S<E;h++}},e=b=>{var m=b[0],h="";if(b.length===1)return"*";if(m+.5){h+=m==0?">=":m==-1?"<":m==1?"^":m==2?"~":m>0?"=":"!=";for(var S=1,v=1;v<b.length;v++)S--,h+=(typeof(I=b[v]))[0]=="u"?"-":(S>0?".":"")+(S=2,I);return h}var E=[];for(v=1;v<b.length;v++){var I=b[v];E.push(I===0?"not("+R()+")":I===1?"("+R()+" || "+R()+")":I===2?E.pop()+" "+E.pop():e(I))}return R();function R(){return E.pop().replace(/^\((.+)\)$/,"$1")}},t=(b,m)=>{if(0 in b){m=r(m);var h=b[0],S=h<0;S&&(h=-h-1);for(var v=0,E=1,I=!0;;E++,v++){var R,k,z=E<b.length?(typeof b[E])[0]:"";if(v>=m.length||(k=(typeof(R=m[v]))[0])=="o")return!I||(z=="u"?E>h&&!S:z==""!=S);if(k=="u"){if(!I||z!="u")return!1}else if(I)if(z==k)if(E<=h){if(R!=b[E])return!1}else{if(S?R>b[E]:R<b[E])return!1;R!=b[E]&&(I=!1)}else if(z!="s"&&z!="n"){if(S||E<=h)return!1;I=!1,E--}else{if(E<=h||k<z!=S)return!1;I=!1}else z!="s"&&z!="n"&&(I=!1,E--)}}var te=[],q=te.pop.bind(te);for(v=1;v<b.length;v++){var ie=b[v];te.push(ie==1?q()|q():ie==2?q()&q():ie?t(ie,m):!q())}return!!q()},i=(b,m)=>{var h=M.S[b];if(!h||!M.o(h,m))throw new Error("Shared module "+m+" doesn't exist in shared scope "+b);return h},o=(b,S)=>{var h=b[S],S=Object.keys(h).reduce((v,E)=>!v||l(v,E)?E:v,0);return S&&h[S]},n=(b,m)=>{var h=b[m];return Object.keys(h).reduce((S,v)=>!S||!h[S].loaded&&l(S,v)?v:S,0)},s=(b,m,h,S)=>"Unsatisfied version "+h+" from "+(h&&b[m][h].from)+" of shared singleton module "+m+" (required "+e(S)+")",c=(b,m,h,S)=>{var v=n(b,h);return L(b[h][v])},a=(b,m,h,S)=>{var v=n(b,h);return t(S,v)||x(s(b,h,v,S)),L(b[h][v])},u=(b,m,h,S)=>{var v=n(b,h);if(!t(S,v))throw new Error(s(b,h,v,S));return L(b[h][v])},f=(b,v,h)=>{var S=b[v],v=Object.keys(S).reduce((E,I)=>t(h,I)&&(!E||l(E,I))?I:E,0);return v&&S[v]},p=(b,m,h,S)=>{var v=b[h];return"No satisfying version ("+e(S)+") of shared module "+h+" found in shared scope "+m+`.
|
|
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(f){return function(p,O){var x=o(n(p)),w=i(O),L=x.length,P,F;return w<0||w>=L?f?"":void 0:(P=c(x,w),P<55296||P>56319||w+1===L||(F=c(x,w+1))<56320||F>57343?f?s(x,w):P:f?a(x,w,w+2):(P-55296<<10)+(F-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(f,p){if(!i(f)||o(f))return f;var O=n(f,u),x;if(O){if(p===void 0&&(p="default"),x=t(O,f,p),!i(x)||o(x))return x;throw new a("Can't convert object to primitive value")}return p===void 0&&(p="number"),s(f,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"),f=c?a.for||a:a&&a.withoutSetter||n;r.exports=function(p){return o(u,p)||(u[p]=s&&o(a,p)?a[p]:f("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),f=e(2913),p=e(3113),O=e(1113),x=e(4282),w=e(1942),L=x("replace"),P=TypeError,F=o("".indexOf),D=o("".replace),U=o("".slice),d=Math.max;t({target:"String",proto:!0},{replaceAll:function(y,T){var A=n(this),N,j,K,X,J,Q,H,W,V,b=0,m=0,h="";if(!c(y)){if(N=a(y),N&&(j=u(n(p(y))),!~F(j,"g")))throw new P("`.replaceAll` does not allow non-global regexes");if(K=f(y,L),K)return i(K,y,A,T);if(w&&N)return D(u(A),y,T)}for(X=u(A),J=u(y),Q=s(T),Q||(T=u(T)),H=J.length,W=d(1,H),b=F(X,J);b!==-1;)V=Q?u(T(J,b,X)):O(J,X,b,[],void 0,T),h+=U(X,m,b)+V,m=b+H,b=b+W>X.length?-1:F(X,J,b+W);return m<X.length&&(h+=U(X,m)),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),f=e(6744),p=e(7611),O=e(2618),x=e(9509),w=e(154),L=e(2913),P=e(1113),F=e(4721),D=e(4282),U=D("replace"),d=Math.max,g=Math.min,y=o([].concat),T=o([].push),A=o("".indexOf),N=o("".slice),j=function(Q){return Q===void 0?Q:String(Q)},K=function(){return"a".replace(/./,"$0")==="$0"}(),X=function(){return/./[U]?/./[U]("a","$0")==="":!1}(),J=!s(function(){var Q=/./;return Q.exec=function(){var H=[];return H.groups={a:"7"},H},"".replace(Q,"$<a>")!=="7"});n("replace",function(Q,H,W){var V=X?"$":"$0";return[function(m,h){var S=x(this),v=u(m)?void 0:L(m,U);return v?i(v,m,S,h):i(H,O(S),m,h)},function(b,m){var h=c(this),S=O(b);if(typeof m=="string"&&A(m,V)===-1&&A(m,"$<")===-1){var v=W(H,h,S,m);if(v.done)return v.value}var E=a(m);E||(m=O(m));var I=h.global,R;I&&(R=h.unicode,h.lastIndex=0);for(var k=[],z;z=F(h,S),!(z===null||(T(k,z),!I));){var te=O(z[0]);te===""&&(h.lastIndex=w(S,p(h.lastIndex),R))}for(var q="",ie=0,se=0;se<k.length;se++){z=k[se];for(var ae=O(z[0]),le=d(g(f(z.index),S.length),0),Z=[],C,G=1;G<z.length;G++)T(Z,j(z[G]));var $=z.groups;if(E){var _=y([ae],Z,le,S);$!==void 0&&T(_,$),C=O(t(m,void 0,_))}else C=P(ae,S,le,Z,$,m);le>=ie&&(q+=N(S,ie,le)+C,ie=le+ae.length)}return q+N(S,ie)}]},!J||!K||X)},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 f={};for(var p in a)Object.prototype.hasOwnProperty.call(a,p)&&u.indexOf(p)<0&&(f[p]=a[p]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var O=0,p=Object.getOwnPropertySymbols(a);O<p.length;O++)u.indexOf(p[O])<0&&Object.prototype.propertyIsEnumerable.call(a,p[O])&&(f[p[O]]=a[p[O]]);return f}function i(a,u,f,p){var O=arguments.length,x=O<3?u:p===null?p=Object.getOwnPropertyDescriptor(u,f):p,w;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")x=Reflect.decorate(a,u,f,p);else for(var L=a.length-1;L>=0;L--)(w=a[L])&&(x=(O<3?w(x):O>3?w(u,f,x):w(u,f))||x);return O>3&&x&&Object.defineProperty(u,f,x),x}function o(a,u){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(a,u)}function n(a,u,f,p){function O(x){return x instanceof f?x:new f(function(w){w(x)})}return new(f||(f=Promise))(function(x,w){function L(D){try{F(p.next(D))}catch(U){w(U)}}function P(D){try{F(p.throw(D))}catch(U){w(U)}}function F(D){D.done?x(D.value):O(D.value).then(L,P)}F((p=p.apply(a,u||[])).next())})}function s(a,u,f,p){if(f==="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 f==="m"?p:f==="a"?p.call(a):p?p.value:u.get(a)}function c(a,u,f,p,O){if(p==="m")throw new TypeError("Private method is not writable");if(p==="a"&&!O)throw new TypeError("Private accessor was defined without a setter");if(typeof u=="function"?a!==u||!O:!u.has(a))throw new TypeError("Cannot write private member to an object whose class did not declare it");return p==="a"?O.call(a,f):O?O.value=f:u.set(a,f),f}},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,f,p){if(f==="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 f==="m"?p:f==="a"?p.call(a):p?p.value:u.get(a)}var o,n;const s="default";class c{static getInstance(u){let f=u?i(this,o,"f",n)[u]:i(this,o,"f",n)[s];return f||(f=i(this,o,"f",n)[u||s]=new t.EventBus),f}}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"},9742:(r,l,e)=>{"use strict";e.d(l,{Ak:()=>n});let t=s=>crypto.getRandomValues(new Uint8Array(s)),i=(s,c,a)=>{let u=(2<<Math.log(s.length-1)/Math.LN2)-1,f=-~(1.6*u*c/s.length);return(p=c)=>{let O="";for(;;){let x=a(f),w=f;for(;w--;)if(O+=s[x[w]&u]||"",O.length===p)return O}}},o=(s,c=21)=>i(s,c,t),n=(s=21)=>crypto.getRandomValues(new Uint8Array(s)).reduce((c,a)=>(a&=63,a<36?c+=a.toString(36):a<62?c+=(a-26).toString(36).toUpperCase():a>62?c+="-":c+="_",c),"")}},ge={};function M(r){var l=ge[r];if(l!==void 0)return l.exports;var e=ge[r]={id:r,loaded:!1,exports:{}};return be[r].call(e.exports,e,e.exports,M),e.loaded=!0,e.exports}M.m=be,M.c=ge,M.n=r=>{var l=r&&r.__esModule?()=>r.default:()=>r;return M.d(l,{a:l}),l},(()=>{var r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,l;M.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);M.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,M.d(i,o),i}})(),M.d=(r,l)=>{for(var e in l)M.o(l,e)&&!M.o(r,e)&&Object.defineProperty(r,e,{enumerable:!0,get:l[e]})},M.f={},M.e=r=>Promise.all(Object.keys(M.f).reduce((l,e)=>(M.f[e](r,l),l),[])),M.u=r=>""+r+".index.js",M.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),M.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),M.o=(r,l)=>Object.prototype.hasOwnProperty.call(r,l),(()=>{var r={},l="@icanbwell/composite:";M.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,M.nc&&n.setAttribute("nonce",M.nc),n.setAttribute("data-webpack",l+i),n.src=e),r[e]=[t];var f=(O,x)=>{n.onerror=n.onload=null,clearTimeout(p);var w=r[e];if(delete r[e],n.parentNode&&n.parentNode.removeChild(n),w&&w.forEach(L=>L(x)),O)return O(x)},p=setTimeout(f.bind(null,void 0,{type:"timeout",target:n}),12e4);n.onerror=f.bind(null,n.onerror),n.onload=f.bind(null,n.onload),s&&document.head.appendChild(n)}})(),M.r=r=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})},M.nmd=r=>(r.paths=[],r.children||(r.children=[]),r),(()=>{M.S={};var r={},l={};M.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];M.o(M.S,e)||(M.S[e]={});var o=M.S[e],n=f=>{typeof console<"u"&&console.warn&&console.warn(f)},s="@icanbwell/composite",c=(f,p,O,x)=>{var w=o[f]=o[f]||{},L=w[p];(!L||!L.loaded&&(!x!=!L.eager?x:s>L.from))&&(w[p]={get:O,from:s,eager:!!x})},a=f=>{var p=L=>n("Initialization of sharing external failed: "+L);try{var O=M(f);if(!O)return;var x=L=>L&&L.init&&L.init(M.S[e],t);if(O.then)return u.push(O.then(x,p));var w=x(O);if(w&&w.then)return u.push(w.catch(p))}catch(L){p(L)}},u=[];switch(e){case"default":c("@icanbwell/events","2.3.0",()=>()=>M(5848),1),c("@icanbwell/react-native-webview-invoke/browser","0.6.4",()=>()=>M(7800),1);break}return u.length?r[e]=Promise.all(u).then(()=>r[e]=1):r[e]=1}}})(),(()=>{var r;M.g.importScripts&&(r=M.g.location+"");var l=M.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(/\/[^\/]+$/,"/"),M.p=r})(),(()=>{var r=b=>{var m=v=>v.split(".").map(E=>+E==E?+E:E),h=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(b),S=h[1]?m(h[1]):[];return h[2]&&(S.length++,S.push.apply(S,m(h[2]))),h[3]&&(S.push([]),S.push.apply(S,m(h[3]))),S},l=(b,m)=>{b=r(b),m=r(m);for(var h=0;;){if(h>=b.length)return h<m.length&&(typeof m[h])[0]!="u";var S=b[h],v=(typeof S)[0];if(h>=m.length)return v=="u";var E=m[h],I=(typeof E)[0];if(v!=I)return v=="o"&&I=="n"||I=="s"||v=="u";if(v!="o"&&v!="u"&&S!=E)return S<E;h++}},e=b=>{var m=b[0],h="";if(b.length===1)return"*";if(m+.5){h+=m==0?">=":m==-1?"<":m==1?"^":m==2?"~":m>0?"=":"!=";for(var S=1,v=1;v<b.length;v++)S--,h+=(typeof(I=b[v]))[0]=="u"?"-":(S>0?".":"")+(S=2,I);return h}var E=[];for(v=1;v<b.length;v++){var I=b[v];E.push(I===0?"not("+R()+")":I===1?"("+R()+" || "+R()+")":I===2?E.pop()+" "+E.pop():e(I))}return R();function R(){return E.pop().replace(/^\((.+)\)$/,"$1")}},t=(b,m)=>{if(0 in b){m=r(m);var h=b[0],S=h<0;S&&(h=-h-1);for(var v=0,E=1,I=!0;;E++,v++){var R,k,z=E<b.length?(typeof b[E])[0]:"";if(v>=m.length||(k=(typeof(R=m[v]))[0])=="o")return!I||(z=="u"?E>h&&!S:z==""!=S);if(k=="u"){if(!I||z!="u")return!1}else if(I)if(z==k)if(E<=h){if(R!=b[E])return!1}else{if(S?R>b[E]:R<b[E])return!1;R!=b[E]&&(I=!1)}else if(z!="s"&&z!="n"){if(S||E<=h)return!1;I=!1,E--}else{if(E<=h||k<z!=S)return!1;I=!1}else z!="s"&&z!="n"&&(I=!1,E--)}}var te=[],q=te.pop.bind(te);for(v=1;v<b.length;v++){var ie=b[v];te.push(ie==1?q()|q():ie==2?q()&q():ie?t(ie,m):!q())}return!!q()},i=(b,m)=>{var h=M.S[b];if(!h||!M.o(h,m))throw new Error("Shared module "+m+" doesn't exist in shared scope "+b);return h},o=(b,S)=>{var h=b[S],S=Object.keys(h).reduce((v,E)=>!v||l(v,E)?E:v,0);return S&&h[S]},n=(b,m)=>{var h=b[m];return Object.keys(h).reduce((S,v)=>!S||!h[S].loaded&&l(S,v)?v:S,0)},s=(b,m,h,S)=>"Unsatisfied version "+h+" from "+(h&&b[m][h].from)+" of shared singleton module "+m+" (required "+e(S)+")",c=(b,m,h,S)=>{var v=n(b,h);return L(b[h][v])},a=(b,m,h,S)=>{var v=n(b,h);return t(S,v)||x(s(b,h,v,S)),L(b[h][v])},u=(b,m,h,S)=>{var v=n(b,h);if(!t(S,v))throw new Error(s(b,h,v,S));return L(b[h][v])},f=(b,v,h)=>{var S=b[v],v=Object.keys(S).reduce((E,I)=>t(h,I)&&(!E||l(E,I))?I:E,0);return v&&S[v]},p=(b,m,h,S)=>{var v=b[h];return"No satisfying version ("+e(S)+") of shared module "+h+" found in shared scope "+m+`.
|
|
79
79
|
Available versions: `+Object.keys(v).map(E=>E+" from "+v[E].from).join(", ")},O=(b,m,h,S)=>{var v=f(b,h,S);if(v)return L(v);throw new Error(p(b,m,h,S))},x=b=>{typeof console<"u"&&console.warn&&console.warn(b)},w=(b,m,h,S)=>{x(p(b,m,h,S))},L=b=>(b.loaded=1,b.get()),P=b=>function(m,h,S,v){var E=M.I(m);return E&&E.then?E.then(b.bind(b,m,M.S[m],h,S,v)):b(m,M.S[m],h,S,v)},F=P((b,m,h)=>(i(b,h),L(o(m,h)))),D=P((b,m,h,S)=>m&&M.o(m,h)?L(o(m,h)):S()),U=P((b,m,h,S)=>(i(b,h),L(f(m,h,S)||w(m,b,h,S)||o(m,h)))),d=P((b,m,h)=>(i(b,h),c(m,b,h))),g=P((b,m,h,S)=>(i(b,h),a(m,b,h,S))),y=P((b,m,h,S)=>(i(b,h),O(m,b,h,S))),T=P((b,m,h,S)=>(i(b,h),u(m,b,h,S))),A=P((b,m,h,S,v)=>!m||!M.o(m,h)?v():L(f(m,h,S)||w(m,b,h,S)||o(m,h))),N=P((b,m,h,S)=>!m||!M.o(m,h)?S():c(m,b,h)),j=P((b,m,h,S,v)=>!m||!M.o(m,h)?v():a(m,b,h,S)),K=P((b,m,h,S,v)=>{var E=m&&M.o(m,h)&&f(m,h,S);return E?L(E):v()}),X=P((b,m,h,S,v)=>!m||!M.o(m,h)?v():u(m,b,h,S)),J={},Q={692:()=>j("default","@icanbwell/react-native-webview-invoke/browser",[2,0,6,2],()=>()=>M(7800)),8561:()=>j("default","@icanbwell/events",[3,0,0,1],()=>()=>M(5848))},H=[8561];H.forEach(b=>{M.m[b]=m=>{J[b]=0,delete M.c[b];var h=Q[b]();if(typeof h!="function")throw new Error("Shared module is not available for eager consumption: "+b);m.exports=h()}});var W={692:[692]},V={};M.f.consumes=(b,m)=>{M.o(W,b)&&W[b].forEach(h=>{if(M.o(J,h))return m.push(J[h]);if(!V[h]){var S=I=>{J[h]=0,M.m[h]=R=>{delete M.c[h],R.exports=I()}};V[h]=!0;var v=I=>{delete J[h],M.m[h]=R=>{throw delete M.c[h],I}};try{var E=Q[h]();E.then?m.push(J[h]=E.then(S).catch(v)):S(E)}catch(I){v(I)}}})}})(),(()=>{var r={792:0};M.f.j=(t,i)=>{var o=M.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,f)=>o=r[t]=[u,f]);i.push(o[2]=n);var s=M.p+M.u(t),c=new Error,a=u=>{if(M.o(r,t)&&(o=r[t],o!==0&&(r[t]=void 0),o)){var f=u&&(u.type==="load"?"missing":u.type),p=u&&u.target&&u.target.src;c.message="Loading chunk "+t+` failed.
|
|
80
80
|
(`+f+": "+p+")",c.name="ChunkLoadError",c.type=f,c.request=p,o[1](c)}};M.l(s,a,"chunk-"+t,t)}else r[t]=0};var l=(t,i)=>{var[o,n,s]=i,c,a,u=0;if(o.some(p=>r[p]!==0)){for(c in n)M.o(n,c)&&(M.m[c]=n[c]);if(s)var f=s(M)}for(t&&t(i);u<o.length;u++)a=o[u],M.o(r,a)&&r[a]&&r[a][0](),r[a]=0},e=globalThis.webpackChunk_icanbwell_composite=globalThis.webpackChunk_icanbwell_composite||[];e.forEach(l.bind(null,0)),e.push=l.bind(null,e.push.bind(e))})();var Le=M(6594)})();
|
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.376.
|
|
1
|
+
import{jsx as i}from"react/jsx-runtime";import{ComponentView as o}from"@icanbwell/native-components";var p="@icanbwell/composite",s="1.376.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.500.3",j="@icanbwell/composite. repo version: 0.500.3",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 V="composite";var g=Object.defineProperty,h=Object.defineProperties,P=Object.getOwnPropertyDescriptors,n=Object.getOwnPropertySymbols,x=Object.prototype.hasOwnProperty,C=Object.prototype.propertyIsEnumerable,a=(r,e,t)=>e in r?g(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)=>h(r,P(e));const N=r=>i(o,M(E({},r),{version:D.version,name:V}));export{N as Composite};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@icanbwell/composite",
|
|
3
|
-
"version": "1.376.
|
|
3
|
+
"version": "1.376.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.500.
|
|
43
|
-
"description": "@icanbwell/composite. repo version: 0.500.
|
|
42
|
+
"repoVersion": "0.500.3",
|
|
43
|
+
"description": "@icanbwell/composite. repo version: 0.500.3"
|
|
44
44
|
}
|
package/types/index.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import type { HTMLAttributes } from 'react'
|
|
1
|
+
import type { HTMLAttributes } from 'react';
|
|
2
2
|
|
|
3
|
-
type BwellCompositeV1 = HTMLAttributes<HTMLDivElement
|
|
3
|
+
type BwellCompositeV1 = HTMLAttributes<HTMLDivElement>;
|
|
4
4
|
|
|
5
|
-
export default BwellCompositeV1
|
|
5
|
+
export default BwellCompositeV1;
|
|
6
6
|
|
|
7
7
|
declare global {
|
|
8
8
|
// Augment JSX namespace within global to include custom element for React usage
|
|
9
9
|
// eslint-disable-next-line @typescript-eslint/no-namespace
|
|
10
10
|
namespace JSX {
|
|
11
11
|
interface IntrinsicElements {
|
|
12
|
-
'bwell-composite': BwellCompositeV1
|
|
12
|
+
'bwell-composite': BwellCompositeV1;
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
15
|
// TODO: Additional TS augmentation for other frameworks?
|