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 t=1;t<arguments.length;t++){var r=arguments[t];if(null!=r)for(var a in r)r.hasOwnProperty(a)&&(e[a]=r[a])}return e}({},e._sentryModuleMetadata[(new e.Error).stack],{"_sentryBundlerPluginAppKey:note-front-custom-domain":!0});var t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="a57a796a-e401-4b18-a148-5a58e325456f",e._sentryDebugIdIdentifier="sentry-dbid-a57a796a-e401-4b18-a148-5a58e325456f")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1949,4663,7141],{156:(e,t,r)=>{r.d(t,{iP:()=>o});var a=null;function o(e,t="assertive",r=7e3){(a||=new i).announce(e,t,r)}var i=class{node;assertiveLog;politeLog;constructor(){this.node=document.createElement("div"),this.node.dataset.liveAnnouncer="true",Object.assign(this.node.style,{border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:1,margin:"0 -1px -1px 0",overflow:"hidden",padding:0,position:"absolute",width:1,whiteSpace:"nowrap"}),this.assertiveLog=this.createLog("assertive"),this.node.appendChild(this.assertiveLog),this.politeLog=this.createLog("polite"),this.node.appendChild(this.politeLog),document.body.prepend(this.node)}createLog(e){let t=document.createElement("div");return t.setAttribute("role","log"),t.setAttribute("aria-live",e),t.setAttribute("aria-relevant","additions"),t}destroy(){this.node&&=(document.body.removeChild(this.node),null)}announce(e,t="assertive",r=7e3){if(!this.node)return;let a=document.createElement("div");a.textContent=e,"assertive"===t?this.assertiveLog.appendChild(a):this.politeLog.appendChild(a),""!==e&&setTimeout(()=>{a.remove()},r)}clear(e){this.node&&(e&&"assertive"!==e||(this.assertiveLog.innerHTML=""),e&&"polite"!==e||(this.politeLog.innerHTML=""))}}},2280:(e,t,r)=>{r.d(t,{b:()=>o});var a=r(19324);function o(e,t){let{id:r,"aria-label":o,"aria-labelledby":i}=e;return r??=(0,a.useId)(),i&&o?i=[...new Set([...i.trim().split(/\s+/),r])].join(" "):i&&=i.trim().split(/\s+/).join(" "),o||i||!t||(o=t),{id:r,"aria-label":o,"aria-labelledby":i}}},8951:(e,t,r)=>{r.d(t,{v:()=>n});var a=r(90660),o=r(42018),i=r(21889),s=r(80603);function n(e,t){let{inputElementType:r="input",isDisabled:n=!1,isRequired:l=!1,isReadOnly:d=!1,validationState:u,type:c="text",onChange:m=()=>{}}=e,{focusableProps:p}=(0,i.W)(e,t),{labelProps:f,fieldProps:b,descriptionProps:h,errorMessageProps:g}=(0,s.M)(e),v=(0,a.$)(e,{labelable:!0}),x={type:c,pattern:e.pattern};return{labelProps:f,inputProps:(0,o.v)(v,"input"===r?x:{},{disabled:n,readOnly:d,"aria-required":l||void 0,"aria-invalid":"invalid"===u||void 0,"aria-errormessage":e["aria-errormessage"],"aria-activedescendant":e["aria-activedescendant"],"aria-autocomplete":e["aria-autocomplete"],"aria-haspopup":e["aria-haspopup"],value:e.value,defaultValue:e.value?void 0:e.defaultValue,onChange:e=>m(e.target.value),autoComplete:e.autoComplete,maxLength:e.maxLength,minLength:e.minLength,name:e.name,placeholder:e.placeholder,inputMode:e.inputMode,onCopy:e.onCopy,onCut:e.onCut,onPaste:e.onPaste,onCompositionEnd:e.onCompositionEnd,onCompositionStart:e.onCompositionStart,onCompositionUpdate:e.onCompositionUpdate,onSelect:e.onSelect,onBeforeInput:e.onBeforeInput,onInput:e.onInput,...p,...b}),descriptionProps:h,errorMessageProps:g}}},15796:(e,t,r)=>{r.d(t,{A:()=>c});var a=r(97050),o=r(24123),i=r(54514),s=r(67646),n=r(42018),l=r(19324),d=r(16239),u=r(97360),c=(0,l.memo)((0,l.forwardRef)(function(e,t){let{label:r,validationState:c,isDisabled:m,multiLine:p,autoFocus:f,wrapperChildren:b,labelProps:h,inputProps:g,inputRef:v,inputClassName:x="",descriptionProps:y,errorMessageProps:P,isLoading:w,dynamicHeight:C,loadingIndicator:$,slotIcon:j,slotIconPosition:I="start",borderless:M,allowResize:A,minimizeHeight:E,rows:N,maxHeight:z}=e,{hoverProps:D,isHovered:R}=(0,i.M)({isDisabled:m}),T=(0,l.useRef)(null),L=(0,l.useRef)(null),Z=v??L;(0,l.useImperativeHandle)(t,()=>({...(0,a.Ml)(T,Z),select(){Z.current&&Z.current.select()},getInputElement:()=>Z.current}));let k=(0,u.jsxs)("div",{className:"relative","data-name":"TextFieldBase",children:[(0,u.jsx)(s.v,{focusClass:M?"":"focus:border-border-strong",isTextInput:!0,autoFocus:f,children:(0,u.jsx)(p?"textarea":"input",{...(0,n.v)(g,D),ref:Z,rows:p?E?1:N??4:void 0,className:(0,d.QP)(`inline-block w-full resize-y a
1ppearance-none rounded-lg border border-border-default border-solid bg-surface-normal p-2 align-top text-text-primary leading-normal md:text-sm ${C&&p?"[field-sizing:content]":""} ${j&&"start"===I?"pl-8":""} ${j&&"end"===I?"pr-8":""} ${R?"is-hovered":""} ${"invalid"===c?"border-border-danger":""} ${m?"cursor-not-allowed bg-surface-disabled text-text-disabled":""} ${M?"border-transparent":""} ${A?"resize-y":"resize-none"} ${x??""}`),style:C&&p&&z?{maxHeight:`${z}lh`}:void 0})}),(0,l.isValidElement)(j)&&(0,u.jsx)("div",{className:`absolute top-1/2 flex -translate-y-1/2 text-text-secondary ${"start"===I?"left-2":"right-2"}`,children:j}),w&&$,b]});return r&&(k=l.cloneElement(k,(0,n.v)(k.props,{className:p?"multiline":""}))),(0,u.jsx)(o.A,{...e,labelProps:h,descriptionProps:y,errorMessageProps:P,ref:T,children:k})}))},19504:(e,t,r)=>{r.d(t,{A:()=>w});var a=r(97050),o=r(22411),i=r(40062),s=r(67355),n=r(156),l=r(75587),d=r(53037),u=r(12094),c=r(30381),m=r(77729),p={"ja-JP":{imageChangedAnnouncement:"å ¨{total}æä¸{current}æç®ã{alt}",zoomedInAnnouncement:"å寸ã§è¡¨ç¤ºãã¦ãã¾ããã¹ã¯ãã¼ã«ã§ç§»åã§ãã¾ã",zoomedOutAnnouncement:"å ¨ä½è¡¨ç¤ºã«æ»ãã¾ãã",imageScrollArea:"ç»åã®è¡¨ç¤ºé å"}},f=r(19324),b=r(90660),h=r(57937),g=r(1471),v=r(16239),x=r(32508),y=r(97360),P=r(74593),w=(0,f.forwardRef)(function(e,t){let{images:r,index:w,defaultIndex:C,onIndexChange:$,isZoomed:j,defaultZoomed:I,onZoomChange:M,isZoomDisabled:A,imageElementType:E,unsafeClassName:N,...z}=e,D=(0,a.zD)(t),R=(0,f.useContext)(i.M),T=function(e){let{totalCount:t}=e,[r,a]=(0,P.P)(e.index,e.defaultIndex??0,t=>{void 0!==t&&e.onIndexChange?.(t)}),[o,i]=(0,P.P)(e.isZoomed,e.defaultZoomed??!1,t=>{void 0!==t&&e.onZoomChange?.(t)});return{index:r,totalCount:t,isZoomed:o,setIndex:function(e){a(Math.min(Math.max(e,0),Math.max(t-1,0)))},next:function(){t<=1||(a((r+1)%t),i(!1))},previous:function(){t<=1||(a((r-1+t)%t),i(!1))},setZoomed:i,toggleZoom:function(){i(!o)}}}({totalCount:r.length,index:w,defaultIndex:C,onIndexChange:$,isZoomed:j,defaultZoomed:I,onZoomChange:M}),L=r[T.index]??r[0],{scrollContainerRef:Z,imageRef:k,scrollContainerProps:S,zoomButtonProps:H,imageProps:F,isZoomable:O}=function(e,t){let r=(0,f.useRef)(null),a=(0,f.useRef)(null),[o,i]=(0,f.useState)(!1),s=(0,l.o)(p),b=(0,u.J)(()=>{let e=r.current,t=a.current;e&&t&&i(t.naturalWidth>e.clientWidth||t.naturalHeight>e.clientHeight)}),h=(0,u.J)(()=>{let e=r.current;e&&(t.isZoomed?(e.scrollLeft=(e.scrollWidth-e.clientWidth)/2,e.scrollTop=(e.scrollHeight-e.clientHeight)/2):(e.scrollLeft=0,e.scrollTop=0))}),g=(0,u.J)(()=>{b(),h()});(0,c.w)({ref:r,onResize:g}),(0,f.useEffect)(()=>{b()},[t.index,b]);let v=(0,f.useRef)(!1);(0,m.$)({ref:a,isDisabled:!e.isDismissable,onInteractOutsideStart:e=>{v.current=e.target===r.current},onInteractOutside:t=>{let a=v.current&&t.target===r.current;v.current=!1,a&&e.onClose?.()}});let x=(0,u.J)(e=>{"ArrowLeft"===e.key&&t.previous(),"ArrowRight"===e.key&&t.next()});(0,f.useEffect)(()=>{if(!e.isKeyboardNavigationEnabled||t.isZoomed)return;let a=(0,d.TW)(r.current);return a.addEventListener("keydown",x,!0),()=>a.removeEventListener("keydown",x,!0)},[x,e.isKeyboardNavigationEnabled,t.isZoomed]),(0,f.useLayoutEffect)(()=>{h()},[t.index,t.isZoomed,h]);let y=(0,f.useRef)(t.index);(0,f.useEffect)(()=>{y.current!==t.index&&(0,n.iP)(s.format("imageChangedAnnouncement",{current:`${t.index+1}`,total:`${t.totalCount}`,alt:e.currentAlt??""}),"polite"),y.current=t.index},[e.currentAlt,t.index,t.totalCount,s]);let P=(0,f.useRef)(t.isZoomed);return(0,f.useEffect)(()=>{P.current!==t.isZoomed&&(0,n.iP)(s.format(t.isZoomed?"zoomedInAnnouncement":"zoomedOutAnnouncement"),"polite"),P.current=t.isZoomed},[t.isZoomed,s]),{scrollContainerRef:r,imageRef:a,scrollContainerProps:t.isZoomed?{tabIndex:0,role:"region","aria-label":s.format("imageScrollArea")}:{},zoomButtonProps:{isDisabled:e.isZoomDisabled||!o,onPress:t.toggleZoom},imageProps:{onLoad:g},isZoomable:o}}({isZoomDisabled:A,isKeyboardNavigationEnabled:r.length>1,currentAlt:L?.alt,isDismissable:R?.isDismissable,onClose:R?.onClose},T),_=(0,l.o)(s.D),B=(0,f.useMemo)(()=>(0,v.QP)(x(` 2 relative min-h-0 flex-1 bg-surface-image-overlay 3 ${"string"==typeof N?N:""} 4 `)),[N]);return(0,y.jsxs)("div",{...(0,b.$)(z),ref:D,"data-name":"DialogImageBody",className:B,children:[(0,y.jsx)("div",{ref:Z,...S,className:"absolute inset-0 flex overflow-auto overscroll-contain",children:L&&(0,y.jsx)(E??"img",{ref:k,...F,src:L.src,alt:L.alt,width:L.width,height:L.height,className:T.isZoomed?"m-auto block max-w-none":"m-auto h-auto max-h-full w-auto max-w-full object-contain"})}),O&&(0,y.jsx)("div",{className:"absolute right-4 bottom-4",children:(0,y.jsx)(o.A,{...H,variant:"onImage",size:"m",isCircle:!0,"aria-label":_.format(T.isZoomed?"zoomOut":"zoomIn"),children:T.isZoomed?(0,y.jsx)(g.enP,{"aria-label":_.format("zoomOut"),"aria-hidden":!0}):(0,y.jsx)(g.$Zd,{"aria-label":_.format("zoomIn"),"aria-hidden":!0})})}),r.length>1&&(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)("div",{className:"absolute top-1/2 left-4 -translate-y-1/2",children:(0,y.jsx)(o.A,{variant:"onImage",size:"m",isCircle:!0,onPress:()=>T.previous(),"aria-label":_.format("prevImage"),children:(0,y.jsx)(g.JGc,{"aria-label":_.format("prevImage"),"aria-hidden":!0})})}),(0,y.jsx)("div",{className:"absolute top-1/2 right-4 -translate-y-1/2",children:(0,y.jsx)(o.A,{variant:"onImage",size:"m",isCircle:!0,onPress:()=>T.next(),"aria-label":_.format("nextImage"),children:(0,y.jsx)(g.c_$,{"aria-label":_.format("nextImage"),"aria-hidden":!0})})}),(0,y.jsxs)("p",{className:"absolute bottom-4 left-1/2 -translate-x-1/2 roun
4ded-full bg-surface-image-overlay px-3 py-1 text-sm text-text-invert",children:[(0,y.jsx)("span",{"aria-hidden":!0,children:`${T.index+1} / ${T.totalCount}`}),(0,y.jsx)(h.s,{elementType:"span",children:_.format("imagePosition",{current:`${T.index+1}`,total:`${T.totalCount}`})})]})]})]})})},20341:(e,t,r)=>{r.d(t,{A:()=>u});var a=r(97050),o=r(40062),i=r(90660),s=r(19324),n=r(16239),l=r(32508),d=r(97360),u=(0,s.forwardRef)(function(e,t){let{children:r,slotTitle:u,slotText:c,slotTitleId:m,unsafeClassName:p,hasDialogHeader:f,...b}=e,h=(0,a.zD)(t),{hasFooter:g}=(0,s.useContext)(o.t),v=(0,s.useMemo)(()=>(0,n.QP)(l(` 5 min-h-32 flex-1 overflow-y-auto bg-background-primary p-4 6 ${f?"rounded-t-none":"rounded-t-lg"} 7 ${g?"rounded-b-none":"rounded-b-lg"} 8 ${"string"==typeof p?p:""} 9 `)),[p,g,f]);return(0,d.jsxs)("div",{...(0,i.$)(b),ref:h,className:v,children:[u&&(0,d.jsx)("h1",{id:m,className:"mb-2 text-center font-bold text-lg",children:u}),c&&(0,d.jsx)("div",{children:c}),r]})})},21797:(e,t,r)=>{r.d(t,{A:()=>u});var a=r(97050),o=r(3455),i=r(90660),s=r(19324),n=r(16239),l=r(32508),d=r(97360),u=(0,s.memo)((0,s.forwardRef)(function(e,t){let{className:r="",children:u,isRequired:c,hasNecessityIndicator:m=!1,htmlFor:p,for:f,elementType:b="label",onClick:h,...g}=e=(0,o.zT)(e),v=(0,a.zD)(t),x=c?"å¿ é ":"ä»»æ",y=(0,s.useMemo)(()=>(0,n.QP)(l(` 10 ml-2 11 inline-block 12 font-base 13 text-xs 14 font-medium 15 ${c?"text-text-danger":""} 16 `)),[c]);return(0,d.jsxs)(b,{"data-name":"Label",...(0,i.$)(g),onClick:h,ref:v,className:l(`inline-flex items-center font-base font-bold text-sm ${r??""}`),htmlFor:"label"===b?f||p:void 0,children:[u,m&&(0,d.jsx)("span",{className:y,children:x})]})}))},24123:(e,t,r)=>{r.d(t,{A:()=>d});var a=r(25655),o=r(33953),i=r(21797),s=r(19324),n=r(32508),l=r(97360),d=(0,s.memo)((0,s.forwardRef)(function(e,t){let{label:r,isRequired:s,hasNecessityIndicator:d,validationState:u,description:c,errorMessage:m,isDisabled:p,labelProps:f,children:b,descriptionProps:h={},errorMessageProps:g={},sideContent:v,sideContentPosition:x="after",wrapperClassName:y="",wrapperProps:P={},elementType:w}=e=(0,a.S)(e),C=!!c||m&&"invalid"===u;return(0,l.jsxs)("div",{...P,"data-name":"Field",className:n(`relative ${y}`),ref:t,children:[r&&(0,l.jsx)(i.A,{className:"mb-2",...f,isRequired:s,hasNecessityIndicator:d,elementType:w,children:r}),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{className:`${v?"flex justify-center gap-2":""}`,children:[(0,l.jsx)("div",{className:`flex-1 overflow-hidden ${"before"===x?"order-1":""}`,children:b}),v&&(0,l.jsx)("div",{className:"flex",children:v})]}),C&&(0,l.jsx)(o.A,{descriptionProps:h,errorMessageProps:g,description:c,errorMessage:m,validationState:u,isDisabled:p})]})]})}))},25655:(e,t,r)=>{r.d(t,{S:()=>i});var a=r(19324);r(97360);var o=(0,a.createContext)({});function i(e){return{...(0,a.useContext)(o),...e}}},30381:(e,t,r)=>{r.d(t,{w:()=>o});var a=r(19324);function o(e){let{ref:t,onResize:r}=e;(0,a.useEffect)(()=>{let e=t?.current;if(e)if(void 0===window.ResizeObserver)return window.addEventListener("resize",r,!1),()=>{window.removeEventListener("resize",r,!1)};else{let t=new window.ResizeObserver(e=>{e.length&&r()});return t.observe(e),()=>{e&&t.unobserve(e)}}},[r,t])}},33953:(e,t,r)=>{r.d(t,{A:()=>n});var a=r(97050),o=r(19324),i=r(32508),s=r(97360),n=(0,o.memo)((0,o.forwardRef)(function(e,t){let{description:r,errorMessage:n,validationState:l,isDisabled:d,descriptionProps:u,errorMessageProps:c}=e,m=(0,a.zD)(t),p=n&&"invalid"===l;return(0,s.jsxs)("div",{"data-name":"HelpText",ref:m,className:(0,o.useMemo)(()=>i(` 17 mt-2 18 text-sm 19 ${d?"is-disabled":""} 20 `),[d]),children:[n&&(0,s.jsx)("div",{className:i(`text-text-danger ${p?"":"hidden"}`),role:"alert","aria-live":"assertive","aria-hidden":!p,...c,children:n}),r&&(0,s.jsx)("div",{className:"text-text-secondary",...u,children:r})]})}))},34560:(e,t,r)=>{r.d(t,{A:()=>d});var a=r(97050),o=r(40062),i=r(90660),s=r(19324),n=r(32508),l=r(97360),d=(0,s.forwardRef)(function(e,t){let r=(0,s.useContext)(o.M)||{},{children:d,hasHeroImage:u,...c}=e,m=(0,a.zD)(t),p=(0,s.useMemo)(()=>n(` 21 peer 22 shrink-0 overflow-hidden bg-surface-normal text-center 23 ${u?"":"border-border-default border-b p-4"} 24 ${"fullscreenTakeover"===r.type?"":"rounded-t-lg"} 25 `),[u,r.type]);return(0,l.jsx)("header",{...(0,i.$)(c),ref:m,className:p,children:d})})},36886:(e,t,r)=>{r.d(t,{E:()=>l,T:()=>n});var a=r(97360),o=r(61246),i=r(65887),s=r(19324);let n=({modalPurpose:e,extraActionLogs:t})=>{let r=(0,s.useRef)(!1),{trackActionLogs:a}=(0,o.sr)();(0,s.useEffect)(()=>{!0!==r.current&&(a([{kind:"",event:"imp",target:"other",contents:{modalName:e}},...t??[]]),r.current=!0)},[a,e,t])},l=({modalPurpose:e,extraActionLogs:t,...r})=>(n({modalPurpose:e,extraActionLogs:t}),(0,a.jsx)(i.A,{...r}))},37141:(e,t,r)=>{r.d(t,{r:()=>d});
25var a=r(65154),o=r(9972),i=r(19324),s=r(14157),n=r(4168);let l={login:a.iD,signup:a.$5},d=()=>{let{customDomain:e,customDomainOrigin:t}=(0,s.D6)(),r=(0,o.usePathname)(),a=(0,n.g)(l),d=e?.isOauthRequired??!1,u=`${t??""}${r??""}`,c=(0,i.useCallback)((e={})=>a.getLinkUrl("login",{message:e.message,urlnameToFollow:e.urlnameToFollow,redirectTo:e.redirectTo??u,isOauthRequired:d}),[a,u,d]),m=(0,i.useCallback)((e={})=>a.getLinkUrl("signup",{redirectPath:e.redirectPath??u}),[a,u]);return{currentUrl:u,isOauthRequired:d,getLoginUrl:c,getSignupUrl:m}}},43602:(e,t,r)=>{r.d(t,{A:()=>u});var a=r(97050),o=r(40062),i=r(90660),s=r(19324),n=r(16239),l=r(32508),d=r(97360),u=(0,s.forwardRef)(function(e,t){let r=(0,s.useContext)(o.M)||{},{children:u,placement:c="right",direction:m="row",unsafeClassName:p,...f}=e,b=(0,a.zD)(t),h=(0,s.useMemo)(()=>(0,n.QP)(l(` 26 flex shrink-0 27 ${"row"===m?"flex-row items-center gap-4 bg-background-secondary p-4":"flex-col items-stretch gap-2 bg-background-primary px-6 pt-4 pb-6"} 28 ${"center"===c?"justify-center":""} 29 ${"left"===c?"justify-start":""} 30 ${"right"===c?"justify-end":""} 31 ${"between"===c?"justify-between":""} 32 ${"fullscreenTakeover"===r.type?"":"rounded-b-lg"} 33 ${p??""} 34 `)),[c,m,r.type,p]);return(0,d.jsx)("footer",{...(0,i.$)(f),ref:b,className:h,children:u})})},51949:(e,t,r)=>{r.d(t,{A:()=>l});var a=r(3455),o=r(15796),i=r(8951),s=r(19324),n=r(97360),l=(0,s.forwardRef)(function(e,t){let{allowPlaceholder:r}=e=(0,a.zT)(e),l=(0,s.useRef)(null),{labelProps:d,inputProps:u,descriptionProps:c,errorMessageProps:m}=(0,i.v)(e,l);return!r&&e.placeholder&&console.warn("Placeholders are deprecated due to accessibility issues. Please use help text instead."),(0,n.jsx)(o.A,{...e,labelProps:d,inputProps:u,descriptionProps:c,errorMessageProps:m,ref:t,inputRef:l})})},57937:(e,t,r)=>{r.d(t,{B:()=>l,s:()=>d});var a=r(42018),o=r(67784),i=r(19324),s=r(97360),n={border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:1,margin:"0 -1px -1px 0",overflow:"hidden",padding:0,position:"absolute",width:1,whiteSpace:"nowrap"};function l(e={}){let{style:t,isFocusable:r}=e,[a,s]=(0,i.useState)(!1),{focusProps:d}=(0,o.i)({isDisabled:!r,onFocusChange:s}),u=(0,i.useMemo)(()=>a?t:t?{...n,...t}:n,[a]);return{visuallyHiddenProps:{...d,style:u}}}function d(e){let{children:t,elementType:r="div",isFocusable:o,style:i,...n}=e,{visuallyHiddenProps:d}=l(e);return(0,s.jsx)(r,{...(0,a.v)(n,d),children:t})}},62566:(e,t,r)=>{r.d(t,{A:()=>w});var a=r(53773),o=r(81092),i=r(783),s=r(43258),n=r(37246),l=r(52217),d=r(62549),u=r(23320),c=r(33477),m=r(13875),p=r(50343),f=r(8448),b=r(50018),h=r(58763),g=r(59999),v=r(19324),x=r(16239),y=r(32508),P=r(97360),w=(0,v.memo)((0,v.forwardRef)(function(e,t){let{elementType:r="button",children:w,autoFocus:C,isDisabled:$,variant:j,size:I="m",isFull:M=!1,isPending:A,onPress:E,onPressStart:N,onPressEnd:z,onPressChange:D,onPressUp:R,onKeyDown:T,onKeyUp:L,prefetch:Z}=e=(0,d.zT)(e),k=(0,a.t0)(t),S=()=>{},{buttonProps:H,isPressed:F}=(0,u.s)({...e,onPress:A?S:E,onPressStart:A?S:N,onPressEnd:A?S:z,onPressChange:A?S:D,onPressUp:A?S:R,onKeyDown:A?S:T,onKeyUp:A?S:L},k),{hoverProps:O,isHovered:_}=(0,c.M)({isDisabled:$}),[B,K]=(0,v.useState)(!1),{focusProps:U}=(0,m.i)({onFocusChange:K,isDisabled:$}),q=!!H["aria-label"]||!!H["aria-labelledby"],[J,Q]=(0,v.useState)(()=>!!A),V=(0,p.dz)((0,p.a1)(I,"m"),l.t),W=(0,v.useId)(),X=H.id||W,G=(0,v.useId)(),Y=(0,v.useId)(),ee=(0,f.o)(n.D);(0,v.useEffect)(()=>{let e;return A?e=setTimeout(()=>{Q(!0)},1e3):Q(!1),()=>{clearTimeout(e)}},[A]);let et=`${q?H["aria-label"]:""} ${ee.format("pending")}`.trim(),er=q?H["aria-labelledby"]?.replace(X,Y)??Y:`${G} ${Y}`.trim(),ea="polite";(0,b.lg)()&&(!q||(0,b.gm)())&&(ea="off");let eo=(0,v.useMemo)(()=>(0,x.QP)(y(` 35 ${s.R.base} 36 ${s.R[j]} 37 ${V} 38 ${M?s.R.full:""} 39 ${$||J?s.R.disabled:""} 40 `)),[j,V,M,$,J]),ei=(0,v.useMemo)(()=>y(` 41 relative flex items-center justify-center font-bold 42 ${J?"opacity-0":""} 43 `),[J]);return(0,P.jsx)(h.v,{autoFocus:C,children:(0,P.jsxs)(r,{"data-name":"Button",...(0,g.v)(H,O,U),id:X,disabled:$,"aria-disabled":A?"true":void 0,"aria-label":A?et:H["aria-label"],"aria-labelledby":A?er:H["aria-labelledby"],className:eo,ref:k,prefetch:Z,children:[(0,P.jsx)(o.P,{isInverted:"primary"===j||"invert"===j,isPressed:F,isHovered:_}),(0,P.jsx)("span",{id:G,className:ei,children:w}),A&&(0,P.jsx)("div",{"aria-hidden":"true",style:{visibility:J?"visible":"hidden"},className:"absolute top-1/2 left-1/2 flex -translate-x-1/2 -translate-y-1/2",children:(0,P.jsx)(i.A,{size:"m",ariaLabel:et})}),A&&(0,P.jsxs)(P.Fragment,{children:[(0,P.jsx)("div",{"aria-live":B?ea:"off",children:J&&(0,P.jsx)("div",{"data-testid":"live-element",role:"img","aria-labelledby":er})}),(0,P.jsx)("div",{id:Y,role:"img","aria-label":et})]})]})})}))},65887:(e,t,r)=>{r.d(t,{A:()=>x});var a=r(97050),o=r(22411),i=r(40062),s=r(20341),n=r(43602),l=r(34560),d=r(67355),u=r(19504),c=r(75587),m=r(88501),p=r(42018),f=r(1471),b=r(19324),h=r(16239),g=r(32508),v=r(97360),x=(0,b.forwardRef)(function(e,t){let r=(0,b.useContext)(i.M)||{},{children:x,hasCloseButton:y=r.hasCloseButton,onDismiss:P=r.onClose,size:w="s",type:C=r.type||"modal",unsafeClassName:$,isEmphasized:j=r.isEmphasized}=e,I=(0,c.o)(d.D),M=(0,a.zD)(t),{dialogProps:A,titleProps:E}=(0,m.s)((0,p.v)(r,e),M),N=(0,b.useMemo)(()=>(0,h.QP)(g(` 44 relative flex max-h-[inherit] flex-col outline-none md:mx-0 md:min-w-[10rem] 45 ${"popover"===C?"":"min-w-[calc(100vw-2rem)]"} 46 ${"modal"===C&&"s"===w?"md:w-[30rem]":""} 47 ${"modal"===C&&"m"===w?"md:w-[36.25rem]":""} 48 ${"modal"===C&&"l"===w?"md:w-[40rem]":""} 49 ${"popover"===C?"border border-border-default border-solid bg-surface-normal":""} 50 ${"popover"===C&&j?"bg-surface-primary text-text-invert":""} 51 ${["fullscreen","fullscreenTakeover"].includes(C)?"absolute inset-0":"popover"===C?"":"mx-4"} 52 ${"fullscreenTakeover"===C?"":"rounded-lg"} 53 ${$||""} 54 `)),[C,w,$,j]),z=(0,b.useMemo)(()=>g(` 55 absolute 56 ${"popover"===C?"top-1 right-1":"top-4 right-4"} 57 `),[C]),D=b.Children.toArray(x).find(e=>(0,b.isValidElement)(e)&&e.type===l.A),R=!!D,T=R&&!D?.props.hasHeroImage,L=b.Children.toArray(x).some(e=>(0,b.isValidElement)(e)&&e.type===n.A),Z=b.Children.toArray(x).some(e=>(0,b.isValidElement)(e)&&e.type===u.A),k=b.Children.map(x,e=>(0,b.isValidElement)(e)?e.type===l.A?b.cloneElement(e,{id:T?E.id:void 0}):e.type===s.A?b.cloneElement(e,{hasDialogHeader:R,slotTitleId:T?void 0:E.id}):e:e),S=(0,b.useMemo)(()=>({hasFooter:L}),[L]);return(0,v.jsx)(i.t.Provider,{value:S,children:(0,v.jsxs)("section",{...A,className:N,ref:M,"data-name":"Dialog",children:[k,y&&(0,v.jsx)("div",{className:z,children:(0,v.jsx)(o.A,{onPress:P,variant:Z?"onImage":j?"primary":"clickableIcon",size:"popover"===C?"m":"l","aria-label":I.format("dismiss"),children:(0,v.jsx)(f.bm,{"aria-label":""})})})]})})})},67355:(e,t,r)=>{r.d(t,{D:()=>a});var a={"ja-JP":{dismiss:"éãã",zoomIn:"å寸ã§è¡¨ç¤º",zoomOut:"å ¨ä½è¡¨ç¤ºã«æ»ã",prevImage:"åã®ç»å",nextImage:"次ã®ç»å",imagePosition:"å ¨{total}æä¸{current}æç®"}}},80603:(e,t,r)=>{r.d(t,{M:()=>s});var a=r(34797),o=r(42018),i=r(85285);function s(e){let{description:t,errorMessage:r,isInvalid:s,validationState:n}=e,l=(0,i.M)(e),{fieldProps:d}=l,{labelProps:u}=l,c=(0,a.X1)([!!t,!!r,s,n]),m=(0,a.X1)([!!t,!!r,s,n]);return{labelProps:u,fieldProps:d=(0,o.v)(d,{"aria-describedby":[c,m,e["aria-describedby"]].filter(
57Boolean).join(" ")||void 0}),descriptionProps:{id:c},errorMessageProps:{id:m}}}},85285:(e,t,r)=>{r.d(t,{M:()=>i});var a=r(2280),o=r(19324);function i(e){let{id:t,"aria-labelledby":r}=e,{label:i,"aria-label":s,labelElementType:n="label"}=e;t??=(0,o.useId)();let l=(0,o.useId)(),d={};return i?(r=r?`${r} ${l}`:l,d={id:l,htmlFor:"label"===n?t:void 0}):r||s||console.warn("If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility"),{labelProps:d,fieldProps:(0,a.b)({id:t,"aria-label":s,"aria-labelledby":r})}}},88501:(e,t,r)=>{r.d(t,{s:()=>l});var a=r(90660),o=r(34797),i=r(88982),s=r(64996),n=r(19324);function l(e,t){let{role:r="dialog"}=e,l=(0,o.X1)();l=e["aria-label"]?void 0:l;let d=(0,n.useRef)(!1),u=(0,n.useRef)(!1);return(0,n.useEffect)(()=>{e["aria-label"]||e["aria-labelledby"]||l||u.current||(u.current=!0,console.warn("An aria-label or aria-labelledby prop is required for accessibility when a Dialog has no visible title (DialogHeader or slotTitle)."))},[l,e["aria-label"],e["aria-labelledby"]]),(0,n.useEffect)(()=>{if(!t.current||t.current.contains(document.activeElement))return()=>{};{(0,i.l)(t.current);let e=setTimeout(()=>{document.activeElement===t.current&&null!==t.current&&(d.current=!0,t.current.blur(),(0,i.l)(t.current),d.current=!1)},500);return()=>{clearTimeout(e)}}},[t]),(0,s.Se)(),{dialogProps:{...(0,a.$)(e,{labelable:!0}),role:r,tabIndex:-1,"aria-labelledby":e["aria-labelledby"]||l,onBlur:e=>{d.current&&e.stopPropagation()}},titleProps:{id:l}}}}}]);
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.