qc-trousse-sdg 1.2.5-dev → 1.3.0-develop.0

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 (97) hide show
  1. package/README.md +18 -3
  2. package/dist/css/qc-sdg-design-tokens.min.css +1 -1
  3. package/dist/css/qc-sdg-no-grid.min.css +1 -1
  4. package/dist/css/qc-sdg.min.css +1 -1
  5. package/dist/img/QUEBEC_blanc.svg +1 -1
  6. package/dist/img/QUEBEC_couleur.svg +24 -0
  7. package/dist/js/qc-sdg.min.js +1 -1
  8. package/package.json +23 -18
  9. package/public/css/qc-doc-sdg.css +247 -335
  10. package/public/css/qc-sdg-design-tokens.css +111 -64
  11. package/public/css/qc-sdg-no-grid.css +932 -428
  12. package/public/css/qc-sdg.css +941 -609
  13. package/public/img/QUEBEC_blanc.svg +1 -1
  14. package/public/img/QUEBEC_couleur.svg +24 -0
  15. package/public/img/ampoule.svg +1 -0
  16. package/public/img/note.svg +1 -0
  17. package/public/img/piv-MCE-theme-clair.svg +79 -0
  18. package/public/img/piv-MCE-theme-sombre.svg +62 -0
  19. package/public/img/piv-bas-MCE-theme-clair.png +0 -0
  20. package/public/img/piv-bas-MCE-theme-sombre.png +0 -0
  21. package/public/img/piv-logo-pied-de-page.svg +37 -0
  22. package/public/index.html +871 -715
  23. package/public/js/qc-doc-exemple.js +9 -0
  24. package/public/js/qc-doc-sdg.js +6893 -3724
  25. package/public/js/qc-sdg.js +2103 -962
  26. package/rollup.config.js +58 -23
  27. package/src/doc/components/Code.svelte +69 -0
  28. package/src/doc/components/Exemple.svelte +71 -0
  29. package/src/doc/components/Switch.svelte +108 -0
  30. package/src/doc/components/TopNav.svelte +53 -0
  31. package/src/doc/components/color-doc.svelte +44 -0
  32. package/src/doc/qc-doc-sdg.js +25 -14
  33. package/src/doc/scss/_tables.scss +1 -2
  34. package/src/doc/scss/components/_button.scss +14 -14
  35. package/src/doc/scss/components/_code.scss +106 -4
  36. package/src/doc/scss/jQueryUI/_jquery-ui.autocomplete.scss +48 -0
  37. package/src/doc/scss/qc-doc-sdg.scss +76 -75
  38. package/src/sdg/components/Button/IconButton.svelte +29 -0
  39. package/src/sdg/components/Icon.svelte +39 -0
  40. package/src/sdg/components/{pivHeader.svelte → PivHeader/pivHeader.svelte} +49 -69
  41. package/src/sdg/components/SearchBar/searchBar.svelte +87 -0
  42. package/src/sdg/components/SearchInput/SearchInput.svelte +48 -0
  43. package/src/sdg/components/alert.svelte +40 -23
  44. package/src/sdg/components/componentWrapper.js +0 -3
  45. package/src/sdg/components/externalLink.svelte +92 -0
  46. package/src/sdg/components/notice.svelte +61 -34
  47. package/src/sdg/components/pivFooter.svelte +37 -36
  48. package/src/sdg/components/toTop.svelte +16 -10
  49. package/src/sdg/components/utils.js +28 -4
  50. package/src/sdg/qc-sdg.js +11 -3
  51. package/src/sdg/scss/_qc-sdg-lib.scss +3 -0
  52. package/src/sdg/scss/base/_accessibility.scss +4 -0
  53. package/src/sdg/scss/base/_colors.scss +10 -10
  54. package/src/sdg/scss/base/_figure.scss +14 -9
  55. package/src/sdg/scss/base/_fonts.scss +4 -4
  56. package/src/sdg/scss/base/_form.scss +7 -0
  57. package/src/sdg/scss/base/_layout.scss +45 -0
  58. package/src/sdg/scss/base/_lists.scss +5 -5
  59. package/src/sdg/scss/base/_shadings.scss +3 -11
  60. package/src/sdg/scss/base/_typography.scss +42 -25
  61. package/src/sdg/scss/components/_alert.scss +11 -34
  62. package/src/sdg/scss/components/_icons.scss +67 -38
  63. package/src/sdg/scss/components/_notice.scss +51 -44
  64. package/src/sdg/scss/components/_pivFooter.scss +35 -23
  65. package/src/sdg/scss/components/_pivHeader.scss +131 -154
  66. package/src/sdg/scss/components/_searchBar.scss +75 -0
  67. package/src/sdg/scss/components/_searchInput.scss +64 -0
  68. package/src/sdg/scss/components/_separator.scss +2 -5
  69. package/src/sdg/scss/components/_toTop.scss +4 -6
  70. package/src/sdg/scss/grid/_grid-lib.scss +516 -0
  71. package/src/sdg/scss/grid/_grid.scss +78 -0
  72. package/src/sdg/scss/lib/_functions.scss +78 -0
  73. package/src/sdg/scss/lib/_gridless-lib.scss +4 -0
  74. package/src/sdg/scss/lib/_mixins.scss +221 -0
  75. package/src/sdg/scss/qc-design-tokens.scss +31 -8
  76. package/src/sdg/scss/qc-sdg-utilities.scss +1 -0
  77. package/src/sdg/scss/qc-sdg.scss +1 -1
  78. package/src/sdg/scss/qc-sgd-no-grid.scss +20 -15
  79. package/src/sdg/scss/settings/_base.scss +58 -0
  80. package/src/sdg/scss/settings/_tokens.scss +145 -77
  81. package/src/sdg/scss/utilities/_display.scss +43 -3
  82. package/src/sdg/scss/utilities/_themes.scss +17 -0
  83. package/src/sdg/scss/vendor/modern-css-reset/src/reset.css +9 -8
  84. package/dist/img/logo-quebec-piv-footer.svg +0 -1
  85. package/dist/img/quebec-logo.svg +0 -13
  86. package/public/img/logo-quebec-piv-footer.svg +0 -1
  87. package/src/doc/components/code.svelte +0 -54
  88. package/src/sdg/scss/base/_grid.scss +0 -9
  89. package/src/sdg/scss/functions/_tokens.scss +0 -12
  90. package/src/sdg/scss/functions/_utils.scss +0 -44
  91. package/src/sdg/scss/modules/_grid.scss +0 -19
  92. package/src/sdg/scss/modules/_helpers.scss +0 -32
  93. package/src/sdg/scss/modules/_map.scss +0 -14
  94. package/src/sdg/scss/modules/_tokens.scss +0 -3
  95. package/src/sdg/scss/modules/_utils.scss +0 -55
  96. package/src/sdg/scss/settings/_grid.scss +0 -24
  97. package/src/sdg/scss/settings/_settings.scss +0 -12
@@ -0,0 +1,24 @@
1
+ <svg width="197" height="71" viewBox="0 0 197 71" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <g clip-path="url(#clip0)">
3
+ <path d="M53.79 47.121V30.77H53.666C53.086 31.305 50.937 31.348 50.026 31.348H48.446V31.481C50.271 32.602 50.023 34.258 50.023 36.317L50.025 43.238C50.025 46.696 46.627 49.124 43.888 49.124C40.28 49.124 38.782 46.562 38.782 42.427V30.771H38.658C38.077 31.305 35.915 31.349 35.004 31.349H33.437V31.482C35.263 32.603 35.014 34.259 35.014 36.319V43.215C35.014 49.528 37.752 52.527 42.644 52.527C45.549 52.527 48.531 51.496 50.025 49.035V52.018H55.369V51.883C53.543 50.85 53.79 49.187 53.79 47.121Z" fill="black"/>
4
+ <path d="M62.077 38.378C62.576 35.57 64.65 33.787 67.432 33.787C70.42 33.787 72.328 35.258 72.784 38.378H62.077ZM77.143 40.984C77.308 35.213 73.448 30.859 67.805 30.859C61.621 30.859 57.433 35.346 57.433 41.569C57.433 47.839 62.285 52.615 69.341 52.615C71.292 52.615 73.283 52.305 75.068 51.506L77.143 47.297H77.017C75.108 48.92 72.702 49.688 70.211 49.688C65.522 49.688 61.995 46.486 61.912 40.984H77.143V40.984Z" fill="black"/>
5
+ <path d="M80.435 21.273C81.428 21.273 83.457 21.211 84.069 20.607H84.193V48.923C85.307 49.235 86.462 49.458 87.616 49.458C92.151 49.458 94.748 46.287 94.748 41.866C94.748 37.532 92.728 34.183 88.565 34.183C87.246 34.183 86.215 34.54 85.101 35.166L87.328 31.354C88.275 30.996 89.265 30.86 90.255 30.86C94.957 30.86 98.955 34.942 98.955 41.062C98.955 48.074 94.212 52.608 86.709 52.608C83.905 52.608 81.214 52.114 79.182 51.799V51.662C80.551 51.033 80.427 49.548 80.427 48.074V27.49C80.427 25.423 80.675 22.53 78.892 21.406V21.273H80.435Z" fill="black"/>
6
+ <path d="M106.321 38.378C106.821 35.57 108.894 33.787 111.676 33.787C114.663 33.787 116.572 35.258 117.029 38.378H106.321ZM121.385 40.984C121.553 35.213 117.693 30.859 112.049 30.859C105.866 30.859 101.676 35.346 101.676 41.569C101.676 47.839 106.53 52.615 113.584 52.615C115.535 52.615 117.528 52.305 119.311 51.506L121.386 47.297H121.263C119.354 48.92 116.946 49.688 114.456 49.688C109.766 49.688 106.24 46.486 106.156 40.984H121.385V40.984Z" fill="black"/>
7
+ <path d="M139.945 35.989H139.822C138.618 34.505 136.625 33.787 134.757 33.787C130.732 33.787 127.829 36.843 127.829 41.11C127.829 46.275 131.853 49.689 136.459 49.689C138.575 49.689 140.9 48.79 142.518 47.488H142.643L140.485 51.728C138.742 52.439 136.834 52.616 135.006 52.616C128.617 52.616 123.622 48.117 123.622 42.278C123.622 34.552 129.198 30.86 135.463 30.86C136.958 30.86 138.493 31.037 139.945 31.392V35.989Z" fill="black"/>
8
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M71.9649 27.154C71.9649 25.066 71.9649 22.661 71.9649 22.661C69.2449 23.88 66.7209 26.16 65.0339 28.378V30.128C69.0699 27.407 71.9649 27.28 71.9649 27.154Z" fill="#1D1D1B"/>
9
+ <path d="M16.357 49.526C10.091 49.526 5.732 42.456 5.732 36.45C5.732 36.389 5.732 35.834 5.733 35.774C5.811 29.956 9.577 24.498 16.15 24.498C23.066 24.498 26.633 31.041 26.691 37.241C26.691 37.291 26.691 37.837 26.691 37.887C26.691 44.493 22.583 49.526 16.357 49.526ZM37.837 56.398C33.21 57.155 28.762 55.697 24.035 50.289C28.601 47.997 31.424 42.291 31.424 36.988C31.424 36.934 31.423 36.384 31.423 36.329C31.341 27.255 24.525 21.264 16.399 21.264C8.257 21.264 1.062 27.5 1.001 36.646C1.001 36.687 1 37.219 1 37.258C1 46.155 7.601 52.761 15.694 52.761C16.857 52.761 17.976 52.581 19.097 52.311C24.398 57.276 29.122 59.39 33.205 58.898C35.142 58.665 37.187 57.896 38.416 56.299L37.837 56.398Z" fill="black"/>
10
+ <path d="M170.306 21.278H150.064V33.685H170.306V21.278Z" fill="#095797"/>
11
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M160.186 21.928C160.039 22.2 159.708 22.59 159.153 23.291C158.506 24.095 158.619 25.172 158.926 25.806C159.277 26.54 159.479 27.148 159.64 27.726C159.862 28.566 159.715 29.688 159.73 29.586H159.171C159.171 28.217 158.742 26.929 157.711 26.357C156.243 25.544 154.794 26.953 155.254 28.418C155.498 29.187 155.93 29.445 156.052 29.445C156.052 29.445 155.85 28.598 156.462 28.167C157.038 27.759 157.749 28.005 158.079 28.492C158.391 28.952 158.44 29.586 158.44 29.586H157.387V30.366L159.508 30.364C159.508 30.364 159.45 31.467 158.29 31.36C158.29 31.36 158.434 32.227 159.508 31.774C159.508 31.774 159.45 32.681 160.188 33.138C160.924 32.681 160.871 31.774 160.871 31.774C161.947 32.226 162.088 31.36 162.088 31.36C160.925 31.468 160.871 30.364 160.871 30.364L162.992 30.366V29.586H161.935C161.935 29.586 161.986 28.953 162.297 28.492C162.626 28.005 163.339 27.759 163.912 28.167C164.524 28.598 164.325 29.445 164.325 29.445C164.448 29.445 164.878 29.187 165.123 28.418C165.583 26.953 164.132 25.544 162.668 26.357C161.632 26.929 161.209 28.217 161.209 29.586H160.646C160.66 29.688 160.513 28.566 160.737 27.726C160.895 27.148 161.099 26.54 161.45 25.806C161.757 25.171 161.871 24.095 161.224 23.291C160.669 22.59 160.335 22.2 160.186 21.928Z" fill="white"/>
12
+ <path d="M196.454 21.278H176.206V33.685H196.454V21.278Z" fill="#095797"/>
13
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M186.329 21.928C186.178 22.2 185.848 22.59 185.288 23.291C184.641 24.095 184.756 25.172 185.065 25.806C185.417 26.54 185.619 27.148 185.779 27.726C185.999 28.566 185.855 29.688 185.87 29.586H185.307C185.307 28.217 184.882 26.929 183.847 26.357C182.381 25.544 180.934 26.953 181.394 28.418C181.635 29.187 182.066 29.445 182.19 29.445C182.19 29.445 181.99 28.598 182.603 28.167C183.175 27.759 183.887 28.005 184.216 28.492C184.53 28.952 184.58 29.586 184.58 29.586H183.526V30.366L185.643 30.364C185.643 30.364 185.586 31.467 184.427 31.36C184.427 31.36 184.569 32.227 185.643 31.774C185.643 31.774 185.586 32.681 186.329 33.138C187.062 32.681 187.005 31.774 187.005 31.774C188.082 32.226 188.226 31.36 188.226 31.36C187.061 31.468 187.005 30.364 187.005 30.364L189.129 30.366V29.586H188.068C188.068 29.586 188.123 28.953 188.432 28.492C188.764 28.005 189.475 27.759 190.052 28.167C190.659 28.598 190.467 29.445 190.467 29.445C190.585 29.445 191.015 29.187 191.253 28.418C191.714 26.953 190.265 25.544 188.801 26.357C187.77 26.929 187.344 28.217 187.344 29.586H186.785C186.8 29.688 186.65 28.566 186.875 27.726C187.029 27.148 187.236 26.54 187.586 25.806C187.891 25.171 188.004 24.095 187.359 23.291C186.807 22.59 186.47 22.2 186.329 21.928Z" fill="white"/>
14
+ <path d="M170.306 39.595H150.064V51.999H170.306V39.595Z" fill="#095797"/>
15
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M160.186 40.242C160.039 40.515 159.708 40.905 159.153 41.604C158.506 42.408 158.619 43.483 158.926 44.119C159.277 44.854 159.479 45.46 159.64 46.043C159.862 46.879 159.715 48.001 159.73 47.899H159.171C159.171 46.533 158.742 45.241 157.711 44.669C156.243 43.855 154.794 45.268 155.254 46.73C155.498 47.498 155.93 47.759 156.052 47.759C156.052 47.759 155.85 46.913 156.462 46.48C157.038 46.075 157.749 46.321 158.079 46.8C158.391 47.265 158.44 47.898 158.44 47.898H157.387V48.677H159.508C159.508 48.677 159.45 49.777 158.29 49.673C158.29 49.673 158.434 50.538 159.508 50.082C159.508 50.082 159.45 50.994 160.188 51.451C160.924 50.994 160.871 50.082 160.871 50.082C161.947 50.538 162.088 49.673 162.088 49.673C160.925 49.777 160.871 48.677 160.871 48.677H162.992V47.898H161.935C161.935 47.898 161.986 47.265 162.297 46.8C162.626 46.321 163.339 46.075 163.912 46.48C164.524 46.913 164.325 47.759 164.325 47.759C164.448 47.759 164.878 47.498 165.123 46.73C165.583 45.267 164.132 43.854 162.668 44.669C161.632 45.242 161.209 46.533 161.209 47.899H160.646C160.66 48.001 160.513 46.879 160.737 46.043C160.895 45.46 161.099 44.854 161.45 44.119C161.757 43.483 161.871 42.408 161.224 41.604C160.669 40.906 160.335 40.516 160.186 40.242Z" fill="white"/>
16
+ <path d="M196.454 39.595H176.206V51.999H196.454V39.595Z" fill="#095797"/>
17
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M186.329 40.242C186.178 40.515 185.848 40.905 185.288 41.604C184.641 42.408 184.756 43.483 185.065 44.119C185.417 44.854 185.619 45.46 185.779 46.043C185.999 46.879 185.855 48.001 185.87 47.899H185.307C185.307 46.533 184.882 45.241 183.847 44.669C182.381 43.855 180.934 45.268 181.394 46.73C181.635 47.498 182.066 47.759 182.19 47.759C182.19 47.759 181.99 46.913 182.603 46.48C183.175 46.075 183.887 46.321 184.216 46.8C184.53 47.265 184.58 47.898 184.58 47.898H183.526V48.677H185.643C185.643 48.677 185.586 49.777 184.427 49.673C184.427 49.673 184.569 50.538 185.643 50.082C185.643 50.082 185.586 50.994 186.329 51.451C187.062 50.994 187.005 50.082 187.005 50.082C188.082 50.538 188.226 49.673 188.226 49.673C187.061 49.777 187.005 48.677 187.005 48.677H189.129V47.898H188.068C188.068 47.898 188.123 47.265 188.432 46.8C188.764 46.321 189.475 46.075 190.052 46.48C190.659 46.913 190.467 47.759 190.467 47.759C190.585 47.759 191.015 47.498 191.253 46.73C191.714 45.267 190.265 43.854 188.801 44.669C187.77 45.242 187.344 46.533 187.344 47.899H186.785C186.8 48.001 186.65 46.879 186.875 46.043C187.029 45.46 187.236 44.854 187.586 44.119C187.891 43.483 188.004 42.408 187.359 41.604C186.807 40.906 186.47 40.516 186.329 40.242Z" fill="white"/>
18
+ </g>
19
+ <defs>
20
+ <clipPath id="clip0">
21
+ <rect width="197" height="71" fill="white"/>
22
+ </clipPath>
23
+ </defs>
24
+ </svg>
@@ -1 +1 @@
1
- !function(){"use strict";function t(){}function e(t){return t()}function n(){return Object.create(null)}function o(t){t.forEach(e)}function r(t){return"function"==typeof t}function s(t,e){return t!=t?e==e:t!==e||t&&"object"==typeof t||"function"==typeof t}let i;function c(t,e){return t===e||(i||(i=document.createElement("a")),i.href=e,t===i.href)}function l(t,e,n,o){if(t){const r=a(t,e,n,o);return t[0](r)}}function a(t,e,n,o){return t[1]&&o?function(t,e){for(const n in e)t[n]=e[n];return t}(n.ctx.slice(),t[1](o(e))):n.ctx}function u(t,e,n,o){if(t[2]&&o){const r=t[2](o(n));if(void 0===e.dirty)return r;if("object"==typeof r){const t=[],n=Math.max(e.dirty.length,r.length);for(let o=0;o<n;o+=1)t[o]=e.dirty[o]|r[o];return t}return e.dirty|r}return e.dirty}function h(t,e,n,o,r,s){if(r){const i=a(e,n,o,s);t.p(i,r)}}function $(t){if(t.ctx.length>32){const e=[],n=t.ctx.length/32;for(let t=0;t<n;t++)e[t]=-1;return e}return-1}const d="undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:global;function g(t,e){t.appendChild(e)}function f(t,e,n){t.insertBefore(e,n||null)}function p(t){t.parentNode&&t.parentNode.removeChild(t)}function m(t){return document.createElement(t)}function x(t){return document.createTextNode(t)}function b(){return x(" ")}function y(t,e,n,o){return t.addEventListener(e,n,o),()=>t.removeEventListener(e,n,o)}function T(t){return function(e){return e.preventDefault(),t.call(this,e)}}function v(t,e,n){null==n?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}const w=["width","height"];function S(t,e){const n=Object.getOwnPropertyDescriptors(t.__proto__);for(const o in e)null==e[o]?t.removeAttribute(o):"style"===o?t.style.cssText=e[o]:"__value"===o?t.value=t[o]=e[o]:n[o]&&n[o].set&&-1===w.indexOf(o)?t[o]=e[o]:v(t,o,e[o])}function U(t,e){Object.keys(e).forEach((n=>{!function(t,e,n){const o=e.toLowerCase();o in t?t[o]="boolean"==typeof t[o]&&""===n||n:e in t?t[e]="boolean"==typeof t[e]&&""===n||n:v(t,e,n)}(t,n,e[n])}))}function _(t,e){e=""+e,t.data!==e&&(t.data=e)}function q(t,e,n){t.classList.toggle(e,!!n)}class A{is_svg=!1;e=void 0;n=void 0;t=void 0;a=void 0;constructor(t=!1){this.is_svg=t,this.e=this.n=null}c(t){this.h(t)}m(t,e,n=null){var o;this.e||(this.is_svg?this.e=(o=e.nodeName,document.createElementNS("http://www.w3.org/2000/svg",o)):this.e=m(11===e.nodeType?"TEMPLATE":e.nodeName),this.t="TEMPLATE"!==e.tagName?e:e.content,this.c(t)),this.i(n)}h(t){this.e.innerHTML=t,this.n=Array.from("TEMPLATE"===this.e.nodeName?this.e.content.childNodes:this.e.childNodes)}i(t){for(let e=0;e<this.n.length;e+=1)f(this.t,this.n[e],t)}p(t){this.d(),this.h(t),this.i(this.a)}d(){this.n.forEach(p)}}let L;function k(t){L=t}function E(t){(function(){if(!L)throw new Error("Function called outside component initialization");return L})().$$.on_mount.push(t)}const C=[],P=[];let N=[];const j=[],O=Promise.resolve();let F=!1;function I(t){N.push(t)}const W=new Set;let H=0;function R(){if(0!==H)return;const t=L;do{try{for(;H<C.length;){const t=C[H];H++,k(t),M(t.$$)}}catch(t){throw C.length=0,H=0,t}for(k(null),C.length=0,H=0;P.length;)P.pop()();for(let t=0;t<N.length;t+=1){const e=N[t];W.has(e)||(W.add(e),e())}N.length=0}while(C.length);for(;j.length;)j.pop()();F=!1,W.clear(),k(t)}function M(t){if(null!==t.fragment){t.update(),o(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(I)}}const B=new Set;let z,D;function Q(){z={r:0,c:[],p:z}}function Y(){z.r||o(z.c),z=z.p}function G(t,e){t&&t.i&&(B.delete(t),t.i(e))}function J(t,e,n,o){if(t&&t.o){if(B.has(t))return;B.add(t),z.c.push((()=>{B.delete(t),o&&(n&&t.d(1),o())})),t.o(e)}else o&&o()}function K(t,e){const n=t.$$;null!==n.fragment&&(!function(t){const e=[],n=[];N.forEach((o=>-1===t.indexOf(o)?e.push(o):n.push(o))),n.forEach((t=>t())),N=e}(n.after_update),o(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function V(t,e){-1===t.$$.dirty[0]&&(C.push(t),F||(F=!0,O.then(R)),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function X(s,i,c,l,a,u,h=null,$=[-1]){const d=L;k(s);const g=s.$$={fragment:null,ctx:[],props:u,update:t,not_equal:a,bound:n(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(i.context||(d?d.$$.context:[])),callbacks:n(),dirty:$,skip_bound:!1,root:i.target||d.$$.root};h&&h(g.root);let f=!1;if(g.ctx=c?c(s,i.props||{},((t,e,...n)=>{const o=n.length?n[0]:e;return g.ctx&&a(g.ctx[t],g.ctx[t]=o)&&(!g.skip_bound&&g.bound[t]&&g.bound[t](o),f&&V(s,t)),e})):[],g.update(),f=!0,o(g.before_update),g.fragment=!!l&&l(g.ctx),i.target){if(i.hydrate){const t=function(t){return Array.from(t.childNodes)}(i.target);g.fragment&&g.fragment.l(t),t.forEach(p)}else g.fragment&&g.fragment.c();i.intro&&G(s.$$.fragment),function(t,n,s){const{fragment:i,after_update:c}=t.$$;i&&i.m(n,s),I((()=>{const n=t.$$.on_mount.map(e).filter(r);t.$$.on_destroy?t.$$.on_destroy.push(...n):o(n),t.$$.on_mount=[]})),c.forEach(I)}(s,i.target,i.anchor),R()}k(d)}function Z(t,e,n,o){const r=n[t]?.type;if(e="Boolean"===r&&"boolean"!=typeof e?null!=e:e,!o||!n[t])return e;if("toAttribute"===o)switch(r){case"Object":case"Array":return null==e?null:JSON.stringify(e);case"Boolean":return e?"":null;case"Number":return null==e?null:e;default:return e}else switch(r){case"Object":case"Array":return e&&JSON.parse(e);case"Boolean":default:return e;case"Number":return null!=e?+e:e}}function tt(t,e,n,o,r,s){let i=class extends D{constructor(){super(t,n,r),this.$$p_d=e}static get observedAttributes(){return Object.keys(e).map((t=>(e[t].attribute||t).toLowerCase()))}};return Object.keys(e).forEach((t=>{Object.defineProperty(i.prototype,t,{get(){return this.$$c&&t in this.$$c?this.$$c[t]:this.$$d[t]},set(n){n=Z(t,n,e),this.$$d[t]=n,this.$$c?.$set({[t]:n})}})})),o.forEach((t=>{Object.defineProperty(i.prototype,t,{get(){return this.$$c?.[t]}})})),s&&(i=s(i)),t.element=i,i}"function"==typeof HTMLElement&&(D=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;constructor(t,e,n){super(),this.$$ctor=t,this.$$s=e,n&&this.attachShadow({mode:"open"})}addEventListener(t,e,n){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(e),this.$$c){const n=this.$$c.$on(t,e);this.$$l_u.set(e,n)}super.addEventListener(t,e,n)}removeEventListener(t,e,n){if(super.removeEventListener(t,e,n),this.$$c){const t=this.$$l_u.get(e);t&&(t(),this.$$l_u.delete(e))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){if(await Promise.resolve(),!this.$$cn||this.$$c)return;function t(t){return()=>{let e;return{c:function(){e=m("slot"),"default"!==t&&v(e,"name",t)},m:function(t,n){f(t,e,n)},d:function(t){t&&p(e)}}}}const e={},n=function(t){const e={};return t.childNodes.forEach((t=>{e[t.slot||"default"]=!0})),e}(this);for(const r of this.$$s)r in n&&(e[r]=[t(r)]);for(const s of this.attributes){const i=this.$$g_p(s.name);i in this.$$d||(this.$$d[i]=Z(i,s.value,this.$$p_d,"toProp"))}for(const c in this.$$p_d)c in this.$$d||void 0===this[c]||(this.$$d[c]=this[c],delete this[c]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:{...this.$$d,$$slots:e,$$scope:{ctx:[]}}});const o=()=>{this.$$r=!0;for(const t in this.$$p_d)if(this.$$d[t]=this.$$c.$$.ctx[this.$$c.$$.props[t]],this.$$p_d[t].reflect){const e=Z(t,this.$$d[t],this.$$p_d,"toAttribute");null==e?this.removeAttribute(this.$$p_d[t].attribute||t):this.setAttribute(this.$$p_d[t].attribute||t,e)}this.$$r=!1};this.$$c.$$.after_update.push(o),o();for(const l in this.$$l)for(const a of this.$$l[l]){const u=this.$$c.$on(l,a);this.$$l_u.set(a,u)}this.$$l={}}}attributeChangedCallback(t,e,n){this.$$r||(t=this.$$g_p(t),this.$$d[t]=Z(t,n,this.$$p_d,"toProp"),this.$$c?.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then((()=>{this.$$cn||(this.$$c.$destroy(),this.$$c=void 0)}))}$$g_p(t){return Object.keys(this.$$p_d).find((e=>this.$$p_d[e].attribute===t||!this.$$p_d[e].attribute&&e.toLowerCase()===t))||t}});class et{$$=void 0;$$set=void 0;$destroy(){K(this,1),this.$destroy=t}$on(e,n){if(!r(n))return t;const o=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return o.push(n),()=>{const t=o.indexOf(n);-1!==t&&o.splice(t,1)}}$set(t){var e;this.$$set&&(e=t,0!==Object.keys(e).length)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}"undefined"!=typeof window&&(window.__svelte||(window.__svelte={v:new Set})).v.add("4");class nt{static assetsBasePath=new URL(document.currentScript.src).pathname.split("/").slice(0,-2).join("/")||".";static cssRelativePath=`${this.assetsBasePath}/css/`.replace("//","/");static imagesRelativePath=`${this.assetsBasePath}/img/`.replace("//","/");static cssFileName=document.currentScript.getAttribute("sdg-css-filename")||"qc-sdg.min.css";static sharedTexts={openInNewTab:{fr:"Ce lien s’ouvrira dans un nouvel onglet.",en:"This link will open in a new tab."}};static getPageLanguage(){return document.getElementsByTagName("html")[0].getAttribute("lang")||"fr"}}function ot(t){let e,n;return{c(){var o;e=m(t[1]),n=x(t[2]),(o=t[1],/-/.test(o)?U:S)(e,{class:"title"})},m(t,o){f(t,e,o),g(e,n)},p(t,e){4&e&&_(n,t[2])},d(t){t&&p(e)}}}function rt(t){let e,n,o,r,i,c,a,d,x,y,T,w,S,U,_,q=t[1],L=t[1]&&ot(t);const k=t[5].default,E=l(k,t,t[4],null);return{c(){e=m("div"),n=m("div"),o=m("div"),i=b(),c=m("div"),a=m("div"),L&&L.c(),d=b(),x=m("div"),y=new A(!1),T=b(),E&&E.c(),S=b(),U=m("link"),v(o,"aria-hidden","true"),v(o,"class",r="qc-icon qc-"+t[0]),v(n,"class","icon-container"),y.a=T,v(x,"class","text"),v(a,"class","content"),v(c,"class","content-container"),v(e,"class",w="qc-component qc-notice qc-"+t[0]),v(e,"tabindex","0"),v(U,"rel","stylesheet"),v(U,"href",""+(nt.cssRelativePath+nt.cssFileName))},m(r,s){f(r,e,s),g(e,n),g(n,o),g(e,i),g(e,c),g(c,a),L&&L.m(a,null),g(a,d),g(a,x),y.m(t[3],x),g(x,T),E&&E.m(x,null),f(r,S,s),f(r,U,s),_=!0},p(t,[n]){(!_||1&n&&r!==(r="qc-icon qc-"+t[0]))&&v(o,"class",r),t[1]?q?s(q,t[1])?(L.d(1),L=ot(t),q=t[1],L.c(),L.m(a,d)):L.p(t,n):(L=ot(t),q=t[1],L.c(),L.m(a,d)):q&&(L.d(1),L=null,q=t[1]),(!_||8&n)&&y.p(t[3]),E&&E.p&&(!_||16&n)&&h(E,k,t,t[4],_?u(k,t[4],n,null):$(t[4]),null),(!_||1&n&&w!==(w="qc-component qc-notice qc-"+t[0]))&&v(e,"class",w)},i(t){_||(G(E,t),_=!0)},o(t){J(E,t),_=!1},d(t){t&&(p(e),p(S),p(U)),L&&L.d(t),E&&E.d(t)}}}function st(t,e,n){let{$$slots:o={},$$scope:r}=e;const s="h2",i="information",c=["information","warning","success","error"];let{title:l="",type:a=i,content:u="",header:h=s}=e;return E((()=>{n(1,h=h.match(/h[1-6]/)?h:s),n(0,a=c.includes(a)?a:i)})),t.$$set=t=>{"title"in t&&n(2,l=t.title),"type"in t&&n(0,a=t.type),"content"in t&&n(3,u=t.content),"header"in t&&n(1,h=t.header),"$$scope"in t&&n(4,r=t.$$scope)},[a,h,l,u,r,o]}customElements.define("qc-notice",tt(class extends et{constructor(t){super(),X(this,t,st,rt,s,{title:2,type:0,content:3,header:1})}get title(){return this.$$.ctx[2]}set title(t){this.$$set({title:t}),R()}get type(){return this.$$.ctx[0]}set type(t){this.$$set({type:t}),R()}get content(){return this.$$.ctx[3]}set content(t){this.$$set({content:t}),R()}get header(){return this.$$.ctx[1]}set header(t){this.$$set({header:t}),R()}},{title:{},type:{},content:{},header:{}},["default"],[],!0));const it=t=>({}),ct=t=>({}),lt=t=>({}),at=t=>({});function ut(t){let e,n,o;return{c(){e=m("div"),n=m("a"),o=x(t[12]),v(n,"href",t[11]),v(e,"class","go-to-content")},m(t,r){f(t,e,r),g(e,n),g(n,o)},p(t,e){4096&e&&_(o,t[12]),2048&e&&v(n,"href",t[11])},d(t){t&&p(e)}}}function ht(t){let e,n,o,r;return{c(){e=m("div"),n=m("a"),o=m("span"),r=x(t[5]),v(n,"href",t[4]),v(e,"class","title")},m(t,s){f(t,e,s),g(e,n),g(n,o),g(o,r)},p(t,e){32&e&&_(r,t[5]),16&e&&v(n,"href",t[4])},d(t){t&&p(e)}}}function $t(t){let e,n,r,s,i,c=(t[21]?t[17]:t[16])+"";return{c(){e=m("a"),n=m("span"),r=x(c),v(e,"class","qc-icon qc-search"),v(e,"href","/"),v(e,"role","button")},m(o,c){f(o,e,c),g(e,n),g(n,r),s||(i=[y(e,"click",T(t[27])),y(e,"click",t[19])],s=!0)},p(t,e){2293760&e&&c!==(c=(t[21]?t[17]:t[16])+"")&&_(r,c)},d(t){t&&p(e),s=!1,o(i)}}}function dt(t){let e,n,o=t[7]&&gt(t),r=t[9]&&ft(t);return{c(){e=m("ul"),o&&o.c(),n=b(),r&&r.c()},m(t,s){f(t,e,s),o&&o.m(e,null),g(e,n),r&&r.m(e,null)},p(t,s){t[7]?o?o.p(t,s):(o=gt(t),o.c(),o.m(e,n)):o&&(o.d(1),o=null),t[9]?r?r.p(t,s):(r=ft(t),r.c(),r.m(e,null)):r&&(r.d(1),r=null)},d(t){t&&p(e),o&&o.d(),r&&r.d()}}}function gt(t){let e,n,o;return{c(){e=m("li"),n=m("a"),o=x(t[6]),v(n,"href",t[7])},m(t,r){f(t,e,r),g(e,n),g(n,o)},p(t,e){64&e&&_(o,t[6]),128&e&&v(n,"href",t[7])},d(t){t&&p(e)}}}function ft(t){let e,n,o;return{c(){e=m("li"),n=m("a"),o=x(t[8]),v(n,"href",t[9])},m(t,r){f(t,e,r),g(e,n),g(n,o)},p(t,e){256&e&&_(o,t[8]),512&e&&v(n,"href",t[9])},d(t){t&&p(e)}}}function pt(t){let e,n=(t[9]||t[7])&&dt(t);return{c(){n&&n.c(),e=x("")},m(t,o){n&&n.m(t,o),f(t,e,o)},p(t,o){t[9]||t[7]?n?n.p(t,o):(n=dt(t),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null)},d(t){t&&p(e),n&&n.d(t)}}}function mt(t){let e,n,o,r;return{c(){e=m("div"),n=m("a"),o=m("span"),r=x(t[5]),v(n,"href",t[4]),v(e,"class","title")},m(t,s){f(t,e,s),g(e,n),g(n,o),g(o,r)},p(t,e){32&e&&_(r,t[5]),16&e&&v(n,"href",t[4])},d(t){t&&p(e)}}}function xt(t){let e,n;const o=t[26]["search-zone"],r=l(o,t,t[25],ct),s=r||function(t){let e,n,o,r,s,i,c,l,a;return{c(){e=m("form"),n=m("div"),o=m("input"),r=b(),s=m("button"),i=m("span"),c=b(),l=m("span"),a=x(t[15]),v(o,"type","text"),v(o,"placeholder",t[13]),v(o,"name",t[14]),v(i,"class","qc-icon qc-search-submit"),v(l,"class","sr-description"),v(n,"class","input-group"),v(e,"method","get"),v(e,"action",t[18])},m(u,h){f(u,e,h),g(e,n),g(n,o),t[28](o),g(n,r),g(n,s),g(s,i),g(s,c),g(s,l),g(l,a)},p(t,n){8192&n&&v(o,"placeholder",t[13]),16384&n&&v(o,"name",t[14]),32768&n&&_(a,t[15]),262144&n&&v(e,"action",t[18])},d(n){n&&p(e),t[28](null)}}}(t);return{c(){e=m("div"),s&&s.c(),v(e,"class","search-zone")},m(t,o){f(t,e,o),s&&s.m(e,null),n=!0},p(t,e){r?r.p&&(!n||33554432&e)&&h(r,o,t,t[25],n?u(o,t[25],e,it):$(t[25]),ct):s&&s.p&&(!n||4513792&e)&&s.p(t,n?e:-1)},i(t){n||(G(s,t),n=!0)},o(t){J(s,t),n=!1},d(t){t&&p(e),s&&s.d(t)}}}function bt(t){let e,n,o,r,s,i,a,d,x,y,T,w,S,U,_,q,A,L,k,E="true"==t[10]&&ut(t),C=t[5]&&ht(t),P="true"==t[0]&&$t(t);const N=t[26].links,j=l(N,t,t[25],at),O=j||pt(t);let F=t[5]&&mt(t),I=t[21]&&xt(t);return{c(){e=m("div"),n=m("div"),E&&E.c(),o=b(),r=m("div"),s=m("div"),i=m("a"),a=m("img"),x=b(),C&&C.c(),y=b(),T=m("div"),P&&P.c(),w=b(),S=m("div"),O&&O.c(),U=b(),_=m("div"),F&&F.c(),q=b(),I&&I.c(),A=b(),L=m("link"),v(a,"alt",t[3]),c(a.src,d=t[2])||v(a,"src",d),v(i,"href",t[1]),v(i,"target","_blank"),v(i,"rel","noreferrer"),v(s,"class","logo"),v(S,"class","links"),v(T,"class","right-section"),v(r,"class","piv-top"),v(_,"class","piv-bottom"),v(n,"class",t[20]),v(e,"class","qc-piv-header qc-component"),v(L,"rel","stylesheet"),v(L,"href",""+(nt.cssRelativePath+nt.cssFileName))},m(t,c){f(t,e,c),g(e,n),E&&E.m(n,null),g(n,o),g(n,r),g(r,s),g(s,i),g(i,a),g(r,x),C&&C.m(r,null),g(r,y),g(r,T),P&&P.m(T,null),g(T,w),g(T,S),O&&O.m(S,null),g(n,U),g(n,_),F&&F.m(_,null),g(_,q),I&&I.m(_,null),f(t,A,c),f(t,L,c),k=!0},p(t,[e]){"true"==t[10]?E?E.p(t,e):(E=ut(t),E.c(),E.m(n,o)):E&&(E.d(1),E=null),(!k||8&e)&&v(a,"alt",t[3]),(!k||4&e&&!c(a.src,d=t[2]))&&v(a,"src",d),(!k||2&e)&&v(i,"href",t[1]),t[5]?C?C.p(t,e):(C=ht(t),C.c(),C.m(r,y)):C&&(C.d(1),C=null),"true"==t[0]?P?P.p(t,e):(P=$t(t),P.c(),P.m(T,w)):P&&(P.d(1),P=null),j?j.p&&(!k||33554432&e)&&h(j,N,t,t[25],k?u(N,t[25],e,lt):$(t[25]),at):O&&O.p&&(!k||960&e)&&O.p(t,k?e:-1),t[5]?F?F.p(t,e):(F=mt(t),F.c(),F.m(_,q)):F&&(F.d(1),F=null),t[21]?I?(I.p(t,e),2097152&e&&G(I,1)):(I=xt(t),I.c(),G(I,1),I.m(_,null)):I&&(Q(),J(I,1,1,(()=>{I=null})),Y()),(!k||1048576&e)&&v(n,"class",t[20])},i(t){k||(G(O,t),G(I),k=!0)},o(t){J(O,t),J(I),k=!1},d(t){t&&(p(e),p(A),p(L)),E&&E.d(),C&&C.d(),P&&P.d(),O&&O.d(t),F&&F.d(),I&&I.d()}}}function yt(t,e,n){let{$$slots:o={},$$scope:r}=e;const s=nt.getPageLanguage();let{logoUrl:i="/",fullWidth:c="false",logoSrc:l=nt.imagesRelativePath+"quebec-logo.svg",logoAlt:a=("fr"===s?"Logo du gouvernement du Québec":"Logo of government of Québec"),titleUrl:u="/",titleText:h="",altLanguageText:$=("fr"===s?"English":"Français"),altLanguageUrl:d="",joinUsText:g=("fr"===s?"Nous joindre":"Contact us"),joinUsUrl:f="",goToContent:p="true",goToContentAnchor:m="#main",goToContentText:x=("fr"===s?"Passer au contenu":"Skip to content"),searchPlaceholder:b=("fr"===s?"Rechercher…":"Search…"),searchInputName:y="q",submitSearchText:T=("fr"===s?"Rechercher":"Search"),displaySearchText:v=("fr"===s?"Cliquer pour faire une recherche":"Click to search"),hideSearchText:w=("fr"===s?"Masquer la barre de recherche":"Hide search bar"),searchFormAction:S="#",enableSearch:U="false",showSearch:_="false"}=e;let q,A="qc-container",L=!1;E((()=>{n(20,A+="true"===c?"-fluid":""),"true"===_&&(n(0,U="true"),n(21,L=!0))}));return t.$$set=t=>{"logoUrl"in t&&n(1,i=t.logoUrl),"fullWidth"in t&&n(23,c=t.fullWidth),"logoSrc"in t&&n(2,l=t.logoSrc),"logoAlt"in t&&n(3,a=t.logoAlt),"titleUrl"in t&&n(4,u=t.titleUrl),"titleText"in t&&n(5,h=t.titleText),"altLanguageText"in t&&n(6,$=t.altLanguageText),"altLanguageUrl"in t&&n(7,d=t.altLanguageUrl),"joinUsText"in t&&n(8,g=t.joinUsText),"joinUsUrl"in t&&n(9,f=t.joinUsUrl),"goToContent"in t&&n(10,p=t.goToContent),"goToContentAnchor"in t&&n(11,m=t.goToContentAnchor),"goToContentText"in t&&n(12,x=t.goToContentText),"searchPlaceholder"in t&&n(13,b=t.searchPlaceholder),"searchInputName"in t&&n(14,y=t.searchInputName),"submitSearchText"in t&&n(15,T=t.submitSearchText),"displaySearchText"in t&&n(16,v=t.displaySearchText),"hideSearchText"in t&&n(17,w=t.hideSearchText),"searchFormAction"in t&&n(18,S=t.searchFormAction),"enableSearch"in t&&n(0,U=t.enableSearch),"showSearch"in t&&n(24,_=t.showSearch),"$$scope"in t&&n(25,r=t.$$scope)},[U,i,l,a,u,h,$,d,g,f,p,m,x,b,y,T,v,w,S,function(){L&&q.focus()},A,L,q,c,_,r,o,()=>n(21,L=!L),function(t){P[t?"unshift":"push"]((()=>{q=t,n(22,q)}))}]}customElements.define("qc-piv-header",tt(class extends et{constructor(t){super(),X(this,t,yt,bt,s,{logoUrl:1,fullWidth:23,logoSrc:2,logoAlt:3,titleUrl:4,titleText:5,altLanguageText:6,altLanguageUrl:7,joinUsText:8,joinUsUrl:9,goToContent:10,goToContentAnchor:11,goToContentText:12,searchPlaceholder:13,searchInputName:14,submitSearchText:15,displaySearchText:16,hideSearchText:17,searchFormAction:18,enableSearch:0,showSearch:24,focusOnSearchInput:19})}get logoUrl(){return this.$$.ctx[1]}set logoUrl(t){this.$$set({logoUrl:t}),R()}get fullWidth(){return this.$$.ctx[23]}set fullWidth(t){this.$$set({fullWidth:t}),R()}get logoSrc(){return this.$$.ctx[2]}set logoSrc(t){this.$$set({logoSrc:t}),R()}get logoAlt(){return this.$$.ctx[3]}set logoAlt(t){this.$$set({logoAlt:t}),R()}get titleUrl(){return this.$$.ctx[4]}set titleUrl(t){this.$$set({titleUrl:t}),R()}get titleText(){return this.$$.ctx[5]}set titleText(t){this.$$set({titleText:t}),R()}get altLanguageText(){return this.$$.ctx[6]}set altLanguageText(t){this.$$set({altLanguageText:t}),R()}get altLanguageUrl(){return this.$$.ctx[7]}set altLanguageUrl(t){this.$$set({altLanguageUrl:t}),R()}get joinUsText(){return this.$$.ctx[8]}set joinUsText(t){this.$$set({joinUsText:t}),R()}get joinUsUrl(){return this.$$.ctx[9]}set joinUsUrl(t){this.$$set({joinUsUrl:t}),R()}get goToContent(){return this.$$.ctx[10]}set goToContent(t){this.$$set({goToContent:t}),R()}get goToContentAnchor(){return this.$$.ctx[11]}set goToContentAnchor(t){this.$$set({goToContentAnchor:t}),R()}get goToContentText(){return this.$$.ctx[12]}set goToContentText(t){this.$$set({goToContentText:t}),R()}get searchPlaceholder(){return this.$$.ctx[13]}set searchPlaceholder(t){this.$$set({searchPlaceholder:t}),R()}get searchInputName(){return this.$$.ctx[14]}set searchInputName(t){this.$$set({searchInputName:t}),R()}get submitSearchText(){return this.$$.ctx[15]}set submitSearchText(t){this.$$set({submitSearchText:t}),R()}get displaySearchText(){return this.$$.ctx[16]}set displaySearchText(t){this.$$set({displaySearchText:t}),R()}get hideSearchText(){return this.$$.ctx[17]}set hideSearchText(t){this.$$set({hideSearchText:t}),R()}get searchFormAction(){return this.$$.ctx[18]}set searchFormAction(t){this.$$set({searchFormAction:t}),R()}get enableSearch(){return this.$$.ctx[0]}set enableSearch(t){this.$$set({enableSearch:t}),R()}get showSearch(){return this.$$.ctx[24]}set showSearch(t){this.$$set({showSearch:t}),R()}get focusOnSearchInput(){return this.$$.ctx[19]}},{logoUrl:{attribute:"logo-url"},fullWidth:{attribute:"full-width"},logoSrc:{attribute:"logo-src"},logoAlt:{attribute:"logo-alt"},titleUrl:{attribute:"title-url"},titleText:{attribute:"title-text"},altLanguageText:{attribute:"alt-language-text"},altLanguageUrl:{attribute:"alt-language-url"},joinUsText:{attribute:"join-us-text"},joinUsUrl:{attribute:"join-us-url"},goToContent:{attribute:"go-to-content"},goToContentAnchor:{attribute:"go-to-content-anchor"},goToContentText:{attribute:"go-to-content-text"},searchPlaceholder:{attribute:"search-placeholder"},searchInputName:{attribute:"search-input-name"},submitSearchText:{attribute:"submit-search-text"},displaySearchText:{attribute:"display-search-text"},hideSearchText:{attribute:"hide-search-text"},searchFormAction:{attribute:"search-form-action"},enableSearch:{attribute:"enable-search"},showSearch:{attribute:"show-search"}},["links","search-zone"],["focusOnSearchInput"],!0));const Tt=t=>({}),vt=t=>({}),wt=t=>({}),St=t=>({});function Ut(t){let e,n,o,r,s,i,a,d,y,T;const w=t[8].default,S=l(w,t,t[7],null),U=t[8].logo,q=l(U,t,t[7],St),A=q||function(t){let e,n,o;return{c(){e=m("a"),n=m("img"),v(n,"class","logo-mo"),v(n,"alt",t[2]),c(n.src,o=t[1])||v(n,"src",o),v(n,"width",t[3]),v(n,"height",t[4]),v(e,"href",t[0])},m(t,o){f(t,e,o),g(e,n)},p(t,r){4&r&&v(n,"alt",t[2]),2&r&&!c(n.src,o=t[1])&&v(n,"src",o),8&r&&v(n,"width",t[3]),16&r&&v(n,"height",t[4]),1&r&&v(e,"href",t[0])},d(t){t&&p(e)}}}(t),L=t[8].copyright,k=l(L,t,t[7],vt),E=k||function(t){let e,n;return{c(){e=m("a"),n=x(t[5]),v(e,"href",t[6])},m(t,o){f(t,e,o),g(e,n)},p(t,o){32&o&&_(n,t[5]),64&o&&v(e,"href",t[6])},d(t){t&&p(e)}}}(t);return{c(){e=m("div"),n=m("div"),o=m("nav"),S&&S.c(),r=b(),s=m("div"),A&&A.c(),i=b(),a=m("span"),E&&E.c(),d=b(),y=m("link"),v(s,"class","logo"),v(a,"class","copyright"),v(n,"class","qc-container"),v(e,"class","qc-piv-footer qc-component"),v(y,"rel","stylesheet"),v(y,"href",""+(nt.cssRelativePath+nt.cssFileName))},m(t,c){f(t,e,c),g(e,n),g(n,o),S&&S.m(o,null),g(n,r),g(n,s),A&&A.m(s,null),g(n,i),g(n,a),E&&E.m(a,null),f(t,d,c),f(t,y,c),T=!0},p(t,[e]){S&&S.p&&(!T||128&e)&&h(S,w,t,t[7],T?u(w,t[7],e,null):$(t[7]),null),q?q.p&&(!T||128&e)&&h(q,U,t,t[7],T?u(U,t[7],e,wt):$(t[7]),St):A&&A.p&&(!T||31&e)&&A.p(t,T?e:-1),k?k.p&&(!T||128&e)&&h(k,L,t,t[7],T?u(L,t[7],e,Tt):$(t[7]),vt):E&&E.p&&(!T||96&e)&&E.p(t,T?e:-1)},i(t){T||(G(S,t),G(A,t),G(E,t),T=!0)},o(t){J(S,t),J(A,t),J(E,t),T=!1},d(t){t&&(p(e),p(d),p(y)),S&&S.d(t),A&&A.d(t),E&&E.d(t)}}}function _t(t,e,n){let{$$slots:o={},$$scope:r}=e;const s=nt.getPageLanguage();let{logoUrl:i="/",logoSrc:c=`${nt.imagesRelativePath}logo-quebec-piv-footer.svg`,logoAlt:l="Gouvernement du Québec",logoWidth:a="117",logoHeight:u="35",copyrightText:h="© Gouvernement du Québec, "+(new Date).getFullYear(),copyrightUrl:$=("fr"===s?"https://www.quebec.ca/droit-auteur":"https://www.quebec.ca/en/copyright")}=e;return t.$$set=t=>{"logoUrl"in t&&n(0,i=t.logoUrl),"logoSrc"in t&&n(1,c=t.logoSrc),"logoAlt"in t&&n(2,l=t.logoAlt),"logoWidth"in t&&n(3,a=t.logoWidth),"logoHeight"in t&&n(4,u=t.logoHeight),"copyrightText"in t&&n(5,h=t.copyrightText),"copyrightUrl"in t&&n(6,$=t.copyrightUrl),"$$scope"in t&&n(7,r=t.$$scope)},[i,c,l,a,u,h,$,r,o]}function qt(t){let e,n,o,r,s,i,c,a,d,x;const y=t[11].default,T=l(y,t,t[10],null);let w="true"===t[1]&&At(t);return{c(){e=m("div"),n=m("div"),o=m("div"),s=b(),i=m("div"),c=new A(!1),a=b(),T&&T.c(),d=b(),w&&w.c(),v(o,"class",r="qc-icon qc-"+t[0]+"-alert-icon"),v(o,"aria-hidden","true"),c.a=a,v(i,"class","qc-alert-content"),v(n,"class","qc-container qc-general-alert-elements"),v(e,"class","qc-general-alert "+t[5]),v(e,"role","alert"),v(e,"aria-label",t[7])},m(r,l){f(r,e,l),g(e,n),g(n,o),g(n,s),g(n,i),c.m(t[2],i),g(i,a),T&&T.m(i,null),g(n,d),w&&w.m(n,null),t[12](e),x=!0},p(t,e){(!x||1&e&&r!==(r="qc-icon qc-"+t[0]+"-alert-icon"))&&v(o,"class",r),(!x||4&e)&&c.p(t[2]),T&&T.p&&(!x||1024&e)&&h(T,y,t,t[10],x?u(y,t[10],e,null):$(t[10]),null),"true"===t[1]?w?w.p(t,e):(w=At(t),w.c(),w.m(n,null)):w&&(w.d(1),w=null)},i(t){x||(G(T,t),x=!0)},o(t){J(T,t),x=!1},d(n){n&&p(e),T&&T.d(n),w&&w.d(),t[12](null)}}}function At(e){let n,o,r,s,i;return{c(){n=m("div"),o=m("button"),r=m("span"),v(r,"aria-hidden","true"),v(r,"class","qc-icon qc-xclose-blue qc-close-alert-icon"),v(o,"type","button"),v(o,"class","qc-close"),v(o,"aria-label",e[6]),v(n,"class","qc-alert-close")},m(t,c){f(t,n,c),g(n,o),g(o,r),s||(i=y(o,"click",e[8]),s=!0)},p:t,d(t){t&&p(n),s=!1,i()}}}function Lt(t){let e,n,o,r=!t[4]&&qt(t);return{c(){r&&r.c(),e=b(),n=m("link"),v(n,"rel","stylesheet"),v(n,"href",""+(nt.cssRelativePath+nt.cssFileName))},m(t,s){r&&r.m(t,s),f(t,e,s),f(t,n,s),o=!0},p(t,[n]){t[4]?r&&(Q(),J(r,1,1,(()=>{r=null})),Y()):r?(r.p(t,n),16&n&&G(r,1)):(r=qt(t),r.c(),G(r,1),r.m(e.parentNode,e))},i(t){o||(G(r),o=!0)},o(t){J(r),o=!1},d(t){t&&(p(e),p(n)),r&&r.d(t)}}}function kt(t,e,n){let o,r,{$$slots:s={},$$scope:i}=e,{type:c="general",maskable:l="",content:a="",hide:u="false"}=e,h=""!==c?c:"general",$="fr"===nt.getPageLanguage()?"Fermer":"Close",d="fr"===nt.getPageLanguage()?"Information d'importance élevée":"Information of high importance",g="fr"===nt.getPageLanguage()?"Information importante":"Important information",f="general"===c?g:d;return t.$$set=t=>{"type"in t&&n(0,c=t.type),"maskable"in t&&n(1,l=t.maskable),"content"in t&&n(2,a=t.content),"hide"in t&&n(9,u=t.hide),"$$scope"in t&&n(10,i=t.$$scope)},t.$$.update=()=>{512&t.$$.dirty&&n(4,r="true"===u)},[c,l,a,o,r,h,$,f,function(){n(9,u="true"),o.dispatchEvent(new CustomEvent("qc.alert.hide",{bubbles:!0,composed:!0}))},u,i,s,function(t){P[t?"unshift":"push"]((()=>{o=t,n(3,o)}))}]}customElements.define("qc-piv-footer",tt(class extends et{constructor(t){super(),X(this,t,_t,Ut,s,{logoUrl:0,logoSrc:1,logoAlt:2,logoWidth:3,logoHeight:4,copyrightText:5,copyrightUrl:6})}get logoUrl(){return this.$$.ctx[0]}set logoUrl(t){this.$$set({logoUrl:t}),R()}get logoSrc(){return this.$$.ctx[1]}set logoSrc(t){this.$$set({logoSrc:t}),R()}get logoAlt(){return this.$$.ctx[2]}set logoAlt(t){this.$$set({logoAlt:t}),R()}get logoWidth(){return this.$$.ctx[3]}set logoWidth(t){this.$$set({logoWidth:t}),R()}get logoHeight(){return this.$$.ctx[4]}set logoHeight(t){this.$$set({logoHeight:t}),R()}get copyrightText(){return this.$$.ctx[5]}set copyrightText(t){this.$$set({copyrightText:t}),R()}get copyrightUrl(){return this.$$.ctx[6]}set copyrightUrl(t){this.$$set({copyrightUrl:t}),R()}},{logoUrl:{attribute:"logo-url"},logoSrc:{},logoAlt:{attribute:"logo-alt"},logoWidth:{attribute:"logo-width"},logoHeight:{attribute:"logo-height"},copyrightText:{attribute:"copyrightText"},copyrightUrl:{attribute:"copyright-url"}},["default","logo","copyright"],[],!0));customElements.define("qc-alert",tt(class extends et{constructor(t){super(),X(this,t,kt,Lt,s,{type:0,maskable:1,content:2,hide:9})}get type(){return this.$$.ctx[0]}set type(t){this.$$set({type:t}),R()}get maskable(){return this.$$.ctx[1]}set maskable(t){this.$$set({maskable:t}),R()}get content(){return this.$$.ctx[2]}set content(t){this.$$set({content:t}),R()}get hide(){return this.$$.ctx[9]}set hide(t){this.$$set({hide:t}),R()}},{type:{},maskable:{},content:{},hide:{}},["default"],[],!0));const{window:Et}=d;function Ct(e){let n,r,s,i,c,l,a;return{c(){n=m("a"),r=m("span"),s=x(e[0]),i=b(),c=m("link"),v(n,"href"," "),v(n,"class","qc-to-top qc-icon qc-arrow-up-white"),v(n,"tabindex","0"),v(n,"demo",e[1]),q(n,"visible",e[2]),v(c,"rel","stylesheet"),v(c,"href",""+(nt.cssRelativePath+nt.cssFileName))},m(t,o){f(t,n,o),g(n,r),g(r,s),e[5](n),f(t,i,o),f(t,c,o),l||(a=[y(Et,"scroll",e[4]),y(n,"click",T(Pt)),y(n,"keydown",Nt)],l=!0)},p(t,[e]){1&e&&_(s,t[0]),2&e&&v(n,"demo",t[1]),4&e&&q(n,"visible",t[2])},i:t,o:t,d(t){t&&(p(n),p(i),p(c)),e[5](null),l=!1,o(a)}}}function Pt(){window.scrollTo({top:0,behavior:"smooth"})}function Nt(t){switch(t.code){case"Enter":case"Space":t.preventDefault(),Pt()}}function jt(t,e,n){const o=nt.getPageLanguage();let r,{alt:s=("fr"===o?"Retour en haut":"Back to top"),demo:i="false"}=e,c=0,l="true"===i,a=l;return t.$$set=t=>{"alt"in t&&n(0,s=t.alt),"demo"in t&&n(1,i=t.demo)},[s,i,l,r,function(){if("true"===i)return;let t=window.innerHeight+window.scrollY>=document.body.offsetHeight-1;n(2,l=c>window.scrollY&&(document.body.scrollTop>0||document.documentElement.scrollTop>0)&&!t),!l&&a&&r.blur(),a=l,c=window.scrollY},function(t){P[t?"unshift":"push"]((()=>{r=t,n(3,r)}))}]}customElements.define("qc-to-top",tt(class extends et{constructor(t){super(),X(this,t,jt,Ct,s,{alt:0,demo:1})}get alt(){return this.$$.ctx[0]}set alt(t){this.$$set({alt:t}),R()}get demo(){return this.$$.ctx[1]}set demo(t){this.$$set({demo:t}),R()}},{alt:{},demo:{}},[],[],!0))}();
1
+ !function(){"use strict";function t(){}function e(t,e){for(const n in e)t[n]=e[n];return t}function n(t){return t()}function i(){return Object.create(null)}function o(t){t.forEach(n)}function r(t){return"function"==typeof t}function l(t,e){return t!=t?e==e:t!==e||t&&"object"==typeof t||"function"==typeof t}let s;function c(t,e){return t===e||(s||(s=document.createElement("a")),s.href=e,t===s.href)}function a(t,e,n,i){if(t){const o=u(t,e,n,i);return t[0](o)}}function u(t,n,i,o){return t[1]&&o?e(i.ctx.slice(),t[1](o(n))):i.ctx}function h(t,e,n,i){if(t[2]&&i){const o=t[2](i(n));if(void 0===e.dirty)return o;if("object"==typeof o){const t=[],n=Math.max(e.dirty.length,o.length);for(let i=0;i<n;i+=1)t[i]=e.dirty[i]|o[i];return t}return e.dirty|o}return e.dirty}function $(t,e,n,i,o,r){if(o){const l=u(e,n,i,r);t.p(l,o)}}function d(t){if(t.ctx.length>32){const e=[],n=t.ctx.length/32;for(let t=0;t<n;t++)e[t]=-1;return e}return-1}function g(t){const e={};for(const n in t)"$"!==n[0]&&(e[n]=t[n]);return e}function f(t,e){const n={};e=new Set(e);for(const i in t)e.has(i)||"$"===i[0]||(n[i]=t[i]);return n}const p="undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:global;function m(t,e){t.appendChild(e)}function b(t,e,n){t.insertBefore(e,n||null)}function x(t){t.parentNode&&t.parentNode.removeChild(t)}function y(t){return document.createElement(t)}function v(t){return document.createTextNode(t)}function T(){return v(" ")}function w(){return v("")}function S(t,e,n,i){return t.addEventListener(e,n,i),()=>t.removeEventListener(e,n,i)}function L(t){return function(e){return e.preventDefault(),t.call(this,e)}}function k(t,e,n){null==n?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}const A=["width","height"];function E(t,e){const n=Object.getOwnPropertyDescriptors(t.__proto__);for(const i in e)null==e[i]?t.removeAttribute(i):"style"===i?t.style.cssText=e[i]:"__value"===i?t.value=t[i]=e[i]:n[i]&&n[i].set&&-1===A.indexOf(i)?t[i]=e[i]:k(t,i,e[i])}function C(t,e){e=""+e,t.data!==e&&(t.data=e)}function U(t,e){t.value=null==e?"":e}function _(t,e,n,i){null==n?t.style.removeProperty(e):t.style.setProperty(e,n,"")}function q(t,e,n){t.classList.toggle(e,!!n)}class z{is_svg=!1;e=void 0;n=void 0;t=void 0;a=void 0;constructor(t=!1){this.is_svg=t,this.e=this.n=null}c(t){this.h(t)}m(t,e,n=null){var i;this.e||(this.is_svg?this.e=(i=e.nodeName,document.createElementNS("http://www.w3.org/2000/svg",i)):this.e=y(11===e.nodeType?"TEMPLATE":e.nodeName),this.t="TEMPLATE"!==e.tagName?e:e.content,this.c(t)),this.i(n)}h(t){this.e.innerHTML=t,this.n=Array.from("TEMPLATE"===this.e.nodeName?this.e.content.childNodes:this.e.childNodes)}i(t){for(let e=0;e<this.n.length;e+=1)b(this.t,this.n[e],t)}p(t){this.d(),this.h(t),this.i(this.a)}d(){this.n.forEach(x)}}let P;function N(t){P=t}function j(t){(function(){if(!P)throw new Error("Function called outside component initialization");return P})().$$.on_mount.push(t)}function W(t,e){const n=t.$$.callbacks[e.type];n&&n.slice().forEach((t=>t.call(this,e)))}const I=[],B=[];let O=[];const H=[],R=Promise.resolve();let F=!1;function M(t){O.push(t)}const D=new Set;let Q=0;function J(){if(0!==Q)return;const t=P;do{try{for(;Q<I.length;){const t=I[Q];Q++,N(t),Y(t.$$)}}catch(t){throw I.length=0,Q=0,t}for(N(null),I.length=0,Q=0;B.length;)B.pop()();for(let t=0;t<O.length;t+=1){const e=O[t];D.has(e)||(D.add(e),e())}O.length=0}while(I.length);for(;H.length;)H.pop()();F=!1,D.clear(),N(t)}function Y(t){if(null!==t.fragment){t.update(),o(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(M)}}const G=new Set;let K,V;function X(){K={r:0,c:[],p:K}}function Z(){K.r||o(K.c),K=K.p}function tt(t,e){t&&t.i&&(G.delete(t),t.i(e))}function et(t,e,n,i){if(t&&t.o){if(G.has(t))return;G.add(t),K.c.push((()=>{G.delete(t),i&&(n&&t.d(1),i())})),t.o(e)}else i&&i()}function nt(t){return void 0!==t?.length?t:Array.from(t)}function it(t,e){const n={},i={},o={$$scope:1};let r=t.length;for(;r--;){const l=t[r],s=e[r];if(s){for(const t in l)t in s||(i[t]=1);for(const t in s)o[t]||(n[t]=s[t],o[t]=1);t[r]=s}else for(const t in l)o[t]=1}for(const t in i)t in n||(n[t]=void 0);return n}function ot(t){return"object"==typeof t&&null!==t?t:{}}function rt(t){t&&t.c()}function lt(t,e,i){const{fragment:l,after_update:s}=t.$$;l&&l.m(e,i),M((()=>{const e=t.$$.on_mount.map(n).filter(r);t.$$.on_destroy?t.$$.on_destroy.push(...e):o(e),t.$$.on_mount=[]})),s.forEach(M)}function st(t,e){const n=t.$$;null!==n.fragment&&(!function(t){const e=[],n=[];O.forEach((i=>-1===t.indexOf(i)?e.push(i):n.push(i))),n.forEach((t=>t())),O=e}(n.after_update),o(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function ct(t,e){-1===t.$$.dirty[0]&&(I.push(t),F||(F=!0,R.then(J)),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function at(e,n,r,l,s,c,a=null,u=[-1]){const h=P;N(e);const $=e.$$={fragment:null,ctx:[],props:c,update:t,not_equal:s,bound:i(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(n.context||(h?h.$$.context:[])),callbacks:i(),dirty:u,skip_bound:!1,root:n.target||h.$$.root};a&&a($.root);let d=!1;if($.ctx=r?r(e,n.props||{},((t,n,...i)=>{const o=i.length?i[0]:n;return $.ctx&&s($.ctx[t],$.ctx[t]=o)&&(!$.skip_bound&&$.bound[t]&&$.bound[t](o),d&&ct(e,t)),n})):[],$.update(),d=!0,o($.before_update),$.fragment=!!l&&l($.ctx),n.target){if(n.hydrate){const t=function(t){return Array.from(t.childNodes)}(n.target);$.fragment&&$.fragment.l(t),t.forEach(x)}else $.fragment&&$.fragment.c();n.intro&&tt(e.$$.fragment),lt(e,n.target,n.anchor),J()}N(h)}function ut(t,e,n,i){const o=n[t]?.type;if(e="Boolean"===o&&"boolean"!=typeof e?null!=e:e,!i||!n[t])return e;if("toAttribute"===i)switch(o){case"Object":case"Array":return null==e?null:JSON.stringify(e);case"Boolean":return e?"":null;case"Number":return null==e?null:e;default:return e}else switch(o){case"Object":case"Array":return e&&JSON.parse(e);case"Boolean":default:return e;case"Number":return null!=e?+e:e}}function ht(t,e,n,i,o,r){let l=class extends V{constructor(){super(t,n,o),this.$$p_d=e}static get observedAttributes(){return Object.keys(e).map((t=>(e[t].attribute||t).toLowerCase()))}};return Object.keys(e).forEach((t=>{Object.defineProperty(l.prototype,t,{get(){return this.$$c&&t in this.$$c?this.$$c[t]:this.$$d[t]},set(n){n=ut(t,n,e),this.$$d[t]=n,this.$$c?.$set({[t]:n})}})})),i.forEach((t=>{Object.defineProperty(l.prototype,t,{get(){return this.$$c?.[t]}})})),t.element=l,l}"function"==typeof HTMLElement&&(V=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;constructor(t,e,n){super(),this.$$ctor=t,this.$$s=e,n&&this.attachShadow({mode:"open"})}addEventListener(t,e,n){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(e),this.$$c){const n=this.$$c.$on(t,e);this.$$l_u.set(e,n)}super.addEventListener(t,e,n)}removeEventListener(t,e,n){if(super.removeEventListener(t,e,n),this.$$c){const t=this.$$l_u.get(e);t&&(t(),this.$$l_u.delete(e))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){if(await Promise.resolve(),!this.$$cn||this.$$c)return;function t(t){return()=>{let e;return{c:function(){e=y("slot"),"default"!==t&&k(e,"name",t)},m:function(t,n){b(t,e,n)},d:function(t){t&&x(e)}}}}const e={},n=function(t){const e={};return t.childNodes.forEach((t=>{e[t.slot||"default"]=!0})),e}(this);for(const o of this.$$s)o in n&&(e[o]=[t(o)]);for(const r of this.attributes){const l=this.$$g_p(r.name);l in this.$$d||(this.$$d[l]=ut(l,r.value,this.$$p_d,"toProp"))}for(const s in this.$$p_d)s in this.$$d||void 0===this[s]||(this.$$d[s]=this[s],delete this[s]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:{...this.$$d,$$slots:e,$$scope:{ctx:[]}}});const i=()=>{this.$$r=!0;for(const t in this.$$p_d)if(this.$$d[t]=this.$$c.$$.ctx[this.$$c.$$.props[t]],this.$$p_d[t].reflect){const e=ut(t,this.$$d[t],this.$$p_d,"toAttribute");null==e?this.removeAttribute(this.$$p_d[t].attribute||t):this.setAttribute(this.$$p_d[t].attribute||t,e)}this.$$r=!1};this.$$c.$$.after_update.push(i),i();for(const c in this.$$l)for(const a of this.$$l[c]){const u=this.$$c.$on(c,a);this.$$l_u.set(a,u)}this.$$l={}}}attributeChangedCallback(t,e,n){this.$$r||(t=this.$$g_p(t),this.$$d[t]=ut(t,n,this.$$p_d,"toProp"),this.$$c?.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then((()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)}))}$$g_p(t){return Object.keys(this.$$p_d).find((e=>this.$$p_d[e].attribute===t||!this.$$p_d[e].attribute&&e.toLowerCase()===t))||t}});class $t{$$=void 0;$$set=void 0;$destroy(){st(this,1),this.$destroy=t}$on(e,n){if(!r(n))return t;const i=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return i.push(n),()=>{const t=i.indexOf(n);-1!==t&&i.splice(t,1)}}$set(t){var e;this.$$set&&(e=t,0!==Object.keys(e).length)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}"undefined"!=typeof window&&(window.__svelte||(window.__svelte={v:new Set})).v.add("4");class dt{static assetsBasePath=document.currentScript.getAttribute("sdg-assets-base-path")||new URL(document.currentScript.src).pathname.split("/").slice(0,-2).join("/")||".";static cssRelativePath=`${this.assetsBasePath}/css/`.replace("//","/");static imagesRelativePath=`${this.assetsBasePath}/img/`.replace("//","/");static cssFileName=document.currentScript.getAttribute("sdg-css-filename")||"qc-sdg.min.css";static cssPath=document.currentScript.getAttribute("sdg-css-path")||this.cssRelativePath+this.cssFileName;static sharedTexts={openInNewTab:{fr:"Ce lien s’ouvrira dans un nouvel onglet.",en:"This link will open in a new tab."}};static getPageLanguage(){return document.getElementsByTagName("html")[0].getAttribute("lang")||"fr"}static isTruthy(t){return"boolean"==typeof t?t:"string"==typeof t?"true"===t.toLowerCase()||!!parseInt(t):"number"==typeof t&&!!t}}function gt(n){let i,o,r=[{role:"img"},{class:"qc-icon"},{"aria-label":n[1]},{style:o="--img-color:var(--qc-color-"+n[2]+"); --img-width:"+n[3]+"; --img-height:"+n[4]+";"},{"data-img-type":n[0]},n[5],n[6]],l={};for(let t=0;t<r.length;t+=1)l=e(l,r[t]);return{c(){i=y("div"),E(i,l)},m(t,e){b(t,i,e)},p(t,[e]){E(i,l=it(r,[{role:"img"},{class:"qc-icon"},2&e&&{"aria-label":t[1]},28&e&&o!==(o="--img-color:var(--qc-color-"+t[2]+"); --img-width:"+t[3]+"; --img-height:"+t[4]+";")&&{style:o},1&e&&{"data-img-type":t[0]},32&e&&t[5],64&e&&t[6]]))},i:t,o:t,d(t){t&&x(i)}}}function ft(t,n,i){let o;const r=["type","label","size","color","width","height"];let l=f(n,r),{type:s,label:c,size:a="md",color:u="text-primary",width:h="auto",height:$="auto"}=n;return t.$$set=t=>{n=e(e({},n),g(t)),i(6,l=f(n,r)),"type"in t&&i(0,s=t.type),"label"in t&&i(1,c=t.label),"size"in t&&i(7,a=t.size),"color"in t&&i(2,u=t.color),"width"in t&&i(3,h=t.width),"height"in t&&i(4,$=t.height)},t.$$.update=()=>{136&t.$$.dirty&&i(5,o="auto"===h?{"data-img-size":a}:{})},[s,c,u,h,$,o,l,a]}class pt extends $t{constructor(t){super(),at(this,t,ft,gt,l,{type:0,label:1,size:7,color:2,width:3,height:4})}get type(){return this.$$.ctx[0]}set type(t){this.$$set({type:t}),J()}get label(){return this.$$.ctx[1]}set label(t){this.$$set({label:t}),J()}get size(){return this.$$.ctx[7]}set size(t){this.$$set({size:t}),J()}get color(){return this.$$.ctx[2]}set color(t){this.$$set({color:t}),J()}get width(){return this.$$.ctx[3]}set width(t){this.$$set({width:t}),J()}get height(){return this.$$.ctx[4]}set height(t){this.$$set({height:t}),J()}}function mt(t){let e,n=t[0],i=t[0]&&bt(t);return{c(){i&&i.c(),e=w()},m(t,n){i&&i.m(t,n),b(t,e,n)},p(t,o){t[0]?n?l(n,t[0])?(i.d(1),i=bt(t),n=t[0],i.c(),i.m(e.parentNode,e)):i.p(t,o):(i=bt(t),n=t[0],i.c(),i.m(e.parentNode,e)):n&&(i.d(1),i=null,n=t[0])},d(t){t&&x(e),i&&i.d(t)}}}function bt(t){let e;return{c(){e=y(t[0])},m(n,i){b(n,e,i),e.innerHTML=t[1]},p(t,n){2&n&&(e.innerHTML=t[1])},d(t){t&&x(e)}}}function xt(t){let e,n,i,o,r,l,s,c,u,g,f,p,v,w;o=new pt({props:{type:t[6],label:t[5],size:"nm"}});let S=t[1]&&mt(t);const L=t[12].default,A=a(L,t,t[11],null);return{c(){e=y("div"),n=y("div"),i=y("div"),rt(o.$$.fragment),r=T(),l=y("div"),s=y("div"),S&&S.c(),c=T(),u=new z(!1),g=T(),A&&A.c(),p=T(),v=y("link"),k(i,"class","qc-icon"),k(n,"class","icon-container"),u.a=g,k(s,"class","content"),k(s,"role",t[4]),k(l,"class","content-container"),k(e,"class",f="qc-component qc-notice qc-"+t[7]),k(e,"tabindex","0"),k(v,"rel","stylesheet"),k(v,"href",dt.cssPath)},m(a,h){b(a,e,h),m(e,n),m(n,i),lt(o,i,null),m(e,r),m(e,l),m(l,s),S&&S.m(s,null),m(s,c),u.m(t[2],s),m(s,g),A&&A.m(s,null),t[13](s),b(a,p,h),b(a,v,h),w=!0},p(t,[n]){const i={};64&n&&(i.type=t[6]),32&n&&(i.label=t[5]),o.$set(i),t[1]?S?S.p(t,n):(S=mt(t),S.c(),S.m(s,c)):S&&(S.d(1),S=null),(!w||4&n)&&u.p(t[2]),A&&A.p&&(!w||2048&n)&&$(A,L,t,t[11],w?h(L,t[11],n,null):d(t[11]),null),(!w||16&n)&&k(s,"role",t[4]),(!w||128&n&&f!==(f="qc-component qc-notice qc-"+t[7]))&&k(e,"class",f)},i(t){w||(tt(o.$$.fragment,t),tt(A,t),w=!0)},o(t){et(o.$$.fragment,t),et(A,t),w=!1},d(n){n&&(x(e),x(p),x(v)),st(o),S&&S.d(),A&&A.d(n),t[13](null)}}}function yt(t,e,n){let i,o,r,l,s,{$$slots:c={},$$scope:a}=e;const u="fr"==dt.getPageLanguage(),h="h2",$="information",d={advice:u?"Avis conseil":"Advisory notice",note:u?"Avis explicatif":"Explanatory notice",information:u?"Avis général":"General notice",warning:u?"Avis d’avertissement":"Warning notice",success:u?"Avis de réussite":"Success notice",error:u?"Avis d’erreur":"Error notice"},g=Object.keys(d);let f,{title:p="",type:m=$,content:b="",header:x=h,icon:y}=e;return t.$$set=t=>{"title"in t&&n(1,p=t.title),"type"in t&&n(8,m=t.type),"content"in t&&n(2,b=t.content),"header"in t&&n(0,x=t.header),"icon"in t&&n(9,y=t.icon),"$$scope"in t&&n(11,a=t.$$scope)},t.$$.update=()=>{if(1&t.$$.dirty&&n(0,x=x.match(/h[1-6]/)?x:h),256&t.$$.dirty&&n(8,m=g.includes(m)?m:$),256&t.$$.dirty&&n(4,i="success"===m?"status":"error"===m?"alert":null),24&t.$$.dirty&&i&&f){const t=Array.from(f.childNodes);n(3,f.innerHTML="",f),t.forEach((t=>f.appendChild(t)))}256&t.$$.dirty&&n(10,o="advice"===m||"note"===m),1280&t.$$.dirty&&n(7,r=o?"neutral":m),1792&t.$$.dirty&&n(6,l=o?y??"note":m),256&t.$$.dirty&&n(5,s=d[m]??d.information)},[x,p,b,f,i,s,l,r,m,y,o,a,c,function(t){B[t?"unshift":"push"]((()=>{f=t,n(3,f),n(4,i),n(8,m)}))}]}customElements.define("qc-icon",ht(pt,{type:{attribute:"icon"},label:{attribute:"label"},size:{attribute:"size"},color:{attribute:"color"},width:{attribute:"width"},height:{attribute:"height"}},[],[],!1));customElements.define("qc-notice",ht(class extends $t{constructor(t){super(),at(this,t,yt,xt,l,{title:1,type:8,content:2,header:0,icon:9})}get title(){return this.$$.ctx[1]}set title(t){this.$$set({title:t}),J()}get type(){return this.$$.ctx[8]}set type(t){this.$$set({type:t}),J()}get content(){return this.$$.ctx[2]}set content(t){this.$$set({content:t}),J()}get header(){return this.$$.ctx[0]}set header(t){this.$$set({header:t}),J()}get icon(){return this.$$.ctx[9]}set icon(t){this.$$set({icon:t}),J()}},{title:{},type:{},content:{},header:{},icon:{}},["default"],[],!0));const vt=t=>({}),Tt=t=>({}),wt=t=>({}),St=t=>({});function Lt(t){let e,n,i;return{c(){e=y("div"),n=y("a"),i=v(t[13]),k(n,"href",t[12]),k(e,"class","go-to-content")},m(t,o){b(t,e,o),m(e,n),m(n,i)},p(t,e){8192&e&&C(i,t[13]),4096&e&&k(n,"href",t[12])},d(t){t&&x(e)}}}function kt(t){let e,n,i;return{c(){e=y("div"),n=y("a"),i=v(t[5]),k(n,"href",t[4]),k(n,"class","title"),k(e,"class","title")},m(t,o){b(t,e,o),m(e,n),m(n,i)},p(t,e){32&e&&C(i,t[5]),16&e&&k(n,"href",t[4])},d(t){t&&x(e)}}}function At(t){let e,n,i,r,l,s=(t[18]?t[15]:t[14])+"";return{c(){e=y("a"),n=y("span"),i=v(s),k(e,"class","qc-search"),k(e,"href","/"),k(e,"role","button")},m(o,s){b(o,e,s),m(e,n),m(n,i),r||(l=[S(e,"click",L(t[23])),S(e,"click",t[16])],r=!0)},p(t,e){311296&e&&s!==(s=(t[18]?t[15]:t[14])+"")&&C(i,s)},d(t){t&&x(e),r=!1,o(l)}}}function Et(t){let e,n,i,o=t[8]&&Ct(t),r=t[10]&&Ut(t);return{c(){e=y("nav"),n=y("ul"),o&&o.c(),i=T(),r&&r.c(),k(e,"aria-label",t[6])},m(t,l){b(t,e,l),m(e,n),o&&o.m(n,null),m(n,i),r&&r.m(n,null)},p(t,l){t[8]?o?o.p(t,l):(o=Ct(t),o.c(),o.m(n,i)):o&&(o.d(1),o=null),t[10]?r?r.p(t,l):(r=Ut(t),r.c(),r.m(n,null)):r&&(r.d(1),r=null),64&l&&k(e,"aria-label",t[6])},d(t){t&&x(e),o&&o.d(),r&&r.d()}}}function Ct(t){let e,n,i;return{c(){e=y("li"),n=y("a"),i=v(t[7]),k(n,"href",t[8])},m(t,o){b(t,e,o),m(e,n),m(n,i)},p(t,e){128&e&&C(i,t[7]),256&e&&k(n,"href",t[8])},d(t){t&&x(e)}}}function Ut(t){let e,n,i;return{c(){e=y("li"),n=y("a"),i=v(t[9]),k(n,"href",t[10])},m(t,o){b(t,e,o),m(e,n),m(n,i)},p(t,e){512&e&&C(i,t[9]),1024&e&&k(n,"href",t[10])},d(t){t&&x(e)}}}function _t(t){let e,n;const i=t[22]["search-zone"],o=a(i,t,t[21],Tt);return{c(){e=y("div"),o&&o.c(),k(e,"class","search-zone")},m(t,i){b(t,e,i),o&&o.m(e,null),n=!0},p(t,e){o&&o.p&&(!n||2097152&e)&&$(o,i,t,t[21],n?h(i,t[21],e,vt):d(t[21]),Tt)},i(t){n||(tt(o,t),n=!0)},o(t){et(o,t),n=!1},d(t){t&&x(e),o&&o.d(t)}}}function qt(t){let e,n,i,o,r,l,s,c,u,g,f,p,v,S,L,A,E,C="true"==t[11]&&Lt(t),U=t[5]&&kt(t),q="true"==t[0]&&At(t);const z=t[22].links,P=a(z,t,t[21],St),N=P||function(t){let e,n=(t[10]||t[8])&&Et(t);return{c(){n&&n.c(),e=w()},m(t,i){n&&n.m(t,i),b(t,e,i)},p(t,i){t[10]||t[8]?n?n.p(t,i):(n=Et(t),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null)},d(t){t&&x(e),n&&n.d(t)}}}(t);let j=t[18]&&_t(t);return{c(){e=y("div"),n=y("div"),C&&C.c(),i=T(),o=y("div"),r=y("div"),l=y("a"),s=y("div"),c=T(),U&&U.c(),u=T(),g=y("div"),q&&q.c(),f=T(),p=y("div"),N&&N.c(),v=T(),S=y("div"),j&&j.c(),L=T(),A=y("link"),k(s,"role","img"),k(s,"aria-label",t[3]),k(l,"href",t[1]),k(l,"class","logo"),k(l,"target","_blank"),k(l,"rel","noreferrer"),k(r,"class","signature-group"),k(p,"class","links"),k(g,"class","right-section"),k(o,"class","piv-top"),k(S,"class","piv-bottom"),k(n,"class",t[17]),k(e,"role","banner"),k(e,"class","qc-piv-header qc-component"),_(e,"--logo-src","url("+t[2]+")"),k(A,"rel","stylesheet"),k(A,"href",dt.cssPath)},m(t,a){b(t,e,a),m(e,n),C&&C.m(n,null),m(n,i),m(n,o),m(o,r),m(r,l),m(l,s),m(r,c),U&&U.m(r,null),m(o,u),m(o,g),q&&q.m(g,null),m(g,f),m(g,p),N&&N.m(p,null),m(n,v),m(n,S),j&&j.m(S,null),b(t,L,a),b(t,A,a),E=!0},p(t,[o]){"true"==t[11]?C?C.p(t,o):(C=Lt(t),C.c(),C.m(n,i)):C&&(C.d(1),C=null),(!E||8&o)&&k(s,"aria-label",t[3]),(!E||2&o)&&k(l,"href",t[1]),t[5]?U?U.p(t,o):(U=kt(t),U.c(),U.m(r,null)):U&&(U.d(1),U=null),"true"==t[0]?q?q.p(t,o):(q=At(t),q.c(),q.m(g,f)):q&&(q.d(1),q=null),P?P.p&&(!E||2097152&o)&&$(P,z,t,t[21],E?h(z,t[21],o,wt):d(t[21]),St):N&&N.p&&(!E||1984&o)&&N.p(t,E?o:-1),t[18]?j?(j.p(t,o),262144&o&&tt(j,1)):(j=_t(t),j.c(),tt(j,1),j.m(S,null)):j&&(X(),et(j,1,1,(()=>{j=null})),Z()),(!E||131072&o)&&k(n,"class",t[17]),(!E||4&o)&&_(e,"--logo-src","url("+t[2]+")")},i(t){E||(tt(N,t),tt(j),E=!0)},o(t){et(N,t),et(j),E=!1},d(t){t&&(x(e),x(L),x(A)),C&&C.d(),U&&U.d(),q&&q.d(),N&&N.d(t),j&&j.d()}}}function zt(t,e,n){let{$$slots:i={},$$scope:o}=e;const r=dt.getPageLanguage();let{logoUrl:l="/",fullWidth:s="false",logoSrc:c=dt.imagesRelativePath+"QUEBEC_blanc.svg",logoAlt:a=("fr"===r?"Logo du gouvernement du Québec":"Logo of government of Québec"),titleUrl:u="/",titleText:h="",linksLabel:$=("fr"===r?"Navigation PIV":"PIV navigation"),altLanguageText:d=("fr"===r?"English":"Français"),altLanguageUrl:g="",joinUsText:f=("fr"===r?"Nous joindre":"Contact us"),joinUsUrl:p="",goToContent:m="true",goToContentAnchor:b="#main",goToContentText:x=("fr"===r?"Passer au contenu":"Skip to content"),displaySearchText:y=("fr"===r?"Cliquer pour faire une recherche":"Click to search"),hideSearchText:v=("fr"===r?"Masquer la barre de recherche":"Hide search bar"),enableSearch:T="false",showSearch:w="false"}=e;let S="qc-container",L=!1;j((()=>{n(17,S+="true"===s?"-fluid":""),"true"===w&&(n(0,T="true"),n(18,L=!0))}));return t.$$set=t=>{"logoUrl"in t&&n(1,l=t.logoUrl),"fullWidth"in t&&n(19,s=t.fullWidth),"logoSrc"in t&&n(2,c=t.logoSrc),"logoAlt"in t&&n(3,a=t.logoAlt),"titleUrl"in t&&n(4,u=t.titleUrl),"titleText"in t&&n(5,h=t.titleText),"linksLabel"in t&&n(6,$=t.linksLabel),"altLanguageText"in t&&n(7,d=t.altLanguageText),"altLanguageUrl"in t&&n(8,g=t.altLanguageUrl),"joinUsText"in t&&n(9,f=t.joinUsText),"joinUsUrl"in t&&n(10,p=t.joinUsUrl),"goToContent"in t&&n(11,m=t.goToContent),"goToContentAnchor"in t&&n(12,b=t.goToContentAnchor),"goToContentText"in t&&n(13,x=t.goToContentText),"displaySearchText"in t&&n(14,y=t.displaySearchText),"hideSearchText"in t&&n(15,v=t.hideSearchText),"enableSearch"in t&&n(0,T=t.enableSearch),"showSearch"in t&&n(20,w=t.showSearch),"$$scope"in t&&n(21,o=t.$$scope)},[T,l,c,a,u,h,$,d,g,f,p,m,b,x,y,v,function(){L&&document.querySelector('[slot="search-zone"] input')?.focus()},S,L,s,w,o,i,()=>n(18,L=!L)]}customElements.define("qc-piv-header",ht(class extends $t{constructor(t){super(),at(this,t,zt,qt,l,{logoUrl:1,fullWidth:19,logoSrc:2,logoAlt:3,titleUrl:4,titleText:5,linksLabel:6,altLanguageText:7,altLanguageUrl:8,joinUsText:9,joinUsUrl:10,goToContent:11,goToContentAnchor:12,goToContentText:13,displaySearchText:14,hideSearchText:15,enableSearch:0,showSearch:20,focusOnSearchInput:16})}get logoUrl(){return this.$$.ctx[1]}set logoUrl(t){this.$$set({logoUrl:t}),J()}get fullWidth(){return this.$$.ctx[19]}set fullWidth(t){this.$$set({fullWidth:t}),J()}get logoSrc(){return this.$$.ctx[2]}set logoSrc(t){this.$$set({logoSrc:t}),J()}get logoAlt(){return this.$$.ctx[3]}set logoAlt(t){this.$$set({logoAlt:t}),J()}get titleUrl(){return this.$$.ctx[4]}set titleUrl(t){this.$$set({titleUrl:t}),J()}get titleText(){return this.$$.ctx[5]}set titleText(t){this.$$set({titleText:t}),J()}get linksLabel(){return this.$$.ctx[6]}set linksLabel(t){this.$$set({linksLabel:t}),J()}get altLanguageText(){return this.$$.ctx[7]}set altLanguageText(t){this.$$set({altLanguageText:t}),J()}get altLanguageUrl(){return this.$$.ctx[8]}set altLanguageUrl(t){this.$$set({altLanguageUrl:t}),J()}get joinUsText(){return this.$$.ctx[9]}set joinUsText(t){this.$$set({joinUsText:t}),J()}get joinUsUrl(){return this.$$.ctx[10]}set joinUsUrl(t){this.$$set({joinUsUrl:t}),J()}get goToContent(){return this.$$.ctx[11]}set goToContent(t){this.$$set({goToContent:t}),J()}get goToContentAnchor(){return this.$$.ctx[12]}set goToContentAnchor(t){this.$$set({goToContentAnchor:t}),J()}get goToContentText(){return this.$$.ctx[13]}set goToContentText(t){this.$$set({goToContentText:t}),J()}get displaySearchText(){return this.$$.ctx[14]}set displaySearchText(t){this.$$set({displaySearchText:t}),J()}get hideSearchText(){return this.$$.ctx[15]}set hideSearchText(t){this.$$set({hideSearchText:t}),J()}get enableSearch(){return this.$$.ctx[0]}set enableSearch(t){this.$$set({enableSearch:t}),J()}get showSearch(){return this.$$.ctx[20]}set showSearch(t){this.$$set({showSearch:t}),J()}get focusOnSearchInput(){return this.$$.ctx[16]}},{logoUrl:{attribute:"logo-url"},fullWidth:{attribute:"full-width"},logoSrc:{attribute:"logo-src"},logoAlt:{attribute:"logo-alt"},titleUrl:{attribute:"title-url"},titleText:{attribute:"title-text"},linksLabel:{attribute:"links-label"},altLanguageText:{attribute:"alt-language-text"},altLanguageUrl:{attribute:"alt-language-url"},joinUsText:{attribute:"join-us-text"},joinUsUrl:{attribute:"join-us-url"},goToContent:{attribute:"go-to-content"},goToContentAnchor:{attribute:"go-to-content-anchor"},goToContentText:{attribute:"go-to-content-text"},displaySearchText:{attribute:"display-search-text"},hideSearchText:{attribute:"hide-search-text"},enableSearch:{attribute:"enable-search"},showSearch:{attribute:"show-search"}},["links","search-zone"],["focusOnSearchInput"],!0));const Pt=t=>({}),Nt=t=>({});function jt(t,e,n){const i=t.slice();return i[11]=e[n][0],i[12]=e[n][1],i}function Wt(t){let e,n,i;return{c(){e=y("img"),c(e.src,n=t[12])||k(e,"src",n),k(e,"alt",t[3]),k(e,"class",i="qc-"+t[11]+"-theme-show")},m(t,n){b(t,e,n)},p(t,o){6&o&&!c(e.src,n=t[12])&&k(e,"src",n),8&o&&k(e,"alt",t[3]),6&o&&i!==(i="qc-"+t[11]+"-theme-show")&&k(e,"class",i)},d(t){t&&x(e)}}}function It(t){let e,n,i,o,r,l,s,c;const u=t[9].default,g=a(u,t,t[8],null);let f=nt([["light",t[1]],["dark",t[2]]]),p=[];for(let e=0;e<2;e+=1)p[e]=Wt(jt(t,f,e));const w=t[9].copyright,S=a(w,t,t[8],Nt),L=S||function(t){let e,n;return{c(){e=y("a"),n=v(t[4]),k(e,"href",t[7])},m(t,i){b(t,e,i),m(e,n)},p(t,i){16&i&&C(n,t[4]),128&i&&k(e,"href",t[7])},d(t){t&&x(e)}}}(t);return{c(){e=y("div"),g&&g.c(),n=T(),i=y("a");for(let t=0;t<2;t+=1)p[t].c();o=T(),r=y("span"),L&&L.c(),l=T(),s=y("link"),k(i,"href",t[0]),k(i,"class","logo"),_(i,"--logo-width",t[5]),_(i,"--logo-height",t[6]),k(r,"class","copyright"),k(e,"class","qc-piv-footer qc-container-fluid"),k(s,"rel","stylesheet"),k(s,"href",dt.cssPath)},m(t,a){b(t,e,a),g&&g.m(e,null),m(e,n),m(e,i);for(let t=0;t<2;t+=1)p[t]&&p[t].m(i,null);m(e,o),m(e,r),L&&L.m(r,null),b(t,l,a),b(t,s,a),c=!0},p(t,[e]){if(g&&g.p&&(!c||256&e)&&$(g,u,t,t[8],c?h(u,t[8],e,null):d(t[8]),null),14&e){let n;for(f=nt([["light",t[1]],["dark",t[2]]]),n=0;n<2;n+=1){const o=jt(t,f,n);p[n]?p[n].p(o,e):(p[n]=Wt(o),p[n].c(),p[n].m(i,null))}for(;n<2;n+=1)p[n].d(1)}(!c||1&e)&&k(i,"href",t[0]),32&e&&_(i,"--logo-width",t[5]),64&e&&_(i,"--logo-height",t[6]),S?S.p&&(!c||256&e)&&$(S,w,t,t[8],c?h(w,t[8],e,Pt):d(t[8]),Nt):L&&L.p&&(!c||144&e)&&L.p(t,c?e:-1)},i(t){c||(tt(g,t),tt(L,t),c=!0)},o(t){et(g,t),et(L,t),c=!1},d(t){t&&(x(e),x(l),x(s)),g&&g.d(t),function(t,e){for(let n=0;n<t.length;n+=1)t[n]&&t[n].d(e)}(p,t),L&&L.d(t)}}}function Bt(t,e,n){let{$$slots:i={},$$scope:o}=e;const r=dt.getPageLanguage();let{logoUrl:l="/",logoSrc:s=dt.imagesRelativePath+"/QUEBEC_couleur.svg",logoSrcDarkTheme:c=dt.imagesRelativePath+"/QUEBEC_blanc.svg",logoAlt:a=("fr"===r?"Logo du gouvernement du Québec":"Logo of the Quebec government"),copyrightText:u="© Gouvernement du Québec, "+(new Date).getFullYear(),logoWidth:h=139,logoHeight:$=50,copyrightUrl:d=("fr"===r?"https://www.quebec.ca/droit-auteur":"https://www.quebec.ca/en/copyright")}=e;return t.$$set=t=>{"logoUrl"in t&&n(0,l=t.logoUrl),"logoSrc"in t&&n(1,s=t.logoSrc),"logoSrcDarkTheme"in t&&n(2,c=t.logoSrcDarkTheme),"logoAlt"in t&&n(3,a=t.logoAlt),"copyrightText"in t&&n(4,u=t.copyrightText),"logoWidth"in t&&n(5,h=t.logoWidth),"logoHeight"in t&&n(6,$=t.logoHeight),"copyrightUrl"in t&&n(7,d=t.copyrightUrl),"$$scope"in t&&n(8,o=t.$$scope)},[l,s,c,a,u,h,$,d,o,i]}function Ot(t){let e,n;return e=new pt({props:{type:t[2],size:t[3],color:t[4],"aria-hidden":"true",label:t[1]}}),{c(){rt(e.$$.fragment)},m(t,i){lt(e,t,i),n=!0},p(t,n){const i={};4&n&&(i.type=t[2]),8&n&&(i.size=t[3]),16&n&&(i.color=t[4]),2&n&&(i.label=t[1]),e.$set(i)},i(t){n||(tt(e.$$.fragment,t),n=!0)},o(t){et(e.$$.fragment,t),n=!1},d(t){st(e,t)}}}function Ht(t){let n,i,o,r,l,s=t[2]&&Ot(t),c=[{"data-button-size":t[0]},t[5],{class:i="qc-icon-button "+(t[5].class??"")}],a={};for(let t=0;t<c.length;t+=1)a=e(a,c[t]);return{c(){n=y("button"),s&&s.c(),E(n,a)},m(e,i){b(e,n,i),s&&s.m(n,null),n.autofocus&&n.focus(),o=!0,r||(l=S(n,"click",t[6]),r=!0)},p(t,[e]){t[2]?s?(s.p(t,e),4&e&&tt(s,1)):(s=Ot(t),s.c(),tt(s,1),s.m(n,null)):s&&(X(),et(s,1,1,(()=>{s=null})),Z()),E(n,a=it(c,[(!o||1&e)&&{"data-button-size":t[0]},32&e&&t[5],(!o||32&e&&i!==(i="qc-icon-button "+(t[5].class??"")))&&{class:i}]))},i(t){o||(tt(s),o=!0)},o(t){et(s),o=!1},d(t){t&&x(n),s&&s.d(),r=!1,l()}}}function Rt(t,n,i){const o=["size","label","icon","iconSize","iconColor"];let r=f(n,o),{size:l="xl",label:s,icon:c,iconSize:a,iconColor:u}=n;return t.$$set=t=>{n=e(e({},n),g(t)),i(5,r=f(n,o)),"size"in t&&i(0,l=t.size),"label"in t&&i(1,s=t.label),"icon"in t&&i(2,c=t.icon),"iconSize"in t&&i(3,a=t.iconSize),"iconColor"in t&&i(4,u=t.iconColor)},[l,s,c,a,u,r,function(e){W.call(this,t,e)}]}customElements.define("qc-piv-footer",ht(class extends $t{constructor(t){super(),at(this,t,Bt,It,l,{logoUrl:0,logoSrc:1,logoSrcDarkTheme:2,logoAlt:3,copyrightText:4,logoWidth:5,logoHeight:6,copyrightUrl:7})}get logoUrl(){return this.$$.ctx[0]}set logoUrl(t){this.$$set({logoUrl:t}),J()}get logoSrc(){return this.$$.ctx[1]}set logoSrc(t){this.$$set({logoSrc:t}),J()}get logoSrcDarkTheme(){return this.$$.ctx[2]}set logoSrcDarkTheme(t){this.$$set({logoSrcDarkTheme:t}),J()}get logoAlt(){return this.$$.ctx[3]}set logoAlt(t){this.$$set({logoAlt:t}),J()}get copyrightText(){return this.$$.ctx[4]}set copyrightText(t){this.$$set({copyrightText:t}),J()}get logoWidth(){return this.$$.ctx[5]}set logoWidth(t){this.$$set({logoWidth:t}),J()}get logoHeight(){return this.$$.ctx[6]}set logoHeight(t){this.$$set({logoHeight:t}),J()}get copyrightUrl(){return this.$$.ctx[7]}set copyrightUrl(t){this.$$set({copyrightUrl:t}),J()}},{logoUrl:{attribute:"logo-url"},logoSrc:{attribute:"logo-src"},logoSrcDarkTheme:{attribute:"logo-src-dark-theme"},logoAlt:{attribute:"logo-alt"},copyrightText:{attribute:"copyright-text"},logoWidth:{attribute:"logo-width"},logoHeight:{attribute:"logo-height"},copyrightUrl:{attribute:"copyright-url"}},["default","copyright"],[],!0));class Ft extends $t{constructor(t){super(),at(this,t,Rt,Ht,l,{size:0,label:1,icon:2,iconSize:3,iconColor:4})}get size(){return this.$$.ctx[0]}set size(t){this.$$set({size:t}),J()}get label(){return this.$$.ctx[1]}set label(t){this.$$set({label:t}),J()}get icon(){return this.$$.ctx[2]}set icon(t){this.$$set({icon:t}),J()}get iconSize(){return this.$$.ctx[3]}set iconSize(t){this.$$set({iconSize:t}),J()}get iconColor(){return this.$$.ctx[4]}set iconColor(t){this.$$set({iconColor:t}),J()}}function Mt(t){let e,n,i,o,r,l,s,c,u,g;o=new pt({props:{type:"warning"==t[0]?"warning":"information",color:"general"==t[0]?"blue-piv":"yellow-dark",size:"nm",label:t[8]}});const f=t[13].default,p=a(f,t,t[12],null);let v="true"===t[1]&&Dt(t);return{c(){e=y("div"),n=y("div"),i=y("div"),rt(o.$$.fragment),r=T(),l=y("div"),s=new z(!1),c=T(),p&&p.c(),u=T(),v&&v.c(),s.a=c,k(l,"class","qc-alert-content"),k(i,"class","qc-general-alert-elements"),k(n,"class",t[5]),k(e,"class","qc-general-alert "+t[6]),k(e,"role","alert")},m(a,h){b(a,e,h),m(e,n),m(n,i),lt(o,i,null),m(i,r),m(i,l),s.m(t[2],l),m(l,c),p&&p.m(l,null),m(i,u),v&&v.m(i,null),t[14](e),g=!0},p(t,e){const r={};1&e&&(r.type="warning"==t[0]?"warning":"information"),1&e&&(r.color="general"==t[0]?"blue-piv":"yellow-dark"),o.$set(r),(!g||4&e)&&s.p(t[2]),p&&p.p&&(!g||4096&e)&&$(p,f,t,t[12],g?h(f,t[12],e,null):d(t[12]),null),"true"===t[1]?v?(v.p(t,e),2&e&&tt(v,1)):(v=Dt(t),v.c(),tt(v,1),v.m(i,null)):v&&(X(),et(v,1,1,(()=>{v=null})),Z()),(!g||32&e)&&k(n,"class",t[5])},i(t){g||(tt(o.$$.fragment,t),tt(p,t),tt(v),g=!0)},o(t){et(o.$$.fragment,t),et(p,t),et(v),g=!1},d(n){n&&x(e),st(o),p&&p.d(n),v&&v.d(),t[14](null)}}}function Dt(e){let n,i;return n=new Ft({props:{"aria-label":e[7],size:"nm",icon:"clear-input",iconSize:"sm",iconColor:"text-primary"}}),n.$on("click",e[9]),{c(){rt(n.$$.fragment)},m(t,e){lt(n,t,e),i=!0},p:t,i(t){i||(tt(n.$$.fragment,t),i=!0)},o(t){et(n.$$.fragment,t),i=!1},d(t){st(n,t)}}}function Qt(t){let e,n,i,o=!t[4]&&Mt(t);return{c(){o&&o.c(),e=T(),n=y("link"),k(n,"rel","stylesheet"),k(n,"href",dt.cssPath)},m(t,r){o&&o.m(t,r),b(t,e,r),b(t,n,r),i=!0},p(t,[n]){t[4]?o&&(X(),et(o,1,1,(()=>{o=null})),Z()):o?(o.p(t,n),16&n&&tt(o,1)):(o=Mt(t),o.c(),tt(o,1),o.m(e.parentNode,e))},i(t){i||(tt(o),i=!0)},o(t){et(o),i=!1},d(t){t&&(x(e),x(n)),o&&o.d(t)}}}function Jt(t,e,n){let i,o,r,{$$slots:l={},$$scope:s}=e,{type:c="general",maskable:a="",content:u="",hide:h="false",fullWidth:$="false"}=e,d=""!==c?c:"general",g="fr"===dt.getPageLanguage()?"Fermer l’alerte":"Close l’alerte",f="fr"===dt.getPageLanguage()?"Information d'importance élevée":"Information of high importance",p="fr"===dt.getPageLanguage()?"Information importante":"Important information",m="general"===c?p:f;return t.$$set=t=>{"type"in t&&n(0,c=t.type),"maskable"in t&&n(1,a=t.maskable),"content"in t&&n(2,u=t.content),"hide"in t&&n(10,h=t.hide),"fullWidth"in t&&n(11,$=t.fullWidth),"$$scope"in t&&n(12,s=t.$$scope)},t.$$.update=()=>{1024&t.$$.dirty&&n(4,o="true"===h),2048&t.$$.dirty&&n(5,r="qc-container"+("true"===$?"-fluid":""))},[c,a,u,i,o,r,d,g,m,function(){n(10,h="true"),i.dispatchEvent(new CustomEvent("qc.alert.hide",{bubbles:!0,composed:!0}))},h,$,s,l,function(t){B[t?"unshift":"push"]((()=>{i=t,n(3,i)}))}]}ht(Ft,{size:{},label:{},icon:{},iconSize:{},iconColor:{}},[],[],!0);customElements.define("qc-alert",ht(class extends $t{constructor(t){super(),at(this,t,Jt,Qt,l,{type:0,maskable:1,content:2,hide:10,fullWidth:11})}get type(){return this.$$.ctx[0]}set type(t){this.$$set({type:t}),J()}get maskable(){return this.$$.ctx[1]}set maskable(t){this.$$set({maskable:t}),J()}get content(){return this.$$.ctx[2]}set content(t){this.$$set({content:t}),J()}get hide(){return this.$$.ctx[10]}set hide(t){this.$$set({hide:t}),J()}get fullWidth(){return this.$$.ctx[11]}set fullWidth(t){this.$$set({fullWidth:t}),J()}},{type:{attribute:"type"},maskable:{attribute:"maskable"},content:{attribute:"content"},hide:{attribute:"hide"},fullWidth:{attribute:"full-width"}},["default"],[],!0));const{window:Yt}=p;function Gt(t){let e,n,i,r,l,s,c,a,u;return n=new pt({props:{type:"arrow-up-white",color:"background"}}),{c(){e=y("a"),rt(n.$$.fragment),i=T(),r=y("span"),l=v(t[0]),k(e,"href","javascript:;"),k(e,"class","qc-to-top"),k(e,"tabindex",s=t[2]?0:-1),k(e,"demo",t[1]),q(e,"visible",t[2])},m(o,s){b(o,e,s),lt(n,e,null),m(e,i),m(e,r),m(r,l),t[5](e),c=!0,a||(u=[S(Yt,"scroll",t[4]),S(e,"click",L(Kt)),S(e,"keydown",Vt)],a=!0)},p(t,[n]){(!c||1&n)&&C(l,t[0]),(!c||4&n&&s!==(s=t[2]?0:-1))&&k(e,"tabindex",s),(!c||2&n)&&k(e,"demo",t[1]),(!c||4&n)&&q(e,"visible",t[2])},i(t){c||(tt(n.$$.fragment,t),c=!0)},o(t){et(n.$$.fragment,t),c=!1},d(i){i&&x(e),st(n),t[5](null),a=!1,o(u)}}}function Kt(){window.scrollTo({top:0,behavior:"smooth"})}function Vt(t){switch(t.code){case"Enter":case"Space":t.preventDefault(),Kt()}}function Xt(t,e,n){const i=dt.getPageLanguage();let o,{text:r=("fr"===i?"Retour en haut":"Back to top"),demo:l="false"}=e,s=0,c="true"===l,a=c;return t.$$set=t=>{"text"in t&&n(0,r=t.text),"demo"in t&&n(1,l=t.demo)},[r,l,c,o,function(){if("true"===l)return;let t=window.innerHeight+window.scrollY>=document.body.offsetHeight-1;n(2,c=s>window.scrollY&&(document.body.scrollTop>0||document.documentElement.scrollTop>0)&&!t),!c&&a&&o.blur(),a=c,s=window.scrollY},function(t){B[t?"unshift":"push"]((()=>{o=t,n(3,o)}))}]}function Zt(e){let n;return{c(){n=y("span"),k(n,"role","img"),k(n,"class","qc-ext-link-img"),k(n,"aria-label",e[0])},m(t,i){b(t,n,i),e[2](n)},p(t,[e]){1&e&&k(n,"aria-label",t[0])},i:t,o:t,d(t){t&&x(n),e[2](null)}}}function te(t,e,n){let i,{externalIconAlt:o=("fr"==dt.getPageLanguage()?"Ce lien dirige vers un autre site.":"This link directs to another site.")}=e;return j((()=>{i.parentElement.querySelectorAll("a").forEach((t=>{const e=document.createTreeWalker(t,NodeFilter.SHOW_ALL,{acceptNode:t=>{if(t instanceof Element){if(t.hasAttribute("hidden"))return NodeFilter.FILTER_REJECT;const e=window.getComputedStyle(t);if("none"===e.display||"hidden"===e.visibility||"absolute"===e.position)return NodeFilter.FILTER_REJECT}return!t instanceof Text?NodeFilter.FILTER_SKIP:/\S/.test(t.textContent)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});let n=null;for(;e.nextNode();)n=e.currentNode;if(!n)return;const o=n.textContent.match(/^(.*\s)?(\S+)\s*$/m);if(!o)return;const r=o[1]||"",l=o[2],s=document.createElement("span");s.classList.add("img-wrap"),s.innerHTML=`${l}`,s.appendChild(i),r?(n.textContent=r,n.parentNode.insertBefore(s,n.nextSibling)):n.parentNode.replaceChild(s,n)}))})),t.$$set=t=>{"externalIconAlt"in t&&n(0,o=t.externalIconAlt)},[o,i,function(t){B[t?"unshift":"push"]((()=>{i=t,n(1,i)}))}]}customElements.define("qc-to-top",ht(class extends $t{constructor(t){super(),at(this,t,Xt,Gt,l,{text:0,demo:1})}get text(){return this.$$.ctx[0]}set text(t){this.$$set({text:t}),J()}get demo(){return this.$$.ctx[1]}set demo(t){this.$$set({demo:t}),J()}},{text:{attribute:"text",type:"String"},demo:{}},[],[],!1));function ee(t){let e,n;return e=new Ft({props:{type:"button",icon:"clear-input",iconColor:"blue-piv",iconSize:"sm","aria-label":t[2]}}),e.$on("click",t[7]),{c(){rt(e.$$.fragment)},m(t,i){lt(e,t,i),n=!0},p(t,n){const i={};4&n&&(i["aria-label"]=t[2]),e.$set(i)},i(t){n||(tt(e.$$.fragment,t),n=!0)},o(t){et(e.$$.fragment,t),n=!1},d(t){st(e,t)}}}function ne(t){let n,i,o,r,l,s,c=[{type:"search"},{autocomplete:"off"},t[1]?{"aria-label":t[1]}:{},t[4]],a={};for(let t=0;t<c.length;t+=1)a=e(a,c[t]);let u=t[0]&&ee(t);return{c(){n=y("div"),i=y("input"),o=T(),u&&u.c(),E(i,a),k(n,"class","qc-search-input")},m(e,c){b(e,n,c),m(n,i),i.autofocus&&i.focus(),t[5](i),U(i,t[0]),m(n,o),u&&u.m(n,null),r=!0,l||(s=S(i,"input",t[6]),l=!0)},p(t,[e]){E(i,a=it(c,[{type:"search"},{autocomplete:"off"},2&e&&(t[1]?{"aria-label":t[1]}:{}),16&e&&t[4]])),1&e&&i.value!==t[0]&&U(i,t[0]),t[0]?u?(u.p(t,e),1&e&&tt(u,1)):(u=ee(t),u.c(),tt(u,1),u.m(n,null)):u&&(X(),et(u,1,1,(()=>{u=null})),Z())},i(t){r||(tt(u),r=!0)},o(t){et(u),r=!1},d(e){e&&x(n),t[5](null),u&&u.d(),l=!1,s()}}}function ie(t,n,i){const o=["value","ariaLabel","clearAriaLabel"];let r=f(n,o);const l=dt.getPageLanguage();let s,{value:c,ariaLabel:a=("fr"===l?"Rechercher…":"Search_"),clearAriaLabel:u=("fr"===l?"Effacer le texte":"Clear text")}=n;return t.$$set=t=>{n=e(e({},n),g(t)),i(4,r=f(n,o)),"value"in t&&i(0,c=t.value),"ariaLabel"in t&&i(1,a=t.ariaLabel),"clearAriaLabel"in t&&i(2,u=t.clearAriaLabel)},[c,a,u,s,r,function(t){B[t?"unshift":"push"]((()=>{s=t,i(3,s)}))},function(){c=this.value,i(0,c)},t=>{t.preventDefault(),i(0,c=""),s.focus()}]}customElements.define("qc-external-link",ht(class extends $t{constructor(t){super(),at(this,t,te,Zt,l,{externalIconAlt:0})}get externalIconAlt(){return this.$$.ctx[0]}set externalIconAlt(t){this.$$set({externalIconAlt:t}),J()}},{externalIconAlt:{attribute:"img-alt"}},[],[],!1));class oe extends $t{constructor(t){super(),at(this,t,ie,ne,l,{value:0,ariaLabel:1,clearAriaLabel:2})}get value(){return this.$$.ctx[0]}set value(t){this.$$set({value:t}),J()}get ariaLabel(){return this.$$.ctx[1]}set ariaLabel(t){this.$$set({ariaLabel:t}),J()}get clearAriaLabel(){return this.$$.ctx[2]}set clearAriaLabel(t){this.$$set({clearAriaLabel:t}),J()}}function re(t){let n,i,o,r;const l=[t[1]];let s={};for(let t=0;t<l.length;t+=1)s=e(s,l[t]);i=new oe({props:s});let c=function(t){let n,i;const o=[{type:"submit"},{iconColor:t[0]?"blue-piv":"background"},{icon:"loupe-piv-fine"},{iconSize:"md"},t[2]];let r={};for(let t=0;t<o.length;t+=1)r=e(r,o[t]);return n=new Ft({props:r}),{c(){rt(n.$$.fragment)},m(t,e){lt(n,t,e),i=!0},p(t,e){const i=5&e?it(o,[o[0],1&e&&{iconColor:t[0]?"blue-piv":"background"},o[2],o[3],4&e&&ot(t[2])]):{};n.$set(i)},i(t){i||(tt(n.$$.fragment,t),i=!0)},o(t){et(n.$$.fragment,t),i=!1},d(t){st(n,t)}}}(t);return{c(){n=y("div"),rt(i.$$.fragment),o=T(),c&&c.c(),k(n,"class","qc-search-bar"),q(n,"piv-background",t[0])},m(t,e){b(t,n,e),lt(i,n,null),m(n,o),c&&c.m(n,null),r=!0},p(t,[e]){const o=2&e?it(l,[ot(t[1])]):{};i.$set(o),c.p(t,e),(!r||1&e)&&q(n,"piv-background",t[0])},i(t){r||(tt(i.$$.fragment,t),tt(c),r=!0)},o(t){et(i.$$.fragment,t),et(c),r=!1},d(t){t&&x(n),st(i),c&&c.d()}}}function le(t,n,i){const o=["value","name","pivBackground"];let r=f(n,o);const l=dt.getPageLanguage(),s="fr"===l?"Rechercher…":"Search",c="fr"===l?"Lancer la recherche":"Submit search";let{value:a="",name:u="q",pivBackground:h=!1}=n,$={input:{placeholder:s,"aria-label":s},submit:{"aria-label":c}},d={},p={};return t.$$set=t=>{n=e(e({},n),g(t)),i(10,r=f(n,o)),"value"in t&&i(3,a=t.value),"name"in t&&i(4,u=t.name),"pivBackground"in t&&i(0,h=t.pivBackground)},t.$$.update=()=>{var e;i(1,[d,p]=(e=r,["input","submit"].map((t=>{const n=`${t}-`;return{...$[t],...Object.fromEntries(Object.entries(e).map((([t,e])=>t.startsWith(n)?[t.replace(n,""),e]:null)).filter((t=>t)))}}))),d,(i(2,p),i(10,r))),26&t.$$.dirty&&i(1,d={value:a,name:u,...d})},[h,d,p,a,u]}customElements.define("qc-search-input",ht(oe,{value:{},ariaLabel:{attribute:"aria-label"},clearAriaLabel:{attribute:"clear-aria-label"}},[],[],!1));customElements.define("qc-search-bar",ht(class extends $t{constructor(t){super(),at(this,t,le,re,l,{value:3,name:4,pivBackground:0})}get value(){return this.$$.ctx[3]}set value(t){this.$$set({value:t}),J()}get name(){return this.$$.ctx[4]}set name(t){this.$$set({name:t}),J()}get pivBackground(){return this.$$.ctx[0]}set pivBackground(t){this.$$set({pivBackground:t}),J()}},{value:{attribute:"input-value",type:"String"},name:{attribute:"input-name",type:"String"},pivBackground:{attribute:"piv-background",type:"Boolean"}},[],[],!1));window.matchMedia("(prefers-color-scheme: dark)").matches&&document.documentElement.classList.add("qc-dark-theme")}();
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "qc-trousse-sdg",
3
- "version": "1.2.5-dev",
3
+ "version": "1.3.0-develop.0",
4
4
  "description": "Trousse de développement du Système de design gouvernemental du Québec",
5
5
  "main": "index.js",
6
6
  "scripts": {
7
- "dev": "rollup -c -w",
8
- "build": "rollup -c",
7
+ "dev": "rollup -c -w --bundleConfigAsCjs",
8
+ "build": "rollup -c --bundleConfigAsCjs",
9
9
  "start": "sirv public",
10
10
  "rewrite-bootstrap": "gulp rewriteBs"
11
11
  },
@@ -16,28 +16,33 @@
16
16
  "author": "MCE",
17
17
  "license": "ISC",
18
18
  "devDependencies": {
19
- "@rollup/plugin-commonjs": "^24.1.0",
20
- "@rollup/plugin-node-resolve": "^13.3.0",
21
- "@rollup/plugin-replace": "^5.0.1",
19
+ "@rollup/plugin-commonjs": "^28.0.2",
20
+ "@rollup/plugin-node-resolve": "^16.0.0",
21
+ "@rollup/plugin-replace": "^6.0.2",
22
+ "@rollup/plugin-terser": "^0.4.4",
22
23
  "autoprefixer": "^10.4.7",
23
- "del": "^7.0.0",
24
+ "del": "^8.0.0",
24
25
  "highlight.js": "^11.8.0",
25
26
  "js-beautify": "^1.14.7",
26
- "postcss": "^8.4.14",
27
+ "postcss": "^8.5.1",
27
28
  "postcss-replace": "^2.0.0",
28
29
  "pretty": "^2.0.0",
29
30
  "requirejs": "^2.3.7",
30
- "rollup": "^2.75.7",
31
+ "rollup": "^4.34.4",
31
32
  "rollup-plugin-copy": "^3.4.0",
32
- "rollup-plugin-css-only": "^4.3.0",
33
- "rollup-plugin-delete": "^2.0.0",
33
+ "rollup-plugin-css-only": "^4.5.2",
34
+ "rollup-plugin-delete": "^2.1.0",
34
35
  "rollup-plugin-livereload": "^2.0.5",
35
- "rollup-plugin-scss": "^3.0.0",
36
- "rollup-plugin-svelte": "^7.1.5",
37
- "rollup-plugin-terser": "^7.0.2",
38
- "rollup-watch": "^3.2.2",
39
- "sass": "^1.53.0",
40
- "sirv-cli": "^2.0.2",
41
- "svelte": "^4.0.0"
36
+ "rollup-plugin-svelte": "^7.2.2",
37
+ "sass": "^1.84.0",
38
+ "sirv-cli": "^3.0.0",
39
+ "svelte": "^4.2.19"
40
+ },
41
+ "dependencies": {
42
+ "postcss-import": "^16.1.0",
43
+ "postcss-scss": "^4.0.9",
44
+ "rollup-plugin-postcss": "^4.0.2",
45
+ "rollup-plugin-scss": "^4.0.1",
46
+ "svelte-preprocess": "^6.0.3"
42
47
  }
43
48
  }