@visitscotland/component-library 5.34.0 → 5.36.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/dist/client/manifest.json +327 -177
  2. package/dist/client/scripts/00f1154ed5790a40d594.js +1 -0
  3. package/dist/client/scripts/{41046f754522e73a8099.js → 0ba435b54405bfed1216.js} +1 -1
  4. package/dist/client/scripts/13451712ec510d5251e1.js +1 -0
  5. package/dist/client/scripts/{95fdb3db9a322815f9eb.js → 14405b504bfa85ea3904.js} +1 -1
  6. package/dist/client/scripts/{72023fec5495894212b0.js → 205795ceed348c421487.js} +1 -1
  7. package/dist/client/scripts/{c21a6c36e3568bdc534f.js → 2603d6a6cb89ed9ce58e.js} +1 -1
  8. package/dist/client/scripts/2bdd4484eaf0f7c7bc7d.js +1 -0
  9. package/dist/client/scripts/{967b8f5dde3c44052690.js → 2cc7ac8bc9e083a57d0a.js} +1 -1
  10. package/dist/client/scripts/336dc65beaffd0fe9728.js +1 -0
  11. package/dist/client/scripts/376cd98c7cc742297985.js +1 -0
  12. package/dist/client/scripts/3f65a0eebec0d6791b37.js +1 -0
  13. package/dist/client/scripts/{feeecf83bdc1c651376a.js → 4805c6f1f0a18566244f.js} +1 -1
  14. package/dist/client/scripts/{a585646927dbdd2ddeb7.js → 4bd0e0de8052cba02172.js} +1 -1
  15. package/dist/client/scripts/{1077b219313276c21765.js → 4d808489d92b87f6435b.js} +1 -1
  16. package/dist/client/scripts/{a6130794c1d33d80488a.js → 4ddab670b042da08b1f1.js} +1 -1
  17. package/dist/client/scripts/{241c1a4f2b23f6d1d4ca.js → 50e7bb2b6f16e06314d3.js} +1 -1
  18. package/dist/client/scripts/{c92d18059ca7a5fa187e.js → 599cac06c60574e11178.js} +1 -1
  19. package/dist/client/scripts/{43f8d26f8aecf79a4b3a.js → 5a9faf1a5e6e6056077f.js} +1 -1
  20. package/dist/client/scripts/{9ff8d41b245f1db95004.js → 5b36da4a9d1c709b29a4.js} +1 -1
  21. package/dist/client/scripts/{9e07e9d2cd16db07d4ec.js → 60cb2189fbc7f98e341c.js} +1 -1
  22. package/dist/client/scripts/619f1e07afc93e557ce7.js +1 -0
  23. package/dist/client/scripts/{adc43fc9fa9ee3c85f21.js → 6201ecddad5118e3e751.js} +1 -1
  24. package/dist/client/scripts/{78b5052753a730211f39.js → 62da96eeada992bc493c.js} +1 -1
  25. package/dist/client/scripts/{bd3814764b1c7e8c5751.js → 664b356b7ccc91d79a54.js} +1 -1
  26. package/dist/client/scripts/7b399e96811af72ccbfd.js +1 -0
  27. package/dist/client/scripts/81349d37c19b7a3c6941.js +1 -0
  28. package/dist/client/scripts/{6a18930893f1bec771d8.js → 843ffaaa459ebf992322.js} +1 -1
  29. package/dist/client/scripts/{4626c48ced549c077e3e.js → 8ae724991e3a68c07f69.js} +1 -1
  30. package/dist/client/scripts/{17f050e8fbf954ca4400.js → 9cfada6085f0493c83a8.js} +1 -1
  31. package/dist/client/scripts/ae490b13615244366b18.js +1 -0
  32. package/dist/client/scripts/b81d33302ba962c45458.js +1 -0
  33. package/dist/client/scripts/{7623efe03b36f0ed4aed.js → cbe9553ef72b16c359ee.js} +1 -1
  34. package/dist/client/scripts/d6f35cfcf4b0aafd6e5d.js +1 -0
  35. package/dist/client/scripts/{cb07489d6437a30e034f.js → de48ab96f2314589c8f5.js} +1 -1
  36. package/dist/client/scripts/{105f494c921bc99257e1.js → e6422728c1c9a9739b76.js} +1 -1
  37. package/dist/client/scripts/{18b7751ab328bbd3a091.js → ec40f0d64dfcaa2ae327.js} +1 -1
  38. package/dist/client/scripts/{3997e6bfb2077648fae3.js → ee2cb626a9636f956e4b.js} +1 -1
  39. package/dist/client/scripts/f166c3fa28bce031e937.js +1 -0
  40. package/dist/client/scripts/f443edb707d72594a1e7.js +1 -0
  41. package/dist/client/scripts/fbe077da6003915cc678.js +1 -0
  42. package/dist/client/styles/2bdd4484eaf0f7c7bc7d.css +1 -0
  43. package/dist/client/styles/3f65a0eebec0d6791b37.css +1 -0
  44. package/dist/client/styles/619f1e07afc93e557ce7.css +1 -0
  45. package/dist/client/styles/7b399e96811af72ccbfd.css +1 -0
  46. package/dist/client/styles/ae490b13615244366b18.css +1 -0
  47. package/dist/client/styles/b81d33302ba962c45458.css +1 -0
  48. package/dist/client/styles/d6f35cfcf4b0aafd6e5d.css +1 -0
  49. package/dist/client/styles/{59f9a530612b9c11540e.css → fbe077da6003915cc678.css} +1 -1
  50. package/dist/components/src/components/accordion/components/AccordionItem.vue.d.ts +7 -3
  51. package/dist/components/src/components/accordion/components/AccordionToggle.vue.d.ts +1 -3
  52. package/dist/components/src/components/accordion/index.d.ts +8 -6
  53. package/dist/components/src/components/footer/components/FooterAccordionItem.vue.d.ts +7 -3
  54. package/dist/components/src/components/itineraries/components/ItineraryDay.vue.d.ts +7 -3
  55. package/dist/components/src/components/mega-nav/components/MegaNavAccordionItem.vue.d.ts +7 -3
  56. package/dist/components/src/components/ski-scotland/ski-scotland-status/SkiScotlandStatus.vue.d.ts +7 -3
  57. package/dist/components/src/custom-components/federated-search/index.d.ts +0 -6
  58. package/dist/components/src/custom-components/maps/MainMap.vue.d.ts +4 -0
  59. package/dist/components/src/custom-components/maps/components/MapFeaturedLocation.vue.d.ts +2 -0
  60. package/dist/components/src/custom-components/maps/components/MapFeaturedLocationItem.vue.d.ts +7 -0
  61. package/dist/components/src/custom-components/maps/index.d.ts +11 -0
  62. package/dist/components/style.css +1 -1
  63. package/dist/components/vs-component-library.js +80 -80
  64. package/dist/components/vs-component-library.mjs +2495 -2337
  65. package/dist/ssr/index.js +1 -1
  66. package/dist/ssr/manifest.json +1 -1
  67. package/dist/ssr/styles/{b697d1a85a2c13c1b4b0.css → 6a08107ad4b45fb54080.css} +9 -7
  68. package/package.json +1 -1
  69. package/dist/client/scripts/28fa8fd88c86c8eb38c7.js +0 -1
  70. package/dist/client/scripts/34c3288e431f8a0155e6.js +0 -1
  71. package/dist/client/scripts/3dda011bca90d036d8d8.js +0 -1
  72. package/dist/client/scripts/41188d492c5a77d87d02.js +0 -1
  73. package/dist/client/scripts/4fd8ff7fa8b4b36ef6bc.js +0 -1
  74. package/dist/client/scripts/588b32ff5515fdd5707e.js +0 -1
  75. package/dist/client/scripts/59f9a530612b9c11540e.js +0 -1
  76. package/dist/client/scripts/b5213fdbef77370db82d.js +0 -1
  77. package/dist/client/scripts/c17ec051f32db3748492.js +0 -1
  78. package/dist/client/scripts/c2c11ce041704882fd38.js +0 -1
  79. package/dist/client/scripts/cb8e1abd530b3aa93fcf.js +0 -1
  80. package/dist/client/styles/34c3288e431f8a0155e6.css +0 -1
  81. package/dist/client/styles/41188d492c5a77d87d02.css +0 -1
  82. package/dist/client/styles/4fd8ff7fa8b4b36ef6bc.css +0 -1
  83. package/dist/client/styles/b5213fdbef77370db82d.css +0 -1
  84. package/dist/client/styles/c2c11ce041704882fd38.css +0 -1
  85. package/dist/components/src/custom-components/federated-search/components/__tests__/Divider.jest.spec.d.ts +0 -1
  86. /package/dist/client/scripts/{efe4a3c8ab1adefc03f2.js → 061040693667b92c1ad7.js} +0 -0
  87. /package/dist/client/scripts/{1b690d0299117cbd172e.js → 5996f9590531f476e1f9.js} +0 -0
  88. /package/dist/client/scripts/{bb8f78fd21453a818715.js → dd7e669ef9c0e5631aed.js} +0 -0
  89. /package/dist/client/styles/{c17ec051f32db3748492.css → 00f1154ed5790a40d594.css} +0 -0
  90. /package/dist/client/styles/{efe4a3c8ab1adefc03f2.css → 061040693667b92c1ad7.css} +0 -0
  91. /package/dist/client/styles/{3dda011bca90d036d8d8.css → 13451712ec510d5251e1.css} +0 -0
  92. /package/dist/client/styles/{588b32ff5515fdd5707e.css → 376cd98c7cc742297985.css} +0 -0
  93. /package/dist/client/styles/{feeecf83bdc1c651376a.css → 4805c6f1f0a18566244f.css} +0 -0
  94. /package/dist/client/styles/{bb8f78fd21453a818715.css → dd7e669ef9c0e5631aed.css} +0 -0
  95. /package/dist/client/styles/{cb8e1abd530b3aa93fcf.css → f166c3fa28bce031e937.css} +0 -0
  96. /package/dist/components/src/{custom-components → components}/divider/Divider.vue.d.ts +0 -0
  97. /package/dist/components/src/{custom-components → components}/divider/index.d.ts +0 -0
@@ -0,0 +1 @@
1
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.VsFederatedSearch=t():e.VsFederatedSearch=t()}(self,(function(){return(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[1746],{11547:function(e,t,r){"use strict";r(26255)},26255:function(e,t,r){"use strict";var a=r(85072),n=r.n(a),s=r(97825),o=r.n(s),l=r(77659),i=r.n(l),u=r(55056),c=r.n(u),d=r(10540),g=r.n(d),f=r(41113),p=r.n(f),y=r(55261),v=r.n(y),b={};b.styleTagTransform=p(),b.setAttributes=c(),b.insert=i().bind(null,"head"),b.domAPI=o(),b.insertStyleElement=g(),n()(v(),b),v()&&v().locals&&v().locals},39535:function(e,t,r){"use strict";r.d(t,{A:function(){return a.A}});var a=r(77891)},49439:function(e,t,r){"use strict";r.r(t);var a=r(39535);r(11547);const n=a.A;t.default=n},55261:function(){},77891:function(e,t,r){"use strict";var a=r(10467),n=r(54756),s=r.n(n),o=r(20641),l=r(50953),i=r(53751),u=r(90033),c=r(12903),d=r(66239),g=r(31406),f=r(72989),p=r.n(f),y=r(58995),v=r(35965),b=r(75520),m={class:"vs-federated-search","data-test":"vs-federated-search"},h={class:"vs-federated-search__container"},_={key:0,class:"vs-federated-search__results","data-chromatic":"ignore"},k={key:2,"data-chromatic":"ignore"},R={class:"position-relative"},L={class:"position-absolute bottom-0 start-0 d-flex gap-2"},C={class:"position-absolute bottom-0 end-0 d-flex"},S={class:"truncate-3-lines text-break"},D={class:"d-flex justify-content-end align-items-end mt-050"},E={key:0,class:"d-flex align-items-start flex-grow-1"},I={key:3,class:"vs-federated-search__warning mb-300"};t.A={__name:"FederatedSearch",props:{cludoApiKey:{type:String,default:(0,d.A)("CLUDO_API_KEY")},cludoCustomerId:{type:Number,default:Number((0,d.A)("CLUDO_CUSTOMER_ID"))},cludoEngineId:{type:Number,default:Number((0,d.A)("CLUDO_ENGINE_ID"))},eventsApi:{type:String,default:(0,d.A)("EVENTS_API_URL")},filters:{type:Array,default:void 0},subFilters:{type:Array,default:void 0},errorMessages:{type:Object,required:!0},fromText:{type:String,default:""},paginationLabels:{type:Object,required:!0},searchLabels:{type:Object,required:!0},sortLabels:{type:Object,required:!0},cardCategoryLabels:{type:Object,required:!0,default:function(){}},siteLanguage:{type:String,default:"en",validator:function(e){return e.match(/(en|es|it|de|nl|fr)/)}},cludoApiOperator:{type:String,default:"or",validator:function(e){return["and","or"].includes(e)}}},setup:function(e){var t=(0,b.A)(),r=p()(),n=(0,l.KR)({message:"",error:!1}),d=e,f=(0,l.KR)(!1),A=(0,o.EW)((function(){return"events"===r.selectedCategoryKey?Math.ceil(r.totalResultsEvents/12):r.totalResultsCludo>=r.totalResultsEvents?Math.ceil(r.totalResultsCludo/6):Math.ceil(r.totalResultsEvents/6)}));function x(){r.endDate&&r.startDate>r.endDate?(n.value.error=!0,n.value.message=d.errorMessages.incorrectDateOrder):"events"===r.selectedCategoryKey&&r.eventsApiError&&!r.isLoading?(n.value.error=!0,n.value.message=d.errorMessages.eventError):(r.searchTerm||r.selectedCategory)&&"events"!==r.selectedCategoryKey&&r.cludoError&&!r.isLoading?(n.value.error=!0,n.value.message=d.errorMessages.cludoError):0!==r.totalResults||r.isLoading?(n.value.error=!1,n.value.message=""):(n.value.error=!0,n.value.message=d.errorMessages.noResults)}function V(e){r.startDate=e,r.navigateToResultsPage(!0)}function w(e){r.endDate=e,r.navigateToResultsPage(!0)}function O(e){r.sortBy=e,r.navigateToResultsPage(!0)}function W(e){var a,n=!1;e>r.currentPage&&(n=!0),r.currentPage=e,"undefined"!=typeof window&&window.scrollTo({top:0,left:0,behavior:"smooth"}),r.navigateToResultsPage(),a=n,t.createDataLayerObject("siteSearchClickEvent",{interaction_type:"search_link_click",search_query:r.searchTerm,page_number:r.currentPage,page_navigation_direction:a?"forward":"back",search_usage_index:r.searchInSessionCount,results_count:r.totalResults,query_input:r.queryInput})}function F(e){if(e.url)return e.url;if(e.placeUrl)return e.placeUrl;var t=encodeURIComponent(e.title.replaceAll(" ","-").toLowerCase());return"".concat("https://www.datathistle.com/event/").concat(e.parentId,"-").concat(t)}return(0,o.sV)((0,a.A)(s().mark((function e(){var a,n,o;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.createDataLayerObject("siteSearchOpenEvent",{referrer_page:document.referrer}),r.cludoCredentials={apiKey:d.cludoApiKey,customerId:d.cludoCustomerId,engineId:d.cludoEngineId},r.eventsApi=d.eventsApi,r.filters=d.filters,r.siteLanguage=d.siteLanguage,r.cludoApiOperator=d.cludoApiOperator,x(),"undefined"==typeof window||"undefined"==typeof document){e.next=2;break}return window.onbeforeunload=function(){f.value||t.createDataLayerObject("siteSearchCloseEvent",{search_query:r.searchTerm,search_usage_index:r.searchInSessionCount,query_input:r.queryInput,page_number:r.currentPage,results_count:r.totalResults})},a=new URLSearchParams(document.location.search),n=a.get("search-term"),(o=parseInt(a.get("page"),10))&&(r.currentPage=o),n&&(r.searchTerm=n),e.next=1,r.getSearchResults();case 1:n&&t.createDataLayerObject("siteSearchUsageEvent",{search_query:r.searchTerm,query_input:r.queryInput,results_count:r.totalResults,search_usage_index:r.searchInSessionCount,search_type:"initial",search_origin:"home_page"});case 2:case"end":return e.stop()}}),e)})))),(0,o.$u)((function(){x()})),function(a,s){return(0,o.uX)(),(0,o.CE)("div",m,[(0,o.Lk)("div",h,[(0,o.bF)(y.default,{"cludo-api-key":d.cludoApiKey,"cludo-customer-id":d.cludoCustomerId,"cludo-engine-id":d.cludoEngineId,filters:d.filters,"sub-filters":d.subFilters,labels:d.searchLabels},null,8,["cludo-api-key","cludo-customer-id","cludo-engine-id","filters","sub-filters","labels"]),(0,o.bF)(g.default,{class:"my-200"}),((0,o.uX)(!0),(0,o.CE)(o.FK,null,(0,o.pI)((0,l.R1)(r).filters,(function(e,t){return(0,o.bo)(((0,o.uX)(),(0,o.CE)("div",{key:t,class:"mb-200"},[(0,o.RG)(a.$slots,"federated-search__spotlight-".concat(e.Key))],512)),[[i.vShow,(0,l.R1)(r).selectedCategoryKey===e.Key]])})),128)),(0,l.R1)(r).results?((0,o.uX)(),(0,o.CE)("div",_,[(0,o.Lk)("div",null,[(0,o.bF)((0,l.R1)(c.VsHeading),{"heading-style":"heading-m",level:2,class:"my-0"},{default:(0,o.k6)((function(){return[(0,o.eW)((0,u.toDisplayString)(d.searchLabels.searchResults),1)]})),_:1}),0!==(0,l.R1)(r).totalResults?((0,o.uX)(),(0,o.Wv)((0,l.R1)(c.VsDetail),{key:0},{default:(0,o.k6)((function(){return[(0,o.eW)((0,u.toDisplayString)(d.searchLabels.resultsFirst)+" "+(0,u.toDisplayString)((0,l.R1)(r).totalResults)+" "+(0,u.toDisplayString)(d.searchLabels.resultsSecond),1)]})),_:1})):(0,o.Q3)("",!0)]),"events"===(0,l.R1)(r).selectedCategoryKey?((0,o.uX)(),(0,o.Wv)(v.default,{key:0,"date-filter-visible":!0,"sort-options":d.sortLabels.sortOptions,"from-date-label":d.sortLabels.dateFrom,"to-date-label":d.sortLabels.dateTo,"sort-label":d.sortLabels.sort,onFromDateUpdated:V,onEndDateUpdated:w,onSortOrderUpdated:O},null,8,["sort-options","from-date-label","to-date-label","sort-label"])):(0,o.Q3)("",!0)])):(0,o.Q3)("",!0),(0,l.R1)(r).isLoading?((0,o.uX)(),(0,o.Wv)((0,l.R1)(c.VsLoadingSpinner),{key:1})):(0,o.Q3)("",!0),(0,l.R1)(r).isLoading||!(0,l.R1)(r).results||(0,l.R1)(r).eventsApiError?(0,o.Q3)("",!0):((0,o.uX)(),(0,o.CE)("div",k,[(0,o.bF)((0,l.R1)(c.VsCardGroup),{"cards-per-row":3,class:(0,u.normalizeClass)((0,l.R1)(r).results&&A.value<=1?"mb-300":null)},{default:(0,o.k6)((function(){return[((0,o.uX)(!0),(0,o.CE)(o.FK,null,(0,o.pI)((0,l.R1)(r).results,(function(a){return(0,o.uX)(),(0,o.Wv)((0,l.R1)(c.VsCard),{key:a.id},{"vs-card-header":(0,o.k6)((function(){return[(0,o.Lk)("div",R,[(0,o.bF)((0,l.R1)(c.VsImg),{src:a.imgSrc||"https://static.visitscotland.com/img/fallback-img.png",class:"w-100 aspect-ratio-3-2 rounded-1 object-fit-cover img-zoom-on-hover"},null,8,["src"]),(0,o.Lk)("div",L,[a.minPrice?((0,o.uX)(),(0,o.Wv)((0,l.R1)(c.VsBadge),{key:0,variant:"information",class:"rounded-top-end rounded-bottom-start"},{default:(0,o.k6)((function(){return[(0,o.eW)((0,u.toDisplayString)(d.fromText)+" "+(0,u.toDisplayString)((e=a.minPrice,null===e?"":e.match(/\b\d+\.\d\b/)?"£".concat(e,"0"):"£".concat(e))),1)];var e})),_:2},1024)):(0,o.Q3)("",!0),a.startDate?((0,o.uX)(),(0,o.Wv)((0,l.R1)(c.VsBadge),{key:1,variant:"information",class:"rounded-top-end rounded-top-start"},{default:(0,o.k6)((function(){return[(0,o.eW)((0,u.toDisplayString)((e=a.startDate,t=a.endDate,e===t?e:"".concat(e," - ").concat(t))),1)];var e,t})),_:2},1024)):(0,o.Q3)("",!0)]),(0,o.Lk)("div",C,[a.categoryCard&&e.cardCategoryLabels[a.categoryCard]?((0,o.uX)(),(0,o.Wv)((0,l.R1)(c.VsBadge),{key:0,variant:"highlight",class:"rounded-top-start rounded-bottom-start mx-0"},{default:(0,o.k6)((function(){return[(0,o.eW)((0,u.toDisplayString)(e.cardCategoryLabels[a.categoryCard]),1)]})),_:2},1024)):(0,o.Q3)("",!0)])])]})),"vs-card-body":(0,o.k6)((function(){return[(0,o.bF)((0,l.R1)(c.VsHeading),{level:"3","heading-style":"heading-xs"},{default:(0,o.k6)((function(){return[(0,o.bF)((0,l.R1)(c.VsLink),{href:F(a),onClick:function(e){return function(e){f.value=!0,t.createDataLayerObject("siteSearchClickEvent",{interaction_type:"search_link_click",search_query:r.searchTerm,page_number:r.currentPage,click_text:e.title,click_url:F(e),click_category:e.categoryCard&&d.cardCategoryLabels[e.categoryCard]?d.cardCategoryLabels[e.categoryCard]:"",search_usage_index:r.searchInSessionCount,results_count:r.totalResults,query_input:r.queryInput})}(a)},class:"stretched-link",variant:"secondary"},{default:(0,o.k6)((function(){return[(0,o.eW)((0,u.toDisplayString)(a.title),1)]})),_:2},1032,["href","onClick"])]})),_:2},1024),(0,o.bF)((0,l.R1)(c.VsBody),null,{default:(0,o.k6)((function(){return[(0,o.Lk)("p",S,(0,u.toDisplayString)(a.description),1)]})),_:2},1024)]})),"vs-card-footer":(0,o.k6)((function(){return[(0,o.Lk)("div",D,[a.location?((0,o.uX)(),(0,o.CE)("div",E,[(0,o.bF)((0,l.R1)(c.VsIcon),{icon:"fa-solid fa-location-dot",variant:"highlight",class:"me-050",size:"sm"}),(0,o.bF)((0,l.R1)(c.VsDetail),{"no-margins":"",color:"tertiary"},{default:(0,o.k6)((function(){return[(0,o.eW)((0,u.toDisplayString)(a.location),1)]})),_:2},1024)])):(0,o.Q3)("",!0),(0,o.Lk)("div",null,["data-thistle"===a.dataSrc?((0,o.uX)(),(0,o.Wv)((0,l.R1)(c.VsIcon),{key:0,icon:"vs-icon-control-external-link",variant:"highlight",size:"sm"})):(0,o.Q3)("",!0)])])]})),_:2},1024)})),128))]})),_:1},8,["class"]),(0,l.R1)(r).results&&A.value>1?((0,o.uX)(),(0,o.Wv)((0,l.R1)(c.VsPagination),{key:0,class:"vs-federated-search__pagination","number-of-pages":A.value,"next-button-label":d.paginationLabels.nextButtonLabel,"previous-button-label":d.paginationLabels.previousButtonLabel,"page-label":d.paginationLabels.pageLabel,"of-label":d.paginationLabels.ofLabel,modelValue:(0,l.R1)(r).currentPage,"onUpdate:modelValue":s[0]||(s[0]=function(e){return(0,l.R1)(r).currentPage=e}),onPageClick:W},null,8,["number-of-pages","next-button-label","previous-button-label","page-label","of-label","modelValue"])):(0,o.Q3)("",!0)])),n.value.error?((0,o.uX)(),(0,o.CE)("div",I,[n.value.error?((0,o.uX)(),(0,o.Wv)((0,l.R1)(c.VsWarning),{key:0},{default:(0,o.k6)((function(){return[(0,o.eW)((0,u.toDisplayString)(n.value.message),1)]})),_:1})):(0,o.Q3)("",!0)])):(0,o.Q3)("",!0)]),(0,o.bF)((0,l.R1)(c.VsWarning),{"data-test":"vs-federated-search__error--no-js",class:"vs-federated-search__error--no-js mb-300"},{default:(0,o.k6)((function(){return[(0,o.eW)((0,u.toDisplayString)(d.searchLabels.noJs),1)]})),_:1})])}}}}},function(e){return e.O(0,[641,6262,7510,3751,4352,7527,4467,8086,810,7800,9394,2543,3453,281,7536,7511,9033,8795,6425,7171,3498,8449,4982,6422,8745,8836,3838,8638,2368,7521,1438,4580,5676,1574,9122,4282,5921,1459,2142,7275,1406,9810,5025,3486,7957,9116,4448,378,6494,1688,4232,1454,3614,2491,4360,6305,9856,8861,4179,7933,2710,6955,815,3706,3484,1371,9054,7553,6086,3130,5945,8167,4921,1288,3990,3293,1244,680,4828,459,2329,4409,6358,1696,80,2152,4145,922,4433,2822,8258,1086,1154,8533,4681,71,7033,7894,6665,6618,1389,1161,9621,4029,3350,9146,6838,4879,4953,1718,1120,47,9464,9177,9839,625,6004,5513,7097,7311,8399,5465,6641,9633,5809,3337,2810,7086,3603,8978,3033,630,6649,8759,5807,4712,5048,2761,8693,5782,8407,4562,7906,1841,6175,3642,7692,8462,7231,7195,8573,1106,1379,4999,6431,3609,2759,7848,6241,8817,8570,4061,9323,9923,3731,3914,2837,5577,3650,2612,6283,9783,7969,4036,9280,8332,2437,6123,7570,4670,9423,9886,3734,1901,8969,5106,627,538,1493,4297,1474,4856,7006,6689,2903,2989,555,8995,5965],(function(){return e(e.s=49439)})),e.O()}])}));
@@ -1 +1 @@
1
- "use strict";!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.VsSectionHeader=t():e.VsSectionHeader=t()}(self,(function(){return(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[8380],{},function(e){return e.O(0,[641,6262,7510,3751,4352,7800,9394,2543,8638,2368,3838,7521,1438,4580,6431],(function(){return e(e.s=46431)})),e.O()}])}));
1
+ "use strict";!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.VsSectionHeader=t():e.VsSectionHeader=t()}(self,(function(){return(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[8380],{},function(e){return e.O(0,[641,6262,7510,3751,4352,7800,9394,2543,3838,8638,2368,7521,1438,4580,6431],(function(){return e(e.s=46431)})),e.O()}])}));
@@ -0,0 +1 @@
1
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.VsMainMap=t():e.VsMainMap=t()}(self,(function(){return(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[1733],{7885:function(e,t,a){"use strict";var n=a(50953),r=a(20641);t.A=function(){var e=(0,n.KR)([]),t=(0,n.KR)(!1),a=(0,n.KR)(!1),o=(0,r.EW)((function(){return!("undefined"==typeof window||!window.bypassCookiesRequired)||t.value})),l=(0,r.EW)((function(){return!("undefined"==typeof window||!window.bypassCookiesLoaded)||{cookieManagerLoaded:a}}));return(0,r.sV)((function(){window.addEventListener("cookieManagerLoaded",(function(){a.value=!0})),window.addEventListener("cookiesUpdated",(function(){var a;a=!1,"undefined"!=typeof CookieControl&&(a=e.value.every((function(e){return!0===CookieControl.getCategoryConsent(e)}))),t.value=a}))})),{requiredCookies:e,cookiesAllowed:o,cookiesLoaded:l}}},12524:function(e,t,a){"use strict";a.r(t);var n=a(88522);a(24752);const r=n.A;t.default=r},24752:function(e,t,a){"use strict";a(50804)},44806:function(e,t,a){"use strict";var n=a(10467),r=a(54756),o=a.n(r),l=a(20641),i=a(90033),c=a(50953),u=a(53751),s=a(66239),d=a(83750),p=a(57536),f=a(12903),v=a(84343),g=a(12308),y=a(78202),m=a(7885),b=a(66604),h=a(96763),_={class:"vs-map"},k={class:"vs-map__controls"},w={class:"vs-map-sidebar__sub-filters"},C={id:"search-container"},R={key:0,class:"vs-map__filter-controls"},E={class:"vs-map__wrapper"},x={id:"vs-map","map-id":"vs-map",ref:"vsMap"},S={id:"detail-container"};t.A={__name:"MainMap",props:{apiKey:{type:String,default:(0,s.A)("GOOGLE_MAPS_API_KEY")},mapId:{type:String,default:"vs-map"},mapTypeVector:{type:Boolean,default:!1},center:{type:Object,default:function(){return{lat:56.490153,lng:-4.10959}}},zoom:{type:Number,default:6},radius:{type:Number,default:1e3},labels:{type:Object,default:function(){}},languageCode:{type:String,default:"en",validator:function(e){return e.match(/(en|es|it|de|nl|fr)/)}},categoriesLocation:{type:String,default:""},categoryLabels:{type:Object,default:function(){}},featuredPlaces:{type:Object,default:void 0},jsDisabled:{type:Boolean,required:!0},noJsMessage:{type:String,required:!0},noCookiesMessage:{type:String,required:!0},cookieBtnText:{type:String,required:!0},noResultsMessage:{type:String,required:!0},resetMapNoResultsMessage:{type:String,required:!0}},setup:function(e){var t,a,r,s,I,L,A,F,O,T,M=(0,b.A)(),j=e,B=j.categoryLabels.find((function(e){return"destinations"===e.id})),D=B?B.subCategory:null;(0,l.Gt)("featuredPlaces",{categories:D,places:j.featuredPlaces}),(0,l.Gt)("onFeaturedLocationClick",(function(e){t.fitBounds(new google.maps.LatLngBounds(new google.maps.LatLng(e.properties.viewport.low.latitude,e.properties.viewport.low.longitude),new google.maps.LatLng(e.properties.viewport.high.latitude,e.properties.viewport.high.longitude))),t.setCenter(new google.maps.LatLng(e.properties.locationCentre.latitude,e.properties.locationCentre.longitude)),se("things-to-do",2),G.value=!0}));var q,J,K={},W=(0,c.KR)(),U=(0,c.KR)(new Set),Y=(0,c.KR)(),z=(0,c.KR)(new Set),V=(0,c.KR)(new Set),Q=(0,c.KR)(new Set),X=(0,c.KR)(new Set),P=(0,c.KR)(),Z=(0,c.KR)(),N=(0,c.KR)(j.zoom),G=(0,c.KR)(!1),H=(0,c.KR)(),$=(0,c.KR)(new Set),ee=(0,c.KR)(),te=(0,l.EW)((function(){var e=new Map,t=le[W.value].subCategory;return Object.values(t).forEach((function(t){e.set(t.id,{includedTypes:t.includedType,excludedTypes:t.excludedType})})),e})),ae=(0,v.default)(),ne=(0,c.KR)(!1),re=(0,c.KR)(void 0),oe={north:60.8,south:54.8,west:-8.5,east:-.7},le={},ie=j.categoryLabels,ce=0;function ue(e){var a={strokeColor:"#A3A3CC",strokeOpacity:1,strokeWeight:1,fillColor:"#A3A3CC",fillOpacity:.5},n=["ChIJ39UebIqp0EcRqI4tMyWV4fQ","ChIJdZmmmcoQXkgR2OO3bu8o5fc","ChIJ-ydAXOS6WUgRCPTbzjQSfM8","ChIJ7Q8cbLY0ZEgRouilirxxux4","ChIJ1YEuRDCFY0gRDeDw8bxbAuo","ChIJv-VNj0VoEkYRK9BkuJ07sKE","ChIJ-1-U7rYnS0YRzZLgw9BDh1I","ChIJ8fA1bTmyXEYRYm-tjaLruCI","ChIJ6_ktdpMVvEgRJBv3ZEgxsD8","ChIJa76xwh5ymkcRW-WRjmtd6HU","ChIJu-SH28MJxkcRnwq9_851obM","ChIJuwtkpGSZAEcR6lXMScpzdQk","ChIJl5fz7WR9wUcR8g_mObTy60c","ChIJMVd4MymgVA0R99lHx5Y__Ws","ChIJ_ZqKe2cw6UYREPzyaM3PAAA","ChIJE74zDxSU3UYRubpdpdNUCvM","ChIJ4wsuREWc40YRewI60MRYJR4","ChIJ_UuggpyUkkYRwyW0T7qf6kA","ChIJ3fYyS9_KgUYREKh1PNZGAQA","ChIJQ2Dro1Ir0kgRmkXB5TQEim8","ChIJFXfA47sNok4RGOIUAYOdzzQ","ChIJI9HkgQm_ikYR8i7GR23fEbY","ChIJUXXYvLMei0YR7zdFQUIM8bA","ChIJRyEhyrlFlUcR75LTAvZg22Q"],r=["ChIJ39UebIqp0EcRqI4tMyWV4fQ","ChIJdZmmmcoQXkgR2OO3bu8o5fc","ChIJ-ydAXOS6WUgRCPTbzjQSfM8","ChIJ6_ktdpMVvEgRJBv3ZEgxsD8"],o=t.getFeatureLayer(google.maps.FeatureType.COUNTRY),l=t.getFeatureLayer(google.maps.FeatureType.ADMINISTRATIVE_AREA_LEVEL_1);e?(o.style=null,l.style=null,o.style=function(e){if(r.includes(e.feature.placeId))return a},l.style=function(e){if(r.includes(e.feature.placeId))return a}):(o.style=function(e){if(n.includes(e.feature.placeId))return a},l.style=function(e){if(n.includes(e.feature.placeId))return a})}function se(e,t){we(),W.value=e,Object.values(le[e].subCategory).forEach((function(e){return z.value.add(e.includedType)})),Object.values(le[e].subCategory).forEach((function(e){e.excludedType&&V.value.add(e.excludedType)})),z.value=new Set(Array.from(z.value).flat()),V.value=new Set(Array.from(V.value).flat()),z.value.forEach((function(e){V.value.has(e)&&V.value.delete(e)})),Y.value=le[e],P.value=t,ve({includedTypes:Array.from(z.value),excludedTypes:Array.from(V.value)}),H.value=ie[P.value].label,O.value=H.value}function de(e,t){var a=(0,c.KR)([]),n=(0,c.KR)();return e.forEach((function(){ie.forEach((function(e){e.id===W.value&&(a.value=e)})),Object.values(a.value).forEach((function(e){Object.values(e).forEach((function(e){t===e.id&&(n.value=e.label)}))}))})),n}function pe(){Q.value.forEach((function(e){X.value.has(e)&&X.value.delete(e)}))}function fe(e){var t,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=a.includeTypes,r=void 0!==n&&n,o=a.excludeTypes,l=void 0!==o&&o,i=a.removeIncludedTypes,c=void 0!==i&&i,u=a.removeExcludedTypes,s=void 0!==u&&u,d=te.value.get(e);r&&d.includedTypes.forEach((function(e){r&&Q.value.add(e),c&&Q.value.delete(e)})),(l||s)&&(null===(t=d.excludedTypes)||void 0===t||t.forEach((function(e){l&&X.value.add(e),s&&X.value.delete(e)})))}function ve(){return ge.apply(this,arguments)}function ge(){return ge=(0,n.A)(o().mark((function e(){var a,n,l,i,c,u,s,d,p,f,v,g=arguments;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=(a=g.length>0&&void 0!==g[0]?g[0]:{}).includedTypes,l=void 0===n?[]:n,i=a.excludedTypes,c=void 0===i?[]:i,_e(),ke(),u=ce+=1,ne.value=!1,ae.filterUsesCount+=1,ee.value="nearby",s=t.getBounds(),d=s.getNorthEast(),p=s.getSouthWest(),f=google.maps.geometry.spherical.computeDistanceBetween(d,p),v=Math.min(f/2,25e3),L.includedTypes=l,L.excludedTypes=null!=c?c:[],L.maxResultCount=20,L.locationRestriction={center:t.getCenter(),radius:v},r.style.display="block",r.addEventListener("gmp-load",(function(){if(u===ce){be(u);var e="main",a=W.value;U.value.size&&(e="sub",a=Array.from(U.value).join(", ")),M.createDataLayerObject("googleMapFilterEvent",{filter_type:e,search_map_location:t.getCenter().toString(),filter_selection:a,results_count:r.places.length,filter_usage_index:ae.filterUsesCount}),xe("map_filter")}}),{once:!0});case 1:case"end":return e.stop()}}),e)}))),ge.apply(this,arguments)}function ye(){return me.apply(this,arguments)}function me(){return(me=(0,n.A)(o().mark((function e(){var a;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(_e(),we(),ne.value=!1,a=ce+=1,ae.searchesCount+=1,ee.value="text",H.value=O.value.trim(),H.value){e.next=1;break}return e.abrupt("return");case 1:I.textQuery=H.value,I.locationRestriction=t.getBounds(),I.maxResultCount=20,s.style.display="block",s.addEventListener("gmp-load",(function(){a===ce&&(be(a),M.createDataLayerObject("googleMapSearchEvent",{search_query:H.value,search_map_location:t.getCenter().toString(),search_results_count:s.places.length,search_usage_index:ae.searchesCount}),xe("map_search"))}),{once:!0});case 2:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function be(e){return he.apply(this,arguments)}function he(){return(he=(0,n.A)(o().mark((function e(a){var n,l,i,u,p,f;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=1,(0,d.lB)("marker");case 1:return n=e.sent,l=n.AdvancedMarkerElement,e.next=2,(0,d.lB)("core");case 2:if(i=e.sent,u=i.LatLngBounds,a===ce){e.next=3;break}return e.abrupt("return");case 3:p=(0,c.KR)(),"nearby"===ee.value?p.value=r:"text"===ee.value?p.value=s:h.error("Unrecognised Search type"),0===p.value.places.length?(ne.value=!0,p.value.style.display="none"):p.value.style.display="block",f=new u,p.value.places&&p.value.places.forEach((function(e){var a=document.createElement("div");a.classList.add("vs-map-marker");var n=document.createElement("i");n.classList.add("fa-solid","fa-location-dot"),a.appendChild(n);var r=new l({map:t,position:e.location,content:a,title:"Map pin"});r.addEventListener("gmp-placeclick",(function(){Ce(e)})),r.addListener("click",(function(){Ce(e)})),r.metadata={id:e.id},K[e.id]=r,f.extend(e.location),1===p.value.places.length?(t.setCenter({lat:e.location.lat(),lng:e.location.lng()}),t.setZoom(14),t.fitBounds(e.viewport)):(t.setCenter(f.getCenter()),t.fitBounds(f))}));case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function _e(e,a){!function(){for(var e in K)K[e]&&(K[e].map=null);K={}}(),ee.value="",r.style.display="none",s.style.display="none",I.textQuery=null,G.value=!1,T&&T.close&&T.close(),ne.value=!1,e&&(ke(),we(),Re("clear_all")),a&&(t.setCenter(j.center),t.setZoom(j.zoom),t.fitBounds(oe),Re("reset_map"))}function ke(){H.value=null,O.value=""}function we(){W.value=void 0,U.value=new Set,z.value=new Set,V.value=new Set,Q.value=new Set,X.value=new Set,$.value=new Set,P.value=void 0,Z.value=void 0}function Ce(e){T.isOpen&&(T.close(),Re("card_close",F.place)),F.place=e,window.innerWidth<=768?(A.style.width="85vw",A.style.height="32em",ae.sidebarOpen=!1):(A.style.width="20em",A.style.height="32em"),A.style.display="block",A.style.overflowY="auto",A.style.overflowX="hidden",A.style.boxSizing="border-box",A.style.maxHeight="32em",T.setOptions({content:A,maxWidth:"25em",position:e.location,pixelOffset:new google.maps.Size(0,-32)}),T.open({map:t}),google.maps.event.addListenerOnce(t,"idle",(function(){t.getZoom()>17&&t.setZoom(17),Re("card_open",e)})),t.setCenter(e.location)}function Re(e,t){return Ee.apply(this,arguments)}function Ee(){return(Ee=(0,n.A)(o().mark((function e(a,n){var r,l,i,c;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r="",l="",i="",c="",!n){e.next=2;break}return e.next=1,n.fetchFields({fields:["displayName","primaryType","rating","websiteURI"]});case 1:r=n.displayName,l=n.rating,i=n.websiteURI,c=n.primaryType;case 2:M.createDataLayerObject("googleMapInteractionEvent",{interaction_type:a,search_query:O.value.trim(),map_location:t.getCenter().toString(),visible_attractions_count:q,card_attraction_name:r,card_attraction_category:c,card_attraction_rating:l,card_attraction_url:i,interaction_timestamp_ms:Date.now()}),xe(a);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function xe(e){if(!ae.firstInteraction){var t=Date.now()-ae.timeMounted;M.createDataLayerObject("googleMapTimeToFirstInteractionEvent",{time_to_first_interaction_ms:t,first_interaction_type:e}),ae.firstInteraction=!0}}function Se(){var e=t.getBounds();if(!e)return 0;for(var a=0,n=0;n<Object.keys(K).length;n++){var r=K[Object.keys(K)[n]].position;e.contains(r)&&(a+=1)}return a}return(0,l.KC)((function(){var e=(0,m.A)();e.requiredCookies.value=g.A.google_maps,J=(0,l.EW)((function(){return(!e.cookiesAllowed.value&&!0===e.cookiesLoaded.value||!e.cookiesLoaded.value)&&(re.value="noCookie",!0)}))})),(0,l.sV)((0,n.A)(o().mark((function e(){var l,i;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(i=function(){return(i=(0,n.A)(o().mark((function e(){var n,l;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,n={center:{lat:j.center.lat,lng:j.center.lng},renderingType:j.mapTypeVector?google.maps.RenderingType.VECTOR:google.maps.RenderingType.RASTER,zoom:j.zoom,isFractionalZoomEnabled:!0,mapId:j.mapId,restriction:{latLngBounds:oe},zoomControl:!0,fullscreenControl:!1,mapTypeControl:!1,cameraControl:!1,streetViewControl:!1,gestureHandling:"greedy"},!a){e.next=1;break}(t=new google.maps.Map(a,n)).fitBounds(oe),e.next=2;break;case 1:throw new Error("Init error, mapContainer undefined");case 2:e.next=4;break;case 3:e.prev=3,l=e.catch(0),h.error("Maps init error",l.message);case 4:(T=new google.maps.InfoWindow).addListener("closeclick",(function(){Re("card_close",F.place)})),ue(),t.addListener("zoom_changed",(function(){N.value=t.getZoom(),N.value<11?ue():ue(!0)})),t.addListener("idle",(function(){q=Se()})),r.addEventListener("gmp-select",(function(e){var t=e.place;K[t.id]&&Ce(t,K[t.id])})),s.addEventListener("gmp-select",(function(e){var t=e.place;K[t.id]&&Ce(t,K[t.id])}));case 5:case"end":return e.stop()}}),e,null,[[0,3]])})))).apply(this,arguments)},l=function(){return i.apply(this,arguments)},j.categoriesLocation&&p.A.get(j.categoriesLocation).then((function(e){le=e.data})).catch((function(){})),!1!==J.value){e.next=8;break}return(0,d.hn)({key:j.apiKey,v:"quarterly",libraries:["maps","places","marker","core","geometry"],region:"GB",language:j.languageCode}),e.prev=1,e.next=2,(0,d.lB)("maps");case 2:return e.next=3,(0,d.lB)("places");case 3:return e.next=4,(0,d.lB)("marker");case 4:return e.next=5,(0,d.lB)("core");case 5:return e.next=6,(0,d.lB)("geometry");case 6:e.next=8;break;case 7:e.prev=7,e.catch(1),h.error("Google Maps Library load error");case 8:if(a=document.getElementById("vs-map"),r=document.getElementById("nearbySearch"),s=document.getElementById("textSearch"),I=document.querySelector("gmp-place-text-search-request"),L=document.querySelector("gmp-place-nearby-search-request"),A=document.querySelector("gmp-place-details"),F=document.getElementById("placeRequest"),O=document.getElementById("vs-map-search-input"),ae.firstInteraction=!1,ae.searchesCount=0,ae.filterUsesCount=0,!1!==J.value){e.next=9;break}return e.next=9,l();case 9:case"end":return e.stop()}}),e,null,[[1,7]])})))),function(t,a){var n=(0,l.g2)("gmp-place-nearby-search-request"),r=(0,l.g2)("gmp-place-address"),o=(0,l.g2)("gmp-place-rating"),s=(0,l.g2)("gmp-place-type"),d=(0,l.g2)("gmp-place-price"),p=(0,l.g2)("gmp-place-accessible-entrance-icon"),v=(0,l.g2)("gmp-place-opening-hours"),g=(0,l.g2)("gmp-place-reviews"),m=(0,l.g2)("gmp-place-attribution"),b=(0,l.g2)("gmp-place-content-config"),h=(0,l.g2)("gmp-place-search"),I=(0,l.g2)("gmp-place-text-search-request"),L=(0,l.g2)("gmp-place-details-place-request"),A=(0,l.g2)("gmp-place-website"),F=(0,l.g2)("gmp-place-phone-number"),T=(0,l.g2)("gmp-place-summary"),M=(0,l.g2)("gmp-place-type-specific-highlights"),B=(0,l.g2)("gmp-place-feature-list"),D=(0,l.g2)("gmp-place-media"),q=(0,l.g2)("gmp-place-details");return(0,l.uX)(),(0,l.CE)("div",_,[(0,l.Lk)("div",{class:(0,i.normalizeClass)(["vs-map__container",(0,c.R1)(J)?"d-none":""])},[(0,l.Lk)("div",k,[(0,l.bF)(y.default,{query:H.value,"selected-categories":W.value,"header-label":j.labels.heading,"close-sidebar-button-label":j.labels.closeSidebarBtn,"search-bar-aria-label":j.labels.searchBarAriaLabel,"input-placeholder-label":j.labels.inputPlaceholder,"search-button-label":j.labels.searchButton,"clear-map-label":j.labels.clearMap,"sub-filter-header-label":j.labels.subFilterHeader,"search-results-label":j.labels.searchResults,"open-sidebar-button-label":j.labels.openSidebarButton,onSearchInputChanged:ye,onResetMap:a[1]||(a[1]=function(e){return _e(!0)})},(0,l.eX)({"vs-map-sidebar-search-results":(0,l.k6)((function(){return[((0,l.uX)(),(0,l.Wv)(l.tY,null,{default:(0,l.k6)((function(){return[(0,l.Lk)("div",C,[(0,l.bF)(h,{id:"nearbySearch",orientation:"vertical",selectable:"",style:{display:"none"}},{default:(0,l.k6)((function(){return[(0,l.bF)(n,{id:"nearbySearchQuery"}),(0,l.bF)(b,null,{default:(0,l.k6)((function(){return[(0,l.bF)(r),(0,l.bF)(o),(0,l.bF)(s),(0,l.bF)(d),(0,l.bF)(p),(0,l.bF)(v),(0,l.bF)(g),(0,l.bF)(m,{"light-scheme-color":"gray","dark-scheme-color":"gray"})]})),_:1})]})),_:1}),(0,l.bF)(h,{id:"textSearch",orientation:"vertical",selectable:"",style:{display:"none"}},{default:(0,l.k6)((function(){return[(0,l.bF)(I,{id:"textSearchQuery"}),(0,l.bF)(b,null,{default:(0,l.k6)((function(){return[(0,l.bF)(r),(0,l.bF)(o),(0,l.bF)(s),(0,l.bF)(d),(0,l.bF)(p),(0,l.bF)(v),(0,l.bF)(g),(0,l.bF)(m,{"light-scheme-color":"gray","dark-scheme-color":"gray"})]})),_:1})]})),_:1})])]})),_:1})),ne.value?((0,l.uX)(),(0,l.Wv)((0,c.R1)(f.VsAlert),{key:0,id:"vs-map__no-results-alert",class:"mt-075 mb-150",size:"small"},{default:(0,l.k6)((function(){return[(0,l.Lk)("span",null,[(0,l.eW)((0,i.toDisplayString)(e.noResultsMessage)+" ",1),(0,l.Lk)("a",{href:"#",onClick:a[0]||(a[0]=(0,u.withModifiers)((function(e){return _e(!0,!0)}),["prevent"]))},(0,i.toDisplayString)(e.resetMapNoResultsMessage),1)])]})),_:1})):(0,l.Q3)("",!0)]})),_:2},[W.value?{name:"vs-map-sidebar-sub-filters",fn:(0,l.k6)((function(){return[(0,l.Lk)("div",w,[((0,l.uX)(!0),(0,l.CE)(l.FK,null,(0,l.pI)((0,c.R1)(ie)[P.value].subCategory,(function(e,t){return(0,l.uX)(),(0,l.Wv)((0,c.R1)(f.VsButton),{key:t,variant:U.value.has(e.id)?"primary":"secondary",size:"sm",onClick:function(a){return function(e,t){Z.value=t,"self-catering"===e?(ke(),U.value=new Set,U.value.add(e),H.value=de(U.value,e).value,we(),O.value=H.value,ye()):U.value.has(e)?(U.value.delete(e),Q.value=new Set,X.value=new Set,U.value.forEach((function(e){fe(e,{includeTypes:!0,excludeTypes:!0})})),pe(),$.value.delete(de(U.value,e).value),0===U.value.size?($.value=new Set,se(W.value,P.value)):(ve({includedTypes:Array.from(Q.value).flat(),excludedTypes:Array.from(X.value).flat()}),H.value=Array.from($.value).join(", "),O.value=H.value)):(U.value.add(e),fe(e,{includeTypes:!0,excludeTypes:!0}),pe(),ve({includedTypes:Array.from(Q.value).flat(),excludedTypes:Array.from(X.value).flat()}),$.value.add(de(U.value,e).value),H.value=Array.from($.value).join(", "),O.value=H.value)}(e.id,t)}},{default:(0,l.k6)((function(){return[(0,l.eW)((0,i.toDisplayString)(e.label),1)]})),_:2},1032,["variant","onClick"])})),128))])]})),key:"0"}:void 0]),1032,["query","selected-categories","header-label","close-sidebar-button-label","search-bar-aria-label","input-placeholder-label","search-button-label","clear-map-label","sub-filter-header-label","search-results-label","open-sidebar-button-label"]),(N.value>=11||G.value)&&(0,c.R1)(ae).sidebarOpen&&Object.keys((0,c.R1)(le)).length>0?((0,l.uX)(),(0,l.CE)("div",R,[((0,l.uX)(!0),(0,l.CE)(l.FK,null,(0,l.pI)((0,c.R1)(ie),(function(e,t){return(0,l.uX)(),(0,l.CE)(l.FK,{key:t},[e.cmsData?(0,l.Q3)("",!0):((0,l.uX)(),(0,l.Wv)((0,c.R1)(f.VsButton),{key:0,class:"vs-map__filter-controls-button",variant:W.value===e.id?"primary":"secondary",onClick:(0,u.withModifiers)((function(a){return se(e.id,t)}),["prevent"]),icon:Object.values((0,c.R1)(le))[t].icon},{default:(0,l.k6)((function(){return[(0,l.eW)((0,i.toDisplayString)(e.label),1)]})),_:2},1032,["variant","onClick","icon"]))],64)})),128))])):(0,l.Q3)("",!0)]),(0,l.Lk)("div",E,[(0,l.Lk)("div",x,null,512),((0,l.uX)(),(0,l.Wv)(l.tY,null,{default:(0,l.k6)((function(){return[(0,l.Lk)("div",S,[(0,l.bF)(q,{id:"placeDetails",style:{display:"none"}},{default:(0,l.k6)((function(){return[(0,l.bF)(L,{id:"placeRequest"}),(0,l.bF)(b,null,{default:(0,l.k6)((function(){return[(0,l.bF)(r),(0,l.bF)(o),(0,l.bF)(s),(0,l.bF)(d),(0,l.bF)(p),(0,l.bF)(v),(0,l.bF)(A),(0,l.bF)(F),(0,l.bF)(T),(0,l.bF)(M),(0,l.bF)(g),(0,l.bF)(B),(0,l.bF)(D,{"lightbox-preferred":""}),(0,l.bF)(m,{"light-scheme-color":"gray","dark-scheme-color":"gray"})]})),_:1})]})),_:1})])]})),_:1}))])],2),(0,c.R1)(J)&&"noCookie"===re.value?((0,l.uX)(),(0,l.Wv)((0,c.R1)(f.VsWarning),{key:0,type:"cookie",class:(0,i.normalizeClass)(["vs-map__error vs-map__error--no-cookies",(0,c.R1)(J)?"d-block":"d-none"]),"data-test":"vs-map__warning--no-cookies"},{"button-text":(0,l.k6)((function(){return[(0,l.eW)((0,i.toDisplayString)(j.cookieBtnText),1)]})),default:(0,l.k6)((function(){return[(0,l.eW)((0,i.toDisplayString)(j.noCookiesMessage)+" ",1)]})),_:1},8,["class"])):(0,l.Q3)("",!0),(0,l.bF)((0,c.R1)(f.VsWarning),{class:"vs-map__warning vs-map__warning--no-js","data-test":"vs-map__warning--no-js"},{default:(0,l.k6)((function(){return[(0,l.eW)((0,i.toDisplayString)(e.noJsMessage),1)]})),_:1})])}}}},50804:function(e,t,a){"use strict";var n=a(85072),r=a.n(n),o=a(97825),l=a.n(o),i=a(77659),c=a.n(i),u=a(55056),s=a.n(u),d=a(10540),p=a.n(d),f=a(41113),v=a.n(f),g=a(79742),y=a.n(g),m={};m.styleTagTransform=v(),m.setAttributes=s(),m.insert=c().bind(null,"head"),m.domAPI=l(),m.insertStyleElement=p(),r()(y(),m),y()&&y().locals&&y().locals},66604:function(e,t,a){"use strict";a.d(t,{A:function(){return d}});var n=a(64467),r=a(50953),o=a(20641),l=a(4859),i=a(63555),c=a(12554);function u(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 s(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?u(Object(a),!0).forEach((function(t){(0,n.A)(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):u(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function d(){var e=(0,l.A)(),t=(0,r.KR)(!1);function a(e,t){var a={};return e.forEach((function(e){a[e]=t[e]||void 0,"language"===e&&void 0===a[e]&&(a[e]=t.site_language||void 0)})),a}function n(){return new Date(Date.now()).toISOString()}function u(t){var a=s(s({},e.GTMData),t);return a.hit_timestamp=n(),a}function d(e){t.value?window.dataLayer.push(e):(0,i.A)("dataLayer",(function(){t.value=!0,window.dataLayer.push(e)}))}return{pageUrl:(0,o.EW)((function(){return e.pageUrl})),createDataLayerObject:function(e,t){var n,r;switch(e){case"googleMapSearchEvent":n=u({event:"map_search",search_query:t.search_query,search_map_location:t.search_map_location,search_results_count:t.search_results_count,search_usage_index:t.search_usage_index}),r=a(c.Ew,n);break;case"googleMapFilterEvent":n=u({event:"map_filter_interaction",filter_type:t.filter_type,search_map_location:t.search_map_location,filter_selection:t.filter_selection,results_count:t.results_count,filter_usage_index:t.filter_usage_index}),r=a(c.cV,n);break;case"googleMapTimeToFirstInteractionEvent":n=u({event:"map_time_to_first_interaction",time_to_first_interaction_ms:t.time_to_first_interaction_ms,first_interaction_type:t.first_interaction_type}),r=a(c.WO,n);break;case"googleMapInteractionEvent":n=u({event:"map_interaction_click",interaction_type:t.interaction_type,search_query:t.search_query,map_location:t.map_location,visible_attractions_count:t.visible_attractions_count,card_attraction_name:t.card_attraction_name,card_attraction_category:t.card_attraction_category,card_attraction_url:t.card_attraction_url,card_attraction_rating:t.card_attraction_rating,interaction_timestamp_ms:t.interaction_timestamp_ms}),r=a(c.cg,n)}r&&d(r)},templateFiller:a,compileFullTemplate:u,returnIsoDate:n,pushToDataLayer:d,dataLayerStore:e}}},79742:function(){},88522:function(e,t,a){"use strict";a.d(t,{A:function(){return n.A}});var n=a(44806)}},function(e){return e.O(0,[641,6262,7510,3751,4352,7527,4467,8086,810,7800,9394,2543,3453,281,7536,7511,9033,8795,6425,7171,3498,8449,3750,4982,6422,8745,8836,3838,8638,2368,7521,1438,4580,5676,1574,9122,4282,5921,1459,2142,7275,1406,9810,5025,3486,7957,9116,4448,378,6494,1688,4232,1454,3614,2491,4360,6305,9856,8861,4179,7933,2710,6955,815,3706,3484,1371,9054,7553,6086,3130,5945,8167,4921,1288,3990,3293,1244,680,4828,459,2329,4409,6358,1696,80,2152,4145,922,4433,2822,8258,1086,1154,8533,4681,71,7033,7894,6665,6618,1389,1161,9621,4029,3350,9146,6838,4879,4953,1718,1120,47,9464,9177,9839,625,6004,5513,7097,7311,8399,5465,6641,9633,5809,3337,2810,7086,3603,8978,3033,630,6649,8759,5807,4712,5048,2761,8693,5782,8407,4562,7906,1841,6175,3642,7692,8462,7231,7195,8573,1106,1379,4999,6431,3609,2759,7848,6241,8817,8570,4061,9323,9923,3731,3914,2837,5577,3650,1344,2612,6283,9783,7969,4036,9280,8332,2437,6123,7570,4670,9423,9886,3734,1901,8969,5106,627,538,1493,4297,1474,4856,7006,6689,2903,7509,8202],(function(){return e(e.s=12524)})),e.O()}])}));
@@ -1 +1 @@
1
- "use strict";!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.VsItineraryDay=t():e.VsItineraryDay=t()}(self,(function(){return(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[3317],{},function(e){return e.O(0,[641,6262,7510,3751,4352,7527,4467,8086,810,7800,9394,2543,4982,6422,8745,8836,8638,2368,3838,7521,1438,7275,9810,2761],(function(){return e(e.s=62761)})),e.O()}])}));
1
+ "use strict";!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.VsItineraryDay=t():e.VsItineraryDay=t()}(self,(function(){return(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[3317],{},function(e){return e.O(0,[641,6262,7510,3751,4352,7527,4467,8086,810,7800,9394,2543,4982,6422,8745,8836,3838,8638,2368,7521,1438,7275,1406,9810,2761],(function(){return e(e.s=62761)})),e.O()}])}));
@@ -1 +1 @@
1
- "use strict";!function(e,o){"object"==typeof exports&&"object"==typeof module?module.exports=o():"function"==typeof define&&define.amd?define([],o):"object"==typeof exports?exports.VsFooterAccordionItem=o():e.VsFooterAccordionItem=o()}(self,(function(){return(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[2514],{},function(e){return e.O(0,[641,6262,7510,3751,4352,7527,4467,8086,810,7800,9394,2543,4982,6422,8745,8836,3838,7275,9810,8462],(function(){return e(e.s=58462)})),e.O()}])}));
1
+ "use strict";!function(e,o){"object"==typeof exports&&"object"==typeof module?module.exports=o():"function"==typeof define&&define.amd?define([],o):"object"==typeof exports?exports.VsFooterAccordionItem=o():e.VsFooterAccordionItem=o()}(self,(function(){return(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[2514],{},function(e){return e.O(0,[641,6262,7510,3751,4352,7527,4467,8086,810,7800,9394,2543,4982,6422,8745,8836,3838,7275,1406,9810,8462],(function(){return e(e.s=58462)})),e.O()}])}));
@@ -1 +1 @@
1
- "use strict";!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.VsCannedSearchProductCard=t():e.VsCannedSearchProductCard=t()}(self,(function(){return(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[132],{},function(e){return e.O(0,[641,6262,7510,3751,4352,7527,4467,8086,810,7800,9394,2543,4982,6422,8745,8638,3838,5676,1574,4409],(function(){return e(e.s=44409)})),e.O()}])}));
1
+ "use strict";!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.VsCannedSearchProductCard=t():e.VsCannedSearchProductCard=t()}(self,(function(){return(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[132],{},function(e){return e.O(0,[641,6262,7510,3751,4352,7527,4467,8086,810,7800,9394,2543,4982,6422,8745,3838,8638,5676,1574,4409],(function(){return e(e.s=44409)})),e.O()}])}));
@@ -0,0 +1 @@
1
+ (self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[8693],{1671:function(t,n,e){"use strict";e.d(n,{A:function(){return a.A}});var a=e(36075)},36075:function(t,n,e){"use strict";var a=e(49810),i=e(45676);n.A={name:"VsMegaNavAccordionItem",status:"prototype",release:"0.1.0",components:{VsAccordionItem:a.default,VsLink:i.default},props:{controlId:{type:String,required:!0},title:{type:String,required:!0},level:{type:String,required:!0,validator:function(t){return t.match(/(1|2)/)}},ctaLink:{type:String,default:""},ctaText:{type:String,default:""}},computed:{getUniqueId:function(){var t=this.title.toLowerCase();return t=t.replace(/\s+/g,"-"),"vs-mega-nav-".concat(t)},accordionItemClasses:function(){return["vs-mega-nav-accordion-item--level-".concat(this.level)]}}}},62711:function(){},75041:function(t,n,e){"use strict";var a=e(85072),i=e.n(a),c=e(97825),r=e.n(c),o=e(77659),s=e.n(o),u=e(55056),l=e.n(u),d=e(10540),v=e.n(d),f=e(41113),m=e.n(f),g=e(62711),p=e.n(g),k={};k.styleTagTransform=m(),k.setAttributes=l(),k.insert=s().bind(null,"head"),k.domAPI=r(),k.insertStyleElement=v(),i()(p(),k),p()&&p().locals&&p().locals},83853:function(t,n,e){"use strict";e(75041)},88693:function(t,n,e){"use strict";e.r(n);var a=e(93291),i=e(1671);e(83853);const c=(0,e(66262).A)(i.A,[["render",a.X]]);n.default=c},93291:function(t,n,e){"use strict";e.d(n,{X:function(){return c}});var a=e(20641),i=e(90033);function c(t,n,e,c,r,o){var s=(0,a.g2)("VsLink"),u=(0,a.g2)("VsAccordionItem");return(0,a.uX)(),(0,a.Wv)(u,{class:(0,i.normalizeClass)(["vs-mega-nav-accordion-item",o.accordionItemClasses]),"data-test":"vs-mega-nav-accordion-item","data-unique-id":o.getUniqueId,"control-id":"vs-mega-nav-accordion-item-".concat(o.getUniqueId,"-").concat(e.controlId)},{title:(0,a.k6)((function(){return[(0,a.eW)((0,i.toDisplayString)(e.title),1)]})),default:(0,a.k6)((function(){return[e.ctaLink&&e.ctaText?((0,a.uX)(),(0,a.Wv)(s,{key:0,class:"vs-mega-nav-accordion-item__cta-link","data-test":"vs-mega-nav-accordion-item__cta-link",href:e.ctaLink},{default:(0,a.k6)((function(){return[(0,a.eW)((0,i.toDisplayString)(e.ctaText),1)]})),_:1},8,["href"])):(0,a.Q3)("",!0),(0,a.RG)(t.$slots,"default")]})),_:3},8,["class","data-unique-id","control-id"])}}}]);
@@ -1 +1 @@
1
- "use strict";!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.VsModuleWrapper=t():e.VsModuleWrapper=t()}(self,(function(){return(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[9895],{},function(e){return e.O(0,[641,6262,7510,3751,4352,7800,9394,2543,8638,2368,3838,7521,1438,4580,4179],(function(){return e(e.s=34179)})),e.O()}])}));
1
+ "use strict";!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.VsModuleWrapper=t():e.VsModuleWrapper=t()}(self,(function(){return(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[9895],{},function(e){return e.O(0,[641,6262,7510,3751,4352,7800,9394,2543,3838,8638,2368,7521,1438,4580,4179],(function(){return e(e.s=34179)})),e.O()}])}));
@@ -0,0 +1 @@
1
+ "use strict";!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.VsMapFeaturedLocationItem=t():e.VsMapFeaturedLocationItem=t()}(self,(function(){return(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[5690],{},function(e){return e.O(0,[641,6262,7510,3751,4352,7527,4467,8086,810,7800,9394,2543,4982,6422,8745,3838,5676,1574,4232,1344],(function(){return e(e.s=78963)})),e.O()}])}));
@@ -0,0 +1 @@
1
+ (self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[1406],{17243:function(n,t,r){"use strict";r(93135)},24920:function(n,t,r){"use strict";var i=r(20641),e=r(90033),s={name:"VsDivider"};t.A=Object.assign(s,{props:{variant:{type:String,required:!1,validator:function(n){return n.match(/(primary|secondary|inverse)/)},default:"primary"}},setup:function(n){var t=n;return function(n,r){return(0,i.uX)(),(0,i.CE)("hr",{class:(0,e.normalizeClass)(["vs-divider",t.variant?"vs-divider--variant-".concat(t.variant):null]),"data-test":"vs-divider"},null,2)}}})},31406:function(n,t,r){"use strict";r.r(t);var i=r(92532);r(17243);const e=i.A;t.default=e},74225:function(){},92532:function(n,t,r){"use strict";r.d(t,{A:function(){return i.A}});var i=r(24920)},93135:function(n,t,r){"use strict";var i=r(85072),e=r.n(i),s=r(97825),a=r.n(s),u=r(77659),c=r.n(u),o=r(55056),l=r.n(o),v=r(10540),d=r.n(v),f=r(41113),p=r.n(f),m=r(74225),y=r.n(m),b={};b.styleTagTransform=p(),b.setAttributes=l(),b.insert=c().bind(null,"head"),b.domAPI=a(),b.insertStyleElement=d(),e()(y(),b),y()&&y().locals&&y().locals}}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[7275],{17275:function(n,t,e){"use strict";e.r(t);var s=e(19072),a=e(52893);e(48634);const o=(0,e(66262).A)(a.A,[["render",s.X]]);t.default=o},19072:function(n,t,e){"use strict";e.d(t,{X:function(){return s.X}});var s=e(99792)},44065:function(n,t,e){"use strict";var s=e(48836);t.A={name:"VsAccordionToggle",status:"prototype",release:"0.0.1",components:{VsButton:s.default},props:{variant:{type:String,default:"primary"},visible:{type:Boolean,default:!0}},emits:["toggle-panel"]}},48634:function(n,t,e){"use strict";e(99190)},52893:function(n,t,e){"use strict";e.d(t,{A:function(){return s.A}});var s=e(44065)},61212:function(){},99190:function(n,t,e){"use strict";var s=e(85072),a=e.n(s),o=e(97825),i=e.n(o),r=e(77659),c=e.n(r),l=e(55056),u=e.n(l),d=e(10540),f=e.n(d),p=e(41113),v=e.n(p),g=e(61212),m=e.n(g),_={};_.styleTagTransform=v(),_.setAttributes=u(),_.insert=c().bind(null,"head"),_.domAPI=i(),_.insertStyleElement=f(),a()(m(),_),m()&&m().locals&&m().locals},99792:function(n,t,e){"use strict";e.d(t,{X:function(){return r}});var s=e(20641),a=e(90033),o={class:"vs-accordion-toggle__text"},i={class:"vs-accordion-toggle__icon"};function r(n,t,e,r,c,l){var u=(0,s.g2)("VsButton");return(0,s.uX)(),(0,s.Wv)(u,{animate:!1,"aria-expanded":e.visible?"true":"false","aria-haspopup":"true",onClick:t[0]||(t[0]=function(t){return n.$emit("toggle-panel")}),class:(0,a.normalizeClass)(["vs-accordion-toggle clearfix",{"vs-accordion-toggle--open":e.visible}]),variant:e.variant,rounded:!1},{default:(0,s.k6)((function(){return[(0,s.Lk)("span",o,[(0,s.RG)(n.$slots,"default")]),(0,s.Lk)("span",i,[e.visible?(0,s.RG)(n.$slots,"icon-open",{key:0}):(0,s.RG)(n.$slots,"icon-closed",{key:1})])]})),_:3},8,["aria-expanded","class","variant"])}}}]);
@@ -1 +1 @@
1
- !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.VsMapWithSidebar=e():t.VsMapWithSidebar=e()}(self,(function(){return(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[316],{8258:function(t,e,s){"use strict";s.r(e);var a=s(73884),n=s(84542);s(71622);const i=(0,s(66262).A)(n.A,[["render",a.X]]);e.default=i},22544:function(){},50106:function(t,e,s){"use strict";var a=s(89394),n=s(64467),i=s(11438),o=s(48836),r=s(79122),l=s(90080),c=s(57536),u=s(10810),d=s(79920),g=s(81610),p=s(4249);function h(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,a)}return s}function f(t){for(var e=1;e<arguments.length;e++){var s=null!=arguments[e]?arguments[e]:{};e%2?h(Object(s),!0).forEach((function(e){(0,n.A)(t,e,s[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(s)):h(Object(s)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(s,e))}))}return t}var m=null;e.A={name:"VsMapWithSidebar",status:"prototype",release:"0.0.1",components:{VsContainer:i.T$,VsRow:i.AQ,VsCol:i.Il,VsMap:g.default,VsButton:o.default,VsMapWithSidebarPanel:p.default,VsButtonToggleGroup:l.default,VsWarning:r.default},provide:function(){return{filters:this.filters,filtersWithLocations:this.filtersWithLocations,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},loadBrandingImmediately:{type:Boolean,default:!1}},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(t){return"Polygon"===t.geometry.type||"MultiPolygon"===t.geometry.type}))}},(0,u.aH)(d.A,{subCatActiveFilters:function(t){return t.activeSubcatFilters}})),{},{infoMessage:function(){var t="";switch(this.mapStatus){case"no-results":t=this.mapNoResultsMessage;break;case"filter-results":t=this.mapFilterMessage}return t},existingCategories:function(){return this.placesData?(0,a.A)(new Set(this.placesData.map((function(t){return t.properties.category.id})))):[]},filtersWithLocations:function(){var t=this;return this.filters.filter((function(e){return!!t.existingCategories.includes(e.id)||!(!e.subCategory||!e.subCategory.length)}))},togglesWithLocations:function(){return-1===this.existingCategories.indexOf("vics")?this.toggleData.filter((function(t){return"icentres"!==t.value})):this.toggleData}}),watch:{selectedSubCategory:function(t){null===t&&(this.mapStatus="",this.resetZoom=!0)}},mounted:function(){var t=this;m=(0,d.A)(),this.selectedToggle=this.initialSelected,this.emitter&&this.emitter.on("clearSelectedSubcats",(function(){t.resetZoom=!0}))},methods:{openMenu:function(){this.setStage(0),this.openPanel()},closePanel:function(){this.panelVisible=!1},openPanel:function(){this.panelVisible=!0},showDetail:function(t){document.fullscreenElement&&document.exitFullscreen(),this.selectedItem=t,this.setStage(2),this.openPanel(),null===this.selectedSubCategory&&this.filterPlaces(this.selectedCategory)},setCategory:function(t){this.selectedCategory=t,null===this.selectedSubCategory&&this.filterPlaces(t)},setSubCategory:function(t){m.setSelectedSubcat(t),this.selectedSubCategory=t,null!==t?(this.getSubcatMarkerData(),this.selectedCategory=t):(m.setActiveSubcatFilters([]),this.showAllPlaces())},filterSubCategories:function(t){var e="";t.forEach((function(t){var s="&cat=".concat(t);e+=s})),this.currentPanelEndpointFilters=e,this.getSubcatMarkerData(e),this.getSubcatPanelData(e,0)},getSubcatMarkerData:function(t){var e=this,s=this.filters.filter((function(t){return t.id===e.selectedSubCategory}));if(s.length>0){var a=s[0].pinsEndpoint;void 0!==t&&(a+=t),this.activePins=[],void 0===t?(this.activePins=[],this.mapStatus="filter-results"):c.A.get(a).then((function(t){e.totalEndpointPins=t.data.features.length,0===e.totalEndpointPins?e.mapStatus="no-results":(t.data.features.forEach((function(t){var s=t;s.properties.apiData=!0,e.activePins.push(s)})),e.mapStatus="")}))}},getSubcatPanelData:function(t,e){var s=this,a=this.filters.filter((function(t){return t.id===s.selectedSubCategory}))[0].listProductsEndPoint;void 0!==t&&(a+=t),0!==e&&(a+="".concat(t,"&page=").concat(e)),this.panelStatus="loading-data",c.A.get(a).then((function(t){void 0!==t.data.data.products?(s.setStage(1),0===e?(s.subCatList=t.data.data.products,s.focussedListItem=0):(s.focussedListItem=24*e,s.subCatList=s.subCatList.concat(t.data.data.products))):s.mapStatus="no-results",s.panelStatus=null}))},setStage:function(t){var e=this;if(2===t&&""!==this.detailsEndpoint&&null!==this.selectedSubCategory){var s="".concat(this.detailsEndpoint).concat(this.selectedItem.properties.id);c.A.get(s).then((function(s){var a=[];a.push(s.data.data),e.currentEndpointData=a,e.currentStage=t}))}else this.currentStage=t,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!==t&&(m.setActivePlace({mapId:this.mapId,activeFeature:""}),this.selectedItem=null)},filterPlaces:function(t){if("regions"===t)this.showRegions=!0,this.activePins=[],this.selectedToggle="regions";else{this.showRegions=!1,this.selectedToggle="places";var e=this.placesData.filter((function(e){return void 0!==e.properties&&e.properties.category.id===t}));this.activePins=e}},loadMorePlaces:function(t){this.getSubcatPanelData(this.currentPanelEndpointFilters,t)},showAllPlaces:function(){this.activePins=this.placesData,this.showRegions=!1},onToggleChanged:function(t){"regions"===t?(this.setCategory("regions"),this.setStage(1)):"icentres"===t?(this.setCategory("vics"),this.setStage(1)):"places-regional"===t?(this.setCategory("twnv"),this.setStage(1)):(this.showAllPlaces(),this.setStage(0))},setMapReady:function(t){this.mapReady=t,this.panelStatus=t?null:"loading"},categoryHasData:function(t){return-1!==this.existingCategories.indexOf(t)}}}},71622:function(t,e,s){"use strict";s(77066)},73884:function(t,e,s){"use strict";s.d(e,{X:function(){return i}});var a=s(20641),n=s(90033);function i(t,e,s,i,o,r){var l=(0,a.g2)("VsMapWithSidebarPanel"),c=(0,a.g2)("VsButton"),u=(0,a.g2)("VsMap"),d=(0,a.g2)("VsButtonToggleGroup"),g=(0,a.g2)("VsWarning"),p=(0,a.g2)("VsCol"),h=(0,a.g2)("VsRow"),f=(0,a.g2)("VsContainer");return(0,a.uX)(),(0,a.Wv)(f,{"data-test":"vs-map-with-sidebar"},{default:(0,a.k6)((function(){return[(0,a.bF)(h,null,{default:(0,a.k6)((function(){return[(0,a.bF)(p,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)(t.$slots,"close-side-panel-text")]})),"reset-side-panel-text":(0,a.k6)((function(){return[(0,a.RG)(t.$slots,"reset-side-panel-text")]})),"menu-btn-text":(0,a.k6)((function(){return[(0,a.RG)(t.$slots,"menu-btn-text")]})),"panel-loading-message":(0,a.k6)((function(){return[(0,a.RG)(t.$slots,"panel-loading-message")]})),"load-more-text":(0,a.k6)((function(){return[(0,a.RG)(t.$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)(c,{class:"vs-map-with-sidebar__map-toggle",icon:"vs-icon-control-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)(t.$slots,"open-side-panel-text")]})),_:3},8,["onClick"]),(0,a.bF)(u,{"is-visible":!o.panelVisible,labels:{},filters:r.filtersWithLocations,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:e[0]||(e[0]=function(t){return o.resetZoom=!1}),"bounds-data":s.regionBounds,"reset-zoom":o.resetZoom,"show-marker-popups":!1,"load-branding-immediately":s.loadBrandingImmediately},{"map-loading-text":(0,a.k6)((function(){return[(0,a.RG)(t.$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)(t.$slots,"zoom-too-close")]})),"zoom-too-far":(0,a.k6)((function(){return[(0,a.RG)(t.$slots,"zoom-too-far")]})),"no-js":(0,a.k6)((function(){return[(0,a.RG)(t.$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","load-branding-immediately"]),r.togglesWithLocations.length>1?((0,a.uX)(),(0,a.Wv)(d,{key:0,"data-test":"vs-map-with-sidebar__map-toggle-group","initial-selected":o.selectedToggle,options:r.togglesWithLocations,"buttons-label":s.buttonsLabel,onToggleChanged:r.onToggleChanged},null,8,["initial-selected","options","buttons-label","onToggleChanged"])):(0,a.Q3)("",!0)],2)],512),(0,a.bF)(g,{class:"vs-map-with-sidebar__no-js"},{default:(0,a.k6)((function(){return[(0,a.RG)(t.$slots,"no-js")]})),_:3})]})),_:3})]})),_:3})]})),_:3})}},77066:function(t,e,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),c=s(55056),u=s.n(c),d=s(10540),g=s.n(d),p=s(41113),h=s.n(p),f=s(22544),m=s.n(f),y={};y.styleTagTransform=h(),y.setAttributes=u(),y.insert=l().bind(null,"head"),y.domAPI=o(),y.insertStyleElement=g(),n()(m(),y),m()&&m().locals&&m().locals},84542:function(t,e,s){"use strict";s.d(e,{A:function(){return a.A}});var a=s(50106)}},function(t){return t.O(0,[641,6262,7510,3751,4352,7527,4467,8086,810,7800,9394,2543,7536,3777,4982,6422,8745,8836,8638,2368,3838,7521,1438,4580,1574,9122,5025,2536,7539,80,1101,2552,681,1213,3055,3198,3844,4079,4249],(function(){return t(t.s=8258)})),t.O()}])}));
1
+ !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.VsMapWithSidebar=e():t.VsMapWithSidebar=e()}(self,(function(){return(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[316],{8258:function(t,e,s){"use strict";s.r(e);var a=s(73884),n=s(84542);s(71622);const i=(0,s(66262).A)(n.A,[["render",a.X]]);e.default=i},22544:function(){},50106:function(t,e,s){"use strict";var a=s(89394),n=s(64467),i=s(11438),o=s(48836),r=s(79122),l=s(90080),c=s(57536),u=s(10810),d=s(79920),g=s(81610),p=s(4249);function h(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,a)}return s}function f(t){for(var e=1;e<arguments.length;e++){var s=null!=arguments[e]?arguments[e]:{};e%2?h(Object(s),!0).forEach((function(e){(0,n.A)(t,e,s[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(s)):h(Object(s)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(s,e))}))}return t}var m=null;e.A={name:"VsMapWithSidebar",status:"prototype",release:"0.0.1",components:{VsContainer:i.T$,VsRow:i.AQ,VsCol:i.Il,VsMap:g.default,VsButton:o.default,VsMapWithSidebarPanel:p.default,VsButtonToggleGroup:l.default,VsWarning:r.default},provide:function(){return{filters:this.filters,filtersWithLocations:this.filtersWithLocations,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},loadBrandingImmediately:{type:Boolean,default:!1}},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(t){return"Polygon"===t.geometry.type||"MultiPolygon"===t.geometry.type}))}},(0,u.aH)(d.A,{subCatActiveFilters:function(t){return t.activeSubcatFilters}})),{},{infoMessage:function(){var t="";switch(this.mapStatus){case"no-results":t=this.mapNoResultsMessage;break;case"filter-results":t=this.mapFilterMessage}return t},existingCategories:function(){return this.placesData?(0,a.A)(new Set(this.placesData.map((function(t){return t.properties.category.id})))):[]},filtersWithLocations:function(){var t=this;return this.filters.filter((function(e){return!!t.existingCategories.includes(e.id)||!(!e.subCategory||!e.subCategory.length)}))},togglesWithLocations:function(){return-1===this.existingCategories.indexOf("vics")?this.toggleData.filter((function(t){return"icentres"!==t.value})):this.toggleData}}),watch:{selectedSubCategory:function(t){null===t&&(this.mapStatus="",this.resetZoom=!0)}},mounted:function(){var t=this;m=(0,d.A)(),this.selectedToggle=this.initialSelected,this.emitter&&this.emitter.on("clearSelectedSubcats",(function(){t.resetZoom=!0}))},methods:{openMenu:function(){this.setStage(0),this.openPanel()},closePanel:function(){this.panelVisible=!1},openPanel:function(){this.panelVisible=!0},showDetail:function(t){document.fullscreenElement&&document.exitFullscreen(),this.selectedItem=t,this.setStage(2),this.openPanel(),null===this.selectedSubCategory&&this.filterPlaces(this.selectedCategory)},setCategory:function(t){this.selectedCategory=t,null===this.selectedSubCategory&&this.filterPlaces(t)},setSubCategory:function(t){m.setSelectedSubcat(t),this.selectedSubCategory=t,null!==t?(this.getSubcatMarkerData(),this.selectedCategory=t):(m.setActiveSubcatFilters([]),this.showAllPlaces())},filterSubCategories:function(t){var e="";t.forEach((function(t){var s="&cat=".concat(t);e+=s})),this.currentPanelEndpointFilters=e,this.getSubcatMarkerData(e),this.getSubcatPanelData(e,0)},getSubcatMarkerData:function(t){var e=this,s=this.filters.filter((function(t){return t.id===e.selectedSubCategory}));if(s.length>0){var a=s[0].pinsEndpoint;void 0!==t&&(a+=t),this.activePins=[],void 0===t?(this.activePins=[],this.mapStatus="filter-results"):c.A.get(a).then((function(t){e.totalEndpointPins=t.data.features.length,0===e.totalEndpointPins?e.mapStatus="no-results":(t.data.features.forEach((function(t){var s=t;s.properties.apiData=!0,e.activePins.push(s)})),e.mapStatus="")}))}},getSubcatPanelData:function(t,e){var s=this,a=this.filters.filter((function(t){return t.id===s.selectedSubCategory}))[0].listProductsEndPoint;void 0!==t&&(a+=t),0!==e&&(a+="".concat(t,"&page=").concat(e)),this.panelStatus="loading-data",c.A.get(a).then((function(t){void 0!==t.data.data.products?(s.setStage(1),0===e?(s.subCatList=t.data.data.products,s.focussedListItem=0):(s.focussedListItem=24*e,s.subCatList=s.subCatList.concat(t.data.data.products))):s.mapStatus="no-results",s.panelStatus=null}))},setStage:function(t){var e=this;if(2===t&&""!==this.detailsEndpoint&&null!==this.selectedSubCategory){var s="".concat(this.detailsEndpoint).concat(this.selectedItem.properties.id);c.A.get(s).then((function(s){var a=[];a.push(s.data.data),e.currentEndpointData=a,e.currentStage=t}))}else this.currentStage=t,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!==t&&(m.setActivePlace({mapId:this.mapId,activeFeature:""}),this.selectedItem=null)},filterPlaces:function(t){if("regions"===t)this.showRegions=!0,this.activePins=[],this.selectedToggle="regions";else{this.showRegions=!1,this.selectedToggle="places";var e=this.placesData.filter((function(e){return void 0!==e.properties&&e.properties.category.id===t}));this.activePins=e}},loadMorePlaces:function(t){this.getSubcatPanelData(this.currentPanelEndpointFilters,t)},showAllPlaces:function(){this.activePins=this.placesData,this.showRegions=!1},onToggleChanged:function(t){"regions"===t?(this.setCategory("regions"),this.setStage(1)):"icentres"===t?(this.setCategory("vics"),this.setStage(1)):"places-regional"===t?(this.setCategory("twnv"),this.setStage(1)):(this.showAllPlaces(),this.setStage(0))},setMapReady:function(t){this.mapReady=t,this.panelStatus=t?null:"loading"},categoryHasData:function(t){return-1!==this.existingCategories.indexOf(t)}}}},71622:function(t,e,s){"use strict";s(77066)},73884:function(t,e,s){"use strict";s.d(e,{X:function(){return i}});var a=s(20641),n=s(90033);function i(t,e,s,i,o,r){var l=(0,a.g2)("VsMapWithSidebarPanel"),c=(0,a.g2)("VsButton"),u=(0,a.g2)("VsMap"),d=(0,a.g2)("VsButtonToggleGroup"),g=(0,a.g2)("VsWarning"),p=(0,a.g2)("VsCol"),h=(0,a.g2)("VsRow"),f=(0,a.g2)("VsContainer");return(0,a.uX)(),(0,a.Wv)(f,{"data-test":"vs-map-with-sidebar"},{default:(0,a.k6)((function(){return[(0,a.bF)(h,null,{default:(0,a.k6)((function(){return[(0,a.bF)(p,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)(t.$slots,"close-side-panel-text")]})),"reset-side-panel-text":(0,a.k6)((function(){return[(0,a.RG)(t.$slots,"reset-side-panel-text")]})),"menu-btn-text":(0,a.k6)((function(){return[(0,a.RG)(t.$slots,"menu-btn-text")]})),"panel-loading-message":(0,a.k6)((function(){return[(0,a.RG)(t.$slots,"panel-loading-message")]})),"load-more-text":(0,a.k6)((function(){return[(0,a.RG)(t.$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)(c,{class:"vs-map-with-sidebar__map-toggle",icon:"vs-icon-control-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)(t.$slots,"open-side-panel-text")]})),_:3},8,["onClick"]),(0,a.bF)(u,{"is-visible":!o.panelVisible,labels:{},filters:r.filtersWithLocations,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:e[0]||(e[0]=function(t){return o.resetZoom=!1}),"bounds-data":s.regionBounds,"reset-zoom":o.resetZoom,"show-marker-popups":!1,"load-branding-immediately":s.loadBrandingImmediately},{"map-loading-text":(0,a.k6)((function(){return[(0,a.RG)(t.$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)(t.$slots,"zoom-too-close")]})),"zoom-too-far":(0,a.k6)((function(){return[(0,a.RG)(t.$slots,"zoom-too-far")]})),"no-js":(0,a.k6)((function(){return[(0,a.RG)(t.$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","load-branding-immediately"]),r.togglesWithLocations.length>1?((0,a.uX)(),(0,a.Wv)(d,{key:0,"data-test":"vs-map-with-sidebar__map-toggle-group","initial-selected":o.selectedToggle,options:r.togglesWithLocations,"buttons-label":s.buttonsLabel,onToggleChanged:r.onToggleChanged},null,8,["initial-selected","options","buttons-label","onToggleChanged"])):(0,a.Q3)("",!0)],2)],512),(0,a.bF)(g,{class:"vs-map-with-sidebar__no-js"},{default:(0,a.k6)((function(){return[(0,a.RG)(t.$slots,"no-js")]})),_:3})]})),_:3})]})),_:3})]})),_:3})}},77066:function(t,e,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),c=s(55056),u=s.n(c),d=s(10540),g=s.n(d),p=s(41113),h=s.n(p),f=s(22544),m=s.n(f),y={};y.styleTagTransform=h(),y.setAttributes=u(),y.insert=l().bind(null,"head"),y.domAPI=o(),y.insertStyleElement=g(),n()(m(),y),m()&&m().locals&&m().locals},84542:function(t,e,s){"use strict";s.d(e,{A:function(){return a.A}});var a=s(50106)}},function(t){return t.O(0,[641,6262,7510,3751,4352,7527,4467,8086,810,7800,9394,2543,7536,3777,4982,6422,8745,8836,3838,8638,2368,7521,1438,4580,1574,9122,5025,2536,7539,80,1101,2552,681,1213,3055,3198,3844,4079,4249],(function(){return t(t.s=8258)})),t.O()}])}));
@@ -1 +1 @@
1
- "use strict";!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.VsMegaNavAccordionItem=t():e.VsMegaNavAccordionItem=t()}(self,(function(){return(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[7518],{},function(e){return e.O(0,[641,6262,7510,3751,4352,7527,4467,8086,810,7800,9394,2543,4982,6422,8745,8836,3838,5676,7275,9810,8693],(function(){return e(e.s=88693)})),e.O()}])}));
1
+ "use strict";!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.VsMegaNavAccordionItem=t():e.VsMegaNavAccordionItem=t()}(self,(function(){return(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[7518],{},function(e){return e.O(0,[641,6262,7510,3751,4352,7527,4467,8086,810,7800,9394,2543,4982,6422,8745,8836,3838,5676,7275,1406,9810,8693],(function(){return e(e.s=88693)})),e.O()}])}));
@@ -1 +1 @@
1
- "use strict";!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.VsProductSearch=t():e.VsProductSearch=t()}(self,(function(){return(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[1403],{},function(e){return e.O(0,[641,6262,7510,3751,4352,7527,4467,8086,810,7800,9394,2543,3453,281,7536,9033,6425,4982,6422,8745,8836,8638,2368,3838,7521,1438,4580,9122,4282,2142,5025,378,1688,2491,9856,8861,3293,7231],(function(){return e(e.s=57231)})),e.O()}])}));
1
+ "use strict";!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.VsProductSearch=t():e.VsProductSearch=t()}(self,(function(){return(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[1403],{},function(e){return e.O(0,[641,6262,7510,3751,4352,7527,4467,8086,810,7800,9394,2543,3453,281,7536,9033,6425,4982,6422,8745,8836,3838,8638,2368,7521,1438,4580,9122,4282,2142,5025,378,1688,2491,9856,8861,3293,7231],(function(){return e(e.s=57231)})),e.O()}])}));
@@ -1 +1 @@
1
- "use strict";!function(e,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.VsMegalinkSingleImage=n():e.VsMegalinkSingleImage=n()}(self,(function(){return(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[6499],{},function(e){return e.O(0,[641,6262,7510,3751,4352,7527,4467,8086,810,7800,9394,2543,4982,6422,8745,8836,8638,2368,3838,7521,1438,4580,1161,3603],(function(){return e(e.s=23603)})),e.O()}])}));
1
+ "use strict";!function(e,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.VsMegalinkSingleImage=n():e.VsMegalinkSingleImage=n()}(self,(function(){return(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[6499],{},function(e){return e.O(0,[641,6262,7510,3751,4352,7527,4467,8086,810,7800,9394,2543,4982,6422,8745,8836,3838,8638,2368,7521,1438,4580,1161,3603],(function(){return e(e.s=23603)})),e.O()}])}));
@@ -1 +1 @@
1
- "use strict";!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.VsSkiScotlandStatus=e():t.VsSkiScotlandStatus=e()}(self,(function(){return(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[9779],{},function(t){return t.O(0,[641,6262,7510,3751,4352,7527,4467,8086,810,7800,9394,2543,3453,7536,8449,4982,6422,8745,8836,8638,2368,3838,7521,1438,4580,5676,9122,5025,7275,9810,3486,3706,3484,1371,9054,5945,8167,4921,47],(function(){return t(t.s=10047)})),t.O()}])}));
1
+ "use strict";!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.VsSkiScotlandStatus=e():t.VsSkiScotlandStatus=e()}(self,(function(){return(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[9779],{},function(t){return t.O(0,[641,6262,7510,3751,4352,7527,4467,8086,810,7800,9394,2543,3453,7536,8449,4982,6422,8745,8836,3838,8638,2368,7521,1438,4580,5676,9122,7275,1406,9810,5025,3486,3706,3484,1371,9054,5945,8167,4921,47],(function(){return t(t.s=10047)})),t.O()}])}));
@@ -1 +1 @@
1
- "use strict";!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.VsEventCard=t():e.VsEventCard=t()}(self,(function(){return(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[7744],{},function(e){return e.O(0,[641,6262,7510,3751,4352,7527,4467,8086,810,7800,9394,2543,4982,6422,8745,8836,8638,2368,3838,8573],(function(){return e(e.s=68573)})),e.O()}])}));
1
+ "use strict";!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.VsEventCard=t():e.VsEventCard=t()}(self,(function(){return(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[7744],{},function(e){return e.O(0,[641,6262,7510,3751,4352,7527,4467,8086,810,7800,9394,2543,4982,6422,8745,8836,3838,8638,2368,8573],(function(){return e(e.s=68573)})),e.O()}])}));
@@ -1 +1 @@
1
- "use strict";!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.VsCarbonCalculator=t():e.VsCarbonCalculator=t()}(self,(function(){return(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[1501],{},function(e){return e.O(0,[641,6262,7510,3751,4352,7527,4467,8086,810,7800,9394,2543,3453,281,7536,8795,4982,6422,8745,8836,8638,2368,3838,7521,1438,4580,9122,4282,4360,6305,4828,4433,2822,4681,71,1120,9177],(function(){return e(e.s=69177)})),e.O()}])}));
1
+ "use strict";!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.VsCarbonCalculator=t():e.VsCarbonCalculator=t()}(self,(function(){return(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[1501],{},function(e){return e.O(0,[641,6262,7510,3751,4352,7527,4467,8086,810,7800,9394,2543,3453,281,7536,8795,4982,6422,8745,8836,3838,8638,2368,7521,1438,4580,9122,4282,4360,6305,4828,4433,2822,4681,71,1120,9177],(function(){return e(e.s=69177)})),e.O()}])}));
@@ -1 +1 @@
1
- "use strict";!function(e,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.VsCannedSearch=n():e.VsCannedSearch=n()}(self,(function(){return(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[9709],{},function(e){return e.O(0,[641,6262,7510,3751,4352,7527,4467,8086,810,7800,9394,2543,7536,4982,6422,8745,8836,8638,2368,3838,7521,1438,4580,5676,1574,4179,6086,3990,680,4409,4145,922,1086,6665,6618,1389,9621,4029,3350,9146,6838,4879,625],(function(){return e(e.s=70625)})),e.O()}])}));
1
+ "use strict";!function(e,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.VsCannedSearch=n():e.VsCannedSearch=n()}(self,(function(){return(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[9709],{},function(e){return e.O(0,[641,6262,7510,3751,4352,7527,4467,8086,810,7800,9394,2543,7536,4982,6422,8745,8836,3838,8638,2368,7521,1438,4580,5676,1574,4179,6086,3990,680,4409,4145,922,1086,6665,6618,1389,9621,4029,3350,9146,6838,4879,625],(function(){return e(e.s=70625)})),e.O()}])}));
@@ -1 +1 @@
1
- "use strict";!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.VsMapSidebar=t():e.VsMapSidebar=t()}(self,(function(){return(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[8436],{},function(e){return e.O(0,[641,6262,7510,3751,4352,7527,4467,8086,810,7800,9394,2543,3453,281,4982,6422,8745,8836,3838,4282,2142,3614,8202],(function(){return e(e.s=78202)})),e.O()}])}));
1
+ "use strict";!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.VsMapSidebar=t():e.VsMapSidebar=t()}(self,(function(){return(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[8436],{},function(e){return e.O(0,[641,6262,7510,3751,4352,7527,4467,8086,810,7800,9394,2543,3453,281,4982,6422,8745,8836,3838,5676,1574,4282,2142,7275,1406,9810,3486,4232,3614,815,1344,7509,8202],(function(){return e(e.s=78202)})),e.O()}])}));
@@ -0,0 +1 @@
1
+ (self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[3914],{2626:function(t,n,o){"use strict";o.d(n,{A:function(){return s.A}});var s=o(27374)},27374:function(t,n,o){"use strict";var s=o(7894),e=o(11438);n.A={name:"VsFooter",status:"prototype",release:"0.1.0",components:{VsFooterNavList:s.default,VsCol:e.Il,VsContainer:e.T$,VsRow:e.AQ}}},31333:function(t,n,o){"use strict";o.d(n,{X:function(){return s.X}});var s=o(53877)},53877:function(t,n,o){"use strict";o.d(n,{X:function(){return u}});var s=o(20641),e={class:"vs-footer pt-150 pt-md-300","data-unique-id":"vs-footer",id:"site-footer"},r={class:"vs-footer__social-menu-wrapper"};function u(t,n,o,u,i,l){var a=(0,s.g2)("VsCol"),c=(0,s.g2)("VsFooterNavList"),f=(0,s.g2)("VsRow"),d=(0,s.g2)("VsContainer");return(0,s.uX)(),(0,s.CE)("footer",e,[(0,s.bF)(c,{"break-point":"md"},{default:(0,s.k6)((function(){return[(0,s.RG)(t.$slots,"accordion-items"),(0,s.bF)(a,{cols:"12",lg:"3",xl:"2",class:"d-none d-lg-block","data-unique-id":"vs-footer-social_links"},{default:(0,s.k6)((function(){return[(0,s.RG)(t.$slots,"social-menu")]})),_:3})]})),_:3}),(0,s.Lk)("div",r,[(0,s.bF)(d,null,{default:(0,s.k6)((function(){return[(0,s.bF)(f,null,{default:(0,s.k6)((function(){return[(0,s.bF)(a,{cols:"12",class:"d-block d-lg-none","data-unique-id":"vs-footer-mobile_social_links"},{default:(0,s.k6)((function(){return[(0,s.RG)(t.$slots,"social-menu")]})),_:3})]})),_:3})]})),_:3})]),(0,s.RG)(t.$slots,"default")])}},60291:function(t,n,o){"use strict";o(89471)},63914:function(t,n,o){"use strict";o.r(n);var s=o(31333),e=o(2626);o(60291);const r=(0,o(66262).A)(e.A,[["render",s.X]]);n.default=r},81581:function(){},89471:function(t,n,o){"use strict";var s=o(85072),e=o.n(s),r=o(97825),u=o.n(r),i=o(77659),l=o.n(i),a=o(55056),c=o.n(a),f=o(10540),d=o.n(f),v=o(41113),_=o.n(v),b=o(81581),k=o.n(b),m={};m.styleTagTransform=_(),m.setAttributes=c(),m.insert=l().bind(null,"head"),m.domAPI=u(),m.insertStyleElement=d(),e()(k(),m),k()&&k().locals&&k().locals}}]);
@@ -1 +1 @@
1
- "use strict";!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.VsCarbonCalculatorResults=t():e.VsCarbonCalculatorResults=t()}(self,(function(){return(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[8749],{},function(e){return e.O(0,[641,6262,7510,3751,4352,7527,4467,8086,810,7800,9394,2543,8795,4982,6422,8745,8638,2368,3838,7521,1438,4828],(function(){return e(e.s=34828)})),e.O()}])}));
1
+ "use strict";!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.VsCarbonCalculatorResults=t():e.VsCarbonCalculatorResults=t()}(self,(function(){return(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[8749],{},function(e){return e.O(0,[641,6262,7510,3751,4352,7527,4467,8086,810,7800,9394,2543,8795,4982,6422,8745,3838,8638,2368,7521,1438,4828],(function(){return e(e.s=34828)})),e.O()}])}));
@@ -1 +1 @@
1
- "use strict";!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.VsPageIntro=t():e.VsPageIntro=t()}(self,(function(){return(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[979],{},function(e){return e.O(0,[641,6262,7510,3751,4352,7800,9394,2543,8638,2368,3838,7521,1438,4580,9633],(function(){return e(e.s=59633)})),e.O()}])}));
1
+ "use strict";!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.VsPageIntro=t():e.VsPageIntro=t()}(self,(function(){return(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[979],{},function(e){return e.O(0,[641,6262,7510,3751,4352,7800,9394,2543,3838,8638,2368,7521,1438,4580,9633],(function(){return e(e.s=59633)})),e.O()}])}));
@@ -1 +1 @@
1
- "use strict";!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],{},function(e){return e.O(0,[641,6262,7510,3751,4352,7527,4467,8086,810,7800,9394,2543,4982,6422,8745,8836,8638,2368,3838,7521,1438,4580,1574,5921,6955,1154,8533,8399],(function(){return e(e.s=38399)})),e.O()}])}));
1
+ "use strict";!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],{},function(e){return e.O(0,[641,6262,7510,3751,4352,7527,4467,8086,810,7800,9394,2543,4982,6422,8745,8836,3838,8638,2368,7521,1438,4580,1574,5921,6955,1154,8533,8399],(function(){return e(e.s=38399)})),e.O()}])}));
@@ -0,0 +1 @@
1
+ (self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[9810],{27872:function(t,e,n){"use strict";var o=n(85072),i=n.n(o),a=n(97825),r=n.n(a),s=n(77659),c=n.n(s),l=n(55056),d=n.n(l),u=n(10540),f=n.n(u),g=n(41113),m=n.n(g),v=n(39826),h=n.n(v),_={};_.styleTagTransform=m(),_.setAttributes=d(),_.insert=c().bind(null,"head"),_.domAPI=r(),_.insertStyleElement=f(),i()(h(),_),h()&&h().locals&&h().locals},31188:function(t,e,n){"use strict";var o=n(17275),i=n(46422),a=n(13838),r=n(31406),s=n(98745),c=n(20641),l=n(2543),d=n(34352);e.A={name:"VsAccordionItem",status:"prototype",release:"0.0.1",components:{VsAccordionToggle:o.default,BCard:d.vm,VsIcon:i.default,BCardHeader:d.Uw,BCardBody:d.un,VsHeading:a.default,VsDivider:r.default},mixins:[s.default],inject:{breakPoint:{default:"lg"}},props:{colourBadge:{type:String,required:!1,default:""},controlId:{type:String,required:!0},headingLevel:{type:Number,default:2,validator:function(t){return(0,l.isNumber)(t)?t>0&&t<7:t.match(/(1|2|3|4|5|6)/)}},itemBreakPoint:{type:String,default:function(){return(0,c.WQ)("breakPoint","lg")},validator:function(t){return t.match(/(xs|sm|md|lg|xl|xxl)/)}},openByDefault:{type:Boolean,default:!1},variant:{type:String,default:"subtle"}},data:function(){return{show:this.openByDefault}},computed:{toggleAccordionBtn:function(){return this.itemBreakPoint?"xs"===this.itemBreakPoint?"d-none":"d-".concat(this.itemBreakPoint,"-none"):"d-flex"},toggleResponsiveItem:function(){return this.itemBreakPoint?"xs"===this.itemBreakPoint?"d-block":"d-".concat(this.itemBreakPoint,"-block"):""}},methods:{onButtonClick:function(){this.show||this.createDataLayerObject("accordionOpenEvent",{accordion_text:this.$refs["accordion-toggle"].$el.innerText}),this.show=!this.show}}}},39826:function(){},49810:function(t,e,n){"use strict";n.r(e);var o=n(78196),i=n(56584);n(95204);const a=(0,n(66262).A)(i.A,[["render",o.X]]);e.default=a},56584:function(t,e,n){"use strict";n.d(e,{A:function(){return o.A}});var o=n(31188)},78196:function(t,e,n){"use strict";n.d(e,{X:function(){return r}});var o=n(20641),i=n(90033),a=n(53751);function r(t,e,n,r,s,c){var l=(0,o.g2)("VsIcon"),d=(0,o.g2)("VsAccordionToggle"),u=(0,o.g2)("VsHeading"),f=(0,o.g2)("BCardHeader"),g=(0,o.g2)("BCardBody"),m=(0,o.g2)("VsDivider"),v=(0,o.g2)("BCard");return(0,o.uX)(),(0,o.Wv)(v,{"no-body":"",class:(0,i.normalizeClass)(["vs-accordion-item",c.breakPoint?"vs-accordion-item__responsive":""]),"data-test":"vs-accordion__item"},{default:(0,o.k6)((function(){return[(0,o.bF)(f,{class:"vs-accordion-item__card-header","data-test":"vs-accordion__item-header"},{default:(0,o.k6)((function(){return[(0,o.bF)(d,{"aria-controls":n.controlId,visible:s.show,variant:n.variant,class:(0,i.normalizeClass)(c.toggleAccordionBtn),onTogglePanel:c.onButtonClick,ref:"accordion-toggle"},{"icon-open":(0,o.k6)((function(){return[(0,o.RG)(t.$slots,"icon-open",{},(function(){return[(0,o.bF)(l,{icon:"vs-icon-control-collapse",size:"xs"})]}))]})),"icon-closed":(0,o.k6)((function(){return[(0,o.RG)(t.$slots,"icon-closed",{},(function(){return[(0,o.bF)(l,{icon:"vs-icon-control-expand",size:"xs"})]}))]})),default:(0,o.k6)((function(){return[n.colourBadge?((0,o.uX)(),(0,o.CE)("div",{key:0,class:"vs-accordion-item__card-colour-badge","data-test":"vs-accordion-item__card-colour-badge",style:(0,i.normalizeStyle)("background-color: ".concat(n.colourBadge))},null,4)):(0,o.Q3)("",!0),(0,o.RG)(t.$slots,"title")]})),_:3},8,["aria-controls","visible","variant","class","onTogglePanel"]),(0,o.bF)(u,{level:n.headingLevel,"heading-style":"heading-xxs",class:(0,i.normalizeClass)(["d-none vs-accordion-item__title",c.toggleResponsiveItem]),"data-test":"vs-accordion__item-title"},{default:(0,o.k6)((function(){return[(0,o.RG)(t.$slots,"title")]})),_:3},8,["level","class"])]})),_:3}),(0,o.bo)((0,o.bF)(g,{id:n.controlId,class:(0,i.normalizeClass)(["vs-accordion-item__panel",c.toggleResponsiveItem]),"data-test":"vs-accordion__item-body"},{default:(0,o.k6)((function(){return[(0,o.RG)(t.$slots,"default")]})),_:3},8,["id","class"]),[[a.vShow,s.show]]),(0,o.bF)(m,{class:"my-025"})]})),_:3},8,["class"])}},95204:function(t,e,n){"use strict";n(27872)}}]);
@@ -0,0 +1 @@
1
+ "use strict";!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.VsFedSearchInput=t():e.VsFedSearchInput=t()}(self,(function(){return(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[4161],{},function(e){return e.O(0,[641,6262,7510,3751,4352,7527,4467,8086,810,7800,9394,2543,3453,281,7536,7511,9033,8795,6425,7171,3498,8449,4982,6422,8745,8836,3838,8638,2368,7521,1438,4580,5676,1574,9122,4282,5921,1459,2142,7275,1406,9810,5025,3486,7957,9116,4448,378,6494,1688,4232,1454,3614,2491,4360,6305,9856,8861,4179,7933,2710,6955,815,3706,3484,1371,9054,7553,6086,3130,5945,8167,4921,1288,3990,3293,1244,680,4828,459,2329,4409,6358,1696,80,2152,4145,922,4433,2822,8258,1086,1154,8533,4681,71,7033,7894,6665,6618,1389,1161,9621,4029,3350,9146,6838,4879,4953,1718,1120,47,9464,9177,9839,625,6004,5513,7097,7311,8399,5465,6641,9633,5809,3337,2810,7086,3603,8978,3033,630,6649,8759,5807,4712,5048,2761,8693,5782,8407,4562,7906,1841,6175,3642,7692,8462,7231,7195,8573,1106,1379,4999,6431,3609,2759,7848,6241,8817,8570,4061,9323,9923,3731,3914,2837,5577,3650,2612,6283,9783,7969,4036,9280,8332,2437,6123,7570,4670,9423,9886,3734,1901,8969,5106,627,538,1493,4297,1474,4856,7006,6689,2903,2989,555,8995],(function(){return e(e.s=58995)})),e.O()}])}));
@@ -1 +1 @@
1
- "use strict";!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.VsCarouselSlide=t():e.VsCarouselSlide=t()}(self,(function(){return(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[6223],{},function(e){return e.O(0,[641,6262,7510,3751,4352,7527,4467,8086,810,7800,9394,2543,4982,6422,8745,8836,8638,2368,3838,7521,1438,4580,5676,1574,9122,5921,1459,7957,9116,1454,8978],(function(){return e(e.s=8978)})),e.O()}])}));
1
+ "use strict";!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.VsCarouselSlide=t():e.VsCarouselSlide=t()}(self,(function(){return(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[6223],{},function(e){return e.O(0,[641,6262,7510,3751,4352,7527,4467,8086,810,7800,9394,2543,4982,6422,8745,8836,3838,8638,2368,7521,1438,4580,5676,1574,9122,5921,1459,7957,9116,1454,8978],(function(){return e(e.s=8978)})),e.O()}])}));
@@ -1 +1 @@
1
- "use strict";!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.VsSocialShare=t():e.VsSocialShare=t()}(self,(function(){return(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[6680],{},function(e){return e.O(0,[641,6262,7510,3751,4352,7527,4467,8086,810,7800,9394,2543,4982,6422,8745,8836,8638,2368,3838,7521,1438,4580,4179,5465],(function(){return e(e.s=75465)})),e.O()}])}));
1
+ "use strict";!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.VsSocialShare=t():e.VsSocialShare=t()}(self,(function(){return(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[6680],{},function(e){return e.O(0,[641,6262,7510,3751,4352,7527,4467,8086,810,7800,9394,2543,4982,6422,8745,8836,3838,8638,2368,7521,1438,4580,4179,5465],(function(){return e(e.s=75465)})),e.O()}])}));
@@ -1 +1 @@
1
- "use strict";!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.VsMegalinks=t():e.VsMegalinks=t()}(self,(function(){return(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[9907],{},function(e){return e.O(0,[641,6262,7510,3751,4352,7527,4467,8086,810,7800,9394,2543,4982,6422,8745,8836,8638,2368,3838,7521,1438,4580,7086],(function(){return e(e.s=17086)})),e.O()}])}));
1
+ "use strict";!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.VsMegalinks=t():e.VsMegalinks=t()}(self,(function(){return(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[9907],{},function(e){return e.O(0,[641,6262,7510,3751,4352,7527,4467,8086,810,7800,9394,2543,4982,6422,8745,8836,3838,8638,2368,7521,1438,4580,7086],(function(){return e(e.s=17086)})),e.O()}])}));
@@ -0,0 +1 @@
1
+ (self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[8462],{9202:function(t,n,e){"use strict";e.d(n,{A:function(){return o.A}});var o=e(98182)},57099:function(){},57373:function(t,n,e){"use strict";var o=e(85072),r=e.n(o),i=e(97825),a=e.n(i),u=e(77659),c=e.n(u),s=e(55056),l=e.n(s),d=e(10540),f=e.n(d),p=e(41113),m=e.n(p),v=e(57099),y=e.n(v),k={};k.styleTagTransform=m(),k.setAttributes=l(),k.insert=c().bind(null,"head"),k.domAPI=a(),k.insertStyleElement=f(),r()(y(),k),y()&&y().locals&&y().locals},58462:function(t,n,e){"use strict";e.r(n);var o=e(97019),r=e(9202);e(79673);const i=(0,e(66262).A)(r.A,[["render",o.X]]);n.default=i},79673:function(t,n,e){"use strict";e(57373)},97019:function(t,n,e){"use strict";e.d(n,{X:function(){return i}});var o=e(20641),r=e(90033);function i(t,n,e,i,a,u){var c=(0,o.g2)("VsAccordionItem");return(0,o.uX)(),(0,o.Wv)(c,{class:"vs-footer-accordion-item mb-md-150","data-test":"vs-footer-accordion-item","data-unique-id":u.getUniqueId,"control-id":e.controlId,"item-break-point":e.itemBreakPoint,"open-by-default":e.openByDefault,variant:e.variant},{title:(0,o.k6)((function(){return[(0,o.eW)((0,r.toDisplayString)(e.title),1)]})),"icon-open":(0,o.k6)((function(){return[(0,o.RG)(t.$slots,"icon-open")]})),"icon-closed":(0,o.k6)((function(){return[(0,o.RG)(t.$slots,"icon-closed")]})),default:(0,o.k6)((function(){return[(0,o.RG)(t.$slots,"default")]})),_:3},8,["data-unique-id","control-id","item-break-point","open-by-default","variant"])}},98182:function(t,n,e){"use strict";var o=e(49810);n.A={name:"VsFooterAccordionItem",status:"prototype",release:"0.0.1",components:{VsAccordionItem:o.default},props:{controlId:{type:String,required:!0},itemBreakPoint:{type:String,default:function(t){return t.breakPoint},validator:function(t){return t.match(/(xs|sm|md|lg|xl|xxl)/)}},openByDefault:{type:Boolean,default:!1},title:{type:String,required:!0},variant:{type:String,default:"primary"}},computed:{getUniqueId:function(){var t=this.title.toLowerCase();return t=t.replace(/\s+/g,"-"),"vs-footer-".concat(t)}}}}}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[7509],{25044:function(t,n,e){"use strict";var a=e(85072),r=e.n(a),u=e(97825),i=e.n(u),l=e(77659),c=e.n(l),s=e(55056),o=e.n(s),f=e(10540),d=e.n(f),p=e(41113),y=e.n(p),k=e(69622),v=e.n(k),_={};_.styleTagTransform=y(),_.setAttributes=o(),_.insert=c().bind(null,"head"),_.domAPI=i(),_.insertStyleElement=d(),r()(v(),_),v()&&v().locals&&v().locals},34171:function(t,n,e){"use strict";var a=e(50953),r=e(20641),u=e(90033),i=e(73486),l=e(49810),c=e(50815),s=e(46422),o=e(78963),f={class:"category-title"},d={class:"vs-map__controls-featured-place-accordion-content p-075"};n.A={__name:"MapFeaturedLocation",setup:function(t){var n=(0,r.WQ)("featuredPlaces"),e=n.categories,p=n.places;function y(t){switch(t){case"cities":return"fa-regular fa-city";case"regions":return"fa-regular fa-map-location-dot";case"islands":return"fa-regular fa-island-tropical";case"towns":return"fa-regular fa-house-chimney-window";default:return null}}return function(t,n){return(0,a.R1)(e)&&(0,a.R1)(p)?((0,r.uX)(),(0,r.Wv)(i.default,{key:0},{default:(0,r.k6)((function(){return[((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)((0,a.R1)(e),(function(t,n){return(0,r.uX)(),(0,r.Wv)(l.default,{key:n,"control-id":t.id,"open-by-default":"cities"===t.id},{title:(0,r.k6)((function(){return[(0,r.bF)(s.default,{class:"me-025 fa-fw","custom-colour":"#200F2E",icon:y(t.id),size:"sm",variant:"highlight"},null,8,["icon"]),(0,r.Lk)("span",f,(0,u.toDisplayString)(t.label),1)]})),default:(0,r.k6)((function(){return[(0,r.Lk)("div",d,[(0,r.bF)(c.default,{"scroll-snap":"always"},{default:(0,r.k6)((function(){return[((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)((0,a.R1)(p),(function(n){return(0,r.uX)(),(0,r.CE)(r.FK,null,[n.properties.category.id===t.id?((0,r.uX)(),(0,r.Wv)(o.default,{key:n.properties.id,place:n},null,8,["place"])):(0,r.Q3)("",!0)],64)})),256))]})),_:2},1024)])]})),_:2},1032,["control-id","open-by-default"])})),128))]})),_:1})):(0,r.Q3)("",!0)}}}},47509:function(t,n,e){"use strict";e.r(n);var a=e(59167);e(50312);const r=a.A;n.default=r},50312:function(t,n,e){"use strict";e(25044)},59167:function(t,n,e){"use strict";e.d(n,{A:function(){return a.A}});var a=e(34171)},69622:function(){}}]);
@@ -1 +1 @@
1
- "use strict";!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.VsArticle=t():e.VsArticle=t()}(self,(function(){return(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[4700],{},function(e){return e.O(0,[641,6262,7510,3751,4352,7800,9394,2543,8638,2368,3838,7521,1438,4580,5782],(function(){return e(e.s=75782)})),e.O()}])}));
1
+ "use strict";!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.VsArticle=t():e.VsArticle=t()}(self,(function(){return(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[4700],{},function(e){return e.O(0,[641,6262,7510,3751,4352,7800,9394,2543,3838,8638,2368,7521,1438,4580,5782],(function(){return e(e.s=75782)})),e.O()}])}));
@@ -0,0 +1 @@
1
+ (self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[1344],{13632:function(e,t,n){"use strict";var r=n(20641),a=n(53751),c=n(90033),o=n(14232),i=n(13838),s=n(31574),l=n(45676),u={class:"px-125 pb-125"};t.A={__name:"MapFeaturedLocationItem",props:{place:{type:Object,default:function(){}}},setup:function(e){var t=e,n=(0,r.WQ)("onFeaturedLocationClick");function d(e){n(e)}return function(e,n){return(0,r.uX)(),(0,r.Wv)(o.default,{"card-style":"overlay",class:"vs-map__controls-featured-place-card",onClick:n[1]||(n[1]=function(e){return d(t.place)})},(0,r.eX)({"vs-card-footer":(0,r.k6)((function(){return[(0,r.Lk)("div",u,[(0,r.bF)(i.default,{class:"vs-map__controls-featured-place-card-heading","heading-style":"heading-xxxs",level:"2","no-margins":""},{default:(0,r.k6)((function(){return[(0,r.bF)(l.default,{class:"stretched-link text-decoration-none",href:"#",variant:"on-dark",onKeypress:n[0]||(n[0]=(0,a.withKeys)((0,a.withModifiers)((function(e){return d(t.place)}),["prevent"]),["enter"]))},{default:(0,r.k6)((function(){return[(0,r.eW)((0,c.toDisplayString)(t.place.properties.title),1)]})),_:1})]})),_:1})])]})),_:2},[t.place.properties.image?{name:"vs-card-image",fn:(0,r.k6)((function(){return[(0,r.bF)(s.default,{class:"vs-map__controls-featured-place-img w-100 rounded-1 object-fit-cover img-zoom-on-hover",src:t.place.properties.image,"use-lazy-loading":!1},null,8,["src"])]})),key:"0"}:void 0]),1024)}}}},23948:function(e,t,n){"use strict";n.d(t,{A:function(){return r.A}});var r=n(13632)},35339:function(){},50661:function(e,t,n){"use strict";var r=n(85072),a=n.n(r),c=n(97825),o=n.n(c),i=n(77659),s=n.n(i),l=n(55056),u=n.n(l),d=n(10540),f=n.n(d),p=n(41113),v=n.n(p),m=n(35339),_=n.n(m),k={};k.styleTagTransform=v(),k.setAttributes=u(),k.insert=s().bind(null,"head"),k.domAPI=o(),k.insertStyleElement=f(),a()(_(),k),_()&&_().locals&&_().locals},78963:function(e,t,n){"use strict";n.r(t);var r=n(23948);n(86721);const a=r.A;t.default=a},86721:function(e,t,n){"use strict";n(50661)}}]);
@@ -1 +1 @@
1
- "use strict";!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.VsAccordionItem=t():e.VsAccordionItem=t()}(self,(function(){return(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[8321],{},function(e){return e.O(0,[641,6262,7510,3751,4352,7527,4467,8086,810,7800,9394,2543,4982,6422,8745,8836,3838,7275,9810],(function(){return e(e.s=49810)})),e.O()}])}));
1
+ "use strict";!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.VsAccordionItem=t():e.VsAccordionItem=t()}(self,(function(){return(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[8321],{},function(e){return e.O(0,[641,6262,7510,3751,4352,7527,4467,8086,810,7800,9394,2543,4982,6422,8745,8836,3838,7275,1406,9810],(function(){return e(e.s=49810)})),e.O()}])}));
@@ -1 +1 @@
1
- "use strict";!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.VsDivider=t():e.VsDivider=t()}(self,(function(){return(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[1601],{},function(e){return e.O(0,[641,7510,1780],(function(){return e(e.s=1780)})),e.O()}])}));
1
+ "use strict";!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.VsDivider=t():e.VsDivider=t()}(self,(function(){return(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[1601],{},function(e){return e.O(0,[641,7510,1406],(function(){return e(e.s=31406)})),e.O()}])}));
@@ -1 +1 @@
1
- "use strict";!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.VsStyledListItem=t():e.VsStyledListItem=t()}(self,(function(){return(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[7726],{},function(e){return e.O(0,[641,6262,7510,3751,4352,7800,9394,2543,8638,2368,3838,7521,1438,4580,1574,4999],(function(){return e(e.s=74999)})),e.O()}])}));
1
+ "use strict";!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.VsStyledListItem=t():e.VsStyledListItem=t()}(self,(function(){return(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[7726],{},function(e){return e.O(0,[641,6262,7510,3751,4352,7800,9394,2543,3838,8638,2368,7521,1438,4580,1574,4999],(function(){return e(e.s=74999)})),e.O()}])}));
@@ -1 +1 @@
1
- "use strict";!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.VsListicleItem=t():e.VsListicleItem=t()}(self,(function(){return(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[1686],{},function(e){return e.O(0,[641,6262,7510,3751,4352,7800,9394,2543,4982,6422,8638,2368,3838,7521,1438,4580,3614,8407],(function(){return e(e.s=98407)})),e.O()}])}));
1
+ "use strict";!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.VsListicleItem=t():e.VsListicleItem=t()}(self,(function(){return(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[1686],{},function(e){return e.O(0,[641,6262,7510,3751,4352,7800,9394,2543,4982,6422,3838,8638,2368,7521,1438,4580,3614,8407],(function(){return e(e.s=98407)})),e.O()}])}));
@@ -0,0 +1 @@
1
+ (self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[8202],{3782:function(e,t,a){"use strict";var r=a(85072),s=a.n(r),n=a(97825),i=a.n(n),l=a(77659),o=a.n(l),d=a(55056),c=a.n(d),u=a(10540),p=a.n(u),f=a(41113),b=a.n(f),m=a(35244),_=a.n(m),v={};v.styleTagTransform=b(),v.setAttributes=c(),v.insert=o().bind(null,"head"),v.domAPI=i(),v.insertStyleElement=p(),s()(_(),v),_()&&_().locals&&_().locals},5710:function(e,t,a){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var s=a(17527),n=a(17527),i={class:"vs-map-sidebar__header d-flex"},l={class:"vs-map-sidebar__content"},o={class:"vs-map-sidebar__input d-flex mt-100 mb-050"},d={key:1,class:"vs-map-sidebar__sub-filters-wrapper"},c={class:"vs-map-sidebar__search-results"},u={class:"vs-map-sidebar__google-maps-container mt-075"},p={key:0,class:"vs-map-sidebar__footer"},f=r(a(48836)),b=r(a(43614)),m=r(a(13838)),_=r(a(22142)),v=r(a(84343)),h=r(a(47509));t.default=(0,s.defineComponent)({__name:"MapSidebar",props:{query:{type:String,default:""},selectedCategories:{type:String,default:""},headerLabel:{type:String,default:""},closeSidebarButtonLabel:{type:String,default:""},searchBarAriaLabel:{type:String,default:""},inputPlaceholderLabel:{type:String,default:""},searchButtonLabel:{type:String,default:""},clearMapLabel:{type:String,default:""},subFilterHeaderLabel:{type:String,default:""},searchResultsLabel:{type:String,default:""},openSidebarButtonLabel:{type:String,default:""}},emits:["search-input-changed","reset-map"],setup:function(e){var t=(0,v.default)(),a=e;return function(e,r){return(0,n.openBlock)(),(0,n.createElementBlock)(n.Fragment,null,[(0,n.createElementVNode)("div",{class:(0,n.normalizeClass)(["vs-map-sidebar px-125",(0,n.unref)(t).sidebarOpen?"d-block":"d-none"]),"data-test":"vs-map-sidebar",ref:"vsMapSidebar"},[(0,n.createElementVNode)("div",i,[a.headerLabel?((0,n.openBlock)(),(0,n.createBlock)(m.default,{key:0,level:"1","heading-style":"heading-xxs",class:"flex-grow-1",id:"vs-map-sidebar__heading","data-test":"vs-map-sidebar__heading"},{default:(0,n.withCtx)((function(){return[(0,n.createTextVNode)((0,n.toDisplayString)(a.headerLabel),1)]})),_:1})):(0,n.createCommentVNode)("",!0),(0,n.createVNode)(f.default,{class:"vs-map-sidebar__sidebar-control vs-map-siderbar__sidebar-control--dismiss","data-test":"vs-map-siderbar__sidebar-control--dismiss",icon:"vs-icon-control-dismiss","icon-only":"",variant:"subtle",onClick:r[0]||(r[0]=function(e){return(0,n.unref)(t).sidebarOpen=!1})},{default:(0,n.withCtx)((function(){return[(0,n.createTextVNode)((0,n.toDisplayString)(a.closeSidebarButtonLabel),1)]})),_:1})]),(0,n.createElementVNode)("div",l,[(0,n.createElementVNode)("div",o,[(0,n.createVNode)(_.default,{type:"text",autocomplete:"off","field-name":"vs-map-search-input","data-test":"vs-map-search-input",ref:"vs-search-input",placeholder:a.inputPlaceholderLabel,class:"vs-map-sidebar__input flex-grow-1","aria-label":a.searchBarAriaLabel,onKeyup:r[1]||(r[1]=(0,n.withKeys)((0,n.withModifiers)((function(t){return e.$emit("search-input-changed")}),["prevent"]),["enter"]))},null,8,["placeholder","aria-label"]),(0,n.createVNode)(f.default,{class:"vs-map-sidebar__search-button","data-test":"vs-map-sidebar__search-button",icon:"vs-icon-control-search","icon-only":"",rounded:!1,size:"lg",onClick:r[2]||(r[2]=(0,n.withModifiers)((function(t){return e.$emit("search-input-changed")}),["prevent"])),onKeyup:r[3]||(r[3]=(0,n.withKeys)((0,n.withModifiers)((function(t){return e.$emit("search-input-changed")}),["prevent"]),["enter"]))},{default:(0,n.withCtx)((function(){return[(0,n.createTextVNode)((0,n.toDisplayString)(a.searchButtonLabel),1)]})),_:1})]),e.$props.query||e.$props.selectedCategories?((0,n.openBlock)(),(0,n.createElementBlock)("a",{key:0,href:"#",class:"d-block","data-test":"vs-map-sidebar__reset-map",onClick:r[4]||(r[4]=(0,n.withModifiers)((function(t){return e.$emit("reset-map")}),["prevent"])),onKeyup:r[5]||(r[5]=(0,n.withKeys)((0,n.withModifiers)((function(t){return e.$emit("reset-map")}),["prevent"]),["enter"]))},(0,n.toDisplayString)(a.clearMapLabel),33)):(0,n.createCommentVNode)("",!0),e.$slots["vs-map-sidebar-sub-filters"]&&e.$slots["vs-map-sidebar-sub-filters"]()?((0,n.openBlock)(),(0,n.createElementBlock)("div",d,[(0,n.createVNode)(b.default,{class:"vs-map-sidebar__sub-filter-header",size:"small",color:"secondary"},{default:(0,n.withCtx)((function(){return[(0,n.createTextVNode)((0,n.toDisplayString)(a.subFilterHeaderLabel),1)]})),_:1}),(0,n.renderSlot)(e.$slots,"vs-map-sidebar-sub-filters")])):(0,n.createCommentVNode)("",!0),(0,n.createElementVNode)("div",c,[e.$props.query||e.$props.selectedCategories?((0,n.openBlock)(),(0,n.createBlock)(m.default,{key:0,level:"2","heading-style":"heading-xxxs","data-test":"vs-map-sidebar__search-result-query"},{default:(0,n.withCtx)((function(){return[(0,n.createTextVNode)((0,n.toDisplayString)(a.searchResultsLabel)+' "'+(0,n.toDisplayString)(a.query||a.selectedCategories)+'" ',1)]})),_:1})):(0,n.createCommentVNode)("",!0),(0,n.createElementVNode)("div",u,[(0,n.renderSlot)(e.$slots,"vs-map-sidebar-search-results")])]),(0,n.createVNode)(h.default,{class:(0,n.normalizeClass)(["mb-100",e.$props.query||e.$props.selectedCategories?"d-none":"d-block"])},null,8,["class"])]),e.$props.query||e.$props.selectedCategories?((0,n.openBlock)(),(0,n.createElementBlock)("div",p,r[7]||(r[7]=[(0,n.createElementVNode)("hr",{class:"vs-map-sidebar__swipe-tab"},null,-1)]))):(0,n.createCommentVNode)("",!0)],2),(0,n.createVNode)(f.default,{class:(0,n.normalizeClass)(["vs-map-sidebar__sidebar-control vs-map-sidebar__sidebar-control--open",(0,n.unref)(t).sidebarOpen?"d-none":"d-block"]),"data-test":"vs-map-sidebar__sidebar-control--open",size:"sm",icon:"fa-regular fa-sliders","icon-only":"",onClick:r[6]||(r[6]=function(e){return(0,n.unref)(t).sidebarOpen=!0})},{default:(0,n.withCtx)((function(){return[(0,n.createTextVNode)((0,n.toDisplayString)(a.openSidebarButtonLabel),1)]})),_:1},8,["class"])],64)}}})},12234:function(e,t,a){"use strict";a(3782)},19876:function(e,t,a){"use strict";a.r(t),a.d(t,{default:function(){return s.a}});var r=a(5710),s=a.n(r),n={};for(var i in r)"default"!==i&&(n[i]=function(e){return r[e]}.bind(0,i));a.d(t,n)},35244:function(){},78202:function(e,t,a){"use strict";a.r(t);var r=a(19876),s={};for(var n in r)"default"!==n&&(s[n]=function(e){return r[e]}.bind(0,n));a.d(t,s),a(12234);const i=r.default;t.default=i},84343:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a(17527),s=(0,a(48086).defineStore)("googleMap",(function(){return{sidebarOpen:(0,r.ref)(!0),timeMounted:(0,r.ref)(Date.now()),firstInteraction:(0,r.ref)(!1),searchesCount:(0,r.ref)(0),filterUsesCount:(0,r.ref)(0)}}));t.default=s}}]);
@@ -0,0 +1 @@
1
+ "use strict";!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.VsMapFeaturedLocation=t():e.VsMapFeaturedLocation=t()}(self,(function(){return(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[55],{},function(e){return e.O(0,[641,6262,7510,3751,4352,7527,4467,8086,810,7800,9394,2543,4982,6422,8745,8836,3838,5676,1574,7275,1406,9810,3486,4232,815,1344,7509],(function(){return e(e.s=47509)})),e.O()}])}));
@@ -0,0 +1 @@
1
+ (self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[4953],{4953:function(t,n,e){"use strict";e.r(n);var a=e(25753),i=e(93157);e(38453);const s=(0,e(66262).A)(i.A,[["render",a.X]]);n.default=s},25753:function(t,n,e){"use strict";e.d(n,{X:function(){return a.X}});var a=e(55689)},34785:function(t,n,e){"use strict";var a=e(85072),i=e.n(a),s=e(97825),r=e.n(s),u=e(77659),o=e.n(u),c=e(55056),l=e.n(c),f=e(10540),m=e.n(f),d=e(41113),v=e.n(d),b=e(71519),h=e.n(b),y={};y.styleTagTransform=v(),y.setAttributes=l(),y.insert=o().bind(null,"head"),y.domAPI=r(),y.insertStyleElement=m(),i()(h(),y),h()&&h().locals&&h().locals},38453:function(t,n,e){"use strict";e(34785)},46345:function(t,n,e){"use strict";var a=e(98745);n.A={name:"VsMegaNavMobileMenu",status:"prototype",release:"0.1.0",mixins:[a.default],mounted:function(){var t=this;this.emitter&&this.emitter.on("navAccordionClick",(function(n){t.dataLayerSubmit(n)}))},methods:{dataLayerSubmit:function(t){var n={target:{text:t}};this.createDataLayerObject("menuNavigationDataEvent",n,null)}}}},55689:function(t,n,e){"use strict";e.d(n,{X:function(){return s}});var a=e(20641),i={class:"mega-nav-mobile-menu","data-test":"vs-mega-nav-mobile-menu"};function s(t,n,e,s,r,u){return(0,a.uX)(),(0,a.CE)("div",i,[(0,a.RG)(t.$slots,"default")])}},71519:function(){},93157:function(t,n,e){"use strict";e.d(n,{A:function(){return a.A}});var a=e(46345)}}]);
@@ -0,0 +1 @@
1
+ .vs-mega-nav-accordion-item .btn.vs-button.vs-accordion-toggle{border-radius:0}.vs-mega-nav-accordion-item__cta-link{text-decoration:none;transition:.2s color;font-size:1.125rem;display:block;padding:.75rem 2rem}.vs-mega-nav-accordion-item__cta-link:hover{color:#200f2e}.vs-mega-nav-accordion-item__cta-link:focus{outline-offset:-2px}.vs-mega-nav-accordion-item.vs-accordion-item.card{border-top:0}.vs-mega-nav-accordion-item.vs-accordion-item.card .vs-accordion-item__panel.card-body{padding:0}.vs-mega-nav-accordion-item--level-1>.vs-accordion-item__card-header .vs-accordion-toggle.vs-accordion-toggle--open::after,.vs-mega-nav-accordion-item--level-1>.vs-accordion-item__card-header .vs-accordion-toggle:hover::after,.vs-mega-nav-accordion-item--level-2>.vs-accordion-item__card-header .vs-accordion-toggle.vs-accordion-toggle--open::after,.vs-mega-nav-accordion-item--level-2>.vs-accordion-item__card-header .vs-accordion-toggle:hover::after{content:"";position:absolute;display:block;top:0;left:0;width:12px;height:100%;background:#1f49d6}.vs-mega-nav-accordion-item--level-1>.vs-accordion-item__card-header .vs-accordion-toggle.btn,.vs-mega-nav-accordion-item--level-2>.vs-accordion-item__card-header .vs-accordion-toggle.btn{background-color:#fff;color:#200f2e;text-align:left;font-weight:400;transition:none;border:0}.vs-mega-nav-accordion-item--level-1>.vs-accordion-item__card-header .vs-accordion-toggle.btn:hover,.vs-mega-nav-accordion-item--level-2>.vs-accordion-item__card-header .vs-accordion-toggle.btn:hover{color:#1f49d6}.vs-mega-nav-accordion-item--level-1>.vs-accordion-item__card-header .vs-accordion-toggle.btn .vs-icon,.vs-mega-nav-accordion-item--level-2>.vs-accordion-item__card-header .vs-accordion-toggle.btn .vs-icon{color:#200f2e}.vs-mega-nav-accordion-item--level-1>.vs-accordion-item__card-header .vs-accordion-toggle.btn:active,.vs-mega-nav-accordion-item--level-1>.vs-accordion-item__card-header .vs-accordion-toggle.btn:active:focus,.vs-mega-nav-accordion-item--level-2>.vs-accordion-item__card-header .vs-accordion-toggle.btn:active,.vs-mega-nav-accordion-item--level-2>.vs-accordion-item__card-header .vs-accordion-toggle.btn:active:focus{background-color:#d6e5ff;color:#200f2e}.vs-mega-nav-accordion-item--level-1>.vs-accordion-item__card-header .vs-accordion-toggle.btn:active .vs-icon,.vs-mega-nav-accordion-item--level-1>.vs-accordion-item__card-header .vs-accordion-toggle.btn:active:focus .vs-icon,.vs-mega-nav-accordion-item--level-2>.vs-accordion-item__card-header .vs-accordion-toggle.btn:active .vs-icon,.vs-mega-nav-accordion-item--level-2>.vs-accordion-item__card-header .vs-accordion-toggle.btn:active:focus .vs-icon{color:#200f2e}.vs-mega-nav-accordion-item--level-1>.vs-accordion-item__card-header .vs-accordion-toggle.btn{font-size:1.25rem;padding-left:1.25rem;padding-right:1.25rem}.vs-mega-nav-accordion-item--level-1>.vs-accordion-item__card-header .vs-accordion-toggle.btn:active,.vs-mega-nav-accordion-item--level-1>.vs-accordion-item__card-header .vs-accordion-toggle.btn:active:focus,.vs-mega-nav-accordion-item--level-1>.vs-accordion-item__card-header .vs-accordion-toggle.btn.vs-accordion-toggle--open{background-color:#d6e5ff}.vs-mega-nav-accordion-item--level-2>.vs-accordion-item__card-header .vs-accordion-toggle.btn{font-size:1.125rem;padding-left:2rem;padding-right:1.25rem;box-shadow:0px -1px 0px 0px #e9e9e9}.vs-mega-nav-accordion-item--level-2 .vs-divider{display:none}
@@ -0,0 +1 @@
1
+ .btn.vs-button.vs-accordion-toggle{display:flex;width:100%;color:#200f2e;text-align:left;font-weight:600;font-size:1.25rem;padding:1rem .75rem;line-height:1.2;border:0;margin-bottom:1px;border-radius:.5rem}.btn.vs-button.vs-accordion-toggle:focus{box-shadow:0 0 0 2px #3369ff inset}.btn.vs-button.vs-accordion-toggle:hover .vs-accordion-toggle__icon .vs-icon,.btn.vs-button.vs-accordion-toggle:hover .vs-accordion-toggle__text .vs-icon,.btn.vs-button.vs-accordion-toggle:active .vs-accordion-toggle__icon .vs-icon,.btn.vs-button.vs-accordion-toggle:active .vs-accordion-toggle__text .vs-icon{color:#1f49d6}.btn.vs-button.vs-accordion-toggle:active .vs-accordion-toggle__icon .vs-icon,.btn.vs-button.vs-accordion-toggle:active .vs-accordion-toggle__text .vs-icon{color:#fff}.btn.vs-button.vs-accordion-toggle .vs-accordion-toggle__icon .vs-icon,.btn.vs-button.vs-accordion-toggle .vs-accordion-toggle__text .vs-icon{color:#200f2e}.btn.vs-button.vs-accordion-toggle .vs-button__text{display:flex;width:100%}.btn.vs-button.vs-accordion-toggle .vs-accordion-toggle__text{flex-grow:1}.btn.vs-button.vs-accordion-toggle .vs-accordion-toggle__icon{align-self:center}.no-js .btn.vs-accordion-toggle .vs-accordion-toggle__icon{display:none}
@@ -0,0 +1 @@
1
+ .vs-footer{background:#200f2e}.vs-footer .vs-footer__social-menu-wrapper{border-top:1px solid #fff}@media(max-width: 767.98px){.vs-footer .vs-footer__social-menu-wrapper{border-top:0}.vs-footer .vs-footer__social-menu-wrapper .container{max-width:100%;padding:0}.vs-footer .vs-footer__social-menu-wrapper .container .row{margin-right:0;margin-left:0}.vs-footer .vs-footer__social-menu-wrapper .container .row>.col,.vs-footer .vs-footer__social-menu-wrapper .container .row>[class*=col-]{padding-right:0;padding-left:0}}@media(min-width: 992px){.vs-footer .vs-footer__social-menu-wrapper{border-top:0 !important}}
@@ -0,0 +1 @@
1
+ .vs-accordion-item.card{border:0}.vs-accordion-item.card .vs-accordion-item__card-header{padding:0;border:0;background-color:rgba(0,0,0,0)}.vs-accordion-item.card .vs-accordion-item__title{padding:.75rem;margin-bottom:0}.vs-accordion-item.card .vs-accordion-item__card-colour-badge{width:.75rem;height:.75rem;border-radius:.25rem;display:inline-block;margin-right:1rem}.vs-accordion-item.card .vs-accordion-item__panel.card-body{padding:0 0 .5rem}.no-js .vs-accordion-item .vs-accordion-item__panel{display:block !important}
@@ -0,0 +1 @@
1
+ .vs-footer-accordion-item.vs-accordion-item.card{background-color:rgba(0,0,0,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;padding:.75rem;font-size:1rem;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}.vs-footer-accordion-item.vs-accordion-item.card .vs-divider{display:none !important}}
@@ -0,0 +1 @@
1
+ .category-title{text-transform:capitalize}.vs-map__controls-featured-place-accordion-content .vs-card-group{column-gap:.5rem}
@@ -0,0 +1 @@
1
+ .vs-map__controls-featured-place-card{height:10em;flex:0 0 9.25em !important}.vs-map__controls-featured-place-card-heading{z-index:2;position:relative}.vs-map__controls-featured-place-card .vs-card__image{z-index:1}.vs-map__controls-featured-place-card .vs-card__image img{height:10em}
@@ -1 +1 @@
1
- .mega-nav-mobile-menu{position:absolute;top:100%;left:0;width:100%;max-height:100vh;overflow-y:scroll}
1
+ .mega-nav-mobile-menu{position:absolute;top:100%;left:0;width:100%;max-height:100vh;overflow-y:scroll;margin-top:.5rem}
@@ -138,9 +138,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
138
138
  type: BooleanConstructor;
139
139
  default: boolean;
140
140
  };
141
- }>, {}, {}, {}, {
142
- triggerToggle(): void;
143
- }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "toggle-panel"[], "toggle-panel", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
141
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "toggle-panel"[], "toggle-panel", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
144
142
  variant: {
145
143
  type: StringConstructor;
146
144
  default: string;
@@ -2365,5 +2363,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
2365
2363
  level: string | number;
2366
2364
  noMargins: boolean;
2367
2365
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2366
+ VsDivider: import('vue').DefineComponent<{}, {
2367
+ variant: string;
2368
+ $props: {
2369
+ readonly variant?: string;
2370
+ };
2371
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2368
2372
  }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2369
2373
  export default _default;
@@ -13,9 +13,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
13
13
  type: BooleanConstructor;
14
14
  default: boolean;
15
15
  };
16
- }>, {}, {}, {}, {
17
- triggerToggle(): void;
18
- }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "toggle-panel"[], "toggle-panel", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
16
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "toggle-panel"[], "toggle-panel", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
19
17
  /**
20
18
  * Variant for which button to show in headers
21
19
  */
@@ -112,9 +112,7 @@ declare const _default: {
112
112
  type: BooleanConstructor;
113
113
  default: boolean;
114
114
  };
115
- }>, {}, {}, {}, {
116
- triggerToggle(): void;
117
- }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "toggle-panel"[], "toggle-panel", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
115
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "toggle-panel"[], "toggle-panel", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
118
116
  variant: {
119
117
  type: StringConstructor;
120
118
  default: string;
@@ -2339,6 +2337,12 @@ declare const _default: {
2339
2337
  level: string | number;
2340
2338
  noMargins: boolean;
2341
2339
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2340
+ VsDivider: import('vue').DefineComponent<{}, {
2341
+ variant: string;
2342
+ $props: {
2343
+ readonly variant?: string;
2344
+ };
2345
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2342
2346
  }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2343
2347
  VsAccordionToggle: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2344
2348
  variant: {
@@ -2349,9 +2353,7 @@ declare const _default: {
2349
2353
  type: BooleanConstructor;
2350
2354
  default: boolean;
2351
2355
  };
2352
- }>, {}, {}, {}, {
2353
- triggerToggle(): void;
2354
- }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "toggle-panel"[], "toggle-panel", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
2356
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "toggle-panel"[], "toggle-panel", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
2355
2357
  variant: {
2356
2358
  type: StringConstructor;
2357
2359
  default: string;