<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <meta name="csrf-token" content="zL5zAPQXMhfzhomp0MlOUWVRRQh3UnR7REBJ87xz" />
        <meta name="description" content="">

        <title></title>

        <link rel="shortcut icon" href="https://www.socilinks.com/" type="image/x-icon">
        <!-- Fonts -->
        <link href="https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700&family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,500&family=Inconsolata&family=Lato&family=Karla&family=Montserrat&display=swap" rel="stylesheet">
        <!-- Styles -->
        <style>
            /*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}a{background-color:transparent}[hidden]{display:none}html{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:1.5}*,:after,:before{box-sizing:border-box;border:0 solid #e2e8f0}a{color:inherit;text-decoration:inherit}svg,video{display:block;vertical-align:middle}video{max-width:100%;height:auto}.bg-white{--bg-opacity:1;background-color:#fff;background-color:rgba(255,255,255,var(--bg-opacity))}.bg-gray-100{--bg-opacity:1;background-color:#f7fafc;background-color:rgba(247,250,252,var(--bg-opacity))}.border-gray-200{--border-opacity:1;border-color:#edf2f7;border-color:rgba(237,242,247,var(--border-opacity))}.border-t{border-top-width:1px}.flex{display:flex}.grid{display:grid}.hidden{display:none}.items-center{align-items:center}.justify-center{justify-content:center}.font-semibold{font-weight:600}.h-5{height:1.25rem}.h-8{height:2rem}.h-16{height:4rem}.text-sm{font-size:.875rem}.text-lg{font-size:1.125rem}.leading-7{line-height:1.75rem}.mx-auto{margin-left:auto;margin-right:auto}.ml-1{margin-left:.25rem}.mt-2{margin-top:.5rem}.mr-2{margin-right:.5rem}.ml-2{margin-left:.5rem}.mt-4{margin-top:1rem}.ml-4{margin-left:1rem}.mt-8{margin-top:2rem}.ml-12{margin-left:3rem}.-mt-px{margin-top:-1px}.max-w-6xl{max-width:72rem}.min-h-screen{min-height:100vh}.overflow-hidden{overflow:hidden}.p-6{padding:1.5rem}.py-4{padding-top:1rem;padding-bottom:1rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.pt-8{padding-top:2rem}.fixed{position:fixed}.relative{position:relative}.top-0{top:0}.right-0{right:0}.shadow{box-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px 0 rgba(0,0,0,.06)}.text-center{text-align:center}.text-gray-200{--text-opacity:1;color:#edf2f7;color:rgba(237,242,247,var(--text-opacity))}.text-gray-300{--text-opacity:1;color:#e2e8f0;color:rgba(226,232,240,var(--text-opacity))}.text-gray-400{--text-opacity:1;color:#cbd5e0;color:rgba(203,213,224,var(--text-opacity))}.text-gray-500{--text-opacity:1;color:#a0aec0;color:rgba(160,174,192,var(--text-opacity))}.text-gray-600{--text-opacity:1;color:#718096;color:rgba(113,128,150,var(--text-opacity))}.text-gray-700{--text-opacity:1;color:#4a5568;color:rgba(74,85,104,var(--text-opacity))}.text-gray-900{--text-opacity:1;color:#1a202c;color:rgba(26,32,44,var(--text-opacity))}.underline{text-decoration:underline}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.w-5{width:1.25rem}.w-8{width:2rem}.w-auto{width:auto}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}@media (min-width:640px){.sm\:rounded-lg{border-radius:.5rem}.sm\:block{display:block}.sm\:items-center{align-items:center}.sm\:justify-start{justify-content:flex-start}.sm\:justify-between{justify-content:space-between}.sm\:h-20{height:5rem}.sm\:ml-0{margin-left:0}.sm\:px-6{padding-left:1.5rem;padding-right:1.5rem}.sm\:pt-0{padding-top:0}.sm\:text-left{text-align:left}.sm\:text-right{text-align:right}}@media (min-width:768px){.md\:border-t-0{border-top-width:0}.md\:border-l{border-left-width:1px}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (min-width:1024px){.lg\:px-8{padding-left:2rem;padding-right:2rem}}@media (prefers-color-scheme:dark){.dark\:bg-gray-800{--bg-opacity:1;background-color:#2d3748;background-color:rgba(45,55,72,var(--bg-opacity))}.dark\:bg-gray-900{--bg-opacity:1;background-color:#1a202c;background-color:rgba(26,32,44,var(--bg-opacity))}.dark\:border-gray-700{--border-opacity:1;border-color:#4a5568;border-color:rgba(74,85,104,var(--border-opacity))}.dark\:text-white{--text-opacity:1;color:#fff;color:rgba(255,255,255,var(--text-opacity))}.dark\:text-gray-400{--text-opacity:1;color:#cbd5e0;color:rgba(203,213,224,var(--text-opacity))}.dark\:text-gray-500{--tw-text-opacity:1;color:#6b7280;color:rgba(107,114,128,var(--tw-text-opacity))}}
        </style>
        <link rel="stylesheet" href="//use.fontawesome.com/releases/v5.0.7/css/all.css">
        <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.0/css/solid.min.css" integrity="sha512-uj2QCZdpo8PSbRGL/g5mXek6HM/APd7k/B5Hx/rkVFPNOxAQMXD+t+bG4Zv8OAdUpydZTU3UHmyjjiHv2Ww0PA==" crossorigin="anonymous" referrerpolicy="no-referrer" />
        <link rel="preload" as="style" href="https://www.socilinks.com/build/assets/index.9aed2a4a.css" /><link rel="stylesheet" href="https://www.socilinks.com/build/assets/index.9aed2a4a.css" />
        <script src="https://cdn.jsdelivr.net/gh/alpinejs/alpine@v2.x.x/dist/alpine.min.js" defer></script>
        <script src="https://unpkg.com/flowbite@1.5.5/dist/flowbite.js"></script>
        <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
        <script src="https://ooblec.co/wp-content/themes/divi-child/js/google-places.js"></script>
        <script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.0/js/solid.min.js" integrity="sha512-dcTe66qF6q/NW1X64tKXnDDcaVyRowrsVQ9wX6u7KSQpYuAl5COzdMIYDg+HqAXhPpIz1LO9ilUCL4qCbHN5Ng==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
        
        <!-- Facebook Pixel Code -->
                <!-- End Facebook Pixel Code -->

    </head>
    <body class="antialiased">
                                <div class="bg-white p-4 overflow-y-auto min-h-screen"
            style="background-image: linear-gradient(109.6deg, #0B01FE 11.2%, #01FED8 91.1%)">
            
<div class="mt-14">
    <!-- Top Logo -->
        <img id="top-logo" src="https://www.socilinks.com/biolink-uploads/1c7ae9b9db81a636b0b1e6479d9f8151.jpeg" class="w-32 h-32 mx-auto rounded-full">
        <!-- Title -->
        <h5 class="mb-0 text-4xl font-bold tracking-tight 
        text-gray-900 dark:text-white text-center mt-4"
        style="color: #ffffff; 'font-family': lato">
        Hi. I&#039;m Deanna Maio. 
    </h5>
        <!-- Description -->
        <div class="mt-4 text-center font-medium lg:mx-96"
    style="color: #ffffff; 'font-family': lato">
        <p><span style="color: #ffffff; --ql-color-attribute: #FFFFFF; font-family: tahoma, arial, helvetica, sans-serif; font-size: 14pt;" data-color="&quot;cmyk(0,0,0,0)&quot;" data-size="{&quot;value&quot;:9}">How Can I Help You?</span></p>
    </div>
        <!-- Video Display -->
        
    <!-- Section views -->
                    <!-- product/membership -->
                <!-- Donation -->
                <!-- Fan Request -->
                 <!-- Vimeo -->
                <!-- Youtube -->
                <!-- Spotify -->
                <!-- Soundcloud -->
                <!-- Twitch -->
                <!-- Clubhouse -->
                <!-- Text Block -->
                <!-- FB Group -->
                <!-- TikTok -->
                <!-- WhatsApp -->
                <!-- Calendly -->
                <!-- FAQ -->
                <!-- Link -->
                <div class="mt-6 mb-4 lg:mx-96 link-section" 
            data-schedule="no"
            data-schedule-start="2023-10-16 20:27:31"
            data-schedule-end="2023-10-16 20:27:31">
                        <div class="flex justify-center">
                <a href="http://thevividwoman.com"
                    target="_blank"
                    class="text-white bg-blue-700 hover:bg-blue-800 
                    focus:outline-none focus:ring-0 focus:ring-blue-300 
                    font-medium rounded-full text-md px-5 py-2.5 
                    text-center mr-2 mb-2 dark:bg-blue-600 w-full
                    dark:hover:bg-blue-700 dark:focus:ring-blue-800"
                    style="color: #000000; background-color: #FFFFFF">
                    <!-- fontawesome -->
                                        <i class=""></i>
                                        Build a Thriving Team
                </a>
            </div>
                    </div>
                <!-- HtmlJsBlock -->
                <!-- Google Reviews -->
                <!-- Lead Gen -->
                <!-- Mail Signup -->
                            <!-- product/membership -->
                <!-- Donation -->
                <!-- Fan Request -->
                 <!-- Vimeo -->
                <!-- Youtube -->
                <!-- Spotify -->
                <!-- Soundcloud -->
                <!-- Twitch -->
                <!-- Clubhouse -->
                <!-- Text Block -->
                <!-- FB Group -->
                <!-- TikTok -->
                <!-- WhatsApp -->
                <!-- Calendly -->
                <!-- FAQ -->
                <!-- Link -->
                <div class="mt-6 mb-4 lg:mx-96 link-section" 
            data-schedule="no"
            data-schedule-start="2023-10-16 20:26:51"
            data-schedule-end="2023-10-16 20:26:51">
                        <div class="flex justify-center">
                <a href="http://confidentvoicestudio.com"
                    target="_blank"
                    class="text-white bg-blue-700 hover:bg-blue-800 
                    focus:outline-none focus:ring-0 focus:ring-blue-300 
                    font-medium rounded-full text-md px-5 py-2.5 
                    text-center mr-2 mb-2 dark:bg-blue-600 w-full
                    dark:hover:bg-blue-700 dark:focus:ring-blue-800"
                    style="color: #000000; background-color: #FFFFFF">
                    <!-- fontawesome -->
                                        <i class=""></i>
                                        Learn to Sing &amp; Play with Confidence
                </a>
            </div>
                    </div>
                <!-- HtmlJsBlock -->
                <!-- Google Reviews -->
                <!-- Lead Gen -->
                <!-- Mail Signup -->
                            <!-- product/membership -->
                <!-- Donation -->
                <!-- Fan Request -->
                 <!-- Vimeo -->
                <!-- Youtube -->
                <!-- Spotify -->
                <!-- Soundcloud -->
                <!-- Twitch -->
                <!-- Clubhouse -->
                <!-- Text Block -->
                <!-- FB Group -->
                <!-- TikTok -->
                <!-- WhatsApp -->
                <!-- Calendly -->
                <!-- FAQ -->
                <!-- Link -->
                <div class="mt-6 mb-4 lg:mx-96 link-section" 
            data-schedule="no"
            data-schedule-start="2023-10-16 20:27:58"
            data-schedule-end="2023-10-16 20:27:58">
                        <div class="flex justify-center">
                <a href="http://deannamaiomusic.com/contact"
                    target="_blank"
                    class="text-white bg-blue-700 hover:bg-blue-800 
                    focus:outline-none focus:ring-0 focus:ring-blue-300 
                    font-medium rounded-full text-md px-5 py-2.5 
                    text-center mr-2 mb-2 dark:bg-blue-600 w-full
                    dark:hover:bg-blue-700 dark:focus:ring-blue-800"
                    style="color: #000000; background-color: #FFFFFF">
                    <!-- fontawesome -->
                                        <i class=""></i>
                                        Book Unforgettable Live Music
                </a>
            </div>
                    </div>
                <!-- HtmlJsBlock -->
                <!-- Google Reviews -->
                <!-- Lead Gen -->
                <!-- Mail Signup -->
                            <!-- product/membership -->
                <!-- Donation -->
                <!-- Fan Request -->
                 <!-- Vimeo -->
                <!-- Youtube -->
                <!-- Spotify -->
                <!-- Soundcloud -->
                <!-- Twitch -->
                <!-- Clubhouse -->
                <!-- Text Block -->
                <!-- FB Group -->
                <!-- TikTok -->
                <!-- WhatsApp -->
                <!-- Calendly -->
                <!-- FAQ -->
                <!-- Link -->
                <div class="mt-6 mb-4 lg:mx-96 link-section" 
            data-schedule="no"
            data-schedule-start="2025-01-30 18:41:42"
            data-schedule-end="2025-01-30 18:41:42">
                        <div class="flex justify-center">
                <a href="https://www.deannamaiomusic.com/performance-schedule/"
                    target="_blank"
                    class="text-white bg-blue-700 hover:bg-blue-800 
                    focus:outline-none focus:ring-0 focus:ring-blue-300 
                    font-medium rounded-full text-md px-5 py-2.5 
                    text-center mr-2 mb-2 dark:bg-blue-600 w-full
                    dark:hover:bg-blue-700 dark:focus:ring-blue-800"
                    style="color: #000000; background-color: #FFFFFF">
                    <!-- fontawesome -->
                                        <i class=""></i>
                                        View My Upcoming Performances
                </a>
            </div>
                    </div>
                <!-- HtmlJsBlock -->
                <!-- Google Reviews -->
                <!-- Lead Gen -->
                <!-- Mail Signup -->
                            <!-- product/membership -->
                <!-- Donation -->
                <!-- Fan Request -->
                 <!-- Vimeo -->
                <!-- Youtube -->
                <!-- Spotify -->
                <!-- Soundcloud -->
                <!-- Twitch -->
                <!-- Clubhouse -->
                <!-- Text Block -->
                <!-- FB Group -->
                <!-- TikTok -->
                <!-- WhatsApp -->
                <!-- Calendly -->
                <!-- FAQ -->
                <!-- Link -->
                <div class="mt-6 mb-4 lg:mx-96 link-section" 
            data-schedule="no"
            data-schedule-start="2025-01-30 18:43:11"
            data-schedule-end="2025-01-30 18:43:11">
                        <div class="flex justify-center">
                <a href="http://deanna.live/speaker-sheet"
                    target="_blank"
                    class="text-white bg-blue-700 hover:bg-blue-800 
                    focus:outline-none focus:ring-0 focus:ring-blue-300 
                    font-medium rounded-full text-md px-5 py-2.5 
                    text-center mr-2 mb-2 dark:bg-blue-600 w-full
                    dark:hover:bg-blue-700 dark:focus:ring-blue-800"
                    style="color: #000000; background-color: #FFFFFF">
                    <!-- fontawesome -->
                                        <i class=""></i>
                                        Hire Me for Speaking
                </a>
            </div>
                    </div>
                <!-- HtmlJsBlock -->
                <!-- Google Reviews -->
                <!-- Lead Gen -->
                <!-- Mail Signup -->
            
    <!-- Socials -->
    <div class="mt-6 mb-4 lg:mx-64">
    <div class="flex flex-wrap gap-8 justify-center px-12">
                <a href="mailto:deanna@deannamaio.com">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#ffffff" class="mt-0.5 w-8 h-8">
                <path d="M1.5 8.67v8.58a3 3 0 003 3h15a3 3 0 003-3V8.67l-8.928 5.493a3 3 0 01-3.144 0L1.5 8.67z" />
                <path d="M22.5 6.908V6.75a3 3 0 00-3-3h-15a3 3 0 00-3 3v.158l9.714 5.978a1.5 1.5 0 001.572 0L22.5 6.908z" />
            </svg>
        </a>
                        <a href="tel:239-474-0474">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#ffffff" class="mt-0.5 w-8 h-8">
                <path fill-rule="evenodd" d="M1.5 4.5a3 3 0 013-3h1.372c.86 0 1.61.586 1.819 1.42l1.105 4.423a1.875 1.875 0 01-.694 1.955l-1.293.97c-.135.101-.164.249-.126.352a11.285 11.285 0 006.697 6.697c.103.038.25.009.352-.126l.97-1.293a1.875 1.875 0 011.955-.694l4.423 1.105c.834.209 1.42.959 1.42 1.82V19.5a3 3 0 01-3 3h-2.25C8.552 22.5 1.5 15.448 1.5 6.75V4.5z" clip-rule="evenodd" />
            </svg>
        </a>
                                <a href="http://www.facebook.com/deannamaio" target="_blank">
            <svg role="img" viewBox="0 0 24 24" class="mt-0.5 w-8 h-8" 
                xmlns="http://www.w3.org/2000/svg" fill="#ffffff">
                <title>Facebook</title>
                <path d="M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z"/>
            </svg>
        </a>
                        <a href="https://m.me/deannamaio" target="_blank">
            <svg role="img" viewBox="0 0 24 24" class="mt-0.5 w-8 h-8" 
                xmlns="http://www.w3.org/2000/svg" fill="#ffffff">
                <title>Messenger</title>
                <path d="M.001 11.639C.001 4.949 5.241 0 12.001 0S24 4.95 24 11.639c0 6.689-5.24 11.638-12 11.638-1.21 0-2.38-.16-3.47-.46a.96.96 0 00-.64.05l-2.39 1.05a.96.96 0 01-1.35-.85l-.07-2.14a.97.97 0 00-.32-.68A11.39 11.389 0 01.002 11.64zm8.32-2.19l-3.52 5.6c-.35.53.32 1.139.82.75l3.79-2.87c.26-.2.6-.2.87 0l2.8 2.1c.84.63 2.04.4 2.6-.48l3.52-5.6c.35-.53-.32-1.13-.82-.75l-3.79 2.87c-.25.2-.6.2-.86 0l-2.8-2.1a1.8 1.8 0 00-2.61.48z"/>
            </svg>
        </a>
                        <a href="https://instagram.com/http://instagram.com/deannamaiomusic" target="_blank">
            <svg role="img" viewBox="0 0 24 24" class="mt-0.5 w-8 h-8" 
                xmlns="http://www.w3.org/2000/svg" fill="#ffffff">
                <title>Instagram</title>
                <path d="M12 0C8.74 0 8.333.015 7.053.072 5.775.132 4.905.333 4.14.63c-.789.306-1.459.717-2.126 1.384S.935 3.35.63 4.14C.333 4.905.131 5.775.072 7.053.012 8.333 0 8.74 0 12s.015 3.667.072 4.947c.06 1.277.261 2.148.558 2.913.306.788.717 1.459 1.384 2.126.667.666 1.336 1.079 2.126 1.384.766.296 1.636.499 2.913.558C8.333 23.988 8.74 24 12 24s3.667-.015 4.947-.072c1.277-.06 2.148-.262 2.913-.558.788-.306 1.459-.718 2.126-1.384.666-.667 1.079-1.335 1.384-2.126.296-.765.499-1.636.558-2.913.06-1.28.072-1.687.072-4.947s-.015-3.667-.072-4.947c-.06-1.277-.262-2.149-.558-2.913-.306-.789-.718-1.459-1.384-2.126C21.319 1.347 20.651.935 19.86.63c-.765-.297-1.636-.499-2.913-.558C15.667.012 15.26 0 12 0zm0 2.16c3.203 0 3.585.016 4.85.071 1.17.055 1.805.249 2.227.415.562.217.96.477 1.382.896.419.42.679.819.896 1.381.164.422.36 1.057.413 2.227.057 1.266.07 1.646.07 4.85s-.015 3.585-.074 4.85c-.061 1.17-.256 1.805-.421 2.227-.224.562-.479.96-.899 1.382-.419.419-.824.679-1.38.896-.42.164-1.065.36-2.235.413-1.274.057-1.649.07-4.859.07-3.211 0-3.586-.015-4.859-.074-1.171-.061-1.816-.256-2.236-.421-.569-.224-.96-.479-1.379-.899-.421-.419-.69-.824-.9-1.38-.165-.42-.359-1.065-.42-2.235-.045-1.26-.061-1.649-.061-4.844 0-3.196.016-3.586.061-4.861.061-1.17.255-1.814.42-2.234.21-.57.479-.96.9-1.381.419-.419.81-.689 1.379-.898.42-.166 1.051-.361 2.221-.421 1.275-.045 1.65-.06 4.859-.06l.045.03zm0 3.678c-3.405 0-6.162 2.76-6.162 6.162 0 3.405 2.76 6.162 6.162 6.162 3.405 0 6.162-2.76 6.162-6.162 0-3.405-2.76-6.162-6.162-6.162zM12 16c-2.21 0-4-1.79-4-4s1.79-4 4-4 4 1.79 4 4-1.79 4-4 4zm7.846-10.405c0 .795-.646 1.44-1.44 1.44-.795 0-1.44-.646-1.44-1.44 0-.794.646-1.439 1.44-1.439.793-.001 1.44.645 1.44 1.439z"/>
            </svg>
        </a>
                                        <a href="https://www.youtube.com/@deannamaiomusic" target="_blank">
            <svg role="img" viewBox="0 0 24 24" class="mt-0.5 w-8 h-8" 
                xmlns="http://www.w3.org/2000/svg" fill="#ffffff">
                <title>YouTube</title>
                <path d="M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z"/>
            </svg>
        </a>
                                <a href="http://linkedin.com/in/deannamaio" target="_blank">
            <svg role="img" viewBox="0 0 24 24" class="mt-0.5 w-8 h-8" 
                xmlns="http://www.w3.org/2000/svg" fill="#ffffff">
                <title>LinkedIn</title>
                <path d="M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"/>
            </svg>
        </a>
                                    </div>
</div>
    <!-- Branding -->
    
    <!-- Modals -->
    <div id="leadgen-modal" tabindex="-1" aria-hidden="true" 
        class="fixed top-0 left-0 right-0 z-50 hidden w-full 
        p-4 overflow-x-hidden overflow-y-auto md:inset-0 h-modal md:h-full">
        <div class="relative w-full h-full max-w-md md:h-auto">
            <!-- Modal content -->
            <div class="relative bg-white rounded-lg shadow dark:bg-gray-700">
                <button type="button" 
                    class="absolute top-3 right-2.5 text-gray-400 bg-transparent 
                    hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm p-1.5 
                    ml-auto inline-flex items-center dark:hover:bg-gray-800 
                    dark:hover:text-white" data-modal-toggle="leadgen-modal">
                    <svg aria-hidden="true" class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
                        <path fill-rule="evenodd" d="M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z" clip-rule="evenodd"></path>
                    </svg>
                    <span class="sr-only">Close modal</span>
                </button>
                <div class="px-6 py-6 lg:px-8">
                    <h3 class="mb-4 text-xl font-medium text-gray-900 dark:text-white" id="leadgen-form-name"></h3>
                    <p class="mt-2 font-normal hidden" id="leadgen-text"></p>
                    <form class="space-y-6" action="" method="post">
                        <div class="p-4 mb-4 text-sm rounded-lg dark:bg-red-200 dark:text-red-800 hidden alert" 
                        role="alert"></div>
                        <div>
                            <input type="text" name="name" id="name" 
                            class="bg-gray-50 border border-gray-300 
                            text-gray-900 text-sm rounded-lg focus:ring-blue-500 
                            focus:border-blue-500 block w-full p-2.5 dark:bg-gray-600 
                            dark:border-gray-500 dark:placeholder-gray-400 dark:text-white" 
                            placeholder="E.g Bob Smith">
                        </div>
                        <div>
                            <input type="text" name="phone" id="phone" 
                            class="bg-gray-50 border border-gray-300 hidden
                            text-gray-900 text-sm rounded-lg focus:ring-blue-500 
                            focus:border-blue-500 block w-full p-2.5 dark:bg-gray-600 
                            dark:border-gray-500 dark:placeholder-gray-400 dark:text-white" 
                            placeholder="E.g +44 7867836733">
                        </div>
                        <div>
                            <input type="email" name="email" id="email" 
                            class="bg-gray-50 border border-gray-300 
                            text-gray-900 text-sm rounded-lg focus:ring-blue-500 
                            focus:border-blue-500 block w-full p-2.5 dark:bg-gray-600 
                            dark:border-gray-500 dark:placeholder-gray-400 dark:text-white" 
                            placeholder="email@domain.com" required>
                        </div>
                        <div id="agreement-section" class="hidden">
                            <div class="flex items-center mb-4">
                                <input id="agreement-checkbox" type="checkbox" 
                                class="w-4 h-4 text-blue-600 bg-gray-100 
                                rounded border-gray-300 focus:ring-blue-500 
                                dark:focus:ring-blue-600 dark:ring-offset-gray-800 
                                focus:ring-2 dark:bg-gray-700 dark:border-gray-600">
                                <label for="agreement-checkbox" 
                                    class="ml-2 text-sm font-normal 
                                    text-gray-900 dark:text-gray-300">
                                    <a href="" target="_blank" id="agreement-text-url" class="hover:underline"></a>
                                </label>
                            </div>
                        </div>
                        <button type="button" id="leadgen-submit"
                            class="w-full text-white bg-blue-700 hover:bg-blue-800 
                            focus:ring-4 focus:outline-none focus:ring-blue-300 
                            font-medium rounded-lg text-sm px-5 py-2.5 text-center 
                            dark:bg-blue-600 dark:hover:bg-blue-700 
                            dark:focus:ring-blue-800">
                            Submit
                        </button>
                    </form>
                </div>
            </div>
        </div>
    </div>
    <div id="mailsignup-modal" tabindex="-1" aria-hidden="true" 
        class="fixed top-0 left-0 right-0 z-50 hidden w-full 
        p-4 overflow-x-hidden overflow-y-auto md:inset-0 h-modal md:h-full">
        <div class="relative w-full h-full max-w-md md:h-auto">
            <!-- Modal content -->
            <div class="relative bg-white rounded-lg shadow dark:bg-gray-700">
                <button type="button" 
                    class="absolute top-3 right-2.5 text-gray-400 bg-transparent 
                    hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm p-1.5 
                    ml-auto inline-flex items-center dark:hover:bg-gray-800 
                    dark:hover:text-white" data-modal-toggle="mailsignup-modal">
                    <svg aria-hidden="true" class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
                        <path fill-rule="evenodd" d="M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z" clip-rule="evenodd"></path>
                    </svg>
                    <span class="sr-only">Close modal</span>
                </button>
                <div class="px-6 py-6 lg:px-8">
                    <h3 class="mb-4 text-xl font-medium text-gray-900 dark:text-white" id="mailsignup-form-name"></h3>
                    <form class="space-y-6">
                        <div class="p-4 mb-4 text-sm rounded-lg dark:bg-red-200 dark:text-red-800 hidden alert" 
                        role="alert"></div>
                        <div>
                            <input type="email" name="email" id="mail-email" 
                            class="bg-gray-50 border border-gray-300 
                            text-gray-900 text-sm rounded-lg focus:ring-blue-500 
                            focus:border-blue-500 block w-full p-2.5 dark:bg-gray-600 
                            dark:border-gray-500 dark:placeholder-gray-400 dark:text-white" 
                            placeholder="email@domain.com" required>
                        </div>
                        <div id="mail-agreement-section" class="hidden">
                            <div class="flex items-center mb-4">
                                <input id="mail-agreement-checkbox" type="checkbox" 
                                class="w-4 h-4 text-blue-600 bg-gray-100 
                                rounded border-gray-300 focus:ring-blue-500 
                                dark:focus:ring-blue-600 dark:ring-offset-gray-800 
                                focus:ring-2 dark:bg-gray-700 dark:border-gray-600">
                                <label for="mail-agreement-checkbox" 
                                    class="ml-2 text-sm font-normal 
                                    text-gray-900 dark:text-gray-300">
                                    <a href="" target="_blank" id="mail-agreement-text-url" class="hover:underline"></a>
                                </label>
                            </div>
                        </div>
                        <button type="button" id="mail-submit"
                            class="w-full text-white bg-blue-700 hover:bg-blue-800 
                            focus:ring-4 focus:outline-none focus:ring-blue-300 
                            font-medium rounded-lg text-sm px-5 py-2.5 text-center 
                            dark:bg-blue-600 dark:hover:bg-blue-700 
                            dark:focus:ring-blue-800">
                            Sign up
                        </button>
                    </form>
                </div>
            </div>
        </div>
    </div>
    <!-- Donation -->
    <div id="donation-modal" tabindex="-1" aria-hidden="true" 
        class="fixed top-0 left-0 right-0 z-50 hidden w-full 
        p-4 overflow-x-hidden overflow-y-auto md:inset-0 h-modal md:h-full">
        <div class="relative w-full h-full max-w-md md:h-auto">
            <!-- Modal content -->
            <div class="relative bg-white rounded-lg shadow dark:bg-gray-700">
                <button type="button" 
                    class="absolute top-3 right-2.5 text-gray-400 bg-transparent 
                    hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm p-1.5 
                    ml-auto inline-flex items-center dark:hover:bg-gray-800 
                    dark:hover:text-white" data-modal-toggle="donation-modal">
                    <svg aria-hidden="true" class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
                        <path fill-rule="evenodd" d="M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z" clip-rule="evenodd"></path>
                    </svg>
                    <span class="sr-only">Close modal</span>
                </button>
                <div class="px-6 py-6 lg:px-8">
                    <h3 class="mb-4 text-xl font-medium text-gray-900 dark:text-white" id="donation-form-name"></h3>
                    <!-- <form class="space-y-6"> -->
                        <!-- alert -->
                        <div class="p-4 mb-4 text-sm rounded-lg hidden alert" role="alert"></div>
                        <p id="donation-desc" class="text-sm"></p>
                        <div class="flex gap-2" id="regular-amount">
                            <select id="donation-times" 
                            class="bg-gray-50 border border-gray-300 
                            text-gray-900 text-sm rounded-lg 
                            focus:ring-blue-500 focus:border-blue-500 
                            block p-2.5 dark:bg-gray-700 
                            dark:border-gray-600 dark:placeholder-gray-400 
                            dark:text-white dark:focus:ring-blue-500 
                            dark:focus:border-blue-500 max-w-sm">
                                <option value="1">1</option>
                                <option value="2">2</option>
                                <option value="3">3</option>
                                <option value="4">4</option>
                                <option value="5">5</option>
                                <option value="10">10</option>
                                <option value="100">100</option>
                            </select>
                            <span class="font-semibold mt-2 px-2">x</span>
                            <span class="font-semibold mt-2" id="static-field">$5</span>
                            <span class="font-semibold mt-2 pl-2">=</span>
                            <span class="font-semibold mt-2 total-donation">$5</span>
                            <span id="to-custom-amount" class="font-semibold text-sm mt-2 pl-6 text-blue-400 cursor-pointer">
                                Custom amount?
                            </span>
                        </div>
                        <div class="flex gap-2" id="custom-amount" style="display:none">
                            <span class="font-semibold mt-2 px-2">$</span>
                            <input type="number" id="custom-amount-field" value="5" step="0.01"
                            class="bg-gray-50 border border-gray-300 
                            text-gray-900 text-sm rounded-lg 
                            focus:ring-blue-500 focus:border-blue-500 
                            block p-2 dark:bg-gray-700 mx-w-sm
                            dark:border-gray-600 dark:placeholder-gray-400 
                            dark:text-white dark:focus:ring-blue-500 
                            dark:focus:border-blue-500">
                            <span id="to-regular-amount" class="font-semibold mt-2 text-sm pl-4 text-blue-400 cursor-pointer">
                                To regular amount?
                            </span>
                        </div>
                        <div class="mt-4">
                            <!-- Payment methods -->
                            <h3 class="mb-4 text-lg font-medium text-gray-900 dark:text-white">
                                Payment Method
                            </h3>
                            <div class="flex gap-3">
                                                                                            </div>
                            <!-- Creadit card details -->
                                                        
                            <!-- Total donation -->
                            <div class="flex gap-2 text-lg mt-6">
                                <h2 class="font-bold ">Total: </h2>
                                <span class="total-donation font-bold">$5.00</span>
                                <input type="number" step=0.01 value="5.00" id="actual-total-donation" style="display:none">
                            </div>
                            <!-- paypal slot -->
                            <div class="mt-3" id="paypal-slot" style="display:none">
                                <form action="https://www.socilinks.com/paypal/pay" method="post">
                                    <input type="hidden" name="_token" value="zL5zAPQXMhfzhomp0MlOUWVRRQh3UnR7REBJ87xz">                                    <input type="text" value="" name="linkId" id="linkId" style="display:none">
                                    <input type="text" value="" name="sectionId" id="sectionId" style="display:none">
                                    <input type="text" value="" name="description" id="description" style="display:none">
                                    <input type="text" value="paypal" name="type" style="display:none">
                                    <input type="text" value="deannamaio" name="projectlinkid" style="display:none">
                                    <input type="number" value="5.00" name="amount" id="paypal-total-donation" style="display:none">
                                    <button type="submit" id="donation-paypal-submit"
                                        class="w-full text-white bg-blue-700 hover:bg-blue-800 
                                        focus:ring-4 focus:outline-none focus:ring-blue-300 
                                        font-medium rounded-lg text-sm px-5 py-2.5 text-center 
                                        dark:bg-blue-600 dark:hover:bg-blue-700 
                                        dark:focus:ring-blue-800">
                                        Donate
                                    </button>
                                </form>
                            </div>
                        </div>
                        <button type="button" id="donation-submit"
                            class="w-full text-white bg-blue-700 hover:bg-blue-800 
                            focus:ring-4 focus:outline-none focus:ring-blue-300 
                            font-medium rounded-lg text-sm px-5 py-2.5 text-center 
                            dark:bg-blue-600 dark:hover:bg-blue-700 
                            dark:focus:ring-blue-800 mt-3">
                            Donate
                            <span id="donation-loader" style="display:none">
                                <svg aria-hidden="true" role="status" class="inline w-4 h-4 ml-3 text-white animate-spin" viewBox="0 0 100 101" fill="none" xmlns="http://www.w3.org/2000/svg">
                                <path d="M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z" fill="#E5E7EB"/>
                                <path d="M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z" fill="currentColor"/>
                                </svg>
                            </span>
                        </button>
                    <!-- </form> -->
                    <div class="mt-6">
                        <h4 class="flex justify-center text-center text-green-400 font-bold text-sm uppercase">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="w-5 h-5 mr-2 mb-1">
                                <path fill-rule="evenodd" d="M12 1.5a5.25 5.25 0 00-5.25 5.25v3a3 3 0 00-3 3v6.75a3 3 0 003 3h10.5a3 3 0 003-3v-6.75a3 3 0 00-3-3v-3c0-2.9-2.35-5.25-5.25-5.25zm3.75 8.25v-3a3.75 3.75 0 10-7.5 0v3h7.5z" clip-rule="evenodd" />
                            </svg>
                            secure payment by stripe & paypal
                        </h4>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!-- Fan request -->
    <div id="fanrequest-modal" tabindex="-1" aria-hidden="true" 
        class="fixed top-0 left-0 right-0 z-50 hidden w-full 
        p-4 overflow-x-hidden overflow-y-auto md:inset-0 h-modal md:h-full">
        <div class="relative w-full h-full max-w-md md:h-auto">
            <!-- Modal content -->
            <div class="relative bg-white rounded-lg shadow dark:bg-gray-700">
                <button type="button"
                    class="absolute top-3 right-2.5 text-gray-400 bg-transparent 
                    hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm p-1.5 
                    ml-auto inline-flex items-center dark:hover:bg-gray-800 
                    dark:hover:text-white" data-modal-toggle="fanrequest-modal">
                    <svg aria-hidden="true" class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
                        <path fill-rule="evenodd" d="M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z" clip-rule="evenodd"></path>
                    </svg>
                    <span class="sr-only">Close modal</span>
                </button>
                <div class="px-6 py-6 lg:px-8">
                    <h3 class="mb-4 text-xl font-medium text-gray-900 dark:text-white" id="fanrequest-form-name"></h3>
                                        <form class="space-y-6" action="https://www.socilinks.com/w/deannamaio/link/fan-request" method="post">
                                        <input type="hidden" name="_token" value="zL5zAPQXMhfzhomp0MlOUWVRRQh3UnR7REBJ87xz">                        <p id="request-desc" class="text-sm"></p>
                        <p class="text-gray-500 text-sm message-warn mt-2"></p>
                        <div class="p-4 mb-4 text-sm rounded-lg hidden alert" role="alert"></div>
                        <textarea id="fanrequest-message" rows="2" name="requestMessage"
                        class="block p-2.5 w-full text-sm text-gray-900 
                        rounded-lg border border-gray-300 mt-2
                        focus:ring-blue-500 focus:border-blue-500 
                        dark:bg-gray-700 dark:border-gray-600 
                        dark:placeholder-gray-400 dark:text-white 
                        dark:focus:ring-blue-500 dark:focus:border-blue-500" 
                        placeholder="" required></textarea>
                                                <!-- Login/signup section -->
                        <div class="mt-4">
                            <div id="new-account-request">
                                <div class="flex justify-between">
                                    <h3 class="text-md font-medium text-gray-900 dark:text-white">
                                        Create A Login
                                    </h3>
                                    <!-- <span id="to-login-request" class="font-normal mt-0.5 text-blue-500 text-sm cursor-pointer">
                                        Already have an account? Login
                                    </span> -->
                                </div>
                                <div class="mt-2">
                                    <p class="text-gray-500 text-sm warn"></p>
                                    <input type="email" name="email" 
                                    id="email_signup_request" 
                                    class="block flex-1 rounded-md 
                                    border-gray-300 focus:border-indigo-500 
                                    focus:ring-indigo-500 w-full" 
                                    placeholder="name@company.com">
                                    <input type="password" name="password" 
                                    id="password_signup_request" 
                                    class="block flex-1 rounded-md mt-3
                                    border-gray-300 focus:border-indigo-500 
                                    focus:ring-indigo-500 w-full" 
                                    placeholder="**********">
                                </div>
                            </div>
                            <!-- <div id="login-request" style="display:none">
                                <div class="flex justify-between">
                                    <h3 class="text-md font-medium text-gray-900 dark:text-white">
                                        Login
                                    </h3>
                                    <span id="to-signup-request" class="font-normal mt-0.5 text-blue-500 text-sm cursor-pointer">
                                        Don't have an account? Signup
                                    </span>
                                </div>
                                <div class="mt-2">
                                    <p class="text-gray-500 text-sm warn"></p>
                                    <input type="email" name="email_login_request" 
                                    id="email_login_request" 
                                    class="block flex-1 rounded-md 
                                    border-gray-300 focus:border-indigo-500 
                                    focus:ring-indigo-500 w-full" 
                                    placeholder="name@company.com">
                                    <input type="password" name="password_login_request" 
                                    id="password_login_request" 
                                    class="block flex-1 rounded-md mt-3
                                    border-gray-300 focus:border-indigo-500 
                                    focus:ring-indigo-500 w-full" 
                                    placeholder="**********">
                                </div>
                            </div> -->
                        </div>
                        
                        <!-- data fields -->
                        <input type="text" name="linkId" value="263" style="display:none">
                        <input type="text" name="sectionId" value="" id="section-id-request" style="display:none">
                        <input type="number" step=0.01 name="amount" value="" id="actual-total-request" style="display:none">
                        <input type="text" name="description" value="" id="payment-description" style="display:none">
                        <input type="text" value="deannamaio" name="projectlinkid" style="display:none">
                        <!-- Payment method -->
                        <div class="mt-4">
                            <h3 class="mb-2 text-md font-medium text-gray-900 dark:text-white">
                                Payment Method
                            </h3>
                                                        <div class="flex gap-3">
                                                                                            </div>
                            <!-- Creadit card details -->
                                                        <!-- Total request -->
                            <div class="flex gap-2 text-md mt-6">
                                <h2 class="font-medium ">Total: </h2>
                                <span class="total-request font-medium"></span>
                            </div>
                            <!-- paypal slot -->
                            <div class="mt-3" id="request-paypal-slot" style="display:none">
                                <!-- <form action="https://www.socilinks.com/paypal/pay" method="post">
                                    <input type="hidden" name="_token" value="zL5zAPQXMhfzhomp0MlOUWVRRQh3UnR7REBJ87xz">                                    <input type="text" value="" name="linkId" id="request-linkId" style="display:none">
                                    <input type="text" value="" name="sectionId" id="request-sectionId" style="display:none">
                                    <input type="text" value="" name="description" id="request-description" style="display:none">
                                    <input type="text" value="paypal" name="type" style="display:none">
                                    <input type="text" value="deannamaio" name="projectlinkid" style="display:none">
                                    <input type="number" value="" name="amount" id="paypal-total-request" style="display:none">
                                    <button type="submit" id="request-paypal-submit"
                                        class="w-full text-white bg-blue-700 hover:bg-blue-800 
                                        focus:ring-4 focus:outline-none focus:ring-blue-300 
                                        font-medium rounded-lg text-sm px-5 py-2.5 text-center 
                                        dark:bg-blue-600 dark:hover:bg-blue-700 
                                        dark:focus:ring-blue-800">
                                        Continue
                                    </button>
                                </form> -->
                            </div>
                        </div>
                        
                        <button type="submit" id=""
                            class="w-full text-white bg-blue-700 hover:bg-blue-800 
                            focus:ring-4 focus:outline-none focus:ring-blue-300 
                            font-medium rounded-lg text-sm px-5 py-2.5 text-center 
                            dark:bg-blue-600 dark:hover:bg-blue-700 
                            dark:focus:ring-blue-800 mt-3">
                            Continue
                            <span id="request-loader" style="display:none">
                                <svg aria-hidden="true" role="status" class="inline w-4 h-4 ml-3 text-white animate-spin" viewBox="0 0 100 101" fill="none" xmlns="http://www.w3.org/2000/svg">
                                <path d="M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z" fill="#E5E7EB"/>
                                <path d="M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z" fill="currentColor"/>
                                </svg>
                            </span>
                        </button>
                        <div class="mt-4">
                            <h4 class="flex justify-center text-center text-green-400 font-bold text-sm uppercase">
                                <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="w-5 h-5 mr-2 mb-1">
                                    <path fill-rule="evenodd" d="M12 1.5a5.25 5.25 0 00-5.25 5.25v3a3 3 0 00-3 3v6.75a3 3 0 003 3h10.5a3 3 0 003-3v-6.75a3 3 0 00-3-3v-3c0-2.9-2.35-5.25-5.25-5.25zm3.75 8.25v-3a3.75 3.75 0 10-7.5 0v3h7.5z" clip-rule="evenodd" />
                                </svg>
                                secure payment by stripe & paypal
                            </h4>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
    <!-- Product/membership -->
    <div id="product-modal" tabindex="-1" aria-hidden="true"
        class="fixed top-0 left-0 right-0 z-50 hidden w-full 
        p-4 overflow-x-hidden overflow-y-auto md:inset-0 h-modal md:h-full">
        <div class="relative w-full h-full max-w-md md:h-auto">
            <!-- Modal content -->
            <div class="relative bg-white rounded-lg shadow dark:bg-gray-700">
                <button type="button"
                    class="absolute top-3 right-2.5 text-gray-400 bg-transparent 
                    hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm p-1.5 
                    ml-auto inline-flex items-center dark:hover:bg-gray-800 
                    dark:hover:text-white" data-modal-toggle="product-modal">
                    <svg aria-hidden="true" class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
                        <path fill-rule="evenodd" d="M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z" clip-rule="evenodd"></path>
                    </svg>
                    <span class="sr-only">Close modal</span>
                </button>
                <div class="px-6 py-6 lg:px-8">
                    <h3 class="mb-4 text-xl font-medium text-gray-900 dark:text-white" id="product-form-name"></h3>
                                        <form class="space-y-3" action="https://www.socilinks.com/w/deannamaio/link/product" method="post">
                                            <input type="hidden" name="_token" value="zL5zAPQXMhfzhomp0MlOUWVRRQh3UnR7REBJ87xz">                        <p id="product-desc" class="text-sm"></p>
                        <!-- Display product -->
                        <div class="mt-4">
                            <h3 class="mb-4 text-md font-medium text-gray-900 dark:text-white" id="product-title"></h3>
                            <!-- if it's a membership plan product -->
                            <div class="flex gap-3" id="product-plans" style="display:none">
                                <div id="product-plan-monthly"
                                    class="flex items-center pl-4 border w-full
                                    border-gray-200 rounded dark:border-gray-700">
                                    <input id="product-plan-month" type="radio" 
                                    value="" step="0.01" name="product_planType" 
                                    class="w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 
                                    focus:ring-blue-500 dark:focus:ring-blue-600 
                                    dark:ring-offset-gray-800 focus:ring-2
                                    dark:bg-gray-700 dark:border-gray-600 product_planType"
                                    checked>
                                    <label for="product-plan-month" id="monthly-plan-label"
                                        class="w-full py-1 ml-2 text-sm font-medium 
                                        text-gray-900 dark:text-gray-300 flex gap-2">
                                    </label>
                                </div>
                                <div id="product-plan-annually"
                                    class="flex items-center pl-4 border w-full
                                    border-gray-200 rounded dark:border-gray-700">
                                    <input id="product-plan-annual" type="radio" 
                                    value="" step="0.01" name="product_planType" 
                                    class="w-4 h-4 text-blue-600 bg-gray-100 
                                    border-gray-300 focus:ring-blue-500
                                    dark:focus:ring-blue-600 dark:ring-offset-gray-800 
                                    focus:ring-2 dark:bg-gray-700 dark:border-gray-600 product_planType">
                                    <label for="product-plan-annual" id="annual-plan-label"
                                        class="w-full py-1 ml-2 text-sm font-medium 
                                        text-gray-900 dark:text-gray-300 flex gap-2">
                                    </label>
                                </div>
                            </div>
                        </div>
                        <!-- Login section -->
                                                <!-- signup section -->
                        <div class="mt-2">
                            <div id="new-account-request">
                                <div class="flex justify-between">
                                    <h3 class="text-md font-medium text-gray-900 dark:text-white">
                                        Create A Login
                                    </h3>
                                </div>
                                <div class="mt-2">
                                    <p class="text-gray-500 text-sm warn"></p>
                                    <input type="email" name="email" 
                                    class="block flex-1 rounded-md 
                                    border-gray-300 focus:border-indigo-500 
                                    focus:ring-indigo-500 w-full" 
                                    placeholder="name@company.com">
                                    <input type="password" name="password"
                                    class="block flex-1 rounded-md mt-3
                                    border-gray-300 focus:border-indigo-500 
                                    focus:ring-indigo-500 w-full" 
                                    placeholder="**********">
                                </div>
                            </div>
                        </div>
                                                <!-- data fields -->
                        <input type="text" name="linkId" value="263" style="display:none">
                        <input type="text" name="sectionId" value="" id="section-id-product" style="display:none">
                        <input type="text" name="description" value="" id="payment-description-product" style="display:none">
                        <input type="text" name="projectlinkid" value="deannamaio" style="display:none">
                        <input type="text" name="product_id" value="" id="product-id" style="display:none">
                        <input type="text" name="product_source" value="" id="product-source" style="display:none">
                        <input type="number" step=0.01 name="product_amount" id="actual-total-product" style="display:none">
                        
                        <!-- Payment method -->
                        <div class="mt-4">
                            <h3 class="mb-4 text-md font-medium text-gray-900 dark:text-white">
                                Payment Method
                            </h3>
                                                        <div class="flex gap-3">
                                <div class="flex items-center pl-4 border w-full
                                    border-gray-200 rounded dark:border-gray-700">
                                    <input id="product-bordered-radio-1" type="radio" 
                                    value="card" name="product_payType" 
                                    class="w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 
                                    focus:ring-blue-500 dark:focus:ring-blue-600 
                                    dark:ring-offset-gray-800 focus:ring-2 product-payType
                                    dark:bg-gray-700 dark:border-gray-600"
                                    checked>
                                    <label for="product-bordered-radio-1" 
                                        class="w-full py-1 ml-2 text-sm font-medium 
                                        text-gray-900 dark:text-gray-300 flex gap-2">
                                        <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-6 h-6 text-gray-500">
                                            <path stroke-linecap="round" stroke-linejoin="round" d="M2.25 8.25h19.5M2.25 9h19.5m-16.5 5.25h6m-6 2.25h3m-3.75 3h15a2.25 2.25 0 002.25-2.25V6.75A2.25 2.25 0 0019.5 4.5h-15a2.25 2.25 0 00-2.25 2.25v10.5A2.25 2.25 0 004.5 19.5z" />
                                        </svg>
                                        <span class="mt-0.5 uppercase md:text-sm text-sm">Credit card</span>
                                    </label>
                                </div>
                                <div class="flex items-center pl-4 border w-full
                                border-gray-200 rounded dark:border-gray-700">
                                    <input id="product-bordered-radio-2" type="radio" 
                                    value="paypal" name="product_payType" 
                                    class="w-4 h-4 text-blue-600 bg-gray-100 
                                    border-gray-300 focus:ring-blue-500 product-payType
                                    dark:focus:ring-blue-600 dark:ring-offset-gray-800 
                                    focus:ring-2 dark:bg-gray-700 dark:border-gray-600">
                                    <label for="product-bordered-radio-2" 
                                        class="w-full py-1 ml-2 text-sm font-medium 
                                        text-gray-900 dark:text-gray-300 flex gap-2 uppercase">
                                        <svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" fill="#00457C" class="w-4 h-4 mt-0.5">
                                            <title>PayPal</title>
                                            <path d="M7.076 21.337H2.47a.641.641 0 0 1-.633-.74L4.944.901C5.026.382 5.474 0 5.998 0h7.46c2.57 0 4.578.543 5.69 1.81 1.01 1.15 1.304 2.42 1.012 4.287-.023.143-.047.288-.077.437-.983 5.05-4.349 6.797-8.647 6.797h-2.19c-.524 0-.968.382-1.05.9l-1.12 7.106zm14.146-14.42a3.35 3.35 0 0 0-.607-.541c-.013.076-.026.175-.041.254-.93 4.778-4.005 7.201-9.138 7.201h-2.19a.563.563 0 0 0-.556.479l-1.187 7.527h-.506l-.24 1.516a.56.56 0 0 0 .554.647h3.882c.46 0 .85-.334.922-.788.06-.26.76-4.852.816-5.09a.932.932 0 0 1 .923-.788h.58c3.76 0 6.705-1.528 7.565-5.946.36-1.847.174-3.388-.777-4.471z"/>
                                        </svg>
                                        Paypal
                                    </label>
                                </div>
                            </div>
                            <!-- Credit card details -->
                            <div class="mt-3" id="product-credit-card-slot">
                                <div class="flex rounded-md shadow-sm">
                                    <input type="text" name="cardNumber" id="product-card-number" 
                                    class="block w-full flex-1 rounded-none rounded-l-md 
                                    border-gray-300 focus:border-indigo-500 
                                    focus:ring-indigo-500 sm:text-sm" 
                                    placeholder="Card number">
                                    <span class="inline-flex items-center rounded-r-md border border-l-0 border-gray-300 bg-gray-50 px-3 text-sm text-gray-500">
                                        <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-6 h-6 text-gray-500">
                                            <path stroke-linecap="round" stroke-linejoin="round" d="M2.25 8.25h19.5M2.25 9h19.5m-16.5 5.25h6m-6 2.25h3m-3.75 3h15a2.25 2.25 0 002.25-2.25V6.75A2.25 2.25 0 0019.5 4.5h-15a2.25 2.25 0 00-2.25 2.25v10.5A2.25 2.25 0 004.5 19.5z" />
                                        </svg>
                                    </span>
                                </div>
                                <div class="md:flex gap-2 mt-3">
                                    <div class="flex input-group w-full">
                                        <select class="block w-full rounded-none rounded-l-md 
                                            border-gray-300 focus:border-indigo-500 
                                            focus:ring-indigo-500 sm:text-sm" name="month" id="product-card-month">
                                            <option value="">MM</option>
                                                                                            <option value="1">1</option>
                                                                                            <option value="2">2</option>
                                                                                            <option value="3">3</option>
                                                                                            <option value="4">4</option>
                                                                                            <option value="5">5</option>
                                                                                            <option value="6">6</option>
                                                                                            <option value="7">7</option>
                                                                                            <option value="8">8</option>
                                                                                            <option value="9">9</option>
                                                                                            <option value="10">10</option>
                                                                                            <option value="11">11</option>
                                                                                            <option value="12">12</option>
                                                                                    </select>
                                        <select class="block w-full rounded-none rounded-r-md 
                                            border-gray-300 focus:border-indigo-500 
                                            focus:ring-indigo-500 sm:text-sm" name="year" id="product-card-year">
                                            <option value="">YYYY</option>
                                                                                            <option value="2026">2026</option>
                                                                                            <option value="2027">2027</option>
                                                                                            <option value="2028">2028</option>
                                                                                            <option value="2029">2029</option>
                                                                                            <option value="2030">2030</option>
                                                                                            <option value="2031">2031</option>
                                                                                            <option value="2032">2032</option>
                                                                                            <option value="2033">2033</option>
                                                                                            <option value="2034">2034</option>
                                                                                            <option value="2035">2035</option>
                                                                                            <option value="2036">2036</option>
                                                                                    </select>
                                    </div>
                                    <div class="w-full">
                                        <input type="text" name="cvv" id="product-cvv-number" 
                                        class="block flex-1 rounded-md 
                                        border-gray-300 focus:border-indigo-500 
                                        focus:ring-indigo-500" 
                                        placeholder="CVV">
                                    </div>
                                </div>
                            </div> 
                            <!-- Total amount -->
                            <div class="flex gap-2 text-md mt-4">
                                <h2 class="font-medium ">Total: </h2>
                                <span class="total-product font-medium"></span>
                            </div>
                            <!-- paypal slot -->
                            <div class="mt-3" id="product-paypal-slot" style="display:none"></div>
                        </div>

                        <button type="submit" 
                            class="w-full text-white bg-blue-700 hover:bg-blue-800 
                            focus:ring-4 focus:outline-none focus:ring-blue-300 
                            font-medium rounded-lg text-sm px-5 py-2.5 text-center 
                            dark:bg-blue-600 dark:hover:bg-blue-700 
                            dark:focus:ring-blue-800 mt-1">
                            Continue
                            <span id="product-loader" style="display:none">
                                <svg aria-hidden="true" role="status" class="inline w-4 h-4 ml-3 text-white animate-spin" viewBox="0 0 100 101" fill="none" xmlns="http://www.w3.org/2000/svg">
                                <path d="M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z" fill="#E5E7EB"/>
                                <path d="M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z" fill="currentColor"/>
                                </svg>
                            </span>
                        </button>
                        <div class="mt-6">
                            <h4 class="flex justify-center text-center text-green-400 font-bold text-sm uppercase">
                                <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="w-5 h-5 mr-2 mb-1">
                                    <path fill-rule="evenodd" d="M12 1.5a5.25 5.25 0 00-5.25 5.25v3a3 3 0 00-3 3v6.75a3 3 0 003 3h10.5a3 3 0 003-3v-6.75a3 3 0 00-3-3v-3c0-2.9-2.35-5.25-5.25-5.25zm3.75 8.25v-3a3.75 3.75 0 10-7.5 0v3h7.5z" clip-rule="evenodd" />
                                </svg>
                                secure payment by stripe & paypal
                            </h4>
                        </div>
                    </form>
                </div>

            </div>
        </div>
    </div>
</div>

<script>
$(document).ready(function(){
    let greviews = $('.google-reviews');
    
    for(let rev of greviews) {
        if(rev.dataset.key && rev.dataset.placeid) {
            $.ajax({
                url: `https://cors-anywhere.herokuapp.com/https://maps.googleapis.com/maps/api/place/details/json?placeid=${rev.dataset.placeid}&key=${rev.dataset.key}`,
                dataType: "json",
                type: "GET", 
            
                success: function(json) {
                    $.each(json.result.reviews, function(i,v) {
                        if (i == 4) {
                            return false;
                        }
                        var rating = v.rating;
                    
                        rev.prepend("<div class='review-wrap'>"
                        +"<div class='review'>"+v.text+"</div>"
                        +"<div class='author'>"
                        +"<div class='author-name'>"+v.author_name+"</div>"
                        +"</div>"                            
                        +"</div>");
                    });
                },
                error: function(xhr, status, errorThrown) {
                    //do something if there was an error. Right now it will just show the default values in the html
                }
            });
        }
    }

    let model = {
        name: '',
        phone: '',
        email: '',
        mailEmail: '',
        sectionId: null,
        showPhone: '',
        requirePhone: '',
        leadText: '',
        showAgreement: '',
        agreementText: '',
        agreementUrl: '',
        isAgreementChecked: false,
        formName: '',
        fanrequestMessage: '',
        authType: '',
        currentPlanPrice: 0
    };

    let payment = {
        type: '',
        cardNumber: '',
        cvv: '',
        expiryMonth: '',
        expiryYear: '',
        amount: 0,
        description: ''
    }

    // donation modal
    $('.donation-modal').click(function() {
        model.sectionId = $(this).data('section-id');
        $('#donation-form-name').text($(this).data('form-name'));
        $('#donation-desc').html($(this).data('description'));
        payment.description = $(this).data('title')

        $('#linkId').val($(this).data('link-id'));
        $('#sectionId').val($(this).data('section-id'));
        $('#description').val($(this).data('title'));
        // $('input[name=payType]:checked').val('card')

        $('.custom-amount-field').val($(this).data('amount').toFixed(2));
        $('#static-field').text('$'+ $(this).data('amount').toFixed(2));
        $('.total-donation').text('$'+ $(this).data('amount').toFixed(2));
        $('#actual-total-donation').val($(this).data('amount').toFixed(2));
        $('#paypal-total-donation').val($(this).data('amount').toFixed(2));
    });
    $('#donation-times').change(function() {
        let static = $('#static-field').text().split('$');
        let total = parseFloat($(this).val()) * parseFloat(static[1]);
        $('.total-donation').text('$'+ total.toFixed(2));
        $('#custom-amount-field').val(total);
        $('#actual-total-donation').val(total.toFixed(2));
        $('#paypal-total-donation').val(total.toFixed(2));
    });
    $('#custom-amount-field').change(function() {
        let total = parseFloat($(this).val());
        $('.total-donation').text('$'+ total.toFixed(2));
        $('#actual-total-donation').val(total.toFixed(2));
        $('#paypal-total-donation').val(total.toFixed(2));
    });
    $('#to-custom-amount').click(function() {
        $('#custom-amount').show();
        $('#regular-amount').hide();
    });
    $('#to-regular-amount').click(function() {
        $('#custom-amount').hide();
        $('#regular-amount').show();
    });
    // donation submit
    $('#donation-submit').click(function() {
        payment.type = $('input[name=payType]:checked').val();
        payment.cardNumber = $('#card-number').val();
        payment.cvv = $('#cvv-number').val();
        payment.expiryMonth = $('#card-month').val();
        payment.expiryYear = $('#card-year').val();
        payment.amount = $('#actual-total-donation').val();

        $('#donation-loader').show();
        $(this).attr('disabled', true);

        // send to backend
        $.ajaxSetup({
            headers: {
                'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
            }
        });
        $.ajax({
            url: '/api/donation',
            method: 'post',
            data: { 
                linkId: 263,
                sectionId: model.sectionId,
                type: payment.type, 
                amount: payment.amount,
                cardNumber: payment.cardNumber,
                cvv: payment.cvv,
                month: payment.expiryMonth,
                year: payment.expiryYear,
                description: payment.description
            },
            success: function(res) {
                $('#donation-loader').hide();
                $('#donation-submit').attr('disabled', false)
                $('#card-number').val('')
                $('#cvv-number').val('')
                $('#card-month').val('')
                $('#card-year').val('')

                setSuccessAlert(res.message)
            },
            error: function(err) {
                $('#donation-loader').hide();
                $('#donation-submit').attr('disabled', false)
                
                if(err.hasOwnProperty('responseJSON')) {
                    setErrorAlert(err.responseJSON.message);
                }else if(err.hasOwnProperty('statusText')) {
                    setErrorAlert(err.statusText);
                }else {
                    console.log(err)
                }
                
            }
        });
    });

    // switch payment method
    $('.payType').change(function() {
        if($('input[name=payType]:checked').val()=='card') {
            $('#credit-card-slot').show();
            $('#paypal-slot').hide();
            $('#donation-submit').show();
        }else if($('input[name=payType]:checked').val()=='paypal') {
            $('#credit-card-slot').hide();
            $('#paypal-slot').show();
            $('#donation-submit').hide();
        }
    })
    $('.request-payType').change(function() {
        if($('input[name=type]:checked').val()=='card') {
            $('#request-credit-card-slot').show();
            $('#request-paypal-slot').hide();
            $('#request-submit').show();
        }else if($('input[name=type]:checked').val()=='paypal') {
            $('#request-credit-card-slot').hide();
            $('#request-paypal-slot').show();
            $('#request-submit').hide();
        }
    });
    $('.product-payType').change(function() {
        if($('input[name=product_payType]:checked').val()=='card') {
            $('#product-credit-card-slot').show();
            $('#product-paypal-slot').hide();
            $('#product-submit').show();
        }else if($('input[name=product_payType]:checked').val()=='paypal') {
            $('#product-credit-card-slot').hide();
            $('#product-paypal-slot').show();
            $('#product-submit').hide();
        }
    });

    // fanrequest modal
    $('.fanrequest-modal').click(function() {
        model.sectionId = $(this).data('section-id');
        $('#section-id-request').val($(this).data('section-id'));
        $('#fanrequest-form-name').text($(this).data('form-name'));
        $('#request-desc').html($(this).data('description'));
        $('.total-request').text('$'+$(this).data('amount').toFixed(2))
        $('#actual-total-request').val($(this).data('amount').toFixed(2))
        $('#paypal-total-request').val($(this).data('amount').toFixed(2));
        payment.description = $(this).data('title');
        $('#payment-description').val($(this).data('title'));
    });
    $('#to-login-request').click(function() {
        $('#new-account-request').hide();
        $('#login-request').show();
    });
    $('#to-signup-request').click(function() {
        $('#new-account-request').show();
        $('#login-request').hide();
    });
    // fanrequest submit
    $('#request-submit').click(function() {
        model.fanrequestMessage = $('#fanrequest-message').val();

        // validate forms
        if($('#new-account-request').css('display') == 'none') {
            model.authType = 'login';
            if(!$('#email_login_request').val() || !$('#password_login_request').val()) {
                $('.warn').text('Please enter login details.');
                setTimeout(() => {
                    $('.warn').text('');
                }, 2000);
                return false;
            }
        }else if($('#login-request').css('display') == 'none') {
            model.authType = 'signup';
            if(!$('#email_signup_request').val() || !$('#password_signup_request').val()) {
                $('.warn').text('Please signup to continue.');
                setTimeout(() => {
                    $('.warn').text('');
                }, 2000);
                return false;
            }
        }else if(!$('#fanrequest-message').val()) {
            $('.message-warn').text('Please describe your request.');
            return false;
        }

        // send fan request
        $('#request-loader').show();
        $(this).attr('disabled', true);

        if(model.authType == 'signup') {
            $.ajax({
                url: '/api/fanrequest',
                method: 'post',
                data: { 
                    linkId: 263,
                    sectionId: model.sectionId,
                    type: $('input[name=request_payType]:checked').val(), 
                    amount: $('#actual-total-request').val(),
                    cardNumber: $('#request-card-number').val(),
                    cvv: $('#request-cvv-number').val(),
                    month: $('#request-card-month').val(),
                    year: $('#request-card-year').val(),
                    description: payment.description,
                    requestMessage: $('#fanrequest-message').val(),
                    authType: model.authType,
                    email: $('#email_signup_request').val(),
                    password: $('#password_signup_request').val()
                },
                success: function(res) {
                    $('#request-loader').hide();
                    $('#request-submit').attr('disabled', false)
                    $('#request-card-number').val('')
                    $('#request-cvv-number').val('')
                    $('#request-card-month').val('')
                    $('#request-card-year').val('')
                    $('#fanrequest-message').val('')

                    if($('#new-account-request').css('display') == 'none') {
                        $('#email_login_request').val('')
                        $('#password_login_request').val('')
                    }else{
                        $('#email_signup_request').val('') 
                        $('#password_signup_request').val('')
                    }

                    setSuccessAlert(res.message);
                },
                error: function(err) {
                    $('#request-loader').hide();
                    $('#request-submit').attr('disabled', false)
                    
                    if(err.hasOwnProperty('responseJSON')) {
                        $('.message-warn').text(err.responseJSON.message);
                        setErrorAlert(err.responseJSON.message);
                    }else if(err.hasOwnProperty('statusText')) {
                        setErrorAlert(err.statusText);
                        $('.message-warn').text(err.statusText);
                    }else {
                        console.log(err)
                    }
                    setTimeout(() => {
                        $('.message-warn').text('');
                    }, 2000);
                }
            });
        }else {
            $.ajax({
                url: '/api/fanrequest-auth',
                method: 'post',
                data: { 
                    linkId: 263,
                    sectionId: model.sectionId,
                    type: $('input[name=request_payType]:checked').val(), 
                    amount: $('#actual-total-request').val(),
                    cardNumber: $('#request-card-number').val(),
                    cvv: $('#request-cvv-number').val(),
                    month: $('#request-card-month').val(),
                    year: $('#request-card-year').val(),
                    description: payment.description,
                    requestMessage: $('#fanrequest-message').val(),
                    authType: model.authType,
                    email: $('#email_login_request').val(),
                    password: $('#password_login_request').val()
                },
                success: function(res) {
                    $('#request-loader').hide();
                    $('#request-submit').attr('disabled', false)
                    $('#request-card-number').val('')
                    $('#request-cvv-number').val('')
                    $('#request-card-month').val('')
                    $('#request-card-year').val('')
                    $('#fanrequest-message').val('')

                    if($('#new-account-request').css('display') == 'none') {
                        $('#email_login_request').val('')
                        $('#password_login_request').val('')
                    }else{
                        $('#email_signup_request').val('') 
                        $('#password_signup_request').val('')
                    }

                    setSuccessAlert(res.message)
                },
                error: function(err) {
                    $('#request-loader').hide();
                    $('#request-submit').attr('disabled', false)
                    
                    if(err.hasOwnProperty('responseJSON')) {
                        $('.message-warn').text(err.responseJSON.message);
                        setErrorAlert(err.responseJSON.message);
                    }else if(err.hasOwnProperty('statusText')) {
                        setErrorAlert(err.statusText);
                        $('.message-warn').text(err.statusText);
                    }else if(err.response) {
                        if (err.response.data) {
                            if (err.response.data.hasOwnProperty("message"))
                                setErrorAlert(err.response.data.message);
                            else
                                setErrorAlert(err.response.data.error);
                        }
                    }else {
                        console.log(err)
                    }
                    console.log(err)
                    setTimeout(() => {
                        $('.message-warn').text('');
                    }, 2000);
                    
                }
            });
        }
    });

    // product/membership modal
    $('.product-modal').click(function() {
        model.sectionId = $(this).data('section-id');
        $('#section-id-product').val($(this).data('section-id'));
        $('#product-form-name').text($(this).data('form-name'));
        $('#product-desc').html($(this).data('description'));
        $('.total-product').text('$'+$(this).data('amount').toFixed(2))
        $('#actual-total-product').val(parseFloat($(this).data('amount').toFixed(2)))
        $('#payment-description-product').val($(this).data('product-name'));
        $('#product-id').val($(this).data('product-id'));
        $('#product-source').val($(this).data('product-type')); 

        if($(this).data('product-type') == 'member_product') {
            $('#product-title').text('Subscription: ' + $(this).data('product-name'));
            $('#product-plans').show();
            let productSelected = $(this).data('product-selected');

            if(productSelected.monthlyPricing == 'no'){
                $('#product-plan-monthly').hide()
            }else if(productSelected.monthlyPricing == 'yes'){
                $('#product-plan-month').val(productSelected.monthlyPrice);
                $('#monthly-plan-label').text('$' + productSelected.monthlyPrice + ' / Month');
                $('#product-plan-monthly').show();
            }

            if(productSelected.annualPricing == 'no'){
                $('#product-plan-annually').hide()
            }else if(productSelected.annualPricing == 'yes'){
                $('#product-plan-annual').val(productSelected.annualPrice);
                $('#annual-plan-label').text('$' + productSelected.annualPrice + ' / Year');
                $('#product-plan-annually').show();
            }
        }else {
            $('#product-title').text('Product: ' + $(this).data('product-name'));
            $('#product-plans').hide();
        }
    });

    $('.product_planType').change(function() {
        $('.total-product').text('$' + $(this).val())
        $('#actual-total-product').val($(this).val())
    })

    // toogle leads gen modal
    $('.leadgen-modal').click(function() {
        model.sectionId = $(this).data('section-id');
        model.showPhone = $(this).data('show-phone');
        model.requirePhone = $(this).data('require-phone');
        model.leadText = $(this).data('lead-text');
        model.showAgreement = $(this).data('show-agreement');
        model.agreementText = $(this).data('agreement-text');
        model.agreementUrl = $(this).data('agreement-url');
        $('#leadgen-form-name').text($(this).data('form-name'));

        if(model.showPhone == 'yes') {
            $('#phone')
                .removeClass('hidden')
                .addClass('block')
        }
        if(model.leadText) {
            $('#leadgen-text')
                .text(model.leadText)
                .removeClass('hidden')
                .addClass('block')
        }
        if(model.showAgreement == 'yes') {
            $('#agreement-section')
                .removeClass('hidden')
                .addClass('block')
            $('#agreement-text-url')
                .attr('href', model.agreementUrl)
                .text(model.agreementText)
        }else {
            $('#agreement-section')
                .removeClass('block')
                .addClass('hidden')
        }
    });

    $('#agreement-checkbox').change(function(ev) {
        model.isAgreementChecked = ev.target.checked;
    })

    // submit leads gen form
    $('#leadgen-submit').click(function() {
        model.name = $('#name').val()
        model.phone = $('#phone').val()
        model.email = $('#email').val()
        $(this).attr('disabled', true)

        if(!model.name) {
            setErrorAlert('Name is required!');
            $(this).attr('disabled', false)
        }else if(!model.email) {
            setErrorAlert('Invalid Email!');
            $(this).attr('disabled', false)
        }else if(!isEmailValid(model.email)) {
            setErrorAlert('Invalid Email!');
            $(this).attr('disabled', false)
        }else if(model.showPhone == 'yes' && model.requirePhone == 'yes' && !model.phone) {
            setErrorAlert('Phone is required!');
            $(this).attr('disabled', false)
        }else if(model.showAgreement == 'yes' && !model.isAgreementChecked) {
            setErrorAlert('Agreement is required!');
            $(this).attr('disabled', false)
        }else {
            $.ajax({
                url: '/api/leadgen',
                method: 'post',
                data: { 
                    name: model.name,
                    phone: model.phone,
                    email: model.email, 
                    sectionId: model.sectionId,
                    projectId: 43737 
                },
                success: function(res) {
                    $('#name').val('')
                    $('#phone').val('')
                    $('#email').val('')
                    setSuccessAlert(res.message)
                    $('#leadgen-submit').attr('disabled', false)
                },
                error: function(err) {
                    $('#leadgen-submit').attr('disabled', false)
                    if(err.response){
                        if (err.response.data.hasOwnProperty('message')) {
                            setErrorAlert(err.response.data.message)
                        }else {
                            setErrorAlert(err.response.data.error)
                        }
                    } 
                }
            });
        }
    })

    // toogle mail signup modal
    $('.mailsignup-modal').click(function() {
        model.sectionId = $(this).data('section-id');
        model.showAgreement = $(this).data('show-agreement');
        model.agreementText = $(this).data('agreement-text');
        model.agreementUrl = $(this).data('agreement-url');
        $('#mailsignup-form-name').text($(this).data('form-name'))

        if(model.showAgreement == 'yes') {
            $('#mail-agreement-section')
                .removeClass('hidden')
                .addClass('block')
            $('#mail-agreement-text-url')
                .attr('href', model.agreementUrl)
                .text(model.agreementText)
        }else {
            $('#mail-agreement-section')
                .removeClass('block')
                .addClass('hidden')
        }
    });

    $('#mail-agreement-checkbox').change(function(ev) {
        model.isAgreementChecked = ev.target.checked;
    })

    // submit mail signup form
    $('#mail-submit').click(function() {
        model.mailEmail = $('#mail-email').val()
        $(this).attr('disabled', true)
        
        if(!model.mailEmail) {
            setErrorAlert('Invalid Email!');
            $(this).attr('disabled', false)
        }else if(!isEmailValid(model.mailEmail)) {
            setErrorAlert('Invalid Email!');
            $(this).attr('disabled', false)
        }else if(model.showAgreement == 'yes' && !model.isAgreementChecked) {
            setErrorAlert('Agreement is required!');
            $(this).attr('disabled', false)
        }else {
            $.ajax({
                url: '/api/mail-signup',
                method: 'post',
                data: { email: model.mailEmail, sectionId: model.sectionId, projectId: 43737 },
                success: function(res) {
                    $('#mail-email').val('')
                    setSuccessAlert(res.message)
                    $('#mail-submit').attr('disabled', false)
                },
                error: function(err) {
                    $('#mail-submit').attr('disabled', false)
                    if(err.response){
                        if (err.response.data.hasOwnProperty('message')) {
                            setErrorAlert(err.response.data.message)
                        }else {
                            setErrorAlert(err.response.data.error)
                        }
                    } 
                }
            });
        }
    })

    function getClientInfo() {
        $.ajax({
            url: 'https://api.ipgeolocation.io/ipgeo?apiKey=71ec1774e54b4b0f979cefe8d8f0e4bb',
            method: 'get',
            success: function(res) {
                getOS(res)
            },
            error: function(err) {
                if(err.response){
                    if (err.response.data.hasOwnProperty('message')) {
                        console.log('ipgeo: ' + err.response.data.message)
                    }else {
                        console.log('ipgeo: ' + err.response.data.error)
                    }
                } 
            }
        });
    }

    function getOS(ipInfo) {
        let userAgent = window.navigator.userAgent,
        platform = window.navigator.platform,
        macosPlatforms = ['Macintosh', 'MacIntel', 'MacPPC', 'Mac68K'],
        windowsPlatforms = ['Win32', 'Win64', 'Windows', 'WinCE'],
        iosPlatforms = ['iPhone', 'iPad', 'iPod'],
        os = 'Unknown OS';

        if (macosPlatforms.indexOf(platform) !== -1) {
            os = 'Mac OS';
        } else if (iosPlatforms.indexOf(platform) !== -1) {
            os = 'iOS';
        } else if (windowsPlatforms.indexOf(platform) !== -1) {
            os = 'Windows';
        } else if (/Android/.test(userAgent)) {
            os = 'Android';
        } else if (!os && /Linux/.test(platform)) {
            os = 'Linux';
        }
        postVisitorInfo(ipInfo, os)
    }

    function postVisitorInfo(ipInfo, os) {
        $.ajax({
            url: '/api/visits',
            method: 'post',
            data: {
                linkId: 263,
                ip: ipInfo.ip,
                country: ipInfo.country_name,
                countryFlag: ipInfo.country_flag,
                city: ipInfo.city,
                os: os
            },
            success: (res) => {},
            error: (err) => {
                if(err.response){
                    if (err.response.data.hasOwnProperty('message')) {
                        console.log('postVisitorInfo: ' + err.response.data.message)
                    }else {
                        console.log('postVisitorInfo: ' + err.response.data.error)
                    }
                } 
            }
        });
    }

    function setErrorAlert(message) {
        $('.alert').removeClass('hidden')
            .addClass('text-red-700 bg-red-100 block')
            .text(message)

        setTimeout(() => {
            $('.alert').removeClass('text-red-700 bg-red-100 block')
                .addClass('hidden')
                .text('')
        }, 5000)
    }

    function setSuccessAlert(message) {
        $('.alert').removeClass('hidden')
            .addClass('text-green-700 bg-green-100 block')
            .text(message)
        setTimeout(() => {
            $('.alert').removeClass('text-green-700 bg-green-100 block')
                .addClass('hidden')
                .text('')
        }, 5000)
    }

    function isEmailValid(email) {
        let validRegex = /^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/;
        if (email.match(validRegex)) {
            return true;
        }else{
            return false;
        }
    }

    // getClientInfo();
});
</script>
<script>
let videoIframe = document.querySelectorAll(".video-iframe");
let linkSection = document.querySelectorAll(".link-section");
const currentDate = new Date().getTime();

for(let i of videoIframe) {
    i.src = extractVideoId(i.dataset.url)
}

for(let i of linkSection) {
    if(i.dataset.schedule == 'yes') {
        let startDate = new Date(i.dataset.scheduleStart).getTime();
        let endDate = new Date(i.dataset.scheduleEnd).getTime();

        if(currentDate < startDate) {
            i.classList.add("hidden");
        }else if(currentDate > endDate) {
            i.classList.add("hidden");
        }
    }
}

function openExternalLink(url) {
    window.open(url);
}

function extractVideoId(video) {
    if(video.includes('youtube') || video.includes('youtu')) {
        if(video.includes('https://youtube.com/watch?v=')){
            video = video.replace("https://youtube.com/watch?v=","");
        }else if(video.includes('https://www.youtube.com/watch?v=')){
            video = video.replace("https://www.youtube.com/watch?v=","");
        }else if(video.includes("https://youtu.be/")){
            video = video.replace("https://youtu.be/","");
        }
        videoURL = `https://youtube.com/embed/${video}`
    }else if(video.includes('vimeo')) {
        if(video.includes('https://vimeo.com/')){
            video = video.replace("https://vimeo.com/","");
        }else if(video.includes('https://www.vimeo.com/')){
            video = video.replace("https://www.vimeo.com/","");
        }
        videoURL = `https://player.vimeo.com/video/${video}?h=8ef4640006`
    }else if(video.includes('spotify')) {
        if(video.includes('track')) {
            video = video.replace("https://open.spotify.com/track/","");
            videoURL = `https://open.spotify.com/embed/track/${video}`
        }else if(video.includes('album')) {
            video = video.replace("https://open.spotify.com/album/","");
            videoURL = `https://open.spotify.com/embed/album/${video}`
        }else if(video.includes('show')) {
            video = video.replace("https://open.spotify.com/show/","");
            videoURL = `https://open.spotify.com/embed/show/${video}?theme=0`
        }else if(video.includes('episode')) {
            video = video.replace("https://open.spotify.com/episode/","");
            videoURL = `https://open.spotify.com/embed/episode/${video}?theme=0`
        }
    }else if(video.includes('twitch')) {
        video = video.replace("https://www.twitch.tv/","");
        videoURL = `https://player.twitch.tv/?channel=${video}&autoplay=false&parent=${window.location.host}`
    }else if(video.includes('tiktok')) {
        video = video.split('/')[5];
        videoURL = `https://www.tiktok.com/embed/${video}`
    }else {
        video = videoURL;
    }
    return videoURL;
}
</script>
        </div>
                                
        <div id="login-modal" tabindex="-1" aria-hidden="true" 
            class="fixed top-0 left-0 right-0 z-50 hidden w-full 
            p-4 overflow-x-hidden overflow-y-auto md:inset-0 h-modal md:h-full">
            <div class="relative w-full h-full max-w-md md:h-auto">
                <!-- Modal content -->
                <div class="relative bg-white rounded-lg shadow dark:bg-gray-700">
                    <button type="button" 
                        class="absolute top-3 right-2.5 text-gray-400 bg-transparent 
                        hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm p-1.5 
                        ml-auto inline-flex items-center dark:hover:bg-gray-800 
                        dark:hover:text-white" data-modal-toggle="login-modal">
                        <svg aria-hidden="true" class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
                            <path fill-rule="evenodd" d="M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z" clip-rule="evenodd"></path>
                        </svg>
                        <span class="sr-only">Close modal</span>
                    </button>
                    <div class="px-6 py-6 lg:px-8">
                        <form class="space-y-6" action="https://www.socilinks.com/w/deannamaio/link/login" method="post">
                            <input type="hidden" name="_token" value="zL5zAPQXMhfzhomp0MlOUWVRRQh3UnR7REBJ87xz">                            <h5 class="text-xl font-medium text-gray-900 dark:text-white">Welcome Back!</h5>
                            <div>
                                <label for="email" class="block mb-2 text-sm font-medium text-gray-900 dark:text-white">Email</label>
                                <input type="email" name="email" value="" class="bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-600 dark:border-gray-500 dark:placeholder-gray-400 dark:text-white" placeholder="name@company.com" required>
                            </div>
                            <div>
                                <label for="password" class="block mb-2 text-sm font-medium text-gray-900 dark:text-white">Password</label>
                                <input type="password" name="password" placeholder="••••••••" class="bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-600 dark:border-gray-500 dark:placeholder-gray-400 dark:text-white" required>
                            </div>
                            <button type="submit" class="w-full text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800">
                                Login
                            </button>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </body>
</html>