{"version":3,"file":"shared-lib.D889rdi1.mjs","names":["React.useState","__esmMin","init_npm_react_18_3_1","_e","c","init_jsx_runtime","ce","useCompact","compact","setCompact","el","ref","update","threshold","observer","keyEdge","layers","i","depth","t","eased","rgb","EDGE_NEAR","near","EDGE_FAR","k","TouchNavStyles","TOUCH_NAV_CSS","MobileStyles","PHONE_MAP_TOP","PHONE_MAP_HEIGHT","PHONE_MODE_TOP","LETTER_OUTLINE","KEY_DEPTH","KEY_PRESS","KEY_UP","KEY_DOWN","KEY_DOWN_SHIFT","init_MobileLayout","metadata","init_siteMetadata"],"sources":["https:/framerusercontent.com/modules/N0kSR4XP7i8PIEuw15tS/uhk68bnGEQPUv9sQQdbc/MobileLayout.js","https:/framerusercontent.com/modules/yOXEnBO7quBwBKozYGx0/DRFTn7KMkKBJZe9vQuj8/siteMetadata.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import*as React from\"react\";export function useCompact(ref,threshold=900){const[compact,setCompact]=React.useState(false);React.useEffect(()=>{const el=ref.current;if(!el)return;const update=()=>setCompact(el.clientWidth<threshold);update();const observer=new ResizeObserver(update);observer.observe(el);return()=>observer.disconnect();},[ref,threshold]);return compact;}// The outline is drawn with text shadows instead of a text stroke: shadows\n// paint behind every letter, so one letter's outline can never cover the\n// letter beside it.\nconst LETTER_OUTLINE=[\"1.5px 0 0 #000000\",\"-1.5px 0 0 #000000\",\"0 1.5px 0 #000000\",\"0 -1.5px 0 #000000\",\"1px 1px 0 #000000\",\"-1px -1px 0 #000000\",\"1px -1px 0 #000000\",\"-1px 1px 0 #000000\",\"2px 2.5px 0 #000000\"].join(\", \");// Menu keys are extruded toward the top right: one shade per pixel of depth,\n// from light grey at the face to ink at the back, then a soft shadow falling\n// the same way, so the edge reads as a smooth gradient rather than bands.\nconst KEY_DEPTH=7;const KEY_PRESS=4;const EDGE_NEAR=[198,204,214];const EDGE_FAR=[11,20,40];function keyEdge(depth){const layers=[];for(let i=1;i<=depth;i++){const t=depth===1?1:(i-1)/(depth-1);const eased=t*t*(3-2*t);const rgb=EDGE_NEAR.map((near,k)=>Math.round(near+(EDGE_FAR[k]-near)*eased));layers.push(`${i}px ${-i}px 0 rgb(${rgb.join(\", \")})`);}layers.push(`${depth+4}px ${-(depth+4)}px 12px rgba(11, 20, 40, 0.28)`);return layers.join(\", \");}const KEY_UP=keyEdge(KEY_DEPTH);const KEY_DOWN=keyEdge(KEY_DEPTH-KEY_PRESS);const KEY_DOWN_SHIFT=`translate(${KEY_PRESS}px, ${-KEY_PRESS}px)`;// Framer's phone header (\"Touch Navigation\") is styled by layer name: the menu\n// button and page keys share the extruded edge above, the page keys get\n// lettering like the state labels, and the open menu is drawn over the page\n// instead of pushing it down.\nconst TOUCH_NAV_CSS=`\n[data-framer-name=\"Touch Navigation\"] { height: 64px !important; overflow: visible !important; z-index: 60; }\n[data-framer-name=\"Menu Toggle\"] { background: #FFFFFF !important; border: 2px solid #0B1428 !important; border-radius: 0 !important; box-shadow: ${KEY_UP} !important; transition: transform 120ms ease-out, box-shadow 120ms ease-out; }\n[data-framer-name=\"Menu Toggle\"]:active { transform: ${KEY_DOWN_SHIFT}; box-shadow: ${KEY_DOWN} !important; }\n[data-framer-name=\"Page Links\"] { gap: 14px !important; }\n[data-framer-name=\"Page Links\"] > a { box-shadow: ${KEY_UP}; transition: transform 120ms ease-out, box-shadow 120ms ease-out; }\n[data-framer-name=\"Page Links\"] > a:active, [data-framer-name=\"Page Links\"] > a[data-framer-page-link-current] { transform: ${KEY_DOWN_SHIFT}; box-shadow: ${KEY_DOWN}; }\n[data-framer-name=\"Page Links\"] [data-framer-name$=\" Lettering\"] span { font-size: 20px !important; letter-spacing: 0.06em !important; -webkit-text-stroke: 0 !important; text-shadow: ${LETTER_OUTLINE} !important; }\n[data-framer-name=\"Community Links\"] { display: none !important; }\n`;export function TouchNavStyles(){return /*#__PURE__*/_jsx(\"style\",{children:TOUCH_NAV_CSS});}// Phone layout for the home map: the map sits under the search bar and mode\n// keys, and the signups list fills the rest of the screen below it.\nconst PHONE_MODE_TOP=76;const PHONE_MAP_TOP=128;const PHONE_MAP_HEIGHT=\"calc(56.25cqw + 8px)\";export function MobileStyles(){return /*#__PURE__*/_jsx(\"style\",{children:TOUCH_NAV_CSS+`\n.mobile-surface { container-type:inline-size; }\n.tournament-map {height:calc(100dvh - 52px)!important;border:0!important;max-width:none!important;}\n.tournament-map > svg {width:100%;height:100%;clip-path:none!important;}\n@media(max-width:1199px){.tournament-map{height:calc(100dvh - 64px)!important;}}\n.tournament-map .map-details {max-height:78%!important;overflow-y:auto;}\n.tournament-map .map-details > div:last-child > div:last-child {max-height:320px!important;}\n\n@container (max-width: 900px) {\n.mobile-surface > [aria-hidden], .mobile-surface > [aria-hidden=\"true\"] { display:none!important }\n.mobile-surface button,.mobile-surface input,.mobile-surface select { min-height:44px; }\n.mobile-surface button { min-width:44px; }\n.mobile-surface input,.mobile-surface select { font-size:16px!important;max-width:100%; }\n.mobile-surface * { box-sizing:border-box; }\n.mobile-surface [style*=\"min-width: 320px\"], .mobile-surface [style*=\"min-width: 300px\"] { min-width:0!important;width:100%!important;flex-basis:100%; }\n.mobile-surface [style*=\"width: 360px\"] { max-width:100%;width:100%!important; }\n.mobile-surface [style*=\"width: 230px\"]:not(.map-search) { max-width:100%;width:100%!important;max-height:200px!important;overflow-y:auto; }\n.mobile-surface [style*=\"padding: 40px 48px\"] {padding:24px 20px 40px!important}\n.mobile-surface [style*=\"padding: 0px 32px\"] {padding-left:20px!important;padding-right:20px!important}\n.mobile-surface [style*=\"minmax(230px\"] {grid-template-columns:repeat(auto-fill,minmax(min(100%,230px),1fr))!important}\n.map-search {width:calc(100% - 32px)!important;top:16px!important;z-index:20;}\n.tournament-map > svg {width:100%;height:100%;clip-path:none!important;}\n.tournament-map .map-details {top:58%!important;bottom:20px!important;left:16px!important;right:22px!important;width:auto!important;padding:16px!important;border:2px solid #0B1428!important;box-shadow:3px 3px 0 #C6CCD6,6px 6px 0 #5B8BC9,8px 8px 0 #0B1428!important;z-index:22;}\n.tournament-map .map-details > div:first-child {float:right;margin-bottom:8px!important;}\n.tournament-map .roster-row {padding:10px 12px!important;}\n.tournament-map .map-summary-controls {display:none!important;}\n.tournament-map .map-zoom-controls {top:auto!important;bottom:calc(16px + env(safe-area-inset-bottom))!important;left:16px!important;right:auto!important;flex-direction:row!important;gap:0!important;z-index:21;}\n.tournament-map:has(.map-details) .map-zoom-controls {top:76px!important;bottom:auto!important;left:16px!important;right:auto!important;}\n.tournament-map .map-zoom-controls button {width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;margin:0!important;box-shadow:0 3px 0 #A2AAB8,0 5px 0 #0B1428!important;transform:none!important;}\n.tournament-map .map-zoom-controls button + button {border-left:0!important;}\n.tournament-map > svg {height:66%!important;}\n.tournament-map .map-details {top:auto!important;bottom:calc(16px + env(safe-area-inset-bottom))!important;transform:none!important;max-height:38dvh!important;}\n.map-details img {max-width:100%;}\n.map-search input {border-radius:0!important;}\n.bracket-toolbar {top:16px!important;right:16px!important;}\n.bracket-toolbar > :first-child {display:none;}\n.bracket-toolbar button {min-height:44px;}\n.info-banner {height:auto!important;min-height:76px;gap:12px;flex-wrap:wrap;padding:16px 20px!important;}\n.info-content {padding-left:20px!important;padding-right:20px!important}\n.info-content section {padding-top:24px!important;padding-bottom:24px!important}\n.info-jump {font-size:14px!important;}\n}\n@container (max-width: 700px) {\n.tournament-map > svg.ftm-land {position:absolute!important;top:${PHONE_MAP_TOP}px;left:0;height:${PHONE_MAP_HEIGHT}!important;}\n.tournament-map .map-zoom-controls, .tournament-map:has(.map-details) .map-zoom-controls {top:${PHONE_MODE_TOP}px!important;bottom:auto!important;left:16px!important;}\n.tournament-map .map-zoom-controls button {width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;}\n.tournament-map .map-summary-controls, .tournament-map .map-details {display:flex!important;flex-direction:column;align-items:stretch!important;gap:12px;position:absolute;top:calc(${PHONE_MAP_TOP+16}px + ${PHONE_MAP_HEIGHT})!important;bottom:calc(16px + env(safe-area-inset-bottom))!important;left:16px!important;right:${16+9}px!important;width:auto!important;max-height:none!important;transform:none!important;}\n.tournament-map .map-details {display:block!important;}\n.tournament-map.has-selection .map-summary-controls {visibility:hidden;}\n.tournament-map .map-summary-controls > :last-child {order:-1;align-self:flex-start;}\n.tournament-map .ftm-rank-toggle {display:none!important;}\n.tournament-map .ftm-rank-panel {flex:1;width:auto!important;max-height:none!important;min-height:0;}\n.tournament-map .ftm-rank-row {padding:12px 14px!important;}\n.bracket-toolbar {top:12px!important;left:12px!important;right:12px!important;gap:0!important;}\n.bracket-toolbar > :last-child {width:100%!important;}\n.bracket-toolbar > :last-child > div {display:flex;}\n.bracket-toolbar > :last-child button {flex:1 1 0;text-align:center!important;border-top:0!important;padding:12px!important;}\n.bracket-toolbar > :last-child button + button {border-left:2px solid #0B1428!important;}\n}\n@media (prefers-reduced-motion:reduce){\n.mobile-surface * {animation:none!important;scroll-behavior:auto!important;}\n}\n`});}\nexport const __FramerMetadata__ = {\"exports\":{\"useCompact\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"MobileStyles\":{\"type\":\"reactComponent\",\"name\":\"MobileStyles\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"TouchNavStyles\":{\"type\":\"reactComponent\",\"name\":\"TouchNavStyles\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./MobileLayout.map","// Generated by Framer (1683339)\nexport default function metadata(params,activeLocale){return{favicon:\"https://framerusercontent.com/assets/E8lAGFKoNG04DwO4X6Sjz5QhLU.png\",robots:\"max-image-preview:large\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable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