@visitscotland/component-library 4.8.3 → 4.10.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 (80) hide show
  1. package/CHANGELOG.md +71 -3
  2. package/dist/client/manifest.json +161 -98
  3. package/dist/client/scripts/{be5d458e4228597bbe7f.js → 0b35fe9046c4df7f9069.js} +1 -1
  4. package/dist/client/scripts/{2961c6dd5863b2ead56a.js → 0b47b5bf2954371e5ffc.js} +1 -1
  5. package/dist/client/scripts/{ebae7cda3ef35b5ef619.js → 0e50c2c3a74862e7449a.js} +1 -1
  6. package/dist/client/scripts/{124d87b30b4163349aaf.js → 0f67b5eb07bd337752f2.js} +1 -1
  7. package/dist/client/scripts/{1c793f94b5b5eebb96ae.js → 1a36b4136263bab2df9d.js} +1 -1
  8. package/dist/client/scripts/1fcbc41ddfc2f1127ffd.js +1 -0
  9. package/dist/client/scripts/{34179e2ab08fac601704.js → 202e89e78b568a333b7e.js} +1 -1
  10. package/dist/client/scripts/{4983897f9fb28ac41410.js → 255c3cbb360718a9dcbc.js} +1 -1
  11. package/dist/client/scripts/26a6c1d32027d37b77b7.js +1 -0
  12. package/dist/client/scripts/{7238f171414569f48dcf.js → 2f50ebfa0b93f25a5c23.js} +1 -1
  13. package/dist/client/scripts/{2f332174174c32ab702d.js → 34ed79e8238d0bf3fc62.js} +1 -1
  14. package/dist/client/scripts/{93c7da4477c0235064e1.js → 392b742726ae953cecc1.js} +1 -1
  15. package/dist/client/scripts/{84625c1f677d28cc8e8f.js → 399037f190f5d5a53aa8.js} +1 -1
  16. package/dist/client/scripts/{69456a75c8e613681829.js → 3aaec75faa024f6a00b1.js} +1 -1
  17. package/dist/client/scripts/{fb99899e8e2067207032.js → 4c7a7e860040ef9c420f.js} +1 -1
  18. package/dist/client/scripts/{437ff926d713e601fab7.js → 5122fd98cac3b9518f3f.js} +1 -1
  19. package/dist/client/scripts/{38ce1d0c3513df64f443.js → 5f0b6647b3831883a22b.js} +1 -1
  20. package/dist/client/scripts/{05484fd4b55edc9f20f1.js → 649cc76cea6652b5a37a.js} +1 -1
  21. package/dist/client/scripts/{871c8ebc30fd840b36ab.js → 654f87bad576cd99c781.js} +1 -1
  22. package/dist/client/scripts/{65419d8a841fd3d4fb1b.js → 82c3c89c1ff981d5e406.js} +1 -1
  23. package/dist/client/scripts/{ce91d1312b14f1160fe5.js → 8b8a48f76a72354c875b.js} +1 -1
  24. package/dist/client/scripts/{35d032ab0f9792c26dff.js → 8d1d649b55901f23d5b3.js} +1 -1
  25. package/dist/client/scripts/{d1e2b7320a9ed288184b.js → 933902c3e17bc73de94c.js} +1 -1
  26. package/dist/client/scripts/{3bd8d4ba3d920bb1433d.js → 9c03e2da038545efa1b4.js} +1 -1
  27. package/dist/client/scripts/{0f312962307bb451cbcc.js → a4b52e4219e28c0885f7.js} +1 -1
  28. package/dist/client/scripts/{2232b2491f0299c5201b.js → af63c50271c5457c28d0.js} +1 -1
  29. package/dist/client/scripts/{f872849c7ce918f02155.js → b54fa069ff3253bcc94b.js} +1 -1
  30. package/dist/client/scripts/{39cc995d21686586f6fa.js → bef055047342a5728b4b.js} +1 -1
  31. package/dist/client/scripts/c1629d59ab57cc9eb7b9.js +1 -0
  32. package/dist/client/scripts/{f3291c43cf0110450425.js → c5ce3f26e715d29826f1.js} +1 -1
  33. package/dist/client/scripts/{5fcf76dd5f152170c721.js → c9fa6fdf02a57f40f869.js} +1 -1
  34. package/dist/client/scripts/{5dcf971e77fe98f4ff7c.js → d5ee2a24ae0edc488b2d.js} +1 -1
  35. package/dist/client/scripts/dee3f365942bb3b36070.js +1 -0
  36. package/dist/client/scripts/f4e25e3a6d05e2128711.js +1 -0
  37. package/dist/client/scripts/{a222cc85442ae484e3e3.js → f87251bcbb33a1c88149.js} +1 -1
  38. package/dist/client/scripts/fc08b116729f7be79c9d.js +1 -0
  39. package/dist/client/scripts/{005c44021982625bb7c0.js → fc611497322360797621.js} +1 -1
  40. package/dist/client/scripts/{14dd83fcfdb910e502e2.js → fec8d954621c73ff71bd.js} +1 -1
  41. package/dist/client/styles/26a6c1d32027d37b77b7.css +1 -0
  42. package/dist/client/styles/933902c3e17bc73de94c.css +1 -0
  43. package/dist/client/styles/dee3f365942bb3b36070.css +1 -0
  44. package/dist/components/components/event-card/EventCard.vue.d.ts +841 -0
  45. package/dist/components/components/event-card/index.d.ts +4 -0
  46. package/dist/components/components/hero-section/HeroSection.vue.d.ts +18 -0
  47. package/dist/components/components/index.d.ts +1 -0
  48. package/dist/components/vs-component-library.css +1 -1
  49. package/dist/components/vs-component-library.js +180 -180
  50. package/dist/components/vs-component-library.mjs +7388 -7243
  51. package/dist/ssr/index.js +1 -1
  52. package/dist/ssr/manifest.json +1 -1
  53. package/dist/ssr/styles/{f222dcf2cfa541e40028.css → 3a0b7db3d8620fcf7980.css} +3 -2
  54. package/package.json +1 -1
  55. package/dist/client/scripts/07354011ea17b3d95e93.js +0 -1
  56. package/dist/client/scripts/4c84677e2fa89a2f4830.js +0 -1
  57. package/dist/client/scripts/eb8bd7cab79c8b156c1d.js +0 -1
  58. package/dist/client/scripts/fca05dd323b7d118fca0.js +0 -1
  59. package/dist/client/styles/4c84677e2fa89a2f4830.css +0 -1
  60. package/dist/client/styles/d1e2b7320a9ed288184b.css +0 -1
  61. /package/dist/client/styles/{2961c6dd5863b2ead56a.css → 0b47b5bf2954371e5ffc.css} +0 -0
  62. /package/dist/client/styles/{ebae7cda3ef35b5ef619.css → 0e50c2c3a74862e7449a.css} +0 -0
  63. /package/dist/client/styles/{124d87b30b4163349aaf.css → 0f67b5eb07bd337752f2.css} +0 -0
  64. /package/dist/client/styles/{fca05dd323b7d118fca0.css → 1fcbc41ddfc2f1127ffd.css} +0 -0
  65. /package/dist/client/styles/{34179e2ab08fac601704.css → 202e89e78b568a333b7e.css} +0 -0
  66. /package/dist/client/styles/{4983897f9fb28ac41410.css → 255c3cbb360718a9dcbc.css} +0 -0
  67. /package/dist/client/styles/{7238f171414569f48dcf.css → 2f50ebfa0b93f25a5c23.css} +0 -0
  68. /package/dist/client/styles/{2f332174174c32ab702d.css → 34ed79e8238d0bf3fc62.css} +0 -0
  69. /package/dist/client/styles/{93c7da4477c0235064e1.css → 392b742726ae953cecc1.css} +0 -0
  70. /package/dist/client/styles/{84625c1f677d28cc8e8f.css → 399037f190f5d5a53aa8.css} +0 -0
  71. /package/dist/client/styles/{437ff926d713e601fab7.css → 5122fd98cac3b9518f3f.css} +0 -0
  72. /package/dist/client/styles/{38ce1d0c3513df64f443.css → 5f0b6647b3831883a22b.css} +0 -0
  73. /package/dist/client/styles/{05484fd4b55edc9f20f1.css → 649cc76cea6652b5a37a.css} +0 -0
  74. /package/dist/client/styles/{f872849c7ce918f02155.css → b54fa069ff3253bcc94b.css} +0 -0
  75. /package/dist/client/styles/{39cc995d21686586f6fa.css → bef055047342a5728b4b.css} +0 -0
  76. /package/dist/client/styles/{f3291c43cf0110450425.css → c5ce3f26e715d29826f1.css} +0 -0
  77. /package/dist/client/styles/{5dcf971e77fe98f4ff7c.css → d5ee2a24ae0edc488b2d.css} +0 -0
  78. /package/dist/client/styles/{eb8bd7cab79c8b156c1d.css → fc08b116729f7be79c9d.css} +0 -0
  79. /package/dist/client/styles/{005c44021982625bb7c0.css → fc611497322360797621.css} +0 -0
  80. /package/dist/client/styles/{14dd83fcfdb910e502e2.css → fec8d954621c73ff71bd.css} +0 -0
@@ -20,7 +20,7 @@
20
20
  "index.js"
21
21
  ],
22
22
  "styles": [
23
- "styles/f222dcf2cfa541e40028.css"
23
+ "styles/3a0b7db3d8620fcf7980.css"
24
24
  ]
25
25
  }
26
26
  }
@@ -15,7 +15,7 @@
15
15
  .vs-banner{background:#e5e5f0;padding:.75rem 0}@media(min-width: 768px){.vs-banner__icon-wrapper{padding-right:0;flex:0 0 6%;max-width:6%}}@media(min-width: 992px){.vs-banner__icon-wrapper{display:inline-flex;align-items:center;flex:0 0 5%;max-width:5%}}@media(min-width: 1200px){.vs-banner__icon-wrapper{flex:0 0 4%;max-width:4%}}.vs-banner__content-wrapper{align-self:center}.vs-banner__icon{display:inline-block}@media(min-width: 576px){.vs-banner__icon{margin-right:.75rem}.vs-banner__icon.vs-icon.vs-icon--size-sm{font-size:24px}}.vs-banner__title.vs-heading{margin-bottom:.5rem}.vs-banner__title.vs-heading .vs-icon{vertical-align:bottom;margin-right:.25rem}.vs-banner__text.vs-rich-text-wrapper--normal{display:inline-block;padding-left:.25rem}@media(min-width: 576px){.vs-banner__text.vs-rich-text-wrapper--normal{padding-left:0}}.vs-banner__text.vs-rich-text-wrapper--normal p{display:inline}.vs-banner__text.vs-rich-text-wrapper--normal p:last-of-type{margin-bottom:.5rem}.vs-banner__text.vs-rich-text-wrapper--normal,.vs-banner__cta-link{font-size:.875rem;line-height:1.3}@media(min-width: 576px){.vs-banner__text.vs-rich-text-wrapper--normal,.vs-banner__cta-link{font-size:1rem}}.vs-banner__close-btn.vs-button.vs-button--icon-only.btn-md{float:right}
16
16
  .vs-blog-details__date{display:block}@media(min-width: 576px){.vs-blog-details__date{display:inline}}.vs-blog-details__divider{display:none;padding:0 .25rem}@media(min-width: 576px){.vs-blog-details__divider{display:inline}}.vs-blog-details--highlight{color:#535396}
17
17
  .vs-breadcrumb-item a:focus{outline:2px solid #3369ff}.vs-breadcrumb-item{color:#606060;font-size:1rem;font-weight:400;white-space:nowrap;overflow:hidden;padding:3px}.vs-breadcrumb-item:last-child{color:#606060;font-weight:300}.vs-breadcrumb-item a{color:#606060}.vs-breadcrumb-item a,.vs-breadcrumb-item span{text-overflow:ellipsis;overflow:hidden}@media(max-width: 991.98px){.vs-breadcrumb-item{font-size:.75rem}}@media(max-width: 767.98px){.vs-breadcrumb-item{display:none}.vs-breadcrumb-item:last-child,.vs-breadcrumb-item:nth-last-child(2){display:block;max-width:75%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.vs-breadcrumb-item:nth-last-child(2){padding-left:0}.vs-breadcrumb-item:nth-last-child(2)::before{content:"";padding:0}}
18
- .vs-button-toggle-group--radios label.btn-secondary{font-weight:600;transition:all .2s ease-in-out;text-decoration:none;position:relative;overflow:hidden;border-width:2px;line-height:1.5}.vs-button-toggle-group{width:100%;display:flex;justify-content:center}.vs-button-toggle-group legend{border:0;clip:rect(0, 0, 0, 0);overflow:hidden;position:absolute;height:1px;margin:-1px;padding:0;width:1px}.vs-button-toggle-group--radios{background-color:#d6e5ff;display:flex;border-radius:50rem;overflow:hidden}.vs-button-toggle-group--radios input[type=radio]{position:absolute;clip:rect(0, 0, 0, 0);pointer-events:none}.vs-button-toggle-group--radios label.btn-secondary{color:#1f49d6;transition:none;padding-top:.5rem;margin-bottom:0;padding-bottom:.5rem;display:flex;align-items:center}.vs-button-toggle-group--radios label.btn-secondary .vs-icon{transition:none;color:#1f49d6}.vs-button-toggle-group--radios label.btn-secondary>span{display:flex;height:32px;align-items:center;padding:0 .5rem}.vs-button-toggle-group--radios label.btn-secondary.focus{box-shadow:none}.vs-button-toggle-group--radios label.btn-secondary:hover{background-color:#17359c;border-color:#17359c;color:#fff}.vs-button-toggle-group--radios label.btn-secondary:hover .vs-icon{color:#fff}.vs-button-toggle-group--tabbed-focus input:focus+label span{border:2px solid #3369ff}.vs-button-toggle-group--button{display:flex}.vs-button-toggle-group--button:first-child{margin-right:-1rem;border-top-left-radius:50rem;border-bottom-left-radius:50rem}.vs-button-toggle-group--button:last-child{border-top-right-radius:50rem;border-bottom-right-radius:50rem}.vs-button-toggle-group--button .btn{padding:0 1.5rem}.vs-button-toggle-group--button:not(:disabled):not(.disabled).active label{z-index:2;border-radius:50rem;cursor:default;color:#1f49d6;background-color:#fff;border-color:#1f49d6}.vs-button-toggle-group--button:not(:disabled):not(.disabled).active label .vs-icon:not(.vs-map-marker-icon__marker,.vs-map-marker-icon__icon){color:#1f49d6}.vs-button-toggle-group--button:not(:disabled):not(.disabled).active label:hover{color:#1f49d6;background-color:#fff;border-color:#1f49d6}.vs-button-toggle-group--button:not(:disabled):not(.disabled).active label:hover .vs-icon{color:#1f49d6}.vs-button-toggle-group--button:not(:disabled):not(.disabled).active label:active,.vs-button-toggle-group--button:not(:disabled):not(.disabled).active label:active:focus{color:#1f49d6;background-color:#fff;border-color:#1f49d6}.vs-button-toggle-group--button:not(:disabled):not(.disabled).active label:active .vs-icon,.vs-button-toggle-group--button:not(:disabled):not(.disabled).active label:active:focus .vs-icon{color:#1f49d6}@media(min-width: 992px){.vs-button-toggle-group--button:not(:disabled):not(.disabled).active label{color:#1f49d6;background-color:#fff;border-color:#1f49d6}.vs-button-toggle-group--button:not(:disabled):not(.disabled).active label .vs-icon:not(.vs-map-marker-icon__marker,.vs-map-marker-icon__icon){color:#1f49d6}.vs-button-toggle-group--button:not(:disabled):not(.disabled).active label:hover{color:#1f49d6;background-color:#fff;border-color:#1f49d6}.vs-button-toggle-group--button:not(:disabled):not(.disabled).active label:hover .vs-icon{color:#1f49d6}.vs-button-toggle-group--button:not(:disabled):not(.disabled).active label:active,.vs-button-toggle-group--button:not(:disabled):not(.disabled).active label:active:focus{color:#1f49d6;background-color:#fff;border-color:#1f49d6}.vs-button-toggle-group--button:not(:disabled):not(.disabled).active label:active .vs-icon,.vs-button-toggle-group--button:not(:disabled):not(.disabled).active label:active:focus .vs-icon{color:#1f49d6}}
18
+ .vs-button-toggle-group--radios label.btn-secondary{font-weight:600;transition:all .2s ease-in-out;text-decoration:none;position:relative;overflow:hidden;border-width:2px;line-height:1.5}.vs-button-toggle-group{width:100%;display:flex;justify-content:center}.vs-button-toggle-group legend{border:0;clip:rect(0, 0, 0, 0);overflow:hidden;position:absolute;height:1px;margin:-1px;padding:0;width:1px}.vs-button-toggle-group--radios{background-color:#d6e5ff;display:flex;border-radius:50rem;overflow:hidden}.vs-button-toggle-group--radios input[type=radio]{position:absolute;clip:rect(0, 0, 0, 0);pointer-events:none}.vs-button-toggle-group--radios label.btn-secondary{color:#1f49d6;transition:none;padding-top:.5rem;margin-bottom:0;padding-bottom:.5rem;display:flex;align-items:center}.vs-button-toggle-group--radios label.btn-secondary .vs-icon{transition:none;color:#1f49d6}.vs-button-toggle-group--radios label.btn-secondary>span{display:flex;height:32px;align-items:center;padding:0 .5rem}.vs-button-toggle-group--radios label.btn-secondary.focus{box-shadow:none}.vs-button-toggle-group--radios label.btn-secondary:hover{background-color:#17359c;border-color:#17359c;color:#fff}.vs-button-toggle-group--radios label.btn-secondary:hover .vs-icon{color:#fff}.vs-button-toggle-group--tabbed-focus input:focus+label span{border:2px solid #3369ff}.vs-button-toggle-group--button{display:flex}.vs-button-toggle-group--button:first-child{border-top-left-radius:50rem;border-bottom-left-radius:50rem}.vs-button-toggle-group--button:first-child:not(:last-child){margin-right:-1rem}.vs-button-toggle-group--button:last-child{border-top-right-radius:50rem;border-bottom-right-radius:50rem}.vs-button-toggle-group--button .btn{padding:0 1.5rem}.vs-button-toggle-group--button:not(:disabled):not(.disabled).active label{z-index:2;border-radius:50rem;cursor:default;color:#1f49d6;background-color:#fff;border-color:#1f49d6}.vs-button-toggle-group--button:not(:disabled):not(.disabled).active label .vs-icon:not(.vs-map-marker-icon__marker,.vs-map-marker-icon__icon){color:#1f49d6}.vs-button-toggle-group--button:not(:disabled):not(.disabled).active label:hover{color:#1f49d6;background-color:#fff;border-color:#1f49d6}.vs-button-toggle-group--button:not(:disabled):not(.disabled).active label:hover .vs-icon{color:#1f49d6}.vs-button-toggle-group--button:not(:disabled):not(.disabled).active label:active,.vs-button-toggle-group--button:not(:disabled):not(.disabled).active label:active:focus{color:#1f49d6;background-color:#fff;border-color:#1f49d6}.vs-button-toggle-group--button:not(:disabled):not(.disabled).active label:active .vs-icon,.vs-button-toggle-group--button:not(:disabled):not(.disabled).active label:active:focus .vs-icon{color:#1f49d6}@media(min-width: 992px){.vs-button-toggle-group--button:not(:disabled):not(.disabled).active label{color:#1f49d6;background-color:#fff;border-color:#1f49d6}.vs-button-toggle-group--button:not(:disabled):not(.disabled).active label .vs-icon:not(.vs-map-marker-icon__marker,.vs-map-marker-icon__icon){color:#1f49d6}.vs-button-toggle-group--button:not(:disabled):not(.disabled).active label:hover{color:#1f49d6;background-color:#fff;border-color:#1f49d6}.vs-button-toggle-group--button:not(:disabled):not(.disabled).active label:hover .vs-icon{color:#1f49d6}.vs-button-toggle-group--button:not(:disabled):not(.disabled).active label:active,.vs-button-toggle-group--button:not(:disabled):not(.disabled).active label:active:focus{color:#1f49d6;background-color:#fff;border-color:#1f49d6}.vs-button-toggle-group--button:not(:disabled):not(.disabled).active label:active .vs-icon,.vs-button-toggle-group--button:not(:disabled):not(.disabled).active label:active:focus .vs-icon{color:#1f49d6}}
19
19
  .low-res-img{background-repeat:no-repeat;background-size:cover;display:block}.low-res-img.generic-lqip{background-image:url("..//[object%20Module]")}
20
20
  .vs-link.vs-link--variant-primary:focus{outline:2px solid #3369ff}.vs-link.vs-link--variant-on-dark:focus{outline:2px solid #fffa99}.vs-link.vs-link--variant-primary{color:#1f49d6}.vs-link.vs-link--variant-primary:active{color:#112876}.vs-link.vs-link--variant-primary:visited{color:#a8308c}.vs-link.vs-link--variant-on-dark{color:#fff}.vs-link.vs-link--variant-on-dark:visited{color:#d6e5ff}.vs-link .vs-link__icon{vertical-align:baseline}
21
21
  .vs-product-card .stretched-link:focus{outline:2px solid #3369ff}.vs-product-card{text-align:left}.vs-product-card .card{transition:box-shadow .5s;border:none;position:relative;padding-bottom:1.25rem}.vs-product-card .card:hover .vs-product-card__title a{text-decoration:underline}.vs-product-card .card-body{padding:.25rem 0 0;min-height:11.5rem}.vs-product-card .card-body--short{min-height:10rem}.vs-product-card .stretched-link{color:#200f2e;text-decoration:none;display:block}.vs-product-card .vs-product-card__link:focus{border:2px solid #3369ff}.vs-product-card .vs-product-card__image-container{position:relative;height:0;padding-bottom:66.6%}.vs-product-card .vs-product-card__image-inner-container{position:absolute;top:0;left:0;width:100%;height:100%}.vs-product-card .vs-product-card__img{width:100%;height:100%;object-fit:cover;align-self:flex-start;flex-shrink:0}.vs-product-card .vs-product-card__title{display:flex;margin:.75rem 0 .5rem;text-overflow:ellipsis;overflow:hidden;display:-webkit-box !important;-webkit-box-orient:vertical;white-space:normal;-webkit-line-clamp:2}.vs-product-card .vs-product-card__description{font-size:1rem;height:2rem}.vs-product-card .vs-product-card__description p{margin-bottom:.25rem}.vs-product-card .vs-product-card__description .vs-product-card__description-inner{text-overflow:ellipsis;overflow:hidden;display:-webkit-box !important;-webkit-box-orient:vertical;white-space:normal;-webkit-line-clamp:2}.vs-product-card--disabled .card{opacity:.5}.vs-product-card--disabled .card:hover .vs-product-card__title a{text-decoration:none}.vs-product-card--disabled .stretched-link{cursor:default}.no-js .vs-product-card--disabled .card{opacity:1}.no-js .vs-product-card--disabled .card .vs-product-card__title a{text-decoration:underline}.no-js .vs-product-card--disabled .stretched-link{cursor:pointer}
@@ -53,6 +53,7 @@ label,legend{font-weight:600;margin-bottom:0}legend{font-size:1.125rem}.error{fo
53
53
  .vs-description-list{margin:0;display:flex;flex-wrap:wrap;flex-grow:1}.vs-description-list .vs-description-list__term+.vs-description-list__detail{margin-left:0}
54
54
  .vs-dropdown .dropdown-toggle{font-weight:600;transition:all .2s ease-in-out;text-decoration:none;position:relative;overflow:hidden;border-width:2px;line-height:1.5}.vs-dropdown .dropdown-toggle:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #3369ff}.vs-dropdown .dropdown-toggle{line-height:1;padding:.5rem 1.5rem}.vs-dropdown .dropdown-toggle:hover{background-color:#17359c}.vs-dropdown .dropdown-toggle:active{background-color:#112876}.vs-dropdown .dropdown-toggle::after{display:inline-block;font-family:"Font Awesome Kit";content:"";color:#fff;border:0;font-weight:400;vertical-align:bottom}.vs-dropdown .dropdown-menu li{border-bottom:1px solid #e9e9e9}.vs-dropdown .dropdown-menu li:last-of-type{border-bottom:0}.vs-dropdown .dropdown-menu li .dropdown-item:hover,.vs-dropdown .dropdown-menu li .dropdown-item.active,.vs-dropdown .dropdown-menu li .dropdown-item:active{color:#1f49d6;background-color:#d6e5ff;outline:0}.vs-dropdown .dropdown-menu li .dropdown-item:focus{outline:0;color:#1f49d6;box-shadow:0 0 0 2px #3369ff inset}.vs-dropdown .btn-content{display:inline-block}.vs-dropdown--fallback{display:none}
55
55
  .vs-embed-wrapper__error-image{max-width:100%}.vs-embed-wrapper .vs-embed-wrapper__no-js,.vs-embed-wrapper .vs-embed-wrapper__no-cookies{display:none}.vs-embed-wrapper__error--no-js{display:none}.no-js .vs-embed-wrapper__container{display:none}.no-js .vs-embed-wrapper__intro{display:none}.no-js .vs-embed-wrapper__error{display:none}.no-js .vs-embed-wrapper__error--no-js{display:block}
56
+ .card.vs-event-card{border:none}.card.vs-event-card .card-body{padding:1rem;width:100%;border-bottom:1px solid #e9e9e9}.card.vs-event-card .vs-event-card__date{margin:auto 0;font-size:1.25rem;font-weight:600}.card.vs-event-card .vs-event-card__heading{margin:0}.card.vs-event-card .vs-event-card__header{margin:.5rem 0}.card.vs-event-card .vs-event-card__cta{margin-bottom:.5rem}@media(min-width: 768px){.card.vs-event-card .vs-event-card__header{margin:0 0 0 0}.card.vs-event-card .vs-event-card__heading{margin:.5rem 0}.card.vs-event-card .vs-event-card__date{text-align:right;align-self:middle}.card.vs-event-card .vs-event-card__cta{position:relative;right:0;bottom:3rem;float:right;margin-bottom:-3rem}}
56
57
  .vs-footer-accordion-item.vs-accordion-item.card{border-bottom:1px solid #fff;border-top:0}.vs-footer-accordion-item.vs-accordion-item.card .vs-accordion-item__card-header{background-color:#200f2e}.vs-footer-accordion-item.vs-accordion-item.card .vs-accordion-item__title.vs-heading{margin:.75rem 0;background-color:#200f2e;color:#fff;padding:0}.vs-footer-accordion-item.vs-accordion-item.card .vs-accordion-item__panel.card-body{background-color:#200f2e;color:#fff;border-top:1px solid #fff}.vs-footer-accordion-item.vs-accordion-item.card .vs-accordion-toggle{text-transform:none !important;letter-spacing:initial;padding:.75rem;font-size:1rem;line-height:1;font-weight:600;text-align:left;color:#fff;background-color:#200f2e;border-color:#200f2e}.vs-footer-accordion-item.vs-accordion-item.card .vs-accordion-toggle .vs-icon:not(.vs-map-marker-icon__marker,.vs-map-marker-icon__icon){color:#fff}.vs-footer-accordion-item.vs-accordion-item.card .vs-accordion-toggle:hover{color:#fff;background-color:#200f2e;border-color:#200f2e}.vs-footer-accordion-item.vs-accordion-item.card .vs-accordion-toggle:hover .vs-icon{color:#fff}.vs-footer-accordion-item.vs-accordion-item.card .vs-accordion-toggle:active,.vs-footer-accordion-item.vs-accordion-item.card .vs-accordion-toggle:active:focus{color:#fff;background-color:#200f2e;border-color:#200f2e}.vs-footer-accordion-item.vs-accordion-item.card .vs-accordion-toggle:active .vs-icon,.vs-footer-accordion-item.vs-accordion-item.card .vs-accordion-toggle:active:focus .vs-icon{color:#fff}.vs-footer-accordion-item.vs-accordion-item.card .vs-accordion-toggle:hover{text-decoration:underline}.vs-footer-accordion-item.vs-accordion-item.card .vs-accordion-toggle:focus{box-shadow:0 0 0 2px #fffa99 inset}.vs-footer-accordion-item.vs-accordion-item.card .vs-accordion-toggle .icon.icon-xs{right:.75rem}@media(min-width: 576px){.vs-footer-accordion-item.vs-accordion-item.card .btn.vs-accordion-toggle{padding:.75rem 1.5rem}}@media(min-width: 768px){.vs-footer-accordion-item.vs-accordion-item.card{border:0;border-left:1px solid #fff;padding:0 .75rem;background-color:#200f2e}.vs-footer-accordion-item.vs-accordion-item.card .vs-accordion-item__title{margin-top:.25rem}.vs-footer-accordion-item.vs-accordion-item.card .vs-accordion-item__panel.card-body{padding:0;background-color:#200f2e;border-top:0}}
57
58
  .vs-footer-copyright .vs-footer-copyright__logo.vs-link:focus{outline:2px solid #fffa99}.vs-footer-copyright{border-top:1px solid #fff;padding:1.5rem 0}.vs-footer-copyright .vs-footer-copyright__logo{display:inline-block}.vs-footer-copyright .vs-footer-copyright__logo svg{width:166px}.vs-footer-copyright .vs-footer-copyright__text{color:#fff;margin:0;font-size:.75rem}@media(min-width: 992px){.vs-footer-copyright .vs-footer-copyright__text{font-size:.875rem}}@media(min-width: 1200px){.vs-footer-copyright .vs-footer-copyright__text{font-size:1rem}}
58
59
  @media(max-width: 767.98px){.vs-footer-nav-list.container{max-width:100%;padding:0}.vs-footer-nav-list.container .row{margin-right:0;margin-left:0}.vs-footer-nav-list.container .row>.col,.vs-footer-nav-list.container .row>[class*=col-]{padding-right:0;padding-left:0}}
@@ -73,7 +74,7 @@ label,legend{font-weight:600;margin-bottom:0}legend{font-size:1.125rem}.error{fo
73
74
  .vs-global-menu__list{position:initial;flex:auto}.vs-global-menu__list_item a{color:#fff;text-decoration:none;transition:.2s all;padding:.75rem 1.25rem;line-height:1;display:inline-block}.vs-global-menu__list_item a:focus{outline:0;box-shadow:0 0 0 2px #fffa99 inset}.vs-global-menu__list_item a:hover{background:#d6e5ff}.vs-global-menu__list_item a:active{background:#fff;color:#200f2e;outline:none}.vs-global-menu__list_item--active a{background:#fff;color:#200f2e}.vs-global-menu__list_item--active a:hover{background:#fff}.vs-global-menu__list_item--active a:active{background:#fff;color:#200f2e}.no-js .vs-global-menu__list{width:100%;flex-wrap:wrap;display:flex !important}@media(min-width: 768px){.no-js .vs-global-menu__list{flex-wrap:nowrap}}.no-js .vs-global-menu__list_item{display:block;flex-basis:100%}@media(min-width: 768px){.no-js .vs-global-menu__list_item{flex-basis:auto;border:none;margin:0 .5rem}}.no-js .vs-global-menu__list_item:first-of-type{margin-left:0}.no-js .vs-global-menu__list_item:last-of-type{margin-right:0}.no-js .vs-global-menu__list_item a{max-height:none;height:auto;display:block;text-align:center;font-size:1rem;padding:.75rem 1.25rem;line-height:1.2}
74
75
  .vs-global-menu{background:#5b2487;color:#fff;position:relative;font-size:.75rem;display:flex;align-items:center}.vs-global-menu__wrapper{position:initial;display:flex;align-items:center}@media(max-width: 991.98px){.vs-global-menu__wrapper{margin:0}}@media(max-width: 991.98px){.row:not(.g-0)>.vs-global-menu__wrapper{padding:0}}.no-js .vs-global-menu{height:auto;margin-bottom:1rem}.no-js .vs-global-menu .dropdown-toggle{display:none}.no-js .vs-global-menu__wrapper{display:flex;flex-wrap:wrap}.no-js .vs-global-menu__wrapper .vs-global-menu__websites{display:none}
75
76
  .vs-hero-section-image__img{width:100%;height:386px;object-fit:cover}@media(min-width: 576px){.vs-hero-section-image__img{height:514px}}@media(min-width: 992px){.vs-hero-section-image__img{height:648px}}.vs-hero-section-image--split .vs-hero-section-image__img{height:255px}@media(min-width: 576px){.vs-hero-section-image--split .vs-hero-section-image__img{height:408px}}@media(min-width: 992px){.vs-hero-section-image--split .vs-hero-section-image__img{height:540px;border-radius:0 0 0 64px}}.vs-hero-section-image--split .vs-caption{text-align:left}@media(min-width: 992px){.vs-hero-section-image--split .vs-caption{text-align:right}}.vs-hero-section-image--split .vs-caption.vs-caption--fullwidth{min-height:auto}
76
- .vs-hero-section{background:#fff;--grid-columns: 12px 1fr 1fr 12px;--content_maxwidth: 100%;--container-col: 2 / span 2;--container-row: 1;--image-col: 1 / -1;--image-row: 2;--inset-image-col: 2 / span 2;--divider-col: 2 / span 2;--divider-row: 2}@media(min-width: 576px){.vs-hero-section{--content_maxwidth: 516px;--grid-columns: 1fr min-content min-content 1fr}}@media(min-width: 768px){.vs-hero-section{--content_maxwidth: 696px}}@media(min-width: 992px){.vs-hero-section{--content_maxwidth: 936px}}@media(min-width: 1200px){.vs-hero-section{--content_maxwidth: 1116px}}@media(min-width: 1400px){.vs-hero-section{--content_maxwidth: 1316px}}.vs-hero-section__grid{display:grid;grid-template-columns:var(--grid-columns);width:100%}.vs-hero-section__image{grid-row:var(--image-row);grid-column:var(--image-col)}.vs-hero-section__image--inset{grid-column:var(--inset-image-col);padding:0}.vs-hero-section__text-container{grid-row:var(--container-row);grid-column:var(--container-col);width:var(--content_maxwidth);padding:1.5rem 0 2.5rem 0}@media(min-width: 992px){.vs-hero-section__text-container{padding:3rem 0}}.vs-hero-section__text{width:100%}@media(min-width: 576px){.vs-hero-section__text{width:80%}}@media(min-width: 768px){.vs-hero-section__text{width:70%}}@media(min-width: 992px){.vs-hero-section__text{width:100%;display:grid;grid-template-columns:1.5fr 1fr;gap:6rem}}@media(min-width: 1200px){.vs-hero-section__text{grid-template-columns:1.5fr .75fr}}@media(min-width: 1400px){.vs-hero-section__text{gap:12rem}}.vs-hero-section__text .vs-hero-section__heading.vs-heading{color:#5b2487}@media(min-width: 768px){.vs-hero-section__text .vs-hero-section__heading.vs-heading{font-size:2rem;margin:1rem 0 .75rem}}@media(min-width: 992px){.vs-hero-section__text .vs-hero-section__heading.vs-heading{margin:0}}@media(min-width: 1200px){.vs-hero-section__text .vs-hero-section__heading.vs-heading{font-size:2.5625rem;margin:1rem 0 .75rem;margin:0}}.vs-hero-section__divider{height:2px;margin:0;color:#e9e9e9;grid-row:var(--divider-row);grid-column:var(--divider-col)}.vs-hero-section--split{--split-image-row: 1;--split-image-col: 1 / -1;--split-container-row: 2;--split-container-col: 2 / -2}@media(min-width: 992px){.vs-hero-section--split{--split-container-row: 1;--split-container-col: 2 / span 2;--split-image-row: 1;--split-image-col: 3 / span 2}}.vs-hero-section--split .vs-hero-section__image{grid-row:var(--split-image-row);grid-column:var(--split-image-col);position:relative;overflow:hidden;z-index:0;min-height:14rem;max-width:1000px}@media(min-width: 992px){.vs-hero-section--split .vs-hero-section__image{grid-row:var(--split-image-row);grid-column:var(--split-image-col)}}.vs-hero-section--split .vs-hero-section__text-container{grid-row:var(--split-container-row);grid-column:var(--split-container-col);padding-top:0}.vs-hero-section--split .vs-hero-section__text{height:100%;width:100%;padding:0}@media(min-width: 576px){.vs-hero-section--split .vs-hero-section__text{width:75%}}@media(min-width: 992px){.vs-hero-section--split .vs-hero-section__text{display:grid;grid-template-columns:1fr;gap:0;place-content:center;width:42%}}@media(min-width: 1400px){.vs-hero-section--split .vs-hero-section__text{width:40%}}@media(min-width: 992px){.vs-hero-section--split .vs-hero-section__text .vs-hero-section__heading.vs-heading{margin:0 0 1.5rem 0}}
77
+ .vs-hero-section{background:#fff;--grid-columns: 12px 1fr 1fr 12px;--content_maxwidth: 100%;--container-col: 2 / span 2;--container-row: 1;--image-col: 1 / -1;--image-row: 2;--inset-image-col: 2 / span 2;--divider-col: 2 / span 2;--divider-row: 2}@media(min-width: 576px){.vs-hero-section{--content_maxwidth: 516px;--grid-columns: 1fr min-content min-content 1fr}}@media(min-width: 768px){.vs-hero-section{--content_maxwidth: 696px}}@media(min-width: 992px){.vs-hero-section{--content_maxwidth: 936px}}@media(min-width: 1200px){.vs-hero-section{--content_maxwidth: 1116px}}@media(min-width: 1400px){.vs-hero-section{--content_maxwidth: 1316px}}.vs-hero-section__grid{display:grid;grid-template-columns:var(--grid-columns);width:100%;position:relative}.vs-hero-section__image{grid-row:var(--image-row);grid-column:var(--image-col)}.vs-hero-section__image--inset{grid-column:var(--inset-image-col);padding:0}.vs-hero-section__text-container{grid-row:var(--container-row);grid-column:var(--container-col);width:var(--content_maxwidth);padding:1.5rem 0 2.5rem 0}@media(min-width: 992px){.vs-hero-section__text-container{padding:3rem 0}}.vs-hero-section__text{width:100%}@media(min-width: 576px){.vs-hero-section__text{width:80%}}@media(min-width: 768px){.vs-hero-section__text{width:70%}}@media(min-width: 992px){.vs-hero-section__text{width:100%;display:grid;grid-template-columns:1.5fr 1fr;gap:6rem}}@media(min-width: 1200px){.vs-hero-section__text{grid-template-columns:1.5fr .75fr}}@media(min-width: 1400px){.vs-hero-section__text{gap:12rem}}.vs-hero-section__text .vs-hero-section__heading.vs-heading{color:#5b2487}@media(min-width: 768px){.vs-hero-section__text .vs-hero-section__heading.vs-heading{font-size:2rem;margin:1rem 0 .75rem}}@media(min-width: 992px){.vs-hero-section__text .vs-hero-section__heading.vs-heading{margin:0}}@media(min-width: 1200px){.vs-hero-section__text .vs-hero-section__heading.vs-heading{font-size:2.5625rem;margin:1rem 0 .75rem;margin:0}}.vs-hero-section__video-wrapper{grid-row:1;grid-column:1/-1;position:relative;line-height:0}.vs-hero-section__video-wrapper .vs-hero-section__video{width:100%;height:560px;object-fit:cover}@media(min-width: 576px){.vs-hero-section__video-wrapper .vs-hero-section__video{height:648px}}@media(min-width: 992px){.vs-hero-section__video-wrapper .vs-hero-section__video{height:812px}}.vs-hero-section__video-wrapper .vs-hero-section__video-overlay{position:absolute;top:0;left:0;width:100%;height:100%;transition:opacity 1s;background:linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.4) 100%)}.vs-hero-section .vs-hero-section__text-container--video{color:#fff}.vs-hero-section .vs-hero-section__text-container--video .vs-hero-section__text{display:grid;grid-template-columns:1fr;gap:0;position:absolute;bottom:5rem;width:70%}@media(min-width: 768px){.vs-hero-section .vs-hero-section__text-container--video .vs-hero-section__text{width:50%}}.vs-hero-section .vs-hero-section__text-container--video .vs-hero-section__text .vs-hero-section__heading.vs-heading{color:#fff;text-wrap:balance}@media(min-width: 992px){.vs-hero-section .vs-hero-section__text-container--video .vs-hero-section__text .vs-hero-section__heading.vs-heading{margin:0 0 1.5rem 0}}.vs-hero-section__divider{height:2px;margin:0;color:#e9e9e9;grid-row:var(--divider-row);grid-column:var(--divider-col)}.vs-hero-section--split{--split-image-row: 1;--split-image-col: 1 / -1;--split-container-row: 2;--split-container-col: 2 / -2}@media(min-width: 992px){.vs-hero-section--split{--split-container-row: 1;--split-container-col: 2 / span 2;--split-image-row: 1;--split-image-col: 3 / span 2}}.vs-hero-section--split .vs-hero-section__image{grid-row:var(--split-image-row);grid-column:var(--split-image-col);position:relative;overflow:hidden;z-index:0;min-height:14rem;max-width:1000px}@media(min-width: 992px){.vs-hero-section--split .vs-hero-section__image{grid-row:var(--split-image-row);grid-column:var(--split-image-col)}}.vs-hero-section--split .vs-hero-section__text-container{grid-row:var(--split-container-row);grid-column:var(--split-container-col);padding-top:0}.vs-hero-section--split .vs-hero-section__text{height:100%;width:100%;padding:0}@media(min-width: 576px){.vs-hero-section--split .vs-hero-section__text{width:75%}}@media(min-width: 992px){.vs-hero-section--split .vs-hero-section__text{display:grid;grid-template-columns:1fr;gap:0;place-content:center;width:42%}}@media(min-width: 1400px){.vs-hero-section--split .vs-hero-section__text{width:40%}}@media(min-width: 992px){.vs-hero-section--split .vs-hero-section__text .vs-hero-section__heading.vs-heading{margin:0 0 1.5rem 0}}
77
78
  .vs-icon-list__item{display:inline-table;text-align:center;width:90px;margin-bottom:1rem;padding:0 .25rem;font-size:.875rem;line-height:1.2}.vs-icon-list__item .vs-icon{margin-bottom:.75rem}
78
79
  .vs-icon-list{text-align:center}.vs-icon-list .vs-icon-list__title{font-size:1rem;font-weight:400;margin-bottom:1.25rem}.vs-icon-list .vs-icon-list__list{display:inline-block;margin:0 auto;padding:0;text-align:left}
79
80
  .vs-toggle-btn{z-index:3;display:block}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@visitscotland/component-library",
3
- "version": "4.8.3",
3
+ "version": "4.10.0",
4
4
  "description": "VisitScotland Component Library",
5
5
  "author": "VisitScotland",
6
6
  "homepage": "https://github.com/visitscotland/vs-component-library#readme",
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[3453],{43145:function(n,t,r){function e(n,t){(null==t||t>n.length)&&(t=n.length);for(var r=0,e=Array(t);r<t;r++)e[r]=n[r];return e}r.d(t,{A:function(){return e}})},96369:function(n,t,r){function e(n){if(Array.isArray(n))return n}r.d(t,{A:function(){return e}})},6986:function(n,t,r){function e(n,t){var r=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=r){var e,o,u,i,c=[],a=!0,l=!1;try{if(u=(r=r.call(n)).next,0===t){if(Object(r)!==r)return;a=!1}else for(;!(a=(e=u.call(r)).done)&&(c.push(e.value),c.length!==t);a=!0);}catch(n){l=!0,o=n}finally{try{if(!a&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(l)throw o}}return c}}r.d(t,{A:function(){return e}})},76562:function(n,t,r){function e(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}r.d(t,{A:function(){return e}})},3453:function(n,t,r){r.d(t,{A:function(){return c}});var e=r(96369),o=r(6986),u=r(27800),i=r(76562);function c(n,t){return(0,e.A)(n)||(0,o.A)(n,t)||(0,u.A)(n,t)||(0,i.A)()}},27800:function(n,t,r){r.d(t,{A:function(){return o}});var e=r(43145);function o(n,t){if(n){if("string"==typeof n)return(0,e.A)(n,t);var r={}.toString.call(n).slice(8,-1);return"Object"===r&&n.constructor&&(r=n.constructor.name),"Map"===r||"Set"===r?Array.from(n):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?(0,e.A)(n,t):void 0}}}}]);
@@ -1 +0,0 @@
1
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.VsHeroSection=t():e.VsHeroSection=t()}(self,(function(){return(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[1763],{9522:function(){},86833:function(e,t,n){"use strict";var s=n(13838),i=n(72958),r=n(28533);t.A={name:"VsHeroSection",status:"prototype",release:"0.0.1",components:{VsHeading:s.default,VsRichTextWrapper:i.default,VsHeroSectionImage:r.default},props:{heading:{type:String,default:"",required:!0},lede:{type:String,default:"",required:!0},src:{type:String,default:""},imgAlt:{type:String,default:""},imgCaption:{type:String,default:""},imgCredit:{type:String,default:""},inset:{type:Boolean,default:!1},split:{type:Boolean,default:!1}},computed:{imageClasses:function(){return{"vs-hero-section__image--inset":this.inset}}}}},5842:function(e,t,n){"use strict";n.d(t,{X:function(){return u}});var s=n(20641),i=n(90033),r={class:"vs-hero-section__grid"},o={key:1,class:"vs-hero-section__divider"},a={class:"vs-hero-section__text-container"},c={class:"vs-hero-section__text"},l={class:"mb-0"};function u(e,t,n,u,d,f){var p=(0,s.g2)("VsHeroSectionImage"),g=(0,s.g2)("VsHeading"),m=(0,s.g2)("VsRichTextWrapper");return(0,s.uX)(),(0,s.CE)("div",{class:(0,i.normalizeClass)(["vs-hero-section",{"vs-hero-section--split":n.split}]),"data-test":"vs-hero-section"},[(0,s.Lk)("div",r,[n.src?((0,s.uX)(),(0,s.CE)("div",{key:0,class:(0,i.normalizeClass)(["vs-hero-section__image",f.imageClasses])},[(0,s.bF)(p,{"img-alt":n.imgAlt,src:n.src,"img-caption":n.imgCaption,"img-credit":n.imgCredit,split:n.split},null,8,["img-alt","src","img-caption","img-credit","split"])],2)):((0,s.uX)(),(0,s.CE)("hr",o)),(0,s.Lk)("div",a,[(0,s.Lk)("div",c,[(0,s.bF)(g,{class:"vs-hero-section__heading","data-test":"vs-hero-section__heading",level:"1","heading-style":"display-xs"},{default:(0,s.k6)((function(){return[(0,s.eW)((0,i.toDisplayString)(n.heading),1)]})),_:1}),n.lede?((0,s.uX)(),(0,s.Wv)(m,{key:0,class:"vs-hero-section__lede","data-test":"vs-hero-section__lede",variant:"lead"},{default:(0,s.k6)((function(){return[(0,s.Lk)("p",l,(0,i.toDisplayString)(n.lede),1)]})),_:1})):(0,s.Q3)("",!0)])])])],2)}},22376:function(e,t,n){"use strict";var s=n(85072),i=n.n(s),r=n(97825),o=n.n(r),a=n(77659),c=n.n(a),l=n(55056),u=n.n(l),d=n(10540),f=n.n(d),p=n(41113),g=n.n(p),m=n(9522),v=n.n(m),_={};_.styleTagTransform=g(),_.setAttributes=u(),_.insert=c().bind(null,"head"),_.domAPI=o(),_.insertStyleElement=f(),i()(v(),_),v()&&v().locals&&v().locals},38399:function(e,t,n){"use strict";n.r(t);var s=n(7266),i=n(66565);n(708);const r=(0,n(66262).A)(i.A,[["render",s.X]]);t.default=r},66565:function(e,t,n){"use strict";n.d(t,{A:function(){return s.A}});var s=n(86833)},7266:function(e,t,n){"use strict";n.d(t,{X:function(){return s.X}});var s=n(5842)},708:function(e,t,n){"use strict";n(22376)}},function(e){return e.O(0,[641,6262,7510,3751,4352,4467,2543,6422,8638,2368,7521,3838,1438,1574,2958,4982,1244,630,8533],(function(){return e(e.s=38399)})),e.O()}])}));
@@ -1 +0,0 @@
1
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.VsMapWithSidebar=t():e.VsMapWithSidebar=t()}(self,(function(){return(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[316],{14725:function(){},50106:function(e,t,s){"use strict";var a=s(64467),n=s(11438),i=s(48836),o=s(79122),r=s(90080),l=s(57536),u=s(10810),c=s(79920),d=s(81610),p=s(4249);function g(e,t){var s=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),s.push.apply(s,a)}return s}function f(e){for(var t=1;t<arguments.length;t++){var s=null!=arguments[t]?arguments[t]:{};t%2?g(Object(s),!0).forEach((function(t){(0,a.A)(e,t,s[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(s)):g(Object(s)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(s,t))}))}return e}var h=null;t.A={name:"VsMapWithSidebar",status:"prototype",release:"0.0.1",components:{VsContainer:n.T$,VsRow:n.AQ,VsCol:n.Il,VsMap:d.default,VsButton:i.default,VsMapWithSidebarPanel:p.default,VsButtonToggleGroup:r.default,VsWarning:o.default},provide:function(){return{filters:this.filters,placesData:this.placesData,mapId:this.mapId,regions:this.regionsData,clearSelectionText:this.clearSelectionText,applyFiltersText:this.applyFiltersText,subCatList:this.subCatList,filtersAppliedText:this.filtersAppliedText,clearFiltersText:this.clearFiltersText,focussedListItem:this.focussedListItem}},props:{categoryHeading:{type:String,default:""},filters:{type:Array,required:!0},placesData:{type:Array,required:!0},mapId:{type:String,required:!0},mainHeadingExists:{type:Boolean,default:!1},initialSelected:{type:String,default:""},toggleData:{type:Array,default:function(){return[]}},buttonsLabel:{type:String,default:""},clearSelectionText:{type:String,required:!0},applyFiltersText:{type:String,required:!0},detailsEndpoint:{type:String,default:""},regionBounds:{type:Object,default:function(){}},clearFiltersText:{type:String,required:!0},filtersAppliedText:{type:String,required:!0},placeId:{type:String,default:null},mapFilterMessage:{type:String,required:!0},mapNoResultsMessage:{type:String,required:!0},panelMessage:{type:String,default:null}},data:function(){return{panelVisible:!1,selectedCategory:"",filterCategories:this.filters,selectedItem:null,activePins:this.placesData,currentlyHovered:"",showRegions:!1,regions:[],subCatList:null,selectedToggle:"",currentEndpointData:[],mapStatus:"",panelStatus:"map-loading",mapReady:!1,showPanelMessage:null,currentPanelEndpointFilters:"",totalEndpointPins:0,focussedListItem:0,resetZoom:!1,currentStage:0,selectedSubCategory:null}},computed:f(f({mapDisplayClass:function(){return this.panelVisible?"d-none d-lg-block":""},panelDisplayClass:function(){return this.panelVisible?"":"d-none d-lg-block"},regionsData:function(){return this.placesData.filter((function(e){return"Polygon"===e.geometry.type||"MultiPolygon"===e.geometry.type}))}},(0,u.aH)(c.A,{subCatActiveFilters:function(e){return e.activeSubcatFilters}})),{},{infoMessage:function(){var e="";switch(this.mapStatus){case"no-results":e=this.mapNoResultsMessage;break;case"filter-results":e=this.mapFilterMessage}return e}}),watch:{selectedSubCategory:function(e){null===e&&(this.mapStatus="",this.resetZoom=!0)}},mounted:function(){var e=this;h=(0,c.A)(),this.selectedToggle=this.initialSelected,this.emitter&&this.emitter.on("clearSelectedSubcats",(function(){e.resetZoom=!0}))},methods:{openMenu:function(){this.setStage(0),this.openPanel()},closePanel:function(){this.panelVisible=!1},openPanel:function(){this.panelVisible=!0},showDetail:function(e){document.fullscreenElement&&document.exitFullscreen(),this.selectedItem=e,this.setStage(2),this.openPanel(),null===this.selectedSubCategory&&this.filterPlaces(this.selectedCategory)},setCategory:function(e){this.selectedCategory=e,null===this.selectedSubCategory&&this.filterPlaces(e)},setSubCategory:function(e){h.setSelectedSubcat(e),this.selectedSubCategory=e,null!==e?(this.getSubcatMarkerData(),this.selectedCategory=e):(h.setActiveSubcatFilters([]),this.showAllPlaces())},filterSubCategories:function(e){var t="";e.forEach((function(e){var s="&cat=".concat(e);t+=s})),this.currentPanelEndpointFilters=t,this.getSubcatMarkerData(t),this.getSubcatPanelData(t,0)},getSubcatMarkerData:function(e){var t=this,s=this.filters.filter((function(e){return e.id===t.selectedSubCategory}));if(s.length>0){var a=s[0].pinsEndpoint;void 0!==e&&(a+=e),this.activePins=[],void 0===e?(this.activePins=[],this.mapStatus="filter-results"):l.A.get(a).then((function(e){t.totalEndpointPins=e.data.features.length,0===t.totalEndpointPins?t.mapStatus="no-results":(e.data.features.forEach((function(e){var s=e;s.properties.apiData=!0,t.activePins.push(s)})),t.mapStatus="")}))}},getSubcatPanelData:function(e,t){var s=this,a=this.filters.filter((function(e){return e.id===s.selectedSubCategory}))[0].listProductsEndPoint;void 0!==e&&(a+=e),0!==t&&(a+="".concat(e,"&page=").concat(t)),this.panelStatus="loading-data",l.A.get(a).then((function(e){void 0!==e.data.data.products?(s.setStage(1),0===t?(s.subCatList=e.data.data.products,s.focussedListItem=0):(s.focussedListItem=24*t,s.subCatList=s.subCatList.concat(e.data.data.products))):s.mapStatus="no-results",s.panelStatus=null}))},setStage:function(e){var t=this;if(2===e&&""!==this.detailsEndpoint&&null!==this.selectedSubCategory){var s="".concat(this.detailsEndpoint).concat(this.selectedItem.properties.id);l.A.get(s).then((function(s){var a=[];a.push(s.data.data),t.currentEndpointData=a,t.currentStage=e}))}else this.currentStage=e,0===this.currentStage?(this.currentEndpointData=[],null===this.selectedSubCategory?(this.resetZoom=!0,this.showAllPlaces(),this.mapStatus=""):this.getSubcatMarkerData(),this.selectedToggle="places"):1===this.currentStage&&null===this.selectedSubCategory&&this.filterPlaces(this.selectedCategory);2!==e&&(h.setActivePlace({mapId:this.mapId,activeFeature:""}),this.selectedItem=null)},filterPlaces:function(e){if("regions"===e)this.showRegions=!0,this.activePins=[],this.selectedToggle="regions";else{this.showRegions=!1,this.selectedToggle="places";var t=this.placesData.filter((function(t){return void 0!==t.properties&&t.properties.category.id===e}));this.activePins=t}},loadMorePlaces:function(e){this.getSubcatPanelData(this.currentPanelEndpointFilters,e)},showAllPlaces:function(){this.activePins=this.placesData,this.showRegions=!1},onToggleChanged:function(e){"regions"===e?(this.setCategory("regions"),this.setStage(1)):"icentres"===e?(this.setCategory("vics"),this.setStage(1)):"places-regional"===e?(this.setCategory("twnv"),this.setStage(1)):(this.showAllPlaces(),this.setStage(0))},setMapReady:function(e){this.mapReady=e,this.panelStatus=e?null:"loading"}}}},35681:function(e,t,s){"use strict";s.d(t,{X:function(){return i}});var a=s(20641),n=s(90033);function i(e,t,s,i,o,r){var l=(0,a.g2)("VsMapWithSidebarPanel"),u=(0,a.g2)("VsButton"),c=(0,a.g2)("VsMap"),d=(0,a.g2)("VsButtonToggleGroup"),p=(0,a.g2)("VsWarning"),g=(0,a.g2)("VsCol"),f=(0,a.g2)("VsRow"),h=(0,a.g2)("VsContainer");return(0,a.uX)(),(0,a.Wv)(h,{"data-test":"vs-map-with-sidebar"},{default:(0,a.k6)((function(){return[(0,a.bF)(f,null,{default:(0,a.k6)((function(){return[(0,a.bF)(g,null,{default:(0,a.k6)((function(){return[(0,a.Lk)("div",{class:"vs-map-with-sidebar",ref:s.mapId},[(0,a.Lk)("div",{class:(0,n.normalizeClass)(["vs-map-with-sidebar__side-panel",r.panelDisplayClass]),"data-test":"vs-map-with-sidebar__side-panel"},[(0,a.bF)(l,{"category-heading":s.categoryHeading,"selected-category":o.selectedCategory,"selected-subcategory":o.selectedSubCategory,"current-stage":o.currentStage,"selected-item":o.selectedItem,"heading-level":s.mainHeadingExists?"3":"2","subcategory-locations":o.subCatList,"current-endpoint-data":o.currentEndpointData,"panel-status":o.panelStatus,"panel-message":0===o.currentStage?s.panelMessage:null,"total-pins":o.totalEndpointPins,"current-list-item-focus":o.focussedListItem,onSetCategory:r.setCategory,onSetSubcategory:r.setSubCategory,onSubcategoriesFiltered:r.filterSubCategories,onSetStage:r.setStage,onClosePanel:r.closePanel,onShowItemDetail:r.showDetail,onFilterPlaces:r.filterPlaces,onLoadMorePlaces:r.loadMorePlaces},{closePanelText:(0,a.k6)((function(){return[(0,a.RG)(e.$slots,"close-side-panel-text")]})),"reset-side-panel-text":(0,a.k6)((function(){return[(0,a.RG)(e.$slots,"reset-side-panel-text")]})),"menu-btn-text":(0,a.k6)((function(){return[(0,a.RG)(e.$slots,"menu-btn-text")]})),"panel-loading-message":(0,a.k6)((function(){return[(0,a.RG)(e.$slots,"panel-loading-message")]})),"load-more-text":(0,a.k6)((function(){return[(0,a.RG)(e.$slots,"load-more-text")]})),_:3},8,["category-heading","selected-category","selected-subcategory","current-stage","selected-item","heading-level","subcategory-locations","current-endpoint-data","panel-status","panel-message","total-pins","current-list-item-focus","onSetCategory","onSetSubcategory","onSubcategoriesFiltered","onSetStage","onClosePanel","onShowItemDetail","onFilterPlaces","onLoadMorePlaces"])],2),(0,a.Lk)("div",{class:(0,n.normalizeClass)(["vs-map-with-sidebar__map",r.mapDisplayClass])},[(0,a.bF)(u,{class:"vs-map-with-sidebar__map-toggle",icon:"bars-mobile-menu",size:"sm",onClick:r.openMenu,"data-test":"vs-map-with-sidebar__map-toggle",variant:"secondary"},{default:(0,a.k6)((function(){return[(0,a.RG)(e.$slots,"open-side-panel-text")]})),_:3},8,["onClick"]),(0,a.bF)(c,{"is-visible":!o.panelVisible,labels:{},filters:s.filters,places:o.activePins,"selected-item":o.selectedItem,"map-id":s.mapId,"show-polygons":o.showRegions,"show-info-message":""!==o.mapStatus,onShowDetail:r.showDetail,onSetCategory:r.setCategory,onMapReady:r.setMapReady,onZoomReset:t[0]||(t[0]=function(e){return o.resetZoom=!1}),"bounds-data":s.regionBounds,"reset-zoom":o.resetZoom,"show-marker-popups":!1},{"map-loading-text":(0,a.k6)((function(){return[(0,a.RG)(e.$slots,"map-loading-text")]})),"info-message":(0,a.k6)((function(){return[(0,a.eW)((0,n.toDisplayString)(r.infoMessage),1)]})),"zoom-too-close":(0,a.k6)((function(){return[(0,a.RG)(e.$slots,"zoom-too-close")]})),"zoom-too-far":(0,a.k6)((function(){return[(0,a.RG)(e.$slots,"zoom-too-far")]})),"no-js":(0,a.k6)((function(){return[(0,a.RG)(e.$slots,"no-js")]})),_:3},8,["is-visible","filters","places","selected-item","map-id","show-polygons","show-info-message","onShowDetail","onSetCategory","onMapReady","bounds-data","reset-zoom"]),s.toggleData.length>0?((0,a.uX)(),(0,a.Wv)(d,{key:0,"data-test":"vs-map-with-sidebar__map-toggle-group","initial-selected":o.selectedToggle,options:s.toggleData,"buttons-label":s.buttonsLabel,onToggleChanged:r.onToggleChanged},null,8,["initial-selected","options","buttons-label","onToggleChanged"])):(0,a.Q3)("",!0)],2)],512),(0,a.bF)(p,{class:"vs-map-with-sidebar__no-js"},{default:(0,a.k6)((function(){return[(0,a.RG)(e.$slots,"no-js")]})),_:3})]})),_:3})]})),_:3})]})),_:3})}},14363:function(e,t,s){"use strict";var a=s(85072),n=s.n(a),i=s(97825),o=s.n(i),r=s(77659),l=s.n(r),u=s(55056),c=s.n(u),d=s(10540),p=s.n(d),g=s(41113),f=s.n(g),h=s(14725),m=s.n(h),b={};b.styleTagTransform=f(),b.setAttributes=c(),b.insert=l().bind(null,"head"),b.domAPI=o(),b.insertStyleElement=p(),n()(m(),b),m()&&m().locals&&m().locals},8258:function(e,t,s){"use strict";s.r(t);var a=s(35681),n=s(84542);s(68935);const i=(0,s(66262).A)(n.A,[["render",a.X]]);t.default=i},84542:function(e,t,s){"use strict";s.d(t,{A:function(){return a.A}});var a=s(50106)},68935:function(e,t,s){"use strict";s(14363)}},function(e){return e.O(0,[641,6262,7510,3751,4352,4467,7527,8086,810,2543,7536,3777,6422,8745,8836,8638,2368,7521,3838,1438,1574,9122,2536,5025,7539,1101,2552,681,1213,3055,3198,3844,4079,4249,80],(function(){return e(e.s=8258)})),e.O()}])}));
@@ -1 +0,0 @@
1
- (self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[4249],{91100:function(){},93013:function(e,t,a){"use strict";var n=a(64467),s=a(48836),r=a(13838),i=a(10810),l=a(79920),o=a(31101),c=a(91213),u=a(22552),d=a(23198),p=a(83844),b=a(63055);function g(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function h(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?g(Object(a),!0).forEach((function(t){(0,n.A)(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):g(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var y=null;t.A={name:"VsMapWithSidebarPanel",status:"prototype",release:"0.0.1",components:{VsButton:s.default,VsMapWithSidebarCategory:o.default,VsMapWithSidebarSubcategory:c.default,VsHeading:r.default,VsMapWithSidebarListItem:u.default,VsMapWithSidebarDetail:d.default,VsMapWithSidebarButtons:p.default,VsMapWithSidebarControls:b.default},inject:["filters","placesData","regions","mapId","focussedListItem"],props:{categoryHeading:{type:String,default:""},headingLevel:{type:String,default:"2"},selectedCategory:{type:String,default:""},selectedSubcategory:{type:String,default:null},currentStage:{type:Number,required:!0},selectedItem:{type:Object,default:null},hovered:{type:String,default:""},subcategoryLocations:{type:Array,default:null},currentEndpointData:{type:Array,default:function(){return[]}},panelStatus:{type:String,default:null},panelMessage:{type:String,default:null},totalPins:{type:Number,default:0},currentListItemFocus:{type:Number,default:0}},emits:["close-panel","load-more-places","set-stage","set-subcategory"],data:function(){return{placesLoaded:1}},computed:h(h({currentHeading:function(){var e="";if(null!==this.selectedSubcategory)e=this.selectedSubcategoryData[0].label;else switch(this.currentStage){case 0:e=this.categoryHeading;break;case 1:case 2:e=this.currentFilter.label}return e},currentData:function(){return"regions"===this.selectedCategory?this.regions:this.placesData},panelClasses:function(){var e="";return 2===this.currentStage&&(e+=" vs-map-with-sidebar-panel--small-padding"),e},headerClasses:function(){return 1===this.currentStage?"vs-map-with-sidebar-panel__header-section--with-spacer":2===this.currentStage?"vs-map-with-sidebar-panel__header-section--overlapped":""},currentFilter:function(){var e=this,t="";return this.filters.forEach((function(a){a.id===e.selectedCategory&&(t=a)})),t},currentPlaceData:function(){var e=this,t=this.placesData;return"regions"===this.selectedCategory&&(t=this.regions),this.currentEndpointData.length>0?this.refineEndpointData(this.currentEndpointData):t.filter((function(t){return!(void 0===t.properties||!e.selectedItem)&&t.properties.id===e.selectedItem.properties.id}))},selectedSubcategoryData:function(){var e=this;return this.selectedSubcategory?this.filters.filter((function(t){return t.id===e.selectedSubcategory})):[]}},(0,i.aH)(l.A,{subCatFilterCount:function(e){return e.activeSubcatFilters.length}})),{},{detailHeadingLevel:function(){return(parseInt(this.headingLevel,10)+1).toString()},showLoadMore:function(){return!(this.subcategoryLocations.length>=this.totalPins||0===this.subcategoryLocations.length)}}),watch:{currentFilter:function(){this.placesLoaded=1}},mounted:function(){y=(0,l.A)()},methods:{closePanel:function(){this.$emit("close-panel"),window.innerWidth>=1292&&2===this.currentStage&&this.$emit("set-subcategory",null)},stageBack:function(){if(this.selectedSubcategory&&0===this.currentStage)this.$emit("set-subcategory",null);else if(null!==this.selectedSubcategory&&null===this.subcategoryLocations)this.setStage(0);else{var e=this.currentStage-1;this.setStage(e)}},resetPanel:function(){y.setSelectedSubcat(null),this.setStage(0)},setStage:function(e){0===e&&(this.placesLoaded=1),this.$emit("set-stage",e)},subCatExists:function(e){return void 0!==e.subCategory&&e.subCategory.length>0},refineEndpointData:function(e){var t=[{isEndpoint:!0,properties:{category:e[0].category[0].id,id:e[0].id,image:e[0].images[0].mediaUrl,placeTitle:e[0].name,description:e[0].description,link:{label:e[0].productLink.label,link:e[0].productLink.link,type:e[0].productLink.type},website:{label:e[0].website.label,link:e[0].website.link,type:e[0].website.type},address:{shortAddress:""}}}];return void 0!==e[0].address&&(t[0].properties.address.shortAddress=e[0].address.shortAddress),t},clearSubCatFilters:function(){y.setActiveSubcatFilters([]),this.setStage(0)},loadMorePlaces:function(){this.placesLoaded+=1,this.$emit("load-more-places",this.placesLoaded)}}}},52186:function(e,t,a){"use strict";a.d(t,{X:function(){return y}});var n=a(20641),s=a(90033),r=a(53751),i={class:"vs-map-with-sidebar-panel__buttons d-lg-none"},l={key:0,class:"vs-map-with-sidebar-panel__back"},o={key:1,class:"vs-map-with-sidebar-panel__back"},c={class:"vs-map-with-sidebar-panel__close"},u={key:0,class:"vs-map-with-sidebar-panel__back d-none d-lg-block"},d={key:2,class:"vs-map-with-sidebar-panel__bottom-message"},p={class:"vs-map-with-sidebar-panel__list-container"},b={key:3,class:"vs-map-with-sidebar-panel__overlay"},g={key:0,class:"vs-map-with-sidebar-panel__overlay-box"},h={class:"vs-map-with-sidebar-panel__overlay-text"};function y(e,t,a,y,f,m){var v=(0,n.g2)("VsButton"),S=(0,n.g2)("VsHeading"),k=(0,n.g2)("VsMapWithSidebarSubcategory"),C=(0,n.g2)("VsMapWithSidebarControls"),w=(0,n.g2)("VsMapWithSidebarCategory"),_=(0,n.g2)("VsMapWithSidebarListItem"),L=(0,n.g2)("VsMapWithSidebarButtons"),F=(0,n.g2)("VsMapWithSidebarDetail");return(0,n.uX)(),(0,n.CE)("section",{"data-test":"vs-map-with-sidebar-panel",class:(0,s.normalizeClass)(["vs-map-with-sidebar-panel",m.panelClasses])},[(0,n.Lk)("div",{class:(0,s.normalizeClass)(["vs-map-with-sidebar-panel__header-section",m.headerClasses])},[(0,n.Lk)("div",i,[a.currentStage>1||a.selectedSubcategory?((0,n.uX)(),(0,n.CE)("div",l,[(0,n.bF)(v,{class:"vs-map-with-sidebar-panel_menu",icon:"bars-mobile-menu",size:"sm",onClick:m.stageBack,"data-test":"vs-map-with-sidebar__menu-toggle",variant:"secondary"},{default:(0,n.k6)((function(){return[(0,n.RG)(e.$slots,"menu-btn-text")]})),_:3},8,["onClick"])])):(0,n.Q3)("",!0),1===a.currentStage||a.selectedSubcategory?((0,n.uX)(),(0,n.CE)("div",o,[(0,n.bF)(v,{"icon-only":"",icon:"internal-link-back",size:"md",variant:"transparent",onClick:m.stageBack,"data-test":"vs-map-with-sidebar-panel--btn-back"},{default:(0,n.k6)((function(){return[(0,n.RG)(e.$slots,"back-btn-text")]})),_:3},8,["onClick"])])):(0,n.Q3)("",!0),(0,n.Lk)("div",c,[(0,n.bF)(v,{"icon-only":"",icon:"close",size:"md",variant:"transparent",onClick:m.closePanel,"data-test":"vs-map-with-sidebar-panel--btn-close"},{default:(0,n.k6)((function(){return[(0,n.RG)(e.$slots,"close-side-panel-text")]})),_:3},8,["onClick"])])]),a.currentStage>0||a.selectedSubcategory?((0,n.uX)(),(0,n.CE)("div",u,[(0,n.bF)(v,{"icon-only":"",icon:"internal-link-back",size:"md",variant:"transparent",onClick:m.stageBack,"data-test":"vs-map-with-sidebar-panel--btn-back"},{default:(0,n.k6)((function(){return[(0,n.RG)(e.$slots,"back-btn-text")]})),_:3},8,["onClick"])])):(0,n.Q3)("",!0),""!==m.currentHeading?((0,n.uX)(),(0,n.Wv)(S,{key:1,level:a.headingLevel,"heading-style":0===a.currentStage?"heading-m":"heading-xs",class:(0,s.normalizeClass)(["vs-map-with-sidebar-panel__heading text-center mt-200 mt-lg-0",2===a.currentStage?"d-none d-lg-block":""]),"data-test":"vs-map-with-sidebar-panel__heading"},{default:(0,n.k6)((function(){return[(0,n.eW)((0,s.toDisplayString)(m.currentHeading),1)]})),_:1},8,["level","heading-style","class"])):(0,n.Q3)("",!0),(0,n.Lk)("div",{class:(0,s.normalizeClass)(["vs-map-with-sidebar-panel__reset",a.currentStage<2?"d-lg-none":""])},[(0,n.bF)(v,{"icon-only":"",icon:"close",size:"md",variant:"transparent",onClick:m.resetPanel,"data-test":"vs-map-with-sidebar-panel--btn-reset"},{default:(0,n.k6)((function(){return[(0,n.RG)(e.$slots,"reset-side-panel-text")]})),_:3},8,["onClick"])],2)],2),0===a.currentStage?((0,n.uX)(),(0,n.CE)(n.FK,{key:0},[null!==a.selectedSubcategory?((0,n.uX)(),(0,n.CE)(n.FK,{key:0},[(0,n.bF)(k,{data:m.selectedSubcategoryData[0].subCategory,"selected-sub-category":a.selectedSubcategory},null,8,["data","selected-sub-category"]),(0,n.bF)(C)],64)):((0,n.uX)(!0),(0,n.CE)(n.FK,{key:1},(0,n.pI)(m.filters,(function(e){return(0,n.uX)(),(0,n.Wv)(w,{key:e.id,"category-name":e.label,type:e.id,"has-sub-cat":m.subCatExists(e)},null,8,["category-name","type","has-sub-cat"])})),128)),null!==a.panelMessage?((0,n.uX)(),(0,n.CE)("div",d,[(0,n.Lk)("p",null,(0,s.toDisplayString)(a.panelMessage),1)])):(0,n.Q3)("",!0)],64)):(0,n.Q3)("",!0),1===a.currentStage?((0,n.uX)(),(0,n.CE)(n.FK,{key:1},[null!==a.selectedSubcategory?((0,n.uX)(),(0,n.CE)(n.FK,{key:0},[(0,n.Lk)("div",p,[((0,n.uX)(!0),(0,n.CE)(n.FK,null,(0,n.pI)(a.subcategoryLocations,(function(t,s){return(0,n.uX)(),(0,n.Wv)(_,{key:t.id,"item-data":t,"from-endpoint":!0,focussed:s===a.currentListItemFocus,onShowItemDetail:function(a){return e.showDetail(t)}},null,8,["item-data","focussed","onShowItemDetail"])})),128)),m.showLoadMore?((0,n.uX)(),(0,n.Wv)(v,{key:0,class:"vs-map-with-sidebar-panel__load-more","data-test":"vs-map-with-sidebar-panel__load-more",onClick:t[0]||(t[0]=function(e){return m.loadMorePlaces()}),onKeyup:t[1]||(t[1]=(0,r.withKeys)((function(e){return m.loadMorePlaces()}),["enter"]))},{default:(0,n.k6)((function(){return[(0,n.RG)(e.$slots,"load-more-text")]})),_:3})):(0,n.Q3)("",!0)]),(0,n.bF)(L,{"content-data":{},"filter-count":e.subCatFilterCount,onClearFilters:m.clearSubCatFilters},null,8,["filter-count","onClearFilters"])],64)):((0,n.uX)(!0),(0,n.CE)(n.FK,{key:1},(0,n.pI)(m.currentData,(function(t){return(0,n.uX)(),(0,n.CE)("div",{key:t.id},[void 0!==t.properties&&t.properties.category.id===a.selectedCategory?((0,n.uX)(),(0,n.Wv)(_,{key:0,"item-data":t,onShowItemDetail:function(a){return e.showDetail(t)}},null,8,["item-data","onShowItemDetail"])):(0,n.Q3)("",!0)])})),128))],64)):(0,n.Q3)("",!0),2===a.currentStage?((0,n.uX)(),(0,n.CE)(n.FK,{key:2},[(0,n.bF)(F,{"heading-level":m.detailHeadingLevel,"content-data":m.currentPlaceData[0]},null,8,["heading-level","content-data"]),(0,n.bF)(L,{"content-data":m.currentPlaceData[0]},null,8,["content-data"])],64)):(0,n.Q3)("",!0),null!==a.panelStatus?((0,n.uX)(),(0,n.CE)("div",b,[e.$slots["panel-loading-message"]&&"map-loading"!==a.panelStatus?((0,n.uX)(),(0,n.CE)("div",g,[(0,n.Lk)("p",h,[(0,n.RG)(e.$slots,"panel-loading-message")])])):(0,n.Q3)("",!0)])):(0,n.Q3)("",!0)],2)}},63390:function(e,t,a){"use strict";var n=a(85072),s=a.n(n),r=a(97825),i=a.n(r),l=a(77659),o=a.n(l),c=a(55056),u=a.n(c),d=a(10540),p=a.n(d),b=a(41113),g=a.n(b),h=a(91100),y=a.n(h),f={};f.styleTagTransform=g(),f.setAttributes=u(),f.insert=o().bind(null,"head"),f.domAPI=i(),f.insertStyleElement=p(),s()(y(),f),y()&&y().locals&&y().locals},4249:function(e,t,a){"use strict";a.r(t);var n=a(45738),s=a(49937);a(68882);const r=(0,a(66262).A)(s.A,[["render",n.X]]);t.default=r},49937:function(e,t,a){"use strict";a.d(t,{A:function(){return n.A}});var n=a(93013)},45738:function(e,t,a){"use strict";a.d(t,{X:function(){return n.X}});var n=a(52186)},68882:function(e,t,a){"use strict";a(63390)}}]);
@@ -1 +0,0 @@
1
- .vs-hero-section{background:#fff;--grid-columns: 12px 1fr 1fr 12px;--content_maxwidth: 100%;--container-col: 2 / span 2;--container-row: 1;--image-col: 1 / -1;--image-row: 2;--inset-image-col: 2 / span 2;--divider-col: 2 / span 2;--divider-row: 2}@media(min-width: 576px){.vs-hero-section{--content_maxwidth: 516px;--grid-columns: 1fr min-content min-content 1fr}}@media(min-width: 768px){.vs-hero-section{--content_maxwidth: 696px}}@media(min-width: 992px){.vs-hero-section{--content_maxwidth: 936px}}@media(min-width: 1200px){.vs-hero-section{--content_maxwidth: 1116px}}@media(min-width: 1400px){.vs-hero-section{--content_maxwidth: 1316px}}.vs-hero-section__grid{display:grid;grid-template-columns:var(--grid-columns);width:100%}.vs-hero-section__image{grid-row:var(--image-row);grid-column:var(--image-col)}.vs-hero-section__image--inset{grid-column:var(--inset-image-col);padding:0}.vs-hero-section__text-container{grid-row:var(--container-row);grid-column:var(--container-col);width:var(--content_maxwidth);padding:1.5rem 0 2.5rem 0}@media(min-width: 992px){.vs-hero-section__text-container{padding:3rem 0}}.vs-hero-section__text{width:100%}@media(min-width: 576px){.vs-hero-section__text{width:80%}}@media(min-width: 768px){.vs-hero-section__text{width:70%}}@media(min-width: 992px){.vs-hero-section__text{width:100%;display:grid;grid-template-columns:1.5fr 1fr;gap:6rem}}@media(min-width: 1200px){.vs-hero-section__text{grid-template-columns:1.5fr .75fr}}@media(min-width: 1400px){.vs-hero-section__text{gap:12rem}}.vs-hero-section__text .vs-hero-section__heading.vs-heading{color:#5b2487}@media(min-width: 768px){.vs-hero-section__text .vs-hero-section__heading.vs-heading{font-size:2rem;margin:1rem 0 .75rem}}@media(min-width: 992px){.vs-hero-section__text .vs-hero-section__heading.vs-heading{margin:0}}@media(min-width: 1200px){.vs-hero-section__text .vs-hero-section__heading.vs-heading{font-size:2.5625rem;margin:1rem 0 .75rem;margin:0}}.vs-hero-section__divider{height:2px;margin:0;color:#e9e9e9;grid-row:var(--divider-row);grid-column:var(--divider-col)}.vs-hero-section--split{--split-image-row: 1;--split-image-col: 1 / -1;--split-container-row: 2;--split-container-col: 2 / -2}@media(min-width: 992px){.vs-hero-section--split{--split-container-row: 1;--split-container-col: 2 / span 2;--split-image-row: 1;--split-image-col: 3 / span 2}}.vs-hero-section--split .vs-hero-section__image{grid-row:var(--split-image-row);grid-column:var(--split-image-col);position:relative;overflow:hidden;z-index:0;min-height:14rem;max-width:1000px}@media(min-width: 992px){.vs-hero-section--split .vs-hero-section__image{grid-row:var(--split-image-row);grid-column:var(--split-image-col)}}.vs-hero-section--split .vs-hero-section__text-container{grid-row:var(--split-container-row);grid-column:var(--split-container-col);padding-top:0}.vs-hero-section--split .vs-hero-section__text{height:100%;width:100%;padding:0}@media(min-width: 576px){.vs-hero-section--split .vs-hero-section__text{width:75%}}@media(min-width: 992px){.vs-hero-section--split .vs-hero-section__text{display:grid;grid-template-columns:1fr;gap:0;place-content:center;width:42%}}@media(min-width: 1400px){.vs-hero-section--split .vs-hero-section__text{width:40%}}@media(min-width: 992px){.vs-hero-section--split .vs-hero-section__text .vs-hero-section__heading.vs-heading{margin:0 0 1.5rem 0}}
@@ -1 +0,0 @@
1
- .vs-button-toggle-group--radios label.btn-secondary{font-weight:600;transition:all .2s ease-in-out;text-decoration:none;position:relative;overflow:hidden;border-width:2px;line-height:1.5}.vs-button-toggle-group{width:100%;display:flex;justify-content:center}.vs-button-toggle-group legend{border:0;clip:rect(0, 0, 0, 0);overflow:hidden;position:absolute;height:1px;margin:-1px;padding:0;width:1px}.vs-button-toggle-group--radios{background-color:#d6e5ff;display:flex;border-radius:50rem;overflow:hidden}.vs-button-toggle-group--radios input[type=radio]{position:absolute;clip:rect(0, 0, 0, 0);pointer-events:none}.vs-button-toggle-group--radios label.btn-secondary{color:#1f49d6;transition:none;padding-top:.5rem;margin-bottom:0;padding-bottom:.5rem;display:flex;align-items:center}.vs-button-toggle-group--radios label.btn-secondary .vs-icon{transition:none;color:#1f49d6}.vs-button-toggle-group--radios label.btn-secondary>span{display:flex;height:32px;align-items:center;padding:0 .5rem}.vs-button-toggle-group--radios label.btn-secondary.focus{box-shadow:none}.vs-button-toggle-group--radios label.btn-secondary:hover{background-color:#17359c;border-color:#17359c;color:#fff}.vs-button-toggle-group--radios label.btn-secondary:hover .vs-icon{color:#fff}.vs-button-toggle-group--tabbed-focus input:focus+label span{border:2px solid #3369ff}.vs-button-toggle-group--button{display:flex}.vs-button-toggle-group--button:first-child{margin-right:-1rem;border-top-left-radius:50rem;border-bottom-left-radius:50rem}.vs-button-toggle-group--button:last-child{border-top-right-radius:50rem;border-bottom-right-radius:50rem}.vs-button-toggle-group--button .btn{padding:0 1.5rem}.vs-button-toggle-group--button:not(:disabled):not(.disabled).active label{z-index:2;border-radius:50rem;cursor:default;color:#1f49d6;background-color:#fff;border-color:#1f49d6}.vs-button-toggle-group--button:not(:disabled):not(.disabled).active label .vs-icon:not(.vs-map-marker-icon__marker,.vs-map-marker-icon__icon){color:#1f49d6}.vs-button-toggle-group--button:not(:disabled):not(.disabled).active label:hover{color:#1f49d6;background-color:#fff;border-color:#1f49d6}.vs-button-toggle-group--button:not(:disabled):not(.disabled).active label:hover .vs-icon{color:#1f49d6}.vs-button-toggle-group--button:not(:disabled):not(.disabled).active label:active,.vs-button-toggle-group--button:not(:disabled):not(.disabled).active label:active:focus{color:#1f49d6;background-color:#fff;border-color:#1f49d6}.vs-button-toggle-group--button:not(:disabled):not(.disabled).active label:active .vs-icon,.vs-button-toggle-group--button:not(:disabled):not(.disabled).active label:active:focus .vs-icon{color:#1f49d6}@media(min-width: 992px){.vs-button-toggle-group--button:not(:disabled):not(.disabled).active label{color:#1f49d6;background-color:#fff;border-color:#1f49d6}.vs-button-toggle-group--button:not(:disabled):not(.disabled).active label .vs-icon:not(.vs-map-marker-icon__marker,.vs-map-marker-icon__icon){color:#1f49d6}.vs-button-toggle-group--button:not(:disabled):not(.disabled).active label:hover{color:#1f49d6;background-color:#fff;border-color:#1f49d6}.vs-button-toggle-group--button:not(:disabled):not(.disabled).active label:hover .vs-icon{color:#1f49d6}.vs-button-toggle-group--button:not(:disabled):not(.disabled).active label:active,.vs-button-toggle-group--button:not(:disabled):not(.disabled).active label:active:focus{color:#1f49d6;background-color:#fff;border-color:#1f49d6}.vs-button-toggle-group--button:not(:disabled):not(.disabled).active label:active .vs-icon,.vs-button-toggle-group--button:not(:disabled):not(.disabled).active label:active:focus .vs-icon{color:#1f49d6}}