@20minutes/tyr 2.28.1 → 2.28.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (75) hide show
  1. package/dist/css/contactPage-desktop-critical.css +1 -1
  2. package/dist/css/contactPage-desktop-no-critical.css +1 -1
  3. package/dist/css/contactPage-mobile-critical.css +1 -1
  4. package/dist/css/contactPage-mobile-no-critical.css +1 -1
  5. package/dist/css/electionsPage-desktop-critical.css +1 -1
  6. package/dist/css/electionsPage-desktop-no-critical.css +1 -1
  7. package/dist/css/electionsPage-mobile-critical.css +1 -1
  8. package/dist/css/electionsPage-mobile-no-critical.css +1 -1
  9. package/dist/css/electionshomePage-desktop-critical.css +1 -1
  10. package/dist/css/electionshomePage-desktop-no-critical.css +1 -1
  11. package/dist/css/electionshomePage-mobile-critical.css +1 -1
  12. package/dist/css/electionshomePage-mobile-no-critical.css +1 -1
  13. package/dist/css/gamePage-desktop-critical.css +1 -1
  14. package/dist/css/gamePage-desktop-no-critical.css +1 -1
  15. package/dist/css/gamehomePage-desktop-critical.css +1 -1
  16. package/dist/css/gamehomePage-desktop-no-critical.css +1 -1
  17. package/dist/css/homePage-desktop-critical.css +1 -1
  18. package/dist/css/homePage-desktop-no-critical.css +1 -1
  19. package/dist/css/homePage-mobile-critical.css +1 -1
  20. package/dist/css/homePage-mobile-no-critical.css +1 -1
  21. package/dist/css/horoscopePage-desktop-critical.css +1 -1
  22. package/dist/css/horoscopePage-desktop-no-critical.css +1 -1
  23. package/dist/css/horoscopePage-mobile-critical.css +1 -1
  24. package/dist/css/horoscopePage-mobile-no-critical.css +1 -1
  25. package/dist/css/jobsPage-desktop-critical.css +1 -1
  26. package/dist/css/jobsPage-desktop-no-critical.css +1 -1
  27. package/dist/css/jobsPage-mobile-critical.css +1 -1
  28. package/dist/css/jobsPage-mobile-no-critical.css +1 -1
  29. package/dist/css/legalnoticedepartmentPage-mobile-critical.css +1 -1
  30. package/dist/css/legalnoticedepartmentPage-mobile-no-critical.css +1 -1
  31. package/dist/css/legalnoticehomePage-mobile-critical.css +1 -1
  32. package/dist/css/legalnoticehomePage-mobile-no-critical.css +1 -1
  33. package/dist/css/mostcommentedPage-desktop-critical.css +1 -1
  34. package/dist/css/mostcommentedPage-desktop-no-critical.css +1 -1
  35. package/dist/css/mostcommentedPage-mobile-critical.css +1 -1
  36. package/dist/css/mostcommentedPage-mobile-no-critical.css +1 -1
  37. package/dist/css/mostreadPage-desktop-critical.css +1 -1
  38. package/dist/css/mostreadPage-desktop-no-critical.css +1 -1
  39. package/dist/css/mostreadPage-mobile-critical.css +1 -1
  40. package/dist/css/mostreadPage-mobile-no-critical.css +1 -1
  41. package/dist/css/mostsharedPage-desktop-critical.css +1 -1
  42. package/dist/css/mostsharedPage-desktop-no-critical.css +1 -1
  43. package/dist/css/mostsharedPage-mobile-critical.css +1 -1
  44. package/dist/css/mostsharedPage-mobile-no-critical.css +1 -1
  45. package/dist/css/sitemapPage-desktop-critical.css +1 -1
  46. package/dist/css/sitemapPage-desktop-no-critical.css +1 -1
  47. package/dist/css/tagPage-desktop-critical.css +1 -1
  48. package/dist/css/tagPage-desktop-no-critical.css +1 -1
  49. package/dist/css/tagPage-mobile-critical.css +1 -1
  50. package/dist/css/tagPage-mobile-no-critical.css +1 -1
  51. package/dist/css/tvmostrecentPage-desktop-critical.css +1 -1
  52. package/dist/css/tvmostrecentPage-desktop-no-critical.css +1 -1
  53. package/dist/css/tvmostrecentPage-mobile-critical.css +1 -1
  54. package/dist/css/tvmostrecentPage-mobile-no-critical.css +1 -1
  55. package/dist/css/tvmostviewedPage-desktop-critical.css +1 -1
  56. package/dist/css/tvmostviewedPage-desktop-no-critical.css +1 -1
  57. package/dist/css/tvmostviewedPage-mobile-critical.css +1 -1
  58. package/dist/css/tvmostviewedPage-mobile-no-critical.css +1 -1
  59. package/dist/index.es.js +8070 -8084
  60. package/dist/index.umd.js +101 -101
  61. package/dist/js/ads.min.js +1 -1
  62. package/dist/js/cmp.min.js +1 -1
  63. package/dist/js/edgee.min.js +1 -1
  64. package/dist/js/main.min.js +8 -8
  65. package/dist/js/piano.min.js +1 -1
  66. package/dist/src/pages/JournalistPage/JournalistPage.stories.d.ts +0 -5
  67. package/dist/src/pages/LegalPage/LegalPage.stories.d.ts +0 -5
  68. package/dist/src/pages/LivePage/LivePage.stories.d.ts +0 -5
  69. package/dist/src/pages/MostCommentedPage/MostCommentedPage.stories.d.ts +0 -5
  70. package/dist/src/pages/MostSharedPage/MostSharedPage.stories.d.ts +0 -5
  71. package/dist/src/pages/NewsPage/NewsPage.stories.d.ts +0 -5
  72. package/dist/src/templates/PageTemplate/PageTemplate.stories.d.ts +0 -5
  73. package/dist/src/types/ThirdParties/Tracking/Edgee.d.ts +1 -1
  74. package/dist/src/types/graphql.d.ts +132 -7
  75. package/package.json +20 -19
@@ -1,2 +1,2 @@
1
- !function(){"use strict";var e=(e=>(e.ARCHIVE_BY_DAY="archivebyday",e.ARCHIVE_BY_YEAR="archivebyyear",e.ARTICLE="article",e.CONTACT="contact",e.DIRECT="direct",e.ELECTIONS="elections",e.ELECTIONSHOME="electionshome",e.GAME="game",e.GAME_APP="gameapp",e.GAMEHOME="gamehome",e.HOME="home",e.HOROSCOPE="horoscope",e.HOROSCOPE_HOME="horoscopehome",e.JOB_DETAILS="jobdetails",e.JOBS="jobs",e.JOURNALIST="journalist",e.LA21E="la21e",e.LEGAL="legal",e.LEGALNOTICE="legalnotice",e.LEGALNOTICEHOME="legalnoticehome",e.LEGALNOTICEDEPARTMENT="legalnoticedepartment",e.LIVE="live",e.MOBILE_APPS="mobileapps",e.MOST_COMMENTED="mostcommented",e.MOST_READ="mostread",e.MOST_SHARED="mostshared",e.MOST_VIEWED="mostviewed",e.MOVIES="movies",e.NEWS="news",e.PARTNER="partner",e.SEARCH="search",e.SECTION="section",e.SERVICE="service",e.SITEMAP="sitemap",e.SPORT="sport",e.STORY="story",e.TAG="tag",e.TRAFFIC="traffic",e.TV_HOME="tvhome",e.TV_LIVE="tvlive",e.TV_MOST_RECENT="tvmostrecent",e.TV_MOST_VIEWED="tvmostviewed",e.TV_SHOW="tvshow",e.TV_SHOWS="tvshows",e.TV_VIDEO="tvvideo",e.WEATHER="weather",e))(e||{});const n=(e,n)=>{let t=e.toLowerCase().replace(/[\s-]+/g,"-");return t=(e=>{let n=e;const t="ãàáäâẽèéëêìíïîõòóöôùúüûñç·/,:;";for(let e=0;e<30;e+=1)n=n.replace(new RegExp(t.charAt(e),"g"),"aaaaaeeeeeiiiiooooouuuunc-----".charAt(e));return n})(t),t.replace(/[^\w-]+/g,"").replace(/-*$/g,"")},t=()=>{const e=new URLSearchParams(window.location.search);return Object.fromEntries(e.entries())},a=()=>document.querySelectorAll(".c-content > p").length,o=()=>[...document.querySelectorAll(".c-content > p")].reduce((e,n)=>e+n.innerHTML.length,0),r=()=>{const e={},n=t();return("utm_source"in n||"utm_campaign"in n||"utm_medium"in n)&&("utm_source"in n||(e.utm_source=n.utm_medium??n.utm_campaign),"utm_campaign"in n||(e.utm_campaign=n.utm_source??n.utm_medium),"utm_medium"in n||(e.utm_medium=n.utm_source??n.utm_campaign)),e},c=()=>{const e=window.datalayerInfo,t={};e?.breadcrumb?.forEach((e,t)=>{let a=n(e);"diaporamas"===a&&(a="diaporama"),"actualite"===a&&(a="actu-generale"),window.PianoPageInfo[`chapter${t+1}`]=a});const a=Number(e?.contentId);Number.isFinite(a)&&(t["n:content_id"]=a),t.content_type=e?.pageName??"other",t["s:page_type"]="content",t["d:content_published_date"]=e?.modificationDate?new Date(e.modificationDate).toISOString():"",t["d:content_modified_date"]=e?.publicationDate?new Date(e.publicationDate).toISOString():"";const o=Number(e?.journalist?.id);return Number.isFinite(o)&&(t["n:content_id_journaliste"]=o),t["s:content_tags"]=e?.tagsSlug??"",t["s:content_signature"]=n(e?.signature??""),t["s:content_title"]=n(e?.contentTitle??""),t["n:content_title_characters_number"]=Number(e?.contentTitle?.length),t["s:content_subtype"]="texte",t["n:content_video_number"]=e?.videoCount??0,t["n:content_20min_video_number"]=e?.video20mnCount??0,t["n:content_embed_number"]=e?.embedCount??0,e?.podcastCount&&e?.podcastCount>0?t["s:content_subtype"]="podcast":t["n:content_video_number"]>0&&(t["s:content_subtype"]="video"),t},i=(e,n,t,a)=>(window.PianoPageInfo&&(n&&(window.PianoPageInfo.chapter1=n),t&&(window.PianoPageInfo.chapter2=t),a&&(window.PianoPageInfo.chapter3=a)),e?{"s:page_type":e}:{}),s=()=>{const e=window.datalayerInfo,n={};n["b:user_adblock"]=!window.adsapp,n.page_url=e?.pageUri??"",window.PianoPageInfo&&(window.PianoPageInfo.name=new URL(window.location.href).pathname,e?.pageUri&&(window.PianoPageInfo.name=new URL(e.pageUri).pathname)),e?.contentSource&&(n["s:content_source"]=e.contentSource),document.referrer&&(n["s:misc_referrer"]=document.referrer),n["s:page_type"]=e?.pageName||"other";const a=document.querySelector("link[rel='canonical']");if(a&&(n["s:page_canonical"]=a.getAttribute("href")??""),"/search"===e?.pageUri){const e=t();n["s:misc_search"]=e.q||""}return{...n,...r()}},u=()=>{switch(window.datalayerInfo?.pageName||"other"){case e.ARCHIVE_BY_DAY:case e.ARCHIVE_BY_YEAR:return i("divers");case e.ARTICLE:return(()=>{const e=c();return e["n:content_characters_number"]=Number(o()),e["n:content_paragraphs_number"]=a(),e})();case e.DIRECT:return i("divers","le-direct");case e.ELECTIONS:case e.ELECTIONSHOME:return(()=>{const{national:e,region:n,department:t,constituency:a,town:o}=window.datalayerInfo?.elections||{};return window.PianoPageInfo&&(window.PianoPageInfo.chapter1="elections",window.PianoPageInfo.chapter2="resultats",o&&t?(window.PianoPageInfo.chapter3=t,window.PianoPageInfo.chapter4=o):a&&t?(window.PianoPageInfo.chapter3=t,window.PianoPageInfo.chapter4=a):t&&n?(window.PianoPageInfo.chapter3=n,window.PianoPageInfo.chapter4=t):n?(window.PianoPageInfo.chapter3="france",window.PianoPageInfo.chapter4=n):e&&(window.PianoPageInfo.chapter3=e)),{"s:page_type":"elections"}})();case e.HOME:return window.PianoPageInfo&&(window.PianoPageInfo.chapter1="accueil",window.PianoPageInfo.chapter2=""),{"s:page_type":"home","s:content_source":"20mn",content_type:null};case e.GAME:return i(void 0,"services","jeux",window.datalayerInfo?.pageKey);case e.GAMEHOME:return i("home_game","services","jeux");case e.HOROSCOPE_HOME:return i("home_horoscope","services","horoscope");case e.HOROSCOPE:return i("horoscope","services","horoscope");case e.JOB_DETAILS:return(()=>{const{pageKey:e,tagsSlug:n="",contentTitle:t="",embedCount:r=0,videoCount:c=0,video20mnCount:i=0}=window.datalayerInfo||{};return{"s:content_source":"labsense","s:page_type":"content",content_type:"card","s:content_tags":n,"s:content_signature":"","s:content_title":t,"s:content_subtype":"job","n:content_id":Number(e),"n:content_id_journaliste":0,"n:content_title_characters_number":Number(t.length),"n:content_video_number":c,"n:content_20min_video_number":i,"n:content_embed_number":r,"n:content_characters_number":Number(o()),"n:content_paragraphs_number":a(),"d:content_published_date":"","d:content_modified_date":""}})();case e.JOBS:return i("home_tag",window.datalayerInfo?.pageKey,"");case e.JOURNALIST:return(()=>{const{firstName:e,lastName:n}=window.datalayerInfo?.journalist||{};return e&&n&&window.PianoPageInfo&&(window.PianoPageInfo.chapter1=`journaliste--${e}-${n}`),{"s:page_type":"journalist"}})();case e.LA21E:return i("divers","focus--accueil");case e.LEGALNOTICE:return(()=>{const{contentTitle:e}=window.datalayerInfo||{};return e&&window.PianoPageInfo&&(window.PianoPageInfo.chapter1=`legal-announcement--${e}`),{"s:page_type":"legal_notice"}})();case e.LEGALNOTICEDEPARTMENT:return(()=>{const{contentTitle:e}=window.datalayerInfo||{};return window.PianoPageInfo&&(window.PianoPageInfo.chapter1=`legal-announcement-list--${e}`),{"s:page_type":"legal_notice_department"}})();case e.LEGALNOTICEHOME:return i("legal_notice_home","legal-announcement-list");case e.LEGAL:return(()=>{const{pageKey:e}=window.datalayerInfo||{};if(window.PianoPageInfo)switch(e){case"cookies":window.PianoPageInfo.chapter1="gestion-cookies";break;case"privacy":window.PianoPageInfo.chapter1="politique-protection-donnees-personnelles";break;default:window.PianoPageInfo.chapter1=e}return{"s:page_type":"divers"}})();case e.LIVE:return(()=>{const e=c();return e["n:content_paragraphs_number"]=window.datalayerInfo?.livePosts??0,e})();case e.MOBILE_APPS:return i("divers","mobile");case e.MOST_COMMENTED:return i("most_commented");case e.MOST_READ:return i("most_read");case e.MOST_SHARED:return i("most_shared");case e.MOST_VIEWED:return i("home_tag");case e.MOVIES:return i("divers","entertainment","cinema");case e.NEWS:return i("divers","a-la-une");case e.TAG:return i("home_tag",window.datalayerInfo?.pageKey,"");case e.SITEMAP:return i("divers","plan-site");case e.SPORT:return(()=>{const{breadcrumb:e=[]}=window.datalayerInfo||{};return window.PianoPageInfo&&(window.PianoPageInfo.chapter1=e.shift(),window.PianoPageInfo.chapter2=e.shift(),window.PianoPageInfo.chapter3=e.shift(),window.PianoPageInfo.chapter4=e.shift()),{"s:page_type":"divers"}})();case e.STORY:return(()=>{const e=c();return e["s:content_subtype"]=window.datalayerInfo?.subType??"",e})();case e.SERVICE:return i("divers","pratique");case e.TRAFFIC:return i("infos_trafic");case e.TV_HOME:return i("home_tv","tv");case e.TV_LIVE:return i("home_tv_live","tv");case e.TV_MOST_RECENT:return i("tv_divers","tv","videos-recentes");case e.TV_MOST_VIEWED:return i("tv_divers","tv","videos-plus-vues");case e.TV_SHOW:return i("home_tv_show","tv",window.datalayerInfo?.pageKey);case e.TV_SHOWS:return i("tv_divers","tv","emissions");case e.TV_VIDEO:return(()=>{window.PianoPageInfo&&(window.PianoPageInfo.chapter1="tv");const e=c();return e.content_type="page",e["s:content_subtype"]="video",e})();case e.WEATHER:return i("previsions-meteo-france");default:return{}}},d=()=>{const e={};if(e["b:user_darkmode"]="dark"===document.documentElement.getAttribute("data-theme"),e["b:user_status"]=!!document.cookie.match("(^|;)\\s*20mnUserInfo\\s*=\\s*([^;]+)"),!e["b:user_status"])return e;const n=(e=>{const n=document.cookie.split(";").filter(n=>-1!==n.indexOf(e))[0];return n?n.split("=")[1]:"{}"})("20mnUserDataLayer"),t=n?(()=>{try{return JSON.parse(decodeURIComponent(n))}catch{return null}})():null;return t&&(e["s:user_id"]=String(t.i),Number.isNaN(t.d)||(e["n:user_a"]=Number(t.d)),Number.isNaN(t.l)||(e["n:user_zip"]=Number(t.l)),Number.isNaN(t.g)||(e["n:user_g"]=Number(t.g))),e},_=e=>{const t={click:n(e.name),click_chapter1:e?.chapter1||null,click_chapter2:e?.chapter2||null,click_chapter3:e?.chapter3||null},a=`click.${e.type}`;if(window.pa?(e.customProps&&Object.keys(e.customProps).length>0&&window.pa.setProperties(e.customProps,{persistent:!1,events:[a]}),window.pa.sendEvent(a,t)):window._paq&&(e.customProps&&Object.keys(e.customProps).length>0&&window._paq.push(["setProperties",e.customProps,{persistent:!1,events:[a]}]),window._paq.push(["sendEvent",a,t])),!window.edgee?.track)return;const o=document.getElementById("__EDGEE_DATA_LAYER__");let r={};if(o)try{const e=JSON.parse(o.textContent||"");e.data_collection.context=e.data_collection.context||{},r=e.data_collection.context.page?.properties||{}}catch{r={}}window.edgee.track({name:a,properties:{...r,click:t.click,click_chapter1:t.click_chapter1,click_chapter2:t.click_chapter2,click_chapter3:t.click_chapter3,click_type:e?.type??"navigation",...e.customProps}},{"edgee/piano-analytics":!0})},p=e=>{window._paq&&window._paq.push(["sendEvent","page.display",{page:e?.name??window.PianoPageInfo?.name,page_chapter1:e?.chapter1??window.PianoPageInfo?.chapter1,page_chapter2:e?.chapter2??window.PianoPageInfo?.chapter2,page_chapter3:e?.chapter3??window.PianoPageInfo?.chapter3,page_chapter4:e?.chapter4??window.PianoPageInfo?.chapter4}]),window.edgee?.page&&!1!==e?.enableEdgee&&window.edgee.page()};window.sendPageTracking=p,window.sendClickTracking=_,window._paq=window._paq||[],window._paq.push(["privacy.include.properties",["content_type","s:page_type","d:content_published_date","d:content_modified_date","n:content_id","n:content_id_journaliste","s:content_tags","s:content_signature","s:content_title","n:content_title_characters_number","s:content_subtype","n:content_video_number","n:content_20min_video_number","n:content_embed_number","s:content_subtype","s:content_subtype","n:content_characters_number","n:content_paragraphs_number","s:content_source","s:misc_referrer","s:page_canonical","s:misc_search","s:site_level2","b:user_darkmode","b:user_status"]]),window.PianoPageInfo={name:"",chapter1:"",chapter2:""},window._paq.push(["setProperties",{...s(),...u(),...d(),"s:site_level2":window.location.hostname},{persistent:!0}]),p({enableEdgee:!1})}();
1
+ !function(){"use strict";var e=(e=>(e.ARCHIVE_BY_DAY="archivebyday",e.ARCHIVE_BY_YEAR="archivebyyear",e.ARTICLE="article",e.CONTACT="contact",e.DIRECT="direct",e.ELECTIONS="elections",e.ELECTIONSHOME="electionshome",e.GAME="game",e.GAME_APP="gameapp",e.GAMEHOME="gamehome",e.HOME="home",e.HOROSCOPE="horoscope",e.HOROSCOPE_HOME="horoscopehome",e.JOB_DETAILS="jobdetails",e.JOBS="jobs",e.JOURNALIST="journalist",e.LA21E="la21e",e.LEGAL="legal",e.LEGALNOTICE="legalnotice",e.LEGALNOTICEHOME="legalnoticehome",e.LEGALNOTICEDEPARTMENT="legalnoticedepartment",e.LIVE="live",e.MOBILE_APPS="mobileapps",e.MOST_COMMENTED="mostcommented",e.MOST_READ="mostread",e.MOST_SHARED="mostshared",e.MOST_VIEWED="mostviewed",e.MOVIES="movies",e.NEWS="news",e.PARTNER="partner",e.SEARCH="search",e.SECTION="section",e.SERVICE="service",e.SITEMAP="sitemap",e.SPORT="sport",e.STORY="story",e.TAG="tag",e.TRAFFIC="traffic",e.TV_HOME="tvhome",e.TV_LIVE="tvlive",e.TV_MOST_RECENT="tvmostrecent",e.TV_MOST_VIEWED="tvmostviewed",e.TV_SHOW="tvshow",e.TV_SHOWS="tvshows",e.TV_VIDEO="tvvideo",e.WEATHER="weather",e))(e||{});const n=(e,n)=>{let t=e.toLowerCase().replace(/[\s-]+/g,"-");return t=(e=>{let n=e;const t="ãàáäâẽèéëêìíïîõòóöôùúüûñç·/,:;";for(let e=0;e<30;e+=1)n=n.replace(new RegExp(t.charAt(e),"g"),"aaaaaeeeeeiiiiooooouuuunc-----".charAt(e));return n})(t),t.replace(/[^\w-]+/g,"").replace(/-*$/g,"")},t=()=>{const e=new URLSearchParams(window.location.search);return Object.fromEntries(e.entries())},a=()=>document.querySelectorAll(".c-content > p").length,o=()=>[...document.querySelectorAll(".c-content > p")].reduce((e,n)=>e+n.innerHTML.length,0),r=()=>{const e={},n=t();return("utm_source"in n||"utm_campaign"in n||"utm_medium"in n)&&("utm_source"in n||(e.utm_source=n.utm_medium??n.utm_campaign),"utm_campaign"in n||(e.utm_campaign=n.utm_source??n.utm_medium),"utm_medium"in n||(e.utm_medium=n.utm_source??n.utm_campaign)),e},c=()=>{const e=window.datalayerInfo,t={};e?.breadcrumb?.forEach((e,t)=>{let a=n(e);"diaporamas"===a&&(a="diaporama"),"actualite"===a&&(a="actu-generale"),window.PianoPageInfo[`chapter${t+1}`]=a});const a=Number(e?.contentId);Number.isFinite(a)&&(t["n:content_id"]=a),t.content_type=e?.pageName??"other",t["s:page_type"]="content",t["d:content_published_date"]=e?.modificationDate?new Date(e.modificationDate).toISOString():"",t["d:content_modified_date"]=e?.publicationDate?new Date(e.publicationDate).toISOString():"";const o=Number(e?.journalist?.id);return Number.isFinite(o)&&(t["n:content_id_journaliste"]=o),t["s:content_tags"]=e?.tagsSlug??"",t["s:content_signature"]=n(e?.signature??""),t["s:content_title"]=n(e?.contentTitle??""),t["n:content_title_characters_number"]=Number(e?.contentTitle?.length),t["s:content_subtype"]="texte",t["n:content_video_number"]=e?.videoCount??0,t["n:content_20min_video_number"]=e?.video20mnCount??0,t["n:content_embed_number"]=e?.embedCount??0,e?.podcastCount&&e?.podcastCount>0?t["s:content_subtype"]="podcast":t["n:content_video_number"]>0&&(t["s:content_subtype"]="video"),t},i=(e,n,t,a)=>(window.PianoPageInfo&&(n&&(window.PianoPageInfo.chapter1=n),t&&(window.PianoPageInfo.chapter2=t),a&&(window.PianoPageInfo.chapter3=a)),e?{"s:page_type":e}:{}),s=()=>{const e=window.datalayerInfo,n={};n["b:user_adblock"]=!window.adsapp,n.page_url=e?.pageUri??"",window.PianoPageInfo&&(window.PianoPageInfo.name=new URL(window.location.href).pathname,e?.pageUri&&(window.PianoPageInfo.name=new URL(e.pageUri).pathname)),e?.contentSource&&(n["s:content_source"]=e.contentSource),document.referrer&&(n["s:misc_referrer"]=document.referrer),n["s:page_type"]=e?.pageName||"other";const a=document.querySelector("link[rel='canonical']");if(a&&(n["s:page_canonical"]=a.getAttribute("href")??""),"/search"===e?.pageUri){const e=t();n["s:misc_search"]=e.q||""}return window.performance&&(n.navigation_method=window.performance.getEntriesByType?.("navigation")?.map(e=>e.type)?.pop()||null),{...n,...r()}},d=()=>{switch(window.datalayerInfo?.pageName||"other"){case e.ARCHIVE_BY_DAY:case e.ARCHIVE_BY_YEAR:return i("divers");case e.ARTICLE:return(()=>{const e=c();return e["n:content_characters_number"]=Number(o()),e["n:content_paragraphs_number"]=a(),e})();case e.DIRECT:return i("divers","le-direct");case e.ELECTIONS:case e.ELECTIONSHOME:return(()=>{const{national:e,region:n,department:t,constituency:a,town:o}=window.datalayerInfo?.elections||{};return window.PianoPageInfo&&(window.PianoPageInfo.chapter1="elections",window.PianoPageInfo.chapter2="resultats",o&&t?(window.PianoPageInfo.chapter3=t,window.PianoPageInfo.chapter4=o):a&&t?(window.PianoPageInfo.chapter3=t,window.PianoPageInfo.chapter4=a):t&&n?(window.PianoPageInfo.chapter3=n,window.PianoPageInfo.chapter4=t):n?(window.PianoPageInfo.chapter3="france",window.PianoPageInfo.chapter4=n):e&&(window.PianoPageInfo.chapter3=e)),{"s:page_type":"elections"}})();case e.HOME:return window.PianoPageInfo&&(window.PianoPageInfo.chapter1="accueil",window.PianoPageInfo.chapter2=""),{"s:page_type":"home","s:content_source":"20mn",content_type:null};case e.GAME:return i(void 0,"services","jeux",window.datalayerInfo?.pageKey);case e.GAMEHOME:return i("home_game","services","jeux");case e.HOROSCOPE_HOME:return i("home_horoscope","services","horoscope");case e.HOROSCOPE:return i("horoscope","services","horoscope");case e.JOB_DETAILS:return(()=>{const{pageKey:e,tagsSlug:n="",contentTitle:t="",embedCount:r=0,videoCount:c=0,video20mnCount:i=0}=window.datalayerInfo||{};return{"s:content_source":"labsense","s:page_type":"content",content_type:"card","s:content_tags":n,"s:content_signature":"","s:content_title":t,"s:content_subtype":"job","n:content_id":Number(e),"n:content_id_journaliste":0,"n:content_title_characters_number":Number(t.length),"n:content_video_number":c,"n:content_20min_video_number":i,"n:content_embed_number":r,"n:content_characters_number":Number(o()),"n:content_paragraphs_number":a(),"d:content_published_date":"","d:content_modified_date":""}})();case e.JOBS:return i("home_tag",window.datalayerInfo?.pageKey,"");case e.JOURNALIST:return(()=>{const{firstName:e,lastName:n}=window.datalayerInfo?.journalist||{};return e&&n&&window.PianoPageInfo&&(window.PianoPageInfo.chapter1=`journaliste--${e}-${n}`),{"s:page_type":"journalist"}})();case e.LA21E:return i("divers","focus--accueil");case e.LEGALNOTICE:return(()=>{const{contentTitle:e}=window.datalayerInfo||{};return e&&window.PianoPageInfo&&(window.PianoPageInfo.chapter1=`legal-announcement--${e}`),{"s:page_type":"legal_notice"}})();case e.LEGALNOTICEDEPARTMENT:return(()=>{const{contentTitle:e}=window.datalayerInfo||{};return window.PianoPageInfo&&(window.PianoPageInfo.chapter1=`legal-announcement-list--${e}`),{"s:page_type":"legal_notice_department"}})();case e.LEGALNOTICEHOME:return i("legal_notice_home","legal-announcement-list");case e.LEGAL:return(()=>{const{pageKey:e}=window.datalayerInfo||{};if(window.PianoPageInfo)switch(e){case"cookies":window.PianoPageInfo.chapter1="gestion-cookies";break;case"privacy":window.PianoPageInfo.chapter1="politique-protection-donnees-personnelles";break;default:window.PianoPageInfo.chapter1=e}return{"s:page_type":"divers"}})();case e.LIVE:return(()=>{const e=c();return e["n:content_paragraphs_number"]=window.datalayerInfo?.livePosts??0,e})();case e.MOBILE_APPS:return i("divers","mobile");case e.MOST_COMMENTED:return i("most_commented");case e.MOST_READ:return i("most_read");case e.MOST_SHARED:return i("most_shared");case e.MOST_VIEWED:return i("home_tag");case e.MOVIES:return i("divers","entertainment","cinema");case e.NEWS:return i("divers","a-la-une");case e.TAG:return i("home_tag",window.datalayerInfo?.pageKey,"");case e.SITEMAP:return i("divers","plan-site");case e.SPORT:return(()=>{const{breadcrumb:e=[]}=window.datalayerInfo||{};return window.PianoPageInfo&&(window.PianoPageInfo.chapter1=e.shift(),window.PianoPageInfo.chapter2=e.shift(),window.PianoPageInfo.chapter3=e.shift(),window.PianoPageInfo.chapter4=e.shift()),{"s:page_type":"divers"}})();case e.STORY:return(()=>{const e=c();return e["s:content_subtype"]=window.datalayerInfo?.subType??"",e})();case e.SERVICE:return i("divers","pratique");case e.TRAFFIC:return i("infos_trafic");case e.TV_HOME:return i("home_tv","tv");case e.TV_LIVE:return i("home_tv_live","tv");case e.TV_MOST_RECENT:return i("tv_divers","tv","videos-recentes");case e.TV_MOST_VIEWED:return i("tv_divers","tv","videos-plus-vues");case e.TV_SHOW:return i("home_tv_show","tv",window.datalayerInfo?.pageKey);case e.TV_SHOWS:return i("tv_divers","tv","emissions");case e.TV_VIDEO:return(()=>{window.PianoPageInfo&&(window.PianoPageInfo.chapter1="tv");const e=c();return e.content_type="page",e["s:content_subtype"]="video",e})();case e.WEATHER:return i("previsions-meteo-france");default:return{}}},u=()=>{const e={};if(e["b:user_darkmode"]="dark"===document.documentElement.getAttribute("data-theme"),e["b:user_status"]=!!document.cookie.match("(^|;)\\s*20mnUserInfo\\s*=\\s*([^;]+)"),!e["b:user_status"])return e;const n=(e=>{const n=document.cookie.split(";").filter(n=>-1!==n.indexOf(e))[0];return n?n.split("=")[1]:"{}"})("20mnUserDataLayer"),t=n?(()=>{try{return JSON.parse(decodeURIComponent(n))}catch{return null}})():null;return t&&(e["s:user_id"]=String(t.i),Number.isNaN(t.d)||(e["n:user_a"]=Number(t.d)),Number.isNaN(t.l)||(e["n:user_zip"]=Number(t.l)),Number.isNaN(t.g)||(e["n:user_g"]=Number(t.g))),e},_=e=>{const t={click:n(e.name),click_chapter1:e?.chapter1||null,click_chapter2:e?.chapter2||null,click_chapter3:e?.chapter3||null},a=`click.${e.type}`;if(window.pa?(e.customProps&&Object.keys(e.customProps).length>0&&window.pa.setProperties(e.customProps,{persistent:!1,events:[a]}),window.pa.sendEvent(a,t)):window._paq&&(e.customProps&&Object.keys(e.customProps).length>0&&window._paq.push(["setProperties",e.customProps,{persistent:!1,events:[a]}]),window._paq.push(["sendEvent",a,t])),!window.edgee?.track)return;const o=document.getElementById("__EDGEE_DATA_LAYER__");let r={};if(o)try{const e=JSON.parse(o.textContent||"");e.data_collection.context=e.data_collection.context||{},r=e.data_collection.context.page?.properties||{}}catch{r={}}window.edgee.track({name:a,properties:{...r,click:t.click,click_chapter1:t.click_chapter1,click_chapter2:t.click_chapter2,click_chapter3:t.click_chapter3,click_type:e?.type??"navigation",...e.customProps}},{"edgee/piano-analytics":!0})},p=e=>{window._paq&&window._paq.push(["sendEvent","page.display",{page:e?.name??window.PianoPageInfo?.name,page_chapter1:e?.chapter1??window.PianoPageInfo?.chapter1,page_chapter2:e?.chapter2??window.PianoPageInfo?.chapter2,page_chapter3:e?.chapter3??window.PianoPageInfo?.chapter3,page_chapter4:e?.chapter4??window.PianoPageInfo?.chapter4}]),window.edgee?.page&&!1!==e?.enableEdgee&&window.edgee.page()};window.sendPageTracking=p,window.sendClickTracking=_,window._paq=window._paq||[],window._paq.push(["privacy.include.properties",["content_type","s:page_type","d:content_published_date","d:content_modified_date","n:content_id","n:content_id_journaliste","s:content_tags","s:content_signature","s:content_title","n:content_title_characters_number","s:content_subtype","n:content_video_number","n:content_20min_video_number","n:content_embed_number","s:content_subtype","s:content_subtype","n:content_characters_number","n:content_paragraphs_number","s:content_source","s:misc_referrer","s:page_canonical","s:misc_search","s:site_level2","b:user_darkmode","b:user_status","navigation_method"]]),window.PianoPageInfo={name:"",chapter1:"",chapter2:""},window._paq.push(["setProperties",{...s(),...d(),...u(),"s:site_level2":window.location.hostname},{persistent:!0}]),p({enableEdgee:!1})}();
2
2
  //# sourceMappingURL=piano.min.js.map
@@ -53,11 +53,6 @@ declare const meta: {
53
53
  parameters: {
54
54
  layout: string;
55
55
  };
56
- globals: {
57
- viewport: {
58
- value: string;
59
- };
60
- };
61
56
  };
62
57
  export default meta;
63
58
  type Story = StoryObj<typeof meta>;
@@ -48,11 +48,6 @@ declare const meta: {
48
48
  parameters: {
49
49
  layout: string;
50
50
  };
51
- globals: {
52
- viewport: {
53
- value: string;
54
- };
55
- };
56
51
  };
57
52
  export default meta;
58
53
  type Story = StoryObj<typeof meta>;
@@ -4,11 +4,6 @@ import { StoryFn, StoryObj } from '@storybook/react-vite';
4
4
  declare const meta: {
5
5
  title: string;
6
6
  component: React.FC<LivePageProps>;
7
- globals: {
8
- viewport: {
9
- value: string;
10
- };
11
- };
12
7
  parameters: {
13
8
  layout: string;
14
9
  };
@@ -7,11 +7,6 @@ declare const meta: {
7
7
  parameters: {
8
8
  layout: string;
9
9
  };
10
- globals: {
11
- viewport: {
12
- value: string;
13
- };
14
- };
15
10
  };
16
11
  export default meta;
17
12
  type Story = StoryObj<typeof meta>;
@@ -7,11 +7,6 @@ declare const meta: {
7
7
  parameters: {
8
8
  layout: string;
9
9
  };
10
- globals: {
11
- viewport: {
12
- value: string;
13
- };
14
- };
15
10
  };
16
11
  export default meta;
17
12
  type Story = StoryObj<typeof meta>;
@@ -8,11 +8,6 @@ declare const meta: {
8
8
  parameters: {
9
9
  layout: string;
10
10
  };
11
- globals: {
12
- viewport: {
13
- value: string;
14
- };
15
- };
16
11
  };
17
12
  export default meta;
18
13
  type Story = StoryObj<typeof meta>;
@@ -67,9 +67,4 @@ export declare const PageTemplateDesktop: {
67
67
  menu: React.FunctionComponentElement<MenuProps>;
68
68
  footer: React.FunctionComponentElement<FooterProps>;
69
69
  };
70
- globals: {
71
- viewport: {
72
- value: string;
73
- };
74
- };
75
70
  };
@@ -1,6 +1,6 @@
1
1
  interface EdgeePageData {
2
2
  title?: string;
3
- properties?: Record<string, string | number | boolean | Date>;
3
+ properties?: Record<string, string | number | boolean | Date | null>;
4
4
  }
5
5
  interface EdgeeTrackData {
6
6
  name: string;
@@ -40,10 +40,6 @@ export type Scalars = {
40
40
  input: number;
41
41
  output: number;
42
42
  };
43
- BigInt: {
44
- input: number;
45
- output: number;
46
- };
47
43
  Date: {
48
44
  input: string;
49
45
  output: string;
@@ -1235,6 +1231,7 @@ export type TBrand = {
1235
1231
  contentSources?: Maybe<TContentSourceListConnection>;
1236
1232
  contribution?: Maybe<TContributionSingleConnection>;
1237
1233
  contributions?: Maybe<TContributionListConnection>;
1234
+ deletedItems?: Maybe<TDeletedItemListConnection>;
1238
1235
  edition?: Maybe<TEditionSingleConnection>;
1239
1236
  editions?: Maybe<TEditionListConnection>;
1240
1237
  externalContent?: Maybe<TExternalContentSingleConnection>;
@@ -1387,6 +1384,15 @@ export type TBrandContributionsArgs = {
1387
1384
  orderBy?: InputMaybe<TContributionOrder>;
1388
1385
  pagination?: InputMaybe<TPagination>;
1389
1386
  };
1387
+ export type TBrandDeletedItemsArgs = {
1388
+ after?: InputMaybe<Scalars['String']['input']>;
1389
+ filter?: InputMaybe<TDeletedItemFilter>;
1390
+ first?: InputMaybe<Scalars['FirstElement']['input']>;
1391
+ include_model?: InputMaybe<Array<InputMaybe<ModelType>>>;
1392
+ options?: InputMaybe<TDeletedItemListConnectionOptions>;
1393
+ orderBy?: InputMaybe<TDeletedItemOrder>;
1394
+ pagination?: InputMaybe<TPagination>;
1395
+ };
1390
1396
  export type TBrandEditionArgs = {
1391
1397
  code?: InputMaybe<Scalars['String']['input']>;
1392
1398
  edition_id?: InputMaybe<Scalars['ID']['input']>;
@@ -3573,6 +3579,7 @@ export type TCreateTagInputType = {
3573
3579
  databaseId?: InputMaybe<Scalars['UUID']['input']>;
3574
3580
  display?: InputMaybe<Display>;
3575
3581
  editorial_text_md?: InputMaybe<Scalars['JSONObject']['input']>;
3582
+ enable_selectable_content_type?: InputMaybe<Scalars['Boolean']['input']>;
3576
3583
  highlighted_tag_id?: InputMaybe<Scalars['ID']['input']>;
3577
3584
  label: Scalars['String']['input'];
3578
3585
  legacy?: InputMaybe<TLegacyInput>;
@@ -3583,6 +3590,7 @@ export type TCreateTagInputType = {
3583
3590
  rss_feed?: InputMaybe<Scalars['Boolean']['input']>;
3584
3591
  rss_slug?: InputMaybe<Scalars['String']['input']>;
3585
3592
  selectable?: InputMaybe<Scalars['Boolean']['input']>;
3593
+ selectable_content_type?: InputMaybe<Array<InputMaybe<EditorialContentModelType>>>;
3586
3594
  slug?: InputMaybe<Scalars['String']['input']>;
3587
3595
  status?: InputMaybe<TagStatusType>;
3588
3596
  tag_category_id?: InputMaybe<Scalars['ID']['input']>;
@@ -3693,7 +3701,6 @@ export type TCreateUserFrontType = {
3693
3701
  subscription_start_at?: InputMaybe<Scalars['DateTime']['input']>;
3694
3702
  user_back_id?: InputMaybe<Scalars['ID']['input']>;
3695
3703
  username?: InputMaybe<Scalars['LimitedString']['input']>;
3696
- viafoura_id?: InputMaybe<Scalars['BigInt']['input']>;
3697
3704
  zipcode?: InputMaybe<Scalars['String']['input']>;
3698
3705
  };
3699
3706
  export type TCreateVersionType = {
@@ -3746,6 +3753,100 @@ export type TDeleteVideoType = {
3746
3753
  clientMutationId?: InputMaybe<Scalars['String']['input']>;
3747
3754
  id: Scalars['ID']['input'];
3748
3755
  };
3756
+ export type TDeletedItem = TNode & TTimestampable & {
3757
+ __typename?: 'DeletedItem';
3758
+ created_at?: Maybe<Scalars['DateTime']['output']>;
3759
+ deleted_at?: Maybe<Scalars['DateTime']['output']>;
3760
+ edited_at?: Maybe<Scalars['DateTime']['output']>;
3761
+ id: Scalars['ID']['output'];
3762
+ legacy_id?: Maybe<Scalars['Int']['output']>;
3763
+ related_model?: Maybe<UndeletableModelType>;
3764
+ title?: Maybe<Scalars['String']['output']>;
3765
+ };
3766
+ export type TDeletedItemCreatedAtFilter = {
3767
+ eq?: InputMaybe<Scalars['DateTime']['input']>;
3768
+ gt?: InputMaybe<Scalars['DateTime']['input']>;
3769
+ gte?: InputMaybe<Scalars['DateTime']['input']>;
3770
+ ilike?: InputMaybe<Scalars['DateTime']['input']>;
3771
+ in?: InputMaybe<Array<InputMaybe<Scalars['DateTime']['input']>>>;
3772
+ like?: InputMaybe<Scalars['DateTime']['input']>;
3773
+ lt?: InputMaybe<Scalars['DateTime']['input']>;
3774
+ lte?: InputMaybe<Scalars['DateTime']['input']>;
3775
+ ne?: InputMaybe<Scalars['DateTime']['input']>;
3776
+ nilike?: InputMaybe<Scalars['DateTime']['input']>;
3777
+ nin?: InputMaybe<Array<InputMaybe<Scalars['DateTime']['input']>>>;
3778
+ nlike?: InputMaybe<Scalars['DateTime']['input']>;
3779
+ nre?: InputMaybe<Scalars['DateTime']['input']>;
3780
+ re?: InputMaybe<Scalars['DateTime']['input']>;
3781
+ };
3782
+ export type TDeletedItemEdge = {
3783
+ __typename?: 'DeletedItemEdge';
3784
+ cursor: Scalars['String']['output'];
3785
+ node?: Maybe<TDeletedItem>;
3786
+ };
3787
+ export type TDeletedItemEditedAtFilter = {
3788
+ eq?: InputMaybe<Scalars['DateTime']['input']>;
3789
+ gt?: InputMaybe<Scalars['DateTime']['input']>;
3790
+ gte?: InputMaybe<Scalars['DateTime']['input']>;
3791
+ ilike?: InputMaybe<Scalars['DateTime']['input']>;
3792
+ in?: InputMaybe<Array<InputMaybe<Scalars['DateTime']['input']>>>;
3793
+ like?: InputMaybe<Scalars['DateTime']['input']>;
3794
+ lt?: InputMaybe<Scalars['DateTime']['input']>;
3795
+ lte?: InputMaybe<Scalars['DateTime']['input']>;
3796
+ ne?: InputMaybe<Scalars['DateTime']['input']>;
3797
+ nilike?: InputMaybe<Scalars['DateTime']['input']>;
3798
+ nin?: InputMaybe<Array<InputMaybe<Scalars['DateTime']['input']>>>;
3799
+ nlike?: InputMaybe<Scalars['DateTime']['input']>;
3800
+ nre?: InputMaybe<Scalars['DateTime']['input']>;
3801
+ re?: InputMaybe<Scalars['DateTime']['input']>;
3802
+ };
3803
+ export type TDeletedItemFilter = {
3804
+ created_at?: InputMaybe<TDeletedItemCreatedAtFilter>;
3805
+ edited_at?: InputMaybe<TDeletedItemEditedAtFilter>;
3806
+ legacy_id?: InputMaybe<TDeletedItemLegacyIdFilter>;
3807
+ };
3808
+ export type TDeletedItemLegacyIdFilter = {
3809
+ eq?: InputMaybe<Scalars['Int']['input']>;
3810
+ gt?: InputMaybe<Scalars['Int']['input']>;
3811
+ gte?: InputMaybe<Scalars['Int']['input']>;
3812
+ ilike?: InputMaybe<Scalars['Int']['input']>;
3813
+ in?: InputMaybe<Array<InputMaybe<Scalars['Int']['input']>>>;
3814
+ like?: InputMaybe<Scalars['Int']['input']>;
3815
+ lt?: InputMaybe<Scalars['Int']['input']>;
3816
+ lte?: InputMaybe<Scalars['Int']['input']>;
3817
+ ne?: InputMaybe<Scalars['Int']['input']>;
3818
+ nilike?: InputMaybe<Scalars['Int']['input']>;
3819
+ nin?: InputMaybe<Array<InputMaybe<Scalars['Int']['input']>>>;
3820
+ nlike?: InputMaybe<Scalars['Int']['input']>;
3821
+ nre?: InputMaybe<Scalars['Int']['input']>;
3822
+ re?: InputMaybe<Scalars['Int']['input']>;
3823
+ };
3824
+ export type TDeletedItemListConnection = {
3825
+ __typename?: 'DeletedItemListConnection';
3826
+ edges?: Maybe<Array<Maybe<TDeletedItemEdge>>>;
3827
+ pageInfo: TPageInfo;
3828
+ resolveInfo?: Maybe<TResolveInfo>;
3829
+ totalCount?: Maybe<Scalars['Int']['output']>;
3830
+ };
3831
+ export declare enum DeletedItemListConnectionMode {
3832
+ TRUTH = "TRUTH"
3833
+ }
3834
+ export type TDeletedItemListConnectionOptions = {
3835
+ mode?: InputMaybe<DeletedItemListConnectionMode>;
3836
+ total?: InputMaybe<DeletedItemListConnectionTotal>;
3837
+ };
3838
+ export declare enum DeletedItemListConnectionTotal {
3839
+ TRUTH = "TRUTH"
3840
+ }
3841
+ export type TDeletedItemOrder = {
3842
+ direction?: InputMaybe<OrderDirection>;
3843
+ field?: InputMaybe<DeletedItemOrderField>;
3844
+ };
3845
+ export declare enum DeletedItemOrderField {
3846
+ CREATED_AT = "CREATED_AT",
3847
+ DELETED_AT = "DELETED_AT",
3848
+ EDITED_AT = "EDITED_AT"
3849
+ }
3749
3850
  export declare enum Display {
3750
3851
  FORCED = "FORCED",
3751
3852
  HIDDEN = "HIDDEN",
@@ -6885,6 +6986,17 @@ export type TMetaInput = {
6885
6986
  news_keywords?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
6886
6987
  title?: InputMaybe<Scalars['String']['input']>;
6887
6988
  };
6989
+ export declare enum ModelType {
6990
+ Article = "Article",
6991
+ BlockLink = "BlockLink",
6992
+ ContentLabel = "ContentLabel",
6993
+ Link = "Link",
6994
+ Live = "Live",
6995
+ Page = "Page",
6996
+ Photo = "Photo",
6997
+ Story = "Story",
6998
+ Tag = "Tag"
6999
+ }
6888
7000
  export type TModifyUserBotMessengerFieldsType = {
6889
7001
  clientMutationId?: InputMaybe<Scalars['String']['input']>;
6890
7002
  id?: InputMaybe<Scalars['ID']['input']>;
@@ -14049,6 +14161,7 @@ export type TTag = TCrawlable & TNode & TRouting & TTimestampable & {
14049
14161
  display?: Maybe<Display>;
14050
14162
  edited_at?: Maybe<Scalars['DateTime']['output']>;
14051
14163
  editorial_text_md?: Maybe<Scalars['JSONObject']['output']>;
14164
+ enable_selectable_content_type?: Maybe<Scalars['Boolean']['output']>;
14052
14165
  highlighted_tag?: Maybe<THighlightedTagSingleConnection>;
14053
14166
  highlighted_tag_id?: Maybe<Scalars['ID']['output']>;
14054
14167
  id: Scalars['ID']['output'];
@@ -14065,6 +14178,7 @@ export type TTag = TCrawlable & TNode & TRouting & TTimestampable & {
14065
14178
  rss_feed?: Maybe<Scalars['Boolean']['output']>;
14066
14179
  rss_slug?: Maybe<Scalars['String']['output']>;
14067
14180
  selectable?: Maybe<Scalars['Boolean']['output']>;
14181
+ selectable_content_type?: Maybe<Array<Maybe<EditorialContentModelType>>>;
14068
14182
  slug?: Maybe<Scalars['String']['output']>;
14069
14183
  status?: Maybe<TagStatusType>;
14070
14184
  tag_category?: Maybe<TTagCategorySingleConnection>;
@@ -14769,6 +14883,17 @@ export type TTotalCurrentVisitsFilter = {
14769
14883
  nre?: InputMaybe<Scalars['Int']['input']>;
14770
14884
  re?: InputMaybe<Scalars['Int']['input']>;
14771
14885
  };
14886
+ export declare enum UndeletableModelType {
14887
+ Article = "Article",
14888
+ BlockLink = "BlockLink",
14889
+ ContentLabel = "ContentLabel",
14890
+ Link = "Link",
14891
+ Live = "Live",
14892
+ Page = "Page",
14893
+ Photo = "Photo",
14894
+ Story = "Story",
14895
+ Tag = "Tag"
14896
+ }
14772
14897
  export type TUpdateAdUnitType = {
14773
14898
  clientMutationId?: InputMaybe<Scalars['String']['input']>;
14774
14899
  id: Scalars['String']['input'];
@@ -15830,6 +15955,7 @@ export type TUpdateTagInputType = {
15830
15955
  crawl_options?: InputMaybe<TCrawlOptionsInput>;
15831
15956
  display?: InputMaybe<Display>;
15832
15957
  editorial_text_md?: InputMaybe<Scalars['JSONObject']['input']>;
15958
+ enable_selectable_content_type?: InputMaybe<Scalars['Boolean']['input']>;
15833
15959
  highlighted_tag_id?: InputMaybe<Scalars['ID']['input']>;
15834
15960
  id: Scalars['ID']['input'];
15835
15961
  label?: InputMaybe<Scalars['String']['input']>;
@@ -15841,6 +15967,7 @@ export type TUpdateTagInputType = {
15841
15967
  rss_feed?: InputMaybe<Scalars['Boolean']['input']>;
15842
15968
  rss_slug?: InputMaybe<Scalars['String']['input']>;
15843
15969
  selectable?: InputMaybe<Scalars['Boolean']['input']>;
15970
+ selectable_content_type?: InputMaybe<Array<InputMaybe<EditorialContentModelType>>>;
15844
15971
  slug?: InputMaybe<Scalars['String']['input']>;
15845
15972
  status?: InputMaybe<TagStatusType>;
15846
15973
  tag_category_id?: InputMaybe<Scalars['ID']['input']>;
@@ -15945,7 +16072,6 @@ export type TUpdateUserFrontType = {
15945
16072
  subscription_start_at?: InputMaybe<Scalars['DateTime']['input']>;
15946
16073
  user_back_id?: InputMaybe<Scalars['ID']['input']>;
15947
16074
  username?: InputMaybe<Scalars['LimitedString']['input']>;
15948
- viafoura_id?: InputMaybe<Scalars['BigInt']['input']>;
15949
16075
  website?: InputMaybe<Scalars['String']['input']>;
15950
16076
  zipcode?: InputMaybe<Scalars['String']['input']>;
15951
16077
  };
@@ -16324,7 +16450,6 @@ export type TUserFront = TNode & TTimestampable & {
16324
16450
  total_visits?: Maybe<Scalars['Int']['output']>;
16325
16451
  user_back_id: Scalars['ID']['output'];
16326
16452
  username?: Maybe<Scalars['String']['output']>;
16327
- viafoura_id?: Maybe<Scalars['BigInt']['output']>;
16328
16453
  website?: Maybe<Scalars['String']['output']>;
16329
16454
  zipcode?: Maybe<Scalars['String']['output']>;
16330
16455
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@20minutes/tyr",
3
- "version": "2.28.1",
3
+ "version": "2.28.3",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+ssh://git@github.com/20minutes/tyr.git"
@@ -53,7 +53,7 @@
53
53
  },
54
54
  "dependencies": {
55
55
  "@20minutes/draft-convert": "^3.0.2",
56
- "@20minutes/hela": "^2.10.1",
56
+ "@20minutes/hela": "^2.10.3",
57
57
  "aws-rum-web": "^1.25.0",
58
58
  "classnames": "^2.5.1",
59
59
  "draft-js": "^0.11.7",
@@ -62,16 +62,17 @@
62
62
  "html-to-react": "^1.7.0",
63
63
  "node-html-parser": "^7.0.1",
64
64
  "react": "^18.3.1",
65
- "react-dom": "^18.3.1"
65
+ "react-dom": "^18.3.1",
66
+ "uri-js": "npm:uri-js-replace"
66
67
  },
67
68
  "devDependencies": {
68
69
  "@20minutes/eslint-config": "^1.2.7",
69
- "@aws-sdk/client-s3": "3.884.0",
70
+ "@aws-sdk/client-s3": "3.895.0",
70
71
  "@babel/core": "^7.28.4",
71
72
  "@babel/eslint-parser": "^7.28.4",
72
- "@eslint/compat": "^1.3.2",
73
+ "@eslint/compat": "^1.4.0",
73
74
  "@eslint/eslintrc": "^3.3.1",
74
- "@eslint/js": "^9.35.0",
75
+ "@eslint/js": "^9.36.0",
75
76
  "@graphql-codegen/cli": "^6.0.0",
76
77
  "@graphql-codegen/typescript": "^5.0.0",
77
78
  "@graphql-codegen/typescript-operations": "^5.0.0",
@@ -80,24 +81,24 @@
80
81
  "@rollup/plugin-node-resolve": "^16.0.1",
81
82
  "@rollup/plugin-replace": "^6.0.2",
82
83
  "@rollup/plugin-terser": "^0.4.4",
83
- "@storybook/addon-docs": "^9.1.5",
84
- "@storybook/addon-links": "^9.1.5",
85
- "@storybook/react-vite": "^9.1.5",
84
+ "@storybook/addon-docs": "^9.1.8",
85
+ "@storybook/addon-links": "^9.1.8",
86
+ "@storybook/react-vite": "^9.1.8",
86
87
  "@testing-library/dom": "^10.4.1",
87
88
  "@testing-library/jest-dom": "^6.8.0",
88
89
  "@testing-library/react": "^16.3.0",
89
90
  "@types/draft-js": "^0.11.18",
90
91
  "@types/googletag": "^3.3.0",
91
92
  "@types/jsdom": "^21.1.7",
92
- "@types/node": "^24.3.1",
93
+ "@types/node": "^24.5.2",
93
94
  "@types/poool-access": "^5.18.1",
94
95
  "@types/poool-engage": "^2.2.0",
95
96
  "@types/react": "^18.3.13",
96
97
  "@types/react-dom": "^18.3.1",
97
98
  "@types/sinon": "^17.0.4",
98
- "@typescript-eslint/eslint-plugin": "^8.43.0",
99
- "@typescript-eslint/parser": "^8.43.0",
100
- "@vitejs/plugin-react": "^5.0.2",
99
+ "@typescript-eslint/eslint-plugin": "^8.44.1",
100
+ "@typescript-eslint/parser": "^8.44.1",
101
+ "@vitejs/plugin-react": "^5.0.3",
101
102
  "@vitest/coverage-v8": "^3.2.4",
102
103
  "babel-loader": "^10.0.0",
103
104
  "dotenv": "^17.2.2",
@@ -113,24 +114,24 @@
113
114
  "eslint-plugin-prettier": "^5.5.4",
114
115
  "eslint-plugin-react": "^7.37.5",
115
116
  "eslint-plugin-simple-import-sort": "^12.1.1",
116
- "eslint-plugin-storybook": "^9.1.5",
117
+ "eslint-plugin-storybook": "^9.1.8",
117
118
  "globals": "^16.4.0",
118
119
  "graphql": "^16.11.0",
119
120
  "husky": "^9.1.7",
120
121
  "jest-worker": "^30.1.0",
121
- "jsdom": "^26.1.0",
122
- "lint-staged": "^16.1.6",
122
+ "jsdom": "^27.0.0",
123
+ "lint-staged": "^16.2.0",
123
124
  "mockdate": "^3.0.5",
124
125
  "prettier": "3.6.2",
125
126
  "purgecss": "^7.0.2",
126
127
  "purgecss-from-html": "^7.0.2",
127
- "rollup": "^4.50.1",
128
+ "rollup": "^4.52.2",
128
129
  "rollup-plugin-cleanup": "^3.2.1",
129
130
  "rollup-plugin-esbuild": "^6.2.1",
130
131
  "rollup-plugin-typescript-paths": "^1.5.0",
131
132
  "rollup-plugin-visualizer": "^6.0.3",
132
133
  "schema-dts": "^1.1.5",
133
- "storybook": "^9.1.5",
134
+ "storybook": "^9.1.8",
134
135
  "ts-node": "^10.9.2",
135
136
  "tsconfig-paths": "^4.2.0",
136
137
  "typed-query-selector": "^2.12.0",
@@ -142,6 +143,6 @@
142
143
  },
143
144
  "resolutions": {
144
145
  "uri-js": "npm:uri-js-replace",
145
- "whatwg-url": "^14.0.0"
146
+ "whatwg-url": "^15.0.0"
146
147
  }
147
148
  }