1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[(new e.Error).stack]=function(e){for(var s=1;s<arguments.length;s++){var t=arguments[s];if(null!=t)for(var a in t)t.hasOwnProperty(a)&&(e[a]=t[a])}return e}({},e._sentryModuleMetadata[(new e.Error).stack],{"_sentryBundlerPluginAppKey:note-front-custom-domain":!0});var s=(new e.Error).stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="c267c8c7-68f6-4f31-963f-44919d9ecf9c",e._sentryDebugIdIdentifier="sentry-dbid-c267c8c7-68f6-4f31-963f-44919d9ecf9c")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4374],{4277:(e,s,t)=>{t.d(s,{H:()=>a});var a=e=>{let{amount:s,prefix:t="\xa5",suffix:a="",separator:l=","}=e;if(void 0!==s)return[t,s.toString().replace(/(\d)(?=(?:\d{3})+\b)/g,`$1${l}`),a]}},6137:(e,s,t)=>{t.d(s,{Q:()=>o});var a=t(79325),l=t(19780),r=t(11943),i=t(28176),n=t(6688),o=({coverImageUrl:e,avatarImageUrl:s,title:t,actionsSlot:o,className:c="",creatorHomeUrl:d,creatorName:m,lang:x="ja-JP",linkElementType:u="a",...h})=>{let p=!!e,f=(0,i.Ru)({lang:x,dict:l.wv});return(0,n.jsxs)("header",{className:(0,r.QP)("relative h-[12.3125rem] w-full md:h-[13.5rem]",p?"text-white":"text-text-primary",c),...h,children:[p&&(0,n.jsx)("div",{className:"absolute top-0 left-0 h-full w-full",children:(0,n.jsx)(a._,{imageSrc:e,imageAlt:"",fit:"cover",unSafeClassName:"h-full",loading:"eager"})}),p&&(0,n.jsx)("div",{className:"absolute top-0 left-0 h-full w-full bg-surface-image-overlay"}),p?(0,n.jsx)("div",{className:"relative flex h-full flex-col items-center pt-16 md:pt-12",children:(0,n.jsxs)("div",{className:"flex flex-col items-center justify-center gap-2 px-4 md:px-0",children:[s&&(0,n.jsxs)("div",{className:"relative flex",children:[(0,n.jsx)(u,{href:d,className:"size-14 overflow-hidden rounded-full transition-opacity hover:opacity-80 focus:outline-none focus:ring-2 focus:ring-border-invert focus:ring-offset-2 focus:ring-offset-transparent","aria-label":f("creatorTopPageLabel",{creatorName:m}),children:(0,n.jsx)(a._,{imageSrc:s,imageAlt:"",imageWidth:56,imageHeight:56,fit:"cover",unSafeClassName:"rounded-full",loading:"eager"})}),(0,n.jsx)("span",{className:"pointer-events-none absolute top-0 left-0 size-full rounded-full border-2 border-border-invert"})]}),(0,n.jsx)("h1",{className:"font-bold text-text-onImage md:text-lg",children:t})]})}):(0,n.jsxs)("div",{className:"relative flex h-full flex-col items-center justify-center gap-4 px-4",children:[s&&(0,n.jsxs)("div",{className:"relative flex",children:[(0,n.jsx)(u,{href:d,className:"size-20 overflow-hidden rounded-full transition-opacity hover:opacity-80 focus:outline-none focus:ring-2 focus:ring-border-focus focus:ring-offset-2","aria-label":f("creatorTopPageLabel",{creatorName:m}),children:(0,n.jsx)(a._,{imageSrc:s,imageAlt:"",imageWidth:80,imageHeight:80,fit:"cover",unSafeClassName:"rounded-full",loading:"eager"})}),(0,n.jsx)("span",{className:"pointer-events-none absolute top-0 left-0 size-full rounded-full border border-border-default"})]}),(0,n.jsxs)("div",{className:"flex w-full max-w-[30rem] flex-col text-center md:px-4 lg:max-w-[58.75rem]",children:[(0,n.jsx)("span",{className:"text-text-secondary text-xs md:text-sm",children:m}),(0,n.jsx)("h1",{className:"font-bold text-text-primary text-xl",children:t})]})]}),o&&(p?(0,n.jsx)("div",{className:"absolute top-2 right-4 flex gap-2",children:o}):(0,n.jsx)("div",{className:"pointer-events-none absolute inset-0 mx-auto flex max-w-screen-lg justify-end p-2 lg:px-4 lg:py-2",children:(0,n.jsx)("div",{className:"pointer-events-auto flex h-fit gap-2",children:o})}))]})}},6750:(e,s,t)=>{t.d(s,{V:()=>n});var a={"ja-JP":{contentNavigation:"{creatorName}ããã®ã³ã³ãã³ãããã²ã¼ã·ã§ã³"}},l=t(14948),r=t(28176),i=t(6688),n=e=>{let{items:s,unsafeClassName:t,creatorName:n,lang:o="ja-JP"}=e,c=(0,r.Ru)({lang:o,dict:a});return(0,i.jsx)("div",{className:t,children:(0,i.jsx)(l.V,{items:s,srTitle:n?c("contentNavigation",{creatorName:n}):void 0})})}},8190:(e,s,t)=>{t.d(s,{G:()=>n});var a=t(81006),l=t(35169),r=t(98161),i=t(6688),n=()=>{let e=(0,a.s)(l.EJ);return(0,i.jsxs)("div",{className:"flex h-full flex-col items-center justify-center gap-4",children:[(0,i.jsx)(r.qlg,{"aria-label":"",size:"xxxl",color:"var(--color-text-clickable-icon)"}),(0,i.jsxs)("p",{className:"text-center text-text-secondary text-xs",children:[e("noComments1"),(0,i.jsx)("br",{}
1),e("noComments2")]})]})}},8510:(e,s,t)=>{t.d(s,{r:()=>n});var a=t(83179),l=t(62511),r=t(28176),i=t(6688);function n(e){let{followingCount:s,followerCount:t,linkElementType:n="a",followingHref:o,followerHref:c,lang:d="ja-JP"}=e,m=(0,r.Ru)({lang:d,dict:l.Ru});return(0,i.jsx)("div",{children:(0,i.jsxs)("div",{className:"flex gap-2",children:[(0,i.jsxs)(n,{href:o,children:[(0,i.jsx)("span",{className:"mr-1 font-bold text-base text-text-primary leading-normal",children:(0,i.jsx)(a.G,{rawNumber:s,lang:d})}),(0,i.jsx)("span",{className:"text-text-secondary text-xs leading-normal md:text-sm",children:m("follow")})]}),(0,i.jsxs)(n,{href:c,children:[(0,i.jsx)("span",{className:"mr-1 font-bold text-base text-text-primary leading-normal",children:(0,i.jsx)(a.G,{rawNumber:t,lang:d})}),(0,i.jsx)("span",{className:"text-text-secondary text-xs leading-normal md:text-sm",children:m("follower")})]})]})})}},12433:(e,s,t)=>{t.d(s,{C:()=>n});var a=t(29426),l=t(28176),r=t(6688),i=t(95116),n=({stocks:e,initialDisplayCount:s=3,onStockClick:t,lang:n="ja-JP"})=>{let o=(0,l.Ru)({lang:n,dict:a.I}),[c,d]=(0,i.useState)(!1);if(0===e.length)return null;let m=c||e.length<=s?e:e.slice(0,s),x=e.length>s;return(0,r.jsxs)("div",{className:"mb-2",children:[(0,r.jsx)("ul",{className:"flex flex-wrap gap-2",children:m.map((e,s)=>(0,r.jsx)("li",{className:"rounded-lg border border-border-default border-solid",children:(0,r.jsx)("a",{href:e.url,target:"_blank",rel:"noopener",className:"block p-3",onClick:()=>t?.(s,e.code),children:(0,r.jsxs)("div",{className:"flex items-center gap-1",children:[(0,r.jsx)("span",{className:"inline-block rounded bg-surface-disabled px-1.5 py-px text-center font-medium text-[11px] text-text-primary",children:e.code}),(0,r.jsx)("p",{className:"font-bold text-xs",children:e.name})]})})},e.code))}),x&&!c&&(0,r.jsx)("button",{type:"button",className:"mt-2 text-sm text-text-primary underline",onClick:()=>d(!0),children:o("showAllStocks")})]})}},15247:(e,s,t)=>{t.d(s,{Q:()=>c});var a=t(64962),l=t(48378),r=t(14069),i=t(11943),n=t(6688),o={2:"md:line-clamp-2",3:"md:line-clamp-3"},c=e=>{let{name:s,urlname:t,href:c,slotAnchor:d,slotAction:m,slotStatus:x,slotContentWrapper:u,description:h,src:p,imageElementType:f="img",avatarSize:g="l",fontSize:j="xs",layout:b="list",dataCreatorKey:v,hideUrlname:N,descriptionLineClamp:y}=e,w=(0,n.jsxs)("div",{className:"flex items-center gap-4",children:[(0,n.jsx)("div",{className:"flex shrink-0",children:(0,n.jsx)(r.e,{isStatic:!0,src:p,imageElementType:f,elementType:"div",size:g,alt:"ãããã£ã¼ã«ç»å"})}),(0,n.jsxs)("div",{className:"min-w-0",children:[(0,n.jsx)("span",{className:"break-all font-bold text-sm leading-normal",children:s}),!N&&(0,n.jsx)("div",{className:(0,i.QP)("break-all text-text-secondary leading-normal","sm"===j?"text-sm":"text-xs"),children:t})]})]}),k=`line-clamp-2 text-text-secondary leading-normal ${y?o[y]:"md:line-clamp-none"}`,C=x||h?(0,n.jsxs)("div",{className:"flex flex-col gap-1 px-4 pb-4",children:[x&&(0,n.jsx)("span",{children:x}),h&&(0,n.jsx)("p",{className:(0,i.QP)(k,"sm"===j?"text-sm":"text-xs"),children:h})]}):null,P=c&&null!=d?(0,n.jsx)(a.p,{defaultProps:{href:c,title:s,unSafeClassName:"absolute inset-0 h-full w-full rounded-none"},children:d}):null,A=(0,n.jsx)("div",{className:(0,i.QP)("flex flex-1 items-center gap-4 p-4",c&&"cursor-pointer"),children:(0,n.jsx)("div",{className:"pointer-events-none flex items-center gap-4",children:w})});return(0,n.jsxs)("li",{className:(0,i.QP)("relative flex flex-col","grid"===b?"justify-start":"justify-between"),"data-creator-key":v,children:[P,(0,n.jsxs)("div",{className:"flex items-center justify-between",children:[null==u?A:(0,n.jsx)(l.s,{href:c,urlname:t,slot:u,children:w}),m&&(0,n.jsx)("div",{className:"relative z-[1] shrink-0 py-4 pr-4",children:m})]}),C]})}},17244:(e,s,t)=>{t.d(s,{p:()=>o});var a=t(78110),l=t(29426),r=t(12433),i=t(28176),n=t(6688),o=({onTextLinkClick:e,onBannerClick:s,stocks:t,onStockClick:o,initialStockDisplayCount:c,lang:d="ja-JP"})=>{let m=(0,i.Ru)({lang:d,dict:l.r});return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("p",{className:"font-bold",children:[m("pickedUpPrefix"),(0,n.jsx)("a",{href:a.U,className:"mb-4 inline-block underline",onClick:e,children:m("noteMoney")}),m("pickedUpSuffix")]}),(0,n.jsx)(r.C,{stocks:t,onStockClick:o,initialDisplayCount:c,lang:d}),(0,n.jsx)("div",{className:"h-[86px] leading-[0]",children:(0,n.jsx)("a",{href:a.F.url,target:"_blank",rel:"noopener",onClick:s,children:(0,n.jsx)("img",{className:"block rounded-lg",src:a.F.imageSrc,alt:m("bannerAlt"),width:a.F.width,height:a.F.height,loading:"lazy"})})})]})}},18102:(e,s,t)=>{t.d(s,{t:()=>n});var a=t(19780),l=t(11943),r=t(28176),i=t(6688),n=e=>{let{items:s,lang:t="ja-JP"}=e,n=(0,r.Ru)({lang:t,dict:a.PY});return s&&0!==s.length?(0,i.jsx)("nav",{"aria-label":n("navigationLabel"),children:(0,i.jsx)("ul",{className:"flex",children:s.filter(e=>e.isShown).map(e=>{let s=(0,l.QP)("\n font-bold leading-none whitespace-nowrap cursor-pointer\n relative flex items-center\n transition-colors duration-200 ease-in-out\n h-9 pt-[9px] pb-0 px-2 text-xs inline-block\n md:h-12 md:px-4 md:text-sm md:flex md:items-center\n ",e.isActive?"text-text-primary":"text-text-secondary",e.isActive?"":"hover:text-text-primary","border-b-2",e.isActive?"border-border-primary":"border-transparent hover:border-border-primary"),{tag:t="a"}=e;return(0,i.jsx)("li",{className:"group",children:(0,i.jsx)(t,{href:e.href,className:s,children:e.label})},e.key)})})}):null}},18935:(e,s,t)=>{t.d(s,{B:()=>n});var a=t(52047),l=t(28176),r=t(6688),i=t(95116),n=({slotTags:e,lang:s})=>{let t=(0,i.useRef)(null),[n,o]=(0,i.useState)(!1),[c,d]=(0,i.useState)(!1),m=(0,l.Ru)({lang:s,dict:a.x});return(0,i.useEffect)(()=>{let e=t.current,s=e?.querySelector("ul");null!=e&&null!=s&&o(e.offsetHeight<s.offsetHeight)},[]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{id:"hashtag-accordion",className:c?"":"max-h-[4.375rem] overflow-hidden",ref:t,children:e}),n&&(0,r.jsx)("div",{className:"mt-1",children:(0,r.jsx)("button",{type:"button",className:"text-sm underline","aria-expanded":c,"aria-controls":"hashtag-accordion",onClick:()=>d(e=>!e),children:m(c?"closeButton":"showAllTagsButton")})})]})}},19780:(e,s,t)=>{t.d(s,{PY:()=>l,_s:()=>r,aj:()=>i,wv:()=>a,yZ:()=>n});var a={"ja-JP":{creatorTopPageLabel:"{creatorName}ããã®ã¯ãªã¨ã¤ã¿ã¼ãã¼ã¸"}},l={"ja-JP":{navigationLabel:"ã¡ã³ãã¼ã·ãããã¼ã¸ã¡ãã¥ã¼"}},r={"ja-JP":{title:"ãã©ã³ã®ä¼è²»ã夿´ãã¾ã",currentPrice:"ç¾å¨ã®ä¼è²»",newPrice:"æ°ããä¼è²»",pricePerMonth:"{price}å/æ",effectiveDate:"æ°ããä¼è²»ã¯",effectiveDateBold:"次ã
1®æ±ºæ¸æ¥ï¼{date}ï¼",effectiveDateSuffix:"ããé©ç¨ããã¾ãã",cancelButton:"ãã£ã³ã»ã«",confirmButton:"ãã©ã³ã夿´ãã"}},i={"ja-JP":{heading2:"è¦åºã2",heading3:"è¦åºã3",bold:"太å",bulletList:"ç®æ¡æ¸ããªã¹ã",orderedList:"çªå·ä»ããªã¹ã",link:"ãªã³ã¯",linkPlaceholder:"URLãå
¥å",linkApply:"é©ç¨",linkRemove:"è§£é¤",indentIncrease:"ã¤ã³ãã³ããå¢ãã",indentDecrease:"ã¤ã³ãã³ããæ¸ãã",blockquote:"å¼ç¨",codeBlock:"ã³ã¼ããããã¯"}},n={"ja-JP":{title:"ä¼è²»ã®å¤æ´å±¥æ´",priceChange:"{priceBefore}å ãã {priceAfter}åã¸",closeButton:"éãã",noHistory:"夿´å±¥æ´ã¯ããã¾ãã"}}},20729:(e,s,t)=>{t.d(s,{K:()=>a});var a={"ja-JP":{defaultSupportText:"ãã®è¨äºãæ°ã«å
¥ã£ãããããã§å¿æ´ãã¦ã¿ã¾ãããï¼",supportButtonText:"ãããã§å¿æ´"}}},21244:(e,s,t)=>{t.d(s,{a:()=>m});var a=t(81006),l=t(62511),r=t(7148),i=t(90966),n=t(42558),o=t(98161),c=t(11943),d=t(6688);function m(e){let{slotProfile:s,slotFollowButton:t,slotFollowedLabel:m,isOpen:x,onToggle:u,creatorName:h,linkElementType:p="a",avatarSrc:f,profileHref:g,imageElementType:j="img"}=e,b=(0,a.s)(l.Os);return(0,d.jsxs)("div",{children:[(0,d.jsxs)(r.A,{children:[(0,d.jsx)(i.A,{type:"button",variant:"clickableIcon",onPress:u,"aria-label":b(x?"hideProfile":"showProfile"),"aria-expanded":x,children:x?(0,d.jsx)(o.aUx,{size:"l","aria-label":b("hideProfile")}):(0,d.jsx)(o.nnm,{size:"l","aria-label":b("showProfile")})}),(0,d.jsx)(n.A,{children:b(x?"hideProfile":"showProfile")})]}),(0,d.jsxs)("div",{className:"mt-2 mb-6 flex items-center gap-2",children:[(0,d.jsx)(p,{href:g,className:(0,c.QP)("block shrink-0 overflow-hidden rounded-[2rem] transition-all",x?"size-14":"size-6"),children:(0,d.jsx)(j,{className:"h-auto w-full max-w-full",src:f,alt:h,width:56,height:56})}),(0,d.jsx)("p",{className:(0,c.QP)("line-clamp-2 font-bold transition-all",x?"":"text-xs"),children:(0,d.jsx)(p,{href:g,children:h})})]}),x&&null!=m&&(0,d.jsx)("div",{className:"mb-2 empty:hidden",children:m}),void 0!==s&&(0,d.jsx)("div",{className:(0,c.QP)("mt-4 mb-6 text-text-secondary text-xs transition-all",x?"":"opacity-0"),children:s}),x&&t]})}},23014:(e,s,t)=>{t.d(s,{B9:()=>a,SA:()=>n,St:()=>l,YI:()=>i,YU:()=>r});var a={"ja-JP":{fixedArticle:"åºå®ãããè¨äº"}},l={"ja-JP":{saveArticle:"è¨äºãä¿å",close:"éãã",saveToMagazine:"è¨äºãä¿å"}},r={"ja-JP":{help:"ãã«ã",private:"éå
¬é",paid:"ææ",select:"鏿",selected:"鏿æ¸",commit:"追å ",commited:"è¿½å æ¸",noteCountUnit:"æ¬",statusDeleted:"å餿¸ã¿"}},i={"ja-JP":{imageInArticle:"è¨äºå
ç»å"}},n={"ja-JP":{latest:"æ°ç",popular:"人æ°",buttonGroup:"è¨äºã®ä¸¦ã³é "}}},24374:(e,s,t)=>{t.r(s),t.d(s,{AddArticle:()=>_.S,AddArticleTrigger:()=>I,AdminAction:()=>p,AfterGuestLikingOnboarding:()=>ej.y,AicnHashtagLinkCard:()=>y,AicnThingsSlider:()=>C.M,Anchor:()=>G.M,ArticleComment:()=>H.C,ArticleCommentEditForm:()=>U.K,ArticleCommentEmptyState:()=>O.G,ArticleCommentForm:()=>J.C,ArticleCommentTextArea:()=>Q.Q,ArticleSortButtonGroup:()=>D.E,ArticleStatsListItem:()=>V,AvatarList:()=>q.Q,CommentAction:()=>f.m,CommonSignupWithProviderDialog:()=>sv.p,Confetti:()=>X.N,ConfirmPriceChangeDialog:()=>eV,ContextNetworkHashtagCard:()=>Y.E,CreatorCard:()=>tu,CreatorList:()=>ei.J,CreatorListItem:()=>er.Q,CreatorListItemContentProvider:()=>el.s,CreatorQuickLook:()=>tj,EmbedSoundPlayer:()=>tY,FoldableProfileText:()=>tb.c,FoldableText:()=>en.x,FollowButton:()=>tv.W,FollowThanks:()=>tN.L,FormattedNumber:()=>ed.G,HashtagAccordion:()=>sC.B,HeaderMenu:()=>e0.t,Hero:()=>em,HiddenNoteCard:()=>eh,HtmlAstRenderer:()=>s4,Image:()=>j._,ImagePreviewOverlay:()=>ef,InlineList:()=>k.c,LightBox:()=>eg.Q,Like:()=>eb.O,LikeAnimation:()=>ey,LikeThanks:()=>ev.d,LikeUserListDialog:()=>ew.T,LikedUserAvatar:()=>eC.E,LinkedText:()=>Z.f,LiveArea:()=>eP,LiveBroadcastControls:()=>ez,LiveBroadcastEndDialog:()=>eT,LiveChatComposer:()=>eB,LiveChatMessage:()=>eF,LiveChatPanel:()=>eE,LiveContent:()=>eR,LiveProgramAudienceFields:()=>e_,LiveProgramFormFields:()=>eD,LiveProgramPublishSettingsFields:()=>eH,LoginForm:()=>eO,MagazineFollowButton:()=>eQ.E,MagazineListItem:()=>e$,Maximization:()=>t0.$,MembershipCardHeader:()=>e9.m,MembershipHeader:()=>e1.Q,MembershipKeyVisualSection:()=>e2.Z,MembershipListItem:()=>e6,MembershipMarkdownContent:()=>eq.F,MembershipPlanListItem:()=>se,MembershipResultCard:()=>st,MembershipResultList:()=>sa,MembershipRichEditor:()=>eZ,MembershipSummaryCard:()=>sr,MfaCodeForm:()=>si,MfaEmailForm:()=>sn,MfaFatalState:()=>sc,MfaLoadingState:()=>sd,MfaPageLayout:()=>so,MfaPasskeyForm:()=>sm,MfaProfileHeader:()=>sx,MfaResendMessage:()=>su,MfaSmsForm:()=>sh,MonthlyArchive:()=>S.o,MonthlyArchiveItem:()=>P.D,MonthlyArchiveList:()=>A.o,MoreAction:()=>a.C,MultipleImages:()=>sO,NOTE_MONEY_BANNER:()=>sP.F,NOTE_MONEY_URL:()=>sP.U,Navigation:()=>sk.V,NoteMoneyBanner:()=>sS.p,Pagination:()=>sL.d,PaywallItem:()=>sF.C,PaywallRecommendation:()=>sz.A,PaywallRecommendationModalContent:()=>sB,PlanPriceInfo:()=>sI,PlanStatusBadge:()=>sD,PostBodyField:()=>sQ.x,PostEditor:()=>s$.g,PostPreviewContent:()=>sW.O,PostTitleField:()=>sV.N,PraiseDialog:()=>ti,PraiseDialogImage:()=>s8,PraiseDialogStreakCount:()=>s3,PraiseNoticeDialog:()=>tc,PraiseNoticeShareButtons:()=>td.J,PraiseNoticeToast:()=>tm.Q,PriceHistoryDialog:()=>e4,PriceInputDescription:()=>e8,PriceInputSection:()=>e5,ProcessedSalesTable:()=>tR,ProfileCard:()=>ty.a,ProfileSocialLink:()=>tw.X,ProfileTalesLink:()=>tk.X,PromptSignup:()=>sb,PromptSignupDialog:()=>sg.X,PublishStatusBadge:()=>W,ReadMoreContainer:()=>sH.H,RecommendCreator:()=>tu,RecommendedMembershipCard:()=>tM,RelatedStockList:()=>sA.C,ReplyButton:()=>sq.b,ReplyEditor:()=>sX.S,ResetPasswordForm:()=>tB,SalesAmountCard:()=>tI,SalesAmountRow:()=>t_,SalesDetailBreakdownSection:()=>
1tD,SalesDetailSumCard:()=>tH,SalesSummarizingCard:()=>tU,ShareAction:()=>l.i,ShareThanks:()=>tO.z,SignupList:()=>sf.t,SignupSocials:()=>sp.n,SignupWithAppleDialog:()=>sN.T,SignupWithGoogleDialog:()=>sy.w,SignupWithXDialog:()=>sw.r,SingleImage:()=>sK,SnsShareButtons:()=>K.t,SocialData:()=>sp.c,SoundControl:()=>tq,Stepper:()=>eU,StickyHeaderMenu:()=>e3.w,SupportButton:()=>tZ,SupportPriceForm:()=>t7,TocAction:()=>g.b,TransferStatusBadge:()=>tF,TrendMessage:()=>as,TrendMessageList:()=>at,TruncatedText:()=>eo.G,UnpaidSalesTable:()=>tJ,WideSoundPlayer:()=>tX,YoutubeWidget:()=>al.c,YoutubeWidgetThumbnail:()=>aa.C,formatCount:()=>ec.B4,useCreatorListItemContent:()=>el.u,useCurrency:()=>ee.H,useFollowThanks:()=>tC.Q,useInlineList:()=>w.v,useLikeThanks:()=>ek.q,usePostEditorIds:()=>sY,useQuickLookHover:()=>tP.O,useSound:()=>ea,useThanksMessage:()=>tA.G,useYoutubeWidget:()=>es.d});var a=t(61041),l=t(19165),r=t(81006),i=t(14222),n=t(67740),o=t(7148),c=t(90966),d=t(42558),m=t(27945),x=t(59526),u=t(98161),h=t(6688),p=e=>{let{triggerProps:s,menuProps:t}=e,{"aria-label":a,size:l,...p}=s??{},f=(0,r.s)(i.Qo);return(0,h.jsxs)(n.A,{...p,children:[(0,h.jsxs)(o.A,{children:[(0,h.jsx)(c.A,{variant:"clickableIcon",children:(0,h.jsx)(u.E6b,{size:l,"aria-label":a||f("adminActionLabel")})}),(0,h.jsx)(d.A,{children:(0,h.jsx)("span",{"aria-hidden":!0,children:f("adminActionLabel")})})]}),(0,h.jsx)(m.A,{...t,children:e=>(0,h.jsx)(x.q,{textValue:e.name,children:(0,h.jsx)("span",{className:"text-text-secondary",children:e.name})},e.name)})]})},f=t(90181),g=t(30498),j=t(79325),b=t(64962),v=t(11943),N=t(95116);function y(e){let{hashtag:s,description:t="",imageUrl:a="",fallbackImageUrl:l,href:r,slotAnchor:i,unSafeClassName:n}=e,[o,c]=(0,N.useState)(!1),[d,m]=(0,N.useState)(a);a!==d&&(m(a),c(!1));let x=o||!a?l:a;return(0,h.jsxs)("div",{className:(0,v.QP)("relative flex max-w-[26.25rem] items-center overflow-hidden rounded-lg border border-border-default border-solid bg-surface-normal",n),children:[r&&null!=i&&(0,h.jsx)(b.p,{defaultProps:{href:r,title:`#${s}`},children:i}),(0,h.jsxs)("div",{className:"pointer-events-none flex w-full items-center",children:[(0,h.jsxs)("div",{className:"flex min-w-0 flex-1 flex-col gap-1 px-4 py-3",children:[(0,h.jsxs)("div",{className:"flex w-full items-center gap-1.5",children:[(0,h.jsx)("div",{className:"flex size-[1.625rem] shrink-0 items-center justify-center overflow-hidden rounded-lg bg-background-secondary",children:(0,h.jsx)("span",{className:"font-bold text-lg text-text-secondary",children:"#"})}),(0,h.jsx)("span",{className:"min-w-0 flex-1 truncate font-bold text-text-primary text-xs",children:s})]}),(0,h.jsx)("p",{className:"m-0 line-clamp-2 w-full text-text-primary text-xs",children:t})]}),(0,h.jsx)("div",{className:"w-px shrink-0 self-stretch bg-border-default"}),(0,h.jsx)("div",{className:"flex size-20 shrink-0 items-center justify-center p-1",children:(0,h.jsx)(j._,{imageSrc:x,imageAlt:s,fit:"contain",disableAspectRatio:!0,unSafeClassName:"size-full",onError:()=>{o||c(!0)}})})]})]})}var w=t(79826),k=t(64242),C=t(84332),P=t(63428),A=t(62743),S=t(25667),L=t(23014),z=t(9178),M=t(54515),T=t(8901),B=t(43868),F=t(36171),E=t(38702),R=t(28176);function I(e){let{onOpenChange:s,size:t,slotDialog:a,lang:l="ja-JP",...r}=e,i=(0,R.Ru)({lang:l,dict:L.St});return(0,h.jsxs)(z.A,{...r,onOpenChange:s,children:[(0,h.jsx)(c.A,{variant:"clickableIcon",children:(0,h.jsx)(u.ad2,{size:t,"aria-label":i("saveToMagazine")})}),e=>(0,h.jsxs)(M.A,{children:[(0,h.jsx)(T.A,{children:(0,h.jsx)("h1",{children:i("saveArticle")})}),(0,h.jsx)(B.A,{unsafeClassName:"p-0",children:a}),(0,h.jsx)(F.A,{children:(0,h.jsx)(E.A,{variant:"basic",onPress:e,children:i("close")})})]})]})}var _=t(37417),D=t(95063),H=t(30252),U=t(35806),J=t(85234),O=t(8190),Q=t(96998),$={published:{label:"å
¬éä¸",dotClass:"bg-surface-success"},private:{label:"éå
Ž",dotClass:"bg-surface-disabled"}},W=({status:e,unsafeClassName:s})=>{let{label:t,dotClass:a}=$[e];return(0,h.jsxs)("span",{className:(0,v.QP)("inline-flex items-center font-bold text-text-secondary text-xs leading-[1.125rem]",s),children:[(0,h.jsx)("span",{className:(0,v.QP)("mr-1 size-[0.625rem] shrink-0 rounded-full",a),"aria-hidden":"true"}),t]})},V=({title:e,status:s,publishedAt:t,likeCount:a,viewCount:l,commentCount:r,sales:i,unsafeClassName:n})=>(0,h.jsxs)("div",{className:(0,v.QP)("flex items-center gap-4 py-4",n),children:[(0,h.jsxs)("div",{className:"flex min-w-[10rem] flex-1 flex-col gap-1",children:[(0,h.jsx)("p",{className:"truncate font-bold text-sm text-text-primary leading-[1.3125rem]",children:e}),(0,h.jsxs)("div",{className:"flex items-center gap-2",children:[(0,h.jsx)(W,{status:s}),t&&(0,h.jsx)("span",{className:"text-text-secondary text-xs leading-[1.125rem]",children:t})]})]}),(0,h.jsx)("span",{className:"w-16 shrink-0 text-center text-sm text-text-secondary leading-[1.3125rem]",children:a}),(0,h.jsx)("span",{className:"w-16 shrink-0 text-center text-sm text-text-secondary leading-[1.3125rem]",children:l}),(0,h.jsx)("span",{className:"w-16 shrink-0 text-center text-sm text-text-secondary leading-[1.3125rem]",children:r}),(0,h.jsx)("span",{className:"w-16 shrink-0 text-center text-sm text-text-secondary leading-[1.3125rem]",children:i})]}),q=t(17262),X=t(69824),K=t(48399),Y=t(21014),G=t(59018),Z=t(89909),ee=t
1(4277),es=t(24487),et=t(93567),ea=({src:e,preload:s=!1})=>{let t=(0,N.useRef)(void 0),[a,l]=(0,N.useState)(0),[r,i]=(0,N.useState)(0),[n,o]=(0,N.useState)(!1),[c,d]=(0,N.useState)(1),m=(0,N.useCallback)(()=>{void 0!==t.current&&cancelAnimationFrame(t.current)},[]),x=(0,N.useMemo)(()=>{let a=new et.Howl({src:e,html5:!0,volume:.5,preload:s,rate:1,onplay:()=>{r(),n()},onend:()=>{r(),m(),n()},onpause:()=>{r(),m(),n()},onstop:()=>{r(),m(),n()},onload:()=>{l(x.duration())}}),r=()=>{o(a.playing())},n=()=>{t.current=requestAnimationFrame(n),i(a.seek())};return a},[e,s,m]);return{seek:r,setSeek:e=>x.seek(e),isPlaying:n,duration:a,rate:c,play:()=>x.play(),pause:()=>x.pause(),setRate:(0,N.useCallback)(e=>{d(e),x.rate(e)},[x])}},el=t(48378),er=t(15247),ei=t(59416),en=t(95676),eo=t(71817),ec=t(45971),ed=t(83179),em=e=>{let{imageSrc:s}=e;return(0,h.jsx)(h.Fragment,{children:s&&(0,h.jsx)("div",{className:"max-h-[43.27rem]",children:(0,h.jsx)(j._,{...e})})})},ex={"ja-JP":{article:"è¨äºã",hidden:"é表示ã«ãã¾ãã",description:"ä»å¾ã®ããããã«ãæ´»ãããã¾ã",revert:"å
ã«æ»ã"}},eu="https://assets.st-note.com/poc-image/manual/note-common-images/production/svg/notice-bulb.svg",eh=({onUnhide:e,cardLayout:s})=>{let t=(0,r.s)(ex);return"inline"===s?(0,h.jsxs)("div",{className:"flex items-center gap-6 rounded-lg border border-border-default px-4 py-3",children:[(0,h.jsxs)("div",{className:"flex flex-1 flex-col gap-2",children:[(0,h.jsxs)("p",{className:"font-bold text-sm text-text-secondary",children:[t("article"),t("hidden")]}),(0,h.jsxs)("div",{className:"flex items-center gap-1",children:[(0,h.jsx)(j._,{imageSrc:eu,imageAlt:"",imageWidth:32,imageHeight:32,fit:"contain",unSafeClassName:"h-8 w-8 shrink-0"}),(0,h.jsx)("p",{className:"text-text-secondary text-xs",children:t("description")})]})]}),(0,h.jsx)(E.A,{variant:"basic",size:"s",onPress:e,children:t("revert")})]}):(0,h.jsxs)("div",{className:"flex h-full flex-col justify-center gap-2 rounded-lg border border-border-default px-2 py-6 sm:px-4",children:[(0,h.jsxs)("p",{className:"text-center font-bold text-sm text-text-secondary",children:[t("article"),(0,h.jsx)("br",{}),t("hidden")]}),(0,h.jsx)(j._,{imageSrc:eu,imageAlt:"",imageWidth:32,imageHeight:32,fit:"contain",unSafeClassName:"mx-auto h-8 w-8"}),(0,h.jsxs)("div",{className:"flex flex-col items-center justify-center gap-6",children:[(0,h.jsx)("p",{className:"text-center text-text-secondary text-xs",children:t("description")}),(0,h.jsx)(E.A,{variant:"basic",size:"s",onPress:e,children:t("revert")})]})]})},ep=t(5629),ef=({imageSrc:e,imageAlt:s="",isOpen:t,onClose:a,closeLabel:l="éãã",dialogLabel:r="ç»åãã¬ãã¥ã¼",slotCloseIcon:i})=>t?(0,h.jsx)(ep.A,{isDismissable:!0,onDismiss:a,type:"fullscreenTakeover",children:(0,h.jsx)(M.A,{"aria-label":r,unsafeClassName:"bg-surface-image-overlay",children:(0,h.jsxs)("div",{className:"flex h-dvh w-screen items-center justify-center py-8",children:[(0,h.jsx)("div",{className:"absolute top-4 right-4 z-10",children:(0,h.jsx)(c.A,{variant:"onImage",isCircle:!0,onPress:a,children:i??(0,h.jsx)(u.bm,{"aria-label":l})})}),(0,h.jsx)("img",{src:e,alt:s,className:"max-h-full w-full object-contain",onClick:e=>e.stopPropagation()})]})})}):null,eg=t(22905),ej=t(62932),eb=t(31940),ev=t(93469),eN=t(73444);function ey(e){let{handleAnimationEnd:s}=e;return(0,h.jsx)("div",{onAnimationEnd:s,className:eN("-translate-x-1/2 -translate-y-1/2 pointer-events-none absolute top-3 left-3 size-20 overflow-hidden bg-[length:0_0] bg-[url('https://assets.st-note.com/poc-image/manual/note-common-images/production/icons/like_animation_sprite.png')] before:block before:h-20 before:w-[190rem] before:animate-likeAnimation before:bg-[length:100%_auto] before:bg-[url('https://assets.st-note.com/poc-image/manual/note-common-images/production/icons/like_animation_sprite.png')] before:bg-left-top before:bg-no-repeat ")})}var ew=t(78087),ek=t(76484),eC=t(62411);function eP({slotContent:e,slotChat:s,className:t}){return(0,h.jsxs)("div",{className:(0,v.QP)("mx-auto grid w-full max-w-[80rem] grid-cols-1 gap-6 px-4 pt-6 pb-16 sm:px-6",null==s?"max-w-[58rem]":"lg:grid-cols-[minmax(0,55rem)_minmax(18rem,1fr)]",t),children:[(0,h.jsx)("div",{className:"min-w-0",children:e}),null!=s&&(0,h.jsx)("div",{className:"flex min-w-0 flex-col",children:s})]})}var eA={"ja-JP":{controls:"é
ä¿¡æä½",microphone:"ãã¤ã¯",muteMicrophone:"ãã¤ã¯ããã¥ã¼ã",unmuteMicrophone:"ãã¤ã¯ã®ãã¥ã¼ããè§£é¤",camera:"ã«ã¡ã©",screenShare:"ç»é¢å
±æ",endTrial:"ã試ãè¦è´ãçµäº",remaining:"(æ®ã {time})",trialEnded:"ã試ãè¦è´ã¯çµäºãã¾ãã",endBroadcast:"é
ä¿¡ãçµäº"}}
1,eS="live-broadcast-controls:action",eL=({label:e,icon:s,items:t,selectedId:a,onSelect:l,isDisabled:r,action:i})=>{let[u,p]=(0,N.useState)(!1),f=r||0===t.length,g=i?[{id:eS,label:i.label},...t]:t;return(0,N.useEffect)(()=>{f&&p(!1)},[f]),(0,h.jsxs)(n.A,{direction:"top",isOpen:u,onOpenChange:e=>p(e??!1),children:[(0,h.jsxs)(o.A,{children:[(0,h.jsx)(c.A,{"aria-label":e,variant:u?"primaryNext":"none",size:"xxxl",isDisabled:f,children:(0,h.jsx)("span",{className:"flex size-16 items-center justify-center",children:s})}),(0,h.jsx)(d.A,{children:e})]}),(0,h.jsx)(m.A,{"aria-label":e,selectionMode:"single",selectedKeys:null===a?[]:[a],disabledKeys:f?g.map(e=>e.id):[],onAction:e=>{void 0!==e&&(e===eS?i?.onAction():l(String(e)))},items:g,children:e=>(0,h.jsx)(x.q,{textValue:e.label,children:(0,h.jsx)("span",{className:"break-words",children:e.label})},e.id)})]})},ez=({microphone:e,camera:s,isScreenSharing:t,onScreenShare:a,isScreenShareDisabled:l,trial:i,onEndBroadcast:n,isEndBroadcastDisabled:m})=>{let x=(0,r.s)(eA),{isMuted:p,onToggleMute:f,...g}=e,j=x(p?"unmuteMicrophone":"muteMicrophone");return(0,h.jsxs)("section",{"aria-label":x("controls"),className:"flex min-w-0 flex-wrap items-center justify-between gap-2 rounded-lg bg-surface-normal px-5 py-2",children:[(0,h.jsxs)("div",{className:"flex shrink-0 items-center gap-2",children:[(0,h.jsx)(eL,{...g,label:x("microphone"),action:{label:j,onAction:f},icon:(0,h.jsx)(u.WpH,{size:"xl","aria-hidden":!0,"aria-label":""})}),(0,h.jsx)(eL,{...s,label:x("camera"),icon:(0,h.jsx)(u.ngt,{size:"xl","aria-hidden":!0,"aria-label":""})}),(0,h.jsxs)(o.A,{children:[(0,h.jsx)(c.A,{"aria-label":x("screenShare"),"aria-pressed":t,variant:t?"primaryNext":"none",size:"xxxl",isDisabled:l,onPress:a,children:(0,h.jsx)("span",{className:"flex size-16 items-center justify-center",children:(0,h.jsx)(u._uQ,{size:"xl","aria-hidden":!0,"aria-label":""})})}),(0,h.jsx)(d.A,{children:x("screenShare")})]})]}),(0,h.jsxs)("div",{className:"flex min-w-0 flex-wrap items-center justify-end gap-2",children:[i?.state==="active"&&(0,h.jsx)(E.A,{variant:"dangerSecondary",size:"m",isDisabled:i.isDisabled,onPress:i.onEnd,children:(0,h.jsxs)("span",{className:"whitespace-normal break-words",children:[x("endTrial"),i.remainingTimeLabel&&(0,h.jsxs)(h.Fragment,{children:[" ",x("remaining",{time:i.remainingTimeLabel})]})]})}),i?.state==="ended"&&(0,h.jsx)("p",{className:"text-text-secondary text-xs",children:x("trialEnded")}),(0,h.jsx)(E.A,{variant:"danger",size:"m",isDisabled:m,onPress:n,children:x("endBroadcast")})]})]})},eM={"ja-JP":{trialTitle:"ã¾ã æéãæ®ã£ã¦ãã¾ã",trialDescription:"ã試ãè¦è´ãçµäºãã¦ãããããã§ããï¼\næéã«ãªãã¨èªåçã«ã試ãè¦è´ã¯çµäºãã¾ãã\n\nâ»ã¡ã³ãã¼ã·ããä¼å¡åãã®ã©ã¤ãé
ä¿¡ã¯ããã®ã¾ã¾ç¶ç¶ãã¾ãã",trialConfirm:"ã試ãè¦è´ãçµäº",trialCancel:"ãã¾ã¯ããªã",broadcastTitle:"é
ä¿¡ãçµäºãã¾ããï¼",broadcastDescription:"çµäºããã¨é
ä¿¡ã¯åéã§ãã¾ãããé²ç»ã¯ã¢ã¼ã«ã¤ãã«ä¿åãããé
ä¿¡è¨å®ã®å
¬éç¯å²ã«ãããã£ã¦å
¬éããã¾ãã",broadcastConfirm:"çµäºãã",broadcastCancel:"ãã£ã³ã»ã«"}},eT=({kind:e,onConfirm:s,onClose:t,isConfirmDisabled:a,slotNotice:l})=>{let i=(0,r.s)(eM);return(0,h.jsxs)(M.A,{size:"s",hasCloseButton:!0,onDismiss:t,children:[(0,h.jsxs)(B.A,{slotTitle:(0,h.jsx)("span",{className:"flex min-h-10 items-center justify-center px-7",children:i(`${e}Title`)}),unsafeClassName:"min-h-0 py-6",children:[(0,h.jsx)("p",{className:"trial"===e?"whitespace-pre-line break-words text-center":"break-words",children:i(`${e}Description`)}),l]}),(0,h.jsxs)(F.A,{direction:"column",children:[(0,h.jsx)(E.A,{variant:"danger",size:"m",isFull:!0,isDisabled:a,onPress:s,children:i(`${e}Confirm`)}),(0,h.jsx)(E.A,{variant:"trial"===e?"none":"basic",size:"m",isFull:!0,onPress:t,children:i(`${e}Cancel`)})]})]})},eB=({id:e,value:s,onChange:t,onSubmit:a,isReadOnly:l,isInvalid:r,isDisabled:i,label:n,hint:o,slotSubmitButton:c})=>{let d=(0,N.useRef)(null);return(0,h.jsxs)("form",{onSubmit:e=>{e.preventDefault(),i||l||a(),d.current?.focus()},className:"flex shrink-0 items-center gap-2 border-border-default border-t px-3.5 py-4",children:[(0,h.jsx)("span",{className:"size-5 shrink-0 rounded-full bg-surface-tertiary"}),(0,h.jsx)("label",{htmlFor:`${e}-body`,className:"sr-only",children:n}),(0,h.jsx)("textarea",{ref:d,id:`${e}-body`,rows:1,placeholder:n,value:s,onChange:e=>t(e.target.value),readOnly:l,onKeyDown:e=>{"Enter"===e.key&&(e.ctrlKey||e.metaKey)&&!e.nativeEvent.isComposing&&(e.preventDefault(),e.currentTarget.form?.requestSubmit())},"aria-describedby":`${e}-hint ${e}-error`,"aria-invalid":r,className:"min-w-0 flex-1 resize-none bg-transparent text-sm text-text-primary placeholder:text-text-disabled"}),(0,h.jsx)("p",{id:`${e}-hint`,className:"sr-only",children:o}),c]})},eF=({author:e,dateTime:s,timeLabel:t,body:a,slotBadge:l})=>(0,h.jsxs)("div",{className:"flex items-start gap-2 px-1.5 py-1",children:[(0,h.jsx)("span",{className:"mt-px size-[1.125rem] shrink-0 rounded-full bg-surface-tertiary"}),(0,h.jsxs)("div",{className:"flex min-w-0 flex-1 flex-wrap items-start gap-2 text-xs",children:[(0,h.jsx)("time",{dateTime:s,className:"whitespace-nowrap text-text-secondary",children:t}),(0,h.jsx)("span",{className:"min-w-0 truncate font-bold text-text-secondary",children:e}
1),l,(0,h.jsx)("p",{className:"min-w-0 whitespace-pre-wrap break-words text-text-primary",children:a})]})]}),eE=({id:e,title:s,status:t,error:a,notice:l,slotMessages:r,slotComposer:i})=>(0,h.jsxs)("section",{"aria-labelledby":`${e}-title`,className:"flex min-h-0 flex-1 flex-col overflow-hidden rounded-b-lg border border-border-default bg-surface-normal md:max-w-[25rem]",children:[(0,h.jsx)("h2",{id:`${e}-title`,className:"shrink-0 border-border-default border-b px-4 py-3 font-bold text-sm",children:s}),r,l&&(0,h.jsx)("p",{className:"px-4 py-2 text-text-secondary text-sm",children:l}),(0,h.jsx)("p",{role:"status","aria-live":"polite","aria-atomic":"true",className:"px-4 text-xs [&:not(:empty)]:py-1",children:t}),(0,h.jsx)("p",{id:`${e}-error`,role:"alert","aria-atomic":"true",className:"px-4 text-text-danger text-xs [&:not(:empty)]:py-1",children:a}),i]});function eR({title:e,headingLevel:s=1,creatorName:t,description:a,slotPlayer:l,slotStatus:r,viewerCount:i,elapsedLabel:n,publishedLabel:o,slotAvatar:c,slotCreatorAction:d,slotActions:m,lang:x,className:u}){let p=`h${s}`;return(0,h.jsxs)("div",{className:(0,v.QP)("min-w-0 bg-surface-normal text-text-primary",u),children:[(0,h.jsxs)("div",{className:"rounded-md border border-border-weak",children:[(0,h.jsx)("div",{className:"aspect-video min-w-0 rounded-t-md bg-surface-invert",children:l}),(0,h.jsxs)("div",{className:"flex flex-wrap items-center gap-x-4 gap-y-2 rounded-b-md bg-surface-invert px-4 py-2 text-text-invert text-xs leading-normal [overflow-wrap:anywhere]",children:[(0,h.jsx)("div",{className:"flex min-w-0 items-center",children:r}),void 0!==i&&(0,h.jsxs)("p",{children:[(0,h.jsx)(ed.G,{rawNumber:i.value,mode:"exact",lang:x,className:"font-bold"}),i.suffix]}),n&&(0,h.jsx)("p",{children:n})]})]}),(0,h.jsxs)("div",{className:"pt-5 pb-4 [overflow-wrap:anywhere]",children:[(0,h.jsx)(p,{className:"font-bold text-2xl leading-normal tracking-[0.04em]",children:e}),(0,h.jsxs)("div",{className:"flex flex-wrap items-center gap-2 pt-5",children:[c&&(0,h.jsx)("div",{className:"shrink-0",children:c}),(0,h.jsxs)("div",{className:"min-w-0 flex-1 text-xs leading-normal",children:[(0,h.jsx)("p",{children:t}),o&&(0,h.jsx)("p",{className:"text-text-secondary",children:o})]}),d&&(0,h.jsx)("div",{className:"max-w-full",children:d})]}),a&&(0,h.jsx)("p",{className:"pt-4 whitespace-pre-wrap text-lg leading-loose",children:a}),m&&(0,h.jsx)("div",{className:"flex flex-wrap gap-2 pt-4",children:m})]})]})}var eI={"ja-JP":{scheduleTitle:"é
ä¿¡æ¥æ",scheduleHint:"æ¥æãè¨å®ããã¨ãäºç´é
ä¿¡ã«åãæ¿ããã¾ãã\nâ»1åã®é
ä¿¡ã¯æå¤§1æéã§ããä¸éã«è¿ã¥ãã¨é
ä¿¡ä¸ã«ãç¥ãããã¾ãã",audienceTitle:"åå è
ã®è¨å®",audienceHint:"é
ä¿¡ããã«è¦è´ã§ãããã£ãããéä¿¡ã§ãã¾ããâ»ç¡æãã©ã³ã¯å¯¾è±¡ã«ã§ãã¾ãã",trialTitle:"ã試ãè¦è´ãæå¹ã«ãã",trialHint:"ã¡ã³ãã¼ã·ããæªå å
¥ã®äººããé
ä¿¡éå§ãã{minutes}åéã¯ç¡æã§è¦è´ã§ãã¾ããå å
¥ã®ãã£ããã¥ããã«å½¹ç«ã¡ã¾ãã\né
ä¿¡ä¸ã¯ãã¤ã§ãçµäºã§ãã¾ããã試ãä¸ã®äººã¯ã³ã¡ã³ããæç¨¿ã§ãã¾ããã",archiveTitle:"é
ä¿¡çµäºå¾ã«ã¢ã¼ã«ã¤ããå
¬éãã",archiveHint:"å
¬éããã¨ãè¦è´ã§ãããã©ã³ã®ä¼å¡ããã¨ãããã¤ã§ãè¦è¿ãã¾ãã",stepCompleted:"å®äº",stepIncomplete:"æªå®äº"}},e_=({slotPlansField:e})=>{let s=(0,r.s)(eI);return(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)("h3",{className:"font-bold text-lg text-text-primary",children:s("audienceTitle")}),(0,h.jsx)("p",{className:"text-text-secondary text-xs",children:s("audienceHint")}),e]})},eD=({slotTitleField:e,slotDescriptionField:s,slotThumbnailField:t})=>(0,h.jsxs)("div",{className:"flex flex-col gap-4",children:[e,s,t]}),eH=({trialMinutes:e,slotScheduleFields:s,slotAudienceFields:t,slotTrialField:a,slotArchiveField:l})=>{let i=(0,r.s)(eI);return(0,h.jsxs)("div",{className:"flex flex-col",children:[(0,h.jsxs)("section",{className:"flex flex-col gap-4 pt-8 pb-2",children:[(0,h.jsx)("h3",{className:"font-bold text-lg text-text-primary",children:i("scheduleTitle")}),(0,h.jsxs)("div",{className:"flex items-center gap-4",children:[(0,h.jsx)("p",{className:"flex-1 whitespace-pre-line text-text-secondary text-xs",children:i("scheduleHint")}),s]})]}),(0,h.jsxs)("section",{className:"flex flex-col gap-4 pt-8 pb-2",children:[t,(0,h.jsxs)("div",{className:"flex flex-col gap-2 pt-5",children:[(0,h.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,h.jsx)("span",{className:"font-bold text-sm text-text-primary",children:i("trialTitle")}
1),(0,h.jsx)("span",{"aria-hidden":!0,className:"h-px flex-1"}),a]}),(0,h.jsx)("p",{className:"whitespace-pre-line text-text-secondary text-xs",children:i("trialHint",{minutes:String(e)})})]}),(0,h.jsxs)("div",{className:"flex items-center justify-between py-4",children:[(0,h.jsxs)("div",{className:"flex flex-col",children:[(0,h.jsx)("p",{className:"font-bold text-sm text-text-primary",children:i("archiveTitle")}),(0,h.jsx)("p",{className:"text-text-secondary text-xs",children:i("archiveHint")})]}),l]})]})]})},eU=({steps:e})=>{let s=(0,r.s)(eI);return(0,h.jsx)("ol",{className:"flex w-full items-start",children:e.map((t,a)=>(0,h.jsxs)("li",{className:"flex flex-1 flex-col items-center",children:[(0,h.jsx)("span",{className:"whitespace-nowrap font-bold text-sm text-text-primary",children:t.label}),(0,h.jsxs)("span",{className:"relative flex h-6 w-full items-center justify-center",children:[a>0&&(0,h.jsx)("span",{"aria-hidden":!0,className:"-translate-y-1/2 absolute top-1/2 right-1/2 h-1 w-full bg-surface-primary"}),a<e.length-1&&(0,h.jsx)("span",{"aria-hidden":!0,className:"-translate-y-1/2 absolute top-1/2 left-1/2 h-1 w-full bg-surface-primary"}),(0,h.jsx)("span",{className:"relative z-10 flex size-6 items-center justify-center bg-surface-normal",children:t.isCompleted?(0,h.jsx)(u.rAV,{size:"l",unsafeClassName:"text-text-primary","aria-label":s("stepCompleted")}):(0,h.jsx)("span",{role:"img","aria-label":s("stepIncomplete"),className:"size-5 rounded-full border-2 border-border-default bg-surface-normal"})})]})]},t.label))})},eJ=e=>null!=e&&"boolean"!=typeof e&&""!==e&&(!Array.isArray(e)||e.some(eJ)),eO=({formProps:e,slotSocialActions:s,slotLoginField:t,slotPasswordField:a,slotRecaptcha:l,slotSubmitButton:r,slotPasswordResetLink:i,slotHelpLink:n,slotSignupLink:o,slotFormError:c,className:d})=>{let m=eJ(s),x=eJ(l),u=eJ(i),p=eJ(n),f=eJ(o),g=eJ(c),j=u||p,b=(0,h.jsxs)("div",{className:(0,v.QP)("px-8 pt-6 pb-8",m&&"border-border-default border-t"),children:[(0,h.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,h.jsx)("div",{children:t}),(0,h.jsx)("div",{children:a})]}),j&&(0,h.jsxs)("div",{className:"mt-4 flex flex-nowrap justify-center text-xs text-text-secondary",children:[u&&(0,h.jsx)("span",{className:"whitespace-nowrap underline",children:i}),u&&p&&(0,h.jsx)("span",{className:"px-2","aria-hidden":"true",children:"/"}),p&&(0,h.jsx)("span",{className:"whitespace-nowrap underline",children:n})]}),x&&(0,h.jsx)("div",{className:"mt-4 [&>*]:w-full",children:l}),g&&(0,h.jsx)("div",{className:"mt-4",children:c}),(0,h.jsx)("div",{className:"mt-6",children:r})]});return(0,h.jsxs)("div",{className:(0,v.QP)("mx-auto w-full max-w-[22.5rem] overflow-hidden rounded-lg border border-border-default bg-surface-normal",d),children:[m&&(0,h.jsx)("div",{className:"px-8 pt-8 pb-6",children:s}),(0,h.jsx)("form",{...e,children:b}),f&&(0,h.jsx)("div",{className:"border-border-default border-t px-8 py-6 text-center text-sm text-text-secondary underline",children:o})]})},eQ=t(72581),e$=({title:e,status:s,hasFreeTrial:t,articleCount:a,followCount:l,revenue:r,unsafeClassName:i})=>(0,h.jsxs)("div",{className:(0,v.QP)("flex items-center gap-4 py-4",i),children:[(0,h.jsxs)("div",{className:"flex min-w-[10rem] flex-1 flex-col gap-1",children:[(0,h.jsx)("p",{className:"truncate font-bold text-sm text-text-primary leading-[1.3125rem]",children:e}),(0,h.jsxs)("div",{className:"flex items-center gap-2",children:[(0,h.jsx)(W,{status:s}),t&&(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)("span",{className:"size-0.5 shrink-0 rounded-full bg-text-secondary","aria-hidden":"true"}),(0,h.jsx)("span",{className:"text-text-secondary text-xs leading-[1.125rem]",children:"åæç¡æ"})]})]})]}),(0,h.jsx)("span",{className:"w-16 shrink-0 text-center text-sm text-text-secondary leading-[1.3125rem]",children:a}),(0,h.jsx)("span",{className:"w-16 shrink-0 text-center text-sm text-text-secondary leading-[1.3125rem]",children:l}),(0,h.jsx)("span",{className:"w-16 shrink-0 text-center text-sm text-text-secondary leading-[1.3125rem]",children:r})]}),eW=t(19780),eV=({currentPrice:e,newPrice:s,effectiveDate:t,onConfirm:a,onClose:l,lang:r="ja-JP",warningMessageSlot:i})=>{let n=(0,R.Ru)({lang:r,dict:eW._s});return(0,h.jsxs)(M.A,{hasCloseButton:!1,onDismiss:l,children:[(0,h.jsx)(T.A,{children:(0,h.jsx)("p",{className:"text-base",children:n("title")})}),(0,h.jsx)(B.A,{children:(0,h.jsxs)("div",{className:"p-2",children:[i,(0,h.jsxs)("div",{className:"mt-4 flex items-center justify-between gap-4",children:[(0,h.jsxs)("div",{className:"flex w-full flex-col items-center gap-1 rounded-lg border border-border-default p-3",children:[(0,h.jsx)("span",{className:"font-bold text-text-secondary text-xs",children:n("currentPrice")}),(0,h.jsx)("span",{className:"text-lg text-text-primary",children:n("pricePerMonth",{price:e.toLocaleStr
1ing()})})]}),(0,h.jsx)(u.j0j,{size:"l","aria-label":"",unsafeClassName:"shrink-0 text-text-secondary"}),(0,h.jsxs)("div",{className:"flex w-full flex-col items-center gap-1 rounded-lg border border-border-default p-3",children:[(0,h.jsx)("span",{className:"font-bold text-text-secondary text-xs",children:n("newPrice")}),(0,h.jsx)("span",{className:"font-bold text-lg text-text-primary",children:n("pricePerMonth",{price:s.toLocaleString()})})]})]}),(0,h.jsxs)("p",{className:"mt-6 text-center text-sm text-text-primary",children:[n("effectiveDate"),(0,h.jsx)("span",{className:"mx-1 font-bold",children:n("effectiveDateBold",{date:t})}),n("effectiveDateSuffix")]})]})}),(0,h.jsxs)(F.A,{placement:"right",children:[(0,h.jsx)(E.A,{variant:"basic",size:"s",onPress:l,children:n("cancelButton")}),(0,h.jsx)(E.A,{variant:"primary",size:"s",onPress:()=>void a(),children:n("confirmButton")})]})]})},eq=t(80966),eX=t(21035),eK=t(84172),eY=({editor:e,lang:s})=>{let t=(0,N.useMemo)(()=>(0,R.Ru)({lang:s,dict:eW.aj}),[s]),a=(0,eK.er)({editor:e,selector:({editor:e})=>({h2:e.isActive("heading",{level:2}),h3:e.isActive("heading",{level:3}),bold:e.isActive("bold"),bulletList:e.isActive("bulletList"),orderedList:e.isActive("orderedList"),link:e.isActive("link"),blockquote:e.isActive("blockquote"),codeBlock:e.isActive("codeBlock")})}),[l,r]=(0,N.useState)(!1),[i,n]=(0,N.useState)(""),o=(0,N.useRef)(null),c=(0,N.useCallback)(()=>{n(e.getAttributes("link").href??""),r(!0),requestAnimationFrame(()=>o.current?.focus())},[e]),d=(0,N.useCallback)(()=>{(r(!1),""===i)?e.chain().focus().extendMarkRange("link").unsetLink().run():e.chain().focus().extendMarkRange("link").setLink({href:i}).run()},[e,i]),m=(0,N.useCallback)(()=>{r(!1),e.chain().focus().run()},[e]);return(0,h.jsxs)("div",{className:"border-border-default border-b",children:[(0,h.jsx)("div",{className:"flex items-stretch",children:[{key:"heading",buttons:[{key:"h2",label:t("heading2"),icon:(0,h.jsx)(u.XjQ,{size:"l","aria-label":t("heading2")}),isActive:a.h2,action:()=>e.chain().focus().toggleHeading({level:2}).run()},{key:"h3",label:t("heading3"),icon:(0,h.jsx)(u.cY3,{size:"l","aria-label":t("heading3")}),isActive:a.h3,action:()=>e.chain().focus().toggleHeading({level:3}).run()}]},{key:"text-format",buttons:[{key:"bold",label:t("bold"),icon:(0,h.jsx)(u.V4R,{size:"l","aria-label":t("bold")}),isActive:a.bold,action:()=>e.chain().focus().toggleBold().run()},{key:"bulletList",label:t("bulletList"),icon:(0,h.jsx)(u.B8B,{size:"l","aria-label":t("bulletList")}),isActive:a.bulletList,action:()=>e.chain().focus().toggleBulletList().run()},{key:"orderedList",label:t("orderedList"),icon:(0,h.jsx)(u.xH7,{size:"l","aria-label":t("orderedList")}),isActive:a.orderedList,action:()=>e.chain().focus().toggleOrderedList().run()},{key:"indentIncrease",label:t("indentIncrease"),icon:(0,h.jsx)(u.aOU,{size:"l","aria-label":t("indentIncrease")}),isActive:!1,action:()=>e.chain().focus().sinkListItem("listItem").run()},{key:"indentDecrease",label:t("indentDecrease"),icon:(0,h.jsx)(u.Y7V,{size:"l","aria-label":t("indentDecrease")}),isActive:!1,action:()=>e.chain().focus().liftListItem("listItem").run()}]},{key:"insert",buttons:[{key:"link",label:t("link"),icon:(0,h.jsx)(u.OOM,{size:"l","aria-label":t("link")}),isActive:a.link,action:c},{key:"blockquote",label:t("blockquote"),icon:(0,h.jsx)(u.lmf,{size:"l","aria-label":t("blockquote")}),isActive:a.blockquote,action:()=>e.chain().focus().toggleBlockquote().run()},{key:"codeBlock",label:t("codeBlock"),icon:(0,h.jsx)(u.CyN,{size:"l","aria-label":t("codeBlock")}),isActive:a.codeBlock,action:()=>e.chain().focus().toggleCodeBlock().run()}]}].map((e,s)=>(0,h.jsxs)(N.Fragment,{children:[s>0&&(0,h.jsx)("div",{"aria-hidden":!0,className:"w-px bg-border-default"}),(0,h.jsx)("div",{className:"flex",children:e.buttons.map(e=>(0,h.jsx)("button",{type:"button",onClick:e.action,"aria-label":e.label,title:e.label,className:"flex h-10 items-center justify-center px-2",children:(0,h.jsx)("span",{className:`flex size-7 items-center justify-center rounded transition-colors ${e.isActive?"bg-surface-successSubdued text-text-primary":"text-text-secondary hover:bg-surface-successSubdued"}`,children:e.icon})},e.key))})]},e.key))}),l&&(0,h.jsxs)("div",{className:"flex items-center gap-2 border-border-default border-t px-3 py-2",children:[(0,h.jsx)("input",{ref:o,type:"url",value:i,onChange:e=>n(e.target.value),onKeyDown:e=>{"Enter"===e.key&&d(),"Escape"===e.key&&m()},placeholder:t("linkPlaceholder"),className:"min-w-0 flex-1 rounded border border-border-default bg-background-primary px-2 py-1 text-sm text-text-primary outline-none focus:border-border-focus"}),(0,h.jsx)("button",{type:"button",onClick:d,className:"shrink-0 rounded bg-surface-primary px-3 py-1 font-bold text-text-invert text-xs",children:t("linkApply")}),""!==i&&(0,h.jsx)("button",{type:"button",onClick:()=>{r(!1),e.chain().focus().extendMarkRange("link").unsetLink().run()},className:"shrink-0 text-text-danger text-xs",children:t("linkRemove")})]})]})}
1,eG=eK.$Z,eZ=({value:e,onChange:s,onBlur:t,label:a,description:l,isRequired:r=!1,hasNecessityIndicator:i=!1,validationState:n,errorMessage:o,placeholder:c,lang:d="ja-JP"})=>{let m=(0,N.useRef)(!1),x=(0,eK.hG)({immediatelyRender:!1,extensions:[eK.yo,eK.fz,eK.EY,eK.BX,eK.DZ.configure({levels:[2,3]}),eK.yN,eK.Rg,eK._J,eK.ck,eK.Cv,eK.dz,eK.N_.configure({openOnClick:!1,HTMLAttributes:{class:"text-text-link underline"}}),eK.QO,eK.vR,eK.BZ,eK.Or.configure({placeholder:c??""}),eK.oz.configure({linkify:!0,breaks:!0})],content:e,onUpdate:({editor:e})=>{m.current||s(e.storage.markdown.getMarkdown())},onBlur:()=>{t?.()},editorProps:{attributes:{class:(0,v.QP)("min-h-[8rem] space-y-5 bg-background-primary p-3 text-sm text-text-primary outline-none","[&_h2]:font-bold [&_h2]:text-2xl [&_h2]:leading-9","[&_h3]:font-bold [&_h3]:text-xl [&_h3]:leading-[27px]","[&_ul]:list-disc [&_ul]:pl-5","[&_ol]:list-decimal [&_ol]:pl-5","[&_blockquote]:bg-background-secondary [&_blockquote]:p-8","[&_pre]:overflow-x-auto [&_pre]:bg-surface-invert [&_pre]:p-8 [&_pre]:font-mono [&_pre]:text-text-invert [&_pre]:text-xs","[&_ul_ul]:mt-1 [&_ul_ul]:list-[circle]","[&_ol_ol]:mt-1",eX.Y)}}});(0,N.useEffect)(()=>{x&&x.storage.markdown.getMarkdown()!==e&&(m.current=!0,x.commands.setContent(e),m.current=!1)},[x,e]);let u="invalid"===n;return(0,h.jsxs)("div",{children:[(0,h.jsxs)("p",{className:"mb-1 font-bold text-sm text-text-primary",children:[a,i&&r&&(0,h.jsx)("span",{className:"ml-1 text-text-danger",children:"*"})]}),l&&(0,h.jsx)("p",{className:"mb-2 text-text-secondary text-xs",children:l}),(0,h.jsxs)("div",{className:`overflow-hidden rounded-md border ${u?"border-border-danger":"border-border-default focus-within:border-border-focus"} bg-background-primary`,children:[x&&(0,h.jsx)(eY,{editor:x,lang:d}),(0,h.jsx)(eG,{editor:x})]}),u&&o&&(0,h.jsx)("p",{className:"mt-1 text-text-danger text-xs",children:o})]})},e0=t(18102),e1=t(6137),e2=t(82826),e6=e=>{let{membershipName:s,membershipImageSrc:t,ownerName:a,imageElementType:l="img",slotAnchor:r,slotActions:i}=e,n=(0,N.useMemo)(()=>new ec.fv(t).size(56).quality().dpr(2).format("jpg").toString(),[t]);return(0,h.jsxs)("div",{className:"relative flex items-center justify-center gap-2",children:[null!=r&&(0,h.jsx)(b.p,{defaultProps:{title:s,unSafeClassName:"-inset-2 absolute"},children:r}),n?(0,h.jsx)("div",{className:"size-14 overflow-hidden rounded-full",children:(0,h.jsx)(l,{src:n,alt:"",width:56,height:56,className:"size-full object-cover"})}):(0,h.jsx)("div",{className:"size-14 rounded-full bg-surface-quaternary"}),(0,h.jsxs)("div",{className:"flex min-w-0 flex-1 flex-col justify-center",children:[(0,h.jsx)("span",{className:"truncate text-text-secondary text-xs",children:a}),(0,h.jsx)("span",{className:"line-clamp-2 font-bold text-sm leading-5",children:s})]}),(0,h.jsx)("div",{className:"relative",children:i})]})},e4=({items:e,onClose:s,lang:t="ja-JP"})=>{let a=(0,R.Ru)({lang:t,dict:eW.yZ});return(0,h.jsxs)(M.A,{size:"s",hasCloseButton:!0,onDismiss:s,children:[(0,h.jsx)(T.A,{children:(0,h.jsx)("p",{className:"text-base",children:a("title")})}),(0,h.jsx)(B.A,{children:(0,h.jsx)("div",{className:"flex flex-col gap-3 p-2",children:0===e.length?(0,h.jsx)("p",{className:"text-center text-sm text-text-secondary",children:a("noHistory")}):e.map(e=>(0,h.jsxs)("div",{className:"flex flex-col items-start gap-1",children:[(0,h.jsx)("time",{className:"text-text-secondary text-xs",dateTime:e.changedAt,children:e.formattedChangedAt}),(0,h.jsx)("span",{className:"font-bold text-sm text-text-primary",children:a("priceChange",{priceBefore:e.priceBefore.toLocaleString(),priceAfter:e.priceAfter.toLocaleString()})})]},e.id))})})]})},e8=({children:e,helpLink:s,priceChangeNotice:t,historyLink:a})=>(0,h.jsxs)(h.Fragment,{children:[e,s,t&&(0,h.jsx)("div",{className:"mt-1 text-text-caution",children:t}),a&&(0,h.jsx)("div",{className:"mt-1",children:a})]}),e5=({slotDescription:e,slotInput:s})=>(0,h.jsxs)("div",{className:"flex items-start justify-between gap-4",children:[(0,h.jsx)("p",{className:"flex-1 pr-6 text-text-secondary text-xs",children:e}),(0,h.jsx)("div",{className:"flex w-[8.375rem] shrink-0 items-center",children:s})]}),e3=t(61845),e9=t(9577),e7={"ja-JP":{firstMonthFree:"1ã¶æç¡æ",firstMonthFreeCalendarMonth:"åæç¡æ"}},se=({title:e,status:s,hasFreeTrial:t,isCalendarMonthBilling:a=!1,currentMemberCount:l,maxMemberCount:r,joinCount:i,leaveCount:n,revenue:o,unsafeClassName:c,lang:d="ja-JP"})=>{let m=(0,R.Ru)({lang:d,dict:e7});return(0,h.jsxs)("div",{className:(0,v.QP)("flex items-center gap-4 py-4",c),children:[(0,h.jsxs)("div",{className:"flex w-[11.25rem] shrink-0 flex-col gap-1",children:[(0,h.jsx)("p",{className:"truncate font-bold text-sm text-text-primary leading-[1.3125rem]",children:e}),(0,h.jsxs)("div",{className:"flex items-center gap-2",children:[(0,h.jsx)(W,{status:s}),t&&(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)("span",{className:"size-0.5 shrink-0 rounded-full bg-text-secondary","aria-hidden":"true"}),(0,h.jsx)("span",{className:"text-text-secondary text-xs leading-[1.125rem]",children:m(a?"firstMonthFreeCalendarMonth":"firstMonthFree")})]})]})]}),(0,h.jsxs)("span",{className:"w-24 shrink-0 text-center text-sm text-text-secondary leading-[1.3125rem]",children:[l," / ",r]}),(0,h.jsx)("span",{className:"w-16 shrink-0 text-center text-sm text-text-secondary leading-[1.3125rem]",children:i}),(0,h.jsx)("span",{className:"w-16 shrink-0 text-center text-sm text-text-secondary leading-[1.3125rem]",children:n}),(0,h.jsx)("span",{className:"w-16 shrink-0 text-center text-sm text-text-secondary leading-[1.3125rem]",children:o})]})},ss=t(58026);function st(e){let{name:s,ownerName:t,src:a,price:l,priceAdditionalText:r,isMinimumPrice:i=!0,description:n,href:o,headingLevel:c=3,imageElementType:d="img",avatarSize:m="xl",slotAnchor:x,slotAvatar:u,slotBadge:p,unSafe
1ClassName:f}=e,g=`h${c}`;return(0,h.jsxs)("li",{className:(0,v.QP)("relative flex",f),children:[o&&(0,N.isValidElement)(x)&&(0,N.cloneElement)(x,{href:o,title:s,unSafeClassName:"rounded-lg"}),(0,h.jsxs)("div",{className:"flex w-full flex-col items-center rounded-lg border border-border-default border-solid bg-surface-normal p-4",children:[(0,N.isValidElement)(u)&&(0,h.jsx)("div",{className:"pointer-events-none",children:(0,N.cloneElement)(u,{src:a,imageElementType:d,size:m})}),(0,h.jsx)("p",{className:"mt-2 line-clamp-1 text-center text-text-secondary text-xs leading-normal",children:t}),(0,h.jsx)(g,{className:"mt-1 line-clamp-1 text-center font-bold leading-normal",children:s}),(0,h.jsxs)("div",{className:"mt-2 flex flex-wrap items-center justify-center gap-2",children:[(0,h.jsx)(ss.O,{price:l,additionalText:r,isMinimumPrice:i}),p]}),(0,h.jsx)("p",{className:"mt-2 line-clamp-3 flex-1 self-stretch whitespace-pre-wrap text-text-secondary text-xs leading-normal",children:n})]})]})}function sa(e){let{items:s,slotAnchor:t,slotAvatar:a,imageElementType:l="img",avatarSize:r,unSafeClassName:i}=e;return(0,h.jsx)("ul",{"data-membership-result-list":!0,className:(0,v.QP)("grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4",i),children:s.map(({key:e,...s})=>(0,h.jsx)(N.Fragment,{children:(0,h.jsx)(st,{...s,slotAnchor:t,slotAvatar:a,imageElementType:l,avatarSize:r})},e))})}var sl=({label:e,value:s,unit:t})=>(0,h.jsxs)("div",{className:"flex items-center gap-1",children:[(0,h.jsx)("span",{className:"text-text-secondary text-xs tracking-[0.12px]",children:e}),(0,h.jsx)("span",{className:"font-bold text-lg text-text-secondary leading-[1.6875rem]",children:s}),t&&(0,h.jsx)("span",{className:"h-7 text-text-secondary text-xs leading-7 tracking-[0.12px]",children:t})]}),sr=({name:e,stats:s,unsafeClassName:t})=>
1(0,h.jsxs)("div",{className:(0,v.QP)("flex flex-col gap-4 rounded-lg border border-border-normal bg-white p-5",t),children:[(0,h.jsx)("p",{className:"truncate font-bold text-lg text-text-primary leading-[1.6875rem]",children:e}),(0,h.jsx)("div",{className:"flex flex-wrap items-start gap-x-4 gap-y-2",children:s.map(e=>(0,h.jsx)(sl,{...e},e.label))})]}),si=({formProps:e,slotCodeField:s,slotSubmitButton:t,slotResendButton:a})=>(0,h.jsxs)("form",{...e,children:[s,(0,h.jsx)("div",{className:"mt-6",children:t}),(0,h.jsx)("div",{className:"mt-2",children:a})]}),sn=({isBusy:e,title:s,attention:t,slotProfile:a,slotCodeArea:l,slotResendMessage:r,slotHelpLink:i})=>(0,h.jsxs)("section",{"aria-busy":e,"aria-labelledby":"mfa-email-title",children:[(0,h.jsx)("h1",{id:"mfa-email-title",className:"font-bold text-text-primary text-xl",children:s}),(0,h.jsx)("p",{className:"mt-2 text-sm text-text-secondary",children:t}),a,(0,h.jsx)("div",{className:"mt-6",children:l}),r,i?(0,h.jsx)("p",{className:"mt-2 text-center text-sm text-text-secondary",children:i}):null]}),so=({ariaBusy:e,children:s})=>(0,h.jsx)("div",{"aria-busy":e,className:"min-h-0 w-full p-4 sm:min-h-[calc(100vh-4rem)] sm:px-10 sm:py-20",children:(0,h.jsx)("div",{className:"mx-auto w-full max-w-[30rem]",children:s})}),sc=({title:e,message:s,slotLoginButton:t})=>(0,h.jsxs)(so,{children:[(0,h.jsx)("h1",{className:"font-bold text-text-primary text-xl",children:e}),(0,h.jsx)("p",{className:"mt-2 text-sm text-text-secondary leading-relaxed",role:"alert",children:s}),(0,h.jsx)("div",{className:"mt-6",children:t})]}),sd=({slotLoadingIndicator:e})=>(0,h.jsx)(so,{ariaBusy:!0,children:(0,h.jsx)("div",{className:"flex justify-center",children:e})}),sm=({isBusy:e,formLabel:s,title:t,attention:a,slotProfile:l,slotRetryButton:r,slotHelpLink:i,slotSwitchButton:n})=>(0,h.jsxs)("section",{"aria-busy":e,"aria-labelledby":"mfa-passkey-title","aria-label":s,children:[(0,h.jsx)("h1",{id:"mfa-passkey-title",className:"font-bold text-text-primary text-xl",children:t}),(0,h.jsx)("p",{className:"mt-2 text-sm text-text-secondary",children:a}),l,(0,h.jsx)("div",{className:"mt-6",children:r}),(0,h.jsx)("p",{className:"mt-4 text-center text-sm text-text-secondary",children:i}),n?(0,h.jsx)("div",{className:"mt-6",children:n}):null]}),sx=({slotAvatar:e,displayName:s,urlname:t})=>(0,h.jsxs)("div",{className:"mt-6 text-center",children:[e,(0,h.jsx)("p",{className:"mt-2 font-bold text-lg text-text-primary",children:s}),(0,h.jsx)("p",{className:"text-text-secondary text-xs",children:t})]}),su=({message:e})=>e?(0,h.jsx)("p",{role:"error"===e.type?"alert":"status","aria-live":"polite",className:`mt-4 text-sm ${"error"===e.type?"text-text-danger":"text-text-secondary"}`,children:e.text}):null,sh=({title:e,attention:s,slotProfile:t,slotForm:a,slotResendMessage:l,slotHelpLink:r,slotSwitchButton:i})=>(0,h.jsxs)("section",{"aria-labelledby":"mfa-sms-title",children:[(0,h.jsx)("h1",{id:"mfa-sms-title",className:"font-bold text-text-primary text-xl",children:e}),(0,h.jsx)("p",{className:"mt-2 text-sm text-text-secondary",children:s}),t,(0,h.jsx)("div",{className:"mt-6",children:a}),l,(0,h.jsx)("p",{className:"mt-2 text-center text-sm text-text-secondary",children:r}),i?(0,h.jsx)("div",{className:"mt-2",children:i}):null]}),sp=t(24693),sf=t(57971),sg=t(58359),sj=t(46003);function sb(e){let s=(0,r.s)(sj.PK),{title:t,description:a,subtitle:l=s("signup"),onPress:i,onOpenChange:n,items:o,slotIcon:d,slotToLogin:m,slotBody:x,linkElementType:u,toLoginHref:p}=e;return(0,h.jsxs)(z.A,{isDismissable:!0,onOpenChange:n,children:[(0,h.jsx)(c.A,{variant:"clickableIcon",children:d}),e=>(0,h.jsx)(sg.X,{title:t,description:a,subtitle:l,onPress:i,items:o,slotBody:x,slotToLogin:m,linkElementType:u,toLoginHref:p,closeDialog:e})]})}var sv=t(28633),sN=t(57899),sy=t(92262),sw=t(44603),sk=t(6750),sC=t(18935),sP=t(78110),sA=t(12433),sS=t(17244),sL=t(34470),sz=t(21135),sM=t(44298),sT=t(64868),sB=e=>{let{children:s,avatarCount:t,lang:a}=e,l=(0,sT.A)(),r=(0,R.Ru)({dict:sM.Gh,lang:a});return(0,h.jsxs)(M.A,{children:[(0,h.jsxs)(T.A,{children:[(0,h.jsxs)("h1",{children:[r("highRatingUsers"),"ï¼",t,"ï¼"]}),(0,h.jsx)("p",{className:"px-3 pt-1 text-text-secondary text-xs",children:r("highRatingUsersDescription")})]}),(0,h.jsx)(B.A,{children:s}),(0,h.jsx)(F.A,{children:(0,h.jsx)(E.A,{variant:"basic",size:"s",onPress:l.dismiss,children:"éãã"})})]})},sF=t(91995),sE=t(65619),sR=t(85109);function sI(e){let{price:s,isImmediateCharge:t=!0,freeTrialStartDate:a,isUneditable:l=!1,lang:r="ja-JP"}=e,i=(0,R.Ru)({lang:r,dict:sR.zG});if(null==s)return(0,h.jsx)("p",{className:"text-text-secondary text-xs",children:i(l?"priceNotSetUneditable":"priceN
1otSet")});let n=!t||a?i(a?"firstMonthFreeLimited":"firstMonthFree"):null;return 0===s?(0,h.jsxs)("p",{className:"text-text-secondary text-xs",children:[i("priceFree"),n&&`ã»${n}`]}):(0,h.jsxs)("p",{className:"text-text-secondary text-xs",children:[(0,h.jsx)(sE.g,{price:s,color:"muted",size:"xs",isUniformSize:!0,suffix:i("perMonth")}),n&&`ã»${n}`]})}var s_=t(20024);function sD(e){let{status:s,hideWhenSwitchable:t=!1,lang:a="ja-JP"}=e,l=(0,R.Ru)({lang:a,dict:sR.jA});if(t&&("public"===s||"private"===s))return null;let r={public:{label:l("statusPublic"),variant:"primary"},private:{label:l("statusPrivate"),variant:"basic"},in_review:{label:l("statusInReview"),variant:"basic"},suspended:{label:l("statusSuspended"),variant:"basic"},rejected:{label:l("statusRejected"),variant:"basic"}}[s];return r?(0,h.jsx)(s_.Y,{variant:r.variant,size:"s",children:r.label}):null}var sH=t(82337),sU=t(80013),sJ=(0,N.memo)(({image:e,viewOnly:s,imageElementType:t,slotImageWrapper:a,onRemove:l})=>{let i=(0,N.useMemo)(()=>{let s;return s=e.url,new ec.fv(s).width(400).dpr().fit("bounds").format("jpg").quality().toString()},[e.url]),n=(0,r.s)(sU.Mw);return s?(0,h.jsx)("div",{className:"relative mb-1 h-full last:mb-0",children:a?(0,h.jsx)(a,{url:e.url,width:e.width,height:e.height,children:(0,h.jsx)(j._,{imageSrc:i,imageAlt:"",imageElementType:t,loading:"lazy",fit:"cover",unSafeClassName:"absolute inset-0 h-full w-full"})}):(0,h.jsx)(j._,{imageSrc:i,imageAlt:"",imageElementType:t,loading:"lazy",fit:"cover",unSafeClassName:"absolute inset-0 h-full w-full"})}):(0,h.jsxs)("div",{className:"relative mb-1 h-full last:mb-0",children:[(0,h.jsx)(j._,{imageSrc:i,imageAlt:"",imageElementType:t,loading:"lazy",fit:"cover",unSafeClassName:"absolute inset-0 h-full w-full"}),(0,h.jsx)("div",{className:"absolute top-2 right-2",children:(0,h.jsx)(c.A,{type:"button",variant:"basic",isCircle:!0,onPress:()=>l?.(e.key),children:(0,h.jsx)(u.bm,{"aria-label":n("removeImage")})})})]})});function sO({images:e,viewOnly:s=!0,className:t,onRemove:a,imageElementType:l,slotImageWrapper:r}){let i=1===e.length?[[e[0]]]:2===e.length?[[e[0]],[e[1]]]:3===e.length?[[e[0]],[e[1],e[2]]]:e.length>=4?[[e[0],e[2]],[e[1],e[3]]]:[];return(0,h.jsx)("div",{className:(0,v.QP)("relative aspect-video",t),children:(0,h.jsx)("div",{className:"absolute inset-0 flex",children:i.map((e,t)=>(0,h.jsx)("div",{className:"mr-1 flex grow basis-0 flex-col last:mr-0",children:e.map(e=>(0,h.jsx)(sJ,{image:e,viewOnly:s,imageElementType:l,slotImageWrapper:r,onRemove:a},e.key))},`${t}${e.length}`))})})}var sQ=t(25903),s$=t(25771),sW=t(42172),sV=t(66583),sq=t(15137),sX=t(10384);function sK({image:e,viewOnly:s=!0,className:t,onRemove:a,imageElementType:l,slotImageWrapper:i}){let n=(0,r.s)(sU.Mw),o=(0,N.useMemo)(()=>new ec.fv(e.url).width(580).dpr().fit("bounds").format("jpg").quality().toString(),[e.url]);return!1===s?(0,h.jsx)("div",{className:t,children:(0,h.jsxs)("div",{className:"relative w-fit",children:[(0,h.jsx)(j._,{imageSrc:o,imageAlt:"",imageWidth:void 0,imageHeight:void 0,imageElementType:l,loading:"lazy",fit:"contain",unSafeClassName:"max-h-[580px] min-w-[200px]"}),e.url&&(0,h.jsx)("div",{className:"absolute top-2 right-2",children:(0,h.jsx)(c.A,{type:"button",variant:"basic",isCircle:!0,onPress:()=>a?.(e.key),children:(0,h.jsx)(u.bm,{"aria-label":n("removeImage")})})})]})}):(0,h.jsx)("div",{className:t,children:i?(0,h.jsx)(i,{url:e.url,width:e.width,height:e.height,children:(0,h.jsx)(j._,{imageSrc:o,imageAlt:"",imageWidth:e.width||580,imageHeight:e.height||580,imageElementType:l,loading:"lazy",fit:"contain",unSafeClassName:"max-h-[580px]"})}):(0,h.jsx)("div",{className:"relative w-fit",children:(0,h.jsx)(j._,{imageSrc:o,imageAlt:"",imageWidth:e.width||580,imageHeight:e.height||580,imageElementType:l,loading:"lazy",fit:"contain",unSafeClassName:"max-h-[580px]"})})})}function sY(e){let s=(0,N.useId)(),t=e||s;return{titleId:`${t}-title`,bodyId:`${t}-body`,baseId:t}}var sG=new Set(["a","br","strong","b","em","i","s","span","ruby","rt","rp"]),sZ=new Set(["noopener","nofollow","ugc","sponsored"]),s0=e=>/^on/i.test(e)||"style"===e||"srcdoc"===e.toLowerCase(),s1=e=>"class"===e||"className"===e||"for"===e||"htmlFor"===e||"id"===e||"title"===e||"role"===e||"lang"===e||"dir"===e||e.startsWith("aria-")||e.startsWith("data-"),s2=(e,s={})=>{var t;let a,l,r,i,n,o;return{..."a"===e?(a={},void 0!==(l=s.href)&&(/^https?:\/\//i.test(l)||l.startsWith("/")&&!l.startsWith("//"))&&(a.href=l),void 0!==(i="_blank"===(r=s.target)||"_self"===r||"_parent"===r||"_top"===r?s.target:void 0)&&(a.target=i),void 0!==(t=s.rel,n=(t??"").split(/\s+/).filter(e=>sZ.has(e.toLowerCase())),"_blank"!==i||n.includes("noopener")||n.unshift("no
1opener"),o=n.length>0?n.join(" "):void 0)&&(a.rel=o),a):{},...(e=>{let s={};for(let[t,a]of Object.entries(e))!(void 0===a||"href"===t||"target"===t||"rel"===t||s0(t))&&s1(t)&&(s["class"===t?"className":"for"===t?"htmlFor":t]=a);return s})(s)}},s6=e=>e.map((e,s)=>(0,h.jsx)(N.Fragment,{children:(e=>{let s;if("text"===e.type)return e.value;if(s=e.tagName,!sG.has(s))return console.warn(`Unsupported tag: ${e.tagName}`),s6(e.children??[]);let t=e.tagName;if("br"===t)return(0,N.createElement)("br",s2(t,e.properties));let a=s6(e.children??[]);return(0,N.createElement)(t,s2(t,e.properties),a)})(e)},s));function s4({ast:e}){return(0,h.jsx)(h.Fragment,{children:s6(Array.isArray(e)?e:e.content)})}function s8({imageUrl:e}){return(0,h.jsx)("img",{src:e,alt:"",decoding:"async",loading:"lazy",width:720,height:480,className:"block aspect-[3/2] w-full rounded-t-lg object-cover align-top"})}var s5=["bg-pink-400","bg-orange-400","bg-yellow-400","bg-green-400","bg-blue-400","bg-purple-400"];function s3({count:e,backgroundColorIndex:s}){let t,[a,l]=(0,N.useState)(0);(0,N.useEffect)(()=>{"number"!=typeof s&&l(Math.floor(Math.random()*s5.length))},[s]);let r="number"==typeof s?s5[Math.max(0,Math.min(s,s5.length-1))]:s5[a];return(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)("style",{children:"\n @keyframes praiseDialogCountAnimation {\n 0% {\n opacity: 0;\n transform: translateY(10px);\n }\n 30% {\n opacity: 1;\n text-shadow: 0 0 0 rgba(0, 0, 0, 0);\n transform: translateY(0);\n }\n 100% {\n opacity: 1;\n text-shadow: 8px 8px rgba(0, 0, 0, 0.1);\n transform: translateY(-4px) translateX(-4px);\n }\n }\n "}),(0,h.jsx)("div",{className:`rounded-t-lg bg-[length:360px_180px] bg-[url("https://assets.st-note.com/poc-image/manual/note-common-images/production/praiseDialog/streak_bg.png")] bg-center bg-no-repeat pt-12 pb-12 ${r}`,children:(0,h.jsx)("p",{className:"transform text-center font-bold text-text-invert leading-none",style:{animation:"praiseDialogCountAnimation 1000ms 400ms forwards",fontFamily:'"Avenir Next", "Arial", sans-serif',fontSize:`${(t=Math.abs(Math.trunc(e)).toString().length)<=3?8.125:4===t?6.5:4.25}rem`,opacity:0,transform:"translateY(10px)"},children:e.toLocaleString()})})]})}function s9({title:e,description:s,content:t,textAlign:a,onClickContent:l}){let r="left"===a?"text-left":"text-center";return(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)("h1",{className:`mb-2 font-bold text-lg ${r}`,children:(0,h.jsx)(s4,{ast:e})}),(0,h.jsx)("p",{className:`text-base [&_a]:mx-1 [&_a]:text-text-secondary [&_a]:no-underline ${r}`,children:(0,h.jsx)(s4,{ast:s})}),t?.name?(0,h.jsx)("p",{className:`mt-5 mb-6 contain-inline-size text-base text-text-secondary ${r}`,children:(0,h.jsx)("a",{href:t.url,target:"_blank",rel:"noopener",onClick:l,className:"block overflow-hidden text-inherit text-ellipsis whitespace-nowrap no-underline",children:t.name})}):null]})}function s7({promotionDescription:e,promotionButtonName:s,promotionButtonUrl:t,onImpPromotion:a,onClickPromotion:l}){let r=(0,N.useRef)(!1);return(0,N.useEffect)(()=>{r.current||(r.current=!0,a?.())},[a]),(0,h.jsxs)("section",{className:"mt-6 rounded-lg bg-surface-quaternary p-4",children:[(0,h.jsx)("p",{className:"text-center text-xs",children:(0,h.jsx)(s4,{ast:e})}),(0,h.jsx)("div",{className:"mt-2 flex justify-center",children:(0,h.jsx)(E.A,{elementType:"a",variant:"primary",size:"s",isFull:!0,href:t,target:"_blank",rel:"noopener",onPress:l,children:s})})]})}var te={"ja-JP":{shareX:"Xã§ãã¤ã¼ã",shareLine:"LINEã§ã·ã§ã¢",shareFacebook:"Facebookã§ã·ã§ã¢",firstLikeBadgeAlt:"ã¹ãããã¸ç»å",firstLikeBadgeDescription:"ãã¯ããã¦ã®ã¹ããããã¸ããã¬ã¼ã³ãï¼",firstLikeBadgeLink:"確èªãã",beginnerNotePv:"è¨äºã®ã¢ã¯ã»ã¹ç¶æ³ããã§ãã¯",reactionOnboardingLike:"ã¹ããã¦ãããèªè
ã«è¡¨ç¤ºããã礼ã¡ãã»ã¼ã¸ãè¨å®ãã¦ãèªè
ããã£ã¨æ¥½ãã¾ãã¾ãããï¼",reactionOnboardingPurchasedMagazine:"ãã¬ã¸ã³ãè³¼å
¥ãã¦ãããèªè
ã«è¡¨ç¤ºããã礼ã¡ãã»ã¼ã¸ãè¨å®ãã¦ãèªè
ããã£ã¨æ¥½ãã¾ãã¾ãããï¼",reactionOnboardingSubscribe:"ãã¬ã¸ã³ãè³¼èªãã¦ãããèªè
ã«è¡¨ç¤ºããã礼ã¡ãã»ã¼ã¸ãè¨å®ãã¦ãèªè
ããã£ã¨æ¥½ãã¾ãã¾ãããï¼",reactionOnboardingPurchasedNote:"è¨äºãè³¼å
¥ãã¦ãããèªè
ã«è¡¨ç¤ºããã礼ã¡ãã»ã¼ã¸ãè¨å®ãã¦ãèªè
ããã£ã¨æ¥½ãã¾ãã¾ãããï¼",reactionOnboardingSupport:"ããããéã£ã¦ãããèªè
ã«è¡¨ç¤ºããã礼ã¡ãã»ã¼ã¸ãè¨å®ãã¦ãèªè
ããã£ã¨æ¥½ãã¾ãã¾ãããï¼",reactionOnboardingSetup:"è¨å®ãã",circleMemberCountDescription:"æ²ç¤ºæ¿ãè¨
1äºã§ã¡ã³ãã¼ã«ã礼ã®ã¡ãã»ã¼ã¸ãä¼ãã¾ãããï¼",circleMemberCountBoards:"æ²ç¤ºæ¿ã«ç§»å",circleMemberCountNoteNew:"è¨äºãæ¸ã",suggestPaidNote1:"è¨äºã«å¥½ããªä¾¡æ ¼ãã¤ãã¦è²©å£²ã§ãã¾ãï¼",suggestPaidNote2:"è¨äºã®ã©ãããã§ãææè¨å®å¯è½ï¼",suggestPaidNote3:"100åããã§ãæ°è»½ã«è©¦ãã¾ãï¼",suggestPaidNoteGuide:"noteã§ã§ããåçåããã£ã¨ç¥ã",suggestPaidNoteExample:"ã»ãã®ã¯ãªã¨ã¤ã¿ã¼ã®ä¾ãè¦ã",subscribableMagazineApprovalLead:"ãã¬ã¸ã³ããã£ããå
¬éãã¾ããã",subscribableMagazineApprovalButton:"å
¬éãã",userBadgeButton:"ããã¸ã確èªãã",circleOpenButton:"ãã©ã³ãç·¨éãã"}};function ts({shareMessage:e,twitterUrl:s,lineUrl:t,facebookUrl:a,onClickShare:l,lang:r}){let i=(0,R.Ru)({lang:r,dict:te}),n=(e?.content.length??0)>0,o=(e,s,t,a,r)=>(0,h.jsx)("a",{href:s,target:"_blank",rel:"noopener","aria-label":t,"data-tooltip":t,onClick:()=>l?.(e),className:`rounded-full p-3 text-text-invert ${r}`,children:(0,h.jsx)("span",{className:"inline-block size-6 align-top",children:a})});return n||s||t||a?(0,h.jsxs)("div",{className:`mt-6 ${n?"border-border-default border-t pt-4":""}`,children:[n?(0,h.jsx)("div",{className:"mb-2 text-center text-xs [&_a]:mx-1 [&_a]:text-text-secondary [&_a]:underline",children:(0,h.jsx)(s4,{ast:e??{content:[]}})}):null,s||t||a?(0,h.jsxs)("div",{className:"flex justify-center gap-4 px-2",children:[s?o("x",s,i("shareX"),(0,h.jsx)(u.X,{"aria-label":"",size:"l"}),"bg-social-twitter"):null,t?o("line",t,i("shareLine"),(0,h.jsx)(u.ISD,{"aria-label":"",size:"l"}),"bg-social-line"):null,a?o("facebook",a,i("shareFacebook"),(0,h.jsx)(u.Uz5,{"aria-label":"",size:"l"}),"bg-social-facebook"):null]}):null]}):null}function tt({hrefs:e,lang:s,descriptionKey:t}){let a=(0,R.Ru)({lang:s,dict:te});return(0,h.jsxs)("div",{className:"mt-4 rounded-lg border border-border-default p-4",children:[(0,h.jsxs)("div",{className:"flex items-center pb-4",children:[(0,h.jsx)("img",{src:"https://assets.st-note.com/poc-image/manual/note-common-images/production/icons/icon_lightbulb.png",alt:"",width:80,height:80,className:"mr-2 size-20 shrink-0"}),(0,h.jsx)("p",{className:"text-sm font-bold",children:a(t)})]}),(0,h.jsx)("div",{className:"flex justify-center",children:(0,h.jsx)(E.A,{elementType:"a",variant:"primary",size:"m",isFull:!0,href:e.settingsReactions,children:a("reactionOnboardingSetup")})})]})}var ta={SubscribableMagazineApprovalUserPopup:function({href:e,lang:s}){let t=(0,R.Ru)({lang:s,dict:te});return(0,h.jsxs)("div",{className:"pt-4 text-center",children:[(0,h.jsx)("p",{className:"mb-4 text-xs",children:t("subscribableMagazineApprovalLead")}),(0,h.jsx)(E.A,{elementType:"a",variant:"primary",size:"m",isFull:!0,href:e,children:t("subscribableMagazineApprovalButton")})]})},UserBadgeUserPopup:function({href:e,lang:s}){return(0,h.jsx)("div",{className:"pt-4 text-center",children:(0,h.jsx)(E.A,{elementType:"a",variant:"secondary",size:"m",isFull:!0,href:e,children:(0,R.Ru)({lang:s,dict:te})("userBadgeButton")})})},CircleOpenUserPopup:function({href:e,lang:s}){return(0,h.jsx)("div",{className:"pt-4 text-center",children:(0,h.jsx)(E.A,{elementType:"a",variant:"secondary",size:"m",isFull:!0,href:e,target:"_blank",rel:"noopener",children:(0,R.Ru)({lang:s,dict:te})("circleOpenButton")})})}},tl=e=>function(s){return(0,h.jsx)(tt,{...s,descriptionKey:e})},tr={"LikerUserPopup-1":function({hrefs:e,lang:s}){let t=(0,R.Ru)({lang:s,dict:te});return(0,h.jsx)("div",{className:"mt-6 pb-4",children:(0,h.jsx)("a",{href:e.badges,target:"_blank",rel:"noopener",className:"mx-6 block rounded-lg border border-border-default p-4 max-sm:mx-2 max-sm:mt-6 max-sm:mb-6 md:hover:border-grayAlpha-300",children:(0,h.jsxs)("div",{className:"flex",children:[(0,h.jsx)("img",{src:"https://assets.st-note.com/poc-image/manual/note-common-images/production/badges/like_gold.svg",alt:t("firstLikeBadgeAlt"),width:56,height:56,className:"size-14 rounded-full"}),(0,h.jsxs)("div",{className:"my-auto ml-4",children:[(0,h.jsx)("p",{className:"text-sm font-bold",children:t("firstLikeBadgeDescription")}),(0,h.jsx)("p",{className:"text-sm font-bold underline",children:t("firstLikeBadgeLink")})]})]})})})},BeginnerNotePvUserPopup:function({hrefs:e,lang:s}){let t=(0,R.Ru)({lang:s,dict:te});return(0,h.jsx)("div",{className:"flex justify-center pt-4",children:(0,h.jsx)(E.A,{elementType:"a",variant:"primary",size:"m",isFull:!0,href:e.sitesettingsStats,children:t("beginnerNotePv")})})},"LikeUserPopup-0":tl("reactionOnboardingLike"),"PurchasedMagazineUserPopup-0":tl("reactionOnboardingPurchasedMagazine"),"SubscribeUserPopup-0":tl("reactionOnboardingSubscribe"),"PurchasedNoteUserPopup-0":tl("reactionOnboardingPurchasedNote"),"SupportUserPopup-0":tl("reactionOnboardingSupport"),"CircleMemberCountUserPopup->1":function({hrefs:e,lang:s}){let t=(0,R.Ru)({lang:s,dict:te});return(0,h.jsxs)("div",{className:"mt-4 flex w-full flex-col border-border-default border-t pt-4 text-center",children:[(0,h.jsx)("p",{className:"mb-4 text-xs",children:t("circleMemberCountDescription")}),(0,h.jsxs)("div",{className:"flex justify-center gap-2",children:[e.membershipBoards?(0,h.jsx)(E.A,{elementType:"a",variant:"secondary",size:"m",isFull:!0,href:e.membershipBoards,target:"_blank",rel:"noopener",children:t("circleMemberCountBoards")}):null,(0,h.jsx)(E.A,{elementType:"a",variant:"secondary",size:"m",isFull:!0,href:e.noteNew,target:"_blank",rel:"noopener",children:t("circleMemberCountNoteNew")})]})]})},SuggestPublishingPaidNoteUserPopup:function({hrefs:e,lang:s}){let t=(0,R.Ru)({lang:s,dict:te});return(0,h.jsxs)(h.Fragment,{children:[(0,h.jsxs)("ul",{className:"mx-auto w-fit list-none p-0",children:[(0,h.jsxs)("li",{className:"my-2 flex items-center text-sm leading-6",children:[(0,h.jsx)(u.L7S,{"aria-label":"",size:"l",unsafeClassName:"mr-1 shrink-0"}),t("suggestPaidNote1")]}),(0,h.jsxs)("li",{className:"my-2 flex items-center text-sm leading-6",children:[(0,h.jsx)(u.X52,{"aria-label":"",size:"l",unsafeClassName:"mr-1 shrink-0"}),t("suggestPaidNote2")]}),(0,h.jsxs)("li",{className:"my-2 flex items-center text-sm leading-6",children:[(0,h.jsx)(u.zI1,{"aria-label":"",size:"l",unsafeClassName:"mr-1 shrink-0"}),t("suggestPaidNote3")]})]}),(0,h.jsxs)("div",{className:"mx-auto flex w-3/4 flex-col gap-4",children:[(0,h.jsx)(E.A,{elementType:"a",variant:"primary",size:"m",isFull:!0,href:e.monetizationGuide??"https://note.com/monetization-guide",children:t("suggestPaidNoteGuide")}),(0,h.jsx)(E.A,{elementType:"a",variant:"secondary",size:"m",isFull:!0,href:e.paidNoteExample,children:t("suggestPaidNoteExample")})]})]})}};function ti({streakCount:e,backgroundColorIndex:s,imageUrl:t,title:a,description:l,content:r=null,showPromotion:i=!1,promotionDescription:n={content:[]},promotionButtonName:o,promotionButtonUrl:c,textAlign:d,buttonLinkUrl:m,buttonLinkViewName:x,shareMessage:u,twitterUrl:p,lineUrl:f,facebookUrl:g,additionalViewName:j,showConfetti:b=!1,hrefs:v,onClickContent:N,onImpPromotion:y,onClickPromotion:w,onClickShare:k,lang:C="ja-JP"}){let P=x?ta[x]:void 0,A=j?tr[j]:void 0,S=i&&n.content.length>0&&!!o&&!!c,L=(u?.content.length??0)>0||!!p||!!f||!!g;return(0,h.jsxs)(h.Fragment,{children:[b?(0,h.jsx)(X.N,{durationSeconds:1/0}):null,void 0===e?t?(0,h.jsx)(s8,{imageUrl:t}
1):null:(0,h.jsx)(s3,{count:e,backgroundColorIndex:s}),(0,h.jsxs)("div",{className:"p-6",children:[(0,h.jsx)(s9,{title:a,description:l,content:r,textAlign:d,onClickContent:N}),P&&m?(0,h.jsx)(P,{href:m,lang:C}):null,A?(0,h.jsx)(A,{hrefs:v,lang:C}):null,S&&o&&c?(0,h.jsx)(s7,{promotionDescription:n,promotionButtonName:o,promotionButtonUrl:c,onImpPromotion:y,onClickPromotion:w}):null,L?(0,h.jsx)(ts,{shareMessage:u,twitterUrl:p,lineUrl:f,facebookUrl:g,onClickShare:k,lang:C}):null]})]})}var tn={"ja-JP":{close:"éãã"}},to=t(69875),tc=({streakCount:e,mainText:s,subText:t,shareButtons:a,backgroundColorIndex:l,customBackgroundColors:r,imageSrc:i,onClose:n,lang:o="ja-JP"})=>{let d=(0,R.Ru)({lang:o,dict:tn});return(0,h.jsxs)(M.A,{onDismiss:n,isDismissable:!0,size:"s",children:[(0,h.jsxs)(T.A,{hasHeroImage:!0,children:[e?(0,h.jsx)(to.g,{streakCount:e,backgroundColorIndex:l,customBackgroundColors:r}):(0,h.jsx)(j._,{imageSrc:i,imageWidth:600,imageHeight:300,imageAlt:""}),n&&(0,h.jsx)("div",{className:"absolute top-3 right-3",children:(0,h.jsx)(c.A,{onPress:n,variant:"onImage",size:"l",children:(0,h.jsx)(u.bm,{"aria-label":d("close"),size:"l"})})})]}),(0,h.jsx)("div",{className:"contents",children:(0,h.jsxs)(B.A,{unsafeClassName:"p-6 rounded-b-lg rounded-t-none",children:[s&&(0,h.jsx)("h1",{className:"mb-1 text-center font-bold text-lg",children:s}),t&&(0,h.jsx)("p",{className:"text-center text-sm",children:t}),a&&(0,h.jsx)("div",{className:"mt-6 empty:hidden",children:a})]})})]})},td=t(45556),tm=t(29913),tx=t(14069),tu=({profileImageUrl:e,nickname:s,profile:t,slotAction:a,slotMoreAction:l,slotAnchor:r,avatarElementType:i,profileHref:n,avatarSize:o="m"})=>{let c=null!=r;return(0,h.jsxs)("div",{className:"relative flex h-full flex-col rounded-lg border border-border-default p-4",children:[c&&(0,h.jsx)(b.p,{defaultProps:{title:s,unSafeClassName:"absolute inset-0"},children:r}),(0,h.jsx)("div",{className:(0,v.QP)("mb-2 flex items-center gap-2",c&&"pointer-events-none"),...c&&{"aria-hidden":!0},children:(0,h.jsx)(tx.e,{src:e,alt:"",isStatic:c||!n,elementType:!c&&n?i:"div",href:c?void 0:n,name:(0,h.jsx)("span",{className:"line-clamp-2 break-all text-sm",children:s}),size:o,isBold:!0})}),void 0!==t&&(0,h.jsx)("p",{className:"mb-4 line-clamp-3 max-h-[3.375rem] text-text-secondary text-xs",children:t}),(a||l)&&(0,h.jsxs)("div",{className:"pointer-events-none relative z-10 mt-auto flex items-center gap-2",children:[a&&(0,h.jsx)("div",{className:"pointer-events-auto w-fit",children:a}),l&&(0,h.jsx)("div",{className:"pointer-events-auto ml-auto w-fit",children:l})]})]})},th=t(62511),tp=t(77203),tf=t(8510),tg=t(94245);function tj({targetRef:e,isOpen:s,onOpenChange:t,onQuickLookMouseEnter:a,onQuickLookMouseLeave:l,creatorName:r,avatar:i,profile:n,creatorHref:o,followingCount:c,followerCount:d,followingHref:m,followerHref:x,slotFollowButton:u,slotDialogWrapper:p,avatarElementType:f,counterLinkElementType:g,isFollowed:j,isMyself:b,isFollowedLabelShown:v=!0,lang:N="ja-JP"}){let y=(0,R.Ru)({lang:N,dict:th.LR});return(0,h.jsxs)(z.A,{type:"popover",targetRef:e,isOpen:s,onOpenChange:t,placement:"bottom",offset:8,isKeyboardDismissDisabled:!1,hideArrow:!0,isNonModal:!0,isDismissable:!1,containFocus:!1,children:[(0,h.jsx)("div",{className:"hidden"}),p((0,h.jsx)("div",{onMouseEnter:a,onMouseLeave:l,children:(0,h.jsx)(tg.A,{unsafeClassName:"w-80 p-4",children:(0,h.jsx)(tp.W,{lang:N,nickname:r,nicknameHref:o,headingLevel:3,isVerticalLayout:!0,slotAvatar:(0,h.jsx)(tx.e,{alt:r,src:i??"",size:"xl",href:o,elementType:f}),slotProfile:n?(0,h.jsx)("div",{className:"line-clamp-3",children:(0,h.jsx)(Z.f,{text:n})}):void 0,slotFollowedLabel:j&&!b&&v?(0,h.jsx)(s_.Y,{variant:"quiet",isPill:!1,children:y("followed")}):void 0,slotActionIcons:u,slotFollowCounter:void 0!==c&&void 0!==d?(0,h.jsx)(tf.r,{followingCount:c,followerCount:d,followingHref:m,followerHref:x,linkElementType:g,lang:N}):void 0})})}))]})}var tb=t(70888),tv=t(30424),tN=t(41745),ty=t(21244),tw=t(50561),tk=t(61783),tC=t(76924),tP=t(77626),tA=t(53180),tS="absolute rounded-lg border border-border-default bg-surface-normal",tL=452,tz=237,tM=({name:e,ownerName:s,ownerImageUrl:t,coverImageUrl:a,price:l,priceAdditionalText:r,isMinimumPrice:i=!0,description:n,headingLevel:o=3,imageElementType:c,coverImageWidth:d=tL,coverImageHeight:m=tz,slotAnchor:x})=>{let u=`h${o}`;return(0,h.jsxs)("div",{className:"relative h-full pr-1.5 pb-1.5",children:[(0,h.jsx)("div",{"aria-hidden":!0,
1className:`${tS} top-1.5 right-0 bottom-0 left-1.5`}),(0,h.jsx)("div",{"aria-hidden":!0,className:`${tS} inset-[0.1875rem]`}),(0,h.jsxs)("div",{className:"relative flex h-full flex-row-reverse items-center gap-2 rounded-lg border border-border-default bg-surface-normal p-3 sm:flex-col sm:items-stretch",children:[x&&(0,h.jsx)(b.p,{defaultProps:{title:e,unSafeClassName:"rounded-lg"},children:x}),(0,h.jsx)("div",{className:"w-[8.75rem] shrink-0 sm:w-full",children:void 0===a?(0,h.jsx)("div",{className:"aspect-[1280/670] w-full rounded bg-surface-quaternary sm:rounded-lg"}):(0,h.jsx)(j._,{imageSrc:a,imageAlt:"",imageElementType:c,imageWidth:d,imageHeight:m,disableAspectRatio:!0,unSafeClassName:"aspect-[1280/670] rounded sm:rounded-lg"})}),(0,h.jsxs)("div",{className:"flex min-w-0 flex-1 flex-col gap-1 self-stretch",children:[(0,h.jsx)(u,{className:"line-clamp-1 font-bold text-sm text-text-primary leading-normal sm:text-base",children:e}),(0,h.jsx)(sE.g,{price:l,suffix:r,hasTilde:i,isBold:!0,color:"emphasis"}),(0,h.jsx)(tx.e,{src:t,alt:"",size:"s",isStatic:!0,elementType:"div",truncatable:!0,name:s}),(0,h.jsx)("p",{className:"line-clamp-2 text-text-secondary text-xs leading-normal",children:n})]})]})]})},tT=e=>null!=e&&"boolean"!=typeof e&&""!==e&&(!Array.isArray(e)||e.some(tT)),tB=({formProps:e,slotEmailField:s,slotCancelButton:t,slotSubmitButton:a,slotFormError:l,slotSuccessMessage:r,className:i})=>{let n=tT(r),o=tT(l);return(0,h.jsxs)("div",{className:i,children:[(0,h.jsx)("div",{"aria-live":"assertive",children:n&&r}),!n&&(0,h.jsx)("form",{...e,children:(0,h.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,h.jsx)("div",{children:s}),o&&(0,h.jsx)("div",{children:l}),(0,h.jsxs)("div",{className:"flex justify-end gap-4",children:[t,a]})]})})]})},tF=({status:e,transferKind:s,unsafeClassName:t})=>(0,h.jsx)("span",{className:(0,v.QP)("whitespace-nowrap text-xs",t),children:"amazon_gift"===s?"ã®ããã«ã¼ã":"unpaid"===e?"æªæ¯è¾¼":"apply"===e?"ç³è«ä¸":"in_process"===e?"æ¯è¾¼ä½æ¥ä¸":"done"===e&&"bank"===s?"æ¯è¾¼æ¸":"æéåã"}),tE=t(78435),tR=({rows:e,title:s,unsafeClassName:t})=>{let a=(0,N.useMemo)(()=>[{key:"period",header:"æé",cellClassName:"align-middle",renderCell:e=>e.formattedPeriod},{key:"payment",header:"ãæ¯ææ¥",cellClassName:"align-middle",renderCell:e=>e.paymentLabel},{key:"amount",header:"売ä¸",align:"right",cellClassName:"align-middle",renderCell:e=>(0,h.jsx)(sE.g,{price:e.amount,size:"s"})},{key:"status",header:"ç¶æ³",cellClassName:"align-middle",renderCell:e=>(0,h.jsx)(tF,{status:e.status,transferKind:e.transferKind})},{key:"detail",header:(0,h.jsx)("span",{className:"sr-only",children:"詳細"}),align:"right",cellClassName:"align-middle",renderCell:e=>e.detailAction}],[]);return 0===e.length?null:(0,h.jsx)(tE.A,{className:t,title:s,columns:a,data:e,getRowKey:e=>e.key,size:"s"})},tI=({label:e,amount:s,action:t,primaryNote:a,secondaryNote:l,tableSlot:r,unsafeClassName:i})=>(0,h.jsxs)("div",{className:(0,v.QP)("rounded-lg bg-background-secondary px-6 py-8",i),children:[(0,h.jsxs)("div",{className:"flex items-center justify-center gap-4",children:[(0,h.jsx)("span",{className:"text-base",children:e}),(0,h.jsx)(sE.g,{price:s,isBold:!0,size:"xl"}),t?(0,h.jsx)("span",{className:"shrink-0",children:t}):null]}),a?(0,h.jsx)("div",{className:"mt-4 text-left text-sm text-text-secondary",children:a}):null,l?(0,h.jsx)("div",{className:"mt-2 text-left text-sm text-text-secondary",children:l}):null,r?(0,h.jsx)("div",{className:"mt-6",children:r}):null]}),t_=({label:e,amount:s,action:t,unsafeClassName:a})=>(0,h.jsxs)("div",{className:(0,v.QP)("flex items-center justify-between gap-4 rounded-lg bg-surface-invert px-4 py-2 text-text-invert",a),children:[(0,h.jsx)("span",{className:"text-base",children:e}),(0,h.jsx)(sE.g,{price:s,isBold:!0,size:"xl",color:"invert"}),t?(0,h.jsx)("span",{className:"shrink-0",children:t}):null]}),tD=({title:e,headingLevel:s,items:t,unsafeClassName:a})=>{if(0===t.length)return null;let l=`h${s}`;return(0,h.jsxs)("section",{className:(0,v.QP)("flex flex-col",a),children:[(0,h.jsx)(l,{className:"bg-background-secondary p-2 font-bold text-sm",children:e}),(0,h.jsx)("div",{className:"divide-y divide-border-default",children:t.map(e=>(0,h.jsxs)("div",{className:"relative flex items-center justify-between p-2",children:[e.href?(0,h.jsx)(G.M,{href:e.href,target:e.target,rel:e.rel,title:e.label,unSafeClassName:"[&_[data-name=reaction-overlay]]:!rounded-none"}):null,(0,h.jsxs)("div",{className:"text-sm",children:[e.label,e.suffix]}),(0,h.jsx)("div",{children:(0,h.jsx)(sE.g,{price:e.amount,size:"s"})})]},e.key))})]})},tH=({grossSales:e,fee:s,netSales:t,labels:a,unsafeClassName:l})=>(0,h.jsxs)("dl",{className:(0,v.QP)("flex flex-col gap-2",l),children:[(0,h.jsxs)("div",{className:"flex items-center justify-between bg-background-secondary p-2",children:[(0,h.jsx)("dt",{className:"text-sm",children:a.grossSales}),(0,h.jsx)("dd",{children:(0,h.jsx)(sE.g,{price:e,size:"l",isBold:!0})})]}),(0,h.jsxs)("div",{className:"flex items-center justify-between bg-background-secondary p-2",children:[(0,h.jsx)("dt",{className:"text-sm",children:a.fee}),(0,h.jsx)("dd",{children:(0,h.jsx)(sE.g,{price:s,size:"l",isBold:!0})})]}),(0,h.jsxs)("div",{className:"flex items-center justify-between bg-background-secondary p-2",children:[(0,h.jsx)("dt",{className:"text-sm",children:a.netSales}),(0,h.jsx)("dd",{children:(0,h.jsx)(sE.g,{price:t,size:"l",isBold:!0})})]})]}),tU=({title:e,description:s,unsafeClassName:t})=>
1(0,h.jsxs)("div",{className:(0,v.QP)("rounded-lg bg-background-secondary px-6 py-8 text-center",t),children:[(0,h.jsx)("p",{className:"font-bold text-xl",children:e}),s?(0,h.jsx)("p",{className:"mt-2 text-sm text-text-secondary",children:s}):null]}),tJ=({rows:e,title:s,unsafeClassName:t})=>{let a=(0,N.useMemo)(()=>[{key:"period",header:"æé",cellClassName:"align-middle",renderCell:e=>e.formattedPeriod},{key:"amount",header:"売ä¸éé¡",align:"right",cellClassName:"align-middle",renderCell:e=>(0,h.jsx)(sE.g,{price:e.amount,size:"s"})},{key:"fee",header:"åç¨®ææ°æ",align:"right",cellClassName:"align-middle",renderCell:e=>(0,h.jsx)(sE.g,{price:e.fee,size:"s"})},{key:"detail",header:(0,h.jsx)("span",{className:"sr-only",children:"詳細"}),align:"right",cellClassName:"align-middle",renderCell:e=>e.detailAction}],[]);return 0===e.length?null:(0,h.jsx)(tE.A,{className:t,title:s,columns:a,data:e,getRowKey:e=>e.key,size:"s"})},tO=t(97791),tQ={"ja-JP":{download:"ãã¦ã³ãã¼ã"}},t$={"ja-JP":{play:"åç",pause:"䏿忢",playbackPosition:"åçä½ç½®",seekBar:"ã·ã¼ã¯ãã¼"}},tW={"ja-JP":{play:"åç",pause:"䏿忢",seekBar:"ã·ã¼ã¯ãã¼",playbackPosition:"åçä½ç½®",download:"ãã¦ã³ãã¼ã",downloading:"ãã¦ã³ãã¼ãä¸...",downloaded:"ãã¦ã³ãã¼ããã¾ãã",skipBackward30:"30ç§æ»ã",skipForward30:"30ç§é²ã",musicIcon:"鳿¥½ã¢ã¤ã³ã³",coverImage:"ã«ãã¼ç»å",playbackSpeedSuffix:"åé"}},tV=e=>[`${Math.floor(e/60)}`.padStart(2,"0"),`${Math.round(e%60)}`.padStart(2,"0")].join(":");function tq({src:e,duration:s}){let t=(0,r.s)(t$),{seek:a,setSeek:l,play:i,pause:n,isPlaying:o}=ea({src:e}),c=(0,N.useRef)(null),d=(0,N.useMemo)(()=>s<=0?0:a>s?100:a/s*100,[a,s]),m=(0,N.useCallback)(e=>{switch(e.code){case"ArrowLeft":l(Math.max(a-1,0));return;case"ArrowRight":l(Math.min(a+1,s));return}},[l,s,a]),x=(0,N.useCallback)(e=>{null!==c.current&&l(e.nativeEvent.offsetX/c.current.clientWidth*s)},[s,l]);return(0,h.jsxs)("div",{className:"flex items-center gap-3",children:[(0,h.jsx)("button",{type:"button",onClick:o?n:i,className:"flex size-7 shrink-0 items-center justify-center rounded-full bg-surface-tertiary text-surface-normal",children:o?(0,h.jsx)(u.vRz,{"aria-label":t("pause"),size:"s"}):(0,h.jsx)(u.eJ6,{"aria-label":t("play"),size:"s"})}),(0,h.jsxs)("div",{ref:c,className:"relative flex w-full cursor-pointer",onKeyDown:m,onClick:x,"aria-label":t("playbackPosition"),"aria-valuetext":t("seekBar"),"aria-valuemax":100,"aria-valuemin":0,tabIndex:0,"aria-valuenow":Math.round(d),role:"slider",children:[(0,h.jsx)("span",{style:{width:`${d}%`},className:"h-1.5 bg-surface-tertiary"}),(0,h.jsx)("span",{className:"absolute top-0 left-0 h-1.5 w-full bg-border-default"})]}),(0,h.jsxs)("span",{className:"shrink-0 text-text-secondary text-xs",children:[tV(a)," | ",tV(s)]})]})}function tX({description:e,href:s,title:t,src:a,duration:l,imageSrc:i,artistName:n,canDownload:o,urlForDownload:c,linkElementType:d}){let m=(0,r.s)(tQ),x=(0,N.useCallback)(()=>{"string"==typeof c&&(window.location.href=c)},[c]);return(0,h.jsxs)("div",{className:"flex gap-4 bg-background-secondary p-4",children:[(0,h.jsx)("div",{className:"size-24 shrink-0 overflow-hidden rounded-lg",children:(0,h.jsx)(j._,{imageSrc:i,imageAlt:""})}),(0,h.jsxs)("div",{className:"w-full",children:[(0,h.jsxs)("div",{className:"mb-2 flex w-full items-start",children:[(0,h.jsxs)("div",{className:"flex-1",children:[(0,h.jsx)(d,{href:s,children:(0,h.jsx)("span",{className:"line-clamp-2 font-bold",children:t})}),void 0!==n&&(0,h.jsx)("p",{className:"text-xs",children:n})]}),o&&void 0!==c&&(0,h.jsx)(E.A,{onPress:x,type:"button",variant:"basic",size:"s",children:m("download")})]}),(0,h.jsx)(tq,{src:a,duration:l}),void 0!==e&&(0,h.jsx)("p",{className:"mt-2 text-text-secondary text-xs",children:e})]})]})}var tK=e=>[`${Math.floor(e/60)}`.padStart(2,"0"),`${Math.round(e%60)}`.padStart(2,"0")].join(":"),tY=({src:e,duration:s,title:t,imageSrc:a,artistName:l,canDownload:i,soundKey:n,onDownload:o})=>{let c=(0,r.s)(tW),{seek:d,setSeek:m,play:x,pause:p,isPlaying:f,rate:g,setRate:j}=ea({src:e}),[b,v]=(0,N.useState)(!1),[y,w]=(0,N.useState)(!1),[k,C]=(0,N.useState)(!1),P=(0,N.useRef)(null),A=(0,N.useMemo)(()=>s<=0?0:d>s?100:d/s*100,[d,s]),S=(0,N.useCallback)(e=>{switch(e.code){case"ArrowLeft":m(Math.max(d-1,0));return;case"ArrowRight":m(Math.min(d+1,s));return}},[m,s,d]),L=(0,N.useCallback)(e=>{if(null===P.current)return 0;let t=P.current.getBoundingClientRect();return Math.max(0,Math.min(1,(e-t.left)/t.width))*s},[s]),z=(0,N.useCallback)(e=>{b||m(L(e.clientX))},[L,m,b]),M=(0,N.useCallback)(e=>{v(!0),m(L(e.clientX))},[L,m]),T=(0,N.useCallback)(e=>{b&&m(L(e.clientX))},[b,L,m]),B=(0,N.useCallback)(()=>{v(!1)},[]);(0,N.useEffect)(()=>
1{if(b)return document.addEventListener("mousemove",T),document.addEventListener("mouseup",B),document.addEventListener("mouseleave",B),()=>{document.removeEventListener("mousemove",T),document.removeEventListener("mouseup",B),document.removeEventListener("mouseleave",B)}},[b,T,B]);let F=(0,N.useCallback)(async()=>{if(void 0!==o&&void 0!==n){C(!1),w(!0);try{await o(n,t),C(!0)}catch(e){console.error("Download failed:",e)}finally{w(!1)}}},[o,n,t]),R=(0,N.useCallback)(()=>{m(Math.max(d-30,0))},[d,m]),I=(0,N.useCallback)(()=>{m(Math.min(d+30,s))},[d,s,m]),_=(0,N.useCallback)(()=>{let e=[.5,1,1.25,1.5,2,3,4];j(e[(e.indexOf(g)+1)%e.length])},[g,j]);return(0,N.useEffect)(()=>{if(void 0===n)return;let e=e=>{if(e.data?.type!=="SOUND_PLAYER_CONTROL")return;let{action:s,targetKey:t,options:a}=e.data;if(void 0===t||t===n)switch(s){case"play":x();break;case"pause":p();break;case"seek":a?.seek!==void 0&&m(a.seek);break;case"setRate":a?.rate!==void 0&&j(a.rate);break;case"skipForward":I();break;case"skipBackward":R()}};return window.addEventListener("message",e),window.parent!==window&&window.parent.postMessage({type:"SOUND_PLAYER_READY",soundKey:n},"*"),()=>{window.removeEventListener("message",e)}},[n,x,p,m,j,I,R]),(0,h.jsx)("div",{className:"rounded-lg border border-border-default border-solid",children:(0,h.jsxs)("div",{className:"h-[273px] w-full rounded-lg bg-background-primary p-6 shadow-lg",children:[(0,h.jsxs)("div",{className:"flex gap-4",children:[(0,h.jsx)("div",{className:"w-32 flex-shrink-0",children:(0,h.jsx)("div",{className:"mb-4 flex justify-center",children:a?(0,h.jsx)("img",{src:a,alt:t,className:"size-32 rounded-lg bg-background-secondary object-cover"}):(0,h.jsx)("div",{className:"flex size-32 items-center justify-center overflow-hidden rounded-lg bg-background-secondary",children:(0,h.jsx)("img",{src:"https://assets.st-note.com/poc-image/manual/note-common-images/production/defaults/default_sound.png",width:640,height:640,"aria-label":c("coverImage")})})})}),(0,h.jsxs)("div",{children:[(0,h.jsx)("h1",{className:"line-clamp-2 break-all font-bold",children:t}),l&&(0,h.jsx)("p",{className:"mt-2 line-clamp-1 break-all text-text-secondary text-xs",children:l}),i&&o&&n&&(0,h.jsx)("div",{className:"mt-4",children:k?(0,h.jsx)("div",{className:"flex h-8 items-center text-sm text-text-success",children:c("downloaded")}):(0,h.jsx)(E.A,{onPress:F,size:"s",variant:"basic",isPending:y,children:c(y?"downloading":"download")})})]})]}),(0,h.jsx)("div",{className:"",children:(0,h.jsxs)("div",{className:"flex items-center justify-between gap-4 text-text-secondary text-xs",children:[(0,h.jsx)("span",{children:tK(d)}),(0,h.jsxs)("div",{ref:P,className:"relative h-1 w-full cursor-pointer rounded-full bg-border-normal",onKeyDown:S,onClick:z,onMouseDown:M,"aria-label":c("playbackPosition"),"aria-valuetext":c("seekBar"),"aria-valuemax":100,"aria-valuemin":0,tabIndex:0,"aria-valuenow":Math.round(A),role:"slider",children:[(0,h.jsx)("div",{style:{width:`${A}%`},className:"h-full rounded-full bg-border-strong"}),(0,h.jsx)("div",{style:{left:`${A}%`},className:"-top-3 -translate-x-1/2 absolute size-6 rounded-full bg-background-primary drop-shadow-lg"})]}),(0,h.jsx)("span",{children:tK(s)})]})}),(0,h.jsxs)("div",{className:"flex items-center justify-center gap-4 text-text-secondary",children:[(0,h.jsx)("button",{type:"button",onClick:R,className:"flex size-8 items-center justify-center rounded-full",children:(0,h.jsx)(u.TDq,{"aria-label":c("skipBackward30"),size:"xl"})}),(0,h.jsx)("button",{type:"button",onClick:f?p:x,className:"flex size-8 items-center justify-center rounded-full",children:f?(0,h.jsx)(u.vRz,{"aria-label":c("pause"),size:"xxl"}):(0,h.jsx)(u.eJ6,{"aria-label":c("play"),size:"xxl"})}),(0,h.jsx)("button",{type:"button",onClick:I,className:"flex size-8 items-center justify-center rounded-full",children:(0,h.jsx)(u.dW6,{"aria-label":c("skipForward30"),size:"xl"})})]}),(0,h.jsx)("div",{className:"mt-0 text-center",children:(0,h.jsxs)(E.A,{onPress:_,size:"s",variant:"none",children:[g,c("playbackSpeedSuffix")]})})]})})},tG=t(20729),tZ=e=>{let s=(0,r.s)(tG.K);
1return(0,h.jsx)(E.A,{size:"s",variant:"basic",isFull:!0,...e,children:(0,h.jsxs)("span",{className:"flex items-center gap-1",children:[(0,h.jsx)(u.pD,{size:"s","aria-label":"","aria-hidden":!0}),(0,h.jsx)("span",{className:"leading-none",children:s("supportButtonText")})]})})},t0=t(63195),t1=t(2456),t2=t(44268),t6=t(80200);function t4(e){return(0,h.jsx)("button",{...e,type:"button"})}var t8="relative block h-8 sm:h-14 [&>img]:object-contain dark:[&>img]:invert",t5=e=>`relative rounded-lg border-2 p-2 text-center text-text-primary ${e?"border-border-primary bg-surface-normal":"border-transparent"}`;function t3({choice:e}){let s=(0,ee.H)({amount:e.price??0})?.join("")??"";return(0,h.jsxs)("div",{className:t5(e.isSelected),children:[(0,h.jsx)("span",{className:t8,children:e.slotIcon}),(0,h.jsx)("div",{className:"relative mt-2 flex items-center justify-center font-bold",children:(0,h.jsx)(sE.g,{price:e.price??0,size:"l"})}),(0,h.jsx)(t1.M,{linkElementType:t4,onPress:e.onSelect,title:s})]})}function t9({choice:e}){let{isHovered:s,hoverProps:t}=(0,t6.M)({});return(0,h.jsxs)("div",{className:t5(e.isSelected),...t,children:[(0,h.jsx)(t2.P,{isHovered:s}),(0,h.jsx)("span",{className:t8,children:e.slotIcon}),(0,h.jsxs)("span",{className:"relative mt-2 flex items-center justify-center gap-0.5 font-bold text-sm",children:[(0,h.jsx)("span",{"aria-hidden":"true",children:"\xa5"}),e.slotInlineInput]})]})}function t7({formLabel:e,title:s,appealText:t,amountLabel:a,onSubmit:l,slotBackgroun
1d:r,slotAvatar:i,slotHelpLink:n,slotFreePriceError:o,choices:c,slotMembershipSupport:d,slotMessageInput:m,slotFollowCheckbox:x,slotActions:u}){return(0,h.jsxs)(h.Fragment,{children:[(0,h.jsxs)("form",{"aria-label":e,noValidate:!0,onSubmit:l,children:[(0,h.jsxs)("div",{className:"relative flex flex-col items-center px-12 py-6 [&>img]:object-cover",children:[r,t&&(0,h.jsx)("div",{className:"relative mb-4 w-full rounded-lg bg-surface-normal px-4 py-2 before:absolute before:-bottom-1.5 before:left-1/2 before:size-3 before:-translate-x-1/2 before:rotate-45 before:bg-surface-normal before:content-['']",children:(0,h.jsx)("p",{className:"line-clamp-4 whitespace-pre-wrap text-sm",children:t})}),i&&(0,h.jsx)("div",{className:"relative mb-4",children:i}),(0,h.jsx)("h1",{className:"relative text-center font-bold text-text-primary text-xs",children:s})]}),d,n&&(0,h.jsx)("div",{className:"mx-4 mt-4 flex justify-end",children:n}),(0,h.jsxs)("fieldset",{className:"m-4 min-w-0",children:[(0,h.jsx)("legend",{className:"mb-2 font-bold text-sm",children:a}),(0,h.jsx)("div",{className:"grid grid-cols-4 gap-2",children:c.map(e=>e.slotInlineInput?(0,h.jsx)(t9,{choice:e},e.key):(0,h.jsx)(t3,{choice:e},e.key))}),o&&(0,h.jsx)("div",{className:"mt-2 text-sm text-text-danger",children:o})]}),m&&(0,h.jsx)("div",{className:"m-4",children:m}),x&&(0,h.jsx)("div",{className:"m-4",children:x})]}),u&&(0,h.jsx)("div",{className:"flex flex-col gap-3 p-4",children:u})]})}var ae=()=>(0,h.jsx)("svg",{"aria-hidden":"true",viewBox:"0 0 24 24",fill:"currentColor",className:"size-6 shrink-0 text-text-disabled",children:(0,h.jsx)("path",{d:"M16 6L18.29 8.29L13.41 13.17L9.41 9.17L2 16.59L3.41 18L9.41 12L13.41 16L19.71 9.71L22 12V6H16Z"})}),as=({text:e,slotAnchor:s,slotClose:t,isFit:a=!1})=>(0,h.jsxs)("div",{className:(0,v.QP)("relative flex min-h-10 items-center justify-center rounded-lg border border-border-default bg-background-secondary py-2 pr-2 pl-1 text-text-primary","sm:min-h-14 sm:py-1 sm:pr-4",!a&&"whitespace-nowrap sm:whitespace-normal"),children:[(0,h.jsxs)("span",{className:"ml-2 inline-flex min-h-6 flex-1 items-center font-bold text-sm sm:ml-4 sm:min-h-[2.875rem]",children:[(0,h.jsx)(ae,{}),(0,h.jsx)("span",{className:"ml-1 sm:ml-2",children:e})]}),(0,h.jsx)(b.p,{defaultProps:{title:e},children:s}),(0,h.jsx)("span",{className:"relative z-10 flex items-center justify-center text-text-disabled",children:t})]}),at=({children:e,unsafeClassName:s})=>{let t=N.Children.count(e);return 0===t?null:(0,h.jsx)("div",{className:(0,v.QP)("grid max-w-[134rem] gap-2 overflow-x-scroll sm:overflow-x-visible [&::-webkit-scrollbar]:hidden",1===t?"grid-cols-1":2===t?"grid-flow-col auto-cols-max sm:grid-flow-row sm:grid-cols-2":"grid-flow-col auto-cols-max sm:grid-flow-row sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-2 xl:grid-cols-3",s),children:N.Children.map(e,(e,s)=>(0,h.jsx)("div",{className:(0,v.QP)(t>=3&&2===s&&"sm:hidden md:block lg:hidden xl:block"),children:e}))})},aa=t(47695),al=t(66269)},24693:(e,s,t)=>{t.d(s,{c:()=>a,n:()=>l});var a={gmail:{name:"Google",icon:"https://assets.st-note.com/poc-image/manual/note-common-images/production/svg/googleg.svg"},x:{name:"X",icon:"https://assets.st-note.com/poc-image/manual/note-common-images/production/svg/x.svg"},apple:{name:"Apple",icon:"https://assets.st-note.com/poc-image/manual/note-common-images/production/svg/apple.svg"},mail:{name:"ã¡ã¼ã«",icon:"https://assets.st-note.com/poc-image/manual/note-common-images/production/svg/mail.svg"}},l=["gmail","x","apple","mail"]},28633:(e,s,t)=>{t.d(s,{p:()=>c});var a=t(81006),l=t(46003),r=t(54515),i=t(43868),n=t(38702),o=t(6688);function c(e){let{slotImage:s,providerName:t,description:c,purposeList:d,slotPrivacyNotice:m,onAccept:x,onCancel:u}=e,h=(0,a.s)(l.dw);return(0,o.jsx)(r.A,{"aria-label":h("linkProvider",{providerName:t}),children:(0,o.jsxs)(i.A,{children:[(0,o.jsx)("div",{className:"flex h-[126px] items-center justify-center",children:s}),(0,o.jsx)("h1",{className:"mb-2 text-center font-bold text-xl",children:h("linkProvider",{providerName:t})}),(0,o.jsx)("p",{className:"mb-10 text-center",children:h("registrationIsQuickAndEasy")}),(0,o.jsx)("div",{className:"mb-4",children:(0,o.jsx)(n.A,{variant:"primary",isFull:!0,onPress:x,children:h("agreeAndLink")})}),(0,o.jsx)("p",{className:"mb-1 text-text-secondary text-xs",children:c}),Array.isArray(d)&&(0,o.jsx)("ul",{className:"mb-6 pl-6 text-text-secondary text-xs",children:d.map((e,s)=>(0,o.jsx)("li",{className:"mb-1 list-disc",children:e},`${s}${e}`))}),m,(0,o.jsx)("div",{className:"mb-4 flex justify-center",children:(0,o.jsx)(n.A,{variant:"none",onPress:u,children:h("notNow")})})]})})}},29426:(e,s,t)=>{t.d(s,{I:()=>a,r:()=>l});var a={"ja-JP":{showAllStocks:"ãã¹ã¦ã®é¢é£éæã表示"}},l={"ja-JP":{pickedUpPrefix:"ãã®è¨äºã¯",noteMoney:"noteããã¼",pickedUpSuffix:"ã«ããã¯ã¢ããããã¾ãã",bannerAlt:"noteããã¼ã®ããã¼"}}},30252:(e,s,t)=>{t.d(s,{C:()=>c});var a=t(64962),l=t(35169),r=t(20024),i=t(28176),n=t(6688),o=t(45971);function c(e){let{slotUserAnchor:s,slotAvatar:t,slotActions:c,slotActionMenu:d,slotReply:m,slotEdit:x,comment:u,datetime:h,displayTime:p,isEditMode:f=!1,userName:g,userNameForReply:j,isArticleAuthor:b,isEdited:v,lang:N="ja-JP"}=e,y=(0,i.Ru)({lang:N,dict:l.qV});return(0,n.jsxs)("div",{className:"relative flex items-start gap-2 pt-3 pb-2",children:[null!=t&&(0,n.jsxs)("div",{className:"relative flex-shrink-0",children:[t,null!=s&&(0,n.jsx)(a.p,{defaultProps:{title:g},children:s})]}),(0,n.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,n.jsxs)("div",{className:"ml-2 flex items-center",children:[(0,n.jsxs)("div",{className:"relative inline-flex items-center truncate",children:[b?(0,n.jsx)(r.Y,{children:(0,o.xv)(g,v?10:14)}):(0,n.jsx)("span",{className:"relative truncate font-bold text-text-primary text-xs",children:g}),null!=s&&(0,n.jsx)(a.p,{defaultProps:{title:g},children:s})]}),(0,n.jsx)("span",{className:"text-text-secondary text-xs","aria-hidden":"true",children:"ã»"}),(0,n.jsxs)("span",{className:"mr-4 whitespace-nowrap text-text-secondary text-xs",children:[(0,n.jsx)("time",{className:"mr-1",dateTime:h,children:p}),v&&(0,n.jsxs)("span",{children:["(",y("edited"),")"]})]}),!f&&null!=d&&(0,n.jsx)("div",{className:"ml-auto",children:d})]}),f&&x,!f&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"mr-6 mb-2 ml-2",children:[void 0!==j&&(0,n.jsxs)("div",{className:"flex items-center gap-1 whitespace-nowrap py-1 text-sm text-text-primary",children:[(0,n.jsx)("span",{className:"truncate font-bold",children:y("userNameForReply",{name:j})}),(0,n.jsx)("span",{children:y("userNameForReplySuffix")})]}),u]}),c]}),m]})]})}},30424:(e,s,t)=>{t.d(s,{W:()=>m});var a=t(81006),l=t(62511),r=t(9178),i=t(63447),n=t(54515),o=t(98161),c=t(6688),d=t(95116);function m(e){let{isFollowing:s,isFollowed:t,hasIcon:m=!0,isFull:x=!0,showThanks:u,slotThanks:h,thanksPlacement:p="top"}=e,f=(0,a.s)(l._C),g=(0,d.useMemo)(()=>!!u&&!!h,[u,h]),j=(0,d.useMemo)(()=>t&&!s?f("followed"):s?(0,c.jsxs)(c.Fragment,{children:[m&&(0,c.jsx)(o.wWW,{"aria-label":""}),f("following")]}):(0,c.jsxs)(c.Fragment,{children:[m&&(0,c.jsx)(o.R9U,{"aria-label":""}),f("follow")]}),[m,s,f,t]);return(0,c.jsxs)(r.A,{type:"popover",isNonModal:!0,isOpen:g,placement:p,offset:2,children:[(0,c.jsx)(i.A,{...e,isFull:x,isSelected:s,isSuccess:!0,size:"s",children:(0,c.jsx)("span",{className:"inline-flex items-center justify-center gap-1",children:j})}),(0,c.jsx)(n.A,{"aria-label":f("thanks"),children:h})]})}},30498:(e,s,t)=>{t.d(s,{b:()=>d});var a=t(14222),l=t(90966),r=t(98161),i=t(11943),n=t(28176),o=t(6688),c=t(95116);function d(e){let{items:s,activeHash:t,unsafeSheetClassName:d,onOpenChange:m,onItemPress:x,lang:u="ja-JP"}=e,h=(0,n.Ru)({lang:u,dict:a.BB}),[p,f]=(0,c.useState)(!1),g=(0,c.useRef)(null),j=(0,c.useRef)(null),b=(0,c.useCallback)(e=>{f(e),m?.(e)},[m]),v=(0,c.useCallback)(()=>b(!1),[b]),N=(0,c.useCallback)(e=>{x?.(e),b(!1)},[b,x]);return(0,c.useEffect)(()=>
1{if(!1===p)return;let e=e=>{let s=e.target;s instanceof Node&&!1==(j.current?.contains(s)===!0||g.current?.contains(s)===!0)&&b(!1)};return document.addEventListener("pointerdown",e),()=>document.removeEventListener("pointerdown",e)},[p,b]),(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("div",{ref:g,className:"flex items-center justify-center",children:(0,o.jsx)(l.A,{variant:"clickableIcon","aria-label":h("tableOfContents"),"aria-expanded":p,"aria-haspopup":"dialog",onPress:()=>b(!1===p),children:(0,o.jsxs)("span",{className:"flex items-center",children:[(0,o.jsx)(r.vNp,{"aria-label":"",size:"m"}),(0,o.jsx)("span",{className:"ml-2 text-sm",children:h("tableOfContents")})]})})}),p&&(0,o.jsxs)("div",{ref:j,className:(0,i.QP)("overflow-hidden rounded-lg border border-border-default bg-surface-normal",d),children:[(0,o.jsxs)("div",{className:"flex items-center justify-between border-border-default border-b px-4 py-3",children:[(0,o.jsx)("span",{className:"font-bold text-sm",children:h("tableOfContents")}),(0,o.jsx)(l.A,{variant:"clickableIcon","aria-label":h("close"),onPress:v,children:(0,o.jsx)(r.bm,{"aria-label":"",size:"s"})})]}),(0,o.jsx)("nav",{"aria-label":h("tableOfContents"),children:(0,o.jsx)("ol",{className:"max-h-[50vh] overflow-y-auto py-2",children:s.map(e=>(0,o.jsx)("li",{children:(0,o.jsx)("a",{href:`#${e.hash}`,onClick:()=>N(e.hash),"aria-current":t===e.hash?"location":void 0,className:(0,i.QP)("block px-4 py-2 text-sm",3===e.level&&"pl-8",t===e.hash?"font-bold text-text-primary":"text-text-secondary"),children:e.name})},e.hash))})})]})]})}},35169:(e,s,t)=>{t.d(s,{CZ:()=>i,EJ:()=>n,cR:()=>l,gN:()=>r,qV:()=>a});var a={"ja-JP":{userNameForReply:"@{name}",userNameForReplySuffix:"ãã",postComment:"ã³ã¡ã³ããã",send:"éä¿¡",edited:"ç·¨éæ¸ã¿"}},l={"ja-JP":{cancelReply:"ãã£ã³ã»ã«",replyToUserSuffix:"ããã«è¿ä¿¡",send:"éä¿¡"}},r={"ja-JP":{replyToUserSuffix:"ã«è¿ä¿¡",cancel:"ãã£ã³ã»ã«",send:"éä¿¡"}},i={"ja-JP":{replyCount:"è¿ä¿¡{count}ä»¶",closeReply:"éãã",openReply:"éã",closeReplyWithCount:"è¿ä¿¡{count}ä»¶ãéãã",openReplyWithCount:"è¿ä¿¡{count}ä»¶ãéã"}},n={"ja-JP":{noComments1:"ã¹ãã ãã§ã¯ä¼ããããªãæ°æã¡ãã",noComments2:"ã³ã¡ã³ãã§ä¼ãã¦ã¿ã¾ãããï¼"}}},35806:(e,s,t)=>{t.d(s,{K:()=>o});var a=t(81006),l=t(35169),r=t(90966),i=t(98161),n=t(6688),o=({userNameForReply:e,slotEdit:s,isDisabled:t,onCancel:o,formProps:c})=>{let d=(0,a.s)(l.gN);return(0,n.jsxs)("div",{className:"space-y-2",children:[void 0!==e&&(0,n.jsxs)("div",{className:"mb-2 pt-1 text-text-secondary text-xs",children:[(0,n.jsxs)("span",{className:"inline-block max-w-48 truncate align-bottom font-bold",children:["@",e]}),(0,n.jsx)("span",{children:d("replyToUserSuffix")})]}),(0,n.jsxs)("form",{...c,children:[(0,n.jsx)("div",{className:"my-2 max-h-52 overflow-y-auto rounded-lg border border-border-default border-solid",children:s}),(0,n.jsxs)("div",{className:"mt-1 flex flex-shrink-0 justify-end gap-2",children:[(0,n.jsx)(r.A,{isCircle:!0,variant:"basic",size:"m",onPress:o,children:(0,n.jsx)(i.bm,{size:"xs","aria-label":d("cancel")})}),(0,n.jsx)(r.A,{type:"submit",isCircle:!0,variant:"primary",isDisabled:t,size:"m",children:(0,n.jsx)(i.X$Z,{size:"xs","aria-label":d("send")})})]})]})]})}},37417:(e,s,t)=>{t.d(s,{S:()=>m});var a=t(79325),l=t(64962),r=t(23014),i=t(63447),n=t(98161),o=t(28176),c=t(6688),d=t(95116);function m(e){let{imageElementType:s,helpUrl:t,type:m,title:x,items:u,onPress:h,disabledMagazineKeys:p,slotAnchor:f,hiddenHeader:g=!1,lang:j="ja-JP",actionType:b="commit"}=e,v=(0,o.Ru)({lang:j,dict:r.YU}),N=(0,d.useMemo)(()=>p.reduce((e,s)=>(e[s]=!0,e),{}),[p]),y=(0,d.useMemo)(()=>{switch(m){case"magazine":return n.Pq0;case"media":return n.$Uv;case"membership":return n.jlt}},[m]),w=(0,d.useMemo)(()=>{switch(b){case"commit":return v("commited");case"select":return v("selected")}},[b,v]),k=(0,d.useMemo)(()=>{switch(b){case"commit":return v("commit");case"select":return v("select")}},[b,v]);return(0,c.jsxs)("section",{"data-name":"AddArticle",children:[g?(0,c.jsx)("h2",{className:"sr-only",children:x}):(0,c.jsxs)("h2",{className:"sticky flex items-center justify-between bg-background-secondary px-4 py-2 text-text-secondary text-xs",children:[(0,c.jsxs)("span",{className:"flex items-center gap-1",children:[(0,c.jsx)(y,{size:"s","aria-label":""}),x]}),t&&(0,c.jsx)("a",{target:"_blank",href:t,rel:"noopener",children:(0,c.jsx)(n._VW,{size:"l","aria-label":v("help")})})]}),(0,c.jsx)("ul",{className:"divide-y divide-border-default",children:u.map(({name:e,image:t,noteCount:r,isPrivate:o,key:d,isSelected:x,isPaid:u,href:p,description:g,isStatusDeleted:j})=>(0,c.jsxs)("li",{className:`relative flex items-center justify-start gap-4 ${"magazine"===m?"p-4":"px-4 py-2"}`,children:[void 0!==p&&null!=f&&(0,c.jsx)(l.p,{defaultProps:{title:e,target:"_blank",href:p},children:f}),t&&(0,c.jsxs)("div",{className:"relative w-20 shrink-0",children:[o&&(0,c.jsx)("div",{className:"-left-1 -top-1 absolute flex size-5 items-center justify-center rounded-full bg-surface-normal",children:(0,c.jsx)(n.c_I,{"aria-label":v("private"),size:"s"})}),u&&(0,c.jsx)("div",{className:"-right-1 -top-1 absolute flex size-5 items-center justify-center rounded-full bg-custom-accent text-text-invert",children:(0,c.jsx)(n.zI1,{"aria-label":v("paid"),size:"s"})}
1),(0,c.jsx)(a._,{unSafeClassName:"rounded-lg",imageElementType:s,imageSrc:t,imageWidth:80,imageHeight:40,imageAlt:""})]}),(0,c.jsxs)("div",{className:"flex-1",children:[(0,c.jsxs)("h3",{className:"font-bold text-sm text-text-primary",children:[e,j&&(0,c.jsxs)("span",{className:"ml-1 text-text-secondary text-xs",children:["(",v("statusDeleted"),")"]}),void 0!==p&&(0,c.jsx)(n.c_$,{size:"m",unsafeClassName:"text-text-clickable-icon align-top","aria-label":""})]}),void 0===r?void 0!==g&&(0,c.jsx)("p",{className:"inline-flex items-center gap-0.5 text-text-secondary text-xs",children:g}):(0,c.jsxs)("p",{className:"inline-flex items-center gap-0.5 text-text-secondary text-xs",children:[(0,c.jsx)(n.Pq0,{size:"s",unsafeClassName:"text-text-clickable-icon align-top","aria-label":""}),r.toLocaleString(),v("noteCountUnit")]})]}),(0,c.jsx)("div",{className:"pointer-events-auto",children:(0,c.jsx)(i.A,{isSelected:x,onPress:()=>{h?.(d)},size:"s",isQuiet:!0,isDisabled:N[d]??!1,children:x?w:k})})]},d))})]})}},44603:(e,s,t)=>{t.d(s,{r:()=>o});var a=t(46003),l=t(28633),r=t(98161),i=t(28176),n=t(6688);function o(e){let{lang:s="ja-JP"}=e,t=(0,i.Ru)({lang:s,dict:a.P8});return(0,n.jsx)(l.p,{slotImage:(0,n.jsx)(r.X,{"aria-label":"",unsafeClassName:"size-20"}),providerName:t("providerName"),description:t("description"),purposeList:[t("purpose1"),t("purpose2"),t("purpose3"),t("purpose4")],slotPrivacyNotice:(0,n.jsxs)("div",{className:"mb-6 rounded-lg border border-border-default p-4 text-xs",children:[(0,n.jsx)("p",{className:"mb-2 font-bold",children:t("privacyNoticeTitle")}),(0,n.jsx)("p",{children:t("privacyNoticeBusinessLabel")}),(0,n.jsx)("p",{className:"mb-3",children:t("privacyNoticeBusinessName")}),(0,n.jsx)("p",{children:t("privacyNoticeManagerLabel")}),(0,n.jsx)("p",{children:t("privacyNoticeManagerName")}),(0,n.jsx)("p",{children:t("privacyNoticeContact")})]}),onAccept:e.onAccept,onCancel:e.onCancel})}},46003:(e,s,t)=>{t.d(s,{HK:()=>l,P8:()=>n,PK:()=>i,dw:()=>r,gG:()=>a});var a={"ja-JP":{description:"Googleã¢ã«ã¦ã³ãã®æ
å ±ã¯ããªãããGoogleã¢ã«ã¦ã³ãã§ãã°ã¤ã³ãããç®çã§ä½¿ç¨ãã¾ã"}},l={"ja-JP":{description:"Appleã¢ã«ã¦ã³ãã®æ
å ±ã¯ããªãããAppleã¢ã«ã¦ã³ãã§ãã°ã¤ã³ãããç®çã§ä½¿ç¨ãã¾ã"}},r={"ja-JP":{linkProvider:"{providerName}ã飿ºãã¦ãã ãã",registrationIsQuickAndEasy:"ç»é²ããµã¯ãã¨çµããã¾ãï¼",agreeAndLink:"åæãã¦é£æº",notNow:"ä»ã¯ããªã"}},i={"ja-JP":{signup:"ä¼å¡ç»é²"}},n={"ja-JP":{providerName:"X",description:"Xã¢ã«ã¦ã³ãã®æ
å ±ã¯ä»¥ä¸ã®ç®çã§ä½¿ç¨ãã¾ã",purpose1:"Xã¢ã«ã¦ã³ãã§ãã°ã¤ã³",purpose2:"ããªãã®è¨äºãXã§ã·ã§ã¢ãããã¨ãã«ãXã®ã¦ã¼ã¶ã¼åã表示",purpose3:"ãããã£ã¼ã«ã«Xã¢ã«ã¦ã³ãã¸ã®ãªã³ã¯ã表示",purpose4:"Xã®ãããã£ã¼ã«ç»åãnoteã®ãããã£ã¼ã«ã¢ã¤ã³ã³ã«è¨å®",privacyNoticeTitle:"ä¼å¡ç»é²ã«ãããå人æ
å ±ã®åãæ±ãã«ã¤ãã¦",privacyNoticeBusinessLabel:"1. å人æ
å ±ãåå¾ããäºæ¥è
",privacyNoticeBusinessName:"noteæ ªå¼ä¼ç¤¾",privacyNoticeManagerLabel:"2. å½ç¤¾ã®å人æ
å ±ä¿è·ç®¡çè
",privacyNoticeManagerName:"平山 éè¼ãæå±é¨ç½²ï¼ãã¡ã¤ãã³ã¹ ã°ã«ã¼ãé·",privacyNoticeContact:"é£çµ¡å
ï¼[email protected]"}}},46074:(e,s,t)=>{t.d(s,{R4:()=>a,VE:()=>i,eX:()=>r,gb:()=>l});var a={"ja-JP":{unit:"æ¬"}},l={"ja-JP":{follow:"ãã©ãã¼",following:"ãã©ãã¼ä¸"}},r={"ja-JP":{private:"éå
¬é",paid:"ææ"}},i={"ja-JP":{official:"å
¬å¼",paid:"ææ",operatingCreator:"éå¶ãã¦ããã¯ãªã¨ã¤ã¿ã¼"}}},48378:(e,s,t)=>{t.d(s,{s:()=>i,u:()=>n});var a=t(6688),l=t(95116),r=(0,l.createContext)(void 0),i=({href:e,urlname:s,children:t,slot:i})=>{let n=(0,l.useMemo)(()=>({href:e,urlname:s,children:t}),[t,e,s]);return(0,a.jsx)(r.Provider,{value:n,children:i})},n=()=>{let e=(0,l.useContext)(r);if(void 0===e)throw Error("useCreatorListItemContent must be used inside CreatorListItemContentProvider");return e}},52047:(e,s,t)=>{t.d(s,{r:()=>l,x:()=>a});var a={"ja-JP":{closeButton:"éãã",showAllTagsButton:"ãã¹ã¦ã®ã¿ã°ã表示"}},l={"ja-JP":{onlyVisibleToYou:"ããªãã ãã«è¡¨ç¤ºããã¦ãã¾ã",deletedTitle:"ãã®è¨äºã¯åé¤ããã¦ãã¾ãã",deletedBody:"ç¾å¨ãä½è
ã¨è³¼å
¥è
ã®ã¿é²è¦§å¯è½ã§ãã",privateTitle:"ãã®è¨äºã¯éå
¬éã¨ãªã£ã¦ãã¾ãã",privateBody1:"å½è¨äºãéå
¬éã®ææãã¬ã¸ã³ã«å«ã¾ãã¦ããå ´åã",privateBody2:"ãã§ã«ãã¬ã¸ã³ãè³¼å
¥æ¸ã®ã¦ã¼ã¶ã¼ã«ã¯è¨äºã®å
容ã表示ããã¦ãã¾ãã",frozenPermanentTitle:"ãã®è¨äºã¯å©ç¨è¦ç´éåã確èªããããããå
¬é忢ãããã¾ããã",frozenPermanentBodyBeforeTerms:"ä»ä¸åº¦",termsLinkLabel:"å©ç¨è¦ç´",frozenPermanentBodyAfterTerms:"ãã確èªããã ããè¦ç´ã«æµè§¦ããªãå
å®¹ã§æ°è¦ã«è¨äºãæç¨¿ããã ãã¾ãã¨å¹¸ãã§ãã",objectionBody:"ç°è°ç³ãç«ã¦ãããå ´åã¯ãç»é²ã®ã¡ã¼ã«ã¢ãã¬ã¹å®ã«ãéãããã¡ã¼ã«ãããè¿ä¿¡ãã ããã",contactBodyBeforeLink:"â»ã¡ã¼ã«ã®ç¢ºèªãã§ããªãå ´åã¯",contactLinkLabel:"ãã¡ã",contactBodyAfterLink:"ãããé£çµ¡ãã ããã",frozenTemporaryTitleBeforeTerms:"ãã®è¨äºã¯",frozenTemporaryTitleAfterTerms:"éåã®æããããããã䏿çã«å
¬é忢ãããã¾ããã"}}},57899:(e,s,t)=>{t.d(s,{T:()=>o});var a=t(81006),l=t(79325),r=t(46003),i=t(28633),n=t(6688);function o(e){let s=(0,a.s)(r.HK);return(0,n.jsx)(i.p,{slotImage:(0,n.jsx)(l._,{imageSrc:"https://assets.st-note.com/poc-image/manual/note-common-images/production/icons/icon_apple.svg",imageWidth:80,imageHeight:80,imageAlt:"","aria-hidden":"true",unSafeClassName:"w-20 h-20"}),providerName:"Apple",description:s("description"),onAccept:e.onAccept,onCancel:e.onCancel})}},57971:(e,s,t)=>{t.d(s,{t:()=>n});var a=t(79325),l=t(24693),r=t(90966),i=t(6688);function n(e){let{items:s,onPress:t}=e;return(0,i.jsx)("div",{className:"flex justify-between sm:justify-center sm:gap-8",children:s.map(e=>(0,i.jsxs)("label",{className:"flex flex-col items-center",children:[(0,i.jsx)(r.A,{size:"xxl",variant:"basic",isCircle:!0,onPress:()=>t(e),children:(0,i.jsx)(a._,{imageSrc:l.c[e].icon,imageAlt:"",unSafeClassName:"w-6 h-6",imageWidth:25,imageHeight:25})}),(0,i.jsx)("div",{className:"mt-2 text-xs",children:l.c[e].name})]},e))})}},58026:(e,s,t)=>{t.d(s,{O:()=>r});var a=t(65619),l=t(6688);function r(e){let{price:s,slotOptions:t,additionalText:r="",isMinimumPrice:i}=e;if((0!==s||!0===i)&&void 0!==s)return(0,l.jsxs)("div",{className:"flex items-center gap-1 text-text-success",children:[(0,l.jsx)(a.g,{price:s,suffix:r,hasTilde:i,color:"emphasis"}),t&&(0,l.jsx)("div",{className:"pl-1",children:t})]})}},58359:(e,s,t)=>{t.d(s,{X:()=>c});var a=t(57971),l=t(54515),r=t(43868),i=t(38702),n=t(36171),o=t(6688);function c(e){let{title:s,description:t,subtitle:c,onPress:d,items:m,slotToLogin:x,slotBody:u,slotSecondaryAction:h,secondaryActionHref:p,secondaryActionDisabled:f,onSecondaryActionPress:g,toLoginHref:j,linkElementType:b="a",closeDialog:v}=e;return(0,o.jsxs)(l.A,{hasCloseButton:!0,onDismiss:v,children:[(0,o.jsxs)(r.A,{unsafeClassName:"rounded-t-lg p-6",slotTitle:s,slotText:t,children:[c&&(0,o.jsx)("h2",{className:"mt-4 font-bold text-xs sm:mt-8 md:text-sm",children:c}),(0,o.jsx)("div",{className:"mt-4",children:(0,o.jsx)(a.t,{onPress:d,items:m})}),u&&(0,o.jsx)("div",{className:"mt-4",children:u}),h&&(0,o.jsx)("div",{className:"mt-6 sm:mt-8",children:(0,o.jsx)(i.A,{isFull:!0,size:"m",variant:f?"disabled":"basic",isDisabled:f,elementType:f?void 0:b,href:f?void 0:p,onPress:f?void 0:g,children:h})})]}),(0,o.jsx)(n.A,{unsafeClassName:"py-4",placement:"center",direction:"column",children:x&&(0,o.jsx)(i.A,{size:"s",elementType:b,href:j,variant:"none",children:x})})]})}},59416:(e,s,t)=>{t.d(s,{J:()=>n});var a=t(15247),l=t(11943),r=t(6688),i=t(95116),n=e=>{let{items:s,imageElementType:t="img",slotAnchor:n,slotAction:o,slotContentWrapper:c,avatarSize:d,hasFrame:m,fontSize:x,hideUrlname:u,layout:h="list",slotLoadMore:p,unSafe
1ClassName:f,descriptionLineClamp:g}=e,j=e=>{let{key:s,...l}=e;return(0,r.jsx)(a.Q,{...l,imageElementType:t,slotAnchor:n,slotContentWrapper:c,avatarSize:d,fontSize:x,layout:h,dataCreatorKey:s,hideUrlname:u,descriptionLineClamp:g})};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("ul",{"data-creator-list":!0,className:(0,l.QP)("grid"===h?"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 [&>li]:border-border-default [&>li]:border-b":`divide-y divide-border-default ${m?"rounded-lg border border-border-default border-solid":""}`,f),children:[s.map(e=>Array.isArray(e)?e.map(e=>(0,r.jsx)(i.Fragment,{children:j(e)},e.key)):(0,r.jsx)(i.Fragment,{children:j(e)},e.key)),p]}),o&&(0,r.jsx)("div",{className:"p-4 empty:p-0",children:o})]})}},61845:(e,s,t)=>{t.d(s,{w:()=>n});var a=t(18102),l=t(11943),r=t(6688),i=t(95116),n=({items:e,showMenu:s,lang:t})=>{let[n,o]=(0,i.useState)(!1),c=(0,i.useRef)(null);return(0,i.useEffect)(()=>{let e=c.current;if(!e)return;let s=new IntersectionObserver(e=>{for(let s of e)o(!1===s.isIntersecting)},{root:null,rootMargin:"0px",threshold:0});return s.observe(e),()=>{s.disconnect()}},[]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{ref:c,className:"h-0"}),s&&(0,r.jsx)("div",{className:(0,l.QP)("sticky top-0 z-10 mt-2 flex justify-start border-border-default border-b bg-background-primary transition-colors duration-200 ease-easeInOutExpo md:justify-center md:border-0",n&&"border-border-default md:border-b"),children:(0,r.jsx)(a.t,{items:e,lang:t})})]})}},62411:(e,s,t)=>{t.d(s,{E:()=>c});var a=t(79325),l={"ja-JP":{like:"ã¹ã"}},r=t(28176),i=t(6688),n=t(95116),o=t(45971);function c(e){let{lang:s="ja-JP",...t}=e,c=(0,r.Ru)({lang:s,dict:l}),d=(0,n.useMemo)(()=>new o.fv(t.src).width(18).height(18).dpr(2).toString(),[t.src]),m=(0,n.useMemo)(()=>new o.fv("https://assets.st-note.com/poc-image/manual/note-common-images/production/icons/heart_outlined.png").width(13).height(13).dpr(2).toString(),[]);return(0,i.jsxs)("div",{className:"relative h-[1.375rem] w-[1.5625rem]",children:[(0,i.jsx)(a._,{imageSrc:d,imageAlt:t.alt,imageWidth:18,imageHeight:18,fit:"cover",unSafeClassName:"rounded-full w-[1.125rem] h-[1.125rem]"}),(0,i.jsx)(a._,{imageSrc:m,imageWidth:13,imageHeight:13,imageAlt:c("like"),unSafeClassName:"w-[0.8125rem] h-[0.8125rem] absolute right-[0.0625rem] bottom-[0.0625rem]"})]})}},62511:(e,s,t)=>{t.d(s,{LR:()=>o,L_:()=>r,Os:()=>n,Ru:()=>a,X6:()=>i,_C:()=>l,nF:()=>c});var a={"ja-JP":{follow:"ãã©ãã¼",follower:"ãã©ãã¯ã¼"}},l={"ja-JP":{follow:"ãã©ãã¼",following:"ãã©ãã¼ä¸",followed:"ãã©ãã¼ããã¯",thanks:"ãã©ãã¼ã¸ã®ãããã¨ãã¡ãã»ã¼ã¸"}},r={"ja-JP":{viewMore:"ãã£ã¨ã¿ã",close:"éãã"}},i={"ja-JP":{recommendedCreator:"ããããã¯ãªã¨ã¤ã¿ã¼"}},n={"ja-JP":{hideProfile:"ãããã£ã¼ã«ãé表示",showProfile:"ãããã£ã¼ã«ã表示"}},o={"ja-JP":{followed:"ãã©ãã¼ããã¦ãã¾ã"}},c={"ja-JP":{officialUser:"å
¬å¼ã¦ã¼ã¶ã¼"}}},62932:(e,s,t)=>{t.d(s,{y:()=>o});var a=t(30517),l=t(38702),r=t(11943),i=t(28176),n=t(6688);function o(e){let{signupHref:s,loginHref:t,onSignupClick:o,onLoginClick:c,className:d,lang:m="ja-JP"}=e,x=(0,i.Ru)({lang:m,dict:a.Gn});return(0,n.jsxs)("div",{className:(0,r.QP)("flex flex-col items-center rounded-lg bg-surface-successSubdued min-[480px]:flex-row",d),children:[(0,n.jsx)("div",{className:"mb-4 h-0 w-full bg-center bg-contain bg-no-repeat pt-[56.55976676%] min-[480px]:w-1/2 min-[480px]:pt-[28%]",style:{backgroundImage:"url('https://assets.st-note.com/poc-image/manual/note-common-images/production/illust/after-guest-liking-onboarding.png?width=680&format=png')"}}),(0,n.jsxs)("div",{className:"px-6 pb-5 min-[480px]:w-1/2 min-[480px]:py-5 min-[480px]:pr-6 min-[480px]:pl-0",children:[(0,n.jsxs)("p",{className:"mb-4 text-center font-bold text-lg leading-[27px]",children:[(0,n.jsx)("span",{className:"inline-block",children:x("leadLine1")}),(0,n.jsx)("br",{}),(0,n.jsx)("span",{className:"inline-block",children:x("leadLine2")}),(0,n.jsx)("span",{className:"inline-block",children:x("leadLine3")})]}),(0,n.jsx)("div",{className:"mb-4",children:(0,n.jsx)(l.A,{elementType:"a",variant:"primary",isFull:!0,href:s,rel:"nofollow",onPress:o,children:x("signup")})}),(0,n.jsx)("a",{href:t,rel:"nofollow",onClick:c,className:"block text-center font-bold text-sm underline",children:x("login")})]})]})}},65619:(e,s,t)=>{t.d(s,{g:()=>o});var a=t(4277),l=t(11943),r=t(6688),i={default:"text-text-primary",offer:"text-text-offer",emphasis:"text-text-success",muted:"text-text-secondary",invert:"text-text-invert"},n={xs:"text-xs",s:"text-sm",md:"text-base",l:"text-lg",xl:"text-xl","2xl":"text-2xl"};function o(e){let{price:s,isBold:t,hasTilde:o,isUniformSize:c,color:d="default",size:m="s",...x}=e,u=(0,a.H)({amount:s,...x});if(void 0===u)return;let[h,p,f]=u;return(0,r.jsxs)("span",{className:(0,l.QP)(t&&"font-bold",i[d],n[m]),children:[c?h:(0,r.jsx)("span",{className:"text-sm",children:h}),p+(o?"ã":""),c?f:(0,r.jsx)("span",{className:"text-sm",children:f})]})}},69824:(e,s,t)=>{t.d(s,{N:()=>o});var a=t(6688),l=t(95116),r=t(39312),i=["#ff8c6e","#ffc23c","#99e1d7","#5dc0d5"],n=(e,s=0)=>Number.parseInt(String(Math.random()*(e-s+1)),10)+s;function o({durationSeconds:e=10,particleCount:s=60,colors:t=i,onFinish:c}){let d=(0,l.useRef)(null),m=(0,l.useRef)(c);return m.current=c,(0,l.useEffect)(()=>{let a=d.current;if(null===a)return;if(window.matchMedia("(prefers-reduced-motion: reduce)").matches){let e=!1;return queueMicrotask(()=>{e||m.current?.()}),()=>{e=!0}}let l=a.getContext("2d");if(null===l)return;let i=window.devicePixelRatio||1,o=0,c=0,x=0,u=()=>{i=window.devicePixelRatio||1,a.width=window.innerWidth*i,a.height=window.innerHeight*i,o=window.innerWidth+20+10,c=-window.innerWidth/10-20-10,x=window.innerHeight+20+10};u();let h=()=>n(1.1*window.innerWidth,-window.innerWidth/10),p=Array.from({length:s},()=>({vx:0,vy:.5,skewX:n(360),skewY:n(360),skewVx:0,skewVy:0,x:h(),y:n(-50,-100),color:t[n(t.length-1)],done:!1})),f=performance.now()+1e3*e,g=0,j=!1,b=(e,s)=>e.x>o||e.x<c||e.y>x||e.y<-100?(s>f?e.done=!0:(e.vx=0,e.vy=.5,e.x=h(),e.y=n(-50,-100)),!1):(e.skewVx+=n(1e-5,-1e-5),e.skewVy+=n(1e-5,-1e-5),e.skewX+=e.skewVx,e.skewY+=e.skewVy,e.vx+=n(.75,-.75),e.vy+=n(.75,-.75)+.05,e.x+=e.vx,e.y+=e.vy,!0),v=e=>{let s=Math.cos(e.skewY),t=Math.sin(e.skewY),a=Math.sin(e.skewX),r=Math.cos(e.skewX);l.setTransform(s*i,t*i,a*i,r*i,e.x*i,e.y*i),l.fillStyle=e.color,l.fillRect(-.5,-.5,20,20)},N=e=>{for(let s of(l.setTransform(1,0,0,1,0,0),l.clearRect(0,0,a.width,a.height),p))!s.done&&b(s,e)&&v(s);let s=p.some(e=>!e.done);if(!j&&s){g=requestAnimationFrame(N);return}s||m.current?.()};g=requestAnimationFrame(N);let y=(0,r.n)(u,100);return window.addEventListener("resize",y,{passive:!0}),()=>{j=!0,cancelAnimationFrame(g),y.cancel(),window.removeEventListener("resize",y)}},[t,e,s]),(0,a.jsx)("canvas",{ref:d,className:"pointer-events-none fixed inset-0 z-50 size-full"})}},72581:(e,s,t)=>{t.d(s,{E:()=>n});
1var a=t(81006),l=t(46074),r=t(63447),i=t(6688);function n(e){let{isFollowing:s,isFull:t=!0,size:n="s"}=e,o=(0,a.s)(l.gb)(s?"following":"follow");return(0,i.jsx)(r.A,{...e,isFull:t,isSelected:s,isSuccess:!0,isSecondary:!0,size:n,children:(0,i.jsx)("span",{className:"inline-flex items-center justify-center gap-1",children:o})})}},77203:(e,s,t)=>{t.d(s,{W:()=>d});var a=t(62511),l=t(98161),r=t(28176),i=t(6688),n=t(95116),o=t(73444);function c({nickname:e,nicknameHref:s,isOfficial:t,headingElement:a,slotFollowedLabel:r,className:o,officialUserLabel:d}){return(0,i.jsxs)("div",{className:`flex flex-col items-start ${o??""}`,children:[(0,i.jsx)("div",{className:"flex flex-wrap items-center gap-1",children:e&&(0,i.jsxs)(a,{className:"break-all font-bold text-text-primary md:text-lg",children:[s?(0,i.jsx)("a",{href:s,children:e}):e,t&&(0,i.jsx)(l.rAV,{"aria-label":d,size:"s",color:"var(--color-surface-success)",unsafeClassName:"ml-1 align-middle"})]})}),(0,n.isValidElement)(r)&&r]})}function d(e){let{nickname:s,nicknameHref:t,slotProfile:l,slotAvatar:d,slotActionIcons:m,slotBelowProfile:x,slotFollowCounter:u,slotSideFollowCounter:h,slotFieldButton:p,slotSocialLinks:f,slotRecommendUsers:g,slotFollowedLabel:j,headingLevel:b=3,isOfficial:v,isVerticalLayout:N=!1,lang:y}=e,w=`h${b}`,k=(0,r.Ru)({lang:y,dict:a.nF});return(0,i.jsxs)("div",{children:[(0,i.jsxs)("div",{className:`flex ${N?"items-start":"items-center"} justify-between gap-2`,children:[(0,i.jsxs)("div",{className:`flex ${N?"flex-col":"items-center"} gap-3`,children:[(0,n.isValidElement)(d)&&d,!N&&(0,i.jsx)(c,{nickname:s,nicknameHref:t,isOfficial:v,headingElement:w,slotFollowedLabel:j,officialUserLabel:k("officialUser")})]}),(0,i.jsx)("div",{children:(0,n.isValidElement)(m)&&m})]}),N&&(0,i.jsx)(c,{nickname:s,nicknameHref:t,isOfficial:v,headingElement:w,slotFollowedLabel:j,className:"mt-3",officialUserLabel:k("officialUser")}),l&&(0,i.jsx)("div",{className:"my-2 text-sm text-text-primary lg:my-4",children:l}),(0,i.jsxs)("div",{className:o("flex w-full min-w-0 flex-col justify-between gap-2 lg:block"),children:[(0,n.isValidElement)(x)&&x,(0,i.jsxs)("div",{className:"flex items-center empty:hidden",children:[(0,n.isValidElement)(u)&&u,(0,n.isValidElement)(h)&&h]}),(0,n.isValidElement)(f)&&(0,i.jsx)("div",{className:"empty:hidden lg:mt-4",children:f}),(0,n.isValidElement)(p)&&(0,i.jsx)("div",{className:"lg:mt-2",children:p}),(0,n.isValidElement)(g)&&(0,i.jsx)("div",{className:"mt-6 empty:hidden",children:g})]})]})}},77626:(e,s,t)=>{t.d(s,{O:()=>l});var a=t(95116),l=()=>{let[e,s]=(0,a.useState)(!1),[t,l]=(0,a.useState)(!1),r=(0,a.useRef)(null),i=(0,a.useRef)(null),n=(0,a.useRef)(null);return(0,a.useEffect)(()=>(l(window.matchMedia("(hover: hover)").matches),()=>{i.current&&clearTimeout(i.current),n.current&&clearTimeout(n.current)}),[]),{isOpen:e,targetRef:r,handleMouseEnter:(0,a.useCallback)(()=>{t&&(n.current&&=(clearTimeout(n.current),null),i.current=setTimeout(()=>{s(!0)},200))},[t]),handleMouseLeave:(0,a.useCallback)(()=>{t&&(i.current&&=(clearTimeout(i.current),null),n.current=setTimeout(()=>{s(!1)},200))},[t]),handleQuickLookMouseEnter:(0,a.useCallback)(()=>{t&&(n.current&&=(clearTimeout(n.current),null),s(!0))},[t]),handleQuickLookMouseLeave:(0,a.useCallback)(()=>{t&&s(!1)},[t]),handleOpenChange:(0,a.useCallback)(e=>{void 0!==e&&s(e)},[]),isHoverAvailable:t}}},78087:(e,s,t)=>{t.d(s,{T:()=>u});var a=t(59416),l=t(83179),r=t(30517),i=t(54515),n=t(8901),o=t(43868),c=t(74624),d=t(38702),m=t(28176),x=t(6688),u=({users:e,likeCount:s,anonymousLikeCount:t,isLoading:u,isLastPage:h,slotAnchor:p,onClickLoadMore:f,onClose:g,lang:j="ja-JP"})=>{let b=(0,m.Ru)({lang:j,dict:r.hy}),v=e.map(e=>({name:e.nickname,href:e.href,urlname:e.urlname,src:e.avatarUrl,key:e.key,slotAction:e.slotAction}));return(0,x.jsxs)(i.A,{hasCloseButton:!0,onDismiss:g,children:[(0,x.jsx)(n.A,{children:(0,x.jsxs)("h1",{children:[b("likedUser"),"ï¼",(0,x.jsx)(l.G,{rawNumber:s,mode:"exact",lang:j}),"ï¼"]})}),(0,x.jsx)(o.A,{unsafeClassName:"p-0 !rounded-b-lg",children:(0,x.jsx)("div",{className:"max-h-80",children:u?(0,x.jsx)("div",{className:"flex h-32 items-center justify-center",children:(0,x.jsx)(c.A,{})}):(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(a.J,{items:v,slotAnchor:p}),t>0&&(0,x.jsxs)("p",{className:"p-4 text-sm text-text-secondary",children:[b("anonymousLikeUser")," ",(0,x.jsx)(l.G,{rawNumber:t,mode:"exact",lang:j})," ",b("like")]}),!1===h&&(0,x.jsx)("div",{className:"border-border-default border-t p-4",children:(0,x.jsx)(d.A,{variant:"basic",is
1Full:!0,size:"m",onPress:f,children:b("more")})})]})})})]})}},78110:(e,s,t)=>{t.d(s,{F:()=>l,U:()=>a});var a="https://money.note.com/",l={imageSrc:"https://assets.st-note.com/poc-image/manual/note_money/banner/production/note-banner-note-1791256615102.png",url:a,width:1240,height:172,trackId:"banner_20261006"}},82826:(e,s,t)=>{t.d(s,{Z:()=>n});var a=t(79325),l=t(19780),r=t(28176),i=t(6688),n=({coverImageUrl:e,avatarImageUrl:s,title:t,actionsSlot:n,actionsSlotMobile:o,creatorHomeUrl:c,creatorName:d,lang:m="ja-JP",linkElementType:x="a"})=>{let u=e??s,h=(0,r.Ru)({lang:m,dict:l.wv});return(0,i.jsx)("header",{className:"w-full",children:(0,i.jsxs)("div",{className:"mx-auto max-w-[30rem] lg:flex lg:max-w-screen-lg lg:items-start lg:gap-4 lg:px-4 lg:pt-8",children:[(0,i.jsxs)("div",{className:"relative h-[12.375rem] w-full lg:h-[14.375rem] lg:w-[28.375rem] lg:shrink-0",children:[u&&(0,i.jsx)(a._,{imageSrc:u,imageAlt:"",fit:"cover",unSafeClassName:"h-full",loading:"eager"}),o&&(0,i.jsx)("div",{className:"absolute top-2 right-2 flex gap-2 lg:hidden",children:o})]}),(0,i.jsxs)("div",{className:"flex items-start gap-2 px-4 pt-4 pb-4 lg:min-w-0 lg:flex-1 lg:px-0 lg:pt-0 lg:pb-0",children:[(0,i.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,i.jsx)("h1",{className:"font-bold text-xl lg:text-3xl",children:t}),(0,i.jsx)("div",{className:"mt-2 flex items-center gap-2",children:(0,i.jsxs)(x,{href:c,className:"flex items-center gap-2 transition-opacity hover:opacity-80 focus:outline-none focus:ring-2 focus:ring-border-default focus:ring-offset-2","aria-label":h("creatorTopPageLabel",{creatorName:d}),children:[s&&(0,i.jsx)(a._,{imageSrc:s,imageAlt:d,imageWidth:24,imageHeight:24,fit:"cover",unSafeClassName:"size-6 shrink-0 rounded-full",loading:"eager"}),(0,i.jsx)("span",{className:"text-text-secondary text-xs",children:d})]})})]}),n&&(0,i.jsx)("div",{className:"hidden shrink-0 gap-2 lg:flex [&_button]:min-h-8 [&_button]:min-w-8",children:n})]})]})})}},83179:(e,s,t)=>{t.d(s,{G:()=>r});var a=t(45971),l=t(6688);function r({rawNumber:e,mode:s="abbreviated",lang:t,className:i}){let{display:n,ariaLabel:o}=(0,a.B4)(e,s,t);return n===o?(0,l.jsx)("span",{className:i,children:n}):(0,l.jsxs)("span",{className:i,children:[(0,l.jsx)("span",{"aria-hidden":"true",children:n}),(0,l.jsx)("span",{className:"sr-only",children:o})]})}},85234:(e,s,t)=>{t.d(s,{C:()=>c});var a=t(81006),l=t(35169),r=t(90966),i=t(98161),n=t(11943),o=t(6688),c=({userNameForReply:e,formProps:s,slotAvatar:t,slotInput:c,isCancelable:d=!1,isSubmitButtonShown:m=!0,isDisabled:x,onCancel:u,isBordered:h=!1})=>{let p=(0,a.s)(l.cR);return(0,o.jsxs)("div",{children:[void 0!==e&&(0,o.jsxs)("div",{className:"mb-2 pt-1 text-text-secondary text-xs",children:[(0,o.jsxs)("span",{className:"inline-block max-w-48 truncate align-bottom font-bold",children:["@",e]}),(0,o.jsx)("span",{children:p("replyToUserSuffix")})]}),(0,o.jsxs)("form",{...s,className:(0,n.QP)("flex min-h-12 w-full items-center bg-background-primary",h&&"rounded-2xl border border-border-normal px-3",d?"flex-col":"gap-2"),"data-testid":"comment-form",children:[(0,o.jsxs)("div",{className:"flex w-full items-center",children:[(0,o.jsx)("div",{className:"mt-[0.5625rem] flex-shrink-0 self-start",children:t}),(0,o.jsx)("div",{className:"min-w-0 max-h-52 min-h-0 flex-1 overflow-auto",children:c})]}),(0,o.jsxs)("div",{className:"flex flex-shrink-0 items-center gap-2 self-end py-2",children:[d&&(0,o.jsx)(r.A,{isCircle:!0,variant:"basic",size:"m",onPress:u,children:(0,o.jsx)(i.bm,{size:"xs","aria-label":p("cancelReply")})}),m&&(0,o.jsx)(r.A,{type:"submit",isCircle:!0,variant:"primary",isDisabled:x,size:"m",children:(0,o.jsx)(i.X$Z,{size:"xs","aria-label":p("send")})})]})]})]})}},92262:(e,s,t)=>{t.d(s,{w:()=>o});var a=t(81006),l=t(79325),r=t(46003),i=t(28633),n=t(6688);function o(e){let s=(0,a.s)(r.gG);return(0,n.jsx)(i.p,{slotImage:(0,n.jsx)(l._,{imageSrc:"https://assets.st-note.com/poc-image/manual/note-common-images/production/svg/googleg.svg",imageWidth:80,imageHeight:80,imageAlt:"","aria-hidden":"true",unSafeClassName:"w-20 h-20"}),providerName:"Google",description:s("description"),onAccept:e.onAccept,onCancel:e.onCancel})}},95063:(e,s,t)=>{t.d(s,{E:()=>c});var a=t(23014),l=t(54604),r=t(59526),i=t(28176),n=t(6688),o=t(95116),c=({lang:e="ja-JP",selectedKey:s,onSelected:t})=>{let c=(0,i.Ru)({lang:e,dict:a.SA}),d=(0,o.useCallback)(e=>{switch(e){case c("latest"):t("latest");break;case c("popular"):t("popular")}},[t,c]);return(0,n.jsx)(l.A,{items:[{name:c("latest")},{name:c("popular")}],selectedKeys:[c(s)],onAction:d,"aria-label":c("buttonGroup"),children:e=>(0,n.jsx)(r.q,{textValue:e.name,children:e.name},e.name)})}},96998:(e,s,t)=>{t.d(s,{Q:()=>i});var a=t(14825),l=t(6688),r=t(95116),i=(0,r.forwardRef)(function(e,s){let t=(0,r.useRef)(null);return(0,r.useEffect)(()=>{let e=t.current?.getInputElement();if(null==e)return;let s=e.style.overflowY;return e.style.overflowY="hidden",()=>{e.style.overflowY=s}},[]),(0,r.useEffect)(()=>{let e=t.current?.getInputElement();null!=e&&(e.style.overflowY="hidden",e.style.height="auto",e.style.height=`${e.scrollHeight}px`)},[e.value,e.defaultValue]),(0,r.useImperativeHandle)(s,()=>({focus:()=>{t.current?.focus()}})),(0,l.jsx)(a.A,{dynamicHeight:!0,minimizeHeight:!0,borderless:!0,allowResize:!1,...e,ref:t})})}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.