{"version":3,"file":"TicketButton.RwxohUOd.mjs","names":[],"sources":["https:/framer.com/m/Button-tN3a.js@kK1gJHPFf6lYq76L28Pq","https:/framerusercontent.com/modules/I8a7vDla9169dFLnJMyc/U5qPUwlIKS1mwQhNPXV8/TicketButton.js"],"sourcesContent":["/*\n * Button\n *\n * Learn More: https://www.framer.com/asset-urls\n */\n\nexport * from \"https://framerusercontent.com/modules/9dAhN4uFYU56blihv2Wm/kK1gJHPFf6lYq76L28Pq/Zd8T43S8I.js\"\nexport { default } from \"https://framerusercontent.com/modules/9dAhN4uFYU56blihv2Wm/kK1gJHPFf6lYq76L28Pq/Zd8T43S8I.js\"\n","// Get Started: https://www.framer.com/developers\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useEffect}from\"react\";import Button from\"https://framer.com/m/Button-tN3a.js@kK1gJHPFf6lYq76L28Pq\";const live=true;/**\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */export default function TitoButton({text=\"Get Tickets\",backgroundColor,textColor,iconColor,variant=\"large\",subscribeLink}){if(live){useEffect(()=>{window.tito?.(\"button.mount\",{el:\"#tito-button\",event:\"swiftisland/2026\",buttonLabel:text,saveMetadataParameters:\"utm_*,source\"});});}let textSize=28;switch(variant){case\"small\":textSize=16;break;case\"medium\":textSize=24;break;case\"large\":default:textSize=28;break;}if(!live){text=\"Stay Informed\";}return /*#__PURE__*/_jsxs(\"div\",{class:\"buy-tickets\",style:{\"--background-color\":backgroundColor,\"--text-color\":textColor,currentColor:iconColor,\"--text-size\":`${textSize}px`},children:[/*#__PURE__*/_jsx(\"style\",{type:\"text/css\",children:css}),live?/*#__PURE__*/_jsx(\"button\",{id:\"tito-button\",children:text}):/*#__PURE__*/_jsx(Button,{title:text,link:subscribeLink,smoothScroll:true,color:textColor,fill:backgroundColor,variant:variant})]});}const css=`\n\n#tito-overlay {\n  position: relative;\n  z-index: 2000;\n}\n\n.buy-tickets svg {\n    vertical-align: middle\n}\n\n.buy-tickets {\n      width: 100%;\n      height: 100%;\n      #tito-button, button {\n        align-items: center;\n        gap: 12px;\n        padding: 16px 32px 16px 26px;\n        font-weight: 600;\n        font-size: var(--text-size, 28px);\n        border: none;\n        display: inline-flex;\n        font-family: \"Work Sans\", sans-serif;\n        letter-spacing: -0.04em;\n        line-height: 1.1em;\n        width: 100%;\n        height: 100%;\n        color: var(--text-color, #000000);\n        background-color: var(--background-color, #FFE44C);\n        border-radius: 100px;\n        text-align: center;\n        cursor: pointer;\n        transition-duration: 250ms;\n        transition-timing-function: ease-in-out;\n        text-decoration: none;\n      }\n      #tito-button:hover {\n        gap: 6px;\n        padding: 16px 35px 16px 29px;\n      }\n      #tito-button::before, button::before {\n        content: \"\";\n        width: 28px;\n        height: 28px;\n        background-color: currentColor;\n\n        mask: url(\"data:image/svg+xml;utf8,\\\n        <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'>\\\n        <path fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M13.75 6.75L19.25 12L13.75 17.25'/>\\\n        <path fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M19 12H4.75'/>\\\n        </svg>\") center / contain no-repeat;\n\n        -webkit-mask: same-as-above; /* Safari */\n        }\n    }\n`;addPropertyControls(TitoButton,{variant:{type:ControlType.Enum,options:[\"small\",\"medium\",\"large\"],optionTitles:[\"Small\",\"Medium\",\"Large\"],defaultValue:\"large\"},text:{type:ControlType.String,defaultValue:\"Get Tickets\"},backgroundColor:{type:ControlType.Color,defaultValue:\"#FFE44C\"},textColor:{type:ControlType.Color,defaultValue:\"#000000\"},iconColor:{type:ControlType.Color,defaultValue:\"#000000\"},subscribeLink:{type:ControlType.Link}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"TitoButton\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayo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