PageSourceSearch

https://camino.sandiego.edu/assets/camino/dist/TabsOrganism.ba9f8635.chunk.js

js sandiego.edu collected 2026-09-24 08:33:51 UTC 4,325 bytes, 1 lines download raw bytes

1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[42678,48258,71451,92999],{18586:function(e,t,i){i.r(t);var s=i(96540),o=i(5556),n=i.n(o),a=i(34164),l=i(98161),r=i(9903),d=i(67393),u=i(71037),p=i(74848);const c="c-tabs",h=c+"__list",m=h+"-item",f=c+"__panel",y=m+"--selected",b=f+"--selected",g={size:["small","normal","large"],theme:["standard","light","bold"],position:["left","center","right"],layout:["horizontal","vertical"],inverse:[!0,!1],equalizeTabWidth:[!0,!1],shareThis:[!0,!1]},T={tabIndex:0,size:"normal",theme:"standard",position:"left",layout:"horizontal",inverse:!1,equalizeTabWidth:!1,shareThis:!1},z=({items:e,onClick:t,tabIndex:i=T.tabIndex,size:o=T.size,theme:n=T.theme,position:z=T.position,layout:x=T.layout,inverse:v=T.inverse,equalizeTabWidth:_=T.equalizeTabWidth,shareThis:j=T.shareThis})=>{const[$,P]=(0,s.useState)(i),A=(0,s.useCallback)((()=>{const t=window.location.hash.substr(1).replace("--scroll-to","");e.forEach(((e,i)=>{e.customid==t&&P(i)}))}),[e]);(0,s.useEffect)((()=>{A();const e=()=>{A()};return window.addEventListener("hashchange",e),()=>{window.removeEventListener("hashchange",e)}}),[A]);return(0,p.jsxs)(p.Fragment,{children:[e.map(((e,t)=>{if(e.customid)return(0,p.jsx)(s.Fragment,{children:(0,p.jsx)(r.ShareThisTarget,{id:e.customid})},`${t.toString()}-${e.customid}`)})),(0,p.jsxs)(l.tU,{className:(0,a.A)(c,{[`${c}--${o}
1`]:g.size.includes(o)&&o!==T.size,[`${c}--${n}`]:g.theme.includes(n)&&n!==T.theme,[`${c}--${z}`]:g.position.includes(z)&&z!==T.position,[`${c}--inverse`]:g.inverse.includes(v)&&v,[`${c}--${x}`]:g.layout.includes(x)&&x!==T.layout}),selectedIndex:$,onSelect:i=>{t&&t(e[i]?.title||"",i),P(i),(0,d.A)()},children:[(0,p.jsx)(l.wb,{className:(0,a.A)(h,{[`${h}--${x}`]:g.layout.includes(x)&&x!==T.layout,[`${h}--equal-tabs`]:g.equalizeTabWidth.includes(_)&&_&&g.layout.includes(x)&&x===T.layout}),children:e.map(((e,t)=>(0,p.jsx)(s.Fragment,{children:(0,p.jsx)(l.oz,{className:(0,a.A)(m,{[`${m}--hide`]:!e.title}),selectedClassName:e.title?y:"",customid:e.customid,children:e.title})},t.toString())))}),e.map(((e,t)=>(0,p.jsxs)(l.Kp,{className:(0,a.A)(f),selectedClassName:b,children:["object"==typeof e.content?e.content:(0,p.jsx)(u.default,{text:e.content}),j&&(0,p.jsx)(r.default,{id:e.customid})]},t.toString())))]})]})},x=n().arrayOf(n().shape({title:n().string.isRequired,content:n().node.isRequired,customid:n().string})),v=n().oneOf(g.size),_=n().oneOf(g.theme),j=n().oneOf(g.layout);z.propTypes={items:x.isRequired,size:v,theme:_,position:n().oneOf(g.position),layout:j,inverse:o.bool,equalizeTabWidth:o.bool,shareThis:o.bool},t.default=z,i.d(t,["defaultProps",0,T,"itemsPropType",0,x,"layoutPropType",0,j,"propValues",0,g,"sizePropType",0,v,"themePropType",0,_])},52968:function(e,t,i){i.r(t);var s=i(27008),o=i(74848);const n={position:s.propValues.position,theme:s.propValues.theme},a={...s.defaultProps},l=({label:e,heading:t,description:i,size:n=a.size,theme:l=a.theme,position:r=a.position,inverse:d=a.inverse})=>e||t||i?(0,o.jsx)(o.Fragment,{children:(0,o.jsx)("header",{className:"c-intro",children:(0,o.jsx)(s.default,{label:e,heading:t,description:i,intro:!0,size:n,theme:l,position:r,inverse:d})})}):null;l.propTypes={...s.default.propTypes},t.default=l,i.d(t,["defaultProps",0,a,"propValues",0,n])},34361:function(e,t,i){i.r(t);var s=i(5556),o=i.n(s),n=i(52968),a=i(18586),l=i(74848);const r={introPosition:n.propValues.position,introTheme:n.propValues.theme},d={introPosition:"left",...n.defaultProps,...a.defaultProps},u=({label:e,heading:t,description:i,introPosition:s,introTheme:o,...r})=>(0,l.jsxs)("section",{className:"c-section__tabs",children:[(0,l.jsx)(n.default,{label:e,heading:t,description:i,size:"normal",theme:o,position:s,inverse:r.inverse}),(0,l.jsx)(a.default,{...r})]});u.propTypes={label:o().string,heading:o().string,description:o().string,introPosition:o().oneOf(n.propValues.position),introTheme:o().oneOf(n.propValues.theme),...a.default.propTypes,...n.default.propTypes},t.default=u,i.d(t,["defaultProps",0,d,"propValues",0,r])},67393:function(e,t,i){function s(e){void 0!==e&&e.toString().length?(window.location.hash.substring(1),history.replaceState(null,null,"#"+e)):history.replaceState(null,null,window.location.href.split("#")[0])}i.d(t,{A:function(){return s}})}}]);

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.