PageSourceSearch

https://playwright.dev/assets/js/common.9c4c211a.js

js playwright.dev collected 2026-09-24 06:56:13 UTC 8,206 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkplaywright_dev=self.webpackChunkplaywright_dev||[]).push([["5005"],{41647(e,t,r){r.d(t,{A:()=>c});var n=r(74848);r(96540);var a=r(34164),l=r(49002);function o(e){let{children:t,className:r,hidden:l}=e;return(0,n.jsx)("div",{role:"tabpanel",className:(0,a.A)("tabItem_Ymn6",r),hidden:l,children:t})}function c(e){let{children:t,className:r,value:a}=e,{selectedValue:c,lazy:s}=(0,l.uc)(),u=a===c;return!u&&s?null:(0,n.jsx)(o,{className:r,hidden:!u,children:t})}},13554(e,t,r){r.d(t,{A:()=>p});var n=r(74848);r(96540);var a=r(34164),l=r(5678),o=r(49002),c=r(45341),s=r(88094);function u(e){let{className:t}=e,{selectedValue:r,selectValue:l,tabValues:s,block:u}=(0,o.uc)(),i=[],{blockElementScrollPositionUntilNextRender:d}=(0,c.a_)(),p=e=>{let t=e.currentTarget,n=s[i.indexOf(t)].value;n!==r&&(d(t),l(n))},b=e=>{var t,r;let n=null;switch(e.key){case"Enter":p(e);break;case"ArrowRight":{let r=i.indexOf(e.currentTarget)+1;n=null!=(t=i[r])?t:i[0];break}case"ArrowLeft":{let t=i.indexOf(e.currentTarget)-1;n=null!=(r=i[t])?r:i[i.length-1]}}null==n||n.focus()};return(0,n.jsx)("ul",{role:"tablist","aria-orientation":"horizontal",className:(0,a.A)("tabs",{"tabs--block":u},t),children:s.map(e=>{var t,l;let{value:o,label:c,attributes:s}=e;return(0,n.jsx)("li",(t=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}({role:"tab",tabIndex:r===o?0:-1,"aria-selected":r===o,ref:e=>{i.push(e)},onKeyDown:b,onClick:p},s),l=l={className:(0,a.A)("tabs__item","tabItem_LNqP",null==s?void 0:s.className,{"tabs__item--active":r===o}),children:null!=c?c:o},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(l)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t}
1)(Object(l)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(l,e))}),t),o)})})}function i(e){let{children:t}=e;return(0,n.jsx)("div",{className:"margin-top--md",children:t})}function d(e){let{className:t,children:r}=e;return(0,n.jsxs)("div",{className:(0,a.A)(l.G.tabs.container,"tabs-container","tabList__CuJ"),children:[(0,n.jsx)(u,{className:t}),(0,n.jsx)(i,{children:r})]})}function p(e){let t=(0,s.A)(),r=(0,o.OC)(e);return(0,n.jsx)(o.O_,{value:r,children:(0,n.jsx)(d,{className:e.className,children:(0,o.vT)(e.children)})},String(t))}},49002(e,t,r){r.d(t,{OC:()=>p,O_:()=>h,uc:()=>f,vT:()=>i});var n=r(74848),a=r(96540),l=r(56347),o=r(93398),c=r(23270),s=r(1335),u=r(65714);function i(e){return a.Children.toArray(e).filter(e=>"\n"!==e)}function d(e){let{value:t,tabValues:r}=e;return r.some(e=>e.value===t)}function p(e){var t,r;let n,{defaultValue:i,queryString:p=!1,groupId:b}=e,f=function(e){let{values:t,children:r}=e;return(0,a.useMemo)(()=>{let e=null!=t?t:a.Children.toArray(r).flatMap(e=>{if(!e)return[];if((0,a.isValidElement)(e)&&function(e){let{props:t}=e;return!!t&&"object"==typeof t&&"value"in t}(e))return[e];let t="string"==typeof e.type?e.type:e.type.name;throw Error("Docusaurus error: Bad <Tabs> child <".concat(t,'>: all children of the <Tabs> component should be <TabItem>, and every <TabItem> should have a unique "value" prop.\nIf you do not want to pass on a "value" prop to the direct children of <Tabs>, you can also pass an explicit <Tabs values={...}> prop.'))}).map(e=>{let{props:{value:t,label:r,attributes:n,default:a}}=e;return{value:t,label:r,attributes:n,default:a}}),n=(0,s.XI)(e,(e,t)=>e.value===t.value);if(n.length>0)throw Error('Docusaurus error: Duplicate values "'.concat(n.map(e=>"'".concat(e.value,"'")).join(", "),'" found in <Tabs>. Every value needs to be unique.'));return e},[t,r])}(e),[h,v]=(0,a.useState)(()=>(function(e){var t;let{defaultValue:r,tabValues:n}=e;if(0===n.length)throw Error("Docusaurus error: the <Tabs> component requires at least one <TabItem> children component");if(r){if(!d({value:r,tabValues:n}))throw Error('Docusaurus error: The <Tabs> has a defaultValue "'.concat(r,'" but none of its children has the corresponding value. Available values are: ').concat(n.map(e=>e.value).join(", "),". If you intend to show no default tab, use defaultValue={null} instead."));return r}let a=null!=(t=n.find(e=>e.default))?t:n[0];if(!a)throw Error("Unexpected error: 0 tabValues");return a.value})({defaultValue:i,tabValues:f})),[m,y]=function(e){let{queryString:t=!1,groupId:r}=e,n=(0,l.W6)(),o=function(e){let{queryString:t=!1,groupId:r}=e;if("string"==typeof t)return t;if(!1===t)return null;if(!0===t&&!r)throw Error('Docusaurus error: The <Tabs> component groupId prop is required if queryString=true, because this value is used as the search param name. You can also provide an explicit value such as queryString="my-search-param".');return null!=r?r:null}({queryString:t,groupId:r});return[(0,c.aZ)(o),(0,a.useCallback)(e=>{var t,r;if(!o)return;let a=new URLSearchParams(n.location.search);a.set(o,e),n.replace((t=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}({},n.location),r=r={search:a.toString()},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t})(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}),t))},[o,n])]}({queryString:p,groupId:b}),[j,O]=function(e){let{groupId:t}=e,r=t?"docusaurus.tab.".concat(t):null,[n,l]=(0,u.Dv)(r);return[n,(0,a.useCallback)(e=>{r&&l.set(e)},[r,l])]}({groupId:b}),g=d({value:n=null!=m?m:j,tabValues:f})?n:null;return(0,o.A)(()=>{g&&v(g)},[g]),{selectedValue:h,selectValue:(0,a.useCallback)(e=>{if(!d({value:e,tabValues:f}))throw Error("Can't select invalid tab value=".concat(e));v(e),y(e),O(e)},[y,O,f]),tabValues:f,lazy:null!=(t=e.lazy)&&t,block:null!=(r=e.block)&&r}}let b=(0,a.createContext)(null);function f(){let e=a.useContext(b);if(!e)throw Error("useTabsContext() must be used within a Tabs component");return e}function h(e){return(0,n.jsx)(b.Provider,{value:e.value,children:e.children})}},83137(e,t,r){r.d(t,{A:()=>
1o});var n=r(74848);r(96540);let a="dot_iyam",l="menuBar_WzY4",o=e=>{let{children:t}=e;return(0,n.jsxs)("div",{className:"card_GRg2",children:[(0,n.jsxs)("div",{className:"header_XfNy",children:[(0,n.jsxs)("div",{style:{whiteSpace:"nowrap"},children:[(0,n.jsx)("span",{className:a,style:{backgroundColor:"rgb(242, 95, 88)"}}),(0,n.jsx)("span",{className:a,style:{backgroundColor:"rgb(251, 190, 60)"}}),(0,n.jsx)("span",{className:a,style:{backgroundColor:"rgb(88, 203, 66)"}})]}),(0,n.jsx)("div",{className:"addressBar_X0Gc",children:"http://localhost:3000"}),(0,n.jsx)("div",{style:{marginLeft:"auto"},children:(0,n.jsxs)("div",{children:[(0,n.jsx)("span",{className:l}),(0,n.jsx)("span",{className:l}),(0,n.jsx)("span",{className:l})]})})]}),(0,n.jsxs)("div",{className:"body_ikuQ",children:[(0,n.jsx)("div",{className:"html-card-page ".concat("pageSide_EDh8"," ").concat("webView_lqhL"),children:t[0]}),(0,n.jsx)("div",{className:"html-card-code ".concat("codeSide_OQWj"),children:t[1]})]})]})}},28453(e,t,r){r.d(t,{R:()=>o,x:()=>c});var n=r(96540);let a={},l=n.createContext(a);function o(e){let t=n.useContext(l);return n.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function c(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(a):e.components||a:o(e.components),n.createElement(l.Provider,{value:t},e.children)}}}]);

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.