@everymatrix/player-account-gaming-limits-page-2-gmcore 0.0.365 → 0.0.367
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +30 -30
- package/dist/player-account-gaming-limits-page-2-gmcore.js +2 -2
- package/dist/player-account-gaming-limits-page-2-gmcore.js.map +1 -1
- package/index.html +37 -37
- package/index.js +1 -1
- package/package.json +2 -2
- package/public/reset.css +47 -47
- package/rollup.config.js +59 -59
- package/src/PlayerAccountGamingLimitsPage_2Gmcore.svelte +606 -606
- package/src/i18n.js +26 -26
- package/src/index.ts +4 -4
- package/src/limitsConfig.js +28 -28
- package/src/translations.js +88 -88
- package/stories/PlayerAccountGamingLimitsPage_2Gmcore.stories.js +13 -13
- package/tsconfig.json +6 -6
package/README.md
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
# @everymatrix/player-account-gaming-limits-page-2-gmcore
|
|
2
|
-
---------
|
|
3
|
-
|
|
4
|
-
## First step
|
|
5
|
-
---------
|
|
6
|
-
```
|
|
7
|
-
lerna bootstrap
|
|
8
|
-
```
|
|
9
|
-
|
|
10
|
-
## Run Widget
|
|
11
|
-
---------
|
|
12
|
-
- starts server at port 5050
|
|
13
|
-
- has livereload
|
|
14
|
-
|
|
15
|
-
```
|
|
16
|
-
yarn run dev
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
## Build Widget
|
|
20
|
-
---------
|
|
21
|
-
```
|
|
22
|
-
yarn run build
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
## Publishing widget
|
|
26
|
-
---------
|
|
27
|
-
- Note add your user to the npm
|
|
28
|
-
```
|
|
29
|
-
lerna publish
|
|
30
|
-
```
|
|
1
|
+
# @everymatrix/player-account-gaming-limits-page-2-gmcore
|
|
2
|
+
---------
|
|
3
|
+
|
|
4
|
+
## First step
|
|
5
|
+
---------
|
|
6
|
+
```
|
|
7
|
+
lerna bootstrap
|
|
8
|
+
```
|
|
9
|
+
|
|
10
|
+
## Run Widget
|
|
11
|
+
---------
|
|
12
|
+
- starts server at port 5050
|
|
13
|
+
- has livereload
|
|
14
|
+
|
|
15
|
+
```
|
|
16
|
+
yarn run dev
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
## Build Widget
|
|
20
|
+
---------
|
|
21
|
+
```
|
|
22
|
+
yarn run build
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## Publishing widget
|
|
26
|
+
---------
|
|
27
|
+
- Note add your user to the npm
|
|
28
|
+
```
|
|
29
|
+
lerna publish
|
|
30
|
+
```
|
|
@@ -616,13 +616,13 @@ self.fetch.bind(self);
|
|
|
616
616
|
***************************************************************************** */
|
|
617
617
|
/* global Reflect, Promise */
|
|
618
618
|
var Nr=function(t,e){return Nr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},Nr(t,e)};function Rr(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}Nr(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}function Mr(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function Dr(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)s.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return s}function Ur(t,e,r){if(r||2===arguments.length)for(var n,i=0,o=e.length;i<o;i++)!n&&i in e||(n||(n=Array.prototype.slice.call(e,0,i)),n[i]=e[i]);return t.concat(n||Array.prototype.slice.call(e))}function $r(t){return"function"==typeof t}function kr(t){var e=t((function(t){Error.call(t),t.stack=(new Error).stack}));return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}var Gr=kr((function(t){return function(e){t(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map((function(t,e){return e+1+") "+t.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=e}}));function Fr(t,e){if(t){var r=t.indexOf(e);0<=r&&t.splice(r,1)}}var jr=function(){function t(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return t.prototype.unsubscribe=function(){var t,e,r,n,i;if(!this.closed){this.closed=!0;var o=this._parentage;if(o)if(this._parentage=null,Array.isArray(o))try{for(var s=Mr(o),a=s.next();!a.done;a=s.next()){a.value.remove(this)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(e=s.return)&&e.call(s)}finally{if(t)throw t.error}}else o.remove(this);var u=this.initialTeardown;if($r(u))try{u()}catch(t){i=t instanceof Gr?t.errors:[t]}var l=this._finalizers;if(l){this._finalizers=null;try{for(var c=Mr(l),h=c.next();!h.done;h=c.next()){var p=h.value;try{Xr(p)}catch(t){i=null!=i?i:[],t instanceof Gr?i=Ur(Ur([],Dr(i)),Dr(t.errors)):i.push(t)}}}catch(t){r={error:t}}finally{try{h&&!h.done&&(n=c.return)&&n.call(c)}finally{if(r)throw r.error}}}if(i)throw new Gr(i)}},t.prototype.add=function(e){var r;if(e&&e!==this)if(this.closed)Xr(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!==(r=this._finalizers)&&void 0!==r?r:[]).push(e)}},t.prototype._hasParent=function(t){var e=this._parentage;return e===t||Array.isArray(e)&&e.includes(t)},t.prototype._addParent=function(t){var e=this._parentage;this._parentage=Array.isArray(e)?(e.push(t),e):e?[e,t]:t},t.prototype._removeParent=function(t){var e=this._parentage;e===t?this._parentage=null:Array.isArray(e)&&Fr(e,t)},t.prototype.remove=function(e){var r=this._finalizers;r&&Fr(r,e),e instanceof t&&e._removeParent(this)},t.EMPTY=function(){var e=new t;return e.closed=!0,e}(),t}(),Vr=jr.EMPTY;function Wr(t){return t instanceof jr||t&&"closed"in t&&$r(t.remove)&&$r(t.add)&&$r(t.unsubscribe)}function Xr(t){$r(t)?t():t.unsubscribe()}var zr={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Kr={setTimeout:function(t,e){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var i=Kr.delegate;return(null==i?void 0:i.setTimeout)?i.setTimeout.apply(i,Ur([t,e],Dr(r))):setTimeout.apply(void 0,Ur([t,e],Dr(r)))},clearTimeout:function(t){var e=Kr.delegate;return((null==e?void 0:e.clearTimeout)||clearTimeout)(t)},delegate:void 0};function Yr(){}var Zr=null;function qr(t){if(zr.useDeprecatedSynchronousErrorHandling){var e=!Zr;if(e&&(Zr={errorThrown:!1,error:null}),t(),e){var r=Zr,n=r.errorThrown,i=r.error;if(Zr=null,n)throw i}}else t()}var Jr=function(t){function e(e){var r=t.call(this)||this;return r.isStopped=!1,e?(r.destination=e,Wr(e)&&e.add(r)):r.destination=on,r}return Rr(e,t),e.create=function(t,e,r){return new rn(t,e,r)},e.prototype.next=function(t){this.isStopped||this._next(t)},e.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this._error(t))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this),this.destination=null)},e.prototype._next=function(t){this.destination.next(t)},e.prototype._error=function(t){try{this.destination.error(t)}finally{this.unsubscribe()}},e.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},e}(jr),Qr=Function.prototype.bind;function tn(t,e){return Qr.call(t,e)}var en=function(){function t(t){this.partialObserver=t}return t.prototype.next=function(t){var e=this.partialObserver;if(e.next)try{e.next(t)}catch(t){nn(t)}},t.prototype.error=function(t){var e=this.partialObserver;if(e.error)try{e.error(t)}catch(t){nn(t)}else nn(t)},t.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(t){nn(t)}},t}(),rn=function(t){function e(e,r,n){var i,o,s=t.call(this)||this;$r(e)||!e?i={next:null!=e?e:void 0,error:null!=r?r:void 0,complete:null!=n?n:void 0}:s&&zr.useDeprecatedNextContext?((o=Object.create(e)).unsubscribe=function(){return s.unsubscribe()},i={next:e.next&&tn(e.next,o),error:e.error&&tn(e.error,o),complete:e.complete&&tn(e.complete,o)}):i=e;return s.destination=new en(i),s}return Rr(e,t),e}(Jr);function nn(t){var e;e=t,Kr.setTimeout((function(){throw e}))}var on={closed:!0,next:Yr,error:function(t){throw t},complete:Yr},sn="function"==typeof Symbol&&Symbol.observable||"@@observable";function an(t){return t}function un(t){return 0===t.length?an:1===t.length?t[0]:function(e){return t.reduce((function(t,e){return e(t)}),e)}}var ln=function(){function t(t){t&&(this._subscribe=t)}return t.prototype.lift=function(e){var r=new t;return r.source=this,r.operator=e,r},t.prototype.subscribe=function(t,e,r){var n,i=this,o=(n=t)&&n instanceof Jr||function(t){return t&&$r(t.next)&&$r(t.error)&&$r(t.complete)}(n)&&Wr(n)?t:new rn(t,e,r);return qr((function(){var t=i,e=t.operator,r=t.source;o.add(e?e.call(o,r):r?i._subscribe(o):i._trySubscribe(o))})),o},t.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},t.prototype.forEach=function(t,e){var r=this;return new(e=cn(e))((function(e,n){var i=new rn({next:function(e){try{t(e)}catch(t){n(t),i.unsubscribe()}},error:n,complete:e});r.subscribe(i)}))},t.prototype._subscribe=function(t){var e;return null===(e=this.source)||void 0===e?void 0:e.subscribe(t)},t.prototype[sn]=function(){return this},t.prototype.pipe=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return un(t)(this)},t.prototype.toPromise=function(t){var e=this;return new(t=cn(t))((function(t,r){var n;e.subscribe((function(t){return n=t}),(function(t){return r(t)}),(function(){return t(n)}))}))},t.create=function(e){return new t(e)},t}();function cn(t){var e;return null!==(e=null!=t?t:zr.Promise)&&void 0!==e?e:Promise}var hn=kr((function(t){return function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})),pn=function(t){function e(){var e=t.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return Rr(e,t),e.prototype.lift=function(t){var e=new fn(this,this);return e.operator=t,e},e.prototype._throwIfClosed=function(){if(this.closed)throw new hn},e.prototype.next=function(t){var e=this;qr((function(){var r,n;if(e._throwIfClosed(),!e.isStopped){e.currentObservers||(e.currentObservers=Array.from(e.observers));try{for(var i=Mr(e.currentObservers),o=i.next();!o.done;o=i.next()){o.value.next(t)}}catch(t){r={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}}}))},e.prototype.error=function(t){var e=this;qr((function(){if(e._throwIfClosed(),!e.isStopped){e.hasError=e.isStopped=!0,e.thrownError=t;for(var r=e.observers;r.length;)r.shift().error(t)}}))},e.prototype.complete=function(){var t=this;qr((function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}}))},e.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(e.prototype,"observed",{get:function(){var t;return(null===(t=this.observers)||void 0===t?void 0:t.length)>0},enumerable:!1,configurable:!0}),e.prototype._trySubscribe=function(e){return this._throwIfClosed(),t.prototype._trySubscribe.call(this,e)},e.prototype._subscribe=function(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)},e.prototype._innerSubscribe=function(t){var e=this,r=this,n=r.hasError,i=r.isStopped,o=r.observers;return n||i?Vr:(this.currentObservers=null,o.push(t),new jr((function(){e.currentObservers=null,Fr(o,t)})))},e.prototype._checkFinalizedStatuses=function(t){var e=this,r=e.hasError,n=e.thrownError,i=e.isStopped;r?t.error(n):i&&t.complete()},e.prototype.asObservable=function(){var t=new ln;return t.source=this,t},e.create=function(t,e){return new fn(t,e)},e}(ln),fn=function(t){function e(e,r){var n=t.call(this)||this;return n.destination=e,n.source=r,n}return Rr(e,t),e.prototype.next=function(t){var e,r;null===(r=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===r||r.call(e,t)},e.prototype.error=function(t){var e,r;null===(r=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===r||r.call(e,t)},e.prototype.complete=function(){var t,e;null===(e=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===e||e.call(t)},e.prototype._subscribe=function(t){var e,r;return null!==(r=null===(e=this.source)||void 0===e?void 0:e.subscribe(t))&&void 0!==r?r:Vr},e}(pn),mn={now:function(){return(mn.delegate||Date).now()},delegate:void 0},dn=function(t){function e(e,r,n){void 0===e&&(e=1/0),void 0===r&&(r=1/0),void 0===n&&(n=mn);var i=t.call(this)||this;return i._bufferSize=e,i._windowTime=r,i._timestampProvider=n,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=r===1/0,i._bufferSize=Math.max(1,e),i._windowTime=Math.max(1,r),i}return Rr(e,t),e.prototype.next=function(e){var r=this,n=r.isStopped,i=r._buffer,o=r._infiniteTimeWindow,s=r._timestampProvider,a=r._windowTime;n||(i.push(e),!o&&i.push(s.now()+a)),this._trimBuffer(),t.prototype.next.call(this,e)},e.prototype._subscribe=function(t){this._throwIfClosed(),this._trimBuffer();for(var e=this._innerSubscribe(t),r=this._infiniteTimeWindow,n=this._buffer.slice(),i=0;i<n.length&&!t.closed;i+=r?1:2)t.next(n[i]);return this._checkFinalizedStatuses(t),e},e.prototype._trimBuffer=function(){var t=this,e=t._bufferSize,r=t._timestampProvider,n=t._buffer,i=t._infiniteTimeWindow,o=(i?1:2)*e;if(e<1/0&&o<n.length&&n.splice(0,n.length-o),!i){for(var s=r.now(),a=0,u=1;u<n.length&&n[u]<=s;u+=2)a=u;a&&n.splice(0,a+1)}},e}(pn);let gn=[],yn={};window.emWidgets={topic:(t,e=0)=>{if(-1==gn.indexOf(t)){let r=new dn(e);yn[t]=r,gn.push(t)}return yn[t]}};
|
|
619
|
-
/* src
|
|
619
|
+
/* src\PlayerAccountGamingLimitsPage_2Gmcore.svelte generated by Svelte v3.48.0 */
|
|
620
620
|
function bn(t,e,r){const n=t.slice();return n[46]=e[r],n}function vn(t,e,r){const n=t.slice();return n[49]=e[r],n}function En(t,e,r){const n=t.slice();return n[49]=e[r],n}function Tn(t,e,r){const n=t.slice();return n[54]=e[r],n}
|
|
621
621
|
// (222:2) {#if popupVisible}
|
|
622
622
|
function _n(t){let e,r,n;function i(t,e){/*popupReady*/
|
|
623
623
|
return t[10]?Ln:wn}let o=i(t),s=o(t);return{c(){e=h("div"),r=h("div"),s.c(),g(r,"class",n="PopupContainer "+(/*isDesktop*/t[13]?"Desktop":"")),g(e,"class","PopupOverlay")},m(t,n){u(t,e,n),a(e,r),s.m(r,null)},p(t,e){o===(o=i(t))&&s?s.p(t,e):(s.d(1),s=o(t),s&&(s.c(),s.m(r,null)))},d(t){t&&l(e),s.d()}}}
|
|
624
624
|
// (227:6) {:else}
|
|
625
|
-
function Ln(t){let e,r,i,o,s,c,y,v,T,_,L,w,A,B,S,H,P,O,I,x,C,N,R,M,D=/*$_*/t[12]("gamingLimits.popupTitle")+"",U=/*$_*/t[12]("gamingLimits.popupSuccess")+"";return{c(){e=h("div"),r=h("span"),i=f(D),o=m(),s=h("button"),s.textContent="X",c=m(),y=h("div"),v=h("div"),T=p("svg"),_=p("defs"),L=p("style"),w=f(".fil0 {fill:black;fill-rule:nonzero}\n "),A=p("g"),B=p("polygon"),S=m(),H=h("p"),P=f(U),O=m(),I=h("p"),x=f(/*popupContent*/t[11]),C=m(),N=h("button"),N.textContent="OK",g(r,"class","PopupTitle"),g(s,"class","ClosePopup"),g(e,"class","PopupTitleWrapper"),g(L,"type","text/css"),g(B,"class","fil0"),g(B,"points","0,38 10,25 36,47 78,0 90,11 37,69 "),g(T,"xmlns","http://www.w3.org/2000/svg"),g(T,"xmlns:xlink","http://www.w3.org/1999/xlink"),g(T,"xml:space","preserve"),g(T,"version","1.1"),E(T,"shape-rendering","geometricPrecision"),E(T,"text-rendering","geometricPrecision"),E(T,"image-rendering","optimizeQuality"),g(T,"viewBox","0 0 90 69"),g(T,"x","0px"),g(T,"y","0px"),g(T,"fill-rule","evenodd"),g(T,"clip-rule","evenodd"),g(v,"class","ResultIconWrapper"),g(I,"class","DescriptionParagraph"),g(y,"class","DescriptionWrapper"),g(N,"class","ConfirmButton")},m(n,l){u(n,e,l),a(e,r),a(r,i),a(e,o),a(e,s),u(n,c,l),u(n,y,l),a(y,v),a(v,T),a(T,_),a(_,L),a(L,w),a(T,A),a(A,B),a(v,S),a(v,H),a(H,P),a(y,O),a(y,I),a(I,x),u(n,C,l),u(n,N,l),R||(M=[d(s,"click",/*closePopup*/t[19]),d(N,"click",/*closePopup*/t[19])],R=!0)},p(t,e){/*$_*/4096&e[0]&&D!==(D=/*$_*/t[12]("gamingLimits.popupTitle")+"")&&b(i,D),/*$_*/4096&e[0]&&U!==(U=/*$_*/t[12]("gamingLimits.popupSuccess")+"")&&b(P,U),/*popupContent*/2048&e[0]&&b(x,/*popupContent*/t[11])},d(t){t&&l(e),t&&l(c),t&&l(y),t&&l(C),t&&l(N),R=!1,n(M)}}}
|
|
625
|
+
function Ln(t){let e,r,i,o,s,c,y,v,T,_,L,w,A,B,S,H,P,O,I,x,C,N,R,M,D=/*$_*/t[12]("gamingLimits.popupTitle")+"",U=/*$_*/t[12]("gamingLimits.popupSuccess")+"";return{c(){e=h("div"),r=h("span"),i=f(D),o=m(),s=h("button"),s.textContent="X",c=m(),y=h("div"),v=h("div"),T=p("svg"),_=p("defs"),L=p("style"),w=f(".fil0 {fill:black;fill-rule:nonzero}\r\n "),A=p("g"),B=p("polygon"),S=m(),H=h("p"),P=f(U),O=m(),I=h("p"),x=f(/*popupContent*/t[11]),C=m(),N=h("button"),N.textContent="OK",g(r,"class","PopupTitle"),g(s,"class","ClosePopup"),g(e,"class","PopupTitleWrapper"),g(L,"type","text/css"),g(B,"class","fil0"),g(B,"points","0,38 10,25 36,47 78,0 90,11 37,69 "),g(T,"xmlns","http://www.w3.org/2000/svg"),g(T,"xmlns:xlink","http://www.w3.org/1999/xlink"),g(T,"xml:space","preserve"),g(T,"version","1.1"),E(T,"shape-rendering","geometricPrecision"),E(T,"text-rendering","geometricPrecision"),E(T,"image-rendering","optimizeQuality"),g(T,"viewBox","0 0 90 69"),g(T,"x","0px"),g(T,"y","0px"),g(T,"fill-rule","evenodd"),g(T,"clip-rule","evenodd"),g(v,"class","ResultIconWrapper"),g(I,"class","DescriptionParagraph"),g(y,"class","DescriptionWrapper"),g(N,"class","ConfirmButton")},m(n,l){u(n,e,l),a(e,r),a(r,i),a(e,o),a(e,s),u(n,c,l),u(n,y,l),a(y,v),a(v,T),a(T,_),a(_,L),a(L,w),a(T,A),a(A,B),a(v,S),a(v,H),a(H,P),a(y,O),a(y,I),a(I,x),u(n,C,l),u(n,N,l),R||(M=[d(s,"click",/*closePopup*/t[19]),d(N,"click",/*closePopup*/t[19])],R=!0)},p(t,e){/*$_*/4096&e[0]&&D!==(D=/*$_*/t[12]("gamingLimits.popupTitle")+"")&&b(i,D),/*$_*/4096&e[0]&&U!==(U=/*$_*/t[12]("gamingLimits.popupSuccess")+"")&&b(P,U),/*popupContent*/2048&e[0]&&b(x,/*popupContent*/t[11])},d(t){t&&l(e),t&&l(c),t&&l(y),t&&l(C),t&&l(N),R=!1,n(M)}}}
|
|
626
626
|
// (225:6) {#if !popupReady}
|
|
627
627
|
function wn(e){let r;return{c(){r=h("div"),g(r,"class","LoadingIndicator")},m(t,e){u(t,r,e)},p:t,d(t){t&&l(r)}}}
|
|
628
628
|
// (256:2) {:else}
|