@everymatrix/general-registration 1.56.0 → 1.56.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/checkbox-group-input_13.cjs.entry.js +1324 -1253
- package/dist/cjs/general-registration.cjs.js +3 -3
- package/dist/cjs/{index-f710b430.js → index-4ad59840.js} +78 -215
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/general-registration/general-registration.js +19 -48
- package/dist/esm/checkbox-group-input_13.entry.js +1324 -1253
- package/dist/esm/general-registration.js +4 -4
- package/dist/esm/{index-e30ca6ba.js → index-14f0c56e.js} +78 -215
- package/dist/esm/loader.js +3 -3
- package/dist/general-registration/general-registration.esm.js +1 -1
- package/dist/general-registration/p-290ae59c.entry.js +4478 -0
- package/dist/general-registration/p-59a2915a.js +2 -0
- package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/general-registration/.stencil/packages/stencil/general-registration/stencil.config.d.ts +2 -0
- package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/general-registration/.stencil/packages/stencil/general-registration/stencil.config.dev.d.ts +2 -0
- package/dist/types/stencil-public-runtime.d.ts +0 -6
- package/package.json +1 -1
- package/dist/general-registration/p-0d63ba5e.js +0 -2
- package/dist/general-registration/p-5f37e4ba.entry.js +0 -4466
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/general-registration/.stencil/packages/stencil/general-registration/stencil.config.d.ts +0 -2
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/general-registration/.stencil/packages/stencil/general-registration/stencil.config.dev.d.ts +0 -2
- /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/general-registration/.stencil/packages/stencil/general-input/src/utils/types.d.ts +0 -0
- /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/general-registration/.stencil/tools/plugins/index.d.ts +0 -0
- /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/general-registration/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +0 -0
- /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/general-registration/.stencil/tools/plugins/vite-chunk-plugin.d.ts +0 -0
- /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/general-registration/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h as h$3, g as getElement, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h as h$3, g as getElement, H as Host } from './index-14f0c56e.js';
|
|
2
2
|
|
|
3
3
|
const DEFAULT_LANGUAGE$1 = 'en';
|
|
4
4
|
const TRANSLATIONS$1 = {
|
|
@@ -157,55 +157,13 @@ const tooltipIconSvg = 'data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD
|
|
|
157
157
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
158
158
|
*/
|
|
159
159
|
|
|
160
|
-
|
|
161
|
-
window.Vaadin.featureFlags ||= {};
|
|
162
|
-
|
|
163
|
-
function dashToCamelCase$1(dash) {
|
|
164
|
-
return dash.replace(/-[a-z]/gu, (m) => m[1].toUpperCase());
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
const experimentalMap = {};
|
|
168
|
-
|
|
169
|
-
function defineCustomElement(CustomElement, version = '24.6.5') {
|
|
160
|
+
function defineCustomElement(CustomElement, version = '24.5.10') {
|
|
170
161
|
Object.defineProperty(CustomElement, 'version', {
|
|
171
162
|
get() {
|
|
172
163
|
return version;
|
|
173
164
|
},
|
|
174
165
|
});
|
|
175
166
|
|
|
176
|
-
if (CustomElement.experimental) {
|
|
177
|
-
const featureFlagKey =
|
|
178
|
-
typeof CustomElement.experimental === 'string'
|
|
179
|
-
? CustomElement.experimental
|
|
180
|
-
: `${dashToCamelCase$1(CustomElement.is.split('-').slice(1).join('-'))}Component`;
|
|
181
|
-
|
|
182
|
-
if (!window.Vaadin.featureFlags[featureFlagKey] && !experimentalMap[featureFlagKey]) {
|
|
183
|
-
// Add setter to define experimental component when it's set to true
|
|
184
|
-
experimentalMap[featureFlagKey] = new Set();
|
|
185
|
-
experimentalMap[featureFlagKey].add(CustomElement);
|
|
186
|
-
|
|
187
|
-
Object.defineProperty(window.Vaadin.featureFlags, featureFlagKey, {
|
|
188
|
-
get() {
|
|
189
|
-
return experimentalMap[featureFlagKey].size === 0;
|
|
190
|
-
},
|
|
191
|
-
set(value) {
|
|
192
|
-
if (!!value && experimentalMap[featureFlagKey].size > 0) {
|
|
193
|
-
experimentalMap[featureFlagKey].forEach((elementClass) => {
|
|
194
|
-
customElements.define(elementClass.is, elementClass);
|
|
195
|
-
});
|
|
196
|
-
experimentalMap[featureFlagKey].clear();
|
|
197
|
-
}
|
|
198
|
-
},
|
|
199
|
-
});
|
|
200
|
-
|
|
201
|
-
return;
|
|
202
|
-
} else if (experimentalMap[featureFlagKey]) {
|
|
203
|
-
// Allow to register multiple components with single flag
|
|
204
|
-
experimentalMap[featureFlagKey].add(CustomElement);
|
|
205
|
-
return;
|
|
206
|
-
}
|
|
207
|
-
}
|
|
208
|
-
|
|
209
167
|
const defined = customElements.get(CustomElement.is);
|
|
210
168
|
if (!defined) {
|
|
211
169
|
customElements.define(CustomElement.is, CustomElement);
|
|
@@ -260,7 +218,7 @@ const t$1=globalThis,e$2=t$1.ShadowRoot&&(void 0===t$1.ShadyCSS||t$1.ShadyCSS.na
|
|
|
260
218
|
* Copyright 2017 Google LLC
|
|
261
219
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
262
220
|
*/
|
|
263
|
-
const t=globalThis,i$1=t.trustedTypes,s=i$1?i$1.createPolicy("lit-html",{createHTML:t=>t}):void 0,e="$lit$",h$1=`lit$${Math.random().toFixed(9).slice(2)}$`,o="?"+h$1,n=`<${o}>`,r$2=document,l=()=>r$2.createComment(""),c=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a$1=Array.isArray,u=t=>a$1(t)||"function"==typeof t?.[Symbol.iterator],d$1="[ \t\n\f\r]",f=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v$1=/-->/g,_$1=/>/g,m$1=RegExp(`>|${d$1}(?:([^\\s"'>=/]+)(${d$1}*=${d$1}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),p$1=/'/g,g$1=/"/g,$$
|
|
221
|
+
const t=globalThis,i$1=t.trustedTypes,s=i$1?i$1.createPolicy("lit-html",{createHTML:t=>t}):void 0,e="$lit$",h$1=`lit$${Math.random().toFixed(9).slice(2)}$`,o="?"+h$1,n=`<${o}>`,r$2=document,l=()=>r$2.createComment(""),c=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a$1=Array.isArray,u=t=>a$1(t)||"function"==typeof t?.[Symbol.iterator],d$1="[ \t\n\f\r]",f=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v$1=/-->/g,_$1=/>/g,m$1=RegExp(`>|${d$1}(?:([^\\s"'>=/]+)(${d$1}*=${d$1}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),p$1=/'/g,g$1=/"/g,$$1=/^(?:script|style|textarea|title)$/i,T$1=Symbol.for("lit-noChange"),E$1=Symbol.for("lit-nothing"),A=new WeakMap,C=r$2.createTreeWalker(r$2,129);function P$1(t,i){if(!a$1(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==s?s.createHTML(i):i}const V$1=(t,i)=>{const s=t.length-1,o=[];let r,l=2===i?"<svg>":3===i?"<math>":"",c=f;for(let i=0;i<s;i++){const s=t[i];let a,u,d=-1,y=0;for(;y<s.length&&(c.lastIndex=y,u=c.exec(s),null!==u);)y=c.lastIndex,c===f?"!--"===u[1]?c=v$1:void 0!==u[1]?c=_$1:void 0!==u[2]?($$1.test(u[2])&&(r=RegExp("</"+u[2],"g")),c=m$1):void 0!==u[3]&&(c=m$1):c===m$1?">"===u[0]?(c=r??f,d=-1):void 0===u[1]?d=-2:(d=c.lastIndex-u[2].length,a=u[1],c=void 0===u[3]?m$1:'"'===u[3]?g$1:p$1):c===g$1||c===p$1?c=m$1:c===v$1||c===_$1?c=f:(c=m$1,r=void 0);const x=c===m$1&&t[i+1].startsWith("/>")?" ":"";l+=c===f?s+n:d>=0?(o.push(a),s.slice(0,d)+e+s.slice(d)+h$1+x):s+h$1+(-2===d?i:x);}return [P$1(t,l+(t[s]||"<?>")+(2===i?"</svg>":3===i?"</math>":"")),o]};class N$1{constructor({strings:t,_$litType$:s},n){let r;this.parts=[];let c=0,a=0;const u=t.length-1,d=this.parts,[f,v]=V$1(t,s);if(this.el=N$1.createElement(f,n),C.currentNode=this.el.content,2===s||3===s){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes);}for(;null!==(r=C.nextNode())&&d.length<u;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(e)){const i=v[a++],s=r.getAttribute(t).split(h$1),e=/([.?@])?(.*)/.exec(i);d.push({type:1,index:c,name:e[2],strings:s,ctor:"."===e[1]?H$2:"?"===e[1]?I$1:"@"===e[1]?L$1:k$1}),r.removeAttribute(t);}else t.startsWith(h$1)&&(d.push({type:6,index:c}),r.removeAttribute(t));if($$1.test(r.tagName)){const t=r.textContent.split(h$1),s=t.length-1;if(s>0){r.textContent=i$1?i$1.emptyScript:"";for(let i=0;i<s;i++)r.append(t[i],l()),C.nextNode(),d.push({type:2,index:++c});r.append(t[s],l());}}}else if(8===r.nodeType)if(r.data===o)d.push({type:2,index:c});else {let t=-1;for(;-1!==(t=r.data.indexOf(h$1,t+1));)d.push({type:7,index:c}),t+=h$1.length-1;}c++;}}static createElement(t,i){const s=r$2.createElement("template");return s.innerHTML=t,s}}function S(t,i,s=t,e){if(i===T$1)return i;let h=void 0!==e?s._$Co?.[e]:s._$Cl;const o=c(i)?void 0:i._$litDirective$;return h?.constructor!==o&&(h?._$AO?.(!1),void 0===o?h=void 0:(h=new o(t),h._$AT(t,s,e)),void 0!==e?(s._$Co??=[])[e]=h:s._$Cl=h),void 0!==h&&(i=S(t,h._$AS(t,i.values),h,e)),i}class M$1{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i;}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:i},parts:s}=this._$AD,e=(t?.creationScope??r$2).importNode(i,!0);C.currentNode=e;let h=C.nextNode(),o=0,n=0,l=s[0];for(;void 0!==l;){if(o===l.index){let i;2===l.type?i=new R$1(h,h.nextSibling,this,t):1===l.type?i=new l.ctor(h,l.name,l.strings,this,t):6===l.type&&(i=new z$1(h,this,t)),this._$AV.push(i),l=s[++n];}o!==l?.index&&(h=C.nextNode(),o++);}return C.currentNode=r$2,e}p(t){let i=0;for(const s of this._$AV)void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,i),i+=s.strings.length-2):s._$AI(t[i])),i++;}}class R$1{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,i,s,e){this.type=2,this._$AH=E$1,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=s,this.options=e,this._$Cv=e?.isConnected??!0;}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===t?.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=S(this,t,i),c(t)?t===E$1||null==t||""===t?(this._$AH!==E$1&&this._$AR(),this._$AH=E$1):t!==this._$AH&&t!==T$1&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):u(t)?this.k(t):this._(t);}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t));}_(t){this._$AH!==E$1&&c(this._$AH)?this._$AA.nextSibling.data=t:this.T(r$2.createTextNode(t)),this._$AH=t;}$(t){const{values:i,_$litType$:s}=t,e="number"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=N$1.createElement(P$1(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===e)this._$AH.p(i);else {const t=new M$1(e,this),s=t.u(this.options);t.p(i),this.T(s),this._$AH=t;}}_$AC(t){let i=A.get(t.strings);return void 0===i&&A.set(t.strings,i=new N$1(t)),i}k(t){a$1(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let s,e=0;for(const h of t)e===i.length?i.push(s=new R$1(this.O(l()),this.O(l()),this,this.options)):s=i[e],s._$AI(h),e++;e<i.length&&(this._$AR(s&&s._$AB.nextSibling,e),i.length=e);}_$AR(t=this._$AA.nextSibling,i){for(this._$AP?.(!1,!0,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i;}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t));}}class k$1{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,i,s,e,h){this.type=1,this._$AH=E$1,this._$AN=void 0,this.element=t,this.name=i,this._$AM=e,this.options=h,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=E$1;}_$AI(t,i=this,s,e){const h=this.strings;let o=!1;if(void 0===h)t=S(this,t,i,0),o=!c(t)||t!==this._$AH&&t!==T$1,o&&(this._$AH=t);else {const e=t;let n,r;for(t=h[0],n=0;n<h.length-1;n++)r=S(this,e[s+n],i,n),r===T$1&&(r=this._$AH[n]),o||=!c(r)||r!==this._$AH[n],r===E$1?t=E$1:t!==E$1&&(t+=(r??"")+h[n+1]),this._$AH[n]=r;}o&&!e&&this.j(t);}j(t){t===E$1?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"");}}class H$2 extends k$1{constructor(){super(...arguments),this.type=3;}j(t){this.element[this.name]=t===E$1?void 0:t;}}class I$1 extends k$1{constructor(){super(...arguments),this.type=4;}j(t){this.element.toggleAttribute(this.name,!!t&&t!==E$1);}}class L$1 extends k$1{constructor(t,i,s,e,h){super(t,i,s,e,h),this.type=5;}_$AI(t,i=this){if((t=S(this,t,i,0)??E$1)===T$1)return;const s=this._$AH,e=t===E$1&&s!==E$1||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,h=t!==E$1&&(s===E$1||e);e&&this.element.removeEventListener(this.name,this,s),h&&this.element.addEventListener(this.name,this,t),this._$AH=t;}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t);}}class z$1{constructor(t,i,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=s;}get _$AU(){return this._$AM._$AU}_$AI(t){S(this,t);}}const j$1=t.litHtmlPolyfillSupport;j$1?.(N$1,R$1),(t.litHtmlVersions??=[]).push("3.2.1");const B$2=(t,i,s)=>{const e=s?.renderBefore??i;let h=e._$litPart$;if(void 0===h){const t=s?.renderBefore??null;e._$litPart$=h=new R$1(i.insertBefore(l(),t),t,void 0,s??{});}return h._$AI(t),h};
|
|
264
222
|
|
|
265
223
|
/**
|
|
266
224
|
* @license
|
|
@@ -954,7 +912,7 @@ registerStyles('', color, { moduleId: 'lumo-color' });
|
|
|
954
912
|
const fontIcons = i$3`
|
|
955
913
|
@font-face {
|
|
956
914
|
font-family: 'lumo-icons';
|
|
957
|
-
src: url(data:application/font-woff;charset=utf-8;base64,
|
|
915
|
+
src: url(data:application/font-woff;charset=utf-8;base64,d09GRgABAAAAABEgAAsAAAAAIjQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADsAAABUIIslek9TLzIAAAFEAAAAQwAAAFZAIUuKY21hcAAAAYgAAAD4AAADrsCU8d5nbHlmAAACgAAAC2cAABeAWri7U2hlYWQAAA3oAAAAMAAAADZa/6SsaGhlYQAADhgAAAAdAAAAJAbpA35obXR4AAAOOAAAABAAAACspBAAAGxvY2EAAA5IAAAAWAAAAFh57oA4bWF4cAAADqAAAAAfAAAAIAFKAXBuYW1lAAAOwAAAATEAAAIuUUJZCHBvc3QAAA/0AAABKwAAAelm8SzVeJxjYGRgYOBiMGCwY2BycfMJYeDLSSzJY5BiYGGAAJA8MpsxJzM9kYEDxgPKsYBpDiBmg4gCACY7BUgAeJxjYGS+yDiBgZWBgamKaQ8DA0MPhGZ8wGDIyAQUZWBlZsAKAtJcUxgcXjG+0mIO+p/FEMUcxDANKMwIkgMABn8MLQB4nO3SWW6DMABF0UtwCEnIPM/zhLK8LqhfXRybSP14XUYtHV9hGYQwQBNIo3cUIPkhQeM7rib1ekqnXg981XuC1qvy84lzojleh3puxL0hPjGjRU473teloEefAUNGjJkwZcacBUtWrNmwZceeA0dOnLlw5cadB09elPGhGf+j0NTI/65KfXerT6JhqKnpRKtgOpuqaTrtKjPUlqHmhto21I7pL6i6hlqY3q7qGWrfUAeGOjTUkaGODXViqFNDnRnq3FAXhro01JWhrg11Y6hbQ90Z6t5QD4Z6NNSToZ4N9WKoV0O9GerdUB+G+jTUl6GWRvkL24BkEXictVh9bFvVFb/nxvbz+7Rf/N6zHcd2bCfP+Wic1Z9N0jpNHCD9SNqqoVBgbQoMjY+pjA4hNnWa2pV1rHSIif0DGkyT2k10Kmu1Cag6huj4ZpqYBHSqJsTEJgZCG3TaVBFv595nO3ZIv4RIrPPuvefe884599zzO/cRF8G/tgn6CFFImNgkR0ggX8wlspbhSSWSdrC5ozd30s2dw5afzvgtyz9/zG9t1hV4RtF1pXolowvtzc2z6L2aYUQM45jKH9WDTvd1LRDoDASYWhfTzTyvboXz6uZX4ARX5wrF39y+HM2+CJ8d0pkyqBIqoze3D12ez4DrFoYzxI8dWwMrDlZ2DMqQAR9AROsJU+2smlTPaTTco52BVxXa2a2+I8vvqd2dVHm1LoPeTn/AZPRYGthDYOeZjBjKoFsVGulR3lGU95SeCK44oHU7MhWUGUKZDT3oSUcG2GWuh+EDDfUYA/jhIhl0TOsJNYSEu7mQmi3UzfXwZKA4BsVsHLXQYGgJW95qEtpJ1VcW9HiTriZBlFEqxsDjA09yCNUoQxxwd7KWSTt2y3GTKifkqHRCoWZc3m11Wa/dKdFgXD4kSYfkeJBKd8KMz7J8dZn/cGRCcLGDnA2Ge3bKzcvlnTDNthFWLH7Xt80ua5FMjA4WKelWv5Xo16vHuYzpRbJhhdVlftuRK0VlR27D9lu5TF0DPBi60OrHNO0AfP/uRWvhn/U3LXICE+nh+3IHPUJ8JE6GyBjZQLbjGchlrSgYngF8zyrIF4NJD3atUcgWsWunGN/UHX5B5/yg7uF87Nqp4Gf52F3gH73DjEZNRoqCKAr9giQJp5rGJABpiVE2htNhW9R8nw0jqYjCYcY4LIjwYNScf4WN06IZnZCEqsI4cFaQbo4Z1TsZBx40YhXkHOecaYE5oY37IIQ+iJJ+UsDYSun5MuRSBRZRUUhlY2DqOGajOR6zrSU/5My6l2DnusH1GQgnw5BZP7iuYM/ahcfQ7Z8y51ddfutvuwNqWQ0cBYr8fj0U0vsHpwerVaB2sWhXT2NExi2r1KUE2tUuVMnkepVQrxTmpQrZTG4iu8he8iPyM3KcPE/+RP5KPoE2CEAKclCBzXATxkYOtUY/o961PWRqsj0chRrHFBbtrjP9/P0ven5pcbRdpL94vfsy33e5+izuwz3nFLFPVNayPZx/jdG1fOChflFRvYzsW6L18efgLrSWIgvcqnGJYi4skO4xREURjbDuxKke5v0T3Mrzkt2fi31uyZlLLrqIpEuXXsMlgw442Jb0GAxjS1DM20kBoCzHLXm/jEm0IltdcvU0fEW24jgiwwRjVd9u4NJHcIyoHJcwvyVqgqj5hqBJ1ZWSJryh9p56UWhX1XbhRbW2ZopuZWsQd5y8mEQ8M+C6xjRYxZbDKWf5AgY+Qq/l6wSPk16zDFjowYuu+wjx13mfkxbyDDxadYT/LijZyI0THB+6yfLaWsRcO82zo9mWTNtpO18qlorZoIVMwSN40tky5DOQ1MCIAe24mvlsuwIIxPb10+uXDQ4uWz/9m3rj+ql7p6bufZARuPVq5tXtsn6KwfP8Jy0TeWOyNhUJN6mhX5rkUTtUppQWEMNTqEdaCGKFYKJaQrCE4JtDLYOlNEKmO5kBTPGY2A0N2sY3+dVlo1N9ycBsIGtOjQ2p/tlZvzo0ur4v6cOh8NTospB7U/X40KahoU3bGIH97dnwmtHlYffVG3R1YOwKM2vNhrPhCT5zk64sG53oS4b31aYjqe/B7+kQiXBN+b6h21hNUPMq29B8CU4elINdygMPKF1B+WBTG7Z9ZshpN/xwEuuDQZR+nuoo4CDaAiiwXmLpmukMQyPf/JMclqgL1ixZQ/nnP2VbdUODFGt2fgBvL123rlLYu/6A9ckb7F3K0/CyBMEu6aQoPscroCcacVehvyQyCZAsizsWWBkoLC+WAiWnOksLKaeuQDzGuqSk42aiYTiJ4zf9afl17SrqaTO1f+XlZAfIuYcq7/IqYMaMrksOJ6vHkOCPDq943xcCnHqVD9pHFRpMqSPXrIua1WNs+tOz1U+ciTCDpPk+c4QYJIHnYhxP/kVPAq+ahFpVhPcHp8qyarhiF+HsBU9Hrl+UZa876fbKipL0KqB6OdUveErgtOI97fZ63ae9SvWU6k2w1JfwqnUbHsYcFCJFrC/W12zIMMirWYEHxMPs6LGYSdkSZ5TsNP9PCpwnWC3HKZ1lydNjWHC2Mn3l6vL0dHn1ldP3LTSrX+vKrBqv7KmMr8p0SR6P1NqF63or6XRlIyO90f7+kf7+myOhvt4tq7f09oUiTc2/dycGgqFQcCDRLYmi1NL7fk0CknVMxEg/cdfs/TnpJMNkgqwj17B8beVazSrVbU4lG67IZYOCnWrYy3yBR9cyWcChywos3LJBEdhhFoAdYjiw0rLGm0xU5OzoGm5/ZfmHjVZpNNg6SznzGKDdwv2cCtVn6Eaxo12cfxLprpVtTcZ6hVx6dow7Yq7e8LXO8PY9Jgjoze9yCtU5FNbegcKkQMdCbt9au/te4Ebe0jkc0ukUL32eYnTpNs20h0KpUOhZPYwVcfhZnfdqeCvDfXiuCbAoYWcXERPc/mDQD3/hdF+wK4i/xv3kYfprIpAuMkk2kW3kdtS0kBIKpZwp8KxmsCyfM1MFzAss9LBkDxRyThiaqTLwKYKJVTwmWTudMyz+yks09346MDh4m72yOxCKrt1XMlQ1qPVlTEVVQ1ofdK/sCWjtZu9qGwZ8YZ9PPWlo1IV3eW3+U0aXblP39zrt+JPf6UhEQ1rUjNBULN+utyuaDNW34kpAVuSOeMTyWbSNWnooFu+QFNWQ4d/Ox4IPWx41fP/fB/Rjeoz08ezPA9TysMtmnOXfGN7Ui3xIYLDALrlDLOP09qtJuY2OeL0+QZXdRnR1nxRVBF/SOyKKPpcrn9mWzH4rH9IidE+PTNU2182+hOgSItrE1slByS24vaLvJpxOqe4Pduf3HJkZ+jLqUz9rRzB7p8gKcgWZwV1L8JtUS5Z2JxZSOCuBoMTQihMzLbCPA0KqGMAljRQjONklW/wjnXKy8vxT/Elvm3/KiMUMOoV0/vnDYlhec0SMKtt3/kKMyOt33tj2bqxQLsTjSGLl+EAsNhCnTyRGktW55EgCn/A4PlnWn+Mg8bgZrWqHxTbPwMuyy1u5YeZF2SUM7JRhddwRgiRuxpmgJmxn9ZW7XpcF3ViX/ar6ptRpGJ0S9Adg4qhb9sI3vbL7qNJV/y4i07t5TZBiho1imFoMz3gED+CtjYUxvP4SOxov4bFoNPg5aR1e+G4UgDPoedJTpogyCJ7oYvRqoVS0MQAy+CoNEdTDUjok5ZHZL/WtjV7rFj3PKQE3iKp7ou+rIxN3b9LB1dGjeT4cvKo3FrnWpYpuaFd/h3dtV8UeKN1Y9hpR3dt4p0H/zKuPQq0kZQUIIpuDfoiETsnIk+gCWMJZUXHtE8V9LkUc2TE8vOMbO4ax/MACabzyaGXc7u3FBr11ThBdB8SIeMAlCntG2KThHSPsaj2Dc9KNyY2a0KZ7ODaTHoRiFkeYz+shZBpCS4X6471KKKnuHd84edfk5F37d1XO5bbkcltu2ZLNbvnPXiUVAnVvprJrP+NObryjxrllS65md6Tm6wzFHRR4dY3QUUjb7MgxaIixU8hspi98fl/Xc+IB4iU66eCVL9YfAfahiSUt4TONS8x0D8W7u8vd3fGWx6OXlM/U1IoU/s61PGhpyXRFa3eReq2qG56lvmYtXavCC1iN7lbiBpWxXHU+cSlztVLVz0tVN600fVsLxaVDknhYioeoXP3t4lqV1r79MAw0GCI1FTL1YIGzPL1MMlJ9ZsN9P7lvA2yr9ZFUzwzPrVgxN/x/SS+chwB4nGNgZGBgAOLPrYdY4vltvjJwM78AijDUqG5oRND/XzNPZboF5HIwMIFEAU/lC+J4nGNgZGBgDvqfBSRfMAAB81QGRgZUoA0AVvYDbwAAAHicY2BgYGB+MTQwAM8EJo8AAAAAAE4AmgDoAQoBLAFOAXABmgHEAe4CGgKcAugEmgS8BNYE8gUOBSoFegXQBf4GRAZmBrYHGAeQCBgIUghqCP4JRgm+CdoKBAo+CoQKugr0C1QLmgvAeJxjYGRgYNBmTGEQZQABJiDmAkIGhv9gPgMAGJQBvAB4nG2RPU7DMBiG3/QP0UoIBGJh8QILavozdmRo9w7d09RpUzlx5LgVvQMn4BAcgoEzcAgOwVvzSZVQbcnf48fvFysJgGt8IcJxROiG9TgauODuj5ukG+EW+UG4jR4ehTv0Q+EunjER7uEWmk+IWpc0d3gVbuAKb8JN+nfhFvlDuI17fAp36L+Fu1jgR7iHp+jF7Arbz1Nb1nO93pnEncSJFtrVuS3VKB6e5EyX2iVer9TyoOr9eux9pjJnCzW1pdfGWFU5u9WpjzfeV5PBIBMfp7aAwQ4FLPrIkbKWqDHn+67pDRK4s4lzbsEux5qHvcIIMb/nueSMyTKkE3jWFdNLHLjW2PPmMa1Hxn3GjGW/wjT0HtOG09JU4WxLk9LH2ISuiv9twJn9y8fh9uIXI+BknAAAAHicbY7ZboMwEEW5CVBCSLrv+76kfJRjTwHFsdGAG+Xvy5JUfehIHp0rnxmNN/D6ir3/a4YBhvARIMQOIowQY4wEE0yxiz3s4wCHOMIxTnCKM5zjApe4wjVucIs73OMBj3jCM17wije84wMzfHqJ0EVmUkmmJo77oOmrHvfIRZbXsTCZplTZldlgb3TYGVHProwFs11t1A57tcON2rErR3PBqcwF1/6ctI6k0GSU4JHMSS6WghdJQ99sTbfuN7QLJ9vQ37dNrgyktnIxlDYLJNuqitpRbYWKFNuyDT6pog6oOYKHtKakeakqKjHXpPwlGRcsC+OqxLIiJpXqoqqDMreG2l5bv9Ri3TRX+c23DZna9WFFgmXuO6Ps1Jm/w6ErW8N3FbHn/QC444j0AA==)
|
|
958
916
|
format('woff');
|
|
959
917
|
font-weight: normal;
|
|
960
918
|
font-style: normal;
|
|
@@ -984,27 +942,25 @@ const fontIcons = i$3`
|
|
|
984
942
|
--lumo-icons-cog: '\\ea15';
|
|
985
943
|
--lumo-icons-cross: '\\ea16';
|
|
986
944
|
--lumo-icons-download: '\\ea17';
|
|
987
|
-
--lumo-icons-
|
|
988
|
-
--lumo-icons-
|
|
989
|
-
--lumo-icons-
|
|
990
|
-
--lumo-icons-
|
|
991
|
-
--lumo-icons-eye: '\\ea1c';
|
|
992
|
-
--lumo-icons-
|
|
993
|
-
--lumo-icons-
|
|
994
|
-
--lumo-icons-
|
|
995
|
-
--lumo-icons-
|
|
996
|
-
--lumo-icons-
|
|
997
|
-
--lumo-icons-
|
|
998
|
-
--lumo-icons-
|
|
999
|
-
--lumo-icons-
|
|
1000
|
-
--lumo-icons-
|
|
1001
|
-
--lumo-icons-
|
|
1002
|
-
--lumo-icons-
|
|
1003
|
-
--lumo-icons-
|
|
1004
|
-
--lumo-icons-
|
|
1005
|
-
--lumo-icons-
|
|
1006
|
-
--lumo-icons-upload: '\\ea2b';
|
|
1007
|
-
--lumo-icons-user: '\\ea2c';
|
|
945
|
+
--lumo-icons-dropdown: '\\ea18';
|
|
946
|
+
--lumo-icons-edit: '\\ea19';
|
|
947
|
+
--lumo-icons-error: '\\ea1a';
|
|
948
|
+
--lumo-icons-eye: '\\ea1b';
|
|
949
|
+
--lumo-icons-eye-disabled: '\\ea1c';
|
|
950
|
+
--lumo-icons-menu: '\\ea1d';
|
|
951
|
+
--lumo-icons-minus: '\\ea1e';
|
|
952
|
+
--lumo-icons-ordered-list: '\\ea1f';
|
|
953
|
+
--lumo-icons-phone: '\\ea20';
|
|
954
|
+
--lumo-icons-photo: '\\ea21';
|
|
955
|
+
--lumo-icons-play: '\\ea22';
|
|
956
|
+
--lumo-icons-plus: '\\ea23';
|
|
957
|
+
--lumo-icons-redo: '\\ea24';
|
|
958
|
+
--lumo-icons-reload: '\\ea25';
|
|
959
|
+
--lumo-icons-search: '\\ea26';
|
|
960
|
+
--lumo-icons-undo: '\\ea27';
|
|
961
|
+
--lumo-icons-unordered-list: '\\ea28';
|
|
962
|
+
--lumo-icons-upload: '\\ea29';
|
|
963
|
+
--lumo-icons-user: '\\ea2a';
|
|
1008
964
|
}
|
|
1009
965
|
`;
|
|
1010
966
|
|
|
@@ -11349,7 +11305,6 @@ const DisabledMixin = dedupingMixin(
|
|
|
11349
11305
|
value: false,
|
|
11350
11306
|
observer: '_disabledChanged',
|
|
11351
11307
|
reflectToAttribute: true,
|
|
11352
|
-
sync: true,
|
|
11353
11308
|
},
|
|
11354
11309
|
};
|
|
11355
11310
|
}
|
|
@@ -12473,8 +12428,6 @@ const InputMixin = dedupingMixin(
|
|
|
12473
12428
|
if (this.inputElement) {
|
|
12474
12429
|
this.inputElement[this._inputElementValueProperty] = value;
|
|
12475
12430
|
}
|
|
12476
|
-
|
|
12477
|
-
this._hasInputValue = value && value.length > 0;
|
|
12478
12431
|
}
|
|
12479
12432
|
|
|
12480
12433
|
/**
|
|
@@ -12668,7 +12621,6 @@ const CheckedMixin = dedupingMixin(
|
|
|
12668
12621
|
value: false,
|
|
12669
12622
|
notify: true,
|
|
12670
12623
|
reflectToAttribute: true,
|
|
12671
|
-
sync: true,
|
|
12672
12624
|
},
|
|
12673
12625
|
};
|
|
12674
12626
|
}
|
|
@@ -13704,22 +13656,6 @@ const ValidateMixin = dedupingMixin(
|
|
|
13704
13656
|
value: false,
|
|
13705
13657
|
},
|
|
13706
13658
|
|
|
13707
|
-
/**
|
|
13708
|
-
* Set to true to enable manual validation mode. This mode disables automatic
|
|
13709
|
-
* constraint validation, allowing you to control the validation process yourself.
|
|
13710
|
-
* You can still trigger constraint validation manually with the `validate()` method
|
|
13711
|
-
* or use `checkValidity()` to assess the component's validity without affecting
|
|
13712
|
-
* the invalid state. In manual validation mode, you can also manipulate
|
|
13713
|
-
* the `invalid` property directly through your application logic without conflicts
|
|
13714
|
-
* with the component's internal validation.
|
|
13715
|
-
*
|
|
13716
|
-
* @attr {boolean} manual-validation
|
|
13717
|
-
*/
|
|
13718
|
-
manualValidation: {
|
|
13719
|
-
type: Boolean,
|
|
13720
|
-
value: false,
|
|
13721
|
-
},
|
|
13722
|
-
|
|
13723
13659
|
/**
|
|
13724
13660
|
* Specifies that the user must fill in a value.
|
|
13725
13661
|
*/
|
|
@@ -13774,14 +13710,6 @@ const ValidateMixin = dedupingMixin(
|
|
|
13774
13710
|
return true;
|
|
13775
13711
|
}
|
|
13776
13712
|
|
|
13777
|
-
/** @protected */
|
|
13778
|
-
_requestValidation() {
|
|
13779
|
-
if (!this.manualValidation) {
|
|
13780
|
-
// eslint-disable-next-line no-restricted-syntax
|
|
13781
|
-
this.validate();
|
|
13782
|
-
}
|
|
13783
|
-
}
|
|
13784
|
-
|
|
13785
13713
|
/**
|
|
13786
13714
|
* Fired whenever the field is validated.
|
|
13787
13715
|
*
|
|
@@ -14304,14 +14232,14 @@ const CheckboxMixin = (superclass) =>
|
|
|
14304
14232
|
// Do not validate when focusout is caused by document
|
|
14305
14233
|
// losing focus, which happens on browser tab switch.
|
|
14306
14234
|
if (!focused && document.hasFocus()) {
|
|
14307
|
-
this.
|
|
14235
|
+
this.validate();
|
|
14308
14236
|
}
|
|
14309
14237
|
}
|
|
14310
14238
|
|
|
14311
14239
|
/** @private */
|
|
14312
14240
|
_checkedChanged(checked) {
|
|
14313
14241
|
if (checked || this.__oldChecked) {
|
|
14314
|
-
this.
|
|
14242
|
+
this.validate();
|
|
14315
14243
|
}
|
|
14316
14244
|
|
|
14317
14245
|
this.__oldChecked = checked;
|
|
@@ -14328,7 +14256,7 @@ const CheckboxMixin = (superclass) =>
|
|
|
14328
14256
|
super._requiredChanged(required);
|
|
14329
14257
|
|
|
14330
14258
|
if (required === false) {
|
|
14331
|
-
this.
|
|
14259
|
+
this.validate();
|
|
14332
14260
|
}
|
|
14333
14261
|
}
|
|
14334
14262
|
|
|
@@ -15028,7 +14956,7 @@ const CheckboxGroupMixin = (superclass) =>
|
|
|
15028
14956
|
});
|
|
15029
14957
|
|
|
15030
14958
|
if (oldValue !== undefined) {
|
|
15031
|
-
this.
|
|
14959
|
+
this.validate();
|
|
15032
14960
|
}
|
|
15033
14961
|
}
|
|
15034
14962
|
|
|
@@ -15068,7 +14996,7 @@ const CheckboxGroupMixin = (superclass) =>
|
|
|
15068
14996
|
// Do not validate when focusout is caused by document
|
|
15069
14997
|
// losing focus, which happens on browser tab switch.
|
|
15070
14998
|
if (!focused && document.hasFocus()) {
|
|
15071
|
-
this.
|
|
14999
|
+
this.validate();
|
|
15072
15000
|
}
|
|
15073
15001
|
}
|
|
15074
15002
|
};
|
|
@@ -15208,23 +15136,31 @@ const CheckboxGroupInput = class {
|
|
|
15208
15136
|
registerInstance(this, hostRef);
|
|
15209
15137
|
this.sendValidityState = createEvent(this, "sendValidityState", 7);
|
|
15210
15138
|
this.sendInputValue = createEvent(this, "sendInputValue", 7);
|
|
15211
|
-
/**
|
|
15212
|
-
* Default value for the input.
|
|
15213
|
-
*/
|
|
15214
|
-
this.defaultValue = '';
|
|
15215
|
-
/**
|
|
15216
|
-
* Client custom styling via inline style
|
|
15217
|
-
*/
|
|
15218
|
-
this.clientStyling = '';
|
|
15219
|
-
this.limitStylingAppends = false;
|
|
15220
|
-
this.showTooltip = false;
|
|
15221
|
-
this.selectedValues = [];
|
|
15222
15139
|
this.value = null;
|
|
15223
15140
|
this.setClientStyling = () => {
|
|
15224
15141
|
let sheet = document.createElement('style');
|
|
15225
15142
|
sheet.innerHTML = this.clientStyling;
|
|
15226
15143
|
this.stylingContainer.prepend(sheet);
|
|
15227
15144
|
};
|
|
15145
|
+
this.name = undefined;
|
|
15146
|
+
this.displayName = undefined;
|
|
15147
|
+
this.defaultValue = '';
|
|
15148
|
+
this.autofilled = undefined;
|
|
15149
|
+
this.tooltip = undefined;
|
|
15150
|
+
this.options = undefined;
|
|
15151
|
+
this.validation = undefined;
|
|
15152
|
+
this.language = undefined;
|
|
15153
|
+
this.emitValue = undefined;
|
|
15154
|
+
this.clientStyling = '';
|
|
15155
|
+
this.errorMessage = undefined;
|
|
15156
|
+
this.isValid = undefined;
|
|
15157
|
+
this.limitStylingAppends = false;
|
|
15158
|
+
this.showTooltip = false;
|
|
15159
|
+
this.selectedValues = [];
|
|
15160
|
+
}
|
|
15161
|
+
handleStylingChange(newValue, oldValue) {
|
|
15162
|
+
if (newValue !== oldValue)
|
|
15163
|
+
this.setClientStyling();
|
|
15228
15164
|
}
|
|
15229
15165
|
validityChanged() {
|
|
15230
15166
|
this.validityStateHandler({ valid: this.isValid, name: this.name });
|
|
@@ -15300,13 +15236,14 @@ const CheckboxGroupInput = class {
|
|
|
15300
15236
|
return (h$3("label", { class: 'checkbox__label', htmlFor: `${this.name}__input`, slot: 'label' }, h$3("div", { class: 'checkbox__label-text', innerHTML: `${this.displayName} ${this.validation.mandatory ? '*' : ''}` })));
|
|
15301
15237
|
}
|
|
15302
15238
|
render() {
|
|
15303
|
-
return h$3("div", { key: '
|
|
15304
|
-
h$3("img", { key: '
|
|
15239
|
+
return h$3("div", { key: 'c25b0a1ac187ea0abf1fe8c69d584eee00568177', class: `checkboxgroup__wrapper ${this.name}__input`, ref: el => this.stylingContainer = el }, h$3("div", { key: 'daf512e7f98d20bae65e43ab869e45babc008e90', class: 'checkboxgroup__wrapper--flex' }, h$3("vaadin-checkbox", { key: '08e31269cf2ace61c4c929a6a597486555667197', class: 'checkbox__input', checked: this.selectedValues.length === this.options.length || this.defaultValue === 'true', indeterminate: this.selectedValues.length > 0 && this.selectedValues.length < this.options.length, onChange: (e) => this.handleParentCheckbox(e) }, this.renderLabel()), this.tooltip &&
|
|
15240
|
+
h$3("img", { key: 'ed4c3efd6b7e30ae0b68de11093b8faf2cb0a845', class: 'checkboxgroup__tooltip-icon', src: tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip()), h$3("small", { key: '5b95c4059a2de898c04bf147e89c5a2ad035dddf', class: 'checkboxgroup__error-message' }, this.errorMessage), h$3("vaadin-checkbox-group", { key: '2b73ac73d52c6185358e50eda4c9706643f55384', theme: "vertical", value: this.selectedValues, "on-value-changed": (event) => {
|
|
15305
15241
|
this.selectedValues = event.detail.value;
|
|
15306
15242
|
} }, this.options.map((checkbox) => h$3("vaadin-checkbox", { class: 'checkbox__input', name: checkbox.name, value: checkbox.name, label: checkbox.displayName }))));
|
|
15307
15243
|
}
|
|
15308
15244
|
get element() { return getElement(this); }
|
|
15309
15245
|
static get watchers() { return {
|
|
15246
|
+
"clientStyling": ["handleStylingChange"],
|
|
15310
15247
|
"isValid": ["validityChanged"],
|
|
15311
15248
|
"selectedValues": ["setValue"],
|
|
15312
15249
|
"emitValue": ["emitValueHandler"]
|
|
@@ -15322,22 +15259,29 @@ const CheckboxInput = class {
|
|
|
15322
15259
|
registerInstance(this, hostRef);
|
|
15323
15260
|
this.sendValidityState = createEvent(this, "sendValidityState", 7);
|
|
15324
15261
|
this.sendInputValue = createEvent(this, "sendInputValue", 7);
|
|
15325
|
-
/**
|
|
15326
|
-
* Default value for the input.
|
|
15327
|
-
*/
|
|
15328
|
-
this.defaultValue = '';
|
|
15329
|
-
/**
|
|
15330
|
-
* Client custom styling via inline style
|
|
15331
|
-
*/
|
|
15332
|
-
this.clientStyling = '';
|
|
15333
|
-
this.limitStylingAppends = false;
|
|
15334
|
-
this.showTooltip = false;
|
|
15335
15262
|
this.value = '';
|
|
15336
15263
|
this.setClientStyling = () => {
|
|
15337
15264
|
let sheet = document.createElement('style');
|
|
15338
15265
|
sheet.innerHTML = this.clientStyling;
|
|
15339
15266
|
this.stylingContainer.prepend(sheet);
|
|
15340
15267
|
};
|
|
15268
|
+
this.name = undefined;
|
|
15269
|
+
this.displayName = undefined;
|
|
15270
|
+
this.defaultValue = '';
|
|
15271
|
+
this.autofilled = undefined;
|
|
15272
|
+
this.tooltip = undefined;
|
|
15273
|
+
this.validation = undefined;
|
|
15274
|
+
this.language = undefined;
|
|
15275
|
+
this.emitValue = undefined;
|
|
15276
|
+
this.clientStyling = '';
|
|
15277
|
+
this.errorMessage = undefined;
|
|
15278
|
+
this.isValid = undefined;
|
|
15279
|
+
this.limitStylingAppends = false;
|
|
15280
|
+
this.showTooltip = false;
|
|
15281
|
+
}
|
|
15282
|
+
handleStylingChange(newValue, oldValue) {
|
|
15283
|
+
if (newValue !== oldValue)
|
|
15284
|
+
this.setClientStyling();
|
|
15341
15285
|
}
|
|
15342
15286
|
validityChanged() {
|
|
15343
15287
|
this.validityStateHandler({ valid: this.isValid, name: this.name });
|
|
@@ -15401,10 +15345,11 @@ const CheckboxInput = class {
|
|
|
15401
15345
|
return null;
|
|
15402
15346
|
}
|
|
15403
15347
|
render() {
|
|
15404
|
-
return h$3("div", { key: '
|
|
15405
|
-
h$3("img", { key: '
|
|
15348
|
+
return h$3("div", { key: '8c80c955bb052558165a4c5b1020d0582ed0af36', class: `checkbox__wrapper ${this.name}__input`, ref: el => this.stylingContainer = el }, h$3("input", { key: '89401d543cb30b72ec614b0cd4e95b2e82b2522d', class: 'checkbox__input', type: "checkbox", id: `${this.name}__input`, ref: (el) => this.inputReference = el, name: this.name, checked: this.defaultValue === "true", readOnly: this.autofilled, required: this.validation.mandatory, value: this.value, onClick: () => this.handleClick() }), this.renderLabel(), h$3("small", { key: 'd007d8c02dd014a363e2fcc1a0e8df6ffda34bcb', class: 'checkbox__error-message' }, this.errorMessage), h$3("div", { key: 'c511c07684173359663d4907371efb82289f0433', class: 'checkbox__wrapper--relative' }, this.tooltip &&
|
|
15349
|
+
h$3("img", { key: 'dd263ce86efd89f34078f3cc24729f43f40e89a6', class: 'checkbox__tooltip-icon', src: tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip()));
|
|
15406
15350
|
}
|
|
15407
15351
|
static get watchers() { return {
|
|
15352
|
+
"clientStyling": ["handleStylingChange"],
|
|
15408
15353
|
"isValid": ["validityChanged"],
|
|
15409
15354
|
"emitValue": ["emitValueHandler"]
|
|
15410
15355
|
}; }
|
|
@@ -17746,7 +17691,6 @@ const OverlayMixin = (superClass) =>
|
|
|
17746
17691
|
notify: true,
|
|
17747
17692
|
observer: '_openedChanged',
|
|
17748
17693
|
reflectToAttribute: true,
|
|
17749
|
-
sync: true,
|
|
17750
17694
|
},
|
|
17751
17695
|
|
|
17752
17696
|
/**
|
|
@@ -17755,7 +17699,6 @@ const OverlayMixin = (superClass) =>
|
|
|
17755
17699
|
*/
|
|
17756
17700
|
owner: {
|
|
17757
17701
|
type: Object,
|
|
17758
|
-
sync: true,
|
|
17759
17702
|
},
|
|
17760
17703
|
|
|
17761
17704
|
/**
|
|
@@ -17763,7 +17706,6 @@ const OverlayMixin = (superClass) =>
|
|
|
17763
17706
|
*/
|
|
17764
17707
|
model: {
|
|
17765
17708
|
type: Object,
|
|
17766
|
-
sync: true,
|
|
17767
17709
|
},
|
|
17768
17710
|
|
|
17769
17711
|
/**
|
|
@@ -17777,7 +17719,6 @@ const OverlayMixin = (superClass) =>
|
|
|
17777
17719
|
*/
|
|
17778
17720
|
renderer: {
|
|
17779
17721
|
type: Object,
|
|
17780
|
-
sync: true,
|
|
17781
17722
|
},
|
|
17782
17723
|
|
|
17783
17724
|
/**
|
|
@@ -17790,7 +17731,6 @@ const OverlayMixin = (superClass) =>
|
|
|
17790
17731
|
value: false,
|
|
17791
17732
|
reflectToAttribute: true,
|
|
17792
17733
|
observer: '_modelessChanged',
|
|
17793
|
-
sync: true,
|
|
17794
17734
|
},
|
|
17795
17735
|
|
|
17796
17736
|
/**
|
|
@@ -17802,7 +17742,6 @@ const OverlayMixin = (superClass) =>
|
|
|
17802
17742
|
type: Boolean,
|
|
17803
17743
|
reflectToAttribute: true,
|
|
17804
17744
|
observer: '_hiddenChanged',
|
|
17805
|
-
sync: true,
|
|
17806
17745
|
},
|
|
17807
17746
|
|
|
17808
17747
|
/**
|
|
@@ -17813,7 +17752,6 @@ const OverlayMixin = (superClass) =>
|
|
|
17813
17752
|
type: Boolean,
|
|
17814
17753
|
value: false,
|
|
17815
17754
|
reflectToAttribute: true,
|
|
17816
|
-
sync: true,
|
|
17817
17755
|
},
|
|
17818
17756
|
};
|
|
17819
17757
|
}
|
|
@@ -19642,21 +19580,6 @@ class InfiniteScroller extends HTMLElement {
|
|
|
19642
19580
|
}
|
|
19643
19581
|
}
|
|
19644
19582
|
|
|
19645
|
-
/** @protected */
|
|
19646
|
-
disconnectedCallback() {
|
|
19647
|
-
if (this._debouncerScrollFinish) {
|
|
19648
|
-
this._debouncerScrollFinish.cancel();
|
|
19649
|
-
}
|
|
19650
|
-
|
|
19651
|
-
if (this._debouncerUpdateClones) {
|
|
19652
|
-
this._debouncerUpdateClones.cancel();
|
|
19653
|
-
}
|
|
19654
|
-
|
|
19655
|
-
if (this.__pendingFinishInit) {
|
|
19656
|
-
cancelAnimationFrame(this.__pendingFinishInit);
|
|
19657
|
-
}
|
|
19658
|
-
}
|
|
19659
|
-
|
|
19660
19583
|
/**
|
|
19661
19584
|
* Force the scroller to update clones after a reset, without
|
|
19662
19585
|
* waiting for the debouncer to resolve.
|
|
@@ -19804,9 +19727,8 @@ class InfiniteScroller extends HTMLElement {
|
|
|
19804
19727
|
}
|
|
19805
19728
|
});
|
|
19806
19729
|
|
|
19807
|
-
|
|
19730
|
+
requestAnimationFrame(() => {
|
|
19808
19731
|
this._finishInit();
|
|
19809
|
-
this.__pendingFinishInit = null;
|
|
19810
19732
|
});
|
|
19811
19733
|
}
|
|
19812
19734
|
|
|
@@ -19821,10 +19743,6 @@ class InfiniteScroller extends HTMLElement {
|
|
|
19821
19743
|
itemWrapper.instance = this._createElement();
|
|
19822
19744
|
itemWrapper.appendChild(itemWrapper.instance);
|
|
19823
19745
|
|
|
19824
|
-
if (itemWrapper.instance.performUpdate) {
|
|
19825
|
-
itemWrapper.instance.performUpdate();
|
|
19826
|
-
}
|
|
19827
|
-
|
|
19828
19746
|
Object.keys(tmpInstance).forEach((prop) => {
|
|
19829
19747
|
itemWrapper.instance[prop] = tmpInstance[prop];
|
|
19830
19748
|
});
|
|
@@ -21842,10 +21760,6 @@ const MonthCalendarMixin = (superClass) =>
|
|
|
21842
21760
|
value: () => false,
|
|
21843
21761
|
},
|
|
21844
21762
|
|
|
21845
|
-
enteredDate: {
|
|
21846
|
-
type: Date,
|
|
21847
|
-
},
|
|
21848
|
-
|
|
21849
21763
|
disabled: {
|
|
21850
21764
|
type: Boolean,
|
|
21851
21765
|
reflectToAttribute: true,
|
|
@@ -21865,11 +21779,6 @@ const MonthCalendarMixin = (superClass) =>
|
|
|
21865
21779
|
_notTapping: {
|
|
21866
21780
|
type: Boolean,
|
|
21867
21781
|
},
|
|
21868
|
-
|
|
21869
|
-
/** @private */
|
|
21870
|
-
__hasFocus: {
|
|
21871
|
-
type: Boolean,
|
|
21872
|
-
},
|
|
21873
21782
|
};
|
|
21874
21783
|
}
|
|
21875
21784
|
|
|
@@ -21889,12 +21798,6 @@ const MonthCalendarMixin = (superClass) =>
|
|
|
21889
21798
|
addListener(this.$.monthGrid, 'tap', this._handleTap.bind(this));
|
|
21890
21799
|
}
|
|
21891
21800
|
|
|
21892
|
-
/** @override */
|
|
21893
|
-
_setFocused(focused) {
|
|
21894
|
-
super._setFocused(focused);
|
|
21895
|
-
this.__hasFocus = focused;
|
|
21896
|
-
}
|
|
21897
|
-
|
|
21898
21801
|
/**
|
|
21899
21802
|
* Returns true if all the dates in the month are out of the allowed range
|
|
21900
21803
|
* @protected
|
|
@@ -22190,7 +22093,7 @@ class MonthCalendar extends MonthCalendarMixin(ThemableMixin(PolymerElement)) {
|
|
|
22190
22093
|
<template is="dom-repeat" items="[[week]]">
|
|
22191
22094
|
<td
|
|
22192
22095
|
role="gridcell"
|
|
22193
|
-
part$="[[__getDatePart(item, focusedDate, selectedDate, minDate, maxDate, isDateDisabled
|
|
22096
|
+
part$="[[__getDatePart(item, focusedDate, selectedDate, minDate, maxDate, isDateDisabled)]]"
|
|
22194
22097
|
date="[[item]]"
|
|
22195
22098
|
tabindex$="[[__getDayTabindex(item, focusedDate)]]"
|
|
22196
22099
|
disabled$="[[__isDayDisabled(item, minDate, maxDate, isDateDisabled)]]"
|
|
@@ -22248,7 +22151,7 @@ class MonthCalendar extends MonthCalendarMixin(ThemableMixin(PolymerElement)) {
|
|
|
22248
22151
|
|
|
22249
22152
|
/** @private */
|
|
22250
22153
|
// eslint-disable-next-line @typescript-eslint/max-params
|
|
22251
|
-
__getDatePart(date, focusedDate, selectedDate, minDate, maxDate, isDateDisabled
|
|
22154
|
+
__getDatePart(date, focusedDate, selectedDate, minDate, maxDate, isDateDisabled) {
|
|
22252
22155
|
const result = ['date'];
|
|
22253
22156
|
const greaterThanToday = date > normalizeDate(new Date());
|
|
22254
22157
|
const lessThanToday = date < normalizeDate(new Date());
|
|
@@ -22257,7 +22160,7 @@ class MonthCalendar extends MonthCalendarMixin(ThemableMixin(PolymerElement)) {
|
|
|
22257
22160
|
result.push('disabled');
|
|
22258
22161
|
}
|
|
22259
22162
|
|
|
22260
|
-
if (
|
|
22163
|
+
if (this.__isDayFocused(date, focusedDate)) {
|
|
22261
22164
|
result.push('focused');
|
|
22262
22165
|
}
|
|
22263
22166
|
|
|
@@ -22280,6 +22183,11 @@ class MonthCalendar extends MonthCalendarMixin(ThemableMixin(PolymerElement)) {
|
|
|
22280
22183
|
return result.join(' ');
|
|
22281
22184
|
}
|
|
22282
22185
|
|
|
22186
|
+
/** @private */
|
|
22187
|
+
__isDayFocused(date, focusedDate) {
|
|
22188
|
+
return dateEquals(date, focusedDate);
|
|
22189
|
+
}
|
|
22190
|
+
|
|
22283
22191
|
/** @private */
|
|
22284
22192
|
__isDaySelected(date, selectedDate) {
|
|
22285
22193
|
return dateEquals(date, selectedDate);
|
|
@@ -22310,7 +22218,11 @@ class MonthCalendar extends MonthCalendarMixin(ThemableMixin(PolymerElement)) {
|
|
|
22310
22218
|
|
|
22311
22219
|
/** @private */
|
|
22312
22220
|
__getDayTabindex(date, focusedDate) {
|
|
22313
|
-
|
|
22221
|
+
if (this.__isDayFocused(date, focusedDate)) {
|
|
22222
|
+
return '0';
|
|
22223
|
+
}
|
|
22224
|
+
|
|
22225
|
+
return '-1';
|
|
22314
22226
|
}
|
|
22315
22227
|
}
|
|
22316
22228
|
|
|
@@ -22429,7 +22341,6 @@ const DatePickerOverlayContentMixin = (superClass) =>
|
|
|
22429
22341
|
initialPosition: {
|
|
22430
22342
|
type: Object,
|
|
22431
22343
|
observer: '_initialPositionChanged',
|
|
22432
|
-
sync: true,
|
|
22433
22344
|
},
|
|
22434
22345
|
|
|
22435
22346
|
_originDate: {
|
|
@@ -22497,11 +22408,6 @@ const DatePickerOverlayContentMixin = (superClass) =>
|
|
|
22497
22408
|
type: Function,
|
|
22498
22409
|
},
|
|
22499
22410
|
|
|
22500
|
-
enteredDate: {
|
|
22501
|
-
type: Date,
|
|
22502
|
-
sync: true,
|
|
22503
|
-
},
|
|
22504
|
-
|
|
22505
22411
|
/**
|
|
22506
22412
|
* Input label
|
|
22507
22413
|
*/
|
|
@@ -22529,7 +22435,7 @@ const DatePickerOverlayContentMixin = (superClass) =>
|
|
|
22529
22435
|
|
|
22530
22436
|
static get observers() {
|
|
22531
22437
|
return [
|
|
22532
|
-
'__updateCalendars(calendars, i18n, minDate, maxDate, selectedDate, focusedDate, showWeekNumbers, _ignoreTaps, _theme, isDateDisabled
|
|
22438
|
+
'__updateCalendars(calendars, i18n, minDate, maxDate, selectedDate, focusedDate, showWeekNumbers, _ignoreTaps, _theme, isDateDisabled)',
|
|
22533
22439
|
'__updateCancelButton(_cancelButton, i18n)',
|
|
22534
22440
|
'__updateTodayButton(_todayButton, i18n, minDate, maxDate, isDateDisabled)',
|
|
22535
22441
|
'__updateYears(years, selectedDate, _theme)',
|
|
@@ -22717,7 +22623,6 @@ const DatePickerOverlayContentMixin = (superClass) =>
|
|
|
22717
22623
|
ignoreTaps,
|
|
22718
22624
|
theme,
|
|
22719
22625
|
isDateDisabled,
|
|
22720
|
-
enteredDate,
|
|
22721
22626
|
) {
|
|
22722
22627
|
if (calendars && calendars.length) {
|
|
22723
22628
|
calendars.forEach((calendar) => {
|
|
@@ -22729,7 +22634,6 @@ const DatePickerOverlayContentMixin = (superClass) =>
|
|
|
22729
22634
|
calendar.selectedDate = selectedDate;
|
|
22730
22635
|
calendar.showWeekNumbers = showWeekNumbers;
|
|
22731
22636
|
calendar.ignoreTaps = ignoreTaps;
|
|
22732
|
-
calendar.enteredDate = enteredDate;
|
|
22733
22637
|
|
|
22734
22638
|
if (theme) {
|
|
22735
22639
|
calendar.setAttribute('theme', theme);
|
|
@@ -23838,8 +23742,8 @@ const InputConstraintsMixin = dedupingMixin(
|
|
|
23838
23742
|
const isLastConstraintRemoved = this.__previousHasConstraints && !hasConstraints;
|
|
23839
23743
|
|
|
23840
23744
|
if ((this._hasValue || this.invalid) && hasConstraints) {
|
|
23841
|
-
this.
|
|
23842
|
-
} else if (isLastConstraintRemoved
|
|
23745
|
+
this.validate();
|
|
23746
|
+
} else if (isLastConstraintRemoved) {
|
|
23843
23747
|
this._setInvalid(false);
|
|
23844
23748
|
}
|
|
23845
23749
|
|
|
@@ -23857,7 +23761,7 @@ const InputConstraintsMixin = dedupingMixin(
|
|
|
23857
23761
|
_onChange(event) {
|
|
23858
23762
|
event.stopPropagation();
|
|
23859
23763
|
|
|
23860
|
-
this.
|
|
23764
|
+
this.validate();
|
|
23861
23765
|
|
|
23862
23766
|
this.dispatchEvent(
|
|
23863
23767
|
new CustomEvent('change', {
|
|
@@ -24000,6 +23904,30 @@ const InputControlMixin = (superclass) =>
|
|
|
24000
23904
|
}
|
|
24001
23905
|
}
|
|
24002
23906
|
|
|
23907
|
+
/**
|
|
23908
|
+
* Override an event listener inherited from `InputMixin`
|
|
23909
|
+
* to capture native `change` event and make sure that
|
|
23910
|
+
* a new one is dispatched after validation runs.
|
|
23911
|
+
* @param {Event} event
|
|
23912
|
+
* @protected
|
|
23913
|
+
* @override
|
|
23914
|
+
*/
|
|
23915
|
+
_onChange(event) {
|
|
23916
|
+
event.stopPropagation();
|
|
23917
|
+
|
|
23918
|
+
this.validate();
|
|
23919
|
+
|
|
23920
|
+
this.dispatchEvent(
|
|
23921
|
+
new CustomEvent('change', {
|
|
23922
|
+
detail: {
|
|
23923
|
+
sourceEvent: event,
|
|
23924
|
+
},
|
|
23925
|
+
bubbles: event.bubbles,
|
|
23926
|
+
cancelable: event.cancelable,
|
|
23927
|
+
}),
|
|
23928
|
+
);
|
|
23929
|
+
}
|
|
23930
|
+
|
|
24003
23931
|
/**
|
|
24004
23932
|
* Override a method from `InputMixin`.
|
|
24005
23933
|
* @param {!HTMLElement} input
|
|
@@ -24335,62 +24263,6 @@ class VirtualKeyboardController {
|
|
|
24335
24263
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
24336
24264
|
*/
|
|
24337
24265
|
|
|
24338
|
-
const datePickerI18nDefaults = Object.freeze({
|
|
24339
|
-
monthNames: [
|
|
24340
|
-
'January',
|
|
24341
|
-
'February',
|
|
24342
|
-
'March',
|
|
24343
|
-
'April',
|
|
24344
|
-
'May',
|
|
24345
|
-
'June',
|
|
24346
|
-
'July',
|
|
24347
|
-
'August',
|
|
24348
|
-
'September',
|
|
24349
|
-
'October',
|
|
24350
|
-
'November',
|
|
24351
|
-
'December',
|
|
24352
|
-
],
|
|
24353
|
-
weekdays: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'],
|
|
24354
|
-
weekdaysShort: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
|
|
24355
|
-
firstDayOfWeek: 0,
|
|
24356
|
-
today: 'Today',
|
|
24357
|
-
cancel: 'Cancel',
|
|
24358
|
-
referenceDate: '',
|
|
24359
|
-
formatDate(d) {
|
|
24360
|
-
const yearStr = String(d.year).replace(/\d+/u, (y) => '0000'.substr(y.length) + y);
|
|
24361
|
-
return [d.month + 1, d.day, yearStr].join('/');
|
|
24362
|
-
},
|
|
24363
|
-
parseDate(text) {
|
|
24364
|
-
const parts = text.split('/');
|
|
24365
|
-
const today = new Date();
|
|
24366
|
-
let date,
|
|
24367
|
-
month = today.getMonth(),
|
|
24368
|
-
year = today.getFullYear();
|
|
24369
|
-
|
|
24370
|
-
if (parts.length === 3) {
|
|
24371
|
-
month = parseInt(parts[0]) - 1;
|
|
24372
|
-
date = parseInt(parts[1]);
|
|
24373
|
-
year = parseInt(parts[2]);
|
|
24374
|
-
if (parts[2].length < 3 && year >= 0) {
|
|
24375
|
-
const usedReferenceDate = this.referenceDate ? parseDate(this.referenceDate) : new Date();
|
|
24376
|
-
year = getAdjustedYear(usedReferenceDate, year, month, date);
|
|
24377
|
-
}
|
|
24378
|
-
} else if (parts.length === 2) {
|
|
24379
|
-
month = parseInt(parts[0]) - 1;
|
|
24380
|
-
date = parseInt(parts[1]);
|
|
24381
|
-
} else if (parts.length === 1) {
|
|
24382
|
-
date = parseInt(parts[0]);
|
|
24383
|
-
}
|
|
24384
|
-
|
|
24385
|
-
if (date !== undefined) {
|
|
24386
|
-
return { day: date, month, year };
|
|
24387
|
-
}
|
|
24388
|
-
},
|
|
24389
|
-
formatTitle: (monthName, fullYear) => {
|
|
24390
|
-
return `${monthName} ${fullYear}`;
|
|
24391
|
-
},
|
|
24392
|
-
});
|
|
24393
|
-
|
|
24394
24266
|
/**
|
|
24395
24267
|
* @polymerMixin
|
|
24396
24268
|
* @mixes ControllerMixin
|
|
@@ -24464,10 +24336,7 @@ const DatePickerMixin = (subclass) =>
|
|
|
24464
24336
|
* Set true to prevent the overlay from opening automatically.
|
|
24465
24337
|
* @attr {boolean} auto-open-disabled
|
|
24466
24338
|
*/
|
|
24467
|
-
autoOpenDisabled:
|
|
24468
|
-
type: Boolean,
|
|
24469
|
-
sync: true,
|
|
24470
|
-
},
|
|
24339
|
+
autoOpenDisabled: Boolean,
|
|
24471
24340
|
|
|
24472
24341
|
/**
|
|
24473
24342
|
* Set true to display ISO-8601 week numbers in the calendar. Notice that
|
|
@@ -24588,7 +24457,63 @@ const DatePickerMixin = (subclass) =>
|
|
|
24588
24457
|
i18n: {
|
|
24589
24458
|
type: Object,
|
|
24590
24459
|
sync: true,
|
|
24591
|
-
value: () =>
|
|
24460
|
+
value: () => {
|
|
24461
|
+
return {
|
|
24462
|
+
monthNames: [
|
|
24463
|
+
'January',
|
|
24464
|
+
'February',
|
|
24465
|
+
'March',
|
|
24466
|
+
'April',
|
|
24467
|
+
'May',
|
|
24468
|
+
'June',
|
|
24469
|
+
'July',
|
|
24470
|
+
'August',
|
|
24471
|
+
'September',
|
|
24472
|
+
'October',
|
|
24473
|
+
'November',
|
|
24474
|
+
'December',
|
|
24475
|
+
],
|
|
24476
|
+
weekdays: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'],
|
|
24477
|
+
weekdaysShort: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
|
|
24478
|
+
firstDayOfWeek: 0,
|
|
24479
|
+
today: 'Today',
|
|
24480
|
+
cancel: 'Cancel',
|
|
24481
|
+
referenceDate: '',
|
|
24482
|
+
formatDate(d) {
|
|
24483
|
+
const yearStr = String(d.year).replace(/\d+/u, (y) => '0000'.substr(y.length) + y);
|
|
24484
|
+
return [d.month + 1, d.day, yearStr].join('/');
|
|
24485
|
+
},
|
|
24486
|
+
parseDate(text) {
|
|
24487
|
+
const parts = text.split('/');
|
|
24488
|
+
const today = new Date();
|
|
24489
|
+
let date,
|
|
24490
|
+
month = today.getMonth(),
|
|
24491
|
+
year = today.getFullYear();
|
|
24492
|
+
|
|
24493
|
+
if (parts.length === 3) {
|
|
24494
|
+
month = parseInt(parts[0]) - 1;
|
|
24495
|
+
date = parseInt(parts[1]);
|
|
24496
|
+
year = parseInt(parts[2]);
|
|
24497
|
+
if (parts[2].length < 3 && year >= 0) {
|
|
24498
|
+
const usedReferenceDate = this.referenceDate ? parseDate(this.referenceDate) : new Date();
|
|
24499
|
+
year = getAdjustedYear(usedReferenceDate, year, month, date);
|
|
24500
|
+
}
|
|
24501
|
+
} else if (parts.length === 2) {
|
|
24502
|
+
month = parseInt(parts[0]) - 1;
|
|
24503
|
+
date = parseInt(parts[1]);
|
|
24504
|
+
} else if (parts.length === 1) {
|
|
24505
|
+
date = parseInt(parts[0]);
|
|
24506
|
+
}
|
|
24507
|
+
|
|
24508
|
+
if (date !== undefined) {
|
|
24509
|
+
return { day: date, month, year };
|
|
24510
|
+
}
|
|
24511
|
+
},
|
|
24512
|
+
formatTitle: (monthName, fullYear) => {
|
|
24513
|
+
return `${monthName} ${fullYear}`;
|
|
24514
|
+
},
|
|
24515
|
+
};
|
|
24516
|
+
},
|
|
24592
24517
|
},
|
|
24593
24518
|
|
|
24594
24519
|
/**
|
|
@@ -24673,10 +24598,18 @@ const DatePickerMixin = (subclass) =>
|
|
|
24673
24598
|
sync: true,
|
|
24674
24599
|
},
|
|
24675
24600
|
|
|
24676
|
-
/**
|
|
24677
|
-
|
|
24678
|
-
|
|
24679
|
-
|
|
24601
|
+
/**
|
|
24602
|
+
* In date-picker, unlike other components extending `InputMixin`,
|
|
24603
|
+
* the property indicates true only if the input has been entered by the user.
|
|
24604
|
+
* In the case of programmatic changes, the property is reset to false.
|
|
24605
|
+
* Read more about why this workaround is needed:
|
|
24606
|
+
* https://github.com/vaadin/web-components/issues/5639
|
|
24607
|
+
*
|
|
24608
|
+
* @protected
|
|
24609
|
+
* @override
|
|
24610
|
+
*/
|
|
24611
|
+
_hasInputValue: {
|
|
24612
|
+
type: Boolean,
|
|
24680
24613
|
},
|
|
24681
24614
|
};
|
|
24682
24615
|
}
|
|
@@ -24685,7 +24618,7 @@ const DatePickerMixin = (subclass) =>
|
|
|
24685
24618
|
return [
|
|
24686
24619
|
'_selectedDateChanged(_selectedDate, i18n)',
|
|
24687
24620
|
'_focusedDateChanged(_focusedDate, i18n)',
|
|
24688
|
-
'__updateOverlayContent(_overlayContent, i18n, label, _minDate, _maxDate, _focusedDate, _selectedDate, showWeekNumbers, isDateDisabled
|
|
24621
|
+
'__updateOverlayContent(_overlayContent, i18n, label, _minDate, _maxDate, _focusedDate, _selectedDate, showWeekNumbers, isDateDisabled)',
|
|
24689
24622
|
'__updateOverlayContentTheme(_overlayContent, _theme)',
|
|
24690
24623
|
'__updateOverlayContentFullScreen(_overlayContent, _fullscreen)',
|
|
24691
24624
|
];
|
|
@@ -24703,17 +24636,28 @@ const DatePickerMixin = (subclass) =>
|
|
|
24703
24636
|
this._boundOverlayRenderer = this._overlayRenderer.bind(this);
|
|
24704
24637
|
}
|
|
24705
24638
|
|
|
24706
|
-
/**
|
|
24639
|
+
/**
|
|
24640
|
+
* @override
|
|
24641
|
+
* @protected
|
|
24642
|
+
*/
|
|
24707
24643
|
get _inputElementValue() {
|
|
24708
24644
|
return super._inputElementValue;
|
|
24709
24645
|
}
|
|
24710
24646
|
|
|
24711
|
-
/**
|
|
24647
|
+
/**
|
|
24648
|
+
* The setter is overridden to reset the `_hasInputValue` property
|
|
24649
|
+
* to false when the input element's value is updated programmatically.
|
|
24650
|
+
* In date-picker, `_hasInputValue` is supposed to indicate true only
|
|
24651
|
+
* if the input has been entered by the user.
|
|
24652
|
+
* Read more about why this workaround is needed:
|
|
24653
|
+
* https://github.com/vaadin/web-components/issues/5639
|
|
24654
|
+
*
|
|
24655
|
+
* @override
|
|
24656
|
+
* @protected
|
|
24657
|
+
*/
|
|
24712
24658
|
set _inputElementValue(value) {
|
|
24713
24659
|
super._inputElementValue = value;
|
|
24714
|
-
|
|
24715
|
-
const parsedDate = this.__parseDate(value);
|
|
24716
|
-
this.__setEnteredDate(parsedDate);
|
|
24660
|
+
this._hasInputValue = false;
|
|
24717
24661
|
}
|
|
24718
24662
|
|
|
24719
24663
|
/**
|
|
@@ -24775,7 +24719,7 @@ const DatePickerMixin = (subclass) =>
|
|
|
24775
24719
|
// Do not validate when focusout is caused by document
|
|
24776
24720
|
// losing focus, which happens on browser tab switch.
|
|
24777
24721
|
if (document.hasFocus()) {
|
|
24778
|
-
this.
|
|
24722
|
+
this.validate();
|
|
24779
24723
|
}
|
|
24780
24724
|
}
|
|
24781
24725
|
}
|
|
@@ -24920,8 +24864,13 @@ const DatePickerMixin = (subclass) =>
|
|
|
24920
24864
|
!this._selectedDate || dateAllowed(this._selectedDate, this._minDate, this._maxDate, this.isDateDisabled);
|
|
24921
24865
|
|
|
24922
24866
|
let inputValidity = true;
|
|
24923
|
-
if (this.inputElement
|
|
24924
|
-
|
|
24867
|
+
if (this.inputElement) {
|
|
24868
|
+
if (this.inputElement.checkValidity) {
|
|
24869
|
+
inputValidity = this.inputElement.checkValidity();
|
|
24870
|
+
} else if (this.inputElement.validate) {
|
|
24871
|
+
// Iron-form-elements have the validate API
|
|
24872
|
+
inputValidity = this.inputElement.validate();
|
|
24873
|
+
}
|
|
24925
24874
|
}
|
|
24926
24875
|
|
|
24927
24876
|
return inputValid && isDateValid && inputValidity;
|
|
@@ -25008,10 +24957,10 @@ const DatePickerMixin = (subclass) =>
|
|
|
25008
24957
|
const unparsableValue = this.__unparsableValue;
|
|
25009
24958
|
|
|
25010
24959
|
if (this.__committedValue !== this.value) {
|
|
25011
|
-
this.
|
|
24960
|
+
this.validate();
|
|
25012
24961
|
this.dispatchEvent(new CustomEvent('change', { bubbles: true }));
|
|
25013
24962
|
} else if (this.__committedUnparsableValue !== unparsableValue) {
|
|
25014
|
-
this.
|
|
24963
|
+
this.validate();
|
|
25015
24964
|
this.dispatchEvent(new CustomEvent('unparsable-change'));
|
|
25016
24965
|
}
|
|
25017
24966
|
|
|
@@ -25140,7 +25089,7 @@ const DatePickerMixin = (subclass) =>
|
|
|
25140
25089
|
|
|
25141
25090
|
if (oldValue !== undefined) {
|
|
25142
25091
|
// Validate only if `value` changes after initialization.
|
|
25143
|
-
this.
|
|
25092
|
+
this.validate();
|
|
25144
25093
|
}
|
|
25145
25094
|
}
|
|
25146
25095
|
} else {
|
|
@@ -25167,7 +25116,6 @@ const DatePickerMixin = (subclass) =>
|
|
|
25167
25116
|
selectedDate,
|
|
25168
25117
|
showWeekNumbers,
|
|
25169
25118
|
isDateDisabled,
|
|
25170
|
-
enteredDate,
|
|
25171
25119
|
) {
|
|
25172
25120
|
if (overlayContent) {
|
|
25173
25121
|
overlayContent.i18n = i18n;
|
|
@@ -25178,7 +25126,6 @@ const DatePickerMixin = (subclass) =>
|
|
|
25178
25126
|
overlayContent.selectedDate = selectedDate;
|
|
25179
25127
|
overlayContent.showWeekNumbers = showWeekNumbers;
|
|
25180
25128
|
overlayContent.isDateDisabled = isDateDisabled;
|
|
25181
|
-
overlayContent.enteredDate = enteredDate;
|
|
25182
25129
|
}
|
|
25183
25130
|
}
|
|
25184
25131
|
|
|
@@ -25308,7 +25255,7 @@ const DatePickerMixin = (subclass) =>
|
|
|
25308
25255
|
// Needed in case the value was not changed: open and close dropdown,
|
|
25309
25256
|
// especially on outside click. On Esc key press, do not validate.
|
|
25310
25257
|
if (!this.value && !this._keyboardActive) {
|
|
25311
|
-
this.
|
|
25258
|
+
this.validate();
|
|
25312
25259
|
}
|
|
25313
25260
|
}
|
|
25314
25261
|
|
|
@@ -25500,32 +25447,15 @@ const DatePickerMixin = (subclass) =>
|
|
|
25500
25447
|
this.open();
|
|
25501
25448
|
}
|
|
25502
25449
|
|
|
25503
|
-
|
|
25504
|
-
|
|
25505
|
-
|
|
25506
|
-
|
|
25507
|
-
this._focusedDate
|
|
25508
|
-
|
|
25509
|
-
|
|
25510
|
-
|
|
25511
|
-
|
|
25512
|
-
this.__setEnteredDate(parsedDate);
|
|
25513
|
-
}
|
|
25514
|
-
|
|
25515
|
-
/**
|
|
25516
|
-
* @param {Date} date
|
|
25517
|
-
* @private
|
|
25518
|
-
*/
|
|
25519
|
-
__setEnteredDate(date) {
|
|
25520
|
-
if (date) {
|
|
25521
|
-
if (!dateEquals(this.__enteredDate, date)) {
|
|
25522
|
-
this.__enteredDate = date;
|
|
25450
|
+
if (this._inputElementValue) {
|
|
25451
|
+
const parsedDate = this.__parseDate(this._inputElementValue);
|
|
25452
|
+
if (parsedDate) {
|
|
25453
|
+
this._ignoreFocusedDateChange = true;
|
|
25454
|
+
if (!dateEquals(parsedDate, this._focusedDate)) {
|
|
25455
|
+
this._focusedDate = parsedDate;
|
|
25456
|
+
}
|
|
25457
|
+
this._ignoreFocusedDateChange = false;
|
|
25523
25458
|
}
|
|
25524
|
-
} else if (this.__enteredDate != null) {
|
|
25525
|
-
// Do not override initial undefined value with null
|
|
25526
|
-
// to avoid triggering a Lit update that can cause
|
|
25527
|
-
// other scheduled properties to flush too early.
|
|
25528
|
-
this.__enteredDate = null;
|
|
25529
25459
|
}
|
|
25530
25460
|
}
|
|
25531
25461
|
|
|
@@ -25809,7 +25739,6 @@ class DatePicker extends DatePickerMixin(InputControlMixin(ThemableMixin(Element
|
|
|
25809
25739
|
|
|
25810
25740
|
/** @private */
|
|
25811
25741
|
_onVaadinOverlayClose(e) {
|
|
25812
|
-
// Prevent closing the overlay on label element click
|
|
25813
25742
|
if (e.detail.sourceEvent && e.detail.sourceEvent.composedPath().includes(this)) {
|
|
25814
25743
|
e.preventDefault();
|
|
25815
25744
|
}
|
|
@@ -30914,16 +30843,6 @@ const DateInput = class {
|
|
|
30914
30843
|
registerInstance(this, hostRef);
|
|
30915
30844
|
this.sendValidityState = createEvent(this, "sendValidityState", 7);
|
|
30916
30845
|
this.sendInputValue = createEvent(this, "sendInputValue", 7);
|
|
30917
|
-
/**
|
|
30918
|
-
* Client custom styling via inline style
|
|
30919
|
-
*/
|
|
30920
|
-
this.clientStyling = '';
|
|
30921
|
-
/**
|
|
30922
|
-
* Emit event on click
|
|
30923
|
-
*/
|
|
30924
|
-
this.emitOnClick = false;
|
|
30925
|
-
this.limitStylingAppends = false;
|
|
30926
|
-
this.showTooltip = false;
|
|
30927
30846
|
this.touched = false;
|
|
30928
30847
|
this.formatDate = (dateParts) => {
|
|
30929
30848
|
const { year, month, day } = dateParts;
|
|
@@ -30944,6 +30863,26 @@ const DateInput = class {
|
|
|
30944
30863
|
sheet.innerHTML = this.clientStyling;
|
|
30945
30864
|
this.stylingContainer.prepend(sheet);
|
|
30946
30865
|
};
|
|
30866
|
+
this.name = undefined;
|
|
30867
|
+
this.displayName = undefined;
|
|
30868
|
+
this.placeholder = undefined;
|
|
30869
|
+
this.validation = undefined;
|
|
30870
|
+
this.defaultValue = undefined;
|
|
30871
|
+
this.autofilled = undefined;
|
|
30872
|
+
this.tooltip = undefined;
|
|
30873
|
+
this.language = undefined;
|
|
30874
|
+
this.emitValue = undefined;
|
|
30875
|
+
this.clientStyling = '';
|
|
30876
|
+
this.dateFormat = undefined;
|
|
30877
|
+
this.emitOnClick = false;
|
|
30878
|
+
this.errorMessage = undefined;
|
|
30879
|
+
this.isValid = undefined;
|
|
30880
|
+
this.limitStylingAppends = false;
|
|
30881
|
+
this.showTooltip = false;
|
|
30882
|
+
}
|
|
30883
|
+
handleStylingChange(newValue, oldValue) {
|
|
30884
|
+
if (newValue !== oldValue)
|
|
30885
|
+
this.setClientStyling();
|
|
30947
30886
|
}
|
|
30948
30887
|
validityChanged() {
|
|
30949
30888
|
this.validityStateHandler({ valid: this.isValid, name: this.name });
|
|
@@ -31041,11 +30980,12 @@ const DateInput = class {
|
|
|
31041
30980
|
if (this.touched) {
|
|
31042
30981
|
invalidClass = this.isValid == true || this.isValid == undefined ? '' : 'text__input--invalid';
|
|
31043
30982
|
}
|
|
31044
|
-
return h$3("div", { key: '
|
|
31045
|
-
h$3("img", { key: '
|
|
30983
|
+
return h$3("div", { key: 'ad6360e0afb065a91f860574f5e3c08f5bdb2534', class: `date__wrapper ${this.autofilled ? 'date__wrapper--autofilled' : ''} ${this.name}__input`, ref: el => this.stylingContainer = el }, h$3("label", { key: '3e8d26e0c8ae0983997b84e95cb34887df1f5fe5', class: `date__label ${this.validation.mandatory ? 'date__label--required' : ''}}`, htmlFor: `${this.name}__input` }, this.displayName, " ", this.validation.mandatory ? '*' : ''), h$3("vaadin-date-picker", { key: '62ee430506c2ab1a5ebb632d72e84ef905296888', id: `${this.name}__input`, type: 'date', class: `date__input ${invalidClass}`, value: this.defaultValue, readOnly: this.autofilled, placeholder: `${this.placeholder}`, required: this.validation.mandatory, max: this.validation.max, min: this.validation.min, onChange: (e) => this.handleInput(e), onBlur: this.handleBlur }), h$3("small", { key: '6b7c0e9c3437b484bd534060f93ad4fcd9eaeb60', class: 'date__error-message' }, this.errorMessage), this.tooltip &&
|
|
30984
|
+
h$3("img", { key: '6479b29563710abfe1be584c9de110fafe69ca3d', class: 'date__tooltip-icon', src: tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip());
|
|
31046
30985
|
}
|
|
31047
30986
|
get element() { return getElement(this); }
|
|
31048
30987
|
static get watchers() { return {
|
|
30988
|
+
"clientStyling": ["handleStylingChange"],
|
|
31049
30989
|
"isValid": ["validityChanged"],
|
|
31050
30990
|
"emitValue": ["emitValueHandler"]
|
|
31051
30991
|
}; }
|
|
@@ -31060,12 +31000,6 @@ const EmailInput = class {
|
|
|
31060
31000
|
registerInstance(this, hostRef);
|
|
31061
31001
|
this.sendValidityState = createEvent(this, "sendValidityState", 7);
|
|
31062
31002
|
this.sendInputValue = createEvent(this, "sendInputValue", 7);
|
|
31063
|
-
/**
|
|
31064
|
-
* Client custom styling via inline style
|
|
31065
|
-
*/
|
|
31066
|
-
this.clientStyling = '';
|
|
31067
|
-
this.limitStylingAppends = false;
|
|
31068
|
-
this.showTooltip = false;
|
|
31069
31003
|
this.validationPattern = '';
|
|
31070
31004
|
this.touched = false;
|
|
31071
31005
|
this.handleInput = (event) => {
|
|
@@ -31090,6 +31024,25 @@ const EmailInput = class {
|
|
|
31090
31024
|
sheet.innerHTML = this.clientStyling;
|
|
31091
31025
|
this.stylingContainer.prepend(sheet);
|
|
31092
31026
|
};
|
|
31027
|
+
this.name = undefined;
|
|
31028
|
+
this.displayName = undefined;
|
|
31029
|
+
this.placeholder = undefined;
|
|
31030
|
+
this.validation = undefined;
|
|
31031
|
+
this.defaultValue = undefined;
|
|
31032
|
+
this.autofilled = undefined;
|
|
31033
|
+
this.tooltip = undefined;
|
|
31034
|
+
this.language = undefined;
|
|
31035
|
+
this.emitValue = undefined;
|
|
31036
|
+
this.isDuplicateInput = undefined;
|
|
31037
|
+
this.clientStyling = '';
|
|
31038
|
+
this.errorMessage = undefined;
|
|
31039
|
+
this.isValid = undefined;
|
|
31040
|
+
this.limitStylingAppends = false;
|
|
31041
|
+
this.showTooltip = false;
|
|
31042
|
+
}
|
|
31043
|
+
handleStylingChange(newValue, oldValue) {
|
|
31044
|
+
if (newValue !== oldValue)
|
|
31045
|
+
this.setClientStyling();
|
|
31093
31046
|
}
|
|
31094
31047
|
validityChanged() {
|
|
31095
31048
|
this.validityStateHandler({ valid: this.isValid, name: this.name });
|
|
@@ -31179,10 +31132,11 @@ const EmailInput = class {
|
|
|
31179
31132
|
if (this.touched) {
|
|
31180
31133
|
invalidClass = this.isValid == true || this.isValid == undefined ? '' : 'text__input--invalid';
|
|
31181
31134
|
}
|
|
31182
|
-
return h$3("div", { key: '
|
|
31183
|
-
h$3("img", { key: '
|
|
31135
|
+
return h$3("div", { key: 'a46093cfafc840d2fd563ee9676ccd2f16fb1620', class: `email__wrapper ${this.autofilled ? 'number__wrapper--autofilled' : ''} ${this.name}__input`, ref: el => this.stylingContainer = el }, h$3("div", { key: '2eab4a96efc36cdb94e9f92b2a161e208f0ebcd4', class: 'email__wrapper--flex' }, h$3("label", { key: 'f5ed857f61ea6763c5fe88590732258b4dedac1b', class: `email__label ${this.validation.mandatory ? 'email__label--required' : ''}`, htmlFor: `${this.name}__input` }, this.displayName), h$3("div", { key: '58cadc7857cd91dec968852be71e0108f55fbda7', class: 'email__wrapper--relative' }, this.tooltip &&
|
|
31136
|
+
h$3("img", { key: '03009d036fde1c36b9348ac45cefa3389194260c', class: 'email__tooltip-icon', src: tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), h$3("input", { key: 'b2a9fd96ed301df5f1d7cf6f5a2a5b52f96ab189', id: `${this.name}__input`, type: 'email', class: `email__input ${invalidClass}`, value: this.defaultValue, readOnly: this.autofilled, placeholder: `${this.placeholder}`, ref: (el) => this.inputReference = el, pattern: this.validationPattern, required: this.validation.mandatory, minlength: this.validation.minLength, maxlength: this.validation.maxLength, onInput: this.handleInput, onBlur: this.handleBlur }), h$3("small", { key: 'edb17f53141a3406bfc657f80098b914044a8894', class: 'email__error-message' }, this.errorMessage));
|
|
31184
31137
|
}
|
|
31185
31138
|
static get watchers() { return {
|
|
31139
|
+
"clientStyling": ["handleStylingChange"],
|
|
31186
31140
|
"isValid": ["validityChanged"],
|
|
31187
31141
|
"emitValue": ["emitValueHandler"]
|
|
31188
31142
|
}; }
|
|
@@ -31195,28 +31149,29 @@ const GeneralInputStyle0 = generalInputCss;
|
|
|
31195
31149
|
const GeneralInput = class {
|
|
31196
31150
|
constructor(hostRef) {
|
|
31197
31151
|
registerInstance(this, hostRef);
|
|
31198
|
-
/**
|
|
31199
|
-
* Type the general-input should take. Can take the default HTML input values.
|
|
31200
|
-
*/
|
|
31201
|
-
this.type = 'text';
|
|
31202
|
-
/**
|
|
31203
|
-
* Client custom styling via inline style
|
|
31204
|
-
*/
|
|
31205
|
-
this.clientStyling = '';
|
|
31206
|
-
/**
|
|
31207
|
-
* Translations via URL
|
|
31208
|
-
*/
|
|
31209
|
-
this.translationUrl = '';
|
|
31210
|
-
/**
|
|
31211
|
-
* Emit event on click
|
|
31212
|
-
*/
|
|
31213
|
-
this.emitOnClick = false;
|
|
31214
31152
|
this.handleClick = (event) => {
|
|
31215
31153
|
if (this.emitOnClick) {
|
|
31216
31154
|
event.stopPropagation();
|
|
31217
31155
|
window.postMessage({ type: `registration${this.name}Clicked` }, window.location.href);
|
|
31218
31156
|
}
|
|
31219
31157
|
};
|
|
31158
|
+
this.type = 'text';
|
|
31159
|
+
this.name = undefined;
|
|
31160
|
+
this.displayName = undefined;
|
|
31161
|
+
this.placeholder = undefined;
|
|
31162
|
+
this.action = undefined;
|
|
31163
|
+
this.validation = undefined;
|
|
31164
|
+
this.options = undefined;
|
|
31165
|
+
this.language = undefined;
|
|
31166
|
+
this.autofilled = undefined;
|
|
31167
|
+
this.tooltip = undefined;
|
|
31168
|
+
this.defaultValue = undefined;
|
|
31169
|
+
this.emitValue = undefined;
|
|
31170
|
+
this.isDuplicateInput = undefined;
|
|
31171
|
+
this.clientStyling = '';
|
|
31172
|
+
this.dateFormat = undefined;
|
|
31173
|
+
this.translationUrl = '';
|
|
31174
|
+
this.emitOnClick = false;
|
|
31220
31175
|
}
|
|
31221
31176
|
connectedCallback() {
|
|
31222
31177
|
if (this.translationUrl) {
|
|
@@ -32326,7 +32281,7 @@ function _t$1(t, e, n) {
|
|
|
32326
32281
|
t.$$.on_destroy.push(D$1(e, n));
|
|
32327
32282
|
}
|
|
32328
32283
|
function gt$1(t) {
|
|
32329
|
-
return t;
|
|
32284
|
+
return t ?? "";
|
|
32330
32285
|
}
|
|
32331
32286
|
function G(t, e) {
|
|
32332
32287
|
t.appendChild(e);
|
|
@@ -32335,11 +32290,12 @@ function I(t, e, n) {
|
|
|
32335
32290
|
const s = F(t);
|
|
32336
32291
|
if (!s.getElementById(e)) {
|
|
32337
32292
|
const i = w$1("style");
|
|
32338
|
-
i.id = e, i.textContent = n, J(s, i);
|
|
32293
|
+
i.id = e, i.textContent = n, J$1(s, i);
|
|
32339
32294
|
}
|
|
32340
32295
|
}
|
|
32341
32296
|
function F(t) {
|
|
32342
|
-
if (!t)
|
|
32297
|
+
if (!t)
|
|
32298
|
+
return document;
|
|
32343
32299
|
const e = t.getRootNode ? t.getRootNode() : t.ownerDocument;
|
|
32344
32300
|
return e && /** @type {ShadowRoot} */
|
|
32345
32301
|
e.host ? (
|
|
@@ -32347,14 +32303,14 @@ function F(t) {
|
|
|
32347
32303
|
e
|
|
32348
32304
|
) : t.ownerDocument;
|
|
32349
32305
|
}
|
|
32350
|
-
function J(t, e) {
|
|
32306
|
+
function J$1(t, e) {
|
|
32351
32307
|
return G(
|
|
32352
32308
|
/** @type {Document} */
|
|
32353
32309
|
t.head || t,
|
|
32354
32310
|
e
|
|
32355
32311
|
), e.sheet;
|
|
32356
32312
|
}
|
|
32357
|
-
function
|
|
32313
|
+
function v(t, e, n) {
|
|
32358
32314
|
t.insertBefore(e, n || null);
|
|
32359
32315
|
}
|
|
32360
32316
|
function y(t) {
|
|
@@ -32396,7 +32352,7 @@ function Et$1(t, e) {
|
|
|
32396
32352
|
e = "" + e, t.data !== e && (t.data = /** @type {string} */
|
|
32397
32353
|
e);
|
|
32398
32354
|
}
|
|
32399
|
-
class Lt
|
|
32355
|
+
class Lt {
|
|
32400
32356
|
/**
|
|
32401
32357
|
* @private
|
|
32402
32358
|
* @default false
|
|
@@ -32451,7 +32407,7 @@ class Lt$1 {
|
|
|
32451
32407
|
* @returns {void} */
|
|
32452
32408
|
i(e) {
|
|
32453
32409
|
for (let n = 0; n < this.n.length; n += 1)
|
|
32454
|
-
|
|
32410
|
+
v(this.t, this.n[n], e);
|
|
32455
32411
|
}
|
|
32456
32412
|
/**
|
|
32457
32413
|
* @param {string} html
|
|
@@ -32466,7 +32422,7 @@ class Lt$1 {
|
|
|
32466
32422
|
this.n.forEach(y);
|
|
32467
32423
|
}
|
|
32468
32424
|
}
|
|
32469
|
-
function K(t) {
|
|
32425
|
+
function K$1(t) {
|
|
32470
32426
|
const e = {};
|
|
32471
32427
|
return t.childNodes.forEach(
|
|
32472
32428
|
/** @param {Element} node */
|
|
@@ -32479,22 +32435,23 @@ let g;
|
|
|
32479
32435
|
function m(t) {
|
|
32480
32436
|
g = t;
|
|
32481
32437
|
}
|
|
32482
|
-
function Q
|
|
32483
|
-
if (!g)
|
|
32438
|
+
function Q() {
|
|
32439
|
+
if (!g)
|
|
32440
|
+
throw new Error("Function called outside component initialization");
|
|
32484
32441
|
return g;
|
|
32485
32442
|
}
|
|
32486
32443
|
function W(t) {
|
|
32487
|
-
Q
|
|
32444
|
+
Q().$$.on_mount.push(t);
|
|
32488
32445
|
}
|
|
32489
32446
|
const h = [], E = [];
|
|
32490
|
-
let
|
|
32447
|
+
let $ = [];
|
|
32491
32448
|
const j = [], X = /* @__PURE__ */ Promise.resolve();
|
|
32492
32449
|
let L = !1;
|
|
32493
32450
|
function Y$1() {
|
|
32494
32451
|
L || (L = !0, X.then(_));
|
|
32495
32452
|
}
|
|
32496
|
-
function
|
|
32497
|
-
|
|
32453
|
+
function k(t) {
|
|
32454
|
+
$.push(t);
|
|
32498
32455
|
}
|
|
32499
32456
|
const x = /* @__PURE__ */ new Set();
|
|
32500
32457
|
let a = 0;
|
|
@@ -32506,50 +32463,51 @@ function _() {
|
|
|
32506
32463
|
try {
|
|
32507
32464
|
for (; a < h.length; ) {
|
|
32508
32465
|
const e = h[a];
|
|
32509
|
-
a++, m(e), Z
|
|
32466
|
+
a++, m(e), Z(e.$$);
|
|
32510
32467
|
}
|
|
32511
32468
|
} catch (e) {
|
|
32512
32469
|
throw h.length = 0, a = 0, e;
|
|
32513
32470
|
}
|
|
32514
|
-
for (m(null), h.length = 0, a = 0; E.length; )
|
|
32515
|
-
|
|
32516
|
-
|
|
32471
|
+
for (m(null), h.length = 0, a = 0; E.length; )
|
|
32472
|
+
E.pop()();
|
|
32473
|
+
for (let e = 0; e < $.length; e += 1) {
|
|
32474
|
+
const n = $[e];
|
|
32517
32475
|
x.has(n) || (x.add(n), n());
|
|
32518
32476
|
}
|
|
32519
|
-
|
|
32477
|
+
$.length = 0;
|
|
32520
32478
|
} while (h.length);
|
|
32521
32479
|
for (; j.length; )
|
|
32522
32480
|
j.pop()();
|
|
32523
32481
|
L = !1, x.clear(), m(t);
|
|
32524
32482
|
}
|
|
32525
|
-
function Z
|
|
32483
|
+
function Z(t) {
|
|
32526
32484
|
if (t.fragment !== null) {
|
|
32527
32485
|
t.update(), p(t.before_update);
|
|
32528
32486
|
const e = t.dirty;
|
|
32529
|
-
t.dirty = [-1], t.fragment && t.fragment.p(t.ctx, e), t.after_update.forEach(
|
|
32487
|
+
t.dirty = [-1], t.fragment && t.fragment.p(t.ctx, e), t.after_update.forEach(k);
|
|
32530
32488
|
}
|
|
32531
32489
|
}
|
|
32532
|
-
function tt(t) {
|
|
32490
|
+
function tt$1(t) {
|
|
32533
32491
|
const e = [], n = [];
|
|
32534
|
-
|
|
32492
|
+
$.forEach((s) => t.indexOf(s) === -1 ? e.push(s) : n.push(s)), n.forEach((s) => s()), $ = e;
|
|
32535
32493
|
}
|
|
32536
|
-
const et = /* @__PURE__ */ new Set();
|
|
32494
|
+
const et$1 = /* @__PURE__ */ new Set();
|
|
32537
32495
|
function nt(t, e) {
|
|
32538
|
-
t && t.i && (et.delete(t), t.i(e));
|
|
32496
|
+
t && t.i && (et$1.delete(t), t.i(e));
|
|
32539
32497
|
}
|
|
32540
|
-
function
|
|
32498
|
+
function kt$1(t) {
|
|
32541
32499
|
return t?.length !== void 0 ? t : Array.from(t);
|
|
32542
32500
|
}
|
|
32543
32501
|
function st$1(t, e, n) {
|
|
32544
32502
|
const { fragment: s, after_update: i } = t.$$;
|
|
32545
|
-
s && s.m(e, n),
|
|
32503
|
+
s && s.m(e, n), k(() => {
|
|
32546
32504
|
const r = t.$$.on_mount.map(M).filter(O);
|
|
32547
32505
|
t.$$.on_destroy ? t.$$.on_destroy.push(...r) : p(r), t.$$.on_mount = [];
|
|
32548
|
-
}), i.forEach(
|
|
32506
|
+
}), i.forEach(k);
|
|
32549
32507
|
}
|
|
32550
|
-
function it
|
|
32508
|
+
function it(t, e) {
|
|
32551
32509
|
const n = t.$$;
|
|
32552
|
-
n.fragment !== null && (tt(n.after_update), p(n.on_destroy), n.fragment && n.fragment.d(e), n.on_destroy = n.fragment = null, n.ctx = []);
|
|
32510
|
+
n.fragment !== null && (tt$1(n.after_update), p(n.on_destroy), n.fragment && n.fragment.d(e), n.on_destroy = n.fragment = null, n.ctx = []);
|
|
32553
32511
|
}
|
|
32554
32512
|
function rt(t, e) {
|
|
32555
32513
|
t.$$.dirty[0] === -1 && (h.push(t), Y$1(), t.$$.dirty.fill(0)), t.$$.dirty[e / 31 | 0] |= 1 << e % 31;
|
|
@@ -32643,7 +32601,7 @@ typeof HTMLElement == "function" && (H$1 = class extends HTMLElement {
|
|
|
32643
32601
|
* @param {HTMLElement} [anchor]
|
|
32644
32602
|
*/
|
|
32645
32603
|
m: function(c, u) {
|
|
32646
|
-
|
|
32604
|
+
v(c, r, u);
|
|
32647
32605
|
},
|
|
32648
32606
|
d: function(c) {
|
|
32649
32607
|
c && y(r);
|
|
@@ -32653,7 +32611,7 @@ typeof HTMLElement == "function" && (H$1 = class extends HTMLElement {
|
|
|
32653
32611
|
};
|
|
32654
32612
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
32655
32613
|
return;
|
|
32656
|
-
const e = {}, n = K(this);
|
|
32614
|
+
const e = {}, n = K$1(this);
|
|
32657
32615
|
for (const i of this.$$s)
|
|
32658
32616
|
i in n && (e[i] = [t(i)]);
|
|
32659
32617
|
for (const i of this.attributes) {
|
|
@@ -32740,7 +32698,7 @@ function b(t, e, n, s) {
|
|
|
32740
32698
|
return e;
|
|
32741
32699
|
}
|
|
32742
32700
|
}
|
|
32743
|
-
function ot
|
|
32701
|
+
function ot(t, e, n, s, i, r) {
|
|
32744
32702
|
let o = class extends H$1 {
|
|
32745
32703
|
constructor() {
|
|
32746
32704
|
super(t, n, i), this.$$p_d = e;
|
|
@@ -32788,7 +32746,7 @@ class lt$1 {
|
|
|
32788
32746
|
$$set = void 0;
|
|
32789
32747
|
/** @returns {void} */
|
|
32790
32748
|
$destroy() {
|
|
32791
|
-
it
|
|
32749
|
+
it(this, 1), this.$destroy = d;
|
|
32792
32750
|
}
|
|
32793
32751
|
/**
|
|
32794
32752
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -32830,7 +32788,7 @@ function dt$1(t, e) {
|
|
|
32830
32788
|
console.error("There was an error while trying to load client styling from URL", s);
|
|
32831
32789
|
});
|
|
32832
32790
|
}
|
|
32833
|
-
function at
|
|
32791
|
+
function at(t, e, n) {
|
|
32834
32792
|
if (window.emMessageBus) {
|
|
32835
32793
|
const s = document.createElement("style");
|
|
32836
32794
|
window.emMessageBus.subscribe(e, (i) => {
|
|
@@ -32848,7 +32806,7 @@ function $t$1(t) {
|
|
|
32848
32806
|
e = w$1("div"), e.innerHTML = '<section class="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>';
|
|
32849
32807
|
},
|
|
32850
32808
|
m(n, s) {
|
|
32851
|
-
|
|
32809
|
+
v(n, e, s), t[4](e);
|
|
32852
32810
|
},
|
|
32853
32811
|
p: d,
|
|
32854
32812
|
i: d,
|
|
@@ -32873,7 +32831,7 @@ function mt$1(t, e, n) {
|
|
|
32873
32831
|
t.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
32874
32832
|
3 && s && o && ft$1(o, s), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
32875
32833
|
5 && i && o && dt$1(o, i), t.$$.dirty & /*mbsource, customStylingContainer*/
|
|
32876
|
-
9 && r && o && at
|
|
32834
|
+
9 && r && o && at(o, `${r}.Style`);
|
|
32877
32835
|
}, [
|
|
32878
32836
|
o,
|
|
32879
32837
|
s,
|
|
@@ -32917,29 +32875,29 @@ class R extends lt$1 {
|
|
|
32917
32875
|
this.$$set({ mbsource: e }), _();
|
|
32918
32876
|
}
|
|
32919
32877
|
}
|
|
32920
|
-
ot
|
|
32921
|
-
const
|
|
32878
|
+
ot(R, { clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
|
|
32879
|
+
const vt$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
32922
32880
|
__proto__: null,
|
|
32923
32881
|
default: R
|
|
32924
32882
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
32925
32883
|
|
|
32926
|
-
const
|
|
32884
|
+
const GeneralAnimationLoadingBMZE178n = /*#__PURE__*/Object.freeze({
|
|
32927
32885
|
__proto__: null,
|
|
32928
|
-
A:
|
|
32929
|
-
B:
|
|
32930
|
-
C:
|
|
32931
|
-
D:
|
|
32932
|
-
G:
|
|
32933
|
-
H: Lt
|
|
32886
|
+
A: wt$1,
|
|
32887
|
+
B: P,
|
|
32888
|
+
C: Et$1,
|
|
32889
|
+
D: xt$1,
|
|
32890
|
+
G: vt$1,
|
|
32891
|
+
H: Lt,
|
|
32934
32892
|
S: lt$1,
|
|
32935
|
-
a:
|
|
32893
|
+
a: z,
|
|
32936
32894
|
b: ct$1,
|
|
32937
|
-
c: ot
|
|
32938
|
-
d:
|
|
32939
|
-
e:
|
|
32940
|
-
f:
|
|
32941
|
-
g:
|
|
32942
|
-
h:
|
|
32895
|
+
c: ot,
|
|
32896
|
+
d: V,
|
|
32897
|
+
e: B$1,
|
|
32898
|
+
f: v,
|
|
32899
|
+
g: G,
|
|
32900
|
+
h: y,
|
|
32943
32901
|
i: O,
|
|
32944
32902
|
j: _,
|
|
32945
32903
|
k: I,
|
|
@@ -32947,37 +32905,37 @@ const GeneralAnimationLoadingC74Ex5kT = /*#__PURE__*/Object.freeze({
|
|
|
32947
32905
|
m: _t$1,
|
|
32948
32906
|
n: d,
|
|
32949
32907
|
o: W,
|
|
32950
|
-
p:
|
|
32951
|
-
q:
|
|
32908
|
+
p: dt$1,
|
|
32909
|
+
q: gt$1,
|
|
32952
32910
|
r: p,
|
|
32953
|
-
s:
|
|
32954
|
-
t:
|
|
32955
|
-
u:
|
|
32956
|
-
v:
|
|
32957
|
-
w:
|
|
32958
|
-
x:
|
|
32911
|
+
s: D$1,
|
|
32912
|
+
t: E,
|
|
32913
|
+
u: ft$1,
|
|
32914
|
+
v: at,
|
|
32915
|
+
w: kt$1,
|
|
32916
|
+
x: bt$1,
|
|
32959
32917
|
y: pt$1,
|
|
32960
32918
|
z: yt$1
|
|
32961
32919
|
});
|
|
32962
32920
|
|
|
32963
|
-
const
|
|
32964
|
-
function
|
|
32921
|
+
const K = [];
|
|
32922
|
+
function Dr(e, t) {
|
|
32965
32923
|
return {
|
|
32966
|
-
subscribe:
|
|
32924
|
+
subscribe: Ne(e, t).subscribe
|
|
32967
32925
|
};
|
|
32968
32926
|
}
|
|
32969
|
-
function
|
|
32927
|
+
function Ne(e, t = d) {
|
|
32970
32928
|
let r;
|
|
32971
32929
|
const n = /* @__PURE__ */ new Set();
|
|
32972
32930
|
function i(s) {
|
|
32973
32931
|
if (z(e, s) && (e = s, r)) {
|
|
32974
|
-
const h = !
|
|
32932
|
+
const h = !K.length;
|
|
32975
32933
|
for (const u of n)
|
|
32976
|
-
u[1](),
|
|
32934
|
+
u[1](), K.push(u, e);
|
|
32977
32935
|
if (h) {
|
|
32978
|
-
for (let u = 0; u <
|
|
32979
|
-
|
|
32980
|
-
|
|
32936
|
+
for (let u = 0; u < K.length; u += 2)
|
|
32937
|
+
K[u][0](K[u + 1]);
|
|
32938
|
+
K.length = 0;
|
|
32981
32939
|
}
|
|
32982
32940
|
}
|
|
32983
32941
|
}
|
|
@@ -32992,12 +32950,12 @@ function we(e, t = d) {
|
|
|
32992
32950
|
}
|
|
32993
32951
|
return { set: i, update: o, subscribe: a };
|
|
32994
32952
|
}
|
|
32995
|
-
function
|
|
32953
|
+
function ie(e, t, r) {
|
|
32996
32954
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
32997
32955
|
if (!i.every(Boolean))
|
|
32998
32956
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
32999
32957
|
const o = t.length < 2;
|
|
33000
|
-
return
|
|
32958
|
+
return Dr(r, (a, s) => {
|
|
33001
32959
|
let h = !1;
|
|
33002
32960
|
const u = [];
|
|
33003
32961
|
let l = 0, d$1 = d;
|
|
@@ -33007,107 +32965,122 @@ function ne(e, t, r) {
|
|
|
33007
32965
|
d$1();
|
|
33008
32966
|
const f = t(n ? u[0] : u, a, s);
|
|
33009
32967
|
o ? a(f) : d$1 = O(f) ? f : d;
|
|
33010
|
-
},
|
|
33011
|
-
(f,
|
|
32968
|
+
}, b = i.map(
|
|
32969
|
+
(f, g) => D$1(
|
|
33012
32970
|
f,
|
|
33013
|
-
(
|
|
33014
|
-
u[
|
|
32971
|
+
(S) => {
|
|
32972
|
+
u[g] = S, l &= ~(1 << g), h && m();
|
|
33015
32973
|
},
|
|
33016
32974
|
() => {
|
|
33017
|
-
l |= 1 <<
|
|
32975
|
+
l |= 1 << g;
|
|
33018
32976
|
}
|
|
33019
32977
|
)
|
|
33020
32978
|
);
|
|
33021
32979
|
return h = !0, m(), function() {
|
|
33022
|
-
p(
|
|
32980
|
+
p(b), d$1(), h = !1;
|
|
33023
32981
|
};
|
|
33024
32982
|
});
|
|
33025
32983
|
}
|
|
33026
|
-
function
|
|
32984
|
+
function qr(e) {
|
|
33027
32985
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
33028
32986
|
}
|
|
33029
|
-
var
|
|
33030
|
-
return
|
|
32987
|
+
var Gr = function(t) {
|
|
32988
|
+
return Fr(t) && !Vr(t);
|
|
33031
32989
|
};
|
|
33032
|
-
function
|
|
32990
|
+
function Fr(e) {
|
|
33033
32991
|
return !!e && typeof e == "object";
|
|
33034
32992
|
}
|
|
33035
|
-
function
|
|
32993
|
+
function Vr(e) {
|
|
33036
32994
|
var t = Object.prototype.toString.call(e);
|
|
33037
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
32995
|
+
return t === "[object RegExp]" || t === "[object Date]" || Zr(e);
|
|
33038
32996
|
}
|
|
33039
|
-
var
|
|
33040
|
-
function
|
|
33041
|
-
return e.$$typeof ===
|
|
32997
|
+
var Xr = typeof Symbol == "function" && Symbol.for, Wr = Xr ? Symbol.for("react.element") : 60103;
|
|
32998
|
+
function Zr(e) {
|
|
32999
|
+
return e.$$typeof === Wr;
|
|
33042
33000
|
}
|
|
33043
|
-
function
|
|
33001
|
+
function Jr(e) {
|
|
33044
33002
|
return Array.isArray(e) ? [] : {};
|
|
33045
33003
|
}
|
|
33046
|
-
function
|
|
33047
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
33004
|
+
function me(e, t) {
|
|
33005
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? ee(Jr(e), e, t) : e;
|
|
33048
33006
|
}
|
|
33049
|
-
function
|
|
33007
|
+
function Qr(e, t, r) {
|
|
33050
33008
|
return e.concat(t).map(function(n) {
|
|
33051
|
-
return
|
|
33009
|
+
return me(n, r);
|
|
33052
33010
|
});
|
|
33053
33011
|
}
|
|
33054
|
-
function
|
|
33012
|
+
function Yr(e, t) {
|
|
33055
33013
|
if (!t.customMerge)
|
|
33056
|
-
return
|
|
33014
|
+
return ee;
|
|
33057
33015
|
var r = t.customMerge(e);
|
|
33058
|
-
return typeof r == "function" ? r :
|
|
33016
|
+
return typeof r == "function" ? r : ee;
|
|
33059
33017
|
}
|
|
33060
|
-
function
|
|
33018
|
+
function Kr(e) {
|
|
33061
33019
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
33062
33020
|
return Object.propertyIsEnumerable.call(e, t);
|
|
33063
33021
|
}) : [];
|
|
33064
33022
|
}
|
|
33065
|
-
function
|
|
33066
|
-
return Object.keys(e).concat(
|
|
33023
|
+
function st(e) {
|
|
33024
|
+
return Object.keys(e).concat(Kr(e));
|
|
33067
33025
|
}
|
|
33068
|
-
function
|
|
33026
|
+
function Rt(e, t) {
|
|
33069
33027
|
try {
|
|
33070
33028
|
return t in e;
|
|
33071
33029
|
} catch {
|
|
33072
33030
|
return !1;
|
|
33073
33031
|
}
|
|
33074
33032
|
}
|
|
33075
|
-
function
|
|
33076
|
-
return
|
|
33033
|
+
function $r(e, t) {
|
|
33034
|
+
return Rt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
33077
33035
|
}
|
|
33078
|
-
function
|
|
33036
|
+
function en(e, t, r) {
|
|
33079
33037
|
var n = {};
|
|
33080
|
-
return r.isMergeableObject(e) &&
|
|
33081
|
-
n[i] =
|
|
33082
|
-
}),
|
|
33083
|
-
|
|
33038
|
+
return r.isMergeableObject(e) && st(e).forEach(function(i) {
|
|
33039
|
+
n[i] = me(e[i], r);
|
|
33040
|
+
}), st(t).forEach(function(i) {
|
|
33041
|
+
$r(e, i) || (Rt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Yr(i, r)(e[i], t[i], r) : n[i] = me(t[i], r));
|
|
33084
33042
|
}), n;
|
|
33085
33043
|
}
|
|
33086
|
-
function
|
|
33087
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
33044
|
+
function ee(e, t, r) {
|
|
33045
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Qr, r.isMergeableObject = r.isMergeableObject || Gr, r.cloneUnlessOtherwiseSpecified = me;
|
|
33088
33046
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
33089
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
33047
|
+
return o ? n ? r.arrayMerge(e, t, r) : en(e, t, r) : me(t, r);
|
|
33090
33048
|
}
|
|
33091
|
-
|
|
33049
|
+
ee.all = function(t, r) {
|
|
33092
33050
|
if (!Array.isArray(t))
|
|
33093
33051
|
throw new Error("first argument should be an array");
|
|
33094
33052
|
return t.reduce(function(n, i) {
|
|
33095
|
-
return
|
|
33053
|
+
return ee(n, i, r);
|
|
33096
33054
|
}, {});
|
|
33097
33055
|
};
|
|
33098
|
-
var
|
|
33099
|
-
const
|
|
33100
|
-
|
|
33101
|
-
|
|
33056
|
+
var tn = ee, rn = tn;
|
|
33057
|
+
const nn = /* @__PURE__ */ qr(rn);
|
|
33058
|
+
/*! *****************************************************************************
|
|
33059
|
+
Copyright (c) Microsoft Corporation.
|
|
33060
|
+
|
|
33061
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
33062
|
+
purpose with or without fee is hereby granted.
|
|
33063
|
+
|
|
33064
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
33065
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
33066
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
33067
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
33068
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
33069
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
33070
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
33071
|
+
***************************************************************************** */
|
|
33072
|
+
var De = function(e, t) {
|
|
33073
|
+
return De = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
33102
33074
|
r.__proto__ = n;
|
|
33103
33075
|
} || function(r, n) {
|
|
33104
|
-
for (var i in n)
|
|
33105
|
-
|
|
33076
|
+
for (var i in n)
|
|
33077
|
+
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
33078
|
+
}, De(e, t);
|
|
33106
33079
|
};
|
|
33107
|
-
function
|
|
33080
|
+
function Ae(e, t) {
|
|
33108
33081
|
if (typeof t != "function" && t !== null)
|
|
33109
33082
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
33110
|
-
|
|
33083
|
+
De(e, t);
|
|
33111
33084
|
function r() {
|
|
33112
33085
|
this.constructor = e;
|
|
33113
33086
|
}
|
|
@@ -33117,72 +33090,77 @@ var H = function() {
|
|
|
33117
33090
|
return H = Object.assign || function(t) {
|
|
33118
33091
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
33119
33092
|
r = arguments[n];
|
|
33120
|
-
for (var o in r)
|
|
33093
|
+
for (var o in r)
|
|
33094
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
33121
33095
|
}
|
|
33122
33096
|
return t;
|
|
33123
33097
|
}, H.apply(this, arguments);
|
|
33124
33098
|
};
|
|
33125
|
-
function
|
|
33099
|
+
function on(e, t) {
|
|
33126
33100
|
var r = {};
|
|
33127
|
-
for (var n in e)
|
|
33101
|
+
for (var n in e)
|
|
33102
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
33128
33103
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
33129
33104
|
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
33130
33105
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
33131
33106
|
return r;
|
|
33132
33107
|
}
|
|
33133
|
-
function
|
|
33134
|
-
if (
|
|
33135
|
-
(
|
|
33136
|
-
|
|
33108
|
+
function Oe(e, t, r) {
|
|
33109
|
+
if (arguments.length === 2)
|
|
33110
|
+
for (var n = 0, i = t.length, o; n < i; n++)
|
|
33111
|
+
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
33112
|
+
return e.concat(o || t);
|
|
33137
33113
|
}
|
|
33138
|
-
function
|
|
33139
|
-
var r = t && t.cache ? t.cache :
|
|
33114
|
+
function Ie(e, t) {
|
|
33115
|
+
var r = t && t.cache ? t.cache : hn, n = t && t.serializer ? t.serializer : un, i = t && t.strategy ? t.strategy : sn;
|
|
33140
33116
|
return i(e, {
|
|
33141
33117
|
cache: r,
|
|
33142
33118
|
serializer: n
|
|
33143
33119
|
});
|
|
33144
33120
|
}
|
|
33145
|
-
function
|
|
33121
|
+
function an(e) {
|
|
33146
33122
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
33147
33123
|
}
|
|
33148
|
-
function
|
|
33149
|
-
var i =
|
|
33124
|
+
function Ut(e, t, r, n) {
|
|
33125
|
+
var i = an(n) ? n : r(n), o = t.get(i);
|
|
33150
33126
|
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
|
33151
33127
|
}
|
|
33152
|
-
function
|
|
33128
|
+
function Dt(e, t, r) {
|
|
33153
33129
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
33154
33130
|
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
33155
33131
|
}
|
|
33156
|
-
function
|
|
33132
|
+
function Ke(e, t, r, n, i) {
|
|
33157
33133
|
return r.bind(t, e, n, i);
|
|
33158
33134
|
}
|
|
33159
|
-
function
|
|
33160
|
-
var r = e.length === 1 ?
|
|
33161
|
-
return
|
|
33135
|
+
function sn(e, t) {
|
|
33136
|
+
var r = e.length === 1 ? Ut : Dt;
|
|
33137
|
+
return Ke(e, this, r, t.cache.create(), t.serializer);
|
|
33162
33138
|
}
|
|
33163
|
-
function
|
|
33164
|
-
return
|
|
33139
|
+
function ln(e, t) {
|
|
33140
|
+
return Ke(e, this, Dt, t.cache.create(), t.serializer);
|
|
33165
33141
|
}
|
|
33166
|
-
|
|
33142
|
+
function cn(e, t) {
|
|
33143
|
+
return Ke(e, this, Ut, t.cache.create(), t.serializer);
|
|
33144
|
+
}
|
|
33145
|
+
var un = function() {
|
|
33167
33146
|
return JSON.stringify(arguments);
|
|
33168
|
-
}
|
|
33169
|
-
|
|
33170
|
-
|
|
33171
|
-
|
|
33172
|
-
|
|
33173
|
-
|
|
33174
|
-
|
|
33175
|
-
|
|
33176
|
-
|
|
33177
|
-
|
|
33178
|
-
|
|
33179
|
-
}()
|
|
33180
|
-
), cn = {
|
|
33147
|
+
};
|
|
33148
|
+
function $e() {
|
|
33149
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
33150
|
+
}
|
|
33151
|
+
$e.prototype.get = function(e) {
|
|
33152
|
+
return this.cache[e];
|
|
33153
|
+
};
|
|
33154
|
+
$e.prototype.set = function(e, t) {
|
|
33155
|
+
this.cache[e] = t;
|
|
33156
|
+
};
|
|
33157
|
+
var hn = {
|
|
33181
33158
|
create: function() {
|
|
33182
|
-
return new
|
|
33159
|
+
return new $e();
|
|
33183
33160
|
}
|
|
33184
|
-
},
|
|
33185
|
-
variadic:
|
|
33161
|
+
}, je = {
|
|
33162
|
+
variadic: ln,
|
|
33163
|
+
monadic: cn
|
|
33186
33164
|
}, w;
|
|
33187
33165
|
(function(e) {
|
|
33188
33166
|
e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
|
|
@@ -33191,47 +33169,47 @@ var B;
|
|
|
33191
33169
|
(function(e) {
|
|
33192
33170
|
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
|
33193
33171
|
})(B || (B = {}));
|
|
33194
|
-
var
|
|
33172
|
+
var te;
|
|
33195
33173
|
(function(e) {
|
|
33196
33174
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
33197
|
-
})(
|
|
33198
|
-
function
|
|
33175
|
+
})(te || (te = {}));
|
|
33176
|
+
function lt(e) {
|
|
33199
33177
|
return e.type === B.literal;
|
|
33200
33178
|
}
|
|
33201
|
-
function
|
|
33179
|
+
function dn(e) {
|
|
33202
33180
|
return e.type === B.argument;
|
|
33203
33181
|
}
|
|
33204
|
-
function
|
|
33182
|
+
function qt(e) {
|
|
33205
33183
|
return e.type === B.number;
|
|
33206
33184
|
}
|
|
33207
|
-
function
|
|
33185
|
+
function Gt(e) {
|
|
33208
33186
|
return e.type === B.date;
|
|
33209
33187
|
}
|
|
33210
|
-
function
|
|
33188
|
+
function Ft(e) {
|
|
33211
33189
|
return e.type === B.time;
|
|
33212
33190
|
}
|
|
33213
|
-
function
|
|
33191
|
+
function Vt(e) {
|
|
33214
33192
|
return e.type === B.select;
|
|
33215
33193
|
}
|
|
33216
|
-
function
|
|
33194
|
+
function Xt(e) {
|
|
33217
33195
|
return e.type === B.plural;
|
|
33218
33196
|
}
|
|
33219
|
-
function
|
|
33197
|
+
function mn(e) {
|
|
33220
33198
|
return e.type === B.pound;
|
|
33221
33199
|
}
|
|
33222
|
-
function
|
|
33200
|
+
function Wt(e) {
|
|
33223
33201
|
return e.type === B.tag;
|
|
33224
33202
|
}
|
|
33225
|
-
function
|
|
33226
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
33203
|
+
function Zt(e) {
|
|
33204
|
+
return !!(e && typeof e == "object" && e.type === te.number);
|
|
33227
33205
|
}
|
|
33228
|
-
function
|
|
33229
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
33206
|
+
function qe(e) {
|
|
33207
|
+
return !!(e && typeof e == "object" && e.type === te.dateTime);
|
|
33230
33208
|
}
|
|
33231
|
-
var
|
|
33232
|
-
function
|
|
33209
|
+
var Jt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, gn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
|
|
33210
|
+
function pn(e) {
|
|
33233
33211
|
var t = {};
|
|
33234
|
-
return e.replace(
|
|
33212
|
+
return e.replace(gn, function(r) {
|
|
33235
33213
|
var n = r.length;
|
|
33236
33214
|
switch (r[0]) {
|
|
33237
33215
|
case "G":
|
|
@@ -33320,11 +33298,11 @@ function mn(e) {
|
|
|
33320
33298
|
return "";
|
|
33321
33299
|
}), t;
|
|
33322
33300
|
}
|
|
33323
|
-
var
|
|
33324
|
-
function
|
|
33301
|
+
var fn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
33302
|
+
function _n(e) {
|
|
33325
33303
|
if (e.length === 0)
|
|
33326
33304
|
throw new Error("Number skeleton cannot be empty");
|
|
33327
|
-
for (var t = e.split(
|
|
33305
|
+
for (var t = e.split(fn).filter(function(m) {
|
|
33328
33306
|
return m.length > 0;
|
|
33329
33307
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
33330
33308
|
var o = i[n], a = o.split("/");
|
|
@@ -33339,17 +33317,17 @@ function gn(e) {
|
|
|
33339
33317
|
}
|
|
33340
33318
|
return r;
|
|
33341
33319
|
}
|
|
33342
|
-
function
|
|
33320
|
+
function bn(e) {
|
|
33343
33321
|
return e.replace(/^(.*?)-/, "");
|
|
33344
33322
|
}
|
|
33345
|
-
var
|
|
33346
|
-
function
|
|
33323
|
+
var ct = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Qt = /^(@+)?(\+|#+)?[rs]?$/g, vn = /(\*)(0+)|(#+)(0+)|(0+)/g, Yt = /^(0+)$/;
|
|
33324
|
+
function ut(e) {
|
|
33347
33325
|
var t = {};
|
|
33348
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
33326
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Qt, function(r, n, i) {
|
|
33349
33327
|
return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
|
|
33350
33328
|
}), t;
|
|
33351
33329
|
}
|
|
33352
|
-
function
|
|
33330
|
+
function Kt(e) {
|
|
33353
33331
|
switch (e) {
|
|
33354
33332
|
case "sign-auto":
|
|
33355
33333
|
return {
|
|
@@ -33389,7 +33367,7 @@ function Jt(e) {
|
|
|
33389
33367
|
};
|
|
33390
33368
|
}
|
|
33391
33369
|
}
|
|
33392
|
-
function
|
|
33370
|
+
function yn(e) {
|
|
33393
33371
|
var t;
|
|
33394
33372
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
33395
33373
|
notation: "engineering"
|
|
@@ -33397,17 +33375,17 @@ function bn(e) {
|
|
|
33397
33375
|
notation: "scientific"
|
|
33398
33376
|
}, e = e.slice(1)), t) {
|
|
33399
33377
|
var r = e.slice(0, 2);
|
|
33400
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
33378
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Yt.test(e))
|
|
33401
33379
|
throw new Error("Malformed concise eng/scientific notation");
|
|
33402
33380
|
t.minimumIntegerDigits = e.length;
|
|
33403
33381
|
}
|
|
33404
33382
|
return t;
|
|
33405
33383
|
}
|
|
33406
|
-
function
|
|
33407
|
-
var t = {}, r =
|
|
33384
|
+
function ht(e) {
|
|
33385
|
+
var t = {}, r = Kt(e);
|
|
33408
33386
|
return r || t;
|
|
33409
33387
|
}
|
|
33410
|
-
function
|
|
33388
|
+
function En(e) {
|
|
33411
33389
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
33412
33390
|
var i = n[r];
|
|
33413
33391
|
switch (i.stem) {
|
|
@@ -33431,7 +33409,7 @@ function vn(e) {
|
|
|
33431
33409
|
continue;
|
|
33432
33410
|
case "measure-unit":
|
|
33433
33411
|
case "unit":
|
|
33434
|
-
t.style = "unit", t.unit =
|
|
33412
|
+
t.style = "unit", t.unit = bn(i.options[0]);
|
|
33435
33413
|
continue;
|
|
33436
33414
|
case "compact-short":
|
|
33437
33415
|
case "K":
|
|
@@ -33443,12 +33421,12 @@ function vn(e) {
|
|
|
33443
33421
|
continue;
|
|
33444
33422
|
case "scientific":
|
|
33445
33423
|
t = H(H(H({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
|
|
33446
|
-
return H(H({}, h),
|
|
33424
|
+
return H(H({}, h), ht(u));
|
|
33447
33425
|
}, {}));
|
|
33448
33426
|
continue;
|
|
33449
33427
|
case "engineering":
|
|
33450
33428
|
t = H(H(H({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
|
|
33451
|
-
return H(H({}, h),
|
|
33429
|
+
return H(H({}, h), ht(u));
|
|
33452
33430
|
}, {}));
|
|
33453
33431
|
continue;
|
|
33454
33432
|
case "notation-simple":
|
|
@@ -33493,45 +33471,45 @@ function vn(e) {
|
|
|
33493
33471
|
case "integer-width":
|
|
33494
33472
|
if (i.options.length > 1)
|
|
33495
33473
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
33496
|
-
i.options[0].replace(
|
|
33474
|
+
i.options[0].replace(vn, function(h, u, l, d, m, b) {
|
|
33497
33475
|
if (u)
|
|
33498
33476
|
t.minimumIntegerDigits = l.length;
|
|
33499
33477
|
else {
|
|
33500
33478
|
if (d && m)
|
|
33501
33479
|
throw new Error("We currently do not support maximum integer digits");
|
|
33502
|
-
if (
|
|
33480
|
+
if (b)
|
|
33503
33481
|
throw new Error("We currently do not support exact integer digits");
|
|
33504
33482
|
}
|
|
33505
33483
|
return "";
|
|
33506
33484
|
});
|
|
33507
33485
|
continue;
|
|
33508
33486
|
}
|
|
33509
|
-
if (
|
|
33487
|
+
if (Yt.test(i.stem)) {
|
|
33510
33488
|
t.minimumIntegerDigits = i.stem.length;
|
|
33511
33489
|
continue;
|
|
33512
33490
|
}
|
|
33513
|
-
if (
|
|
33491
|
+
if (ct.test(i.stem)) {
|
|
33514
33492
|
if (i.options.length > 1)
|
|
33515
33493
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
33516
|
-
i.stem.replace(
|
|
33517
|
-
return l === "*" ? t.minimumFractionDigits = u.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : m &&
|
|
33494
|
+
i.stem.replace(ct, function(h, u, l, d, m, b) {
|
|
33495
|
+
return l === "*" ? t.minimumFractionDigits = u.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : m && b ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + b.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
33518
33496
|
});
|
|
33519
33497
|
var o = i.options[0];
|
|
33520
|
-
o === "w" ? t = H(H({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = H(H({}, t),
|
|
33498
|
+
o === "w" ? t = H(H({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = H(H({}, t), ut(o)));
|
|
33521
33499
|
continue;
|
|
33522
33500
|
}
|
|
33523
|
-
if (
|
|
33524
|
-
t = H(H({}, t),
|
|
33501
|
+
if (Qt.test(i.stem)) {
|
|
33502
|
+
t = H(H({}, t), ut(i.stem));
|
|
33525
33503
|
continue;
|
|
33526
33504
|
}
|
|
33527
|
-
var a =
|
|
33505
|
+
var a = Kt(i.stem);
|
|
33528
33506
|
a && (t = H(H({}, t), a));
|
|
33529
|
-
var s =
|
|
33507
|
+
var s = yn(i.stem);
|
|
33530
33508
|
s && (t = H(H({}, t), s));
|
|
33531
33509
|
}
|
|
33532
33510
|
return t;
|
|
33533
33511
|
}
|
|
33534
|
-
var
|
|
33512
|
+
var Se = {
|
|
33535
33513
|
"001": [
|
|
33536
33514
|
"H",
|
|
33537
33515
|
"h"
|
|
@@ -34946,22 +34924,23 @@ var Ce = {
|
|
|
34946
34924
|
"h"
|
|
34947
34925
|
]
|
|
34948
34926
|
};
|
|
34949
|
-
function
|
|
34927
|
+
function kn(e, t) {
|
|
34950
34928
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
34951
34929
|
var i = e.charAt(n);
|
|
34952
34930
|
if (i === "j") {
|
|
34953
34931
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
34954
34932
|
o++, n++;
|
|
34955
|
-
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", u =
|
|
34933
|
+
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Cn(t);
|
|
34956
34934
|
for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
|
|
34957
34935
|
r += h;
|
|
34958
34936
|
for (; a-- > 0; )
|
|
34959
34937
|
r = u + r;
|
|
34960
|
-
} else
|
|
34938
|
+
} else
|
|
34939
|
+
i === "J" ? r += "H" : r += i;
|
|
34961
34940
|
}
|
|
34962
34941
|
return r;
|
|
34963
34942
|
}
|
|
34964
|
-
function
|
|
34943
|
+
function Cn(e) {
|
|
34965
34944
|
var t = e.hourCycle;
|
|
34966
34945
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
34967
34946
|
e.hourCycles && // @ts-ignore
|
|
@@ -34980,23 +34959,23 @@ function En(e) {
|
|
|
34980
34959
|
}
|
|
34981
34960
|
var r = e.language, n;
|
|
34982
34961
|
r !== "root" && (n = e.maximize().region);
|
|
34983
|
-
var i =
|
|
34962
|
+
var i = Se[n || ""] || Se[r || ""] || Se["".concat(r, "-001")] || Se["001"];
|
|
34984
34963
|
return i[0];
|
|
34985
34964
|
}
|
|
34986
|
-
var
|
|
34965
|
+
var Le, Sn = new RegExp("^".concat(Jt.source, "*")), xn = new RegExp("".concat(Jt.source, "*$"));
|
|
34987
34966
|
function N(e, t) {
|
|
34988
34967
|
return { start: e, end: t };
|
|
34989
34968
|
}
|
|
34990
|
-
var
|
|
34969
|
+
var Mn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Tn = !!String.fromCodePoint, wn = !!Object.fromEntries, Nn = !!String.prototype.codePointAt, An = !!String.prototype.trimStart, Hn = !!String.prototype.trimEnd, Pn = !!Number.isSafeInteger, Bn = Pn ? Number.isSafeInteger : function(e) {
|
|
34991
34970
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
34992
|
-
},
|
|
34971
|
+
}, Ge = !0;
|
|
34993
34972
|
try {
|
|
34994
|
-
var
|
|
34995
|
-
|
|
34973
|
+
var zn = er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
34974
|
+
Ge = ((Le = zn.exec("a")) === null || Le === void 0 ? void 0 : Le[0]) === "a";
|
|
34996
34975
|
} catch {
|
|
34997
|
-
|
|
34976
|
+
Ge = !1;
|
|
34998
34977
|
}
|
|
34999
|
-
var
|
|
34978
|
+
var dt = Mn ? (
|
|
35000
34979
|
// Native
|
|
35001
34980
|
function(t, r, n) {
|
|
35002
34981
|
return t.startsWith(r, n);
|
|
@@ -35006,7 +34985,7 @@ var ct = Sn ? (
|
|
|
35006
34985
|
function(t, r, n) {
|
|
35007
34986
|
return t.slice(n, n + r.length) === r;
|
|
35008
34987
|
}
|
|
35009
|
-
),
|
|
34988
|
+
), Fe = Tn ? String.fromCodePoint : (
|
|
35010
34989
|
// IE11
|
|
35011
34990
|
function() {
|
|
35012
34991
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -35018,9 +34997,9 @@ var ct = Sn ? (
|
|
|
35018
34997
|
}
|
|
35019
34998
|
return n;
|
|
35020
34999
|
}
|
|
35021
|
-
),
|
|
35000
|
+
), mt = (
|
|
35022
35001
|
// native
|
|
35023
|
-
|
|
35002
|
+
wn ? Object.fromEntries : (
|
|
35024
35003
|
// Ponyfill
|
|
35025
35004
|
function(t) {
|
|
35026
35005
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -35030,7 +35009,7 @@ var ct = Sn ? (
|
|
|
35030
35009
|
return r;
|
|
35031
35010
|
}
|
|
35032
35011
|
)
|
|
35033
|
-
),
|
|
35012
|
+
), $t = Nn ? (
|
|
35034
35013
|
// Native
|
|
35035
35014
|
function(t, r) {
|
|
35036
35015
|
return t.codePointAt(r);
|
|
@@ -35044,7 +35023,7 @@ var ct = Sn ? (
|
|
|
35044
35023
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
35045
35024
|
}
|
|
35046
35025
|
}
|
|
35047
|
-
),
|
|
35026
|
+
), On = An ? (
|
|
35048
35027
|
// Native
|
|
35049
35028
|
function(t) {
|
|
35050
35029
|
return t.trimStart();
|
|
@@ -35052,9 +35031,9 @@ var ct = Sn ? (
|
|
|
35052
35031
|
) : (
|
|
35053
35032
|
// Ponyfill
|
|
35054
35033
|
function(t) {
|
|
35055
|
-
return t.replace(
|
|
35034
|
+
return t.replace(Sn, "");
|
|
35056
35035
|
}
|
|
35057
|
-
),
|
|
35036
|
+
), In = Hn ? (
|
|
35058
35037
|
// Native
|
|
35059
35038
|
function(t) {
|
|
35060
35039
|
return t.trimEnd();
|
|
@@ -35062,32 +35041,32 @@ var ct = Sn ? (
|
|
|
35062
35041
|
) : (
|
|
35063
35042
|
// Ponyfill
|
|
35064
35043
|
function(t) {
|
|
35065
|
-
return t.replace(
|
|
35044
|
+
return t.replace(xn, "");
|
|
35066
35045
|
}
|
|
35067
35046
|
);
|
|
35068
|
-
function
|
|
35047
|
+
function er(e, t) {
|
|
35069
35048
|
return new RegExp(e, t);
|
|
35070
35049
|
}
|
|
35071
|
-
var
|
|
35072
|
-
if (
|
|
35073
|
-
var
|
|
35074
|
-
|
|
35050
|
+
var Ve;
|
|
35051
|
+
if (Ge) {
|
|
35052
|
+
var gt = er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
35053
|
+
Ve = function(t, r) {
|
|
35075
35054
|
var n;
|
|
35076
|
-
|
|
35077
|
-
var i =
|
|
35055
|
+
gt.lastIndex = r;
|
|
35056
|
+
var i = gt.exec(t);
|
|
35078
35057
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
35079
35058
|
};
|
|
35080
35059
|
} else
|
|
35081
|
-
|
|
35060
|
+
Ve = function(t, r) {
|
|
35082
35061
|
for (var n = []; ; ) {
|
|
35083
|
-
var i =
|
|
35084
|
-
if (i === void 0 ||
|
|
35062
|
+
var i = $t(t, r);
|
|
35063
|
+
if (i === void 0 || tr(i) || Un(i))
|
|
35085
35064
|
break;
|
|
35086
35065
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
35087
35066
|
}
|
|
35088
|
-
return
|
|
35067
|
+
return Fe.apply(void 0, n);
|
|
35089
35068
|
};
|
|
35090
|
-
var
|
|
35069
|
+
var jn = (
|
|
35091
35070
|
/** @class */
|
|
35092
35071
|
function() {
|
|
35093
35072
|
function e(t, r) {
|
|
@@ -35118,7 +35097,7 @@ var On = (
|
|
|
35118
35097
|
if (n)
|
|
35119
35098
|
break;
|
|
35120
35099
|
return this.error(w.UNMATCHED_CLOSING_TAG, N(this.clonePosition(), this.clonePosition()));
|
|
35121
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
35100
|
+
} else if (o === 60 && !this.ignoreTag && Xe(this.peek() || 0)) {
|
|
35122
35101
|
var a = this.parseTag(t, r);
|
|
35123
35102
|
if (a.err)
|
|
35124
35103
|
return a;
|
|
@@ -35151,7 +35130,7 @@ var On = (
|
|
|
35151
35130
|
return o;
|
|
35152
35131
|
var a = o.val, s = this.clonePosition();
|
|
35153
35132
|
if (this.bumpIf("</")) {
|
|
35154
|
-
if (this.isEOF() || !
|
|
35133
|
+
if (this.isEOF() || !Xe(this.char()))
|
|
35155
35134
|
return this.error(w.INVALID_TAG, N(s, this.clonePosition()));
|
|
35156
35135
|
var h = this.clonePosition(), u = this.parseTagName();
|
|
35157
35136
|
return i !== u ? this.error(w.UNMATCHED_CLOSING_TAG, N(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
@@ -35169,7 +35148,7 @@ var On = (
|
|
|
35169
35148
|
return this.error(w.INVALID_TAG, N(n, this.clonePosition()));
|
|
35170
35149
|
}, e.prototype.parseTagName = function() {
|
|
35171
35150
|
var t = this.offset();
|
|
35172
|
-
for (this.bump(); !this.isEOF() &&
|
|
35151
|
+
for (this.bump(); !this.isEOF() && Rn(this.char()); )
|
|
35173
35152
|
this.bump();
|
|
35174
35153
|
return this.message.slice(t, this.offset());
|
|
35175
35154
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -35198,7 +35177,7 @@ var On = (
|
|
|
35198
35177
|
};
|
|
35199
35178
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
35200
35179
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
35201
|
-
!
|
|
35180
|
+
!Ln(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
35202
35181
|
}, e.prototype.tryParseQuote = function(t) {
|
|
35203
35182
|
if (this.isEOF() || this.char() !== 39)
|
|
35204
35183
|
return null;
|
|
@@ -35232,12 +35211,12 @@ var On = (
|
|
|
35232
35211
|
r.push(n);
|
|
35233
35212
|
this.bump();
|
|
35234
35213
|
}
|
|
35235
|
-
return
|
|
35214
|
+
return Fe.apply(void 0, r);
|
|
35236
35215
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
35237
35216
|
if (this.isEOF())
|
|
35238
35217
|
return null;
|
|
35239
35218
|
var n = this.char();
|
|
35240
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
35219
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Fe(n));
|
|
35241
35220
|
}, e.prototype.parseArgument = function(t, r) {
|
|
35242
35221
|
var n = this.clonePosition();
|
|
35243
35222
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -35266,7 +35245,7 @@ var On = (
|
|
|
35266
35245
|
return this.error(w.MALFORMED_ARGUMENT, N(n, this.clonePosition()));
|
|
35267
35246
|
}
|
|
35268
35247
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
35269
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
35248
|
+
var t = this.clonePosition(), r = this.offset(), n = Ve(this.message, r), i = r + n.length;
|
|
35270
35249
|
this.bumpTo(i);
|
|
35271
35250
|
var o = this.clonePosition(), a = N(t, o);
|
|
35272
35251
|
return { value: n, location: a };
|
|
@@ -35285,37 +35264,37 @@ var On = (
|
|
|
35285
35264
|
var l = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
|
|
35286
35265
|
if (d.err)
|
|
35287
35266
|
return d;
|
|
35288
|
-
var m =
|
|
35267
|
+
var m = In(d.val);
|
|
35289
35268
|
if (m.length === 0)
|
|
35290
35269
|
return this.error(w.EXPECT_ARGUMENT_STYLE, N(this.clonePosition(), this.clonePosition()));
|
|
35291
|
-
var
|
|
35292
|
-
u = { style: m, styleLocation:
|
|
35270
|
+
var b = N(l, this.clonePosition());
|
|
35271
|
+
u = { style: m, styleLocation: b };
|
|
35293
35272
|
}
|
|
35294
35273
|
var f = this.tryParseArgumentClose(i);
|
|
35295
35274
|
if (f.err)
|
|
35296
35275
|
return f;
|
|
35297
|
-
var
|
|
35298
|
-
if (u &&
|
|
35299
|
-
var
|
|
35276
|
+
var g = N(i, this.clonePosition());
|
|
35277
|
+
if (u && dt(u?.style, "::", 0)) {
|
|
35278
|
+
var S = On(u.style.slice(2));
|
|
35300
35279
|
if (s === "number") {
|
|
35301
|
-
var d = this.parseNumberSkeletonFromString(
|
|
35280
|
+
var d = this.parseNumberSkeletonFromString(S, u.styleLocation);
|
|
35302
35281
|
return d.err ? d : {
|
|
35303
|
-
val: { type: B.number, value: n, location:
|
|
35282
|
+
val: { type: B.number, value: n, location: g, style: d.val },
|
|
35304
35283
|
err: null
|
|
35305
35284
|
};
|
|
35306
35285
|
} else {
|
|
35307
|
-
if (
|
|
35308
|
-
return this.error(w.EXPECT_DATE_TIME_SKELETON,
|
|
35309
|
-
var _ =
|
|
35310
|
-
this.locale && (_ =
|
|
35286
|
+
if (S.length === 0)
|
|
35287
|
+
return this.error(w.EXPECT_DATE_TIME_SKELETON, g);
|
|
35288
|
+
var _ = S;
|
|
35289
|
+
this.locale && (_ = kn(S, this.locale));
|
|
35311
35290
|
var m = {
|
|
35312
|
-
type:
|
|
35291
|
+
type: te.dateTime,
|
|
35313
35292
|
pattern: _,
|
|
35314
35293
|
location: u.styleLocation,
|
|
35315
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
35316
|
-
},
|
|
35294
|
+
parsedOptions: this.shouldParseSkeletons ? pn(_) : {}
|
|
35295
|
+
}, v = s === "date" ? B.date : B.time;
|
|
35317
35296
|
return {
|
|
35318
|
-
val: { type:
|
|
35297
|
+
val: { type: v, value: n, location: g, style: m },
|
|
35319
35298
|
err: null
|
|
35320
35299
|
};
|
|
35321
35300
|
}
|
|
@@ -35324,7 +35303,7 @@ var On = (
|
|
|
35324
35303
|
val: {
|
|
35325
35304
|
type: s === "number" ? B.number : s === "date" ? B.date : B.time,
|
|
35326
35305
|
value: n,
|
|
35327
|
-
location:
|
|
35306
|
+
location: g,
|
|
35328
35307
|
style: (o = u?.style) !== null && o !== void 0 ? o : null
|
|
35329
35308
|
},
|
|
35330
35309
|
err: null
|
|
@@ -35333,11 +35312,11 @@ var On = (
|
|
|
35333
35312
|
case "plural":
|
|
35334
35313
|
case "selectordinal":
|
|
35335
35314
|
case "select": {
|
|
35336
|
-
var
|
|
35315
|
+
var C = this.clonePosition();
|
|
35337
35316
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
35338
|
-
return this.error(w.EXPECT_SELECT_ARGUMENT_OPTIONS, N(
|
|
35317
|
+
return this.error(w.EXPECT_SELECT_ARGUMENT_OPTIONS, N(C, H({}, C)));
|
|
35339
35318
|
this.bumpSpace();
|
|
35340
|
-
var P = this.parseIdentifierIfPossible(),
|
|
35319
|
+
var P = this.parseIdentifierIfPossible(), k = 0;
|
|
35341
35320
|
if (s !== "select" && P.value === "offset") {
|
|
35342
35321
|
if (!this.bumpIf(":"))
|
|
35343
35322
|
return this.error(w.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, N(this.clonePosition(), this.clonePosition()));
|
|
@@ -35345,7 +35324,7 @@ var On = (
|
|
|
35345
35324
|
var d = this.tryParseDecimalInteger(w.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, w.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
35346
35325
|
if (d.err)
|
|
35347
35326
|
return d;
|
|
35348
|
-
this.bumpSpace(), P = this.parseIdentifierIfPossible(),
|
|
35327
|
+
this.bumpSpace(), P = this.parseIdentifierIfPossible(), k = d.val;
|
|
35349
35328
|
}
|
|
35350
35329
|
var z = this.tryParsePluralOrSelectOptions(t, s, r, P);
|
|
35351
35330
|
if (z.err)
|
|
@@ -35353,23 +35332,23 @@ var On = (
|
|
|
35353
35332
|
var f = this.tryParseArgumentClose(i);
|
|
35354
35333
|
if (f.err)
|
|
35355
35334
|
return f;
|
|
35356
|
-
var
|
|
35335
|
+
var W = N(i, this.clonePosition());
|
|
35357
35336
|
return s === "select" ? {
|
|
35358
35337
|
val: {
|
|
35359
35338
|
type: B.select,
|
|
35360
35339
|
value: n,
|
|
35361
|
-
options:
|
|
35362
|
-
location:
|
|
35340
|
+
options: mt(z.val),
|
|
35341
|
+
location: W
|
|
35363
35342
|
},
|
|
35364
35343
|
err: null
|
|
35365
35344
|
} : {
|
|
35366
35345
|
val: {
|
|
35367
35346
|
type: B.plural,
|
|
35368
35347
|
value: n,
|
|
35369
|
-
options:
|
|
35370
|
-
offset:
|
|
35348
|
+
options: mt(z.val),
|
|
35349
|
+
offset: k,
|
|
35371
35350
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
35372
|
-
location:
|
|
35351
|
+
location: W
|
|
35373
35352
|
},
|
|
35374
35353
|
err: null
|
|
35375
35354
|
};
|
|
@@ -35417,16 +35396,16 @@ var On = (
|
|
|
35417
35396
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
35418
35397
|
var n = [];
|
|
35419
35398
|
try {
|
|
35420
|
-
n =
|
|
35399
|
+
n = _n(t);
|
|
35421
35400
|
} catch {
|
|
35422
35401
|
return this.error(w.INVALID_NUMBER_SKELETON, r);
|
|
35423
35402
|
}
|
|
35424
35403
|
return {
|
|
35425
35404
|
val: {
|
|
35426
|
-
type:
|
|
35405
|
+
type: te.number,
|
|
35427
35406
|
tokens: n,
|
|
35428
35407
|
location: r,
|
|
35429
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
35408
|
+
parsedOptions: this.shouldParseSkeletons ? En(n) : {}
|
|
35430
35409
|
},
|
|
35431
35410
|
err: null
|
|
35432
35411
|
};
|
|
@@ -35445,20 +35424,20 @@ var On = (
|
|
|
35445
35424
|
if (h.has(u))
|
|
35446
35425
|
return this.error(r === "select" ? w.DUPLICATE_SELECT_ARGUMENT_SELECTOR : w.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
|
|
35447
35426
|
u === "other" && (a = !0), this.bumpSpace();
|
|
35448
|
-
var
|
|
35427
|
+
var b = this.clonePosition();
|
|
35449
35428
|
if (!this.bumpIf("{"))
|
|
35450
35429
|
return this.error(r === "select" ? w.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : w.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, N(this.clonePosition(), this.clonePosition()));
|
|
35451
35430
|
var f = this.parseMessage(t + 1, r, n);
|
|
35452
35431
|
if (f.err)
|
|
35453
35432
|
return f;
|
|
35454
|
-
var
|
|
35455
|
-
if (
|
|
35456
|
-
return
|
|
35433
|
+
var g = this.tryParseArgumentClose(b);
|
|
35434
|
+
if (g.err)
|
|
35435
|
+
return g;
|
|
35457
35436
|
s.push([
|
|
35458
35437
|
u,
|
|
35459
35438
|
{
|
|
35460
35439
|
value: f.val,
|
|
35461
|
-
location: N(
|
|
35440
|
+
location: N(b, this.clonePosition())
|
|
35462
35441
|
}
|
|
35463
35442
|
]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
|
|
35464
35443
|
}
|
|
@@ -35474,7 +35453,7 @@ var On = (
|
|
|
35474
35453
|
break;
|
|
35475
35454
|
}
|
|
35476
35455
|
var h = N(i, this.clonePosition());
|
|
35477
|
-
return o ? (a *= n,
|
|
35456
|
+
return o ? (a *= n, Bn(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
|
|
35478
35457
|
}, e.prototype.offset = function() {
|
|
35479
35458
|
return this.position.offset;
|
|
35480
35459
|
}, e.prototype.isEOF = function() {
|
|
@@ -35489,7 +35468,7 @@ var On = (
|
|
|
35489
35468
|
var t = this.position.offset;
|
|
35490
35469
|
if (t >= this.message.length)
|
|
35491
35470
|
throw Error("out of bound");
|
|
35492
|
-
var r =
|
|
35471
|
+
var r = $t(this.message, t);
|
|
35493
35472
|
if (r === void 0)
|
|
35494
35473
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
35495
35474
|
return r;
|
|
@@ -35508,7 +35487,7 @@ var On = (
|
|
|
35508
35487
|
t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
|
|
35509
35488
|
}
|
|
35510
35489
|
}, e.prototype.bumpIf = function(t) {
|
|
35511
|
-
if (
|
|
35490
|
+
if (dt(this.message, t, this.offset())) {
|
|
35512
35491
|
for (var r = 0; r < t.length; r++)
|
|
35513
35492
|
this.bump();
|
|
35514
35493
|
return !0;
|
|
@@ -35530,7 +35509,7 @@ var On = (
|
|
|
35530
35509
|
break;
|
|
35531
35510
|
}
|
|
35532
35511
|
}, e.prototype.bumpSpace = function() {
|
|
35533
|
-
for (; !this.isEOF() &&
|
|
35512
|
+
for (; !this.isEOF() && tr(this.char()); )
|
|
35534
35513
|
this.bump();
|
|
35535
35514
|
}, e.prototype.peek = function() {
|
|
35536
35515
|
if (this.isEOF())
|
|
@@ -35540,46 +35519,47 @@ var On = (
|
|
|
35540
35519
|
}, e;
|
|
35541
35520
|
}()
|
|
35542
35521
|
);
|
|
35543
|
-
function
|
|
35522
|
+
function Xe(e) {
|
|
35544
35523
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
35545
35524
|
}
|
|
35546
|
-
function
|
|
35547
|
-
return
|
|
35525
|
+
function Ln(e) {
|
|
35526
|
+
return Xe(e) || e === 47;
|
|
35548
35527
|
}
|
|
35549
|
-
function
|
|
35528
|
+
function Rn(e) {
|
|
35550
35529
|
return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
|
|
35551
35530
|
}
|
|
35552
|
-
function
|
|
35531
|
+
function tr(e) {
|
|
35553
35532
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
35554
35533
|
}
|
|
35555
|
-
function
|
|
35534
|
+
function Un(e) {
|
|
35556
35535
|
return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
|
|
35557
35536
|
}
|
|
35558
|
-
function
|
|
35537
|
+
function We(e) {
|
|
35559
35538
|
e.forEach(function(t) {
|
|
35560
|
-
if (delete t.location,
|
|
35539
|
+
if (delete t.location, Vt(t) || Xt(t))
|
|
35561
35540
|
for (var r in t.options)
|
|
35562
|
-
delete t.options[r].location,
|
|
35563
|
-
else
|
|
35541
|
+
delete t.options[r].location, We(t.options[r].value);
|
|
35542
|
+
else
|
|
35543
|
+
qt(t) && Zt(t.style) || (Gt(t) || Ft(t)) && qe(t.style) ? delete t.style.location : Wt(t) && We(t.children);
|
|
35564
35544
|
});
|
|
35565
35545
|
}
|
|
35566
|
-
function
|
|
35546
|
+
function Dn(e, t) {
|
|
35567
35547
|
t === void 0 && (t = {}), t = H({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
35568
|
-
var r = new
|
|
35548
|
+
var r = new jn(e, t).parse();
|
|
35569
35549
|
if (r.err) {
|
|
35570
35550
|
var n = SyntaxError(w[r.err.kind]);
|
|
35571
35551
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
35572
35552
|
}
|
|
35573
|
-
return t?.captureLocation ||
|
|
35553
|
+
return t?.captureLocation || We(r.val), r.val;
|
|
35574
35554
|
}
|
|
35575
|
-
var
|
|
35555
|
+
var re;
|
|
35576
35556
|
(function(e) {
|
|
35577
35557
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
35578
|
-
})(
|
|
35579
|
-
var
|
|
35558
|
+
})(re || (re = {}));
|
|
35559
|
+
var He = (
|
|
35580
35560
|
/** @class */
|
|
35581
35561
|
function(e) {
|
|
35582
|
-
|
|
35562
|
+
Ae(t, e);
|
|
35583
35563
|
function t(r, n, i) {
|
|
35584
35564
|
var o = e.call(this, r) || this;
|
|
35585
35565
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -35588,48 +35568,48 @@ var Ae = (
|
|
|
35588
35568
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
35589
35569
|
}, t;
|
|
35590
35570
|
}(Error)
|
|
35591
|
-
),
|
|
35571
|
+
), pt = (
|
|
35592
35572
|
/** @class */
|
|
35593
35573
|
function(e) {
|
|
35594
|
-
|
|
35574
|
+
Ae(t, e);
|
|
35595
35575
|
function t(r, n, i, o) {
|
|
35596
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
35576
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), re.INVALID_VALUE, o) || this;
|
|
35597
35577
|
}
|
|
35598
35578
|
return t;
|
|
35599
|
-
}(
|
|
35600
|
-
),
|
|
35579
|
+
}(He)
|
|
35580
|
+
), qn = (
|
|
35601
35581
|
/** @class */
|
|
35602
35582
|
function(e) {
|
|
35603
|
-
|
|
35583
|
+
Ae(t, e);
|
|
35604
35584
|
function t(r, n, i) {
|
|
35605
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
35585
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), re.INVALID_VALUE, i) || this;
|
|
35606
35586
|
}
|
|
35607
35587
|
return t;
|
|
35608
|
-
}(
|
|
35609
|
-
),
|
|
35588
|
+
}(He)
|
|
35589
|
+
), Gn = (
|
|
35610
35590
|
/** @class */
|
|
35611
35591
|
function(e) {
|
|
35612
|
-
|
|
35592
|
+
Ae(t, e);
|
|
35613
35593
|
function t(r, n) {
|
|
35614
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
35594
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), re.MISSING_VALUE, n) || this;
|
|
35615
35595
|
}
|
|
35616
35596
|
return t;
|
|
35617
|
-
}(
|
|
35597
|
+
}(He)
|
|
35618
35598
|
), D;
|
|
35619
35599
|
(function(e) {
|
|
35620
35600
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
35621
35601
|
})(D || (D = {}));
|
|
35622
|
-
function
|
|
35602
|
+
function Fn(e) {
|
|
35623
35603
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
35624
35604
|
var n = t[t.length - 1];
|
|
35625
35605
|
return !n || n.type !== D.literal || r.type !== D.literal ? t.push(r) : n.value += r.value, t;
|
|
35626
35606
|
}, []);
|
|
35627
35607
|
}
|
|
35628
|
-
function
|
|
35608
|
+
function Vn(e) {
|
|
35629
35609
|
return typeof e == "function";
|
|
35630
35610
|
}
|
|
35631
|
-
function
|
|
35632
|
-
if (e.length === 1 &&
|
|
35611
|
+
function xe(e, t, r, n, i, o, a) {
|
|
35612
|
+
if (e.length === 1 && lt(e[0]))
|
|
35633
35613
|
return [
|
|
35634
35614
|
{
|
|
35635
35615
|
type: D.literal,
|
|
@@ -35638,14 +35618,14 @@ function Se(e, t, r, n, i, o, a) {
|
|
|
35638
35618
|
];
|
|
35639
35619
|
for (var s = [], h = 0, u = e; h < u.length; h++) {
|
|
35640
35620
|
var l = u[h];
|
|
35641
|
-
if (
|
|
35621
|
+
if (lt(l)) {
|
|
35642
35622
|
s.push({
|
|
35643
35623
|
type: D.literal,
|
|
35644
35624
|
value: l.value
|
|
35645
35625
|
});
|
|
35646
35626
|
continue;
|
|
35647
35627
|
}
|
|
35648
|
-
if (
|
|
35628
|
+
if (mn(l)) {
|
|
35649
35629
|
typeof o == "number" && s.push({
|
|
35650
35630
|
type: D.literal,
|
|
35651
35631
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -35654,89 +35634,89 @@ function Se(e, t, r, n, i, o, a) {
|
|
|
35654
35634
|
}
|
|
35655
35635
|
var d = l.value;
|
|
35656
35636
|
if (!(i && d in i))
|
|
35657
|
-
throw new
|
|
35637
|
+
throw new Gn(d, a);
|
|
35658
35638
|
var m = i[d];
|
|
35659
|
-
if (
|
|
35639
|
+
if (dn(l)) {
|
|
35660
35640
|
(!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), s.push({
|
|
35661
35641
|
type: typeof m == "string" ? D.literal : D.object,
|
|
35662
35642
|
value: m
|
|
35663
35643
|
});
|
|
35664
35644
|
continue;
|
|
35665
35645
|
}
|
|
35666
|
-
if (
|
|
35667
|
-
var
|
|
35646
|
+
if (Gt(l)) {
|
|
35647
|
+
var b = typeof l.style == "string" ? n.date[l.style] : qe(l.style) ? l.style.parsedOptions : void 0;
|
|
35668
35648
|
s.push({
|
|
35669
35649
|
type: D.literal,
|
|
35670
|
-
value: r.getDateTimeFormat(t,
|
|
35650
|
+
value: r.getDateTimeFormat(t, b).format(m)
|
|
35671
35651
|
});
|
|
35672
35652
|
continue;
|
|
35673
35653
|
}
|
|
35674
|
-
if (
|
|
35675
|
-
var
|
|
35654
|
+
if (Ft(l)) {
|
|
35655
|
+
var b = typeof l.style == "string" ? n.time[l.style] : qe(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
35676
35656
|
s.push({
|
|
35677
35657
|
type: D.literal,
|
|
35678
|
-
value: r.getDateTimeFormat(t,
|
|
35658
|
+
value: r.getDateTimeFormat(t, b).format(m)
|
|
35679
35659
|
});
|
|
35680
35660
|
continue;
|
|
35681
35661
|
}
|
|
35682
|
-
if (
|
|
35683
|
-
var
|
|
35684
|
-
|
|
35662
|
+
if (qt(l)) {
|
|
35663
|
+
var b = typeof l.style == "string" ? n.number[l.style] : Zt(l.style) ? l.style.parsedOptions : void 0;
|
|
35664
|
+
b && b.scale && (m = m * (b.scale || 1)), s.push({
|
|
35685
35665
|
type: D.literal,
|
|
35686
|
-
value: r.getNumberFormat(t,
|
|
35666
|
+
value: r.getNumberFormat(t, b).format(m)
|
|
35687
35667
|
});
|
|
35688
35668
|
continue;
|
|
35689
35669
|
}
|
|
35690
|
-
if (
|
|
35691
|
-
var f = l.children,
|
|
35692
|
-
if (!
|
|
35693
|
-
throw new
|
|
35694
|
-
var _ =
|
|
35695
|
-
return
|
|
35670
|
+
if (Wt(l)) {
|
|
35671
|
+
var f = l.children, g = l.value, S = i[g];
|
|
35672
|
+
if (!Vn(S))
|
|
35673
|
+
throw new qn(g, "function", a);
|
|
35674
|
+
var _ = xe(f, t, r, n, i, o), v = S(_.map(function(k) {
|
|
35675
|
+
return k.value;
|
|
35696
35676
|
}));
|
|
35697
|
-
Array.isArray(
|
|
35677
|
+
Array.isArray(v) || (v = [v]), s.push.apply(s, v.map(function(k) {
|
|
35698
35678
|
return {
|
|
35699
|
-
type: typeof
|
|
35700
|
-
value:
|
|
35679
|
+
type: typeof k == "string" ? D.literal : D.object,
|
|
35680
|
+
value: k
|
|
35701
35681
|
};
|
|
35702
35682
|
}));
|
|
35703
35683
|
}
|
|
35704
|
-
if (
|
|
35705
|
-
var
|
|
35706
|
-
if (!
|
|
35707
|
-
throw new
|
|
35708
|
-
s.push.apply(s,
|
|
35684
|
+
if (Vt(l)) {
|
|
35685
|
+
var C = l.options[m] || l.options.other;
|
|
35686
|
+
if (!C)
|
|
35687
|
+
throw new pt(l.value, m, Object.keys(l.options), a);
|
|
35688
|
+
s.push.apply(s, xe(C.value, t, r, n, i));
|
|
35709
35689
|
continue;
|
|
35710
35690
|
}
|
|
35711
|
-
if (
|
|
35712
|
-
var
|
|
35713
|
-
if (!
|
|
35691
|
+
if (Xt(l)) {
|
|
35692
|
+
var C = l.options["=".concat(m)];
|
|
35693
|
+
if (!C) {
|
|
35714
35694
|
if (!Intl.PluralRules)
|
|
35715
|
-
throw new
|
|
35695
|
+
throw new He(`Intl.PluralRules is not available in this environment.
|
|
35716
35696
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
35717
|
-
`,
|
|
35697
|
+
`, re.MISSING_INTL_API, a);
|
|
35718
35698
|
var P = r.getPluralRules(t, { type: l.pluralType }).select(m - (l.offset || 0));
|
|
35719
|
-
|
|
35699
|
+
C = l.options[P] || l.options.other;
|
|
35720
35700
|
}
|
|
35721
|
-
if (!
|
|
35722
|
-
throw new
|
|
35723
|
-
s.push.apply(s,
|
|
35701
|
+
if (!C)
|
|
35702
|
+
throw new pt(l.value, m, Object.keys(l.options), a);
|
|
35703
|
+
s.push.apply(s, xe(C.value, t, r, n, i, m - (l.offset || 0)));
|
|
35724
35704
|
continue;
|
|
35725
35705
|
}
|
|
35726
35706
|
}
|
|
35727
|
-
return
|
|
35707
|
+
return Fn(s);
|
|
35728
35708
|
}
|
|
35729
|
-
function
|
|
35709
|
+
function Xn(e, t) {
|
|
35730
35710
|
return t ? H(H(H({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
35731
35711
|
return r[n] = H(H({}, e[n]), t[n] || {}), r;
|
|
35732
35712
|
}, {})) : e;
|
|
35733
35713
|
}
|
|
35734
|
-
function
|
|
35714
|
+
function Wn(e, t) {
|
|
35735
35715
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
35736
|
-
return r[n] =
|
|
35716
|
+
return r[n] = Xn(e[n], t[n]), r;
|
|
35737
35717
|
}, H({}, e)) : e;
|
|
35738
35718
|
}
|
|
35739
|
-
function
|
|
35719
|
+
function Re(e) {
|
|
35740
35720
|
return {
|
|
35741
35721
|
create: function() {
|
|
35742
35722
|
return {
|
|
@@ -35750,39 +35730,39 @@ function Le(e) {
|
|
|
35750
35730
|
}
|
|
35751
35731
|
};
|
|
35752
35732
|
}
|
|
35753
|
-
function
|
|
35733
|
+
function Zn(e) {
|
|
35754
35734
|
return e === void 0 && (e = {
|
|
35755
35735
|
number: {},
|
|
35756
35736
|
dateTime: {},
|
|
35757
35737
|
pluralRules: {}
|
|
35758
35738
|
}), {
|
|
35759
|
-
getNumberFormat:
|
|
35739
|
+
getNumberFormat: Ie(function() {
|
|
35760
35740
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
35761
35741
|
r[n] = arguments[n];
|
|
35762
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
35742
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Oe([void 0], r, !1)))();
|
|
35763
35743
|
}, {
|
|
35764
|
-
cache:
|
|
35765
|
-
strategy:
|
|
35744
|
+
cache: Re(e.number),
|
|
35745
|
+
strategy: je.variadic
|
|
35766
35746
|
}),
|
|
35767
|
-
getDateTimeFormat:
|
|
35747
|
+
getDateTimeFormat: Ie(function() {
|
|
35768
35748
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
35769
35749
|
r[n] = arguments[n];
|
|
35770
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
35750
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Oe([void 0], r, !1)))();
|
|
35771
35751
|
}, {
|
|
35772
|
-
cache:
|
|
35773
|
-
strategy:
|
|
35752
|
+
cache: Re(e.dateTime),
|
|
35753
|
+
strategy: je.variadic
|
|
35774
35754
|
}),
|
|
35775
|
-
getPluralRules:
|
|
35755
|
+
getPluralRules: Ie(function() {
|
|
35776
35756
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
35777
35757
|
r[n] = arguments[n];
|
|
35778
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
35758
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Oe([void 0], r, !1)))();
|
|
35779
35759
|
}, {
|
|
35780
|
-
cache:
|
|
35781
|
-
strategy:
|
|
35760
|
+
cache: Re(e.pluralRules),
|
|
35761
|
+
strategy: je.variadic
|
|
35782
35762
|
})
|
|
35783
35763
|
};
|
|
35784
35764
|
}
|
|
35785
|
-
var
|
|
35765
|
+
var Jn = (
|
|
35786
35766
|
/** @class */
|
|
35787
35767
|
function() {
|
|
35788
35768
|
function e(t, r, n, i) {
|
|
@@ -35801,7 +35781,7 @@ var Wn = (
|
|
|
35801
35781
|
}, []);
|
|
35802
35782
|
return l.length <= 1 ? l[0] || "" : l;
|
|
35803
35783
|
}, this.formatToParts = function(h) {
|
|
35804
|
-
return
|
|
35784
|
+
return xe(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
|
|
35805
35785
|
}, this.resolvedOptions = function() {
|
|
35806
35786
|
var h;
|
|
35807
35787
|
return {
|
|
@@ -35813,13 +35793,13 @@ var Wn = (
|
|
|
35813
35793
|
if (this.message = t, !e.__parse)
|
|
35814
35794
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
35815
35795
|
var a = i || {};
|
|
35816
|
-
var s =
|
|
35796
|
+
var s = on(a, ["formatters"]);
|
|
35817
35797
|
this.ast = e.__parse(t, H(H({}, s), { locale: this.resolvedLocale }));
|
|
35818
35798
|
} else
|
|
35819
35799
|
this.ast = t;
|
|
35820
35800
|
if (!Array.isArray(this.ast))
|
|
35821
35801
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
35822
|
-
this.formats =
|
|
35802
|
+
this.formats = Wn(e.formats, n), this.formatters = i && i.formatters || Zn(this.formatterCache);
|
|
35823
35803
|
}
|
|
35824
35804
|
return Object.defineProperty(e, "defaultLocale", {
|
|
35825
35805
|
get: function() {
|
|
@@ -35832,7 +35812,7 @@ var Wn = (
|
|
|
35832
35812
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
35833
35813
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
35834
35814
|
}
|
|
35835
|
-
}, e.__parse =
|
|
35815
|
+
}, e.__parse = Dn, e.formats = {
|
|
35836
35816
|
number: {
|
|
35837
35817
|
integer: {
|
|
35838
35818
|
maximumFractionDigits: 0
|
|
@@ -35893,7 +35873,7 @@ var Wn = (
|
|
|
35893
35873
|
}, e;
|
|
35894
35874
|
}()
|
|
35895
35875
|
);
|
|
35896
|
-
function
|
|
35876
|
+
function Qn(e, t) {
|
|
35897
35877
|
if (t == null)
|
|
35898
35878
|
return;
|
|
35899
35879
|
if (t in e)
|
|
@@ -35914,92 +35894,92 @@ function Zn(e, t) {
|
|
|
35914
35894
|
n = void 0;
|
|
35915
35895
|
return n;
|
|
35916
35896
|
}
|
|
35917
|
-
const
|
|
35897
|
+
const J = {}, Yn = (e, t, r) => r && (t in J || (J[t] = {}), e in J[t] || (J[t][e] = r), r), rr = (e, t) => {
|
|
35918
35898
|
if (t == null)
|
|
35919
35899
|
return;
|
|
35920
|
-
if (t in
|
|
35921
|
-
return
|
|
35922
|
-
const r =
|
|
35900
|
+
if (t in J && e in J[t])
|
|
35901
|
+
return J[t][e];
|
|
35902
|
+
const r = Pe(t);
|
|
35923
35903
|
for (let n = 0; n < r.length; n++) {
|
|
35924
|
-
const i = r[n], o =
|
|
35904
|
+
const i = r[n], o = $n(i, e);
|
|
35925
35905
|
if (o)
|
|
35926
|
-
return
|
|
35906
|
+
return Yn(e, t, o);
|
|
35927
35907
|
}
|
|
35928
35908
|
};
|
|
35929
|
-
let
|
|
35930
|
-
const
|
|
35931
|
-
function
|
|
35932
|
-
return
|
|
35909
|
+
let et;
|
|
35910
|
+
const _e = Ne({});
|
|
35911
|
+
function Kn(e) {
|
|
35912
|
+
return et[e] || null;
|
|
35933
35913
|
}
|
|
35934
|
-
function
|
|
35935
|
-
return e in
|
|
35914
|
+
function nr(e) {
|
|
35915
|
+
return e in et;
|
|
35936
35916
|
}
|
|
35937
|
-
function
|
|
35938
|
-
if (!
|
|
35917
|
+
function $n(e, t) {
|
|
35918
|
+
if (!nr(e))
|
|
35939
35919
|
return null;
|
|
35940
|
-
const r =
|
|
35941
|
-
return
|
|
35920
|
+
const r = Kn(e);
|
|
35921
|
+
return Qn(r, t);
|
|
35942
35922
|
}
|
|
35943
|
-
function
|
|
35923
|
+
function ei(e) {
|
|
35944
35924
|
if (e == null)
|
|
35945
35925
|
return;
|
|
35946
|
-
const t =
|
|
35926
|
+
const t = Pe(e);
|
|
35947
35927
|
for (let r = 0; r < t.length; r++) {
|
|
35948
35928
|
const n = t[r];
|
|
35949
|
-
if (
|
|
35929
|
+
if (nr(n))
|
|
35950
35930
|
return n;
|
|
35951
35931
|
}
|
|
35952
35932
|
}
|
|
35953
|
-
function
|
|
35954
|
-
delete
|
|
35933
|
+
function ir(e, ...t) {
|
|
35934
|
+
delete J[e], _e.update((r) => (r[e] = nn.all([r[e] || {}, ...t]), r));
|
|
35955
35935
|
}
|
|
35956
|
-
|
|
35957
|
-
[
|
|
35936
|
+
ie(
|
|
35937
|
+
[_e],
|
|
35958
35938
|
([e]) => Object.keys(e)
|
|
35959
35939
|
);
|
|
35960
|
-
|
|
35961
|
-
const
|
|
35962
|
-
function
|
|
35963
|
-
|
|
35940
|
+
_e.subscribe((e) => et = e);
|
|
35941
|
+
const Me = {};
|
|
35942
|
+
function ti(e, t) {
|
|
35943
|
+
Me[e].delete(t), Me[e].size === 0 && delete Me[e];
|
|
35964
35944
|
}
|
|
35965
|
-
function
|
|
35966
|
-
return
|
|
35945
|
+
function or(e) {
|
|
35946
|
+
return Me[e];
|
|
35967
35947
|
}
|
|
35968
|
-
function
|
|
35969
|
-
return
|
|
35970
|
-
const r =
|
|
35948
|
+
function ri(e) {
|
|
35949
|
+
return Pe(e).map((t) => {
|
|
35950
|
+
const r = or(t);
|
|
35971
35951
|
return [t, r ? [...r] : []];
|
|
35972
35952
|
}).filter(([, t]) => t.length > 0);
|
|
35973
35953
|
}
|
|
35974
|
-
function
|
|
35975
|
-
return e == null ? !1 :
|
|
35954
|
+
function Ze(e) {
|
|
35955
|
+
return e == null ? !1 : Pe(e).some(
|
|
35976
35956
|
(t) => {
|
|
35977
35957
|
var r;
|
|
35978
|
-
return (r =
|
|
35958
|
+
return (r = or(t)) == null ? void 0 : r.size;
|
|
35979
35959
|
}
|
|
35980
35960
|
);
|
|
35981
35961
|
}
|
|
35982
|
-
function
|
|
35962
|
+
function ni(e, t) {
|
|
35983
35963
|
return Promise.all(
|
|
35984
|
-
t.map((n) => (
|
|
35985
|
-
).then((n) =>
|
|
35986
|
-
}
|
|
35987
|
-
const
|
|
35988
|
-
function
|
|
35989
|
-
if (!
|
|
35990
|
-
return e in
|
|
35991
|
-
const t =
|
|
35992
|
-
return
|
|
35964
|
+
t.map((n) => (ti(e, n), n().then((i) => i.default || i)))
|
|
35965
|
+
).then((n) => ir(e, ...n));
|
|
35966
|
+
}
|
|
35967
|
+
const he = {};
|
|
35968
|
+
function ar(e) {
|
|
35969
|
+
if (!Ze(e))
|
|
35970
|
+
return e in he ? he[e] : Promise.resolve();
|
|
35971
|
+
const t = ri(e);
|
|
35972
|
+
return he[e] = Promise.all(
|
|
35993
35973
|
t.map(
|
|
35994
|
-
([r, n]) =>
|
|
35974
|
+
([r, n]) => ni(r, n)
|
|
35995
35975
|
)
|
|
35996
35976
|
).then(() => {
|
|
35997
|
-
if (
|
|
35998
|
-
return
|
|
35999
|
-
delete
|
|
36000
|
-
}),
|
|
35977
|
+
if (Ze(e))
|
|
35978
|
+
return ar(e);
|
|
35979
|
+
delete he[e];
|
|
35980
|
+
}), he[e];
|
|
36001
35981
|
}
|
|
36002
|
-
const
|
|
35982
|
+
const ii = {
|
|
36003
35983
|
number: {
|
|
36004
35984
|
scientific: { notation: "scientific" },
|
|
36005
35985
|
engineering: { notation: "engineering" },
|
|
@@ -36028,150 +36008,150 @@ const ri = {
|
|
|
36028
36008
|
timeZoneName: "short"
|
|
36029
36009
|
}
|
|
36030
36010
|
}
|
|
36031
|
-
},
|
|
36011
|
+
}, oi = {
|
|
36032
36012
|
fallbackLocale: null,
|
|
36033
36013
|
loadingDelay: 200,
|
|
36034
|
-
formats:
|
|
36014
|
+
formats: ii,
|
|
36035
36015
|
warnOnMissingMessages: !0,
|
|
36036
36016
|
handleMissingMessage: void 0,
|
|
36037
36017
|
ignoreTag: !0
|
|
36038
|
-
},
|
|
36039
|
-
function
|
|
36040
|
-
return
|
|
36018
|
+
}, ai = oi;
|
|
36019
|
+
function ne() {
|
|
36020
|
+
return ai;
|
|
36041
36021
|
}
|
|
36042
|
-
const
|
|
36043
|
-
var
|
|
36022
|
+
const Ue = Ne(!1);
|
|
36023
|
+
var si = Object.defineProperty, li = Object.defineProperties, ci = Object.getOwnPropertyDescriptors, ft = Object.getOwnPropertySymbols, ui = Object.prototype.hasOwnProperty, hi = Object.prototype.propertyIsEnumerable, _t = (e, t, r) => t in e ? si(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, di = (e, t) => {
|
|
36044
36024
|
for (var r in t || (t = {}))
|
|
36045
|
-
|
|
36046
|
-
if (
|
|
36047
|
-
for (var r of
|
|
36048
|
-
|
|
36025
|
+
ui.call(t, r) && _t(e, r, t[r]);
|
|
36026
|
+
if (ft)
|
|
36027
|
+
for (var r of ft(t))
|
|
36028
|
+
hi.call(t, r) && _t(e, r, t[r]);
|
|
36049
36029
|
return e;
|
|
36050
|
-
},
|
|
36051
|
-
let
|
|
36052
|
-
const Te =
|
|
36053
|
-
function
|
|
36030
|
+
}, mi = (e, t) => li(e, ci(t));
|
|
36031
|
+
let Je;
|
|
36032
|
+
const Te = Ne(null);
|
|
36033
|
+
function bt(e) {
|
|
36054
36034
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
36055
36035
|
}
|
|
36056
|
-
function
|
|
36057
|
-
const r =
|
|
36058
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
36036
|
+
function Pe(e, t = ne().fallbackLocale) {
|
|
36037
|
+
const r = bt(e);
|
|
36038
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...bt(t)])] : r;
|
|
36059
36039
|
}
|
|
36060
|
-
function
|
|
36061
|
-
return
|
|
36040
|
+
function Y() {
|
|
36041
|
+
return Je ?? void 0;
|
|
36062
36042
|
}
|
|
36063
36043
|
Te.subscribe((e) => {
|
|
36064
|
-
|
|
36044
|
+
Je = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
36065
36045
|
});
|
|
36066
|
-
const
|
|
36067
|
-
if (e &&
|
|
36068
|
-
const { loadingDelay: t } =
|
|
36046
|
+
const gi = (e) => {
|
|
36047
|
+
if (e && ei(e) && Ze(e)) {
|
|
36048
|
+
const { loadingDelay: t } = ne();
|
|
36069
36049
|
let r;
|
|
36070
|
-
return typeof window < "u" &&
|
|
36071
|
-
() =>
|
|
36050
|
+
return typeof window < "u" && Y() != null && t ? r = window.setTimeout(
|
|
36051
|
+
() => Ue.set(!0),
|
|
36072
36052
|
t
|
|
36073
|
-
) :
|
|
36053
|
+
) : Ue.set(!0), ar(e).then(() => {
|
|
36074
36054
|
Te.set(e);
|
|
36075
36055
|
}).finally(() => {
|
|
36076
|
-
clearTimeout(r),
|
|
36056
|
+
clearTimeout(r), Ue.set(!1);
|
|
36077
36057
|
});
|
|
36078
36058
|
}
|
|
36079
36059
|
return Te.set(e);
|
|
36080
|
-
},
|
|
36081
|
-
set:
|
|
36082
|
-
}),
|
|
36060
|
+
}, oe = mi(di({}, Te), {
|
|
36061
|
+
set: gi
|
|
36062
|
+
}), Be = (e) => {
|
|
36083
36063
|
const t = /* @__PURE__ */ Object.create(null);
|
|
36084
36064
|
return (n) => {
|
|
36085
36065
|
const i = JSON.stringify(n);
|
|
36086
36066
|
return i in t ? t[i] : t[i] = e(n);
|
|
36087
36067
|
};
|
|
36088
36068
|
};
|
|
36089
|
-
var
|
|
36069
|
+
var pi = Object.defineProperty, we = Object.getOwnPropertySymbols, sr = Object.prototype.hasOwnProperty, lr = Object.prototype.propertyIsEnumerable, vt = (e, t, r) => t in e ? pi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, tt = (e, t) => {
|
|
36090
36070
|
for (var r in t || (t = {}))
|
|
36091
|
-
|
|
36092
|
-
if (
|
|
36093
|
-
for (var r of
|
|
36094
|
-
|
|
36071
|
+
sr.call(t, r) && vt(e, r, t[r]);
|
|
36072
|
+
if (we)
|
|
36073
|
+
for (var r of we(t))
|
|
36074
|
+
lr.call(t, r) && vt(e, r, t[r]);
|
|
36095
36075
|
return e;
|
|
36096
|
-
},
|
|
36076
|
+
}, ae = (e, t) => {
|
|
36097
36077
|
var r = {};
|
|
36098
36078
|
for (var n in e)
|
|
36099
|
-
|
|
36100
|
-
if (e != null &&
|
|
36101
|
-
for (var n of
|
|
36102
|
-
t.indexOf(n) < 0 &&
|
|
36079
|
+
sr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
36080
|
+
if (e != null && we)
|
|
36081
|
+
for (var n of we(e))
|
|
36082
|
+
t.indexOf(n) < 0 && lr.call(e, n) && (r[n] = e[n]);
|
|
36103
36083
|
return r;
|
|
36104
36084
|
};
|
|
36105
|
-
const
|
|
36106
|
-
const { formats: r } =
|
|
36085
|
+
const ge = (e, t) => {
|
|
36086
|
+
const { formats: r } = ne();
|
|
36107
36087
|
if (e in r && t in r[e])
|
|
36108
36088
|
return r[e][t];
|
|
36109
36089
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
36110
|
-
},
|
|
36090
|
+
}, fi = Be(
|
|
36111
36091
|
(e) => {
|
|
36112
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
36092
|
+
var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
|
|
36113
36093
|
if (r == null)
|
|
36114
36094
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
36115
|
-
return n && (i =
|
|
36095
|
+
return n && (i = ge("number", n)), new Intl.NumberFormat(r, i);
|
|
36116
36096
|
}
|
|
36117
|
-
),
|
|
36097
|
+
), _i = Be(
|
|
36118
36098
|
(e) => {
|
|
36119
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
36099
|
+
var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
|
|
36120
36100
|
if (r == null)
|
|
36121
36101
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
36122
|
-
return n ? i =
|
|
36102
|
+
return n ? i = ge("date", n) : Object.keys(i).length === 0 && (i = ge("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
36123
36103
|
}
|
|
36124
|
-
),
|
|
36104
|
+
), bi = Be(
|
|
36125
36105
|
(e) => {
|
|
36126
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
36106
|
+
var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
|
|
36127
36107
|
if (r == null)
|
|
36128
36108
|
throw new Error(
|
|
36129
36109
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
36130
36110
|
);
|
|
36131
|
-
return n ? i =
|
|
36111
|
+
return n ? i = ge("time", n) : Object.keys(i).length === 0 && (i = ge("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
36132
36112
|
}
|
|
36133
|
-
),
|
|
36113
|
+
), vi = (e = {}) => {
|
|
36134
36114
|
var t = e, {
|
|
36135
|
-
locale: r =
|
|
36136
|
-
} = t, n =
|
|
36115
|
+
locale: r = Y()
|
|
36116
|
+
} = t, n = ae(t, [
|
|
36137
36117
|
"locale"
|
|
36138
36118
|
]);
|
|
36139
|
-
return
|
|
36140
|
-
},
|
|
36119
|
+
return fi(tt({ locale: r }, n));
|
|
36120
|
+
}, yi = (e = {}) => {
|
|
36141
36121
|
var t = e, {
|
|
36142
|
-
locale: r =
|
|
36143
|
-
} = t, n =
|
|
36122
|
+
locale: r = Y()
|
|
36123
|
+
} = t, n = ae(t, [
|
|
36144
36124
|
"locale"
|
|
36145
36125
|
]);
|
|
36146
|
-
return
|
|
36147
|
-
},
|
|
36126
|
+
return _i(tt({ locale: r }, n));
|
|
36127
|
+
}, Ei = (e = {}) => {
|
|
36148
36128
|
var t = e, {
|
|
36149
|
-
locale: r =
|
|
36150
|
-
} = t, n =
|
|
36129
|
+
locale: r = Y()
|
|
36130
|
+
} = t, n = ae(t, [
|
|
36151
36131
|
"locale"
|
|
36152
36132
|
]);
|
|
36153
|
-
return
|
|
36154
|
-
},
|
|
36133
|
+
return bi(tt({ locale: r }, n));
|
|
36134
|
+
}, ki = Be(
|
|
36155
36135
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
36156
|
-
(e, t =
|
|
36157
|
-
ignoreTag:
|
|
36136
|
+
(e, t = Y()) => new Jn(e, t, ne().formats, {
|
|
36137
|
+
ignoreTag: ne().ignoreTag
|
|
36158
36138
|
})
|
|
36159
|
-
),
|
|
36139
|
+
), Ci = (e, t = {}) => {
|
|
36160
36140
|
var r, n, i, o;
|
|
36161
36141
|
let a = t;
|
|
36162
36142
|
typeof e == "object" && (a = e, e = a.id);
|
|
36163
36143
|
const {
|
|
36164
36144
|
values: s,
|
|
36165
|
-
locale: h =
|
|
36145
|
+
locale: h = Y(),
|
|
36166
36146
|
default: u
|
|
36167
36147
|
} = a;
|
|
36168
36148
|
if (h == null)
|
|
36169
36149
|
throw new Error(
|
|
36170
36150
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
36171
36151
|
);
|
|
36172
|
-
let l =
|
|
36152
|
+
let l = rr(e, h);
|
|
36173
36153
|
if (!l)
|
|
36174
|
-
l = (o = (i = (n = (r =
|
|
36154
|
+
l = (o = (i = (n = (r = ne()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
36175
36155
|
else if (typeof l != "string")
|
|
36176
36156
|
return console.warn(
|
|
36177
36157
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -36180,7 +36160,7 @@ const me = (e, t) => {
|
|
|
36180
36160
|
return l;
|
|
36181
36161
|
let d = l;
|
|
36182
36162
|
try {
|
|
36183
|
-
d =
|
|
36163
|
+
d = ki(l, h).format(s);
|
|
36184
36164
|
} catch (m) {
|
|
36185
36165
|
m instanceof Error && console.warn(
|
|
36186
36166
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -36188,18 +36168,18 @@ const me = (e, t) => {
|
|
|
36188
36168
|
);
|
|
36189
36169
|
}
|
|
36190
36170
|
return d;
|
|
36191
|
-
},
|
|
36192
|
-
|
|
36193
|
-
|
|
36194
|
-
|
|
36195
|
-
|
|
36196
|
-
function
|
|
36197
|
-
|
|
36198
|
-
}
|
|
36199
|
-
function
|
|
36200
|
-
|
|
36201
|
-
}
|
|
36202
|
-
const
|
|
36171
|
+
}, Si = (e, t) => Ei(t).format(e), xi = (e, t) => yi(t).format(e), Mi = (e, t) => vi(t).format(e), Ti = (e, t = Y()) => rr(e, t), wi = ie([oe, _e], () => Ci);
|
|
36172
|
+
ie([oe], () => Si);
|
|
36173
|
+
ie([oe], () => xi);
|
|
36174
|
+
ie([oe], () => Mi);
|
|
36175
|
+
ie([oe, _e], () => Ti);
|
|
36176
|
+
function yt(e, t) {
|
|
36177
|
+
ir(e, t);
|
|
36178
|
+
}
|
|
36179
|
+
function Ni(e) {
|
|
36180
|
+
oe.set(e);
|
|
36181
|
+
}
|
|
36182
|
+
const Et = {
|
|
36203
36183
|
en: {
|
|
36204
36184
|
invalidUrl: "Failed to construct 'URL': Invalid URL",
|
|
36205
36185
|
fetchConsentsError: "Error: Could not fetch consents.",
|
|
@@ -36771,18 +36751,18 @@ if (typeof window < "u") {
|
|
|
36771
36751
|
}
|
|
36772
36752
|
};
|
|
36773
36753
|
};
|
|
36774
|
-
customElements.define = e(customElements.define), Promise.resolve().then(function () { return
|
|
36754
|
+
customElements.define = e(customElements.define), Promise.resolve().then(function () { return GeneralAnimationLoadingBMZE178n; }).then((t) => t.G).then(({ default: t }) => {
|
|
36775
36755
|
!customElements.get("general-animation-loading") && customElements.define("general-animation-loading", t.element);
|
|
36776
36756
|
});
|
|
36777
36757
|
}
|
|
36778
|
-
function
|
|
36758
|
+
function Ai(e) {
|
|
36779
36759
|
let t, r;
|
|
36780
36760
|
return {
|
|
36781
36761
|
c() {
|
|
36782
36762
|
t = V("svg"), r = V("path"), B$1(r, "d", "M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zm0-384c13.3 0 24 10.7 24 24l0 112c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-112c0-13.3 10.7-24 24-24zM224 352a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z"), B$1(t, "xmlns", "http://www.w3.org/2000/svg"), B$1(t, "viewBox", "0 0 512 512");
|
|
36783
36763
|
},
|
|
36784
36764
|
m(n, i) {
|
|
36785
|
-
|
|
36765
|
+
v(n, t, i), G(t, r);
|
|
36786
36766
|
},
|
|
36787
36767
|
p: d,
|
|
36788
36768
|
i: d,
|
|
@@ -36792,34 +36772,34 @@ function wi(e) {
|
|
|
36792
36772
|
}
|
|
36793
36773
|
};
|
|
36794
36774
|
}
|
|
36795
|
-
class
|
|
36775
|
+
class Hi extends lt$1 {
|
|
36796
36776
|
constructor(t) {
|
|
36797
|
-
super(), ct$1(this, t, null,
|
|
36777
|
+
super(), ct$1(this, t, null, Ai, z, {});
|
|
36798
36778
|
}
|
|
36799
36779
|
}
|
|
36800
|
-
customElements.define("circle-exclamation-icon", ot
|
|
36801
|
-
function
|
|
36780
|
+
customElements.define("circle-exclamation-icon", ot(Hi, {}, [], [], !0));
|
|
36781
|
+
function Pi(e) {
|
|
36802
36782
|
I(e, "svelte-ltb9q9", '.DisplayNone.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{display:none}.ContainerCenter.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:219px}.ErrorMessage.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{font-size:12px;color:var(--emw--color-error, #ed0909)}.PlayerConsentsHeader.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{margin-bottom:30px}.AccordionHeader.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{font-weight:bold;cursor:pointer;border-bottom:1px solid var(--emw--color-gray-50, #cccccc);display:flex;align-items:center;justify-content:space-between}.AccordionItem.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{margin-bottom:10px}.AccordionContent.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{display:block;padding:10px 0}.AccordionContent.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9:last-of-type{padding-bottom:0}.ConsentItem.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{display:flex;width:100%;justify-content:space-between;align-items:center;margin-bottom:20px}.ConsentItem.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9:last-of-type{margin-bottom:0}.ConsentItem.svelte-ltb9q9 .ConsentName.svelte-ltb9q9.svelte-ltb9q9{margin:0}.ConsentItem.svelte-ltb9q9 .ConsentDescription.svelte-ltb9q9.svelte-ltb9q9{font-size:0.8rem}.ToggleSwitch.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{position:relative;display:inline-block;width:40px;height:24px}.ToggleSwitch.Big.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{width:53px;height:30px}.ToggleSwitch.Big.svelte-ltb9q9 .Slider.svelte-ltb9q9.svelte-ltb9q9:before{width:22px;height:22px}.ToggleSwitch.Big.svelte-ltb9q9 input.svelte-ltb9q9:checked+.Slider.svelte-ltb9q9:before{-webkit-transform:translateX(22px);-ms-transform:translateX(22px);transform:translateX(22px)}.ToggleSwitch.svelte-ltb9q9 input.svelte-ltb9q9.svelte-ltb9q9{opacity:0;width:0;height:0}.ToggleSwitch.svelte-ltb9q9 input.svelte-ltb9q9:checked+.Slider.svelte-ltb9q9{background-color:var(--emw--color-primary, #307fe2)}.ToggleSwitch.svelte-ltb9q9 input.svelte-ltb9q9:disabled+.Slider.svelte-ltb9q9{opacity:0.1}.ToggleSwitch.svelte-ltb9q9 input.svelte-ltb9q9:checked+.Slider.svelte-ltb9q9:before{-webkit-transform:translateX(16px);-ms-transform:translateX(16px);transform:translateX(16px)}.ToggleSwitch.svelte-ltb9q9 input.svelte-ltb9q9:focus+.Slider.svelte-ltb9q9{box-shadow:0 0 1px var(--emw--color-primary, #307fe2)}.ToggleSwitch.svelte-ltb9q9 .Slider.svelte-ltb9q9.svelte-ltb9q9{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:var(--emw--color-gray-150, #a1a1a1);-webkit-transition:0.4s;transition:0.4s}.ToggleSwitch.svelte-ltb9q9 .Slider.svelte-ltb9q9.svelte-ltb9q9:before{position:absolute;content:"";height:16px;width:16px;left:4px;bottom:4px;background-color:var(--emw--color-white, #fff);-webkit-transition:0.4s;transition:0.4s}.ToggleSwitch.svelte-ltb9q9 .Slider.Round.svelte-ltb9q9.svelte-ltb9q9{border-radius:34px}.ToggleSwitch.svelte-ltb9q9 .Slider.Round.svelte-ltb9q9.svelte-ltb9q9:before{border-radius:50%}.SaveConsentsButton.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{display:block;width:100%;margin:50px auto;outline:none;cursor:pointer;background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);border-radius:var(--emw--button-border-radius, 50px);padding:10px 20px;font-size:var(--emw--font-size-large, 20px);font-family:var(--emw--button-typography);color:var(--emw--button-text-color, #FFFFFF)}.SaveConsentsButton.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9:disabled{background:var(--emw--color-pale, var(--emw--color-gray-50, #707070))}.ConsentErrorContainer.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{display:flex;gap:10px;align-items:center;border:1px dashed var(--emw--color-error, #ed0909);padding:10px;margin-bottom:10px}.ConsentErrorContainer.svelte-ltb9q9 circle-exclamation-icon.svelte-ltb9q9.svelte-ltb9q9{width:15px;fill:var(--emw--color-error, #ed0909)}.ConsentRequired.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{color:var(--emw--color-error, #ed0909)}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox.svelte-ltb9q9.svelte-ltb9q9{font-family:"Roboto";font-style:normal}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox .checkbox__wrapper.svelte-ltb9q9.svelte-ltb9q9{display:flex;gap:10px;position:relative;align-items:baseline;margin-bottom:30px}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox .checkbox__wrapper .checkbox__wrapper--relative.svelte-ltb9q9.svelte-ltb9q9{position:relative}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox .checkbox__input.svelte-ltb9q9.svelte-ltb9q9{transform:scale(1.307, 1.307);margin-left:2px;accent-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox .checkbox__label.svelte-ltb9q9.svelte-ltb9q9{font-style:inherit;font-family:inherit;font-weight:400;font-size:var(--emw--font-size-medium, 16px);color:var(--emw--registration-typography, var(--emw--color-black, #000000));line-height:1.5;cursor:pointer;padding:0}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox .checkbox__label .checkbox__label-text.svelte-ltb9q9.svelte-ltb9q9{font-size:var(--emw--font-size-medium, 16px)}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox .checkbox__error-message.svelte-ltb9q9.svelte-ltb9q9{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox .checkbox__tooltip-icon.svelte-ltb9q9.svelte-ltb9q9{width:16px;height:auto}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox .checkbox__tooltip.svelte-ltb9q9.svelte-ltb9q9{position:absolute;top:0;right:20px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox .checkbox__tooltip.visible.svelte-ltb9q9.svelte-ltb9q9{opacity:1}');
|
|
36803
36783
|
}
|
|
36804
|
-
function
|
|
36784
|
+
function kt(e, t, r) {
|
|
36805
36785
|
const n = e.slice();
|
|
36806
36786
|
return n[64] = t[r], n;
|
|
36807
36787
|
}
|
|
36808
|
-
function
|
|
36788
|
+
function Ct(e, t, r) {
|
|
36809
36789
|
const n = e.slice();
|
|
36810
36790
|
return n[61] = t[r], n[62] = t, n[63] = r, n;
|
|
36811
36791
|
}
|
|
36812
|
-
function
|
|
36792
|
+
function St(e, t, r) {
|
|
36813
36793
|
const n = e.slice();
|
|
36814
36794
|
return n[64] = t[r], n;
|
|
36815
36795
|
}
|
|
36816
|
-
function
|
|
36817
|
-
let t, r, n =
|
|
36796
|
+
function Bi(e) {
|
|
36797
|
+
let t, r, n = kt$1(
|
|
36818
36798
|
/*playerConsents*/
|
|
36819
36799
|
e[9]
|
|
36820
36800
|
), i = [];
|
|
36821
36801
|
for (let o = 0; o < n.length; o += 1)
|
|
36822
|
-
i[o] = kt(
|
|
36802
|
+
i[o] = xt(kt(e, n, o));
|
|
36823
36803
|
return {
|
|
36824
36804
|
c() {
|
|
36825
36805
|
t = w$1("div"), r = w$1("form");
|
|
@@ -36828,7 +36808,7 @@ function Hi(e) {
|
|
|
36828
36808
|
B$1(r, "class", "checkbox svelte-ltb9q9"), B$1(t, "class", "legacyStyle");
|
|
36829
36809
|
},
|
|
36830
36810
|
m(o, a) {
|
|
36831
|
-
|
|
36811
|
+
v(o, t, a), G(t, r);
|
|
36832
36812
|
for (let s = 0; s < i.length; s += 1)
|
|
36833
36813
|
i[s] && i[s].m(r, null);
|
|
36834
36814
|
e[31](r);
|
|
@@ -36836,14 +36816,14 @@ function Hi(e) {
|
|
|
36836
36816
|
p(o, a) {
|
|
36837
36817
|
if (a[0] & /*playerConsents, $_, handleInput*/
|
|
36838
36818
|
590336) {
|
|
36839
|
-
n =
|
|
36819
|
+
n = kt$1(
|
|
36840
36820
|
/*playerConsents*/
|
|
36841
36821
|
o[9]
|
|
36842
36822
|
);
|
|
36843
36823
|
let s;
|
|
36844
36824
|
for (s = 0; s < n.length; s += 1) {
|
|
36845
|
-
const h =
|
|
36846
|
-
i[s] ? i[s].p(h, a) : (i[s] =
|
|
36825
|
+
const h = kt(o, n, s);
|
|
36826
|
+
i[s] ? i[s].p(h, a) : (i[s] = xt(h), i[s].c(), i[s].m(r, null));
|
|
36847
36827
|
}
|
|
36848
36828
|
for (; s < i.length; s += 1)
|
|
36849
36829
|
i[s].d(1);
|
|
@@ -36855,7 +36835,7 @@ function Hi(e) {
|
|
|
36855
36835
|
}
|
|
36856
36836
|
};
|
|
36857
36837
|
}
|
|
36858
|
-
function
|
|
36838
|
+
function zi(e) {
|
|
36859
36839
|
let t = (
|
|
36860
36840
|
/*$_*/
|
|
36861
36841
|
e[16]("title") || /*$_*/
|
|
@@ -36863,67 +36843,67 @@ function Pi(e) {
|
|
|
36863
36843
|
), r, n, i, o = (
|
|
36864
36844
|
/*$_*/
|
|
36865
36845
|
(e[16]("saveButtonContent") || "Save Consents") + ""
|
|
36866
|
-
), a, s, h, u, l, d = t &&
|
|
36846
|
+
), a, s, h, u, l, d = t && Mt(e), m = kt$1(
|
|
36867
36847
|
/*consentsCategories*/
|
|
36868
36848
|
e[8]
|
|
36869
|
-
),
|
|
36870
|
-
for (let
|
|
36871
|
-
|
|
36849
|
+
), b = [];
|
|
36850
|
+
for (let g = 0; g < m.length; g += 1)
|
|
36851
|
+
b[g] = Pt(Ct(e, m, g));
|
|
36872
36852
|
let f = (
|
|
36873
36853
|
/*errorMessage*/
|
|
36874
|
-
e[6] &&
|
|
36854
|
+
e[6] && Bt(e)
|
|
36875
36855
|
);
|
|
36876
36856
|
return {
|
|
36877
36857
|
c() {
|
|
36878
36858
|
d && d.c(), r = pt$1();
|
|
36879
|
-
for (let
|
|
36880
|
-
|
|
36859
|
+
for (let g = 0; g < b.length; g += 1)
|
|
36860
|
+
b[g].c();
|
|
36881
36861
|
n = pt$1(), i = w$1("button"), s = pt$1(), f && f.c(), h = yt$1(), B$1(i, "class", "SaveConsentsButton svelte-ltb9q9"), i.disabled = a = !/*isValid*/
|
|
36882
36862
|
e[14];
|
|
36883
36863
|
},
|
|
36884
|
-
m(
|
|
36885
|
-
d && d.m(
|
|
36886
|
-
for (let _ = 0; _ <
|
|
36887
|
-
|
|
36888
|
-
|
|
36864
|
+
m(g, S) {
|
|
36865
|
+
d && d.m(g, S), v(g, r, S);
|
|
36866
|
+
for (let _ = 0; _ < b.length; _ += 1)
|
|
36867
|
+
b[_] && b[_].m(g, S);
|
|
36868
|
+
v(g, n, S), v(g, i, S), i.innerHTML = o, v(g, s, S), f && f.m(g, S), v(g, h, S), u || (l = wt$1(
|
|
36889
36869
|
i,
|
|
36890
36870
|
"click",
|
|
36891
36871
|
/*saveChanges*/
|
|
36892
36872
|
e[17]
|
|
36893
36873
|
), u = !0);
|
|
36894
36874
|
},
|
|
36895
|
-
p(
|
|
36896
|
-
if (
|
|
36875
|
+
p(g, S) {
|
|
36876
|
+
if (S[0] & /*$_*/
|
|
36897
36877
|
65536 && (t = /*$_*/
|
|
36898
|
-
|
|
36899
|
-
|
|
36878
|
+
g[16]("title") || /*$_*/
|
|
36879
|
+
g[16]("description")), t ? d ? d.p(g, S) : (d = Mt(g), d.c(), d.m(r.parentNode, r)) : d && (d.d(1), d = null), S[0] & /*playerConsents, consentsCategories, initialConsentsState, consentsState, handleInput, $_, displayconsentdescription, categoryToggle, toggleCategoryConsents*/
|
|
36900
36880
|
867088) {
|
|
36901
|
-
m =
|
|
36881
|
+
m = kt$1(
|
|
36902
36882
|
/*consentsCategories*/
|
|
36903
|
-
|
|
36883
|
+
g[8]
|
|
36904
36884
|
);
|
|
36905
36885
|
let _;
|
|
36906
36886
|
for (_ = 0; _ < m.length; _ += 1) {
|
|
36907
|
-
const
|
|
36908
|
-
|
|
36887
|
+
const v = Ct(g, m, _);
|
|
36888
|
+
b[_] ? b[_].p(v, S) : (b[_] = Pt(v), b[_].c(), b[_].m(n.parentNode, n));
|
|
36909
36889
|
}
|
|
36910
|
-
for (; _ <
|
|
36911
|
-
|
|
36912
|
-
|
|
36890
|
+
for (; _ < b.length; _ += 1)
|
|
36891
|
+
b[_].d(1);
|
|
36892
|
+
b.length = m.length;
|
|
36913
36893
|
}
|
|
36914
|
-
|
|
36894
|
+
S[0] & /*$_*/
|
|
36915
36895
|
65536 && o !== (o = /*$_*/
|
|
36916
|
-
(
|
|
36896
|
+
(g[16]("saveButtonContent") || "Save Consents") + "") && (i.innerHTML = o), S[0] & /*isValid*/
|
|
36917
36897
|
16384 && a !== (a = !/*isValid*/
|
|
36918
|
-
|
|
36919
|
-
|
|
36898
|
+
g[14]) && (i.disabled = a), /*errorMessage*/
|
|
36899
|
+
g[6] ? f ? f.p(g, S) : (f = Bt(g), f.c(), f.m(h.parentNode, h)) : f && (f.d(1), f = null);
|
|
36920
36900
|
},
|
|
36921
|
-
d(
|
|
36922
|
-
|
|
36901
|
+
d(g) {
|
|
36902
|
+
g && (y(r), y(n), y(i), y(s), y(h)), d && d.d(g), bt$1(b, g), f && f.d(g), u = !1, l();
|
|
36923
36903
|
}
|
|
36924
36904
|
};
|
|
36925
36905
|
}
|
|
36926
|
-
function
|
|
36906
|
+
function Oi(e) {
|
|
36927
36907
|
let t, r, n;
|
|
36928
36908
|
return {
|
|
36929
36909
|
c() {
|
|
@@ -36933,7 +36913,7 @@ function Bi(e) {
|
|
|
36933
36913
|
), B$1(r, "class", "ErrorMessage svelte-ltb9q9"), B$1(t, "class", "ContainerCenter svelte-ltb9q9");
|
|
36934
36914
|
},
|
|
36935
36915
|
m(i, o) {
|
|
36936
|
-
|
|
36916
|
+
v(i, t, o), G(t, r), G(r, n);
|
|
36937
36917
|
},
|
|
36938
36918
|
p(i, o) {
|
|
36939
36919
|
o[0] & /*fatalError*/
|
|
@@ -36948,7 +36928,7 @@ function Bi(e) {
|
|
|
36948
36928
|
}
|
|
36949
36929
|
};
|
|
36950
36930
|
}
|
|
36951
|
-
function
|
|
36931
|
+
function Ii(e) {
|
|
36952
36932
|
let t;
|
|
36953
36933
|
return {
|
|
36954
36934
|
c() {
|
|
@@ -36970,7 +36950,7 @@ function zi(e) {
|
|
|
36970
36950
|
);
|
|
36971
36951
|
},
|
|
36972
36952
|
m(r, n) {
|
|
36973
|
-
|
|
36953
|
+
v(r, t, n);
|
|
36974
36954
|
},
|
|
36975
36955
|
p(r, n) {
|
|
36976
36956
|
n[0] & /*clientstyling*/
|
|
@@ -36998,7 +36978,7 @@ function zi(e) {
|
|
|
36998
36978
|
}
|
|
36999
36979
|
};
|
|
37000
36980
|
}
|
|
37001
|
-
function
|
|
36981
|
+
function xt(e) {
|
|
37002
36982
|
let t, r, n, i, o, a, s, h, u = (
|
|
37003
36983
|
/*$_*/
|
|
37004
36984
|
(e[16](`${/*consent*/
|
|
@@ -37007,31 +36987,31 @@ function kt(e) {
|
|
|
37007
36987
|
), l = (
|
|
37008
36988
|
/*consent*/
|
|
37009
36989
|
e[64].mustAccept ? " *" : ""
|
|
37010
|
-
), d, m,
|
|
37011
|
-
function P$1(...
|
|
36990
|
+
), d, m, b, f, g, S, _, v$1, C;
|
|
36991
|
+
function P$1(...k) {
|
|
37012
36992
|
return (
|
|
37013
36993
|
/*input_handler_1*/
|
|
37014
36994
|
e[30](
|
|
37015
36995
|
/*consent*/
|
|
37016
36996
|
e[64],
|
|
37017
|
-
...
|
|
36997
|
+
...k
|
|
37018
36998
|
)
|
|
37019
36999
|
);
|
|
37020
37000
|
}
|
|
37021
37001
|
return {
|
|
37022
37002
|
c() {
|
|
37023
|
-
t = w$1("div"), r = w$1("input"), o = pt$1(), a = w$1("label"), s = w$1("div"), h = new Lt
|
|
37003
|
+
t = w$1("div"), r = w$1("input"), o = pt$1(), a = w$1("label"), s = w$1("div"), h = new Lt(!1), d = P(l), b = pt$1(), f = w$1("small"), S = pt$1(), B$1(r, "class", "checkbox__input svelte-ltb9q9"), B$1(r, "type", "checkbox"), r.checked = n = /*consent*/
|
|
37024
37004
|
e[64].status === "1", B$1(r, "id", i = `${/*consent*/
|
|
37025
37005
|
e[64].tagCode}__input`), h.a = d, B$1(s, "class", "checkbox__label-text svelte-ltb9q9"), B$1(a, "class", "checkbox__label svelte-ltb9q9"), B$1(a, "for", m = `${/*consent*/
|
|
37026
|
-
e[64].tagCode}__input`), B$1(f, "class", "checkbox__error-message svelte-ltb9q9"), B$1(f, "id",
|
|
37006
|
+
e[64].tagCode}__input`), B$1(f, "class", "checkbox__error-message svelte-ltb9q9"), B$1(f, "id", g = "checkBoxError__" + /*consent*/
|
|
37027
37007
|
e[64].tagCode), B$1(t, "class", _ = "checkbox__wrapper " + /*consent*/
|
|
37028
37008
|
e[64].tagCode + "__input svelte-ltb9q9");
|
|
37029
37009
|
},
|
|
37030
|
-
m(
|
|
37031
|
-
k
|
|
37010
|
+
m(k, z) {
|
|
37011
|
+
v(k, t, z), G(t, r), G(t, o), G(t, a), G(a, s), h.m(u, s), G(s, d), G(t, b), G(t, f), G(t, S), v$1 || (C = wt$1(r, "input", P$1), v$1 = !0);
|
|
37032
37012
|
},
|
|
37033
|
-
p(
|
|
37034
|
-
e =
|
|
37013
|
+
p(k, z) {
|
|
37014
|
+
e = k, z[0] & /*playerConsents*/
|
|
37035
37015
|
512 && n !== (n = /*consent*/
|
|
37036
37016
|
e[64].status === "1") && (r.checked = n), z[0] & /*playerConsents*/
|
|
37037
37017
|
512 && i !== (i = `${/*consent*/
|
|
@@ -37044,44 +37024,44 @@ function kt(e) {
|
|
|
37044
37024
|
e[64].mustAccept ? " *" : "") && Et$1(d, l), z[0] & /*playerConsents*/
|
|
37045
37025
|
512 && m !== (m = `${/*consent*/
|
|
37046
37026
|
e[64].tagCode}__input`) && B$1(a, "for", m), z[0] & /*playerConsents*/
|
|
37047
|
-
512 &&
|
|
37048
|
-
e[64].tagCode) && B$1(f, "id",
|
|
37027
|
+
512 && g !== (g = "checkBoxError__" + /*consent*/
|
|
37028
|
+
e[64].tagCode) && B$1(f, "id", g), z[0] & /*playerConsents*/
|
|
37049
37029
|
512 && _ !== (_ = "checkbox__wrapper " + /*consent*/
|
|
37050
37030
|
e[64].tagCode + "__input svelte-ltb9q9") && B$1(t, "class", _);
|
|
37051
37031
|
},
|
|
37052
|
-
d(
|
|
37053
|
-
|
|
37032
|
+
d(k) {
|
|
37033
|
+
k && y(t), v$1 = !1, C();
|
|
37054
37034
|
}
|
|
37055
37035
|
};
|
|
37056
37036
|
}
|
|
37057
|
-
function
|
|
37037
|
+
function Mt(e) {
|
|
37058
37038
|
let t, r = (
|
|
37059
37039
|
/*$_*/
|
|
37060
37040
|
e[16]("title")
|
|
37061
37041
|
), n, i = (
|
|
37062
37042
|
/*$_*/
|
|
37063
37043
|
e[16]("description")
|
|
37064
|
-
), o = r &&
|
|
37044
|
+
), o = r && Tt(e), a = i && wt(e);
|
|
37065
37045
|
return {
|
|
37066
37046
|
c() {
|
|
37067
37047
|
t = w$1("div"), o && o.c(), n = pt$1(), a && a.c(), B$1(t, "class", "PlayerConsentsHeader svelte-ltb9q9");
|
|
37068
37048
|
},
|
|
37069
37049
|
m(s, h) {
|
|
37070
|
-
|
|
37050
|
+
v(s, t, h), o && o.m(t, null), G(t, n), a && a.m(t, null);
|
|
37071
37051
|
},
|
|
37072
37052
|
p(s, h) {
|
|
37073
37053
|
h[0] & /*$_*/
|
|
37074
37054
|
65536 && (r = /*$_*/
|
|
37075
|
-
s[16]("title")), r ? o ? o.p(s, h) : (o =
|
|
37055
|
+
s[16]("title")), r ? o ? o.p(s, h) : (o = Tt(s), o.c(), o.m(t, n)) : o && (o.d(1), o = null), h[0] & /*$_*/
|
|
37076
37056
|
65536 && (i = /*$_*/
|
|
37077
|
-
s[16]("description")), i ? a ? a.p(s, h) : (a =
|
|
37057
|
+
s[16]("description")), i ? a ? a.p(s, h) : (a = wt(s), a.c(), a.m(t, null)) : a && (a.d(1), a = null);
|
|
37078
37058
|
},
|
|
37079
37059
|
d(s) {
|
|
37080
37060
|
s && y(t), o && o.d(), a && a.d();
|
|
37081
37061
|
}
|
|
37082
37062
|
};
|
|
37083
37063
|
}
|
|
37084
|
-
function
|
|
37064
|
+
function Tt(e) {
|
|
37085
37065
|
let t, r = (
|
|
37086
37066
|
/*$_*/
|
|
37087
37067
|
e[16]("title") + ""
|
|
@@ -37091,7 +37071,7 @@ function St(e) {
|
|
|
37091
37071
|
t = w$1("h2"), n = P(r), B$1(t, "class", "PlayerConsentsTitle");
|
|
37092
37072
|
},
|
|
37093
37073
|
m(i, o) {
|
|
37094
|
-
|
|
37074
|
+
v(i, t, o), G(t, n);
|
|
37095
37075
|
},
|
|
37096
37076
|
p(i, o) {
|
|
37097
37077
|
o[0] & /*$_*/
|
|
@@ -37103,7 +37083,7 @@ function St(e) {
|
|
|
37103
37083
|
}
|
|
37104
37084
|
};
|
|
37105
37085
|
}
|
|
37106
|
-
function
|
|
37086
|
+
function wt(e) {
|
|
37107
37087
|
let t, r = (
|
|
37108
37088
|
/*$_*/
|
|
37109
37089
|
e[16]("description") + ""
|
|
@@ -37113,7 +37093,7 @@ function xt(e) {
|
|
|
37113
37093
|
t = w$1("p"), n = P(r), B$1(t, "class", "PlayerConsentsDescription");
|
|
37114
37094
|
},
|
|
37115
37095
|
m(i, o) {
|
|
37116
|
-
|
|
37096
|
+
v(i, t, o), G(t, n);
|
|
37117
37097
|
},
|
|
37118
37098
|
p(i, o) {
|
|
37119
37099
|
o[0] & /*$_*/
|
|
@@ -37125,21 +37105,21 @@ function xt(e) {
|
|
|
37125
37105
|
}
|
|
37126
37106
|
};
|
|
37127
37107
|
}
|
|
37128
|
-
function
|
|
37108
|
+
function Nt(e) {
|
|
37129
37109
|
let t;
|
|
37130
37110
|
return {
|
|
37131
37111
|
c() {
|
|
37132
37112
|
t = w$1("sup"), t.textContent = "*", B$1(t, "class", "ConsentRequired svelte-ltb9q9");
|
|
37133
37113
|
},
|
|
37134
37114
|
m(r, n) {
|
|
37135
|
-
|
|
37115
|
+
v(r, t, n);
|
|
37136
37116
|
},
|
|
37137
37117
|
d(r) {
|
|
37138
37118
|
r && y(t);
|
|
37139
37119
|
}
|
|
37140
37120
|
};
|
|
37141
37121
|
}
|
|
37142
|
-
function
|
|
37122
|
+
function At(e) {
|
|
37143
37123
|
let t, r = (
|
|
37144
37124
|
/*$_*/
|
|
37145
37125
|
(e[16](`${/*consent*/
|
|
@@ -37151,7 +37131,7 @@ function Mt(e) {
|
|
|
37151
37131
|
t = w$1("p"), B$1(t, "class", "ConsentDescription svelte-ltb9q9");
|
|
37152
37132
|
},
|
|
37153
37133
|
m(n, i) {
|
|
37154
|
-
|
|
37134
|
+
v(n, t, i), t.innerHTML = r;
|
|
37155
37135
|
},
|
|
37156
37136
|
p(n, i) {
|
|
37157
37137
|
i[0] & /*$_, playerConsents, consentsCategories*/
|
|
@@ -37165,20 +37145,20 @@ function Mt(e) {
|
|
|
37165
37145
|
}
|
|
37166
37146
|
};
|
|
37167
37147
|
}
|
|
37168
|
-
function
|
|
37148
|
+
function Ht(e) {
|
|
37169
37149
|
let t, r, n, i, o = (
|
|
37170
37150
|
/*$_*/
|
|
37171
37151
|
(e[16](`${/*consent*/
|
|
37172
37152
|
e[64].tagCode}__name`) || /*consent*/
|
|
37173
37153
|
e[64].friendlyName) + ""
|
|
37174
|
-
), a, s, h, u, l, d, m,
|
|
37154
|
+
), a, s, h, u, l, d, m, b, f, g, S, _ = (
|
|
37175
37155
|
/*consent*/
|
|
37176
|
-
e[64].mustAccept === !0 &&
|
|
37177
|
-
),
|
|
37156
|
+
e[64].mustAccept === !0 && Nt()
|
|
37157
|
+
), v$1 = (
|
|
37178
37158
|
/*displayconsentdescription*/
|
|
37179
|
-
e[4] === "true" &&
|
|
37159
|
+
e[4] === "true" && At(e)
|
|
37180
37160
|
);
|
|
37181
|
-
function
|
|
37161
|
+
function C(...P) {
|
|
37182
37162
|
return (
|
|
37183
37163
|
/*input_handler*/
|
|
37184
37164
|
e[29](
|
|
@@ -37190,7 +37170,7 @@ function wt(e) {
|
|
|
37190
37170
|
}
|
|
37191
37171
|
return {
|
|
37192
37172
|
c() {
|
|
37193
|
-
t = w$1("div"), r = w$1("div"), n = w$1("h4"), i = new Lt
|
|
37173
|
+
t = w$1("div"), r = w$1("div"), n = w$1("h4"), i = new Lt(!1), a = pt$1(), _ && _.c(), s = pt$1(), v$1 && v$1.c(), h = pt$1(), u = w$1("label"), l = w$1("input"), b = pt$1(), f = w$1("span"), i.a = a, B$1(n, "class", "ConsentName svelte-ltb9q9"), B$1(r, "class", "ConsentContent"), B$1(l, "type", "checkbox"), l.disabled = d = /*consent*/
|
|
37194
37174
|
e[64].mustAccept === !0 && /*initialConsentsState*/
|
|
37195
37175
|
e[12][
|
|
37196
37176
|
/*consent*/
|
|
@@ -37201,23 +37181,23 @@ function wt(e) {
|
|
|
37201
37181
|
e[64].tagCode
|
|
37202
37182
|
], B$1(l, "class", "svelte-ltb9q9"), B$1(f, "class", "Slider Round svelte-ltb9q9"), B$1(u, "class", "ToggleSwitch svelte-ltb9q9"), B$1(t, "class", "ConsentItem svelte-ltb9q9");
|
|
37203
37183
|
},
|
|
37204
|
-
m(P,
|
|
37205
|
-
|
|
37184
|
+
m(P, k) {
|
|
37185
|
+
v(P, t, k), G(t, r), G(r, n), i.m(o, n), G(n, a), _ && _.m(n, null), G(r, s), v$1 && v$1.m(r, null), G(t, h), G(t, u), G(u, l), G(u, b), G(u, f), g || (S = wt$1(l, "input", C), g = !0);
|
|
37206
37186
|
},
|
|
37207
|
-
p(P,
|
|
37208
|
-
e = P,
|
|
37187
|
+
p(P, k) {
|
|
37188
|
+
e = P, k[0] & /*$_, playerConsents, consentsCategories*/
|
|
37209
37189
|
66304 && o !== (o = /*$_*/
|
|
37210
37190
|
(e[16](`${/*consent*/
|
|
37211
37191
|
e[64].tagCode}__name`) || /*consent*/
|
|
37212
37192
|
e[64].friendlyName) + "") && i.p(o), /*consent*/
|
|
37213
|
-
e[64].mustAccept === !0 ? _ || (_ =
|
|
37214
|
-
e[4] === "true" ?
|
|
37193
|
+
e[64].mustAccept === !0 ? _ || (_ = Nt(), _.c(), _.m(n, null)) : _ && (_.d(1), _ = null), /*displayconsentdescription*/
|
|
37194
|
+
e[4] === "true" ? v$1 ? v$1.p(e, k) : (v$1 = At(e), v$1.c(), v$1.m(r, null)) : v$1 && (v$1.d(1), v$1 = null), k[0] & /*playerConsents, consentsCategories, initialConsentsState*/
|
|
37215
37195
|
4864 && d !== (d = /*consent*/
|
|
37216
37196
|
e[64].mustAccept === !0 && /*initialConsentsState*/
|
|
37217
37197
|
e[12][
|
|
37218
37198
|
/*consent*/
|
|
37219
37199
|
e[64].tagCode
|
|
37220
|
-
] === !0) && (l.disabled = d),
|
|
37200
|
+
] === !0) && (l.disabled = d), k[0] & /*consentsState, playerConsents, consentsCategories*/
|
|
37221
37201
|
8960 && m !== (m = /*consentsState*/
|
|
37222
37202
|
e[13][
|
|
37223
37203
|
/*consent*/
|
|
@@ -37225,17 +37205,17 @@ function wt(e) {
|
|
|
37225
37205
|
]) && (l.checked = m);
|
|
37226
37206
|
},
|
|
37227
37207
|
d(P) {
|
|
37228
|
-
P && y(t), _ && _.d(),
|
|
37208
|
+
P && y(t), _ && _.d(), v$1 && v$1.d(), g = !1, S();
|
|
37229
37209
|
}
|
|
37230
37210
|
};
|
|
37231
37211
|
}
|
|
37232
|
-
function
|
|
37212
|
+
function Pt(e) {
|
|
37233
37213
|
let t, r, n, i = (
|
|
37234
37214
|
/*$_*/
|
|
37235
37215
|
(e[16](`${/*category*/
|
|
37236
37216
|
e[61].categoryTagCode}__category`) || /*category*/
|
|
37237
37217
|
e[61].friendlyName) + ""
|
|
37238
|
-
), o, a, s, h, u, l, d, m,
|
|
37218
|
+
), o, a, s, h, u, l, d, m, b;
|
|
37239
37219
|
function f() {
|
|
37240
37220
|
e[26].call(
|
|
37241
37221
|
s,
|
|
@@ -37243,7 +37223,7 @@ function Nt(e) {
|
|
|
37243
37223
|
e[61]
|
|
37244
37224
|
);
|
|
37245
37225
|
}
|
|
37246
|
-
function
|
|
37226
|
+
function g() {
|
|
37247
37227
|
return (
|
|
37248
37228
|
/*change_handler*/
|
|
37249
37229
|
e[27](
|
|
@@ -37252,44 +37232,44 @@ function Nt(e) {
|
|
|
37252
37232
|
)
|
|
37253
37233
|
);
|
|
37254
37234
|
}
|
|
37255
|
-
function
|
|
37235
|
+
function S(...C) {
|
|
37256
37236
|
return (
|
|
37257
37237
|
/*func*/
|
|
37258
37238
|
e[28](
|
|
37259
37239
|
/*category*/
|
|
37260
37240
|
e[61],
|
|
37261
|
-
...
|
|
37241
|
+
...C
|
|
37262
37242
|
)
|
|
37263
37243
|
);
|
|
37264
37244
|
}
|
|
37265
|
-
let _ =
|
|
37245
|
+
let _ = kt$1(
|
|
37266
37246
|
/*playerConsents*/
|
|
37267
|
-
e[9].filter(
|
|
37268
|
-
),
|
|
37269
|
-
for (let
|
|
37270
|
-
|
|
37247
|
+
e[9].filter(S)
|
|
37248
|
+
), v$1 = [];
|
|
37249
|
+
for (let C = 0; C < _.length; C += 1)
|
|
37250
|
+
v$1[C] = Ht(St(e, _, C));
|
|
37271
37251
|
return {
|
|
37272
37252
|
c() {
|
|
37273
37253
|
t = w$1("div"), r = w$1("div"), n = w$1("h3"), o = pt$1(), a = w$1("label"), s = w$1("input"), h = pt$1(), u = w$1("span"), l = pt$1(), d = w$1("div");
|
|
37274
|
-
for (let
|
|
37275
|
-
|
|
37254
|
+
for (let C = 0; C < v$1.length; C += 1)
|
|
37255
|
+
v$1[C].c();
|
|
37276
37256
|
B$1(s, "type", "checkbox"), B$1(s, "class", "svelte-ltb9q9"), B$1(u, "class", "Slider Round svelte-ltb9q9"), B$1(a, "class", "ToggleSwitch Big svelte-ltb9q9"), B$1(r, "class", "AccordionHeader svelte-ltb9q9"), B$1(d, "class", "AccordionContent svelte-ltb9q9"), B$1(t, "class", "AccordionItem svelte-ltb9q9");
|
|
37277
37257
|
},
|
|
37278
|
-
m(
|
|
37279
|
-
|
|
37258
|
+
m(C, P) {
|
|
37259
|
+
v(C, t, P), G(t, r), G(r, n), n.innerHTML = i, G(r, o), G(r, a), G(a, s), s.checked = /*categoryToggle*/
|
|
37280
37260
|
e[11][
|
|
37281
37261
|
/*category*/
|
|
37282
37262
|
e[61].categoryTagCode
|
|
37283
37263
|
], G(a, h), G(a, u), G(t, l), G(t, d);
|
|
37284
|
-
for (let
|
|
37285
|
-
|
|
37286
|
-
m || (
|
|
37264
|
+
for (let k = 0; k < v$1.length; k += 1)
|
|
37265
|
+
v$1[k] && v$1[k].m(d, null);
|
|
37266
|
+
m || (b = [
|
|
37287
37267
|
wt$1(s, "change", f),
|
|
37288
|
-
wt$1(s, "change",
|
|
37268
|
+
wt$1(s, "change", g)
|
|
37289
37269
|
], m = !0);
|
|
37290
37270
|
},
|
|
37291
|
-
p(
|
|
37292
|
-
if (e =
|
|
37271
|
+
p(C, P) {
|
|
37272
|
+
if (e = C, P[0] & /*$_, consentsCategories*/
|
|
37293
37273
|
65792 && i !== (i = /*$_*/
|
|
37294
37274
|
(e[16](`${/*category*/
|
|
37295
37275
|
e[61].categoryTagCode}__category`) || /*category*/
|
|
@@ -37300,26 +37280,26 @@ function Nt(e) {
|
|
|
37300
37280
|
e[61].categoryTagCode
|
|
37301
37281
|
]), P[0] & /*playerConsents, consentsCategories, initialConsentsState, consentsState, handleInput, $_, displayconsentdescription*/
|
|
37302
37282
|
602896) {
|
|
37303
|
-
_ =
|
|
37283
|
+
_ = kt$1(
|
|
37304
37284
|
/*playerConsents*/
|
|
37305
|
-
e[9].filter(
|
|
37285
|
+
e[9].filter(S)
|
|
37306
37286
|
);
|
|
37307
|
-
let
|
|
37308
|
-
for (
|
|
37309
|
-
const z =
|
|
37310
|
-
|
|
37287
|
+
let k;
|
|
37288
|
+
for (k = 0; k < _.length; k += 1) {
|
|
37289
|
+
const z = St(e, _, k);
|
|
37290
|
+
v$1[k] ? v$1[k].p(z, P) : (v$1[k] = Ht(z), v$1[k].c(), v$1[k].m(d, null));
|
|
37311
37291
|
}
|
|
37312
|
-
for (;
|
|
37313
|
-
|
|
37314
|
-
|
|
37292
|
+
for (; k < v$1.length; k += 1)
|
|
37293
|
+
v$1[k].d(1);
|
|
37294
|
+
v$1.length = _.length;
|
|
37315
37295
|
}
|
|
37316
37296
|
},
|
|
37317
|
-
d(
|
|
37318
|
-
|
|
37297
|
+
d(C) {
|
|
37298
|
+
C && y(t), bt$1(v$1, C), m = !1, p(b);
|
|
37319
37299
|
}
|
|
37320
37300
|
};
|
|
37321
37301
|
}
|
|
37322
|
-
function
|
|
37302
|
+
function Bt(e) {
|
|
37323
37303
|
let t, r, n, i, o;
|
|
37324
37304
|
return {
|
|
37325
37305
|
c() {
|
|
@@ -37329,7 +37309,7 @@ function At(e) {
|
|
|
37329
37309
|
), xt$1(r, "class", "svelte-ltb9q9"), B$1(i, "class", "ErrorMessage svelte-ltb9q9"), B$1(t, "class", "ConsentErrorContainer svelte-ltb9q9");
|
|
37330
37310
|
},
|
|
37331
37311
|
m(a, s) {
|
|
37332
|
-
|
|
37312
|
+
v(a, t, s), G(t, r), G(t, n), G(t, i), G(i, o);
|
|
37333
37313
|
},
|
|
37334
37314
|
p(a, s) {
|
|
37335
37315
|
s[0] & /*errorMessage*/
|
|
@@ -37344,23 +37324,27 @@ function At(e) {
|
|
|
37344
37324
|
}
|
|
37345
37325
|
};
|
|
37346
37326
|
}
|
|
37347
|
-
function
|
|
37327
|
+
function ji(e) {
|
|
37348
37328
|
let t, r;
|
|
37349
37329
|
function n(a, s) {
|
|
37350
37330
|
if (
|
|
37351
37331
|
/*isLoading*/
|
|
37352
37332
|
a[10]
|
|
37353
|
-
)
|
|
37333
|
+
)
|
|
37334
|
+
return Ii;
|
|
37354
37335
|
if (
|
|
37355
37336
|
/*fatalError*/
|
|
37356
37337
|
a[7]
|
|
37357
|
-
)
|
|
37338
|
+
)
|
|
37339
|
+
return Oi;
|
|
37358
37340
|
if (
|
|
37359
37341
|
/*session*/
|
|
37360
37342
|
a[0]
|
|
37361
|
-
)
|
|
37343
|
+
)
|
|
37344
|
+
return zi;
|
|
37362
37345
|
if (!/*session*/
|
|
37363
|
-
a[0])
|
|
37346
|
+
a[0])
|
|
37347
|
+
return Bi;
|
|
37364
37348
|
}
|
|
37365
37349
|
let i = n(e), o = i && i(e);
|
|
37366
37350
|
return {
|
|
@@ -37368,7 +37352,7 @@ function Oi(e) {
|
|
|
37368
37352
|
t = w$1("div"), r = w$1("div"), o && o.c(), B$1(r, "class", "ConsentsContainer svelte-ltb9q9"), B$1(t, "class", gt$1("") + " svelte-ltb9q9");
|
|
37369
37353
|
},
|
|
37370
37354
|
m(a, s) {
|
|
37371
|
-
|
|
37355
|
+
v(a, t, s), G(t, r), o && o.m(r, null), e[32](r);
|
|
37372
37356
|
},
|
|
37373
37357
|
p(a, s) {
|
|
37374
37358
|
i === (i = n(a)) && o ? o.p(a, s) : (o && o.d(1), o = i && i(a), o && (o.c(), o.m(r, null)));
|
|
@@ -37380,189 +37364,190 @@ function Oi(e) {
|
|
|
37380
37364
|
}
|
|
37381
37365
|
};
|
|
37382
37366
|
}
|
|
37383
|
-
function
|
|
37367
|
+
function Li(e, t, r) {
|
|
37384
37368
|
let n;
|
|
37385
|
-
_t$1(e,
|
|
37386
|
-
let { session: i = "" } = t, { userid: o = "" } = t, { endpoint: a = "" } = t, { clientstyling: s = "" } = t, { clientstylingurl: h = "" } = t, { mbsource: u } = t, { lang: l = "en" } = t, { displayconsentdescription: d = "" } = t, { translationurl: m = "" } = t, { modalconsents:
|
|
37369
|
+
_t$1(e, wi, (c) => r(16, n = c));
|
|
37370
|
+
let { session: i = "" } = t, { userid: o = "" } = t, { endpoint: a = "" } = t, { clientstyling: s = "" } = t, { clientstylingurl: h = "" } = t, { mbsource: u } = t, { lang: l = "en" } = t, { displayconsentdescription: d = "" } = t, { translationurl: m = "" } = t, { modalconsents: b = "false" } = t, f, g, S = !1, _ = !1, v = "", C = "", P = "", k = "", z = [], W$1 = [], O = [], se = !0, be = !0, G = {}, ve = {}, Z = {}, U = {}, le, ye, R = {
|
|
37387
37371
|
none: { key: "0", value: "None" },
|
|
37388
37372
|
accepted: { key: "1", value: "Accepted" },
|
|
37389
37373
|
expired: { key: "2", value: "Expired" },
|
|
37390
37374
|
denied: { key: "3", value: "Denied" },
|
|
37391
37375
|
suspended: { key: "4", value: "Suspended" }
|
|
37392
|
-
},
|
|
37393
|
-
Object.keys(
|
|
37394
|
-
|
|
37376
|
+
}, Ee = !1;
|
|
37377
|
+
Object.keys(Et).forEach((c) => {
|
|
37378
|
+
yt(c, Et[c]);
|
|
37395
37379
|
});
|
|
37396
|
-
const
|
|
37397
|
-
|
|
37398
|
-
},
|
|
37380
|
+
const cr = () => {
|
|
37381
|
+
Ni(l);
|
|
37382
|
+
}, ur = () => {
|
|
37399
37383
|
let c = new URL(m);
|
|
37400
|
-
fetch(c.href).then((
|
|
37401
|
-
Object.keys(
|
|
37402
|
-
|
|
37384
|
+
fetch(c.href).then((p) => p.json()).then((p) => {
|
|
37385
|
+
Object.keys(p).forEach((T) => {
|
|
37386
|
+
yt(T, p[T]);
|
|
37403
37387
|
});
|
|
37404
|
-
}).catch((
|
|
37405
|
-
console.log(
|
|
37388
|
+
}).catch((p) => {
|
|
37389
|
+
console.log(p);
|
|
37406
37390
|
});
|
|
37407
|
-
},
|
|
37408
|
-
i && (
|
|
37409
|
-
},
|
|
37410
|
-
|
|
37411
|
-
},
|
|
37391
|
+
}, hr = () => {
|
|
37392
|
+
i && (v = i, _ = !0), o && (C = o);
|
|
37393
|
+
}, ke = (c, p = !1) => {
|
|
37394
|
+
p ? r(7, k = c) : (_r(), r(6, P = c));
|
|
37395
|
+
}, ce = async (c, p, T, y = !1) => {
|
|
37412
37396
|
try {
|
|
37413
|
-
const
|
|
37414
|
-
if (!
|
|
37415
|
-
throw new Error(n(
|
|
37416
|
-
const I = await
|
|
37417
|
-
return
|
|
37418
|
-
} catch (
|
|
37419
|
-
throw
|
|
37420
|
-
|
|
37397
|
+
const M = await fetch(c, T);
|
|
37398
|
+
if (!M.ok)
|
|
37399
|
+
throw new Error(n(p));
|
|
37400
|
+
const I = await M.json();
|
|
37401
|
+
return _ ? I : I.filter((F) => F.showOnRegister === !0);
|
|
37402
|
+
} catch (M) {
|
|
37403
|
+
throw ke(
|
|
37404
|
+
M instanceof TypeError ? n(p) : M.message,
|
|
37421
37405
|
y
|
|
37422
|
-
),
|
|
37406
|
+
), M;
|
|
37423
37407
|
}
|
|
37424
|
-
},
|
|
37408
|
+
}, dr = async () => {
|
|
37425
37409
|
try {
|
|
37426
|
-
let c = [],
|
|
37427
|
-
if (
|
|
37428
|
-
let y = O.find((
|
|
37410
|
+
let c = [], p = [];
|
|
37411
|
+
if (_ ? [c, p] = await rt() : c = await rt(), r(10, se = !1), W$1 = [...c], r(8, z = gr(W$1).sort((T, y) => T.categoryTagCode.localeCompare(y.categoryTagCode))), r(11, G = pr(z)), ve = { ...G }, r(9, O = [...p]), W$1.forEach((T) => {
|
|
37412
|
+
let y = O.find((M) => M.tagCode === T.tagCode);
|
|
37429
37413
|
y || (y = {
|
|
37430
|
-
...
|
|
37414
|
+
...T,
|
|
37431
37415
|
status: R.denied.value
|
|
37432
|
-
}, O.push(y)), y.description =
|
|
37433
|
-
}),
|
|
37434
|
-
if (r(9, O = O.filter((
|
|
37435
|
-
|
|
37416
|
+
}, O.push(y)), y.description = T.description, y.orderNumber = T.orderNumber;
|
|
37417
|
+
}), b === "true") {
|
|
37418
|
+
if (r(9, O = O.filter((T) => T.status === R.expired.value)), O.length !== 0)
|
|
37419
|
+
return;
|
|
37420
|
+
ke(n("wrongModalConfig"), !0);
|
|
37436
37421
|
}
|
|
37437
|
-
|
|
37422
|
+
fr();
|
|
37438
37423
|
} catch (c) {
|
|
37439
|
-
throw r(10,
|
|
37424
|
+
throw r(10, se = !1), ke(
|
|
37440
37425
|
c instanceof TypeError ? n("invalidUrl") : c.message,
|
|
37441
37426
|
!0
|
|
37442
37427
|
), c;
|
|
37443
37428
|
}
|
|
37444
|
-
},
|
|
37429
|
+
}, rt = async () => {
|
|
37445
37430
|
const c = new URL(`${a}/api/v1/gm/consents`);
|
|
37446
|
-
if (c.searchParams.append("Status", "Active"), !
|
|
37447
|
-
return await
|
|
37448
|
-
const
|
|
37431
|
+
if (c.searchParams.append("Status", "Active"), !_)
|
|
37432
|
+
return await ce(c.href, "fetchConsentsError", { method: "GET" }, !0);
|
|
37433
|
+
const p = new URL(`${a}/api/v1/gm/user-consents/${C}`);
|
|
37449
37434
|
return await Promise.all([
|
|
37450
|
-
|
|
37451
|
-
|
|
37435
|
+
ce(c.href, "fetchConsentsError", { method: "GET" }, !0),
|
|
37436
|
+
ce(p.href, "fetchPlayerConsentsError", {
|
|
37452
37437
|
method: "GET",
|
|
37453
37438
|
headers: {
|
|
37454
|
-
"X-SessionId":
|
|
37439
|
+
"X-SessionId": v,
|
|
37455
37440
|
"Content-Type": "application/json"
|
|
37456
37441
|
}
|
|
37457
37442
|
})
|
|
37458
37443
|
]);
|
|
37459
|
-
},
|
|
37460
|
-
|
|
37461
|
-
const c = new URL(`${a}/api/v2/gm/legislation/consents`),
|
|
37444
|
+
}, mr = () => {
|
|
37445
|
+
Ee = !1;
|
|
37446
|
+
const c = new URL(`${a}/api/v2/gm/legislation/consents`), p = {
|
|
37462
37447
|
"Content-Type": "application/json",
|
|
37463
37448
|
Accept: "application/json"
|
|
37464
|
-
},
|
|
37465
|
-
fetch(c.href,
|
|
37466
|
-
if (!
|
|
37467
|
-
if (
|
|
37449
|
+
}, T = { method: "GET", headers: p };
|
|
37450
|
+
fetch(c.href, T).then((y) => y.ok ? y.json() : (Ee = !0, y.json().then((M) => (console.error(M), Ce(M))))).then((y) => {
|
|
37451
|
+
if (!Ee) {
|
|
37452
|
+
if (W$1 = y, localStorage.getItem("playerConsents")) {
|
|
37468
37453
|
try {
|
|
37469
37454
|
r(9, O = JSON.parse(localStorage.getItem("playerConsents")));
|
|
37470
|
-
} catch (
|
|
37471
|
-
return console.error(
|
|
37455
|
+
} catch (M) {
|
|
37456
|
+
return console.error(M), Ce(M);
|
|
37472
37457
|
}
|
|
37473
37458
|
return;
|
|
37474
37459
|
}
|
|
37475
|
-
return r(9, O =
|
|
37476
|
-
id:
|
|
37460
|
+
return r(9, O = W$1.map((M) => ({
|
|
37461
|
+
id: M.id,
|
|
37477
37462
|
status: R.denied.key,
|
|
37478
|
-
friendlyName:
|
|
37479
|
-
tagCode:
|
|
37463
|
+
friendlyName: M.friendlyName,
|
|
37464
|
+
tagCode: M.tagCode,
|
|
37480
37465
|
selected: null,
|
|
37481
|
-
mustAccept:
|
|
37466
|
+
mustAccept: M.mustAccept
|
|
37482
37467
|
}))), localStorage.setItem("playerConsents", JSON.stringify(O)), O;
|
|
37483
37468
|
}
|
|
37484
|
-
}).catch((y) => (console.error(y),
|
|
37485
|
-
r(10,
|
|
37469
|
+
}).catch((y) => (console.error(y), Ce(y))).finally(() => {
|
|
37470
|
+
r(10, se = !1);
|
|
37486
37471
|
});
|
|
37487
|
-
},
|
|
37488
|
-
const
|
|
37489
|
-
return c.forEach((
|
|
37490
|
-
|
|
37491
|
-
}), Array.from(
|
|
37492
|
-
},
|
|
37493
|
-
const
|
|
37494
|
-
if (
|
|
37495
|
-
const
|
|
37496
|
-
(y,
|
|
37472
|
+
}, gr = (c) => {
|
|
37473
|
+
const p = /* @__PURE__ */ new Map();
|
|
37474
|
+
return c.forEach((T) => {
|
|
37475
|
+
p.has(T.category.categoryTagCode) || p.set(T.category.categoryTagCode, T.category);
|
|
37476
|
+
}), Array.from(p.values());
|
|
37477
|
+
}, pr = (c) => {
|
|
37478
|
+
const p = localStorage.getItem("categoryToggle" + C);
|
|
37479
|
+
if (p === null) {
|
|
37480
|
+
const T = c.reduce(
|
|
37481
|
+
(y, M) => (y[M.categoryTagCode] = !1, y),
|
|
37497
37482
|
{}
|
|
37498
37483
|
);
|
|
37499
|
-
return localStorage.setItem("categoryToggle" +
|
|
37484
|
+
return localStorage.setItem("categoryToggle" + C, JSON.stringify(T)), T;
|
|
37500
37485
|
} else
|
|
37501
|
-
return JSON.parse(
|
|
37502
|
-
},
|
|
37486
|
+
return JSON.parse(p);
|
|
37487
|
+
}, fr = () => {
|
|
37503
37488
|
O.forEach((c) => {
|
|
37504
|
-
r(12,
|
|
37505
|
-
}), r(13, U = { ...
|
|
37506
|
-
},
|
|
37507
|
-
r(13, U = { ...
|
|
37508
|
-
},
|
|
37509
|
-
if (!
|
|
37489
|
+
r(12, Z[c.tagCode] = c.status === R.accepted.value, Z);
|
|
37490
|
+
}), r(13, U = { ...Z });
|
|
37491
|
+
}, _r = () => {
|
|
37492
|
+
r(13, U = { ...Z }), r(11, G = { ...ve });
|
|
37493
|
+
}, br = async () => {
|
|
37494
|
+
if (!be)
|
|
37510
37495
|
return;
|
|
37511
|
-
|
|
37512
|
-
const c = [],
|
|
37496
|
+
be = !1;
|
|
37497
|
+
const c = [], p = [];
|
|
37513
37498
|
if (Object.keys(U).forEach((y) => {
|
|
37514
|
-
const
|
|
37515
|
-
U[y] !==
|
|
37499
|
+
const M = O.find((I) => I.tagCode === y);
|
|
37500
|
+
U[y] !== Z[y] && (M ? c.push({
|
|
37516
37501
|
tagCode: y,
|
|
37517
37502
|
status: U[y] ? R.accepted.value : R.denied.value
|
|
37518
|
-
}) :
|
|
37503
|
+
}) : p.push({
|
|
37519
37504
|
tagCode: y,
|
|
37520
37505
|
status: U[y] ? R.accepted.value : R.denied.value
|
|
37521
37506
|
}));
|
|
37522
|
-
}), !
|
|
37523
|
-
localStorage.setItem("categoryToggle" +
|
|
37507
|
+
}), !_) {
|
|
37508
|
+
localStorage.setItem("categoryToggle" + C, JSON.stringify(G)), ve = { ...G }, window.postMessage(
|
|
37524
37509
|
{
|
|
37525
37510
|
type: "NewPlayerConsentData",
|
|
37526
|
-
data: JSON.stringify(
|
|
37511
|
+
data: JSON.stringify(p)
|
|
37527
37512
|
},
|
|
37528
37513
|
window.location.href
|
|
37529
|
-
),
|
|
37514
|
+
), be = !0;
|
|
37530
37515
|
return;
|
|
37531
37516
|
}
|
|
37532
|
-
const
|
|
37517
|
+
const T = new URL(`${a}/api/v1/gm/user-consents/${C}`);
|
|
37533
37518
|
try {
|
|
37534
37519
|
const y = await Promise.allSettled([
|
|
37535
|
-
|
|
37520
|
+
p.length > 0 && ce(T.href, "updateConsentsError", {
|
|
37536
37521
|
method: "POST",
|
|
37537
37522
|
headers: {
|
|
37538
|
-
"X-SessionId":
|
|
37523
|
+
"X-SessionId": v,
|
|
37539
37524
|
"Content-Type": "application/json"
|
|
37540
37525
|
},
|
|
37541
|
-
body: JSON.stringify({ userConsents:
|
|
37526
|
+
body: JSON.stringify({ userConsents: p })
|
|
37542
37527
|
}),
|
|
37543
|
-
c.length > 0 &&
|
|
37528
|
+
c.length > 0 && ce(T.href, "updateConsentsError", {
|
|
37544
37529
|
method: "PATCH",
|
|
37545
37530
|
headers: {
|
|
37546
|
-
"X-SessionId":
|
|
37531
|
+
"X-SessionId": v,
|
|
37547
37532
|
"Content-Type": "application/json"
|
|
37548
37533
|
},
|
|
37549
37534
|
body: JSON.stringify({ userConsents: c })
|
|
37550
37535
|
})
|
|
37551
37536
|
]);
|
|
37552
|
-
y.forEach((
|
|
37553
|
-
if (
|
|
37554
|
-
const F = I <
|
|
37555
|
-
r(13, U[F.tagCode] =
|
|
37537
|
+
y.forEach((M, I) => {
|
|
37538
|
+
if (M.status === "rejected" || M.value.ok === !1) {
|
|
37539
|
+
const F = I < p.length ? p[I] : c[I - p.length];
|
|
37540
|
+
r(13, U[F.tagCode] = Z[F.tagCode], U);
|
|
37556
37541
|
}
|
|
37557
|
-
}), y.every((
|
|
37542
|
+
}), y.every((M) => M.status === "fulfilled") && (localStorage.setItem("categoryToggle" + C, JSON.stringify(G)), ve = { ...G }, window.postMessage(
|
|
37558
37543
|
{
|
|
37559
37544
|
type: "PlayerConsentUpdated",
|
|
37560
37545
|
success: !0
|
|
37561
37546
|
},
|
|
37562
37547
|
window.location.href
|
|
37563
|
-
), r(12,
|
|
37548
|
+
), r(12, Z = { ...U }));
|
|
37564
37549
|
} catch (y) {
|
|
37565
|
-
|
|
37550
|
+
ke(y instanceof TypeError ? n("saveChangesError") : y.message), window.postMessage(
|
|
37566
37551
|
{
|
|
37567
37552
|
type: "PlayerConsentUpdated",
|
|
37568
37553
|
success: !1
|
|
@@ -37570,57 +37555,58 @@ function Ii(e, t, r) {
|
|
|
37570
37555
|
window.location.href
|
|
37571
37556
|
);
|
|
37572
37557
|
} finally {
|
|
37573
|
-
|
|
37558
|
+
be = !0, r(14, le = !1);
|
|
37574
37559
|
}
|
|
37575
|
-
},
|
|
37576
|
-
const
|
|
37560
|
+
}, vr = (c) => {
|
|
37561
|
+
const p = new URL(`${a}/api/v2/gm/legislation/consents`), T = {
|
|
37577
37562
|
"Content-Type": "application/json",
|
|
37578
37563
|
Accept: "application/json"
|
|
37579
37564
|
}, y = {
|
|
37580
37565
|
playerConsents: O,
|
|
37581
37566
|
registrationId: c
|
|
37582
|
-
},
|
|
37567
|
+
}, M = {
|
|
37583
37568
|
method: "POST",
|
|
37584
37569
|
body: JSON.stringify(y),
|
|
37585
|
-
headers:
|
|
37570
|
+
headers: T
|
|
37586
37571
|
};
|
|
37587
|
-
fetch(
|
|
37588
|
-
I.ok || (
|
|
37589
|
-
}).catch((I) => (console.error(I),
|
|
37590
|
-
r(10,
|
|
37572
|
+
fetch(p.href, M).then((I) => {
|
|
37573
|
+
I.ok || (Ee = !0);
|
|
37574
|
+
}).catch((I) => (console.error(I), Ce(I))).finally(() => {
|
|
37575
|
+
r(10, se = !1);
|
|
37591
37576
|
});
|
|
37592
|
-
},
|
|
37593
|
-
O.filter((
|
|
37594
|
-
|
|
37595
|
-
}), r(14,
|
|
37596
|
-
},
|
|
37597
|
-
const y = O.find((F) => F.id ===
|
|
37577
|
+
}, nt = (c) => {
|
|
37578
|
+
O.filter((p) => p.category.categoryTagCode === c).forEach((p) => {
|
|
37579
|
+
p.status = p.status === R.denied.value ? R.accepted.value : R.denied.value, r(13, U[p.tagCode] = G[c] || !1, U);
|
|
37580
|
+
}), r(14, le = it());
|
|
37581
|
+
}, ze = (c, p, T) => {
|
|
37582
|
+
const y = O.find((F) => F.id === T), M = p ? "value" : "key";
|
|
37598
37583
|
let I;
|
|
37599
|
-
if (!
|
|
37600
|
-
const F = Array.from(
|
|
37601
|
-
for (const
|
|
37602
|
-
if (I = Array.from(
|
|
37584
|
+
if (!p && y.mustAccept) {
|
|
37585
|
+
const F = Array.from(ye.children);
|
|
37586
|
+
for (const ue of F)
|
|
37587
|
+
if (I = Array.from(ue.children).find((Ar) => Ar.getAttribute("id") === `checkBoxError__${y.tagCode}`), I)
|
|
37588
|
+
break;
|
|
37603
37589
|
}
|
|
37604
|
-
if (y.status === R.accepted[
|
|
37590
|
+
if (y.status === R.accepted[M] ? (y.status = R.denied[M], I && (I.innerHTML = n("requiredError"))) : (y.status = R.accepted[M], I && (I.innerHTML = "")), p) {
|
|
37605
37591
|
r(13, U[y.tagCode] = !U[y.tagCode], U);
|
|
37606
|
-
const F = O.filter((
|
|
37607
|
-
r(11, G[
|
|
37592
|
+
const F = O.filter((ue) => ue.category.categoryTagCode === p.categoryTagCode).every((ue) => ue.status !== R.denied.value);
|
|
37593
|
+
r(11, G[p.categoryTagCode] = F, G);
|
|
37608
37594
|
}
|
|
37609
|
-
|
|
37610
|
-
},
|
|
37611
|
-
let
|
|
37595
|
+
yr();
|
|
37596
|
+
}, yr = ((c, p) => {
|
|
37597
|
+
let T;
|
|
37612
37598
|
return function(...y) {
|
|
37613
|
-
const
|
|
37614
|
-
clearTimeout(
|
|
37599
|
+
const M = this;
|
|
37600
|
+
clearTimeout(T), T = setTimeout(
|
|
37615
37601
|
() => {
|
|
37616
|
-
c.apply(
|
|
37602
|
+
c.apply(M, y);
|
|
37617
37603
|
},
|
|
37618
|
-
|
|
37604
|
+
p
|
|
37619
37605
|
);
|
|
37620
37606
|
};
|
|
37621
|
-
})(() =>
|
|
37622
|
-
r(14,
|
|
37623
|
-
},
|
|
37607
|
+
})(() => Er(), 500), Er = () => {
|
|
37608
|
+
r(14, le = it()), i || (window.postMessage({ type: "isConsentsValid", isValid: le }), localStorage.setItem("playerConsents", JSON.stringify(O)));
|
|
37609
|
+
}, it = () => O.filter((p) => O.some((T) => p.tagCode === T.tagCode && T.mustAccept && (p.status === R.denied.key || p.status === R.denied.value))).length === 0, Ce = (c) => {
|
|
37624
37610
|
window.postMessage(
|
|
37625
37611
|
{
|
|
37626
37612
|
type: "WidgetNotification",
|
|
@@ -37628,46 +37614,46 @@ function Ii(e, t, r) {
|
|
|
37628
37614
|
},
|
|
37629
37615
|
window.location.href
|
|
37630
37616
|
);
|
|
37631
|
-
},
|
|
37632
|
-
c.data && c.data.type !== "setUpPlayerConsents" ||
|
|
37617
|
+
}, kr = (c) => {
|
|
37618
|
+
c.data && c.data.type !== "setUpPlayerConsents" || vr(c.data.registerid);
|
|
37633
37619
|
};
|
|
37634
37620
|
W(() => {
|
|
37635
37621
|
setTimeout(
|
|
37636
37622
|
() => {
|
|
37637
|
-
r(25,
|
|
37623
|
+
r(25, S = !0);
|
|
37638
37624
|
},
|
|
37639
37625
|
50
|
|
37640
37626
|
);
|
|
37641
|
-
const c = (
|
|
37627
|
+
const c = (p) => kr(p);
|
|
37642
37628
|
return window.addEventListener("message", c), () => {
|
|
37643
|
-
window.removeEventListener("message", c);
|
|
37629
|
+
window.emMessageBus && g && g.unsubscribe(), window.removeEventListener("message", c);
|
|
37644
37630
|
};
|
|
37645
37631
|
});
|
|
37646
|
-
function
|
|
37632
|
+
function Cr(c) {
|
|
37647
37633
|
G[c.categoryTagCode] = this.checked, r(11, G);
|
|
37648
37634
|
}
|
|
37649
|
-
const
|
|
37650
|
-
function
|
|
37635
|
+
const Sr = (c) => nt(c.categoryTagCode), xr = (c, p) => p.category.categoryTagCode === c.categoryTagCode, Mr = (c, p) => ze(p, c.category, c.id), Tr = (c, p) => ze(p, null, c.id);
|
|
37636
|
+
function wr(c) {
|
|
37651
37637
|
E[c ? "unshift" : "push"](() => {
|
|
37652
|
-
|
|
37638
|
+
ye = c, r(15, ye);
|
|
37653
37639
|
});
|
|
37654
37640
|
}
|
|
37655
|
-
function
|
|
37641
|
+
function Nr(c) {
|
|
37656
37642
|
E[c ? "unshift" : "push"](() => {
|
|
37657
37643
|
f = c, r(5, f);
|
|
37658
37644
|
});
|
|
37659
37645
|
}
|
|
37660
37646
|
return e.$$set = (c) => {
|
|
37661
|
-
"session" in c && r(0, i = c.session), "userid" in c && r(20, o = c.userid), "endpoint" in c && r(21, a = c.endpoint), "clientstyling" in c && r(1, s = c.clientstyling), "clientstylingurl" in c && r(2, h = c.clientstylingurl), "mbsource" in c && r(3, u = c.mbsource), "lang" in c && r(22, l = c.lang), "displayconsentdescription" in c && r(4, d = c.displayconsentdescription), "translationurl" in c && r(23, m = c.translationurl), "modalconsents" in c && r(24,
|
|
37647
|
+
"session" in c && r(0, i = c.session), "userid" in c && r(20, o = c.userid), "endpoint" in c && r(21, a = c.endpoint), "clientstyling" in c && r(1, s = c.clientstyling), "clientstylingurl" in c && r(2, h = c.clientstylingurl), "mbsource" in c && r(3, u = c.mbsource), "lang" in c && r(22, l = c.lang), "displayconsentdescription" in c && r(4, d = c.displayconsentdescription), "translationurl" in c && r(23, m = c.translationurl), "modalconsents" in c && r(24, b = c.modalconsents);
|
|
37662
37648
|
}, e.$$.update = () => {
|
|
37663
37649
|
e.$$.dirty[0] & /*isMounted, session*/
|
|
37664
|
-
33554433 &&
|
|
37665
|
-
1 && (i ||
|
|
37650
|
+
33554433 && S && i && (hr(), dr()), e.$$.dirty[0] & /*session*/
|
|
37651
|
+
1 && (i || mr()), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
37666
37652
|
34 && s && f && ft$1(f, s), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
37667
|
-
36 && h && f && dt$1(f, h), e.$$.dirty[0] & /*
|
|
37668
|
-
40 &&
|
|
37669
|
-
4194304 && l &&
|
|
37670
|
-
8388608 && m &&
|
|
37653
|
+
36 && h && f && dt$1(f, h), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
|
37654
|
+
40 && f && at(f, `${u}.Style`), e.$$.dirty[0] & /*lang*/
|
|
37655
|
+
4194304 && l && cr(), e.$$.dirty[0] & /*translationurl*/
|
|
37656
|
+
8388608 && m && ur();
|
|
37671
37657
|
}, [
|
|
37672
37658
|
i,
|
|
37673
37659
|
s,
|
|
@@ -37675,42 +37661,42 @@ function Ii(e, t, r) {
|
|
|
37675
37661
|
u,
|
|
37676
37662
|
d,
|
|
37677
37663
|
f,
|
|
37678
|
-
x,
|
|
37679
37664
|
P,
|
|
37680
|
-
|
|
37665
|
+
k,
|
|
37666
|
+
z,
|
|
37681
37667
|
O,
|
|
37682
|
-
|
|
37668
|
+
se,
|
|
37683
37669
|
G,
|
|
37684
|
-
|
|
37670
|
+
Z,
|
|
37685
37671
|
U,
|
|
37686
|
-
|
|
37687
|
-
|
|
37672
|
+
le,
|
|
37673
|
+
ye,
|
|
37688
37674
|
n,
|
|
37689
|
-
|
|
37690
|
-
|
|
37691
|
-
|
|
37675
|
+
br,
|
|
37676
|
+
nt,
|
|
37677
|
+
ze,
|
|
37692
37678
|
o,
|
|
37693
37679
|
a,
|
|
37694
37680
|
l,
|
|
37695
37681
|
m,
|
|
37696
|
-
|
|
37697
|
-
|
|
37698
|
-
yr,
|
|
37699
|
-
Er,
|
|
37700
|
-
kr,
|
|
37682
|
+
b,
|
|
37683
|
+
S,
|
|
37701
37684
|
Cr,
|
|
37702
37685
|
Sr,
|
|
37703
37686
|
xr,
|
|
37704
|
-
|
|
37687
|
+
Mr,
|
|
37688
|
+
Tr,
|
|
37689
|
+
wr,
|
|
37690
|
+
Nr
|
|
37705
37691
|
];
|
|
37706
37692
|
}
|
|
37707
|
-
class
|
|
37693
|
+
class Ri extends lt$1 {
|
|
37708
37694
|
constructor(t) {
|
|
37709
37695
|
super(), ct$1(
|
|
37710
37696
|
this,
|
|
37711
37697
|
t,
|
|
37712
|
-
|
|
37713
|
-
|
|
37698
|
+
Li,
|
|
37699
|
+
ji,
|
|
37714
37700
|
z,
|
|
37715
37701
|
{
|
|
37716
37702
|
session: 0,
|
|
@@ -37724,7 +37710,7 @@ class ji extends lt$1 {
|
|
|
37724
37710
|
translationurl: 23,
|
|
37725
37711
|
modalconsents: 24
|
|
37726
37712
|
},
|
|
37727
|
-
|
|
37713
|
+
Pi,
|
|
37728
37714
|
[-1, -1, -1]
|
|
37729
37715
|
);
|
|
37730
37716
|
}
|
|
@@ -37789,7 +37775,7 @@ class ji extends lt$1 {
|
|
|
37789
37775
|
this.$$set({ modalconsents: t }), _();
|
|
37790
37776
|
}
|
|
37791
37777
|
}
|
|
37792
|
-
ot
|
|
37778
|
+
ot(Ri, { session: {}, userid: {}, endpoint: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, lang: {}, displayconsentdescription: {}, translationurl: {}, modalconsents: {} }, [], [], !0);
|
|
37793
37779
|
|
|
37794
37780
|
function r(t) {
|
|
37795
37781
|
return function(...n) {
|
|
@@ -37803,7 +37789,7 @@ function r(t) {
|
|
|
37803
37789
|
};
|
|
37804
37790
|
}
|
|
37805
37791
|
customElements.define = r(customElements.define);
|
|
37806
|
-
!customElements.get("player-consents") && customElements.define("player-consents",
|
|
37792
|
+
!customElements.get("player-consents") && customElements.define("player-consents", Ri.element);
|
|
37807
37793
|
|
|
37808
37794
|
const generalRegistrationCss = "*,\n*::before,\n*::after {\n padding: 0;\n margin: 0;\n box-sizing: border-box;\n}\n\n.registration__form.hidden {\n display: none;\n}\n\n.registration {\n font-family: \"Roboto\";\n font-style: normal;\n font-family: sans-serif;\n display: flex;\n flex-direction: column;\n gap: 24px;\n width: 100%;\n height: 100%;\n container-type: inline-size;\n}\n.registration__wrapper {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.registration__error-message {\n color: var(--emw--color-error, var(--emw--color-red, #ed0909));\n font-size: 13px;\n display: block;\n justify-content: center;\n text-align: center;\n}\n.registration__form {\n display: grid;\n grid-template-columns: repeat(1, 1fr);\n gap: 40px;\n justify-items: stretch;\n align-content: flex-start;\n overflow: auto;\n width: 100%;\n height: 100%;\n}\n.registration__buttons-wrapper {\n display: flex;\n flex-direction: column;\n justify-content: space-around;\n align-items: center;\n position: relative;\n}\n.registration__button {\n border-radius: 5px;\n background: var(--emw--login-color-primary, var(--emw--color-primary, #D0046C));\n border: 1px solid var(--emw--login-color-primary, var(--emw--color-primary, #D0046C));\n color: var(--emw--button-typography, var(--emw--color-white, #FFFFFF));\n text-transform: uppercase;\n font-size: 20px;\n height: 44px;\n width: 100%;\n margin: 0px auto;\n padding: 10px 20px;\n font-weight: normal;\n box-shadow: none;\n cursor: pointer;\n}\n.registration__button--disabled {\n background: var(--emw--color-gray-100, #E6E6E6);\n border: 1px solid var(--emw--color-gray-150, #828282);\n pointer-events: none;\n box-shadow: none;\n}\n.registration__button--first-step {\n display: none;\n}\n\n@container (min-width: 450px) {\n .registration__form {\n grid-template-columns: repeat(2, 1fr);\n }\n .registration__buttons-wrapper {\n flex-direction: row-reverse;\n gap: 15px;\n }\n}\n.spinner {\n animation: rotate 2s linear infinite;\n z-index: 2;\n position: absolute;\n top: 50%;\n left: 50%;\n margin: -25px 0 0 -25px;\n width: 50px;\n height: 50px;\n}\n.spinner .path {\n stroke: var(--emw--login-color-primary, var(--emw--color-primary, #D0046C));\n stroke-linecap: round;\n animation: dash 1.5s ease-in-out infinite;\n}\n\n@keyframes rotate {\n 100% {\n transform: rotate(360deg);\n }\n}\n@keyframes dash {\n 0% {\n stroke-dasharray: 1, 150;\n stroke-dashoffset: 0;\n }\n 50% {\n stroke-dasharray: 90, 150;\n stroke-dashoffset: -35;\n }\n 100% {\n stroke-dasharray: 90, 150;\n stroke-dashoffset: -124;\n }\n}";
|
|
37809
37795
|
const GeneralRegistrationStyle0 = generalRegistrationCss;
|
|
@@ -37813,36 +37799,6 @@ const GeneralRegistration = class {
|
|
|
37813
37799
|
registerInstance(this, hostRef);
|
|
37814
37800
|
this.registrationWidgetLoaded = createEvent(this, "registrationWidgetLoaded", 7);
|
|
37815
37801
|
this.registrationStepUpdated = createEvent(this, "registrationStepUpdated", 7);
|
|
37816
|
-
/**
|
|
37817
|
-
* Currently selected language
|
|
37818
|
-
*/
|
|
37819
|
-
this.language = 'en';
|
|
37820
|
-
/**
|
|
37821
|
-
* Client custom styling via inline styles
|
|
37822
|
-
*/
|
|
37823
|
-
this.clientStyling = '';
|
|
37824
|
-
/**
|
|
37825
|
-
* Client custom styling via url
|
|
37826
|
-
*/
|
|
37827
|
-
this.clientStylingUrl = '';
|
|
37828
|
-
/**
|
|
37829
|
-
* Translations via URL
|
|
37830
|
-
*/
|
|
37831
|
-
this.translationUrl = '';
|
|
37832
|
-
/**
|
|
37833
|
-
* Affiliate code to be passed in and sent in the registration.
|
|
37834
|
-
*/
|
|
37835
|
-
this.btag = null;
|
|
37836
|
-
/**
|
|
37837
|
-
* Boolean flag that tells inputs to emit an event on click.
|
|
37838
|
-
*/
|
|
37839
|
-
this.emitOnClick = false;
|
|
37840
|
-
this.isConsentValid = false;
|
|
37841
|
-
this.isConsentReady = false;
|
|
37842
|
-
this.isLoading = true;
|
|
37843
|
-
this.forms = [];
|
|
37844
|
-
this.limitStylingAppends = false;
|
|
37845
|
-
this.autofilled = false;
|
|
37846
37802
|
this.listOfInputValues = [];
|
|
37847
37803
|
this.listOfInputValidity = [];
|
|
37848
37804
|
this.listOfActions = [];
|
|
@@ -37870,6 +37826,25 @@ const GeneralRegistration = class {
|
|
|
37870
37826
|
setTimeout(() => { this.host.shadowRoot.prepend(cssFile); }, 1);
|
|
37871
37827
|
});
|
|
37872
37828
|
};
|
|
37829
|
+
this.endpoint = undefined;
|
|
37830
|
+
this.language = 'en';
|
|
37831
|
+
this.clientStyling = '';
|
|
37832
|
+
this.clientStylingUrl = '';
|
|
37833
|
+
this.translationUrl = '';
|
|
37834
|
+
this.dateFormat = undefined;
|
|
37835
|
+
this.buttonInsideForm = undefined;
|
|
37836
|
+
this.btag = null;
|
|
37837
|
+
this.emitOnClick = false;
|
|
37838
|
+
this.errorMessage = undefined;
|
|
37839
|
+
this.isFormValid = undefined;
|
|
37840
|
+
this.isConsentValid = false;
|
|
37841
|
+
this.isConsentReady = false;
|
|
37842
|
+
this.isLoading = true;
|
|
37843
|
+
this.isLoadingPOST = undefined;
|
|
37844
|
+
this.registrationStep = undefined;
|
|
37845
|
+
this.forms = [];
|
|
37846
|
+
this.limitStylingAppends = false;
|
|
37847
|
+
this.autofilled = false;
|
|
37873
37848
|
}
|
|
37874
37849
|
sendStep() {
|
|
37875
37850
|
this.registrationStepUpdated.emit(this.registrationStep);
|
|
@@ -38433,12 +38408,6 @@ const NumberInput = class {
|
|
|
38433
38408
|
registerInstance(this, hostRef);
|
|
38434
38409
|
this.sendValidityState = createEvent(this, "sendValidityState", 7);
|
|
38435
38410
|
this.sendInputValue = createEvent(this, "sendInputValue", 7);
|
|
38436
|
-
/**
|
|
38437
|
-
* Client custom styling via inline style
|
|
38438
|
-
*/
|
|
38439
|
-
this.clientStyling = '';
|
|
38440
|
-
this.limitStylingAppends = false;
|
|
38441
|
-
this.showTooltip = false;
|
|
38442
38411
|
this.validationPattern = '';
|
|
38443
38412
|
this.touched = false;
|
|
38444
38413
|
this.handleInput = (event) => {
|
|
@@ -38463,6 +38432,24 @@ const NumberInput = class {
|
|
|
38463
38432
|
sheet.innerHTML = this.clientStyling;
|
|
38464
38433
|
this.stylingContainer.prepend(sheet);
|
|
38465
38434
|
};
|
|
38435
|
+
this.name = undefined;
|
|
38436
|
+
this.displayName = undefined;
|
|
38437
|
+
this.placeholder = undefined;
|
|
38438
|
+
this.validation = undefined;
|
|
38439
|
+
this.defaultValue = undefined;
|
|
38440
|
+
this.autofilled = undefined;
|
|
38441
|
+
this.tooltip = undefined;
|
|
38442
|
+
this.language = undefined;
|
|
38443
|
+
this.emitValue = undefined;
|
|
38444
|
+
this.clientStyling = '';
|
|
38445
|
+
this.errorMessage = undefined;
|
|
38446
|
+
this.isValid = undefined;
|
|
38447
|
+
this.limitStylingAppends = false;
|
|
38448
|
+
this.showTooltip = false;
|
|
38449
|
+
}
|
|
38450
|
+
handleStylingChange(newValue, oldValue) {
|
|
38451
|
+
if (newValue !== oldValue)
|
|
38452
|
+
this.setClientStyling();
|
|
38466
38453
|
}
|
|
38467
38454
|
validityChanged() {
|
|
38468
38455
|
this.validityStateHandler({ valid: this.isValid, name: this.name });
|
|
@@ -38540,10 +38527,11 @@ const NumberInput = class {
|
|
|
38540
38527
|
if (this.touched) {
|
|
38541
38528
|
invalidClass = this.isValid == true || this.isValid == undefined ? '' : 'text__input--invalid';
|
|
38542
38529
|
}
|
|
38543
|
-
return h$3("div", { key: '
|
|
38544
|
-
h$3("img", { key: '
|
|
38530
|
+
return h$3("div", { key: '841265bba6b75cc61a0eac1450c3f5aa5f917a2e', class: `number__wrapper ${this.autofilled ? 'number__wrapper--autofilled' : ''} ${this.name}__input`, ref: el => this.stylingContainer = el }, h$3("div", { key: '645c7817cf5a0bdc352de9d8c0698fde235aa6d3', class: 'number__wrapper--flex' }, h$3("label", { key: '3343cbbb8482b71cd152161a8d422f318f07f3fe', class: `number__label ${this.validation.mandatory ? 'number__label--required' : ''}`, htmlFor: `${this.name}__input` }, this.displayName), h$3("div", { key: '1f3341b2127095870610fc0e0b4b5d220c5d2e2c', class: 'number__wrapper--relative' }, this.tooltip &&
|
|
38531
|
+
h$3("img", { key: '8bbe2fe9f62347cbcd37b753d4a1b0718dc39091', class: 'number__tooltip-icon', src: tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), h$3("input", { key: '100401abdc33069f34e27e0807c9f31ddf7e42ec', ref: (el) => this.inputReference = el, type: "number", value: this.defaultValue, readOnly: this.autofilled, id: `${this.name}__input`, class: `number__input ${invalidClass}`, pattern: this.validationPattern, placeholder: `${this.placeholder}`, required: this.validation.mandatory, max: this.validation.max, min: this.validation.min, onInput: this.handleInput, onBlur: this.handleBlur }), h$3("small", { key: 'db1e0043bb9b6de2ad8e18f49f96152b9451b93c', class: 'number__error-message' }, this.errorMessage));
|
|
38545
38532
|
}
|
|
38546
38533
|
static get watchers() { return {
|
|
38534
|
+
"clientStyling": ["handleStylingChange"],
|
|
38547
38535
|
"isValid": ["validityChanged"],
|
|
38548
38536
|
"emitValue": ["emitValueHandler"]
|
|
38549
38537
|
}; }
|
|
@@ -38658,7 +38646,7 @@ const InputFieldMixin = (superclass) =>
|
|
|
38658
38646
|
// Do not validate when focusout is caused by document
|
|
38659
38647
|
// losing focus, which happens on browser tab switch.
|
|
38660
38648
|
if (!focused && document.hasFocus()) {
|
|
38661
|
-
this.
|
|
38649
|
+
this.validate();
|
|
38662
38650
|
}
|
|
38663
38651
|
}
|
|
38664
38652
|
|
|
@@ -38673,7 +38661,7 @@ const InputFieldMixin = (superclass) =>
|
|
|
38673
38661
|
super._onInput(event);
|
|
38674
38662
|
|
|
38675
38663
|
if (this.invalid) {
|
|
38676
|
-
this.
|
|
38664
|
+
this.validate();
|
|
38677
38665
|
}
|
|
38678
38666
|
}
|
|
38679
38667
|
|
|
@@ -38694,7 +38682,7 @@ const InputFieldMixin = (superclass) =>
|
|
|
38694
38682
|
}
|
|
38695
38683
|
|
|
38696
38684
|
if (this.invalid) {
|
|
38697
|
-
this.
|
|
38685
|
+
this.validate();
|
|
38698
38686
|
}
|
|
38699
38687
|
}
|
|
38700
38688
|
};
|
|
@@ -38888,6 +38876,24 @@ class TextField extends TextFieldMixin(ThemableMixin(ElementMixin(PolymerElement
|
|
|
38888
38876
|
`;
|
|
38889
38877
|
}
|
|
38890
38878
|
|
|
38879
|
+
static get properties() {
|
|
38880
|
+
return {
|
|
38881
|
+
/**
|
|
38882
|
+
* Maximum number of characters (in Unicode code points) that the user can enter.
|
|
38883
|
+
*/
|
|
38884
|
+
maxlength: {
|
|
38885
|
+
type: Number,
|
|
38886
|
+
},
|
|
38887
|
+
|
|
38888
|
+
/**
|
|
38889
|
+
* Minimum number of characters (in Unicode code points) that the user can enter.
|
|
38890
|
+
*/
|
|
38891
|
+
minlength: {
|
|
38892
|
+
type: Number,
|
|
38893
|
+
},
|
|
38894
|
+
};
|
|
38895
|
+
}
|
|
38896
|
+
|
|
38891
38897
|
/** @protected */
|
|
38892
38898
|
ready() {
|
|
38893
38899
|
super.ready();
|
|
@@ -39328,17 +39334,6 @@ const PasswordInput = class {
|
|
|
39328
39334
|
this.sendOriginalValidityState = createEvent(this, "sendOriginalValidityState", 7);
|
|
39329
39335
|
this.sendValidityState = createEvent(this, "sendValidityState", 7);
|
|
39330
39336
|
this.sendInputValue = createEvent(this, "sendInputValue", 7);
|
|
39331
|
-
/**
|
|
39332
|
-
* Default value for the input.
|
|
39333
|
-
*/
|
|
39334
|
-
this.defaultValue = '';
|
|
39335
|
-
/**
|
|
39336
|
-
* Client custom styling via inline style
|
|
39337
|
-
*/
|
|
39338
|
-
this.clientStyling = '';
|
|
39339
|
-
this.limitStylingAppends = false;
|
|
39340
|
-
this.showTooltip = false;
|
|
39341
|
-
this.value = '';
|
|
39342
39337
|
this.touched = false;
|
|
39343
39338
|
this.originalValid = false;
|
|
39344
39339
|
this.validationPattern = '';
|
|
@@ -39377,6 +39372,28 @@ const PasswordInput = class {
|
|
|
39377
39372
|
sheet.innerHTML = this.clientStyling;
|
|
39378
39373
|
this.stylingContainer.prepend(sheet);
|
|
39379
39374
|
};
|
|
39375
|
+
this.name = undefined;
|
|
39376
|
+
this.displayName = undefined;
|
|
39377
|
+
this.placeholder = undefined;
|
|
39378
|
+
this.defaultValue = '';
|
|
39379
|
+
this.autofilled = undefined;
|
|
39380
|
+
this.tooltip = undefined;
|
|
39381
|
+
this.validation = undefined;
|
|
39382
|
+
this.language = undefined;
|
|
39383
|
+
this.emitValue = undefined;
|
|
39384
|
+
this.isDuplicateInput = undefined;
|
|
39385
|
+
this.clientStyling = '';
|
|
39386
|
+
this.isValid = undefined;
|
|
39387
|
+
this.errorMessage = undefined;
|
|
39388
|
+
this.limitStylingAppends = false;
|
|
39389
|
+
this.showTooltip = false;
|
|
39390
|
+
this.passwordComplexity = undefined;
|
|
39391
|
+
this.showPopup = undefined;
|
|
39392
|
+
this.value = '';
|
|
39393
|
+
}
|
|
39394
|
+
handleStylingChange(newValue, oldValue) {
|
|
39395
|
+
if (newValue !== oldValue)
|
|
39396
|
+
this.setClientStyling();
|
|
39380
39397
|
}
|
|
39381
39398
|
validityChanged() {
|
|
39382
39399
|
this.validityStateHandler({ valid: this.isValid, name: this.name });
|
|
@@ -39536,11 +39553,12 @@ const PasswordInput = class {
|
|
|
39536
39553
|
if (this.touched) {
|
|
39537
39554
|
invalidClass = this.isValid == true || this.isValid == undefined ? '' : 'text__input--invalid';
|
|
39538
39555
|
}
|
|
39539
|
-
return h$3("div", { key: '
|
|
39540
|
-
h$3("img", { key: '
|
|
39556
|
+
return h$3("div", { key: '36d21c63dcd15b6de2d2de417ce97b520493cd16', class: `password__wrapper ${this.autofilled ? 'password__wrapper--autofilled' : ''} ${this.name}__input`, ref: el => this.stylingContainer = el }, h$3("div", { key: '3de600f4ccbf2ffe7a8a8858e9d5a483701dd4d7', class: 'password__wrapper--flex' }, h$3("label", { key: '74fee343f4d6adbbb22e88c5d51d3a471979d42e', class: `password__label ${this.validation.mandatory ? 'password__label--required' : ''}`, htmlFor: `${this.name}__input` }, this.displayName), h$3("div", { key: 'd1f30d776c5612b1a5581859b929bee171105bf5', class: 'password__wrapper--relative' }, this.tooltip &&
|
|
39557
|
+
h$3("img", { key: '932201990b5fa67f448d4ab8ca7f844f757d5e47', class: 'password__tooltip-icon', src: tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), h$3("vaadin-password-field", { key: '83f00cb4452b60fd883efcd742d6eb463a8fc729', type: "password", id: `${this.name}__input`, class: `password__input ${invalidClass}`, name: this.name, readOnly: this.autofilled, value: this.defaultValue, required: this.validation.mandatory, maxlength: this.validation.maxLength, minlength: this.validation.minLength, pattern: this.validationPattern, placeholder: `${this.placeholder}`, onInput: this.handleInput, onBlur: this.handleBlur, onFocus: this.handleFocus }), h$3("small", { key: '0f6f7ba5e9ec6f492f22a46ac77c7977f7a8e835', class: 'password__error-message' }, this.errorMessage), this.passwordComplexity && this.showPopup && !this.isDuplicateInput && this.renderComplexityPopup());
|
|
39541
39558
|
}
|
|
39542
39559
|
get element() { return getElement(this); }
|
|
39543
39560
|
static get watchers() { return {
|
|
39561
|
+
"clientStyling": ["handleStylingChange"],
|
|
39544
39562
|
"isValid": ["validityChanged"],
|
|
39545
39563
|
"value": ["valueChanged"],
|
|
39546
39564
|
"emitValue": ["emitValueHandler"]
|
|
@@ -39556,17 +39574,27 @@ const RadioInput = class {
|
|
|
39556
39574
|
registerInstance(this, hostRef);
|
|
39557
39575
|
this.sendInputValue = createEvent(this, "sendInputValue", 7);
|
|
39558
39576
|
this.sendValidityState = createEvent(this, "sendValidityState", 7);
|
|
39559
|
-
/**
|
|
39560
|
-
* Client custom styling via inline style
|
|
39561
|
-
*/
|
|
39562
|
-
this.clientStyling = '';
|
|
39563
|
-
this.limitStylingAppends = false;
|
|
39564
|
-
this.showTooltip = false;
|
|
39565
39577
|
this.setClientStyling = () => {
|
|
39566
39578
|
let sheet = document.createElement('style');
|
|
39567
39579
|
sheet.innerHTML = this.clientStyling;
|
|
39568
39580
|
this.stylingContainer.prepend(sheet);
|
|
39569
39581
|
};
|
|
39582
|
+
this.name = undefined;
|
|
39583
|
+
this.displayName = undefined;
|
|
39584
|
+
this.optionsGroup = undefined;
|
|
39585
|
+
this.validation = undefined;
|
|
39586
|
+
this.tooltip = undefined;
|
|
39587
|
+
this.language = undefined;
|
|
39588
|
+
this.emitValue = undefined;
|
|
39589
|
+
this.clientStyling = '';
|
|
39590
|
+
this.errorMessage = undefined;
|
|
39591
|
+
this.isValid = undefined;
|
|
39592
|
+
this.limitStylingAppends = false;
|
|
39593
|
+
this.showTooltip = false;
|
|
39594
|
+
}
|
|
39595
|
+
handleStylingChange(newValue, oldValue) {
|
|
39596
|
+
if (newValue !== oldValue)
|
|
39597
|
+
this.setClientStyling();
|
|
39570
39598
|
}
|
|
39571
39599
|
validityChanged() {
|
|
39572
39600
|
this.validityStateHandler({ valid: this.isValid, name: this.name });
|
|
@@ -39621,10 +39649,11 @@ const RadioInput = class {
|
|
|
39621
39649
|
return null;
|
|
39622
39650
|
}
|
|
39623
39651
|
render() {
|
|
39624
|
-
return h$3("fieldset", { key: '
|
|
39625
|
-
h$3("img", { key: '
|
|
39652
|
+
return h$3("fieldset", { key: '29ff8fcc910622397750532629ac0c202c9726ba', class: `radio__fieldset ${this.name}__input`, ref: el => this.stylingContainer = el }, h$3("legend", { key: 'cdab5b331863f3d31aab50c1d95b5a8845d53329', class: 'radio__legend' }, this.displayName, ":"), this.optionsGroup.map(option => h$3("div", { class: 'radio__wrapper' }, h$3("input", { type: "radio", class: 'radio__input', id: `${option.label}__input`, ref: (el) => this.inputReference = el, value: option.value, name: this.name, required: this.validation.mandatory, onClick: (e) => this.handleClick(e) }), h$3("label", { htmlFor: `${option.label}__input` }, option.label))), h$3("small", { key: 'bd6cd89510e7ace1348b391f3ce9ba334a03e695', class: 'radio__error-message' }, this.errorMessage), this.tooltip &&
|
|
39653
|
+
h$3("img", { key: '27036c51c89612dbb87e5248355d3a5466c49705', class: 'radio__tooltip-icon', src: tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip());
|
|
39626
39654
|
}
|
|
39627
39655
|
static get watchers() { return {
|
|
39656
|
+
"clientStyling": ["handleStylingChange"],
|
|
39628
39657
|
"isValid": ["validityChanged"],
|
|
39629
39658
|
"emitValue": ["emitValueHandler"]
|
|
39630
39659
|
}; }
|
|
@@ -43910,7 +43939,6 @@ const ComboBoxMixin = (subclass) =>
|
|
|
43910
43939
|
/**
|
|
43911
43940
|
* Override LitElement lifecycle callback to handle filter property change.
|
|
43912
43941
|
* @param {Object} props
|
|
43913
|
-
* @protected
|
|
43914
43942
|
*/
|
|
43915
43943
|
updated(props) {
|
|
43916
43944
|
super.updated(props);
|
|
@@ -44632,7 +44660,7 @@ const ComboBoxMixin = (subclass) =>
|
|
|
44632
44660
|
// Do not validate when focusout is caused by document
|
|
44633
44661
|
// losing focus, which happens on browser tab switch.
|
|
44634
44662
|
if (document.hasFocus()) {
|
|
44635
|
-
this.
|
|
44663
|
+
this.validate();
|
|
44636
44664
|
}
|
|
44637
44665
|
|
|
44638
44666
|
if (this.value !== this._lastCommittedValue) {
|
|
@@ -45182,20 +45210,6 @@ const SelectInput = class {
|
|
|
45182
45210
|
registerInstance(this, hostRef);
|
|
45183
45211
|
this.sendValidityState = createEvent(this, "sendValidityState", 7);
|
|
45184
45212
|
this.sendInputValue = createEvent(this, "sendInputValue", 7);
|
|
45185
|
-
/**
|
|
45186
|
-
* Default value for the input.
|
|
45187
|
-
*/
|
|
45188
|
-
this.defaultValue = '';
|
|
45189
|
-
/**
|
|
45190
|
-
* Options of the input.
|
|
45191
|
-
*/
|
|
45192
|
-
this.options = [];
|
|
45193
|
-
/**
|
|
45194
|
-
* Client custom styling via inline style
|
|
45195
|
-
*/
|
|
45196
|
-
this.clientStyling = '';
|
|
45197
|
-
this.limitStylingAppends = false;
|
|
45198
|
-
this.showTooltip = false;
|
|
45199
45213
|
this.touched = false;
|
|
45200
45214
|
this.handleChange = (event) => {
|
|
45201
45215
|
this.touched = true;
|
|
@@ -45224,6 +45238,26 @@ const SelectInput = class {
|
|
|
45224
45238
|
sheet.innerHTML = this.clientStyling;
|
|
45225
45239
|
this.stylingContainer.prepend(sheet);
|
|
45226
45240
|
};
|
|
45241
|
+
this.name = undefined;
|
|
45242
|
+
this.displayName = undefined;
|
|
45243
|
+
this.placeholder = undefined;
|
|
45244
|
+
this.action = undefined;
|
|
45245
|
+
this.defaultValue = '';
|
|
45246
|
+
this.autofilled = undefined;
|
|
45247
|
+
this.tooltip = undefined;
|
|
45248
|
+
this.options = [];
|
|
45249
|
+
this.validation = undefined;
|
|
45250
|
+
this.language = undefined;
|
|
45251
|
+
this.emitValue = undefined;
|
|
45252
|
+
this.clientStyling = '';
|
|
45253
|
+
this.errorMessage = undefined;
|
|
45254
|
+
this.isValid = undefined;
|
|
45255
|
+
this.limitStylingAppends = false;
|
|
45256
|
+
this.showTooltip = false;
|
|
45257
|
+
}
|
|
45258
|
+
handleStylingChange(newValue, oldValue) {
|
|
45259
|
+
if (newValue !== oldValue)
|
|
45260
|
+
this.setClientStyling();
|
|
45227
45261
|
}
|
|
45228
45262
|
validityChanged() {
|
|
45229
45263
|
this.validityStateHandler({ valid: this.isValid, name: this.name });
|
|
@@ -45316,11 +45350,12 @@ const SelectInput = class {
|
|
|
45316
45350
|
if (this.touched) {
|
|
45317
45351
|
invalidClass = this.isValid == true || this.isValid == undefined ? '' : 'text__input--invalid';
|
|
45318
45352
|
}
|
|
45319
|
-
return h$3("div", { key: '
|
|
45320
|
-
h$3("img", { key: '
|
|
45353
|
+
return h$3("div", { key: 'f02c73635c87a1937f4718c9de8df3aae8397815', class: `select__wrapper ${this.autofilled ? 'select__wrapper--autofilled' : ''} ${this.name}__input`, ref: el => this.stylingContainer = el }, h$3("div", { key: '26bf79a073dd4c84570e380b1f36bfe848fec568', class: 'select__wrapper--flex' }, h$3("label", { key: '6eaafabe58a2dd4e1604ac2e3d55d001e2c4bc7c', class: 'select__label', htmlFor: `${this.name}__input` }, `${this.displayName} ${this.validation.mandatory ? '*' : ''}`), h$3("div", { key: 'a1de9c4bd3dd4158b26004c6df9dca5915f73978', class: 'select__wrapper--relative' }, this.tooltip &&
|
|
45354
|
+
h$3("img", { key: '5cb869c82f53a463c91cd060fad5520d2fbc3d0d', class: 'select__tooltip-icon', src: tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), h$3("vaadin-combo-box", { key: '2e94c1faa107657034a98d70b1e98d5c5ab5caa5', name: this.name, id: `${this.name}__input`, class: `select__input ${invalidClass} ${this.autofilled ? 'select__input--autofilled' : ''}`, "item-label-path": "label", "item-value-path": "value", readOnly: this.autofilled, required: this.validation.mandatory, value: this.defaultValue, placeholder: `${this.placeholder}`, items: this.displayedOptions, onChange: this.handleChange, onBlur: this.handleBlur }), h$3("small", { key: '2c8162576d30265ea49cdc6d99071f614d833d7e', class: 'select__error-message' }, this.errorMessage));
|
|
45321
45355
|
}
|
|
45322
45356
|
get element() { return getElement(this); }
|
|
45323
45357
|
static get watchers() { return {
|
|
45358
|
+
"clientStyling": ["handleStylingChange"],
|
|
45324
45359
|
"isValid": ["validityChanged"],
|
|
45325
45360
|
"emitValue": ["emitValueHandler"]
|
|
45326
45361
|
}; }
|
|
@@ -45335,12 +45370,6 @@ const TelInput = class {
|
|
|
45335
45370
|
registerInstance(this, hostRef);
|
|
45336
45371
|
this.sendValidityState = createEvent(this, "sendValidityState", 7);
|
|
45337
45372
|
this.sendInputValue = createEvent(this, "sendInputValue", 7);
|
|
45338
|
-
/**
|
|
45339
|
-
* Client custom styling via inline style
|
|
45340
|
-
*/
|
|
45341
|
-
this.clientStyling = '';
|
|
45342
|
-
this.limitStylingAppends = false;
|
|
45343
|
-
this.showTooltip = false;
|
|
45344
45373
|
this.validationPattern = '';
|
|
45345
45374
|
this.touched = false;
|
|
45346
45375
|
this.handleInput = (event) => {
|
|
@@ -45366,6 +45395,26 @@ const TelInput = class {
|
|
|
45366
45395
|
sheet.innerHTML = this.clientStyling;
|
|
45367
45396
|
this.stylingContainer.prepend(sheet);
|
|
45368
45397
|
};
|
|
45398
|
+
this.name = undefined;
|
|
45399
|
+
this.displayName = undefined;
|
|
45400
|
+
this.placeholder = undefined;
|
|
45401
|
+
this.showLabels = undefined;
|
|
45402
|
+
this.action = undefined;
|
|
45403
|
+
this.validation = undefined;
|
|
45404
|
+
this.defaultValue = undefined;
|
|
45405
|
+
this.autofilled = undefined;
|
|
45406
|
+
this.tooltip = undefined;
|
|
45407
|
+
this.language = undefined;
|
|
45408
|
+
this.emitValue = undefined;
|
|
45409
|
+
this.clientStyling = '';
|
|
45410
|
+
this.isValid = undefined;
|
|
45411
|
+
this.errorMessage = undefined;
|
|
45412
|
+
this.limitStylingAppends = false;
|
|
45413
|
+
this.showTooltip = false;
|
|
45414
|
+
}
|
|
45415
|
+
handleStylingChange(newValue, oldValue) {
|
|
45416
|
+
if (newValue !== oldValue)
|
|
45417
|
+
this.setClientStyling();
|
|
45369
45418
|
}
|
|
45370
45419
|
validityChanged() {
|
|
45371
45420
|
this.validityStateHandler({ valid: this.isValid, name: this.name });
|
|
@@ -45477,10 +45526,11 @@ const TelInput = class {
|
|
|
45477
45526
|
if (this.touched) {
|
|
45478
45527
|
invalidClass = this.isValid == true || this.isValid == undefined ? '' : 'text__input--invalid';
|
|
45479
45528
|
}
|
|
45480
|
-
return h$3("div", { key: '
|
|
45481
|
-
h$3("img", { key: '
|
|
45529
|
+
return h$3("div", { key: 'f0f70d8568ba083ee19f9e73e5921104f599e15f', class: `tel__wrapper ${this.autofilled ? 'tel__wrapper--autofilled' : ''} ${this.name}__input`, ref: el => this.stylingContainer = el }, h$3("div", { key: '8da9e1c2a6b3ca19caff07540f0218266de22bb2', class: 'tel__wrapper--flex-label' }, h$3("label", { key: 'd0d90bc96e3ea853f401bae9be3f033d4cfd9b17', class: `tel__label ${this.validation.mandatory ? 'tel__label--required' : ''}`, htmlFor: `${this.name}__input` }, this.displayName), h$3("div", { key: 'fdf7929f51edcbea8568b35804b0d9e9a93a7249', class: 'tel__wrapper--relative' }, this.tooltip &&
|
|
45530
|
+
h$3("img", { key: '0fbc9b5e8c5feef727caa71ef07d4ae80007e04a', class: 'tel__tooltip-icon', src: tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), h$3("div", { key: 'b4a11808a7ae5e5cddce47b51a51003bce3a84f8', class: `tel__wrapper--flex ${invalidClass}` }, h$3("vaadin-combo-box", { key: '2d81ff4c11e559f302a8446816f4aca0de2cfcef', class: 'tel__prefix', items: this.phoneCodesOptions, value: this.prefixValue, readOnly: this.autofilled, onChange: (e) => this.handlePrefixInput(e) }), h$3("input", { key: 'ab52185589bf4d52205bad4cecc9c7ecb54cd409', type: "tel", ref: (el) => this.inputReference = el, id: `${this.name}__input`, readOnly: this.autofilled, class: `tel__input`, value: this.phoneValue, placeholder: `${this.placeholder}`, required: this.validation.mandatory, minlength: this.validation.minLength, maxlength: this.validation.maxLength, pattern: this.validationPattern, onInput: this.handleInput, onBlur: this.handleBlur })), h$3("small", { key: '6d219de32297bc2fab31995b5a33b14f2eea21d9', class: 'tel__error-message' }, this.errorMessage));
|
|
45482
45531
|
}
|
|
45483
45532
|
static get watchers() { return {
|
|
45533
|
+
"clientStyling": ["handleStylingChange"],
|
|
45484
45534
|
"isValid": ["validityChanged"],
|
|
45485
45535
|
"emitValue": ["emitValueHandler"]
|
|
45486
45536
|
}; }
|
|
@@ -45495,17 +45545,6 @@ const TextInput = class {
|
|
|
45495
45545
|
registerInstance(this, hostRef);
|
|
45496
45546
|
this.sendValidityState = createEvent(this, "sendValidityState", 7);
|
|
45497
45547
|
this.sendInputValue = createEvent(this, "sendInputValue", 7);
|
|
45498
|
-
/**
|
|
45499
|
-
* Default value for the input.
|
|
45500
|
-
*/
|
|
45501
|
-
this.defaultValue = '';
|
|
45502
|
-
/**
|
|
45503
|
-
* Client custom styling via inline style
|
|
45504
|
-
*/
|
|
45505
|
-
this.clientStyling = '';
|
|
45506
|
-
this.errorMessage = '';
|
|
45507
|
-
this.limitStylingAppends = false;
|
|
45508
|
-
this.showTooltip = false;
|
|
45509
45548
|
this.value = '';
|
|
45510
45549
|
this.validationPattern = '';
|
|
45511
45550
|
this.duplicateInputValue = null;
|
|
@@ -45535,6 +45574,26 @@ const TextInput = class {
|
|
|
45535
45574
|
sheet.innerHTML = this.clientStyling;
|
|
45536
45575
|
this.stylingContainer.prepend(sheet);
|
|
45537
45576
|
};
|
|
45577
|
+
this.name = undefined;
|
|
45578
|
+
this.displayName = undefined;
|
|
45579
|
+
this.placeholder = undefined;
|
|
45580
|
+
this.validation = undefined;
|
|
45581
|
+
this.defaultValue = '';
|
|
45582
|
+
this.autofilled = undefined;
|
|
45583
|
+
this.tooltip = undefined;
|
|
45584
|
+
this.language = undefined;
|
|
45585
|
+
this.checkValidity = undefined;
|
|
45586
|
+
this.emitValue = undefined;
|
|
45587
|
+
this.isDuplicateInput = undefined;
|
|
45588
|
+
this.clientStyling = '';
|
|
45589
|
+
this.isValid = undefined;
|
|
45590
|
+
this.errorMessage = '';
|
|
45591
|
+
this.limitStylingAppends = false;
|
|
45592
|
+
this.showTooltip = false;
|
|
45593
|
+
}
|
|
45594
|
+
handleStylingChange(newValue, oldValue) {
|
|
45595
|
+
if (newValue !== oldValue)
|
|
45596
|
+
this.setClientStyling();
|
|
45538
45597
|
}
|
|
45539
45598
|
validityChanged() {
|
|
45540
45599
|
this.validityStateHandler({ valid: this.isValid, name: this.name });
|
|
@@ -45641,10 +45700,11 @@ const TextInput = class {
|
|
|
45641
45700
|
if (this.touched) {
|
|
45642
45701
|
invalidClass = this.isValid == true || this.isValid == undefined ? '' : 'text__input--invalid';
|
|
45643
45702
|
}
|
|
45644
|
-
return h$3("div", { key: '
|
|
45645
|
-
h$3("img", { key: '
|
|
45703
|
+
return h$3("div", { key: 'e297f841a57c6acf854535a786916aa641831556', class: `text__wrapper ${this.name}__input ${this.autofilled ? 'text__wrapper--autofilled' : ''}`, ref: el => this.stylingContainer = el }, h$3("div", { key: '7fd284a58e58d5c61a03caf4cc317b8dd9dbd82f', class: 'text__wrapper--flex' }, h$3("label", { key: 'f80a2003386ec867e5310190a7568105c2912569', class: `text__label ${this.validation.mandatory ? 'text__label--required' : ''}`, htmlFor: `${this.name}__input` }, this.displayName), h$3("div", { key: 'e8f5197bd370100406d600be5a336f85f4c6934d', class: 'text__wrapper--relative' }, this.tooltip &&
|
|
45704
|
+
h$3("img", { key: 'ff8c38fe3495a41a41ac4a1569169ce26a1ec9ce', class: 'text__tooltip-icon', src: tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), h$3("input", { key: '581106e515810ab43f7d6b6eda504ccf23906b0e', name: this.name, id: `${this.name}__input`, value: this.defaultValue, type: 'text', class: `text__input ${invalidClass}`, placeholder: `${this.placeholder}`, ref: (el) => this.inputReference = el, readOnly: this.autofilled, pattern: this.validationPattern, required: this.validation.mandatory, minlength: this.validation.minLength, maxlength: this.validation.maxLength, onInput: this.handleInput, onBlur: this.handleBlur }), h$3("small", { key: '20620710026982d5fb670a3173bab57a7fa9e7ce', class: 'text__error-message' }, this.errorMessage));
|
|
45646
45705
|
}
|
|
45647
45706
|
static get watchers() { return {
|
|
45707
|
+
"clientStyling": ["handleStylingChange"],
|
|
45648
45708
|
"isValid": ["validityChanged"],
|
|
45649
45709
|
"emitValue": ["emitValueHandler"]
|
|
45650
45710
|
}; }
|
|
@@ -45659,23 +45719,31 @@ const ToggleCheckboxInput = class {
|
|
|
45659
45719
|
registerInstance(this, hostRef);
|
|
45660
45720
|
this.sendValidityState = createEvent(this, "sendValidityState", 7);
|
|
45661
45721
|
this.sendInputValue = createEvent(this, "sendInputValue", 7);
|
|
45662
|
-
/**
|
|
45663
|
-
* Default value for the input.
|
|
45664
|
-
*/
|
|
45665
|
-
this.defaultValue = '';
|
|
45666
|
-
/**
|
|
45667
|
-
* Client custom styling via inline style
|
|
45668
|
-
*/
|
|
45669
|
-
this.clientStyling = '';
|
|
45670
|
-
this.limitStylingAppends = false;
|
|
45671
|
-
this.showTooltip = false;
|
|
45672
|
-
this.showFields = this.defaultValue === 'true';
|
|
45673
45722
|
this.value = '';
|
|
45674
45723
|
this.setClientStyling = () => {
|
|
45675
45724
|
let sheet = document.createElement('style');
|
|
45676
45725
|
sheet.innerHTML = this.clientStyling;
|
|
45677
45726
|
this.stylingContainer.prepend(sheet);
|
|
45678
45727
|
};
|
|
45728
|
+
this.name = undefined;
|
|
45729
|
+
this.displayName = undefined;
|
|
45730
|
+
this.defaultValue = '';
|
|
45731
|
+
this.options = undefined;
|
|
45732
|
+
this.autofilled = undefined;
|
|
45733
|
+
this.tooltip = undefined;
|
|
45734
|
+
this.validation = undefined;
|
|
45735
|
+
this.language = undefined;
|
|
45736
|
+
this.emitValue = undefined;
|
|
45737
|
+
this.clientStyling = '';
|
|
45738
|
+
this.errorMessage = undefined;
|
|
45739
|
+
this.isValid = undefined;
|
|
45740
|
+
this.limitStylingAppends = false;
|
|
45741
|
+
this.showTooltip = false;
|
|
45742
|
+
this.showFields = this.defaultValue === 'true';
|
|
45743
|
+
}
|
|
45744
|
+
handleStylingChange(newValue, oldValue) {
|
|
45745
|
+
if (newValue !== oldValue)
|
|
45746
|
+
this.setClientStyling();
|
|
45679
45747
|
}
|
|
45680
45748
|
validityStateHandler(inputStateEvent) {
|
|
45681
45749
|
this.sendValidityState.emit(inputStateEvent);
|
|
@@ -45722,11 +45790,14 @@ const ToggleCheckboxInput = class {
|
|
|
45722
45790
|
return null;
|
|
45723
45791
|
}
|
|
45724
45792
|
render() {
|
|
45725
|
-
return h$3("div", { key: '
|
|
45726
|
-
h$3("img", { key: '
|
|
45793
|
+
return h$3("div", { key: 'e8be91ce94cf76ebecc58a433ab567ab549f4692', class: `togglecheckbox__wrapper ${this.name}__input`, ref: el => this.stylingContainer = el }, h$3("div", { key: 'dd42a6316cda06e357843165329de7525a24e3d5', class: 'togglecheckbox__wrapper--flex' }, h$3("input", { key: '932a6f8caeafa0d006f636484e33dda246c314d0', class: 'togglecheckbox__input', type: "checkbox", id: `${this.name}__input`, ref: (el) => this.checkboxReference = el, name: this.name, checked: this.defaultValue === "true", readOnly: this.autofilled, required: this.validation.mandatory, value: this.value, onClick: () => this.handleClick() }), this.renderLabel()), h$3("small", { key: 'cbc789c8a5c21debc05971ff347371fbc25d4975', class: 'togglecheckbox__error-message' }, this.errorMessage), h$3("div", { key: 'a5ce470c985829eb1f5a0567bb974cc15e3d0d64', class: 'togglecheckbox__wrapper--relative' }, this.tooltip &&
|
|
45794
|
+
h$3("img", { key: 'faef05dd9341ffe44b6833ca8f4c86b85ed61956', class: 'togglecheckbox__tooltip-icon', src: tooltipIconSvg, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip()), h$3("div", { key: '89fed5f103acecca78fa53eea64d57574ef42727', class: `togglecheckbox__fields-wrapper ${this.showFields ? '' : 'hidden'}` }, this.options.map(subfield => {
|
|
45727
45795
|
return h$3("general-input", { type: subfield.inputType, name: subfield.name, displayName: subfield.displayName, validation: subfield.validate, action: subfield.action || null, defaultValue: subfield.defaultValue, autofilled: subfield.autofill, emitValue: this.emitValue, language: this.language, "client-styling": this.clientStyling, tooltip: subfield.tooltip, placeholder: subfield.placeholder == null ? '' : subfield.placeholder });
|
|
45728
45796
|
})));
|
|
45729
45797
|
}
|
|
45798
|
+
static get watchers() { return {
|
|
45799
|
+
"clientStyling": ["handleStylingChange"]
|
|
45800
|
+
}; }
|
|
45730
45801
|
};
|
|
45731
45802
|
ToggleCheckboxInput.style = ToggleCheckboxInputStyle0;
|
|
45732
45803
|
|