{"version":3,"file":"destination-regions-DZ76bMSp.js","sources":["../../../scripts/entry-points/destination-regions.ts"],"sourcesContent":["import DestinationsPageComponent from \"components/pages/destinations-page.vue\";\r\nimport { cobrandLink } from \"virtuoso-shared-web-ui\";\r\nimport { createApp } from \"vue\";\r\nimport { mountApp } from \"vue-app\";\r\n\r\n\r\nif (window.VIRTUOSO.destinationKey) {\r\n    const app = createApp(DestinationsPageComponent,\r\n        {\r\n            destinationKey: window.VIRTUOSO.destinationKey,\r\n            useRegionComponent: true\r\n        });\r\n    // html div with containerId in razor page for Destination Page\r\n    mountApp(app, \"page-app\");\r\n} else {\r\n    console.error(\"Destination key not provided\");\r\n    location.href = cobrandLink(`/travel/destinations/`);\r\n}\r\n"],"names":["app","createApp","DestinationsPageComponent","mountApp","cobrandLink"],"mappings":"84CAMA,GAAI,OAAO,SAAS,eAAgB,CAChC,MAAMA,EAAMC,EAAUC,EAClB,CACI,eAAgB,OAAO,SAAS,eAChC,mBAAoB,EACxB,CAAA,EAEJC,EAASH,EAAK,UAAU,CAC5B,MACI,QAAQ,MAAM,8BAA8B,EACnC,SAAA,KAAOI,EAAY,uBAAuB"}