@visitscotland/component-library 5.78.0 → 5.79.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/components/carbon-calculator/CarbonCalculator.vue.d.ts +2 -2
- package/dist/components/components/carbon-calculator/components/CarbonCalculatorQuestion.vue.d.ts +2 -2
- package/dist/components/components/checkbox/Checkbox.vue.d.ts +1 -1
- package/dist/components/components/dropdown/Dropdown.vue.d.ts +948 -0
- package/dist/components/components/footer/components/FooterCopyright.vue.d.ts +1 -1
- package/dist/components/components/form/Form.vue.d.ts +4 -4
- package/dist/components/components/global-menu/components/GlobalMenuLanguage.vue.d.ts +1277 -0
- package/dist/components/components/google-map/GoogleMap.vue.d.ts +234 -0
- package/dist/components/components/google-map/components/GoogleMapMarker.vue.d.ts +73 -0
- package/dist/components/components/google-map/composables/AddPolygon.d.ts +2 -0
- package/dist/components/components/google-map/composables/AddTooltip.d.ts +30 -0
- package/dist/components/components/index.d.ts +2 -0
- package/dist/components/components/input/Input.vue.d.ts +1 -1
- package/dist/components/components/mega-nav/MegaNav.vue.d.ts +14 -14
- package/dist/components/components/navigation-bar/components/NavigationBarMenuDropdown.vue.d.ts +955 -0
- package/dist/components/components/navigation-bar/components/NavigationBarSearch.vue.d.ts +1 -1
- package/dist/components/components/number-input/NumberInput.vue.d.ts +1 -1
- package/dist/components/components/radio-button/RadioButton.vue.d.ts +1 -1
- package/dist/components/components/select/Select.vue.d.ts +1 -1
- package/dist/components/components/site-search/components/SiteSearchForm.vue.d.ts +1 -1
- package/dist/components/components/social-share/SocialShare.vue.d.ts +1702 -0
- package/dist/components/components/textarea/Textarea.vue.d.ts +1 -1
- package/dist/components/custom-components/maps/MainMap.vue.d.ts +2 -2
- package/dist/components/custom-components/maps/index.d.ts +2 -2
- package/dist/components/map-pin-BLjt1O7o.js +4 -0
- package/dist/components/map-pin-fZzoZBi5.mjs +7 -0
- package/dist/components/mixins/validateFormElementMixin.d.ts +1 -1
- package/dist/components/stores/googleMap.store.d.ts +26 -0
- package/dist/components/stores/map.store.d.ts +1 -1
- package/dist/components/style.css +1 -1
- package/dist/components/types/types.d.ts +30 -0
- package/dist/components/utils/is-apple-ios.d.ts +5 -0
- package/dist/components/vs-component-library.js +18 -10
- package/dist/components/vs-component-library.mjs +1256 -714
- package/package.json +192 -192
- package/CHANGELOG.md +0 -5361
- package/dist/babel.config.js +0 -23
- package/dist/client/fonts/custom-icons.ttf +0 -0
- package/dist/client/fonts/custom-icons.woff2 +0 -0
- package/dist/client/fonts/eveleth-clean-regular.woff +0 -0
- package/dist/client/fonts/eveleth-clean-regular.woff2 +0 -0
- package/dist/client/fonts/eveleth-clean-thin.woff +0 -0
- package/dist/client/fonts/eveleth-clean-thin.woff2 +0 -0
- package/dist/client/fonts/fa-brands-400.ttf +0 -0
- package/dist/client/fonts/fa-brands-400.woff2 +0 -0
- package/dist/client/fonts/fa-duotone-900.ttf +0 -0
- package/dist/client/fonts/fa-duotone-900.woff2 +0 -0
- package/dist/client/fonts/fa-regular-400.ttf +0 -0
- package/dist/client/fonts/fa-regular-400.woff2 +0 -0
- package/dist/client/fonts/fa-solid-900.ttf +0 -0
- package/dist/client/fonts/fa-solid-900.woff2 +0 -0
- package/dist/client/fonts/source-sans-pro-bold-italic.woff +0 -0
- package/dist/client/fonts/source-sans-pro-bold-italic.woff2 +0 -0
- package/dist/client/fonts/source-sans-pro-bold.woff +0 -0
- package/dist/client/fonts/source-sans-pro-bold.woff2 +0 -0
- package/dist/client/fonts/source-sans-pro-light-italic.woff +0 -0
- package/dist/client/fonts/source-sans-pro-light-italic.woff2 +0 -0
- package/dist/client/fonts/source-sans-pro-light.woff +0 -0
- package/dist/client/fonts/source-sans-pro-light.woff2 +0 -0
- package/dist/client/fonts/source-sans-pro-regular-italic.woff +0 -0
- package/dist/client/fonts/source-sans-pro-regular-italic.woff2 +0 -0
- package/dist/client/fonts/source-sans-pro-regular.woff +0 -0
- package/dist/client/fonts/source-sans-pro-regular.woff2 +0 -0
- package/dist/client/fonts/source-sans-pro-semibold-italic.woff +0 -0
- package/dist/client/fonts/source-sans-pro-semibold-italic.woff2 +0 -0
- package/dist/client/fonts/source-sans-pro-semibold.woff +0 -0
- package/dist/client/fonts/source-sans-pro-semibold.woff2 +0 -0
- package/dist/client/img/generic-lqip.a67c211.jpg +0 -0
- package/dist/client/manifest.json +0 -8881
- package/dist/client/scripts/02267cd15e5d3c38ec2a.js +0 -1
- package/dist/client/scripts/02cd01e4087e8d5aa492.js +0 -1
- package/dist/client/scripts/0438b2a237fc5bdc3284.js +0 -1
- package/dist/client/scripts/04bd7168cf40124674cc.js +0 -1
- package/dist/client/scripts/04d55c65d84727be241d.js +0 -1
- package/dist/client/scripts/04dfed6889eaadd2afd5.js +0 -1
- package/dist/client/scripts/05a1efe07f04c478155a.js +0 -1
- package/dist/client/scripts/05ed6c26804615289452.js +0 -1
- package/dist/client/scripts/06e2a0dd3335dfc0e506.js +0 -1
- package/dist/client/scripts/08755652b19e4b8cc3a6.js +0 -1
- package/dist/client/scripts/08b6757bf426093060a6.js +0 -1
- package/dist/client/scripts/093df1d5f4968f1a29eb.js +0 -1
- package/dist/client/scripts/09b087ec0d366e0f4aab.js +0 -1
- package/dist/client/scripts/0ab3c46d6068a5f67c1f.js +0 -1
- package/dist/client/scripts/0b382f4530085f73f38f.js +0 -1
- package/dist/client/scripts/0b3912dfa370015ac079.js +0 -1
- package/dist/client/scripts/0b5992e43cb6b1a5b482.js +0 -1
- package/dist/client/scripts/0c8e63483304c803b42a.js +0 -1
- package/dist/client/scripts/0d44aeaf665b9f76f1a3.js +0 -1
- package/dist/client/scripts/0da964d971a554507734.js +0 -1
- package/dist/client/scripts/0de83ee7e84dc3cca135.js +0 -1
- package/dist/client/scripts/0dfb5498d33ccbb16bd5.js +0 -1
- package/dist/client/scripts/0fc32c57e4b4c007d86e.js +0 -1
- package/dist/client/scripts/10559d03b0ae2c434d59.js +0 -1
- package/dist/client/scripts/1077b219313276c21765.js +0 -1
- package/dist/client/scripts/10feb66c27c41e55bdd4.js +0 -1
- package/dist/client/scripts/125f54f2181f20b9b6c7.js +0 -1
- package/dist/client/scripts/12c214803bb856eac25e.js +0 -1
- package/dist/client/scripts/138cfedbc9aa0fb82acc.js +0 -1
- package/dist/client/scripts/147acfad2826cadced1c.js +0 -1
- package/dist/client/scripts/149849e9e46fa12a6d57.js +0 -1
- package/dist/client/scripts/15f780b29c346e28bdf9.js +0 -1
- package/dist/client/scripts/170ca751557782434b86.js +0 -1
- package/dist/client/scripts/17f050e8fbf954ca4400.js +0 -1
- package/dist/client/scripts/18b7751ab328bbd3a091.js +0 -1
- package/dist/client/scripts/18b8732facc297fa275d.js +0 -1
- package/dist/client/scripts/18fdae02c01f35f20b11.js +0 -1
- package/dist/client/scripts/19a97f4c8217fe493368.js +0 -1
- package/dist/client/scripts/1ad0f1a325ef164bc452.js +0 -1
- package/dist/client/scripts/1b183737a0d1f53d7c29.js +0 -1
- package/dist/client/scripts/1c20656fa41e8f0a9186.js +0 -1
- package/dist/client/scripts/1c5e74a53e980a13c560.js +0 -1
- package/dist/client/scripts/1d1abb5e5dbc59ef9ba2.js +0 -1
- package/dist/client/scripts/1f4d6a63d0475c11a94e.js +0 -1
- package/dist/client/scripts/203fab50bac28b4f853a.js +0 -1
- package/dist/client/scripts/205795ceed348c421487.js +0 -1
- package/dist/client/scripts/2061904ca074081d88fe.js +0 -1
- package/dist/client/scripts/209af26331fa5efbb1e0.js +0 -1
- package/dist/client/scripts/20fb77cf2d74b861b795.js +0 -1
- package/dist/client/scripts/2122d479f8a8a3d5a02e.js +0 -1
- package/dist/client/scripts/223b412f296c214e60d8.js +0 -1
- package/dist/client/scripts/22e270f311f56a5407cb.js +0 -1
- package/dist/client/scripts/230561f40b218ce33aa3.js +0 -1
- package/dist/client/scripts/23b4b0e265088d24449e.js +0 -1
- package/dist/client/scripts/23c68f0836ee164afc97.js +0 -1
- package/dist/client/scripts/23ce64cb9c4f043c11cf.js +0 -1
- package/dist/client/scripts/23e7e7801052da2ee7b1.js +0 -1
- package/dist/client/scripts/23ea5cdb4bd00312ad71.js +0 -1
- package/dist/client/scripts/247c689797a97059a7e0.js +0 -1
- package/dist/client/scripts/256ff36c753d4c4090ce.js +0 -1
- package/dist/client/scripts/2597729b6576c994284e.js +0 -1
- package/dist/client/scripts/26e22ae1da8f26e5cb41.js +0 -1
- package/dist/client/scripts/2847077fc8b21eea9bc7.js +0 -1
- package/dist/client/scripts/2862716c5f1748b88abf.js +0 -1
- package/dist/client/scripts/29592daed7085fae2aff.js +0 -1
- package/dist/client/scripts/29a09e10b4c826dc6bcd.js +0 -1
- package/dist/client/scripts/29fe5285a5534638e45b.js +0 -1
- package/dist/client/scripts/2a512ada29fd6340b561.js +0 -1
- package/dist/client/scripts/2b43a99e2018d0c84f18.js +0 -1
- package/dist/client/scripts/2be725ef0d23e4a878fd.js +0 -1
- package/dist/client/scripts/2c5c1e99bec52d5976c6.js +0 -1
- package/dist/client/scripts/2cc0bc8c9e4cf62adfae.js +0 -1
- package/dist/client/scripts/2cd9d0c7890646526851.js +0 -1
- package/dist/client/scripts/2d82857aa9b409543ad0.js +0 -1
- package/dist/client/scripts/2da8f9d947d895021c5d.js +0 -1
- package/dist/client/scripts/2dcc8d26adb168a1cbc1.js +0 -1
- package/dist/client/scripts/2e5ffe29b27b0f83ee95.js +0 -1
- package/dist/client/scripts/2e92c9f1881a5f4f24d8.js +0 -1
- package/dist/client/scripts/2eb64565ce9bce410b7f.js +0 -1
- package/dist/client/scripts/2f0aa96a3867425b917c.js +0 -1
- package/dist/client/scripts/2f1b8a7fe67255cbe0ad.js +0 -1
- package/dist/client/scripts/2f2a5585ed7c793c2e39.js +0 -1
- package/dist/client/scripts/30104934860fed5bc19c.js +0 -1
- package/dist/client/scripts/311e9063fba535832317.js +0 -1
- package/dist/client/scripts/319cce34e32e88725a45.js +0 -1
- package/dist/client/scripts/31bdae30a445f8caf38d.js +0 -1
- package/dist/client/scripts/31cc034791fd8fed08dc.js +0 -1
- package/dist/client/scripts/321569356fc40dc9d573.js +0 -1
- package/dist/client/scripts/3217bd72dc64ca594af2.js +0 -1
- package/dist/client/scripts/33243d5f6375a35a5b08.js +0 -1
- package/dist/client/scripts/3339ab53ef97b3ccfa18.js +0 -1
- package/dist/client/scripts/335bb4f1c38a98d3a44d.js +0 -1
- package/dist/client/scripts/336dc65beaffd0fe9728.js +0 -1
- package/dist/client/scripts/3441d9c1d12c892958c4.js +0 -1
- package/dist/client/scripts/366eebd94cbb8274c102.js +0 -1
- package/dist/client/scripts/36bb682d6ef3b6747725.js +0 -1
- package/dist/client/scripts/373129c3f6ff64209b21.js +0 -1
- package/dist/client/scripts/382fbb35d40be45010f0.js +0 -1
- package/dist/client/scripts/38318d710c41e17d02b6.js +0 -1
- package/dist/client/scripts/393fa3ee68d9e76e6def.js +0 -1
- package/dist/client/scripts/3997e6bfb2077648fae3.js +0 -1
- package/dist/client/scripts/39ba7e46913442fd36d3.js +0 -1
- package/dist/client/scripts/3a54f6b2d5b91ff395dc.js +0 -1
- package/dist/client/scripts/3abc2630f32e1ddf96d3.js +0 -1
- package/dist/client/scripts/3e26dc3fd0e0dcd2b96b.js +0 -1
- package/dist/client/scripts/3e5daaae9842486f22de.js +0 -1
- package/dist/client/scripts/3ec91ebd045f61941727.js +0 -1
- package/dist/client/scripts/3ffd82780378e1bb5ca2.js +0 -1
- package/dist/client/scripts/4019090335b635970745.js +0 -1
- package/dist/client/scripts/407c4cdbe305f30d4aae.js +0 -1
- package/dist/client/scripts/40a8616bae4ead370513.js +0 -1
- package/dist/client/scripts/41046f754522e73a8099.js +0 -1
- package/dist/client/scripts/41085f1d73bd0fa3c10a.js +0 -1
- package/dist/client/scripts/41f2effa6ba282e8f647.js +0 -1
- package/dist/client/scripts/4318bb968a52201c4f49.js +0 -1
- package/dist/client/scripts/43f8d26f8aecf79a4b3a.js +0 -1
- package/dist/client/scripts/44d9ce3ccdcc8d374d4a.js +0 -1
- package/dist/client/scripts/454827facac3a7b5372d.js +0 -1
- package/dist/client/scripts/4626c48ced549c077e3e.js +0 -1
- package/dist/client/scripts/46b91e4ff55299b16e9b.js +0 -1
- package/dist/client/scripts/4998595f5c0ba7e4cbef.js +0 -1
- package/dist/client/scripts/4adaa88e55937e122c02.js +0 -1
- package/dist/client/scripts/4b8ab89e3dadf71a555b.js +0 -1
- package/dist/client/scripts/4bd0e0de8052cba02172.js +0 -1
- package/dist/client/scripts/4be307902b6682456306.js +0 -1
- package/dist/client/scripts/4cc85e81b464128e2086.js +0 -1
- package/dist/client/scripts/4db66c860932e8c611a3.js +0 -1
- package/dist/client/scripts/4e22e8c6d6968c8bb509.js +0 -1
- package/dist/client/scripts/4e4ceff971fd73651a94.js +0 -1
- package/dist/client/scripts/4e7c12b28f417074ef6b.js +0 -1
- package/dist/client/scripts/4f227cf9d210a351d684.js +0 -1
- package/dist/client/scripts/50ac2404336c6a949f85.js +0 -1
- package/dist/client/scripts/50e356fe6c0b2febc750.js +0 -1
- package/dist/client/scripts/526da905778000f8ef23.js +0 -1
- package/dist/client/scripts/527b692a90fde1ab1fb1.js +0 -1
- package/dist/client/scripts/52884b53dca6e2248312.js +0 -1
- package/dist/client/scripts/529a6860261e6074f3d1.js +0 -1
- package/dist/client/scripts/529b4b855c5a64c0b642.js +0 -1
- package/dist/client/scripts/52a3b97165f405e63efb.js +0 -1
- package/dist/client/scripts/52b27752515eaaad7845.js +0 -1
- package/dist/client/scripts/52c515514b241f01e737.js +0 -1
- package/dist/client/scripts/52ead081f08a937878ce.js +0 -1
- package/dist/client/scripts/5338ba2c1a300fb817ad.js +0 -2
- package/dist/client/scripts/5338ba2c1a300fb817ad.js.LICENSE.txt +0 -7
- package/dist/client/scripts/53577bb3da2bf3f955b1.js +0 -1
- package/dist/client/scripts/5389ee753606f9248ce8.js +0 -1
- package/dist/client/scripts/544b6969eedda98a4909.js +0 -1
- package/dist/client/scripts/54e2626f665e72ff38f2.js +0 -1
- package/dist/client/scripts/554dbe4573aee08ad555.js +0 -1
- package/dist/client/scripts/5569d308ced70c98424d.js +0 -1
- package/dist/client/scripts/55718fd925b0c6f0c0fd.js +0 -1
- package/dist/client/scripts/55b1f27dcbab64e7f0b4.js +0 -1
- package/dist/client/scripts/565fe0111bdfe1faa81b.js +0 -1
- package/dist/client/scripts/56bdc635956cdf6b721a.js +0 -1
- package/dist/client/scripts/573b3141c4f3aaf2a77a.js +0 -1
- package/dist/client/scripts/5751277f07388a09e8b9.js +0 -1
- package/dist/client/scripts/5801faf406d084e1f422.js +0 -1
- package/dist/client/scripts/580a33d2a6fd7fafab2e.js +0 -1
- package/dist/client/scripts/5840fd3aaf68742dbd91.js +0 -1
- package/dist/client/scripts/58473b34392d3edecc6c.js +0 -1
- package/dist/client/scripts/5911eac6187bc21f524f.js +0 -1
- package/dist/client/scripts/5a9f3609f8449b952b64.js +0 -1
- package/dist/client/scripts/5b60cec3ccc51fae1287.js +0 -1
- package/dist/client/scripts/5c13f431c2e46685547e.js +0 -1
- package/dist/client/scripts/5c2b82e012d3f482ead3.js +0 -1
- package/dist/client/scripts/5c444609f44df9236b50.js +0 -1
- package/dist/client/scripts/5c7de0c787b6e213d9a7.js +0 -1
- package/dist/client/scripts/5ca596aa3d93347cb166.js +0 -1
- package/dist/client/scripts/5cfff7e7f66d60a20f41.js +0 -1
- package/dist/client/scripts/5d6a508856543e7f3529.js +0 -1
- package/dist/client/scripts/5f4eae2e17299af02f30.js +0 -1
- package/dist/client/scripts/5f831ae065d194ef8b88.js +0 -2
- package/dist/client/scripts/5f831ae065d194ef8b88.js.LICENSE.txt +0 -6
- package/dist/client/scripts/6021921cffa267d6b6a7.js +0 -1
- package/dist/client/scripts/60559ad42fa851f0f332.js +0 -1
- package/dist/client/scripts/607805f92c511232d42e.js +0 -1
- package/dist/client/scripts/60cb2189fbc7f98e341c.js +0 -1
- package/dist/client/scripts/61bab8e68387ee80ff66.js +0 -1
- package/dist/client/scripts/61e2b5d6d91ac1f79caa.js +0 -1
- package/dist/client/scripts/63cf7b24a6665afa8d93.js +0 -1
- package/dist/client/scripts/64040fe43c85229d6c7e.js +0 -1
- package/dist/client/scripts/64f99a851351addd116c.js +0 -1
- package/dist/client/scripts/6544d845ce286c6cf7f6.js +0 -2
- package/dist/client/scripts/6544d845ce286c6cf7f6.js.LICENSE.txt +0 -7
- package/dist/client/scripts/6671c338e570a6a99590.js +0 -1
- package/dist/client/scripts/678be80c89eff10efccf.js +0 -2
- package/dist/client/scripts/678be80c89eff10efccf.js.LICENSE.txt +0 -17
- package/dist/client/scripts/68395bfe89565e0d1d79.js +0 -1
- package/dist/client/scripts/686711e0bbed23d62722.js +0 -1
- package/dist/client/scripts/697257bf52f5ba126d91.js +0 -1
- package/dist/client/scripts/6995a6a5607ccfaef630.js +0 -1
- package/dist/client/scripts/69c0b19f9b3d9637c86d.js +0 -1
- package/dist/client/scripts/6a12fd4b0fac54aa746a.js +0 -1
- package/dist/client/scripts/6a18930893f1bec771d8.js +0 -1
- package/dist/client/scripts/6a72e20f9ac9a967fdb5.js +0 -1
- package/dist/client/scripts/6b3a9814dfe9345f60db.js +0 -1
- package/dist/client/scripts/6b46c22ca1c92349b2f8.js +0 -1
- package/dist/client/scripts/6b4ed5cf4bb509c82dc7.js +0 -1
- package/dist/client/scripts/6b563760413cecbb2ea9.js +0 -1
- package/dist/client/scripts/6b8a4215fa0c54e5c57a.js +0 -1
- package/dist/client/scripts/6cf6cc6c2d13bfd50cdd.js +0 -1
- package/dist/client/scripts/6e83cdb8cf4a81b04610.js +0 -1
- package/dist/client/scripts/6f15b6a6383d1ea05092.js +0 -1
- package/dist/client/scripts/6f8528b90f831773c20d.js +0 -1
- package/dist/client/scripts/6fc29b2e316a296f27b3.js +0 -1
- package/dist/client/scripts/7016d8a61690a15d03f9.js +0 -1
- package/dist/client/scripts/70c732688880119919b6.js +0 -1
- package/dist/client/scripts/718b4525f4fce3649c52.js +0 -1
- package/dist/client/scripts/721044e6d4d9f7d20737.js +0 -1
- package/dist/client/scripts/72e8cf2a7ddceadf4584.js +0 -2
- package/dist/client/scripts/72e8cf2a7ddceadf4584.js.LICENSE.txt +0 -1
- package/dist/client/scripts/732cd2f94474bcd9c413.js +0 -1
- package/dist/client/scripts/732cde453ece9ad94e13.js +0 -1
- package/dist/client/scripts/73e86b962ccea60d00a7.js +0 -1
- package/dist/client/scripts/7623efe03b36f0ed4aed.js +0 -1
- package/dist/client/scripts/76d78ba0c2f38b447c7b.js +0 -1
- package/dist/client/scripts/76f337a57866fb5b688f.js +0 -1
- package/dist/client/scripts/76f4d20d155ba0ca1a14.js +0 -1
- package/dist/client/scripts/7818ed43fdcd566ba3f8.js +0 -1
- package/dist/client/scripts/784d227f712ddb91cb2a.js +0 -1
- package/dist/client/scripts/7880369871d8c84cd0e7.js +0 -1
- package/dist/client/scripts/78b5052753a730211f39.js +0 -1
- package/dist/client/scripts/7920255a5c68d97e99d9.js +0 -1
- package/dist/client/scripts/79eddfa24c7ea007b464.js +0 -1
- package/dist/client/scripts/7b64c0b95bc2e1e7b8b7.js +0 -1
- package/dist/client/scripts/7bb7988a7e3a48b42689.js +0 -1
- package/dist/client/scripts/7c55ed358f5750245829.js +0 -1
- package/dist/client/scripts/7fa847dd9898ad08103f.js +0 -1
- package/dist/client/scripts/80006a5fec335cb12b7c.js +0 -1
- package/dist/client/scripts/8072cc2473f8ecfdd665.js +0 -1
- package/dist/client/scripts/80cddc196cc2b7002fd6.js +0 -1
- package/dist/client/scripts/811867036c6ceae74584.js +0 -1
- package/dist/client/scripts/82cff5a009d11a47c9b1.js +0 -1
- package/dist/client/scripts/830e7f83c507e3b81403.js +0 -1
- package/dist/client/scripts/83df837d0feb863dfcd9.js +0 -1
- package/dist/client/scripts/83e8c494ee1d031a6d1b.js +0 -1
- package/dist/client/scripts/84222624315dca891314.js +0 -1
- package/dist/client/scripts/878fb5ed84c34cc290d7.js +0 -1
- package/dist/client/scripts/87917f9820f9ef0a11e9.js +0 -1
- package/dist/client/scripts/885aba9fe02e2e19ef08.js +0 -1
- package/dist/client/scripts/886d531d72735c6d34f0.js +0 -1
- package/dist/client/scripts/88c10a04376cf5a72c28.js +0 -1
- package/dist/client/scripts/89c7ce2ebd93f29188d4.js +0 -1
- package/dist/client/scripts/8a80c96f39aff306eca8.js +0 -1
- package/dist/client/scripts/8aa688dbf078ed7770b4.js +0 -1
- package/dist/client/scripts/8abb35c450930c27b128.js +0 -1
- package/dist/client/scripts/8bff3de4212bafab4077.js +0 -1
- package/dist/client/scripts/8ce2d092e29a43286f3c.js +0 -1
- package/dist/client/scripts/8ec6bd177c4c85a84907.js +0 -1
- package/dist/client/scripts/8f5d4dce0438d73d729d.js +0 -1
- package/dist/client/scripts/8fb6347aacc0d7a6e455.js +0 -1
- package/dist/client/scripts/9160103b2c1dbedf8904.js +0 -1
- package/dist/client/scripts/91ec808848d9ef8fde7a.js +0 -1
- package/dist/client/scripts/9212fa0c23e7fbc74fb7.js +0 -1
- package/dist/client/scripts/9315757caa09da0a99d1.js +0 -1
- package/dist/client/scripts/93a15382ca1d82530841.js +0 -1
- package/dist/client/scripts/93bde9d3da4e67262071.js +0 -1
- package/dist/client/scripts/93fcfa2274d0dc0bda30.js +0 -1
- package/dist/client/scripts/943c207eed1ff2aa3f4b.js +0 -1
- package/dist/client/scripts/947ee62243a4bb64cf62.js +0 -1
- package/dist/client/scripts/958dc3347b4c79ae92f0.js +0 -1
- package/dist/client/scripts/96306df532ecfd1464fb.js +0 -1
- package/dist/client/scripts/967b8f5dde3c44052690.js +0 -1
- package/dist/client/scripts/971b2c9a163cb9a4c1d9.js +0 -1
- package/dist/client/scripts/9742df9b3b105d4cc277.js +0 -1
- package/dist/client/scripts/975f5937c65afebd6c51.js +0 -1
- package/dist/client/scripts/98ac986ff06803b51b48.js +0 -1
- package/dist/client/scripts/9987d7d12d1a3b4a8eea.js +0 -1
- package/dist/client/scripts/9a3456d670f8b4d54fa7.js +0 -1
- package/dist/client/scripts/9a83b42dbc369d0277e6.js +0 -1
- package/dist/client/scripts/9c119bb692b22af5aa30.js +0 -1
- package/dist/client/scripts/9d21a74a4edb98c6bbaa.js +0 -1
- package/dist/client/scripts/9de34760cf846b3f1ec1.js +0 -1
- package/dist/client/scripts/9ded7dc119b9d0512592.js +0 -1
- package/dist/client/scripts/9eebe67b2504a3c1d87c.js +0 -1
- package/dist/client/scripts/9f21c1e47b8b109c3a6d.js +0 -1
- package/dist/client/scripts/9f5ae43cbfda2ce15ad0.js +0 -1
- package/dist/client/scripts/9ff233c13b92a29c85b2.js +0 -1
- package/dist/client/scripts/a06a68636bc8161710b5.js +0 -1
- package/dist/client/scripts/a269b8fd722b692472ce.js +0 -1
- package/dist/client/scripts/a3125245058e27361bb2.js +0 -1
- package/dist/client/scripts/a397c46fe765889eba59.js +0 -1
- package/dist/client/scripts/a3dde3a7c263f2c4f215.js +0 -1
- package/dist/client/scripts/a424411b4b88338bbd0f.js +0 -1
- package/dist/client/scripts/a49c8ff1197214b8c2ec.js +0 -1
- package/dist/client/scripts/a4f51fbb44b53c6b19dc.js +0 -1
- package/dist/client/scripts/a6130794c1d33d80488a.js +0 -1
- package/dist/client/scripts/a663334ed60674dacc67.js +0 -1
- package/dist/client/scripts/a76283950fdef327c229.js +0 -1
- package/dist/client/scripts/aa420ba8f8c0b546ec1b.js +0 -1
- package/dist/client/scripts/aaf155991bb2554936c0.js +0 -1
- package/dist/client/scripts/ab4c23c9be69cc8dc10a.js +0 -1
- package/dist/client/scripts/ab78c19a4e39b36f31db.js +0 -1
- package/dist/client/scripts/ac61187dca33e7ce424a.js +0 -1
- package/dist/client/scripts/ac814e350b080b08f5fe.js +0 -1
- package/dist/client/scripts/adc43fc9fa9ee3c85f21.js +0 -1
- package/dist/client/scripts/ae5fc5dfd89eb758d37e.js +0 -1
- package/dist/client/scripts/aed199f6a2d99ed2c6ed.js +0 -1
- package/dist/client/scripts/af30ee7015b50e68973b.js +0 -1
- package/dist/client/scripts/af5952182a294bc0aa31.js +0 -1
- package/dist/client/scripts/b12061cee6bd7ef0da0b.js +0 -1
- package/dist/client/scripts/b16d36c13df4f81799dc.js +0 -2
- package/dist/client/scripts/b16d36c13df4f81799dc.js.LICENSE.txt +0 -8
- package/dist/client/scripts/b1786948f0135f272a09.js +0 -1
- package/dist/client/scripts/b23c56e1b48df7ce837e.js +0 -1
- package/dist/client/scripts/b258ae8937b375790b35.js +0 -1
- package/dist/client/scripts/b43eabedc3d8cb405b13.js +0 -1
- package/dist/client/scripts/b55e02a32d90c14f4cbe.js +0 -1
- package/dist/client/scripts/b696b2a22d7ea90da109.js +0 -1
- package/dist/client/scripts/b86935af3d89a9a2ad20.js +0 -1
- package/dist/client/scripts/b9fe028bf59c824921a8.js +0 -1
- package/dist/client/scripts/ba92be8988f6e7cd5e6f.js +0 -1
- package/dist/client/scripts/bb6ee4365a8705780e12.js +0 -1
- package/dist/client/scripts/bc8c593bdc7f77961b3e.js +0 -1
- package/dist/client/scripts/bccd95120799e94ad85b.js +0 -1
- package/dist/client/scripts/bd3814764b1c7e8c5751.js +0 -1
- package/dist/client/scripts/be8315e3f001e285b99d.js +0 -1
- package/dist/client/scripts/beaf345e668e5858c6bd.js +0 -1
- package/dist/client/scripts/bff2361f88ee3867b9b5.js +0 -1
- package/dist/client/scripts/c033ed6d46bc42084b33.js +0 -1
- package/dist/client/scripts/c0448d3c462e3deb1993.js +0 -1
- package/dist/client/scripts/c125dd10e49921486f34.js +0 -1
- package/dist/client/scripts/c183f805ae8a659449f3.js +0 -1
- package/dist/client/scripts/c18e5959e5313ec5a7cf.js +0 -1
- package/dist/client/scripts/c1d9299a2481f61b3e9b.js +0 -1
- package/dist/client/scripts/c21a6c36e3568bdc534f.js +0 -1
- package/dist/client/scripts/c2534659707a053ea8ee.js +0 -1
- package/dist/client/scripts/c26ce260299263eeb8bb.js +0 -1
- package/dist/client/scripts/c3527a51540c796aa210.js +0 -1
- package/dist/client/scripts/c402cc371396cd0de414.js +0 -1
- package/dist/client/scripts/c44d2718bc46a06944c9.js +0 -1
- package/dist/client/scripts/c4c6c4f82f8a5ceb9401.js +0 -1
- package/dist/client/scripts/c4d1c2c8dbf87da6d96f.js +0 -1
- package/dist/client/scripts/c50248b187bb7916f74f.js +0 -1
- package/dist/client/scripts/c6fcd69688050e54270d.js +0 -1
- package/dist/client/scripts/c7fb4e35252146ab1ff9.js +0 -1
- package/dist/client/scripts/c80e539941006a293c40.js +0 -1
- package/dist/client/scripts/c826e0cc20a2aa528853.js +0 -1
- package/dist/client/scripts/c92d18059ca7a5fa187e.js +0 -1
- package/dist/client/scripts/ca534726c8438931e48c.js +0 -1
- package/dist/client/scripts/cab25a20a3eb8c6985dd.js +0 -1
- package/dist/client/scripts/cb24aae22991ca24c2c8.js +0 -1
- package/dist/client/scripts/cb7718d9829f07833d01.js +0 -1
- package/dist/client/scripts/cc1734aff9575fbb84be.js +0 -1
- package/dist/client/scripts/cc81b77b9cd9801dac8f.js +0 -1
- package/dist/client/scripts/cd64d43e92bed9490b5e.js +0 -1
- package/dist/client/scripts/ce762c959cf9b699acf8.js +0 -1
- package/dist/client/scripts/d004c86b9221141e7607.js +0 -1
- package/dist/client/scripts/d05a0cf78979bfacdb55.js +0 -1
- package/dist/client/scripts/d0754b4aa24deddb7245.js +0 -1
- package/dist/client/scripts/d14c2ac5c9a330899b93.js +0 -1
- package/dist/client/scripts/d2b730ad00573dad86d4.js +0 -1
- package/dist/client/scripts/d38d28260687bdb6b30d.js +0 -1
- package/dist/client/scripts/d43c1005ef0b2e384fdb.js +0 -1
- package/dist/client/scripts/d45a491bd98ee16dc921.js +0 -1
- package/dist/client/scripts/d46534bfd4639ca6592e.js +0 -1
- package/dist/client/scripts/d4975689673752fc50fd.js +0 -1
- package/dist/client/scripts/d6f35cfcf4b0aafd6e5d.js +0 -1
- package/dist/client/scripts/d7919936e7d8cb3e731f.js +0 -1
- package/dist/client/scripts/d7be84839eb13c10994d.js +0 -1
- package/dist/client/scripts/dba3948d8b668e96cee6.js +0 -1
- package/dist/client/scripts/dbda388cf5a30f01cbcf.js +0 -1
- package/dist/client/scripts/dc46e39a8892eb3a793c.js +0 -1
- package/dist/client/scripts/dcdb0c57cb9174c2474b.js +0 -1
- package/dist/client/scripts/dcea35951f828ec6b711.js +0 -1
- package/dist/client/scripts/ddb1fea40c338415285a.js +0 -1
- package/dist/client/scripts/de48ab96f2314589c8f5.js +0 -1
- package/dist/client/scripts/de496f4c42bb5b6b6d7e.js +0 -1
- package/dist/client/scripts/de50ee42877f105b5752.js +0 -1
- package/dist/client/scripts/de6f248c13c97b6f914b.js +0 -1
- package/dist/client/scripts/dedd7a8c7641c6abb910.js +0 -1
- package/dist/client/scripts/df6035f486fa0955bb92.js +0 -1
- package/dist/client/scripts/dfb0649a31917de093b0.js +0 -1
- package/dist/client/scripts/e0dd06533ebb6c7bc4cc.js +0 -1
- package/dist/client/scripts/e0f5acc47ed5ca962695.js +0 -1
- package/dist/client/scripts/e147a51def3ab23ae656.js +0 -1
- package/dist/client/scripts/e21537cb66b6616183b0.js +0 -1
- package/dist/client/scripts/e23286dae5ab566935f8.js +0 -1
- package/dist/client/scripts/e31c75f05ebcf9568c26.js +0 -1
- package/dist/client/scripts/e3b97c2a4ec9f3a15ed5.js +0 -1
- package/dist/client/scripts/e6422728c1c9a9739b76.js +0 -1
- package/dist/client/scripts/e6d875a37c62f3d3e561.js +0 -1
- package/dist/client/scripts/e72a9fa25e0cb614b047.js +0 -1
- package/dist/client/scripts/e74cb22d42037309926d.js +0 -1
- package/dist/client/scripts/e8055817c34ca7f2e0d1.js +0 -1
- package/dist/client/scripts/e82db7ecb8bd18986174.js +0 -1
- package/dist/client/scripts/e84e2c99fac618724a6b.js +0 -1
- package/dist/client/scripts/e92b419e81affdea6d7d.js +0 -1
- package/dist/client/scripts/e94da6d3801ebb02d8ce.js +0 -1
- package/dist/client/scripts/e9da886158b0f2214ae2.js +0 -1
- package/dist/client/scripts/ea9c40e082d00151bcb2.js +0 -1
- package/dist/client/scripts/eab0059cfa57db0af11c.js +0 -1
- package/dist/client/scripts/eaefb9ebd37d19551403.js +0 -1
- package/dist/client/scripts/eb9ab6dd707734630876.js +0 -1
- package/dist/client/scripts/eba32e7258bb2a7a1a2a.js +0 -1
- package/dist/client/scripts/ec670e26ebd52a20b051.js +0 -1
- package/dist/client/scripts/ec6fd2311481a0dfc9d1.js +0 -1
- package/dist/client/scripts/eda3d84b5c7ef1cf832f.js +0 -1
- package/dist/client/scripts/ede70c2797449c4d51a6.js +0 -1
- package/dist/client/scripts/ef1dd69cae444e50867a.js +0 -1
- package/dist/client/scripts/f07600be83e973fe699f.js +0 -1
- package/dist/client/scripts/f12e8d4deaddb3b26d58.js +0 -1
- package/dist/client/scripts/f25db0c188d1d6ae7dd7.js +0 -1
- package/dist/client/scripts/f277be41b5d66b178431.js +0 -1
- package/dist/client/scripts/f29db69f95e75149e0e5.js +0 -1
- package/dist/client/scripts/f2a2f7927eed677de0fb.js +0 -1
- package/dist/client/scripts/f2b17fbe4d7c9dace0c4.js +0 -1
- package/dist/client/scripts/f2dfcfa0d38d341fc827.js +0 -2
- package/dist/client/scripts/f2dfcfa0d38d341fc827.js.LICENSE.txt +0 -20
- package/dist/client/scripts/f30fbd3d7d6421ff0d75.js +0 -1
- package/dist/client/scripts/f354442df291ebc07436.js +0 -1
- package/dist/client/scripts/f3ee4bdf344f8724e4c7.js +0 -1
- package/dist/client/scripts/f443edb707d72594a1e7.js +0 -1
- package/dist/client/scripts/f446782fd7a7a2f8aaef.js +0 -1
- package/dist/client/scripts/f45db6310788cfb12805.js +0 -1
- package/dist/client/scripts/f4a668879a22f437d35c.js +0 -1
- package/dist/client/scripts/f58771d4b541d7ca06fb.js +0 -1
- package/dist/client/scripts/f5dd83c05af526500d98.js +0 -1
- package/dist/client/scripts/f63eafcdb6b94fd95198.js +0 -1
- package/dist/client/scripts/f6cb2798677ada41ec58.js +0 -1
- package/dist/client/scripts/f84229a0696a0096e336.js +0 -1
- package/dist/client/scripts/fa446de2a0be9cac9cbc.js +0 -1
- package/dist/client/scripts/fcca4ddacffe3f8cf584.js +0 -1
- package/dist/client/scripts/fd3f812603b78fe9978b.js +0 -1
- package/dist/client/scripts/fdd619f75d63a8628e4e.js +0 -2
- package/dist/client/scripts/fdd619f75d63a8628e4e.js.LICENSE.txt +0 -8
- package/dist/client/scripts/ff3f98b95580dd1fde4c.js +0 -1
- package/dist/client/scripts/ff4c5a9ba80c1fe53316.js +0 -1
- package/dist/client/styles/02cd01e4087e8d5aa492.css +0 -1
- package/dist/client/styles/0438b2a237fc5bdc3284.css +0 -1
- package/dist/client/styles/04bd7168cf40124674cc.css +0 -1
- package/dist/client/styles/05a1efe07f04c478155a.css +0 -1
- package/dist/client/styles/06e2a0dd3335dfc0e506.css +0 -1
- package/dist/client/styles/08755652b19e4b8cc3a6.css +0 -1
- package/dist/client/styles/093df1d5f4968f1a29eb.css +0 -1
- package/dist/client/styles/09b087ec0d366e0f4aab.css +0 -1
- package/dist/client/styles/0ab3c46d6068a5f67c1f.css +0 -1
- package/dist/client/styles/0b5992e43cb6b1a5b482.css +0 -1
- package/dist/client/styles/0c8e63483304c803b42a.css +0 -1
- package/dist/client/styles/0d44aeaf665b9f76f1a3.css +0 -1
- package/dist/client/styles/0fc32c57e4b4c007d86e.css +0 -1
- package/dist/client/styles/10559d03b0ae2c434d59.css +0 -1
- package/dist/client/styles/10feb66c27c41e55bdd4.css +0 -1
- package/dist/client/styles/125f54f2181f20b9b6c7.css +0 -1
- package/dist/client/styles/12c214803bb856eac25e.css +0 -1
- package/dist/client/styles/147acfad2826cadced1c.css +0 -1
- package/dist/client/styles/170ca751557782434b86.css +0 -1
- package/dist/client/styles/18b8732facc297fa275d.css +0 -1
- package/dist/client/styles/1ad0f1a325ef164bc452.css +0 -1
- package/dist/client/styles/1c20656fa41e8f0a9186.css +0 -1
- package/dist/client/styles/1d1abb5e5dbc59ef9ba2.css +0 -1
- package/dist/client/styles/2061904ca074081d88fe.css +0 -1
- package/dist/client/styles/20fb77cf2d74b861b795.css +0 -1
- package/dist/client/styles/223b412f296c214e60d8.css +0 -1
- package/dist/client/styles/230561f40b218ce33aa3.css +0 -1
- package/dist/client/styles/23e7e7801052da2ee7b1.css +0 -1
- package/dist/client/styles/23ea5cdb4bd00312ad71.css +0 -1
- package/dist/client/styles/256ff36c753d4c4090ce.css +0 -1
- package/dist/client/styles/2597729b6576c994284e.css +0 -1
- package/dist/client/styles/2847077fc8b21eea9bc7.css +0 -1
- package/dist/client/styles/29592daed7085fae2aff.css +0 -1
- package/dist/client/styles/29a09e10b4c826dc6bcd.css +0 -1
- package/dist/client/styles/29fe5285a5534638e45b.css +0 -1
- package/dist/client/styles/2b43a99e2018d0c84f18.css +0 -1
- package/dist/client/styles/2da8f9d947d895021c5d.css +0 -1
- package/dist/client/styles/2dcc8d26adb168a1cbc1.css +0 -1
- package/dist/client/styles/2eb64565ce9bce410b7f.css +0 -1
- package/dist/client/styles/2f1b8a7fe67255cbe0ad.css +0 -1
- package/dist/client/styles/311e9063fba535832317.css +0 -1
- package/dist/client/styles/319cce34e32e88725a45.css +0 -1
- package/dist/client/styles/31cc034791fd8fed08dc.css +0 -1
- package/dist/client/styles/3217bd72dc64ca594af2.css +0 -1
- package/dist/client/styles/3339ab53ef97b3ccfa18.css +0 -1
- package/dist/client/styles/36bb682d6ef3b6747725.css +0 -1
- package/dist/client/styles/373129c3f6ff64209b21.css +0 -1
- package/dist/client/styles/39ba7e46913442fd36d3.css +0 -1
- package/dist/client/styles/407c4cdbe305f30d4aae.css +0 -1
- package/dist/client/styles/41085f1d73bd0fa3c10a.css +0 -1
- package/dist/client/styles/4318bb968a52201c4f49.css +0 -1
- package/dist/client/styles/454827facac3a7b5372d.css +0 -1
- package/dist/client/styles/46b91e4ff55299b16e9b.css +0 -1
- package/dist/client/styles/4998595f5c0ba7e4cbef.css +0 -1
- package/dist/client/styles/4b8ab89e3dadf71a555b.css +0 -1
- package/dist/client/styles/4be307902b6682456306.css +0 -1
- package/dist/client/styles/4f227cf9d210a351d684.css +0 -1
- package/dist/client/styles/50ac2404336c6a949f85.css +0 -1
- package/dist/client/styles/50e356fe6c0b2febc750.css +0 -1
- package/dist/client/styles/527b692a90fde1ab1fb1.css +0 -1
- package/dist/client/styles/52a3b97165f405e63efb.css +0 -1
- package/dist/client/styles/52c515514b241f01e737.css +0 -1
- package/dist/client/styles/53577bb3da2bf3f955b1.css +0 -1
- package/dist/client/styles/5389ee753606f9248ce8.css +0 -1
- package/dist/client/styles/565fe0111bdfe1faa81b.css +0 -1
- package/dist/client/styles/573b3141c4f3aaf2a77a.css +0 -1
- package/dist/client/styles/5801faf406d084e1f422.css +0 -1
- package/dist/client/styles/5840fd3aaf68742dbd91.css +0 -1
- package/dist/client/styles/5a9f3609f8449b952b64.css +0 -1
- package/dist/client/styles/5c13f431c2e46685547e.css +0 -2
- package/dist/client/styles/5c444609f44df9236b50.css +0 -1
- package/dist/client/styles/5ca596aa3d93347cb166.css +0 -1
- package/dist/client/styles/5f4eae2e17299af02f30.css +0 -1
- package/dist/client/styles/6021921cffa267d6b6a7.css +0 -26
- package/dist/client/styles/61bab8e68387ee80ff66.css +0 -1
- package/dist/client/styles/64040fe43c85229d6c7e.css +0 -1
- package/dist/client/styles/68395bfe89565e0d1d79.css +0 -1
- package/dist/client/styles/686711e0bbed23d62722.css +0 -1
- package/dist/client/styles/6995a6a5607ccfaef630.css +0 -1
- package/dist/client/styles/6a72e20f9ac9a967fdb5.css +0 -1
- package/dist/client/styles/6b46c22ca1c92349b2f8.css +0 -1
- package/dist/client/styles/6b4ed5cf4bb509c82dc7.css +0 -1
- package/dist/client/styles/6b563760413cecbb2ea9.css +0 -2
- package/dist/client/styles/6cf6cc6c2d13bfd50cdd.css +0 -1
- package/dist/client/styles/6e83cdb8cf4a81b04610.css +0 -1
- package/dist/client/styles/6fc29b2e316a296f27b3.css +0 -1
- package/dist/client/styles/7016d8a61690a15d03f9.css +0 -1
- package/dist/client/styles/732cde453ece9ad94e13.css +0 -1
- package/dist/client/styles/76d78ba0c2f38b447c7b.css +0 -1
- package/dist/client/styles/7818ed43fdcd566ba3f8.css +0 -1
- package/dist/client/styles/7880369871d8c84cd0e7.css +0 -1
- package/dist/client/styles/79eddfa24c7ea007b464.css +0 -1
- package/dist/client/styles/7b64c0b95bc2e1e7b8b7.css +0 -1
- package/dist/client/styles/7bb7988a7e3a48b42689.css +0 -1
- package/dist/client/styles/7fa847dd9898ad08103f.css +0 -1
- package/dist/client/styles/80006a5fec335cb12b7c.css +0 -1
- package/dist/client/styles/80cddc196cc2b7002fd6.css +0 -1
- package/dist/client/styles/82cff5a009d11a47c9b1.css +0 -1
- package/dist/client/styles/83e8c494ee1d031a6d1b.css +0 -1
- package/dist/client/styles/84222624315dca891314.css +0 -1
- package/dist/client/styles/878fb5ed84c34cc290d7.css +0 -1
- package/dist/client/styles/885aba9fe02e2e19ef08.css +0 -1
- package/dist/client/styles/8a80c96f39aff306eca8.css +0 -1
- package/dist/client/styles/8aa688dbf078ed7770b4.css +0 -1
- package/dist/client/styles/8abb35c450930c27b128.css +0 -1
- package/dist/client/styles/8ec6bd177c4c85a84907.css +0 -1
- package/dist/client/styles/8fb6347aacc0d7a6e455.css +0 -1
- package/dist/client/styles/9212fa0c23e7fbc74fb7.css +0 -1
- package/dist/client/styles/93a15382ca1d82530841.css +0 -1
- package/dist/client/styles/93bde9d3da4e67262071.css +0 -1
- package/dist/client/styles/943c207eed1ff2aa3f4b.css +0 -1
- package/dist/client/styles/947ee62243a4bb64cf62.css +0 -1
- package/dist/client/styles/96306df532ecfd1464fb.css +0 -1
- package/dist/client/styles/971b2c9a163cb9a4c1d9.css +0 -1
- package/dist/client/styles/9742df9b3b105d4cc277.css +0 -1
- package/dist/client/styles/9987d7d12d1a3b4a8eea.css +0 -1
- package/dist/client/styles/9c119bb692b22af5aa30.css +0 -1
- package/dist/client/styles/9eebe67b2504a3c1d87c.css +0 -1
- package/dist/client/styles/9f21c1e47b8b109c3a6d.css +0 -1
- package/dist/client/styles/9f5ae43cbfda2ce15ad0.css +0 -1
- package/dist/client/styles/a06a68636bc8161710b5.css +0 -1
- package/dist/client/styles/a3dde3a7c263f2c4f215.css +0 -1
- package/dist/client/styles/a49c8ff1197214b8c2ec.css +0 -1
- package/dist/client/styles/ab78c19a4e39b36f31db.css +0 -1
- package/dist/client/styles/ac61187dca33e7ce424a.css +0 -1
- package/dist/client/styles/aed199f6a2d99ed2c6ed.css +0 -1
- package/dist/client/styles/b55e02a32d90c14f4cbe.css +0 -1
- package/dist/client/styles/b696b2a22d7ea90da109.css +0 -1
- package/dist/client/styles/ba92be8988f6e7cd5e6f.css +0 -1
- package/dist/client/styles/bb6ee4365a8705780e12.css +0 -1
- package/dist/client/styles/bc8c593bdc7f77961b3e.css +0 -1
- package/dist/client/styles/bccd95120799e94ad85b.css +0 -1
- package/dist/client/styles/beaf345e668e5858c6bd.css +0 -1
- package/dist/client/styles/c033ed6d46bc42084b33.css +0 -1
- package/dist/client/styles/c1d9299a2481f61b3e9b.css +0 -1
- package/dist/client/styles/c2534659707a053ea8ee.css +0 -1
- package/dist/client/styles/c3527a51540c796aa210.css +0 -1
- package/dist/client/styles/c4c6c4f82f8a5ceb9401.css +0 -1
- package/dist/client/styles/c4d1c2c8dbf87da6d96f.css +0 -1
- package/dist/client/styles/c7fb4e35252146ab1ff9.css +0 -1
- package/dist/client/styles/c826e0cc20a2aa528853.css +0 -1
- package/dist/client/styles/ca534726c8438931e48c.css +0 -1
- package/dist/client/styles/cb7718d9829f07833d01.css +0 -1
- package/dist/client/styles/cc1734aff9575fbb84be.css +0 -1
- package/dist/client/styles/d004c86b9221141e7607.css +0 -1
- package/dist/client/styles/d05a0cf78979bfacdb55.css +0 -1
- package/dist/client/styles/d2b730ad00573dad86d4.css +0 -1
- package/dist/client/styles/d43c1005ef0b2e384fdb.css +0 -1
- package/dist/client/styles/d45a491bd98ee16dc921.css +0 -1
- package/dist/client/styles/d4975689673752fc50fd.css +0 -1
- package/dist/client/styles/d6f35cfcf4b0aafd6e5d.css +0 -1
- package/dist/client/styles/d7be84839eb13c10994d.css +0 -1
- package/dist/client/styles/dcdb0c57cb9174c2474b.css +0 -1
- package/dist/client/styles/df6035f486fa0955bb92.css +0 -1
- package/dist/client/styles/e0dd06533ebb6c7bc4cc.css +0 -1
- package/dist/client/styles/e147a51def3ab23ae656.css +0 -1
- package/dist/client/styles/e3b97c2a4ec9f3a15ed5.css +0 -1
- package/dist/client/styles/e74cb22d42037309926d.css +0 -1
- package/dist/client/styles/e82db7ecb8bd18986174.css +0 -1
- package/dist/client/styles/e92b419e81affdea6d7d.css +0 -1
- package/dist/client/styles/ea9c40e082d00151bcb2.css +0 -1
- package/dist/client/styles/eba32e7258bb2a7a1a2a.css +0 -1
- package/dist/client/styles/ec670e26ebd52a20b051.css +0 -1
- package/dist/client/styles/ec6fd2311481a0dfc9d1.css +0 -1
- package/dist/client/styles/ede70c2797449c4d51a6.css +0 -1
- package/dist/client/styles/f07600be83e973fe699f.css +0 -1
- package/dist/client/styles/f12e8d4deaddb3b26d58.css +0 -1
- package/dist/client/styles/f25db0c188d1d6ae7dd7.css +0 -1
- package/dist/client/styles/f30fbd3d7d6421ff0d75.css +0 -1
- package/dist/client/styles/f354442df291ebc07436.css +0 -1
- package/dist/client/styles/f3ee4bdf344f8724e4c7.css +0 -1
- package/dist/client/styles/f4a668879a22f437d35c.css +0 -1
- package/dist/client/styles/f63eafcdb6b94fd95198.css +0 -1
- package/dist/client/styles/f6cb2798677ada41ec58.css +0 -1
- package/dist/client/styles/f84229a0696a0096e336.css +0 -1
- package/dist/client/styles/fcca4ddacffe3f8cf584.css +0 -1
- package/dist/client/styles/ff3f98b95580dd1fde4c.css +0 -1
- package/dist/client/styles/ff4c5a9ba80c1fe53316.css +0 -1
- package/dist/client/styles/third-party/_cludo-autocomplete +0 -6
- package/dist/client/styles/third-party/_cludo-search-results +0 -6
- package/dist/client/styles/third-party/_font-awesome +0 -6
- package/dist/client/styles/third-party/_stackla-styles +0 -6
- package/dist/scripts/build-third-party.mjs +0 -130
- package/dist/src/assets/fixtures/forms/index.js +0 -29
- package/dist/src/assets/fixtures/index.js +0 -29
- package/dist/src/assets/svg/svgo.config.js +0 -22
- package/dist/src/client-entry.js +0 -14
- package/dist/src/component-entry.js +0 -19
- package/dist/src/components/accordion/__tests__/Accordion.jest.spec.js +0 -92
- package/dist/src/components/accordion/components/__tests__/AccordionItem.jest.spec.js +0 -191
- package/dist/src/components/accordion/components/__tests__/AccordionToggle.jest.spec.js +0 -129
- package/dist/src/components/address/__tests__/Address.jest.spec.js +0 -79
- package/dist/src/components/alert/__tests__/Alert.jest.spec.js +0 -92
- package/dist/src/components/article/__tests__/Article.jest.spec.js +0 -165
- package/dist/src/components/article/components/__tests__/ArticleSection.jest.spec.js +0 -127
- package/dist/src/components/article/components/__tests__/ArticleSidebar.jest.spec.js +0 -135
- package/dist/src/components/article-details/__tests__/ArticleDetails.jest.spec.js +0 -143
- package/dist/src/components/back-to-top/__tests__/BackToTop.jest.spec.js +0 -83
- package/dist/src/components/backdrop/__tests__/Backdrop.jest.spec.js +0 -148
- package/dist/src/components/badge/__tests__/Badge.jest.spec.js +0 -117
- package/dist/src/components/banner/__tests__/Banner.jest.spec.js +0 -160
- package/dist/src/components/body/__tests__/Body.jest.spec.js +0 -54
- package/dist/src/components/breadcrumb/__tests__/Breadcrumb.jest.spec.js +0 -95
- package/dist/src/components/breadcrumb/components/__tests__/BreadcrumbItem.jest.spec.js +0 -122
- package/dist/src/components/button/__tests__/Button.jest.spec.js +0 -295
- package/dist/src/components/button-toggle-group/__tests__/ButtonToggleGroup.jest.spec.js +0 -106
- package/dist/src/components/canned-search/__tests__/CannedSearch.jest.spec.js +0 -91
- package/dist/src/components/canned-search/components/__tests__/CannedSearchBadges.jest.spec.js +0 -34
- package/dist/src/components/canned-search/components/__tests__/CannedSearchCategories.jest.spec.js +0 -105
- package/dist/src/components/canned-search/components/__tests__/CannedSearchCuisines.jest.spec.js +0 -105
- package/dist/src/components/canned-search/components/__tests__/CannedSearchDates.jest.spec.js +0 -38
- package/dist/src/components/canned-search/components/__tests__/CannedSearchDuration.jest.spec.js +0 -37
- package/dist/src/components/canned-search/components/__tests__/CannedSearchLogos.jest.spec.js +0 -69
- package/dist/src/components/canned-search/components/__tests__/CannedSearchPrice.jest.spec.js +0 -41
- package/dist/src/components/canned-search/components/__tests__/CannedSearchProductCard.jest.spec.js +0 -165
- package/dist/src/components/canned-search/components/__tests__/CannedSearchStars.jest.spec.js +0 -46
- package/dist/src/components/canned-search/components/__tests__/CannedSearchSubHeading.jest.spec.js +0 -95
- package/dist/src/components/canned-search/components/__tests__/CannedSearchSummaryBox.jest.spec.js +0 -61
- package/dist/src/components/canned-search/components/__tests__/CannedSearchTourDeparts.jest.spec.js +0 -44
- package/dist/src/components/canned-search/components/__tests__/CannedSearchTourRuns.jest.spec.js +0 -93
- package/dist/src/components/caption/__tests__/Caption.jest.spec.js +0 -158
- package/dist/src/components/caption/components/__tests__/CaptionImageMap.jest.spec.js +0 -54
- package/dist/src/components/carbon-calculator/__tests__/CarbonCalculator.jest.spec.js +0 -179
- package/dist/src/components/carbon-calculator/components/__tests__/CarbonCalculatorIntro.jest.spec.js +0 -49
- package/dist/src/components/carbon-calculator/components/__tests__/CarbonCalculatorQuestion.jest.spec.js +0 -102
- package/dist/src/components/carbon-calculator/components/__tests__/CarbonCalculatorResults.jest.spec.js +0 -72
- package/dist/src/components/carbon-calculator/components/__tests__/CarbonCalculatorRunningTotal.jest.spec.js +0 -59
- package/dist/src/components/carbon-calculator/components/__tests__/CarbonCalculatorTip.jest.spec.js +0 -67
- package/dist/src/components/card/__tests__/Card.jest.spec.js +0 -200
- package/dist/src/components/card-group/__tests__/CardGroup.jest.spec.js +0 -132
- package/dist/src/components/carousel/__tests__/Carousel.jest.spec.js +0 -266
- package/dist/src/components/carousel/components/__tests__/CarouselSlide.jest.spec.js +0 -111
- package/dist/src/components/checkbox/__tests__/Checkbox.jest.spec.js +0 -179
- package/dist/src/components/content-swiper/__tests__/ContentSwiper.jest.spec.js +0 -224
- package/dist/src/components/content-swiper/components/ContentSwiperSlide.js +0 -19
- package/dist/src/components/description-list/__tests__/DescriptionList.jest.spec.js +0 -121
- package/dist/src/components/description-list/components/__tests__/DescriptionListItem.jest.spec.js +0 -188
- package/dist/src/components/detail/__tests__/Detail.jest.spec.js +0 -171
- package/dist/src/components/divider/__tests__/Divider.jest.spec.js +0 -90
- package/dist/src/components/dropdown/__tests__/Dropdown.jest.spec.js +0 -91
- package/dist/src/components/dropdown/components/__tests__/DropdownItem.jest.spec.js +0 -49
- package/dist/src/components/embed-wrapper/__tests__/EmbedWrapper.jest.spec.js +0 -381
- package/dist/src/components/event-card/__tests__/EventCard.jest.spec.js +0 -143
- package/dist/src/components/filter/__tests__/Filter.jest.spec.js +0 -109
- package/dist/src/components/filter/components/__tests__/FilterSection.jest.spec.js +0 -134
- package/dist/src/components/footer/__tests__/Footer.jest.spec.js +0 -97
- package/dist/src/components/footer/components/__tests__/FooterAccordionItem.jest.spec.js +0 -122
- package/dist/src/components/footer/components/__tests__/FooterCopyright.jest.spec.js +0 -117
- package/dist/src/components/footer/components/__tests__/FooterNavList.jest.spec.js +0 -40
- package/dist/src/components/footer/components/__tests__/FooterNavListItem.jest.spec.js +0 -113
- package/dist/src/components/footer/components/__tests__/FooterSocialItem.jest.spec.js +0 -45
- package/dist/src/components/footer/components/__tests__/FooterSocialMenu.jest.spec.js +0 -45
- package/dist/src/components/footer/components/__tests__/FooterUtilityList.jest.spec.js +0 -40
- package/dist/src/components/form/__tests__/Form.jest.spec.js +0 -585
- package/dist/src/components/global-menu/__tests__/GlobalMenuLanguage.jest.spec.js +0 -103
- package/dist/src/components/global-menu/__tests__/GlobalMenuLanguageitem.jest.spec.js +0 -54
- package/dist/src/components/grid/__tests__/Col.jest.spec.js +0 -47
- package/dist/src/components/grid/__tests__/Container.jest.spec.js +0 -44
- package/dist/src/components/grid/__tests__/Row.jest.spec.js +0 -31
- package/dist/src/components/grid/index.js +0 -20
- package/dist/src/components/heading/__tests__/Heading.jest.spec.js +0 -121
- package/dist/src/components/hero-section/__tests__/HeroSection.jest.spec.js +0 -298
- package/dist/src/components/hero-section/components/__tests__/HeroSectionImage.jest.spec.js +0 -192
- package/dist/src/components/icon/__tests__/Icon.jest.spec.js +0 -107
- package/dist/src/components/icon-list/__tests__/IconList.jest.spec.js +0 -119
- package/dist/src/components/icon-list/components/__tests__/IconListItem.jest.spec.js +0 -114
- package/dist/src/components/illustrated-map/__tests__/IllustratedMap.jest.spec.js +0 -144
- package/dist/src/components/image-with-caption/__tests__/ImageWithCaption.jest.spec.js +0 -222
- package/dist/src/components/img/__tests__/Img.jest.spec.js +0 -176
- package/dist/src/components/index.js +0 -300
- package/dist/src/components/input/__tests__/Input.jest.spec.js +0 -331
- package/dist/src/components/itineraries/__tests__/itinerary.jest.spec.js +0 -97
- package/dist/src/components/itineraries/components/__tests__/ItineraryStop.jest.spec.js +0 -131
- package/dist/src/components/itineraries/components/__tests__/ItineraryStopInfo.jest.spec.js +0 -425
- package/dist/src/components/itineraries/itineraries.store.js +0 -22
- package/dist/src/components/link/__tests__/Link.jest.spec.js +0 -178
- package/dist/src/components/link-list/__tests__/LinkList.jest.spec.js +0 -96
- package/dist/src/components/link-list/__tests__/LinkListItem.jest.spec.js +0 -132
- package/dist/src/components/list/__tests__/List.jest.spec.js +0 -114
- package/dist/src/components/listicle/__tests__/ListicleItem.jest.spec.js +0 -115
- package/dist/src/components/loading-spinner/__tests__/LoadingSpinner.jest.spec.js +0 -40
- package/dist/src/components/map/__tests__/Map.jest.spec.js +0 -124
- package/dist/src/components/map/components/__tests__/MapMarker.jest.spec.js +0 -41
- package/dist/src/components/map-index.js +0 -31
- package/dist/src/components/map-marker-icon/__tests__/MapMarkerIcon.jest.spec.js +0 -96
- package/dist/src/components/map-with-sidebar/__tests__/MapWithSidebar.jest.spec.js +0 -321
- package/dist/src/components/map-with-sidebar/components/__tests__/MapWithSidebarButtons.jest.spec.js +0 -102
- package/dist/src/components/map-with-sidebar/components/__tests__/MapWithSidebarCategory.jest.spec.js +0 -85
- package/dist/src/components/map-with-sidebar/components/__tests__/MapWithSidebarControls.jest.spec.js +0 -116
- package/dist/src/components/map-with-sidebar/components/__tests__/MapWithSidebarDetail.jest.spec.js +0 -51
- package/dist/src/components/map-with-sidebar/components/__tests__/MapWithSidebarListItem.jest.spec.js +0 -114
- package/dist/src/components/map-with-sidebar/components/__tests__/MapWithSidebarPanel.jest.spec.js +0 -319
- package/dist/src/components/map-with-sidebar/components/__tests__/MapWithSidebarSubcategory.jest.spec.js +0 -27
- package/dist/src/components/media-caption/__tests__/MediaCaption.jest.spec.js +0 -155
- package/dist/src/components/mega-nav/__tests__/meganav.jest.spec.js +0 -189
- package/dist/src/components/mega-nav/components/__tests__/meganav.accordion.item.jest.spec.js +0 -144
- package/dist/src/components/mega-nav/components/__tests__/meganav.dropdown.container.jest.spec.js +0 -184
- package/dist/src/components/mega-nav/components/__tests__/meganav.dropdown.jest.spec.js +0 -51
- package/dist/src/components/mega-nav/components/__tests__/meganav.featured.event.jest.spec.js +0 -182
- package/dist/src/components/mega-nav/components/__tests__/meganav.featured.item.jest.spec.js +0 -138
- package/dist/src/components/mega-nav/components/__tests__/meganav.list.item.jest.spec.js +0 -85
- package/dist/src/components/mega-nav/components/__tests__/meganav.list.jest.spec.js +0 -126
- package/dist/src/components/mega-nav/components/__tests__/meganav.mobile.menu.jest.spec.js +0 -25
- package/dist/src/components/mega-nav/components/__tests__/meganav.static.link.jest.spec.js +0 -46
- package/dist/src/components/mega-nav/components/__tests__/meganav.top.menu.jest.spec.js +0 -30
- package/dist/src/components/megalinks/__tests__/Megalinks.jest.spec.js +0 -193
- package/dist/src/components/megalinks/components/megalink-link-list/__tests__/MegalinkLinkList.jest.spec.js +0 -254
- package/dist/src/components/megalinks/components/megalink-multi-image/__tests__/MegalinkMultiImage.jest.spec.js +0 -135
- package/dist/src/components/megalinks/components/megalink-single-image/__tests__/MegalinkSingleImage.jest.spec.js +0 -144
- package/dist/src/components/modal/__tests__/Modal.jest.spec.js +0 -224
- package/dist/src/components/module-wrapper/__tests__/modulewrapper.jest.spec.js +0 -227
- package/dist/src/components/navigation-bar/__tests__/NavigationBar.jest.spec.js +0 -291
- package/dist/src/components/navigation-bar/components/__tests__/NavigationBarMenu.jest.spec.js +0 -115
- package/dist/src/components/navigation-bar/components/__tests__/NavigationBarMenuDropdown.jest.spec.js +0 -40
- package/dist/src/components/navigation-bar/components/__tests__/NavigationBarMenuItem.jest.spec.js +0 -69
- package/dist/src/components/navigation-bar/components/__tests__/NavigationBarSearch.jest.spec.js +0 -200
- package/dist/src/components/navigation-bar/components/__tests__/NavigationBarSidebar.jest.spec.js +0 -191
- package/dist/src/components/navigation-bar/components/__tests__/NavigationBarSidebarButton.jest.spec.js +0 -162
- package/dist/src/components/number-input/__tests__/NumberInput.jest.spec.js +0 -289
- package/dist/src/components/page-intro/__tests__/pageintro.jest.spec.js +0 -185
- package/dist/src/components/pagination/__tests__/pagination.jest.spec.js +0 -270
- package/dist/src/components/panel/__tests__/Panel.jest.spec.js +0 -126
- package/dist/src/components/product-search/__tests__/ProductSearch.jest.spec.js +0 -126
- package/dist/src/components/product-search/components/__tests__/Autocomplete.jest.spec.js +0 -171
- package/dist/src/components/product-search/components/__tests__/DateInput.jest.spec.js +0 -132
- package/dist/src/components/product-search/components/__tests__/DateRange.jest.spec.js +0 -233
- package/dist/src/components/product-search/components/__tests__/GuestSelector.jest.spec.js +0 -126
- package/dist/src/components/product-search/components/__tests__/GuestSelectorNumberGroup.jest.spec.js +0 -37
- package/dist/src/components/product-search/components/__tests__/GuestSelectorRow.jest.spec.js +0 -49
- package/dist/src/components/product-search/components/__tests__/ProductSearchEmbed.jest.spec.js +0 -352
- package/dist/src/components/progress-bar/__tests__/ProgressBar.jest.spec.js +0 -104
- package/dist/src/components/quote/__tests__/Quote.jest.spec.js +0 -198
- package/dist/src/components/radio-button/__tests__/RadioButton.jest.spec.js +0 -105
- package/dist/src/components/recaptcha/__tests__/Recaptcha.jest.spec.js +0 -40
- package/dist/src/components/section-header/__tests__/SectionHeader.jest.spec.js +0 -147
- package/dist/src/components/select/__tests__/Select.jest.spec.js +0 -181
- package/dist/src/components/site-search/__tests__/SiteSearch.jest.spec.js +0 -121
- package/dist/src/components/site-search/components/__tests__/SiteSearchForm.jest.spec.js +0 -121
- package/dist/src/components/ski-scotland/ski-scotland-card/__tests__/SkiScotlandCard.jest.spec.js +0 -174
- package/dist/src/components/ski-scotland/ski-scotland-status/__tests__/SkiScotlandStatus.jest.spec.js +0 -325
- package/dist/src/components/skip-to/__tests__/SkipTo.jest.spec.js +0 -162
- package/dist/src/components/social-credit-link/__tests__/SocialCreditLink.jest.spec.js +0 -113
- package/dist/src/components/social-share/__tests__/SocialShare.jest.spec.js +0 -132
- package/dist/src/components/social-share/components/__tests__/SocialShareItem.jest.spec.js +0 -288
- package/dist/src/components/spotlight-section/__tests__/SpotlightSection.jest.spec.js +0 -193
- package/dist/src/components/stretched-link-card/__tests__/StretchedLinkCard.jest.spec.js +0 -279
- package/dist/src/components/stretched-link-card/components/__tests__/StretchedLinkPanels.jest.spec.js +0 -32
- package/dist/src/components/styled-list/__tests__/StyledList.jest.spec.js +0 -122
- package/dist/src/components/styled-list/components/__tests__/StyledListItem.jest.spec.js +0 -162
- package/dist/src/components/summary-box/__tests__/SummaryBox.jest.spec.js +0 -39
- package/dist/src/components/summary-box/components/__tests__/SummaryBoxDistanceListItem.jest.spec.js +0 -57
- package/dist/src/components/summary-box/components/__tests__/SummaryBoxListItem.jest.spec.js +0 -59
- package/dist/src/components/svg/__tests__/Svg.jest.spec.js +0 -117
- package/dist/src/components/svg-link/__tests__/SvgLink.jest.spec.js +0 -111
- package/dist/src/components/table/__tests__/Table.jest.spec.js +0 -114
- package/dist/src/components/table/components/__tests__/TableBody.jest.spec.js +0 -38
- package/dist/src/components/table/components/__tests__/TableDataCell.jest.spec.js +0 -46
- package/dist/src/components/table/components/__tests__/TableFooter.jest.spec.js +0 -38
- package/dist/src/components/table/components/__tests__/TableHead.jest.spec.js +0 -38
- package/dist/src/components/table/components/__tests__/TableHeaderCell.jest.spec.js +0 -46
- package/dist/src/components/table/components/__tests__/TableRow.jest.spec.js +0 -38
- package/dist/src/components/tabs/__tests__/Tabs.jest.spec.js +0 -97
- package/dist/src/components/tabs/components/__tests__/TabItem.jest.spec.js +0 -33
- package/dist/src/components/tag/__tests__/Tag.jest.spec.js +0 -35
- package/dist/src/components/tag-manager-wrapper/__tests__/TagManager.jest.spec.js +0 -14
- package/dist/src/components/textarea/__tests__/Textarea.jest.spec.js +0 -288
- package/dist/src/components/toggle-button/__tests__/ToggleButton.jest.spec.js +0 -251
- package/dist/src/components/tooltip/__tests__/Tooltip.jest.spec.js +0 -287
- package/dist/src/components/tourism-info/__tests__/TourismInfo.jest.spec.js +0 -135
- package/dist/src/components/video/__tests__/Video.jest.spec.js +0 -215
- package/dist/src/components/video/components/__tests__/VideoHtml5.jest.spec.js +0 -170
- package/dist/src/components/video/components/__tests__/VideoYoutube.jest.spec.js +0 -308
- package/dist/src/components/video-caption/__tests__/VideoCaption.jest.spec.js +0 -220
- package/dist/src/components/warning/__tests__/warning.jest.spec.js +0 -75
- package/dist/src/constants.js +0 -148
- package/dist/src/custom-components/federated-search/components/__tests__/FedFilter.jest.spec.js +0 -266
- package/dist/src/custom-components/federated-search/components/__tests__/FedSearchSort.jest.spec.js +0 -281
- package/dist/src/custom-components/federated-search/composables/dataLayerComposable.js +0 -164
- package/dist/src/custom-components/federated-search/index.js +0 -15
- package/dist/src/custom-components/federated-search/stores/federatedSearch.store.js +0 -230
- package/dist/src/custom-components/federated-search/utils/cludo-autocomplete.js +0 -77
- package/dist/src/custom-components/federated-search/utils/cludo-search.js +0 -136
- package/dist/src/custom-components/federated-search/utils/event-search.js +0 -121
- package/dist/src/custom-components/index.js +0 -23
- package/dist/src/custom-components/maps/components/__tests__/MapSidebar.jest.spec.js +0 -280
- package/dist/src/custom-components/maps/composables/dataLayerComposable.js +0 -161
- package/dist/src/custom-components/maps/composables/useViewportController.js +0 -83
- package/dist/src/custom-components/maps/composables/verifyCookiesComposable.js +0 -49
- package/dist/src/custom-components/maps/index.js +0 -15
- package/dist/src/directives/click-outside.js +0 -17
- package/dist/src/directives/hand-down-focus.js +0 -18
- package/dist/src/main.js +0 -64
- package/dist/src/mixins/__mocks__/verifyCookiesMixin.js +0 -19
- package/dist/src/mixins/ariaDescriptionMixin.js +0 -16
- package/dist/src/mixins/cookieMixin.js +0 -34
- package/dist/src/mixins/dataLayerMixin.js +0 -334
- package/dist/src/mixins/imgSizesMixin.js +0 -78
- package/dist/src/mixins/mapIconMapping.js +0 -81
- package/dist/src/mixins/srcSetMixin.js +0 -22
- package/dist/src/mixins/validateFormElementMixin.js +0 -168
- package/dist/src/mixins/verifyCookiesMixin.js +0 -57
- package/dist/src/stores/__mocks__/map.store.js +0 -72
- package/dist/src/stores/__mocks__/video.store.js +0 -23
- package/dist/src/stores/dataLayer.store.js +0 -31
- package/dist/src/stores/index.js +0 -15
- package/dist/src/stores/mainMap.store.js +0 -25
- package/dist/src/stores/map.store.js +0 -74
- package/dist/src/stores/video.store.js +0 -25
- package/dist/src/templates/index.js +0 -9
- package/dist/src/types/types.js +0 -2
- package/dist/src/utils/__mocks__/get-env-value.js +0 -4
- package/dist/src/utils/__mocks__/svg-context.js +0 -4
- package/dist/src/utils/axios.js +0 -66
- package/dist/src/utils/breakpoints.js +0 -10
- package/dist/src/utils/check-vendor-library.js +0 -19
- package/dist/src/utils/data-layer-templates.js +0 -444
- package/dist/src/utils/dmo-analytics-logic.js +0 -47
- package/dist/src/utils/event-bus.js +0 -49
- package/dist/src/utils/get-env-value.js +0 -9
- package/dist/src/utils/get-token.js +0 -8
- package/dist/src/utils/hash-code.js +0 -9
- package/dist/src/utils/js-is-disabled.js +0 -8
- package/dist/src/utils/lang.js +0 -55
- package/dist/src/utils/os-branding.js +0 -62
- package/dist/src/utils/prefers-reduced-motion.js +0 -4
- package/dist/src/utils/required-cookies-data.js +0 -21
- package/dist/src/utils/svg-context.js +0 -15
- package/dist/src/utils/utils.js +0 -38
- package/dist/ssr/fonts/custom-icons.ttf +0 -0
- package/dist/ssr/fonts/custom-icons.woff2 +0 -0
- package/dist/ssr/fonts/eveleth-clean-regular.woff +0 -0
- package/dist/ssr/fonts/eveleth-clean-regular.woff2 +0 -0
- package/dist/ssr/fonts/eveleth-clean-thin.woff +0 -0
- package/dist/ssr/fonts/eveleth-clean-thin.woff2 +0 -0
- package/dist/ssr/fonts/fa-brands-400.ttf +0 -0
- package/dist/ssr/fonts/fa-brands-400.woff2 +0 -0
- package/dist/ssr/fonts/fa-duotone-900.ttf +0 -0
- package/dist/ssr/fonts/fa-duotone-900.woff2 +0 -0
- package/dist/ssr/fonts/fa-regular-400.ttf +0 -0
- package/dist/ssr/fonts/fa-regular-400.woff2 +0 -0
- package/dist/ssr/fonts/fa-solid-900.ttf +0 -0
- package/dist/ssr/fonts/fa-solid-900.woff2 +0 -0
- package/dist/ssr/fonts/source-sans-pro-bold-italic.woff +0 -0
- package/dist/ssr/fonts/source-sans-pro-bold-italic.woff2 +0 -0
- package/dist/ssr/fonts/source-sans-pro-bold.woff +0 -0
- package/dist/ssr/fonts/source-sans-pro-bold.woff2 +0 -0
- package/dist/ssr/fonts/source-sans-pro-light-italic.woff +0 -0
- package/dist/ssr/fonts/source-sans-pro-light-italic.woff2 +0 -0
- package/dist/ssr/fonts/source-sans-pro-light.woff +0 -0
- package/dist/ssr/fonts/source-sans-pro-light.woff2 +0 -0
- package/dist/ssr/fonts/source-sans-pro-regular-italic.woff +0 -0
- package/dist/ssr/fonts/source-sans-pro-regular-italic.woff2 +0 -0
- package/dist/ssr/fonts/source-sans-pro-regular.woff +0 -0
- package/dist/ssr/fonts/source-sans-pro-regular.woff2 +0 -0
- package/dist/ssr/fonts/source-sans-pro-semibold-italic.woff +0 -0
- package/dist/ssr/fonts/source-sans-pro-semibold-italic.woff2 +0 -0
- package/dist/ssr/fonts/source-sans-pro-semibold.woff +0 -0
- package/dist/ssr/fonts/source-sans-pro-semibold.woff2 +0 -0
- package/dist/ssr/img/generic-lqip.a67c211.jpg +0 -0
- package/dist/ssr/index.js +0 -1
- package/dist/ssr/manifest.json +0 -26
- package/dist/ssr/styles/494785cbbe8295d4636c.css +0 -198
- package/dist/stories/components/Accordion.stories.js +0 -98
- package/dist/stories/components/Address.stories.js +0 -32
- package/dist/stories/components/Alert.stories.js +0 -28
- package/dist/stories/components/Article.stories.js +0 -143
- package/dist/stories/components/ArticleDetails.stories.js +0 -64
- package/dist/stories/components/BackToTop.stories.js +0 -40
- package/dist/stories/components/Backdrop.stories.js +0 -28
- package/dist/stories/components/Badge.stories.js +0 -47
- package/dist/stories/components/Banner.stories.js +0 -37
- package/dist/stories/components/Body.stories.js +0 -58
- package/dist/stories/components/Breadcrumb.stories.js +0 -38
- package/dist/stories/components/Button.stories.js +0 -106
- package/dist/stories/components/ButtonToggleGroup.stories.js +0 -53
- package/dist/stories/components/CannedSearch.stories.js +0 -57
- package/dist/stories/components/Caption.stories.js +0 -77
- package/dist/stories/components/CarbonCalculator.stories.js +0 -488
- package/dist/stories/components/Card.stories.js +0 -78
- package/dist/stories/components/CardGroup.stories.js +0 -112
- package/dist/stories/components/Carousel.stories.js +0 -71
- package/dist/stories/components/Checkbox.stories.js +0 -179
- package/dist/stories/components/ContentSwiper.stories.js +0 -65
- package/dist/stories/components/DescriptionList.stories.js +0 -42
- package/dist/stories/components/Detail.stories.js +0 -81
- package/dist/stories/components/Divider.stories.js +0 -38
- package/dist/stories/components/Dropdown.stories.js +0 -121
- package/dist/stories/components/EmbedWrapper.stories.js +0 -68
- package/dist/stories/components/EventCard.stories.js +0 -60
- package/dist/stories/components/Filter.stories.js +0 -125
- package/dist/stories/components/Footer.stories.js +0 -73
- package/dist/stories/components/Form.stories.js +0 -168
- package/dist/stories/components/GlobalMenu.stories.js +0 -104
- package/dist/stories/components/Grid.stories.js +0 -73
- package/dist/stories/components/Heading.stories.js +0 -66
- package/dist/stories/components/HeroSection.stories.js +0 -99
- package/dist/stories/components/Icon.stories.js +0 -146
- package/dist/stories/components/IconList.stories.js +0 -51
- package/dist/stories/components/IllustratedMap.stories.js +0 -58
- package/dist/stories/components/Image.stories.js +0 -33
- package/dist/stories/components/ImageWithCaption.stories.js +0 -97
- package/dist/stories/components/Input.stories.js +0 -157
- package/dist/stories/components/Itinerary.stories.js +0 -100
- package/dist/stories/components/Link.stories.js +0 -98
- package/dist/stories/components/LinkList.stories.js +0 -103
- package/dist/stories/components/List.stories.js +0 -49
- package/dist/stories/components/ListicleItem.stories.js +0 -54
- package/dist/stories/components/LoadingSpinner.stories.js +0 -53
- package/dist/stories/components/Map.stories.js +0 -44
- package/dist/stories/components/MapWithSidebar.stories.js +0 -120
- package/dist/stories/components/MediaCaption.stories.js +0 -79
- package/dist/stories/components/MegaNav.stories.js +0 -198
- package/dist/stories/components/MegalinksLinkList.stories.js +0 -218
- package/dist/stories/components/MegalinksMultiImage.stories.js +0 -247
- package/dist/stories/components/MegalinksSingleImage.stories.js +0 -131
- package/dist/stories/components/Modal.stories.js +0 -154
- package/dist/stories/components/ModuleWrapper.stories.js +0 -60
- package/dist/stories/components/NavigationBar.stories.js +0 -155
- package/dist/stories/components/NumberInput.stories.js +0 -67
- package/dist/stories/components/PageIntro.stories.js +0 -171
- package/dist/stories/components/Pagination.stories.js +0 -38
- package/dist/stories/components/Panel.stories.js +0 -45
- package/dist/stories/components/ProductSearch.stories.js +0 -97
- package/dist/stories/components/ProgressBar.stories.js +0 -50
- package/dist/stories/components/Quote.stories.js +0 -48
- package/dist/stories/components/RadioButton.stories.js +0 -80
- package/dist/stories/components/Recaptcha.stories.js +0 -44
- package/dist/stories/components/SVG.stories.js +0 -41
- package/dist/stories/components/SectionHeader.stories.js +0 -74
- package/dist/stories/components/Select.stories.js +0 -160
- package/dist/stories/components/SiteSearch.stories.js +0 -47
- package/dist/stories/components/SkiScotlandCard.stories.js +0 -66
- package/dist/stories/components/SkiScotlandStatus.stories.js +0 -98
- package/dist/stories/components/SkipTo.stories.js +0 -71
- package/dist/stories/components/SocialCreditLink.stories.js +0 -34
- package/dist/stories/components/SocialShare.stories.js +0 -135
- package/dist/stories/components/SpotlightSection.stories.js +0 -86
- package/dist/stories/components/StretchedLinkCard.stories.js +0 -107
- package/dist/stories/components/StyledList.stories.js +0 -134
- package/dist/stories/components/SummaryBox.stories.js +0 -101
- package/dist/stories/components/SvgLink.stories.js +0 -51
- package/dist/stories/components/Table.stories.js +0 -69
- package/dist/stories/components/Tabs.stories.js +0 -59
- package/dist/stories/components/Tag.stories.js +0 -28
- package/dist/stories/components/Textarea.stories.js +0 -148
- package/dist/stories/components/ToggleButton.stories.js +0 -121
- package/dist/stories/components/Tooltip.stories.js +0 -148
- package/dist/stories/components/TourismInfo.stories.js +0 -82
- package/dist/stories/components/Video.stories.js +0 -66
- package/dist/stories/components/VideoCaption.stories.js +0 -61
- package/dist/stories/components/Warning.stories.js +0 -78
- package/dist/stories/components/templates/card-layout-examples/category-grid.js +0 -3
- package/dist/stories/components/templates/card-layout-examples/link-grid-3.js +0 -3
- package/dist/stories/components/templates/card-layout-examples/link-grid-4.js +0 -3
- package/dist/stories/components/templates/card-layout-examples/split-link-grid-3.js +0 -3
- package/dist/stories/components/templates/card-layout-examples/split-link-grid-4.js +0 -3
- package/dist/stories/custom-components/MainMap.stories.js +0 -99
- package/dist/stories/custom-components/MapSidebar.stories.js +0 -74
- package/dist/stories/pages/article-pages/ArticlePage.stories.js +0 -99
- package/dist/stories/pages/article-pages/templates/itinerary-template.js +0 -57
- package/dist/stories/pages/article-pages/templates/rich-article-template.js +0 -31
- package/dist/stories/pages/article-pages/templates/structured-article-template.js +0 -19
- package/dist/stories/pages/homepages/HomePage.stories.js +0 -119
- package/dist/stories/pages/homepages/templates/info-first-home-pattern.js +0 -22
- package/dist/stories/pages/homepages/templates/visual-impact-home-pattern.js +0 -22
- package/dist/stories/pages/navigation-pages/NavigationPage.stories.js +0 -157
- package/dist/stories/pages/navigation-pages/templates/info-first-secondary-pattern.js +0 -23
- package/dist/stories/pages/navigation-pages/templates/info-first-top-pattern.js +0 -15
- package/dist/stories/pages/navigation-pages/templates/visual-impact-pattern.js +0 -34
- package/dist/stories/pages/partials/categoryCardContentSwiper.js +0 -7
- package/dist/stories/pages/partials/eventCardContentSwiper.js +0 -7
- package/dist/stories/pages/partials/imageContentSwiper.js +0 -7
- package/dist/stories/pages/partials/imageWithCaptionPartial.js +0 -9
- package/dist/stories/pages/partials/linkCardContentSwiper.js +0 -7
- package/dist/stories/pages/partials/splitCardContentSwiper.js +0 -7
- package/dist/stories/patterns/card-layout/CardLayout.stories.js +0 -111
- package/dist/stories/patterns/card-layout/templates/3-cards-per-row.js +0 -3
- package/dist/stories/patterns/card-layout/templates/4-cards-per-row.js +0 -3
- package/dist/stories/patterns/card-layout/templates/extended-card-collection.js +0 -3
- package/dist/stories/patterns/card-layout/templates/multiple-rows-grid.js +0 -3
- package/dist/stories/patterns/cards/CardPatterns.stories.js +0 -108
- package/dist/stories/patterns/cards/card-examples/category-image-card.js +0 -3
- package/dist/stories/patterns/cards/card-examples/category-video-card.js +0 -3
- package/dist/stories/patterns/cards/card-examples/event-card.js +0 -3
- package/dist/stories/patterns/cards/card-examples/link-card-with-details.js +0 -3
- package/dist/stories/patterns/cards/card-examples/link-card-with-icon.js +0 -3
- package/dist/stories/patterns/cards/card-examples/link-card.js +0 -3
- package/dist/stories/patterns/cards/card-examples/split-link-card.js +0 -3
- package/dist/stories/patterns/cards/card-examples/split-link-horizontal-card.js +0 -3
- package/dist/stories/patterns/media/MediaLayout.stories.js +0 -43
- package/dist/stories/patterns/media/templates/embedded-video.js +0 -3
- package/dist/stories/patterns/media/templates/image-with-caption.js +0 -3
- package/dist/stories/patterns/page-header/PageHeader.stories.js +0 -87
- package/dist/stories/patterns/page-header/templates/article-header.js +0 -3
- package/dist/stories/patterns/page-header/templates/general-header.js +0 -3
- package/dist/stories/patterns/page-header/templates/navigation-page.js +0 -3
- package/dist/stories/patterns/page-header/templates/split-header.js +0 -3
- package/dist/stories/patterns/page-header/templates/video-header.js +0 -3
- package/dist/test/unit/helpers/axe-helper.js +0 -9
- package/dist/test/unit/jest.conf.js +0 -38
- package/dist/test/unit/mocks/fileMock.js +0 -1
- package/dist/test/unit/mocks/svgMock.js +0 -1
- package/dist/test/unit/setup.js +0 -38
- package/dist/vite.config.mjs +0 -138
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { openBlock, createElementBlock, renderSlot, inject, computed as computed$1, toValue, watch, ref, onMounted, nextTick as nextTick$1, getCurrentInstance, readonly, onBeforeUnmount, onUnmounted, defineComponent, unref, toRef, useId, shallowRef, useSlots, useModel, useTemplateRef, createBlock, withCtx, Transition, mergeProps, withDirectives, createElementVNode, withModifiers, normalizeClass, normalizeProps, guardReactiveProps, resolveDynamicComponent, createTextVNode, toDisplayString, Fragment, createCommentVNode, createVNode, vShow, normalizeStyle, mergeModels, provide, onActivated, renderList, useAttrs, render as render$e, h, vModelSelect, withKeys, resolveComponent, resolveDirective, createSlots, reactive, onBeforeMount, isRef, isReactive, isReadonly, onUpdated, onBeforeUpdate, isVNode, markRaw, Teleport, toHandlers, vModelText, watchEffect, Suspense } from "vue";
|
|
2
2
|
import { _ as _export_sfc, b as breadcrumbGlobalIndexKey, a as breadcrumbRegistryKey, u as useEventListener, s as showHideRegistryKey, c as useThrottleFn, d as useDefaults, g as getSafeDocument, e as createSharedComposable, f as useScrollLock$1, h as useMutationObserver, i as getSafeWindow, t as toArray, j as unrefElement, n as notNullish, k as tryOnScopeDispose, l as useId$1, o as onKeyStroke, m as isEmptySlot, p as useColorVariantClasses, q as getModalZIndex, C as ConditionalTeleport_default, B as BButton_default, r as modalManagerKey, v as getSSRHandler, w as progressInjectionKey, x as useToNumber, y as formGroupKey, z as useAriaInvalid, A as useStateClass, D as useFocus, E as inputGroupKey, F as get$1, G as useBLinkHelper, H as BLink_default, I as ConditionalWrapper_default, J as pick, K as omit$2, L as BImg_default, M as offset$2, N as flip$2, O as autoPlacement, P as shift$2, Q as hide, R as inline, S as arrow$2, T as size, U as useFloating, V as autoUpdate$1, W as onClickOutside, X as useMouse$2, Y as buttonGroupKey, Z as dropdownInjectionKey, $ as collapseInjectionKey, a0 as navbarInjectionKey, a1 as formSelectKey, a2 as isVisible, a3 as useBreakpoints, a4 as breakpointsBootstrapV5, a5 as tabsInjectionKey, a6 as sortSlotElementsByPosition, a7 as defaultsKey, a8 as VsButton, a9 as dataLayerMixin, aa as VsHeading, ab as VsIcon, ac as lodashExports, ad as VsBody, ae as VsContainer, af as VsRow, ag as VsCol, ah as dmoUrls, ai as VsImg, aj as axios, ak as designTokens, al as BFormRadio_default, am as BFormRadioGroup_default, an as BFormGroup_default, ao as VsWarning, ap as BFormCheckbox_default, aq as getDefaultExportFromCjs, ar as VsLoading, as as products, at as paths, au as monthsEnglish, av as BThead_default, aw as BTh_default, ax as BTbody_default, ay as BTr_default, az as BTd_default, aA as BTfoot_default, aB as useDataLayerStore, aC as checkVendorLibrary, aD as siteSearchCloseTemplate, aE as siteSearchClickTemplate, aF as siteSearchUsageTemplate, aG as siteSearchOpenTemplate, aH as googleMapInteractionTemplate, aI as googleMapTimeToFirstInteractionTemplate, aJ as googleMapFilterInteractionTemplate, aK as googleMapSearchTemplate } from "./LoadingSpinner-D6U_GpKN.mjs";
|
|
3
|
-
import { aL as
|
|
3
|
+
import { aL as Ie } from "./LoadingSpinner-D6U_GpKN.mjs";
|
|
4
4
|
import { defineStore, storeToRefs } from "pinia";
|
|
5
|
-
const _sfc_main$
|
|
5
|
+
const _sfc_main$2G = {
|
|
6
6
|
name: "VsAccordion",
|
|
7
7
|
status: "prototype",
|
|
8
8
|
release: "0.0.1",
|
|
@@ -25,16 +25,16 @@ const _sfc_main$2E = {
|
|
|
25
25
|
validator: (e) => e.match(/(xs|sm|md|lg|xl|xxl)/)
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
|
-
}, _hoisted_1$
|
|
28
|
+
}, _hoisted_1$2g = {
|
|
29
29
|
class: "vs-accordion",
|
|
30
30
|
"data-test": "vs-accordion"
|
|
31
31
|
};
|
|
32
32
|
function _sfc_render$2l(e, t, n, a, o, r) {
|
|
33
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
33
|
+
return openBlock(), createElementBlock("div", _hoisted_1$2g, [
|
|
34
34
|
renderSlot(e.$slots, "default")
|
|
35
35
|
]);
|
|
36
36
|
}
|
|
37
|
-
const VsAccordion = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
37
|
+
const VsAccordion = /* @__PURE__ */ _export_sfc(_sfc_main$2G, [["render", _sfc_render$2l]]);
|
|
38
38
|
var useBreadcrumb = (e = breadcrumbGlobalIndexKey) => {
|
|
39
39
|
const t = inject(breadcrumbRegistryKey, null), n = computed$1(() => {
|
|
40
40
|
const a = toValue(e);
|
|
@@ -202,7 +202,7 @@ var useBreadcrumb = (e = breadcrumbGlobalIndexKey) => {
|
|
|
202
202
|
return j === "backdrop" && t.noCloseOnBackdrop || j === "esc" && t.noCloseOnEsc ? (n("hide-prevented", b("hide-prevented", { trigger: j })), C?.("hide-prevented"), k) : (v && (clearTimeout(v), v = void 0), j && !te && n(j, W), n("hide", pe), pe.defaultPrevented || W.defaultPrevented ? (n("hide-prevented", b("hide-prevented", { trigger: j })), e.value || nextTick$1(() => {
|
|
203
203
|
s = !0, e.value = !0;
|
|
204
204
|
}), C?.("hide-prevented"), k) : (se.value = !1, v && (clearTimeout(v), v = void 0, p.value || (c.value = !1), d.value = !1), _ = setTimeout(() => {
|
|
205
|
-
g && (_ = void 0,
|
|
205
|
+
g && (_ = void 0, O.value = !0, l.value = !1, r.hideFn?.(), e.value && (s = !0, e.value = u ? 0 : !1));
|
|
206
206
|
}, f.value ? 0 : typeof t.delay == "number" ? t.delay : t.delay?.hide || 0), k));
|
|
207
207
|
}, P = useThrottleFn((j) => N(j), 500), R = useThrottleFn(() => D(), 500), T = (j = !1) => {
|
|
208
208
|
const te = b("toggle", { cancelable: !0 });
|
|
@@ -219,7 +219,7 @@ var useBreadcrumb = (e = breadcrumbGlobalIndexKey) => {
|
|
|
219
219
|
trigger: j,
|
|
220
220
|
el: te
|
|
221
221
|
}), te.addEventListener(j, M), V(te);
|
|
222
|
-
},
|
|
222
|
+
}, A = (j, te, pe = !0) => {
|
|
223
223
|
const W = S.findIndex((Z) => Z?.trigger === j && Z.el === te);
|
|
224
224
|
W > -1 && (S.splice(W, 1), te.removeEventListener(j, M), pe && (te.removeAttribute("aria-expanded"), te.classList.remove("collapsed"), te.classList.remove("not-collapsed")));
|
|
225
225
|
}, $ = inject(showHideRegistryKey, null)?.register({
|
|
@@ -229,7 +229,7 @@ var useBreadcrumb = (e = breadcrumbGlobalIndexKey) => {
|
|
|
229
229
|
hide: N,
|
|
230
230
|
value: readonly(l),
|
|
231
231
|
registerTrigger: B,
|
|
232
|
-
unregisterTrigger:
|
|
232
|
+
unregisterTrigger: A,
|
|
233
233
|
component: getCurrentInstance()
|
|
234
234
|
}), V = (j) => {
|
|
235
235
|
j.setAttribute("aria-expanded", e.value ? "true" : "false"), j.classList.toggle("collapsed", !e.value), j.classList.toggle("not-collapsed", !!e.value);
|
|
@@ -249,7 +249,7 @@ var useBreadcrumb = (e = breadcrumbGlobalIndexKey) => {
|
|
|
249
249
|
});
|
|
250
250
|
const w = ref(!1), L = () => {
|
|
251
251
|
t.lazy === !0 && (w.value = !0);
|
|
252
|
-
},
|
|
252
|
+
}, O = ref(!1), z = ref(i), F = ref(i), q = [...[r.transitionProps?.onBeforeEnter ?? noop, t.transitionProps?.onBeforeEnter ?? noop].flat(), () => {
|
|
253
253
|
z.value = !0;
|
|
254
254
|
}], U = [() => {
|
|
255
255
|
requestAnimationFrame(() => {
|
|
@@ -271,7 +271,7 @@ var useBreadcrumb = (e = breadcrumbGlobalIndexKey) => {
|
|
|
271
271
|
}
|
|
272
272
|
], X = [
|
|
273
273
|
() => {
|
|
274
|
-
|
|
274
|
+
O.value || (O.value = !0);
|
|
275
275
|
},
|
|
276
276
|
...[r.transitionProps?.onBeforeLeave ?? noop, t.transitionProps?.onBeforeLeave ?? noop].flat(),
|
|
277
277
|
() => {
|
|
@@ -288,7 +288,7 @@ var useBreadcrumb = (e = breadcrumbGlobalIndexKey) => {
|
|
|
288
288
|
},
|
|
289
289
|
...[r.transitionProps?.onAfterLeave ?? noop, t.transitionProps?.onAfterLeave ?? noop].flat(),
|
|
290
290
|
() => {
|
|
291
|
-
|
|
291
|
+
O.value = !1, z.value = !1, f.value && requestAnimationFrame(() => {
|
|
292
292
|
f.value = !1;
|
|
293
293
|
}), requestAnimationFrame(() => {
|
|
294
294
|
p.value || (c.value = !1);
|
|
@@ -325,7 +325,7 @@ var useBreadcrumb = (e = breadcrumbGlobalIndexKey) => {
|
|
|
325
325
|
setLocalTemporaryHide: (j) => {
|
|
326
326
|
p.value = j;
|
|
327
327
|
},
|
|
328
|
-
isLeaving: readonly(
|
|
328
|
+
isLeaving: readonly(O),
|
|
329
329
|
transitionProps: {
|
|
330
330
|
...fadeBaseTransitionProps,
|
|
331
331
|
...t.transitionProps,
|
|
@@ -358,7 +358,7 @@ var useBreadcrumb = (e = breadcrumbGlobalIndexKey) => {
|
|
|
358
358
|
}
|
|
359
359
|
}
|
|
360
360
|
};
|
|
361
|
-
}, _hoisted_1$
|
|
361
|
+
}, _hoisted_1$2f = [
|
|
362
362
|
"type",
|
|
363
363
|
"disabled",
|
|
364
364
|
"aria-label"
|
|
@@ -381,7 +381,7 @@ var useBreadcrumb = (e = breadcrumbGlobalIndexKey) => {
|
|
|
381
381
|
disabled: unref(n).disabled,
|
|
382
382
|
"aria-label": unref(n).ariaLabel,
|
|
383
383
|
onClick: r[0] || (r[0] = (s) => a("click", s))
|
|
384
|
-
}, null, 8, _hoisted_1$
|
|
384
|
+
}, null, 8, _hoisted_1$2f));
|
|
385
385
|
}
|
|
386
386
|
}), RX_NUMBER = /^[0-9]*\.?[0-9]+$/, getElement = (e, t = getSafeDocument()) => {
|
|
387
387
|
if (e)
|
|
@@ -698,21 +698,21 @@ function _regenerator() {
|
|
|
698
698
|
v: e,
|
|
699
699
|
a: S,
|
|
700
700
|
f: S.bind(e, 4),
|
|
701
|
-
d: function(B,
|
|
702
|
-
return D = B, I = 0, N = e, M.n =
|
|
701
|
+
d: function(B, A) {
|
|
702
|
+
return D = B, I = 0, N = e, M.n = A, s;
|
|
703
703
|
}
|
|
704
704
|
};
|
|
705
|
-
function S(B,
|
|
706
|
-
for (I = B, N =
|
|
705
|
+
function S(B, A) {
|
|
706
|
+
for (I = B, N = A, t = 0; !T && P && !$ && t < R.length; t++) {
|
|
707
707
|
var $, V = R[t], w = M.p, L = V[2];
|
|
708
|
-
B > 3 ? ($ = L ===
|
|
708
|
+
B > 3 ? ($ = L === A) && (N = V[(I = V[4]) ? 5 : (I = 3, 3)], V[4] = V[5] = e) : V[0] <= w && (($ = B < 2 && w < V[1]) ? (I = 0, M.v = A, M.n = V[1]) : w < L && ($ = B < 3 || V[0] > A || A > L) && (V[4] = B, V[5] = A, M.n = L, I = 0));
|
|
709
709
|
}
|
|
710
710
|
if ($ || B > 1) return s;
|
|
711
|
-
throw T = !0,
|
|
711
|
+
throw T = !0, A;
|
|
712
712
|
}
|
|
713
|
-
return function(B,
|
|
713
|
+
return function(B, A, $) {
|
|
714
714
|
if (P > 1) throw TypeError("Generator is already running");
|
|
715
|
-
for (T &&
|
|
715
|
+
for (T && A === 1 && S(A, $), I = A, N = $; (t = I < 2 ? e : N) || !T; ) {
|
|
716
716
|
D || (I ? I < 3 ? (I > 1 && (M.n = -1), S(I, N)) : M.n = N : M.v = N);
|
|
717
717
|
try {
|
|
718
718
|
if (P = 2, D) {
|
|
@@ -865,33 +865,33 @@ var activeFocusTraps = {
|
|
|
865
865
|
manuallyPaused: !1,
|
|
866
866
|
delayInitialFocusTimer: void 0,
|
|
867
867
|
recentNavEvent: void 0
|
|
868
|
-
}, i, l = function(S, B,
|
|
869
|
-
return S && S[B] !== void 0 ? S[B] : r[
|
|
868
|
+
}, i, l = function(S, B, A) {
|
|
869
|
+
return S && S[B] !== void 0 ? S[B] : r[A || B];
|
|
870
870
|
}, c = function(S, B) {
|
|
871
|
-
var
|
|
871
|
+
var A = typeof B?.composedPath == "function" ? B.composedPath() : void 0;
|
|
872
872
|
return s.containerGroups.findIndex(function($) {
|
|
873
873
|
var V = $.container, w = $.tabbableNodes;
|
|
874
|
-
return V.contains(S) ||
|
|
874
|
+
return V.contains(S) || A?.includes(V) || w.find(function(L) {
|
|
875
875
|
return L === S;
|
|
876
876
|
});
|
|
877
877
|
});
|
|
878
878
|
}, d = function(S) {
|
|
879
|
-
var B = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {},
|
|
879
|
+
var B = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, A = B.hasFallback, $ = A === void 0 ? !1 : A, V = B.params, w = V === void 0 ? [] : V, L = r[S];
|
|
880
880
|
if (typeof L == "function" && (L = L.apply(void 0, _toConsumableArray(w))), L === !0 && (L = void 0), !L) {
|
|
881
881
|
if (L === void 0 || L === !1) return L;
|
|
882
882
|
throw new Error("`".concat(S, "` was specified but was not a node, or did not return a node"));
|
|
883
883
|
}
|
|
884
|
-
var
|
|
884
|
+
var O = L;
|
|
885
885
|
if (typeof L == "string") {
|
|
886
886
|
try {
|
|
887
|
-
|
|
887
|
+
O = a.querySelector(L);
|
|
888
888
|
} catch (z) {
|
|
889
889
|
throw new Error("`".concat(S, '` appears to be an invalid selector; error="').concat(z.message, '"'));
|
|
890
890
|
}
|
|
891
|
-
if (!
|
|
891
|
+
if (!O && !$)
|
|
892
892
|
throw new Error("`".concat(S, "` as selector refers to no known node"));
|
|
893
893
|
}
|
|
894
|
-
return
|
|
894
|
+
return O;
|
|
895
895
|
}, u = function() {
|
|
896
896
|
var S = d("initialFocus", { hasFallback: !0 });
|
|
897
897
|
if (S === !1) return !1;
|
|
@@ -905,17 +905,17 @@ var activeFocusTraps = {
|
|
|
905
905
|
return S;
|
|
906
906
|
}, f = function() {
|
|
907
907
|
if (s.containerGroups = s.containers.map(function(S) {
|
|
908
|
-
var B = tabbable(S, r.tabbableOptions),
|
|
909
|
-
return isTabbable(
|
|
910
|
-
}), L =
|
|
911
|
-
return isTabbable(
|
|
908
|
+
var B = tabbable(S, r.tabbableOptions), A = focusable(S, r.tabbableOptions), $ = B.length > 0 ? B[0] : void 0, V = B.length > 0 ? B[B.length - 1] : void 0, w = A.find(function(O) {
|
|
909
|
+
return isTabbable(O);
|
|
910
|
+
}), L = A.slice().reverse().find(function(O) {
|
|
911
|
+
return isTabbable(O);
|
|
912
912
|
});
|
|
913
913
|
return {
|
|
914
914
|
container: S,
|
|
915
915
|
tabbableNodes: B,
|
|
916
|
-
focusableNodes:
|
|
917
|
-
posTabIndexesFound: !!B.find(function(
|
|
918
|
-
return getTabIndex(
|
|
916
|
+
focusableNodes: A,
|
|
917
|
+
posTabIndexesFound: !!B.find(function(O) {
|
|
918
|
+
return getTabIndex(O) > 0;
|
|
919
919
|
}),
|
|
920
920
|
firstTabbableNode: $,
|
|
921
921
|
lastTabbableNode: V,
|
|
@@ -923,9 +923,9 @@ var activeFocusTraps = {
|
|
|
923
923
|
lastDomTabbableNode: L,
|
|
924
924
|
nextTabbableNode: function(z) {
|
|
925
925
|
var F = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, q = B.indexOf(z);
|
|
926
|
-
return q < 0 ? F ?
|
|
926
|
+
return q < 0 ? F ? A.slice(A.indexOf(z) + 1).find(function(U) {
|
|
927
927
|
return isTabbable(U);
|
|
928
|
-
}) :
|
|
928
|
+
}) : A.slice(0, A.indexOf(z)).reverse().find(function(U) {
|
|
929
929
|
return isTabbable(U);
|
|
930
930
|
}) : B[q + (F ? 1 : -1)];
|
|
931
931
|
}
|
|
@@ -952,30 +952,30 @@ var activeFocusTraps = {
|
|
|
952
952
|
var B = d("setReturnFocus", { params: [S] });
|
|
953
953
|
return B || (B === !1 ? !1 : S);
|
|
954
954
|
}, b = function(S) {
|
|
955
|
-
var B = S.target,
|
|
956
|
-
B = B || getActualTarget(
|
|
955
|
+
var B = S.target, A = S.event, $ = S.isBackward, V = $ === void 0 ? !1 : $;
|
|
956
|
+
B = B || getActualTarget(A), f();
|
|
957
957
|
var w = null;
|
|
958
958
|
if (s.tabbableGroups.length > 0) {
|
|
959
|
-
var L = c(B,
|
|
959
|
+
var L = c(B, A), O = L >= 0 ? s.containerGroups[L] : void 0;
|
|
960
960
|
if (L < 0) V ? w = s.tabbableGroups[s.tabbableGroups.length - 1].lastTabbableNode : w = s.tabbableGroups[0].firstTabbableNode;
|
|
961
961
|
else if (V) {
|
|
962
962
|
var z = s.tabbableGroups.findIndex(function(ne) {
|
|
963
963
|
var ce = ne.firstTabbableNode;
|
|
964
964
|
return B === ce;
|
|
965
965
|
});
|
|
966
|
-
if (z < 0 && (
|
|
966
|
+
if (z < 0 && (O.container === B || isFocusable(B, r.tabbableOptions) && !isTabbable(B, r.tabbableOptions) && !O.nextTabbableNode(B, !1)) && (z = L), z >= 0) {
|
|
967
967
|
var F = z === 0 ? s.tabbableGroups.length - 1 : z - 1, q = s.tabbableGroups[F];
|
|
968
968
|
w = getTabIndex(B) >= 0 ? q.lastTabbableNode : q.lastDomTabbableNode;
|
|
969
|
-
} else isTabEvent(
|
|
969
|
+
} else isTabEvent(A) || (w = O.nextTabbableNode(B, !1));
|
|
970
970
|
} else {
|
|
971
971
|
var U = s.tabbableGroups.findIndex(function(ne) {
|
|
972
972
|
var ce = ne.lastTabbableNode;
|
|
973
973
|
return B === ce;
|
|
974
974
|
});
|
|
975
|
-
if (U < 0 && (
|
|
975
|
+
if (U < 0 && (O.container === B || isFocusable(B, r.tabbableOptions) && !isTabbable(B, r.tabbableOptions) && !O.nextTabbableNode(B)) && (U = L), U >= 0) {
|
|
976
976
|
var Q = U === s.tabbableGroups.length - 1 ? 0 : U + 1, X = s.tabbableGroups[Q];
|
|
977
977
|
w = getTabIndex(B) >= 0 ? X.firstTabbableNode : X.firstDomTabbableNode;
|
|
978
|
-
} else isTabEvent(
|
|
978
|
+
} else isTabEvent(A) || (w = O.nextTabbableNode(B));
|
|
979
979
|
}
|
|
980
980
|
} else w = d("fallbackFocus");
|
|
981
981
|
return w;
|
|
@@ -988,9 +988,9 @@ var activeFocusTraps = {
|
|
|
988
988
|
valueOrHandler(r.allowOutsideClick, S) || S.preventDefault();
|
|
989
989
|
}
|
|
990
990
|
}, _ = function(S) {
|
|
991
|
-
var B = getActualTarget(S),
|
|
992
|
-
if (
|
|
993
|
-
|
|
991
|
+
var B = getActualTarget(S), A = c(B, S) >= 0;
|
|
992
|
+
if (A || B instanceof Document)
|
|
993
|
+
A && (s.mostRecentlyFocusedNode = B);
|
|
994
994
|
else {
|
|
995
995
|
S.stopImmediatePropagation();
|
|
996
996
|
var $, V = !0;
|
|
@@ -998,10 +998,10 @@ var activeFocusTraps = {
|
|
|
998
998
|
if (getTabIndex(s.mostRecentlyFocusedNode) > 0) {
|
|
999
999
|
var w = c(s.mostRecentlyFocusedNode), L = s.containerGroups[w].tabbableNodes;
|
|
1000
1000
|
if (L.length > 0) {
|
|
1001
|
-
var
|
|
1001
|
+
var O = L.findIndex(function(z) {
|
|
1002
1002
|
return z === s.mostRecentlyFocusedNode;
|
|
1003
1003
|
});
|
|
1004
|
-
|
|
1004
|
+
O >= 0 && (r.isKeyForward(s.recentNavEvent) ? O + 1 < L.length && ($ = L[O + 1], V = !1) : O - 1 >= 0 && ($ = L[O - 1], V = !1));
|
|
1005
1005
|
}
|
|
1006
1006
|
} else s.containerGroups.some(function(z) {
|
|
1007
1007
|
return z.tabbableNodes.some(function(F) {
|
|
@@ -1018,11 +1018,11 @@ var activeFocusTraps = {
|
|
|
1018
1018
|
}, C = function(S) {
|
|
1019
1019
|
var B = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
|
|
1020
1020
|
s.recentNavEvent = S;
|
|
1021
|
-
var
|
|
1021
|
+
var A = b({
|
|
1022
1022
|
event: S,
|
|
1023
1023
|
isBackward: B
|
|
1024
1024
|
});
|
|
1025
|
-
|
|
1025
|
+
A && (isTabEvent(S) && S.preventDefault(), m(A));
|
|
1026
1026
|
}, k = function(S) {
|
|
1027
1027
|
(r.isKeyForward(S) || r.isKeyBackward(S)) && C(S, r.isKeyBackward(S));
|
|
1028
1028
|
}, E = function(S) {
|
|
@@ -1052,27 +1052,27 @@ var activeFocusTraps = {
|
|
|
1052
1052
|
}), a.addEventListener("keydown", E), S;
|
|
1053
1053
|
}, N = function(S) {
|
|
1054
1054
|
s.active && !s.paused && i._setSubtreeIsolation(!1), s.adjacentElements.clear(), s.alreadySilent.clear();
|
|
1055
|
-
var B = /* @__PURE__ */ new Set(),
|
|
1055
|
+
var B = /* @__PURE__ */ new Set(), A = /* @__PURE__ */ new Set(), $ = _createForOfIteratorHelper(S), V;
|
|
1056
1056
|
try {
|
|
1057
1057
|
for ($.s(); !(V = $.n()).done; ) {
|
|
1058
1058
|
var w = V.value;
|
|
1059
1059
|
B.add(w);
|
|
1060
|
-
for (var L = typeof ShadowRoot < "u" && w.getRootNode() instanceof ShadowRoot,
|
|
1061
|
-
B.add(
|
|
1062
|
-
var z =
|
|
1063
|
-
z ? F = z.children : !z && L && (F =
|
|
1060
|
+
for (var L = typeof ShadowRoot < "u" && w.getRootNode() instanceof ShadowRoot, O = w; O; ) {
|
|
1061
|
+
B.add(O);
|
|
1062
|
+
var z = O.parentElement, F = [];
|
|
1063
|
+
z ? F = z.children : !z && L && (F = O.getRootNode().children, z = O.getRootNode().host, L = typeof ShadowRoot < "u" && z.getRootNode() instanceof ShadowRoot);
|
|
1064
1064
|
var q = _createForOfIteratorHelper(F), U;
|
|
1065
1065
|
try {
|
|
1066
1066
|
for (q.s(); !(U = q.n()).done; ) {
|
|
1067
1067
|
var Q = U.value;
|
|
1068
|
-
|
|
1068
|
+
A.add(Q);
|
|
1069
1069
|
}
|
|
1070
1070
|
} catch (X) {
|
|
1071
1071
|
q.e(X);
|
|
1072
1072
|
} finally {
|
|
1073
1073
|
q.f();
|
|
1074
1074
|
}
|
|
1075
|
-
|
|
1075
|
+
O = z;
|
|
1076
1076
|
}
|
|
1077
1077
|
}
|
|
1078
1078
|
} catch (X) {
|
|
@@ -1081,15 +1081,15 @@ var activeFocusTraps = {
|
|
|
1081
1081
|
$.f();
|
|
1082
1082
|
}
|
|
1083
1083
|
B.forEach(function(X) {
|
|
1084
|
-
|
|
1085
|
-
}), s.adjacentElements =
|
|
1084
|
+
A.delete(X);
|
|
1085
|
+
}), s.adjacentElements = A;
|
|
1086
1086
|
}, P = function() {
|
|
1087
1087
|
if (s.active)
|
|
1088
1088
|
return a.removeEventListener("focusin", _, !0), a.removeEventListener("mousedown", v, !0), a.removeEventListener("touchstart", v, !0), a.removeEventListener("click", D, !0), a.removeEventListener("keydown", k, !0), a.removeEventListener("keydown", E), i;
|
|
1089
1089
|
}, R = typeof window < "u" && "MutationObserver" in window ? new MutationObserver(function(S) {
|
|
1090
1090
|
S.some(function(B) {
|
|
1091
|
-
return Array.from(B.removedNodes).some(function(
|
|
1092
|
-
return
|
|
1091
|
+
return Array.from(B.removedNodes).some(function(A) {
|
|
1092
|
+
return A === s.mostRecentlyFocusedNode;
|
|
1093
1093
|
});
|
|
1094
1094
|
}) && m(u());
|
|
1095
1095
|
}) : void 0, T = function() {
|
|
@@ -1109,21 +1109,21 @@ var activeFocusTraps = {
|
|
|
1109
1109
|
},
|
|
1110
1110
|
activate: function(S) {
|
|
1111
1111
|
if (s.active) return this;
|
|
1112
|
-
var B = l(S, "onActivate"),
|
|
1112
|
+
var B = l(S, "onActivate"), A = l(S, "onPostActivate"), $ = l(S, "checkCanFocusTrap"), V = activeFocusTraps.getActiveTrap(o), w = !1;
|
|
1113
1113
|
if (V && !V.paused) {
|
|
1114
1114
|
var L;
|
|
1115
1115
|
(L = V._setSubtreeIsolation) === null || L === void 0 || L.call(V, !1), w = !0;
|
|
1116
1116
|
}
|
|
1117
1117
|
try {
|
|
1118
1118
|
$ || f(), s.active = !0, s.paused = !1, s.nodeFocusedBeforeActivation = p(a), B?.();
|
|
1119
|
-
var
|
|
1119
|
+
var O = /* @__PURE__ */ (function() {
|
|
1120
1120
|
var F = _asyncToGenerator(/* @__PURE__ */ _regenerator().m(function q() {
|
|
1121
1121
|
return _regenerator().w(function(U) {
|
|
1122
1122
|
for (; ; ) switch (U.n) {
|
|
1123
1123
|
case 0:
|
|
1124
1124
|
return $ && f(), U.n = 1, I();
|
|
1125
1125
|
case 1:
|
|
1126
|
-
i._setSubtreeIsolation(!0), T(),
|
|
1126
|
+
i._setSubtreeIsolation(!0), T(), A?.();
|
|
1127
1127
|
case 2:
|
|
1128
1128
|
return U.a(2);
|
|
1129
1129
|
}
|
|
@@ -1134,8 +1134,8 @@ var activeFocusTraps = {
|
|
|
1134
1134
|
};
|
|
1135
1135
|
})();
|
|
1136
1136
|
if ($)
|
|
1137
|
-
return $(s.containers.concat()).then(
|
|
1138
|
-
|
|
1137
|
+
return $(s.containers.concat()).then(O, O), this;
|
|
1138
|
+
O();
|
|
1139
1139
|
} catch (F) {
|
|
1140
1140
|
if (V === activeFocusTraps.getActiveTrap(o) && w) {
|
|
1141
1141
|
var z;
|
|
@@ -1153,8 +1153,8 @@ var activeFocusTraps = {
|
|
|
1153
1153
|
checkCanReturnFocus: r.checkCanReturnFocus
|
|
1154
1154
|
}, S);
|
|
1155
1155
|
clearTimeout(s.delayInitialFocusTimer), s.delayInitialFocusTimer = void 0, s.paused || i._setSubtreeIsolation(!1), s.alreadySilent.clear(), P(), s.active = !1, s.paused = !1, T(), activeFocusTraps.deactivateTrap(o, i);
|
|
1156
|
-
var
|
|
1157
|
-
|
|
1156
|
+
var A = l(B, "onDeactivate"), $ = l(B, "onPostDeactivate"), V = l(B, "checkCanReturnFocus"), w = l(B, "returnFocus", "returnFocusOnDeactivate");
|
|
1157
|
+
A?.();
|
|
1158
1158
|
var L = function() {
|
|
1159
1159
|
delay(function() {
|
|
1160
1160
|
w && m(g(s.nodeFocusedBeforeActivation)), $?.();
|
|
@@ -1180,12 +1180,12 @@ var activeFocusTraps = {
|
|
|
1180
1180
|
_setPausedState: { value: function(S, B) {
|
|
1181
1181
|
if (s.paused === S) return this;
|
|
1182
1182
|
if (s.paused = S, S) {
|
|
1183
|
-
var
|
|
1184
|
-
|
|
1183
|
+
var A = l(B, "onPause"), $ = l(B, "onPostPause");
|
|
1184
|
+
A?.(), P(), i._setSubtreeIsolation(!1), T(), $?.();
|
|
1185
1185
|
} else {
|
|
1186
1186
|
var V = l(B, "onUnpause"), w = l(B, "onPostUnpause");
|
|
1187
1187
|
V?.(), (/* @__PURE__ */ (function() {
|
|
1188
|
-
var L = _asyncToGenerator(/* @__PURE__ */ _regenerator().m(function
|
|
1188
|
+
var L = _asyncToGenerator(/* @__PURE__ */ _regenerator().m(function O() {
|
|
1189
1189
|
return _regenerator().w(function(z) {
|
|
1190
1190
|
for (; ; ) switch (z.n) {
|
|
1191
1191
|
case 0:
|
|
@@ -1195,7 +1195,7 @@ var activeFocusTraps = {
|
|
|
1195
1195
|
case 2:
|
|
1196
1196
|
return z.a(2);
|
|
1197
1197
|
}
|
|
1198
|
-
},
|
|
1198
|
+
}, O);
|
|
1199
1199
|
}));
|
|
1200
1200
|
return function() {
|
|
1201
1201
|
return L.apply(this, arguments);
|
|
@@ -1206,8 +1206,8 @@ var activeFocusTraps = {
|
|
|
1206
1206
|
} },
|
|
1207
1207
|
_setSubtreeIsolation: { value: function(S) {
|
|
1208
1208
|
r.isolateSubtrees && s.adjacentElements.forEach(function(B) {
|
|
1209
|
-
var
|
|
1210
|
-
S ? r.isolateSubtrees === "aria-hidden" ? ((B.ariaHidden === "true" || ((
|
|
1209
|
+
var A;
|
|
1210
|
+
S ? r.isolateSubtrees === "aria-hidden" ? ((B.ariaHidden === "true" || ((A = B.getAttribute("aria-hidden")) === null || A === void 0 ? void 0 : A.toLowerCase()) === "true") && s.alreadySilent.add(B), B.setAttribute("aria-hidden", "true")) : ((B.inert || B.hasAttribute("inert")) && s.alreadySilent.add(B), B.setAttribute("inert", !0)) : s.alreadySilent.has(B) || (r.isolateSubtrees === "aria-hidden" ? B.removeAttribute("aria-hidden") : B.removeAttribute("inert"));
|
|
1211
1211
|
});
|
|
1212
1212
|
} }
|
|
1213
1213
|
}), i.updateContainerElements(t), i;
|
|
@@ -1313,11 +1313,11 @@ var useActivatedFocusTrap = ({ element: e, isActive: t, noTrap: n, fallbackFocus
|
|
|
1313
1313
|
activeModalCount: i,
|
|
1314
1314
|
stackWithoutSelf: computed$1(() => r?.value.filter((d) => toValue(d.exposed?.id) !== toValue(l.exposed?.id)) ?? [])
|
|
1315
1315
|
};
|
|
1316
|
-
}, _hoisted_1$
|
|
1316
|
+
}, _hoisted_1$2e = [
|
|
1317
1317
|
"id",
|
|
1318
1318
|
"aria-labelledby",
|
|
1319
1319
|
"aria-describedby"
|
|
1320
|
-
], _hoisted_2$
|
|
1320
|
+
], _hoisted_2$1y = ["id"], fallbackClassSelector$1 = "modal-fallback-focus", BModal_default = /* @__PURE__ */ defineComponent({
|
|
1321
1321
|
inheritAttrs: !1,
|
|
1322
1322
|
__name: "BModal",
|
|
1323
1323
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -1500,7 +1500,7 @@ var useActivatedFocusTrap = ({ element: e, isActive: t, noTrap: n, fallbackFocus
|
|
|
1500
1500
|
}
|
|
1501
1501
|
}, b = () => {
|
|
1502
1502
|
a.noTrap && a.focus !== !1 && m && (m?.focus(), m = null);
|
|
1503
|
-
}, { showRef: v, renderRef: _, renderBackdropRef: C, hide: k, show: E, toggle: D, computedNoAnimation: I, transitionProps: N, backdropTransitionProps: P, isLeaving: R, isVisible: T, trapActive: M, contentShowing: S, backdropReady: B, backdropVisible:
|
|
1503
|
+
}, { showRef: v, renderRef: _, renderBackdropRef: C, hide: k, show: E, toggle: D, computedNoAnimation: I, transitionProps: N, backdropTransitionProps: P, isLeaving: R, isVisible: T, trapActive: M, contentShowing: S, backdropReady: B, backdropVisible: A } = useShowHide(i, a, o, l, s, { transitionProps: {
|
|
1504
1504
|
onAfterEnter: g,
|
|
1505
1505
|
onAfterLeave: b
|
|
1506
1506
|
} }), { needsFallback: $ } = useActivatedFocusTrap({
|
|
@@ -1529,7 +1529,7 @@ var useActivatedFocusTrap = ({ element: e, isActive: t, noTrap: n, fallbackFocus
|
|
|
1529
1529
|
bgVariant: a.bodyBgVariant,
|
|
1530
1530
|
textVariant: a.bodyTextVariant,
|
|
1531
1531
|
variant: a.bodyVariant
|
|
1532
|
-
})),
|
|
1532
|
+
})), O = computed$1(() => [a.bodyClass, L.value]), z = useColorVariantClasses(() => ({
|
|
1533
1533
|
bgVariant: a.headerBgVariant,
|
|
1534
1534
|
textVariant: a.headerTextVariant,
|
|
1535
1535
|
variant: a.headerVariant,
|
|
@@ -1636,8 +1636,8 @@ var useActivatedFocusTrap = ({ element: e, isActive: t, noTrap: n, fallbackFocus
|
|
|
1636
1636
|
}, q.value, { onClick: G[1] || (G[1] = (ue) => unref(k)("close")) }), null, 16, ["aria-label"]))], 64))])], 16)),
|
|
1637
1637
|
createElementVNode("div", mergeProps({
|
|
1638
1638
|
id: `${unref(s)}-body`,
|
|
1639
|
-
class: ["modal-body",
|
|
1640
|
-
}, unref(a).bodyAttrs), [renderSlot(Z.$slots, "default", normalizeProps(guardReactiveProps(W.value)), () => [createTextVNode(toDisplayString(unref(a).body), 1)])], 16, _hoisted_2$
|
|
1639
|
+
class: ["modal-body", O.value]
|
|
1640
|
+
}, unref(a).bodyAttrs), [renderSlot(Z.$slots, "default", normalizeProps(guardReactiveProps(W.value)), () => [createTextVNode(toDisplayString(unref(a).body), 1)])], 16, _hoisted_2$1y),
|
|
1641
1641
|
unref(a).noFooter ? createCommentVNode("", !0) : (openBlock(), createElementBlock("div", {
|
|
1642
1642
|
key: 1,
|
|
1643
1643
|
class: normalizeClass(["modal-footer", Q.value])
|
|
@@ -1683,13 +1683,13 @@ var useActivatedFocusTrap = ({ element: e, isActive: t, noTrap: n, fallbackFocus
|
|
|
1683
1683
|
height: "0",
|
|
1684
1684
|
overflow: "hidden"
|
|
1685
1685
|
}
|
|
1686
|
-
}, null, 512)) : createCommentVNode("", !0)], 16, _hoisted_1$
|
|
1686
|
+
}, null, 512)) : createCommentVNode("", !0)], 16, _hoisted_1$2e), [[vShow, unref(v) && (unref(B) && unref(a).backdropFirst || !unref(a).backdropFirst)]])]),
|
|
1687
1687
|
_: 3
|
|
1688
1688
|
}, 16, ["appear"])) : createCommentVNode("", !0), unref(a).noBackdrop ? createCommentVNode("", !0) : renderSlot(Z.$slots, "backdrop", normalizeProps(mergeProps({ key: 1 }, W.value)), () => [unref(C) ? (openBlock(), createBlock(Transition, normalizeProps(mergeProps({ key: 0 }, unref(P))), {
|
|
1689
1689
|
default: withCtx(() => [withDirectives(createElementVNode("div", {
|
|
1690
1690
|
class: normalizeClass(["modal-backdrop", {
|
|
1691
1691
|
fade: !unref(I),
|
|
1692
|
-
show: unref(
|
|
1692
|
+
show: unref(A) || unref(I),
|
|
1693
1693
|
...fe.value
|
|
1694
1694
|
}]),
|
|
1695
1695
|
style: normalizeStyle(pe.value),
|
|
@@ -1741,7 +1741,7 @@ var BProgressBar_default = /* @__PURE__ */ defineComponent({
|
|
|
1741
1741
|
style: normalizeStyle({ width: d.value })
|
|
1742
1742
|
}, [renderSlot(u.$slots, "default", {}, () => [createTextVNode(toDisplayString(c.value), 1)])], 6));
|
|
1743
1743
|
}
|
|
1744
|
-
}), _hoisted_1$
|
|
1744
|
+
}), _hoisted_1$2d = ["aria-valuenow", "aria-valuemax"], BProgress_default = /* @__PURE__ */ defineComponent({
|
|
1745
1745
|
__name: "BProgress",
|
|
1746
1746
|
props: {
|
|
1747
1747
|
height: { default: void 0 },
|
|
@@ -1805,7 +1805,7 @@ var BProgressBar_default = /* @__PURE__ */ defineComponent({
|
|
|
1805
1805
|
"variant",
|
|
1806
1806
|
"text-variant",
|
|
1807
1807
|
"bg-variant"
|
|
1808
|
-
])])], 12, _hoisted_1$
|
|
1808
|
+
])])], 12, _hoisted_1$2d));
|
|
1809
1809
|
}
|
|
1810
1810
|
});
|
|
1811
1811
|
function createFilterWrapper(e, t) {
|
|
@@ -1904,7 +1904,7 @@ var normalizeInput = (e, t) => {
|
|
|
1904
1904
|
stateClass: u,
|
|
1905
1905
|
isDisabled: c
|
|
1906
1906
|
};
|
|
1907
|
-
}, _hoisted_1$
|
|
1907
|
+
}, _hoisted_1$2c = [
|
|
1908
1908
|
"id",
|
|
1909
1909
|
"value",
|
|
1910
1910
|
"name",
|
|
@@ -2016,7 +2016,7 @@ var normalizeInput = (e, t) => {
|
|
|
2016
2016
|
onInput: _[0] || (_[0] = (...C) => unref(c) && unref(c)(...C)),
|
|
2017
2017
|
onChange: _[1] || (_[1] = (...C) => unref(d) && unref(d)(...C)),
|
|
2018
2018
|
onBlur: _[2] || (_[2] = (...C) => unref(u) && unref(u)(...C))
|
|
2019
|
-
}, null, 42, _hoisted_1$
|
|
2019
|
+
}, null, 42, _hoisted_1$2c));
|
|
2020
2020
|
}
|
|
2021
2021
|
}), useFormSelect = (e, t) => {
|
|
2022
2022
|
const n = (r) => typeof r == "object" && r !== null && "options" in r && Array.isArray(r.options), a = (r) => {
|
|
@@ -2261,7 +2261,7 @@ var normalizeInput = (e, t) => {
|
|
|
2261
2261
|
_: 3
|
|
2262
2262
|
}, 16, ["aria-current"]))], 2));
|
|
2263
2263
|
}
|
|
2264
|
-
}), _hoisted_1$
|
|
2264
|
+
}), _hoisted_1$2b = ["id"], BBreadcrumb_default = /* @__PURE__ */ defineComponent({
|
|
2265
2265
|
__name: "BBreadcrumb",
|
|
2266
2266
|
props: {
|
|
2267
2267
|
items: { default: void 0 },
|
|
@@ -2286,7 +2286,7 @@ var normalizeInput = (e, t) => {
|
|
|
2286
2286
|
}, 1040))), 128)),
|
|
2287
2287
|
renderSlot(o.$slots, "default"),
|
|
2288
2288
|
renderSlot(o.$slots, "append")
|
|
2289
|
-
], 16)], 8, _hoisted_1$
|
|
2289
|
+
], 16)], 8, _hoisted_1$2b));
|
|
2290
2290
|
}
|
|
2291
2291
|
}), BCardImg_default = /* @__PURE__ */ defineComponent({
|
|
2292
2292
|
__name: "BCardImg",
|
|
@@ -2629,7 +2629,7 @@ var normalizeInput = (e, t) => {
|
|
|
2629
2629
|
}), useAlignment = (e) => computed$1(() => {
|
|
2630
2630
|
const t = toValue(e);
|
|
2631
2631
|
return t ? `justify-content-${t}` : "";
|
|
2632
|
-
}), useMouse$1 = createSharedComposable(useMouse$2), _hoisted_1$
|
|
2632
|
+
}), useMouse$1 = createSharedComposable(useMouse$2), _hoisted_1$2a = ["id"], _hoisted_2$1x = ["id"], BPopover_default = /* @__PURE__ */ defineComponent({
|
|
2633
2633
|
inheritAttrs: !1,
|
|
2634
2634
|
__name: "BPopover",
|
|
2635
2635
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -2817,7 +2817,7 @@ var normalizeInput = (e, t) => {
|
|
|
2817
2817
|
strategy: toRef(() => a.strategy)
|
|
2818
2818
|
}), R = ref({ position: "absolute" });
|
|
2819
2819
|
let T;
|
|
2820
|
-
const { showRef: M, hide: S, show: B, toggle:
|
|
2820
|
+
const { showRef: M, hide: S, show: B, toggle: A, throttleHide: $, computedNoAnimation: V, transitionProps: w, contentShowing: L, isVisible: O, isActive: z, renderRef: F, localTemporaryHide: q, setLocalTemporaryHide: U } = useShowHide(i, a, o, d, l, {
|
|
2821
2821
|
showFn: () => {
|
|
2822
2822
|
P(), nextTick$1(() => {
|
|
2823
2823
|
T = autoUpdate$1(m.value, d.value, P, { animationFrame: a.realtime });
|
|
@@ -2843,7 +2843,7 @@ var normalizeInput = (e, t) => {
|
|
|
2843
2843
|
W,
|
|
2844
2844
|
`b-${W}`,
|
|
2845
2845
|
{
|
|
2846
|
-
show:
|
|
2846
|
+
show: O.value && !c.value,
|
|
2847
2847
|
fade: !V.value,
|
|
2848
2848
|
[`bs-${W}-${resolveBootstrapPlacement(N.value)}`]: N.value !== void 0
|
|
2849
2849
|
}
|
|
@@ -2862,12 +2862,12 @@ var normalizeInput = (e, t) => {
|
|
|
2862
2862
|
se(W);
|
|
2863
2863
|
}, 50));
|
|
2864
2864
|
};
|
|
2865
|
-
watch(
|
|
2865
|
+
watch(O, () => {
|
|
2866
2866
|
P();
|
|
2867
2867
|
}), t({
|
|
2868
2868
|
hide: S,
|
|
2869
2869
|
show: B,
|
|
2870
|
-
toggle:
|
|
2870
|
+
toggle: A
|
|
2871
2871
|
});
|
|
2872
2872
|
const de = (W) => {
|
|
2873
2873
|
M.value ? S(W.type === "click" ? "click" : "toggle") : B();
|
|
@@ -2913,11 +2913,11 @@ var normalizeInput = (e, t) => {
|
|
|
2913
2913
|
te(), j();
|
|
2914
2914
|
});
|
|
2915
2915
|
const pe = computed$1(() => ({
|
|
2916
|
-
toggle:
|
|
2916
|
+
toggle: A,
|
|
2917
2917
|
show: B,
|
|
2918
2918
|
hide: S,
|
|
2919
2919
|
id: l.value,
|
|
2920
|
-
visible:
|
|
2920
|
+
visible: O.value,
|
|
2921
2921
|
active: z.value
|
|
2922
2922
|
}));
|
|
2923
2923
|
return onMounted(() => {
|
|
@@ -2929,7 +2929,7 @@ var normalizeInput = (e, t) => {
|
|
|
2929
2929
|
id: unref(l) + "_placeholder",
|
|
2930
2930
|
ref: "_placeholder",
|
|
2931
2931
|
style: { display: "none" }
|
|
2932
|
-
}, null, 8, _hoisted_1$
|
|
2932
|
+
}, null, 8, _hoisted_1$2a),
|
|
2933
2933
|
renderSlot(W.$slots, "target", normalizeProps(guardReactiveProps(pe.value))),
|
|
2934
2934
|
createVNode(ConditionalTeleport_default, {
|
|
2935
2935
|
to: unref(a).teleportTo,
|
|
@@ -2957,7 +2957,7 @@ var normalizeInput = (e, t) => {
|
|
|
2957
2957
|
}, [renderSlot(W.$slots, "title", normalizeProps(guardReactiveProps(pe.value)), () => [createTextVNode(toDisplayString(unref(a).title), 1)])], 2)) : createCommentVNode("", !0), unref(a).tooltip && !r.title && !unref(a).title || !unref(a).tooltip ? (openBlock(), createElementBlock("div", {
|
|
2958
2958
|
key: 1,
|
|
2959
2959
|
class: normalizeClass([unref(a).tooltip ? "tooltip-inner" : "popover-body", unref(a).bodyClass])
|
|
2960
|
-
}, [renderSlot(W.$slots, "default", normalizeProps(guardReactiveProps(pe.value)), () => [createTextVNode(toDisplayString(unref(a).body) + toDisplayString(unref(s).content), 1)])], 2)) : createCommentVNode("", !0)], 4)], 16, _hoisted_2$
|
|
2960
|
+
}, [renderSlot(W.$slots, "default", normalizeProps(guardReactiveProps(pe.value)), () => [createTextVNode(toDisplayString(unref(a).body) + toDisplayString(unref(s).content), 1)])], 2)) : createCommentVNode("", !0)], 4)], 16, _hoisted_2$1x), [[vShow, unref(M) && !c.value]])]),
|
|
2961
2961
|
_: 3
|
|
2962
2962
|
}, 16, ["appear"])) : createCommentVNode("", !0)]),
|
|
2963
2963
|
_: 3
|
|
@@ -3042,7 +3042,7 @@ var normalizeInput = (e, t) => {
|
|
|
3042
3042
|
t.remove(), e.$__element === t && delete e.$__element;
|
|
3043
3043
|
});
|
|
3044
3044
|
}
|
|
3045
|
-
}, isBoundary = (e) => e === "clippingAncestors" || e instanceof Element || Array.isArray(e), isRootBoundary = (e) => !isBoundary(e), _hoisted_1$
|
|
3045
|
+
}, isBoundary = (e) => e === "clippingAncestors" || e instanceof Element || Array.isArray(e), isRootBoundary = (e) => !isBoundary(e), _hoisted_1$29 = { class: "visually-hidden" }, _hoisted_2$1w = [
|
|
3046
3046
|
"id",
|
|
3047
3047
|
"aria-labelledby",
|
|
3048
3048
|
"role"
|
|
@@ -3205,7 +3205,7 @@ var normalizeInput = (e, t) => {
|
|
|
3205
3205
|
} else U[q === -1 ? U.length - 1 : 0]?.focus();
|
|
3206
3206
|
};
|
|
3207
3207
|
onKeyStroke("ArrowUp", (F) => M(F, -1), { target: g }), onKeyStroke("ArrowDown", (F) => M(F, 1), { target: g }), onKeyStroke("ArrowUp", (F) => M(F, -1), { target: d }), onKeyStroke("ArrowDown", (F) => M(F, 1), { target: d });
|
|
3208
|
-
const S = ref({}), { update: B, floatingStyles:
|
|
3208
|
+
const S = ref({}), { update: B, floatingStyles: A } = useFloating(g, d, {
|
|
3209
3209
|
placement: () => a.placement,
|
|
3210
3210
|
middleware: computed$1(() => {
|
|
3211
3211
|
if (a.floatingMiddleware !== void 0) return a.floatingMiddleware;
|
|
@@ -3249,7 +3249,7 @@ var normalizeInput = (e, t) => {
|
|
|
3249
3249
|
show: a.split ? void 0 : v.value
|
|
3250
3250
|
}]), L = () => {
|
|
3251
3251
|
E();
|
|
3252
|
-
},
|
|
3252
|
+
}, O = (F) => {
|
|
3253
3253
|
if (a.split) {
|
|
3254
3254
|
o("split-click", F);
|
|
3255
3255
|
return;
|
|
@@ -3295,7 +3295,7 @@ var normalizeInput = (e, t) => {
|
|
|
3295
3295
|
href: unref(a).split ? unref(a).splitHref : void 0,
|
|
3296
3296
|
icon: unref(a).icon,
|
|
3297
3297
|
to: unref(a).split && unref(a).splitTo ? unref(a).splitTo : void 0
|
|
3298
|
-
}, unref(a).split ? void 0 : unref(a).toggleAttrs, { onClick:
|
|
3298
|
+
}, unref(a).split ? void 0 : unref(a).toggleAttrs, { onClick: O }), {
|
|
3299
3299
|
default: withCtx(() => [renderSlot(F.$slots, "button-content", {}, () => [createTextVNode(toDisplayString(unref(a).text), 1)])]),
|
|
3300
3300
|
_: 3
|
|
3301
3301
|
}, 16, [
|
|
@@ -3323,7 +3323,7 @@ var normalizeInput = (e, t) => {
|
|
|
3323
3323
|
"aria-expanded": unref(v),
|
|
3324
3324
|
"aria-haspopup": "menu"
|
|
3325
3325
|
}, unref(a).toggleAttrs, { onClick: L }), {
|
|
3326
|
-
default: withCtx(() => [createElementVNode("span", _hoisted_1$
|
|
3326
|
+
default: withCtx(() => [createElementVNode("span", _hoisted_1$29, [renderSlot(F.$slots, "toggle-text", {}, () => [createTextVNode(toDisplayString(unref(a).toggleText), 1)])])]),
|
|
3327
3327
|
_: 3
|
|
3328
3328
|
}, 16, [
|
|
3329
3329
|
"id",
|
|
@@ -3342,7 +3342,7 @@ var normalizeInput = (e, t) => {
|
|
|
3342
3342
|
id: unref(r) + "-menu",
|
|
3343
3343
|
ref: "_floating",
|
|
3344
3344
|
style: normalizeStyle([
|
|
3345
|
-
unref(
|
|
3345
|
+
unref(A),
|
|
3346
3346
|
S.value,
|
|
3347
3347
|
{ display: unref(v) || unref(R) ? "block" : "none" }
|
|
3348
3348
|
]),
|
|
@@ -3359,7 +3359,7 @@ var normalizeInput = (e, t) => {
|
|
|
3359
3359
|
click: z,
|
|
3360
3360
|
toggle: L,
|
|
3361
3361
|
active: unref(v)
|
|
3362
|
-
}) : createCommentVNode("", !0)], 14, _hoisted_2$
|
|
3362
|
+
}) : createCommentVNode("", !0)], 14, _hoisted_2$1w), [[vShow, unref(v)]])]),
|
|
3363
3363
|
_: 3
|
|
3364
3364
|
}, 16, ["appear"])) : createCommentVNode("", !0)]),
|
|
3365
3365
|
_: 3
|
|
@@ -3467,7 +3467,7 @@ var normalizeInput = (e, t) => {
|
|
|
3467
3467
|
"target"
|
|
3468
3468
|
]))], 16));
|
|
3469
3469
|
}
|
|
3470
|
-
}), _hoisted_1$
|
|
3470
|
+
}), _hoisted_1$28 = [
|
|
3471
3471
|
"value",
|
|
3472
3472
|
"disabled",
|
|
3473
3473
|
"selected"
|
|
@@ -3486,7 +3486,7 @@ var normalizeInput = (e, t) => {
|
|
|
3486
3486
|
value: unref(t).value,
|
|
3487
3487
|
disabled: unref(t).disabled,
|
|
3488
3488
|
selected: a.value
|
|
3489
|
-
}, o.$attrs), [renderSlot(o.$slots, "default")], 16, _hoisted_1$
|
|
3489
|
+
}, o.$attrs), [renderSlot(o.$slots, "default")], 16, _hoisted_1$28));
|
|
3490
3490
|
}
|
|
3491
3491
|
}), _hoisted_1$1$2 = ["label"], BFormSelectOptionGroup_default = /* @__PURE__ */ defineComponent({
|
|
3492
3492
|
__name: "BFormSelectOptionGroup",
|
|
@@ -3511,7 +3511,7 @@ var normalizeInput = (e, t) => {
|
|
|
3511
3511
|
renderSlot(a.$slots, "default")
|
|
3512
3512
|
], 8, _hoisted_1$1$2));
|
|
3513
3513
|
}
|
|
3514
|
-
}), _hoisted_1$
|
|
3514
|
+
}), _hoisted_1$27 = [
|
|
3515
3515
|
"id",
|
|
3516
3516
|
"name",
|
|
3517
3517
|
"form",
|
|
@@ -3626,7 +3626,7 @@ var normalizeInput = (e, t) => {
|
|
|
3626
3626
|
_: 2
|
|
3627
3627
|
}, 1040))], 64))), 128)),
|
|
3628
3628
|
renderSlot(_.$slots, "default")
|
|
3629
|
-
], 10, _hoisted_1$
|
|
3629
|
+
], 10, _hoisted_1$27)), [[vModelSelect, v.value]]);
|
|
3630
3630
|
}
|
|
3631
3631
|
}), BFormSelect_default = /* @__PURE__ */ defineComponent({
|
|
3632
3632
|
__name: "BFormSelect",
|
|
@@ -3751,7 +3751,7 @@ var normalizeInput = (e, t) => {
|
|
|
3751
3751
|
})),
|
|
3752
3752
|
computedRows: c
|
|
3753
3753
|
};
|
|
3754
|
-
}, _hoisted_1$
|
|
3754
|
+
}, _hoisted_1$26 = [
|
|
3755
3755
|
"id",
|
|
3756
3756
|
"name",
|
|
3757
3757
|
"form",
|
|
@@ -3869,9 +3869,9 @@ var normalizeInput = (e, t) => {
|
|
|
3869
3869
|
}),
|
|
3870
3870
|
onChange: E[1] || (E[1] = (...D) => unref(d) && unref(d)(...D)),
|
|
3871
3871
|
onBlur: E[2] || (E[2] = (...D) => unref(u) && unref(u)(...D))
|
|
3872
|
-
}, null, 46, _hoisted_1$
|
|
3872
|
+
}, null, 46, _hoisted_1$26));
|
|
3873
3873
|
}
|
|
3874
|
-
}), _hoisted_1$
|
|
3874
|
+
}), _hoisted_1$25 = ["id", "aria-labelledby"], _hoisted_2$1v = ["id"], fallbackClassSelector = "offcanvas-fallback-focus", BOffcanvas_default = /* @__PURE__ */ defineComponent({
|
|
3875
3875
|
inheritAttrs: !1,
|
|
3876
3876
|
__name: "BOffcanvas",
|
|
3877
3877
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -3988,7 +3988,7 @@ var normalizeInput = (e, t) => {
|
|
|
3988
3988
|
setup(e, { expose: t, emit: n }) {
|
|
3989
3989
|
const a = useDefaults(e, "BOffcanvas"), o = n, r = useSlots(), s = useModel(e, "modelValue"), i = useId$1(() => a.id, "offcanvas"), l = useTemplateRef("_element"), c = useTemplateRef("_fallbackFocusElement"), d = useTemplateRef("_close"), u = () => a.focus && typeof a.focus != "boolean" ? a.focus === "close" ? d : getElement(a.focus, l.value ?? void 0) : l, f = () => {
|
|
3990
3990
|
nextTick$1(() => {
|
|
3991
|
-
a.focus !== !1 && !
|
|
3991
|
+
a.focus !== !1 && !A.value && a.noTrap && unrefElement(u())?.focus();
|
|
3992
3992
|
});
|
|
3993
3993
|
}, { showRef: p, renderRef: m, renderBackdropRef: g, hide: b, show: v, toggle: _, computedNoAnimation: C, contentShowing: k, transitionProps: E, backdropReady: D, backdropTransitionProps: I, backdropVisible: N, isVisible: P, buildTriggerableEvent: R, isLeaving: T, trapActive: M, setLocalNoAnimation: S } = useShowHide(s, a, o, l, i, { transitionProps: {
|
|
3994
3994
|
onAfterEnter: f,
|
|
@@ -3998,10 +3998,10 @@ var normalizeInput = (e, t) => {
|
|
|
3998
3998
|
leaveActiveClass: "",
|
|
3999
3999
|
enterFromClass: "",
|
|
4000
4000
|
leaveFromClass: ""
|
|
4001
|
-
} }), B = useBreakpoints(breakpointsBootstrapV5).smaller(() => a.responsive ?? "xs"),
|
|
4001
|
+
} }), B = useBreakpoints(breakpointsBootstrapV5).smaller(() => a.responsive ?? "xs"), A = ref(!1);
|
|
4002
4002
|
onMounted(() => {
|
|
4003
|
-
a.responsive !== void 0 && (
|
|
4004
|
-
}), useSafeScrollLock(p, () => a.bodyScrolling ||
|
|
4003
|
+
a.responsive !== void 0 && (A.value = !B.value, o("breakpoint", R("breakpoint"), A.value));
|
|
4004
|
+
}), useSafeScrollLock(p, () => a.bodyScrolling || A.value), onKeyStroke("Escape", () => {
|
|
4005
4005
|
b("esc");
|
|
4006
4006
|
}, {
|
|
4007
4007
|
target: l,
|
|
@@ -4010,13 +4010,13 @@ var normalizeInput = (e, t) => {
|
|
|
4010
4010
|
const { needsFallback: $ } = useActivatedFocusTrap({
|
|
4011
4011
|
element: l,
|
|
4012
4012
|
isActive: M,
|
|
4013
|
-
noTrap: () => a.noTrap ||
|
|
4013
|
+
noTrap: () => a.noTrap || A.value,
|
|
4014
4014
|
fallbackFocus: {
|
|
4015
4015
|
classSelector: fallbackClassSelector,
|
|
4016
4016
|
ref: c
|
|
4017
4017
|
},
|
|
4018
|
-
focus: () => a.focus === !1 ||
|
|
4019
|
-
}), V = computed$1(() => (a.responsive === void 0 || !
|
|
4018
|
+
focus: () => a.focus === !1 || A.value ? !1 : unrefElement(u()) ?? void 0
|
|
4019
|
+
}), V = computed$1(() => (a.responsive === void 0 || !A.value) && !a.noBackdrop && (p.value === !0 || T.value && a.backdropFirst && !C.value)), w = computed$1(() => !isEmptySlot(r["header-close"])), L = computed$1(() => [{ "text-reset": !w.value }, a.headerCloseClass]), O = computed$1(() => ({
|
|
4020
4020
|
variant: w.value ? a.headerCloseVariant : void 0,
|
|
4021
4021
|
class: L.value
|
|
4022
4022
|
})), z = computed$1(() => !isEmptySlot(r.footer)), F = computed$1(() => [
|
|
@@ -4039,29 +4039,29 @@ var normalizeInput = (e, t) => {
|
|
|
4039
4039
|
}));
|
|
4040
4040
|
return watch(B, (Q) => {
|
|
4041
4041
|
a.responsive !== void 0 && (Q === !0 ? (S(!0), requestAnimationFrame(() => {
|
|
4042
|
-
|
|
4042
|
+
A.value = !1;
|
|
4043
4043
|
}), o("breakpoint", R("breakpoint"), !1), o("hide", R("hide"))) : (S(!0), requestAnimationFrame(() => {
|
|
4044
|
-
|
|
4044
|
+
A.value = !0;
|
|
4045
4045
|
}), o("breakpoint", R("breakpoint"), !0), o("show", R("show"))));
|
|
4046
4046
|
}), watch(() => a.responsive, (Q) => {
|
|
4047
4047
|
if (Q === void 0) {
|
|
4048
|
-
|
|
4048
|
+
A.value = !1;
|
|
4049
4049
|
return;
|
|
4050
4050
|
}
|
|
4051
4051
|
const X = !B.value;
|
|
4052
|
-
X !==
|
|
4053
|
-
|
|
4052
|
+
X !== A.value && (S(!0), requestAnimationFrame(() => {
|
|
4053
|
+
A.value = X;
|
|
4054
4054
|
}), o("breakpoint", R("breakpoint"), X), X ? o("show", R("show")) : o("hide", R("hide")));
|
|
4055
4055
|
}), t({
|
|
4056
4056
|
hide: b,
|
|
4057
4057
|
show: v,
|
|
4058
4058
|
toggle: _,
|
|
4059
|
-
isOpenByBreakpoint:
|
|
4059
|
+
isOpenByBreakpoint: A
|
|
4060
4060
|
}), (Q, X) => (openBlock(), createBlock(ConditionalTeleport_default, {
|
|
4061
4061
|
to: unref(a).teleportTo,
|
|
4062
|
-
disabled: unref(a).teleportDisabled ||
|
|
4062
|
+
disabled: unref(a).teleportDisabled || A.value
|
|
4063
4063
|
}, {
|
|
4064
|
-
default: withCtx(() => [unref(m) || unref(k) ||
|
|
4064
|
+
default: withCtx(() => [unref(m) || unref(k) || A.value ? (openBlock(), createBlock(Transition, mergeProps({ key: 0 }, unref(E), { appear: s.value || unref(a).visible }), {
|
|
4065
4065
|
default: withCtx(() => [withDirectives(createElementVNode("div", mergeProps({
|
|
4066
4066
|
id: unref(i),
|
|
4067
4067
|
ref: "_element",
|
|
@@ -4072,24 +4072,24 @@ var normalizeInput = (e, t) => {
|
|
|
4072
4072
|
tabindex: "-1",
|
|
4073
4073
|
"aria-labelledby": `${unref(i)}-offcanvas-label`,
|
|
4074
4074
|
"data-bs-backdrop": "false"
|
|
4075
|
-
}, Q.$attrs), [unref(k) ||
|
|
4075
|
+
}, Q.$attrs), [unref(k) || A.value ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
4076
4076
|
unref(a).noHeader ? createCommentVNode("", !0) : (openBlock(), createElementBlock("div", mergeProps({
|
|
4077
4077
|
key: 0,
|
|
4078
4078
|
class: ["offcanvas-header", unref(a).headerClass]
|
|
4079
4079
|
}, unref(a).headerAttrs), [renderSlot(Q.$slots, "header", normalizeProps(guardReactiveProps(U.value)), () => [createElementVNode("h5", {
|
|
4080
4080
|
id: `${unref(i)}-offcanvas-label`,
|
|
4081
4081
|
class: "offcanvas-title"
|
|
4082
|
-
}, [renderSlot(Q.$slots, "title", normalizeProps(guardReactiveProps(U.value)), () => [createTextVNode(toDisplayString(unref(a).title), 1)])], 8, _hoisted_2$
|
|
4082
|
+
}, [renderSlot(Q.$slots, "title", normalizeProps(guardReactiveProps(U.value)), () => [createTextVNode(toDisplayString(unref(a).title), 1)])], 8, _hoisted_2$1v), unref(a).noHeaderClose ? createCommentVNode("", !0) : (openBlock(), createElementBlock(Fragment, { key: 0 }, [w.value ? (openBlock(), createBlock(BButton_default, mergeProps({
|
|
4083
4083
|
key: 0,
|
|
4084
4084
|
ref: "_close"
|
|
4085
|
-
},
|
|
4085
|
+
}, O.value, { onClick: X[0] || (X[0] = (ne) => unref(b)("close")) }), {
|
|
4086
4086
|
default: withCtx(() => [renderSlot(Q.$slots, "header-close", normalizeProps(guardReactiveProps(U.value)))]),
|
|
4087
4087
|
_: 3
|
|
4088
4088
|
}, 16)) : (openBlock(), createBlock(BCloseButton_default, mergeProps({
|
|
4089
4089
|
key: 1,
|
|
4090
4090
|
ref: "_close",
|
|
4091
4091
|
"aria-label": unref(a).headerCloseLabel
|
|
4092
|
-
},
|
|
4092
|
+
}, O.value, { onClick: X[1] || (X[1] = (ne) => unref(b)("close")) }), null, 16, ["aria-label"]))], 64))])], 16)),
|
|
4093
4093
|
createElementVNode("div", mergeProps({ class: ["offcanvas-body", unref(a).bodyClass] }, unref(a).bodyAttrs), [renderSlot(Q.$slots, "default", normalizeProps(guardReactiveProps(U.value)))], 16),
|
|
4094
4094
|
z.value ? (openBlock(), createElementBlock("div", {
|
|
4095
4095
|
key: 1,
|
|
@@ -4105,7 +4105,7 @@ var normalizeInput = (e, t) => {
|
|
|
4105
4105
|
height: "0",
|
|
4106
4106
|
overflow: "hidden"
|
|
4107
4107
|
}
|
|
4108
|
-
}, null, 512)) : createCommentVNode("", !0)], 16, _hoisted_1$
|
|
4108
|
+
}, null, 512)) : createCommentVNode("", !0)], 16, _hoisted_1$25), [[vShow, unref(p) && (unref(D) && unref(a).backdropFirst || !unref(a).backdropFirst) || A.value]])]),
|
|
4109
4109
|
_: 3
|
|
4110
4110
|
}, 16, ["appear"])) : createCommentVNode("", !0), unref(a).noBackdrop ? createCommentVNode("", !0) : renderSlot(Q.$slots, "backdrop", normalizeProps(mergeProps({ key: 1 }, U.value)), () => [unref(g) ? (openBlock(), createBlock(Transition, normalizeProps(mergeProps({ key: 0 }, unref(I))), {
|
|
4111
4111
|
default: withCtx(() => [withDirectives(createElementVNode("div", {
|
|
@@ -4356,7 +4356,7 @@ var normalizeInput = (e, t) => {
|
|
|
4356
4356
|
class: normalizeClass(["tab-pane active", { "card-body": e.card }])
|
|
4357
4357
|
}, [renderSlot(t.$slots, "empty")], 2)) : createCommentVNode("", !0)], 2));
|
|
4358
4358
|
}
|
|
4359
|
-
}), _hoisted_1$
|
|
4359
|
+
}), _hoisted_1$24 = ["aria-orientation"], _hoisted_2$1u = [
|
|
4360
4360
|
"id",
|
|
4361
4361
|
"aria-controls",
|
|
4362
4362
|
"aria-selected",
|
|
@@ -4536,14 +4536,14 @@ var normalizeInput = (e, t) => {
|
|
|
4536
4536
|
r.value >= 0 && getSafeDocument()?.getElementById(p.value[r.value]?.buttonId)?.focus();
|
|
4537
4537
|
}));
|
|
4538
4538
|
}, R = ($, V) => {
|
|
4539
|
-
let w = $, L = -1,
|
|
4540
|
-
for (let z = 0; z < p.value.length; z++) p.value[z]?.disabled || (L === -1 && (L = z),
|
|
4541
|
-
for (; w >= L && w <=
|
|
4542
|
-
return w < L && (w = L), w >
|
|
4539
|
+
let w = $, L = -1, O = -1;
|
|
4540
|
+
for (let z = 0; z < p.value.length; z++) p.value[z]?.disabled || (L === -1 && (L = z), O = z);
|
|
4541
|
+
for (; w >= L && w <= O && p.value[w]?.disabled; ) w += V;
|
|
4542
|
+
return w < L && (w = L), w > O && (w = O), w;
|
|
4543
4543
|
};
|
|
4544
4544
|
let T, M = !1;
|
|
4545
4545
|
watch(r, ($, V) => {
|
|
4546
|
-
if (p.value.length <= 0 || p.value.filter((
|
|
4546
|
+
if (p.value.length <= 0 || p.value.filter((O) => !O.disabled).length <= 0) return;
|
|
4547
4547
|
if (M) {
|
|
4548
4548
|
M = !1;
|
|
4549
4549
|
return;
|
|
@@ -4562,18 +4562,18 @@ var normalizeInput = (e, t) => {
|
|
|
4562
4562
|
event: L
|
|
4563
4563
|
}), L.defaultPrevented) {
|
|
4564
4564
|
M = !0;
|
|
4565
|
-
const
|
|
4566
|
-
T = void 0, s.value !== p.value[
|
|
4567
|
-
|
|
4565
|
+
const O = T ?? V ?? R(0, 1);
|
|
4566
|
+
T = void 0, s.value !== p.value[O]?.id && (s.value = p.value[O]?.id), nextTick$1(() => {
|
|
4567
|
+
O >= 0 && getSafeDocument()?.getElementById(p.value[O]?.buttonId)?.focus();
|
|
4568
4568
|
});
|
|
4569
4569
|
return;
|
|
4570
4570
|
}
|
|
4571
4571
|
s.value !== p.value[w]?.id && (s.value = p.value[w]?.id), T = void 0;
|
|
4572
4572
|
}), watch(s, ($, V) => {
|
|
4573
|
-
if (p.value.length <= 0 || p.value.filter((
|
|
4574
|
-
const w = p.value.findIndex((
|
|
4573
|
+
if (p.value.length <= 0 || p.value.filter((O) => !O.disabled).length <= 0) return;
|
|
4574
|
+
const w = p.value.findIndex((O) => O.id === $);
|
|
4575
4575
|
if (w === r.value) return;
|
|
4576
|
-
const L = p.value.findIndex((
|
|
4576
|
+
const L = p.value.findIndex((O) => O.id === V);
|
|
4577
4577
|
if (p.value[w]?.disabled) {
|
|
4578
4578
|
r.value = R(w, w > L ? 1 : -1);
|
|
4579
4579
|
return;
|
|
@@ -4601,7 +4601,7 @@ var normalizeInput = (e, t) => {
|
|
|
4601
4601
|
});
|
|
4602
4602
|
const B = () => {
|
|
4603
4603
|
i.value.sort(($, V) => sortSlotElementsByPosition($.value.el.value, V.value.el.value)), s.value && r.value !== p.value.findIndex(($) => $.id === s.value) && (r.value = p.value.findIndex(($) => $.id === s.value));
|
|
4604
|
-
},
|
|
4604
|
+
}, A = ($) => {
|
|
4605
4605
|
i.value = i.value.filter((V) => V.value.internalId !== $);
|
|
4606
4606
|
};
|
|
4607
4607
|
return provide(tabsInjectionKey, {
|
|
@@ -4612,7 +4612,7 @@ var normalizeInput = (e, t) => {
|
|
|
4612
4612
|
inactiveTabClass: toRef(() => n.inactiveTabClass),
|
|
4613
4613
|
tabClass: toRef(() => n.tabClass),
|
|
4614
4614
|
registerTab: S,
|
|
4615
|
-
unregisterTab:
|
|
4615
|
+
unregisterTab: A,
|
|
4616
4616
|
activeId: s,
|
|
4617
4617
|
activateTab: ($) => {
|
|
4618
4618
|
const V = p.value.findIndex((w) => w.internalId === $);
|
|
@@ -4660,23 +4660,23 @@ var normalizeInput = (e, t) => {
|
|
|
4660
4660
|
type: "button"
|
|
4661
4661
|
}, { ref_for: !0 }, w.titleLinkAttrs, {
|
|
4662
4662
|
onKeydown: [
|
|
4663
|
-
V[0] || (V[0] = withKeys(withModifiers((
|
|
4664
|
-
V[1] || (V[1] = withKeys(withModifiers((
|
|
4665
|
-
V[2] || (V[2] = withKeys(withModifiers((
|
|
4666
|
-
V[3] || (V[3] = withKeys(withModifiers((
|
|
4667
|
-
V[4] || (V[4] = withKeys(withModifiers((
|
|
4668
|
-
V[5] || (V[5] = withKeys(withModifiers((
|
|
4669
|
-
V[6] || (V[6] = withKeys(withModifiers((
|
|
4670
|
-
V[7] || (V[7] = withKeys(withModifiers((
|
|
4671
|
-
V[8] || (V[8] = withKeys((
|
|
4672
|
-
V[9] || (V[9] = withKeys((
|
|
4673
|
-
V[10] || (V[10] = withKeys((
|
|
4674
|
-
V[11] || (V[11] = withKeys((
|
|
4663
|
+
V[0] || (V[0] = withKeys(withModifiers((O) => !unref(n).vertical && P(O, -1), ["exact"]), ["left"])),
|
|
4664
|
+
V[1] || (V[1] = withKeys(withModifiers((O) => !unref(n).vertical && P(O, -999), ["shift"]), ["left"])),
|
|
4665
|
+
V[2] || (V[2] = withKeys(withModifiers((O) => unref(n).vertical && P(O, -1), ["exact"]), ["up"])),
|
|
4666
|
+
V[3] || (V[3] = withKeys(withModifiers((O) => unref(n).vertical && P(O, -999), ["shift"]), ["up"])),
|
|
4667
|
+
V[4] || (V[4] = withKeys(withModifiers((O) => !unref(n).vertical && P(O, 1), ["exact"]), ["right"])),
|
|
4668
|
+
V[5] || (V[5] = withKeys(withModifiers((O) => !unref(n).vertical && P(O, 999), ["shift"]), ["right"])),
|
|
4669
|
+
V[6] || (V[6] = withKeys(withModifiers((O) => unref(n).vertical && P(O, 1), ["exact"]), ["down"])),
|
|
4670
|
+
V[7] || (V[7] = withKeys(withModifiers((O) => unref(n).vertical && P(O, 999), ["shift"]), ["down"])),
|
|
4671
|
+
V[8] || (V[8] = withKeys((O) => P(O, -999), ["page-up"])),
|
|
4672
|
+
V[9] || (V[9] = withKeys((O) => P(O, 999), ["page-down"])),
|
|
4673
|
+
V[10] || (V[10] = withKeys((O) => P(O, -999), ["home"])),
|
|
4674
|
+
V[11] || (V[11] = withKeys((O) => P(O, 999), ["end"]))
|
|
4675
4675
|
],
|
|
4676
|
-
onClick: withModifiers((
|
|
4677
|
-
}), [w.titleComponent ? (openBlock(), createBlock(resolveDynamicComponent(w.titleComponent), { key: 0 })) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [createTextVNode(toDisplayString(w.title), 1)], 64))], 16, _hoisted_2$
|
|
4676
|
+
onClick: withModifiers((O) => N(O, L), ["stop"])
|
|
4677
|
+
}), [w.titleComponent ? (openBlock(), createBlock(resolveDynamicComponent(w.titleComponent), { key: 0 })) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [createTextVNode(toDisplayString(w.title), 1)], 64))], 16, _hoisted_2$1u)], 2))), 128)),
|
|
4678
4678
|
renderSlot($.$slots, "tabs-end")
|
|
4679
|
-
], 10, _hoisted_1$
|
|
4679
|
+
], 10, _hoisted_1$24)], 2),
|
|
4680
4680
|
unref(n).end ? createCommentVNode("", !0) : (openBlock(), createBlock(BTabsTabContent_default, normalizeProps(mergeProps({ key: 1 }, k.value)), {
|
|
4681
4681
|
empty: withCtx(() => [renderSlot($.$slots, "empty")]),
|
|
4682
4682
|
default: withCtx(() => [renderSlot($.$slots, "default")]),
|
|
@@ -4787,7 +4787,7 @@ var vBTooltip = createFloatingDirective("$__tooltip", "BTooltip", (e, t, n, a) =
|
|
|
4787
4787
|
title: e.title ?? e.body ?? "",
|
|
4788
4788
|
tooltip: !0
|
|
4789
4789
|
}));
|
|
4790
|
-
const _sfc_main$
|
|
4790
|
+
const _sfc_main$2F = {
|
|
4791
4791
|
name: "VsAccordionToggle",
|
|
4792
4792
|
status: "prototype",
|
|
4793
4793
|
release: "0.0.1",
|
|
@@ -4811,7 +4811,7 @@ const _sfc_main$2D = {
|
|
|
4811
4811
|
}
|
|
4812
4812
|
},
|
|
4813
4813
|
emits: ["toggle-panel"]
|
|
4814
|
-
}, _hoisted_1$
|
|
4814
|
+
}, _hoisted_1$23 = { class: "vs-accordion-toggle__text" }, _hoisted_2$1t = { class: "vs-accordion-toggle__icon" };
|
|
4815
4815
|
function _sfc_render$2k(e, t, n, a, o, r) {
|
|
4816
4816
|
const s = resolveComponent("VsButton");
|
|
4817
4817
|
return openBlock(), createBlock(s, {
|
|
@@ -4824,19 +4824,19 @@ function _sfc_render$2k(e, t, n, a, o, r) {
|
|
|
4824
4824
|
rounded: !1
|
|
4825
4825
|
}, {
|
|
4826
4826
|
default: withCtx(() => [
|
|
4827
|
-
createElementVNode("span", _hoisted_1$
|
|
4827
|
+
createElementVNode("span", _hoisted_1$23, [
|
|
4828
4828
|
renderSlot(e.$slots, "default")
|
|
4829
4829
|
]),
|
|
4830
|
-
createElementVNode("span", _hoisted_2$
|
|
4830
|
+
createElementVNode("span", _hoisted_2$1t, [
|
|
4831
4831
|
n.visible ? renderSlot(e.$slots, "icon-open", {}, void 0, void 0, 0) : renderSlot(e.$slots, "icon-closed", {}, void 0, void 0, 1)
|
|
4832
4832
|
])
|
|
4833
4833
|
]),
|
|
4834
4834
|
_: 3
|
|
4835
4835
|
}, 8, ["aria-expanded", "class", "variant"]);
|
|
4836
4836
|
}
|
|
4837
|
-
const VsAccordionToggle = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4837
|
+
const VsAccordionToggle = /* @__PURE__ */ _export_sfc(_sfc_main$2F, [["render", _sfc_render$2k]]), __default__$1 = {
|
|
4838
4838
|
name: "VsDivider"
|
|
4839
|
-
}, _sfc_main$
|
|
4839
|
+
}, _sfc_main$2E = /* @__PURE__ */ Object.assign(__default__$1, {
|
|
4840
4840
|
props: {
|
|
4841
4841
|
/*
|
|
4842
4842
|
* The color of the border.
|
|
@@ -4859,7 +4859,7 @@ const VsAccordionToggle = /* @__PURE__ */ _export_sfc(_sfc_main$2D, [["render",
|
|
|
4859
4859
|
"aria-hidden": "true"
|
|
4860
4860
|
}, null, 2));
|
|
4861
4861
|
}
|
|
4862
|
-
}), _sfc_main$
|
|
4862
|
+
}), _sfc_main$2D = {
|
|
4863
4863
|
name: "VsAccordionItem",
|
|
4864
4864
|
status: "prototype",
|
|
4865
4865
|
release: "0.0.1",
|
|
@@ -4870,7 +4870,7 @@ const VsAccordionToggle = /* @__PURE__ */ _export_sfc(_sfc_main$2D, [["render",
|
|
|
4870
4870
|
BCardHeader: BCardHeader_default,
|
|
4871
4871
|
BCardBody: BCardBody_default,
|
|
4872
4872
|
VsHeading,
|
|
4873
|
-
VsDivider: _sfc_main$
|
|
4873
|
+
VsDivider: _sfc_main$2E
|
|
4874
4874
|
},
|
|
4875
4875
|
mixins: [
|
|
4876
4876
|
dataLayerMixin
|
|
@@ -5036,58 +5036,58 @@ function _sfc_render$2j(e, t, n, a, o, r) {
|
|
|
5036
5036
|
_: 3
|
|
5037
5037
|
}, 8, ["class"]);
|
|
5038
5038
|
}
|
|
5039
|
-
const VsAccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5039
|
+
const VsAccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$2D, [["render", _sfc_render$2j]]), _sfc_main$2C = {
|
|
5040
5040
|
name: "VsAddress",
|
|
5041
5041
|
status: "prototype",
|
|
5042
5042
|
release: "0.1.0",
|
|
5043
5043
|
components: {
|
|
5044
5044
|
VsIcon
|
|
5045
5045
|
}
|
|
5046
|
-
}, _hoisted_1$
|
|
5046
|
+
}, _hoisted_1$22 = {
|
|
5047
5047
|
class: "vs-address",
|
|
5048
5048
|
"data-test": "vs-address"
|
|
5049
|
-
}, _hoisted_2$
|
|
5049
|
+
}, _hoisted_2$1s = { class: "vs-address__address-box" };
|
|
5050
5050
|
function _sfc_render$2i(e, t, n, a, o, r) {
|
|
5051
5051
|
const s = resolveComponent("VsIcon");
|
|
5052
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
5052
|
+
return openBlock(), createElementBlock("div", _hoisted_1$22, [
|
|
5053
5053
|
createVNode(s, {
|
|
5054
5054
|
icon: "fa-regular fa-location-dot",
|
|
5055
5055
|
class: "vs-address__map-marker me-050"
|
|
5056
5056
|
}),
|
|
5057
|
-
createElementVNode("address", _hoisted_2$
|
|
5057
|
+
createElementVNode("address", _hoisted_2$1s, [
|
|
5058
5058
|
renderSlot(e.$slots, "default")
|
|
5059
5059
|
])
|
|
5060
5060
|
]);
|
|
5061
5061
|
}
|
|
5062
|
-
const Address = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5062
|
+
const Address = /* @__PURE__ */ _export_sfc(_sfc_main$2C, [["render", _sfc_render$2i]]), _sfc_main$2B = {
|
|
5063
5063
|
name: "VsAlert",
|
|
5064
5064
|
status: "prototype",
|
|
5065
5065
|
release: "0.1.0",
|
|
5066
5066
|
components: {
|
|
5067
5067
|
VsIcon
|
|
5068
5068
|
}
|
|
5069
|
-
}, _hoisted_1$
|
|
5069
|
+
}, _hoisted_1$21 = {
|
|
5070
5070
|
class: "vs-alert",
|
|
5071
5071
|
"data-test": "vs-alert"
|
|
5072
|
-
}, _hoisted_2$
|
|
5072
|
+
}, _hoisted_2$1r = { class: "vs-alert__icon-holder" }, _hoisted_3$18 = { class: "vs-alert__content-wrapper" }, _hoisted_4$P = { class: "vs-alert__content" };
|
|
5073
5073
|
function _sfc_render$2h(e, t, n, a, o, r) {
|
|
5074
5074
|
const s = resolveComponent("VsIcon");
|
|
5075
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
5076
|
-
createElementVNode("div", _hoisted_2$
|
|
5075
|
+
return openBlock(), createElementBlock("div", _hoisted_1$21, [
|
|
5076
|
+
createElementVNode("div", _hoisted_2$1r, [
|
|
5077
5077
|
createVNode(s, {
|
|
5078
5078
|
class: "vs-alert__icon",
|
|
5079
5079
|
icon: "vs-icon-feedback-information",
|
|
5080
5080
|
variant: "inverse"
|
|
5081
5081
|
})
|
|
5082
5082
|
]),
|
|
5083
|
-
createElementVNode("div", _hoisted_3$
|
|
5084
|
-
createElementVNode("div", _hoisted_4$
|
|
5083
|
+
createElementVNode("div", _hoisted_3$18, [
|
|
5084
|
+
createElementVNode("div", _hoisted_4$P, [
|
|
5085
5085
|
renderSlot(e.$slots, "default")
|
|
5086
5086
|
])
|
|
5087
5087
|
])
|
|
5088
5088
|
]);
|
|
5089
5089
|
}
|
|
5090
|
-
const VsAlert = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5090
|
+
const VsAlert = /* @__PURE__ */ _export_sfc(_sfc_main$2B, [["render", _sfc_render$2h]]), _sfc_main$2A = {
|
|
5091
5091
|
name: "VsArticle",
|
|
5092
5092
|
status: "deprecated",
|
|
5093
5093
|
release: "0.0.1",
|
|
@@ -5145,7 +5145,7 @@ const VsAlert = /* @__PURE__ */ _export_sfc(_sfc_main$2z, [["render", _sfc_rende
|
|
|
5145
5145
|
)
|
|
5146
5146
|
}
|
|
5147
5147
|
}
|
|
5148
|
-
}, _hoisted_1$
|
|
5148
|
+
}, _hoisted_1$20 = ["id"], _hoisted_2$1q = { class: "vs-article__content" };
|
|
5149
5149
|
function _sfc_render$2g(e, t, n, a, o, r) {
|
|
5150
5150
|
const s = resolveComponent("VsHeading"), i = resolveComponent("VsBody"), l = resolveComponent("VsCol"), c = resolveComponent("VsRow"), d = resolveComponent("VsContainer");
|
|
5151
5151
|
return openBlock(), createElementBlock("article", mergeProps({
|
|
@@ -5184,7 +5184,7 @@ function _sfc_render$2g(e, t, n, a, o, r) {
|
|
|
5184
5184
|
default: withCtx(() => [
|
|
5185
5185
|
createElementVNode("span", {
|
|
5186
5186
|
id: n.anchorLink ? n.anchorLink : ""
|
|
5187
|
-
}, toDisplayString(n.title), 9, _hoisted_1$
|
|
5187
|
+
}, toDisplayString(n.title), 9, _hoisted_1$20)
|
|
5188
5188
|
]),
|
|
5189
5189
|
_: 1
|
|
5190
5190
|
}, 8, ["level", "heading-style", "class"]),
|
|
@@ -5209,7 +5209,7 @@ function _sfc_render$2g(e, t, n, a, o, r) {
|
|
|
5209
5209
|
]),
|
|
5210
5210
|
_: 3
|
|
5211
5211
|
})) : createCommentVNode("", !0),
|
|
5212
|
-
createElementVNode("div", _hoisted_2$
|
|
5212
|
+
createElementVNode("div", _hoisted_2$1q, [
|
|
5213
5213
|
renderSlot(e.$slots, "default")
|
|
5214
5214
|
])
|
|
5215
5215
|
]),
|
|
@@ -5230,7 +5230,7 @@ function _sfc_render$2g(e, t, n, a, o, r) {
|
|
|
5230
5230
|
})
|
|
5231
5231
|
], 16);
|
|
5232
5232
|
}
|
|
5233
|
-
const Article = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5233
|
+
const Article = /* @__PURE__ */ _export_sfc(_sfc_main$2A, [["render", _sfc_render$2g]]), _sfc_main$2z = {
|
|
5234
5234
|
name: "VsArticleSection",
|
|
5235
5235
|
status: "deprecated",
|
|
5236
5236
|
release: "0.0.1",
|
|
@@ -5311,7 +5311,7 @@ function _sfc_render$2f(e, t, n, a, o, r) {
|
|
|
5311
5311
|
})
|
|
5312
5312
|
], 2);
|
|
5313
5313
|
}
|
|
5314
|
-
const ArticleSection = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5314
|
+
const ArticleSection = /* @__PURE__ */ _export_sfc(_sfc_main$2z, [["render", _sfc_render$2f]]), _sfc_main$2y = {
|
|
5315
5315
|
name: "VsArticleSidebar",
|
|
5316
5316
|
status: "deprecated",
|
|
5317
5317
|
release: "0.0.1",
|
|
@@ -5350,10 +5350,10 @@ function _sfc_render$2e(e, t, n, a, o, r) {
|
|
|
5350
5350
|
], 2)) : createCommentVNode("", !0)
|
|
5351
5351
|
], 2);
|
|
5352
5352
|
}
|
|
5353
|
-
const ArticleSidebar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5353
|
+
const ArticleSidebar = /* @__PURE__ */ _export_sfc(_sfc_main$2y, [["render", _sfc_render$2e]]), _hoisted_1$1$ = {
|
|
5354
5354
|
class: "vs-back-to-top",
|
|
5355
5355
|
"data-test": "vs-back-to-top"
|
|
5356
|
-
}, _sfc_main$
|
|
5356
|
+
}, _sfc_main$2x = {
|
|
5357
5357
|
__name: "BackToTop",
|
|
5358
5358
|
props: {
|
|
5359
5359
|
/**
|
|
@@ -5386,7 +5386,7 @@ const ArticleSidebar = /* @__PURE__ */ _export_sfc(_sfc_main$2w, [["render", _sf
|
|
|
5386
5386
|
window.addEventListener("scroll", a);
|
|
5387
5387
|
}), onUnmounted(() => {
|
|
5388
5388
|
window.removeEventListener("scroll", a);
|
|
5389
|
-
}), (r, s) => (openBlock(), createElementBlock("div", _hoisted_1$
|
|
5389
|
+
}), (r, s) => (openBlock(), createElementBlock("div", _hoisted_1$1$, [
|
|
5390
5390
|
n.value ? (openBlock(), createBlock(VsButton, {
|
|
5391
5391
|
key: 0,
|
|
5392
5392
|
icon: "vs-icon-control-back-to-top",
|
|
@@ -5401,7 +5401,7 @@ const ArticleSidebar = /* @__PURE__ */ _export_sfc(_sfc_main$2w, [["render", _sf
|
|
|
5401
5401
|
})) : createCommentVNode("", !0)
|
|
5402
5402
|
]));
|
|
5403
5403
|
}
|
|
5404
|
-
}, _sfc_main$
|
|
5404
|
+
}, _sfc_main$2w = {
|
|
5405
5405
|
name: "VsBadge",
|
|
5406
5406
|
status: "prototype",
|
|
5407
5407
|
release: "0.0.1",
|
|
@@ -5442,7 +5442,7 @@ function _sfc_render$2d(e, t, n, a, o, r) {
|
|
|
5442
5442
|
})
|
|
5443
5443
|
], 2);
|
|
5444
5444
|
}
|
|
5445
|
-
const VsBadge = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5445
|
+
const VsBadge = /* @__PURE__ */ _export_sfc(_sfc_main$2w, [["render", _sfc_render$2d]]), cookieMixin = {
|
|
5446
5446
|
computed: {
|
|
5447
5447
|
selectedLanguage() {
|
|
5448
5448
|
return this.language.substr(0, 2).toUpperCase();
|
|
@@ -5467,7 +5467,7 @@ const VsBadge = /* @__PURE__ */ _export_sfc(_sfc_main$2u, [["render", _sfc_rende
|
|
|
5467
5467
|
document.cookie = o;
|
|
5468
5468
|
}
|
|
5469
5469
|
}
|
|
5470
|
-
}, _sfc_main$
|
|
5470
|
+
}, _sfc_main$2v = {
|
|
5471
5471
|
name: "VsBanner",
|
|
5472
5472
|
status: "prototype",
|
|
5473
5473
|
release: "0.0.1",
|
|
@@ -5522,18 +5522,18 @@ const VsBadge = /* @__PURE__ */ _export_sfc(_sfc_main$2u, [["render", _sfc_rende
|
|
|
5522
5522
|
this.setCookie("vs_showbanner", this.showBanner, !e, !0);
|
|
5523
5523
|
}
|
|
5524
5524
|
}
|
|
5525
|
-
}, _hoisted_1$
|
|
5525
|
+
}, _hoisted_1$1_ = {
|
|
5526
5526
|
key: 0,
|
|
5527
5527
|
class: "vs-banner",
|
|
5528
5528
|
"data-test": "vs-banner",
|
|
5529
5529
|
role: "banner"
|
|
5530
|
-
}, _hoisted_2$
|
|
5530
|
+
}, _hoisted_2$1p = {
|
|
5531
5531
|
key: 0,
|
|
5532
5532
|
class: "vs-banner__cta-link"
|
|
5533
5533
|
};
|
|
5534
5534
|
function _sfc_render$2c(e, t, n, a, o, r) {
|
|
5535
5535
|
const s = resolveComponent("VsIcon"), i = resolveComponent("VsCol"), l = resolveComponent("VsBody"), c = resolveComponent("VsRow"), d = resolveComponent("VsButton"), u = resolveComponent("VsContainer");
|
|
5536
|
-
return o.showBanner ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
5536
|
+
return o.showBanner ? (openBlock(), createElementBlock("div", _hoisted_1$1_, [
|
|
5537
5537
|
createVNode(u, null, {
|
|
5538
5538
|
default: withCtx(() => [
|
|
5539
5539
|
createVNode(c, null, {
|
|
@@ -5566,7 +5566,7 @@ function _sfc_render$2c(e, t, n, a, o, r) {
|
|
|
5566
5566
|
}, {
|
|
5567
5567
|
default: withCtx(() => [
|
|
5568
5568
|
renderSlot(e.$slots, "banner-text"),
|
|
5569
|
-
e.$slots["banner-cta"] ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
5569
|
+
e.$slots["banner-cta"] ? (openBlock(), createElementBlock("span", _hoisted_2$1p, [
|
|
5570
5570
|
renderSlot(e.$slots, "banner-cta")
|
|
5571
5571
|
])) : createCommentVNode("", !0)
|
|
5572
5572
|
]),
|
|
@@ -5608,7 +5608,7 @@ function _sfc_render$2c(e, t, n, a, o, r) {
|
|
|
5608
5608
|
})
|
|
5609
5609
|
])) : createCommentVNode("", !0);
|
|
5610
5610
|
}
|
|
5611
|
-
const Banner = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5611
|
+
const Banner = /* @__PURE__ */ _export_sfc(_sfc_main$2v, [["render", _sfc_render$2c]]), _sfc_main$2u = {
|
|
5612
5612
|
name: "VsArticleDetails",
|
|
5613
5613
|
status: "prototype",
|
|
5614
5614
|
release: "0.0.1",
|
|
@@ -5643,24 +5643,24 @@ const Banner = /* @__PURE__ */ _export_sfc(_sfc_main$2t, [["render", _sfc_render
|
|
|
5643
5643
|
return this.articleAuthor ? "secondary" : "highlight";
|
|
5644
5644
|
}
|
|
5645
5645
|
}
|
|
5646
|
-
}, _hoisted_1$
|
|
5646
|
+
}, _hoisted_1$1Z = {
|
|
5647
5647
|
key: 0,
|
|
5648
5648
|
class: "vs-article-details",
|
|
5649
5649
|
"data-test": "vs-article-details"
|
|
5650
|
-
}, _hoisted_2$
|
|
5650
|
+
}, _hoisted_2$1o = {
|
|
5651
5651
|
key: 0,
|
|
5652
5652
|
class: "vs-article-details__author vs-article-details--highlight"
|
|
5653
|
-
}, _hoisted_3$
|
|
5653
|
+
}, _hoisted_3$17 = {
|
|
5654
5654
|
key: 1,
|
|
5655
5655
|
class: "vs-article-details__date"
|
|
5656
|
-
}, _hoisted_4$
|
|
5656
|
+
}, _hoisted_4$O = {
|
|
5657
5657
|
key: 0,
|
|
5658
5658
|
class: "vs-article-details__divider"
|
|
5659
5659
|
};
|
|
5660
5660
|
function _sfc_render$2b(e, t, n, a, o, r) {
|
|
5661
5661
|
const s = resolveComponent("VsIcon");
|
|
5662
|
-
return n.articleAuthor || n.articleReadTime || n.articlePublishDate ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
5663
|
-
n.articleAuthor ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
5662
|
+
return n.articleAuthor || n.articleReadTime || n.articlePublishDate ? (openBlock(), createElementBlock("div", _hoisted_1$1Z, [
|
|
5663
|
+
n.articleAuthor ? (openBlock(), createElementBlock("div", _hoisted_2$1o, toDisplayString(n.articleAuthor), 1)) : createCommentVNode("", !0),
|
|
5664
5664
|
n.articleReadTime || n.articlePublishDate ? (openBlock(), createElementBlock("div", {
|
|
5665
5665
|
key: 1,
|
|
5666
5666
|
"data-test": "vs-article-details__date-time",
|
|
@@ -5674,27 +5674,27 @@ function _sfc_render$2b(e, t, n, a, o, r) {
|
|
|
5674
5674
|
}, null, 8, ["variant"]),
|
|
5675
5675
|
createTextVNode(toDisplayString(n.articleReadTime), 1)
|
|
5676
5676
|
], 64)) : createCommentVNode("", !0),
|
|
5677
|
-
n.articlePublishDate ? (openBlock(), createElementBlock("span", _hoisted_3$
|
|
5678
|
-
n.articleReadTime ? (openBlock(), createElementBlock("span", _hoisted_4$
|
|
5677
|
+
n.articlePublishDate ? (openBlock(), createElementBlock("span", _hoisted_3$17, [
|
|
5678
|
+
n.articleReadTime ? (openBlock(), createElementBlock("span", _hoisted_4$O, "•")) : createCommentVNode("", !0),
|
|
5679
5679
|
createTextVNode(" " + toDisplayString(n.articlePublishDate), 1)
|
|
5680
5680
|
])) : createCommentVNode("", !0)
|
|
5681
5681
|
], 2)) : createCommentVNode("", !0)
|
|
5682
5682
|
])) : createCommentVNode("", !0);
|
|
5683
5683
|
}
|
|
5684
|
-
const ArticleDetails = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5684
|
+
const ArticleDetails = /* @__PURE__ */ _export_sfc(_sfc_main$2u, [["render", _sfc_render$2b]]), _sfc_main$2t = {
|
|
5685
5685
|
name: "VsBreadcrumb",
|
|
5686
5686
|
status: "prototype",
|
|
5687
5687
|
release: "0.0.1",
|
|
5688
5688
|
components: {
|
|
5689
5689
|
BBreadcrumb: BBreadcrumb_default
|
|
5690
5690
|
}
|
|
5691
|
-
}, _hoisted_1$
|
|
5691
|
+
}, _hoisted_1$1Y = {
|
|
5692
5692
|
"aria-label": "breadcrumbs",
|
|
5693
5693
|
class: "vs-breadcrumb py-050"
|
|
5694
5694
|
};
|
|
5695
5695
|
function _sfc_render$2a(e, t, n, a, o, r) {
|
|
5696
5696
|
const s = resolveComponent("BBreadcrumb");
|
|
5697
|
-
return openBlock(), createElementBlock("nav", _hoisted_1$
|
|
5697
|
+
return openBlock(), createElementBlock("nav", _hoisted_1$1Y, [
|
|
5698
5698
|
createVNode(s, mergeProps({ class: "flex-nowrap p-0 mb-0" }, e.$attrs), {
|
|
5699
5699
|
default: withCtx(() => [
|
|
5700
5700
|
renderSlot(e.$slots, "default")
|
|
@@ -5703,7 +5703,7 @@ function _sfc_render$2a(e, t, n, a, o, r) {
|
|
|
5703
5703
|
}, 16)
|
|
5704
5704
|
]);
|
|
5705
5705
|
}
|
|
5706
|
-
const Breadcrumb = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5706
|
+
const Breadcrumb = /* @__PURE__ */ _export_sfc(_sfc_main$2t, [["render", _sfc_render$2a]]), _sfc_main$2s = {
|
|
5707
5707
|
name: "VsBreadcrumbItem",
|
|
5708
5708
|
status: "prototype",
|
|
5709
5709
|
release: "0.0.1",
|
|
@@ -5751,7 +5751,7 @@ function _sfc_render$29(e, t, n, a, o, r) {
|
|
|
5751
5751
|
text: n.text
|
|
5752
5752
|
}, e.$attrs), null, 16, ["active", "aria-current", "href", "text"]);
|
|
5753
5753
|
}
|
|
5754
|
-
const BreadcrumbItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5754
|
+
const BreadcrumbItem = /* @__PURE__ */ _export_sfc(_sfc_main$2s, [["render", _sfc_render$29]]);
|
|
5755
5755
|
let currentURL = "";
|
|
5756
5756
|
typeof window < "u" && (currentURL = window.location.href);
|
|
5757
5757
|
const dmoAnalyticsLogic = (e) => {
|
|
@@ -5769,7 +5769,7 @@ const dmoAnalyticsLogic = (e) => {
|
|
|
5769
5769
|
e.target.href.includes(s) && (t = !0, r = a("True"));
|
|
5770
5770
|
}), t || (r = a("False")), r;
|
|
5771
5771
|
})();
|
|
5772
|
-
}, _sfc_main$
|
|
5772
|
+
}, _sfc_main$2r = {
|
|
5773
5773
|
name: "VsLink",
|
|
5774
5774
|
status: "prototype",
|
|
5775
5775
|
release: "0.0.2",
|
|
@@ -5896,7 +5896,7 @@ const dmoAnalyticsLogic = (e) => {
|
|
|
5896
5896
|
(e.keyCode === 13 || e.keyCode === 32) && (e.preventDefault(), this.clickHandler(e));
|
|
5897
5897
|
}
|
|
5898
5898
|
}
|
|
5899
|
-
}, _hoisted_1$
|
|
5899
|
+
}, _hoisted_1$1X = ["href", "download", "disabled", "tabindex"];
|
|
5900
5900
|
function _sfc_render$28(e, t, n, a, o, r) {
|
|
5901
5901
|
const s = resolveComponent("VsIcon");
|
|
5902
5902
|
return openBlock(), createElementBlock("a", mergeProps({
|
|
@@ -5918,9 +5918,9 @@ function _sfc_render$28(e, t, n, a, o, r) {
|
|
|
5918
5918
|
size: n.iconSize,
|
|
5919
5919
|
class: "ms-025 vs-link__icon"
|
|
5920
5920
|
}, null, 8, ["icon", "variant", "size"])) : createCommentVNode("", !0)
|
|
5921
|
-
], 16, _hoisted_1$
|
|
5921
|
+
], 16, _hoisted_1$1X);
|
|
5922
5922
|
}
|
|
5923
|
-
const VsLink = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5923
|
+
const VsLink = /* @__PURE__ */ _export_sfc(_sfc_main$2r, [["render", _sfc_render$28]]), _sfc_main$2q = {
|
|
5924
5924
|
name: "VsCannedSearchProductCard",
|
|
5925
5925
|
status: "prototype",
|
|
5926
5926
|
release: "0.0.1",
|
|
@@ -6025,10 +6025,10 @@ const VsLink = /* @__PURE__ */ _export_sfc(_sfc_main$2p, [["render", _sfc_render
|
|
|
6025
6025
|
return this.visibleSlides.indexOf(e) >= 0;
|
|
6026
6026
|
}
|
|
6027
6027
|
}
|
|
6028
|
-
}, _hoisted_1$
|
|
6028
|
+
}, _hoisted_1$1W = { class: "vs-product-card__image-container" }, _hoisted_2$1n = { class: "vs-product-card__image-inner-container" }, _hoisted_3$16 = { class: "vs-product-card__description" }, _hoisted_4$N = {
|
|
6029
6029
|
key: 0,
|
|
6030
6030
|
class: "vs-product-card__description-inner"
|
|
6031
|
-
}, _hoisted_5$
|
|
6031
|
+
}, _hoisted_5$A = { class: "visually-hidden" }, _hoisted_6$n = {
|
|
6032
6032
|
class: "vs-product-card__logos-container",
|
|
6033
6033
|
"data-chromatic": "ignore"
|
|
6034
6034
|
};
|
|
@@ -6048,8 +6048,8 @@ function _sfc_render$27(e, t, n, a, o, r) {
|
|
|
6048
6048
|
"data-test": "vs-product-card"
|
|
6049
6049
|
}, [
|
|
6050
6050
|
createElementVNode("section", mergeProps({ class: "card" }, e.$attrs), [
|
|
6051
|
-
createElementVNode("div", _hoisted_1$
|
|
6052
|
-
createElementVNode("div", _hoisted_2$
|
|
6051
|
+
createElementVNode("div", _hoisted_1$1W, [
|
|
6052
|
+
createElementVNode("div", _hoisted_2$1n, [
|
|
6053
6053
|
createVNode(s, {
|
|
6054
6054
|
src: n.imgSrc,
|
|
6055
6055
|
alt: "",
|
|
@@ -6089,9 +6089,9 @@ function _sfc_render$27(e, t, n, a, o, r) {
|
|
|
6089
6089
|
renderSlot(e.$slots, "vs-canned-search-sub-heading"),
|
|
6090
6090
|
renderSlot(e.$slots, "vs-canned-search-star-rating"),
|
|
6091
6091
|
renderSlot(e.$slots, "vs-canned-search-categories"),
|
|
6092
|
-
createElementVNode("div", _hoisted_3$
|
|
6092
|
+
createElementVNode("div", _hoisted_3$16, [
|
|
6093
6093
|
renderSlot(e.$slots, "vs-canned-search-tour-info"),
|
|
6094
|
-
n.description ? (openBlock(), createElementBlock("p", _hoisted_4$
|
|
6094
|
+
n.description ? (openBlock(), createElementBlock("p", _hoisted_4$N, toDisplayString(n.description), 1)) : createCommentVNode("", !0),
|
|
6095
6095
|
createVNode(i, {
|
|
6096
6096
|
href: n.detailLink.link,
|
|
6097
6097
|
class: "vs-product-card__description-link",
|
|
@@ -6099,13 +6099,13 @@ function _sfc_render$27(e, t, n, a, o, r) {
|
|
|
6099
6099
|
}, {
|
|
6100
6100
|
default: withCtx(() => [
|
|
6101
6101
|
createTextVNode(toDisplayString(n.detailLink.label) + " ", 1),
|
|
6102
|
-
createElementVNode("span", _hoisted_5$
|
|
6102
|
+
createElementVNode("span", _hoisted_5$A, ": " + toDisplayString(n.title), 1)
|
|
6103
6103
|
]),
|
|
6104
6104
|
_: 1
|
|
6105
6105
|
}, 8, ["href", "disabled"])
|
|
6106
6106
|
])
|
|
6107
6107
|
], 2),
|
|
6108
|
-
createElementVNode("div", _hoisted_6$
|
|
6108
|
+
createElementVNode("div", _hoisted_6$n, [
|
|
6109
6109
|
renderSlot(e.$slots, "vs-canned-search-logos")
|
|
6110
6110
|
])
|
|
6111
6111
|
], 16),
|
|
@@ -6115,7 +6115,7 @@ function _sfc_render$27(e, t, n, a, o, r) {
|
|
|
6115
6115
|
_: 3
|
|
6116
6116
|
}, 8, ["cols", "sm", "lg", "xl", "aria-disabled"]);
|
|
6117
6117
|
}
|
|
6118
|
-
const VsCannedSearchProductCard = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6118
|
+
const VsCannedSearchProductCard = /* @__PURE__ */ _export_sfc(_sfc_main$2q, [["render", _sfc_render$27]]), _sfc_main$2p = {
|
|
6119
6119
|
name: "VsCannedSearchStars",
|
|
6120
6120
|
status: "prototype",
|
|
6121
6121
|
release: "0.0.1",
|
|
@@ -6137,16 +6137,16 @@ const VsCannedSearchProductCard = /* @__PURE__ */ _export_sfc(_sfc_main$2o, [["r
|
|
|
6137
6137
|
default: null
|
|
6138
6138
|
}
|
|
6139
6139
|
}
|
|
6140
|
-
}, _hoisted_1$
|
|
6140
|
+
}, _hoisted_1$1V = {
|
|
6141
6141
|
class: "vs-canned-search-stars",
|
|
6142
6142
|
"data-test": "vs-canned-search-stars"
|
|
6143
|
-
}, _hoisted_2$
|
|
6143
|
+
}, _hoisted_2$1m = { key: 0 }, _hoisted_3$15 = { key: 1 };
|
|
6144
6144
|
function _sfc_render$26(e, t, n, a, o, r) {
|
|
6145
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
6146
|
-
n.min && n.max && n.min !== n.max ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
6145
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1V, [
|
|
6146
|
+
n.min && n.max && n.min !== n.max ? (openBlock(), createElementBlock("div", _hoisted_2$1m, [
|
|
6147
6147
|
t[0] || (t[0] = createElementVNode("span", { class: "vs-canned-search-stars__star" }, " ★ ", -1)),
|
|
6148
6148
|
createTextVNode(" " + toDisplayString(n.min) + "-" + toDisplayString(n.max), 1)
|
|
6149
|
-
])) : (openBlock(), createElementBlock("div", _hoisted_3$
|
|
6149
|
+
])) : (openBlock(), createElementBlock("div", _hoisted_3$15, [
|
|
6150
6150
|
(openBlock(!0), createElementBlock(Fragment, null, renderList(n.min, (s) => (openBlock(), createElementBlock("span", {
|
|
6151
6151
|
key: s,
|
|
6152
6152
|
class: "vs-canned-search-stars__star"
|
|
@@ -6154,7 +6154,7 @@ function _sfc_render$26(e, t, n, a, o, r) {
|
|
|
6154
6154
|
]))
|
|
6155
6155
|
]);
|
|
6156
6156
|
}
|
|
6157
|
-
const VsCannedSearchStars = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6157
|
+
const VsCannedSearchStars = /* @__PURE__ */ _export_sfc(_sfc_main$2p, [["render", _sfc_render$26]]), min$2 = Math.min, max$2 = Math.max, round = Math.round, floor = Math.floor, createCoords = (e) => ({
|
|
6158
6158
|
x: e,
|
|
6159
6159
|
y: e
|
|
6160
6160
|
}), oppositeSideMap = {
|
|
@@ -6429,17 +6429,17 @@ const MAX_RESET_COUNT = 50, computePosition$1 = async (e, t, n) => {
|
|
|
6429
6429
|
}, p = getAlignmentAxis(o), m = getAxisLength(p), g = await s.getDimensions(c), b = p === "y", v = b ? "top" : "left", _ = b ? "bottom" : "right", C = b ? "clientHeight" : "clientWidth", k = r.reference[m] + r.reference[p] - f[p] - r.floating[m], E = f[p] - r.reference[p], D = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(c));
|
|
6430
6430
|
let I = D ? D[C] : 0;
|
|
6431
6431
|
(!I || !await (s.isElement == null ? void 0 : s.isElement(D))) && (I = i.floating[C] || r.floating[m]);
|
|
6432
|
-
const N = k / 2 - E / 2, P = I / 2 - g[m] / 2 - 1, R = min$2(u[v], P), T = min$2(u[_], P), M = I - g[m] - T, S = I / 2 - g[m] / 2 + N, B = clamp(R, S, M),
|
|
6432
|
+
const N = k / 2 - E / 2, P = I / 2 - g[m] / 2 - 1, R = min$2(u[v], P), T = min$2(u[_], P), M = I - g[m] - T, S = I / 2 - g[m] / 2 + N, B = clamp(R, S, M), A = !l.arrow && getAlignment(o) != null && S !== B && r.reference[m] / 2 - (S < R ? R : T) - g[m] / 2 < 0, $ = A ? S < R ? S - R : S - M : 0;
|
|
6433
6433
|
return {
|
|
6434
6434
|
[p]: f[p] + $,
|
|
6435
6435
|
data: {
|
|
6436
6436
|
[p]: B,
|
|
6437
6437
|
centerOffset: S - B - $,
|
|
6438
|
-
...
|
|
6438
|
+
...A && {
|
|
6439
6439
|
alignmentOffset: $
|
|
6440
6440
|
}
|
|
6441
6441
|
},
|
|
6442
|
-
reset:
|
|
6442
|
+
reset: A
|
|
6443
6443
|
};
|
|
6444
6444
|
}
|
|
6445
6445
|
}), flip$1 = function(e) {
|
|
@@ -6479,8 +6479,8 @@ const MAX_RESET_COUNT = 50, computePosition$1 = async (e, t, n) => {
|
|
|
6479
6479
|
overflows: P
|
|
6480
6480
|
}], !P.every((B) => B <= 0)) {
|
|
6481
6481
|
var T, M;
|
|
6482
|
-
const B = (((T = r.flip) == null ? void 0 : T.index) || 0) + 1,
|
|
6483
|
-
if (
|
|
6482
|
+
const B = (((T = r.flip) == null ? void 0 : T.index) || 0) + 1, A = I[B];
|
|
6483
|
+
if (A && (!(u === "alignment" ? _ !== getSideAxis(A) : !1) || // We leave the current main axis only if every placement on that axis
|
|
6484
6484
|
// overflows the main axis.
|
|
6485
6485
|
R.every((w) => getSideAxis(w.placement) === _ ? w.overflows[0] > 0 : !0)))
|
|
6486
6486
|
return {
|
|
@@ -6489,7 +6489,7 @@ const MAX_RESET_COUNT = 50, computePosition$1 = async (e, t, n) => {
|
|
|
6489
6489
|
overflows: R
|
|
6490
6490
|
},
|
|
6491
6491
|
reset: {
|
|
6492
|
-
placement:
|
|
6492
|
+
placement: A
|
|
6493
6493
|
}
|
|
6494
6494
|
};
|
|
6495
6495
|
let $ = (M = R.filter((V) => V.overflows[0] <= 0).sort((V, w) => V.overflows[1] - w.overflows[1])[0]) == null ? void 0 : M.placement;
|
|
@@ -6505,7 +6505,7 @@ const MAX_RESET_COUNT = 50, computePosition$1 = async (e, t, n) => {
|
|
|
6505
6505
|
L === "y";
|
|
6506
6506
|
}
|
|
6507
6507
|
return !0;
|
|
6508
|
-
}).map((w) => [w.placement, w.overflows.filter((L) => L > 0).reduce((L,
|
|
6508
|
+
}).map((w) => [w.placement, w.overflows.filter((L) => L > 0).reduce((L, O) => L + O, 0)]).sort((w, L) => w[1] - L[1])[0]) == null ? void 0 : S[0];
|
|
6509
6509
|
V && ($ = V);
|
|
6510
6510
|
break;
|
|
6511
6511
|
}
|
|
@@ -7117,7 +7117,7 @@ const offset = offset$1, shift = shift$1, flip = flip$1, arrow = arrow$1, comput
|
|
|
7117
7117
|
...o,
|
|
7118
7118
|
platform: r
|
|
7119
7119
|
});
|
|
7120
|
-
}, _sfc_main$
|
|
7120
|
+
}, _sfc_main$2o = {
|
|
7121
7121
|
name: "VsTooltip",
|
|
7122
7122
|
components: {
|
|
7123
7123
|
VsButton
|
|
@@ -7265,7 +7265,7 @@ const offset = offset$1, shift = shift$1, flip = flip$1, arrow = arrow$1, comput
|
|
|
7265
7265
|
};
|
|
7266
7266
|
}
|
|
7267
7267
|
}
|
|
7268
|
-
}, _hoisted_1$
|
|
7268
|
+
}, _hoisted_1$1U = ["aria-describedby"], _hoisted_2$1l = ["id"];
|
|
7269
7269
|
function _sfc_render$25(e, t, n, a, o, r) {
|
|
7270
7270
|
const s = resolveComponent("VsButton"), i = resolveDirective("b-tooltip");
|
|
7271
7271
|
return n.useLegacy ? withDirectives((openBlock(), createBlock(s, mergeProps({ key: 1 }, e.$attrs, {
|
|
@@ -7291,7 +7291,7 @@ function _sfc_render$25(e, t, n, a, o, r) {
|
|
|
7291
7291
|
onKeydown: t[4] || (t[4] = withKeys((...l) => r.hide && r.hide(...l), ["escape"]))
|
|
7292
7292
|
}), [
|
|
7293
7293
|
renderSlot(e.$slots, "default")
|
|
7294
|
-
], 16, _hoisted_1$
|
|
7294
|
+
], 16, _hoisted_1$1U),
|
|
7295
7295
|
o.visible && n.title ? (openBlock(), createElementBlock("div", {
|
|
7296
7296
|
key: 0,
|
|
7297
7297
|
ref: "tooltip",
|
|
@@ -7307,10 +7307,10 @@ function _sfc_render$25(e, t, n, a, o, r) {
|
|
|
7307
7307
|
class: "vs-tooltip__arrow",
|
|
7308
7308
|
style: normalizeStyle(o.arrowStyles)
|
|
7309
7309
|
}, null, 4)
|
|
7310
|
-
], 14, _hoisted_2$
|
|
7310
|
+
], 14, _hoisted_2$1l)) : createCommentVNode("", !0)
|
|
7311
7311
|
], 64));
|
|
7312
7312
|
}
|
|
7313
|
-
const VsTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7313
|
+
const VsTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$2o, [["render", _sfc_render$25]]), _sfc_main$2n = {
|
|
7314
7314
|
name: "VsCannedSearchLogos",
|
|
7315
7315
|
status: "prototype",
|
|
7316
7316
|
release: "0.0.1",
|
|
@@ -7353,10 +7353,10 @@ const VsTooltip = /* @__PURE__ */ _export_sfc(_sfc_main$2m, [["render", _sfc_ren
|
|
|
7353
7353
|
default: null
|
|
7354
7354
|
}
|
|
7355
7355
|
}
|
|
7356
|
-
}, _hoisted_1$
|
|
7356
|
+
}, _hoisted_1$1T = { class: "vs-canned-search-logos" };
|
|
7357
7357
|
function _sfc_render$24(e, t, n, a, o, r) {
|
|
7358
7358
|
const s = resolveComponent("VsImg"), i = resolveComponent("VsTooltip");
|
|
7359
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
7359
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1T, [
|
|
7360
7360
|
n.goodToGoLogo ? (openBlock(), createBlock(i, {
|
|
7361
7361
|
key: 0,
|
|
7362
7362
|
title: n.goodToGoLogo.name,
|
|
@@ -7435,7 +7435,7 @@ function _sfc_render$24(e, t, n, a, o, r) {
|
|
|
7435
7435
|
}, 8, ["title", "disabled", "tabindex"])) : createCommentVNode("", !0)
|
|
7436
7436
|
]);
|
|
7437
7437
|
}
|
|
7438
|
-
const VsCannedSearchLogos = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7438
|
+
const VsCannedSearchLogos = /* @__PURE__ */ _export_sfc(_sfc_main$2n, [["render", _sfc_render$24]]), _sfc_main$2m = {
|
|
7439
7439
|
name: "VsCannedSearchCategories",
|
|
7440
7440
|
status: "prototype",
|
|
7441
7441
|
release: "0.0.1",
|
|
@@ -7458,14 +7458,14 @@ const VsCannedSearchLogos = /* @__PURE__ */ _export_sfc(_sfc_main$2l, [["render"
|
|
|
7458
7458
|
return this.categories ? this.categories.slice(0, 3).map((e) => e.name).join(" | ") : "";
|
|
7459
7459
|
}
|
|
7460
7460
|
}
|
|
7461
|
-
}, _hoisted_1$
|
|
7461
|
+
}, _hoisted_1$1S = {
|
|
7462
7462
|
class: "vs-canned-search-categories",
|
|
7463
7463
|
"data-test": "vs-canned-search-categories"
|
|
7464
7464
|
};
|
|
7465
7465
|
function _sfc_render$23(e, t, n, a, o, r) {
|
|
7466
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
7466
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1S, toDisplayString(r.transformedCategories), 1);
|
|
7467
7467
|
}
|
|
7468
|
-
const VsCannedSearchCategories = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7468
|
+
const VsCannedSearchCategories = /* @__PURE__ */ _export_sfc(_sfc_main$2m, [["render", _sfc_render$23]]), _sfc_main$2l = {
|
|
7469
7469
|
name: "VsCannedSearchPrice",
|
|
7470
7470
|
status: "prototype",
|
|
7471
7471
|
release: "0.0.1",
|
|
@@ -7492,24 +7492,24 @@ const VsCannedSearchCategories = /* @__PURE__ */ _export_sfc(_sfc_main$2k, [["re
|
|
|
7492
7492
|
default: ""
|
|
7493
7493
|
}
|
|
7494
7494
|
}
|
|
7495
|
-
}, _hoisted_1$
|
|
7495
|
+
}, _hoisted_1$1R = { class: "vs-canned-search-price" }, _hoisted_2$1k = {
|
|
7496
7496
|
key: 0,
|
|
7497
7497
|
class: "vs-canned-search-price__intro"
|
|
7498
|
-
}, _hoisted_3$
|
|
7498
|
+
}, _hoisted_3$14 = {
|
|
7499
7499
|
key: 1,
|
|
7500
7500
|
class: "vs-canned-search-price__main"
|
|
7501
|
-
}, _hoisted_4$
|
|
7501
|
+
}, _hoisted_4$M = {
|
|
7502
7502
|
key: 2,
|
|
7503
7503
|
class: "vs-canned-search-price__outro"
|
|
7504
7504
|
};
|
|
7505
7505
|
function _sfc_render$22(e, t, n, a, o, r) {
|
|
7506
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
7507
|
-
n.priceIntro ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
7508
|
-
n.price ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
7509
|
-
n.priceOutro ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
7506
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1R, [
|
|
7507
|
+
n.priceIntro ? (openBlock(), createElementBlock("div", _hoisted_2$1k, toDisplayString(n.priceIntro), 1)) : createCommentVNode("", !0),
|
|
7508
|
+
n.price ? (openBlock(), createElementBlock("div", _hoisted_3$14, toDisplayString(n.price), 1)) : createCommentVNode("", !0),
|
|
7509
|
+
n.priceOutro ? (openBlock(), createElementBlock("div", _hoisted_4$M, toDisplayString(n.priceOutro), 1)) : createCommentVNode("", !0)
|
|
7510
7510
|
]);
|
|
7511
7511
|
}
|
|
7512
|
-
const VsCannedSearchPrice = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7512
|
+
const VsCannedSearchPrice = /* @__PURE__ */ _export_sfc(_sfc_main$2l, [["render", _sfc_render$22]]), _sfc_main$2k = {
|
|
7513
7513
|
name: "VsCannedSearchDuration",
|
|
7514
7514
|
status: "prototype",
|
|
7515
7515
|
release: "0.0.1",
|
|
@@ -7529,20 +7529,20 @@ const VsCannedSearchPrice = /* @__PURE__ */ _export_sfc(_sfc_main$2j, [["render"
|
|
|
7529
7529
|
default: ""
|
|
7530
7530
|
}
|
|
7531
7531
|
}
|
|
7532
|
-
}, _hoisted_1$
|
|
7532
|
+
}, _hoisted_1$1Q = { class: "vs-canned-search-duration" }, _hoisted_2$1j = {
|
|
7533
7533
|
key: 0,
|
|
7534
7534
|
class: "vs-canned-search-duration__intro"
|
|
7535
|
-
}, _hoisted_3$
|
|
7535
|
+
}, _hoisted_3$13 = {
|
|
7536
7536
|
key: 1,
|
|
7537
7537
|
class: "vs-canned-search-duration__main"
|
|
7538
7538
|
};
|
|
7539
7539
|
function _sfc_render$21(e, t, n, a, o, r) {
|
|
7540
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
7541
|
-
n.durationIntro ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
7542
|
-
n.duration ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
7540
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1Q, [
|
|
7541
|
+
n.durationIntro ? (openBlock(), createElementBlock("div", _hoisted_2$1j, toDisplayString(n.durationIntro), 1)) : createCommentVNode("", !0),
|
|
7542
|
+
n.duration ? (openBlock(), createElementBlock("div", _hoisted_3$13, toDisplayString(n.duration), 1)) : createCommentVNode("", !0)
|
|
7543
7543
|
]);
|
|
7544
7544
|
}
|
|
7545
|
-
const VsCannedSearchDuration = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7545
|
+
const VsCannedSearchDuration = /* @__PURE__ */ _export_sfc(_sfc_main$2k, [["render", _sfc_render$21]]), _sfc_main$2j = {
|
|
7546
7546
|
name: "VsCannedSearchSummaryBox",
|
|
7547
7547
|
status: "prototype",
|
|
7548
7548
|
release: "0.0.1",
|
|
@@ -7584,7 +7584,7 @@ const VsCannedSearchDuration = /* @__PURE__ */ _export_sfc(_sfc_main$2i, [["rend
|
|
|
7584
7584
|
default: ""
|
|
7585
7585
|
}
|
|
7586
7586
|
}
|
|
7587
|
-
}, _hoisted_1$
|
|
7587
|
+
}, _hoisted_1$1P = ["disabled"], _hoisted_2$1i = { class: "visually-hidden" };
|
|
7588
7588
|
function _sfc_render$20(e, t, n, a, o, r) {
|
|
7589
7589
|
const s = resolveComponent("VsCol"), i = resolveComponent("VsRow"), l = resolveComponent("VsLink"), c = resolveComponent("VsContainer");
|
|
7590
7590
|
return openBlock(), createElementBlock("div", {
|
|
@@ -7640,7 +7640,7 @@ function _sfc_render$20(e, t, n, a, o, r) {
|
|
|
7640
7640
|
}, {
|
|
7641
7641
|
default: withCtx(() => [
|
|
7642
7642
|
createTextVNode(toDisplayString(n.linkLabel) + " ", 1),
|
|
7643
|
-
createElementVNode("span", _hoisted_2$
|
|
7643
|
+
createElementVNode("span", _hoisted_2$1i, ": " + toDisplayString(n.linkTitle), 1)
|
|
7644
7644
|
]),
|
|
7645
7645
|
_: 1
|
|
7646
7646
|
}, 8, ["href", "type", "disabled"])
|
|
@@ -7653,9 +7653,9 @@ function _sfc_render$20(e, t, n, a, o, r) {
|
|
|
7653
7653
|
]),
|
|
7654
7654
|
_: 3
|
|
7655
7655
|
})
|
|
7656
|
-
], 8, _hoisted_1$
|
|
7656
|
+
], 8, _hoisted_1$1P);
|
|
7657
7657
|
}
|
|
7658
|
-
const VsCannedSearchSummaryBox = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7658
|
+
const VsCannedSearchSummaryBox = /* @__PURE__ */ _export_sfc(_sfc_main$2j, [["render", _sfc_render$20]]), _sfc_main$2i = {
|
|
7659
7659
|
name: "VsCannedSearchDates",
|
|
7660
7660
|
status: "prototype",
|
|
7661
7661
|
release: "0.0.1",
|
|
@@ -7682,14 +7682,14 @@ const VsCannedSearchSummaryBox = /* @__PURE__ */ _export_sfc(_sfc_main$2h, [["re
|
|
|
7682
7682
|
return this.period && this.period.startDay ? this.period.endDay ? `${this.period.startDay} - ${this.period.endDay}` : this.period.startDay : "";
|
|
7683
7683
|
}
|
|
7684
7684
|
}
|
|
7685
|
-
}, _hoisted_1$
|
|
7685
|
+
}, _hoisted_1$1O = { class: "vs-canned-search-dates" }, _hoisted_2$1h = { class: "vs-canned-search-dates__intro" }, _hoisted_3$12 = { class: "vs-canned-search-dates__main" };
|
|
7686
7686
|
function _sfc_render$1$(e, t, n, a, o, r) {
|
|
7687
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
7688
|
-
createElementVNode("div", _hoisted_2$
|
|
7689
|
-
createElementVNode("div", _hoisted_3$
|
|
7687
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1O, [
|
|
7688
|
+
createElementVNode("div", _hoisted_2$1h, toDisplayString(n.label), 1),
|
|
7689
|
+
createElementVNode("div", _hoisted_3$12, toDisplayString(r.datePeriod), 1)
|
|
7690
7690
|
]);
|
|
7691
7691
|
}
|
|
7692
|
-
const VsCannedSearchDates = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7692
|
+
const VsCannedSearchDates = /* @__PURE__ */ _export_sfc(_sfc_main$2i, [["render", _sfc_render$1$]]), _sfc_main$2h = {
|
|
7693
7693
|
name: "VsCannedSearchBadges",
|
|
7694
7694
|
status: "prototype",
|
|
7695
7695
|
release: "0.0.1",
|
|
@@ -7734,32 +7734,32 @@ const VsCannedSearchDates = /* @__PURE__ */ _export_sfc(_sfc_main$2g, [["render"
|
|
|
7734
7734
|
return this.multiBadgeOne ? this.multiBadgeOne.slice(0, 3) : [];
|
|
7735
7735
|
}
|
|
7736
7736
|
}
|
|
7737
|
-
}, _hoisted_1$
|
|
7737
|
+
}, _hoisted_1$1N = { class: "vs-canned-search-badges" }, _hoisted_2$1g = {
|
|
7738
7738
|
key: 0,
|
|
7739
7739
|
class: "vs-canned-search-badges__badge vs-canned-search-badges__badge--category vs-canned-search-badges__badge--tr"
|
|
7740
|
-
}, _hoisted_3
|
|
7740
|
+
}, _hoisted_3$11 = {
|
|
7741
7741
|
key: 1,
|
|
7742
7742
|
class: "vs-canned-search-badges__multi-badge-holder"
|
|
7743
|
-
}, _hoisted_4$
|
|
7743
|
+
}, _hoisted_4$L = {
|
|
7744
7744
|
key: 2,
|
|
7745
7745
|
class: "vs-canned-search-badges__badge vs-canned-search-badges__badge--offer vs-canned-search-badges__badge--tr2"
|
|
7746
|
-
}, _hoisted_5$
|
|
7746
|
+
}, _hoisted_5$z = {
|
|
7747
7747
|
key: 3,
|
|
7748
7748
|
class: "vs-canned-search-badges__badge vs-canned-search-badges__badge--open vs-canned-search-badges__badge--br"
|
|
7749
7749
|
};
|
|
7750
7750
|
function _sfc_render$1_(e, t, n, a, o, r) {
|
|
7751
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
7752
|
-
n.badgeOne ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
7751
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1N, [
|
|
7752
|
+
n.badgeOne ? (openBlock(), createElementBlock("div", _hoisted_2$1g, toDisplayString(n.badgeOne), 1)) : n.multiBadgeOne && n.multiBadgeOne.length ? (openBlock(), createElementBlock("div", _hoisted_3$11, [
|
|
7753
7753
|
(openBlock(!0), createElementBlock(Fragment, null, renderList(r.limitedMulti, (s, i) => (openBlock(), createElementBlock("div", {
|
|
7754
7754
|
key: i,
|
|
7755
7755
|
class: "vs-canned-search-badges__badge vs-canned-search-badges__badge--category vs-canned-search-badges__multi-badge"
|
|
7756
7756
|
}, toDisplayString(s), 1))), 128))
|
|
7757
7757
|
])) : createCommentVNode("", !0),
|
|
7758
|
-
n.badgeTwo ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
7759
|
-
n.badgeThree ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
7758
|
+
n.badgeTwo ? (openBlock(), createElementBlock("div", _hoisted_4$L, toDisplayString(n.badgeTwo), 1)) : createCommentVNode("", !0),
|
|
7759
|
+
n.badgeThree ? (openBlock(), createElementBlock("div", _hoisted_5$z, toDisplayString(n.badgeThree), 1)) : createCommentVNode("", !0)
|
|
7760
7760
|
]);
|
|
7761
7761
|
}
|
|
7762
|
-
const VsCannedSearchBadges = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7762
|
+
const VsCannedSearchBadges = /* @__PURE__ */ _export_sfc(_sfc_main$2h, [["render", _sfc_render$1_]]), _sfc_main$2g = {
|
|
7763
7763
|
name: "VsCannedSearchCuisines",
|
|
7764
7764
|
status: "prototype",
|
|
7765
7765
|
release: "0.0.1",
|
|
@@ -7773,19 +7773,19 @@ const VsCannedSearchBadges = /* @__PURE__ */ _export_sfc(_sfc_main$2f, [["render
|
|
|
7773
7773
|
default: null
|
|
7774
7774
|
}
|
|
7775
7775
|
}
|
|
7776
|
-
}, _hoisted_1$
|
|
7776
|
+
}, _hoisted_1$1M = {
|
|
7777
7777
|
class: "vs-canned-search-cuisines",
|
|
7778
7778
|
"data-test": "vs-canned-search-cuisines"
|
|
7779
7779
|
};
|
|
7780
7780
|
function _sfc_render$1Z(e, t, n, a, o, r) {
|
|
7781
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
7781
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1M, [
|
|
7782
7782
|
(openBlock(!0), createElementBlock(Fragment, null, renderList(n.cuisines, (s, i) => (openBlock(), createElementBlock("span", {
|
|
7783
7783
|
class: "vs-canned-search-cuisines__cuisine",
|
|
7784
7784
|
key: i
|
|
7785
7785
|
}, toDisplayString(s.name), 1))), 128))
|
|
7786
7786
|
]);
|
|
7787
7787
|
}
|
|
7788
|
-
const VsCannedSearchCuisines = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7788
|
+
const VsCannedSearchCuisines = /* @__PURE__ */ _export_sfc(_sfc_main$2g, [["render", _sfc_render$1Z]]), _sfc_main$2f = {
|
|
7789
7789
|
name: "VsCannedSearchSubHeading",
|
|
7790
7790
|
status: "prototype",
|
|
7791
7791
|
release: "0.0.1",
|
|
@@ -7828,7 +7828,7 @@ function _sfc_render$1Y(e, t, n, a, o, r) {
|
|
|
7828
7828
|
_: 1
|
|
7829
7829
|
}, 8, ["class"])) : createCommentVNode("", !0);
|
|
7830
7830
|
}
|
|
7831
|
-
const VsCannedSearchSubHeading = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7831
|
+
const VsCannedSearchSubHeading = /* @__PURE__ */ _export_sfc(_sfc_main$2f, [["render", _sfc_render$1Y]]), _sfc_main$2e = {
|
|
7832
7832
|
name: "VsCannedSearchTourRuns",
|
|
7833
7833
|
status: "prototype",
|
|
7834
7834
|
release: "0.0.1",
|
|
@@ -7866,11 +7866,11 @@ const VsCannedSearchSubHeading = /* @__PURE__ */ _export_sfc(_sfc_main$2d, [["re
|
|
|
7866
7866
|
return this.endDay && (e = `${e} - ${this.endDay}`), e;
|
|
7867
7867
|
}
|
|
7868
7868
|
}
|
|
7869
|
-
}, _hoisted_1$
|
|
7869
|
+
}, _hoisted_1$1L = { class: "vs-canned-search-tour-runs" };
|
|
7870
7870
|
function _sfc_render$1X(e, t, n, a, o, r) {
|
|
7871
|
-
return openBlock(), createElementBlock("p", _hoisted_1$
|
|
7871
|
+
return openBlock(), createElementBlock("p", _hoisted_1$1L, toDisplayString(r.formattedPeriod), 1);
|
|
7872
7872
|
}
|
|
7873
|
-
const VsCannedSearchTourRuns = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7873
|
+
const VsCannedSearchTourRuns = /* @__PURE__ */ _export_sfc(_sfc_main$2e, [["render", _sfc_render$1X]]), _sfc_main$2d = {
|
|
7874
7874
|
name: "VsCannedSearchTourDeparts",
|
|
7875
7875
|
status: "prototype",
|
|
7876
7876
|
release: "0.0.1",
|
|
@@ -7900,14 +7900,14 @@ const VsCannedSearchTourRuns = /* @__PURE__ */ _export_sfc(_sfc_main$2c, [["rend
|
|
|
7900
7900
|
return this.origins ? this.origins.map((e) => e.name).join(", ") : "";
|
|
7901
7901
|
}
|
|
7902
7902
|
}
|
|
7903
|
-
}, _hoisted_1$
|
|
7903
|
+
}, _hoisted_1$1K = { class: "vs-canned-search-tour-departs" }, _hoisted_2$1f = { class: "vs-canned-search-tour-departs__label" };
|
|
7904
7904
|
function _sfc_render$1W(e, t, n, a, o, r) {
|
|
7905
|
-
return openBlock(), createElementBlock("p", _hoisted_1$
|
|
7906
|
-
createElementVNode("span", _hoisted_2$
|
|
7905
|
+
return openBlock(), createElementBlock("p", _hoisted_1$1K, [
|
|
7906
|
+
createElementVNode("span", _hoisted_2$1f, toDisplayString(n.label) + ":", 1),
|
|
7907
7907
|
createTextVNode(" " + toDisplayString(r.transformedOrigins), 1)
|
|
7908
7908
|
]);
|
|
7909
7909
|
}
|
|
7910
|
-
const VsCannedSearchTourDeparts = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7910
|
+
const VsCannedSearchTourDeparts = /* @__PURE__ */ _export_sfc(_sfc_main$2d, [["render", _sfc_render$1W]]), _sfc_main$2c = {
|
|
7911
7911
|
name: "VsCarousel",
|
|
7912
7912
|
status: "deprecated",
|
|
7913
7913
|
release: "0.0.1",
|
|
@@ -8069,23 +8069,23 @@ const VsCannedSearchTourDeparts = /* @__PURE__ */ _export_sfc(_sfc_main$2b, [["r
|
|
|
8069
8069
|
return 100 / this.slidesPerPage[this.currentWidth] * t;
|
|
8070
8070
|
}
|
|
8071
8071
|
}
|
|
8072
|
-
}, _hoisted_1$
|
|
8072
|
+
}, _hoisted_1$1J = {
|
|
8073
8073
|
class: "vs-carousel",
|
|
8074
8074
|
"data-test": "vs-carousel",
|
|
8075
8075
|
ref: "carousel"
|
|
8076
|
-
}, _hoisted_2$
|
|
8076
|
+
}, _hoisted_2$1e = { class: "slider" }, _hoisted_3$10 = {
|
|
8077
8077
|
key: 2,
|
|
8078
8078
|
class: "vs-carousel__navigation"
|
|
8079
|
-
}, _hoisted_4$
|
|
8079
|
+
}, _hoisted_4$K = ["onClick", "onKeypress", "data-test"], _hoisted_5$y = { class: "visually-hidden" }, _hoisted_6$m = {
|
|
8080
8080
|
key: 0,
|
|
8081
8081
|
class: "vs-carousel__mobile-pagination-wrapper"
|
|
8082
|
-
}, _hoisted_7$
|
|
8082
|
+
}, _hoisted_7$j = {
|
|
8083
8083
|
class: "vs-carousel__mobile-pagination",
|
|
8084
8084
|
"data-test": "vs-carousel__mobile-pagination"
|
|
8085
8085
|
};
|
|
8086
8086
|
function _sfc_render$1V(e, t, n, a, o, r) {
|
|
8087
8087
|
const s = resolveComponent("VsButton"), i = resolveComponent("VsRow"), l = resolveComponent("VsCol"), c = resolveComponent("VsContainer");
|
|
8088
|
-
return openBlock(), createElementBlock("section", _hoisted_1$
|
|
8088
|
+
return openBlock(), createElementBlock("section", _hoisted_1$1J, [
|
|
8089
8089
|
createVNode(c, null, {
|
|
8090
8090
|
default: withCtx(() => [
|
|
8091
8091
|
createVNode(i, null, {
|
|
@@ -8098,7 +8098,7 @@ function _sfc_render$1V(e, t, n, a, o, r) {
|
|
|
8098
8098
|
class: "position-relative"
|
|
8099
8099
|
}, {
|
|
8100
8100
|
default: withCtx(() => [
|
|
8101
|
-
createElementVNode("div", _hoisted_2$
|
|
8101
|
+
createElementVNode("div", _hoisted_2$1e, [
|
|
8102
8102
|
o.prevDisabled ? createCommentVNode("", !0) : (openBlock(), createBlock(s, {
|
|
8103
8103
|
key: 0,
|
|
8104
8104
|
"icon-only": "",
|
|
@@ -8136,7 +8136,7 @@ function _sfc_render$1V(e, t, n, a, o, r) {
|
|
|
8136
8136
|
]),
|
|
8137
8137
|
_: 1
|
|
8138
8138
|
}, 512)),
|
|
8139
|
-
o.totalSlides > r.slidesPerPage[o.currentWidth] ? (openBlock(), createElementBlock("ul", _hoisted_3$
|
|
8139
|
+
o.totalSlides > r.slidesPerPage[o.currentWidth] ? (openBlock(), createElementBlock("ul", _hoisted_3$10, [
|
|
8140
8140
|
(openBlock(!0), createElementBlock(Fragment, null, renderList(o.maxPages, (d) => (openBlock(), createElementBlock("li", { key: d }, [
|
|
8141
8141
|
createElementVNode("button", {
|
|
8142
8142
|
type: "button",
|
|
@@ -8146,16 +8146,16 @@ function _sfc_render$1V(e, t, n, a, o, r) {
|
|
|
8146
8146
|
tabindex: "0",
|
|
8147
8147
|
"data-test": `vs-carousel__nav-${d}`
|
|
8148
8148
|
}, [
|
|
8149
|
-
createElementVNode("span", _hoisted_5$
|
|
8149
|
+
createElementVNode("span", _hoisted_5$y, [
|
|
8150
8150
|
renderSlot(e.$slots, "vs-carousel-navigate"),
|
|
8151
8151
|
createTextVNode(" " + toDisplayString(d), 1)
|
|
8152
8152
|
])
|
|
8153
|
-
], 42, _hoisted_4$
|
|
8153
|
+
], 42, _hoisted_4$K)
|
|
8154
8154
|
]))), 128))
|
|
8155
8155
|
])) : createCommentVNode("", !0)
|
|
8156
8156
|
]),
|
|
8157
|
-
o.totalSlides > r.slidesPerPage[o.currentWidth] ? (openBlock(), createElementBlock("div", _hoisted_6$
|
|
8158
|
-
createElementVNode("p", _hoisted_7$
|
|
8157
|
+
o.totalSlides > r.slidesPerPage[o.currentWidth] ? (openBlock(), createElementBlock("div", _hoisted_6$m, [
|
|
8158
|
+
createElementVNode("p", _hoisted_7$j, [
|
|
8159
8159
|
createTextVNode(toDisplayString(o.currentPage + 1) + " ", 1),
|
|
8160
8160
|
renderSlot(e.$slots, "vs-carousel-of"),
|
|
8161
8161
|
createTextVNode(" " + toDisplayString(o.totalSlides), 1)
|
|
@@ -8172,7 +8172,7 @@ function _sfc_render$1V(e, t, n, a, o, r) {
|
|
|
8172
8172
|
})
|
|
8173
8173
|
], 512);
|
|
8174
8174
|
}
|
|
8175
|
-
const VsCarousel = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8175
|
+
const VsCarousel = /* @__PURE__ */ _export_sfc(_sfc_main$2c, [["render", _sfc_render$1V]]), _sfc_main$2b = {
|
|
8176
8176
|
name: "VsModuleWrapper",
|
|
8177
8177
|
status: "deprecated",
|
|
8178
8178
|
release: "0.0.1",
|
|
@@ -8310,7 +8310,7 @@ function _sfc_render$1U(e, t, n, a, o, r) {
|
|
|
8310
8310
|
renderSlot(e.$slots, "default")
|
|
8311
8311
|
], 16);
|
|
8312
8312
|
}
|
|
8313
|
-
const VsModuleWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8313
|
+
const VsModuleWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$2b, [["render", _sfc_render$1U]]), _sfc_main$2a = {
|
|
8314
8314
|
name: "VsCannedSearch",
|
|
8315
8315
|
status: "deprecated",
|
|
8316
8316
|
release: "0.0.1",
|
|
@@ -8452,7 +8452,7 @@ const VsModuleWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$29, [["render", _s
|
|
|
8452
8452
|
return e.covidInformation && e.covidInformation.weAreOpen ? e.covidInformation.weAreOpen : e.opening && e.opening.nowOn ? e.opening.nowOn : "";
|
|
8453
8453
|
}
|
|
8454
8454
|
}
|
|
8455
|
-
}, _hoisted_1$
|
|
8455
|
+
}, _hoisted_1$1I = {
|
|
8456
8456
|
class: "vs-canned-search",
|
|
8457
8457
|
"data-test": "vs-canned-search"
|
|
8458
8458
|
};
|
|
@@ -8460,7 +8460,7 @@ function _sfc_render$1T(e, t, n, a, o, r) {
|
|
|
8460
8460
|
const s = resolveComponent("VsCol"), i = resolveComponent("VsRow"), l = resolveComponent("VsContainer"), c = resolveComponent("VsCannedSearchTourRuns"), d = resolveComponent("VsCannedSearchTourDeparts"), u = resolveComponent("VsCannedSearchSubHeading"), f = resolveComponent("VsCannedSearchStars"), p = resolveComponent("VsCannedSearchCategories"), m = resolveComponent("VsCannedSearchLogos"), g = resolveComponent("VsCannedSearchBadges"), b = resolveComponent("VsCannedSearchDates"), v = resolveComponent("VsCannedSearchDuration"), _ = resolveComponent("VsCannedSearchPrice"), C = resolveComponent("VsCannedSearchCuisines"), k = resolveComponent("VsCannedSearchSummaryBox"), E = resolveComponent("VsCannedSearchProductCard"), D = resolveComponent("VsCarousel"), I = resolveComponent("VsModuleWrapper");
|
|
8461
8461
|
return withDirectives((openBlock(), createBlock(I, null, createSlots({
|
|
8462
8462
|
default: withCtx(() => [
|
|
8463
|
-
createElementVNode("div", _hoisted_1$
|
|
8463
|
+
createElementVNode("div", _hoisted_1$1I, [
|
|
8464
8464
|
createVNode(l, null, {
|
|
8465
8465
|
default: withCtx(() => [
|
|
8466
8466
|
createVNode(i, null, {
|
|
@@ -8658,7 +8658,7 @@ function _sfc_render$1T(e, t, n, a, o, r) {
|
|
|
8658
8658
|
[vShow, o.products.length]
|
|
8659
8659
|
]);
|
|
8660
8660
|
}
|
|
8661
|
-
const CannedSearch = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8661
|
+
const CannedSearch = /* @__PURE__ */ _export_sfc(_sfc_main$2a, [["render", _sfc_render$1T]]), _sfc_main$29 = {
|
|
8662
8662
|
name: "VsCaptionImageMap",
|
|
8663
8663
|
status: "prototype",
|
|
8664
8664
|
release: "0.0.1",
|
|
@@ -8727,7 +8727,7 @@ const CannedSearch = /* @__PURE__ */ _export_sfc(_sfc_main$28, [["render", _sfc_
|
|
|
8727
8727
|
return (n - e) * a / (t - e);
|
|
8728
8728
|
}
|
|
8729
8729
|
}
|
|
8730
|
-
}, _hoisted_1$
|
|
8730
|
+
}, _hoisted_1$1H = ["width", "height"], _hoisted_2$1d = ["stroke"], _hoisted_3$$ = ["stroke"], _hoisted_4$J = ["stroke"], _hoisted_5$x = ["stroke"], _hoisted_6$l = ["stroke"], _hoisted_7$i = ["stroke"], _hoisted_8$8 = ["stroke"], _hoisted_9$8 = ["stroke"], _hoisted_10$8 = ["stroke"], _hoisted_11$6 = ["stroke"], _hoisted_12$4 = ["stroke"], _hoisted_13$4 = ["stroke"], _hoisted_14$3 = ["stroke"], _hoisted_15$3 = ["stroke"], _hoisted_16$3 = ["stroke"], _hoisted_17$3 = ["stroke"], _hoisted_18$2 = ["stroke"], _hoisted_19$1 = ["stroke"], _hoisted_20 = ["stroke"], _hoisted_21 = ["stroke"], _hoisted_22 = ["stroke"], _hoisted_23 = ["stroke"], _hoisted_24 = ["stroke"], _hoisted_25 = ["stroke"], _hoisted_26 = ["stroke"], _hoisted_27 = ["stroke"], _hoisted_28 = ["stroke"], _hoisted_29 = ["stroke"], _hoisted_30 = ["stroke"], _hoisted_31 = ["stroke"], _hoisted_32 = ["width", "height"], _hoisted_33 = ["fill", "cx", "cy"];
|
|
8731
8731
|
function _sfc_render$1S(e, t, n, a, o, r) {
|
|
8732
8732
|
return openBlock(), createElementBlock("svg", {
|
|
8733
8733
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -8747,7 +8747,7 @@ function _sfc_render$1S(e, t, n, a, o, r) {
|
|
|
8747
8747
|
"stroke-linejoin": "round",
|
|
8748
8748
|
"stroke-width": "0.5",
|
|
8749
8749
|
"fill-rule": "evenodd"
|
|
8750
|
-
}, null, 8, _hoisted_2$
|
|
8750
|
+
}, null, 8, _hoisted_2$1d),
|
|
8751
8751
|
createElementVNode("path", {
|
|
8752
8752
|
d: `M64.6595,9.4653l-.668,2.391,\r
|
|
8753
8753
|
1.169.368-.334-1.287C64.8265,\r
|
|
@@ -8759,7 +8759,7 @@ function _sfc_render$1S(e, t, n, a, o, r) {
|
|
|
8759
8759
|
"stroke-linejoin": "round",
|
|
8760
8760
|
"stroke-width": "0.5",
|
|
8761
8761
|
"fill-rule": "evenodd"
|
|
8762
|
-
}, null, 8, _hoisted_3
|
|
8762
|
+
}, null, 8, _hoisted_3$$),
|
|
8763
8763
|
createElementVNode("path", {
|
|
8764
8764
|
d: "M66.1635,11.4883l1.336.184-.336-.736Z",
|
|
8765
8765
|
transform: "translate(-0.2662 -0.2662)",
|
|
@@ -8769,7 +8769,7 @@ function _sfc_render$1S(e, t, n, a, o, r) {
|
|
|
8769
8769
|
"stroke-linejoin": "round",
|
|
8770
8770
|
"stroke-width": "0.5",
|
|
8771
8771
|
"fill-rule": "evenodd"
|
|
8772
|
-
}, null, 8, _hoisted_4$
|
|
8772
|
+
}, null, 8, _hoisted_4$J),
|
|
8773
8773
|
createElementVNode("path", {
|
|
8774
8774
|
d: `M62.1546,11.3043l-1.5,1.1c.5.92.8349.736,\r
|
|
8775
8775
|
1.837.736l-.3341.368h-.173a1.6911,1.6911,0,0,0,1.336.92c-.668,\r
|
|
@@ -8784,7 +8784,7 @@ function _sfc_render$1S(e, t, n, a, o, r) {
|
|
|
8784
8784
|
"stroke-linejoin": "round",
|
|
8785
8785
|
"stroke-width": "0.5",
|
|
8786
8786
|
"fill-rule": "evenodd"
|
|
8787
|
-
}, null, 8, _hoisted_5$
|
|
8787
|
+
}, null, 8, _hoisted_5$x),
|
|
8788
8788
|
createElementVNode("path", {
|
|
8789
8789
|
d: "M65.9965,13.8793l-.668,1.287,1.169-.368Z",
|
|
8790
8790
|
transform: "translate(-0.2662 -0.2662)",
|
|
@@ -8794,7 +8794,7 @@ function _sfc_render$1S(e, t, n, a, o, r) {
|
|
|
8794
8794
|
"stroke-linejoin": "round",
|
|
8795
8795
|
"stroke-width": "0.5",
|
|
8796
8796
|
"fill-rule": "evenodd"
|
|
8797
|
-
}, null, 8, _hoisted_6$
|
|
8797
|
+
}, null, 8, _hoisted_6$l),
|
|
8798
8798
|
createElementVNode("path", {
|
|
8799
8799
|
d: "M49.46,30.2483l1,.736C50.96,30.2483,50.2945,29.5123,49.46,30.2483Z",
|
|
8800
8800
|
transform: "translate(-0.2662 -0.2662)",
|
|
@@ -8804,7 +8804,7 @@ function _sfc_render$1S(e, t, n, a, o, r) {
|
|
|
8804
8804
|
"stroke-linejoin": "round",
|
|
8805
8805
|
"stroke-width": "0.5",
|
|
8806
8806
|
"fill-rule": "evenodd"
|
|
8807
|
-
}, null, 8, _hoisted_7$
|
|
8807
|
+
}, null, 8, _hoisted_7$i),
|
|
8808
8808
|
createElementVNode("path", {
|
|
8809
8809
|
d: "M52.8005,31.1643l1.67-.552-.17-.548C53.1345,30.2483,52.9675,29.88,52.8005,31.1643Z",
|
|
8810
8810
|
transform: "translate(-0.2662 -0.2662)",
|
|
@@ -9146,9 +9146,9 @@ function _sfc_render$1S(e, t, n, a, o, r) {
|
|
|
9146
9146
|
cx: r.positionX,
|
|
9147
9147
|
cy: r.positionY
|
|
9148
9148
|
}, null, 8, _hoisted_33)
|
|
9149
|
-
], 8, _hoisted_1$
|
|
9149
|
+
], 8, _hoisted_1$1H);
|
|
9150
9150
|
}
|
|
9151
|
-
const VsCaptionImageMap = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
9151
|
+
const VsCaptionImageMap = /* @__PURE__ */ _export_sfc(_sfc_main$29, [["render", _sfc_render$1S]]), _sfc_main$28 = {
|
|
9152
9152
|
name: "VsCaption",
|
|
9153
9153
|
status: "deprecated",
|
|
9154
9154
|
release: "0.0.1",
|
|
@@ -9224,13 +9224,13 @@ const VsCaptionImageMap = /* @__PURE__ */ _export_sfc(_sfc_main$27, [["render",
|
|
|
9224
9224
|
];
|
|
9225
9225
|
}
|
|
9226
9226
|
}
|
|
9227
|
-
}, _hoisted_1$
|
|
9227
|
+
}, _hoisted_1$1G = { class: "vs-caption__caption-info" }, _hoisted_2$1c = {
|
|
9228
9228
|
key: 0,
|
|
9229
9229
|
class: "vs-caption__image-caption"
|
|
9230
|
-
}, _hoisted_3$
|
|
9230
|
+
}, _hoisted_3$_ = {
|
|
9231
9231
|
key: 1,
|
|
9232
9232
|
class: "vs-caption__image-credit"
|
|
9233
|
-
}, _hoisted_4$
|
|
9233
|
+
}, _hoisted_4$I = { class: "vs-caption__map-wrapper pt-075 pt-sm-050 pb-sm-050 mx-auto" };
|
|
9234
9234
|
function _sfc_render$1R(e, t, n, a, o, r) {
|
|
9235
9235
|
const s = resolveComponent("VsCol"), i = resolveComponent("VsCaptionImageMap"), l = resolveComponent("VsRow"), c = resolveComponent("VsContainer");
|
|
9236
9236
|
return openBlock(), createElementBlock("div", {
|
|
@@ -9245,11 +9245,11 @@ function _sfc_render$1R(e, t, n, a, o, r) {
|
|
|
9245
9245
|
class: normalizeClass(["order-2 order-sm-1", [r.showMap ? "" : "align-self-center"]])
|
|
9246
9246
|
}, {
|
|
9247
9247
|
default: withCtx(() => [
|
|
9248
|
-
createElementVNode("div", _hoisted_1$
|
|
9249
|
-
e.$slots.caption ? (openBlock(), createElementBlock("p", _hoisted_2$
|
|
9248
|
+
createElementVNode("div", _hoisted_1$1G, [
|
|
9249
|
+
e.$slots.caption ? (openBlock(), createElementBlock("p", _hoisted_2$1c, [
|
|
9250
9250
|
renderSlot(e.$slots, "caption")
|
|
9251
9251
|
])) : createCommentVNode("", !0),
|
|
9252
|
-
e.$slots.credit ? (openBlock(), createElementBlock("p", _hoisted_3$
|
|
9252
|
+
e.$slots.credit ? (openBlock(), createElementBlock("p", _hoisted_3$_, [
|
|
9253
9253
|
renderSlot(e.$slots, "credit")
|
|
9254
9254
|
])) : createCommentVNode("", !0)
|
|
9255
9255
|
])
|
|
@@ -9261,7 +9261,7 @@ function _sfc_render$1R(e, t, n, a, o, r) {
|
|
|
9261
9261
|
class: "col-12 col-sm-auto order-1 order-sm-2 ps-sm-0 align-self-end align-self-sm-start"
|
|
9262
9262
|
}, {
|
|
9263
9263
|
default: withCtx(() => [
|
|
9264
|
-
createElementVNode("div", _hoisted_4$
|
|
9264
|
+
createElementVNode("div", _hoisted_4$I, [
|
|
9265
9265
|
createVNode(i, {
|
|
9266
9266
|
latitude: n.latitude,
|
|
9267
9267
|
longitude: n.longitude,
|
|
@@ -9280,7 +9280,7 @@ function _sfc_render$1R(e, t, n, a, o, r) {
|
|
|
9280
9280
|
})
|
|
9281
9281
|
], 2);
|
|
9282
9282
|
}
|
|
9283
|
-
const Caption = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
9283
|
+
const Caption = /* @__PURE__ */ _export_sfc(_sfc_main$28, [["render", _sfc_render$1R]]), _sfc_main$27 = {
|
|
9284
9284
|
name: "VsProgressBar",
|
|
9285
9285
|
status: "prototype",
|
|
9286
9286
|
release: "0.1.0",
|
|
@@ -9355,10 +9355,10 @@ const Caption = /* @__PURE__ */ _export_sfc(_sfc_main$26, [["render", _sfc_rende
|
|
|
9355
9355
|
const e = getCurrentInstance();
|
|
9356
9356
|
this.compId = ref(e.uid);
|
|
9357
9357
|
}
|
|
9358
|
-
}, _hoisted_1$
|
|
9358
|
+
}, _hoisted_1$1F = {
|
|
9359
9359
|
key: 1,
|
|
9360
9360
|
class: "vs-progress-bar__stepper"
|
|
9361
|
-
}, _hoisted_2$
|
|
9361
|
+
}, _hoisted_2$1b = ["id"], _hoisted_3$Z = ["id"];
|
|
9362
9362
|
function _sfc_render$1Q(e, t, n, a, o, r) {
|
|
9363
9363
|
const s = resolveComponent("BProgressBar"), i = resolveComponent("BProgress");
|
|
9364
9364
|
return openBlock(), createElementBlock("div", {
|
|
@@ -9376,7 +9376,7 @@ function _sfc_render$1Q(e, t, n, a, o, r) {
|
|
|
9376
9376
|
]),
|
|
9377
9377
|
_: 1
|
|
9378
9378
|
}, 8, ["max", "aria-valuenow", "aria-labelledBy"])) : createCommentVNode("", !0),
|
|
9379
|
-
n.isStepped && n.max <= 5 ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
9379
|
+
n.isStepped && n.max <= 5 ? (openBlock(), createElementBlock("div", _hoisted_1$1F, [
|
|
9380
9380
|
(openBlock(!0), createElementBlock(Fragment, null, renderList(n.max, (l) => (openBlock(), createBlock(i, {
|
|
9381
9381
|
key: l,
|
|
9382
9382
|
max: 1,
|
|
@@ -9394,14 +9394,14 @@ function _sfc_render$1Q(e, t, n, a, o, r) {
|
|
|
9394
9394
|
key: 2,
|
|
9395
9395
|
class: "vs-progress-bar__label",
|
|
9396
9396
|
id: `progress-bar-${o.compId}`
|
|
9397
|
-
}, toDisplayString(r.interpolProgressLabel), 9, _hoisted_2$
|
|
9397
|
+
}, toDisplayString(r.interpolProgressLabel), 9, _hoisted_2$1b)) : (openBlock(), createElementBlock("p", {
|
|
9398
9398
|
key: 3,
|
|
9399
9399
|
class: "vs-progress-bar__label",
|
|
9400
9400
|
id: `progress-bar-${o.compId}`
|
|
9401
|
-
}, toDisplayString(n.currentStep) + " / " + toDisplayString(n.max), 9, _hoisted_3$
|
|
9401
|
+
}, toDisplayString(n.currentStep) + " / " + toDisplayString(n.max), 9, _hoisted_3$Z))
|
|
9402
9402
|
], 2);
|
|
9403
9403
|
}
|
|
9404
|
-
const VsProgressBar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
9404
|
+
const VsProgressBar = /* @__PURE__ */ _export_sfc(_sfc_main$27, [["render", _sfc_render$1Q]]), _sfc_main$26 = {
|
|
9405
9405
|
name: "VsCarbonCalculatorTip",
|
|
9406
9406
|
status: "prototype",
|
|
9407
9407
|
release: "0.0.1",
|
|
@@ -9420,14 +9420,14 @@ const VsProgressBar = /* @__PURE__ */ _export_sfc(_sfc_main$25, [["render", _sfc
|
|
|
9420
9420
|
default: !1
|
|
9421
9421
|
}
|
|
9422
9422
|
}
|
|
9423
|
-
}, _hoisted_1$
|
|
9423
|
+
}, _hoisted_1$1E = {
|
|
9424
9424
|
class: "vs-carbon-calculator-tip",
|
|
9425
9425
|
"data-test": "vs-carbon-calculator-tip"
|
|
9426
|
-
}, _hoisted_2$
|
|
9426
|
+
}, _hoisted_2$1a = { class: "vs-carbon-calculator-tip__icon-container" }, _hoisted_3$Y = { class: "vs-carbon-calculator-tip__content" }, _hoisted_4$H = ["innerHTML"], _hoisted_5$w = ["innerHTML"];
|
|
9427
9427
|
function _sfc_render$1P(e, t, n, a, o, r) {
|
|
9428
9428
|
const s = resolveComponent("VsIcon"), i = resolveComponent("VsHeading");
|
|
9429
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
9430
|
-
createElementVNode("div", _hoisted_2$
|
|
9429
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1E, [
|
|
9430
|
+
createElementVNode("div", _hoisted_2$1a, [
|
|
9431
9431
|
createVNode(s, {
|
|
9432
9432
|
icon: "fa-kit fa-vs-coo-head",
|
|
9433
9433
|
size: "lg",
|
|
@@ -9435,7 +9435,7 @@ function _sfc_render$1P(e, t, n, a, o, r) {
|
|
|
9435
9435
|
class: "vs-carbon-calculator-tip__icon"
|
|
9436
9436
|
})
|
|
9437
9437
|
]),
|
|
9438
|
-
createElementVNode("div", _hoisted_3$
|
|
9438
|
+
createElementVNode("div", _hoisted_3$Y, [
|
|
9439
9439
|
createVNode(i, {
|
|
9440
9440
|
level: "3",
|
|
9441
9441
|
"heading-style": "heading-xs"
|
|
@@ -9450,17 +9450,17 @@ function _sfc_render$1P(e, t, n, a, o, r) {
|
|
|
9450
9450
|
class: "vs-carbon-calculator-tip__content",
|
|
9451
9451
|
"data-test": "vs-carbon-calculator-tip__summary",
|
|
9452
9452
|
innerHTML: r.labelsMap.allTips
|
|
9453
|
-
}, null, 8, _hoisted_4$
|
|
9453
|
+
}, null, 8, _hoisted_4$H)) : createCommentVNode("", !0),
|
|
9454
9454
|
n.showingAllTips ? createCommentVNode("", !0) : (openBlock(), createElementBlock("p", {
|
|
9455
9455
|
key: 1,
|
|
9456
9456
|
class: "vs-carbon-calculator-tip__content",
|
|
9457
9457
|
"data-test": "vs-carbon-calculator-tip__content",
|
|
9458
9458
|
innerHTML: n.tip
|
|
9459
|
-
}, null, 8, _hoisted_5$
|
|
9459
|
+
}, null, 8, _hoisted_5$w))
|
|
9460
9460
|
])
|
|
9461
9461
|
]);
|
|
9462
9462
|
}
|
|
9463
|
-
const VsCarbonCalculatorTip = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
9463
|
+
const VsCarbonCalculatorTip = /* @__PURE__ */ _export_sfc(_sfc_main$26, [["render", _sfc_render$1P]]);
|
|
9464
9464
|
function _isPlaceholder(e) {
|
|
9465
9465
|
return e != null && typeof e == "object" && e["@@functional/placeholder"] === !0;
|
|
9466
9466
|
}
|
|
@@ -10960,14 +10960,14 @@ function formatLocale(e) {
|
|
|
10960
10960
|
var D = g === "$" ? n : g === "#" && /[boxX]/.test(E) ? "0" + E.toLowerCase() : "", I = g === "$" ? a : /[%p]/.test(E) ? s : "", N = formatTypes[E], P = /[defgprs%]/.test(E);
|
|
10961
10961
|
C = C === void 0 ? 6 : /[gprs]/.test(E) ? Math.max(1, Math.min(21, C)) : Math.max(0, Math.min(20, C));
|
|
10962
10962
|
function R(T) {
|
|
10963
|
-
var M = D, S = I, B,
|
|
10963
|
+
var M = D, S = I, B, A, $;
|
|
10964
10964
|
if (E === "c")
|
|
10965
10965
|
S = N(T) + S, T = "";
|
|
10966
10966
|
else {
|
|
10967
10967
|
T = +T;
|
|
10968
10968
|
var V = T < 0 || 1 / T < 0;
|
|
10969
10969
|
if (T = isNaN(T) ? l : N(Math.abs(T), C), k && (T = formatTrim(T)), V && +T == 0 && m !== "+" && (V = !1), M = (V ? m === "(" ? m : i : m === "-" || m === "(" ? "" : m) + M, S = (E === "s" ? prefixes[8 + prefixExponent / 3] : "") + S + (V && m === "(" ? ")" : ""), P) {
|
|
10970
|
-
for (B = -1,
|
|
10970
|
+
for (B = -1, A = T.length; ++B < A; )
|
|
10971
10971
|
if ($ = T.charCodeAt(B), 48 > $ || $ > 57) {
|
|
10972
10972
|
S = ($ === 46 ? o + T.slice(B + 1) : T.slice(B)) + S, T = T.slice(0, B);
|
|
10973
10973
|
break;
|
|
@@ -11290,8 +11290,8 @@ function intersect(e, t, n, a, o, r, s, i) {
|
|
|
11290
11290
|
return f = (d * (t - r) - u * (e - o)) / f, [e + f * l, t + f * c];
|
|
11291
11291
|
}
|
|
11292
11292
|
function cornerTangents(e, t, n, a, o, r, s) {
|
|
11293
|
-
var i = e - n, l = t - a, c = (s ? r : -r) / sqrt(i * i + l * l), d = c * l, u = -c * i, f = e + d, p = t + u, m = n + d, g = a + u, b = (f + m) / 2, v = (p + g) / 2, _ = m - f, C = g - p, k = _ * _ + C * C, E = o - r, D = f * g - m * p, I = (C < 0 ? -1 : 1) * sqrt(max(0, E * E * k - D * D)), N = (D * C - _ * I) / k, P = (-D * _ - C * I) / k, R = (D * C + _ * I) / k, T = (-D * _ + C * I) / k, M = N - b, S = P - v, B = R - b,
|
|
11294
|
-
return M * M + S * S > B * B +
|
|
11293
|
+
var i = e - n, l = t - a, c = (s ? r : -r) / sqrt(i * i + l * l), d = c * l, u = -c * i, f = e + d, p = t + u, m = n + d, g = a + u, b = (f + m) / 2, v = (p + g) / 2, _ = m - f, C = g - p, k = _ * _ + C * C, E = o - r, D = f * g - m * p, I = (C < 0 ? -1 : 1) * sqrt(max(0, E * E * k - D * D)), N = (D * C - _ * I) / k, P = (-D * _ - C * I) / k, R = (D * C + _ * I) / k, T = (-D * _ + C * I) / k, M = N - b, S = P - v, B = R - b, A = T - v;
|
|
11294
|
+
return M * M + S * S > B * B + A * A && (N = R, P = T), {
|
|
11295
11295
|
cx: N,
|
|
11296
11296
|
cy: P,
|
|
11297
11297
|
x01: -d,
|
|
@@ -11310,20 +11310,20 @@ function arc() {
|
|
|
11310
11310
|
else {
|
|
11311
11311
|
var _ = m, C = g, k = m, E = g, D = b, I = b, N = s.apply(this, arguments) / 2, P = N > epsilon$2 && (a ? +a.apply(this, arguments) : sqrt(f * f + p * p)), R = min(abs(p - f) / 2, +n.apply(this, arguments)), T = R, M = R, S, B;
|
|
11312
11312
|
if (P > epsilon$2) {
|
|
11313
|
-
var
|
|
11314
|
-
(D -=
|
|
11313
|
+
var A = asin(P / f * sin(N)), $ = asin(P / p * sin(N));
|
|
11314
|
+
(D -= A * 2) > epsilon$2 ? (A *= v ? 1 : -1, k += A, E -= A) : (D = 0, k = E = (m + g) / 2), (I -= $ * 2) > epsilon$2 ? ($ *= v ? 1 : -1, _ += $, C -= $) : (I = 0, _ = C = (m + g) / 2);
|
|
11315
11315
|
}
|
|
11316
|
-
var V = p * cos(_), w = p * sin(_), L = f * cos(E),
|
|
11316
|
+
var V = p * cos(_), w = p * sin(_), L = f * cos(E), O = f * sin(E);
|
|
11317
11317
|
if (R > epsilon$2) {
|
|
11318
11318
|
var z = p * cos(C), F = p * sin(C), q = f * cos(k), U = f * sin(k), Q;
|
|
11319
11319
|
if (b < pi$1)
|
|
11320
|
-
if (Q = intersect(V, w, q, U, z, F, L,
|
|
11320
|
+
if (Q = intersect(V, w, q, U, z, F, L, O)) {
|
|
11321
11321
|
var X = V - Q[0], ne = w - Q[1], ce = z - Q[0], ie = F - Q[1], se = 1 / sin(acos((X * ce + ne * ie) / (sqrt(X * X + ne * ne) * sqrt(ce * ce + ie * ie))) / 2), de = sqrt(Q[0] * Q[0] + Q[1] * Q[1]);
|
|
11322
11322
|
T = min(R, (f - de) / (se - 1)), M = min(R, (p - de) / (se + 1));
|
|
11323
11323
|
} else
|
|
11324
11324
|
T = M = 0;
|
|
11325
11325
|
}
|
|
11326
|
-
I > epsilon$2 ? M > epsilon$2 ? (S = cornerTangents(q, U, V, w, p, M, v), B = cornerTangents(z, F, L,
|
|
11326
|
+
I > epsilon$2 ? M > epsilon$2 ? (S = cornerTangents(q, U, V, w, p, M, v), B = cornerTangents(z, F, L, O, p, M, v), i.moveTo(S.cx + S.x01, S.cy + S.y01), M < R ? i.arc(S.cx, S.cy, M, atan2(S.y01, S.x01), atan2(B.y01, B.x01), !v) : (i.arc(S.cx, S.cy, M, atan2(S.y01, S.x01), atan2(S.y11, S.x11), !v), i.arc(0, 0, p, atan2(S.cy + S.y11, S.cx + S.x11), atan2(B.cy + B.y11, B.cx + B.x11), !v), i.arc(B.cx, B.cy, M, atan2(B.y11, B.x11), atan2(B.y01, B.x01), !v))) : (i.moveTo(V, w), i.arc(0, 0, p, _, C, !v)) : i.moveTo(V, w), !(f > epsilon$2) || !(D > epsilon$2) ? i.lineTo(L, O) : T > epsilon$2 ? (S = cornerTangents(L, O, z, F, f, -T, v), B = cornerTangents(V, w, q, U, f, -T, v), i.lineTo(S.cx + S.x01, S.cy + S.y01), T < R ? i.arc(S.cx, S.cy, T, atan2(S.y01, S.x01), atan2(B.y01, B.x01), !v) : (i.arc(S.cx, S.cy, T, atan2(S.y01, S.x01), atan2(S.y11, S.x11), !v), i.arc(0, 0, f, atan2(S.cy + S.y11, S.cx + S.x11), atan2(B.cy + B.y11, B.cx + B.x11), v), i.arc(B.cx, B.cy, T, atan2(B.y11, B.x11), atan2(B.y01, B.x01), !v))) : i.arc(0, 0, f, E, k, v);
|
|
11327
11327
|
}
|
|
11328
11328
|
if (i.closePath(), d) return i = null, d + "" || null;
|
|
11329
11329
|
}
|
|
@@ -13189,7 +13189,7 @@ const _hoisted_1$4$1 = ["stroke-dasharray"], _hoisted_2$3$1 = {
|
|
|
13189
13189
|
}, _hoisted_3$2$1 = ["x1", "y1", "x2", "y2"], _hoisted_4$2$1 = {
|
|
13190
13190
|
key: 1,
|
|
13191
13191
|
class: "grid-y"
|
|
13192
|
-
}, _hoisted_5$2$1 = ["x1", "y1", "x2", "y2"], _hoisted_6$2$1 = ["x1", "y1", "x2", "y2"], _hoisted_7$
|
|
13192
|
+
}, _hoisted_5$2$1 = ["x1", "y1", "x2", "y2"], _hoisted_6$2$1 = ["x1", "y1", "x2", "y2"], _hoisted_7$h = ["x1", "y1", "x2", "y2"];
|
|
13193
13193
|
function render$5(e, t, n, a, o, r) {
|
|
13194
13194
|
return e.data.length ? (openBlock(), createElementBlock("g", {
|
|
13195
13195
|
key: 0,
|
|
@@ -13241,7 +13241,7 @@ function render$5(e, t, n, a, o, r) {
|
|
|
13241
13241
|
y1: e.canvas.y,
|
|
13242
13242
|
x2: e.canvas.width - 1,
|
|
13243
13243
|
y2: e.canvas.height
|
|
13244
|
-
}, null, 8, _hoisted_7$
|
|
13244
|
+
}, null, 8, _hoisted_7$h)
|
|
13245
13245
|
])
|
|
13246
13246
|
], 8, _hoisted_1$4$1)) : createCommentVNode("v-if", !0);
|
|
13247
13247
|
}
|
|
@@ -13930,7 +13930,7 @@ var script$1 = defineComponent({
|
|
|
13930
13930
|
const _hoisted_1$1$1 = {
|
|
13931
13931
|
class: "treemap",
|
|
13932
13932
|
style: { display: "flex", position: "relative" }
|
|
13933
|
-
}, _hoisted_2$1$1 = ["width", "height", "viewBox"], _hoisted_3$
|
|
13933
|
+
}, _hoisted_2$1$1 = ["width", "height", "viewBox"], _hoisted_3$X = { class: "layer-rectangles" }, _hoisted_4$G = ["transform", "onMouseover"], _hoisted_5$v = ["width", "height"], _hoisted_6$k = {
|
|
13934
13934
|
x: 10,
|
|
13935
13935
|
y: 20,
|
|
13936
13936
|
"font-size": "15px",
|
|
@@ -13945,7 +13945,7 @@ function render$1(e, t, n, a, o, r) {
|
|
|
13945
13945
|
viewBox: `0 0 ${e.size.width} ${e.size.height}`,
|
|
13946
13946
|
ref: "el"
|
|
13947
13947
|
}, [
|
|
13948
|
-
createElementVNode("g", _hoisted_3$
|
|
13948
|
+
createElementVNode("g", _hoisted_3$X, [
|
|
13949
13949
|
(openBlock(!0), createElementBlock(
|
|
13950
13950
|
Fragment,
|
|
13951
13951
|
null,
|
|
@@ -13965,21 +13965,21 @@ function render$1(e, t, n, a, o, r) {
|
|
|
13965
13965
|
y: 0,
|
|
13966
13966
|
width: s.width,
|
|
13967
13967
|
height: s.height
|
|
13968
|
-
}), null, 16, _hoisted_5$
|
|
13968
|
+
}), null, 16, _hoisted_5$v),
|
|
13969
13969
|
renderSlot(e.$slots, "text", {
|
|
13970
13970
|
r: s,
|
|
13971
13971
|
selected: e.selected === i
|
|
13972
13972
|
}, () => [
|
|
13973
13973
|
createElementVNode(
|
|
13974
13974
|
"text",
|
|
13975
|
-
_hoisted_6$
|
|
13975
|
+
_hoisted_6$k,
|
|
13976
13976
|
toDisplayString(s.data.name),
|
|
13977
13977
|
1
|
|
13978
13978
|
/* TEXT */
|
|
13979
13979
|
)
|
|
13980
13980
|
])
|
|
13981
13981
|
])
|
|
13982
|
-
], 42, _hoisted_4$
|
|
13982
|
+
], 42, _hoisted_4$G))),
|
|
13983
13983
|
128
|
|
13984
13984
|
/* KEYED_FRAGMENT */
|
|
13985
13985
|
))
|
|
@@ -14020,23 +14020,23 @@ var script = defineComponent({
|
|
|
14020
14020
|
}), { bar: n, canvas: o, direction: a, mouse: t };
|
|
14021
14021
|
}
|
|
14022
14022
|
});
|
|
14023
|
-
const _hoisted_1$
|
|
14023
|
+
const _hoisted_1$1D = {
|
|
14024
14024
|
key: 0,
|
|
14025
14025
|
class: "layer-hover-bar"
|
|
14026
|
-
}, _hoisted_2$
|
|
14026
|
+
}, _hoisted_2$19 = ["x", "y", "width", "height"];
|
|
14027
14027
|
function render(e, t, n, a, o, r) {
|
|
14028
|
-
return e.mouse.hover ? (openBlock(), createElementBlock("g", _hoisted_1$
|
|
14028
|
+
return e.mouse.hover ? (openBlock(), createElementBlock("g", _hoisted_1$1D, [
|
|
14029
14029
|
createElementVNode("rect", mergeProps({ class: "hover-bar" }, e.barStyle, {
|
|
14030
14030
|
x: e.bar.x,
|
|
14031
14031
|
y: e.bar.y,
|
|
14032
14032
|
width: e.bar.width > 0 ? e.bar.width : 0,
|
|
14033
14033
|
height: e.bar.height > 0 ? e.bar.height : 0
|
|
14034
|
-
}), null, 16, _hoisted_2$
|
|
14034
|
+
}), null, 16, _hoisted_2$19)
|
|
14035
14035
|
])) : createCommentVNode("v-if", !0);
|
|
14036
14036
|
}
|
|
14037
14037
|
script.render = render;
|
|
14038
14038
|
script.__file = "src/components/HoverBar/index.vue";
|
|
14039
|
-
const _sfc_main$
|
|
14039
|
+
const _sfc_main$25 = {
|
|
14040
14040
|
name: "VsCarbonCalculatorResults",
|
|
14041
14041
|
status: "prototype",
|
|
14042
14042
|
release: "0.0.1",
|
|
@@ -14220,7 +14220,7 @@ const _sfc_main$23 = {
|
|
|
14220
14220
|
};
|
|
14221
14221
|
}
|
|
14222
14222
|
}
|
|
14223
|
-
}, _hoisted_1$
|
|
14223
|
+
}, _hoisted_1$1C = { class: "vs-carbon-calculator-results__headline" }, _hoisted_2$18 = { class: "mb-050" }, _hoisted_3$W = { class: "vs-carbon-calculator-results__total" }, _hoisted_4$F = ["innerHTML"], _hoisted_5$u = { class: "vs-carbon-calculator-results__unicorn-icon-container" }, _hoisted_6$j = { class: "vs-carbon-calculator-results__unicorn-content" };
|
|
14224
14224
|
function _sfc_render$1O(e, t, n, a, o, r) {
|
|
14225
14225
|
const s = resolveComponent("VsHeading"), i = resolveComponent("VsCol"), l = resolveComponent("VsRow"), c = resolveComponent("VsIcon"), d = resolveComponent("Grid"), u = resolveComponent("Bar"), f = resolveComponent("Chart"), p = resolveComponent("Responsive");
|
|
14226
14226
|
return openBlock(), createBlock(l, {
|
|
@@ -14251,10 +14251,10 @@ function _sfc_render$1O(e, t, n, a, o, r) {
|
|
|
14251
14251
|
md: "6"
|
|
14252
14252
|
}, {
|
|
14253
14253
|
default: withCtx(() => [
|
|
14254
|
-
createElementVNode("div", _hoisted_1$
|
|
14255
|
-
createElementVNode("p", _hoisted_2$
|
|
14254
|
+
createElementVNode("div", _hoisted_1$1C, [
|
|
14255
|
+
createElementVNode("p", _hoisted_2$18, toDisplayString(r.labelsMap.resultsIntro), 1),
|
|
14256
14256
|
createElementVNode("p", null, [
|
|
14257
|
-
createElementVNode("span", _hoisted_3$
|
|
14257
|
+
createElementVNode("span", _hoisted_3$W, toDisplayString(n.totalKilos.toLocaleString(n.language, {
|
|
14258
14258
|
minimumFractionDigits: 3
|
|
14259
14259
|
})), 1),
|
|
14260
14260
|
createTextVNode(" " + toDisplayString(r.labelsMap.kgsOf), 1)
|
|
@@ -14269,7 +14269,7 @@ function _sfc_render$1O(e, t, n, a, o, r) {
|
|
|
14269
14269
|
class: "vs-carbon-calculator-results__comparison"
|
|
14270
14270
|
}, {
|
|
14271
14271
|
default: withCtx(() => [
|
|
14272
|
-
createElementVNode("p", { innerHTML: r.interpolComparison }, null, 8, _hoisted_4$
|
|
14272
|
+
createElementVNode("p", { innerHTML: r.interpolComparison }, null, 8, _hoisted_4$F)
|
|
14273
14273
|
]),
|
|
14274
14274
|
_: 1
|
|
14275
14275
|
})
|
|
@@ -14285,7 +14285,7 @@ function _sfc_render$1O(e, t, n, a, o, r) {
|
|
|
14285
14285
|
class: "vs-carbon-calculator-results__unicorn"
|
|
14286
14286
|
}, {
|
|
14287
14287
|
default: withCtx(() => [
|
|
14288
|
-
createElementVNode("div", _hoisted_5$
|
|
14288
|
+
createElementVNode("div", _hoisted_5$u, [
|
|
14289
14289
|
createVNode(c, {
|
|
14290
14290
|
icon: "fa-kit fa-vs-unicorn",
|
|
14291
14291
|
size: "lg",
|
|
@@ -14293,7 +14293,7 @@ function _sfc_render$1O(e, t, n, a, o, r) {
|
|
|
14293
14293
|
class: "vs-carbon-calculator-results__unicorn-icon"
|
|
14294
14294
|
})
|
|
14295
14295
|
]),
|
|
14296
|
-
createElementVNode("div", _hoisted_6$
|
|
14296
|
+
createElementVNode("div", _hoisted_6$j, [
|
|
14297
14297
|
createVNode(s, {
|
|
14298
14298
|
level: "3",
|
|
14299
14299
|
"heading-style": "heading-xs"
|
|
@@ -14357,7 +14357,7 @@ function _sfc_render$1O(e, t, n, a, o, r) {
|
|
|
14357
14357
|
_: 1
|
|
14358
14358
|
}, 8, ["style"]);
|
|
14359
14359
|
}
|
|
14360
|
-
const VsCarbonCalculatorResults = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14360
|
+
const VsCarbonCalculatorResults = /* @__PURE__ */ _export_sfc(_sfc_main$25, [["render", _sfc_render$1O]]), _sfc_main$24 = {
|
|
14361
14361
|
name: "VsCarbonCalculatorRunningTotal",
|
|
14362
14362
|
status: "prototype",
|
|
14363
14363
|
release: "0.0.1",
|
|
@@ -14386,29 +14386,29 @@ const VsCarbonCalculatorResults = /* @__PURE__ */ _export_sfc(_sfc_main$23, [["r
|
|
|
14386
14386
|
default: "en-gb"
|
|
14387
14387
|
}
|
|
14388
14388
|
}
|
|
14389
|
-
}, _hoisted_1$
|
|
14389
|
+
}, _hoisted_1$1B = {
|
|
14390
14390
|
class: "vs-carbon-calculator-running-total",
|
|
14391
14391
|
"data-test": "vs-carbon-calculator-running-total"
|
|
14392
|
-
}, _hoisted_2$
|
|
14392
|
+
}, _hoisted_2$17 = { class: "vs-carbon-calculator-running-total__icon" }, _hoisted_3$V = { class: "vs-carbon-calculator-running-total__content" }, _hoisted_4$E = { class: "vs-carbon-calculator-running-total__value" };
|
|
14393
14393
|
function _sfc_render$1N(e, t, n, a, o, r) {
|
|
14394
14394
|
const s = resolveComponent("VsIcon");
|
|
14395
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
14396
|
-
createElementVNode("div", _hoisted_2$
|
|
14395
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1B, [
|
|
14396
|
+
createElementVNode("div", _hoisted_2$17, [
|
|
14397
14397
|
createVNode(s, {
|
|
14398
14398
|
icon: "fa-regular fa-pen-field",
|
|
14399
14399
|
size: "md"
|
|
14400
14400
|
})
|
|
14401
14401
|
]),
|
|
14402
|
-
createElementVNode("div", _hoisted_3$
|
|
14402
|
+
createElementVNode("div", _hoisted_3$V, [
|
|
14403
14403
|
createElementVNode("p", null, toDisplayString(r.labelsMap.soFar), 1),
|
|
14404
14404
|
createElementVNode("p", null, [
|
|
14405
|
-
createElementVNode("span", _hoisted_4$
|
|
14405
|
+
createElementVNode("span", _hoisted_4$E, toDisplayString(n.totalKilos.toLocaleString(n.language, { minimumFractionDigits: 3 })), 1),
|
|
14406
14406
|
createTextVNode(" " + toDisplayString(r.labelsMap.kgsOf), 1)
|
|
14407
14407
|
])
|
|
14408
14408
|
])
|
|
14409
14409
|
]);
|
|
14410
14410
|
}
|
|
14411
|
-
const VsCarbonCalculatorRunningTotal = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14411
|
+
const VsCarbonCalculatorRunningTotal = /* @__PURE__ */ _export_sfc(_sfc_main$24, [["render", _sfc_render$1N]]), _sfc_main$23 = {
|
|
14412
14412
|
name: "VsCarbonCalculatorIntro",
|
|
14413
14413
|
status: "prototype",
|
|
14414
14414
|
release: "0.0.1",
|
|
@@ -14416,13 +14416,13 @@ const VsCarbonCalculatorRunningTotal = /* @__PURE__ */ _export_sfc(_sfc_main$22,
|
|
|
14416
14416
|
VsHeading
|
|
14417
14417
|
},
|
|
14418
14418
|
inject: ["labelsMap"]
|
|
14419
|
-
}, _hoisted_1$
|
|
14419
|
+
}, _hoisted_1$1A = {
|
|
14420
14420
|
class: "vs-carbon-calculator-intro",
|
|
14421
14421
|
"data-test": "vs-carbon-calculator-intro"
|
|
14422
14422
|
};
|
|
14423
14423
|
function _sfc_render$1M(e, t, n, a, o, r) {
|
|
14424
14424
|
const s = resolveComponent("VsHeading");
|
|
14425
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
14425
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1A, [
|
|
14426
14426
|
createVNode(s, {
|
|
14427
14427
|
level: "2",
|
|
14428
14428
|
"heading-style": "heading-l"
|
|
@@ -14435,7 +14435,7 @@ function _sfc_render$1M(e, t, n, a, o, r) {
|
|
|
14435
14435
|
createElementVNode("p", null, toDisplayString(r.labelsMap.introContent), 1)
|
|
14436
14436
|
]);
|
|
14437
14437
|
}
|
|
14438
|
-
const VsCarbonCalculatorIntro = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14438
|
+
const VsCarbonCalculatorIntro = /* @__PURE__ */ _export_sfc(_sfc_main$23, [["render", _sfc_render$1M]]);
|
|
14439
14439
|
function ownKeys$1(e, t) {
|
|
14440
14440
|
var n = Object.keys(e);
|
|
14441
14441
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -14737,14 +14737,14 @@ function setValidations(e) {
|
|
|
14737
14737
|
config: p,
|
|
14738
14738
|
validationGroups: m
|
|
14739
14739
|
} = sortValidations(t), g = _objectSpread2$1(_objectSpread2$1({}, i), p), b = a ? computed$1(() => {
|
|
14740
|
-
const
|
|
14741
|
-
return
|
|
14740
|
+
const O = unref(n);
|
|
14741
|
+
return O ? unref(O[a]) : void 0;
|
|
14742
14742
|
}) : n, v = _objectSpread2$1({}, unref(c) || {}), _ = computed$1(() => {
|
|
14743
|
-
const
|
|
14744
|
-
return a ?
|
|
14743
|
+
const O = unref(c);
|
|
14744
|
+
return a ? O ? unref(O[a]) : void 0 : O;
|
|
14745
14745
|
}), C = createValidationResults(u, b, a, s, d, g, l, _, n), k = collectNestedValidationResults(f, b, d, s, g, l, _), E = {};
|
|
14746
|
-
m && Object.entries(m).forEach((
|
|
14747
|
-
let [z, F] =
|
|
14746
|
+
m && Object.entries(m).forEach((O) => {
|
|
14747
|
+
let [z, F] = O;
|
|
14748
14748
|
E[z] = {
|
|
14749
14749
|
$invalid: gatherBooleanGroupProperties(F, k, "$invalid"),
|
|
14750
14750
|
$error: gatherBooleanGroupProperties(F, k, "$error"),
|
|
@@ -14763,36 +14763,36 @@ function setValidations(e) {
|
|
|
14763
14763
|
$touch: M,
|
|
14764
14764
|
$reset: S,
|
|
14765
14765
|
$silentErrors: B,
|
|
14766
|
-
$commit:
|
|
14766
|
+
$commit: A
|
|
14767
14767
|
} = createMetaFields(C, k, r), $ = a ? computed$1({
|
|
14768
14768
|
get: () => unref(b),
|
|
14769
|
-
set: (
|
|
14769
|
+
set: (O) => {
|
|
14770
14770
|
D.value = !0;
|
|
14771
14771
|
const z = unref(n), F = unref(c);
|
|
14772
|
-
F && (F[a] = v[a]), isRef(z[a]) ? z[a].value =
|
|
14772
|
+
F && (F[a] = v[a]), isRef(z[a]) ? z[a].value = O : z[a] = O;
|
|
14773
14773
|
}
|
|
14774
14774
|
}) : null;
|
|
14775
14775
|
a && g.$autoDirty && watch(b, () => {
|
|
14776
14776
|
D.value || M();
|
|
14777
|
-
const
|
|
14778
|
-
|
|
14777
|
+
const O = unref(c);
|
|
14778
|
+
O && (O[a] = v[a]);
|
|
14779
14779
|
}, {
|
|
14780
14780
|
flush: "sync"
|
|
14781
14781
|
});
|
|
14782
14782
|
async function V() {
|
|
14783
|
-
return M(), g.$rewardEarly && (
|
|
14784
|
-
if (!T.value) return
|
|
14783
|
+
return M(), g.$rewardEarly && (A(), await nextTick$1()), await nextTick$1(), new Promise((O) => {
|
|
14784
|
+
if (!T.value) return O(!N.value);
|
|
14785
14785
|
const z = watch(T, () => {
|
|
14786
|
-
|
|
14786
|
+
O(!N.value), z();
|
|
14787
14787
|
});
|
|
14788
14788
|
});
|
|
14789
14789
|
}
|
|
14790
|
-
function w(
|
|
14791
|
-
return (r.value || {})[
|
|
14790
|
+
function w(O) {
|
|
14791
|
+
return (r.value || {})[O];
|
|
14792
14792
|
}
|
|
14793
14793
|
function L() {
|
|
14794
|
-
isRef(c) ? c.value = v : Object.keys(v).length === 0 ? Object.keys(c).forEach((
|
|
14795
|
-
delete c[
|
|
14794
|
+
isRef(c) ? c.value = v : Object.keys(v).length === 0 ? Object.keys(c).forEach((O) => {
|
|
14795
|
+
delete c[O];
|
|
14796
14796
|
}) : Object.assign(c, v);
|
|
14797
14797
|
}
|
|
14798
14798
|
return reactive(_objectSpread2$1(_objectSpread2$1(_objectSpread2$1({}, C), {}, {
|
|
@@ -14808,7 +14808,7 @@ function setValidations(e) {
|
|
|
14808
14808
|
$path: d || ROOT_PATH,
|
|
14809
14809
|
$silentErrors: B,
|
|
14810
14810
|
$validate: V,
|
|
14811
|
-
$commit:
|
|
14811
|
+
$commit: A
|
|
14812
14812
|
}, r && {
|
|
14813
14813
|
$getResultsForChild: w,
|
|
14814
14814
|
$clearExternalResults: L,
|
|
@@ -15225,12 +15225,14 @@ const postcodeRegex = /^([A-Za-z][A-HJ-Ya-hj-y]?\d[A-Za-z\d]? ?\d[A-Za-z]{2}|GIR
|
|
|
15225
15225
|
}) : {};
|
|
15226
15226
|
},
|
|
15227
15227
|
errorsList() {
|
|
15228
|
-
const e = [];
|
|
15229
|
-
|
|
15230
|
-
this.v
|
|
15231
|
-
|
|
15228
|
+
const e = this.inputVal, t = [];
|
|
15229
|
+
Object.keys(this.rules.inputVal).forEach((o) => {
|
|
15230
|
+
this.v$.inputVal?.$errors && this.v$.inputVal.$errors.forEach((r) => {
|
|
15231
|
+
r.$validator === o && t.push(o);
|
|
15232
15232
|
});
|
|
15233
|
-
})
|
|
15233
|
+
});
|
|
15234
|
+
const a = typeof e == "string" ? !/\S/.test(e) : !e;
|
|
15235
|
+
return "required" in this.rules.inputVal && this.v$.inputVal?.$anyDirty && a && !t.includes("required") && t.push("required"), t;
|
|
15234
15236
|
}
|
|
15235
15237
|
},
|
|
15236
15238
|
watch: {
|
|
@@ -15243,17 +15245,11 @@ const postcodeRegex = /^([A-Za-z][A-HJ-Ya-hj-y]?\d[A-Za-z\d]? ?\d[A-Za-z]{2}|GIR
|
|
|
15243
15245
|
* manually run validation and emit to parent
|
|
15244
15246
|
*/
|
|
15245
15247
|
manualValidate() {
|
|
15246
|
-
|
|
15247
|
-
|
|
15248
|
-
typeof this.inputVal == "string" ? /\S/.test(this.inputVal) || (e = !0) : this.inputVal || (e = !0), e && this.errorsList.indexOf("required") === -1 && this.v$.inputVal?.$anyDirty && this.errorsList.push("required");
|
|
15249
|
-
} else
|
|
15250
|
-
this.errorsList.forEach((e, t) => {
|
|
15251
|
-
e === "required" && this.errorsList.splice(t, 1);
|
|
15252
|
-
});
|
|
15253
|
-
this.errorsList.length && (this.isInvalid = !0), this.touched = !0, this.$emit("status-update", {
|
|
15248
|
+
const e = [...this.errorsList];
|
|
15249
|
+
this.isInvalid = e.length > 0, this.touched = !0, this.$emit("status-update", {
|
|
15254
15250
|
field: this.fieldName,
|
|
15255
15251
|
value: this.inputVal,
|
|
15256
|
-
errors:
|
|
15252
|
+
errors: e
|
|
15257
15253
|
});
|
|
15258
15254
|
},
|
|
15259
15255
|
/**
|
|
@@ -15271,7 +15267,7 @@ const postcodeRegex = /^([A-Za-z][A-HJ-Ya-hj-y]?\d[A-Za-z\d]? ?\d[A-Za-z]{2}|GIR
|
|
|
15271
15267
|
return this.v$.inputVal && this.v$.inputVal.$anyError || this.invalid ? `error-${this.fieldName}` : this.hintText ? `hint-${this.fieldName}` : null;
|
|
15272
15268
|
}
|
|
15273
15269
|
}
|
|
15274
|
-
}, _sfc_main$
|
|
15270
|
+
}, _sfc_main$22 = {
|
|
15275
15271
|
name: "VsRadioButton",
|
|
15276
15272
|
status: "prototype",
|
|
15277
15273
|
release: "0.0.1",
|
|
@@ -15455,13 +15451,13 @@ const postcodeRegex = /^([A-Za-z][A-HJ-Ya-hj-y]?\d[A-Za-z\d]? ?\d[A-Za-z]{2}|GIR
|
|
|
15455
15451
|
validations() {
|
|
15456
15452
|
return this.rules;
|
|
15457
15453
|
}
|
|
15458
|
-
}, _hoisted_1$
|
|
15454
|
+
}, _hoisted_1$1z = {
|
|
15459
15455
|
class: "vs-radio-button",
|
|
15460
15456
|
"data-test": "vs-radio-button"
|
|
15461
|
-
}, _hoisted_2$
|
|
15457
|
+
}, _hoisted_2$16 = ["id"], _hoisted_3$U = { class: "visually-hidden" }, _hoisted_4$D = ["id"];
|
|
15462
15458
|
function _sfc_render$1L(e, t, n, a, o, r) {
|
|
15463
15459
|
const s = resolveComponent("BFormRadio"), i = resolveComponent("BFormRadioGroup");
|
|
15464
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
15460
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1z, [
|
|
15465
15461
|
e.errorsList.length || n.invalid ? (openBlock(), createElementBlock("div", {
|
|
15466
15462
|
key: 0,
|
|
15467
15463
|
role: "alert",
|
|
@@ -15472,12 +15468,12 @@ function _sfc_render$1L(e, t, n, a, o, r) {
|
|
|
15472
15468
|
key: l,
|
|
15473
15469
|
class: "error mb-0"
|
|
15474
15470
|
}, [
|
|
15475
|
-
createElementVNode("span", _hoisted_3$
|
|
15471
|
+
createElementVNode("span", _hoisted_3$U, toDisplayString(n.fieldName), 1),
|
|
15476
15472
|
createTextVNode(" " + toDisplayString(n.validationMessages[l] || n.genericValidation[l]), 1)
|
|
15477
15473
|
])), [
|
|
15478
15474
|
[vShow, !n.reAlertErrors && !o.clearErrorsOnFocus]
|
|
15479
15475
|
])), 128))
|
|
15480
|
-
], 8, _hoisted_2$
|
|
15476
|
+
], 8, _hoisted_2$16)) : createCommentVNode("", !0),
|
|
15481
15477
|
createVNode(i, {
|
|
15482
15478
|
id: n.fieldName,
|
|
15483
15479
|
"aria-invalid": e.v$.inputVal && e.v$.inputVal.$anyError || n.invalid,
|
|
@@ -15519,10 +15515,10 @@ function _sfc_render$1L(e, t, n, a, o, r) {
|
|
|
15519
15515
|
key: 1,
|
|
15520
15516
|
class: "hint-text",
|
|
15521
15517
|
id: `hint-${n.fieldName}`
|
|
15522
|
-
}, toDisplayString(n.hintText), 9, _hoisted_4$
|
|
15518
|
+
}, toDisplayString(n.hintText), 9, _hoisted_4$D)) : createCommentVNode("", !0)
|
|
15523
15519
|
]);
|
|
15524
15520
|
}
|
|
15525
|
-
const VsRadioButton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15521
|
+
const VsRadioButton = /* @__PURE__ */ _export_sfc(_sfc_main$22, [["render", _sfc_render$1L]]), _sfc_main$21 = {
|
|
15526
15522
|
name: "VsInput",
|
|
15527
15523
|
status: "prototype",
|
|
15528
15524
|
release: "0.0.1",
|
|
@@ -15743,15 +15739,15 @@ const VsRadioButton = /* @__PURE__ */ _export_sfc(_sfc_main$20, [["render", _sfc
|
|
|
15743
15739
|
validations() {
|
|
15744
15740
|
return this.rules;
|
|
15745
15741
|
}
|
|
15746
|
-
}, _hoisted_1$
|
|
15742
|
+
}, _hoisted_1$1y = { "data-test": "vs-number-input" }, _hoisted_2$15 = ["id"], _hoisted_3$T = ["id"], _hoisted_4$C = { class: "visually-hidden" }, _hoisted_5$t = { class: "visually-hidden" };
|
|
15747
15743
|
function _sfc_render$1K(e, t, n, a, o, r) {
|
|
15748
15744
|
const s = resolveComponent("VsButton"), i = resolveComponent("BFormInput");
|
|
15749
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
15745
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1y, [
|
|
15750
15746
|
n.hintText ? (openBlock(), createElementBlock("p", {
|
|
15751
15747
|
key: 0,
|
|
15752
15748
|
class: "hint-text",
|
|
15753
15749
|
id: `hint-${n.fieldName}`
|
|
15754
|
-
}, toDisplayString(n.hintText), 9, _hoisted_2$
|
|
15750
|
+
}, toDisplayString(n.hintText), 9, _hoisted_2$15)) : createCommentVNode("", !0),
|
|
15755
15751
|
e.errorsList.length || n.invalid ? (openBlock(), createElementBlock("div", {
|
|
15756
15752
|
key: 1,
|
|
15757
15753
|
role: "alert",
|
|
@@ -15762,12 +15758,12 @@ function _sfc_render$1K(e, t, n, a, o, r) {
|
|
|
15762
15758
|
key: l,
|
|
15763
15759
|
class: "error mb-0"
|
|
15764
15760
|
}, [
|
|
15765
|
-
createElementVNode("span", _hoisted_4$
|
|
15761
|
+
createElementVNode("span", _hoisted_4$C, toDisplayString(n.fieldName), 1),
|
|
15766
15762
|
createTextVNode(" " + toDisplayString(n.validationMessages[l] || n.genericValidation[l]), 1)
|
|
15767
15763
|
])), [
|
|
15768
15764
|
[vShow, !n.reAlertErrors && !o.clearErrorsOnFocus]
|
|
15769
15765
|
])), 128))
|
|
15770
|
-
], 8, _hoisted_3$
|
|
15766
|
+
], 8, _hoisted_3$T)) : createCommentVNode("", !0),
|
|
15771
15767
|
createVNode(s, {
|
|
15772
15768
|
class: "vs-number-input__increment",
|
|
15773
15769
|
"icon-only": !0,
|
|
@@ -15825,13 +15821,13 @@ function _sfc_render$1K(e, t, n, a, o, r) {
|
|
|
15825
15821
|
onClick: t[1] || (t[1] = withModifiers((l) => r.clearInputAndFocus(), ["prevent"]))
|
|
15826
15822
|
}, {
|
|
15827
15823
|
default: withCtx(() => [
|
|
15828
|
-
createElementVNode("span", _hoisted_5$
|
|
15824
|
+
createElementVNode("span", _hoisted_5$t, toDisplayString(n.clearButtonText), 1)
|
|
15829
15825
|
]),
|
|
15830
15826
|
_: 1
|
|
15831
15827
|
})) : createCommentVNode("", !0)
|
|
15832
15828
|
]);
|
|
15833
15829
|
}
|
|
15834
|
-
const VsNumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15830
|
+
const VsNumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$21, [["render", _sfc_render$1K]]), _sfc_main$20 = {
|
|
15835
15831
|
name: "VsCarbonCalculatorQuestion",
|
|
15836
15832
|
status: "prototype",
|
|
15837
15833
|
release: "0.0.1",
|
|
@@ -15922,7 +15918,7 @@ const VsNumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$1$, [["render", _sfc
|
|
|
15922
15918
|
this.$emit("updateFieldData", e);
|
|
15923
15919
|
}
|
|
15924
15920
|
}
|
|
15925
|
-
}, _hoisted_1$
|
|
15921
|
+
}, _hoisted_1$1x = ["for"];
|
|
15926
15922
|
function _sfc_render$1J(e, t, n, a, o, r) {
|
|
15927
15923
|
const s = resolveComponent("VsRadioButton"), i = resolveComponent("VsNumberInput"), l = resolveComponent("BFormGroup");
|
|
15928
15924
|
return openBlock(), createBlock(l, {
|
|
@@ -15936,7 +15932,7 @@ function _sfc_render$1J(e, t, n, a, o, r) {
|
|
|
15936
15932
|
createElementVNode("label", {
|
|
15937
15933
|
class: "vs-carbon-calculator-question__label mb-200",
|
|
15938
15934
|
for: n.fieldName
|
|
15939
|
-
}, toDisplayString(n.label), 9, _hoisted_1$
|
|
15935
|
+
}, toDisplayString(n.label), 9, _hoisted_1$1x),
|
|
15940
15936
|
n.fieldType === "radio" ? (openBlock(), createBlock(s, {
|
|
15941
15937
|
key: 0,
|
|
15942
15938
|
"field-name": n.fieldName,
|
|
@@ -15960,7 +15956,7 @@ function _sfc_render$1J(e, t, n, a, o, r) {
|
|
|
15960
15956
|
_: 1
|
|
15961
15957
|
}, 8, ["class"]);
|
|
15962
15958
|
}
|
|
15963
|
-
const VsCarbonCalculatorQuestion = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15959
|
+
const VsCarbonCalculatorQuestion = /* @__PURE__ */ _export_sfc(_sfc_main$20, [["render", _sfc_render$1J]]), _sfc_main$1$ = {
|
|
15964
15960
|
name: "VsCarbonCalculator",
|
|
15965
15961
|
status: "deprecated",
|
|
15966
15962
|
release: "0.0.1",
|
|
@@ -16380,10 +16376,10 @@ const VsCarbonCalculatorQuestion = /* @__PURE__ */ _export_sfc(_sfc_main$1_, [["
|
|
|
16380
16376
|
this.repeatableStages[this.activeStage].generations = t;
|
|
16381
16377
|
}
|
|
16382
16378
|
}
|
|
16383
|
-
}, _hoisted_1$
|
|
16379
|
+
}, _hoisted_1$1w = { class: "vs-carbon-calculator__wrapper" }, _hoisted_2$14 = { key: 1 };
|
|
16384
16380
|
function _sfc_render$1I(e, t, n, a, o, r) {
|
|
16385
16381
|
const s = resolveComponent("VsCarbonCalculatorIntro"), i = resolveComponent("VsProgressBar"), l = resolveComponent("VsHeading"), c = resolveComponent("VsCarbonCalculatorQuestion"), d = resolveComponent("VsButton"), u = resolveComponent("VsCarbonCalculatorTip"), f = resolveComponent("VsCol"), p = resolveComponent("VsCarbonCalculatorRunningTotal"), m = resolveComponent("VsCarbonCalculatorResults"), g = resolveComponent("VsRow"), b = resolveComponent("VsContainer"), v = resolveComponent("VsWarning");
|
|
16386
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
16382
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1w, [
|
|
16387
16383
|
createVNode(b, {
|
|
16388
16384
|
class: "vs-carbon-calculator",
|
|
16389
16385
|
"data-test": "vs-carbon-calculator"
|
|
@@ -16397,7 +16393,7 @@ function _sfc_render$1I(e, t, n, a, o, r) {
|
|
|
16397
16393
|
createVNode(f, null, {
|
|
16398
16394
|
default: withCtx(() => [
|
|
16399
16395
|
e.activeStage ? createCommentVNode("", !0) : (openBlock(), createBlock(s, { key: 0 })),
|
|
16400
|
-
e.activeStage ? (openBlock(), createElementBlock("form", _hoisted_2$
|
|
16396
|
+
e.activeStage ? (openBlock(), createElementBlock("form", _hoisted_2$14, [
|
|
16401
16397
|
createElementVNode("fieldset", null, [
|
|
16402
16398
|
createVNode(i, {
|
|
16403
16399
|
max: e.formData.stages,
|
|
@@ -16575,7 +16571,7 @@ function _sfc_render$1I(e, t, n, a, o, r) {
|
|
|
16575
16571
|
})
|
|
16576
16572
|
]);
|
|
16577
16573
|
}
|
|
16578
|
-
const CarbonCalculator = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
16574
|
+
const CarbonCalculator = /* @__PURE__ */ _export_sfc(_sfc_main$1$, [["render", _sfc_render$1I]]), _sfc_main$1_ = {
|
|
16579
16575
|
name: "VsCard",
|
|
16580
16576
|
status: "prototype",
|
|
16581
16577
|
release: "0.1.0",
|
|
@@ -16649,16 +16645,16 @@ const CarbonCalculator = /* @__PURE__ */ _export_sfc(_sfc_main$1Z, [["render", _
|
|
|
16649
16645
|
this.mediaComponent && this.mediaComponent?.toggleVideo?.();
|
|
16650
16646
|
}
|
|
16651
16647
|
}
|
|
16652
|
-
}, _hoisted_1$
|
|
16648
|
+
}, _hoisted_1$1v = {
|
|
16653
16649
|
key: 0,
|
|
16654
16650
|
class: "vs-card__header"
|
|
16655
|
-
}, _hoisted_2$
|
|
16651
|
+
}, _hoisted_2$13 = { class: "vs-card__body" }, _hoisted_3$S = {
|
|
16656
16652
|
key: 1,
|
|
16657
16653
|
class: "vs-card__footer"
|
|
16658
|
-
}, _hoisted_4$
|
|
16654
|
+
}, _hoisted_4$B = {
|
|
16659
16655
|
key: 2,
|
|
16660
16656
|
class: "vs-card__media"
|
|
16661
|
-
}, _hoisted_5$
|
|
16657
|
+
}, _hoisted_5$s = {
|
|
16662
16658
|
key: 3,
|
|
16663
16659
|
class: "vs-card__overlay-controls"
|
|
16664
16660
|
};
|
|
@@ -16668,24 +16664,24 @@ function _sfc_render$1H(e, t, n, a, o, r) {
|
|
|
16668
16664
|
"data-test": "vs-card",
|
|
16669
16665
|
style: normalizeStyle(r.cardStyles)
|
|
16670
16666
|
}, [
|
|
16671
|
-
e.$slots["vs-card-header"] && e.$slots["vs-card-header"]() ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
16667
|
+
e.$slots["vs-card-header"] && e.$slots["vs-card-header"]() ? (openBlock(), createElementBlock("div", _hoisted_1$1v, [
|
|
16672
16668
|
renderSlot(e.$slots, "vs-card-header")
|
|
16673
16669
|
])) : createCommentVNode("", !0),
|
|
16674
|
-
createElementVNode("div", _hoisted_2$
|
|
16670
|
+
createElementVNode("div", _hoisted_2$13, [
|
|
16675
16671
|
renderSlot(e.$slots, "vs-card-body")
|
|
16676
16672
|
]),
|
|
16677
|
-
e.$slots["vs-card-footer"] && e.$slots["vs-card-footer"]() ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
16673
|
+
e.$slots["vs-card-footer"] && e.$slots["vs-card-footer"]() ? (openBlock(), createElementBlock("div", _hoisted_3$S, [
|
|
16678
16674
|
renderSlot(e.$slots, "vs-card-footer")
|
|
16679
16675
|
])) : createCommentVNode("", !0),
|
|
16680
|
-
n.cardStyle === "overlay" && e.$slots["vs-card-image"] && e.$slots["vs-card-image"]() ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
16676
|
+
n.cardStyle === "overlay" && e.$slots["vs-card-image"] && e.$slots["vs-card-image"]() ? (openBlock(), createElementBlock("div", _hoisted_4$B, [
|
|
16681
16677
|
renderSlot(e.$slots, "vs-card-image")
|
|
16682
16678
|
])) : createCommentVNode("", !0),
|
|
16683
|
-
e.$slots["vs-card-overlay-controls"] && e.$slots["vs-card-overlay-controls"]() ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
16679
|
+
e.$slots["vs-card-overlay-controls"] && e.$slots["vs-card-overlay-controls"]() ? (openBlock(), createElementBlock("div", _hoisted_5$s, [
|
|
16684
16680
|
renderSlot(e.$slots, "vs-card-overlay-controls")
|
|
16685
16681
|
])) : createCommentVNode("", !0)
|
|
16686
16682
|
], 6);
|
|
16687
16683
|
}
|
|
16688
|
-
const VsCard = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
16684
|
+
const VsCard = /* @__PURE__ */ _export_sfc(_sfc_main$1_, [["render", _sfc_render$1H]]), _sfc_main$1Z = {
|
|
16689
16685
|
name: "VsCardGroup",
|
|
16690
16686
|
status: "deprecated",
|
|
16691
16687
|
release: "0.1.0",
|
|
@@ -16746,7 +16742,7 @@ function _sfc_render$1G(e, t, n, a, o, r) {
|
|
|
16746
16742
|
renderSlot(e.$slots, "default")
|
|
16747
16743
|
], 6);
|
|
16748
16744
|
}
|
|
16749
|
-
const VsCardGroup = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
16745
|
+
const VsCardGroup = /* @__PURE__ */ _export_sfc(_sfc_main$1Z, [["render", _sfc_render$1G]]), noJsClass = "no-js", jsIsDisabled = () => document.getElementsByClassName(noJsClass).length > 0, useVideoStore = defineStore("video", {
|
|
16750
16746
|
state: () => ({
|
|
16751
16747
|
videos: {}
|
|
16752
16748
|
}),
|
|
@@ -16806,7 +16802,7 @@ const VsCardGroup = /* @__PURE__ */ _export_sfc(_sfc_main$1X, [["render", _sfc_r
|
|
|
16806
16802
|
cookieCategories.analytical,
|
|
16807
16803
|
cookieCategories.marketing
|
|
16808
16804
|
]
|
|
16809
|
-
}, cookieValues$4 = cookieValues$5.youtube, _sfc_main$
|
|
16805
|
+
}, cookieValues$4 = cookieValues$5.youtube, _sfc_main$1Y = {
|
|
16810
16806
|
name: "VsStretchedLinkCard",
|
|
16811
16807
|
status: "deprecated",
|
|
16812
16808
|
release: "0.0.1",
|
|
@@ -17012,20 +17008,20 @@ const VsCardGroup = /* @__PURE__ */ _export_sfc(_sfc_main$1X, [["render", _sfc_r
|
|
|
17012
17008
|
!this.videoId || !this.cookiesAllowed || this.emitter && this.emitter.emit("showModal", this.videoId, "#videoShow");
|
|
17013
17009
|
}
|
|
17014
17010
|
}
|
|
17015
|
-
}, _hoisted_1$
|
|
17011
|
+
}, _hoisted_1$1u = {
|
|
17016
17012
|
key: 0,
|
|
17017
17013
|
class: "vs-stretched-link-card__video-btn-text"
|
|
17018
|
-
}, _hoisted_2$
|
|
17014
|
+
}, _hoisted_2$12 = {
|
|
17019
17015
|
key: 4,
|
|
17020
17016
|
class: "card-body"
|
|
17021
|
-
}, _hoisted_3$
|
|
17017
|
+
}, _hoisted_3$R = {
|
|
17022
17018
|
key: 0,
|
|
17023
17019
|
class: "vs-stretched-link-card__category",
|
|
17024
17020
|
"data-test": "vs-stretched-link-card__category"
|
|
17025
|
-
}, _hoisted_4$
|
|
17021
|
+
}, _hoisted_4$A = {
|
|
17026
17022
|
class: "vs-stretched-link-card__content",
|
|
17027
17023
|
"data-test": "vs-stretched-link-card__content"
|
|
17028
|
-
}, _hoisted_5$
|
|
17024
|
+
}, _hoisted_5$r = {
|
|
17029
17025
|
key: 2,
|
|
17030
17026
|
class: "vs-stretched-link-card__badges",
|
|
17031
17027
|
"data-test": "vs-stretched-link-card__badges"
|
|
@@ -17093,7 +17089,7 @@ function _sfc_render$1F(e, t, n, a, o, r) {
|
|
|
17093
17089
|
onClick: r.emitShowModal
|
|
17094
17090
|
}, {
|
|
17095
17091
|
default: withCtx(() => [
|
|
17096
|
-
n.videoBtnText ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
17092
|
+
n.videoBtnText ? (openBlock(), createElementBlock("span", _hoisted_1$1u, toDisplayString(r.formattedVideoBtnText), 1)) : createCommentVNode("", !0),
|
|
17097
17093
|
createTextVNode(" " + toDisplayString(r.formattedVideoDuration), 1)
|
|
17098
17094
|
]),
|
|
17099
17095
|
_: 1
|
|
@@ -17132,8 +17128,8 @@ function _sfc_render$1F(e, t, n, a, o, r) {
|
|
|
17132
17128
|
}, 8, ["size"])) : createCommentVNode("", !0)
|
|
17133
17129
|
], 2)) : createCommentVNode("", !0),
|
|
17134
17130
|
e.$slots["stretched-card-panels"] && e.$slots["stretched-card-panels"]() ? renderSlot(e.$slots, "stretched-card-panels", {}, void 0, void 0, 3) : createCommentVNode("", !0),
|
|
17135
|
-
r.showWarning !== "full" ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
17136
|
-
e.$slots["stretched-card-category"] && e.$slots["stretched-card-category"]() ? (openBlock(), createElementBlock("span", _hoisted_3$
|
|
17131
|
+
r.showWarning !== "full" ? (openBlock(), createElementBlock("div", _hoisted_2$12, [
|
|
17132
|
+
e.$slots["stretched-card-category"] && e.$slots["stretched-card-category"]() ? (openBlock(), createElementBlock("span", _hoisted_3$R, [
|
|
17137
17133
|
renderSlot(e.$slots, "stretched-card-category")
|
|
17138
17134
|
])) : createCommentVNode("", !0),
|
|
17139
17135
|
e.$slots["stretched-card-header"] && e.$slots["stretched-card-header"]() ? (openBlock(), createBlock(d, {
|
|
@@ -17162,10 +17158,10 @@ function _sfc_render$1F(e, t, n, a, o, r) {
|
|
|
17162
17158
|
]),
|
|
17163
17159
|
_: 3
|
|
17164
17160
|
}, 8, ["level", "heading-style"])) : createCommentVNode("", !0),
|
|
17165
|
-
createElementVNode("div", _hoisted_4$
|
|
17161
|
+
createElementVNode("div", _hoisted_4$A, [
|
|
17166
17162
|
renderSlot(e.$slots, "stretched-card-content")
|
|
17167
17163
|
]),
|
|
17168
|
-
e.$slots["stretched-card-badges"] && e.$slots["stretched-card-badges"]() ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
17164
|
+
e.$slots["stretched-card-badges"] && e.$slots["stretched-card-badges"]() ? (openBlock(), createElementBlock("div", _hoisted_5$r, [
|
|
17169
17165
|
renderSlot(e.$slots, "stretched-card-badges")
|
|
17170
17166
|
])) : createCommentVNode("", !0),
|
|
17171
17167
|
e.$slots["stretched-card-link"] && e.$slots["stretched-card-link"]() ? (openBlock(), createBlock(c, {
|
|
@@ -17182,7 +17178,7 @@ function _sfc_render$1F(e, t, n, a, o, r) {
|
|
|
17182
17178
|
])) : createCommentVNode("", !0)
|
|
17183
17179
|
], 34);
|
|
17184
17180
|
}
|
|
17185
|
-
const VsStretchedLinkCard = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17181
|
+
const VsStretchedLinkCard = /* @__PURE__ */ _export_sfc(_sfc_main$1Y, [["render", _sfc_render$1F]]), _sfc_main$1X = {
|
|
17186
17182
|
name: "VsStretchedLinkPanels",
|
|
17187
17183
|
status: "deprecated",
|
|
17188
17184
|
release: "0.0.1",
|
|
@@ -17220,34 +17216,34 @@ const VsStretchedLinkCard = /* @__PURE__ */ _export_sfc(_sfc_main$1W, [["render"
|
|
|
17220
17216
|
default: ""
|
|
17221
17217
|
}
|
|
17222
17218
|
}
|
|
17223
|
-
}, _hoisted_1$
|
|
17219
|
+
}, _hoisted_1$1t = { class: "vs-stretched-link-panels" }, _hoisted_2$11 = {
|
|
17224
17220
|
class: "vs-stretched-link-panels__panel vs-stretched-link-panels__panel--days",
|
|
17225
17221
|
"data-test": "vs-stretched-link-panel--days"
|
|
17226
|
-
}, _hoisted_3$
|
|
17222
|
+
}, _hoisted_3$Q = { "data-test": "" }, _hoisted_4$z = { class: "vs-stretched-link-panels__days" }, _hoisted_5$q = {
|
|
17227
17223
|
class: "vs-stretched-link-panels__panel",
|
|
17228
17224
|
"data-test": "vs-stretched-link-panel"
|
|
17229
|
-
}, _hoisted_6$
|
|
17225
|
+
}, _hoisted_6$i = { "data-test": "vs-stretched-link-panel__icon" };
|
|
17230
17226
|
function _sfc_render$1E(e, t, n, a, o, r) {
|
|
17231
17227
|
const s = resolveComponent("VsIcon");
|
|
17232
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
17233
|
-
createElementVNode("div", _hoisted_2
|
|
17234
|
-
createElementVNode("p", _hoisted_3$
|
|
17235
|
-
createElementVNode("span", _hoisted_4$
|
|
17228
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1t, [
|
|
17229
|
+
createElementVNode("div", _hoisted_2$11, [
|
|
17230
|
+
createElementVNode("p", _hoisted_3$Q, [
|
|
17231
|
+
createElementVNode("span", _hoisted_4$z, toDisplayString(n.days), 1),
|
|
17236
17232
|
createTextVNode(toDisplayString(n.daysLabel), 1)
|
|
17237
17233
|
])
|
|
17238
17234
|
]),
|
|
17239
|
-
createElementVNode("div", _hoisted_5$
|
|
17235
|
+
createElementVNode("div", _hoisted_5$q, [
|
|
17240
17236
|
createVNode(s, {
|
|
17241
17237
|
icon: n.transport,
|
|
17242
17238
|
variant: "inverse",
|
|
17243
17239
|
size: "sm",
|
|
17244
17240
|
class: "vs-stretched-link-panels__icon"
|
|
17245
17241
|
}, null, 8, ["icon"]),
|
|
17246
|
-
createElementVNode("p", _hoisted_6$
|
|
17242
|
+
createElementVNode("p", _hoisted_6$i, toDisplayString(n.transportName), 1)
|
|
17247
17243
|
])
|
|
17248
17244
|
]);
|
|
17249
17245
|
}
|
|
17250
|
-
const VsStretchedLinkPanels = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17246
|
+
const VsStretchedLinkPanels = /* @__PURE__ */ _export_sfc(_sfc_main$1X, [["render", _sfc_render$1E]]), _sfc_main$1W = {
|
|
17251
17247
|
name: "VsCarouselSlide",
|
|
17252
17248
|
status: "deprecated",
|
|
17253
17249
|
release: "0.0.1",
|
|
@@ -17346,7 +17342,7 @@ const VsStretchedLinkPanels = /* @__PURE__ */ _export_sfc(_sfc_main$1V, [["rende
|
|
|
17346
17342
|
return this.visibleSlides.indexOf(t) >= 0;
|
|
17347
17343
|
}
|
|
17348
17344
|
}
|
|
17349
|
-
}, _hoisted_1$
|
|
17345
|
+
}, _hoisted_1$1s = { class: "vs-carousel-slide" }, _hoisted_2$10 = { class: "visually-hidden" }, _hoisted_3$P = {
|
|
17350
17346
|
class: "vs-carousel-slide__title",
|
|
17351
17347
|
"data-test": "vs-carousel-slide__title"
|
|
17352
17348
|
};
|
|
@@ -17361,7 +17357,7 @@ function _sfc_render$1D(e, t, n, a, o, r) {
|
|
|
17361
17357
|
"aria-disabled": !r.isVisible(n.slideIndex)
|
|
17362
17358
|
}, {
|
|
17363
17359
|
default: withCtx(() => [
|
|
17364
|
-
createElementVNode("div", _hoisted_1$
|
|
17360
|
+
createElementVNode("div", _hoisted_1$1s, [
|
|
17365
17361
|
createVNode(i, {
|
|
17366
17362
|
link: n.linkUrl,
|
|
17367
17363
|
type: n.linkType,
|
|
@@ -17372,11 +17368,11 @@ function _sfc_render$1D(e, t, n, a, o, r) {
|
|
|
17372
17368
|
"data-test": "vs-carousel-card"
|
|
17373
17369
|
}, createSlots({
|
|
17374
17370
|
"stretched-card-category": withCtx(() => [
|
|
17375
|
-
createElementVNode("span", _hoisted_2$
|
|
17371
|
+
createElementVNode("span", _hoisted_2$10, toDisplayString(n.categoryLabel) + ": ", 1),
|
|
17376
17372
|
createTextVNode(toDisplayString(n.category), 1)
|
|
17377
17373
|
]),
|
|
17378
17374
|
"stretched-card-header": withCtx(() => [
|
|
17379
|
-
createElementVNode("span", _hoisted_3$
|
|
17375
|
+
createElementVNode("span", _hoisted_3$P, [
|
|
17380
17376
|
renderSlot(e.$slots, "vs-carousel-slide-heading")
|
|
17381
17377
|
])
|
|
17382
17378
|
]),
|
|
@@ -17400,7 +17396,7 @@ function _sfc_render$1D(e, t, n, a, o, r) {
|
|
|
17400
17396
|
_: 3
|
|
17401
17397
|
}, 8, ["cols", "sm", "lg", "xl", "aria-disabled"]);
|
|
17402
17398
|
}
|
|
17403
|
-
const CarouselSlide = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17399
|
+
const CarouselSlide = /* @__PURE__ */ _export_sfc(_sfc_main$1W, [["render", _sfc_render$1D]]);
|
|
17404
17400
|
function classesToTokens(e = "") {
|
|
17405
17401
|
return e.trim().split(" ").filter((t) => !!t.trim());
|
|
17406
17402
|
}
|
|
@@ -17698,8 +17694,8 @@ function updateSwiper(e) {
|
|
|
17698
17694
|
l.includes("controller") && isObject$1(M) && M.control && isObject$1(S) && !S.control && (C = !0);
|
|
17699
17695
|
const B = b.pagination;
|
|
17700
17696
|
l.includes("pagination") && isObject$1(B) && (B.el || o) && (v.pagination || v.pagination === !1) && u && !u.el && (k = !0);
|
|
17701
|
-
const
|
|
17702
|
-
l.includes("scrollbar") && isObject$1(
|
|
17697
|
+
const A = b.scrollbar;
|
|
17698
|
+
l.includes("scrollbar") && isObject$1(A) && (A.el || a) && (v.scrollbar || v.scrollbar === !1) && p && !p.el && (E = !0);
|
|
17703
17699
|
const $ = b.navigation;
|
|
17704
17700
|
l.includes("navigation") && isObject$1($) && ($.prevEl || n) && ($.nextEl || t) && (v.navigation || v.navigation === !1) && f && !f.prevEl && !f.nextEl && (D = !0);
|
|
17705
17701
|
const V = (w) => {
|
|
@@ -17707,12 +17703,12 @@ function updateSwiper(e) {
|
|
|
17707
17703
|
if (!L)
|
|
17708
17704
|
return;
|
|
17709
17705
|
L.destroy();
|
|
17710
|
-
const
|
|
17706
|
+
const O = v[w], z = isObject$1(O) ? O : void 0;
|
|
17711
17707
|
w === "navigation" ? (r.isElement && (L.prevEl?.remove(), L.nextEl?.remove()), z && (z.prevEl = void 0, z.nextEl = void 0), L.prevEl = void 0, L.nextEl = void 0) : (r.isElement && L.el?.remove(), z && (z.el = void 0), L.el = void 0);
|
|
17712
17708
|
};
|
|
17713
17709
|
if (l.includes("loop") && r.isElement && (d.loop && !i.loop ? I = !0 : !d.loop && i.loop ? N = !0 : P = !0), c.forEach((w) => {
|
|
17714
|
-
const L = v[w],
|
|
17715
|
-
isObject$1(L) && isObject$1(
|
|
17710
|
+
const L = v[w], O = b[w];
|
|
17711
|
+
isObject$1(L) && isObject$1(O) ? (Object.assign(L, O), (w === "navigation" || w === "pagination" || w === "scrollbar") && "enabled" in O && !O.enabled && V(w)) : (O === !0 || O === !1) && (w === "navigation" || w === "pagination" || w === "scrollbar") ? O === !1 && V(w) : v[w] = O;
|
|
17716
17712
|
}), c.includes("controller") && !C && r.controller && r.controller.control && isObject$1(S) && S.control && (r.controller.control = S.control), l.includes("children") && s && m && d.virtual?.enabled ? (m.slides = s, m.update(!0)) : l.includes("virtual") && m && d.virtual?.enabled && (s && (m.slides = s), m.update(!0)), l.includes("children") && s && d.loop && (P = !0), _ && g && g.init() && g.update(!0), C && r.controller && isObject$1(S) && (r.controller.control = S.control), k && u) {
|
|
17717
17713
|
if (r.isElement && (!o || typeof o == "string")) {
|
|
17718
17714
|
const L = document.createElement("div");
|
|
@@ -18510,7 +18506,7 @@ function loopFix(e = {}) {
|
|
|
18510
18506
|
const P = [], R = [], T = N ? Math.ceil(u.length / g.grid.rows) : u.length, M = s && T - C < E && !k;
|
|
18511
18507
|
let S = M ? C : d.activeIndex;
|
|
18512
18508
|
typeof c > "u" ? c = d.getSlideIndex(u.find((z) => z.classList.contains(g.slideActiveClass))) : S = c;
|
|
18513
|
-
const B = a === "next" || !a,
|
|
18509
|
+
const B = a === "next" || !a, A = a === "prev" || !a;
|
|
18514
18510
|
let $ = 0, V = 0;
|
|
18515
18511
|
const L = (N ? u[c].column ?? 0 : c) + (k && typeof o > "u" ? -E / 2 + 0.5 : 0);
|
|
18516
18512
|
if (L < I) {
|
|
@@ -18535,16 +18531,16 @@ function loopFix(e = {}) {
|
|
|
18535
18531
|
}
|
|
18536
18532
|
if (d.__preventObserver__ = !0, requestAnimationFrame(() => {
|
|
18537
18533
|
d.__preventObserver__ = !1;
|
|
18538
|
-
}), d.params.effect === "cards" && u.length < E + I * 2 && (R.includes(c) && R.splice(R.indexOf(c), 1), P.includes(c) && P.splice(P.indexOf(c), 1)),
|
|
18534
|
+
}), d.params.effect === "cards" && u.length < E + I * 2 && (R.includes(c) && R.splice(R.indexOf(c), 1), P.includes(c) && P.splice(P.indexOf(c), 1)), A && P.forEach((z) => {
|
|
18539
18535
|
const F = u[z];
|
|
18540
18536
|
F.swiperLoopMoveDOM = !0, m.prepend(F), F.swiperLoopMoveDOM = !1;
|
|
18541
18537
|
}), B && R.forEach((z) => {
|
|
18542
18538
|
const F = u[z];
|
|
18543
18539
|
F.swiperLoopMoveDOM = !0, m.append(F), F.swiperLoopMoveDOM = !1;
|
|
18544
|
-
}), d.recalcSlides(), g.slidesPerView === "auto" ? d.updateSlides() : N && (P.length > 0 &&
|
|
18540
|
+
}), d.recalcSlides(), g.slidesPerView === "auto" ? d.updateSlides() : N && (P.length > 0 && A || R.length > 0 && B) && d.slides.forEach((z, F) => {
|
|
18545
18541
|
d.grid.updateSlide(F, z, d.slides);
|
|
18546
18542
|
}), g.watchSlidesProgress && d.updateSlidesOffset(), n) {
|
|
18547
|
-
if (P.length > 0 &&
|
|
18543
|
+
if (P.length > 0 && A) {
|
|
18548
18544
|
if (typeof t > "u") {
|
|
18549
18545
|
const z = d.slidesGrid[S], q = d.slidesGrid[S + $] - z;
|
|
18550
18546
|
l ? d.setTranslate(d.translate - q) : (d.slideTo(S + Math.ceil($), 0, !1, !0), o && (d.touchEventsData.startTranslate = d.touchEventsData.startTranslate - q, d.touchEventsData.currentTranslate = d.touchEventsData.currentTranslate - q));
|
|
@@ -18562,8 +18558,8 @@ function loopFix(e = {}) {
|
|
|
18562
18558
|
}
|
|
18563
18559
|
}
|
|
18564
18560
|
d.allowSlidePrev = f, d.allowSlideNext = p;
|
|
18565
|
-
const
|
|
18566
|
-
if (
|
|
18561
|
+
const O = d.controller?.control;
|
|
18562
|
+
if (O && !i) {
|
|
18567
18563
|
const z = {
|
|
18568
18564
|
slideRealIndex: t,
|
|
18569
18565
|
direction: a,
|
|
@@ -18571,14 +18567,14 @@ function loopFix(e = {}) {
|
|
|
18571
18567
|
activeSlideIndex: c,
|
|
18572
18568
|
byController: !0
|
|
18573
18569
|
};
|
|
18574
|
-
Array.isArray(
|
|
18570
|
+
Array.isArray(O) ? O.forEach((F) => {
|
|
18575
18571
|
!F.destroyed && F.params.loop && F.loopFix({
|
|
18576
18572
|
...z,
|
|
18577
18573
|
slideTo: F.params.slidesPerView === g.slidesPerView ? n : !1
|
|
18578
18574
|
});
|
|
18579
|
-
}) :
|
|
18575
|
+
}) : O instanceof d.constructor && O.params.loop && O.loopFix({
|
|
18580
18576
|
...z,
|
|
18581
|
-
slideTo:
|
|
18577
|
+
slideTo: O.params.slidesPerView === g.slidesPerView ? n : !1
|
|
18582
18578
|
});
|
|
18583
18579
|
}
|
|
18584
18580
|
d.emit("loopFix");
|
|
@@ -19095,19 +19091,19 @@ function updateSlides() {
|
|
|
19095
19091
|
n.virtual?.slidesPerViewAutoSlideSize && (P = n.virtual.slidesPerViewAutoSlideSize), P && M && (n.roundLengths && (P = Math.floor(P)), M.style[e.getDirectionLabel("width")] = `${P}px`);
|
|
19096
19092
|
else if (n.slidesPerView === "auto") {
|
|
19097
19093
|
R && (M.style[e.getDirectionLabel("width")] = "");
|
|
19098
|
-
const S = getComputedStyle(M), B = M.style.transform,
|
|
19099
|
-
if (B && (M.style.transform = "none"),
|
|
19094
|
+
const S = getComputedStyle(M), B = M.style.transform, A = M.style.webkitTransform;
|
|
19095
|
+
if (B && (M.style.transform = "none"), A && (M.style.webkitTransform = "none"), n.roundLengths)
|
|
19100
19096
|
P = e.isHorizontal() ? elementOuterSize(M, "width") : elementOuterSize(M, "height");
|
|
19101
19097
|
else {
|
|
19102
|
-
const $ = t(S, "width"), V = t(S, "padding-left"), w = t(S, "padding-right"), L = t(S, "margin-left"),
|
|
19098
|
+
const $ = t(S, "width"), V = t(S, "padding-left"), w = t(S, "padding-right"), L = t(S, "margin-left"), O = t(S, "margin-right"), z = S.getPropertyValue("box-sizing");
|
|
19103
19099
|
if (z && z === "border-box")
|
|
19104
|
-
P = $ + L +
|
|
19100
|
+
P = $ + L + O;
|
|
19105
19101
|
else {
|
|
19106
19102
|
const { clientWidth: F, offsetWidth: q } = M;
|
|
19107
|
-
P = $ + V + w + L +
|
|
19103
|
+
P = $ + V + w + L + O + (q - F);
|
|
19108
19104
|
}
|
|
19109
19105
|
}
|
|
19110
|
-
B && (M.style.transform = B),
|
|
19106
|
+
B && (M.style.transform = B), A && (M.style.webkitTransform = A), n.roundLengths && (P = Math.floor(P));
|
|
19111
19107
|
} else
|
|
19112
19108
|
P = (C - (n.slidesPerView - 1) * k) / n.slidesPerView, n.roundLengths && (P = Math.floor(P)), M && (M.style[e.getDirectionLabel("width")] = `${P}px`);
|
|
19113
19109
|
M && (M.swiperSlideSize = P), p.push(P), n.centeredSlides ? (E = E + P / 2 + D / 2 + k, D === 0 && T !== 0 && (E = E - C / 2 - k), T === 0 && (E = E - C / 2 - k), Math.abs(E) < 1 / 1e3 && (E = 0), n.roundLengths && (E = Math.floor(E)), I % n.slidesPerGroup === 0 && u.push(E), f.push(E)) : (n.roundLengths && (E = Math.floor(E)), (I - Math.min(e.params.slidesPerGroupSkip, I)) % e.params.slidesPerGroup === 0 && u.push(E), f.push(E), E = E + P + k), e.virtualSize += P + k, D = P, I += 1;
|
|
@@ -19117,31 +19113,31 @@ function updateSlides() {
|
|
|
19117
19113
|
const T = n.slidesPerView !== "auto" && n.slidesPerView % 1 !== 0, M = n.snapToSlideEdge && !n.loop && (n.slidesPerView === "auto" || T);
|
|
19118
19114
|
let S = u.length;
|
|
19119
19115
|
if (M) {
|
|
19120
|
-
let
|
|
19116
|
+
let A;
|
|
19121
19117
|
if (n.slidesPerView === "auto") {
|
|
19122
|
-
|
|
19118
|
+
A = 1;
|
|
19123
19119
|
let $ = 0;
|
|
19124
19120
|
for (let V = p.length - 1; V >= 0 && ($ += p[V] + (V < p.length - 1 ? k : 0), $ <= C); V -= 1)
|
|
19125
|
-
|
|
19121
|
+
A = p.length - V;
|
|
19126
19122
|
} else
|
|
19127
|
-
|
|
19128
|
-
S = Math.max(d -
|
|
19123
|
+
A = Math.floor(n.slidesPerView);
|
|
19124
|
+
S = Math.max(d - A, 0);
|
|
19129
19125
|
}
|
|
19130
19126
|
const B = [];
|
|
19131
|
-
for (let
|
|
19132
|
-
let $ = u[
|
|
19133
|
-
n.roundLengths && ($ = Math.floor($)), M ?
|
|
19127
|
+
for (let A = 0; A < u.length; A += 1) {
|
|
19128
|
+
let $ = u[A];
|
|
19129
|
+
n.roundLengths && ($ = Math.floor($)), M ? A <= S && B.push($) : u[A] <= e.virtualSize - C && B.push($);
|
|
19134
19130
|
}
|
|
19135
19131
|
u = B, Math.floor(e.virtualSize - C) - Math.floor(u[u.length - 1]) > 1 && (M || u.push(e.virtualSize - C));
|
|
19136
19132
|
}
|
|
19137
19133
|
if (i && n.loop) {
|
|
19138
19134
|
const T = p[0] + k, M = e.virtual.slidesBefore ?? 0, S = e.virtual.slidesAfter ?? 0, B = M + S;
|
|
19139
19135
|
if (n.slidesPerGroup > 1) {
|
|
19140
|
-
const
|
|
19141
|
-
for (let V = 0; V <
|
|
19136
|
+
const A = Math.ceil(B / n.slidesPerGroup), $ = T * n.slidesPerGroup;
|
|
19137
|
+
for (let V = 0; V < A; V += 1)
|
|
19142
19138
|
u.push(u[u.length - 1] + $);
|
|
19143
19139
|
}
|
|
19144
|
-
for (let
|
|
19140
|
+
for (let A = 0; A < B; A += 1)
|
|
19145
19141
|
n.slidesPerGroup === 1 && u.push(u[u.length - 1] + T), f.push(f[f.length - 1] + T), e.virtualSize += T;
|
|
19146
19142
|
}
|
|
19147
19143
|
if (u.length === 0 && (u = [0]), k !== 0) {
|
|
@@ -20299,10 +20295,10 @@ const Scrollbar = ({ swiper: e, extendParams: t, on: n, emit: a }) => {
|
|
|
20299
20295
|
const T = u();
|
|
20300
20296
|
if (!T.el || !e.scrollbar.el)
|
|
20301
20297
|
return;
|
|
20302
|
-
const { scrollbar: M, rtlTranslate: S } = e, { dragEl: B, el:
|
|
20298
|
+
const { scrollbar: M, rtlTranslate: S } = e, { dragEl: B, el: A } = M, $ = e.params.loop ? e.progressLoop ?? 0 : e.progress;
|
|
20303
20299
|
let V = l, w = (c - l) * $;
|
|
20304
|
-
S ? (w = -w, w > 0 ? (V = l - w, w = 0) : -w + l > c && (V = c + w)) : w < 0 ? (V = l + w, w = 0) : w + l > c && (V = c - w), e.isHorizontal() ? (B.style.transform = `translate3d(${w}px, 0, 0)`, B.style.width = `${V}px`) : (B.style.transform = `translate3d(0px, ${w}px, 0)`, B.style.height = `${V}px`), T.hide && (r && clearTimeout(r),
|
|
20305
|
-
|
|
20300
|
+
S ? (w = -w, w > 0 ? (V = l - w, w = 0) : -w + l > c && (V = c + w)) : w < 0 ? (V = l + w, w = 0) : w + l > c && (V = c - w), e.isHorizontal() ? (B.style.transform = `translate3d(${w}px, 0, 0)`, B.style.width = `${V}px`) : (B.style.transform = `translate3d(0px, ${w}px, 0)`, B.style.height = `${V}px`), T.hide && (r && clearTimeout(r), A.style.opacity = "1", r = setTimeout(() => {
|
|
20301
|
+
A.style.opacity = "0", A.style.transitionDuration = "400ms";
|
|
20306
20302
|
}, 1e3));
|
|
20307
20303
|
}
|
|
20308
20304
|
function p(T) {
|
|
@@ -20320,31 +20316,31 @@ const Scrollbar = ({ swiper: e, extendParams: t, on: n, emit: a }) => {
|
|
|
20320
20316
|
}
|
|
20321
20317
|
function b(T) {
|
|
20322
20318
|
const { scrollbar: M, rtlTranslate: S } = e, { el: B } = M;
|
|
20323
|
-
let
|
|
20324
|
-
|
|
20325
|
-
const $ = e.minTranslate() + (e.maxTranslate() - e.minTranslate()) *
|
|
20319
|
+
let A;
|
|
20320
|
+
A = (g(T) - elementOffset(B)[e.isHorizontal() ? "left" : "top"] - (i !== null ? i : l / 2)) / (c - l), A = Math.max(Math.min(A, 1), 0), S && (A = 1 - A);
|
|
20321
|
+
const $ = e.minTranslate() + (e.maxTranslate() - e.minTranslate()) * A;
|
|
20326
20322
|
e.updateProgress($), e.setTranslate($), e.updateActiveIndex(), e.updateSlidesClasses();
|
|
20327
20323
|
}
|
|
20328
20324
|
function v(T) {
|
|
20329
|
-
const M = u(), { scrollbar: S, wrapperEl: B } = e, { el:
|
|
20330
|
-
o = !0, i = T.target === $ ? g(T) - T.target.getBoundingClientRect()[e.isHorizontal() ? "left" : "top"] : null, T.preventDefault(), T.stopPropagation(), B.style.transitionDuration = "100ms", $.style.transitionDuration = "100ms", b(T), s && clearTimeout(s),
|
|
20325
|
+
const M = u(), { scrollbar: S, wrapperEl: B } = e, { el: A, dragEl: $ } = S;
|
|
20326
|
+
o = !0, i = T.target === $ ? g(T) - T.target.getBoundingClientRect()[e.isHorizontal() ? "left" : "top"] : null, T.preventDefault(), T.stopPropagation(), B.style.transitionDuration = "100ms", $.style.transitionDuration = "100ms", b(T), s && clearTimeout(s), A.style.transitionDuration = "0ms", M.hide && (A.style.opacity = "1"), e.params.cssMode && (e.wrapperEl.style.scrollSnapType = "none"), a("scrollbarDragStart", T);
|
|
20331
20327
|
}
|
|
20332
20328
|
function _(T) {
|
|
20333
|
-
const { scrollbar: M, wrapperEl: S } = e, { el: B, dragEl:
|
|
20334
|
-
o && (T.cancelable && T.preventDefault(), b(T), S.style.transitionDuration = "0ms", B.style.transitionDuration = "0ms",
|
|
20329
|
+
const { scrollbar: M, wrapperEl: S } = e, { el: B, dragEl: A } = M;
|
|
20330
|
+
o && (T.cancelable && T.preventDefault(), b(T), S.style.transitionDuration = "0ms", B.style.transitionDuration = "0ms", A.style.transitionDuration = "0ms", a("scrollbarDragMove", T));
|
|
20335
20331
|
}
|
|
20336
20332
|
function C(T) {
|
|
20337
|
-
const M = u(), { scrollbar: S, wrapperEl: B } = e, { el:
|
|
20333
|
+
const M = u(), { scrollbar: S, wrapperEl: B } = e, { el: A } = S;
|
|
20338
20334
|
o && (o = !1, e.params.cssMode && (e.wrapperEl.style.scrollSnapType = "", B.style.transitionDuration = ""), M.hide && (s && clearTimeout(s), s = nextTick(() => {
|
|
20339
|
-
|
|
20335
|
+
A.style.opacity = "0", A.style.transitionDuration = "400ms";
|
|
20340
20336
|
}, 1e3)), a("scrollbarDragEnd", T), M.snapOnRelease && e.slideToClosest());
|
|
20341
20337
|
}
|
|
20342
20338
|
function k(T) {
|
|
20343
20339
|
const { scrollbar: M, params: S } = e, B = M.el;
|
|
20344
20340
|
if (!B)
|
|
20345
20341
|
return;
|
|
20346
|
-
const
|
|
20347
|
-
B[V]("pointerdown", v,
|
|
20342
|
+
const A = S.passiveListeners ? { passive: !1, capture: !1 } : !1, $ = S.passiveListeners ? { passive: !0, capture: !1 } : !1, V = T === "on" ? "addEventListener" : "removeEventListener";
|
|
20343
|
+
B[V]("pointerdown", v, A), document[V]("pointermove", _, A), document[V]("pointerup", C, $);
|
|
20348
20344
|
}
|
|
20349
20345
|
function E() {
|
|
20350
20346
|
!u().el || !e.scrollbar.el || k("on");
|
|
@@ -20364,13 +20360,13 @@ const Scrollbar = ({ swiper: e, extendParams: t, on: n, emit: a }) => {
|
|
|
20364
20360
|
return;
|
|
20365
20361
|
} else B || (B = S.el);
|
|
20366
20362
|
e.params.uniqueNavElements && typeof S.el == "string" && B.length > 1 && M.querySelectorAll(S.el).length === 1 && (B = M.querySelector(S.el)), B.length > 0 && (B = B[0]);
|
|
20367
|
-
const
|
|
20368
|
-
|
|
20363
|
+
const A = B;
|
|
20364
|
+
A.classList.add(e.isHorizontal() ? S.horizontalClass : S.verticalClass);
|
|
20369
20365
|
let $ = null;
|
|
20370
|
-
|
|
20371
|
-
el:
|
|
20366
|
+
A && ($ = A.querySelector(classesToSelector(S.dragClass)), $ || ($ = createElement("div", S.dragClass), A.append($))), Object.assign(T, {
|
|
20367
|
+
el: A,
|
|
20372
20368
|
dragEl: $
|
|
20373
|
-
}), S.draggable && E(),
|
|
20369
|
+
}), S.draggable && E(), A && A.classList[e.enabled ? "remove" : "add"](...classesToTokens(S.lockClass));
|
|
20374
20370
|
}
|
|
20375
20371
|
function N() {
|
|
20376
20372
|
const T = u(), M = e.scrollbar.el;
|
|
@@ -20498,8 +20494,8 @@ const Scrollbar = ({ swiper: e, extendParams: t, on: n, emit: a }) => {
|
|
|
20498
20494
|
const V = i(), w = e.params.pagination, L = $.target;
|
|
20499
20495
|
if (!(e.pagination && e.pagination.el && (L === e.pagination.el || e.pagination.el.contains(L)) && !L.matches(classesToSelector(w?.bulletClass)))) {
|
|
20500
20496
|
if (e.navigation && e.navigation.prevEl && e.navigation.nextEl) {
|
|
20501
|
-
const
|
|
20502
|
-
makeElementsArray(e.navigation.nextEl).includes(L) && (e.isEnd && !e.params.loop || e.slideNext(), e.isEnd ? l(V.lastSlideMessage) : l(V.nextSlideMessage)),
|
|
20497
|
+
const O = makeElementsArray(e.navigation.prevEl);
|
|
20498
|
+
makeElementsArray(e.navigation.nextEl).includes(L) && (e.isEnd && !e.params.loop || e.slideNext(), e.isEnd ? l(V.lastSlideMessage) : l(V.nextSlideMessage)), O.includes(L) && (e.isBeginning && !e.params.loop || e.slidePrev(), e.isBeginning ? l(V.firstSlideMessage) : l(V.prevSlideMessage));
|
|
20503
20499
|
}
|
|
20504
20500
|
e.pagination && L.matches(classesToSelector(w?.bulletClass)) && L.click();
|
|
20505
20501
|
}
|
|
@@ -20546,19 +20542,19 @@ const Scrollbar = ({ swiper: e, extendParams: t, on: n, emit: a }) => {
|
|
|
20546
20542
|
if (!L || !e.slides.includes(L))
|
|
20547
20543
|
return;
|
|
20548
20544
|
r = L;
|
|
20549
|
-
const
|
|
20545
|
+
const O = isVirtualEnabled(e), z = (O ? parseInt(L.getAttribute("data-swiper-slide-index") || "0", 10) : e.slides.indexOf(L)) === e.activeIndex, F = e.params.watchSlidesProgress && e.visibleSlides && e.visibleSlides.includes(L);
|
|
20550
20546
|
if (z || F)
|
|
20551
20547
|
return;
|
|
20552
20548
|
const q = $.sourceCapabilities;
|
|
20553
20549
|
q && q.firesTouchEvents || (e.isHorizontal() ? e.el.scrollLeft = 0 : e.el.scrollTop = 0, requestAnimationFrame(() => {
|
|
20554
|
-
o || (e.params.loop ? e.slideToLoop(e.getSlideIndexWhenGrid(parseInt(L.getAttribute("data-swiper-slide-index") || "0", 10)), 0) :
|
|
20550
|
+
o || (e.params.loop ? e.slideToLoop(e.getSlideIndexWhenGrid(parseInt(L.getAttribute("data-swiper-slide-index") || "0", 10)), 0) : O ? e.slideTo(e.getSlideIndexWhenGrid(parseInt(L.getAttribute("data-swiper-slide-index") || "0", 10)), 0) : e.slideTo(e.getSlideIndexWhenGrid(e.slides.indexOf(L)), 0), o = !1);
|
|
20555
20551
|
}));
|
|
20556
20552
|
}, S = () => {
|
|
20557
20553
|
const $ = i();
|
|
20558
20554
|
$.itemRoleDescriptionMessage && p(e.slides, $.itemRoleDescriptionMessage), $.slideRole && f(e.slides, $.slideRole);
|
|
20559
20555
|
const V = e.slides.length, w = $.slideLabelMessage;
|
|
20560
|
-
w && e.slides.forEach((L,
|
|
20561
|
-
const z = e.params.loop ? parseInt(L.getAttribute("data-swiper-slide-index") || "0", 10) :
|
|
20556
|
+
w && e.slides.forEach((L, O) => {
|
|
20557
|
+
const z = e.params.loop ? parseInt(L.getAttribute("data-swiper-slide-index") || "0", 10) : O, F = w.replace(/\{\{index\}\}/, String(z + 1)).replace(/\{\{slidesLength\}\}/, String(V));
|
|
20562
20558
|
m(L, F);
|
|
20563
20559
|
});
|
|
20564
20560
|
}, B = () => {
|
|
@@ -20572,16 +20568,16 @@ const Scrollbar = ({ swiper: e, extendParams: t, on: n, emit: a }) => {
|
|
|
20572
20568
|
b(w, U);
|
|
20573
20569
|
}
|
|
20574
20570
|
S();
|
|
20575
|
-
const
|
|
20571
|
+
const O = e.navigation ? e.navigation : { nextEl: void 0, prevEl: void 0 }, z = makeElementsArray(O.nextEl), F = makeElementsArray(O.prevEl);
|
|
20576
20572
|
z && z.forEach((q) => N(q, L, $.nextSlideMessage)), F && F.forEach((q) => N(q, L, $.prevSlideMessage)), D() && makeElementsArray(e.pagination.el).forEach((U) => {
|
|
20577
20573
|
U.addEventListener("keydown", C);
|
|
20578
20574
|
}), document.addEventListener("visibilitychange", T), e.el.addEventListener("focus", M, !0), e.el.addEventListener("pointerdown", P, !0), e.el.addEventListener("pointerup", R, !0);
|
|
20579
20575
|
};
|
|
20580
|
-
function
|
|
20576
|
+
function A() {
|
|
20581
20577
|
a && a.remove();
|
|
20582
20578
|
const $ = e.navigation ? e.navigation : { nextEl: void 0, prevEl: void 0 }, V = makeElementsArray($.nextEl), w = makeElementsArray($.prevEl);
|
|
20583
|
-
V && V.forEach((L) => L.removeEventListener("keydown", C)), w && w.forEach((L) => L.removeEventListener("keydown", C)), D() && makeElementsArray(e.pagination.el).forEach((
|
|
20584
|
-
|
|
20579
|
+
V && V.forEach((L) => L.removeEventListener("keydown", C)), w && w.forEach((L) => L.removeEventListener("keydown", C)), D() && makeElementsArray(e.pagination.el).forEach((O) => {
|
|
20580
|
+
O.removeEventListener("keydown", C);
|
|
20585
20581
|
}), document.removeEventListener("visibilitychange", T), e.el && typeof e.el != "string" && (e.el.removeEventListener("focus", M, !0), e.el.removeEventListener("pointerdown", P, !0), e.el.removeEventListener("pointerup", R, !0));
|
|
20586
20582
|
}
|
|
20587
20583
|
n("beforeInit", () => {
|
|
@@ -20595,9 +20591,9 @@ const Scrollbar = ({ swiper: e, extendParams: t, on: n, emit: a }) => {
|
|
|
20595
20591
|
}), n("paginationUpdate", () => {
|
|
20596
20592
|
i().enabled && I();
|
|
20597
20593
|
}), n("destroy", () => {
|
|
20598
|
-
i().enabled &&
|
|
20594
|
+
i().enabled && A();
|
|
20599
20595
|
});
|
|
20600
|
-
}, _sfc_main$
|
|
20596
|
+
}, _sfc_main$1V = {
|
|
20601
20597
|
name: "VsContentSwiper",
|
|
20602
20598
|
status: "prototype",
|
|
20603
20599
|
release: "0.0.1",
|
|
@@ -20778,20 +20774,20 @@ const Scrollbar = ({ swiper: e, extendParams: t, on: n, emit: a }) => {
|
|
|
20778
20774
|
}
|
|
20779
20775
|
}
|
|
20780
20776
|
}
|
|
20781
|
-
}, _hoisted_1$
|
|
20777
|
+
}, _hoisted_1$1r = ["id"], _hoisted_2$$ = { class: "vs-content-swiper__inner" }, _hoisted_3$O = { class: "vs-content-swiper__header" }, _hoisted_4$y = { class: "vs-content-swiper__controls" };
|
|
20782
20778
|
function _sfc_render$1C(e, t, n, a, o, r) {
|
|
20783
20779
|
const s = resolveComponent("VsButton"), i = resolveComponent("Swiper");
|
|
20784
20780
|
return openBlock(), createElementBlock("div", {
|
|
20785
20781
|
class: normalizeClass(["vs-content-swiper", r.contentSwiperClasses]),
|
|
20786
20782
|
id: `vs-content-swiper-${a.instanceId}`
|
|
20787
20783
|
}, [
|
|
20788
|
-
createElementVNode("div", _hoisted_2
|
|
20789
|
-
createElementVNode("div", _hoisted_3$
|
|
20784
|
+
createElementVNode("div", _hoisted_2$$, [
|
|
20785
|
+
createElementVNode("div", _hoisted_3$O, [
|
|
20790
20786
|
createElementVNode("div", {
|
|
20791
20787
|
ref: "scrollbar",
|
|
20792
20788
|
class: normalizeClass(r.scrollbarContainerClasses)
|
|
20793
20789
|
}, null, 2),
|
|
20794
|
-
createElementVNode("div", _hoisted_4$
|
|
20790
|
+
createElementVNode("div", _hoisted_4$y, [
|
|
20795
20791
|
createVNode(s, {
|
|
20796
20792
|
"icon-only": "",
|
|
20797
20793
|
class: normalizeClass(["vs-content-swiper__control--prev", `vs-content-swiper-prev-${a.instanceId}`]),
|
|
@@ -20836,9 +20832,9 @@ function _sfc_render$1C(e, t, n, a, o, r) {
|
|
|
20836
20832
|
_: 3
|
|
20837
20833
|
}, 8, ["modules", "navigation", "scrollbar", "breakpoints", "a11y", "onTouchStart", "onTouchEnd", "onSliderMove", "onSlideChangeTransitionStart", "onSlideChangeTransitionEnd", "onSlideChange"])
|
|
20838
20834
|
])
|
|
20839
|
-
], 10, _hoisted_1$
|
|
20835
|
+
], 10, _hoisted_1$1r);
|
|
20840
20836
|
}
|
|
20841
|
-
const ContentSwiper = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
20837
|
+
const ContentSwiper = /* @__PURE__ */ _export_sfc(_sfc_main$1V, [["render", _sfc_render$1C]]), _sfc_main$1U = {
|
|
20842
20838
|
name: "VsCheckbox",
|
|
20843
20839
|
status: "prototype",
|
|
20844
20840
|
release: "0.0.1",
|
|
@@ -20983,7 +20979,7 @@ const ContentSwiper = /* @__PURE__ */ _export_sfc(_sfc_main$1T, [["render", _sfc
|
|
|
20983
20979
|
validations() {
|
|
20984
20980
|
return this.rules;
|
|
20985
20981
|
}
|
|
20986
|
-
}, _hoisted_1$
|
|
20982
|
+
}, _hoisted_1$1q = ["id"], _hoisted_2$_ = ["innerHTML"], _hoisted_3$N = ["id"], _hoisted_4$x = { class: "visually-hidden" }, _hoisted_5$p = { class: "vs-checkbox__label" };
|
|
20987
20983
|
function _sfc_render$1B(e, t, n, a, o, r) {
|
|
20988
20984
|
const s = resolveComponent("BFormCheckbox");
|
|
20989
20985
|
return openBlock(), createElementBlock("div", {
|
|
@@ -20992,11 +20988,11 @@ function _sfc_render$1B(e, t, n, a, o, r) {
|
|
|
20992
20988
|
createElementVNode("p", {
|
|
20993
20989
|
class: "hint-text",
|
|
20994
20990
|
id: `hint-${n.fieldName}`
|
|
20995
|
-
}, toDisplayString(n.hintText), 9, _hoisted_1$
|
|
20991
|
+
}, toDisplayString(n.hintText), 9, _hoisted_1$1q),
|
|
20996
20992
|
n.infoText !== "" ? (openBlock(), createElementBlock("div", {
|
|
20997
20993
|
key: 0,
|
|
20998
20994
|
innerHTML: n.infoText
|
|
20999
|
-
}, null, 8, _hoisted_2$
|
|
20995
|
+
}, null, 8, _hoisted_2$_)) : createCommentVNode("", !0),
|
|
21000
20996
|
e.errorsList.length || n.invalid ? (openBlock(), createElementBlock("div", {
|
|
21001
20997
|
key: 1,
|
|
21002
20998
|
role: "alert",
|
|
@@ -21007,12 +21003,12 @@ function _sfc_render$1B(e, t, n, a, o, r) {
|
|
|
21007
21003
|
key: i,
|
|
21008
21004
|
class: "error mb-0"
|
|
21009
21005
|
}, [
|
|
21010
|
-
createElementVNode("span", _hoisted_4$
|
|
21006
|
+
createElementVNode("span", _hoisted_4$x, toDisplayString(n.fieldName), 1),
|
|
21011
21007
|
createTextVNode(" " + toDisplayString(n.validationMessages[i] || n.genericValidation[i]), 1)
|
|
21012
21008
|
])), [
|
|
21013
21009
|
[vShow, !n.reAlertErrors]
|
|
21014
21010
|
])), 128))
|
|
21015
|
-
], 8, _hoisted_3$
|
|
21011
|
+
], 8, _hoisted_3$N)) : createCommentVNode("", !0),
|
|
21016
21012
|
n.fieldName ? (openBlock(), createBlock(s, mergeProps({
|
|
21017
21013
|
key: 2,
|
|
21018
21014
|
modelValue: o.inputVal,
|
|
@@ -21031,13 +21027,13 @@ function _sfc_render$1B(e, t, n, a, o, r) {
|
|
|
21031
21027
|
"aria-describedby": e.ariaDescription
|
|
21032
21028
|
}), {
|
|
21033
21029
|
default: withCtx(() => [
|
|
21034
|
-
createElementVNode("span", _hoisted_5$
|
|
21030
|
+
createElementVNode("span", _hoisted_5$p, toDisplayString(n.label), 1)
|
|
21035
21031
|
]),
|
|
21036
21032
|
_: 1
|
|
21037
21033
|
}, 16, ["modelValue", "name", "id", "value", "unchecked_value", "onBlur", "onChange", "required", "aria-invalid", "aria-describedby"])) : createCommentVNode("", !0)
|
|
21038
21034
|
], 2);
|
|
21039
21035
|
}
|
|
21040
|
-
const VsCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
21036
|
+
const VsCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$1U, [["render", _sfc_render$1B]]), _sfc_main$1T = {
|
|
21041
21037
|
name: "VsDescriptionList",
|
|
21042
21038
|
status: "deprecated",
|
|
21043
21039
|
release: "0.0.1",
|
|
@@ -21066,7 +21062,7 @@ function _sfc_render$1A(e, t, n, a, o, r) {
|
|
|
21066
21062
|
renderSlot(e.$slots, "default")
|
|
21067
21063
|
], 2);
|
|
21068
21064
|
}
|
|
21069
|
-
const DescriptionList = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
21065
|
+
const DescriptionList = /* @__PURE__ */ _export_sfc(_sfc_main$1T, [["render", _sfc_render$1A]]), _sfc_main$1S = {
|
|
21070
21066
|
name: "VsDescriptionListItem",
|
|
21071
21067
|
status: "prototype",
|
|
21072
21068
|
release: "0.0.1",
|
|
@@ -21105,7 +21101,7 @@ function _sfc_render$1z(e, t, n, a, o, r) {
|
|
|
21105
21101
|
_: 3
|
|
21106
21102
|
}, 8, ["tag", "class"]);
|
|
21107
21103
|
}
|
|
21108
|
-
const DescriptionListItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
21104
|
+
const DescriptionListItem = /* @__PURE__ */ _export_sfc(_sfc_main$1S, [["render", _sfc_render$1z], ["__scopeId", "data-v-cf7a6cc3"]]), _sfc_main$1R = {
|
|
21109
21105
|
name: "VsDetail",
|
|
21110
21106
|
status: "prototype",
|
|
21111
21107
|
release: "0.0.1",
|
|
@@ -21189,7 +21185,7 @@ function _sfc_render$1y(e, t, n, a, o, r) {
|
|
|
21189
21185
|
])
|
|
21190
21186
|
], 2);
|
|
21191
21187
|
}
|
|
21192
|
-
const VsDetail = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
21188
|
+
const VsDetail = /* @__PURE__ */ _export_sfc(_sfc_main$1R, [["render", _sfc_render$1y]]), _sfc_main$1Q = {
|
|
21193
21189
|
name: "VsDropdown",
|
|
21194
21190
|
status: "prototype",
|
|
21195
21191
|
release: "0.0.1",
|
|
@@ -21220,7 +21216,7 @@ const VsDetail = /* @__PURE__ */ _export_sfc(_sfc_main$1P, [["render", _sfc_rend
|
|
|
21220
21216
|
);
|
|
21221
21217
|
}
|
|
21222
21218
|
}
|
|
21223
|
-
}, _hoisted_1$
|
|
21219
|
+
}, _hoisted_1$1p = {
|
|
21224
21220
|
class: "dropdown-menu overflow-auto",
|
|
21225
21221
|
role: "menu"
|
|
21226
21222
|
};
|
|
@@ -21251,13 +21247,13 @@ function _sfc_render$1x(e, t, n, a, o, r) {
|
|
|
21251
21247
|
createElementVNode("div", {
|
|
21252
21248
|
class: normalizeClass([e.$attrs.class, "dropdown vs-dropdown vs-dropdown--fallback"])
|
|
21253
21249
|
}, [
|
|
21254
|
-
createElementVNode("ul", _hoisted_1$
|
|
21250
|
+
createElementVNode("ul", _hoisted_1$1p, [
|
|
21255
21251
|
renderSlot(e.$slots, "default")
|
|
21256
21252
|
])
|
|
21257
21253
|
], 2)
|
|
21258
21254
|
], 64);
|
|
21259
21255
|
}
|
|
21260
|
-
const VsDropdown = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
21256
|
+
const VsDropdown = /* @__PURE__ */ _export_sfc(_sfc_main$1Q, [["render", _sfc_render$1x]]), _sfc_main$1P = {
|
|
21261
21257
|
name: "VsDropdownItem",
|
|
21262
21258
|
status: "prototype",
|
|
21263
21259
|
release: "0.0.1",
|
|
@@ -21274,7 +21270,7 @@ function _sfc_render$1w(e, t, n, a, o, r) {
|
|
|
21274
21270
|
_: 3
|
|
21275
21271
|
}, 16);
|
|
21276
21272
|
}
|
|
21277
|
-
const VsDropdownItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
21273
|
+
const VsDropdownItem = /* @__PURE__ */ _export_sfc(_sfc_main$1P, [["render", _sfc_render$1w]]), cookieValues$3 = cookieValues$5.embed, _sfc_main$1O = {
|
|
21278
21274
|
name: "VsEmbedWrapper",
|
|
21279
21275
|
status: "prototype",
|
|
21280
21276
|
release: "0.0.1",
|
|
@@ -21360,16 +21356,16 @@ const VsDropdownItem = /* @__PURE__ */ _export_sfc(_sfc_main$1N, [["render", _sf
|
|
|
21360
21356
|
this.embeddedScript && this.cookiesLoaded && this.requiredCookiesAllowed && this.loadScript();
|
|
21361
21357
|
}
|
|
21362
21358
|
}
|
|
21363
|
-
}, _hoisted_1$
|
|
21359
|
+
}, _hoisted_1$1o = {
|
|
21364
21360
|
"data-test": "vs-embed-wrapper",
|
|
21365
21361
|
class: "vs-embed-wrapper"
|
|
21366
|
-
}, _hoisted_2$
|
|
21362
|
+
}, _hoisted_2$Z = {
|
|
21367
21363
|
class: "vs-embed-wrapper__container",
|
|
21368
21364
|
key: "embeddedContent"
|
|
21369
|
-
}, _hoisted_3$
|
|
21365
|
+
}, _hoisted_3$M = { key: "fallback" }, _hoisted_4$w = ["innerHTML"];
|
|
21370
21366
|
function _sfc_render$1v(e, t, n, a, o, r) {
|
|
21371
21367
|
const s = resolveComponent("VsBody"), i = resolveComponent("VsCol"), l = resolveComponent("VsWarning"), c = resolveComponent("VsRow"), d = resolveComponent("VsContainer");
|
|
21372
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
21368
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1o, [
|
|
21373
21369
|
createVNode(d, null, {
|
|
21374
21370
|
default: withCtx(() => [
|
|
21375
21371
|
createVNode(c, null, {
|
|
@@ -21397,10 +21393,10 @@ function _sfc_render$1v(e, t, n, a, o, r) {
|
|
|
21397
21393
|
}),
|
|
21398
21394
|
createVNode(i, { cols: "12" }, {
|
|
21399
21395
|
default: withCtx(() => [
|
|
21400
|
-
e.cookiesAllowed || n.noCookiesRequired ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
21396
|
+
e.cookiesAllowed || n.noCookiesRequired ? (openBlock(), createElementBlock("div", _hoisted_2$Z, [
|
|
21401
21397
|
renderSlot(e.$slots, "embed-widget")
|
|
21402
21398
|
])) : createCommentVNode("", !0),
|
|
21403
|
-
r.showError ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
21399
|
+
r.showError ? (openBlock(), createElementBlock("div", _hoisted_3$M, [
|
|
21404
21400
|
createVNode(l, {
|
|
21405
21401
|
type: e.cookiesLoaded === !0 ? "cookie" : "normal",
|
|
21406
21402
|
class: "vs-embed-wrapper__error",
|
|
@@ -21414,7 +21410,7 @@ function _sfc_render$1v(e, t, n, a, o, r) {
|
|
|
21414
21410
|
n.extraContent ? {
|
|
21415
21411
|
name: "extra-content",
|
|
21416
21412
|
fn: withCtx(() => [
|
|
21417
|
-
createElementVNode("div", { innerHTML: n.extraContent }, null, 8, _hoisted_4$
|
|
21413
|
+
createElementVNode("div", { innerHTML: n.extraContent }, null, 8, _hoisted_4$w)
|
|
21418
21414
|
]),
|
|
21419
21415
|
key: "0"
|
|
21420
21416
|
} : void 0,
|
|
@@ -21448,7 +21444,7 @@ function _sfc_render$1v(e, t, n, a, o, r) {
|
|
|
21448
21444
|
})
|
|
21449
21445
|
]);
|
|
21450
21446
|
}
|
|
21451
|
-
const EmbedWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
21447
|
+
const EmbedWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$1O, [["render", _sfc_render$1v]]), _sfc_main$1N = {
|
|
21452
21448
|
name: "VsEventCard",
|
|
21453
21449
|
status: "deprecated",
|
|
21454
21450
|
release: "0.0.1",
|
|
@@ -21481,22 +21477,22 @@ const EmbedWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$1M, [["render", _sfc_
|
|
|
21481
21477
|
default: ""
|
|
21482
21478
|
}
|
|
21483
21479
|
}
|
|
21484
|
-
}, _hoisted_1$
|
|
21480
|
+
}, _hoisted_1$1n = {
|
|
21485
21481
|
class: "card vs-event-card",
|
|
21486
21482
|
"data-test": "vs-event-card"
|
|
21487
|
-
}, _hoisted_2$
|
|
21483
|
+
}, _hoisted_2$Y = { class: "card-body" }, _hoisted_3$L = { class: "vs-event-card__date" }, _hoisted_4$v = {
|
|
21488
21484
|
key: 0,
|
|
21489
21485
|
class: "vs-event-card__content",
|
|
21490
21486
|
"data-test": "vs-event-card__content"
|
|
21491
|
-
}, _hoisted_5$
|
|
21487
|
+
}, _hoisted_5$o = {
|
|
21492
21488
|
key: 1,
|
|
21493
21489
|
class: "vs-event-card__cta",
|
|
21494
21490
|
"data-test": "vs-event-card__cta"
|
|
21495
21491
|
};
|
|
21496
21492
|
function _sfc_render$1u(e, t, n, a, o, r) {
|
|
21497
21493
|
const s = resolveComponent("VsHeading"), i = resolveComponent("VsCol"), l = resolveComponent("VsRow"), c = resolveComponent("VsButton");
|
|
21498
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
21499
|
-
createElementVNode("div", _hoisted_2$
|
|
21494
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1n, [
|
|
21495
|
+
createElementVNode("div", _hoisted_2$Y, [
|
|
21500
21496
|
createVNode(l, { class: "vs-event-card__header" }, {
|
|
21501
21497
|
default: withCtx(() => [
|
|
21502
21498
|
createVNode(i, {
|
|
@@ -21527,7 +21523,7 @@ function _sfc_render$1u(e, t, n, a, o, r) {
|
|
|
21527
21523
|
"data-test": "vs-event-card__date"
|
|
21528
21524
|
}, {
|
|
21529
21525
|
default: withCtx(() => [
|
|
21530
|
-
createElementVNode("p", _hoisted_3$
|
|
21526
|
+
createElementVNode("p", _hoisted_3$L, [
|
|
21531
21527
|
renderSlot(e.$slots, "event-card-date")
|
|
21532
21528
|
])
|
|
21533
21529
|
]),
|
|
@@ -21536,10 +21532,10 @@ function _sfc_render$1u(e, t, n, a, o, r) {
|
|
|
21536
21532
|
]),
|
|
21537
21533
|
_: 3
|
|
21538
21534
|
}),
|
|
21539
|
-
e.$slots["event-card-content"] ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
21535
|
+
e.$slots["event-card-content"] ? (openBlock(), createElementBlock("div", _hoisted_4$v, [
|
|
21540
21536
|
renderSlot(e.$slots, "event-card-content")
|
|
21541
21537
|
])) : createCommentVNode("", !0),
|
|
21542
|
-
n.ctaHref && n.ctaLabel ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
21538
|
+
n.ctaHref && n.ctaLabel ? (openBlock(), createElementBlock("div", _hoisted_5$o, [
|
|
21543
21539
|
createVNode(c, {
|
|
21544
21540
|
href: n.ctaHref,
|
|
21545
21541
|
icon: n.ctaIcon,
|
|
@@ -21555,7 +21551,7 @@ function _sfc_render$1u(e, t, n, a, o, r) {
|
|
|
21555
21551
|
])
|
|
21556
21552
|
]);
|
|
21557
21553
|
}
|
|
21558
|
-
const EventCard = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
21554
|
+
const EventCard = /* @__PURE__ */ _export_sfc(_sfc_main$1N, [["render", _sfc_render$1u]]), _hoisted_1$1m = ["id"], _hoisted_2$X = { class: "vs-filter__panel-wrapper" }, _hoisted_3$K = { class: "vs-filter__legend" }, _sfc_main$1M = {
|
|
21559
21555
|
__name: "VsFilter",
|
|
21560
21556
|
props: {
|
|
21561
21557
|
/**
|
|
@@ -21598,13 +21594,13 @@ const EventCard = /* @__PURE__ */ _export_sfc(_sfc_main$1L, [["render", _sfc_ren
|
|
|
21598
21594
|
ref_key: "filter",
|
|
21599
21595
|
ref: a
|
|
21600
21596
|
}, [
|
|
21601
|
-
createElementVNode("div", _hoisted_2$
|
|
21597
|
+
createElementVNode("div", _hoisted_2$X, [
|
|
21602
21598
|
createElementVNode("fieldset", {
|
|
21603
21599
|
class: "vs-filter__panel",
|
|
21604
21600
|
"data-test": "vs-filter__panel",
|
|
21605
21601
|
onChange: l[0] || (l[0] = (c) => i.$emit("filter-updated", c))
|
|
21606
21602
|
}, [
|
|
21607
|
-
createElementVNode("legend", _hoisted_3$
|
|
21603
|
+
createElementVNode("legend", _hoisted_3$K, [
|
|
21608
21604
|
createVNode(VsIcon, {
|
|
21609
21605
|
icon: "vs-icon-control-filters",
|
|
21610
21606
|
size: "sm"
|
|
@@ -21614,7 +21610,7 @@ const EventCard = /* @__PURE__ */ _export_sfc(_sfc_main$1L, [["render", _sfc_ren
|
|
|
21614
21610
|
renderSlot(i.$slots, "default")
|
|
21615
21611
|
], 32)
|
|
21616
21612
|
])
|
|
21617
|
-
], 8, _hoisted_1$
|
|
21613
|
+
], 8, _hoisted_1$1m),
|
|
21618
21614
|
i.$slots["no-js"] ? (openBlock(), createBlock(VsWarning, {
|
|
21619
21615
|
key: 0,
|
|
21620
21616
|
class: "vs-filter__warning"
|
|
@@ -21626,13 +21622,13 @@ const EventCard = /* @__PURE__ */ _export_sfc(_sfc_main$1L, [["render", _sfc_ren
|
|
|
21626
21622
|
})) : createCommentVNode("", !0)
|
|
21627
21623
|
], 64));
|
|
21628
21624
|
}
|
|
21629
|
-
}, _hoisted_1$
|
|
21625
|
+
}, _hoisted_1$1l = {
|
|
21630
21626
|
key: 0,
|
|
21631
21627
|
class: "vs-filter-section__details"
|
|
21632
|
-
}, _hoisted_2$
|
|
21628
|
+
}, _hoisted_2$W = { class: "vs-filter-section__summary" }, _hoisted_3$J = {
|
|
21633
21629
|
key: 1,
|
|
21634
21630
|
class: "vs-filter-section__section"
|
|
21635
|
-
}, _sfc_main$
|
|
21631
|
+
}, _sfc_main$1L = {
|
|
21636
21632
|
__name: "VsFilterSection",
|
|
21637
21633
|
props: {
|
|
21638
21634
|
/**
|
|
@@ -21660,8 +21656,8 @@ const EventCard = /* @__PURE__ */ _export_sfc(_sfc_main$1L, [["render", _sfc_ren
|
|
|
21660
21656
|
class: normalizeClass(n.value),
|
|
21661
21657
|
"data-test": "vs-filter-section"
|
|
21662
21658
|
}, [
|
|
21663
|
-
t.type === "group" ? (openBlock(), createElementBlock("details", _hoisted_1$
|
|
21664
|
-
createElementVNode("summary", _hoisted_2$
|
|
21659
|
+
t.type === "group" ? (openBlock(), createElementBlock("details", _hoisted_1$1l, [
|
|
21660
|
+
createElementVNode("summary", _hoisted_2$W, [
|
|
21665
21661
|
createTextVNode(toDisplayString(t.sectionTitle) + " ", 1),
|
|
21666
21662
|
createVNode(VsIcon, {
|
|
21667
21663
|
icon: "vs-icon-control-expand",
|
|
@@ -21669,7 +21665,7 @@ const EventCard = /* @__PURE__ */ _export_sfc(_sfc_main$1L, [["render", _sfc_ren
|
|
|
21669
21665
|
})
|
|
21670
21666
|
]),
|
|
21671
21667
|
renderSlot(a.$slots, "default")
|
|
21672
|
-
])) : (openBlock(), createElementBlock("div", _hoisted_3$
|
|
21668
|
+
])) : (openBlock(), createElementBlock("div", _hoisted_3$J, [
|
|
21673
21669
|
renderSlot(a.$slots, "default")
|
|
21674
21670
|
]))
|
|
21675
21671
|
], 2));
|
|
@@ -21982,7 +21978,7 @@ const normalizeSlot = (e) => e.length === 1 ? e[0] : e, LazyHydrationWrapper = d
|
|
|
21982
21978
|
}
|
|
21983
21979
|
return e.whenTriggered !== void 0 && useHydrateWhenTriggered(a, toRef(e, "whenTriggered")), () => normalizeSlot(t.default());
|
|
21984
21980
|
}
|
|
21985
|
-
}), LazyHydrationWrapper$1 = markRaw(LazyHydrationWrapper), _sfc_main$
|
|
21981
|
+
}), LazyHydrationWrapper$1 = markRaw(LazyHydrationWrapper), _sfc_main$1K = {
|
|
21986
21982
|
name: "VsFooterNavList",
|
|
21987
21983
|
status: "prototype",
|
|
21988
21984
|
release: "0.0.1",
|
|
@@ -22003,7 +21999,7 @@ const normalizeSlot = (e) => e.length === 1 ? e[0] : e, LazyHydrationWrapper = d
|
|
|
22003
21999
|
validator: (e) => e.match(/(xs|sm|md|lg|xl|xxl)/)
|
|
22004
22000
|
}
|
|
22005
22001
|
}
|
|
22006
|
-
}, _hoisted_1$
|
|
22002
|
+
}, _hoisted_1$1k = { class: "vs-footer-nav-list" };
|
|
22007
22003
|
function _sfc_render$1t(e, t, n, a, o, r) {
|
|
22008
22004
|
const s = resolveComponent("VsRow"), i = resolveComponent("VsAccordion"), l = resolveComponent("LazyHydrationWrapper"), c = resolveComponent("VsContainer");
|
|
22009
22005
|
return openBlock(), createBlock(c, {
|
|
@@ -22013,7 +22009,7 @@ function _sfc_render$1t(e, t, n, a, o, r) {
|
|
|
22013
22009
|
default: withCtx(() => [
|
|
22014
22010
|
createVNode(l, { "on-interaction": ["focus", "click"] }, {
|
|
22015
22011
|
default: withCtx(() => [
|
|
22016
|
-
createElementVNode("div", _hoisted_1$
|
|
22012
|
+
createElementVNode("div", _hoisted_1$1k, [
|
|
22017
22013
|
createVNode(i, { "break-point": n.breakPoint }, {
|
|
22018
22014
|
default: withCtx(() => [
|
|
22019
22015
|
createVNode(s, null, {
|
|
@@ -22033,7 +22029,7 @@ function _sfc_render$1t(e, t, n, a, o, r) {
|
|
|
22033
22029
|
_: 3
|
|
22034
22030
|
});
|
|
22035
22031
|
}
|
|
22036
|
-
const VsFooterNavList = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
22032
|
+
const VsFooterNavList = /* @__PURE__ */ _export_sfc(_sfc_main$1K, [["render", _sfc_render$1t]]), _sfc_main$1J = {
|
|
22037
22033
|
name: "VsFooter",
|
|
22038
22034
|
status: "prototype",
|
|
22039
22035
|
release: "0.1.0",
|
|
@@ -22043,14 +22039,14 @@ const VsFooterNavList = /* @__PURE__ */ _export_sfc(_sfc_main$1I, [["render", _s
|
|
|
22043
22039
|
VsContainer,
|
|
22044
22040
|
VsRow
|
|
22045
22041
|
}
|
|
22046
|
-
}, _hoisted_1$
|
|
22042
|
+
}, _hoisted_1$1j = {
|
|
22047
22043
|
class: "vs-footer pt-150 pt-md-300",
|
|
22048
22044
|
"data-unique-id": "vs-footer",
|
|
22049
22045
|
id: "site-footer"
|
|
22050
|
-
}, _hoisted_2$
|
|
22046
|
+
}, _hoisted_2$V = { class: "vs-footer__social-menu-wrapper" };
|
|
22051
22047
|
function _sfc_render$1s(e, t, n, a, o, r) {
|
|
22052
22048
|
const s = resolveComponent("VsCol"), i = resolveComponent("VsFooterNavList"), l = resolveComponent("VsRow"), c = resolveComponent("VsContainer");
|
|
22053
|
-
return openBlock(), createElementBlock("footer", _hoisted_1$
|
|
22049
|
+
return openBlock(), createElementBlock("footer", _hoisted_1$1j, [
|
|
22054
22050
|
createVNode(i, { "break-point": "md" }, {
|
|
22055
22051
|
default: withCtx(() => [
|
|
22056
22052
|
renderSlot(e.$slots, "accordion-items"),
|
|
@@ -22069,7 +22065,7 @@ function _sfc_render$1s(e, t, n, a, o, r) {
|
|
|
22069
22065
|
]),
|
|
22070
22066
|
_: 3
|
|
22071
22067
|
}),
|
|
22072
|
-
createElementVNode("div", _hoisted_2$
|
|
22068
|
+
createElementVNode("div", _hoisted_2$V, [
|
|
22073
22069
|
createVNode(c, null, {
|
|
22074
22070
|
default: withCtx(() => [
|
|
22075
22071
|
createVNode(l, null, {
|
|
@@ -22094,7 +22090,7 @@ function _sfc_render$1s(e, t, n, a, o, r) {
|
|
|
22094
22090
|
renderSlot(e.$slots, "default")
|
|
22095
22091
|
]);
|
|
22096
22092
|
}
|
|
22097
|
-
const Footer = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
22093
|
+
const Footer = /* @__PURE__ */ _export_sfc(_sfc_main$1J, [["render", _sfc_render$1s]]), _sfc_main$1I = {
|
|
22098
22094
|
name: "VsFooterAccordionItem",
|
|
22099
22095
|
status: "prototype",
|
|
22100
22096
|
release: "0.0.1",
|
|
@@ -22173,7 +22169,7 @@ function _sfc_render$1r(e, t, n, a, o, r) {
|
|
|
22173
22169
|
_: 3
|
|
22174
22170
|
}, 8, ["data-unique-id", "control-id", "item-break-point", "open-by-default", "variant"]);
|
|
22175
22171
|
}
|
|
22176
|
-
const FooterAccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
22172
|
+
const FooterAccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$1I, [["render", _sfc_render$1r]]), _sfc_main$1H = {
|
|
22177
22173
|
name: "VsFooterNavListItem",
|
|
22178
22174
|
status: "prototype",
|
|
22179
22175
|
release: "0.0.1",
|
|
@@ -22205,14 +22201,14 @@ const FooterAccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$1G, [["render"
|
|
|
22205
22201
|
default: ""
|
|
22206
22202
|
}
|
|
22207
22203
|
}
|
|
22208
|
-
}, _hoisted_1$
|
|
22204
|
+
}, _hoisted_1$1i = {
|
|
22209
22205
|
class: "vs-footer-nav-list-item",
|
|
22210
22206
|
"data-test": "vs-footer-nav-list-item",
|
|
22211
22207
|
role: "menuitem"
|
|
22212
22208
|
};
|
|
22213
22209
|
function _sfc_render$1q(e, t, n, a, o, r) {
|
|
22214
22210
|
const s = resolveComponent("VsLink");
|
|
22215
|
-
return openBlock(), createElementBlock("li", _hoisted_1$
|
|
22211
|
+
return openBlock(), createElementBlock("li", _hoisted_1$1i, [
|
|
22216
22212
|
createVNode(s, {
|
|
22217
22213
|
href: n.href,
|
|
22218
22214
|
type: n.type,
|
|
@@ -22226,7 +22222,7 @@ function _sfc_render$1q(e, t, n, a, o, r) {
|
|
|
22226
22222
|
}, 8, ["href", "type"])
|
|
22227
22223
|
]);
|
|
22228
22224
|
}
|
|
22229
|
-
const FooterNavListItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
22225
|
+
const FooterNavListItem = /* @__PURE__ */ _export_sfc(_sfc_main$1H, [["render", _sfc_render$1q]]), _sfc_main$1G = {
|
|
22230
22226
|
name: "VsList",
|
|
22231
22227
|
status: "prototype",
|
|
22232
22228
|
release: "0.0.1",
|
|
@@ -22268,7 +22264,7 @@ function _sfc_render$1p(e, t, n, a, o, r) {
|
|
|
22268
22264
|
_: 3
|
|
22269
22265
|
}, 16, ["class"]);
|
|
22270
22266
|
}
|
|
22271
|
-
const VsList = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
22267
|
+
const VsList = /* @__PURE__ */ _export_sfc(_sfc_main$1G, [["render", _sfc_render$1p]]), _sfc_main$1F = {
|
|
22272
22268
|
name: "VsFooterSocialMenu",
|
|
22273
22269
|
status: "prototype",
|
|
22274
22270
|
release: "0.0.1",
|
|
@@ -22276,13 +22272,13 @@ const VsList = /* @__PURE__ */ _export_sfc(_sfc_main$1E, [["render", _sfc_render
|
|
|
22276
22272
|
VsList,
|
|
22277
22273
|
VsHeading
|
|
22278
22274
|
}
|
|
22279
|
-
}, _hoisted_1$
|
|
22275
|
+
}, _hoisted_1$1h = {
|
|
22280
22276
|
class: "vs-footer-social-menu px-0 py-150 py-md-200 py-lg-0 px-lg-075",
|
|
22281
22277
|
"data-test": "vs-footer-social-menu"
|
|
22282
22278
|
};
|
|
22283
22279
|
function _sfc_render$1o(e, t, n, a, o, r) {
|
|
22284
22280
|
const s = resolveComponent("VsHeading"), i = resolveComponent("VsList");
|
|
22285
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
22281
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1h, [
|
|
22286
22282
|
createVNode(s, {
|
|
22287
22283
|
level: "2",
|
|
22288
22284
|
"heading-style": "heading-xxs",
|
|
@@ -22304,7 +22300,7 @@ function _sfc_render$1o(e, t, n, a, o, r) {
|
|
|
22304
22300
|
})
|
|
22305
22301
|
]);
|
|
22306
22302
|
}
|
|
22307
|
-
const FooterSocialMenu = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
22303
|
+
const FooterSocialMenu = /* @__PURE__ */ _export_sfc(_sfc_main$1F, [["render", _sfc_render$1o]]), _sfc_main$1E = {
|
|
22308
22304
|
name: "VsFooterSocialItem",
|
|
22309
22305
|
status: "prototype",
|
|
22310
22306
|
release: "0.0.1",
|
|
@@ -22338,13 +22334,13 @@ const FooterSocialMenu = /* @__PURE__ */ _export_sfc(_sfc_main$1D, [["render", _
|
|
|
22338
22334
|
default: ""
|
|
22339
22335
|
}
|
|
22340
22336
|
}
|
|
22341
|
-
}, _hoisted_1$
|
|
22337
|
+
}, _hoisted_1$1g = {
|
|
22342
22338
|
class: "vs-footer-social-item",
|
|
22343
22339
|
"data-test": "vs-footer-social-item"
|
|
22344
22340
|
};
|
|
22345
22341
|
function _sfc_render$1n(e, t, n, a, o, r) {
|
|
22346
22342
|
const s = resolveComponent("VsIcon"), i = resolveComponent("VsLink");
|
|
22347
|
-
return openBlock(), createElementBlock("li", _hoisted_1$
|
|
22343
|
+
return openBlock(), createElementBlock("li", _hoisted_1$1g, [
|
|
22348
22344
|
createVNode(i, {
|
|
22349
22345
|
"data-test": "vs-footer-social-item__link",
|
|
22350
22346
|
href: n.href,
|
|
@@ -22363,7 +22359,7 @@ function _sfc_render$1n(e, t, n, a, o, r) {
|
|
|
22363
22359
|
}, 8, ["href", "aria-label"])
|
|
22364
22360
|
]);
|
|
22365
22361
|
}
|
|
22366
|
-
const FooterSocialItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
22362
|
+
const FooterSocialItem = /* @__PURE__ */ _export_sfc(_sfc_main$1E, [["render", _sfc_render$1n]]), _sfc_main$1D = {
|
|
22367
22363
|
name: "VsFooterUtilityList",
|
|
22368
22364
|
status: "prototype",
|
|
22369
22365
|
release: "0.0.1",
|
|
@@ -22373,14 +22369,14 @@ const FooterSocialItem = /* @__PURE__ */ _export_sfc(_sfc_main$1C, [["render", _
|
|
|
22373
22369
|
VsContainer,
|
|
22374
22370
|
VsCol
|
|
22375
22371
|
}
|
|
22376
|
-
}, _hoisted_1$
|
|
22372
|
+
}, _hoisted_1$1f = {
|
|
22377
22373
|
class: "vs-footer-utility-list",
|
|
22378
22374
|
"data-test": "vs-footer-utility-list",
|
|
22379
22375
|
"data-unique-id": "vs-footer-utility_links"
|
|
22380
22376
|
};
|
|
22381
22377
|
function _sfc_render$1m(e, t, n, a, o, r) {
|
|
22382
22378
|
const s = resolveComponent("VsList"), i = resolveComponent("VsCol"), l = resolveComponent("VsRow"), c = resolveComponent("VsContainer");
|
|
22383
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
22379
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1f, [
|
|
22384
22380
|
createVNode(c, null, {
|
|
22385
22381
|
default: withCtx(() => [
|
|
22386
22382
|
createVNode(l, null, {
|
|
@@ -22411,7 +22407,7 @@ function _sfc_render$1m(e, t, n, a, o, r) {
|
|
|
22411
22407
|
})
|
|
22412
22408
|
]);
|
|
22413
22409
|
}
|
|
22414
|
-
const FooterUtilityList = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
22410
|
+
const FooterUtilityList = /* @__PURE__ */ _export_sfc(_sfc_main$1D, [["render", _sfc_render$1m]]), brandscotlandLogo = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20version='1.1'%20viewBox='0%200%20565%20112'%3e%3c!--%20Generator:%20Adobe%20Illustrator%2030.0.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%202.1.1%20Build%20123)%20--%3e%3cdefs%3e%3cstyle%3e%20.st0%20{%20fill:%20%23fff;%20}%20%3c/style%3e%3c/defs%3e%3cpath%20class='st0'%20d='M28.32,111.69c-.45,0-.68-.25-.68-.76,0-.87,0-2.46,0-7.62,0-1-.49-1.9-1.38-2.35C-3.96,88.43,3.26,56.03,3.34,55.7c.06-.27.46-.39.81-.41.38-.02.71.16.78.34,8.18,21.79,19.97,26.37,26.27,27.69l.19.04c.22,0,.41-.15.47-.36.07-.22,0-.46-.2-.57-22.31-11.97-21.34-34.95-20.67-38.73.02-.12.27-.32.72-.35.41-.02.65.16.68.26,11.37,33.47,32.5,23.77,33.88,23.05.21-.1.31-.34.26-.56-.05-.23-.26-.39-.49-.39-16.23,3.62-25.46-12.12-28.73-22.58C15.16,36.33,12.55,20.21.66,10.01c-.16-.14-.36-.57.06-.81,5.36-3.17,9.78-5,14.86-6.42.23-.07.44.08.51.14,11.78,11.56,10.87,37.89,22.01,44.83.1.06.21.12.32.12.2,0,.37-.11.46-.29.09-.17.09-.39-.06-.53-10.5-10.11-7.98-30.71-16.57-45.05-.13-.22-.08-.68.35-.74,2.49-.37,5.12-.67,8.53-.7,3.53-.03,5.98.19,8.09.44.33.04.46.38.42.58-2.16,11.53-3.84,25.65,1.09,32.27.09.12.24.19.39.19.17,0,.32-.08.41-.22.09-.13.11-.3.05-.46-3.34-8.97-2.05-19.48,4.09-30.88.06-.12.28-.28.47-.23,3.67.87,8.23,2.43,12.56,4.59.22.11.38.47.17.74-5.94,7.6-13.14,17.92-5.35,30.26.07.08.15.4-.12.72-.21.26-.55.36-.68.29-3.61-2.18-6.28-8.38-7.07-11.79-.07-.27-.34-.43-.6-.36-.22.05-.37.25-.38.47-.15,7.47,5.2,15.82,8.1,18.2.1.08.3.38.12.8-.16.38-.49.39-.62.39-4.97-.04-9.54-4.7-11.63-6.72l-.24-.23c-.2-.19-.51-.19-.71,0-.03.03-.05.06-.07.09-.09.14-.11.32-.04.47,2.84,6.41,7.64,10.47,14.58,11.49.09.01.36.11.48.58.09.36-.09.68-.3.79-3.28,1.78-6.51,2.67-10.04,2.7-12.97.1-17.71-13.44-22.8-25.87-1.4-3.43-2.73-6.66-4.21-9.61-.08-.17-.26-.29-.46-.28-.17,0-.33.08-.43.23-.09.13-.09.3-.02.45,1.52,3.31,2.75,7.12,4.05,11.15,4.14,12.78,8.58,28.96,24.29,28.96,0,0,0,0,0,0,3.62,0,7.98-.38,12.52-1.92,0,0,0,0,0,0,.25-.06.48-.02.8.3.18.18.29.58.18.77-6.84,12.89-17.5,16.43-30.19,12.61l-.18-.03c-.2,0-.39.12-.46.31-.08.19-.02.38.11.54,5.87,7.24,21.98,6.9,33.22-2.52,0,0,0,0,0,0,.13-.1.52-.15.91.23.45.43.27.79.22.88-15.74,25.27-42.24,18.68-50.74,5.85-.09-.14-.25-.22-.41-.22-.18,0-.35.1-.44.25-.09.15-.1.34-.01.5,5.18,10.04,14.95,14.7,24.19,18.09,1.21.5,2.38,1.92,2.38,4.12v7.71c0,.3-.15.58-.4.75-2.1,1.34-5.84,2.55-8.12,2.73h0ZM500.64,91.71h-10.97s-4.88-9.54-17.41-26.73c-7.89-10.82-14.69-17.93-14.69-17.93l-.06,44.65h-10.73l-.08-63.28h10.91s3.12,2.16,20.29,25.49c9.86,13.39,11.97,18.72,11.97,18.72V28.43h10.72l.07,63.28h0ZM109.85,55.68c-9.64-1.05-16.3-4.09-16.3-9.17s7.53-8.11,13.86-7.91c10.29.32,15.04,5.31,17.28,8.73l3.75-10.55c-6.08-5.22-11.18-7.9-20.7-8.25-13-.48-24.79,6.4-25.14,17.56-.24,7.47,4.01,15.96,21.02,18.4,10.77,1.54,15.55,3.06,15.55,9,0,5.14-8.3,7.83-14.51,7.63-9.53-.3-16.83-5.85-19.51-10.81l-3.65,10.52c2.96,4.03,11.86,10.32,22.84,10.66,13,.41,25.06-6.8,25.41-18.04.24-7.47-2.64-15.89-19.89-17.77ZM316.35,38.61h-14.9v53.12h-10.72v-53.12h-14.9v-10.28h40.51v10.27ZM367.91,82.34l-3.09,9.39h-34.36l-.05-63.39h10.83l-.07,54h26.74s0,0,0,0ZM553.61,59.99c0-25.23-26.92-21.27-26.92-21.27v42.54s26.92,3.6,26.92-21.27ZM526.68,28.44c15.73,0,37.84,3.51,37.84,31.54s-21.74,31.54-37.84,31.54h-10.83V28.44s10.83,0,10.83,0ZM190.76,71.29l4.48,10.56c-2.2,3.05-10.2,9.61-22.49,9.61-17.07,0-30.96-14.12-30.96-31.48s13.89-31.44,30.96-31.48c5.59-.01,14.48,1.49,22.49,9.81l-4.46,10.64c-6.04-7.92-11.49-9.93-18.03-9.93-11.41,0-20.61,9.35-20.61,20.95s9.2,20.95,20.61,20.95c7.92,0,14.09-3.69,18.01-9.65ZM237.02,38.83c-11.68,0-21.19,9.51-21.19,21.19,0,9.62,6.45,17.78,15.26,20.35,1.88.55,3.87.84,5.93.84,11.68,0,21.19-9.51,21.19-21.19,0-11.68-9.51-21.19-21.19-21.19h0ZM237.02,91.52c-17.37,0-31.49-14.13-31.49-31.49s14.13-31.49,31.49-31.49,31.49,14.13,31.49,31.49-14.13,31.49-31.49,31.49ZM409.22,28.39l-2.57-.02h0s-2.57.01-2.57.01c0,0-14.14,27.43-24.98,63.36h11.29c.69-2.41,1.42-4.8,2.18-7.19,3.35,1.22,6.8,1.84,10.29,1.84,2.83,0,5.65-.41,8.37-1.23,3.05-.91,5.94-2.33,8.53-4.19,1.16,3.56,2.21,7.15,3.17,10.77h11.29c-10.85-35.94-24.98-63.36-24.98-63.36h0ZM408.24,75.92c-1.78.52-3.63.78-5.48.78-2.42,0-4.82-.44-7.09-1.28,4.24-11.96,8.95-23.34,10.97-27.67,1.75,3.74,5.75,12.71,9.7,23.43-2.27,2.23-5.05,3.86-8.1,4.74h0Z'/%3e%3c/svg%3e", _sfc_main$1C = {
|
|
22415
22411
|
name: "VsFooterCopyright",
|
|
22416
22412
|
status: "prototype",
|
|
22417
22413
|
release: "0.0.1",
|
|
@@ -22449,17 +22445,17 @@ const FooterUtilityList = /* @__PURE__ */ _export_sfc(_sfc_main$1B, [["render",
|
|
|
22449
22445
|
return (/* @__PURE__ */ new Date()).getFullYear();
|
|
22450
22446
|
}
|
|
22451
22447
|
}
|
|
22452
|
-
}, _hoisted_1$
|
|
22448
|
+
}, _hoisted_1$1e = {
|
|
22453
22449
|
class: "vs-footer-copyright",
|
|
22454
22450
|
"data-unique-id": "vs-footer-sub_footer",
|
|
22455
22451
|
"data-test": "vs-footer-copyright"
|
|
22456
|
-
}, _hoisted_2$
|
|
22452
|
+
}, _hoisted_2$U = {
|
|
22457
22453
|
class: "visually-hidden",
|
|
22458
22454
|
"data-test": "link-alt-text"
|
|
22459
|
-
}, _hoisted_3$
|
|
22455
|
+
}, _hoisted_3$I = { class: "vs-footer-copyright__text" };
|
|
22460
22456
|
function _sfc_render$1l(e, t, n, a, o, r) {
|
|
22461
22457
|
const s = resolveComponent("VsImg"), i = resolveComponent("VsLink"), l = resolveComponent("VsCol"), c = resolveComponent("VsRow"), d = resolveComponent("VsContainer");
|
|
22462
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
22458
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1e, [
|
|
22463
22459
|
createVNode(d, null, {
|
|
22464
22460
|
default: withCtx(() => [
|
|
22465
22461
|
createVNode(c, null, {
|
|
@@ -22476,12 +22472,12 @@ function _sfc_render$1l(e, t, n, a, o, r) {
|
|
|
22476
22472
|
href: n.href
|
|
22477
22473
|
}, {
|
|
22478
22474
|
default: withCtx(() => [
|
|
22479
|
-
createElementVNode("span", _hoisted_2$
|
|
22475
|
+
createElementVNode("span", _hoisted_2$U, toDisplayString(n.linkAltText), 1),
|
|
22480
22476
|
createVNode(s, { src: o.brandscotlandLogo }, null, 8, ["src"])
|
|
22481
22477
|
]),
|
|
22482
22478
|
_: 1
|
|
22483
22479
|
}, 8, ["href"]),
|
|
22484
|
-
createElementVNode("p", _hoisted_3$
|
|
22480
|
+
createElementVNode("p", _hoisted_3$I, [
|
|
22485
22481
|
createTextVNode(" © " + toDisplayString(r.getCurrentYear) + " ", 1),
|
|
22486
22482
|
renderSlot(e.$slots, "copyright")
|
|
22487
22483
|
])
|
|
@@ -22496,7 +22492,7 @@ function _sfc_render$1l(e, t, n, a, o, r) {
|
|
|
22496
22492
|
})
|
|
22497
22493
|
]);
|
|
22498
22494
|
}
|
|
22499
|
-
const FooterCopyright = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
22495
|
+
const FooterCopyright = /* @__PURE__ */ _export_sfc(_sfc_main$1C, [["render", _sfc_render$1l]]), _sfc_main$1B = {
|
|
22500
22496
|
name: "VsGlobalMenu",
|
|
22501
22497
|
status: "deprecated",
|
|
22502
22498
|
release: "0.1.0",
|
|
@@ -22541,10 +22537,10 @@ const FooterCopyright = /* @__PURE__ */ _export_sfc(_sfc_main$1A, [["render", _s
|
|
|
22541
22537
|
]
|
|
22542
22538
|
};
|
|
22543
22539
|
}
|
|
22544
|
-
}, _hoisted_1$
|
|
22540
|
+
}, _hoisted_1$1d = { class: "vs-global-menu" };
|
|
22545
22541
|
function _sfc_render$1k(e, t, n, a, o, r) {
|
|
22546
22542
|
const s = resolveComponent("VsCol"), i = resolveComponent("VsRow"), l = resolveComponent("VsContainer"), c = resolveComponent("LazyHydrationWrapper");
|
|
22547
|
-
return openBlock(), createElementBlock("nav", _hoisted_1$
|
|
22543
|
+
return openBlock(), createElementBlock("nav", _hoisted_1$1d, [
|
|
22548
22544
|
createVNode(c, { "on-interaction": ["focus", "click"] }, {
|
|
22549
22545
|
default: withCtx(() => [
|
|
22550
22546
|
createVNode(l, {
|
|
@@ -22574,7 +22570,7 @@ function _sfc_render$1k(e, t, n, a, o, r) {
|
|
|
22574
22570
|
})
|
|
22575
22571
|
]);
|
|
22576
22572
|
}
|
|
22577
|
-
const GlobalMenu = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
22573
|
+
const GlobalMenu = /* @__PURE__ */ _export_sfc(_sfc_main$1B, [["render", _sfc_render$1k]]), _sfc_main$1A = {
|
|
22578
22574
|
name: "VsGlobalMenuLanguage",
|
|
22579
22575
|
status: "prototype",
|
|
22580
22576
|
release: "0.1.0",
|
|
@@ -22606,7 +22602,7 @@ const GlobalMenu = /* @__PURE__ */ _export_sfc(_sfc_main$1z, [["render", _sfc_re
|
|
|
22606
22602
|
mounted() {
|
|
22607
22603
|
this.cookieExists("vs_locale") || this.setCookie("vs_locale", this.localeCookie, !0), this.cookieExists("googtrans") || this.setCookie("googtrans", this.translationCookie, !0);
|
|
22608
22604
|
}
|
|
22609
|
-
}, _hoisted_1$
|
|
22605
|
+
}, _hoisted_1$1c = { class: "vs-global-menu__languages__text" }, _hoisted_2$T = { class: "vs-global-menu__languages__selected" }, _hoisted_3$H = {
|
|
22610
22606
|
class: "vs-global-menu__languages__label",
|
|
22611
22607
|
role: "menuitem"
|
|
22612
22608
|
};
|
|
@@ -22624,11 +22620,11 @@ function _sfc_render$1j(e, t, n, a, o, r) {
|
|
|
22624
22620
|
size: "xxs",
|
|
22625
22621
|
focusable: "false"
|
|
22626
22622
|
}),
|
|
22627
|
-
createElementVNode("span", _hoisted_1$
|
|
22628
|
-
createElementVNode("span", _hoisted_2$
|
|
22623
|
+
createElementVNode("span", _hoisted_1$1c, toDisplayString(n.languageLabel), 1),
|
|
22624
|
+
createElementVNode("span", _hoisted_2$T, toDisplayString(e.selectedLanguage), 1)
|
|
22629
22625
|
]),
|
|
22630
22626
|
default: withCtx(() => [
|
|
22631
|
-
createElementVNode("li", _hoisted_3$
|
|
22627
|
+
createElementVNode("li", _hoisted_3$H, [
|
|
22632
22628
|
createVNode(s, {
|
|
22633
22629
|
icon: "fa-regular fa-globe",
|
|
22634
22630
|
variant: "inverse",
|
|
@@ -22642,7 +22638,7 @@ function _sfc_render$1j(e, t, n, a, o, r) {
|
|
|
22642
22638
|
_: 3
|
|
22643
22639
|
});
|
|
22644
22640
|
}
|
|
22645
|
-
const GlobalMenuLanguage = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
22641
|
+
const GlobalMenuLanguage = /* @__PURE__ */ _export_sfc(_sfc_main$1A, [["render", _sfc_render$1j]]), _sfc_main$1z = {
|
|
22646
22642
|
name: "VsGlobalMenuLanguageItem",
|
|
22647
22643
|
status: "prototype",
|
|
22648
22644
|
release: "0.1.0",
|
|
@@ -22697,7 +22693,608 @@ function _sfc_render$1i(e, t, n, a, o, r) {
|
|
|
22697
22693
|
_: 1
|
|
22698
22694
|
}, 8, ["href"]);
|
|
22699
22695
|
}
|
|
22700
|
-
const GlobalMenuLanguageItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
22696
|
+
const GlobalMenuLanguageItem = /* @__PURE__ */ _export_sfc(_sfc_main$1z, [["render", _sfc_render$1i]]), __vite_import_meta_env__ = { BASE_URL: "/", DEV: !1, MODE: "production", PROD: !0, SSR: !1 };
|
|
22697
|
+
var define_process_env_default$2 = {};
|
|
22698
|
+
const getEnvValue = (e) => define_process_env_default$2 ? define_process_env_default$2[e] : __vite_import_meta_env__[e];
|
|
22699
|
+
function isAppleIOS() {
|
|
22700
|
+
const e = navigator.userAgent;
|
|
22701
|
+
return !!(/iPhone|iPod|iPad/.test(e) || /Macintosh/.test(e) && "ontouchend" in document);
|
|
22702
|
+
}
|
|
22703
|
+
const useGoogleBaseMapStore = defineStore("googleBaseMap", () => {
|
|
22704
|
+
const e = ref([]), t = ref(!1), n = ref(null), a = ref([]);
|
|
22705
|
+
function o(s) {
|
|
22706
|
+
a.value.push(s);
|
|
22707
|
+
}
|
|
22708
|
+
function r(s) {
|
|
22709
|
+
a.value = a.value.filter((i) => i !== s);
|
|
22710
|
+
}
|
|
22711
|
+
return {
|
|
22712
|
+
setActiveMarker: o,
|
|
22713
|
+
removeActiveMarker: r,
|
|
22714
|
+
activeMarkers: a,
|
|
22715
|
+
markers: e,
|
|
22716
|
+
markerHovered: n,
|
|
22717
|
+
isPolygonTooltipOpen: t
|
|
22718
|
+
};
|
|
22719
|
+
});
|
|
22720
|
+
var define_process_env_default$1 = {};
|
|
22721
|
+
const MSG_REPEATED_SET_OPTIONS = (e) => `The setOptions() function should only be called once. The options passed to the additional call (${JSON.stringify(e)}) will be ignored.`, MSG_IMPORT_LIBRARY_EXISTS = (e) => `The google.maps.importLibrary() function is already defined, and @googlemaps/js-api-loader will use the existing function instead of overwriting it. The options passed to setOptions (${JSON.stringify(e)}) will be ignored.`, MSG_SET_OPTIONS_NOT_CALLED = "No options were set before calling importLibrary. Make sure to configure the loader using setOptions().", MSG_SCRIPT_ELEMENT_EXISTS = "There already is a script loading the Google Maps JavaScript API, and no google.maps.importLibrary function is defined. @googlemaps/js-api-loader will proceed to bootstrap the API with the specified options, but the existing script might cause problems using the API. Make sure to remove the script loading the API.", MSG_API_KEY_USED = "The 'apiKey' parameter was used in setOptions(), but 'key' is the correct parameter name. Please update your configuration.", MSG_TRUSTED_TYPES_POLICY_FAILED = (e, t) => `Failed to create Trusted Types policy "${e}": ${t instanceof Error ? t.message : String(t)}.
|
|
22722
|
+
|
|
22723
|
+
If your Content Security Policy uses "require-trusted-types-for 'script'", allow this policy with "trusted-types ${e} google-maps-api-loader google-maps-api#html lit-html". The "google-maps-api-loader", "lit-html", and "google-maps-api#html" policies are required for full Maps JavaScript API execution. Falling back to a string script URL.`, __DEV__$1 = define_process_env_default$1.NODE_ENV !== "production", logDevWarning = __DEV__$1 ? (e) => {
|
|
22724
|
+
console.warn(`[@googlemaps/js-api-loader] ${e}`);
|
|
22725
|
+
} : () => {
|
|
22726
|
+
}, logDevNotice = __DEV__$1 ? (e) => {
|
|
22727
|
+
console.info(`[@googlemaps/js-api-loader] ${e}`);
|
|
22728
|
+
} : () => {
|
|
22729
|
+
}, TRUSTED_TYPES_POLICY_NAME = "@googlemaps/js-api-loader", fallbackPolicy = { createScriptURL: (e) => e };
|
|
22730
|
+
let policy;
|
|
22731
|
+
function getPolicy() {
|
|
22732
|
+
if (policy)
|
|
22733
|
+
return policy;
|
|
22734
|
+
const e = globalThis.trustedTypes;
|
|
22735
|
+
if (!e)
|
|
22736
|
+
return policy = fallbackPolicy, policy;
|
|
22737
|
+
try {
|
|
22738
|
+
policy = e.createPolicy(TRUSTED_TYPES_POLICY_NAME, {
|
|
22739
|
+
createScriptURL: (t) => t
|
|
22740
|
+
});
|
|
22741
|
+
} catch (t) {
|
|
22742
|
+
logDevWarning(MSG_TRUSTED_TYPES_POLICY_FAILED(TRUSTED_TYPES_POLICY_NAME, t)), policy = fallbackPolicy;
|
|
22743
|
+
}
|
|
22744
|
+
return policy;
|
|
22745
|
+
}
|
|
22746
|
+
function setScriptSrc(e, t) {
|
|
22747
|
+
e.src = getPolicy().createScriptURL(t);
|
|
22748
|
+
}
|
|
22749
|
+
const bootstrap = (e) => {
|
|
22750
|
+
var t, n, a, o = "The Google Maps JavaScript API", r = "google", s = "importLibrary", i = "__ib__", l = document, c = window, d = c[r] || (c[r] = {}), u = d.maps || (d.maps = {}), f = /* @__PURE__ */ new Set(), p = new URLSearchParams(), m = () => t || (t = new Promise(async (g, b) => {
|
|
22751
|
+
await (n = l.createElement("script")), p.set("libraries", [...f] + "");
|
|
22752
|
+
for (a in e)
|
|
22753
|
+
p.set(a.replace(/[A-Z]/g, (v) => "_" + v[0].toLowerCase()), e[a]);
|
|
22754
|
+
p.set("callback", r + ".maps." + i), setScriptSrc(n, "https://maps.googleapis.com/maps/api/js?" + p), u[i] = g, n.onerror = () => t = b(Error(o + " could not load.")), n.nonce = l.querySelector("script[nonce]")?.nonce || "", l.head.append(n);
|
|
22755
|
+
}));
|
|
22756
|
+
u[s] ? console.warn(o + " only loads once. Ignoring:", e) : u[s] = (g, ...b) => f.add(g) && m().then(() => u[s](g, ...b));
|
|
22757
|
+
}, __DEV__ = define_process_env_default$1.NODE_ENV !== "production";
|
|
22758
|
+
let setOptionsWasCalled_ = !1;
|
|
22759
|
+
function setOptions(e) {
|
|
22760
|
+
if (setOptionsWasCalled_) {
|
|
22761
|
+
logDevWarning(MSG_REPEATED_SET_OPTIONS(e));
|
|
22762
|
+
return;
|
|
22763
|
+
}
|
|
22764
|
+
e.apiKey && (logDevWarning(MSG_API_KEY_USED), e.key || (e.key = e.apiKey)), installImportLibrary_(e), setOptionsWasCalled_ = !0;
|
|
22765
|
+
}
|
|
22766
|
+
async function importLibrary(e) {
|
|
22767
|
+
if (setOptionsWasCalled_ || logDevWarning(MSG_SET_OPTIONS_NOT_CALLED), !window?.google?.maps?.importLibrary)
|
|
22768
|
+
throw new Error("google.maps.importLibrary is not installed.");
|
|
22769
|
+
return await google.maps.importLibrary(e);
|
|
22770
|
+
}
|
|
22771
|
+
function installImportLibrary_(e) {
|
|
22772
|
+
const t = !!window.google?.maps?.importLibrary;
|
|
22773
|
+
t ? logDevNotice(MSG_IMPORT_LIBRARY_EXISTS(e)) : __DEV__ && document.querySelector('script[src*="maps.googleapis.com/maps/api/js"]') && logDevWarning(MSG_SCRIPT_ELEMENT_EXISTS), t || bootstrap(e);
|
|
22774
|
+
}
|
|
22775
|
+
function createTooltipContainer() {
|
|
22776
|
+
const e = document.createElement("div");
|
|
22777
|
+
return e.classList.add("vs-google-map__tooltip"), e.style.display = "flex", e.style.flexDirection = "column", e.style.alignItems = "center", e.style.filter = "drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.25))", e.style.pointerEvents = "none", e;
|
|
22778
|
+
}
|
|
22779
|
+
function createTooltipContent() {
|
|
22780
|
+
const e = document.createElement("div");
|
|
22781
|
+
return e.classList.add("vs-google-map__tooltip-content"), e.style.width = "max-content", e.style.padding = `${designTokens["vs-spacer-025"]} ${designTokens["vs-spacer-050"]}`, e.style.fontFamily = designTokens["vs-font-family-sans-serif"], e.style.fontSize = designTokens["vs-font-size-detail-s"], e.style.borderRadius = designTokens["vs-radius-small"], e.style.background = designTokens["vs-color-background-inverse"], e;
|
|
22782
|
+
}
|
|
22783
|
+
function createTooltipArrow() {
|
|
22784
|
+
const e = document.createElement("div");
|
|
22785
|
+
return e.classList.add("vs-google-map__tooltip-arrow"), e.style.width = "10px", e.style.height = "10px", e.style.background = designTokens["vs-color-background-inverse"], e.style.transform = "rotate(45deg)", e.style.position = "relative", e.style.top = "-5px", e;
|
|
22786
|
+
}
|
|
22787
|
+
function createTooltip(e) {
|
|
22788
|
+
return class extends e.OverlayView {
|
|
22789
|
+
map;
|
|
22790
|
+
location;
|
|
22791
|
+
properties;
|
|
22792
|
+
isMarker;
|
|
22793
|
+
tooltipContainer;
|
|
22794
|
+
constructor(n, a, o, r = !1) {
|
|
22795
|
+
super(), this.map = n, this.location = a, this.properties = o, this.isMarker = r;
|
|
22796
|
+
}
|
|
22797
|
+
onAdd() {
|
|
22798
|
+
this.tooltipContainer = createTooltipContainer();
|
|
22799
|
+
const n = createTooltipContent(), a = document.createElement("span");
|
|
22800
|
+
a.textContent = `${this.properties.title}`, n.appendChild(a), this.tooltipContainer.appendChild(n);
|
|
22801
|
+
const o = createTooltipArrow();
|
|
22802
|
+
this.tooltipContainer.appendChild(o), this.tooltipContainer.style.position = "absolute", this.tooltipContainer.style.zIndex = "9999", this.getPanes()?.overlayMouseTarget.appendChild(this.tooltipContainer), this.hide();
|
|
22803
|
+
}
|
|
22804
|
+
onRemove() {
|
|
22805
|
+
this.tooltipContainer?.parentElement && this.tooltipContainer.parentElement.removeChild(this.tooltipContainer);
|
|
22806
|
+
}
|
|
22807
|
+
draw() {
|
|
22808
|
+
const n = this.getProjection().fromLatLngToDivPixel(
|
|
22809
|
+
this.location
|
|
22810
|
+
);
|
|
22811
|
+
if (this.tooltipContainer) {
|
|
22812
|
+
const a = this.tooltipContainer.offsetWidth, o = this.tooltipContainer.offsetHeight;
|
|
22813
|
+
this.tooltipContainer.style.left = `${n.x - a / 2}px`, this.isMarker ? this.tooltipContainer.style.top = `${n.y - 100}px` : this.tooltipContainer.style.top = `${n.y - o}px`;
|
|
22814
|
+
}
|
|
22815
|
+
}
|
|
22816
|
+
toggleDOM() {
|
|
22817
|
+
this.getMap() ? this.setMap(null) : this.setMap(this.map);
|
|
22818
|
+
}
|
|
22819
|
+
show() {
|
|
22820
|
+
this.tooltipContainer && (this.tooltipContainer.style.visibility = "visible");
|
|
22821
|
+
}
|
|
22822
|
+
hide() {
|
|
22823
|
+
this.tooltipContainer && (this.tooltipContainer.style.visibility = "hidden");
|
|
22824
|
+
}
|
|
22825
|
+
};
|
|
22826
|
+
}
|
|
22827
|
+
const ACTIVE_COLOR = designTokens["vs-color-background-accent-heather-30"], HOVER_COLOR = designTokens["vs-color-background-accent-heather-80"], STROKE_COLOR = designTokens["vs-color-border-inverse"];
|
|
22828
|
+
function getPolygonCenter(e, t) {
|
|
22829
|
+
const n = new google.maps.LatLngBounds();
|
|
22830
|
+
return t.getPaths().getArray().flat().forEach((o) => {
|
|
22831
|
+
o.getArray().forEach((r) => {
|
|
22832
|
+
n.extend(new google.maps.LatLng(r.lat(), r.lng()));
|
|
22833
|
+
});
|
|
22834
|
+
}), n.getCenter();
|
|
22835
|
+
}
|
|
22836
|
+
async function attachListeners(e, t) {
|
|
22837
|
+
const n = useGoogleBaseMapStore();
|
|
22838
|
+
if (e.addListener("mouseover", () => {
|
|
22839
|
+
e.setOptions({
|
|
22840
|
+
fillColor: HOVER_COLOR
|
|
22841
|
+
}), t && n.markerHovered && (n.isPolygonTooltipOpen = !0, t.show());
|
|
22842
|
+
}), e.addListener("mouseout", () => {
|
|
22843
|
+
e.setOptions({
|
|
22844
|
+
fillColor: ACTIVE_COLOR
|
|
22845
|
+
}), t && (n.isPolygonTooltipOpen = !1, t.hide());
|
|
22846
|
+
}), !t) return;
|
|
22847
|
+
const { markerHovered: a } = storeToRefs(n);
|
|
22848
|
+
watch(() => a.value, (o) => {
|
|
22849
|
+
o && (t.hide(), n.isPolygonTooltipOpen = !1);
|
|
22850
|
+
}), e.addListener("mousemove", () => {
|
|
22851
|
+
!n.isPolygonTooltipOpen && !n.markerHovered && (t.show(), n.isPolygonTooltipOpen = !0);
|
|
22852
|
+
});
|
|
22853
|
+
}
|
|
22854
|
+
async function createPolygon(e, t, n, a) {
|
|
22855
|
+
const o = new google.maps.Polygon({
|
|
22856
|
+
paths: t,
|
|
22857
|
+
strokeColor: STROKE_COLOR,
|
|
22858
|
+
strokeOpacity: 0.8,
|
|
22859
|
+
strokeWeight: 2,
|
|
22860
|
+
fillColor: ACTIVE_COLOR,
|
|
22861
|
+
fillOpacity: 0.5,
|
|
22862
|
+
clickable: !0
|
|
22863
|
+
});
|
|
22864
|
+
o.setMap(e);
|
|
22865
|
+
const r = getPolygonCenter(e, o);
|
|
22866
|
+
if (a) {
|
|
22867
|
+
const s = await importLibrary("maps"), i = createTooltip(s), l = new i(
|
|
22868
|
+
e,
|
|
22869
|
+
r,
|
|
22870
|
+
n
|
|
22871
|
+
);
|
|
22872
|
+
l.setMap(e), attachListeners(o, l);
|
|
22873
|
+
} else
|
|
22874
|
+
attachListeners(o);
|
|
22875
|
+
}
|
|
22876
|
+
function addPolygon(e, t, n) {
|
|
22877
|
+
if (t.geometry.type === "Polygon") {
|
|
22878
|
+
const a = [];
|
|
22879
|
+
t.geometry.coordinates[0].forEach((r) => {
|
|
22880
|
+
a.push(
|
|
22881
|
+
new google.maps.LatLng(r[1], r[0])
|
|
22882
|
+
);
|
|
22883
|
+
}), createPolygon(
|
|
22884
|
+
e,
|
|
22885
|
+
a,
|
|
22886
|
+
t.properties,
|
|
22887
|
+
n
|
|
22888
|
+
);
|
|
22889
|
+
}
|
|
22890
|
+
if (t.geometry.type === "MultiPolygon") {
|
|
22891
|
+
const a = [];
|
|
22892
|
+
t.geometry.coordinates.forEach((r) => {
|
|
22893
|
+
const s = r[0];
|
|
22894
|
+
if (s) {
|
|
22895
|
+
const i = s.map(
|
|
22896
|
+
([l, c]) => new google.maps.LatLng(c, l)
|
|
22897
|
+
);
|
|
22898
|
+
a.push(i);
|
|
22899
|
+
}
|
|
22900
|
+
}), createPolygon(
|
|
22901
|
+
e,
|
|
22902
|
+
a,
|
|
22903
|
+
t.properties,
|
|
22904
|
+
n
|
|
22905
|
+
);
|
|
22906
|
+
}
|
|
22907
|
+
}
|
|
22908
|
+
const _hoisted_1$1b = { class: "vs-google-map" }, _hoisted_2$S = [".center", "^zoom", "mapId"], _hoisted_3$G = {
|
|
22909
|
+
class: "vs-google-map__custom-controls",
|
|
22910
|
+
"data-test": "vs-google-map__custom-control-container",
|
|
22911
|
+
slot: "control-inline-end-block-start"
|
|
22912
|
+
}, _sfc_main$1y = {
|
|
22913
|
+
__name: "GoogleMap",
|
|
22914
|
+
props: {
|
|
22915
|
+
/**
|
|
22916
|
+
* API Key for Google Maps
|
|
22917
|
+
*/
|
|
22918
|
+
apiKey: {
|
|
22919
|
+
type: String,
|
|
22920
|
+
default: getEnvValue("GOOGLE_MAPS_API_KEY")
|
|
22921
|
+
},
|
|
22922
|
+
/**
|
|
22923
|
+
* Initial center point for the map
|
|
22924
|
+
*/
|
|
22925
|
+
center: {
|
|
22926
|
+
type: Object,
|
|
22927
|
+
default: () => ({
|
|
22928
|
+
lat: 0,
|
|
22929
|
+
lng: 0
|
|
22930
|
+
})
|
|
22931
|
+
},
|
|
22932
|
+
/**
|
|
22933
|
+
* Initial zoom level for the map
|
|
22934
|
+
*/
|
|
22935
|
+
zoom: {
|
|
22936
|
+
type: Number,
|
|
22937
|
+
default: 6
|
|
22938
|
+
},
|
|
22939
|
+
/**
|
|
22940
|
+
* Map ID as set in the Google Maps Cloud Console,
|
|
22941
|
+
* required for shading, styling, etc.
|
|
22942
|
+
*/
|
|
22943
|
+
mapId: {
|
|
22944
|
+
type: String,
|
|
22945
|
+
required: !0
|
|
22946
|
+
},
|
|
22947
|
+
/**
|
|
22948
|
+
* Object to set optional map features, otherwise
|
|
22949
|
+
* sensible defaults are set.
|
|
22950
|
+
*/
|
|
22951
|
+
googleMapsOptions: {
|
|
22952
|
+
type: Object,
|
|
22953
|
+
default: () => ({
|
|
22954
|
+
clickableIcons: !0,
|
|
22955
|
+
gestureHandling: "auto",
|
|
22956
|
+
isFractionalZoomEnabled: !1,
|
|
22957
|
+
renderingTypeVector: !0
|
|
22958
|
+
})
|
|
22959
|
+
},
|
|
22960
|
+
/**
|
|
22961
|
+
* The bounds of the map that the user will not be
|
|
22962
|
+
* able to pan past.
|
|
22963
|
+
*/
|
|
22964
|
+
mapBounds: {
|
|
22965
|
+
type: Object,
|
|
22966
|
+
default: () => {
|
|
22967
|
+
}
|
|
22968
|
+
},
|
|
22969
|
+
/**
|
|
22970
|
+
* Determines whether the map should zoom out to show
|
|
22971
|
+
* all of Scotland on initial load
|
|
22972
|
+
*/
|
|
22973
|
+
initialViewIsScotland: {
|
|
22974
|
+
type: Boolean,
|
|
22975
|
+
default: !0
|
|
22976
|
+
},
|
|
22977
|
+
/**
|
|
22978
|
+
* Determines whether the map should zoom into the markers
|
|
22979
|
+
* displayed, rather than respecting center & zoom props.
|
|
22980
|
+
*/
|
|
22981
|
+
isViewToFitMarkers: {
|
|
22982
|
+
type: Boolean,
|
|
22983
|
+
default: !1
|
|
22984
|
+
},
|
|
22985
|
+
/**
|
|
22986
|
+
* Enables/disables tooltips for the markers
|
|
22987
|
+
*/
|
|
22988
|
+
isMarkerTooltipsEnabled: {
|
|
22989
|
+
type: Boolean,
|
|
22990
|
+
default: !1
|
|
22991
|
+
},
|
|
22992
|
+
/**
|
|
22993
|
+
* Enables/disables tooltips for the polygons
|
|
22994
|
+
*/
|
|
22995
|
+
isPolygonTooltipsEnabled: {
|
|
22996
|
+
type: Boolean,
|
|
22997
|
+
default: !0
|
|
22998
|
+
},
|
|
22999
|
+
/**
|
|
23000
|
+
* Array of polygon brxm features.
|
|
23001
|
+
*/
|
|
23002
|
+
polygonData: {
|
|
23003
|
+
type: Array,
|
|
23004
|
+
default: () => []
|
|
23005
|
+
},
|
|
23006
|
+
/**
|
|
23007
|
+
* ISO 639 Language code for map language
|
|
23008
|
+
*/
|
|
23009
|
+
languageCode: {
|
|
23010
|
+
type: String,
|
|
23011
|
+
default: "en"
|
|
23012
|
+
},
|
|
23013
|
+
/**
|
|
23014
|
+
* Object containing labels of UI Elements
|
|
23015
|
+
*/
|
|
23016
|
+
uiLabels: {
|
|
23017
|
+
type: Object,
|
|
23018
|
+
required: !0
|
|
23019
|
+
}
|
|
23020
|
+
},
|
|
23021
|
+
setup(e) {
|
|
23022
|
+
const t = e, n = useGoogleBaseMapStore(), a = ref(null), o = shallowRef(), r = ref(!1), s = ref(t.center), i = ref(!1), l = {
|
|
23023
|
+
north: 60,
|
|
23024
|
+
south: 54.24,
|
|
23025
|
+
west: -7.65,
|
|
23026
|
+
east: -1.4
|
|
23027
|
+
};
|
|
23028
|
+
async function c() {
|
|
23029
|
+
await google.maps.importLibrary("maps"), await google.maps.importLibrary("marker"), !(r.value || !a.value) && (o.value = a.value.innerMap, o.value && (o.value.setOptions({
|
|
23030
|
+
center: s.value,
|
|
23031
|
+
zoom: t.zoom,
|
|
23032
|
+
mapId: t.mapId,
|
|
23033
|
+
clickableIcons: t.googleMapsOptions.clickableIcons,
|
|
23034
|
+
gestureHandling: t.googleMapsOptions.gestureHandling,
|
|
23035
|
+
isFractionalZoomEnabled: t.googleMapsOptions.isFractionalZoomEnabled,
|
|
23036
|
+
renderingType: t.googleMapsOptions.renderingTypeVector ? google.maps.RenderingType.VECTOR : google.maps.RenderingType.RASTER,
|
|
23037
|
+
restriction: {
|
|
23038
|
+
latLngBounds: t.mapBounds
|
|
23039
|
+
},
|
|
23040
|
+
disableDefaultUI: !0,
|
|
23041
|
+
keyboardShortcuts: !0
|
|
23042
|
+
}), t.initialViewIsScotland ? o.value.fitBounds(l) : !t.initialViewIsScotland && t.isViewToFitMarkers && n.markers.length > 0 && google.maps.event.addListenerOnce(o.value, "idle", () => {
|
|
23043
|
+
const p = new google.maps.LatLngBounds();
|
|
23044
|
+
n.markers.forEach((m) => {
|
|
23045
|
+
p.extend(new google.maps.LatLng(m.location[1], m.location[0]));
|
|
23046
|
+
}), s.value = p.getCenter(), o.value.fitBounds(p);
|
|
23047
|
+
}), t.polygonData && google.maps.event.addListenerOnce(o.value, "tilesloaded", () => {
|
|
23048
|
+
t.polygonData.forEach((p) => {
|
|
23049
|
+
addPolygon(
|
|
23050
|
+
o.value,
|
|
23051
|
+
p,
|
|
23052
|
+
t.isPolygonTooltipsEnabled
|
|
23053
|
+
);
|
|
23054
|
+
});
|
|
23055
|
+
})));
|
|
23056
|
+
}
|
|
23057
|
+
onMounted(async () => {
|
|
23058
|
+
setOptions({
|
|
23059
|
+
key: t.apiKey,
|
|
23060
|
+
v: "quarterly",
|
|
23061
|
+
libraries: ["maps", "marker"],
|
|
23062
|
+
region: "GB",
|
|
23063
|
+
language: t.languageCode
|
|
23064
|
+
}), await c();
|
|
23065
|
+
}), onBeforeUnmount(() => {
|
|
23066
|
+
r.value = !0, a.value.remove(), o.value && google.maps.event.clearInstanceListeners(o.value), a.value = null, o.value = null, n.markers = [];
|
|
23067
|
+
});
|
|
23068
|
+
function d() {
|
|
23069
|
+
o.value && o.value.setZoom((o.value.getZoom() || 0) + 1);
|
|
23070
|
+
}
|
|
23071
|
+
function u() {
|
|
23072
|
+
o.value && o.value.setZoom((o.value.getZoom() || 0) - 1);
|
|
23073
|
+
}
|
|
23074
|
+
function f() {
|
|
23075
|
+
isAppleIOS() || (!document.fullscreenElement && a.value ? (a.value.requestFullscreen(), i.value = !0) : (document.exitFullscreen(), i.value = !1));
|
|
23076
|
+
}
|
|
23077
|
+
return (p, m) => (openBlock(), createElementBlock("div", _hoisted_1$1b, [
|
|
23078
|
+
createElementVNode("gmp-map", {
|
|
23079
|
+
".center": s.value,
|
|
23080
|
+
"^zoom": t.zoom,
|
|
23081
|
+
mapId: t.mapId,
|
|
23082
|
+
class: "vs-google-map__map",
|
|
23083
|
+
id: "vs-google-map",
|
|
23084
|
+
ref_key: "mapRef",
|
|
23085
|
+
ref: a,
|
|
23086
|
+
"data-test": "vs-google-map"
|
|
23087
|
+
}, [
|
|
23088
|
+
renderSlot(p.$slots, "vs-google-map-marker"),
|
|
23089
|
+
createElementVNode("div", _hoisted_3$G, [
|
|
23090
|
+
createVNode(VsButton, {
|
|
23091
|
+
icon: "fa-regular fa-plus",
|
|
23092
|
+
variant: "secondary",
|
|
23093
|
+
"icon-only": "",
|
|
23094
|
+
size: "sm",
|
|
23095
|
+
onClick: d,
|
|
23096
|
+
"data-test": "vs-google-map__custom-control--zoom-in"
|
|
23097
|
+
}, {
|
|
23098
|
+
default: withCtx(() => [
|
|
23099
|
+
createTextVNode(toDisplayString(t.uiLabels?.zoomIn), 1)
|
|
23100
|
+
]),
|
|
23101
|
+
_: 1
|
|
23102
|
+
}),
|
|
23103
|
+
createVNode(VsButton, {
|
|
23104
|
+
icon: "fa-regular fa-minus",
|
|
23105
|
+
variant: "secondary",
|
|
23106
|
+
"icon-only": "",
|
|
23107
|
+
size: "sm",
|
|
23108
|
+
onClick: u,
|
|
23109
|
+
"data-test": "vs-google-map__custom-control--zoom-out"
|
|
23110
|
+
}, {
|
|
23111
|
+
default: withCtx(() => [
|
|
23112
|
+
createTextVNode(toDisplayString(t.uiLabels?.zoomOut), 1)
|
|
23113
|
+
]),
|
|
23114
|
+
_: 1
|
|
23115
|
+
}),
|
|
23116
|
+
unref(isAppleIOS) ? (openBlock(), createBlock(VsButton, {
|
|
23117
|
+
key: 0,
|
|
23118
|
+
icon: i.value ? "fa-regular fa-arrows-minimize" : "fa-regular fa-arrows-maximize",
|
|
23119
|
+
variant: "secondary",
|
|
23120
|
+
"icon-only": "",
|
|
23121
|
+
size: "sm",
|
|
23122
|
+
onClick: f,
|
|
23123
|
+
"data-test": "vs-google-map__custom-control--fullscreen"
|
|
23124
|
+
}, {
|
|
23125
|
+
default: withCtx(() => [
|
|
23126
|
+
createTextVNode(toDisplayString(t.uiLabels?.fullScreen), 1)
|
|
23127
|
+
]),
|
|
23128
|
+
_: 1
|
|
23129
|
+
}, 8, ["icon"])) : createCommentVNode("", !0)
|
|
23130
|
+
])
|
|
23131
|
+
], 40, _hoisted_2$S),
|
|
23132
|
+
createVNode(VsWarning, { class: "vs-google-map__no-js" }, {
|
|
23133
|
+
default: withCtx(() => [
|
|
23134
|
+
renderSlot(p.$slots, "no-js")
|
|
23135
|
+
]),
|
|
23136
|
+
_: 3
|
|
23137
|
+
})
|
|
23138
|
+
]));
|
|
23139
|
+
}
|
|
23140
|
+
}, _hoisted_1$1a = ["^position", "aria-label", "zIndex"], _hoisted_2$R = {
|
|
23141
|
+
width: "36",
|
|
23142
|
+
height: "41",
|
|
23143
|
+
viewBox: "0 0 36 41",
|
|
23144
|
+
fill: "none",
|
|
23145
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
23146
|
+
"data-test": "vs-google-map-marker__pin-graphic"
|
|
23147
|
+
}, _hoisted_3$F = ["fill"], _hoisted_4$u = { class: "vs-google-map-marker__content" }, _hoisted_5$n = {
|
|
23148
|
+
width: "36",
|
|
23149
|
+
height: "41",
|
|
23150
|
+
viewBox: "0 0 36 41",
|
|
23151
|
+
fill: "none",
|
|
23152
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
23153
|
+
"data-test": "vs-google-map-marker__pin-graphic"
|
|
23154
|
+
}, _hoisted_6$h = ["fill"], _hoisted_7$g = {
|
|
23155
|
+
class: "vs-google-map-marker__content",
|
|
23156
|
+
"data-test": "vs-google-map-marker__content"
|
|
23157
|
+
}, _sfc_main$1x = {
|
|
23158
|
+
__name: "GoogleMapMarker",
|
|
23159
|
+
props: {
|
|
23160
|
+
/** Single object of BRXM Feature data */
|
|
23161
|
+
featureData: {
|
|
23162
|
+
type: Object,
|
|
23163
|
+
required: !0
|
|
23164
|
+
},
|
|
23165
|
+
/** SVG Compatible colour (Hex/String/RGB()),
|
|
23166
|
+
* Defaults to #33225D (vs-color-background-accent-heather-80 token) */
|
|
23167
|
+
pinColor: {
|
|
23168
|
+
type: String,
|
|
23169
|
+
default: designTokens["vs-color-background-accent-heather-80"]
|
|
23170
|
+
},
|
|
23171
|
+
/** Flag to turn on/off tooltips for the marker */
|
|
23172
|
+
markerTooltipsEnabled: {
|
|
23173
|
+
type: Boolean,
|
|
23174
|
+
default: !1
|
|
23175
|
+
},
|
|
23176
|
+
/** Flag to allow for more granular control of the marker tooltip/active state */
|
|
23177
|
+
handleMarkerBehaviourExternally: {
|
|
23178
|
+
type: Boolean,
|
|
23179
|
+
default: !1
|
|
23180
|
+
}
|
|
23181
|
+
},
|
|
23182
|
+
emits: ["markerClick"],
|
|
23183
|
+
setup(e, { expose: t }) {
|
|
23184
|
+
const n = useGoogleBaseMapStore(), a = ref(null), o = ref(null), r = e;
|
|
23185
|
+
onBeforeMount(() => {
|
|
23186
|
+
r.featureData.geometry.type === "Point" && n.markers.push({
|
|
23187
|
+
id: r.featureData.properties.id,
|
|
23188
|
+
location: r.featureData.geometry.coordinates
|
|
23189
|
+
});
|
|
23190
|
+
});
|
|
23191
|
+
const s = (v) => `${v[1]}, ${v[0]}`;
|
|
23192
|
+
function i(v) {
|
|
23193
|
+
n.setActiveMarker(v);
|
|
23194
|
+
}
|
|
23195
|
+
function l(v) {
|
|
23196
|
+
return n.activeMarkers.includes(v);
|
|
23197
|
+
}
|
|
23198
|
+
function c(v) {
|
|
23199
|
+
n.removeActiveMarker(v);
|
|
23200
|
+
}
|
|
23201
|
+
const d = () => {
|
|
23202
|
+
o.value = 9999, i(r.featureData.properties.id);
|
|
23203
|
+
}, u = () => {
|
|
23204
|
+
o.value = 299, c(r.featureData.properties.id);
|
|
23205
|
+
}, f = () => {
|
|
23206
|
+
a.value.show(), d();
|
|
23207
|
+
}, p = () => {
|
|
23208
|
+
a.value.hide(), u();
|
|
23209
|
+
}, m = () => {
|
|
23210
|
+
if (r.markerTooltipsEnabled && !r.handleMarkerBehaviourExternally)
|
|
23211
|
+
p();
|
|
23212
|
+
else if (!r.markerTooltipsEnabled && !r.handleMarkerBehaviourExternally)
|
|
23213
|
+
u();
|
|
23214
|
+
else if (r.markerTooltipsEnabled)
|
|
23215
|
+
return;
|
|
23216
|
+
}, g = () => l(r.featureData.properties.id) ? "is-active" : null, { markerHovered: b } = storeToRefs(useGoogleBaseMapStore);
|
|
23217
|
+
return t({
|
|
23218
|
+
showTooltip: f,
|
|
23219
|
+
hideTooltip: p,
|
|
23220
|
+
resetPin: u,
|
|
23221
|
+
handleSetMarkerActive: i,
|
|
23222
|
+
handleRemoveMarkerActive: c,
|
|
23223
|
+
markerHovered: b
|
|
23224
|
+
}), (v, _) => (openBlock(), createElementBlock("gmp-advanced-marker", {
|
|
23225
|
+
"^position": s(r.featureData.geometry.coordinates),
|
|
23226
|
+
class: "vs-google-map-marker__gmp-element",
|
|
23227
|
+
"data-test": "vs-google-map-marker",
|
|
23228
|
+
tabindex: "0",
|
|
23229
|
+
"aria-label": r.featureData.properties.title,
|
|
23230
|
+
role: "button",
|
|
23231
|
+
zIndex: o.value,
|
|
23232
|
+
onMouseover: _[3] || (_[3] = (C) => d()),
|
|
23233
|
+
onMouseout: _[4] || (_[4] = (C) => r.handleMarkerBehaviourExternally ? null : u()),
|
|
23234
|
+
onMouseleave: _[5] || (_[5] = withModifiers(() => {
|
|
23235
|
+
}, ["prevent"])),
|
|
23236
|
+
onFocus: _[6] || (_[6] = (C) => r.markerTooltipsEnabled ? f() : d()),
|
|
23237
|
+
onFocusout: m,
|
|
23238
|
+
onKeydown: _[7] || (_[7] = withKeys((C) => v.$emit("markerClick", r.featureData), ["enter"]))
|
|
23239
|
+
}, [
|
|
23240
|
+
r.markerTooltipsEnabled ? (openBlock(), createBlock(VsTooltip, {
|
|
23241
|
+
key: 0,
|
|
23242
|
+
class: normalizeClass(["vs-google-map-marker", g()]),
|
|
23243
|
+
position: "top",
|
|
23244
|
+
title: r.featureData.properties.title,
|
|
23245
|
+
subtle: "",
|
|
23246
|
+
"use-legacy": !1,
|
|
23247
|
+
ref_key: "tooltip",
|
|
23248
|
+
ref: a,
|
|
23249
|
+
onMouseleave: _[0] || (_[0] = withModifiers(() => {
|
|
23250
|
+
}, ["prevent"])),
|
|
23251
|
+
onClick: _[1] || (_[1] = (C) => v.$emit("markerClick", r.featureData))
|
|
23252
|
+
}, {
|
|
23253
|
+
default: withCtx(() => [
|
|
23254
|
+
(openBlock(), createElementBlock("svg", _hoisted_2$R, [
|
|
23255
|
+
createElementVNode("path", {
|
|
23256
|
+
d: `M18 1C27.3888 1 35 8.61116 35 18C35 21.2018 34.304 23.8695 32.7432 \r
|
|
23257
|
+
26.4014C31.2002 28.9041 28.844 31.2202 25.6221 33.7822L25.6025 33.7988L25.5811\r
|
|
23258
|
+
33.8135L18 39.2285L10.4189 33.8135L10.3975 33.7988L10.3779 33.7822C7.15645\r
|
|
23259
|
+
31.2202 4.79987 28.9041 3.25684 26.4014C1.69596 23.8696 1 21.2017\r
|
|
23260
|
+
1 18C1 8.61116 8.61116 1 18 1Z`,
|
|
23261
|
+
fill: r.pinColor,
|
|
23262
|
+
stroke: "white",
|
|
23263
|
+
"stroke-width": "2"
|
|
23264
|
+
}, null, 8, _hoisted_3$F)
|
|
23265
|
+
])),
|
|
23266
|
+
createElementVNode("span", _hoisted_4$u, [
|
|
23267
|
+
renderSlot(v.$slots, "vs-google-map-marker-content")
|
|
23268
|
+
])
|
|
23269
|
+
]),
|
|
23270
|
+
_: 3
|
|
23271
|
+
}, 8, ["class", "title"])) : (openBlock(), createElementBlock("div", {
|
|
23272
|
+
key: 1,
|
|
23273
|
+
class: normalizeClass([
|
|
23274
|
+
"vs-google-map-marker",
|
|
23275
|
+
unref(n).markerHovered === r.featureData.properties.id ? "is-active" : null
|
|
23276
|
+
]),
|
|
23277
|
+
onClick: _[2] || (_[2] = (C) => v.$emit("markerClick", r.featureData))
|
|
23278
|
+
}, [
|
|
23279
|
+
(openBlock(), createElementBlock("svg", _hoisted_5$n, [
|
|
23280
|
+
createElementVNode("path", {
|
|
23281
|
+
d: `M18 1C27.3888 1 35 8.61116 35 18C35 21.2018 34.304 23.8695 32.7432 \r
|
|
23282
|
+
26.4014C31.2002 28.9041 28.844 31.2202 25.6221 33.7822L25.6025 33.7988L25.5811\r
|
|
23283
|
+
33.8135L18 39.2285L10.4189 33.8135L10.3975 33.7988L10.3779 33.7822C7.15645\r
|
|
23284
|
+
31.2202 4.79987 28.9041 3.25684 26.4014C1.69596 23.8696 1 21.2017\r
|
|
23285
|
+
1 18C1 8.61116 8.61116 1 18 1Z`,
|
|
23286
|
+
fill: r.pinColor,
|
|
23287
|
+
stroke: "white",
|
|
23288
|
+
"stroke-width": "2"
|
|
23289
|
+
}, null, 8, _hoisted_6$h)
|
|
23290
|
+
])),
|
|
23291
|
+
createElementVNode("span", _hoisted_7$g, [
|
|
23292
|
+
renderSlot(v.$slots, "vs-google-map-marker-content")
|
|
23293
|
+
])
|
|
23294
|
+
], 2))
|
|
23295
|
+
], 40, _hoisted_1$1a));
|
|
23296
|
+
}
|
|
23297
|
+
}, _sfc_main$1w = {
|
|
22701
23298
|
name: "VsMediaCaption",
|
|
22702
23299
|
status: "prototype",
|
|
22703
23300
|
release: "0.0.1",
|
|
@@ -26463,9 +27060,7 @@ function _sfc_render$W(e, t, n, a, o, r) {
|
|
|
26463
27060
|
})
|
|
26464
27061
|
]);
|
|
26465
27062
|
}
|
|
26466
|
-
const ListicleItem = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["render", _sfc_render$W]]),
|
|
26467
|
-
var define_process_env_default$2 = { RECAPTCHA_TOKEN: "6LfqqfcZAAAAACbkbPaHRZTIFpKZGAPZBDkwBKhe", EVENTS_API_URL: "https://api.visitscotland.com/dev/data/products/events/search", CLUDO_API_KEY: "abba43e006424824befb855918e2b9db", CLUDO_CUSTOMER_ID: "623", CLUDO_ENGINE_ID: "14069", GOOGLE_MAPS_API_KEY: "AIzaSyBnhhAKOJ-DR5BulJb_YUrgxKPOz1BUIYw" };
|
|
26468
|
-
const getEnvValue = (e) => define_process_env_default$2 ? define_process_env_default$2[e] : __vite_import_meta_env__[e], _sfc_main$18 = {
|
|
27063
|
+
const ListicleItem = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["render", _sfc_render$W]]), _sfc_main$18 = {
|
|
26469
27064
|
name: "VsSelect",
|
|
26470
27065
|
status: "prototype",
|
|
26471
27066
|
release: "0.0.1",
|
|
@@ -31086,7 +31681,7 @@ async function getData(e) {
|
|
|
31086
31681
|
console.error(`Axios error: ${t}`);
|
|
31087
31682
|
}
|
|
31088
31683
|
}
|
|
31089
|
-
var define_process_env_default
|
|
31684
|
+
var define_process_env_default = {}, controls = {
|
|
31090
31685
|
arrowUpKey: 38,
|
|
31091
31686
|
arrowDownKey: 40,
|
|
31092
31687
|
escKey: 27,
|
|
@@ -31314,7 +31909,7 @@ var computed = {
|
|
|
31314
31909
|
var n = this;
|
|
31315
31910
|
t === void 0 && (t = {});
|
|
31316
31911
|
var a = t.index, o = t.disabled, r = t.item;
|
|
31317
|
-
r === void 0 && (r = define_process_env_default
|
|
31912
|
+
r === void 0 && (r = define_process_env_default.NODE_ENV === "production" ? void 0 : requiredProp("getItemEventListeners", "item"));
|
|
31318
31913
|
var s = t.mousemove, i = t.mousedown, l = t.click;
|
|
31319
31914
|
return o ? {} : {
|
|
31320
31915
|
mousemove: isFn(s) ? s : function() {
|
|
@@ -31348,7 +31943,7 @@ var computed = {
|
|
|
31348
31943
|
getItemProps: function e(t) {
|
|
31349
31944
|
t === void 0 && (t = {});
|
|
31350
31945
|
var n = t.index, a = t.disabled, o = t.item;
|
|
31351
|
-
o === void 0 && (o = define_process_env_default
|
|
31946
|
+
o === void 0 && (o = define_process_env_default.NODE_ENV === "production" ? void 0 : requiredProp("getItemProps", "item"));
|
|
31352
31947
|
var r = getItemIndex(n, o, this.items), s = this.getItemId(r);
|
|
31353
31948
|
return {
|
|
31354
31949
|
id: s,
|
|
@@ -31504,7 +32099,7 @@ function beforeCreate() {
|
|
|
31504
32099
|
this.idCounter = idCounter.toString(), idCounter += 1;
|
|
31505
32100
|
}
|
|
31506
32101
|
var isVue3 = !!defineComponent;
|
|
31507
|
-
!isVue3 && define_process_env_default
|
|
32102
|
+
!isVue3 && define_process_env_default.NODE_ENV !== "production" && console.error(`Looks like your Vue version is 2.x, but you are using VueComboBlocks for Vue 3.
|
|
31508
32103
|
Install the correct version for Vue 2.x: "npm i vue-combo-blocks@vue2"`);
|
|
31509
32104
|
var VueComboBlocks = defineComponent({
|
|
31510
32105
|
name: "vue-combo-blocks",
|
|
@@ -31898,8 +32493,8 @@ const _hoisted_1$t = {
|
|
|
31898
32493
|
return "https://www.visitscotland.com";
|
|
31899
32494
|
}), p = computed$1(() => `${f.value}${u.value ? "/" + u.value : ""}${l.value}/search-results`), g = "https://www.visitscotland.com/data/locations" + `?locale=${u.value}`, b = ref([]), v = "https://www.visitscotland.com/tms-api/v1/attractions", _ = ref([]), C = "https://www.visitscotland.com/tms-api/v1/origins?active=1", k = ref([]), E = ref([]), D = () => {
|
|
31900
32495
|
const w = getProductTypes(), L = [];
|
|
31901
|
-
w.forEach((
|
|
31902
|
-
L.push(
|
|
32496
|
+
w.forEach((O) => {
|
|
32497
|
+
L.push(O);
|
|
31903
32498
|
}), E.value = L;
|
|
31904
32499
|
}, I = computed$1(() => n.value ? [] : E.value.map((L) => ({
|
|
31905
32500
|
...L,
|
|
@@ -31914,7 +32509,7 @@ const _hoisted_1$t = {
|
|
|
31914
32509
|
const w = await getData(v);
|
|
31915
32510
|
w && (_.value = w.data);
|
|
31916
32511
|
}, T = (w, L) => {
|
|
31917
|
-
L === "key" ? r.value = b.value.find((
|
|
32512
|
+
L === "key" ? r.value = b.value.find((O) => O.key === w) : L === "id" ? r.value = b.value.find((O) => O.id === w) : r.value = b.value.find((O) => O.name === w.trim());
|
|
31918
32513
|
}, M = (w) => {
|
|
31919
32514
|
const L = w.value;
|
|
31920
32515
|
a.value = L, L === "tour" && (P(), R());
|
|
@@ -31922,7 +32517,7 @@ const _hoisted_1$t = {
|
|
|
31922
32517
|
n.value = !0, nextTick$1(() => {
|
|
31923
32518
|
n.value = !1, t.defaultLocation !== "" && c && T(t.defaultLocation, "id");
|
|
31924
32519
|
});
|
|
31925
|
-
},
|
|
32520
|
+
}, A = computed$1(() => a.value !== "cate" && a.value !== "acti,attr,reta" ? "d-lg-flex" : "");
|
|
31926
32521
|
onBeforeMount(async () => {
|
|
31927
32522
|
window.VS = {};
|
|
31928
32523
|
const w = document.createElement("script");
|
|
@@ -31953,12 +32548,12 @@ const _hoisted_1$t = {
|
|
|
31953
32548
|
createElementVNode("div", _hoisted_6$9, [
|
|
31954
32549
|
createElementVNode("label", _hoisted_7$8, toDisplayString(unref(getLabelText)("search_for", "I'm looking for")), 1),
|
|
31955
32550
|
createElementVNode("div", {
|
|
31956
|
-
class: normalizeClass(
|
|
32551
|
+
class: normalizeClass(A.value)
|
|
31957
32552
|
}, [
|
|
31958
32553
|
createVNode(VsSelect, {
|
|
31959
32554
|
options: I.value,
|
|
31960
32555
|
value: e.defaultProd,
|
|
31961
|
-
onUpdated: L[0] || (L[0] = (
|
|
32556
|
+
onUpdated: L[0] || (L[0] = (O) => M(O)),
|
|
31962
32557
|
"field-name": "prodtypes"
|
|
31963
32558
|
}, null, 8, ["options", "value"]),
|
|
31964
32559
|
createElementVNode("div", _hoisted_8$6, toDisplayString(unref(getLabelText)("in", "in")), 1)
|
|
@@ -31974,7 +32569,7 @@ const _hoisted_1$t = {
|
|
|
31974
32569
|
options: b.value,
|
|
31975
32570
|
placeholder: unref(getLabelText)("location_placeholder", "Enter a location"),
|
|
31976
32571
|
"track-by": "name",
|
|
31977
|
-
onChangeValue: L[1] || (L[1] = (
|
|
32572
|
+
onChangeValue: L[1] || (L[1] = (O) => T(O)),
|
|
31978
32573
|
"default-val": unref(r),
|
|
31979
32574
|
"data-chromatic": "ignore"
|
|
31980
32575
|
}, null, 8, ["label", "options", "placeholder", "default-val"])) : createCommentVNode("", !0),
|
|
@@ -32003,7 +32598,7 @@ const _hoisted_1$t = {
|
|
|
32003
32598
|
createVNode(_sfc_main$B, {
|
|
32004
32599
|
"start-label": unref(getLabelText)("startdate", "Start Date", "dates"),
|
|
32005
32600
|
"end-label": unref(getLabelText)("enddate", "End Date", "dates"),
|
|
32006
|
-
onDateUpdated: L[2] || (L[2] = (
|
|
32601
|
+
onDateUpdated: L[2] || (L[2] = (O) => $(O)),
|
|
32007
32602
|
"default-dates": i.value,
|
|
32008
32603
|
"selected-prod": a.value
|
|
32009
32604
|
}, null, 8, ["start-label", "end-label", "default-dates", "selected-prod"]),
|
|
@@ -32035,10 +32630,10 @@ const _hoisted_1$t = {
|
|
|
32035
32630
|
"track-by": "name",
|
|
32036
32631
|
"is-tour-location": !0
|
|
32037
32632
|
}, null, 8, ["label", "options", "placeholder"]),
|
|
32038
|
-
(openBlock(!0), createElementBlock(Fragment, null, renderList(o.value, (
|
|
32633
|
+
(openBlock(!0), createElementBlock(Fragment, null, renderList(o.value, (O) => (openBlock(), createElementBlock("input", {
|
|
32039
32634
|
type: "hidden",
|
|
32040
32635
|
name: "attractions[]",
|
|
32041
|
-
value:
|
|
32636
|
+
value: O
|
|
32042
32637
|
}, null, 8, _hoisted_19))), 256)),
|
|
32043
32638
|
createVNode(_sfc_main$D, {
|
|
32044
32639
|
id: "tour-month",
|
|
@@ -32054,7 +32649,7 @@ const _hoisted_1$t = {
|
|
|
32054
32649
|
class: "mt-150",
|
|
32055
32650
|
"data-test": "psw-submit",
|
|
32056
32651
|
type: "submit",
|
|
32057
|
-
onClick: L[3] || (L[3] = (
|
|
32652
|
+
onClick: L[3] || (L[3] = (O) => w.trackSubmit(a.value, typeof unref(r) > "u" ? "" : unref(r)))
|
|
32058
32653
|
}, {
|
|
32059
32654
|
default: withCtx(() => [
|
|
32060
32655
|
createTextVNode(toDisplayString(unref(getLabelText)("search", "Search")), 1)
|
|
@@ -35425,6 +36020,7 @@ const SummaryBoxDistanceListItem = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["r
|
|
|
35425
36020
|
"../assets/svg/icons/docs/ready.svg": () => import("./ready-CWPx4e9A.mjs").then((e) => e.default),
|
|
35426
36021
|
"../assets/svg/icons/docs/review.svg": () => import("./review-CknihZl_.mjs").then((e) => e.default),
|
|
35427
36022
|
"../assets/svg/icons/instagram-filled.svg": () => import("./instagram-filled-CGGEG-Rb.mjs").then((e) => e.default),
|
|
36023
|
+
"../assets/svg/map-pin.svg": () => import("./map-pin-fZzoZBi5.mjs").then((e) => e.default),
|
|
35428
36024
|
"../assets/svg/no-js-coo.svg": () => import("./no-js-coo-BgxQI1Or.mjs").then((e) => e.default),
|
|
35429
36025
|
"../assets/svg/os-logo-maps-white.svg": () => import("./os-logo-maps-white-SKYtuD6d.mjs").then((e) => e.default),
|
|
35430
36026
|
"../assets/svg/os-logo-maps.svg": () => import("./os-logo-maps-DUN8X-lQ.mjs").then((e) => e.default),
|
|
@@ -35945,7 +36541,7 @@ const useFederatedSearchStore = defineStore("federatedSearch", () => {
|
|
|
35945
36541
|
async function B() {
|
|
35946
36542
|
return cludoAutocomplete(l.value, t.value);
|
|
35947
36543
|
}
|
|
35948
|
-
async function
|
|
36544
|
+
async function A($, V) {
|
|
35949
36545
|
const w = new URL(window.location.href);
|
|
35950
36546
|
if (V ? I.value = "Autosuggestion" : I.value = "User input", l.value ? w.searchParams.set("search-term", l.value) : w.searchParams.delete("search-term"), d.value ? w.searchParams.set("category", encodeURIComponent(d.value)) : w.searchParams.delete("category"), f.value.length > 0 ? w.searchParams.set("sub-category", encodeURIComponent(f.value.join(","))) : w.searchParams.delete("sub-category"), $ ? (a.value = 1, w.searchParams.set("page", a.value.toString())) : a.value && a.value > 1 ? w.searchParams.set("page", a.value.toString()) : w.searchParams.delete("page"), v.value ? w.searchParams.set("start-date", v.value) : w.searchParams.delete("start-date"), _.value ? w.searchParams.set("end-date", _.value) : w.searchParams.delete("end-date"), C.value ? w.searchParams.set("sort-by", C.value) : w.searchParams.delete("sort-by"), !b.value)
|
|
35951
36547
|
window.history.pushState({}, "", w), await S();
|
|
@@ -35974,7 +36570,7 @@ const useFederatedSearchStore = defineStore("federatedSearch", () => {
|
|
|
35974
36570
|
totalResults: p,
|
|
35975
36571
|
totalResultsCludo: m,
|
|
35976
36572
|
totalResultsEvents: g,
|
|
35977
|
-
navigateToResultsPage:
|
|
36573
|
+
navigateToResultsPage: A,
|
|
35978
36574
|
isHomePage: b,
|
|
35979
36575
|
startDate: v,
|
|
35980
36576
|
endDate: _,
|
|
@@ -36855,7 +37451,7 @@ const _hoisted_1$6 = { class: "vs-fed-search-input" }, _hoisted_2$5 = { class: "
|
|
|
36855
37451
|
"sub-filters": o.subFilters,
|
|
36856
37452
|
labels: o.searchLabels
|
|
36857
37453
|
}, null, 8, ["cludo-api-key", "cludo-customer-id", "cludo-engine-id", "filters", "sub-filters", "labels"]),
|
|
36858
|
-
createVNode(_sfc_main$
|
|
37454
|
+
createVNode(_sfc_main$2E, { class: "my-200" }),
|
|
36859
37455
|
(openBlock(!0), createElementBlock(Fragment, null, renderList(unref(n).filters, (k, E) => withDirectives((openBlock(), createElementBlock("div", {
|
|
36860
37456
|
key: E,
|
|
36861
37457
|
class: "mb-200"
|
|
@@ -37041,63 +37637,7 @@ const _hoisted_1$6 = { class: "vs-fed-search-input" }, _hoisted_2$5 = { class: "
|
|
|
37041
37637
|
})
|
|
37042
37638
|
]));
|
|
37043
37639
|
}
|
|
37044
|
-
})
|
|
37045
|
-
var define_process_env_default = {};
|
|
37046
|
-
const MSG_REPEATED_SET_OPTIONS = (e) => `The setOptions() function should only be called once. The options passed to the additional call (${JSON.stringify(e)}) will be ignored.`, MSG_IMPORT_LIBRARY_EXISTS = (e) => `The google.maps.importLibrary() function is already defined, and @googlemaps/js-api-loader will use the existing function instead of overwriting it. The options passed to setOptions (${JSON.stringify(e)}) will be ignored.`, MSG_SET_OPTIONS_NOT_CALLED = "No options were set before calling importLibrary. Make sure to configure the loader using setOptions().", MSG_SCRIPT_ELEMENT_EXISTS = "There already is a script loading the Google Maps JavaScript API, and no google.maps.importLibrary function is defined. @googlemaps/js-api-loader will proceed to bootstrap the API with the specified options, but the existing script might cause problems using the API. Make sure to remove the script loading the API.", MSG_API_KEY_USED = "The 'apiKey' parameter was used in setOptions(), but 'key' is the correct parameter name. Please update your configuration.", MSG_TRUSTED_TYPES_POLICY_FAILED = (e, t) => `Failed to create Trusted Types policy "${e}": ${t instanceof Error ? t.message : String(t)}.
|
|
37047
|
-
|
|
37048
|
-
If your Content Security Policy uses "require-trusted-types-for 'script'", allow this policy with "trusted-types ${e} google-maps-api-loader google-maps-api#html lit-html". The "google-maps-api-loader", "lit-html", and "google-maps-api#html" policies are required for full Maps JavaScript API execution. Falling back to a string script URL.`, __DEV__$1 = define_process_env_default.NODE_ENV !== "production", logDevWarning = __DEV__$1 ? (e) => {
|
|
37049
|
-
console.warn(`[@googlemaps/js-api-loader] ${e}`);
|
|
37050
|
-
} : () => {
|
|
37051
|
-
}, logDevNotice = __DEV__$1 ? (e) => {
|
|
37052
|
-
console.info(`[@googlemaps/js-api-loader] ${e}`);
|
|
37053
|
-
} : () => {
|
|
37054
|
-
}, TRUSTED_TYPES_POLICY_NAME = "@googlemaps/js-api-loader", fallbackPolicy = { createScriptURL: (e) => e };
|
|
37055
|
-
let policy;
|
|
37056
|
-
function getPolicy() {
|
|
37057
|
-
if (policy)
|
|
37058
|
-
return policy;
|
|
37059
|
-
const e = globalThis.trustedTypes;
|
|
37060
|
-
if (!e)
|
|
37061
|
-
return policy = fallbackPolicy, policy;
|
|
37062
|
-
try {
|
|
37063
|
-
policy = e.createPolicy(TRUSTED_TYPES_POLICY_NAME, {
|
|
37064
|
-
createScriptURL: (t) => t
|
|
37065
|
-
});
|
|
37066
|
-
} catch (t) {
|
|
37067
|
-
logDevWarning(MSG_TRUSTED_TYPES_POLICY_FAILED(TRUSTED_TYPES_POLICY_NAME, t)), policy = fallbackPolicy;
|
|
37068
|
-
}
|
|
37069
|
-
return policy;
|
|
37070
|
-
}
|
|
37071
|
-
function setScriptSrc(e, t) {
|
|
37072
|
-
e.src = getPolicy().createScriptURL(t);
|
|
37073
|
-
}
|
|
37074
|
-
const bootstrap = (e) => {
|
|
37075
|
-
var t, n, a, o = "The Google Maps JavaScript API", r = "google", s = "importLibrary", i = "__ib__", l = document, c = window, d = c[r] || (c[r] = {}), u = d.maps || (d.maps = {}), f = /* @__PURE__ */ new Set(), p = new URLSearchParams(), m = () => t || (t = new Promise(async (g, b) => {
|
|
37076
|
-
await (n = l.createElement("script")), p.set("libraries", [...f] + "");
|
|
37077
|
-
for (a in e)
|
|
37078
|
-
p.set(a.replace(/[A-Z]/g, (v) => "_" + v[0].toLowerCase()), e[a]);
|
|
37079
|
-
p.set("callback", r + ".maps." + i), setScriptSrc(n, "https://maps.googleapis.com/maps/api/js?" + p), u[i] = g, n.onerror = () => t = b(Error(o + " could not load.")), n.nonce = l.querySelector("script[nonce]")?.nonce || "", l.head.append(n);
|
|
37080
|
-
}));
|
|
37081
|
-
u[s] ? console.warn(o + " only loads once. Ignoring:", e) : u[s] = (g, ...b) => f.add(g) && m().then(() => u[s](g, ...b));
|
|
37082
|
-
}, __DEV__ = define_process_env_default.NODE_ENV !== "production";
|
|
37083
|
-
let setOptionsWasCalled_ = !1;
|
|
37084
|
-
function setOptions(e) {
|
|
37085
|
-
if (setOptionsWasCalled_) {
|
|
37086
|
-
logDevWarning(MSG_REPEATED_SET_OPTIONS(e));
|
|
37087
|
-
return;
|
|
37088
|
-
}
|
|
37089
|
-
e.apiKey && (logDevWarning(MSG_API_KEY_USED), e.key || (e.key = e.apiKey)), installImportLibrary_(e), setOptionsWasCalled_ = !0;
|
|
37090
|
-
}
|
|
37091
|
-
async function importLibrary(e) {
|
|
37092
|
-
if (setOptionsWasCalled_ || logDevWarning(MSG_SET_OPTIONS_NOT_CALLED), !window?.google?.maps?.importLibrary)
|
|
37093
|
-
throw new Error("google.maps.importLibrary is not installed.");
|
|
37094
|
-
return await google.maps.importLibrary(e);
|
|
37095
|
-
}
|
|
37096
|
-
function installImportLibrary_(e) {
|
|
37097
|
-
const t = !!window.google?.maps?.importLibrary;
|
|
37098
|
-
t ? logDevNotice(MSG_IMPORT_LIBRARY_EXISTS(e)) : __DEV__ && document.querySelector('script[src*="maps.googleapis.com/maps/api/js"]') && logDevWarning(MSG_SCRIPT_ELEMENT_EXISTS), t || bootstrap(e);
|
|
37099
|
-
}
|
|
37100
|
-
const useGoogleMapStore = defineStore("googleMap", () => {
|
|
37640
|
+
}), useGoogleMapStore = defineStore("googleMap", () => {
|
|
37101
37641
|
const e = ref(!0), t = ref(Date.now()), n = ref(!1), a = ref(0), o = ref(0), r = ref(!0), s = ref(!1), i = ref(void 0), l = ref(void 0), c = ref([]), d = ref({});
|
|
37102
37642
|
return {
|
|
37103
37643
|
sidebarOpen: e,
|
|
@@ -37928,7 +38468,7 @@ const _hoisted_1 = { class: "vs-map" }, _hoisted_2 = {
|
|
|
37928
38468
|
east: 2
|
|
37929
38469
|
};
|
|
37930
38470
|
P.categoryLabelData = n.categoryLabels;
|
|
37931
|
-
let
|
|
38471
|
+
let A = 0;
|
|
37932
38472
|
const $ = {
|
|
37933
38473
|
headerLabel: n.labels.heading,
|
|
37934
38474
|
closeSidebarButtonLabel: n.labels.closeSidebarBtn,
|
|
@@ -37945,7 +38485,7 @@ const _hoisted_1 = { class: "vs-map" }, _hoisted_2 = {
|
|
|
37945
38485
|
getViewport: V,
|
|
37946
38486
|
hasViewportChanged: w,
|
|
37947
38487
|
isProgrammaticMove: L,
|
|
37948
|
-
isUserMove:
|
|
38488
|
+
isUserMove: O,
|
|
37949
38489
|
lastSearchViewport: z,
|
|
37950
38490
|
runProgrammaticMove: F,
|
|
37951
38491
|
showSearchAreaButton: q
|
|
@@ -38009,7 +38549,7 @@ const _hoisted_1 = { class: "vs-map" }, _hoisted_2 = {
|
|
|
38009
38549
|
console.error("Maps init error", H.message);
|
|
38010
38550
|
}
|
|
38011
38551
|
X(), l.addListener("zoom_changed", () => {
|
|
38012
|
-
N.value && (C.value = l.getZoom(), C.value < CATEGORY_VISIBLE_ZOOM ? X() : X(!0),
|
|
38552
|
+
N.value && (C.value = l.getZoom(), C.value < CATEGORY_VISIBLE_ZOOM ? X() : X(!0), O.value = !L.value, C.value > 7 && !L.value && O.value && (q.value = !0), O.value && Q(
|
|
38013
38553
|
{
|
|
38014
38554
|
category: R.selectedCategory ?? null,
|
|
38015
38555
|
subcategories: R.selectedSubcategories.join(",") ?? null,
|
|
@@ -38020,7 +38560,7 @@ const _hoisted_1 = { class: "vs-map" }, _hoisted_2 = {
|
|
|
38020
38560
|
!0
|
|
38021
38561
|
));
|
|
38022
38562
|
}), l.addListener("dragstart", () => {
|
|
38023
|
-
|
|
38563
|
+
O.value = !0;
|
|
38024
38564
|
}), l.addListener("tilesloaded", () => {
|
|
38025
38565
|
if (N.value) return;
|
|
38026
38566
|
N.value = !0;
|
|
@@ -38073,7 +38613,7 @@ const _hoisted_1 = { class: "vs-map" }, _hoisted_2 = {
|
|
|
38073
38613
|
!1
|
|
38074
38614
|
);
|
|
38075
38615
|
}), l.addListener("idle", () => {
|
|
38076
|
-
_ = Z(), !L.value && N.value &&
|
|
38616
|
+
_ = Z(), !L.value && N.value && O.value && w(V(l)) && (q.value = !0, P.selectedDestinationType = s[0].id, G.value = "", O.value = !1, Q(
|
|
38077
38617
|
{
|
|
38078
38618
|
"search-term": null,
|
|
38079
38619
|
location: null,
|
|
@@ -38172,8 +38712,8 @@ const _hoisted_1 = { class: "vs-map" }, _hoisted_2 = {
|
|
|
38172
38712
|
}
|
|
38173
38713
|
async function ne() {
|
|
38174
38714
|
const Y = R.selectedSubcategories.length > 0 ? R.selectedSubcategoryTypes : R.selectedCategoryTypes, H = R.selectedSubcategories.length > 0 ? R.selectedSubcategoryLabels : R.selectedCategoryLabel;
|
|
38175
|
-
de(), R.selfCateringClicked || fe(), E.value = `${H} ${G.value}` ?? "", E.value = E.value.trim(), b.value = E.value, P.showCategories = !0, a.value = !0,
|
|
38176
|
-
const J =
|
|
38715
|
+
de(), R.selfCateringClicked || fe(), E.value = `${H} ${G.value}` ?? "", E.value = E.value.trim(), b.value = E.value, P.showCategories = !0, a.value = !0, A += 1;
|
|
38716
|
+
const J = A;
|
|
38177
38717
|
P.filterUsesCount += 1, D.value = "nearby";
|
|
38178
38718
|
const ee = l.getBounds(), oe = ee.getNorthEast(), ae = ee.getSouthWest(), le = google.maps.geometry.spherical.computeDistanceBetween(oe, ae);
|
|
38179
38719
|
let ge = 25e3;
|
|
@@ -38183,7 +38723,7 @@ const _hoisted_1 = { class: "vs-map" }, _hoisted_2 = {
|
|
|
38183
38723
|
center: l.getCenter(),
|
|
38184
38724
|
radius: me
|
|
38185
38725
|
}, d.style.display = "block", d.addEventListener("gmp-load", () => {
|
|
38186
|
-
if (J !==
|
|
38726
|
+
if (J !== A) return;
|
|
38187
38727
|
ie(J);
|
|
38188
38728
|
let ke = "main", Se = R.selectedCategory;
|
|
38189
38729
|
R.selectedSubcategories.length > 0 && (ke = "sub", Se = [...R.selectedSubcategories].join(", ")), t.createDataLayerObject("googleMapFilterEvent", {
|
|
@@ -38210,8 +38750,8 @@ const _hoisted_1 = { class: "vs-map" }, _hoisted_2 = {
|
|
|
38210
38750
|
);
|
|
38211
38751
|
}
|
|
38212
38752
|
async function ce(Y = !1) {
|
|
38213
|
-
de(), R.selfCateringClicked || he(), G.value = "", a.value = !0,
|
|
38214
|
-
const H =
|
|
38753
|
+
de(), R.selfCateringClicked || he(), G.value = "", a.value = !0, A += 1;
|
|
38754
|
+
const H = A;
|
|
38215
38755
|
if (P.searchesCount += 1, D.value = "text", E.value = b.value.trim(), !E.value) return;
|
|
38216
38756
|
R.selfCateringClicked || Y ? (f.locationBias = null, f.locationRestriction = l.getBounds()) : (f.locationRestriction = null, f.locationBias = l.getCenter()), f.includedType = I.value.some(
|
|
38217
38757
|
(ge) => E.value.toLowerCase().includes(ge)
|
|
@@ -38228,7 +38768,7 @@ const _hoisted_1 = { class: "vs-map" }, _hoisted_2 = {
|
|
|
38228
38768
|
},
|
|
38229
38769
|
!1
|
|
38230
38770
|
), u.addEventListener("gmp-load", () => {
|
|
38231
|
-
H ===
|
|
38771
|
+
H === A && (ie(H), R.selfCateringClicked = !1, t.createDataLayerObject("googleMapSearchEvent", {
|
|
38232
38772
|
search_query: E.value,
|
|
38233
38773
|
search_map_location: l.getCenter().toString(),
|
|
38234
38774
|
search_results_count: u.places.length,
|
|
@@ -38240,7 +38780,7 @@ const _hoisted_1 = { class: "vs-map" }, _hoisted_2 = {
|
|
|
38240
38780
|
}
|
|
38241
38781
|
async function ie(Y) {
|
|
38242
38782
|
const { AdvancedMarkerElement: H } = await importLibrary("marker"), { LatLngBounds: J } = await importLibrary("core");
|
|
38243
|
-
if (Y !==
|
|
38783
|
+
if (Y !== A) return;
|
|
38244
38784
|
const ee = ref();
|
|
38245
38785
|
D.value === "nearby" ? ee.value = d : D.value === "text" ? ee.value = u : console.error("Unrecognised Search type"), ee.value.places.length === 0 ? (T.value = !0, ee.value.style.display = "none") : (T.value = !1, ee.value.style.display = "block");
|
|
38246
38786
|
const oe = new J();
|
|
@@ -38553,14 +39093,14 @@ export {
|
|
|
38553
39093
|
ArticleDetails as VsArticleDetails,
|
|
38554
39094
|
ArticleSection as VsArticleSection,
|
|
38555
39095
|
ArticleSidebar as VsArticleSidebar,
|
|
38556
|
-
_sfc_main$
|
|
39096
|
+
_sfc_main$2x as VsBackToTop,
|
|
38557
39097
|
VsBadge,
|
|
38558
39098
|
Banner as VsBanner,
|
|
38559
39099
|
VsBody,
|
|
38560
39100
|
Breadcrumb as VsBreadcrumb,
|
|
38561
39101
|
BreadcrumbItem as VsBreadcrumbItem,
|
|
38562
39102
|
VsButton,
|
|
38563
|
-
|
|
39103
|
+
Ie as VsButtonToggleGroup,
|
|
38564
39104
|
CannedSearch as VsCannedSearch,
|
|
38565
39105
|
Caption as VsCaption,
|
|
38566
39106
|
CarbonCalculator as VsCarbonCalculator,
|
|
@@ -38582,8 +39122,8 @@ export {
|
|
|
38582
39122
|
EventCard as VsEventCard,
|
|
38583
39123
|
_sfc_main$4 as VsFederatedSearch,
|
|
38584
39124
|
_sfc_main$6 as VsFederatedSearchInput,
|
|
38585
|
-
_sfc_main$
|
|
38586
|
-
_sfc_main$
|
|
39125
|
+
_sfc_main$1M as VsFilter,
|
|
39126
|
+
_sfc_main$1L as VsFilterSection,
|
|
38587
39127
|
Footer as VsFooter,
|
|
38588
39128
|
FooterAccordionItem as VsFooterAccordionItem,
|
|
38589
39129
|
FooterCopyright as VsFooterCopyright,
|
|
@@ -38595,6 +39135,8 @@ export {
|
|
|
38595
39135
|
GlobalMenu as VsGlobalMenu,
|
|
38596
39136
|
GlobalMenuLanguage as VsGlobalMenuLanguage,
|
|
38597
39137
|
GlobalMenuLanguageItem as VsGlobalMenuLanguageItem,
|
|
39138
|
+
_sfc_main$1y as VsGoogleMap,
|
|
39139
|
+
_sfc_main$1x as VsGoogleMapMarker,
|
|
38598
39140
|
VsHeading,
|
|
38599
39141
|
HeroSection as VsHeroSection,
|
|
38600
39142
|
HtmlError as VsHtmlError,
|