Socket
Socket
Sign inDemoInstall

@beyonk/embedded

Package Overview
Dependencies
0
Maintainers
3
Versions
17
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.2 to 1.1.3

12

CHANGELOG.json

@@ -5,2 +5,14 @@ {

{
"version": "1.1.3",
"tag": "@beyonk/embedded_v1.1.3",
"date": "Fri, 16 Apr 2021 09:49:44 GMT",
"comments": {
"patch": [
{
"comment": "upgrade mocha"
}
]
}
},
{
"version": "1.1.2",

@@ -7,0 +19,0 @@ "tag": "@beyonk/embedded_v1.1.2",

9

CHANGELOG.md
# Change Log - @beyonk/embedded
This log was last generated on Wed, 17 Mar 2021 18:09:45 GMT and should not be manually modified.
This log was last generated on Fri, 16 Apr 2021 09:49:44 GMT and should not be manually modified.
## 1.1.3
Fri, 16 Apr 2021 09:49:44 GMT
### Patches
- upgrade mocha
## 1.1.2

@@ -6,0 +13,0 @@ Wed, 17 Mar 2021 18:09:45 GMT

2

dist/observers.min.js

@@ -1,1 +0,1 @@

!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).BeyonkEmbedded={})}(this,(function(t){var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function n(t,e,n){return t(n={path:e,exports:{},require:function(t,e){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==e&&n.path)}},n.exports),n.exports}var r=function(t){return t&&t.Math==Math&&t},o=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof e&&e)||Function("return this")(),i=function(t){try{return!!t()}catch(t){return!0}},c=!i((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),u={}.propertyIsEnumerable,a=Object.getOwnPropertyDescriptor,f={f:a&&!u.call({1:2},1)?function(t){var e=a(this,t);return!!e&&e.enumerable}:u},l=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},s={}.toString,p=function(t){return s.call(t).slice(8,-1)},y="".split,h=i((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==p(t)?y.call(t,""):Object(t)}:Object,v=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},g=function(t){return h(v(t))},d=function(t){return"object"==typeof t?null!==t:"function"==typeof t},b=function(t,e){if(!d(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!d(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!d(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!d(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")},m={}.hasOwnProperty,S=function(t,e){return m.call(t,e)},O=o.document,w=d(O)&&d(O.createElement),E=function(t){return w?O.createElement(t):{}},x=!c&&!i((function(){return 7!=Object.defineProperty(E("div"),"a",{get:function(){return 7}}).a})),j=Object.getOwnPropertyDescriptor,P={f:c?j:function(t,e){if(t=g(t),e=b(e,!0),x)try{return j(t,e)}catch(t){}if(S(t,e))return l(!f.f.call(t,e),t[e])}},T=function(t){if(!d(t))throw TypeError(String(t)+" is not an object");return t},R=Object.defineProperty,_={f:c?R:function(t,e,n){if(T(t),e=b(e,!0),T(n),x)try{return R(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},A=c?function(t,e,n){return _.f(t,e,l(1,n))}:function(t,e,n){return t[e]=n,t},I=function(t,e){try{A(o,t,e)}catch(n){o[t]=e}return e},L="__core-js_shared__",k=o[L]||I(L,{}),N=Function.toString;"function"!=typeof k.inspectSource&&(k.inspectSource=function(t){return N.call(t)});var C,D,F,M=k.inspectSource,G=o.WeakMap,U="function"==typeof G&&/native code/.test(M(G)),z=n((function(t){(t.exports=function(t,e){return k[t]||(k[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.6.5",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})})),V=0,$=Math.random(),B=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++V+$).toString(36)},W=z("keys"),Y=function(t){return W[t]||(W[t]=B(t))},q={},H=o.WeakMap;if(U){var J=new H,K=J.get,X=J.has,Q=J.set;C=function(t,e){return Q.call(J,t,e),e},D=function(t){return K.call(J,t)||{}},F=function(t){return X.call(J,t)}}else{var Z=Y("state");q[Z]=!0,C=function(t,e){return A(t,Z,e),e},D=function(t){return S(t,Z)?t[Z]:{}},F=function(t){return S(t,Z)}}var tt,et={set:C,get:D,has:F,enforce:function(t){return F(t)?D(t):C(t,{})},getterFor:function(t){return function(e){var n;if(!d(e)||(n=D(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}},nt=n((function(t){var e=et.get,n=et.enforce,r=String(String).split("String");(t.exports=function(t,e,i,c){var u=!!c&&!!c.unsafe,a=!!c&&!!c.enumerable,f=!!c&&!!c.noTargetGet;"function"==typeof i&&("string"!=typeof e||S(i,"name")||A(i,"name",e),n(i).source=r.join("string"==typeof e?e:"")),t!==o?(u?!f&&t[e]&&(a=!0):delete t[e],a?t[e]=i:A(t,e,i)):a?t[e]=i:I(e,i)})(Function.prototype,"toString",(function(){return"function"==typeof this&&e(this).source||M(this)}))})),rt=o,ot=function(t){return"function"==typeof t?t:void 0},it=function(t,e){return arguments.length<2?ot(rt[t])||ot(o[t]):rt[t]&&rt[t][e]||o[t]&&o[t][e]},ct=Math.ceil,ut=Math.floor,at=function(t){return isNaN(t=+t)?0:(t>0?ut:ct)(t)},ft=Math.min,lt=function(t){return t>0?ft(at(t),9007199254740991):0},st=Math.max,pt=Math.min,yt=function(t){return function(e,n,r){var o,i=g(e),c=lt(i.length),u=function(t,e){var n=at(t);return n<0?st(n+e,0):pt(n,e)}(r,c);if(t&&n!=n){for(;c>u;)if((o=i[u++])!=o)return!0}else for(;c>u;u++)if((t||u in i)&&i[u]===n)return t||u||0;return!t&&-1}},ht={includes:yt(!0),indexOf:yt(!1)},vt=ht.indexOf,gt=function(t,e){var n,r=g(t),o=0,i=[];for(n in r)!S(q,n)&&S(r,n)&&i.push(n);for(;e.length>o;)S(r,n=e[o++])&&(~vt(i,n)||i.push(n));return i},dt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],bt=dt.concat("length","prototype"),mt={f:Object.getOwnPropertyNames||function(t){return gt(t,bt)}},St={f:Object.getOwnPropertySymbols},Ot=it("Reflect","ownKeys")||function(t){var e=mt.f(T(t)),n=St.f;return n?e.concat(n(t)):e},wt=function(t,e){for(var n=Ot(e),r=_.f,o=P.f,i=0;i<n.length;i++){var c=n[i];S(t,c)||r(t,c,o(e,c))}},Et=/#|\.prototype\./,xt=function(t,e){var n=Pt[jt(t)];return n==Rt||n!=Tt&&("function"==typeof e?i(e):!!e)},jt=xt.normalize=function(t){return String(t).replace(Et,".").toLowerCase()},Pt=xt.data={},Tt=xt.NATIVE="N",Rt=xt.POLYFILL="P",_t=xt,At=P.f,It=function(t,e){var n,r,i,c,u,a=t.target,f=t.global,l=t.stat;if(n=f?o:l?o[a]||I(a,{}):(o[a]||{}).prototype)for(r in e){if(c=e[r],i=t.noTargetGet?(u=At(n,r))&&u.value:n[r],!_t(f?r:a+(l?".":"#")+r,t.forced)&&void 0!==i){if(typeof c==typeof i)continue;wt(c,i)}(t.sham||i&&i.sham)&&A(c,"sham",!0),nt(n,r,c,t)}},Lt=!!Object.getOwnPropertySymbols&&!i((function(){return!String(Symbol())})),kt=Lt&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Nt=Array.isArray||function(t){return"Array"==p(t)},Ct=function(t){return Object(v(t))},Dt=Object.keys||function(t){return gt(t,dt)},Ft=c?Object.defineProperties:function(t,e){T(t);for(var n,r=Dt(e),o=r.length,i=0;o>i;)_.f(t,n=r[i++],e[n]);return t},Mt=it("document","documentElement"),Gt=Y("IE_PROTO"),Ut=function(){},zt=function(t){return"<script>"+t+"</"+"script>"},Vt=function(){try{tt=document.domain&&new ActiveXObject("htmlfile")}catch(t){}var t,e;Vt=tt?function(t){t.write(zt("")),t.close();var e=t.parentWindow.Object;return t=null,e}(tt):((e=E("iframe")).style.display="none",Mt.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(zt("document.F=Object")),t.close(),t.F);for(var n=dt.length;n--;)delete Vt.prototype[dt[n]];return Vt()};q[Gt]=!0;var $t=Object.create||function(t,e){var n;return null!==t?(Ut.prototype=T(t),n=new Ut,Ut.prototype=null,n[Gt]=t):n=Vt(),void 0===e?n:Ft(n,e)},Bt=mt.f,Wt={}.toString,Yt="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],qt={f:function(t){return Yt&&"[object Window]"==Wt.call(t)?function(t){try{return Bt(t)}catch(t){return Yt.slice()}}(t):Bt(g(t))}},Ht=z("wks"),Jt=o.Symbol,Kt=kt?Jt:Jt&&Jt.withoutSetter||B,Xt=function(t){return S(Ht,t)||(Lt&&S(Jt,t)?Ht[t]=Jt[t]:Ht[t]=Kt("Symbol."+t)),Ht[t]},Qt={f:Xt},Zt=_.f,te=function(t){var e=rt.Symbol||(rt.Symbol={});S(e,t)||Zt(e,t,{value:Qt.f(t)})},ee=_.f,ne=Xt("toStringTag"),re=function(t,e,n){t&&!S(t=n?t:t.prototype,ne)&&ee(t,ne,{configurable:!0,value:e})},oe=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t},ie=Xt("species"),ce=function(t,e){var n;return Nt(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!Nt(n.prototype)?d(n)&&null===(n=n[ie])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===e?0:e)},ue=[].push,ae=function(t){var e=1==t,n=2==t,r=3==t,o=4==t,i=6==t,c=5==t||i;return function(u,a,f,l){for(var s,p,y=Ct(u),v=h(y),g=function(t,e,n){if(oe(t),void 0===e)return t;switch(n){case 0:return function(){return t.call(e)};case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}(a,f,3),d=lt(v.length),b=0,m=l||ce,S=e?m(u,d):n?m(u,0):void 0;d>b;b++)if((c||b in v)&&(p=g(s=v[b],b,y),t))if(e)S[b]=p;else if(p)switch(t){case 3:return!0;case 5:return s;case 6:return b;case 2:ue.call(S,s)}else if(o)return!1;return i?-1:r||o?o:S}},fe={forEach:ae(0),map:ae(1),filter:ae(2),some:ae(3),every:ae(4),find:ae(5),findIndex:ae(6)}.forEach,le=Y("hidden"),se="Symbol",pe=Xt("toPrimitive"),ye=et.set,he=et.getterFor(se),ve=Object.prototype,ge=o.Symbol,de=it("JSON","stringify"),be=P.f,me=_.f,Se=qt.f,Oe=f.f,we=z("symbols"),Ee=z("op-symbols"),xe=z("string-to-symbol-registry"),je=z("symbol-to-string-registry"),Pe=z("wks"),Te=o.QObject,Re=!Te||!Te.prototype||!Te.prototype.findChild,_e=c&&i((function(){return 7!=$t(me({},"a",{get:function(){return me(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=be(ve,e);r&&delete ve[e],me(t,e,n),r&&t!==ve&&me(ve,e,r)}:me,Ae=function(t,e){var n=we[t]=$t(ge.prototype);return ye(n,{type:se,tag:t,description:e}),c||(n.description=e),n},Ie=kt?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof ge},Le=function(t,e,n){t===ve&&Le(Ee,e,n),T(t);var r=b(e,!0);return T(n),S(we,r)?(n.enumerable?(S(t,le)&&t[le][r]&&(t[le][r]=!1),n=$t(n,{enumerable:l(0,!1)})):(S(t,le)||me(t,le,l(1,{})),t[le][r]=!0),_e(t,r,n)):me(t,r,n)},ke=function(t,e){T(t);var n=g(e),r=Dt(n).concat(Fe(n));return fe(r,(function(e){c&&!Ne.call(n,e)||Le(t,e,n[e])})),t},Ne=function(t){var e=b(t,!0),n=Oe.call(this,e);return!(this===ve&&S(we,e)&&!S(Ee,e))&&(!(n||!S(this,e)||!S(we,e)||S(this,le)&&this[le][e])||n)},Ce=function(t,e){var n=g(t),r=b(e,!0);if(n!==ve||!S(we,r)||S(Ee,r)){var o=be(n,r);return!o||!S(we,r)||S(n,le)&&n[le][r]||(o.enumerable=!0),o}},De=function(t){var e=Se(g(t)),n=[];return fe(e,(function(t){S(we,t)||S(q,t)||n.push(t)})),n},Fe=function(t){var e=t===ve,n=Se(e?Ee:g(t)),r=[];return fe(n,(function(t){!S(we,t)||e&&!S(ve,t)||r.push(we[t])})),r};if(Lt||(nt((ge=function(){if(this instanceof ge)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,e=B(t),n=function(t){this===ve&&n.call(Ee,t),S(this,le)&&S(this[le],e)&&(this[le][e]=!1),_e(this,e,l(1,t))};return c&&Re&&_e(ve,e,{configurable:!0,set:n}),Ae(e,t)}).prototype,"toString",(function(){return he(this).tag})),nt(ge,"withoutSetter",(function(t){return Ae(B(t),t)})),f.f=Ne,_.f=Le,P.f=Ce,mt.f=qt.f=De,St.f=Fe,Qt.f=function(t){return Ae(Xt(t),t)},c&&(me(ge.prototype,"description",{configurable:!0,get:function(){return he(this).description}}),nt(ve,"propertyIsEnumerable",Ne,{unsafe:!0}))),It({global:!0,wrap:!0,forced:!Lt,sham:!Lt},{Symbol:ge}),fe(Dt(Pe),(function(t){te(t)})),It({target:se,stat:!0,forced:!Lt},{for:function(t){var e=String(t);if(S(xe,e))return xe[e];var n=ge(e);return xe[e]=n,je[n]=e,n},keyFor:function(t){if(!Ie(t))throw TypeError(t+" is not a symbol");if(S(je,t))return je[t]},useSetter:function(){Re=!0},useSimple:function(){Re=!1}}),It({target:"Object",stat:!0,forced:!Lt,sham:!c},{create:function(t,e){return void 0===e?$t(t):ke($t(t),e)},defineProperty:Le,defineProperties:ke,getOwnPropertyDescriptor:Ce}),It({target:"Object",stat:!0,forced:!Lt},{getOwnPropertyNames:De,getOwnPropertySymbols:Fe}),It({target:"Object",stat:!0,forced:i((function(){St.f(1)}))},{getOwnPropertySymbols:function(t){return St.f(Ct(t))}}),de){var Me=!Lt||i((function(){var t=ge();return"[null]"!=de([t])||"{}"!=de({a:t})||"{}"!=de(Object(t))}));It({target:"JSON",stat:!0,forced:Me},{stringify:function(t,e,n){for(var r,o=[t],i=1;arguments.length>i;)o.push(arguments[i++]);if(r=e,(d(e)||void 0!==t)&&!Ie(t))return Nt(e)||(e=function(t,e){if("function"==typeof r&&(e=r.call(this,t,e)),!Ie(e))return e}),o[1]=e,de.apply(null,o)}})}ge.prototype[pe]||A(ge.prototype,pe,ge.prototype.valueOf),re(ge,se),q[le]=!0;var Ge=_.f,Ue=o.Symbol;if(c&&"function"==typeof Ue&&(!("description"in Ue.prototype)||void 0!==Ue().description)){var ze={},Ve=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),e=this instanceof Ve?new Ue(t):void 0===t?Ue():Ue(t);return""===t&&(ze[e]=!0),e};wt(Ve,Ue);var $e=Ve.prototype=Ue.prototype;$e.constructor=Ve;var Be=$e.toString,We="Symbol(test)"==String(Ue("test")),Ye=/^Symbol\((.*)\)[^)]+$/;Ge($e,"description",{configurable:!0,get:function(){var t=d(this)?this.valueOf():this,e=Be.call(t);if(S(ze,t))return"";var n=We?e.slice(7,-1):e.replace(Ye,"$1");return""===n?void 0:n}}),It({global:!0,forced:!0},{Symbol:Ve})}te("iterator");var qe=Xt("unscopables"),He=Array.prototype;null==He[qe]&&_.f(He,qe,{configurable:!0,value:$t(null)});var Je=function(t){He[qe][t]=!0},Ke=Object.defineProperty,Xe={},Qe=function(t){throw t},Ze=ht.includes,tn=function(t,e){if(S(Xe,t))return Xe[t];e||(e={});var n=[][t],r=!!S(e,"ACCESSORS")&&e.ACCESSORS,o=S(e,0)?e[0]:Qe,u=S(e,1)?e[1]:void 0;return Xe[t]=!!n&&!i((function(){if(r&&!c)return!0;var t={length:-1};r?Ke(t,1,{enumerable:!0,get:Qe}):t[1]=1,n.call(t,o,u)}))}("indexOf",{ACCESSORS:!0,1:0});It({target:"Array",proto:!0,forced:!tn},{includes:function(t){return Ze(this,t,arguments.length>1?arguments[1]:void 0)}}),Je("includes");var en,nn,rn,on=!i((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),cn=Y("IE_PROTO"),un=Object.prototype,an=on?Object.getPrototypeOf:function(t){return t=Ct(t),S(t,cn)?t[cn]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?un:null},fn=Xt("iterator"),ln=!1;[].keys&&("next"in(rn=[].keys())?(nn=an(an(rn)))!==Object.prototype&&(en=nn):ln=!0),null==en&&(en={}),S(en,fn)||A(en,fn,(function(){return this}));var sn={IteratorPrototype:en,BUGGY_SAFARI_ITERATORS:ln},pn=sn.IteratorPrototype,yn=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),e=n instanceof Array}catch(t){}return function(n,r){return T(n),function(t){if(!d(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype")}(r),e?t.call(n,r):n.__proto__=r,n}}():void 0),hn=sn.IteratorPrototype,vn=sn.BUGGY_SAFARI_ITERATORS,gn=Xt("iterator"),dn="keys",bn="values",mn="entries",Sn=function(){return this},On=function(t,e,n,r,o,i,c){!function(t,e,n){var r=e+" Iterator";t.prototype=$t(pn,{next:l(1,n)}),re(t,r,!1)}(n,e,r);var u,a,f,s=function(t){if(t===o&&g)return g;if(!vn&&t in h)return h[t];switch(t){case dn:case bn:case mn:return function(){return new n(this,t)}}return function(){return new n(this)}},p=e+" Iterator",y=!1,h=t.prototype,v=h[gn]||h["@@iterator"]||o&&h[o],g=!vn&&v||s(o),d="Array"==e&&h.entries||v;if(d&&(u=an(d.call(new t)),hn!==Object.prototype&&u.next&&(an(u)!==hn&&(yn?yn(u,hn):"function"!=typeof u[gn]&&A(u,gn,Sn)),re(u,p,!0))),o==bn&&v&&v.name!==bn&&(y=!0,g=function(){return v.call(this)}),h[gn]!==g&&A(h,gn,g),o)if(a={values:s(bn),keys:i?g:s(dn),entries:s(mn)},c)for(f in a)(vn||y||!(f in h))&&nt(h,f,a[f]);else It({target:e,proto:!0,forced:vn||y},a);return a},wn="Array Iterator",En=et.set,xn=et.getterFor(wn),jn=On(Array,"Array",(function(t,e){En(this,{type:wn,target:g(t),index:0,kind:e})}),(function(){var t=xn(this),e=t.target,n=t.kind,r=t.index++;return!e||r>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:e[r],done:!1}:{value:[r,e[r]],done:!1}}),"values");Je("keys"),Je("values"),Je("entries");var Pn=Date.prototype,Tn="Invalid Date",Rn="toString",_n=Pn.toString,An=Pn.getTime;new Date(NaN)+""!=Tn&&nt(Pn,Rn,(function(){var t=An.call(this);return t==t?_n.call(this):Tn}));var In=[].slice,Ln={},kn=function(t,e,n){if(!(e in Ln)){for(var r=[],o=0;o<e;o++)r[o]="a["+o+"]";Ln[e]=Function("C,a","return new C("+r.join(",")+")")}return Ln[e](t,n)},Nn=Function.bind||function(t){var e=oe(this),n=In.call(arguments,1),r=function(){var o=n.concat(In.call(arguments));return this instanceof r?kn(e,o.length,o):e.apply(t,o)};return d(e.prototype)&&(r.prototype=e.prototype),r};It({target:"Function",proto:!0},{bind:Nn}),It({target:"Object",stat:!0,sham:!c},{create:$t}),It({target:"Object",stat:!0,forced:!c,sham:!c},{defineProperty:_.f}),It({target:"Object",stat:!0},{setPrototypeOf:yn});var Cn={};Cn[Xt("toStringTag")]="z";var Dn="[object z]"===String(Cn),Fn=Xt("toStringTag"),Mn="Arguments"==p(function(){return arguments}()),Gn=Dn?p:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),Fn))?n:Mn?p(e):"Object"==(r=p(e))&&"function"==typeof e.callee?"Arguments":r},Un=Dn?{}.toString:function(){return"[object "+Gn(this)+"]"};Dn||nt(Object.prototype,"toString",Un,{unsafe:!0});var zn=it("Reflect","construct"),Vn=i((function(){function t(){}return!(zn((function(){}),[],t)instanceof t)})),$n=!i((function(){zn((function(){}))})),Bn=Vn||$n;It({target:"Reflect",stat:!0,forced:Bn,sham:Bn},{construct:function(t,e){oe(t),T(e);var n=arguments.length<3?t:oe(arguments[2]);if($n&&!Vn)return zn(t,e,n);if(t==n){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var r=[null];return r.push.apply(r,e),new(Nn.apply(t,r))}var o=n.prototype,i=$t(d(o)?o:Object.prototype),c=Function.apply.call(t,i,e);return d(c)?c:i}});var Wn=function(){var t=T(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e};function Yn(t,e){return RegExp(t,e)}var qn,Hn,Jn={UNSUPPORTED_Y:i((function(){var t=Yn("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),BROKEN_CARET:i((function(){var t=Yn("^r","gy");return t.lastIndex=2,null!=t.exec("str")}))},Kn=RegExp.prototype.exec,Xn=String.prototype.replace,Qn=Kn,Zn=(qn=/a/,Hn=/b*/g,Kn.call(qn,"a"),Kn.call(Hn,"a"),0!==qn.lastIndex||0!==Hn.lastIndex),tr=Jn.UNSUPPORTED_Y||Jn.BROKEN_CARET,er=void 0!==/()??/.exec("")[1];(Zn||er||tr)&&(Qn=function(t){var e,n,r,o,i=this,c=tr&&i.sticky,u=Wn.call(i),a=i.source,f=0,l=t;return c&&(-1===(u=u.replace("y","")).indexOf("g")&&(u+="g"),l=String(t).slice(i.lastIndex),i.lastIndex>0&&(!i.multiline||i.multiline&&"\n"!==t[i.lastIndex-1])&&(a="(?: "+a+")",l=" "+l,f++),n=new RegExp("^(?:"+a+")",u)),er&&(n=new RegExp("^"+a+"$(?!\\s)",u)),Zn&&(e=i.lastIndex),r=Kn.call(c?n:i,l),c?r?(r.input=r.input.slice(f),r[0]=r[0].slice(f),r.index=i.lastIndex,i.lastIndex+=r[0].length):i.lastIndex=0:Zn&&r&&(i.lastIndex=i.global?r.index+r[0].length:e),er&&r&&r.length>1&&Xn.call(r[0],n,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(r[o]=void 0)})),r});var nr=Qn;It({target:"RegExp",proto:!0,forced:/./.exec!==nr},{exec:nr});var rr="toString",or=RegExp.prototype,ir=or.toString,cr=i((function(){return"/a/b"!=ir.call({source:"a",flags:"b"})})),ur=ir.name!=rr;(cr||ur)&&nt(RegExp.prototype,rr,(function(){var t=T(this),e=String(t.source),n=t.flags;return"/"+e+"/"+String(void 0===n&&t instanceof RegExp&&!("flags"in or)?Wn.call(t):n)}),{unsafe:!0});var ar=Xt("match"),fr=function(t){if(function(t){var e;return d(t)&&(void 0!==(e=t[ar])?!!e:"RegExp"==p(t))}(t))throw TypeError("The method doesn't accept regular expressions");return t},lr=Xt("match");It({target:"String",proto:!0,forced:!function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[lr]=!1,"/./"[t](e)}catch(t){}}return!1}("includes")},{includes:function(t){return!!~String(v(this)).indexOf(fr(t),arguments.length>1?arguments[1]:void 0)}});var sr=function(t){return function(e,n){var r,o,i=String(v(e)),c=at(n),u=i.length;return c<0||c>=u?t?"":void 0:(r=i.charCodeAt(c))<55296||r>56319||c+1===u||(o=i.charCodeAt(c+1))<56320||o>57343?t?i.charAt(c):r:t?i.slice(c,c+2):o-56320+(r-55296<<10)+65536}},pr={codeAt:sr(!1),charAt:sr(!0)},yr=pr.charAt,hr="String Iterator",vr=et.set,gr=et.getterFor(hr);On(String,"String",(function(t){vr(this,{type:hr,string:String(t),index:0})}),(function(){var t,e=gr(this),n=e.string,r=e.index;return r>=n.length?{value:void 0,done:!0}:(t=yr(n,r),e.index+=t.length,{value:t,done:!1})}));var dr=Xt("species"),br=!i((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),mr="$0"==="a".replace(/./,"$0"),Sr=Xt("replace"),Or=!!/./[Sr]&&""===/./[Sr]("a","$0"),wr=!i((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]})),Er=pr.charAt,xr=function(t,e,n){return e+(n?Er(t,e).length:1)},jr=function(t,e){var n=t.exec;if("function"==typeof n){var r=n.call(t,e);if("object"!=typeof r)throw TypeError("RegExp exec method returned something other than an Object or null");return r}if("RegExp"!==p(t))throw TypeError("RegExp#exec called on incompatible receiver");return nr.call(t,e)};!function(t,e,n,r){var o=Xt(t),c=!i((function(){var e={};return e[o]=function(){return 7},7!=""[t](e)})),u=c&&!i((function(){var e=!1,n=/a/;return"split"===t&&((n={}).constructor={},n.constructor[dr]=function(){return n},n.flags="",n[o]=/./[o]),n.exec=function(){return e=!0,null},n[o](""),!e}));if(!c||!u||"replace"===t&&(!br||!mr||Or)||"split"===t&&!wr){var a=/./[o],f=n(o,""[t],(function(t,e,n,r,o){return e.exec===nr?c&&!o?{done:!0,value:a.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}}),{REPLACE_KEEPS_$0:mr,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:Or}),l=f[0],s=f[1];nt(String.prototype,t,l),nt(RegExp.prototype,o,2==e?function(t,e){return s.call(t,this,e)}:function(t){return s.call(t,this)})}r&&A(RegExp.prototype[o],"sham",!0)}("match",1,(function(t,e,n){return[function(e){var n=v(this),r=null==e?void 0:e[t];return void 0!==r?r.call(e,n):new RegExp(e)[t](String(n))},function(t){var r=n(e,t,this);if(r.done)return r.value;var o=T(t),i=String(this);if(!o.global)return jr(o,i);var c=o.unicode;o.lastIndex=0;for(var u,a=[],f=0;null!==(u=jr(o,i));){var l=String(u[0]);a[f]=l,""===l&&(o.lastIndex=xr(i,lt(o.lastIndex),c)),f++}return 0===f?null:a}]}));var Pr={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},Tr=Xt("iterator"),Rr=Xt("toStringTag"),_r=jn.values;for(var Ar in Pr){var Ir=o[Ar],Lr=Ir&&Ir.prototype;if(Lr){if(Lr[Tr]!==_r)try{A(Lr,Tr,_r)}catch(t){Lr[Tr]=_r}if(Lr[Rr]||A(Lr,Rr,Ar),Pr[Ar])for(var kr in jn)if(Lr[kr]!==jn[kr])try{A(Lr,kr,jn[kr])}catch(t){Lr[kr]=jn[kr]}}}function Nr(t){return(Nr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Cr(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Dr(t,e)}function Dr(t,e){return(Dr=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Fr(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Gr(t);if(e){var o=Gr(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Mr(this,n)}}function Mr(t,e){return!e||"object"!==Nr(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Gr(t){return(Gr=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Ur(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function zr(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Vr(t,e,n){return e&&zr(t.prototype,e),n&&zr(t,n),t}var $r=function(){function t(e){Ur(this,t),this.w=e}return Vr(t,[{key:"dispatch",value:function(t,e){var n=JSON.stringify({version:1,eventName:t,meta:e});this.w.parent.postMessage(n,"*")}}]),t}(),Br=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:/.*/;Ur(this,t),this.w=e,this.originFilter=n,this.callbacks={}}return Vr(t,[{key:"handle",value:function(t,e){if(e.origin.match(this.originFilter))try{var n=JSON.parse(e.data),r=n.version,o=n.eventName,i=n.meta;if(r&&1!==r&&console.warn("Recieved event from incompatible script version"),o===t)return[Wr,"beyonk:portal:resize"].includes(t)?this.callbacks[t](i.height):this.callbacks[t](i)}catch(t){console.warn("Recieved unparseable event",e.data)}}},{key:"listen",value:function(t,e){this.callbacks[t]=e,this.w.addEventListener("message",this.handle.bind(this,t),!1)}},{key:"ignore",value:function(t){this.w.removeEventListener("message",this.handle.bind(this,t),!1)}}]),t}(),Wr="whitelabel:header:resize",Yr=function(t){Cr(n,t);var e=Fr(n);function n(){return Ur(this,n),e.apply(this,arguments)}return Vr(n,[{key:"subscribe",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Wr;this.eventName=e,this.callbacks[e]=t,this.w.addEventListener("message",this.handle.bind(this,e),!1)}},{key:"unsubscribe",value:function(){this.w.removeEventListener("message",this.handle.bind(this,this.eventName),!1)}}]),n}(Br),qr=function(t){Cr(n,t);var e=Fr(n);function n(t){var r,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Wr;return Ur(this,n),(r=e.call(this,t)).eventName=o,r}return Vr(n,[{key:"update",value:function(t){this.dispatch(this.eventName,{height:t})}}]),n}($r);t.RemoteEventDispatcher=$r,t.RemoteEventObserver=Br,t.ResizableElementDispatcher=qr,t.ResizableElementObserver=Yr,Object.defineProperty(t,"__esModule",{value:!0})}));
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).BeyonkEmbedded={})}(this,(function(t){var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function n(t,e,n){return t(n={path:e,exports:{},require:function(t,e){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==e&&n.path)}},n.exports),n.exports}var r=function(t){return t&&t.Math==Math&&t},o=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof e&&e)||function(){return this}()||Function("return this")(),i=function(t){try{return!!t()}catch(t){return!0}},c=!i((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),u={}.propertyIsEnumerable,a=Object.getOwnPropertyDescriptor,l={f:a&&!u.call({1:2},1)?function(t){var e=a(this,t);return!!e&&e.enumerable}:u},f=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},s={}.toString,p=function(t){return s.call(t).slice(8,-1)},h="".split,d=i((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==p(t)?h.call(t,""):Object(t)}:Object,y=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},v=function(t){return d(y(t))},g=function(t){return"object"==typeof t?null!==t:"function"==typeof t},b=function(t,e){if(!g(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!g(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!g(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!g(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")},m={}.hasOwnProperty,E=function(t,e){return m.call(t,e)},w=o.document,x=g(w)&&g(w.createElement),O=function(t){return x?w.createElement(t):{}},S=!c&&!i((function(){return 7!=Object.defineProperty(O("div"),"a",{get:function(){return 7}}).a})),j=Object.getOwnPropertyDescriptor,R={f:c?j:function(t,e){if(t=v(t),e=b(e,!0),S)try{return j(t,e)}catch(t){}if(E(t,e))return f(!l.f.call(t,e),t[e])}},P=function(t){if(!g(t))throw TypeError(String(t)+" is not an object");return t},T=Object.defineProperty,_={f:c?T:function(t,e,n){if(P(t),e=b(e,!0),P(n),S)try{return T(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},k=c?function(t,e,n){return _.f(t,e,f(1,n))}:function(t,e,n){return t[e]=n,t},I=function(t,e){try{k(o,t,e)}catch(n){o[t]=e}return e},N="__core-js_shared__",A=o[N]||I(N,{}),C=Function.toString;"function"!=typeof A.inspectSource&&(A.inspectSource=function(t){return C.call(t)});var F,M,L,D=A.inspectSource,U=o.WeakMap,z="function"==typeof U&&/native code/.test(D(U)),B=n((function(t){(t.exports=function(t,e){return A[t]||(A[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.10.0",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})})),$=0,K=Math.random(),W=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++$+K).toString(36)},q=B("keys"),G=function(t){return q[t]||(q[t]=W(t))},Y={},J=o.WeakMap;if(z){var X=A.state||(A.state=new J),V=X.get,H=X.has,Q=X.set;F=function(t,e){return e.facade=t,Q.call(X,t,e),e},M=function(t){return V.call(X,t)||{}},L=function(t){return H.call(X,t)}}else{var Z=G("state");Y[Z]=!0,F=function(t,e){return e.facade=t,k(t,Z,e),e},M=function(t){return E(t,Z)?t[Z]:{}},L=function(t){return E(t,Z)}}var tt,et,nt={set:F,get:M,has:L,enforce:function(t){return L(t)?M(t):F(t,{})},getterFor:function(t){return function(e){var n;if(!g(e)||(n=M(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}},rt=n((function(t){var e=nt.get,n=nt.enforce,r=String(String).split("String");(t.exports=function(t,e,i,c){var u,a=!!c&&!!c.unsafe,l=!!c&&!!c.enumerable,f=!!c&&!!c.noTargetGet;"function"==typeof i&&("string"!=typeof e||E(i,"name")||k(i,"name",e),(u=n(i)).source||(u.source=r.join("string"==typeof e?e:""))),t!==o?(a?!f&&t[e]&&(l=!0):delete t[e],l?t[e]=i:k(t,e,i)):l?t[e]=i:I(e,i)})(Function.prototype,"toString",(function(){return"function"==typeof this&&e(this).source||D(this)}))})),ot=o,it=function(t){return"function"==typeof t?t:void 0},ct=function(t,e){return arguments.length<2?it(ot[t])||it(o[t]):ot[t]&&ot[t][e]||o[t]&&o[t][e]},ut=Math.ceil,at=Math.floor,lt=function(t){return isNaN(t=+t)?0:(t>0?at:ut)(t)},ft=Math.min,st=function(t){return t>0?ft(lt(t),9007199254740991):0},pt=Math.max,ht=Math.min,dt=function(t){return function(e,n,r){var o,i=v(e),c=st(i.length),u=function(t,e){var n=lt(t);return n<0?pt(n+e,0):ht(n,e)}(r,c);if(t&&n!=n){for(;c>u;)if((o=i[u++])!=o)return!0}else for(;c>u;u++)if((t||u in i)&&i[u]===n)return t||u||0;return!t&&-1}},yt={includes:dt(!0),indexOf:dt(!1)},vt=yt.indexOf,gt=function(t,e){var n,r=v(t),o=0,i=[];for(n in r)!E(Y,n)&&E(r,n)&&i.push(n);for(;e.length>o;)E(r,n=e[o++])&&(~vt(i,n)||i.push(n));return i},bt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],mt=bt.concat("length","prototype"),Et={f:Object.getOwnPropertyNames||function(t){return gt(t,mt)}},wt={f:Object.getOwnPropertySymbols},xt=ct("Reflect","ownKeys")||function(t){var e=Et.f(P(t)),n=wt.f;return n?e.concat(n(t)):e},Ot=function(t,e){for(var n=xt(e),r=_.f,o=R.f,i=0;i<n.length;i++){var c=n[i];E(t,c)||r(t,c,o(e,c))}},St=/#|\.prototype\./,jt=function(t,e){var n=Pt[Rt(t)];return n==_t||n!=Tt&&("function"==typeof e?i(e):!!e)},Rt=jt.normalize=function(t){return String(t).replace(St,".").toLowerCase()},Pt=jt.data={},Tt=jt.NATIVE="N",_t=jt.POLYFILL="P",kt=jt,It=R.f,Nt=function(t,e){var n,r,i,c,u,a=t.target,l=t.global,f=t.stat;if(n=l?o:f?o[a]||I(a,{}):(o[a]||{}).prototype)for(r in e){if(c=e[r],i=t.noTargetGet?(u=It(n,r))&&u.value:n[r],!kt(l?r:a+(f?".":"#")+r,t.forced)&&void 0!==i){if(typeof c==typeof i)continue;Ot(c,i)}(t.sham||i&&i.sham)&&k(c,"sham",!0),rt(n,r,c,t)}},At="process"==p(o.process),Ct=ct("navigator","userAgent")||"",Ft=o.process,Mt=Ft&&Ft.versions,Lt=Mt&&Mt.v8;Lt?et=(tt=Lt.split("."))[0]+tt[1]:Ct&&(!(tt=Ct.match(/Edge\/(\d+)/))||tt[1]>=74)&&(tt=Ct.match(/Chrome\/(\d+)/))&&(et=tt[1]);var Dt,Ut=et&&+et,zt=!!Object.getOwnPropertySymbols&&!i((function(){return!Symbol.sham&&(At?38===Ut:Ut>37&&Ut<41)})),Bt=zt&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,$t=B("wks"),Kt=o.Symbol,Wt=Bt?Kt:Kt&&Kt.withoutSetter||W,qt=function(t){return E($t,t)&&(zt||"string"==typeof $t[t])||(zt&&E(Kt,t)?$t[t]=Kt[t]:$t[t]=Wt("Symbol."+t)),$t[t]},Gt=Object.keys||function(t){return gt(t,bt)},Yt=c?Object.defineProperties:function(t,e){P(t);for(var n,r=Gt(e),o=r.length,i=0;o>i;)_.f(t,n=r[i++],e[n]);return t},Jt=ct("document","documentElement"),Xt=G("IE_PROTO"),Vt=function(){},Ht=function(t){return"<script>"+t+"</"+"script>"},Qt=function(){try{Dt=document.domain&&new ActiveXObject("htmlfile")}catch(t){}var t,e;Qt=Dt?function(t){t.write(Ht("")),t.close();var e=t.parentWindow.Object;return t=null,e}(Dt):((e=O("iframe")).style.display="none",Jt.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(Ht("document.F=Object")),t.close(),t.F);for(var n=bt.length;n--;)delete Qt.prototype[bt[n]];return Qt()};Y[Xt]=!0;var Zt=Object.create||function(t,e){var n;return null!==t?(Vt.prototype=P(t),n=new Vt,Vt.prototype=null,n[Xt]=t):n=Qt(),void 0===e?n:Yt(n,e)},te=qt("unscopables"),ee=Array.prototype;null==ee[te]&&_.f(ee,te,{configurable:!0,value:Zt(null)});var ne,re=yt.includes;Nt({target:"Array",proto:!0},{includes:function(t){return re(this,t,arguments.length>1?arguments[1]:void 0)}}),ne="includes",ee[te][ne]=!0;var oe=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t},ie=[].slice,ce={},ue=function(t,e,n){if(!(e in ce)){for(var r=[],o=0;o<e;o++)r[o]="a["+o+"]";ce[e]=Function("C,a","return new C("+r.join(",")+")")}return ce[e](t,n)};Nt({target:"Function",proto:!0},{bind:Function.bind||function(t){var e=oe(this),n=ie.call(arguments,1),r=function(){var o=n.concat(ie.call(arguments));return this instanceof r?ue(e,o.length,o):e.apply(t,o)};return g(e.prototype)&&(r.prototype=e.prototype),r}}),Nt({target:"Object",stat:!0,forced:!c,sham:!c},{defineProperty:_.f});var ae=function(){var t=P(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e};function le(t,e){return RegExp(t,e)}var fe,se,pe={UNSUPPORTED_Y:i((function(){var t=le("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),BROKEN_CARET:i((function(){var t=le("^r","gy");return t.lastIndex=2,null!=t.exec("str")}))},he=RegExp.prototype.exec,de=B("native-string-replace",String.prototype.replace),ye=he,ve=(fe=/a/,se=/b*/g,he.call(fe,"a"),he.call(se,"a"),0!==fe.lastIndex||0!==se.lastIndex),ge=pe.UNSUPPORTED_Y||pe.BROKEN_CARET,be=void 0!==/()??/.exec("")[1];(ve||be||ge)&&(ye=function(t){var e,n,r,o,i=this,c=ge&&i.sticky,u=ae.call(i),a=i.source,l=0,f=t;return c&&(-1===(u=u.replace("y","")).indexOf("g")&&(u+="g"),f=String(t).slice(i.lastIndex),i.lastIndex>0&&(!i.multiline||i.multiline&&"\n"!==t[i.lastIndex-1])&&(a="(?: "+a+")",f=" "+f,l++),n=new RegExp("^(?:"+a+")",u)),be&&(n=new RegExp("^"+a+"$(?!\\s)",u)),ve&&(e=i.lastIndex),r=he.call(c?n:i,f),c?r?(r.input=r.input.slice(l),r[0]=r[0].slice(l),r.index=i.lastIndex,i.lastIndex+=r[0].length):i.lastIndex=0:ve&&r&&(i.lastIndex=i.global?r.index+r[0].length:e),be&&r&&r.length>1&&de.call(r[0],n,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(r[o]=void 0)})),r});var me=ye;Nt({target:"RegExp",proto:!0,forced:/./.exec!==me},{exec:me});var Ee=qt("match"),we=function(t){if(function(t){var e;return g(t)&&(void 0!==(e=t[Ee])?!!e:"RegExp"==p(t))}(t))throw TypeError("The method doesn't accept regular expressions");return t},xe=qt("match");Nt({target:"String",proto:!0,forced:!function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[xe]=!1,"/./"[t](e)}catch(t){}}return!1}("includes")},{includes:function(t){return!!~String(y(this)).indexOf(we(t),arguments.length>1?arguments[1]:void 0)}});var Oe=qt("species"),Se=!i((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),je="$0"==="a".replace(/./,"$0"),Re=qt("replace"),Pe=!!/./[Re]&&""===/./[Re]("a","$0"),Te=!i((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]})),_e=function(t){return function(e,n){var r,o,i=String(y(e)),c=lt(n),u=i.length;return c<0||c>=u?t?"":void 0:(r=i.charCodeAt(c))<55296||r>56319||c+1===u||(o=i.charCodeAt(c+1))<56320||o>57343?t?i.charAt(c):r:t?i.slice(c,c+2):o-56320+(r-55296<<10)+65536}},ke={codeAt:_e(!1),charAt:_e(!0)}.charAt,Ie=function(t,e,n){return e+(n?ke(t,e).length:1)},Ne=function(t,e){var n=t.exec;if("function"==typeof n){var r=n.call(t,e);if("object"!=typeof r)throw TypeError("RegExp exec method returned something other than an Object or null");return r}if("RegExp"!==p(t))throw TypeError("RegExp#exec called on incompatible receiver");return me.call(t,e)};function Ae(t){return(Ae="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Ce(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Fe(t,e)}function Fe(t,e){return(Fe=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Me(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=De(t);if(e){var o=De(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Le(this,n)}}function Le(t,e){return!e||"object"!==Ae(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function De(t){return(De=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Ue(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ze(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Be(t,e,n){return e&&ze(t.prototype,e),n&&ze(t,n),t}!function(t,e,n,r){var o=qt(t),c=!i((function(){var e={};return e[o]=function(){return 7},7!=""[t](e)})),u=c&&!i((function(){var e=!1,n=/a/;return"split"===t&&((n={}).constructor={},n.constructor[Oe]=function(){return n},n.flags="",n[o]=/./[o]),n.exec=function(){return e=!0,null},n[o](""),!e}));if(!c||!u||"replace"===t&&(!Se||!je||Pe)||"split"===t&&!Te){var a=/./[o],l=n(o,""[t],(function(t,e,n,r,o){return e.exec===me?c&&!o?{done:!0,value:a.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}}),{REPLACE_KEEPS_$0:je,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:Pe}),f=l[0],s=l[1];rt(String.prototype,t,f),rt(RegExp.prototype,o,2==e?function(t,e){return s.call(t,this,e)}:function(t){return s.call(t,this)})}r&&k(RegExp.prototype[o],"sham",!0)}("match",1,(function(t,e,n){return[function(e){var n=y(this),r=null==e?void 0:e[t];return void 0!==r?r.call(e,n):new RegExp(e)[t](String(n))},function(t){var r=n(e,t,this);if(r.done)return r.value;var o=P(t),i=String(this);if(!o.global)return Ne(o,i);var c=o.unicode;o.lastIndex=0;for(var u,a=[],l=0;null!==(u=Ne(o,i));){var f=String(u[0]);a[l]=f,""===f&&(o.lastIndex=Ie(i,st(o.lastIndex),c)),l++}return 0===l?null:a}]}));var $e=function(){function t(e){Ue(this,t),this.w=e}return Be(t,[{key:"dispatch",value:function(t,e){var n=JSON.stringify({version:1,eventName:t,meta:e});this.w.parent.postMessage(n,"*")}}]),t}(),Ke=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:/.*/;Ue(this,t),this.w=e,this.originFilter=n,this.callbacks={}}return Be(t,[{key:"handle",value:function(t,e){if(e.origin.match(this.originFilter))try{var n=JSON.parse(e.data),r=n.version,o=n.eventName,i=n.meta;if(r&&1!==r&&console.warn("Recieved event from incompatible script version"),o===t)return[We,"beyonk:portal:resize"].includes(t)?this.callbacks[t](i.height):this.callbacks[t](i)}catch(t){console.warn("Recieved unparseable event",e.data)}}},{key:"listen",value:function(t,e){this.callbacks[t]=e,this.w.addEventListener("message",this.handle.bind(this,t),!1)}},{key:"ignore",value:function(t){this.w.removeEventListener("message",this.handle.bind(this,t),!1)}}]),t}(),We="whitelabel:header:resize",qe=function(t){Ce(n,t);var e=Me(n);function n(){return Ue(this,n),e.apply(this,arguments)}return Be(n,[{key:"subscribe",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:We;this.eventName=e,this.callbacks[e]=t,this.w.addEventListener("message",this.handle.bind(this,e),!1)}},{key:"unsubscribe",value:function(){this.w.removeEventListener("message",this.handle.bind(this,this.eventName),!1)}}]),n}(Ke),Ge=function(t){Ce(n,t);var e=Me(n);function n(t){var r,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:We;return Ue(this,n),(r=e.call(this,t)).eventName=o,r}return Be(n,[{key:"update",value:function(t){this.dispatch(this.eventName,{height:t})}}]),n}($e);t.RemoteEventDispatcher=$e,t.RemoteEventObserver=Ke,t.ResizableElementDispatcher=Ge,t.ResizableElementObserver=qe,Object.defineProperty(t,"__esModule",{value:!0})}));
{
"name": "@beyonk/embedded",
"version": "1.1.2",
"version": "1.1.3",
"description": "Embedded Beyonk Libraries",

@@ -30,3 +30,3 @@ "main": "lib/observers.js",

"jsdom": "^16.4.0",
"mocha": "~8.3.1",
"mocha": "^8.3.2",
"rollup": "^2.37.0",

@@ -33,0 +33,0 @@ "rollup-plugin-terser": "^7.0.2",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc