-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path1483.js
1 lines (1 loc) · 11.2 KB
/
1483.js
1
"use strict";(("undefined"!=typeof self?self:global).webpackChunkclient_web=("undefined"!=typeof self?self:global).webpackChunkclient_web||[]).push([[1483],{61407:(e,n,r)=>{r.d(n,{I:()=>c});var t=r(30758),i=r(72418),o=r(56116),s=r(67759),l=r(86070);const c=t.memo((function({uri:e,size:n=i.M.md,className:r,onClick:c,canDownload:a,condensedAll:u}){const[d,f]=(0,s.A)(e),h=(0,o.W)(),m=(0,t.useCallback)((()=>{h({targetUri:e,intent:d?"unsave":"save",type:"click"}),f(!d)}),[h,e,d,f]);return(0,l.jsx)(i.f,{className:r,isFollowing:d,onFollow:m,onClick:c,uri:e,size:n,canDownload:a,condensedAll:u,condensed:!0})}))},15393:(e,n,r)=>{r.d(n,{k:()=>u});var t=r(30758),i=r(97500),o=r.n(i),s=r(12431),l=r(2989),c=r(16772),a=r(86070);const u=(0,t.memo)((function(e){const{breakpoint:n,className:r,showSeparator:t,isActive:i,...u}=e;return(0,a.jsx)(s.v,{className:o()(r,c.A.entityRow,{[c.A.separator]:t,[c.A.active]:i}),hoverBackgroundColor:"backgroundTintedHighlight",activeBackgroundColor:"backgroundTintedBase",layout:n===l.e.SMALL?"regular":"wide",hoverAnimationDuration:"0ms",horizontalGap:n===l.e.SMALL?"12px":"16px",paddingBlockStart:"12px",paddingBlockEnd:"12px",...u})}))},13128:(e,n,r)=>{r.d(n,{X:()=>l});var t=r(13505);const i="dK79XxAEu3SEKJ2jS_Qy",o="guiUbDD6Ga8Qpatq2jQ8";var s=r(86070);const l=({badges:e,children:n})=>(0,s.jsxs)("div",{className:i,children:[e,(0,s.jsx)(t.E,{variant:"bodySmall",className:o,children:n})]})},5488:(e,n,r)=>{r.d(n,{q:()=>o});var t=r(37926),i=r(86070);const o=e=>(0,i.jsx)(t.R,{size:"small",version:t.H.secondary,...e})},95211:(e,n,r)=>{r.d(n,{k:()=>l});var t=r(94934),i=r(72869),o=r(16772),s=r(86070);const l=({description:e,children:n})=>(0,s.jsxs)("div",{className:o.A.body,children:[e&&(0,s.jsx)(t.v,{lineClamp:2,as:"div",dir:"auto",children:(0,s.jsx)(i.q,{asTextContent:!0,html:e})}),n]})},66298:(e,n,r)=>{r.d(n,{F:()=>o});var t=r(16772),i=r(86070);const o=({actions:e,playButton:n})=>(0,i.jsxs)("div",{className:t.A.footer,children:[(0,i.jsx)("div",{className:t.A.actions,children:e}),n]})},75395:(e,n,r)=>{r.d(n,{e:()=>c});var t=r(2989),i=r(13317),o=r(75189),s=r(94258),l=r(86070);const c=({images:e,breakpoint:n,type:r,name:c})=>{const a=(0,s._)(),u=n===t.e.SMALL?o.Qe.SIZE_64:o.Qe.SIZE_112;return(0,l.jsx)(i.b,{fadeIn:!0,images:a(e,o.BZ[u]),shape:i.u.ROUNDED_CORNERS,size:u,iconSize:n===t.e.SMALL?"medium":"xlarge",type:r,title:c,loadingMode:"eager"})}},96089:(e,n,r)=>{r.d(n,{U:()=>s});var t=r(55158),i=r(16772),o=r(86070);const s=({children:e})=>(0,o.jsx)(t.d,{lineClamp:2,as:"div",dir:"auto",className:i.A.title,children:e})},72869:(e,n,r)=>{r.d(n,{q:()=>a});var t=r(30758),i=r(97500),o=r.n(i),s=r(9880),l=r(38795),c=r(86070);const a=t.memo(t.forwardRef((function({html:e,onTimeStampClick:n,enableTimestamps:r=!1,enableAutomaticLinkification:i=!1,semanticColor:a="textSubdued",className:u,asTextContent:d=!1},f){const h=(0,t.useMemo)((()=>(0,s.v)(e,n,r,a,i,d)),[r,i,e,n,a,d]);return(0,c.jsx)("div",{ref:f,className:o()(l.A.HTMLDescription,u),children:h})})))},9880:(e,n,r)=>{r.d(n,{v:()=>g});var t=r(30758),i=r(6936),o=r.n(i),s=r(13505);const l=/(\((?:[0-9]{1,3}:){1,2}[0-9]{2}\))/g;var c=r(5119),a=r(86070);const u=/((?:(?:https?:\/\/)|www\.)(?:(?:(?:[a-z\u00a1-\uffff0-9][-_]*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,}))\.?)(?:[/?#][^\s"]*)?)/gi,d=/^https?:\/\//;function f(e){return"string"==typeof e?(0,a.jsx)(a.Fragment,{children:e.split(u).map(((e,n)=>n%2?(0,a.jsx)(c.N,{to:`${d.test(e)?"":"https://"}${e}`,rel:"nofollow",children:e},n):e))}):e}var h=r(37982),m=r(38795);const v=(e=()=>{},n,r,i)=>{let o=0;const l={_:(e,n,s)=>{const l=void 0===n?e:s;return(0,a.jsx)(t.Fragment,{children:r&&!i?f(l):l},"fragment"+o++)}};if(i)return l;return{...l,p:e=>(0,a.jsx)(s.E,{as:"p",variant:"bodyMedium",semanticColor:n,className:m.A.Paragraph,children:r?f(e.children):e.children}),a:n=>n.href?.startsWith("#t=")?(0,a.jsx)(h.D,{onClick:e,children:n.children}):n.href?(0,a.jsx)(c.N,{to:n.href,rel:n.rel,children:n.children}):(0,a.jsx)(a.Fragment,{children:n.children}),ul:e=>(0,a.jsx)("ul",{className:m.A.List,children:e.children}),ol:e=>(0,a.jsx)("ol",{className:m.A.List,children:e.children}),li:e=>(0,a.jsx)(s.E,{as:"li",variant:"bodyMedium",semanticColor:n,className:m.A.ListItem,children:r?f(e.children):e.children}),br:()=>(0,a.jsx)("br",{}),h1:e=>(0,a.jsx)(s.E,{as:"h1",variant:"bodyMediumBold",semanticColor:n,className:m.A.Heading,children:e.children}),h2:e=>(0,a.jsx)(s.E,{as:"h2",variant:"bodyMediumBold",semanticColor:n,className:m.A.Heading,children:e.children}),h3:e=>(0,a.jsx)(s.E,{as:"h3",variant:"bodyMediumBold",semanticColor:n,className:m.A.Heading,children:e.children}),h4:e=>(0,a.jsx)(s.E,{as:"h4",variant:"bodyMediumBold",semanticColor:n,className:m.A.Heading,children:e.children}),h5:e=>(0,a.jsx)(s.E,{as:"h5",variant:"bodyMediumBold",semanticColor:n,className:m.A.Heading,children:e.children}),h6:e=>(0,a.jsx)(s.E,{as:"h6",variant:"bodyMediumBold",semanticColor:n,className:m.A.Heading,children:e.children}),time:n=>(0,a.jsx)(h.D,{onClick:e,children:n.children})}},g=(e,n=()=>{},r=!1,t="textSubdued",i=!1,s=!1)=>{const c=r?e.split(l).map((e=>e.match(l)?`(<time>${e.replace("(","").replace(")","")}</time>)`:e)).join(""):e;let a;try{a=o()(c,{transform:v(n,t,i,s),dangerouslySetChildren:[]})}catch{a=e}return a}},3408:(e,n,r)=>{r.d(n,{R:()=>h});var t=r(30758),i=r(2164),o=r(70824);function s(e,n,r=!1){if(!e)return void console.error("No list element found. Canceling moving focus");if(!(0,o.fk)(e))return;const t=e.querySelector('[tabindex="0"]');n===i.O.UP&&(0,o.MS)(t,l(e,t,i.O.UP,r)),n===i.O.DOWN&&(0,o.MS)(t,l(e,t,i.O.DOWN,r)),n===i.O.RIGHT&&(0,o.MS)(t,c(t,i.O.RIGHT,r)),n===i.O.LEFT&&(0,o.MS)(t,c(t,i.O.LEFT,r)),n===i.O.HOME&&(0,o.MS)(t,a(i.O.HOME,r)??t),n===i.O.END&&(0,o.MS)(t,a(i.O.END,r)??t)}function l(e,n,r,t=!1){const s=n.closest('li[role="row"]');if(!s)return n;let l=s;const a=Array.from(e.querySelectorAll('li[role="row"]')),u=Array.from(s.querySelectorAll(o.nu)),d=a.indexOf(s);if(d<0)return n;const f=(t&&n!==u[0]||!t&&n!==s)&&!(n instanceof HTMLLIElement);if(r===i.O.UP){if(document.activeElement===e){l=a[a.length-1];return(t?l.querySelector(o.nu):l)??n}if(f)return c(n,i.O.LEFT,t);let r=d-1;if(-1===r)return n;l=a[r],r-=1}else if(r===i.O.DOWN){if(document.activeElement===e){l=a[0];return(t?l.querySelector(o.nu):l)??n}if(f)return c(n,i.O.RIGHT,t);let r=d+1;if(r===a.length)return n;l=a[r],r+=1}return(t?l.querySelector(o.nu):l)??n}function c(e,n,r=!1){const t=e.closest('li[role="row"]');if(!t)return e;let s=e;const l=Array.from(t.querySelectorAll(o.nu)),c=l.indexOf(e);let a=0;if(n===i.O.RIGHT&&c-1!==l.length)a=c+1;else{if(n===i.O.LEFT&&-1===c)return t;if(n===i.O.LEFT&&0!==c)a=c-1;else if(n===i.O.LEFT&&0===c){return(r?t.querySelector(o.nu):t)??t}}return s=l.at(a),s??e}function a(e,n=!1){const{currentFocus:r,listEl:t}=function(){const e=document.activeElement,n=e?.closest("ul");return((0,i.I)(e)||e instanceof HTMLLIElement)&&n?{currentFocus:e,listEl:n}:{currentFocus:null,listEl:null}}();if(null===r||null===t)return null;const s=r.closest('li[role="row"]');if(!s)return r;const l=Array.from(t.querySelectorAll('li[role="row"]')),c=Array.from(s.querySelectorAll(o.nu));if(l.indexOf(s)<0)return r;const a=n&&r===c[0]||!n&&r===s;if(e===i.O.HOME){if(a){return(n?l[0].querySelector(o.nu):l[0])??r}return(n?c[1]:c[0])??r}if(e===i.O.END){if(a){return(n?l[l.length-1].querySelector(o.nu):l[l.length-1])??r}return c[c.length-1]??r}return r}var u=r(89977),d=r(43365),f=r(86070);const h=(0,t.forwardRef)((({onKeyDown:e,children:n,firstInteractiveIsWrapper:r=!1,...l},c)=>{const a=(0,d.N)(c);(0,u.R)(a);const h=(0,t.useCallback)((n=>{a.current?.contains(n.target)&&("ArrowUp"!==n.key&&"ArrowDown"!==n.key&&"Home"!==n.key&&"End"!==n.key||n.preventDefault(),"ArrowUp"!==n.key&&"ArrowDown"!==n.key||document.documentElement.classList.remove("no-focus-outline"),"ArrowUp"===n.key&&s(a.current,i.O.UP,r),"ArrowDown"===n.key&&s(a.current,i.O.DOWN,r),"ArrowRight"===n.key&&s(a.current,i.O.RIGHT,r),"ArrowLeft"===n.key&&s(a.current,i.O.LEFT,r),"Home"===n.key&&s(a.current,i.O.HOME,r),"End"===n.key&&s(a.current,i.O.END,r),e?.(n))}),[r,a,e]),m=(0,t.useCallback)((e=>{if(!a.current)return;const n=e.target,r=a.current.querySelector('[tabindex="0"]');n.closest('li[role="row"]')&&n!==r&&(0,o.MS)(r,n,{preventScroll:!0})}),[a]);return(0,f.jsx)("ul",{role:"treegrid",ref:a,onKeyDown:h,onFocus:m,tabIndex:0,...l,children:n})}))},64493:(e,n,r)=>{r.d(n,{W:()=>s});var t=r(30758),i=r(52956),o=r(86070);const s=({children:e,innerRef:n,reRunOnDOMUpdate:r=!1,...s})=>{const l=(0,t.useRef)(null),c=n??l;return(0,i.g)(c,r),(0,o.jsx)("li",{ref:c,"aria-expanded":"true","aria-level":1,role:"row",...s,children:e})}},24573:(e,n,r)=>{r.d(n,{M:()=>a});var t=r(75773),i=r(30758);const o=[],s=(e,n)=>{const r=[];let t=e,i=n;for(;t>0;){const n=Math.ceil(t/i);r.push({first:e-t,nrItems:n}),t-=n,i--}return r};var l=r(86070);const c=e=>{const{itemsInNode:n,renderItem:r,renderPlaceholder:i,estimatedHeight:o,scrollNodeRef:a,nrRowsOverscan:u=10,nrInitialInView:d=0,firstIndex:f,heights:h,fanOut:m=2}=e,{ref:v,inView:g,entry:y}=(0,t.Wx)({root:a.current,rootMargin:u*o+"px 0px",initialInView:f<d}),x=`${f}-${n}`;h[x]??=o*n,y?.boundingClientRect?.height&&(h[x]=y.boundingClientRect.height);const p=h[x];return 0===n?null:g?1===n?(0,l.jsx)("div",{ref:v,role:"presentation",children:r(f,p)}):(0,l.jsx)("div",{ref:v,role:"presentation",children:s(n,m).map((({first:n,nrItems:r},t)=>(0,l.jsx)(c,{...e,itemsInNode:r,firstIndex:f+n},t)))}):(0,l.jsx)("div",{ref:v,role:"presentation",children:i(`${p}px`)})},a=e=>{const n=(e=>{const n=o.find((n=>n.key===e))?.heights||{},r=(0,i.useCallback)((n=>{if(!e)return;const r=o.findIndex((n=>n.key===e));-1===r?o.push({key:e,heights:n}):(o[r].heights=n,o.push(o.splice(r,1)[0])),o.length>10&&o.shift()}),[e]),t=(0,i.useRef)({...n});return(0,i.useEffect)((()=>()=>{r(t.current)}),[r]),t.current})(e.persistanceKey);return(0,l.jsx)(c,{...e,itemsInNode:e.totalCount,firstIndex:0,heights:n,nrInitialInView:e.nrInitialInView})}},81995:(e,n,r)=>{r.d(n,{u:()=>t});let t=function(e){return e.TITLE="title",e.SUBTITLE="subTitle",e}({})},2989:(e,n,r)=>{r.d(n,{$:()=>s,e:()=>o});var t=r(20951),i=r(33059);const o={SMALL:"small",LARGE:"large"},s=()=>(0,i.y)()===t.E.SMALL?"small":"large"},89977:(e,n,r)=>{r.d(n,{R:()=>i});var t=r(30758);const i=e=>{const[n,r]=(0,t.useState)(null);(0,t.useEffect)((()=>{const n=e.current;if(!n)return()=>{};const t=({target:e})=>{e instanceof HTMLElement&&r(e)};return n.addEventListener("focusout",t),()=>{n.removeEventListener("focusout",t)}}),[e]),(0,t.useEffect)((()=>{const t=e.current;if(!n||!t)return;const i=t.contains(n),o=t.contains(document.activeElement);!i&&!o&&t.focus({preventScroll:!0}),r(null)}),[e,n])}},43365:(e,n,r)=>{r.d(n,{N:()=>i});var t=r(30758);function i(e){const n=(0,t.useRef)(null);return(0,t.useEffect)((()=>{e&&("function"==typeof e?e(n.current):e.current=n.current)})),n}},16772:(e,n,r)=>{r.d(n,{A:()=>t});const t={entityRow:"ci11tAmTK1LnxThQkXPy",actions:"_2sJPwAAp1wY1Ftke6iFe",visibleAction:"yuNzasMLs7hvemHI4d8Q",active:"dNymWGRudMrTI6ot9FBg",title:"luWcW9hkbLdFxRQB0yGb",body:"abYR6tZoE7BdzThmWTb0",footer:"GOcKQxqNMhGzbGiAXBig",separator:"yFQjuDAhri_egM1pwn70",badges:"tykXaR_9v2wPQNrdPkK6"}},38795:(e,n,r)=>{r.d(n,{A:()=>t});const t={Heading:"QD13ZfPiO5otS0PU89wG",HTMLDescription:"xgmjVLxjqfcXK5BV_XyN",List:"ZbLneLRe2x_OBOYZMX3M",ListItem:"rjdQaIDkSgcGmxkdI2vU",Paragraph:"umouqjSkMUbvF4I_Xz6r"}}}]);