Build 620073canary
Module 939249
1,336 characters · in web.692b1813fcabadaf.jsDependencies
Required by (450)
39213103738615161551828220465205042459425682285282886337402377563805539613403444047443136441374693747868487365082051943537745494855759561295873658829595376240564622647496644266976673196781171855736637758078903803308068385935877309541495477956559678297808101555104171107773109026109210111185112107112753113673117029123181123583124480129493131882139146142630143407143657144165147696149346149741154434154649159730161673162093164048166005167630168457173127175671182859187495187654188602189252190199191110193663196231196582198525204651217424218150219317219503220995226830229087230797231643232122232571235327238017238234241188241215241499241989242939243166247186247933262514266536267889269587271006271195273861275664276130279182282207283012284675285961286509289634291594293759302031302557304047306417315246316770317084318104319993320080320742321486321563322338322789326009328380328982329554331446332173333189333204342298342952350527352043353394353428354033354948355998359378359762360322360627370997372474375499376310376352377980378455378974379307382003382567385430399145401155402857408121414079414711417098417454421617425663427080427294435954436405438271438407438692438729439325439401439762439881442734444550445529448368448967450117450740451395452015454491459789465558465829467884475706478531479299480178480900481045481947484734488358492385500179500770503062508274511558513297516889517622518142519342520660521974529200531648534148534400537547538451541712542308546419548118549363554601557420560149561965564771565265568006572211572469575293578839579735580763582306588857589158589935590114590380590388591840596484596719597351606049618989620957622868623671625928626148629584631754632738635995639245640132644346645501650588650993651247653523655098657048657538657977659280661847664111667086671897672525674168676923681281684136685961686502688438706897707335709013710637715069716936727353727584729398736339737823741561741919742290744753746221747007747119753838754692754744759625761508767089770101777307778768779519785007788259788593791519791556794783799162803281803977804630806932807067807780808261811611812633813703813837817232818433818743821209822610825596826320829648831056831688831937834135836781843282844330849205855267855446860603862611866945867730869362870729872238872363873614878678883455884496886180886235887909888250890856892992894591900649902550902592910607913765914119914905918192928529929120930101930349930840932453932793937489937563942262943793946228947346948822950072950980951780954784959070960538960628962766963402964195965820967388968898974544974800976014978171979204980707981360982484983495985110986687986712988436991054993401994064999751
Lazily required by (0)none
Lazily requires (0)none
Source Raw
function(e,t,n){"use strict";n.d(t,{D:()=>o});var i=n(477900),r=n(582128),a=n(531142),s=n(559106),l=n(650583);class o extends r.Component{ref;static contextType=a.g;static defaultProps={tag:"div",role:"button",tabIndex:0};handleKeyPress=e=>{let{onClick:t,href:n,onKeyPress:i,ignoreKeyPress:r}=this.props;e.repeat||(r||null==t||null==this.ref||e.key!==l.dh.SPACE&&e.key!==l.dh.ENTER||(null==n&&e.preventDefault(),this.ref.dispatchEvent(new MouseEvent("click",{bubbles:!0,cancelable:!0,shiftKey:e.shiftKey,ctrlKey:e.ctrlKey,metaKey:e.metaKey,altKey:e.altKey,view:this.ref.ownerDocument?.defaultView??window}))),null!=i&&i(e))};setRef=e=>{this.ref=e;let{innerRef:t}=this.props;null!=t&&("function"==typeof t?t(e):t.hasOwnProperty("current")&&(t.current=e))};renderNonInteractive(){let{tag:e,focusProps:t,innerRef:n,onClick:i,role:a,tabIndex:s,ignoreKeyPress:l,...o}=this.props;return r.createElement(e,{ref:this.setRef,...o})}renderInner(){let{tag:e,onClick:t,className:n,children:i,focusProps:a,innerRef:s,ignoreKeyPress:l,...o}=this.props;return null==t?r.createElement(e,{ref:this.setRef,className:n,...o},i):r.createElement(e,{onClick:t,ref:this.setRef,onKeyPress:this.handleKeyPress,className:n,...o},i)}render(){return this.context?this.renderNonInteractive():(0,i.jsx)(s.vN,{...this.props.focusProps,children:this.renderInner()})}}}