@vc-shell/framework 1.1.2 → 1.1.3
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/CHANGELOG.md +4 -0
- package/dist/apl-B2DGVGxc.js +76 -0
- package/dist/asciiarmor-2LVJmxlE.js +34 -0
- package/dist/asn1-jKiBa2Ya.js +95 -0
- package/dist/asterisk-DS281yxp.js +271 -0
- package/dist/brainfuck-C_p9pTT8.js +34 -0
- package/dist/clike-BUuHEmgZ.js +620 -0
- package/dist/clojure-CCKyeQKf.js +800 -0
- package/dist/cmake-CuaCgAKt.js +28 -0
- package/dist/cobol-BlTKFDRj.js +72 -0
- package/dist/coffeescript-BVCvwO8I.js +179 -0
- package/dist/commonlisp-D_kxz07b.js +75 -0
- package/dist/crystal-D309uH6_.js +217 -0
- package/dist/css-bIlmDBTK.js +1560 -0
- package/dist/cypher-BMq4Fwjl.js +68 -0
- package/dist/d-BZcgY6La.js +127 -0
- package/dist/diff-Cg9d_RX2.js +18 -0
- package/dist/{assets/dockerfile-D0MivFIF.js → dockerfile-DIy8NleC.js} +36 -41
- package/dist/dtd-CtLokQ-U.js +84 -0
- package/dist/dylan-QYeExnWK.js +234 -0
- package/dist/ebnf-DUPDuY4r.js +78 -0
- package/dist/ecl-CiXN-g_D.js +121 -0
- package/dist/eiffel-yQhjl4T1.js +110 -0
- package/dist/elm-CNT9vbN0.js +108 -0
- package/dist/erlang-CFOYdy9e.js +487 -0
- package/dist/factor-DDOC7X6P.js +65 -0
- package/dist/fcl-CPC2WYrI.js +103 -0
- package/dist/forth-BmxRyE9S.js +60 -0
- package/dist/fortran-9bvPyrOW.js +442 -0
- package/dist/framework.js +288 -29
- package/dist/gas-BdfkXJT_.js +183 -0
- package/dist/gherkin-CJuwpceU.js +34 -0
- package/dist/groovy-DZeT_VM-.js +146 -0
- package/dist/haskell-Bvt3Qq1t.js +375 -0
- package/dist/haxe-70NVW1pR.js +359 -0
- package/dist/http-D9LttvKF.js +44 -0
- package/dist/idl-B6TRFYjl.js +947 -0
- package/dist/{assets/index-C7zlEJy8.js → index-B83didIY.js} +229 -302
- package/dist/{assets/index-BT8o9-M5.js → index-BKR3ecN5.js} +267 -386
- package/dist/{assets/index-B1srGfDb.js → index-BN-_cebP.js} +119 -165
- package/dist/index-BUHouW8T.js +249 -0
- package/dist/index-BW3krAiY.js +341 -0
- package/dist/index-C6tcHNVl.js +75 -0
- package/dist/index-CGyGGihY.js +538 -0
- package/dist/{assets/index-DMTL7O1s.js → index-CnQ56kqq.js} +570 -586
- package/dist/index-Cv6c_1IG.js +71 -0
- package/dist/{assets/index-CeeaNa4F.js → index-CxMfHOup.js} +136 -167
- package/dist/index-DRL7VovM.js +308 -0
- package/dist/index-Dfcy8w9c.js +58 -0
- package/dist/{assets/index-CtmpJVwa.js → index-DyGIijU2.js} +270 -312
- package/dist/index-Ek7_XgGk.js +98 -0
- package/dist/{assets/index-Bv_z_qRq.js → index-TSGli7LX.js} +121 -124
- package/dist/index-UnPPbmRc.js +145659 -0
- package/dist/{assets/index-BKF-A58l.js → index-xFQltarK.js} +79 -92
- package/dist/index.css +9 -18
- package/dist/javascript-WMWNx-Vj.js +690 -0
- package/dist/jinja2-DnB6dQmV.js +154 -0
- package/dist/julia-DpvXAuO6.js +241 -0
- package/dist/livescript-CanGTf8u.js +272 -0
- package/dist/lua-XplVlWi_.js +217 -0
- package/dist/mathematica-jaRHnSxC.js +35 -0
- package/dist/mbox-BctzC1hL.js +76 -0
- package/dist/mirc-CFBPAOaF.js +72 -0
- package/dist/mllike-BSnXJBGA.js +272 -0
- package/dist/modelica-vUgVs--1.js +93 -0
- package/dist/mscgen-Cpl0NYLN.js +104 -0
- package/dist/mumps-CQoS1kWX.js +25 -0
- package/dist/nginx-zDPm3Z74.js +89 -0
- package/dist/nsis-fePjrhq7.js +62 -0
- package/dist/ntriples-CsNjv2QF.js +79 -0
- package/dist/octave-C8PmmSRH.js +143 -0
- package/dist/oz-Ce8aN8oE.js +151 -0
- package/dist/pascal-De0D6mP7.js +77 -0
- package/dist/perl-B4bSCe1C.js +915 -0
- package/dist/pig-D24Z8EXi.js +54 -0
- package/dist/powershell-DkYVfTzP.js +249 -0
- package/dist/properties-Dn9wna3M.js +26 -0
- package/dist/protobuf-BPIjwpzm.js +49 -0
- package/dist/pug-BqUR2bBq.js +248 -0
- package/dist/puppet-nyd4dhjf.js +45 -0
- package/dist/python-B5QdSKoL.js +313 -0
- package/dist/q-DXjKs-tC.js +83 -0
- package/dist/r-LKEuhEGI.js +104 -0
- package/dist/rpm-IznJm2Xc.js +57 -0
- package/dist/ruby-CcYfvIk6.js +228 -0
- package/dist/sas-7E8yHoCW.js +105 -0
- package/dist/scheme-DjibxsNh.js +124 -0
- package/dist/shell-C0C2sNA_.js +182 -0
- package/dist/sieve-Bwz7vjP5.js +72 -0
- package/dist/simple-mode-B0dvCdAA.js +89 -0
- package/dist/smalltalk-Bhddl2pB.js +48 -0
- package/dist/solr-BNlsLglM.js +41 -0
- package/dist/sparql-FarWu_Gb.js +197 -0
- package/dist/spreadsheet-C-cy4P5N.js +49 -0
- package/dist/sql-mMre1Bo3.js +282 -0
- package/dist/stex-92raWT1r.js +129 -0
- package/dist/stylus-CAdqWld3.js +250 -0
- package/dist/swift-DSxqR9R6.js +230 -0
- package/dist/tcl-xfoLljhY.js +81 -0
- package/dist/textile-D1AWE-pc.js +295 -0
- package/dist/tiddlywiki-5wqsXtSk.js +155 -0
- package/dist/tiki-__Kn3CeS.js +181 -0
- package/dist/toml-BHiuTcfn.js +49 -0
- package/dist/troff-D2UO-fKf.js +35 -0
- package/dist/ttcn-Bsa4sfRm.js +123 -0
- package/dist/ttcn-cfg-Bac_acMi.js +88 -0
- package/dist/turtle-xwJUxoPV.js +80 -0
- package/dist/vb-c2kQGd6-.js +74 -0
- package/dist/vbscript-Dz1TtKsy.js +324 -0
- package/dist/velocity-DJd0pTTC.js +96 -0
- package/dist/verilog-C4VGD9n1.js +263 -0
- package/dist/vhdl-T9HkrbI2.js +106 -0
- package/dist/webidl-CjfDENEo.js +155 -0
- package/dist/xquery-BUQdORAS.js +422 -0
- package/dist/yacas-C0absKBh.js +73 -0
- package/dist/z80-C8rPtw-0.js +61 -0
- package/package.json +4 -4
- package/dist/assets/apl-NdZ6-T1z.js +0 -142
- package/dist/assets/asciiarmor-CmJEbAuq.js +0 -56
- package/dist/assets/asn1-Ctc8K72v.js +0 -192
- package/dist/assets/asterisk-D6r__RMF.js +0 -187
- package/dist/assets/brainfuck-COwWCBpq.js +0 -70
- package/dist/assets/clike-C-PtfL50.js +0 -1019
- package/dist/assets/clojure-C2XPrGCa.js +0 -274
- package/dist/assets/cmake-BGrEgXCL.js +0 -81
- package/dist/assets/cobol-DShPmpZe.js +0 -234
- package/dist/assets/coffeescript-BG8vTfSz.js +0 -329
- package/dist/assets/commonlisp-8oE2EpEe.js +0 -108
- package/dist/assets/core-api-BMLS9FrT.js +0 -8288
- package/dist/assets/core-composables-DYxpIWyY.js +0 -1799
- package/dist/assets/core-constants-DiKDBbnD.js +0 -83
- package/dist/assets/core-directives-QhJx9kWh.js +0 -41
- package/dist/assets/core-interceptors-CSjUvxQ0.js +0 -78
- package/dist/assets/core-plugins-wv2bDZ0l.js +0 -4919
- package/dist/assets/core-services-CAfJRsjs.js +0 -4
- package/dist/assets/core-utilities-BTktq_a-.js +0 -33
- package/dist/assets/crystal--rIRMl16.js +0 -419
- package/dist/assets/css/core-directives-FL4vIIkN.css +0 -73
- package/dist/assets/css/fonts-M1mtyV8L.css +0 -305
- package/dist/assets/css/icons-css-DbCVsovz.css +0 -41
- package/dist/assets/css/shared-components-bnLHdCtf.css +0 -429
- package/dist/assets/css/shared-modules-CNOICmYQ.css +0 -45
- package/dist/assets/css/styles-C62nDZwV.css +0 -4096
- package/dist/assets/css/ui-app-Bh9hmlIB.css +0 -1287
- package/dist/assets/css/ui-content-B29jsmK7.css +0 -1187
- package/dist/assets/css/ui-controls-CRtfFczw.css +0 -387
- package/dist/assets/css/ui-data-CYLxfdUa.css +0 -1555
- package/dist/assets/css/ui-form-C3WrWfVl.css +0 -71
- package/dist/assets/css/ui-form-fields-DOtHhDeM.css +0 -1360
- package/dist/assets/css/ui-helpers-bOoNv5dS.css +0 -37
- package/dist/assets/css/ui-indicators-CybQnCoU.css +0 -628
- package/dist/assets/css/ui-layout-DyGKgizy.css +0 -251
- package/dist/assets/css/ui-media-TWYep8js.css +0 -298
- package/dist/assets/css/ui-media-advanced-BGxy3VSB.css +0 -183
- package/dist/assets/css/ui-navigation-DcPRn8SB.css +0 -1693
- package/dist/assets/css-C_ZeEwz2.js +0 -847
- package/dist/assets/cypher-Bayei42D.js +0 -122
- package/dist/assets/d-B0hhz6be.js +0 -205
- package/dist/assets/diff-DQutOIXs.js +0 -30
- package/dist/assets/dtd-C1CeYVnM.js +0 -121
- package/dist/assets/dylan-Dm9-uD-A.js +0 -337
- package/dist/assets/ebnf-jWG_1Yly.js +0 -151
- package/dist/assets/ecl-CgJPA6z9.js +0 -190
- package/dist/assets/eiffel-lj7uLahq.js +0 -146
- package/dist/assets/elm-Cz7o1ijk.js +0 -230
- package/dist/assets/erlang-CyL5QOyR.js +0 -581
- package/dist/assets/factor-BVWHwYpu.js +0 -65
- package/dist/assets/fcl-DiozYjc8.js +0 -154
- package/dist/assets/forth-B7vn5ze0.js +0 -164
- package/dist/assets/fortran-D2XNEnBT.js +0 -172
- package/dist/assets/gas-B_Tj57Ve.js +0 -343
- package/dist/assets/gherkin-CJ6Qk4EZ.js +0 -147
- package/dist/assets/groovy-ioGz2WSV.js +0 -228
- package/dist/assets/haskell-BHnm1B83.js +0 -239
- package/dist/assets/haxe-Bn6Yo6N3.js +0 -490
- package/dist/assets/http-BOd5SYCT.js +0 -89
- package/dist/assets/idl-FSFk8_xX.js +0 -274
- package/dist/assets/index--5fKpGeN.js +0 -792
- package/dist/assets/index-0lME64YH.js +0 -342
- package/dist/assets/index-B6Ip0FgO.js +0 -437
- package/dist/assets/index-BmV05E5M.js +0 -479
- package/dist/assets/index-C6MavZDA.js +0 -131
- package/dist/assets/index-CwKpgcYl.js +0 -85
- package/dist/assets/index-DRUmDL0J.js +0 -59
- package/dist/assets/index-DgFC-M9G.js +0 -96
- package/dist/assets/javascript-DGrAs70C.js +0 -922
- package/dist/assets/jinja2-D9k5QrXv.js +0 -171
- package/dist/assets/julia-DM42tOPB.js +0 -369
- package/dist/assets/livescript-Dci8HnOi.js +0 -259
- package/dist/assets/lua-CByQu4v6.js +0 -137
- package/dist/assets/lucide-icons-af0BY3bi.js +0 -34555
- package/dist/assets/mathematica-Dkv0uCYF.js +0 -153
- package/dist/assets/mbox-CYTvs5kC.js +0 -114
- package/dist/assets/mirc-DpgP3GCo.js +0 -176
- package/dist/assets/mllike-C6tNn2Yt.js +0 -343
- package/dist/assets/modelica-CR6hTSce.js +0 -192
- package/dist/assets/mscgen-D0GXtzMS.js +0 -149
- package/dist/assets/mumps-Bf1EyDa6.js +0 -129
- package/dist/assets/nginx-By9Phklj.js +0 -163
- package/dist/assets/nsis-B5ggMLQ9.js +0 -80
- package/dist/assets/ntriples-C7VJ7pnm.js +0 -141
- package/dist/assets/octave-6yR_ix15.js +0 -112
- package/dist/assets/oz-CEUnktiQ.js +0 -235
- package/dist/assets/pascal-Dksf1EyF.js +0 -124
- package/dist/assets/perl-B99DUQQt.js +0 -819
- package/dist/assets/pig-DFeDRta6.js +0 -149
- package/dist/assets/powershell-DhwsNWMx.js +0 -381
- package/dist/assets/properties-o21uErwC.js +0 -62
- package/dist/assets/protobuf-YxlANsmD.js +0 -54
- package/dist/assets/pug-bUgjeODZ.js +0 -504
- package/dist/assets/puppet-B8WICGYE.js +0 -205
- package/dist/assets/python-D3FFx1Id.js +0 -389
- package/dist/assets/q-D2Hjhl2C.js +0 -123
- package/dist/assets/r-D73k5lac.js +0 -174
- package/dist/assets/rpm-Duv_WH0z.js +0 -89
- package/dist/assets/ruby-DGCVqZDt.js +0 -287
- package/dist/assets/sas-XjPv1Vy5.js +0 -268
- package/dist/assets/scheme-DeaA28vt.js +0 -263
- package/dist/assets/shared-components-CfAt2hC6.js +0 -1501
- package/dist/assets/shared-composables-v9NkNuAe.js +0 -35
- package/dist/assets/shared-modules-CDP-H5ZB.js +0 -3588
- package/dist/assets/shared-pages-BGRRA5WB.js +0 -20
- package/dist/assets/shell-Bx6QZTgx.js +0 -145
- package/dist/assets/sieve-CWCD62sW.js +0 -178
- package/dist/assets/simple-mode-BAO9cD7H.js +0 -136
- package/dist/assets/smalltalk-DSQbF4MF.js +0 -153
- package/dist/assets/solr-v_XRf31C.js +0 -80
- package/dist/assets/sparql-BrfDqf0-.js +0 -170
- package/dist/assets/spreadsheet-Csn84Pef.js +0 -98
- package/dist/assets/sql-D4utlq1l.js +0 -480
- package/dist/assets/stex-DBkktma-.js +0 -246
- package/dist/assets/stylus-ByG-Fd6f.js +0 -750
- package/dist/assets/swift-CHbTprt3.js +0 -202
- package/dist/assets/tcl-BRlMUELr.js +0 -125
- package/dist/assets/textile-CqfTUjd4.js +0 -441
- package/dist/assets/tiddlywiki-BrsoM8KB.js +0 -278
- package/dist/assets/tiki-D-ivWPkc.js +0 -289
- package/dist/assets/toml-t_IhJu83.js +0 -75
- package/dist/assets/troff-DckGF2AE.js +0 -64
- package/dist/assets/ttcn-B8TAFbRR.js +0 -253
- package/dist/assets/ttcn-cfg-NHh25oCM.js +0 -197
- package/dist/assets/turtle-D9Js0BlL.js +0 -141
- package/dist/assets/ui-app-D31Pr1WY.js +0 -1993
- package/dist/assets/ui-content-B7SxH8y9.js +0 -52887
- package/dist/assets/ui-controls-nmDJYLmC.js +0 -348
- package/dist/assets/ui-data-Ci3b1ye0.js +0 -22901
- package/dist/assets/ui-form-Cs5ooOo7.js +0 -159
- package/dist/assets/ui-form-fields-DFQi31jT.js +0 -40575
- package/dist/assets/ui-helpers-CF-EUlOg.js +0 -1736
- package/dist/assets/ui-indicators-mIQeEqha.js +0 -199
- package/dist/assets/ui-layout-v2XBQky3.js +0 -320
- package/dist/assets/ui-media-WWYrwmZw.js +0 -1259
- package/dist/assets/ui-media-advanced-T8ibi153.js +0 -492
- package/dist/assets/ui-modals-BdZXzI85.js +0 -2
- package/dist/assets/ui-navigation-BtHa6ovW.js +0 -24269
- package/dist/assets/utils-DZK5fu48.js +0 -17216
- package/dist/assets/vb-CbIGLrpY.js +0 -249
- package/dist/assets/vbscript-8ANWle9n.js +0 -320
- package/dist/assets/velocity-D6hz3Hzw.js +0 -186
- package/dist/assets/verilog-DIV442at.js +0 -565
- package/dist/assets/vhdl-BlTiZo_v.js +0 -174
- package/dist/assets/vueuse-CTQm4Zh0.js +0 -9308
- package/dist/assets/webidl-Cp3tcqdk.js +0 -179
- package/dist/assets/xquery-Dd4TBzXv.js +0 -411
- package/dist/assets/yacas-DQ1WucF0.js +0 -182
- package/dist/assets/z80-P1j44jDI.js +0 -102
|
@@ -1,1799 +0,0 @@
|
|
|
1
|
-
import { g as useAppInsights$1, e as useUser, i as i18n, h as generateW3CId, p as provideWidgetService, r as registerWidget, j as useBreadcrumbs, c as usePermissions, u as useWidgets } from './ui-navigation-BtHa6ovW.js';
|
|
2
|
-
import { P as PushNotificationClient, ae as PushNotification, g as SettingClient } from './core-api-BMLS9FrT.js';
|
|
3
|
-
import { ref, computed, onUnmounted, readonly, onMounted, getCurrentInstance, onErrorCaptured, onBeforeMount, onBeforeUnmount, unref, inject, provide, reactive } from 'vue';
|
|
4
|
-
import { F as orderBy, i as cloneDeep, G as differenceWith } from './ui-form-fields-DFQi31jT.js';
|
|
5
|
-
import { c as addMenuItem, m as addSettingsMenuItem, i as provideDashboardService, p as provideMenuService, k as provideSettingsMenu, r as registerDashboardWidget, j as useDashboard, h as useMenuService, l as useSettingsMenu, u as useTheme } from './ui-app-D31Pr1WY.js';
|
|
6
|
-
import * as veeValidate from 'vee-validate';
|
|
7
|
-
import { g as getDefaultExportFromCjs } from './utils-DZK5fu48.js';
|
|
8
|
-
import { o as createSharedComposable, m as useLocalStorage } from './vueuse-CTQm4Zh0.js';
|
|
9
|
-
import { l as languageToCountryMap, F as FALLBACK_BLADE_ID } from './core-constants-DiKDBbnD.js';
|
|
10
|
-
import { A as AppBarWidgetServiceKey, T as TOOLBAR_SERVICE, b as BladeInstance } from './ui-data-Ci3b1ye0.js';
|
|
11
|
-
|
|
12
|
-
function debounce(func, delay) {
|
|
13
|
-
console.debug(`[@vc-shell/framework#useFunctions:debounce] - Entry point`);
|
|
14
|
-
let timer = null;
|
|
15
|
-
return function(...args) {
|
|
16
|
-
if (timer) {
|
|
17
|
-
clearTimeout(timer);
|
|
18
|
-
}
|
|
19
|
-
timer = window.setTimeout(() => {
|
|
20
|
-
timer = null;
|
|
21
|
-
func(...args);
|
|
22
|
-
}, delay);
|
|
23
|
-
};
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
function delay(func, delay2 = 0) {
|
|
27
|
-
console.debug(`[@vc-shell/framework#useFunctions:delay] - Entry point`);
|
|
28
|
-
setTimeout(func, delay2);
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
const resultsMap = /* @__PURE__ */ new WeakMap();
|
|
32
|
-
function once(func) {
|
|
33
|
-
console.debug(`[@vc-shell/framework#useFunctions:once] - Entry point`);
|
|
34
|
-
return function(...args) {
|
|
35
|
-
if (!resultsMap.has(func)) {
|
|
36
|
-
const result = func(...args);
|
|
37
|
-
resultsMap.set(func, result);
|
|
38
|
-
}
|
|
39
|
-
return resultsMap.get(func);
|
|
40
|
-
};
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
function throttle(func, delay) {
|
|
44
|
-
console.debug(`[@vc-shell/framework#useFunctions:throttle] - Entry point`);
|
|
45
|
-
let wasThrottled = false;
|
|
46
|
-
return function(...args) {
|
|
47
|
-
if (!wasThrottled) {
|
|
48
|
-
func(...args);
|
|
49
|
-
wasThrottled = true;
|
|
50
|
-
setTimeout(() => {
|
|
51
|
-
wasThrottled = false;
|
|
52
|
-
}, delay);
|
|
53
|
-
}
|
|
54
|
-
};
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
function useFunctions() {
|
|
58
|
-
console.debug("useFunctions entry point");
|
|
59
|
-
return {
|
|
60
|
-
debounce,
|
|
61
|
-
delay,
|
|
62
|
-
once,
|
|
63
|
-
throttle
|
|
64
|
-
};
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
const notificationsClient = new PushNotificationClient();
|
|
68
|
-
const notifications = ref([]);
|
|
69
|
-
const pushNotifications = ref([]);
|
|
70
|
-
const subscribers = /* @__PURE__ */ new Map();
|
|
71
|
-
let subscriberCounter = 0;
|
|
72
|
-
function useNotifications(notifyType) {
|
|
73
|
-
if (notifyType) {
|
|
74
|
-
const types = Array.isArray(notifyType) ? notifyType : [notifyType];
|
|
75
|
-
types.forEach((type) => {
|
|
76
|
-
if (!subscribers.has(type)) {
|
|
77
|
-
subscribers.set(type, {
|
|
78
|
-
id: ++subscriberCounter
|
|
79
|
-
});
|
|
80
|
-
}
|
|
81
|
-
});
|
|
82
|
-
onUnmounted(() => {
|
|
83
|
-
types.forEach((type) => {
|
|
84
|
-
subscribers.delete(type);
|
|
85
|
-
});
|
|
86
|
-
});
|
|
87
|
-
}
|
|
88
|
-
async function loadFromHistory(take = 10) {
|
|
89
|
-
try {
|
|
90
|
-
const result = await fetch("/api/platform/pushnotifications", {
|
|
91
|
-
method: "POST",
|
|
92
|
-
headers: {
|
|
93
|
-
"Content-Type": "application/json-patch+json",
|
|
94
|
-
Accept: "application/json"
|
|
95
|
-
},
|
|
96
|
-
body: JSON.stringify({ take })
|
|
97
|
-
});
|
|
98
|
-
result.text().then((response) => {
|
|
99
|
-
notifications.value = JSON.parse(response).notifyEvents ?? [];
|
|
100
|
-
});
|
|
101
|
-
} catch (e) {
|
|
102
|
-
console.error(e);
|
|
103
|
-
throw e;
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
function addNotification(message) {
|
|
107
|
-
if (message.notifyType !== "IndexProgressPushNotification") {
|
|
108
|
-
const existsNotification = notifications.value.find((x) => x.id == message.id);
|
|
109
|
-
const existPushNotification = pushNotifications.value.find((x) => x.id == message.id);
|
|
110
|
-
if (existsNotification) {
|
|
111
|
-
message.isNew = existsNotification.isNew;
|
|
112
|
-
Object.assign(existsNotification, message);
|
|
113
|
-
} else {
|
|
114
|
-
notifications.value.push(new PushNotification(message));
|
|
115
|
-
}
|
|
116
|
-
if (existPushNotification) {
|
|
117
|
-
message.isNew = existPushNotification.isNew;
|
|
118
|
-
Object.assign(existPushNotification, message);
|
|
119
|
-
} else {
|
|
120
|
-
pushNotifications.value.push(new PushNotification(message));
|
|
121
|
-
}
|
|
122
|
-
if (message.isNew && message.notifyType && subscribers.has(message.notifyType)) {
|
|
123
|
-
const subscriber = subscribers.get(message.notifyType);
|
|
124
|
-
if (subscriber?.handler) {
|
|
125
|
-
subscriber.handler(message);
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
function markAsRead(message) {
|
|
131
|
-
const exists = pushNotifications.value.find((x) => x.id === message.id);
|
|
132
|
-
if (exists) {
|
|
133
|
-
Object.assign(exists, { ...message, isNew: false });
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
async function markAllAsRead() {
|
|
137
|
-
try {
|
|
138
|
-
notifications.value = notifications.value.map((x) => {
|
|
139
|
-
if (x.isNew) {
|
|
140
|
-
x.isNew = false;
|
|
141
|
-
}
|
|
142
|
-
return x;
|
|
143
|
-
});
|
|
144
|
-
pushNotifications.value = pushNotifications.value.map((x) => {
|
|
145
|
-
if (x.isNew) {
|
|
146
|
-
x.isNew = false;
|
|
147
|
-
}
|
|
148
|
-
return x;
|
|
149
|
-
});
|
|
150
|
-
await notificationsClient.markAllAsRead();
|
|
151
|
-
} catch (e) {
|
|
152
|
-
console.error(e);
|
|
153
|
-
throw e;
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
function setNotificationHandler(handler) {
|
|
157
|
-
if (notifyType) {
|
|
158
|
-
const types = Array.isArray(notifyType) ? notifyType : [notifyType];
|
|
159
|
-
types.forEach((type) => {
|
|
160
|
-
const subscriber = subscribers.get(type);
|
|
161
|
-
if (subscriber) {
|
|
162
|
-
subscriber.handler = handler;
|
|
163
|
-
}
|
|
164
|
-
});
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
const moduleNotifications = computed(() => {
|
|
168
|
-
if (!notifyType) {
|
|
169
|
-
return [];
|
|
170
|
-
}
|
|
171
|
-
const types = Array.isArray(notifyType) ? notifyType : [notifyType];
|
|
172
|
-
return pushNotifications.value.filter(
|
|
173
|
-
(item) => item.isNew && item.notifyType && types.includes(item.notifyType) && subscribers.has(item.notifyType)
|
|
174
|
-
) ?? [];
|
|
175
|
-
});
|
|
176
|
-
return {
|
|
177
|
-
notifications: computed(() => orderBy(notifications.value, ["created"], ["desc"])),
|
|
178
|
-
moduleNotifications,
|
|
179
|
-
loadFromHistory,
|
|
180
|
-
addNotification,
|
|
181
|
-
markAsRead,
|
|
182
|
-
markAllAsRead,
|
|
183
|
-
setNotificationHandler
|
|
184
|
-
};
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
function useAsync(innerAction) {
|
|
188
|
-
const loading = ref(false);
|
|
189
|
-
async function action(payload, ...rest) {
|
|
190
|
-
loading.value = true;
|
|
191
|
-
try {
|
|
192
|
-
return await innerAction(payload ?? {}, ...rest);
|
|
193
|
-
} catch (e) {
|
|
194
|
-
console.error(e);
|
|
195
|
-
throw e;
|
|
196
|
-
} finally {
|
|
197
|
-
loading.value = false;
|
|
198
|
-
}
|
|
199
|
-
}
|
|
200
|
-
return {
|
|
201
|
-
loading: readonly(loading),
|
|
202
|
-
action
|
|
203
|
-
};
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
function useApiClient(c) {
|
|
207
|
-
async function getApiClient() {
|
|
208
|
-
const client = new c();
|
|
209
|
-
return client;
|
|
210
|
-
}
|
|
211
|
-
return {
|
|
212
|
-
getApiClient
|
|
213
|
-
};
|
|
214
|
-
}
|
|
215
|
-
|
|
216
|
-
function useLoading(...args) {
|
|
217
|
-
return computed(() => args.some((item) => item.value));
|
|
218
|
-
}
|
|
219
|
-
|
|
220
|
-
function useSettings() {
|
|
221
|
-
const uiSettings = ref();
|
|
222
|
-
const customSettingsApplied = ref(false);
|
|
223
|
-
const { getApiClient } = useApiClient(SettingClient);
|
|
224
|
-
const { loading, action: getUiCustomizationSettings } = useAsync(async () => {
|
|
225
|
-
if (customSettingsApplied.value) return;
|
|
226
|
-
const result = await (await getApiClient()).getUICustomizationSetting();
|
|
227
|
-
const settings = await JSON.parse(result.defaultValue ?? null);
|
|
228
|
-
if (settings && !uiSettings.value) {
|
|
229
|
-
uiSettings.value = {
|
|
230
|
-
contrast_logo: settings.contrast_logo,
|
|
231
|
-
logo: settings.logo,
|
|
232
|
-
title: settings.title
|
|
233
|
-
};
|
|
234
|
-
}
|
|
235
|
-
});
|
|
236
|
-
function applySettings(args) {
|
|
237
|
-
customSettingsApplied.value = true;
|
|
238
|
-
uiSettings.value = {
|
|
239
|
-
...uiSettings.value,
|
|
240
|
-
logo: args.logo,
|
|
241
|
-
title: args.title,
|
|
242
|
-
avatar: args.avatar,
|
|
243
|
-
role: args.role
|
|
244
|
-
};
|
|
245
|
-
}
|
|
246
|
-
onMounted(async () => {
|
|
247
|
-
if (!uiSettings.value && !customSettingsApplied.value) {
|
|
248
|
-
await getUiCustomizationSettings();
|
|
249
|
-
}
|
|
250
|
-
});
|
|
251
|
-
return {
|
|
252
|
-
uiSettings: computed(() => uiSettings.value ?? {}),
|
|
253
|
-
applySettings,
|
|
254
|
-
loading: useLoading(loading)
|
|
255
|
-
};
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
function useErrorHandler(capture) {
|
|
259
|
-
const error = ref(null);
|
|
260
|
-
const instance = getCurrentInstance();
|
|
261
|
-
const appInsights = useAppInsights$1();
|
|
262
|
-
const { user } = useUser();
|
|
263
|
-
function reset() {
|
|
264
|
-
error.value = null;
|
|
265
|
-
if (instance) {
|
|
266
|
-
instance.emit("reset");
|
|
267
|
-
}
|
|
268
|
-
}
|
|
269
|
-
onErrorCaptured((err) => {
|
|
270
|
-
if (err) {
|
|
271
|
-
if (err instanceof Error) {
|
|
272
|
-
if (typeof err === "object" && "isApiException" in err && "response" in err) {
|
|
273
|
-
const res = JSON.parse(String(err.response));
|
|
274
|
-
if (res && "message" in res) {
|
|
275
|
-
error.value = res.message;
|
|
276
|
-
} else if (err.message) {
|
|
277
|
-
error.value = err.message;
|
|
278
|
-
} else {
|
|
279
|
-
error.value = err.toString();
|
|
280
|
-
}
|
|
281
|
-
} else {
|
|
282
|
-
error.value = err.message || err.toString();
|
|
283
|
-
}
|
|
284
|
-
} else {
|
|
285
|
-
error.value = String(err);
|
|
286
|
-
}
|
|
287
|
-
if (appInsights) {
|
|
288
|
-
appInsights.trackException({
|
|
289
|
-
exception: err instanceof Error ? err : new Error(String(err)),
|
|
290
|
-
properties: {
|
|
291
|
-
userId: user.value?.id ?? "",
|
|
292
|
-
userName: user.value?.userName ?? ""
|
|
293
|
-
}
|
|
294
|
-
});
|
|
295
|
-
}
|
|
296
|
-
console.error(err);
|
|
297
|
-
}
|
|
298
|
-
if (instance) {
|
|
299
|
-
instance.emit("error", error.value);
|
|
300
|
-
}
|
|
301
|
-
if (capture) {
|
|
302
|
-
return false;
|
|
303
|
-
}
|
|
304
|
-
});
|
|
305
|
-
return {
|
|
306
|
-
error,
|
|
307
|
-
reset
|
|
308
|
-
};
|
|
309
|
-
}
|
|
310
|
-
|
|
311
|
-
function useAssets() {
|
|
312
|
-
const loading = ref(false);
|
|
313
|
-
async function upload(files, uploadPath, startingSortOrder) {
|
|
314
|
-
try {
|
|
315
|
-
loading.value = true;
|
|
316
|
-
const uploadedAssets = ref([]);
|
|
317
|
-
for (let i = 0; i < files.length; i++) {
|
|
318
|
-
const formData = new FormData();
|
|
319
|
-
formData.append("file", files[i]);
|
|
320
|
-
const result = await fetch(`/api/assets?folderUrl=/${uploadPath}`, {
|
|
321
|
-
method: "POST",
|
|
322
|
-
body: formData
|
|
323
|
-
});
|
|
324
|
-
const response = await result.json();
|
|
325
|
-
if (response?.length) {
|
|
326
|
-
const file = response[0];
|
|
327
|
-
file.createdDate = /* @__PURE__ */ new Date();
|
|
328
|
-
file.sortOrder = startingSortOrder !== void 0 && startingSortOrder >= 0 ? startingSortOrder + i + 1 : 0;
|
|
329
|
-
file.url = file.url ? decodeURI(file.url) : "";
|
|
330
|
-
if ("size" in file) {
|
|
331
|
-
file.size = files[i].size;
|
|
332
|
-
}
|
|
333
|
-
uploadedAssets.value.push(file);
|
|
334
|
-
}
|
|
335
|
-
}
|
|
336
|
-
return uploadedAssets.value;
|
|
337
|
-
} catch (error) {
|
|
338
|
-
console.error(error);
|
|
339
|
-
throw error;
|
|
340
|
-
} finally {
|
|
341
|
-
loading.value = false;
|
|
342
|
-
}
|
|
343
|
-
}
|
|
344
|
-
function remove(filesToDelete, initialAssetArr, assetKey = "url") {
|
|
345
|
-
try {
|
|
346
|
-
loading.value = true;
|
|
347
|
-
let updatedAssetArr = cloneDeep(initialAssetArr) || [];
|
|
348
|
-
if (updatedAssetArr && updatedAssetArr.length && filesToDelete.length > 0) {
|
|
349
|
-
updatedAssetArr = differenceWith(updatedAssetArr, filesToDelete, (x, y) => x[assetKey] === y[assetKey]);
|
|
350
|
-
}
|
|
351
|
-
return updatedAssetArr;
|
|
352
|
-
} catch (error) {
|
|
353
|
-
console.error(error);
|
|
354
|
-
throw error;
|
|
355
|
-
} finally {
|
|
356
|
-
loading.value = false;
|
|
357
|
-
}
|
|
358
|
-
}
|
|
359
|
-
function edit(updatedFiles, initialAssetArr) {
|
|
360
|
-
const updatedAssetArr = cloneDeep(initialAssetArr) || [];
|
|
361
|
-
if (updatedAssetArr && updatedAssetArr.length) {
|
|
362
|
-
updatedFiles.forEach((updatedFile) => {
|
|
363
|
-
const index = updatedAssetArr.findIndex((asset) => asset.url === updatedFile.url);
|
|
364
|
-
if (index !== -1) {
|
|
365
|
-
updatedAssetArr[index] = { ...updatedAssetArr[index], ...updatedFile };
|
|
366
|
-
}
|
|
367
|
-
});
|
|
368
|
-
}
|
|
369
|
-
return updatedAssetArr;
|
|
370
|
-
}
|
|
371
|
-
return {
|
|
372
|
-
upload,
|
|
373
|
-
remove,
|
|
374
|
-
edit,
|
|
375
|
-
loading: computed(() => loading.value)
|
|
376
|
-
};
|
|
377
|
-
}
|
|
378
|
-
|
|
379
|
-
const useBeforeUnload = (modified) => {
|
|
380
|
-
onBeforeMount(() => {
|
|
381
|
-
window.addEventListener("beforeunload", preventUnload);
|
|
382
|
-
});
|
|
383
|
-
onBeforeUnmount(() => {
|
|
384
|
-
window.removeEventListener("beforeunload", preventUnload);
|
|
385
|
-
});
|
|
386
|
-
function preventUnload(event) {
|
|
387
|
-
if (!unref(modified)) return;
|
|
388
|
-
event.preventDefault();
|
|
389
|
-
}
|
|
390
|
-
return {
|
|
391
|
-
modified
|
|
392
|
-
};
|
|
393
|
-
};
|
|
394
|
-
|
|
395
|
-
const __vite_glob_0_0 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='512'%20height='512'%20viewBox='0%200%20512%20512'%3e%3cmask%20id='a'%3e%3ccircle%20cx='256'%20cy='256'%20r='256'%20fill='%23fff'/%3e%3c/mask%3e%3cg%20mask='url(%23a)'%3e%3cpath%20fill='%23d80027'%20d='M0%200h512v512H0z'/%3e%3cpath%20fill='%23333'%20d='M400.7%20190H308a33.3%2033.3%200%200%200-24.2-56.4%2033.3%2033.3%200%200%200-27.8%2014.9%2033.4%2033.4%200%201%200-52%2041.5h-92.7a45.8%2045.8%200%200%200%2046%2044.5h-1.5c0%2024.6%2020%2044.6%2044.5%2044.6%200%208%202.1%2015.4%205.8%2021.8l-37%2037%2028.4%2028.3%2040.2-40.2a30.5%2030.5%200%200%200%204.9%201.4l-24.3%2054.8L256%20423l37.7-40.8-24.3-54.8a30.4%2030.4%200%200%200%204.9-1.4l40.2%2040.2%2028.3-28.3-37-37a44.2%2044.2%200%200%200%205.9-21.8c24.5%200%2044.5-20%2044.5-44.6h-1.5c24.6%200%2046-19.9%2046-44.5z'/%3e%3c/g%3e%3c/svg%3e";
|
|
396
|
-
|
|
397
|
-
const __vite_glob_0_1 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='512'%20height='512'%20viewBox='0%200%20512%20512'%3e%3cmask%20id='a'%3e%3ccircle%20cx='256'%20cy='256'%20r='256'%20fill='%23fff'/%3e%3c/mask%3e%3cg%20mask='url(%23a)'%3e%3cpath%20fill='%230052b4'%20d='m0%20166.9%20253-26.7L512%20167v178l-261.1%2026L0%20344.8z'/%3e%3cpath%20fill='%23d80027'%20d='M0%200h512v166.9H0z'/%3e%3cpath%20fill='%23ff9811'%20d='M0%20344.9h512V512H0z'/%3e%3c/g%3e%3c/svg%3e";
|
|
398
|
-
|
|
399
|
-
const __vite_glob_0_2 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='512'%20height='512'%20viewBox='0%200%20512%20512'%3e%3cmask%20id='a'%3e%3ccircle%20cx='256'%20cy='256'%20r='256'%20fill='%23fff'/%3e%3c/mask%3e%3cg%20mask='url(%23a)'%3e%3cpath%20fill='%23d80027'%20d='m0%20166.9%20253-31.8%20259%2031.8v178l-257.5%2037.4L0%20345z'/%3e%3cpath%20fill='%23338af3'%20d='M0%200h512v166.9H0z'/%3e%3cpath%20fill='%236da544'%20d='M0%20344.9h512V512H0z'/%3e%3cg%20fill='%23eee'%3e%3cpath%20d='M261.6%20328.2a72.3%2072.3%200%201%201%2034.4-136%2089%2089%200%201%200%200%20127.3%2072%2072%200%200%201-34.4%208.7z'/%3e%3cpath%20d='m317.2%20206%209.6%2026.8%2025.8-12.3-12.2%2025.8%2026.9%209.6-27%209.6%2012.3%2025.8-25.8-12.3-9.6%2027-9.6-27-25.8%2012.3%2012.3-25.8-27-9.6%2027-9.6-12.3-25.8%2025.8%2012.3z'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e";
|
|
400
|
-
|
|
401
|
-
const __vite_glob_0_3 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='512'%20height='512'%20viewBox='0%200%20512%20512'%3e%3cmask%20id='a'%3e%3ccircle%20cx='256'%20cy='256'%20r='256'%20fill='%23fff'/%3e%3c/mask%3e%3cg%20mask='url(%23a)'%3e%3cpath%20fill='%23ffda44'%20d='M0%200h445.3l33.9%20255-33.9%20257-323.7-134.3L0%2066.8z'/%3e%3cpath%20fill='%230052b4'%20d='M0%2066.8V512h445.4z'/%3e%3cpath%20fill='%230052b4'%20d='M445.3%200H512v512h-66.7z'/%3e%3cpath%20fill='%23eee'%20d='m354.6%20456-8.3%2025.6h-26.8l21.7%2015.8-8.3%2025.5%2021.7-15.8%2021.7%2015.8-8.3-25.5%2021.7-15.8h-26.8zm-55-55.4-8.3%2025.5h-26.8l21.7%2015.8-8.3%2025.5%2021.7-15.8%2021.7%2015.8-8.3-25.5%2021.7-15.8h-26.8zM244.4%20345l-8.3%2025.5h-26.8l21.7%2015.8-8.3%2025.5%2021.7-15.8%2021.7%2015.8-8.3-25.5%2021.7-15.8h-26.8zm-55.1-55.7-8.3%2025.5h-26.8l21.7%2015.8-8.3%2025.5%2021.7-15.8L211%20356l-8.3-25.5%2021.7-15.8h-26.8zm-55.4-55.7-8.3%2025.5H98.8l21.7%2015.8-8.3%2025.5%2021.7-15.8%2021.7%2015.8-8.3-25.5L169%20259h-26.8zM78.7%20178l-8.3%2025.5H43.6l21.7%2015.8-8.3%2025.5L78.7%20229l21.7%2015.8-8.3-25.5%2021.7-15.8H87zm-55.2-55.7-8.3%2025.5h-26.8l21.7%2015.8L1.8%20189l21.7-15.8L45.2%20189l-8.3-25.5%2021.7-15.8H31.8z'/%3e%3c/g%3e%3c/svg%3e";
|
|
402
|
-
|
|
403
|
-
const __vite_glob_0_4 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='512'%20height='512'%20viewBox='0%200%20512%20512'%3e%3cmask%20id='a'%3e%3ccircle%20cx='256'%20cy='256'%20r='256'%20fill='%23fff'/%3e%3c/mask%3e%3cg%20mask='url(%23a)'%3e%3cpath%20fill='%23496e2d'%20d='M0%200h512v512H0z'/%3e%3ccircle%20cx='200.3'%20cy='256'%20r='111.3'%20fill='%23d80027'/%3e%3c/g%3e%3c/svg%3e";
|
|
404
|
-
|
|
405
|
-
const __vite_glob_0_5 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='512'%20height='512'%20viewBox='0%200%20512%20512'%3e%3cmask%20id='a'%3e%3ccircle%20cx='256'%20cy='256'%20r='256'%20fill='%23fff'/%3e%3c/mask%3e%3cg%20mask='url(%23a)'%3e%3cpath%20fill='%23496e2d'%20d='m0%20166.9%20258-31.7%20254%2031.7v178l-251.4%2041.3L0%20344.9z'/%3e%3cpath%20fill='%23eee'%20d='M0%200h512v166.9H0z'/%3e%3cpath%20fill='%23d80027'%20d='M0%20344.9h512V512H0z'/%3e%3c/g%3e%3c/svg%3e";
|
|
406
|
-
|
|
407
|
-
const __vite_glob_0_6 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='512'%20height='512'%20viewBox='0%200%20512%20512'%3e%3cmask%20id='a'%3e%3ccircle%20cx='256'%20cy='256'%20r='256'%20fill='%23fff'/%3e%3c/mask%3e%3cg%20mask='url(%23a)'%3e%3cpath%20fill='%23eee'%20d='M0%200h155.8l35%20254.6-35%20257.4H0z'/%3e%3cpath%20fill='%23a2001d'%20d='M155.8%200H512v345.1l-183%2037.4-173.2-37.4z'/%3e%3cpath%20fill='%236da544'%20d='M155.8%20345.1H512V512H155.8z'/%3e%3cpath%20fill='%23a2001d'%20d='M50%20.2%2022.3%2050l27.8%2050.4L77.9%2050zm55.8%200L78%2050l27.7%2050.4%2028-50.4zM50%20137.5l-27.7%2049.6%2027.8%2050.5%2027.7-50.5zm55.8%200L78%20187.1l27.7%2050.5%2028-50.5zM50%20274.7l-27.7%2049.7%2027.8%2050.4%2027.8-50.4zm55.8%200L78%20324.4l27.7%2050.4%2028-50.4zM50%20412l-27.7%2049.6%2027.8%2050.5%2027.7-50.5zm55.8%200L78%20461.6l27.7%2050.5%2028-50.5z'/%3e%3c/g%3e%3c/svg%3e";
|
|
408
|
-
|
|
409
|
-
const __vite_glob_0_7 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='512'%20height='512'%20viewBox='0%200%20512%20512'%3e%3cmask%20id='a'%3e%3ccircle%20cx='256'%20cy='256'%20r='256'%20fill='%23fff'/%3e%3c/mask%3e%3cg%20mask='url(%23a)'%3e%3cpath%20fill='%23d80027'%20d='M0%200h512v512H0z'/%3e%3cpath%20fill='%23ffda44'%20d='m140.1%20155.8%2022.1%2068h71.5l-57.8%2042.1%2022.1%2068-57.9-42-57.9%2042%2022.2-68-57.9-42.1H118zm163.4%20240.7-16.9-20.8-25%209.7%2014.5-22.5-16.9-20.9%2025.9%206.9%2014.6-22.5%201.4%2026.8%2026%206.9-25.1%209.6zm33.6-61%208-25.6-21.9-15.5%2026.8-.4%207.9-25.6%208.7%2025.4%2026.8-.3-21.5%2016%208.6%2025.4-21.9-15.5zm45.3-147.6L370.6%20212l19.2%2018.7-26.5-3.8-11.8%2024-4.6-26.4-26.6-3.8%2023.8-12.5-4.6-26.5%2019.2%2018.7zm-78.2-73-2%2026.7%2024.9%2010.1-26.1%206.4-1.9%2026.8-14.1-22.8-26.1%206.4%2017.3-20.5-14.2-22.7%2024.9%2010.1z'/%3e%3c/g%3e%3c/svg%3e";
|
|
410
|
-
|
|
411
|
-
const __vite_glob_0_8 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='512'%20height='512'%20viewBox='0%200%20512%20512'%3e%3cmask%20id='a'%3e%3ccircle%20cx='256'%20cy='256'%20r='256'%20fill='%23fff'/%3e%3c/mask%3e%3cg%20mask='url(%23a)'%3e%3cpath%20fill='%23eee'%20d='M0%200h512v256l-265%2045.2z'/%3e%3cpath%20fill='%23d80027'%20d='M210%20256h302v256H0z'/%3e%3cpath%20fill='%230052b4'%20d='M0%200v512l256-256L0%200z'/%3e%3c/g%3e%3c/svg%3e";
|
|
412
|
-
|
|
413
|
-
const __vite_glob_0_9 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='512'%20height='512'%20viewBox='0%200%20512%20512'%3e%3cmask%20id='a'%3e%3ccircle%20cx='256'%20cy='256'%20r='256'%20fill='%23fff'/%3e%3c/mask%3e%3cg%20mask='url(%23a)'%3e%3cpath%20fill='%23ffda44'%20d='m0%20345%20256.7-25.5L512%20345v167H0z'/%3e%3cpath%20fill='%23d80027'%20d='m0%20167%20255-23%20257%2023v178H0z'/%3e%3cpath%20fill='%23333'%20d='M0%200h512v167H0z'/%3e%3c/g%3e%3c/svg%3e";
|
|
414
|
-
|
|
415
|
-
const __vite_glob_0_10 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='512'%20height='512'%20viewBox='0%200%20512%20512'%3e%3cmask%20id='a'%3e%3ccircle%20cx='256'%20cy='256'%20r='256'%20fill='%23fff'/%3e%3c/mask%3e%3cg%20mask='url(%23a)'%3e%3cpath%20fill='%23d80027'%20d='M0%200h133.6l32.7%2020.3%2034-20.3H512v222.6L491.4%20256l20.6%2033.4V512H200.3l-31.7-20.4-35%2020.4H0V289.4l29.4-33L0%20222.7z'/%3e%3cpath%20fill='%23eee'%20d='M133.6%200v222.6H0v66.8h133.6V512h66.7V289.4H512v-66.8H200.3V0h-66.7z'/%3e%3c/g%3e%3c/svg%3e";
|
|
416
|
-
|
|
417
|
-
const __vite_glob_0_11 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='512'%20height='512'%20viewBox='0%200%20512%20512'%3e%3cmask%20id='a'%3e%3ccircle%20cx='256'%20cy='256'%20r='256'%20fill='%23fff'/%3e%3c/mask%3e%3cg%20mask='url(%23a)'%3e%3cpath%20fill='%23333'%20d='m0%20167%20254.6-36.6L512%20166.9v178l-254.6%2036.4L0%20344.9z'/%3e%3cpath%20fill='%230052b4'%20d='M0%200h512v166.9H0z'/%3e%3cpath%20fill='%23eee'%20d='M0%20344.9h512V512H0z'/%3e%3c/g%3e%3c/svg%3e";
|
|
418
|
-
|
|
419
|
-
const __vite_glob_0_12 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='512'%20height='512'%20viewBox='0%200%20512%20512'%3e%3cmask%20id='a'%3e%3ccircle%20cx='256'%20cy='256'%20r='256'%20fill='%23fff'/%3e%3c/mask%3e%3cg%20mask='url(%23a)'%3e%3cpath%20fill='%23ffda44'%20d='m0%20128%20256-32%20256%2032v256l-256%2032L0%20384Z'/%3e%3cpath%20fill='%23d80027'%20d='M0%200h512v128H0zm0%20384h512v128H0z'/%3e%3cg%20fill='%23eee'%3e%3cpath%20d='M144%20304h-16v-80h16zm128%200h16v-80h-16z'/%3e%3cellipse%20cx='208'%20cy='296'%20rx='48'%20ry='32'/%3e%3c/g%3e%3cg%20fill='%23d80027'%3e%3crect%20width='16'%20height='24'%20x='128'%20y='192'%20rx='8'/%3e%3crect%20width='16'%20height='24'%20x='272'%20y='192'%20rx='8'/%3e%3cpath%20d='M208%20272v24a24%2024%200%200%200%2024%2024%2024%2024%200%200%200%2024-24v-24h-24z'/%3e%3c/g%3e%3crect%20width='32'%20height='16'%20x='120'%20y='208'%20fill='%23ff9811'%20ry='8'/%3e%3crect%20width='32'%20height='16'%20x='264'%20y='208'%20fill='%23ff9811'%20ry='8'/%3e%3crect%20width='32'%20height='16'%20x='120'%20y='304'%20fill='%23ff9811'%20rx='8'/%3e%3crect%20width='32'%20height='16'%20x='264'%20y='304'%20fill='%23ff9811'%20rx='8'/%3e%3cpath%20fill='%23ff9811'%20d='M160%20272v24c0%208%204%2014%209%2019l5-6%205%2010a21%2021%200%200%200%2010%200l5-10%205%206c6-5%209-11%209-19v-24h-9l-5%208-5-8h-10l-5%208-5-8z'/%3e%3cpath%20d='M122%20252h172m-172%2024h28m116%200h28'/%3e%3cpath%20fill='%23d80027'%20d='M122%20248a4%204%200%200%200-4%204%204%204%200%200%200%204%204h172a4%204%200%200%200%204-4%204%204%200%200%200-4-4zm0%2024a4%204%200%200%200-4%204%204%204%200%200%200%204%204h28a4%204%200%200%200%204-4%204%204%200%200%200-4-4zm144%200a4%204%200%200%200-4%204%204%204%200%200%200%204%204h28a4%204%200%200%200%204-4%204%204%200%200%200-4-4z'/%3e%3cpath%20fill='%23eee'%20d='M196%20168c-7%200-13%205-15%2011l-5-1c-9%200-16%207-16%2016s7%2016%2016%2016c7%200%2013-4%2015-11a16%2016%200%200%200%2017-4%2016%2016%200%200%200%2017%204%2016%2016%200%201%200%2010-20%2016%2016%200%200%200-27-5c-3-4-7-6-12-6zm0%208c5%200%208%204%208%208%200%205-3%208-8%208-4%200-8-3-8-8%200-4%204-8%208-8zm24%200c5%200%208%204%208%208%200%205-3%208-8%208-4%200-8-3-8-8%200-4%204-8%208-8zm-44%2010%204%201%204%208c0%204-4%207-8%207s-8-3-8-8c0-4%204-8%208-8zm64%200c5%200%208%204%208%208%200%205-3%208-8%208-4%200-8-3-8-7l4-8z'/%3e%3cpath%20fill='none'%20d='M220%20284v12c0%207%205%2012%2012%2012s12-5%2012-12v-12z'/%3e%3cpath%20fill='%23ff9811'%20d='M200%20160h16v32h-16z'/%3e%3cpath%20fill='%23eee'%20d='M208%20224h48v48h-48z'/%3e%3cpath%20fill='%23d80027'%20d='m248%20208-8%208h-64l-8-8c0-13%2018-24%2040-24s40%2011%2040%2024zm-88%2016h48v48h-48z'/%3e%3crect%20width='20'%20height='32'%20x='222'%20y='232'%20fill='%23d80027'%20rx='10'%20ry='10'/%3e%3cpath%20fill='%23ff9811'%20d='M168%20232v8h8v16h-8v8h32v-8h-8v-16h8v-8zm8-16h64v8h-64z'/%3e%3cg%20fill='%23ffda44'%3e%3ccircle%20cx='186'%20cy='202'%20r='6'/%3e%3ccircle%20cx='208'%20cy='202'%20r='6'/%3e%3ccircle%20cx='230'%20cy='202'%20r='6'/%3e%3c/g%3e%3cpath%20fill='%23d80027'%20d='M169%20272v43a24%2024%200%200%200%2010%204v-47h-10zm20%200v47a24%2024%200%200%200%2010-4v-43h-10z'/%3e%3cg%20fill='%23338af3'%3e%3ccircle%20cx='208'%20cy='272'%20r='16'/%3e%3crect%20width='32'%20height='16'%20x='264'%20y='320'%20ry='8'/%3e%3crect%20width='32'%20height='16'%20x='120'%20y='320'%20ry='8'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e";
|
|
420
|
-
|
|
421
|
-
const __vite_glob_0_13 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='512'%20height='512'%20viewBox='0%200%20512%20512'%3e%3cmask%20id='a'%3e%3ccircle%20cx='256'%20cy='256'%20r='256'%20fill='%23fff'/%3e%3c/mask%3e%3cg%20mask='url(%23a)'%3e%3cpath%20fill='%23eee'%20d='M0%200h133.6l35.3%2016.7L200.3%200H512v222.6l-22.6%2031.7%2022.6%2035.1V512H200.3l-32-19.8-34.7%2019.8H0V289.4l22.1-33.3L0%20222.6z'/%3e%3cpath%20fill='%230052b4'%20d='M133.6%200v222.6H0v66.8h133.6V512h66.7V289.4H512v-66.8H200.3V0h-66.7z'/%3e%3c/g%3e%3c/svg%3e";
|
|
422
|
-
|
|
423
|
-
const __vite_glob_0_14 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='512'%20height='512'%20viewBox='0%200%20512%20512'%3e%3cmask%20id='a'%3e%3ccircle%20cx='256'%20cy='256'%20r='256'%20fill='%23fff'/%3e%3c/mask%3e%3cg%20mask='url(%23a)'%3e%3cpath%20fill='%23eee'%20d='M167%200h178l25.9%20252.3L345%20512H167l-29.8-253.4z'/%3e%3cpath%20fill='%230052b4'%20d='M0%200h167v512H0z'/%3e%3cpath%20fill='%23d80027'%20d='M345%200h167v512H345z'/%3e%3c/g%3e%3c/svg%3e";
|
|
424
|
-
|
|
425
|
-
const __vite_glob_0_15 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='512'%20height='512'%20viewBox='0%200%20512%20512'%3e%3cmask%20id='a'%3e%3ccircle%20cx='256'%20cy='256'%20r='256'%20fill='%23fff'/%3e%3c/mask%3e%3cg%20mask='url(%23a)'%3e%3cpath%20fill='%23eee'%20d='m0%200%208%2022-8%2023v23l32%2054-32%2054v32l32%2048-32%2048v32l32%2054-32%2054v68l22-8%2023%208h23l54-32%2054%2032h32l48-32%2048%2032h32l54-32%2054%2032h68l-8-22%208-23v-23l-32-54%2032-54v-32l-32-48%2032-48v-32l-32-54%2032-54V0l-22%208-23-8h-23l-54%2032-54-32h-32l-48%2032-48-32h-32l-54%2032L68%200H0z'/%3e%3cpath%20fill='%230052b4'%20d='M336%200v108L444%200Zm176%2068L404%20176h108zM0%20176h108L0%2068ZM68%200l108%20108V0Zm108%20512V404L68%20512ZM0%20444l108-108H0Zm512-108H404l108%20108Zm-68%20176L336%20404v108z'/%3e%3cpath%20fill='%23d80027'%20d='M0%200v45l131%20131h45L0%200zm208%200v208H0v96h208v208h96V304h208v-96H304V0h-96zm259%200L336%20131v45L512%200h-45zM176%20336%200%20512h45l131-131v-45zm160%200%20176%20176v-45L381%20336h-45z'/%3e%3c/g%3e%3c/svg%3e";
|
|
426
|
-
|
|
427
|
-
const __vite_glob_0_16 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='512'%20height='512'%20viewBox='0%200%20512%20512'%3e%3cmask%20id='a'%3e%3ccircle%20cx='256'%20cy='256'%20r='256'%20fill='%23fff'/%3e%3c/mask%3e%3cg%20mask='url(%23a)'%3e%3cpath%20fill='%23eee'%20d='M0%200h224l32%2032%2032-32h224v224l-32%2032%2032%2032v224H288l-32-32-32%2032H0V288l32-32-32-32Z'/%3e%3cpath%20fill='%23d80027'%20d='M224%200v224H0v64h224v224h64V288h224v-64H288V0h-64zm-96%2096v32H96v32h32v32h32v-32h32v-32h-32V96h-32zm224%200v32h-32v32h32v32h32v-32h32v-32h-32V96h-32zM128%20320v32H96v32h32v32h32v-32h32v-32h-32v-32h-32zm224%200v32h-32v32h32v32h32v-32h32v-32h-32v-32h-32z'/%3e%3c/g%3e%3c/svg%3e";
|
|
428
|
-
|
|
429
|
-
const __vite_glob_0_17 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='512'%20height='512'%20viewBox='0%200%20512%20512'%3e%3cmask%20id='a'%3e%3ccircle%20cx='256'%20cy='256'%20r='256'%20fill='%23fff'/%3e%3c/mask%3e%3cg%20mask='url(%23a)'%3e%3cpath%20fill='%230052b4'%20d='M0%200h99l29%2032%2028-32h356v57l-32%2028%2032%2029v57l-32%2028%2032%2029v57l-32%2028%2032%2028v57l-32%2029%2032%2028v57H0v-57l32-28-32-29v-56l32-29-32-28V171l32-29-32-28Z'/%3e%3cpath%20fill='%23eee'%20d='M99%200v114H0v57h99v114H0v57h512v-57H156V171h100v-57H156V0Zm157%2057v57h256V57Zm0%20114v57h256v-57ZM0%20398v57h512v-57z'/%3e%3c/g%3e%3c/svg%3e";
|
|
430
|
-
|
|
431
|
-
const __vite_glob_0_18 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='512'%20height='512'%20viewBox='0%200%20512%20512'%3e%3cmask%20id='a'%3e%3ccircle%20cx='256'%20cy='256'%20r='256'%20fill='%23fff'/%3e%3c/mask%3e%3cg%20mask='url(%23a)'%3e%3cpath%20fill='%23eee'%20d='m0%20167%20253.8-19.3L512%20167v178l-254.9%2032.3L0%20345z'/%3e%3cpath%20fill='%23d80027'%20d='M0%200h512v167H0z'/%3e%3cpath%20fill='%230052b4'%20d='M0%20345h512v167H0z'/%3e%3cpath%20fill='%23338af3'%20d='M322.8%20178h-44.5l7.4-55.7%2029.7-22.2%2029.6%2022.2V167zm-133.6%200h44.5l-7.4-55.7-29.7-22.2-29.6%2022.2V167z'/%3e%3cpath%20fill='%230052b4'%20d='M285.7%20178h-59.4v-55.7l29.7-22.2%2029.7%2022.2z'/%3e%3cpath%20fill='%23eee'%20d='M167%20167v122.3a89%2089%200%200%200%2035.8%2071.3l15.5-3.9%2019.7%2019.8a89.1%2089.1%200%200%200%2018%201.8%2089%2089%200%200%200%2017.9-1.8l22.4-18.7%2013%202.8a89%2089%200%200%200%2035.7-71.3V167z'/%3e%3cpath%20fill='%23d80027'%20d='M167%20167h35.6v35.5H167zm71.2%200h35.6v35.5h-35.6zm71.2%200H345v35.5h-35.6zm-106.8%2035.5h35.6v35.6h-35.6zm71.2%200h35.6v35.6h-35.6zM167%20238.1h35.6v35.6H167zm35.6%2035.6h35.6v35.6h-35.6zm35.6-35.6h35.6v35.6h-35.6zm71.2%200H345v35.6h-35.6zm-35.6%2035.6h35.6v35.6h-35.6zm-35.6%2035.6h35.6V345h-35.6zm-35.6%200h-33.3c3%2013.3%209%2025.4%2017.3%2035.6h16zM309.4%20345h16a88.8%2088.8%200%200%200%2017.3-35.6h-33.3zm-106.8%200v15.6a88.7%2088.7%200%200%200%2035.6%2016V345zm71.2%200v31.6a88.7%2088.7%200%200%200%2035.6-16V345z'/%3e%3c/g%3e%3c/svg%3e";
|
|
432
|
-
|
|
433
|
-
const __vite_glob_0_19 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='512'%20height='512'%20viewBox='0%200%20512%20512'%3e%3cmask%20id='a'%3e%3ccircle%20cx='256'%20cy='256'%20r='256'%20fill='%23fff'/%3e%3c/mask%3e%3cg%20mask='url(%23a)'%3e%3cpath%20fill='%23eee'%20d='m0%20167%20253.8-19.3L512%20167v178l-254.9%2032.3L0%20345z'/%3e%3cpath%20fill='%23d80027'%20d='M0%200h512v167H0z'/%3e%3cpath%20fill='%236da544'%20d='M0%20345h512v167H0z'/%3e%3c/g%3e%3c/svg%3e";
|
|
434
|
-
|
|
435
|
-
const __vite_glob_0_20 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='512'%20height='512'%20viewBox='0%200%20512%20512'%3e%3cmask%20id='a'%3e%3ccircle%20cx='256'%20cy='256'%20r='256'%20fill='%23fff'/%3e%3c/mask%3e%3cg%20mask='url(%23a)'%3e%3cpath%20fill='%23eee'%20d='m0%20256%20249.6-41.3L512%20256v256H0z'/%3e%3cpath%20fill='%23a2001d'%20d='M0%200h512v256H0z'/%3e%3c/g%3e%3c/svg%3e";
|
|
436
|
-
|
|
437
|
-
const __vite_glob_0_21 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='512'%20height='512'%20viewBox='0%200%20512%20512'%3e%3cmask%20id='a'%3e%3ccircle%20cx='256'%20cy='256'%20r='256'%20fill='%23fff'/%3e%3c/mask%3e%3cg%20mask='url(%23a)'%3e%3cpath%20fill='%23eee'%20d='M0%200h512v55.7l-25%2032.7%2025%2034v267.2l-26%2036%2026%2030.7V512H0v-55.7l24.8-34.1L0%20389.6V122.4l27.2-33.2L0%2055.7z'/%3e%3cpath%20fill='%230052b4'%20d='M0%2055.7v66.7h512V55.7zm0%20333.9v66.7h512v-66.7zm352.4-189.3H288l-32-55.6-32.1%2055.6h-64.3l32.1%2055.7-32%2055.7h64.2l32.1%2055.6%2032.1-55.6h64.3L320.3%20256l32-55.7zm-57%2055.7-19.7%2034.2h-39.4L216.5%20256l19.8-34.2h39.4l19.8%2034.2zM256%20187.6l7.3%2012.7h-14.6zm-59.2%2034.2h14.7l-7.4%2012.7zm0%2068.4%207.3-12.7%207.4%2012.7zm59.2%2034.2-7.3-12.7h14.6zm59.2-34.2h-14.7l7.4-12.7zm-14.7-68.4h14.7l-7.3%2012.7z'/%3e%3c/g%3e%3c/svg%3e";
|
|
438
|
-
|
|
439
|
-
const __vite_glob_0_22 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='512'%20height='512'%20viewBox='0%200%20512%20512'%3e%3cmask%20id='a'%3e%3ccircle%20cx='256'%20cy='256'%20r='256'%20fill='%23fff'/%3e%3c/mask%3e%3cg%20mask='url(%23a)'%3e%3cpath%20fill='%23eee'%20d='m0%20160%20256-32%20256%2032v192l-256%2032L0%20352z'/%3e%3cpath%20fill='%23ff9811'%20d='M0%200h512v160H0Z'/%3e%3cpath%20fill='%236da544'%20d='M0%20352h512v160H0Z'/%3e%3ccircle%20cx='256'%20cy='256'%20r='72'%20fill='%230052b4'/%3e%3ccircle%20cx='256'%20cy='256'%20r='48'%20fill='%23eee'/%3e%3ccircle%20cx='256'%20cy='256'%20r='24'%20fill='%230052b4'/%3e%3c/g%3e%3c/svg%3e";
|
|
440
|
-
|
|
441
|
-
const __vite_glob_0_23 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='512'%20height='512'%20viewBox='0%200%20512%20512'%3e%3cmask%20id='a'%3e%3ccircle%20cx='256'%20cy='256'%20r='256'%20fill='%23fff'/%3e%3c/mask%3e%3cg%20mask='url(%23a)'%3e%3cpath%20fill='%23eee'%20d='M0%20144.7%20258.8%2039.6%20512%20144.7v222.6L257%20493%200%20367.3z'/%3e%3cpath%20fill='%236da544'%20d='M0%200v144.7h105.6v-22.2h33.6v22.2h33.3v-22.2h33.6v22.2h33.3v-22.2H273v22.2h33v-22.2h33.6v22.2h33.2v-22.2h33.6v22.2H512V0z'/%3e%3cpath%20fill='%23d80027'%20d='M0%20367.3V512h512V367.3H406.4v22.4h-33.6v-22.4h-33.2v22.4H306v-22.4h-33v22.4h-33.6v-22.4h-33.3v22.4h-33.6v-22.4h-33.3v22.4h-33.6v-22.4zm339.1-178h-33.4c.2%203.7.4%207.4.4%2011.1%200%2024.8-6.2%2048.8-17%2066-3.3%205.2-9%2012.6-16.4%2017.6v-94.7h-33.4v94.8c-7.5-5-13-12.4-16.4-17.7-10.8-17-17-41-17-65.9%200-3.7.2-7.4.4-11H173a190%20190%200%200%200-.4%2011c0%2068.7%2036.7%20122.5%2083.5%20122.5s83.5-53.8%2083.5-122.5c0-3.7-.1-7.4-.4-11z'/%3e%3c/g%3e%3c/svg%3e";
|
|
442
|
-
|
|
443
|
-
const __vite_glob_0_24 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='512'%20height='512'%20viewBox='0%200%20512%20512'%3e%3cmask%20id='a'%3e%3ccircle%20cx='256'%20cy='256'%20r='256'%20fill='%23fff'/%3e%3c/mask%3e%3cg%20mask='url(%23a)'%3e%3cpath%20fill='%230052b4'%20d='M0%200h100.2l66.1%2053.5L233.7%200H512v189.3L466.3%20257l45.7%2065.8V512H233.7l-68-50.7-65.5%2050.7H0V322.8l51.4-68.5-51.4-65z'/%3e%3cpath%20fill='%23eee'%20d='M100.2%200v189.3H0v33.4l24.6%2033L0%20289.5v33.4h100.2V512h33.4l30.6-26.3%2036.1%2026.3h33.4V322.8H512v-33.4l-24.6-33.7%2024.6-33v-33.4H233.7V0h-33.4l-33.8%2025.3L133.6%200z'/%3e%3cpath%20fill='%23d80027'%20d='M133.6%200v222.7H0v66.7h133.6V512h66.7V289.4H512v-66.7H200.3V0z'/%3e%3c/g%3e%3c/svg%3e";
|
|
444
|
-
|
|
445
|
-
const __vite_glob_0_25 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='512'%20height='512'%20viewBox='0%200%20512%20512'%3e%3cmask%20id='a'%3e%3ccircle%20cx='256'%20cy='256'%20r='256'%20fill='%23fff'/%3e%3c/mask%3e%3cg%20mask='url(%23a)'%3e%3cpath%20fill='%23eee'%20d='M167%200h178l25.9%20252.3L345%20512H167l-29.8-253.4z'/%3e%3cpath%20fill='%236da544'%20d='M0%200h167v512H0z'/%3e%3cpath%20fill='%23d80027'%20d='M345%200h167v512H345z'/%3e%3c/g%3e%3c/svg%3e";
|
|
446
|
-
|
|
447
|
-
const __vite_glob_0_26 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='512'%20height='512'%20viewBox='0%200%20512%20512'%3e%3cmask%20id='a'%3e%3ccircle%20cx='256'%20cy='256'%20r='256'%20fill='%23fff'/%3e%3c/mask%3e%3cg%20mask='url(%23a)'%3e%3cpath%20fill='%23eee'%20d='M0%200h512v512H0z'/%3e%3ccircle%20cx='256'%20cy='256'%20r='111.3'%20fill='%23d80027'/%3e%3c/g%3e%3c/svg%3e";
|
|
448
|
-
|
|
449
|
-
const __vite_glob_0_27 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='512'%20height='512'%20viewBox='0%200%20512%20512'%3e%3cmask%20id='a'%3e%3ccircle%20cx='256'%20cy='256'%20r='256'%20fill='%23fff'/%3e%3c/mask%3e%3cg%20mask='url(%23a)'%3e%3cpath%20fill='%23d80027'%20d='M0%200h512v512H0z'/%3e%3cpath%20fill='%23ffda44'%20d='M381.2%20256%20330%20280l27.3%2049.6-55.6-10.6-7%2056.1-38.7-41.3-38.7%2041.3-7-56.1-55.6%2010.6%2027.3-49.5-51.2-24.1%2051.2-24-27.3-49.6%2055.6%2010.6%207-56.1%2038.7%2041.3%2038.7-41.3%207%2056.1%2055.6-10.6-27.3%2049.5z'/%3e%3ccircle%20cx='256'%20cy='256'%20r='77.9'%20fill='%23d80027'/%3e%3cpath%20fill='%23ffda44'%20d='M217%20256c-1.8%200-3.7.1-5.5.3a44.3%2044.3%200%200%200%2010.4%2028.3%2078%2078%200%200%201%2015-24.9A55.4%2055.4%200%200%200%20217%20256zm24%2042a44.4%2044.4%200%200%200%2030%200c-2.6-10-7.8-19-15-26-7.2%207-12.4%2016-15%2026zm53.6-64.3a44.5%2044.5%200%200%200-77.2%200%2077.4%2077.4%200%200%201%2038.6%2010.5%2077.4%2077.4%200%200%201%2038.6-10.5zm-19.6%2026a78%2078%200%200%201%2015.1%2025%2044.3%2044.3%200%200%200%2010.4-28.4%2055.8%2055.8%200%200%200-5.5-.3%2055.3%2055.3%200%200%200-20%203.7z'/%3e%3c/g%3e%3c/svg%3e";
|
|
450
|
-
|
|
451
|
-
const __vite_glob_0_28 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='512'%20height='512'%20viewBox='0%200%20512%20512'%3e%3cmask%20id='a'%3e%3ccircle%20cx='256'%20cy='256'%20r='256'%20fill='%23fff'/%3e%3c/mask%3e%3cg%20mask='url(%23a)'%3e%3cpath%20fill='%230052b4'%20d='M0%200h512v133.7l-39%20121.6%2039%20123.2V512H0V378.5L34.2%20255%200%20133.7z'/%3e%3cpath%20fill='%23d80027'%20d='M0%20133.7h512v244.8H0z'/%3e%3cpath%20fill='%23eee'%20d='M345%20306.1v-33.3h-22.2v-44.5L300.5%20206l-22.2%2022.3v-44.5L256%20161.5l-22.3%2022.3v44.5L211.5%20206l-22.3%2022.3v44.5H167v33.4h-22.3v33.4h222.6v-33.5z'/%3e%3c/g%3e%3c/svg%3e";
|
|
452
|
-
|
|
453
|
-
const __vite_glob_0_29 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='512'%20height='512'%20viewBox='0%200%20512%20512'%3e%3cmask%20id='a'%3e%3ccircle%20cx='256'%20cy='256'%20r='256'%20fill='%23fff'/%3e%3c/mask%3e%3cg%20mask='url(%23a)'%3e%3cpath%20fill='%23eee'%20d='M0%200h512v512H0Z'/%3e%3cpath%20fill='%23333'%20d='m350%20335%2024-24%2016%2016-24%2023zm-39%2039%2024-24%2015%2016-23%2024zm87%208%2023-24%2016%2016-24%2024zm-40%2039%2024-23%2016%2015-24%2024Zm16-63%2024-23%2015%2015-23%2024zm-39%2040%2023-24%2016%2016-24%2023zm63-221-63-63%2015-15%2064%2063zm-63-15-24-24%2016-16%2023%2024zm39%2039-24-24%2016-15%2024%2023zm8-87-24-23%2016-16%2024%2024Zm39%2040-23-24%2015-16%2024%2024ZM91%20358l63%2063-16%2016-63-63zm63%2016%2023%2024-15%2015-24-23zm-40-39%2024%2023-16%2016-23-24zm24-24%2063%2063-16%2016-63-63zm16-220-63%2063-16-16%2063-63zm23%2023-63%2063-15-16%2063-63zm24%2024-63%2063-16-16%2063-63z'/%3e%3cpath%20fill='%23d80027'%20d='M319%20319%20193%20193a89%2089%200%201%201%20126%20126z'/%3e%3cpath%20fill='%230052b4'%20d='M319%20319a89%2089%200%201%201-126-126z'/%3e%3ccircle%20cx='224.5'%20cy='224.5'%20r='44.5'%20fill='%23d80027'/%3e%3ccircle%20cx='287.5'%20cy='287.5'%20r='44.5'%20fill='%230052b4'/%3e%3c/g%3e%3c/svg%3e";
|
|
454
|
-
|
|
455
|
-
const __vite_glob_0_30 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='512'%20height='512'%20viewBox='0%200%20512%20512'%3e%3cmask%20id='a'%3e%3ccircle%20cx='256'%20cy='256'%20r='256'%20fill='%23fff'/%3e%3c/mask%3e%3cg%20mask='url(%23a)'%3e%3cpath%20fill='%23338af3'%20d='M0%200h512v512H0z'/%3e%3cpath%20fill='%23ffda44'%20d='M400.7%20258.8H111.3c0%2020%2017.4%2036.2%2037.4%2036.2h-1.2c0%2020%2016.2%2036.1%2036.2%2036.1%200%2020%2016.1%2036.2%2036.1%2036.2h72.4c20%200%2036.1-16.2%2036.1-36.2%2020%200%2036.2-16.2%2036.2-36.1h-1.2c20%200%2037.4-16.2%2037.4-36.2z'/%3e%3cpath%20fill='%23338af3'%20d='M356.2%20211.5a100.2%20100.2%200%200%201-200.4%200'/%3e%3cpath%20fill='%23ffda44'%20d='m332.5%20211.5-31.3%2014.7%2016.7%2030.3-34-6.5-4.3%2034.3L256%20259l-23.6%2025.3L228%20250l-34%206.5%2016.6-30.3-31.2-14.7%2031.2-14.7-16.6-30.3%2034%206.5%204.3-34.3%2023.6%2025.2%2023.6-25.2L284%20173l34-6.5-16.6%2030.3z'/%3e%3c/g%3e%3c/svg%3e";
|
|
456
|
-
|
|
457
|
-
const __vite_glob_0_31 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='512'%20height='512'%20viewBox='0%200%20512%20512'%3e%3cmask%20id='a'%3e%3ccircle%20cx='256'%20cy='256'%20r='256'%20fill='%23fff'/%3e%3c/mask%3e%3cg%20mask='url(%23a)'%3e%3cpath%20fill='%23ff9811'%20d='M81.4%2027.2h135.2v456.5H81.4z'/%3e%3cpath%20fill='%236da544'%20d='m0%2044.5%20100.2-22v463L0%20467.5z'/%3e%3cpath%20fill='%23a2001d'%20d='m218.6%2026.5%20293.4%2018v93.2l-18.6%20106.2%2018.6%2097.4v126.2l-293.4%2018z'/%3e%3cpath%20fill='%23ffda44'%20d='M0%200v44.5h200.3v423H0V512h512v-44.5H233.7v-423H512V0z'/%3e%3cpath%20fill='%23ffda44'%20d='M300.5%2094.6c-18.4%200-33.4%2015-33.4%2033.4v144.6a33%2033%200%200%200%2011.2%2025v53h22.2v-27.8h100.2v44.5h-22.3v22.3H423V345l20.4-22.2h48.2a72.9%2072.9%200%200%200%2020.4%2018.5V137.7a66%2066%200%200%200-22.5%2013.1%2067.8%2067.8%200%200%200-13.2%2082.9c-21.3-.1-41%20.2-53.3%200V167c0-11.2-16.7-22.3-16.7-22.3s-16.7%2011.1-16.7%2022.3h-66.8v66.7h33.4v33.4c0%207.1%201.4%2014.1%204.1%2020.7L345%20300.6h-44.5v-206z'/%3e%3c/g%3e%3c/svg%3e";
|
|
458
|
-
|
|
459
|
-
const __vite_glob_0_32 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='512'%20height='512'%20viewBox='0%200%20512%20512'%3e%3cmask%20id='a'%3e%3ccircle%20cx='256'%20cy='256'%20r='256'%20fill='%23fff'/%3e%3c/mask%3e%3cg%20mask='url(%23a)'%3e%3cpath%20fill='%236da544'%20d='m0%20167%20253.8-19.3L512%20167v178l-254.9%2032.3L0%20345z'/%3e%3cpath%20fill='%23ffda44'%20d='M0%200h512v167H0z'/%3e%3cpath%20fill='%23d80027'%20d='M0%20345h512v167H0z'/%3e%3c/g%3e%3c/svg%3e";
|
|
460
|
-
|
|
461
|
-
const __vite_glob_0_33 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='512'%20height='512'%20viewBox='0%200%20512%20512'%3e%3cmask%20id='a'%3e%3ccircle%20cx='256'%20cy='256'%20r='256'%20fill='%23fff'/%3e%3c/mask%3e%3cg%20mask='url(%23a)'%3e%3cpath%20fill='%23a2001d'%20d='M0%200h512v189.2l-38.5%2070%2038.5%2063.6V512H0V322.8l39.4-63L0%20189.1z'/%3e%3cpath%20fill='%23eee'%20d='M0%20189.2h512v133.6H0z'/%3e%3c/g%3e%3c/svg%3e";
|
|
462
|
-
|
|
463
|
-
const __vite_glob_0_34 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='512'%20height='512'%20viewBox='0%200%20512%20512'%3e%3cmask%20id='a'%3e%3ccircle%20cx='256'%20cy='256'%20r='256'%20fill='%23fff'/%3e%3c/mask%3e%3cg%20mask='url(%23a)'%3e%3cpath%20fill='%23ffda44'%20d='M0%200h68.2l86%2033.6L216.5%200h78.8l61.2%2034.8L443.8%200H512v68.3l-31.4%2088%2031.4%2060.2v78.8L477.4%20356l34.6%2087.8V512h-68.2l-77-37.3-71.3%2037.3h-78.8l-61-39.7L68.2%20512H0v-68l40.3-88.2L0%20295.5v-78.8L40.3%20157%200%2068.2z'/%3e%3cpath%20fill='%23d80027'%20d='M295.5%20512h148.3L256%20256zm-79-512H68.2L256%20256zm.2%20512L256%20256%2068.2%20512zM0%20216.7%20256%20256%200%2068.2zm0%20227.2L256%20256%200%20295.5zM512%2068.3%20256%20256l256-39.5zM443.8%200H295.3L256%20256zM512%20443.8V295.3L256%20256z'/%3e%3ccircle%20cx='256'%20cy='256'%20r='89'%20fill='%23d80027'/%3e%3ccircle%20cx='256'%20cy='256'%20r='66.8'%20fill='%23ffda44'/%3e%3c/g%3e%3c/svg%3e";
|
|
464
|
-
|
|
465
|
-
const __vite_glob_0_35 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='512'%20height='512'%20viewBox='0%200%20512%20512'%3e%3cmask%20id='a'%3e%3ccircle%20cx='256'%20cy='256'%20r='256'%20fill='%23fff'/%3e%3c/mask%3e%3cg%20mask='url(%23a)'%3e%3cpath%20fill='%23a2001d'%20d='M0%200h167l84.9%2045L345%200h167v512H345l-87.7-48.1L167%20512H0z'/%3e%3cpath%20fill='%230052b4'%20d='M167%200h178v512H167z'/%3e%3cg%20fill='%23ffda44'%3e%3cpath%20d='M122.4%20256h22.3v89h-22.3zm-89%200h22.3v89H33.4z'/%3e%3ccircle%20cx='89'%20cy='289.4'%20r='22.3'/%3e%3ccircle%20cx='89'%20cy='211.5'%20r='11.1'/%3e%3cpath%20d='M66.8%20322.8h44.5V345H66.8zm0-89h44.5V256H66.8zM89%20133.5l8%2024.2h25.4l-20.6%2015%207.9%2024.3L89%20182l-20.6%2015%207.9-24.3-20.6-15h25.5z'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e";
|
|
466
|
-
|
|
467
|
-
const __vite_glob_0_36 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='512'%20height='512'%20viewBox='0%200%20512%20512'%3e%3cmask%20id='a'%3e%3ccircle%20cx='256'%20cy='256'%20r='256'%20fill='%23fff'/%3e%3c/mask%3e%3cg%20mask='url(%23a)'%3e%3cpath%20fill='%23eee'%20d='M0%20256%20256%200h256v55.7l-19.5%2033%2019.5%2033.7v66.8l-22.1%2037.7L512%20256v66.8l-20.2%2038.5%2020.2%2028.3v66.7l-254.5%2028.2L0%20456.3v-66.7l26-35.1-26-31.7z'/%3e%3cpath%20fill='%23d80027'%20d='M256%20256h256v-66.8H222.9zm-33.1-133.6H512V55.7H222.9zM512%20512v-55.7H0V512zM0%20389.6h512v-66.8H0z'/%3e%3cpath%20fill='%230052b4'%20d='M0%200h256v256H0z'/%3e%3cg%20fill='%23ffda44'%3e%3cpath%20d='M170.2%20219.1a63.3%2063.3%200%201%201%2030.1-119%2078%2078%200%201%200%200%20111.4%2063%2063%200%200%201-30%207.6z'/%3e%3cpath%20d='m188%20111.3%2011.3%2023.5%2025.4-5.9-11.4%2023.5%2020.4%2016.2-25.4%205.7.1%2026-20.3-16.2-20.4%2016.2.1-26-25.4-5.7%2020.4-16.2-11.4-23.5%2025.4%206z'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e";
|
|
468
|
-
|
|
469
|
-
const __vite_glob_0_37 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='512'%20height='512'%20viewBox='0%200%20512%20512'%3e%3cmask%20id='a'%3e%3ccircle%20cx='256'%20cy='256'%20r='256'%20fill='%23fff'/%3e%3c/mask%3e%3cg%20mask='url(%23a)'%3e%3cpath%20fill='%236da544'%20d='M0%200v512h160l96-64%2096%2064h160V0H352l-96%2064-96-64Z'/%3e%3cpath%20fill='%23eee'%20d='M160%200h192v512H160Z'/%3e%3c/g%3e%3c/svg%3e";
|
|
470
|
-
|
|
471
|
-
const __vite_glob_0_38 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='512'%20height='512'%20viewBox='0%200%20512%20512'%3e%3cmask%20id='a'%3e%3ccircle%20cx='256'%20cy='256'%20r='256'%20fill='%23fff'/%3e%3c/mask%3e%3cg%20mask='url(%23a)'%3e%3cpath%20fill='%23eee'%20d='m0%20167%20253.8-19.3L512%20167v178l-254.9%2032.3L0%20345z'/%3e%3cpath%20fill='%23a2001d'%20d='M0%200h512v167H0z'/%3e%3cpath%20fill='%230052b4'%20d='M0%20345h512v167H0z'/%3e%3c/g%3e%3c/svg%3e";
|
|
472
|
-
|
|
473
|
-
const __vite_glob_0_39 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='512'%20height='512'%20viewBox='0%200%20512%20512'%3e%3cmask%20id='a'%3e%3ccircle%20cx='256'%20cy='256'%20r='256'%20fill='%23fff'/%3e%3c/mask%3e%3cg%20mask='url(%23a)'%3e%3cpath%20fill='%23d80027'%20d='M0%200h100.2l66.1%2053.5L233.7%200H512v189.3L466.3%20257l45.7%2065.8V512H233.7l-68-50.7-65.5%2050.7H0V322.8l51.4-68.5-51.4-65z'/%3e%3cpath%20fill='%23eee'%20d='M100.2%200v189.3H0v33.4l24.6%2033L0%20289.5v33.4h100.2V512h33.4l30.6-26.3%2036.1%2026.3h33.4V322.8H512v-33.4l-24.6-33.7%2024.6-33v-33.4H233.7V0h-33.4l-33.8%2025.3L133.6%200z'/%3e%3cpath%20fill='%230052b4'%20d='M133.6%200v222.7H0v66.7h133.6V512h66.7V289.4H512v-66.7H200.3V0z'/%3e%3c/g%3e%3c/svg%3e";
|
|
474
|
-
|
|
475
|
-
const __vite_glob_0_40 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='512'%20height='512'%20viewBox='0%200%20512%20512'%3e%3cmask%20id='a'%3e%3ccircle%20cx='256'%20cy='256'%20r='256'%20fill='%23fff'/%3e%3c/mask%3e%3cg%20mask='url(%23a)'%3e%3cpath%20fill='%23eee'%20d='M228.4%200H512v512h-27.4L159.4%20258.5z'/%3e%3cpath%20fill='%230052b4'%20d='M510.5%20283.8%20228.5%200h-39.3l-70.9%20253.8L445.2%20512h39.4L256.4%20283.8h254z'/%3e%3cpath%20fill='%23d80027'%20d='M445.2%20256%20189.2%200H0v512h445.2l-256-256z'/%3e%3cpath%20fill='%23eee'%20d='m243.5%20378-31.3-14.7L229%20333l-34%206.5-4.3-34.3-23.6%2025.2-23.7-25.2-4.3%2034.3-34-6.5%2016.7%2030.3L90.4%20378l31.3%2014.7-16.6%2030.3%2034-6.5%204.2%2034.3%2023.7-25.2%2023.6%2025.2%204.3-34.3%2034%206.5-16.7-30.3zM149.8%2089l-3.2%2025-24.7-4.7%2012.1%2022-22.7%2010.7h-11.1a66.8%2066.8%200%200%200%20133.5%200h-11.1L200%20131.3l12-22-24.6%204.7-3.1-25-17.2%2018.4z'/%3e%3c/g%3e%3c/svg%3e";
|
|
476
|
-
|
|
477
|
-
const __vite_glob_0_41 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='512'%20height='512'%20viewBox='0%200%20512%20512'%3e%3cmask%20id='a'%3e%3ccircle%20cx='256'%20cy='256'%20r='256'%20fill='%23fff'/%3e%3c/mask%3e%3cg%20mask='url(%23a)'%3e%3cpath%20fill='%230052b4'%20d='M0%200h512v256l-265%2045.2z'/%3e%3cpath%20fill='%23d80027'%20d='M210%20256h302v256H0z'/%3e%3cpath%20fill='%23eee'%20d='M0%200v512l256-256z'/%3e%3cpath%20fill='%23ffda44'%20d='M175.3%20256%20144%20241.3l16.7-30.3-34%206.5-4.3-34.3-23.6%2025.2L75%20183.2l-4.3%2034.3-34-6.5%2016.7%2030.3L22.3%20256l31.2%2014.7L37%20301l34-6.5%204.2%2034.3%2023.7-25.2%2023.6%2025.2%204.3-34.3%2034%206.5-16.7-30.3zm-107-155.8%2010.4%2014.5%2017-5.4-10.6%2014.4%2010.4%2014.5-17-5.6L68%20147l.2-17.9-17-5.6%2017-5.4zm0%20264.8%2010.4%2014.6%2017-5.4-10.6%2014.3%2010.4%2014.6-17-5.7L68%20411.8l.2-17.9-17-5.6%2017-5.4zm148.4-132.4L206.3%20247l-17-5.4%2010.5%2014.4-10.4%2014.6%2017-5.7%2010.6%2014.4-.1-17.9%2017-5.6-17.1-5.4z'/%3e%3c/g%3e%3c/svg%3e";
|
|
478
|
-
|
|
479
|
-
const __vite_glob_0_42 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='512'%20height='512'%20viewBox='0%200%20512%20512'%3e%3cmask%20id='a'%3e%3ccircle%20cx='256'%20cy='256'%20r='256'%20fill='%23fff'/%3e%3c/mask%3e%3cg%20mask='url(%23a)'%3e%3cpath%20fill='%23eee'%20d='M0%200h133.6l50.2%20252.5L133.6%20512H0z'/%3e%3cpath%20fill='%23496e2d'%20d='M133.6%200H512v512H133.6z'/%3e%3cpath%20fill='%23eee'%20d='M365.5%20298.3A72.3%2072.3%200%201%201%20313.7%20168a89%2089%200%201%200%2074.6%20103.2%2072%2072%200%200%201-22.8%2027.2zM364%20167l18.2%2019.6%2024.3-11.3-13%2023.5%2018.2%2019.6-26.3-5.1-13%2023.4-3.3-26.7-26.1-5%2024.4-11.3z'/%3e%3c/g%3e%3c/svg%3e";
|
|
480
|
-
|
|
481
|
-
const __vite_glob_0_43 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='512'%20height='512'%20viewBox='0%200%20512%20512'%3e%3cmask%20id='a'%3e%3ccircle%20cx='256'%20cy='256'%20r='256'%20fill='%23fff'/%3e%3c/mask%3e%3cg%20mask='url(%23a)'%3e%3cpath%20fill='%23d80027'%20d='m0%20256%20256.4-44.3L512%20256v256H0z'/%3e%3cpath%20fill='%23eee'%20d='M0%200h512v256H0z'/%3e%3c/g%3e%3c/svg%3e";
|
|
482
|
-
|
|
483
|
-
const __vite_glob_0_44 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='512'%20height='512'%20viewBox='0%200%20512%20512'%3e%3cmask%20id='a'%3e%3ccircle%20cx='256'%20cy='256'%20r='256'%20fill='%23fff'/%3e%3c/mask%3e%3cg%20mask='url(%23a)'%3e%3cpath%20fill='%236da544'%20d='M0%20512h167l37.9-260.3L167%200H0z'/%3e%3cpath%20fill='%23d80027'%20d='M512%200H167v512h345z'/%3e%3ccircle%20cx='167'%20cy='256'%20r='89'%20fill='%23ffda44'/%3e%3cpath%20fill='%23d80027'%20d='M116.9%20211.5V267a50%2050%200%201%200%20100.1%200v-55.6H117z'/%3e%3cpath%20fill='%23eee'%20d='M167%20283.8c-9.2%200-16.7-7.5-16.7-16.7V245h33.4v22c0%209.2-7.5%2016.7-16.7%2016.7z'/%3e%3c/g%3e%3c/svg%3e";
|
|
484
|
-
|
|
485
|
-
const __vite_glob_0_45 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='512'%20height='512'%20viewBox='0%200%20512%20512'%3e%3cmask%20id='a'%3e%3ccircle%20cx='256'%20cy='256'%20r='256'%20fill='%23fff'/%3e%3c/mask%3e%3cg%20mask='url(%23a)'%3e%3cpath%20fill='%23ffda44'%20d='M167%200h178l25.9%20252.3L345%20512H167l-29.8-253.4z'/%3e%3cpath%20fill='%230052b4'%20d='M0%200h167v512H0z'/%3e%3cpath%20fill='%23d80027'%20d='M345%200h167v512H345z'/%3e%3c/g%3e%3c/svg%3e";
|
|
486
|
-
|
|
487
|
-
const __vite_glob_0_46 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='512'%20height='512'%20viewBox='0%200%20512%20512'%3e%3cmask%20id='a'%3e%3ccircle%20cx='256'%20cy='256'%20r='256'%20fill='%23fff'/%3e%3c/mask%3e%3cg%20mask='url(%23a)'%3e%3cpath%20fill='%230052b4'%20d='m0%20167%20253.8-19.3L512%20167v178l-254.9%2032.3L0%20345z'/%3e%3cpath%20fill='%23d80027'%20d='M0%200h512v167H0z'/%3e%3cpath%20fill='%23eee'%20d='M0%20345h512v167H0z'/%3e%3cpath%20fill='%23d80027'%20d='M66.2%20144.7v127.7c0%2072.6%2094.9%2095%2094.9%2095s94.9-22.4%2094.9-95V144.7z'/%3e%3cpath%20fill='%23ffda44'%20d='M105.4%20167h111.4v-44.6l-22.3%2011.2-33.4-33.4-33.4%2033.4-22.3-11.2zm128.3%20123.2-72.3-72.4L89%20290.2l23.7%2023.6%2048.7-48.7%2048.7%2048.7z'/%3e%3cpath%20fill='%23eee'%20d='M233.7%20222.6H200a22.1%2022.1%200%200%200%203-11.1%2022.3%2022.3%200%200%200-42-10.5%2022.3%2022.3%200%200%200-41.9%2010.5%2022.1%2022.1%200%200%200%203%2011.1H89a23%2023%200%200%200%2023%2022.3h-.7c0%2012.3%2010%2022.2%2022.3%2022.2%200%2011%207.8%2020%2018.1%2021.9l-17.5%2039.6a72.1%2072.1%200%200%200%2027.2%205.3%2072.1%2072.1%200%200%200%2027.2-5.3L171.1%20289c10.3-2%2018.1-11%2018.1-21.9%2012.3%200%2022.3-10%2022.3-22.2h-.8a23%2023%200%200%200%2023-22.3z'/%3e%3c/g%3e%3c/svg%3e";
|
|
488
|
-
|
|
489
|
-
const __vite_glob_0_47 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='512'%20height='512'%20viewBox='0%200%20512%20512'%3e%3cmask%20id='a'%3e%3ccircle%20cx='256'%20cy='256'%20r='256'%20fill='%23fff'/%3e%3c/mask%3e%3cg%20mask='url(%23a)'%3e%3cpath%20fill='%230052b4'%20d='M512%20170v172l-256%2032L0%20342V170l256-32z'/%3e%3cpath%20fill='%23eee'%20d='M512%200v170H0V0Z'/%3e%3cpath%20fill='%23d80027'%20d='M512%20342v170H0V342Z'/%3e%3c/g%3e%3c/svg%3e";
|
|
490
|
-
|
|
491
|
-
const __vite_glob_0_48 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='512'%20height='512'%20viewBox='0%200%20512%20512'%3e%3cmask%20id='a'%3e%3ccircle%20cx='256'%20cy='256'%20r='256'%20fill='%23fff'/%3e%3c/mask%3e%3cg%20mask='url(%23a)'%3e%3cpath%20fill='%23496e2d'%20d='M0%200h512v512H0z'/%3e%3cg%20fill='%23eee'%3e%3cpath%20d='M144.7%20306c0%2018.5%2015%2033.5%2033.4%2033.5h100.2a27.8%2027.8%200%200%200%2027.8%2027.8h33.4a27.8%2027.8%200%200%200%2027.8-27.8V306zm225.4-161.3v78c0%2012.2-10%2022.2-22.3%2022.2v33.4c30.7%200%2055.7-25%2055.7-55.7v-77.9H370zm-239.3%2078c0%2012.2-10%2022.2-22.3%2022.2v33.4c30.7%200%2055.7-25%2055.7-55.7v-77.9h-33.4z'/%3e%3cpath%20d='M320%20144.7h33.4v78H320zm-50%2044.5a5.6%205.6%200%200%201-11.2%200v-44.5h-33.4v44.5a5.6%205.6%200%200%201-11.1%200v-44.5h-33.4v44.5a39%2039%200%200%200%2039%2039%2038.7%2038.7%200%200%200%2022.2-7%2038.7%2038.7%200%200%200%2022.2%207c1.7%200%203.4-.1%205-.3a22.3%2022.3%200%200%201-21.6%2017v33.4c30.6%200%2055.6-25%2055.6-55.7v-77.9H270z'/%3e%3cpath%20d='M180.9%20244.9h50v33.4h-50z'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e";
|
|
492
|
-
|
|
493
|
-
const __vite_glob_0_49 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='512'%20height='512'%20viewBox='0%200%20512%20512'%3e%3cmask%20id='a'%3e%3ccircle%20cx='256'%20cy='256'%20r='256'%20fill='%23fff'/%3e%3c/mask%3e%3cg%20mask='url(%23a)'%3e%3cpath%20fill='%230052b4'%20d='M0%200h133.6l35.3%2016.7L200.3%200H512v222.6l-22.6%2031.7%2022.6%2035.1V512H200.3l-32-19.8-34.7%2019.8H0V289.4l22.1-33.3L0%20222.6z'/%3e%3cpath%20fill='%23ffda44'%20d='M133.6%200v222.6H0v66.8h133.6V512h66.7V289.4H512v-66.8H200.3V0z'/%3e%3c/g%3e%3c/svg%3e";
|
|
494
|
-
|
|
495
|
-
const __vite_glob_0_50 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='512'%20height='512'%20viewBox='0%200%20512%20512'%3e%3cmask%20id='a'%3e%3ccircle%20cx='256'%20cy='256'%20r='256'%20fill='%23fff'/%3e%3c/mask%3e%3cg%20mask='url(%23a)'%3e%3cpath%20fill='%230052b4'%20d='m0%20167%20253.8-19.3L512%20167v178l-254.9%2032.3L0%20345z'/%3e%3cpath%20fill='%23eee'%20d='M0%200h512v167H0z'/%3e%3cpath%20fill='%23d80027'%20d='M0%20345h512v167H0z'/%3e%3cpath%20fill='%230052b4'%20d='M222.7%20167v-66.8H89V167l67%2082.6z'/%3e%3cpath%20fill='%23eee'%20d='M89%20167v22.2c0%2051.1%2066.8%2066.8%2066.8%2066.8s66.8-15.7%2066.8-66.8V167l-22.3%2022.2-44.5-33.4-44.5%2033.4z'/%3e%3c/g%3e%3c/svg%3e";
|
|
496
|
-
|
|
497
|
-
const __vite_glob_0_51 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='512'%20height='512'%20viewBox='0%200%20512%20512'%3e%3cmask%20id='a'%3e%3ccircle%20cx='256'%20cy='256'%20r='256'%20fill='%23fff'/%3e%3c/mask%3e%3cg%20mask='url(%23a)'%3e%3cpath%20fill='%230052b4'%20d='m0%20160%20256-32%20256%2032v192l-256%2032L0%20352z'/%3e%3cpath%20fill='%23eee'%20d='M0%200h512v160H0z'/%3e%3cpath%20fill='%23d80027'%20d='M0%20352h512v160H0z'/%3e%3cpath%20fill='%23eee'%20d='M64%2063v217c0%20104%20144%20137%20144%20137s144-33%20144-137V63z'/%3e%3cpath%20fill='%23d80027'%20d='M96%2095v185a83%2078%200%200%200%209%2034h206a83%2077%200%200%200%209-34V95z'/%3e%3cpath%20fill='%23eee'%20d='M288%20224h-64v-32h32v-32h-32v-32h-32v32h-32v32h32v32h-64v32h64v32h32v-32h64z'/%3e%3cpath%20fill='%230052b4'%20d='M152%20359a247%20231%200%200%200%2056%2024c12-3%2034-11%2056-24a123%20115%200%200%200%2047-45%2060%2056%200%200%200-34-10l-14%202a60%2056%200%200%200-110%200%2060%2056%200%200%200-14-2c-12%200-24%204-34%2010a123%20115%200%200%200%2047%2045z'/%3e%3c/g%3e%3c/svg%3e";
|
|
498
|
-
|
|
499
|
-
const __vite_glob_0_52 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='512'%20height='512'%20viewBox='0%200%20512%20512'%3e%3cmask%20id='a'%3e%3ccircle%20cx='256'%20cy='256'%20r='256'%20fill='%23fff'/%3e%3c/mask%3e%3cg%20mask='url(%23a)'%3e%3cpath%20fill='%23d80027'%20d='M0%200h512v89l-79.2%20163.7L512%20423v89H0v-89l82.7-169.6L0%2089z'/%3e%3cpath%20fill='%23eee'%20d='M0%2089h512v78l-42.6%2091.2L512%20345v78H0v-78l40-92.5L0%20167z'/%3e%3cpath%20fill='%230052b4'%20d='M0%20167h512v178H0z'/%3e%3c/g%3e%3c/svg%3e";
|
|
500
|
-
|
|
501
|
-
const __vite_glob_0_53 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='512'%20height='512'%20viewBox='0%200%20512%20512'%3e%3cmask%20id='a'%3e%3ccircle%20cx='256'%20cy='256'%20r='256'%20fill='%23fff'/%3e%3c/mask%3e%3cg%20mask='url(%23a)'%3e%3cpath%20fill='%23d80027'%20d='M0%200h512v512H0z'/%3e%3cg%20fill='%23eee'%3e%3cpath%20d='m350%20182%2033%2046%2054-18-33%2046%2033%2046-54-18-33%2046v-57l-54-17%2054-18v-56Z'/%3e%3cpath%20d='M260%20370a114%20114%200%201%201%2054-215%20141%20141%200%201%200%200%20202c-17%209-35%2013-54%2013Z'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e";
|
|
502
|
-
|
|
503
|
-
const __vite_glob_0_54 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='512'%20height='512'%20viewBox='0%200%20512%20512'%3e%3cmask%20id='a'%3e%3ccircle%20cx='256'%20cy='256'%20r='256'%20fill='%23fff'/%3e%3c/mask%3e%3cg%20mask='url(%23a)'%3e%3cpath%20fill='%23eee'%20d='M0%200h512v512H0z'/%3e%3cpath%20fill='%23ffda44'%20d='M399%200%20167%20167%200%20399v45l68%2068h45l232-167%20167-232V68L444%200Z'/%3e%3cpath%20fill='%23333'%20d='M444%200%200%20444v68h68L512%2068V0Z'/%3e%3cpath%20fill='%23338af3'%20d='m113%20512%20399-399v399z'/%3e%3cpath%20fill='%236da544'%20d='M0%20399V0h399Z'/%3e%3c/g%3e%3c/svg%3e";
|
|
504
|
-
|
|
505
|
-
const __vite_glob_0_55 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='512'%20height='512'%20viewBox='0%200%20512%20512'%3e%3cmask%20id='a'%3e%3ccircle%20cx='256'%20cy='256'%20r='256'%20fill='%23fff'/%3e%3c/mask%3e%3cg%20mask='url(%23a)'%3e%3cpath%20fill='%23ffda44'%20d='m0%20256%20258-39.4L512%20256v256H0z'/%3e%3cpath%20fill='%23338af3'%20d='M0%200h512v256H0z'/%3e%3c/g%3e%3c/svg%3e";
|
|
506
|
-
|
|
507
|
-
const __vite_glob_0_56 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='512'%20height='512'%20viewBox='0%200%20512%20512'%3e%3cmask%20id='a'%3e%3ccircle%20cx='256'%20cy='256'%20r='256'%20fill='%23fff'/%3e%3c/mask%3e%3cg%20mask='url(%23a)'%3e%3cpath%20fill='%23eee'%20d='M256%200h256v64l-32%2032%2032%2032v64l-32%2032%2032%2032v64l-32%2032%2032%2032v64l-256%2032L0%20448v-64l32-32-32-32v-64z'/%3e%3cpath%20fill='%23d80027'%20d='M224%2064h288v64H224Zm0%20128h288v64H256ZM0%20320h512v64H0Zm0%20128h512v64H0Z'/%3e%3cpath%20fill='%230052b4'%20d='M0%200h256v256H0Z'/%3e%3cpath%20fill='%23eee'%20d='m187%20243%2057-41h-70l57%2041-22-67zm-81%200%2057-41H93l57%2041-22-67zm-81%200%2057-41H12l57%2041-22-67zm162-81%2057-41h-70l57%2041-22-67zm-81%200%2057-41H93l57%2041-22-67zm-81%200%2057-41H12l57%2041-22-67Zm162-82%2057-41h-70l57%2041-22-67Zm-81%200%2057-41H93l57%2041-22-67zm-81%200%2057-41H12l57%2041-22-67Z'/%3e%3c/g%3e%3c/svg%3e";
|
|
508
|
-
|
|
509
|
-
const __vite_glob_0_57 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='512'%20height='512'%20viewBox='0%200%20512%20512'%3e%3cmask%20id='a'%3e%3ccircle%20cx='256'%20cy='256'%20r='256'%20fill='%23fff'/%3e%3c/mask%3e%3cg%20mask='url(%23a)'%3e%3cpath%20fill='%23d80027'%20d='m0%20178%20254.2-22L512%20178v22.3l-40.2%2054.1%2040.2%2057.3V334l-254%2023.4L0%20334v-22.3l36.7-59.4-36.7-52z'/%3e%3cpath%20fill='%23338af3'%20d='M0%200h512v178H0z'/%3e%3cpath%20fill='%23eee'%20d='M0%20200.3h512v111.4H0z'/%3e%3cpath%20fill='%236da544'%20d='M0%20334h512v178H0z'/%3e%3cpath%20fill='%23eee'%20d='M117.2%20105.7a50%2050%200%200%201%2039.3-48.9%2050.2%2050.2%200%200%200-10.7-1.1%2050%2050%200%201%200%2010.7%2099c-22.5-5-39.3-25-39.3-49zm69%2022.8%203.3%2010.4h11l-9%206.5%203.5%2010.4-9-6.4-8.7%206.4%203.4-10.4-9-6.5h11zm35%200%203.4%2010.4h11l-9%206.5%203.4%2010.4-8.8-6.4-9%206.4%203.5-10.4-9-6.5h11zm35%200%203.4%2010.4h11l-9%206.5%203.5%2010.4-9-6.4-8.8%206.4%203.4-10.4-9-6.5h11zm35%200%203.4%2010.4h11l-9%206.5%203.5%2010.4-9-6.4-8.8%206.4%203.4-10.4-9-6.5h11zm35%200%203.4%2010.4h11l-9%206.5%203.5%2010.4-9-6.4-8.8%206.4%203.4-10.4-8.8-6.5h11zm-105-36.4%203.4%2010.4h11l-9%206.5%203.4%2010.4-8.8-6.5-9%206.5%203.5-10.4-9-6.5h11zm35%200%203.4%2010.4h11l-9%206.5%203.5%2010.4-9-6.5-8.8%206.5%203.4-10.4-9-6.5h11zm35%200%203.4%2010.4h11l-9%206.5%203.5%2010.4-9-6.5-8.8%206.5%203.4-10.4-9-6.5h11zm35%200%203.4%2010.4h11l-9%206.5%203.5%2010.4-9-6.5-8.8%206.5%203.4-10.4-8.8-6.5h11zm-70-36.4%203.4%2010.4h11l-9%206.4%203.6%2010.5-9-6.5-8.8%206.5%203.4-10.5-9-6.4h11zm35%200%203.4%2010.4h11l-9%206.4%203.6%2010.5-9-6.5-8.8%206.5%203.4-10.5-9-6.4h11zm35%200%203.4%2010.4h11l-9%206.4%203.6%2010.5-9-6.5-8.8%206.5%203.4-10.5-8.8-6.4h11z'/%3e%3c/g%3e%3c/svg%3e";
|
|
510
|
-
|
|
511
|
-
const __vite_glob_0_58 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='512'%20height='512'%20viewBox='0%200%20512%20512'%3e%3cmask%20id='a'%3e%3ccircle%20cx='256'%20cy='256'%20r='256'%20fill='%23fff'/%3e%3c/mask%3e%3cg%20mask='url(%23a)'%3e%3cpath%20fill='%23d80027'%20d='M0%200h512v512H0z'/%3e%3cpath%20fill='%23ffda44'%20d='m256%20133.6%2027.6%2085H373L300.7%20271l27.6%2085-72.3-52.5-72.3%2052.6%2027.6-85-72.3-52.6h89.4z'/%3e%3c/g%3e%3c/svg%3e";
|
|
512
|
-
|
|
513
|
-
const __vite_glob_0_59 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='512'%20height='512'%20viewBox='0%200%20512%20512'%3e%3cmask%20id='a'%3e%3ccircle%20cx='256'%20cy='256'%20r='256'%20fill='%23fff'/%3e%3c/mask%3e%3cg%20mask='url(%23a)'%3e%3cpath%20fill='%23eee'%20d='M0%200h512v512H0z'/%3e%3ccircle%20cx='253'%20cy='380'%20r='32'%20fill='%23acabb1'/%3e%3cpath%20fill='%23acabb1'%20d='M322.4%20135.5c-15.6-13.6-37.4-20.3-65.5-20.3-27.9%200-49.9%207.2-66%2021.4a74.9%2074.9%200%200%200-24.3%2055.4h-.2v12.8H224l.1-9a35.2%2035.2%200%200%201%209.3-24.8c5.8-6.1%2013.7-9%2023.5-9%2020.7%200%2031%2011%2031%2033.4%200%207.4-2%2014.5-6%2021.1a124.2%20124.2%200%200%201-23.9%2026%2090.4%2090.4%200%200%200-24.8%2032.3c-4.5%2011-6.8%2026.7-6.8%2045.2h51l.8-13.1a54%2054%200%200%201%2017.3-33.9l16.2-15.2a131.4%20131.4%200%200%200%2026.4-33.2%2069.5%2069.5%200%200%200%207.6-31.8c-.1-24.7-7.8-43.7-23.3-57.3z'/%3e%3c/g%3e%3c/svg%3e";
|
|
514
|
-
|
|
515
|
-
const __vite_glob_0_60 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='512'%20height='512'%20viewBox='0%200%20512%20512'%3e%3cmask%20id='a'%3e%3ccircle%20cx='256'%20cy='256'%20r='256'%20fill='%23fff'/%3e%3c/mask%3e%3cg%20mask='url(%23a)'%3e%3cpath%20fill='%23eee'%20d='m0%200%20192%20256L0%20512h47l465-189v-34l-32-33%2032-33v-34L47%200Z'/%3e%3cpath%20fill='%23333'%20d='M0%20142v228l140-114z'/%3e%3cpath%20fill='%23ffda44'%20d='M192%20256%200%2095v47l114%20114L0%20370v47z'/%3e%3cpath%20fill='%236da544'%20d='M512%20223H223L0%200v94l161%20162L0%20418v94l223-223h289z'/%3e%3cpath%20fill='%23d80027'%20d='M512%200H47l189%20189h276z'/%3e%3cpath%20fill='%230052b4'%20d='M512%20512H47l189-189h276z'/%3e%3c/g%3e%3c/svg%3e";
|
|
516
|
-
|
|
517
|
-
/**
|
|
518
|
-
* vee-validate v4.15.0
|
|
519
|
-
* (c) 2024 Abdelrahman Awad
|
|
520
|
-
* @license MIT
|
|
521
|
-
*/
|
|
522
|
-
function isCallable(fn) {
|
|
523
|
-
return typeof fn === 'function';
|
|
524
|
-
}
|
|
525
|
-
function isObjectLike(value) {
|
|
526
|
-
return typeof value === 'object' && value !== null;
|
|
527
|
-
}
|
|
528
|
-
function getTag(value) {
|
|
529
|
-
if (value == null) {
|
|
530
|
-
return value === undefined ? '[object Undefined]' : '[object Null]';
|
|
531
|
-
}
|
|
532
|
-
return Object.prototype.toString.call(value);
|
|
533
|
-
}
|
|
534
|
-
// Reference: https://github.com/lodash/lodash/blob/master/isPlainObject.js
|
|
535
|
-
function isPlainObject(value) {
|
|
536
|
-
if (!isObjectLike(value) || getTag(value) !== '[object Object]') {
|
|
537
|
-
return false;
|
|
538
|
-
}
|
|
539
|
-
if (Object.getPrototypeOf(value) === null) {
|
|
540
|
-
return true;
|
|
541
|
-
}
|
|
542
|
-
let proto = value;
|
|
543
|
-
while (Object.getPrototypeOf(proto) !== null) {
|
|
544
|
-
proto = Object.getPrototypeOf(proto);
|
|
545
|
-
}
|
|
546
|
-
return Object.getPrototypeOf(value) === proto;
|
|
547
|
-
}
|
|
548
|
-
function merge(target, source) {
|
|
549
|
-
Object.keys(source).forEach(key => {
|
|
550
|
-
if (isPlainObject(source[key]) && isPlainObject(target[key])) {
|
|
551
|
-
if (!target[key]) {
|
|
552
|
-
target[key] = {};
|
|
553
|
-
}
|
|
554
|
-
merge(target[key], source[key]);
|
|
555
|
-
return;
|
|
556
|
-
}
|
|
557
|
-
target[key] = source[key];
|
|
558
|
-
});
|
|
559
|
-
return target;
|
|
560
|
-
}
|
|
561
|
-
|
|
562
|
-
/**
|
|
563
|
-
* Replaces placeholder values in a string with their actual values
|
|
564
|
-
*/
|
|
565
|
-
function interpolate(template, values, options) {
|
|
566
|
-
const { prefix, suffix } = options;
|
|
567
|
-
const regExp = buildRegex(prefix, suffix);
|
|
568
|
-
return template.replace(regExp, function (_, param, placeholder) {
|
|
569
|
-
if (!param || !values.params) {
|
|
570
|
-
return placeholder in values
|
|
571
|
-
? values[placeholder]
|
|
572
|
-
: values.params && placeholder in values.params
|
|
573
|
-
? values.params[placeholder]
|
|
574
|
-
: `${prefix}${placeholder}${suffix}`;
|
|
575
|
-
}
|
|
576
|
-
// Handles extended object params format
|
|
577
|
-
if (!Array.isArray(values.params)) {
|
|
578
|
-
return placeholder in values.params ? values.params[placeholder] : `${prefix}${placeholder}${suffix}`;
|
|
579
|
-
}
|
|
580
|
-
// Extended Params exit in the format of `paramIndex:{paramName}` where the index is optional
|
|
581
|
-
const paramIndex = Number(param.replace(':', ''));
|
|
582
|
-
return paramIndex in values.params ? values.params[paramIndex] : `${param}${prefix}${placeholder}${suffix}`;
|
|
583
|
-
});
|
|
584
|
-
}
|
|
585
|
-
function escapeRegex(string) {
|
|
586
|
-
return string.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
|
|
587
|
-
}
|
|
588
|
-
function buildRegex(prefix, suffix) {
|
|
589
|
-
const safePrefix = escapeRegex(prefix);
|
|
590
|
-
const safeSuffix = escapeRegex(suffix);
|
|
591
|
-
return new RegExp(`([0-9]:)?${safePrefix}((?:(?!${safeSuffix}).)+)${safeSuffix}`, 'g');
|
|
592
|
-
}
|
|
593
|
-
|
|
594
|
-
class Dictionary {
|
|
595
|
-
constructor(locale, dictionary, interpolateOptions = { prefix: '{', suffix: '}' }) {
|
|
596
|
-
this.container = {};
|
|
597
|
-
this.locale = locale;
|
|
598
|
-
this.interpolateOptions = interpolateOptions;
|
|
599
|
-
this.merge(dictionary);
|
|
600
|
-
}
|
|
601
|
-
resolve(ctx, interpolateOptions) {
|
|
602
|
-
let result = this.format(this.locale, ctx, interpolateOptions);
|
|
603
|
-
if (!result && this.fallbackLocale && this.fallbackLocale !== this.locale) {
|
|
604
|
-
result = this.format(this.fallbackLocale, ctx, interpolateOptions);
|
|
605
|
-
}
|
|
606
|
-
return result || this.getDefaultMessage(this.locale, ctx);
|
|
607
|
-
}
|
|
608
|
-
getDefaultMessage(locale, ctx) {
|
|
609
|
-
const { label, name } = ctx;
|
|
610
|
-
const fieldName = this.resolveLabel(locale, name, label);
|
|
611
|
-
return `${fieldName} is not valid`;
|
|
612
|
-
}
|
|
613
|
-
getLocaleDefault(locale, field) {
|
|
614
|
-
var _a, _b, _c, _d, _e;
|
|
615
|
-
return ((_c = (_b = (_a = this.container[locale]) === null || _a === void 0 ? void 0 : _a.fields) === null || _b === void 0 ? void 0 : _b[field]) === null || _c === void 0 ? void 0 : _c._default) || ((_e = (_d = this.container[locale]) === null || _d === void 0 ? void 0 : _d.messages) === null || _e === void 0 ? void 0 : _e._default);
|
|
616
|
-
}
|
|
617
|
-
resolveLabel(locale, name, label) {
|
|
618
|
-
var _a, _b, _c, _d;
|
|
619
|
-
if (label) {
|
|
620
|
-
return ((_b = (_a = this.container[locale]) === null || _a === void 0 ? void 0 : _a.names) === null || _b === void 0 ? void 0 : _b[label]) || label;
|
|
621
|
-
}
|
|
622
|
-
return ((_d = (_c = this.container[locale]) === null || _c === void 0 ? void 0 : _c.names) === null || _d === void 0 ? void 0 : _d[name]) || name;
|
|
623
|
-
}
|
|
624
|
-
format(locale, ctx, interpolateOptions) {
|
|
625
|
-
var _a, _b, _c, _d, _e;
|
|
626
|
-
let message;
|
|
627
|
-
const { rule, form, label, name } = ctx;
|
|
628
|
-
const fieldName = this.resolveLabel(locale, name, label);
|
|
629
|
-
if (!rule) {
|
|
630
|
-
message = this.getLocaleDefault(locale, name) || '';
|
|
631
|
-
return isCallable(message)
|
|
632
|
-
? message(ctx)
|
|
633
|
-
: interpolate(message, Object.assign(Object.assign({}, form), { field: fieldName }), interpolateOptions !== null && interpolateOptions !== void 0 ? interpolateOptions : this.interpolateOptions);
|
|
634
|
-
}
|
|
635
|
-
// find if specific message for that field was specified.
|
|
636
|
-
message = ((_c = (_b = (_a = this.container[locale]) === null || _a === void 0 ? void 0 : _a.fields) === null || _b === void 0 ? void 0 : _b[name]) === null || _c === void 0 ? void 0 : _c[rule.name]) || ((_e = (_d = this.container[locale]) === null || _d === void 0 ? void 0 : _d.messages) === null || _e === void 0 ? void 0 : _e[rule.name]);
|
|
637
|
-
if (!message) {
|
|
638
|
-
message = this.getLocaleDefault(locale, name) || '';
|
|
639
|
-
}
|
|
640
|
-
return isCallable(message)
|
|
641
|
-
? message(ctx)
|
|
642
|
-
: interpolate(message, Object.assign(Object.assign({}, form), { field: fieldName, params: rule.params }), interpolateOptions !== null && interpolateOptions !== void 0 ? interpolateOptions : this.interpolateOptions);
|
|
643
|
-
}
|
|
644
|
-
merge(dictionary) {
|
|
645
|
-
merge(this.container, dictionary);
|
|
646
|
-
}
|
|
647
|
-
}
|
|
648
|
-
const DICTIONARY = new Dictionary('en', {});
|
|
649
|
-
function localize(locale, dictionary, interpolateOptions) {
|
|
650
|
-
const generateMessage = ctx => {
|
|
651
|
-
return DICTIONARY.resolve(ctx, interpolateOptions);
|
|
652
|
-
};
|
|
653
|
-
if (typeof locale === 'string') {
|
|
654
|
-
DICTIONARY.locale = locale;
|
|
655
|
-
if (dictionary) {
|
|
656
|
-
DICTIONARY.merge({ [locale]: dictionary });
|
|
657
|
-
}
|
|
658
|
-
return generateMessage;
|
|
659
|
-
}
|
|
660
|
-
DICTIONARY.merge(locale);
|
|
661
|
-
return generateMessage;
|
|
662
|
-
}
|
|
663
|
-
/**
|
|
664
|
-
* Sets the locale
|
|
665
|
-
*/
|
|
666
|
-
function setLocale(locale) {
|
|
667
|
-
DICTIONARY.locale = locale;
|
|
668
|
-
}
|
|
669
|
-
|
|
670
|
-
var data;
|
|
671
|
-
var hasRequiredData;
|
|
672
|
-
|
|
673
|
-
function requireData () {
|
|
674
|
-
if (hasRequiredData) return data;
|
|
675
|
-
hasRequiredData = 1;
|
|
676
|
-
const LANGUAGES_LIST = {
|
|
677
|
-
aa: {
|
|
678
|
-
name: 'Afar',
|
|
679
|
-
nativeName: 'Afaraf',
|
|
680
|
-
},
|
|
681
|
-
ab: {
|
|
682
|
-
name: 'Abkhaz',
|
|
683
|
-
nativeName: 'аҧсуа бызшәа',
|
|
684
|
-
},
|
|
685
|
-
ae: {
|
|
686
|
-
name: 'Avestan',
|
|
687
|
-
nativeName: 'avesta',
|
|
688
|
-
},
|
|
689
|
-
af: {
|
|
690
|
-
name: 'Afrikaans',
|
|
691
|
-
nativeName: 'Afrikaans',
|
|
692
|
-
},
|
|
693
|
-
ak: {
|
|
694
|
-
name: 'Akan',
|
|
695
|
-
nativeName: 'Akan',
|
|
696
|
-
},
|
|
697
|
-
am: {
|
|
698
|
-
name: 'Amharic',
|
|
699
|
-
nativeName: 'አማርኛ',
|
|
700
|
-
},
|
|
701
|
-
an: {
|
|
702
|
-
name: 'Aragonese',
|
|
703
|
-
nativeName: 'aragonés',
|
|
704
|
-
},
|
|
705
|
-
ar: {
|
|
706
|
-
name: 'Arabic',
|
|
707
|
-
nativeName: 'العربية',
|
|
708
|
-
},
|
|
709
|
-
as: {
|
|
710
|
-
name: 'Assamese',
|
|
711
|
-
nativeName: 'অসমীয়া',
|
|
712
|
-
},
|
|
713
|
-
av: {
|
|
714
|
-
name: 'Avaric',
|
|
715
|
-
nativeName: 'авар мацӀ',
|
|
716
|
-
},
|
|
717
|
-
ay: {
|
|
718
|
-
name: 'Aymara',
|
|
719
|
-
nativeName: 'aymar aru',
|
|
720
|
-
},
|
|
721
|
-
az: {
|
|
722
|
-
name: 'Azerbaijani',
|
|
723
|
-
nativeName: 'azərbaycan dili',
|
|
724
|
-
},
|
|
725
|
-
ba: {
|
|
726
|
-
name: 'Bashkir',
|
|
727
|
-
nativeName: 'башҡорт теле',
|
|
728
|
-
},
|
|
729
|
-
be: {
|
|
730
|
-
name: 'Belarusian',
|
|
731
|
-
nativeName: 'беларуская мова',
|
|
732
|
-
},
|
|
733
|
-
bg: {
|
|
734
|
-
name: 'Bulgarian',
|
|
735
|
-
nativeName: 'български език',
|
|
736
|
-
},
|
|
737
|
-
bi: {
|
|
738
|
-
name: 'Bislama',
|
|
739
|
-
nativeName: 'Bislama',
|
|
740
|
-
},
|
|
741
|
-
bm: {
|
|
742
|
-
name: 'Bambara',
|
|
743
|
-
nativeName: 'bamanankan',
|
|
744
|
-
},
|
|
745
|
-
bn: {
|
|
746
|
-
name: 'Bengali',
|
|
747
|
-
nativeName: 'বাংলা',
|
|
748
|
-
},
|
|
749
|
-
bo: {
|
|
750
|
-
name: 'Tibetan',
|
|
751
|
-
nativeName: 'བོད་ཡིག',
|
|
752
|
-
},
|
|
753
|
-
br: {
|
|
754
|
-
name: 'Breton',
|
|
755
|
-
nativeName: 'brezhoneg',
|
|
756
|
-
},
|
|
757
|
-
bs: {
|
|
758
|
-
name: 'Bosnian',
|
|
759
|
-
nativeName: 'bosanski jezik',
|
|
760
|
-
},
|
|
761
|
-
ca: {
|
|
762
|
-
name: 'Catalan',
|
|
763
|
-
nativeName: 'Català',
|
|
764
|
-
},
|
|
765
|
-
ce: {
|
|
766
|
-
name: 'Chechen',
|
|
767
|
-
nativeName: 'нохчийн мотт',
|
|
768
|
-
},
|
|
769
|
-
ch: {
|
|
770
|
-
name: 'Chamorro',
|
|
771
|
-
nativeName: 'Chamoru',
|
|
772
|
-
},
|
|
773
|
-
co: {
|
|
774
|
-
name: 'Corsican',
|
|
775
|
-
nativeName: 'corsu',
|
|
776
|
-
},
|
|
777
|
-
cr: {
|
|
778
|
-
name: 'Cree',
|
|
779
|
-
nativeName: 'ᓀᐦᐃᔭᐍᐏᐣ',
|
|
780
|
-
},
|
|
781
|
-
cs: {
|
|
782
|
-
name: 'Czech',
|
|
783
|
-
nativeName: 'Čeština',
|
|
784
|
-
},
|
|
785
|
-
cu: {
|
|
786
|
-
name: 'Old Church Slavonic',
|
|
787
|
-
nativeName: 'ѩзыкъ словѣньскъ',
|
|
788
|
-
},
|
|
789
|
-
cv: {
|
|
790
|
-
name: 'Chuvash',
|
|
791
|
-
nativeName: 'чӑваш чӗлхи',
|
|
792
|
-
},
|
|
793
|
-
cy: {
|
|
794
|
-
name: 'Welsh',
|
|
795
|
-
nativeName: 'Cymraeg',
|
|
796
|
-
},
|
|
797
|
-
da: {
|
|
798
|
-
name: 'Danish',
|
|
799
|
-
nativeName: 'Dansk',
|
|
800
|
-
},
|
|
801
|
-
de: {
|
|
802
|
-
name: 'German',
|
|
803
|
-
nativeName: 'Deutsch',
|
|
804
|
-
},
|
|
805
|
-
dv: {
|
|
806
|
-
name: 'Divehi',
|
|
807
|
-
nativeName: 'ދިވެހި',
|
|
808
|
-
},
|
|
809
|
-
dz: {
|
|
810
|
-
name: 'Dzongkha',
|
|
811
|
-
nativeName: 'རྫོང་ཁ',
|
|
812
|
-
},
|
|
813
|
-
ee: {
|
|
814
|
-
name: 'Ewe',
|
|
815
|
-
nativeName: 'Eʋegbe',
|
|
816
|
-
},
|
|
817
|
-
el: {
|
|
818
|
-
name: 'Greek',
|
|
819
|
-
nativeName: 'Ελληνικά',
|
|
820
|
-
},
|
|
821
|
-
en: {
|
|
822
|
-
name: 'English',
|
|
823
|
-
nativeName: 'English',
|
|
824
|
-
},
|
|
825
|
-
eo: {
|
|
826
|
-
name: 'Esperanto',
|
|
827
|
-
nativeName: 'Esperanto',
|
|
828
|
-
},
|
|
829
|
-
es: {
|
|
830
|
-
name: 'Spanish',
|
|
831
|
-
nativeName: 'Español',
|
|
832
|
-
},
|
|
833
|
-
et: {
|
|
834
|
-
name: 'Estonian',
|
|
835
|
-
nativeName: 'eesti',
|
|
836
|
-
},
|
|
837
|
-
eu: {
|
|
838
|
-
name: 'Basque',
|
|
839
|
-
nativeName: 'euskara',
|
|
840
|
-
},
|
|
841
|
-
fa: {
|
|
842
|
-
name: 'Persian',
|
|
843
|
-
nativeName: 'فارسی',
|
|
844
|
-
},
|
|
845
|
-
ff: {
|
|
846
|
-
name: 'Fula',
|
|
847
|
-
nativeName: 'Fulfulde',
|
|
848
|
-
},
|
|
849
|
-
fi: {
|
|
850
|
-
name: 'Finnish',
|
|
851
|
-
nativeName: 'suomi',
|
|
852
|
-
},
|
|
853
|
-
fj: {
|
|
854
|
-
name: 'Fijian',
|
|
855
|
-
nativeName: 'vosa Vakaviti',
|
|
856
|
-
},
|
|
857
|
-
fo: {
|
|
858
|
-
name: 'Faroese',
|
|
859
|
-
nativeName: 'Føroyskt',
|
|
860
|
-
},
|
|
861
|
-
fr: {
|
|
862
|
-
name: 'French',
|
|
863
|
-
nativeName: 'Français',
|
|
864
|
-
},
|
|
865
|
-
fy: {
|
|
866
|
-
name: 'Western Frisian',
|
|
867
|
-
nativeName: 'Frysk',
|
|
868
|
-
},
|
|
869
|
-
ga: {
|
|
870
|
-
name: 'Irish',
|
|
871
|
-
nativeName: 'Gaeilge',
|
|
872
|
-
},
|
|
873
|
-
gd: {
|
|
874
|
-
name: 'Scottish Gaelic',
|
|
875
|
-
nativeName: 'Gàidhlig',
|
|
876
|
-
},
|
|
877
|
-
gl: {
|
|
878
|
-
name: 'Galician',
|
|
879
|
-
nativeName: 'galego',
|
|
880
|
-
},
|
|
881
|
-
gn: {
|
|
882
|
-
name: 'Guaraní',
|
|
883
|
-
nativeName: "Avañe'ẽ",
|
|
884
|
-
},
|
|
885
|
-
gu: {
|
|
886
|
-
name: 'Gujarati',
|
|
887
|
-
nativeName: 'ગુજરાતી',
|
|
888
|
-
},
|
|
889
|
-
gv: {
|
|
890
|
-
name: 'Manx',
|
|
891
|
-
nativeName: 'Gaelg',
|
|
892
|
-
},
|
|
893
|
-
ha: {
|
|
894
|
-
name: 'Hausa',
|
|
895
|
-
nativeName: 'هَوُسَ',
|
|
896
|
-
},
|
|
897
|
-
he: {
|
|
898
|
-
name: 'Hebrew',
|
|
899
|
-
nativeName: 'עברית',
|
|
900
|
-
},
|
|
901
|
-
hi: {
|
|
902
|
-
name: 'Hindi',
|
|
903
|
-
nativeName: 'हिन्दी',
|
|
904
|
-
},
|
|
905
|
-
ho: {
|
|
906
|
-
name: 'Hiri Motu',
|
|
907
|
-
nativeName: 'Hiri Motu',
|
|
908
|
-
},
|
|
909
|
-
hr: {
|
|
910
|
-
name: 'Croatian',
|
|
911
|
-
nativeName: 'Hrvatski',
|
|
912
|
-
},
|
|
913
|
-
ht: {
|
|
914
|
-
name: 'Haitian',
|
|
915
|
-
nativeName: 'Kreyòl ayisyen',
|
|
916
|
-
},
|
|
917
|
-
hu: {
|
|
918
|
-
name: 'Hungarian',
|
|
919
|
-
nativeName: 'magyar',
|
|
920
|
-
},
|
|
921
|
-
hy: {
|
|
922
|
-
name: 'Armenian',
|
|
923
|
-
nativeName: 'Հայերեն',
|
|
924
|
-
},
|
|
925
|
-
hz: {
|
|
926
|
-
name: 'Herero',
|
|
927
|
-
nativeName: 'Otjiherero',
|
|
928
|
-
},
|
|
929
|
-
ia: {
|
|
930
|
-
name: 'Interlingua',
|
|
931
|
-
nativeName: 'Interlingua',
|
|
932
|
-
},
|
|
933
|
-
id: {
|
|
934
|
-
name: 'Indonesian',
|
|
935
|
-
nativeName: 'Bahasa Indonesia',
|
|
936
|
-
},
|
|
937
|
-
ie: {
|
|
938
|
-
name: 'Interlingue',
|
|
939
|
-
nativeName: 'Interlingue',
|
|
940
|
-
},
|
|
941
|
-
ig: {
|
|
942
|
-
name: 'Igbo',
|
|
943
|
-
nativeName: 'Asụsụ Igbo',
|
|
944
|
-
},
|
|
945
|
-
ii: {
|
|
946
|
-
name: 'Nuosu',
|
|
947
|
-
nativeName: 'ꆈꌠ꒿ Nuosuhxop',
|
|
948
|
-
},
|
|
949
|
-
ik: {
|
|
950
|
-
name: 'Inupiaq',
|
|
951
|
-
nativeName: 'Iñupiaq',
|
|
952
|
-
},
|
|
953
|
-
io: {
|
|
954
|
-
name: 'Ido',
|
|
955
|
-
nativeName: 'Ido',
|
|
956
|
-
},
|
|
957
|
-
is: {
|
|
958
|
-
name: 'Icelandic',
|
|
959
|
-
nativeName: 'Íslenska',
|
|
960
|
-
},
|
|
961
|
-
it: {
|
|
962
|
-
name: 'Italian',
|
|
963
|
-
nativeName: 'Italiano',
|
|
964
|
-
},
|
|
965
|
-
iu: {
|
|
966
|
-
name: 'Inuktitut',
|
|
967
|
-
nativeName: 'ᐃᓄᒃᑎᑐᑦ',
|
|
968
|
-
},
|
|
969
|
-
ja: {
|
|
970
|
-
name: 'Japanese',
|
|
971
|
-
nativeName: '日本語',
|
|
972
|
-
},
|
|
973
|
-
jv: {
|
|
974
|
-
name: 'Javanese',
|
|
975
|
-
nativeName: 'basa Jawa',
|
|
976
|
-
},
|
|
977
|
-
ka: {
|
|
978
|
-
name: 'Georgian',
|
|
979
|
-
nativeName: 'ქართული',
|
|
980
|
-
},
|
|
981
|
-
kg: {
|
|
982
|
-
name: 'Kongo',
|
|
983
|
-
nativeName: 'Kikongo',
|
|
984
|
-
},
|
|
985
|
-
ki: {
|
|
986
|
-
name: 'Kikuyu',
|
|
987
|
-
nativeName: 'Gĩkũyũ',
|
|
988
|
-
},
|
|
989
|
-
kj: {
|
|
990
|
-
name: 'Kwanyama',
|
|
991
|
-
nativeName: 'Kuanyama',
|
|
992
|
-
},
|
|
993
|
-
kk: {
|
|
994
|
-
name: 'Kazakh',
|
|
995
|
-
nativeName: 'қазақ тілі',
|
|
996
|
-
},
|
|
997
|
-
kl: {
|
|
998
|
-
name: 'Kalaallisut',
|
|
999
|
-
nativeName: 'kalaallisut',
|
|
1000
|
-
},
|
|
1001
|
-
km: {
|
|
1002
|
-
name: 'Khmer',
|
|
1003
|
-
nativeName: 'ខេមរភាសា',
|
|
1004
|
-
},
|
|
1005
|
-
kn: {
|
|
1006
|
-
name: 'Kannada',
|
|
1007
|
-
nativeName: 'ಕನ್ನಡ',
|
|
1008
|
-
},
|
|
1009
|
-
ko: {
|
|
1010
|
-
name: 'Korean',
|
|
1011
|
-
nativeName: '한국어',
|
|
1012
|
-
},
|
|
1013
|
-
kr: {
|
|
1014
|
-
name: 'Kanuri',
|
|
1015
|
-
nativeName: 'Kanuri',
|
|
1016
|
-
},
|
|
1017
|
-
ks: {
|
|
1018
|
-
name: 'Kashmiri',
|
|
1019
|
-
nativeName: 'कश्मीरी',
|
|
1020
|
-
},
|
|
1021
|
-
ku: {
|
|
1022
|
-
name: 'Kurdish',
|
|
1023
|
-
nativeName: 'Kurdî',
|
|
1024
|
-
},
|
|
1025
|
-
kv: {
|
|
1026
|
-
name: 'Komi',
|
|
1027
|
-
nativeName: 'коми кыв',
|
|
1028
|
-
},
|
|
1029
|
-
kw: {
|
|
1030
|
-
name: 'Cornish',
|
|
1031
|
-
nativeName: 'Kernewek',
|
|
1032
|
-
},
|
|
1033
|
-
ky: {
|
|
1034
|
-
name: 'Kyrgyz',
|
|
1035
|
-
nativeName: 'Кыргызча',
|
|
1036
|
-
},
|
|
1037
|
-
la: {
|
|
1038
|
-
name: 'Latin',
|
|
1039
|
-
nativeName: 'latine',
|
|
1040
|
-
},
|
|
1041
|
-
lb: {
|
|
1042
|
-
name: 'Luxembourgish',
|
|
1043
|
-
nativeName: 'Lëtzebuergesch',
|
|
1044
|
-
},
|
|
1045
|
-
lg: {
|
|
1046
|
-
name: 'Ganda',
|
|
1047
|
-
nativeName: 'Luganda',
|
|
1048
|
-
},
|
|
1049
|
-
li: {
|
|
1050
|
-
name: 'Limburgish',
|
|
1051
|
-
nativeName: 'Limburgs',
|
|
1052
|
-
},
|
|
1053
|
-
ln: {
|
|
1054
|
-
name: 'Lingala',
|
|
1055
|
-
nativeName: 'Lingála',
|
|
1056
|
-
},
|
|
1057
|
-
lo: {
|
|
1058
|
-
name: 'Lao',
|
|
1059
|
-
nativeName: 'ພາສາລາວ',
|
|
1060
|
-
},
|
|
1061
|
-
lt: {
|
|
1062
|
-
name: 'Lithuanian',
|
|
1063
|
-
nativeName: 'lietuvių kalba',
|
|
1064
|
-
},
|
|
1065
|
-
lu: {
|
|
1066
|
-
name: 'Luba-Katanga',
|
|
1067
|
-
nativeName: 'Kiluba',
|
|
1068
|
-
},
|
|
1069
|
-
lv: {
|
|
1070
|
-
name: 'Latvian',
|
|
1071
|
-
nativeName: 'latviešu valoda',
|
|
1072
|
-
},
|
|
1073
|
-
mg: {
|
|
1074
|
-
name: 'Malagasy',
|
|
1075
|
-
nativeName: 'fiteny malagasy',
|
|
1076
|
-
},
|
|
1077
|
-
mh: {
|
|
1078
|
-
name: 'Marshallese',
|
|
1079
|
-
nativeName: 'Kajin M̧ajeļ',
|
|
1080
|
-
},
|
|
1081
|
-
mi: {
|
|
1082
|
-
name: 'Māori',
|
|
1083
|
-
nativeName: 'te reo Māori',
|
|
1084
|
-
},
|
|
1085
|
-
mk: {
|
|
1086
|
-
name: 'Macedonian',
|
|
1087
|
-
nativeName: 'македонски јазик',
|
|
1088
|
-
},
|
|
1089
|
-
ml: {
|
|
1090
|
-
name: 'Malayalam',
|
|
1091
|
-
nativeName: 'മലയാളം',
|
|
1092
|
-
},
|
|
1093
|
-
mn: {
|
|
1094
|
-
name: 'Mongolian',
|
|
1095
|
-
nativeName: 'Монгол хэл',
|
|
1096
|
-
},
|
|
1097
|
-
mr: {
|
|
1098
|
-
name: 'Marathi',
|
|
1099
|
-
nativeName: 'मराठी',
|
|
1100
|
-
},
|
|
1101
|
-
ms: {
|
|
1102
|
-
name: 'Malay',
|
|
1103
|
-
nativeName: 'Bahasa Melayu',
|
|
1104
|
-
},
|
|
1105
|
-
mt: {
|
|
1106
|
-
name: 'Maltese',
|
|
1107
|
-
nativeName: 'Malti',
|
|
1108
|
-
},
|
|
1109
|
-
my: {
|
|
1110
|
-
name: 'Burmese',
|
|
1111
|
-
nativeName: 'ဗမာစာ',
|
|
1112
|
-
},
|
|
1113
|
-
na: {
|
|
1114
|
-
name: 'Nauru',
|
|
1115
|
-
nativeName: 'Dorerin Naoero',
|
|
1116
|
-
},
|
|
1117
|
-
nb: {
|
|
1118
|
-
name: 'Norwegian Bokmål',
|
|
1119
|
-
nativeName: 'Norsk bokmål',
|
|
1120
|
-
},
|
|
1121
|
-
nd: {
|
|
1122
|
-
name: 'Northern Ndebele',
|
|
1123
|
-
nativeName: 'isiNdebele',
|
|
1124
|
-
},
|
|
1125
|
-
ne: {
|
|
1126
|
-
name: 'Nepali',
|
|
1127
|
-
nativeName: 'नेपाली',
|
|
1128
|
-
},
|
|
1129
|
-
ng: {
|
|
1130
|
-
name: 'Ndonga',
|
|
1131
|
-
nativeName: 'Owambo',
|
|
1132
|
-
},
|
|
1133
|
-
nl: {
|
|
1134
|
-
name: 'Dutch',
|
|
1135
|
-
nativeName: 'Nederlands',
|
|
1136
|
-
},
|
|
1137
|
-
nn: {
|
|
1138
|
-
name: 'Norwegian Nynorsk',
|
|
1139
|
-
nativeName: 'Norsk nynorsk',
|
|
1140
|
-
},
|
|
1141
|
-
no: {
|
|
1142
|
-
name: 'Norwegian',
|
|
1143
|
-
nativeName: 'Norsk',
|
|
1144
|
-
},
|
|
1145
|
-
nr: {
|
|
1146
|
-
name: 'Southern Ndebele',
|
|
1147
|
-
nativeName: 'isiNdebele',
|
|
1148
|
-
},
|
|
1149
|
-
nv: {
|
|
1150
|
-
name: 'Navajo',
|
|
1151
|
-
nativeName: 'Diné bizaad',
|
|
1152
|
-
},
|
|
1153
|
-
ny: {
|
|
1154
|
-
name: 'Chichewa',
|
|
1155
|
-
nativeName: 'chiCheŵa',
|
|
1156
|
-
},
|
|
1157
|
-
oc: {
|
|
1158
|
-
name: 'Occitan',
|
|
1159
|
-
nativeName: 'occitan',
|
|
1160
|
-
},
|
|
1161
|
-
oj: {
|
|
1162
|
-
name: 'Ojibwe',
|
|
1163
|
-
nativeName: 'ᐊᓂᔑᓈᐯᒧᐎᓐ',
|
|
1164
|
-
},
|
|
1165
|
-
om: {
|
|
1166
|
-
name: 'Oromo',
|
|
1167
|
-
nativeName: 'Afaan Oromoo',
|
|
1168
|
-
},
|
|
1169
|
-
or: {
|
|
1170
|
-
name: 'Oriya',
|
|
1171
|
-
nativeName: 'ଓଡ଼ିଆ',
|
|
1172
|
-
},
|
|
1173
|
-
os: {
|
|
1174
|
-
name: 'Ossetian',
|
|
1175
|
-
nativeName: 'ирон æвзаг',
|
|
1176
|
-
},
|
|
1177
|
-
pa: {
|
|
1178
|
-
name: 'Panjabi',
|
|
1179
|
-
nativeName: 'ਪੰਜਾਬੀ',
|
|
1180
|
-
},
|
|
1181
|
-
pi: {
|
|
1182
|
-
name: 'Pāli',
|
|
1183
|
-
nativeName: 'पाऴि',
|
|
1184
|
-
},
|
|
1185
|
-
pl: {
|
|
1186
|
-
name: 'Polish',
|
|
1187
|
-
nativeName: 'Polski',
|
|
1188
|
-
},
|
|
1189
|
-
ps: {
|
|
1190
|
-
name: 'Pashto',
|
|
1191
|
-
nativeName: 'پښتو',
|
|
1192
|
-
},
|
|
1193
|
-
pt: {
|
|
1194
|
-
name: 'Portuguese',
|
|
1195
|
-
nativeName: 'Português',
|
|
1196
|
-
},
|
|
1197
|
-
qu: {
|
|
1198
|
-
name: 'Quechua',
|
|
1199
|
-
nativeName: 'Runa Simi',
|
|
1200
|
-
},
|
|
1201
|
-
rm: {
|
|
1202
|
-
name: 'Romansh',
|
|
1203
|
-
nativeName: 'rumantsch grischun',
|
|
1204
|
-
},
|
|
1205
|
-
rn: {
|
|
1206
|
-
name: 'Kirundi',
|
|
1207
|
-
nativeName: 'Ikirundi',
|
|
1208
|
-
},
|
|
1209
|
-
ro: {
|
|
1210
|
-
name: 'Romanian',
|
|
1211
|
-
nativeName: 'Română',
|
|
1212
|
-
},
|
|
1213
|
-
ru: {
|
|
1214
|
-
name: 'Russian',
|
|
1215
|
-
nativeName: 'Русский',
|
|
1216
|
-
},
|
|
1217
|
-
rw: {
|
|
1218
|
-
name: 'Kinyarwanda',
|
|
1219
|
-
nativeName: 'Ikinyarwanda',
|
|
1220
|
-
},
|
|
1221
|
-
sa: {
|
|
1222
|
-
name: 'Sanskrit',
|
|
1223
|
-
nativeName: 'संस्कृतम्',
|
|
1224
|
-
},
|
|
1225
|
-
sc: {
|
|
1226
|
-
name: 'Sardinian',
|
|
1227
|
-
nativeName: 'sardu',
|
|
1228
|
-
},
|
|
1229
|
-
sd: {
|
|
1230
|
-
name: 'Sindhi',
|
|
1231
|
-
nativeName: 'सिन्धी',
|
|
1232
|
-
},
|
|
1233
|
-
se: {
|
|
1234
|
-
name: 'Northern Sami',
|
|
1235
|
-
nativeName: 'Davvisámegiella',
|
|
1236
|
-
},
|
|
1237
|
-
sg: {
|
|
1238
|
-
name: 'Sango',
|
|
1239
|
-
nativeName: 'yângâ tî sängö',
|
|
1240
|
-
},
|
|
1241
|
-
si: {
|
|
1242
|
-
name: 'Sinhala',
|
|
1243
|
-
nativeName: 'සිංහල',
|
|
1244
|
-
},
|
|
1245
|
-
sk: {
|
|
1246
|
-
name: 'Slovak',
|
|
1247
|
-
nativeName: 'Slovenčina',
|
|
1248
|
-
},
|
|
1249
|
-
sl: {
|
|
1250
|
-
name: 'Slovenian',
|
|
1251
|
-
nativeName: 'slovenščina',
|
|
1252
|
-
},
|
|
1253
|
-
sm: {
|
|
1254
|
-
name: 'Samoan',
|
|
1255
|
-
nativeName: "gagana fa'a Samoa",
|
|
1256
|
-
},
|
|
1257
|
-
sn: {
|
|
1258
|
-
name: 'Shona',
|
|
1259
|
-
nativeName: 'chiShona',
|
|
1260
|
-
},
|
|
1261
|
-
so: {
|
|
1262
|
-
name: 'Somali',
|
|
1263
|
-
nativeName: 'Soomaaliga',
|
|
1264
|
-
},
|
|
1265
|
-
sq: {
|
|
1266
|
-
name: 'Albanian',
|
|
1267
|
-
nativeName: 'Shqip',
|
|
1268
|
-
},
|
|
1269
|
-
sr: {
|
|
1270
|
-
name: 'Serbian',
|
|
1271
|
-
nativeName: 'српски језик',
|
|
1272
|
-
},
|
|
1273
|
-
ss: {
|
|
1274
|
-
name: 'Swati',
|
|
1275
|
-
nativeName: 'SiSwati',
|
|
1276
|
-
},
|
|
1277
|
-
st: {
|
|
1278
|
-
name: 'Southern Sotho',
|
|
1279
|
-
nativeName: 'Sesotho',
|
|
1280
|
-
},
|
|
1281
|
-
su: {
|
|
1282
|
-
name: 'Sundanese',
|
|
1283
|
-
nativeName: 'Basa Sunda',
|
|
1284
|
-
},
|
|
1285
|
-
sv: {
|
|
1286
|
-
name: 'Swedish',
|
|
1287
|
-
nativeName: 'Svenska',
|
|
1288
|
-
},
|
|
1289
|
-
sw: {
|
|
1290
|
-
name: 'Swahili',
|
|
1291
|
-
nativeName: 'Kiswahili',
|
|
1292
|
-
},
|
|
1293
|
-
ta: {
|
|
1294
|
-
name: 'Tamil',
|
|
1295
|
-
nativeName: 'தமிழ்',
|
|
1296
|
-
},
|
|
1297
|
-
te: {
|
|
1298
|
-
name: 'Telugu',
|
|
1299
|
-
nativeName: 'తెలుగు',
|
|
1300
|
-
},
|
|
1301
|
-
tg: {
|
|
1302
|
-
name: 'Tajik',
|
|
1303
|
-
nativeName: 'тоҷикӣ',
|
|
1304
|
-
},
|
|
1305
|
-
th: {
|
|
1306
|
-
name: 'Thai',
|
|
1307
|
-
nativeName: 'ไทย',
|
|
1308
|
-
},
|
|
1309
|
-
ti: {
|
|
1310
|
-
name: 'Tigrinya',
|
|
1311
|
-
nativeName: 'ትግርኛ',
|
|
1312
|
-
},
|
|
1313
|
-
tk: {
|
|
1314
|
-
name: 'Turkmen',
|
|
1315
|
-
nativeName: 'Türkmençe',
|
|
1316
|
-
},
|
|
1317
|
-
tl: {
|
|
1318
|
-
name: 'Tagalog',
|
|
1319
|
-
nativeName: 'Wikang Tagalog',
|
|
1320
|
-
},
|
|
1321
|
-
tn: {
|
|
1322
|
-
name: 'Tswana',
|
|
1323
|
-
nativeName: 'Setswana',
|
|
1324
|
-
},
|
|
1325
|
-
to: {
|
|
1326
|
-
name: 'Tonga',
|
|
1327
|
-
nativeName: 'faka Tonga',
|
|
1328
|
-
},
|
|
1329
|
-
tr: {
|
|
1330
|
-
name: 'Turkish',
|
|
1331
|
-
nativeName: 'Türkçe',
|
|
1332
|
-
},
|
|
1333
|
-
ts: {
|
|
1334
|
-
name: 'Tsonga',
|
|
1335
|
-
nativeName: 'Xitsonga',
|
|
1336
|
-
},
|
|
1337
|
-
tt: {
|
|
1338
|
-
name: 'Tatar',
|
|
1339
|
-
nativeName: 'татар теле',
|
|
1340
|
-
},
|
|
1341
|
-
tw: {
|
|
1342
|
-
name: 'Twi',
|
|
1343
|
-
nativeName: 'Twi',
|
|
1344
|
-
},
|
|
1345
|
-
ty: {
|
|
1346
|
-
name: 'Tahitian',
|
|
1347
|
-
nativeName: 'Reo Tahiti',
|
|
1348
|
-
},
|
|
1349
|
-
ug: {
|
|
1350
|
-
name: 'Uyghur',
|
|
1351
|
-
nativeName: 'ئۇيغۇرچە',
|
|
1352
|
-
},
|
|
1353
|
-
uk: {
|
|
1354
|
-
name: 'Ukrainian',
|
|
1355
|
-
nativeName: 'Українська',
|
|
1356
|
-
},
|
|
1357
|
-
ur: {
|
|
1358
|
-
name: 'Urdu',
|
|
1359
|
-
nativeName: 'اردو',
|
|
1360
|
-
},
|
|
1361
|
-
uz: {
|
|
1362
|
-
name: 'Uzbek',
|
|
1363
|
-
nativeName: 'Ўзбек',
|
|
1364
|
-
},
|
|
1365
|
-
ve: {
|
|
1366
|
-
name: 'Venda',
|
|
1367
|
-
nativeName: 'Tshivenḓa',
|
|
1368
|
-
},
|
|
1369
|
-
vi: {
|
|
1370
|
-
name: 'Vietnamese',
|
|
1371
|
-
nativeName: 'Tiếng Việt',
|
|
1372
|
-
},
|
|
1373
|
-
vo: {
|
|
1374
|
-
name: 'Volapük',
|
|
1375
|
-
nativeName: 'Volapük',
|
|
1376
|
-
},
|
|
1377
|
-
wa: {
|
|
1378
|
-
name: 'Walloon',
|
|
1379
|
-
nativeName: 'walon',
|
|
1380
|
-
},
|
|
1381
|
-
wo: {
|
|
1382
|
-
name: 'Wolof',
|
|
1383
|
-
nativeName: 'Wollof',
|
|
1384
|
-
},
|
|
1385
|
-
xh: {
|
|
1386
|
-
name: 'Xhosa',
|
|
1387
|
-
nativeName: 'isiXhosa',
|
|
1388
|
-
},
|
|
1389
|
-
yi: {
|
|
1390
|
-
name: 'Yiddish',
|
|
1391
|
-
nativeName: 'ייִדיש',
|
|
1392
|
-
},
|
|
1393
|
-
yo: {
|
|
1394
|
-
name: 'Yoruba',
|
|
1395
|
-
nativeName: 'Yorùbá',
|
|
1396
|
-
},
|
|
1397
|
-
za: {
|
|
1398
|
-
name: 'Zhuang',
|
|
1399
|
-
nativeName: 'Saɯ cueŋƅ',
|
|
1400
|
-
},
|
|
1401
|
-
zh: {
|
|
1402
|
-
name: 'Chinese',
|
|
1403
|
-
nativeName: '中文',
|
|
1404
|
-
},
|
|
1405
|
-
zu: {
|
|
1406
|
-
name: 'Zulu',
|
|
1407
|
-
nativeName: 'isiZulu',
|
|
1408
|
-
},
|
|
1409
|
-
};
|
|
1410
|
-
|
|
1411
|
-
data = LANGUAGES_LIST;
|
|
1412
|
-
return data;
|
|
1413
|
-
}
|
|
1414
|
-
|
|
1415
|
-
var src;
|
|
1416
|
-
var hasRequiredSrc;
|
|
1417
|
-
|
|
1418
|
-
function requireSrc () {
|
|
1419
|
-
if (hasRequiredSrc) return src;
|
|
1420
|
-
hasRequiredSrc = 1;
|
|
1421
|
-
const LANGUAGES_LIST = requireData();
|
|
1422
|
-
|
|
1423
|
-
const LANGUAGES = {};
|
|
1424
|
-
const LANGUAGES_BY_NAME = {};
|
|
1425
|
-
const LANGUAGE_CODES = [];
|
|
1426
|
-
const LANGUAGE_NAMES = [];
|
|
1427
|
-
const LANGUAGE_NATIVE_NAMES = [];
|
|
1428
|
-
|
|
1429
|
-
for (const code in LANGUAGES_LIST) {
|
|
1430
|
-
const { name, nativeName } = LANGUAGES_LIST[code];
|
|
1431
|
-
LANGUAGES[code] =
|
|
1432
|
-
LANGUAGES_BY_NAME[name.toLowerCase()] =
|
|
1433
|
-
LANGUAGES_BY_NAME[nativeName.toLowerCase()] =
|
|
1434
|
-
{ code, name, nativeName };
|
|
1435
|
-
LANGUAGE_CODES.push(code);
|
|
1436
|
-
LANGUAGE_NAMES.push(name);
|
|
1437
|
-
LANGUAGE_NATIVE_NAMES.push(nativeName);
|
|
1438
|
-
}
|
|
1439
|
-
|
|
1440
|
-
src = class ISO6391 {
|
|
1441
|
-
static getLanguages(codes = []) {
|
|
1442
|
-
return codes.map(code =>
|
|
1443
|
-
ISO6391.validate(code)
|
|
1444
|
-
? Object.assign({}, LANGUAGES[code])
|
|
1445
|
-
: { code, name: '', nativeName: '' }
|
|
1446
|
-
);
|
|
1447
|
-
}
|
|
1448
|
-
|
|
1449
|
-
static getName(code) {
|
|
1450
|
-
return ISO6391.validate(code) ? LANGUAGES_LIST[code].name : '';
|
|
1451
|
-
}
|
|
1452
|
-
|
|
1453
|
-
static getAllNames() {
|
|
1454
|
-
return LANGUAGE_NAMES.slice();
|
|
1455
|
-
}
|
|
1456
|
-
|
|
1457
|
-
static getNativeName(code) {
|
|
1458
|
-
return ISO6391.validate(code) ? LANGUAGES_LIST[code].nativeName : '';
|
|
1459
|
-
}
|
|
1460
|
-
|
|
1461
|
-
static getAllNativeNames() {
|
|
1462
|
-
return LANGUAGE_NATIVE_NAMES.slice();
|
|
1463
|
-
}
|
|
1464
|
-
|
|
1465
|
-
static getCode(name) {
|
|
1466
|
-
name = name.toLowerCase();
|
|
1467
|
-
return LANGUAGES_BY_NAME.hasOwnProperty(name)
|
|
1468
|
-
? LANGUAGES_BY_NAME[name].code
|
|
1469
|
-
: '';
|
|
1470
|
-
}
|
|
1471
|
-
|
|
1472
|
-
static getAllCodes() {
|
|
1473
|
-
return LANGUAGE_CODES.slice();
|
|
1474
|
-
}
|
|
1475
|
-
|
|
1476
|
-
static validate(code) {
|
|
1477
|
-
return LANGUAGES_LIST.hasOwnProperty(code);
|
|
1478
|
-
}
|
|
1479
|
-
};
|
|
1480
|
-
return src;
|
|
1481
|
-
}
|
|
1482
|
-
|
|
1483
|
-
var srcExports = requireSrc();
|
|
1484
|
-
const ISO6391 = /*@__PURE__*/getDefaultExportFromCjs(srcExports);
|
|
1485
|
-
|
|
1486
|
-
const useLanguages = createSharedComposable(() => {
|
|
1487
|
-
const defaultLanguage = i18n.global.locale.value;
|
|
1488
|
-
const savedLocale = useLocalStorage("VC_LANGUAGE_SETTINGS", "");
|
|
1489
|
-
const currentLocale = computed(() => {
|
|
1490
|
-
let locale = defaultLanguage;
|
|
1491
|
-
if (i18n.global.availableLocales.includes(savedLocale.value)) {
|
|
1492
|
-
locale = savedLocale.value;
|
|
1493
|
-
}
|
|
1494
|
-
return locale;
|
|
1495
|
-
});
|
|
1496
|
-
function setLocale$1(locale) {
|
|
1497
|
-
i18n.global.locale.value = locale;
|
|
1498
|
-
veeValidate.configure({
|
|
1499
|
-
generateMessage: localize(locale, {
|
|
1500
|
-
messages: i18n.global.getLocaleMessage(locale).messages
|
|
1501
|
-
})
|
|
1502
|
-
});
|
|
1503
|
-
setLocale(locale);
|
|
1504
|
-
savedLocale.value = locale;
|
|
1505
|
-
}
|
|
1506
|
-
function getLocaleByTag(localeTag) {
|
|
1507
|
-
if (!localeTag) return;
|
|
1508
|
-
const twoLetterLanguageName = localeTag.split("-")[0];
|
|
1509
|
-
return ISO6391.getNativeName(twoLetterLanguageName);
|
|
1510
|
-
}
|
|
1511
|
-
function resolveCamelCaseLocale(locale) {
|
|
1512
|
-
const formattedLocale = locale.replace(/([a-z]+)([A-Z]+)/g, "$1-$2").toLowerCase();
|
|
1513
|
-
if (i18n.global.getLocaleMessage(formattedLocale)) {
|
|
1514
|
-
return formattedLocale;
|
|
1515
|
-
}
|
|
1516
|
-
return "en";
|
|
1517
|
-
}
|
|
1518
|
-
function getCountryCode(language) {
|
|
1519
|
-
return languageToCountryMap[language.toLocaleLowerCase()] || languageToCountryMap[language.slice(0, 2)] || "xx";
|
|
1520
|
-
}
|
|
1521
|
-
async function getFlag(language) {
|
|
1522
|
-
const countryCode = getCountryCode(language);
|
|
1523
|
-
return new URL((/* #__PURE__ */ Object.assign({"../../../assets/icons/flags/al.svg": __vite_glob_0_0,"../../../assets/icons/flags/am.svg": __vite_glob_0_1,"../../../assets/icons/flags/az.svg": __vite_glob_0_2,"../../../assets/icons/flags/ba.svg": __vite_glob_0_3,"../../../assets/icons/flags/bd.svg": __vite_glob_0_4,"../../../assets/icons/flags/bg.svg": __vite_glob_0_5,"../../../assets/icons/flags/by.svg": __vite_glob_0_6,"../../../assets/icons/flags/cn.svg": __vite_glob_0_7,"../../../assets/icons/flags/cz.svg": __vite_glob_0_8,"../../../assets/icons/flags/de.svg": __vite_glob_0_9,"../../../assets/icons/flags/dk.svg": __vite_glob_0_10,"../../../assets/icons/flags/ee.svg": __vite_glob_0_11,"../../../assets/icons/flags/es.svg": __vite_glob_0_12,"../../../assets/icons/flags/fi.svg": __vite_glob_0_13,"../../../assets/icons/flags/fr.svg": __vite_glob_0_14,"../../../assets/icons/flags/gb.svg": __vite_glob_0_15,"../../../assets/icons/flags/ge.svg": __vite_glob_0_16,"../../../assets/icons/flags/gr.svg": __vite_glob_0_17,"../../../assets/icons/flags/hr.svg": __vite_glob_0_18,"../../../assets/icons/flags/hu.svg": __vite_glob_0_19,"../../../assets/icons/flags/id.svg": __vite_glob_0_20,"../../../assets/icons/flags/il.svg": __vite_glob_0_21,"../../../assets/icons/flags/in.svg": __vite_glob_0_22,"../../../assets/icons/flags/ir.svg": __vite_glob_0_23,"../../../assets/icons/flags/is.svg": __vite_glob_0_24,"../../../assets/icons/flags/it.svg": __vite_glob_0_25,"../../../assets/icons/flags/jp.svg": __vite_glob_0_26,"../../../assets/icons/flags/kg.svg": __vite_glob_0_27,"../../../assets/icons/flags/kh.svg": __vite_glob_0_28,"../../../assets/icons/flags/kr.svg": __vite_glob_0_29,"../../../assets/icons/flags/kz.svg": __vite_glob_0_30,"../../../assets/icons/flags/lk.svg": __vite_glob_0_31,"../../../assets/icons/flags/lt.svg": __vite_glob_0_32,"../../../assets/icons/flags/lv.svg": __vite_glob_0_33,"../../../assets/icons/flags/mk.svg": __vite_glob_0_34,"../../../assets/icons/flags/mn.svg": __vite_glob_0_35,"../../../assets/icons/flags/my.svg": __vite_glob_0_36,"../../../assets/icons/flags/ng.svg": __vite_glob_0_37,"../../../assets/icons/flags/nl.svg": __vite_glob_0_38,"../../../assets/icons/flags/no.svg": __vite_glob_0_39,"../../../assets/icons/flags/np.svg": __vite_glob_0_40,"../../../assets/icons/flags/ph.svg": __vite_glob_0_41,"../../../assets/icons/flags/pk.svg": __vite_glob_0_42,"../../../assets/icons/flags/pl.svg": __vite_glob_0_43,"../../../assets/icons/flags/pt.svg": __vite_glob_0_44,"../../../assets/icons/flags/ro.svg": __vite_glob_0_45,"../../../assets/icons/flags/rs.svg": __vite_glob_0_46,"../../../assets/icons/flags/ru.svg": __vite_glob_0_47,"../../../assets/icons/flags/sa.svg": __vite_glob_0_48,"../../../assets/icons/flags/se.svg": __vite_glob_0_49,"../../../assets/icons/flags/si.svg": __vite_glob_0_50,"../../../assets/icons/flags/sk.svg": __vite_glob_0_51,"../../../assets/icons/flags/th.svg": __vite_glob_0_52,"../../../assets/icons/flags/tr.svg": __vite_glob_0_53,"../../../assets/icons/flags/tz.svg": __vite_glob_0_54,"../../../assets/icons/flags/ua.svg": __vite_glob_0_55,"../../../assets/icons/flags/us.svg": __vite_glob_0_56,"../../../assets/icons/flags/uz.svg": __vite_glob_0_57,"../../../assets/icons/flags/vn.svg": __vite_glob_0_58,"../../../assets/icons/flags/xx.svg": __vite_glob_0_59,"../../../assets/icons/flags/za.svg": __vite_glob_0_60}))[`../../../assets/icons/flags/${countryCode}.svg`], import.meta.url).href;
|
|
1524
|
-
}
|
|
1525
|
-
return {
|
|
1526
|
-
setLocale: setLocale$1,
|
|
1527
|
-
currentLocale,
|
|
1528
|
-
getLocaleByTag,
|
|
1529
|
-
resolveCamelCaseLocale,
|
|
1530
|
-
getFlag,
|
|
1531
|
-
getCountryCode
|
|
1532
|
-
};
|
|
1533
|
-
});
|
|
1534
|
-
|
|
1535
|
-
function useAppInsights() {
|
|
1536
|
-
const appInsights = useAppInsights$1();
|
|
1537
|
-
const { user } = useUser();
|
|
1538
|
-
const appInsightsOptions = inject("appInsightsOptions");
|
|
1539
|
-
function setupPageTracking() {
|
|
1540
|
-
const appName = appInsightsOptions?.appName ? `[${appInsightsOptions.appName}] ` : "";
|
|
1541
|
-
const pageName = (route) => `${appName}${route.name}`;
|
|
1542
|
-
function beforeEach(route) {
|
|
1543
|
-
if (!appInsights) return;
|
|
1544
|
-
const name = pageName(route);
|
|
1545
|
-
appInsights.context.telemetryTrace.traceID = generateW3CId();
|
|
1546
|
-
appInsights.context.telemetryTrace.name = route.name;
|
|
1547
|
-
appInsights.startTrackPage(name);
|
|
1548
|
-
}
|
|
1549
|
-
function afterEach(route) {
|
|
1550
|
-
if (!appInsights) return;
|
|
1551
|
-
const name = pageName(route);
|
|
1552
|
-
const url = location.protocol + "//" + location.host + route.fullPath;
|
|
1553
|
-
appInsights.stopTrackPage(name, url, {
|
|
1554
|
-
userId: user.value?.id ?? "",
|
|
1555
|
-
userName: user.value?.userName ?? ""
|
|
1556
|
-
});
|
|
1557
|
-
}
|
|
1558
|
-
return {
|
|
1559
|
-
beforeEach,
|
|
1560
|
-
afterEach
|
|
1561
|
-
};
|
|
1562
|
-
}
|
|
1563
|
-
return {
|
|
1564
|
-
setupPageTracking: setupPageTracking()
|
|
1565
|
-
};
|
|
1566
|
-
}
|
|
1567
|
-
|
|
1568
|
-
const preregisteredAppBarMenuItems = [];
|
|
1569
|
-
const appBarMenuItems = ref(/* @__PURE__ */ new Map());
|
|
1570
|
-
function addAppBarWidget(item) {
|
|
1571
|
-
const id = item.id || crypto.randomUUID();
|
|
1572
|
-
preregisteredAppBarMenuItems.push({
|
|
1573
|
-
id,
|
|
1574
|
-
order: item.order ?? preregisteredAppBarMenuItems.length,
|
|
1575
|
-
icon: item.icon,
|
|
1576
|
-
component: item.component,
|
|
1577
|
-
props: item.props,
|
|
1578
|
-
onClick: item.onClick,
|
|
1579
|
-
slot: item.slot,
|
|
1580
|
-
badge: item.badge
|
|
1581
|
-
});
|
|
1582
|
-
}
|
|
1583
|
-
function createAppBarWidgetService() {
|
|
1584
|
-
const register = (options) => {
|
|
1585
|
-
const id = options.id || crypto.randomUUID();
|
|
1586
|
-
appBarMenuItems.value.set(id, {
|
|
1587
|
-
id,
|
|
1588
|
-
order: options.order ?? appBarMenuItems.value.size,
|
|
1589
|
-
icon: options.icon,
|
|
1590
|
-
component: options.component,
|
|
1591
|
-
props: options.props,
|
|
1592
|
-
onClick: options.onClick,
|
|
1593
|
-
slot: options.slot,
|
|
1594
|
-
badge: options.badge
|
|
1595
|
-
});
|
|
1596
|
-
return id;
|
|
1597
|
-
};
|
|
1598
|
-
const unregister = (id) => {
|
|
1599
|
-
appBarMenuItems.value.delete(id);
|
|
1600
|
-
};
|
|
1601
|
-
const items = computed(() => {
|
|
1602
|
-
return Array.from(appBarMenuItems.value.values()).sort((a, b) => (a.order ?? 0) - (b.order ?? 0));
|
|
1603
|
-
});
|
|
1604
|
-
preregisteredAppBarMenuItems.forEach((item) => {
|
|
1605
|
-
try {
|
|
1606
|
-
register(item);
|
|
1607
|
-
} catch (e) {
|
|
1608
|
-
console.warn(`Failed to register pre-added AppBar widget ${item.id}:`, e);
|
|
1609
|
-
}
|
|
1610
|
-
});
|
|
1611
|
-
return {
|
|
1612
|
-
register,
|
|
1613
|
-
unregister,
|
|
1614
|
-
items
|
|
1615
|
-
};
|
|
1616
|
-
}
|
|
1617
|
-
|
|
1618
|
-
function provideAppBarWidget() {
|
|
1619
|
-
const service = createAppBarWidgetService();
|
|
1620
|
-
provide(AppBarWidgetServiceKey, service);
|
|
1621
|
-
return service;
|
|
1622
|
-
}
|
|
1623
|
-
function useAppBarWidget() {
|
|
1624
|
-
const service = inject(AppBarWidgetServiceKey);
|
|
1625
|
-
if (!service) {
|
|
1626
|
-
throw new Error("AppBarWidgetService not found");
|
|
1627
|
-
}
|
|
1628
|
-
return service;
|
|
1629
|
-
}
|
|
1630
|
-
|
|
1631
|
-
const preregisteredToolbarItems = [];
|
|
1632
|
-
function createToolbarService() {
|
|
1633
|
-
const toolbarRegistry = reactive({});
|
|
1634
|
-
const registeredToolbarItems = reactive([]);
|
|
1635
|
-
const registeredIds = reactive(/* @__PURE__ */ new Set());
|
|
1636
|
-
const registerToolbarItem2 = (toolbarItem, bladeId) => {
|
|
1637
|
-
if (!toolbarRegistry[bladeId]) {
|
|
1638
|
-
toolbarRegistry[bladeId] = [];
|
|
1639
|
-
}
|
|
1640
|
-
const existingIndex = toolbarRegistry[bladeId].findIndex((t) => t.id === toolbarItem.id);
|
|
1641
|
-
if (existingIndex === -1) {
|
|
1642
|
-
toolbarRegistry[bladeId].push(reactive(toolbarItem));
|
|
1643
|
-
registeredToolbarItems.push({ bladeId, toolbarItem: reactive(toolbarItem) });
|
|
1644
|
-
registeredIds.add(toolbarItem.id);
|
|
1645
|
-
}
|
|
1646
|
-
};
|
|
1647
|
-
const updateToolbarItem = ({
|
|
1648
|
-
id,
|
|
1649
|
-
bladeId,
|
|
1650
|
-
toolbarItem
|
|
1651
|
-
}) => {
|
|
1652
|
-
if (toolbarRegistry[bladeId]) {
|
|
1653
|
-
const index = toolbarRegistry[bladeId].findIndex((t) => t.id === id);
|
|
1654
|
-
if (index !== -1) {
|
|
1655
|
-
toolbarRegistry[bladeId][index] = { ...toolbarRegistry[bladeId][index], ...toolbarItem };
|
|
1656
|
-
}
|
|
1657
|
-
}
|
|
1658
|
-
};
|
|
1659
|
-
const unregisterToolbarItem = (toolbarItemId, bladeId) => {
|
|
1660
|
-
if (toolbarRegistry[bladeId]) {
|
|
1661
|
-
const index = toolbarRegistry[bladeId].findIndex((t) => t.id === toolbarItemId);
|
|
1662
|
-
if (index !== -1) {
|
|
1663
|
-
toolbarRegistry[bladeId].splice(index, 1);
|
|
1664
|
-
registeredIds.delete(toolbarItemId);
|
|
1665
|
-
}
|
|
1666
|
-
}
|
|
1667
|
-
const regIndex = registeredToolbarItems.findIndex(
|
|
1668
|
-
(t) => t.bladeId === bladeId && t.toolbarItem.id === toolbarItemId
|
|
1669
|
-
);
|
|
1670
|
-
if (regIndex !== -1) {
|
|
1671
|
-
registeredToolbarItems.splice(regIndex, 1);
|
|
1672
|
-
}
|
|
1673
|
-
};
|
|
1674
|
-
const getToolbarItems = (bladeId) => {
|
|
1675
|
-
return toolbarRegistry[bladeId] || [];
|
|
1676
|
-
};
|
|
1677
|
-
const clearBladeToolbarItems = (bladeId) => {
|
|
1678
|
-
if (toolbarRegistry[bladeId]) {
|
|
1679
|
-
toolbarRegistry[bladeId].forEach((toolbarItem) => {
|
|
1680
|
-
registeredIds.delete(toolbarItem.id);
|
|
1681
|
-
});
|
|
1682
|
-
delete toolbarRegistry[bladeId];
|
|
1683
|
-
}
|
|
1684
|
-
const indices = registeredToolbarItems.map((t, i) => t.bladeId === bladeId ? i : -1).filter((i) => i !== -1).reverse();
|
|
1685
|
-
indices.forEach((index) => {
|
|
1686
|
-
registeredToolbarItems.splice(index, 1);
|
|
1687
|
-
});
|
|
1688
|
-
};
|
|
1689
|
-
const isToolbarItemRegistered = (id) => {
|
|
1690
|
-
return registeredIds.has(id);
|
|
1691
|
-
};
|
|
1692
|
-
preregisteredToolbarItems.forEach((item) => {
|
|
1693
|
-
try {
|
|
1694
|
-
registerToolbarItem2(item.toolbarItem, item.bladeId);
|
|
1695
|
-
} catch (e) {
|
|
1696
|
-
console.warn(`Failed to register preregistered toolbar item ${item.toolbarItem.id}:`, e);
|
|
1697
|
-
}
|
|
1698
|
-
});
|
|
1699
|
-
return {
|
|
1700
|
-
registerToolbarItem: registerToolbarItem2,
|
|
1701
|
-
unregisterToolbarItem,
|
|
1702
|
-
getToolbarItems,
|
|
1703
|
-
clearBladeToolbarItems,
|
|
1704
|
-
registeredToolbarItems,
|
|
1705
|
-
isToolbarItemRegistered,
|
|
1706
|
-
updateToolbarItem
|
|
1707
|
-
};
|
|
1708
|
-
}
|
|
1709
|
-
|
|
1710
|
-
let globalToolbarService = null;
|
|
1711
|
-
function useToolbar() {
|
|
1712
|
-
const toolbarService = inject(TOOLBAR_SERVICE, null);
|
|
1713
|
-
if (!toolbarService && !globalToolbarService) {
|
|
1714
|
-
globalToolbarService = createToolbarService();
|
|
1715
|
-
}
|
|
1716
|
-
const service = toolbarService || globalToolbarService;
|
|
1717
|
-
if (!service) {
|
|
1718
|
-
throw new Error("Toolbar service is not available");
|
|
1719
|
-
}
|
|
1720
|
-
const blade = inject(
|
|
1721
|
-
BladeInstance,
|
|
1722
|
-
computed(() => ({
|
|
1723
|
-
id: FALLBACK_BLADE_ID,
|
|
1724
|
-
expandable: false,
|
|
1725
|
-
maximized: false,
|
|
1726
|
-
error: void 0,
|
|
1727
|
-
navigation: void 0,
|
|
1728
|
-
breadcrumbs: void 0
|
|
1729
|
-
}))
|
|
1730
|
-
);
|
|
1731
|
-
const bladeId = computed(() => blade.value?.id ?? FALLBACK_BLADE_ID);
|
|
1732
|
-
const registerToolbarItem = (toolbarItem) => {
|
|
1733
|
-
service.registerToolbarItem(toolbarItem, bladeId.value);
|
|
1734
|
-
};
|
|
1735
|
-
const unregisterToolbarItem = (toolbarItemId) => {
|
|
1736
|
-
service.unregisterToolbarItem(toolbarItemId, bladeId.value);
|
|
1737
|
-
};
|
|
1738
|
-
const updateToolbarItem = (id, toolbarItem) => {
|
|
1739
|
-
service.updateToolbarItem({ id, bladeId: bladeId.value, toolbarItem });
|
|
1740
|
-
};
|
|
1741
|
-
const getToolbarItems = () => {
|
|
1742
|
-
return service.getToolbarItems(bladeId.value);
|
|
1743
|
-
};
|
|
1744
|
-
const clearBladeToolbarItems = () => {
|
|
1745
|
-
service.clearBladeToolbarItems(bladeId.value);
|
|
1746
|
-
};
|
|
1747
|
-
const instance = getCurrentInstance();
|
|
1748
|
-
if (instance) {
|
|
1749
|
-
onBeforeUnmount(() => {
|
|
1750
|
-
clearBladeToolbarItems();
|
|
1751
|
-
});
|
|
1752
|
-
}
|
|
1753
|
-
return {
|
|
1754
|
-
registerToolbarItem,
|
|
1755
|
-
unregisterToolbarItem,
|
|
1756
|
-
updateToolbarItem,
|
|
1757
|
-
getToolbarItems,
|
|
1758
|
-
clearBladeToolbarItems,
|
|
1759
|
-
isToolbarItemRegistered: service.isToolbarItemRegistered,
|
|
1760
|
-
registeredToolbarItems: service.registeredToolbarItems
|
|
1761
|
-
};
|
|
1762
|
-
}
|
|
1763
|
-
|
|
1764
|
-
const coreComposables = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
1765
|
-
__proto__: null,
|
|
1766
|
-
addAppBarWidget,
|
|
1767
|
-
addMenuItem,
|
|
1768
|
-
addSettingsMenuItem,
|
|
1769
|
-
provideAppBarWidget,
|
|
1770
|
-
provideDashboardService,
|
|
1771
|
-
provideMenuService,
|
|
1772
|
-
provideSettingsMenu,
|
|
1773
|
-
provideWidgetService,
|
|
1774
|
-
registerDashboardWidget,
|
|
1775
|
-
registerWidget,
|
|
1776
|
-
useApiClient,
|
|
1777
|
-
useAppBarWidget,
|
|
1778
|
-
useAppInsights,
|
|
1779
|
-
useAssets,
|
|
1780
|
-
useAsync,
|
|
1781
|
-
useBeforeUnload,
|
|
1782
|
-
useBreadcrumbs,
|
|
1783
|
-
useDashboard,
|
|
1784
|
-
useErrorHandler,
|
|
1785
|
-
useFunctions,
|
|
1786
|
-
useLanguages,
|
|
1787
|
-
useLoading,
|
|
1788
|
-
useMenuService,
|
|
1789
|
-
useNotifications,
|
|
1790
|
-
usePermissions,
|
|
1791
|
-
useSettings,
|
|
1792
|
-
useSettingsMenu,
|
|
1793
|
-
useTheme,
|
|
1794
|
-
useToolbar,
|
|
1795
|
-
useUser,
|
|
1796
|
-
useWidgets
|
|
1797
|
-
}, Symbol.toStringTag, { value: 'Module' }));
|
|
1798
|
-
|
|
1799
|
-
export { useErrorHandler as a, useAppInsights as b, useSettings as c, useToolbar as d, coreComposables as e, useLanguages as f, createToolbarService as g, createAppBarWidgetService as h, useFunctions as i, useAsync as j, useApiClient as k, useLoading as l, useAssets as m, useBeforeUnload as n, useAppBarWidget as o, provideAppBarWidget as p, addAppBarWidget as q, useNotifications as u };
|