PageSourceSearch

https://www.wattpad.com/wp-web-assets/build/_shared/chunk-7XRBLDAY.js

js wattpad.com collected 2026-10-01 08:33:14 UTC 2,881 bytes, 1 lines download raw bytes

1import{Z as s}from"/wp-web-assets/build/_shared/chunk-OJGQNC6W.js";import{b as i}from"/wp-web-assets/build/_shared/chunk-WRFPJY3T.js";import{d as g}from"/wp-web-assets/build/_shared/chunk-QU6HUKB6.js";import{l as T,p as B}from"/wp-web-assets/build/_shared/chunk-BEEYMAMZ.js";import{b as c}from"/wp-web-assets/build/_shared/chunk-NFQRDOF2.js";import{e as d}from"/wp-web-assets/build/_shared/chunk-H535LSQH.js";B();var p={"tabs-bar-container":"dUATv","tabs-bar":"mQiYA","tab-link":"qSfOW","tab-link-active":"QNT8Y","settings-body":"g4dWf"};var l=d(c()),m=({tabs:b,activeTab:a,onChange:v,classNames:n})=>{let{t:f}=g(),u=(t,o)=>{if(a===o){t.preventDefault();return}v({event:t,tabId:o})};return(0,l.jsx)("nav",{className:i(p["tabs-bar-container"],n==null?void 0:n.tabsBarContainer),role:"none","data-testid":"tabs-bar",children:(0,l.jsx)("ul",{className:i(p["tabs-bar"],n==null?void 0:n.tabsBar),role:"tablist","aria-label":f("Tab list with %s items",{sprintf:[b.length||0]}),children:b.map(t=>{let o=t.navigation==="client"?T:"a",h=t.navigation==="server"?t.path:void 0,k=t.navigation==="client"?t.path:void 0;return(0,l.jsx)("li",{role:"presentation",children:(0,l.jsx)(o,{href:h,to:k,target:t.target,onClick:y=>u(y,t.id),className:a===t.id?i(p["tab-link-active"],n==null?void 0:n.tabLinkActive):i(p["tab-link"],n==null?void 0:n.tabLink),role:"tab","aria-selected":a===t.id,id:`tab-${t.id}`,children:t.label})},t.id)})})})};var e={"section-tabs-container":"YScOD","section-tabs-bar":"lr-Hp","tab-item":"-dZWN","tab-button":"wakif","tab-button-active":"NsX1s","tab-badge":"_8ujWz","new-parts-indicator":"tlvQ1","mw-bottom-separator-line":"cUGLt"};var r=d(c()),C=({tabs:b,activeTab:a,onChange:v,classNames:n})=>{let{t:f}=g(),u=t=>{a!==t&&v(t)};return(0,r.jsxs)("nav",{className:i(e["section-tabs-container"],n==null?void 0:n.tabsBarContainer),role:"none","data-testid":"section-tabs-bar",children:[(0,r.jsx)("ul",{className:i(e["section-tabs-bar"],n==null?void 0:n.tabsBar),role:"tablist","aria-label":f("Tab list with %s items",{sprintf:[b.length||0]}),children:b.map(t=>{let o=a===t.id;return(0,r.jsxs)("li",{role:"presentation",className:e["tab-item"],children:[(0,r.jsxs)("button",{type:"button",onClick:()=>u(t.id),className:i("typography-label-small",o?i(e["tab-button"],e["tab-button-active"],n==null?void 0:n.tabButtonActive):i(e["tab-button"],n==null?void 0:n.tabButton)),role:"tab","aria-selected":o,id:`tab-${t.id}`,children:[(0,r.jsx)("span",{className:e["tab-label"],children:t.label}),t.badge&&(0,r.jsx)("span",{className:i("typography-paragraph-x-small",e["tab-badge"]),children:t.badge})]}),t.indicator&&(0,r.jsx)("div",{className:e["new-parts-indicator"],children:(0,r.jsx)(s,{name:"newPartsIndicator",height:"4",strokeColor:"none",fill:"var(--wp-base-1)",viewBox:"4"})})]},t.id)})}),(0,r.jsx)("hr",{className:e["mw-bottom-separator-line"]})]})};export{m as a,C as b};

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.