@everymatrix/casino-collections-providers 1.4.0 → 1.4.1
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.
@@ -567,7 +567,7 @@ e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"}
|
|
567
567
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
568
568
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
569
569
|
PERFORMANCE OF THIS SOFTWARE.
|
570
|
-
***************************************************************************** */function Gt(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 o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r}const Dt={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 Ft(){return Dt}const $t=F(!1);let kt;const jt=F(null);function Vt(e){return e.split("-").map(((e,t,r)=>r.slice(0,t+1).join("-"))).reverse()}function Xt(e,t=Ft().fallbackLocale){const r=Vt(e);return t?[...new Set([...r,...Vt(t)])]:r}function zt(){return null!=kt?kt:void 0}jt.subscribe((e=>{kt=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)}));const Kt=Object.assign(Object.assign({},jt),{set:e=>{if(e&&function(e){if(null==e)return;const t=Xt(e);for(let e=0;e<t.length;e++){const r=t[e];if(Lt(r))return r}}(e)&&Mt(e)){const{loadingDelay:t}=Ft();let r;return"undefined"!=typeof window&&null!=zt()&&t?r=window.setTimeout((()=>$t.set(!0)),t):$t.set(!0),xt(e).then((()=>{jt.set(e)})).finally((()=>{clearTimeout(r),$t.set(!1)}))}return jt.set(e)}}),Yt=e=>{const t=Object.create(null);return r=>{const n=JSON.stringify(r);return n in t?t[n]:t[n]=e(r)}},Zt=(e,t)=>{const{formats:r}=Ft();if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Wt=Yt((e=>{var{locale:t,format:r}=e,n=Gt(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(n=Zt("number",r)),new Intl.NumberFormat(t,n)})),qt=Yt((e=>{var{locale:t,format:r}=e,n=Gt(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?n=Zt("date",r):0===Object.keys(n).length&&(n=Zt("date","short")),new Intl.DateTimeFormat(t,n)})),Jt=Yt((e=>{var{locale:t,format:r}=e,n=Gt(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?n=Zt("time",r):0===Object.keys(n).length&&(n=Zt("time","short")),new Intl.DateTimeFormat(t,n)})),Qt=Yt(((e,t=zt())=>new At(e,t,Ft().formats,{ignoreTag:Ft().ignoreTag}))),er=(e,t={})=>{var r,n,o,i;let s=t;"object"==typeof e&&(s=e,e=s.id);const{values:a,locale:l=zt(),default:c}=s;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let u=Ht(e,l);if(u){if("string"!=typeof u)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),u}else u=null!==(i=null!==(o=null===(n=(r=Ft()).handleMissingMessage)||void 0===n?void 0:n.call(r,{locale:l,id:e,defaultValue:c}))&&void 0!==o?o:c)&&void 0!==i?i:e;if(!a)return u;let h=u;try{h=Qt(u,l).format(a)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return h},tr=(e,t)=>((e={})=>{var{locale:t=zt()}=e,r=Gt(e,["locale"]);return Jt(Object.assign({locale:t},r))})(t).format(e),rr=(e,t)=>((e={})=>{var{locale:t=zt()}=e,r=Gt(e,["locale"]);return qt(Object.assign({locale:t},r))})(t).format(e),nr=(e,t)=>((e={})=>{var{locale:t=zt()}=e,r=Gt(e,["locale"]);return Wt(Object.assign({locale:t},r))})(t).format(e),or=(e,t=zt())=>Ht(e,t),ir=$([Kt,Pt],(()=>er));function sr(e,t){It(e,t)}$([Kt],(()=>tr)),$([Kt],(()=>rr)),$([Kt],(()=>nr)),$([Kt,Pt],(()=>or));const ar={en:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."}},zh:{Translations:{collections:"收藏品",providers:"供应商",loading:"加載請稍候 ..."}},de:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Laden, bitte warten..."}},it:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."}},fr:{Translations:{collections:"Collections",providers:"Fournisseurs",loading:"Chargement, veuillez patienter ..."}},es:{Translations:{collections:"
|
570
|
+
***************************************************************************** */function Gt(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 o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r}const Dt={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 Ft(){return Dt}const $t=F(!1);let kt;const jt=F(null);function Vt(e){return e.split("-").map(((e,t,r)=>r.slice(0,t+1).join("-"))).reverse()}function Xt(e,t=Ft().fallbackLocale){const r=Vt(e);return t?[...new Set([...r,...Vt(t)])]:r}function zt(){return null!=kt?kt:void 0}jt.subscribe((e=>{kt=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)}));const Kt=Object.assign(Object.assign({},jt),{set:e=>{if(e&&function(e){if(null==e)return;const t=Xt(e);for(let e=0;e<t.length;e++){const r=t[e];if(Lt(r))return r}}(e)&&Mt(e)){const{loadingDelay:t}=Ft();let r;return"undefined"!=typeof window&&null!=zt()&&t?r=window.setTimeout((()=>$t.set(!0)),t):$t.set(!0),xt(e).then((()=>{jt.set(e)})).finally((()=>{clearTimeout(r),$t.set(!1)}))}return jt.set(e)}}),Yt=e=>{const t=Object.create(null);return r=>{const n=JSON.stringify(r);return n in t?t[n]:t[n]=e(r)}},Zt=(e,t)=>{const{formats:r}=Ft();if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Wt=Yt((e=>{var{locale:t,format:r}=e,n=Gt(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(n=Zt("number",r)),new Intl.NumberFormat(t,n)})),qt=Yt((e=>{var{locale:t,format:r}=e,n=Gt(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?n=Zt("date",r):0===Object.keys(n).length&&(n=Zt("date","short")),new Intl.DateTimeFormat(t,n)})),Jt=Yt((e=>{var{locale:t,format:r}=e,n=Gt(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?n=Zt("time",r):0===Object.keys(n).length&&(n=Zt("time","short")),new Intl.DateTimeFormat(t,n)})),Qt=Yt(((e,t=zt())=>new At(e,t,Ft().formats,{ignoreTag:Ft().ignoreTag}))),er=(e,t={})=>{var r,n,o,i;let s=t;"object"==typeof e&&(s=e,e=s.id);const{values:a,locale:l=zt(),default:c}=s;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let u=Ht(e,l);if(u){if("string"!=typeof u)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),u}else u=null!==(i=null!==(o=null===(n=(r=Ft()).handleMissingMessage)||void 0===n?void 0:n.call(r,{locale:l,id:e,defaultValue:c}))&&void 0!==o?o:c)&&void 0!==i?i:e;if(!a)return u;let h=u;try{h=Qt(u,l).format(a)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return h},tr=(e,t)=>((e={})=>{var{locale:t=zt()}=e,r=Gt(e,["locale"]);return Jt(Object.assign({locale:t},r))})(t).format(e),rr=(e,t)=>((e={})=>{var{locale:t=zt()}=e,r=Gt(e,["locale"]);return qt(Object.assign({locale:t},r))})(t).format(e),nr=(e,t)=>((e={})=>{var{locale:t=zt()}=e,r=Gt(e,["locale"]);return Wt(Object.assign({locale:t},r))})(t).format(e),or=(e,t=zt())=>Ht(e,t),ir=$([Kt,Pt],(()=>er));function sr(e,t){It(e,t)}$([Kt],(()=>tr)),$([Kt],(()=>rr)),$([Kt],(()=>nr)),$([Kt,Pt],(()=>or));const ar={en:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."}},zh:{Translations:{collections:"收藏品",providers:"供应商",loading:"加載請稍候 ..."}},de:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Laden, bitte warten..."}},it:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."}},fr:{Translations:{collections:"Collections",providers:"Fournisseurs",loading:"Chargement, veuillez patienter ..."}},es:{Translations:{collections:"Colecciones de juegos",providers:"Proveedores de juegos",loading:"Cargando…"}},el:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Φορτώνει, παρακαλούμε περιμένετε ..."}},tr:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Yükleniyor, lütfen bekleyin..."}},ru:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."}},ro:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Se încarcă, asteptati ..."}},hr:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."}},hu:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Betöltés, kérjük várjon..."}},pl:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."}},pt:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Carregando, por favor espere ..."}},sl:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."}},sr:{Translations:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."}}};var lr="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==lr&&lr,cr="URLSearchParams"in lr,ur="Symbol"in lr&&"iterator"in Symbol,hr="FileReader"in lr&&"Blob"in lr&&function(){try{return new Blob,!0}catch(e){return!1}}(),fr="FormData"in lr,pr="ArrayBuffer"in lr;if(pr)var dr=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],mr=ArrayBuffer.isView||function(e){return e&&dr.indexOf(Object.prototype.toString.call(e))>-1};function yr(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function gr(e){return"string"!=typeof e&&(e=String(e)),e}
|
571
571
|
// Build a destructive iterator for the value list
|
572
572
|
function br(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return ur&&(t[Symbol.iterator]=function(){return t}),t}function vr(e){this.map={},e instanceof vr?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function Er(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function _r(e){return new Promise((function(t,r){e.onload=function(){t(e.result)},e.onerror=function(){r(e.error)}}))}function Tr(e){var t=new FileReader,r=_r(t);return t.readAsArrayBuffer(e),r}function wr(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function Ar(){return this.bodyUsed=!1,this._initBody=function(e){var t;
|
573
573
|
/*
|