@icanbwell/composite 1.1058.0 → 1.1058.1-alpha.2
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/20.index.js +1 -1
- package/20.index.js.map +1 -1
- package/237.index.js +19 -0
- package/237.index.js.map +1 -0
- package/279.index.js +1 -1
- package/279.index.js.map +1 -1
- package/index.js +6 -6
- package/index.js.map +1 -1
- package/native.js +1 -1
- package/package.json +2 -2
- package/897.index.js +0 -19
- package/897.index.js.map +0 -1
package/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
(()=>{var Se={3081:(i,c,e)=>{"use strict";e.d(c,{h:()=>a});async function t(){await e.I("default");const n=window.__feature_hub_feature_app_module_container__;if(!n)throw new Error('The name in the ModuleFederationPlugin must be "__feature_hub_feature_app_module_container__".');return window.__feature_hub_feature_app_module_container__=void 0,await n.init(e.S.default),(await n.get("featureAppModule"))()}async function a(n){return new Promise((r,s)=>{const u=document.createElement("script");u.src=n,u.type="text/javascript",u.async=!0,u.onload=()=>{t().then(r).catch(s),document.head.removeChild(u)},u.onerror=()=>{s(new Error("Could not load federated module.")),document.head.removeChild(u)},document.head.appendChild(u)})}},5453:(i,c,e)=>{"use strict";e.r(c),e.d(c,{__assign:()=>n,__asyncDelegator:()=>p,__asyncGenerator:()=>$,__asyncValues:()=>y,__await:()=>W,__awaiter:()=>d,__classPrivateFieldGet:()=>B,__classPrivateFieldIn:()=>X,__classPrivateFieldSet:()=>Y,__createBinding:()=>P,__decorate:()=>s,__exportStar:()=>L,__extends:()=>a,__generator:()=>m,__importDefault:()=>D,__importStar:()=>G,__makeTemplateObject:()=>O,__metadata:()=>f,__param:()=>u,__read:()=>I,__rest:()=>r,__spread:()=>C,__spreadArray:()=>K,__spreadArrays:()=>j,__values:()=>_});var t=function(g,w){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(S,E){S.__proto__=E}||function(S,E){for(var F in E)Object.prototype.hasOwnProperty.call(E,F)&&(S[F]=E[F])},t(g,w)};function a(g,w){if(typeof w!="function"&&w!==null)throw new TypeError("Class extends value "+String(w)+" is not a constructor or null");t(g,w);function S(){this.constructor=g}g.prototype=w===null?Object.create(w):(S.prototype=w.prototype,new S)}var n=function(){return n=Object.assign||function(w){for(var S,E=1,F=arguments.length;E<F;E++){S=arguments[E];for(var l in S)Object.prototype.hasOwnProperty.call(S,l)&&(w[l]=S[l])}return w},n.apply(this,arguments)};function r(g,w){var S={};for(var E in g)Object.prototype.hasOwnProperty.call(g,E)&&w.indexOf(E)<0&&(S[E]=g[E]);if(g!=null&&typeof Object.getOwnPropertySymbols=="function")for(var F=0,E=Object.getOwnPropertySymbols(g);F<E.length;F++)w.indexOf(E[F])<0&&Object.prototype.propertyIsEnumerable.call(g,E[F])&&(S[E[F]]=g[E[F]]);return S}function s(g,w,S,E){var F=arguments.length,l=F<3?w:E===null?E=Object.getOwnPropertyDescriptor(w,S):E,h;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(g,w,S,E);else for(var v=g.length-1;v>=0;v--)(h=g[v])&&(l=(F<3?h(l):F>3?h(w,S,l):h(w,S))||l);return F>3&&l&&Object.defineProperty(w,S,l),l}function u(g,w){return function(S,E){w(S,E,g)}}function f(g,w){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(g,w)}function d(g,w,S,E){function F(l){return l instanceof S?l:new S(function(h){h(l)})}return new(S||(S=Promise))(function(l,h){function v(b){try{o(E.next(b))}catch(M){h(M)}}function x(b){try{o(E.throw(b))}catch(M){h(M)}}function o(b){b.done?l(b.value):F(b.value).then(v,x)}o((E=E.apply(g,w||[])).next())})}function m(g,w){var S={label:0,sent:function(){if(l[0]&1)throw l[1];return l[1]},trys:[],ops:[]},E,F,l,h;return h={next:v(0),throw:v(1),return:v(2)},typeof Symbol=="function"&&(h[Symbol.iterator]=function(){return this}),h;function v(o){return function(b){return x([o,b])}}function x(o){if(E)throw new TypeError("Generator is already executing.");for(;S;)try{if(E=1,F&&(l=o[0]&2?F.return:o[0]?F.throw||((l=F.return)&&l.call(F),0):F.next)&&!(l=l.call(F,o[1])).done)return l;switch(F=0,l&&(o=[o[0]&2,l.value]),o[0]){case 0:case 1:l=o;break;case 4:return S.label++,{value:o[1],done:!1};case 5:S.label++,F=o[1],o=[0];continue;case 7:o=S.ops.pop(),S.trys.pop();continue;default:if(l=S.trys,!(l=l.length>0&&l[l.length-1])&&(o[0]===6||o[0]===2)){S=0;continue}if(o[0]===3&&(!l||o[1]>l[0]&&o[1]<l[3])){S.label=o[1];break}if(o[0]===6&&S.label<l[1]){S.label=l[1],l=o;break}if(l&&S.label<l[2]){S.label=l[2],S.ops.push(o);break}l[2]&&S.ops.pop(),S.trys.pop();continue}o=w.call(g,S)}catch(b){o=[6,b],F=0}finally{E=l=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}}var P=Object.create?function(g,w,S,E){E===void 0&&(E=S);var F=Object.getOwnPropertyDescriptor(w,S);(!F||("get"in F?!w.__esModule:F.writable||F.configurable))&&(F={enumerable:!0,get:function(){return w[S]}}),Object.defineProperty(g,E,F)}:function(g,w,S,E){E===void 0&&(E=S),g[E]=w[S]};function L(g,w){for(var S in g)S!=="default"&&!Object.prototype.hasOwnProperty.call(w,S)&&P(w,g,S)}function _(g){var w=typeof Symbol=="function"&&Symbol.iterator,S=w&&g[w],E=0;if(S)return S.call(g);if(g&&typeof g.length=="number")return{next:function(){return g&&E>=g.length&&(g=void 0),{value:g&&g[E++],done:!g}}};throw new TypeError(w?"Object is not iterable.":"Symbol.iterator is not defined.")}function I(g,w){var S=typeof Symbol=="function"&&g[Symbol.iterator];if(!S)return g;var E=S.call(g),F,l=[],h;try{for(;(w===void 0||w-- >0)&&!(F=E.next()).done;)l.push(F.value)}catch(v){h={error:v}}finally{try{F&&!F.done&&(S=E.return)&&S.call(E)}finally{if(h)throw h.error}}return l}function C(){for(var g=[],w=0;w<arguments.length;w++)g=g.concat(I(arguments[w]));return g}function j(){for(var g=0,w=0,S=arguments.length;w<S;w++)g+=arguments[w].length;for(var E=Array(g),F=0,w=0;w<S;w++)for(var l=arguments[w],h=0,v=l.length;h<v;h++,F++)E[F]=l[h];return E}function K(g,w,S){if(S||arguments.length===2)for(var E=0,F=w.length,l;E<F;E++)(l||!(E in w))&&(l||(l=Array.prototype.slice.call(w,0,E)),l[E]=w[E]);return g.concat(l||Array.prototype.slice.call(w))}function W(g){return this instanceof W?(this.v=g,this):new W(g)}function $(g,w,S){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var E=S.apply(g,w||[]),F,l=[];return F={},h("next"),h("throw"),h("return"),F[Symbol.asyncIterator]=function(){return this},F;function h(N){E[N]&&(F[N]=function(
|
|
2
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function m(o,b){if(typeof o!="object"||o===null)return o;var M=o[Symbol.toPrimitive];if(M!==void 0){var N=M.call(o,b||"default");if(typeof N!="object")return N;throw new TypeError("@@toPrimitive must return a primitive value.")}return(b==="string"?String:Number)(o)}function P(o){var b=m(o,"string");return typeof b=="symbol"?b:String(b)}function L(){var o={send:[],receive:[],ready:[]};function b(
|
|
1
|
+
(()=>{var Se={3081:(i,c,e)=>{"use strict";e.d(c,{h:()=>a});async function t(){await e.I("default");const n=window.__feature_hub_feature_app_module_container__;if(!n)throw new Error('The name in the ModuleFederationPlugin must be "__feature_hub_feature_app_module_container__".');return window.__feature_hub_feature_app_module_container__=void 0,await n.init(e.S.default),(await n.get("featureAppModule"))()}async function a(n){return new Promise((r,s)=>{const u=document.createElement("script");u.src=n,u.type="text/javascript",u.async=!0,u.onload=()=>{t().then(r).catch(s),document.head.removeChild(u)},u.onerror=()=>{s(new Error("Could not load federated module.")),document.head.removeChild(u)},document.head.appendChild(u)})}},5453:(i,c,e)=>{"use strict";e.r(c),e.d(c,{__assign:()=>n,__asyncDelegator:()=>p,__asyncGenerator:()=>$,__asyncValues:()=>y,__await:()=>W,__awaiter:()=>d,__classPrivateFieldGet:()=>B,__classPrivateFieldIn:()=>X,__classPrivateFieldSet:()=>Y,__createBinding:()=>P,__decorate:()=>s,__exportStar:()=>L,__extends:()=>a,__generator:()=>m,__importDefault:()=>D,__importStar:()=>G,__makeTemplateObject:()=>O,__metadata:()=>f,__param:()=>u,__read:()=>I,__rest:()=>r,__spread:()=>C,__spreadArray:()=>K,__spreadArrays:()=>j,__values:()=>_});var t=function(g,w){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(S,E){S.__proto__=E}||function(S,E){for(var F in E)Object.prototype.hasOwnProperty.call(E,F)&&(S[F]=E[F])},t(g,w)};function a(g,w){if(typeof w!="function"&&w!==null)throw new TypeError("Class extends value "+String(w)+" is not a constructor or null");t(g,w);function S(){this.constructor=g}g.prototype=w===null?Object.create(w):(S.prototype=w.prototype,new S)}var n=function(){return n=Object.assign||function(w){for(var S,E=1,F=arguments.length;E<F;E++){S=arguments[E];for(var l in S)Object.prototype.hasOwnProperty.call(S,l)&&(w[l]=S[l])}return w},n.apply(this,arguments)};function r(g,w){var S={};for(var E in g)Object.prototype.hasOwnProperty.call(g,E)&&w.indexOf(E)<0&&(S[E]=g[E]);if(g!=null&&typeof Object.getOwnPropertySymbols=="function")for(var F=0,E=Object.getOwnPropertySymbols(g);F<E.length;F++)w.indexOf(E[F])<0&&Object.prototype.propertyIsEnumerable.call(g,E[F])&&(S[E[F]]=g[E[F]]);return S}function s(g,w,S,E){var F=arguments.length,l=F<3?w:E===null?E=Object.getOwnPropertyDescriptor(w,S):E,h;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(g,w,S,E);else for(var v=g.length-1;v>=0;v--)(h=g[v])&&(l=(F<3?h(l):F>3?h(w,S,l):h(w,S))||l);return F>3&&l&&Object.defineProperty(w,S,l),l}function u(g,w){return function(S,E){w(S,E,g)}}function f(g,w){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(g,w)}function d(g,w,S,E){function F(l){return l instanceof S?l:new S(function(h){h(l)})}return new(S||(S=Promise))(function(l,h){function v(b){try{o(E.next(b))}catch(M){h(M)}}function x(b){try{o(E.throw(b))}catch(M){h(M)}}function o(b){b.done?l(b.value):F(b.value).then(v,x)}o((E=E.apply(g,w||[])).next())})}function m(g,w){var S={label:0,sent:function(){if(l[0]&1)throw l[1];return l[1]},trys:[],ops:[]},E,F,l,h;return h={next:v(0),throw:v(1),return:v(2)},typeof Symbol=="function"&&(h[Symbol.iterator]=function(){return this}),h;function v(o){return function(b){return x([o,b])}}function x(o){if(E)throw new TypeError("Generator is already executing.");for(;S;)try{if(E=1,F&&(l=o[0]&2?F.return:o[0]?F.throw||((l=F.return)&&l.call(F),0):F.next)&&!(l=l.call(F,o[1])).done)return l;switch(F=0,l&&(o=[o[0]&2,l.value]),o[0]){case 0:case 1:l=o;break;case 4:return S.label++,{value:o[1],done:!1};case 5:S.label++,F=o[1],o=[0];continue;case 7:o=S.ops.pop(),S.trys.pop();continue;default:if(l=S.trys,!(l=l.length>0&&l[l.length-1])&&(o[0]===6||o[0]===2)){S=0;continue}if(o[0]===3&&(!l||o[1]>l[0]&&o[1]<l[3])){S.label=o[1];break}if(o[0]===6&&S.label<l[1]){S.label=l[1],l=o;break}if(l&&S.label<l[2]){S.label=l[2],S.ops.push(o);break}l[2]&&S.ops.pop(),S.trys.pop();continue}o=w.call(g,S)}catch(b){o=[6,b],F=0}finally{E=l=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}}var P=Object.create?function(g,w,S,E){E===void 0&&(E=S);var F=Object.getOwnPropertyDescriptor(w,S);(!F||("get"in F?!w.__esModule:F.writable||F.configurable))&&(F={enumerable:!0,get:function(){return w[S]}}),Object.defineProperty(g,E,F)}:function(g,w,S,E){E===void 0&&(E=S),g[E]=w[S]};function L(g,w){for(var S in g)S!=="default"&&!Object.prototype.hasOwnProperty.call(w,S)&&P(w,g,S)}function _(g){var w=typeof Symbol=="function"&&Symbol.iterator,S=w&&g[w],E=0;if(S)return S.call(g);if(g&&typeof g.length=="number")return{next:function(){return g&&E>=g.length&&(g=void 0),{value:g&&g[E++],done:!g}}};throw new TypeError(w?"Object is not iterable.":"Symbol.iterator is not defined.")}function I(g,w){var S=typeof Symbol=="function"&&g[Symbol.iterator];if(!S)return g;var E=S.call(g),F,l=[],h;try{for(;(w===void 0||w-- >0)&&!(F=E.next()).done;)l.push(F.value)}catch(v){h={error:v}}finally{try{F&&!F.done&&(S=E.return)&&S.call(E)}finally{if(h)throw h.error}}return l}function C(){for(var g=[],w=0;w<arguments.length;w++)g=g.concat(I(arguments[w]));return g}function j(){for(var g=0,w=0,S=arguments.length;w<S;w++)g+=arguments[w].length;for(var E=Array(g),F=0,w=0;w<S;w++)for(var l=arguments[w],h=0,v=l.length;h<v;h++,F++)E[F]=l[h];return E}function K(g,w,S){if(S||arguments.length===2)for(var E=0,F=w.length,l;E<F;E++)(l||!(E in w))&&(l||(l=Array.prototype.slice.call(w,0,E)),l[E]=w[E]);return g.concat(l||Array.prototype.slice.call(w))}function W(g){return this instanceof W?(this.v=g,this):new W(g)}function $(g,w,S){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var E=S.apply(g,w||[]),F,l=[];return F={},h("next"),h("throw"),h("return"),F[Symbol.asyncIterator]=function(){return this},F;function h(N){E[N]&&(F[N]=function(J){return new Promise(function(z,ee){l.push([N,J,z,ee])>1||v(N,J)})})}function v(N,J){try{x(E[N](J))}catch(z){M(l[0][3],z)}}function x(N){N.value instanceof W?Promise.resolve(N.value.v).then(o,b):M(l[0][2],N)}function o(N){v("next",N)}function b(N){v("throw",N)}function M(N,J){N(J),l.shift(),l.length&&v(l[0][0],l[0][1])}}function p(g){var w,S;return w={},E("next"),E("throw",function(F){throw F}),E("return"),w[Symbol.iterator]=function(){return this},w;function E(F,l){w[F]=g[F]?function(h){return(S=!S)?{value:W(g[F](h)),done:F==="return"}:l?l(h):h}:l}}function y(g){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var w=g[Symbol.asyncIterator],S;return w?w.call(g):(g=typeof _=="function"?_(g):g[Symbol.iterator](),S={},E("next"),E("throw"),E("return"),S[Symbol.asyncIterator]=function(){return this},S);function E(l){S[l]=g[l]&&function(h){return new Promise(function(v,x){h=g[l](h),F(v,x,h.done,h.value)})}}function F(l,h,v,x){Promise.resolve(x).then(function(o){l({value:o,done:v})},h)}}function O(g,w){return Object.defineProperty?Object.defineProperty(g,"raw",{value:w}):g.raw=w,g}var T=Object.create?function(g,w){Object.defineProperty(g,"default",{enumerable:!0,value:w})}:function(g,w){g.default=w};function G(g){if(g&&g.__esModule)return g;var w={};if(g!=null)for(var S in g)S!=="default"&&Object.prototype.hasOwnProperty.call(g,S)&&P(w,g,S);return T(w,g),w}function D(g){return g&&g.__esModule?g:{default:g}}function B(g,w,S,E){if(S==="a"&&!E)throw new TypeError("Private accessor was defined without a getter");if(typeof w=="function"?g!==w||!E:!w.has(g))throw new TypeError("Cannot read private member from an object whose class did not declare it");return S==="m"?E:S==="a"?E.call(g):E?E.value:w.get(g)}function Y(g,w,S,E,F){if(E==="m")throw new TypeError("Private method is not writable");if(E==="a"&&!F)throw new TypeError("Private accessor was defined without a setter");if(typeof w=="function"?g!==w||!F:!w.has(g))throw new TypeError("Cannot write private member to an object whose class did not declare it");return E==="a"?F.call(g,S):F?F.value=S:w.set(g,S),S}function X(g,w){if(w===null||typeof w!="object"&&typeof w!="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof g=="function"?w===g:g.has(w)}},7800:(i,c,e)=>{var t=e(9062);i.exports=t,i.exports.default=t},9062:i=>{"use strict";function c(o){return c=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(b){return typeof b}:function(b){return b&&typeof Symbol=="function"&&b.constructor===Symbol&&b!==Symbol.prototype?"symbol":typeof b},c(o)}function e(o,b){if(!(o instanceof b))throw new TypeError("Cannot call a class as a function")}function t(o,b){for(var M=0;M<b.length;M++){var N=b[M];N.enumerable=N.enumerable||!1,N.configurable=!0,"value"in N&&(N.writable=!0),Object.defineProperty(o,P(N.key),N)}}function a(o,b,M){return b&&t(o.prototype,b),M&&t(o,M),Object.defineProperty(o,"prototype",{writable:!1}),o}function n(o){return r(o)||s(o)||u(o)||d()}function r(o){if(Array.isArray(o))return f(o)}function s(o){if(typeof Symbol<"u"&&o[Symbol.iterator]!=null||o["@@iterator"]!=null)return Array.from(o)}function u(o,b){if(!!o){if(typeof o=="string")return f(o,b);var M=Object.prototype.toString.call(o).slice(8,-1);if(M==="Object"&&o.constructor&&(M=o.constructor.name),M==="Map"||M==="Set")return Array.from(o);if(M==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(M))return f(o,b)}}function f(o,b){(b==null||b>o.length)&&(b=o.length);for(var M=0,N=new Array(b);M<b;M++)N[M]=o[M];return N}function d(){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 m(o,b){if(typeof o!="object"||o===null)return o;var M=o[Symbol.toPrimitive];if(M!==void 0){var N=M.call(o,b||"default");if(typeof N!="object")return N;throw new TypeError("@@toPrimitive must return a primitive value.")}return(b==="string"?String:Number)(o)}function P(o){var b=m(o,"string");return typeof b=="symbol"?b:String(b)}function L(){var o={send:[],receive:[],ready:[]};function b(J,z){if(J in o){var ee=o[J];ee.indexOf(z)<0&&ee.push(z)}}function M(J,z){if(J in o){var ee=o[J],te=ee.indexOf(z);te>=0&&ee.splice(te,1)}}function N(J,z){J in o&&o[J].forEach(function(ee){return ee(z)})}return{addEventListener:b,removeEventListener:M,emitEvent:N}}var _="RNWV:sync",I="success",C="fail",j=0,K=a(function o(){var b=this;e(this,o),this.promise=new Promise(function(M,N){b.resolve=M,b.reject=N})});function W(o){return"".concat(o.command,"(").concat(o.id,")")}function $(o,b){return{id:j++,command:o,data:b,reply:!1,status:I}}function p(o){var b=[],M=L(),N={},J={},z={};function ee(){return!b}function te(U){return function(){for(var H=arguments.length,Z=new Array(H),k=0;k<H;k++)Z[k]=arguments[k];return se(U,Z)}}function re(U,H){return J[U]=function(Z){return H.apply(void 0,n(Z))},!b&&V(),{define:re,bind:te}}function ae(U){var H=U.command===_;!H&&b?b.push(U):o(U),M.emitEvent("send",U)}function ce(){if(b){var U=b;b=null,U.forEach(function(H){ae(H)}),M.emitEvent("ready")}}function se(U,H){var Z=$(U,H),k=new K;return N[W(Z)]=k,ae(Z),k.promise}function ie(U,H,Z){U.reply=!0,U.data=H,U.status=Z,ae(U)}function ue(U){if(U.reply){var H=W(U);N[H]&&(U.status===C?N[H].reject(U.data):N[H].resolve(U.data))}else if(J[U.command]){var Z=J[U.command](U.data);Z&&Z.then?Z.then(function(k){ie(U,k,I)}).catch(function(k){ie(U,k,C)}):ie(U,Z,I)}else ie(U,"function ".concat(U.command," is not defined"),C);M.emitEvent("receive",U)}var Q=te(_);function A(){var U=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return U.filter(function(H){return!z[H]}).map(function(H){z[H]=te(H)}),ce(),Object.keys(J)}re(_,A);function V(){Q(Object.keys(J)).then(A)}return{bind:te,define:re,listener:ue,ready:V,fn:z,addEventListener:M.addEventListener,removeEventListener:M.removeEventListener,isConnect:ee}}var y=null,O=typeof window<"u",T=p(function(o){return O&&y&&y(JSON.stringify(o))}),G=T.bind,D=T.define,B=T.listener,Y=T.ready,X=T.fn,g=T.addEventListener,w=T.removeEventListener,S=T.isConnect,E=function(b){var M=void 0;if(c(b)==="object")M=b;else if(typeof b=="string")try{M=JSON.parse(b)}catch{}M&&(M.command||M.reply)&&B(M)};if(O){var F=window.originalPostMessage;if(F)y=function(){var b;return(b=window).postMessage.apply(b,arguments)},Y();else{var l={configurable:!0,get:function(){return F},set:function(b){F=b,F&&(y=function(){var N;return(N=window).postMessage.apply(N,arguments)},setTimeout(Y,50))}};Object.defineProperty(window,"originalPostMessage",l)}var h=window.ReactNativeWebView;if(h)y=function(){var b;return(b=window.ReactNativeWebView).postMessage.apply(b,arguments)},Y();else{var v={configurable:!0,get:function(){return h},set:function(b){h=b,h&&(y=function(){var N;return(N=window.ReactNativeWebView).postMessage.apply(N,arguments)},setTimeout(Y,50))}};Object.defineProperty(window,"ReactNativeWebView",v)}window.document.addEventListener("message",function(o){return F&&E(o.data)}),window.addEventListener("message",function(o){return h&&E(o.data)}),window.document.addEventListener("message",function(o){return h&&E(o.data)})}var x={bind:G,define:D,fn:X,addEventListener:g,removeEventListener:w,isConnect:S};i.exports=x},6594:(i,c,e)=>{"use strict";var t=e(5453),a=e(3081);class n extends HTMLElement{addEventListener(A,V,U){super.addEventListener(A,V,U)}}var r=e(8561),s=e(3059),u,f;class d{constructor(A){u.set(this,void 0),f.set(this,void 0),(0,t.__classPrivateFieldSet)(this,u,A,"f"),(0,t.__classPrivateFieldSet)(this,f,r.EventBus.getInstance(s.mO).channel((0,t.__classPrivateFieldGet)(this,u,"f")),"f")}registerDispatcher(A){(0,t.__classPrivateFieldGet)(this,f,"f").addListener(V=>{var{topic:U}=V,H=V.payload,Z=(0,t.__rest)(H,["name"]);A(new CustomEvent(U,{detail:Z}))})}deregister(){r.EventBus.getInstance().removeChannel((0,t.__classPrivateFieldGet)(this,u,"f"))}}u=new WeakMap,f=new WeakMap;var m=e(9742),P=e(934),L=e(9226),_,I,C,j,K,W,$;class p{constructor(){_.add(this),I.set(this,void 0),C.set(this,{}),j.set(this,void 0),K.set(this,void 0),(0,t.__classPrivateFieldSet)(this,K,(0,t.__classPrivateFieldGet)(this,_,"m",$).bind(this),"f"),(0,t.__classPrivateFieldSet)(this,j,new MutationObserver((0,t.__classPrivateFieldGet)(this,K,"f")),"f")}bindTo(A){return(0,t.__classPrivateFieldSet)(this,I,A,"f"),this}addChangeListener(A,V){(0,t.__classPrivateFieldGet)(this,C,"f")[A]=[...(0,t.__classPrivateFieldGet)(this,C,"f")[A]||[],V],(0,t.__classPrivateFieldGet)(this,j,"f").observe((0,t.__classPrivateFieldGet)(this,_,"m",W).call(this),{attributes:!0})}removeChangeListener(A,V){var U,H;(0,t.__classPrivateFieldGet)(this,C,"f")[A]=(U=(0,t.__classPrivateFieldGet)(this,C,"f")[A])===null||U===void 0?void 0:U.filter(Z=>Z!==V),!((H=(0,t.__classPrivateFieldGet)(this,C,"f")[A])===null||H===void 0)&&H.length||delete(0,t.__classPrivateFieldGet)(this,C,"f")[A],Object.keys((0,t.__classPrivateFieldGet)(this,C,"f"))||(0,t.__classPrivateFieldGet)(this,j,"f").disconnect()}get(A){return(0,t.__classPrivateFieldGet)(this,_,"m",W).call(this).getAttribute(A)}}I=new WeakMap,C=new WeakMap,j=new WeakMap,K=new WeakMap,_=new WeakSet,W=function(){if(!(0,t.__classPrivateFieldGet)(this,I,"f"))throw new P.b("ElementAttributeManager must be bound to an element.",{errorCode:L.ErrorCode.UNKNOWN});return(0,t.__classPrivateFieldGet)(this,I,"f")},$=function(A){!Object.keys((0,t.__classPrivateFieldGet)(this,C,"f")).length||A.forEach(V=>{var U;if(V.type==="attributes"){const H=V.attributeName;(U=(0,t.__classPrivateFieldGet)(this,C,"f")[H])===null||U===void 0||U.forEach(Z=>Z(V.target.getAttribute(H)))}})};var y=e(46),O,T,G,D,B,Y,X,g;const w=(Q=!0)=>`
|
|
3
3
|
display: ${Q?"none":"block"};
|
|
4
4
|
height: ${Q?"0":"100%"};
|
|
5
5
|
width: ${Q?"0":"100%"};
|
|
6
|
-
`;class S{constructor(A){O.add(this),T.set(this,void 0),G.set(this,void 0),D.set(this,new y),B.set(this,!1),Y.set(this,void 0),(0,t.__classPrivateFieldSet)(this,T,A.reduce((V,{name:U,defaultElement:H})=>{const
|
|
6
|
+
`;class S{constructor(A){O.add(this),T.set(this,void 0),G.set(this,void 0),D.set(this,new y),B.set(this,!1),Y.set(this,void 0),(0,t.__classPrivateFieldSet)(this,T,A.reduce((V,{name:U,defaultElement:H})=>{const Z=document.createElement("div");Z.style.cssText=w();const k=document.createElement("slot");return k.setAttribute("name",U),k.appendChild(H),Z.appendChild(k),Object.assign(Object.assign({},V),{[U]:{container:Z,slot:k}})},{}),"f")}attachToShadowRoot(A){return Object.values((0,t.__classPrivateFieldGet)(this,T,"f")).forEach(({container:V})=>A.appendChild(V)),(0,t.__classPrivateFieldSet)(this,B,!0,"f"),this}hideSlot(A,{delay:V}={}){if((0,t.__classPrivateFieldGet)(this,O,"m",g).call(this))return;(0,t.__classPrivateFieldGet)(this,O,"m",X).call(this);const U=()=>{const{container:H}=(0,t.__classPrivateFieldGet)(this,T,"f")[A];(0,t.__classPrivateFieldGet)(this,D,"f").emit("visibilitychange",{visibility:"hidden",container:H,name:A}),H.style.cssText=w()};V?(0,t.__classPrivateFieldSet)(this,G,setTimeout(U,V),"f"):U()}showSlot(A){if((0,t.__classPrivateFieldGet)(this,O,"m",g).call(this))return;const{container:V}=(0,t.__classPrivateFieldGet)(this,T,"f")[A];(0,t.__classPrivateFieldGet)(this,O,"m",X).call(this),clearTimeout((0,t.__classPrivateFieldGet)(this,G,"f")),Object.keys((0,t.__classPrivateFieldGet)(this,T,"f")).filter(U=>U!==A).forEach(U=>this.hideSlot(U)),(0,t.__classPrivateFieldGet)(this,D,"f").emit("visibilitychange",{visibility:"visible",container:V,name:A}),(0,t.__classPrivateFieldGet)(this,T,"f")[A].container.style.cssText=w(!1)}showSlotLocked(A){if(!(0,t.__classPrivateFieldGet)(this,O,"m",g).call(this))return this.showSlot(A),(0,t.__classPrivateFieldSet)(this,Y,A,"f"),()=>{(0,t.__classPrivateFieldSet)(this,Y,void 0,"f"),this.hideSlot(A)}}createElementFromSlot(A){(0,t.__classPrivateFieldGet)(this,O,"m",X).call(this);const V=document.createElement("div");return V.style.height="100%",V.append(...(0,t.__classPrivateFieldGet)(this,T,"f")[A].slot.assignedElements({flatten:!0}).map(U=>U.cloneNode(!0))),V}addEventListener(A,V){(0,t.__classPrivateFieldGet)(this,D,"f").addListener(A,V)}removeEventListener(A,V){(0,t.__classPrivateFieldGet)(this,D,"f").removeListener(A,V)}}T=new WeakMap,G=new WeakMap,D=new WeakMap,B=new WeakMap,Y=new WeakMap,O=new WeakSet,X=function(){if(!(0,t.__classPrivateFieldGet)(this,B,"f"))throw new P.b("SlotManager must first attach to a shadow root before calling its instance methods.",{errorCode:L.ErrorCode.METHOD_CALLED_BEFORE_INITIALIZATION})},g=function(){return(0,t.__classPrivateFieldGet)(this,Y,"f")&&console.warn(`"${(0,t.__classPrivateFieldGet)(this,Y,"f")}" slot locked. Make sure to call the cleanup function to hide + unlock.`),!!(0,t.__classPrivateFieldGet)(this,Y,"f")};var E,F,l,h,v,x,o,b;class M{constructor(A){E.add(this),F.set(this,void 0),l.set(this,void 0),h.set(this,[]),v.set(this,void 0),(0,t.__classPrivateFieldSet)(this,v,A.metadata.version,"f"),(0,t.__classPrivateFieldGet)(this,E,"m",x).call(this)}get isInitialized(){return(0,t.__classPrivateFieldGet)(this,l,"f")?(0,t.__classPrivateFieldGet)(this,l,"f").isInitialized:!1}validateLoad(){return(0,t.__awaiter)(this,void 0,void 0,function*(){yield(0,t.__classPrivateFieldGet)(this,F,"f")})}init(...A){return(0,t.__awaiter)(this,void 0,void 0,function*(){try{return yield(0,t.__classPrivateFieldGet)(this,F,"f"),(0,t.__classPrivateFieldGet)(this,E,"a",o).init(...A)}catch{}})}setUserToken(...A){return(0,t.__classPrivateFieldGet)(this,E,"a",o).setUserToken(...A)}setUserSession(...A){return(0,t.__classPrivateFieldGet)(this,E,"a",o).setUserSession(...A)}getUser(...A){return(0,t.__classPrivateFieldGet)(this,E,"a",o).getUser(...A)}getToken(...A){return(0,t.__classPrivateFieldGet)(this,E,"a",o).getToken(...A)}getUserId(...A){return(0,t.__classPrivateFieldGet)(this,E,"a",o).getUserId(...A)}on(...A){(0,t.__classPrivateFieldGet)(this,E,"m",b).call(this,()=>(0,t.__classPrivateFieldGet)(this,E,"a",o).on(...A))}once(...A){(0,t.__classPrivateFieldGet)(this,E,"m",b).call(this,()=>(0,t.__classPrivateFieldGet)(this,E,"a",o).once(...A))}off(...A){(0,t.__classPrivateFieldGet)(this,E,"m",b).call(this,()=>(0,t.__classPrivateFieldGet)(this,E,"a",o).off(...A))}_registerEmbeddableContent(...A){return(0,t.__classPrivateFieldGet)(this,E,"a",o)._registerEmbeddableContent(...A)}focusEmbeddableContent(...A){return(0,t.__classPrivateFieldGet)(this,E,"a",o).focusEmbeddableContent(...A)}}F=new WeakMap,l=new WeakMap,h=new WeakMap,v=new WeakMap,E=new WeakSet,x=function(){return(0,t.__awaiter)(this,void 0,void 0,function*(){try{(0,t.__classPrivateFieldSet)(this,F,Promise.all([e.e(572),e.e(237),e.e(20),e.e(692),e.e(973)]).then(e.bind(e,7020)),"f"),(0,t.__classPrivateFieldSet)(this,l,new(yield(0,t.__classPrivateFieldGet)(this,F,"f")).Bwell({metadata:{version:(0,t.__classPrivateFieldGet)(this,v,"f")}}),"f"),(0,t.__classPrivateFieldGet)(this,h,"f").forEach(A=>A())}catch(A){const V="There was an error loading core Bwell script. Please contact support.";(yield e.e(572).then(e.bind(e,572))).default().fatal(A,V)}})},o=function(){if(!(0,t.__classPrivateFieldGet)(this,l,"f"))throw new P.b("Bwell must be initialized.",{errorCode:L.ErrorCode.BWELL_INITIALIZATION});return(0,t.__classPrivateFieldGet)(this,l,"f")},b=function(A){(0,t.__classPrivateFieldGet)(this,l,"f")?A():(0,t.__classPrivateFieldGet)(this,h,"f").push(A)};const N="bwell-em-dot-loader-component";class J extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){this.shadowRoot.innerHTML=`
|
|
7
7
|
<style>
|
|
8
8
|
:host {
|
|
9
9
|
--size: 8px;
|
|
@@ -61,7 +61,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
61
61
|
<span class="item"></span>
|
|
62
62
|
</div>
|
|
63
63
|
</div>
|
|
64
|
-
`}}customElements.get(N)===void 0&&customElements.define(N,
|
|
64
|
+
`}}customElements.get(N)===void 0&&customElements.define(N,J);const z="bwell-em-error-component";class ee extends HTMLElement{constructor(){super(),Promise.all([e.e(237),e.e(692),e.e(279)]).then(e.bind(e,3279)),this.attachShadow({mode:"open"})}connectedCallback(){this.shadowRoot.innerHTML=`
|
|
65
65
|
<style>
|
|
66
66
|
.wrapper {
|
|
67
67
|
height: 100%;
|
|
@@ -73,9 +73,9 @@ 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(z)===void 0&&customElements.define(z,ee);const te=[{name:"loader",defaultElement:document.createElement(N)},{name:"error",defaultElement:document.createElement(z)}],re=["error","loading"],ae={error:"error",loading:"loader"},ce=({src:Q,elementNameSuffix:A,version:V,prefetchFeatureApp:U})=>(0,t.__awaiter)(void 0,void 0,void 0,function*(){var H,J,k,oe,pe,ye,me,fe,de,le,q,xe,_e,we,Oe;window.bwell||(window.bwell=new M({metadata:{version:V}}));const ge=`bwell-${A}`;if(customElements.get(ge)!==void 0)return;class Le extends n{constructor(){super(),H.add(this),J.set(this,(0,m.Ak)()),k.set(this,void 0),oe.set(this,document.createElement("feature-app-loader")),pe.set(this,new y.EventEmitter),ye.set(this,void 0),me.set(this,void 0),fe.set(this,void 0),de.set(this,void 0),le.set(this,void 0),q.set(this,void 0),this.attachShadow({mode:"open"});const ne=new S(te).attachToShadowRoot(this.shadowRoot);ne.addEventListener("visibilitychange",({visibility:ve,container:Pe,name:Te})=>{Te==="error"&&ve==="visible"&&window.bwell._registerEmbeddableContent(Pe),(0,t.__classPrivateFieldGet)(this,oe,"f").style.display=ve==="hidden"?"unset":"hidden"}),(0,t.__classPrivateFieldSet)(this,q,{slots:ne,attributes:new p().bindTo(this),loaderEventEmitter:(0,t.__classPrivateFieldGet)(this,pe,"f")},"f"),(0,t.__classPrivateFieldSet)(this,ye,(0,t.__classPrivateFieldGet)(this,H,"m",xe).bind(this),"f"),(0,t.__classPrivateFieldSet)(this,me,(0,t.__classPrivateFieldGet)(this,H,"m",_e).bind(this),"f"),(0,t.__classPrivateFieldSet)(this,fe,(0,t.__classPrivateFieldGet)(this,H,"m",Oe).call(this,"error"),"f"),(0,t.__classPrivateFieldSet)(this,de,(0,t.__classPrivateFieldGet)(this,H,"m",Oe).call(this,"loading"),"f")}connectedCallback(){return(0,t.__awaiter)(this,void 0,void 0,function*(){(0,t.__classPrivateFieldGet)(this,fe,"f").call(this,(0,t.__classPrivateFieldGet)(this,q,"f").attributes.get("error")),(0,t.__classPrivateFieldGet)(this,de,"f").call(this,(0,t.__classPrivateFieldGet)(this,q,"f").attributes.get("loading")),(0,t.__classPrivateFieldGet)(this,q,"f").slots.addEventListener("visibilitychange",(0,t.__classPrivateFieldGet)(this,me,"f")),(0,t.__classPrivateFieldGet)(this,q,"f").attributes.addChangeListener("error",(0,t.__classPrivateFieldGet)(this,fe,"f")),(0,t.__classPrivateFieldGet)(this,q,"f").attributes.addChangeListener("loading",(0,t.__classPrivateFieldGet)(this,de,"f")),(0,t.__classPrivateFieldGet)(this,q,"f").slots.showSlot("loader");try{yield window.bwell.validateLoad()}catch{(0,t.__classPrivateFieldGet)(this,q,"f").slots.showSlot("error")}(0,t.__classPrivateFieldSet)(this,J,this.id||(0,t.__classPrivateFieldGet)(this,J,"f"),"f"),(0,t.__classPrivateFieldSet)(this,k,new d((0,t.__classPrivateFieldGet)(this,J,"f")),"f"),(0,t.__classPrivateFieldGet)(this,k,"f").registerDispatcher(ne=>this.dispatchEvent(ne)),window.bwell.isInitialized?(0,t.__classPrivateFieldGet)(this,ye,"f").call(this):(window.bwell.once("initialized",(0,t.__classPrivateFieldGet)(this,ye,"f")),window.bwell.once("error",()=>{(0,t.__classPrivateFieldGet)(this,q,"f").slots.showSlot("error")}),U&&(0,a.h)(Q).catch(()=>{(0,t.__classPrivateFieldGet)(this,q,"f").slots.showSlot("error")}))})}disconnectedCallback(){var ne;(0,t.__classPrivateFieldGet)(this,pe,"f").emit("disconnect"),(0,t.__classPrivateFieldGet)(this,q,"f").slots.removeEventListener("visibilitychange",(0,t.__classPrivateFieldGet)(this,me,"f")),(0,t.__classPrivateFieldGet)(this,q,"f").attributes.removeChangeListener("error",(0,t.__classPrivateFieldGet)(this,fe,"f")),(0,t.__classPrivateFieldGet)(this,q,"f").attributes.removeChangeListener("loading",(0,t.__classPrivateFieldGet)(this,de,"f")),(ne=(0,t.__classPrivateFieldGet)(this,k,"f"))===null||ne===void 0||ne.deregister(),(0,t.__classPrivateFieldGet)(this,pe,"f").removeAllListeners()}}J=new WeakMap,k=new WeakMap,oe=new WeakMap,pe=new WeakMap,ye=new WeakMap,me=new WeakMap,fe=new WeakMap,de=new WeakMap,le=new WeakMap,q=new WeakMap,H=new WeakSet,xe=function(){(0,t.__classPrivateFieldGet)(this,oe,"f").setAttribute("featureAppId",`bwell-embeddable:${ge}`),(0,t.__classPrivateFieldGet)(this,oe,"f").setAttribute("src",Q),(0,t.__classPrivateFieldGet)(this,oe,"f").config={id:(0,t.__classPrivateFieldGet)(this,J,"f"),name:A,elementName:ge,utils:(0,t.__classPrivateFieldGet)(this,q,"f")},this.shadowRoot.appendChild((0,t.__classPrivateFieldGet)(this,oe,"f"))},_e=function({visibility:ne,name:ve}){(0,t.__classPrivateFieldGet)(this,oe,"f").style.display=ne==="hidden"?"unset":"hidden"},we=function(ne){(0,t.__classPrivateFieldGet)(this,le,"f")(),(0,t.__classPrivateFieldSet)(this,le,void 0,"f")},Oe=function(ne){return ve=>{const Pe=re.findIndex(he=>he===ne);if(!re.slice(0,Pe).some(he=>(0,t.__classPrivateFieldGet)(this,q,"f").attributes.get(he)!==null)){if(ve!==null)(0,t.__classPrivateFieldGet)(this,le,"f")&&(0,t.__classPrivateFieldGet)(this,H,"m",we).call(this,ne),(0,t.__classPrivateFieldSet)(this,le,(0,t.__classPrivateFieldGet)(this,q,"f").slots.showSlotLocked(ae[ne]),"f");else if(ve===null&&(0,t.__classPrivateFieldGet)(this,le,"f")){(0,t.__classPrivateFieldGet)(this,H,"m",we).call(this,ne);const he=re.find(Fe=>(0,t.__classPrivateFieldGet)(this,q,"f").attributes.get(Fe)!==null);he&&(0,t.__classPrivateFieldSet)(this,le,(0,t.__classPrivateFieldGet)(this,q,"f").slots.showSlotLocked(ae[he]),"f")}}}},customElements.define(ge,Le)}),se={rE:"1.1058.0"},ie="composite";var ue=e(7321);ce({src:`https://embeddables.prod.icanbwell.com/${ie}/${se.rE}/scripts/embeddable.federated.js`,elementNameSuffix:ie,version:se.rE,prefetchFeatureApp:!0})},992:(i,c,e)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),c.Broadcaster=void 0;var t=e(46),a=function(){function n(r,s){if(s===void 0&&(s=0),this.emitter=new t.EventEmitter,typeof r>"u"||r.length===0)throw new Error("Broadcaster must have a name");this._name=r,this.emitter.setMaxListeners(s)}return Object.defineProperty(n.prototype,"name",{get:function(){return this._name},enumerable:!1,configurable:!0}),n.prototype.emit=function(r){this.emitter.emit(this._name,r)},n.prototype.addListener=function(r){return this._addListener("addListener",r)},n.prototype.on=function(r){return this.addListener(r)},n.prototype.prependListener=function(r){return this._addListener("prependListener",r)},n.prototype.once=function(r){return this._addListener("once",r)},n.prototype.prependOnceListener=function(r){return this._addListener("prependOnceListener",r)},n.prototype.removeListener=function(r){this._proxyListener("removeListener",r)},n.prototype.off=function(r){this.removeListener(r)},n.prototype.removeAllListeners=function(){this.emitter.removeAllListeners(this._name)},n.prototype.getMaxListeners=function(){return this.emitter.getMaxListeners()},n.prototype.setMaxListeners=function(r){this.emitter.setMaxListeners(r)},n.prototype.getEventEmitter=function(){return this.emitter},n.prototype.listeners=function(){return this.emitter.listeners(this._name)},n.prototype.rawListeners=function(){return this.emitter.rawListeners(this._name)},n.prototype.listenerCount=function(){return this.emitter.listenerCount(this._name)},n.prototype._proxyListener=function(r,s){this.emitter[r](this._name,s)},n.prototype._createUnsubscribe=function(r){var s=this;return function(){s.emitter.removeListener(s._name,r)}},n.prototype._addListener=function(r,s){return this._proxyListener(r,s),this._createUnsubscribe(s)},n.prototype.destroy=function(){this.emitter.removeAllListeners()},n}();c.Broadcaster=a},9987:function(i,c,e){"use strict";var t=this&&this.__extends||function(){var s=function(u,f){return s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,m){d.__proto__=m}||function(d,m){for(var P in m)Object.prototype.hasOwnProperty.call(m,P)&&(d[P]=m[P])},s(u,f)};return function(u,f){if(typeof f!="function"&&f!==null)throw new TypeError("Class extends value "+String(f)+" is not a constructor or null");s(u,f);function d(){this.constructor=u}u.prototype=f===null?Object.create(f):(d.prototype=f.prototype,new d)}}();Object.defineProperty(c,"__esModule",{value:!0}),c.Channel=void 0;var a=e(992),n=e(1987),r=function(s){t(u,s);function u(f,d){d===void 0&&(d=0);var m=s.call(this,f,d)||this;return m.topics={},m._onTopicDestroyed=m._onTopicDestroyed.bind(m),m._onTopicEmit=m._onTopicEmit.bind(m),m}return u.prototype.emit=function(f){var d={channel:this.name,topic:"*",payload:f};s.prototype.emit.call(this,d)},u.prototype.topic=function(f){var d=this.topics[f];return typeof d>"u"&&(d=this.topics[f]=new n.Topic(f,this.name,this.getMaxListeners()),d.getEventEmitter().on("topic_destroyed",this._onTopicDestroyed),d.on(this._onTopicEmit)),d},u.prototype.hasTopic=function(f){return Boolean(this.topics[f])},u.prototype.removeTopic=function(f){var d=this.topics[f];return typeof d<"u"?(delete this.topics[f],d.destroy(),!0):!1},u.prototype.getAllTopics=function(){return Object.values(this.topics)},u.prototype._onTopicEmit=function(f){s.prototype.emit.call(this,f)},u.prototype._onTopicDestroyed=function(f){delete this.topics[f]},u.prototype.destroy=function(){for(var f in this.topics)this.removeTopic(f);this.emitter.emit("channel_destroyed",this.name),s.prototype.destroy.call(this)},u}(a.Broadcaster);c.Channel=r},5447:(i,c,e)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),c.EventBus=void 0;var t=e(9987),a=function(){function n(r){this.channels={},r=typeof r>"u"?{}:r,this._maxListeners=r.maxListeners===void 0?0:r.maxListeners,this.onChannelDestroyed=this.onChannelDestroyed.bind(this),this.createMainChannel(),this.onChannelEmit=this.onChannelEmit.bind(this)}return n.prototype.createMainChannel=function(){var r=this;this.defaultChannel=new t.Channel("*",this._maxListeners),this.channels["*"]=this.defaultChannel,this.defaultChannel.getEventEmitter().on("channel_destroyed",function(){r.createMainChannel()})},n.prototype.mainChannel=function(){return this.defaultChannel},n.prototype.allChannels=function(){return this.mainChannel()},n.prototype.channel=function(r){var s=this.channels[r];return typeof s>"u"&&(s=this.channels[r]=new t.Channel(r,this._maxListeners),s.on(this.onChannelEmit),s.getEventEmitter().on("channel_destroyed",this.onChannelDestroyed)),s},n.prototype.hasChannel=function(r){return Boolean(this.channels[r])},n.prototype.removeChannel=function(r){if(r==="*")throw new Error("Can't remove default channel");var s=this.channels[r];return typeof s<"u"?(s.destroy(),!0):!1},n.prototype.onChannelEmit=function(r){var s=r.topic;if(this.defaultChannel.hasTopic(s)){var u={topic:r.topic,channel:r.channel,payload:r.payload};this.defaultChannel.topic(s).getEventEmitter().emit(s,u)}this.defaultChannel.getEventEmitter().emit(this.defaultChannel.name,r)},n.prototype.onChannelDestroyed=function(r){delete this.channels[r]},n.prototype.getAllChannels=function(){return Object.values(this.channels)},n.prototype.destroy=function(){for(var r in this.channels)this.channels[r].destroy()},n}();c.EventBus=a},4032:function(i,c,e){"use strict";var t=this&&this.__createBinding||(Object.create?function(n,r,s,u){u===void 0&&(u=s),Object.defineProperty(n,u,{enumerable:!0,get:function(){return r[s]}})}:function(n,r,s,u){u===void 0&&(u=s),n[u]=r[s]}),a=this&&this.__exportStar||function(n,r){for(var s in n)s!=="default"&&!Object.prototype.hasOwnProperty.call(r,s)&&t(r,n,s)};Object.defineProperty(c,"__esModule",{value:!0}),a(e(992),c),a(e(5447),c),a(e(9987),c),a(e(1987),c)},1987:function(i,c,e){"use strict";var t=this&&this.__extends||function(){var r=function(s,u){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,d){f.__proto__=d}||function(f,d){for(var m in d)Object.prototype.hasOwnProperty.call(d,m)&&(f[m]=d[m])},r(s,u)};return function(s,u){if(typeof u!="function"&&u!==null)throw new TypeError("Class extends value "+String(u)+" is not a constructor or null");r(s,u);function f(){this.constructor=s}s.prototype=u===null?Object.create(u):(f.prototype=u.prototype,new f)}}();Object.defineProperty(c,"__esModule",{value:!0}),c.Topic=void 0;var a=e(992),n=function(r){t(s,r);function s(u,f,d){d===void 0&&(d=0);var m=r.call(this,u,d)||this;return m.channel=f,m}return s.prototype.emit=function(u){var f={channel:this.channel,topic:this.name,payload:u};r.prototype.emit.call(this,f)},s.prototype.destroy=function(){this.emitter.emit("topic_destroyed",this.name),r.prototype.destroy.call(this)},s}(a.Broadcaster);c.Topic=n},46:i=>{"use strict";var c=typeof Reflect=="object"?Reflect:null,e=c&&typeof c.apply=="function"?c.apply:function(y,O,T){return Function.prototype.apply.call(y,O,T)},t;c&&typeof c.ownKeys=="function"?t=c.ownKeys:Object.getOwnPropertySymbols?t=function(y){return Object.getOwnPropertyNames(y).concat(Object.getOwnPropertySymbols(y))}:t=function(y){return Object.getOwnPropertyNames(y)};function a(p){console&&console.warn&&console.warn(p)}var n=Number.isNaN||function(y){return y!==y};function r(){r.init.call(this)}i.exports=r,i.exports.once=K,r.EventEmitter=r,r.prototype._events=void 0,r.prototype._eventsCount=0,r.prototype._maxListeners=void 0;var s=10;function u(p){if(typeof p!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof p)}Object.defineProperty(r,"defaultMaxListeners",{enumerable:!0,get:function(){return s},set:function(p){if(typeof p!="number"||p<0||n(p))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+p+".");s=p}}),r.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},r.prototype.setMaxListeners=function(y){if(typeof y!="number"||y<0||n(y))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+y+".");return this._maxListeners=y,this};function f(p){return p._maxListeners===void 0?r.defaultMaxListeners:p._maxListeners}r.prototype.getMaxListeners=function(){return f(this)},r.prototype.emit=function(y){for(var O=[],T=1;T<arguments.length;T++)O.push(arguments[T]);var G=y==="error",D=this._events;if(D!==void 0)G=G&&D.error===void 0;else if(!G)return!1;if(G){var B;if(O.length>0&&(B=O[0]),B instanceof Error)throw B;var Y=new Error("Unhandled error."+(B?" ("+B.message+")":""));throw Y.context=B,Y}var X=D[y];if(X===void 0)return!1;if(typeof X=="function")e(X,this,O);else for(var g=X.length,w=I(X,g),T=0;T<g;++T)e(w[T],this,O);return!0};function d(p,y,O,T){var G,D,B;if(u(O),D=p._events,D===void 0?(D=p._events=Object.create(null),p._eventsCount=0):(D.newListener!==void 0&&(p.emit("newListener",y,O.listener?O.listener:O),D=p._events),B=D[y]),B===void 0)B=D[y]=O,++p._eventsCount;else if(typeof B=="function"?B=D[y]=T?[O,B]:[B,O]:T?B.unshift(O):B.push(O),G=f(p),G>0&&B.length>G&&!B.warned){B.warned=!0;var Y=new Error("Possible EventEmitter memory leak detected. "+B.length+" "+String(y)+" listeners added. Use emitter.setMaxListeners() to increase limit");Y.name="MaxListenersExceededWarning",Y.emitter=p,Y.type=y,Y.count=B.length,a(Y)}return p}r.prototype.addListener=function(y,O){return d(this,y,O,!1)},r.prototype.on=r.prototype.addListener,r.prototype.prependListener=function(y,O){return d(this,y,O,!0)};function m(){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(p,y,O){var T={fired:!1,wrapFn:void 0,target:p,type:y,listener:O},G=m.bind(T);return G.listener=O,T.wrapFn=G,G}r.prototype.once=function(y,O){return u(O),this.on(y,P(this,y,O)),this},r.prototype.prependOnceListener=function(y,O){return u(O),this.prependListener(y,P(this,y,O)),this},r.prototype.removeListener=function(y,O){var T,G,D,B,Y;if(u(O),G=this._events,G===void 0)return this;if(T=G[y],T===void 0)return this;if(T===O||T.listener===O)--this._eventsCount===0?this._events=Object.create(null):(delete G[y],G.removeListener&&this.emit("removeListener",y,T.listener||O));else if(typeof T!="function"){for(D=-1,B=T.length-1;B>=0;B--)if(T[B]===O||T[B].listener===O){Y=T[B].listener,D=B;break}if(D<0)return this;D===0?T.shift():C(T,D),T.length===1&&(G[y]=T[0]),G.removeListener!==void 0&&this.emit("removeListener",y,Y||O)}return this},r.prototype.off=r.prototype.removeListener,r.prototype.removeAllListeners=function(y){var O,T,G;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[y]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete T[y]),this;if(arguments.length===0){var D=Object.keys(T),B;for(G=0;G<D.length;++G)B=D[G],B!=="removeListener"&&this.removeAllListeners(B);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(O=T[y],typeof O=="function")this.removeListener(y,O);else if(O!==void 0)for(G=O.length-1;G>=0;G--)this.removeListener(y,O[G]);return this};function L(p,y,O){var T=p._events;if(T===void 0)return[];var G=T[y];return G===void 0?[]:typeof G=="function"?O?[G.listener||G]:[G]:O?j(G):I(G,G.length)}r.prototype.listeners=function(y){return L(this,y,!0)},r.prototype.rawListeners=function(y){return L(this,y,!1)},r.listenerCount=function(p,y){return typeof p.listenerCount=="function"?p.listenerCount(y):_.call(p,y)},r.prototype.listenerCount=_;function _(p){var y=this._events;if(y!==void 0){var O=y[p];if(typeof O=="function")return 1;if(O!==void 0)return O.length}return 0}r.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]};function I(p,y){for(var O=new Array(y),T=0;T<y;++T)O[T]=p[T];return O}function C(p,y){for(;y+1<p.length;y++)p[y]=p[y+1];p.pop()}function j(p){for(var y=new Array(p.length),O=0;O<y.length;++O)y[O]=p[O].listener||p[O];return y}function K(p,y){return new Promise(function(O,T){function G(B){p.removeListener(y,D),T(B)}function D(){typeof p.removeListener=="function"&&p.removeListener("error",G),O([].slice.call(arguments))}$(p,y,D,{once:!0}),y!=="error"&&W(p,G,{once:!0})})}function W(p,y,O){typeof p.on=="function"&&$(p,"error",y,O)}function $(p,y,O,T){if(typeof p.on=="function")T.once?p.once(y,O):p.on(y,O);else if(typeof p.addEventListener=="function")p.addEventListener(y,function G(D){T.once&&p.removeEventListener(y,G),O(D)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof p)}},7321:(i,c,e)=>{"use strict";var t=e(3030);i.exports=t},9283:(i,c,e)=>{"use strict";e(8376),e(4293),e(8715);var t=e(2564);i.exports=t("String","replaceAll")},4977:(i,c,e)=>{"use strict";var t=e(4188),a=e(3174),n=TypeError;i.exports=function(r){if(t(r))return r;throw new n(a(r)+" is not a function")}},154:(i,c,e)=>{"use strict";var t=e(4212).charAt;i.exports=function(a,n,r){return n+(r?t(a,n).length:1)}},3770:(i,c,e)=>{"use strict";var t=e(831),a=String,n=TypeError;i.exports=function(r){if(t(r))return r;throw new n(a(r)+" is not an object")}},1458:(i,c,e)=>{"use strict";var t=e(380),a=e(675),n=e(9389),r=function(s){return function(u,f,d){var m=t(u),P=n(m);if(P===0)return!s&&-1;var L=a(d,P),_;if(s&&f!==f){for(;P>L;)if(_=m[L++],_!==_)return!0}else for(;P>L;L++)if((s||L in m)&&m[L]===f)return s||L||0;return!s&&-1}};i.exports={includes:r(!0),indexOf:r(!1)}},8689:(i,c,e)=>{"use strict";var t=e(6881),a=t({}.toString),n=t("".slice);i.exports=function(r){return n(a(r),8,-1)}},5438:(i,c,e)=>{"use strict";var t=e(9345),a=e(4188),n=e(8689),r=e(4282),s=r("toStringTag"),u=Object,f=n(function(){return arguments}())==="Arguments",d=function(m,P){try{return m[P]}catch{}};i.exports=t?n:function(m){var P,L,_;return m===void 0?"Undefined":m===null?"Null":typeof(L=d(P=u(m),s))=="string"?L:f?n(P):(_=n(P))==="Object"&&a(P.callee)?"Arguments":_}},8657:(i,c,e)=>{"use strict";var t=e(4418),a=e(3168),n=e(9304),r=e(4466);i.exports=function(s,u,f){for(var d=a(u),m=r.f,P=n.f,L=0;L<d.length;L++){var _=d[L];!t(s,_)&&!(f&&t(f,_))&&m(s,_,P(u,_))}}},8088:(i,c,e)=>{"use strict";var t=e(6893),a=e(4466),n=e(9123);i.exports=t?function(r,s,u){return a.f(r,s,n(1,u))}:function(r,s,u){return r[s]=u,r}},9123:i=>{"use strict";i.exports=function(c,e){return{enumerable:!(c&1),configurable:!(c&2),writable:!(c&4),value:e}}},7509:(i,c,e)=>{"use strict";var t=e(4188),a=e(4466),n=e(4530),r=e(4798);i.exports=function(s,u,f,d){d||(d={});var m=d.enumerable,P=d.name!==void 0?d.name:u;if(t(f)&&n(f,P,d),d.global)m?s[u]=f:r(u,f);else{try{d.unsafe?s[u]&&(m=!0):delete s[u]}catch{}m?s[u]=f:a.f(s,u,{value:f,enumerable:!1,configurable:!d.nonConfigurable,writable:!d.nonWritable})}return s}},4798:(i,c,e)=>{"use strict";var t=e(1488),a=Object.defineProperty;i.exports=function(n,r){try{a(t,n,{value:r,configurable:!0,writable:!0})}catch{t[n]=r}return r}},6893:(i,c,e)=>{"use strict";var t=e(5234);i.exports=!t(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})},5926:(i,c,e)=>{"use strict";var t=e(1488),a=e(831),n=t.document,r=a(n)&&a(n.createElement);i.exports=function(s){return r?n.createElement(s):{}}},4109:i=>{"use strict";i.exports=typeof navigator<"u"&&String(navigator.userAgent)||""},3749:(i,c,e)=>{"use strict";var t=e(1488),a=e(4109),n=t.process,r=t.Deno,s=n&&n.versions||r&&r.version,u=s&&s.v8,f,d;u&&(f=u.split("."),d=f[0]>0&&f[0]<4?1:+(f[0]+f[1])),!d&&a&&(f=a.match(/Edge\/(\d+)/),(!f||f[1]>=74)&&(f=a.match(/Chrome\/(\d+)/),f&&(d=+f[1]))),i.exports=d},2564:(i,c,e)=>{"use strict";var t=e(1488),a=e(6881);i.exports=function(n,r){return a(t[n].prototype[r])}},1274:i=>{"use strict";i.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},5613:(i,c,e)=>{"use strict";var t=e(1488),a=e(9304).f,n=e(8088),r=e(7509),s=e(4798),u=e(8657),f=e(8489);i.exports=function(d,m){var P=d.target,L=d.global,_=d.stat,I,C,j,K,W,$;if(L?C=t:_?C=t[P]||s(P,{}):C=t[P]&&t[P].prototype,C)for(j in m){if(W=m[j],d.dontCallGetSet?($=a(C,j),K=$&&$.value):K=C[j],I=f(L?j:P+(_?".":"#")+j,d.forced),!I&&K!==void 0){if(typeof W==typeof K)continue;u(W,K)}(d.sham||K&&K.sham)&&n(W,"sham",!0),r(C,j,W,d)}}},5234:i=>{"use strict";i.exports=function(c){try{return!!c()}catch{return!0}}},467:(i,c,e)=>{"use strict";e(8376);var t=e(9944),a=e(7509),n=e(9342),r=e(5234),s=e(4282),u=e(8088),f=s("species"),d=RegExp.prototype;i.exports=function(m,P,L,_){var I=s(m),C=!r(function(){var $={};return $[I]=function(){return 7},""[m]($)!==7}),j=C&&!r(function(){var $=!1,p=/a/;return m==="split"&&(p={},p.constructor={},p.constructor[f]=function(){return p},p.flags="",p[I]=/./[I]),p.exec=function(){return $=!0,null},p[I](""),!$});if(!C||!j||L){var K=/./[I],W=P(I,""[m],function($,p,y,O,T){var G=p.exec;return G===n||G===d.exec?C&&!T?{done:!0,value:t(K,p,y,O)}:{done:!0,value:t($,y,p,O)}:{done:!1}});a(String.prototype,m,W[0]),a(d,I,W[1])}_&&u(d[I],"sham",!0)}},646:(i,c,e)=>{"use strict";var t=e(9055),a=Function.prototype,n=a.apply,r=a.call;i.exports=typeof Reflect=="object"&&Reflect.apply||(t?r.bind(n):function(){return r.apply(n,arguments)})},9055:(i,c,e)=>{"use strict";var t=e(5234);i.exports=!t(function(){var a=function(){}.bind();return typeof a!="function"||a.hasOwnProperty("prototype")})},9944:(i,c,e)=>{"use strict";var t=e(9055),a=Function.prototype.call;i.exports=t?a.bind(a):function(){return a.apply(a,arguments)}},2735:(i,c,e)=>{"use strict";var t=e(6893),a=e(4418),n=Function.prototype,r=t&&Object.getOwnPropertyDescriptor,s=a(n,"name"),u=s&&function(){}.name==="something",f=s&&(!t||t&&r(n,"name").configurable);i.exports={EXISTS:s,PROPER:u,CONFIGURABLE:f}},6881:(i,c,e)=>{"use strict";var t=e(9055),a=Function.prototype,n=a.call,r=t&&a.bind.bind(n,n);i.exports=t?r:function(s){return function(){return n.apply(s,arguments)}}},5604:(i,c,e)=>{"use strict";var t=e(1488),a=e(4188),n=function(r){return a(r)?r:void 0};i.exports=function(r,s){return arguments.length<2?n(t[r]):t[r]&&t[r][s]}},2913:(i,c,e)=>{"use strict";var t=e(4977),a=e(4318);i.exports=function(n,r){var s=n[r];return a(s)?void 0:t(s)}},1113:(i,c,e)=>{"use strict";var t=e(6881),a=e(3628),n=Math.floor,r=t("".charAt),s=t("".replace),u=t("".slice),f=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,d=/\$([$&'`]|\d{1,2})/g;i.exports=function(m,P,L,_,I,C){var j=L+m.length,K=_.length,W=d;return I!==void 0&&(I=a(I),W=f),s(C,W,function($,p){var y;switch(r(p,0)){case"$":return"$";case"&":return m;case"`":return u(P,0,L);case"'":return u(P,j);case"<":y=I[u(p,1,-1)];break;default:var O=+p;if(O===0)return $;if(O>K){var T=n(O/10);return T===0?$:T<=K?_[T-1]===void 0?r(p,1):_[T-1]+r(p,1):$}y=_[O-1]}return y===void 0?"":y})}},1488:function(i,c,e){"use strict";var t=function(a){return a&&a.Math===Math&&a};i.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:(i,c,e)=>{"use strict";var t=e(6881),a=e(3628),n=t({}.hasOwnProperty);i.exports=Object.hasOwn||function(s,u){return n(a(s),u)}},7588:i=>{"use strict";i.exports={}},7458:(i,c,e)=>{"use strict";var t=e(5604);i.exports=t("document","documentElement")},9622:(i,c,e)=>{"use strict";var t=e(6893),a=e(5234),n=e(5926);i.exports=!t&&!a(function(){return Object.defineProperty(n("div"),"a",{get:function(){return 7}}).a!==7})},7568:(i,c,e)=>{"use strict";var t=e(6881),a=e(5234),n=e(8689),r=Object,s=t("".split);i.exports=a(function(){return!r("z").propertyIsEnumerable(0)})?function(u){return n(u)==="String"?s(u,""):r(u)}:r},3029:(i,c,e)=>{"use strict";var t=e(6881),a=e(4188),n=e(2694),r=t(Function.toString);a(n.inspectSource)||(n.inspectSource=function(s){return r(s)}),i.exports=n.inspectSource},3086:(i,c,e)=>{"use strict";var t=e(5945),a=e(1488),n=e(831),r=e(8088),s=e(4418),u=e(2694),f=e(168),d=e(7588),m="Object already initialized",P=a.TypeError,L=a.WeakMap,_,I,C,j=function(p){return C(p)?I(p):_(p,{})},K=function(p){return function(y){var O;if(!n(y)||(O=I(y)).type!==p)throw new P("Incompatible receiver, "+p+" required");return O}};if(t||u.state){var W=u.state||(u.state=new L);W.get=W.get,W.has=W.has,W.set=W.set,_=function(p,y){if(W.has(p))throw new P(m);return y.facade=p,W.set(p,y),y},I=function(p){return W.get(p)||{}},C=function(p){return W.has(p)}}else{var $=f("state");d[$]=!0,_=function(p,y){if(s(p,$))throw new P(m);return y.facade=p,r(p,$,y),y},I=function(p){return s(p,$)?p[$]:{}},C=function(p){return s(p,$)}}i.exports={set:_,get:I,has:C,enforce:j,getterFor:K}},4188:i=>{"use strict";var c=typeof document=="object"&&document.all;i.exports=typeof c>"u"&&c!==void 0?function(e){return typeof e=="function"||e===c}:function(e){return typeof e=="function"}},8489:(i,c,e)=>{"use strict";var t=e(5234),a=e(4188),n=/#|\.prototype\./,r=function(m,P){var L=u[s(m)];return L===d?!0:L===f?!1:a(P)?t(P):!!P},s=r.normalize=function(m){return String(m).replace(n,".").toLowerCase()},u=r.data={},f=r.NATIVE="N",d=r.POLYFILL="P";i.exports=r},4318:i=>{"use strict";i.exports=function(c){return c==null}},831:(i,c,e)=>{"use strict";var t=e(4188);i.exports=function(a){return typeof a=="object"?a!==null:t(a)}},1942:i=>{"use strict";i.exports=!1},473:(i,c,e)=>{"use strict";var t=e(831),a=e(8689),n=e(4282),r=n("match");i.exports=function(s){var u;return t(s)&&((u=s[r])!==void 0?!!u:a(s)==="RegExp")}},6032:(i,c,e)=>{"use strict";var t=e(5604),a=e(4188),n=e(4578),r=e(9809),s=Object;i.exports=r?function(u){return typeof u=="symbol"}:function(u){var f=t("Symbol");return a(f)&&n(f.prototype,s(u))}},9389:(i,c,e)=>{"use strict";var t=e(7611);i.exports=function(a){return t(a.length)}},4530:(i,c,e)=>{"use strict";var t=e(6881),a=e(5234),n=e(4188),r=e(4418),s=e(6893),u=e(2735).CONFIGURABLE,f=e(3029),d=e(3086),m=d.enforce,P=d.get,L=String,_=Object.defineProperty,I=t("".slice),C=t("".replace),j=t([].join),K=s&&!a(function(){return _(function(){},"length",{value:8}).length!==8}),W=String(String).split("String"),$=i.exports=function(p,y,O){I(L(y),0,7)==="Symbol("&&(y="["+C(L(y),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),O&&O.getter&&(y="get "+y),O&&O.setter&&(y="set "+y),(!r(p,"name")||u&&p.name!==y)&&(s?_(p,"name",{value:y,configurable:!0}):p.name=y),K&&O&&r(O,"arity")&&p.length!==O.arity&&_(p,"length",{value:O.arity});try{O&&r(O,"constructor")&&O.constructor?s&&_(p,"prototype",{writable:!1}):p.prototype&&(p.prototype=void 0)}catch{}var T=m(p);return r(T,"source")||(T.source=j(W,typeof y=="string"?y:"")),p};Function.prototype.toString=$(function(){return n(this)&&P(this).source||f(this)},"toString")},142:i=>{"use strict";var c=Math.ceil,e=Math.floor;i.exports=Math.trunc||function(a){var n=+a;return(n>0?e:c)(n)}},7065:(i,c,e)=>{"use strict";var t=e(3770),a=e(30),n=e(1274),r=e(7588),s=e(7458),u=e(5926),f=e(168),d=">",m="<",P="prototype",L="script",_=f("IE_PROTO"),I=function(){},C=function(p){return m+L+d+p+m+"/"+L+d},j=function(p){p.write(C("")),p.close();var y=p.parentWindow.Object;return p=null,y},K=function(){var p=u("iframe"),y="java"+L+":",O;return p.style.display="none",s.appendChild(p),p.src=String(y),O=p.contentWindow.document,O.open(),O.write(C("document.F=Object")),O.close(),O.F},W,$=function(){try{W=new ActiveXObject("htmlfile")}catch{}$=typeof document<"u"?document.domain&&W?j(W):K():j(W);for(var p=n.length;p--;)delete $[P][n[p]];return $()};r[_]=!0,i.exports=Object.create||function(y,O){var T;return y!==null?(I[P]=t(y),T=new I,I[P]=null,T[_]=y):T=$(),O===void 0?T:a.f(T,O)}},30:(i,c,e)=>{"use strict";var t=e(6893),a=e(3315),n=e(4466),r=e(3770),s=e(380),u=e(7137);c.f=t&&!a?Object.defineProperties:function(d,m){r(d);for(var P=s(m),L=u(m),_=L.length,I=0,C;_>I;)n.f(d,C=L[I++],P[C]);return d}},4466:(i,c,e)=>{"use strict";var t=e(6893),a=e(9622),n=e(3315),r=e(3770),s=e(2344),u=TypeError,f=Object.defineProperty,d=Object.getOwnPropertyDescriptor,m="enumerable",P="configurable",L="writable";c.f=t?n?function(I,C,j){if(r(I),C=s(C),r(j),typeof I=="function"&&C==="prototype"&&"value"in j&&L in j&&!j[L]){var K=d(I,C);K&&K[L]&&(I[C]=j.value,j={configurable:P in j?j[P]:K[P],enumerable:m in j?j[m]:K[m],writable:!1})}return f(I,C,j)}:f:function(I,C,j){if(r(I),C=s(C),r(j),a)try{return f(I,C,j)}catch{}if("get"in j||"set"in j)throw new u("Accessors not supported");return"value"in j&&(I[C]=j.value),I}},9304:(i,c,e)=>{"use strict";var t=e(6893),a=e(9944),n=e(4416),r=e(9123),s=e(380),u=e(2344),f=e(4418),d=e(9622),m=Object.getOwnPropertyDescriptor;c.f=t?m:function(L,_){if(L=s(L),_=u(_),d)try{return m(L,_)}catch{}if(f(L,_))return r(!a(n.f,L,_),L[_])}},5629:(i,c,e)=>{"use strict";var t=e(1843),a=e(1274),n=a.concat("length","prototype");c.f=Object.getOwnPropertyNames||function(s){return t(s,n)}},156:(i,c)=>{"use strict";c.f=Object.getOwnPropertySymbols},4578:(i,c,e)=>{"use strict";var t=e(6881);i.exports=t({}.isPrototypeOf)},1843:(i,c,e)=>{"use strict";var t=e(6881),a=e(4418),n=e(380),r=e(1458).indexOf,s=e(7588),u=t([].push);i.exports=function(f,d){var m=n(f),P=0,L=[],_;for(_ in m)!a(s,_)&&a(m,_)&&u(L,_);for(;d.length>P;)a(m,_=d[P++])&&(~r(L,_)||u(L,_));return L}},7137:(i,c,e)=>{"use strict";var t=e(1843),a=e(1274);i.exports=Object.keys||function(r){return t(r,a)}},4416:(i,c)=>{"use strict";var e={}.propertyIsEnumerable,t=Object.getOwnPropertyDescriptor,a=t&&!e.call({1:2},1);c.f=a?function(r){var s=t(this,r);return!!s&&s.enumerable}:e},2287:(i,c,e)=>{"use strict";var t=e(9944),a=e(4188),n=e(831),r=TypeError;i.exports=function(s,u){var f,d;if(u==="string"&&a(f=s.toString)&&!n(d=t(f,s))||a(f=s.valueOf)&&!n(d=t(f,s))||u!=="string"&&a(f=s.toString)&&!n(d=t(f,s)))return d;throw new r("Can't convert object to primitive value")}},3168:(i,c,e)=>{"use strict";var t=e(5604),a=e(6881),n=e(5629),r=e(156),s=e(3770),u=a([].concat);i.exports=t("Reflect","ownKeys")||function(d){var m=n.f(s(d)),P=r.f;return P?u(m,P(d)):m}},4721:(i,c,e)=>{"use strict";var t=e(9944),a=e(3770),n=e(4188),r=e(8689),s=e(9342),u=TypeError;i.exports=function(f,d){var m=f.exec;if(n(m)){var P=t(m,f,d);return P!==null&&a(P),P}if(r(f)==="RegExp")return t(s,f,d);throw new u("RegExp#exec called on incompatible receiver")}},9342:(i,c,e)=>{"use strict";var t=e(9944),a=e(6881),n=e(2618),r=e(4932),s=e(5976),u=e(746),f=e(7065),d=e(3086).get,m=e(6676),P=e(4609),L=u("native-string-replace",String.prototype.replace),_=RegExp.prototype.exec,I=_,C=a("".charAt),j=a("".indexOf),K=a("".replace),W=a("".slice),$=function(){var T=/a/,G=/b*/g;return t(_,T,"a"),t(_,G,"a"),T.lastIndex!==0||G.lastIndex!==0}(),p=s.BROKEN_CARET,y=/()??/.exec("")[1]!==void 0,O=$||y||p||m||P;O&&(I=function(G){var D=this,B=d(D),Y=n(G),X=B.raw,g,w,S,E,F,l,h;if(X)return X.lastIndex=D.lastIndex,g=t(I,X,Y),D.lastIndex=X.lastIndex,g;var v=B.groups,x=p&&D.sticky,o=t(r,D),b=D.source,M=0,N=Y;if(x&&(o=K(o,"y",""),j(o,"g")===-1&&(o+="g"),N=W(Y,D.lastIndex),D.lastIndex>0&&(!D.multiline||D.multiline&&C(Y,D.lastIndex-1)!==`
|
|
76
|
+
`}}customElements.get(z)===void 0&&customElements.define(z,ee);const te=[{name:"loader",defaultElement:document.createElement(N)},{name:"error",defaultElement:document.createElement(z)}],re=["error","loading"],ae={error:"error",loading:"loader"},ce=({src:Q,elementNameSuffix:A,version:V,prefetchFeatureApp:U})=>(0,t.__awaiter)(void 0,void 0,void 0,function*(){var H,Z,k,oe,pe,ye,me,fe,de,le,q,xe,_e,we,Oe;window.bwell||(window.bwell=new M({metadata:{version:V}}));const ge=`bwell-${A}`;if(customElements.get(ge)!==void 0)return;class Le extends n{constructor(){super(),H.add(this),Z.set(this,(0,m.Ak)()),k.set(this,void 0),oe.set(this,document.createElement("feature-app-loader")),pe.set(this,new y.EventEmitter),ye.set(this,void 0),me.set(this,void 0),fe.set(this,void 0),de.set(this,void 0),le.set(this,void 0),q.set(this,void 0),this.attachShadow({mode:"open"});const ne=new S(te).attachToShadowRoot(this.shadowRoot);ne.addEventListener("visibilitychange",({visibility:ve,container:Pe,name:Te})=>{Te==="error"&&ve==="visible"&&window.bwell._registerEmbeddableContent(Pe),(0,t.__classPrivateFieldGet)(this,oe,"f").style.display=ve==="hidden"?"unset":"hidden"}),(0,t.__classPrivateFieldSet)(this,q,{slots:ne,attributes:new p().bindTo(this),loaderEventEmitter:(0,t.__classPrivateFieldGet)(this,pe,"f")},"f"),(0,t.__classPrivateFieldSet)(this,ye,(0,t.__classPrivateFieldGet)(this,H,"m",xe).bind(this),"f"),(0,t.__classPrivateFieldSet)(this,me,(0,t.__classPrivateFieldGet)(this,H,"m",_e).bind(this),"f"),(0,t.__classPrivateFieldSet)(this,fe,(0,t.__classPrivateFieldGet)(this,H,"m",Oe).call(this,"error"),"f"),(0,t.__classPrivateFieldSet)(this,de,(0,t.__classPrivateFieldGet)(this,H,"m",Oe).call(this,"loading"),"f")}connectedCallback(){return(0,t.__awaiter)(this,void 0,void 0,function*(){(0,t.__classPrivateFieldGet)(this,fe,"f").call(this,(0,t.__classPrivateFieldGet)(this,q,"f").attributes.get("error")),(0,t.__classPrivateFieldGet)(this,de,"f").call(this,(0,t.__classPrivateFieldGet)(this,q,"f").attributes.get("loading")),(0,t.__classPrivateFieldGet)(this,q,"f").slots.addEventListener("visibilitychange",(0,t.__classPrivateFieldGet)(this,me,"f")),(0,t.__classPrivateFieldGet)(this,q,"f").attributes.addChangeListener("error",(0,t.__classPrivateFieldGet)(this,fe,"f")),(0,t.__classPrivateFieldGet)(this,q,"f").attributes.addChangeListener("loading",(0,t.__classPrivateFieldGet)(this,de,"f")),(0,t.__classPrivateFieldGet)(this,q,"f").slots.showSlot("loader");try{yield window.bwell.validateLoad()}catch{(0,t.__classPrivateFieldGet)(this,q,"f").slots.showSlot("error")}(0,t.__classPrivateFieldSet)(this,Z,this.id||(0,t.__classPrivateFieldGet)(this,Z,"f"),"f"),(0,t.__classPrivateFieldSet)(this,k,new d((0,t.__classPrivateFieldGet)(this,Z,"f")),"f"),(0,t.__classPrivateFieldGet)(this,k,"f").registerDispatcher(ne=>this.dispatchEvent(ne)),window.bwell.isInitialized?(0,t.__classPrivateFieldGet)(this,ye,"f").call(this):(window.bwell.once("initialized",(0,t.__classPrivateFieldGet)(this,ye,"f")),window.bwell.once("error",()=>{(0,t.__classPrivateFieldGet)(this,q,"f").slots.showSlot("error")}),U&&(0,a.h)(Q).catch(()=>{(0,t.__classPrivateFieldGet)(this,q,"f").slots.showSlot("error")}))})}disconnectedCallback(){var ne;(0,t.__classPrivateFieldGet)(this,pe,"f").emit("disconnect"),(0,t.__classPrivateFieldGet)(this,q,"f").slots.removeEventListener("visibilitychange",(0,t.__classPrivateFieldGet)(this,me,"f")),(0,t.__classPrivateFieldGet)(this,q,"f").attributes.removeChangeListener("error",(0,t.__classPrivateFieldGet)(this,fe,"f")),(0,t.__classPrivateFieldGet)(this,q,"f").attributes.removeChangeListener("loading",(0,t.__classPrivateFieldGet)(this,de,"f")),(ne=(0,t.__classPrivateFieldGet)(this,k,"f"))===null||ne===void 0||ne.deregister(),(0,t.__classPrivateFieldGet)(this,pe,"f").removeAllListeners()}}Z=new WeakMap,k=new WeakMap,oe=new WeakMap,pe=new WeakMap,ye=new WeakMap,me=new WeakMap,fe=new WeakMap,de=new WeakMap,le=new WeakMap,q=new WeakMap,H=new WeakSet,xe=function(){(0,t.__classPrivateFieldGet)(this,oe,"f").setAttribute("featureAppId",`bwell-embeddable:${ge}`),(0,t.__classPrivateFieldGet)(this,oe,"f").setAttribute("src",Q),(0,t.__classPrivateFieldGet)(this,oe,"f").config={id:(0,t.__classPrivateFieldGet)(this,Z,"f"),name:A,elementName:ge,utils:(0,t.__classPrivateFieldGet)(this,q,"f")},this.shadowRoot.appendChild((0,t.__classPrivateFieldGet)(this,oe,"f"))},_e=function({visibility:ne,name:ve}){(0,t.__classPrivateFieldGet)(this,oe,"f").style.display=ne==="hidden"?"unset":"hidden"},we=function(ne){(0,t.__classPrivateFieldGet)(this,le,"f")(),(0,t.__classPrivateFieldSet)(this,le,void 0,"f")},Oe=function(ne){return ve=>{const Pe=re.findIndex(he=>he===ne);if(!re.slice(0,Pe).some(he=>(0,t.__classPrivateFieldGet)(this,q,"f").attributes.get(he)!==null)){if(ve!==null)(0,t.__classPrivateFieldGet)(this,le,"f")&&(0,t.__classPrivateFieldGet)(this,H,"m",we).call(this,ne),(0,t.__classPrivateFieldSet)(this,le,(0,t.__classPrivateFieldGet)(this,q,"f").slots.showSlotLocked(ae[ne]),"f");else if(ve===null&&(0,t.__classPrivateFieldGet)(this,le,"f")){(0,t.__classPrivateFieldGet)(this,H,"m",we).call(this,ne);const he=re.find(Fe=>(0,t.__classPrivateFieldGet)(this,q,"f").attributes.get(Fe)!==null);he&&(0,t.__classPrivateFieldSet)(this,le,(0,t.__classPrivateFieldGet)(this,q,"f").slots.showSlotLocked(ae[he]),"f")}}}},customElements.define(ge,Le)}),se=JSON.parse('{"rE":"1.1058.1-alpha.2"}'),ie="composite";var ue=e(7321);ce({src:`https://embeddables.prod.icanbwell.com/${ie}/${se.rE}/scripts/embeddable.federated.js`,elementNameSuffix:ie,version:se.rE,prefetchFeatureApp:!0})},992:(i,c,e)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),c.Broadcaster=void 0;var t=e(46),a=function(){function n(r,s){if(s===void 0&&(s=0),this.emitter=new t.EventEmitter,typeof r>"u"||r.length===0)throw new Error("Broadcaster must have a name");this._name=r,this.emitter.setMaxListeners(s)}return Object.defineProperty(n.prototype,"name",{get:function(){return this._name},enumerable:!1,configurable:!0}),n.prototype.emit=function(r){this.emitter.emit(this._name,r)},n.prototype.addListener=function(r){return this._addListener("addListener",r)},n.prototype.on=function(r){return this.addListener(r)},n.prototype.prependListener=function(r){return this._addListener("prependListener",r)},n.prototype.once=function(r){return this._addListener("once",r)},n.prototype.prependOnceListener=function(r){return this._addListener("prependOnceListener",r)},n.prototype.removeListener=function(r){this._proxyListener("removeListener",r)},n.prototype.off=function(r){this.removeListener(r)},n.prototype.removeAllListeners=function(){this.emitter.removeAllListeners(this._name)},n.prototype.getMaxListeners=function(){return this.emitter.getMaxListeners()},n.prototype.setMaxListeners=function(r){this.emitter.setMaxListeners(r)},n.prototype.getEventEmitter=function(){return this.emitter},n.prototype.listeners=function(){return this.emitter.listeners(this._name)},n.prototype.rawListeners=function(){return this.emitter.rawListeners(this._name)},n.prototype.listenerCount=function(){return this.emitter.listenerCount(this._name)},n.prototype._proxyListener=function(r,s){this.emitter[r](this._name,s)},n.prototype._createUnsubscribe=function(r){var s=this;return function(){s.emitter.removeListener(s._name,r)}},n.prototype._addListener=function(r,s){return this._proxyListener(r,s),this._createUnsubscribe(s)},n.prototype.destroy=function(){this.emitter.removeAllListeners()},n}();c.Broadcaster=a},9987:function(i,c,e){"use strict";var t=this&&this.__extends||function(){var s=function(u,f){return s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,m){d.__proto__=m}||function(d,m){for(var P in m)Object.prototype.hasOwnProperty.call(m,P)&&(d[P]=m[P])},s(u,f)};return function(u,f){if(typeof f!="function"&&f!==null)throw new TypeError("Class extends value "+String(f)+" is not a constructor or null");s(u,f);function d(){this.constructor=u}u.prototype=f===null?Object.create(f):(d.prototype=f.prototype,new d)}}();Object.defineProperty(c,"__esModule",{value:!0}),c.Channel=void 0;var a=e(992),n=e(1987),r=function(s){t(u,s);function u(f,d){d===void 0&&(d=0);var m=s.call(this,f,d)||this;return m.topics={},m._onTopicDestroyed=m._onTopicDestroyed.bind(m),m._onTopicEmit=m._onTopicEmit.bind(m),m}return u.prototype.emit=function(f){var d={channel:this.name,topic:"*",payload:f};s.prototype.emit.call(this,d)},u.prototype.topic=function(f){var d=this.topics[f];return typeof d>"u"&&(d=this.topics[f]=new n.Topic(f,this.name,this.getMaxListeners()),d.getEventEmitter().on("topic_destroyed",this._onTopicDestroyed),d.on(this._onTopicEmit)),d},u.prototype.hasTopic=function(f){return Boolean(this.topics[f])},u.prototype.removeTopic=function(f){var d=this.topics[f];return typeof d<"u"?(delete this.topics[f],d.destroy(),!0):!1},u.prototype.getAllTopics=function(){return Object.values(this.topics)},u.prototype._onTopicEmit=function(f){s.prototype.emit.call(this,f)},u.prototype._onTopicDestroyed=function(f){delete this.topics[f]},u.prototype.destroy=function(){for(var f in this.topics)this.removeTopic(f);this.emitter.emit("channel_destroyed",this.name),s.prototype.destroy.call(this)},u}(a.Broadcaster);c.Channel=r},5447:(i,c,e)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),c.EventBus=void 0;var t=e(9987),a=function(){function n(r){this.channels={},r=typeof r>"u"?{}:r,this._maxListeners=r.maxListeners===void 0?0:r.maxListeners,this.onChannelDestroyed=this.onChannelDestroyed.bind(this),this.createMainChannel(),this.onChannelEmit=this.onChannelEmit.bind(this)}return n.prototype.createMainChannel=function(){var r=this;this.defaultChannel=new t.Channel("*",this._maxListeners),this.channels["*"]=this.defaultChannel,this.defaultChannel.getEventEmitter().on("channel_destroyed",function(){r.createMainChannel()})},n.prototype.mainChannel=function(){return this.defaultChannel},n.prototype.allChannels=function(){return this.mainChannel()},n.prototype.channel=function(r){var s=this.channels[r];return typeof s>"u"&&(s=this.channels[r]=new t.Channel(r,this._maxListeners),s.on(this.onChannelEmit),s.getEventEmitter().on("channel_destroyed",this.onChannelDestroyed)),s},n.prototype.hasChannel=function(r){return Boolean(this.channels[r])},n.prototype.removeChannel=function(r){if(r==="*")throw new Error("Can't remove default channel");var s=this.channels[r];return typeof s<"u"?(s.destroy(),!0):!1},n.prototype.onChannelEmit=function(r){var s=r.topic;if(this.defaultChannel.hasTopic(s)){var u={topic:r.topic,channel:r.channel,payload:r.payload};this.defaultChannel.topic(s).getEventEmitter().emit(s,u)}this.defaultChannel.getEventEmitter().emit(this.defaultChannel.name,r)},n.prototype.onChannelDestroyed=function(r){delete this.channels[r]},n.prototype.getAllChannels=function(){return Object.values(this.channels)},n.prototype.destroy=function(){for(var r in this.channels)this.channels[r].destroy()},n}();c.EventBus=a},4032:function(i,c,e){"use strict";var t=this&&this.__createBinding||(Object.create?function(n,r,s,u){u===void 0&&(u=s),Object.defineProperty(n,u,{enumerable:!0,get:function(){return r[s]}})}:function(n,r,s,u){u===void 0&&(u=s),n[u]=r[s]}),a=this&&this.__exportStar||function(n,r){for(var s in n)s!=="default"&&!Object.prototype.hasOwnProperty.call(r,s)&&t(r,n,s)};Object.defineProperty(c,"__esModule",{value:!0}),a(e(992),c),a(e(5447),c),a(e(9987),c),a(e(1987),c)},1987:function(i,c,e){"use strict";var t=this&&this.__extends||function(){var r=function(s,u){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,d){f.__proto__=d}||function(f,d){for(var m in d)Object.prototype.hasOwnProperty.call(d,m)&&(f[m]=d[m])},r(s,u)};return function(s,u){if(typeof u!="function"&&u!==null)throw new TypeError("Class extends value "+String(u)+" is not a constructor or null");r(s,u);function f(){this.constructor=s}s.prototype=u===null?Object.create(u):(f.prototype=u.prototype,new f)}}();Object.defineProperty(c,"__esModule",{value:!0}),c.Topic=void 0;var a=e(992),n=function(r){t(s,r);function s(u,f,d){d===void 0&&(d=0);var m=r.call(this,u,d)||this;return m.channel=f,m}return s.prototype.emit=function(u){var f={channel:this.channel,topic:this.name,payload:u};r.prototype.emit.call(this,f)},s.prototype.destroy=function(){this.emitter.emit("topic_destroyed",this.name),r.prototype.destroy.call(this)},s}(a.Broadcaster);c.Topic=n},46:i=>{"use strict";var c=typeof Reflect=="object"?Reflect:null,e=c&&typeof c.apply=="function"?c.apply:function(y,O,T){return Function.prototype.apply.call(y,O,T)},t;c&&typeof c.ownKeys=="function"?t=c.ownKeys:Object.getOwnPropertySymbols?t=function(y){return Object.getOwnPropertyNames(y).concat(Object.getOwnPropertySymbols(y))}:t=function(y){return Object.getOwnPropertyNames(y)};function a(p){console&&console.warn&&console.warn(p)}var n=Number.isNaN||function(y){return y!==y};function r(){r.init.call(this)}i.exports=r,i.exports.once=K,r.EventEmitter=r,r.prototype._events=void 0,r.prototype._eventsCount=0,r.prototype._maxListeners=void 0;var s=10;function u(p){if(typeof p!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof p)}Object.defineProperty(r,"defaultMaxListeners",{enumerable:!0,get:function(){return s},set:function(p){if(typeof p!="number"||p<0||n(p))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+p+".");s=p}}),r.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},r.prototype.setMaxListeners=function(y){if(typeof y!="number"||y<0||n(y))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+y+".");return this._maxListeners=y,this};function f(p){return p._maxListeners===void 0?r.defaultMaxListeners:p._maxListeners}r.prototype.getMaxListeners=function(){return f(this)},r.prototype.emit=function(y){for(var O=[],T=1;T<arguments.length;T++)O.push(arguments[T]);var G=y==="error",D=this._events;if(D!==void 0)G=G&&D.error===void 0;else if(!G)return!1;if(G){var B;if(O.length>0&&(B=O[0]),B instanceof Error)throw B;var Y=new Error("Unhandled error."+(B?" ("+B.message+")":""));throw Y.context=B,Y}var X=D[y];if(X===void 0)return!1;if(typeof X=="function")e(X,this,O);else for(var g=X.length,w=I(X,g),T=0;T<g;++T)e(w[T],this,O);return!0};function d(p,y,O,T){var G,D,B;if(u(O),D=p._events,D===void 0?(D=p._events=Object.create(null),p._eventsCount=0):(D.newListener!==void 0&&(p.emit("newListener",y,O.listener?O.listener:O),D=p._events),B=D[y]),B===void 0)B=D[y]=O,++p._eventsCount;else if(typeof B=="function"?B=D[y]=T?[O,B]:[B,O]:T?B.unshift(O):B.push(O),G=f(p),G>0&&B.length>G&&!B.warned){B.warned=!0;var Y=new Error("Possible EventEmitter memory leak detected. "+B.length+" "+String(y)+" listeners added. Use emitter.setMaxListeners() to increase limit");Y.name="MaxListenersExceededWarning",Y.emitter=p,Y.type=y,Y.count=B.length,a(Y)}return p}r.prototype.addListener=function(y,O){return d(this,y,O,!1)},r.prototype.on=r.prototype.addListener,r.prototype.prependListener=function(y,O){return d(this,y,O,!0)};function m(){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(p,y,O){var T={fired:!1,wrapFn:void 0,target:p,type:y,listener:O},G=m.bind(T);return G.listener=O,T.wrapFn=G,G}r.prototype.once=function(y,O){return u(O),this.on(y,P(this,y,O)),this},r.prototype.prependOnceListener=function(y,O){return u(O),this.prependListener(y,P(this,y,O)),this},r.prototype.removeListener=function(y,O){var T,G,D,B,Y;if(u(O),G=this._events,G===void 0)return this;if(T=G[y],T===void 0)return this;if(T===O||T.listener===O)--this._eventsCount===0?this._events=Object.create(null):(delete G[y],G.removeListener&&this.emit("removeListener",y,T.listener||O));else if(typeof T!="function"){for(D=-1,B=T.length-1;B>=0;B--)if(T[B]===O||T[B].listener===O){Y=T[B].listener,D=B;break}if(D<0)return this;D===0?T.shift():C(T,D),T.length===1&&(G[y]=T[0]),G.removeListener!==void 0&&this.emit("removeListener",y,Y||O)}return this},r.prototype.off=r.prototype.removeListener,r.prototype.removeAllListeners=function(y){var O,T,G;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[y]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete T[y]),this;if(arguments.length===0){var D=Object.keys(T),B;for(G=0;G<D.length;++G)B=D[G],B!=="removeListener"&&this.removeAllListeners(B);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(O=T[y],typeof O=="function")this.removeListener(y,O);else if(O!==void 0)for(G=O.length-1;G>=0;G--)this.removeListener(y,O[G]);return this};function L(p,y,O){var T=p._events;if(T===void 0)return[];var G=T[y];return G===void 0?[]:typeof G=="function"?O?[G.listener||G]:[G]:O?j(G):I(G,G.length)}r.prototype.listeners=function(y){return L(this,y,!0)},r.prototype.rawListeners=function(y){return L(this,y,!1)},r.listenerCount=function(p,y){return typeof p.listenerCount=="function"?p.listenerCount(y):_.call(p,y)},r.prototype.listenerCount=_;function _(p){var y=this._events;if(y!==void 0){var O=y[p];if(typeof O=="function")return 1;if(O!==void 0)return O.length}return 0}r.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]};function I(p,y){for(var O=new Array(y),T=0;T<y;++T)O[T]=p[T];return O}function C(p,y){for(;y+1<p.length;y++)p[y]=p[y+1];p.pop()}function j(p){for(var y=new Array(p.length),O=0;O<y.length;++O)y[O]=p[O].listener||p[O];return y}function K(p,y){return new Promise(function(O,T){function G(B){p.removeListener(y,D),T(B)}function D(){typeof p.removeListener=="function"&&p.removeListener("error",G),O([].slice.call(arguments))}$(p,y,D,{once:!0}),y!=="error"&&W(p,G,{once:!0})})}function W(p,y,O){typeof p.on=="function"&&$(p,"error",y,O)}function $(p,y,O,T){if(typeof p.on=="function")T.once?p.once(y,O):p.on(y,O);else if(typeof p.addEventListener=="function")p.addEventListener(y,function G(D){T.once&&p.removeEventListener(y,G),O(D)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof p)}},7321:(i,c,e)=>{"use strict";var t=e(3030);i.exports=t},9283:(i,c,e)=>{"use strict";e(8376),e(4293),e(8715);var t=e(2564);i.exports=t("String","replaceAll")},4977:(i,c,e)=>{"use strict";var t=e(4188),a=e(3174),n=TypeError;i.exports=function(r){if(t(r))return r;throw new n(a(r)+" is not a function")}},154:(i,c,e)=>{"use strict";var t=e(4212).charAt;i.exports=function(a,n,r){return n+(r?t(a,n).length:1)}},3770:(i,c,e)=>{"use strict";var t=e(831),a=String,n=TypeError;i.exports=function(r){if(t(r))return r;throw new n(a(r)+" is not an object")}},1458:(i,c,e)=>{"use strict";var t=e(380),a=e(675),n=e(9389),r=function(s){return function(u,f,d){var m=t(u),P=n(m);if(P===0)return!s&&-1;var L=a(d,P),_;if(s&&f!==f){for(;P>L;)if(_=m[L++],_!==_)return!0}else for(;P>L;L++)if((s||L in m)&&m[L]===f)return s||L||0;return!s&&-1}};i.exports={includes:r(!0),indexOf:r(!1)}},8689:(i,c,e)=>{"use strict";var t=e(6881),a=t({}.toString),n=t("".slice);i.exports=function(r){return n(a(r),8,-1)}},5438:(i,c,e)=>{"use strict";var t=e(9345),a=e(4188),n=e(8689),r=e(4282),s=r("toStringTag"),u=Object,f=n(function(){return arguments}())==="Arguments",d=function(m,P){try{return m[P]}catch{}};i.exports=t?n:function(m){var P,L,_;return m===void 0?"Undefined":m===null?"Null":typeof(L=d(P=u(m),s))=="string"?L:f?n(P):(_=n(P))==="Object"&&a(P.callee)?"Arguments":_}},8657:(i,c,e)=>{"use strict";var t=e(4418),a=e(3168),n=e(9304),r=e(4466);i.exports=function(s,u,f){for(var d=a(u),m=r.f,P=n.f,L=0;L<d.length;L++){var _=d[L];!t(s,_)&&!(f&&t(f,_))&&m(s,_,P(u,_))}}},8088:(i,c,e)=>{"use strict";var t=e(6893),a=e(4466),n=e(9123);i.exports=t?function(r,s,u){return a.f(r,s,n(1,u))}:function(r,s,u){return r[s]=u,r}},9123:i=>{"use strict";i.exports=function(c,e){return{enumerable:!(c&1),configurable:!(c&2),writable:!(c&4),value:e}}},7509:(i,c,e)=>{"use strict";var t=e(4188),a=e(4466),n=e(4530),r=e(4798);i.exports=function(s,u,f,d){d||(d={});var m=d.enumerable,P=d.name!==void 0?d.name:u;if(t(f)&&n(f,P,d),d.global)m?s[u]=f:r(u,f);else{try{d.unsafe?s[u]&&(m=!0):delete s[u]}catch{}m?s[u]=f:a.f(s,u,{value:f,enumerable:!1,configurable:!d.nonConfigurable,writable:!d.nonWritable})}return s}},4798:(i,c,e)=>{"use strict";var t=e(1488),a=Object.defineProperty;i.exports=function(n,r){try{a(t,n,{value:r,configurable:!0,writable:!0})}catch{t[n]=r}return r}},6893:(i,c,e)=>{"use strict";var t=e(5234);i.exports=!t(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})},5926:(i,c,e)=>{"use strict";var t=e(1488),a=e(831),n=t.document,r=a(n)&&a(n.createElement);i.exports=function(s){return r?n.createElement(s):{}}},4109:i=>{"use strict";i.exports=typeof navigator<"u"&&String(navigator.userAgent)||""},3749:(i,c,e)=>{"use strict";var t=e(1488),a=e(4109),n=t.process,r=t.Deno,s=n&&n.versions||r&&r.version,u=s&&s.v8,f,d;u&&(f=u.split("."),d=f[0]>0&&f[0]<4?1:+(f[0]+f[1])),!d&&a&&(f=a.match(/Edge\/(\d+)/),(!f||f[1]>=74)&&(f=a.match(/Chrome\/(\d+)/),f&&(d=+f[1]))),i.exports=d},2564:(i,c,e)=>{"use strict";var t=e(1488),a=e(6881);i.exports=function(n,r){return a(t[n].prototype[r])}},1274:i=>{"use strict";i.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},5613:(i,c,e)=>{"use strict";var t=e(1488),a=e(9304).f,n=e(8088),r=e(7509),s=e(4798),u=e(8657),f=e(8489);i.exports=function(d,m){var P=d.target,L=d.global,_=d.stat,I,C,j,K,W,$;if(L?C=t:_?C=t[P]||s(P,{}):C=t[P]&&t[P].prototype,C)for(j in m){if(W=m[j],d.dontCallGetSet?($=a(C,j),K=$&&$.value):K=C[j],I=f(L?j:P+(_?".":"#")+j,d.forced),!I&&K!==void 0){if(typeof W==typeof K)continue;u(W,K)}(d.sham||K&&K.sham)&&n(W,"sham",!0),r(C,j,W,d)}}},5234:i=>{"use strict";i.exports=function(c){try{return!!c()}catch{return!0}}},467:(i,c,e)=>{"use strict";e(8376);var t=e(9944),a=e(7509),n=e(9342),r=e(5234),s=e(4282),u=e(8088),f=s("species"),d=RegExp.prototype;i.exports=function(m,P,L,_){var I=s(m),C=!r(function(){var $={};return $[I]=function(){return 7},""[m]($)!==7}),j=C&&!r(function(){var $=!1,p=/a/;return m==="split"&&(p={},p.constructor={},p.constructor[f]=function(){return p},p.flags="",p[I]=/./[I]),p.exec=function(){return $=!0,null},p[I](""),!$});if(!C||!j||L){var K=/./[I],W=P(I,""[m],function($,p,y,O,T){var G=p.exec;return G===n||G===d.exec?C&&!T?{done:!0,value:t(K,p,y,O)}:{done:!0,value:t($,y,p,O)}:{done:!1}});a(String.prototype,m,W[0]),a(d,I,W[1])}_&&u(d[I],"sham",!0)}},646:(i,c,e)=>{"use strict";var t=e(9055),a=Function.prototype,n=a.apply,r=a.call;i.exports=typeof Reflect=="object"&&Reflect.apply||(t?r.bind(n):function(){return r.apply(n,arguments)})},9055:(i,c,e)=>{"use strict";var t=e(5234);i.exports=!t(function(){var a=function(){}.bind();return typeof a!="function"||a.hasOwnProperty("prototype")})},9944:(i,c,e)=>{"use strict";var t=e(9055),a=Function.prototype.call;i.exports=t?a.bind(a):function(){return a.apply(a,arguments)}},2735:(i,c,e)=>{"use strict";var t=e(6893),a=e(4418),n=Function.prototype,r=t&&Object.getOwnPropertyDescriptor,s=a(n,"name"),u=s&&function(){}.name==="something",f=s&&(!t||t&&r(n,"name").configurable);i.exports={EXISTS:s,PROPER:u,CONFIGURABLE:f}},6881:(i,c,e)=>{"use strict";var t=e(9055),a=Function.prototype,n=a.call,r=t&&a.bind.bind(n,n);i.exports=t?r:function(s){return function(){return n.apply(s,arguments)}}},5604:(i,c,e)=>{"use strict";var t=e(1488),a=e(4188),n=function(r){return a(r)?r:void 0};i.exports=function(r,s){return arguments.length<2?n(t[r]):t[r]&&t[r][s]}},2913:(i,c,e)=>{"use strict";var t=e(4977),a=e(4318);i.exports=function(n,r){var s=n[r];return a(s)?void 0:t(s)}},1113:(i,c,e)=>{"use strict";var t=e(6881),a=e(3628),n=Math.floor,r=t("".charAt),s=t("".replace),u=t("".slice),f=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,d=/\$([$&'`]|\d{1,2})/g;i.exports=function(m,P,L,_,I,C){var j=L+m.length,K=_.length,W=d;return I!==void 0&&(I=a(I),W=f),s(C,W,function($,p){var y;switch(r(p,0)){case"$":return"$";case"&":return m;case"`":return u(P,0,L);case"'":return u(P,j);case"<":y=I[u(p,1,-1)];break;default:var O=+p;if(O===0)return $;if(O>K){var T=n(O/10);return T===0?$:T<=K?_[T-1]===void 0?r(p,1):_[T-1]+r(p,1):$}y=_[O-1]}return y===void 0?"":y})}},1488:function(i,c,e){"use strict";var t=function(a){return a&&a.Math===Math&&a};i.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:(i,c,e)=>{"use strict";var t=e(6881),a=e(3628),n=t({}.hasOwnProperty);i.exports=Object.hasOwn||function(s,u){return n(a(s),u)}},7588:i=>{"use strict";i.exports={}},7458:(i,c,e)=>{"use strict";var t=e(5604);i.exports=t("document","documentElement")},9622:(i,c,e)=>{"use strict";var t=e(6893),a=e(5234),n=e(5926);i.exports=!t&&!a(function(){return Object.defineProperty(n("div"),"a",{get:function(){return 7}}).a!==7})},7568:(i,c,e)=>{"use strict";var t=e(6881),a=e(5234),n=e(8689),r=Object,s=t("".split);i.exports=a(function(){return!r("z").propertyIsEnumerable(0)})?function(u){return n(u)==="String"?s(u,""):r(u)}:r},3029:(i,c,e)=>{"use strict";var t=e(6881),a=e(4188),n=e(2694),r=t(Function.toString);a(n.inspectSource)||(n.inspectSource=function(s){return r(s)}),i.exports=n.inspectSource},3086:(i,c,e)=>{"use strict";var t=e(5945),a=e(1488),n=e(831),r=e(8088),s=e(4418),u=e(2694),f=e(168),d=e(7588),m="Object already initialized",P=a.TypeError,L=a.WeakMap,_,I,C,j=function(p){return C(p)?I(p):_(p,{})},K=function(p){return function(y){var O;if(!n(y)||(O=I(y)).type!==p)throw new P("Incompatible receiver, "+p+" required");return O}};if(t||u.state){var W=u.state||(u.state=new L);W.get=W.get,W.has=W.has,W.set=W.set,_=function(p,y){if(W.has(p))throw new P(m);return y.facade=p,W.set(p,y),y},I=function(p){return W.get(p)||{}},C=function(p){return W.has(p)}}else{var $=f("state");d[$]=!0,_=function(p,y){if(s(p,$))throw new P(m);return y.facade=p,r(p,$,y),y},I=function(p){return s(p,$)?p[$]:{}},C=function(p){return s(p,$)}}i.exports={set:_,get:I,has:C,enforce:j,getterFor:K}},4188:i=>{"use strict";var c=typeof document=="object"&&document.all;i.exports=typeof c>"u"&&c!==void 0?function(e){return typeof e=="function"||e===c}:function(e){return typeof e=="function"}},8489:(i,c,e)=>{"use strict";var t=e(5234),a=e(4188),n=/#|\.prototype\./,r=function(m,P){var L=u[s(m)];return L===d?!0:L===f?!1:a(P)?t(P):!!P},s=r.normalize=function(m){return String(m).replace(n,".").toLowerCase()},u=r.data={},f=r.NATIVE="N",d=r.POLYFILL="P";i.exports=r},4318:i=>{"use strict";i.exports=function(c){return c==null}},831:(i,c,e)=>{"use strict";var t=e(4188);i.exports=function(a){return typeof a=="object"?a!==null:t(a)}},1942:i=>{"use strict";i.exports=!1},473:(i,c,e)=>{"use strict";var t=e(831),a=e(8689),n=e(4282),r=n("match");i.exports=function(s){var u;return t(s)&&((u=s[r])!==void 0?!!u:a(s)==="RegExp")}},6032:(i,c,e)=>{"use strict";var t=e(5604),a=e(4188),n=e(4578),r=e(9809),s=Object;i.exports=r?function(u){return typeof u=="symbol"}:function(u){var f=t("Symbol");return a(f)&&n(f.prototype,s(u))}},9389:(i,c,e)=>{"use strict";var t=e(7611);i.exports=function(a){return t(a.length)}},4530:(i,c,e)=>{"use strict";var t=e(6881),a=e(5234),n=e(4188),r=e(4418),s=e(6893),u=e(2735).CONFIGURABLE,f=e(3029),d=e(3086),m=d.enforce,P=d.get,L=String,_=Object.defineProperty,I=t("".slice),C=t("".replace),j=t([].join),K=s&&!a(function(){return _(function(){},"length",{value:8}).length!==8}),W=String(String).split("String"),$=i.exports=function(p,y,O){I(L(y),0,7)==="Symbol("&&(y="["+C(L(y),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),O&&O.getter&&(y="get "+y),O&&O.setter&&(y="set "+y),(!r(p,"name")||u&&p.name!==y)&&(s?_(p,"name",{value:y,configurable:!0}):p.name=y),K&&O&&r(O,"arity")&&p.length!==O.arity&&_(p,"length",{value:O.arity});try{O&&r(O,"constructor")&&O.constructor?s&&_(p,"prototype",{writable:!1}):p.prototype&&(p.prototype=void 0)}catch{}var T=m(p);return r(T,"source")||(T.source=j(W,typeof y=="string"?y:"")),p};Function.prototype.toString=$(function(){return n(this)&&P(this).source||f(this)},"toString")},142:i=>{"use strict";var c=Math.ceil,e=Math.floor;i.exports=Math.trunc||function(a){var n=+a;return(n>0?e:c)(n)}},7065:(i,c,e)=>{"use strict";var t=e(3770),a=e(30),n=e(1274),r=e(7588),s=e(7458),u=e(5926),f=e(168),d=">",m="<",P="prototype",L="script",_=f("IE_PROTO"),I=function(){},C=function(p){return m+L+d+p+m+"/"+L+d},j=function(p){p.write(C("")),p.close();var y=p.parentWindow.Object;return p=null,y},K=function(){var p=u("iframe"),y="java"+L+":",O;return p.style.display="none",s.appendChild(p),p.src=String(y),O=p.contentWindow.document,O.open(),O.write(C("document.F=Object")),O.close(),O.F},W,$=function(){try{W=new ActiveXObject("htmlfile")}catch{}$=typeof document<"u"?document.domain&&W?j(W):K():j(W);for(var p=n.length;p--;)delete $[P][n[p]];return $()};r[_]=!0,i.exports=Object.create||function(y,O){var T;return y!==null?(I[P]=t(y),T=new I,I[P]=null,T[_]=y):T=$(),O===void 0?T:a.f(T,O)}},30:(i,c,e)=>{"use strict";var t=e(6893),a=e(3315),n=e(4466),r=e(3770),s=e(380),u=e(7137);c.f=t&&!a?Object.defineProperties:function(d,m){r(d);for(var P=s(m),L=u(m),_=L.length,I=0,C;_>I;)n.f(d,C=L[I++],P[C]);return d}},4466:(i,c,e)=>{"use strict";var t=e(6893),a=e(9622),n=e(3315),r=e(3770),s=e(2344),u=TypeError,f=Object.defineProperty,d=Object.getOwnPropertyDescriptor,m="enumerable",P="configurable",L="writable";c.f=t?n?function(I,C,j){if(r(I),C=s(C),r(j),typeof I=="function"&&C==="prototype"&&"value"in j&&L in j&&!j[L]){var K=d(I,C);K&&K[L]&&(I[C]=j.value,j={configurable:P in j?j[P]:K[P],enumerable:m in j?j[m]:K[m],writable:!1})}return f(I,C,j)}:f:function(I,C,j){if(r(I),C=s(C),r(j),a)try{return f(I,C,j)}catch{}if("get"in j||"set"in j)throw new u("Accessors not supported");return"value"in j&&(I[C]=j.value),I}},9304:(i,c,e)=>{"use strict";var t=e(6893),a=e(9944),n=e(4416),r=e(9123),s=e(380),u=e(2344),f=e(4418),d=e(9622),m=Object.getOwnPropertyDescriptor;c.f=t?m:function(L,_){if(L=s(L),_=u(_),d)try{return m(L,_)}catch{}if(f(L,_))return r(!a(n.f,L,_),L[_])}},5629:(i,c,e)=>{"use strict";var t=e(1843),a=e(1274),n=a.concat("length","prototype");c.f=Object.getOwnPropertyNames||function(s){return t(s,n)}},156:(i,c)=>{"use strict";c.f=Object.getOwnPropertySymbols},4578:(i,c,e)=>{"use strict";var t=e(6881);i.exports=t({}.isPrototypeOf)},1843:(i,c,e)=>{"use strict";var t=e(6881),a=e(4418),n=e(380),r=e(1458).indexOf,s=e(7588),u=t([].push);i.exports=function(f,d){var m=n(f),P=0,L=[],_;for(_ in m)!a(s,_)&&a(m,_)&&u(L,_);for(;d.length>P;)a(m,_=d[P++])&&(~r(L,_)||u(L,_));return L}},7137:(i,c,e)=>{"use strict";var t=e(1843),a=e(1274);i.exports=Object.keys||function(r){return t(r,a)}},4416:(i,c)=>{"use strict";var e={}.propertyIsEnumerable,t=Object.getOwnPropertyDescriptor,a=t&&!e.call({1:2},1);c.f=a?function(r){var s=t(this,r);return!!s&&s.enumerable}:e},2287:(i,c,e)=>{"use strict";var t=e(9944),a=e(4188),n=e(831),r=TypeError;i.exports=function(s,u){var f,d;if(u==="string"&&a(f=s.toString)&&!n(d=t(f,s))||a(f=s.valueOf)&&!n(d=t(f,s))||u!=="string"&&a(f=s.toString)&&!n(d=t(f,s)))return d;throw new r("Can't convert object to primitive value")}},3168:(i,c,e)=>{"use strict";var t=e(5604),a=e(6881),n=e(5629),r=e(156),s=e(3770),u=a([].concat);i.exports=t("Reflect","ownKeys")||function(d){var m=n.f(s(d)),P=r.f;return P?u(m,P(d)):m}},4721:(i,c,e)=>{"use strict";var t=e(9944),a=e(3770),n=e(4188),r=e(8689),s=e(9342),u=TypeError;i.exports=function(f,d){var m=f.exec;if(n(m)){var P=t(m,f,d);return P!==null&&a(P),P}if(r(f)==="RegExp")return t(s,f,d);throw new u("RegExp#exec called on incompatible receiver")}},9342:(i,c,e)=>{"use strict";var t=e(9944),a=e(6881),n=e(2618),r=e(4932),s=e(5976),u=e(746),f=e(7065),d=e(3086).get,m=e(6676),P=e(4609),L=u("native-string-replace",String.prototype.replace),_=RegExp.prototype.exec,I=_,C=a("".charAt),j=a("".indexOf),K=a("".replace),W=a("".slice),$=function(){var T=/a/,G=/b*/g;return t(_,T,"a"),t(_,G,"a"),T.lastIndex!==0||G.lastIndex!==0}(),p=s.BROKEN_CARET,y=/()??/.exec("")[1]!==void 0,O=$||y||p||m||P;O&&(I=function(G){var D=this,B=d(D),Y=n(G),X=B.raw,g,w,S,E,F,l,h;if(X)return X.lastIndex=D.lastIndex,g=t(I,X,Y),D.lastIndex=X.lastIndex,g;var v=B.groups,x=p&&D.sticky,o=t(r,D),b=D.source,M=0,N=Y;if(x&&(o=K(o,"y",""),j(o,"g")===-1&&(o+="g"),N=W(Y,D.lastIndex),D.lastIndex>0&&(!D.multiline||D.multiline&&C(Y,D.lastIndex-1)!==`
|
|
77
77
|
`)&&(b="(?: "+b+")",N=" "+N,M++),w=new RegExp("^(?:"+b+")",o)),y&&(w=new RegExp("^"+b+"$(?!\\s)",o)),$&&(S=D.lastIndex),E=t(_,x?w:D,N),x?E?(E.input=W(E.input,M),E[0]=W(E[0],M),E.index=D.lastIndex,D.lastIndex+=E[0].length):D.lastIndex=0:$&&E&&(D.lastIndex=D.global?E.index+E[0].length:S),y&&E&&E.length>1&&t(L,E[0],w,function(){for(F=1;F<arguments.length-2;F++)arguments[F]===void 0&&(E[F]=void 0)}),E&&v)for(E.groups=l=f(null),F=0;F<v.length;F++)h=v[F],l[h[0]]=E[h[1]];return E}),i.exports=I},4932:(i,c,e)=>{"use strict";var t=e(3770);i.exports=function(){var a=t(this),n="";return a.hasIndices&&(n+="d"),a.global&&(n+="g"),a.ignoreCase&&(n+="i"),a.multiline&&(n+="m"),a.dotAll&&(n+="s"),a.unicode&&(n+="u"),a.unicodeSets&&(n+="v"),a.sticky&&(n+="y"),n}},3113:(i,c,e)=>{"use strict";var t=e(9944),a=e(4418),n=e(4578),r=e(4932),s=RegExp.prototype;i.exports=function(u){var f=u.flags;return f===void 0&&!("flags"in s)&&!a(u,"flags")&&n(s,u)?t(r,u):f}},5976:(i,c,e)=>{"use strict";var t=e(5234),a=e(1488),n=a.RegExp,r=t(function(){var f=n("a","y");return f.lastIndex=2,f.exec("abcd")!==null}),s=r||t(function(){return!n("a","y").sticky}),u=r||t(function(){var f=n("^r","gy");return f.lastIndex=2,f.exec("str")!==null});i.exports={BROKEN_CARET:u,MISSED_STICKY:s,UNSUPPORTED_Y:r}},6676:(i,c,e)=>{"use strict";var t=e(5234),a=e(1488),n=a.RegExp;i.exports=t(function(){var r=n(".","s");return!(r.dotAll&&r.test(`
|
|
78
|
-
`)&&r.flags==="s")})},4609:(i,c,e)=>{"use strict";var t=e(5234),a=e(1488),n=a.RegExp;i.exports=t(function(){var r=n("(?<a>b)","g");return r.exec("b").groups.a!=="b"||"b".replace(r,"$<a>c")!=="bc"})},9509:(i,c,e)=>{"use strict";var t=e(4318),a=TypeError;i.exports=function(n){if(t(n))throw new a("Can't call method on "+n);return n}},168:(i,c,e)=>{"use strict";var t=e(746),a=e(6209),n=t("keys");i.exports=function(r){return n[r]||(n[r]=a(r))}},2694:(i,c,e)=>{"use strict";var t=e(1942),a=e(1488),n=e(4798),r="__core-js_shared__",s=i.exports=a[r]||n(r,{});(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:(i,c,e)=>{"use strict";var t=e(2694);i.exports=function(a,n){return t[a]||(t[a]=n||{})}},4212:(i,c,e)=>{"use strict";var t=e(6881),a=e(6744),n=e(2618),r=e(9509),s=t("".charAt),u=t("".charCodeAt),f=t("".slice),d=function(m){return function(P,L){var _=n(r(P)),I=a(L),C=_.length,j,K;return I<0||I>=C?m?"":void 0:(j=u(_,I),j<55296||j>56319||I+1===C||(K=u(_,I+1))<56320||K>57343?m?s(_,I):j:m?f(_,I,I+2):(j-55296<<10)+(K-56320)+65536)}};i.exports={codeAt:d(!1),charAt:d(!0)}},8944:(i,c,e)=>{"use strict";var t=e(3749),a=e(5234),n=e(1488),r=n.String;i.exports=!!Object.getOwnPropertySymbols&&!a(function(){var s=Symbol("symbol detection");return!r(s)||!(Object(s)instanceof Symbol)||!Symbol.sham&&t&&t<41})},675:(i,c,e)=>{"use strict";var t=e(6744),a=Math.max,n=Math.min;i.exports=function(r,s){var u=t(r);return u<0?a(u+s,0):n(u,s)}},380:(i,c,e)=>{"use strict";var t=e(7568),a=e(9509);i.exports=function(n){return t(a(n))}},6744:(i,c,e)=>{"use strict";var t=e(142);i.exports=function(a){var n=+a;return n!==n||n===0?0:t(n)}},7611:(i,c,e)=>{"use strict";var t=e(6744),a=Math.min;i.exports=function(n){var r=t(n);return r>0?a(r,9007199254740991):0}},3628:(i,c,e)=>{"use strict";var t=e(9509),a=Object;i.exports=function(n){return a(t(n))}},290:(i,c,e)=>{"use strict";var t=e(9944),a=e(831),n=e(6032),r=e(2913),s=e(2287),u=e(4282),f=TypeError,d=u("toPrimitive");i.exports=function(m,P){if(!a(m)||n(m))return m;var L=r(m,d),_;if(L){if(P===void 0&&(P="default"),_=t(L,m,P),!a(_)||n(_))return _;throw new f("Can't convert object to primitive value")}return P===void 0&&(P="number"),s(m,P)}},2344:(i,c,e)=>{"use strict";var t=e(290),a=e(6032);i.exports=function(n){var r=t(n,"string");return a(r)?r:r+""}},9345:(i,c,e)=>{"use strict";var t=e(4282),a=t("toStringTag"),n={};n[a]="z",i.exports=String(n)==="[object z]"},2618:(i,c,e)=>{"use strict";var t=e(5438),a=String;i.exports=function(n){if(t(n)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return a(n)}},3174:i=>{"use strict";var c=String;i.exports=function(e){try{return c(e)}catch{return"Object"}}},6209:(i,c,e)=>{"use strict";var t=e(6881),a=0,n=Math.random(),r=t(1 .toString);i.exports=function(s){return"Symbol("+(s===void 0?"":s)+")_"+r(++a+n,36)}},9809:(i,c,e)=>{"use strict";var t=e(8944);i.exports=t&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},3315:(i,c,e)=>{"use strict";var t=e(6893),a=e(5234);i.exports=t&&a(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})},5945:(i,c,e)=>{"use strict";var t=e(1488),a=e(4188),n=t.WeakMap;i.exports=a(n)&&/native code/.test(String(n))},4282:(i,c,e)=>{"use strict";var t=e(1488),a=e(746),n=e(4418),r=e(6209),s=e(8944),u=e(9809),f=t.Symbol,d=a("wks"),m=u?f.for||f:f&&f.withoutSetter||r;i.exports=function(P){return n(d,P)||(d[P]=s&&n(f,P)?f[P]:m("Symbol."+P)),d[P]}},8376:(i,c,e)=>{"use strict";var t=e(5613),a=e(9342);t({target:"RegExp",proto:!0,forced:/./.exec!==a},{exec:a})},8715:(i,c,e)=>{"use strict";var t=e(5613),a=e(9944),n=e(6881),r=e(9509),s=e(4188),u=e(4318),f=e(473),d=e(2618),m=e(2913),P=e(3113),L=e(1113),_=e(4282),I=e(1942),C=_("replace"),j=TypeError,K=n("".indexOf),W=n("".replace),$=n("".slice),p=Math.max;t({target:"String",proto:!0},{replaceAll:function(O,T){var G=r(this),D,B,Y,X,g,w,S,E,F,l=0,h=0,v="";if(!u(O)){if(D=f(O),D&&(B=d(r(P(O))),!~K(B,"g")))throw new j("`.replaceAll` does not allow non-global regexes");if(Y=m(O,C),Y)return a(Y,O,G,T);if(I&&D)return W(d(G),O,T)}for(X=d(G),g=d(O),w=s(T),w||(T=d(T)),S=g.length,E=p(1,S),l=K(X,g);l!==-1;)F=w?d(T(g,l,X)):L(g,X,l,[],void 0,T),v+=$(X,h,l)+F,h=l+S,l=l+E>X.length?-1:K(X,g,l+E);return h<X.length&&(v+=$(X,h)),v}})},4293:(i,c,e)=>{"use strict";var t=e(646),a=e(9944),n=e(6881),r=e(467),s=e(5234),u=e(3770),f=e(4188),d=e(4318),m=e(6744),P=e(7611),L=e(2618),_=e(9509),I=e(154),C=e(2913),j=e(1113),K=e(4721),W=e(4282),$=W("replace"),p=Math.max,y=Math.min,O=n([].concat),T=n([].push),G=n("".indexOf),D=n("".slice),B=function(w){return w===void 0?w:String(w)},Y=function(){return"a".replace(/./,"$0")==="$0"}(),X=function(){return/./[$]?/./[$]("a","$0")==="":!1}(),g=!s(function(){var w=/./;return w.exec=function(){var S=[];return S.groups={a:"7"},S},"".replace(w,"$<a>")!=="7"});r("replace",function(w,S,E){var F=X?"$":"$0";return[function(h,v){var x=_(this),o=d(h)?void 0:C(h,$);return o?a(o,h,x,v):a(S,L(x),h,v)},function(l,h){var v=u(this),x=L(l);if(typeof h=="string"&&G(h,F)===-1&&G(h,"$<")===-1){var o=E(S,v,x,h);if(o.done)return o.value}var b=f(h);b||(h=L(h));var M=v.global,N;M&&(N=v.unicode,v.lastIndex=0);for(var Z=[],z;z=K(v,x),!(z===null||(T(Z,z),!M));){var ee=L(z[0]);ee===""&&(v.lastIndex=I(x,P(v.lastIndex),N))}for(var te="",re=0,ae=0;ae<Z.length;ae++){z=Z[ae];for(var ce=L(z[0]),se=p(y(m(z.index),x.length),0),ie=[],ue,Q=1;Q<z.length;Q++)T(ie,B(z[Q]));var A=z.groups;if(b){var V=O([ce],ie,se,x);A!==void 0&&T(V,A),ue=L(t(h,void 0,V))}else ue=j(ce,x,se,ie,A,h);se>=re&&(te+=D(x,re,se)+ue,re=se+ce.length)}return te+D(x,re)}]},!g||!Y||X)},3030:(i,c,e)=>{"use strict";var t=e(9283);i.exports=t},3059:(i,c,e)=>{"use strict";e.d(c,{C:()=>n,mO:()=>t});const t="embeddable-event-bus-key",a=1e5,n={rest:{endpoints:{big:"https://api-gateway.prod.icanbwell.com/identity"}}},r="",s=""},5848:(i,c,e)=>{"use strict";e.r(c),e.d(c,{EventBus:()=>u});var t=e(4032);function a(f,d,m,P){if(m==="a"&&!P)throw new TypeError("Private accessor was defined without a getter");if(typeof d=="function"?f!==d||!P:!d.has(f))throw new TypeError("Cannot read private member from an object whose class did not declare it");return m==="m"?P:m==="a"?P.call(f):P?P.value:d.get(f)}var n,r;const s="default";class u{static getInstance(d){let m=d?a(this,n,"f",r)[d]:a(this,n,"f",r)[s];return m||(m=a(this,n,"f",r)[d||s]=new t.EventBus),m}}n=u,r={value:{}}},934:(i,c,e)=>{"use strict";e.d(c,{b:()=>a});var t=e(9226);class a extends Error{constructor(r,s){super(r,s),this.cause=s.cause,this.errorCode=s.errorCode}toJSON(){const{name:r,message:s,errorCode:u}=this;return{name:r,message:s,errorCode:u}}emitToNativeComponent(){return[t.ErrorCode.CLIENT_UNKNOWN,t.ErrorCode.TOKEN_EXCHANGE].includes(this.errorCode)}}},3758:(i,c,e)=>{"use strict";e.d(c,{O:()=>t});var t;(function(a){a.CLIENT_UNKNOWN="CLIENT_UNKNOWN",a.INSUFFICIENT_SERVICES="INSUFFICIENT_SERVICES",a.METHOD_CALLED_BEFORE_INITIALIZATION="METHOD_CALLED_BEFORE_INITIALIZATION",a.BWELL_INITIALIZATION="BWELL_INITIALIZATION",a.TOKEN_EXCHANGE="TOKEN_EXCHANGE",a.MISSING_REQUIRED_USER_CLAIMS="MISSING_REQUIRED_USER_CLAIMS",a.ROUTE_ACTION="ROUTE_ACTION",a.ROUTE_NAVIGATION_DELEGATE="ROUTE_NAVIGATION_DELEGATE",a.ROUTE_UNKNOWN="ROUTE_UNKNOWN",a.ROUTE_ELEMENT_UNKNOWN="ROUTE_ELEMENT_UNKNOWN",a.PROVIDER_UNDEFINED="PROVIDER_UNDEFINED",a.INSUFFICIENT_PERMISSIONS="INSUFFICIENT_PERMISSIONS",a.CONFIGURATION_ERROR="CONFIGURATION_ERROR",a.NETWORK="NETWORK",a.UNKNOWN="UNKNOWN"})(t||(t={}))},9226:(i,c,e)=>{"use strict";e.d(c,{ErrorCode:()=>t.O});var t=e(3758);const a="pagetransition"},9742:(i,c,e)=>{"use strict";e.d(c,{Ak:()=>r});let t=s=>crypto.getRandomValues(new Uint8Array(s)),a=(s,u,f)=>{let d=(2<<Math.log(s.length-1)/Math.LN2)-1,m=-~(1.6*d*u/s.length);return(P=u)=>{let L="";for(;;){let _=f(m),I=m|0;for(;I--;)if(L+=s[_[I]&d]||"",L.length===P)return L}}},n=(s,u=21)=>a(s,u,t),r=(s=21)=>crypto.getRandomValues(new Uint8Array(s)).reduce((u,f)=>(f&=63,f<36?u+=f.toString(36):f<62?u+=(f-26).toString(36).toUpperCase():f>62?u+="-":u+="_",u),"")}},Ee={};function R(i){var c=Ee[i];if(c!==void 0)return c.exports;var e=Ee[i]={id:i,loaded:!1,exports:{}};return Se[i].call(e.exports,e,e.exports,R),e.loaded=!0,e.exports}R.m=Se,R.c=Ee,R.n=i=>{var c=i&&i.__esModule?()=>i.default:()=>i;return R.d(c,{a:c}),c},(()=>{var i=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,c;R.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 a=Object.create(null);R.r(a);var n={};c=c||[null,i({}),i([]),i(i)];for(var r=t&2&&e;typeof r=="object"&&!~c.indexOf(r);r=i(r))Object.getOwnPropertyNames(r).forEach(s=>n[s]=()=>e[s]);return n.default=()=>e,R.d(a,n),a}})(),R.d=(i,c)=>{for(var e in c)R.o(c,e)&&!R.o(i,e)&&Object.defineProperty(i,e,{enumerable:!0,get:c[e]})},R.f={},R.e=i=>Promise.all(Object.keys(R.f).reduce((c,e)=>(R.f[e](i,c),c),[])),R.u=i=>""+i+".index.js",R.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),R.o=(i,c)=>Object.prototype.hasOwnProperty.call(i,c),(()=>{var i={},c="@icanbwell/composite:";R.l=(e,t,a,n)=>{if(i[e]){i[e].push(t);return}var r,s;if(a!==void 0)for(var u=document.getElementsByTagName("script"),f=0;f<u.length;f++){var d=u[f];if(d.getAttribute("src")==e||d.getAttribute("data-webpack")==c+a){r=d;break}}r||(s=!0,r=document.createElement("script"),r.charset="utf-8",r.timeout=120,R.nc&&r.setAttribute("nonce",R.nc),r.setAttribute("data-webpack",c+a),r.src=e),i[e]=[t];var m=(L,_)=>{r.onerror=r.onload=null,clearTimeout(P);var I=i[e];if(delete i[e],r.parentNode&&r.parentNode.removeChild(r),I&&I.forEach(C=>C(_)),L)return L(_)},P=setTimeout(m.bind(null,void 0,{type:"timeout",target:r}),12e4);r.onerror=m.bind(null,r.onerror),r.onload=m.bind(null,r.onload),s&&document.head.appendChild(r)}})(),R.r=i=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})},R.nmd=i=>(i.paths=[],i.children||(i.children=[]),i),(()=>{R.S={};var i={},c={};R.I=(e,t)=>{t||(t=[]);var a=c[e];if(a||(a=c[e]={}),!(t.indexOf(a)>=0)){if(t.push(a),i[e])return i[e];R.o(R.S,e)||(R.S[e]={});var n=R.S[e],r=m=>{typeof console<"u"&&console.warn&&console.warn(m)},s="@icanbwell/composite",u=(m,P,L,_)=>{var I=n[m]=n[m]||{},C=I[P];(!C||!C.loaded&&(!_!=!C.eager?_:s>C.from))&&(I[P]={get:L,from:s,eager:!!_})},f=m=>{var P=C=>r("Initialization of sharing external failed: "+C);try{var L=R(m);if(!L)return;var _=C=>C&&C.init&&C.init(R.S[e],t);if(L.then)return d.push(L.then(_,P));var I=_(L);if(I&&I.then)return d.push(I.catch(P))}catch(C){P(C)}},d=[];switch(e){case"default":u("@icanbwell/events","2.13.3",()=>()=>R(5848),1),u("@icanbwell/react-native-webview-invoke/browser","0.6.4",()=>()=>R(7800),1);break}return d.length?i[e]=Promise.all(d).then(()=>i[e]=1):i[e]=1}}})(),(()=>{var i;R.g.importScripts&&(i=R.g.location+"");var c=R.g.document;if(!i&&c&&(c.currentScript&&(i=c.currentScript.src),!i)){var e=c.getElementsByTagName("script");if(e.length)for(var t=e.length-1;t>-1&&(!i||!/^http(s?):/.test(i));)i=e[t--].src}if(!i)throw new Error("Automatic publicPath is not supported in this browser");i=i.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),R.p=i})(),(()=>{var i=l=>{var h=o=>o.split(".").map(b=>+b==b?+b:b),v=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(l),x=v[1]?h(v[1]):[];return v[2]&&(x.length++,x.push.apply(x,h(v[2]))),v[3]&&(x.push([]),x.push.apply(x,h(v[3]))),x},c=(l,h)=>{l=i(l),h=i(h);for(var v=0;;){if(v>=l.length)return v<h.length&&(typeof h[v])[0]!="u";var x=l[v],o=(typeof x)[0];if(v>=h.length)return o=="u";var b=h[v],M=(typeof b)[0];if(o!=M)return o=="o"&&M=="n"||M=="s"||o=="u";if(o!="o"&&o!="u"&&x!=b)return x<b;v++}},e=l=>{var h=l[0],v="";if(l.length===1)return"*";if(h+.5){v+=h==0?">=":h==-1?"<":h==1?"^":h==2?"~":h>0?"=":"!=";for(var x=1,o=1;o<l.length;o++)x--,v+=(typeof(M=l[o]))[0]=="u"?"-":(x>0?".":"")+(x=2,M);return v}var b=[];for(o=1;o<l.length;o++){var M=l[o];b.push(M===0?"not("+N()+")":M===1?"("+N()+" || "+N()+")":M===2?b.pop()+" "+b.pop():e(M))}return N();function N(){return b.pop().replace(/^\((.+)\)$/,"$1")}},t=(l,h)=>{if(0 in l){h=i(h);var v=l[0],x=v<0;x&&(v=-v-1);for(var o=0,b=1,M=!0;;b++,o++){var N,Z,z=b<l.length?(typeof l[b])[0]:"";if(o>=h.length||(Z=(typeof(N=h[o]))[0])=="o")return!M||(z=="u"?b>v&&!x:z==""!=x);if(Z=="u"){if(!M||z!="u")return!1}else if(M)if(z==Z)if(b<=v){if(N!=l[b])return!1}else{if(x?N>l[b]:N<l[b])return!1;N!=l[b]&&(M=!1)}else if(z!="s"&&z!="n"){if(x||b<=v)return!1;M=!1,b--}else{if(b<=v||Z<z!=x)return!1;M=!1}else z!="s"&&z!="n"&&(M=!1,b--)}}var ee=[],te=ee.pop.bind(ee);for(o=1;o<l.length;o++){var re=l[o];ee.push(re==1?te()|te():re==2?te()&te():re?t(re,h):!te())}return!!te()},a=(l,h)=>{var v=R.S[l];if(!v||!R.o(v,h))throw new Error("Shared module "+h+" doesn't exist in shared scope "+l);return v},n=(l,x)=>{var v=l[x],x=Object.keys(v).reduce((o,b)=>!o||c(o,b)?b:o,0);return x&&v[x]},r=(l,h)=>{var v=l[h];return Object.keys(v).reduce((x,o)=>!x||!v[x].loaded&&c(x,o)?o:x,0)},s=(l,h,v,x)=>"Unsatisfied version "+v+" from "+(v&&l[h][v].from)+" of shared singleton module "+h+" (required "+e(x)+")",u=(l,h,v,x)=>{var o=r(l,v);return C(l[v][o])},f=(l,h,v,x)=>{var o=r(l,v);return t(x,o)||_(s(l,v,o,x)),C(l[v][o])},d=(l,h,v,x)=>{var o=r(l,v);if(!t(x,o))throw new Error(s(l,v,o,x));return C(l[v][o])},m=(l,o,v)=>{var x=l[o],o=Object.keys(x).reduce((b,M)=>t(v,M)&&(!b||c(b,M))?M:b,0);return o&&x[o]},P=(l,h,v,x)=>{var o=l[v];return"No satisfying version ("+e(x)+") of shared module "+v+" found in shared scope "+h+`.
|
|
78
|
+
`)&&r.flags==="s")})},4609:(i,c,e)=>{"use strict";var t=e(5234),a=e(1488),n=a.RegExp;i.exports=t(function(){var r=n("(?<a>b)","g");return r.exec("b").groups.a!=="b"||"b".replace(r,"$<a>c")!=="bc"})},9509:(i,c,e)=>{"use strict";var t=e(4318),a=TypeError;i.exports=function(n){if(t(n))throw new a("Can't call method on "+n);return n}},168:(i,c,e)=>{"use strict";var t=e(746),a=e(6209),n=t("keys");i.exports=function(r){return n[r]||(n[r]=a(r))}},2694:(i,c,e)=>{"use strict";var t=e(1942),a=e(1488),n=e(4798),r="__core-js_shared__",s=i.exports=a[r]||n(r,{});(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:(i,c,e)=>{"use strict";var t=e(2694);i.exports=function(a,n){return t[a]||(t[a]=n||{})}},4212:(i,c,e)=>{"use strict";var t=e(6881),a=e(6744),n=e(2618),r=e(9509),s=t("".charAt),u=t("".charCodeAt),f=t("".slice),d=function(m){return function(P,L){var _=n(r(P)),I=a(L),C=_.length,j,K;return I<0||I>=C?m?"":void 0:(j=u(_,I),j<55296||j>56319||I+1===C||(K=u(_,I+1))<56320||K>57343?m?s(_,I):j:m?f(_,I,I+2):(j-55296<<10)+(K-56320)+65536)}};i.exports={codeAt:d(!1),charAt:d(!0)}},8944:(i,c,e)=>{"use strict";var t=e(3749),a=e(5234),n=e(1488),r=n.String;i.exports=!!Object.getOwnPropertySymbols&&!a(function(){var s=Symbol("symbol detection");return!r(s)||!(Object(s)instanceof Symbol)||!Symbol.sham&&t&&t<41})},675:(i,c,e)=>{"use strict";var t=e(6744),a=Math.max,n=Math.min;i.exports=function(r,s){var u=t(r);return u<0?a(u+s,0):n(u,s)}},380:(i,c,e)=>{"use strict";var t=e(7568),a=e(9509);i.exports=function(n){return t(a(n))}},6744:(i,c,e)=>{"use strict";var t=e(142);i.exports=function(a){var n=+a;return n!==n||n===0?0:t(n)}},7611:(i,c,e)=>{"use strict";var t=e(6744),a=Math.min;i.exports=function(n){var r=t(n);return r>0?a(r,9007199254740991):0}},3628:(i,c,e)=>{"use strict";var t=e(9509),a=Object;i.exports=function(n){return a(t(n))}},290:(i,c,e)=>{"use strict";var t=e(9944),a=e(831),n=e(6032),r=e(2913),s=e(2287),u=e(4282),f=TypeError,d=u("toPrimitive");i.exports=function(m,P){if(!a(m)||n(m))return m;var L=r(m,d),_;if(L){if(P===void 0&&(P="default"),_=t(L,m,P),!a(_)||n(_))return _;throw new f("Can't convert object to primitive value")}return P===void 0&&(P="number"),s(m,P)}},2344:(i,c,e)=>{"use strict";var t=e(290),a=e(6032);i.exports=function(n){var r=t(n,"string");return a(r)?r:r+""}},9345:(i,c,e)=>{"use strict";var t=e(4282),a=t("toStringTag"),n={};n[a]="z",i.exports=String(n)==="[object z]"},2618:(i,c,e)=>{"use strict";var t=e(5438),a=String;i.exports=function(n){if(t(n)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return a(n)}},3174:i=>{"use strict";var c=String;i.exports=function(e){try{return c(e)}catch{return"Object"}}},6209:(i,c,e)=>{"use strict";var t=e(6881),a=0,n=Math.random(),r=t(1 .toString);i.exports=function(s){return"Symbol("+(s===void 0?"":s)+")_"+r(++a+n,36)}},9809:(i,c,e)=>{"use strict";var t=e(8944);i.exports=t&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},3315:(i,c,e)=>{"use strict";var t=e(6893),a=e(5234);i.exports=t&&a(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})},5945:(i,c,e)=>{"use strict";var t=e(1488),a=e(4188),n=t.WeakMap;i.exports=a(n)&&/native code/.test(String(n))},4282:(i,c,e)=>{"use strict";var t=e(1488),a=e(746),n=e(4418),r=e(6209),s=e(8944),u=e(9809),f=t.Symbol,d=a("wks"),m=u?f.for||f:f&&f.withoutSetter||r;i.exports=function(P){return n(d,P)||(d[P]=s&&n(f,P)?f[P]:m("Symbol."+P)),d[P]}},8376:(i,c,e)=>{"use strict";var t=e(5613),a=e(9342);t({target:"RegExp",proto:!0,forced:/./.exec!==a},{exec:a})},8715:(i,c,e)=>{"use strict";var t=e(5613),a=e(9944),n=e(6881),r=e(9509),s=e(4188),u=e(4318),f=e(473),d=e(2618),m=e(2913),P=e(3113),L=e(1113),_=e(4282),I=e(1942),C=_("replace"),j=TypeError,K=n("".indexOf),W=n("".replace),$=n("".slice),p=Math.max;t({target:"String",proto:!0},{replaceAll:function(O,T){var G=r(this),D,B,Y,X,g,w,S,E,F,l=0,h=0,v="";if(!u(O)){if(D=f(O),D&&(B=d(r(P(O))),!~K(B,"g")))throw new j("`.replaceAll` does not allow non-global regexes");if(Y=m(O,C),Y)return a(Y,O,G,T);if(I&&D)return W(d(G),O,T)}for(X=d(G),g=d(O),w=s(T),w||(T=d(T)),S=g.length,E=p(1,S),l=K(X,g);l!==-1;)F=w?d(T(g,l,X)):L(g,X,l,[],void 0,T),v+=$(X,h,l)+F,h=l+S,l=l+E>X.length?-1:K(X,g,l+E);return h<X.length&&(v+=$(X,h)),v}})},4293:(i,c,e)=>{"use strict";var t=e(646),a=e(9944),n=e(6881),r=e(467),s=e(5234),u=e(3770),f=e(4188),d=e(4318),m=e(6744),P=e(7611),L=e(2618),_=e(9509),I=e(154),C=e(2913),j=e(1113),K=e(4721),W=e(4282),$=W("replace"),p=Math.max,y=Math.min,O=n([].concat),T=n([].push),G=n("".indexOf),D=n("".slice),B=function(w){return w===void 0?w:String(w)},Y=function(){return"a".replace(/./,"$0")==="$0"}(),X=function(){return/./[$]?/./[$]("a","$0")==="":!1}(),g=!s(function(){var w=/./;return w.exec=function(){var S=[];return S.groups={a:"7"},S},"".replace(w,"$<a>")!=="7"});r("replace",function(w,S,E){var F=X?"$":"$0";return[function(h,v){var x=_(this),o=d(h)?void 0:C(h,$);return o?a(o,h,x,v):a(S,L(x),h,v)},function(l,h){var v=u(this),x=L(l);if(typeof h=="string"&&G(h,F)===-1&&G(h,"$<")===-1){var o=E(S,v,x,h);if(o.done)return o.value}var b=f(h);b||(h=L(h));var M=v.global,N;M&&(N=v.unicode,v.lastIndex=0);for(var J=[],z;z=K(v,x),!(z===null||(T(J,z),!M));){var ee=L(z[0]);ee===""&&(v.lastIndex=I(x,P(v.lastIndex),N))}for(var te="",re=0,ae=0;ae<J.length;ae++){z=J[ae];for(var ce=L(z[0]),se=p(y(m(z.index),x.length),0),ie=[],ue,Q=1;Q<z.length;Q++)T(ie,B(z[Q]));var A=z.groups;if(b){var V=O([ce],ie,se,x);A!==void 0&&T(V,A),ue=L(t(h,void 0,V))}else ue=j(ce,x,se,ie,A,h);se>=re&&(te+=D(x,re,se)+ue,re=se+ce.length)}return te+D(x,re)}]},!g||!Y||X)},3030:(i,c,e)=>{"use strict";var t=e(9283);i.exports=t},3059:(i,c,e)=>{"use strict";e.d(c,{C:()=>n,mO:()=>t});const t="embeddable-event-bus-key",a=1e5,n={rest:{endpoints:{big:"https://api-gateway.prod.icanbwell.com/identity"}}},r="",s=""},5848:(i,c,e)=>{"use strict";e.r(c),e.d(c,{EventBus:()=>u});var t=e(4032);function a(f,d,m,P){if(m==="a"&&!P)throw new TypeError("Private accessor was defined without a getter");if(typeof d=="function"?f!==d||!P:!d.has(f))throw new TypeError("Cannot read private member from an object whose class did not declare it");return m==="m"?P:m==="a"?P.call(f):P?P.value:d.get(f)}var n,r;const s="default";class u{static getInstance(d){let m=d?a(this,n,"f",r)[d]:a(this,n,"f",r)[s];return m||(m=a(this,n,"f",r)[d||s]=new t.EventBus),m}}n=u,r={value:{}}},934:(i,c,e)=>{"use strict";e.d(c,{b:()=>a});var t=e(9226);class a extends Error{constructor(r,s){super(r,s),this.cause=s.cause,this.errorCode=s.errorCode}toJSON(){const{name:r,message:s,errorCode:u}=this;return{name:r,message:s,errorCode:u}}emitToNativeComponent(){return[t.ErrorCode.CLIENT_UNKNOWN,t.ErrorCode.TOKEN_EXCHANGE].includes(this.errorCode)}}},3758:(i,c,e)=>{"use strict";e.d(c,{O:()=>t});var t;(function(a){a.CLIENT_UNKNOWN="CLIENT_UNKNOWN",a.INSUFFICIENT_SERVICES="INSUFFICIENT_SERVICES",a.METHOD_CALLED_BEFORE_INITIALIZATION="METHOD_CALLED_BEFORE_INITIALIZATION",a.BWELL_INITIALIZATION="BWELL_INITIALIZATION",a.TOKEN_EXCHANGE="TOKEN_EXCHANGE",a.MISSING_REQUIRED_USER_CLAIMS="MISSING_REQUIRED_USER_CLAIMS",a.ROUTE_ACTION="ROUTE_ACTION",a.ROUTE_NAVIGATION_DELEGATE="ROUTE_NAVIGATION_DELEGATE",a.ROUTE_UNKNOWN="ROUTE_UNKNOWN",a.ROUTE_ELEMENT_UNKNOWN="ROUTE_ELEMENT_UNKNOWN",a.PROVIDER_UNDEFINED="PROVIDER_UNDEFINED",a.INSUFFICIENT_PERMISSIONS="INSUFFICIENT_PERMISSIONS",a.CONFIGURATION_ERROR="CONFIGURATION_ERROR",a.NETWORK="NETWORK",a.UNKNOWN="UNKNOWN"})(t||(t={}))},9226:(i,c,e)=>{"use strict";e.d(c,{ErrorCode:()=>t.O});var t=e(3758);const a="pagetransition"},9742:(i,c,e)=>{"use strict";e.d(c,{Ak:()=>r});let t=s=>crypto.getRandomValues(new Uint8Array(s)),a=(s,u,f)=>{let d=(2<<Math.log(s.length-1)/Math.LN2)-1,m=-~(1.6*d*u/s.length);return(P=u)=>{let L="";for(;;){let _=f(m),I=m|0;for(;I--;)if(L+=s[_[I]&d]||"",L.length===P)return L}}},n=(s,u=21)=>a(s,u,t),r=(s=21)=>crypto.getRandomValues(new Uint8Array(s)).reduce((u,f)=>(f&=63,f<36?u+=f.toString(36):f<62?u+=(f-26).toString(36).toUpperCase():f>62?u+="-":u+="_",u),"")}},Ee={};function R(i){var c=Ee[i];if(c!==void 0)return c.exports;var e=Ee[i]={id:i,loaded:!1,exports:{}};return Se[i].call(e.exports,e,e.exports,R),e.loaded=!0,e.exports}R.m=Se,R.c=Ee,R.n=i=>{var c=i&&i.__esModule?()=>i.default:()=>i;return R.d(c,{a:c}),c},(()=>{var i=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,c;R.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 a=Object.create(null);R.r(a);var n={};c=c||[null,i({}),i([]),i(i)];for(var r=t&2&&e;typeof r=="object"&&!~c.indexOf(r);r=i(r))Object.getOwnPropertyNames(r).forEach(s=>n[s]=()=>e[s]);return n.default=()=>e,R.d(a,n),a}})(),R.d=(i,c)=>{for(var e in c)R.o(c,e)&&!R.o(i,e)&&Object.defineProperty(i,e,{enumerable:!0,get:c[e]})},R.f={},R.e=i=>Promise.all(Object.keys(R.f).reduce((c,e)=>(R.f[e](i,c),c),[])),R.u=i=>""+i+".index.js",R.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),R.o=(i,c)=>Object.prototype.hasOwnProperty.call(i,c),(()=>{var i={},c="@icanbwell/composite:";R.l=(e,t,a,n)=>{if(i[e]){i[e].push(t);return}var r,s;if(a!==void 0)for(var u=document.getElementsByTagName("script"),f=0;f<u.length;f++){var d=u[f];if(d.getAttribute("src")==e||d.getAttribute("data-webpack")==c+a){r=d;break}}r||(s=!0,r=document.createElement("script"),r.charset="utf-8",r.timeout=120,R.nc&&r.setAttribute("nonce",R.nc),r.setAttribute("data-webpack",c+a),r.src=e),i[e]=[t];var m=(L,_)=>{r.onerror=r.onload=null,clearTimeout(P);var I=i[e];if(delete i[e],r.parentNode&&r.parentNode.removeChild(r),I&&I.forEach(C=>C(_)),L)return L(_)},P=setTimeout(m.bind(null,void 0,{type:"timeout",target:r}),12e4);r.onerror=m.bind(null,r.onerror),r.onload=m.bind(null,r.onload),s&&document.head.appendChild(r)}})(),R.r=i=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})},R.nmd=i=>(i.paths=[],i.children||(i.children=[]),i),(()=>{R.S={};var i={},c={};R.I=(e,t)=>{t||(t=[]);var a=c[e];if(a||(a=c[e]={}),!(t.indexOf(a)>=0)){if(t.push(a),i[e])return i[e];R.o(R.S,e)||(R.S[e]={});var n=R.S[e],r=m=>{typeof console<"u"&&console.warn&&console.warn(m)},s="@icanbwell/composite",u=(m,P,L,_)=>{var I=n[m]=n[m]||{},C=I[P];(!C||!C.loaded&&(!_!=!C.eager?_:s>C.from))&&(I[P]={get:L,from:s,eager:!!_})},f=m=>{var P=C=>r("Initialization of sharing external failed: "+C);try{var L=R(m);if(!L)return;var _=C=>C&&C.init&&C.init(R.S[e],t);if(L.then)return d.push(L.then(_,P));var I=_(L);if(I&&I.then)return d.push(I.catch(P))}catch(C){P(C)}},d=[];switch(e){case"default":u("@icanbwell/events","2.13.3",()=>()=>R(5848),1),u("@icanbwell/react-native-webview-invoke/browser","0.6.4",()=>()=>R(7800),1);break}return d.length?i[e]=Promise.all(d).then(()=>i[e]=1):i[e]=1}}})(),(()=>{var i;R.g.importScripts&&(i=R.g.location+"");var c=R.g.document;if(!i&&c&&(c.currentScript&&(i=c.currentScript.src),!i)){var e=c.getElementsByTagName("script");if(e.length)for(var t=e.length-1;t>-1&&(!i||!/^http(s?):/.test(i));)i=e[t--].src}if(!i)throw new Error("Automatic publicPath is not supported in this browser");i=i.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),R.p=i})(),(()=>{var i=l=>{var h=o=>o.split(".").map(b=>+b==b?+b:b),v=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(l),x=v[1]?h(v[1]):[];return v[2]&&(x.length++,x.push.apply(x,h(v[2]))),v[3]&&(x.push([]),x.push.apply(x,h(v[3]))),x},c=(l,h)=>{l=i(l),h=i(h);for(var v=0;;){if(v>=l.length)return v<h.length&&(typeof h[v])[0]!="u";var x=l[v],o=(typeof x)[0];if(v>=h.length)return o=="u";var b=h[v],M=(typeof b)[0];if(o!=M)return o=="o"&&M=="n"||M=="s"||o=="u";if(o!="o"&&o!="u"&&x!=b)return x<b;v++}},e=l=>{var h=l[0],v="";if(l.length===1)return"*";if(h+.5){v+=h==0?">=":h==-1?"<":h==1?"^":h==2?"~":h>0?"=":"!=";for(var x=1,o=1;o<l.length;o++)x--,v+=(typeof(M=l[o]))[0]=="u"?"-":(x>0?".":"")+(x=2,M);return v}var b=[];for(o=1;o<l.length;o++){var M=l[o];b.push(M===0?"not("+N()+")":M===1?"("+N()+" || "+N()+")":M===2?b.pop()+" "+b.pop():e(M))}return N();function N(){return b.pop().replace(/^\((.+)\)$/,"$1")}},t=(l,h)=>{if(0 in l){h=i(h);var v=l[0],x=v<0;x&&(v=-v-1);for(var o=0,b=1,M=!0;;b++,o++){var N,J,z=b<l.length?(typeof l[b])[0]:"";if(o>=h.length||(J=(typeof(N=h[o]))[0])=="o")return!M||(z=="u"?b>v&&!x:z==""!=x);if(J=="u"){if(!M||z!="u")return!1}else if(M)if(z==J)if(b<=v){if(N!=l[b])return!1}else{if(x?N>l[b]:N<l[b])return!1;N!=l[b]&&(M=!1)}else if(z!="s"&&z!="n"){if(x||b<=v)return!1;M=!1,b--}else{if(b<=v||J<z!=x)return!1;M=!1}else z!="s"&&z!="n"&&(M=!1,b--)}}var ee=[],te=ee.pop.bind(ee);for(o=1;o<l.length;o++){var re=l[o];ee.push(re==1?te()|te():re==2?te()&te():re?t(re,h):!te())}return!!te()},a=(l,h)=>{var v=R.S[l];if(!v||!R.o(v,h))throw new Error("Shared module "+h+" doesn't exist in shared scope "+l);return v},n=(l,x)=>{var v=l[x],x=Object.keys(v).reduce((o,b)=>!o||c(o,b)?b:o,0);return x&&v[x]},r=(l,h)=>{var v=l[h];return Object.keys(v).reduce((x,o)=>!x||!v[x].loaded&&c(x,o)?o:x,0)},s=(l,h,v,x)=>"Unsatisfied version "+v+" from "+(v&&l[h][v].from)+" of shared singleton module "+h+" (required "+e(x)+")",u=(l,h,v,x)=>{var o=r(l,v);return C(l[v][o])},f=(l,h,v,x)=>{var o=r(l,v);return t(x,o)||_(s(l,v,o,x)),C(l[v][o])},d=(l,h,v,x)=>{var o=r(l,v);if(!t(x,o))throw new Error(s(l,v,o,x));return C(l[v][o])},m=(l,o,v)=>{var x=l[o],o=Object.keys(x).reduce((b,M)=>t(v,M)&&(!b||c(b,M))?M:b,0);return o&&x[o]},P=(l,h,v,x)=>{var o=l[v];return"No satisfying version ("+e(x)+") of shared module "+v+" found in shared scope "+h+`.
|
|
79
79
|
Available versions: `+Object.keys(o).map(b=>b+" from "+o[b].from).join(", ")},L=(l,h,v,x)=>{var o=m(l,v,x);if(o)return C(o);throw new Error(P(l,h,v,x))},_=l=>{typeof console<"u"&&console.warn&&console.warn(l)},I=(l,h,v,x)=>{_(P(l,h,v,x))},C=l=>(l.loaded=1,l.get()),j=l=>function(h,v,x,o){var b=R.I(h);return b&&b.then?b.then(l.bind(l,h,R.S[h],v,x,o)):l(h,R.S[h],v,x,o)},K=j((l,h,v)=>(a(l,v),C(n(h,v)))),W=j((l,h,v,x)=>h&&R.o(h,v)?C(n(h,v)):x()),$=j((l,h,v,x)=>(a(l,v),C(m(h,v,x)||I(h,l,v,x)||n(h,v)))),p=j((l,h,v)=>(a(l,v),u(h,l,v))),y=j((l,h,v,x)=>(a(l,v),f(h,l,v,x))),O=j((l,h,v,x)=>(a(l,v),L(h,l,v,x))),T=j((l,h,v,x)=>(a(l,v),d(h,l,v,x))),G=j((l,h,v,x,o)=>!h||!R.o(h,v)?o():C(m(h,v,x)||I(h,l,v,x)||n(h,v))),D=j((l,h,v,x)=>!h||!R.o(h,v)?x():u(h,l,v)),B=j((l,h,v,x,o)=>!h||!R.o(h,v)?o():f(h,l,v,x)),Y=j((l,h,v,x,o)=>{var b=h&&R.o(h,v)&&m(h,v,x);return b?C(b):o()}),X=j((l,h,v,x,o)=>!h||!R.o(h,v)?o():d(h,l,v,x)),g={},w={692:()=>B("default","@icanbwell/react-native-webview-invoke/browser",[2,0,6,2],()=>()=>R(7800)),8561:()=>B("default","@icanbwell/events",[3,0,0,1],()=>()=>R(5848))},S=[8561];S.forEach(l=>{R.m[l]=h=>{g[l]=0,delete R.c[l];var v=w[l]();if(typeof v!="function")throw new Error("Shared module is not available for eager consumption: "+l);h.exports=v()}});var E={692:[692]},F={};R.f.consumes=(l,h)=>{R.o(E,l)&&E[l].forEach(v=>{if(R.o(g,v))return h.push(g[v]);if(!F[v]){var x=M=>{g[v]=0,R.m[v]=N=>{delete R.c[v],N.exports=M()}};F[v]=!0;var o=M=>{delete g[v],R.m[v]=N=>{throw delete R.c[v],M}};try{var b=w[v]();b.then?h.push(g[v]=b.then(x).catch(o)):x(b)}catch(M){o(M)}}})}})(),(()=>{var i={792:0};R.f.j=(t,a)=>{var n=R.o(i,t)?i[t]:void 0;if(n!==0)if(n)a.push(n[2]);else if(t!=692){var r=new Promise((d,m)=>n=i[t]=[d,m]);a.push(n[2]=r);var s=R.p+R.u(t),u=new Error,f=d=>{if(R.o(i,t)&&(n=i[t],n!==0&&(i[t]=void 0),n)){var m=d&&(d.type==="load"?"missing":d.type),P=d&&d.target&&d.target.src;u.message="Loading chunk "+t+` failed.
|
|
80
80
|
(`+m+": "+P+")",u.name="ChunkLoadError",u.type=m,u.request=P,n[1](u)}};R.l(s,f,"chunk-"+t,t)}else i[t]=0};var c=(t,a)=>{var[n,r,s]=a,u,f,d=0;if(n.some(P=>i[P]!==0)){for(u in r)R.o(r,u)&&(R.m[u]=r[u]);if(s)var m=s(R)}for(t&&t(a);d<n.length;d++)f=n[d],R.o(i,f)&&i[f]&&i[f][0](),i[f]=0},e=globalThis.webpackChunk_icanbwell_composite=globalThis.webpackChunk_icanbwell_composite||[];e.forEach(c.bind(null,0)),e.push=c.bind(null,e.push.bind(e))})();var Ie=R(6594)})();
|
|
81
81
|
|