@everymatrix/casino-categories 0.0.367 → 0.0.368

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 CHANGED
@@ -1,30 +1,30 @@
1
- # @everymatrix/casino-categories
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/casino-categories
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
+ ```
@@ -568,7 +568,7 @@ e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"}
568
568
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
569
569
  PERFORMANCE OF THIS SOFTWARE.
570
570
  ***************************************************************************** */function Ut(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]])}return r}const Gt={fallbackLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};function Dt(){return Gt}const $t=D(!1);let xt;const kt=D(null);function Ft(e){return e.split("-").map(((e,t,r)=>r.slice(0,t+1).join("-"))).reverse()}function jt(e,t=Dt().fallbackLocale){const r=Ft(e);return t?[...new Set([...r,...Ft(t)])]:r}function Vt(){return null!=xt?xt:void 0}kt.subscribe((e=>{xt=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)}));const Xt=Object.assign(Object.assign({},kt),{set:e=>{if(e&&function(e){if(null==e)return;const t=jt(e);for(let e=0;e<t.length;e++){const r=t[e];if(St(r))return r}}(e)&&wt(e)){const{loadingDelay:t}=Dt();let r;return"undefined"!=typeof window&&null!=Vt()&&t?r=window.setTimeout((()=>$t.set(!0)),t):$t.set(!0),Rt(e).then((()=>{kt.set(e)})).finally((()=>{clearTimeout(r),$t.set(!1)}))}return kt.set(e)}}),Kt=e=>{const t=Object.create(null);return r=>{const n=JSON.stringify(r);return n in t?t[n]:t[n]=e(r)}},Yt=(e,t)=>{const{formats:r}=Dt();if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Zt=Kt((e=>{var{locale:t,format:r}=e,n=Ut(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(n=Yt("number",r)),new Intl.NumberFormat(t,n)})),zt=Kt((e=>{var{locale:t,format:r}=e,n=Ut(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?n=Yt("date",r):0===Object.keys(n).length&&(n=Yt("date","short")),new Intl.DateTimeFormat(t,n)})),Wt=Kt((e=>{var{locale:t,format:r}=e,n=Ut(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?n=Yt("time",r):0===Object.keys(n).length&&(n=Yt("time","short")),new Intl.DateTimeFormat(t,n)})),Qt=Kt(((e,t=Vt())=>new Ht(e,t,Dt().formats,{ignoreTag:Dt().ignoreTag}))),Jt=(e,t={})=>{var r,n,i,o;let s=t;"object"==typeof e&&(s=e,e=s.id);const{values:a,locale:h=Vt(),default:l}=s;if(null==h)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=Bt(e,h);if(c){if("string"!=typeof c)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),c}else c=null!==(o=null!==(i=null===(n=(r=Dt()).handleMissingMessage)||void 0===n?void 0:n.call(r,{locale:h,id:e,defaultValue:l}))&&void 0!==i?i:l)&&void 0!==o?o:e;if(!a)return c;let u=c;try{u=Qt(c,h).format(a)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return u},qt=(e,t)=>((e={})=>{var{locale:t=Vt()}=e,r=Ut(e,["locale"]);return Wt(Object.assign({locale:t},r))})(t).format(e),er=(e,t)=>((e={})=>{var{locale:t=Vt()}=e,r=Ut(e,["locale"]);return zt(Object.assign({locale:t},r))})(t).format(e),tr=(e,t)=>((e={})=>{var{locale:t=Vt()}=e,r=Ut(e,["locale"]);return Zt(Object.assign({locale:t},r))})(t).format(e),rr=(e,t=Vt())=>Bt(e,t),nr=$([Xt,Lt],(()=>Jt));$([Xt],(()=>qt)),$([Xt],(()=>er)),$([Xt],(()=>tr)),$([Xt,Lt],(()=>rr));const ir={en:{Translations:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"}},zh:{Translations:{topCategories:"热门类别",otherCategories:"其他类别",loading:"加载请稍候...",games:"游戏"}},de:{Translations:{topCategories:"Top Kategorien",otherCategories:"Weitere Kategorien",loading:"Es lädt, bitte warten...",games:"Spiele"}},it:{Translations:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"}},fr:{Translations:{topCategories:"Catégories principales",otherCategories:"Autres catégories",loading:"Chargement, veuillez patienter...",games:"jeux"}},es:{Translations:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"}},tr:{Translations:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"}},ru:{Translations:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"}},ro:{Translations:{topCategories:"Categorii de top",otherCategories:"Alte categorii",loading:"Se incarca, te rugam asteapta…",games:"jocuri"}},hr:{Translations:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"}},hu:{Translations:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"}},pl:{Translations:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"}},pt:{Translations:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"}},sl:{Translations:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"}},sr:{Translations:{topCategories:"Top Categories",otherCategories:"Other Categories",loading:"Loading, please wait...",games:"games"}}};
571
- /* src\CasinoCategories.svelte generated by Svelte v3.48.0 */function or(e,t,r){const n=e.slice();return n[21]=t[r],n}function sr(e,t,r){const n=e.slice();return n[21]=t[r],n}
571
+ /* src/CasinoCategories.svelte generated by Svelte v3.48.0 */function or(e,t,r){const n=e.slice();return n[21]=t[r],n}function sr(e,t,r){const n=e.slice();return n[21]=t[r],n}
572
572
  // (65:2) {:else}
573
573
  function ar(e){let t,r,n,i,o,s,a,h,l=/*$_*/e[5]("Translations.topCategories")+"",E=/*$_*/e[5]("Translations.otherCategories")+"",T=/*topCategories*/e[3],v=[];for(let t=0;t<T.length;t+=1)v[t]=lr(sr(e,T,t));let H=/*otherCategories*/e[4],_=[];for(let t=0;t<H.length;t+=1)_[t]=cr(or(e,H,t));return{c(){t=g("div"),r=g("h4"),n=m(l),i=d();for(let e=0;e<v.length;e+=1)v[e].c();o=d(),s=g("h4"),a=m(E),h=d();for(let e=0;e<_.length;e+=1)_[e].c();b(r,"class","CategoryTitle"),b(s,"class","CategoryTitle"),b(t,"class","CasinoCategories")},m(e,l){u(e,t,l),c(t,r),c(r,n),c(t,i);for(let e=0;e<v.length;e+=1)v[e].m(t,null);c(t,o),c(t,s),c(s,a),c(t,h);for(let e=0;e<_.length;e+=1)_[e].m(t,null)},p(e,r){if(/*$_*/32&r&&l!==(l=/*$_*/e[5]("Translations.topCategories")+"")&&y(n,l),/*activecategory, topCategories, $_, openGameCategory*/105&r){let n;for(T=/*topCategories*/e[3],n=0;n<T.length;n+=1){const i=sr(e,T,n);v[n]?v[n].p(i,r):(v[n]=lr(i),v[n].c(),v[n].m(t,o))}for(;n<v.length;n+=1)v[n].d(1);v.length=T.length}if(/*$_*/32&r&&E!==(E=/*$_*/e[5]("Translations.otherCategories")+"")&&y(a,E),/*activecategory, otherCategories, $_, openGameCategory*/113&r){let n;for(H=/*otherCategories*/e[4],n=0;n<H.length;n+=1){const i=or(e,H,n);_[n]?_[n].p(i,r):(_[n]=cr(i),_[n].c(),_[n].m(t,null))}for(;n<_.length;n+=1)_[n].d(1);_.length=H.length}},d(e){e&&f(t),p(v,e),p(_,e)}}}
574
574
  // (63:2) {#if isLoading}