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,CAAAjJ,EAAA2H,EAAAC,EAAAC,EAAAH,EAAA7B,EAAAiC,EAAA,EAMH,MALE,GAAAoB,EAAAC,CAAA,EAAmB,KACrBpB,GACAO,EAAAQ,IAEA,EAAG,CAAAf,EAAAe,EAAA,EACHpD,EAAA,SAAA2C,CACA","sources":["webpack://_N_E/./src/app/(service)/_components/PlayerNavbarClient.tsx","webpack://_N_E/./node_modules/@react-stately/collections/dist/Section.mjs","webpack://_N_E/./node_modules/@heroui/menu/dist/chunk-X7MTWOQW.mjs","webpack://_N_E/./src/app/(service)/_components/UserStatus.tsx","webpack://_N_E/./node_modules/@heroui/avatar/dist/chunk-25E6VDTZ.mjs","webpack://_N_E/./node_modules/@heroui/avatar/dist/chunk-JUJ53SJZ.mjs","webpack://_N_E/./node_modules/@heroui/theme/dist/chunk-QRMQJTUU.mjs","webpack://_N_E/./node_modules/@heroui/avatar/dist/chunk-LTC67JRI.mjs","webpack://_N_E/./node_modules/@heroui/avatar/dist/chunk-A6PX3NG3.mjs","webpack://_N_E/./node_modules/@heroui/react-utils/dist/chunk-6UBKM7F3.mjs","webpack://_N_E/./node_modules/@heroui/use-image/dist/index.mjs"],"sourcesContent":["\"use client\"\n\nimport { Button } from \"@heroui/button\"\nimport {\n Dropdown,\n DropdownItem,\n DropdownMenu,\n DropdownTrigger,\n} from \"@heroui/dropdown\"\nimport { Link } from \"@heroui/link\"\nimport { Navbar, NavbarBrand, NavbarContent, NavbarItem } from \"@heroui/navbar\"\nimport NextLink from \"next/link\"\nimport { ReactNode, useState } from \"react\"\n\nimport HamburgerMenu from \"@/components/HamburgerMenu\"\nimport { ArrowDownsLineIcon, Logo } from \"@/components/icons\"\nimport { siteConfig } from \"@/config/site\"\nimport { PATH } from \"@/constants/path\"\n\ntype Props = {\n isAuthenticated: boolean\n children?: ReactNode\n}\n\nexport const PlayerNavbarClient = ({ isAuthenticated, children }: Props) => {\n const [isMenuOpen, setIsMenuOpen] = useState(false)\n\n return (\n \n \n
\n \n
\n \n \n \n \n \n \n
\n\n \n {!isAuthenticated && (\n \n }\n >\n 主催者はこちら\n \n \n )}\n
{children}
\n
\n \n )\n}\n","import $gtysd$react from \"react\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \nfunction $9fc4852771d079eb$var$Section(props) {\n return null;\n}\n$9fc4852771d079eb$var$Section.getCollectionNode = function* getCollectionNode(props) {\n let { children: children, title: title, items: items } = props;\n yield {\n type: 'section',\n props: props,\n hasChildNodes: true,\n rendered: title,\n 'aria-label': props['aria-label'],\n *childNodes () {\n if (typeof children === 'function') {\n if (!items) throw new Error('props.children was a function but props.items is missing');\n for (let item of items)yield {\n type: 'item',\n value: item,\n renderer: children\n };\n } else {\n let items = [];\n (0, $gtysd$react).Children.forEach(children, (child)=>{\n items.push({\n type: 'item',\n element: child\n });\n });\n yield* items;\n }\n }\n };\n};\n// We don't want getCollectionNode to show up in the type definition\nlet $9fc4852771d079eb$export$6e2c8f0811a474ce = $9fc4852771d079eb$var$Section;\n\n\nexport {$9fc4852771d079eb$export$6e2c8f0811a474ce as Section};\n//# sourceMappingURL=Section.module.js.map\n","\"use client\";\n\n// src/base/menu-section-base.tsx\nimport { BaseSection } from \"@heroui/aria-utils\";\nvar MenuSectionBase = BaseSection;\nvar menu_section_base_default = MenuSectionBase;\n\nexport {\n menu_section_base_default\n};\n","\"use client\"\n\nimport { Avatar } from \"@heroui/avatar\"\nimport { Button } from \"@heroui/button\"\nimport {\n Dropdown,\n DropdownItem,\n DropdownMenu,\n DropdownSection,\n DropdownTrigger,\n} from \"@heroui/dropdown\"\n\nimport { TUserResponse } from \"@/api/user\"\nimport { ThemeSwitch } from \"@/components/theme-switch\"\nimport { PATH } from \"@/constants/path\"\n\ntype Props = {\n isLoggedIn: boolean\n user?: TUserResponse\n}\n\nexport const UserStatus = ({ isLoggedIn, user }: Props) => {\n if (!isLoggedIn) {\n return (\n
\n \n \n
\n )\n }\n\n if (!user) {\n return null\n }\n\n return (\n \n \n \n \n \n \n
\n \n

{user.playerId}

\n
\n \n }\n href={`/user/${user.playerId}`}\n as=\"a\"\n >\n プロフィール\n \n \n }\n href=\"/settings/info\"\n as=\"a\"\n >\n プレイヤー情報\n \n }\n href=\"/settings/notification\"\n as=\"a\"\n >\n 通知\n \n }\n href=\"/settings/account\"\n as=\"a\"\n >\n アカウント設定\n \n \n \n \n \n \n }\n href={PATH.Auth.LOGOUT}\n as=\"a\"\n >\n ログアウト\n \n \n
\n
\n )\n}\n","\"use client\";\n\n// src/avatar-icon.tsx\nimport { jsx, jsxs } from \"react/jsx-runtime\";\nvar AvatarIcon = () => /* @__PURE__ */ jsxs(\n \"svg\",\n {\n \"aria-hidden\": \"true\",\n fill: \"none\",\n height: \"80%\",\n role: \"presentation\",\n viewBox: \"0 0 24 24\",\n width: \"80%\",\n children: [\n /* @__PURE__ */ jsx(\n \"path\",\n {\n d: \"M12 2C9.38 2 7.25 4.13 7.25 6.75C7.25 9.32 9.26 11.4 11.88 11.49C11.96 11.48 12.04 11.48 12.1 11.49C12.12 11.49 12.13 11.49 12.15 11.49C12.16 11.49 12.16 11.49 12.17 11.49C14.73 11.4 16.74 9.32 16.75 6.75C16.75 4.13 14.62 2 12 2Z\",\n fill: \"currentColor\"\n }\n ),\n /* @__PURE__ */ jsx(\n \"path\",\n {\n d: \"M17.0809 14.1489C14.2909 12.2889 9.74094 12.2889 6.93094 14.1489C5.66094 14.9989 4.96094 16.1489 4.96094 17.3789C4.96094 18.6089 5.66094 19.7489 6.92094 20.5889C8.32094 21.5289 10.1609 21.9989 12.0009 21.9989C13.8409 21.9989 15.6809 21.5289 17.0809 20.5889C18.3409 19.7389 19.0409 18.5989 19.0409 17.3589C19.0309 16.1289 18.3409 14.9889 17.0809 14.1489Z\",\n fill: \"currentColor\"\n }\n )\n ]\n }\n);\n\nexport {\n AvatarIcon\n};\n","\"use client\";\n\n// src/avatar-group-context.ts\nimport { createContext } from \"@heroui/react-utils\";\nvar [AvatarGroupProvider, useAvatarGroupContext] = createContext({\n name: \"AvatarGroupContext\",\n strict: false\n});\n\nexport {\n AvatarGroupProvider,\n useAvatarGroupContext\n};\n","import {\n colorVariants\n} from \"./chunk-GQT3YUX3.mjs\";\nimport {\n tv\n} from \"./chunk-UWE6H66T.mjs\";\nimport {\n dataFocusVisibleClasses,\n translateCenterClasses\n} from \"./chunk-CNTMWM4F.mjs\";\n\n// src/components/avatar.ts\nvar avatar = tv({\n slots: {\n base: [\n \"flex\",\n \"relative\",\n \"justify-center\",\n \"items-center\",\n \"box-border\",\n \"overflow-hidden\",\n \"align-middle\",\n \"text-white\",\n \"z-0\",\n // focus ring\n ...dataFocusVisibleClasses\n ],\n img: [\n \"flex\",\n \"object-cover\",\n \"w-full\",\n \"h-full\",\n \"transition-opacity\",\n \"!duration-500\",\n \"opacity-0\",\n \"data-[loaded=true]:opacity-100\"\n ],\n fallback: [...translateCenterClasses, \"flex\", \"items-center\", \"justify-center\"],\n name: [...translateCenterClasses, \"font-normal\", \"text-center\", \"text-inherit\"],\n icon: [\n ...translateCenterClasses,\n \"flex\",\n \"items-center\",\n \"justify-center\",\n \"text-inherit\",\n \"w-full\",\n \"h-full\"\n ]\n },\n variants: {\n size: {\n sm: {\n base: \"w-8 h-8 text-tiny\"\n },\n md: {\n base: \"w-10 h-10 text-tiny\"\n },\n lg: {\n base: \"w-14 h-14 text-small\"\n }\n },\n color: {\n default: {\n base: colorVariants.solid.default\n },\n primary: {\n base: colorVariants.solid.primary\n },\n secondary: {\n base: colorVariants.solid.secondary\n },\n success: {\n base: colorVariants.solid.success\n },\n warning: {\n base: colorVariants.solid.warning\n },\n danger: {\n base: colorVariants.solid.danger\n }\n },\n radius: {\n none: {\n base: \"rounded-none\"\n },\n sm: {\n base: \"rounded-small\"\n },\n md: {\n base: \"rounded-medium\"\n },\n lg: {\n base: \"rounded-large\"\n },\n full: {\n base: \"rounded-full\"\n }\n },\n isBordered: {\n true: {\n base: \"ring-2 ring-offset-2 ring-offset-background dark:ring-offset-background-dark\"\n }\n },\n isDisabled: {\n true: {\n base: \"opacity-disabled\"\n }\n },\n isInGroup: {\n true: {\n base: [\n \"-ms-2 data-[hover=true]:-translate-x-3 rtl:data-[hover=true]:translate-x-3 transition-transform\",\n \"data-[focus-visible=true]:-translate-x-3 rtl:data-[focus-visible=true]:translate-x-3\"\n ]\n }\n },\n isInGridGroup: {\n true: {\n base: \"m-0 data-[hover=true]:translate-x-0\"\n }\n },\n disableAnimation: {\n true: {\n base: \"transition-none\",\n img: \"transition-none\"\n },\n false: {}\n }\n },\n defaultVariants: {\n size: \"md\",\n color: \"default\",\n radius: \"full\"\n },\n compoundVariants: [\n {\n color: \"default\",\n isBordered: true,\n class: {\n base: \"ring-default\"\n }\n },\n {\n color: \"primary\",\n isBordered: true,\n class: {\n base: \"ring-primary\"\n }\n },\n {\n color: \"secondary\",\n isBordered: true,\n class: {\n base: \"ring-secondary\"\n }\n },\n {\n color: \"success\",\n isBordered: true,\n class: {\n base: \"ring-success\"\n }\n },\n {\n color: \"warning\",\n isBordered: true,\n class: {\n base: \"ring-warning\"\n }\n },\n {\n color: \"danger\",\n isBordered: true,\n class: {\n base: \"ring-danger\"\n }\n }\n ]\n});\nvar avatarGroup = tv({\n slots: {\n base: \"flex items-center justify-center h-auto w-max\",\n count: \"hover:-translate-x-0\"\n },\n variants: {\n isGrid: {\n true: \"inline-grid grid-cols-4 gap-3\"\n }\n }\n});\n\nexport {\n avatar,\n avatarGroup\n};\n","\"use client\";\nimport {\n useAvatarGroupContext\n} from \"./chunk-JUJ53SJZ.mjs\";\n\n// src/use-avatar.ts\nimport { avatar } from \"@heroui/theme\";\nimport { useProviderContext } from \"@heroui/system\";\nimport { mergeProps } from \"@react-aria/utils\";\nimport { useDOMRef, filterDOMProps } from \"@heroui/react-utils\";\nimport { clsx, safeText, dataAttr } from \"@heroui/shared-utils\";\nimport { useFocusRing } from \"@react-aria/focus\";\nimport { useMemo, useCallback } from \"react\";\nimport { useImage } from \"@heroui/use-image\";\nimport { useHover } from \"@react-aria/interactions\";\nfunction useAvatar(originalProps = {}) {\n var _a, _b, _c, _d, _e, _f;\n const globalContext = useProviderContext();\n const groupContext = useAvatarGroupContext();\n const isInGroup = !!groupContext;\n const {\n as,\n ref,\n src,\n name,\n icon,\n classNames,\n fallback,\n alt = name || \"avatar\",\n imgRef: imgRefProp,\n color = (_a = groupContext == null ? void 0 : groupContext.color) != null ? _a : \"default\",\n radius = (_b = groupContext == null ? void 0 : groupContext.radius) != null ? _b : \"full\",\n size = (_c = groupContext == null ? void 0 : groupContext.size) != null ? _c : \"md\",\n isBordered = (_d = groupContext == null ? void 0 : groupContext.isBordered) != null ? _d : false,\n isDisabled = (_e = groupContext == null ? void 0 : groupContext.isDisabled) != null ? _e : false,\n isFocusable = false,\n getInitials = safeText,\n ignoreFallback = false,\n showFallback: showFallbackProp = false,\n ImgComponent = \"img\",\n imgProps,\n className,\n onError,\n disableAnimation: disableAnimationProp,\n ...otherProps\n } = originalProps;\n const Component = as || \"span\";\n const domRef = useDOMRef(ref);\n const imgRef = useDOMRef(imgRefProp);\n const { isFocusVisible, isFocused, focusProps } = useFocusRing();\n const { isHovered, hoverProps } = useHover({ isDisabled });\n const disableAnimation = (_f = disableAnimationProp != null ? disableAnimationProp : globalContext == null ? void 0 : globalContext.disableAnimation) != null ? _f : false;\n const imageStatus = useImage({ src, onError, ignoreFallback });\n const isImgLoaded = imageStatus === \"loaded\";\n const shouldFilterDOMProps = typeof ImgComponent === \"string\";\n const showFallback = (!src || !isImgLoaded) && showFallbackProp;\n const slots = useMemo(\n () => {\n var _a2;\n return avatar({\n color,\n radius,\n size,\n isBordered,\n isDisabled,\n isInGroup,\n disableAnimation,\n isInGridGroup: (_a2 = groupContext == null ? void 0 : groupContext.isGrid) != null ? _a2 : false\n });\n },\n [\n color,\n radius,\n size,\n isBordered,\n isDisabled,\n disableAnimation,\n isInGroup,\n groupContext == null ? void 0 : groupContext.isGrid\n ]\n );\n const baseStyles = clsx(classNames == null ? void 0 : classNames.base, className);\n const canBeFocused = useMemo(() => {\n return isFocusable || as === \"button\";\n }, [isFocusable, as]);\n const getAvatarProps = useCallback(\n (props = {}) => ({\n ref: domRef,\n tabIndex: canBeFocused ? 0 : -1,\n \"data-hover\": dataAttr(isHovered),\n \"data-focus\": dataAttr(isFocused),\n \"data-focus-visible\": dataAttr(isFocusVisible),\n className: slots.base({\n class: clsx(baseStyles, props == null ? void 0 : props.className)\n }),\n ...mergeProps(otherProps, hoverProps, canBeFocused ? focusProps : {})\n }),\n [canBeFocused, slots, baseStyles, focusProps, otherProps]\n );\n const getImageProps = useCallback(\n (props = {}) => ({\n ref: imgRef,\n src,\n \"data-loaded\": dataAttr(isImgLoaded),\n className: slots.img({ class: classNames == null ? void 0 : classNames.img }),\n ...mergeProps(\n imgProps,\n props,\n filterDOMProps({ disableAnimation }, {\n enabled: shouldFilterDOMProps\n })\n )\n }),\n [slots, isImgLoaded, imgProps, disableAnimation, src, imgRef, shouldFilterDOMProps]\n );\n return {\n Component,\n ImgComponent,\n src,\n alt,\n icon,\n name,\n imgRef,\n slots,\n classNames,\n fallback,\n isImgLoaded,\n showFallback,\n ignoreFallback,\n getInitials,\n getAvatarProps,\n getImageProps\n };\n}\n\nexport {\n useAvatar\n};\n","\"use client\";\nimport {\n AvatarIcon\n} from \"./chunk-25E6VDTZ.mjs\";\nimport {\n useAvatar\n} from \"./chunk-LTC67JRI.mjs\";\n\n// src/avatar.tsx\nimport { useMemo } from \"react\";\nimport { forwardRef } from \"@heroui/system\";\nimport { jsx, jsxs } from \"react/jsx-runtime\";\nvar Avatar = forwardRef((props, ref) => {\n const {\n Component,\n ImgComponent,\n src,\n icon = /* @__PURE__ */ jsx(AvatarIcon, {}),\n alt,\n classNames,\n slots,\n name,\n showFallback,\n fallback: fallbackComponent,\n getInitials,\n getAvatarProps,\n getImageProps\n } = useAvatar({\n ...props,\n ref\n });\n const fallback = useMemo(() => {\n if (!showFallback && src) return null;\n if (fallbackComponent) {\n return /* @__PURE__ */ jsx(\"div\", { \"aria-label\": alt, className: slots.fallback({ class: classNames == null ? void 0 : classNames.fallback }), role: \"img\", children: fallbackComponent });\n }\n return name ? /* @__PURE__ */ jsx(\"span\", { \"aria-label\": alt, className: slots.name({ class: classNames == null ? void 0 : classNames.name }), role: \"img\", children: getInitials(name) }) : /* @__PURE__ */ jsx(\"span\", { \"aria-label\": alt, className: slots.icon({ class: classNames == null ? void 0 : classNames.icon }), role: \"img\", children: icon });\n }, [showFallback, src, fallbackComponent, name, classNames]);\n return /* @__PURE__ */ jsxs(Component, { ...getAvatarProps(), children: [\n src && /* @__PURE__ */ jsx(ImgComponent, { ...getImageProps(), alt }),\n fallback\n ] });\n});\nAvatar.displayName = \"HeroUI.Avatar\";\nvar avatar_default = Avatar;\n\nexport {\n avatar_default\n};\n","\"use client\";\n\n// src/use-is-hydrated.ts\nimport * as React from \"react\";\nfunction useIsHydrated() {\n const subscribe = () => () => {\n };\n return React.useSyncExternalStore(\n subscribe,\n () => true,\n () => false\n );\n}\n\nexport {\n useIsHydrated\n};\n","// src/index.ts\nimport { useRef, useState, useEffect, useCallback } from \"react\";\nimport { useIsHydrated } from \"@heroui/react-utils\";\nimport { useSafeLayoutEffect } from \"@heroui/use-safe-layout-effect\";\nfunction useImage(props = {}) {\n const { onLoad, onError, ignoreFallback, src, crossOrigin, srcSet, sizes, loading } = props;\n const isHydrated = useIsHydrated();\n const imageRef = useRef(isHydrated ? new Image() : null);\n const [status, setStatus] = useState(\"pending\");\n useEffect(() => {\n if (!imageRef.current) return;\n imageRef.current.onload = (event) => {\n flush();\n setStatus(\"loaded\");\n onLoad == null ? void 0 : onLoad(event);\n };\n imageRef.current.onerror = (error) => {\n flush();\n setStatus(\"failed\");\n onError == null ? void 0 : onError(error);\n };\n }, [imageRef.current]);\n const flush = () => {\n if (imageRef.current) {\n imageRef.current.onload = null;\n imageRef.current.onerror = null;\n imageRef.current = null;\n }\n };\n const load = useCallback(() => {\n if (!src) return \"pending\";\n if (ignoreFallback) return \"loaded\";\n const img = new Image();\n img.src = src;\n if (crossOrigin) img.crossOrigin = crossOrigin;\n if (srcSet) img.srcset = srcSet;\n if (sizes) img.sizes = sizes;\n if (loading) img.loading = loading;\n imageRef.current = img;\n if (img.complete && img.naturalWidth) {\n return \"loaded\";\n }\n return \"loading\";\n }, [src, crossOrigin, srcSet, sizes, onLoad, onError, loading]);\n useSafeLayoutEffect(() => {\n if (isHydrated) {\n setStatus(load());\n }\n }, [isHydrated, load]);\n return ignoreFallback ? \"loaded\" : status;\n}\nvar shouldShowFallbackImage = (status, fallbackStrategy) => status !== \"loaded\" && fallbackStrategy === \"beforeLoadOrError\" || status === \"failed\" && fallbackStrategy === \"onError\";\nexport {\n shouldShowFallbackImage,\n useImage\n};\n"],"names":["PlayerNavbarClient","isAuthenticated","children","param","isMenuOpen","setIsMenuOpen","useState","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","jsxs","Navbar","maxWidth","position","onMenuOpenChange","motionProps","initial","opacity","scale","animate","exit","transition","duration","NavbarContent","justify","jsx","div","className","HamburgerMenu","menuItems","siteConfig","navItems","isOpen","setIsOpen","NavbarBrand","as","NextLink","href","Logo","ul","map","item","items","length","Dropdown","NavbarItem","DropdownTrigger","Button","variant","size","endContent","ArrowDownsLineIcon","title","DropdownMenu","aria-label","itemClasses","base","DropdownItem","subItem","p","label","passHref","radius","Link","PATH","ORGANIZE","ROOT","i","$9fc4852771d079eb$var$Section","props","getCollectionNode","type","hasChildNodes","rendered","childNodes","value","renderer","Children","forEach","push","element","child","UserStatus","isLoggedIn","user","jsx_runtime","placement","Avatar","alt","src","profileImgUrl","name","playerId","isBordered","isFocusable","showFallback","isReadOnly","textValue","startContent","concat","DropdownSection","showDivider","ThemeSwitch","isShowText","Auth","LOGOUT","LOGIN","SIGNUP","color","AvatarIcon","fill","height","role","viewBox","width","d","AvatarGroupProvider","useAvatarGroupContext","createContext","strict","avatar","chunk_UWE6H66T","tv","slots","chunk_CNTMWM4F","Dh","img","fallback","z6","icon","variants","sm","md","lg","default","chunk_GQT3YUX3","J","solid","primary","secondary","success","warning","danger","none","full","true","isDisabled","isInGroup","isInGridGroup","disableAnimation","false","defaultVariants","compoundVariants","class","count","isGrid","forwardRef","ref","Component","ImgComponent","classNames","fallbackComponent","getInitials","getAvatarProps","getImageProps","useAvatar","_a","_b","_c","_d","_e","_f","originalProps","globalContext","useProviderContext","groupContext","imgRef","imgRefProp","safeText","ignoreFallback","showFallbackProp","imgProps","onError","disableAnimationProp","otherProps","domRef","useDOMRef","isFocusVisible","isFocused","focusProps","useFocusRing","isHovered","hoverProps","useHover","isImgLoaded","imageStatus","useImage","shouldFilterDOMProps","useMemo","_a2","baseStyles","clsx","canBeFocused","useCallback","tabIndex","dataAttr","mergeProps","filterDOMProps","enabled","displayName","avatar_default","onLoad","crossOrigin","srcSet","sizes","loading","isHydrated","React","imageRef","react","useRef","Image","status","setStatus","useEffect","current","onload","flush","event","onerror","error","load","srcset","complete","naturalWidth","dist","G"],"sourceRoot":""}