akpm-knowledge-base-chat 2.0.7 → 2.0.8
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/CDN/akb-chat.js +640 -633
- package/package.json +1 -1
package/CDN/akb-chat.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* Version: 2.0.
|
|
1
|
+
/* Version: 2.0.8 */
|
|
2
2
|
var lo = Object.defineProperty;
|
|
3
3
|
var Js = (t) => {
|
|
4
4
|
throw TypeError(t);
|
|
@@ -2897,167 +2897,170 @@ function ci(t) {
|
|
|
2897
2897
|
function ec(t) {
|
|
2898
2898
|
return Ql.includes(t);
|
|
2899
2899
|
}
|
|
2900
|
-
const tc = /* @__NO_SIDE_EFFECTS__ */ () => "Assistente AI", nc = /* @__NO_SIDE_EFFECTS__ */ () => "Scrivi un messaggio...", rc = /* @__NO_SIDE_EFFECTS__ */ () => "Aggiungi allegato", sc = /* @__NO_SIDE_EFFECTS__ */ () => "Normative", ic = /* @__NO_SIDE_EFFECTS__ */ () => "Normativa", ac = /* @__NO_SIDE_EFFECTS__ */ () => "Scegli", oc = /* @__NO_SIDE_EFFECTS__ */ () => "Carica file", lc = /* @__NO_SIDE_EFFECTS__ */ () => "Documento Comune", cc = /* @__NO_SIDE_EFFECTS__ */ () => "Interrompi registrazione", uc = /* @__NO_SIDE_EFFECTS__ */ () => "Inizia registrazione", dc = /* @__NO_SIDE_EFFECTS__ */ () => "Invia messaggio", fc = /* @__NO_SIDE_EFFECTS__ */ (t) => `Sei sicuro di voler eliminare la chat: ${t.chatTitle}?`, pc = /* @__NO_SIDE_EFFECTS__ */ () => "Nuova Chat", hc = /* @__NO_SIDE_EFFECTS__ */ () => "Cronologia", vc = /* @__NO_SIDE_EFFECTS__ */ () => "Attiva volume", gc = /* @__NO_SIDE_EFFECTS__ */ () => "Disattiva volume", mc = /* @__NO_SIDE_EFFECTS__ */ () => "Mostra cronologia", bc = /* @__NO_SIDE_EFFECTS__ */ () => "Chiudi", xc = /* @__NO_SIDE_EFFECTS__ */ () => "Fonti", wc = /* @__NO_SIDE_EFFECTS__ */ () => "Visualizza allegato", _c = /* @__NO_SIDE_EFFECTS__ */ () => "Cerca", kc = /* @__NO_SIDE_EFFECTS__ */ () => "Documenti", yc = /* @__NO_SIDE_EFFECTS__ */ () => "Ricerca in corso...", zc = /* @__NO_SIDE_EFFECTS__ */ () => "Inserisci almeno 3 caratteri per iniziare la ricerca", $c = /* @__NO_SIDE_EFFECTS__ */ () => "Nessuna normativa trovata", Tc = /* @__NO_SIDE_EFFECTS__ */ () => "Nessun documento trovato", Sc = /* @__NO_SIDE_EFFECTS__ */ () => "
|
|
2901
|
-
en: qc,
|
|
2902
|
-
it: tc
|
|
2903
|
-
})[e.languageTag ?? Q()](), Lu = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
|
|
2900
|
+
const tc = /* @__NO_SIDE_EFFECTS__ */ () => "Assistente AI", nc = /* @__NO_SIDE_EFFECTS__ */ () => "Scrivi un messaggio...", rc = /* @__NO_SIDE_EFFECTS__ */ () => "Aggiungi allegato", sc = /* @__NO_SIDE_EFFECTS__ */ () => "Normative", ic = /* @__NO_SIDE_EFFECTS__ */ () => "Normativa", ac = /* @__NO_SIDE_EFFECTS__ */ () => "Scegli", oc = /* @__NO_SIDE_EFFECTS__ */ () => "Carica file", lc = /* @__NO_SIDE_EFFECTS__ */ () => "Documento Comune", cc = /* @__NO_SIDE_EFFECTS__ */ () => "Interrompi registrazione", uc = /* @__NO_SIDE_EFFECTS__ */ () => "Inizia registrazione", dc = /* @__NO_SIDE_EFFECTS__ */ () => "Invia messaggio", fc = /* @__NO_SIDE_EFFECTS__ */ (t) => `Sei sicuro di voler eliminare la chat: ${t.chatTitle}?`, pc = /* @__NO_SIDE_EFFECTS__ */ () => "Nuova Chat", hc = /* @__NO_SIDE_EFFECTS__ */ () => "Cronologia", vc = /* @__NO_SIDE_EFFECTS__ */ () => "Attiva volume", gc = /* @__NO_SIDE_EFFECTS__ */ () => "Disattiva volume", mc = /* @__NO_SIDE_EFFECTS__ */ () => "Mostra cronologia", bc = /* @__NO_SIDE_EFFECTS__ */ () => "Chiudi", xc = /* @__NO_SIDE_EFFECTS__ */ () => "Fonti", wc = /* @__NO_SIDE_EFFECTS__ */ () => "Visualizza allegato", _c = /* @__NO_SIDE_EFFECTS__ */ () => "Cerca", kc = /* @__NO_SIDE_EFFECTS__ */ () => "Documenti", yc = /* @__NO_SIDE_EFFECTS__ */ () => "Ricerca in corso...", zc = /* @__NO_SIDE_EFFECTS__ */ () => "Inserisci almeno 3 caratteri per iniziare la ricerca", $c = /* @__NO_SIDE_EFFECTS__ */ () => "Nessuna normativa trovata", Tc = /* @__NO_SIDE_EFFECTS__ */ () => "Nessun documento trovato", Sc = /* @__NO_SIDE_EFFECTS__ */ () => "Documento non trovato nella knowledge base", Ec = /* @__NO_SIDE_EFFECTS__ */ () => "Riproduci", Cc = /* @__NO_SIDE_EFFECTS__ */ () => "Pausa", Ic = /* @__NO_SIDE_EFFECTS__ */ () => "Errore durante l'invio del messaggio. Riprova.", Ac = /* @__NO_SIDE_EFFECTS__ */ () => "Nessuna chat attiva. Crea una nuova chat per iniziare.", Lc = /* @__NO_SIDE_EFFECTS__ */ () => "Errore durante il caricamento del nome utente.", jc = /* @__NO_SIDE_EFFECTS__ */ () => "Manuale Suite", Rc = /* @__NO_SIDE_EFFECTS__ */ () => "Ferma", Dc = /* @__NO_SIDE_EFFECTS__ */ () => "Copia elenco fonti", Fc = /* @__NO_SIDE_EFFECTS__ */ () => "Fonti copiate!", Oc = /* @__NO_SIDE_EFFECTS__ */ () => "Copia", Pc = /* @__NO_SIDE_EFFECTS__ */ () => "Copiato!", Mc = /* @__NO_SIDE_EFFECTS__ */ (t) => `Hai raggiunto il numero massimo di ${t.count} allegati consentiti.`, Nc = /* @__NO_SIDE_EFFECTS__ */ () => "Nessun gendoc trovato", Uc = /* @__NO_SIDE_EFFECTS__ */ () => "Nessuna trascrizione trovata", Bc = /* @__NO_SIDE_EFFECTS__ */ () => "Trascina i file qui", qc = /* @__NO_SIDE_EFFECTS__ */ () => "L'agente selezionato non supporta file esterni.", Hc = /* @__NO_SIDE_EFFECTS__ */ () => "AI Assistant", Yc = /* @__NO_SIDE_EFFECTS__ */ () => "Type your message here...", Gc = /* @__NO_SIDE_EFFECTS__ */ () => "Add attachment", Jc = /* @__NO_SIDE_EFFECTS__ */ () => "Normatives", Wc = /* @__NO_SIDE_EFFECTS__ */ () => "Normative", Zc = /* @__NO_SIDE_EFFECTS__ */ () => "Choose", Xc = /* @__NO_SIDE_EFFECTS__ */ () => "Upload file", Vc = /* @__NO_SIDE_EFFECTS__ */ () => "Common Document", Qc = /* @__NO_SIDE_EFFECTS__ */ () => "Stop recording", Kc = /* @__NO_SIDE_EFFECTS__ */ () => "Start recording", eu = /* @__NO_SIDE_EFFECTS__ */ () => "Send message", tu = /* @__NO_SIDE_EFFECTS__ */ (t) => `Are you sure you want to delete the chat: ${t.chatTitle}?`, nu = /* @__NO_SIDE_EFFECTS__ */ () => "New Chat", ru = /* @__NO_SIDE_EFFECTS__ */ () => "History", su = /* @__NO_SIDE_EFFECTS__ */ () => "Unmute", iu = /* @__NO_SIDE_EFFECTS__ */ () => "Mute", au = /* @__NO_SIDE_EFFECTS__ */ () => "Show history", ou = /* @__NO_SIDE_EFFECTS__ */ () => "Close", lu = /* @__NO_SIDE_EFFECTS__ */ () => "Sources", cu = /* @__NO_SIDE_EFFECTS__ */ () => "View attachment", uu = /* @__NO_SIDE_EFFECTS__ */ () => "Search", du = /* @__NO_SIDE_EFFECTS__ */ () => "Documents", fu = /* @__NO_SIDE_EFFECTS__ */ () => "Search in progress...", pu = /* @__NO_SIDE_EFFECTS__ */ () => "Please enter at least 3 characters to start the search", hu = /* @__NO_SIDE_EFFECTS__ */ () => "No normative found", vu = /* @__NO_SIDE_EFFECTS__ */ () => "No document found", gu = /* @__NO_SIDE_EFFECTS__ */ () => "Document not found in the knowledge base", mu = /* @__NO_SIDE_EFFECTS__ */ () => "Play", bu = /* @__NO_SIDE_EFFECTS__ */ () => "Pause", xu = /* @__NO_SIDE_EFFECTS__ */ () => "Error sending message. Please try again.", wu = /* @__NO_SIDE_EFFECTS__ */ () => "No active chat. Please create a new chat to get started.", _u = /* @__NO_SIDE_EFFECTS__ */ () => "Error loading username.", ku = /* @__NO_SIDE_EFFECTS__ */ () => "Suite Manual", yu = /* @__NO_SIDE_EFFECTS__ */ () => "Stop", zu = /* @__NO_SIDE_EFFECTS__ */ () => "Copy sources list", $u = /* @__NO_SIDE_EFFECTS__ */ () => "Sources copied!", Tu = /* @__NO_SIDE_EFFECTS__ */ () => "Copy", Su = /* @__NO_SIDE_EFFECTS__ */ () => "Copied!", Eu = /* @__NO_SIDE_EFFECTS__ */ (t) => `You have reached the maximum number of ${t.count} attachments allowed.`, Cu = /* @__NO_SIDE_EFFECTS__ */ () => "No gendoc found", Iu = /* @__NO_SIDE_EFFECTS__ */ () => "No transcription found", Au = /* @__NO_SIDE_EFFECTS__ */ () => "Drop files here", Lu = /* @__NO_SIDE_EFFECTS__ */ () => "The selected agent does not support external files.", ju = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
|
|
2904
2901
|
en: Hc,
|
|
2905
|
-
it:
|
|
2906
|
-
})[e.languageTag ?? Q()](),
|
|
2902
|
+
it: tc
|
|
2903
|
+
})[e.languageTag ?? Q()](), Ru = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
|
|
2907
2904
|
en: Yc,
|
|
2905
|
+
it: nc
|
|
2906
|
+
})[e.languageTag ?? Q()](), Du = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
|
|
2907
|
+
en: Gc,
|
|
2908
2908
|
it: rc
|
|
2909
2909
|
})[e.languageTag ?? Q()](), $a = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
|
|
2910
|
-
en: Gc,
|
|
2911
|
-
it: sc
|
|
2912
|
-
})[e.languageTag ?? Q()](), Ru = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
|
|
2913
2910
|
en: Jc,
|
|
2914
|
-
it:
|
|
2915
|
-
})[e.languageTag ?? Q()](), Du = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
|
|
2916
|
-
en: Wc,
|
|
2917
|
-
it: ac
|
|
2911
|
+
it: sc
|
|
2918
2912
|
})[e.languageTag ?? Q()](), Fu = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
|
|
2919
|
-
en:
|
|
2920
|
-
it:
|
|
2913
|
+
en: Wc,
|
|
2914
|
+
it: ic
|
|
2921
2915
|
})[e.languageTag ?? Q()](), Ou = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
|
|
2922
|
-
en:
|
|
2923
|
-
it:
|
|
2916
|
+
en: Zc,
|
|
2917
|
+
it: ac
|
|
2924
2918
|
})[e.languageTag ?? Q()](), Pu = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
|
|
2925
|
-
en:
|
|
2926
|
-
it:
|
|
2919
|
+
en: Xc,
|
|
2920
|
+
it: oc
|
|
2927
2921
|
})[e.languageTag ?? Q()](), Mu = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
|
|
2928
|
-
en:
|
|
2929
|
-
it:
|
|
2922
|
+
en: Vc,
|
|
2923
|
+
it: lc
|
|
2930
2924
|
})[e.languageTag ?? Q()](), Nu = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
|
|
2925
|
+
en: Qc,
|
|
2926
|
+
it: cc
|
|
2927
|
+
})[e.languageTag ?? Q()](), Uu = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
|
|
2931
2928
|
en: Kc,
|
|
2932
|
-
it:
|
|
2933
|
-
})[e.languageTag ?? Q()](),
|
|
2929
|
+
it: uc
|
|
2930
|
+
})[e.languageTag ?? Q()](), Bu = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
|
|
2934
2931
|
en: eu,
|
|
2932
|
+
it: dc
|
|
2933
|
+
})[e.languageTag ?? Q()](), qu = /* @__NO_SIDE_EFFECTS__ */ (t, e = {}) => ({
|
|
2934
|
+
en: tu,
|
|
2935
2935
|
it: fc
|
|
2936
2936
|
})[e.languageTag ?? Q()](t), Ta = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
|
|
2937
|
-
en:
|
|
2937
|
+
en: nu,
|
|
2938
2938
|
it: pc
|
|
2939
2939
|
})[e.languageTag ?? Q()](), Sa = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
|
|
2940
|
-
en: nu,
|
|
2941
|
-
it: hc
|
|
2942
|
-
})[e.languageTag ?? Q()](), Bu = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
|
|
2943
2940
|
en: ru,
|
|
2944
|
-
it:
|
|
2945
|
-
})[e.languageTag ?? Q()](), qu = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
|
|
2946
|
-
en: su,
|
|
2947
|
-
it: gc
|
|
2941
|
+
it: hc
|
|
2948
2942
|
})[e.languageTag ?? Q()](), Hu = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
|
|
2949
|
-
en:
|
|
2950
|
-
it:
|
|
2943
|
+
en: su,
|
|
2944
|
+
it: vc
|
|
2951
2945
|
})[e.languageTag ?? Q()](), Yu = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
|
|
2952
|
-
en:
|
|
2953
|
-
it:
|
|
2946
|
+
en: iu,
|
|
2947
|
+
it: gc
|
|
2954
2948
|
})[e.languageTag ?? Q()](), Gu = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
|
|
2949
|
+
en: au,
|
|
2950
|
+
it: mc
|
|
2951
|
+
})[e.languageTag ?? Q()](), Ju = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
|
|
2955
2952
|
en: ou,
|
|
2953
|
+
it: bc
|
|
2954
|
+
})[e.languageTag ?? Q()](), Wu = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
|
|
2955
|
+
en: lu,
|
|
2956
2956
|
it: xc
|
|
2957
2957
|
})[e.languageTag ?? Q()](), ui = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
|
|
2958
|
-
en: lu,
|
|
2959
|
-
it: wc
|
|
2960
|
-
})[e.languageTag ?? Q()](), Ju = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
|
|
2961
2958
|
en: cu,
|
|
2959
|
+
it: wc
|
|
2960
|
+
})[e.languageTag ?? Q()](), Zu = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
|
|
2961
|
+
en: uu,
|
|
2962
2962
|
it: _c
|
|
2963
2963
|
})[e.languageTag ?? Q()](), di = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
|
|
2964
|
-
en: uu,
|
|
2965
|
-
it: kc
|
|
2966
|
-
})[e.languageTag ?? Q()](), Wu = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
|
|
2967
2964
|
en: du,
|
|
2968
|
-
it:
|
|
2969
|
-
})[e.languageTag ?? Q()](), Zu = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
|
|
2970
|
-
en: fu,
|
|
2971
|
-
it: zc
|
|
2965
|
+
it: kc
|
|
2972
2966
|
})[e.languageTag ?? Q()](), Xu = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
|
|
2973
|
-
en:
|
|
2974
|
-
it:
|
|
2967
|
+
en: fu,
|
|
2968
|
+
it: yc
|
|
2975
2969
|
})[e.languageTag ?? Q()](), Vu = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
|
|
2976
|
-
en:
|
|
2977
|
-
it:
|
|
2970
|
+
en: pu,
|
|
2971
|
+
it: zc
|
|
2978
2972
|
})[e.languageTag ?? Q()](), Qu = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
|
|
2979
|
-
en:
|
|
2980
|
-
it:
|
|
2973
|
+
en: hu,
|
|
2974
|
+
it: $c
|
|
2981
2975
|
})[e.languageTag ?? Q()](), Ku = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
|
|
2976
|
+
en: vu,
|
|
2977
|
+
it: Tc
|
|
2978
|
+
})[e.languageTag ?? Q()](), ed = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
|
|
2982
2979
|
en: gu,
|
|
2983
|
-
it:
|
|
2984
|
-
})[e.languageTag ?? Q()](),
|
|
2980
|
+
it: Sc
|
|
2981
|
+
})[e.languageTag ?? Q()](), td = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
|
|
2985
2982
|
en: mu,
|
|
2986
|
-
it:
|
|
2987
|
-
})[e.languageTag ?? Q()](),
|
|
2983
|
+
it: Ec
|
|
2984
|
+
})[e.languageTag ?? Q()](), nd = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
|
|
2988
2985
|
en: bu,
|
|
2989
|
-
it:
|
|
2990
|
-
})[e.languageTag ?? Q()](),
|
|
2986
|
+
it: Cc
|
|
2987
|
+
})[e.languageTag ?? Q()](), fi = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
|
|
2991
2988
|
en: xu,
|
|
2992
|
-
it:
|
|
2993
|
-
})[e.languageTag ?? Q()](),
|
|
2989
|
+
it: Ic
|
|
2990
|
+
})[e.languageTag ?? Q()](), rd = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
|
|
2994
2991
|
en: wu,
|
|
2995
|
-
it:
|
|
2996
|
-
})[e.languageTag ?? Q()](),
|
|
2992
|
+
it: Ac
|
|
2993
|
+
})[e.languageTag ?? Q()](), sd = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
|
|
2997
2994
|
en: _u,
|
|
2998
|
-
it:
|
|
2999
|
-
})[e.languageTag ?? Q()](),
|
|
2995
|
+
it: Lc
|
|
2996
|
+
})[e.languageTag ?? Q()](), Ea = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
|
|
3000
2997
|
en: ku,
|
|
3001
|
-
it:
|
|
3002
|
-
})[e.languageTag ?? Q()](),
|
|
2998
|
+
it: jc
|
|
2999
|
+
})[e.languageTag ?? Q()](), id = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
|
|
3003
3000
|
en: yu,
|
|
3004
|
-
it:
|
|
3005
|
-
})[e.languageTag ?? Q()](),
|
|
3001
|
+
it: Rc
|
|
3002
|
+
})[e.languageTag ?? Q()](), Yr = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
|
|
3006
3003
|
en: zu,
|
|
3007
|
-
it:
|
|
3008
|
-
})[e.languageTag ?? Q()](),
|
|
3004
|
+
it: Dc
|
|
3005
|
+
})[e.languageTag ?? Q()](), ad = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
|
|
3009
3006
|
en: $u,
|
|
3010
|
-
it:
|
|
3011
|
-
})[e.languageTag ?? Q()](),
|
|
3007
|
+
it: Fc
|
|
3008
|
+
})[e.languageTag ?? Q()](), od = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
|
|
3012
3009
|
en: Tu,
|
|
3013
|
-
it:
|
|
3014
|
-
})[e.languageTag ?? Q()](
|
|
3010
|
+
it: Oc
|
|
3011
|
+
})[e.languageTag ?? Q()](), pi = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
|
|
3015
3012
|
en: Su,
|
|
3016
|
-
it:
|
|
3017
|
-
})[e.languageTag ?? Q()](),
|
|
3013
|
+
it: Pc
|
|
3014
|
+
})[e.languageTag ?? Q()](), ld = /* @__NO_SIDE_EFFECTS__ */ (t, e = {}) => ({
|
|
3018
3015
|
en: Eu,
|
|
3019
|
-
it:
|
|
3020
|
-
})[e.languageTag ?? Q()](),
|
|
3016
|
+
it: Mc
|
|
3017
|
+
})[e.languageTag ?? Q()](t), cd = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
|
|
3021
3018
|
en: Cu,
|
|
3022
|
-
it:
|
|
3023
|
-
})[e.languageTag ?? Q()](),
|
|
3019
|
+
it: Nc
|
|
3020
|
+
})[e.languageTag ?? Q()](), ud = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
|
|
3024
3021
|
en: Iu,
|
|
3022
|
+
it: Uc
|
|
3023
|
+
})[e.languageTag ?? Q()](), dd = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
|
|
3024
|
+
en: Au,
|
|
3025
3025
|
it: Bc
|
|
3026
|
+
})[e.languageTag ?? Q()](), fd = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
|
|
3027
|
+
en: Lu,
|
|
3028
|
+
it: qc
|
|
3026
3029
|
})[e.languageTag ?? Q()]();
|
|
3027
|
-
var
|
|
3030
|
+
var pd = (t, e) => e(!e()), hd = /* @__PURE__ */ j('<button class="new-chat svelte-ib8fo5"><i class="fa-solid fa-volume-xmark"></i></button>'), vd = (t, e) => e(!e()), gd = /* @__PURE__ */ j('<button class="new-chat svelte-ib8fo5" aria-label="Mute"><i class="fa-solid fa-volume-high"></i></button>'), md = (t, e) => e(!e()), bd = (t, e, n) => {
|
|
3028
3031
|
e() ? (e(!1), setTimeout(
|
|
3029
3032
|
() => {
|
|
3030
3033
|
n(!1);
|
|
3031
3034
|
},
|
|
3032
3035
|
450
|
|
3033
3036
|
)) : n(!1);
|
|
3034
|
-
},
|
|
3035
|
-
const
|
|
3037
|
+
}, xd = /* @__PURE__ */ j('<header class="svelte-ib8fo5"><section class="svelte-ib8fo5"><div class="header-left svelte-ib8fo5"><h1 class="svelte-ib8fo5">Chat</h1> <select class="language-select svelte-ib8fo5" aria-label="Select language"><option>IT</option><option>EN</option></select></div> <div class="buttons svelte-ib8fo5"><!> <button class="new-chat svelte-ib8fo5" aria-label="New chat"><i class="fa-solid fa-comment-medical"></i></button> <button class="history-button svelte-ib8fo5"><i class="fa-solid fa-clock-rotate-left"></i></button> <button class="close-button svelte-ib8fo5"><i class="fa-solid fa-xmark"></i></button></div></section></header>');
|
|
3038
|
+
const wd = {
|
|
3036
3039
|
hash: "svelte-ib8fo5",
|
|
3037
3040
|
code: "header.svelte-ib8fo5 {display:flex;justify-content:center;align-items:center;height:50px;border-radius:30px 30px 0 0;}.header-left.svelte-ib8fo5 {display:flex;align-items:center;gap:12px;}h1.svelte-ib8fo5 {font-size:1.5rem;color:#fff;}.language-select.svelte-ib8fo5 {padding:5px;border-radius:5px;border:none;background:#3c4450;color:white;font-size:20px;font-weight:900;transition:200ms;}.language-select.svelte-ib8fo5:hover {background:#576374;cursor:pointer;}section.svelte-ib8fo5 {display:flex;justify-content:space-between;align-items:center;width:100%;padding:10px;}.buttons.svelte-ib8fo5 {display:flex;gap:10px;}button.svelte-ib8fo5 {display:flex;justify-content:center;align-items:center;border:none;cursor:pointer;border-radius:30px;transition:200ms;}.new-chat.svelte-ib8fo5 {font-size:large;width:30px;height:30px;background:#295dcf;color:white;padding:0;}.new-chat.svelte-ib8fo5:hover {background:#1e3a8a;}.history-button.svelte-ib8fo5 {font-size:large;width:30px;height:30px;background:#295dcf;color:white;font-weight:bold;}.history-button.svelte-ib8fo5:hover {background:#1e3a8a;}.close-button.svelte-ib8fo5 {font-size:large;width:30px;height:30px;background:#295dcf;color:white;}.close-button.svelte-ib8fo5:hover {background:red;}"
|
|
3038
3041
|
};
|
|
3039
3042
|
function Ca(t, e) {
|
|
3040
|
-
se(e, !0), ue(t,
|
|
3043
|
+
se(e, !0), ue(t, wd);
|
|
3041
3044
|
let n = g(e, "show", 15, !1), r = g(e, "showHistory", 15), s = g(e, "actChat", 15), i = g(e, "muted", 15), a = g(e, "languageSelected", 15), o = g(e, "username", 15), c = g(e, "error", 15), l = g(e, "newChat", 7);
|
|
3042
3045
|
Lr(() => {
|
|
3043
3046
|
});
|
|
3044
|
-
var u =
|
|
3047
|
+
var u = xd(), d = z(u), p = z(d), h = O(z(p), 2), w = z(h);
|
|
3045
3048
|
w.value = (w.__value = "it") == null ? "" : "it";
|
|
3046
3049
|
var m = O(w);
|
|
3047
3050
|
m.value = (m.__value = "en") == null ? "" : "en", k(h), k(p);
|
|
3048
3051
|
var S = O(p, 2), x = z(S);
|
|
3049
3052
|
{
|
|
3050
3053
|
var _ = (A) => {
|
|
3051
|
-
var M =
|
|
3052
|
-
M.__click = [
|
|
3054
|
+
var M = hd();
|
|
3055
|
+
M.__click = [pd, i], F(
|
|
3053
3056
|
(Z) => {
|
|
3054
3057
|
N(M, "title", Z), N(M, "aria-label", i() ? "Unmute" : "Mute");
|
|
3055
3058
|
},
|
|
3056
|
-
[() => /* @__PURE__ */
|
|
3059
|
+
[() => /* @__PURE__ */ Hu()]
|
|
3057
3060
|
), T(A, M);
|
|
3058
3061
|
}, y = (A) => {
|
|
3059
|
-
var M =
|
|
3060
|
-
M.__click = [
|
|
3062
|
+
var M = gd();
|
|
3063
|
+
M.__click = [vd, i], F((Z) => N(M, "title", Z), [() => /* @__PURE__ */ Yu()]), T(A, M);
|
|
3061
3064
|
};
|
|
3062
3065
|
K(x, (A) => {
|
|
3063
3066
|
i() ? A(_) : A(y, !1);
|
|
@@ -3069,17 +3072,17 @@ function Ca(t, e) {
|
|
|
3069
3072
|
(M = l()) == null || M.apply(this, A);
|
|
3070
3073
|
};
|
|
3071
3074
|
var E = O(D, 2);
|
|
3072
|
-
E.__click = [
|
|
3075
|
+
E.__click = [md, r];
|
|
3073
3076
|
var L = O(E, 2);
|
|
3074
|
-
return L.__click = [
|
|
3077
|
+
return L.__click = [bd, r, n], k(S), k(d), k(u), F(
|
|
3075
3078
|
(A, M, Z, ee) => {
|
|
3076
3079
|
N(D, "title", A), N(E, "title", M), N(E, "aria-label", Z), N(L, "title", ee), N(L, "aria-label", ee);
|
|
3077
3080
|
},
|
|
3078
3081
|
[
|
|
3079
3082
|
() => /* @__PURE__ */ Ta(),
|
|
3080
3083
|
() => /* @__PURE__ */ Sa(),
|
|
3081
|
-
() => /* @__PURE__ */
|
|
3082
|
-
() => /* @__PURE__ */
|
|
3084
|
+
() => /* @__PURE__ */ Gu(),
|
|
3085
|
+
() => /* @__PURE__ */ Ju()
|
|
3083
3086
|
]
|
|
3084
3087
|
), ya(h, a), xt(3, u, () => Bt, () => ({ duration: 300 })), T(t, u), ie({
|
|
3085
3088
|
get show() {
|
|
@@ -3149,7 +3152,7 @@ oe(
|
|
|
3149
3152
|
[],
|
|
3150
3153
|
!0
|
|
3151
3154
|
);
|
|
3152
|
-
const
|
|
3155
|
+
const _d = () => {
|
|
3153
3156
|
switch (U.getEnvironmentId()) {
|
|
3154
3157
|
case "aks_svi":
|
|
3155
3158
|
return "http://localhost:8082";
|
|
@@ -3160,7 +3163,7 @@ const bd = () => {
|
|
|
3160
3163
|
default:
|
|
3161
3164
|
return "https://aks-knowledge-base-back-573906316236.europe-west1.run.app";
|
|
3162
3165
|
}
|
|
3163
|
-
},
|
|
3166
|
+
}, kd = () => {
|
|
3164
3167
|
switch (U.getEnvironmentId()) {
|
|
3165
3168
|
case "aks_svi":
|
|
3166
3169
|
return "http://localhost:8081";
|
|
@@ -3171,7 +3174,7 @@ const bd = () => {
|
|
|
3171
3174
|
default:
|
|
3172
3175
|
return "https://aks-forge-back-573906316236.europe-west1.run.app";
|
|
3173
3176
|
}
|
|
3174
|
-
},
|
|
3177
|
+
}, yd = () => {
|
|
3175
3178
|
switch (U.getEnvironmentId()) {
|
|
3176
3179
|
case "aks_svi":
|
|
3177
3180
|
return "https://gendoc-back.test.aksiliasuite.com";
|
|
@@ -3182,7 +3185,7 @@ const bd = () => {
|
|
|
3182
3185
|
default:
|
|
3183
3186
|
return "https://gen-doc-back-573906316236.europe-west1.run.app";
|
|
3184
3187
|
}
|
|
3185
|
-
},
|
|
3188
|
+
}, zd = () => {
|
|
3186
3189
|
switch (U.getEnvironmentId()) {
|
|
3187
3190
|
case "aks_svi":
|
|
3188
3191
|
return "http://localhost:8081";
|
|
@@ -3193,7 +3196,7 @@ const bd = () => {
|
|
|
3193
3196
|
default:
|
|
3194
3197
|
return "https://aks-transcription-back-573906316236.europe-west1.run.app";
|
|
3195
3198
|
}
|
|
3196
|
-
},
|
|
3199
|
+
}, $d = () => {
|
|
3197
3200
|
switch (U.getEnvironmentId()) {
|
|
3198
3201
|
case "aks_svi":
|
|
3199
3202
|
return "http://localhost:8080";
|
|
@@ -3204,27 +3207,27 @@ const bd = () => {
|
|
|
3204
3207
|
default:
|
|
3205
3208
|
return "https://aks-orchestrator-back-573906316236.europe-west1.run.app";
|
|
3206
3209
|
}
|
|
3207
|
-
},
|
|
3210
|
+
}, Td = () => {
|
|
3208
3211
|
const e = document.cookie.split(";").find((n) => n.includes("akb-chat-token"));
|
|
3209
3212
|
return e ? e.split("=")[1] : "";
|
|
3210
|
-
},
|
|
3213
|
+
}, Sd = () => {
|
|
3211
3214
|
const e = document.cookie.split(";").find((n) => n.includes("akb-chat-envid"));
|
|
3212
3215
|
return e ? e.split("=")[1] : "";
|
|
3213
|
-
},
|
|
3216
|
+
}, Ed = () => {
|
|
3214
3217
|
const e = document.cookie.split(";").find((n) => n.includes("akb-chat-forge-pinned"));
|
|
3215
3218
|
return e ? e.split("=")[1] === "true" : !0;
|
|
3216
|
-
},
|
|
3219
|
+
}, Cd = (t) => {
|
|
3217
3220
|
document.cookie = `akb-chat-forge-pinned=${t}; path=/; max-age=31536000; SameSite=Lax`;
|
|
3218
3221
|
}, U = {
|
|
3219
|
-
getUrl:
|
|
3220
|
-
getKBUrl:
|
|
3221
|
-
getForgeUrl:
|
|
3222
|
-
getGenDocUrl:
|
|
3223
|
-
getTranscriptionUrl:
|
|
3224
|
-
getToken:
|
|
3225
|
-
getEnvironmentId:
|
|
3226
|
-
getForgeButtonsPinned:
|
|
3227
|
-
setForgeButtonsPinned:
|
|
3222
|
+
getUrl: $d,
|
|
3223
|
+
getKBUrl: _d,
|
|
3224
|
+
getForgeUrl: kd,
|
|
3225
|
+
getGenDocUrl: yd,
|
|
3226
|
+
getTranscriptionUrl: zd,
|
|
3227
|
+
getToken: Td,
|
|
3228
|
+
getEnvironmentId: Sd,
|
|
3229
|
+
getForgeButtonsPinned: Ed,
|
|
3230
|
+
setForgeButtonsPinned: Cd
|
|
3228
3231
|
};
|
|
3229
3232
|
class Ht {
|
|
3230
3233
|
constructor(e, n, r, s, i, a, o, c = "", l = !1, u = (/* @__PURE__ */ new Date()).getTime(), d = "loading", p = "") {
|
|
@@ -3414,7 +3417,7 @@ const Es = (t) => {
|
|
|
3414
3417
|
default:
|
|
3415
3418
|
return "development";
|
|
3416
3419
|
}
|
|
3417
|
-
},
|
|
3420
|
+
}, Id = (t) => {
|
|
3418
3421
|
switch (t) {
|
|
3419
3422
|
case "aks_svi":
|
|
3420
3423
|
return "https://versioneditorfs.test.aksiliasuite.com";
|
|
@@ -3425,14 +3428,14 @@ const Es = (t) => {
|
|
|
3425
3428
|
default:
|
|
3426
3429
|
return "https://versioneditorfs-573906316236.europe-west1.run.app";
|
|
3427
3430
|
}
|
|
3428
|
-
},
|
|
3431
|
+
}, Ad = () => {
|
|
3429
3432
|
let t = U.getEnvironmentId();
|
|
3430
3433
|
return t == "aks_svi" ? "https://mike.aksiliasuite.com/pages/editor_documenti/" : `https://${Es(t)}.aksiliasuite.com/pages/editor_documenti/`;
|
|
3431
|
-
},
|
|
3434
|
+
}, Ld = (t) => {
|
|
3432
3435
|
let e = U.getEnvironmentId(), n = U.getToken();
|
|
3433
|
-
return `${
|
|
3436
|
+
return `${Id(e)}/it/edit/${t}?token=${n}&envId=${e}`;
|
|
3434
3437
|
};
|
|
3435
|
-
function
|
|
3438
|
+
function jd(t, e) {
|
|
3436
3439
|
const n = document.createElement("form");
|
|
3437
3440
|
n.method = "POST", n.action = t, n.target = "_blank";
|
|
3438
3441
|
for (const r in e)
|
|
@@ -3442,7 +3445,7 @@ function Id(t, e) {
|
|
|
3442
3445
|
}
|
|
3443
3446
|
document.body.appendChild(n), n.submit();
|
|
3444
3447
|
}
|
|
3445
|
-
const
|
|
3448
|
+
const Rd = async (t) => {
|
|
3446
3449
|
const e = await fetch(`${U.getKBUrl()}/generals/documents/external/${t}`, {
|
|
3447
3450
|
method: "GET",
|
|
3448
3451
|
headers: {
|
|
@@ -3453,10 +3456,10 @@ const Ad = async (t) => {
|
|
|
3453
3456
|
}
|
|
3454
3457
|
});
|
|
3455
3458
|
if (!e.ok)
|
|
3456
|
-
|
|
3459
|
+
return console.error("Failed to fetch documents"), null;
|
|
3457
3460
|
const n = await e.json();
|
|
3458
3461
|
return Ht.fromJson(n);
|
|
3459
|
-
},
|
|
3462
|
+
}, Dd = async (t) => {
|
|
3460
3463
|
const e = await fetch(`${U.getKBUrl()}/generals/documents`, {
|
|
3461
3464
|
method: "POST",
|
|
3462
3465
|
headers: {
|
|
@@ -3470,20 +3473,20 @@ const Ad = async (t) => {
|
|
|
3470
3473
|
if (!e.ok)
|
|
3471
3474
|
throw new Error("Failed to fetch documents");
|
|
3472
3475
|
return (await e.json()).map((r) => Ht.fromJson(r));
|
|
3473
|
-
},
|
|
3476
|
+
}, Fd = async (t, e, n) => {
|
|
3474
3477
|
if (e.endsWith(".akd")) {
|
|
3475
3478
|
if (!n)
|
|
3476
3479
|
throw new Error("Gendoc ID is required for .akd files");
|
|
3477
|
-
window.open(
|
|
3480
|
+
window.open(Ld(n), "_blank");
|
|
3478
3481
|
return;
|
|
3479
3482
|
}
|
|
3480
|
-
|
|
3483
|
+
jd(Ad(), {
|
|
3481
3484
|
id_allegato: t.split("_")[1],
|
|
3482
3485
|
nome_file: e.split(".").slice(0, -1).join("."),
|
|
3483
3486
|
estensione_file: e.split(".").pop() || "",
|
|
3484
3487
|
function: "edit"
|
|
3485
3488
|
});
|
|
3486
|
-
},
|
|
3489
|
+
}, Od = async () => {
|
|
3487
3490
|
let t = U.getEnvironmentId(), e = `https://${Es(t)}.aksiliasuite.com/api/v1/operatore`;
|
|
3488
3491
|
t == "aks_svi" && (e = "https://mike.aksiliasuite.com/api/v1/operatore");
|
|
3489
3492
|
const n = await fetch(e, {
|
|
@@ -3496,7 +3499,7 @@ const Ad = async (t) => {
|
|
|
3496
3499
|
return console.error("Failed to fetch username"), "User";
|
|
3497
3500
|
const r = await n.text();
|
|
3498
3501
|
return JSON.parse(r).result[0].nome;
|
|
3499
|
-
},
|
|
3502
|
+
}, Pd = async () => {
|
|
3500
3503
|
let t = U.getEnvironmentId(), e = `https://${Es(t)}.aksiliasuite.com/api/v1/check_permission/assessment`;
|
|
3501
3504
|
t == "aks_svi" && (e = "https://mike.aksiliasuite.com/api/v1/check_permission/assessment");
|
|
3502
3505
|
let n = await fetch(e, {
|
|
@@ -3513,7 +3516,7 @@ const Ad = async (t) => {
|
|
|
3513
3516
|
console.log("User level data:", r);
|
|
3514
3517
|
let s = r.result.reduce((i, a) => Math.max(i, a.level), 0);
|
|
3515
3518
|
return console.log("Highest user level:", s), s;
|
|
3516
|
-
},
|
|
3519
|
+
}, Md = async (t, e) => {
|
|
3517
3520
|
const n = await fetch(`${U.getForgeUrl()}/generals?collectionName=${e}`, {
|
|
3518
3521
|
method: "POST",
|
|
3519
3522
|
headers: {
|
|
@@ -3527,7 +3530,7 @@ const Ad = async (t) => {
|
|
|
3527
3530
|
if (!n.ok)
|
|
3528
3531
|
throw new Error("Failed to fetch forge");
|
|
3529
3532
|
return (await n.json()).map((s) => en.fromJson(s));
|
|
3530
|
-
},
|
|
3533
|
+
}, Nd = async (t, e) => {
|
|
3531
3534
|
const n = await fetch(`${U.getForgeUrl()}/generals/${t}?collectionName=${e}`, {
|
|
3532
3535
|
method: "GET",
|
|
3533
3536
|
headers: {
|
|
@@ -3541,7 +3544,7 @@ const Ad = async (t) => {
|
|
|
3541
3544
|
throw new Error("Failed to fetch forge");
|
|
3542
3545
|
const r = await n.json();
|
|
3543
3546
|
return en.fromJson(r);
|
|
3544
|
-
},
|
|
3547
|
+
}, Ud = async (t, e) => {
|
|
3545
3548
|
const n = await fetch(`${U.getForgeUrl()}/download/pdf?externalId=${t}&collectionName=${e}`, {
|
|
3546
3549
|
method: "GET",
|
|
3547
3550
|
headers: {
|
|
@@ -3553,7 +3556,7 @@ const Ad = async (t) => {
|
|
|
3553
3556
|
if (!n.ok)
|
|
3554
3557
|
throw new Error("Failed to download PDF");
|
|
3555
3558
|
return await n.blob();
|
|
3556
|
-
},
|
|
3559
|
+
}, Bd = async (t) => {
|
|
3557
3560
|
const e = await fetch(`${U.getGenDocUrl()}/generals/documents`, {
|
|
3558
3561
|
method: "POST",
|
|
3559
3562
|
headers: {
|
|
@@ -3567,7 +3570,7 @@ const Ad = async (t) => {
|
|
|
3567
3570
|
if (!e.ok)
|
|
3568
3571
|
throw new Error("Failed to fetch gendoc");
|
|
3569
3572
|
return (await e.json()).map((r) => cn.fromJSON(r));
|
|
3570
|
-
},
|
|
3573
|
+
}, qd = async (t) => {
|
|
3571
3574
|
const e = await fetch(`${U.getTranscriptionUrl()}/v1/generals/meetings`, {
|
|
3572
3575
|
method: "POST",
|
|
3573
3576
|
headers: {
|
|
@@ -3581,7 +3584,7 @@ const Ad = async (t) => {
|
|
|
3581
3584
|
if (!e.ok)
|
|
3582
3585
|
throw new Error("Failed to fetch transcriptions");
|
|
3583
3586
|
return (await e.json()).map((r) => tn.fromJson(r));
|
|
3584
|
-
},
|
|
3587
|
+
}, Hd = async (t) => {
|
|
3585
3588
|
const e = await fetch(`${U.getTranscriptionUrl()}/v1/generals/meetings/${t}`, {
|
|
3586
3589
|
method: "GET",
|
|
3587
3590
|
headers: {
|
|
@@ -3596,17 +3599,17 @@ const Ad = async (t) => {
|
|
|
3596
3599
|
const n = await e.json();
|
|
3597
3600
|
return tn.fromJson(n);
|
|
3598
3601
|
}, ft = {
|
|
3599
|
-
getDocument:
|
|
3600
|
-
getDocuments:
|
|
3601
|
-
getDocumentPage:
|
|
3602
|
-
getForge:
|
|
3603
|
-
getForgeSingle:
|
|
3604
|
-
getUsername:
|
|
3605
|
-
getUserLevel:
|
|
3606
|
-
downloadForgePdf:
|
|
3607
|
-
getGenDocs:
|
|
3608
|
-
getTranscriptions:
|
|
3609
|
-
getMeetingSingle:
|
|
3602
|
+
getDocument: Rd,
|
|
3603
|
+
getDocuments: Dd,
|
|
3604
|
+
getDocumentPage: Fd,
|
|
3605
|
+
getForge: Md,
|
|
3606
|
+
getForgeSingle: Nd,
|
|
3607
|
+
getUsername: Od,
|
|
3608
|
+
getUserLevel: Pd,
|
|
3609
|
+
downloadForgePdf: Ud,
|
|
3610
|
+
getGenDocs: Bd,
|
|
3611
|
+
getTranscriptions: qd,
|
|
3612
|
+
getMeetingSingle: Hd
|
|
3610
3613
|
}, Cs = (t) => {
|
|
3611
3614
|
switch (t) {
|
|
3612
3615
|
case "en":
|
|
@@ -3614,7 +3617,7 @@ const Ad = async (t) => {
|
|
|
3614
3617
|
default:
|
|
3615
3618
|
return "it-IT";
|
|
3616
3619
|
}
|
|
3617
|
-
},
|
|
3620
|
+
}, Yd = async (t, e) => {
|
|
3618
3621
|
const n = new FormData();
|
|
3619
3622
|
n.append("file", t), n.append("lang", Cs(e));
|
|
3620
3623
|
const r = await fetch(`${U.getUrl()}/audio/stt`, {
|
|
@@ -3627,7 +3630,7 @@ const Ad = async (t) => {
|
|
|
3627
3630
|
body: n
|
|
3628
3631
|
});
|
|
3629
3632
|
return r.ok ? (await r.json()).text : (console.error("Failed to fetch text"), "");
|
|
3630
|
-
},
|
|
3633
|
+
}, Gd = async (t, e) => {
|
|
3631
3634
|
const n = await fetch(`${U.getUrl()}/audio/tts`, {
|
|
3632
3635
|
method: "POST",
|
|
3633
3636
|
headers: {
|
|
@@ -3643,12 +3646,12 @@ const Ad = async (t) => {
|
|
|
3643
3646
|
const r = await n.blob();
|
|
3644
3647
|
return URL.createObjectURL(r);
|
|
3645
3648
|
}, Is = {
|
|
3646
|
-
getText:
|
|
3647
|
-
getAudio:
|
|
3649
|
+
getText: Yd,
|
|
3650
|
+
getAudio: Gd
|
|
3648
3651
|
};
|
|
3649
3652
|
Xo();
|
|
3650
|
-
var
|
|
3651
|
-
const
|
|
3653
|
+
var Jd = /* @__PURE__ */ j('<div class="circle svelte-dqjlks"></div>');
|
|
3654
|
+
const Wd = {
|
|
3652
3655
|
hash: "svelte-dqjlks",
|
|
3653
3656
|
code: `.circle.svelte-dqjlks {height:var(--size);width:var(--size);border-color:var(--color) transparent var(--color) var(--color);border-width:calc(var(--size) / 15);border-style:solid;border-image:initial;border-radius:50%;
|
|
3654
3657
|
animation: var(--duration) linear 0s infinite normal none running svelte-dqjlks-rotate;}.pause-animation.svelte-dqjlks {animation-play-state:paused;}
|
|
@@ -3661,10 +3664,10 @@ const Yd = {
|
|
|
3661
3664
|
}
|
|
3662
3665
|
}`
|
|
3663
3666
|
};
|
|
3664
|
-
function
|
|
3665
|
-
se(e, !1), ue(t,
|
|
3667
|
+
function Zd(t, e) {
|
|
3668
|
+
se(e, !1), ue(t, Wd);
|
|
3666
3669
|
let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), s = g(e, "duration", 12, "0.75s"), i = g(e, "size", 12, "60"), a = g(e, "pause", 12, !1);
|
|
3667
|
-
var o =
|
|
3670
|
+
var o = Jd();
|
|
3668
3671
|
return F(() => {
|
|
3669
3672
|
N(o, "style", `--size: ${i() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${s() ?? ""}`), re(o, "pause-animation", a());
|
|
3670
3673
|
}), T(t, o), ie({
|
|
@@ -3701,7 +3704,7 @@ function Gd(t, e) {
|
|
|
3701
3704
|
});
|
|
3702
3705
|
}
|
|
3703
3706
|
oe(
|
|
3704
|
-
|
|
3707
|
+
Zd,
|
|
3705
3708
|
{
|
|
3706
3709
|
color: {},
|
|
3707
3710
|
unit: {},
|
|
@@ -3713,8 +3716,8 @@ oe(
|
|
|
3713
3716
|
[],
|
|
3714
3717
|
!0
|
|
3715
3718
|
);
|
|
3716
|
-
var
|
|
3717
|
-
const
|
|
3719
|
+
var Xd = /* @__PURE__ */ j('<div class="circle svelte-1w4sjib"></div>');
|
|
3720
|
+
const Vd = {
|
|
3718
3721
|
hash: "svelte-1w4sjib",
|
|
3719
3722
|
code: `.circle.svelte-1w4sjib {width:var(--size);height:var(--size);box-sizing:border-box;position:relative;border:3px solid transparent;border-top-color:var(--colorOuter);border-radius:50%;
|
|
3720
3723
|
animation: svelte-1w4sjib-circleSpin var(--durationOuter) linear infinite;}.circle.svelte-1w4sjib::before,
|
|
@@ -3733,10 +3736,10 @@ const Wd = {
|
|
|
3733
3736
|
}
|
|
3734
3737
|
}`
|
|
3735
3738
|
};
|
|
3736
|
-
function
|
|
3737
|
-
se(e, !1), ue(t,
|
|
3739
|
+
function Qd(t, e) {
|
|
3740
|
+
se(e, !1), ue(t, Vd);
|
|
3738
3741
|
let n = g(e, "size", 12, "60"), r = g(e, "unit", 12, "px"), s = g(e, "pause", 12, !1), i = g(e, "colorOuter", 12, "#FF3E00"), a = g(e, "colorCenter", 12, "#40B3FF"), o = g(e, "colorInner", 12, "#676778"), c = g(e, "durationMultiplier", 12, 1), l = g(e, "durationOuter", 28, () => `${c() * 2}s`), u = g(e, "durationInner", 28, () => `${c() * 1.5}s`), d = g(e, "durationCenter", 28, () => `${c() * 3}s`);
|
|
3739
|
-
var p =
|
|
3742
|
+
var p = Xd();
|
|
3740
3743
|
return F(() => {
|
|
3741
3744
|
N(p, "style", `--size: ${n() ?? ""}${r() ?? ""}; --colorInner: ${o() ?? ""}; --colorCenter: ${a() ?? ""}; --colorOuter: ${i() ?? ""}; --durationInner: ${u() ?? ""}; --durationCenter: ${d() ?? ""}; --durationOuter: ${l() ?? ""};`), re(p, "pause-animation", s());
|
|
3742
3745
|
}), T(t, p), ie({
|
|
@@ -3803,7 +3806,7 @@ function Zd(t, e) {
|
|
|
3803
3806
|
});
|
|
3804
3807
|
}
|
|
3805
3808
|
oe(
|
|
3806
|
-
|
|
3809
|
+
Qd,
|
|
3807
3810
|
{
|
|
3808
3811
|
size: {},
|
|
3809
3812
|
unit: {},
|
|
@@ -3820,8 +3823,8 @@ oe(
|
|
|
3820
3823
|
[],
|
|
3821
3824
|
!0
|
|
3822
3825
|
);
|
|
3823
|
-
var
|
|
3824
|
-
const
|
|
3826
|
+
var Kd = /* @__PURE__ */ j('<div class="wrapper svelte-7wj78d"><div class="inner svelte-7wj78d"><div class="ball-container svelte-7wj78d"><div class="single-ball svelte-7wj78d"><div class="ball ball-top-left svelte-7wj78d"> </div></div> <div class="contener_mixte svelte-7wj78d"><div class="ball ball-top-right svelte-7wj78d"> </div></div> <div class="contener_mixte svelte-7wj78d"><div class="ball ball-bottom-left svelte-7wj78d"> </div></div> <div class="contener_mixte svelte-7wj78d"><div class="ball ball-bottom-right svelte-7wj78d"> </div></div></div></div></div>');
|
|
3827
|
+
const ef = {
|
|
3825
3828
|
hash: "svelte-7wj78d",
|
|
3826
3829
|
code: `.wrapper.svelte-7wj78d {width:var(--size);height:var(--size);display:flex;justify-content:center;align-items:center;line-height:0;box-sizing:border-box;}.inner.svelte-7wj78d {transform:scale(calc(var(--floatSize) / 52));}.ball-container.svelte-7wj78d {
|
|
3827
3830
|
animation: svelte-7wj78d-ballTwo var(--duration) infinite;width:44px;height:44px;flex-shrink:0;position:relative;}.single-ball.svelte-7wj78d {width:44px;height:44px;position:absolute;}.ball.svelte-7wj78d {width:20px;height:20px;border-radius:50%;position:absolute;
|
|
@@ -3852,10 +3855,10 @@ const Vd = {
|
|
|
3852
3855
|
}
|
|
3853
3856
|
}`
|
|
3854
3857
|
};
|
|
3855
|
-
function
|
|
3856
|
-
se(e, !1), ue(t,
|
|
3858
|
+
function tf(t, e) {
|
|
3859
|
+
se(e, !1), ue(t, ef);
|
|
3857
3860
|
let n = g(e, "size", 12, "60"), r = g(e, "unit", 12, "px"), s = g(e, "pause", 12, !1), i = g(e, "ballTopLeft", 12, "#FF3E00"), a = g(e, "ballTopRight", 12, "#F8B334"), o = g(e, "ballBottomLeft", 12, "#40B3FF"), c = g(e, "ballBottomRight", 12, "#676778"), l = g(e, "duration", 12, "1.5s");
|
|
3858
|
-
var u =
|
|
3861
|
+
var u = Kd(), d = z(u), p = z(d), h = z(p), w = z(h);
|
|
3859
3862
|
k(h);
|
|
3860
3863
|
var m = O(h, 2), S = z(m);
|
|
3861
3864
|
k(m);
|
|
@@ -3916,7 +3919,7 @@ function Qd(t, e) {
|
|
|
3916
3919
|
});
|
|
3917
3920
|
}
|
|
3918
3921
|
oe(
|
|
3919
|
-
|
|
3922
|
+
tf,
|
|
3920
3923
|
{
|
|
3921
3924
|
size: {},
|
|
3922
3925
|
unit: {},
|
|
@@ -3940,8 +3943,8 @@ const Je = /[a-zA-Z]/, As = (t, e) => {
|
|
|
3940
3943
|
}
|
|
3941
3944
|
return `rgba(${(t.match(/.{2}/g) || []).map((r) => parseInt(r, 16)).join(", ")}, ${e})`;
|
|
3942
3945
|
}, St = (t, e = 0) => [...Array(t).keys()].map((n) => n + e);
|
|
3943
|
-
var
|
|
3944
|
-
const
|
|
3946
|
+
var nf = /* @__PURE__ */ j('<div class="circle svelte-1bsg8wv"></div>'), rf = /* @__PURE__ */ j('<div class="wrapper svelte-1bsg8wv"></div>');
|
|
3947
|
+
const sf = {
|
|
3945
3948
|
hash: "svelte-1bsg8wv",
|
|
3946
3949
|
code: `.wrapper.svelte-1bsg8wv {position:relative;width:var(--size);height:var(--size);}.circle.svelte-1bsg8wv {position:absolute;width:var(--size);height:var(--size);background-color:var(--color);border-radius:100%;opacity:0.6;top:0;left:0;animation-fill-mode:both;
|
|
3947
3950
|
animation-name: svelte-1bsg8wv-bounce !important;}.pause-animation.svelte-1bsg8wv {animation-play-state:paused;}
|
|
@@ -3955,14 +3958,14 @@ const tf = {
|
|
|
3955
3958
|
}
|
|
3956
3959
|
}`
|
|
3957
3960
|
};
|
|
3958
|
-
function
|
|
3961
|
+
function af(t, e) {
|
|
3959
3962
|
var u;
|
|
3960
|
-
se(e, !1), ue(t,
|
|
3963
|
+
se(e, !1), ue(t, sf);
|
|
3961
3964
|
let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), s = g(e, "duration", 12, "2.1s"), i = g(e, "size", 12, "60"), a = g(e, "pause", 12, !1), o = ((u = s().match(Je)) == null ? void 0 : u[0]) ?? "s", c = s().replace(Je, "");
|
|
3962
3965
|
ct();
|
|
3963
|
-
var l =
|
|
3966
|
+
var l = rf();
|
|
3964
3967
|
return Ke(l, 5, () => St(2, 1), Qe, (d, p) => {
|
|
3965
|
-
var h =
|
|
3968
|
+
var h = nf();
|
|
3966
3969
|
F(() => {
|
|
3967
3970
|
N(h, "style", `animation: ${s() ?? ""} ${(f(p) === 1 ? `${(+c - 0.1) / 2}${o}` : "0s") ?? ""} infinite ease-in-out`), re(h, "pause-animation", a());
|
|
3968
3971
|
}), T(d, h);
|
|
@@ -4000,7 +4003,7 @@ function nf(t, e) {
|
|
|
4000
4003
|
});
|
|
4001
4004
|
}
|
|
4002
4005
|
oe(
|
|
4003
|
-
|
|
4006
|
+
af,
|
|
4004
4007
|
{
|
|
4005
4008
|
color: {},
|
|
4006
4009
|
unit: {},
|
|
@@ -4012,8 +4015,8 @@ oe(
|
|
|
4012
4015
|
[],
|
|
4013
4016
|
!0
|
|
4014
4017
|
);
|
|
4015
|
-
var
|
|
4016
|
-
const
|
|
4018
|
+
var of = /* @__PURE__ */ j('<div class="spinner spinner--google svelte-rhgdjk"></div>');
|
|
4019
|
+
const lf = {
|
|
4017
4020
|
hash: "svelte-rhgdjk",
|
|
4018
4021
|
code: `.svelte-rhgdjk {overflow:hidden;position:relative;text-indent:-9999px;display:inline-block;background:#f86;border-radius:50%;transform:rotateZ(90deg);transform-origin:50% 50%;
|
|
4019
4022
|
animation: svelte-rhgdjk-plus-loader-background var(--duration) infinite ease-in-out;}.svelte-rhgdjk::after {background:#f86;border-radius:50% 0 0 50%;content:'';position:absolute;right:50%;top:0;width:50%;height:100%;transform-origin:100% 50%;
|
|
@@ -4185,8 +4188,8 @@ const sf = {
|
|
|
4185
4188
|
}
|
|
4186
4189
|
}`
|
|
4187
4190
|
};
|
|
4188
|
-
function
|
|
4189
|
-
se(e, !1), ue(t,
|
|
4191
|
+
function cf(t, e) {
|
|
4192
|
+
se(e, !1), ue(t, lf);
|
|
4190
4193
|
const n = Wt();
|
|
4191
4194
|
let r = g(e, "size", 12, "40px"), s = g(e, "duration", 12, "3s"), i = g(e, "pause", 12, !1);
|
|
4192
4195
|
Gn(() => Cn(r()), () => {
|
|
@@ -4195,7 +4198,7 @@ function af(t, e) {
|
|
|
4195
4198
|
`height: ${r()}`
|
|
4196
4199
|
].join(";"));
|
|
4197
4200
|
}), Jn(), ct();
|
|
4198
|
-
var a =
|
|
4201
|
+
var a = of();
|
|
4199
4202
|
return F(() => {
|
|
4200
4203
|
N(a, "style", `--duration: ${s() ?? ""}; ${f(n) ?? ""}`), re(a, "pause-animation", i());
|
|
4201
4204
|
}), T(t, a), ie({
|
|
@@ -4219,9 +4222,9 @@ function af(t, e) {
|
|
|
4219
4222
|
}
|
|
4220
4223
|
});
|
|
4221
4224
|
}
|
|
4222
|
-
oe(
|
|
4223
|
-
var
|
|
4224
|
-
const
|
|
4225
|
+
oe(cf, { size: {}, duration: {}, pause: {} }, [], [], !0);
|
|
4226
|
+
var uf = /* @__PURE__ */ j('<div class="wrapper svelte-1w1ueev"><div class="circle svelte-1w1ueev"></div></div>');
|
|
4227
|
+
const df = {
|
|
4225
4228
|
hash: "svelte-1w1ueev",
|
|
4226
4229
|
code: `.wrapper.svelte-1w1ueev {width:var(--size);height:var(--size);}.circle.svelte-1w1ueev {width:var(--size);height:var(--size);background-color:var(--color);animation-duration:var(--duration);border-radius:100%;display:inline-block;
|
|
4227
4230
|
animation: svelte-1w1ueev-scaleOut var(--duration) ease-in-out infinite;}.pause-animation.svelte-1w1ueev {animation-play-state:paused;}
|
|
@@ -4235,10 +4238,10 @@ const lf = {
|
|
|
4235
4238
|
}
|
|
4236
4239
|
}`
|
|
4237
4240
|
};
|
|
4238
|
-
function
|
|
4239
|
-
se(e, !1), ue(t,
|
|
4241
|
+
function ff(t, e) {
|
|
4242
|
+
se(e, !1), ue(t, df);
|
|
4240
4243
|
let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), s = g(e, "duration", 12, "1s"), i = g(e, "size", 12, "60"), a = g(e, "pause", 12, !1);
|
|
4241
|
-
var o =
|
|
4244
|
+
var o = uf(), c = z(o);
|
|
4242
4245
|
return k(o), F(() => {
|
|
4243
4246
|
N(o, "style", `--size: ${i() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${s() ?? ""}; --duration: ${s() ?? ""};`), re(c, "pause-animation", a());
|
|
4244
4247
|
}), T(t, o), ie({
|
|
@@ -4275,7 +4278,7 @@ function cf(t, e) {
|
|
|
4275
4278
|
});
|
|
4276
4279
|
}
|
|
4277
4280
|
oe(
|
|
4278
|
-
|
|
4281
|
+
ff,
|
|
4279
4282
|
{
|
|
4280
4283
|
color: {},
|
|
4281
4284
|
unit: {},
|
|
@@ -4287,8 +4290,8 @@ oe(
|
|
|
4287
4290
|
[],
|
|
4288
4291
|
!0
|
|
4289
4292
|
);
|
|
4290
|
-
var
|
|
4291
|
-
const
|
|
4293
|
+
var pf = /* @__PURE__ */ j('<div class="wrapper svelte-nfuakd"><div class="line svelte-nfuakd"></div></div>');
|
|
4294
|
+
const hf = {
|
|
4292
4295
|
hash: "svelte-nfuakd",
|
|
4293
4296
|
code: `.wrapper.svelte-nfuakd {width:var(--size);height:var(--stroke);transform:scale(calc(var(--floatSize) / 75));display:flex;justify-content:center;align-items:center;}.line.svelte-nfuakd {width:var(--size);height:var(--stroke);background:var(--color);border-radius:var(--stroke);transform-origin:center center;
|
|
4294
4297
|
animation: svelte-nfuakd-spineLine var(--duration) ease infinite;}.pause-animation.svelte-nfuakd {animation-play-state:paused;}
|
|
@@ -4348,10 +4351,10 @@ const df = {
|
|
|
4348
4351
|
}
|
|
4349
4352
|
}`
|
|
4350
4353
|
};
|
|
4351
|
-
function
|
|
4352
|
-
se(e, !1), ue(t,
|
|
4354
|
+
function vf(t, e) {
|
|
4355
|
+
se(e, !1), ue(t, hf);
|
|
4353
4356
|
let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), s = g(e, "duration", 12, "4s"), i = g(e, "size", 12, "60"), a = g(e, "stroke", 28, () => +i() / 12 + r()), o = g(e, "pause", 12, !1);
|
|
4354
|
-
var c =
|
|
4357
|
+
var c = pf(), l = z(c);
|
|
4355
4358
|
return k(c), F(() => {
|
|
4356
4359
|
N(c, "style", `--size: ${i() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --stroke: ${a() ?? ""}; --floatSize: ${i() ?? ""}; --duration: ${s() ?? ""}`), re(l, "pause-animation", o());
|
|
4357
4360
|
}), T(t, c), ie({
|
|
@@ -4394,7 +4397,7 @@ function ff(t, e) {
|
|
|
4394
4397
|
});
|
|
4395
4398
|
}
|
|
4396
4399
|
oe(
|
|
4397
|
-
|
|
4400
|
+
vf,
|
|
4398
4401
|
{
|
|
4399
4402
|
color: {},
|
|
4400
4403
|
unit: {},
|
|
@@ -4407,8 +4410,8 @@ oe(
|
|
|
4407
4410
|
[],
|
|
4408
4411
|
!0
|
|
4409
4412
|
);
|
|
4410
|
-
var
|
|
4411
|
-
const
|
|
4413
|
+
var gf = /* @__PURE__ */ j('<div class="rect svelte-cihful"></div>'), mf = /* @__PURE__ */ j('<div class="wrapper svelte-cihful"></div>');
|
|
4414
|
+
const bf = {
|
|
4412
4415
|
hash: "svelte-cihful",
|
|
4413
4416
|
code: `.wrapper.svelte-cihful {height:var(--size);width:var(--size);display:inline-block;text-align:center;font-size:10px;}.rect.svelte-cihful {height:100%;width:10%;display:inline-block;margin-right:4px;transform:scaleY(0.4);background-color:var(--color);
|
|
4414
4417
|
animation: svelte-cihful-stretch var(--duration) ease-in-out infinite;}.pause-animation.svelte-cihful {animation-play-state:paused;}
|
|
@@ -4423,14 +4426,14 @@ const vf = {
|
|
|
4423
4426
|
}
|
|
4424
4427
|
}`
|
|
4425
4428
|
};
|
|
4426
|
-
function
|
|
4429
|
+
function xf(t, e) {
|
|
4427
4430
|
var u;
|
|
4428
|
-
se(e, !1), ue(t,
|
|
4431
|
+
se(e, !1), ue(t, bf);
|
|
4429
4432
|
let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), s = g(e, "duration", 12, "1.2s"), i = g(e, "size", 12, "60"), a = g(e, "pause", 12, !1), o = ((u = s().match(Je)) == null ? void 0 : u[0]) ?? "s", c = s().replace(Je, "");
|
|
4430
4433
|
ct();
|
|
4431
|
-
var l =
|
|
4434
|
+
var l = mf();
|
|
4432
4435
|
return Ke(l, 5, () => St(5, 1), Qe, (d, p) => {
|
|
4433
|
-
var h =
|
|
4436
|
+
var h = gf();
|
|
4434
4437
|
F(() => {
|
|
4435
4438
|
N(h, "style", `animation-delay: ${(f(p) - 1) * (+c / 12)}${o ?? ""}`), re(h, "pause-animation", a());
|
|
4436
4439
|
}), T(d, h);
|
|
@@ -4468,7 +4471,7 @@ function gf(t, e) {
|
|
|
4468
4471
|
});
|
|
4469
4472
|
}
|
|
4470
4473
|
oe(
|
|
4471
|
-
|
|
4474
|
+
xf,
|
|
4472
4475
|
{
|
|
4473
4476
|
color: {},
|
|
4474
4477
|
unit: {},
|
|
@@ -4480,8 +4483,8 @@ oe(
|
|
|
4480
4483
|
[],
|
|
4481
4484
|
!0
|
|
4482
4485
|
);
|
|
4483
|
-
var
|
|
4484
|
-
const
|
|
4486
|
+
var wf = /* @__PURE__ */ j("<div></div>"), _f = /* @__PURE__ */ j('<div class="wrapper svelte-bnawe9"></div>');
|
|
4487
|
+
const kf = {
|
|
4485
4488
|
hash: "svelte-bnawe9",
|
|
4486
4489
|
code: `.wrapper.svelte-bnawe9 {height:calc(var(--size) / 15);width:calc(var(--size) * 2);background-color:var(--rgba);position:relative;overflow:hidden;background-clip:padding-box;}.lines.svelte-bnawe9 {height:calc(var(--size) / 15);background-color:var(--color);}.small-lines.svelte-bnawe9 {position:absolute;overflow:hidden;background-clip:padding-box;display:block;border-radius:2px;will-change:left, right;animation-fill-mode:forwards;}.small-lines.\\31.svelte-bnawe9 {
|
|
4487
4490
|
animation: var(--duration) cubic-bezier(0.65, 0.815, 0.735, 0.395) 0s infinite normal none
|
|
@@ -4518,8 +4521,8 @@ const xf = {
|
|
|
4518
4521
|
}
|
|
4519
4522
|
}`
|
|
4520
4523
|
};
|
|
4521
|
-
function
|
|
4522
|
-
se(e, !1), ue(t,
|
|
4524
|
+
function yf(t, e) {
|
|
4525
|
+
se(e, !1), ue(t, kf);
|
|
4523
4526
|
let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), s = g(e, "duration", 12, "2.1s"), i = g(e, "size", 12, "60"), a = g(e, "pause", 12, !1), o = Wt();
|
|
4524
4527
|
Gn(
|
|
4525
4528
|
() => Cn(n()),
|
|
@@ -4527,9 +4530,9 @@ function wf(t, e) {
|
|
|
4527
4530
|
b(o, As(n(), 0.2));
|
|
4528
4531
|
}
|
|
4529
4532
|
), Jn(), ct();
|
|
4530
|
-
var c =
|
|
4533
|
+
var c = _f();
|
|
4531
4534
|
return Ke(c, 5, () => St(2, 1), Qe, (l, u) => {
|
|
4532
|
-
var d =
|
|
4535
|
+
var d = wf();
|
|
4533
4536
|
F(() => {
|
|
4534
4537
|
nt(d, `lines small-lines ${f(u) ?? ""} svelte-bnawe9`), N(d, "style", `--color: ${n() ?? ""}; --duration: ${s() ?? ""};`), re(d, "pause-animation", a());
|
|
4535
4538
|
}), T(l, d);
|
|
@@ -4567,7 +4570,7 @@ function wf(t, e) {
|
|
|
4567
4570
|
});
|
|
4568
4571
|
}
|
|
4569
4572
|
oe(
|
|
4570
|
-
|
|
4573
|
+
yf,
|
|
4571
4574
|
{
|
|
4572
4575
|
color: {},
|
|
4573
4576
|
unit: {},
|
|
@@ -4579,8 +4582,8 @@ oe(
|
|
|
4579
4582
|
[],
|
|
4580
4583
|
!0
|
|
4581
4584
|
);
|
|
4582
|
-
var
|
|
4583
|
-
const
|
|
4585
|
+
var zf = /* @__PURE__ */ j('<div class="circle svelte-c0n7a9"></div>'), $f = /* @__PURE__ */ j('<div class="wrapper svelte-c0n7a9"></div>');
|
|
4586
|
+
const Tf = {
|
|
4584
4587
|
hash: "svelte-c0n7a9",
|
|
4585
4588
|
code: `.wrapper.svelte-c0n7a9 {width:var(--size);height:var(--size);}.circle.svelte-c0n7a9 {border-radius:100%;animation-fill-mode:both;position:absolute;opacity:0;width:var(--size);height:var(--size);background-color:var(--color);
|
|
4586
4589
|
animation: svelte-c0n7a9-bounce var(--duration) linear infinite;}.pause-animation.svelte-c0n7a9 {animation-play-state:paused;}
|
|
@@ -4598,14 +4601,14 @@ const yf = {
|
|
|
4598
4601
|
}
|
|
4599
4602
|
}`
|
|
4600
4603
|
};
|
|
4601
|
-
function
|
|
4604
|
+
function Sf(t, e) {
|
|
4602
4605
|
var u;
|
|
4603
|
-
se(e, !1), ue(t,
|
|
4606
|
+
se(e, !1), ue(t, Tf);
|
|
4604
4607
|
let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), s = g(e, "duration", 12, "1s"), i = g(e, "size", 12, "60"), a = g(e, "pause", 12, !1), o = ((u = s().match(Je)) == null ? void 0 : u[0]) ?? "s", c = s().replace(Je, "");
|
|
4605
4608
|
ct();
|
|
4606
|
-
var l =
|
|
4609
|
+
var l = $f();
|
|
4607
4610
|
return Ke(l, 5, () => St(3, 1), Qe, (d, p) => {
|
|
4608
|
-
var h =
|
|
4611
|
+
var h = zf();
|
|
4609
4612
|
F(() => {
|
|
4610
4613
|
N(h, "style", `animation-delay: ${+c / 3 * (f(p) - 1) + o};`), re(h, "pause-animation", a());
|
|
4611
4614
|
}), T(d, h);
|
|
@@ -4643,7 +4646,7 @@ function zf(t, e) {
|
|
|
4643
4646
|
});
|
|
4644
4647
|
}
|
|
4645
4648
|
oe(
|
|
4646
|
-
|
|
4649
|
+
Sf,
|
|
4647
4650
|
{
|
|
4648
4651
|
color: {},
|
|
4649
4652
|
unit: {},
|
|
@@ -4655,8 +4658,8 @@ oe(
|
|
|
4655
4658
|
[],
|
|
4656
4659
|
!0
|
|
4657
4660
|
);
|
|
4658
|
-
var
|
|
4659
|
-
const
|
|
4661
|
+
var Ef = /* @__PURE__ */ j("<div></div>"), Cf = /* @__PURE__ */ j('<div class="wrapper svelte-kxapcj"></div>');
|
|
4662
|
+
const If = {
|
|
4660
4663
|
hash: "svelte-kxapcj",
|
|
4661
4664
|
code: `.wrapper.svelte-kxapcj {position:relative;width:var(--size);height:var(--size);}.border.svelte-kxapcj {border-color:var(--color);position:absolute;top:0px;left:0px;width:var(--size);height:var(--size);opacity:0.4;perspective:800px;border-width:6px;border-style:solid;border-image:initial;border-radius:100%;}.border.\\31.svelte-kxapcj {
|
|
4662
4665
|
animation: var(--duration) linear 0s infinite normal none running svelte-kxapcj-ringOne;}.border.\\32.svelte-kxapcj {
|
|
@@ -4679,13 +4682,13 @@ const Sf = {
|
|
|
4679
4682
|
}
|
|
4680
4683
|
}`
|
|
4681
4684
|
};
|
|
4682
|
-
function
|
|
4683
|
-
se(e, !1), ue(t,
|
|
4685
|
+
function Af(t, e) {
|
|
4686
|
+
se(e, !1), ue(t, If);
|
|
4684
4687
|
let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), s = g(e, "duration", 12, "2s"), i = g(e, "size", 12, "60"), a = g(e, "pause", 12, !1);
|
|
4685
4688
|
ct();
|
|
4686
|
-
var o =
|
|
4689
|
+
var o = Cf();
|
|
4687
4690
|
return Ke(o, 5, () => St(2, 1), Qe, (c, l) => {
|
|
4688
|
-
var u =
|
|
4691
|
+
var u = Ef();
|
|
4689
4692
|
F(() => {
|
|
4690
4693
|
nt(u, `border ${f(l) ?? ""} svelte-kxapcj`), re(u, "pause-animation", a());
|
|
4691
4694
|
}), T(c, u);
|
|
@@ -4723,7 +4726,7 @@ function Ef(t, e) {
|
|
|
4723
4726
|
});
|
|
4724
4727
|
}
|
|
4725
4728
|
oe(
|
|
4726
|
-
|
|
4729
|
+
Af,
|
|
4727
4730
|
{
|
|
4728
4731
|
color: {},
|
|
4729
4732
|
unit: {},
|
|
@@ -4735,8 +4738,8 @@ oe(
|
|
|
4735
4738
|
[],
|
|
4736
4739
|
!0
|
|
4737
4740
|
);
|
|
4738
|
-
var
|
|
4739
|
-
const
|
|
4741
|
+
var Lf = /* @__PURE__ */ j('<div class="dot svelte-14x3x60"></div>'), jf = /* @__PURE__ */ j('<div class="wrapper svelte-14x3x60"></div>');
|
|
4742
|
+
const Rf = {
|
|
4740
4743
|
hash: "svelte-14x3x60",
|
|
4741
4744
|
code: `.wrapper.svelte-14x3x60 {height:var(--size);width:var(--size);display:flex;align-items:center;justify-content:center;}.dot.svelte-14x3x60 {height:var(--dotSize);width:var(--dotSize);background-color:var(--color);margin:2px;display:inline-block;border-radius:100%;
|
|
4742
4745
|
animation: svelte-14x3x60-sync var(--duration) ease-in-out infinite alternate both running;}.pause-animation.svelte-14x3x60 {animation-play-state:paused;}
|
|
@@ -4770,14 +4773,14 @@ const Af = {
|
|
|
4770
4773
|
}
|
|
4771
4774
|
}`
|
|
4772
4775
|
};
|
|
4773
|
-
function
|
|
4776
|
+
function Df(t, e) {
|
|
4774
4777
|
var u;
|
|
4775
|
-
se(e, !1), ue(t,
|
|
4778
|
+
se(e, !1), ue(t, Rf);
|
|
4776
4779
|
let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), s = g(e, "duration", 12, "0.6s"), i = g(e, "size", 12, "60"), a = g(e, "pause", 12, !1), o = ((u = s().match(Je)) == null ? void 0 : u[0]) ?? "s", c = s().replace(Je, "");
|
|
4777
4780
|
ct();
|
|
4778
|
-
var l =
|
|
4781
|
+
var l = jf();
|
|
4779
4782
|
return Ke(l, 5, () => St(3, 1), Qe, (d, p) => {
|
|
4780
|
-
var h =
|
|
4783
|
+
var h = Lf();
|
|
4781
4784
|
F(() => {
|
|
4782
4785
|
N(h, "style", `--dotSize:${+i() * 0.25}${r() ?? ""}; --color:${n() ?? ""}; animation-delay: ${f(p) * (+c / 10)}${o ?? ""};`), re(h, "pause-animation", a());
|
|
4783
4786
|
}), T(d, h);
|
|
@@ -4815,7 +4818,7 @@ function Lf(t, e) {
|
|
|
4815
4818
|
});
|
|
4816
4819
|
}
|
|
4817
4820
|
oe(
|
|
4818
|
-
|
|
4821
|
+
Df,
|
|
4819
4822
|
{
|
|
4820
4823
|
color: {},
|
|
4821
4824
|
unit: {},
|
|
@@ -4827,8 +4830,8 @@ oe(
|
|
|
4827
4830
|
[],
|
|
4828
4831
|
!0
|
|
4829
4832
|
);
|
|
4830
|
-
var
|
|
4831
|
-
const
|
|
4833
|
+
var Ff = /* @__PURE__ */ j('<div class="wrapper svelte-1lgkc8y"><div class="rainbow svelte-1lgkc8y"></div></div>');
|
|
4834
|
+
const Of = {
|
|
4832
4835
|
hash: "svelte-1lgkc8y",
|
|
4833
4836
|
code: `.wrapper.svelte-1lgkc8y {width:var(--size);height:calc(var(--size) / 2);overflow:hidden;}.rainbow.svelte-1lgkc8y {width:var(--size);height:var(--size);border-left-color:transparent;border-bottom-color:transparent;border-top-color:var(--color);border-right-color:var(--color);box-sizing:border-box;transform:rotate(-200deg);border-radius:50%;border-style:solid;
|
|
4834
4837
|
animation: var(--duration) ease-in-out 0s infinite normal none running svelte-1lgkc8y-rotate;}.pause-animation.svelte-1lgkc8y {animation-play-state:paused;}
|
|
@@ -4851,10 +4854,10 @@ const Rf = {
|
|
|
4851
4854
|
}
|
|
4852
4855
|
}`
|
|
4853
4856
|
};
|
|
4854
|
-
function
|
|
4855
|
-
se(e, !1), ue(t,
|
|
4857
|
+
function Pf(t, e) {
|
|
4858
|
+
se(e, !1), ue(t, Of);
|
|
4856
4859
|
let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), s = g(e, "duration", 12, "3s"), i = g(e, "size", 12, "60"), a = g(e, "pause", 12, !1);
|
|
4857
|
-
var o =
|
|
4860
|
+
var o = Ff(), c = z(o);
|
|
4858
4861
|
return k(o), F(() => {
|
|
4859
4862
|
N(o, "style", `--size: ${i() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${s() ?? ""};`), re(c, "pause-animation", a());
|
|
4860
4863
|
}), T(t, o), ie({
|
|
@@ -4891,7 +4894,7 @@ function Df(t, e) {
|
|
|
4891
4894
|
});
|
|
4892
4895
|
}
|
|
4893
4896
|
oe(
|
|
4894
|
-
|
|
4897
|
+
Pf,
|
|
4895
4898
|
{
|
|
4896
4899
|
color: {},
|
|
4897
4900
|
unit: {},
|
|
@@ -4903,8 +4906,8 @@ oe(
|
|
|
4903
4906
|
[],
|
|
4904
4907
|
!0
|
|
4905
4908
|
);
|
|
4906
|
-
var
|
|
4907
|
-
const
|
|
4909
|
+
var Mf = /* @__PURE__ */ j('<div class="wrapper svelte-x7zza7"><div class="firework svelte-x7zza7"></div></div>');
|
|
4910
|
+
const Nf = {
|
|
4908
4911
|
hash: "svelte-x7zza7",
|
|
4909
4912
|
code: `.wrapper.svelte-x7zza7 {width:calc(var(--size) * 1.3);height:calc(var(--size) * 1.3);display:flex;justify-content:center;align-items:center;}.firework.svelte-x7zza7 {border:calc(var(--size) / 10) dotted var(--color);width:var(--size);height:var(--size);border-radius:50%;
|
|
4910
4913
|
animation: svelte-x7zza7-fire var(--duration) cubic-bezier(0.165, 0.84, 0.44, 1) infinite;}.pause-animation.svelte-x7zza7 {animation-play-state:paused;}
|
|
@@ -4923,10 +4926,10 @@ const Of = {
|
|
|
4923
4926
|
}
|
|
4924
4927
|
}`
|
|
4925
4928
|
};
|
|
4926
|
-
function
|
|
4927
|
-
se(e, !1), ue(t,
|
|
4929
|
+
function Uf(t, e) {
|
|
4930
|
+
se(e, !1), ue(t, Nf);
|
|
4928
4931
|
let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), s = g(e, "duration", 12, "1.25s"), i = g(e, "size", 12, "60"), a = g(e, "pause", 12, !1);
|
|
4929
|
-
var o =
|
|
4932
|
+
var o = Mf(), c = z(o);
|
|
4930
4933
|
return k(o), F(() => {
|
|
4931
4934
|
N(o, "style", `--size: ${i() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${s() ?? ""};`), re(c, "pause-animation", a());
|
|
4932
4935
|
}), T(t, o), ie({
|
|
@@ -4963,7 +4966,7 @@ function Pf(t, e) {
|
|
|
4963
4966
|
});
|
|
4964
4967
|
}
|
|
4965
4968
|
oe(
|
|
4966
|
-
|
|
4969
|
+
Uf,
|
|
4967
4970
|
{
|
|
4968
4971
|
color: {},
|
|
4969
4972
|
unit: {},
|
|
@@ -4975,8 +4978,8 @@ oe(
|
|
|
4975
4978
|
[],
|
|
4976
4979
|
!0
|
|
4977
4980
|
);
|
|
4978
|
-
var
|
|
4979
|
-
const
|
|
4981
|
+
var Bf = /* @__PURE__ */ j('<div class="cube svelte-1w8rpx6"></div>'), qf = /* @__PURE__ */ j('<div class="wrapper svelte-1w8rpx6"></div>');
|
|
4982
|
+
const Hf = {
|
|
4980
4983
|
hash: "svelte-1w8rpx6",
|
|
4981
4984
|
code: `.wrapper.svelte-1w8rpx6 {position:relative;display:flex;justify-content:center;align-items:center;width:var(--size);height:calc(var(--size) / 2.5);}.cube.svelte-1w8rpx6 {position:absolute;top:0px;width:calc(var(--size) / 5);height:calc(var(--size) / 2.5);background-color:var(--color);
|
|
4982
4985
|
animation: svelte-1w8rpx6-motion var(--duration) cubic-bezier(0.895, 0.03, 0.685, 0.22) infinite;}.pause-animation.svelte-1w8rpx6 {animation-play-state:paused;}
|
|
@@ -4994,12 +4997,12 @@ const Uf = {
|
|
|
4994
4997
|
};
|
|
4995
4998
|
function Ls(t, e) {
|
|
4996
4999
|
var u;
|
|
4997
|
-
se(e, !1), ue(t,
|
|
5000
|
+
se(e, !1), ue(t, Hf);
|
|
4998
5001
|
let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), s = g(e, "duration", 12, "1.5s"), i = g(e, "size", 12, "60"), a = g(e, "pause", 12, !1), o = ((u = s().match(Je)) == null ? void 0 : u[0]) ?? "s", c = s().replace(Je, "");
|
|
4999
5002
|
ct();
|
|
5000
|
-
var l =
|
|
5003
|
+
var l = qf();
|
|
5001
5004
|
return Ke(l, 5, () => St(3, 0), Qe, (d, p) => {
|
|
5002
|
-
var h =
|
|
5005
|
+
var h = Bf();
|
|
5003
5006
|
F(() => {
|
|
5004
5007
|
N(h, "style", `animation-delay: ${f(p) * (+c / 10)}${o ?? ""}; left: ${f(p) * (+i() / 3 + +i() / 15) + r()};`), re(h, "pause-animation", a());
|
|
5005
5008
|
}), T(d, h);
|
|
@@ -5049,8 +5052,8 @@ oe(
|
|
|
5049
5052
|
[],
|
|
5050
5053
|
!0
|
|
5051
5054
|
);
|
|
5052
|
-
var
|
|
5053
|
-
const
|
|
5055
|
+
var Yf = /* @__PURE__ */ j('<div class="ring svelte-1rvptk"></div>'), Gf = /* @__PURE__ */ j('<div class="wrapper svelte-1rvptk"></div>');
|
|
5056
|
+
const Jf = {
|
|
5054
5057
|
hash: "svelte-1rvptk",
|
|
5055
5058
|
code: `.wrapper.svelte-1rvptk {position:relative;display:flex;justify-content:center;align-items:center;width:var(--size);height:var(--size);}.ring.svelte-1rvptk {position:absolute;border:2px solid var(--color);border-radius:50%;background-color:transparent;
|
|
5056
5059
|
animation: svelte-1rvptk-motion var(--duration) ease infinite;}.pause-animation.svelte-1rvptk {animation-play-state:paused;}
|
|
@@ -5066,14 +5069,14 @@ const Hf = {
|
|
|
5066
5069
|
}
|
|
5067
5070
|
}`
|
|
5068
5071
|
};
|
|
5069
|
-
function
|
|
5072
|
+
function Wf(t, e) {
|
|
5070
5073
|
var u;
|
|
5071
|
-
se(e, !1), ue(t,
|
|
5074
|
+
se(e, !1), ue(t, Jf);
|
|
5072
5075
|
let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), s = g(e, "duration", 12, "2.5s"), i = g(e, "size", 12, "60"), a = g(e, "pause", 12, !1), o = ((u = s().match(Je)) == null ? void 0 : u[0]) ?? "s", c = s().replace(Je, "");
|
|
5073
5076
|
ct();
|
|
5074
|
-
var l =
|
|
5077
|
+
var l = Gf();
|
|
5075
5078
|
return Ke(l, 5, () => St(6, 0), Qe, (d, p) => {
|
|
5076
|
-
var h =
|
|
5079
|
+
var h = Yf();
|
|
5077
5080
|
F(() => {
|
|
5078
5081
|
N(h, "style", `animation-delay: ${f(p) * (+c / 25)}${o ?? ""}; width: ${f(p) * (+i() / 6) + r()}; height: ${f(p) * (+i() / 6) / 2 + r()}; `), re(h, "pause-animation", a());
|
|
5079
5082
|
}), T(d, h);
|
|
@@ -5111,7 +5114,7 @@ function Yf(t, e) {
|
|
|
5111
5114
|
});
|
|
5112
5115
|
}
|
|
5113
5116
|
oe(
|
|
5114
|
-
|
|
5117
|
+
Wf,
|
|
5115
5118
|
{
|
|
5116
5119
|
color: {},
|
|
5117
5120
|
unit: {},
|
|
@@ -5123,8 +5126,8 @@ oe(
|
|
|
5123
5126
|
[],
|
|
5124
5127
|
!0
|
|
5125
5128
|
);
|
|
5126
|
-
var
|
|
5127
|
-
const
|
|
5129
|
+
var Zf = /* @__PURE__ */ j('<div class="dot svelte-1uhddr4"></div>'), Xf = /* @__PURE__ */ j('<div class="wrapper svelte-1uhddr4"><div class="spinner svelte-1uhddr4"></div></div>');
|
|
5130
|
+
const Vf = {
|
|
5128
5131
|
hash: "svelte-1uhddr4",
|
|
5129
5132
|
code: `.wrapper.svelte-1uhddr4 {height:var(--size);width:var(--size);display:flex;justify-content:center;align-items:center;}.spinner.svelte-1uhddr4 {height:var(--size);width:var(--size);
|
|
5130
5133
|
animation: svelte-1uhddr4-rotate var(--duration) infinite linear;}.dot.svelte-1uhddr4 {width:60%;height:60%;display:inline-block;position:absolute;top:0;background-color:var(--color);border-radius:100%;
|
|
@@ -5145,14 +5148,14 @@ const Wf = {
|
|
|
5145
5148
|
}
|
|
5146
5149
|
}`
|
|
5147
5150
|
};
|
|
5148
|
-
function
|
|
5151
|
+
function Qf(t, e) {
|
|
5149
5152
|
var d;
|
|
5150
|
-
se(e, !1), ue(t,
|
|
5153
|
+
se(e, !1), ue(t, Vf);
|
|
5151
5154
|
let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), s = g(e, "duration", 12, "2s"), i = g(e, "size", 12, "60"), a = g(e, "pause", 12, !1), o = ((d = s().match(Je)) == null ? void 0 : d[0]) ?? "s", c = s().replace(Je, "");
|
|
5152
5155
|
ct();
|
|
5153
|
-
var l =
|
|
5156
|
+
var l = Xf(), u = z(l);
|
|
5154
5157
|
return Ke(u, 5, () => St(2, 0), Qe, (p, h) => {
|
|
5155
|
-
var w =
|
|
5158
|
+
var w = Zf();
|
|
5156
5159
|
F(() => {
|
|
5157
5160
|
N(w, "style", `animation-delay: ${(f(h) === 1 ? `${+c / 2}${o}` : "0s") ?? ""}; ${(f(h) === 1 ? "bottom: 0;" : "") ?? ""} ${(f(h) === 1 ? "top: auto;" : "") ?? ""}`), re(w, "pause-animation", a());
|
|
5158
5161
|
}), T(p, w);
|
|
@@ -5192,7 +5195,7 @@ function Zf(t, e) {
|
|
|
5192
5195
|
});
|
|
5193
5196
|
}
|
|
5194
5197
|
oe(
|
|
5195
|
-
|
|
5198
|
+
Qf,
|
|
5196
5199
|
{
|
|
5197
5200
|
color: {},
|
|
5198
5201
|
unit: {},
|
|
@@ -5204,8 +5207,8 @@ oe(
|
|
|
5204
5207
|
[],
|
|
5205
5208
|
!0
|
|
5206
5209
|
);
|
|
5207
|
-
var
|
|
5208
|
-
const
|
|
5210
|
+
var Kf = /* @__PURE__ */ j('<div class="square svelte-x90y"></div>');
|
|
5211
|
+
const ep = {
|
|
5209
5212
|
hash: "svelte-x90y",
|
|
5210
5213
|
code: `.square.svelte-x90y {height:var(--size);width:var(--size);background-color:var(--color);
|
|
5211
5214
|
animation: svelte-x90y-squareDelay var(--duration) 0s infinite cubic-bezier(0.09, 0.57, 0.49, 0.9);animation-fill-mode:both;perspective:100px;display:inline-block;}.pause-animation.svelte-x90y {animation-play-state:paused;}
|
|
@@ -5228,10 +5231,10 @@ const Vf = {
|
|
|
5228
5231
|
}
|
|
5229
5232
|
}`
|
|
5230
5233
|
};
|
|
5231
|
-
function
|
|
5232
|
-
se(e, !1), ue(t,
|
|
5234
|
+
function tp(t, e) {
|
|
5235
|
+
se(e, !1), ue(t, ep);
|
|
5233
5236
|
let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), s = g(e, "duration", 12, "3s"), i = g(e, "size", 12, "60"), a = g(e, "pause", 12, !1);
|
|
5234
|
-
var o =
|
|
5237
|
+
var o = Kf();
|
|
5235
5238
|
return F(() => {
|
|
5236
5239
|
N(o, "style", `--size: ${i() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${s() ?? ""};`), re(o, "pause-animation", a());
|
|
5237
5240
|
}), T(t, o), ie({
|
|
@@ -5268,7 +5271,7 @@ function Qf(t, e) {
|
|
|
5268
5271
|
});
|
|
5269
5272
|
}
|
|
5270
5273
|
oe(
|
|
5271
|
-
|
|
5274
|
+
tp,
|
|
5272
5275
|
{
|
|
5273
5276
|
color: {},
|
|
5274
5277
|
unit: {},
|
|
@@ -5280,8 +5283,8 @@ oe(
|
|
|
5280
5283
|
[],
|
|
5281
5284
|
!0
|
|
5282
5285
|
);
|
|
5283
|
-
var
|
|
5284
|
-
const
|
|
5286
|
+
var np = /* @__PURE__ */ j('<div class="wrapper svelte-5bpnhx"><div class="shadow svelte-5bpnhx"></div></div>');
|
|
5287
|
+
const rp = {
|
|
5285
5288
|
hash: "svelte-5bpnhx",
|
|
5286
5289
|
code: `.wrapper.svelte-5bpnhx {position:relative;display:flex;justify-content:center;align-items:center;width:var(--size);height:var(--size);}.shadow.svelte-5bpnhx {color:var(--color);font-size:var(--size);overflow:hidden;width:var(--size);height:var(--size);border-radius:50%;margin:28px auto;position:relative;transform:translateZ(0);
|
|
5287
5290
|
animation: svelte-5bpnhx-load var(--duration) infinite ease, svelte-5bpnhx-round var(--duration) infinite ease;}.pause-animation.svelte-5bpnhx {animation-play-state:paused;}
|
|
@@ -5322,10 +5325,10 @@ const ep = {
|
|
|
5322
5325
|
}
|
|
5323
5326
|
}`
|
|
5324
5327
|
};
|
|
5325
|
-
function
|
|
5326
|
-
se(e, !1), ue(t,
|
|
5328
|
+
function sp(t, e) {
|
|
5329
|
+
se(e, !1), ue(t, rp);
|
|
5327
5330
|
let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), s = g(e, "duration", 12, "1.7s"), i = g(e, "size", 12, "60"), a = g(e, "pause", 12, !1);
|
|
5328
|
-
var o =
|
|
5331
|
+
var o = np(), c = z(o);
|
|
5329
5332
|
return k(o), F(() => {
|
|
5330
5333
|
N(o, "style", `--size: ${i() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${s() ?? ""};`), re(c, "pause-animation", a());
|
|
5331
5334
|
}), T(t, o), ie({
|
|
@@ -5362,7 +5365,7 @@ function tp(t, e) {
|
|
|
5362
5365
|
});
|
|
5363
5366
|
}
|
|
5364
5367
|
oe(
|
|
5365
|
-
|
|
5368
|
+
sp,
|
|
5366
5369
|
{
|
|
5367
5370
|
color: {},
|
|
5368
5371
|
unit: {},
|
|
@@ -5374,8 +5377,8 @@ oe(
|
|
|
5374
5377
|
[],
|
|
5375
5378
|
!0
|
|
5376
5379
|
);
|
|
5377
|
-
var
|
|
5378
|
-
const
|
|
5380
|
+
var ip = /* @__PURE__ */ j('<div class="wrapper svelte-e653jg"><div class="circle-one svelte-e653jg"></div> <div class="circle-two svelte-e653jg"></div></div>');
|
|
5381
|
+
const ap = {
|
|
5379
5382
|
hash: "svelte-e653jg",
|
|
5380
5383
|
code: `.wrapper.svelte-e653jg {height:var(--size);width:var(--size);border-radius:100%;
|
|
5381
5384
|
animation: svelte-e653jg-moonStretchDelay var(--duration) 0s infinite linear;animation-fill-mode:forwards;position:relative;}.circle-one.svelte-e653jg {top:var(--moonSize);background-color:var(--color);width:calc(var(--size) / 7);height:calc(var(--size) / 7);border-radius:100%;
|
|
@@ -5386,10 +5389,10 @@ const rp = {
|
|
|
5386
5389
|
}
|
|
5387
5390
|
}`
|
|
5388
5391
|
};
|
|
5389
|
-
function
|
|
5390
|
-
se(e, !1), ue(t,
|
|
5392
|
+
function op(t, e) {
|
|
5393
|
+
se(e, !1), ue(t, ap);
|
|
5391
5394
|
let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), s = g(e, "duration", 12, "0.6s"), i = g(e, "size", 12, "60"), a = g(e, "pause", 12, !1), o = +i() / 7, c = +i() / 2 - o / 2;
|
|
5392
|
-
var l =
|
|
5395
|
+
var l = ip(), u = z(l), d = O(u, 2);
|
|
5393
5396
|
return k(l), F(() => {
|
|
5394
5397
|
N(l, "style", `--size: ${i() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --moonSize: ${c ?? ""}${r() ?? ""}; --duration: ${s() ?? ""};`), re(l, "pause-animation", a()), re(u, "pause-animation", a()), re(d, "pause-animation", a());
|
|
5395
5398
|
}), T(t, l), ie({
|
|
@@ -5426,7 +5429,7 @@ function sp(t, e) {
|
|
|
5426
5429
|
});
|
|
5427
5430
|
}
|
|
5428
5431
|
oe(
|
|
5429
|
-
|
|
5432
|
+
op,
|
|
5430
5433
|
{
|
|
5431
5434
|
color: {},
|
|
5432
5435
|
unit: {},
|
|
@@ -5438,8 +5441,8 @@ oe(
|
|
|
5438
5441
|
[],
|
|
5439
5442
|
!0
|
|
5440
5443
|
);
|
|
5441
|
-
var
|
|
5442
|
-
const
|
|
5444
|
+
var lp = /* @__PURE__ */ j('<div class="wrapper svelte-1cx3779"><div class="spinner-inner svelte-1cx3779"><div id="top" class="mask svelte-1cx3779"><div class="plane svelte-1cx3779"></div></div> <div id="middle" class="mask svelte-1cx3779"><div class="plane svelte-1cx3779"></div></div> <div id="bottom" class="mask svelte-1cx3779"><div class="plane svelte-1cx3779"></div></div></div></div>');
|
|
5445
|
+
const cp = {
|
|
5443
5446
|
hash: "svelte-1cx3779",
|
|
5444
5447
|
code: `.wrapper.svelte-1cx3779 {height:var(--size);width:var(--size);position:relative;display:flex;justify-content:center;align-items:center;}.wrapper.svelte-1cx3779 :where(.svelte-1cx3779) {line-height:0;box-sizing:border-box;}.spinner-inner.svelte-1cx3779 {height:var(--size);width:var(--size);transform:scale(calc(var(--size) / 70));}.mask.svelte-1cx3779 {position:absolute;border-radius:2px;overflow:hidden;perspective:1000;backface-visibility:hidden;}.plane.svelte-1cx3779 {background:var(--color);width:400%;height:100%;position:absolute;z-index:100;perspective:1000;backface-visibility:hidden;}#top.svelte-1cx3779 .plane:where(.svelte-1cx3779) {z-index:2000;
|
|
5445
5448
|
animation: svelte-1cx3779-trans1 var(--duration) ease-in infinite 0s backwards;}#middle.svelte-1cx3779 .plane:where(.svelte-1cx3779) {transform:translate3d(0px, 0, 0);background:var(--rgba);
|
|
@@ -5471,8 +5474,8 @@ const ap = {
|
|
|
5471
5474
|
}
|
|
5472
5475
|
}`
|
|
5473
5476
|
};
|
|
5474
|
-
function
|
|
5475
|
-
se(e, !1), ue(t,
|
|
5477
|
+
function up(t, e) {
|
|
5478
|
+
se(e, !1), ue(t, cp);
|
|
5476
5479
|
let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), s = g(e, "duration", 12, "1.3s"), i = g(e, "size", 12, "60"), a = g(e, "pause", 12, !1), o = Wt();
|
|
5477
5480
|
Gn(
|
|
5478
5481
|
() => Cn(n()),
|
|
@@ -5480,7 +5483,7 @@ function op(t, e) {
|
|
|
5480
5483
|
b(o, As(n(), 0.6));
|
|
5481
5484
|
}
|
|
5482
5485
|
), Jn(), ct();
|
|
5483
|
-
var c =
|
|
5486
|
+
var c = lp(), l = z(c);
|
|
5484
5487
|
return k(c), F(() => {
|
|
5485
5488
|
N(c, "style", `--size: ${i() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --rgba: ${f(o) ?? ""}; --duration: ${s() ?? ""};`), re(l, "pause-animation", a());
|
|
5486
5489
|
}), T(t, c), ie({
|
|
@@ -5517,7 +5520,7 @@ function op(t, e) {
|
|
|
5517
5520
|
});
|
|
5518
5521
|
}
|
|
5519
5522
|
oe(
|
|
5520
|
-
|
|
5523
|
+
up,
|
|
5521
5524
|
{
|
|
5522
5525
|
color: {},
|
|
5523
5526
|
unit: {},
|
|
@@ -5529,8 +5532,8 @@ oe(
|
|
|
5529
5532
|
[],
|
|
5530
5533
|
!0
|
|
5531
5534
|
);
|
|
5532
|
-
var
|
|
5533
|
-
const
|
|
5535
|
+
var dp = /* @__PURE__ */ j('<span class="svelte-1jnfmql"><div class="svelte-1jnfmql"></div> <div class="svelte-1jnfmql"></div> <div class="svelte-1jnfmql"></div></span>');
|
|
5536
|
+
const fp = {
|
|
5534
5537
|
hash: "svelte-1jnfmql",
|
|
5535
5538
|
code: `span.svelte-1jnfmql {width:var(--size);height:calc(var(--size) / 4);position:relative;display:block;}div.svelte-1jnfmql {width:calc(var(--size) / 4);height:calc(var(--size) / 4);position:absolute;left:0%;top:0;border-radius:2px;background:var(--color);transform:translateX(-50%) rotate(45deg) scale(0);
|
|
5536
5539
|
animation: svelte-1jnfmql-diamonds var(--duration) linear infinite;}div.svelte-1jnfmql:nth-child(1) {animation-delay:calc(var(--duration) * 2 / 3 * -1);}div.svelte-1jnfmql:nth-child(2) {animation-delay:calc(var(--duration) * 2 / 3 * -2);}div.svelte-1jnfmql:nth-child(3) {animation-delay:calc(var(--duration) * 2 / 3 * -3);}.pause-animation.svelte-1jnfmql div:where(.svelte-1jnfmql) {animation-play-state:paused;}
|
|
@@ -5546,10 +5549,10 @@ const cp = {
|
|
|
5546
5549
|
}
|
|
5547
5550
|
}`
|
|
5548
5551
|
};
|
|
5549
|
-
function
|
|
5550
|
-
se(e, !1), ue(t,
|
|
5552
|
+
function pp(t, e) {
|
|
5553
|
+
se(e, !1), ue(t, fp);
|
|
5551
5554
|
let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), s = g(e, "duration", 12, "1.5s"), i = g(e, "size", 12, "60"), a = g(e, "pause", 12, !1);
|
|
5552
|
-
var o =
|
|
5555
|
+
var o = dp();
|
|
5553
5556
|
return F(() => {
|
|
5554
5557
|
N(o, "style", `--size: ${i() ?? ""}${r() ?? ""}; --color:${n() ?? ""}; --duration: ${s() ?? ""};`), re(o, "pause-animation", a());
|
|
5555
5558
|
}), T(t, o), ie({
|
|
@@ -5586,7 +5589,7 @@ function up(t, e) {
|
|
|
5586
5589
|
});
|
|
5587
5590
|
}
|
|
5588
5591
|
oe(
|
|
5589
|
-
|
|
5592
|
+
pp,
|
|
5590
5593
|
{
|
|
5591
5594
|
color: {},
|
|
5592
5595
|
unit: {},
|
|
@@ -5598,8 +5601,8 @@ oe(
|
|
|
5598
5601
|
[],
|
|
5599
5602
|
!0
|
|
5600
5603
|
);
|
|
5601
|
-
var
|
|
5602
|
-
const
|
|
5604
|
+
var hp = /* @__PURE__ */ j('<div class="svelte-db2m9w"></div>');
|
|
5605
|
+
const vp = {
|
|
5603
5606
|
hash: "svelte-db2m9w",
|
|
5604
5607
|
code: `div.svelte-db2m9w {position:relative;width:var(--size);height:var(--size);background-color:transparent;box-shadow:inset 0px 0px 0px 2px var(--color);border-radius:50%;}div.svelte-db2m9w::before,
|
|
5605
5608
|
div.svelte-db2m9w::after {position:absolute;content:'';background-color:var(--color);}div.svelte-db2m9w::after {width:calc(var(--size) / 2.4);height:2px;top:calc(var(--size) / 2);left:calc(var(--size) / 2);transform-origin:1px 1px;
|
|
@@ -5613,10 +5616,10 @@ const fp = {
|
|
|
5613
5616
|
}
|
|
5614
5617
|
}`
|
|
5615
5618
|
};
|
|
5616
|
-
function
|
|
5617
|
-
se(e, !1), ue(t,
|
|
5619
|
+
function gp(t, e) {
|
|
5620
|
+
se(e, !1), ue(t, vp);
|
|
5618
5621
|
let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), s = g(e, "duration", 12, "8s"), i = g(e, "size", 12, "60"), a = g(e, "pause", 12, !1);
|
|
5619
|
-
var o =
|
|
5622
|
+
var o = hp();
|
|
5620
5623
|
return F(() => {
|
|
5621
5624
|
N(o, "style", `--size: ${i() ?? ""}${r() ?? ""}; --color:${n() ?? ""}; --duration:${s() ?? ""}`), re(o, "pause-animation", a());
|
|
5622
5625
|
}), T(t, o), ie({
|
|
@@ -5653,7 +5656,7 @@ function pp(t, e) {
|
|
|
5653
5656
|
});
|
|
5654
5657
|
}
|
|
5655
5658
|
oe(
|
|
5656
|
-
|
|
5659
|
+
gp,
|
|
5657
5660
|
{
|
|
5658
5661
|
color: {},
|
|
5659
5662
|
unit: {},
|
|
@@ -5665,8 +5668,8 @@ oe(
|
|
|
5665
5668
|
[],
|
|
5666
5669
|
!0
|
|
5667
5670
|
);
|
|
5668
|
-
var
|
|
5669
|
-
const
|
|
5671
|
+
var mp = /* @__PURE__ */ j('<div class="bar svelte-1vzsw15"></div>'), bp = /* @__PURE__ */ j('<div class="wrapper svelte-1vzsw15"></div>');
|
|
5672
|
+
const xp = {
|
|
5670
5673
|
hash: "svelte-1vzsw15",
|
|
5671
5674
|
code: `.wrapper.svelte-1vzsw15 {position:relative;display:flex;justify-content:center;align-items:center;width:calc(var(--size) * 2.5);height:var(--size);overflow:hidden;}.bar.svelte-1vzsw15 {position:absolute;top:calc(var(--size) / 10);width:calc(var(--size) / 5);height:calc(var(--size) / 10);margin-top:calc(var(--size) - var(--size) / 10);transform:skewY(0deg);background-color:var(--color);
|
|
5672
5675
|
animation: svelte-1vzsw15-motion var(--duration) ease-in-out infinite;}.pause-animation.svelte-1vzsw15 {animation-play-state:paused;}
|
|
@@ -5683,14 +5686,14 @@ const gp = {
|
|
|
5683
5686
|
}
|
|
5684
5687
|
}`
|
|
5685
5688
|
};
|
|
5686
|
-
function
|
|
5689
|
+
function wp(t, e) {
|
|
5687
5690
|
var u;
|
|
5688
|
-
se(e, !1), ue(t,
|
|
5691
|
+
se(e, !1), ue(t, xp);
|
|
5689
5692
|
let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), s = g(e, "duration", 12, "1.25s"), i = g(e, "size", 12, "60"), a = g(e, "pause", 12, !1), o = ((u = s().match(Je)) == null ? void 0 : u[0]) ?? "s", c = s().replace(Je, "");
|
|
5690
5693
|
ct();
|
|
5691
|
-
var l =
|
|
5694
|
+
var l = bp();
|
|
5692
5695
|
return Ke(l, 5, () => St(10, 0), Qe, (d, p) => {
|
|
5693
|
-
var h =
|
|
5696
|
+
var h = mp();
|
|
5694
5697
|
F(() => {
|
|
5695
5698
|
N(h, "style", `left: ${f(p) * (+i() / 5 + (+i() / 15 - +i() / 100)) + r()}; animation-delay: ${f(p) * (+c / 8.3)}${o ?? ""};`), re(h, "pause-animation", a());
|
|
5696
5699
|
}), T(d, h);
|
|
@@ -5728,7 +5731,7 @@ function mp(t, e) {
|
|
|
5728
5731
|
});
|
|
5729
5732
|
}
|
|
5730
5733
|
oe(
|
|
5731
|
-
|
|
5734
|
+
wp,
|
|
5732
5735
|
{
|
|
5733
5736
|
color: {},
|
|
5734
5737
|
unit: {},
|
|
@@ -5740,8 +5743,8 @@ oe(
|
|
|
5740
5743
|
[],
|
|
5741
5744
|
!0
|
|
5742
5745
|
);
|
|
5743
|
-
var
|
|
5744
|
-
const
|
|
5746
|
+
var _p = /* @__PURE__ */ j('<span class="circle svelte-bv9t2p"></span>'), kp = /* @__PURE__ */ j('<span class="wrapper svelte-bv9t2p"></span>');
|
|
5747
|
+
const yp = {
|
|
5745
5748
|
hash: "svelte-bv9t2p",
|
|
5746
5749
|
code: `.wrapper.svelte-bv9t2p {display:inherit;position:relative;width:var(--size);height:var(--size);}.circle.svelte-bv9t2p {position:absolute;width:var(--size);height:var(--size);border:thick solid var(--rgba);border-radius:50%;opacity:1;top:0px;left:0px;animation-fill-mode:both;animation-iteration-count:infinite;animation-timing-function:cubic-bezier(0.165, 0.84, 0.44, 1), cubic-bezier(0.3, 0.61, 0.355, 1);animation-direction:normal, normal;animation-fill-mode:none, none;animation-play-state:running, running;
|
|
5747
5750
|
animation-name: svelte-bv9t2p-puff-1, svelte-bv9t2p-puff-2;box-sizing:border-box;}.pause-animation.svelte-bv9t2p {animation-play-state:paused;}
|
|
@@ -5762,9 +5765,9 @@ const wp = {
|
|
|
5762
5765
|
}
|
|
5763
5766
|
}`
|
|
5764
5767
|
};
|
|
5765
|
-
function
|
|
5768
|
+
function zp(t, e) {
|
|
5766
5769
|
var d;
|
|
5767
|
-
se(e, !1), ue(t,
|
|
5770
|
+
se(e, !1), ue(t, yp);
|
|
5768
5771
|
let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), s = g(e, "duration", 12, "1s"), i = g(e, "size", 12, "60"), a = g(e, "pause", 12, !1), o = ((d = s().match(Je)) == null ? void 0 : d[0]) ?? "s", c = s().replace(Je, ""), l = Wt();
|
|
5769
5772
|
Gn(
|
|
5770
5773
|
() => Cn(n()),
|
|
@@ -5772,9 +5775,9 @@ function _p(t, e) {
|
|
|
5772
5775
|
b(l, As(n(), 1));
|
|
5773
5776
|
}
|
|
5774
5777
|
), Jn(), ct();
|
|
5775
|
-
var u =
|
|
5778
|
+
var u = kp();
|
|
5776
5779
|
return Ke(u, 5, () => St(2, 1), Qe, (p, h) => {
|
|
5777
|
-
var w =
|
|
5780
|
+
var w = _p();
|
|
5778
5781
|
F(() => {
|
|
5779
5782
|
N(w, "style", `animation-delay: ${(f(h) === 1 ? "-1s" : "0s") ?? ""}; animation-duration: ${2 / +c + o};`), re(w, "pause-animation", a());
|
|
5780
5783
|
}), T(p, w);
|
|
@@ -5812,7 +5815,7 @@ function _p(t, e) {
|
|
|
5812
5815
|
});
|
|
5813
5816
|
}
|
|
5814
5817
|
oe(
|
|
5815
|
-
|
|
5818
|
+
zp,
|
|
5816
5819
|
{
|
|
5817
5820
|
color: {},
|
|
5818
5821
|
unit: {},
|
|
@@ -5824,8 +5827,8 @@ oe(
|
|
|
5824
5827
|
[],
|
|
5825
5828
|
!0
|
|
5826
5829
|
);
|
|
5827
|
-
var
|
|
5828
|
-
const
|
|
5830
|
+
var $p = /* @__PURE__ */ j('<div class="wrapper svelte-f6hkgc"></div>');
|
|
5831
|
+
const Tp = {
|
|
5829
5832
|
hash: "svelte-f6hkgc",
|
|
5830
5833
|
code: `.wrapper.svelte-f6hkgc {width:var(--size);height:calc(var(--size) * 1.5);margin-left:var(--size);background:var(--color);display:inline-block;position:relative;box-sizing:border-box;
|
|
5831
5834
|
animation: svelte-f6hkgc-bump var(--duration) ease-in infinite alternate;}.wrapper.svelte-f6hkgc::after {content:'';box-sizing:border-box;left:50%;top:100%;transform:translate(-50%, 0);position:absolute;border:var(--size) solid transparent;border-top-color:var(--color);}.pause-animation.svelte-f6hkgc {animation-play-state:paused;}
|
|
@@ -5838,10 +5841,10 @@ const yp = {
|
|
|
5838
5841
|
}
|
|
5839
5842
|
}`
|
|
5840
5843
|
};
|
|
5841
|
-
function
|
|
5842
|
-
se(e, !1), ue(t,
|
|
5844
|
+
function Sp(t, e) {
|
|
5845
|
+
se(e, !1), ue(t, Tp);
|
|
5843
5846
|
let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), s = g(e, "duration", 12, "0.4s"), i = g(e, "size", 12, "15"), a = g(e, "pause", 12, !1);
|
|
5844
|
-
var o =
|
|
5847
|
+
var o = $p();
|
|
5845
5848
|
return F(() => {
|
|
5846
5849
|
N(o, "style", `--size: ${i() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${s() ?? ""};`), re(o, "pause-animation", a());
|
|
5847
5850
|
}), T(t, o), ie({
|
|
@@ -5878,7 +5881,7 @@ function zp(t, e) {
|
|
|
5878
5881
|
});
|
|
5879
5882
|
}
|
|
5880
5883
|
oe(
|
|
5881
|
-
|
|
5884
|
+
Sp,
|
|
5882
5885
|
{
|
|
5883
5886
|
color: {},
|
|
5884
5887
|
unit: {},
|
|
@@ -5890,8 +5893,8 @@ oe(
|
|
|
5890
5893
|
[],
|
|
5891
5894
|
!0
|
|
5892
5895
|
);
|
|
5893
|
-
var
|
|
5894
|
-
const
|
|
5896
|
+
var Ep = /* @__PURE__ */ j('<div class="wrapper svelte-1ju64u"></div>');
|
|
5897
|
+
const Cp = {
|
|
5895
5898
|
hash: "svelte-1ju64u",
|
|
5896
5899
|
code: `.wrapper.svelte-1ju64u {width:var(--size);height:calc(var(--size) * 1.5);margin-left:var(--size);margin-top:var(--size);background:var(--color);display:inline-block;position:relative;box-sizing:border-box;
|
|
5897
5900
|
animation: svelte-1ju64u-bump var(--duration) ease-in infinite alternate;}.wrapper.svelte-1ju64u::after {content:'';box-sizing:border-box;left:50%;bottom:100%;transform:translate(-50%, 0);position:absolute;border:var(--size) solid transparent;border-bottom-color:var(--color);}.pause-animation.svelte-1ju64u {animation-play-state:paused;}
|
|
@@ -5904,10 +5907,10 @@ const Tp = {
|
|
|
5904
5907
|
}
|
|
5905
5908
|
}`
|
|
5906
5909
|
};
|
|
5907
|
-
function
|
|
5908
|
-
se(e, !1), ue(t,
|
|
5910
|
+
function Ip(t, e) {
|
|
5911
|
+
se(e, !1), ue(t, Cp);
|
|
5909
5912
|
let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), s = g(e, "duration", 12, "0.4s"), i = g(e, "size", 12, "15"), a = g(e, "pause", 12, !1);
|
|
5910
|
-
var o =
|
|
5913
|
+
var o = Ep();
|
|
5911
5914
|
return F(() => {
|
|
5912
5915
|
N(o, "style", `--size: ${i() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${s() ?? ""};`), re(o, "pause-animation", a());
|
|
5913
5916
|
}), T(t, o), ie({
|
|
@@ -5944,7 +5947,7 @@ function Sp(t, e) {
|
|
|
5944
5947
|
});
|
|
5945
5948
|
}
|
|
5946
5949
|
oe(
|
|
5947
|
-
|
|
5950
|
+
Ip,
|
|
5948
5951
|
{
|
|
5949
5952
|
color: {},
|
|
5950
5953
|
unit: {},
|
|
@@ -5960,7 +5963,7 @@ function Zn(t) {
|
|
|
5960
5963
|
switch (t) {
|
|
5961
5964
|
case "normative":
|
|
5962
5965
|
return {
|
|
5963
|
-
name: /* @__PURE__ */
|
|
5966
|
+
name: /* @__PURE__ */ Fu(),
|
|
5964
5967
|
icon: "fa-solid fa-book-open",
|
|
5965
5968
|
color: "#28853d",
|
|
5966
5969
|
textColor: "white"
|
|
@@ -5974,7 +5977,7 @@ function Zn(t) {
|
|
|
5974
5977
|
};
|
|
5975
5978
|
default:
|
|
5976
5979
|
return {
|
|
5977
|
-
name: /* @__PURE__ */
|
|
5980
|
+
name: /* @__PURE__ */ Mu(),
|
|
5978
5981
|
icon: "fa-solid fa-file",
|
|
5979
5982
|
color: "",
|
|
5980
5983
|
textColor: ""
|
|
@@ -5984,10 +5987,10 @@ function Zn(t) {
|
|
|
5984
5987
|
const Ia = (t) => {
|
|
5985
5988
|
var e;
|
|
5986
5989
|
return (e = t.split(".").pop()) == null ? void 0 : e.toLowerCase();
|
|
5987
|
-
},
|
|
5990
|
+
}, Ap = (t) => {
|
|
5988
5991
|
const e = t.split(".").pop();
|
|
5989
5992
|
return t.includes(".") && e !== t;
|
|
5990
|
-
},
|
|
5993
|
+
}, Lp = {
|
|
5991
5994
|
pdf: { icon: "fa-solid fa-file-pdf", color: "#f0463c" },
|
|
5992
5995
|
docx: { icon: "fa-solid fa-file-word", color: "#305b9a" },
|
|
5993
5996
|
xlsx: { icon: "fa-solid fa-file-excel", color: "#0c7540" },
|
|
@@ -5996,9 +5999,9 @@ const Ia = (t) => {
|
|
|
5996
5999
|
tldv: { icon: "fa-solid fa-video", color: "#1d1dff" }
|
|
5997
6000
|
}, js = (t) => {
|
|
5998
6001
|
const e = Ia(t);
|
|
5999
|
-
return
|
|
6000
|
-
},
|
|
6001
|
-
function
|
|
6002
|
+
return Lp[e || ""] || { icon: "fa-solid fa-file", color: "#6c757d" };
|
|
6003
|
+
}, jp = (t) => js(t).icon;
|
|
6004
|
+
function Rp(t) {
|
|
6002
6005
|
return {
|
|
6003
6006
|
normative: "File Forge",
|
|
6004
6007
|
suite: "File Forge",
|
|
@@ -6010,7 +6013,7 @@ function Ap(t) {
|
|
|
6010
6013
|
const tr = (t, e) => `${t}-${e}`, Aa = (t) => t.isCommon ? t.filename.split(".")[0] : t.filename, La = (t) => t.isCommon ? Zn(t.commonType).name : t.path !== "" ? t.path : "root /", ja = (t) => {
|
|
6011
6014
|
const e = Aa(t), n = La(t);
|
|
6012
6015
|
return { displayName: e, path: n };
|
|
6013
|
-
},
|
|
6016
|
+
}, Dp = (t) => {
|
|
6014
6017
|
const { filename: e, isCommon: n, commonType: r } = t;
|
|
6015
6018
|
if (r === "trascrizione")
|
|
6016
6019
|
return { icon: "fa-solid fa-video", color: "#1d1dff" };
|
|
@@ -6022,25 +6025,25 @@ const tr = (t, e) => `${t}-${e}`, Aa = (t) => t.isCommon ? t.filename.split(".")
|
|
|
6022
6025
|
};
|
|
6023
6026
|
}
|
|
6024
6027
|
return js(e);
|
|
6025
|
-
},
|
|
6028
|
+
}, Fp = (t, e) => t >= 50 || e === "suite", Op = (t, e) => {
|
|
6026
6029
|
const n = t.isCommon || !1, r = t.commonType || "";
|
|
6027
6030
|
return n && e < 50 && r !== "suite";
|
|
6028
|
-
},
|
|
6031
|
+
}, Pp = (t) => `<ul>${t.map((n) => {
|
|
6029
6032
|
const { displayName: r, path: s } = ja(n);
|
|
6030
6033
|
return `<li><strong>${r}</strong><br>${s}</li>`;
|
|
6031
|
-
}).join("")}</ul>`,
|
|
6034
|
+
}).join("")}</ul>`, Mp = (t) => t.map((e) => {
|
|
6032
6035
|
const { displayName: n, path: r } = ja(e);
|
|
6033
6036
|
return `• ${n}
|
|
6034
6037
|
${r}`;
|
|
6035
6038
|
}).join(`
|
|
6036
6039
|
|
|
6037
|
-
`),
|
|
6040
|
+
`), Np = async (t, e) => {
|
|
6038
6041
|
const n = new Blob([t], { type: "text/html" }), r = new Blob([e], { type: "text/plain" }), s = new ClipboardItem({
|
|
6039
6042
|
"text/html": n,
|
|
6040
6043
|
"text/plain": r
|
|
6041
6044
|
});
|
|
6042
6045
|
await navigator.clipboard.write([s]);
|
|
6043
|
-
},
|
|
6046
|
+
}, Up = (t, e) => {
|
|
6044
6047
|
if (t instanceof en)
|
|
6045
6048
|
return {
|
|
6046
6049
|
class: e.icon,
|
|
@@ -6061,7 +6064,7 @@ const tr = (t, e) => `${t}-${e}`, Aa = (t) => t.isCommon ? t.filename.split(".")
|
|
|
6061
6064
|
};
|
|
6062
6065
|
}
|
|
6063
6066
|
return { class: "fa-solid fa-file", color: "#6c757d" };
|
|
6064
|
-
},
|
|
6067
|
+
}, Bp = (t) => {
|
|
6065
6068
|
if (t instanceof en)
|
|
6066
6069
|
return t.title.split(".")[0];
|
|
6067
6070
|
if (t instanceof cn || t instanceof tn)
|
|
@@ -6071,15 +6074,15 @@ const tr = (t, e) => `${t}-${e}`, Aa = (t) => t.isCommon ? t.filename.split(".")
|
|
|
6071
6074
|
return e.isCommon ? e.title.split(".")[0] : e.title;
|
|
6072
6075
|
}
|
|
6073
6076
|
return "";
|
|
6074
|
-
},
|
|
6077
|
+
}, qp = (t) => {
|
|
6075
6078
|
if (t instanceof Ht) {
|
|
6076
6079
|
const e = t.path;
|
|
6077
6080
|
return e && e !== "" ? e : "root";
|
|
6078
6081
|
}
|
|
6079
6082
|
return null;
|
|
6080
|
-
},
|
|
6083
|
+
}, Hp = (t, e, n, r) => {
|
|
6081
6084
|
e(!1), b(n, ""), r();
|
|
6082
|
-
},
|
|
6085
|
+
}, Yp = (t, e, n, r, s, i, a, o) => {
|
|
6083
6086
|
const c = t.target;
|
|
6084
6087
|
b(e, I(c.value));
|
|
6085
6088
|
const u = {
|
|
@@ -6090,20 +6093,20 @@ const tr = (t, e) => `${t}-${e}`, Aa = (t) => t.isCommon ? t.filename.split(".")
|
|
|
6090
6093
|
}[r()];
|
|
6091
6094
|
u ? u() : n(f(e), () => ft.getDocuments(f(e)), (d) => b(o, I(d)), "Errore nella ricerca documenti:");
|
|
6092
6095
|
};
|
|
6093
|
-
var
|
|
6094
|
-
const
|
|
6096
|
+
var Gp = /* @__PURE__ */ j('<div class="text-center p-3"><!> <p class="mt-2 text-muted"> </p></div>'), Jp = /* @__PURE__ */ j('<div class="text-center p-3"><i class="fa-solid fa-search text-muted fa-2x"></i> <p class="mt-2 text-muted"> </p></div>'), Wp = /* @__PURE__ */ j('<div class="text-center p-3"><i class="fa-solid fa-file-circle-exclamation text-muted fa-2x"></i> <p class="mt-2 text-muted"><!></p></div>'), Zp = (t, e, n) => e(f(n)), Xp = /* @__PURE__ */ j('<div class="document-path svelte-zrlk2s"> </div>'), Vp = /* @__PURE__ */ j('<div class="selected-indicator svelte-zrlk2s"><i class="fa-solid fa-circle-check"></i></div>'), Qp = /* @__PURE__ */ j('<button class="document-item svelte-zrlk2s"><div class="document-icon svelte-zrlk2s"><i></i></div> <div class="document-info"><div class="document-title svelte-zrlk2s"> </div> <!></div> <!></button>'), Kp = /* @__PURE__ */ j('<div class="documents-list svelte-zrlk2s"></div>'), eh = /* @__PURE__ */ j('<div class="modal-overlay svelte-zrlk2s"><div class="document-search-modal svelte-zrlk2s"><div class="modal-header svelte-zrlk2s"><h5 class="svelte-zrlk2s"> </h5> <button class="btn btn-sm btn-danger aks-btn-rounded" aria-label="Chiudi modale"><i class="fa-solid fa-xmark"></i></button></div> <div class="modal-body svelte-zrlk2s"><div class="search-container svelte-zrlk2s"><div class="input-group"><span class="input-group-text svelte-zrlk2s"><i class="fa-solid fa-search"></i></span> <input type="text" class="form-control" style="color: black;"></div></div> <div class="documents-container svelte-zrlk2s"><!></div></div></div></div>');
|
|
6097
|
+
const th = {
|
|
6095
6098
|
hash: "svelte-zrlk2s",
|
|
6096
6099
|
code: `\r
|
|
6097
6100
|
/* Stili per la modale di ricerca documenti */.modal-overlay.svelte-zrlk2s {position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0, 0, 0, 0.5);display:flex;justify-content:center;align-items:center;z-index:1050;}.document-search-modal.svelte-zrlk2s {background:white;border-radius:12px;box-shadow:0 8px 32px rgba(0, 0, 0, 0.2);width:90%;max-width:500px;max-height:80vh;display:flex;flex-direction:column;}.modal-header.svelte-zrlk2s {display:flex;justify-content:space-between;align-items:center;padding:20px;border-bottom:1px solid #e9ecef;}.modal-header.svelte-zrlk2s h5:where(.svelte-zrlk2s) {margin:0;font-weight:600;color:#295dcf;}.modal-body.svelte-zrlk2s {padding:20px;flex:1;overflow:hidden;display:flex;flex-direction:column;}.search-container.svelte-zrlk2s {margin-bottom:20px;}.documents-container.svelte-zrlk2s {flex:1;overflow:hidden;display:flex;flex-direction:column;}.documents-list.svelte-zrlk2s {overflow-y:auto;max-height:300px;border:1px solid #e9ecef;border-radius:8px;}.document-item.svelte-zrlk2s {display:flex;align-items:flex-start;width:100%;padding:12px 15px;border:none;background:white;color:#333;cursor:pointer;transition:all 0.2s;border-bottom:1px solid #f0f0f0;text-align:left;}.document-item.svelte-zrlk2s:last-child {border-bottom:none;}.document-item.svelte-zrlk2s:hover {background:#f8f9fa;color:#295dcf;}.document-icon.svelte-zrlk2s {margin-right:12px;color:#6c757d;width:20px;flex-shrink:0;margin-top:2px;}.document-title.svelte-zrlk2s {font-weight:500;margin-bottom:4px;word-wrap:break-word;}.document-path.svelte-zrlk2s {font-size:0.85em;color:#6c757d;word-wrap:break-word;}.input-group-text.svelte-zrlk2s {background:#f8f9fa;border-color:#e9ecef;color:#6c757d;}.document-item.selected.svelte-zrlk2s {background:#e7f3ff;border-left:3px solid #295dcf;}.document-item.selected.svelte-zrlk2s:hover {background:#d0e8ff;}.selected-indicator.svelte-zrlk2s {margin-left:auto;color:#28a745;font-size:1.2em;display:flex;align-items:center;}`
|
|
6098
6101
|
};
|
|
6099
6102
|
function Ra(t, e) {
|
|
6100
|
-
se(e, !0), ue(t,
|
|
6103
|
+
se(e, !0), ue(t, th);
|
|
6101
6104
|
let n = g(e, "attachments", 15), r = g(e, "showDocumentSearchModal", 15), s = g(e, "modeSelected", 15);
|
|
6102
6105
|
const i = { default: 3, gendoc: 1, transcriptions: 1 }, a = 3;
|
|
6103
6106
|
let o = /* @__PURE__ */ qe(() => Zn(s())), c = J(I([])), l = J(I([])), u = J(I([])), d = J(I([])), p = J(!1), h = J(""), w = /* @__PURE__ */ qe(() => s() === "normative" || s() === "suite" ? f(l) : s() === "gendoc" ? f(u) : s() === "transcriptions" ? f(d) : f(c));
|
|
6104
6107
|
const m = () => {
|
|
6105
6108
|
b(c, I([])), b(l, I([])), b(u, I([])), b(d, I([]));
|
|
6106
|
-
}, S = (R) => n()[R._id] ? (delete n()[R._id], !0) : !1, x = (R) => Object.keys(n()).length >= R ? (alert(/* @__PURE__ */
|
|
6109
|
+
}, S = (R) => n()[R._id] ? (delete n()[R._id], !0) : !1, x = (R) => Object.keys(n()).length >= R ? (alert(/* @__PURE__ */ ld({ count: R })), !1) : !0, _ = (R) => {
|
|
6107
6110
|
if (R instanceof Ht)
|
|
6108
6111
|
return {
|
|
6109
6112
|
title: R.title,
|
|
@@ -6153,18 +6156,18 @@ function Ra(t, e) {
|
|
|
6153
6156
|
b(p, !1);
|
|
6154
6157
|
}
|
|
6155
6158
|
};
|
|
6156
|
-
var E =
|
|
6159
|
+
var E = eh(), L = z(E), A = z(L), M = z(A), Z = z(M);
|
|
6157
6160
|
k(M);
|
|
6158
6161
|
var ee = O(M, 2);
|
|
6159
6162
|
ee.__click = [
|
|
6160
|
-
|
|
6163
|
+
Hp,
|
|
6161
6164
|
r,
|
|
6162
6165
|
h,
|
|
6163
6166
|
m
|
|
6164
6167
|
], k(A);
|
|
6165
6168
|
var Le = O(A, 2), Se = z(Le), ve = z(Se), ze = O(z(ve), 2);
|
|
6166
6169
|
Tl(ze), ze.__input = [
|
|
6167
|
-
|
|
6170
|
+
Yp,
|
|
6168
6171
|
h,
|
|
6169
6172
|
D,
|
|
6170
6173
|
s,
|
|
@@ -6176,40 +6179,40 @@ function Ra(t, e) {
|
|
|
6176
6179
|
var Re = O(Se, 2), Xe = z(Re);
|
|
6177
6180
|
{
|
|
6178
6181
|
var ut = (R) => {
|
|
6179
|
-
var te =
|
|
6182
|
+
var te = Gp(), Ee = z(te);
|
|
6180
6183
|
Ls(Ee, { size: "30", color: "#295dcf" });
|
|
6181
6184
|
var Ce = O(Ee, 2), Oe = z(Ce, !0);
|
|
6182
|
-
k(Ce), k(te), F((Ie) => _e(Oe, Ie), [() => /* @__PURE__ */
|
|
6185
|
+
k(Ce), k(te), F((Ie) => _e(Oe, Ie), [() => /* @__PURE__ */ Xu()]), T(R, te);
|
|
6183
6186
|
}, gt = (R) => {
|
|
6184
6187
|
var te = Tt(), Ee = pt(te);
|
|
6185
6188
|
{
|
|
6186
6189
|
var Ce = (Ie) => {
|
|
6187
|
-
var De =
|
|
6188
|
-
k(He), k(De), F((W) => _e(ke, W), [() => /* @__PURE__ */
|
|
6190
|
+
var De = Jp(), He = O(z(De), 2), ke = z(He, !0);
|
|
6191
|
+
k(He), k(De), F((W) => _e(ke, W), [() => /* @__PURE__ */ Vu()]), T(Ie, De);
|
|
6189
6192
|
}, Oe = (Ie) => {
|
|
6190
6193
|
var De = Tt(), He = pt(De);
|
|
6191
6194
|
{
|
|
6192
6195
|
var ke = (he) => {
|
|
6193
|
-
var le =
|
|
6196
|
+
var le = Wp(), fe = O(z(le), 2), ge = z(fe);
|
|
6194
6197
|
{
|
|
6195
6198
|
var Fe = (Pe) => {
|
|
6196
6199
|
var Me = Qn();
|
|
6197
|
-
F((Ne) => _e(Me, Ne), [() => /* @__PURE__ */
|
|
6200
|
+
F((Ne) => _e(Me, Ne), [() => /* @__PURE__ */ Qu()]), T(Pe, Me);
|
|
6198
6201
|
}, et = (Pe) => {
|
|
6199
6202
|
var Me = Tt(), Ne = pt(Me);
|
|
6200
6203
|
{
|
|
6201
6204
|
var tt = (Ye) => {
|
|
6202
6205
|
var B = Qn();
|
|
6203
|
-
F((H) => _e(B, H), [() => /* @__PURE__ */
|
|
6206
|
+
F((H) => _e(B, H), [() => /* @__PURE__ */ cd()]), T(Ye, B);
|
|
6204
6207
|
}, We = (Ye) => {
|
|
6205
6208
|
var B = Tt(), H = pt(B);
|
|
6206
6209
|
{
|
|
6207
6210
|
var X = (ce) => {
|
|
6208
6211
|
var ae = Qn();
|
|
6209
|
-
F((je) => _e(ae, je), [() => /* @__PURE__ */
|
|
6212
|
+
F((je) => _e(ae, je), [() => /* @__PURE__ */ ud()]), T(ce, ae);
|
|
6210
6213
|
}, we = (ce) => {
|
|
6211
6214
|
var ae = Qn();
|
|
6212
|
-
F((je) => _e(ae, je), [() => /* @__PURE__ */
|
|
6215
|
+
F((je) => _e(ae, je), [() => /* @__PURE__ */ Ku()]), T(ce, ae);
|
|
6213
6216
|
};
|
|
6214
6217
|
K(
|
|
6215
6218
|
H,
|
|
@@ -6237,11 +6240,11 @@ function Ra(t, e) {
|
|
|
6237
6240
|
}
|
|
6238
6241
|
k(fe), k(le), T(he, le);
|
|
6239
6242
|
}, W = (he) => {
|
|
6240
|
-
var le =
|
|
6243
|
+
var le = Kp();
|
|
6241
6244
|
Ke(le, 21, () => f(w), Qe, (fe, ge) => {
|
|
6242
|
-
var Fe =
|
|
6243
|
-
const et = /* @__PURE__ */ qe(() =>
|
|
6244
|
-
Fe.__click = [
|
|
6245
|
+
var Fe = Qp();
|
|
6246
|
+
const et = /* @__PURE__ */ qe(() => Up(f(ge), f(o))), Pe = /* @__PURE__ */ qe(() => Bp(f(ge))), Me = /* @__PURE__ */ qe(() => qp(f(ge)));
|
|
6247
|
+
Fe.__click = [Zp, y, ge];
|
|
6245
6248
|
var Ne = z(Fe), tt = z(Ne);
|
|
6246
6249
|
k(Ne);
|
|
6247
6250
|
var We = O(Ne, 2), Ye = z(We), B = z(Ye, !0);
|
|
@@ -6249,7 +6252,7 @@ function Ra(t, e) {
|
|
|
6249
6252
|
var H = O(Ye, 2);
|
|
6250
6253
|
{
|
|
6251
6254
|
var X = (ae) => {
|
|
6252
|
-
var je =
|
|
6255
|
+
var je = Xp(), Be = z(je, !0);
|
|
6253
6256
|
k(je), F(() => _e(Be, f(Me))), T(ae, je);
|
|
6254
6257
|
};
|
|
6255
6258
|
K(H, (ae) => {
|
|
@@ -6260,7 +6263,7 @@ function Ra(t, e) {
|
|
|
6260
6263
|
var we = O(We, 2);
|
|
6261
6264
|
{
|
|
6262
6265
|
var ce = (ae) => {
|
|
6263
|
-
var je =
|
|
6266
|
+
var je = Vp();
|
|
6264
6267
|
T(ae, je);
|
|
6265
6268
|
};
|
|
6266
6269
|
K(we, (ae) => {
|
|
@@ -6302,7 +6305,7 @@ function Ra(t, e) {
|
|
|
6302
6305
|
${te ?? ""}`), N(ze, "placeholder", `${R ?? ""} ${Ee ?? ""} (min 3 caratteri)...`), Sl(ze, f(h));
|
|
6303
6306
|
},
|
|
6304
6307
|
[
|
|
6305
|
-
() => /* @__PURE__ */
|
|
6308
|
+
() => /* @__PURE__ */ Zu(),
|
|
6306
6309
|
() => s() == "normative" || s() == "suite" ? f(o).name : s() == "transcriptions" ? "Meeting" : /* @__PURE__ */ di(),
|
|
6307
6310
|
() => s() == "normative" || s() == "suite" ? f(o).name : s() == "transcriptions" ? "Meeting" : /* @__PURE__ */ di()
|
|
6308
6311
|
]
|
|
@@ -6339,8 +6342,8 @@ oe(
|
|
|
6339
6342
|
[],
|
|
6340
6343
|
!0
|
|
6341
6344
|
);
|
|
6342
|
-
const
|
|
6343
|
-
function
|
|
6345
|
+
const nh = (t) => t.toLowerCase().includes("it") ? "it" : t.toLowerCase().includes("en") ? "en" : "it", rh = jp, sh = Rp;
|
|
6346
|
+
function ih(t) {
|
|
6344
6347
|
return Object.keys(t).map((e) => t[e].ext_id);
|
|
6345
6348
|
}
|
|
6346
6349
|
function hi(t) {
|
|
@@ -6361,7 +6364,7 @@ function hi(t) {
|
|
|
6361
6364
|
return "Standard Agent";
|
|
6362
6365
|
}
|
|
6363
6366
|
}
|
|
6364
|
-
const
|
|
6367
|
+
const ah = async (t) => {
|
|
6365
6368
|
const e = await fetch(`${U.getUrl()}/chat/${t}`, {
|
|
6366
6369
|
headers: {
|
|
6367
6370
|
akstoken: U.getToken(),
|
|
@@ -6373,7 +6376,7 @@ const rh = async (t) => {
|
|
|
6373
6376
|
throw new Error("Failed to fetch chat");
|
|
6374
6377
|
const n = await e.json();
|
|
6375
6378
|
return ln.fromJson(n);
|
|
6376
|
-
},
|
|
6379
|
+
}, oh = async () => {
|
|
6377
6380
|
const t = await fetch(`${U.getUrl()}/chat`, {
|
|
6378
6381
|
headers: {
|
|
6379
6382
|
akstoken: U.getToken(),
|
|
@@ -6384,7 +6387,7 @@ const rh = async (t) => {
|
|
|
6384
6387
|
if (!t.ok)
|
|
6385
6388
|
throw new Error("Failed to fetch chats");
|
|
6386
6389
|
return (await t.json()).map((n) => ln.fromJson(n));
|
|
6387
|
-
},
|
|
6390
|
+
}, lh = async (t) => {
|
|
6388
6391
|
const e = await fetch(`${U.getUrl()}/chat`, {
|
|
6389
6392
|
method: "POST",
|
|
6390
6393
|
headers: {
|
|
@@ -6399,7 +6402,7 @@ const rh = async (t) => {
|
|
|
6399
6402
|
throw new Error("Failed to create chat");
|
|
6400
6403
|
const n = await e.json();
|
|
6401
6404
|
return ln.fromJson(n);
|
|
6402
|
-
},
|
|
6405
|
+
}, ch = async (t, e, n, r = [], s, i, a) => {
|
|
6403
6406
|
let o, c = !1;
|
|
6404
6407
|
try {
|
|
6405
6408
|
await Da(t, e, r);
|
|
@@ -6439,7 +6442,7 @@ const rh = async (t) => {
|
|
|
6439
6442
|
}
|
|
6440
6443
|
}
|
|
6441
6444
|
return c;
|
|
6442
|
-
},
|
|
6445
|
+
}, uh = async (t, e) => {
|
|
6443
6446
|
if (!(await fetch(`${U.getUrl()}/chat/${t}/title`, {
|
|
6444
6447
|
method: "POST",
|
|
6445
6448
|
headers: {
|
|
@@ -6451,7 +6454,7 @@ const rh = async (t) => {
|
|
|
6451
6454
|
body: JSON.stringify({ title: e })
|
|
6452
6455
|
})).ok)
|
|
6453
6456
|
throw new Error("Failed to change title");
|
|
6454
|
-
},
|
|
6457
|
+
}, dh = async (t) => {
|
|
6455
6458
|
if (!(await fetch(`${U.getUrl()}/chat/${t}`, {
|
|
6456
6459
|
method: "DELETE",
|
|
6457
6460
|
headers: {
|
|
@@ -6476,7 +6479,7 @@ const rh = async (t) => {
|
|
|
6476
6479
|
})
|
|
6477
6480
|
})).ok)
|
|
6478
6481
|
throw new Error("Failed to insert message");
|
|
6479
|
-
},
|
|
6482
|
+
}, fh = async (t, e) => new Promise((n, r) => {
|
|
6480
6483
|
const s = new FormData();
|
|
6481
6484
|
s.append("file", t);
|
|
6482
6485
|
const i = new XMLHttpRequest();
|
|
@@ -6498,7 +6501,7 @@ const rh = async (t) => {
|
|
|
6498
6501
|
}), i.addEventListener("error", () => {
|
|
6499
6502
|
r(new Error("Failed to upload file"));
|
|
6500
6503
|
}), i.open("POST", `${U.getUrl()}/files`), i.setRequestHeader("akstoken", U.getToken()), i.setRequestHeader("envid", U.getEnvironmentId()), i.setRequestHeader("ngrok-skip-browser-warning", "true"), i.send(s);
|
|
6501
|
-
}),
|
|
6504
|
+
}), ph = async (t, e) => {
|
|
6502
6505
|
if (!(await fetch(`${U.getUrl()}/files`, {
|
|
6503
6506
|
method: "DELETE",
|
|
6504
6507
|
headers: {
|
|
@@ -6511,25 +6514,25 @@ const rh = async (t) => {
|
|
|
6511
6514
|
})).ok)
|
|
6512
6515
|
throw new Error("Failed to delete file");
|
|
6513
6516
|
}, Pt = {
|
|
6514
|
-
getChat:
|
|
6515
|
-
getChats:
|
|
6516
|
-
newChat:
|
|
6517
|
-
sendMessage:
|
|
6518
|
-
deleteChat:
|
|
6519
|
-
changeTitle:
|
|
6517
|
+
getChat: ah,
|
|
6518
|
+
getChats: oh,
|
|
6519
|
+
newChat: lh,
|
|
6520
|
+
sendMessage: ch,
|
|
6521
|
+
deleteChat: dh,
|
|
6522
|
+
changeTitle: uh,
|
|
6520
6523
|
insertMessage: Da,
|
|
6521
|
-
uploadFile:
|
|
6522
|
-
deleteFile:
|
|
6523
|
-
},
|
|
6524
|
+
uploadFile: fh,
|
|
6525
|
+
deleteFile: ph
|
|
6526
|
+
}, hh = (t, e, n) => {
|
|
6524
6527
|
const r = t.target;
|
|
6525
6528
|
e(r.value), n({});
|
|
6526
|
-
},
|
|
6529
|
+
}, vh = (t, e) => {
|
|
6527
6530
|
b(e, !f(e));
|
|
6528
|
-
},
|
|
6531
|
+
}, gh = (t, e, n) => {
|
|
6529
6532
|
b(e, !1), b(n, !0);
|
|
6530
6533
|
};
|
|
6531
|
-
var
|
|
6532
|
-
const
|
|
6534
|
+
var mh = /* @__PURE__ */ j('<div class="dropdown-content svelte-dx030c"><button><i class="fa-solid fa-file-circle-plus svelte-dx030c"></i> <span> </span></button> <button><i class="fa-solid fa-upload svelte-dx030c"></i> <span> </span></button></div>'), bh = /* @__PURE__ */ j("<option>Generatore di Normative</option>"), xh = /* @__PURE__ */ j('<div class="attachment-title noopen-file-button svelte-dx030c"> </div>'), wh = (t, e, n, r, s) => e(n(), r(), s()), _h = /* @__PURE__ */ j('<button class="attachment-title open-file-button svelte-dx030c"> </button>'), kh = (t, e, n, r, s) => e(n(), r(), s()), yh = /* @__PURE__ */ j('<div><i></i> <!> <button aria-label="Remove attachment"><i class="fa-solid fa-xmark svelte-dx030c"></i></button></div>'), zh = /* @__PURE__ */ j('<button class="btn send-button stop-recording-btn svelte-dx030c" aria-label="Stop recording"><i class="fa-solid fa-stop"></i></button>'), $h = /* @__PURE__ */ j('<button class="btn send-button aks-btn-answer svelte-dx030c" aria-label="Synthesizing" disabled><!></button>'), Th = /* @__PURE__ */ j('<button class="btn send-button aks-btn-answer svelte-dx030c" aria-label="Start recording"><i class="fa-solid fa-microphone"></i></button>'), Sh = /* @__PURE__ */ j('<button class="btn send-button stop-stream-btn svelte-dx030c" aria-label="Stop message"><i class="fa-solid fa-stop"></i></button>'), Eh = /* @__PURE__ */ j('<button class="btn send-button aks-btn-answer send-message-btn svelte-dx030c" aria-label="Send message"><i class="fa-solid fa-paper-plane"></i></button>'), Ch = /* @__PURE__ */ j('<div class="input svelte-dx030c"><div class="top svelte-dx030c"><textarea style="color: black !important;" class="form-control form-control-sm svelte-dx030c" rows="2"></textarea></div> <div class="bottom svelte-dx030c"><div class="controls-row svelte-dx030c"><div class="plus-button-container svelte-dx030c"><button><i></i></button> <!></div> <select class="mode-select svelte-dx030c" aria-label="Select mode"><option>Auto</option><option>Manuale Suite</option><option> </option><option>Knowledge Base</option><option>GenDoc</option><option>Trascrizioni</option><!></select> <div class="attachments-container svelte-dx030c"></div> <div class="send-buttons svelte-dx030c"><!> <!></div></div></div></div> <!>', 1);
|
|
6535
|
+
const Ih = {
|
|
6533
6536
|
hash: "svelte-dx030c",
|
|
6534
6537
|
code: `textarea.svelte-dx030c {border:none;overflow-y:auto;resize:none;transition:height 0.1s ease;max-height:120px; /* 5 righe circa */}.noopen-file-button.svelte-dx030c {background:none;border:none;padding:0;font-size:0.875rem;color:black;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1;text-align:left;min-width:0;}.open-file-button.svelte-dx030c {background:none;border:none;cursor:pointer;padding:0;font-size:0.875rem;color:white;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1;text-align:left;min-width:0;}.open-file-button.svelte-dx030c:hover {background-color:transparent;text-decoration:underline;}.mode-select.svelte-dx030c {flex-shrink:0;height:32px;padding:0 8px;border-radius:16px;border:2px solid #e9ecef;background-color:#f8f9fa;color:#295dcf;font-size:0.8rem;font-weight:500;cursor:pointer;transition:all 0.2s ease;box-shadow:0 2px 4px rgba(0, 0, 0, 0.1);outline:none;max-width:120px;}.mode-select.svelte-dx030c:hover {background-color:#e9ecef;border-color:#295dcf;}.mode-select.svelte-dx030c:focus {border-color:#295dcf;box-shadow:0 0 0 3px rgba(41, 93, 207, 0.1);}.plus-button-container.svelte-dx030c {position:relative;flex-shrink:0;}.plus-button.svelte-dx030c {display:flex;justify-content:center;align-items:center;padding:0;width:38px;height:38px;border-radius:50%;background-color:#f8f9fa;color:#295dcf;border:2px solid #e9ecef;transition:all 0.2s ease;font-size:1.1rem;box-shadow:0 2px 4px rgba(0, 0, 0, 0.1);}.plus-button.svelte-dx030c:hover {background-color:#295dcf;color:white;border-color:#295dcf;transform:scale(1.05);box-shadow:0 4px 8px rgba(0, 0, 0, 0.15);}.plus-button.svelte-dx030c:active {transform:scale(0.95);}.plus-button-active.svelte-dx030c {background-color:#295dcf;color:white;border-color:#295dcf;}.plus-button-active.svelte-dx030c:hover {background-color:#1d4a9e;border-color:#1d4a9e;transform:scale(1.05);}.controls-row.svelte-dx030c {display:flex;align-items:center;width:100%;gap:5px;min-width:0;}.attachments-container.svelte-dx030c {display:flex;gap:5px;overflow-x:auto;min-width:0;flex:1;padding:2px 0;\r
|
|
6535
6538
|
/* Migliore supporto per lo scroll su touch devices */-webkit-overflow-scrolling:touch;}.attachments-container.svelte-dx030c::-webkit-scrollbar {height:6px;}.attachments-container.svelte-dx030c::-webkit-scrollbar-track {background:#f7fafc;border-radius:3px;}.attachments-container.svelte-dx030c::-webkit-scrollbar-thumb {background:#cbd5e0;border-radius:3px;}.attachments-container.svelte-dx030c::-webkit-scrollbar-thumb:hover {background:#a0aec0;}.attachment-item.svelte-dx030c {display:flex;align-items:center;flex-shrink:0;max-width:150px;background:#515b6a;color:white;border-radius:20px;padding:3px 10px 3px 10px;gap:5px;border:none;cursor:default;box-sizing:border-box;}.attachment-item.common.svelte-dx030c {background:#e2e8f0;color:black;}.attachment-title.svelte-dx030c {overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-size:0.875rem;}.remove-btn.svelte-dx030c {flex-shrink:0;width:20px;height:20px;padding:0;display:flex;align-items:center;justify-content:center;font-size:0.75rem;background:transparent;border:none;color:white;cursor:pointer;transition:100ms;}.remove-btn.common.svelte-dx030c {color:black;}.remove-btn.svelte-dx030c:hover {background:rgba(255, 255, 255, 0.3);border-radius:50%;}.remove-btn.common.svelte-dx030c:hover {background:rgba(0, 0, 0, 0.3);color:black;}.remove-btn.svelte-dx030c i:where(.svelte-dx030c) {margin:0;}.input.svelte-dx030c {display:flex;flex-direction:column;justify-content:center;align-items:center;padding:5px;background:white;border-radius:15px;margin:10px;gap:3px;width:calc(100% - 20px);min-width:0;box-sizing:border-box;}.input.svelte-dx030c > .top:where(.svelte-dx030c) {display:flex;justify-content:center;align-items:center;width:100%;}.input.svelte-dx030c > .bottom:where(.svelte-dx030c) {display:flex;justify-content:center;align-items:center;width:100%;min-width:0;}.send-buttons.svelte-dx030c {display:flex;gap:5px;flex-shrink:0;}.send-button.svelte-dx030c {display:flex;justify-content:center;align-items:center;padding:0;width:38px;height:38px;border-radius:50%;transition:all 0.2s ease;border:none;font-size:1rem;box-shadow:0 2px 4px rgba(0, 0, 0, 0.1);}.send-button.svelte-dx030c:hover {transform:scale(1.05);box-shadow:0 4px 8px rgba(0, 0, 0, 0.15);}.send-button.svelte-dx030c:active {transform:scale(0.95);}.send-button.aks-btn-answer.svelte-dx030c:hover {background-color:#295dcf;border-color:#295dcf;color:white;}.send-button.svelte-dx030c:disabled {opacity:0.8;cursor:not-allowed;transform:none;}.send-button.svelte-dx030c:disabled:hover {transform:none;box-shadow:0 2px 4px rgba(0, 0, 0, 0.1);}.send-message-btn.svelte-dx030c {background-color:#295dcf;color:white;}.send-message-btn.svelte-dx030c:hover {background-color:#1d4a9e;}.stop-recording-btn.svelte-dx030c {background-color:#dc3545;color:white;border-color:#dc3545;}.stop-recording-btn.svelte-dx030c:hover {background-color:#c82333;border-color:#bd2130;transform:scale(1.05);}.stop-stream-btn.svelte-dx030c {background-color:#6c757d;color:white;border-color:#6c757d;}.stop-stream-btn.svelte-dx030c:hover {background-color:#5a6268;border-color:#545b62;transform:scale(1.05);}\r
|
|
@@ -6537,7 +6540,7 @@ const Sh = {
|
|
|
6537
6540
|
/* Stili per il dropdown */.dropdown-content.svelte-dx030c {position:absolute;bottom:100%;left:0;margin-bottom:5px;background:white;border:1px solid #e9ecef;border-radius:8px;box-shadow:0 4px 12px rgba(0, 0, 0, 0.15);min-width:180px;z-index:1000;}.dropdown-option.svelte-dx030c {display:flex;align-items:center;width:100%;padding:10px 15px;border:none;background:white;color:#333;cursor:pointer;transition:all 0.2s;border-radius:0;}.dropdown-option.svelte-dx030c:first-child {border-top-left-radius:8px;border-top-right-radius:8px;}.dropdown-option.svelte-dx030c:last-child {border-bottom-left-radius:8px;border-bottom-right-radius:8px;}.dropdown-option.svelte-dx030c:hover {background:#f8f9fa;color:#295dcf;}.dropdown-option.svelte-dx030c i:where(.svelte-dx030c) {margin-right:10px;width:16px;text-align:center;}.option-disabled.svelte-dx030c {color:#ccc;cursor:default;}.option-disabled.svelte-dx030c:hover {background:white;color:#ccc;}`
|
|
6538
6541
|
};
|
|
6539
6542
|
function Fa(t, e) {
|
|
6540
|
-
se(e, !0), ue(t,
|
|
6543
|
+
se(e, !0), ue(t, Ih);
|
|
6541
6544
|
let n = g(e, "sendMessage", 7), r = g(e, "stopMessage", 7), s = g(e, "loading", 15), i = g(e, "languageSelected", 15), a = g(e, "modeSelected", 15), o = g(e, "attachments", 15), c = g(e, "userLevel", 15), l = g(e, "uploadFiles", 7), u = g(e, "actChat", 15), d = J(""), p, h, w = J(I([])), m = J(!1), S = J(!1), x = J(!1), _ = J(!1), y, D = /* @__PURE__ */ qe(() => Zn(a()));
|
|
6542
6545
|
const E = 20, L = 5, A = 0.5;
|
|
6543
6546
|
function M($, P) {
|
|
@@ -6563,7 +6566,7 @@ function Fa(t, e) {
|
|
|
6563
6566
|
});
|
|
6564
6567
|
}, ve = () => {
|
|
6565
6568
|
if (s() || !f(d).trim()) return;
|
|
6566
|
-
const $ =
|
|
6569
|
+
const $ = ih(o());
|
|
6567
6570
|
n()(f(d), a(), $), Z();
|
|
6568
6571
|
}, ze = async () => {
|
|
6569
6572
|
if (!s())
|
|
@@ -6619,18 +6622,18 @@ function Fa(t, e) {
|
|
|
6619
6622
|
It(() => {
|
|
6620
6623
|
f(d) !== void 0 && Le();
|
|
6621
6624
|
});
|
|
6622
|
-
var Ee =
|
|
6625
|
+
var Ee = Ch(), Ce = pt(Ee), Oe = z(Ce), Ie = z(Oe);
|
|
6623
6626
|
bl(Ie), Ie.__input = Le, as(Ie, ($) => p = $, () => p), k(Oe);
|
|
6624
6627
|
var De = O(Oe, 2), He = z(De), ke = z(He), W = z(ke);
|
|
6625
|
-
W.__click = [
|
|
6628
|
+
W.__click = [vh, x];
|
|
6626
6629
|
var he = z(W);
|
|
6627
6630
|
k(W);
|
|
6628
6631
|
var le = O(W, 2);
|
|
6629
6632
|
{
|
|
6630
6633
|
var fe = ($) => {
|
|
6631
|
-
var P =
|
|
6634
|
+
var P = mh(), Y = z(P);
|
|
6632
6635
|
Y.__click = [
|
|
6633
|
-
|
|
6636
|
+
gh,
|
|
6634
6637
|
x,
|
|
6635
6638
|
_
|
|
6636
6639
|
];
|
|
@@ -6647,11 +6650,11 @@ function Fa(t, e) {
|
|
|
6647
6650
|
[
|
|
6648
6651
|
() => `dropdown-option ${R.includes(a()) ? "" : "option-disabled"}`,
|
|
6649
6652
|
() => !R.includes(a()),
|
|
6650
|
-
() => /* @__PURE__ */
|
|
6651
|
-
() =>
|
|
6653
|
+
() => /* @__PURE__ */ Ou(),
|
|
6654
|
+
() => sh(a()),
|
|
6652
6655
|
() => `dropdown-option ${te.includes(a()) ? "" : "option-disabled"}`,
|
|
6653
6656
|
() => !te.includes(a()),
|
|
6654
|
-
() => /* @__PURE__ */
|
|
6657
|
+
() => /* @__PURE__ */ Pu()
|
|
6655
6658
|
]
|
|
6656
6659
|
), T($, P);
|
|
6657
6660
|
};
|
|
@@ -6661,7 +6664,7 @@ function Fa(t, e) {
|
|
|
6661
6664
|
}
|
|
6662
6665
|
k(ke);
|
|
6663
6666
|
var ge = O(ke, 2);
|
|
6664
|
-
ge.__change = [
|
|
6667
|
+
ge.__change = [hh, a, o];
|
|
6665
6668
|
var Fe = z(ge);
|
|
6666
6669
|
Fe.value = (Fe.__value = "auto") == null ? "" : "auto";
|
|
6667
6670
|
var et = O(Fe);
|
|
@@ -6679,7 +6682,7 @@ function Fa(t, e) {
|
|
|
6679
6682
|
var Ye = O(We);
|
|
6680
6683
|
{
|
|
6681
6684
|
var B = ($) => {
|
|
6682
|
-
var P =
|
|
6685
|
+
var P = bh();
|
|
6683
6686
|
P.value = (P.__value = "audit_handler") == null ? "" : "audit_handler", T($, P);
|
|
6684
6687
|
};
|
|
6685
6688
|
K(Ye, ($) => {
|
|
@@ -6690,10 +6693,10 @@ function Fa(t, e) {
|
|
|
6690
6693
|
var H = O(ge, 2);
|
|
6691
6694
|
Ke(H, 21, () => Object.entries(o()), Qe, ($, P) => {
|
|
6692
6695
|
let Y = () => f(P)[0], ne = () => f(P)[1].title, $e = () => f(P)[1].ext_id, Te = () => f(P)[1].gendoc_id, Ge = () => f(P)[1].storage_id, Ze = () => f(P)[1].isCommon;
|
|
6693
|
-
var mt =
|
|
6696
|
+
var mt = yh(), rn = z(mt), q = O(rn, 2);
|
|
6694
6697
|
{
|
|
6695
6698
|
var Or = (Et) => {
|
|
6696
|
-
var $t =
|
|
6699
|
+
var $t = xh(), In = z($t, !0);
|
|
6697
6700
|
k($t), F(
|
|
6698
6701
|
(Gs) => {
|
|
6699
6702
|
N($t, "title", Gs), _e(In, Gs);
|
|
@@ -6701,9 +6704,9 @@ function Fa(t, e) {
|
|
|
6701
6704
|
[() => ne().split(".")[0]]
|
|
6702
6705
|
), T(Et, $t);
|
|
6703
6706
|
}, Pr = (Et) => {
|
|
6704
|
-
var $t =
|
|
6707
|
+
var $t = _h();
|
|
6705
6708
|
$t.__click = [
|
|
6706
|
-
|
|
6709
|
+
wh,
|
|
6707
6710
|
gt,
|
|
6708
6711
|
$e,
|
|
6709
6712
|
ne,
|
|
@@ -6718,7 +6721,7 @@ function Fa(t, e) {
|
|
|
6718
6721
|
}
|
|
6719
6722
|
var Vn = O(q, 2);
|
|
6720
6723
|
Vn.__click = [
|
|
6721
|
-
|
|
6724
|
+
kh,
|
|
6722
6725
|
ut,
|
|
6723
6726
|
Y,
|
|
6724
6727
|
ne,
|
|
@@ -6729,7 +6732,7 @@ function Fa(t, e) {
|
|
|
6729
6732
|
},
|
|
6730
6733
|
[
|
|
6731
6734
|
() => M(Ze() ?? !1, ne()),
|
|
6732
|
-
() => `fa-solid ${
|
|
6735
|
+
() => `fa-solid ${rh(ne())}`,
|
|
6733
6736
|
() => ne().toLowerCase().endsWith(".tldv") ? "color: #1d1dff" : ""
|
|
6734
6737
|
]
|
|
6735
6738
|
), T($, mt);
|
|
@@ -6737,17 +6740,17 @@ function Fa(t, e) {
|
|
|
6737
6740
|
var X = O(H, 2), we = z(X);
|
|
6738
6741
|
{
|
|
6739
6742
|
var ce = ($) => {
|
|
6740
|
-
var P =
|
|
6741
|
-
P.__click = Re, F((Y) => N(P, "title", Y), [() => /* @__PURE__ */
|
|
6743
|
+
var P = zh();
|
|
6744
|
+
P.__click = Re, F((Y) => N(P, "title", Y), [() => /* @__PURE__ */ Nu()]), T($, P);
|
|
6742
6745
|
}, ae = ($) => {
|
|
6743
6746
|
var P = Tt(), Y = pt(P);
|
|
6744
6747
|
{
|
|
6745
6748
|
var ne = (Te) => {
|
|
6746
|
-
var Ge =
|
|
6749
|
+
var Ge = $h(), Ze = z(Ge);
|
|
6747
6750
|
Ls(Ze, { size: "20", color: "white" }), k(Ge), T(Te, Ge);
|
|
6748
6751
|
}, $e = (Te) => {
|
|
6749
|
-
var Ge =
|
|
6750
|
-
Ge.__click = ze, F((Ze) => N(Ge, "title", Ze), [() => /* @__PURE__ */
|
|
6752
|
+
var Ge = Th();
|
|
6753
|
+
Ge.__click = ze, F((Ze) => N(Ge, "title", Ze), [() => /* @__PURE__ */ Uu()]), T(Te, Ge);
|
|
6751
6754
|
};
|
|
6752
6755
|
K(
|
|
6753
6756
|
Y,
|
|
@@ -6766,14 +6769,14 @@ function Fa(t, e) {
|
|
|
6766
6769
|
var je = O(we, 2);
|
|
6767
6770
|
{
|
|
6768
6771
|
var Be = ($) => {
|
|
6769
|
-
var P =
|
|
6772
|
+
var P = Sh();
|
|
6770
6773
|
P.__click = function(...Y) {
|
|
6771
6774
|
var ne;
|
|
6772
6775
|
(ne = r()) == null || ne.apply(this, Y);
|
|
6773
|
-
}, F((Y) => N(P, "title", Y), [() => /* @__PURE__ */
|
|
6776
|
+
}, F((Y) => N(P, "title", Y), [() => /* @__PURE__ */ id()]), T($, P);
|
|
6774
6777
|
}, Ue = ($) => {
|
|
6775
|
-
var P =
|
|
6776
|
-
P.__click = ve, F((Y) => N(P, "title", Y), [() => /* @__PURE__ */
|
|
6778
|
+
var P = Eh();
|
|
6779
|
+
P.__click = ve, F((Y) => N(P, "title", Y), [() => /* @__PURE__ */ Bu()]), T($, P);
|
|
6777
6780
|
};
|
|
6778
6781
|
K(je, ($) => {
|
|
6779
6782
|
s() ? $(Be) : $(Ue, !1);
|
|
@@ -6813,8 +6816,8 @@ function Fa(t, e) {
|
|
|
6813
6816
|
N(Ie, "placeholder", $), nt(W, `${`btn plus-button ${f(x) ? "plus-button-active" : ""}` ?? ""} svelte-dx030c`), N(W, "aria-label", P), N(W, "title", P), nt(he, `${`fa-solid ${f(x) ? "fa-xmark" : "fa-plus"}` ?? ""} svelte-dx030c`), _e(Me, Y);
|
|
6814
6817
|
},
|
|
6815
6818
|
[
|
|
6816
|
-
() => /* @__PURE__ */
|
|
6817
|
-
() => /* @__PURE__ */
|
|
6819
|
+
() => /* @__PURE__ */ Ru(),
|
|
6820
|
+
() => /* @__PURE__ */ Du(),
|
|
6818
6821
|
() => /* @__PURE__ */ $a()
|
|
6819
6822
|
]
|
|
6820
6823
|
), Zt("keypress", Ie, ($) => {
|
|
@@ -6951,19 +6954,19 @@ const Oa = /^[a-z0-9]+(-[a-z0-9]+)*$/, jr = (t, e, n, r = "") => {
|
|
|
6951
6954
|
body: "",
|
|
6952
6955
|
hidden: !1
|
|
6953
6956
|
});
|
|
6954
|
-
function
|
|
6957
|
+
function Ah(t, e) {
|
|
6955
6958
|
const n = {};
|
|
6956
6959
|
!t.hFlip != !e.hFlip && (n.hFlip = !0), !t.vFlip != !e.vFlip && (n.vFlip = !0);
|
|
6957
6960
|
const r = ((t.rotate || 0) + (e.rotate || 0)) % 4;
|
|
6958
6961
|
return r && (n.rotate = r), n;
|
|
6959
6962
|
}
|
|
6960
6963
|
function vi(t, e) {
|
|
6961
|
-
const n =
|
|
6964
|
+
const n = Ah(t, e);
|
|
6962
6965
|
for (const r in os)
|
|
6963
6966
|
r in br ? r in t && !(r in n) && (n[r] = br[r]) : r in e ? n[r] = e[r] : r in t && (n[r] = t[r]);
|
|
6964
6967
|
return n;
|
|
6965
6968
|
}
|
|
6966
|
-
function
|
|
6969
|
+
function Lh(t, e) {
|
|
6967
6970
|
const n = t.icons, r = t.aliases || /* @__PURE__ */ Object.create(null), s = /* @__PURE__ */ Object.create(null);
|
|
6968
6971
|
function i(a) {
|
|
6969
6972
|
if (n[a])
|
|
@@ -6977,7 +6980,7 @@ function Ch(t, e) {
|
|
|
6977
6980
|
}
|
|
6978
6981
|
return Object.keys(n).concat(Object.keys(r)).forEach(i), s;
|
|
6979
6982
|
}
|
|
6980
|
-
function
|
|
6983
|
+
function jh(t, e, n) {
|
|
6981
6984
|
const r = t.icons, s = t.aliases || /* @__PURE__ */ Object.create(null);
|
|
6982
6985
|
let i = {};
|
|
6983
6986
|
function a(o) {
|
|
@@ -6995,14 +6998,14 @@ function Ma(t, e) {
|
|
|
6995
6998
|
t.not_found instanceof Array && t.not_found.forEach((s) => {
|
|
6996
6999
|
e(s, null), n.push(s);
|
|
6997
7000
|
});
|
|
6998
|
-
const r =
|
|
7001
|
+
const r = Lh(t);
|
|
6999
7002
|
for (const s in r) {
|
|
7000
7003
|
const i = r[s];
|
|
7001
|
-
i && (e(s,
|
|
7004
|
+
i && (e(s, jh(t, s, i)), n.push(s));
|
|
7002
7005
|
}
|
|
7003
7006
|
return n;
|
|
7004
7007
|
}
|
|
7005
|
-
const
|
|
7008
|
+
const Rh = {
|
|
7006
7009
|
provider: "",
|
|
7007
7010
|
aliases: {},
|
|
7008
7011
|
not_found: {},
|
|
@@ -7018,7 +7021,7 @@ function Na(t) {
|
|
|
7018
7021
|
if (typeof t != "object" || t === null)
|
|
7019
7022
|
return null;
|
|
7020
7023
|
const e = t;
|
|
7021
|
-
if (typeof e.prefix != "string" || !t.icons || typeof t.icons != "object" || !Gr(t,
|
|
7024
|
+
if (typeof e.prefix != "string" || !t.icons || typeof t.icons != "object" || !Gr(t, Rh))
|
|
7022
7025
|
return null;
|
|
7023
7026
|
const n = e.icons;
|
|
7024
7027
|
for (const s in n) {
|
|
@@ -7051,7 +7054,7 @@ function Na(t) {
|
|
|
7051
7054
|
return e;
|
|
7052
7055
|
}
|
|
7053
7056
|
const gi = /* @__PURE__ */ Object.create(null);
|
|
7054
|
-
function
|
|
7057
|
+
function Dh(t, e) {
|
|
7055
7058
|
return {
|
|
7056
7059
|
provider: t,
|
|
7057
7060
|
prefix: e,
|
|
@@ -7061,14 +7064,14 @@ function Lh(t, e) {
|
|
|
7061
7064
|
}
|
|
7062
7065
|
function kn(t, e) {
|
|
7063
7066
|
const n = gi[t] || (gi[t] = /* @__PURE__ */ Object.create(null));
|
|
7064
|
-
return n[e] || (n[e] =
|
|
7067
|
+
return n[e] || (n[e] = Dh(t, e));
|
|
7065
7068
|
}
|
|
7066
7069
|
function Ua(t, e) {
|
|
7067
7070
|
return Na(e) ? Ma(e, (n, r) => {
|
|
7068
7071
|
r ? t.icons[n] = r : t.missing.add(n);
|
|
7069
7072
|
}) : [];
|
|
7070
7073
|
}
|
|
7071
|
-
function
|
|
7074
|
+
function Fh(t, e, n) {
|
|
7072
7075
|
try {
|
|
7073
7076
|
if (typeof n.body == "string")
|
|
7074
7077
|
return t.icons[e] = { ...n }, !0;
|
|
@@ -7080,27 +7083,27 @@ let Hn = !1;
|
|
|
7080
7083
|
function Ba(t) {
|
|
7081
7084
|
return typeof t == "boolean" && (Hn = t), Hn;
|
|
7082
7085
|
}
|
|
7083
|
-
function
|
|
7086
|
+
function Oh(t) {
|
|
7084
7087
|
const e = typeof t == "string" ? jr(t, !0, Hn) : t;
|
|
7085
7088
|
if (e) {
|
|
7086
7089
|
const n = kn(e.provider, e.prefix), r = e.name;
|
|
7087
7090
|
return n.icons[r] || (n.missing.has(r) ? null : void 0);
|
|
7088
7091
|
}
|
|
7089
7092
|
}
|
|
7090
|
-
function
|
|
7093
|
+
function Ph(t, e) {
|
|
7091
7094
|
const n = jr(t, !0, Hn);
|
|
7092
7095
|
if (!n)
|
|
7093
7096
|
return !1;
|
|
7094
7097
|
const r = kn(n.provider, n.prefix);
|
|
7095
|
-
return e ?
|
|
7098
|
+
return e ? Fh(r, n.name, e) : (r.missing.add(n.name), !0);
|
|
7096
7099
|
}
|
|
7097
|
-
function
|
|
7100
|
+
function Mh(t, e) {
|
|
7098
7101
|
if (typeof t != "object")
|
|
7099
7102
|
return !1;
|
|
7100
7103
|
if (typeof e != "string" && (e = t.provider || ""), Hn && !e && !t.prefix) {
|
|
7101
7104
|
let s = !1;
|
|
7102
7105
|
return Na(t) && (t.prefix = "", Ma(t, (i, a) => {
|
|
7103
|
-
|
|
7106
|
+
Ph(i, a) && (s = !0);
|
|
7104
7107
|
})), s;
|
|
7105
7108
|
}
|
|
7106
7109
|
const n = t.prefix;
|
|
@@ -7121,7 +7124,7 @@ const qa = Object.freeze({
|
|
|
7121
7124
|
...qa,
|
|
7122
7125
|
// Transformations
|
|
7123
7126
|
...br
|
|
7124
|
-
}),
|
|
7127
|
+
}), Nh = /(-?[0-9.]*[0-9]+[0-9.]*)/g, Uh = /^-?[0-9.]*[0-9]+[0-9.]*$/g;
|
|
7125
7128
|
function mi(t, e, n) {
|
|
7126
7129
|
if (e === 1)
|
|
7127
7130
|
return t;
|
|
@@ -7129,11 +7132,11 @@ function mi(t, e, n) {
|
|
|
7129
7132
|
return Math.ceil(t * e * n) / n;
|
|
7130
7133
|
if (typeof t != "string")
|
|
7131
7134
|
return t;
|
|
7132
|
-
const r = t.split(
|
|
7135
|
+
const r = t.split(Nh);
|
|
7133
7136
|
if (r === null || !r.length)
|
|
7134
7137
|
return t;
|
|
7135
7138
|
const s = [];
|
|
7136
|
-
let i = r.shift(), a =
|
|
7139
|
+
let i = r.shift(), a = Uh.test(i);
|
|
7137
7140
|
for (; ; ) {
|
|
7138
7141
|
if (a) {
|
|
7139
7142
|
const o = parseFloat(i);
|
|
@@ -7145,7 +7148,7 @@ function mi(t, e, n) {
|
|
|
7145
7148
|
a = !a;
|
|
7146
7149
|
}
|
|
7147
7150
|
}
|
|
7148
|
-
function
|
|
7151
|
+
function Bh(t, e = "defs") {
|
|
7149
7152
|
let n = "";
|
|
7150
7153
|
const r = t.indexOf("<" + e);
|
|
7151
7154
|
for (; r >= 0; ) {
|
|
@@ -7162,15 +7165,15 @@ function Mh(t, e = "defs") {
|
|
|
7162
7165
|
content: t
|
|
7163
7166
|
};
|
|
7164
7167
|
}
|
|
7165
|
-
function
|
|
7168
|
+
function qh(t, e) {
|
|
7166
7169
|
return t ? "<defs>" + t + "</defs>" + e : e;
|
|
7167
7170
|
}
|
|
7168
|
-
function
|
|
7169
|
-
const r =
|
|
7170
|
-
return
|
|
7171
|
+
function Hh(t, e, n) {
|
|
7172
|
+
const r = Bh(t);
|
|
7173
|
+
return qh(r.defs, e + r.content + n);
|
|
7171
7174
|
}
|
|
7172
|
-
const
|
|
7173
|
-
function
|
|
7175
|
+
const Yh = (t) => t === "unset" || t === "undefined" || t === "none";
|
|
7176
|
+
function Gh(t, e) {
|
|
7174
7177
|
const n = {
|
|
7175
7178
|
...Rr,
|
|
7176
7179
|
...t
|
|
@@ -7210,7 +7213,7 @@ function qh(t, e) {
|
|
|
7210
7213
|
);
|
|
7211
7214
|
break;
|
|
7212
7215
|
}
|
|
7213
|
-
y % 2 === 1 && (s.left !== s.top && (D = s.left, s.left = s.top, s.top = D), s.width !== s.height && (D = s.width, s.width = s.height, s.height = D)), S.length && (i =
|
|
7216
|
+
y % 2 === 1 && (s.left !== s.top && (D = s.left, s.left = s.top, s.top = D), s.width !== s.height && (D = s.width, s.width = s.height, s.height = D)), S.length && (i = Hh(
|
|
7214
7217
|
i,
|
|
7215
7218
|
'<g transform="' + S.join(" ") + '">',
|
|
7216
7219
|
"</g>"
|
|
@@ -7220,7 +7223,7 @@ function qh(t, e) {
|
|
|
7220
7223
|
let u, d;
|
|
7221
7224
|
a === null ? (d = o === null ? "1em" : o === "auto" ? l : o, u = mi(d, c / l)) : (u = a === "auto" ? c : a, d = o === null ? mi(u, l / c) : o === "auto" ? l : o);
|
|
7222
7225
|
const p = {}, h = (m, S) => {
|
|
7223
|
-
|
|
7226
|
+
Yh(S) || (p[m] = S.toString());
|
|
7224
7227
|
};
|
|
7225
7228
|
h("width", u), h("height", d);
|
|
7226
7229
|
const w = [s.left, s.top, c, l];
|
|
@@ -7230,18 +7233,18 @@ function qh(t, e) {
|
|
|
7230
7233
|
body: i
|
|
7231
7234
|
};
|
|
7232
7235
|
}
|
|
7233
|
-
const
|
|
7234
|
-
let
|
|
7235
|
-
function
|
|
7236
|
+
const Jh = /\sid="(\S+)"/g, Wh = "IconifyId" + Date.now().toString(16) + (Math.random() * 16777216 | 0).toString(16);
|
|
7237
|
+
let Zh = 0;
|
|
7238
|
+
function Xh(t, e = Wh) {
|
|
7236
7239
|
const n = [];
|
|
7237
7240
|
let r;
|
|
7238
|
-
for (; r =
|
|
7241
|
+
for (; r = Jh.exec(t); )
|
|
7239
7242
|
n.push(r[1]);
|
|
7240
7243
|
if (!n.length)
|
|
7241
7244
|
return t;
|
|
7242
7245
|
const s = "suffix" + (Math.random() * 16777216 | Date.now()).toString(16);
|
|
7243
7246
|
return n.forEach((i) => {
|
|
7244
|
-
const a = typeof e == "function" ? e(i) : e + (
|
|
7247
|
+
const a = typeof e == "function" ? e(i) : e + (Zh++).toString(), o = i.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
7245
7248
|
t = t.replace(
|
|
7246
7249
|
// Allowed characters before id: [#;"]
|
|
7247
7250
|
// Allowed characters after id: [)"], .[a-z]
|
|
@@ -7251,7 +7254,7 @@ function Jh(t, e = Yh) {
|
|
|
7251
7254
|
}), t = t.replace(new RegExp(s, "g"), ""), t;
|
|
7252
7255
|
}
|
|
7253
7256
|
const ls = /* @__PURE__ */ Object.create(null);
|
|
7254
|
-
function
|
|
7257
|
+
function Vh(t, e) {
|
|
7255
7258
|
ls[t] = e;
|
|
7256
7259
|
}
|
|
7257
7260
|
function cs(t) {
|
|
@@ -7291,14 +7294,14 @@ for (; Ln.length > 0; )
|
|
|
7291
7294
|
Ds[""] = Rs({
|
|
7292
7295
|
resources: ["https://api.iconify.design"].concat(or)
|
|
7293
7296
|
});
|
|
7294
|
-
function
|
|
7297
|
+
function Qh(t, e) {
|
|
7295
7298
|
const n = Rs(e);
|
|
7296
7299
|
return n === null ? !1 : (Ds[t] = n, !0);
|
|
7297
7300
|
}
|
|
7298
7301
|
function Fs(t) {
|
|
7299
7302
|
return Ds[t];
|
|
7300
7303
|
}
|
|
7301
|
-
const
|
|
7304
|
+
const Kh = () => {
|
|
7302
7305
|
let t;
|
|
7303
7306
|
try {
|
|
7304
7307
|
if (t = fetch, typeof t == "function")
|
|
@@ -7306,8 +7309,8 @@ const Xh = () => {
|
|
|
7306
7309
|
} catch {
|
|
7307
7310
|
}
|
|
7308
7311
|
};
|
|
7309
|
-
let bi =
|
|
7310
|
-
function
|
|
7312
|
+
let bi = Kh();
|
|
7313
|
+
function ev(t, e) {
|
|
7311
7314
|
const n = Fs(t);
|
|
7312
7315
|
if (!n)
|
|
7313
7316
|
return 0;
|
|
@@ -7324,11 +7327,11 @@ function Vh(t, e) {
|
|
|
7324
7327
|
}
|
|
7325
7328
|
return r;
|
|
7326
7329
|
}
|
|
7327
|
-
function
|
|
7330
|
+
function tv(t) {
|
|
7328
7331
|
return t === 404;
|
|
7329
7332
|
}
|
|
7330
|
-
const
|
|
7331
|
-
const r = [], s =
|
|
7333
|
+
const nv = (t, e, n) => {
|
|
7334
|
+
const r = [], s = ev(t, e), i = "icons";
|
|
7332
7335
|
let a = {
|
|
7333
7336
|
type: i,
|
|
7334
7337
|
provider: t,
|
|
@@ -7344,7 +7347,7 @@ const Kh = (t, e, n) => {
|
|
|
7344
7347
|
}, o = c.length), a.icons.push(c);
|
|
7345
7348
|
}), r.push(a), r;
|
|
7346
7349
|
};
|
|
7347
|
-
function
|
|
7350
|
+
function rv(t) {
|
|
7348
7351
|
if (typeof t == "string") {
|
|
7349
7352
|
const e = Fs(t);
|
|
7350
7353
|
if (e)
|
|
@@ -7352,12 +7355,12 @@ function ev(t) {
|
|
|
7352
7355
|
}
|
|
7353
7356
|
return "/";
|
|
7354
7357
|
}
|
|
7355
|
-
const
|
|
7358
|
+
const sv = (t, e, n) => {
|
|
7356
7359
|
if (!bi) {
|
|
7357
7360
|
n("abort", 424);
|
|
7358
7361
|
return;
|
|
7359
7362
|
}
|
|
7360
|
-
let r =
|
|
7363
|
+
let r = rv(e.provider);
|
|
7361
7364
|
switch (e.type) {
|
|
7362
7365
|
case "icons": {
|
|
7363
7366
|
const i = e.prefix, o = e.icons.join(","), c = new URLSearchParams({
|
|
@@ -7380,7 +7383,7 @@ const tv = (t, e, n) => {
|
|
|
7380
7383
|
const a = i.status;
|
|
7381
7384
|
if (a !== 200) {
|
|
7382
7385
|
setTimeout(() => {
|
|
7383
|
-
n(
|
|
7386
|
+
n(tv(a) ? "abort" : "next", a);
|
|
7384
7387
|
});
|
|
7385
7388
|
return;
|
|
7386
7389
|
}
|
|
@@ -7398,11 +7401,11 @@ const tv = (t, e, n) => {
|
|
|
7398
7401
|
}).catch(() => {
|
|
7399
7402
|
n("next", s);
|
|
7400
7403
|
});
|
|
7401
|
-
},
|
|
7402
|
-
prepare:
|
|
7403
|
-
send:
|
|
7404
|
+
}, iv = {
|
|
7405
|
+
prepare: nv,
|
|
7406
|
+
send: sv
|
|
7404
7407
|
};
|
|
7405
|
-
function
|
|
7408
|
+
function av(t) {
|
|
7406
7409
|
const e = {
|
|
7407
7410
|
loaded: [],
|
|
7408
7411
|
missing: [],
|
|
@@ -7435,7 +7438,7 @@ function Ya(t, e) {
|
|
|
7435
7438
|
r && (n.loaderCallbacks = r.filter((s) => s.id !== e));
|
|
7436
7439
|
});
|
|
7437
7440
|
}
|
|
7438
|
-
function
|
|
7441
|
+
function ov(t) {
|
|
7439
7442
|
t.pendingCallbacksFlag || (t.pendingCallbacksFlag = !0, setTimeout(() => {
|
|
7440
7443
|
t.pendingCallbacksFlag = !1;
|
|
7441
7444
|
const e = t.loaderCallbacks ? t.loaderCallbacks.slice(0) : [];
|
|
@@ -7473,9 +7476,9 @@ function sv(t) {
|
|
|
7473
7476
|
});
|
|
7474
7477
|
}));
|
|
7475
7478
|
}
|
|
7476
|
-
let
|
|
7477
|
-
function
|
|
7478
|
-
const r =
|
|
7479
|
+
let lv = 0;
|
|
7480
|
+
function cv(t, e, n) {
|
|
7481
|
+
const r = lv++, s = Ya.bind(null, n, r);
|
|
7479
7482
|
if (!e.pending.length)
|
|
7480
7483
|
return s;
|
|
7481
7484
|
const i = {
|
|
@@ -7488,14 +7491,14 @@ function av(t, e, n) {
|
|
|
7488
7491
|
(a.loaderCallbacks || (a.loaderCallbacks = [])).push(i);
|
|
7489
7492
|
}), s;
|
|
7490
7493
|
}
|
|
7491
|
-
function
|
|
7494
|
+
function uv(t, e = !0, n = !1) {
|
|
7492
7495
|
const r = [];
|
|
7493
7496
|
return t.forEach((s) => {
|
|
7494
7497
|
const i = typeof s == "string" ? jr(s, e, n) : s;
|
|
7495
7498
|
i && r.push(i);
|
|
7496
7499
|
}), r;
|
|
7497
7500
|
}
|
|
7498
|
-
var
|
|
7501
|
+
var dv = {
|
|
7499
7502
|
resources: [],
|
|
7500
7503
|
index: 0,
|
|
7501
7504
|
timeout: 2e3,
|
|
@@ -7503,7 +7506,7 @@ var lv = {
|
|
|
7503
7506
|
random: !1,
|
|
7504
7507
|
dataAfterTimeout: !1
|
|
7505
7508
|
};
|
|
7506
|
-
function
|
|
7509
|
+
function fv(t, e, n, r) {
|
|
7507
7510
|
const s = t.resources.length, i = t.random ? Math.floor(Math.random() * s) : t.index;
|
|
7508
7511
|
let a;
|
|
7509
7512
|
if (t.random) {
|
|
@@ -7606,7 +7609,7 @@ function cv(t, e, n, r) {
|
|
|
7606
7609
|
}
|
|
7607
7610
|
function Ga(t) {
|
|
7608
7611
|
const e = {
|
|
7609
|
-
...
|
|
7612
|
+
...dv,
|
|
7610
7613
|
...t
|
|
7611
7614
|
};
|
|
7612
7615
|
let n = [];
|
|
@@ -7614,7 +7617,7 @@ function Ga(t) {
|
|
|
7614
7617
|
n = n.filter((o) => o().status === "pending");
|
|
7615
7618
|
}
|
|
7616
7619
|
function s(o, c, l) {
|
|
7617
|
-
const u =
|
|
7620
|
+
const u = fv(
|
|
7618
7621
|
e,
|
|
7619
7622
|
o,
|
|
7620
7623
|
c,
|
|
@@ -7640,7 +7643,7 @@ function Ga(t) {
|
|
|
7640
7643
|
function xi() {
|
|
7641
7644
|
}
|
|
7642
7645
|
const Jr = /* @__PURE__ */ Object.create(null);
|
|
7643
|
-
function
|
|
7646
|
+
function pv(t) {
|
|
7644
7647
|
if (!Jr[t]) {
|
|
7645
7648
|
const e = Fs(t);
|
|
7646
7649
|
if (!e)
|
|
@@ -7653,14 +7656,14 @@ function uv(t) {
|
|
|
7653
7656
|
}
|
|
7654
7657
|
return Jr[t];
|
|
7655
7658
|
}
|
|
7656
|
-
function
|
|
7659
|
+
function hv(t, e, n) {
|
|
7657
7660
|
let r, s;
|
|
7658
7661
|
if (typeof t == "string") {
|
|
7659
7662
|
const i = cs(t);
|
|
7660
7663
|
if (!i)
|
|
7661
7664
|
return n(void 0, 424), xi;
|
|
7662
7665
|
s = i.send;
|
|
7663
|
-
const a =
|
|
7666
|
+
const a = pv(t);
|
|
7664
7667
|
a && (r = a.redundancy);
|
|
7665
7668
|
} else {
|
|
7666
7669
|
const i = Rs(t);
|
|
@@ -7674,12 +7677,12 @@ function dv(t, e, n) {
|
|
|
7674
7677
|
}
|
|
7675
7678
|
function wi() {
|
|
7676
7679
|
}
|
|
7677
|
-
function
|
|
7680
|
+
function vv(t) {
|
|
7678
7681
|
t.iconsLoaderFlag || (t.iconsLoaderFlag = !0, setTimeout(() => {
|
|
7679
|
-
t.iconsLoaderFlag = !1,
|
|
7682
|
+
t.iconsLoaderFlag = !1, ov(t);
|
|
7680
7683
|
}));
|
|
7681
7684
|
}
|
|
7682
|
-
function
|
|
7685
|
+
function gv(t) {
|
|
7683
7686
|
const e = [], n = [];
|
|
7684
7687
|
return t.forEach((r) => {
|
|
7685
7688
|
(r.match(Oa) ? e : n).push(r);
|
|
@@ -7704,7 +7707,7 @@ function jn(t, e, n) {
|
|
|
7704
7707
|
} catch (s) {
|
|
7705
7708
|
console.error(s);
|
|
7706
7709
|
}
|
|
7707
|
-
r(),
|
|
7710
|
+
r(), vv(t);
|
|
7708
7711
|
}
|
|
7709
7712
|
function _i(t, e) {
|
|
7710
7713
|
t instanceof Promise ? t.then((n) => {
|
|
@@ -7713,7 +7716,7 @@ function _i(t, e) {
|
|
|
7713
7716
|
e(null);
|
|
7714
7717
|
}) : e(t);
|
|
7715
7718
|
}
|
|
7716
|
-
function
|
|
7719
|
+
function mv(t, e) {
|
|
7717
7720
|
t.iconsToLoad ? t.iconsToLoad = t.iconsToLoad.concat(e).sort() : t.iconsToLoad = e, t.iconsQueueFlag || (t.iconsQueueFlag = !0, setTimeout(() => {
|
|
7718
7721
|
t.iconsQueueFlag = !1;
|
|
7719
7722
|
const { provider: n, prefix: r } = t, s = t.iconsToLoad;
|
|
@@ -7744,7 +7747,7 @@ function hv(t, e) {
|
|
|
7744
7747
|
});
|
|
7745
7748
|
return;
|
|
7746
7749
|
}
|
|
7747
|
-
const { valid: a, invalid: o } =
|
|
7750
|
+
const { valid: a, invalid: o } = gv(s);
|
|
7748
7751
|
if (o.length && jn(t, o, null), !a.length)
|
|
7749
7752
|
return;
|
|
7750
7753
|
const c = r.match(Oa) ? cs(n) : null;
|
|
@@ -7753,14 +7756,14 @@ function hv(t, e) {
|
|
|
7753
7756
|
return;
|
|
7754
7757
|
}
|
|
7755
7758
|
c.prepare(n, r, a).forEach((u) => {
|
|
7756
|
-
|
|
7759
|
+
hv(n, u, (d) => {
|
|
7757
7760
|
jn(t, u.icons, d);
|
|
7758
7761
|
});
|
|
7759
7762
|
});
|
|
7760
7763
|
}));
|
|
7761
7764
|
}
|
|
7762
|
-
const
|
|
7763
|
-
const n =
|
|
7765
|
+
const bv = (t, e) => {
|
|
7766
|
+
const n = uv(t, !0, Ba()), r = av(n);
|
|
7764
7767
|
if (!r.pending.length) {
|
|
7765
7768
|
let c = !0;
|
|
7766
7769
|
return e && setTimeout(() => {
|
|
@@ -7788,10 +7791,10 @@ const vv = (t, e) => {
|
|
|
7788
7791
|
h.has(d) || (h.add(d), s[l][u].push(d));
|
|
7789
7792
|
}), i.forEach((c) => {
|
|
7790
7793
|
const l = s[c.provider][c.prefix];
|
|
7791
|
-
l.length &&
|
|
7792
|
-
}), e ?
|
|
7794
|
+
l.length && mv(c, l);
|
|
7795
|
+
}), e ? cv(e, r, i) : wi;
|
|
7793
7796
|
};
|
|
7794
|
-
function
|
|
7797
|
+
function xv(t, e) {
|
|
7795
7798
|
const n = {
|
|
7796
7799
|
...t
|
|
7797
7800
|
};
|
|
@@ -7801,9 +7804,9 @@ function gv(t, e) {
|
|
|
7801
7804
|
}
|
|
7802
7805
|
return n;
|
|
7803
7806
|
}
|
|
7804
|
-
const
|
|
7805
|
-
function
|
|
7806
|
-
e.split(
|
|
7807
|
+
const wv = /[\s,]+/;
|
|
7808
|
+
function _v(t, e) {
|
|
7809
|
+
e.split(wv).forEach((n) => {
|
|
7807
7810
|
switch (n.trim()) {
|
|
7808
7811
|
case "horizontal":
|
|
7809
7812
|
t.hFlip = !0;
|
|
@@ -7814,7 +7817,7 @@ function bv(t, e) {
|
|
|
7814
7817
|
}
|
|
7815
7818
|
});
|
|
7816
7819
|
}
|
|
7817
|
-
function
|
|
7820
|
+
function kv(t, e = 0) {
|
|
7818
7821
|
const n = t.replace(/^-?[0-9.]*/, "");
|
|
7819
7822
|
function r(s) {
|
|
7820
7823
|
for (; s < 0; )
|
|
@@ -7840,30 +7843,30 @@ function xv(t, e = 0) {
|
|
|
7840
7843
|
}
|
|
7841
7844
|
return e;
|
|
7842
7845
|
}
|
|
7843
|
-
function
|
|
7846
|
+
function yv(t, e) {
|
|
7844
7847
|
let n = t.indexOf("xlink:") === -1 ? "" : ' xmlns:xlink="http://www.w3.org/1999/xlink"';
|
|
7845
7848
|
for (const r in e)
|
|
7846
7849
|
n += " " + r + '="' + e[r] + '"';
|
|
7847
7850
|
return '<svg xmlns="http://www.w3.org/2000/svg"' + n + ">" + t + "</svg>";
|
|
7848
7851
|
}
|
|
7849
|
-
function
|
|
7852
|
+
function zv(t) {
|
|
7850
7853
|
return t.replace(/"/g, "'").replace(/%/g, "%25").replace(/#/g, "%23").replace(/</g, "%3C").replace(/>/g, "%3E").replace(/\s+/g, " ");
|
|
7851
7854
|
}
|
|
7852
|
-
function
|
|
7853
|
-
return "data:image/svg+xml," +
|
|
7855
|
+
function $v(t) {
|
|
7856
|
+
return "data:image/svg+xml," + zv(t);
|
|
7854
7857
|
}
|
|
7855
|
-
function
|
|
7856
|
-
return 'url("' +
|
|
7858
|
+
function Tv(t) {
|
|
7859
|
+
return 'url("' + $v(t) + '")';
|
|
7857
7860
|
}
|
|
7858
7861
|
const ki = {
|
|
7859
7862
|
...Ha,
|
|
7860
7863
|
inline: !1
|
|
7861
|
-
},
|
|
7864
|
+
}, Sv = {
|
|
7862
7865
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7863
7866
|
"xmlns:xlink": "http://www.w3.org/1999/xlink",
|
|
7864
7867
|
"aria-hidden": !0,
|
|
7865
7868
|
role: "img"
|
|
7866
|
-
},
|
|
7869
|
+
}, Ev = {
|
|
7867
7870
|
display: "inline-block"
|
|
7868
7871
|
}, us = {
|
|
7869
7872
|
"background-color": "currentColor"
|
|
@@ -7883,11 +7886,11 @@ for (const t in zi) {
|
|
|
7883
7886
|
for (const n in yi)
|
|
7884
7887
|
e[t + "-" + n] = yi[n];
|
|
7885
7888
|
}
|
|
7886
|
-
function
|
|
7889
|
+
function Cv(t) {
|
|
7887
7890
|
return t + (t.match(/^[-0-9.]+$/) ? "px" : "");
|
|
7888
7891
|
}
|
|
7889
|
-
function
|
|
7890
|
-
const n =
|
|
7892
|
+
function Iv(t, e) {
|
|
7893
|
+
const n = xv(ki, e), r = e.mode || "svg", s = r === "svg" ? { ...Sv } : {};
|
|
7891
7894
|
t.body.indexOf("xlink:") === -1 && delete s["xmlns:xlink"];
|
|
7892
7895
|
let i = typeof e.style == "string" ? e.style : "";
|
|
7893
7896
|
for (let x in e) {
|
|
@@ -7906,13 +7909,13 @@ function Sv(t, e) {
|
|
|
7906
7909
|
n[x] = _ === !0 || _ === "true" || _ === 1;
|
|
7907
7910
|
break;
|
|
7908
7911
|
case "flip":
|
|
7909
|
-
typeof _ == "string" &&
|
|
7912
|
+
typeof _ == "string" && _v(n, _);
|
|
7910
7913
|
break;
|
|
7911
7914
|
case "color":
|
|
7912
7915
|
i = i + (i.length > 0 && i.trim().slice(-1) !== ";" ? ";" : "") + "color: " + _ + "; ";
|
|
7913
7916
|
break;
|
|
7914
7917
|
case "rotate":
|
|
7915
|
-
typeof _ == "string" ? n[x] =
|
|
7918
|
+
typeof _ == "string" ? n[x] = kv(_) : typeof _ == "number" && (n[x] = _);
|
|
7916
7919
|
break;
|
|
7917
7920
|
case "ariaHidden":
|
|
7918
7921
|
case "aria-hidden":
|
|
@@ -7924,27 +7927,27 @@ function Sv(t, e) {
|
|
|
7924
7927
|
ki[x] === void 0 && (s[x] = _);
|
|
7925
7928
|
}
|
|
7926
7929
|
}
|
|
7927
|
-
const a =
|
|
7930
|
+
const a = Gh(t, n), o = a.attributes;
|
|
7928
7931
|
if (n.inline && (i = "vertical-align: -0.125em; " + i), r === "svg") {
|
|
7929
7932
|
Object.assign(s, o), i !== "" && (s.style = i);
|
|
7930
7933
|
let x = 0, _ = e.id;
|
|
7931
7934
|
return typeof _ == "string" && (_ = _.replace(/-/g, "_")), {
|
|
7932
7935
|
svg: !0,
|
|
7933
7936
|
attributes: s,
|
|
7934
|
-
body:
|
|
7937
|
+
body: Xh(a.body, _ ? () => _ + "ID" + x++ : "iconifySvelte")
|
|
7935
7938
|
};
|
|
7936
7939
|
}
|
|
7937
|
-
const { body: c, width: l, height: u } = t, d = r === "mask" || (r === "bg" ? !1 : c.indexOf("currentColor") !== -1), p =
|
|
7940
|
+
const { body: c, width: l, height: u } = t, d = r === "mask" || (r === "bg" ? !1 : c.indexOf("currentColor") !== -1), p = yv(c, {
|
|
7938
7941
|
...o,
|
|
7939
7942
|
width: l + "",
|
|
7940
7943
|
height: u + ""
|
|
7941
7944
|
}), w = {
|
|
7942
|
-
"--svg":
|
|
7945
|
+
"--svg": Tv(p)
|
|
7943
7946
|
}, m = (x) => {
|
|
7944
7947
|
const _ = o[x];
|
|
7945
|
-
_ && (w[x] =
|
|
7948
|
+
_ && (w[x] = Cv(_));
|
|
7946
7949
|
};
|
|
7947
|
-
m("width"), m("height"), Object.assign(w,
|
|
7950
|
+
m("width"), m("height"), Object.assign(w, Ev, d ? us : Ja);
|
|
7948
7951
|
let S = "";
|
|
7949
7952
|
for (const x in w)
|
|
7950
7953
|
S += x + ": " + w[x] + ";";
|
|
@@ -7954,7 +7957,7 @@ function Sv(t, e) {
|
|
|
7954
7957
|
};
|
|
7955
7958
|
}
|
|
7956
7959
|
Ba(!0);
|
|
7957
|
-
|
|
7960
|
+
Vh("", iv);
|
|
7958
7961
|
if (typeof document < "u" && typeof window < "u") {
|
|
7959
7962
|
const t = window;
|
|
7960
7963
|
if (t.IconifyPreload !== void 0) {
|
|
@@ -7964,7 +7967,7 @@ if (typeof document < "u" && typeof window < "u") {
|
|
|
7964
7967
|
// Check if item is an object and not null/array
|
|
7965
7968
|
(typeof r != "object" || r === null || r instanceof Array || // Check for 'icons' and 'prefix'
|
|
7966
7969
|
typeof r.icons != "object" || typeof r.prefix != "string" || // Add icon set
|
|
7967
|
-
!
|
|
7970
|
+
!Mh(r)) && console.error(n);
|
|
7968
7971
|
} catch {
|
|
7969
7972
|
console.error(n);
|
|
7970
7973
|
}
|
|
@@ -7979,14 +7982,14 @@ if (typeof document < "u" && typeof window < "u") {
|
|
|
7979
7982
|
const s = e[n];
|
|
7980
7983
|
if (typeof s != "object" || !s || s.resources === void 0)
|
|
7981
7984
|
continue;
|
|
7982
|
-
|
|
7985
|
+
Qh(n, s) || console.error(r);
|
|
7983
7986
|
} catch {
|
|
7984
7987
|
console.error(r);
|
|
7985
7988
|
}
|
|
7986
7989
|
}
|
|
7987
7990
|
}
|
|
7988
7991
|
}
|
|
7989
|
-
function
|
|
7992
|
+
function Av(t, e, n, r, s) {
|
|
7990
7993
|
function i() {
|
|
7991
7994
|
e.loading && (e.loading.abort(), e.loading = null);
|
|
7992
7995
|
}
|
|
@@ -7995,23 +7998,23 @@ function Ev(t, e, n, r, s) {
|
|
|
7995
7998
|
let a;
|
|
7996
7999
|
if (typeof t != "string" || (a = jr(t, !1, !0)) === null)
|
|
7997
8000
|
return i(), null;
|
|
7998
|
-
const o =
|
|
8001
|
+
const o = Oh(a);
|
|
7999
8002
|
if (!o)
|
|
8000
8003
|
return n && (!e.loading || e.loading.name !== t) && (i(), e.name = "", e.loading = {
|
|
8001
8004
|
name: t,
|
|
8002
|
-
abort:
|
|
8005
|
+
abort: bv([a], r)
|
|
8003
8006
|
}), null;
|
|
8004
8007
|
i(), e.name !== t && (e.name = t, s && !e.destroyed && s(t));
|
|
8005
8008
|
const c = ["iconify"];
|
|
8006
8009
|
return a.prefix !== "" && c.push("iconify--" + a.prefix), a.provider !== "" && c.push("iconify--" + a.provider), { data: o, classes: c };
|
|
8007
8010
|
}
|
|
8008
8011
|
function $i(t, e) {
|
|
8009
|
-
return t ?
|
|
8012
|
+
return t ? Iv({
|
|
8010
8013
|
...Rr,
|
|
8011
8014
|
...t
|
|
8012
8015
|
}, e) : null;
|
|
8013
8016
|
}
|
|
8014
|
-
var
|
|
8017
|
+
var Lv = /* @__PURE__ */ xl("<svg><!></svg>"), jv = /* @__PURE__ */ j("<span></span>");
|
|
8015
8018
|
function Vt(t, e) {
|
|
8016
8019
|
const n = ql(e, [
|
|
8017
8020
|
"children",
|
|
@@ -8044,7 +8047,7 @@ function Vt(t, e) {
|
|
|
8044
8047
|
() => (f(i), Cn(n), f(s), f(r), f(a), $i),
|
|
8045
8048
|
() => {
|
|
8046
8049
|
f(i);
|
|
8047
|
-
const p = !!n.ssr || f(s), h =
|
|
8050
|
+
const p = !!n.ssr || f(s), h = Av(n.icon, f(r), p, c, o);
|
|
8048
8051
|
b(a, h ? $i(h.data, n) : null), f(a) && h.classes && Ur(a, f(a).attributes.class = (typeof n.class == "string" ? n.class + " " : "") + h.classes.join(" "));
|
|
8049
8052
|
}
|
|
8050
8053
|
), Jn(), ct();
|
|
@@ -8054,12 +8057,12 @@ function Vt(t, e) {
|
|
|
8054
8057
|
var h = Tt(), w = pt(h);
|
|
8055
8058
|
{
|
|
8056
8059
|
var m = (x) => {
|
|
8057
|
-
var _ =
|
|
8060
|
+
var _ = Lv();
|
|
8058
8061
|
let y;
|
|
8059
8062
|
var D = z(_);
|
|
8060
8063
|
ss(D, () => f(a).body, !0, !1), k(_), F(() => y = ni(_, y, { ...f(a).attributes }, void 0, !0)), T(x, _);
|
|
8061
8064
|
}, S = (x) => {
|
|
8062
|
-
var _ =
|
|
8065
|
+
var _ = jv();
|
|
8063
8066
|
let y;
|
|
8064
8067
|
F(() => y = ni(_, y, { ...f(a).attributes })), T(x, _);
|
|
8065
8068
|
};
|
|
@@ -8163,26 +8166,26 @@ const rt = {
|
|
|
8163
8166
|
fencesBeginRegex: (t) => new RegExp(`^ {0,${Math.min(3, t - 1)}}(?:\`\`\`|~~~)`),
|
|
8164
8167
|
headingBeginRegex: (t) => new RegExp(`^ {0,${Math.min(3, t - 1)}}#`),
|
|
8165
8168
|
htmlBeginRegex: (t) => new RegExp(`^ {0,${Math.min(3, t - 1)}}<(?:[a-z].*>|!--)`, "i")
|
|
8166
|
-
},
|
|
8167
|
-
blockquote:
|
|
8168
|
-
code:
|
|
8169
|
-
def:
|
|
8170
|
-
fences:
|
|
8171
|
-
heading:
|
|
8169
|
+
}, Rv = /^(?:[ \t]*(?:\n|$))+/, Dv = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, Fv = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, Xn = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, Ov = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, Ps = /(?:[*+-]|\d{1,9}[.)])/, Za = /^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/, Xa = xe(Za).replace(/bull/g, Ps).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/\|table/g, "").getRegex(), Pv = xe(Za).replace(/bull/g, Ps).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/table/g, / {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(), Ms = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, Mv = /^[^\n]+/, Ns = /(?!\s*\])(?:\\.|[^\[\]\\])+/, Nv = xe(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", Ns).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), Uv = xe(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, Ps).getRegex(), Dr = "address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul", Us = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, Bv = xe("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))", "i").replace("comment", Us).replace("tag", Dr).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), Va = xe(Ms).replace("hr", Xn).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("|table", "").replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Dr).getRegex(), qv = xe(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", Va).getRegex(), Bs = {
|
|
8170
|
+
blockquote: qv,
|
|
8171
|
+
code: Dv,
|
|
8172
|
+
def: Nv,
|
|
8173
|
+
fences: Fv,
|
|
8174
|
+
heading: Ov,
|
|
8172
8175
|
hr: Xn,
|
|
8173
|
-
html:
|
|
8176
|
+
html: Bv,
|
|
8174
8177
|
lheading: Xa,
|
|
8175
|
-
list:
|
|
8176
|
-
newline:
|
|
8178
|
+
list: Uv,
|
|
8179
|
+
newline: Rv,
|
|
8177
8180
|
paragraph: Va,
|
|
8178
8181
|
table: Pn,
|
|
8179
|
-
text:
|
|
8180
|
-
}, Ti = xe("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", Xn).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("blockquote", " {0,3}>").replace("code", "(?: {4}| {0,3} )[^\\n]").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Dr).getRegex(),
|
|
8182
|
+
text: Mv
|
|
8183
|
+
}, Ti = xe("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", Xn).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("blockquote", " {0,3}>").replace("code", "(?: {4}| {0,3} )[^\\n]").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Dr).getRegex(), Hv = {
|
|
8181
8184
|
...Bs,
|
|
8182
|
-
lheading:
|
|
8185
|
+
lheading: Pv,
|
|
8183
8186
|
table: Ti,
|
|
8184
8187
|
paragraph: xe(Ms).replace("hr", Xn).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", Ti).replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Dr).getRegex()
|
|
8185
|
-
},
|
|
8188
|
+
}, Yv = {
|
|
8186
8189
|
...Bs,
|
|
8187
8190
|
html: xe(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment", Us).replace(/tag/g, "(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),
|
|
8188
8191
|
def: /^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,
|
|
@@ -8192,59 +8195,59 @@ const rt = {
|
|
|
8192
8195
|
lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,
|
|
8193
8196
|
paragraph: xe(Ms).replace("hr", Xn).replace("heading", ` *#{1,6} *[^
|
|
8194
8197
|
]`).replace("lheading", Xa).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex()
|
|
8195
|
-
},
|
|
8198
|
+
}, Gv = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, Jv = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, Qa = /^( {2,}|\\)\n(?!\s*$)/, Wv = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, Fr = /[\p{P}\p{S}]/u, qs = /[\s\p{P}\p{S}]/u, Ka = /[^\s\p{P}\p{S}]/u, Zv = xe(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, qs).getRegex(), eo = /(?!~)[\p{P}\p{S}]/u, Xv = /(?!~)[\s\p{P}\p{S}]/u, Vv = /(?:[^\s\p{P}\p{S}]|~)/u, Qv = /\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g, to = /^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/, Kv = xe(to, "u").replace(/punct/g, Fr).getRegex(), eg = xe(to, "u").replace(/punct/g, eo).getRegex(), no = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", tg = xe(no, "gu").replace(/notPunctSpace/g, Ka).replace(/punctSpace/g, qs).replace(/punct/g, Fr).getRegex(), ng = xe(no, "gu").replace(/notPunctSpace/g, Vv).replace(/punctSpace/g, Xv).replace(/punct/g, eo).getRegex(), rg = xe("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)", "gu").replace(/notPunctSpace/g, Ka).replace(/punctSpace/g, qs).replace(/punct/g, Fr).getRegex(), sg = xe(/\\(punct)/, "gu").replace(/punct/g, Fr).getRegex(), ig = xe(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme", /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email", /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(), ag = xe(Us).replace("(?:-->|$)", "-->").getRegex(), og = xe("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment", ag).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), xr = /(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/, lg = xe(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label", xr).replace("href", /<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), ro = xe(/^!?\[(label)\]\[(ref)\]/).replace("label", xr).replace("ref", Ns).getRegex(), so = xe(/^!?\[(ref)\](?:\[\])?/).replace("ref", Ns).getRegex(), cg = xe("reflink|nolink(?!\\()", "g").replace("reflink", ro).replace("nolink", so).getRegex(), Hs = {
|
|
8196
8199
|
_backpedal: Pn,
|
|
8197
8200
|
// only used for GFM url
|
|
8198
|
-
anyPunctuation:
|
|
8199
|
-
autolink:
|
|
8200
|
-
blockSkip:
|
|
8201
|
+
anyPunctuation: sg,
|
|
8202
|
+
autolink: ig,
|
|
8203
|
+
blockSkip: Qv,
|
|
8201
8204
|
br: Qa,
|
|
8202
|
-
code:
|
|
8205
|
+
code: Jv,
|
|
8203
8206
|
del: Pn,
|
|
8204
|
-
emStrongLDelim:
|
|
8205
|
-
emStrongRDelimAst:
|
|
8206
|
-
emStrongRDelimUnd:
|
|
8207
|
-
escape:
|
|
8208
|
-
link:
|
|
8207
|
+
emStrongLDelim: Kv,
|
|
8208
|
+
emStrongRDelimAst: tg,
|
|
8209
|
+
emStrongRDelimUnd: rg,
|
|
8210
|
+
escape: Gv,
|
|
8211
|
+
link: lg,
|
|
8209
8212
|
nolink: so,
|
|
8210
|
-
punctuation:
|
|
8213
|
+
punctuation: Zv,
|
|
8211
8214
|
reflink: ro,
|
|
8212
|
-
reflinkSearch:
|
|
8213
|
-
tag:
|
|
8214
|
-
text:
|
|
8215
|
+
reflinkSearch: cg,
|
|
8216
|
+
tag: og,
|
|
8217
|
+
text: Wv,
|
|
8215
8218
|
url: Pn
|
|
8216
|
-
},
|
|
8219
|
+
}, ug = {
|
|
8217
8220
|
...Hs,
|
|
8218
8221
|
link: xe(/^!?\[(label)\]\((.*?)\)/).replace("label", xr).getRegex(),
|
|
8219
8222
|
reflink: xe(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", xr).getRegex()
|
|
8220
8223
|
}, ds = {
|
|
8221
8224
|
...Hs,
|
|
8222
|
-
emStrongRDelimAst:
|
|
8223
|
-
emStrongLDelim:
|
|
8225
|
+
emStrongRDelimAst: ng,
|
|
8226
|
+
emStrongLDelim: eg,
|
|
8224
8227
|
url: xe(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/, "i").replace("email", /[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),
|
|
8225
8228
|
_backpedal: /(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,
|
|
8226
8229
|
del: /^(~~?)(?=[^\s~])((?:\\.|[^\\])*?(?:\\.|[^\s~\\]))\1(?=[^~]|$)/,
|
|
8227
8230
|
text: /^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/
|
|
8228
|
-
},
|
|
8231
|
+
}, dg = {
|
|
8229
8232
|
...ds,
|
|
8230
8233
|
br: xe(Qa).replace("{2,}", "*").getRegex(),
|
|
8231
8234
|
text: xe(ds.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex()
|
|
8232
8235
|
}, nr = {
|
|
8233
8236
|
normal: Bs,
|
|
8234
|
-
gfm:
|
|
8235
|
-
pedantic:
|
|
8237
|
+
gfm: Hv,
|
|
8238
|
+
pedantic: Yv
|
|
8236
8239
|
}, Rn = {
|
|
8237
8240
|
normal: Hs,
|
|
8238
8241
|
gfm: ds,
|
|
8239
|
-
breaks:
|
|
8240
|
-
pedantic:
|
|
8241
|
-
},
|
|
8242
|
+
breaks: dg,
|
|
8243
|
+
pedantic: ug
|
|
8244
|
+
}, fg = {
|
|
8242
8245
|
"&": "&",
|
|
8243
8246
|
"<": "<",
|
|
8244
8247
|
">": ">",
|
|
8245
8248
|
'"': """,
|
|
8246
8249
|
"'": "'"
|
|
8247
|
-
}, Si = (t) =>
|
|
8250
|
+
}, Si = (t) => fg[t];
|
|
8248
8251
|
function Ct(t, e) {
|
|
8249
8252
|
if (e) {
|
|
8250
8253
|
if (rt.escapeTest.test(t))
|
|
@@ -8289,7 +8292,7 @@ function Dn(t, e, n) {
|
|
|
8289
8292
|
s++;
|
|
8290
8293
|
return t.slice(0, r - s);
|
|
8291
8294
|
}
|
|
8292
|
-
function
|
|
8295
|
+
function pg(t, e) {
|
|
8293
8296
|
if (t.indexOf(e[1]) === -1)
|
|
8294
8297
|
return -1;
|
|
8295
8298
|
let n = 0;
|
|
@@ -8324,7 +8327,7 @@ function Ii(t, e, n, r, s) {
|
|
|
8324
8327
|
text: o
|
|
8325
8328
|
};
|
|
8326
8329
|
}
|
|
8327
|
-
function
|
|
8330
|
+
function hg(t, e, n) {
|
|
8328
8331
|
const r = t.match(n.other.indentCodeCompensation);
|
|
8329
8332
|
if (r === null)
|
|
8330
8333
|
return e;
|
|
@@ -8372,7 +8375,7 @@ class wr {
|
|
|
8372
8375
|
fences(e) {
|
|
8373
8376
|
const n = this.rules.block.fences.exec(e);
|
|
8374
8377
|
if (n) {
|
|
8375
|
-
const r = n[0], s =
|
|
8378
|
+
const r = n[0], s = hg(r, n[3] || "", this.rules);
|
|
8376
8379
|
return {
|
|
8377
8380
|
type: "code",
|
|
8378
8381
|
raw: r,
|
|
@@ -8658,7 +8661,7 @@ ${d}` : d;
|
|
|
8658
8661
|
if ((r.length - a.length) % 2 === 0)
|
|
8659
8662
|
return;
|
|
8660
8663
|
} else {
|
|
8661
|
-
const a =
|
|
8664
|
+
const a = pg(n[2], "()");
|
|
8662
8665
|
if (a > -1) {
|
|
8663
8666
|
const c = (n[0].indexOf("!") === 0 ? 5 : 4) + n[1].length + a;
|
|
8664
8667
|
n[2] = n[2].substring(0, a), n[0] = n[0].substring(0, c).trim(), n[3] = "";
|
|
@@ -9438,7 +9441,7 @@ C(Mn, "passThroughHooks", /* @__PURE__ */ new Set([
|
|
|
9438
9441
|
"postprocess",
|
|
9439
9442
|
"processAllTokens"
|
|
9440
9443
|
]));
|
|
9441
|
-
class
|
|
9444
|
+
class vg {
|
|
9442
9445
|
constructor(...e) {
|
|
9443
9446
|
C(this, "defaults", Os());
|
|
9444
9447
|
C(this, "options", this.setOptions);
|
|
@@ -9611,7 +9614,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
|
|
|
9611
9614
|
};
|
|
9612
9615
|
}
|
|
9613
9616
|
}
|
|
9614
|
-
const un = new
|
|
9617
|
+
const un = new vg();
|
|
9615
9618
|
function be(t, e) {
|
|
9616
9619
|
return un.parse(t, e);
|
|
9617
9620
|
}
|
|
@@ -9643,10 +9646,10 @@ be.walkTokens;
|
|
|
9643
9646
|
be.parseInline;
|
|
9644
9647
|
_t.parse;
|
|
9645
9648
|
wt.lex;
|
|
9646
|
-
const
|
|
9647
|
-
const r =
|
|
9649
|
+
const gg = async (t, e, n) => {
|
|
9650
|
+
const r = Pp(e()), s = Mp(e());
|
|
9648
9651
|
try {
|
|
9649
|
-
await
|
|
9652
|
+
await Np(r, s), n();
|
|
9650
9653
|
} catch (i) {
|
|
9651
9654
|
console.error("Errore durante la copia:", i);
|
|
9652
9655
|
try {
|
|
@@ -9656,18 +9659,18 @@ const pg = async (t, e, n) => {
|
|
|
9656
9659
|
}
|
|
9657
9660
|
}
|
|
9658
9661
|
};
|
|
9659
|
-
var
|
|
9660
|
-
const
|
|
9662
|
+
var mg = (t, e, n) => e(f(n)), bg = /* @__PURE__ */ j('<i class="fa-solid fa-spinner fa-spin svelte-173vhzm"></i>'), xg = /* @__PURE__ */ j("<i></i>"), wg = /* @__PURE__ */ j('<div class="document-path svelte-173vhzm"> </div>'), _g = /* @__PURE__ */ j('<button><!> <div class="document-info svelte-173vhzm"><span class="document-title svelte-173vhzm"> </span> <!></div></button>'), kg = /* @__PURE__ */ j('<div class="sources-expanded svelte-173vhzm"><div class="sources-header svelte-173vhzm"></div> <div class="sources-list svelte-173vhzm"></div> <div class="sources-footer svelte-173vhzm"><button class="copy-sources-btn svelte-173vhzm"><i class="fa-solid fa-copy svelte-173vhzm"></i> <span> </span></button></div></div>'), yg = /* @__PURE__ */ j('<div class="sources-container svelte-173vhzm"><!></div>'), zg = /* @__PURE__ */ j('<div class="message-attachments"><!></div>');
|
|
9663
|
+
const $g = {
|
|
9661
9664
|
hash: "svelte-173vhzm",
|
|
9662
9665
|
code: ".sources-container.svelte-173vhzm {display:flex;flex-direction:column;width:100%;}.sources-expanded.svelte-173vhzm {background:rgba(255, 255, 255, 0.2);border-radius:0 0 8px 0;box-shadow:0 2px 8px rgba(0, 0, 0, 0.15);margin-top:-10px;overflow:hidden;width:fit-content;min-width:350px;}.sources-header.svelte-173vhzm {height:10px;}.sources-footer.svelte-173vhzm {display:flex;justify-content:flex-end;align-items:center;padding:0 10px 10px 10px;}.sources-title.svelte-173vhzm {margin:0;font-size:16px;font-weight:600;color:#333;}.copy-sources-btn.svelte-173vhzm {display:flex;align-items:center;gap:6px;padding:8px 12px;background:rgba(255, 255, 255, 0.9);color:#295dcf;border:1px solid rgba(255, 255, 255, 0.3);border-radius:8px;cursor:pointer;font-size:13px;transition:all 0.2s;white-space:nowrap;box-shadow:0 2px 4px rgba(0, 0, 0, 0.1);}.copy-sources-btn.svelte-173vhzm:hover {background:white;box-shadow:0 4px 8px rgba(0, 0, 0, 0.15);transform:translateY(-1px);}.copy-sources-btn.svelte-173vhzm i:where(.svelte-173vhzm) {font-size:12px;}.sources-list.svelte-173vhzm {display:flex;flex-wrap:wrap;gap:10px;padding:10px;}.dropdown-option.svelte-173vhzm {display:flex;align-items:center;flex:0 1 calc(50% - 5px);min-width:250px;padding:12px 15px;border:1px solid rgba(255, 255, 255, 0.5);border-radius:8px;background:white;color:#333;cursor:pointer;transition:all 0.2s;box-shadow:0 2px 4px rgba(0, 0, 0, 0.1);}.dropdown-option.svelte-173vhzm:disabled {cursor:wait;opacity:0.7;}.dropdown-option.common.svelte-173vhzm {color:#8fa1c9;cursor:default;opacity:0.8;}.dropdown-option.svelte-173vhzm:hover {background:white;color:#295dcf;border-color:rgba(41, 93, 207, 0.3);box-shadow:0 4px 8px rgba(0, 0, 0, 0.15);transform:translateY(-1px);}.dropdown-option.common.svelte-173vhzm:hover {background:white;color:#8fa1c9;border-color:rgba(255, 255, 255, 0.5);box-shadow:0 2px 4px rgba(0, 0, 0, 0.1);transform:none;}.dropdown-option.svelte-173vhzm i:where(.svelte-173vhzm) {margin-right:10px;width:16px;text-align:center;}.dropdown-option.svelte-173vhzm span:where(.svelte-173vhzm) {font-size:14px;}.document-info.svelte-173vhzm {display:flex;flex-direction:column;align-items:flex-start;flex:1;}.document-title.svelte-173vhzm {font-weight:500;margin-bottom:4px;text-align:left;word-break:break-word;}.document-path.svelte-173vhzm {font-size:0.85em;color:#6c757d;text-align:left;word-break:break-word;}"
|
|
9663
9666
|
};
|
|
9664
9667
|
function fs(t, e) {
|
|
9665
|
-
se(e, !0), ue(t,
|
|
9668
|
+
se(e, !0), ue(t, $g);
|
|
9666
9669
|
let n = g(e, "isDropdownOpen", 15), r = g(e, "attachmentList", 15), s = g(e, "userLevel", 15), i = J(I({})), a = J(I(/* @__PURE__ */ Yr()));
|
|
9667
9670
|
const o = (x, _) => {
|
|
9668
9671
|
f(i)[x] = _;
|
|
9669
9672
|
}, c = () => {
|
|
9670
|
-
b(a, I(/* @__PURE__ */
|
|
9673
|
+
b(a, I(/* @__PURE__ */ ad())), setTimeout(
|
|
9671
9674
|
() => {
|
|
9672
9675
|
b(a, I(/* @__PURE__ */ Yr()));
|
|
9673
9676
|
},
|
|
@@ -9676,7 +9679,7 @@ function fs(t, e) {
|
|
|
9676
9679
|
}, l = async (x, _, y) => {
|
|
9677
9680
|
await ft.getDocumentPage(x, _, y);
|
|
9678
9681
|
}, u = async (x, _, y) => {
|
|
9679
|
-
if (!
|
|
9682
|
+
if (!Fp(s(), _)) {
|
|
9680
9683
|
console.error("L'utente non ha il permesso di scaricare PDF normativi.");
|
|
9681
9684
|
return;
|
|
9682
9685
|
}
|
|
@@ -9729,26 +9732,26 @@ function fs(t, e) {
|
|
|
9729
9732
|
return;
|
|
9730
9733
|
}
|
|
9731
9734
|
const A = Ia(y);
|
|
9732
|
-
!
|
|
9735
|
+
!Ap(y) || A === "mp3" ? await d(_, L || "", y) : await u(_, L || "", y);
|
|
9733
9736
|
};
|
|
9734
|
-
var w =
|
|
9737
|
+
var w = zg(), m = z(w);
|
|
9735
9738
|
{
|
|
9736
9739
|
var S = (x) => {
|
|
9737
|
-
var _ =
|
|
9740
|
+
var _ = yg(), y = z(_);
|
|
9738
9741
|
{
|
|
9739
9742
|
var D = (E) => {
|
|
9740
|
-
var L =
|
|
9743
|
+
var L = kg(), A = O(z(L), 2);
|
|
9741
9744
|
Ke(A, 21, r, Qe, (Se, ve) => {
|
|
9742
|
-
var ze =
|
|
9743
|
-
const Re = /* @__PURE__ */ qe(() => tr(f(ve).external_id, f(ve).filename)), Xe = /* @__PURE__ */ qe(() =>
|
|
9744
|
-
ze.__click = [
|
|
9745
|
+
var ze = _g();
|
|
9746
|
+
const Re = /* @__PURE__ */ qe(() => tr(f(ve).external_id, f(ve).filename)), Xe = /* @__PURE__ */ qe(() => Dp(f(ve))), ut = /* @__PURE__ */ qe(() => f(i)[f(Re)]), gt = /* @__PURE__ */ qe(() => Op(f(ve), s())), R = /* @__PURE__ */ qe(() => Aa(f(ve))), te = /* @__PURE__ */ qe(() => La(f(ve))), Ee = /* @__PURE__ */ qe(() => f(ve).isCommon ? Zn(f(ve).commonType).name : /* @__PURE__ */ ui());
|
|
9747
|
+
ze.__click = [mg, h, ve];
|
|
9745
9748
|
var Ce = z(ze);
|
|
9746
9749
|
{
|
|
9747
9750
|
var Oe = (le) => {
|
|
9748
|
-
var fe =
|
|
9751
|
+
var fe = bg();
|
|
9749
9752
|
T(le, fe);
|
|
9750
9753
|
}, Ie = (le) => {
|
|
9751
|
-
var fe =
|
|
9754
|
+
var fe = xg();
|
|
9752
9755
|
F(() => {
|
|
9753
9756
|
nt(fe, Ar(f(Xe).icon), "svelte-173vhzm"), N(fe, "style", f(Xe).color ? `color: ${f(Xe).color}` : "");
|
|
9754
9757
|
}), T(le, fe);
|
|
@@ -9762,7 +9765,7 @@ function fs(t, e) {
|
|
|
9762
9765
|
var W = O(He, 2);
|
|
9763
9766
|
{
|
|
9764
9767
|
var he = (le) => {
|
|
9765
|
-
var fe =
|
|
9768
|
+
var fe = wg(), ge = z(fe, !0);
|
|
9766
9769
|
k(fe), F(() => _e(ge, f(te))), T(le, fe);
|
|
9767
9770
|
};
|
|
9768
9771
|
K(W, (le) => {
|
|
@@ -9778,7 +9781,7 @@ function fs(t, e) {
|
|
|
9778
9781
|
}), k(A);
|
|
9779
9782
|
var M = O(A, 2), Z = z(M);
|
|
9780
9783
|
Z.__click = [
|
|
9781
|
-
|
|
9784
|
+
gg,
|
|
9782
9785
|
r,
|
|
9783
9786
|
c
|
|
9784
9787
|
];
|
|
@@ -9833,11 +9836,11 @@ oe(
|
|
|
9833
9836
|
[],
|
|
9834
9837
|
!0
|
|
9835
9838
|
);
|
|
9836
|
-
const
|
|
9839
|
+
const Tg = (t, e, n) => {
|
|
9837
9840
|
f(e).pause(), b(n, !1);
|
|
9838
9841
|
};
|
|
9839
|
-
var
|
|
9840
|
-
const
|
|
9842
|
+
var Sg = /* @__PURE__ */ j('<button aria-label="Pause message" class="btn btn-sm btn-primary aks-btn-rounded play-button svelte-1c80pjc"><i class="fa-solid fa-pause"></i></button>'), Eg = (t, e, n) => e(f(n)), Cg = /* @__PURE__ */ j('<button aria-label="Play message" class="btn btn-sm btn-primary aks-btn-rounded play-button svelte-1c80pjc"><i class="fa-solid fa-play"></i></button>'), Ig = /* @__PURE__ */ j('<div class="agent-badge svelte-1c80pjc" title="Agente utilizzato"><i class="fa-solid fa-robot svelte-1c80pjc"></i> <span> </span></div>'), Ag = /* @__PURE__ */ j('<button class="sources-toggle-btn svelte-1c80pjc" aria-label="Visualizza fonti"><span> </span> <i></i></button>'), Lg = /* @__PURE__ */ j('<i class="fa-solid fa-check"></i>'), jg = /* @__PURE__ */ j('<i class="fa-regular fa-copy"></i>'), Rg = /* @__PURE__ */ j('<div><div class="message-plus-play svelte-1c80pjc"><div><div class="message-content svelte-1c80pjc"><!></div></div> <!></div> <div class="w-100 d-flex"><div class="attachments-container svelte-1c80pjc"><!> <div class="d-flex gap-1"><!> <!> <button aria-label="Copy message" class="copy-button svelte-1c80pjc"><!></button></div></div></div></div>'), Dg = /* @__PURE__ */ j('<div><div class="message-plus-play svelte-1c80pjc"><div class="message-received svelte-1c80pjc"><div class="message-content svelte-1c80pjc"><!></div></div> <!></div> <div class="w-100 d-flex" style="justify-content: flex-start"><div class="attachments-container svelte-1c80pjc"><!> <div class="d-flex gap-1" style="width: 100%; justify-content: flex-start; align-items: flex-start;"><div class="agent-badge svelte-1c80pjc" title="Agente utilizzato"><i class="fa-solid fa-robot svelte-1c80pjc"></i> <span> </span></div></div></div></div></div>'), Fg = /* @__PURE__ */ j('<div class="loading svelte-1c80pjc"><!></div>'), Og = /* @__PURE__ */ j('<div class="alert alert-danger"> </div>'), Pg = /* @__PURE__ */ j('<div class="messages-wrapper svelte-1c80pjc"><div class="empty-placeholder svelte-1c80pjc"></div> <!> <!> <!></div>'), Mg = /* @__PURE__ */ j('<div class="loading-placeholder svelte-1c80pjc"><!></div>'), Ng = /* @__PURE__ */ j('<div class="chat-body svelte-1c80pjc"><!> <!></div>');
|
|
9843
|
+
const Ug = {
|
|
9841
9844
|
hash: "svelte-1c80pjc",
|
|
9842
9845
|
code: `.empty-placeholder.svelte-1c80pjc {height:100%;}.messages-wrapper.svelte-1c80pjc {display:flex;flex-direction:column;gap:10px;min-height:100%;}.loading-placeholder.svelte-1c80pjc {display:flex;justify-content:center;align-items:center;height:100%;}.chat-body.svelte-1c80pjc {display:flex;flex-direction:column;gap:10px;overflow-y:auto;height:100%;padding:10px;}.chat-body.svelte-1c80pjc::-webkit-scrollbar {width:8px;}.chat-body.svelte-1c80pjc * {--bs-table-color: #333333;--bs-table-striped-color: #333333;--bs-link-color-rgb: 41, 93, 207;}.chat-body.svelte-1c80pjc li {color:inherit;}.chat-body.svelte-1c80pjc table {min-width:auto;}.chat-body.svelte-1c80pjc::-webkit-scrollbar-track {background:rgba(255, 255, 255, 0.2); /* Sfondo semi-trasparente */border-radius:10px;}.chat-body.svelte-1c80pjc::-webkit-scrollbar-thumb {background:rgba(\r
|
|
9843
9846
|
255,\r
|
|
@@ -9847,7 +9850,7 @@ const Pg = {
|
|
|
9847
9850
|
); /* Colore del "pollice" della scrollbar */border-radius:10px;transition:0.3s;}.chat-body.svelte-1c80pjc::-webkit-scrollbar-thumb:hover {background:rgba(255, 255, 255, 0.8); /* Più visibile quando hoverata */}.message-sent.svelte-1c80pjc {display:flex;background:#c8d9ff;border-radius:10px;border-bottom-right-radius:0;width:fit-content;max-width:80%;margin-left:auto;transition:200ms;z-index:1000;user-select:text;}.message-received.svelte-1c80pjc {background:white;border-radius:10px;border-bottom-left-radius:0;width:fit-content;max-width:80%;transition:200ms;position:relative;z-index:1000;user-select:text;}.message-content.svelte-1c80pjc {padding:10px;font-size:16px;}.attachments-container.svelte-1c80pjc {display:flex;flex-direction:column;width:80%;height:35px;}.play-button.svelte-1c80pjc {transition:opacity 200ms;opacity:0;background-color:white;color:#295dcf;transition:200ms;}.play-button.svelte-1c80pjc:hover {background-color:#e9ecef;translate:0 -1px;}.sources-toggle-btn.svelte-1c80pjc {display:flex;align-items:center;justify-content:space-between;padding:8px 12px;background:rgba(255, 255, 255, 0.2);color:white;border-radius:0 0 8px 8px;cursor:pointer;font-size:14px;transition:all 200ms;width:fit-content;gap:10px;box-shadow:0 2px 4px rgba(0, 0, 0, 0.15);border:none;height:30px;}.sources-toggle-btn.svelte-1c80pjc:hover {background:rgba(255, 255, 255, 0.25);border-color:rgba(255, 255, 255, 0.5);}.sources-toggle-btn.svelte-1c80pjc i:where(.svelte-1c80pjc) {font-size:12px;transition:transform 200ms;}.copy-button.svelte-1c80pjc {transition:opacity 200ms;background-color:rgba(255, 255, 255, 0.2);box-shadow:0 2px 4px rgba(0, 0, 0, 0.1);border:none;color:white;transition:200ms;border-radius:0 0 8px 8px;height:30px;width:30px;padding:0;font-size:18px;margin:0;}.copy-button.svelte-1c80pjc:hover {background:rgba(255, 255, 255, 0.25);border-color:rgba(255, 255, 255, 0.5);}.agent-badge.svelte-1c80pjc {display:flex;align-items:center;gap:6px;padding:6px 12px;background:rgba(60, 60, 60, 0.75);color:white;border-radius:0 0 8px 8px;font-size:12px;font-weight:500;width:fit-content;box-shadow:0 2px 4px rgba(0, 0, 0, 0.15);backdrop-filter:blur(5px);cursor:default;pointer-events:none;height:30px;}.agent-badge.svelte-1c80pjc i:where(.svelte-1c80pjc) {font-size:14px;opacity:0.9;}.message-plus-play.svelte-1c80pjc {display:flex;justify-content:flex-start;align-items:center;gap:5px;}.message-plus-play.svelte-1c80pjc:hover .play-button:where(.svelte-1c80pjc) {opacity:1;}.loading.svelte-1c80pjc {display:flex;justify-content:start;align-items:center;padding-left:10px;}`
|
|
9848
9851
|
};
|
|
9849
9852
|
function io(t, e) {
|
|
9850
|
-
se(e, !0), ue(t,
|
|
9853
|
+
se(e, !0), ue(t, Ug);
|
|
9851
9854
|
let n = g(e, "messages", 15), r = g(e, "loading", 15), s = g(e, "error", 15), i = g(e, "streamMessage", 15), a = g(e, "streamAttachments", 15), o = g(e, "streamedAgent", 15), c = g(e, "languageSelected", 15), l = g(e, "userLevel", 15), u = g(e, "loadingChat", 15), d = J(void 0), p = J(I(new Audio())), h = J(!1), w = J(I({})), m = J(I({})), S = J(I(n())), x = J(null), _ = J(!0), y = J(!1), D = J(!1), E = J(I(u())), L = J(!1);
|
|
9852
9855
|
const A = async () => {
|
|
9853
9856
|
await Br(), f(d) && (f(d).scrollTop = f(d).scrollHeight);
|
|
@@ -9900,12 +9903,12 @@ function io(t, e) {
|
|
|
9900
9903
|
}), It(() => {
|
|
9901
9904
|
i(), f(S), A();
|
|
9902
9905
|
});
|
|
9903
|
-
var ze =
|
|
9906
|
+
var ze = Ng(), Re = z(ze);
|
|
9904
9907
|
{
|
|
9905
9908
|
var Xe = (R) => {
|
|
9906
|
-
var te =
|
|
9909
|
+
var te = Pg(), Ee = O(z(te), 2);
|
|
9907
9910
|
Ke(Ee, 17, () => f(S), Qe, (ke, W, he) => {
|
|
9908
|
-
var le =
|
|
9911
|
+
var le = Rg(), fe = z(le), ge = z(fe), Fe = z(ge), et = z(Fe);
|
|
9909
9912
|
ss(et, () => f(W).html ?? be.parseInline(f(W).content), !1, !1), k(Fe), k(ge);
|
|
9910
9913
|
var Pe = O(ge, 2);
|
|
9911
9914
|
{
|
|
@@ -9913,11 +9916,11 @@ function io(t, e) {
|
|
|
9913
9916
|
var V = Tt(), $ = pt(V);
|
|
9914
9917
|
{
|
|
9915
9918
|
var P = (ne) => {
|
|
9916
|
-
var $e =
|
|
9917
|
-
$e.__click = [
|
|
9919
|
+
var $e = Sg();
|
|
9920
|
+
$e.__click = [Tg, p, h], F((Te) => N($e, "title", Te), [() => /* @__PURE__ */ nd()]), T(ne, $e);
|
|
9918
9921
|
}, Y = (ne) => {
|
|
9919
|
-
var $e =
|
|
9920
|
-
$e.__click = [
|
|
9922
|
+
var $e = Cg();
|
|
9923
|
+
$e.__click = [Eg, Se, W], F((Te) => N($e, "title", Te), [() => /* @__PURE__ */ td()]), T(ne, $e);
|
|
9921
9924
|
};
|
|
9922
9925
|
K($, (ne) => {
|
|
9923
9926
|
f(h) ? ne(P) : ne(Y, !1);
|
|
@@ -9959,7 +9962,7 @@ function io(t, e) {
|
|
|
9959
9962
|
var B = O(We, 2), H = z(B);
|
|
9960
9963
|
{
|
|
9961
9964
|
var X = (G) => {
|
|
9962
|
-
var V =
|
|
9965
|
+
var V = Ig(), $ = O(z(V), 2), P = z($, !0);
|
|
9963
9966
|
k($), k(V), F((Y) => _e(P, Y), [
|
|
9964
9967
|
() => hi(f(W).agentUsed)
|
|
9965
9968
|
]), T(G, V);
|
|
@@ -9971,7 +9974,7 @@ function io(t, e) {
|
|
|
9971
9974
|
var we = O(H, 2);
|
|
9972
9975
|
{
|
|
9973
9976
|
var ce = (G) => {
|
|
9974
|
-
var V =
|
|
9977
|
+
var V = Ag();
|
|
9975
9978
|
V.__click = () => f(w)[he] = !f(w)[he];
|
|
9976
9979
|
var $ = z(V), P = z($);
|
|
9977
9980
|
k($);
|
|
@@ -9980,7 +9983,7 @@ function io(t, e) {
|
|
|
9980
9983
|
(ne) => {
|
|
9981
9984
|
_e(P, `${ne ?? ""} (${f(W).attachments.length ?? ""})`), nt(Y, `${`fa-solid fa-chevron-${f(w)[he] ? "up" : "down"}` ?? ""} svelte-1c80pjc`);
|
|
9982
9985
|
},
|
|
9983
|
-
[() => /* @__PURE__ */
|
|
9986
|
+
[() => /* @__PURE__ */ Wu()]
|
|
9984
9987
|
), T(G, V);
|
|
9985
9988
|
};
|
|
9986
9989
|
K(we, (G) => {
|
|
@@ -9992,10 +9995,10 @@ function io(t, e) {
|
|
|
9992
9995
|
var je = z(ae);
|
|
9993
9996
|
{
|
|
9994
9997
|
var Be = (G) => {
|
|
9995
|
-
var V =
|
|
9998
|
+
var V = Lg();
|
|
9996
9999
|
T(G, V);
|
|
9997
10000
|
}, Ue = (G) => {
|
|
9998
|
-
var V =
|
|
10001
|
+
var V = jg();
|
|
9999
10002
|
T(G, V);
|
|
10000
10003
|
};
|
|
10001
10004
|
K(je, (G) => {
|
|
@@ -10007,14 +10010,14 @@ function io(t, e) {
|
|
|
10007
10010
|
nt(ge, Ar(f(W).sentByUser ? "message-sent" : "message-received"), "svelte-1c80pjc"), N(Ne, "style", `justify-content: ${(f(W).sentByUser ? "flex-end" : "flex-start") ?? ""}`), N(B, "style", `width: 100%; align-items: flex-start; justify-content: ${(f(W).sentByUser ? "flex-end" : "flex-start") ?? ""}`), N(ae, "title", G);
|
|
10008
10011
|
},
|
|
10009
10012
|
[
|
|
10010
|
-
() => f(m)[he] || /* @__PURE__ */
|
|
10013
|
+
() => f(m)[he] || /* @__PURE__ */ od()
|
|
10011
10014
|
]
|
|
10012
10015
|
), T(ke, le);
|
|
10013
10016
|
});
|
|
10014
10017
|
var Ce = O(Ee, 2);
|
|
10015
10018
|
{
|
|
10016
10019
|
var Oe = (ke) => {
|
|
10017
|
-
var W =
|
|
10020
|
+
var W = Dg(), he = z(W), le = z(he), fe = z(le), ge = z(fe);
|
|
10018
10021
|
ss(ge, i, !1, !1), k(fe), k(le);
|
|
10019
10022
|
var Fe = O(le, 2);
|
|
10020
10023
|
{
|
|
@@ -10063,7 +10066,7 @@ function io(t, e) {
|
|
|
10063
10066
|
var W = Tt(), he = pt(W);
|
|
10064
10067
|
{
|
|
10065
10068
|
var le = (fe) => {
|
|
10066
|
-
var ge =
|
|
10069
|
+
var ge = Fg(), Fe = z(ge);
|
|
10067
10070
|
Vt(Fe, {
|
|
10068
10071
|
icon: "svg-spinners:3-dots-bounce",
|
|
10069
10072
|
width: "25px",
|
|
@@ -10088,7 +10091,7 @@ function io(t, e) {
|
|
|
10088
10091
|
var De = O(Ce, 2);
|
|
10089
10092
|
{
|
|
10090
10093
|
var He = (ke) => {
|
|
10091
|
-
var W =
|
|
10094
|
+
var W = Og(), he = z(W, !0);
|
|
10092
10095
|
k(W), F(() => _e(he, s())), T(ke, W);
|
|
10093
10096
|
};
|
|
10094
10097
|
K(De, (ke) => {
|
|
@@ -10104,7 +10107,7 @@ function io(t, e) {
|
|
|
10104
10107
|
var ut = O(Re, 2);
|
|
10105
10108
|
{
|
|
10106
10109
|
var gt = (R) => {
|
|
10107
|
-
var te =
|
|
10110
|
+
var te = Mg(), Ee = z(te);
|
|
10108
10111
|
Vt(Ee, {
|
|
10109
10112
|
icon: "svg-spinners:270-ring-with-bg",
|
|
10110
10113
|
width: "50px",
|
|
@@ -10191,10 +10194,10 @@ oe(
|
|
|
10191
10194
|
[],
|
|
10192
10195
|
!0
|
|
10193
10196
|
);
|
|
10194
|
-
var
|
|
10197
|
+
var Bg = /* @__PURE__ */ j('<div class="loader-container svelte-1sgnsaj"><div class="loader svelte-1sgnsaj"></div></div>'), qg = (t, e, n, r) => {
|
|
10195
10198
|
e()._id != f(n)._id && r(f(n)._id);
|
|
10196
|
-
},
|
|
10197
|
-
const
|
|
10199
|
+
}, Hg = (t, e, n) => e(f(n)._id, f(n).title), Yg = /* @__PURE__ */ j('<div class="chat svelte-1sgnsaj"><button class="chat-button svelte-1sgnsaj"><span style="font-weight: bold;" class="svelte-1sgnsaj"> </span></button> <button class="chat-delete svelte-1sgnsaj" aria-label="Delete chat"><i class="fa-solid fa-trash-can svelte-1sgnsaj"></i></button></div>'), Gg = /* @__PURE__ */ j('<div class="history svelte-1sgnsaj"><span class="title svelte-1sgnsaj"> </span> <div class="chats svelte-1sgnsaj"><!></div></div>'), Jg = /* @__PURE__ */ j('<div class="external-div svelte-1sgnsaj"><!></div>');
|
|
10200
|
+
const Wg = {
|
|
10198
10201
|
hash: "svelte-1sgnsaj",
|
|
10199
10202
|
code: `.history.svelte-1sgnsaj {position:absolute;top:0;left:-250px;width:250px;height:100%; /* Cambiato da 600px a 100% */border-radius:15px;display:flex;flex-direction:column;margin:0; /* Rimosso il margin */padding:10px;background:#3c4450;box-shadow:0 0 10px rgba(0, 0, 0, 0.1);z-index:-1; /* Cambiato da 999 a -1 */}.title.svelte-1sgnsaj {font-size:1.5rem;color:#fff;margin:10px;text-align:left;}.chats.svelte-1sgnsaj {display:flex;flex-direction:column;padding:10px;overflow-y:scroll;overflow-x:hidden;height:100%;gap:20px;}.chat.svelte-1sgnsaj {background:rgba(255, 255, 255, 0.2);display:flex;justify-content:space-between;align-items:center;border-radius:10px;transition:200ms;width:100%;}.chat.svelte-1sgnsaj > .chat-button:where(.svelte-1sgnsaj) {background:transparent;padding:5px 10px;border-radius:10px;cursor:pointer;transition:200ms;text-align:left;border:none;font-size:15px;width:calc(95% - 35px);}.chat.svelte-1sgnsaj > .chat-delete:where(.svelte-1sgnsaj) {display:flex;justify-content:center;align-items:center;background:transparent;border-radius:100%;cursor:pointer;transition:200ms;border:none;height:35px;width:35px;color:white;margin:3px;}.chat.svelte-1sgnsaj:hover {scale:1.02;}.chat-button.svelte-1sgnsaj:hover {background:rgba(255, 255, 255, 0.2);}.chat-delete.svelte-1sgnsaj:hover {background:rgba(255, 255, 255, 0.2);}.chat.svelte-1sgnsaj > button:where(.svelte-1sgnsaj) > span:where(.svelte-1sgnsaj) {color:white;text-shadow:0 0 5px rgba(0, 0, 0, 0.1);}.chats.svelte-1sgnsaj::-webkit-scrollbar {width:8px;}.chats.svelte-1sgnsaj::-webkit-scrollbar-track {background:rgba(255, 255, 255, 0.2); /* Sfondo semi-trasparente */border-radius:10px;}.chats.svelte-1sgnsaj::-webkit-scrollbar-thumb {background:rgba(\r
|
|
10200
10203
|
255,\r
|
|
@@ -10214,36 +10217,36 @@ const Yg = {
|
|
|
10214
10217
|
}`
|
|
10215
10218
|
};
|
|
10216
10219
|
function ao(t, e) {
|
|
10217
|
-
se(e, !0), ue(t,
|
|
10220
|
+
se(e, !0), ue(t, Wg);
|
|
10218
10221
|
let n = g(e, "showHistory", 15), r = g(e, "actChat", 15), s = g(e, "chats", 15), i = g(e, "messages", 15), a = g(e, "error", 15), o = g(e, "loadingChat", 15), c = g(e, "loadingChats", 15), l = g(e, "newChat", 7);
|
|
10219
10222
|
const u = async (m) => {
|
|
10220
10223
|
o(!0);
|
|
10221
10224
|
let S = await Pt.getChat(m);
|
|
10222
10225
|
r(S), i(r().messages), o(!1), a("");
|
|
10223
10226
|
}, d = (m, S) => {
|
|
10224
|
-
confirm(/* @__PURE__ */
|
|
10227
|
+
confirm(/* @__PURE__ */ qu({ chatTitle: S })) && Pt.deleteChat(m).then(() => {
|
|
10225
10228
|
s(s().filter((x) => x._id !== m)), r()._id === m && l()();
|
|
10226
10229
|
});
|
|
10227
10230
|
};
|
|
10228
|
-
var p =
|
|
10231
|
+
var p = Jg(), h = z(p);
|
|
10229
10232
|
{
|
|
10230
10233
|
var w = (m) => {
|
|
10231
|
-
var S =
|
|
10234
|
+
var S = Gg(), x = z(S), _ = z(x, !0);
|
|
10232
10235
|
k(x);
|
|
10233
10236
|
var y = O(x, 2), D = z(y);
|
|
10234
10237
|
{
|
|
10235
10238
|
var E = (A) => {
|
|
10236
|
-
var M =
|
|
10239
|
+
var M = Bg();
|
|
10237
10240
|
T(A, M);
|
|
10238
10241
|
}, L = (A) => {
|
|
10239
10242
|
var M = Tt(), Z = pt(M);
|
|
10240
10243
|
Ke(Z, 17, s, Qe, (ee, Le) => {
|
|
10241
|
-
var Se =
|
|
10242
|
-
ve.__click = [
|
|
10244
|
+
var Se = Yg(), ve = z(Se);
|
|
10245
|
+
ve.__click = [qg, r, Le, u];
|
|
10243
10246
|
var ze = z(ve), Re = z(ze, !0);
|
|
10244
10247
|
k(ze), k(ve);
|
|
10245
10248
|
var Xe = O(ve, 2);
|
|
10246
|
-
Xe.__click = [
|
|
10249
|
+
Xe.__click = [Hg, d, Le], k(Se), F(() => {
|
|
10247
10250
|
N(Se, "style", r()._id === f(Le)._id ? "background: #295dcf; cursor: default;" : ""), _e(Re, f(Le).title);
|
|
10248
10251
|
}), T(ee, Se);
|
|
10249
10252
|
}), T(A, M);
|
|
@@ -10326,16 +10329,16 @@ oe(
|
|
|
10326
10329
|
[],
|
|
10327
10330
|
!0
|
|
10328
10331
|
);
|
|
10329
|
-
const
|
|
10332
|
+
const Zg = (t, e, n, r, s) => {
|
|
10330
10333
|
b(e, "auto"), n(), r(), b(s, I({}));
|
|
10331
10334
|
};
|
|
10332
|
-
var
|
|
10333
|
-
const
|
|
10335
|
+
var Xg = /* @__PURE__ */ j('<div class="drag-overlay svelte-1uxkxb0"><div class="drag-content svelte-1uxkxb0"><!> <p class="svelte-1uxkxb0"> </p></div></div>'), Vg = /* @__PURE__ */ j('<div class="upload-progress-overlay svelte-1uxkxb0"><div class="upload-progress-content svelte-1uxkxb0"><!> <p class="upload-filename svelte-1uxkxb0"> </p> <div class="progress-bar-container svelte-1uxkxb0"><div class="progress-bar svelte-1uxkxb0"></div></div> <p class="upload-percentage svelte-1uxkxb0"> </p></div></div>'), Qg = /* @__PURE__ */ j('<div class="loading-placeholder svelte-1uxkxb0"><!></div>'), Kg = /* @__PURE__ */ j('<!> <div class="resize-border-left svelte-1uxkxb0"></div> <div class="resize-border-top svelte-1uxkxb0"></div> <div class="resize-handle svelte-1uxkxb0"><!></div> <!> <!> <!>', 1), em = /* @__PURE__ */ j('<div class="chat svelte-1uxkxb0"><!> <!> <!></div>'), tm = (t, e) => b(e, !f(e)), nm = (t, e) => e("normative"), rm = (t, e) => e("suite"), sm = /* @__PURE__ */ j('<div class="bottom-right-buttons svelte-1uxkxb0"><button class="pin-forge-buttons svelte-1uxkxb0"><i class="fa-solid fa-thumbtack"></i></button> <div class="btn-with-tooltip svelte-1uxkxb0"><span class="custom-tooltip svelte-1uxkxb0"> </span> <button class="hidden-btn hidden-btn-1 svelte-1uxkxb0" aria-label="normative"><i class="fa-solid fa-book-open"></i></button></div> <div class="btn-with-tooltip svelte-1uxkxb0"><span class="custom-tooltip svelte-1uxkxb0"> </span> <button class="hidden-btn hidden-btn-2 svelte-1uxkxb0" aria-label="suite info"><i class="fa-solid fa-circle-info"></i></button></div></div>'), im = /* @__PURE__ */ j('<div class="external-div"><!> <button><i class="fa-solid fa-comment-nodes"></i><span class="d-none d-md-inline ps-2"> </span></button> <!></div>');
|
|
10336
|
+
const am = {
|
|
10334
10337
|
hash: "svelte-1uxkxb0",
|
|
10335
10338
|
code: ".loading-placeholder.svelte-1uxkxb0 {display:flex;justify-content:center;align-items:center;height:100%;}.chat.svelte-1uxkxb0 {position:fixed;bottom:0;right:0;width:75%;height:90%;min-width:300px;min-height:400px;border-radius:15px;display:flex;flex-direction:column;margin:30px;padding:10px;background:#295dcf;box-shadow:0 0 10px rgba(0, 0, 0, 0.1);resize:none;overflow:visible;z-index:1000;}.resize-handle.svelte-1uxkxb0 {position:absolute;top:-2px;left:-2px;cursor:nw-resize;z-index:1002;display:flex;align-items:flex-start;justify-content:flex-start;}.resize-border-left.svelte-1uxkxb0 {position:absolute;top:0;left:-2px;width:4px;height:100%;cursor:ew-resize;z-index:1001;background:transparent;}.resize-border-top.svelte-1uxkxb0 {position:absolute;top:-2px;left:0;width:100%;height:4px;cursor:ns-resize;z-index:1001;background:transparent;}.no-select.svelte-1uxkxb0 {user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;}.bottom-right-buttons.svelte-1uxkxb0 {position:fixed;bottom:20px;right:0;display:flex;flex-direction:column;gap:15px;z-index:999;transform:translateX(50px);padding:5px;transition:350ms;}.bottom-right-buttons.visible.svelte-1uxkxb0 {transform:translateX(0);}.bottom-right-buttons.svelte-1uxkxb0:hover {transform:translateX(0);}.pin-forge-buttons.svelte-1uxkxb0 {width:30px;height:30px;border-radius:50%;border:none;background:rgba(0, 0, 0, 0.6);color:white;box-shadow:0 2px 8px rgba(0, 0, 0, 0.2);cursor:pointer;display:flex;align-items:center;justify-content:center;align-self:center;transition:200ms;font-size:14px;}.pin-forge-buttons.svelte-1uxkxb0:hover {background:rgba(0, 0, 0, 0.85);transform:scale(1.1);}.pin-forge-buttons.pinned.svelte-1uxkxb0 {background:#295dcf;transform:rotate(45deg);}.pin-forge-buttons.pinned.svelte-1uxkxb0:hover {background:#1e4ba8;transform:rotate(45deg) scale(1.1);}.btn-with-tooltip.svelte-1uxkxb0 {position:relative;display:flex;align-items:center;transition:300ms;}.btn-with-tooltip.svelte-1uxkxb0:hover {transform:translateX(-6px);}.custom-tooltip.svelte-1uxkxb0 {position:absolute;right:70px;background:rgba(0, 0, 0, 0.85);color:white;padding:8px 12px;border-radius:6px;white-space:nowrap;font-size:14px;opacity:0;pointer-events:none;transition:opacity 200ms;box-shadow:0 2px 8px rgba(0, 0, 0, 0.3);}.bottom-right-buttons.visible.svelte-1uxkxb0 .custom-tooltip:where(.svelte-1uxkxb0) {opacity:1;}.btn-with-tooltip.svelte-1uxkxb0:hover .custom-tooltip:where(.svelte-1uxkxb0) {opacity:1;}.hidden-btn.svelte-1uxkxb0 {width:60px;height:60px;border-radius:50%;border:none;box-shadow:0 2px 8px rgba(0, 0, 0, 0.2);cursor:pointer;display:flex;align-items:center;justify-content:center;transition:200ms;}.hidden-btn-1.svelte-1uxkxb0 {background:#28853d;color:white;}.hidden-btn-1.svelte-1uxkxb0:hover {background:#206a31;}.hidden-btn-2.svelte-1uxkxb0 {background:#0099ff;color:white;}.hidden-btn-2.svelte-1uxkxb0:hover {background:#007acc;}.drag-overlay.svelte-1uxkxb0 {position:absolute;top:0;left:0;width:100%;height:100%;background:rgba(41, 93, 207, 0.95);border-radius:15px;display:flex;align-items:center;justify-content:center;z-index:1010;pointer-events:none;}.drag-content.svelte-1uxkxb0 {text-align:center;color:white;}.drag-content.svelte-1uxkxb0 p:where(.svelte-1uxkxb0) {margin-top:20px;font-size:24px;font-weight:600;}.upload-progress-overlay.svelte-1uxkxb0 {position:absolute;top:0;left:0;width:100%;height:100%;background:rgba(0, 0, 0, 0.8);border-radius:15px;display:flex;align-items:center;justify-content:center;z-index:1011;}.upload-progress-content.svelte-1uxkxb0 {text-align:center;color:white;padding:30px;background:rgba(41, 93, 207, 0.9);border-radius:10px;min-width:300px;}.upload-filename.svelte-1uxkxb0 {margin:15px 0 10px 0;font-size:16px;font-weight:500;}.progress-bar-container.svelte-1uxkxb0 {width:100%;height:8px;background:rgba(255, 255, 255, 0.2);border-radius:4px;overflow:hidden;margin:10px 0;}.progress-bar.svelte-1uxkxb0 {height:100%;background:white;border-radius:4px;transition:width 0.3s ease;}.upload-percentage.svelte-1uxkxb0 {margin:10px 0 0 0;font-size:20px;font-weight:600;}"
|
|
10336
10339
|
};
|
|
10337
10340
|
function oo(t, e) {
|
|
10338
|
-
se(e, !0), ue(t,
|
|
10341
|
+
se(e, !0), ue(t, am);
|
|
10339
10342
|
let n = J(!1), r = J(!1), s = J("it"), i = J(""), a = J(0), o = J(null), c = J(I([])), l = J(I([])), u = J(!1), d = J(!0), p = J(I(new Audio())), h = J(!0), w = J(""), m = J(""), S = J(I([])), x = J(0), _ = J(null), y = J(!1), D = J(0), E = J("");
|
|
10340
10343
|
const L = (B, H, X) => {
|
|
10341
10344
|
b(m, f(m) + B), b(S, I(H)), b(x, I(X));
|
|
@@ -10380,7 +10383,7 @@ function oo(t, e) {
|
|
|
10380
10383
|
b(_, null), b(u, !1);
|
|
10381
10384
|
}
|
|
10382
10385
|
} else
|
|
10383
|
-
b(w, I(/* @__PURE__ */
|
|
10386
|
+
b(w, I(/* @__PURE__ */ rd())), b(u, !1);
|
|
10384
10387
|
}, ze = () => {
|
|
10385
10388
|
f(_) && f(_).abort();
|
|
10386
10389
|
};
|
|
@@ -10400,6 +10403,10 @@ function oo(t, e) {
|
|
|
10400
10403
|
let Ue = B.dataTransfer.getData("file_id");
|
|
10401
10404
|
console.log("[DROP DEBUG] externalId:", Ue);
|
|
10402
10405
|
let G = U.getEnvironmentId(), V = await ft.getDocument(G.split("_")[1] + "_" + Ue);
|
|
10406
|
+
if (!V) {
|
|
10407
|
+
alert(/* @__PURE__ */ ed()), b(y, !1), b(Re, 0);
|
|
10408
|
+
return;
|
|
10409
|
+
}
|
|
10403
10410
|
console.log("[DROP DEBUG] Retrieved doc:", V), Ue ? (b(A, "kb"), f(ee)[Ue] = {
|
|
10404
10411
|
title: V.title,
|
|
10405
10412
|
ext_id: Ue,
|
|
@@ -10409,7 +10416,7 @@ function oo(t, e) {
|
|
|
10409
10416
|
return;
|
|
10410
10417
|
}
|
|
10411
10418
|
if (b(y, !1), b(Re, 0), !Z.includes(f(A))) {
|
|
10412
|
-
alert(/* @__PURE__ */
|
|
10419
|
+
alert(/* @__PURE__ */ fd());
|
|
10413
10420
|
return;
|
|
10414
10421
|
}
|
|
10415
10422
|
const X = (je = B.dataTransfer) == null ? void 0 : je.files;
|
|
@@ -10530,18 +10537,18 @@ function oo(t, e) {
|
|
|
10530
10537
|
b(y, !1), b(Re, 0);
|
|
10531
10538
|
}), b(d, !1);
|
|
10532
10539
|
} catch (B) {
|
|
10533
|
-
console.error("Failed to load username", B), b(w, I(/* @__PURE__ */
|
|
10540
|
+
console.error("Failed to load username", B), b(w, I(/* @__PURE__ */ sd())), b(d, !1);
|
|
10534
10541
|
}
|
|
10535
10542
|
});
|
|
10536
|
-
var Fe =
|
|
10543
|
+
var Fe = im(), et = z(Fe);
|
|
10537
10544
|
{
|
|
10538
10545
|
var Pe = (B) => {
|
|
10539
|
-
var H =
|
|
10546
|
+
var H = em();
|
|
10540
10547
|
H.__mousedown = He;
|
|
10541
10548
|
var X = z(H);
|
|
10542
10549
|
{
|
|
10543
10550
|
var we = (G) => {
|
|
10544
|
-
var V =
|
|
10551
|
+
var V = Xg(), $ = z(V), P = z($);
|
|
10545
10552
|
Vt(P, {
|
|
10546
10553
|
icon: "mdi:file-upload",
|
|
10547
10554
|
width: "80px",
|
|
@@ -10550,7 +10557,7 @@ function oo(t, e) {
|
|
|
10550
10557
|
});
|
|
10551
10558
|
var Y = O(P, 2), ne = z(Y, !0);
|
|
10552
10559
|
k(Y), k($), k(V), F(($e) => _e(ne, $e), [
|
|
10553
|
-
() => /* @__PURE__ */
|
|
10560
|
+
() => /* @__PURE__ */ dd() || "Drop files here"
|
|
10554
10561
|
]), xt(3, V, () => Bt, () => ({ duration: 200 })), T(G, V);
|
|
10555
10562
|
};
|
|
10556
10563
|
K(X, (G) => {
|
|
@@ -10560,7 +10567,7 @@ function oo(t, e) {
|
|
|
10560
10567
|
var ce = O(X, 2);
|
|
10561
10568
|
{
|
|
10562
10569
|
var ae = (G) => {
|
|
10563
|
-
var V =
|
|
10570
|
+
var V = Vg(), $ = z(V), P = z($);
|
|
10564
10571
|
Vt(P, {
|
|
10565
10572
|
icon: "svg-spinners:270-ring-with-bg",
|
|
10566
10573
|
width: "50px",
|
|
@@ -10588,7 +10595,7 @@ function oo(t, e) {
|
|
|
10588
10595
|
var je = O(ce, 2);
|
|
10589
10596
|
{
|
|
10590
10597
|
var Be = (G) => {
|
|
10591
|
-
var V =
|
|
10598
|
+
var V = Qg(), $ = z(V);
|
|
10592
10599
|
Vt($, {
|
|
10593
10600
|
icon: "svg-spinners:270-ring-with-bg",
|
|
10594
10601
|
width: "50px",
|
|
@@ -10599,7 +10606,7 @@ function oo(t, e) {
|
|
|
10599
10606
|
var V = Tt(), $ = pt(V);
|
|
10600
10607
|
{
|
|
10601
10608
|
var P = (Y) => {
|
|
10602
|
-
var ne =
|
|
10609
|
+
var ne = Kg(), $e = pt(ne);
|
|
10603
10610
|
ao($e, {
|
|
10604
10611
|
newChat: fe,
|
|
10605
10612
|
get showHistory() {
|
|
@@ -10823,7 +10830,7 @@ function oo(t, e) {
|
|
|
10823
10830
|
}
|
|
10824
10831
|
var Me = O(et, 2);
|
|
10825
10832
|
Me.__click = [
|
|
10826
|
-
|
|
10833
|
+
Zg,
|
|
10827
10834
|
A,
|
|
10828
10835
|
fe,
|
|
10829
10836
|
le,
|
|
@@ -10834,16 +10841,16 @@ function oo(t, e) {
|
|
|
10834
10841
|
var We = O(Me, 2);
|
|
10835
10842
|
{
|
|
10836
10843
|
var Ye = (B) => {
|
|
10837
|
-
var H =
|
|
10838
|
-
X.__click = [
|
|
10844
|
+
var H = sm(), X = z(H);
|
|
10845
|
+
X.__click = [tm, Le];
|
|
10839
10846
|
var we = O(X, 2), ce = z(we), ae = z(ce, !0);
|
|
10840
10847
|
k(ce);
|
|
10841
10848
|
var je = O(ce, 2);
|
|
10842
|
-
je.__click = [
|
|
10849
|
+
je.__click = [nm, ge], k(we);
|
|
10843
10850
|
var Be = O(we, 2), Ue = z(Be), G = z(Ue, !0);
|
|
10844
10851
|
k(Ue);
|
|
10845
10852
|
var V = O(Ue, 2);
|
|
10846
|
-
V.__click = [
|
|
10853
|
+
V.__click = [rm, ge], k(Be), k(H), F(
|
|
10847
10854
|
($, P) => {
|
|
10848
10855
|
re(H, "visible", f(Le)), N(X, "aria-label", f(Le) ? "unpin forge buttons" : "pin forge buttons"), re(X, "pinned", f(Le)), _e(ae, $), _e(G, P);
|
|
10849
10856
|
},
|
|
@@ -10861,17 +10868,17 @@ function oo(t, e) {
|
|
|
10861
10868
|
(B) => {
|
|
10862
10869
|
nt(Me, `${`btn ${f(n) ? "aks-btn-answer" : "btn-primary"}` ?? ""} svelte-1uxkxb0`), _e(tt, B);
|
|
10863
10870
|
},
|
|
10864
|
-
[() => /* @__PURE__ */
|
|
10871
|
+
[() => /* @__PURE__ */ ju()]
|
|
10865
10872
|
), T(t, Fe), ie();
|
|
10866
10873
|
}
|
|
10867
10874
|
nn(["mousedown", "click"]);
|
|
10868
10875
|
oe(oo, {}, [], [], !0);
|
|
10869
|
-
function
|
|
10876
|
+
function om(t, e) {
|
|
10870
10877
|
se(e, !0);
|
|
10871
10878
|
let n = g(e, "envId", 23, () => {
|
|
10872
10879
|
}), r = g(e, "token", 23, () => {
|
|
10873
10880
|
}), s = g(e, "lang", 7, "it");
|
|
10874
|
-
return document.cookie = `akb-chat-envid=${n()}`, document.cookie = `akb-chat-token=${r()}`, Kl(
|
|
10881
|
+
return document.cookie = `akb-chat-envid=${n()}`, document.cookie = `akb-chat-token=${r()}`, Kl(nh(s())), oo(t, {}), ie({
|
|
10875
10882
|
get envId() {
|
|
10876
10883
|
return n();
|
|
10877
10884
|
},
|
|
@@ -10893,7 +10900,7 @@ function sm(t, e) {
|
|
|
10893
10900
|
});
|
|
10894
10901
|
}
|
|
10895
10902
|
customElements.define("akb-chat", oe(
|
|
10896
|
-
|
|
10903
|
+
om,
|
|
10897
10904
|
{
|
|
10898
10905
|
token: {
|
|
10899
10906
|
attribute: "aks-token",
|
|
@@ -10916,5 +10923,5 @@ customElements.define("akb-chat", oe(
|
|
|
10916
10923
|
!1
|
|
10917
10924
|
));
|
|
10918
10925
|
export {
|
|
10919
|
-
|
|
10926
|
+
om as ChatComponent
|
|
10920
10927
|
};
|