@everymatrix/player-profile-info 1.94.112 → 1.94.113
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/components/{PlayerAccountBiometricsAction-9Jx-pm_l.cjs → PlayerAccountBiometricsAction-U_tUmWjp.cjs} +1 -1
- package/components/{PlayerAccountBiometricsAction-BGt2ohk9.js → PlayerAccountBiometricsAction-bDDBiWnm.js} +1 -1
- package/components/{PlayerAccountBiometricsAction-D7Golvhs.js → PlayerAccountBiometricsAction-mKsXRs0T.js} +1 -1
- package/components/{PlayerProfileInfo-D7e4R_w2.js → PlayerProfileInfo-CHmiBTqR.js} +3 -3
- package/components/{PlayerProfileInfo-guA6QCDZ.js → PlayerProfileInfo-CoV_wQ-W.js} +3 -3
- package/components/{PlayerProfileInfo-DAIfaeim.cjs → PlayerProfileInfo-DLesCKgC.cjs} +2 -2
- package/components/{QrSessionGenerator-CnSsGPsC.js → QrSessionGenerator-B478EKiW.js} +1 -1
- package/components/{QrSessionGenerator-DJxXz86j.js → QrSessionGenerator-BsgHqJte.js} +1 -1
- package/components/{QrSessionGenerator-DVz2cd8o.cjs → QrSessionGenerator-CKZTjGmf.cjs} +1 -1
- package/es2015/player-profile-info.cjs +1 -1
- package/es2015/player-profile-info.js +1 -1
- package/esnext/player-profile-info.js +1 -1
- package/package.json +1 -1
- package/stencil/index-b2193545-BK1eKuNv.js +493 -0
- package/stencil/index-b2193545-BzLH-hhx.js +509 -0
- package/stencil/index-b2193545-CIfou2cI.cjs +1 -0
- package/stencil/{ui-skeleton-W50o8tfg.js → ui-skeleton-B9VBo72p.js} +2 -2
- package/stencil/{ui-skeleton-xXZA3rYO.js → ui-skeleton-C7JH5ymf.js} +2 -2
- package/stencil/{ui-skeleton-BreIU6e5.cjs → ui-skeleton-aZT0Suei.cjs} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-D3TjbVKy.js → ui-skeleton-ed169f8f-8UVsv6jT.js} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-CVY4B-CP.js → ui-skeleton-ed169f8f-BQ-1TtKf.js} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-CpiCXJrP.cjs → ui-skeleton-ed169f8f-CQoA7I2l.cjs} +1 -1
- package/stencil/index-b2193545-9K-aI7zC.cjs +0 -1
- package/stencil/index-b2193545-DsMHU6jb.js +0 -519
- package/stencil/index-b2193545-R7ZoV-kY.js +0 -503
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as Yt, $ as qt, S as Wt, i as Xt, s as Zt, f as z, b as xt, n as dt, d as tt, l as gt, e as et, m as P, p as $t, j as D, t as ht, y as At, q as _, h as te, z as ee, k as ne, A as Tt, v as re, w as oe, x as ie, c as se, u as ae } from "./PlayerProfileInfo-
|
|
1
|
+
import { a as Yt, $ as qt, S as Wt, i as Xt, s as Zt, f as z, b as xt, n as dt, d as tt, l as gt, e as et, m as P, p as $t, j as D, t as ht, y as At, q as _, h as te, z as ee, k as ne, A as Tt, v as re, w as oe, x as ie, c as se, u as ae } from "./PlayerProfileInfo-CHmiBTqR.js";
|
|
2
2
|
function It(e, t) {
|
|
3
3
|
Yt(e, t);
|
|
4
4
|
}
|
|
@@ -14,7 +14,7 @@ var j = (e, t, n) => new Promise((o, r) => {
|
|
|
14
14
|
}, l = (a) => a.done ? o(a.value) : Promise.resolve(a.value).then(i, s);
|
|
15
15
|
l((n = n.apply(e, t)).next());
|
|
16
16
|
});
|
|
17
|
-
import { a as Wt, $ as Xt, S as Zt, i as xt, s as $t, f as F, b as te, n as ht, d as nt, k as mt, c as rt, l as P, m as ee, h as U, t as wt, y as It, p as _, g as ne, z as re, j as oe, A as Nt, r as ie, u as se, v as ae, w as le, x as ue } from "./PlayerProfileInfo-
|
|
17
|
+
import { a as Wt, $ as Xt, S as Zt, i as xt, s as $t, f as F, b as te, n as ht, d as nt, k as mt, c as rt, l as P, m as ee, h as U, t as wt, y as It, p as _, g as ne, z as re, j as oe, A as Nt, r as ie, u as se, v as ae, w as le, x as ue } from "./PlayerProfileInfo-CoV_wQ-W.js";
|
|
18
18
|
function Rt(e, t) {
|
|
19
19
|
Wt(e, t);
|
|
20
20
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var Q=(e,t,n)=>new Promise((o,r)=>{var i=a=>{try{l(n.next(a))}catch(c){r(c)}},s=a=>{try{l(n.throw(a))}catch(c){r(c)}},l=a=>a.done?o(a.value):Promise.resolve(a.value).then(i,s);l((n=n.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./PlayerProfileInfo-
|
|
1
|
+
"use strict";var Q=(e,t,n)=>new Promise((o,r)=>{var i=a=>{try{l(n.next(a))}catch(c){r(c)}},s=a=>{try{l(n.throw(a))}catch(c){r(c)}},l=a=>a.done?o(a.value):Promise.resolve(a.value).then(i,s);l((n=n.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./PlayerProfileInfo-DLesCKgC.cjs");function pt(e,t){u.addMessages(e,t)}function Ot(e){u.$locale.set(e)}const Et={en:{titleQRSessionGenerator:"Scan the QR Code to access your account on retail devices.",generateQRButton:"Generate QR",unauthorized:"Authentication failed.",failedToFetch:"Cannot generate QR, Please try again.",unexpectedError:"Unexpected error occurred. Please try again later.",second:"s"},fr:{titleQRSessionGenerator:"Scannez le code QR pour accéder à votre compte sur les appareils en magasin.",generateQRButton:"Générer des QR",unauthorized:"L'authentification a échoué.",failedToFetch:"Impossible de générer le code QR, veuillez réessayer.",unexpectedError:"Une erreur inattendue s'est produite. Veuillez réessayer plus tard.",second:"s"}};var j={},Ht=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then},St={},N={};let gt;const Qt=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];N.getSymbolSize=function(t){if(!t)throw new Error('"version" cannot be null or undefined');if(t<1||t>40)throw new Error('"version" should be in range from 1 to 40');return t*4+17};N.getSymbolTotalCodewords=function(t){return Qt[t]};N.getBCHDigit=function(e){let t=0;for(;e!==0;)t++,e>>>=1;return t};N.setToSJISFunction=function(t){if(typeof t!="function")throw new Error('"toSJISFunc" is not a valid function.');gt=t};N.isKanjiModeEnabled=function(){return typeof gt!="undefined"};N.toSJIS=function(t){return gt(t)};var $={};(function(e){e.L={bit:1},e.M={bit:0},e.Q={bit:3},e.H={bit:2};function t(n){if(typeof n!="string")throw new Error("Param is not a string");switch(n.toLowerCase()){case"l":case"low":return e.L;case"m":case"medium":return e.M;case"q":case"quartile":return e.Q;case"h":case"high":return e.H;default:throw new Error("Unknown EC Level: "+n)}}e.isValid=function(o){return o&&typeof o.bit!="undefined"&&o.bit>=0&&o.bit<4},e.from=function(o,r){if(e.isValid(o))return o;try{return t(o)}catch(i){return r}}})($);function Tt(){this.buffer=[],this.length=0}Tt.prototype={get:function(e){const t=Math.floor(e/8);return(this.buffer[t]>>>7-e%8&1)===1},put:function(e,t){for(let n=0;n<t;n++)this.putBit((e>>>t-n-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(e){const t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}};var Kt=Tt;function G(e){if(!e||e<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=e,this.data=new Uint8Array(e*e),this.reservedBit=new Uint8Array(e*e)}G.prototype.set=function(e,t,n,o){const r=e*this.size+t;this.data[r]=n,o&&(this.reservedBit[r]=!0)};G.prototype.get=function(e,t){return this.data[e*this.size+t]};G.prototype.xor=function(e,t,n){this.data[e*this.size+t]^=n};G.prototype.isReserved=function(e,t){return this.reservedBit[e*this.size+t]};var Jt=G,At={};(function(e){const t=N.getSymbolSize;e.getRowColCoords=function(o){if(o===1)return[];const r=Math.floor(o/7)+2,i=t(o),s=i===145?26:Math.ceil((i-13)/(2*r-2))*2,l=[i-7];for(let a=1;a<r-1;a++)l[a]=l[a-1]-s;return l.push(6),l.reverse()},e.getPositions=function(o){const r=[],i=e.getRowColCoords(o),s=i.length;for(let l=0;l<s;l++)for(let a=0;a<s;a++)l===0&&a===0||l===0&&a===s-1||l===s-1&&a===0||r.push([i[l],i[a]]);return r}})(At);var It={};const jt=N.getSymbolSize,Ct=7;It.getPositions=function(t){const n=jt(t);return[[0,0],[n-Ct,0],[0,n-Ct]]};var Nt={};(function(e){e.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};const t={N1:3,N2:3,N3:40,N4:10};e.isValid=function(r){return r!=null&&r!==""&&!isNaN(r)&&r>=0&&r<=7},e.from=function(r){return e.isValid(r)?parseInt(r,10):void 0},e.getPenaltyN1=function(r){const i=r.size;let s=0,l=0,a=0,c=null,d=null;for(let B=0;B<i;B++){l=a=0,c=d=null;for(let g=0;g<i;g++){let h=r.get(B,g);h===c?l++:(l>=5&&(s+=t.N1+(l-5)),c=h,l=1),h=r.get(g,B),h===d?a++:(a>=5&&(s+=t.N1+(a-5)),d=h,a=1)}l>=5&&(s+=t.N1+(l-5)),a>=5&&(s+=t.N1+(a-5))}return s},e.getPenaltyN2=function(r){const i=r.size;let s=0;for(let l=0;l<i-1;l++)for(let a=0;a<i-1;a++){const c=r.get(l,a)+r.get(l,a+1)+r.get(l+1,a)+r.get(l+1,a+1);(c===4||c===0)&&s++}return s*t.N2},e.getPenaltyN3=function(r){const i=r.size;let s=0,l=0,a=0;for(let c=0;c<i;c++){l=a=0;for(let d=0;d<i;d++)l=l<<1&2047|r.get(c,d),d>=10&&(l===1488||l===93)&&s++,a=a<<1&2047|r.get(d,c),d>=10&&(a===1488||a===93)&&s++}return s*t.N3},e.getPenaltyN4=function(r){let i=0;const s=r.data.length;for(let a=0;a<s;a++)i+=r.data[a];return Math.abs(Math.ceil(i*100/s/5)-10)*t.N4};function n(o,r,i){switch(o){case e.Patterns.PATTERN000:return(r+i)%2===0;case e.Patterns.PATTERN001:return r%2===0;case e.Patterns.PATTERN010:return i%3===0;case e.Patterns.PATTERN011:return(r+i)%3===0;case e.Patterns.PATTERN100:return(Math.floor(r/2)+Math.floor(i/3))%2===0;case e.Patterns.PATTERN101:return r*i%2+r*i%3===0;case e.Patterns.PATTERN110:return(r*i%2+r*i%3)%2===0;case e.Patterns.PATTERN111:return(r*i%3+(r+i)%2)%2===0;default:throw new Error("bad maskPattern:"+o)}}e.applyMask=function(r,i){const s=i.size;for(let l=0;l<s;l++)for(let a=0;a<s;a++)i.isReserved(a,l)||i.xor(a,l,n(r,a,l))},e.getBestMask=function(r,i){const s=Object.keys(e.Patterns).length;let l=0,a=1/0;for(let c=0;c<s;c++){i(c),e.applyMask(c,r);const d=e.getPenaltyN1(r)+e.getPenaltyN2(r)+e.getPenaltyN3(r)+e.getPenaltyN4(r);e.applyMask(c,r),d<a&&(a=d,l=c)}return l}})(Nt);var tt={};const L=$,Y=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],W=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];tt.getBlocksCount=function(t,n){switch(n){case L.L:return Y[(t-1)*4+0];case L.M:return Y[(t-1)*4+1];case L.Q:return Y[(t-1)*4+2];case L.H:return Y[(t-1)*4+3];default:return}};tt.getTotalCodewordsCount=function(t,n){switch(n){case L.L:return W[(t-1)*4+0];case L.M:return W[(t-1)*4+1];case L.Q:return W[(t-1)*4+2];case L.H:return W[(t-1)*4+3];default:return}};var Rt={},et={};const K=new Uint8Array(512),Z=new Uint8Array(256);(function(){let t=1;for(let n=0;n<255;n++)K[n]=t,Z[t]=n,t<<=1,t&256&&(t^=285);for(let n=255;n<512;n++)K[n]=K[n-255]})();et.log=function(t){if(t<1)throw new Error("log("+t+")");return Z[t]};et.exp=function(t){return K[t]};et.mul=function(t,n){return t===0||n===0?0:K[Z[t]+Z[n]]};(function(e){const t=et;e.mul=function(o,r){const i=new Uint8Array(o.length+r.length-1);for(let s=0;s<o.length;s++)for(let l=0;l<r.length;l++)i[s+l]^=t.mul(o[s],r[l]);return i},e.mod=function(o,r){let i=new Uint8Array(o);for(;i.length-r.length>=0;){const s=i[0];for(let a=0;a<r.length;a++)i[a]^=t.mul(r[a],s);let l=0;for(;l<i.length&&i[l]===0;)l++;i=i.slice(l)}return i},e.generateECPolynomial=function(o){let r=new Uint8Array([1]);for(let i=0;i<o;i++)r=e.mul(r,new Uint8Array([1,t.exp(i)]));return r}})(Rt);const Mt=Rt;function ht(e){this.genPoly=void 0,this.degree=e,this.degree&&this.initialize(this.degree)}ht.prototype.initialize=function(t){this.degree=t,this.genPoly=Mt.generateECPolynomial(this.degree)};ht.prototype.encode=function(t){if(!this.genPoly)throw new Error("Encoder not initialized");const n=new Uint8Array(t.length+this.degree);n.set(t);const o=Mt.mod(n,this.genPoly),r=this.degree-o.length;if(r>0){const i=new Uint8Array(this.degree);return i.set(o,r),i}return o};var Gt=ht,_t={},U={},mt={};mt.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40};var _={};const Pt="[0-9]+",qt="[A-Z $%*+\\-./:]+";let J="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";J=J.replace(/u/g,"\\u");const Yt="(?:(?![A-Z0-9 $%*+\\-./:]|"+J+`)(?:.|[\r
|
|
2
2
|
]))+`;_.KANJI=new RegExp(J,"g");_.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g");_.BYTE=new RegExp(Yt,"g");_.NUMERIC=new RegExp(Pt,"g");_.ALPHANUMERIC=new RegExp(qt,"g");const Wt=new RegExp("^"+J+"$"),Xt=new RegExp("^"+Pt+"$"),Zt=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");_.testKanji=function(t){return Wt.test(t)};_.testNumeric=function(t){return Xt.test(t)};_.testAlphanumeric=function(t){return Zt.test(t)};(function(e){const t=mt,n=_;e.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},e.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},e.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},e.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},e.MIXED={bit:-1},e.getCharCountIndicator=function(i,s){if(!i.ccBits)throw new Error("Invalid mode: "+i);if(!t.isValid(s))throw new Error("Invalid version: "+s);return s>=1&&s<10?i.ccBits[0]:s<27?i.ccBits[1]:i.ccBits[2]},e.getBestModeForData=function(i){return n.testNumeric(i)?e.NUMERIC:n.testAlphanumeric(i)?e.ALPHANUMERIC:n.testKanji(i)?e.KANJI:e.BYTE},e.toString=function(i){if(i&&i.id)return i.id;throw new Error("Invalid mode")},e.isValid=function(i){return i&&i.bit&&i.ccBits};function o(r){if(typeof r!="string")throw new Error("Param is not a string");switch(r.toLowerCase()){case"numeric":return e.NUMERIC;case"alphanumeric":return e.ALPHANUMERIC;case"kanji":return e.KANJI;case"byte":return e.BYTE;default:throw new Error("Unknown mode: "+r)}}e.from=function(i,s){if(e.isValid(i))return i;try{return o(i)}catch(l){return s}}})(U);(function(e){const t=N,n=tt,o=$,r=U,i=mt,s=7973,l=t.getBCHDigit(s);function a(g,h,m){for(let w=1;w<=40;w++)if(h<=e.getCapacity(w,m,g))return w}function c(g,h){return r.getCharCountIndicator(g,h)+4}function d(g,h){let m=0;return g.forEach(function(w){const b=c(w.mode,h);m+=b+w.getBitsLength()}),m}function B(g,h){for(let m=1;m<=40;m++)if(d(g,m)<=e.getCapacity(m,h,r.MIXED))return m}e.from=function(h,m){return i.isValid(h)?parseInt(h,10):m},e.getCapacity=function(h,m,w){if(!i.isValid(h))throw new Error("Invalid QR Code version");typeof w=="undefined"&&(w=r.BYTE);const b=t.getSymbolTotalCodewords(h),f=n.getTotalCodewordsCount(h,m),y=(b-f)*8;if(w===r.MIXED)return y;const E=y-c(w,h);switch(w){case r.NUMERIC:return Math.floor(E/10*3);case r.ALPHANUMERIC:return Math.floor(E/11*2);case r.KANJI:return Math.floor(E/13);case r.BYTE:default:return Math.floor(E/8)}},e.getBestVersionForData=function(h,m){let w;const b=o.from(m,o.M);if(Array.isArray(h)){if(h.length>1)return B(h,b);if(h.length===0)return 1;w=h[0]}else w=h;return a(w.mode,w.getLength(),b)},e.getEncodedBits=function(h){if(!i.isValid(h)||h<7)throw new Error("Invalid QR Code version");let m=h<<12;for(;t.getBCHDigit(m)-l>=0;)m^=s<<t.getBCHDigit(m)-l;return h<<12|m}})(_t);var Lt={};const ut=N,Ut=1335,xt=21522,bt=ut.getBCHDigit(Ut);Lt.getEncodedBits=function(t,n){const o=t.bit<<3|n;let r=o<<10;for(;ut.getBCHDigit(r)-bt>=0;)r^=Ut<<ut.getBCHDigit(r)-bt;return(o<<10|r)^xt};var Dt={};const $t=U;function D(e){this.mode=$t.NUMERIC,this.data=e.toString()}D.getBitsLength=function(t){return 10*Math.floor(t/3)+(t%3?t%3*3+1:0)};D.prototype.getLength=function(){return this.data.length};D.prototype.getBitsLength=function(){return D.getBitsLength(this.data.length)};D.prototype.write=function(t){let n,o,r;for(n=0;n+3<=this.data.length;n+=3)o=this.data.substr(n,3),r=parseInt(o,10),t.put(r,10);const i=this.data.length-n;i>0&&(o=this.data.substr(n),r=parseInt(o,10),t.put(r,i*3+1))};var te=D;const ee=U,ot=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function k(e){this.mode=ee.ALPHANUMERIC,this.data=e}k.getBitsLength=function(t){return 11*Math.floor(t/2)+6*(t%2)};k.prototype.getLength=function(){return this.data.length};k.prototype.getBitsLength=function(){return k.getBitsLength(this.data.length)};k.prototype.write=function(t){let n;for(n=0;n+2<=this.data.length;n+=2){let o=ot.indexOf(this.data[n])*45;o+=ot.indexOf(this.data[n+1]),t.put(o,11)}this.data.length%2&&t.put(ot.indexOf(this.data[n]),6)};var ne=k;const re=U;function F(e){this.mode=re.BYTE,typeof e=="string"?this.data=new TextEncoder().encode(e):this.data=new Uint8Array(e)}F.getBitsLength=function(t){return t*8};F.prototype.getLength=function(){return this.data.length};F.prototype.getBitsLength=function(){return F.getBitsLength(this.data.length)};F.prototype.write=function(e){for(let t=0,n=this.data.length;t<n;t++)e.put(this.data[t],8)};var oe=F;const ie=U,se=N;function z(e){this.mode=ie.KANJI,this.data=e}z.getBitsLength=function(t){return t*13};z.prototype.getLength=function(){return this.data.length};z.prototype.getBitsLength=function(){return z.getBitsLength(this.data.length)};z.prototype.write=function(e){let t;for(t=0;t<this.data.length;t++){let n=se.toSJIS(this.data[t]);if(n>=33088&&n<=40956)n-=33088;else if(n>=57408&&n<=60351)n-=49472;else throw new Error("Invalid SJIS character: "+this.data[t]+`
|
|
3
3
|
Make sure your charset is UTF-8`);n=(n>>>8&255)*192+(n&255),e.put(n,13)}};var ae=z,kt={exports:{}};(function(e){var t={single_source_shortest_paths:function(n,o,r){var i={},s={};s[o]=0;var l=t.PriorityQueue.make();l.push(o,0);for(var a,c,d,B,g,h,m,w,b;!l.empty();){a=l.pop(),c=a.value,B=a.cost,g=n[c]||{};for(d in g)g.hasOwnProperty(d)&&(h=g[d],m=B+h,w=s[d],b=typeof s[d]=="undefined",(b||w>m)&&(s[d]=m,l.push(d,m),i[d]=c))}if(typeof r!="undefined"&&typeof s[r]=="undefined"){var f=["Could not find a path from ",o," to ",r,"."].join("");throw new Error(f)}return i},extract_shortest_path_from_predecessor_list:function(n,o){for(var r=[],i=o;i;)r.push(i),n[i],i=n[i];return r.reverse(),r},find_path:function(n,o,r){var i=t.single_source_shortest_paths(n,o,r);return t.extract_shortest_path_from_predecessor_list(i,r)},PriorityQueue:{make:function(n){var o=t.PriorityQueue,r={},i;n=n||{};for(i in o)o.hasOwnProperty(i)&&(r[i]=o[i]);return r.queue=[],r.sorter=n.sorter||o.default_sorter,r},default_sorter:function(n,o){return n.cost-o.cost},push:function(n,o){var r={value:n,cost:o};this.queue.push(r),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};e.exports=t})(kt);var le=kt.exports;(function(e){const t=U,n=te,o=ne,r=oe,i=ae,s=_,l=N,a=le;function c(f){return unescape(encodeURIComponent(f)).length}function d(f,y,E){const p=[];let S;for(;(S=f.exec(E))!==null;)p.push({data:S[0],index:S.index,mode:y,length:S[0].length});return p}function B(f){const y=d(s.NUMERIC,t.NUMERIC,f),E=d(s.ALPHANUMERIC,t.ALPHANUMERIC,f);let p,S;return l.isKanjiModeEnabled()?(p=d(s.BYTE,t.BYTE,f),S=d(s.KANJI,t.KANJI,f)):(p=d(s.BYTE_KANJI,t.BYTE,f),S=[]),y.concat(E,p,S).sort(function(A,I){return A.index-I.index}).map(function(A){return{data:A.data,mode:A.mode,length:A.length}})}function g(f,y){switch(y){case t.NUMERIC:return n.getBitsLength(f);case t.ALPHANUMERIC:return o.getBitsLength(f);case t.KANJI:return i.getBitsLength(f);case t.BYTE:return r.getBitsLength(f)}}function h(f){return f.reduce(function(y,E){const p=y.length-1>=0?y[y.length-1]:null;return p&&p.mode===E.mode?(y[y.length-1].data+=E.data,y):(y.push(E),y)},[])}function m(f){const y=[];for(let E=0;E<f.length;E++){const p=f[E];switch(p.mode){case t.NUMERIC:y.push([p,{data:p.data,mode:t.ALPHANUMERIC,length:p.length},{data:p.data,mode:t.BYTE,length:p.length}]);break;case t.ALPHANUMERIC:y.push([p,{data:p.data,mode:t.BYTE,length:p.length}]);break;case t.KANJI:y.push([p,{data:p.data,mode:t.BYTE,length:c(p.data)}]);break;case t.BYTE:y.push([{data:p.data,mode:t.BYTE,length:c(p.data)}])}}return y}function w(f,y){const E={},p={start:{}};let S=["start"];for(let T=0;T<f.length;T++){const A=f[T],I=[];for(let R=0;R<A.length;R++){const M=A[R],P=""+T+R;I.push(P),E[P]={node:M,lastCount:0},p[P]={};for(let v=0;v<S.length;v++){const C=S[v];E[C]&&E[C].node.mode===M.mode?(p[C][P]=g(E[C].lastCount+M.length,M.mode)-g(E[C].lastCount,M.mode),E[C].lastCount+=M.length):(E[C]&&(E[C].lastCount=M.length),p[C][P]=g(M.length,M.mode)+4+t.getCharCountIndicator(M.mode,y))}}S=I}for(let T=0;T<S.length;T++)p[S[T]].end=0;return{map:p,table:E}}function b(f,y){let E;const p=t.getBestModeForData(f);if(E=t.from(y,p),E!==t.BYTE&&E.bit<p.bit)throw new Error('"'+f+'" cannot be encoded with mode '+t.toString(E)+`.
|
|
4
4
|
Suggested mode is: `+t.toString(p));switch(E===t.KANJI&&!l.isKanjiModeEnabled()&&(E=t.BYTE),E){case t.NUMERIC:return new n(f);case t.ALPHANUMERIC:return new o(f);case t.KANJI:return new i(f);case t.BYTE:return new r(f)}}e.fromArray=function(y){return y.reduce(function(E,p){return typeof p=="string"?E.push(b(p,null)):p.data&&E.push(b(p.data,p.mode)),E},[])},e.fromString=function(y,E){const p=B(y,l.isKanjiModeEnabled()),S=m(p),T=w(S,E),A=a.find_path(T.map,"start","end"),I=[];for(let R=1;R<A.length-1;R++)I.push(T.table[A[R]].node);return e.fromArray(h(I))},e.rawSplit=function(y){return e.fromArray(B(y,l.isKanjiModeEnabled()))}})(Dt);const nt=N,it=$,ue=Kt,ce=Jt,fe=At,de=It,ct=Nt,ft=tt,ge=Gt,x=_t,he=Lt,me=U,st=Dt;function we(e,t){const n=e.size,o=de.getPositions(t);for(let r=0;r<o.length;r++){const i=o[r][0],s=o[r][1];for(let l=-1;l<=7;l++)if(!(i+l<=-1||n<=i+l))for(let a=-1;a<=7;a++)s+a<=-1||n<=s+a||(l>=0&&l<=6&&(a===0||a===6)||a>=0&&a<=6&&(l===0||l===6)||l>=2&&l<=4&&a>=2&&a<=4?e.set(i+l,s+a,!0,!0):e.set(i+l,s+a,!1,!0))}}function ye(e){const t=e.size;for(let n=8;n<t-8;n++){const o=n%2===0;e.set(n,6,o,!0),e.set(6,n,o,!0)}}function pe(e,t){const n=fe.getPositions(t);for(let o=0;o<n.length;o++){const r=n[o][0],i=n[o][1];for(let s=-2;s<=2;s++)for(let l=-2;l<=2;l++)s===-2||s===2||l===-2||l===2||s===0&&l===0?e.set(r+s,i+l,!0,!0):e.set(r+s,i+l,!1,!0)}}function Ee(e,t){const n=e.size,o=x.getEncodedBits(t);let r,i,s;for(let l=0;l<18;l++)r=Math.floor(l/3),i=l%3+n-8-3,s=(o>>l&1)===1,e.set(r,i,s,!0),e.set(i,r,s,!0)}function at(e,t,n){const o=e.size,r=he.getEncodedBits(t,n);let i,s;for(i=0;i<15;i++)s=(r>>i&1)===1,i<6?e.set(i,8,s,!0):i<8?e.set(i+1,8,s,!0):e.set(o-15+i,8,s,!0),i<8?e.set(8,o-i-1,s,!0):i<9?e.set(8,15-i-1+1,s,!0):e.set(8,15-i-1,s,!0);e.set(o-8,8,1,!0)}function Ce(e,t){const n=e.size;let o=-1,r=n-1,i=7,s=0;for(let l=n-1;l>0;l-=2)for(l===6&&l--;;){for(let a=0;a<2;a++)if(!e.isReserved(r,l-a)){let c=!1;s<t.length&&(c=(t[s]>>>i&1)===1),e.set(r,l-a,c),i--,i===-1&&(s++,i=7)}if(r+=o,r<0||n<=r){r-=o,o=-o;break}}}function be(e,t,n){const o=new ue;n.forEach(function(a){o.put(a.mode.bit,4),o.put(a.getLength(),me.getCharCountIndicator(a.mode,e)),a.write(o)});const r=nt.getSymbolTotalCodewords(e),i=ft.getTotalCodewordsCount(e,t),s=(r-i)*8;for(o.getLengthInBits()+4<=s&&o.put(0,4);o.getLengthInBits()%8!==0;)o.putBit(0);const l=(s-o.getLengthInBits())/8;for(let a=0;a<l;a++)o.put(a%2?17:236,8);return Be(o,e,t)}function Be(e,t,n){const o=nt.getSymbolTotalCodewords(t),r=ft.getTotalCodewordsCount(t,n),i=o-r,s=ft.getBlocksCount(t,n),l=o%s,a=s-l,c=Math.floor(o/s),d=Math.floor(i/s),B=d+1,g=c-d,h=new ge(g);let m=0;const w=new Array(s),b=new Array(s);let f=0;const y=new Uint8Array(e.buffer);for(let A=0;A<s;A++){const I=A<a?d:B;w[A]=y.slice(m,m+I),b[A]=h.encode(w[A]),m+=I,f=Math.max(f,I)}const E=new Uint8Array(o);let p=0,S,T;for(S=0;S<f;S++)for(T=0;T<s;T++)S<w[T].length&&(E[p++]=w[T][S]);for(S=0;S<g;S++)for(T=0;T<s;T++)E[p++]=b[T][S];return E}function Se(e,t,n,o){let r;if(Array.isArray(e))r=st.fromArray(e);else if(typeof e=="string"){let c=t;if(!c){const d=st.rawSplit(e);c=x.getBestVersionForData(d,n)}r=st.fromString(e,c||40)}else throw new Error("Invalid data");const i=x.getBestVersionForData(r,n);if(!i)throw new Error("The amount of data is too big to be stored in a QR Code");if(!t)t=i;else if(t<i)throw new Error(`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";if(typeof window!="undefined"){let n=function(e){return function(...s){try{return e.apply(this,s)}catch(t){if(t instanceof DOMException&&t.message.includes("has already been used with this registry")||t.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw t}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/PlayerProfileInfo-
|
|
1
|
+
"use strict";if(typeof window!="undefined"){let n=function(e){return function(...s){try{return e.apply(this,s)}catch(t){if(t instanceof DOMException&&t.message.includes("has already been used with this registry")||t.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw t}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/PlayerProfileInfo-DLesCKgC.cjs")).then(e=>e.PlayerProfileInfo_ce).then(({default:e})=>{!customElements.get("player-profile-info")&&customElements.define("player-profile-info",e.element)})}
|
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/PlayerProfileInfo-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/PlayerProfileInfo-CoV_wQ-W.js").then((e) => e.P).then(({ default: e }) => {
|
|
14
14
|
!customElements.get("player-profile-info") && customElements.define("player-profile-info", e.element);
|
|
15
15
|
});
|
|
16
16
|
}
|
package/package.json
CHANGED
|
@@ -0,0 +1,493 @@
|
|
|
1
|
+
const ae = "ui-skeleton", ie = (
|
|
2
|
+
/* ui-skeleton */
|
|
3
|
+
{ hydratedSelectorName: "hydrated" }
|
|
4
|
+
);
|
|
5
|
+
var $e = Object.defineProperty, oe = (e, t) => {
|
|
6
|
+
for (var s in t)
|
|
7
|
+
$e(e, s, { get: t[s], enumerable: !0 });
|
|
8
|
+
}, I = /* @__PURE__ */ new WeakMap(), S = (e) => I.get(e), Ye = (e, t) => I.set(t.$lazyInstance$ = e, t), ce = (e, t) => {
|
|
9
|
+
const s = {
|
|
10
|
+
$flags$: 0,
|
|
11
|
+
$hostElement$: e,
|
|
12
|
+
$cmpMeta$: t,
|
|
13
|
+
$instanceValues$: /* @__PURE__ */ new Map()
|
|
14
|
+
};
|
|
15
|
+
return s.$onReadyPromise$ = new Promise((n) => s.$onReadyResolve$ = n), e["s-p"] = [], e["s-rc"] = [], I.set(e, s);
|
|
16
|
+
}, E = (e, t) => (0, console.error)(e, t), O = /* @__PURE__ */ new Map(), fe = (e, t, s) => {
|
|
17
|
+
const n = e.$tagName$.replace(/-/g, "_"), r = e.$lazyBundleId$;
|
|
18
|
+
if (!r)
|
|
19
|
+
return;
|
|
20
|
+
const a = O.get(r);
|
|
21
|
+
if (a)
|
|
22
|
+
return a[n];
|
|
23
|
+
{
|
|
24
|
+
const l = (i) => (O.set(r, i), i[n]);
|
|
25
|
+
switch (r) {
|
|
26
|
+
case "ui-skeleton":
|
|
27
|
+
return import(
|
|
28
|
+
/* webpackMode: "lazy" */
|
|
29
|
+
"./ui-skeleton-B9VBo72p.js"
|
|
30
|
+
).then(l, E);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
return import(
|
|
34
|
+
/* @vite-ignore */
|
|
35
|
+
/* webpackInclude: /\.entry\.js$/ */
|
|
36
|
+
/* webpackExclude: /\.system\.entry\.js$/ */
|
|
37
|
+
/* webpackMode: "lazy" */
|
|
38
|
+
`./${r}.entry.js`
|
|
39
|
+
).then((l) => (O.set(r, l), l[n]), E);
|
|
40
|
+
}, P = /* @__PURE__ */ new Map(), ue = "{visibility:hidden}.hydrated{visibility:inherit}", Y = "slot-fb{display:contents}slot-fb[hidden]{display:none}", B = typeof window < "u" ? window : {}, p = B.document || { head: {} }, g = {
|
|
41
|
+
$flags$: 0,
|
|
42
|
+
$resourcesUrl$: "",
|
|
43
|
+
jmp: (e) => e(),
|
|
44
|
+
raf: (e) => requestAnimationFrame(e),
|
|
45
|
+
ael: (e, t, s, n) => e.addEventListener(t, s, n),
|
|
46
|
+
rel: (e, t, s, n) => e.removeEventListener(t, s, n),
|
|
47
|
+
ce: (e, t) => new CustomEvent(e, t)
|
|
48
|
+
}, de = (e) => Promise.resolve(e), me = /* @__PURE__ */ (() => {
|
|
49
|
+
try {
|
|
50
|
+
return new CSSStyleSheet(), typeof new CSSStyleSheet().replaceSync == "function";
|
|
51
|
+
} catch {
|
|
52
|
+
}
|
|
53
|
+
return !1;
|
|
54
|
+
})(), T = !1, U = [], G = [], ve = (e, t) => (s) => {
|
|
55
|
+
e.push(s), T || (T = !0, g.$flags$ & 4 ? N(L) : g.raf(L));
|
|
56
|
+
}, q = (e) => {
|
|
57
|
+
for (let t = 0; t < e.length; t++)
|
|
58
|
+
try {
|
|
59
|
+
e[t](performance.now());
|
|
60
|
+
} catch (s) {
|
|
61
|
+
E(s);
|
|
62
|
+
}
|
|
63
|
+
e.length = 0;
|
|
64
|
+
}, L = () => {
|
|
65
|
+
q(U), q(G), (T = U.length > 0) && g.raf(L);
|
|
66
|
+
}, N = (e) => de().then(e), ge = /* @__PURE__ */ ve(G), C = {}, J = (e) => (e = typeof e, e === "object" || e === "function");
|
|
67
|
+
function K(e) {
|
|
68
|
+
var t, s, n;
|
|
69
|
+
return (n = (s = (t = e.head) == null ? void 0 : t.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : s.getAttribute("content")) != null ? n : void 0;
|
|
70
|
+
}
|
|
71
|
+
var he = {};
|
|
72
|
+
oe(he, {
|
|
73
|
+
err: () => Q,
|
|
74
|
+
map: () => pe,
|
|
75
|
+
ok: () => A,
|
|
76
|
+
unwrap: () => ye,
|
|
77
|
+
unwrapErr: () => Se
|
|
78
|
+
});
|
|
79
|
+
var A = (e) => ({
|
|
80
|
+
isOk: !0,
|
|
81
|
+
isErr: !1,
|
|
82
|
+
value: e
|
|
83
|
+
}), Q = (e) => ({
|
|
84
|
+
isOk: !1,
|
|
85
|
+
isErr: !0,
|
|
86
|
+
value: e
|
|
87
|
+
});
|
|
88
|
+
function pe(e, t) {
|
|
89
|
+
if (e.isOk) {
|
|
90
|
+
const s = t(e.value);
|
|
91
|
+
return s instanceof Promise ? s.then((n) => A(n)) : A(s);
|
|
92
|
+
}
|
|
93
|
+
if (e.isErr) {
|
|
94
|
+
const s = e.value;
|
|
95
|
+
return Q(s);
|
|
96
|
+
}
|
|
97
|
+
throw "should never get here";
|
|
98
|
+
}
|
|
99
|
+
var ye = (e) => {
|
|
100
|
+
if (e.isOk)
|
|
101
|
+
return e.value;
|
|
102
|
+
throw e.value;
|
|
103
|
+
}, Se = (e) => {
|
|
104
|
+
if (e.isErr)
|
|
105
|
+
return e.value;
|
|
106
|
+
throw e.value;
|
|
107
|
+
}, b = (e, t = "") => () => {
|
|
108
|
+
}, be = (e, t, ...s) => {
|
|
109
|
+
let n = null, r = null, a = !1, l = !1;
|
|
110
|
+
const i = [], $ = (c) => {
|
|
111
|
+
for (let u = 0; u < c.length; u++)
|
|
112
|
+
n = c[u], Array.isArray(n) ? $(n) : n != null && typeof n != "boolean" && ((a = typeof e != "function" && !J(n)) && (n = String(n)), a && l ? i[i.length - 1].$text$ += n : i.push(a ? H(null, n) : n), l = a);
|
|
113
|
+
};
|
|
114
|
+
if ($(s), t) {
|
|
115
|
+
t.key && (r = t.key);
|
|
116
|
+
{
|
|
117
|
+
const c = t.className || t.class;
|
|
118
|
+
c && (t.class = typeof c != "object" ? c : Object.keys(c).filter((u) => c[u]).join(" "));
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
const o = H(e, null);
|
|
122
|
+
return o.$attrs$ = t, i.length > 0 && (o.$children$ = i), o.$key$ = r, o;
|
|
123
|
+
}, H = (e, t) => {
|
|
124
|
+
const s = {
|
|
125
|
+
$flags$: 0,
|
|
126
|
+
$tag$: e,
|
|
127
|
+
$text$: t,
|
|
128
|
+
$elm$: null,
|
|
129
|
+
$children$: null
|
|
130
|
+
};
|
|
131
|
+
return s.$attrs$ = null, s.$key$ = null, s;
|
|
132
|
+
}, ke = {}, Ee = (e) => e && e.$tag$ === ke, we = (e, t) => e != null && !J(e) ? t & 4 ? e === "false" ? !1 : e === "" || !!e : t & 2 ? parseFloat(e) : t & 1 ? String(e) : e : e, xe = (e, t, s) => {
|
|
133
|
+
const n = g.ce(t, s);
|
|
134
|
+
return e.dispatchEvent(n), n;
|
|
135
|
+
}, D = /* @__PURE__ */ new WeakMap(), Pe = (e, t, s) => {
|
|
136
|
+
let n = P.get(e);
|
|
137
|
+
me && s ? (n = n || new CSSStyleSheet(), typeof n == "string" ? n = t : n.replaceSync(t)) : n = t, P.set(e, n);
|
|
138
|
+
}, _e = (e, t, s) => {
|
|
139
|
+
var n;
|
|
140
|
+
const r = X(t), a = P.get(r);
|
|
141
|
+
if (e = e.nodeType === 11 ? e : p, a)
|
|
142
|
+
if (typeof a == "string") {
|
|
143
|
+
e = e.head || e;
|
|
144
|
+
let l = D.get(e), i;
|
|
145
|
+
if (l || D.set(e, l = /* @__PURE__ */ new Set()), !l.has(r)) {
|
|
146
|
+
{
|
|
147
|
+
i = p.createElement("style"), i.innerHTML = a;
|
|
148
|
+
const $ = (n = g.$nonce$) != null ? n : K(p);
|
|
149
|
+
$ != null && i.setAttribute("nonce", $), e.insertBefore(i, e.querySelector("link"));
|
|
150
|
+
}
|
|
151
|
+
t.$flags$ & 4 && (i.innerHTML += Y), l && l.add(r);
|
|
152
|
+
}
|
|
153
|
+
} else
|
|
154
|
+
e.adoptedStyleSheets.includes(a) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, a]);
|
|
155
|
+
return r;
|
|
156
|
+
}, je = (e) => {
|
|
157
|
+
const t = e.$cmpMeta$, s = e.$hostElement$;
|
|
158
|
+
b("attachStyles", t.$tagName$), _e(
|
|
159
|
+
s.getRootNode(),
|
|
160
|
+
t
|
|
161
|
+
);
|
|
162
|
+
}, X = (e, t) => "sc-" + e.$tagName$, F = (e, t, s, n, r, a) => {
|
|
163
|
+
if (s !== n && (t.toLowerCase(), t === "class")) {
|
|
164
|
+
const l = e.classList, i = M(s), $ = M(n);
|
|
165
|
+
l.remove(...i.filter((o) => o && !$.includes(o))), l.add(...$.filter((o) => o && !i.includes(o)));
|
|
166
|
+
}
|
|
167
|
+
}, Oe = /\s/, M = (e) => e ? e.split(Oe) : [], Z = (e, t, s) => {
|
|
168
|
+
const n = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, r = e && e.$attrs$ || C, a = t.$attrs$ || C;
|
|
169
|
+
for (const l of W(Object.keys(r)))
|
|
170
|
+
l in a || F(n, l, r[l], void 0);
|
|
171
|
+
for (const l of W(Object.keys(a)))
|
|
172
|
+
F(n, l, r[l], a[l]);
|
|
173
|
+
};
|
|
174
|
+
function W(e) {
|
|
175
|
+
return e.includes("ref") ? (
|
|
176
|
+
// we need to sort these to ensure that `'ref'` is the last attr
|
|
177
|
+
[...e.filter((t) => t !== "ref"), "ref"]
|
|
178
|
+
) : (
|
|
179
|
+
// no need to sort, return the original array
|
|
180
|
+
e
|
|
181
|
+
);
|
|
182
|
+
}
|
|
183
|
+
var R, _ = (e, t, s, n) => {
|
|
184
|
+
const r = t.$children$[s];
|
|
185
|
+
let a = 0, l, i;
|
|
186
|
+
if (r.$text$ !== null)
|
|
187
|
+
l = r.$elm$ = p.createTextNode(r.$text$);
|
|
188
|
+
else if (l = r.$elm$ = p.createElement(
|
|
189
|
+
r.$tag$
|
|
190
|
+
), Z(null, r), r.$children$)
|
|
191
|
+
for (a = 0; a < r.$children$.length; ++a)
|
|
192
|
+
i = _(e, r, a), i && l.appendChild(i);
|
|
193
|
+
return l["s-hn"] = R, l;
|
|
194
|
+
}, V = (e, t, s, n, r, a) => {
|
|
195
|
+
let l = e, i;
|
|
196
|
+
for (; r <= a; ++r)
|
|
197
|
+
n[r] && (i = _(null, s, r), i && (n[r].$elm$ = i, x(l, i, t)));
|
|
198
|
+
}, ee = (e, t, s) => {
|
|
199
|
+
for (let n = t; n <= s; ++n) {
|
|
200
|
+
const r = e[n];
|
|
201
|
+
if (r) {
|
|
202
|
+
const a = r.$elm$;
|
|
203
|
+
a && a.remove();
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
}, Te = (e, t, s, n, r = !1) => {
|
|
207
|
+
let a = 0, l = 0, i = 0, $ = 0, o = t.length - 1, c = t[0], u = t[o], d = n.length - 1, f = n[0], m = n[d], h, v;
|
|
208
|
+
for (; a <= o && l <= d; )
|
|
209
|
+
if (c == null)
|
|
210
|
+
c = t[++a];
|
|
211
|
+
else if (u == null)
|
|
212
|
+
u = t[--o];
|
|
213
|
+
else if (f == null)
|
|
214
|
+
f = n[++l];
|
|
215
|
+
else if (m == null)
|
|
216
|
+
m = n[--d];
|
|
217
|
+
else if (w(c, f, r))
|
|
218
|
+
k(c, f, r), c = t[++a], f = n[++l];
|
|
219
|
+
else if (w(u, m, r))
|
|
220
|
+
k(u, m, r), u = t[--o], m = n[--d];
|
|
221
|
+
else if (w(c, m, r))
|
|
222
|
+
k(c, m, r), x(e, c.$elm$, u.$elm$.nextSibling), c = t[++a], m = n[--d];
|
|
223
|
+
else if (w(u, f, r))
|
|
224
|
+
k(u, f, r), x(e, u.$elm$, c.$elm$), u = t[--o], f = n[++l];
|
|
225
|
+
else {
|
|
226
|
+
for (i = -1, $ = a; $ <= o; ++$)
|
|
227
|
+
if (t[$] && t[$].$key$ !== null && t[$].$key$ === f.$key$) {
|
|
228
|
+
i = $;
|
|
229
|
+
break;
|
|
230
|
+
}
|
|
231
|
+
i >= 0 ? (v = t[i], v.$tag$ !== f.$tag$ ? h = _(t && t[l], s, i) : (k(v, f, r), t[i] = void 0, h = v.$elm$), f = n[++l]) : (h = _(t && t[l], s, l), f = n[++l]), h && x(c.$elm$.parentNode, h, c.$elm$);
|
|
232
|
+
}
|
|
233
|
+
a > o ? V(
|
|
234
|
+
e,
|
|
235
|
+
n[d + 1] == null ? null : n[d + 1].$elm$,
|
|
236
|
+
s,
|
|
237
|
+
n,
|
|
238
|
+
l,
|
|
239
|
+
d
|
|
240
|
+
) : l > d && ee(t, a, o);
|
|
241
|
+
}, w = (e, t, s = !1) => e.$tag$ === t.$tag$ ? s ? !0 : e.$key$ === t.$key$ : !1, k = (e, t, s = !1) => {
|
|
242
|
+
const n = t.$elm$ = e.$elm$, r = e.$children$, a = t.$children$, l = t.$text$;
|
|
243
|
+
l === null ? (Z(e, t), r !== null && a !== null ? Te(n, r, t, a, s) : a !== null ? (e.$text$ !== null && (n.textContent = ""), V(n, null, t, a, 0, a.length - 1)) : r !== null && ee(r, 0, r.length - 1)) : e.$text$ !== l && (n.data = l);
|
|
244
|
+
}, x = (e, t, s) => e?.insertBefore(t, s), Le = (e, t, s = !1) => {
|
|
245
|
+
const n = e.$hostElement$, r = e.$vnode$ || H(null, null), a = Ee(t) ? t : be(null, null, t);
|
|
246
|
+
if (R = n.tagName, s && a.$attrs$)
|
|
247
|
+
for (const l of Object.keys(a.$attrs$))
|
|
248
|
+
n.hasAttribute(l) && !["key", "ref", "style", "class"].includes(l) && (a.$attrs$[l] = n[l]);
|
|
249
|
+
a.$tag$ = null, a.$flags$ |= 4, e.$vnode$ = a, a.$elm$ = r.$elm$ = n, k(r, a, s);
|
|
250
|
+
}, te = (e, t) => {
|
|
251
|
+
t && !e.$onRenderResolve$ && t["s-p"] && t["s-p"].push(new Promise((s) => e.$onRenderResolve$ = s));
|
|
252
|
+
}, z = (e, t) => {
|
|
253
|
+
if (e.$flags$ |= 16, e.$flags$ & 4) {
|
|
254
|
+
e.$flags$ |= 512;
|
|
255
|
+
return;
|
|
256
|
+
}
|
|
257
|
+
return te(e, e.$ancestorComponent$), ge(() => Ae(e, t));
|
|
258
|
+
}, Ae = (e, t) => {
|
|
259
|
+
const s = e.$hostElement$;
|
|
260
|
+
b("scheduleUpdate", e.$cmpMeta$.$tagName$);
|
|
261
|
+
const n = e.$lazyInstance$;
|
|
262
|
+
if (!n)
|
|
263
|
+
throw new Error(
|
|
264
|
+
`Can't render component <${s.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`
|
|
265
|
+
);
|
|
266
|
+
return He(void 0, () => Be(e, n, t));
|
|
267
|
+
}, He = (e, t) => Ie(e) ? e.then(t).catch((s) => {
|
|
268
|
+
console.error(s), t();
|
|
269
|
+
}) : t(), Ie = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", Be = async (e, t, s) => {
|
|
270
|
+
var n;
|
|
271
|
+
const r = e.$hostElement$;
|
|
272
|
+
b("update", e.$cmpMeta$.$tagName$);
|
|
273
|
+
const a = r["s-rc"];
|
|
274
|
+
s && je(e), b("render", e.$cmpMeta$.$tagName$), Ne(e, t, r, s), a && (a.map((l) => l()), r["s-rc"] = void 0);
|
|
275
|
+
{
|
|
276
|
+
const l = (n = r["s-p"]) != null ? n : [], i = () => ze(e);
|
|
277
|
+
l.length === 0 ? i() : (Promise.all(l).then(i), e.$flags$ |= 4, l.length = 0);
|
|
278
|
+
}
|
|
279
|
+
}, Ne = (e, t, s, n) => {
|
|
280
|
+
try {
|
|
281
|
+
t = t.render(), e.$flags$ &= -17, e.$flags$ |= 2, Le(e, t, n);
|
|
282
|
+
} catch (r) {
|
|
283
|
+
E(r, e.$hostElement$);
|
|
284
|
+
}
|
|
285
|
+
return null;
|
|
286
|
+
}, ze = (e) => {
|
|
287
|
+
e.$cmpMeta$.$tagName$;
|
|
288
|
+
const t = e.$hostElement$, s = e.$ancestorComponent$;
|
|
289
|
+
e.$flags$ & 64 || (e.$flags$ |= 64, se(t), e.$onReadyResolve$(t), s || ne()), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && N(() => z(e, !1)), e.$flags$ &= -517;
|
|
290
|
+
}, ne = (e) => {
|
|
291
|
+
se(p.documentElement), N(() => xe(B, "appload", { detail: { namespace: ae } }));
|
|
292
|
+
}, se = (e) => {
|
|
293
|
+
var t;
|
|
294
|
+
return e.classList.add((t = ie.hydratedSelectorName) != null ? t : "hydrated");
|
|
295
|
+
}, Ue = (e, t) => S(e).$instanceValues$.get(t), qe = (e, t, s, n) => {
|
|
296
|
+
const r = S(e);
|
|
297
|
+
if (!r)
|
|
298
|
+
throw new Error(
|
|
299
|
+
`Couldn't find host element for "${n.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`
|
|
300
|
+
);
|
|
301
|
+
const a = r.$hostElement$, l = r.$instanceValues$.get(t), i = r.$flags$, $ = r.$lazyInstance$;
|
|
302
|
+
s = we(s, n.$members$[t][0]);
|
|
303
|
+
const o = Number.isNaN(l) && Number.isNaN(s), c = s !== l && !o;
|
|
304
|
+
if ((!(i & 8) || l === void 0) && c && (r.$instanceValues$.set(t, s), $)) {
|
|
305
|
+
if (n.$watchers$ && i & 128) {
|
|
306
|
+
const u = n.$watchers$[t];
|
|
307
|
+
u && u.map((d) => {
|
|
308
|
+
try {
|
|
309
|
+
$[d](s, l, t);
|
|
310
|
+
} catch (f) {
|
|
311
|
+
E(f, a);
|
|
312
|
+
}
|
|
313
|
+
});
|
|
314
|
+
}
|
|
315
|
+
(i & 18) === 2 && z(r, !1);
|
|
316
|
+
}
|
|
317
|
+
}, re = (e, t, s) => {
|
|
318
|
+
var n, r;
|
|
319
|
+
const a = e.prototype;
|
|
320
|
+
if (t.$members$ || t.$watchers$ || e.watchers) {
|
|
321
|
+
e.watchers && !t.$watchers$ && (t.$watchers$ = e.watchers);
|
|
322
|
+
const l = Object.entries((n = t.$members$) != null ? n : {});
|
|
323
|
+
if (l.map(([i, [$]]) => {
|
|
324
|
+
($ & 31 || s & 2 && $ & 32) && Object.defineProperty(a, i, {
|
|
325
|
+
get() {
|
|
326
|
+
return Ue(this, i);
|
|
327
|
+
},
|
|
328
|
+
set(o) {
|
|
329
|
+
qe(this, i, o, t);
|
|
330
|
+
},
|
|
331
|
+
configurable: !0,
|
|
332
|
+
enumerable: !0
|
|
333
|
+
});
|
|
334
|
+
}), s & 1) {
|
|
335
|
+
const i = /* @__PURE__ */ new Map();
|
|
336
|
+
a.attributeChangedCallback = function($, o, c) {
|
|
337
|
+
g.jmp(() => {
|
|
338
|
+
var u;
|
|
339
|
+
const d = i.get($);
|
|
340
|
+
if (this.hasOwnProperty(d))
|
|
341
|
+
c = this[d], delete this[d];
|
|
342
|
+
else {
|
|
343
|
+
if (a.hasOwnProperty(d) && typeof this[d] == "number" && this[d] == c)
|
|
344
|
+
return;
|
|
345
|
+
if (d == null) {
|
|
346
|
+
const f = S(this), m = f?.$flags$;
|
|
347
|
+
if (m && !(m & 8) && m & 128 && c !== o) {
|
|
348
|
+
const h = f.$lazyInstance$, v = (u = t.$watchers$) == null ? void 0 : u[$];
|
|
349
|
+
v?.forEach((y) => {
|
|
350
|
+
h[y] != null && h[y].call(h, c, o, $);
|
|
351
|
+
});
|
|
352
|
+
}
|
|
353
|
+
return;
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
this[d] = c === null && typeof this[d] == "boolean" ? !1 : c;
|
|
357
|
+
});
|
|
358
|
+
}, e.observedAttributes = Array.from(
|
|
359
|
+
/* @__PURE__ */ new Set([
|
|
360
|
+
...Object.keys((r = t.$watchers$) != null ? r : {}),
|
|
361
|
+
...l.filter(
|
|
362
|
+
([$, o]) => o[0] & 15
|
|
363
|
+
/* HasAttribute */
|
|
364
|
+
).map(([$, o]) => {
|
|
365
|
+
const c = o[1] || $;
|
|
366
|
+
return i.set(c, $), c;
|
|
367
|
+
})
|
|
368
|
+
])
|
|
369
|
+
);
|
|
370
|
+
}
|
|
371
|
+
}
|
|
372
|
+
return e;
|
|
373
|
+
}, Ce = async (e, t, s, n) => {
|
|
374
|
+
let r;
|
|
375
|
+
if (!(t.$flags$ & 32)) {
|
|
376
|
+
if (t.$flags$ |= 32, s.$lazyBundleId$) {
|
|
377
|
+
const $ = fe(s);
|
|
378
|
+
if ($ && "then" in $ ? r = await $ : r = $, !r)
|
|
379
|
+
throw new Error(`Constructor for "${s.$tagName$}#${t.$modeName$}" was not found`);
|
|
380
|
+
r.isProxied || (s.$watchers$ = r.watchers, re(
|
|
381
|
+
r,
|
|
382
|
+
s,
|
|
383
|
+
2
|
|
384
|
+
/* proxyState */
|
|
385
|
+
), r.isProxied = !0), b("createInstance", s.$tagName$), t.$flags$ |= 8;
|
|
386
|
+
try {
|
|
387
|
+
new r(t);
|
|
388
|
+
} catch (o) {
|
|
389
|
+
E(o);
|
|
390
|
+
}
|
|
391
|
+
t.$flags$ &= -9, t.$flags$ |= 128;
|
|
392
|
+
} else {
|
|
393
|
+
r = e.constructor;
|
|
394
|
+
const $ = e.localName;
|
|
395
|
+
customElements.whenDefined($).then(
|
|
396
|
+
() => t.$flags$ |= 128
|
|
397
|
+
/* isWatchReady */
|
|
398
|
+
);
|
|
399
|
+
}
|
|
400
|
+
if (r && r.style) {
|
|
401
|
+
let $;
|
|
402
|
+
typeof r.style == "string" && ($ = r.style);
|
|
403
|
+
const o = X(s);
|
|
404
|
+
P.has(o) || (b("registerStyles", s.$tagName$), Pe(o, $, !!(s.$flags$ & 1)));
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
const a = t.$ancestorComponent$, l = () => z(t, !0);
|
|
408
|
+
a && a["s-rc"] ? a["s-rc"].push(l) : l();
|
|
409
|
+
}, De = (e) => {
|
|
410
|
+
}, Fe = (e) => {
|
|
411
|
+
if (!(g.$flags$ & 1)) {
|
|
412
|
+
const t = S(e), s = t.$cmpMeta$;
|
|
413
|
+
if (b("connectedCallback", s.$tagName$), t.$flags$ & 1)
|
|
414
|
+
t?.$lazyInstance$ || t?.$onReadyPromise$ && t.$onReadyPromise$.then(() => De());
|
|
415
|
+
else {
|
|
416
|
+
t.$flags$ |= 1;
|
|
417
|
+
{
|
|
418
|
+
let n = e;
|
|
419
|
+
for (; n = n.parentNode || n.host; )
|
|
420
|
+
if (n["s-p"]) {
|
|
421
|
+
te(t, t.$ancestorComponent$ = n);
|
|
422
|
+
break;
|
|
423
|
+
}
|
|
424
|
+
}
|
|
425
|
+
s.$members$ && Object.entries(s.$members$).map(([n, [r]]) => {
|
|
426
|
+
if (r & 31 && e.hasOwnProperty(n)) {
|
|
427
|
+
const a = e[n];
|
|
428
|
+
delete e[n], e[n] = a;
|
|
429
|
+
}
|
|
430
|
+
}), Ce(e, t, s);
|
|
431
|
+
}
|
|
432
|
+
}
|
|
433
|
+
}, Me = (e) => {
|
|
434
|
+
}, We = async (e) => {
|
|
435
|
+
if (!(g.$flags$ & 1)) {
|
|
436
|
+
const t = S(e);
|
|
437
|
+
t?.$lazyInstance$ || t?.$onReadyPromise$ && t.$onReadyPromise$.then(() => Me());
|
|
438
|
+
}
|
|
439
|
+
}, Ge = (e, t = {}) => {
|
|
440
|
+
var s;
|
|
441
|
+
const n = [], r = t.exclude || [], a = B.customElements, l = p.head, i = /* @__PURE__ */ l.querySelector("meta[charset]"), $ = /* @__PURE__ */ p.createElement("style"), o = [];
|
|
442
|
+
let c, u = !0;
|
|
443
|
+
Object.assign(g, t), g.$resourcesUrl$ = new URL(t.resourcesUrl || "./", p.baseURI).href;
|
|
444
|
+
let d = !1;
|
|
445
|
+
if (e.map((f) => {
|
|
446
|
+
f[1].map((m) => {
|
|
447
|
+
var h;
|
|
448
|
+
const v = {
|
|
449
|
+
$flags$: m[0],
|
|
450
|
+
$tagName$: m[1],
|
|
451
|
+
$members$: m[2],
|
|
452
|
+
$listeners$: m[3]
|
|
453
|
+
};
|
|
454
|
+
v.$flags$ & 4 && (d = !0), v.$members$ = m[2], v.$watchers$ = (h = m[4]) != null ? h : {};
|
|
455
|
+
const y = v.$tagName$, le = class extends HTMLElement {
|
|
456
|
+
// StencilLazyHost
|
|
457
|
+
constructor(j) {
|
|
458
|
+
super(j), this.hasRegisteredEventListeners = !1, j = this, ce(j, v);
|
|
459
|
+
}
|
|
460
|
+
connectedCallback() {
|
|
461
|
+
S(this), this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0), c && (clearTimeout(c), c = null), u ? o.push(this) : g.jmp(() => Fe(this));
|
|
462
|
+
}
|
|
463
|
+
disconnectedCallback() {
|
|
464
|
+
g.jmp(() => We(this));
|
|
465
|
+
}
|
|
466
|
+
componentOnReady() {
|
|
467
|
+
return S(this).$onReadyPromise$;
|
|
468
|
+
}
|
|
469
|
+
};
|
|
470
|
+
v.$lazyBundleId$ = f[0], !r.includes(y) && !a.get(y) && (n.push(y), a.define(
|
|
471
|
+
y,
|
|
472
|
+
re(
|
|
473
|
+
le,
|
|
474
|
+
v,
|
|
475
|
+
1
|
|
476
|
+
/* isElementConstructor */
|
|
477
|
+
)
|
|
478
|
+
));
|
|
479
|
+
});
|
|
480
|
+
}), n.length > 0 && (d && ($.textContent += Y), $.textContent += n.sort() + ue, $.innerHTML.length)) {
|
|
481
|
+
$.setAttribute("data-styles", "");
|
|
482
|
+
const f = (s = g.$nonce$) != null ? s : K(p);
|
|
483
|
+
f != null && $.setAttribute("nonce", f), l.insertBefore($, i ? i.nextSibling : l.firstChild);
|
|
484
|
+
}
|
|
485
|
+
u = !1, o.length ? o.map((f) => f.connectedCallback()) : g.jmp(() => c = setTimeout(ne, 30));
|
|
486
|
+
};
|
|
487
|
+
export {
|
|
488
|
+
ke as H,
|
|
489
|
+
Ge as b,
|
|
490
|
+
be as h,
|
|
491
|
+
de as p,
|
|
492
|
+
Ye as r
|
|
493
|
+
};
|