@everymatrix/casino-tournaments-customize-page-controller 1.7.1 → 1.7.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.
|
@@ -9,7 +9,7 @@ for(const r in t)e[r]=t[r];return e}function r(e){return e()}function n(){return
|
|
|
9
9
|
* `onMount` does not run inside a [server-side component](/docs#run-time-server-side-component-api).
|
|
10
10
|
*
|
|
11
11
|
* https://svelte.dev/docs#run-time-svelte-onmount
|
|
12
|
-
*/function D(e){L().$$.on_mount.push(e)}const M=[],A=[]
|
|
12
|
+
*/function D(e){L().$$.on_mount.push(e)}const M=[],A=[];let R=[];const B=[],F=Promise.resolve();let O=!1;function z(e){R.push(e)}
|
|
13
13
|
// flush() calls callbacks in this order:
|
|
14
14
|
// 1. All beforeUpdate callbacks, in order: parents before children
|
|
15
15
|
// 2. All bind:this callbacks, in reverse order: children before parents.
|
|
@@ -44,7 +44,10 @@ throw M.length=0,N=0,e}for($(null),M.length=0,N=0;A.length;)A.pop()();
|
|
|
44
44
|
// subsequent updates...
|
|
45
45
|
for(let e=0;e<R.length;e+=1){const t=R[e];H.has(t)||(
|
|
46
46
|
// ...so guard against infinite loops
|
|
47
|
-
H.add(t),t())}R.length=0}while(M.length);for(;B.length;)B.pop()();O=!1,H.clear(),$(e)}function I(e){if(null!==e.fragment){e.update(),i(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(z)}}
|
|
47
|
+
H.add(t),t())}R.length=0}while(M.length);for(;B.length;)B.pop()();O=!1,H.clear(),$(e)}function I(e){if(null!==e.fragment){e.update(),i(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(z)}}
|
|
48
|
+
/**
|
|
49
|
+
* Useful for example to execute remaining `afterUpdate` callbacks before executing `destroy`.
|
|
50
|
+
*/const Y=new Set;let j,G;function V(){j={r:0,c:[],p:j}}function W(){j.r||i(j.c),j=j.p}function q(e,t){e&&e.i&&(Y.delete(e),e.i(t))}function J(e,t,r,n){if(e&&e.o){if(Y.has(e))return;Y.add(e),j.c.push((()=>{Y.delete(e),n&&(r&&e.d(1),n())})),e.o(t)}else n&&n()}function Z(e,t){const r={},n={},i={$$scope:1};let o=e.length;for(;o--;){const a=e[o],s=t[o];if(s){for(const e in a)e in s||(n[e]=1);for(const e in s)i[e]||(r[e]=s[e],i[e]=1);e[o]=s}else for(const e in a)i[e]=1}for(const e in n)e in r||(r[e]=void 0);return r}function K(e){return"object"==typeof e&&null!==e?e:{}}function X(e){e&&e.c()}function Q(e,t,n,a){const{fragment:s,after_update:l}=e.$$;s&&s.m(t,n),a||
|
|
48
51
|
// onMount happens before the initial afterUpdate
|
|
49
52
|
z((()=>{const t=e.$$.on_mount.map(r).filter(o);
|
|
50
53
|
// if the component was destroyed immediately
|
|
@@ -53,7 +56,7 @@ z((()=>{const t=e.$$.on_mount.map(r).filter(o);
|
|
|
53
56
|
e.$$.on_destroy?e.$$.on_destroy.push(...t):
|
|
54
57
|
// Edge case - component was destroyed immediately,
|
|
55
58
|
// most likely as a result of a binding initialising
|
|
56
|
-
i(t),e.$$.on_mount=[]})),l.forEach(z)}function ee(e,t){const r=e.$$;null!==r.fragment&&(i(r.on_destroy),r.fragment&&r.fragment.d(t),
|
|
59
|
+
i(t),e.$$.on_mount=[]})),l.forEach(z)}function ee(e,t){const r=e.$$;null!==r.fragment&&(!function(e){const t=[],r=[];R.forEach((n=>-1===e.indexOf(n)?t.push(n):r.push(n))),r.forEach((e=>e())),R=t}(r.after_update),i(r.on_destroy),r.fragment&&r.fragment.d(t),
|
|
57
60
|
// TODO null out other refs, including component.$$ (but need to
|
|
58
61
|
// preserve final state?)
|
|
59
62
|
r.on_destroy=r.fragment=null,r.ctx=[])}function te(e,t){-1===e.$$.dirty[0]&&(M.push(e),O||(O=!0,F.then(U)),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function re(t,r,o,a,s,u,c,d=[-1]){const h=l;$(t);const f=t.$$={fragment:null,ctx:[],
|
|
@@ -86,7 +89,11 @@ if(!o(r))return e;const n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return
|
|
|
86
89
|
* @param {StartStopNotifier=}start start and stop notifications for subscriptions
|
|
87
90
|
*/
|
|
88
91
|
function ie(t,r=e){let n;const i=new Set;function o(e){if(a(t,e)&&(t=e,n)){// store is ready
|
|
89
|
-
const e=!ne.length;for(const e of i)e[1](),ne.push(e,t);if(e){for(let e=0;e<ne.length;e+=2)ne[e][0](ne[e+1]);ne.length=0}}}return{set:o,update:function(e){o(e(t))},subscribe:function(a,s=e){const l=[a,s];return i.add(l),1===i.size&&(n=r(o)||e),a(t),()=>{i.delete(l),0===i.size&&(n(),n=null)}}}}function oe(t,r,n){const a=!Array.isArray(t),s=a?[t]:t,l=r.length<2;return u=t=>{let n=!1;const u=[];let d=0,h=e;const f=()=>{if(d)return;h();const n=r(a?u[0]:u,t);l?t(n):h=o(n)?n:e},m=s.map(((e,t)=>c(e,(e=>{u[t]=e,d&=~(1<<t),n&&f()}),(()=>{d|=1<<t}))));return n=!0,f(),function(){i(m),h()
|
|
92
|
+
const e=!ne.length;for(const e of i)e[1](),ne.push(e,t);if(e){for(let e=0;e<ne.length;e+=2)ne[e][0](ne[e+1]);ne.length=0}}}return{set:o,update:function(e){o(e(t))},subscribe:function(a,s=e){const l=[a,s];return i.add(l),1===i.size&&(n=r(o)||e),a(t),()=>{i.delete(l),0===i.size&&n&&(n(),n=null)}}}}function oe(t,r,n){const a=!Array.isArray(t),s=a?[t]:t,l=r.length<2;return u=t=>{let n=!1;const u=[];let d=0,h=e;const f=()=>{if(d)return;h();const n=r(a?u[0]:u,t);l?t(n):h=o(n)?n:e},m=s.map(((e,t)=>c(e,(e=>{u[t]=e,d&=~(1<<t),n&&f()}),(()=>{d|=1<<t}))));return n=!0,f(),function(){i(m),h(),
|
|
93
|
+
// We need to set this to false because callbacks can still happen despite having unsubscribed:
|
|
94
|
+
// Callbacks might already be placed in the queue which doesn't know it should no longer
|
|
95
|
+
// invoke this derived store.
|
|
96
|
+
n=!1}},{subscribe:ie(n,u).subscribe};var u}var ae=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===se}(e)}
|
|
90
97
|
// see https://github.com/facebook/react/blob/b5ac963fb791d1298e7f396236383bc955f916c1/src/isomorphic/classic/element/ReactElement.js#L21-L25
|
|
91
98
|
(e)};var se="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function le(e,t){return!1!==t.clone&&t.isMergeableObject(e)?fe((r=e,Array.isArray(r)?[]:{}),e,t):e;var r}function ue(e,t,r){return e.concat(t).map((function(e){return le(e,r)}))}function ce(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return e.propertyIsEnumerable(t)})):[]}(e))}function de(e,t){try{return t in e}catch(e){return!1}}
|
|
92
99
|
// Protects from prototype poisoning and unexpected merging up the prototype chain.
|