From 1ea6326bf481026f23edea969a65308d1c8ceb59 Mon Sep 17 00:00:00 2001 From: bach Date: Tue, 1 Dec 2026 21:11:30 +0100 Subject: [PATCH] recherche full texte --- config/sync/search_api.index.contenu.yml | 315 ++++++++++++++++++ .../search_api.server.base_de_donnees.yml | 18 + config/sync/views.view.recherche.yml | 229 +++++++++++++ web/themes/custom/leshed/assets/dist/main.css | 2 +- web/themes/custom/leshed/assets/dist/main.js | 2 +- .../custom/leshed/assets/dist/sentry.js | 24 +- web/themes/custom/leshed/assets/js/main.js | 3 + .../custom/leshed/assets/scss/main.scss | 2 + .../assets/scss/partials/global/_header.scss | 10 + .../scss/partials/global/_search-form.scss | 65 ++++ .../scss/partials/pages/_recherche.scss | 98 ++++++ web/themes/custom/leshed/leshed.theme | 17 + .../templates/region--header-right.html.twig | 4 +- .../leshed/templates/search-form.html.twig | 16 + .../leshed/templates/search-icon.html.twig | 1 + .../views-view--recherche--page-1.html.twig | 42 +++ 16 files changed, 833 insertions(+), 15 deletions(-) create mode 100644 config/sync/search_api.index.contenu.yml create mode 100644 config/sync/search_api.server.base_de_donnees.yml create mode 100644 config/sync/views.view.recherche.yml create mode 100644 web/themes/custom/leshed/assets/scss/partials/global/_search-form.scss create mode 100644 web/themes/custom/leshed/assets/scss/partials/pages/_recherche.scss create mode 100644 web/themes/custom/leshed/templates/search-form.html.twig create mode 100644 web/themes/custom/leshed/templates/search-icon.html.twig create mode 100644 web/themes/custom/leshed/templates/views/views-view--recherche--page-1.html.twig diff --git a/config/sync/search_api.index.contenu.yml b/config/sync/search_api.index.contenu.yml new file mode 100644 index 0000000..0f18c99 --- /dev/null +++ b/config/sync/search_api.index.contenu.yml @@ -0,0 +1,315 @@ +uuid: f0aef62b-1654-481b-9951-b41d088053c9 +langcode: fr +status: true +dependencies: + config: + - search_api.server.base_de_donnees + module: + - node + - search_api +id: contenu +name: Contenu +description: 'Projets et événements, avec les personnes, lieux, partenaires et types qui y sont liés.' +read_only: false +field_settings: + accompagnants: + label: 'Accompagné·e(s) par' + datasource_id: 'entity:node' + property_path: 'field_invite_accompagne_curate_p:entity:title' + type: text + boost: 3.0 + accompagnants_bio: + label: 'Accompagné·e(s) par : biographie' + datasource_id: 'entity:node' + property_path: 'field_invite_accompagne_curate_p:entity:body' + type: text + boost: 0.3 + artistes: + label: 'Artiste(s) invité(s)' + datasource_id: 'entity:node' + property_path: 'field_artiste_s_invite_s:entity:title' + type: text + boost: 3.0 + artistes_bio: + label: 'Artiste(s) invité(s) : biographie' + datasource_id: 'entity:node' + property_path: 'field_artiste_s_invite_s:entity:body' + type: text + boost: 0.3 + body: + label: Texte + datasource_id: 'entity:node' + property_path: body + type: text + evenements_lies: + label: 'Événement(s) lié(s)' + datasource_id: 'entity:node' + property_path: 'field_evenement_s_lie_s:entity:title' + type: text + infos_pratiques: + label: 'Infos pratiques' + datasource_id: 'entity:node' + property_path: field_infos_pratiques + type: text + language_with_fallback: + label: 'Langue (avec repli)' + property_path: language_with_fallback + type: string + lieu: + label: Lieu + datasource_id: 'entity:node' + property_path: 'field_lieu:entity:title' + type: text + boost: 2.0 + lieu_ville: + label: 'Lieu : ville' + datasource_id: 'entity:node' + property_path: 'field_lieu:entity:field_address:locality' + type: text + boost: 2.0 + partenaires: + label: Partenaire(s) + datasource_id: 'entity:node' + property_path: 'field_partenaire_s:entity:title' + type: text + boost: 2.0 + projets_lies: + label: 'Projet(s) lié(s)' + datasource_id: 'entity:node' + property_path: 'field_projet_s_lie_s:entity:title' + type: text + status: + label: Publié + datasource_id: 'entity:node' + property_path: status + type: boolean + indexed_locked: true + type_locked: true + title: + label: Titre + datasource_id: 'entity:node' + property_path: title + type: text + boost: 8.0 + type: + label: 'Type de contenu' + datasource_id: 'entity:node' + property_path: type + type: string + type_d_evenement: + label: "Type d'événement" + datasource_id: 'entity:node' + property_path: 'field_type_d_evenement:entity:name' + type: text + boost: 2.0 + type_de_projet: + label: 'Type de projet' + datasource_id: 'entity:node' + property_path: 'field_type_de_projet:entity:name' + type: text + boost: 2.0 +datasource_settings: + 'entity:node': + bundles: + default: false + selected: + - evenement + - projet + languages: + default: true + selected: { } +processor_settings: + add_url: { } + aggregated_field: { } + entity_status: { } + entity_type: { } + html_filter: + weights: + preprocess_index: -15 + preprocess_query: -15 + all_fields: false + fields: + - accompagnants_bio + - artistes_bio + - body + - infos_pratiques + title: false + alt: false + tags: + b: 2.0 + h2: 3.0 + h3: 2.0 + strong: 2.0 + ignorecase: + weights: + preprocess_index: -20 + preprocess_query: -20 + all_fields: true + fields: + - accompagnants + - accompagnants_bio + - artistes + - artistes_bio + - body + - evenements_lies + - infos_pratiques + - lieu + - lieu_ville + - partenaires + - projets_lies + - title + - type_d_evenement + - type_de_projet + language_with_fallback: { } + stopwords: + weights: + preprocess_index: -5 + preprocess_query: -2 + all_fields: true + fields: + - accompagnants + - accompagnants_bio + - artistes + - artistes_bio + - body + - evenements_lies + - infos_pratiques + - lieu + - lieu_ville + - partenaires + - projets_lies + - title + - type_d_evenement + - type_de_projet + stopwords: + - a + - an + - and + - au + - aux + - avec + - c + - ce + - ces + - d + - dans + - de + - des + - du + - elle + - en + - est + - et + - eux + - for + - il + - in + - j + - je + - l + - la + - le + - les + - leur + - lui + - m + - ma + - mais + - me + - mes + - moi + - mon + - même + - 'n' + - ne + - nos + - notre + - nous + - of + - 'on' + - 'on' + - ou + - par + - pas + - pour + - qu + - que + - qui + - s + - sa + - se + - ses + - son + - sont + - sur + - t + - ta + - te + - tes + - the + - to + - toi + - ton + - tu + - un + - une + - vos + - votre + - vous + - with + - 'y' + - été + - être + tokenizer: + weights: + preprocess_index: -6 + preprocess_query: -6 + all_fields: true + fields: + - accompagnants + - accompagnants_bio + - artistes + - artistes_bio + - body + - evenements_lies + - infos_pratiques + - lieu + - lieu_ville + - partenaires + - projets_lies + - title + - type_d_evenement + - type_de_projet + spaces: '' + ignored: ._- + overlap_cjk: 1 + minimum_word_size: '2' + transliteration: + weights: + preprocess_index: -20 + preprocess_query: -20 + all_fields: true + fields: + - accompagnants + - accompagnants_bio + - artistes + - artistes_bio + - body + - evenements_lies + - infos_pratiques + - lieu + - lieu_ville + - partenaires + - projets_lies + - title + - type_d_evenement + - type_de_projet +tracker_settings: + default: + indexing_order: fifo +options: + cron_limit: 50 + delete_on_fail: true + index_directly: true + track_changes_in_references: true +server: base_de_donnees diff --git a/config/sync/search_api.server.base_de_donnees.yml b/config/sync/search_api.server.base_de_donnees.yml new file mode 100644 index 0000000..dbc6e7c --- /dev/null +++ b/config/sync/search_api.server.base_de_donnees.yml @@ -0,0 +1,18 @@ +uuid: e46c37b4-c965-47d3-82e7-7823b2a09545 +langcode: fr +status: true +dependencies: + module: + - search_api_db +id: base_de_donnees +name: 'Base de données' +description: 'Recherche plein texte du site, stockée dans MariaDB.' +backend: search_api_db +backend_config: + database: 'default:default' + min_chars: 2 + matching: partial + phrase: bigram + autocomplete: + suggest_suffix: true + suggest_words: true diff --git a/config/sync/views.view.recherche.yml b/config/sync/views.view.recherche.yml new file mode 100644 index 0000000..bb294e2 --- /dev/null +++ b/config/sync/views.view.recherche.yml @@ -0,0 +1,229 @@ +uuid: e13e2f8f-827c-4fd1-b801-25eb51391d5d +langcode: fr +status: true +dependencies: + config: + - core.entity_view_mode.node.teaser + - search_api.index.contenu + module: + - search_api +id: recherche +label: Recherche +module: views +description: 'Résultats de la recherche plein texte (projets et événements).' +tag: '' +base_table: search_api_index_contenu +base_field: search_api_id +display: + default: + id: default + display_title: Default + display_plugin: default + position: 0 + display_options: + title: Recherche + pager: + type: full + options: + offset: 0 + items_per_page: 24 + total_pages: null + id: 0 + tags: + next: › + previous: ‹ + first: « + last: » + expose: + items_per_page: false + items_per_page_label: 'Éléments par page' + items_per_page_options: '5, 10, 25, 50' + items_per_page_options_all: false + items_per_page_options_all_label: '- Tout -' + offset: false + offset_label: Décalage + quantity: 9 + exposed_form: + type: input_required + options: + submit_button: Rechercher + reset_button: false + reset_button_label: Réinitialiser + exposed_sorts_label: 'Trier par' + expose_sort_order: false + sort_asc_label: Asc + sort_desc_label: Desc + text_input_required: '' + text_input_required_format: plain_text + access: + type: perm + options: + perm: 'access content' + cache: + type: search_api_tag + options: { } + empty: + area_text_custom: + id: area_text_custom + table: views + field: area_text_custom + relationship: none + group_type: group + admin_label: '' + plugin_id: text_custom + empty: true + content: 'Aucun résultat.' + tokenize: false + sorts: + search_api_relevance: + id: search_api_relevance + table: search_api_index_contenu + field: search_api_relevance + relationship: none + group_type: group + admin_label: '' + plugin_id: search_api + order: DESC + expose: + label: '' + field_identifier: '' + exposed: false + arguments: { } + filters: + search_api_fulltext: + id: search_api_fulltext + table: search_api_index_contenu + field: search_api_fulltext + relationship: none + group_type: group + admin_label: '' + plugin_id: search_api_fulltext + operator: and + value: '' + group: 1 + exposed: true + expose: + operator_id: search_api_fulltext_op + label: Rechercher + description: '' + use_operator: false + operator: search_api_fulltext_op + operator_limit_selection: false + operator_list: { } + identifier: search + required: false + remember: false + multiple: false + remember_roles: + authenticated: authenticated + placeholder: 'Rechercher sur le site…' + is_grouped: false + group_info: + label: '' + description: '' + identifier: '' + optional: true + widget: select + multiple: false + remember: false + default_group: All + default_group_multiple: { } + group_items: { } + parse_mode: terms + min_length: 2 + fields: { } + language_with_fallback: + id: language_with_fallback + table: search_api_index_contenu + field: language_with_fallback + relationship: none + group_type: group + admin_label: '' + plugin_id: search_api_language + operator: in + value: + '***LANGUAGE_language_content***': '***LANGUAGE_language_content***' + group: 1 + exposed: false + expose: + operator_id: '' + label: '' + description: '' + use_operator: false + operator: '' + operator_limit_selection: false + operator_list: { } + identifier: '' + required: false + remember: false + multiple: false + remember_roles: + authenticated: authenticated + reduce: false + is_grouped: false + group_info: + label: '' + description: '' + identifier: '' + optional: true + widget: select + multiple: false + remember: false + default_group: All + default_group_multiple: { } + group_items: { } + reduce_duplicates: false + style: + type: default + row: + type: search_api + options: + view_modes: + 'entity:node': + evenement: teaser + projet: teaser + query: + type: search_api_query + options: + bypass_access: false + skip_access: false + preserve_facet_query_args: false + query_tags: { } + relationships: { } + css_class: views-recherche + header: { } + footer: { } + rendering_language: '***LANGUAGE_entity_translation***' + display_extenders: { } + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - url + - url.query_args + - 'user.node_grants:view' + - user.permissions + tags: + - 'config:search_api.index.contenu' + - 'search_api_list:contenu' + page_1: + id: page_1 + display_title: Page + display_plugin: page + position: 1 + display_options: + display_extenders: { } + path: recherche + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - url + - url.query_args + - 'user.node_grants:view' + - user.permissions + tags: + - 'config:search_api.index.contenu' + - 'search_api_list:contenu' diff --git a/web/themes/custom/leshed/assets/dist/main.css b/web/themes/custom/leshed/assets/dist/main.css index 3e0e36d..a30f037 100644 --- a/web/themes/custom/leshed/assets/dist/main.css +++ b/web/themes/custom/leshed/assets/dist/main.css @@ -1 +1 @@ -@font-face{font-family:Epilogue;src:url(./fonts/Epilogue-Italic-VariableFont_wght.ttf) format("truetype");src:url(./fonts/Epilogue-Italic-VariableFont_wght.ttf) format("truetype") tech(variations);font-weight:100 900;font-style:italic;font-display:block}@font-face{font-family:Epilogue;src:url(./fonts/Epilogue-VariableFont_wght.ttf) format("truetype");src:url(./fonts/Epilogue-VariableFont_wght.ttf) format("truetype") tech(variations);font-weight:100 900;font-style:normal;font-display:block}body{font-family:Epilogue;font-weight:400;font-style:normal}:root{--bp-mobile: 432px;--bp-tablette: 768px;--bp-desktop: 1024px}a,a:visited{text-decoration:none;color:inherit;transition:color .15s ease-out}body{margin:0;font-weight:200;line-height:1.5}form#user-login-form input{box-sizing:border-box;max-width:100%}div.layout-container{display:flex;flex-direction:column;height:100vh;overflow:hidden;max-width:1080px;margin:0 auto;padding:0 clamp(.75rem,1.4388489209vw,1rem)}div.layout-container header[role=banner]{display:block;position:relative;padding:.5em 0;flex:0 1 clamp(3.75rem,6.2949640288vw,4.375rem);z-index:100;height:clamp(3.75rem,6.2949640288vw,4.375rem);min-height:clamp(3.75rem,6.2949640288vw,4.375rem)}div.layout-container main[role=main]{flex:1 1 auto;overflow-y:scroll}header[role=banner]{background-color:#fff}header[role=banner] .header-middle{display:flex;justify-content:space-between;align-items:center;padding:.2em 0}header[role=banner] .header-middle .header-left{flex:1 1 auto}header[role=banner] .header-middle .header-center{flex:0 1 auto}header[role=banner] .header-middle .header-rigth{flex:0 0 auto}header[role=banner] #block-leshed-identitedusite{display:flex;flex-direction:row;align-items:center}header[role=banner] #block-leshed-identitedusite>a:first-child{flex:content;flex:0 0 3.5em;text-decoration:none;font-size:2em;font-weight:500;margin-right:.5em}header[role=banner] #block-leshed-identitedusite div.site-slogan{flex:1 1 auto;line-height:1}header[role=banner] .header-right{height:20px;width:20px;cursor:pointer}header[role=banner] .header-right>div#burger-btn{position:relative;transition-duration:.5s;transition-property:transform;top:8.5px}header[role=banner] .header-right>div#burger-btn,header[role=banner] .header-right>div#burger-btn:before,header[role=banner] .header-right>div#burger-btn:after{width:20px;height:3px;background-color:#000}header[role=banner] .header-right>div#burger-btn:before,header[role=banner] .header-right>div#burger-btn:after{content:"";position:absolute;left:0}header[role=banner] .header-right>div#burger-btn:before{top:6px}header[role=banner] .header-right>div#burger-btn:after{bottom:6px}header[role=banner] .header-right>div#burger-btn[opened]{transform:rotate(90deg)}header[role=banner] .header-right>div.wrapper{position:fixed;top:clamp(3.75rem,6.2949640288vw,4.375rem);left:0;box-sizing:border-box;width:100vw;padding-inline:max(0px,(100vw - 1080px) / 2);background-color:#ffffff80;-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px);height:0;overflow:hidden;transition-duration:.5s}header[role=banner] .header-right>div.wrapper[opened]{height:calc(100vh - clamp(3.75rem,6.2949640288vw,4.375rem))}header[role=banner] .header-right>div.wrapper>div.inner-wrapper{padding:0 clamp(.75rem,1.4388489209vw,1rem);display:grid;grid-template-columns:minmax(0,1fr) minmax(16rem,1fr);grid-template-rows:auto auto 1fr;column-gap:clamp(1.5rem,2.8776978417vw,2rem);align-items:start}header[role=banner] .header-right>div.wrapper>div.inner-wrapper>*{grid-column:1}header[role=banner] .header-right>div.wrapper>div.inner-wrapper>div#block-leshed-config-pages{grid-column:2;grid-row:1/-1}@media (max-width: 767.98px){header[role=banner] .header-right>div.wrapper>div.inner-wrapper{grid-template-columns:minmax(0,1fr);grid-template-rows:none}header[role=banner] .header-right>div.wrapper>div.inner-wrapper>div#block-leshed-config-pages{grid-column:1;grid-row:auto}}header[role=banner] .header-right>div.wrapper nav#block-leshed-navigationprincipale{padding-top:10px}header[role=banner] .header-right>div.wrapper nav#block-leshed-navigationprincipale>ul{margin:0;padding:0}header[role=banner] .header-right>div.wrapper nav#block-leshed-navigationprincipale>ul li{list-style:none}header[role=banner] .header-right>div.wrapper nav#block-leshed-navigationprincipale>ul li a{font-size:4em;font-weight:200;text-transform:lowercase;filter:drop-shadow(0 0 2px #fff) drop-shadow(0 0 5px #fff) drop-shadow(0 0 15px #fff);display:inline-block;transform-origin:left;transition:all .4s ease-in-out}header[role=banner] .header-right>div.wrapper nav#block-leshed-navigationprincipale>ul li a:hover{transform:scale(1.1);transition:all .2s ease-in-out}header[role=banner] .header-right>div.wrapper div#block-leshed-selecteurdelangue ul{margin:0;padding:0}header[role=banner] .header-right>div.wrapper div#block-leshed-selecteurdelangue ul li{list-style:none;padding:0;display:inline-block;font-size:2em}header[role=banner] .header-right>div.wrapper div#block-leshed-selecteurdelangue ul li:first-child:after{content:" /";font-weight:200}header[role=banner] .header-right>div.wrapper div#block-leshed-selecteurdelangue ul li:last-child{padding-left:.3em}header[role=banner] .header-right>div.wrapper div#block-leshed-selecteurdelangue ul li.is-active a{font-weight:400;text-decoration:underline}.splitting span.word,.splitting span.char{display:inline}.variable-title{margin:0;font-weight:200;text-transform:lowercase;line-height:1;filter:drop-shadow(0 0 5px #fff) drop-shadow(0 0 15px #fff)}.variable-title span.word span.char{letter-spacing:-.1em}.variable-title:not(.splitting){margin:0;font-weight:200;text-transform:lowercase;line-height:1;letter-spacing:-.1em}@media (scripting: enabled){.variable-title:not(.is-ready){visibility:hidden;animation:leshed-title-failsafe 0s 3s forwards}}@keyframes leshed-title-failsafe{to{visibility:visible}}div#block-leshed-titredelapage h1{font-size:1em;font-weight:200;margin:0}div.layout.layout--twocol-section--50-50.layout--twocol-section{flex-wrap:nowrap;align-items:flex-start;column-gap:clamp(1.5rem,2.8776978417vw,2rem)}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region{max-width:calc(50% - (clamp(1.5rem,2.8776978417vw,2rem)/2));flex:1 0 calc(50% - (clamp(1.5rem,2.8776978417vw,2rem)/2))}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row{margin-bottom:2em;max-width:100%}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-projet>header>h2{font-size:clamp(3.78rem,7.1942446043vw,5rem)}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-projet .field_artiste_s_invite_s{font-size:clamp(1.323rem,2.5899280576vw,1.8rem);font-weight:300}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-projet .field_type_d_evenement,div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-projet .field_type_de_projet{font-weight:400}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-projet.has-image>header>h2{position:relative;max-height:1em;overflow:visible;z-index:10}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-projet.has-image>header>h2[data-overflow-lines="1"]{max-height:1em}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-projet.has-image>header>h2[data-overflow-lines="2"]{max-height:2em}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-projet.has-image>header>h2[data-overflow-lines="3"]{max-height:3em}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-projet.has-image>header>h2[data-overflow-lines="4"]{max-height:4em}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-projet.has-image>header>h2[data-overflow-lines="5"]{max-height:5em}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-projet.has-image>header>h2[data-overflow-lines="6"]{max-height:6em}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-projet.has-image>header>h2[data-overflow-lines="7"]{max-height:7em}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-projet.has-image>header>h2[data-overflow-lines="8"]{max-height:8em}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-projet.has-image>header>h2[data-overflow-lines="9"]{max-height:9em}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-projet.has-image>header>h2[data-overflow-lines="10"]{max-height:10em}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-projet.has-image>header div.field_images{position:relative;z-index:5}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-projet.has-image>header div.field_images a{display:block}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-projet.has-image>header div.field_images a img{width:100%;height:auto}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-projet div.field_artiste_s_invite_s.field-items.multiple .field-item{display:inline-block}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-projet div.field_artiste_s_invite_s.field-items.multiple .field-item:not(:last-of-type):after{content:", "}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-evenement>header>h2{font-size:clamp(3.78rem,7.1942446043vw,5rem)}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-evenement .field_artiste_s_invite_s{font-size:clamp(1.323rem,2.5899280576vw,1.8rem);font-weight:300}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-evenement .field_type_d_evenement,div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-evenement .field_type_de_projet{font-weight:400}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-evenement.has-image>header>h2{position:relative;max-height:1em;overflow:visible;z-index:10}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-evenement.has-image>header>h2[data-overflow-lines="1"]{max-height:1em}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-evenement.has-image>header>h2[data-overflow-lines="2"]{max-height:2em}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-evenement.has-image>header>h2[data-overflow-lines="3"]{max-height:3em}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-evenement.has-image>header>h2[data-overflow-lines="4"]{max-height:4em}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-evenement.has-image>header>h2[data-overflow-lines="5"]{max-height:5em}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-evenement.has-image>header>h2[data-overflow-lines="6"]{max-height:6em}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-evenement.has-image>header>h2[data-overflow-lines="7"]{max-height:7em}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-evenement.has-image>header>h2[data-overflow-lines="8"]{max-height:8em}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-evenement.has-image>header>h2[data-overflow-lines="9"]{max-height:9em}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-evenement.has-image>header>h2[data-overflow-lines="10"]{max-height:10em}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-evenement.has-image>header div.field_images{position:relative;z-index:5}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-evenement.has-image>header div.field_images a{display:block}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-evenement.has-image>header div.field_images a img{width:100%;height:auto}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-evenement>header .field_dates{font-size:clamp(1.512rem,4.3165467626vw,3rem);line-height:1;letter-spacing:-.1em}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-evenement>header .field_dates time span.date-part:not(:last-child):after{content:"."}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-evenement>header .field_dates time span.date-day{font-weight:100}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-evenement>header .field_dates time span.date-month{font-weight:300}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-evenement>header .field_dates time span.date-year{font-weight:500}@media (max-width: 431.98px){div.layout.layout--twocol-section--50-50.layout--twocol-section{display:block}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region{max-width:100%}}article.node-type-static.view-mode-full div.cols div.col.left{z-index:10}article.node-type-static.view-mode-full div.cols div.col.left>header>h2.node-title{position:relative;margin:0}article.node-type-static.view-mode-full div.cols div.col.left>header>h2.node-title.leshed-svg-export-target{pointer-events:painted}article.node-type-static.view-mode-full div.cols div.col.left .field{margin-bottom:1rem}article.node-type-static.view-mode-full div.cols div.col.left .field .field-item{font-weight:400}article.node-type-static.view-mode-full div.cols div.col.left .field_artiste_s_invite_s{font-size:clamp(1.134rem,2.5899280576vw,1.8rem)}article.node-type-static.view-mode-full div.cols div.col.left .field_artiste_s_invite_s .field-item{font-weight:300;display:inline-block}article.node-type-static.view-mode-full div.cols div.col.left .field_artiste_s_invite_s .field-item:not(:last-child):after{content:", "}article.node-type-static.view-mode-full div.cols div.col.left .field_invite_accompagne_curate_p,article.node-type-static.view-mode-full div.cols div.col.left .field_partenaire_s{font-weight:400}article.node-type-static.view-mode-full div.cols div.col.left .field_invite_accompagne_curate_p .field-label,article.node-type-static.view-mode-full div.cols div.col.left .field_partenaire_s .field-label{font-weight:200}article.node-type-static.view-mode-full div.cols div.col.left div.field_type_de_projet:has(+div.field_dates){margin-bottom:0}article.node-type-static.view-mode-full div.cols div.col.left .field_dates time{font-weight:400}article.node-type-static.view-mode-full div.cols div.col.left .field_infos_pratiques p{margin:0 0 .5em}article.node-type-static.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple{display:flex;flex-direction:row;flex-wrap:wrap;gap:clamp(1.5rem,2.8776978417vw,2rem)}article.node-type-static.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item{flex:1 0 calc(50% - (clamp(1.5rem,2.8776978417vw,2rem)/2));max-width:calc(50% - (clamp(1.5rem,2.8776978417vw,2rem)/2))}article.node-type-static.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article>header>h2{font-size:clamp(3.78rem,7.1942446043vw,5rem)}article.node-type-static.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article .field_artiste_s_invite_s{font-size:clamp(1.323rem,2.5899280576vw,1.8rem);font-weight:300}article.node-type-static.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article .field_type_d_evenement,article.node-type-static.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article .field_type_de_projet{font-weight:400}article.node-type-static.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2{position:relative;max-height:1em;overflow:visible;z-index:10}article.node-type-static.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="1"]{max-height:1em}article.node-type-static.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="2"]{max-height:2em}article.node-type-static.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="3"]{max-height:3em}article.node-type-static.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="4"]{max-height:4em}article.node-type-static.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="5"]{max-height:5em}article.node-type-static.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="6"]{max-height:6em}article.node-type-static.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="7"]{max-height:7em}article.node-type-static.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="8"]{max-height:8em}article.node-type-static.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="9"]{max-height:9em}article.node-type-static.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="10"]{max-height:10em}article.node-type-static.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header div.field_images{position:relative;z-index:5}article.node-type-static.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header div.field_images a{display:block}article.node-type-static.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header div.field_images a img{width:100%;height:auto}article.node-type-static.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article div.field_artiste_s_invite_s.field-items.multiple .field-item{display:inline-block}article.node-type-static.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article div.field_artiste_s_invite_s.field-items.multiple .field-item:not(:last-of-type):after{content:", "}article.node-type-static.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article>header>h2{font-size:3em}article.node-type-static.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article .field_artiste_s_invite_s{font-size:1.134em}article.node-type-static.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier{border-top:1px solid #ccc;padding:2em 0 1em}article.node-type-static.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates{display:flex;position:relative;line-height:1;letter-spacing:-.1em;--ref: clamp(2.3333333333rem, 5.035971223vw, 3.5rem)}article.node-type-static.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates time{position:relative;display:grid;grid-template-columns:var(--ref) calc(var(--ref) * 7 / 18);grid-template-rows:calc(var(--ref) / 2.3) calc(var(--ref) / 2.3);grid-template-areas:"day month" "day year"}article.node-type-static.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates time span.date-day{grid-area:day;font-size:var(--ref);font-weight:100;font-style:italic}article.node-type-static.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates time span.date-month{grid-area:month;align-self:end;font-weight:400}article.node-type-static.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates time span.date-year{grid-area:year;align-self:end;font-weight:700}article.node-type-static.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates time span.date-month,article.node-type-static.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates time span.date-year{font-size:calc(var(--ref) / 2.45)}article.node-type-static.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates span.date-sep{font-size:calc(var(--ref) / 2);padding:0 .2em}article.node-type-static.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates span.date-sep{display:block;width:1em;height:0;overflow:visible;transform:translate(.1em);padding:0}article.node-type-static.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.content h2.node-title{font-size:3em}article.node-type-static.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.content div.field_artiste_s_invite_s{font-size:clamp(1.134rem,2.5899280576vw,1.8rem)}article.node-type-static.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.content div.field_artiste_s_invite_s .field-item{display:inline-block}article.node-type-static.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.content div.field_artiste_s_invite_s .field-item:not(:last-child):after{content:", "}article.node-type-static.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.content div.field_type_d_evenement .field-item{font-weight:400}article.node-type-static.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.last-cel .field_images a{display:block;width:100%;height:12em;overflow:hidden}article.node-type-static.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.last-cel .field_images a img{width:100%;height:100%;object-fit:cover;object-position:center}@media (min-width: 768px){article.node-type-static.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier{display:flex;flex-direction:row;gap:1em}article.node-type-static.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header{flex:0 1 auto;padding:0 1em 0 0}article.node-type-static.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates{flex-direction:column;align-items:center;gap:.6em}article.node-type-static.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates span.date-sep{transform-origin:center;transform:rotate(90deg) translate(.1em);line-height:0;padding:0}article.node-type-static.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.content{flex:1 1 auto}article.node-type-static.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.last-cel{flex:0 1 auto}article.node-type-static.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.last-cel .field_images a{width:12em;height:12em}article.node-type-static.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.last-cel .field_images a img{object-fit:contain;object-position:top right}}article.node-type-static.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier>section.content>h2.node-title{font-size:2.68em}article.node-type-static.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier>section.content div.field{margin:0}article.node-type-static.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier>section.content div.field p{margin:0}article.node-type-static.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier>section.last-cel{display:none}article.node-type-static.view-mode-full div.cols div.col.left>div.spacer{display:block;height:5em}article.node-type-static.view-mode-full div.cols div.col.right .field_images .field-item{position:relative;margin-bottom:1em}article.node-type-static.view-mode-full div.cols div.col.right .field_images .field-item figure{margin:0}article.node-type-static.view-mode-full div.cols div.col.right .field_images .field-item figure a{display:block;line-height:0}article.node-type-static.view-mode-full div.cols div.col.right .field_images .field-item figure a img{width:100%;max-width:100%;height:auto}article.node-type-static.view-mode-full div.cols div.col.right .field_images .field-item figure figcaption.image-field-caption{margin:0;display:block}article.node-type-static.view-mode-full div.cols div.col.right .field_images .field-item figure figcaption.image-field-caption blockquote{width:100%;margin:0;background-color:#1e1e1e;color:#fff;pointer-events:none}article.node-type-static.view-mode-full div.cols div.col.right .field_images .field-item figure figcaption.image-field-caption blockquote p{margin:0;padding:1em;font-weight:300;font-size:.8em}article.node-type-static.view-mode-full div.cols div.col.right .field_images .field-item:hover{z-index:200}@media (min-width: 768px){article.node-type-static.view-mode-full div.cols{display:flex;flex-direction:row;gap:clamp(1.5rem,2.8776978417vw,2rem);align-items:flex-start}article.node-type-static.view-mode-full div.cols div.col{flex:0 0 calc(50% - (clamp(1.5rem,2.8776978417vw,2rem)/2));max-width:calc(50% - (clamp(1.5rem,2.8776978417vw,2rem)/2))}article.node-type-static.view-mode-full div.cols div.col.left>header{transform-origin:0 0;width:205%;z-index:100;pointer-events:none}article.node-type-static.view-mode-full div.cols div.col.left>header>h2.node-title{font-size:clamp(8rem,17.2661870504vw,12rem)}article.node-type-static.view-mode-full div.cols div.col.right{display:flex}article.node-type-static.view-mode-full div.cols div.col.right .field_images{flex:1}article.node-type-static.view-mode-full div.cols div.col.right .field_images:after{display:block;position:relative;content:"";width:100%;height:var(--sticky-extent, 100vh)}article.node-type-static.view-mode-full div.cols div.col.right .field_images .field-item{position:sticky;top:0}article.node-type-static.view-mode-full div.cols div.col.right .field_images .field-item figure figcaption.image-field-caption{position:absolute;bottom:0;left:0;height:5em;width:100%;overflow:visible}article.node-type-static.view-mode-full div.cols div.col.right .field_images .field-item figure figcaption.image-field-caption blockquote{position:absolute;bottom:0;left:0;opacity:0;transition:opacity .3s ease-in-out;background-color:#000000a6}article.node-type-static.view-mode-full div.cols div.col.right .field_images .field-item figure figcaption.image-field-caption:hover blockquote{opacity:1}}@media (max-width: 767.98px){article.node-type-static.view-mode-full div.cols{display:flex;flex-direction:column}article.node-type-static.view-mode-full div.cols div.col,article.node-type-static.view-mode-full div.cols div.col.right .field_images{display:contents}article.node-type-static.view-mode-full div.cols div.col.left>header{order:1}article.node-type-static.view-mode-full div.cols div.col.right .field_images .field-item:first-child{order:2}article.node-type-static.view-mode-full div.cols div.col.left>:not(header):not(.spacer){order:3}article.node-type-static.view-mode-full div.cols div.col.right .field_images .field-item:not(:first-child){order:5}article.node-type-static.view-mode-full div.cols div.col.left>div.field_fichiers{order:6}article.node-type-static.view-mode-full div.cols div.col.left>div.field_partenaire_s{order:7}article.node-type-static.view-mode-full div.cols div.col.left>div.field_evenement_s_lie_s{order:8}article.node-type-static.view-mode-full div.cols div.col.left>div.field_projet_s_lie_s{order:9}article.node-type-static.view-mode-full div.cols div.col.left>div.spacer{order:20}article.node-type-static.view-mode-full div.cols div.col.left>header>h2.node-title{font-size:5em}}article.node-type-projet.view-mode-full div.cols div.col.left{z-index:10}article.node-type-projet.view-mode-full div.cols div.col.left>header>h2.node-title{position:relative;margin:0}article.node-type-projet.view-mode-full div.cols div.col.left>header>h2.node-title.leshed-svg-export-target{pointer-events:painted}article.node-type-projet.view-mode-full div.cols div.col.left .field{margin-bottom:1rem}article.node-type-projet.view-mode-full div.cols div.col.left .field .field-item{font-weight:400}article.node-type-projet.view-mode-full div.cols div.col.left .field_artiste_s_invite_s{font-size:clamp(1.134rem,2.5899280576vw,1.8rem)}article.node-type-projet.view-mode-full div.cols div.col.left .field_artiste_s_invite_s .field-item{font-weight:300;display:inline-block}article.node-type-projet.view-mode-full div.cols div.col.left .field_artiste_s_invite_s .field-item:not(:last-child):after{content:", "}article.node-type-projet.view-mode-full div.cols div.col.left .field_invite_accompagne_curate_p,article.node-type-projet.view-mode-full div.cols div.col.left .field_partenaire_s{font-weight:400}article.node-type-projet.view-mode-full div.cols div.col.left .field_invite_accompagne_curate_p .field-label,article.node-type-projet.view-mode-full div.cols div.col.left .field_partenaire_s .field-label{font-weight:200}article.node-type-projet.view-mode-full div.cols div.col.left div.field_type_de_projet:has(+div.field_dates){margin-bottom:0}article.node-type-projet.view-mode-full div.cols div.col.left .field_dates time{font-weight:400}article.node-type-projet.view-mode-full div.cols div.col.left .field_infos_pratiques p{margin:0 0 .5em}article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple{display:flex;flex-direction:row;flex-wrap:wrap;gap:clamp(1.5rem,2.8776978417vw,2rem)}article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item{flex:1 0 calc(50% - (clamp(1.5rem,2.8776978417vw,2rem)/2));max-width:calc(50% - (clamp(1.5rem,2.8776978417vw,2rem)/2))}article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article>header>h2{font-size:clamp(3.78rem,7.1942446043vw,5rem)}article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article .field_artiste_s_invite_s{font-size:clamp(1.323rem,2.5899280576vw,1.8rem);font-weight:300}article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article .field_type_d_evenement,article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article .field_type_de_projet{font-weight:400}article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2{position:relative;max-height:1em;overflow:visible;z-index:10}article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="1"]{max-height:1em}article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="2"]{max-height:2em}article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="3"]{max-height:3em}article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="4"]{max-height:4em}article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="5"]{max-height:5em}article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="6"]{max-height:6em}article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="7"]{max-height:7em}article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="8"]{max-height:8em}article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="9"]{max-height:9em}article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="10"]{max-height:10em}article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header div.field_images{position:relative;z-index:5}article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header div.field_images a{display:block}article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header div.field_images a img{width:100%;height:auto}article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article div.field_artiste_s_invite_s.field-items.multiple .field-item{display:inline-block}article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article div.field_artiste_s_invite_s.field-items.multiple .field-item:not(:last-of-type):after{content:", "}article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article>header>h2{font-size:3em}article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article .field_artiste_s_invite_s{font-size:1.134em}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier{border-top:1px solid #ccc;padding:2em 0 1em}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates{display:flex;position:relative;line-height:1;letter-spacing:-.1em;--ref: clamp(2.3333333333rem, 5.035971223vw, 3.5rem)}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates time{position:relative;display:grid;grid-template-columns:var(--ref) calc(var(--ref) * 7 / 18);grid-template-rows:calc(var(--ref) / 2.3) calc(var(--ref) / 2.3);grid-template-areas:"day month" "day year"}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates time span.date-day{grid-area:day;font-size:var(--ref);font-weight:100;font-style:italic}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates time span.date-month{grid-area:month;align-self:end;font-weight:400}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates time span.date-year{grid-area:year;align-self:end;font-weight:700}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates time span.date-month,article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates time span.date-year{font-size:calc(var(--ref) / 2.45)}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates span.date-sep{font-size:calc(var(--ref) / 2);padding:0 .2em}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates span.date-sep{display:block;width:1em;height:0;overflow:visible;transform:translate(.1em);padding:0}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.content h2.node-title{font-size:3em}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.content div.field_artiste_s_invite_s{font-size:clamp(1.134rem,2.5899280576vw,1.8rem)}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.content div.field_artiste_s_invite_s .field-item{display:inline-block}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.content div.field_artiste_s_invite_s .field-item:not(:last-child):after{content:", "}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.content div.field_type_d_evenement .field-item{font-weight:400}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.last-cel .field_images a{display:block;width:100%;height:12em;overflow:hidden}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.last-cel .field_images a img{width:100%;height:100%;object-fit:cover;object-position:center}@media (min-width: 768px){article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier{display:flex;flex-direction:row;gap:1em}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header{flex:0 1 auto;padding:0 1em 0 0}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates{flex-direction:column;align-items:center;gap:.6em}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates span.date-sep{transform-origin:center;transform:rotate(90deg) translate(.1em);line-height:0;padding:0}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.content{flex:1 1 auto}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.last-cel{flex:0 1 auto}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.last-cel .field_images a{width:12em;height:12em}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.last-cel .field_images a img{object-fit:contain;object-position:top right}}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier>section.content>h2.node-title{font-size:2.68em}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier>section.content div.field{margin:0}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier>section.content div.field p{margin:0}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier>section.last-cel{display:none}article.node-type-projet.view-mode-full div.cols div.col.left>div.spacer{display:block;height:5em}article.node-type-projet.view-mode-full div.cols div.col.right .field_images .field-item{position:relative;margin-bottom:1em}article.node-type-projet.view-mode-full div.cols div.col.right .field_images .field-item figure{margin:0}article.node-type-projet.view-mode-full div.cols div.col.right .field_images .field-item figure a{display:block;line-height:0}article.node-type-projet.view-mode-full div.cols div.col.right .field_images .field-item figure a img{width:100%;max-width:100%;height:auto}article.node-type-projet.view-mode-full div.cols div.col.right .field_images .field-item figure figcaption.image-field-caption{margin:0;display:block}article.node-type-projet.view-mode-full div.cols div.col.right .field_images .field-item figure figcaption.image-field-caption blockquote{width:100%;margin:0;background-color:#1e1e1e;color:#fff;pointer-events:none}article.node-type-projet.view-mode-full div.cols div.col.right .field_images .field-item figure figcaption.image-field-caption blockquote p{margin:0;padding:1em;font-weight:300;font-size:.8em}article.node-type-projet.view-mode-full div.cols div.col.right .field_images .field-item:hover{z-index:200}@media (min-width: 768px){article.node-type-projet.view-mode-full div.cols{display:flex;flex-direction:row;gap:clamp(1.5rem,2.8776978417vw,2rem);align-items:flex-start}article.node-type-projet.view-mode-full div.cols div.col{flex:0 0 calc(50% - (clamp(1.5rem,2.8776978417vw,2rem)/2));max-width:calc(50% - (clamp(1.5rem,2.8776978417vw,2rem)/2))}article.node-type-projet.view-mode-full div.cols div.col.left>header{transform-origin:0 0;width:205%;z-index:100;pointer-events:none}article.node-type-projet.view-mode-full div.cols div.col.left>header>h2.node-title{font-size:clamp(8rem,17.2661870504vw,12rem)}article.node-type-projet.view-mode-full div.cols div.col.right{display:flex}article.node-type-projet.view-mode-full div.cols div.col.right .field_images{flex:1}article.node-type-projet.view-mode-full div.cols div.col.right .field_images:after{display:block;position:relative;content:"";width:100%;height:var(--sticky-extent, 100vh)}article.node-type-projet.view-mode-full div.cols div.col.right .field_images .field-item{position:sticky;top:0}article.node-type-projet.view-mode-full div.cols div.col.right .field_images .field-item figure figcaption.image-field-caption{position:absolute;bottom:0;left:0;height:5em;width:100%;overflow:visible}article.node-type-projet.view-mode-full div.cols div.col.right .field_images .field-item figure figcaption.image-field-caption blockquote{position:absolute;bottom:0;left:0;opacity:0;transition:opacity .3s ease-in-out;background-color:#000000a6}article.node-type-projet.view-mode-full div.cols div.col.right .field_images .field-item figure figcaption.image-field-caption:hover blockquote{opacity:1}}@media (max-width: 767.98px){article.node-type-projet.view-mode-full div.cols{display:flex;flex-direction:column}article.node-type-projet.view-mode-full div.cols div.col,article.node-type-projet.view-mode-full div.cols div.col.right .field_images{display:contents}article.node-type-projet.view-mode-full div.cols div.col.left>header{order:1}article.node-type-projet.view-mode-full div.cols div.col.right .field_images .field-item:first-child{order:2}article.node-type-projet.view-mode-full div.cols div.col.left>:not(header):not(.spacer){order:3}article.node-type-projet.view-mode-full div.cols div.col.right .field_images .field-item:not(:first-child){order:5}article.node-type-projet.view-mode-full div.cols div.col.left>div.field_fichiers{order:6}article.node-type-projet.view-mode-full div.cols div.col.left>div.field_partenaire_s{order:7}article.node-type-projet.view-mode-full div.cols div.col.left>div.field_evenement_s_lie_s{order:8}article.node-type-projet.view-mode-full div.cols div.col.left>div.field_projet_s_lie_s{order:9}article.node-type-projet.view-mode-full div.cols div.col.left>div.spacer{order:20}article.node-type-projet.view-mode-full div.cols div.col.left>header>h2.node-title{font-size:5em}}article.node-type-evenement.view-mode-full div.cols div.col.left{z-index:10}article.node-type-evenement.view-mode-full div.cols div.col.left>header>h2.node-title{position:relative;margin:0}article.node-type-evenement.view-mode-full div.cols div.col.left>header>h2.node-title.leshed-svg-export-target{pointer-events:painted}article.node-type-evenement.view-mode-full div.cols div.col.left .field{margin-bottom:1rem}article.node-type-evenement.view-mode-full div.cols div.col.left .field .field-item{font-weight:400}article.node-type-evenement.view-mode-full div.cols div.col.left .field_artiste_s_invite_s{font-size:clamp(1.134rem,2.5899280576vw,1.8rem)}article.node-type-evenement.view-mode-full div.cols div.col.left .field_artiste_s_invite_s .field-item{font-weight:300;display:inline-block}article.node-type-evenement.view-mode-full div.cols div.col.left .field_artiste_s_invite_s .field-item:not(:last-child):after{content:", "}article.node-type-evenement.view-mode-full div.cols div.col.left .field_invite_accompagne_curate_p,article.node-type-evenement.view-mode-full div.cols div.col.left .field_partenaire_s{font-weight:400}article.node-type-evenement.view-mode-full div.cols div.col.left .field_invite_accompagne_curate_p .field-label,article.node-type-evenement.view-mode-full div.cols div.col.left .field_partenaire_s .field-label{font-weight:200}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_type_de_projet:has(+div.field_dates){margin-bottom:0}article.node-type-evenement.view-mode-full div.cols div.col.left .field_dates time{font-weight:400}article.node-type-evenement.view-mode-full div.cols div.col.left .field_infos_pratiques p{margin:0 0 .5em}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple{display:flex;flex-direction:row;flex-wrap:wrap;gap:clamp(1.5rem,2.8776978417vw,2rem)}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item{flex:1 0 calc(50% - (clamp(1.5rem,2.8776978417vw,2rem)/2));max-width:calc(50% - (clamp(1.5rem,2.8776978417vw,2rem)/2))}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article>header>h2{font-size:clamp(3.78rem,7.1942446043vw,5rem)}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article .field_artiste_s_invite_s{font-size:clamp(1.323rem,2.5899280576vw,1.8rem);font-weight:300}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article .field_type_d_evenement,article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article .field_type_de_projet{font-weight:400}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2{position:relative;max-height:1em;overflow:visible;z-index:10}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="1"]{max-height:1em}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="2"]{max-height:2em}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="3"]{max-height:3em}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="4"]{max-height:4em}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="5"]{max-height:5em}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="6"]{max-height:6em}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="7"]{max-height:7em}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="8"]{max-height:8em}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="9"]{max-height:9em}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="10"]{max-height:10em}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header div.field_images{position:relative;z-index:5}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header div.field_images a{display:block}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header div.field_images a img{width:100%;height:auto}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article div.field_artiste_s_invite_s.field-items.multiple .field-item{display:inline-block}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article div.field_artiste_s_invite_s.field-items.multiple .field-item:not(:last-of-type):after{content:", "}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article>header>h2{font-size:3em}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article .field_artiste_s_invite_s{font-size:1.134em}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier{border-top:1px solid #ccc;padding:2em 0 1em}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates{display:flex;position:relative;line-height:1;letter-spacing:-.1em;--ref: clamp(2.3333333333rem, 5.035971223vw, 3.5rem)}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates time{position:relative;display:grid;grid-template-columns:var(--ref) calc(var(--ref) * 7 / 18);grid-template-rows:calc(var(--ref) / 2.3) calc(var(--ref) / 2.3);grid-template-areas:"day month" "day year"}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates time span.date-day{grid-area:day;font-size:var(--ref);font-weight:100;font-style:italic}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates time span.date-month{grid-area:month;align-self:end;font-weight:400}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates time span.date-year{grid-area:year;align-self:end;font-weight:700}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates time span.date-month,article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates time span.date-year{font-size:calc(var(--ref) / 2.45)}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates span.date-sep{font-size:calc(var(--ref) / 2);padding:0 .2em}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates span.date-sep{display:block;width:1em;height:0;overflow:visible;transform:translate(.1em);padding:0}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.content h2.node-title{font-size:3em}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.content div.field_artiste_s_invite_s{font-size:clamp(1.134rem,2.5899280576vw,1.8rem)}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.content div.field_artiste_s_invite_s .field-item{display:inline-block}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.content div.field_artiste_s_invite_s .field-item:not(:last-child):after{content:", "}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.content div.field_type_d_evenement .field-item{font-weight:400}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.last-cel .field_images a{display:block;width:100%;height:12em;overflow:hidden}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.last-cel .field_images a img{width:100%;height:100%;object-fit:cover;object-position:center}@media (min-width: 768px){article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier{display:flex;flex-direction:row;gap:1em}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header{flex:0 1 auto;padding:0 1em 0 0}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates{flex-direction:column;align-items:center;gap:.6em}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates span.date-sep{transform-origin:center;transform:rotate(90deg) translate(.1em);line-height:0;padding:0}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.content{flex:1 1 auto}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.last-cel{flex:0 1 auto}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.last-cel .field_images a{width:12em;height:12em}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.last-cel .field_images a img{object-fit:contain;object-position:top right}}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier>section.content>h2.node-title{font-size:2.68em}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier>section.content div.field{margin:0}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier>section.content div.field p{margin:0}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier>section.last-cel{display:none}article.node-type-evenement.view-mode-full div.cols div.col.left>div.spacer{display:block;height:5em}article.node-type-evenement.view-mode-full div.cols div.col.right .field_images .field-item{position:relative;margin-bottom:1em}article.node-type-evenement.view-mode-full div.cols div.col.right .field_images .field-item figure{margin:0}article.node-type-evenement.view-mode-full div.cols div.col.right .field_images .field-item figure a{display:block;line-height:0}article.node-type-evenement.view-mode-full div.cols div.col.right .field_images .field-item figure a img{width:100%;max-width:100%;height:auto}article.node-type-evenement.view-mode-full div.cols div.col.right .field_images .field-item figure figcaption.image-field-caption{margin:0;display:block}article.node-type-evenement.view-mode-full div.cols div.col.right .field_images .field-item figure figcaption.image-field-caption blockquote{width:100%;margin:0;background-color:#1e1e1e;color:#fff;pointer-events:none}article.node-type-evenement.view-mode-full div.cols div.col.right .field_images .field-item figure figcaption.image-field-caption blockquote p{margin:0;padding:1em;font-weight:300;font-size:.8em}article.node-type-evenement.view-mode-full div.cols div.col.right .field_images .field-item:hover{z-index:200}@media (min-width: 768px){article.node-type-evenement.view-mode-full div.cols{display:flex;flex-direction:row;gap:clamp(1.5rem,2.8776978417vw,2rem);align-items:flex-start}article.node-type-evenement.view-mode-full div.cols div.col{flex:0 0 calc(50% - (clamp(1.5rem,2.8776978417vw,2rem)/2));max-width:calc(50% - (clamp(1.5rem,2.8776978417vw,2rem)/2))}article.node-type-evenement.view-mode-full div.cols div.col.left>header{transform-origin:0 0;width:205%;z-index:100;pointer-events:none}article.node-type-evenement.view-mode-full div.cols div.col.left>header>h2.node-title{font-size:clamp(8rem,17.2661870504vw,12rem)}article.node-type-evenement.view-mode-full div.cols div.col.right{display:flex}article.node-type-evenement.view-mode-full div.cols div.col.right .field_images{flex:1}article.node-type-evenement.view-mode-full div.cols div.col.right .field_images:after{display:block;position:relative;content:"";width:100%;height:var(--sticky-extent, 100vh)}article.node-type-evenement.view-mode-full div.cols div.col.right .field_images .field-item{position:sticky;top:0}article.node-type-evenement.view-mode-full div.cols div.col.right .field_images .field-item figure figcaption.image-field-caption{position:absolute;bottom:0;left:0;height:5em;width:100%;overflow:visible}article.node-type-evenement.view-mode-full div.cols div.col.right .field_images .field-item figure figcaption.image-field-caption blockquote{position:absolute;bottom:0;left:0;opacity:0;transition:opacity .3s ease-in-out;background-color:#000000a6}article.node-type-evenement.view-mode-full div.cols div.col.right .field_images .field-item figure figcaption.image-field-caption:hover blockquote{opacity:1}}@media (max-width: 767.98px){article.node-type-evenement.view-mode-full div.cols{display:flex;flex-direction:column}article.node-type-evenement.view-mode-full div.cols div.col,article.node-type-evenement.view-mode-full div.cols div.col.right .field_images{display:contents}article.node-type-evenement.view-mode-full div.cols div.col.left>header{order:1}article.node-type-evenement.view-mode-full div.cols div.col.right .field_images .field-item:first-child{order:2}article.node-type-evenement.view-mode-full div.cols div.col.left>:not(header):not(.spacer){order:3}article.node-type-evenement.view-mode-full div.cols div.col.right .field_images .field-item:not(:first-child){order:5}article.node-type-evenement.view-mode-full div.cols div.col.left>div.field_fichiers{order:6}article.node-type-evenement.view-mode-full div.cols div.col.left>div.field_partenaire_s{order:7}article.node-type-evenement.view-mode-full div.cols div.col.left>div.field_evenement_s_lie_s{order:8}article.node-type-evenement.view-mode-full div.cols div.col.left>div.field_projet_s_lie_s{order:9}article.node-type-evenement.view-mode-full div.cols div.col.left>div.spacer{order:20}article.node-type-evenement.view-mode-full div.cols div.col.left>header>h2.node-title{font-size:5em}}article.node-type-evenement.view-mode-full .field_dates.digit-dates{transform-origin:0 0;display:flex;position:relative;line-height:1;letter-spacing:-.1em;--ref: clamp(4.6666666667rem, 10.071942446vw, 7rem)}article.node-type-evenement.view-mode-full .field_dates.digit-dates time{position:relative;display:grid;grid-template-columns:var(--ref) calc(var(--ref) * 7 / 18);grid-template-rows:calc(var(--ref) / 2.3) calc(var(--ref) / 2.3);grid-template-areas:"day month" "day year"}article.node-type-evenement.view-mode-full .field_dates.digit-dates time span.date-day{grid-area:day;font-size:var(--ref);font-weight:100;font-style:italic}article.node-type-evenement.view-mode-full .field_dates.digit-dates time span.date-month{grid-area:month;align-self:end;font-weight:400}article.node-type-evenement.view-mode-full .field_dates.digit-dates time span.date-year{grid-area:year;align-self:end;font-weight:700}article.node-type-evenement.view-mode-full .field_dates.digit-dates time span.date-month,article.node-type-evenement.view-mode-full .field_dates.digit-dates time span.date-year{font-size:calc(var(--ref) / 2.45)}article.node-type-evenement.view-mode-full .field_dates.digit-dates span.date-sep{font-size:calc(var(--ref) / 2);padding:0 .2em}div.views-archives-projets>header{padding-bottom:2em}div.views-archives-projets>header h3{font-size:1em;margin:0 0 .5em;font-weight:400}div.views-archives-projets>header ul{padding:0;margin:0;display:flex;flex-direction:row;flex-wrap:wrap;gap:1em}div.views-archives-projets>header ul li{list-style:none;line-height:.4}div.views-archives-projets div.view-content{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));column-gap:clamp(1.5rem,2.8776978417vw,2rem);row-gap:0;align-items:start}div.views-archives-projets div.view-content>.views-row{margin-bottom:clamp(1.5rem,2.8776978417vw,2rem);display:flex;flex-direction:column}@media (max-width: 767.98px){div.views-archives-projets div.view-content{grid-template-columns:repeat(2,minmax(0,1fr))}}div.views-archives-projets article.node-type-projet.view-mode-tableau_liste>header>h2{font-size:clamp(3.78rem,7.1942446043vw,5rem)}div.views-archives-projets article.node-type-projet.view-mode-tableau_liste .field_artiste_s_invite_s{font-size:clamp(1.323rem,2.5899280576vw,1.8rem);font-weight:300}div.views-archives-projets article.node-type-projet.view-mode-tableau_liste .field_type_d_evenement,div.views-archives-projets article.node-type-projet.view-mode-tableau_liste .field_type_de_projet{font-weight:400}div.views-archives-projets article.node-type-projet.view-mode-tableau_liste.has-image>header>h2{position:relative;max-height:1em;overflow:visible;z-index:10}div.views-archives-projets article.node-type-projet.view-mode-tableau_liste.has-image>header>h2[data-overflow-lines="1"]{max-height:1em}div.views-archives-projets article.node-type-projet.view-mode-tableau_liste.has-image>header>h2[data-overflow-lines="2"]{max-height:2em}div.views-archives-projets article.node-type-projet.view-mode-tableau_liste.has-image>header>h2[data-overflow-lines="3"]{max-height:3em}div.views-archives-projets article.node-type-projet.view-mode-tableau_liste.has-image>header>h2[data-overflow-lines="4"]{max-height:4em}div.views-archives-projets article.node-type-projet.view-mode-tableau_liste.has-image>header>h2[data-overflow-lines="5"]{max-height:5em}div.views-archives-projets article.node-type-projet.view-mode-tableau_liste.has-image>header>h2[data-overflow-lines="6"]{max-height:6em}div.views-archives-projets article.node-type-projet.view-mode-tableau_liste.has-image>header>h2[data-overflow-lines="7"]{max-height:7em}div.views-archives-projets article.node-type-projet.view-mode-tableau_liste.has-image>header>h2[data-overflow-lines="8"]{max-height:8em}div.views-archives-projets article.node-type-projet.view-mode-tableau_liste.has-image>header>h2[data-overflow-lines="9"]{max-height:9em}div.views-archives-projets article.node-type-projet.view-mode-tableau_liste.has-image>header>h2[data-overflow-lines="10"]{max-height:10em}div.views-archives-projets article.node-type-projet.view-mode-tableau_liste.has-image>header div.field_images{position:relative;z-index:5}div.views-archives-projets article.node-type-projet.view-mode-tableau_liste.has-image>header div.field_images a{display:block}div.views-archives-projets article.node-type-projet.view-mode-tableau_liste.has-image>header div.field_images a img{width:100%;height:auto}div.views-archives-projets article.node-type-projet.view-mode-tableau_liste div.field_artiste_s_invite_s.field-items.multiple .field-item{display:inline-block}div.views-archives-projets article.node-type-projet.view-mode-tableau_liste div.field_artiste_s_invite_s.field-items.multiple .field-item:not(:last-of-type):after{content:", "}div.views-archives-projets article.node-type-projet.view-mode-tableau_liste>header>h2{font-size:3em}form#views-exposed-form-archives-page-1 div.bef-links ul{margin:0;padding:0;display:flex;flex-direction:row;flex-wrap:wrap}form#views-exposed-form-archives-page-1 div.bef-links ul li{list-style:none;flex:0 1 auto;padding:.2em .5em;font-size:.756em}div.views-archives-evenements>header h3{font-size:1em;margin:0 0 .5em;font-weight:400}div.views-archives-evenements>header ul.leshed-term-links{padding:0;margin:0 0 2em;display:flex;flex-direction:row;flex-wrap:wrap;gap:1em}div.views-archives-evenements>header ul.leshed-term-links li{list-style:none;line-height:.4}div.views-archives-evenements>h3{margin-bottom:0}div.views-archives-evenements>h3 span.month{font-size:.7em;font-weight:300}div.views-archives-evenements>h3 span.year{font-size:.7em;font-weight:700}div.views-archives-evenements header>p:last-of-type{margin:0;font-weight:400}div.views-archives-evenements article.node-type-evenement.view-mode-calendrier{border-top:1px solid #ccc;padding:2em 0 1em}div.views-archives-evenements article.node-type-evenement.view-mode-calendrier header .field_dates{display:flex;position:relative;line-height:1;letter-spacing:-.1em;--ref: clamp(2.3333333333rem, 5.035971223vw, 3.5rem)}div.views-archives-evenements article.node-type-evenement.view-mode-calendrier header .field_dates time{position:relative;display:grid;grid-template-columns:var(--ref) calc(var(--ref) * 7 / 18);grid-template-rows:calc(var(--ref) / 2.3) calc(var(--ref) / 2.3);grid-template-areas:"day month" "day year"}div.views-archives-evenements article.node-type-evenement.view-mode-calendrier header .field_dates time span.date-day{grid-area:day;font-size:var(--ref);font-weight:100;font-style:italic}div.views-archives-evenements article.node-type-evenement.view-mode-calendrier header .field_dates time span.date-month{grid-area:month;align-self:end;font-weight:400}div.views-archives-evenements article.node-type-evenement.view-mode-calendrier header .field_dates time span.date-year{grid-area:year;align-self:end;font-weight:700}div.views-archives-evenements article.node-type-evenement.view-mode-calendrier header .field_dates time span.date-month,div.views-archives-evenements article.node-type-evenement.view-mode-calendrier header .field_dates time span.date-year{font-size:calc(var(--ref) / 2.45)}div.views-archives-evenements article.node-type-evenement.view-mode-calendrier header .field_dates span.date-sep{font-size:calc(var(--ref) / 2);padding:0 .2em}div.views-archives-evenements article.node-type-evenement.view-mode-calendrier header .field_dates span.date-sep{display:block;width:1em;height:0;overflow:visible;transform:translate(.1em);padding:0}div.views-archives-evenements article.node-type-evenement.view-mode-calendrier section.content h2.node-title{font-size:3em}div.views-archives-evenements article.node-type-evenement.view-mode-calendrier section.content div.field_artiste_s_invite_s{font-size:clamp(1.134rem,2.5899280576vw,1.8rem)}div.views-archives-evenements article.node-type-evenement.view-mode-calendrier section.content div.field_artiste_s_invite_s .field-item{display:inline-block}div.views-archives-evenements article.node-type-evenement.view-mode-calendrier section.content div.field_artiste_s_invite_s .field-item:not(:last-child):after{content:", "}div.views-archives-evenements article.node-type-evenement.view-mode-calendrier section.content div.field_type_d_evenement .field-item{font-weight:400}div.views-archives-evenements article.node-type-evenement.view-mode-calendrier section.last-cel .field_images a{display:block;width:100%;height:12em;overflow:hidden}div.views-archives-evenements article.node-type-evenement.view-mode-calendrier section.last-cel .field_images a img{width:100%;height:100%;object-fit:cover;object-position:center}@media (min-width: 768px){div.views-archives-evenements article.node-type-evenement.view-mode-calendrier{display:flex;flex-direction:row;gap:1em}div.views-archives-evenements article.node-type-evenement.view-mode-calendrier header{flex:0 1 auto;padding:0 1em 0 0}div.views-archives-evenements article.node-type-evenement.view-mode-calendrier header .field_dates{flex-direction:column;align-items:center;gap:.6em}div.views-archives-evenements article.node-type-evenement.view-mode-calendrier header .field_dates span.date-sep{transform-origin:center;transform:rotate(90deg) translate(.1em);line-height:0;padding:0}div.views-archives-evenements article.node-type-evenement.view-mode-calendrier section.content{flex:1 1 auto}div.views-archives-evenements article.node-type-evenement.view-mode-calendrier section.last-cel{flex:0 1 auto}div.views-archives-evenements article.node-type-evenement.view-mode-calendrier section.last-cel .field_images a{width:12em;height:12em}div.views-archives-evenements article.node-type-evenement.view-mode-calendrier section.last-cel .field_images a img{object-fit:contain;object-position:top right}}.splitting .word,.splitting .char{display:inline-block}.splitting .char{position:relative}.splitting .char:before,.splitting .char:after{content:attr(data-char);position:absolute;top:0;left:0;visibility:hidden;transition:inherit;-webkit-user-select:none;user-select:none}.splitting{--word-center: calc((var(--word-total) - 1) / 2);--char-center: calc((var(--char-total) - 1) / 2);--line-center: calc((var(--line-total) - 1) / 2)}.splitting .word{--word-percent: calc(var(--word-index) / var(--word-total));--line-percent: calc(var(--line-index) / var(--line-total))}.splitting .char{--char-percent: calc(var(--char-index) / var(--char-total));--char-offset: calc(var(--char-index) - var(--char-center));--distance: calc( (var(--char-offset) * var(--char-offset)) / var(--char-center) );--distance-sine: calc(var(--char-offset) / var(--char-center));--distance-percent: calc((var(--distance) / var(--char-center)))}.splitting.cells img{width:100%;display:block}@supports (display: grid){.splitting.cells{position:relative;overflow:hidden;background-size:cover;visibility:hidden}.splitting .cell-grid{background:inherit;position:absolute;top:0;left:0;width:100%;height:100%;display:grid;grid-template:repeat(var(--row-total),1fr) / repeat(var(--col-total),1fr)}.splitting .cell{background:inherit;position:relative;overflow:hidden}.splitting .cell-inner{background:inherit;position:absolute;visibility:visible;width:calc(100% * var(--col-total));height:calc(100% * var(--row-total));left:calc(-100% * var(--col-index));top:calc(-100% * var(--row-index))}.splitting .cell{--center-x: calc((var(--col-total) - 1) / 2);--center-y: calc((var(--row-total) - 1) / 2);--offset-x: calc(var(--col-index) - var(--center-x));--offset-y: calc(var(--row-index) - var(--center-y));--distance-x: calc( (var(--offset-x) * var(--offset-x)) / var(--center-x) );--distance-y: calc( (var(--offset-y) * var(--offset-y)) / var(--center-y) )}} +@font-face{font-family:Epilogue;src:url(./fonts/Epilogue-Italic-VariableFont_wght.ttf) format("truetype");src:url(./fonts/Epilogue-Italic-VariableFont_wght.ttf) format("truetype") tech(variations);font-weight:100 900;font-style:italic;font-display:block}@font-face{font-family:Epilogue;src:url(./fonts/Epilogue-VariableFont_wght.ttf) format("truetype");src:url(./fonts/Epilogue-VariableFont_wght.ttf) format("truetype") tech(variations);font-weight:100 900;font-style:normal;font-display:block}body{font-family:Epilogue;font-weight:400;font-style:normal}:root{--bp-mobile: 432px;--bp-tablette: 768px;--bp-desktop: 1024px}a,a:visited{text-decoration:none;color:inherit;transition:color .15s ease-out}body{margin:0;font-weight:200;line-height:1.5}form#user-login-form input{box-sizing:border-box;max-width:100%}div.layout-container{display:flex;flex-direction:column;height:100vh;overflow:hidden;max-width:1080px;margin:0 auto;padding:0 clamp(.75rem,1.4388489209vw,1rem)}div.layout-container header[role=banner]{display:block;position:relative;padding:.5em 0;flex:0 1 clamp(3.75rem,6.2949640288vw,4.375rem);z-index:100;height:clamp(3.75rem,6.2949640288vw,4.375rem);min-height:clamp(3.75rem,6.2949640288vw,4.375rem)}div.layout-container main[role=main]{flex:1 1 auto;overflow-y:scroll}header[role=banner]{background-color:#fff}header[role=banner] .header-middle{display:flex;justify-content:space-between;align-items:center;padding:.2em 0}header[role=banner] .header-middle .header-left{flex:1 1 auto}header[role=banner] .header-middle .header-center{flex:0 1 auto}header[role=banner] .header-middle .header-rigth{flex:0 0 auto}header[role=banner] #block-leshed-identitedusite{display:flex;flex-direction:row;align-items:center}header[role=banner] #block-leshed-identitedusite>a:first-child{flex:content;flex:0 0 3.5em;text-decoration:none;font-size:2em;font-weight:500;margin-right:.5em}header[role=banner] #block-leshed-identitedusite div.site-slogan{flex:1 1 auto;line-height:1}header[role=banner] .header-right{height:20px;width:20px;cursor:pointer}header[role=banner] .header-right>div#burger-btn{position:relative;transition-duration:.5s;transition-property:transform;top:8.5px}header[role=banner] .header-right>div#burger-btn,header[role=banner] .header-right>div#burger-btn:before,header[role=banner] .header-right>div#burger-btn:after{width:20px;height:3px;background-color:#000}header[role=banner] .header-right>div#burger-btn:before,header[role=banner] .header-right>div#burger-btn:after{content:"";position:absolute;left:0}header[role=banner] .header-right>div#burger-btn:before{top:6px}header[role=banner] .header-right>div#burger-btn:after{bottom:6px}header[role=banner] .header-right>div#burger-btn[opened]{transform:rotate(90deg)}header[role=banner] .header-right>div.wrapper{position:fixed;top:clamp(3.75rem,6.2949640288vw,4.375rem);left:0;box-sizing:border-box;width:100vw;padding-inline:max(0px,(100vw - 1080px) / 2);background-color:#ffffff80;-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px);height:0;overflow:hidden;transition-duration:.5s}header[role=banner] .header-right>div.wrapper[opened]{height:calc(100vh - clamp(3.75rem,6.2949640288vw,4.375rem))}header[role=banner] .header-right>div.wrapper>div.inner-wrapper{padding:0 clamp(.75rem,1.4388489209vw,1rem);display:grid;grid-template-columns:minmax(0,1fr) minmax(16rem,1fr);grid-template-rows:auto auto 1fr;column-gap:clamp(1.5rem,2.8776978417vw,2rem);align-items:start}header[role=banner] .header-right>div.wrapper>div.inner-wrapper>*{grid-column:1}header[role=banner] .header-right>div.wrapper>div.inner-wrapper>div#block-leshed-config-pages{grid-column:2;grid-row:1/-1}header[role=banner] .header-right>div.wrapper>div.inner-wrapper>form.search-pill{--search-pill-width: 22rem;margin-top:1.5em;font-size:1.1em}@media (max-width: 767.98px){header[role=banner] .header-right>div.wrapper>div.inner-wrapper{grid-template-columns:minmax(0,1fr);grid-template-rows:none}header[role=banner] .header-right>div.wrapper>div.inner-wrapper>div#block-leshed-config-pages{grid-column:1;grid-row:auto;order:1;margin-top:1.5em}}header[role=banner] .header-right>div.wrapper nav#block-leshed-navigationprincipale{padding-top:10px}header[role=banner] .header-right>div.wrapper nav#block-leshed-navigationprincipale>ul{margin:0;padding:0}header[role=banner] .header-right>div.wrapper nav#block-leshed-navigationprincipale>ul li{list-style:none}header[role=banner] .header-right>div.wrapper nav#block-leshed-navigationprincipale>ul li a{font-size:4em;font-weight:200;text-transform:lowercase;filter:drop-shadow(0 0 2px #fff) drop-shadow(0 0 5px #fff) drop-shadow(0 0 15px #fff);display:inline-block;transform-origin:left;transition:all .4s ease-in-out}header[role=banner] .header-right>div.wrapper nav#block-leshed-navigationprincipale>ul li a:hover{transform:scale(1.1);transition:all .2s ease-in-out}header[role=banner] .header-right>div.wrapper div#block-leshed-selecteurdelangue ul{margin:0;padding:0}header[role=banner] .header-right>div.wrapper div#block-leshed-selecteurdelangue ul li{list-style:none;padding:0;display:inline-block;font-size:2em}header[role=banner] .header-right>div.wrapper div#block-leshed-selecteurdelangue ul li:first-child:after{content:" /";font-weight:200}header[role=banner] .header-right>div.wrapper div#block-leshed-selecteurdelangue ul li:last-child{padding-left:.3em}header[role=banner] .header-right>div.wrapper div#block-leshed-selecteurdelangue ul li.is-active a{font-weight:400;text-decoration:underline}form.search-pill{display:flex;align-items:center;box-sizing:border-box;width:var(--search-pill-width, 16rem);max-width:100%;height:2.3em;padding:0 .35em 0 1em;border:1px solid #000;border-radius:999px;background-color:#fff}form.search-pill input[type=search]{flex:1 1 auto;min-width:0;height:100%;padding:0;border:0;background:transparent;font:inherit;font-weight:300;color:#000;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}form.search-pill input[type=search]::placeholder{color:#555;opacity:1}form.search-pill input[type=search]::-webkit-search-cancel-button{-webkit-appearance:none}form.search-pill button{flex:0 0 auto;display:flex;align-items:center;justify-content:center;width:2em;height:2em;padding:0;border:0;background:transparent;color:#000;cursor:pointer}form.search-pill:focus-within{box-shadow:0 0 0 1px #000}.splitting span.word,.splitting span.char{display:inline}.variable-title{margin:0;font-weight:200;text-transform:lowercase;line-height:1;filter:drop-shadow(0 0 5px #fff) drop-shadow(0 0 15px #fff)}.variable-title span.word span.char{letter-spacing:-.1em}.variable-title:not(.splitting){margin:0;font-weight:200;text-transform:lowercase;line-height:1;letter-spacing:-.1em}@media (scripting: enabled){.variable-title:not(.is-ready){visibility:hidden;animation:leshed-title-failsafe 0s 3s forwards}}@keyframes leshed-title-failsafe{to{visibility:visible}}div#block-leshed-titredelapage h1{font-size:1em;font-weight:200;margin:0}div.layout.layout--twocol-section--50-50.layout--twocol-section{flex-wrap:nowrap;align-items:flex-start;column-gap:clamp(1.5rem,2.8776978417vw,2rem)}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region{max-width:calc(50% - (clamp(1.5rem,2.8776978417vw,2rem)/2));flex:1 0 calc(50% - (clamp(1.5rem,2.8776978417vw,2rem)/2))}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row{margin-bottom:2em;max-width:100%}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-projet>header>h2{font-size:clamp(3.78rem,7.1942446043vw,5rem)}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-projet .field_artiste_s_invite_s{font-size:clamp(1.323rem,2.5899280576vw,1.8rem);font-weight:300}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-projet .field_type_d_evenement,div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-projet .field_type_de_projet{font-weight:400}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-projet.has-image>header>h2{position:relative;max-height:1em;overflow:visible;z-index:10}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-projet.has-image>header>h2[data-overflow-lines="1"]{max-height:1em}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-projet.has-image>header>h2[data-overflow-lines="2"]{max-height:2em}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-projet.has-image>header>h2[data-overflow-lines="3"]{max-height:3em}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-projet.has-image>header>h2[data-overflow-lines="4"]{max-height:4em}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-projet.has-image>header>h2[data-overflow-lines="5"]{max-height:5em}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-projet.has-image>header>h2[data-overflow-lines="6"]{max-height:6em}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-projet.has-image>header>h2[data-overflow-lines="7"]{max-height:7em}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-projet.has-image>header>h2[data-overflow-lines="8"]{max-height:8em}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-projet.has-image>header>h2[data-overflow-lines="9"]{max-height:9em}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-projet.has-image>header>h2[data-overflow-lines="10"]{max-height:10em}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-projet.has-image>header div.field_images{position:relative;z-index:5}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-projet.has-image>header div.field_images a{display:block}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-projet.has-image>header div.field_images a img{width:100%;height:auto}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-projet div.field_artiste_s_invite_s.field-items.multiple .field-item{display:inline-block}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-projet div.field_artiste_s_invite_s.field-items.multiple .field-item:not(:last-of-type):after{content:", "}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-evenement>header>h2{font-size:clamp(3.78rem,7.1942446043vw,5rem)}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-evenement .field_artiste_s_invite_s{font-size:clamp(1.323rem,2.5899280576vw,1.8rem);font-weight:300}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-evenement .field_type_d_evenement,div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-evenement .field_type_de_projet{font-weight:400}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-evenement.has-image>header>h2{position:relative;max-height:1em;overflow:visible;z-index:10}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-evenement.has-image>header>h2[data-overflow-lines="1"]{max-height:1em}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-evenement.has-image>header>h2[data-overflow-lines="2"]{max-height:2em}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-evenement.has-image>header>h2[data-overflow-lines="3"]{max-height:3em}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-evenement.has-image>header>h2[data-overflow-lines="4"]{max-height:4em}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-evenement.has-image>header>h2[data-overflow-lines="5"]{max-height:5em}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-evenement.has-image>header>h2[data-overflow-lines="6"]{max-height:6em}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-evenement.has-image>header>h2[data-overflow-lines="7"]{max-height:7em}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-evenement.has-image>header>h2[data-overflow-lines="8"]{max-height:8em}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-evenement.has-image>header>h2[data-overflow-lines="9"]{max-height:9em}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-evenement.has-image>header>h2[data-overflow-lines="10"]{max-height:10em}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-evenement.has-image>header div.field_images{position:relative;z-index:5}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-evenement.has-image>header div.field_images a{display:block}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-evenement.has-image>header div.field_images a img{width:100%;height:auto}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-evenement>header .field_dates{font-size:clamp(1.512rem,4.3165467626vw,3rem);line-height:1;letter-spacing:-.1em}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-evenement>header .field_dates time span.date-part:not(:last-child):after{content:"."}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-evenement>header .field_dates time span.date-day{font-weight:100}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-evenement>header .field_dates time span.date-month{font-weight:300}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region .views-row article.node-type-evenement>header .field_dates time span.date-year{font-weight:500}@media (max-width: 431.98px){div.layout.layout--twocol-section--50-50.layout--twocol-section{display:block}div.layout.layout--twocol-section--50-50.layout--twocol-section div.layout__region{max-width:100%}}article.node-type-static.view-mode-full div.cols div.col.left{z-index:10}article.node-type-static.view-mode-full div.cols div.col.left>header>h2.node-title{position:relative;margin:0}article.node-type-static.view-mode-full div.cols div.col.left>header>h2.node-title.leshed-svg-export-target{pointer-events:painted}article.node-type-static.view-mode-full div.cols div.col.left .field{margin-bottom:1rem}article.node-type-static.view-mode-full div.cols div.col.left .field .field-item{font-weight:400}article.node-type-static.view-mode-full div.cols div.col.left .field_artiste_s_invite_s{font-size:clamp(1.134rem,2.5899280576vw,1.8rem)}article.node-type-static.view-mode-full div.cols div.col.left .field_artiste_s_invite_s .field-item{font-weight:300;display:inline-block}article.node-type-static.view-mode-full div.cols div.col.left .field_artiste_s_invite_s .field-item:not(:last-child):after{content:", "}article.node-type-static.view-mode-full div.cols div.col.left .field_invite_accompagne_curate_p,article.node-type-static.view-mode-full div.cols div.col.left .field_partenaire_s{font-weight:400}article.node-type-static.view-mode-full div.cols div.col.left .field_invite_accompagne_curate_p .field-label,article.node-type-static.view-mode-full div.cols div.col.left .field_partenaire_s .field-label{font-weight:200}article.node-type-static.view-mode-full div.cols div.col.left div.field_type_de_projet:has(+div.field_dates){margin-bottom:0}article.node-type-static.view-mode-full div.cols div.col.left .field_dates time{font-weight:400}article.node-type-static.view-mode-full div.cols div.col.left .field_infos_pratiques p{margin:0 0 .5em}article.node-type-static.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple{display:flex;flex-direction:row;flex-wrap:wrap;gap:clamp(1.5rem,2.8776978417vw,2rem)}article.node-type-static.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item{flex:1 0 calc(50% - (clamp(1.5rem,2.8776978417vw,2rem)/2));max-width:calc(50% - (clamp(1.5rem,2.8776978417vw,2rem)/2))}article.node-type-static.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article>header>h2{font-size:clamp(3.78rem,7.1942446043vw,5rem)}article.node-type-static.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article .field_artiste_s_invite_s{font-size:clamp(1.323rem,2.5899280576vw,1.8rem);font-weight:300}article.node-type-static.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article .field_type_d_evenement,article.node-type-static.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article .field_type_de_projet{font-weight:400}article.node-type-static.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2{position:relative;max-height:1em;overflow:visible;z-index:10}article.node-type-static.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="1"]{max-height:1em}article.node-type-static.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="2"]{max-height:2em}article.node-type-static.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="3"]{max-height:3em}article.node-type-static.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="4"]{max-height:4em}article.node-type-static.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="5"]{max-height:5em}article.node-type-static.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="6"]{max-height:6em}article.node-type-static.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="7"]{max-height:7em}article.node-type-static.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="8"]{max-height:8em}article.node-type-static.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="9"]{max-height:9em}article.node-type-static.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="10"]{max-height:10em}article.node-type-static.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header div.field_images{position:relative;z-index:5}article.node-type-static.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header div.field_images a{display:block}article.node-type-static.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header div.field_images a img{width:100%;height:auto}article.node-type-static.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article div.field_artiste_s_invite_s.field-items.multiple .field-item{display:inline-block}article.node-type-static.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article div.field_artiste_s_invite_s.field-items.multiple .field-item:not(:last-of-type):after{content:", "}article.node-type-static.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article>header>h2{font-size:3em}article.node-type-static.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article .field_artiste_s_invite_s{font-size:1.134em}article.node-type-static.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier{border-top:1px solid #ccc;padding:2em 0 1em}article.node-type-static.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates{display:flex;position:relative;line-height:1;letter-spacing:-.1em;--ref: clamp(2.3333333333rem, 5.035971223vw, 3.5rem)}article.node-type-static.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates time{position:relative;display:grid;grid-template-columns:var(--ref) calc(var(--ref) * 7 / 18);grid-template-rows:calc(var(--ref) / 2.3) calc(var(--ref) / 2.3);grid-template-areas:"day month" "day year"}article.node-type-static.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates time span.date-day{grid-area:day;font-size:var(--ref);font-weight:100;font-style:italic}article.node-type-static.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates time span.date-month{grid-area:month;align-self:end;font-weight:400}article.node-type-static.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates time span.date-year{grid-area:year;align-self:end;font-weight:700}article.node-type-static.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates time span.date-month,article.node-type-static.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates time span.date-year{font-size:calc(var(--ref) / 2.45)}article.node-type-static.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates span.date-sep{font-size:calc(var(--ref) / 2);padding:0 .2em}article.node-type-static.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates span.date-sep{display:block;width:1em;height:0;overflow:visible;transform:translate(.1em);padding:0}article.node-type-static.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.content h2.node-title{font-size:3em}article.node-type-static.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.content div.field_artiste_s_invite_s{font-size:clamp(1.134rem,2.5899280576vw,1.8rem)}article.node-type-static.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.content div.field_artiste_s_invite_s .field-item{display:inline-block}article.node-type-static.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.content div.field_artiste_s_invite_s .field-item:not(:last-child):after{content:", "}article.node-type-static.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.content div.field_type_d_evenement .field-item{font-weight:400}article.node-type-static.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.last-cel .field_images a{display:block;width:100%;height:12em;overflow:hidden}article.node-type-static.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.last-cel .field_images a img{width:100%;height:100%;object-fit:cover;object-position:center}@media (min-width: 768px){article.node-type-static.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier{display:flex;flex-direction:row;gap:1em}article.node-type-static.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header{flex:0 1 auto;padding:0 1em 0 0}article.node-type-static.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates{flex-direction:column;align-items:center;gap:.6em}article.node-type-static.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates span.date-sep{transform-origin:center;transform:rotate(90deg) translate(.1em);line-height:0;padding:0}article.node-type-static.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.content{flex:1 1 auto}article.node-type-static.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.last-cel{flex:0 1 auto}article.node-type-static.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.last-cel .field_images a{width:12em;height:12em}article.node-type-static.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.last-cel .field_images a img{object-fit:contain;object-position:top right}}article.node-type-static.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier>section.content>h2.node-title{font-size:2.68em}article.node-type-static.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier>section.content div.field{margin:0}article.node-type-static.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier>section.content div.field p{margin:0}article.node-type-static.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier>section.last-cel{display:none}article.node-type-static.view-mode-full div.cols div.col.left>div.spacer{display:block;height:5em}article.node-type-static.view-mode-full div.cols div.col.right .field_images .field-item{position:relative;margin-bottom:1em}article.node-type-static.view-mode-full div.cols div.col.right .field_images .field-item figure{margin:0}article.node-type-static.view-mode-full div.cols div.col.right .field_images .field-item figure a{display:block;line-height:0}article.node-type-static.view-mode-full div.cols div.col.right .field_images .field-item figure a img{width:100%;max-width:100%;height:auto}article.node-type-static.view-mode-full div.cols div.col.right .field_images .field-item figure figcaption.image-field-caption{margin:0;display:block}article.node-type-static.view-mode-full div.cols div.col.right .field_images .field-item figure figcaption.image-field-caption blockquote{width:100%;margin:0;background-color:#1e1e1e;color:#fff;pointer-events:none}article.node-type-static.view-mode-full div.cols div.col.right .field_images .field-item figure figcaption.image-field-caption blockquote p{margin:0;padding:1em;font-weight:300;font-size:.8em}article.node-type-static.view-mode-full div.cols div.col.right .field_images .field-item:hover{z-index:200}@media (min-width: 768px){article.node-type-static.view-mode-full div.cols{display:flex;flex-direction:row;gap:clamp(1.5rem,2.8776978417vw,2rem);align-items:flex-start}article.node-type-static.view-mode-full div.cols div.col{flex:0 0 calc(50% - (clamp(1.5rem,2.8776978417vw,2rem)/2));max-width:calc(50% - (clamp(1.5rem,2.8776978417vw,2rem)/2))}article.node-type-static.view-mode-full div.cols div.col.left>header{transform-origin:0 0;width:205%;z-index:100;pointer-events:none}article.node-type-static.view-mode-full div.cols div.col.left>header>h2.node-title{font-size:clamp(8rem,17.2661870504vw,12rem)}article.node-type-static.view-mode-full div.cols div.col.right{display:flex}article.node-type-static.view-mode-full div.cols div.col.right .field_images{flex:1}article.node-type-static.view-mode-full div.cols div.col.right .field_images:after{display:block;position:relative;content:"";width:100%;height:var(--sticky-extent, 100vh)}article.node-type-static.view-mode-full div.cols div.col.right .field_images .field-item{position:sticky;top:0}article.node-type-static.view-mode-full div.cols div.col.right .field_images .field-item figure figcaption.image-field-caption{position:absolute;bottom:0;left:0;height:5em;width:100%;overflow:visible}article.node-type-static.view-mode-full div.cols div.col.right .field_images .field-item figure figcaption.image-field-caption blockquote{position:absolute;bottom:0;left:0;opacity:0;transition:opacity .3s ease-in-out;background-color:#000000a6}article.node-type-static.view-mode-full div.cols div.col.right .field_images .field-item figure figcaption.image-field-caption:hover blockquote{opacity:1}}@media (max-width: 767.98px){article.node-type-static.view-mode-full div.cols{display:flex;flex-direction:column}article.node-type-static.view-mode-full div.cols div.col,article.node-type-static.view-mode-full div.cols div.col.right .field_images{display:contents}article.node-type-static.view-mode-full div.cols div.col.left>header{order:1}article.node-type-static.view-mode-full div.cols div.col.right .field_images .field-item:first-child{order:2}article.node-type-static.view-mode-full div.cols div.col.left>:not(header):not(.spacer){order:3}article.node-type-static.view-mode-full div.cols div.col.right .field_images .field-item:not(:first-child){order:5}article.node-type-static.view-mode-full div.cols div.col.left>div.field_fichiers{order:6}article.node-type-static.view-mode-full div.cols div.col.left>div.field_partenaire_s{order:7}article.node-type-static.view-mode-full div.cols div.col.left>div.field_evenement_s_lie_s{order:8}article.node-type-static.view-mode-full div.cols div.col.left>div.field_projet_s_lie_s{order:9}article.node-type-static.view-mode-full div.cols div.col.left>div.spacer{order:20}article.node-type-static.view-mode-full div.cols div.col.left>header>h2.node-title{font-size:5em}}article.node-type-projet.view-mode-full div.cols div.col.left{z-index:10}article.node-type-projet.view-mode-full div.cols div.col.left>header>h2.node-title{position:relative;margin:0}article.node-type-projet.view-mode-full div.cols div.col.left>header>h2.node-title.leshed-svg-export-target{pointer-events:painted}article.node-type-projet.view-mode-full div.cols div.col.left .field{margin-bottom:1rem}article.node-type-projet.view-mode-full div.cols div.col.left .field .field-item{font-weight:400}article.node-type-projet.view-mode-full div.cols div.col.left .field_artiste_s_invite_s{font-size:clamp(1.134rem,2.5899280576vw,1.8rem)}article.node-type-projet.view-mode-full div.cols div.col.left .field_artiste_s_invite_s .field-item{font-weight:300;display:inline-block}article.node-type-projet.view-mode-full div.cols div.col.left .field_artiste_s_invite_s .field-item:not(:last-child):after{content:", "}article.node-type-projet.view-mode-full div.cols div.col.left .field_invite_accompagne_curate_p,article.node-type-projet.view-mode-full div.cols div.col.left .field_partenaire_s{font-weight:400}article.node-type-projet.view-mode-full div.cols div.col.left .field_invite_accompagne_curate_p .field-label,article.node-type-projet.view-mode-full div.cols div.col.left .field_partenaire_s .field-label{font-weight:200}article.node-type-projet.view-mode-full div.cols div.col.left div.field_type_de_projet:has(+div.field_dates){margin-bottom:0}article.node-type-projet.view-mode-full div.cols div.col.left .field_dates time{font-weight:400}article.node-type-projet.view-mode-full div.cols div.col.left .field_infos_pratiques p{margin:0 0 .5em}article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple{display:flex;flex-direction:row;flex-wrap:wrap;gap:clamp(1.5rem,2.8776978417vw,2rem)}article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item{flex:1 0 calc(50% - (clamp(1.5rem,2.8776978417vw,2rem)/2));max-width:calc(50% - (clamp(1.5rem,2.8776978417vw,2rem)/2))}article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article>header>h2{font-size:clamp(3.78rem,7.1942446043vw,5rem)}article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article .field_artiste_s_invite_s{font-size:clamp(1.323rem,2.5899280576vw,1.8rem);font-weight:300}article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article .field_type_d_evenement,article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article .field_type_de_projet{font-weight:400}article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2{position:relative;max-height:1em;overflow:visible;z-index:10}article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="1"]{max-height:1em}article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="2"]{max-height:2em}article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="3"]{max-height:3em}article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="4"]{max-height:4em}article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="5"]{max-height:5em}article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="6"]{max-height:6em}article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="7"]{max-height:7em}article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="8"]{max-height:8em}article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="9"]{max-height:9em}article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="10"]{max-height:10em}article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header div.field_images{position:relative;z-index:5}article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header div.field_images a{display:block}article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header div.field_images a img{width:100%;height:auto}article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article div.field_artiste_s_invite_s.field-items.multiple .field-item{display:inline-block}article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article div.field_artiste_s_invite_s.field-items.multiple .field-item:not(:last-of-type):after{content:", "}article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article>header>h2{font-size:3em}article.node-type-projet.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article .field_artiste_s_invite_s{font-size:1.134em}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier{border-top:1px solid #ccc;padding:2em 0 1em}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates{display:flex;position:relative;line-height:1;letter-spacing:-.1em;--ref: clamp(2.3333333333rem, 5.035971223vw, 3.5rem)}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates time{position:relative;display:grid;grid-template-columns:var(--ref) calc(var(--ref) * 7 / 18);grid-template-rows:calc(var(--ref) / 2.3) calc(var(--ref) / 2.3);grid-template-areas:"day month" "day year"}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates time span.date-day{grid-area:day;font-size:var(--ref);font-weight:100;font-style:italic}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates time span.date-month{grid-area:month;align-self:end;font-weight:400}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates time span.date-year{grid-area:year;align-self:end;font-weight:700}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates time span.date-month,article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates time span.date-year{font-size:calc(var(--ref) / 2.45)}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates span.date-sep{font-size:calc(var(--ref) / 2);padding:0 .2em}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates span.date-sep{display:block;width:1em;height:0;overflow:visible;transform:translate(.1em);padding:0}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.content h2.node-title{font-size:3em}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.content div.field_artiste_s_invite_s{font-size:clamp(1.134rem,2.5899280576vw,1.8rem)}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.content div.field_artiste_s_invite_s .field-item{display:inline-block}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.content div.field_artiste_s_invite_s .field-item:not(:last-child):after{content:", "}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.content div.field_type_d_evenement .field-item{font-weight:400}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.last-cel .field_images a{display:block;width:100%;height:12em;overflow:hidden}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.last-cel .field_images a img{width:100%;height:100%;object-fit:cover;object-position:center}@media (min-width: 768px){article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier{display:flex;flex-direction:row;gap:1em}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header{flex:0 1 auto;padding:0 1em 0 0}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates{flex-direction:column;align-items:center;gap:.6em}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates span.date-sep{transform-origin:center;transform:rotate(90deg) translate(.1em);line-height:0;padding:0}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.content{flex:1 1 auto}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.last-cel{flex:0 1 auto}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.last-cel .field_images a{width:12em;height:12em}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.last-cel .field_images a img{object-fit:contain;object-position:top right}}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier>section.content>h2.node-title{font-size:2.68em}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier>section.content div.field{margin:0}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier>section.content div.field p{margin:0}article.node-type-projet.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier>section.last-cel{display:none}article.node-type-projet.view-mode-full div.cols div.col.left>div.spacer{display:block;height:5em}article.node-type-projet.view-mode-full div.cols div.col.right .field_images .field-item{position:relative;margin-bottom:1em}article.node-type-projet.view-mode-full div.cols div.col.right .field_images .field-item figure{margin:0}article.node-type-projet.view-mode-full div.cols div.col.right .field_images .field-item figure a{display:block;line-height:0}article.node-type-projet.view-mode-full div.cols div.col.right .field_images .field-item figure a img{width:100%;max-width:100%;height:auto}article.node-type-projet.view-mode-full div.cols div.col.right .field_images .field-item figure figcaption.image-field-caption{margin:0;display:block}article.node-type-projet.view-mode-full div.cols div.col.right .field_images .field-item figure figcaption.image-field-caption blockquote{width:100%;margin:0;background-color:#1e1e1e;color:#fff;pointer-events:none}article.node-type-projet.view-mode-full div.cols div.col.right .field_images .field-item figure figcaption.image-field-caption blockquote p{margin:0;padding:1em;font-weight:300;font-size:.8em}article.node-type-projet.view-mode-full div.cols div.col.right .field_images .field-item:hover{z-index:200}@media (min-width: 768px){article.node-type-projet.view-mode-full div.cols{display:flex;flex-direction:row;gap:clamp(1.5rem,2.8776978417vw,2rem);align-items:flex-start}article.node-type-projet.view-mode-full div.cols div.col{flex:0 0 calc(50% - (clamp(1.5rem,2.8776978417vw,2rem)/2));max-width:calc(50% - (clamp(1.5rem,2.8776978417vw,2rem)/2))}article.node-type-projet.view-mode-full div.cols div.col.left>header{transform-origin:0 0;width:205%;z-index:100;pointer-events:none}article.node-type-projet.view-mode-full div.cols div.col.left>header>h2.node-title{font-size:clamp(8rem,17.2661870504vw,12rem)}article.node-type-projet.view-mode-full div.cols div.col.right{display:flex}article.node-type-projet.view-mode-full div.cols div.col.right .field_images{flex:1}article.node-type-projet.view-mode-full div.cols div.col.right .field_images:after{display:block;position:relative;content:"";width:100%;height:var(--sticky-extent, 100vh)}article.node-type-projet.view-mode-full div.cols div.col.right .field_images .field-item{position:sticky;top:0}article.node-type-projet.view-mode-full div.cols div.col.right .field_images .field-item figure figcaption.image-field-caption{position:absolute;bottom:0;left:0;height:5em;width:100%;overflow:visible}article.node-type-projet.view-mode-full div.cols div.col.right .field_images .field-item figure figcaption.image-field-caption blockquote{position:absolute;bottom:0;left:0;opacity:0;transition:opacity .3s ease-in-out;background-color:#000000a6}article.node-type-projet.view-mode-full div.cols div.col.right .field_images .field-item figure figcaption.image-field-caption:hover blockquote{opacity:1}}@media (max-width: 767.98px){article.node-type-projet.view-mode-full div.cols{display:flex;flex-direction:column}article.node-type-projet.view-mode-full div.cols div.col,article.node-type-projet.view-mode-full div.cols div.col.right .field_images{display:contents}article.node-type-projet.view-mode-full div.cols div.col.left>header{order:1}article.node-type-projet.view-mode-full div.cols div.col.right .field_images .field-item:first-child{order:2}article.node-type-projet.view-mode-full div.cols div.col.left>:not(header):not(.spacer){order:3}article.node-type-projet.view-mode-full div.cols div.col.right .field_images .field-item:not(:first-child){order:5}article.node-type-projet.view-mode-full div.cols div.col.left>div.field_fichiers{order:6}article.node-type-projet.view-mode-full div.cols div.col.left>div.field_partenaire_s{order:7}article.node-type-projet.view-mode-full div.cols div.col.left>div.field_evenement_s_lie_s{order:8}article.node-type-projet.view-mode-full div.cols div.col.left>div.field_projet_s_lie_s{order:9}article.node-type-projet.view-mode-full div.cols div.col.left>div.spacer{order:20}article.node-type-projet.view-mode-full div.cols div.col.left>header>h2.node-title{font-size:5em}}article.node-type-evenement.view-mode-full div.cols div.col.left{z-index:10}article.node-type-evenement.view-mode-full div.cols div.col.left>header>h2.node-title{position:relative;margin:0}article.node-type-evenement.view-mode-full div.cols div.col.left>header>h2.node-title.leshed-svg-export-target{pointer-events:painted}article.node-type-evenement.view-mode-full div.cols div.col.left .field{margin-bottom:1rem}article.node-type-evenement.view-mode-full div.cols div.col.left .field .field-item{font-weight:400}article.node-type-evenement.view-mode-full div.cols div.col.left .field_artiste_s_invite_s{font-size:clamp(1.134rem,2.5899280576vw,1.8rem)}article.node-type-evenement.view-mode-full div.cols div.col.left .field_artiste_s_invite_s .field-item{font-weight:300;display:inline-block}article.node-type-evenement.view-mode-full div.cols div.col.left .field_artiste_s_invite_s .field-item:not(:last-child):after{content:", "}article.node-type-evenement.view-mode-full div.cols div.col.left .field_invite_accompagne_curate_p,article.node-type-evenement.view-mode-full div.cols div.col.left .field_partenaire_s{font-weight:400}article.node-type-evenement.view-mode-full div.cols div.col.left .field_invite_accompagne_curate_p .field-label,article.node-type-evenement.view-mode-full div.cols div.col.left .field_partenaire_s .field-label{font-weight:200}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_type_de_projet:has(+div.field_dates){margin-bottom:0}article.node-type-evenement.view-mode-full div.cols div.col.left .field_dates time{font-weight:400}article.node-type-evenement.view-mode-full div.cols div.col.left .field_infos_pratiques p{margin:0 0 .5em}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple{display:flex;flex-direction:row;flex-wrap:wrap;gap:clamp(1.5rem,2.8776978417vw,2rem)}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item{flex:1 0 calc(50% - (clamp(1.5rem,2.8776978417vw,2rem)/2));max-width:calc(50% - (clamp(1.5rem,2.8776978417vw,2rem)/2))}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article>header>h2{font-size:clamp(3.78rem,7.1942446043vw,5rem)}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article .field_artiste_s_invite_s{font-size:clamp(1.323rem,2.5899280576vw,1.8rem);font-weight:300}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article .field_type_d_evenement,article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article .field_type_de_projet{font-weight:400}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2{position:relative;max-height:1em;overflow:visible;z-index:10}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="1"]{max-height:1em}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="2"]{max-height:2em}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="3"]{max-height:3em}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="4"]{max-height:4em}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="5"]{max-height:5em}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="6"]{max-height:6em}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="7"]{max-height:7em}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="8"]{max-height:8em}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="9"]{max-height:9em}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header>h2[data-overflow-lines="10"]{max-height:10em}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header div.field_images{position:relative;z-index:5}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header div.field_images a{display:block}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article.has-image>header div.field_images a img{width:100%;height:auto}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article div.field_artiste_s_invite_s.field-items.multiple .field-item{display:inline-block}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article div.field_artiste_s_invite_s.field-items.multiple .field-item:not(:last-of-type):after{content:", "}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article>header>h2{font-size:3em}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_projet_s_lie_s>.field-items.multiple>.field-item>article .field_artiste_s_invite_s{font-size:1.134em}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier{border-top:1px solid #ccc;padding:2em 0 1em}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates{display:flex;position:relative;line-height:1;letter-spacing:-.1em;--ref: clamp(2.3333333333rem, 5.035971223vw, 3.5rem)}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates time{position:relative;display:grid;grid-template-columns:var(--ref) calc(var(--ref) * 7 / 18);grid-template-rows:calc(var(--ref) / 2.3) calc(var(--ref) / 2.3);grid-template-areas:"day month" "day year"}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates time span.date-day{grid-area:day;font-size:var(--ref);font-weight:100;font-style:italic}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates time span.date-month{grid-area:month;align-self:end;font-weight:400}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates time span.date-year{grid-area:year;align-self:end;font-weight:700}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates time span.date-month,article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates time span.date-year{font-size:calc(var(--ref) / 2.45)}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates span.date-sep{font-size:calc(var(--ref) / 2);padding:0 .2em}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates span.date-sep{display:block;width:1em;height:0;overflow:visible;transform:translate(.1em);padding:0}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.content h2.node-title{font-size:3em}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.content div.field_artiste_s_invite_s{font-size:clamp(1.134rem,2.5899280576vw,1.8rem)}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.content div.field_artiste_s_invite_s .field-item{display:inline-block}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.content div.field_artiste_s_invite_s .field-item:not(:last-child):after{content:", "}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.content div.field_type_d_evenement .field-item{font-weight:400}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.last-cel .field_images a{display:block;width:100%;height:12em;overflow:hidden}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.last-cel .field_images a img{width:100%;height:100%;object-fit:cover;object-position:center}@media (min-width: 768px){article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier{display:flex;flex-direction:row;gap:1em}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header{flex:0 1 auto;padding:0 1em 0 0}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates{flex-direction:column;align-items:center;gap:.6em}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier header .field_dates span.date-sep{transform-origin:center;transform:rotate(90deg) translate(.1em);line-height:0;padding:0}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.content{flex:1 1 auto}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.last-cel{flex:0 1 auto}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.last-cel .field_images a{width:12em;height:12em}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier section.last-cel .field_images a img{object-fit:contain;object-position:top right}}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier>section.content>h2.node-title{font-size:2.68em}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier>section.content div.field{margin:0}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier>section.content div.field p{margin:0}article.node-type-evenement.view-mode-full div.cols div.col.left div.field_evenement_s_lie_s article.node-type-evenement.view-mode-calendrier>section.last-cel{display:none}article.node-type-evenement.view-mode-full div.cols div.col.left>div.spacer{display:block;height:5em}article.node-type-evenement.view-mode-full div.cols div.col.right .field_images .field-item{position:relative;margin-bottom:1em}article.node-type-evenement.view-mode-full div.cols div.col.right .field_images .field-item figure{margin:0}article.node-type-evenement.view-mode-full div.cols div.col.right .field_images .field-item figure a{display:block;line-height:0}article.node-type-evenement.view-mode-full div.cols div.col.right .field_images .field-item figure a img{width:100%;max-width:100%;height:auto}article.node-type-evenement.view-mode-full div.cols div.col.right .field_images .field-item figure figcaption.image-field-caption{margin:0;display:block}article.node-type-evenement.view-mode-full div.cols div.col.right .field_images .field-item figure figcaption.image-field-caption blockquote{width:100%;margin:0;background-color:#1e1e1e;color:#fff;pointer-events:none}article.node-type-evenement.view-mode-full div.cols div.col.right .field_images .field-item figure figcaption.image-field-caption blockquote p{margin:0;padding:1em;font-weight:300;font-size:.8em}article.node-type-evenement.view-mode-full div.cols div.col.right .field_images .field-item:hover{z-index:200}@media (min-width: 768px){article.node-type-evenement.view-mode-full div.cols{display:flex;flex-direction:row;gap:clamp(1.5rem,2.8776978417vw,2rem);align-items:flex-start}article.node-type-evenement.view-mode-full div.cols div.col{flex:0 0 calc(50% - (clamp(1.5rem,2.8776978417vw,2rem)/2));max-width:calc(50% - (clamp(1.5rem,2.8776978417vw,2rem)/2))}article.node-type-evenement.view-mode-full div.cols div.col.left>header{transform-origin:0 0;width:205%;z-index:100;pointer-events:none}article.node-type-evenement.view-mode-full div.cols div.col.left>header>h2.node-title{font-size:clamp(8rem,17.2661870504vw,12rem)}article.node-type-evenement.view-mode-full div.cols div.col.right{display:flex}article.node-type-evenement.view-mode-full div.cols div.col.right .field_images{flex:1}article.node-type-evenement.view-mode-full div.cols div.col.right .field_images:after{display:block;position:relative;content:"";width:100%;height:var(--sticky-extent, 100vh)}article.node-type-evenement.view-mode-full div.cols div.col.right .field_images .field-item{position:sticky;top:0}article.node-type-evenement.view-mode-full div.cols div.col.right .field_images .field-item figure figcaption.image-field-caption{position:absolute;bottom:0;left:0;height:5em;width:100%;overflow:visible}article.node-type-evenement.view-mode-full div.cols div.col.right .field_images .field-item figure figcaption.image-field-caption blockquote{position:absolute;bottom:0;left:0;opacity:0;transition:opacity .3s ease-in-out;background-color:#000000a6}article.node-type-evenement.view-mode-full div.cols div.col.right .field_images .field-item figure figcaption.image-field-caption:hover blockquote{opacity:1}}@media (max-width: 767.98px){article.node-type-evenement.view-mode-full div.cols{display:flex;flex-direction:column}article.node-type-evenement.view-mode-full div.cols div.col,article.node-type-evenement.view-mode-full div.cols div.col.right .field_images{display:contents}article.node-type-evenement.view-mode-full div.cols div.col.left>header{order:1}article.node-type-evenement.view-mode-full div.cols div.col.right .field_images .field-item:first-child{order:2}article.node-type-evenement.view-mode-full div.cols div.col.left>:not(header):not(.spacer){order:3}article.node-type-evenement.view-mode-full div.cols div.col.right .field_images .field-item:not(:first-child){order:5}article.node-type-evenement.view-mode-full div.cols div.col.left>div.field_fichiers{order:6}article.node-type-evenement.view-mode-full div.cols div.col.left>div.field_partenaire_s{order:7}article.node-type-evenement.view-mode-full div.cols div.col.left>div.field_evenement_s_lie_s{order:8}article.node-type-evenement.view-mode-full div.cols div.col.left>div.field_projet_s_lie_s{order:9}article.node-type-evenement.view-mode-full div.cols div.col.left>div.spacer{order:20}article.node-type-evenement.view-mode-full div.cols div.col.left>header>h2.node-title{font-size:5em}}article.node-type-evenement.view-mode-full .field_dates.digit-dates{transform-origin:0 0;display:flex;position:relative;line-height:1;letter-spacing:-.1em;--ref: clamp(4.6666666667rem, 10.071942446vw, 7rem)}article.node-type-evenement.view-mode-full .field_dates.digit-dates time{position:relative;display:grid;grid-template-columns:var(--ref) calc(var(--ref) * 7 / 18);grid-template-rows:calc(var(--ref) / 2.3) calc(var(--ref) / 2.3);grid-template-areas:"day month" "day year"}article.node-type-evenement.view-mode-full .field_dates.digit-dates time span.date-day{grid-area:day;font-size:var(--ref);font-weight:100;font-style:italic}article.node-type-evenement.view-mode-full .field_dates.digit-dates time span.date-month{grid-area:month;align-self:end;font-weight:400}article.node-type-evenement.view-mode-full .field_dates.digit-dates time span.date-year{grid-area:year;align-self:end;font-weight:700}article.node-type-evenement.view-mode-full .field_dates.digit-dates time span.date-month,article.node-type-evenement.view-mode-full .field_dates.digit-dates time span.date-year{font-size:calc(var(--ref) / 2.45)}article.node-type-evenement.view-mode-full .field_dates.digit-dates span.date-sep{font-size:calc(var(--ref) / 2);padding:0 .2em}div.views-archives-projets>header{padding-bottom:2em}div.views-archives-projets>header h3{font-size:1em;margin:0 0 .5em;font-weight:400}div.views-archives-projets>header ul{padding:0;margin:0;display:flex;flex-direction:row;flex-wrap:wrap;gap:1em}div.views-archives-projets>header ul li{list-style:none;line-height:.4}div.views-archives-projets div.view-content{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));column-gap:clamp(1.5rem,2.8776978417vw,2rem);row-gap:0;align-items:start}div.views-archives-projets div.view-content>.views-row{margin-bottom:clamp(1.5rem,2.8776978417vw,2rem);display:flex;flex-direction:column}@media (max-width: 767.98px){div.views-archives-projets div.view-content{grid-template-columns:repeat(2,minmax(0,1fr))}}div.views-archives-projets article.node-type-projet.view-mode-tableau_liste>header>h2{font-size:clamp(3.78rem,7.1942446043vw,5rem)}div.views-archives-projets article.node-type-projet.view-mode-tableau_liste .field_artiste_s_invite_s{font-size:clamp(1.323rem,2.5899280576vw,1.8rem);font-weight:300}div.views-archives-projets article.node-type-projet.view-mode-tableau_liste .field_type_d_evenement,div.views-archives-projets article.node-type-projet.view-mode-tableau_liste .field_type_de_projet{font-weight:400}div.views-archives-projets article.node-type-projet.view-mode-tableau_liste.has-image>header>h2{position:relative;max-height:1em;overflow:visible;z-index:10}div.views-archives-projets article.node-type-projet.view-mode-tableau_liste.has-image>header>h2[data-overflow-lines="1"]{max-height:1em}div.views-archives-projets article.node-type-projet.view-mode-tableau_liste.has-image>header>h2[data-overflow-lines="2"]{max-height:2em}div.views-archives-projets article.node-type-projet.view-mode-tableau_liste.has-image>header>h2[data-overflow-lines="3"]{max-height:3em}div.views-archives-projets article.node-type-projet.view-mode-tableau_liste.has-image>header>h2[data-overflow-lines="4"]{max-height:4em}div.views-archives-projets article.node-type-projet.view-mode-tableau_liste.has-image>header>h2[data-overflow-lines="5"]{max-height:5em}div.views-archives-projets article.node-type-projet.view-mode-tableau_liste.has-image>header>h2[data-overflow-lines="6"]{max-height:6em}div.views-archives-projets article.node-type-projet.view-mode-tableau_liste.has-image>header>h2[data-overflow-lines="7"]{max-height:7em}div.views-archives-projets article.node-type-projet.view-mode-tableau_liste.has-image>header>h2[data-overflow-lines="8"]{max-height:8em}div.views-archives-projets article.node-type-projet.view-mode-tableau_liste.has-image>header>h2[data-overflow-lines="9"]{max-height:9em}div.views-archives-projets article.node-type-projet.view-mode-tableau_liste.has-image>header>h2[data-overflow-lines="10"]{max-height:10em}div.views-archives-projets article.node-type-projet.view-mode-tableau_liste.has-image>header div.field_images{position:relative;z-index:5}div.views-archives-projets article.node-type-projet.view-mode-tableau_liste.has-image>header div.field_images a{display:block}div.views-archives-projets article.node-type-projet.view-mode-tableau_liste.has-image>header div.field_images a img{width:100%;height:auto}div.views-archives-projets article.node-type-projet.view-mode-tableau_liste div.field_artiste_s_invite_s.field-items.multiple .field-item{display:inline-block}div.views-archives-projets article.node-type-projet.view-mode-tableau_liste div.field_artiste_s_invite_s.field-items.multiple .field-item:not(:last-of-type):after{content:", "}div.views-archives-projets article.node-type-projet.view-mode-tableau_liste>header>h2{font-size:3em}form#views-exposed-form-archives-page-1 div.bef-links ul{margin:0;padding:0;display:flex;flex-direction:row;flex-wrap:wrap}form#views-exposed-form-archives-page-1 div.bef-links ul li{list-style:none;flex:0 1 auto;padding:.2em .5em;font-size:.756em}div.views-archives-evenements>header h3{font-size:1em;margin:0 0 .5em;font-weight:400}div.views-archives-evenements>header ul.leshed-term-links{padding:0;margin:0 0 2em;display:flex;flex-direction:row;flex-wrap:wrap;gap:1em}div.views-archives-evenements>header ul.leshed-term-links li{list-style:none;line-height:.4}div.views-archives-evenements>h3{margin-bottom:0}div.views-archives-evenements>h3 span.month{font-size:.7em;font-weight:300}div.views-archives-evenements>h3 span.year{font-size:.7em;font-weight:700}div.views-archives-evenements header>p:last-of-type{margin:0;font-weight:400}div.views-archives-evenements article.node-type-evenement.view-mode-calendrier{border-top:1px solid #ccc;padding:2em 0 1em}div.views-archives-evenements article.node-type-evenement.view-mode-calendrier header .field_dates{display:flex;position:relative;line-height:1;letter-spacing:-.1em;--ref: clamp(2.3333333333rem, 5.035971223vw, 3.5rem)}div.views-archives-evenements article.node-type-evenement.view-mode-calendrier header .field_dates time{position:relative;display:grid;grid-template-columns:var(--ref) calc(var(--ref) * 7 / 18);grid-template-rows:calc(var(--ref) / 2.3) calc(var(--ref) / 2.3);grid-template-areas:"day month" "day year"}div.views-archives-evenements article.node-type-evenement.view-mode-calendrier header .field_dates time span.date-day{grid-area:day;font-size:var(--ref);font-weight:100;font-style:italic}div.views-archives-evenements article.node-type-evenement.view-mode-calendrier header .field_dates time span.date-month{grid-area:month;align-self:end;font-weight:400}div.views-archives-evenements article.node-type-evenement.view-mode-calendrier header .field_dates time span.date-year{grid-area:year;align-self:end;font-weight:700}div.views-archives-evenements article.node-type-evenement.view-mode-calendrier header .field_dates time span.date-month,div.views-archives-evenements article.node-type-evenement.view-mode-calendrier header .field_dates time span.date-year{font-size:calc(var(--ref) / 2.45)}div.views-archives-evenements article.node-type-evenement.view-mode-calendrier header .field_dates span.date-sep{font-size:calc(var(--ref) / 2);padding:0 .2em}div.views-archives-evenements article.node-type-evenement.view-mode-calendrier header .field_dates span.date-sep{display:block;width:1em;height:0;overflow:visible;transform:translate(.1em);padding:0}div.views-archives-evenements article.node-type-evenement.view-mode-calendrier section.content h2.node-title{font-size:3em}div.views-archives-evenements article.node-type-evenement.view-mode-calendrier section.content div.field_artiste_s_invite_s{font-size:clamp(1.134rem,2.5899280576vw,1.8rem)}div.views-archives-evenements article.node-type-evenement.view-mode-calendrier section.content div.field_artiste_s_invite_s .field-item{display:inline-block}div.views-archives-evenements article.node-type-evenement.view-mode-calendrier section.content div.field_artiste_s_invite_s .field-item:not(:last-child):after{content:", "}div.views-archives-evenements article.node-type-evenement.view-mode-calendrier section.content div.field_type_d_evenement .field-item{font-weight:400}div.views-archives-evenements article.node-type-evenement.view-mode-calendrier section.last-cel .field_images a{display:block;width:100%;height:12em;overflow:hidden}div.views-archives-evenements article.node-type-evenement.view-mode-calendrier section.last-cel .field_images a img{width:100%;height:100%;object-fit:cover;object-position:center}@media (min-width: 768px){div.views-archives-evenements article.node-type-evenement.view-mode-calendrier{display:flex;flex-direction:row;gap:1em}div.views-archives-evenements article.node-type-evenement.view-mode-calendrier header{flex:0 1 auto;padding:0 1em 0 0}div.views-archives-evenements article.node-type-evenement.view-mode-calendrier header .field_dates{flex-direction:column;align-items:center;gap:.6em}div.views-archives-evenements article.node-type-evenement.view-mode-calendrier header .field_dates span.date-sep{transform-origin:center;transform:rotate(90deg) translate(.1em);line-height:0;padding:0}div.views-archives-evenements article.node-type-evenement.view-mode-calendrier section.content{flex:1 1 auto}div.views-archives-evenements article.node-type-evenement.view-mode-calendrier section.last-cel{flex:0 1 auto}div.views-archives-evenements article.node-type-evenement.view-mode-calendrier section.last-cel .field_images a{width:12em;height:12em}div.views-archives-evenements article.node-type-evenement.view-mode-calendrier section.last-cel .field_images a img{object-fit:contain;object-position:top right}}div.views-recherche>header.recherche-header{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1em clamp(1.5rem,2.8776978417vw,2rem);padding:1em 0 2.5em}div.views-recherche>header.recherche-header p.recherche-resume{margin:0}div.views-recherche>header.recherche-header p.recherche-resume em{font-style:italic;font-weight:600}div.views-recherche>header.recherche-header form.search-pill{--search-pill-width: 15rem}div.views-recherche div.view-content{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));column-gap:clamp(1.5rem,2.8776978417vw,2rem);row-gap:0;align-items:start}div.views-recherche div.view-content>.views-row{margin-bottom:clamp(1.5rem,2.8776978417vw,2rem);display:flex;flex-direction:column}@media (max-width: 767.98px){div.views-recherche div.view-content{grid-template-columns:repeat(2,minmax(0,1fr))}}div.views-recherche article.node-type-projet.view-mode-teaser>header>h2{font-size:clamp(3.78rem,7.1942446043vw,5rem)}div.views-recherche article.node-type-projet.view-mode-teaser .field_artiste_s_invite_s{font-size:clamp(1.323rem,2.5899280576vw,1.8rem);font-weight:300}div.views-recherche article.node-type-projet.view-mode-teaser .field_type_d_evenement,div.views-recherche article.node-type-projet.view-mode-teaser .field_type_de_projet{font-weight:400}div.views-recherche article.node-type-projet.view-mode-teaser.has-image>header>h2{position:relative;max-height:1em;overflow:visible;z-index:10}div.views-recherche article.node-type-projet.view-mode-teaser.has-image>header>h2[data-overflow-lines="1"]{max-height:1em}div.views-recherche article.node-type-projet.view-mode-teaser.has-image>header>h2[data-overflow-lines="2"]{max-height:2em}div.views-recherche article.node-type-projet.view-mode-teaser.has-image>header>h2[data-overflow-lines="3"]{max-height:3em}div.views-recherche article.node-type-projet.view-mode-teaser.has-image>header>h2[data-overflow-lines="4"]{max-height:4em}div.views-recherche article.node-type-projet.view-mode-teaser.has-image>header>h2[data-overflow-lines="5"]{max-height:5em}div.views-recherche article.node-type-projet.view-mode-teaser.has-image>header>h2[data-overflow-lines="6"]{max-height:6em}div.views-recherche article.node-type-projet.view-mode-teaser.has-image>header>h2[data-overflow-lines="7"]{max-height:7em}div.views-recherche article.node-type-projet.view-mode-teaser.has-image>header>h2[data-overflow-lines="8"]{max-height:8em}div.views-recherche article.node-type-projet.view-mode-teaser.has-image>header>h2[data-overflow-lines="9"]{max-height:9em}div.views-recherche article.node-type-projet.view-mode-teaser.has-image>header>h2[data-overflow-lines="10"]{max-height:10em}div.views-recherche article.node-type-projet.view-mode-teaser.has-image>header div.field_images{position:relative;z-index:5}div.views-recherche article.node-type-projet.view-mode-teaser.has-image>header div.field_images a{display:block}div.views-recherche article.node-type-projet.view-mode-teaser.has-image>header div.field_images a img{width:100%;height:auto}div.views-recherche article.node-type-projet.view-mode-teaser div.field_artiste_s_invite_s.field-items.multiple .field-item{display:inline-block}div.views-recherche article.node-type-projet.view-mode-teaser div.field_artiste_s_invite_s.field-items.multiple .field-item:not(:last-of-type):after{content:", "}div.views-recherche article.node-type-projet.view-mode-teaser>header>h2{font-size:3em}div.views-recherche article.node-type-projet.view-mode-teaser .body,div.views-recherche article.node-type-projet.view-mode-teaser .field_infos_pratiques,div.views-recherche article.node-type-projet.view-mode-teaser .field_lieu{display:none}div.views-recherche article.node-type-projet.view-mode-teaser .field_artiste_s_invite_s,div.views-recherche article.node-type-projet.view-mode-teaser .field_type_de_projet,div.views-recherche article.node-type-projet.view-mode-teaser .field_type_d_evenement{font-size:.9em;font-weight:300;line-height:1.3}div.views-recherche article.node-type-projet.view-mode-teaser .field_artiste_s_invite_s{margin-top:.4em}div.views-recherche article.node-type-evenement.view-mode-teaser>header>h2{font-size:clamp(3.78rem,7.1942446043vw,5rem)}div.views-recherche article.node-type-evenement.view-mode-teaser .field_artiste_s_invite_s{font-size:clamp(1.323rem,2.5899280576vw,1.8rem);font-weight:300}div.views-recherche article.node-type-evenement.view-mode-teaser .field_type_d_evenement,div.views-recherche article.node-type-evenement.view-mode-teaser .field_type_de_projet{font-weight:400}div.views-recherche article.node-type-evenement.view-mode-teaser.has-image>header>h2{position:relative;max-height:1em;overflow:visible;z-index:10}div.views-recherche article.node-type-evenement.view-mode-teaser.has-image>header>h2[data-overflow-lines="1"]{max-height:1em}div.views-recherche article.node-type-evenement.view-mode-teaser.has-image>header>h2[data-overflow-lines="2"]{max-height:2em}div.views-recherche article.node-type-evenement.view-mode-teaser.has-image>header>h2[data-overflow-lines="3"]{max-height:3em}div.views-recherche article.node-type-evenement.view-mode-teaser.has-image>header>h2[data-overflow-lines="4"]{max-height:4em}div.views-recherche article.node-type-evenement.view-mode-teaser.has-image>header>h2[data-overflow-lines="5"]{max-height:5em}div.views-recherche article.node-type-evenement.view-mode-teaser.has-image>header>h2[data-overflow-lines="6"]{max-height:6em}div.views-recherche article.node-type-evenement.view-mode-teaser.has-image>header>h2[data-overflow-lines="7"]{max-height:7em}div.views-recherche article.node-type-evenement.view-mode-teaser.has-image>header>h2[data-overflow-lines="8"]{max-height:8em}div.views-recherche article.node-type-evenement.view-mode-teaser.has-image>header>h2[data-overflow-lines="9"]{max-height:9em}div.views-recherche article.node-type-evenement.view-mode-teaser.has-image>header>h2[data-overflow-lines="10"]{max-height:10em}div.views-recherche article.node-type-evenement.view-mode-teaser.has-image>header div.field_images{position:relative;z-index:5}div.views-recherche article.node-type-evenement.view-mode-teaser.has-image>header div.field_images a{display:block}div.views-recherche article.node-type-evenement.view-mode-teaser.has-image>header div.field_images a img{width:100%;height:auto}div.views-recherche article.node-type-evenement.view-mode-teaser>header .field_dates{font-size:clamp(1.512rem,4.3165467626vw,3rem);line-height:1;letter-spacing:-.1em}div.views-recherche article.node-type-evenement.view-mode-teaser>header .field_dates time span.date-part:not(:last-child):after{content:"."}div.views-recherche article.node-type-evenement.view-mode-teaser>header .field_dates time span.date-day{font-weight:100}div.views-recherche article.node-type-evenement.view-mode-teaser>header .field_dates time span.date-month{font-weight:300}div.views-recherche article.node-type-evenement.view-mode-teaser>header .field_dates time span.date-year{font-weight:500}div.views-recherche article.node-type-evenement.view-mode-teaser>header>h2{font-size:3em}div.views-recherche article.node-type-evenement.view-mode-teaser .body,div.views-recherche article.node-type-evenement.view-mode-teaser .field_infos_pratiques,div.views-recherche article.node-type-evenement.view-mode-teaser .field_lieu{display:none}div.views-recherche article.node-type-evenement.view-mode-teaser .field_artiste_s_invite_s,div.views-recherche article.node-type-evenement.view-mode-teaser .field_type_de_projet,div.views-recherche article.node-type-evenement.view-mode-teaser .field_type_d_evenement{font-size:.9em;font-weight:300;line-height:1.3}div.views-recherche article.node-type-evenement.view-mode-teaser .field_artiste_s_invite_s{margin-top:.4em}div.views-recherche div.view-empty{padding-bottom:4em}div.views-recherche nav.pager ul{display:flex;justify-content:center;gap:1em;padding:0}div.views-recherche nav.pager ul li{list-style:none}div.views-recherche nav.pager ul li.is-active{font-weight:600}.splitting .word,.splitting .char{display:inline-block}.splitting .char{position:relative}.splitting .char:before,.splitting .char:after{content:attr(data-char);position:absolute;top:0;left:0;visibility:hidden;transition:inherit;-webkit-user-select:none;user-select:none}.splitting{--word-center: calc((var(--word-total) - 1) / 2);--char-center: calc((var(--char-total) - 1) / 2);--line-center: calc((var(--line-total) - 1) / 2)}.splitting .word{--word-percent: calc(var(--word-index) / var(--word-total));--line-percent: calc(var(--line-index) / var(--line-total))}.splitting .char{--char-percent: calc(var(--char-index) / var(--char-total));--char-offset: calc(var(--char-index) - var(--char-center));--distance: calc( (var(--char-offset) * var(--char-offset)) / var(--char-center) );--distance-sine: calc(var(--char-offset) / var(--char-center));--distance-percent: calc((var(--distance) / var(--char-center)))}.splitting.cells img{width:100%;display:block}@supports (display: grid){.splitting.cells{position:relative;overflow:hidden;background-size:cover;visibility:hidden}.splitting .cell-grid{background:inherit;position:absolute;top:0;left:0;width:100%;height:100%;display:grid;grid-template:repeat(var(--row-total),1fr) / repeat(var(--col-total),1fr)}.splitting .cell{background:inherit;position:relative;overflow:hidden}.splitting .cell-inner{background:inherit;position:absolute;visibility:visible;width:calc(100% * var(--col-total));height:calc(100% * var(--row-total));left:calc(-100% * var(--col-index));top:calc(-100% * var(--row-index))}.splitting .cell{--center-x: calc((var(--col-total) - 1) / 2);--center-y: calc((var(--row-total) - 1) / 2);--offset-x: calc(var(--col-index) - var(--center-x));--offset-y: calc(var(--row-index) - var(--center-y));--distance-x: calc( (var(--offset-x) * var(--offset-x)) / var(--center-x) );--distance-y: calc( (var(--offset-y) * var(--offset-y)) / var(--center-y) )}} diff --git a/web/themes/custom/leshed/assets/dist/main.js b/web/themes/custom/leshed/assets/dist/main.js index da3c239..537a3e8 100644 --- a/web/themes/custom/leshed/assets/dist/main.js +++ b/web/themes/custom/leshed/assets/dist/main.js @@ -27,4 +27,4 @@ var _l=Object.defineProperty;var ml=(o,e,i)=>e in o?_l(o,e,{enumerable:!0,config * Subject to the terms at https://gsap.com/standard-license * @author: Jack Doyle, jack@greensock.com */var $,cr,_e,Se,Ht,we,Zs,Yn,an,qr,zr,gn,gt,Gn,ks,Ct,ko,Po,fr,Ka,ns,Qa,Tt,Ps,Za,Ja,Ei,Ms,Js,xr,eo,Ur,Os,ss,_n=1,_t=Date.now,os=_t(),ei=0,Fr=0,Mo=function(e,i,t){var r=It(e)&&(e.substr(0,6)==="clamp("||e.indexOf("max")>-1);return t["_"+i+"Clamp"]=r,r?e.substr(6,e.length-7):e},Oo=function(e,i){return i&&(!It(e)||e.substr(0,6)!=="clamp(")?"clamp("+e+")":e},Wu=function o(){return Fr&&requestAnimationFrame(o)},Ro=function(){return Gn=1},Ao=function(){return Gn=0},fi=function(e){return e},Ir=function(e){return Math.round(e*1e5)/1e5||0},el=function(){return typeof window<"u"},tl=function(){return $||el()&&($=window.gsap)&&$.registerPlugin&&$},ir=function(e){return!!~Zs.indexOf(e)},il=function(e){return(e==="Height"?eo:_e["inner"+e])||Ht["client"+e]||we["client"+e]},rl=function(e){return zi(e,"getBoundingClientRect")||(ir(e)?function(){return Dn.width=_e.innerWidth,Dn.height=eo,Dn}:function(){return yi(e)})},Yu=function(e,i,t){var r=t.d,n=t.d2,s=t.a;return(s=zi(e,"getBoundingClientRect"))?function(){return s()[r]}:function(){return(i?il(n):e["client"+n])||0}},Xu=function(e,i){return!i||~gi.indexOf(e)?rl(e):function(){return Dn}},pi=function(e,i){var t=i.s,r=i.d2,n=i.d,s=i.a;return Math.max(0,(t="scroll"+r)&&(s=zi(e,t))?s()-rl(e)()[n]:ir(e)?(Ht[t]||we[t])-il(r):e[t]-e["offset"+r])},mn=function(e,i){for(var t=0;t0){for(r-=s,a=0;a=r)return t[a];return t[a-1]}else for(a=t.length,r+=s;a--;)if(t[a]<=r)return t[a];return t[0]}:function(r,n,s){s===void 0&&(s=.001);var a=i(r);return!n||Math.abs(a-r)t&&(r*=i/100),e=e.substr(0,t-1)),e=r+(e in Vn?Vn[e]*i:~e.indexOf("%")?parseFloat(e)*i/100:parseFloat(e)||0)}return e},bn=function(e,i,t,r,n,s,a,l){var u=n.startColor,c=n.endColor,p=n.fontSize,h=n.indent,f=n.fontWeight,g=Se.createElement("div"),d=ir(t)||zi(t,"pinType")==="fixed",v=e.indexOf("scroller")!==-1,w=d?we:t.tagName==="IFRAME"?t.contentDocument.body:t,x=e.indexOf("start")!==-1,b=x?u:c,S="border-color:"+b+";font-size:"+p+";color:"+b+";font-weight:"+f+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return S+="position:"+((v||l)&&d?"fixed;":"absolute;"),(v||l||!d)&&(S+=(r===Ke?to:io)+":"+(s+parseFloat(h))+"px;"),a&&(S+="box-sizing:border-box;text-align:left;width:"+a.offsetWidth+"px;"),g._isStart=x,g.setAttribute("class","gsap-marker-"+e+(i?" marker-"+i:"")),g.style.cssText=S,g.innerText=i||i===0?e+"-"+i:e,w.children[0]?w.insertBefore(g,w.children[0]):w.appendChild(g),g._offset=g["offset"+r.op.d2],On(g,0,r,x),g},On=function(e,i,t,r){var n={display:"block"},s=t[r?"os2":"p2"],a=t[r?"p2":"os2"];e._isFlipped=r,n[t.a+"Percent"]=r?-100:0,n[t.a]=r?"1px":0,n["border"+s+kr]=1,n["border"+a+kr]=0,n[t.p]=i+"px",$.set(e,n)},de=[],Rs={},ln,zo=function(){return _t()-ei>34&&(ln||(ln=requestAnimationFrame(bi)))},ur=function(){(!Tt||!Tt.isPressed||Tt.startX>we.clientWidth)&&(me.cache++,Tt?ln||(ln=requestAnimationFrame(bi)):bi(),ei||nr("scrollStart"),ei=_t())},as=function(){Ja=_e.innerWidth,Za=_e.innerHeight},Hr=function(e){me.cache++,(e===!0||!gt&&!Qa&&!Se.fullscreenElement&&!Se.webkitFullscreenElement&&(!Ps||Ja!==_e.innerWidth||Math.abs(_e.innerHeight-Za)>_e.innerHeight*.25))&&Yn.restart(!0)},rr={},$u=[],al=function o(){return et(fe,"scrollEnd",o)||Gi(!0)},nr=function(e){return rr[e]&&rr[e].map(function(i){return i()})||$u},Ft=[],ll=function(e){for(var i=0;in,a=r._startClamp&&r.start>=n;(s||a)&&r.setPositions(a?n-1:r.start,s?Math.max(a?n:r.start+1,n):r.end,!0)}),Io(!1),Os=0,t.forEach(function(r){return r&&r.render&&r.render(-1)}),me.forEach(function(r){vt(r)&&(r.smooth&&requestAnimationFrame(function(){return r.target.style.scrollBehavior="smooth"}),r.rec&&r(r.rec))}),cl(Js,1),Yn.pause(),tr++,Et=2,bi(2),de.forEach(function(r){return vt(r.vars.onRefresh)&&r.vars.onRefresh(r)}),Et=fe.isRefreshing=!1,nr("refresh")},As=0,Rn=1,Qr,bi=function(e){if(e===2||!Et&&!Ur){fe.isUpdating=!0,Qr&&Qr.update(0);var i=de.length,t=_t(),r=t-os>=50,n=i&&de[0].scroll();if(Rn=As>n?-1:1,Et||(As=n),r&&(ei&&!Gn&&t-ei>200&&(ei=0,nr("scrollEnd")),zr=os,os=t),Rn<0){for(Ct=i;Ct-- >0;)de[Ct]&&de[Ct].update(0,r);Rn=1}else for(Ct=0;Ct20),t-=t-A}if(g&&(l[g]=e||-.001,e<0&&(e=0)),s){var N=e+t,D=s._isStart;v="scroll"+r.d2,On(s,N,r,D&&N>20||!D&&(p?Math.max(we[v],Ht[v]):s.parentNode[v])<=N+1),p&&(u=yi(a),p&&(s.style[r.op.p]=u[r.op.p]-r.op.m-s._offset+je))}return f&&x&&(v=yi(x),f.seek(h),w=yi(x),f._caScrollDist=v[r.p]-w[r.p],e=e/f._caScrollDist*h),f&&f.seek(d),f?e:Math.round(e)},Zu=/(webkit|moz|length|cssText|inset)/i,Ho=function(e,i,t,r){if(e.parentNode!==i){var n=e.style,s,a;if(i===we){e._stOrig=n.cssText,a=Qt(e);for(s in a)!+s&&!Zu.test(s)&&a[s]&&typeof n[s]=="string"&&s!=="0"&&(n[s]=a[s]);n.top=t,n.left=r}else n.cssText=e._stOrig;$.core.getCache(e).uncache=1,i.appendChild(e)}},hl=function(e,i,t){var r=i,n=r;return function(s){var a=Math.round(e());return a!==r&&a!==n&&Math.abs(a-r)>3&&Math.abs(a-n)>3&&(s=a,t&&t()),n=r,r=Math.round(s),r}},Sn=function(e,i,t){var r={};r[i.p]="+="+t,$.set(e,r)},Bo=function(e,i){var t=Hi(e,i),r="_scroll"+i.p2,n=function s(a,l,u,c,p){var h=s.tween,f=l.onComplete,g={};u=u||t();var d=hl(t,u,function(){h.kill(),s.tween=0});return p=c&&p||0,c=c||a-u,h&&h.kill(),l[r]=a,l.inherit=!1,l.modifiers=g,g[r]=function(){return d(u+c*h.ratio+p*h.ratio*h.ratio)},l.onUpdate=function(){me.cache++,s.tween&&bi()},l.onComplete=function(){s.tween=0,f&&f.call(h)},h=s.tween=$.to(e,l),h};return e[r]=t,t.wheelHandler=function(){return n.tween&&n.tween.kill()&&(n.tween=0)},tt(e,"wheel",t.wheelHandler),fe.isTouch&&tt(e,"touchmove",t.wheelHandler),n},fe=function(){function o(i,t){cr||o.register($)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),Ms(this),this.init(i,t)}var e=o.prototype;return e.init=function(t,r){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),!Fr){this.update=this.refresh=this.kill=fi;return}t=Do(It(t)||Nr(t)||t.nodeType?{trigger:t}:t,xn);var n=t,s=n.onUpdate,a=n.toggleClass,l=n.id,u=n.onToggle,c=n.onRefresh,p=n.scrub,h=n.trigger,f=n.pin,g=n.pinSpacing,d=n.invalidateOnRefresh,v=n.anticipatePin,w=n.onScrubComplete,x=n.onSnapComplete,b=n.once,S=n.snap,P=n.pinReparent,A=n.pinSpacer,T=n.containerAnimation,N=n.fastScrollEnd,D=n.preventOverlaps,L=t.horizontal||t.containerAnimation&&t.horizontal!==!1?kt:Ke,se=!p&&p!==0,Y=Pt(t.scroller||_e),ue=$.core.getCache(Y),ee=ir(Y),he=("pinType"in t?t.pinType:zi(Y,"pinType")||ee&&"fixed")==="fixed",le=[t.onEnter,t.onLeave,t.onEnterBack,t.onLeaveBack],Q=se&&t.toggleActions.split(" "),J="markers"in t?t.markers:xn.markers,xe=ee?0:parseFloat(Qt(Y)["border"+L.p2+kr])||0,y=this,Ce=t.onRefreshInit&&function(){return t.onRefreshInit(y)},rt=Yu(Y,ee,L),xt=Xu(Y,ee),Me=0,$e=0,Qe=0,De=Hi(Y,L),nt,Ze,ni,st,Je,ve,Le,ft,ot,E,bt,$t,si,Oe,ti,Gt,oi,_,m,k,C,O,I,z,M,F,U,R,X,V,Z,B,oe,te,q,ie,be,ae,pe;if(y._startClamp=y._endClamp=!1,y._dir=L,v*=45,y.scroller=Y,y.scroll=T?T.time.bind(T):De,st=De(),y.vars=t,r=r||t.animation,"refreshPriority"in t&&(Ka=1,t.refreshPriority===-9999&&(Qr=y)),ue.tweenScroll=ue.tweenScroll||{top:Bo(Y,Ke),left:Bo(Y,kt)},y.tweenTo=nt=ue.tweenScroll[L.p],y.scrubDuration=function(H){oe=Nr(H)&&H,oe?B?B.duration(H):B=$.to(r,{ease:"expo",totalProgress:"+=0",inherit:!1,duration:oe,paused:!0,onComplete:function(){return w&&w(y)}}):(B&&B.progress(1).kill(),B=0)},r&&(r.vars.lazy=!1,r._initted&&!y.isReverted||r.vars.immediateRender!==!1&&t.immediateRender!==!1&&r.duration()&&r.render(0,!0,!0),y.animation=r.pause(),r.scrollTrigger=y,y.scrubDuration(p),V=0,l||(l=r.vars.id)),S&&((!Ui(S)||S.push)&&(S={snapTo:S}),"scrollBehavior"in we.style&&$.set(ee?[we,Ht]:Y,{scrollBehavior:"auto"}),me.forEach(function(H){return vt(H)&&H.target===(ee?Se.scrollingElement||Ht:Y)&&(H.smooth=!1)}),ni=vt(S.snapTo)?S.snapTo:S.snapTo==="labels"?qu(r):S.snapTo==="labelsDirectional"?Uu(r):S.directional!==!1?function(H,re){return no(S.snapTo)(H,_t()-$e<500?0:re.direction)}:$.utils.snap(S.snapTo),te=S.duration||{min:.1,max:2},te=Ui(te)?qr(te.min,te.max):qr(te,te),q=$.delayedCall(S.delay||oe/2||.1,function(){var H=De(),re=_t()-$e<500,j=nt.tween;if((re||Math.abs(y.getVelocity())<10)&&!j&&!Gn&&Me!==H){var ne=(H-ve)/Oe,He=r&&!se?r.totalProgress():ne,ge=re?0:(He-Z)/(_t()-zr)*1e3||0,Ye=$.utils.clamp(-ne,1-ne,lr(ge/2)*ge/.185),ht=ne+(S.inertia===!1?0:Ye),Be,Re,Ee=S,ii=Ee.onStart,ze=Ee.onInterrupt,zt=Ee.onComplete;if(Be=ni(ht,y),Nr(Be)||(Be=ht),Re=Math.max(0,Math.round(ve+Be*Oe)),H<=Le&&H>=ve&&Re!==H){if(j&&!j._initted&&j.data<=lr(Re-H))return;S.inertia===!1&&(Ye=Be-ne),nt(Re,{duration:te(lr(Math.max(lr(ht-He),lr(Be-He))*.185/ge/.05||0)),ease:S.ease||"power3",data:lr(Re-H),onInterrupt:function(){return q.restart(!0)&&ze&&ar(y,ze)},onComplete:function(){y.update(),Me=De(),r&&!se&&(B?B.resetTo("totalProgress",Be,r._tTime/r._tDur):r.progress(Be)),V=Z=r&&!se?r.totalProgress():y.progress,x&&x(y),zt&&ar(y,zt)}},H,Ye*Oe,Re-H-Ye*Oe),ii&&ar(y,ii,nt.tween)}}else y.isActive&&Me!==H&&q.restart(!0)}).pause()),l&&(Rs[l]=y),h=y.trigger=Pt(h||f!==!0&&f),pe=h&&h._gsap&&h._gsap.stRevert,pe&&(pe=pe(y)),f=f===!0?h:Pt(f),It(a)&&(a={targets:h,className:a}),f&&(g===!1||g===Kt||(g=!g&&f.parentNode&&f.parentNode.style&&Qt(f.parentNode).display==="flex"?!1:qe),y.pin=f,Ze=$.core.getCache(f),Ze.spacer?ti=Ze.pinState:(A&&(A=Pt(A),A&&!A.nodeType&&(A=A.current||A.nativeElement),Ze.spacerIsNative=!!A,A&&(Ze.spacerState=wn(A))),Ze.spacer=_=A||Se.createElement("div"),_.classList.add("pin-spacer"),l&&_.classList.add("pin-spacer-"+l),Ze.pinState=ti=wn(f)),t.force3D!==!1&&$.set(f,{force3D:!0}),y.spacer=_=Ze.spacer,X=Qt(f),z=X[g+L.os2],k=$.getProperty(f),C=$.quickSetter(f,L.a,je),ls(f,_,X),oi=wn(f)),J){$t=Ui(J)?Do(J,Lo):Lo,E=bn("scroller-start",l,Y,L,$t,0),bt=bn("scroller-end",l,Y,L,$t,0,E),m=E["offset"+L.op.d2];var Te=Pt(zi(Y,"content")||Y);ft=this.markerStart=bn("start",l,Te,L,$t,m,0,T),ot=this.markerEnd=bn("end",l,Te,L,$t,m,0,T),T&&(ae=$.quickSetter([ft,ot],L.a,je)),!he&&!(gi.length&&zi(Y,"fixedMarkers")===!0)&&(Vu(ee?we:Y),$.set([E,bt],{force3D:!0}),F=$.quickSetter(E,L.a,je),R=$.quickSetter(bt,L.a,je))}if(T){var K=T.vars.onUpdate,W=T.vars.onUpdateParams;T.eventCallback("onUpdate",function(){y.update(0,0,1),K&&K.apply(T,W||[])})}if(y.previous=function(){return de[de.indexOf(y)-1]},y.next=function(){return de[de.indexOf(y)+1]},y.revert=function(H,re){if(!re)return y.kill(!0);var j=H!==!1||!y.enabled,ne=gt;j!==y.isReverted&&(j&&(ie=Math.max(De(),y.scroll.rec||0),Qe=y.progress,be=r&&r.progress()),ft&&[ft,ot,E,bt].forEach(function(He){return He.style.display=j?"none":"block"}),j&&(gt=y,y.update(j)),f&&(!P||!y.isActive)&&(j?ju(f,_,ti):ls(f,_,Qt(f),M)),j||y.update(j),gt=ne,y.isReverted=j)},y.refresh=function(H,re,j,ne){if(!((gt||!y.enabled)&&!re)){if(f&&H&&ei){tt(o,"scrollEnd",al);return}!Et&&Ce&&Ce(y),gt=y,nt.tween&&!j&&(nt.tween.kill(),nt.tween=0),B&&B.pause(),d&&r&&(r.revert({kill:!1}).invalidate(),r.getChildren?r.getChildren(!0,!0,!1).forEach(function(Ti){return Ti.vars.immediateRender&&Ti.render(0,!0,!0)}):r.vars.immediateRender&&r.render(0,!0,!0)),y.isReverted||y.revert(!0,!0),y._subPinOffset=!1;var He=rt(),ge=xt(),Ye=T?T.duration():pi(Y,L),ht=Oe<=.01||!Oe,Be=0,Re=ne||0,Ee=Ui(j)?j.end:t.end,ii=t.endTrigger||h,ze=Ui(j)?j.start:t.start||(t.start===0||!h?0:f?"0 0":"0 100%"),zt=y.pinnedContainer=t.pinnedContainer&&Pt(t.pinnedContainer,y),ai=h&&Math.max(0,de.indexOf(y))||0,at=ai,lt,dt,Wi,cn,pt,Ge,li,jn,oo,Pr,ui,Mr,fn;for(J&&Ui(j)&&(Mr=$.getProperty(E,L.p),fn=$.getProperty(bt,L.p));at-- >0;)Ge=de[at],Ge.end||Ge.refresh(0,1)||(gt=y),li=Ge.pin,li&&(li===h||li===f||li===zt)&&!Ge.isReverted&&(Pr||(Pr=[]),Pr.unshift(Ge),Ge.revert(!0,!0)),Ge!==de[at]&&(ai--,at--);for(vt(ze)&&(ze=ze(y)),ze=Mo(ze,"start",y),ve=No(ze,h,He,L,De(),ft,E,y,ge,xe,he,Ye,T,y._startClamp&&"_startClamp")||(f?-.001:0),vt(Ee)&&(Ee=Ee(y)),It(Ee)&&!Ee.indexOf("+=")&&(~Ee.indexOf(" ")?Ee=(It(ze)?ze.split(" ")[0]:"")+Ee:(Be=Mn(Ee.substr(2),He),Ee=It(ze)?ze:(T?$.utils.mapRange(0,T.duration(),T.scrollTrigger.start,T.scrollTrigger.end,ve):ve)+Be,ii=h)),Ee=Mo(Ee,"end",y),Le=Math.max(ve,No(Ee||(ii?"100% 0":Ye),ii,He,L,De()+Be,ot,bt,y,ge,xe,he,Ye,T,y._endClamp&&"_endClamp"))||-.001,Be=0,at=ai;at--;)Ge=de[at]||{},li=Ge.pin,li&&Ge.start-Ge._pinPush<=ve&&!T&&Ge.end>0&&(lt=Ge.end-(y._startClamp?Math.max(0,Ge.start):Ge.start),(li===h&&Ge.start-Ge._pinPush=pi(Y,L)))lt=Qt(f),cn=L===Ke,Wi=De(),O=parseFloat(k(L.a))+Re,!Ye&&Le>1&&(ui=(ee?Se.scrollingElement||Ht:Y).style,ui={style:ui,value:ui["overflow"+L.a.toUpperCase()]},ee&&Qt(we)["overflow"+L.a.toUpperCase()]!=="scroll"&&(ui.style["overflow"+L.a.toUpperCase()]="scroll")),ls(f,_,lt),oi=wn(f),dt=yi(f,!0),jn=he&&Hi(Y,cn?kt:Ke)(),g?(M=[g+L.os2,Oe+Re+je],M.t=_,at=g===qe?Xn(f,L)+Oe+Re:0,at&&(M.push(L.d,at+je),_.style.flexBasis!=="auto"&&(_.style.flexBasis=at+je)),br(M),zt&&de.forEach(function(Ti){Ti.pin===zt&&Ti.vars.pinSpacing!==!1&&(Ti._subPinOffset=!0)}),he&&De(ie)):(at=Xn(f,L),at&&_.style.flexBasis!=="auto"&&(_.style.flexBasis=at+je)),he&&(pt={top:dt.top+(cn?Wi-ve:jn)+je,left:dt.left+(cn?jn:Wi-ve)+je,boxSizing:"border-box",position:"fixed"},pt[Ji]=pt["max"+kr]=Math.ceil(dt.width)+je,pt[er]=pt["max"+ro]=Math.ceil(dt.height)+je,pt[Kt]=pt[Kt+jr]=pt[Kt+$r]=pt[Kt+Kr]=pt[Kt+Gr]="0",pt[qe]=lt[qe],pt[qe+jr]=lt[qe+jr],pt[qe+$r]=lt[qe+$r],pt[qe+Kr]=lt[qe+Kr],pt[qe+Gr]=lt[qe+Gr],Gt=Qu(ti,pt,P),Et&&De(0)),r?(oo=r._initted,ns(1),r.render(r.duration(),!0,!0),I=k(L.a)-O+Oe+Re,U=Math.abs(Oe-I)>1,he&&U&&Gt.splice(Gt.length-2,2),r.render(0,!0,!0),oo||r.invalidate(!0),r.parent||r.totalTime(r.totalTime()),ns(0)):I=Oe,ui&&(ui.value?ui.style["overflow"+L.a.toUpperCase()]=ui.value:ui.style.removeProperty("overflow-"+L.a));else if(h&&De()&&!T)for(dt=h.parentNode;dt&&dt!==we;)dt._pinOffset&&(ve-=dt._pinOffset,Le-=dt._pinOffset),dt=dt.parentNode;Pr&&Pr.forEach(function(Ti){return Ti.revert(!1,!0)}),y.start=ve,y.end=Le,st=Je=Et?ie:De(),!T&&!Et&&(st0?de.slice(0,re).reverse():de.slice(re+1);return(It(H)?j.filter(function(ne){return ne.vars.preventOverlaps===H}):j).filter(function(ne){return y.direction>0?ne.end<=ve:ne.start>=Le})},y.update=function(H,re,j){if(!(T&&!j&&!H)){var ne=Et===!0?ie:y.scroll(),He=H?0:(ne-ve)/Oe,ge=He<0?0:He>1?1:He||0,Ye=y.progress,ht,Be,Re,Ee,ii,ze,zt,ai;if(re&&(Je=st,st=T?De():ne,S&&(Z=V,V=r&&!se?r.totalProgress():ge)),v&&f&&!gt&&!_n&&ei&&(!ge&&vene+(ne-Je)/(_t()-zr)*v&&(ge=.9999)),ge!==Ye&&y.enabled){if(ht=y.isActive=!!ge&&ge<1,Be=!!Ye&&Ye<1,ze=ht!==Be,ii=ze||!!ge!=!!Ye,y.direction=ge>Ye?1:-1,y.progress=ge,ii&&!gt&&(Re=ge&&!Ye?0:ge===1?1:Ye===1?2:3,se&&(Ee=!ze&&Q[Re+1]!=="none"&&Q[Re+1]||Q[Re],ai=r&&(Ee==="complete"||Ee==="reset"||Ee in r))),D&&(ze||ai)&&(ai||p||!r)&&(vt(D)?D(y):y.getTrailing(D).forEach(function(Wi){return Wi.endAnimation()})),se||(B&&!gt&&!_n?(B._dp._time-B._start!==B._time&&B.render(B._dp._time-B._start),B.resetTo?B.resetTo("totalProgress",ge,r._tTime/r._tDur):(B.vars.totalProgress=ge,B.invalidate().restart())):r&&r.totalProgress(ge,!!(gt&&($e||H)))),f){if(H&&g&&(_.style[g+L.os2]=z),!he)C(Ir(O+I*ge));else if(ii){if(zt=!H&&ge>Ye&&Le+1>ne&&ne+1>=pi(Y,L),P)if(!H&&(ht||zt)){var at=yi(f,!0),lt=ne-ve;Ho(f,we,at.top+(L===Ke?lt:0)+je,at.left+(L===Ke?0:lt)+je)}else Ho(f,_);br(ht||zt?Gt:oi),U&&ge<1&&ht||C(O+(ge===1&&!zt?I:0))}}S&&!nt.tween&&!gt&&!_n&&q.restart(!0),a&&(ze||b&&ge&&(ge<1||!ss))&&an(a.targets).forEach(function(Wi){return Wi.classList[ht||b?"add":"remove"](a.className)}),s&&!se&&!H&&s(y),ii&&!gt?(se&&(ai&&(Ee==="complete"?r.pause().totalProgress(1):Ee==="reset"?r.restart(!0).pause():Ee==="restart"?r.restart(!0):r[Ee]()),s&&s(y)),(ze||!ss)&&(u&&ze&&ar(y,u),le[Re]&&ar(y,le[Re]),b&&(ge===1?y.kill(!1,1):le[Re]=0),ze||(Re=ge===1?1:3,le[Re]&&ar(y,le[Re]))),N&&!ht&&Math.abs(y.getVelocity())>(Nr(N)?N:2500)&&(Ar(y.callbackAnimation),B?B.progress(1):Ar(r,Ee==="reverse"?1:!ge,1))):se&&s&&!gt&&s(y)}if(R){var dt=T?ne/T.duration()*(T._caScrollDist||0):ne;F(dt+(E._isFlipped?1:0)),R(dt)}ae&&ae(-ne/T.duration()*(T._caScrollDist||0))}},y.enable=function(H,re){y.enabled||(y.enabled=!0,tt(Y,"resize",Hr),ee||tt(Y,"scroll",ur),Ce&&tt(o,"refreshInit",Ce),H!==!1&&(y.progress=Qe=0,st=Je=Me=De()),re!==!1&&y.refresh())},y.getTween=function(H){return H&&nt?nt.tween:B},y.setPositions=function(H,re,j,ne){if(T){var He=T.scrollTrigger,ge=T.duration(),Ye=He.end-He.start;H=He.start+Ye*H/ge,re=He.start+Ye*re/ge}y.refresh(!1,!1,{start:Oo(H,j&&!!y._startClamp),end:Oo(re,j&&!!y._endClamp)},ne),y.update()},y.adjustPinSpacing=function(H){if(M&&H){var re=M.indexOf(L.d)+1;M[re]=parseFloat(M[re])+H+je,M[1]=parseFloat(M[1])+H+je,br(M)}},y.disable=function(H,re){if(H!==!1&&y.revert(!0,!0),y.enabled&&(y.enabled=y.isActive=!1,re||B&&B.pause(),ie=0,Ze&&(Ze.uncache=1),Ce&&et(o,"refreshInit",Ce),q&&(q.pause(),nt.tween&&nt.tween.kill()&&(nt.tween=0)),!ee)){for(var j=de.length;j--;)if(de[j].scroller===Y&&de[j]!==y)return;et(Y,"resize",Hr),ee||et(Y,"scroll",ur)}},y.kill=function(H,re){y.disable(H,re),B&&!re&&B.kill(),l&&delete Rs[l];var j=de.indexOf(y);j>=0&&de.splice(j,1),j===Ct&&Rn>0&&Ct--,j=0,de.forEach(function(ne){return ne.scroller===y.scroller&&(j=1)}),j||Et||(y.scroll.rec=0),r&&(r.scrollTrigger=null,H&&r.revert({kill:!1}),re||r.kill()),ft&&[ft,ot,E,bt].forEach(function(ne){return ne.parentNode&&ne.parentNode.removeChild(ne)}),Qr===y&&(Qr=0),f&&(Ze&&(Ze.uncache=1),j=0,de.forEach(function(ne){return ne.pin===f&&j++}),j||(Ze.spacer=0)),t.onKill&&t.onKill(y)},de.push(y),y.enable(!1,!1),pe&&pe(y),r&&r.add&&!Oe){var ce=y.update;y.update=function(){y.update=ce,me.cache++,ve||Le||y.refresh()},$.delayedCall(.01,y.update),Oe=.01,ve=Le=0}else y.refresh();f&&Gu()},o.register=function(t){return cr||($=t||tl(),el()&&window.document&&o.enable(),cr=Fr),cr},o.defaults=function(t){if(t)for(var r in t)xn[r]=t[r];return xn},o.disable=function(t,r){Fr=0,de.forEach(function(s){return s[r?"kill":"disable"](t)}),et(_e,"wheel",ur),et(Se,"scroll",ur),clearInterval(gn),et(Se,"touchcancel",fi),et(we,"touchstart",fi),vn(et,Se,"pointerdown,touchstart,mousedown",Ro),vn(et,Se,"pointerup,touchend,mouseup",Ao),Yn.kill(),mn(et);for(var n=0;n0&&s.left+a<_e.innerWidth:s.bottom-a>0&&s.top+a<_e.innerHeight},o.positionInViewport=function(t,r,n){It(t)&&(t=Pt(t));var s=t.getBoundingClientRect(),a=s[n?Ji:er],l=r==null?a/2:r in Vn?Vn[r]*a:~r.indexOf("%")?parseFloat(r)*a/100:parseFloat(r)||0;return n?(s.left+l)/_e.innerWidth:(s.top+l)/_e.innerHeight},o.killAll=function(t){if(de.slice(0).forEach(function(n){return n.vars.id!=="ScrollSmoother"&&n.kill()}),t!==!0){var r=rr.killAll||[];rr={},r.forEach(function(n){return n()})}},o}();fe.version="3.15.0";fe.saveStyles=function(o){return o?an(o).forEach(function(e){if(e&&e.style){var i=Ft.indexOf(e);i>=0&&Ft.splice(i,5),Ft.push(e,e.style.cssText,e.getBBox&&e.getAttribute("transform"),$.core.getCache(e),Ms())}}):Ft};fe.revert=function(o,e){return so(!o,e)};fe.create=function(o,e){return new fe(o,e)};fe.refresh=function(o){return o?Hr(!0):(cr||fe.register())&&Gi(!0)};fe.update=function(o){return++me.cache&&bi(o===!0?2:0)};fe.clearScrollMemory=cl;fe.maxScroll=function(o,e){return pi(o,e?kt:Ke)};fe.getScrollFunc=function(o,e){return Hi(Pt(o),e?kt:Ke)};fe.getById=function(o){return Rs[o]};fe.getAll=function(){return de.filter(function(o){return o.vars.id!=="ScrollSmoother"})};fe.isScrolling=function(){return!!ei};fe.snapDirectional=no;fe.addEventListener=function(o,e){var i=rr[o]||(rr[o]=[]);~i.indexOf(e)||i.push(e)};fe.removeEventListener=function(o,e){var i=rr[o],t=i&&i.indexOf(e);t>=0&&i.splice(t,1)};fe.batch=function(o,e){var i=[],t={},r=e.interval||.016,n=e.batchMax||1e9,s=function(u,c){var p=[],h=[],f=$.delayedCall(r,function(){c(p,h),p=[],h=[]}).pause();return function(g){p.length||f.restart(!0),p.push(g.trigger),h.push(g),n<=p.length&&f.progress(1)}},a;for(a in e)t[a]=a.substr(0,2)==="on"&&vt(e[a])&&a!=="onRefreshInit"?s(a,e[a]):e[a];return vt(n)&&(n=n(),tt(fe,"refresh",function(){return n=e.batchMax()})),an(o).forEach(function(l){var u={};for(a in t)u[a]=t[a];u.trigger=l,i.push(fe.create(u))}),i};var Wo=function(e,i,t,r){return i>r?e(r):i<0&&e(0),t>r?(r-i)/(t-i):t<0?i/(i-t):1},us=function o(e,i){i===!0?e.style.removeProperty("touch-action"):e.style.touchAction=i===!0?"auto":i?"pan-"+i+(Ve.isTouch?" pinch-zoom":""):"none",e===Ht&&o(we,i)},Tn={auto:1,scroll:1},Ju=function(e){var i=e.event,t=e.target,r=e.axis,n=(i.changedTouches?i.changedTouches[0]:i).target,s=n._gsap||$.core.getCache(n),a=_t(),l;if(!s._isScrollT||a-s._isScrollT>2e3){for(;n&&n!==we&&(n.scrollHeight<=n.clientHeight&&n.scrollWidth<=n.clientWidth||!(Tn[(l=Qt(n)).overflowY]||Tn[l.overflowX]));)n=n.parentNode;s._isScroll=n&&n!==t&&!ir(n)&&(Tn[(l=Qt(n)).overflowY]||Tn[l.overflowX]),s._isScrollT=a}(s._isScroll||r==="x")&&(i.stopPropagation(),i._gsapAllow=!0)},dl=function(e,i,t,r){return Ve.create({target:e,capture:!0,debounce:!1,lockAxis:!0,type:i,onWheel:r=r&&Ju,onPress:r,onDrag:r,onScroll:r,onEnable:function(){return t&&tt(Se,Ve.eventTypes[0],Xo,!1,!0)},onDisable:function(){return et(Se,Ve.eventTypes[0],Xo,!0)}})},ec=/(input|label|select|textarea)/i,Yo,Xo=function(e){var i=ec.test(e.target.tagName);(i||Yo)&&(e._gsapAllow=!0,Yo=i)},tc=function(e){Ui(e)||(e={}),e.preventDefault=e.isNormalizer=e.allowClicks=!0,e.type||(e.type="wheel,touch"),e.debounce=!!e.debounce,e.id=e.id||"normalizer";var i=e,t=i.normalizeScrollX,r=i.momentum,n=i.allowNestedScroll,s=i.onRelease,a,l,u=Pt(e.target)||Ht,c=$.core.globals().ScrollSmoother,p=c&&c.get(),h=Ei&&(e.content&&Pt(e.content)||p&&e.content!==!1&&!p.smooth()&&p.content()),f=Hi(u,Ke),g=Hi(u,kt),d=1,v=(Ve.isTouch&&_e.visualViewport?_e.visualViewport.scale*_e.visualViewport.width:_e.outerWidth)/_e.innerWidth,w=0,x=vt(r)?function(){return r(a)}:function(){return r||2.8},b,S,P=dl(u,e.type,!0,n),A=function(){return S=!1},T=fi,N=fi,D=function(){l=pi(u,Ke),N=qr(Ei?1:0,l),t&&(T=qr(0,pi(u,kt))),b=tr},L=function(){h._gsap.y=Ir(parseFloat(h._gsap.y)+f.offset)+"px",h.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(h._gsap.y)+", 0, 1)",f.offset=f.cacheID=0},se=function(){if(S){requestAnimationFrame(A);var J=Ir(a.deltaY/2),xe=N(f.v-J);if(h&&xe!==f.v+f.offset){f.offset=xe-f.v;var y=Ir((parseFloat(h&&h._gsap.y)||0)-f.offset);h.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+y+", 0, 1)",h._gsap.y=y+"px",f.cacheID=me.cache,bi()}return!0}f.offset&&L(),S=!0},Y,ue,ee,he,le=function(){D(),Y.isActive()&&Y.vars.scrollY>l&&(f()>l?Y.progress(1)&&f(l):Y.resetTo("scrollY",l))};return h&&$.set(h,{y:"+=0"}),e.ignoreCheck=function(Q){return Ei&&Q.type==="touchmove"&&se()||d>1.05&&Q.type!=="touchstart"||a.isGesturing||Q.touches&&Q.touches.length>1},e.onPress=function(){S=!1;var Q=d;d=Ir((_e.visualViewport&&_e.visualViewport.scale||1)/v),Y.pause(),Q!==d&&us(u,d>1.01?!0:t?!1:"x"),ue=g(),ee=f(),D(),b=tr},e.onRelease=e.onGestureStart=function(Q,J){if(f.offset&&L(),!J)he.restart(!0);else{me.cache++;var xe=x(),y,Ce;t&&(y=g(),Ce=y+xe*.05*-Q.velocityX/.227,xe*=Wo(g,y,Ce,pi(u,kt)),Y.vars.scrollX=T(Ce)),y=f(),Ce=y+xe*.05*-Q.velocityY/.227,xe*=Wo(f,y,Ce,pi(u,Ke)),Y.vars.scrollY=N(Ce),Y.invalidate().duration(xe).play(.01),(Ei&&Y.vars.scrollY>=l||y>=l-1)&&$.to({},{onUpdate:le,duration:xe})}s&&s(Q)},e.onWheel=function(){Y._ts&&Y.pause(),_t()-w>1e3&&(b=0,w=_t())},e.onChange=function(Q,J,xe,y,Ce){if(tr!==b&&D(),J&&t&&g(T(y[2]===J?ue+(Q.startX-Q.x):g()+J-y[1])),xe){f.offset&&L();var rt=Ce[2]===xe,xt=rt?ee+Q.startY-Q.y:f()+xe-Ce[1],Me=N(xt);rt&&xt!==Me&&(ee+=Me-xt),f(Me)}(xe||J)&&bi()},e.onEnable=function(){us(u,t?!1:"x"),fe.addEventListener("refresh",le),tt(_e,"resize",le),f.smooth&&(f.target.style.scrollBehavior="auto",f.smooth=g.smooth=!1),P.enable()},e.onDisable=function(){us(u,!0),et(_e,"resize",le),fe.removeEventListener("refresh",le),P.kill()},e.lockAxis=e.lockAxis!==!1,a=new Ve(e),a.iOS=Ei,Ei&&!f()&&f(1),Ei&&$.ticker.add(fi),he=a._dc,Y=$.to(a,{ease:"power4",paused:!0,inherit:!1,scrollX:t?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:hl(f,f(),function(){return Y.pause()})},onUpdate:bi,onComplete:he.vars.onComplete}),a};fe.sort=function(o){if(vt(o))return de.sort(o);var e=_e.pageYOffset||0;return fe.getAll().forEach(function(i){return i._sortY=i.trigger?e+i.trigger.getBoundingClientRect().top:i.start+_e.innerHeight}),de.sort(o||function(i,t){return(i.vars.refreshPriority||0)*-1e6+(i.vars.containerAnimation?1e6:i._sortY)-((t.vars.containerAnimation?1e6:t._sortY)+(t.vars.refreshPriority||0)*-1e6)})};fe.observe=function(o){return new Ve(o)};fe.normalizeScroll=function(o){if(typeof o>"u")return Tt;if(o===!0&&Tt)return Tt.enable();if(o===!1){Tt&&Tt.kill(),Tt=o;return}var e=o instanceof Ve?o:tc(o);return Tt&&Tt.target===e.target&&Tt.kill(),ir(e.target)&&(Tt=e),e};fe.core={_getVelocityProp:Es,_inputObserver:dl,_scrollers:me,_proxies:gi,bridge:{ss:function(){ei||nr("scrollStart"),ei=_t()},ref:function(){return gt}}};tl()&&$.registerPlugin(fe);var Vo="1.3.26";function pl(o,e,i){return Math.max(o,Math.min(e,i))}function ic(o,e,i){return(1-i)*o+i*e}function rc(o,e,i,t){return ic(o,e,1-Math.exp(-i*t))}function nc(o,e){return(o%e+e)%e}var sc=class{constructor(){G(this,"isRunning",!1);G(this,"value",0);G(this,"from",0);G(this,"to",0);G(this,"currentTime",0);G(this,"lerp");G(this,"duration");G(this,"easing");G(this,"onUpdate")}advance(o){var i;if(!this.isRunning)return;let e=!1;if(this.duration&&this.easing){this.currentTime+=o;const t=pl(0,this.currentTime/this.duration,1);e=t>=1;const r=e?1:this.easing(t);this.value=this.from+(this.to-this.from)*r}else this.lerp?(this.value=rc(this.value,this.to,this.lerp*60,o),Math.round(this.value)===Math.round(this.to)&&(this.value=this.to,e=!0)):(this.value=this.to,e=!0);e&&this.stop(),(i=this.onUpdate)==null||i.call(this,this.value,e)}stop(){this.isRunning=!1}fromTo(o,e,{lerp:i,duration:t,easing:r,onStart:n,onUpdate:s}){this.from=this.value=o,this.to=e,this.lerp=i,this.duration=t,this.easing=r,this.currentTime=0,this.isRunning=!0,n==null||n(),this.onUpdate=s}};function oc(o,e){let i;return function(...t){clearTimeout(i),i=setTimeout(()=>{i=void 0,o.apply(this,t)},e)}}var ac=class{constructor(o,e,{autoResize:i=!0,debounce:t=250}={}){G(this,"width",0);G(this,"height",0);G(this,"scrollHeight",0);G(this,"scrollWidth",0);G(this,"debouncedResize");G(this,"wrapperResizeObserver");G(this,"contentResizeObserver");G(this,"resize",()=>{this.onWrapperResize(),this.onContentResize()});G(this,"onWrapperResize",()=>{this.wrapper instanceof Window?(this.width=window.innerWidth,this.height=window.innerHeight):(this.width=this.wrapper.clientWidth,this.height=this.wrapper.clientHeight)});G(this,"onContentResize",()=>{this.wrapper instanceof Window?(this.scrollHeight=this.content.scrollHeight,this.scrollWidth=this.content.scrollWidth):(this.scrollHeight=this.wrapper.scrollHeight,this.scrollWidth=this.wrapper.scrollWidth)});this.wrapper=o,this.content=e,i&&(this.debouncedResize=oc(this.resize,t),this.wrapper instanceof Window?window.addEventListener("resize",this.debouncedResize):(this.wrapperResizeObserver=new ResizeObserver(this.debouncedResize),this.wrapperResizeObserver.observe(this.wrapper)),this.contentResizeObserver=new ResizeObserver(this.debouncedResize),this.contentResizeObserver.observe(this.content)),this.resize()}destroy(){var o,e;(o=this.wrapperResizeObserver)==null||o.disconnect(),(e=this.contentResizeObserver)==null||e.disconnect(),this.wrapper===window&&this.debouncedResize&&window.removeEventListener("resize",this.debouncedResize)}get limit(){return{x:this.scrollWidth-this.width,y:this.scrollHeight-this.height}}},gl=class{constructor(){G(this,"events",{})}emit(o,...e){var t;const i=this.events[o]||[];for(let r=0,n=i.length;r{var i;this.events[o]=(i=this.events[o])==null?void 0:i.filter(t=>e!==t)}}off(o,e){var i;this.events[o]=(i=this.events[o])==null?void 0:i.filter(t=>e!==t)}destroy(){this.events={}}};const lc=100/6,Ci={passive:!1};function qo(o,e){return o===1?lc:o===2?e:1}var uc=class{constructor(o,e={wheelMultiplier:1,touchMultiplier:1}){G(this,"touchStart",{x:0,y:0});G(this,"lastDelta",{x:0,y:0});G(this,"window",{width:0,height:0});G(this,"emitter",new gl);G(this,"onTouchStart",o=>{const{clientX:e,clientY:i}=o.targetTouches?o.targetTouches[0]:o;this.touchStart.x=e,this.touchStart.y=i,this.lastDelta={x:0,y:0},this.emitter.emit("scroll",{deltaX:0,deltaY:0,event:o})});G(this,"onTouchMove",o=>{const{clientX:e,clientY:i}=o.targetTouches?o.targetTouches[0]:o,t=-(e-this.touchStart.x)*this.options.touchMultiplier,r=-(i-this.touchStart.y)*this.options.touchMultiplier;this.touchStart.x=e,this.touchStart.y=i,this.lastDelta={x:t,y:r},this.emitter.emit("scroll",{deltaX:t,deltaY:r,event:o})});G(this,"onTouchEnd",o=>{this.emitter.emit("scroll",{deltaX:this.lastDelta.x,deltaY:this.lastDelta.y,event:o})});G(this,"onWheel",o=>{let{deltaX:e,deltaY:i,deltaMode:t}=o;const r=qo(t,this.window.width),n=qo(t,this.window.height);e*=r,i*=n,e*=this.options.wheelMultiplier,i*=this.options.wheelMultiplier,this.emitter.emit("scroll",{deltaX:e,deltaY:i,event:o})});G(this,"onWindowResize",()=>{this.window={width:window.innerWidth,height:window.innerHeight}});this.element=o,this.options=e,window.addEventListener("resize",this.onWindowResize),this.onWindowResize(),this.element.addEventListener("wheel",this.onWheel,Ci),this.element.addEventListener("touchstart",this.onTouchStart,Ci),this.element.addEventListener("touchmove",this.onTouchMove,Ci),this.element.addEventListener("touchend",this.onTouchEnd,Ci)}on(o,e){return this.emitter.on(o,e)}destroy(){this.emitter.destroy(),window.removeEventListener("resize",this.onWindowResize),this.element.removeEventListener("wheel",this.onWheel,Ci),this.element.removeEventListener("touchstart",this.onTouchStart,Ci),this.element.removeEventListener("touchmove",this.onTouchMove,Ci),this.element.removeEventListener("touchend",this.onTouchEnd,Ci)}};const Uo=o=>Math.min(1,1.001-2**(-10*o));var cc=class{constructor({wrapper:o=window,content:e=document.documentElement,eventsTarget:i=o,smoothWheel:t=!0,syncTouch:r=!1,syncTouchLerp:n=.075,touchInertiaExponent:s=1.7,duration:a,easing:l,lerp:u=.1,infinite:c=!1,orientation:p="vertical",gestureOrientation:h=p==="horizontal"?"both":"vertical",touchMultiplier:f=1,wheelMultiplier:g=1,autoResize:d=!0,prevent:v,virtualScroll:w,overscroll:x=!0,autoRaf:b=!1,anchors:S=!1,autoToggle:P=!1,allowNestedScroll:A=!1,__experimental__naiveDimensions:T=!1,naiveDimensions:N=T,stopInertiaOnNavigate:D=!1,respectReducedMotion:L=!0}={}){G(this,"_isScrolling",!1);G(this,"_isStopped",!1);G(this,"_isLocked",!1);G(this,"_preventNextNativeScrollEvent",!1);G(this,"_resetVelocityTimeout",null);G(this,"_rafId",null);G(this,"_isDraggingSelection",!1);G(this,"reducedMotionMediaQuery",window.matchMedia("(prefers-reduced-motion: reduce)"));G(this,"isTouching");G(this,"isIos");G(this,"time",0);G(this,"userData",{});G(this,"lastVelocity",0);G(this,"velocity",0);G(this,"direction",0);G(this,"options");G(this,"targetScroll");G(this,"animatedScroll");G(this,"animate",new sc);G(this,"emitter",new gl);G(this,"dimensions");G(this,"virtualScroll");G(this,"onScrollEnd",o=>{o instanceof CustomEvent||(this.isScrolling==="smooth"||this.isScrolling===!1)&&o.stopPropagation()});G(this,"dispatchScrollendEvent",()=>{this.options.wrapper.dispatchEvent(new CustomEvent("scrollend",{bubbles:this.options.wrapper===window,detail:{lenisScrollEnd:!0}}))});G(this,"onTransitionEnd",o=>{var e;(e=o.propertyName)!=null&&e.includes("overflow")&&o.target===this.rootElement&&this.checkOverflow()});G(this,"onClick",o=>{const e=o.composedPath().filter(t=>t instanceof HTMLAnchorElement&&t.href).map(t=>new URL(t.href)),i=new URL(window.location.href);if(this.options.anchors){const t=e.find(r=>i.host===r.host&&i.pathname===r.pathname&&r.hash);if(t){const r=typeof this.options.anchors=="object"&&this.options.anchors?this.options.anchors:void 0,n=decodeURIComponent(t.hash);this.scrollTo(n,r);return}}if(this.options.stopInertiaOnNavigate&&e.some(t=>i.host===t.host&&i.pathname!==t.pathname)){this.reset();return}});G(this,"onPointerDown",o=>{o.button===1&&this.reset()});G(this,"onVirtualScroll",o=>{if(typeof this.options.virtualScroll=="function"&&this.options.virtualScroll(o)===!1)return;const{deltaX:e,deltaY:i,event:t}=o;if(this.emitter.emit("virtual-scroll",{deltaX:e,deltaY:i,event:t}),t.ctrlKey||t.lenisStopPropagation)return;const r=t.type.includes("touch"),n=t.type.includes("wheel");if(r&&this.isIos&&(t.type==="touchstart"&&(this._isDraggingSelection=this.isTouchOnSelectionHandle(t)),this._isDraggingSelection)){t.type==="touchend"&&(this._isDraggingSelection=!1);return}this.isTouching=t.type==="touchstart"||t.type==="touchmove";const s=e===0&&i===0;if(this.options.syncTouch&&r&&t.type==="touchstart"&&s&&!this.isStopped&&!this.isLocked){this.reset();return}const a=this.options.gestureOrientation==="vertical"&&i===0||this.options.gestureOrientation==="horizontal"&&e===0;if(s||a)return;let l=t.composedPath();l=l.slice(0,l.indexOf(this.rootElement));const u=this.options.prevent,c=Math.abs(e)>=Math.abs(i)?"horizontal":"vertical";if(l.find(g=>{var d,v,w,x,b;return g instanceof HTMLElement&&(typeof u=="function"&&(u==null?void 0:u(g))||((d=g.hasAttribute)==null?void 0:d.call(g,"data-lenis-prevent"))||c==="vertical"&&((v=g.hasAttribute)==null?void 0:v.call(g,"data-lenis-prevent-vertical"))||c==="horizontal"&&((w=g.hasAttribute)==null?void 0:w.call(g,"data-lenis-prevent-horizontal"))||r&&((x=g.hasAttribute)==null?void 0:x.call(g,"data-lenis-prevent-touch"))||n&&((b=g.hasAttribute)==null?void 0:b.call(g,"data-lenis-prevent-wheel"))||this.options.allowNestedScroll&&this.hasNestedScroll(g,{deltaX:e,deltaY:i}))}))return;if(this.isStopped||this.isLocked){t.cancelable&&t.preventDefault();return}if(!(this.options.syncTouch&&r||this.options.smoothWheel&&n)){this.isScrolling="native",this.animate.stop(),t.lenisStopPropagation=!0;return}let p=i;this.options.gestureOrientation==="both"?p=Math.abs(i)>Math.abs(e)?i:e:this.options.gestureOrientation==="horizontal"&&(p=e),(!this.options.overscroll||this.options.infinite||this.options.wrapper!==window&&this.limit>0&&(this.animatedScroll>0&&this.animatedScroll0||this.animatedScroll===this.limit&&i<0))&&(t.lenisStopPropagation=!0),t.cancelable&&t.preventDefault();const h=r&&this.options.syncTouch,f=r&&t.type==="touchend";f&&(p=Math.sign(p)*Math.abs(this.velocity)**this.options.touchInertiaExponent),this.scrollTo(this.targetScroll+p,{programmatic:!1,...h?{lerp:f?this.options.syncTouchLerp:1}:{lerp:this.options.lerp,duration:this.options.duration,easing:this.options.easing}})});G(this,"onNativeScroll",()=>{if(this._resetVelocityTimeout!==null&&(clearTimeout(this._resetVelocityTimeout),this._resetVelocityTimeout=null),this._preventNextNativeScrollEvent){this._preventNextNativeScrollEvent=!1;return}if(this.isScrolling===!1||this.isScrolling==="native"){const o=this.animatedScroll;this.animatedScroll=this.targetScroll=this.actualScroll,this.lastVelocity=this.velocity,this.velocity=this.animatedScroll-o,this.direction=Math.sign(this.animatedScroll-o),this.isStopped||(this.isScrolling="native"),this.emit(),this.velocity!==0&&(this._resetVelocityTimeout=setTimeout(()=>{this.lastVelocity=this.velocity,this.velocity=0,this.isScrolling=!1,this.emit()},400))}});G(this,"raf",o=>{const e=o-(this.time||o);this.time=o,this.animate.advance(e*.001),this.options.autoRaf&&(this._rafId=requestAnimationFrame(this.raf))});window.lenisVersion=Vo,window.lenis||(window.lenis={}),window.lenis.version=Vo,p==="horizontal"&&(window.lenis.horizontal=!0),r===!0&&(window.lenis.touch=!0),this.isIos=/(iPad|iPhone|iPod)/g.test(navigator.userAgent),(!o||o===document.documentElement)&&(o=window),typeof a=="number"&&typeof l!="function"?l=Uo:typeof l=="function"&&typeof a!="number"&&(a=1),this.options={wrapper:o,content:e,eventsTarget:i,smoothWheel:t,syncTouch:r,syncTouchLerp:n,touchInertiaExponent:s,duration:a,easing:l,lerp:u,infinite:c,gestureOrientation:h,orientation:p,touchMultiplier:f,wheelMultiplier:g,autoResize:d,prevent:v,virtualScroll:w,overscroll:x,autoRaf:b,anchors:S,autoToggle:P,allowNestedScroll:A,naiveDimensions:N,stopInertiaOnNavigate:D,respectReducedMotion:L},this.dimensions=new ac(o,e,{autoResize:d}),this.updateClassName(),this.targetScroll=this.animatedScroll=this.actualScroll,this.options.wrapper.addEventListener("scroll",this.onNativeScroll),this.options.wrapper.addEventListener("scrollend",this.onScrollEnd,{capture:!0}),(this.options.anchors||this.options.stopInertiaOnNavigate)&&this.options.wrapper.addEventListener("click",this.onClick),this.options.wrapper.addEventListener("pointerdown",this.onPointerDown),this.virtualScroll=new uc(i,{touchMultiplier:f,wheelMultiplier:g}),this.virtualScroll.on("scroll",this.onVirtualScroll),this.options.autoToggle&&(this.checkOverflow(),this.rootElement.addEventListener("transitionend",this.onTransitionEnd)),this.options.autoRaf&&(this._rafId=requestAnimationFrame(this.raf))}destroy(){this.emitter.destroy(),this.options.wrapper.removeEventListener("scroll",this.onNativeScroll),this.options.wrapper.removeEventListener("scrollend",this.onScrollEnd,{capture:!0}),this.options.wrapper.removeEventListener("pointerdown",this.onPointerDown),(this.options.anchors||this.options.stopInertiaOnNavigate)&&this.options.wrapper.removeEventListener("click",this.onClick),this.virtualScroll.destroy(),this.dimensions.destroy(),this.cleanUpClassName(),this._rafId&&cancelAnimationFrame(this._rafId)}on(o,e){return this.emitter.on(o,e)}off(o,e){return this.emitter.off(o,e)}get overflow(){const o=this.isHorizontal?"overflow-x":"overflow-y";return getComputedStyle(this.rootElement)[o]}checkOverflow(){["hidden","clip"].includes(this.overflow)?this.internalStop():this.internalStart()}setScroll(o){this.isHorizontal?this.options.wrapper.scrollTo({left:o,behavior:"instant"}):this.options.wrapper.scrollTo({top:o,behavior:"instant"})}isTouchOnSelectionHandle(o){const e=window.getSelection();if(!e||e.isCollapsed||e.rangeCount===0)return!1;const i=o.targetTouches[0]??o.changedTouches[0];if(!i)return!1;const t=e.getRangeAt(0).getClientRects();if(t.length===0)return!1;const r=t[0],n=t[t.length-1],s=40,a=Math.hypot(i.clientX-r.left,i.clientY-r.top)<=s,l=Math.hypot(i.clientX-n.right,i.clientY-n.bottom)<=s;return a||l}resize(){this.dimensions.resize(),this.animatedScroll=this.targetScroll=this.actualScroll,this.emit()}emit(){this.emitter.emit("scroll",this)}reset(){this.isLocked=!1,this.isScrolling=!1,this.animatedScroll=this.targetScroll=this.actualScroll,this.lastVelocity=this.velocity=0,this.animate.stop()}start(){if(this.isStopped){if(this.options.autoToggle){this.rootElement.style.removeProperty("overflow");return}this.internalStart()}}internalStart(){this.isStopped&&(this.reset(),this.isStopped=!1,this.emit())}stop(){if(!this.isStopped){if(this.options.autoToggle){this.rootElement.style.setProperty("overflow","clip");return}this.internalStop()}}internalStop(){this.isStopped||(this.reset(),this.isStopped=!0,this.emit())}scrollTo(o,{offset:e=0,immediate:i=!1,lock:t=!1,programmatic:r=!0,lerp:n=r?this.options.lerp:void 0,duration:s=r?this.options.duration:void 0,easing:a=r?this.options.easing:void 0,onStart:l,onComplete:u,force:c=!1,userData:p}={}){if(this.prefersReducedMotion&&(r?i=!0:(n=1,s=void 0,a=void 0)),(this.isStopped||this.isLocked)&&!c)return;let h=o,f=e;if(typeof h=="string"&&["top","left","start","#"].includes(h))h=0;else if(typeof h=="string"&&["bottom","right","end"].includes(h))h=this.limit;else{let g=null;if(typeof h=="string"?(g=h.startsWith("#")?document.getElementById(h.slice(1)):document.querySelector(h),g||(h==="#top"?h=0:console.warn("Lenis: Target not found",h))):h instanceof HTMLElement&&(h!=null&&h.nodeType)&&(g=h),g){if(this.options.wrapper!==window){const S=this.rootElement.getBoundingClientRect();f-=this.isHorizontal?S.left:S.top}const d=g.getBoundingClientRect(),v=getComputedStyle(g),w=this.isHorizontal?Number.parseFloat(v.scrollMarginLeft):Number.parseFloat(v.scrollMarginTop),x=getComputedStyle(this.rootElement),b=this.isHorizontal?Number.parseFloat(x.scrollPaddingLeft):Number.parseFloat(x.scrollPaddingTop);h=(this.isHorizontal?d.left:d.top)+this.animatedScroll-(Number.isNaN(w)?0:w)-(Number.isNaN(b)?0:b)}}if(typeof h=="number"){if(h+=f,this.options.infinite){if(r){this.targetScroll=this.animatedScroll=this.scroll;const g=h-this.animatedScroll;g>this.limit/2?h-=this.limit:g<-this.limit/2&&(h+=this.limit)}}else h=pl(0,h,this.limit);if(h===this.targetScroll){l==null||l(this),u==null||u(this);return}if(this.userData=p??{},i){this.animatedScroll=this.targetScroll=h,this.setScroll(this.scroll),this.reset(),this.preventNextNativeScrollEvent(),this.emit(),u==null||u(this),this.userData={},requestAnimationFrame(()=>{this.dispatchScrollendEvent()});return}r||(this.targetScroll=h),typeof s=="number"&&typeof a!="function"?a=Uo:typeof a=="function"&&typeof s!="number"&&(s=1),this.animate.fromTo(this.animatedScroll,h,{duration:s,easing:a,lerp:n,onStart:()=>{t&&(this.isLocked=!0),this.isScrolling="smooth",l==null||l(this)},onUpdate:(g,d)=>{this.isScrolling="smooth",this.lastVelocity=this.velocity,this.velocity=g-this.animatedScroll,this.direction=Math.sign(this.velocity),this.animatedScroll=g,this.setScroll(this.scroll),r&&(this.targetScroll=g),d||this.emit(),d&&(this.reset(),this.emit(),u==null||u(this),this.userData={},requestAnimationFrame(()=>{this.dispatchScrollendEvent()}),this.preventNextNativeScrollEvent())}})}}preventNextNativeScrollEvent(){this._preventNextNativeScrollEvent=!0,requestAnimationFrame(()=>{this._preventNextNativeScrollEvent=!1})}hasNestedScroll(o,{deltaX:e,deltaY:i}){const t=Date.now();o._lenis||(o._lenis={});const r=o._lenis;let n,s,a,l,u,c,p,h,f,g;if(t-(r.time??0)>2e3){r.time=Date.now();const A=window.getComputedStyle(o);if(r.computedStyle=A,n=["auto","overlay","scroll"].includes(A.overflowX),s=["auto","overlay","scroll"].includes(A.overflowY),u=["auto"].includes(A.overscrollBehaviorX),c=["auto"].includes(A.overscrollBehaviorY),r.hasOverflowX=n,r.hasOverflowY=s,!(n||s))return!1;p=o.scrollWidth,h=o.scrollHeight,f=o.clientWidth,g=o.clientHeight,a=p>f,l=h>g,r.isScrollableX=a,r.isScrollableY=l,r.scrollWidth=p,r.scrollHeight=h,r.clientWidth=f,r.clientHeight=g,r.hasOverscrollBehaviorX=u,r.hasOverscrollBehaviorY=c}else a=r.isScrollableX,l=r.isScrollableY,n=r.hasOverflowX,s=r.hasOverflowY,p=r.scrollWidth,h=r.scrollHeight,f=r.clientWidth,g=r.clientHeight,u=r.hasOverscrollBehaviorX,c=r.hasOverscrollBehaviorY;if(!(n&&a||s&&l))return!1;const d=Math.abs(e)>=Math.abs(i)?"horizontal":"vertical";let v,w,x,b,S,P;if(d==="horizontal")v=Math.round(o.scrollLeft),w=p-f,x=e,b=n,S=a,P=u;else if(d==="vertical")v=Math.round(o.scrollTop),w=h-g,x=i,b=s,S=l,P=c;else return!1;return!P&&(v>=w||v<=0)?!0:(x>0?v0)&&b&&S}get rootElement(){return this.options.wrapper===window?document.documentElement:this.options.wrapper}get limit(){return this.options.naiveDimensions?this.isHorizontal?this.rootElement.scrollWidth-this.rootElement.clientWidth:this.rootElement.scrollHeight-this.rootElement.clientHeight:this.dimensions.limit[this.isHorizontal?"x":"y"]}get isHorizontal(){return this.options.orientation==="horizontal"}get actualScroll(){const o=this.options.wrapper;return this.isHorizontal?o.scrollX??o.scrollLeft:o.scrollY??o.scrollTop}get scroll(){return this.options.infinite?nc(this.animatedScroll,this.limit):this.animatedScroll}get progress(){return this.limit===0?1:this.scroll/this.limit}get isScrolling(){return this._isScrolling}set isScrolling(o){this._isScrolling!==o&&(this._isScrolling=o,this.updateClassName())}get isStopped(){return this._isStopped}set isStopped(o){this._isStopped!==o&&(this._isStopped=o,this.updateClassName())}get isLocked(){return this._isLocked}set isLocked(o){this._isLocked!==o&&(this._isLocked=o,this.updateClassName())}get isSmooth(){return this.isScrolling==="smooth"}get prefersReducedMotion(){return this.options.respectReducedMotion&&this.reducedMotionMediaQuery.matches}get className(){let o="lenis";return this.options.autoToggle&&(o+=" lenis-autoToggle"),this.isStopped&&(o+=" lenis-stopped"),this.isLocked&&(o+=" lenis-locked"),this.isScrolling&&(o+=" lenis-scrolling"),this.isScrolling==="smooth"&&(o+=" lenis-smooth"),o}updateClassName(){this.cleanUpClassName(),this.className.split(" ").forEach(o=>{this.rootElement.classList.add(o)})}cleanUpClassName(){for(const o of Array.from(this.rootElement.classList))(o==="lenis"||o.startsWith("lenis-"))&&this.rootElement.classList.remove(o)}},fc={exports:{}};(function(o,e){(function(i,t){o.exports=t()})(window,function(){return function(i){var t={};function r(n){if(t[n])return t[n].exports;var s=t[n]={i:n,l:!1,exports:{}};return i[n].call(s.exports,s,s.exports,r),s.l=!0,s.exports}return r.m=i,r.c=t,r.d=function(n,s,a){r.o(n,s)||Object.defineProperty(n,s,{enumerable:!0,get:a})},r.r=function(n){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},r.t=function(n,s){if(1&s&&(n=r(n)),8&s||4&s&&typeof n=="object"&&n&&n.__esModule)return n;var a=Object.create(null);if(r.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:n}),2&s&&typeof n!="string")for(var l in n)r.d(a,l,(function(u){return n[u]}).bind(null,l));return a},r.n=function(n){var s=n&&n.__esModule?function(){return n.default}:function(){return n};return r.d(s,"a",s),s},r.o=function(n,s){return Object.prototype.hasOwnProperty.call(n,s)},r.p="",r(r.s=0)}([function(i,t,r){r.r(t);var n,s="fslightbox-",a="".concat(s,"styles"),l="".concat(s,"cursor-grabbing"),u="".concat(s,"full-dimension"),c="".concat(s,"flex-centered"),p="".concat(s,"open"),h="".concat(s,"transform-transition"),f="".concat(s,"absoluted"),g="".concat(s,"slide-btn"),d="".concat(g,"-container"),v="".concat(s,"fade-in"),w="".concat(s,"fade-out"),x=v+"-strong",b=w+"-strong",S="".concat(s,"opacity-"),P="".concat(S,"1"),A="".concat(s,"source");function T(_){return(T=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(m){return typeof m}:function(m){return m&&typeof Symbol=="function"&&m.constructor===Symbol&&m!==Symbol.prototype?"symbol":typeof m})(_)}function N(_){var m=_.stageIndexes,k=_.core.stageManager,C=_.props.sources.length-1;k.getPreviousSlideIndex=function(){return m.current===0?C:m.current-1},k.getNextSlideIndex=function(){return m.current===C?0:m.current+1},k.updateStageIndexes=C===0?function(){}:C===1?function(){m.current===0?(m.next=1,delete m.previous):(m.previous=0,delete m.next)}:function(){m.previous=k.getPreviousSlideIndex(),m.next=k.getNextSlideIndex()},k.i=C<=2?function(){return!0}:function(O){var I=m.current;if(I===0&&O===C||I===C&&O===0)return!0;var z=I-O;return z===-1||z===0||z===1}}(typeof window>"u"?"undefined":T(window))==="object"&&((n=document.createElement("style")).className=a,n.appendChild(document.createTextNode(".fslightbox-absoluted{position:absolute;top:0;left:0}.fslightbox-fade-in{animation:fslightbox-fade-in .3s cubic-bezier(0,0,.7,1)}.fslightbox-fade-out{animation:fslightbox-fade-out .3s ease}.fslightbox-fade-in-strong{animation:fslightbox-fade-in-strong .3s cubic-bezier(0,0,.7,1)}.fslightbox-fade-out-strong{animation:fslightbox-fade-out-strong .3s ease}@keyframes fslightbox-fade-in{from{opacity:.65}to{opacity:1}}@keyframes fslightbox-fade-out{from{opacity:.35}to{opacity:0}}@keyframes fslightbox-fade-in-strong{from{opacity:.3}to{opacity:1}}@keyframes fslightbox-fade-out-strong{from{opacity:1}to{opacity:0}}.fslightbox-cursor-grabbing{cursor:grabbing}.fslightbox-full-dimension{width:100%;height:100%}.fslightbox-open{overflow:hidden;height:100%}.fslightbox-flex-centered{display:flex;justify-content:center;align-items:center}.fslightbox-opacity-0{opacity:0!important}.fslightbox-opacity-1{opacity:1!important}.fslightbox-scrollbarfix{padding-right:17px}.fslightbox-transform-transition{transition:transform .3s}.fslightbox-container::backdrop{display:none}.fslightbox-container{font-family:Arial,sans-serif;position:fixed;top:0;left:0;padding:0;border:0;max-width:none;max-height:none;background:linear-gradient(rgba(30,30,30,.9),#000 1810%);touch-action:pinch-zoom;overflow:hidden;z-index:1000000000;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}.fslightbox-container *{box-sizing:border-box}.fslightbox-svg{width:20px;height:20px}.fslightbox-svgp{transition:fill .15s ease;fill:#ddd}.fslightbox-nav{height:45px;width:100%;position:absolute;top:0;left:0}.fslightboxsn{z-index:0;display:flex;align-items:center;margin:14px 0 0 11px;font-size:15px;color:#d7d7d7}.fslightboxsn span{display:inline;vertical-align:middle}.fslightboxsl{display:inline-block!important;margin:0 5px;width:1px;height:12px;transform:rotate(15deg);background:white}.fslightbox-toolbar{position:absolute;z-index:3;right:0;top:0;height:100%;display:flex}.fslightbox-toolbar-button{width:45px;height:100%}.fslightbox-fsx{width:24px;height:24px}.fslightboxb{border:0;background:rgba(35,35,35,.65);cursor:pointer}.fslightboxb:focus{outline:0}.fslightboxb:focus .fslightbox-svgp{fill:#fff}.fslightboxb:hover .fslightbox-svgp{fill:#fff}.fslightbox-slide-btn-container{display:flex;align-items:center;padding:12px 12px 12px 6px;position:absolute;top:50%;cursor:pointer;z-index:3;transform:translateY(-50%)}.fslightbox-slide-btn-container-next{right:0;padding-left:12px;padding-right:3px}@media (min-width:476px){.fslightbox-slide-btn-container{padding:22px 22px 22px 6px}.fslightbox-slide-btn-container-next{padding-right:6px!important;padding-left:22px}}@media (min-width:768px){.fslightbox-slide-btn-container{padding:30px 30px 30px 6px}.fslightbox-slide-btn-container-next{padding-left:30px}.fslightbox-slide-btn{padding:10px}}.fslightbox-slide-btn-container:hover .fslightbox-svgp{fill:#fff}.fslightbox-slide-btn{padding:9px}.fslightbox-slide-btn-container-previous{left:0}@media (max-width:475.99px){.fslightbox-slide-btn-container-previous{padding-left:3px}}.fslightbox-down-event-detector{position:absolute;z-index:1}.fslightbox-slide-swiping-hoverer{z-index:4}.fslightbox-invalid-file-wrapper{font-size:22px;color:#eaebeb;margin:auto}.fslightboxv{object-fit:cover}.fslightbox-youtube-iframe{border:0}.fslightboxl{display:block;margin:auto;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:67px;height:67px}.fslightboxl div{box-sizing:border-box;display:block;position:absolute;width:54px;height:54px;margin:6px;border:5px solid;border-color:#999 transparent transparent transparent;border-radius:50%;animation:fslightboxl 1.2s cubic-bezier(.5,0,.5,1) infinite}.fslightboxl div:nth-child(1){animation-delay:-.45s}.fslightboxl div:nth-child(2){animation-delay:-.3s}.fslightboxl div:nth-child(3){animation-delay:-.15s}@keyframes fslightboxl{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}.fslightbox-source{position:relative;z-index:2;opacity:0}@media (min-width:1200px){.fslightboxsn{margin:15px 0 0 12px;font-size:16px;display:block}.fslightboxsl{margin:0 6px 1px 6px;height:14px}.fslightbox-slide-btn{padding:11px}.fslightbox-svg{width:22px;height:22px}.fslightbox-fsx{width:26px;height:26px}.fslightbox-fso{width:22px;height:22px}.fslightboxl div{width:60px;height:60px;border-width:6px;border-color:#999 transparent transparent transparent;border-radius:50%}}@media (min-width:1600px){.fslightbox-nav{height:50px}.fslightboxsn{display:flex;margin:19px 0 0 16px;font-size:20px}.fslightboxsl{margin:0 7px 1px 7px;height:16px;width:2px;background:#d7d7d7}.fslightbox-toolbar-button{width:50px}.fslightbox-slide-btn{padding:12px}.fslightbox-svg{width:24px;height:24px}.fslightbox-fsx{width:28px;height:28px}.fslightbox-fso{width:24px;height:24px}}")),document.head.appendChild(n));function D(_){var m,k=_.props,C=0,O={};this.getSourceTypeFromLocalStorageByUrl=function(z){return m[z]?m[z]:I(z)},this.handleReceivedSourceTypeForUrl=function(z,M){if(O[M]===!1&&(C--,z!=="invalid"?O[M]=z:delete O[M],C===0)){(function(F,U){for(var R in U)F[R]=U[R]})(m,O);try{localStorage.setItem("fslightbox-types",JSON.stringify(m))}catch{}}};var I=function(z){C++,O[z]=!1};if(k.disableLocalStorage)this.getSourceTypeFromLocalStorageByUrl=function(){},this.handleReceivedSourceTypeForUrl=function(){};else{try{m=JSON.parse(localStorage.getItem("fslightbox-types"))}catch{}m||(m={},this.getSourceTypeFromLocalStorageByUrl=I)}}function L(_,m,k,C){_.data;var O=_.elements.sources,I=k/C,z=0;this.adjustSize=function(){if((z=_.mw/I)<_.mh)return k<_.mw&&(z=C),M();z=C>_.mh?_.mh:C,M()};var M=function(){O[m].style.width=z*I+"px",O[m].style.height=z+"px"}}function se(_,m){var k=this,C=_.collections.sourceSizers,O=_.elements,I=O.sourceAnimationWrappers,z=O.sources,M=_.isl,F=_.props.onSourceLoad,U=_.resolve;function R(X,V){C[m]=U(L,[m,X,V]),C[m].adjustSize()}this.b=function(X,V){z[m].classList.add(P),k.a(),R(X,V),k.b=R},this.a=function(){M[m]=!0,I[m].classList.add(x),I[m].removeChild(I[m].firstChild),F&&F(_,z[m],m)}}function Y(_,m){var k,C=this,O=_.elements.sources,I=_.props,z=(0,_.resolve)(se,[m]);this.handleImageLoad=function(M){var F=M.target,U=F.naturalWidth,R=F.naturalHeight;z.b(U,R)},this.handleVideoLoad=function(M){var F=M.target,U=F.videoWidth,R=F.videoHeight;k=!0,z.b(U,R)},this.handleNotMetaDatedVideoLoad=function(){k||C.handleYoutubeLoad()},this.handleYoutubeLoad=function(M,F){M||(M=1920,F=1080),I.maxYoutubeDimensions&&(M=I.maxYoutubeDimensions.width,F=I.maxYoutubeDimensions.height),z.b(M,F)},this.handleCustomLoad=function(){var M=O[m],F=M.offsetWidth,U=M.offsetHeight;F&&U?z.b(F,U):setTimeout(C.handleCustomLoad)}}function ue(_,m,k){var C=_.elements.sources,O=_.props.customClasses,I=O[m]?O[m]:"";C[m].className=k+" "+I}function ee(_,m){var k=_.elements.sources,C=_.props.customAttributes;for(var O in C[m])k[m].setAttribute(O,C[m][O])}function he(_,m){var k=_.collections.sourceLoadHandlers,C=_.elements,O=C.sources,I=C.sourceAnimationWrappers,z=_.props.sources;O[m]=document.createElement("img"),ue(_,m,A),O[m].src=z[m],O[m].onload=k[m].handleImageLoad,ee(_,m),I[m].appendChild(O[m])}function le(_,m){var k=_.ap,C=_.collections.sourceLoadHandlers,O=_.elements,I=O.sources,z=O.sourceAnimationWrappers,M=_.props,F=M.sources,U=M.videosPosters,R=document.createElement("video"),X=document.createElement("source");I[m]=R,ue(_,m,"".concat(A," fslightboxv")),R.src=F[m],R.onloadedmetadata=function(V){return C[m].handleVideoLoad(V)},R.controls=!0,R.autoplay=k.i(m),ee(_,m),U[m]&&(I[m].poster=U[m]),X.src=F[m],R.appendChild(X),setTimeout(C[m].handleNotMetaDatedVideoLoad,3e3),z[m].appendChild(I[m])}function Q(_,m){var k=_.ap,C=_.collections.sourceLoadHandlers,O=_.elements,I=O.sources,z=O.sourceAnimationWrappers,M=_.props.sources[m],F=M.split("?")[1],U=document.createElement("iframe");I[m]=U,ue(_,m,"".concat(A," ").concat(s,"youtube-iframe")),U.src="https://www.youtube.com/embed/".concat(M.match(/^.*(youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=|\&v=)([^#\&\?]*).*/)[2],"?").concat(F||"").concat(k.i(m)?"&mute=1&autoplay=1":"","&enablejsapi=1"),U.allowFullscreen=!0,ee(_,m),z[m].appendChild(U),C[m].handleYoutubeLoad(parseInt(U.width),parseInt(U.height))}function J(_,m){var k=_.collections.sourceLoadHandlers,C=_.elements,O=C.sources,I=C.sourceAnimationWrappers,z=_.props.sources;O[m]=z[m],ue(_,m,"".concat(O[m].className," ").concat(A)),I[m].appendChild(O[m]),k[m].handleCustomLoad()}function xe(_,m){var k=_.elements,C=k.sources,O=k.sourceAnimationWrappers;_.props.sources,C[m]=document.createElement("div"),C[m].className="".concat(s,"invalid-file-wrapper ").concat(c),C[m].innerHTML="Invalid source",O[m].appendChild(C[m]),new se(_,m).a()}function y(_){var m=_.collections,k=m.sourceLoadHandlers,C=m.sourcesRenderFunctions,O=_.core.sourceDisplayFacade,I=_.resolve;this.runActionsForSourceTypeAndIndex=function(z,M){var F;switch(z!=="invalid"&&(k[M]=I(Y,[M])),z){case"image":F=he;break;case"video":F=le;break;case"youtube":F=Q;break;case"custom":F=J;break;default:F=xe}C[M]=function(){return F(_,M)},O.displaySourcesWhichShouldBeDisplayed()}}function Ce(_,m,k){var C=_.props,O=C.types,I=C.type,z=C.sources;this.getTypeSetByClientForIndex=function(M){var F;return O&&O[M]?F=O[M]:I&&(F=I),F},this.retrieveTypeWithXhrForIndex=function(M){(function(F,U){var R=document.createElement("a");R.href=F;var X=R.hostname;if(X==="www.youtube.com"||X==="youtu.be")return U("youtube");var V=new XMLHttpRequest;V.onreadystatechange=function(){if(V.readyState!==4){if(V.readyState===2){var Z,B=V.getResponseHeader("content-type");switch(B.slice(0,B.indexOf("/"))){case"image":Z="image";break;case"video":Z="video";break;default:Z="invalid"}V.onreadystatechange=null,V.abort(),U(Z)}}else U("invalid")},V.open("GET",F),V.send()})(z[M],function(F){m.handleReceivedSourceTypeForUrl(F,z[M]),k.runActionsForSourceTypeAndIndex(F,M)})}}function rt(_,m){var k=_.core.stageManager,C=_.elements,O=C.smw,I=C.sourceWrappersContainer,z=_.props,M=0,F=document.createElement("div");function U(X){F.style.transform="translateX(".concat(X+M,"px)"),M=0}function R(){return(1+z.slideDistance)*innerWidth}F.className="".concat(f," ").concat(u," ").concat(c),F.s=function(){F.style.display="flex"},F.h=function(){F.style.display="none"},F.a=function(){F.classList.add(h)},F.d=function(){F.classList.remove(h)},F.n=function(){F.style.removeProperty("transform")},F.v=function(X){return M=X,F},F.ne=function(){U(-R())},F.z=function(){U(0)},F.p=function(){U(R())},k.i(m)||F.h(),O[m]=F,I.appendChild(F),function(X,V){var Z=X.elements,B=Z.smw,oe=Z.sourceAnimationWrappers,te=document.createElement("div"),q=document.createElement("div");q.className="fslightboxl";for(var ie=0;ie<3;ie++){var be=document.createElement("div");q.appendChild(be)}te.appendChild(q),B[V].appendChild(te),oe[V]=te}(_,m)}function xt(_,m,k){var C=document.createElementNS("http://www.w3.org/2000/svg","svg"),O="".concat(s,"svg");C.setAttributeNS(null,"class","".concat(O)),C.setAttributeNS(null,"viewBox",m);var I=document.createElementNS("http://www.w3.org/2000/svg","path");return I.setAttributeNS(null,"class","".concat(O,"p")),I.setAttributeNS(null,"d",k),C.appendChild(I),_.appendChild(C),C}function Me(_,m){var k=document.createElement("button");return k.className="fslightboxb ".concat(s,"toolbar-button ").concat(c),k.title=m,_.appendChild(k),k}function $e(_,m){var k=document.createElement("div");k.className="".concat(s,"toolbar"),m.appendChild(k),function(C,O){if(!C.hfs){var I="M4.5 11H3v4h4v-1.5H4.5V11zM3 7h1.5V4.5H7V3H3v4zm10.5 6.5H11V15h4v-4h-1.5v2.5zM11 3v1.5h2.5V7H15V3h-4z",z=Me(O);z.title="Enter fullscreen";var M=xt(z,"0 0 18 18",I);C.fso=function(){C.ifs=1,z.title="Exit fullscreen",M.classList.add("".concat(s,"fsx")),M.setAttributeNS(null,"viewBox","0 0 950 1024"),M.firstChild.setAttributeNS(null,"d","M682 342h128v84h-212v-212h84v128zM598 810v-212h212v84h-128v128h-84zM342 342v-128h84v212h-212v-84h128zM214 682v-84h212v212h-84v-128h-128z")},C.fsx=function(){C.ifs=0,z.title="Enter fullscreen",M.classList.remove("".concat(s,"fsx")),M.setAttributeNS(null,"viewBox","0 0 18 18"),M.firstChild.setAttributeNS(null,"d",I)},z.onclick=C.fs.t}}(_,k),function(C,O){var I=Me(O,"Close");I.onclick=C.core.lightboxCloser.closeLightbox,xt(I,"0 0 24 24","M 4.7070312 3.2929688 L 3.2929688 4.7070312 L 10.585938 12 L 3.2929688 19.292969 L 4.7070312 20.707031 L 12 13.414062 L 19.292969 20.707031 L 20.707031 19.292969 L 13.414062 12 L 20.707031 4.7070312 L 19.292969 3.2929688 L 12 10.585938 L 4.7070312 3.2929688 z")}(_,k)}function Qe(_){var m=_.props.sources,k=_.elements.container,C=document.createElement("div");C.className="".concat(s,"nav"),k.appendChild(C),$e(_,C),m.length>1&&function(O,I){var z=O.props.sources,M=(O.stageIndexes,document.createElement("div")),F=document.createElement("span"),U=document.createElement("span"),R=document.createElement("span");M.className="fslightboxsn",O.sn=function(X){return F.innerHTML=X},U.className="fslightboxsl",R.innerHTML=z.length,M.appendChild(F),M.appendChild(U),M.appendChild(R),I.appendChild(M)}(_,C)}function De(_,m,k,C){var O=_.elements.container,I=k.charAt(0).toUpperCase()+k.slice(1),z=document.createElement("div");z.className="".concat(d," ").concat(d,"-").concat(k),z.title="".concat(I," slide"),z.onclick=m,function(M,F){var U=document.createElement("button");U.className="fslightboxb ".concat(g," ").concat(c),xt(U,"0 0 20 20",F),M.appendChild(U)}(z,C),O.appendChild(z)}function nt(_){var m=_.core,k=m.lightboxCloser,C=m.slideChangeFacade,O=_.fs;this.listener=function(I){switch(I.key){case"Escape":k.closeLightbox();break;case"ArrowLeft":C.changeToPrevious();break;case"ArrowRight":C.changeToNext();break;case"F11":I.preventDefault(),O.t()}}}function Ze(_){var m=_.elements,k=_.sourcePointerProps,C=_.stageIndexes;function O(I,z){m.smw[I].v(k.swipedX)[z]()}this.runActionsForEvent=function(I){var z,M,F;m.container.contains(m.slideSwipingHoverer)||m.container.appendChild(m.slideSwipingHoverer),z=m.container,M=l,(F=z.classList).contains(M)||F.add(M),k.swipedX=I.screenX-k.downScreenX;var U=C.previous,R=C.next;O(C.current,"z"),U!==void 0&&k.swipedX>0?O(U,"ne"):R!==void 0&&k.swipedX<0&&O(R,"p")}}function ni(_){var m=_.dss,k=_.props.sources,C=_.resolve,O=_.sourcePointerProps,I=C(Ze);k.length===1||m?this.listener=function(){O.swipedX=1}:this.listener=function(z){O.isPointering&&I.runActionsForEvent(z)}}function st(_){var m=_.core.slideIndexChanger,k=_.elements.smw,C=_.stageIndexes,O=_.sws;function I(M){var F=k[C.current];F.a(),F[M]()}function z(M,F){M!==void 0&&(k[M].s(),k[M][F]())}this.runPositiveSwipedXActions=function(){var M=C.previous;if(M===void 0)I("z");else{I("p");var F=C.next;m.changeTo(M);var U=C.previous;O.d(U),O.b(F),I("z"),z(U,"ne")}},this.runNegativeSwipedXActions=function(){var M=C.next;if(M===void 0)I("z");else{I("ne");var F=C.previous;m.changeTo(M);var U=C.next;O.d(U),O.b(F),I("z"),z(U,"p")}}}function Je(_,m){_.contains(m)&&_.removeChild(m)}function ve(_){var m=_.core.lightboxCloser,k=_.dss,C=_.elements,O=_.props,I=_.resolve,z=_.sourcePointerProps,M=I(st);this.runNoSwipeActions=function(){Je(C.container,C.slideSwipingHoverer),z.isSourceDownEventTarget||O.disableBackgroundClose||m.closeLightbox(),z.isPointering=!1},this.runActions=function(){k||(z.swipedX>0?M.runPositiveSwipedXActions():M.runNegativeSwipedXActions()),Je(C.container,C.slideSwipingHoverer),C.container.classList.remove(l),z.isPointering=!1}}function Le(_){var m=_.resolve,k=_.sourcePointerProps,C=m(ve);this.listener=function(){k.isPointering&&(k.swipedX?C.runActions():C.runNoSwipeActions())}}function ft(_){var m=this,k=_.core,C=k.globalEventsController,O=k.scrollbarRecompensor,I=(_.data,_.e),z=_.elements,M=_.fs,F=_.props,U=_.sourcePointerProps,R=_.ud;this.runActions=function(){m.i=1,z.container.classList.add(b),C.removeListeners(),F.exitFullscreenOnClose&&_.ifs&&M.x(),setTimeout(function(){m.i=0,U.isPointering=!1,z.container.classList.remove(b),document.documentElement.classList.remove(p),O.removeRecompense(),R&&z.container.close(),document.body.removeChild(z.container),I("onClose")},270)}}function ot(_,m){var k=_.classList;k.contains(m)&&k.remove(m)}function E(_){var m,k,C,O,I,z,M,F,U;(function(R){var X=R.ap,V=R.elements.sources,Z=R.props,B=Z.autoplay,oe=Z.autoplays;function te(q,ie){if(ie!="play"||X.i(q)){var be=V[q];if(be){var ae=be.tagName;if(ae=="VIDEO")be[ie]();else if(ae=="IFRAME"){var pe=be.contentWindow;pe&&pe.postMessage('{"event":"command","func":"'.concat(ie,'Video","args":""}'),"*")}}}}X.i=function(q){return oe[q]||B&&oe[q]!=0},X.p=function(q){te(q,"play")},X.c=function(q,ie){te(q,"pause"),te(ie,"play")}})(_),function(R){R.data;var X=R.fs,V=["fullscreenchange","webkitfullscreenchange","mozfullscreenchange","MSFullscreenChange"],Z=document.documentElement,B=Z.requestFullscreen;function oe(q){for(var ie=0;ieinnerHeight&&(document.body.style.marginRight=X.scrollbarWidth+"px")}V.addRecompense=function(){document.readyState==="complete"?Z():addEventListener("load",function(){Z(),V.addRecompense=Z})},V.removeRecompense=function(){document.body.style.removeProperty("margin-right")}}(_),function(R){var X=R.core,V=X.slideChangeFacade,Z=X.slideIndexChanger,B=X.stageManager;R.props.sources.length>1?(V.changeToPrevious=function(){Z.jumpTo(B.getPreviousSlideIndex())},V.changeToNext=function(){Z.jumpTo(B.getNextSlideIndex())}):(V.changeToPrevious=function(){},V.changeToNext=function(){})}(_),function(R){var X=R.ap,V=(R.componentsServices,R.core),Z=V.slideIndexChanger,B=V.sourceDisplayFacade,oe=V.stageManager,te=R.elements,q=te.smw,ie=te.sourceAnimationWrappers,be=R.isl,ae=R.stageIndexes,pe=R.sws;Z.changeTo=function(Te){X.c(ae.current,Te),ae.current=Te,oe.updateStageIndexes(),R.sn(Te+1),B.displaySourcesWhichShouldBeDisplayed()},Z.jumpTo=function(Te){var K=ae.previous,W=ae.current,ce=ae.next,H=be[W],re=be[Te];Z.changeTo(Te);for(var j=0;j992?R.mw=te*innerWidth:R.mw=innerWidth,R.mh=te*innerHeight;for(var q=0;q0)&&(_.loc=1),E(_),_.fs.i(),R.container=document.createElement(_.ud?"dialog":"div"),R.container.className="".concat(s,"container ").concat(u," ").concat(x),R.container.setAttribute("tabindex","0"),function(ae){var pe=ae.elements;pe.slideSwipingHoverer=document.createElement("div"),pe.slideSwipingHoverer.className="".concat(s,"slide-swiping-hoverer ").concat(u," ").concat(f)}(_),Qe(_),function(ae){var pe=ae.core.sourcesPointerDown,Te=ae.elements,K=ae.props.sources,W=document.createElement("div");W.className="".concat(f," ").concat(u),Te.container.appendChild(W),W.addEventListener("pointerdown",pe.listener),Te.sourceWrappersContainer=W;for(var ce=0;ce1&&(te=(oe=_).core.slideChangeFacade,De(oe,te.changeToPrevious,"previous","M18.271,9.212H3.615l4.184-4.184c0.306-0.306,0.306-0.801,0-1.107c-0.306-0.306-0.801-0.306-1.107,0L1.21,9.403C1.194,9.417,1.174,9.421,1.158,9.437c-0.181,0.181-0.242,0.425-0.209,0.66c0.005,0.038,0.012,0.071,0.022,0.109c0.028,0.098,0.075,0.188,0.142,0.271c0.021,0.026,0.021,0.061,0.045,0.085c0.015,0.016,0.034,0.02,0.05,0.033l5.484,5.483c0.306,0.307,0.801,0.307,1.107,0c0.306-0.305,0.306-0.801,0-1.105l-4.184-4.185h14.656c0.436,0,0.788-0.353,0.788-0.788S18.707,9.212,18.271,9.212z"),De(oe,te.changeToNext,"next","M1.729,9.212h14.656l-4.184-4.184c-0.307-0.306-0.307-0.801,0-1.107c0.305-0.306,0.801-0.306,1.106,0l5.481,5.482c0.018,0.014,0.037,0.019,0.053,0.034c0.181,0.181,0.242,0.425,0.209,0.66c-0.004,0.038-0.012,0.071-0.021,0.109c-0.028,0.098-0.075,0.188-0.143,0.271c-0.021,0.026-0.021,0.061-0.045,0.085c-0.015,0.016-0.034,0.02-0.051,0.033l-5.483,5.483c-0.306,0.307-0.802,0.307-1.106,0c-0.307-0.305-0.307-0.801,0-1.105l4.184-4.185H1.729c-0.436,0-0.788-0.353-0.788-0.788S1.293,9.212,1.729,9.212z")),function(ae){for(var pe=ae.props.sources,Te=ae.resolve,K=Te(D),W=Te(y),ce=Te(Ce,[K,W]),H=0;H0&&arguments[0]!==void 0?arguments[0]:0,te=X.previous,q=X.current,ie=X.next;X.current=oe,Z||N(_),z.updateStageIndexes(),Z?(V.c(),V.a(),V.b(te),V.b(q),V.b(ie),U("onShow")):B(),I.displaySourcesWhichShouldBeDisplayed(),_.sn(oe+1),document.body.appendChild(R.container),_.ud&&R.container.showModal(),R.container.focus(),document.documentElement.classList.add(p),O.addRecompense(),C.attachListeners(),M.runActions(),R.smw[oe].n(),m.p(oe),U("onOpen")}}function $t(_,m,k){return($t=si()?Reflect.construct.bind():function(C,O,I){var z=[null];z.push.apply(z,O);var M=new(Function.bind.apply(C,z));return I&&Oe(M,I.prototype),M}).apply(null,arguments)}function si(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Oe(_,m){return(Oe=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(k,C){return k.__proto__=C,k})(_,m)}function ti(_){return function(m){if(Array.isArray(m))return Gt(m)}(_)||function(m){if(typeof Symbol<"u"&&m[Symbol.iterator]!=null||m["@@iterator"]!=null)return Array.from(m)}(_)||function(m,k){if(m){if(typeof m=="string")return Gt(m,k);var C=Object.prototype.toString.call(m).slice(8,-1);if(C==="Object"&&m.constructor&&(C=m.constructor.name),C==="Map"||C==="Set")return Array.from(m);if(C==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(C))return Gt(m,k)}}(_)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function Gt(_,m){(m==null||m>_.length)&&(m=_.length);for(var k=0,C=new Array(m);k1&&arguments[1]!==void 0?arguments[1]:[];return k.unshift(_),$t(m,ti(k))},this.collections={sourceLoadHandlers:[],sourcesRenderFunctions:[],sourceSizers:[]},this.core={globalEventsController:{},lightboxCloser:{},lightboxUpdater:{},scrollbarRecompensor:{},slideChangeFacade:{},slideIndexChanger:{},sourcesPointerDown:{},sourceDisplayFacade:{},stageManager:{},windowResizeActioner:{}},this.ap={},this.fs={},this.sws={},this.e=function(m){_.props[m]&&_.props[m](_)},bt(this),this.close=function(){return _.core.lightboxCloser.closeLightbox()}},window.fsLightboxInstances={},oi(),window.refreshFsLightbox=function(){for(var _ in fsLightboxInstances){var m=fsLightboxInstances[_].props;fsLightboxInstances[_]=new FsLightbox,fsLightboxInstances[_].props=m,fsLightboxInstances[_].props.sources=[],fsLightboxInstances[_].elements.a=[]}oi()}}])})})(fc);ki.registerPlugin(fe);(function(o,e){const i=function(){e.path.isFront;const t=document.querySelector('main[role="main"]'),r=ki.matchMedia(),s=`(min-width: ${getComputedStyle(document.documentElement).getPropertyValue("--bp-tablette").trim()||"768px"})`;let a=null;function l(){u(),c(),p(),f(),h(),g(),document.addEventListener("leshed:titles-ready",()=>fe.refresh(),{once:!0})}function u(){document.getElementById("burger-btn").parentElement.addEventListener("click",function(v){this.firstElementChild.toggleAttribute("opened"),this.firstElementChild.nextElementSibling.toggleAttribute("opened")})}function c(){const d=document.querySelector('main[role="main"]'),v=d&&d.querySelector(".layout-content");if(!(!d||!v))return a=new cc({wrapper:d,content:v,duration:1.2,smoothWheel:!0}),a.on("scroll",fe.update),ki.ticker.add(w=>a.raf(w*1e3)),ki.ticker.lagSmoothing(0),a}function p(){const d=document.querySelector(".layout--twocol-section--50-50 .layout__region--first"),v=document.querySelector(".layout--twocol-section--50-50 .layout__region--second");!t||!d||!v||r.add(s,()=>([d,v].forEach(w=>{ki.to(w,{y:()=>{const x=t.clientHeight,b=t.scrollHeight-t.clientHeight,S=Math.max(0,w.offsetHeight-x);return b-S},ease:"none",scrollTrigger:{scroller:t,start:0,end:"max",scrub:!0,invalidateOnRefresh:!0}})}),()=>{}))}function h(){const d=.4,v=document.querySelector("article.node-type-static.view-mode-full .cols, article.node-type-projet.view-mode-full .cols, article.node-type-evenement.view-mode-full .cols"),w=v&&v.querySelector(".col.left"),x=v&&v.querySelector(".col.right .field_images"),b=w&&w.querySelector(".spacer"),S=b&&parseFloat(getComputedStyle(b).height)||0,P=document.querySelector(" article.node-type-static.view-mode-full .cols>.col.left>header, article.node-type-projet.view-mode-full .cols>.col.left>header, article.node-type-evenement.view-mode-full .cols>.col.left>header ");!P&&!(v&&w)||requestAnimationFrame(()=>{requestAnimationFrame(()=>{r.add(s,()=>{const A=()=>t.clientHeight,T=()=>P?P.offsetHeight*(1-d):0,N=()=>b?Math.max(0,(parseFloat(getComputedStyle(b).height)||0)-S):0,D=()=>w?w.offsetHeight-N():0,L=()=>{if(!x)return 0;let J=0;return x.querySelectorAll(".field-item").forEach(xe=>{J+=xe.offsetHeight}),J},se=()=>{if(!x)return 0;const J=x.querySelector(".field-item:last-child");return J?J.offsetHeight:0},Y=()=>{if(!b||!P)return;const J=T();if(t.scrollHeight-t.clientHeight{if(!x)return;const J=Math.max(0,w.offsetHeight-L(),A()-se());x.style.setProperty("--sticky-extent",J+"px")},ee=()=>{Y(),ue(),t.offsetHeight,a&&a.resize()},he=()=>Math.max(0,D()-A(),T());ee(),P&&ki.to(P,{scale:d,y:T,ease:"none",scrollTrigger:{scroller:t,start:0,end:T,scrub:!0,invalidateOnRefresh:!0}}),v&&w&&ki.fromTo(w,{y:0},{y:()=>t.scrollHeight-t.clientHeight-he(),ease:"none",scrollTrigger:{scroller:t,start:he,end:"max",scrub:!0,invalidateOnRefresh:!0}});const le=()=>{ee(),fe.refresh()},Q=x?Array.from(x.querySelectorAll("img")):[];return Q.forEach(J=>{J.complete||J.addEventListener("load",le)}),window.addEventListener("load",le),document.fonts&&document.fonts.ready&&document.fonts.ready.then(le),()=>{Q.forEach(J=>J.removeEventListener("load",le)),window.removeEventListener("load",le),b&&(b.style.height=""),x&&x.style.removeProperty("--sticky-extent")}})})})}function f(){let d=document.querySelectorAll(" article.node-type-static.view-mode-full .col.right .field_images.multiple .field-item a, article.node-type-projet.view-mode-full .col.right .field_images.multiple .field-item a, article.node-type-evenement.view-mode-full .col.right .field_images.multiple .field-item a ");for(const v of d)v.setAttribute("data-fslightbox","gallery");window.refreshFsLightbox()}function g(){const d=document.querySelectorAll(".views-archives-projets .view-content");if(!d.length)return;const v=8,w=b=>{const S=b.querySelectorAll(":scope > .views-row");if(!S.length)return;const P=parseFloat(getComputedStyle(b).rowGap)||0;b.style.gridAutoFlow="row dense",S.forEach(A=>{const T=getComputedStyle(A),N=A.offsetHeight+(parseFloat(T.marginTop)||0)+(parseFloat(T.marginBottom)||0),D=Math.max(1,Math.ceil((N+P)/(v+P)));A._masonrySpan!==D&&(A._masonrySpan=D,A.style.gridRowEnd=`span ${D}`)}),b.style.gridAutoRows=`${v}px`},x=b=>{b._masonryRaf||(b._masonryRaf=requestAnimationFrame(()=>{b._masonryRaf=null,w(b)}))};d.forEach(b=>{new ResizeObserver(()=>x(b)).observe(b);const S=new ResizeObserver(()=>x(b));b.querySelectorAll(":scope > .views-row > article").forEach(P=>S.observe(P)),b.addEventListener("load",()=>x(b),!0),document.fonts&&document.fonts.ready&&document.fonts.ready.then(()=>x(b)),document.addEventListener("leshed:titles-ready",()=>x(b),{once:!0}),x(b)})}l()};requestAnimationFrame(()=>setTimeout(i,0))})(Drupal,drupalSettings); +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function Gt(_,m){(m==null||m>_.length)&&(m=_.length);for(var k=0,C=new Array(m);k1&&arguments[1]!==void 0?arguments[1]:[];return k.unshift(_),$t(m,ti(k))},this.collections={sourceLoadHandlers:[],sourcesRenderFunctions:[],sourceSizers:[]},this.core={globalEventsController:{},lightboxCloser:{},lightboxUpdater:{},scrollbarRecompensor:{},slideChangeFacade:{},slideIndexChanger:{},sourcesPointerDown:{},sourceDisplayFacade:{},stageManager:{},windowResizeActioner:{}},this.ap={},this.fs={},this.sws={},this.e=function(m){_.props[m]&&_.props[m](_)},bt(this),this.close=function(){return _.core.lightboxCloser.closeLightbox()}},window.fsLightboxInstances={},oi(),window.refreshFsLightbox=function(){for(var _ in fsLightboxInstances){var m=fsLightboxInstances[_].props;fsLightboxInstances[_]=new FsLightbox,fsLightboxInstances[_].props=m,fsLightboxInstances[_].props.sources=[],fsLightboxInstances[_].elements.a=[]}oi()}}])})})(fc);ki.registerPlugin(fe);(function(o,e){const i=function(){e.path.isFront;const t=document.querySelector('main[role="main"]'),r=ki.matchMedia(),s=`(min-width: ${getComputedStyle(document.documentElement).getPropertyValue("--bp-tablette").trim()||"768px"})`;let a=null;function l(){u(),c(),p(),f(),h(),g(),document.addEventListener("leshed:titles-ready",()=>fe.refresh(),{once:!0})}function u(){document.getElementById("burger-btn").parentElement.addEventListener("click",function(v){v.target.closest("form")||(this.firstElementChild.toggleAttribute("opened"),this.firstElementChild.nextElementSibling.toggleAttribute("opened"))})}function c(){const d=document.querySelector('main[role="main"]'),v=d&&d.querySelector(".layout-content");if(!(!d||!v))return a=new cc({wrapper:d,content:v,duration:1.2,smoothWheel:!0}),a.on("scroll",fe.update),ki.ticker.add(w=>a.raf(w*1e3)),ki.ticker.lagSmoothing(0),a}function p(){const d=document.querySelector(".layout--twocol-section--50-50 .layout__region--first"),v=document.querySelector(".layout--twocol-section--50-50 .layout__region--second");!t||!d||!v||r.add(s,()=>([d,v].forEach(w=>{ki.to(w,{y:()=>{const x=t.clientHeight,b=t.scrollHeight-t.clientHeight,S=Math.max(0,w.offsetHeight-x);return b-S},ease:"none",scrollTrigger:{scroller:t,start:0,end:"max",scrub:!0,invalidateOnRefresh:!0}})}),()=>{}))}function h(){const d=.4,v=document.querySelector("article.node-type-static.view-mode-full .cols, article.node-type-projet.view-mode-full .cols, article.node-type-evenement.view-mode-full .cols"),w=v&&v.querySelector(".col.left"),x=v&&v.querySelector(".col.right .field_images"),b=w&&w.querySelector(".spacer"),S=b&&parseFloat(getComputedStyle(b).height)||0,P=document.querySelector(" article.node-type-static.view-mode-full .cols>.col.left>header, article.node-type-projet.view-mode-full .cols>.col.left>header, article.node-type-evenement.view-mode-full .cols>.col.left>header ");!P&&!(v&&w)||requestAnimationFrame(()=>{requestAnimationFrame(()=>{r.add(s,()=>{const A=()=>t.clientHeight,T=()=>P?P.offsetHeight*(1-d):0,N=()=>b?Math.max(0,(parseFloat(getComputedStyle(b).height)||0)-S):0,D=()=>w?w.offsetHeight-N():0,L=()=>{if(!x)return 0;let J=0;return x.querySelectorAll(".field-item").forEach(xe=>{J+=xe.offsetHeight}),J},se=()=>{if(!x)return 0;const J=x.querySelector(".field-item:last-child");return J?J.offsetHeight:0},Y=()=>{if(!b||!P)return;const J=T();if(t.scrollHeight-t.clientHeight{if(!x)return;const J=Math.max(0,w.offsetHeight-L(),A()-se());x.style.setProperty("--sticky-extent",J+"px")},ee=()=>{Y(),ue(),t.offsetHeight,a&&a.resize()},he=()=>Math.max(0,D()-A(),T());ee(),P&&ki.to(P,{scale:d,y:T,ease:"none",scrollTrigger:{scroller:t,start:0,end:T,scrub:!0,invalidateOnRefresh:!0}}),v&&w&&ki.fromTo(w,{y:0},{y:()=>t.scrollHeight-t.clientHeight-he(),ease:"none",scrollTrigger:{scroller:t,start:he,end:"max",scrub:!0,invalidateOnRefresh:!0}});const le=()=>{ee(),fe.refresh()},Q=x?Array.from(x.querySelectorAll("img")):[];return Q.forEach(J=>{J.complete||J.addEventListener("load",le)}),window.addEventListener("load",le),document.fonts&&document.fonts.ready&&document.fonts.ready.then(le),()=>{Q.forEach(J=>J.removeEventListener("load",le)),window.removeEventListener("load",le),b&&(b.style.height=""),x&&x.style.removeProperty("--sticky-extent")}})})})}function f(){let d=document.querySelectorAll(" article.node-type-static.view-mode-full .col.right .field_images.multiple .field-item a, article.node-type-projet.view-mode-full .col.right .field_images.multiple .field-item a, article.node-type-evenement.view-mode-full .col.right .field_images.multiple .field-item a ");for(const v of d)v.setAttribute("data-fslightbox","gallery");window.refreshFsLightbox()}function g(){const d=document.querySelectorAll(".views-archives-projets .view-content");if(!d.length)return;const v=8,w=b=>{const S=b.querySelectorAll(":scope > .views-row");if(!S.length)return;const P=parseFloat(getComputedStyle(b).rowGap)||0;b.style.gridAutoFlow="row dense",S.forEach(A=>{const T=getComputedStyle(A),N=A.offsetHeight+(parseFloat(T.marginTop)||0)+(parseFloat(T.marginBottom)||0),D=Math.max(1,Math.ceil((N+P)/(v+P)));A._masonrySpan!==D&&(A._masonrySpan=D,A.style.gridRowEnd=`span ${D}`)}),b.style.gridAutoRows=`${v}px`},x=b=>{b._masonryRaf||(b._masonryRaf=requestAnimationFrame(()=>{b._masonryRaf=null,w(b)}))};d.forEach(b=>{new ResizeObserver(()=>x(b)).observe(b);const S=new ResizeObserver(()=>x(b));b.querySelectorAll(":scope > .views-row > article").forEach(P=>S.observe(P)),b.addEventListener("load",()=>x(b),!0),document.fonts&&document.fonts.ready&&document.fonts.ready.then(()=>x(b)),document.addEventListener("leshed:titles-ready",()=>x(b),{once:!0}),x(b)})}l()};requestAnimationFrame(()=>setTimeout(i,0))})(Drupal,drupalSettings); diff --git a/web/themes/custom/leshed/assets/dist/sentry.js b/web/themes/custom/leshed/assets/dist/sentry.js index a75295f..2ffba92 100644 --- a/web/themes/custom/leshed/assets/dist/sentry.js +++ b/web/themes/custom/leshed/assets/dist/sentry.js @@ -1,15 +1,15 @@ -const h=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,g=globalThis,Ot="11.20.0";function ot(){return ht(g),g}function ht(t){const e=t.__SENTRY__=t.__SENTRY__||{};return e.version=e.version||"11.20.0",e[Ot]=e["11.20.0"]||{}}function Dt(t,e,n=g){const r=n.__SENTRY__=n.__SENTRY__||{},s=r[Ot]=r["11.20.0"]||{};return s[t]||(s[t]=e())}const Pn=["debug","info","warn","error","log","assert","trace"],Br="Sentry Logger ",Rt={};function H(t){if(!("console"in g))return t();const e=g.console,n={},r=Object.keys(Rt);r.forEach(s=>{const o=Rt[s];n[s]=e[s],e[s]=o});try{return t()}finally{r.forEach(s=>{e[s]=n[s]})}}function Hr(){Ee().enabled=!0}function Wr(){Ee().enabled=!1}function $n(){return Ee().enabled}function Gr(...t){Se("log",...t)}function qr(...t){Se("warn",...t)}function zr(...t){Se("error",...t)}function Se(t,...e){h&&$n()&&H(()=>{g.console[t](`${Br}[${t}]:`,...e)})}function Ee(){return h?Dt("loggerSettings",()=>({enabled:!1})):{enabled:!1}}const p={enable:Hr,disable:Wr,isEnabled:$n,log:Gr,warn:qr,error:zr},Mn=50,Z="?",Pe=/\(error: (.*)\)/,$e=/captureMessage|captureException/;function Fn(...t){const e=t.sort((n,r)=>n[0]-r[0]).map(n=>n[1]);return(n,r=0,s=0)=>{const o=[],i=n.split(` -`);for(let a=r;a1024&&(c=c.slice(0,1024));const u=Pe.test(c)?c.replace(Pe,"$1"):c;if(!u.includes("Error: ")){for(const f of e){const l=f(u);if(l){o.push(l);break}}if(o.length>=Mn+s)break}}return Kr(o.slice(s))}}function Yr(t){return Array.isArray(t)?Fn(...t):t}function Kr(t){if(!t.length)return[];const e=Array.from(t);return/sentryWrapped/.test(bt(e).function||"")&&e.pop(),e.reverse(),$e.test(bt(e).function||"")&&(e.pop(),$e.test(bt(e).function||"")&&e.pop()),e.slice(0,Mn).map(n=>({...n,filename:n.filename||bt(e).filename,function:n.function||"?"}))}function bt(t){return t[t.length-1]||{}}const jt="";function j(t){try{return!t||typeof t!="function"?jt:t.name||jt}catch{return jt}}function Me(t){const e=t.exception;if(e){const n=[];try{return e.values.forEach(r=>{r.stacktrace.frames&&n.push(...r.stacktrace.frames)}),n}catch{return}}}const ut={},Fe={};function z(t,e){return ut[t]=ut[t]||[],ut[t].push(e),()=>{const n=ut[t];if(n){const r=n.indexOf(e);r!==-1&&n.splice(r,1)}}}function Y(t,e){if(!Fe[t]){Fe[t]=!0;try{e()}catch(n){h&&p.error(`Error while instrumenting ${t}`,n)}}}function C(t,e){const n=t&&ut[t];if(n)for(const r of n)try{r(e)}catch(s){h&&p.error(`Error while triggering instrumentation handler. +const h=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,_=globalThis,Ot="11.20.0";function st(){return pt(_),_}function pt(t){const e=t.__SENTRY__=t.__SENTRY__||{};return e.version=e.version||"11.20.0",e[Ot]=e["11.20.0"]||{}}function Dt(t,e,n=_){const r=n.__SENTRY__=n.__SENTRY__||{},s=r[Ot]=r["11.20.0"]||{};return s[t]||(s[t]=e())}const Ln=["debug","info","warn","error","log","assert","trace"],Fr="Sentry Logger ",Rt={};function B(t){if(!("console"in _))return t();const e=_.console,n={},r=Object.keys(Rt);r.forEach(s=>{const o=Rt[s];n[s]=e[s],e[s]=o});try{return t()}finally{r.forEach(s=>{e[s]=n[s]})}}function jr(){Ee().enabled=!0}function Ur(){Ee().enabled=!1}function Pn(){return Ee().enabled}function Br(...t){Se("log",...t)}function Hr(...t){Se("warn",...t)}function Wr(...t){Se("error",...t)}function Se(t,...e){h&&Pn()&&B(()=>{_.console[t](`${Fr}[${t}]:`,...e)})}function Ee(){return h?Dt("loggerSettings",()=>({enabled:!1})):{enabled:!1}}const p={enable:jr,disable:Ur,isEnabled:Pn,log:Br,warn:Hr,error:Wr},$n=50,Q="?",Pe=/\(error: (.*)\)/,$e=/captureMessage|captureException/;function Mn(...t){const e=t.sort((n,r)=>n[0]-r[0]).map(n=>n[1]);return(n,r=0,s=0)=>{const o=[],i=n.split(` +`);for(let a=r;a1024&&(c=c.slice(0,1024));const u=Pe.test(c)?c.replace(Pe,"$1"):c;if(!u.includes("Error: ")){for(const f of e){const l=f(u);if(l){o.push(l);break}}if(o.length>=$n+s)break}}return qr(o.slice(s))}}function Gr(t){return Array.isArray(t)?Mn(...t):t}function qr(t){if(!t.length)return[];const e=Array.from(t);return/sentryWrapped/.test(bt(e).function||"")&&e.pop(),e.reverse(),$e.test(bt(e).function||"")&&(e.pop(),$e.test(bt(e).function||"")&&e.pop()),e.slice(0,$n).map(n=>({...n,filename:n.filename||bt(e).filename,function:n.function||"?"}))}function bt(t){return t[t.length-1]||{}}const jt="";function j(t){try{return!t||typeof t!="function"?jt:t.name||jt}catch{return jt}}function Me(t){const e=t.exception;if(e){const n=[];try{return e.values.forEach(r=>{r.stacktrace.frames&&n.push(...r.stacktrace.frames)}),n}catch{return}}}const ct={},Fe={};function q(t,e){return ct[t]=ct[t]||[],ct[t].push(e),()=>{const n=ct[t];if(n){const r=n.indexOf(e);r!==-1&&n.splice(r,1)}}}function z(t,e){if(!Fe[t]){Fe[t]=!0;try{e()}catch(n){h&&p.error(`Error while instrumenting ${t}`,n)}}}function N(t,e){const n=t&&ct[t];if(n)for(const r of n)try{r(e)}catch(s){h&&p.error(`Error while triggering instrumentation handler. Type: ${t} Name: ${j(r)} -Error:`,s)}}let Ut=null;function Vr(t){const e="error";z(e,t),Y(e,Xr)}function Xr(){Ut=g.onerror,g.onerror=function(t,e,n,r,s){return C("error",{column:r,error:s,line:n,msg:t,url:e}),Ut?Ut.apply(this,arguments):!1},g.onerror.__SENTRY_INSTRUMENTED__=!0}let Bt=null;function Jr(t){const e="unhandledrejection";z(e,t),Y(e,Qr)}function Qr(){Bt=g.onunhandledrejection,g.onunhandledrejection=function(t){return C("unhandledrejection",t),Bt?Bt.apply(this,arguments):!0},g.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}const jn=Object.prototype.toString;function D(t){switch(jn.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return ve(t,Error)}}function it(t,e){return jn.call(t)===`[object ${e}]`}function Un(t){return it(t,"ErrorEvent")}function je(t){return it(t,"DOMError")}function Zr(t){return it(t,"DOMException")}function $(t){return it(t,"String")}function be(t){return typeof t=="object"&&t!==null&&"__sentry_template_string__"in t&&"__sentry_template_values__"in t}function at(t){return t===null||be(t)||typeof t!="object"&&typeof t!="function"}function mt(t){return it(t,"Object")}function At(t){return typeof t=="object"&&t!==null}function xt(t){return typeof Event<"u"&&ve(t,Event)}function ts(t){return it(t,"RegExp")}function gt(t){return!!(t!=null&&t.then&&typeof t.then=="function")}function ve(t,e){try{return t instanceof e}catch{return!1}}function Bn(t){return typeof Request<"u"&&ve(t,Request)}function k(t,e,n){if(!(e in t))return;const r=t[e];if(typeof r!="function")return;const s=n(r);typeof s=="function"&&Hn(s,r);try{t[e]=s}catch{h&&p.log(`Failed to replace method "${String(e)}" in object`,t)}}function U(t,e,n){try{Object.defineProperty(t,e,{value:n,writable:!0,configurable:!0})}catch{h&&p.log(`Failed to add non-enumerable property "${String(e)}" to object`,t)}}function Hn(t,e){try{t.prototype=e.prototype=e.prototype||{},U(t,"__sentry_original__",e)}catch{}}function Ie(t){return t.__sentry_original__}function Wn(t){if(D(t))return{message:t.message,name:t.name,stack:t.stack,...Ue(t)};if(xt(t)){const{type:e,target:n,currentTarget:r,detail:s}=t;return{type:e,target:n,currentTarget:r,...s?{detail:s}:{},...Ue(t)}}return t}function Ue(t){return At(t)?Object.fromEntries(Object.entries(t)):{}}function es(t){const e=Object.keys(Wn(t));return e.sort(),e[0]?e.join(", "):"[object has no keys]"}let X;function dt(t){if(X!==void 0)return X?X(t):t();const e=Symbol.for("__SENTRY_SAFE_RANDOM_ID_WRAPPER__"),n=g;return e in n&&typeof n[e]=="function"?(X=n[e],X(t)):(X=null,t())}function Te(){return dt(()=>Math.random())}function K(){return dt(()=>Date.now())}const ns=Symbol.for("sentry.skipNormalization"),rs=Symbol.for("sentry.overrideNormalizationDepth");function ss(t){return!!t[ns]}function os(t){const e=t[rs];return typeof e=="number"?e:void 0}let Vt;function is(t){Vt=t}function P(t,e=100,n=1/0){try{return Xt("",t,e,n)}catch(r){return{ERROR:`**non-serializable** (${Gn(r)})`}}}function Gn(t){try{return String(t)}catch{return"unknown error"}}function qn(t,e=3,n=102400){const r=P(t,e);return us(r)>n?qn(t,e-1,n):r}function Xt(t,e,n=1/0,r=1/0,s=fs()){const[o,i]=s;if(e==null||["boolean","string"].includes(typeof e)||typeof e=="number"&&Number.isFinite(e))return e;const a=we(t,e);if(!a.startsWith("[object "))return a;if(ss(e))return e;const c=os(e),u=c!==void 0?c:n;if(u===0)return a.replace("object ","");if(o(e))return"[Circular ~]";const f=e;if(f&&typeof f.toJSON=="function")try{return Xt("",f.toJSON(),u-1,r,s)}catch{}const l=Array.isArray(e)?[]:{};let d=0;const m=Wn(e);for(const y in m){if(!Object.prototype.hasOwnProperty.call(m,y))continue;if(d>=r){l[y]="[MaxProperties ~]";break}const R=m[y];l[y]=Xt(y,R,u-1,r,s),d++}return i(e),l}function we(t,e){try{if(Vt){const n=Vt(e);if(n)return n}return typeof global<"u"&&e===global?"[Global]":typeof e=="number"&&!Number.isFinite(e)?`[${e}]`:typeof e=="function"?`[Function: ${j(e)}]`:typeof e=="symbol"?`[${String(e)}]`:typeof e=="bigint"?`[BigInt: ${String(e)}]`:`[object ${as(e)}]`}catch(n){return`**non-serializable** (${Gn(n)})`}}function as(t){const e=Object.getPrototypeOf(t);return e!=null&&e.constructor?e.constructor.name:"null prototype"}function cs(t){return~-encodeURI(t).split(/%..|./).length}function us(t){return cs(JSON.stringify(t))}function fs(){const t=new WeakSet;function e(r){return t.has(r)?!0:(t.add(r),!1)}function n(r){t.delete(r)}return[e,n]}function ls(t,e="[unserializable]"){if(typeof t=="string")return t;try{return JSON.stringify(t)}catch{return typeof e=="function"?e(t):e}}function Jt(t,e=0){return typeof t!="string"||e===0||t.length<=e?t:`${t.slice(0,e)}...`}function ds(t,e){if(!Array.isArray(t))return"";const n=[];for(let r=0;rt.randomUUID()).replace(/-/g,"")}catch{}return Ht||(Ht="10000000100040008000100000000000"),Ht.replace(/[018]/g,e=>(e^(hs()&15)>>e/4).toString(16))}function zn(t){var e,n;return(n=(e=t.exception)==null?void 0:e.values)==null?void 0:n[0]}function G(t){const{message:e,event_id:n}=t;if(e)return e;const r=zn(t);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"":n||""}function Qt(t,e,n){const r=t.exception=t.exception||{},s=r.values=r.values||[],o=s[0]=s[0]||{};o.value||(o.value=e||""),o.type||(o.type="Error")}function Q(t,e){const n=zn(t);n&&Yn(n,e)}function ms(t,e){var s;const n=(s=t.exception)==null?void 0:s.values,r=(n==null?void 0:n.find(o=>{var i;return((i=o.mechanism)==null?void 0:i.exception_id)===0}))??(n==null?void 0:n[0]);r&&Yn(r,e)}function Yn(t,e){const n={type:"generic",handled:!0},r=t.mechanism;t.mechanism={...n,...r,...e},e&&"data"in e&&(t.mechanism.data={...r==null?void 0:r.data,...e.data})}function Be(t){if(gs(t))return!0;try{U(t,"__sentry_captured__",!0)}catch{}return!1}function gs(t){try{return t.__sentry_captured__}catch{}}const Kn=1e3,_s=1e3,ys=100;function yt(){return K()/Kn}let J=[];function Ss(){const{performance:t}=g;if(!(t!=null&&t.now)||!t.timeOrigin)return t!=null&&t.now&&(J=[{from:0,origin:K()-dt(()=>t.now())}]),yt;let e=t.timeOrigin;J=[{from:0,origin:e}];let n=!0,r=0;return()=>dt(()=>{const s=t.now(),o=Date.now();return Math.abs(e+s-o)>_s&&(e=o-s,n?J=[{from:0,origin:e}]:(J.push({from:r,origin:e}),J.length>ys&&J.splice(1,1))),n=!1,r=s,(e+s)/Kn})}let He;function A(){return(He??(He=Ss()))()}function Es(t){const e=A(),n={sid:N(),init:!0,timestamp:e,started:e,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>vs(n)};return t&&tt(n,t),n}function tt(t,e={}){if(e.user&&(!t.ipAddress&&e.user.ip_address&&(t.ipAddress=e.user.ip_address),!t.did&&!e.did&&(t.did=e.user.id||e.user.email||e.user.username)),t.timestamp=e.timestamp||A(),e.abnormal_mechanism&&(t.abnormal_mechanism=e.abnormal_mechanism),e.ignoreDuration&&(t.ignoreDuration=e.ignoreDuration),e.sid&&(t.sid=e.sid.length===32?e.sid:N()),e.init!==void 0&&(t.init=e.init),!t.did&&e.did&&(t.did=`${e.did}`),typeof e.started=="number"&&(t.started=e.started),t.ignoreDuration)t.duration=void 0;else if(typeof e.duration=="number")t.duration=e.duration;else{const n=t.timestamp-t.started;t.duration=n>=0?n:0}e.release&&(t.release=e.release),e.environment&&(t.environment=e.environment),!t.ipAddress&&e.ipAddress&&(t.ipAddress=e.ipAddress),!t.userAgent&&e.userAgent&&(t.userAgent=e.userAgent),typeof e.errors=="number"&&(t.errors=e.errors),e.status&&(t.status=e.status)}function bs(t,e){let n={};t.status==="ok"&&(n={status:"exited"}),tt(t,n)}function vs(t){return{sid:`${t.sid}`,init:t.init,started:new Date(t.started*1e3).toISOString(),timestamp:new Date(t.timestamp*1e3).toISOString(),status:t.status,errors:t.errors,did:typeof t.did=="number"||typeof t.did=="string"?`${t.did}`:void 0,duration:t.duration,abnormal_mechanism:t.abnormal_mechanism,attrs:{release:t.release,environment:t.environment,ip_address:t.ipAddress,user_agent:t.userAgent}}}function St(t,e,n=2){if(!e||typeof e!="object"||n<=0)return e;if(t&&Object.keys(e).length===0)return t;const r={...t};for(const s in e)Object.prototype.hasOwnProperty.call(e,s)&&(r[s]=St(r[s],e[s],n-1));return r}function Is(){return N()}function Vn(){return N().substring(16)}const Ts=100;var et=class Zt{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._attributes={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},U(this,"refs",{}),this._propagationContext={traceId:Is(),sampleRand:Te()}}clone(){const e=new Zt;return e._breadcrumbs=[...this._breadcrumbs],e._tags={...this._tags},e._attributes={...this._attributes},e._extra={...this._extra},e._contexts={...this._contexts},this._contexts.flags&&(e._contexts.flags={values:[...this._contexts.flags.values]}),e._user=this._user,e._level=this._level,e._session=this._session,e._transactionName=this._transactionName,e._fingerprint=this._fingerprint,e._eventProcessors=[...this._eventProcessors],e._attachments=[...this._attachments],e._sdkProcessingMetadata={...this._sdkProcessingMetadata},e._propagationContext={...this._propagationContext},e._client=this._client,e._lastEventId=this._lastEventId,e._conversationId=this._conversationId,e.refs={...this.refs},e}setClient(e){this._client=e}setLastEventId(e){this._lastEventId=e}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&tt(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}setConversationId(e){return this._conversationId=e||void 0,this._notifyScopeListeners(),this}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,n){return this.setTags({[e]:n})}setAttributes(e){return this._attributes={...this._attributes,...e},this._notifyScopeListeners(),this}setAttribute(e,n){return this.setAttributes({[e]:n})}removeAttribute(e){return e in this._attributes&&(delete this._attributes[e],this._notifyScopeListeners()),this}setExtras(e){return this._extra={...this._extra,...e},this._notifyScopeListeners(),this}setExtra(e,n){return this._extra={...this._extra,[e]:n},this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,n){return n===null?delete this._contexts[e]:this._contexts[e]=n,this._notifyScopeListeners(),this}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(e){if(!e)return this;const n=typeof e=="function"?e(this):e,{tags:r,attributes:s,extra:o,user:i,contexts:a,level:c,fingerprint:u=[],propagationContext:f,conversationId:l}=(n instanceof Zt?n.getScopeData():mt(n)?e:void 0)||{};return this._tags={...this._tags,...r},this._attributes={...this._attributes,...s},this._extra={...this._extra,...o},this._contexts={...this._contexts,...a},i&&Object.keys(i).length&&(this._user=i),c&&(this._level=c),u.length&&(this._fingerprint=u),f&&(this._propagationContext=f),l&&(this._conversationId=l),this}addBreadcrumb(e,n){const r=typeof n=="number"?n:Ts;if(r<=0)return this;const s={timestamp:yt(),...e,message:e.message?Jt(e.message,2048):e.message};return this._breadcrumbs.push(s),this._breadcrumbs.length>r&&(this._breadcrumbs=this._breadcrumbs.slice(-r)),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,attributes:this._attributes,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,conversationId:this._conversationId}}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata=St(this._sdkProcessingMetadata,e,2),this}setPropagationContext(e){return this._propagationContext=e,this}getPropagationContext(){return this._propagationContext}captureException(e,n){const r=(n==null?void 0:n.event_id)||N();if(!this._client)return h&&p.warn("No client configured on scope - will not capture exception!"),r;const s=new Error("Sentry syntheticException");return this._client.captureException(e,{originalException:e,syntheticException:s,...n,event_id:r},this),r}captureMessage(e,n,r){const s=(r==null?void 0:r.event_id)||N();if(!this._client)return h&&p.warn("No client configured on scope - will not capture message!"),s;const o=(r==null?void 0:r.syntheticException)??new Error(e);return this._client.captureMessage(e,n,{originalException:e,syntheticException:o,...r,event_id:s},this),s}captureEvent(e,n){const r=e.event_id||(n==null?void 0:n.event_id)||N();return this._client?(this._client.captureEvent(e,{...n,event_id:r},this),r):(h&&p.warn("No client configured on scope - will not capture event!"),r)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(e=>{e(this)}),this._notifyingListeners=!1)}};function ws(){return Dt("defaultCurrentScope",()=>new et)}function ks(){return Dt("defaultIsolationScope",()=>new et)}const We="__SENTRY_SUPPRESS_TRACING__",Ge=t=>t instanceof Promise&&!t[Xn],Xn=Symbol("chained PromiseLike"),Os=(t,e,n)=>{const r=t.then(s=>(e(s),s),s=>{throw n(s),s});return Ge(r)&&Ge(t)?r:Rs(t,r)},Rs=(t,e)=>{if(!e)return t;let n=!1;for(const r in t){if(r in e)continue;n=!0;const s=t[r];typeof s=="function"?Object.defineProperty(e,r,{value:(...o)=>s.apply(t,o),enumerable:!0,configurable:!0,writable:!0}):e[r]=s}return n&&Object.assign(e,{[Xn]:!0}),e};var Ns=class{constructor(t,e){let n;t?n=t:n=new et;let r;e?r=e:r=new et,this._stack=[{scope:n}],this._isolationScope=r}withScope(t){const e=this._pushScope();let n;try{n=t(e)}catch(r){throw this._popScope(),r}return gt(n)?Os(n,()=>this._popScope(),()=>this._popScope()):(this._popScope(),n)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){const t=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:t}),t}_popScope(){return this._stack.length<=1?!1:!!this._stack.pop()}};function nt(){const t=ot(),e=ht(t);return e.stack=e.stack||new Ns(ws(),ks())}function Jn(t){return nt().withScope(t)}function Cs(t,e){const n=nt();return n.withScope(()=>(n.getStackTop().scope=t,e(t)))}function qe(t){return nt().withScope(()=>t(nt().getIsolationScope()))}function Ds(){return{suppressTracing:As,withIsolationScope:qe,withScope:Jn,withSetScope:Cs,withSetIsolationScope:(t,e)=>qe(e),getCurrentScope:()=>nt().getScope(),getIsolationScope:()=>nt().getIsolationScope()}}function As(t){return Jn(e=>{e.setSDKProcessingMetadata({[We]:!0});const n=t();return e.setSDKProcessingMetadata({[We]:void 0}),n})}function Lt(t){const e=ht(t);return e.acs?e.acs:Ds()}function xs(t){return typeof t=="object"&&t!=null&&!Array.isArray(t)&&Object.keys(t).includes("value")}function Ls(t,e){const{value:n,unit:r}=xs(t)?t:{value:t,unit:void 0},s=Ps(n),o=r&&typeof r=="string"?{unit:r}:{};if(s)return{...s,...o};if(!e||e==="skip-undefined"&&n===void 0)return;let i="";try{i=JSON.stringify(n)??""}catch{}return{value:i,type:"string",...o}}function ze(t,e=!1){const n={};for(const[r,s]of Object.entries(t??{})){const o=Ls(s,e);o&&(n[r]=o)}return n}function Ps(t){if(Array.isArray(t))return{value:t,type:"array"};const e=typeof t=="string"?"string":typeof t=="boolean"?"boolean":typeof t=="number"&&!Number.isNaN(t)?Number.isInteger(t)?"integer":"double":null;if(e)return{value:t,type:e}}function Qn(){var t,e;return(e=(t=ht(ot())).externalPropagationContextProvider)==null?void 0:e.call(t)}function x(){const t=ot();return Lt(t).getCurrentScope()}function V(){const t=ot();return Lt(t).getIsolationScope()}function $s(){return Dt("globalScope",()=>new et)}function Ms(...t){const e=ot(),n=Lt(e);if(t.length===2){const[r,s]=t;return r?n.withSetScope(r,s):n.withScope(s)}return n.withScope(t[0])}function b(){return x().getClient()}function Zn(t){const e=Qn();if(e)return{trace_id:e.traceId,span_id:e.spanId};const{traceId:n,parentSpanId:r,propagationSpanId:s}=t.getPropagationContext(),o={trace_id:n,span_id:s||Vn()};return r&&(o.parent_span_id=r),o}const Fs=["ok","deadline_exceeded","unauthenticated","permission_denied","not_found","resource_exhausted","invalid_argument","unimplemented","unavailable","internal_error","unknown_error","cancelled","already_exists","failed_precondition","aborted","out_of_range","data_loss"],js="browser.web_vital.inp.target",Us="culture.calendar",Bs="culture.locale",Hs="culture.timezone",Ws="gen_ai.conversation.id",Gs="http.request.header",tr="sentry.exclusive_time",qs="sentry.is_localhost",er="sentry.op",zs="sentry.origin",nr="sentry.profile_id",Ys="sentry.segment.name.source",Ks="url.full",Vs="user_agent.original";function Xs(t){return t!=="ok"&&Fs.includes(t)}function rr(t){if(t){if(typeof t=="object"&&"deref"in t&&typeof t.deref=="function")try{return t.deref()}catch{return}return t}}const Js="_sentryScope",Qs="_sentryIsolationScope";function te(t){const e=t;return{scope:e[Js],isolationScope:rr(e[Qs])}}function Zs(t){const e=to(t);if(!e)return;const n=Object.entries(e).reduce((r,[s,o])=>{if(s.startsWith("sentry-")){const i=s.slice(7);r[i]=o}return r},{});if(Object.keys(n).length>0)return n}function to(t){if(!(!t||!$(t)&&!Array.isArray(t)))return Array.isArray(t)?t.reduce((e,n)=>{const r=Ye(n);return Object.entries(r).forEach(([s,o])=>{e[s]=o}),e},{}):Ye(t)}function Ye(t){return t.split(",").map(e=>{const n=e.indexOf("=");return n===-1?[]:[e.slice(0,n),e.slice(n+1)].map(r=>{try{return decodeURIComponent(r.trim())}catch{return}})}).reduce((e,[n,r])=>(n&&r&&(e[n]=r),e),{})}const eo=/^o(\d+)\./,no=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)((?:\[[:.%\w]+\]|[\w.-]+))(?::(\d+))?\/(.+)/;function ro(t){return t==="http"||t==="https"}function Pt(t,e=!1){const{host:n,path:r,pass:s,port:o,projectId:i,protocol:a,publicKey:c}=t;return`${a}://${c}${e&&s?`:${s}`:""}@${n}${o?`:${o}`:""}/${r&&`${r}/`}${i}`}function so(t){const e=no.exec(t);if(!e){H(()=>{console.error(`Invalid Sentry Dsn: ${t}`)});return}const[n,r,s="",o="",i="",a=""]=e.slice(1);let c="",u=a;const f=u.split("/");if(f.length>1&&(c=f.slice(0,-1).join("/"),u=f.pop()),u){const l=u.match(/^\d+/);l&&(u=l[0])}return sr({host:o,pass:s,path:c,projectId:u,port:i,protocol:n,publicKey:r})}function sr(t){return{protocol:t.protocol,publicKey:t.publicKey||"",pass:t.pass||"",host:t.host,port:t.port||"",path:t.path||"",projectId:t.projectId}}function oo(t){if(!h)return!0;const{port:e,projectId:n,protocol:r}=t;return["protocol","publicKey","host","projectId"].find(s=>t[s]?!1:(p.error(`Invalid Sentry Dsn: ${s} missing`),!0))?!1:n.match(/^\d+$/)?ro(r)?e&&isNaN(parseInt(e,10))?(p.error(`Invalid Sentry Dsn: Invalid port ${e}`),!1):!0:(p.error(`Invalid Sentry Dsn: Invalid protocol ${r}`),!1):(p.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),!1)}function io(t){var e;return(e=t.match(eo))==null?void 0:e[1]}function ao(t){const e=t.getOptions(),{host:n}=t.getDsn()||{};let r;return e.orgId?r=String(e.orgId):n&&(r=io(n)),r}function ke(t){const e=typeof t=="string"?so(t):sr(t);if(!(!e||!oo(e)))return e}function co(t){if(typeof t=="boolean")return Number(t);const e=typeof t=="string"?parseFloat(t):t;if(!(typeof e!="number"||isNaN(e)||e<0||e>1))return e}const uo="span";function fo(t){return rr(t.refs[uo])}function lo(t){const{spanId:e,traceId:n,isRemote:r}=t.spanContext(),s=r?e:$t(t).parent_span_id,o=te(t).scope;return{parent_span_id:s,span_id:r?(o==null?void 0:o.getPropagationContext().propagationSpanId)||Vn():e,trace_id:n}}function po(t){if(t&&t.length>0)return t.map(({context:{spanId:e,traceId:n,traceFlags:r,...s},attributes:o})=>({span_id:e,trace_id:n,sampled:r===1,attributes:o,...s}))}function Ke(t){return typeof t=="number"?Ve(t):Array.isArray(t)?t[0]+t[1]/1e9:t instanceof Date?Ve(t.getTime()):A()}function Ve(t){return t>9999999999?t/1e3:t}function $t(t){if(_o(t))return t.getStaticSpanJSON();const{spanId:e,traceId:n}=t.spanContext();if(go(t)){const{attributes:r,startTime:s,name:o,endTime:i,status:a,links:c}=t;return{span_id:e,trace_id:n,data:r,description:o,parent_span_id:ho(t),start_timestamp:Ke(s),timestamp:Ke(i)||void 0,status:So(a),op:r[er],origin:r[zs],links:po(c)}}return{span_id:e,trace_id:n,start_timestamp:0,status:"ok",data:{}}}function ho(t){var e;return"parentSpanId"in t?t.parentSpanId:"parentSpanContext"in t?(e=t.parentSpanContext)==null?void 0:e.spanId:void 0}function mo(t){var e;return{...t,end_timestamp:t.end_timestamp??t.start_timestamp,attributes:ze(t.attributes),links:(e=t.links)==null?void 0:e.map(n=>({...n,attributes:ze(n.attributes)}))}}function go(t){const e=t;return!!e.attributes&&!!e.startTime&&!!e.name&&!!e.endTime&&!!e.status}function _o(t){return typeof t.getSpanJSON=="function"}function yo(t){const{traceFlags:e}=t.spanContext();return e===1}function So(t){return!t||t.code===0||t.code===1?"ok":t.message&&Xs(t.message)?t.message:"internal_error"}const Eo="_sentryRootSpan",or=bo;function bo(t){return t[Eo]||t}function vo(t){const e=ot(),n=Lt(e);return n.getActiveSpan?n.getActiveSpan(t):fo(t||x())}function Xe(t){var n;if(typeof __SENTRY_TRACING__=="boolean"&&!__SENTRY_TRACING__)return!1;const e=t||((n=b())==null?void 0:n.getOptions());return!!e&&(e.tracesSampleRate!=null||!!e.tracesSampler)}function Je(t){p.log(`Ignoring span ${t.op} - ${t.description} because it matches \`ignoreSpans\`.`)}function Qe(t,e){if(!(e!=null&&e.length))return!1;for(const n of e){if(wo(n)){if(t.description&<(t.description,n))return h&&Je(t),!0;continue}const r=!!n.attributes&&Object.keys(n.attributes).length>0;if(!n.name&&!n.op&&!r)continue;const s=n.name?t.description&<(t.description,n.name):!0,o=n.op?t.op&<(t.op,n.op):!0,i=n.attributes?Object.entries(n.attributes).every(([a,c])=>{var u;return Io((u=t.attributes)==null?void 0:u[a],c)}):!0;if(s&&o&&i)return h&&Je(t),!0}return!1}function Io(t,e){return typeof t=="string"&&(typeof e=="string"||e instanceof RegExp)?lt(t,e):Array.isArray(t)&&Array.isArray(e)?t.length===e.length&&t.every((n,r)=>n===e[r]):t===e}function To(t,e){const n=e.parent_span_id,r=e.span_id;if(n)for(const s of t)s.parent_span_id===r&&(s.parent_span_id=n)}function wo(t){return typeof t=="string"||t instanceof RegExp}const Ze=[];function ko(t){const e={};return t.forEach(n=>{const{name:r}=n,s=e[r];s&&!s.isDefaultInstance&&n.isDefaultInstance||(e[r]=n)}),Object.values(e)}function Oo(t){const e=t.defaultIntegrations||[],n=t.integrations;e.forEach(s=>{s.isDefaultInstance=!0});let r;if(Array.isArray(n))r=[...e,...n];else if(typeof n=="function"){const s=n(e);r=Array.isArray(s)?s:[s]}else r=e;return ko(r)}function Ro(t,e){const n={};return e.forEach(r=>{r!=null&&r.beforeSetup&&r.beforeSetup(t)}),e.forEach(r=>{r&&ir(t,r,n)}),n}function tn(t,e){for(const n of e)n!=null&&n.afterAllSetup&&n.afterAllSetup(t)}function ir(t,e,n){if(n[e.name]){h&&p.log(`Integration skipped because it was already installed: ${e.name}`);return}if(n[e.name]=e,!Ze.includes(e.name)&&typeof e.setupOnce=="function"&&(e.setupOnce(),Ze.push(e.name)),e.setup&&typeof e.setup=="function"&&e.setup(t),typeof e.preprocessEvent=="function"){const r=e.preprocessEvent.bind(e);t.on("preprocessEvent",(s,o)=>r(s,o,t))}if(typeof e.processEvent=="function"){const r=e.processEvent.bind(e),s=Object.assign((o,i)=>r(o,i,t),{id:e.name});t.addEventProcessor(s)}["processSpan","processSegmentSpan"].forEach(r=>{const s=e[r];typeof s=="function"&&t.on(r,o=>s.call(e,o,t))}),h&&p.log(`Integration installed: ${e.name}`)}function O(t,e){return(...n)=>{const r=mt(n[0])?{...n[0]}:n[0],s=t(...n);return s._options=r,s._libraryOptions=e==null?void 0:e.libraryOptions,s}}const No="production",Co=Symbol.for("sentry.nonRecordingSpan");function Do(t){return!!t&&t[Co]===!0}const Ao="_frozenDsc";function ar(t,e){const n=e.getOptions(),{publicKey:r}=e.getDsn()||{},s={environment:n.environment||"production",release:n.release,public_key:r,trace_id:t,org_id:ao(e)};return e.emit("createDsc",s),s}function cr(t,e){if(Qn())return;const n=e.getPropagationContext();return n.dsc||ar(n.traceId,t)}function xo(t){var S;const e=b();if(!e)return{};const n=or(t),r=$t(n),s=r.data,o=n.spanContext().traceState,i=(o==null?void 0:o.get("sentry.sample_rate"))??s["sentry.sample_rate"]??s["sentry.previous_trace_sample_rate"];function a(v){return(typeof i=="number"||typeof i=="string")&&(v.sample_rate=`${i}`),v}const c=n[Ao];if(c)return a(c);const u=Do(n),f=u&&n.dropReason==="ignored";if(u&&(!Xe(e.getOptions())||f)){const v=te(n).scope,w=v&&cr(e,v);if(w){const I={...w};return f&&(I.sampled="false"),a(I)}}const l=o==null?void 0:o.get("sentry.dsc"),d=l&&Zs(l);if(d)return a(d);const m=ar(t.spanContext().traceId,e),y=s[Ys],R=r.description;if(y!=="url"&&R&&(m.transaction=R),Xe()){const v=(S=te(n).scope)==null?void 0:S.getPropagationContext(),w=yo(n);m.sampled=String(w),m.sample_rand=(o==null?void 0:o.get("sentry.sample_rand"))??(v==null?void 0:v.sampleRand.toString()),i==null&&typeof(v==null?void 0:v.sampled)=="boolean"&&(m.sample_rate=w?"1":"0")}return a(m),e.emit("createDsc",m,n),m}function Lo(t,e){const{fingerprint:n,breadcrumbs:r,sdkProcessingMetadata:s}=e;Po(t,e),jo(t,n),$o(t,r),Mo(t,s)}function en(t,e){const{extra:n,tags:r,attributes:s,user:o,contexts:i,level:a,sdkProcessingMetadata:c,breadcrumbs:u,fingerprint:f,eventProcessors:l,attachments:d,propagationContext:m,transactionName:y}=e;ct(t,"extra",n),ct(t,"tags",r),ct(t,"attributes",s),ct(t,"user",o),ct(t,"contexts",i),t.sdkProcessingMetadata=St(t.sdkProcessingMetadata,c,2),a&&(t.level=a),y&&(t.transactionName=y),u.length&&(t.breadcrumbs=[...t.breadcrumbs,...u]),f.length&&(t.fingerprint=[...t.fingerprint,...f]),l.length&&(t.eventProcessors=[...t.eventProcessors,...l]),d.length&&(t.attachments=[...t.attachments,...d]),t.propagationContext={...t.propagationContext,...m}}function ct(t,e,n){t[e]=St(t[e],n,1)}function ur(t,e){const n=$s().getScopeData();return t&&en(n,t.getScopeData()),e&&en(n,e.getScopeData()),n}function Po(t,e){const{extra:n,tags:r,user:s,contexts:o,level:i,transactionName:a}=e;Object.keys(n).length&&(t.extra={...n,...t.extra}),Object.keys(r).length&&(t.tags={...r,...t.tags}),Object.keys(s).length&&(t.user={...s,...t.user}),Object.keys(o).length&&(t.contexts={...o,...t.contexts}),i&&(t.level=i),a&&t.type!=="transaction"&&(t.transaction=a)}function $o(t,e){const n=[...t.breadcrumbs||[],...e];t.breadcrumbs=n.length?n:void 0}function Mo(t,e){t.sdkProcessingMetadata={...t.sdkProcessingMetadata,...e}}function Fo(t,e){t.contexts={trace:lo(e),...t.contexts},t.sdkProcessingMetadata={dynamicSamplingContext:xo(e),...t.sdkProcessingMetadata};const n=or(e),r=$t(n).description;r&&!t.transaction&&t.type==="transaction"&&(t.transaction=r)}function jo(t,e){t.fingerprint=t.fingerprint?Array.isArray(t.fingerprint)?t.fingerprint:[t.fingerprint]:[],e&&(t.fingerprint=t.fingerprint.concat(e)),t.fingerprint.length||delete t.fingerprint}function pt(t,e,n){let r;try{r=e()}catch(s){return nn(t,s,n)}return gt(r)?r.then(void 0,s=>nn(t,s,n)):r}function nn(t,e,n){return h&&p.error(t,e),n(e)}function fr(t){return!!t&&typeof t=="function"&&"_static"in t&&!!t._static}function rn(t,e){return pt(h?"The `beforeSendSpan` callback threw an error, sending the span unmodified:":"",()=>e(t),()=>t)||t}function Uo(t){const e={trace_id:t.trace_id,span_id:t.span_id,parent_span_id:t.parent_span_id,name:t.description||"",start_timestamp:t.start_timestamp,end_timestamp:t.timestamp,status:!t.status||t.status==="ok"||t.status==="cancelled"?"ok":"error",is_segment:!1,attributes:{...t.data},links:t.links};return mo(e)}function lr(t,e){const n=t.attributes??(t.attributes={});Object.entries(e).forEach(([r,s])=>{s!=null&&!(r in n)&&(n[r]=s)})}function Bo(t){return t.getOptions().traceLifecycle==="stream"}function Ho(t){return typeof t=="object"&&typeof t.unref=="function"&&t.unref(),t}function Mt(t,e=[]){return[t,e]}function sn(t,e){const[n,r]=t;return[n,[...r,e]]}function ee(t,e){const n=t[1];for(const r of n){const s=r[0].type;if(e(r,s))return!0}return!1}function Wo(t,e){return ee(t,(n,r)=>e.includes(r))}function ne(t){const e=ht(g);return e.encodePolyfill?e.encodePolyfill(t):new TextEncoder().encode(t)}function dr(t){const[e,n]=t;let r=JSON.stringify(e);function s(o){typeof r=="string"?r=typeof o=="string"?r+o:[ne(r),o]:r.push(typeof o=="string"?ne(o):o)}for(const o of n){const[i,a]=o;if(s(` +Error:`,s)}}let Ut=null;function zr(t){const e="error";q(e,t),z(e,Yr)}function Yr(){Ut=_.onerror,_.onerror=function(t,e,n,r,s){return N("error",{column:r,error:s,line:n,msg:t,url:e}),Ut?Ut.apply(this,arguments):!1},_.onerror.__SENTRY_INSTRUMENTED__=!0}let Bt=null;function Kr(t){const e="unhandledrejection";q(e,t),z(e,Vr)}function Vr(){Bt=_.onunhandledrejection,_.onunhandledrejection=function(t){return N("unhandledrejection",t),Bt?Bt.apply(this,arguments):!0},_.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}const Fn=Object.prototype.toString;function D(t){switch(Fn.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return ve(t,Error)}}function ot(t,e){return Fn.call(t)===`[object ${e}]`}function jn(t){return ot(t,"ErrorEvent")}function je(t){return ot(t,"DOMError")}function Xr(t){return ot(t,"DOMException")}function $(t){return ot(t,"String")}function be(t){return typeof t=="object"&&t!==null&&"__sentry_template_string__"in t&&"__sentry_template_values__"in t}function it(t){return t===null||be(t)||typeof t!="object"&&typeof t!="function"}function ht(t){return ot(t,"Object")}function At(t){return typeof t=="object"&&t!==null}function xt(t){return typeof Event<"u"&&ve(t,Event)}function Jr(t){return ot(t,"RegExp")}function mt(t){return!!(t!=null&&t.then&&typeof t.then=="function")}function ve(t,e){try{return t instanceof e}catch{return!1}}function Un(t){return typeof Request<"u"&&ve(t,Request)}function k(t,e,n){if(!(e in t))return;const r=t[e];if(typeof r!="function")return;const s=n(r);typeof s=="function"&&Bn(s,r);try{t[e]=s}catch{h&&p.log(`Failed to replace method "${String(e)}" in object`,t)}}function U(t,e,n){try{Object.defineProperty(t,e,{value:n,writable:!0,configurable:!0})}catch{h&&p.log(`Failed to add non-enumerable property "${String(e)}" to object`,t)}}function Bn(t,e){try{t.prototype=e.prototype=e.prototype||{},U(t,"__sentry_original__",e)}catch{}}function Ie(t){return t.__sentry_original__}function Hn(t){if(D(t))return{message:t.message,name:t.name,stack:t.stack,...Ue(t)};if(xt(t)){const{type:e,target:n,currentTarget:r,detail:s}=t;return{type:e,target:n,currentTarget:r,...s?{detail:s}:{},...Ue(t)}}return t}function Ue(t){return At(t)?Object.fromEntries(Object.entries(t)):{}}function Qr(t){const e=Object.keys(Hn(t));return e.sort(),e[0]?e.join(", "):"[object has no keys]"}let V;function lt(t){if(V!==void 0)return V?V(t):t();const e=Symbol.for("__SENTRY_SAFE_RANDOM_ID_WRAPPER__"),n=_;return e in n&&typeof n[e]=="function"?(V=n[e],V(t)):(V=null,t())}function Te(){return lt(()=>Math.random())}function Y(){return lt(()=>Date.now())}const Zr=Symbol.for("sentry.skipNormalization"),ts=Symbol.for("sentry.overrideNormalizationDepth");function es(t){return!!t[Zr]}function ns(t){const e=t[ts];return typeof e=="number"?e:void 0}let Vt;function rs(t){Vt=t}function P(t,e=100,n=1/0){try{return Xt("",t,e,n)}catch(r){return{ERROR:`**non-serializable** (${Wn(r)})`}}}function Wn(t){try{return String(t)}catch{return"unknown error"}}function Gn(t,e=3,n=102400){const r=P(t,e);return is(r)>n?Gn(t,e-1,n):r}function Xt(t,e,n=1/0,r=1/0,s=as()){const[o,i]=s;if(e==null||["boolean","string"].includes(typeof e)||typeof e=="number"&&Number.isFinite(e))return e;const a=we(t,e);if(!a.startsWith("[object "))return a;if(es(e))return e;const c=ns(e),u=c!==void 0?c:n;if(u===0)return a.replace("object ","");if(o(e))return"[Circular ~]";const f=e;if(f&&typeof f.toJSON=="function")try{return Xt("",f.toJSON(),u-1,r,s)}catch{}const l=Array.isArray(e)?[]:{};let d=0;const m=Hn(e);for(const y in m){if(!Object.prototype.hasOwnProperty.call(m,y))continue;if(d>=r){l[y]="[MaxProperties ~]";break}const O=m[y];l[y]=Xt(y,O,u-1,r,s),d++}return i(e),l}function we(t,e){try{if(Vt){const n=Vt(e);if(n)return n}return typeof global<"u"&&e===global?"[Global]":typeof e=="number"&&!Number.isFinite(e)?`[${e}]`:typeof e=="function"?`[Function: ${j(e)}]`:typeof e=="symbol"?`[${String(e)}]`:typeof e=="bigint"?`[BigInt: ${String(e)}]`:`[object ${ss(e)}]`}catch(n){return`**non-serializable** (${Wn(n)})`}}function ss(t){const e=Object.getPrototypeOf(t);return e!=null&&e.constructor?e.constructor.name:"null prototype"}function os(t){return~-encodeURI(t).split(/%..|./).length}function is(t){return os(JSON.stringify(t))}function as(){const t=new WeakSet;function e(r){return t.has(r)?!0:(t.add(r),!1)}function n(r){t.delete(r)}return[e,n]}function cs(t,e="[unserializable]"){if(typeof t=="string")return t;try{return JSON.stringify(t)}catch{return typeof e=="function"?e(t):e}}function Jt(t,e=0){return typeof t!="string"||e===0||t.length<=e?t:`${t.slice(0,e)}...`}function us(t,e){if(!Array.isArray(t))return"";const n=[];for(let r=0;rt.randomUUID()).replace(/-/g,"")}catch{}return Ht||(Ht="10000000100040008000100000000000"),Ht.replace(/[018]/g,e=>(e^(ls()&15)>>e/4).toString(16))}function qn(t){var e,n;return(n=(e=t.exception)==null?void 0:e.values)==null?void 0:n[0]}function W(t){const{message:e,event_id:n}=t;if(e)return e;const r=qn(t);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"":n||""}function Qt(t,e,n){const r=t.exception=t.exception||{},s=r.values=r.values||[],o=s[0]=s[0]||{};o.value||(o.value=e||""),o.type||(o.type="Error")}function J(t,e){const n=qn(t);n&&zn(n,e)}function ds(t,e){var s;const n=(s=t.exception)==null?void 0:s.values,r=(n==null?void 0:n.find(o=>{var i;return((i=o.mechanism)==null?void 0:i.exception_id)===0}))??(n==null?void 0:n[0]);r&&zn(r,e)}function zn(t,e){const n={type:"generic",handled:!0},r=t.mechanism;t.mechanism={...n,...r,...e},e&&"data"in e&&(t.mechanism.data={...r==null?void 0:r.data,...e.data})}function Be(t){if(ps(t))return!0;try{U(t,"__sentry_captured__",!0)}catch{}return!1}function ps(t){try{return t.__sentry_captured__}catch{}}const Yn=1e3,hs=1e3,ms=100;function gt(){return Y()/Yn}let X=[];function _s(){const{performance:t}=_;if(!(t!=null&&t.now)||!t.timeOrigin)return t!=null&&t.now&&(X=[{from:0,origin:Y()-lt(()=>t.now())}]),gt;let e=t.timeOrigin;X=[{from:0,origin:e}];let n=!0,r=0;return()=>lt(()=>{const s=t.now(),o=Date.now();return Math.abs(e+s-o)>hs&&(e=o-s,n?X=[{from:0,origin:e}]:(X.push({from:r,origin:e}),X.length>ms&&X.splice(1,1))),n=!1,r=s,(e+s)/Yn})}let He;function A(){return(He??(He=_s()))()}function gs(t){const e=A(),n={sid:R(),init:!0,timestamp:e,started:e,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>Ss(n)};return t&&Z(n,t),n}function Z(t,e={}){if(e.user&&(!t.ipAddress&&e.user.ip_address&&(t.ipAddress=e.user.ip_address),!t.did&&!e.did&&(t.did=e.user.id||e.user.email||e.user.username)),t.timestamp=e.timestamp||A(),e.abnormal_mechanism&&(t.abnormal_mechanism=e.abnormal_mechanism),e.ignoreDuration&&(t.ignoreDuration=e.ignoreDuration),e.sid&&(t.sid=e.sid.length===32?e.sid:R()),e.init!==void 0&&(t.init=e.init),!t.did&&e.did&&(t.did=`${e.did}`),typeof e.started=="number"&&(t.started=e.started),t.ignoreDuration)t.duration=void 0;else if(typeof e.duration=="number")t.duration=e.duration;else{const n=t.timestamp-t.started;t.duration=n>=0?n:0}e.release&&(t.release=e.release),e.environment&&(t.environment=e.environment),!t.ipAddress&&e.ipAddress&&(t.ipAddress=e.ipAddress),!t.userAgent&&e.userAgent&&(t.userAgent=e.userAgent),typeof e.errors=="number"&&(t.errors=e.errors),e.status&&(t.status=e.status)}function ys(t,e){let n={};t.status==="ok"&&(n={status:"exited"}),Z(t,n)}function Ss(t){return{sid:`${t.sid}`,init:t.init,started:new Date(t.started*1e3).toISOString(),timestamp:new Date(t.timestamp*1e3).toISOString(),status:t.status,errors:t.errors,did:typeof t.did=="number"||typeof t.did=="string"?`${t.did}`:void 0,duration:t.duration,abnormal_mechanism:t.abnormal_mechanism,attrs:{release:t.release,environment:t.environment,ip_address:t.ipAddress,user_agent:t.userAgent}}}function yt(t,e,n=2){if(!e||typeof e!="object"||n<=0)return e;if(t&&Object.keys(e).length===0)return t;const r={...t};for(const s in e)Object.prototype.hasOwnProperty.call(e,s)&&(r[s]=yt(r[s],e[s],n-1));return r}function Es(){return R()}function Kn(){return R().substring(16)}const bs=100;var tt=class Zt{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._attributes={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},U(this,"refs",{}),this._propagationContext={traceId:Es(),sampleRand:Te()}}clone(){const e=new Zt;return e._breadcrumbs=[...this._breadcrumbs],e._tags={...this._tags},e._attributes={...this._attributes},e._extra={...this._extra},e._contexts={...this._contexts},this._contexts.flags&&(e._contexts.flags={values:[...this._contexts.flags.values]}),e._user=this._user,e._level=this._level,e._session=this._session,e._transactionName=this._transactionName,e._fingerprint=this._fingerprint,e._eventProcessors=[...this._eventProcessors],e._attachments=[...this._attachments],e._sdkProcessingMetadata={...this._sdkProcessingMetadata},e._propagationContext={...this._propagationContext},e._client=this._client,e._lastEventId=this._lastEventId,e._conversationId=this._conversationId,e.refs={...this.refs},e}setClient(e){this._client=e}setLastEventId(e){this._lastEventId=e}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&Z(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}setConversationId(e){return this._conversationId=e||void 0,this._notifyScopeListeners(),this}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,n){return this.setTags({[e]:n})}setAttributes(e){return this._attributes={...this._attributes,...e},this._notifyScopeListeners(),this}setAttribute(e,n){return this.setAttributes({[e]:n})}removeAttribute(e){return e in this._attributes&&(delete this._attributes[e],this._notifyScopeListeners()),this}setExtras(e){return this._extra={...this._extra,...e},this._notifyScopeListeners(),this}setExtra(e,n){return this._extra={...this._extra,[e]:n},this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,n){return n===null?delete this._contexts[e]:this._contexts[e]=n,this._notifyScopeListeners(),this}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(e){if(!e)return this;const n=typeof e=="function"?e(this):e,{tags:r,attributes:s,extra:o,user:i,contexts:a,level:c,fingerprint:u=[],propagationContext:f,conversationId:l}=(n instanceof Zt?n.getScopeData():ht(n)?e:void 0)||{};return this._tags={...this._tags,...r},this._attributes={...this._attributes,...s},this._extra={...this._extra,...o},this._contexts={...this._contexts,...a},i&&Object.keys(i).length&&(this._user=i),c&&(this._level=c),u.length&&(this._fingerprint=u),f&&(this._propagationContext=f),l&&(this._conversationId=l),this}addBreadcrumb(e,n){const r=typeof n=="number"?n:bs;if(r<=0)return this;const s={timestamp:gt(),...e,message:e.message?Jt(e.message,2048):e.message};return this._breadcrumbs.push(s),this._breadcrumbs.length>r&&(this._breadcrumbs=this._breadcrumbs.slice(-r)),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,attributes:this._attributes,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,conversationId:this._conversationId}}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata=yt(this._sdkProcessingMetadata,e,2),this}setPropagationContext(e){return this._propagationContext=e,this}getPropagationContext(){return this._propagationContext}captureException(e,n){const r=(n==null?void 0:n.event_id)||R();if(!this._client)return h&&p.warn("No client configured on scope - will not capture exception!"),r;const s=new Error("Sentry syntheticException");return this._client.captureException(e,{originalException:e,syntheticException:s,...n,event_id:r},this),r}captureMessage(e,n,r){const s=(r==null?void 0:r.event_id)||R();if(!this._client)return h&&p.warn("No client configured on scope - will not capture message!"),s;const o=(r==null?void 0:r.syntheticException)??new Error(e);return this._client.captureMessage(e,n,{originalException:e,syntheticException:o,...r,event_id:s},this),s}captureEvent(e,n){const r=e.event_id||(n==null?void 0:n.event_id)||R();return this._client?(this._client.captureEvent(e,{...n,event_id:r},this),r):(h&&p.warn("No client configured on scope - will not capture event!"),r)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(e=>{e(this)}),this._notifyingListeners=!1)}};function vs(){return Dt("defaultCurrentScope",()=>new tt)}function Is(){return Dt("defaultIsolationScope",()=>new tt)}const We="__SENTRY_SUPPRESS_TRACING__",Ge=t=>t instanceof Promise&&!t[Vn],Vn=Symbol("chained PromiseLike"),Ts=(t,e,n)=>{const r=t.then(s=>(e(s),s),s=>{throw n(s),s});return Ge(r)&&Ge(t)?r:ws(t,r)},ws=(t,e)=>{if(!e)return t;let n=!1;for(const r in t){if(r in e)continue;n=!0;const s=t[r];typeof s=="function"?Object.defineProperty(e,r,{value:(...o)=>s.apply(t,o),enumerable:!0,configurable:!0,writable:!0}):e[r]=s}return n&&Object.assign(e,{[Vn]:!0}),e};var ks=class{constructor(t,e){let n;t?n=t:n=new tt;let r;e?r=e:r=new tt,this._stack=[{scope:n}],this._isolationScope=r}withScope(t){const e=this._pushScope();let n;try{n=t(e)}catch(r){throw this._popScope(),r}return mt(n)?Ts(n,()=>this._popScope(),()=>this._popScope()):(this._popScope(),n)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){const t=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:t}),t}_popScope(){return this._stack.length<=1?!1:!!this._stack.pop()}};function et(){const t=st(),e=pt(t);return e.stack=e.stack||new ks(vs(),Is())}function Xn(t){return et().withScope(t)}function Os(t,e){const n=et();return n.withScope(()=>(n.getStackTop().scope=t,e(t)))}function qe(t){return et().withScope(()=>t(et().getIsolationScope()))}function Rs(){return{suppressTracing:Cs,withIsolationScope:qe,withScope:Xn,withSetScope:Os,withSetIsolationScope:(t,e)=>qe(e),getCurrentScope:()=>et().getScope(),getIsolationScope:()=>et().getIsolationScope()}}function Cs(t){return Xn(e=>{e.setSDKProcessingMetadata({[We]:!0});const n=t();return e.setSDKProcessingMetadata({[We]:void 0}),n})}function Lt(t){const e=pt(t);return e.acs?e.acs:Rs()}function Ns(t){return typeof t=="object"&&t!=null&&!Array.isArray(t)&&Object.keys(t).includes("value")}function Ds(t,e){const{value:n,unit:r}=Ns(t)?t:{value:t,unit:void 0},s=As(n),o=r&&typeof r=="string"?{unit:r}:{};if(s)return{...s,...o};if(!e||e==="skip-undefined"&&n===void 0)return;let i="";try{i=JSON.stringify(n)??""}catch{}return{value:i,type:"string",...o}}function ze(t,e=!1){const n={};for(const[r,s]of Object.entries(t??{})){const o=Ds(s,e);o&&(n[r]=o)}return n}function As(t){if(Array.isArray(t))return{value:t,type:"array"};const e=typeof t=="string"?"string":typeof t=="boolean"?"boolean":typeof t=="number"&&!Number.isNaN(t)?Number.isInteger(t)?"integer":"double":null;if(e)return{value:t,type:e}}function Jn(){var t,e;return(e=(t=pt(st())).externalPropagationContextProvider)==null?void 0:e.call(t)}function x(){const t=st();return Lt(t).getCurrentScope()}function K(){const t=st();return Lt(t).getIsolationScope()}function xs(){return Dt("globalScope",()=>new tt)}function Ls(...t){const e=st(),n=Lt(e);if(t.length===2){const[r,s]=t;return r?n.withSetScope(r,s):n.withScope(s)}return n.withScope(t[0])}function b(){return x().getClient()}function Qn(t){const e=Jn();if(e)return{trace_id:e.traceId,span_id:e.spanId};const{traceId:n,parentSpanId:r,propagationSpanId:s}=t.getPropagationContext(),o={trace_id:n,span_id:s||Kn()};return r&&(o.parent_span_id=r),o}const Ps=["ok","deadline_exceeded","unauthenticated","permission_denied","not_found","resource_exhausted","invalid_argument","unimplemented","unavailable","internal_error","unknown_error","cancelled","already_exists","failed_precondition","aborted","out_of_range","data_loss"],$s="culture.calendar",Ms="culture.locale",Fs="culture.timezone",js="gen_ai.conversation.id",Us="http.request.header",Zn="sentry.exclusive_time",Bs="sentry.is_localhost",tr="sentry.op",Hs="sentry.origin",er="sentry.profile_id",Ws="sentry.segment.name.source",Gs="url.full",qs="user_agent.original";function zs(t){return t!=="ok"&&Ps.includes(t)}function nr(t){if(t){if(typeof t=="object"&&"deref"in t&&typeof t.deref=="function")try{return t.deref()}catch{return}return t}}const Ys="_sentryScope",Ks="_sentryIsolationScope";function te(t){const e=t;return{scope:e[Ys],isolationScope:nr(e[Ks])}}function Vs(t){const e=Xs(t);if(!e)return;const n=Object.entries(e).reduce((r,[s,o])=>{if(s.startsWith("sentry-")){const i=s.slice(7);r[i]=o}return r},{});if(Object.keys(n).length>0)return n}function Xs(t){if(!(!t||!$(t)&&!Array.isArray(t)))return Array.isArray(t)?t.reduce((e,n)=>{const r=Ye(n);return Object.entries(r).forEach(([s,o])=>{e[s]=o}),e},{}):Ye(t)}function Ye(t){return t.split(",").map(e=>{const n=e.indexOf("=");return n===-1?[]:[e.slice(0,n),e.slice(n+1)].map(r=>{try{return decodeURIComponent(r.trim())}catch{return}})}).reduce((e,[n,r])=>(n&&r&&(e[n]=r),e),{})}const Js=/^o(\d+)\./,Qs=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)((?:\[[:.%\w]+\]|[\w.-]+))(?::(\d+))?\/(.+)/;function Zs(t){return t==="http"||t==="https"}function Pt(t,e=!1){const{host:n,path:r,pass:s,port:o,projectId:i,protocol:a,publicKey:c}=t;return`${a}://${c}${e&&s?`:${s}`:""}@${n}${o?`:${o}`:""}/${r&&`${r}/`}${i}`}function to(t){const e=Qs.exec(t);if(!e){B(()=>{console.error(`Invalid Sentry Dsn: ${t}`)});return}const[n,r,s="",o="",i="",a=""]=e.slice(1);let c="",u=a;const f=u.split("/");if(f.length>1&&(c=f.slice(0,-1).join("/"),u=f.pop()),u){const l=u.match(/^\d+/);l&&(u=l[0])}return rr({host:o,pass:s,path:c,projectId:u,port:i,protocol:n,publicKey:r})}function rr(t){return{protocol:t.protocol,publicKey:t.publicKey||"",pass:t.pass||"",host:t.host,port:t.port||"",path:t.path||"",projectId:t.projectId}}function eo(t){if(!h)return!0;const{port:e,projectId:n,protocol:r}=t;return["protocol","publicKey","host","projectId"].find(s=>t[s]?!1:(p.error(`Invalid Sentry Dsn: ${s} missing`),!0))?!1:n.match(/^\d+$/)?Zs(r)?e&&isNaN(parseInt(e,10))?(p.error(`Invalid Sentry Dsn: Invalid port ${e}`),!1):!0:(p.error(`Invalid Sentry Dsn: Invalid protocol ${r}`),!1):(p.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),!1)}function no(t){var e;return(e=t.match(Js))==null?void 0:e[1]}function ro(t){const e=t.getOptions(),{host:n}=t.getDsn()||{};let r;return e.orgId?r=String(e.orgId):n&&(r=no(n)),r}function ke(t){const e=typeof t=="string"?to(t):rr(t);if(!(!e||!eo(e)))return e}function so(t){if(typeof t=="boolean")return Number(t);const e=typeof t=="string"?parseFloat(t):t;if(!(typeof e!="number"||isNaN(e)||e<0||e>1))return e}const oo="span";function io(t){return nr(t.refs[oo])}function ao(t){const{spanId:e,traceId:n,isRemote:r}=t.spanContext(),s=r?e:$t(t).parent_span_id,o=te(t).scope;return{parent_span_id:s,span_id:r?(o==null?void 0:o.getPropagationContext().propagationSpanId)||Kn():e,trace_id:n}}function co(t){if(t&&t.length>0)return t.map(({context:{spanId:e,traceId:n,traceFlags:r,...s},attributes:o})=>({span_id:e,trace_id:n,sampled:r===1,attributes:o,...s}))}function Ke(t){return typeof t=="number"?Ve(t):Array.isArray(t)?t[0]+t[1]/1e9:t instanceof Date?Ve(t.getTime()):A()}function Ve(t){return t>9999999999?t/1e3:t}function $t(t){if(po(t))return t.getStaticSpanJSON();const{spanId:e,traceId:n}=t.spanContext();if(lo(t)){const{attributes:r,startTime:s,name:o,endTime:i,status:a,links:c}=t;return{span_id:e,trace_id:n,data:r,description:o,parent_span_id:uo(t),start_timestamp:Ke(s),timestamp:Ke(i)||void 0,status:mo(a),op:r[tr],origin:r[Hs],links:co(c)}}return{span_id:e,trace_id:n,start_timestamp:0,status:"ok",data:{}}}function uo(t){var e;return"parentSpanId"in t?t.parentSpanId:"parentSpanContext"in t?(e=t.parentSpanContext)==null?void 0:e.spanId:void 0}function fo(t){var e;return{...t,end_timestamp:t.end_timestamp??t.start_timestamp,attributes:ze(t.attributes),links:(e=t.links)==null?void 0:e.map(n=>({...n,attributes:ze(n.attributes)}))}}function lo(t){const e=t;return!!e.attributes&&!!e.startTime&&!!e.name&&!!e.endTime&&!!e.status}function po(t){return typeof t.getSpanJSON=="function"}function ho(t){const{traceFlags:e}=t.spanContext();return e===1}function mo(t){return!t||t.code===0||t.code===1?"ok":t.message&&zs(t.message)?t.message:"internal_error"}const _o="_sentryRootSpan",sr=go;function go(t){return t[_o]||t}function yo(t){const e=st(),n=Lt(e);return n.getActiveSpan?n.getActiveSpan(t):io(t||x())}function Xe(t){var n;if(typeof __SENTRY_TRACING__=="boolean"&&!__SENTRY_TRACING__)return!1;const e=t||((n=b())==null?void 0:n.getOptions());return!!e&&(e.tracesSampleRate!=null||!!e.tracesSampler)}function Je(t){p.log(`Ignoring span ${t.op} - ${t.description} because it matches \`ignoreSpans\`.`)}function Qe(t,e){if(!(e!=null&&e.length))return!1;for(const n of e){if(bo(n)){if(t.description&&ft(t.description,n))return h&&Je(t),!0;continue}const r=!!n.attributes&&Object.keys(n.attributes).length>0;if(!n.name&&!n.op&&!r)continue;const s=n.name?t.description&&ft(t.description,n.name):!0,o=n.op?t.op&&ft(t.op,n.op):!0,i=n.attributes?Object.entries(n.attributes).every(([a,c])=>{var u;return So((u=t.attributes)==null?void 0:u[a],c)}):!0;if(s&&o&&i)return h&&Je(t),!0}return!1}function So(t,e){return typeof t=="string"&&(typeof e=="string"||e instanceof RegExp)?ft(t,e):Array.isArray(t)&&Array.isArray(e)?t.length===e.length&&t.every((n,r)=>n===e[r]):t===e}function Eo(t,e){const n=e.parent_span_id,r=e.span_id;if(n)for(const s of t)s.parent_span_id===r&&(s.parent_span_id=n)}function bo(t){return typeof t=="string"||t instanceof RegExp}const Ze=[];function vo(t){const e={};return t.forEach(n=>{const{name:r}=n,s=e[r];s&&!s.isDefaultInstance&&n.isDefaultInstance||(e[r]=n)}),Object.values(e)}function Io(t){const e=t.defaultIntegrations||[],n=t.integrations;e.forEach(s=>{s.isDefaultInstance=!0});let r;if(Array.isArray(n))r=[...e,...n];else if(typeof n=="function"){const s=n(e);r=Array.isArray(s)?s:[s]}else r=e;return vo(r)}function To(t,e){const n={};return e.forEach(r=>{r!=null&&r.beforeSetup&&r.beforeSetup(t)}),e.forEach(r=>{r&&or(t,r,n)}),n}function tn(t,e){for(const n of e)n!=null&&n.afterAllSetup&&n.afterAllSetup(t)}function or(t,e,n){if(n[e.name]){h&&p.log(`Integration skipped because it was already installed: ${e.name}`);return}if(n[e.name]=e,!Ze.includes(e.name)&&typeof e.setupOnce=="function"&&(e.setupOnce(),Ze.push(e.name)),e.setup&&typeof e.setup=="function"&&e.setup(t),typeof e.preprocessEvent=="function"){const r=e.preprocessEvent.bind(e);t.on("preprocessEvent",(s,o)=>r(s,o,t))}if(typeof e.processEvent=="function"){const r=e.processEvent.bind(e),s=Object.assign((o,i)=>r(o,i,t),{id:e.name});t.addEventProcessor(s)}["processSpan","processSegmentSpan"].forEach(r=>{const s=e[r];typeof s=="function"&&t.on(r,o=>s.call(e,o,t))}),h&&p.log(`Integration installed: ${e.name}`)}function C(t,e){return(...n)=>{const r=ht(n[0])?{...n[0]}:n[0],s=t(...n);return s._options=r,s._libraryOptions=e==null?void 0:e.libraryOptions,s}}const wo="production",ko=Symbol.for("sentry.nonRecordingSpan");function Oo(t){return!!t&&t[ko]===!0}const Ro="_frozenDsc";function ir(t,e){const n=e.getOptions(),{publicKey:r}=e.getDsn()||{},s={environment:n.environment||"production",release:n.release,public_key:r,trace_id:t,org_id:ro(e)};return e.emit("createDsc",s),s}function ar(t,e){if(Jn())return;const n=e.getPropagationContext();return n.dsc||ir(n.traceId,t)}function Co(t){var S;const e=b();if(!e)return{};const n=sr(t),r=$t(n),s=r.data,o=n.spanContext().traceState,i=(o==null?void 0:o.get("sentry.sample_rate"))??s["sentry.sample_rate"]??s["sentry.previous_trace_sample_rate"];function a(v){return(typeof i=="number"||typeof i=="string")&&(v.sample_rate=`${i}`),v}const c=n[Ro];if(c)return a(c);const u=Oo(n),f=u&&n.dropReason==="ignored";if(u&&(!Xe(e.getOptions())||f)){const v=te(n).scope,w=v&&ar(e,v);if(w){const I={...w};return f&&(I.sampled="false"),a(I)}}const l=o==null?void 0:o.get("sentry.dsc"),d=l&&Vs(l);if(d)return a(d);const m=ir(t.spanContext().traceId,e),y=s[Ws],O=r.description;if(y!=="url"&&O&&(m.transaction=O),Xe()){const v=(S=te(n).scope)==null?void 0:S.getPropagationContext(),w=ho(n);m.sampled=String(w),m.sample_rand=(o==null?void 0:o.get("sentry.sample_rand"))??(v==null?void 0:v.sampleRand.toString()),i==null&&typeof(v==null?void 0:v.sampled)=="boolean"&&(m.sample_rate=w?"1":"0")}return a(m),e.emit("createDsc",m,n),m}function No(t,e){const{fingerprint:n,breadcrumbs:r,sdkProcessingMetadata:s}=e;Do(t,e),Po(t,n),Ao(t,r),xo(t,s)}function en(t,e){const{extra:n,tags:r,attributes:s,user:o,contexts:i,level:a,sdkProcessingMetadata:c,breadcrumbs:u,fingerprint:f,eventProcessors:l,attachments:d,propagationContext:m,transactionName:y}=e;at(t,"extra",n),at(t,"tags",r),at(t,"attributes",s),at(t,"user",o),at(t,"contexts",i),t.sdkProcessingMetadata=yt(t.sdkProcessingMetadata,c,2),a&&(t.level=a),y&&(t.transactionName=y),u.length&&(t.breadcrumbs=[...t.breadcrumbs,...u]),f.length&&(t.fingerprint=[...t.fingerprint,...f]),l.length&&(t.eventProcessors=[...t.eventProcessors,...l]),d.length&&(t.attachments=[...t.attachments,...d]),t.propagationContext={...t.propagationContext,...m}}function at(t,e,n){t[e]=yt(t[e],n,1)}function cr(t,e){const n=xs().getScopeData();return t&&en(n,t.getScopeData()),e&&en(n,e.getScopeData()),n}function Do(t,e){const{extra:n,tags:r,user:s,contexts:o,level:i,transactionName:a}=e;Object.keys(n).length&&(t.extra={...n,...t.extra}),Object.keys(r).length&&(t.tags={...r,...t.tags}),Object.keys(s).length&&(t.user={...s,...t.user}),Object.keys(o).length&&(t.contexts={...o,...t.contexts}),i&&(t.level=i),a&&t.type!=="transaction"&&(t.transaction=a)}function Ao(t,e){const n=[...t.breadcrumbs||[],...e];t.breadcrumbs=n.length?n:void 0}function xo(t,e){t.sdkProcessingMetadata={...t.sdkProcessingMetadata,...e}}function Lo(t,e){t.contexts={trace:ao(e),...t.contexts},t.sdkProcessingMetadata={dynamicSamplingContext:Co(e),...t.sdkProcessingMetadata};const n=sr(e),r=$t(n).description;r&&!t.transaction&&t.type==="transaction"&&(t.transaction=r)}function Po(t,e){t.fingerprint=t.fingerprint?Array.isArray(t.fingerprint)?t.fingerprint:[t.fingerprint]:[],e&&(t.fingerprint=t.fingerprint.concat(e)),t.fingerprint.length||delete t.fingerprint}function dt(t,e,n){let r;try{r=e()}catch(s){return nn(t,s,n)}return mt(r)?r.then(void 0,s=>nn(t,s,n)):r}function nn(t,e,n){return h&&p.error(t,e),n(e)}function ur(t){return!!t&&typeof t=="function"&&"_static"in t&&!!t._static}function rn(t,e){return dt(h?"The `beforeSendSpan` callback threw an error, sending the span unmodified:":"",()=>e(t),()=>t)||t}function $o(t){const e={trace_id:t.trace_id,span_id:t.span_id,parent_span_id:t.parent_span_id,name:t.description||"",start_timestamp:t.start_timestamp,end_timestamp:t.timestamp,status:!t.status||t.status==="ok"||t.status==="cancelled"?"ok":"error",is_segment:!1,attributes:{...t.data},links:t.links};return fo(e)}function fr(t,e){const n=t.attributes??(t.attributes={});Object.entries(e).forEach(([r,s])=>{s!=null&&!(r in n)&&(n[r]=s)})}function Mo(t){return t.getOptions().traceLifecycle==="stream"}function Fo(t){return typeof t=="object"&&typeof t.unref=="function"&&t.unref(),t}function Mt(t,e=[]){return[t,e]}function sn(t,e){const[n,r]=t;return[n,[...r,e]]}function ee(t,e){const n=t[1];for(const r of n){const s=r[0].type;if(e(r,s))return!0}return!1}function jo(t,e){return ee(t,(n,r)=>e.includes(r))}function ne(t){const e=pt(_);return e.encodePolyfill?e.encodePolyfill(t):new TextEncoder().encode(t)}function Uo(t){const[e,n]=t;let r=JSON.stringify(e);function s(o){typeof r=="string"?r=typeof o=="string"?r+o:[ne(r),o]:r.push(typeof o=="string"?ne(o):o)}for(const o of n){const[i,a]=o;if(s(` ${JSON.stringify(i)} -`),typeof a=="string"||a instanceof Uint8Array)s(a);else{let c;try{c=JSON.stringify(a)}catch{c=JSON.stringify(P(a))}s(c)}}return typeof r=="string"?r:Go(r)}function Go(t){const e=t.reduce((s,o)=>s+o.length,0),n=new Uint8Array(e);let r=0;for(const s of t)n.set(s,r),r+=s.length;return n}function qo(t){const e=typeof t.data=="string"?ne(t.data):t.data;return[{type:"attachment",length:e.length,filename:t.filename,content_type:t.contentType,attachment_type:t.attachmentType},e]}const pr={sessions:"session",event:"error",client_report:"internal",user_report:"default",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",raw_security:"security",log:"log_item",metric:"trace_metric"};function zo(t){return t in pr}function on(t){return zo(t)?pr[t]:t}function hr(t){if(!(t!=null&&t.sdk))return;const{name:e,version:n}=t.sdk;return{name:e,version:n}}function Yo(t,e,n,r){var o;const s=(o=t.sdkProcessingMetadata)==null?void 0:o.dynamicSamplingContext;return{event_id:t.event_id,sent_at:new Date(K()).toISOString(),...e&&{sdk:e},...!!n&&r&&{dsn:Pt(r)},...s&&{trace:s}}}function re(t){return t==="replay_event"?"replay":t||"error"}function Ko(){return typeof __SENTRY_BROWSER_BUNDLE__<"u"&&!!__SENTRY_BROWSER_BUNDLE__}function Vo(){/*! __SENTRY_SDK_SOURCE__ */return"npm"}function Xo(){return!Ko()&&Object.prototype.toString.call(typeof process<"u"?process:0)==="[object process]"}function mr(){return typeof window<"u"&&(!Xo()||Jo())}function Jo(){var t;return((t=g.process)==null?void 0:t.type)==="renderer"}function Qo(t,e){const n=e.getDataCollectionOptions().userInfo?"auto":"never";return[{type:"span",item_count:t.length,content_type:"application/vnd.sentry.items.span.v2+json"},{version:2,ingest_settings:mr()?{infer_ip:n,infer_user_agent:n}:void 0,items:t}]}const Zo=new WeakMap;function ti(t){return at(t)?void 0:t}function ei(t,e,n){var i;const r=ti(e.originalException),s=r&&Zo.get(r);if(!s)return;const o=(i=t.contexts)==null?void 0:i.trace;((o==null?void 0:o.trace_id)??(n&&Zn(n).trace_id))===s.trace_id&&(t.contexts={...t.contexts,trace:{...o,...s}})}const an="ui.interaction.click";function ni(t,e){var r,s,o,i;if(!e)return t;const n=t.sdk||{};return t.sdk={...n,name:n.name||e.name,version:n.version||e.version,integrations:[...((r=t.sdk)==null?void 0:r.integrations)||[],...e.integrations||[]],packages:[...((s=t.sdk)==null?void 0:s.packages)||[],...e.packages||[]],settings:(o=t.sdk)!=null&&o.settings||e.settings?{...(i=t.sdk)==null?void 0:i.settings,...e.settings}:void 0},t}function ri(t,e,n,r){const s=hr(n),o={sent_at:new Date(K()).toISOString(),...s&&{sdk:s},...!!r&&e&&{dsn:Pt(e)}},i="aggregates"in t?[{type:"sessions"},t]:[{type:"session"},t.toJSON()];return Mt(o,[i])}function si(t,e,n,r){const s=hr(n),o=t.type&&t.type!=="replay_event"?t.type:"event";ni(t,n==null?void 0:n.sdk);const i=Yo(t,s,r,e);return delete t.sdkProcessingMetadata,Mt(i,[[{type:o},t]])}const gr="[Filtered]",oi=["auth","token","secret","session","password","passwd","pwd","key","jwt","bearer","sso","saml","csrf","xsrf","credentials","sid","identity","set-cookie","cookie"];function ii(t,e){return e.some(n=>t.includes(n))}function _r(t,e,n){if(e===!1)return!0;const r=t.toLowerCase();if(ii(r,oi))return!0;if(e===!0)return!1;const s=("deny"in e?e.deny:e.allow).some(o=>r.includes(o.toLowerCase()));return"deny"in e?s:!s}function se(t,e,n){if(e===!1)return{};const r={};for(const[s,o]of Object.entries(t))r[s]=_r(s,e)?gr:o;return r}const Wt=0,cn=1,un=2;function Et(t){return new yr(e=>{e(t)})}function Oe(t){return new yr((e,n)=>{n(t)})}var yr=class oe{constructor(e){this._state=Wt,this._handlers=[],this._runExecutor(e)}then(e,n){return new oe((r,s)=>{this._handlers.push([!1,o=>{if(!e)r(o);else try{r(e(o))}catch(i){s(i)}},o=>{if(!n)s(o);else try{r(n(o))}catch(i){s(i)}}]),this._executeHandlers()})}catch(e){return this.then(n=>n,e)}finally(e){return new oe((n,r)=>{let s,o;return this.then(i=>{o=!1,s=i,e&&e()},i=>{o=!0,s=i,e&&e()}).then(()=>{if(o){r(s);return}n(s)})})}_executeHandlers(){if(this._state===Wt)return;const e=this._handlers.slice();this._handlers=[],e.forEach(n=>{n[0]||(this._state===cn&&n[1](this._value),this._state===un&&n[2](this._value),n[0]=!0)})}_runExecutor(e){const n=(o,i)=>{if(this._state===Wt){if(gt(i)){i.then(r,s);return}this._state=o,this._value=i,this._executeHandlers()}},r=o=>{n(cn,o)},s=o=>{n(un,o)};try{e(r,s)}catch(o){s(o)}}};function ai(t,e,n,r=0,s){try{const o=ie(e,n,t,r,s);return gt(o)?o:Et(o)}catch(o){return Oe(o)}}function ie(t,e,n,r,s){const o=n[r];if(!t||!o)return t;const i=`Event processor "${o.id||"?"}"`;let a=!1;const c=pt(h?`${i} threw an error, dropping event:`:"",()=>o({...t},e),()=>(a=!0,null));return h&&c===null&&p.log(`${i} dropped event`),gt(c)?c.then(u=>u?ie(u,e,n,r+1,s):(s==null||s(a?"callback_error":"event_processor"),null)):c?ie(c,e,n,r+1,s):(s==null||s(a?"callback_error":"event_processor"),null)}let L,fn,ln,M;function ci(t){const e=g._sentryDebugIds,n=g._debugIds;if(!e&&!n)return{};const r=e?Object.keys(e):[],s=n?Object.keys(n):[];if(M&&r.length===fn&&s.length===ln)return M;fn=r.length,ln=s.length,M={},L||(L={});const o=(i,a)=>{var c;for(const u of i){const f=a[u],l=L==null?void 0:L[u];if(l&&M&&f)M[l[0]]=f,L&&(L[u]=[l[0],f]);else if(f){const d=t(u);for(let m=d.length-1;m>=0;m--){const y=(c=d[m])==null?void 0:c.filename;if(y&&M&&L){M[y]=f,L[u]=[y,f];break}}}}};return e&&o(r,e),n&&o(s,n),M}function ae(t){var e;return((e=t.data)==null?void 0:e.__sentry__)===!0}function Sr(t){const e=[];t.message&&e.push(t.message);try{const n=t.exception.values[t.exception.values.length-1];n!=null&&n.value&&(e.push(n.value),n.type&&e.push(`${n.type}: ${n.value}`))}catch{}return e}function ui(t,e,n,r,s,o){var w;const{normalizeDepth:i=3,normalizeMaxBreadth:a=1e3}=t,c={...e,event_id:e.event_id||n.event_id||N(),timestamp:e.timestamp||yt()},u=n.integrations||t.integrations.map(I=>I.name);fi(c,t),pi(c,u),s&&s.emit("applyFrameMetadata",e),e.type===void 0&&li(c,t.stackParser);const f=mi(r,n.captureContext);n.mechanism&&ms(c,n.mechanism);const l=s?s.getEventProcessors():[],d=ur(o,f),m=[...n.attachments||[],...d.attachments];m.length&&(n.attachments=m),Lo(c,d);const y=vo(f);y&&Fo(c,y),ei(c,n,f);const R=[...l,...d.eventProcessors],S=e.type==="transaction",v=((w=e.spans)==null?void 0:w.length)||0;return(ae(n)?Et(c):ai(R,c,n,0,I=>{s&&(s.recordDroppedEvent(I,re(e.type)),S&&s.recordDroppedEvent(I,"span",1+v))})).then(I=>{var xe;if(!I)return null;if(S&&s){const Le=v-(((xe=I.spans)==null?void 0:xe.length)||0);Le>0&&s.recordDroppedEvent("event_processor","span",Le)}return di(I),typeof i=="number"&&i>0?hi(I,i,a):I})}function fi(t,e){var a,c;const{environment:n,release:r,dist:s,maxValueLength:o}=e;t.environment=t.environment||n||"production",!t.release&&r&&(t.release=r),!t.dist&&s&&(t.dist=s);const i=t.request;i!=null&&i.url&&o&&(i.url=Jt(i.url,o)),o&&((c=(a=t.exception)==null?void 0:a.values)==null||c.forEach(u=>{u.value&&(u.value=Jt(u.value,o))}))}function li(t,e){var r,s;const n=ci(e);(s=(r=t.exception)==null?void 0:r.values)==null||s.forEach(o=>{var i,a;(a=(i=o.stacktrace)==null?void 0:i.frames)==null||a.forEach(c=>{c.filename&&(c.debug_id=n[c.filename])})})}function di(t){var r,s;const e={};if((s=(r=t.exception)==null?void 0:r.values)==null||s.forEach(o=>{var i,a;(a=(i=o.stacktrace)==null?void 0:i.frames)==null||a.forEach(c=>{c.debug_id&&(c.abs_path?e[c.abs_path]=c.debug_id:c.filename&&(e[c.filename]=c.debug_id),delete c.debug_id)})}),Object.keys(e).length===0)return;t.debug_meta=t.debug_meta||{},t.debug_meta.images=t.debug_meta.images||[];const n=t.debug_meta.images;Object.entries(e).forEach(([o,i])=>{n.push({type:"sourcemap",code_file:o,debug_id:i})})}function pi(t,e){e.length>0&&(t.sdk=t.sdk||{},t.sdk.integrations=[...t.sdk.integrations||[],...e])}function hi(t,e,n){var s,o;if(!t)return null;const r={...t,...t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map(i=>({...i,...i.data&&{data:P(i.data,e,n)}}))},...t.user&&{user:P(t.user,e,n)},...t.contexts&&{contexts:P(t.contexts,e,n)},...t.extra&&{extra:P(t.extra,e,n)}};return(s=t.contexts)!=null&&s.trace&&r.contexts&&(r.contexts.trace=t.contexts.trace,t.contexts.trace.data&&(r.contexts.trace.data=P(t.contexts.trace.data,e,n))),t.spans&&(r.spans=t.spans.map(i=>({...i,...i.data&&{data:P(i.data,e,n)}}))),(o=t.contexts)!=null&&o.flags&&r.contexts&&(r.contexts.flags=P(t.contexts.flags,3,n)),r}function mi(t,e){if(!e)return t;const n=t?t.clone():new et;return n.update(e),n}function gi(t,e){return x().captureException(t,void 0)}function Er(t,e){return x().captureEvent(t,e)}function dn(t){var i,a;const e=V(),{user:n}=ur(e,x());let r=(i=g.navigator)==null?void 0:i.userAgent;if(r){const c=((a=b())==null?void 0:a.getDataCollectionOptions().httpHeaders.request)??!0;r=se({"User-Agent":r},c)["User-Agent"]}const s=Es({user:n,userAgent:r,...t}),o=e.getSession();return(o==null?void 0:o.status)==="ok"&&tt(o,{status:"exited"}),br(),e.setSession(s),s}function br(){const t=V(),e=x().getSession()||t.getSession();e&&bs(e),vr(),t.setSession()}function vr(){const t=V(),e=b(),n=t.getSession();n&&e&&e.captureSession(n)}function Gt(t=!1){if(t){br();return}vr()}function _i(t){const e=t.protocol?`${t.protocol}:`:"",n=t.port?`:${t.port}`:"";return`${e}//${t.host}${n}${t.path?`/${t.path}`:""}/api/`}function yi(t){return`${_i(t)}${t.projectId}/envelope/`}function Si(t,e){const n={sentry_version:"7"};return t.publicKey&&(n.sentry_key=t.publicKey),e&&(n.sentry_client=`${e.name}/${e.version}`),new URLSearchParams(n).toString()}function Ei(t,e,n){return e||`${yi(t)}?${Si(t,n)}`}function bi(t,e){var s,o,i;if(t.type!=="transaction"||!((s=t.spans)!=null&&s.length)||!((o=t.sdkProcessingMetadata)!=null&&o.hasGenAiSpans)||Bo(e))return;const n=[],r=[];for(const a of t.spans)(i=a.op)!=null&&i.startsWith("gen_ai.")?n.push(Uo(a)):r.push(a);if(n.length!==0)return t.spans=r,Qo(n,e)}const Re=Symbol.for("SentryBufferFullError");function Ne(t=100){const e=new Set;function n(){return e.sizer(a),()=>r(a)),a}function o(i){if(!e.size)return Et(!0);const a=Promise.allSettled(Array.from(e)).then(()=>!0);if(!i)return a;const c=[a,new Promise(u=>Ho(setTimeout(()=>u(!1),i)))];return Promise.race(c)}return{get $(){return Array.from(e)},add:s,drain:o}}const vi=6e4;function Ii(t,e=K()){const n=parseInt(`${t}`,10);if(!isNaN(n))return n*1e3;const r=Date.parse(`${t}`);return isNaN(r)?vi:r-e}function Ti(t,e){return t[e]||t.all||0}function wi(t,e,n=K()){return Ti(t,e)>n}function ki(t,e,n=K()){const r={...t};return Oi(e,n,(s,o)=>{r[s]=Math.max(r[s]||0,o)}),r}function Oi({statusCode:t,headers:e},n,r){const s=e==null?void 0:e["x-sentry-rate-limits"],o=e==null?void 0:e["retry-after"];if(s)for(const i of s.trim().split(",")){const[a,c,,,u]=i.split(":",5),f=parseInt(a,10),l=(isNaN(f)?60:f)*1e3;if(!c)r("all",n+l);else for(const d of c.split(";"))d==="metric_bucket"?(!u||u.split(";").includes("custom"))&&r(d,n+l):r(d,n+l)}else o?r("all",n+Ii(o,n)):t===429&&r("all",n+6e4)}function Ri(t,e,n=Ne(t.bufferSize||64)){let r={};const s=a=>n.drain(a);function o(a,[c,u],f){var d;const l=on(f);f==="transaction"&&t.recordDroppedEvent(a,"span",(((d=u.spans)==null?void 0:d.length)??0)+1),t.recordDroppedEvent(a,l,typeof c.item_count=="number"?c.item_count:1)}function i(a){const c=[];if(ee(a,(d,m)=>{wi(r,on(m))?o("ratelimit_backoff",d,m):c.push(d)}),c.length===0)return Promise.resolve({});const u=Mt(a[0],c),f=d=>{if(Wo(u,["client_report"])){h&&p.warn(`Dropping client report. Will not send outcomes (reason: ${d}).`);return}ee(u,(m,y)=>{o(d,m,y)})},l=()=>e({body:dr(u)}).then(d=>d.statusCode===413?(h&&p.error("Sentry responded with status code 413. Envelope was discarded due to exceeding size limits."),f("send_error"),d):(h&&d.statusCode!==void 0&&(d.statusCode<200||d.statusCode>=300)&&p.warn(`Sentry responded with status code ${d.statusCode} to sent event.`),r=ki(r,d),d),d=>{throw f("network_error"),h&&p.error("Encountered error running transport request:",d),d});return n.add(l).then(d=>d,d=>{if(d===Re)return h&&p.error("Skipped sending event because buffer is full."),f("queue_overflow"),Promise.resolve({});throw d})}return{send:i,flush:s}}function Ni(t,e,n){const r=[{type:"client_report"},{timestamp:yt(),discarded_events:t}];return Mt(e?{dsn:e}:{},[r])}function Ci(t){var u;const{trace_id:e,parent_span_id:n,span_id:r,status:s,origin:o,data:i,op:a,links:c}=((u=t.contexts)==null?void 0:u.trace)??{};return{data:i??{},description:t.transaction,op:a,parent_span_id:n,span_id:r??"",start_timestamp:t.start_timestamp??0,status:s??"ok",timestamp:t.timestamp,trace_id:e??"",origin:o,links:c,profile_id:i==null?void 0:i[nr],exclusive_time:i==null?void 0:i[tr],measurements:t.measurements,is_segment:!0}}function Di(t){return{type:"transaction",timestamp:t.timestamp,start_timestamp:t.start_timestamp,transaction:t.description,contexts:{trace:{trace_id:t.trace_id,span_id:t.span_id,parent_span_id:t.parent_span_id,op:t.op,status:t.status,origin:t.origin,links:t.links,data:{...t.data,...t.profile_id&&{[nr]:t.profile_id},...t.exclusive_time&&{[tr]:t.exclusive_time}}}},measurements:t.measurements}}function Ai(t){var e;t.traceLifecycle!=="stream"||!(t.beforeSendTransaction||(e=t.ignoreTransactions)!=null&&e.length)||H(()=>{console.warn("[Sentry] `beforeSendTransaction` and `ignoreTransactions` are ignored with `traceLifecycle: 'stream'` (enabled by default). Use `beforeSendSpan` and `ignoreSpans` instead, or set `traceLifecycle: 'static'`.")})}const T={userInfo:!0,cookies:!0,httpHeaders:{request:!0,response:!0},httpBodies:["incomingRequest","outgoingRequest","incomingResponse","outgoingResponse"],urlQueryParams:!0,graphQL:{document:!0,variables:!0},genAI:{inputs:!0,outputs:!0},mcp:{inputs:!0,outputs:!0},databaseQueryData:!0,queues:!0,stackFrameVariables:!0,frameContextLines:5};function xi(t){return typeof t=="boolean"||"allow"in t||"deny"in t}function Li(t){return t===void 0?{...T.httpHeaders}:xi(t)?{request:t,response:t}:{request:t.request??T.httpHeaders.request,response:t.response??T.httpHeaders.response}}function Pi(t){var n,r,s,o,i,a;const e=t.dataCollection??{};return{userInfo:e.userInfo??T.userInfo,cookies:e.cookies??T.cookies,httpHeaders:Li(e.httpHeaders),httpBodies:e.httpBodies??T.httpBodies,urlQueryParams:e.urlQueryParams??T.urlQueryParams,graphQL:{document:((n=e.graphQL)==null?void 0:n.document)??T.graphQL.document,variables:((r=e.graphQL)==null?void 0:r.variables)??T.graphQL.variables},genAI:{inputs:((s=e.genAI)==null?void 0:s.inputs)??T.genAI.inputs,outputs:((o=e.genAI)==null?void 0:o.outputs)??T.genAI.outputs},mcp:{inputs:((i=e.mcp)==null?void 0:i.inputs)??T.mcp.inputs,outputs:((a=e.mcp)==null?void 0:a.outputs)??T.mcp.outputs},databaseQueryData:e.databaseQueryData??T.databaseQueryData,queues:e.queues??T.queues,stackFrameVariables:e.stackFrameVariables??T.stackFrameVariables,frameContextLines:e.frameContextLines??T.frameContextLines}}const pn="Not capturing exception because it's already been captured.",hn="Discarded session because of missing or non-string release",Ir=Symbol.for("SentryInternalError"),Tr=Symbol.for("SentryDoNotSendEventError"),wr=Symbol.for("SentryClosedClient");function $i(t){return wr in t}function mn(t){return{message:t,[Ir]:!0}}function ce(t){return{message:t,[Tr]:!0}}function gn(t){return ce(`Discarding event because it's not included in the random sample (sampling rate = ${t})`)}function _n(t){return At(t)&&Ir in t}function yn(t){return At(t)&&Tr in t}var Mi=class{constructor(t){var r;this._options={attachStacktrace:!0,...t,traceLifecycle:t.traceLifecycle==="static"?"static":"stream"},this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],this._promiseBuffer=Ne(((r=t.transportOptions)==null?void 0:r.bufferSize)??64),this._dataCollection=Pi(t),this._unhandledSessionStatus="crashed",this._attachStacktraceIsDefault=t.attachStacktrace===void 0,t.dsn?this._dsn=ke(t.dsn):h&&p.warn("No DSN provided, client will not send events.");const{beforeSendSpan:e,traceLifecycle:n}=this._options;if(h&&e&&fr(e)!==(n==="static")&&H(()=>{console.warn(`Ignoring \`beforeSendSpan\`: ${n==="static"?"wrap it with":"remove"} \`Sentry.withStaticSpan\` to use it with \`traceLifecycle: "${n}"\`.`)}),this._dsn){const s=Ei(this._dsn,t.tunnel,t._metadata?t._metadata.sdk:void 0);this._transport=t.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...t.transportOptions,url:s})}}captureException(t,e,n){const r=N();if(Be(t))return h&&p.log(pn),r;const s={event_id:r,...e};return this._process(()=>this.eventFromException(t,s).then(o=>this._captureEvent(o,s,n)).then(o=>o),"error"),s.event_id}captureMessage(t,e,n,r){const s={event_id:N(),...n},o=be(t)?t:String(t),i=at(t),a=i?this.eventFromMessage(o,e,s).then(c=>(c.exception&&this._attachStacktraceIsDefault&&(c.sdkProcessingMetadata={...c.sdkProcessingMetadata,hasDefaultSyntheticStacktrace:!0}),c)):this.eventFromException(t,s);return this._process(()=>a.then(c=>this._captureEvent(c,s,r)),i?"unknown":"error"),s.event_id}captureEvent(t,e,n){const r=N();if(e!=null&&e.originalException&&Be(e.originalException))return h&&p.log(pn),r;const s={event_id:r,...e},o=t.sdkProcessingMetadata||{},i=o.capturedSpanScope,a=o.capturedSpanIsolationScope,c=re(t.type);return this._process(()=>this._captureEvent(t,s,i||n,a),c),s.event_id}captureSession(t){this.sendSession(t),tt(t,{init:!1})}getDsn(){return this._dsn}getOptions(){return this._options}getDataCollectionOptions(){return this._dataCollection}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}async flush(t){const e=this._transport;if(this.emit("flush"),!e)return!0;const n=await this._isClientDoneProcessing(t),r=await e.flush(t);return n&&r}async close(t){Object.defineProperty(this,wr,{value:!0});const e=await this.flush(t);return this.getOptions().enabled=!1,this.emit("close"),e}getEventProcessors(){return this._eventProcessors}addEventProcessor(t){this._eventProcessors.push(t)}init(){(this._isEnabled()||this._options.integrations.some(({name:t})=>t.startsWith("Spotlight")))&&(this._setupIntegrations(),Ai(this._options))}getIntegrationByName(t){return this._integrations[t]}getIntegrationNames(){return Object.keys(this._integrations)}addIntegration(t){const e=this._integrations[t.name];!e&&t.beforeSetup&&t.beforeSetup(this),ir(this,t,this._integrations),e||tn(this,[t])}sendEvent(t,e={}){this.emit("beforeSendEvent",t,e);const n=bi(t,this);let r=si(t,this._dsn,this._options._metadata,this._options.tunnel);if(!ae(e))for(const s of e.attachments||[])r=sn(r,qo(s));n&&(r=sn(r,n)),this.sendEnvelope(r).then(s=>this.emit("afterSendEvent",t,s))}sendSession(t){const{release:e,environment:n=No}=this._options;if("aggregates"in t){const s=t.attrs||{};if(!s.release&&!e){h&&p.warn(hn);return}s.release=s.release||e,s.environment=s.environment||n,t.attrs=s}else{if(!t.release&&!e){h&&p.warn(hn);return}t.release=t.release||e,t.environment=t.environment||n}this.emit("beforeSendSession",t);const r=ri(t,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(r)}recordDroppedEvent(t,e,n=1){if(this._options.sendClientReports){const r=`${t}:${e}`;h&&p.log(`Recording outcome: "${r}"${n>1?` (${n} times)`:""}`),this._outcomes[r]=(this._outcomes[r]||0)+n}}on(t,e){const n=this._hooks[t]=this._hooks[t]||new Set,r=(...s)=>e(...s);return n.add(r),()=>{n.delete(r)}}emit(t,...e){const n=this._hooks[t];n&&n.forEach(r=>r(...e))}async sendEnvelope(t){if(this.emit("beforeEnvelope",t),this._isEnabled()&&this._transport)try{const e=await this._transport.send(t);return this.emit("afterEnvelope",t),e}catch(e){return h&&p.error("Error while sending envelope:",e),{}}return h&&p.error("Transport disabled"),{}}registerCleanup(t){}dispose(){}_setupIntegrations(){const{integrations:t}=this._options;this._integrations=Ro(this,t),tn(this,t)}_updateSessionFromEvent(t,e){var i,a;let n=e.level==="fatal",r=!1;const s=(i=e.exception)==null?void 0:i.values;if(s){r=!0,n=!1;for(const c of s)if(((a=c.mechanism)==null?void 0:a.handled)===!1){n=!0;break}}const o=t.status==="ok";(o&&t.errors===0||o&&n)&&(tt(t,{...n&&{status:this._unhandledSessionStatus},errors:t.errors||Number(r||n)}),this.captureSession(t))}async _isClientDoneProcessing(t){let e=0;for(;!t||esetTimeout(n,1)),!this._numProcessing)return!0;e++}return!1}_isEnabled(){return this.getOptions().enabled!==!1&&this._transport!==void 0}_prepareEvent(t,e,n,r){const s=this.getOptions(),o=this.getIntegrationNames();return!e.integrations&&o.length&&(e.integrations=o),this.emit("preprocessEvent",t,e),t.type||r.setLastEventId(t.event_id||e.event_id),ui(s,t,e,n,this,r).then(i=>{var a;return i===null||(this.emit("postprocessEvent",i,e),i.contexts={trace:{...(a=i.contexts)==null?void 0:a.trace,...Zn(n)},...i.contexts},i.sdkProcessingMetadata={dynamicSamplingContext:cr(this,n),...i.sdkProcessingMetadata}),i})}_captureEvent(t,e={},n=x(),r=V()){return h&&ue(t)&&p.log(`Captured error event \`${Sr(t)[0]||""}\``),this._processEvent(t,e,n,r).then(s=>s.event_id,s=>{h&&(yn(s)?p.log(s.message):_n(s)?p.warn(s.message):p.warn(s))})}_processEvent(t,e,n,r){const s=this.getOptions(),{sampleRate:o}=s,i=kr(t),a=ue(t),c=`before send for type \`${t.type||"error"}\``;let u="before_send",f=0;const l=typeof o>"u"?void 0:co(o),d=a&&typeof l=="number"&&Te()>l,m=re(t.type);let y=0;const R=n.getSession()||r.getSession();return d&&(R==null?void 0:R.status)!=="ok"?(this.recordDroppedEvent("sample_rate","error"),Oe(gn(o))):this._prepareEvent(t,e,n,r).then(S=>{var v;if(S===null)throw ce("An event processor returned `null`, will not send event.");return y=((v=S.spans)==null?void 0:v.length)||0,ae(e)?S:Fi(s,S,e,w=>{u=w},w=>{f=w})}).then(S=>{var w;if(f&&this.recordDroppedEvent("ignored","span",f),!mt(S)||S===null)throw this.recordDroppedEvent(u,m),i&&this.recordDroppedEvent(u,"span",1+y-f),S!==null?mn(`${c} must return \`null\` or a valid event.`):ce(`${u==="ignored"?"Transaction matched `ignoreSpans`":`${c} ${u==="callback_error"?"threw an error":"returned `null`"}`}, will not send event.`);if(a&&R&&this._updateSessionFromEvent(R,S),d)throw this.recordDroppedEvent("sample_rate","error"),gn(o);if(i){const I=y-f-(((w=S.spans)==null?void 0:w.length)||0);I>0&&this.recordDroppedEvent("before_send","span",I)}const v=S.transaction_info;if(i&&v&&S.transaction!==t.transaction){const I="custom";S.transaction_info={...v,source:I}}return this.sendEvent(S,e),S}).then(null,S=>{throw yn(S)||_n(S)?S:(this.captureException(S,{mechanism:{handled:!1,type:"internal"},data:{__sentry__:!0},originalException:S}),mn(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event. -Reason: ${S}`))})}_process(t,e){this._numProcessing++,this._promiseBuffer.add(t).then(n=>(this._numProcessing--,n),n=>(this._numProcessing--,n===Re&&this.recordDroppedEvent("queue_overflow",e),n))}_clearOutcomes(){const t=this._outcomes;return this._outcomes={},Object.entries(t).map(([e,n])=>{const[r,s]=e.split(":");return{reason:r,category:s,quantity:n}})}_flushOutcomes(){h&&p.log("Flushing outcomes...");const t=this._clearOutcomes();if(t.length===0){h&&p.log("No outcomes to send");return}if(!this._dsn){h&&p.log("No dsn provided, will not send outcomes");return}h&&p.log("Sending outcomes:",t);const e=Ni(t,this._options.tunnel&&Pt(this._dsn));this.sendEnvelope(e)}};function Fi(t,e,n,r,s){const{beforeSend:o,ignoreSpans:i,beforeSendTransaction:a}=t,c=fr(t.beforeSendSpan)&&t.beforeSendSpan;let u=e;if(ue(u)&&o){const f=u;return pt(h?"The `beforeSend` callback threw an error, dropping the event:":"",()=>o(f,n),()=>(r("callback_error"),null))}if(kr(u)){if(c||i){const f=Ci(u);if(i!=null&&i.length&&Qe({description:f.description,op:f.op,attributes:f.data},i))return r("ignored"),null;if(c){const l=rn(f,c);u=St(e,Di(l))}if(u.spans){const l=[],d=u.spans;for(const m of d){if(i!=null&&i.length&&Qe({description:m.description,op:m.op,attributes:m.data},i)){To(d,m);continue}c?l.push(rn(m,c)):l.push(m)}s(d.length-l.length),u.spans=l}}if(a)return pt(h?"The `beforeSendTransaction` callback threw an error, dropping the event:":"",()=>a(u,n),()=>(r("callback_error"),null))}return u}function ue(t){return t.type===void 0}function kr(t){return t.type==="transaction"}function ji(t,e){e.debug===!0&&(h?p.enable():H(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),Ui(),x().update(e.initialScope);const n=new t(e);return Bi(n),n.init(),n}function Ui(){const t=b();t&&!$i(t)&&H(()=>{console.warn("[Sentry] `Sentry.init()` was called more than once. The new client replaces the active client, but the active client is not closed, so state from both can mix. Call `Sentry.init()` only once, or call `await Sentry.close()` before you call it again.")})}function Bi(t){x().setClient(t)}function Or(t,e){const n=t.indexOf("="),r=n===-1?t:t.slice(0,n),s=new URLSearchParams(`${r}=`).keys().next().value;return s!==void 0&&_r(s,e)?`${r}=${gr}`:t}function Hi(t,e){if(!(!t||e===!1))return t.split("&").map(n=>Or(n,e)).join("&")}function Wi(t,e){if(!t||e===!1)return;const n=t.indexOf("?");return`${n===-1?"":t.slice(0,n+1)}${(n===-1?t:t.slice(n+1)).split("&").map(r=>r.includes("=")?Or(r,e):r).join("&")}`}function Gi(t,e){const n=t.indexOf("#"),r=n===-1?t:t.slice(0,n),s=n===-1?void 0:t.slice(n+1),o=r.indexOf("?");let i=r;if(o!==-1){const c=Hi(r.slice(o+1),e);i=`${r.slice(0,o)}${c?`?${c}`:""}`}const a=s===void 0?void 0:Wi(s,e);return a?`${i}#${a}`:i}function qi(t){var e;return((e=t??b())==null?void 0:e.getDataCollectionOptions().urlQueryParams)??!0}function rt(t,e){return t===void 0?void 0:Gi(t,qi(e))}const zi="thismessage:/";function Yi(t){return"isRelative"in t}function Ki(t,e){const n=t.indexOf("://")<=0&&t.indexOf("//")!==0,r=e??(n?zi:void 0);try{if("canParse"in URL&&!URL.canParse(t,r))return;const s=new URL(t,r);return n?{isRelative:n,pathname:s.pathname,search:s.search,hash:s.hash}:s}catch{}}function qt(t){if(!t)return{};const e=t.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!e)return{};const n=e[6]||"",r=e[8]||"";return{host:e[4],path:e[5],protocol:e[2],search:n,hash:r,relative:e[5]+n+r}}function Vi(t,e=!0){if(t.startsWith("data:")){const n=t.match(/^data:([^;,]+)/),r=n?n[1]:"text/plain",s=t.includes(";base64,"),o=t.indexOf(",");let i="";if(e&&o!==-1){const a=t.slice(o+1);i=a.length>10?`${a.slice(0,10)}... [truncated]`:a}return`data:${r}${s?",base64":""}${i?`,${i}`:""}`}return t}function Xi(t){let e=2166136261;for(let n=0;n>>0).toString(36)}function Ji(t){var n;const e=t?ke(t):(n=b())==null?void 0:n.getDsn();return e?`/${Xi(Pt(e))}`:void 0}function Qi(t){const e=(t!=null&&t.startsWith("./")?t.slice(1):t??"").replace(/\/$/,"");return!e||e.startsWith("/")?e:`/${e}`}function Zi(t){var e;"aggregates"in t?((e=t.attrs)==null?void 0:e.ip_address)===void 0&&(t.attrs={...t.attrs,ip_address:"{{auto}}"}):t.ipAddress===void 0&&(t.ipAddress="{{auto}}")}function ta(t){return Array.from(new Set(t))}function ea(t){var r;if((r=t._metadata)!=null&&r.optionsSetByUser)return t;const{integrations:e}=t,n={...t._metadata,optionsSetByUser:Object.keys(t).filter(s=>s!=="_metadata").sort()};return Array.isArray(e)&&(n.integrationsSetByUser=ta(e.map(s=>s.name))),{...t,_metadata:n,...typeof e=="function"&&{integrations:s=>{const o=new Set(s),i=e(s),a=Array.isArray(i)?i:[i],c=new Set,u=new Set;for(const l of a)c.add(l.name),!o.has(l)&&!l.isDefaultInstance&&u.add(l.name);const f=new Set;for(const l of o)c.has(l.name)||f.add(l.name);return n.integrationsSetByUser=Array.from(u),f.size&&(n.removedDefaultIntegrations=Array.from(f).sort()),a}}}}function na(t,e,n=[e],r="npm"){const s=(t._metadata=t._metadata||{}).sdk=t._metadata.sdk||{};s.name||(s.name=`sentry.javascript.${e}`,s.packages=n.map(o=>({name:`${r}:@sentry/${o}`,version:Ot})),s.version=Ot)}const ra="sentry-release",sa=100;function q(t,e){const n=b(),r=V();if(!n)return;const{beforeBreadcrumb:s=null,maxBreadcrumbs:o=sa}=n.getOptions();if(o<=0)return;const i={timestamp:yt(),...t},a=s?pt(h?"The `beforeBreadcrumb` callback threw an error, dropping the breadcrumb:":"",()=>H(()=>s(i,e)),()=>null):i;a!==null&&(n.emit&&n.emit("beforeAddBreadcrumb",a,e),r.addBreadcrumb(a,o))}const oa="FunctionToString",Sn=new WeakMap,ia=()=>({name:oa,setupOnce(){const t=Function.prototype.toString,e=Function.prototype.call.bind(t),n=Function.prototype.call.bind(Object.prototype.hasOwnProperty);try{Function.prototype.toString=function(){let r;try{Sn.has(b())&&n(this,"__sentry_original__")&&(r=Ie(this))}catch{}return e(r??this)}}catch{}},setup(t){Sn.set(t,!0)}}),aa=O(ia),ca=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,/^Can't find variable: gmo$/,/^undefined is not an object \(evaluating 'a\.[A-Z]'\)$/,/can't redefine non-configurable property "solana"/,/vv\(\)\.getRestrictions is not a function/,/Can't find variable: _AutofillCallbackHandler/,/Object Not Found Matching Id:\d+, MethodName:simulateEvent/,/Java exception was raised during method invocation$/,/Java object is gone$/],ua="EventFilters",fa=O((t={})=>{let e;return{name:ua,setup(n){e=En(t,n.getOptions())},processEvent(n,r,s){return e||(e=En(t,s.getOptions())),la(n,e)?null:n}}});function En(t={},e={}){return{allowUrls:[...t.allowUrls||[],...e.allowUrls||[]],denyUrls:[...t.denyUrls||[],...e.denyUrls||[]],ignoreErrors:[...t.ignoreErrors||[],...e.ignoreErrors||[],...t.disableErrorDefaults?[]:ca],ignoreTransactions:[...t.ignoreTransactions||[],...e.ignoreTransactions||[]]}}function la(t,e){if(t.type){if(t.type==="transaction"&&pa(t,e.ignoreTransactions))return h&&p.warn(`Event dropped due to being matched by \`ignoreTransactions\` option. -Event: ${G(t)}`),!0}else{if(da(t,e.ignoreErrors))return h&&p.warn(`Event dropped due to being matched by \`ignoreErrors\` option. -Event: ${G(t)}`),!0;if(_a(t))return h&&p.warn(`Event dropped due to not having an error message, error type or stacktrace. -Event: ${G(t)}`),!0;if(ha(t,e.denyUrls))return h&&p.warn(`Event dropped due to being matched by \`denyUrls\` option. -Event: ${G(t)}. -Url: ${Nt(t)}`),!0;if(!ma(t,e.allowUrls))return h&&p.warn(`Event dropped due to not being matched by \`allowUrls\` option. -Event: ${G(t)}. -Url: ${Nt(t)}`),!0}return!1}function da(t,e){return e!=null&&e.length?Sr(t).some(n=>_t(n,e)):!1}function pa(t,e){if(!(e!=null&&e.length))return!1;const n=t.transaction;return n?_t(n,e):!1}function ha(t,e){if(!(e!=null&&e.length))return!1;const n=Nt(t);return n?_t(n,e):!1}function ma(t,e){if(!(e!=null&&e.length))return!0;const n=Nt(t);return n?_t(n,e):!0}function ga(t=[]){for(let e=t.length-1;e>=0;e--){const n=t[e];if(n&&n.filename!==""&&n.filename!=="[native code]")return n.filename||null}return null}function Nt(t){var e,n,r;try{const s=(r=(n=[...((e=t.exception)==null?void 0:e.values)??[]].reverse().find(o=>{var i,a,c;return((i=o.mechanism)==null?void 0:i.parent_id)===void 0&&((c=(a=o.stacktrace)==null?void 0:a.frames)==null?void 0:c.length)}))==null?void 0:n.stacktrace)==null?void 0:r.frames;return s?ga(s):null}catch{return h&&p.error(`Cannot extract url for event ${G(t)}`),null}}function _a(t){var e,n;return(n=(e=t.exception)==null?void 0:e.values)!=null&&n.length?!t.message&&!t.exception.values.some(r=>r.stacktrace||r.type&&r.type!=="Error"||r.value):!1}function ya(t,e,n,r,s,o){var a;if(!((a=s.exception)!=null&&a.values)||!o||!D(o.originalException))return;const i=s.exception.values.length>0?s.exception.values[s.exception.values.length-1]:void 0;i&&(s.exception.values=Tt(t,e,r,o.originalException,n,s.exception.values,i,0))}function Tt(t,e,n,r,s,o,i,a){if(o.length>=n+1)return o;let c=[...o];if(D(r[s])){zt(i,a,r);const u=t(e,r[s]),f=c.length;Yt(u,s,f,a),c=Tt(t,e,n,r[s],s,[u,...c],u,f)}return Rr(r)&&r.errors.forEach((u,f)=>{if(c.length{const f=r[u];if(c.length{for(const e of t)Ct.delete(e)}}const vn=new Set;function Ta(){"console"in g&&Pn.forEach(function(t){vn.has(t)||!(t in g.console)||(vn.add(t),k(g.console,t,function(e){return Rt[t]=e,function(...n){const r=n[0],s=Rt[t],o=Ct.size&&typeof r=="string"&&_t(r,Ct);o||C("console",{args:n,level:t}),(!o||h&&p.isEnabled())&&(s==null||s.apply(g.console,n))}}))})}function wa(t){return t==="warn"?"warning":["fatal","error","warning","log","info","debug"].includes(t)?t:"log"}const ka="Dedupe",Oa=()=>{let t;return{name:ka,processEvent(e){if(e.type)return e;try{if(Na(e,t))return h&&p.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{}return t=e}}},Ra=O(Oa);function Na(t,e){return e?!!(Ca(t,e)||Da(t,e)):!1}function Ca(t,e){const n=t.message,r=e.message;return!(!n&&!r||n&&!r||!n&&r||n!==r||!Cr(t,e)||!Nr(t,e))}function Da(t,e){const n=In(e),r=In(t);return!(!n||!r||n.type!==r.type||n.value!==r.value||!Cr(t,e)||!Nr(t,e))}function Nr(t,e){const n=Me(t),r=Me(e);if(!n||!r)return!n&&!r;if(r.length!==n.length)return!1;for(let s=0;s{const e=new Set(t.levels||Pn);return{name:Aa,setup(n){const r=va(({args:s,level:o})=>{b()!==n||!e.has(o)||La(o,s)});if(n.registerCleanup(r),t.filter){const s=Ia(t.filter);n.registerCleanup(s)}}}});function La(t,e){const n={category:"console",data:{arguments:e,logger:"console"},level:wa(t),message:Tn(e)};if(t==="assert")if(e[0]===!1){const r=e.slice(1);n.message=r.length>0?`Assertion failed: ${Tn(r)}`:"Assertion failed",n.data.arguments=r}else return;q(n,{input:e,level:t})}function Tn(t){return"util"in g&&typeof g.util.format=="function"?g.util.format(...t):ds(t," ")}const Pa="ConversationId",$a=()=>({name:Pa,setup(t){t.on("spanStart",e=>{const n=x().getScopeData(),r=V().getScopeData(),s=n.conversationId||r.conversationId;if(s){const{op:o,data:i,description:a}=$t(e);if(!(o!=null&&o.startsWith("gen_ai."))&&!i["ai.operationId"]&&!(a!=null&&a.startsWith("ai.")))return;e.setAttribute(Ws,s)}})}}),Ma=O($a),fe=g;function Fa(){if(!("fetch"in fe))return!1;try{return new Headers,new Request("data:,"),new Response,!0}catch{return!1}}function le(t){return t&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(t.toString())}function ja(){var n;if(typeof EdgeRuntime=="string")return!0;if(!Fa())return!1;if(le(fe.fetch))return!0;let t=!1;const e=fe.document;if(e&&typeof e.createElement=="function")try{const r=e.createElement("iframe");r.hidden=!0,e.head.appendChild(r),(n=r.contentWindow)!=null&&n.fetch&&(t=le(r.contentWindow.fetch)),e.head.removeChild(r)}catch(r){h&&p.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",r)}return t}function Ua(t){const e="fetch",n=z(e,t);return Y(e,()=>Ba()),n}function Ba(t){mr()&&!ja()||k(g,"fetch",function(e){return new Proxy(e,{apply(n,r,s){const o=new Error,{method:i,url:a}=Ha(s),c={args:s,fetchData:{method:i,url:a},startTimestamp:A()*1e3,virtualError:o,headers:Wa(s)};return C("fetch",{...c}),Reflect.apply(n,g,s).then(async u=>(C("fetch",{...c,endTimestamp:A()*1e3,response:u}),u),u=>{var l,d;C("fetch",{...c,endTimestamp:A()*1e3,error:u}),D(u)&&u.stack===void 0&&(u.stack=o.stack,U(u,"framesToPop",1));const f=((l=b())==null?void 0:l.getOptions().enhanceFetchErrorMessages)??"always";if(f!==!1&&D(u)&&u.name==="TypeError"&&(u.message==="Failed to fetch"||u.message==="Load failed"||u.message==="NetworkError when attempting to fetch resource."))try{const m=new URL(c.fetchData.url,(d=g.location)==null?void 0:d.href).host;m&&(f==="always"?u.message=`${u.message} (${m})`:U(u,"__sentry_fetch_url_host__",m))}catch{}throw u})}})})}function wt(t,e){return At(t)&&!!t[e]}function wn(t){return typeof t=="string"?t:t?wt(t,"url")?t.url:t.toString?t.toString():"":""}function Ha(t){if(t.length===0)return{method:"GET",url:""};if(t.length===2){const[n,r]=t;return{url:wn(n),method:wt(r,"method")?String(r.method).toUpperCase():Bn(n)&&wt(n,"method")?String(n.method).toUpperCase():"GET"}}const e=t[0];return{url:wn(e),method:wt(e,"method")?String(e.method).toUpperCase():"GET"}}function Wa(t){const[e,n]=t;try{if(typeof n=="object"&&n!==null&&"headers"in n&&n.headers)return new Headers(n.headers);if(Bn(e))return new Headers(e.headers)}catch{}}function Dr(t){if(t!==void 0)return t>=400&&t<500?"warning":t>=500?"error":void 0}const de=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,E=g,Ga=80,W={};try{typeof Node<"u"&&(W.parentNode=Object.getOwnPropertyDescriptor(Node.prototype,"parentNode").get),typeof Element<"u"&&(W.tagName=Object.getOwnPropertyDescriptor(Element.prototype,"tagName").get,W.id=Object.getOwnPropertyDescriptor(Element.prototype,"id").get,W.className=Object.getOwnPropertyDescriptor(Element.prototype,"className").get,W.getAttribute=Element.prototype.getAttribute),typeof HTMLElement<"u"&&(W.dataset=Object.getOwnPropertyDescriptor(HTMLElement.prototype,"dataset").get)}catch{}function F(t,e,n){const r=W[e];if(r)try{return r.call(t,n)}catch{}const s=t[e];return typeof s=="function"?s.call(t,n):s}function Ar(t,e={}){if(!t)return"";try{let n=t;const r=5,s=[];let o=0,i=0;const a=" > ",c=3;let u;const f=Array.isArray(e)?e:e.keyAttrs,l=Array.isArray(e)?void 0:e.maskAttributeFn,d=!Array.isArray(e)&&e.maxStringLength||Ga;for(;n&&o++1&&i+s.length*c+u.length>=d));)s.push(u),i+=u.length,n=F(n,"parentNode");return s.reverse().join(a)}catch{return""}}function qa(t,e,n){const r=[],s=F(t,"tagName");if(!s)return"";if(typeof HTMLElement<"u"&&t instanceof HTMLElement){const i=F(t,"dataset");if(i){if(i.sentryComponent)return n?n("data-sentry-component",i.sentryComponent,t):i.sentryComponent;if(i.sentryElement)return n?n("data-sentry-element",i.sentryElement,t):i.sentryElement}}r.push(s.toLowerCase());const o=e!=null&&e.length?e.filter(i=>F(t,"getAttribute",i)).map(i=>[i,F(t,"getAttribute",i)]):null;if(o!=null&&o.length)o.forEach(([i,a])=>{r.push(`[${i}="${n&&a?n(i,a,t):a}"]`)});else{const i=F(t,"id");i&&r.push(`#${n?n("id",i,t):i}`);const a=F(t,"className");if(a&&$(a)){const c=(n?n("class",a,t):a).split(/\s+/);for(const u of c)r.push(`.${u}`)}}for(const i of["aria-label","type","name","title","alt"]){const a=F(t,"getAttribute",i);a&&r.push(`[${i}="${n?n(i,a,t):a}"]`)}return r.join("")}function za(t,e,n){E.document&&E.addEventListener(t,e,n)}function Ya(t,e,n){E.document&&E.removeEventListener(t,e,n)}const Ka=t=>{var n;const e=E.requestIdleCallback||E.setTimeout;if(((n=E.document)==null?void 0:n.visibilityState)==="hidden")t();else{let r=!1;const s=()=>{r||(t(),r=!0)};za("visibilitychange",s,{once:!0,capture:!0}),e(()=>{s(),Ya("visibilitychange",s,{capture:!0})})}};function Va(t,e=5){if(!g.HTMLElement)return null;let n=t;for(let r=0;r{var s,o;const r=(s=E[n])==null?void 0:s.prototype;(o=r==null?void 0:r.hasOwnProperty)!=null&&o.call(r,"addEventListener")&&(k(r,"addEventListener",function(i){return function(a,c,u){if((a==="click"||a=="keypress")&&c)try{const f=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},l=f[a]=f[a]||{captureListeners:new WeakSet,bubbleListeners:new WeakSet,listenerCount:0},d=On(u);if(!l.handler){const y=Rn(t);l.handler=y,l.capture=d,i.call(this,a,y,l.capture)}const m=l[d?"captureListeners":"bubbleListeners"];m.has(c)||(typeof u=="object"&&(u!=null&&u.once||u!=null&&u.signal)?l.sticky=!0:(m.add(c),l.listenerCount++))}catch{}return i.call(this,a,c,u)}}),k(r,"removeEventListener",function(i){return function(a,c,u){if((a==="click"||a=="keypress")&&c)try{const f=this.__sentry_instrumentation_handlers__||{},l=f[a];l!=null&&l[On(u)?"captureListeners":"bubbleListeners"].delete(c)&&(!--l.listenerCount&&!l.sticky&&(i.call(this,a,l.handler,l.capture),l.handler=void 0,delete f[a]),Object.keys(f).length===0&&delete this.__sentry_instrumentation_handlers__)}catch{}return i.call(this,a,c,u)}}))})}function ec(t){if(t.type!==pe)return!1;try{if(!t.target||t.target._sentryId!==he)return!1}catch{}return!0}function nc(t,e){return t!=="keypress"?!1:e!=null&&e.tagName?!(e.tagName==="INPUT"||e.tagName==="TEXTAREA"||e.isContentEditable):!0}function Rn(t,e=!1){return n=>{if(!n||n._sentryCaptured)return;const r=rc(n);if(nc(n.type,r))return;U(n,"_sentryCaptured",!0),r&&!r._sentryId&&U(r,"_sentryId",N());const s=n.type==="keypress"?"input":n.type;ec(n)||(t({event:n,name:s,global:e}),pe=n.type,he=r?r._sentryId:void 0),clearTimeout(kn),kn=E.setTimeout(()=>{he=void 0,pe=void 0},Qa)}}function rc(t){try{return t.target}catch{return null}}let vt;function sc(){return"history"in E&&!!E.history}function Lr(t){const e="history";z(e,t),Y(e,oc)}function oc(){if(E.addEventListener("popstate",()=>{const e=E.location.href,n=vt;vt=e,n!==e&&C("history",{from:n,to:e})}),!sc())return;function t(e){return function(...n){const r=n.length>2?n[2]:void 0;if(r){const s=vt,o=ic(String(r));if(vt=o,s===o)return e.apply(this,n);C("history",{from:s,to:o})}return e.apply(this,n)}}k(E.history,"pushState",t),k(E.history,"replaceState",t)}function ic(t){try{return new URL(t,E.location.origin).toString()}catch{return t}}const kt={};function Pr(t){const e=kt[t];if(e)return e;let n=E[t];if(le(n))return kt[t]=n.bind(E);const r=E.document;if(r&&typeof r.createElement=="function")try{const s=r.createElement("iframe");s.hidden=!0,r.head.appendChild(s);const o=s.contentWindow;o!=null&&o[t]&&(n=o[t]),r.head.removeChild(s)}catch(s){de&&p.warn(`Could not create sandbox iframe for ${t} check, bailing to window.${t}: `,s)}return n&&(kt[t]=n.bind(E))}function ac(t){kt[t]=void 0}const ft="__sentry_xhr_v3__";function cc(t){const e="xhr";z(e,t),Y(e,uc)}function uc(){if(!E.XMLHttpRequest)return;const t=XMLHttpRequest.prototype;t.open=new Proxy(t.open,{apply(e,n,r){let s=new Error;const o=A()*1e3,i=$(r[0])?r[0].toUpperCase():void 0,a=fc(r[1]);if(!i||a===void 0)return e.apply(n,r);n[ft]={method:i,url:a,request_headers:{}},i==="POST"&&a.match(/sentry_key/)&&(n.__sentry_own_request__=!0);const c=()=>{const u=n[ft];if(u&&n.readyState===4){try{u.status_code=n.status}catch{}const f={endTimestamp:A()*1e3,startTimestamp:o,xhr:n,virtualError:s};C("xhr",f),s=void 0,n.removeEventListener("readystatechange",c)}};return"onreadystatechange"in n&&typeof n.onreadystatechange=="function"?n.onreadystatechange=new Proxy(n.onreadystatechange,{apply(u,f,l){return c(),u.apply(f,l)}}):n.addEventListener("readystatechange",c),n.setRequestHeader=new Proxy(n.setRequestHeader,{apply(u,f,l){const[d,m]=l,y=f[ft];return y&&$(d)&&$(m)&&(y.request_headers[d.toLowerCase()]=m),u.apply(f,l)}}),e.apply(n,r)}}),t.send=new Proxy(t.send,{apply(e,n,r){const s=n[ft];if(!s)return e.apply(n,r);r[0]!==void 0&&(s.body=r[0]);const o={startTimestamp:A()*1e3,xhr:n};return C("xhr",o),e.apply(n,r)}})}function fc(t){if($(t))return t;try{return t.toString()}catch{}}function lc(t){if(typeof Element>"u")return!1;try{return t instanceof Element}catch{return!1}}const _=g;let me=0;const Nn=[];function $r(t){if(me>0)return!0;const e=t?Nn.findIndex(n=>dc(n,t)):-1;return e===-1?!1:(Nn.splice(e,1),!0)}function dc(t,e){return t.msg===e.msg&&t.url===e.url&&t.line===e.line&&t.column===e.column}function pc(){me++,setTimeout(()=>{me--})}function st(t,e={}){function n(s){return typeof s=="function"}if(!n(t))return t;try{if(Object.prototype.hasOwnProperty.call(t,"__sentry_wrapped__")){const s=t.__sentry_wrapped__;return typeof s=="function"?s:t}if(Ie(t))return t}catch{return t}const r=function(...s){g._sentryWrappedDepth=(g._sentryWrappedDepth||0)+1;try{const o=s.map(i=>st(i,e));return t.apply(this,o)}catch(o){throw pc(),Ms(i=>{i.addEventProcessor(a=>(e.mechanism&&(Qt(a,void 0),Q(a,e.mechanism)),a.extra={...a.extra,arguments:s},a)),gi(o)}),o}finally{g._sentryWrappedDepth=(g._sentryWrappedDepth||0)-1}};try{for(const s in t)Object.prototype.hasOwnProperty.call(t,s)&&(r[s]=t[s])}catch{}Hn(r,t),U(t,"__sentry_wrapped__",r);try{Object.getOwnPropertyDescriptor(r,"name").configurable&&Object.defineProperty(r,"name",{get(){return t.name}})}catch{}return r}function Cn(t){const e=Ce(),{referrer:n}=_.document||{},{userAgent:r}=_.navigator||{};return{url:e,headers:{...n&&{Referer:rt(n,t)},...r&&{"User-Agent":r}}}}function De(t,e){const n=Ft(t,e),r={type:yc(e),value:Sc(e)};return n.length&&(r.stacktrace={frames:n}),r.type===void 0&&r.value===""&&(r.value="Unrecoverable error caught"),r}function hc(t,e,n,r){var c;const s=(c=b())==null?void 0:c.getOptions().normalizeDepth,o=Tc(e),i={__serialized__:qn(e,s)};if(o)return{exception:{values:[De(t,o)]},extra:i};const a={exception:{values:[{type:xt(e)?e.constructor.name:r?"UnhandledRejection":"Error",value:vc(e,{isUnhandledRejection:r})}]},extra:i};if(n){const u=Ft(t,n);u.length&&(a.exception.values[0].stacktrace={frames:u})}return a}function Kt(t,e){return{exception:{values:[De(t,e)]}}}function Ft(t,e){const n=e.stacktrace||e.stack||"",r=gc(e),s=_c(e);try{return t(n,r,s)}catch{}return[]}const mc=/Minified React error #\d+;/i;function gc(t){return t&&mc.test(t.message)?1:0}function _c(t){return typeof t.framesToPop=="number"?t.framesToPop:0}function Mr(t){return typeof WebAssembly<"u"&&typeof WebAssembly.Exception<"u"?t instanceof WebAssembly.Exception:!1}function yc(t){const e=t==null?void 0:t.name;return!e&&Mr(t)?t.message&&Array.isArray(t.message)&&t.message.length==2?t.message[0]:"WebAssembly.Exception":e}function Sc(t){const e=t==null?void 0:t.message;return Mr(t)?Array.isArray(t.message)&&t.message.length==2?t.message[1]:"wasm exception":e?e.error&&typeof e.error.message=="string"?bn(e.error):bn(t):"No error message"}function Ec(t,e,n,r){const s=Ae(t,e,(n==null?void 0:n.syntheticException)||void 0,r);return Q(s),s.level="error",n!=null&&n.event_id&&(s.event_id=n.event_id),Et(s)}function bc(t,e,n="info",r,s){const o=ge(t,e,(r==null?void 0:r.syntheticException)||void 0,s);return o.level=n,r!=null&&r.event_id&&(o.event_id=r.event_id),Et(o)}function Ae(t,e,n,r,s){var a,c;let o;if(Un(e)&&e.error)return Kt(t,e.error);if(je(e)||Zr(e)){const u=e;if("stack"in e){o=Kt(t,e);const f=(c=(a=o.exception)==null?void 0:a.values)==null?void 0:c[0];if(r&&n&&f&&!f.stacktrace){const l=Ft(t,n);l.length&&(f.stacktrace={frames:l},Q(o,{synthetic:!0}))}}else{const f=u.name||(je(u)?"DOMError":"DOMException"),l=u.message?`${f}: ${u.message}`:f;o=ge(t,l,n,r),Qt(o,l)}return o}if(D(e))return Kt(t,e);if(mt(e)||xt(e))return o=hc(t,e,n,s),Q(o,{synthetic:!0}),o;const i=String(e);return o=ge(t,i,n,r),Qt(o,i),Q(o,{synthetic:!0}),o}function ge(t,e,n,r){const s={};if(r&&n){const o=Ft(t,n);o.length&&(s.exception={values:[{value:e,stacktrace:{frames:o}}]}),Q(s,{synthetic:!0})}if(be(e)){const{__sentry_template_string__:o,__sentry_template_values__:i}=e;return s.logentry={message:o,params:i},s}return s.message=e,s}function vc(t,{isUnhandledRejection:e}){const n=es(t),r=e?"promise rejection":"exception";return Un(t)?`Event \`ErrorEvent\` captured as ${r} with message \`${t.message}\``:xt(t)?`Event \`${Ic(t)}\` (type=${t.type}) captured as ${r}`:`Object captured as ${r} with keys: ${n}`}function Ic(t){try{const e=Object.getPrototypeOf(t);return e?e.constructor.name:void 0}catch{}}function Tc(t){return Object.values(t).find(D)}const B=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__;function Fr(t){const{tunnel:e,dsn:n,transportOptions:r}=t;if(!e)return{tunnel:e,transportOptions:r};if(typeof e=="string")return{tunnel:e,transportOptions:wc(e)?Dn(r):r};const s=e===!0?{}:e,o=n&&ke(n),i=s.path??(o&&Ji(o));if(!i)return{tunnel:void 0,transportOptions:r};const a=`${Qi(s.basePath)}${i}${s.trailingSlash?"/":""}`;return B&&p.log(`Tunneling events to "${a}"`),{tunnel:a,transportOptions:Dn(r)}}function Dn(t){return{...t,headers:{"Content-Type":"application/x-sentry-envelope",...t==null?void 0:t.headers}}}function wc(t){var n,r;const e=Ki(t,(n=_.location)==null?void 0:n.href);return e?Yi(e)||e.origin===((r=_.location)==null?void 0:r.origin):!1}var kc=class extends Mi{constructor(t){var a;const e=Oc({...t,...Fr(t)}),n=_.SENTRY_SDK_SOURCE||Vo();na(e,"browser",["browser"],n),super(e),e.routeProvider&&Xa(e.routeProvider,this),this._unhandledSessionStatus="unhandled";const{userInfo:r}=this.getDataCollectionOptions();(a=e._metadata)!=null&&a.sdk&&(e._metadata.sdk.settings={infer_ip:r?"auto":"never",...e._metadata.sdk.settings});const{sendClientReports:s}=this._options,o=()=>{A()},i=[[_.document,"visibilitychange",()=>{o(),_.document.visibilityState==="hidden"&&(s&&this._flushOutcomes(),queueMicrotask(()=>{this.flush()}))}],[_.document,"freeze",o],[_.document,"resume",o],[_,"pagehide",o],[_,"pageshow",o]];i.forEach(([c,u,f])=>{var l;return(l=c==null?void 0:c.addEventListener)==null?void 0:l.call(c,u,f)}),this.on("close",()=>i.forEach(([c,u,f])=>{var l;return(l=c==null?void 0:c.removeEventListener)==null?void 0:l.call(c,u,f)})),r&&this.on("beforeSendSession",Zi)}eventFromException(t,e){return Ec(this._options.stackParser,t,e,this._options.attachStacktrace)}eventFromMessage(t,e="info",n){return bc(this._options.stackParser,t,e,n,this._options.attachStacktrace)}_prepareEvent(t,e,n,r){return t.platform=t.platform||"javascript",super._prepareEvent(t,e,n,r)}};function Oc(t){return{sendClientReports:!0,parentSpanIsAlwaysRootSpan:!0,...t,release:t.release??Rc()}}function Rc(){var t;return typeof __SENTRY_RELEASE__=="string"?__SENTRY_RELEASE__:Nc()??((t=_.SENTRY_RELEASE)==null?void 0:t.id)}function Nc(){var t,e,n;return((n=(e=(t=_.document)==null?void 0:t.querySelector)==null?void 0:e.call(t,`meta[name="${ra}"]`))==null?void 0:n.getAttribute("content"))||void 0}const Cc=40;function Dc(t,e=Pr("fetch")){let n=0,r=0;async function s(o){const i=o.body.length;n+=i,r++;const a={body:o.body,method:"POST",referrerPolicy:"strict-origin",headers:t.headers,keepalive:n<=6e4&&r<15,...t.fetchOptions};try{const c=await e(t.url,a);return{statusCode:c.status,headers:{"x-sentry-rate-limits":c.headers.get("X-Sentry-Rate-Limits"),"retry-after":c.headers.get("Retry-After")}}}catch(c){throw ac("fetch"),c}finally{n-=i,r--}}return Ri(t,s,Ne(t.bufferSize||Cc))}const Ac=30,xc=50;function _e(t,e,n,r){const s={filename:t,function:e===""?Z:e,in_app:!0};return n!==void 0&&(s.lineno=n),r!==void 0&&(s.colno=r),s}const Lc=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,Pc=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?![^(]*\) )(?:address at )?)?(?:async )?((?:|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,$c=/\((\S*)(?::(\d+))(?::(\d+))\)/,Mc=/at (.+?) ?\(data:(.+?),/,Fc=t=>{var s;const e=t.match(Mc);if(e)return{filename:``,function:e[1]};const n=Lc.exec(t);if(n){const[,o,i,a]=n;return _e(o,Z,+i,+a)}const r=Pc.exec(t);if(r){if(((s=r[2])==null?void 0:s.indexOf("eval"))===0){const a=$c.exec(r[2]);a&&(r[2]=a[1],r[3]=a[2],r[4]=a[3])}const[o,i]=jr(r[1]||Z,r[2]);return _e(i,o,r[3]?+r[3]:void 0,r[4]?+r[4]:void 0)}},jc=[Ac,Fc],Uc=/^\s*(.*?)(?:\(([^()]*)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,Bc=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,Hc=t=>{const e=Uc.exec(t);if(e){if(e[3]&&e[3].indexOf(" > eval")>-1){const s=Bc.exec(e[3]);s&&(e[1]=e[1]||"eval",e[3]=s[1],e[4]=s[2],e[5]="")}let n=e[3],r=e[1]||Z;return[r,n]=jr(r,n),_e(n,r,e[4]?+e[4]:void 0,e[5]?+e[5]:void 0)}},Wc=[xc,Hc],Gc=[jc,Wc],qc=Fn(...Gc),jr=(t,e)=>{const n=t.indexOf("safari-extension")!==-1,r=t.indexOf("safari-web-extension")!==-1;return n||r?[t.indexOf("@")!==-1?t.split("@")[0]:Z,n?`safari-extension:${e}`:`safari-web-extension:${e}`]:[t,e]},It=1024,zc="Breadcrumbs",Yc=(t={})=>{const e={dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...t};return{name:zc,setup(n){e.dom&&Za(Xc(n,e.dom)),e.xhr&&cc(Jc(n)),e.fetch&&Ua(Qc(n)),e.history&&Lr(Zc(n)),e.sentry&&n.on("beforeSendEvent",Vc(n))}}},Kc=O(Yc);function Vc(t){return function(n){b()===t&&q({category:`sentry.${n.type==="transaction"?"transaction":"event"}`,event_id:n.event_id,level:n.level,message:G(n)},{event:n})}}function Xc(t,e){return function(r){if(b()!==t)return;let s,o,i=typeof e=="object"?e.serializeAttribute:void 0,a=typeof e=="object"&&typeof e.maxStringLength=="number"?e.maxStringLength:void 0;a&&a>It&&(B&&p.warn(`\`dom.maxStringLength\` cannot exceed ${It}, but a value of ${a} was configured. Sentry will use ${It} instead.`),a=It),typeof i=="string"&&(i=[i]);try{const u=r.event,f=tu(u)?u.target:u;s=Ar(f,{keyAttrs:i,maxStringLength:a}),o=Va(f)}catch{s=""}if(s.length===0)return;const c={category:`ui.${r.name}`,message:s};o&&(c.data={"ui.component_name":o}),q(c,{event:r.event,name:r.name,global:r.global})}}function Jc(t){return function(n){if(b()!==t)return;const{startTimestamp:r,endTimestamp:s}=n,o=n.xhr[ft];if(!r||!s||!o)return;const{method:i,url:a,status_code:c,body:u}=o,f={method:i,url:ye(a,t),status_code:c},l={xhr:n.xhr,input:u,startTimestamp:r,endTimestamp:s},d={category:"xhr",data:f,type:"http",level:Dr(c)};t.emit("beforeOutgoingRequestBreadcrumb",d,l),q(d,l)}}function Qc(t){return function(n){if(b()!==t)return;const{startTimestamp:r,endTimestamp:s}=n;if(s&&!(n.fetchData.url.match(/sentry_key/)&&n.fetchData.method==="POST"))if(n.error){const o={data:n.error,input:n.args,startTimestamp:r,endTimestamp:s},i={category:"fetch",data:{...n.fetchData,url:ye(n.fetchData.url,t)},level:"error",type:"http"};t.emit("beforeOutgoingRequestBreadcrumb",i,o),q(i,o)}else{const o=n.response,i={...n.fetchData,url:ye(n.fetchData.url,t),status_code:o==null?void 0:o.status},a={input:n.args,response:o,startTimestamp:r,endTimestamp:s},c={category:"fetch",data:i,type:"http",level:Dr(i.status_code)};t.emit("beforeOutgoingRequestBreadcrumb",c,a),q(c,a)}}}function Zc(t){return function(n){if(b()!==t)return;let r=n.from,s=n.to;const o=qt(_.location.href);let i=r?qt(r):void 0;const a=qt(s);i!=null&&i.path||(i=o),o.protocol===a.protocol&&o.host===a.host&&(s=a.relative),o.protocol===i.protocol&&o.host===i.host&&(r=i.relative),q({category:"navigation",data:{from:rt(r),to:rt(s)}})}}function ye(t,e){var r;const n=t===""?(r=_.location)==null?void 0:r.href:void 0;return rt(n?n.split("#")[0]??"":t,e)}function tu(t){return!!t&&!!t.target}const eu="EventTarget,Window,Node,ApplicationCache,AudioTrackList,BroadcastChannel,ChannelMergerNode,CryptoOperation,EventSource,FileReader,HTMLUnknownElement,IDBDatabase,IDBRequest,IDBTransaction,KeyOperation,MediaController,MessagePort,ModalWindow,Notification,SVGElementInstance,Screen,SharedWorker,TextTrack,TextTrackCue,TextTrackList,WebSocket,WebSocketWorker,Worker,XMLHttpRequest,XMLHttpRequestEventTarget,XMLHttpRequestUpload".split(","),nu="BrowserApiErrors",ru=(t={})=>{const e={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,unregisterOriginalCallbacks:!1,...t};return{name:nu,setupOnce(){e.setTimeout&&k(_,"setTimeout",An),e.setInterval&&k(_,"setInterval",An),e.requestAnimationFrame&&k(_,"requestAnimationFrame",ou),e.XMLHttpRequest&&"XMLHttpRequest"in _&&k(XMLHttpRequest.prototype,"send",iu);const n=e.eventTarget;n&&(Array.isArray(n)?n:eu).forEach(r=>au(r,e))}}},su=O(ru);function An(t){return function(...e){const n=e[0];return e[0]=st(n,{mechanism:{handled:!1,type:`auto.browser.browserapierrors.${j(t)}`}}),t.apply(this,e)}}function ou(t){return function(e){return t.apply(this,[st(e,{mechanism:{data:{handler:j(t)},handled:!1,type:"auto.browser.browserapierrors.requestAnimationFrame"}})])}}function iu(t){return function(...e){const n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(r=>{r in n&&typeof n[r]=="function"&&k(n,r,function(s){const o={mechanism:{data:{handler:j(s)},handled:!1,type:`auto.browser.browserapierrors.xhr.${r}`}},i=Ie(s);return i&&(o.mechanism.data.handler=j(i)),st(s,o)})}),t.apply(this,e)}}function au(t,e){var r,s;const n=(r=_[t])==null?void 0:r.prototype;(s=n==null?void 0:n.hasOwnProperty)!=null&&s.call(n,"addEventListener")&&(k(n,"addEventListener",function(o){return function(i,a,c){try{cu(a)&&(a.handleEvent=st(a.handleEvent,{mechanism:{data:{handler:j(a),target:t},handled:!1,type:"auto.browser.browserapierrors.handleEvent"}}))}catch{}return e.unregisterOriginalCallbacks&&uu(this,i,a),o.apply(this,[i,st(a,{mechanism:{data:{handler:j(a),target:t},handled:!1,type:"auto.browser.browserapierrors.addEventListener"}}),c])}}),k(n,"removeEventListener",function(o){return function(i,a,c){try{if(Object.prototype.hasOwnProperty.call(a,"__sentry_wrapped__")){const u=a.__sentry_wrapped__;u&&o.call(this,i,u,c)}}catch{}return o.call(this,i,a,c)}}))}function cu(t){return typeof t.handleEvent=="function"}function uu(t,e,n){t&&typeof t=="object"&&"removeEventListener"in t&&typeof t.removeEventListener=="function"&&t.removeEventListener(e,n)}const fu=O((t={})=>{const e=t.lifecycle??"page";return{name:"BrowserSession",setupOnce(){if(typeof _.document>"u"){B&&p.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");return}dn({ignoreDuration:!0});let n=!1;Ka(()=>{n||(Gt(),n=!0)});const r=V();let s=r.getUser();r.addScopeListener(o=>{const i=o.getUser();((s==null?void 0:s.id)!==(i==null?void 0:i.id)||(s==null?void 0:s.ip_address)!==(i==null?void 0:i.ip_address))&&(s=i,n&&Gt())}),e==="route"&&Lr(({from:o,to:i})=>{o!==i&&(dn({ignoreDuration:!0}),Gt(),n=!0)})}}}),lu="CultureContext",du=()=>({name:lu,preprocessEvent(t){var n;const e=xn();e&&(t.contexts={...t.contexts,culture:{...e,...(n=t.contexts)==null?void 0:n.culture}})},processSegmentSpan(t){const e=xn();e&&lr(t,{[Bs]:e.locale,[Hs]:e.timezone,[Us]:e.calendar})}}),pu=O(du);function xn(){try{const t=_.Intl;if(!t)return;const e=t.DateTimeFormat().resolvedOptions();return{locale:e.locale,timezone:e.timeZone,calendar:e.calendar}}catch{return}}const hu="GlobalHandlers",mu=(t={})=>{const e={onerror:!0,onunhandledrejection:!0,...t};return{name:hu,setupOnce(){Error.stackTraceLimit=50},setup(n){e.onerror&&(_u(n),Ln("onerror")),e.onunhandledrejection&&(yu(n),Ln("onunhandledrejection"))}}},gu=O(mu);function _u(t){Vr(e=>{const{stackParser:n,attachStacktrace:r}=Ur();if(b()!==t||$r(e))return;const{msg:s,url:o,line:i,column:a,error:c}=e,u=bu(Ae(n,c||s,void 0,r,!1),o,i,a);u.level="error",Er(u,{originalException:c,mechanism:{handled:!1,type:"auto.browser.global_handlers.onerror"}})})}function yu(t){Jr(e=>{const{stackParser:n,attachStacktrace:r}=Ur();if(b()!==t||$r())return;const s=Su(e),o=at(s)?Eu(s):Ae(n,s,void 0,r,!0);o.level="error",Er(o,{originalException:s,mechanism:{handled:!1,type:"auto.browser.global_handlers.onunhandledrejection"}})})}function Su(t){if(at(t))return t;try{if("reason"in t)return t.reason;if("detail"in t&&"reason"in t.detail)return t.detail.reason}catch{}return t}function Eu(t){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(t)}`}]}}}function bu(t,e,n,r){const s=t.exception=t.exception||{},o=s.values=s.values||[],i=o[0]=o[0]||{},a=i.stacktrace=i.stacktrace||{},c=a.frames=a.frames||[];return c.length===0&&c.push({colno:r,lineno:n,filename:vu(e)??Ce(),function:Z,in_app:!0}),t}function Ln(t){B&&p.log(`Global Handler attached: ${t}`)}function Ur(){var t;return((t=b())==null?void 0:t.getOptions())||{stackParser:()=>[],attachStacktrace:!1}}function vu(t){if(!(!$(t)||t.length===0))return t.startsWith("data:")?`<${Vi(t,!1)}>`:t}const Iu=O(()=>({name:"HttpContext",preprocessEvent(t,e,n){var c;if(!_.navigator&&!_.location&&!_.document)return;const{url:r,headers:s}=Cn(n),o=n.getDataCollectionOptions().httpHeaders.request,i=Object.entries(((c=t.request)==null?void 0:c.headers)??{}).filter(([u])=>!(u in s)),a={...se(s,o),...Object.fromEntries(i)};t.request={url:rt(r,n),...t.request,...Object.keys(a).length>0?{headers:a}:{headers:void 0}}},processSpan(t,e){var a;if(!_.navigator&&!_.location&&!_.document)return;const n=Cn(e),r=se(n.headers,e.getDataCollectionOptions().httpHeaders.request),s=r.Referer,{hostname:o,protocol:i}=_.location||{};lr(t,{[Vs]:r["User-Agent"],[qs]:i==="file:"||o==="localhost"||o==="127.0.0.1"||o==="[::1]"||!!(o!=null&&o.endsWith(".localhost")),...t.is_segment&&{[Ks]:((a=t.attributes)==null?void 0:a[er])!=="http.client"?rt(n.url):void 0,[`${Gs}.referer`]:s?[s]:void 0}})}})),Tu="cause",wu=5,ku="LinkedErrors",Ou=(t={})=>{const e=t.limit||wu,n=t.key||Tu;return{name:ku,preprocessEvent(r,s,o){const i=o.getOptions();ya(De,i.stackParser,n,e,r,s)}}},Ru=O(Ou),Nu="SpotlightBrowser",Cu=[{op:an,name:"#sentry-spotlight"},{op:an,attributes:{[js]:"#sentry-spotlight"}}],Du=(t={})=>{const e=t.sidecarUrl||"http://localhost:8969/stream";return{name:Nu,setup:()=>{B&&p.log("Using Sidecar URL",e)},beforeSetup(n){const r=n.getOptions();r.ignoreSpans=[...r.ignoreSpans||[],...Cu]},afterAllSetup:n=>{Au(n,e)}}};function Au(t,e){const n=Pr("fetch");let r=0;t.on("beforeEnvelope",s=>{if(r>3){B&&p.warn("[Spotlight] Disabled Sentry -> Spotlight integration due to too many failed requests:",r);return}n(e,{method:"POST",body:dr(s),headers:{"Content-Type":"application/x-sentry-envelope"},mode:"cors"}).then(o=>{o.status>=200&&o.status<400&&(r=0)},o=>{r++,B&&p.error("Sentry SDK can't connect to Sidecar is it running? See: https://spotlightjs.com/sidecar/npx/",o)})})}const xu=O(Du),Lu=/^HTML(\w*)Element$/;function Pu(t){if(typeof window<"u"&&t===window)return"[Window]";if(typeof document<"u"&&t===document)return"[Document]";if(lc(t)){const e=$u(t);if(Lu.test(e))return`[HTMLElement: ${Ar(t)}]`}}function $u(t){const e=Object.getPrototypeOf(t);return e!=null&&e.constructor?e.constructor.name:"null prototype"}function Mu(){return Fu()?(B&&H(()=>{console.error("[Sentry] You cannot use Sentry.init() in a browser extension, see: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/")}),!0):!1}function Fu(){var n,r;if(typeof _.window>"u")return!1;const t=_;if(t.nw||!((r=(n=t.chrome||t.browser)==null?void 0:n.runtime)!=null&&r.id))return!1;const e=Ce();return!(_===_.top&&/^(?:chrome-extension|moz-extension|ms-browser-extension|safari-web-extension):\/\//.test(e))}function ju(t){return[fa(),aa(),Ma(),su(),Kc(),xa(),gu(),Ru(),Ra(),Iu(),pu(),fu()]}function Uu(t={}){const e=ea(t),n=!e.skipBrowserExtensionCheck&&Mu();let r=e.defaultIntegrations==null?ju():e.defaultIntegrations;/*! rollup-include-development-only */if(e.spotlight){r||(r=[]);const i=typeof e.spotlight=="string"?{sidecarUrl:e.spotlight}:void 0;r.push(xu(i))}/*! rollup-include-development-only-end */const s=Oo({integrations:e.integrations,defaultIntegrations:r}),o={...e,...Fr(e),enabled:n?!1:e.enabled,stackParser:Yr(e.stackParser||qc),integrations:s,transport:e.transport||Dc};return is(Pu),ji(kc,o)}Uu({dsn:"https://1aeff3f1acac49409216ced9a2bf3b33@glitchtip.figli.io/3",environment:"production",release:"87957c9355c3b7aa297d5de37c521584106fb97c",sendDefaultPii:!1}); +`),typeof a=="string"||a instanceof Uint8Array)s(a);else{let c;try{c=JSON.stringify(a)}catch{c=JSON.stringify(P(a))}s(c)}}return typeof r=="string"?r:Bo(r)}function Bo(t){const e=t.reduce((s,o)=>s+o.length,0),n=new Uint8Array(e);let r=0;for(const s of t)n.set(s,r),r+=s.length;return n}function Ho(t){const e=typeof t.data=="string"?ne(t.data):t.data;return[{type:"attachment",length:e.length,filename:t.filename,content_type:t.contentType,attachment_type:t.attachmentType},e]}const lr={sessions:"session",event:"error",client_report:"internal",user_report:"default",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",raw_security:"security",log:"log_item",metric:"trace_metric"};function Wo(t){return t in lr}function on(t){return Wo(t)?lr[t]:t}function dr(t){if(!(t!=null&&t.sdk))return;const{name:e,version:n}=t.sdk;return{name:e,version:n}}function Go(t,e,n,r){var o;const s=(o=t.sdkProcessingMetadata)==null?void 0:o.dynamicSamplingContext;return{event_id:t.event_id,sent_at:new Date(Y()).toISOString(),...e&&{sdk:e},...!!n&&r&&{dsn:Pt(r)},...s&&{trace:s}}}function re(t){return t==="replay_event"?"replay":t||"error"}function qo(){return typeof __SENTRY_BROWSER_BUNDLE__<"u"&&!!__SENTRY_BROWSER_BUNDLE__}function zo(){/*! __SENTRY_SDK_SOURCE__ */return"npm"}function Yo(){return!qo()&&Object.prototype.toString.call(typeof process<"u"?process:0)==="[object process]"}function pr(){return typeof window<"u"&&(!Yo()||Ko())}function Ko(){var t;return((t=_.process)==null?void 0:t.type)==="renderer"}function Vo(t,e){const n=e.getDataCollectionOptions().userInfo?"auto":"never";return[{type:"span",item_count:t.length,content_type:"application/vnd.sentry.items.span.v2+json"},{version:2,ingest_settings:pr()?{infer_ip:n,infer_user_agent:n}:void 0,items:t}]}const Xo=new WeakMap;function Jo(t){return it(t)?void 0:t}function Qo(t,e,n){var i;const r=Jo(e.originalException),s=r&&Xo.get(r);if(!s)return;const o=(i=t.contexts)==null?void 0:i.trace;((o==null?void 0:o.trace_id)??(n&&Qn(n).trace_id))===s.trace_id&&(t.contexts={...t.contexts,trace:{...o,...s}})}function Zo(t,e){var r,s,o,i;if(!e)return t;const n=t.sdk||{};return t.sdk={...n,name:n.name||e.name,version:n.version||e.version,integrations:[...((r=t.sdk)==null?void 0:r.integrations)||[],...e.integrations||[]],packages:[...((s=t.sdk)==null?void 0:s.packages)||[],...e.packages||[]],settings:(o=t.sdk)!=null&&o.settings||e.settings?{...(i=t.sdk)==null?void 0:i.settings,...e.settings}:void 0},t}function ti(t,e,n,r){const s=dr(n),o={sent_at:new Date(Y()).toISOString(),...s&&{sdk:s},...!!r&&e&&{dsn:Pt(e)}},i="aggregates"in t?[{type:"sessions"},t]:[{type:"session"},t.toJSON()];return Mt(o,[i])}function ei(t,e,n,r){const s=dr(n),o=t.type&&t.type!=="replay_event"?t.type:"event";Zo(t,n==null?void 0:n.sdk);const i=Go(t,s,r,e);return delete t.sdkProcessingMetadata,Mt(i,[[{type:o},t]])}const hr="[Filtered]",ni=["auth","token","secret","session","password","passwd","pwd","key","jwt","bearer","sso","saml","csrf","xsrf","credentials","sid","identity","set-cookie","cookie"];function ri(t,e){return e.some(n=>t.includes(n))}function mr(t,e,n){if(e===!1)return!0;const r=t.toLowerCase();if(ri(r,ni))return!0;if(e===!0)return!1;const s=("deny"in e?e.deny:e.allow).some(o=>r.includes(o.toLowerCase()));return"deny"in e?s:!s}function se(t,e,n){if(e===!1)return{};const r={};for(const[s,o]of Object.entries(t))r[s]=mr(s,e)?hr:o;return r}const Wt=0,an=1,cn=2;function St(t){return new _r(e=>{e(t)})}function Oe(t){return new _r((e,n)=>{n(t)})}var _r=class oe{constructor(e){this._state=Wt,this._handlers=[],this._runExecutor(e)}then(e,n){return new oe((r,s)=>{this._handlers.push([!1,o=>{if(!e)r(o);else try{r(e(o))}catch(i){s(i)}},o=>{if(!n)s(o);else try{r(n(o))}catch(i){s(i)}}]),this._executeHandlers()})}catch(e){return this.then(n=>n,e)}finally(e){return new oe((n,r)=>{let s,o;return this.then(i=>{o=!1,s=i,e&&e()},i=>{o=!0,s=i,e&&e()}).then(()=>{if(o){r(s);return}n(s)})})}_executeHandlers(){if(this._state===Wt)return;const e=this._handlers.slice();this._handlers=[],e.forEach(n=>{n[0]||(this._state===an&&n[1](this._value),this._state===cn&&n[2](this._value),n[0]=!0)})}_runExecutor(e){const n=(o,i)=>{if(this._state===Wt){if(mt(i)){i.then(r,s);return}this._state=o,this._value=i,this._executeHandlers()}},r=o=>{n(an,o)},s=o=>{n(cn,o)};try{e(r,s)}catch(o){s(o)}}};function si(t,e,n,r=0,s){try{const o=ie(e,n,t,r,s);return mt(o)?o:St(o)}catch(o){return Oe(o)}}function ie(t,e,n,r,s){const o=n[r];if(!t||!o)return t;const i=`Event processor "${o.id||"?"}"`;let a=!1;const c=dt(h?`${i} threw an error, dropping event:`:"",()=>o({...t},e),()=>(a=!0,null));return h&&c===null&&p.log(`${i} dropped event`),mt(c)?c.then(u=>u?ie(u,e,n,r+1,s):(s==null||s(a?"callback_error":"event_processor"),null)):c?ie(c,e,n,r+1,s):(s==null||s(a?"callback_error":"event_processor"),null)}let L,un,fn,M;function oi(t){const e=_._sentryDebugIds,n=_._debugIds;if(!e&&!n)return{};const r=e?Object.keys(e):[],s=n?Object.keys(n):[];if(M&&r.length===un&&s.length===fn)return M;un=r.length,fn=s.length,M={},L||(L={});const o=(i,a)=>{var c;for(const u of i){const f=a[u],l=L==null?void 0:L[u];if(l&&M&&f)M[l[0]]=f,L&&(L[u]=[l[0],f]);else if(f){const d=t(u);for(let m=d.length-1;m>=0;m--){const y=(c=d[m])==null?void 0:c.filename;if(y&&M&&L){M[y]=f,L[u]=[y,f];break}}}}};return e&&o(r,e),n&&o(s,n),M}function ae(t){var e;return((e=t.data)==null?void 0:e.__sentry__)===!0}function gr(t){const e=[];t.message&&e.push(t.message);try{const n=t.exception.values[t.exception.values.length-1];n!=null&&n.value&&(e.push(n.value),n.type&&e.push(`${n.type}: ${n.value}`))}catch{}return e}function ii(t,e,n,r,s,o){var w;const{normalizeDepth:i=3,normalizeMaxBreadth:a=1e3}=t,c={...e,event_id:e.event_id||n.event_id||R(),timestamp:e.timestamp||gt()},u=n.integrations||t.integrations.map(I=>I.name);ai(c,t),fi(c,u),s&&s.emit("applyFrameMetadata",e),e.type===void 0&&ci(c,t.stackParser);const f=di(r,n.captureContext);n.mechanism&&ds(c,n.mechanism);const l=s?s.getEventProcessors():[],d=cr(o,f),m=[...n.attachments||[],...d.attachments];m.length&&(n.attachments=m),No(c,d);const y=yo(f);y&&Lo(c,y),Qo(c,n,f);const O=[...l,...d.eventProcessors],S=e.type==="transaction",v=((w=e.spans)==null?void 0:w.length)||0;return(ae(n)?St(c):si(O,c,n,0,I=>{s&&(s.recordDroppedEvent(I,re(e.type)),S&&s.recordDroppedEvent(I,"span",1+v))})).then(I=>{var xe;if(!I)return null;if(S&&s){const Le=v-(((xe=I.spans)==null?void 0:xe.length)||0);Le>0&&s.recordDroppedEvent("event_processor","span",Le)}return ui(I),typeof i=="number"&&i>0?li(I,i,a):I})}function ai(t,e){var a,c;const{environment:n,release:r,dist:s,maxValueLength:o}=e;t.environment=t.environment||n||"production",!t.release&&r&&(t.release=r),!t.dist&&s&&(t.dist=s);const i=t.request;i!=null&&i.url&&o&&(i.url=Jt(i.url,o)),o&&((c=(a=t.exception)==null?void 0:a.values)==null||c.forEach(u=>{u.value&&(u.value=Jt(u.value,o))}))}function ci(t,e){var r,s;const n=oi(e);(s=(r=t.exception)==null?void 0:r.values)==null||s.forEach(o=>{var i,a;(a=(i=o.stacktrace)==null?void 0:i.frames)==null||a.forEach(c=>{c.filename&&(c.debug_id=n[c.filename])})})}function ui(t){var r,s;const e={};if((s=(r=t.exception)==null?void 0:r.values)==null||s.forEach(o=>{var i,a;(a=(i=o.stacktrace)==null?void 0:i.frames)==null||a.forEach(c=>{c.debug_id&&(c.abs_path?e[c.abs_path]=c.debug_id:c.filename&&(e[c.filename]=c.debug_id),delete c.debug_id)})}),Object.keys(e).length===0)return;t.debug_meta=t.debug_meta||{},t.debug_meta.images=t.debug_meta.images||[];const n=t.debug_meta.images;Object.entries(e).forEach(([o,i])=>{n.push({type:"sourcemap",code_file:o,debug_id:i})})}function fi(t,e){e.length>0&&(t.sdk=t.sdk||{},t.sdk.integrations=[...t.sdk.integrations||[],...e])}function li(t,e,n){var s,o;if(!t)return null;const r={...t,...t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map(i=>({...i,...i.data&&{data:P(i.data,e,n)}}))},...t.user&&{user:P(t.user,e,n)},...t.contexts&&{contexts:P(t.contexts,e,n)},...t.extra&&{extra:P(t.extra,e,n)}};return(s=t.contexts)!=null&&s.trace&&r.contexts&&(r.contexts.trace=t.contexts.trace,t.contexts.trace.data&&(r.contexts.trace.data=P(t.contexts.trace.data,e,n))),t.spans&&(r.spans=t.spans.map(i=>({...i,...i.data&&{data:P(i.data,e,n)}}))),(o=t.contexts)!=null&&o.flags&&r.contexts&&(r.contexts.flags=P(t.contexts.flags,3,n)),r}function di(t,e){if(!e)return t;const n=t?t.clone():new tt;return n.update(e),n}function pi(t,e){return x().captureException(t,void 0)}function yr(t,e){return x().captureEvent(t,e)}function ln(t){var i,a;const e=K(),{user:n}=cr(e,x());let r=(i=_.navigator)==null?void 0:i.userAgent;if(r){const c=((a=b())==null?void 0:a.getDataCollectionOptions().httpHeaders.request)??!0;r=se({"User-Agent":r},c)["User-Agent"]}const s=gs({user:n,userAgent:r,...t}),o=e.getSession();return(o==null?void 0:o.status)==="ok"&&Z(o,{status:"exited"}),Sr(),e.setSession(s),s}function Sr(){const t=K(),e=x().getSession()||t.getSession();e&&ys(e),Er(),t.setSession()}function Er(){const t=K(),e=b(),n=t.getSession();n&&e&&e.captureSession(n)}function Gt(t=!1){if(t){Sr();return}Er()}function hi(t){const e=t.protocol?`${t.protocol}:`:"",n=t.port?`:${t.port}`:"";return`${e}//${t.host}${n}${t.path?`/${t.path}`:""}/api/`}function mi(t){return`${hi(t)}${t.projectId}/envelope/`}function _i(t,e){const n={sentry_version:"7"};return t.publicKey&&(n.sentry_key=t.publicKey),e&&(n.sentry_client=`${e.name}/${e.version}`),new URLSearchParams(n).toString()}function gi(t,e,n){return e||`${mi(t)}?${_i(t,n)}`}function yi(t,e){var s,o,i;if(t.type!=="transaction"||!((s=t.spans)!=null&&s.length)||!((o=t.sdkProcessingMetadata)!=null&&o.hasGenAiSpans)||Mo(e))return;const n=[],r=[];for(const a of t.spans)(i=a.op)!=null&&i.startsWith("gen_ai.")?n.push($o(a)):r.push(a);if(n.length!==0)return t.spans=r,Vo(n,e)}const Re=Symbol.for("SentryBufferFullError");function Ce(t=100){const e=new Set;function n(){return e.sizer(a),()=>r(a)),a}function o(i){if(!e.size)return St(!0);const a=Promise.allSettled(Array.from(e)).then(()=>!0);if(!i)return a;const c=[a,new Promise(u=>Fo(setTimeout(()=>u(!1),i)))];return Promise.race(c)}return{get $(){return Array.from(e)},add:s,drain:o}}const Si=6e4;function Ei(t,e=Y()){const n=parseInt(`${t}`,10);if(!isNaN(n))return n*1e3;const r=Date.parse(`${t}`);return isNaN(r)?Si:r-e}function bi(t,e){return t[e]||t.all||0}function vi(t,e,n=Y()){return bi(t,e)>n}function Ii(t,e,n=Y()){const r={...t};return Ti(e,n,(s,o)=>{r[s]=Math.max(r[s]||0,o)}),r}function Ti({statusCode:t,headers:e},n,r){const s=e==null?void 0:e["x-sentry-rate-limits"],o=e==null?void 0:e["retry-after"];if(s)for(const i of s.trim().split(",")){const[a,c,,,u]=i.split(":",5),f=parseInt(a,10),l=(isNaN(f)?60:f)*1e3;if(!c)r("all",n+l);else for(const d of c.split(";"))d==="metric_bucket"?(!u||u.split(";").includes("custom"))&&r(d,n+l):r(d,n+l)}else o?r("all",n+Ei(o,n)):t===429&&r("all",n+6e4)}function wi(t,e,n=Ce(t.bufferSize||64)){let r={};const s=a=>n.drain(a);function o(a,[c,u],f){var d;const l=on(f);f==="transaction"&&t.recordDroppedEvent(a,"span",(((d=u.spans)==null?void 0:d.length)??0)+1),t.recordDroppedEvent(a,l,typeof c.item_count=="number"?c.item_count:1)}function i(a){const c=[];if(ee(a,(d,m)=>{vi(r,on(m))?o("ratelimit_backoff",d,m):c.push(d)}),c.length===0)return Promise.resolve({});const u=Mt(a[0],c),f=d=>{if(jo(u,["client_report"])){h&&p.warn(`Dropping client report. Will not send outcomes (reason: ${d}).`);return}ee(u,(m,y)=>{o(d,m,y)})},l=()=>e({body:Uo(u)}).then(d=>d.statusCode===413?(h&&p.error("Sentry responded with status code 413. Envelope was discarded due to exceeding size limits."),f("send_error"),d):(h&&d.statusCode!==void 0&&(d.statusCode<200||d.statusCode>=300)&&p.warn(`Sentry responded with status code ${d.statusCode} to sent event.`),r=Ii(r,d),d),d=>{throw f("network_error"),h&&p.error("Encountered error running transport request:",d),d});return n.add(l).then(d=>d,d=>{if(d===Re)return h&&p.error("Skipped sending event because buffer is full."),f("queue_overflow"),Promise.resolve({});throw d})}return{send:i,flush:s}}function ki(t,e,n){const r=[{type:"client_report"},{timestamp:gt(),discarded_events:t}];return Mt(e?{dsn:e}:{},[r])}function Oi(t){var u;const{trace_id:e,parent_span_id:n,span_id:r,status:s,origin:o,data:i,op:a,links:c}=((u=t.contexts)==null?void 0:u.trace)??{};return{data:i??{},description:t.transaction,op:a,parent_span_id:n,span_id:r??"",start_timestamp:t.start_timestamp??0,status:s??"ok",timestamp:t.timestamp,trace_id:e??"",origin:o,links:c,profile_id:i==null?void 0:i[er],exclusive_time:i==null?void 0:i[Zn],measurements:t.measurements,is_segment:!0}}function Ri(t){return{type:"transaction",timestamp:t.timestamp,start_timestamp:t.start_timestamp,transaction:t.description,contexts:{trace:{trace_id:t.trace_id,span_id:t.span_id,parent_span_id:t.parent_span_id,op:t.op,status:t.status,origin:t.origin,links:t.links,data:{...t.data,...t.profile_id&&{[er]:t.profile_id},...t.exclusive_time&&{[Zn]:t.exclusive_time}}}},measurements:t.measurements}}function Ci(t){var e;t.traceLifecycle!=="stream"||!(t.beforeSendTransaction||(e=t.ignoreTransactions)!=null&&e.length)||B(()=>{console.warn("[Sentry] `beforeSendTransaction` and `ignoreTransactions` are ignored with `traceLifecycle: 'stream'` (enabled by default). Use `beforeSendSpan` and `ignoreSpans` instead, or set `traceLifecycle: 'static'`.")})}const T={userInfo:!0,cookies:!0,httpHeaders:{request:!0,response:!0},httpBodies:["incomingRequest","outgoingRequest","incomingResponse","outgoingResponse"],urlQueryParams:!0,graphQL:{document:!0,variables:!0},genAI:{inputs:!0,outputs:!0},mcp:{inputs:!0,outputs:!0},databaseQueryData:!0,queues:!0,stackFrameVariables:!0,frameContextLines:5};function Ni(t){return typeof t=="boolean"||"allow"in t||"deny"in t}function Di(t){return t===void 0?{...T.httpHeaders}:Ni(t)?{request:t,response:t}:{request:t.request??T.httpHeaders.request,response:t.response??T.httpHeaders.response}}function Ai(t){var n,r,s,o,i,a;const e=t.dataCollection??{};return{userInfo:e.userInfo??T.userInfo,cookies:e.cookies??T.cookies,httpHeaders:Di(e.httpHeaders),httpBodies:e.httpBodies??T.httpBodies,urlQueryParams:e.urlQueryParams??T.urlQueryParams,graphQL:{document:((n=e.graphQL)==null?void 0:n.document)??T.graphQL.document,variables:((r=e.graphQL)==null?void 0:r.variables)??T.graphQL.variables},genAI:{inputs:((s=e.genAI)==null?void 0:s.inputs)??T.genAI.inputs,outputs:((o=e.genAI)==null?void 0:o.outputs)??T.genAI.outputs},mcp:{inputs:((i=e.mcp)==null?void 0:i.inputs)??T.mcp.inputs,outputs:((a=e.mcp)==null?void 0:a.outputs)??T.mcp.outputs},databaseQueryData:e.databaseQueryData??T.databaseQueryData,queues:e.queues??T.queues,stackFrameVariables:e.stackFrameVariables??T.stackFrameVariables,frameContextLines:e.frameContextLines??T.frameContextLines}}const dn="Not capturing exception because it's already been captured.",pn="Discarded session because of missing or non-string release",br=Symbol.for("SentryInternalError"),vr=Symbol.for("SentryDoNotSendEventError"),Ir=Symbol.for("SentryClosedClient");function xi(t){return Ir in t}function hn(t){return{message:t,[br]:!0}}function ce(t){return{message:t,[vr]:!0}}function mn(t){return ce(`Discarding event because it's not included in the random sample (sampling rate = ${t})`)}function _n(t){return At(t)&&br in t}function gn(t){return At(t)&&vr in t}var Li=class{constructor(t){var r;this._options={attachStacktrace:!0,...t,traceLifecycle:t.traceLifecycle==="static"?"static":"stream"},this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],this._promiseBuffer=Ce(((r=t.transportOptions)==null?void 0:r.bufferSize)??64),this._dataCollection=Ai(t),this._unhandledSessionStatus="crashed",this._attachStacktraceIsDefault=t.attachStacktrace===void 0,t.dsn?this._dsn=ke(t.dsn):h&&p.warn("No DSN provided, client will not send events.");const{beforeSendSpan:e,traceLifecycle:n}=this._options;if(h&&e&&ur(e)!==(n==="static")&&B(()=>{console.warn(`Ignoring \`beforeSendSpan\`: ${n==="static"?"wrap it with":"remove"} \`Sentry.withStaticSpan\` to use it with \`traceLifecycle: "${n}"\`.`)}),this._dsn){const s=gi(this._dsn,t.tunnel,t._metadata?t._metadata.sdk:void 0);this._transport=t.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...t.transportOptions,url:s})}}captureException(t,e,n){const r=R();if(Be(t))return h&&p.log(dn),r;const s={event_id:r,...e};return this._process(()=>this.eventFromException(t,s).then(o=>this._captureEvent(o,s,n)).then(o=>o),"error"),s.event_id}captureMessage(t,e,n,r){const s={event_id:R(),...n},o=be(t)?t:String(t),i=it(t),a=i?this.eventFromMessage(o,e,s).then(c=>(c.exception&&this._attachStacktraceIsDefault&&(c.sdkProcessingMetadata={...c.sdkProcessingMetadata,hasDefaultSyntheticStacktrace:!0}),c)):this.eventFromException(t,s);return this._process(()=>a.then(c=>this._captureEvent(c,s,r)),i?"unknown":"error"),s.event_id}captureEvent(t,e,n){const r=R();if(e!=null&&e.originalException&&Be(e.originalException))return h&&p.log(dn),r;const s={event_id:r,...e},o=t.sdkProcessingMetadata||{},i=o.capturedSpanScope,a=o.capturedSpanIsolationScope,c=re(t.type);return this._process(()=>this._captureEvent(t,s,i||n,a),c),s.event_id}captureSession(t){this.sendSession(t),Z(t,{init:!1})}getDsn(){return this._dsn}getOptions(){return this._options}getDataCollectionOptions(){return this._dataCollection}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}async flush(t){const e=this._transport;if(this.emit("flush"),!e)return!0;const n=await this._isClientDoneProcessing(t),r=await e.flush(t);return n&&r}async close(t){Object.defineProperty(this,Ir,{value:!0});const e=await this.flush(t);return this.getOptions().enabled=!1,this.emit("close"),e}getEventProcessors(){return this._eventProcessors}addEventProcessor(t){this._eventProcessors.push(t)}init(){(this._isEnabled()||this._options.integrations.some(({name:t})=>t.startsWith("Spotlight")))&&(this._setupIntegrations(),Ci(this._options))}getIntegrationByName(t){return this._integrations[t]}getIntegrationNames(){return Object.keys(this._integrations)}addIntegration(t){const e=this._integrations[t.name];!e&&t.beforeSetup&&t.beforeSetup(this),or(this,t,this._integrations),e||tn(this,[t])}sendEvent(t,e={}){this.emit("beforeSendEvent",t,e);const n=yi(t,this);let r=ei(t,this._dsn,this._options._metadata,this._options.tunnel);if(!ae(e))for(const s of e.attachments||[])r=sn(r,Ho(s));n&&(r=sn(r,n)),this.sendEnvelope(r).then(s=>this.emit("afterSendEvent",t,s))}sendSession(t){const{release:e,environment:n=wo}=this._options;if("aggregates"in t){const s=t.attrs||{};if(!s.release&&!e){h&&p.warn(pn);return}s.release=s.release||e,s.environment=s.environment||n,t.attrs=s}else{if(!t.release&&!e){h&&p.warn(pn);return}t.release=t.release||e,t.environment=t.environment||n}this.emit("beforeSendSession",t);const r=ti(t,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(r)}recordDroppedEvent(t,e,n=1){if(this._options.sendClientReports){const r=`${t}:${e}`;h&&p.log(`Recording outcome: "${r}"${n>1?` (${n} times)`:""}`),this._outcomes[r]=(this._outcomes[r]||0)+n}}on(t,e){const n=this._hooks[t]=this._hooks[t]||new Set,r=(...s)=>e(...s);return n.add(r),()=>{n.delete(r)}}emit(t,...e){const n=this._hooks[t];n&&n.forEach(r=>r(...e))}async sendEnvelope(t){if(this.emit("beforeEnvelope",t),this._isEnabled()&&this._transport)try{const e=await this._transport.send(t);return this.emit("afterEnvelope",t),e}catch(e){return h&&p.error("Error while sending envelope:",e),{}}return h&&p.error("Transport disabled"),{}}registerCleanup(t){}dispose(){}_setupIntegrations(){const{integrations:t}=this._options;this._integrations=To(this,t),tn(this,t)}_updateSessionFromEvent(t,e){var i,a;let n=e.level==="fatal",r=!1;const s=(i=e.exception)==null?void 0:i.values;if(s){r=!0,n=!1;for(const c of s)if(((a=c.mechanism)==null?void 0:a.handled)===!1){n=!0;break}}const o=t.status==="ok";(o&&t.errors===0||o&&n)&&(Z(t,{...n&&{status:this._unhandledSessionStatus},errors:t.errors||Number(r||n)}),this.captureSession(t))}async _isClientDoneProcessing(t){let e=0;for(;!t||esetTimeout(n,1)),!this._numProcessing)return!0;e++}return!1}_isEnabled(){return this.getOptions().enabled!==!1&&this._transport!==void 0}_prepareEvent(t,e,n,r){const s=this.getOptions(),o=this.getIntegrationNames();return!e.integrations&&o.length&&(e.integrations=o),this.emit("preprocessEvent",t,e),t.type||r.setLastEventId(t.event_id||e.event_id),ii(s,t,e,n,this,r).then(i=>{var a;return i===null||(this.emit("postprocessEvent",i,e),i.contexts={trace:{...(a=i.contexts)==null?void 0:a.trace,...Qn(n)},...i.contexts},i.sdkProcessingMetadata={dynamicSamplingContext:ar(this,n),...i.sdkProcessingMetadata}),i})}_captureEvent(t,e={},n=x(),r=K()){return h&&ue(t)&&p.log(`Captured error event \`${gr(t)[0]||""}\``),this._processEvent(t,e,n,r).then(s=>s.event_id,s=>{h&&(gn(s)?p.log(s.message):_n(s)?p.warn(s.message):p.warn(s))})}_processEvent(t,e,n,r){const s=this.getOptions(),{sampleRate:o}=s,i=Tr(t),a=ue(t),c=`before send for type \`${t.type||"error"}\``;let u="before_send",f=0;const l=typeof o>"u"?void 0:so(o),d=a&&typeof l=="number"&&Te()>l,m=re(t.type);let y=0;const O=n.getSession()||r.getSession();return d&&(O==null?void 0:O.status)!=="ok"?(this.recordDroppedEvent("sample_rate","error"),Oe(mn(o))):this._prepareEvent(t,e,n,r).then(S=>{var v;if(S===null)throw ce("An event processor returned `null`, will not send event.");return y=((v=S.spans)==null?void 0:v.length)||0,ae(e)?S:Pi(s,S,e,w=>{u=w},w=>{f=w})}).then(S=>{var w;if(f&&this.recordDroppedEvent("ignored","span",f),!ht(S)||S===null)throw this.recordDroppedEvent(u,m),i&&this.recordDroppedEvent(u,"span",1+y-f),S!==null?hn(`${c} must return \`null\` or a valid event.`):ce(`${u==="ignored"?"Transaction matched `ignoreSpans`":`${c} ${u==="callback_error"?"threw an error":"returned `null`"}`}, will not send event.`);if(a&&O&&this._updateSessionFromEvent(O,S),d)throw this.recordDroppedEvent("sample_rate","error"),mn(o);if(i){const I=y-f-(((w=S.spans)==null?void 0:w.length)||0);I>0&&this.recordDroppedEvent("before_send","span",I)}const v=S.transaction_info;if(i&&v&&S.transaction!==t.transaction){const I="custom";S.transaction_info={...v,source:I}}return this.sendEvent(S,e),S}).then(null,S=>{throw gn(S)||_n(S)?S:(this.captureException(S,{mechanism:{handled:!1,type:"internal"},data:{__sentry__:!0},originalException:S}),hn(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event. +Reason: ${S}`))})}_process(t,e){this._numProcessing++,this._promiseBuffer.add(t).then(n=>(this._numProcessing--,n),n=>(this._numProcessing--,n===Re&&this.recordDroppedEvent("queue_overflow",e),n))}_clearOutcomes(){const t=this._outcomes;return this._outcomes={},Object.entries(t).map(([e,n])=>{const[r,s]=e.split(":");return{reason:r,category:s,quantity:n}})}_flushOutcomes(){h&&p.log("Flushing outcomes...");const t=this._clearOutcomes();if(t.length===0){h&&p.log("No outcomes to send");return}if(!this._dsn){h&&p.log("No dsn provided, will not send outcomes");return}h&&p.log("Sending outcomes:",t);const e=ki(t,this._options.tunnel&&Pt(this._dsn));this.sendEnvelope(e)}};function Pi(t,e,n,r,s){const{beforeSend:o,ignoreSpans:i,beforeSendTransaction:a}=t,c=ur(t.beforeSendSpan)&&t.beforeSendSpan;let u=e;if(ue(u)&&o){const f=u;return dt(h?"The `beforeSend` callback threw an error, dropping the event:":"",()=>o(f,n),()=>(r("callback_error"),null))}if(Tr(u)){if(c||i){const f=Oi(u);if(i!=null&&i.length&&Qe({description:f.description,op:f.op,attributes:f.data},i))return r("ignored"),null;if(c){const l=rn(f,c);u=yt(e,Ri(l))}if(u.spans){const l=[],d=u.spans;for(const m of d){if(i!=null&&i.length&&Qe({description:m.description,op:m.op,attributes:m.data},i)){Eo(d,m);continue}c?l.push(rn(m,c)):l.push(m)}s(d.length-l.length),u.spans=l}}if(a)return dt(h?"The `beforeSendTransaction` callback threw an error, dropping the event:":"",()=>a(u,n),()=>(r("callback_error"),null))}return u}function ue(t){return t.type===void 0}function Tr(t){return t.type==="transaction"}function $i(t,e){e.debug===!0&&(h?p.enable():B(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),Mi(),x().update(e.initialScope);const n=new t(e);return Fi(n),n.init(),n}function Mi(){const t=b();t&&!xi(t)&&B(()=>{console.warn("[Sentry] `Sentry.init()` was called more than once. The new client replaces the active client, but the active client is not closed, so state from both can mix. Call `Sentry.init()` only once, or call `await Sentry.close()` before you call it again.")})}function Fi(t){x().setClient(t)}function wr(t,e){const n=t.indexOf("="),r=n===-1?t:t.slice(0,n),s=new URLSearchParams(`${r}=`).keys().next().value;return s!==void 0&&mr(s,e)?`${r}=${hr}`:t}function ji(t,e){if(!(!t||e===!1))return t.split("&").map(n=>wr(n,e)).join("&")}function Ui(t,e){if(!t||e===!1)return;const n=t.indexOf("?");return`${n===-1?"":t.slice(0,n+1)}${(n===-1?t:t.slice(n+1)).split("&").map(r=>r.includes("=")?wr(r,e):r).join("&")}`}function Bi(t,e){const n=t.indexOf("#"),r=n===-1?t:t.slice(0,n),s=n===-1?void 0:t.slice(n+1),o=r.indexOf("?");let i=r;if(o!==-1){const c=ji(r.slice(o+1),e);i=`${r.slice(0,o)}${c?`?${c}`:""}`}const a=s===void 0?void 0:Ui(s,e);return a?`${i}#${a}`:i}function Hi(t){var e;return((e=t??b())==null?void 0:e.getDataCollectionOptions().urlQueryParams)??!0}function nt(t,e){return t===void 0?void 0:Bi(t,Hi(e))}const Wi="thismessage:/";function Gi(t){return"isRelative"in t}function qi(t,e){const n=t.indexOf("://")<=0&&t.indexOf("//")!==0,r=e??(n?Wi:void 0);try{if("canParse"in URL&&!URL.canParse(t,r))return;const s=new URL(t,r);return n?{isRelative:n,pathname:s.pathname,search:s.search,hash:s.hash}:s}catch{}}function qt(t){if(!t)return{};const e=t.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!e)return{};const n=e[6]||"",r=e[8]||"";return{host:e[4],path:e[5],protocol:e[2],search:n,hash:r,relative:e[5]+n+r}}function zi(t,e=!0){if(t.startsWith("data:")){const n=t.match(/^data:([^;,]+)/),r=n?n[1]:"text/plain",s=t.includes(";base64,"),o=t.indexOf(",");let i="";if(e&&o!==-1){const a=t.slice(o+1);i=a.length>10?`${a.slice(0,10)}... [truncated]`:a}return`data:${r}${s?",base64":""}${i?`,${i}`:""}`}return t}function Yi(t){let e=2166136261;for(let n=0;n>>0).toString(36)}function Ki(t){var n;const e=t?ke(t):(n=b())==null?void 0:n.getDsn();return e?`/${Yi(Pt(e))}`:void 0}function Vi(t){const e=(t!=null&&t.startsWith("./")?t.slice(1):t??"").replace(/\/$/,"");return!e||e.startsWith("/")?e:`/${e}`}function Xi(t){var e;"aggregates"in t?((e=t.attrs)==null?void 0:e.ip_address)===void 0&&(t.attrs={...t.attrs,ip_address:"{{auto}}"}):t.ipAddress===void 0&&(t.ipAddress="{{auto}}")}function Ji(t){return Array.from(new Set(t))}function Qi(t){var r;if((r=t._metadata)!=null&&r.optionsSetByUser)return t;const{integrations:e}=t,n={...t._metadata,optionsSetByUser:Object.keys(t).filter(s=>s!=="_metadata").sort()};return Array.isArray(e)&&(n.integrationsSetByUser=Ji(e.map(s=>s.name))),{...t,_metadata:n,...typeof e=="function"&&{integrations:s=>{const o=new Set(s),i=e(s),a=Array.isArray(i)?i:[i],c=new Set,u=new Set;for(const l of a)c.add(l.name),!o.has(l)&&!l.isDefaultInstance&&u.add(l.name);const f=new Set;for(const l of o)c.has(l.name)||f.add(l.name);return n.integrationsSetByUser=Array.from(u),f.size&&(n.removedDefaultIntegrations=Array.from(f).sort()),a}}}}function Zi(t,e,n=[e],r="npm"){const s=(t._metadata=t._metadata||{}).sdk=t._metadata.sdk||{};s.name||(s.name=`sentry.javascript.${e}`,s.packages=n.map(o=>({name:`${r}:@sentry/${o}`,version:Ot})),s.version=Ot)}const ta="sentry-release",ea=100;function G(t,e){const n=b(),r=K();if(!n)return;const{beforeBreadcrumb:s=null,maxBreadcrumbs:o=ea}=n.getOptions();if(o<=0)return;const i={timestamp:gt(),...t},a=s?dt(h?"The `beforeBreadcrumb` callback threw an error, dropping the breadcrumb:":"",()=>B(()=>s(i,e)),()=>null):i;a!==null&&(n.emit&&n.emit("beforeAddBreadcrumb",a,e),r.addBreadcrumb(a,o))}const na="FunctionToString",yn=new WeakMap,ra=()=>({name:na,setupOnce(){const t=Function.prototype.toString,e=Function.prototype.call.bind(t),n=Function.prototype.call.bind(Object.prototype.hasOwnProperty);try{Function.prototype.toString=function(){let r;try{yn.has(b())&&n(this,"__sentry_original__")&&(r=Ie(this))}catch{}return e(r??this)}}catch{}},setup(t){yn.set(t,!0)}}),sa=C(ra),oa=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,/^Can't find variable: gmo$/,/^undefined is not an object \(evaluating 'a\.[A-Z]'\)$/,/can't redefine non-configurable property "solana"/,/vv\(\)\.getRestrictions is not a function/,/Can't find variable: _AutofillCallbackHandler/,/Object Not Found Matching Id:\d+, MethodName:simulateEvent/,/Java exception was raised during method invocation$/,/Java object is gone$/],ia="EventFilters",aa=C((t={})=>{let e;return{name:ia,setup(n){e=Sn(t,n.getOptions())},processEvent(n,r,s){return e||(e=Sn(t,s.getOptions())),ca(n,e)?null:n}}});function Sn(t={},e={}){return{allowUrls:[...t.allowUrls||[],...e.allowUrls||[]],denyUrls:[...t.denyUrls||[],...e.denyUrls||[]],ignoreErrors:[...t.ignoreErrors||[],...e.ignoreErrors||[],...t.disableErrorDefaults?[]:oa],ignoreTransactions:[...t.ignoreTransactions||[],...e.ignoreTransactions||[]]}}function ca(t,e){if(t.type){if(t.type==="transaction"&&fa(t,e.ignoreTransactions))return h&&p.warn(`Event dropped due to being matched by \`ignoreTransactions\` option. +Event: ${W(t)}`),!0}else{if(ua(t,e.ignoreErrors))return h&&p.warn(`Event dropped due to being matched by \`ignoreErrors\` option. +Event: ${W(t)}`),!0;if(ha(t))return h&&p.warn(`Event dropped due to not having an error message, error type or stacktrace. +Event: ${W(t)}`),!0;if(la(t,e.denyUrls))return h&&p.warn(`Event dropped due to being matched by \`denyUrls\` option. +Event: ${W(t)}. +Url: ${Ct(t)}`),!0;if(!da(t,e.allowUrls))return h&&p.warn(`Event dropped due to not being matched by \`allowUrls\` option. +Event: ${W(t)}. +Url: ${Ct(t)}`),!0}return!1}function ua(t,e){return e!=null&&e.length?gr(t).some(n=>_t(n,e)):!1}function fa(t,e){if(!(e!=null&&e.length))return!1;const n=t.transaction;return n?_t(n,e):!1}function la(t,e){if(!(e!=null&&e.length))return!1;const n=Ct(t);return n?_t(n,e):!1}function da(t,e){if(!(e!=null&&e.length))return!0;const n=Ct(t);return n?_t(n,e):!0}function pa(t=[]){for(let e=t.length-1;e>=0;e--){const n=t[e];if(n&&n.filename!==""&&n.filename!=="[native code]")return n.filename||null}return null}function Ct(t){var e,n,r;try{const s=(r=(n=[...((e=t.exception)==null?void 0:e.values)??[]].reverse().find(o=>{var i,a,c;return((i=o.mechanism)==null?void 0:i.parent_id)===void 0&&((c=(a=o.stacktrace)==null?void 0:a.frames)==null?void 0:c.length)}))==null?void 0:n.stacktrace)==null?void 0:r.frames;return s?pa(s):null}catch{return h&&p.error(`Cannot extract url for event ${W(t)}`),null}}function ha(t){var e,n;return(n=(e=t.exception)==null?void 0:e.values)!=null&&n.length?!t.message&&!t.exception.values.some(r=>r.stacktrace||r.type&&r.type!=="Error"||r.value):!1}function ma(t,e,n,r,s,o){var a;if(!((a=s.exception)!=null&&a.values)||!o||!D(o.originalException))return;const i=s.exception.values.length>0?s.exception.values[s.exception.values.length-1]:void 0;i&&(s.exception.values=Tt(t,e,r,o.originalException,n,s.exception.values,i,0))}function Tt(t,e,n,r,s,o,i,a){if(o.length>=n+1)return o;let c=[...o];if(D(r[s])){zt(i,a,r);const u=t(e,r[s]),f=c.length;Yt(u,s,f,a),c=Tt(t,e,n,r[s],s,[u,...c],u,f)}return kr(r)&&r.errors.forEach((u,f)=>{if(c.length{const f=r[u];if(c.length{for(const e of t)Nt.delete(e)}}const bn=new Set;function ba(){"console"in _&&Ln.forEach(function(t){bn.has(t)||!(t in _.console)||(bn.add(t),k(_.console,t,function(e){return Rt[t]=e,function(...n){const r=n[0],s=Rt[t],o=Nt.size&&typeof r=="string"&&_t(r,Nt);o||N("console",{args:n,level:t}),(!o||h&&p.isEnabled())&&(s==null||s.apply(_.console,n))}}))})}function va(t){return t==="warn"?"warning":["fatal","error","warning","log","info","debug"].includes(t)?t:"log"}const Ia="Dedupe",Ta=()=>{let t;return{name:Ia,processEvent(e){if(e.type)return e;try{if(ka(e,t))return h&&p.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{}return t=e}}},wa=C(Ta);function ka(t,e){return e?!!(Oa(t,e)||Ra(t,e)):!1}function Oa(t,e){const n=t.message,r=e.message;return!(!n&&!r||n&&!r||!n&&r||n!==r||!Rr(t,e)||!Or(t,e))}function Ra(t,e){const n=vn(e),r=vn(t);return!(!n||!r||n.type!==r.type||n.value!==r.value||!Rr(t,e)||!Or(t,e))}function Or(t,e){const n=Me(t),r=Me(e);if(!n||!r)return!n&&!r;if(r.length!==n.length)return!1;for(let s=0;s{const e=new Set(t.levels||Ln);return{name:Ca,setup(n){const r=Sa(({args:s,level:o})=>{b()!==n||!e.has(o)||Da(o,s)});if(n.registerCleanup(r),t.filter){const s=Ea(t.filter);n.registerCleanup(s)}}}});function Da(t,e){const n={category:"console",data:{arguments:e,logger:"console"},level:va(t),message:In(e)};if(t==="assert")if(e[0]===!1){const r=e.slice(1);n.message=r.length>0?`Assertion failed: ${In(r)}`:"Assertion failed",n.data.arguments=r}else return;G(n,{input:e,level:t})}function In(t){return"util"in _&&typeof _.util.format=="function"?_.util.format(...t):us(t," ")}const Aa="ConversationId",xa=()=>({name:Aa,setup(t){t.on("spanStart",e=>{const n=x().getScopeData(),r=K().getScopeData(),s=n.conversationId||r.conversationId;if(s){const{op:o,data:i,description:a}=$t(e);if(!(o!=null&&o.startsWith("gen_ai."))&&!i["ai.operationId"]&&!(a!=null&&a.startsWith("ai.")))return;e.setAttribute(js,s)}})}}),La=C(xa),fe=_;function Pa(){if(!("fetch"in fe))return!1;try{return new Headers,new Request("data:,"),new Response,!0}catch{return!1}}function le(t){return t&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(t.toString())}function $a(){var n;if(typeof EdgeRuntime=="string")return!0;if(!Pa())return!1;if(le(fe.fetch))return!0;let t=!1;const e=fe.document;if(e&&typeof e.createElement=="function")try{const r=e.createElement("iframe");r.hidden=!0,e.head.appendChild(r),(n=r.contentWindow)!=null&&n.fetch&&(t=le(r.contentWindow.fetch)),e.head.removeChild(r)}catch(r){h&&p.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",r)}return t}function Ma(t){const e="fetch",n=q(e,t);return z(e,()=>Fa()),n}function Fa(t){pr()&&!$a()||k(_,"fetch",function(e){return new Proxy(e,{apply(n,r,s){const o=new Error,{method:i,url:a}=ja(s),c={args:s,fetchData:{method:i,url:a},startTimestamp:A()*1e3,virtualError:o,headers:Ua(s)};return N("fetch",{...c}),Reflect.apply(n,_,s).then(async u=>(N("fetch",{...c,endTimestamp:A()*1e3,response:u}),u),u=>{var l,d;N("fetch",{...c,endTimestamp:A()*1e3,error:u}),D(u)&&u.stack===void 0&&(u.stack=o.stack,U(u,"framesToPop",1));const f=((l=b())==null?void 0:l.getOptions().enhanceFetchErrorMessages)??"always";if(f!==!1&&D(u)&&u.name==="TypeError"&&(u.message==="Failed to fetch"||u.message==="Load failed"||u.message==="NetworkError when attempting to fetch resource."))try{const m=new URL(c.fetchData.url,(d=_.location)==null?void 0:d.href).host;m&&(f==="always"?u.message=`${u.message} (${m})`:U(u,"__sentry_fetch_url_host__",m))}catch{}throw u})}})})}function wt(t,e){return At(t)&&!!t[e]}function Tn(t){return typeof t=="string"?t:t?wt(t,"url")?t.url:t.toString?t.toString():"":""}function ja(t){if(t.length===0)return{method:"GET",url:""};if(t.length===2){const[n,r]=t;return{url:Tn(n),method:wt(r,"method")?String(r.method).toUpperCase():Un(n)&&wt(n,"method")?String(n.method).toUpperCase():"GET"}}const e=t[0];return{url:Tn(e),method:wt(e,"method")?String(e.method).toUpperCase():"GET"}}function Ua(t){const[e,n]=t;try{if(typeof n=="object"&&n!==null&&"headers"in n&&n.headers)return new Headers(n.headers);if(Un(e))return new Headers(e.headers)}catch{}}function Cr(t){if(t!==void 0)return t>=400&&t<500?"warning":t>=500?"error":void 0}const de=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,E=_,Ba=80,H={};try{typeof Node<"u"&&(H.parentNode=Object.getOwnPropertyDescriptor(Node.prototype,"parentNode").get),typeof Element<"u"&&(H.tagName=Object.getOwnPropertyDescriptor(Element.prototype,"tagName").get,H.id=Object.getOwnPropertyDescriptor(Element.prototype,"id").get,H.className=Object.getOwnPropertyDescriptor(Element.prototype,"className").get,H.getAttribute=Element.prototype.getAttribute),typeof HTMLElement<"u"&&(H.dataset=Object.getOwnPropertyDescriptor(HTMLElement.prototype,"dataset").get)}catch{}function F(t,e,n){const r=H[e];if(r)try{return r.call(t,n)}catch{}const s=t[e];return typeof s=="function"?s.call(t,n):s}function Nr(t,e={}){if(!t)return"";try{let n=t;const r=5,s=[];let o=0,i=0;const a=" > ",c=3;let u;const f=Array.isArray(e)?e:e.keyAttrs,l=Array.isArray(e)?void 0:e.maskAttributeFn,d=!Array.isArray(e)&&e.maxStringLength||Ba;for(;n&&o++1&&i+s.length*c+u.length>=d));)s.push(u),i+=u.length,n=F(n,"parentNode");return s.reverse().join(a)}catch{return""}}function Ha(t,e,n){const r=[],s=F(t,"tagName");if(!s)return"";if(typeof HTMLElement<"u"&&t instanceof HTMLElement){const i=F(t,"dataset");if(i){if(i.sentryComponent)return n?n("data-sentry-component",i.sentryComponent,t):i.sentryComponent;if(i.sentryElement)return n?n("data-sentry-element",i.sentryElement,t):i.sentryElement}}r.push(s.toLowerCase());const o=e!=null&&e.length?e.filter(i=>F(t,"getAttribute",i)).map(i=>[i,F(t,"getAttribute",i)]):null;if(o!=null&&o.length)o.forEach(([i,a])=>{r.push(`[${i}="${n&&a?n(i,a,t):a}"]`)});else{const i=F(t,"id");i&&r.push(`#${n?n("id",i,t):i}`);const a=F(t,"className");if(a&&$(a)){const c=(n?n("class",a,t):a).split(/\s+/);for(const u of c)r.push(`.${u}`)}}for(const i of["aria-label","type","name","title","alt"]){const a=F(t,"getAttribute",i);a&&r.push(`[${i}="${n?n(i,a,t):a}"]`)}return r.join("")}function Wa(t,e,n){E.document&&E.addEventListener(t,e,n)}function Ga(t,e,n){E.document&&E.removeEventListener(t,e,n)}const qa=t=>{var n;const e=E.requestIdleCallback||E.setTimeout;if(((n=E.document)==null?void 0:n.visibilityState)==="hidden")t();else{let r=!1;const s=()=>{r||(t(),r=!0)};Wa("visibilitychange",s,{once:!0,capture:!0}),e(()=>{s(),Ga("visibilitychange",s,{capture:!0})})}};function za(t,e=5){if(!_.HTMLElement)return null;let n=t;for(let r=0;r{var s,o;const r=(s=E[n])==null?void 0:s.prototype;(o=r==null?void 0:r.hasOwnProperty)!=null&&o.call(r,"addEventListener")&&(k(r,"addEventListener",function(i){return function(a,c,u){if((a==="click"||a=="keypress")&&c)try{const f=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},l=f[a]=f[a]||{captureListeners:new WeakSet,bubbleListeners:new WeakSet,listenerCount:0},d=kn(u);if(!l.handler){const y=On(t);l.handler=y,l.capture=d,i.call(this,a,y,l.capture)}const m=l[d?"captureListeners":"bubbleListeners"];m.has(c)||(typeof u=="object"&&(u!=null&&u.once||u!=null&&u.signal)?l.sticky=!0:(m.add(c),l.listenerCount++))}catch{}return i.call(this,a,c,u)}}),k(r,"removeEventListener",function(i){return function(a,c,u){if((a==="click"||a=="keypress")&&c)try{const f=this.__sentry_instrumentation_handlers__||{},l=f[a];l!=null&&l[kn(u)?"captureListeners":"bubbleListeners"].delete(c)&&(!--l.listenerCount&&!l.sticky&&(i.call(this,a,l.handler,l.capture),l.handler=void 0,delete f[a]),Object.keys(f).length===0&&delete this.__sentry_instrumentation_handlers__)}catch{}return i.call(this,a,c,u)}}))})}function Qa(t){if(t.type!==pe)return!1;try{if(!t.target||t.target._sentryId!==he)return!1}catch{}return!0}function Za(t,e){return t!=="keypress"?!1:e!=null&&e.tagName?!(e.tagName==="INPUT"||e.tagName==="TEXTAREA"||e.isContentEditable):!0}function On(t,e=!1){return n=>{if(!n||n._sentryCaptured)return;const r=tc(n);if(Za(n.type,r))return;U(n,"_sentryCaptured",!0),r&&!r._sentryId&&U(r,"_sentryId",R());const s=n.type==="keypress"?"input":n.type;Qa(n)||(t({event:n,name:s,global:e}),pe=n.type,he=r?r._sentryId:void 0),clearTimeout(wn),wn=E.setTimeout(()=>{he=void 0,pe=void 0},Va)}}function tc(t){try{return t.target}catch{return null}}let vt;function ec(){return"history"in E&&!!E.history}function Ar(t){const e="history";q(e,t),z(e,nc)}function nc(){if(E.addEventListener("popstate",()=>{const e=E.location.href,n=vt;vt=e,n!==e&&N("history",{from:n,to:e})}),!ec())return;function t(e){return function(...n){const r=n.length>2?n[2]:void 0;if(r){const s=vt,o=rc(String(r));if(vt=o,s===o)return e.apply(this,n);N("history",{from:s,to:o})}return e.apply(this,n)}}k(E.history,"pushState",t),k(E.history,"replaceState",t)}function rc(t){try{return new URL(t,E.location.origin).toString()}catch{return t}}const kt={};function sc(t){const e=kt[t];if(e)return e;let n=E[t];if(le(n))return kt[t]=n.bind(E);const r=E.document;if(r&&typeof r.createElement=="function")try{const s=r.createElement("iframe");s.hidden=!0,r.head.appendChild(s);const o=s.contentWindow;o!=null&&o[t]&&(n=o[t]),r.head.removeChild(s)}catch(s){de&&p.warn(`Could not create sandbox iframe for ${t} check, bailing to window.${t}: `,s)}return n&&(kt[t]=n.bind(E))}function oc(t){kt[t]=void 0}const ut="__sentry_xhr_v3__";function ic(t){const e="xhr";q(e,t),z(e,ac)}function ac(){if(!E.XMLHttpRequest)return;const t=XMLHttpRequest.prototype;t.open=new Proxy(t.open,{apply(e,n,r){let s=new Error;const o=A()*1e3,i=$(r[0])?r[0].toUpperCase():void 0,a=cc(r[1]);if(!i||a===void 0)return e.apply(n,r);n[ut]={method:i,url:a,request_headers:{}},i==="POST"&&a.match(/sentry_key/)&&(n.__sentry_own_request__=!0);const c=()=>{const u=n[ut];if(u&&n.readyState===4){try{u.status_code=n.status}catch{}const f={endTimestamp:A()*1e3,startTimestamp:o,xhr:n,virtualError:s};N("xhr",f),s=void 0,n.removeEventListener("readystatechange",c)}};return"onreadystatechange"in n&&typeof n.onreadystatechange=="function"?n.onreadystatechange=new Proxy(n.onreadystatechange,{apply(u,f,l){return c(),u.apply(f,l)}}):n.addEventListener("readystatechange",c),n.setRequestHeader=new Proxy(n.setRequestHeader,{apply(u,f,l){const[d,m]=l,y=f[ut];return y&&$(d)&&$(m)&&(y.request_headers[d.toLowerCase()]=m),u.apply(f,l)}}),e.apply(n,r)}}),t.send=new Proxy(t.send,{apply(e,n,r){const s=n[ut];if(!s)return e.apply(n,r);r[0]!==void 0&&(s.body=r[0]);const o={startTimestamp:A()*1e3,xhr:n};return N("xhr",o),e.apply(n,r)}})}function cc(t){if($(t))return t;try{return t.toString()}catch{}}function uc(t){if(typeof Element>"u")return!1;try{return t instanceof Element}catch{return!1}}const g=_;let me=0;const Rn=[];function xr(t){if(me>0)return!0;const e=t?Rn.findIndex(n=>fc(n,t)):-1;return e===-1?!1:(Rn.splice(e,1),!0)}function fc(t,e){return t.msg===e.msg&&t.url===e.url&&t.line===e.line&&t.column===e.column}function lc(){me++,setTimeout(()=>{me--})}function rt(t,e={}){function n(s){return typeof s=="function"}if(!n(t))return t;try{if(Object.prototype.hasOwnProperty.call(t,"__sentry_wrapped__")){const s=t.__sentry_wrapped__;return typeof s=="function"?s:t}if(Ie(t))return t}catch{return t}const r=function(...s){_._sentryWrappedDepth=(_._sentryWrappedDepth||0)+1;try{const o=s.map(i=>rt(i,e));return t.apply(this,o)}catch(o){throw lc(),Ls(i=>{i.addEventProcessor(a=>(e.mechanism&&(Qt(a,void 0),J(a,e.mechanism)),a.extra={...a.extra,arguments:s},a)),pi(o)}),o}finally{_._sentryWrappedDepth=(_._sentryWrappedDepth||0)-1}};try{for(const s in t)Object.prototype.hasOwnProperty.call(t,s)&&(r[s]=t[s])}catch{}Bn(r,t),U(t,"__sentry_wrapped__",r);try{Object.getOwnPropertyDescriptor(r,"name").configurable&&Object.defineProperty(r,"name",{get(){return t.name}})}catch{}return r}function Cn(t){const e=Ne(),{referrer:n}=g.document||{},{userAgent:r}=g.navigator||{};return{url:e,headers:{...n&&{Referer:nt(n,t)},...r&&{"User-Agent":r}}}}function De(t,e){const n=Ft(t,e),r={type:_c(e),value:gc(e)};return n.length&&(r.stacktrace={frames:n}),r.type===void 0&&r.value===""&&(r.value="Unrecoverable error caught"),r}function dc(t,e,n,r){var c;const s=(c=b())==null?void 0:c.getOptions().normalizeDepth,o=vc(e),i={__serialized__:Gn(e,s)};if(o)return{exception:{values:[De(t,o)]},extra:i};const a={exception:{values:[{type:xt(e)?e.constructor.name:r?"UnhandledRejection":"Error",value:Ec(e,{isUnhandledRejection:r})}]},extra:i};if(n){const u=Ft(t,n);u.length&&(a.exception.values[0].stacktrace={frames:u})}return a}function Kt(t,e){return{exception:{values:[De(t,e)]}}}function Ft(t,e){const n=e.stacktrace||e.stack||"",r=hc(e),s=mc(e);try{return t(n,r,s)}catch{}return[]}const pc=/Minified React error #\d+;/i;function hc(t){return t&&pc.test(t.message)?1:0}function mc(t){return typeof t.framesToPop=="number"?t.framesToPop:0}function Lr(t){return typeof WebAssembly<"u"&&typeof WebAssembly.Exception<"u"?t instanceof WebAssembly.Exception:!1}function _c(t){const e=t==null?void 0:t.name;return!e&&Lr(t)?t.message&&Array.isArray(t.message)&&t.message.length==2?t.message[0]:"WebAssembly.Exception":e}function gc(t){const e=t==null?void 0:t.message;return Lr(t)?Array.isArray(t.message)&&t.message.length==2?t.message[1]:"wasm exception":e?e.error&&typeof e.error.message=="string"?En(e.error):En(t):"No error message"}function yc(t,e,n,r){const s=Ae(t,e,(n==null?void 0:n.syntheticException)||void 0,r);return J(s),s.level="error",n!=null&&n.event_id&&(s.event_id=n.event_id),St(s)}function Sc(t,e,n="info",r,s){const o=_e(t,e,(r==null?void 0:r.syntheticException)||void 0,s);return o.level=n,r!=null&&r.event_id&&(o.event_id=r.event_id),St(o)}function Ae(t,e,n,r,s){var a,c;let o;if(jn(e)&&e.error)return Kt(t,e.error);if(je(e)||Xr(e)){const u=e;if("stack"in e){o=Kt(t,e);const f=(c=(a=o.exception)==null?void 0:a.values)==null?void 0:c[0];if(r&&n&&f&&!f.stacktrace){const l=Ft(t,n);l.length&&(f.stacktrace={frames:l},J(o,{synthetic:!0}))}}else{const f=u.name||(je(u)?"DOMError":"DOMException"),l=u.message?`${f}: ${u.message}`:f;o=_e(t,l,n,r),Qt(o,l)}return o}if(D(e))return Kt(t,e);if(ht(e)||xt(e))return o=dc(t,e,n,s),J(o,{synthetic:!0}),o;const i=String(e);return o=_e(t,i,n,r),Qt(o,i),J(o,{synthetic:!0}),o}function _e(t,e,n,r){const s={};if(r&&n){const o=Ft(t,n);o.length&&(s.exception={values:[{value:e,stacktrace:{frames:o}}]}),J(s,{synthetic:!0})}if(be(e)){const{__sentry_template_string__:o,__sentry_template_values__:i}=e;return s.logentry={message:o,params:i},s}return s.message=e,s}function Ec(t,{isUnhandledRejection:e}){const n=Qr(t),r=e?"promise rejection":"exception";return jn(t)?`Event \`ErrorEvent\` captured as ${r} with message \`${t.message}\``:xt(t)?`Event \`${bc(t)}\` (type=${t.type}) captured as ${r}`:`Object captured as ${r} with keys: ${n}`}function bc(t){try{const e=Object.getPrototypeOf(t);return e?e.constructor.name:void 0}catch{}}function vc(t){return Object.values(t).find(D)}const Et=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__;function Pr(t){const{tunnel:e,dsn:n,transportOptions:r}=t;if(!e)return{tunnel:e,transportOptions:r};if(typeof e=="string")return{tunnel:e,transportOptions:Ic(e)?Nn(r):r};const s=e===!0?{}:e,o=n&&ke(n),i=s.path??(o&&Ki(o));if(!i)return{tunnel:void 0,transportOptions:r};const a=`${Vi(s.basePath)}${i}${s.trailingSlash?"/":""}`;return Et&&p.log(`Tunneling events to "${a}"`),{tunnel:a,transportOptions:Nn(r)}}function Nn(t){return{...t,headers:{"Content-Type":"application/x-sentry-envelope",...t==null?void 0:t.headers}}}function Ic(t){var n,r;const e=qi(t,(n=g.location)==null?void 0:n.href);return e?Gi(e)||e.origin===((r=g.location)==null?void 0:r.origin):!1}var Tc=class extends Li{constructor(t){var a;const e=wc({...t,...Pr(t)}),n=g.SENTRY_SDK_SOURCE||zo();Zi(e,"browser",["browser"],n),super(e),e.routeProvider&&Ya(e.routeProvider,this),this._unhandledSessionStatus="unhandled";const{userInfo:r}=this.getDataCollectionOptions();(a=e._metadata)!=null&&a.sdk&&(e._metadata.sdk.settings={infer_ip:r?"auto":"never",...e._metadata.sdk.settings});const{sendClientReports:s}=this._options,o=()=>{A()},i=[[g.document,"visibilitychange",()=>{o(),g.document.visibilityState==="hidden"&&(s&&this._flushOutcomes(),queueMicrotask(()=>{this.flush()}))}],[g.document,"freeze",o],[g.document,"resume",o],[g,"pagehide",o],[g,"pageshow",o]];i.forEach(([c,u,f])=>{var l;return(l=c==null?void 0:c.addEventListener)==null?void 0:l.call(c,u,f)}),this.on("close",()=>i.forEach(([c,u,f])=>{var l;return(l=c==null?void 0:c.removeEventListener)==null?void 0:l.call(c,u,f)})),r&&this.on("beforeSendSession",Xi)}eventFromException(t,e){return yc(this._options.stackParser,t,e,this._options.attachStacktrace)}eventFromMessage(t,e="info",n){return Sc(this._options.stackParser,t,e,n,this._options.attachStacktrace)}_prepareEvent(t,e,n,r){return t.platform=t.platform||"javascript",super._prepareEvent(t,e,n,r)}};function wc(t){return{sendClientReports:!0,parentSpanIsAlwaysRootSpan:!0,...t,release:t.release??kc()}}function kc(){var t;return typeof __SENTRY_RELEASE__=="string"?__SENTRY_RELEASE__:Oc()??((t=g.SENTRY_RELEASE)==null?void 0:t.id)}function Oc(){var t,e,n;return((n=(e=(t=g.document)==null?void 0:t.querySelector)==null?void 0:e.call(t,`meta[name="${ta}"]`))==null?void 0:n.getAttribute("content"))||void 0}const Rc=40;function Cc(t,e=sc("fetch")){let n=0,r=0;async function s(o){const i=o.body.length;n+=i,r++;const a={body:o.body,method:"POST",referrerPolicy:"strict-origin",headers:t.headers,keepalive:n<=6e4&&r<15,...t.fetchOptions};try{const c=await e(t.url,a);return{statusCode:c.status,headers:{"x-sentry-rate-limits":c.headers.get("X-Sentry-Rate-Limits"),"retry-after":c.headers.get("Retry-After")}}}catch(c){throw oc("fetch"),c}finally{n-=i,r--}}return wi(t,s,Ce(t.bufferSize||Rc))}const Nc=30,Dc=50;function ge(t,e,n,r){const s={filename:t,function:e===""?Q:e,in_app:!0};return n!==void 0&&(s.lineno=n),r!==void 0&&(s.colno=r),s}const Ac=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,xc=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?![^(]*\) )(?:address at )?)?(?:async )?((?:|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,Lc=/\((\S*)(?::(\d+))(?::(\d+))\)/,Pc=/at (.+?) ?\(data:(.+?),/,$c=t=>{var s;const e=t.match(Pc);if(e)return{filename:``,function:e[1]};const n=Ac.exec(t);if(n){const[,o,i,a]=n;return ge(o,Q,+i,+a)}const r=xc.exec(t);if(r){if(((s=r[2])==null?void 0:s.indexOf("eval"))===0){const a=Lc.exec(r[2]);a&&(r[2]=a[1],r[3]=a[2],r[4]=a[3])}const[o,i]=$r(r[1]||Q,r[2]);return ge(i,o,r[3]?+r[3]:void 0,r[4]?+r[4]:void 0)}},Mc=[Nc,$c],Fc=/^\s*(.*?)(?:\(([^()]*)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,jc=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,Uc=t=>{const e=Fc.exec(t);if(e){if(e[3]&&e[3].indexOf(" > eval")>-1){const s=jc.exec(e[3]);s&&(e[1]=e[1]||"eval",e[3]=s[1],e[4]=s[2],e[5]="")}let n=e[3],r=e[1]||Q;return[r,n]=$r(r,n),ge(n,r,e[4]?+e[4]:void 0,e[5]?+e[5]:void 0)}},Bc=[Dc,Uc],Hc=[Mc,Bc],Wc=Mn(...Hc),$r=(t,e)=>{const n=t.indexOf("safari-extension")!==-1,r=t.indexOf("safari-web-extension")!==-1;return n||r?[t.indexOf("@")!==-1?t.split("@")[0]:Q,n?`safari-extension:${e}`:`safari-web-extension:${e}`]:[t,e]},It=1024,Gc="Breadcrumbs",qc=(t={})=>{const e={dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...t};return{name:Gc,setup(n){e.dom&&Xa(Kc(n,e.dom)),e.xhr&&ic(Vc(n)),e.fetch&&Ma(Xc(n)),e.history&&Ar(Jc(n)),e.sentry&&n.on("beforeSendEvent",Yc(n))}}},zc=C(qc);function Yc(t){return function(n){b()===t&&G({category:`sentry.${n.type==="transaction"?"transaction":"event"}`,event_id:n.event_id,level:n.level,message:W(n)},{event:n})}}function Kc(t,e){return function(r){if(b()!==t)return;let s,o,i=typeof e=="object"?e.serializeAttribute:void 0,a=typeof e=="object"&&typeof e.maxStringLength=="number"?e.maxStringLength:void 0;a&&a>It&&(Et&&p.warn(`\`dom.maxStringLength\` cannot exceed ${It}, but a value of ${a} was configured. Sentry will use ${It} instead.`),a=It),typeof i=="string"&&(i=[i]);try{const u=r.event,f=Qc(u)?u.target:u;s=Nr(f,{keyAttrs:i,maxStringLength:a}),o=za(f)}catch{s=""}if(s.length===0)return;const c={category:`ui.${r.name}`,message:s};o&&(c.data={"ui.component_name":o}),G(c,{event:r.event,name:r.name,global:r.global})}}function Vc(t){return function(n){if(b()!==t)return;const{startTimestamp:r,endTimestamp:s}=n,o=n.xhr[ut];if(!r||!s||!o)return;const{method:i,url:a,status_code:c,body:u}=o,f={method:i,url:ye(a,t),status_code:c},l={xhr:n.xhr,input:u,startTimestamp:r,endTimestamp:s},d={category:"xhr",data:f,type:"http",level:Cr(c)};t.emit("beforeOutgoingRequestBreadcrumb",d,l),G(d,l)}}function Xc(t){return function(n){if(b()!==t)return;const{startTimestamp:r,endTimestamp:s}=n;if(s&&!(n.fetchData.url.match(/sentry_key/)&&n.fetchData.method==="POST"))if(n.error){const o={data:n.error,input:n.args,startTimestamp:r,endTimestamp:s},i={category:"fetch",data:{...n.fetchData,url:ye(n.fetchData.url,t)},level:"error",type:"http"};t.emit("beforeOutgoingRequestBreadcrumb",i,o),G(i,o)}else{const o=n.response,i={...n.fetchData,url:ye(n.fetchData.url,t),status_code:o==null?void 0:o.status},a={input:n.args,response:o,startTimestamp:r,endTimestamp:s},c={category:"fetch",data:i,type:"http",level:Cr(i.status_code)};t.emit("beforeOutgoingRequestBreadcrumb",c,a),G(c,a)}}}function Jc(t){return function(n){if(b()!==t)return;let r=n.from,s=n.to;const o=qt(g.location.href);let i=r?qt(r):void 0;const a=qt(s);i!=null&&i.path||(i=o),o.protocol===a.protocol&&o.host===a.host&&(s=a.relative),o.protocol===i.protocol&&o.host===i.host&&(r=i.relative),G({category:"navigation",data:{from:nt(r),to:nt(s)}})}}function ye(t,e){var r;const n=t===""?(r=g.location)==null?void 0:r.href:void 0;return nt(n?n.split("#")[0]??"":t,e)}function Qc(t){return!!t&&!!t.target}const Zc="EventTarget,Window,Node,ApplicationCache,AudioTrackList,BroadcastChannel,ChannelMergerNode,CryptoOperation,EventSource,FileReader,HTMLUnknownElement,IDBDatabase,IDBRequest,IDBTransaction,KeyOperation,MediaController,MessagePort,ModalWindow,Notification,SVGElementInstance,Screen,SharedWorker,TextTrack,TextTrackCue,TextTrackList,WebSocket,WebSocketWorker,Worker,XMLHttpRequest,XMLHttpRequestEventTarget,XMLHttpRequestUpload".split(","),tu="BrowserApiErrors",eu=(t={})=>{const e={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,unregisterOriginalCallbacks:!1,...t};return{name:tu,setupOnce(){e.setTimeout&&k(g,"setTimeout",Dn),e.setInterval&&k(g,"setInterval",Dn),e.requestAnimationFrame&&k(g,"requestAnimationFrame",ru),e.XMLHttpRequest&&"XMLHttpRequest"in g&&k(XMLHttpRequest.prototype,"send",su);const n=e.eventTarget;n&&(Array.isArray(n)?n:Zc).forEach(r=>ou(r,e))}}},nu=C(eu);function Dn(t){return function(...e){const n=e[0];return e[0]=rt(n,{mechanism:{handled:!1,type:`auto.browser.browserapierrors.${j(t)}`}}),t.apply(this,e)}}function ru(t){return function(e){return t.apply(this,[rt(e,{mechanism:{data:{handler:j(t)},handled:!1,type:"auto.browser.browserapierrors.requestAnimationFrame"}})])}}function su(t){return function(...e){const n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(r=>{r in n&&typeof n[r]=="function"&&k(n,r,function(s){const o={mechanism:{data:{handler:j(s)},handled:!1,type:`auto.browser.browserapierrors.xhr.${r}`}},i=Ie(s);return i&&(o.mechanism.data.handler=j(i)),rt(s,o)})}),t.apply(this,e)}}function ou(t,e){var r,s;const n=(r=g[t])==null?void 0:r.prototype;(s=n==null?void 0:n.hasOwnProperty)!=null&&s.call(n,"addEventListener")&&(k(n,"addEventListener",function(o){return function(i,a,c){try{iu(a)&&(a.handleEvent=rt(a.handleEvent,{mechanism:{data:{handler:j(a),target:t},handled:!1,type:"auto.browser.browserapierrors.handleEvent"}}))}catch{}return e.unregisterOriginalCallbacks&&au(this,i,a),o.apply(this,[i,rt(a,{mechanism:{data:{handler:j(a),target:t},handled:!1,type:"auto.browser.browserapierrors.addEventListener"}}),c])}}),k(n,"removeEventListener",function(o){return function(i,a,c){try{if(Object.prototype.hasOwnProperty.call(a,"__sentry_wrapped__")){const u=a.__sentry_wrapped__;u&&o.call(this,i,u,c)}}catch{}return o.call(this,i,a,c)}}))}function iu(t){return typeof t.handleEvent=="function"}function au(t,e,n){t&&typeof t=="object"&&"removeEventListener"in t&&typeof t.removeEventListener=="function"&&t.removeEventListener(e,n)}const cu=C((t={})=>{const e=t.lifecycle??"page";return{name:"BrowserSession",setupOnce(){if(typeof g.document>"u"){Et&&p.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");return}ln({ignoreDuration:!0});let n=!1;qa(()=>{n||(Gt(),n=!0)});const r=K();let s=r.getUser();r.addScopeListener(o=>{const i=o.getUser();((s==null?void 0:s.id)!==(i==null?void 0:i.id)||(s==null?void 0:s.ip_address)!==(i==null?void 0:i.ip_address))&&(s=i,n&&Gt())}),e==="route"&&Ar(({from:o,to:i})=>{o!==i&&(ln({ignoreDuration:!0}),Gt(),n=!0)})}}}),uu="CultureContext",fu=()=>({name:uu,preprocessEvent(t){var n;const e=An();e&&(t.contexts={...t.contexts,culture:{...e,...(n=t.contexts)==null?void 0:n.culture}})},processSegmentSpan(t){const e=An();e&&fr(t,{[Ms]:e.locale,[Fs]:e.timezone,[$s]:e.calendar})}}),lu=C(fu);function An(){try{const t=g.Intl;if(!t)return;const e=t.DateTimeFormat().resolvedOptions();return{locale:e.locale,timezone:e.timeZone,calendar:e.calendar}}catch{return}}const du="GlobalHandlers",pu=(t={})=>{const e={onerror:!0,onunhandledrejection:!0,...t};return{name:du,setupOnce(){Error.stackTraceLimit=50},setup(n){e.onerror&&(mu(n),xn("onerror")),e.onunhandledrejection&&(_u(n),xn("onunhandledrejection"))}}},hu=C(pu);function mu(t){zr(e=>{const{stackParser:n,attachStacktrace:r}=Mr();if(b()!==t||xr(e))return;const{msg:s,url:o,line:i,column:a,error:c}=e,u=Su(Ae(n,c||s,void 0,r,!1),o,i,a);u.level="error",yr(u,{originalException:c,mechanism:{handled:!1,type:"auto.browser.global_handlers.onerror"}})})}function _u(t){Kr(e=>{const{stackParser:n,attachStacktrace:r}=Mr();if(b()!==t||xr())return;const s=gu(e),o=it(s)?yu(s):Ae(n,s,void 0,r,!0);o.level="error",yr(o,{originalException:s,mechanism:{handled:!1,type:"auto.browser.global_handlers.onunhandledrejection"}})})}function gu(t){if(it(t))return t;try{if("reason"in t)return t.reason;if("detail"in t&&"reason"in t.detail)return t.detail.reason}catch{}return t}function yu(t){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(t)}`}]}}}function Su(t,e,n,r){const s=t.exception=t.exception||{},o=s.values=s.values||[],i=o[0]=o[0]||{},a=i.stacktrace=i.stacktrace||{},c=a.frames=a.frames||[];return c.length===0&&c.push({colno:r,lineno:n,filename:Eu(e)??Ne(),function:Q,in_app:!0}),t}function xn(t){Et&&p.log(`Global Handler attached: ${t}`)}function Mr(){var t;return((t=b())==null?void 0:t.getOptions())||{stackParser:()=>[],attachStacktrace:!1}}function Eu(t){if(!(!$(t)||t.length===0))return t.startsWith("data:")?`<${zi(t,!1)}>`:t}const bu=C(()=>({name:"HttpContext",preprocessEvent(t,e,n){var c;if(!g.navigator&&!g.location&&!g.document)return;const{url:r,headers:s}=Cn(n),o=n.getDataCollectionOptions().httpHeaders.request,i=Object.entries(((c=t.request)==null?void 0:c.headers)??{}).filter(([u])=>!(u in s)),a={...se(s,o),...Object.fromEntries(i)};t.request={url:nt(r,n),...t.request,...Object.keys(a).length>0?{headers:a}:{headers:void 0}}},processSpan(t,e){var a;if(!g.navigator&&!g.location&&!g.document)return;const n=Cn(e),r=se(n.headers,e.getDataCollectionOptions().httpHeaders.request),s=r.Referer,{hostname:o,protocol:i}=g.location||{};fr(t,{[qs]:r["User-Agent"],[Bs]:i==="file:"||o==="localhost"||o==="127.0.0.1"||o==="[::1]"||!!(o!=null&&o.endsWith(".localhost")),...t.is_segment&&{[Gs]:((a=t.attributes)==null?void 0:a[tr])!=="http.client"?nt(n.url):void 0,[`${Us}.referer`]:s?[s]:void 0}})}})),vu="cause",Iu=5,Tu="LinkedErrors",wu=(t={})=>{const e=t.limit||Iu,n=t.key||vu;return{name:Tu,preprocessEvent(r,s,o){const i=o.getOptions();ma(De,i.stackParser,n,e,r,s)}}},ku=C(wu),Ou=/^HTML(\w*)Element$/;function Ru(t){if(typeof window<"u"&&t===window)return"[Window]";if(typeof document<"u"&&t===document)return"[Document]";if(uc(t)){const e=Cu(t);if(Ou.test(e))return`[HTMLElement: ${Nr(t)}]`}}function Cu(t){const e=Object.getPrototypeOf(t);return e!=null&&e.constructor?e.constructor.name:"null prototype"}function Nu(){return Du()?(Et&&B(()=>{console.error("[Sentry] You cannot use Sentry.init() in a browser extension, see: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/")}),!0):!1}function Du(){var n,r;if(typeof g.window>"u")return!1;const t=g;if(t.nw||!((r=(n=t.chrome||t.browser)==null?void 0:n.runtime)!=null&&r.id))return!1;const e=Ne();return!(g===g.top&&/^(?:chrome-extension|moz-extension|ms-browser-extension|safari-web-extension):\/\//.test(e))}function Au(t){return[aa(),sa(),La(),nu(),zc(),Na(),hu(),ku(),wa(),bu(),lu(),cu()]}function xu(t={}){const e=Qi(t),n=!e.skipBrowserExtensionCheck&&Nu();let r=e.defaultIntegrations==null?Au():e.defaultIntegrations;const s=Io({integrations:e.integrations,defaultIntegrations:r}),o={...e,...Pr(e),enabled:n?!1:e.enabled,stackParser:Gr(e.stackParser||Wc),integrations:s,transport:e.transport||Cc};return rs(Ru),$i(Tc,o)}xu({dsn:"https://1aeff3f1acac49409216ced9a2bf3b33@glitchtip.figli.io/3",environment:"production",release:"d021058b1199b2a00785a18dbd403d123065e5d8",sendDefaultPii:!1}); diff --git a/web/themes/custom/leshed/assets/js/main.js b/web/themes/custom/leshed/assets/js/main.js index e474483..a454650 100644 --- a/web/themes/custom/leshed/assets/js/main.js +++ b/web/themes/custom/leshed/assets/js/main.js @@ -91,6 +91,9 @@ gsap.registerPlugin(ScrollTrigger); let header_right = document.getElementById('burger-btn'); header_right.parentElement.addEventListener('click', function(e){ // console.log('click header_right', this); + // Le champ de recherche du burger vit dans ce conteneur : y cliquer + // (pour saisir, ou sur la loupe) ne doit pas refermer le menu. + if (e.target.closest('form')) return; this.firstElementChild.toggleAttribute('opened'); this.firstElementChild.nextElementSibling.toggleAttribute('opened'); }) diff --git a/web/themes/custom/leshed/assets/scss/main.scss b/web/themes/custom/leshed/assets/scss/main.scss index 92411a7..ae7a8cb 100644 --- a/web/themes/custom/leshed/assets/scss/main.scss +++ b/web/themes/custom/leshed/assets/scss/main.scss @@ -6,6 +6,7 @@ @use "partials/global/base"; @use "partials/global/layout"; @use "partials/global/header"; +@use "partials/global/search-form"; @use "partials/global/variable-titles"; // ── Pages (l'ordre ci-dessous EST la cascade) ────────────────────────────── @@ -15,3 +16,4 @@ @use "partials/pages/evenement"; @use "partials/pages/views-archives-projets"; @use "partials/pages/views-archives-evenements"; +@use "partials/pages/recherche"; diff --git a/web/themes/custom/leshed/assets/scss/partials/global/_header.scss b/web/themes/custom/leshed/assets/scss/partials/global/_header.scss index 5455b1c..0d7f0d3 100644 --- a/web/themes/custom/leshed/assets/scss/partials/global/_header.scss +++ b/web/themes/custom/leshed/assets/scss/partials/global/_header.scss @@ -135,12 +135,22 @@ header[role="banner"]{ grid-row: 1 / -1; } + // Recherche (templates/search-form.html.twig) : sous la langue. + >form.search-pill{ + --search-pill-width: 22rem; + margin-top: 1.5em; + font-size: 1.1em; + } + @media #{$mobile}{ grid-template-columns: minmax(0, 1fr); grid-template-rows: none; >div#block-leshed-config-pages{ grid-column: 1; grid-row: auto; + // Après la recherche, qui suit la langue (maquette p. 24). + order: 1; + margin-top: 1.5em; } } } diff --git a/web/themes/custom/leshed/assets/scss/partials/global/_search-form.scss b/web/themes/custom/leshed/assets/scss/partials/global/_search-form.scss new file mode 100644 index 0000000..06630d0 --- /dev/null +++ b/web/themes/custom/leshed/assets/scss/partials/global/_search-form.scss @@ -0,0 +1,65 @@ +// ____ _ +// / ___| ___ __ _ _ __ ___| |__ +// \___ \ / _ \/ _` | '__/ __| '_ \ +// ___) | __/ (_| | | | (__| | | | +// |____/ \___|\__,_|_| \___|_| |_| +// +// Champ de recherche « pilule » (templates/search-form.html.twig) : burger +// et page /recherche (maquette p. 3, 22, 24). Contour noir fin, loupe à +// droite ; la largeur est donnée par le contexte (--search-pill-width). + +form.search-pill{ + display: flex; + align-items: center; + box-sizing: border-box; + width: var(--search-pill-width, 16rem); + max-width: 100%; + height: 2.3em; + padding: 0 0.35em 0 1em; + border: 1px solid #000; + border-radius: 999px; + background-color: #fff; + + input[type="search"]{ + flex: 1 1 auto; + min-width: 0; + height: 100%; + padding: 0; + border: 0; + background: transparent; + font: inherit; + font-weight: 300; + color: #000; + outline: none; + -webkit-appearance: none; + appearance: none; + &::placeholder{ + color: #555; + opacity: 1; + } + // Croix native d'effacement : pas dans la maquette. + &::-webkit-search-cancel-button{ + -webkit-appearance: none; + } + } + + button{ + flex: 0 0 auto; + display: flex; + align-items: center; + justify-content: center; + width: 2em; + height: 2em; + padding: 0; + border: 0; + background: transparent; + color: #000; + cursor: pointer; + } + + // Focus : le contour s'épaissit (pas d'anneau extérieur, absent de la + // maquette, mais un repère visible au clavier). + &:focus-within{ + box-shadow: 0 0 0 1px #000; + } +} diff --git a/web/themes/custom/leshed/assets/scss/partials/pages/_recherche.scss b/web/themes/custom/leshed/assets/scss/partials/pages/_recherche.scss new file mode 100644 index 0000000..244a22a --- /dev/null +++ b/web/themes/custom/leshed/assets/scss/partials/pages/_recherche.scss @@ -0,0 +1,98 @@ +// ____ _ _ +// | _ \ ___ ___| |__ ___ _ __ ___| |__ ___ +// | |_) / _ \/ __| '_ \ / _ \ '__/ __| '_ \ / _ \ +// | _ < __/ (__| | | | __/ | | (__| | | | __/ +// |_| \_\___|\___|_| |_|\___|_| \___|_| |_|\___| +// +// Page /recherche (vue recherche, page_1 — maquette p. 22) : en-tête +// « Résultats pour la recherche "…" » + champ à droite, grille de teasers. + +@use "../abstracts/variables" as *; +@use "../abstracts/nodes-on-liste" as *; +@use "../abstracts/breakpoints" as *; + +@mixin carteRecherche{ + >header>h2{ + font-size: 3em; + } + .body, + .field_infos_pratiques, + .field_lieu{ + display: none; + } + .field_artiste_s_invite_s, + .field_type_de_projet, + .field_type_d_evenement{ + font-size: 0.9em; + font-weight: 300; + line-height: 1.3; + } + .field_artiste_s_invite_s{ + margin-top: 0.4em; + } +} + +div.views-recherche{ + >header.recherche-header{ + display: flex; + flex-wrap: wrap; + justify-content: space-between; + align-items: center; + gap: 1em $colsgap; + padding: 1em 0 2.5em; + + p.recherche-resume{ + margin: 0; + em{ + font-style: italic; + font-weight: 600; + } + } + form.search-pill{ + --search-pill-width: 15rem; + } + } + + // Même grille que les archives projets : 4 colonnes, 2 en mobile. + div.view-content{ + display: grid; + grid-template-columns: repeat(4, minmax(0, 1fr)); + column-gap: $colsgap; + row-gap: 0; + align-items: start; + >.views-row{ + margin-bottom: $colsgap; + display: flex; + flex-direction: column; + } + @media #{$mobile}{ + grid-template-columns: repeat(2, minmax(0, 1fr)); + } + } + + // Maquette p. 22 : titre, image, artistes et type en petit, sans résumé. + // Surcharges posées après les mixins, à la même spécificité. + article.node-type-projet.view-mode-teaser{ + @include projetOnListe(); + @include carteRecherche(); + } + article.node-type-evenement.view-mode-teaser{ + @include evenementOnListe(); + @include carteRecherche(); + } + + div.view-empty{ + padding-bottom: 4em; + } + + nav.pager{ + ul{ + display: flex; + justify-content: center; + gap: 1em; + padding: 0; + li{ list-style: none; } + li.is-active{ font-weight: 600; } + } + } +} diff --git a/web/themes/custom/leshed/leshed.theme b/web/themes/custom/leshed/leshed.theme index 89f65cf..7572a25 100644 --- a/web/themes/custom/leshed/leshed.theme +++ b/web/themes/custom/leshed/leshed.theme @@ -361,3 +361,20 @@ function leshed_preprocess_links__language_block(&$variables){ function leshed_preprocess_time(&$variables){ } + +/** + * Implements hook_preprocess_HOOK() for views-view--recherche--page-1. + * + * Expose les termes cherchés au template (en-tête « Résultats pour la + * recherche "…" » et champ pré-rempli). Texte brut : Twig l'échappe. + */ +function leshed_preprocess_views_view__recherche(&$variables) { + $input = $variables['view']->getExposedInput(); + $variables['search_keys'] = trim((string) ($input['search'] ?? '')); + // « ?search= » vide : le plugin input_required le compte comme saisi et + // Views renverrait tout l'index. Pas de terme, pas de résultat. + if ($variables['search_keys'] === '') { + $variables['rows'] = []; + $variables['pager'] = []; + } +} diff --git a/web/themes/custom/leshed/templates/region--header-right.html.twig b/web/themes/custom/leshed/templates/region--header-right.html.twig index 435d61a..3a04e2f 100644 --- a/web/themes/custom/leshed/templates/region--header-right.html.twig +++ b/web/themes/custom/leshed/templates/region--header-right.html.twig @@ -19,7 +19,9 @@
{{ content }} - + {# Recherche plein texte : envoie vers la vue « recherche » (/recherche, + /en/recherche), même paramètre que son formulaire exposé. #} + {% include '@leshed/search-form.html.twig' with { id: 'burger-search' } only %}
{% endif %} diff --git a/web/themes/custom/leshed/templates/search-form.html.twig b/web/themes/custom/leshed/templates/search-form.html.twig new file mode 100644 index 0000000..3d72090 --- /dev/null +++ b/web/themes/custom/leshed/templates/search-form.html.twig @@ -0,0 +1,16 @@ +{# +/** + * @file + * Champ de recherche « pilule » (maquette p. 3, 22, 24), réutilisé dans le + * burger. Envoie en GET vers la vue recherche, paramètre « search ». + * + * Variables : + * - id : id du champ (unique dans la page). + * - value : texte pré-rempli (facultatif). + */ +#} + diff --git a/web/themes/custom/leshed/templates/search-icon.html.twig b/web/themes/custom/leshed/templates/search-icon.html.twig new file mode 100644 index 0000000..c6bbb35 --- /dev/null +++ b/web/themes/custom/leshed/templates/search-icon.html.twig @@ -0,0 +1 @@ + diff --git a/web/themes/custom/leshed/templates/views/views-view--recherche--page-1.html.twig b/web/themes/custom/leshed/templates/views/views-view--recherche--page-1.html.twig new file mode 100644 index 0000000..cca3a5d --- /dev/null +++ b/web/themes/custom/leshed/templates/views/views-view--recherche--page-1.html.twig @@ -0,0 +1,42 @@ +{# +/** + * @file + * Page de résultats de la vue Recherche (maquette p. 22) : ligne d'en-tête + * « Résultats pour la recherche "…" » + champ pilule à droite, puis grille + * de teasers (projets et événements). + * + * Variable ajoutée par leshed_preprocess_views_view__recherche() : + * - search_keys : termes cherchés (texte brut, échappé par Twig). + * + * @see template_preprocess_views_view() + */ +#} +{% + set classes = [ + dom_id ? 'js-view-dom-id-' ~ dom_id, + ] +%} + + {{ title_prefix }} + {{ title_suffix }} + +
+ {% if search_keys %} +

{{ 'Résultats pour la recherche'|t }} "{{ search_keys }}"

+ {% else %} +

{{ 'Rechercher sur le site'|t }}

+ {% endif %} + {# Même champ que le burger plutôt que le formulaire exposé de Views : + même markup, même style ; « search » est l'identifiant du filtre. #} + {% include '@leshed/search-form.html.twig' with { id: 'recherche-search', value: search_keys } only %} +
+ + {% if rows -%} +
+ {{ rows }} +
+ {% elseif empty and search_keys -%} +
{{ empty }}
+ {% endif %} + {{ pager }} +