@everymatrix/player-account-menu 1.99.57 → 1.99.58
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/GeneralLogout-CBRQ164H.cjs +1 -0
- package/components/GeneralLogout-D_btlWY4.js +341 -0
- package/components/GeneralLogout-trLrjzgC.js +324 -0
- package/components/{PlayerAccountMenu-BONCpeyS.cjs → PlayerAccountMenu-Bq7wuvgi.cjs} +1 -1
- package/components/{PlayerAccountMenu-1azra0LK.js → PlayerAccountMenu-CfqhmKxY.js} +1 -1
- package/components/{PlayerAccountMenu-gooXNa1g.js → PlayerAccountMenu-DvEcQcuU.js} +1 -1
- package/es2015/player-account-menu.cjs +1 -1
- package/es2015/player-account-menu.js +1 -1
- package/esnext/player-account-menu.js +1 -1
- package/package.json +1 -1
- package/components/GeneralLogout-B8Kxp4BT.cjs +0 -1
- package/components/GeneralLogout-BFpAutro.js +0 -300
- package/components/GeneralLogout-DeCJHu_R.js +0 -300
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var B=(n,e,o)=>new Promise((a,i)=>{var s=r=>{try{c(o.next(r))}catch(d){i(d)}},u=r=>{try{c(o.throw(r))}catch(d){i(d)}},c=r=>r.done?a(r.value):Promise.resolve(r.value).then(s,u);c((o=o.apply(n,e)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./PlayerAccountMenu-Bq7wuvgi.cjs"),D=(n,e={})=>{const o=new CustomEvent("track-custom-event",{detail:{type:n,data:e},bubbles:!0,composed:!0});document.dispatchEvent(o)};function k(n,e){t.addMessages(n,e)}function R(n){t.$locale.set(n)}const M={en:{logoutButton:"Logout"},"zh-hk":{logoutButton:"登出"},fr:{logoutButton:"Déconnexion"},tr:{logoutButton:"Çıkış Yap"},ro:{logoutButton:"Iesire"},es:{logoutButton:"Cerrar sesión"},pt:{logoutButton:"Sair"},hr:{logoutButton:"Odjava"},"pt-br":{logoutButton:"Fechar Sessão"},"es-mx":{logoutButton:"Cerrar sesión"},"en-us":{logoutButton:"Logout"}};function U(n){t.append_styles(n,"svelte-xtnqa3","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.PlayerAccountMenuItemBox{padding:20px;font-size:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox .PlayerLogoutText{margin-left:20px}.PlayerAccountMenuItemBox svg{fill:var(--emw--pam-typography-color-nav-bg, var(--emw--color-white, #FFFFFF))}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox{height:auto;justify-content:center;position:relative;display:flex;width:unset;padding:0}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox svg{fill:var(--emw--pam-typography-color-nav-bg, var(--emw--color-white, #FFFFFF))}")}function q(n){let e,o,a,i=n[2]("logoutButton")+"",s,u,c;return{c(){e=t.element("div"),o=t.element("button"),a=t.element("span"),s=t.text(i),t.attr(e,"class","GeneralLogout")},m(r,d){t.insert(r,e,d),t.append(e,o),t.append(o,a),t.append(a,s),u||(c=t.listen(o,"click",n[16]),u=!0)},p(r,d){d&4&&i!==(i=r[2]("logoutButton")+"")&&t.set_data(s,i)},d(r){r&&t.detach(e),u=!1,c()}}}function z(n){let e,o,a,i,s,u,c,r,d,b,p,g=!n[3]&&V(n);return{c(){e=t.element("p"),o=t.element("span"),a=t.svg_element("svg"),i=t.svg_element("defs"),s=t.svg_element("style"),u=t.text(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emw--color-white, #FFFFFF);}"),c=t.svg_element("path"),r=t.svg_element("path"),d=t.space(),g&&g.c(),t.attr(c,"class","a88316b4-2478-4a69-b2eb-d32a5fb419dd"),t.attr(c,"d","M147.16,67.69,115.42,36a9.6,9.6,0,1,0-13.58,13.58l15.32,15.31H49.58a9.63,9.63,0,1,0,0,19.26h67.58L101.84,99.42a9.64,9.64,0,0,0,6.79,16.43,9.41,9.41,0,0,0,6.79-2.85l31.74-31.73a9.53,9.53,0,0,0,0-13.58Z"),t.attr(r,"class","a88316b4-2478-4a69-b2eb-d32a5fb419dd"),t.attr(r,"d","M45.16,122.16H19.26V26.79H45.32a9.63,9.63,0,1,0,0-19.26H9.63A9.56,9.56,0,0,0,0,17.16V131.63a9.57,9.57,0,0,0,9.63,9.64H45.32A9.57,9.57,0,0,0,55,131.63a9.78,9.78,0,0,0-9.79-9.47Z"),t.attr(a,"id","bbfaf345-72af-4296-bf4b-2fd41fc03d5d"),t.attr(a,"data-name","Layer 1"),t.attr(a,"xmlns","http://www.w3.org/2000/svg"),t.attr(a,"viewBox","0 0 150 150"),t.set_style(o,"width",n[3]?n[4].matches?"20px":"24px":"20px"),t.attr(e,"class","PlayerAccountMenuItemBox "+(n[3]?"PlayerAccountMenuItemBoxMobile":"")+" "+(n[4].matches&&n[3]?"PlayerAccountMenuItemBoxTablet":""))},m(h,y){t.insert(h,e,y),t.append(e,o),t.append(o,a),t.append(a,i),t.append(i,s),t.append(s,u),t.append(a,c),t.append(a,r),t.append(e,d),g&&g.m(e,null),b||(p=t.listen(e,"click",n[15]),b=!0)},p(h,y){h[3]||g.p(h,y)},d(h){h&&t.detach(e),g&&g.d(),b=!1,p()}}}function V(n){let e,o=n[2]("logoutButton")+"",a;return{c(){e=t.element("span"),a=t.text(o),t.attr(e,"class","PlayerLogoutText")},m(i,s){t.insert(i,e,s),t.append(e,a)},p(i,s){s&4&&o!==(o=i[2]("logoutButton")+"")&&t.set_data(a,o)},d(i){i&&t.detach(e)}}}function Z(n){let e;function o(s,u){return s[0]==="PlayerAccountMenu"?z:q}let a=o(n),i=a(n);return{c(){e=t.element("div"),i.c()},m(s,u){t.insert(s,e,u),i.m(e,null),n[17](e)},p(s,[u]){a===(a=o(s))&&i?i.p(s,u):(i.d(1),i=a(s),i&&(i.c(),i.m(e,null)))},i:t.noop,o:t.noop,d(s){s&&t.detach(e),i.d(),n[17](null)}}}function Q(n,e,o){let a;t.component_subscribe(n,t.$format,l=>o(2,a=l));let{endpoint:i=""}=e,{session:s=""}=e,{buttonlocation:u=""}=e,{lang:c=""}=e,{mbsource:r}=e,{clientstyling:d=""}=e,{clientstylingurl:b=""}=e,{translationurl:p=""}=e,{beforelogouthandshake:g="false"}=e,{beforelogoutmaxwait:h="3000"}=e,y="",_=!1,m,A,F=window.navigator.userAgent,P=t.getDevice(F)!=="PC";const S=window.matchMedia("(min-width: 768px)"),E=()=>{fetch(p).then(f=>f.json()).then(f=>{Object.keys(f).forEach(w=>{k(w,f[w])})}).catch(f=>{console.log(f)})};Object.keys(M).forEach(l=>{k(l,M[l])});const I=()=>new Promise(l=>{const f=()=>{clearTimeout(G),window.removeEventListener("message",w),l()},w=N=>{var v;((v=N.data)==null?void 0:v.type)==="BeforeLogoutDone"&&f()},G=setTimeout(f,Number(h)||3e3);window.addEventListener("message",w),window.postMessage({type:"BeforeLogout"},window.location.href)}),x=()=>B(this,null,function*(){g==="true"&&(yield I());let l=new Headers;l.append("Content-type","application/json"),l.append("X-SessionID",s);let f={method:"DELETE",headers:l};fetch(`${i}/v1/player/session/player`,f).then(w=>{window.postMessage({type:"LogoutSuccessfull"},window.location.href),D("logged_out",{})})}),T=()=>(i||(y="GENERAL-LOGOUT - Endpoint is missing! Please provide a valid endpointURL.",_=!0,console.error(y)),s||(y="GENERAL-LOGOUT - Session is missing! Please provide a valid session.",_=!0,console.error(y)),_),C=()=>{R(c)};t.onMount(()=>()=>{});const O=()=>x(),H=()=>x();function j(l){t.binding_callbacks[l?"unshift":"push"](()=>{m=l,o(1,m)})}return n.$$set=l=>{"endpoint"in l&&o(6,i=l.endpoint),"session"in l&&o(7,s=l.session),"buttonlocation"in l&&o(0,u=l.buttonlocation),"lang"in l&&o(8,c=l.lang),"mbsource"in l&&o(9,r=l.mbsource),"clientstyling"in l&&o(10,d=l.clientstyling),"clientstylingurl"in l&&o(11,b=l.clientstylingurl),"translationurl"in l&&o(12,p=l.translationurl),"beforelogouthandshake"in l&&o(13,g=l.beforelogouthandshake),"beforelogoutmaxwait"in l&&o(14,h=l.beforelogoutmaxwait)},n.$$.update=()=>{n.$$.dirty&193&&i&&s&&u&&T(),n.$$.dirty&256&&c&&C(),n.$$.dirty&1026&&d&&m&&t.setClientStyling(),n.$$.dirty&1026&&d&&m&&t.setClientStyling(m,d),n.$$.dirty&2050&&b&&m&&t.setClientStylingURL(m,b),n.$$.dirty&514&&r&&m&&t.setStreamStyling(m,`${r}.Style`,A),n.$$.dirty&4096&&p&&E()},[u,m,a,P,S,x,i,s,c,r,d,b,p,g,h,O,H,j]}class L extends t.SvelteComponent{constructor(e){super(),t.init(this,e,Q,Z,t.safe_not_equal,{endpoint:6,session:7,buttonlocation:0,lang:8,mbsource:9,clientstyling:10,clientstylingurl:11,translationurl:12,beforelogouthandshake:13,beforelogoutmaxwait:14},U)}get endpoint(){return this.$$.ctx[6]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get session(){return this.$$.ctx[7]}set session(e){this.$$set({session:e}),t.flush()}get buttonlocation(){return this.$$.ctx[0]}set buttonlocation(e){this.$$set({buttonlocation:e}),t.flush()}get lang(){return this.$$.ctx[8]}set lang(e){this.$$set({lang:e}),t.flush()}get mbsource(){return this.$$.ctx[9]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get translationurl(){return this.$$.ctx[12]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get beforelogouthandshake(){return this.$$.ctx[13]}set beforelogouthandshake(e){this.$$set({beforelogouthandshake:e}),t.flush()}get beforelogoutmaxwait(){return this.$$.ctx[14]}set beforelogoutmaxwait(e){this.$$set({beforelogoutmaxwait:e}),t.flush()}}t.create_custom_element(L,{endpoint:{},session:{},buttonlocation:{},lang:{},mbsource:{},clientstyling:{},clientstylingurl:{},translationurl:{},beforelogouthandshake:{},beforelogoutmaxwait:{}},[],[],!0);exports.default=L;
|
|
@@ -0,0 +1,341 @@
|
|
|
1
|
+
var E = (e, t, n) => new Promise((l, s) => {
|
|
2
|
+
var i = (a) => {
|
|
3
|
+
try {
|
|
4
|
+
u(n.next(a));
|
|
5
|
+
} catch (c) {
|
|
6
|
+
s(c);
|
|
7
|
+
}
|
|
8
|
+
}, r = (a) => {
|
|
9
|
+
try {
|
|
10
|
+
u(n.throw(a));
|
|
11
|
+
} catch (c) {
|
|
12
|
+
s(c);
|
|
13
|
+
}
|
|
14
|
+
}, u = (a) => a.done ? l(a.value) : Promise.resolve(a.value).then(i, r);
|
|
15
|
+
u((n = n.apply(e, t)).next());
|
|
16
|
+
});
|
|
17
|
+
import { a as J, $ as K, S as W, i as $, s as tt, f as y, b as et, n as S, d as k, c as L, e as _, g as nt, h as ot, o as st, j as it, k as g, l as H, m as B, t as F, p as lt, q as h, r as at, u as O, v as I, w as rt, x as ut, y as ct, z as gt } from "./PlayerAccountMenu-DvEcQcuU.js";
|
|
18
|
+
const dt = (e, t = {}) => {
|
|
19
|
+
const n = new CustomEvent("track-custom-event", {
|
|
20
|
+
detail: {
|
|
21
|
+
type: e,
|
|
22
|
+
data: t
|
|
23
|
+
},
|
|
24
|
+
bubbles: !0,
|
|
25
|
+
composed: !0
|
|
26
|
+
});
|
|
27
|
+
document.dispatchEvent(n);
|
|
28
|
+
};
|
|
29
|
+
function T(e, t) {
|
|
30
|
+
J(e, t);
|
|
31
|
+
}
|
|
32
|
+
function ft(e) {
|
|
33
|
+
K.set(e);
|
|
34
|
+
}
|
|
35
|
+
const C = {
|
|
36
|
+
en: {
|
|
37
|
+
logoutButton: "Logout"
|
|
38
|
+
},
|
|
39
|
+
"zh-hk": {
|
|
40
|
+
logoutButton: "登出"
|
|
41
|
+
},
|
|
42
|
+
fr: {
|
|
43
|
+
logoutButton: "Déconnexion"
|
|
44
|
+
},
|
|
45
|
+
tr: {
|
|
46
|
+
logoutButton: "Çıkış Yap"
|
|
47
|
+
},
|
|
48
|
+
ro: {
|
|
49
|
+
logoutButton: "Iesire"
|
|
50
|
+
},
|
|
51
|
+
es: {
|
|
52
|
+
logoutButton: "Cerrar sesión"
|
|
53
|
+
},
|
|
54
|
+
pt: {
|
|
55
|
+
logoutButton: "Sair"
|
|
56
|
+
},
|
|
57
|
+
hr: {
|
|
58
|
+
logoutButton: "Odjava"
|
|
59
|
+
},
|
|
60
|
+
"pt-br": {
|
|
61
|
+
logoutButton: "Fechar Sessão"
|
|
62
|
+
},
|
|
63
|
+
"es-mx": {
|
|
64
|
+
logoutButton: "Cerrar sesión"
|
|
65
|
+
},
|
|
66
|
+
"en-us": {
|
|
67
|
+
logoutButton: "Logout"
|
|
68
|
+
}
|
|
69
|
+
};
|
|
70
|
+
function ht(e) {
|
|
71
|
+
et(e, "svelte-xtnqa3", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.PlayerAccountMenuItemBox{padding:20px;font-size:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox .PlayerLogoutText{margin-left:20px}.PlayerAccountMenuItemBox svg{fill:var(--emw--pam-typography-color-nav-bg, var(--emw--color-white, #FFFFFF))}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox{height:auto;justify-content:center;position:relative;display:flex;width:unset;padding:0}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox svg{fill:var(--emw--pam-typography-color-nav-bg, var(--emw--color-white, #FFFFFF))}");
|
|
72
|
+
}
|
|
73
|
+
function bt(e) {
|
|
74
|
+
let t, n, l, s = (
|
|
75
|
+
/*$_*/
|
|
76
|
+
e[2]("logoutButton") + ""
|
|
77
|
+
), i, r, u;
|
|
78
|
+
return {
|
|
79
|
+
c() {
|
|
80
|
+
t = _("div"), n = _("button"), l = _("span"), i = F(s), h(t, "class", "GeneralLogout");
|
|
81
|
+
},
|
|
82
|
+
m(a, c) {
|
|
83
|
+
L(a, t, c), g(t, n), g(n, l), g(l, i), r || (u = H(
|
|
84
|
+
n,
|
|
85
|
+
"click",
|
|
86
|
+
/*click_handler_1*/
|
|
87
|
+
e[16]
|
|
88
|
+
), r = !0);
|
|
89
|
+
},
|
|
90
|
+
p(a, c) {
|
|
91
|
+
c & /*$_*/
|
|
92
|
+
4 && s !== (s = /*$_*/
|
|
93
|
+
a[2]("logoutButton") + "") && O(i, s);
|
|
94
|
+
},
|
|
95
|
+
d(a) {
|
|
96
|
+
a && k(t), r = !1, u();
|
|
97
|
+
}
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
function mt(e) {
|
|
101
|
+
let t, n, l, s, i, r, u, a, c, w, p, d = !/*isMobile*/
|
|
102
|
+
e[3] && yt(e);
|
|
103
|
+
return {
|
|
104
|
+
c() {
|
|
105
|
+
t = _("p"), n = _("span"), l = B("svg"), s = B("defs"), i = B("style"), r = F(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emw--color-white, #FFFFFF);}"), u = B("path"), a = B("path"), c = lt(), d && d.c(), h(u, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), h(u, "d", "M147.16,67.69,115.42,36a9.6,9.6,0,1,0-13.58,13.58l15.32,15.31H49.58a9.63,9.63,0,1,0,0,19.26h67.58L101.84,99.42a9.64,9.64,0,0,0,6.79,16.43,9.41,9.41,0,0,0,6.79-2.85l31.74-31.73a9.53,9.53,0,0,0,0-13.58Z"), h(a, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), h(a, "d", "M45.16,122.16H19.26V26.79H45.32a9.63,9.63,0,1,0,0-19.26H9.63A9.56,9.56,0,0,0,0,17.16V131.63a9.57,9.57,0,0,0,9.63,9.64H45.32A9.57,9.57,0,0,0,55,131.63a9.78,9.78,0,0,0-9.79-9.47Z"), h(l, "id", "bbfaf345-72af-4296-bf4b-2fd41fc03d5d"), h(l, "data-name", "Layer 1"), h(l, "xmlns", "http://www.w3.org/2000/svg"), h(l, "viewBox", "0 0 150 150"), at(n, "width", /*isMobile*/
|
|
106
|
+
e[3] ? (
|
|
107
|
+
/*mediaQuery*/
|
|
108
|
+
e[4].matches ? "20px" : "24px"
|
|
109
|
+
) : "20px"), h(t, "class", "PlayerAccountMenuItemBox " + /*isMobile*/
|
|
110
|
+
(e[3] ? "PlayerAccountMenuItemBoxMobile" : "") + " " + /*mediaQuery*/
|
|
111
|
+
(e[4].matches && /*isMobile*/
|
|
112
|
+
e[3] ? "PlayerAccountMenuItemBoxTablet" : ""));
|
|
113
|
+
},
|
|
114
|
+
m(b, x) {
|
|
115
|
+
L(b, t, x), g(t, n), g(n, l), g(l, s), g(s, i), g(i, r), g(l, u), g(l, a), g(t, c), d && d.m(t, null), w || (p = H(
|
|
116
|
+
t,
|
|
117
|
+
"click",
|
|
118
|
+
/*click_handler*/
|
|
119
|
+
e[15]
|
|
120
|
+
), w = !0);
|
|
121
|
+
},
|
|
122
|
+
p(b, x) {
|
|
123
|
+
/*isMobile*/
|
|
124
|
+
b[3] || d.p(b, x);
|
|
125
|
+
},
|
|
126
|
+
d(b) {
|
|
127
|
+
b && k(t), d && d.d(), w = !1, p();
|
|
128
|
+
}
|
|
129
|
+
};
|
|
130
|
+
}
|
|
131
|
+
function yt(e) {
|
|
132
|
+
let t, n = (
|
|
133
|
+
/*$_*/
|
|
134
|
+
e[2]("logoutButton") + ""
|
|
135
|
+
), l;
|
|
136
|
+
return {
|
|
137
|
+
c() {
|
|
138
|
+
t = _("span"), l = F(n), h(t, "class", "PlayerLogoutText");
|
|
139
|
+
},
|
|
140
|
+
m(s, i) {
|
|
141
|
+
L(s, t, i), g(t, l);
|
|
142
|
+
},
|
|
143
|
+
p(s, i) {
|
|
144
|
+
i & /*$_*/
|
|
145
|
+
4 && n !== (n = /*$_*/
|
|
146
|
+
s[2]("logoutButton") + "") && O(l, n);
|
|
147
|
+
},
|
|
148
|
+
d(s) {
|
|
149
|
+
s && k(t);
|
|
150
|
+
}
|
|
151
|
+
};
|
|
152
|
+
}
|
|
153
|
+
function wt(e) {
|
|
154
|
+
let t;
|
|
155
|
+
function n(i, r) {
|
|
156
|
+
return (
|
|
157
|
+
/*buttonlocation*/
|
|
158
|
+
i[0] === "PlayerAccountMenu" ? mt : bt
|
|
159
|
+
);
|
|
160
|
+
}
|
|
161
|
+
let l = n(e), s = l(e);
|
|
162
|
+
return {
|
|
163
|
+
c() {
|
|
164
|
+
t = _("div"), s.c();
|
|
165
|
+
},
|
|
166
|
+
m(i, r) {
|
|
167
|
+
L(i, t, r), s.m(t, null), e[17](t);
|
|
168
|
+
},
|
|
169
|
+
p(i, [r]) {
|
|
170
|
+
l === (l = n(i)) && s ? s.p(i, r) : (s.d(1), s = l(i), s && (s.c(), s.m(t, null)));
|
|
171
|
+
},
|
|
172
|
+
i: S,
|
|
173
|
+
o: S,
|
|
174
|
+
d(i) {
|
|
175
|
+
i && k(t), s.d(), e[17](null);
|
|
176
|
+
}
|
|
177
|
+
};
|
|
178
|
+
}
|
|
179
|
+
function xt(e, t, n) {
|
|
180
|
+
let l;
|
|
181
|
+
nt(e, gt, (o) => n(2, l = o));
|
|
182
|
+
let { endpoint: s = "" } = t, { session: i = "" } = t, { buttonlocation: r = "" } = t, { lang: u = "" } = t, { mbsource: a } = t, { clientstyling: c = "" } = t, { clientstylingurl: w = "" } = t, { translationurl: p = "" } = t, { beforelogouthandshake: d = "false" } = t, { beforelogoutmaxwait: b = "3000" } = t, x = "", M = !1, m, j, G = window.navigator.userAgent, N = ot(G) !== "PC";
|
|
183
|
+
const z = window.matchMedia("(min-width: 768px)"), D = () => {
|
|
184
|
+
fetch(p).then((f) => f.json()).then((f) => {
|
|
185
|
+
Object.keys(f).forEach((v) => {
|
|
186
|
+
T(v, f[v]);
|
|
187
|
+
});
|
|
188
|
+
}).catch((f) => {
|
|
189
|
+
console.log(f);
|
|
190
|
+
});
|
|
191
|
+
};
|
|
192
|
+
Object.keys(C).forEach((o) => {
|
|
193
|
+
T(o, C[o]);
|
|
194
|
+
});
|
|
195
|
+
const R = () => new Promise((o) => {
|
|
196
|
+
const f = () => {
|
|
197
|
+
clearTimeout(X), window.removeEventListener("message", v), o();
|
|
198
|
+
}, v = (Y) => {
|
|
199
|
+
var P;
|
|
200
|
+
((P = Y.data) == null ? void 0 : P.type) === "BeforeLogoutDone" && f();
|
|
201
|
+
}, X = setTimeout(f, Number(b) || 3e3);
|
|
202
|
+
window.addEventListener("message", v), window.postMessage({ type: "BeforeLogout" }, window.location.href);
|
|
203
|
+
}), A = () => E(this, null, function* () {
|
|
204
|
+
d === "true" && (yield R());
|
|
205
|
+
let o = new Headers();
|
|
206
|
+
o.append("Content-type", "application/json"), o.append("X-SessionID", i);
|
|
207
|
+
let f = { method: "DELETE", headers: o };
|
|
208
|
+
fetch(`${s}/v1/player/session/player`, f).then((v) => {
|
|
209
|
+
window.postMessage({ type: "LogoutSuccessfull" }, window.location.href), dt("logged_out", {});
|
|
210
|
+
});
|
|
211
|
+
}), U = () => (s || (x = "GENERAL-LOGOUT - Endpoint is missing! Please provide a valid endpointURL.", M = !0, console.error(x)), i || (x = "GENERAL-LOGOUT - Session is missing! Please provide a valid session.", M = !0, console.error(x)), M), q = () => {
|
|
212
|
+
ft(u);
|
|
213
|
+
};
|
|
214
|
+
st(() => () => {
|
|
215
|
+
});
|
|
216
|
+
const V = () => A(), Z = () => A();
|
|
217
|
+
function Q(o) {
|
|
218
|
+
it[o ? "unshift" : "push"](() => {
|
|
219
|
+
m = o, n(1, m);
|
|
220
|
+
});
|
|
221
|
+
}
|
|
222
|
+
return e.$$set = (o) => {
|
|
223
|
+
"endpoint" in o && n(6, s = o.endpoint), "session" in o && n(7, i = o.session), "buttonlocation" in o && n(0, r = o.buttonlocation), "lang" in o && n(8, u = o.lang), "mbsource" in o && n(9, a = o.mbsource), "clientstyling" in o && n(10, c = o.clientstyling), "clientstylingurl" in o && n(11, w = o.clientstylingurl), "translationurl" in o && n(12, p = o.translationurl), "beforelogouthandshake" in o && n(13, d = o.beforelogouthandshake), "beforelogoutmaxwait" in o && n(14, b = o.beforelogoutmaxwait);
|
|
224
|
+
}, e.$$.update = () => {
|
|
225
|
+
e.$$.dirty & /*endpoint, session, buttonlocation*/
|
|
226
|
+
193 && s && i && r && U(), e.$$.dirty & /*lang*/
|
|
227
|
+
256 && u && q(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
228
|
+
1026 && c && m && I(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
229
|
+
1026 && c && m && I(m, c), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
230
|
+
2050 && w && m && rt(m, w), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
231
|
+
514 && a && m && ut(m, `${a}.Style`, j), e.$$.dirty & /*translationurl*/
|
|
232
|
+
4096 && p && D();
|
|
233
|
+
}, [
|
|
234
|
+
r,
|
|
235
|
+
m,
|
|
236
|
+
l,
|
|
237
|
+
N,
|
|
238
|
+
z,
|
|
239
|
+
A,
|
|
240
|
+
s,
|
|
241
|
+
i,
|
|
242
|
+
u,
|
|
243
|
+
a,
|
|
244
|
+
c,
|
|
245
|
+
w,
|
|
246
|
+
p,
|
|
247
|
+
d,
|
|
248
|
+
b,
|
|
249
|
+
V,
|
|
250
|
+
Z,
|
|
251
|
+
Q
|
|
252
|
+
];
|
|
253
|
+
}
|
|
254
|
+
class pt extends W {
|
|
255
|
+
constructor(t) {
|
|
256
|
+
super(), $(
|
|
257
|
+
this,
|
|
258
|
+
t,
|
|
259
|
+
xt,
|
|
260
|
+
wt,
|
|
261
|
+
tt,
|
|
262
|
+
{
|
|
263
|
+
endpoint: 6,
|
|
264
|
+
session: 7,
|
|
265
|
+
buttonlocation: 0,
|
|
266
|
+
lang: 8,
|
|
267
|
+
mbsource: 9,
|
|
268
|
+
clientstyling: 10,
|
|
269
|
+
clientstylingurl: 11,
|
|
270
|
+
translationurl: 12,
|
|
271
|
+
beforelogouthandshake: 13,
|
|
272
|
+
beforelogoutmaxwait: 14
|
|
273
|
+
},
|
|
274
|
+
ht
|
|
275
|
+
);
|
|
276
|
+
}
|
|
277
|
+
get endpoint() {
|
|
278
|
+
return this.$$.ctx[6];
|
|
279
|
+
}
|
|
280
|
+
set endpoint(t) {
|
|
281
|
+
this.$$set({ endpoint: t }), y();
|
|
282
|
+
}
|
|
283
|
+
get session() {
|
|
284
|
+
return this.$$.ctx[7];
|
|
285
|
+
}
|
|
286
|
+
set session(t) {
|
|
287
|
+
this.$$set({ session: t }), y();
|
|
288
|
+
}
|
|
289
|
+
get buttonlocation() {
|
|
290
|
+
return this.$$.ctx[0];
|
|
291
|
+
}
|
|
292
|
+
set buttonlocation(t) {
|
|
293
|
+
this.$$set({ buttonlocation: t }), y();
|
|
294
|
+
}
|
|
295
|
+
get lang() {
|
|
296
|
+
return this.$$.ctx[8];
|
|
297
|
+
}
|
|
298
|
+
set lang(t) {
|
|
299
|
+
this.$$set({ lang: t }), y();
|
|
300
|
+
}
|
|
301
|
+
get mbsource() {
|
|
302
|
+
return this.$$.ctx[9];
|
|
303
|
+
}
|
|
304
|
+
set mbsource(t) {
|
|
305
|
+
this.$$set({ mbsource: t }), y();
|
|
306
|
+
}
|
|
307
|
+
get clientstyling() {
|
|
308
|
+
return this.$$.ctx[10];
|
|
309
|
+
}
|
|
310
|
+
set clientstyling(t) {
|
|
311
|
+
this.$$set({ clientstyling: t }), y();
|
|
312
|
+
}
|
|
313
|
+
get clientstylingurl() {
|
|
314
|
+
return this.$$.ctx[11];
|
|
315
|
+
}
|
|
316
|
+
set clientstylingurl(t) {
|
|
317
|
+
this.$$set({ clientstylingurl: t }), y();
|
|
318
|
+
}
|
|
319
|
+
get translationurl() {
|
|
320
|
+
return this.$$.ctx[12];
|
|
321
|
+
}
|
|
322
|
+
set translationurl(t) {
|
|
323
|
+
this.$$set({ translationurl: t }), y();
|
|
324
|
+
}
|
|
325
|
+
get beforelogouthandshake() {
|
|
326
|
+
return this.$$.ctx[13];
|
|
327
|
+
}
|
|
328
|
+
set beforelogouthandshake(t) {
|
|
329
|
+
this.$$set({ beforelogouthandshake: t }), y();
|
|
330
|
+
}
|
|
331
|
+
get beforelogoutmaxwait() {
|
|
332
|
+
return this.$$.ctx[14];
|
|
333
|
+
}
|
|
334
|
+
set beforelogoutmaxwait(t) {
|
|
335
|
+
this.$$set({ beforelogoutmaxwait: t }), y();
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
ct(pt, { endpoint: {}, session: {}, buttonlocation: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, beforelogouthandshake: {}, beforelogoutmaxwait: {} }, [], [], !0);
|
|
339
|
+
export {
|
|
340
|
+
pt as default
|
|
341
|
+
};
|
|
@@ -0,0 +1,324 @@
|
|
|
1
|
+
import { a as X, $ as Y, S as J, i as K, f as y, s as W, c as $, b as tt, n as P, d as k, e as L, g as _, h as et, j as nt, o as ot, k as st, l as g, m as T, p as B, t as F, q as it, r as h, u as lt, v as C, w as at, x as E, y as rt, z as ut } from "./PlayerAccountMenu-CfqhmKxY.js";
|
|
2
|
+
const ct = (e, t = {}) => {
|
|
3
|
+
const o = new CustomEvent("track-custom-event", {
|
|
4
|
+
detail: {
|
|
5
|
+
type: e,
|
|
6
|
+
data: t
|
|
7
|
+
},
|
|
8
|
+
bubbles: !0,
|
|
9
|
+
composed: !0
|
|
10
|
+
});
|
|
11
|
+
document.dispatchEvent(o);
|
|
12
|
+
};
|
|
13
|
+
function S(e, t) {
|
|
14
|
+
X(e, t);
|
|
15
|
+
}
|
|
16
|
+
function gt(e) {
|
|
17
|
+
Y.set(e);
|
|
18
|
+
}
|
|
19
|
+
const I = {
|
|
20
|
+
en: {
|
|
21
|
+
logoutButton: "Logout"
|
|
22
|
+
},
|
|
23
|
+
"zh-hk": {
|
|
24
|
+
logoutButton: "登出"
|
|
25
|
+
},
|
|
26
|
+
fr: {
|
|
27
|
+
logoutButton: "Déconnexion"
|
|
28
|
+
},
|
|
29
|
+
tr: {
|
|
30
|
+
logoutButton: "Çıkış Yap"
|
|
31
|
+
},
|
|
32
|
+
ro: {
|
|
33
|
+
logoutButton: "Iesire"
|
|
34
|
+
},
|
|
35
|
+
es: {
|
|
36
|
+
logoutButton: "Cerrar sesión"
|
|
37
|
+
},
|
|
38
|
+
pt: {
|
|
39
|
+
logoutButton: "Sair"
|
|
40
|
+
},
|
|
41
|
+
hr: {
|
|
42
|
+
logoutButton: "Odjava"
|
|
43
|
+
},
|
|
44
|
+
"pt-br": {
|
|
45
|
+
logoutButton: "Fechar Sessão"
|
|
46
|
+
},
|
|
47
|
+
"es-mx": {
|
|
48
|
+
logoutButton: "Cerrar sesión"
|
|
49
|
+
},
|
|
50
|
+
"en-us": {
|
|
51
|
+
logoutButton: "Logout"
|
|
52
|
+
}
|
|
53
|
+
};
|
|
54
|
+
function dt(e) {
|
|
55
|
+
tt(e, "svelte-xtnqa3", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.PlayerAccountMenuItemBox{padding:20px;font-size:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox .PlayerLogoutText{margin-left:20px}.PlayerAccountMenuItemBox svg{fill:var(--emw--pam-typography-color-nav-bg, var(--emw--color-white, #FFFFFF))}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox{height:auto;justify-content:center;position:relative;display:flex;width:unset;padding:0}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox svg{fill:var(--emw--pam-typography-color-nav-bg, var(--emw--color-white, #FFFFFF))}");
|
|
56
|
+
}
|
|
57
|
+
function ft(e) {
|
|
58
|
+
let t, o, l, s = (
|
|
59
|
+
/*$_*/
|
|
60
|
+
e[2]("logoutButton") + ""
|
|
61
|
+
), i, a, u;
|
|
62
|
+
return {
|
|
63
|
+
c() {
|
|
64
|
+
t = _("div"), o = _("button"), l = _("span"), i = F(s), h(t, "class", "GeneralLogout");
|
|
65
|
+
},
|
|
66
|
+
m(r, c) {
|
|
67
|
+
L(r, t, c), g(t, o), g(o, l), g(l, i), a || (u = T(
|
|
68
|
+
o,
|
|
69
|
+
"click",
|
|
70
|
+
/*click_handler_1*/
|
|
71
|
+
e[16]
|
|
72
|
+
), a = !0);
|
|
73
|
+
},
|
|
74
|
+
p(r, c) {
|
|
75
|
+
c & /*$_*/
|
|
76
|
+
4 && s !== (s = /*$_*/
|
|
77
|
+
r[2]("logoutButton") + "") && C(i, s);
|
|
78
|
+
},
|
|
79
|
+
d(r) {
|
|
80
|
+
r && k(t), a = !1, u();
|
|
81
|
+
}
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
function ht(e) {
|
|
85
|
+
let t, o, l, s, i, a, u, r, c, w, p, d = !/*isMobile*/
|
|
86
|
+
e[3] && bt(e);
|
|
87
|
+
return {
|
|
88
|
+
c() {
|
|
89
|
+
t = _("p"), o = _("span"), l = B("svg"), s = B("defs"), i = B("style"), a = F(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emw--color-white, #FFFFFF);}"), u = B("path"), r = B("path"), c = it(), d && d.c(), h(u, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), h(u, "d", "M147.16,67.69,115.42,36a9.6,9.6,0,1,0-13.58,13.58l15.32,15.31H49.58a9.63,9.63,0,1,0,0,19.26h67.58L101.84,99.42a9.64,9.64,0,0,0,6.79,16.43,9.41,9.41,0,0,0,6.79-2.85l31.74-31.73a9.53,9.53,0,0,0,0-13.58Z"), h(r, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), h(r, "d", "M45.16,122.16H19.26V26.79H45.32a9.63,9.63,0,1,0,0-19.26H9.63A9.56,9.56,0,0,0,0,17.16V131.63a9.57,9.57,0,0,0,9.63,9.64H45.32A9.57,9.57,0,0,0,55,131.63a9.78,9.78,0,0,0-9.79-9.47Z"), h(l, "id", "bbfaf345-72af-4296-bf4b-2fd41fc03d5d"), h(l, "data-name", "Layer 1"), h(l, "xmlns", "http://www.w3.org/2000/svg"), h(l, "viewBox", "0 0 150 150"), lt(o, "width", /*isMobile*/
|
|
90
|
+
e[3] ? (
|
|
91
|
+
/*mediaQuery*/
|
|
92
|
+
e[4].matches ? "20px" : "24px"
|
|
93
|
+
) : "20px"), h(t, "class", "PlayerAccountMenuItemBox " + /*isMobile*/
|
|
94
|
+
(e[3] ? "PlayerAccountMenuItemBoxMobile" : "") + " " + /*mediaQuery*/
|
|
95
|
+
(e[4].matches && /*isMobile*/
|
|
96
|
+
e[3] ? "PlayerAccountMenuItemBoxTablet" : ""));
|
|
97
|
+
},
|
|
98
|
+
m(b, x) {
|
|
99
|
+
L(b, t, x), g(t, o), g(o, l), g(l, s), g(s, i), g(i, a), g(l, u), g(l, r), g(t, c), d && d.m(t, null), w || (p = T(
|
|
100
|
+
t,
|
|
101
|
+
"click",
|
|
102
|
+
/*click_handler*/
|
|
103
|
+
e[15]
|
|
104
|
+
), w = !0);
|
|
105
|
+
},
|
|
106
|
+
p(b, x) {
|
|
107
|
+
/*isMobile*/
|
|
108
|
+
b[3] || d.p(b, x);
|
|
109
|
+
},
|
|
110
|
+
d(b) {
|
|
111
|
+
b && k(t), d && d.d(), w = !1, p();
|
|
112
|
+
}
|
|
113
|
+
};
|
|
114
|
+
}
|
|
115
|
+
function bt(e) {
|
|
116
|
+
let t, o = (
|
|
117
|
+
/*$_*/
|
|
118
|
+
e[2]("logoutButton") + ""
|
|
119
|
+
), l;
|
|
120
|
+
return {
|
|
121
|
+
c() {
|
|
122
|
+
t = _("span"), l = F(o), h(t, "class", "PlayerLogoutText");
|
|
123
|
+
},
|
|
124
|
+
m(s, i) {
|
|
125
|
+
L(s, t, i), g(t, l);
|
|
126
|
+
},
|
|
127
|
+
p(s, i) {
|
|
128
|
+
i & /*$_*/
|
|
129
|
+
4 && o !== (o = /*$_*/
|
|
130
|
+
s[2]("logoutButton") + "") && C(l, o);
|
|
131
|
+
},
|
|
132
|
+
d(s) {
|
|
133
|
+
s && k(t);
|
|
134
|
+
}
|
|
135
|
+
};
|
|
136
|
+
}
|
|
137
|
+
function mt(e) {
|
|
138
|
+
let t;
|
|
139
|
+
function o(i, a) {
|
|
140
|
+
return (
|
|
141
|
+
/*buttonlocation*/
|
|
142
|
+
i[0] === "PlayerAccountMenu" ? ht : ft
|
|
143
|
+
);
|
|
144
|
+
}
|
|
145
|
+
let l = o(e), s = l(e);
|
|
146
|
+
return {
|
|
147
|
+
c() {
|
|
148
|
+
t = _("div"), s.c();
|
|
149
|
+
},
|
|
150
|
+
m(i, a) {
|
|
151
|
+
L(i, t, a), s.m(t, null), e[17](t);
|
|
152
|
+
},
|
|
153
|
+
p(i, [a]) {
|
|
154
|
+
l === (l = o(i)) && s ? s.p(i, a) : (s.d(1), s = l(i), s && (s.c(), s.m(t, null)));
|
|
155
|
+
},
|
|
156
|
+
i: P,
|
|
157
|
+
o: P,
|
|
158
|
+
d(i) {
|
|
159
|
+
i && k(t), s.d(), e[17](null);
|
|
160
|
+
}
|
|
161
|
+
};
|
|
162
|
+
}
|
|
163
|
+
function yt(e, t, o) {
|
|
164
|
+
let l;
|
|
165
|
+
et(e, at, (n) => o(2, l = n));
|
|
166
|
+
let { endpoint: s = "" } = t, { session: i = "" } = t, { buttonlocation: a = "" } = t, { lang: u = "" } = t, { mbsource: r } = t, { clientstyling: c = "" } = t, { clientstylingurl: w = "" } = t, { translationurl: p = "" } = t, { beforelogouthandshake: d = "false" } = t, { beforelogoutmaxwait: b = "3000" } = t, x = "", M = !1, m, H, O = window.navigator.userAgent, j = nt(O) !== "PC";
|
|
167
|
+
const G = window.matchMedia("(min-width: 768px)"), N = () => {
|
|
168
|
+
fetch(p).then((f) => f.json()).then((f) => {
|
|
169
|
+
Object.keys(f).forEach((v) => {
|
|
170
|
+
S(v, f[v]);
|
|
171
|
+
});
|
|
172
|
+
}).catch((f) => {
|
|
173
|
+
console.log(f);
|
|
174
|
+
});
|
|
175
|
+
};
|
|
176
|
+
Object.keys(I).forEach((n) => {
|
|
177
|
+
S(n, I[n]);
|
|
178
|
+
});
|
|
179
|
+
const z = () => new Promise((n) => {
|
|
180
|
+
const f = () => {
|
|
181
|
+
clearTimeout(Z), window.removeEventListener("message", v), n();
|
|
182
|
+
}, v = (Q) => {
|
|
183
|
+
Q.data?.type === "BeforeLogoutDone" && f();
|
|
184
|
+
}, Z = setTimeout(f, Number(b) || 3e3);
|
|
185
|
+
window.addEventListener("message", v), window.postMessage({ type: "BeforeLogout" }, window.location.href);
|
|
186
|
+
}), A = async () => {
|
|
187
|
+
d === "true" && await z();
|
|
188
|
+
let n = new Headers();
|
|
189
|
+
n.append("Content-type", "application/json"), n.append("X-SessionID", i);
|
|
190
|
+
let f = { method: "DELETE", headers: n };
|
|
191
|
+
fetch(`${s}/v1/player/session/player`, f).then((v) => {
|
|
192
|
+
window.postMessage({ type: "LogoutSuccessfull" }, window.location.href), ct("logged_out", {});
|
|
193
|
+
});
|
|
194
|
+
}, D = () => (s || (x = "GENERAL-LOGOUT - Endpoint is missing! Please provide a valid endpointURL.", M = !0, console.error(x)), i || (x = "GENERAL-LOGOUT - Session is missing! Please provide a valid session.", M = !0, console.error(x)), M), R = () => {
|
|
195
|
+
gt(u);
|
|
196
|
+
};
|
|
197
|
+
ot(() => () => {
|
|
198
|
+
});
|
|
199
|
+
const U = () => A(), q = () => A();
|
|
200
|
+
function V(n) {
|
|
201
|
+
st[n ? "unshift" : "push"](() => {
|
|
202
|
+
m = n, o(1, m);
|
|
203
|
+
});
|
|
204
|
+
}
|
|
205
|
+
return e.$$set = (n) => {
|
|
206
|
+
"endpoint" in n && o(6, s = n.endpoint), "session" in n && o(7, i = n.session), "buttonlocation" in n && o(0, a = n.buttonlocation), "lang" in n && o(8, u = n.lang), "mbsource" in n && o(9, r = n.mbsource), "clientstyling" in n && o(10, c = n.clientstyling), "clientstylingurl" in n && o(11, w = n.clientstylingurl), "translationurl" in n && o(12, p = n.translationurl), "beforelogouthandshake" in n && o(13, d = n.beforelogouthandshake), "beforelogoutmaxwait" in n && o(14, b = n.beforelogoutmaxwait);
|
|
207
|
+
}, e.$$.update = () => {
|
|
208
|
+
e.$$.dirty & /*endpoint, session, buttonlocation*/
|
|
209
|
+
193 && s && i && a && D(), e.$$.dirty & /*lang*/
|
|
210
|
+
256 && u && R(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
211
|
+
1026 && c && m && E(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
212
|
+
1026 && c && m && E(m, c), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
213
|
+
2050 && w && m && rt(m, w), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
214
|
+
514 && r && m && ut(m, `${r}.Style`, H), e.$$.dirty & /*translationurl*/
|
|
215
|
+
4096 && p && N();
|
|
216
|
+
}, [
|
|
217
|
+
a,
|
|
218
|
+
m,
|
|
219
|
+
l,
|
|
220
|
+
j,
|
|
221
|
+
G,
|
|
222
|
+
A,
|
|
223
|
+
s,
|
|
224
|
+
i,
|
|
225
|
+
u,
|
|
226
|
+
r,
|
|
227
|
+
c,
|
|
228
|
+
w,
|
|
229
|
+
p,
|
|
230
|
+
d,
|
|
231
|
+
b,
|
|
232
|
+
U,
|
|
233
|
+
q,
|
|
234
|
+
V
|
|
235
|
+
];
|
|
236
|
+
}
|
|
237
|
+
class wt extends J {
|
|
238
|
+
constructor(t) {
|
|
239
|
+
super(), K(
|
|
240
|
+
this,
|
|
241
|
+
t,
|
|
242
|
+
yt,
|
|
243
|
+
mt,
|
|
244
|
+
W,
|
|
245
|
+
{
|
|
246
|
+
endpoint: 6,
|
|
247
|
+
session: 7,
|
|
248
|
+
buttonlocation: 0,
|
|
249
|
+
lang: 8,
|
|
250
|
+
mbsource: 9,
|
|
251
|
+
clientstyling: 10,
|
|
252
|
+
clientstylingurl: 11,
|
|
253
|
+
translationurl: 12,
|
|
254
|
+
beforelogouthandshake: 13,
|
|
255
|
+
beforelogoutmaxwait: 14
|
|
256
|
+
},
|
|
257
|
+
dt
|
|
258
|
+
);
|
|
259
|
+
}
|
|
260
|
+
get endpoint() {
|
|
261
|
+
return this.$$.ctx[6];
|
|
262
|
+
}
|
|
263
|
+
set endpoint(t) {
|
|
264
|
+
this.$$set({ endpoint: t }), y();
|
|
265
|
+
}
|
|
266
|
+
get session() {
|
|
267
|
+
return this.$$.ctx[7];
|
|
268
|
+
}
|
|
269
|
+
set session(t) {
|
|
270
|
+
this.$$set({ session: t }), y();
|
|
271
|
+
}
|
|
272
|
+
get buttonlocation() {
|
|
273
|
+
return this.$$.ctx[0];
|
|
274
|
+
}
|
|
275
|
+
set buttonlocation(t) {
|
|
276
|
+
this.$$set({ buttonlocation: t }), y();
|
|
277
|
+
}
|
|
278
|
+
get lang() {
|
|
279
|
+
return this.$$.ctx[8];
|
|
280
|
+
}
|
|
281
|
+
set lang(t) {
|
|
282
|
+
this.$$set({ lang: t }), y();
|
|
283
|
+
}
|
|
284
|
+
get mbsource() {
|
|
285
|
+
return this.$$.ctx[9];
|
|
286
|
+
}
|
|
287
|
+
set mbsource(t) {
|
|
288
|
+
this.$$set({ mbsource: t }), y();
|
|
289
|
+
}
|
|
290
|
+
get clientstyling() {
|
|
291
|
+
return this.$$.ctx[10];
|
|
292
|
+
}
|
|
293
|
+
set clientstyling(t) {
|
|
294
|
+
this.$$set({ clientstyling: t }), y();
|
|
295
|
+
}
|
|
296
|
+
get clientstylingurl() {
|
|
297
|
+
return this.$$.ctx[11];
|
|
298
|
+
}
|
|
299
|
+
set clientstylingurl(t) {
|
|
300
|
+
this.$$set({ clientstylingurl: t }), y();
|
|
301
|
+
}
|
|
302
|
+
get translationurl() {
|
|
303
|
+
return this.$$.ctx[12];
|
|
304
|
+
}
|
|
305
|
+
set translationurl(t) {
|
|
306
|
+
this.$$set({ translationurl: t }), y();
|
|
307
|
+
}
|
|
308
|
+
get beforelogouthandshake() {
|
|
309
|
+
return this.$$.ctx[13];
|
|
310
|
+
}
|
|
311
|
+
set beforelogouthandshake(t) {
|
|
312
|
+
this.$$set({ beforelogouthandshake: t }), y();
|
|
313
|
+
}
|
|
314
|
+
get beforelogoutmaxwait() {
|
|
315
|
+
return this.$$.ctx[14];
|
|
316
|
+
}
|
|
317
|
+
set beforelogoutmaxwait(t) {
|
|
318
|
+
this.$$set({ beforelogoutmaxwait: t }), y();
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
$(wt, { endpoint: {}, session: {}, buttonlocation: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, beforelogouthandshake: {}, beforelogoutmaxwait: {} }, [], [], !0);
|
|
322
|
+
export {
|
|
323
|
+
wt as default
|
|
324
|
+
};
|