@modern-js/devtools-client 2.63.4 → 2.63.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/modern.config.json +1 -1
- package/dist/public/sw-proxy.js +1 -1
- package/dist/routes-manifest.json +50 -50
- package/dist/static/html/client/index.html +3 -3
- package/dist/static/html/mount/index.html +3 -3
- package/dist/static/js/{130.7d1b0f85.js → 130.7f37fe21.js} +1 -1
- package/dist/static/js/{157.c90ed98f.js → 155.2de59297.js} +3 -3
- package/dist/static/js/937.251e3aad.js +28 -0
- package/dist/static/js/async/client_config/(toolkit).(type)/{page.e7677354.js → page.d5474faf.js} +1 -1
- package/dist/static/js/async/client_config/{layout.098bd3a0.js → layout.f8e4e67b.js} +1 -1
- package/dist/static/js/async/client_context/builder/{page.4052feb4.js → page.54110658.js} +1 -1
- package/dist/static/js/async/client_context/framework/{page.6e116a40.js → page.e37a48a9.js} +1 -1
- package/dist/static/js/async/client_context/{layout.5ae9f816.js → layout.af0d8a76.js} +1 -1
- package/dist/static/js/async/client_doctor/{page.54022e58.js → page.e092d973.js} +1 -1
- package/dist/static/js/async/client_headers/editor/{page.0a54e78e.js → page.ea09f3f3.js} +1 -1
- package/dist/static/js/async/client_headers/{layout.6d0a4b2c.js → layout.ca6698c6.js} +1 -1
- package/dist/static/js/async/client_headers/welcome/{page.2010d51f.js → page.dc577ec3.js} +1 -1
- package/dist/static/js/async/client_overview/{layout.2086f493.js → layout.4793110c.js} +1 -1
- package/dist/static/js/async/client_overview/{page.a9c73a82.js → page.d0b56503.js} +1 -1
- package/dist/static/js/async/client_pages/{layout.f6cbc489.js → layout.4b8046b9.js} +1 -1
- package/dist/static/js/async/client_pages/page.68601404.js +1 -0
- package/dist/static/js/async/client_react/(tab)/{page.b5d12283.js → page.a5e268dd.js} +1 -1
- package/dist/static/js/async/client_react/offscreen/page.e42912a7.js +1 -0
- package/dist/static/js/async/client_storage/preset/(id)/{page.2711d138.js → page.139624f1.js} +1 -1
- package/dist/static/js/async/client_storage/preset/layout.7dcca0bc.js +1 -0
- package/dist/static/js/async/client_storage/preset/page.722100ce.js +1 -0
- package/dist/static/js/{builder-runtime.acca3acc.js → builder-runtime.6a5d7b0f.js} +1 -1
- package/dist/static/js/{client.4c12acdb.js → client.2d1cc39e.js} +1 -1
- package/dist/static/js/components.8be5db2b.js +1 -0
- package/dist/static/js/{mount.16f7915a.js → mount.cde3fff4.js} +1 -1
- package/package.json +10 -10
- package/dist/static/js/491.eb81acb0.js +0 -28
- package/dist/static/js/async/client_pages/page.40c32519.js +0 -1
- package/dist/static/js/async/client_react/offscreen/page.8b161f5b.js +0 -1
- package/dist/static/js/async/client_storage/preset/layout.3c6e10bf.js +0 -1
- package/dist/static/js/async/client_storage/preset/page.8f5df798.js +0 -1
- package/dist/static/js/components.64257a9f.js +0 -1
- /package/dist/static/css/{157.0fe0f508.css → 155.0fe0f508.css} +0 -0
- /package/dist/static/css/{491.6a526fe8.css → 937.6a526fe8.css} +0 -0
- /package/dist/static/js/{157.c90ed98f.js.LICENSE.txt → 155.2de59297.js.LICENSE.txt} +0 -0
- /package/dist/static/js/{491.eb81acb0.js.LICENSE.txt → 937.251e3aad.js.LICENSE.txt} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["718"],{76330:function(e,t,n){function r(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];e&&e.addEventListener&&e.addEventListener.apply(e,t)}function a(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];e&&e.removeEventListener&&e.removeEventListener.apply(e,t)}n.d(t,{S1:function(){return a},jU:function(){return l},on:function(){return r}});var l="undefined"!=typeof window},50548:function(e,t,n){n.r(t),n.d(t,{default:()=>ea});var r=n("86834"),a=n("5872"),l=n.t(a,2);let i=(0,a.createContext)({url:""});var o=n("52493"),s=n.n(o),c=n("40753"),u=n("59546"),d=n("67844"),p=n("14657"),x=n("28142"),h=n("3666"),m=n("74886"),f=n("34140"),j=n("26848");let v=l["useId".toString()]||(()=>void 0),y=0,g="Collapsible",[C,b]=(0,p.b)(g),[N,k]=C(g),E=(0,a.forwardRef)((e,t)=>{let{__scopeCollapsible:n,open:r,defaultOpen:l,disabled:i,onOpenChange:o,...s}=e,[c=!1,d]=(0,x.T)({prop:r,defaultProp:l,onChange:o});return(0,a.createElement)(N,{scope:n,disabled:i,contentId:function(e){let[t,n]=a.useState(v());return(0,h.b)(()=>{n(e=>null!=e?e:String(y++))},[e]),e||(t?`radix-${t}`:"")}(),open:c,onOpenToggle:(0,a.useCallback)(()=>d(e=>!e),[d])},(0,a.createElement)(f.WV.div,(0,u.Z)({"data-state":_(c),"data-disabled":i?"":void 0},s,{ref:t})))}),w=(0,a.forwardRef)((e,t)=>{let{__scopeCollapsible:n,...r}=e,l=k("CollapsibleTrigger",n);return(0,a.createElement)(f.WV.button,(0,u.Z)({type:"button","aria-controls":l.contentId,"aria-expanded":l.open||!1,"data-state":_(l.open),"data-disabled":l.disabled?"":void 0,disabled:l.disabled},r,{ref:t,onClick:(0,d.M)(e.onClick,l.onOpenToggle)}))}),S="CollapsibleContent",R=(0,a.forwardRef)((e,t)=>{let{forceMount:n,...r}=e,l=k(S,e.__scopeCollapsible);return(0,a.createElement)(j.z,{present:n||l.open},({present:e})=>(0,a.createElement)(Z,(0,u.Z)({},r,{ref:t,present:e})))}),Z=(0,a.forwardRef)((e,t)=>{let{__scopeCollapsible:n,present:r,children:l,...i}=e,o=k(S,n),[s,c]=(0,a.useState)(r),d=(0,a.useRef)(null),p=(0,m.e)(t,d),x=(0,a.useRef)(0),j=x.current,v=(0,a.useRef)(0),y=v.current,g=o.open||s,C=(0,a.useRef)(g),b=(0,a.useRef)();return(0,a.useEffect)(()=>{let e=requestAnimationFrame(()=>C.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,h.b)(()=>{let e=d.current;if(e){b.current=b.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let t=e.getBoundingClientRect();x.current=t.height,v.current=t.width,!C.current&&(e.style.transitionDuration=b.current.transitionDuration,e.style.animationName=b.current.animationName),c(r)}},[o.open,r]),(0,a.createElement)(f.WV.div,(0,u.Z)({"data-state":_(o.open),"data-disabled":o.disabled?"":void 0,id:o.contentId,hidden:!g},i,{ref:p,style:{"--radix-collapsible-content-height":j?`${j}px`:void 0,"--radix-collapsible-content-width":y?`${y}px`:void 0,...e.style}}),g&&l)});function _(e){return e?"open":"closed"}var D=n("66671"),L=n("33799");let P=e=>{let{badge:t,route:n,title:l,children:o,open:s,onOpenChange:u}=e,{matched:d}=(0,a.useContext)(i),[p,x]=(0,a.useState)(!1),h=d===n,m=h||(null!=s?s:p);return(0,r.jsx)(c.xu,{p:"3",className:L.Z.container,children:(0,r.jsxs)(E,{open:m,onOpenChange:null!=u?u:x,children:[(0,r.jsxs)(w,{className:L.Z.trigger,children:[t,(0,r.jsx)(c.xv,{className:L.Z.urlText,style:{opacity:d&&!h?.5:1},children:l}),(0,r.jsx)(c.xu,{flexGrow:"1"}),(0,r.jsx)(c.xu,{className:L.Z.mark,"data-open":m,children:(0,r.jsx)(D.jnn,{})})]}),(0,r.jsx)(R,{className:L.Z.content,children:o})]})})};var T=n("95197"),O=n("41839"),I=n("20610");let z=()=>(0,r.jsx)(c.xv,{children:"Unimplemented."});var U=n("38933"),W=n("55058");let A=(0,a.createContext)([]);var K=n("76330");let V=function(e,t){void 0===t&&(t=!0);var n=(0,a.useState)(!1),r=n[0],l=n[1];return(0,a.useEffect)(function(){var n=function(){return l(!0)},r=function(){return l(!1)};t&&e&&e.current&&((0,K.on)(e.current,"mouseover",n),(0,K.on)(e.current,"mouseout",r));var a=e.current;return function(){t&&a&&((0,K.S1)(a,"mouseover",n),(0,K.S1)(a,"mouseout",r))}},[t,e]),r};var $=n("42599");let F=e=>{var t,n;let{route:l}=e,i=s().castArray(l),o=s().last(i),u="_component"in o&&s().isString(o._component)?o._component:null,d=(0,W.As)("/",...i.map(e=>e.path).filter(s().isString))||"/",p=null!==(n=o.index)&&void 0!==n&&n,x="/"===d,h=(0,a.useContext)(A),m=!1===h||h.length>0,f=!!h&&!!s().find(h,{route:{id:o.id}}),j=(0,a.useRef)(null),v=V(j);return(0,r.jsxs)(c.xu,{ref:j,children:[(0,r.jsxs)(c.kC,{gap:"2",align:"center",mb:o.children&&"1",children:[(0,r.jsxs)(c.xu,{className:$.Z.endpointContainer,"data-matched":!m||f,children:[p&&x||(0,r.jsx)(c.EK,{className:$.Z.endpointTag,"data-compose":p&&"head",children:d}),p&&(0,r.jsx)(c.EK,{className:$.Z.endpointTag,color:"purple","data-compose":!x&&"tail",children:"/(index)"})]}),u&&(0,r.jsx)(c.rU,{className:$.Z.shyLink,style:{visibility:v?"visible":"hidden"},children:u})]}),(0,r.jsx)(c.kC,{direction:"column",gap:"1",children:null===(t=o.children)||void 0===t?void 0:t.map(e=>(0,r.jsx)(F,{route:i.concat(e)},e.id))})]})},J=e=>{let{remixRoutes:t,route:n}=e,{matched:l,url:o}=(0,a.useContext)(i),s=(0,a.useMemo)(()=>{if(l!==n)return!l&&[];{var e;if(!t)return[];let r=(0,W.v$)(o.replace(n.urlPath,"/")),a=null!==(e=(0,U.fp)(t,r))&&void 0!==e?e:[];return!!a.length&&a}},[t,l,o]);return(null==t?void 0:t.length)?(0,r.jsx)(A.Provider,{value:s,children:(0,r.jsx)(c.kC,{gap:"2",direction:"column",children:t.map(e=>(0,r.jsx)(F,{route:e},e.id))})}):null};(0,O.sj)({});let M=e=>{let{route:t}=e,{entryName:n}=t;if(!n)throw TypeError("");let l=(0,T.k)(),{entrypoints:i}=(0,I.R)(l.framework).context,o=s().find(i,{entryName:n});if(!o)throw TypeError("Can't found the entrypoint named ".concat(JSON.stringify(t.entryName)));let c=(0,I.R)(l.fileSystemRoutes)[o.entryName];if(!o)throw Error("Can't found the entrypoint named ".concat(JSON.stringify(t.entryName)));return(0,r.jsx)(a.Suspense,{children:(0,r.jsx)(()=>G(c)?(0,r.jsx)(z,{}):(0,r.jsx)(J,{remixRoutes:c,route:t}),{})})},G=e=>(null==e?void 0:e[0])&&!("type"in e[0]);var q=n("13469");let B=e=>{let{route:t}=e,n=(0,T.k)(),{entrypoints:a}=(0,I.R)(n.framework).context,l=t.entryName&&s().find(a,{entryName:t.entryName});if(!l)throw Error("Can't found the entrypoint named ".concat(JSON.stringify(t.entryName)));return(0,r.jsxs)(c.xu,{className:q.Z.stats,children:[(0,r.jsxs)(c.kC,{gap:"1",children:[(0,r.jsx)(c.cK,{children:"Directory: "}),(0,r.jsx)(c.xv,{children:l.absoluteEntryDir})]}),(0,r.jsxs)(c.kC,{gap:"1",children:[(0,r.jsx)(c.cK,{children:"Entry:"}),(0,r.jsx)(c.xv,{children:l.entry})]})]})},Y=e=>{let{route:t}=e;return(0,r.jsx)(P,{badge:H,route:t,title:t.urlPath,children:(0,r.jsxs)(c.kC,{direction:"column",gap:"2",children:[(0,r.jsx)(c.xr,{scrollbars:"horizontal",children:(0,r.jsx)(B,{route:t})}),(0,r.jsx)(c.xr,{scrollbars:"horizontal",children:(0,r.jsx)(a.Suspense,{children:(0,r.jsx)(M,{route:t})})})]})})},H=(0,r.jsx)(c.Ct,{color:"cyan",children:"Entry"}),Q=e=>{let{route:t}=e;return(0,r.jsx)(P,{badge:X,route:t,title:t.urlPath,children:(0,r.jsx)(c.Zb,{children:"Unknown route type."})})},X=(0,r.jsx)(c.Ct,{color:"gray",children:"Unknown"}),ee=e=>{let{route:t}=e;return s().isString(t.entryName)?(0,r.jsx)(Y,{route:t}):(0,r.jsx)(Q,{route:t})};var et=n("13190");let en="input-ZLygVL",er="list-xLGYni",ea=()=>{let e=(0,T.k)(),{serverRoutes:t}=(0,I.R)(e.framework).context,[n,l]=(0,a.useState)({url:""}),o=e=>{let{pathname:n}=(0,W.Lk)(e);l({url:e,matched:t.find(e=>n===e.urlPath||n.startsWith((0,W.jE)(e.urlPath)))})};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(c.kC,{className:er,direction:"column",gap:"2",align:"stretch",justify:"between",mx:"auto",children:(0,r.jsx)(i.Provider,{value:n,children:t.map(e=>(0,r.jsx)(ee,{route:e},e.entryPath))})}),(0,r.jsx)(c.xu,{className:en,children:(0,r.jsx)(c.xu,{mx:"auto",style:{maxWidth:"40rem"},children:(0,r.jsx)(c.nv.f,{placeholder:"/foo?bar#baz",onChange:e=>o(e.target.value),type:"url",autoComplete:"false",autoCapitalize:"false",autoCorrect:"false",children:(0,r.jsx)(c.nv.g,{children:(0,r.jsx)(et.IIh,{})})})})})]})}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["752"],{13818:function(e,s,n){n.r(s),n.d(s,{default:function(){return r}});var o=n(86834),l=n(40753);let r=()=>(0,o.jsx)(l.xu,{children:(0,o.jsx)(l.xv,{children:"React DevTools is unavailable for offscreen."})})}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["470"],{21928:function(e,t,l){l.d(t,{Z:function(){return r}});let r={container:"container-ewltyx","side-panel":"side-panel-bdvL2J",sidePanel:"side-panel-bdvL2J","overflow-badge":"overflow-badge-jy83Ta",overflowBadge:"overflow-badge-jy83Ta","preview-badge-list":"preview-badge-list-gW0J6X",previewBadgeList:"preview-badge-list-gW0J6X","btn-create-preset":"btn-create-preset-hoeILU",btnCreatePreset:"btn-create-preset-hoeILU",divider:"divider-lbRk1F","text-ellipsis":"text-ellipsis-F0lpeD",textEllipsis:"text-ellipsis-F0lpeD",badge:"badge-V1CqD5",scrollable:"scrollable-HHlcgf"}},88640:function(e,t,l){l.d(t,{Z:function(){return r}});let r=function(){for(var e,t,l=0,r="";l<arguments.length;)(e=arguments[l++])&&(t=function e(t){var l,r,a="";if("string"==typeof t||"number"==typeof t)a+=t;else if("object"==typeof t){if(Array.isArray(t))for(l=0;l<t.length;l++)t[l]&&(r=e(t[l]))&&(a&&(a+=" "),a+=r);else for(l in t)t[l]&&(a&&(a+=" "),a+=l)}return a}(e))&&(r&&(r+=" "),r+=t);return r}},9197:function(e,t,l){l.d(t,{x:()=>h,Z:()=>d});var r=l("49987"),a=l("65"),s=l("17936"),i=l("86834"),n=l("40753"),o=l("88640"),c=l("16866");let d=e=>{let{children:t,className:l,variant:d,clickable:h=!1,selected:u=!1,inset:g=!1}=e,p=(0,s._)(e,["children","className","variant","clickable","selected","inset"]);return(0,i.jsx)(n.xu,(0,a._)((0,r._)({},p),{"data-variant":null!=d?d:"","data-clickable":h,"data-selected":u,"data-inset":g,className:(0,o.Z)(c.Z.card,l),children:t}))},h=e=>(0,i.jsx)(n.kC,(0,r._)({gap:"2",height:"100%",justify:"center",direction:"column",align:"start"},e))},40511:function(e,t,l){let r,a;l.r(t),l.d(t,{default:()=>w});var s=l("49987"),i=l("65"),n=l("17936"),o=l("86834"),c=l("9197"),d=l("95197"),h=l("43866"),u=l("40753"),g=l("52493"),p=l.n(g),f=l("13190"),x=l("20610"),v=l("41839");Symbol();let j=new WeakMap,m=e=>"object"==typeof e&&null!==e;var b=l("21928"),k=l("33049");let y=e=>{let{selected:t,to:l}=e,r=(0,n._)(e,["selected","to"]),a=(0,h.s0)(),i=(0,h.bS)(null!=l?l:"");return(0,o.jsx)(c.Z,{variant:"small",selected:null!=t?t:!!i,clickable:!0,asChild:!0,onClick:()=>l&&a(l),children:(0,o.jsx)(u.kC,(0,s._)({},r))})},C=e=>{let{preset:t,highlight:l}=e,r=(0,n._)(e,["preset","highlight"]),a=!t.filename.match(/[/\\]node_modules[/\\]/),c=null;return l&&(c=(0,o.jsx)(u.xv,{size:"1",color:"red",asChild:!0,children:(0,o.jsx)(f.XC2,{})})),(0,o.jsxs)(y,(0,i._)((0,s._)({direction:"column"},r),{children:[(0,o.jsxs)(u.xv,{size:"1",weight:"bold",as:"p",mb:"2",children:[t.name," ",a||(0,o.jsx)(u.xv,{size:"1",color:"gray",children:"*"}),c]}),(0,o.jsx)(u.kC,{align:"center",children:(0,o.jsxs)(u.kC,{className:b.Z.previewBadgeList,children:[0===t.items.length&&(0,o.jsx)(u.Ct,{color:"gray",children:"Empty"}),t.items.map(e=>(0,o.jsxs)(u.Ct,{color:k.xq[e.type],children:[e.key,": ",e.value]},e.id))]})})]}))},w=()=>{let e=(0,d.k)(),{server:t}=e,{storagePresets:l}=(0,x.R)(e).context,a=(0,h.f_)(),n={cookie:(0,s._)({},a.cookie.client,a.cookie.server),localStorage:a.localStorage,sessionStorage:a.sessionStorage},c=(0,h.s0)(),g={cookie:p()(l).flatMap(e=>p().keys(e.cookie)).countBy().value(),localStorage:p()(l).flatMap(e=>p().keys(e.localStorage)).countBy().value(),sessionStorage:p()(l).flatMap(e=>p().keys(e.sessionStorage)).countBy().value()},j=l.map(e=>(0,i._)((0,s._)({},e),{items:p()((0,k.f)(e)).sortBy(e=>{var t;return null!==(t=g[e.type][e.key])&&void 0!==t?t:0}).reverse().value()})),m=async()=>{if(!t)return;let{id:l}=await t.remote.createTemporaryStoragePreset(),a=function(e,t){let l=!0,a=new Set,s=new Map,i=()=>{l&&(l=!1,a.forEach(e=>e()),a.clear(),s.forEach(e=>e()),s.clear())},n=()=>{if(!l)return;a.forEach(e=>e()),a.clear();let t=new Set,i=r;r=a;try{let l=e(e=>(t.add(e),e));l&&a.add(l)}finally{r=i}s.forEach((e,l)=>{t.has(l)?t.delete(l):(s.delete(l),e())}),t.forEach(e=>{let t=(0,v.Ld)(e,n,void 0);s.set(e,t)})};return r&&r.add(i),n(),i}(t=>{let{storagePresets:r}=(0,v.CO)(t(e)).context;p().find(r,{id:l})&&(a(),c("/storage/preset/".concat(l)))})};return(0,o.jsxs)(u.kC,{width:"100%",pt:"4",className:b.Z.container,children:[(0,o.jsxs)(u.kC,{direction:"column",className:b.Z.sidePanel,children:[(0,o.jsxs)(y,{to:"/storage/preset",m:"2",align:"center",gap:"1",children:[(0,o.jsx)(u.xv,{size:"1",weight:"bold",children:"Current Storage"}),(0,o.jsx)(u.xv,{size:"1",color:"red",asChild:!0,children:(0,o.jsx)(f.XC2,{})})]}),(0,o.jsx)(u.xu,{mx:"2",className:b.Z.divider}),(0,o.jsxs)(u.kC,{p:"2",direction:"column",gap:"2",className:b.Z.scrollable,children:[j.map(e=>(0,o.jsx)(C,{to:"/storage/preset/".concat(e.id),preset:e,highlight:e.items.length>0&&p().isMatch(n,p().pick(e,["cookie","localStorage","sessionStorage"]))},e.id)),(0,o.jsx)(y,{justify:"center",align:"center",onClick:m,className:b.Z.btnCreatePreset,children:(0,o.jsx)(f.b9W,{})})]})]}),(0,o.jsx)(u.xu,{width:"0",flexGrow:"1",height:"100%",flexShrink:"1",pt:"2",children:(0,o.jsx)(h.j3,{})})]})}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["146"],{21928:function(e,r,l){l.d(r,{Z:function(){return t}});let t={container:"container-ewltyx","side-panel":"side-panel-bdvL2J",sidePanel:"side-panel-bdvL2J","overflow-badge":"overflow-badge-jy83Ta",overflowBadge:"overflow-badge-jy83Ta","preview-badge-list":"preview-badge-list-gW0J6X",previewBadgeList:"preview-badge-list-gW0J6X","btn-create-preset":"btn-create-preset-hoeILU",btnCreatePreset:"btn-create-preset-hoeILU",divider:"divider-lbRk1F","text-ellipsis":"text-ellipsis-F0lpeD",textEllipsis:"text-ellipsis-F0lpeD",badge:"badge-V1CqD5",scrollable:"scrollable-HHlcgf"}},88640:function(e,r,l){l.d(r,{Z:function(){return t}});let t=function(){for(var e,r,l=0,t="";l<arguments.length;)(e=arguments[l++])&&(r=function e(r){var l,t,i="";if("string"==typeof r||"number"==typeof r)i+=r;else if("object"==typeof r){if(Array.isArray(r))for(l=0;l<r.length;l++)r[l]&&(t=e(r[l]))&&(i&&(i+=" "),i+=t);else for(l in r)r[l]&&(i&&(i+=" "),i+=l)}return i}(e))&&(t&&(t+=" "),t+=r);return t}},9197:function(e,r,l){l.d(r,{x:()=>p,Z:()=>d});var t=l("49987"),i=l("65"),s=l("17936"),n=l("86834"),a=l("40753"),o=l("88640"),c=l("16866");let d=e=>{let{children:r,className:l,variant:d,clickable:p=!1,selected:g=!1,inset:u=!1}=e,x=(0,s._)(e,["children","className","variant","clickable","selected","inset"]);return(0,n.jsx)(a.xu,(0,i._)((0,t._)({},x),{"data-variant":null!=d?d:"","data-clickable":p,"data-selected":g,"data-inset":u,className:(0,o.Z)(c.Z.card,l),children:r}))},p=e=>(0,n.jsx)(a.kC,(0,t._)({gap:"2",height:"100%",justify:"center",direction:"column",align:"start"},e))},65459:function(e,r,l){l.r(r),l.d(r,{default:function(){return x}});var t=l(49987),i=l(65),s=l(17936),n=l(86834),a=l(9197),o=l(43866),c=l(40753),d=l(52493),p=l.n(d),g=l(21928);let u=e=>{let{title:r,records:l,color:o}=e,d=(0,s._)(e,["title","records","color"]);return(0,n.jsx)(a.Z,(0,i._)((0,t._)({asChild:!0},d),{children:(0,n.jsxs)(c.kC,{direction:"column",gap:"2",children:[(0,n.jsx)(c.xv,{size:"1",weight:"bold",children:r}),(0,n.jsxs)(c.kC,{width:"100%",wrap:"wrap",align:"start",gap:"2",children:[0===l.length&&(0,n.jsx)(c.Ct,{color:"gray",children:"Empty"}),l.map(e=>(0,n.jsxs)(c.Ct,{color:o,className:g.Z.badge,children:[e.key,": ",e.value]},e.id))]})]})}))},x=()=>{let e=(0,o.f_)(),r=p().map(e.cookie.client,(e,r)=>({key:r,value:e,id:r})),l=p().map(e.cookie.server,(e,r)=>({key:r,value:e,id:r})),t=p().map(e.localStorage,(e,r)=>({key:r,value:e,id:r})),i=p().map(e.sessionStorage,(e,r)=>({key:r,value:e,id:r}));return(0,n.jsxs)(c.kC,{direction:"column",gap:"2",height:"100%",flexShrink:"1",children:[(0,n.jsx)(c.kC,{flexGrow:"0",px:"2",gap:"2",justify:"between",align:"center",width:"100%",children:(0,n.jsx)(c.xu,{flexShrink:"0",className:g.Z.textEllipsis,children:(0,n.jsx)(c.xv,{size:"1",weight:"bold",color:"gray",children:"Current Storage"})})}),(0,n.jsx)(c.xu,{flexGrow:"1",pb:"2",pr:"2",className:g.Z.scrollable,children:(0,n.jsxs)(c.kC,{direction:"column",gap:"2",children:[(0,n.jsx)(u,{title:"Cookie",records:r,color:"yellow"}),(0,n.jsx)(u,{title:"Cookie (HTTP Only)",records:l,color:"yellow"}),(0,n.jsx)(u,{title:"Local Storage",records:t,color:"green"}),(0,n.jsx)(u,{title:"Session Storage",records:i,color:"blue"})]})})]})}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["567"],{75700:function(n,t,e){e.d(t,{Z:function(){return o}});let o={link:"link-znMYnO",connector:"connector-BqtwBd"}},16866:function(n,t,e){e.d(t,{Z:function(){return o}});let o={card:"card-If0911"}},71867:function(n,t,e){e.d(t,{Z:function(){return o}});let o={container:"container-WHe0d3"}},68292:function(n,t,e){e.d(t,{Z:function(){return o}});let o={container:"container-tsQk3U",fab:"fab-_shO90",slideInFromRight:"slideInFromRight-cmflGC",logo:"logo-nXXNIB"}},60920:function(n,t,e){e.d(t,{Z:function(){return o}});let o={container:"container-tcM8fB","close-button":"close-button-weoXpd",closeButton:"close-button-weoXpd",frame:"frame-PSYQgj",backdrop:"backdrop-SWoFLh"}},92460:function(n,t,e){e.d(t,{Z:function(){return o}});let o={container:"container-uSZ85N",children:"children-cVMy6R"}},64104:function(n,t,e){e.d(t,{Z:function(){return o}});let o={loading:"loading-HrjYdW",rotate:"rotate-CPIjfB"}},31017:function(n,t,e){e.d(t,{Z:function(){return o}});let o={container:"container-COzu4H"}},65698:function(n,t,e){e.d(t,{Z:function(){return o}});let o={container:"container-SkRv4t"}},81417:function(n,t,e){e.d(t,{Z:function(){return o}});let o={container:"container-e3dQes"}},42722:function(n,t,e){e.d(t,{Z:function(){return o}});let o={"input-pair":"input-pair-rQmmCj",inputPair:"input-pair-rQmmCj",actions:"actions-AIkunB"}},33799:function(n,t,e){e.d(t,{Z:function(){return o}});let o={container:"container-e74VUa",trigger:"trigger-THjT7j",content:"content-Qso8ca",slideDown:"slideDown-Z9IIi_",slideUp:"slideUp-H_SR0p","url-text":"url-text-OqB5_M",urlText:"url-text-OqB5_M",mark:"mark-cUxPxy"}},42599:function(n,t,e){e.d(t,{Z:function(){return o}});let o={"endpoint-tag":"endpoint-tag-y0SEjj",endpointTag:"endpoint-tag-y0SEjj","shy-link":"shy-link-Xazm8H",shyLink:"shy-link-Xazm8H","endpoint-container":"endpoint-container-XVJeZy",endpointContainer:"endpoint-container-XVJeZy"}},13469:function(n,t,e){e.d(t,{Z:function(){return o}});let o={stats:"stats-cb58Fz"}},94188:function(n,t,e){e.d(t,{Z:function(){return o}});let o={container:"container-dWGOkz",slideIn:"slideIn-AQnKGk",hide:"hide-LUv_Hv",swipeOut:"swipeOut-ZTbSGG",viewport:"viewport-Owdzo8",close:"close-i8MeRu"}}}]);
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|