Autocompletes
This commit is contained in:
1 parent
96bdbfc62a
commit
7723dd0722
7 files changed
+7
-7
No files matched your search
Vendored
-1
@@ -1 +0,0 @@
|
||||
import{j as e,M as ce,a as U,T as y,u as K,b as _,D as q,c as P,G as g,d as we,e as V,B as v,f as G,g as w,C as O,h as b,L as k,A as Pe,i as ae,I as W,k as Se,l as L,P as I,m as Fe,n as Ae,o as ue,p as de,q as Ee,r as he,s as me,t as Te,S as N,v as De,w as ne,x as ke,y as $e,z as Le,E as Ie,F as Ue,H as qe,J as Oe}from"./mui-C4H8cxTH.js";import{u as M,a as B,b as se,c as H,d as Me,e as Be,L as $,f as ze,O as Re,g as z,q as J,h as re,i as Q,r as ee,Q as We,j as Ne,k as Qe,R as Ke,l as _e}from"./tanstack-C0csOcmc.js";import{c as Ve,r as f}from"./react-C_FdcE2X.js";import{i as R,B as Ge,a as He,b as Je,u as F,t as j,T as Xe}from"./i18n-DyW0LrNj.js";(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const l of r)if(l.type==="childList")for(const a of l.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&s(a)}).observe(document,{childList:!0,subtree:!0});function o(r){const l={};return r.integrity&&(l.integrity=r.integrity),r.referrerPolicy&&(l.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?l.credentials="include":r.crossOrigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function s(r){if(r.ep)return;r.ep=!0;const l=o(r);fetch(r.href,l)}})();var te={},ie=Ve;te.createRoot=ie.createRoot,te.hydrateRoot=ie.hydrateRoot;const Y=15,Ze=3,A="https://khofmann.userpage.fu-berlin.de/phpCourse/exam/api/";let oe;class Ye{constructor(){if(this.userListeners=[],this.hasAuth=()=>this.token!==void 0,this.isAdmin=()=>{var n;return this.hasAuth()&&((n=this.self)==null?void 0:n.isAdmin)},this.getAuthenticatedUser=()=>this.self,this.getCurrentSession=()=>[this.token,this.refreshToken],this.subscribeToAuthenticatedUser=n=>(this.userListeners.push(n),()=>{this.userListeners=this.userListeners.filter(o=>o!==n)}),this.logIn=async(n,o)=>{const{user:s,token:r}=await(await this.post("login",{email:n,password:o})).json();this.self=s,this.token=r,this.userListeners.forEach(l=>l(s))},this.logOut=async()=>{try{return this.token?await(await this.postAuth("logout")).json():!0}catch{return!1}finally{this.self=void 0,this.token=void 0,this.userListeners.forEach(n=>n())}},this.posts=async n=>{const o=`posts?p=${n??0}&l=${Y}`;return this.token?await(await this.getAuth(o)).json():await(await this.get(o)).json()},this.deletePost=async n=>await(await this.delete(`posts/${n}?l=${Y}`)).json(),this.user=async n=>{var o;return await(await this.getAuth(`users/${n??((o=this.self)==null?void 0:o.id)}`)).json()},this.updateUser=async(n,o)=>{const s=await(await this.patch(`users/${o??"self"}`,n)).json();return this.self=s,this.userListeners.forEach(r=>r(s)),s},this.updateUserImage=async(n,o)=>{const s=new FormData;n.image&&s.append("image",n.image),!n.image&&n.predefined&&s.append("predefined",n.predefined);const r=await(await this.postAuthRaw(`users/${o??"self"}/image`,s)).json();return this.self=r,this.userListeners.forEach(l=>l(r)),r},this.newPost=async n=>await(await this.postAuth(`posts?l=${Y}`,n)).json(),this.updatePost=async(n,o)=>await(await this.patch(`posts/${o}`,n)).json(),this.userPosts=async n=>await(await this.getAuth(`users/${n}/posts?l=${Ze}&s=desc`)).json(),this.createUser=async n=>await(await this.post("register",n)).json(),this.post=async(n,o,s)=>{const r=await fetch(`${A}${n}`,{mode:"cors",method:"post",headers:s,body:JSON.stringify(o)});if(r.ok)return r;throw await r.json()},this.postAuth=async(n,o,s)=>{const r=await fetch(`${A}${n}`,{mode:"cors",method:"post",headers:{token:this.token??"",...s},body:JSON.stringify(o)});if(r.ok)return r;throw await r.json()},this.postAuthRaw=async(n,o,s)=>{const r=await fetch(`${A}${n}`,{mode:"cors",method:"post",headers:{token:this.token??"",...s},body:o});if(r.ok)return r;throw await r.json()},this.get=async(n,o)=>{const s=await fetch(`${A}${n}`,{mode:"cors",method:"get",headers:o});if(s.ok)return s;throw await s.json()},this.getAuth=async(n,o)=>{const s=await fetch(`${A}${n}`,{mode:"cors",method:"get",headers:{token:this.token??"",...o}});if(s.ok)return s;throw await s.json()},this.delete=async(n,o)=>{const s=await fetch(`${A}${n}`,{mode:"cors",method:"delete",headers:{token:this.token??"",...o}});if(s.ok)return s;throw await s.json()},this.patch=async(n,o,s)=>{const r=await fetch(`${A}${n}`,{mode:"cors",method:"patch",headers:{token:this.token??"",...s},body:JSON.stringify(o)});if(r.ok)return r;throw await r.json()},oe)throw new Error("New instance cannot be created!!");oe=this}}const p=new Ye;var E=(t=>(t.NOT_FOUND="NotFound",t.UNAUTHORIZED="Unauthorized",t.NOT_ALLOWED="NotAllowed",t.FAILED_UPDATE="FailedUpdate",t.MISSING_FIELD="MissingField",t.DUPLICATE="Duplicate",t))(E||{});R.use(Ge).use(He).use(Je).init({fallbackLng:"en",debug:!1,interpolation:{escapeValue:!1},backend:{loadPath:"/phpCourse/exam/dist/locales/{{lng}}/{{ns}}.json"}});const et=({anchorEl:t,handleClose:n})=>e.jsxs(ce,{anchorEl:t,anLine truncated
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
import{j as e,M as ce,a as U,T as y,u as K,b as _,D as q,c as P,G as g,d as we,e as V,B as v,f as G,g as w,C as O,h as b,L as k,A as Pe,i as ae,I as W,k as Se,l as L,P as I,m as Fe,n as Ae,o as ue,p as de,q as Ee,r as he,s as me,t as Te,S as N,v as De,w as ne,x as ke,y as $e,z as Le,E as Ie,F as Ue,H as qe,J as Oe}from"./mui-C4H8cxTH.js";import{u as M,a as B,b as se,c as H,d as Me,e as Be,L as $,f as ze,O as Re,g as z,q as J,h as re,i as Q,r as ee,Q as We,j as Ne,k as Qe,R as Ke,l as _e}from"./tanstack-C0csOcmc.js";import{c as Ve,r as f}from"./react-C_FdcE2X.js";import{i as R,B as Ge,a as He,b as Je,u as F,t as j,T as Xe}from"./i18n-DyW0LrNj.js";(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const l of r)if(l.type==="childList")for(const a of l.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&s(a)}).observe(document,{childList:!0,subtree:!0});function o(r){const l={};return r.integrity&&(l.integrity=r.integrity),r.referrerPolicy&&(l.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?l.credentials="include":r.crossOrigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function s(r){if(r.ep)return;r.ep=!0;const l=o(r);fetch(r.href,l)}})();var te={},ie=Ve;te.createRoot=ie.createRoot,te.hydrateRoot=ie.hydrateRoot;const Y=15,Ze=3,A="https://khofmann.userpage.fu-berlin.de/phpCourse/exam/api/";let oe;class Ye{constructor(){if(this.userListeners=[],this.hasAuth=()=>this.token!==void 0,this.isAdmin=()=>{var n;return this.hasAuth()&&((n=this.self)==null?void 0:n.isAdmin)},this.getAuthenticatedUser=()=>this.self,this.getCurrentSession=()=>[this.token,this.refreshToken],this.subscribeToAuthenticatedUser=n=>(this.userListeners.push(n),()=>{this.userListeners=this.userListeners.filter(o=>o!==n)}),this.logIn=async(n,o)=>{const{user:s,token:r}=await(await this.post("login",{email:n,password:o})).json();this.self=s,this.token=r,this.userListeners.forEach(l=>l(s))},this.logOut=async()=>{try{return this.token?await(await this.postAuth("logout")).json():!0}catch{return!1}finally{this.self=void 0,this.token=void 0,this.userListeners.forEach(n=>n())}},this.posts=async n=>{const o=`posts?p=${n??0}&l=${Y}`;return this.token?await(await this.getAuth(o)).json():await(await this.get(o)).json()},this.deletePost=async n=>await(await this.delete(`posts/${n}?l=${Y}`)).json(),this.user=async n=>{var o;return await(await this.getAuth(`users/${n??((o=this.self)==null?void 0:o.id)}`)).json()},this.updateUser=async(n,o)=>{const s=await(await this.patch(`users/${o??"self"}`,n)).json();return this.self=s,this.userListeners.forEach(r=>r(s)),s},this.updateUserImage=async(n,o)=>{const s=new FormData;n.image&&s.append("image",n.image),!n.image&&n.predefined&&s.append("predefined",n.predefined);const r=await(await this.postAuthRaw(`users/${o??"self"}/image`,s)).json();return this.self=r,this.userListeners.forEach(l=>l(r)),r},this.newPost=async n=>await(await this.postAuth(`posts?l=${Y}`,n)).json(),this.updatePost=async(n,o)=>await(await this.patch(`posts/${o}`,n)).json(),this.userPosts=async n=>await(await this.getAuth(`users/${n}/posts?l=${Ze}&s=desc`)).json(),this.createUser=async n=>await(await this.post("register",n)).json(),this.post=async(n,o,s)=>{const r=await fetch(`${A}${n}`,{mode:"cors",method:"post",headers:s,body:JSON.stringify(o)});if(r.ok)return r;throw await r.json()},this.postAuth=async(n,o,s)=>{const r=await fetch(`${A}${n}`,{mode:"cors",method:"post",headers:{token:this.token??"",...s},body:JSON.stringify(o)});if(r.ok)return r;throw await r.json()},this.postAuthRaw=async(n,o,s)=>{const r=await fetch(`${A}${n}`,{mode:"cors",method:"post",headers:{token:this.token??"",...s},body:o});if(r.ok)return r;throw await r.json()},this.get=async(n,o)=>{const s=await fetch(`${A}${n}`,{mode:"cors",method:"get",headers:o});if(s.ok)return s;throw await s.json()},this.getAuth=async(n,o)=>{const s=await fetch(`${A}${n}`,{mode:"cors",method:"get",headers:{token:this.token??"",...o}});if(s.ok)return s;throw await s.json()},this.delete=async(n,o)=>{const s=await fetch(`${A}${n}`,{mode:"cors",method:"delete",headers:{token:this.token??"",...o}});if(s.ok)return s;throw await s.json()},this.patch=async(n,o,s)=>{const r=await fetch(`${A}${n}`,{mode:"cors",method:"patch",headers:{token:this.token??"",...s},body:JSON.stringify(o)});if(r.ok)return r;throw await r.json()},oe)throw new Error("New instance cannot be created!!");oe=this}}const p=new Ye;var E=(t=>(t.NOT_FOUND="NotFound",t.UNAUTHORIZED="Unauthorized",t.NOT_ALLOWED="NotAllowed",t.FAILED_UPDATE="FailedUpdate",t.MISSING_FIELD="MissingField",t.DUPLICATE="Duplicate",t))(E||{});R.use(Ge).use(He).use(Je).init({fallbackLng:"en",debug:!1,interpolation:{escapeValue:!1},backend:{loadPath:"/phpCourse/exam/dist/locales/{{lng}}/{{ns}}.json"}});const et=({anchorEl:t,handleClose:n})=>e.jsxs(ce,{anchorEl:t,anLine truncated
|
||||
Vendored
+1
-1
@@ -5,7 +5,7 @@
|
||||
<link rel="icon" type="image/svg+xml" href="/phpCourse/exam/dist/vite.svg" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Vite + React + TS</title>
|
||||
<script type="module" crossorigin src="/phpCourse/exam/dist/assets/index-B93xlZhH.js"></script>
|
||||
<script type="module" crossorigin src="/phpCourse/exam/dist/assets/index-CfSUaRjT.js"></script>
|
||||
<link rel="modulepreload" crossorigin href="/phpCourse/exam/dist/assets/react-C_FdcE2X.js">
|
||||
<link rel="modulepreload" crossorigin href="/phpCourse/exam/dist/assets/mui-C4H8cxTH.js">
|
||||
<link rel="modulepreload" crossorigin href="/phpCourse/exam/dist/assets/tanstack-C0csOcmc.js">
|
||||
|
||||
Vendored
+1
-1
@@ -4822,7 +4822,7 @@ var drawChart = (function (exports) {
|
||||
</script>
|
||||
<script>
|
||||
/*<!--*/
|
||||
const data = {"version":2,"tree":{"name":"root","children":[{"name":"assets/zustand-DA8f69qW.js","children":[{"name":"\u0000/node_modules/.pnpm/use-sync-external-store@1.2.0_react@18.3.1/node_modules/use-sync-external-store","children":[{"name":"cjs","children":[{"uid":"fcf8be1e-1","name":"use-sync-external-store-shim.production.min.js?commonjs-exports"},{"uid":"fcf8be1e-5","name":"use-sync-external-store-shim.production.min.js?commonjs-proxy"},{"name":"use-sync-external-store-shim","children":[{"uid":"fcf8be1e-13","name":"with-selector.production.min.js?commonjs-exports"},{"uid":"fcf8be1e-17","name":"with-selector.production.min.js?commonjs-proxy"}]}]},{"name":"shim","children":[{"uid":"fcf8be1e-7","name":"index.js?commonjs-module"},{"uid":"fcf8be1e-11","name":"index.js?commonjs-proxy"},{"uid":"fcf8be1e-19","name":"with-selector.js?commonjs-module"}]}]},{"name":"node_modules/.pnpm","children":[{"name":"use-sync-external-store@1.2.0_react@18.3.1/node_modules/use-sync-external-store","children":[{"name":"cjs","children":[{"uid":"fcf8be1e-3","name":"use-sync-external-store-shim.production.min.js"},{"name":"use-sync-external-store-shim/with-selector.production.min.js","uid":"fcf8be1e-15"}]},{"name":"shim","children":[{"uid":"fcf8be1e-9","name":"index.js"},{"uid":"fcf8be1e-21","name":"with-selector.js"}]}]},{"name":"zustand@4.5.4_@types+react@18.3.3_react@18.3.1/node_modules/zustand/esm","children":[{"uid":"fcf8be1e-23","name":"vanilla.mjs"},{"uid":"fcf8be1e-25","name":"index.mjs"}]}]}]},{"name":"assets/index-B93xlZhH.js","children":[{"name":"\u0000vite/modulepreload-polyfill.js","uid":"fcf8be1e-27"},{"name":"\u0000/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/client.js?commonjs-exports","uid":"fcf8be1e-29"},{"name":"node_modules/.pnpm","children":[{"name":"react-dom@18.3.1_react@18.3.1/node_modules/react-dom/client.js","uid":"fcf8be1e-31"},{"name":"@fontsource+roboto@5.0.13/node_modules/@fontsource/roboto","children":[{"uid":"fcf8be1e-83","name":"300.css"},{"uid":"fcf8be1e-85","name":"400.css"},{"uid":"fcf8be1e-87","name":"500.css"},{"uid":"fcf8be1e-89","name":"700.css"}]}]},{"name":"src","children":[{"uid":"fcf8be1e-33","name":"constanst.ts"},{"name":"api/Api.ts","uid":"fcf8be1e-35"},{"name":"components","children":[{"name":"Error","children":[{"uid":"fcf8be1e-37","name":"Errors.ts"},{"uid":"fcf8be1e-45","name":"ErrorComponent.tsx"}]},{"name":"Menus","children":[{"name":"Language/LanguageMenu.tsx","uid":"fcf8be1e-41"},{"name":"User/UserMenu.tsx","uid":"fcf8be1e-51"}]},{"name":"Dialogs","children":[{"name":"Register/RegisterDialog.tsx","uid":"fcf8be1e-47"},{"name":"PostEdit/PostEditDialog.tsx","uid":"fcf8be1e-61"},{"name":"UserEdit/UserEditDialog.tsx","uid":"fcf8be1e-69"},{"name":"UserImage/UserImageDialog.tsx","uid":"fcf8be1e-71"}]},{"name":"Forms","children":[{"name":"Login/LoginForm.tsx","uid":"fcf8be1e-49"},{"name":"Post/PostForm.tsx","uid":"fcf8be1e-57"}]},{"name":"Header/Header.tsx","uid":"fcf8be1e-53"},{"name":"Post/Post.tsx","uid":"fcf8be1e-63"},{"name":"Profile/Profile.tsx","uid":"fcf8be1e-73"}]},{"uid":"fcf8be1e-39","name":"i18n.ts"},{"name":"types/Routes.ts","uid":"fcf8be1e-43"},{"name":"routes","children":[{"uid":"fcf8be1e-55","name":"__root.tsx"},{"uid":"fcf8be1e-67","name":"index.tsx"},{"name":"profile","children":[{"uid":"fcf8be1e-77","name":"index.tsx"},{"uid":"fcf8be1e-79","name":"$id.tsx"}]}]},{"name":"utils/date.ts","uid":"fcf8be1e-59"},{"name":"queries","children":[{"uid":"fcf8be1e-65","name":"postsQuery.ts"},{"uid":"fcf8be1e-75","name":"profileQuery.ts"}]},{"uid":"fcf8be1e-81","name":"routeTree.gen.ts"},{"uid":"fcf8be1e-91","name":"main.tsx"}]},{"uid":"fcf8be1e-93","name":"index.html"}]},{"name":"assets/i18n-DyW0LrNj.js","children":[{"name":"node_modules/.pnpm","children":[{"name":"void-elements@3.1.0/node_modules/void-elements/index.js","uid":"fcf8be1e-95"},{"name":"html-parse-stringify@3.0.1/node_modules/html-parse-stringify/dist/html-parse-stringify.module.js","uid":"fcf8be1e-97"},{"name":"react-i18next@15.0.0_i18next@23.12.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-i18next/dist/es","children":[{"uid":"fcf8be1e-99","name":"utils.js"},{"uid":"fcf8be1e-101","name":"unescape.js"},{"uid":"fcf8be1e-103","name":"defaults.js"},{"uid":"fcf8be1e-105","name":"i18nInstance.js"},{"uid":"fcf8be1e-107","name":"TransWithoutContext.js"},{"uid":"fcf8be1e-109","name":"initReactI18next.js"},{"uid":"fcf8be1e-111","name":"context.js"},{"uid":"fcf8be1e-113","name":"Trans.js"},{"uid":"fcf8be1e-115","name":"useTranslation.js"},{"uid":"fcf8be1e-117","name":"withTranslation.js"},{"uid":"fcf8be1e-119","name":"Translation.js"},{"uid":"fcf8be1e-121","name":"I18nextProvider.js"},{"uid":"fcf8be1e-123","name":"useSSR.js"},{"uid":"fcf8be1e-125","name":"withSSR.js"},{"uid":"fcf8be1e-127","name":"index.js"}]},{"name":"i18next@23.12.2/node_modules/i18next/dist/esm/i18next.js","uid":"fcf8be1e-129"},{"name":"i18next-browser-languagedetector@8.0.0/node_modules/i18next-broLine truncated
|
||||
const data = {"version":2,"tree":{"name":"root","children":[{"name":"assets/zustand-DA8f69qW.js","children":[{"name":"\u0000/node_modules/.pnpm/use-sync-external-store@1.2.0_react@18.3.1/node_modules/use-sync-external-store","children":[{"name":"cjs","children":[{"uid":"71c0081e-1","name":"use-sync-external-store-shim.production.min.js?commonjs-exports"},{"uid":"71c0081e-5","name":"use-sync-external-store-shim.production.min.js?commonjs-proxy"},{"name":"use-sync-external-store-shim","children":[{"uid":"71c0081e-13","name":"with-selector.production.min.js?commonjs-exports"},{"uid":"71c0081e-17","name":"with-selector.production.min.js?commonjs-proxy"}]}]},{"name":"shim","children":[{"uid":"71c0081e-7","name":"index.js?commonjs-module"},{"uid":"71c0081e-11","name":"index.js?commonjs-proxy"},{"uid":"71c0081e-19","name":"with-selector.js?commonjs-module"}]}]},{"name":"node_modules/.pnpm","children":[{"name":"use-sync-external-store@1.2.0_react@18.3.1/node_modules/use-sync-external-store","children":[{"name":"cjs","children":[{"uid":"71c0081e-3","name":"use-sync-external-store-shim.production.min.js"},{"name":"use-sync-external-store-shim/with-selector.production.min.js","uid":"71c0081e-15"}]},{"name":"shim","children":[{"uid":"71c0081e-9","name":"index.js"},{"uid":"71c0081e-21","name":"with-selector.js"}]}]},{"name":"zustand@4.5.4_@types+react@18.3.3_react@18.3.1/node_modules/zustand/esm","children":[{"uid":"71c0081e-23","name":"vanilla.mjs"},{"uid":"71c0081e-25","name":"index.mjs"}]}]}]},{"name":"assets/index-CfSUaRjT.js","children":[{"name":"\u0000vite/modulepreload-polyfill.js","uid":"71c0081e-27"},{"name":"\u0000/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/client.js?commonjs-exports","uid":"71c0081e-29"},{"name":"node_modules/.pnpm","children":[{"name":"react-dom@18.3.1_react@18.3.1/node_modules/react-dom/client.js","uid":"71c0081e-31"},{"name":"@fontsource+roboto@5.0.13/node_modules/@fontsource/roboto","children":[{"uid":"71c0081e-83","name":"300.css"},{"uid":"71c0081e-85","name":"400.css"},{"uid":"71c0081e-87","name":"500.css"},{"uid":"71c0081e-89","name":"700.css"}]}]},{"name":"src","children":[{"uid":"71c0081e-33","name":"constanst.ts"},{"name":"api/Api.ts","uid":"71c0081e-35"},{"name":"components","children":[{"name":"Error","children":[{"uid":"71c0081e-37","name":"Errors.ts"},{"uid":"71c0081e-45","name":"ErrorComponent.tsx"}]},{"name":"Menus","children":[{"name":"Language/LanguageMenu.tsx","uid":"71c0081e-41"},{"name":"User/UserMenu.tsx","uid":"71c0081e-51"}]},{"name":"Dialogs","children":[{"name":"Register/RegisterDialog.tsx","uid":"71c0081e-47"},{"name":"PostEdit/PostEditDialog.tsx","uid":"71c0081e-61"},{"name":"UserEdit/UserEditDialog.tsx","uid":"71c0081e-69"},{"name":"UserImage/UserImageDialog.tsx","uid":"71c0081e-71"}]},{"name":"Forms","children":[{"name":"Login/LoginForm.tsx","uid":"71c0081e-49"},{"name":"Post/PostForm.tsx","uid":"71c0081e-57"}]},{"name":"Header/Header.tsx","uid":"71c0081e-53"},{"name":"Post/Post.tsx","uid":"71c0081e-63"},{"name":"Profile/Profile.tsx","uid":"71c0081e-73"}]},{"uid":"71c0081e-39","name":"i18n.ts"},{"name":"types/Routes.ts","uid":"71c0081e-43"},{"name":"routes","children":[{"uid":"71c0081e-55","name":"__root.tsx"},{"uid":"71c0081e-67","name":"index.tsx"},{"name":"profile","children":[{"uid":"71c0081e-77","name":"index.tsx"},{"uid":"71c0081e-79","name":"$id.tsx"}]}]},{"name":"utils/date.ts","uid":"71c0081e-59"},{"name":"queries","children":[{"uid":"71c0081e-65","name":"postsQuery.ts"},{"uid":"71c0081e-75","name":"profileQuery.ts"}]},{"uid":"71c0081e-81","name":"routeTree.gen.ts"},{"uid":"71c0081e-91","name":"main.tsx"}]},{"uid":"71c0081e-93","name":"index.html"}]},{"name":"assets/i18n-DyW0LrNj.js","children":[{"name":"node_modules/.pnpm","children":[{"name":"void-elements@3.1.0/node_modules/void-elements/index.js","uid":"71c0081e-95"},{"name":"html-parse-stringify@3.0.1/node_modules/html-parse-stringify/dist/html-parse-stringify.module.js","uid":"71c0081e-97"},{"name":"react-i18next@15.0.0_i18next@23.12.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-i18next/dist/es","children":[{"uid":"71c0081e-99","name":"utils.js"},{"uid":"71c0081e-101","name":"unescape.js"},{"uid":"71c0081e-103","name":"defaults.js"},{"uid":"71c0081e-105","name":"i18nInstance.js"},{"uid":"71c0081e-107","name":"TransWithoutContext.js"},{"uid":"71c0081e-109","name":"initReactI18next.js"},{"uid":"71c0081e-111","name":"context.js"},{"uid":"71c0081e-113","name":"Trans.js"},{"uid":"71c0081e-115","name":"useTranslation.js"},{"uid":"71c0081e-117","name":"withTranslation.js"},{"uid":"71c0081e-119","name":"Translation.js"},{"uid":"71c0081e-121","name":"I18nextProvider.js"},{"uid":"71c0081e-123","name":"useSSR.js"},{"uid":"71c0081e-125","name":"withSSR.js"},{"uid":"71c0081e-127","name":"index.js"}]},{"name":"i18next@23.12.2/node_modules/i18next/dist/esm/i18next.js","uid":"71c0081e-129"},{"name":"i18next-browser-languagedetector@8.0.0/node_modules/i18next-broLine truncated
|
||||
|
||||
const run = () => {
|
||||
const width = window.innerWidth;
|
||||
|
||||
Reference in new issue
Block a user